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