@everymatrix/casino-header-controller-nd 1.89.0 → 1.89.2

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