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