@everymatrix/casino-header-controller 1.70.0 → 1.70.1
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-B1x--_Oq.js → CasinoHeaderController-Bfde4i_j.js} +1041 -1055
- package/components/CasinoHeaderController-CHGIpH0T.cjs +13 -0
- package/components/{CasinoHeaderController-BfAseLS8.js → CasinoHeaderController-DF_M7Q73.js} +1207 -1221
- package/components/PlayerAccountBalanceModal-659pYyyZ.cjs +7 -0
- package/components/PlayerAccountBalanceModal-DeXm4_c1.js +1415 -0
- package/components/PlayerAccountBalanceModal-XqSJ-1Li.js +1386 -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/CasinoHeaderController-BRa3odIv.cjs +0 -13
- package/components/PlayerAccountBalanceModal-BFDpI9Sy.cjs +0 -13
- package/components/PlayerAccountBalanceModal-CNXuqjqU.js +0 -1539
- package/components/PlayerAccountBalanceModal-DbULiu-f.js +0 -1510
@@ -0,0 +1,1386 @@
|
|
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, v as D, k as N, j as pe, z as U, l as ft, o as pt, w as Ne, p as ht, u as we, y as Be, r as mt, A as je, B as nt, t as gt, J as yt, K as vt, L as bt, c as wt, I as Bt } from "./CasinoHamburgerMenu-CTVc2-UF.js";
|
2
|
+
function We(u, n) {
|
3
|
+
rt(u, n);
|
4
|
+
}
|
5
|
+
function Tt(u) {
|
6
|
+
it.set(u);
|
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(u, n) {
|
215
|
+
(function(a) {
|
216
|
+
var h = a.setTimeout, f = a.clearTimeout, c = a.XMLHttpRequest, v = a.XDomainRequest, p = a.ActiveXObject, B = a.EventSource, _ = a.document, S = a.Promise, C = a.fetch, x = 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 = C;
|
229
|
+
C = 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, E = 0; E < e.length; E += 1) {
|
276
|
+
var b = e[E];
|
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 && (f(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 && (f(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
|
+
}, E = 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
|
+
}), E(), s === 1 || s === 2 || s === 3) {
|
328
|
+
if (s = 4, l !== 0 && (f(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 || E() : o.readyState === 2 && m());
|
340
|
+
}, F = function() {
|
341
|
+
l = h(function() {
|
342
|
+
F();
|
343
|
+
}, 500), o.readyState === 3 && E();
|
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 = E), "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(), E = l.join(": ");
|
390
|
+
t[I(m)] = E;
|
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 E = 0;
|
402
|
+
e.onprogress = function() {
|
403
|
+
var T = e.responseText, F = T.slice(E);
|
404
|
+
E += 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 E = null, b = new Q(), T = b.signal, F = new R();
|
431
|
+
return C(s, {
|
432
|
+
headers: m,
|
433
|
+
credentials: l ? "include" : "same-origin",
|
434
|
+
signal: T,
|
435
|
+
cache: "no-store"
|
436
|
+
}).then(function(y) {
|
437
|
+
return E = y.body.getReader(), t(y.status, y.statusText, y.headers.get("Content-Type"), new oe(y.headers)), new S(function(k, se) {
|
438
|
+
var De = function() {
|
439
|
+
E.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
|
+
E?.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, Ee = 2, Ie = 3, Me = /^text\/event\-stream(;.*)?$/i, He = 1e3, ze = 18e6, Se = function(e, t) {
|
515
|
+
var r = e == null ? t : parseInt(e, 10);
|
516
|
+
return r !== r && (r = t), xe(r);
|
517
|
+
}, xe = 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 = C != null && x != null && "body" in x.prototype;
|
533
|
+
function i(e, t, r) {
|
534
|
+
t = String(t);
|
535
|
+
var o = !!r.withCredentials, s = r.lastEventIdQueryParameterName || "lastEventId", l = xe(1e3), m = Se(r.heartbeatTimeout, 45e3), E = "", 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, Ce = "", 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" ? (Ce += `
|
572
|
+
`, Ce += de) : ce === "id" ? ke = de : ce === "event" ? le = de : ce === "retry" ? (l = Se(de, l), b = l) : ce === "heartbeatTimeout" && (m = Se(de, m), P !== 0 && (f(P), P = h(function() {
|
573
|
+
Le();
|
574
|
+
}, m)));
|
575
|
+
}
|
576
|
+
if (V === ne) {
|
577
|
+
if (Ce !== "") {
|
578
|
+
E = ke, le === "" && (le = "message");
|
579
|
+
var Ae = new me(le, {
|
580
|
+
data: Ce.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
|
+
Ce = "", 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 = Ee) : V === Ee && (V = Ie);
|
591
|
+
}
|
592
|
+
}
|
593
|
+
}, qe = function(j) {
|
594
|
+
if (ee === ge || ee === te) {
|
595
|
+
ee = Re, P !== 0 && (f(P), P = 0), P = h(function() {
|
596
|
+
Le();
|
597
|
+
}, b), b = xe(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 && (f(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, Ce = "", le = "", ke = E, Oe = "", Ve = 0, be = 0, V = ne;
|
618
|
+
var O = t;
|
619
|
+
if (t.slice(0, 5) !== "data:" && t.slice(0, 5) !== "blob:" && E !== "") {
|
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(E);
|
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 && (u.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 St = Ke.exports;
|
654
|
+
function Ct(u) {
|
655
|
+
ut(u, "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(u, n, a) {
|
658
|
+
const h = u.slice();
|
659
|
+
return h[48] = n[a], h;
|
660
|
+
}
|
661
|
+
function Qe(u, n, a) {
|
662
|
+
const h = u.slice();
|
663
|
+
return h[51] = n[a], h;
|
664
|
+
}
|
665
|
+
function At(u) {
|
666
|
+
let n, a = (
|
667
|
+
/*balances*/
|
668
|
+
(u[3].Total ? (
|
669
|
+
/*formatBalance*/
|
670
|
+
u[5](
|
671
|
+
/*balances*/
|
672
|
+
u[3].Total[0].amount
|
673
|
+
)
|
674
|
+
) : "0") + ""
|
675
|
+
), h, f, c, v, p, B, _, S = (
|
676
|
+
/*isModalDisplayed*/
|
677
|
+
u[2] && Ze(u)
|
678
|
+
);
|
679
|
+
return {
|
680
|
+
c() {
|
681
|
+
n = N("button"), h = Be(a), f = 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(), S && S.c(), p = mt(), U(n, "class", "BalanceValue");
|
682
|
+
},
|
683
|
+
m(C, x) {
|
684
|
+
fe(C, n, x), D(n, h), D(n, f), D(n, c), fe(C, v, x), S && S.m(C, x), fe(C, p, x), B || (_ = Ne(
|
685
|
+
n,
|
686
|
+
"click",
|
687
|
+
/*click_handler*/
|
688
|
+
u[23]
|
689
|
+
), B = !0);
|
690
|
+
},
|
691
|
+
p(C, x) {
|
692
|
+
x[0] & /*balances*/
|
693
|
+
8 && a !== (a = /*balances*/
|
694
|
+
(C[3].Total ? (
|
695
|
+
/*formatBalance*/
|
696
|
+
C[5](
|
697
|
+
/*balances*/
|
698
|
+
C[3].Total[0].amount
|
699
|
+
)
|
700
|
+
) : "0") + "") && we(h, a), /*isModalDisplayed*/
|
701
|
+
C[2] ? S ? S.p(C, x) : (S = Ze(C), S.c(), S.m(p.parentNode, p)) : S && (S.d(1), S = null);
|
702
|
+
},
|
703
|
+
d(C) {
|
704
|
+
C && (ue(n), ue(v), ue(p)), S && S.d(C), B = !1, _();
|
705
|
+
}
|
706
|
+
};
|
707
|
+
}
|
708
|
+
function _t(u) {
|
709
|
+
let n, a = (
|
710
|
+
/*$_*/
|
711
|
+
u[4]("Loading") + ""
|
712
|
+
), h;
|
713
|
+
return {
|
714
|
+
c() {
|
715
|
+
n = N("p"), h = Be(a);
|
716
|
+
},
|
717
|
+
m(f, c) {
|
718
|
+
fe(f, n, c), D(n, h);
|
719
|
+
},
|
720
|
+
p(f, c) {
|
721
|
+
c[0] & /*$_*/
|
722
|
+
16 && a !== (a = /*$_*/
|
723
|
+
f[4]("Loading") + "") && we(h, a);
|
724
|
+
},
|
725
|
+
d(f) {
|
726
|
+
f && ue(n);
|
727
|
+
}
|
728
|
+
};
|
729
|
+
}
|
730
|
+
function Ze(u) {
|
731
|
+
let n, a, h, f, c, v, p = (
|
732
|
+
/*$_*/
|
733
|
+
u[4]("Title") + ""
|
734
|
+
), B, _, S, C, x, R, M = (
|
735
|
+
/*$_*/
|
736
|
+
u[4]("DepositButton") + ""
|
737
|
+
), Q, ae, Z, X = je(Object.keys(
|
738
|
+
/*balances*/
|
739
|
+
u[3]
|
740
|
+
)), A = [];
|
741
|
+
for (let w = 0; w < X.length; w += 1)
|
742
|
+
A[w] = et(Je(u, X, w));
|
743
|
+
return {
|
744
|
+
c() {
|
745
|
+
n = N("div"), a = N("button"), h = pe(), f = N("div"), c = N("div"), v = N("p"), B = Be(p), _ = pe(), S = N("div");
|
746
|
+
for (let w = 0; w < A.length; w += 1)
|
747
|
+
A[w].c();
|
748
|
+
C = pe(), x = N("div"), R = N("button"), Q = Be(M), U(a, "class", "BalanceModalClose"), U(v, "class", "BalanceModalTitle"), U(c, "class", "BalanceModalHeader"), U(S, "class", "BalanceModalBody"), U(R, "class", "BalanceModalAction"), U(x, "class", "BalanceModalFooter"), U(f, "class", "BalanceModal"), U(n, "class", "BalanceModalWrapper");
|
749
|
+
},
|
750
|
+
m(w, I) {
|
751
|
+
fe(w, n, I), D(n, a), D(n, h), D(n, f), D(f, c), D(c, v), D(v, B), D(f, _), D(f, S);
|
752
|
+
for (let L = 0; L < A.length; L += 1)
|
753
|
+
A[L] && A[L].m(S, null);
|
754
|
+
D(f, C), D(f, x), D(x, R), D(R, Q), ae || (Z = [
|
755
|
+
Ne(
|
756
|
+
a,
|
757
|
+
"click",
|
758
|
+
/*click_handler_1*/
|
759
|
+
u[24]
|
760
|
+
),
|
761
|
+
Ne(
|
762
|
+
R,
|
763
|
+
"click",
|
764
|
+
/*click_handler_2*/
|
765
|
+
u[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(S, 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(u) {
|
797
|
+
let n, a, h = (
|
798
|
+
/*$_*/
|
799
|
+
u[4](
|
800
|
+
/*k*/
|
801
|
+
u[48]
|
802
|
+
) + ""
|
803
|
+
), f, c, v = (
|
804
|
+
/*b*/
|
805
|
+
(u[51].productType ? (
|
806
|
+
/*$_*/
|
807
|
+
u[4](
|
808
|
+
/*b*/
|
809
|
+
u[51].productType
|
810
|
+
)
|
811
|
+
) : "") + ""
|
812
|
+
), p, B, _, S, C = (
|
813
|
+
/*b*/
|
814
|
+
(u[51].amount ? (
|
815
|
+
/*formatBalance*/
|
816
|
+
u[5](
|
817
|
+
/*b*/
|
818
|
+
u[51].amount
|
819
|
+
)
|
820
|
+
) : "0") + ""
|
821
|
+
), x;
|
822
|
+
return {
|
823
|
+
c() {
|
824
|
+
n = N("div"), a = N("p"), f = Be(h), c = pe(), p = Be(v), B = pe(), _ = N("p"), S = N("span"), x = Be(C), U(a, "class", "BalanceModalText"), U(S, "class", "BalanceModalAmount"), U(_, "class", "BalanceModalValue"), U(n, "class", "BalanceModalRowLine");
|
825
|
+
},
|
826
|
+
m(R, M) {
|
827
|
+
fe(R, n, M), D(n, a), D(a, f), D(a, c), D(a, p), D(n, B), D(n, _), D(_, S), D(S, x);
|
828
|
+
},
|
829
|
+
p(R, M) {
|
830
|
+
M[0] & /*$_, balances*/
|
831
|
+
24 && h !== (h = /*$_*/
|
832
|
+
R[4](
|
833
|
+
/*k*/
|
834
|
+
R[48]
|
835
|
+
) + "") && we(f, h), M[0] & /*balances, $_*/
|
836
|
+
24 && v !== (v = /*b*/
|
837
|
+
(R[51].productType ? (
|
838
|
+
/*$_*/
|
839
|
+
R[4](
|
840
|
+
/*b*/
|
841
|
+
R[51].productType
|
842
|
+
)
|
843
|
+
) : "") + "") && we(p, v), M[0] & /*balances*/
|
844
|
+
8 && C !== (C = /*b*/
|
845
|
+
(R[51].amount ? (
|
846
|
+
/*formatBalance*/
|
847
|
+
R[5](
|
848
|
+
/*b*/
|
849
|
+
R[51].amount
|
850
|
+
)
|
851
|
+
) : "0") + "") && we(x, C);
|
852
|
+
},
|
853
|
+
d(R) {
|
854
|
+
R && ue(n);
|
855
|
+
}
|
856
|
+
};
|
857
|
+
}
|
858
|
+
function et(u) {
|
859
|
+
let n, a, h = je(
|
860
|
+
/*balances*/
|
861
|
+
u[3][
|
862
|
+
/*k*/
|
863
|
+
u[48]
|
864
|
+
]
|
865
|
+
), f = [];
|
866
|
+
for (let c = 0; c < h.length; c += 1)
|
867
|
+
f[c] = $e(Qe(u, h, c));
|
868
|
+
return {
|
869
|
+
c() {
|
870
|
+
n = N("div");
|
871
|
+
for (let c = 0; c < f.length; c += 1)
|
872
|
+
f[c].c();
|
873
|
+
a = pe(), U(n, "class", "BalanceModalRowBoth");
|
874
|
+
},
|
875
|
+
m(c, v) {
|
876
|
+
fe(c, n, v);
|
877
|
+
for (let p = 0; p < f.length; p += 1)
|
878
|
+
f[p] && f[p].m(n, null);
|
879
|
+
D(n, a);
|
880
|
+
},
|
881
|
+
p(c, v) {
|
882
|
+
if (v[0] & /*balances, formatBalance, $_*/
|
883
|
+
56) {
|
884
|
+
h = je(
|
885
|
+
/*balances*/
|
886
|
+
c[3][
|
887
|
+
/*k*/
|
888
|
+
c[48]
|
889
|
+
]
|
890
|
+
);
|
891
|
+
let p;
|
892
|
+
for (p = 0; p < h.length; p += 1) {
|
893
|
+
const B = Qe(c, h, p);
|
894
|
+
f[p] ? f[p].p(B, v) : (f[p] = $e(B), f[p].c(), f[p].m(n, a));
|
895
|
+
}
|
896
|
+
for (; p < f.length; p += 1)
|
897
|
+
f[p].d(1);
|
898
|
+
f.length = h.length;
|
899
|
+
}
|
900
|
+
},
|
901
|
+
d(c) {
|
902
|
+
c && ue(n), nt(f, c);
|
903
|
+
}
|
904
|
+
};
|
905
|
+
}
|
906
|
+
function tt(u) {
|
907
|
+
let n, a, h;
|
908
|
+
return {
|
909
|
+
c() {
|
910
|
+
n = N("button"), U(n, "class", "ShowBalanceModalOverlay");
|
911
|
+
},
|
912
|
+
m(f, c) {
|
913
|
+
fe(f, n, c), a || (h = Ne(
|
914
|
+
n,
|
915
|
+
"click",
|
916
|
+
/*click_handler_3*/
|
917
|
+
u[26]
|
918
|
+
), a = !0);
|
919
|
+
},
|
920
|
+
p: Xe,
|
921
|
+
d(f) {
|
922
|
+
f && ue(n), a = !1, h();
|
923
|
+
}
|
924
|
+
};
|
925
|
+
}
|
926
|
+
function Rt(u) {
|
927
|
+
let n, a, h;
|
928
|
+
function f(B, _) {
|
929
|
+
return (
|
930
|
+
/*isLoading*/
|
931
|
+
B[1] ? _t : At
|
932
|
+
);
|
933
|
+
}
|
934
|
+
let c = f(u), v = c(u), p = (
|
935
|
+
/*isModalDisplayed*/
|
936
|
+
u[2] && tt(u)
|
937
|
+
);
|
938
|
+
return {
|
939
|
+
c() {
|
940
|
+
n = N("div"), a = N("div"), v.c(), h = pe(), p && p.c(), U(a, "class", "ShowBalance");
|
941
|
+
},
|
942
|
+
m(B, _) {
|
943
|
+
fe(B, n, _), D(n, a), v.m(a, null), D(n, h), p && p.m(n, null), u[27](n);
|
944
|
+
},
|
945
|
+
p(B, _) {
|
946
|
+
c === (c = f(B)) && v ? v.p(B, _) : (v.d(1), v = c(B), v && (v.c(), v.m(a, null))), /*isModalDisplayed*/
|
947
|
+
B[2] ? p ? p.p(B, _) : (p = tt(B), p.c(), p.m(n, null)) : p && (p.d(1), p = null);
|
948
|
+
},
|
949
|
+
i: Xe,
|
950
|
+
o: Xe,
|
951
|
+
d(B) {
|
952
|
+
B && ue(n), v.d(), p && p.d(), u[27](null);
|
953
|
+
}
|
954
|
+
};
|
955
|
+
}
|
956
|
+
function Et(u, n, a) {
|
957
|
+
let h;
|
958
|
+
ft(u, Bt, (i) => a(4, h = i));
|
959
|
+
let { userid: f = "" } = n, { session: c = "" } = n, { endpoint: v = "" } = n, { lang: p = "en" } = n, { mbsource: B } = n, { clientstyling: _ = "" } = n, { clientstylingurl: S = "" } = n, { translationurl: C = "" } = n, { gmversion: x = "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;
|
960
|
+
const d = {}, me = ["totalCashAmount", "totalRealAmount"], _e = () => {
|
961
|
+
fetch(C).then((i) => i.json()).then((i) => Object.keys(i).forEach((g) => We(g, i[g]))).catch((i) => console.log(i));
|
962
|
+
};
|
963
|
+
Object.keys(Ye).forEach((i) => We(i, Ye[i]));
|
964
|
+
const Fe = (i) => {
|
965
|
+
if (A)
|
966
|
+
return Re(i);
|
967
|
+
const g = Q || p, e = {
|
968
|
+
style: "currency",
|
969
|
+
currency: re,
|
970
|
+
useGrouping: !0,
|
971
|
+
currencyDisplay: ae || "code",
|
972
|
+
maximumFractionDigits: Z === "" || isNaN(Number(Z)) ? 2 : Number(Z),
|
973
|
+
minimumFractionDigits: X === "" || isNaN(Number(X)) ? 0 : Number(X)
|
974
|
+
};
|
975
|
+
return new Intl.NumberFormat(g, e).format(i);
|
976
|
+
}, Re = (i) => {
|
977
|
+
const g = [];
|
978
|
+
let e = "";
|
979
|
+
for (const t of A)
|
980
|
+
switch (t) {
|
981
|
+
default:
|
982
|
+
e += t;
|
983
|
+
break;
|
984
|
+
case "{":
|
985
|
+
e && g.push(e), e = "";
|
986
|
+
break;
|
987
|
+
case "}":
|
988
|
+
const [r, o] = e.split("|");
|
989
|
+
if (e = "", r.toLowerCase() === "currency")
|
990
|
+
e = re;
|
991
|
+
else if (r.toLowerCase() === "amount") {
|
992
|
+
let s = ",", l = ".", m = 2;
|
993
|
+
o && (o[0] !== " " && (s = o[0]), o[1] !== " " && (l = o[1]), o[2] !== " " && !isNaN(Number(o[2])) && (m = Number(o[2])));
|
994
|
+
let [E, b] = String(Math.floor(i * 10 ** m) / 10 ** m).split(".");
|
995
|
+
e += E[0];
|
996
|
+
for (let T = 1; T < E.length; ++T)
|
997
|
+
(E.length - T) % 3 === 0 ? e += s + E[T] : e += E[T];
|
998
|
+
b && (e += l + b);
|
999
|
+
}
|
1000
|
+
e && g.push(e), e = "";
|
1001
|
+
break;
|
1002
|
+
}
|
1003
|
+
return g.push(e), g.join("");
|
1004
|
+
}, te = async () => {
|
1005
|
+
a(1, I = !0);
|
1006
|
+
const i = new URL(`${v}/v1/player/${f}/account`);
|
1007
|
+
try {
|
1008
|
+
const g = await fetch(i, {
|
1009
|
+
method: "GET",
|
1010
|
+
headers: { "X-SessionID": c }
|
1011
|
+
}), e = await g.json();
|
1012
|
+
if (g.ok)
|
1013
|
+
K = e.items, re = K.find((t) => t.displayName === "Casino")?.currency, a(3, d.Total = [{ amount: e.totalAmount[re] }], d), a(
|
1014
|
+
3,
|
1015
|
+
d.Real = [
|
1016
|
+
{
|
1017
|
+
amount: K.find((t) => t.displayName === "Casino")?.balanceAmount
|
1018
|
+
}
|
1019
|
+
],
|
1020
|
+
d
|
1021
|
+
), a(
|
1022
|
+
3,
|
1023
|
+
d.Bonus = [
|
1024
|
+
{
|
1025
|
+
amount: K.find((t) => t.displayName === "UBS")?.balanceAmount
|
1026
|
+
}
|
1027
|
+
],
|
1028
|
+
d
|
1029
|
+
);
|
1030
|
+
else
|
1031
|
+
throw new Error("Failed to fetch balance data !");
|
1032
|
+
} catch (g) {
|
1033
|
+
console.log("Balance error: ", g);
|
1034
|
+
} finally {
|
1035
|
+
a(1, I = !1);
|
1036
|
+
}
|
1037
|
+
}, ge = () => {
|
1038
|
+
a(1, I = !0);
|
1039
|
+
const i = new URL(`${v}/v2/player/${f}/balance`), g = new Headers();
|
1040
|
+
g.append("X-SessionID", c), fetch(i, { method: "GET", headers: g }).then((t) => t.json()).then((t) => {
|
1041
|
+
t[M] || a(7, M = me[0]);
|
1042
|
+
const r = t.items.find((s) => s.type === "Real" && s.walletAccountType === "Ordinary");
|
1043
|
+
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), !$) {
|
1044
|
+
he = {
|
1045
|
+
lastOrdinaryAfterAmount: 0,
|
1046
|
+
showCreditLineAfterAmount: !1
|
1047
|
+
}, a(3, d.Total[0].amount = t[M][re], d);
|
1048
|
+
for (const s of t.items)
|
1049
|
+
switch (s.type) {
|
1050
|
+
case "Bonus":
|
1051
|
+
d.Bonus.length === 0 ? d.Bonus.push({ amount: s.amount }) : a(3, d.Bonus[0].amount += s.amount, d);
|
1052
|
+
break;
|
1053
|
+
case "Real":
|
1054
|
+
if (s.creditLine && d.Credit.length === 0 && d.Credit.push({ amount: s.creditLine }), M === "totalRealAmount")
|
1055
|
+
continue;
|
1056
|
+
d.Real.length === 0 ? d.Real.push({ amount: s.amount }) : a(3, d.Real[0].amount += s.amount, d);
|
1057
|
+
break;
|
1058
|
+
}
|
1059
|
+
for (const [s, l] of Object.entries(d))
|
1060
|
+
l.length < 1 && delete d[s];
|
1061
|
+
a(1, I = !1);
|
1062
|
+
return;
|
1063
|
+
}
|
1064
|
+
he = {
|
1065
|
+
Casino: {
|
1066
|
+
lastOrdinaryAfterAmount: 0,
|
1067
|
+
showCreditLineAfterAmount: !1
|
1068
|
+
},
|
1069
|
+
Sports: {
|
1070
|
+
lastOrdinaryAfterAmount: 0,
|
1071
|
+
showCreditLineAfterAmount: !1
|
1072
|
+
}
|
1073
|
+
};
|
1074
|
+
let o = t.items;
|
1075
|
+
R && R !== "All" && (o = t.items.filter((s) => s.productType === R));
|
1076
|
+
for (const s of o) {
|
1077
|
+
let l;
|
1078
|
+
switch (s.type) {
|
1079
|
+
case "Bonus":
|
1080
|
+
l = d.Bonus.findIndex((m) => m.productType === s.productType), l > 0 ? a(3, d.Bonus[l].amount += s.amount, d) : d.Bonus.push({
|
1081
|
+
amount: s.amount,
|
1082
|
+
productType: s.productType
|
1083
|
+
});
|
1084
|
+
break;
|
1085
|
+
case "Real":
|
1086
|
+
s.creditLine && d.Credit.push({
|
1087
|
+
amount: s.creditLine,
|
1088
|
+
productType: s.productType
|
1089
|
+
}), l = d.Real.findIndex((m) => m.productType === s.productType), l > 0 ? a(3, d.Real[l].amount += s.amount, d) : d.Real.push({
|
1090
|
+
amount: s.amount,
|
1091
|
+
productType: s.productType
|
1092
|
+
});
|
1093
|
+
break;
|
1094
|
+
}
|
1095
|
+
}
|
1096
|
+
Ee();
|
1097
|
+
for (const [s, l] of Object.entries(d))
|
1098
|
+
l.length < 1 && delete d[s];
|
1099
|
+
a(1, I = !1);
|
1100
|
+
}).catch(() => {
|
1101
|
+
throw a(1, I = !1), new Error("Failed to fetch balance data !");
|
1102
|
+
});
|
1103
|
+
}, ie = () => {
|
1104
|
+
if (oe && oe.close(), c.length < 1)
|
1105
|
+
return;
|
1106
|
+
let i, g;
|
1107
|
+
switch (x) {
|
1108
|
+
case "gm16":
|
1109
|
+
i = new URL(`${v}/v2/player/${f}/information/updates`), g = (r) => Ie(r);
|
1110
|
+
break;
|
1111
|
+
case "gmcore":
|
1112
|
+
i = new URL(`${v}/v1/player/${f}/balance/updates`), g = (r) => ne(r);
|
1113
|
+
break;
|
1114
|
+
}
|
1115
|
+
const e = {
|
1116
|
+
accept: "text/event-stream",
|
1117
|
+
"X-SessionId": c
|
1118
|
+
}, t = new St.EventSourcePolyfill(i, { headers: e });
|
1119
|
+
oe = t, t.addEventListener("message", g);
|
1120
|
+
}, Te = (i) => {
|
1121
|
+
let g;
|
1122
|
+
try {
|
1123
|
+
g = JSON.parse(i);
|
1124
|
+
} catch (e) {
|
1125
|
+
console.log("Balance stream failed: ", e);
|
1126
|
+
return;
|
1127
|
+
}
|
1128
|
+
return g;
|
1129
|
+
}, ne = (i) => {
|
1130
|
+
const g = Te(i.data);
|
1131
|
+
if (!g) {
|
1132
|
+
ie();
|
1133
|
+
return;
|
1134
|
+
}
|
1135
|
+
let e = "0";
|
1136
|
+
const t = g.balanceChange;
|
1137
|
+
K = K.map((r) => (t && t[r.id] && (r = {
|
1138
|
+
...r,
|
1139
|
+
balanceAmount: t[r.id].afterAmount
|
1140
|
+
}), 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);
|
1141
|
+
}, ve = (i, g, e) => {
|
1142
|
+
let t = null;
|
1143
|
+
switch (e.walletAccountType) {
|
1144
|
+
case "Ordinary":
|
1145
|
+
(e.afterAmount !== e.affectedAmount || g.lastOrdinaryAfterAmount === 0) && (g.lastOrdinaryAfterAmount = e.afterAmount, g.showCreditLineAfterAmount || (t = e.afterAmount));
|
1146
|
+
break;
|
1147
|
+
case "CreditLine":
|
1148
|
+
e.afterAmount !== 0 ? (t = e.afterAmount, g.showCreditLineAfterAmount = !0) : (t = g.lastOrdinaryAfterAmount, g.showCreditLineAfterAmount = !1);
|
1149
|
+
break;
|
1150
|
+
default:
|
1151
|
+
t = e.afterAmount;
|
1152
|
+
}
|
1153
|
+
return t === null ? i : t;
|
1154
|
+
}, Ee = () => {
|
1155
|
+
switch (M) {
|
1156
|
+
case "totalCashAmount":
|
1157
|
+
let i = 0;
|
1158
|
+
for (const e of ["Real", "Bonus"])
|
1159
|
+
for (const t of d[e])
|
1160
|
+
i += Math.max(t.amount, 0);
|
1161
|
+
a(3, d.Total[0].amount = i, d);
|
1162
|
+
break;
|
1163
|
+
case "totalRealAmount":
|
1164
|
+
if (!$)
|
1165
|
+
return;
|
1166
|
+
let g = 0;
|
1167
|
+
for (const e of d.Real)
|
1168
|
+
g += e.amount;
|
1169
|
+
a(3, d.Total[0].amount = g, d);
|
1170
|
+
}
|
1171
|
+
}, Ie = (i) => {
|
1172
|
+
const g = Te(i.data);
|
1173
|
+
if (!g) {
|
1174
|
+
ie();
|
1175
|
+
return;
|
1176
|
+
}
|
1177
|
+
if (g.type !== "BALANCE_UPDATE_V2")
|
1178
|
+
return;
|
1179
|
+
const e = g.body.balanceChange;
|
1180
|
+
for (const [t, r] of Object.entries(e))
|
1181
|
+
if (M === "totalRealAmount" && t === "Real" && !$ && a(3, d.Total[0].amount = ve(d.Total[0].amount, he, r), d), !!d[t])
|
1182
|
+
for (const o of d[t]) {
|
1183
|
+
if (!$) {
|
1184
|
+
o.amount = t === "Real" ? ve(o.amount, he, r) : r.afterAmount;
|
1185
|
+
continue;
|
1186
|
+
}
|
1187
|
+
r.productType === o.productType && (o.amount = t === "Real" ? ve(o.amount, he[o.productType], r) : r.afterAmount);
|
1188
|
+
}
|
1189
|
+
Ee();
|
1190
|
+
}, Me = () => {
|
1191
|
+
a(2, L = !1), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
|
1192
|
+
}, He = () => {
|
1193
|
+
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]));
|
1194
|
+
}, ze = () => {
|
1195
|
+
switch (Tt(p), He(), x) {
|
1196
|
+
case "gmcore":
|
1197
|
+
te();
|
1198
|
+
break;
|
1199
|
+
case "gm16":
|
1200
|
+
ge();
|
1201
|
+
break;
|
1202
|
+
default:
|
1203
|
+
throw Error(`Invalid apiversion attribute: ${x}`);
|
1204
|
+
}
|
1205
|
+
}, Se = (i) => i.data && i.data.type === "LogoutSuccessfull" && oe.close();
|
1206
|
+
pt(() => (window.addEventListener("message", Se, !1), () => {
|
1207
|
+
window.removeEventListener("message", Se), oe && oe.close();
|
1208
|
+
}));
|
1209
|
+
const xe = () => a(2, L = !0), ye = () => a(2, L = !1), q = () => Me(), Ue = () => a(2, L = !1);
|
1210
|
+
function Pe(i) {
|
1211
|
+
ht[i ? "unshift" : "push"](() => {
|
1212
|
+
w = i, a(0, w);
|
1213
|
+
});
|
1214
|
+
}
|
1215
|
+
return u.$$set = (i) => {
|
1216
|
+
"userid" in i && a(8, f = 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, S = i.clientstylingurl), "translationurl" in i && a(15, C = i.translationurl), "gmversion" in i && a(16, x = 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);
|
1217
|
+
}, u.$$.update = () => {
|
1218
|
+
u.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
|
1219
|
+
200448 && v && f && c && p && x && R && ze(), u.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
|
1220
|
+
67328 && v && f && c && x && ie(), u.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
1221
|
+
8193 && _ && w && yt(w, _), u.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
1222
|
+
16385 && S && w && vt(w, S), u.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
1223
|
+
4097 && w && bt(w, `${B}.Style`), u.$$.dirty[0] & /*translationurl*/
|
1224
|
+
32768 && C && _e();
|
1225
|
+
}, [
|
1226
|
+
w,
|
1227
|
+
I,
|
1228
|
+
L,
|
1229
|
+
d,
|
1230
|
+
h,
|
1231
|
+
Fe,
|
1232
|
+
Me,
|
1233
|
+
M,
|
1234
|
+
f,
|
1235
|
+
c,
|
1236
|
+
v,
|
1237
|
+
p,
|
1238
|
+
B,
|
1239
|
+
_,
|
1240
|
+
S,
|
1241
|
+
C,
|
1242
|
+
x,
|
1243
|
+
R,
|
1244
|
+
Q,
|
1245
|
+
ae,
|
1246
|
+
Z,
|
1247
|
+
X,
|
1248
|
+
A,
|
1249
|
+
xe,
|
1250
|
+
ye,
|
1251
|
+
q,
|
1252
|
+
Ue,
|
1253
|
+
Pe
|
1254
|
+
];
|
1255
|
+
}
|
1256
|
+
class xt extends lt {
|
1257
|
+
constructor(n) {
|
1258
|
+
super(), ct(
|
1259
|
+
this,
|
1260
|
+
n,
|
1261
|
+
Et,
|
1262
|
+
Rt,
|
1263
|
+
dt,
|
1264
|
+
{
|
1265
|
+
userid: 8,
|
1266
|
+
session: 9,
|
1267
|
+
endpoint: 10,
|
1268
|
+
lang: 11,
|
1269
|
+
mbsource: 12,
|
1270
|
+
clientstyling: 13,
|
1271
|
+
clientstylingurl: 14,
|
1272
|
+
translationurl: 15,
|
1273
|
+
gmversion: 16,
|
1274
|
+
displaybalanceoption: 17,
|
1275
|
+
totalcalculationmode: 7,
|
1276
|
+
currencylocale: 18,
|
1277
|
+
currencydisplay: 19,
|
1278
|
+
maximumfractiondigits: 20,
|
1279
|
+
minimumfractiondigits: 21,
|
1280
|
+
customdisplayformat: 22
|
1281
|
+
},
|
1282
|
+
Ct,
|
1283
|
+
[-1, -1]
|
1284
|
+
);
|
1285
|
+
}
|
1286
|
+
get userid() {
|
1287
|
+
return this.$$.ctx[8];
|
1288
|
+
}
|
1289
|
+
set userid(n) {
|
1290
|
+
this.$$set({ userid: n }), z();
|
1291
|
+
}
|
1292
|
+
get session() {
|
1293
|
+
return this.$$.ctx[9];
|
1294
|
+
}
|
1295
|
+
set session(n) {
|
1296
|
+
this.$$set({ session: n }), z();
|
1297
|
+
}
|
1298
|
+
get endpoint() {
|
1299
|
+
return this.$$.ctx[10];
|
1300
|
+
}
|
1301
|
+
set endpoint(n) {
|
1302
|
+
this.$$set({ endpoint: n }), z();
|
1303
|
+
}
|
1304
|
+
get lang() {
|
1305
|
+
return this.$$.ctx[11];
|
1306
|
+
}
|
1307
|
+
set lang(n) {
|
1308
|
+
this.$$set({ lang: n }), z();
|
1309
|
+
}
|
1310
|
+
get mbsource() {
|
1311
|
+
return this.$$.ctx[12];
|
1312
|
+
}
|
1313
|
+
set mbsource(n) {
|
1314
|
+
this.$$set({ mbsource: n }), z();
|
1315
|
+
}
|
1316
|
+
get clientstyling() {
|
1317
|
+
return this.$$.ctx[13];
|
1318
|
+
}
|
1319
|
+
set clientstyling(n) {
|
1320
|
+
this.$$set({ clientstyling: n }), z();
|
1321
|
+
}
|
1322
|
+
get clientstylingurl() {
|
1323
|
+
return this.$$.ctx[14];
|
1324
|
+
}
|
1325
|
+
set clientstylingurl(n) {
|
1326
|
+
this.$$set({ clientstylingurl: n }), z();
|
1327
|
+
}
|
1328
|
+
get translationurl() {
|
1329
|
+
return this.$$.ctx[15];
|
1330
|
+
}
|
1331
|
+
set translationurl(n) {
|
1332
|
+
this.$$set({ translationurl: n }), z();
|
1333
|
+
}
|
1334
|
+
get gmversion() {
|
1335
|
+
return this.$$.ctx[16];
|
1336
|
+
}
|
1337
|
+
set gmversion(n) {
|
1338
|
+
this.$$set({ gmversion: n }), z();
|
1339
|
+
}
|
1340
|
+
get displaybalanceoption() {
|
1341
|
+
return this.$$.ctx[17];
|
1342
|
+
}
|
1343
|
+
set displaybalanceoption(n) {
|
1344
|
+
this.$$set({ displaybalanceoption: n }), z();
|
1345
|
+
}
|
1346
|
+
get totalcalculationmode() {
|
1347
|
+
return this.$$.ctx[7];
|
1348
|
+
}
|
1349
|
+
set totalcalculationmode(n) {
|
1350
|
+
this.$$set({ totalcalculationmode: n }), z();
|
1351
|
+
}
|
1352
|
+
get currencylocale() {
|
1353
|
+
return this.$$.ctx[18];
|
1354
|
+
}
|
1355
|
+
set currencylocale(n) {
|
1356
|
+
this.$$set({ currencylocale: n }), z();
|
1357
|
+
}
|
1358
|
+
get currencydisplay() {
|
1359
|
+
return this.$$.ctx[19];
|
1360
|
+
}
|
1361
|
+
set currencydisplay(n) {
|
1362
|
+
this.$$set({ currencydisplay: n }), z();
|
1363
|
+
}
|
1364
|
+
get maximumfractiondigits() {
|
1365
|
+
return this.$$.ctx[20];
|
1366
|
+
}
|
1367
|
+
set maximumfractiondigits(n) {
|
1368
|
+
this.$$set({ maximumfractiondigits: n }), z();
|
1369
|
+
}
|
1370
|
+
get minimumfractiondigits() {
|
1371
|
+
return this.$$.ctx[21];
|
1372
|
+
}
|
1373
|
+
set minimumfractiondigits(n) {
|
1374
|
+
this.$$set({ minimumfractiondigits: n }), z();
|
1375
|
+
}
|
1376
|
+
get customdisplayformat() {
|
1377
|
+
return this.$$.ctx[22];
|
1378
|
+
}
|
1379
|
+
set customdisplayformat(n) {
|
1380
|
+
this.$$set({ customdisplayformat: n }), z();
|
1381
|
+
}
|
1382
|
+
}
|
1383
|
+
wt(xt, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
|
1384
|
+
export {
|
1385
|
+
xt as default
|
1386
|
+
};
|