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