@everymatrix/casino-header-controller-nd 1.77.24 → 1.77.26

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