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

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