@everymatrix/casino-header-controller-nd 1.87.26 → 1.87.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoHamburgerMenuNd-CQt7cU_5.js +1227 -0
- package/components/CasinoHamburgerMenuNd-N2xG7QFL.cjs +1 -0
- package/components/CasinoHamburgerMenuNd-YZgqRfDv.js +1203 -0
- package/components/CasinoHeaderControllerNd-CQnN2JAr.js +7059 -0
- package/components/CasinoHeaderControllerNd-JnA00Nbn.cjs +18 -0
- package/components/CasinoHeaderControllerNd-gt-ehnAU.js +7112 -0
- package/components/PlayerAccountBalanceModalNd-CYMET-BN.js +1539 -0
- package/components/PlayerAccountBalanceModalNd-Ce0NBt-I.js +1568 -0
- package/components/PlayerAccountBalanceModalNd-DZlrKIv5.cjs +7 -0
- package/components/{PlayerDeposit-C910Gf1y.js → PlayerDeposit-C9l3pru-.js} +71 -71
- package/components/PlayerDeposit-C_liyHTn.cjs +1 -0
- package/components/{PlayerDeposit-qsZYITrf.js → PlayerDeposit-DLUyaREv.js} +64 -64
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +7 -7
- package/esnext/casino-header-controller-nd.js +1 -1
- package/lazy/casino-hamburger-menu-nd-DMNN5mMz.js +16 -0
- package/lazy/casino-hamburger-menu-nd-DpgKIaJB.js +16 -0
- package/lazy/casino-hamburger-menu-nd-ywrsru39.cjs +1 -0
- package/lazy/{gamification-dropdown-Bi2IANLw.js → gamification-dropdown-CW0O-arZ.js} +4 -4
- package/lazy/{gamification-dropdown-DYxjulrY.cjs → gamification-dropdown-Dlvfea51.cjs} +1 -1
- package/lazy/{gamification-dropdown-B9v8IDVv.js → gamification-dropdown-ZRoQGT9d.js} +4 -4
- package/lazy/{player-account-balance-modal-nd-qutnKTdV.js → player-account-balance-modal-nd-DFTAjn-5.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-gZzis_-T.js → player-account-balance-modal-nd-DHMyxNz0.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-BLdC4s3O.cjs → player-account-balance-modal-nd-Dgwo2VN9.cjs} +1 -1
- package/lazy/{player-deposit-Mn3IRhQ6.js → player-deposit-CT9RmoHB.js} +1 -1
- package/lazy/{player-deposit-BZMECdu0.js → player-deposit-DbcOiGgX.js} +1 -1
- package/lazy/{player-deposit-CgdF-jd5.cjs → player-deposit-Oe0nPYXj.cjs} +1 -1
- package/lazy/{user-deposit-withdrawal-fYrP9plZ.js → user-deposit-withdrawal-CAegaYeV.js} +1 -1
- package/lazy/{user-deposit-withdrawal-CWhRaiMB.cjs → user-deposit-withdrawal-DUMs1S3v.cjs} +1 -1
- package/lazy/{user-deposit-withdrawal-DS7RI4jZ.js → user-deposit-withdrawal-Mlqc62aZ.js} +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-B6nNHmA4.js → app-globals-0f993ce5-Cgk0KVAu.js} +2 -2
- package/stencil/{gamification-dropdown-CZtjlKmZ.js → gamification-dropdown-B4f7eEjZ.js} +3 -3
- package/stencil/gamification-dropdown-BTLPC4Rm.cjs +1 -0
- package/stencil/{gamification-dropdown-CKP2IybJ.js → gamification-dropdown-COj0tq3r.js} +3 -3
- package/stencil/gamification-dropdown-f2984ee4-Dm58Irek.js +179 -0
- package/stencil/{gamification-dropdown-92e6c856-CWsXZt6d.js → gamification-dropdown-f2984ee4-DrP1W0AD.js} +77 -68
- package/stencil/gamification-dropdown-f2984ee4-ww_Jy4Bm.cjs +1 -0
- package/stencil/{gamification-dropdown_4-pw5vcA94.cjs → gamification-dropdown_4-CtrAzWRn.cjs} +2 -2
- package/stencil/{gamification-dropdown_4-hiXX1fZJ.js → gamification-dropdown_4-DWAMFZwf.js} +11 -11
- package/stencil/{gamification-dropdown_4-BJHmIYaL.js → gamification-dropdown_4-Shm_fjxj.js} +11 -11
- package/stencil/{locale-CIZHVMDe.js → locale-Dq9tsc1e.js} +2 -2
- package/stencil/{player-elevate-card-D4O9XOE5.cjs → player-elevate-card-CCEirUx6.cjs} +1 -1
- package/stencil/{player-elevate-card-xOmP3tnZ.js → player-elevate-card-VyekC6J2.js} +3 -3
- package/stencil/{player-elevate-card-CwjSVk4Y.js → player-elevate-card-_umcmhE2.js} +3 -3
- package/stencil/{player-elevate-card-items-b4571def-Bzrr8DOK.cjs → player-elevate-card-items-b4571def-BHhNqN_3.cjs} +1 -1
- package/stencil/{player-elevate-card-items-b4571def-DFmEuEpV.js → player-elevate-card-items-b4571def-DU9lcTpZ.js} +2 -2
- package/stencil/{player-elevate-card-items-b4571def-CKC2-tZx.js → player-elevate-card-items-b4571def-DZHLwVGG.js} +2 -2
- package/stencil/{player-elevate-pointcard-efDK9Slo.js → player-elevate-pointcard-Bm85eLkx.js} +3 -3
- package/stencil/{player-elevate-pointcard-fATBdhlF.cjs → player-elevate-pointcard-CiINDahW.cjs} +1 -1
- package/stencil/{player-elevate-pointcard-EM9gr8Qq.js → player-elevate-pointcard-DGDk5bOl.js} +3 -3
- package/stencil/{player-rakeback-card-JDYEmJPr.cjs → player-rakeback-card-CBg2MioW.cjs} +1 -1
- package/stencil/{player-rakeback-card-CLbAOCAS.js → player-rakeback-card-DJThpjMv.js} +2 -2
- package/stencil/{player-rakeback-card-B2DAcfhw.js → player-rakeback-card-DNbifA_v.js} +2 -2
- package/stencil/{user-deposit-withdrawal-Bgmu_v3L.js → user-deposit-withdrawal-BN_2yjKT.js} +372 -344
- package/stencil/{user-deposit-withdrawal-C1ZuOfGY.js → user-deposit-withdrawal-BNv5WcIq.js} +327 -300
- package/stencil/user-deposit-withdrawal-sqMzKClT.cjs +72 -0
- package/components/CasinoHamburgerMenuNd-BWhQR6n1.cjs +0 -18
- package/components/CasinoHamburgerMenuNd-Djtdm8EV.js +0 -5630
- package/components/CasinoHamburgerMenuNd-DqSrTenb.js +0 -5675
- package/components/CasinoHeaderControllerNd-85jjhQ5V.js +0 -2607
- package/components/CasinoHeaderControllerNd-AyjI7UNx.js +0 -2634
- package/components/CasinoHeaderControllerNd-BhUuOWgY.cjs +0 -1
- package/components/PlayerAccountBalanceModalNd-Bt6KC8-Y.js +0 -1568
- package/components/PlayerAccountBalanceModalNd-CS7pAvLM.cjs +0 -7
- package/components/PlayerAccountBalanceModalNd-DxKi3Wc0.js +0 -1539
- package/components/PlayerDeposit-BDPi60xU.cjs +0 -1
- package/lazy/casino-hamburger-menu-nd-CAOIXMkM.cjs +0 -1
- package/lazy/casino-hamburger-menu-nd-DWZz6hns.js +0 -16
- package/lazy/casino-hamburger-menu-nd-DrYJDNro.js +0 -16
- package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +0 -1
- package/stencil/gamification-dropdown-92e6c856-Cn77bRmD.cjs +0 -1
- package/stencil/gamification-dropdown-92e6c856-D1KFL6hq.js +0 -133
- package/stencil/gamification-dropdown-CIRqmCYR.cjs +0 -1
- package/stencil/user-deposit-withdrawal-D-OTOuVZ.cjs +0 -72
|
@@ -0,0 +1,1568 @@
|
|
|
1
|
+
var pt = Object.defineProperty, ht = Object.defineProperties;
|
|
2
|
+
var mt = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Je = Object.getOwnPropertySymbols;
|
|
4
|
+
var gt = Object.prototype.hasOwnProperty, yt = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ke = Math.pow, Ze = (o, e, t) => e in o ? pt(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, $e = (o, e) => {
|
|
6
|
+
for (var t in e || (e = {}))
|
|
7
|
+
gt.call(e, t) && Ze(o, t, e[t]);
|
|
8
|
+
if (Je)
|
|
9
|
+
for (var t of Je(e))
|
|
10
|
+
yt.call(e, t) && Ze(o, t, e[t]);
|
|
11
|
+
return o;
|
|
12
|
+
}, et = (o, e) => ht(o, mt(e));
|
|
13
|
+
var tt = (o, e, t) => new Promise((p, y) => {
|
|
14
|
+
var l = (u) => {
|
|
15
|
+
try {
|
|
16
|
+
v(t.next(u));
|
|
17
|
+
} catch (b) {
|
|
18
|
+
y(b);
|
|
19
|
+
}
|
|
20
|
+
}, c = (u) => {
|
|
21
|
+
try {
|
|
22
|
+
v(t.throw(u));
|
|
23
|
+
} catch (b) {
|
|
24
|
+
y(b);
|
|
25
|
+
}
|
|
26
|
+
}, v = (u) => u.done ? p(u.value) : Promise.resolve(u.value).then(l, c);
|
|
27
|
+
v((t = t.apply(o, e)).next());
|
|
28
|
+
});
|
|
29
|
+
import { a as wt, $ as vt, U as bt, S as Bt, i as Tt, s as St, f as X, b as Ct, z as We, d as pe, q as x, h as he, r as E, j as U, v as fe, k as _t, o as At, l as Lt, u as Ie, y as Rt, A as Ae, B as Le, M as at, I as xt, m as Ve, n as ft, J as Et, O as Mt, P as Dt, Q as kt, R as Ot, T as Nt } from "./CasinoHeaderControllerNd-gt-ehnAU.js";
|
|
30
|
+
function nt(o, e) {
|
|
31
|
+
wt(o, e);
|
|
32
|
+
}
|
|
33
|
+
function Ft(o) {
|
|
34
|
+
vt.set(o);
|
|
35
|
+
}
|
|
36
|
+
const ot = {
|
|
37
|
+
en: {
|
|
38
|
+
Title: "Your Balance",
|
|
39
|
+
Total: "Total Balance",
|
|
40
|
+
Real: "Cash Balance",
|
|
41
|
+
Bonus: "Bonus Balance",
|
|
42
|
+
Credit: "Credit Balance",
|
|
43
|
+
Casino: "Casino",
|
|
44
|
+
Sports: "Sports",
|
|
45
|
+
LimitsButton: "Limits",
|
|
46
|
+
DepositButton: "Deposit",
|
|
47
|
+
Loading: "Loading ..."
|
|
48
|
+
},
|
|
49
|
+
"zh-hk": {
|
|
50
|
+
Title: "您的結餘",
|
|
51
|
+
Total: "總結餘",
|
|
52
|
+
Real: "現金結餘",
|
|
53
|
+
Bonus: "紅利結餘",
|
|
54
|
+
Credit: "信用結餘",
|
|
55
|
+
Casino: "賭場",
|
|
56
|
+
Sports: "體育",
|
|
57
|
+
LimitsButton: "Limits",
|
|
58
|
+
DepositButton: "存款",
|
|
59
|
+
Loading: "載入中 ..."
|
|
60
|
+
},
|
|
61
|
+
de: {
|
|
62
|
+
Title: "Ihr Guthaben",
|
|
63
|
+
Total: "Gesamtguthaben",
|
|
64
|
+
Real: "Barguthaben",
|
|
65
|
+
Bonus: "Bonusguthaben",
|
|
66
|
+
Credit: "Kreditguthaben",
|
|
67
|
+
Casino: "Casino",
|
|
68
|
+
Sports: "Sport",
|
|
69
|
+
LimitsButton: "Limits",
|
|
70
|
+
DepositButton: "Einzahlen",
|
|
71
|
+
Loading: "Wird geladen ..."
|
|
72
|
+
},
|
|
73
|
+
it: {
|
|
74
|
+
Title: "Il tuo saldo",
|
|
75
|
+
Total: "Saldo totale",
|
|
76
|
+
Real: "Saldo in contanti",
|
|
77
|
+
Bonus: "Saldo bonus",
|
|
78
|
+
Credit: "Saldo di credito",
|
|
79
|
+
Casino: "Casinò",
|
|
80
|
+
Sports: "Sport",
|
|
81
|
+
LimitsButton: "Limits",
|
|
82
|
+
DepositButton: "Deposita",
|
|
83
|
+
Loading: "Caricamento ..."
|
|
84
|
+
},
|
|
85
|
+
fr: {
|
|
86
|
+
Title: "Votre solde",
|
|
87
|
+
Total: "Solde total",
|
|
88
|
+
Real: "Solde en espèces",
|
|
89
|
+
Bonus: "Solde bonus",
|
|
90
|
+
Credit: "Solde de crédit",
|
|
91
|
+
Casino: "Casino",
|
|
92
|
+
Sports: "Sports",
|
|
93
|
+
LimitsButton: "Limits",
|
|
94
|
+
DepositButton: "Dépôt",
|
|
95
|
+
Loading: "Chargement ..."
|
|
96
|
+
},
|
|
97
|
+
es: {
|
|
98
|
+
Title: "Tu saldo",
|
|
99
|
+
Total: "Saldo total",
|
|
100
|
+
Real: "Saldo en efectivo",
|
|
101
|
+
Bonus: "Saldo de bono",
|
|
102
|
+
Credit: "Saldo de crédito",
|
|
103
|
+
Casino: "Casino",
|
|
104
|
+
Sports: "Deportes",
|
|
105
|
+
LimitsButton: "Limits",
|
|
106
|
+
DepositButton: "Depósito",
|
|
107
|
+
Loading: "Cargando ..."
|
|
108
|
+
},
|
|
109
|
+
tr: {
|
|
110
|
+
Title: "Bakiyeniz",
|
|
111
|
+
Total: "Toplam Bakiye",
|
|
112
|
+
Real: "Nakit Bakiye",
|
|
113
|
+
Bonus: "Bonus Bakiyesi",
|
|
114
|
+
Credit: "Kredi Bakiyesi",
|
|
115
|
+
Casino: "Kumarhane",
|
|
116
|
+
Sports: "Spor",
|
|
117
|
+
LimitsButton: "Limits",
|
|
118
|
+
DepositButton: "Yatır",
|
|
119
|
+
Loading: "Yükleniyor ..."
|
|
120
|
+
},
|
|
121
|
+
ru: {
|
|
122
|
+
Title: "Ваш баланс",
|
|
123
|
+
Total: "Общий баланс",
|
|
124
|
+
Real: "Денежный баланс",
|
|
125
|
+
Bonus: "Бонусный баланс",
|
|
126
|
+
Credit: "Кредитный баланс",
|
|
127
|
+
Casino: "Казино",
|
|
128
|
+
Sports: "Спорт",
|
|
129
|
+
LimitsButton: "Limits",
|
|
130
|
+
DepositButton: "Депозит",
|
|
131
|
+
Loading: "Загружается ..."
|
|
132
|
+
},
|
|
133
|
+
ro: {
|
|
134
|
+
Title: "Soldul tău",
|
|
135
|
+
Total: "Sold total",
|
|
136
|
+
Real: "Sold în numerar",
|
|
137
|
+
Bonus: "Sold bonus",
|
|
138
|
+
Credit: "Sold credit",
|
|
139
|
+
Casino: "Cazinou",
|
|
140
|
+
Sports: "Sporturi",
|
|
141
|
+
LimitsButton: "Limits",
|
|
142
|
+
DepositButton: "Depozit",
|
|
143
|
+
Loading: "Se încarcă ..."
|
|
144
|
+
},
|
|
145
|
+
hr: {
|
|
146
|
+
Title: "Vaš saldo",
|
|
147
|
+
Total: "Ukupni saldo",
|
|
148
|
+
Real: "Gotovinski saldo",
|
|
149
|
+
Bonus: "Bonus saldo",
|
|
150
|
+
Credit: "Kreditni saldo",
|
|
151
|
+
Casino: "Casino",
|
|
152
|
+
Sports: "Sportovi",
|
|
153
|
+
LimitsButton: "Limits",
|
|
154
|
+
DepositButton: "Depozit",
|
|
155
|
+
Loading: "Učitavanje ..."
|
|
156
|
+
},
|
|
157
|
+
hu: {
|
|
158
|
+
Title: "Az egyenleged",
|
|
159
|
+
Total: "Teljes egyenleg",
|
|
160
|
+
Real: "Készpénz egyenleg",
|
|
161
|
+
Bonus: "Bónusz egyenleg",
|
|
162
|
+
Credit: "Hitel egyenleg",
|
|
163
|
+
Casino: "Kaszinó",
|
|
164
|
+
Sports: "Sport",
|
|
165
|
+
LimitsButton: "Limits",
|
|
166
|
+
DepositButton: "Befizetés",
|
|
167
|
+
Loading: "Betöltés ..."
|
|
168
|
+
},
|
|
169
|
+
pl: {
|
|
170
|
+
Title: "Twoje saldo",
|
|
171
|
+
Total: "Całkowite saldo",
|
|
172
|
+
Real: "Saldo gotówkowe",
|
|
173
|
+
Bonus: "Saldo bonusowe",
|
|
174
|
+
Credit: "Saldo kredytowe",
|
|
175
|
+
Casino: "Kasyno",
|
|
176
|
+
Sports: "Sport",
|
|
177
|
+
LimitsButton: "Limits",
|
|
178
|
+
DepositButton: "Wpłać",
|
|
179
|
+
Loading: "Ładowanie ..."
|
|
180
|
+
},
|
|
181
|
+
pt: {
|
|
182
|
+
Title: "Seu Saldo",
|
|
183
|
+
Total: "Saldo Total",
|
|
184
|
+
Real: "Saldo em Dinheiro",
|
|
185
|
+
Bonus: "Saldo de Bônus",
|
|
186
|
+
Credit: "Saldo de Crédito",
|
|
187
|
+
Casino: "Cassino",
|
|
188
|
+
Sports: "Esportes",
|
|
189
|
+
LimitsButton: "Limits",
|
|
190
|
+
DepositButton: "Depositar",
|
|
191
|
+
Loading: "Carregando ..."
|
|
192
|
+
},
|
|
193
|
+
sl: {
|
|
194
|
+
Title: "Vaš saldo",
|
|
195
|
+
Total: "Skupni saldo",
|
|
196
|
+
Real: "Gotovinski saldo",
|
|
197
|
+
Bonus: "Bonus saldo",
|
|
198
|
+
Credit: "Kreditni saldo",
|
|
199
|
+
Casino: "Kasino",
|
|
200
|
+
Sports: "Šport",
|
|
201
|
+
LimitsButton: "Limits",
|
|
202
|
+
DepositButton: "Depozit",
|
|
203
|
+
Loading: "Nalaganje ..."
|
|
204
|
+
},
|
|
205
|
+
sr: {
|
|
206
|
+
Title: "Vaš saldo",
|
|
207
|
+
Total: "Ukupan saldo",
|
|
208
|
+
Real: "Gotovinski saldo",
|
|
209
|
+
Bonus: "Bonus saldo",
|
|
210
|
+
Credit: "Kreditni saldo",
|
|
211
|
+
Casino: "Kasino",
|
|
212
|
+
Sports: "Sport",
|
|
213
|
+
LimitsButton: "Limits",
|
|
214
|
+
DepositButton: "Depozit",
|
|
215
|
+
Loading: "Učitavanje ..."
|
|
216
|
+
},
|
|
217
|
+
"pt-br": {
|
|
218
|
+
Title: "Seu Saldo",
|
|
219
|
+
Total: "Saldo Total",
|
|
220
|
+
Real: "Saldo em Dinheiro",
|
|
221
|
+
Bonus: "Saldo de Bônus",
|
|
222
|
+
Credit: "Saldo de Crédito",
|
|
223
|
+
Casino: "Cassino",
|
|
224
|
+
Sports: "Esportes",
|
|
225
|
+
LimitsButton: "Limits",
|
|
226
|
+
DepositButton: "Depositar",
|
|
227
|
+
Loading: "Carregando ..."
|
|
228
|
+
},
|
|
229
|
+
"es-mx": {
|
|
230
|
+
Title: "Tu saldo",
|
|
231
|
+
Total: "Saldo total",
|
|
232
|
+
Real: "Saldo en efectivo",
|
|
233
|
+
Bonus: "Saldo de bono",
|
|
234
|
+
Credit: "Saldo de crédito",
|
|
235
|
+
Casino: "Casino",
|
|
236
|
+
Sports: "Deportes",
|
|
237
|
+
LimitsButton: "Limits",
|
|
238
|
+
DepositButton: "Depósito",
|
|
239
|
+
Loading: "Cargando ..."
|
|
240
|
+
},
|
|
241
|
+
"en-us": {
|
|
242
|
+
Title: "Your Balance",
|
|
243
|
+
Total: "Total Balance",
|
|
244
|
+
Real: "Cash Balance",
|
|
245
|
+
Bonus: "Bonus Balance",
|
|
246
|
+
Credit: "Credit Balance",
|
|
247
|
+
Casino: "Casino",
|
|
248
|
+
Sports: "Sports",
|
|
249
|
+
LimitsButton: "Limits",
|
|
250
|
+
DepositButton: "Deposit",
|
|
251
|
+
Loading: "Loading ..."
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
var Ye = { exports: {} };
|
|
255
|
+
/** @license
|
|
256
|
+
* eventsource.js
|
|
257
|
+
* Available under MIT License (MIT)
|
|
258
|
+
* https://github.com/Yaffle/EventSource/
|
|
259
|
+
*/
|
|
260
|
+
(function(o, e) {
|
|
261
|
+
(function(t) {
|
|
262
|
+
var p = t.setTimeout, y = t.clearTimeout, l = t.XMLHttpRequest, c = t.XDomainRequest, v = t.ActiveXObject, u = t.EventSource, b = t.document, k = t.Promise, V = t.fetch, z = t.Response, C = t.TextDecoder, S = t.TextEncoder, H = t.AbortController;
|
|
263
|
+
if (typeof window != "undefined" && typeof b != "undefined" && !("readyState" in b) && b.body == null && (b.readyState = "loading", window.addEventListener("load", function(a) {
|
|
264
|
+
b.readyState = "complete";
|
|
265
|
+
}, !1)), l == null && v != null && (l = function() {
|
|
266
|
+
return new v("Microsoft.XMLHTTP");
|
|
267
|
+
}), Object.create == null && (Object.create = function(a) {
|
|
268
|
+
function r() {
|
|
269
|
+
}
|
|
270
|
+
return r.prototype = a, new r();
|
|
271
|
+
}), Date.now || (Date.now = function() {
|
|
272
|
+
return (/* @__PURE__ */ new Date()).getTime();
|
|
273
|
+
}), H == null) {
|
|
274
|
+
var me = V;
|
|
275
|
+
V = function(a, r) {
|
|
276
|
+
var d = r.signal;
|
|
277
|
+
return me(a, { headers: r.headers, credentials: r.credentials, cache: r.cache }).then(function(i) {
|
|
278
|
+
var B = i.body.getReader();
|
|
279
|
+
return d._reader = B, d._aborted && d._reader.cancel(), {
|
|
280
|
+
status: i.status,
|
|
281
|
+
statusText: i.statusText,
|
|
282
|
+
headers: i.headers,
|
|
283
|
+
body: {
|
|
284
|
+
getReader: function() {
|
|
285
|
+
return B;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
});
|
|
290
|
+
}, H = function() {
|
|
291
|
+
this.signal = {
|
|
292
|
+
_reader: null,
|
|
293
|
+
_aborted: !1
|
|
294
|
+
}, this.abort = function() {
|
|
295
|
+
this.signal._reader != null && this.signal._reader.cancel(), this.signal._aborted = !0;
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
}
|
|
299
|
+
function ce() {
|
|
300
|
+
this.bitsNeeded = 0, this.codePoint = 0;
|
|
301
|
+
}
|
|
302
|
+
ce.prototype.decode = function(a) {
|
|
303
|
+
function r(D, N, T) {
|
|
304
|
+
if (T === 1)
|
|
305
|
+
return D >= 128 >> N && D << N <= 2047;
|
|
306
|
+
if (T === 2)
|
|
307
|
+
return D >= 2048 >> N && D << N <= 55295 || D >= 57344 >> N && D << N <= 65535;
|
|
308
|
+
if (T === 3)
|
|
309
|
+
return D >= 65536 >> N && D << N <= 1114111;
|
|
310
|
+
throw new Error();
|
|
311
|
+
}
|
|
312
|
+
function d(D, N) {
|
|
313
|
+
if (D === 6 * 1)
|
|
314
|
+
return N >> 6 > 15 ? 3 : N > 31 ? 2 : 1;
|
|
315
|
+
if (D === 6 * 2)
|
|
316
|
+
return N > 15 ? 3 : 2;
|
|
317
|
+
if (D === 6 * 3)
|
|
318
|
+
return 3;
|
|
319
|
+
throw new Error();
|
|
320
|
+
}
|
|
321
|
+
for (var i = 65533, B = "", m = this.bitsNeeded, A = this.codePoint, F = 0; F < a.length; F += 1) {
|
|
322
|
+
var L = a[F];
|
|
323
|
+
m !== 0 && (L < 128 || L > 191 || !r(A << 6 | L & 63, m - 6, d(m, A))) && (m = 0, A = i, B += String.fromCharCode(A)), m === 0 ? (L >= 0 && L <= 127 ? (m = 0, A = L) : L >= 192 && L <= 223 ? (m = 6 * 1, A = L & 31) : L >= 224 && L <= 239 ? (m = 6 * 2, A = L & 15) : L >= 240 && L <= 247 ? (m = 6 * 3, A = L & 7) : (m = 0, A = i), m !== 0 && !r(A, m, d(m, A)) && (m = 0, A = i)) : (m -= 6, A = A << 6 | L & 63), m === 0 && (A <= 65535 ? B += String.fromCharCode(A) : (B += String.fromCharCode(55296 + (A - 65535 - 1 >> 10)), B += String.fromCharCode(56320 + (A - 65535 - 1 & 1023))));
|
|
324
|
+
}
|
|
325
|
+
return this.bitsNeeded = m, this.codePoint = A, B;
|
|
326
|
+
};
|
|
327
|
+
var Se = function() {
|
|
328
|
+
try {
|
|
329
|
+
return new C().decode(new S().encode("test"), { stream: !0 }) === "test";
|
|
330
|
+
} catch (a) {
|
|
331
|
+
console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + a);
|
|
332
|
+
}
|
|
333
|
+
return !1;
|
|
334
|
+
};
|
|
335
|
+
(C == null || S == null || !Se()) && (C = ce);
|
|
336
|
+
var P = function() {
|
|
337
|
+
};
|
|
338
|
+
function q(a) {
|
|
339
|
+
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = P, this.onload = P, this.onerror = P, this.onreadystatechange = P, this._contentType = "", this._xhr = a, this._sendTimeout = 0, this._abort = P;
|
|
340
|
+
}
|
|
341
|
+
q.prototype.open = function(a, r) {
|
|
342
|
+
this._abort(!0);
|
|
343
|
+
var d = this, i = this._xhr, B = 1, m = 0;
|
|
344
|
+
this._abort = function(T) {
|
|
345
|
+
d._sendTimeout !== 0 && (y(d._sendTimeout), d._sendTimeout = 0), (B === 1 || B === 2 || B === 3) && (B = 4, i.onload = P, i.onerror = P, i.onabort = P, i.onprogress = P, i.onreadystatechange = P, i.abort(), m !== 0 && (y(m), m = 0), T || (d.readyState = 4, d.onabort(null), d.onreadystatechange())), B = 0;
|
|
346
|
+
};
|
|
347
|
+
var A = function() {
|
|
348
|
+
if (B === 1) {
|
|
349
|
+
var T = 0, n = "", f = void 0;
|
|
350
|
+
if ("contentType" in i)
|
|
351
|
+
T = 200, n = "OK", f = i.contentType;
|
|
352
|
+
else
|
|
353
|
+
try {
|
|
354
|
+
T = i.status, n = i.statusText, f = i.getResponseHeader("Content-Type");
|
|
355
|
+
} catch (w) {
|
|
356
|
+
T = 0, n = "", f = void 0;
|
|
357
|
+
}
|
|
358
|
+
T !== 0 && (B = 2, d.readyState = 2, d.status = T, d.statusText = n, d._contentType = f, d.onreadystatechange());
|
|
359
|
+
}
|
|
360
|
+
}, F = function() {
|
|
361
|
+
if (A(), B === 2 || B === 3) {
|
|
362
|
+
B = 3;
|
|
363
|
+
var T = "";
|
|
364
|
+
try {
|
|
365
|
+
T = i.responseText;
|
|
366
|
+
} catch (n) {
|
|
367
|
+
}
|
|
368
|
+
d.readyState = 3, d.responseText = T, d.onprogress();
|
|
369
|
+
}
|
|
370
|
+
}, L = function(T, n) {
|
|
371
|
+
if ((n == null || n.preventDefault == null) && (n = {
|
|
372
|
+
preventDefault: P
|
|
373
|
+
}), F(), B === 1 || B === 2 || B === 3) {
|
|
374
|
+
if (B = 4, m !== 0 && (y(m), m = 0), d.readyState = 4, T === "load")
|
|
375
|
+
d.onload(n);
|
|
376
|
+
else if (T === "error")
|
|
377
|
+
d.onerror(n);
|
|
378
|
+
else if (T === "abort")
|
|
379
|
+
d.onabort(n);
|
|
380
|
+
else
|
|
381
|
+
throw new TypeError();
|
|
382
|
+
d.onreadystatechange();
|
|
383
|
+
}
|
|
384
|
+
}, D = function(T) {
|
|
385
|
+
i != null && (i.readyState === 4 ? (!("onload" in i) || !("onerror" in i) || !("onabort" in i)) && L(i.responseText === "" ? "error" : "load", T) : i.readyState === 3 ? "onprogress" in i || F() : i.readyState === 2 && A());
|
|
386
|
+
}, N = function() {
|
|
387
|
+
m = p(function() {
|
|
388
|
+
N();
|
|
389
|
+
}, 500), i.readyState === 3 && F();
|
|
390
|
+
};
|
|
391
|
+
"onload" in i && (i.onload = function(T) {
|
|
392
|
+
L("load", T);
|
|
393
|
+
}), "onerror" in i && (i.onerror = function(T) {
|
|
394
|
+
L("error", T);
|
|
395
|
+
}), "onabort" in i && (i.onabort = function(T) {
|
|
396
|
+
L("abort", T);
|
|
397
|
+
}), "onprogress" in i && (i.onprogress = F), "onreadystatechange" in i && (i.onreadystatechange = function(T) {
|
|
398
|
+
D(T);
|
|
399
|
+
}), ("contentType" in i || !("ontimeout" in l.prototype)) && (r += (r.indexOf("?") === -1 ? "?" : "&") + "padding=true"), i.open(a, r, !0), "readyState" in i && (m = p(function() {
|
|
400
|
+
N();
|
|
401
|
+
}, 0));
|
|
402
|
+
}, q.prototype.abort = function() {
|
|
403
|
+
this._abort(!1);
|
|
404
|
+
}, q.prototype.getResponseHeader = function(a) {
|
|
405
|
+
return this._contentType;
|
|
406
|
+
}, q.prototype.setRequestHeader = function(a, r) {
|
|
407
|
+
var d = this._xhr;
|
|
408
|
+
"setRequestHeader" in d && d.setRequestHeader(a, r);
|
|
409
|
+
}, q.prototype.getAllResponseHeaders = function() {
|
|
410
|
+
return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
|
|
411
|
+
}, q.prototype.send = function() {
|
|
412
|
+
if ((!("ontimeout" in l.prototype) || !("sendAsBinary" in l.prototype) && !("mozAnon" in l.prototype)) && b != null && b.readyState != null && b.readyState !== "complete") {
|
|
413
|
+
var a = this;
|
|
414
|
+
a._sendTimeout = p(function() {
|
|
415
|
+
a._sendTimeout = 0, a.send();
|
|
416
|
+
}, 4);
|
|
417
|
+
return;
|
|
418
|
+
}
|
|
419
|
+
var r = this._xhr;
|
|
420
|
+
"withCredentials" in r && (r.withCredentials = this.withCredentials);
|
|
421
|
+
try {
|
|
422
|
+
r.send(void 0);
|
|
423
|
+
} catch (d) {
|
|
424
|
+
throw d;
|
|
425
|
+
}
|
|
426
|
+
};
|
|
427
|
+
function ne(a) {
|
|
428
|
+
return a.replace(/[A-Z]/g, function(r) {
|
|
429
|
+
return String.fromCharCode(r.charCodeAt(0) + 32);
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
function se(a) {
|
|
433
|
+
for (var r = /* @__PURE__ */ Object.create(null), d = a.split(`\r
|
|
434
|
+
`), i = 0; i < d.length; i += 1) {
|
|
435
|
+
var B = d[i], m = B.split(": "), A = m.shift(), F = m.join(": ");
|
|
436
|
+
r[ne(A)] = F;
|
|
437
|
+
}
|
|
438
|
+
this._map = r;
|
|
439
|
+
}
|
|
440
|
+
se.prototype.get = function(a) {
|
|
441
|
+
return this._map[ne(a)];
|
|
442
|
+
}, l != null && l.HEADERS_RECEIVED == null && (l.HEADERS_RECEIVED = 2);
|
|
443
|
+
function ge() {
|
|
444
|
+
}
|
|
445
|
+
ge.prototype.open = function(a, r, d, i, B, m, A) {
|
|
446
|
+
a.open("GET", B);
|
|
447
|
+
var F = 0;
|
|
448
|
+
a.onprogress = function() {
|
|
449
|
+
var D = a.responseText, N = D.slice(F);
|
|
450
|
+
F += N.length, d(N);
|
|
451
|
+
}, a.onerror = function(D) {
|
|
452
|
+
D.preventDefault(), i(new Error("NetworkError"));
|
|
453
|
+
}, a.onload = function() {
|
|
454
|
+
i(null);
|
|
455
|
+
}, a.onabort = function() {
|
|
456
|
+
i(null);
|
|
457
|
+
}, a.onreadystatechange = function() {
|
|
458
|
+
if (a.readyState === l.HEADERS_RECEIVED) {
|
|
459
|
+
var D = a.status, N = a.statusText, T = a.getResponseHeader("Content-Type"), n = a.getAllResponseHeaders();
|
|
460
|
+
r(D, N, T, new se(n));
|
|
461
|
+
}
|
|
462
|
+
}, a.withCredentials = m;
|
|
463
|
+
for (var L in A)
|
|
464
|
+
Object.prototype.hasOwnProperty.call(A, L) && a.setRequestHeader(L, A[L]);
|
|
465
|
+
return a.send(), a;
|
|
466
|
+
};
|
|
467
|
+
function K(a) {
|
|
468
|
+
this._headers = a;
|
|
469
|
+
}
|
|
470
|
+
K.prototype.get = function(a) {
|
|
471
|
+
return this._headers.get(a);
|
|
472
|
+
};
|
|
473
|
+
function G() {
|
|
474
|
+
}
|
|
475
|
+
G.prototype.open = function(a, r, d, i, B, m, A) {
|
|
476
|
+
var F = null, L = new H(), D = L.signal, N = new C();
|
|
477
|
+
return V(B, {
|
|
478
|
+
headers: A,
|
|
479
|
+
credentials: m ? "include" : "same-origin",
|
|
480
|
+
signal: D,
|
|
481
|
+
cache: "no-store"
|
|
482
|
+
}).then(function(T) {
|
|
483
|
+
return F = T.body.getReader(), r(T.status, T.statusText, T.headers.get("Content-Type"), new K(T.headers)), new k(function(n, f) {
|
|
484
|
+
var w = function() {
|
|
485
|
+
F.read().then(function(g) {
|
|
486
|
+
if (g.done)
|
|
487
|
+
n(void 0);
|
|
488
|
+
else {
|
|
489
|
+
var _ = N.decode(g.value, { stream: !0 });
|
|
490
|
+
d(_), w();
|
|
491
|
+
}
|
|
492
|
+
}).catch(function(g) {
|
|
493
|
+
f(g);
|
|
494
|
+
});
|
|
495
|
+
};
|
|
496
|
+
w();
|
|
497
|
+
});
|
|
498
|
+
}).catch(function(T) {
|
|
499
|
+
if (T.name !== "AbortError")
|
|
500
|
+
return T;
|
|
501
|
+
}).then(function(T) {
|
|
502
|
+
i(T);
|
|
503
|
+
}), {
|
|
504
|
+
abort: function() {
|
|
505
|
+
F != null && F.cancel(), L.abort();
|
|
506
|
+
}
|
|
507
|
+
};
|
|
508
|
+
};
|
|
509
|
+
function O() {
|
|
510
|
+
this._listeners = /* @__PURE__ */ Object.create(null);
|
|
511
|
+
}
|
|
512
|
+
function M(a) {
|
|
513
|
+
p(function() {
|
|
514
|
+
throw a;
|
|
515
|
+
}, 0);
|
|
516
|
+
}
|
|
517
|
+
O.prototype.dispatchEvent = function(a) {
|
|
518
|
+
a.target = this;
|
|
519
|
+
var r = this._listeners[a.type];
|
|
520
|
+
if (r != null)
|
|
521
|
+
for (var d = r.length, i = 0; i < d; i += 1) {
|
|
522
|
+
var B = r[i];
|
|
523
|
+
try {
|
|
524
|
+
typeof B.handleEvent == "function" ? B.handleEvent(a) : B.call(this, a);
|
|
525
|
+
} catch (m) {
|
|
526
|
+
M(m);
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
}, O.prototype.addEventListener = function(a, r) {
|
|
530
|
+
a = String(a);
|
|
531
|
+
var d = this._listeners, i = d[a];
|
|
532
|
+
i == null && (i = [], d[a] = i);
|
|
533
|
+
for (var B = !1, m = 0; m < i.length; m += 1)
|
|
534
|
+
i[m] === r && (B = !0);
|
|
535
|
+
B || i.push(r);
|
|
536
|
+
}, O.prototype.removeEventListener = function(a, r) {
|
|
537
|
+
a = String(a);
|
|
538
|
+
var d = this._listeners, i = d[a];
|
|
539
|
+
if (i != null) {
|
|
540
|
+
for (var B = [], m = 0; m < i.length; m += 1)
|
|
541
|
+
i[m] !== r && B.push(i[m]);
|
|
542
|
+
B.length === 0 ? delete d[a] : d[a] = B;
|
|
543
|
+
}
|
|
544
|
+
};
|
|
545
|
+
function I(a) {
|
|
546
|
+
this.type = a, this.target = void 0;
|
|
547
|
+
}
|
|
548
|
+
function j(a, r) {
|
|
549
|
+
I.call(this, a), this.data = r.data, this.lastEventId = r.lastEventId;
|
|
550
|
+
}
|
|
551
|
+
j.prototype = Object.create(I.prototype);
|
|
552
|
+
function ye(a, r) {
|
|
553
|
+
I.call(this, a), this.status = r.status, this.statusText = r.statusText, this.headers = r.headers;
|
|
554
|
+
}
|
|
555
|
+
ye.prototype = Object.create(I.prototype);
|
|
556
|
+
function je(a, r) {
|
|
557
|
+
I.call(this, a), this.error = r.error;
|
|
558
|
+
}
|
|
559
|
+
je.prototype = Object.create(I.prototype);
|
|
560
|
+
var ue = -1, ee = 0, te = 1, le = 2, Ee = -1, s = 0, we = 1, ze = 2, Ce = 3, ke = /^text\/event\-stream(;.*)?$/i, Pe = 1e3, Ge = 18e6, Oe = function(a, r) {
|
|
561
|
+
var d = a == null ? r : parseInt(a, 10);
|
|
562
|
+
return d !== d && (d = r), Re(d);
|
|
563
|
+
}, Re = function(a) {
|
|
564
|
+
return Math.min(Math.max(a, Pe), Ge);
|
|
565
|
+
}, ve = function(a, r, d) {
|
|
566
|
+
try {
|
|
567
|
+
typeof r == "function" && r.call(a, d);
|
|
568
|
+
} catch (i) {
|
|
569
|
+
M(i);
|
|
570
|
+
}
|
|
571
|
+
};
|
|
572
|
+
function oe(a, r) {
|
|
573
|
+
O.call(this), r = r || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Xe(this, a, r);
|
|
574
|
+
}
|
|
575
|
+
function Ne() {
|
|
576
|
+
return l != null && "withCredentials" in l.prototype || c == null ? new l() : new c();
|
|
577
|
+
}
|
|
578
|
+
var He = V != null && z != null && "body" in z.prototype;
|
|
579
|
+
function Xe(a, r, d) {
|
|
580
|
+
r = String(r);
|
|
581
|
+
var i = !!d.withCredentials, B = d.lastEventIdQueryParameterName || "lastEventId", m = Re(1e3), A = Oe(d.heartbeatTimeout, 45e3), F = "", L = m, D = !1, N = 0, T = d.headers || {}, n = d.Transport, f = He && n == null ? void 0 : new q(n != null ? new n() : Ne()), w = n != null && typeof n != "string" ? new n() : f == null ? new G() : new ge(), g = void 0, _ = 0, R = ue, h = "", Y = "", J = "", de = "", Z = s, _e = 0, be = 0, Ue = function(Q, W, ie, re) {
|
|
582
|
+
if (R === ee)
|
|
583
|
+
if (Q === 200 && ie != null && ke.test(ie)) {
|
|
584
|
+
R = te, D = Date.now(), L = m, a.readyState = te;
|
|
585
|
+
var ae = new ye("open", {
|
|
586
|
+
status: Q,
|
|
587
|
+
statusText: W,
|
|
588
|
+
headers: re
|
|
589
|
+
});
|
|
590
|
+
a.dispatchEvent(ae), ve(a, a.onopen, ae);
|
|
591
|
+
} else {
|
|
592
|
+
var $ = "";
|
|
593
|
+
Q !== 200 ? (W && (W = W.replace(/\s+/g, " ")), $ = "EventSource's response has a status " + Q + " " + W + " that is not 200. Aborting the connection.") : $ = "EventSource's response has a Content-Type specifying an unsupported type: " + (ie == null ? "-" : ie.replace(/\s+/g, " ")) + ". Aborting the connection.", qe();
|
|
594
|
+
var ae = new ye("error", {
|
|
595
|
+
status: Q,
|
|
596
|
+
statusText: W,
|
|
597
|
+
headers: re
|
|
598
|
+
});
|
|
599
|
+
a.dispatchEvent(ae), ve(a, a.onerror, ae), console.error($);
|
|
600
|
+
}
|
|
601
|
+
}, xe = function(Q) {
|
|
602
|
+
if (R === te) {
|
|
603
|
+
for (var W = -1, ie = 0; ie < Q.length; ie += 1) {
|
|
604
|
+
var re = Q.charCodeAt(ie);
|
|
605
|
+
(re === 10 || re === 13) && (W = ie);
|
|
606
|
+
}
|
|
607
|
+
var ae = (W !== -1 ? de : "") + Q.slice(0, W + 1);
|
|
608
|
+
de = (W === -1 ? de : "") + Q.slice(W + 1), Q !== "" && (D = Date.now(), N += Q.length);
|
|
609
|
+
for (var $ = 0; $ < ae.length; $ += 1) {
|
|
610
|
+
var re = ae.charCodeAt($);
|
|
611
|
+
if (Z === Ee && re === 10)
|
|
612
|
+
Z = s;
|
|
613
|
+
else if (Z === Ee && (Z = s), re === 13 || re === 10) {
|
|
614
|
+
if (Z !== s) {
|
|
615
|
+
Z === we && (be = $ + 1);
|
|
616
|
+
var Be = ae.slice(_e, be - 1), Te = ae.slice(be + (be < $ && ae.charCodeAt(be) === 32 ? 1 : 0), $);
|
|
617
|
+
Be === "data" ? (h += `
|
|
618
|
+
`, h += Te) : Be === "id" ? Y = Te : Be === "event" ? J = Te : Be === "retry" ? (m = Oe(Te, m), L = m) : Be === "heartbeatTimeout" && (A = Oe(Te, A), _ !== 0 && (y(_), _ = p(function() {
|
|
619
|
+
Fe();
|
|
620
|
+
}, A)));
|
|
621
|
+
}
|
|
622
|
+
if (Z === s) {
|
|
623
|
+
if (h !== "") {
|
|
624
|
+
F = Y, J === "" && (J = "message");
|
|
625
|
+
var De = new j(J, {
|
|
626
|
+
data: h.slice(1),
|
|
627
|
+
lastEventId: Y
|
|
628
|
+
});
|
|
629
|
+
if (a.dispatchEvent(De), J === "open" ? ve(a, a.onopen, De) : J === "message" ? ve(a, a.onmessage, De) : J === "error" && ve(a, a.onerror, De), R === le)
|
|
630
|
+
return;
|
|
631
|
+
}
|
|
632
|
+
h = "", J = "";
|
|
633
|
+
}
|
|
634
|
+
Z = re === 13 ? Ee : s;
|
|
635
|
+
} else
|
|
636
|
+
Z === s && (_e = $, Z = we), Z === we ? re === 58 && (be = $ + 1, Z = ze) : Z === ze && (Z = Ce);
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
}, Qe = function(Q) {
|
|
640
|
+
if (R === te || R === ee) {
|
|
641
|
+
R = ue, _ !== 0 && (y(_), _ = 0), _ = p(function() {
|
|
642
|
+
Fe();
|
|
643
|
+
}, L), L = Re(Math.min(m * 16, L * 2)), a.readyState = ee;
|
|
644
|
+
var W = new je("error", { error: Q });
|
|
645
|
+
a.dispatchEvent(W), ve(a, a.onerror, W), Q != null && console.error(Q);
|
|
646
|
+
}
|
|
647
|
+
}, qe = function() {
|
|
648
|
+
R = le, g != null && (g.abort(), g = void 0), _ !== 0 && (y(_), _ = 0), a.readyState = le;
|
|
649
|
+
}, Fe = function() {
|
|
650
|
+
if (_ = 0, R !== ue) {
|
|
651
|
+
if (!D && g != null)
|
|
652
|
+
Qe(new Error("No activity within " + A + " milliseconds. " + (R === ee ? "No response received." : N + " chars received.") + " Reconnecting.")), g != null && (g.abort(), g = void 0);
|
|
653
|
+
else {
|
|
654
|
+
var Q = Math.max((D || Date.now()) + A - Date.now(), 1);
|
|
655
|
+
D = !1, _ = p(function() {
|
|
656
|
+
Fe();
|
|
657
|
+
}, Q);
|
|
658
|
+
}
|
|
659
|
+
return;
|
|
660
|
+
}
|
|
661
|
+
D = !1, N = 0, _ = p(function() {
|
|
662
|
+
Fe();
|
|
663
|
+
}, A), R = ee, h = "", J = "", Y = F, de = "", _e = 0, be = 0, Z = s;
|
|
664
|
+
var W = r;
|
|
665
|
+
if (r.slice(0, 5) !== "data:" && r.slice(0, 5) !== "blob:" && F !== "") {
|
|
666
|
+
var ie = r.indexOf("?");
|
|
667
|
+
W = ie === -1 ? r : r.slice(0, ie + 1) + r.slice(ie + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Te, De) {
|
|
668
|
+
return De === B ? "" : Te;
|
|
669
|
+
}), W += (r.indexOf("?") === -1 ? "?" : "&") + B + "=" + encodeURIComponent(F);
|
|
670
|
+
}
|
|
671
|
+
var re = a.withCredentials, ae = {};
|
|
672
|
+
ae.Accept = "text/event-stream";
|
|
673
|
+
var $ = a.headers;
|
|
674
|
+
if ($ != null)
|
|
675
|
+
for (var Be in $)
|
|
676
|
+
Object.prototype.hasOwnProperty.call($, Be) && (ae[Be] = $[Be]);
|
|
677
|
+
try {
|
|
678
|
+
g = w.open(f, Ue, xe, Qe, W, re, ae);
|
|
679
|
+
} catch (Te) {
|
|
680
|
+
throw qe(), Te;
|
|
681
|
+
}
|
|
682
|
+
};
|
|
683
|
+
a.url = r, a.readyState = ee, a.withCredentials = i, a.headers = T, a._close = qe, Fe();
|
|
684
|
+
}
|
|
685
|
+
oe.prototype = Object.create(O.prototype), oe.prototype.CONNECTING = ee, oe.prototype.OPEN = te, oe.prototype.CLOSED = le, oe.prototype.close = function() {
|
|
686
|
+
this._close();
|
|
687
|
+
}, oe.CONNECTING = ee, oe.OPEN = te, oe.CLOSED = le, oe.prototype.withCredentials = void 0;
|
|
688
|
+
var Me = u;
|
|
689
|
+
l != null && (u == null || !("withCredentials" in u.prototype)) && (Me = oe), function(a) {
|
|
690
|
+
{
|
|
691
|
+
var r = a(e);
|
|
692
|
+
r !== void 0 && (o.exports = r);
|
|
693
|
+
}
|
|
694
|
+
}(function(a) {
|
|
695
|
+
a.EventSourcePolyfill = oe, a.NativeEventSource = u, a.EventSource = Me;
|
|
696
|
+
});
|
|
697
|
+
})(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : bt : globalThis);
|
|
698
|
+
})(Ye, Ye.exports);
|
|
699
|
+
var It = Ye.exports;
|
|
700
|
+
function jt(o) {
|
|
701
|
+
Ct(o, "svelte-15fwckg", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;background:transparent;border:none;font:inherit;color:inherit;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;background:transparent;border:none;font:inherit;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px;gap:5px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
|
|
702
|
+
}
|
|
703
|
+
function it(o, e, t) {
|
|
704
|
+
const p = o.slice();
|
|
705
|
+
return p[61] = e[t], p;
|
|
706
|
+
}
|
|
707
|
+
function rt(o, e, t) {
|
|
708
|
+
const p = o.slice();
|
|
709
|
+
return p[64] = e[t], p;
|
|
710
|
+
}
|
|
711
|
+
function zt(o) {
|
|
712
|
+
let e, t, p, y, l, c, v, u, b, k, V, z, C = (
|
|
713
|
+
/*showBalance*/
|
|
714
|
+
o[5] && st(o)
|
|
715
|
+
);
|
|
716
|
+
return {
|
|
717
|
+
c() {
|
|
718
|
+
e = U("button"), t = U("p"), p = Le(
|
|
719
|
+
/*displayBalance*/
|
|
720
|
+
o[7]
|
|
721
|
+
), y = fe(), l = U("span"), c = at("svg"), v = at("path"), b = fe(), C && C.c(), k = xt(), x(v, "id", "arrow"), x(v, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), x(v, "transform", "translate(-274.511 -441.088)"), x(v, "fill", "#d1d1d1"), x(c, "xmlns", "http://www.w3.org/2000/svg"), x(c, "width", "14"), x(c, "height", "6.835"), x(c, "viewBox", "0 0 14 6.835"), x(l, "class", u = /*isModalDisplayed*/
|
|
722
|
+
o[4] ? "TriangleActive" : "TriangleInactive"), x(e, "class", "BalanceValue");
|
|
723
|
+
},
|
|
724
|
+
m(S, H) {
|
|
725
|
+
he(S, e, H), E(e, t), E(t, p), E(e, y), E(e, l), E(l, c), E(c, v), he(S, b, H), C && C.m(S, H), he(S, k, H), V || (z = Ie(
|
|
726
|
+
e,
|
|
727
|
+
"click",
|
|
728
|
+
/*click_handler*/
|
|
729
|
+
o[32]
|
|
730
|
+
), V = !0);
|
|
731
|
+
},
|
|
732
|
+
p(S, H) {
|
|
733
|
+
H[0] & /*displayBalance*/
|
|
734
|
+
128 && Ae(
|
|
735
|
+
p,
|
|
736
|
+
/*displayBalance*/
|
|
737
|
+
S[7]
|
|
738
|
+
), H[0] & /*isModalDisplayed*/
|
|
739
|
+
16 && u !== (u = /*isModalDisplayed*/
|
|
740
|
+
S[4] ? "TriangleActive" : "TriangleInactive") && x(l, "class", u), /*showBalance*/
|
|
741
|
+
S[5] ? C ? C.p(S, H) : (C = st(S), C.c(), C.m(k.parentNode, k)) : C && (C.d(1), C = null);
|
|
742
|
+
},
|
|
743
|
+
d(S) {
|
|
744
|
+
S && (pe(e), pe(b), pe(k)), C && C.d(S), V = !1, z();
|
|
745
|
+
}
|
|
746
|
+
};
|
|
747
|
+
}
|
|
748
|
+
function Ht(o) {
|
|
749
|
+
let e, t = (
|
|
750
|
+
/*$_*/
|
|
751
|
+
o[8]("Loading") + ""
|
|
752
|
+
), p;
|
|
753
|
+
return {
|
|
754
|
+
c() {
|
|
755
|
+
e = U("p"), p = Le(t), x(e, "class", "Loading");
|
|
756
|
+
},
|
|
757
|
+
m(y, l) {
|
|
758
|
+
he(y, e, l), E(e, p);
|
|
759
|
+
},
|
|
760
|
+
p(y, l) {
|
|
761
|
+
l[0] & /*$_*/
|
|
762
|
+
256 && t !== (t = /*$_*/
|
|
763
|
+
y[8]("Loading") + "") && Ae(p, t);
|
|
764
|
+
},
|
|
765
|
+
d(y) {
|
|
766
|
+
y && pe(e);
|
|
767
|
+
}
|
|
768
|
+
};
|
|
769
|
+
}
|
|
770
|
+
function st(o) {
|
|
771
|
+
let e, t, p, y, l, c, v, u, b = (
|
|
772
|
+
/*$_*/
|
|
773
|
+
o[8]("Title") + ""
|
|
774
|
+
), k, V, z, C, S, H, me = (
|
|
775
|
+
/*$_*/
|
|
776
|
+
o[8]("DepositButton") + ""
|
|
777
|
+
), ce, Se, P, q, ne, se, ge, K = Ve(Object.keys(
|
|
778
|
+
/*balances*/
|
|
779
|
+
o[2]
|
|
780
|
+
)), G = [];
|
|
781
|
+
for (let M = 0; M < K.length; M += 1)
|
|
782
|
+
G[M] = ct(it(o, K, M));
|
|
783
|
+
let O = (
|
|
784
|
+
/*balancelimitsbutton*/
|
|
785
|
+
o[0] === "true" && ut(o)
|
|
786
|
+
);
|
|
787
|
+
return {
|
|
788
|
+
c() {
|
|
789
|
+
e = U("div"), t = U("button"), y = fe(), l = U("div"), c = U("div"), v = U("div"), u = U("p"), k = Le(b), V = fe(), z = U("div");
|
|
790
|
+
for (let M = 0; M < G.length; M += 1)
|
|
791
|
+
G[M].c();
|
|
792
|
+
C = fe(), S = U("div"), H = U("button"), ce = Le(me), Se = fe(), O && O.c(), x(t, "class", p = "BalanceModalClose " + /*isModalDisplayed*/
|
|
793
|
+
(o[4] ? "Open" : "")), x(u, "class", "BalanceModalTitle"), x(v, "class", "BalanceModalHeader"), x(z, "class", "BalanceModalBody"), x(H, "class", "BalanceModalAction DepositButton"), x(S, "class", "BalanceModalFooter"), x(c, "class", P = "ModalContent " + /*isModalDisplayed*/
|
|
794
|
+
(o[4] ? "Open" : "")), x(l, "class", q = "BalanceModal " + /*isModalDisplayed*/
|
|
795
|
+
(o[4] ? "Open" : "")), x(e, "class", ne = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
796
|
+
(o[4] ? "Open" : ""));
|
|
797
|
+
},
|
|
798
|
+
m(M, I) {
|
|
799
|
+
he(M, e, I), E(e, t), E(e, y), E(e, l), E(l, c), E(c, v), E(v, u), E(u, k), E(c, V), E(c, z);
|
|
800
|
+
for (let j = 0; j < G.length; j += 1)
|
|
801
|
+
G[j] && G[j].m(z, null);
|
|
802
|
+
E(c, C), E(c, S), E(S, H), E(H, ce), E(S, Se), O && O.m(S, null), se || (ge = [
|
|
803
|
+
Ie(
|
|
804
|
+
t,
|
|
805
|
+
"click",
|
|
806
|
+
/*click_handler_1*/
|
|
807
|
+
o[33]
|
|
808
|
+
),
|
|
809
|
+
Ie(
|
|
810
|
+
H,
|
|
811
|
+
"click",
|
|
812
|
+
/*click_handler_2*/
|
|
813
|
+
o[34]
|
|
814
|
+
)
|
|
815
|
+
], se = !0);
|
|
816
|
+
},
|
|
817
|
+
p(M, I) {
|
|
818
|
+
if (I[0] & /*isModalDisplayed*/
|
|
819
|
+
16 && p !== (p = "BalanceModalClose " + /*isModalDisplayed*/
|
|
820
|
+
(M[4] ? "Open" : "")) && x(t, "class", p), I[0] & /*$_*/
|
|
821
|
+
256 && b !== (b = /*$_*/
|
|
822
|
+
M[8]("Title") + "") && Ae(k, b), I[0] & /*balances, formatBalance, getProductType, $_*/
|
|
823
|
+
5380) {
|
|
824
|
+
K = Ve(Object.keys(
|
|
825
|
+
/*balances*/
|
|
826
|
+
M[2]
|
|
827
|
+
));
|
|
828
|
+
let j;
|
|
829
|
+
for (j = 0; j < K.length; j += 1) {
|
|
830
|
+
const ye = it(M, K, j);
|
|
831
|
+
G[j] ? G[j].p(ye, I) : (G[j] = ct(ye), G[j].c(), G[j].m(z, null));
|
|
832
|
+
}
|
|
833
|
+
for (; j < G.length; j += 1)
|
|
834
|
+
G[j].d(1);
|
|
835
|
+
G.length = K.length;
|
|
836
|
+
}
|
|
837
|
+
I[0] & /*$_*/
|
|
838
|
+
256 && me !== (me = /*$_*/
|
|
839
|
+
M[8]("DepositButton") + "") && Ae(ce, me), /*balancelimitsbutton*/
|
|
840
|
+
M[0] === "true" ? O ? O.p(M, I) : (O = ut(M), O.c(), O.m(S, null)) : O && (O.d(1), O = null), I[0] & /*isModalDisplayed*/
|
|
841
|
+
16 && P !== (P = "ModalContent " + /*isModalDisplayed*/
|
|
842
|
+
(M[4] ? "Open" : "")) && x(c, "class", P), I[0] & /*isModalDisplayed*/
|
|
843
|
+
16 && q !== (q = "BalanceModal " + /*isModalDisplayed*/
|
|
844
|
+
(M[4] ? "Open" : "")) && x(l, "class", q), I[0] & /*isModalDisplayed*/
|
|
845
|
+
16 && ne !== (ne = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
846
|
+
(M[4] ? "Open" : "")) && x(e, "class", ne);
|
|
847
|
+
},
|
|
848
|
+
d(M) {
|
|
849
|
+
M && pe(e), ft(G, M), O && O.d(), se = !1, Et(ge);
|
|
850
|
+
}
|
|
851
|
+
};
|
|
852
|
+
}
|
|
853
|
+
function lt(o) {
|
|
854
|
+
let e, t, p = (
|
|
855
|
+
/*$_*/
|
|
856
|
+
o[8](
|
|
857
|
+
/*k*/
|
|
858
|
+
o[61]
|
|
859
|
+
) + ""
|
|
860
|
+
), y, l, c = (
|
|
861
|
+
/*getProductType*/
|
|
862
|
+
o[12](
|
|
863
|
+
/*balance*/
|
|
864
|
+
o[64]
|
|
865
|
+
) + ""
|
|
866
|
+
), v, u, b, k, V = (
|
|
867
|
+
/*formatBalance*/
|
|
868
|
+
o[10](
|
|
869
|
+
/*balance*/
|
|
870
|
+
o[64].amount
|
|
871
|
+
) + ""
|
|
872
|
+
), z;
|
|
873
|
+
return {
|
|
874
|
+
c() {
|
|
875
|
+
e = U("div"), t = U("p"), y = Le(p), l = fe(), v = Le(c), u = fe(), b = U("p"), k = U("span"), z = Le(V), x(t, "class", "BalanceModalText"), x(k, "class", "BalanceModalAmount"), x(b, "class", "BalanceModalValue"), x(e, "class", "BalanceModalRowLine");
|
|
876
|
+
},
|
|
877
|
+
m(C, S) {
|
|
878
|
+
he(C, e, S), E(e, t), E(t, y), E(t, l), E(t, v), E(e, u), E(e, b), E(b, k), E(k, z);
|
|
879
|
+
},
|
|
880
|
+
p(C, S) {
|
|
881
|
+
S[0] & /*$_, balances*/
|
|
882
|
+
260 && p !== (p = /*$_*/
|
|
883
|
+
C[8](
|
|
884
|
+
/*k*/
|
|
885
|
+
C[61]
|
|
886
|
+
) + "") && Ae(y, p), S[0] & /*balances*/
|
|
887
|
+
4 && c !== (c = /*getProductType*/
|
|
888
|
+
C[12](
|
|
889
|
+
/*balance*/
|
|
890
|
+
C[64]
|
|
891
|
+
) + "") && Ae(v, c), S[0] & /*balances*/
|
|
892
|
+
4 && V !== (V = /*formatBalance*/
|
|
893
|
+
C[10](
|
|
894
|
+
/*balance*/
|
|
895
|
+
C[64].amount
|
|
896
|
+
) + "") && Ae(z, V);
|
|
897
|
+
},
|
|
898
|
+
d(C) {
|
|
899
|
+
C && pe(e);
|
|
900
|
+
}
|
|
901
|
+
};
|
|
902
|
+
}
|
|
903
|
+
function ct(o) {
|
|
904
|
+
let e, t, p, y = Ve(
|
|
905
|
+
/*balances*/
|
|
906
|
+
o[2][
|
|
907
|
+
/*k*/
|
|
908
|
+
o[61]
|
|
909
|
+
]
|
|
910
|
+
), l = [];
|
|
911
|
+
for (let c = 0; c < y.length; c += 1)
|
|
912
|
+
l[c] = lt(rt(o, y, c));
|
|
913
|
+
return {
|
|
914
|
+
c() {
|
|
915
|
+
e = U("div");
|
|
916
|
+
for (let c = 0; c < l.length; c += 1)
|
|
917
|
+
l[c].c();
|
|
918
|
+
t = fe(), x(e, "class", p = "BalanceModalRowBoth " + /*k*/
|
|
919
|
+
o[61]);
|
|
920
|
+
},
|
|
921
|
+
m(c, v) {
|
|
922
|
+
he(c, e, v);
|
|
923
|
+
for (let u = 0; u < l.length; u += 1)
|
|
924
|
+
l[u] && l[u].m(e, null);
|
|
925
|
+
E(e, t);
|
|
926
|
+
},
|
|
927
|
+
p(c, v) {
|
|
928
|
+
if (v[0] & /*formatBalance, balances, getProductType, $_*/
|
|
929
|
+
5380) {
|
|
930
|
+
y = Ve(
|
|
931
|
+
/*balances*/
|
|
932
|
+
c[2][
|
|
933
|
+
/*k*/
|
|
934
|
+
c[61]
|
|
935
|
+
]
|
|
936
|
+
);
|
|
937
|
+
let u;
|
|
938
|
+
for (u = 0; u < y.length; u += 1) {
|
|
939
|
+
const b = rt(c, y, u);
|
|
940
|
+
l[u] ? l[u].p(b, v) : (l[u] = lt(b), l[u].c(), l[u].m(e, t));
|
|
941
|
+
}
|
|
942
|
+
for (; u < l.length; u += 1)
|
|
943
|
+
l[u].d(1);
|
|
944
|
+
l.length = y.length;
|
|
945
|
+
}
|
|
946
|
+
v[0] & /*balances*/
|
|
947
|
+
4 && p !== (p = "BalanceModalRowBoth " + /*k*/
|
|
948
|
+
c[61]) && x(e, "class", p);
|
|
949
|
+
},
|
|
950
|
+
d(c) {
|
|
951
|
+
c && pe(e), ft(l, c);
|
|
952
|
+
}
|
|
953
|
+
};
|
|
954
|
+
}
|
|
955
|
+
function ut(o) {
|
|
956
|
+
let e, t = (
|
|
957
|
+
/*$_*/
|
|
958
|
+
o[8]("LimitsButton") + ""
|
|
959
|
+
), p, y, l;
|
|
960
|
+
return {
|
|
961
|
+
c() {
|
|
962
|
+
e = U("button"), p = Le(t), x(e, "class", "BalanceModalAction LimitsButton");
|
|
963
|
+
},
|
|
964
|
+
m(c, v) {
|
|
965
|
+
he(c, e, v), E(e, p), y || (l = Ie(
|
|
966
|
+
e,
|
|
967
|
+
"click",
|
|
968
|
+
/*click_handler_3*/
|
|
969
|
+
o[35]
|
|
970
|
+
), y = !0);
|
|
971
|
+
},
|
|
972
|
+
p(c, v) {
|
|
973
|
+
v[0] & /*$_*/
|
|
974
|
+
256 && t !== (t = /*$_*/
|
|
975
|
+
c[8]("LimitsButton") + "") && Ae(p, t);
|
|
976
|
+
},
|
|
977
|
+
d(c) {
|
|
978
|
+
c && pe(e), y = !1, l();
|
|
979
|
+
}
|
|
980
|
+
};
|
|
981
|
+
}
|
|
982
|
+
function dt(o) {
|
|
983
|
+
let e, t, p;
|
|
984
|
+
return {
|
|
985
|
+
c() {
|
|
986
|
+
e = U("button"), x(e, "class", "ShowBalanceModalOverlay");
|
|
987
|
+
},
|
|
988
|
+
m(y, l) {
|
|
989
|
+
he(y, e, l), t || (p = Ie(
|
|
990
|
+
e,
|
|
991
|
+
"click",
|
|
992
|
+
/*click_handler_4*/
|
|
993
|
+
o[36]
|
|
994
|
+
), t = !0);
|
|
995
|
+
},
|
|
996
|
+
p: We,
|
|
997
|
+
d(y) {
|
|
998
|
+
y && pe(e), t = !1, p();
|
|
999
|
+
}
|
|
1000
|
+
};
|
|
1001
|
+
}
|
|
1002
|
+
function Ut(o) {
|
|
1003
|
+
let e, t, p, y;
|
|
1004
|
+
function l(b, k) {
|
|
1005
|
+
return (
|
|
1006
|
+
/*isLoading*/
|
|
1007
|
+
b[3] ? Ht : zt
|
|
1008
|
+
);
|
|
1009
|
+
}
|
|
1010
|
+
let c = l(o), v = c(o), u = (
|
|
1011
|
+
/*showBalance*/
|
|
1012
|
+
o[5] && dt(o)
|
|
1013
|
+
);
|
|
1014
|
+
return {
|
|
1015
|
+
c() {
|
|
1016
|
+
e = U("div"), t = U("div"), v.c(), y = fe(), u && u.c(), x(t, "class", p = "ShowBalance " + /*mobileView*/
|
|
1017
|
+
(o[6] ? "Mobile" : ""));
|
|
1018
|
+
},
|
|
1019
|
+
m(b, k) {
|
|
1020
|
+
he(b, e, k), E(e, t), v.m(t, null), E(e, y), u && u.m(e, null), o[37](e);
|
|
1021
|
+
},
|
|
1022
|
+
p(b, k) {
|
|
1023
|
+
c === (c = l(b)) && v ? v.p(b, k) : (v.d(1), v = c(b), v && (v.c(), v.m(t, null))), k[0] & /*mobileView*/
|
|
1024
|
+
64 && p !== (p = "ShowBalance " + /*mobileView*/
|
|
1025
|
+
(b[6] ? "Mobile" : "")) && x(t, "class", p), /*showBalance*/
|
|
1026
|
+
b[5] ? u ? u.p(b, k) : (u = dt(b), u.c(), u.m(e, null)) : u && (u.d(1), u = null);
|
|
1027
|
+
},
|
|
1028
|
+
i: We,
|
|
1029
|
+
o: We,
|
|
1030
|
+
d(b) {
|
|
1031
|
+
b && pe(e), v.d(), u && u.d(), o[37](null);
|
|
1032
|
+
}
|
|
1033
|
+
};
|
|
1034
|
+
}
|
|
1035
|
+
function Vt(o, e, t) {
|
|
1036
|
+
let p;
|
|
1037
|
+
_t(o, Nt, (n) => t(8, p = n));
|
|
1038
|
+
let { userid: y = "" } = e, { session: l = "" } = e, { endpoint: c = "" } = e, { lang: v = "en" } = e, { mbsource: u = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: k = "" } = e, { translationurl: V = "" } = e, { gmversion: z = "gm16" } = e, { displaybalanceoption: C = "All" } = e, { totalcalculationmode: S = "totalCashAmount" } = e, { primarybalancemode: H } = e, { balancelimitsbutton: me = "false" } = e, { hideproducttype: ce = "" } = e, { currencylocale: Se = "en" } = e, { currencydisplay: P = "symbol" } = e, { maximumfractiondigits: q = "2" } = e, { minimumfractiondigits: ne = "0" } = e, { customdisplayformat: se = "" } = e, { alwaysshowdecimals: ge = "true" } = e, K, G, O = !0, M = !1, I = !1, j = !1, ye = !1, je = window.navigator.userAgent, ue, ee = "", te = [], le, Ee = "0";
|
|
1039
|
+
const s = {}, we = ["totalCashAmount", "totalRealAmount"], ze = () => {
|
|
1040
|
+
fetch(V).then((n) => n.json()).then((n) => Object.keys(n).forEach((f) => nt(f, n[f]))).catch((n) => console.log(n));
|
|
1041
|
+
};
|
|
1042
|
+
Object.keys(ot).forEach((n) => nt(n, ot[n]));
|
|
1043
|
+
const Ce = (n) => {
|
|
1044
|
+
switch (n) {
|
|
1045
|
+
case "balance":
|
|
1046
|
+
window.postMessage(
|
|
1047
|
+
{
|
|
1048
|
+
type: "BalanceModalStatus",
|
|
1049
|
+
status: "open"
|
|
1050
|
+
},
|
|
1051
|
+
window.location.href
|
|
1052
|
+
), t(5, j = !0), setTimeout(() => t(4, M = !0), 150);
|
|
1053
|
+
break;
|
|
1054
|
+
case "closebalance":
|
|
1055
|
+
t(4, M = !1), window.postMessage(
|
|
1056
|
+
{
|
|
1057
|
+
type: "BalanceModalStatus",
|
|
1058
|
+
status: "close"
|
|
1059
|
+
},
|
|
1060
|
+
window.location.href
|
|
1061
|
+
), setTimeout(
|
|
1062
|
+
() => {
|
|
1063
|
+
t(5, j = !1);
|
|
1064
|
+
},
|
|
1065
|
+
150
|
|
1066
|
+
);
|
|
1067
|
+
break;
|
|
1068
|
+
}
|
|
1069
|
+
}, ke = (n) => {
|
|
1070
|
+
if (se)
|
|
1071
|
+
return Pe(n);
|
|
1072
|
+
const f = Se || v, w = {
|
|
1073
|
+
style: "currency",
|
|
1074
|
+
currency: ee,
|
|
1075
|
+
useGrouping: !0,
|
|
1076
|
+
currencyDisplay: P || "code",
|
|
1077
|
+
maximumFractionDigits: q === "" || isNaN(Number(q)) ? 2 : Number(q),
|
|
1078
|
+
minimumFractionDigits: ne === "" || isNaN(Number(ne)) ? 0 : Number(ne)
|
|
1079
|
+
};
|
|
1080
|
+
return new Intl.NumberFormat(f, w).format(n);
|
|
1081
|
+
}, Pe = (n) => {
|
|
1082
|
+
const f = [];
|
|
1083
|
+
let w = "";
|
|
1084
|
+
for (const g of se)
|
|
1085
|
+
switch (g) {
|
|
1086
|
+
default:
|
|
1087
|
+
w += g;
|
|
1088
|
+
break;
|
|
1089
|
+
case "{":
|
|
1090
|
+
w && f.push(w), w = "";
|
|
1091
|
+
break;
|
|
1092
|
+
case "}":
|
|
1093
|
+
const [_, R] = w.split("|");
|
|
1094
|
+
if (w = "", _.toLowerCase() === "currency")
|
|
1095
|
+
w = ee;
|
|
1096
|
+
else if (_.toLowerCase() === "amount") {
|
|
1097
|
+
let h = ",", Y = ".", J = 2;
|
|
1098
|
+
R && (R[0] !== " " && (h = R[0]), R[1] !== " " && (Y = R[1]), R[2] !== " " && !isNaN(Number(R[2])) && (J = Number(R[2])));
|
|
1099
|
+
let [de, Z] = String(Math.floor(n * Ke(10, J)) / Ke(10, J)).split(".");
|
|
1100
|
+
w += de[0];
|
|
1101
|
+
for (let xe = 1; xe < de.length; ++xe)
|
|
1102
|
+
(de.length - xe) % 3 === 0 ? w += h + de[xe] : w += de[xe];
|
|
1103
|
+
let _e = Z || "";
|
|
1104
|
+
const be = ge === "true", Ue = Number(q);
|
|
1105
|
+
if (be)
|
|
1106
|
+
_e = _e.padEnd(Ue || 2, "0").substring(0, Ue);
|
|
1107
|
+
else if (!_e)
|
|
1108
|
+
break;
|
|
1109
|
+
w += Y + _e;
|
|
1110
|
+
}
|
|
1111
|
+
w && f.push(w), w = "";
|
|
1112
|
+
break;
|
|
1113
|
+
}
|
|
1114
|
+
return f.push(w), f.join("");
|
|
1115
|
+
}, Ge = () => tt(this, null, function* () {
|
|
1116
|
+
var f, w, g;
|
|
1117
|
+
t(3, O = !0);
|
|
1118
|
+
const n = new URL(`${c}/v1/player/${y}/account`);
|
|
1119
|
+
try {
|
|
1120
|
+
const _ = yield fetch(n, {
|
|
1121
|
+
method: "GET",
|
|
1122
|
+
headers: { "X-SessionID": l }
|
|
1123
|
+
}), R = yield _.json();
|
|
1124
|
+
if (_.ok)
|
|
1125
|
+
window.postMessage({ type: "BalancedFetched" }, window.location.href), te = R.items, ee = (f = te.find((h) => h.displayName === "Casino")) == null ? void 0 : f.currency, t(2, s.Total = [{ amount: R.totalAmount[ee] }], s), t(
|
|
1126
|
+
2,
|
|
1127
|
+
s.Real = [
|
|
1128
|
+
{
|
|
1129
|
+
amount: (w = te.find((h) => h.displayName === "Casino")) == null ? void 0 : w.balanceAmount
|
|
1130
|
+
}
|
|
1131
|
+
],
|
|
1132
|
+
s
|
|
1133
|
+
), t(
|
|
1134
|
+
2,
|
|
1135
|
+
s.Bonus = [
|
|
1136
|
+
{
|
|
1137
|
+
amount: (g = te.find((h) => h.displayName === "UBS")) == null ? void 0 : g.balanceAmount
|
|
1138
|
+
}
|
|
1139
|
+
],
|
|
1140
|
+
s
|
|
1141
|
+
);
|
|
1142
|
+
else
|
|
1143
|
+
throw new Error("Failed to fetch balance data !");
|
|
1144
|
+
} catch (_) {
|
|
1145
|
+
console.log("Balance error: ", _);
|
|
1146
|
+
} finally {
|
|
1147
|
+
t(3, O = !1);
|
|
1148
|
+
}
|
|
1149
|
+
}), Oe = () => {
|
|
1150
|
+
t(3, O = !0);
|
|
1151
|
+
const n = new URL(`${c}/v2/player/${y}/balance`), f = new Headers();
|
|
1152
|
+
f.append("X-SessionID", l), fetch(n, { method: "GET", headers: f }).then((g) => g.json()).then((g) => {
|
|
1153
|
+
g[S] || t(13, S = we[0]);
|
|
1154
|
+
const _ = g.items.find((h) => h.type === "Real" && h.walletAccountType === "Ordinary");
|
|
1155
|
+
if (ee = _.currency, I = !!_.productType, t(2, s.Total = [{ amount: 0 }], s), t(2, s.Real = [], s), t(2, s.Bonus = [], s), t(2, s.Credit = [], s), !I) {
|
|
1156
|
+
le = {
|
|
1157
|
+
lastOrdinaryAfterAmount: 0,
|
|
1158
|
+
showCreditLineAfterAmount: !1
|
|
1159
|
+
}, t(2, s.Total[0].amount = g[S][ee], s);
|
|
1160
|
+
for (const h of g.items)
|
|
1161
|
+
switch (h.type) {
|
|
1162
|
+
case "Bonus":
|
|
1163
|
+
s.Bonus.length === 0 ? s.Bonus.push({ amount: h.amount }) : t(2, s.Bonus[0].amount += h.amount, s);
|
|
1164
|
+
break;
|
|
1165
|
+
case "Real":
|
|
1166
|
+
if (h.creditLine && s.Credit.length === 0 && s.Credit.push({ amount: h.creditLine }), S === "totalRealAmount")
|
|
1167
|
+
continue;
|
|
1168
|
+
s.Real.length === 0 ? s.Real.push({ amount: h.amount }) : t(2, s.Real[0].amount += h.amount, s);
|
|
1169
|
+
break;
|
|
1170
|
+
}
|
|
1171
|
+
for (const [h, Y] of Object.entries(s))
|
|
1172
|
+
Y.length < 1 && delete s[h];
|
|
1173
|
+
t(3, O = !1);
|
|
1174
|
+
return;
|
|
1175
|
+
}
|
|
1176
|
+
le = {
|
|
1177
|
+
Casino: {
|
|
1178
|
+
lastOrdinaryAfterAmount: 0,
|
|
1179
|
+
showCreditLineAfterAmount: !1
|
|
1180
|
+
},
|
|
1181
|
+
Sports: {
|
|
1182
|
+
lastOrdinaryAfterAmount: 0,
|
|
1183
|
+
showCreditLineAfterAmount: !1
|
|
1184
|
+
}
|
|
1185
|
+
};
|
|
1186
|
+
let R = g.items;
|
|
1187
|
+
C && C !== "All" && (R = g.items.filter((h) => h.productType === C));
|
|
1188
|
+
for (const h of R) {
|
|
1189
|
+
let Y;
|
|
1190
|
+
switch (h.type) {
|
|
1191
|
+
case "Bonus":
|
|
1192
|
+
Y = s.Bonus.findIndex((J) => J.productType === h.productType), Y > 0 ? t(2, s.Bonus[Y].amount += h.amount, s) : s.Bonus.push({
|
|
1193
|
+
amount: h.amount,
|
|
1194
|
+
productType: h.productType
|
|
1195
|
+
});
|
|
1196
|
+
break;
|
|
1197
|
+
case "Real":
|
|
1198
|
+
h.creditLine && s.Credit.push({
|
|
1199
|
+
amount: h.creditLine,
|
|
1200
|
+
productType: h.productType
|
|
1201
|
+
}), Y = s.Real.findIndex((J) => J.productType === h.productType), Y > 0 ? t(2, s.Real[Y].amount += h.amount, s) : s.Real.push({
|
|
1202
|
+
amount: h.amount,
|
|
1203
|
+
productType: h.productType
|
|
1204
|
+
});
|
|
1205
|
+
break;
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
He();
|
|
1209
|
+
for (const [h, Y] of Object.entries(s))
|
|
1210
|
+
Y.length < 1 && delete s[h];
|
|
1211
|
+
window.postMessage({ type: "playerBalanceInfo", balance: g }, window.location.href), t(3, O = !1);
|
|
1212
|
+
}).catch((g) => {
|
|
1213
|
+
throw t(3, O = !1), console.log("Balance fetch error", g), new Error("Failed to fetch balance data!");
|
|
1214
|
+
});
|
|
1215
|
+
}, Re = () => {
|
|
1216
|
+
if (ue && ue.close(), l.length < 1)
|
|
1217
|
+
return;
|
|
1218
|
+
let n, f;
|
|
1219
|
+
switch (z) {
|
|
1220
|
+
case "gm16":
|
|
1221
|
+
n = new URL(`${c}/v2/player/${y}/information/updates`), f = (_) => Xe(_);
|
|
1222
|
+
break;
|
|
1223
|
+
case "gmcore":
|
|
1224
|
+
n = new URL(`${c}/v1/player/${y}/balance/updates`), f = (_) => oe(_);
|
|
1225
|
+
break;
|
|
1226
|
+
}
|
|
1227
|
+
const w = {
|
|
1228
|
+
accept: "text/event-stream",
|
|
1229
|
+
"X-SessionId": l
|
|
1230
|
+
}, g = new It.EventSourcePolyfill(n, { headers: w });
|
|
1231
|
+
ue = g, g.addEventListener("message", f);
|
|
1232
|
+
}, ve = (n) => {
|
|
1233
|
+
let f;
|
|
1234
|
+
try {
|
|
1235
|
+
f = JSON.parse(n);
|
|
1236
|
+
} catch (w) {
|
|
1237
|
+
console.log("Balance stream failed: ", w);
|
|
1238
|
+
return;
|
|
1239
|
+
}
|
|
1240
|
+
return f;
|
|
1241
|
+
}, oe = (n) => {
|
|
1242
|
+
var _, R;
|
|
1243
|
+
const f = ve(n.data);
|
|
1244
|
+
if (!f) {
|
|
1245
|
+
Re();
|
|
1246
|
+
return;
|
|
1247
|
+
}
|
|
1248
|
+
let w = "0";
|
|
1249
|
+
const g = f.balanceChange;
|
|
1250
|
+
te = te.map((h) => (g && g[h.id] && (h = et($e({}, h), {
|
|
1251
|
+
balanceAmount: g[h.id].afterAmount
|
|
1252
|
+
})), w = (parseFloat(h == null ? void 0 : h.balanceAmount) + parseFloat(w)).toString(), h)), t(2, s.Real = [{ amount: (_ = te[0]) == null ? void 0 : _.balanceAmount }], s), t(2, s.Bonus = [{ amount: (R = te[1]) == null ? void 0 : R.balanceAmount }], s), t(2, s.Total = [{ amount: Number(w) }], s);
|
|
1253
|
+
}, Ne = (n, f, w) => {
|
|
1254
|
+
let g = null;
|
|
1255
|
+
switch (w.walletAccountType) {
|
|
1256
|
+
case "Ordinary":
|
|
1257
|
+
(w.afterAmount !== w.affectedAmount || f.lastOrdinaryAfterAmount === 0) && (f.lastOrdinaryAfterAmount = w.afterAmount, f.showCreditLineAfterAmount || (g = w.afterAmount));
|
|
1258
|
+
break;
|
|
1259
|
+
case "CreditLine":
|
|
1260
|
+
w.afterAmount !== 0 ? (g = w.afterAmount, f.showCreditLineAfterAmount = !0) : (g = f.lastOrdinaryAfterAmount, f.showCreditLineAfterAmount = !1);
|
|
1261
|
+
break;
|
|
1262
|
+
default:
|
|
1263
|
+
g = w.afterAmount;
|
|
1264
|
+
}
|
|
1265
|
+
return g === null ? n : g;
|
|
1266
|
+
}, He = () => {
|
|
1267
|
+
switch (S) {
|
|
1268
|
+
case "totalCashAmount":
|
|
1269
|
+
let n = 0;
|
|
1270
|
+
for (const w of ["Real", "Bonus"])
|
|
1271
|
+
for (const g of s[w])
|
|
1272
|
+
n += Math.max(g.amount, 0);
|
|
1273
|
+
t(2, s.Total[0].amount = n, s);
|
|
1274
|
+
break;
|
|
1275
|
+
case "totalRealAmount":
|
|
1276
|
+
if (!I)
|
|
1277
|
+
return;
|
|
1278
|
+
let f = 0;
|
|
1279
|
+
for (const w of s.Real)
|
|
1280
|
+
f += w.amount;
|
|
1281
|
+
t(2, s.Total[0].amount = f, s);
|
|
1282
|
+
}
|
|
1283
|
+
}, Xe = (n) => {
|
|
1284
|
+
const f = ve(n.data);
|
|
1285
|
+
if (!f) {
|
|
1286
|
+
Re();
|
|
1287
|
+
return;
|
|
1288
|
+
}
|
|
1289
|
+
if (a(f == null ? void 0 : f.type) || f.type !== "BALANCE_UPDATE_V2")
|
|
1290
|
+
return;
|
|
1291
|
+
const w = f.body.balanceChange;
|
|
1292
|
+
for (const [g, _] of Object.entries(w))
|
|
1293
|
+
if (S === "totalRealAmount" && g === "Real" && !I && t(2, s.Total[0].amount = Ne(s.Total[0].amount, le, _), s), !!s[g])
|
|
1294
|
+
for (const R of s[g]) {
|
|
1295
|
+
if (!I) {
|
|
1296
|
+
R.amount = g === "Real" ? Ne(R.amount, le, _) : _.afterAmount;
|
|
1297
|
+
continue;
|
|
1298
|
+
}
|
|
1299
|
+
_.productType === R.productType && (R.amount = g === "Real" ? Ne(R.amount, le[R.productType], _) : _.afterAmount);
|
|
1300
|
+
}
|
|
1301
|
+
He();
|
|
1302
|
+
}, Me = (n) => {
|
|
1303
|
+
switch (Ce("closebalance"), n) {
|
|
1304
|
+
case "deposit":
|
|
1305
|
+
window.postMessage({ type: "GoToDeposit" }, window.location.href);
|
|
1306
|
+
break;
|
|
1307
|
+
case "limits":
|
|
1308
|
+
window.postMessage({ type: "GoToLimits" }, window.location.href);
|
|
1309
|
+
break;
|
|
1310
|
+
}
|
|
1311
|
+
typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
|
|
1312
|
+
}, a = (n) => n === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, r = () => {
|
|
1313
|
+
we.includes(S) || (console.error(`Unsupported value ('${S}') for totalcalculationmode parameter. Only the following values are supported ${we}. Using default value ('${we[0]}').`), t(13, S = we[0]));
|
|
1314
|
+
}, d = () => {
|
|
1315
|
+
switch (Ft(v), r(), z) {
|
|
1316
|
+
case "gmcore":
|
|
1317
|
+
Ge();
|
|
1318
|
+
break;
|
|
1319
|
+
case "gm16":
|
|
1320
|
+
Oe();
|
|
1321
|
+
break;
|
|
1322
|
+
default:
|
|
1323
|
+
throw Error(`Invalid apiversion attribute: ${z}`);
|
|
1324
|
+
}
|
|
1325
|
+
}, i = (n) => {
|
|
1326
|
+
const { data: { type: f } = {} } = n || {};
|
|
1327
|
+
switch (f) {
|
|
1328
|
+
case "LogoutSuccessfull":
|
|
1329
|
+
ue.close();
|
|
1330
|
+
break;
|
|
1331
|
+
case "CloseBalance":
|
|
1332
|
+
Ce("closebalance");
|
|
1333
|
+
break;
|
|
1334
|
+
}
|
|
1335
|
+
}, B = () => {
|
|
1336
|
+
window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
|
|
1337
|
+
}, m = (n) => {
|
|
1338
|
+
const f = ce.split(",").map((w) => w.trim());
|
|
1339
|
+
return !n.productType || f.includes(n.productType) ? "" : p(n.productType);
|
|
1340
|
+
};
|
|
1341
|
+
At(() => (window.addEventListener("message", i, !1), t(6, ye = Lt(je)), () => {
|
|
1342
|
+
window.removeEventListener("message", i), ue && ue.close();
|
|
1343
|
+
}));
|
|
1344
|
+
const A = () => Ce("balance"), F = () => Ce("closebalance"), L = () => Me("deposit"), D = () => Me("limits"), N = () => Ce("closebalance");
|
|
1345
|
+
function T(n) {
|
|
1346
|
+
Rt[n ? "unshift" : "push"](() => {
|
|
1347
|
+
K = n, t(1, K);
|
|
1348
|
+
});
|
|
1349
|
+
}
|
|
1350
|
+
return o.$$set = (n) => {
|
|
1351
|
+
"userid" in n && t(14, y = n.userid), "session" in n && t(15, l = n.session), "endpoint" in n && t(16, c = n.endpoint), "lang" in n && t(17, v = n.lang), "mbsource" in n && t(18, u = n.mbsource), "clientstyling" in n && t(19, b = n.clientstyling), "clientstylingurl" in n && t(20, k = n.clientstylingurl), "translationurl" in n && t(21, V = n.translationurl), "gmversion" in n && t(22, z = n.gmversion), "displaybalanceoption" in n && t(23, C = n.displaybalanceoption), "totalcalculationmode" in n && t(13, S = n.totalcalculationmode), "primarybalancemode" in n && t(24, H = n.primarybalancemode), "balancelimitsbutton" in n && t(0, me = n.balancelimitsbutton), "hideproducttype" in n && t(25, ce = n.hideproducttype), "currencylocale" in n && t(26, Se = n.currencylocale), "currencydisplay" in n && t(27, P = n.currencydisplay), "maximumfractiondigits" in n && t(28, q = n.maximumfractiondigits), "minimumfractiondigits" in n && t(29, ne = n.minimumfractiondigits), "customdisplayformat" in n && t(30, se = n.customdisplayformat), "alwaysshowdecimals" in n && t(31, ge = n.alwaysshowdecimals);
|
|
1352
|
+
}, o.$$.update = () => {
|
|
1353
|
+
o.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
|
|
1354
|
+
12828672 && c && y && l && v && z && C && d(), o.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
|
|
1355
|
+
4308992 && c && y && l && z && Re(), o.$$.dirty[0] & /*translationurl*/
|
|
1356
|
+
2097152 && V && ze(), o.$$.dirty[0] & /*balances*/
|
|
1357
|
+
4 && s.Total && B(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1358
|
+
524290 && b && K && Mt(K, b), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1359
|
+
1048578 && k && K && Dt(K, k), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1360
|
+
262146 && u && K && kt(K, `${u}.Style`, G), o.$$.dirty[0] & /*primarybalancemode, balances*/
|
|
1361
|
+
16777220 && t(7, Ee = (() => {
|
|
1362
|
+
switch (H) {
|
|
1363
|
+
case "Real":
|
|
1364
|
+
return s.Real ? ke(s.Real[0].amount) : "0";
|
|
1365
|
+
default:
|
|
1366
|
+
return s.Total ? ke(s.Total[0].amount) : "0";
|
|
1367
|
+
}
|
|
1368
|
+
})());
|
|
1369
|
+
}, [
|
|
1370
|
+
me,
|
|
1371
|
+
K,
|
|
1372
|
+
s,
|
|
1373
|
+
O,
|
|
1374
|
+
M,
|
|
1375
|
+
j,
|
|
1376
|
+
ye,
|
|
1377
|
+
Ee,
|
|
1378
|
+
p,
|
|
1379
|
+
Ce,
|
|
1380
|
+
ke,
|
|
1381
|
+
Me,
|
|
1382
|
+
m,
|
|
1383
|
+
S,
|
|
1384
|
+
y,
|
|
1385
|
+
l,
|
|
1386
|
+
c,
|
|
1387
|
+
v,
|
|
1388
|
+
u,
|
|
1389
|
+
b,
|
|
1390
|
+
k,
|
|
1391
|
+
V,
|
|
1392
|
+
z,
|
|
1393
|
+
C,
|
|
1394
|
+
H,
|
|
1395
|
+
ce,
|
|
1396
|
+
Se,
|
|
1397
|
+
P,
|
|
1398
|
+
q,
|
|
1399
|
+
ne,
|
|
1400
|
+
se,
|
|
1401
|
+
ge,
|
|
1402
|
+
A,
|
|
1403
|
+
F,
|
|
1404
|
+
L,
|
|
1405
|
+
D,
|
|
1406
|
+
N,
|
|
1407
|
+
T
|
|
1408
|
+
];
|
|
1409
|
+
}
|
|
1410
|
+
class Pt extends Bt {
|
|
1411
|
+
constructor(e) {
|
|
1412
|
+
super(), Tt(
|
|
1413
|
+
this,
|
|
1414
|
+
e,
|
|
1415
|
+
Vt,
|
|
1416
|
+
Ut,
|
|
1417
|
+
St,
|
|
1418
|
+
{
|
|
1419
|
+
userid: 14,
|
|
1420
|
+
session: 15,
|
|
1421
|
+
endpoint: 16,
|
|
1422
|
+
lang: 17,
|
|
1423
|
+
mbsource: 18,
|
|
1424
|
+
clientstyling: 19,
|
|
1425
|
+
clientstylingurl: 20,
|
|
1426
|
+
translationurl: 21,
|
|
1427
|
+
gmversion: 22,
|
|
1428
|
+
displaybalanceoption: 23,
|
|
1429
|
+
totalcalculationmode: 13,
|
|
1430
|
+
primarybalancemode: 24,
|
|
1431
|
+
balancelimitsbutton: 0,
|
|
1432
|
+
hideproducttype: 25,
|
|
1433
|
+
currencylocale: 26,
|
|
1434
|
+
currencydisplay: 27,
|
|
1435
|
+
maximumfractiondigits: 28,
|
|
1436
|
+
minimumfractiondigits: 29,
|
|
1437
|
+
customdisplayformat: 30,
|
|
1438
|
+
alwaysshowdecimals: 31
|
|
1439
|
+
},
|
|
1440
|
+
jt,
|
|
1441
|
+
[-1, -1, -1]
|
|
1442
|
+
);
|
|
1443
|
+
}
|
|
1444
|
+
get userid() {
|
|
1445
|
+
return this.$$.ctx[14];
|
|
1446
|
+
}
|
|
1447
|
+
set userid(e) {
|
|
1448
|
+
this.$$set({ userid: e }), X();
|
|
1449
|
+
}
|
|
1450
|
+
get session() {
|
|
1451
|
+
return this.$$.ctx[15];
|
|
1452
|
+
}
|
|
1453
|
+
set session(e) {
|
|
1454
|
+
this.$$set({ session: e }), X();
|
|
1455
|
+
}
|
|
1456
|
+
get endpoint() {
|
|
1457
|
+
return this.$$.ctx[16];
|
|
1458
|
+
}
|
|
1459
|
+
set endpoint(e) {
|
|
1460
|
+
this.$$set({ endpoint: e }), X();
|
|
1461
|
+
}
|
|
1462
|
+
get lang() {
|
|
1463
|
+
return this.$$.ctx[17];
|
|
1464
|
+
}
|
|
1465
|
+
set lang(e) {
|
|
1466
|
+
this.$$set({ lang: e }), X();
|
|
1467
|
+
}
|
|
1468
|
+
get mbsource() {
|
|
1469
|
+
return this.$$.ctx[18];
|
|
1470
|
+
}
|
|
1471
|
+
set mbsource(e) {
|
|
1472
|
+
this.$$set({ mbsource: e }), X();
|
|
1473
|
+
}
|
|
1474
|
+
get clientstyling() {
|
|
1475
|
+
return this.$$.ctx[19];
|
|
1476
|
+
}
|
|
1477
|
+
set clientstyling(e) {
|
|
1478
|
+
this.$$set({ clientstyling: e }), X();
|
|
1479
|
+
}
|
|
1480
|
+
get clientstylingurl() {
|
|
1481
|
+
return this.$$.ctx[20];
|
|
1482
|
+
}
|
|
1483
|
+
set clientstylingurl(e) {
|
|
1484
|
+
this.$$set({ clientstylingurl: e }), X();
|
|
1485
|
+
}
|
|
1486
|
+
get translationurl() {
|
|
1487
|
+
return this.$$.ctx[21];
|
|
1488
|
+
}
|
|
1489
|
+
set translationurl(e) {
|
|
1490
|
+
this.$$set({ translationurl: e }), X();
|
|
1491
|
+
}
|
|
1492
|
+
get gmversion() {
|
|
1493
|
+
return this.$$.ctx[22];
|
|
1494
|
+
}
|
|
1495
|
+
set gmversion(e) {
|
|
1496
|
+
this.$$set({ gmversion: e }), X();
|
|
1497
|
+
}
|
|
1498
|
+
get displaybalanceoption() {
|
|
1499
|
+
return this.$$.ctx[23];
|
|
1500
|
+
}
|
|
1501
|
+
set displaybalanceoption(e) {
|
|
1502
|
+
this.$$set({ displaybalanceoption: e }), X();
|
|
1503
|
+
}
|
|
1504
|
+
get totalcalculationmode() {
|
|
1505
|
+
return this.$$.ctx[13];
|
|
1506
|
+
}
|
|
1507
|
+
set totalcalculationmode(e) {
|
|
1508
|
+
this.$$set({ totalcalculationmode: e }), X();
|
|
1509
|
+
}
|
|
1510
|
+
get primarybalancemode() {
|
|
1511
|
+
return this.$$.ctx[24];
|
|
1512
|
+
}
|
|
1513
|
+
set primarybalancemode(e) {
|
|
1514
|
+
this.$$set({ primarybalancemode: e }), X();
|
|
1515
|
+
}
|
|
1516
|
+
get balancelimitsbutton() {
|
|
1517
|
+
return this.$$.ctx[0];
|
|
1518
|
+
}
|
|
1519
|
+
set balancelimitsbutton(e) {
|
|
1520
|
+
this.$$set({ balancelimitsbutton: e }), X();
|
|
1521
|
+
}
|
|
1522
|
+
get hideproducttype() {
|
|
1523
|
+
return this.$$.ctx[25];
|
|
1524
|
+
}
|
|
1525
|
+
set hideproducttype(e) {
|
|
1526
|
+
this.$$set({ hideproducttype: e }), X();
|
|
1527
|
+
}
|
|
1528
|
+
get currencylocale() {
|
|
1529
|
+
return this.$$.ctx[26];
|
|
1530
|
+
}
|
|
1531
|
+
set currencylocale(e) {
|
|
1532
|
+
this.$$set({ currencylocale: e }), X();
|
|
1533
|
+
}
|
|
1534
|
+
get currencydisplay() {
|
|
1535
|
+
return this.$$.ctx[27];
|
|
1536
|
+
}
|
|
1537
|
+
set currencydisplay(e) {
|
|
1538
|
+
this.$$set({ currencydisplay: e }), X();
|
|
1539
|
+
}
|
|
1540
|
+
get maximumfractiondigits() {
|
|
1541
|
+
return this.$$.ctx[28];
|
|
1542
|
+
}
|
|
1543
|
+
set maximumfractiondigits(e) {
|
|
1544
|
+
this.$$set({ maximumfractiondigits: e }), X();
|
|
1545
|
+
}
|
|
1546
|
+
get minimumfractiondigits() {
|
|
1547
|
+
return this.$$.ctx[29];
|
|
1548
|
+
}
|
|
1549
|
+
set minimumfractiondigits(e) {
|
|
1550
|
+
this.$$set({ minimumfractiondigits: e }), X();
|
|
1551
|
+
}
|
|
1552
|
+
get customdisplayformat() {
|
|
1553
|
+
return this.$$.ctx[30];
|
|
1554
|
+
}
|
|
1555
|
+
set customdisplayformat(e) {
|
|
1556
|
+
this.$$set({ customdisplayformat: e }), X();
|
|
1557
|
+
}
|
|
1558
|
+
get alwaysshowdecimals() {
|
|
1559
|
+
return this.$$.ctx[31];
|
|
1560
|
+
}
|
|
1561
|
+
set alwaysshowdecimals(e) {
|
|
1562
|
+
this.$$set({ alwaysshowdecimals: e }), X();
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
Ot(Pt, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, primarybalancemode: {}, balancelimitsbutton: {}, hideproducttype: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {}, alwaysshowdecimals: {} }, [], [], !0);
|
|
1566
|
+
export {
|
|
1567
|
+
Pt as default
|
|
1568
|
+
};
|