@everymatrix/casino-header-controller-nd 1.59.3 → 1.60.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 (48) hide show
  1. package/components/{CasinoHamburgerMenuNd-CGaimqNk.cjs → CasinoHamburgerMenuNd-8seLiXmp.cjs} +4 -4
  2. package/components/{CasinoHamburgerMenuNd-DK6KQtS-.js → CasinoHamburgerMenuNd-BvmRFsu7.js} +1008 -986
  3. package/components/{CasinoHamburgerMenuNd-BshrCVyP.js → CasinoHamburgerMenuNd-DGN7EsHe.js} +991 -969
  4. package/components/{CasinoHeaderControllerNd-NYb1nRqJ.js → CasinoHeaderControllerNd-BFNcApZN.js} +87 -87
  5. package/components/{CasinoHeaderControllerNd-C2hHZqHm.js → CasinoHeaderControllerNd-BiFbUVqa.js} +89 -89
  6. package/components/{CasinoHeaderControllerNd-CvzMVKfC.cjs → CasinoHeaderControllerNd-Dv_YsxzV.cjs} +1 -1
  7. package/components/PlayerAccountBalanceModalNd-Ci4zwRQC.cjs +13 -0
  8. package/components/PlayerAccountBalanceModalNd-G0n55uX9.js +1556 -0
  9. package/components/PlayerAccountBalanceModalNd-fSik9FVK.js +1585 -0
  10. package/components/PlayerDeposit-65gknfff.cjs +1 -0
  11. package/components/{PlayerDeposit-DMRRnefl.js → PlayerDeposit-BM6DeC_i.js} +77 -77
  12. package/components/{PlayerDeposit-xgvd9YrS.js → PlayerDeposit-N91yAMpx.js} +77 -77
  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/package.json +1 -1
  17. package/stencil/{gamification-dropdown-7bHznlgt.js → gamification-dropdown-6r4DRL-E.js} +1 -1
  18. package/stencil/{gamification-dropdown-8eb8a896-B8CcqKs3.cjs → gamification-dropdown-8eb8a896-cKQI7KOv.cjs} +1 -1
  19. package/stencil/{gamification-dropdown-8eb8a896-CNDebAQo.js → gamification-dropdown-8eb8a896-txnj_mSw.js} +1 -1
  20. package/stencil/{gamification-dropdown-8eb8a896-B5TUPoPs.js → gamification-dropdown-8eb8a896-u5btxGNb.js} +1 -1
  21. package/stencil/{gamification-dropdown-DXlyb6GA.js → gamification-dropdown-CWOvB2lY.js} +1 -1
  22. package/stencil/{gamification-dropdown-Bg0tW7ha.cjs → gamification-dropdown-Ca1v81Ot.cjs} +1 -1
  23. package/stencil/{gamification-dropdown_4-C304wJye.js → gamification-dropdown_4-C3TSeQG8.js} +4 -4
  24. package/stencil/gamification-dropdown_4-CO7vZzDH.cjs +192 -0
  25. package/stencil/{gamification-dropdown_4-BskNa0nU.js → gamification-dropdown_4-DtHO1RaT.js} +4 -4
  26. package/stencil/{index-71b1bdfa-BNR9dJmZ.js → index-71b1bdfa-28u_D-DT.js} +268 -264
  27. package/stencil/index-71b1bdfa-CLy6cikP.js +757 -0
  28. package/stencil/index-71b1bdfa-CpwYbS6b.cjs +1 -0
  29. package/stencil/{player-elevate-card-D_EV-YVW.js → player-elevate-card-B002wYul.js} +2 -2
  30. package/stencil/{player-elevate-card-WtXwQ6BK.js → player-elevate-card-DtTuAooa.js} +2 -2
  31. package/stencil/{player-elevate-card-Da18eACv.cjs → player-elevate-card-NVJ1tyn-.cjs} +1 -1
  32. package/stencil/{player-elevate-card-items-66be34fb-C8y5xd3m.js → player-elevate-card-items-66be34fb-C3fGBNsZ.js} +13 -11
  33. package/stencil/player-elevate-card-items-66be34fb-CFw6-30L.cjs +1 -0
  34. package/stencil/{player-elevate-card-items-66be34fb-Bl4Mdtm2.js → player-elevate-card-items-66be34fb-DIaZKUPZ.js} +13 -11
  35. package/stencil/{player-elevate-pointcard-Akuofz_v.cjs → player-elevate-pointcard-Ci6rphS3.cjs} +1 -1
  36. package/stencil/{player-elevate-pointcard-DEGlZBo6.js → player-elevate-pointcard-DZEaqOhV.js} +2 -2
  37. package/stencil/{player-elevate-pointcard-DGdQLOFe.js → player-elevate-pointcard-DpnCGgi8.js} +2 -2
  38. package/stencil/{player-rakeback-card-CHzbUYFI.js → player-rakeback-card-BpL3lkfi.js} +1 -1
  39. package/stencil/{player-rakeback-card-CNHOtnA1.cjs → player-rakeback-card-DBtdbjzD.cjs} +1 -1
  40. package/stencil/{player-rakeback-card-CMKK-24q.js → player-rakeback-card-DQhoczwz.js} +1 -1
  41. package/components/PlayerAccountBalanceModalNd-DcRl2xkd.cjs +0 -13
  42. package/components/PlayerAccountBalanceModalNd-YKJJwJqr.js +0 -1556
  43. package/components/PlayerAccountBalanceModalNd-kUtqhTUg.js +0 -1585
  44. package/components/PlayerDeposit-CDHK42Bg.cjs +0 -1
  45. package/stencil/gamification-dropdown_4-Blt8-SSN.cjs +0 -192
  46. package/stencil/index-71b1bdfa-BcIWqICi.js +0 -753
  47. package/stencil/index-71b1bdfa-DJwBo2rv.cjs +0 -1
  48. package/stencil/player-elevate-card-items-66be34fb-DARKYMdQ.cjs +0 -1
@@ -0,0 +1,1556 @@
1
+ import { b as dt, $ as ut, O as ft, S as pt, i as ht, f as J, c as mt, s as gt, d as yt, g as H, h as re, j as _, l as ye, m as T, F as We, r as ve, v as vt, w as wt, x as bt, y as Bt, n as je, H as Tt, I as St, D as me, B as Qe, z as Ct, E as ge, A as He, C as it, K as _t, M as At } from "./CasinoHamburgerMenuNd-DGN7EsHe.js";
2
+ function Ze(r, e) {
3
+ dt(r, e);
4
+ }
5
+ function Rt(r) {
6
+ ut.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 qe = { 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(n) {
216
+ var s = n.setTimeout, u = n.clearTimeout, c = n.XMLHttpRequest, h = n.XDomainRequest, f = n.ActiveXObject, g = n.EventSource, y = n.document, R = n.Promise, O = n.fetch, L = n.Response, k = n.TextDecoder, I = n.TextEncoder, E = n.AbortController;
217
+ if (typeof window < "u" && typeof y < "u" && !("readyState" in y) && y.body == null && (y.readyState = "loading", window.addEventListener("load", function(a) {
218
+ y.readyState = "complete";
219
+ }, !1)), c == null && f != null && (c = function() {
220
+ return new f("Microsoft.XMLHTTP");
221
+ }), Object.create == null && (Object.create = function(a) {
222
+ function t() {
223
+ }
224
+ return t.prototype = a, new t();
225
+ }), Date.now || (Date.now = function() {
226
+ return (/* @__PURE__ */ new Date()).getTime();
227
+ }), E == null) {
228
+ var B = O;
229
+ O = function(a, t) {
230
+ var i = t.signal;
231
+ return B(a, { headers: t.headers, credentials: t.credentials, cache: t.cache }).then(function(o) {
232
+ var l = o.body.getReader();
233
+ return i._reader = l, i._aborted && i._reader.cancel(), {
234
+ status: o.status,
235
+ statusText: o.statusText,
236
+ headers: o.headers,
237
+ body: {
238
+ getReader: function() {
239
+ return l;
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 S() {
254
+ this.bitsNeeded = 0, this.codePoint = 0;
255
+ }
256
+ S.prototype.decode = function(a) {
257
+ function t(C, M, b) {
258
+ if (b === 1)
259
+ return C >= 128 >> M && C << M <= 2047;
260
+ if (b === 2)
261
+ return C >= 2048 >> M && C << M <= 55295 || C >= 57344 >> M && C << M <= 65535;
262
+ if (b === 3)
263
+ return C >= 65536 >> M && C << M <= 1114111;
264
+ throw new Error();
265
+ }
266
+ function i(C, M) {
267
+ if (C === 6 * 1)
268
+ return M >> 6 > 15 ? 3 : M > 31 ? 2 : 1;
269
+ if (C === 6 * 2)
270
+ return M > 15 ? 3 : 2;
271
+ if (C === 6 * 3)
272
+ return 3;
273
+ throw new Error();
274
+ }
275
+ for (var o = 65533, l = "", d = this.bitsNeeded, v = this.codePoint, m = 0; m < a.length; m += 1) {
276
+ var w = a[m];
277
+ d !== 0 && (w < 128 || w > 191 || !t(v << 6 | w & 63, d - 6, i(d, v))) && (d = 0, v = o, l += String.fromCharCode(v)), d === 0 ? (w >= 0 && w <= 127 ? (d = 0, v = w) : w >= 192 && w <= 223 ? (d = 6 * 1, v = w & 31) : w >= 224 && w <= 239 ? (d = 6 * 2, v = w & 15) : w >= 240 && w <= 247 ? (d = 6 * 3, v = w & 7) : (d = 0, v = o), d !== 0 && !t(v, d, i(d, v)) && (d = 0, v = o)) : (d -= 6, v = v << 6 | w & 63), d === 0 && (v <= 65535 ? l += String.fromCharCode(v) : (l += String.fromCharCode(55296 + (v - 65535 - 1 >> 10)), l += String.fromCharCode(56320 + (v - 65535 - 1 & 1023))));
278
+ }
279
+ return this.bitsNeeded = d, this.codePoint = v, l;
280
+ };
281
+ var z = function() {
282
+ try {
283
+ return new k().decode(new I().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 || I == null || !z()) && (k = S);
290
+ var F = function() {
291
+ };
292
+ function V(a) {
293
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = F, this.onload = F, this.onerror = F, this.onreadystatechange = F, this._contentType = "", this._xhr = a, this._sendTimeout = 0, this._abort = F;
294
+ }
295
+ V.prototype.open = function(a, t) {
296
+ this._abort(!0);
297
+ var i = this, o = this._xhr, l = 1, d = 0;
298
+ this._abort = function(b) {
299
+ i._sendTimeout !== 0 && (u(i._sendTimeout), i._sendTimeout = 0), (l === 1 || l === 2 || l === 3) && (l = 4, o.onload = F, o.onerror = F, o.onabort = F, o.onprogress = F, o.onreadystatechange = F, o.abort(), d !== 0 && (u(d), d = 0), b || (i.readyState = 4, i.onabort(null), i.onreadystatechange())), l = 0;
300
+ };
301
+ var v = function() {
302
+ if (l === 1) {
303
+ var b = 0, N = "", ue = void 0;
304
+ if ("contentType" in o)
305
+ b = 200, N = "OK", ue = o.contentType;
306
+ else
307
+ try {
308
+ b = o.status, N = o.statusText, ue = o.getResponseHeader("Content-Type");
309
+ } catch {
310
+ b = 0, N = "", ue = void 0;
311
+ }
312
+ b !== 0 && (l = 2, i.readyState = 2, i.status = b, i.statusText = N, i._contentType = ue, i.onreadystatechange());
313
+ }
314
+ }, m = function() {
315
+ if (v(), l === 2 || l === 3) {
316
+ l = 3;
317
+ var b = "";
318
+ try {
319
+ b = o.responseText;
320
+ } catch {
321
+ }
322
+ i.readyState = 3, i.responseText = b, i.onprogress();
323
+ }
324
+ }, w = function(b, N) {
325
+ if ((N == null || N.preventDefault == null) && (N = {
326
+ preventDefault: F
327
+ }), m(), l === 1 || l === 2 || l === 3) {
328
+ if (l = 4, d !== 0 && (u(d), d = 0), i.readyState = 4, b === "load")
329
+ i.onload(N);
330
+ else if (b === "error")
331
+ i.onerror(N);
332
+ else if (b === "abort")
333
+ i.onabort(N);
334
+ else
335
+ throw new TypeError();
336
+ i.onreadystatechange();
337
+ }
338
+ }, C = function(b) {
339
+ o != null && (o.readyState === 4 ? (!("onload" in o) || !("onerror" in o) || !("onabort" in o)) && w(o.responseText === "" ? "error" : "load", b) : o.readyState === 3 ? "onprogress" in o || m() : o.readyState === 2 && v());
340
+ }, M = function() {
341
+ d = s(function() {
342
+ M();
343
+ }, 500), o.readyState === 3 && m();
344
+ };
345
+ "onload" in o && (o.onload = function(b) {
346
+ w("load", b);
347
+ }), "onerror" in o && (o.onerror = function(b) {
348
+ w("error", b);
349
+ }), "onabort" in o && (o.onabort = function(b) {
350
+ w("abort", b);
351
+ }), "onprogress" in o && (o.onprogress = m), "onreadystatechange" in o && (o.onreadystatechange = function(b) {
352
+ C(b);
353
+ }), ("contentType" in o || !("ontimeout" in c.prototype)) && (t += (t.indexOf("?") === -1 ? "?" : "&") + "padding=true"), o.open(a, t, !0), "readyState" in o && (d = s(function() {
354
+ M();
355
+ }, 0));
356
+ }, V.prototype.abort = function() {
357
+ this._abort(!1);
358
+ }, V.prototype.getResponseHeader = function(a) {
359
+ return this._contentType;
360
+ }, V.prototype.setRequestHeader = function(a, t) {
361
+ var i = this._xhr;
362
+ "setRequestHeader" in i && i.setRequestHeader(a, t);
363
+ }, V.prototype.getAllResponseHeaders = function() {
364
+ return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
365
+ }, V.prototype.send = function() {
366
+ if ((!("ontimeout" in c.prototype) || !("sendAsBinary" in c.prototype) && !("mozAnon" in c.prototype)) && y != null && y.readyState != null && y.readyState !== "complete") {
367
+ var a = this;
368
+ a._sendTimeout = s(function() {
369
+ a._sendTimeout = 0, a.send();
370
+ }, 4);
371
+ return;
372
+ }
373
+ var t = this._xhr;
374
+ "withCredentials" in t && (t.withCredentials = this.withCredentials);
375
+ try {
376
+ t.send(void 0);
377
+ } catch (i) {
378
+ throw i;
379
+ }
380
+ };
381
+ function ie(a) {
382
+ return a.replace(/[A-Z]/g, function(t) {
383
+ return String.fromCharCode(t.charCodeAt(0) + 32);
384
+ });
385
+ }
386
+ function se(a) {
387
+ for (var t = /* @__PURE__ */ Object.create(null), i = a.split(`\r
388
+ `), o = 0; o < i.length; o += 1) {
389
+ var l = i[o], d = l.split(": "), v = d.shift(), m = d.join(": ");
390
+ t[ie(v)] = m;
391
+ }
392
+ this._map = t;
393
+ }
394
+ se.prototype.get = function(a) {
395
+ return this._map[ie(a)];
396
+ }, c != null && c.HEADERS_RECEIVED == null && (c.HEADERS_RECEIVED = 2);
397
+ function G() {
398
+ }
399
+ G.prototype.open = function(a, t, i, o, l, d, v) {
400
+ a.open("GET", l);
401
+ var m = 0;
402
+ a.onprogress = function() {
403
+ var C = a.responseText, M = C.slice(m);
404
+ m += M.length, i(M);
405
+ }, a.onerror = function(C) {
406
+ C.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 C = a.status, M = a.statusText, b = a.getResponseHeader("Content-Type"), N = a.getAllResponseHeaders();
414
+ t(C, M, b, new se(N));
415
+ }
416
+ }, a.withCredentials = d;
417
+ for (var w in v)
418
+ Object.prototype.hasOwnProperty.call(v, w) && a.setRequestHeader(w, v[w]);
419
+ return a.send(), a;
420
+ };
421
+ function j(a) {
422
+ this._headers = a;
423
+ }
424
+ j.prototype.get = function(a) {
425
+ return this._headers.get(a);
426
+ };
427
+ function A() {
428
+ }
429
+ A.prototype.open = function(a, t, i, o, l, d, v) {
430
+ var m = null, w = new E(), C = w.signal, M = new k();
431
+ return O(l, {
432
+ headers: v,
433
+ credentials: d ? "include" : "same-origin",
434
+ signal: C,
435
+ cache: "no-store"
436
+ }).then(function(b) {
437
+ return m = b.body.getReader(), t(b.status, b.statusText, b.headers.get("Content-Type"), new j(b.headers)), new R(function(N, ue) {
438
+ var xe = function() {
439
+ m.read().then(function(Z) {
440
+ if (Z.done)
441
+ N(void 0);
442
+ else {
443
+ var W = M.decode(Z.value, { stream: !0 });
444
+ i(W), xe();
445
+ }
446
+ }).catch(function(Z) {
447
+ ue(Z);
448
+ });
449
+ };
450
+ xe();
451
+ });
452
+ }).catch(function(b) {
453
+ if (b.name !== "AbortError")
454
+ return b;
455
+ }).then(function(b) {
456
+ o(b);
457
+ }), {
458
+ abort: function() {
459
+ m?.cancel(), w.abort();
460
+ }
461
+ };
462
+ };
463
+ function D() {
464
+ this._listeners = /* @__PURE__ */ Object.create(null);
465
+ }
466
+ function x(a) {
467
+ s(function() {
468
+ throw a;
469
+ }, 0);
470
+ }
471
+ D.prototype.dispatchEvent = function(a) {
472
+ a.target = this;
473
+ var t = this._listeners[a.type];
474
+ if (t != null)
475
+ for (var i = t.length, o = 0; o < i; o += 1) {
476
+ var l = t[o];
477
+ try {
478
+ typeof l.handleEvent == "function" ? l.handleEvent(a) : l.call(this, a);
479
+ } catch (d) {
480
+ x(d);
481
+ }
482
+ }
483
+ }, D.prototype.addEventListener = function(a, t) {
484
+ a = String(a);
485
+ var i = this._listeners, o = i[a];
486
+ o == null && (o = [], i[a] = o);
487
+ for (var l = !1, d = 0; d < o.length; d += 1)
488
+ o[d] === t && (l = !0);
489
+ l || o.push(t);
490
+ }, D.prototype.removeEventListener = function(a, t) {
491
+ a = String(a);
492
+ var i = this._listeners, o = i[a];
493
+ if (o != null) {
494
+ for (var l = [], d = 0; d < o.length; d += 1)
495
+ o[d] !== t && l.push(o[d]);
496
+ l.length === 0 ? delete i[a] : i[a] = l;
497
+ }
498
+ };
499
+ function K(a) {
500
+ this.type = a, this.target = void 0;
501
+ }
502
+ function p(a, t) {
503
+ K.call(this, a), this.data = t.data, this.lastEventId = t.lastEventId;
504
+ }
505
+ p.prototype = Object.create(K.prototype);
506
+ function le(a, t) {
507
+ K.call(this, a), this.status = t.status, this.statusText = t.statusText, this.headers = t.headers;
508
+ }
509
+ le.prototype = Object.create(K.prototype);
510
+ function De(a, t) {
511
+ K.call(this, a), this.error = t.error;
512
+ }
513
+ De.prototype = Object.create(K.prototype);
514
+ var ce = -1, ne = 0, we = 1, be = 2, _e = -1, te = 0, Te = 1, Oe = 2, Ae = 3, Le = /^text\/event\-stream(;.*)?$/i, ze = 1e3, ke = 18e6, Re = function(a, t) {
515
+ var i = a == null ? t : parseInt(a, 10);
516
+ return i !== i && (i = t), Ee(i);
517
+ }, Ee = function(a) {
518
+ return Math.min(Math.max(a, ze), ke);
519
+ }, de = function(a, t, i) {
520
+ try {
521
+ typeof t == "function" && t.call(a, i);
522
+ } catch (o) {
523
+ x(o);
524
+ }
525
+ };
526
+ function Q(a, t) {
527
+ D.call(this), t = t || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Xe(this, a, t);
528
+ }
529
+ function Ue() {
530
+ return c != null && "withCredentials" in c.prototype || h == null ? new c() : new h();
531
+ }
532
+ var Pe = O != null && L != null && "body" in L.prototype;
533
+ function Xe(a, t, i) {
534
+ t = String(t);
535
+ var o = !!i.withCredentials, l = i.lastEventIdQueryParameterName || "lastEventId", d = Ee(1e3), v = Re(i.heartbeatTimeout, 45e3), m = "", w = d, C = !1, M = 0, b = i.headers || {}, N = i.Transport, ue = Pe && N == null ? void 0 : new V(N != null ? new N() : Ue()), xe = N != null && typeof N != "string" ? new N() : ue == null ? new A() : new G(), Z = void 0, W = 0, ae = ce, Se = "", Ie = "", fe = "", Ne = "", q = te, Ge = 0, Be = 0, lt = function(P, U, $, ee) {
536
+ if (ae === ne)
537
+ if (P === 200 && $ != null && Le.test($)) {
538
+ ae = we, C = Date.now(), w = d, a.readyState = we;
539
+ var Y = new le("open", {
540
+ status: P,
541
+ statusText: U,
542
+ headers: ee
543
+ });
544
+ a.dispatchEvent(Y), de(a, a.onopen, Y);
545
+ } else {
546
+ var X = "";
547
+ P !== 200 ? (U && (U = U.replace(/\s+/g, " ")), X = "EventSource's response has a status " + P + " " + U + " that is not 200. Aborting the connection.") : X = "EventSource's response has a Content-Type specifying an unsupported type: " + ($ == null ? "-" : $.replace(/\s+/g, " ")) + ". Aborting the connection.", Ke();
548
+ var Y = new le("error", {
549
+ status: P,
550
+ statusText: U,
551
+ headers: ee
552
+ });
553
+ a.dispatchEvent(Y), de(a, a.onerror, Y), console.error(X);
554
+ }
555
+ }, ct = function(P) {
556
+ if (ae === we) {
557
+ for (var U = -1, $ = 0; $ < P.length; $ += 1) {
558
+ var ee = P.charCodeAt($);
559
+ (ee === 10 || ee === 13) && (U = $);
560
+ }
561
+ var Y = (U !== -1 ? Ne : "") + P.slice(0, U + 1);
562
+ Ne = (U === -1 ? Ne : "") + P.slice(U + 1), P !== "" && (C = Date.now(), M += P.length);
563
+ for (var X = 0; X < Y.length; X += 1) {
564
+ var ee = Y.charCodeAt(X);
565
+ if (q === _e && ee === 10)
566
+ q = te;
567
+ else if (q === _e && (q = te), ee === 13 || ee === 10) {
568
+ if (q !== te) {
569
+ q === Te && (Be = X + 1);
570
+ var pe = Y.slice(Ge, Be - 1), he = Y.slice(Be + (Be < X && Y.charCodeAt(Be) === 32 ? 1 : 0), X);
571
+ pe === "data" ? (Se += `
572
+ `, Se += he) : pe === "id" ? Ie = he : pe === "event" ? fe = he : pe === "retry" ? (d = Re(he, d), w = d) : pe === "heartbeatTimeout" && (v = Re(he, v), W !== 0 && (u(W), W = s(function() {
573
+ Me();
574
+ }, v)));
575
+ }
576
+ if (q === te) {
577
+ if (Se !== "") {
578
+ m = Ie, fe === "" && (fe = "message");
579
+ var Ce = new p(fe, {
580
+ data: Se.slice(1),
581
+ lastEventId: Ie
582
+ });
583
+ if (a.dispatchEvent(Ce), fe === "open" ? de(a, a.onopen, Ce) : fe === "message" ? de(a, a.onmessage, Ce) : fe === "error" && de(a, a.onerror, Ce), ae === be)
584
+ return;
585
+ }
586
+ Se = "", fe = "";
587
+ }
588
+ q = ee === 13 ? _e : te;
589
+ } else
590
+ q === te && (Ge = X, q = Te), q === Te ? ee === 58 && (Be = X + 1, q = Oe) : q === Oe && (q = Ae);
591
+ }
592
+ }
593
+ }, Je = function(P) {
594
+ if (ae === we || ae === ne) {
595
+ ae = ce, W !== 0 && (u(W), W = 0), W = s(function() {
596
+ Me();
597
+ }, w), w = Ee(Math.min(d * 16, w * 2)), a.readyState = ne;
598
+ var U = new De("error", { error: P });
599
+ a.dispatchEvent(U), de(a, a.onerror, U), P != null && console.error(P);
600
+ }
601
+ }, Ke = function() {
602
+ ae = be, Z != null && (Z.abort(), Z = void 0), W !== 0 && (u(W), W = 0), a.readyState = be;
603
+ }, Me = function() {
604
+ if (W = 0, ae !== ce) {
605
+ if (!C && Z != null)
606
+ Je(new Error("No activity within " + v + " milliseconds. " + (ae === ne ? "No response received." : M + " chars received.") + " Reconnecting.")), Z != null && (Z.abort(), Z = void 0);
607
+ else {
608
+ var P = Math.max((C || Date.now()) + v - Date.now(), 1);
609
+ C = !1, W = s(function() {
610
+ Me();
611
+ }, P);
612
+ }
613
+ return;
614
+ }
615
+ C = !1, M = 0, W = s(function() {
616
+ Me();
617
+ }, v), ae = ne, Se = "", fe = "", Ie = m, Ne = "", Ge = 0, Be = 0, q = te;
618
+ var U = t;
619
+ if (t.slice(0, 5) !== "data:" && t.slice(0, 5) !== "blob:" && m !== "") {
620
+ var $ = t.indexOf("?");
621
+ U = $ === -1 ? t : t.slice(0, $ + 1) + t.slice($ + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(he, Ce) {
622
+ return Ce === l ? "" : he;
623
+ }), U += (t.indexOf("?") === -1 ? "?" : "&") + l + "=" + encodeURIComponent(m);
624
+ }
625
+ var ee = a.withCredentials, Y = {};
626
+ Y.Accept = "text/event-stream";
627
+ var X = a.headers;
628
+ if (X != null)
629
+ for (var pe in X)
630
+ Object.prototype.hasOwnProperty.call(X, pe) && (Y[pe] = X[pe]);
631
+ try {
632
+ Z = xe.open(ue, lt, ct, Je, U, ee, Y);
633
+ } catch (he) {
634
+ throw Ke(), he;
635
+ }
636
+ };
637
+ a.url = t, a.readyState = ne, a.withCredentials = o, a.headers = b, a._close = Ke, Me();
638
+ }
639
+ Q.prototype = Object.create(D.prototype), Q.prototype.CONNECTING = ne, Q.prototype.OPEN = we, Q.prototype.CLOSED = be, Q.prototype.close = function() {
640
+ this._close();
641
+ }, Q.CONNECTING = ne, Q.OPEN = we, Q.CLOSED = be, Q.prototype.withCredentials = void 0;
642
+ var Fe = g;
643
+ c != null && (g == null || !("withCredentials" in g.prototype)) && (Fe = Q), function(a) {
644
+ {
645
+ var t = a(e);
646
+ t !== void 0 && (r.exports = t);
647
+ }
648
+ }(function(a) {
649
+ a.EventSourcePolyfill = Q, a.NativeEventSource = g, a.EventSource = Fe;
650
+ });
651
+ })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : ft : globalThis);
652
+ })(qe, qe.exports);
653
+ var Et = qe.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 xt = {
662
+ symbol: "$",
663
+ separator: ",",
664
+ decimal: ".",
665
+ errorOnInvalid: !1,
666
+ precision: 2,
667
+ pattern: "!#",
668
+ negativePattern: "-!#",
669
+ format: Lt,
670
+ fromCents: !1
671
+ }, st = function(e) {
672
+ return Math.round(e);
673
+ }, Ye = function(e) {
674
+ return Math.pow(10, e);
675
+ }, Mt = function(e, n) {
676
+ return st(e / n) * n;
677
+ }, Dt = /(\d)(?=(\d{3})+\b)/g, Ot = /(\d)(?=(\d\d)+\d\b)/g;
678
+ function oe(r, e) {
679
+ var n = this;
680
+ if (!(n instanceof oe))
681
+ return new oe(r, e);
682
+ var s = Object.assign({}, xt, e), u = Ye(s.precision), c = Ve(r, s);
683
+ n.intValue = c, n.value = c / u, s.increment = s.increment || 1 / u, s.useVedic ? s.groups = Ot : s.groups = Dt, this.s = s, this.p = u;
684
+ }
685
+ function Ve(r, e) {
686
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, s = 0, u = e.decimal, c = e.errorOnInvalid, h = e.precision, f = e.fromCents, g = Ye(h), y = typeof r == "number", R = r instanceof oe;
687
+ if (R && f)
688
+ return r.intValue;
689
+ if (y || R)
690
+ s = R ? r.value : r;
691
+ else if (typeof r == "string") {
692
+ var O = new RegExp("[^-\\d" + u + "]", "g"), L = new RegExp("\\" + u, "g");
693
+ s = r.replace(/\((.*)\)/, "-$1").replace(O, "").replace(L, "."), s = s || 0;
694
+ } else {
695
+ if (c)
696
+ throw Error("Invalid Input");
697
+ s = 0;
698
+ }
699
+ return f || (s *= g, s = s.toFixed(4)), n ? st(s) : s;
700
+ }
701
+ function Lt(r, e) {
702
+ var n = e.pattern, s = e.negativePattern, u = e.symbol, c = e.separator, h = e.decimal, f = e.groups, g = ("" + r).replace(/^-/, "").split("."), y = g[0], R = g[1];
703
+ return (r.value >= 0 ? n : s).replace("!", u).replace("#", y.replace(f, "$1" + c) + (R ? h + R : ""));
704
+ }
705
+ oe.prototype = {
706
+ /**
707
+ * Adds values together.
708
+ * @param {number} number
709
+ * @returns {currency}
710
+ */
711
+ add: function(e) {
712
+ var n = this.intValue, s = this.s, u = this.p;
713
+ return oe((n += Ve(e, s)) / (s.fromCents ? 1 : u), s);
714
+ },
715
+ /**
716
+ * Subtracts value.
717
+ * @param {number} number
718
+ * @returns {currency}
719
+ */
720
+ subtract: function(e) {
721
+ var n = this.intValue, s = this.s, u = this.p;
722
+ return oe((n -= Ve(e, s)) / (s.fromCents ? 1 : u), s);
723
+ },
724
+ /**
725
+ * Multiplies values.
726
+ * @param {number} number
727
+ * @returns {currency}
728
+ */
729
+ multiply: function(e) {
730
+ var n = this.intValue, s = this.s;
731
+ return oe((n *= e) / (s.fromCents ? 1 : Ye(s.precision)), s);
732
+ },
733
+ /**
734
+ * Divides value.
735
+ * @param {number} number
736
+ * @returns {currency}
737
+ */
738
+ divide: function(e) {
739
+ var n = this.intValue, s = this.s;
740
+ return oe(n /= Ve(e, s, !1), s);
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 n = this.intValue, s = this.p, u = this.s, c = [], h = Math[n >= 0 ? "floor" : "ceil"](n / e), f = Math.abs(n - h * e), g = u.fromCents ? 1 : s; e !== 0; e--) {
750
+ var y = oe(h / g, u);
751
+ f-- > 0 && (y = y[n >= 0 ? "add" : "subtract"](1 / g)), c.push(y);
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, n = this.p;
768
+ return ~~(e % n);
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 n = this.s;
777
+ return typeof e == "function" ? e(this, n) : n.format(this, Object.assign({}, n, 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, n = this.p, s = this.s;
785
+ return Mt(e / n, s.increment).toFixed(s.precision);
786
+ },
787
+ /**
788
+ * Value for JSON serialization.
789
+ * @returns {float}
790
+ */
791
+ toJSON: function() {
792
+ return this.value;
793
+ }
794
+ };
795
+ function kt(r) {
796
+ yt(r, "svelte-1tsugyl", '*,*::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;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, #D0046C));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;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, n) {
799
+ const s = r.slice();
800
+ return s[50] = e[n], s;
801
+ }
802
+ function tt(r, e, n) {
803
+ const s = r.slice();
804
+ return s[53] = e[n], s;
805
+ }
806
+ function Ft(r) {
807
+ let e, n, s = (
808
+ /*balances*/
809
+ (r[1].Total ? (
810
+ /*formatBalance*/
811
+ r[8](
812
+ /*balances*/
813
+ r[1].Total[0].amount
814
+ )
815
+ ) : "0") + ""
816
+ ), u, c, h, f, g, y, R, O, L, k, I, E, B = (
817
+ /*showBalance*/
818
+ r[4] && nt(r)
819
+ );
820
+ return {
821
+ c() {
822
+ e = H("div"), n = H("p"), u = me(s), c = re(), h = me(
823
+ /*currency*/
824
+ r[5]
825
+ ), f = re(), g = H("span"), y = Qe("svg"), R = Qe("path"), L = re(), B && B.c(), k = Ct(), _(R, "id", "arrow"), _(R, "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, "transform", "translate(-274.511 -441.088)"), _(R, "fill", "#d1d1d1"), _(y, "xmlns", "http://www.w3.org/2000/svg"), _(y, "width", "14"), _(y, "height", "6.835"), _(y, "viewBox", "0 0 14 6.835"), _(g, "class", O = /*modalOpened*/
826
+ r[3] ? "TriangleActive" : "TriangleInactive"), _(e, "class", "BalanceValue");
827
+ },
828
+ m(S, z) {
829
+ ye(S, e, z), T(e, n), T(n, u), T(n, c), T(n, h), T(e, f), T(e, g), T(g, y), T(y, R), ye(S, L, z), B && B.m(S, z), ye(S, k, z), I || (E = je(
830
+ e,
831
+ "click",
832
+ /*click_handler*/
833
+ r[25]
834
+ ), I = !0);
835
+ },
836
+ p(S, z) {
837
+ z[0] & /*balances*/
838
+ 2 && s !== (s = /*balances*/
839
+ (S[1].Total ? (
840
+ /*formatBalance*/
841
+ S[8](
842
+ /*balances*/
843
+ S[1].Total[0].amount
844
+ )
845
+ ) : "0") + "") && ge(u, s), z[0] & /*currency*/
846
+ 32 && ge(
847
+ h,
848
+ /*currency*/
849
+ S[5]
850
+ ), z[0] & /*modalOpened*/
851
+ 8 && O !== (O = /*modalOpened*/
852
+ S[3] ? "TriangleActive" : "TriangleInactive") && _(g, "class", O), /*showBalance*/
853
+ S[4] ? B ? B.p(S, z) : (B = nt(S), B.c(), B.m(k.parentNode, k)) : B && (B.d(1), B = null);
854
+ },
855
+ d(S) {
856
+ S && (ve(e), ve(L), ve(k)), B && B.d(S), I = !1, E();
857
+ }
858
+ };
859
+ }
860
+ function It(r) {
861
+ let e, n = (
862
+ /*$_*/
863
+ r[6]("Loading") + ""
864
+ ), s;
865
+ return {
866
+ c() {
867
+ e = H("p"), s = me(n), _(e, "class", "Loading");
868
+ },
869
+ m(u, c) {
870
+ ye(u, e, c), T(e, s);
871
+ },
872
+ p(u, c) {
873
+ c[0] & /*$_*/
874
+ 64 && n !== (n = /*$_*/
875
+ u[6]("Loading") + "") && ge(s, n);
876
+ },
877
+ d(u) {
878
+ u && ve(e);
879
+ }
880
+ };
881
+ }
882
+ function nt(r) {
883
+ let e, n, s, u, c, h, f, g, y = (
884
+ /*$_*/
885
+ r[6]("Title") + ""
886
+ ), R, O, L, k, I, E, B = (
887
+ /*$_*/
888
+ r[6]("DepositButton") + ""
889
+ ), S, z, F, V, ie, se, G = He(Object.keys(
890
+ /*balances*/
891
+ r[1]
892
+ )), j = [];
893
+ for (let A = 0; A < G.length; A += 1)
894
+ j[A] = ot(et(r, G, A));
895
+ return {
896
+ c() {
897
+ e = H("div"), n = H("div"), u = re(), c = H("div"), h = H("div"), f = H("div"), g = H("p"), R = me(y), O = re(), L = H("div");
898
+ for (let A = 0; A < j.length; A += 1)
899
+ j[A].c();
900
+ k = re(), I = H("div"), E = H("button"), S = me(B), _(n, "class", s = "BalanceModalClose " + /*modalOpened*/
901
+ (r[3] ? "Open" : "")), _(g, "class", "BalanceModalTitle"), _(f, "class", "BalanceModalHeader"), _(L, "class", "BalanceModalBody"), _(E, "class", "BalanceModalAction"), _(I, "class", "BalanceModalFooter"), _(h, "class", z = "ModalContent " + /*modalOpened*/
902
+ (r[3] ? "Open" : "")), _(c, "class", F = "BalanceModal " + /*modalOpened*/
903
+ (r[3] ? "Open" : "")), _(e, "class", V = "BalanceModalWrapper " + /*modalOpened*/
904
+ (r[3] ? "Open" : ""));
905
+ },
906
+ m(A, D) {
907
+ ye(A, e, D), T(e, n), T(e, u), T(e, c), T(c, h), T(h, f), T(f, g), T(g, R), T(h, O), T(h, L);
908
+ for (let x = 0; x < j.length; x += 1)
909
+ j[x] && j[x].m(L, null);
910
+ T(h, k), T(h, I), T(I, E), T(E, S), ie || (se = [
911
+ je(
912
+ n,
913
+ "click",
914
+ /*click_handler_1*/
915
+ r[26]
916
+ ),
917
+ je(
918
+ E,
919
+ "click",
920
+ /*click_handler_2*/
921
+ r[27]
922
+ )
923
+ ], ie = !0);
924
+ },
925
+ p(A, D) {
926
+ if (D[0] & /*modalOpened*/
927
+ 8 && s !== (s = "BalanceModalClose " + /*modalOpened*/
928
+ (A[3] ? "Open" : "")) && _(n, "class", s), D[0] & /*$_*/
929
+ 64 && y !== (y = /*$_*/
930
+ A[6]("Title") + "") && ge(R, y), D[0] & /*balances, currency, formatBalance, $_*/
931
+ 354) {
932
+ G = He(Object.keys(
933
+ /*balances*/
934
+ A[1]
935
+ ));
936
+ let x;
937
+ for (x = 0; x < G.length; x += 1) {
938
+ const K = et(A, G, x);
939
+ j[x] ? j[x].p(K, D) : (j[x] = ot(K), j[x].c(), j[x].m(L, null));
940
+ }
941
+ for (; x < j.length; x += 1)
942
+ j[x].d(1);
943
+ j.length = G.length;
944
+ }
945
+ D[0] & /*$_*/
946
+ 64 && B !== (B = /*$_*/
947
+ A[6]("DepositButton") + "") && ge(S, B), D[0] & /*modalOpened*/
948
+ 8 && z !== (z = "ModalContent " + /*modalOpened*/
949
+ (A[3] ? "Open" : "")) && _(h, "class", z), D[0] & /*modalOpened*/
950
+ 8 && F !== (F = "BalanceModal " + /*modalOpened*/
951
+ (A[3] ? "Open" : "")) && _(c, "class", F), D[0] & /*modalOpened*/
952
+ 8 && V !== (V = "BalanceModalWrapper " + /*modalOpened*/
953
+ (A[3] ? "Open" : "")) && _(e, "class", V);
954
+ },
955
+ d(A) {
956
+ A && ve(e), it(j, A), ie = !1, _t(se);
957
+ }
958
+ };
959
+ }
960
+ function at(r) {
961
+ let e, n, s = (
962
+ /*$_*/
963
+ r[6](
964
+ /*k*/
965
+ r[50]
966
+ ) + ""
967
+ ), u, c, h = (
968
+ /*b*/
969
+ (r[53].productType ? (
970
+ /*$_*/
971
+ r[6](
972
+ /*b*/
973
+ r[53].productType
974
+ )
975
+ ) : "") + ""
976
+ ), f, g, y, R, O = (
977
+ /*b*/
978
+ (r[53].amount ? (
979
+ /*formatBalance*/
980
+ r[8](
981
+ /*b*/
982
+ r[53].amount
983
+ )
984
+ ) : "0") + ""
985
+ ), L, k, I, E;
986
+ return {
987
+ c() {
988
+ e = H("div"), n = H("p"), u = me(s), c = re(), f = me(h), g = re(), y = H("p"), R = H("span"), L = me(O), k = re(), I = H("span"), E = me(
989
+ /*currency*/
990
+ r[5]
991
+ ), _(n, "class", "BalanceModalText"), _(R, "class", "BalanceModalAmount"), _(I, "class", "BalanceModalCurrency"), _(y, "class", "BalanceModalValue"), _(e, "class", "BalanceModalRowLine");
992
+ },
993
+ m(B, S) {
994
+ ye(B, e, S), T(e, n), T(n, u), T(n, c), T(n, f), T(e, g), T(e, y), T(y, R), T(R, L), T(y, k), T(y, I), T(I, E);
995
+ },
996
+ p(B, S) {
997
+ S[0] & /*$_, balances*/
998
+ 66 && s !== (s = /*$_*/
999
+ B[6](
1000
+ /*k*/
1001
+ B[50]
1002
+ ) + "") && ge(u, s), S[0] & /*balances, $_*/
1003
+ 66 && h !== (h = /*b*/
1004
+ (B[53].productType ? (
1005
+ /*$_*/
1006
+ B[6](
1007
+ /*b*/
1008
+ B[53].productType
1009
+ )
1010
+ ) : "") + "") && ge(f, h), S[0] & /*balances*/
1011
+ 2 && O !== (O = /*b*/
1012
+ (B[53].amount ? (
1013
+ /*formatBalance*/
1014
+ B[8](
1015
+ /*b*/
1016
+ B[53].amount
1017
+ )
1018
+ ) : "0") + "") && ge(L, O), S[0] & /*currency*/
1019
+ 32 && ge(
1020
+ E,
1021
+ /*currency*/
1022
+ B[5]
1023
+ );
1024
+ },
1025
+ d(B) {
1026
+ B && ve(e);
1027
+ }
1028
+ };
1029
+ }
1030
+ function ot(r) {
1031
+ let e, n, s = He(
1032
+ /*balances*/
1033
+ r[1][
1034
+ /*k*/
1035
+ r[50]
1036
+ ]
1037
+ ), u = [];
1038
+ for (let c = 0; c < s.length; c += 1)
1039
+ u[c] = at(tt(r, s, c));
1040
+ return {
1041
+ c() {
1042
+ e = H("div");
1043
+ for (let c = 0; c < u.length; c += 1)
1044
+ u[c].c();
1045
+ n = re(), _(e, "class", "BalanceModalRowBoth");
1046
+ },
1047
+ m(c, h) {
1048
+ ye(c, e, h);
1049
+ for (let f = 0; f < u.length; f += 1)
1050
+ u[f] && u[f].m(e, null);
1051
+ T(e, n);
1052
+ },
1053
+ p(c, h) {
1054
+ if (h[0] & /*currency, balances, formatBalance, $_*/
1055
+ 354) {
1056
+ s = He(
1057
+ /*balances*/
1058
+ c[1][
1059
+ /*k*/
1060
+ c[50]
1061
+ ]
1062
+ );
1063
+ let f;
1064
+ for (f = 0; f < s.length; f += 1) {
1065
+ const g = tt(c, s, f);
1066
+ u[f] ? u[f].p(g, h) : (u[f] = at(g), u[f].c(), u[f].m(e, n));
1067
+ }
1068
+ for (; f < u.length; f += 1)
1069
+ u[f].d(1);
1070
+ u.length = s.length;
1071
+ }
1072
+ },
1073
+ d(c) {
1074
+ c && ve(e), it(u, c);
1075
+ }
1076
+ };
1077
+ }
1078
+ function rt(r) {
1079
+ let e, n, s;
1080
+ return {
1081
+ c() {
1082
+ e = H("div"), _(e, "class", "ShowBalanceModalOverlay");
1083
+ },
1084
+ m(u, c) {
1085
+ ye(u, e, c), n || (s = je(
1086
+ e,
1087
+ "click",
1088
+ /*click_handler_3*/
1089
+ r[28]
1090
+ ), n = !0);
1091
+ },
1092
+ p: We,
1093
+ d(u) {
1094
+ u && ve(e), n = !1, s();
1095
+ }
1096
+ };
1097
+ }
1098
+ function Nt(r) {
1099
+ let e, n, s;
1100
+ function u(g, y) {
1101
+ return (
1102
+ /*isLoading*/
1103
+ g[2] ? It : Ft
1104
+ );
1105
+ }
1106
+ let c = u(r), h = c(r), f = (
1107
+ /*showBalance*/
1108
+ r[4] && rt(r)
1109
+ );
1110
+ return {
1111
+ c() {
1112
+ e = H("div"), n = H("div"), h.c(), s = re(), f && f.c(), _(n, "class", "ShowBalance");
1113
+ },
1114
+ m(g, y) {
1115
+ ye(g, e, y), T(e, n), h.m(n, null), T(e, s), f && f.m(e, null), r[29](e);
1116
+ },
1117
+ p(g, y) {
1118
+ c === (c = u(g)) && h ? h.p(g, y) : (h.d(1), h = c(g), h && (h.c(), h.m(n, null))), /*showBalance*/
1119
+ g[4] ? f ? f.p(g, y) : (f = rt(g), f.c(), f.m(e, null)) : f && (f.d(1), f = null);
1120
+ },
1121
+ i: We,
1122
+ o: We,
1123
+ d(g) {
1124
+ g && ve(e), h.d(), f && f.d(), r[29](null);
1125
+ }
1126
+ };
1127
+ }
1128
+ function Vt(r, e, n) {
1129
+ let s;
1130
+ vt(r, At, (t) => n(6, s = t));
1131
+ let { userid: u = "" } = e, { session: c = "" } = e, { endpoint: h = "" } = e, { lang: f = "en" } = e, { mbsource: g } = e, { clientstyling: y = "" } = e, { clientstylingurl: R = "" } = e, { translationurl: O = "" } = e, { customlocaleidentifier: L = "" } = e, { gmversion: k = "gm16" } = e, { displaybalanceoption: I = "All" } = e, { totalcalculationmode: E = "totalCashAmount" } = e, { currencyseparator: B = "" } = e, { currencydecimal: S = "" } = e, { currencyprecision: z = "" } = e, F, V, ie, se, G, j = !1, A = "", D = [], x, K = !1;
1132
+ const p = {}, le = ["totalCashAmount", "totalRealAmount"], De = () => {
1133
+ fetch(O).then((t) => t.json()).then((t) => Object.keys(t).forEach((i) => Ze(i, t[i]))).catch((t) => console.log(t));
1134
+ };
1135
+ Object.keys($e).forEach((t) => Ze(t, $e[t]));
1136
+ const ce = (t) => {
1137
+ switch (t) {
1138
+ case "balance":
1139
+ window.postMessage(
1140
+ {
1141
+ type: "BalanceModalStatus",
1142
+ status: "open"
1143
+ },
1144
+ window.location.href
1145
+ ), n(4, j = !0), setTimeout(() => n(3, se = !0), 150);
1146
+ break;
1147
+ case "closebalance":
1148
+ n(3, se = !1), window.postMessage(
1149
+ {
1150
+ type: "BalanceModalStatus",
1151
+ status: "close"
1152
+ },
1153
+ window.location.href
1154
+ ), setTimeout(
1155
+ () => {
1156
+ n(4, j = !1);
1157
+ },
1158
+ 150
1159
+ );
1160
+ break;
1161
+ }
1162
+ }, ne = () => {
1163
+ if (L.includes(f))
1164
+ return L;
1165
+ }, we = (t) => L ? new Intl.NumberFormat(ne(), { useGrouping: !0 }).format(t) : B && S ? oe(t, {
1166
+ separator: B,
1167
+ decimal: S,
1168
+ symbol: "",
1169
+ precision: parseInt(z || "2", 10)
1170
+ }).format() : oe(t, {
1171
+ separator: ".",
1172
+ decimal: ",",
1173
+ symbol: "",
1174
+ precision: parseInt(z || "2", 10)
1175
+ }).format(), be = async () => {
1176
+ n(2, F = !0);
1177
+ const t = new URL(`${h}/v1/player/${u}/account`);
1178
+ try {
1179
+ const i = await fetch(t, {
1180
+ method: "GET",
1181
+ headers: { "X-SessionID": c }
1182
+ }), o = await i.json();
1183
+ if (i.ok)
1184
+ window.postMessage({ type: "BalancedFetched" }, window.location.href), D = o.items, n(5, A = D.find((l) => l.displayName === "Casino")?.currency), n(1, p.Total = [{ amount: o.totalAmount[A] }], p), n(
1185
+ 1,
1186
+ p.Real = [
1187
+ {
1188
+ amount: D.find((l) => l.displayName === "Casino")?.balanceAmount
1189
+ }
1190
+ ],
1191
+ p
1192
+ ), n(
1193
+ 1,
1194
+ p.Bonus = [
1195
+ {
1196
+ amount: D.find((l) => l.displayName === "UBS")?.balanceAmount
1197
+ }
1198
+ ],
1199
+ p
1200
+ );
1201
+ else
1202
+ throw new Error("Failed to fetch balance data !");
1203
+ } catch (i) {
1204
+ console.log("Balance error: ", i);
1205
+ } finally {
1206
+ n(2, F = !1);
1207
+ }
1208
+ }, _e = () => {
1209
+ n(2, F = !0);
1210
+ const t = new URL(`${h}/v2/player/${u}/balance`), i = new Headers();
1211
+ i.append("X-SessionID", c), fetch(t, { method: "GET", headers: i }).then((l) => l.json()).then((l) => {
1212
+ l[E] || n(10, E = le[0]);
1213
+ const d = l.items.find((m) => m.type === "Real" && m.walletAccountType === "Ordinary");
1214
+ if (n(5, A = d.currency), K = !!d.productType, n(1, p.Total = [{ amount: 0 }], p), n(1, p.Real = [], p), n(1, p.Bonus = [], p), n(1, p.Credit = [], p), !K) {
1215
+ x = {
1216
+ lastOrdinaryAfterAmount: 0,
1217
+ showCreditLineAfterAmount: !1
1218
+ }, n(1, p.Total[0].amount = l[E][A], p);
1219
+ for (const m of l.items)
1220
+ switch (m.type) {
1221
+ case "Bonus":
1222
+ p.Bonus.length === 0 ? p.Bonus.push({ amount: m.amount }) : n(1, p.Bonus[0].amount += m.amount, p);
1223
+ break;
1224
+ case "Real":
1225
+ if (m.creditLine && p.Credit.length === 0 && p.Credit.push({ amount: m.creditLine }), E === "totalRealAmount")
1226
+ continue;
1227
+ p.Real.length === 0 ? p.Real.push({ amount: m.amount }) : n(1, p.Real[0].amount += m.amount, p);
1228
+ break;
1229
+ }
1230
+ for (const [m, w] of Object.entries(p))
1231
+ w.length < 1 && delete p[m];
1232
+ n(2, F = !1);
1233
+ return;
1234
+ }
1235
+ x = {
1236
+ Casino: {
1237
+ lastOrdinaryAfterAmount: 0,
1238
+ showCreditLineAfterAmount: !1
1239
+ },
1240
+ Sports: {
1241
+ lastOrdinaryAfterAmount: 0,
1242
+ showCreditLineAfterAmount: !1
1243
+ }
1244
+ };
1245
+ let v = l.items;
1246
+ I && I !== "All" && (v = l.items.filter((m) => m.productType === I));
1247
+ for (const m of v) {
1248
+ let w;
1249
+ switch (m.type) {
1250
+ case "Bonus":
1251
+ w = p.Bonus.findIndex((C) => C.productType === m.productType), w > 0 ? n(1, p.Bonus[w].amount += m.amount, p) : p.Bonus.push({
1252
+ amount: m.amount,
1253
+ productType: m.productType
1254
+ });
1255
+ break;
1256
+ case "Real":
1257
+ m.creditLine && p.Credit.push({
1258
+ amount: m.creditLine,
1259
+ productType: m.productType
1260
+ }), w = p.Real.findIndex((C) => C.productType === m.productType), w > 0 ? n(1, p.Real[w].amount += m.amount, p) : p.Real.push({
1261
+ amount: m.amount,
1262
+ productType: m.productType
1263
+ });
1264
+ break;
1265
+ }
1266
+ }
1267
+ Le();
1268
+ for (const [m, w] of Object.entries(p))
1269
+ w.length < 1 && delete p[m];
1270
+ n(2, F = !1);
1271
+ }).catch((l) => {
1272
+ throw n(2, F = !1), new Error("Failed to fetch balance data !");
1273
+ });
1274
+ }, te = () => {
1275
+ if (G && G.close(), c.length < 1)
1276
+ return;
1277
+ let t, i;
1278
+ switch (k) {
1279
+ case "gm16":
1280
+ t = new URL(`${h}/v2/player/${u}/information/updates`), i = (d) => ze(d);
1281
+ break;
1282
+ case "gmcore":
1283
+ t = new URL(`${h}/v1/player/${u}/balance/updates`), i = (d) => Oe(d);
1284
+ break;
1285
+ }
1286
+ const o = {
1287
+ accept: "text/event-stream",
1288
+ "X-SessionId": c
1289
+ }, l = new Et.EventSourcePolyfill(t, { headers: o });
1290
+ G = l, l.addEventListener("message", i);
1291
+ }, Te = (t) => {
1292
+ let i;
1293
+ try {
1294
+ i = JSON.parse(t);
1295
+ } catch (o) {
1296
+ console.log("Balance stream failed: ", o);
1297
+ return;
1298
+ }
1299
+ return i;
1300
+ }, Oe = (t) => {
1301
+ const i = Te(t.data);
1302
+ if (!i) {
1303
+ te();
1304
+ return;
1305
+ }
1306
+ let o = "0";
1307
+ const l = i.balanceChange;
1308
+ D = D.map((d) => (l && l[d.id] && (d = {
1309
+ ...d,
1310
+ balanceAmount: l[d.id].afterAmount
1311
+ }), o = (parseFloat(d?.balanceAmount) + parseFloat(o)).toString(), d)), n(1, p.Real = [{ amount: D[0]?.balanceAmount }], p), n(1, p.Bonus = [{ amount: D[1]?.balanceAmount }], p), n(1, p.Total = [{ amount: Number(o) }], p);
1312
+ }, Ae = (t, i, o) => {
1313
+ let l = null;
1314
+ switch (o.walletAccountType) {
1315
+ case "Ordinary":
1316
+ o.afterAmount !== o.affectedAmount && (i.lastOrdinaryAfterAmount = o.afterAmount, i.showCreditLineAfterAmount || (l = o.afterAmount));
1317
+ break;
1318
+ case "CreditLine":
1319
+ o.afterAmount !== 0 ? (l = o.afterAmount, i.showCreditLineAfterAmount = !0) : (l = i.lastOrdinaryAfterAmount, i.showCreditLineAfterAmount = !1);
1320
+ break;
1321
+ default:
1322
+ l = o.afterAmount;
1323
+ }
1324
+ return l === null ? t : l;
1325
+ }, Le = () => {
1326
+ switch (E) {
1327
+ case "totalCashAmount":
1328
+ let t = 0;
1329
+ for (const o of ["Real", "Bonus"])
1330
+ for (const l of p[o])
1331
+ t += Math.max(l.amount, 0);
1332
+ n(1, p.Total[0].amount = t, p);
1333
+ break;
1334
+ case "totalRealAmount":
1335
+ if (!K)
1336
+ return;
1337
+ let i = 0;
1338
+ for (const o of p.Real)
1339
+ i += o.amount;
1340
+ n(1, p.Total[0].amount = i, p);
1341
+ }
1342
+ }, ze = (t) => {
1343
+ const i = Te(t.data);
1344
+ if (!i) {
1345
+ te();
1346
+ return;
1347
+ }
1348
+ if (i.type !== "BALANCE_UPDATE_V2")
1349
+ return;
1350
+ const o = i.body.balanceChange;
1351
+ for (const [l, d] of Object.entries(o))
1352
+ if (E === "totalRealAmount" && l === "Real" && !K && n(1, p.Total[0].amount = Ae(p.Total[0].amount, x, d), p), !!p[l])
1353
+ for (const v of p[l]) {
1354
+ if (!K) {
1355
+ v.amount = l === "Real" ? Ae(v.amount, x, d) : d.afterAmount;
1356
+ continue;
1357
+ }
1358
+ d.productType === v.productType && (v.amount = l === "Real" ? Ae(v.amount, x[v.productType], d) : d.afterAmount);
1359
+ }
1360
+ Le();
1361
+ }, ke = () => {
1362
+ ce("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
1363
+ }, Re = () => {
1364
+ le.includes(E) || (console.error(`Unsupported value ('${E}') for totalcalculationmode parameter. Only the following values are supported ${le}. Using default value ('${le[0]}').`), n(10, E = le[0]));
1365
+ }, Ee = () => {
1366
+ switch (Rt(f), Re(), k) {
1367
+ case "gmcore":
1368
+ be();
1369
+ break;
1370
+ case "gm16":
1371
+ _e();
1372
+ break;
1373
+ default:
1374
+ throw Error(`Invalid apiversion attribute: ${k}`);
1375
+ }
1376
+ }, de = (t) => t.data && t.data.type === "LogoutSuccessfull" && G.close(), Q = () => {
1377
+ window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
1378
+ };
1379
+ wt(() => (window.addEventListener("message", de, !1), () => {
1380
+ window.emMessageBus && ie && ie.unsubscribe(), window.removeEventListener("message", de), G && G.close();
1381
+ }));
1382
+ const Ue = () => ce("balance"), Pe = () => ce("closebalance"), Xe = () => ke(), Fe = () => ce("closeBalance");
1383
+ function a(t) {
1384
+ Tt[t ? "unshift" : "push"](() => {
1385
+ V = t, n(0, V);
1386
+ });
1387
+ }
1388
+ return r.$$set = (t) => {
1389
+ "userid" in t && n(11, u = t.userid), "session" in t && n(12, c = t.session), "endpoint" in t && n(13, h = t.endpoint), "lang" in t && n(14, f = t.lang), "mbsource" in t && n(15, g = t.mbsource), "clientstyling" in t && n(16, y = t.clientstyling), "clientstylingurl" in t && n(17, R = t.clientstylingurl), "translationurl" in t && n(18, O = t.translationurl), "customlocaleidentifier" in t && n(19, L = t.customlocaleidentifier), "gmversion" in t && n(20, k = t.gmversion), "displaybalanceoption" in t && n(21, I = t.displaybalanceoption), "totalcalculationmode" in t && n(10, E = t.totalcalculationmode), "currencyseparator" in t && n(22, B = t.currencyseparator), "currencydecimal" in t && n(23, S = t.currencydecimal), "currencyprecision" in t && n(24, z = t.currencyprecision);
1390
+ }, r.$$.update = () => {
1391
+ r.$$.dirty[0] & /*lang*/
1392
+ 16384 && f && ne(), r.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
1393
+ 3176448 && h && u && c && f && k && I && Ee(), r.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
1394
+ 1062912 && h && u && c && k && te(), r.$$.dirty[0] & /*translationurl*/
1395
+ 262144 && O && De(), r.$$.dirty[0] & /*balances*/
1396
+ 2 && p.Total && Q(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1397
+ 65537 && y && V && St(V, y), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1398
+ 131073 && R && V && bt(V, R), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
1399
+ 32769 && g && V && Bt(V, `${g}.Style`);
1400
+ }, [
1401
+ V,
1402
+ p,
1403
+ F,
1404
+ se,
1405
+ j,
1406
+ A,
1407
+ s,
1408
+ ce,
1409
+ we,
1410
+ ke,
1411
+ E,
1412
+ u,
1413
+ c,
1414
+ h,
1415
+ f,
1416
+ g,
1417
+ y,
1418
+ R,
1419
+ O,
1420
+ L,
1421
+ k,
1422
+ I,
1423
+ B,
1424
+ S,
1425
+ z,
1426
+ Ue,
1427
+ Pe,
1428
+ Xe,
1429
+ Fe,
1430
+ a
1431
+ ];
1432
+ }
1433
+ class jt extends pt {
1434
+ constructor(e) {
1435
+ super(), ht(
1436
+ this,
1437
+ e,
1438
+ Vt,
1439
+ Nt,
1440
+ gt,
1441
+ {
1442
+ userid: 11,
1443
+ session: 12,
1444
+ endpoint: 13,
1445
+ lang: 14,
1446
+ mbsource: 15,
1447
+ clientstyling: 16,
1448
+ clientstylingurl: 17,
1449
+ translationurl: 18,
1450
+ customlocaleidentifier: 19,
1451
+ gmversion: 20,
1452
+ displaybalanceoption: 21,
1453
+ totalcalculationmode: 10,
1454
+ currencyseparator: 22,
1455
+ currencydecimal: 23,
1456
+ currencyprecision: 24
1457
+ },
1458
+ kt,
1459
+ [-1, -1]
1460
+ );
1461
+ }
1462
+ get userid() {
1463
+ return this.$$.ctx[11];
1464
+ }
1465
+ set userid(e) {
1466
+ this.$$set({ userid: e }), J();
1467
+ }
1468
+ get session() {
1469
+ return this.$$.ctx[12];
1470
+ }
1471
+ set session(e) {
1472
+ this.$$set({ session: e }), J();
1473
+ }
1474
+ get endpoint() {
1475
+ return this.$$.ctx[13];
1476
+ }
1477
+ set endpoint(e) {
1478
+ this.$$set({ endpoint: e }), J();
1479
+ }
1480
+ get lang() {
1481
+ return this.$$.ctx[14];
1482
+ }
1483
+ set lang(e) {
1484
+ this.$$set({ lang: e }), J();
1485
+ }
1486
+ get mbsource() {
1487
+ return this.$$.ctx[15];
1488
+ }
1489
+ set mbsource(e) {
1490
+ this.$$set({ mbsource: e }), J();
1491
+ }
1492
+ get clientstyling() {
1493
+ return this.$$.ctx[16];
1494
+ }
1495
+ set clientstyling(e) {
1496
+ this.$$set({ clientstyling: e }), J();
1497
+ }
1498
+ get clientstylingurl() {
1499
+ return this.$$.ctx[17];
1500
+ }
1501
+ set clientstylingurl(e) {
1502
+ this.$$set({ clientstylingurl: e }), J();
1503
+ }
1504
+ get translationurl() {
1505
+ return this.$$.ctx[18];
1506
+ }
1507
+ set translationurl(e) {
1508
+ this.$$set({ translationurl: e }), J();
1509
+ }
1510
+ get customlocaleidentifier() {
1511
+ return this.$$.ctx[19];
1512
+ }
1513
+ set customlocaleidentifier(e) {
1514
+ this.$$set({ customlocaleidentifier: e }), J();
1515
+ }
1516
+ get gmversion() {
1517
+ return this.$$.ctx[20];
1518
+ }
1519
+ set gmversion(e) {
1520
+ this.$$set({ gmversion: e }), J();
1521
+ }
1522
+ get displaybalanceoption() {
1523
+ return this.$$.ctx[21];
1524
+ }
1525
+ set displaybalanceoption(e) {
1526
+ this.$$set({ displaybalanceoption: e }), J();
1527
+ }
1528
+ get totalcalculationmode() {
1529
+ return this.$$.ctx[10];
1530
+ }
1531
+ set totalcalculationmode(e) {
1532
+ this.$$set({ totalcalculationmode: e }), J();
1533
+ }
1534
+ get currencyseparator() {
1535
+ return this.$$.ctx[22];
1536
+ }
1537
+ set currencyseparator(e) {
1538
+ this.$$set({ currencyseparator: e }), J();
1539
+ }
1540
+ get currencydecimal() {
1541
+ return this.$$.ctx[23];
1542
+ }
1543
+ set currencydecimal(e) {
1544
+ this.$$set({ currencydecimal: e }), J();
1545
+ }
1546
+ get currencyprecision() {
1547
+ return this.$$.ctx[24];
1548
+ }
1549
+ set currencyprecision(e) {
1550
+ this.$$set({ currencyprecision: e }), J();
1551
+ }
1552
+ }
1553
+ mt(jt, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);
1554
+ export {
1555
+ jt as default
1556
+ };