@everymatrix/casino-header-controller-nd 1.67.0 → 1.67.1

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