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

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-8GXv1cKy.js → CasinoHamburgerMenuNd-BSRyHOo3.js} +1065 -1044
  2. package/components/{CasinoHamburgerMenuNd-COfnXPEa.js → CasinoHamburgerMenuNd-CAynNbpM.js} +1028 -1007
  3. package/components/CasinoHamburgerMenuNd-DDnDX1YR.cjs +18 -0
  4. package/components/{CasinoHeaderControllerNd-_r4VOofr.cjs → CasinoHeaderControllerNd-BC0WBfO0.cjs} +1 -1
  5. package/components/{CasinoHeaderControllerNd-0EOLuKeO.js → CasinoHeaderControllerNd-BC1OEvie.js} +100 -100
  6. package/components/{CasinoHeaderControllerNd-Dx1ZJpp1.js → CasinoHeaderControllerNd-DyTLbeld.js} +98 -98
  7. package/components/PlayerAccountBalanceModalNd-B8wlx7t-.js +1440 -0
  8. package/components/PlayerAccountBalanceModalNd-Cwus0sL3.js +1469 -0
  9. package/components/PlayerAccountBalanceModalNd-DEzvP-8k.cjs +7 -0
  10. package/components/{PlayerDeposit-CJvNBeMW.js → PlayerDeposit-CVY4XAfd.js} +77 -77
  11. package/components/PlayerDeposit-FGC50pxT.cjs +1 -0
  12. package/components/{PlayerDeposit-B3E8WIZ1.js → PlayerDeposit-QQW2yvO_.js} +73 -73
  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-DKK4TPQ7.js → casino-hamburger-menu-nd-5oAi8SmF.js} +1 -1
  17. package/lazy/{casino-hamburger-menu-nd-CM2fSz9t.cjs → casino-hamburger-menu-nd-8X36zJfz.cjs} +1 -1
  18. package/lazy/{casino-hamburger-menu-nd-DWi2frNW.js → casino-hamburger-menu-nd-jo4JA9d8.js} +1 -1
  19. package/lazy/gamification-dropdown-B0uRqHF5.cjs +1 -0
  20. package/lazy/gamification-dropdown-B3HxrtUy.js +754 -0
  21. package/lazy/{gamification-dropdown-BaFOd6fn.js → gamification-dropdown-BXn4YJ1N.js} +267 -271
  22. package/lazy/{player-account-balance-modal-nd-BcH5WeWW.js → player-account-balance-modal-nd-BX1ju5fg.js} +1 -1
  23. package/lazy/{player-account-balance-modal-nd-BH9Fqdu7.js → player-account-balance-modal-nd-DY91l88Y.js} +1 -1
  24. package/lazy/{player-account-balance-modal-nd-BW0LA74v.cjs → player-account-balance-modal-nd-heHIpdkq.cjs} +1 -1
  25. package/lazy/{player-deposit-ske2xU5w.cjs → player-deposit-BknMYFwF.cjs} +1 -1
  26. package/lazy/{player-deposit-CFXvFbnU.js → player-deposit-DYr-PS2i.js} +1 -1
  27. package/lazy/{player-deposit-Dw1jX7cK.js → player-deposit-aoi_Q3Do.js} +1 -1
  28. package/lazy/user-deposit-withdrawal-D0rShkq5.js +557 -0
  29. package/lazy/user-deposit-withdrawal-Dpqnwy_H.js +573 -0
  30. package/lazy/user-deposit-withdrawal-bNF3b4Ug.cjs +1 -0
  31. package/package.json +1 -1
  32. package/stencil/{gamification-dropdown-60536faa-DrF9DatI.js → gamification-dropdown-60536faa-BaZ65Kym.js} +1 -1
  33. package/stencil/{gamification-dropdown-60536faa-DG0qo8BP.js → gamification-dropdown-60536faa-Btk2lBsp.js} +1 -1
  34. package/stencil/{gamification-dropdown-60536faa-Dd38VLHA.cjs → gamification-dropdown-60536faa-bzjUnWRO.cjs} +1 -1
  35. package/stencil/{gamification-dropdown-BZSXhhwn.js → gamification-dropdown-8J8PxOuh.js} +2 -2
  36. package/stencil/{gamification-dropdown-C24UQNDX.js → gamification-dropdown-CvPOzjV9.js} +2 -2
  37. package/stencil/{gamification-dropdown-CbqnmfjN.cjs → gamification-dropdown-Wyj17azl.cjs} +1 -1
  38. package/stencil/{gamification-dropdown_4-pLW8IB2g.js → gamification-dropdown_4-8aFyNwqe.js} +5 -5
  39. package/stencil/{gamification-dropdown_4-B_k6XDAT.js → gamification-dropdown_4-BDWTzE3w.js} +5 -5
  40. package/stencil/gamification-dropdown_4-xEVOXclk.cjs +192 -0
  41. package/stencil/{player-elevate-card-DKH18h3D.js → player-elevate-card-6r1cEI_B.js} +2 -2
  42. package/stencil/{player-elevate-card-CkKtsiks.js → player-elevate-card-CJeovOge.js} +2 -2
  43. package/stencil/{player-elevate-card-CxO-3JX2.cjs → player-elevate-card-L2dn16do.cjs} +1 -1
  44. package/stencil/{player-elevate-card-items-08c6fbd8-CfvM5vel.js → player-elevate-card-items-08c6fbd8-B8m8Wk7Z.js} +235 -237
  45. package/stencil/player-elevate-card-items-08c6fbd8-DvFxvIKq.cjs +102 -0
  46. package/stencil/{player-elevate-card-items-08c6fbd8-Dr68wxu_.js → player-elevate-card-items-08c6fbd8-cDevB0xr.js} +235 -237
  47. package/stencil/{player-elevate-pointcard-BMf9Mr9j.js → player-elevate-pointcard-6Y0Wq9rs.js} +2 -2
  48. package/stencil/{player-elevate-pointcard-DictB_eB.js → player-elevate-pointcard-BLmnotv_.js} +2 -2
  49. package/stencil/{player-elevate-pointcard-DlbU2sPb.cjs → player-elevate-pointcard-DUipzlXL.cjs} +1 -1
  50. package/stencil/{player-rakeback-card-JziPsU1h.js → player-rakeback-card-Cj366-ZL.js} +1 -1
  51. package/stencil/{player-rakeback-card-UPJI89E_.cjs → player-rakeback-card-DBPn2wfp.cjs} +1 -1
  52. package/stencil/{player-rakeback-card-B2LhDhvP.js → player-rakeback-card-uw0ZOQ2u.js} +1 -1
  53. package/stencil/{user-deposit-withdrawal-kTtBpXqI.js → user-deposit-withdrawal-6wE6l893.js} +1 -1
  54. package/stencil/{user-deposit-withdrawal-C8LQdB1d.js → user-deposit-withdrawal-B_d-ipGD.js} +1 -1
  55. package/stencil/{user-deposit-withdrawal-QsNIWYak.cjs → user-deposit-withdrawal-Div9Us4I.cjs} +1 -1
  56. package/components/CasinoHamburgerMenuNd-DITuSEJd.cjs +0 -18
  57. package/components/PlayerAccountBalanceModalNd-B_nZXNGB.js +0 -1440
  58. package/components/PlayerAccountBalanceModalNd-h8-n54Ol.cjs +0 -7
  59. package/components/PlayerAccountBalanceModalNd-nm7Wg-91.js +0 -1469
  60. package/components/PlayerDeposit-oWVZZxvC.cjs +0 -1
  61. package/lazy/gamification-dropdown-C_wwdEnw.cjs +0 -1
  62. package/lazy/gamification-dropdown-DtJ5neR-.js +0 -758
  63. package/lazy/user-deposit-withdrawal-CqsQgzdf.js +0 -557
  64. package/lazy/user-deposit-withdrawal-Cyp0NZNS.js +0 -573
  65. package/lazy/user-deposit-withdrawal-DOO3AZ5o.cjs +0 -1
  66. package/stencil/gamification-dropdown_4-CUPhUUIx.cjs +0 -192
  67. package/stencil/player-elevate-card-items-08c6fbd8-Cg0tJK0X.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, Je = (i, e, a) => e in i ? ft(i, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : i[e] = a, Qe = (i, e) => {
6
+ for (var a in e || (e = {}))
7
+ mt.call(e, a) && Je(i, a, e[a]);
8
+ if (Ye)
9
+ for (var a of Ye(e))
10
+ gt.call(e, a) && Je(i, a, e[a]);
11
+ return i;
12
+ }, Ze = (i, e) => pt(i, ht(e));
13
+ var $e = (i, e, a) => new Promise((w, m) => {
14
+ var d = (b) => {
15
+ try {
16
+ g(a.next(b));
17
+ } catch (B) {
18
+ m(B);
19
+ }
20
+ }, T = (b) => {
21
+ try {
22
+ g(a.throw(b));
23
+ } catch (B) {
24
+ m(B);
25
+ }
26
+ }, g = (b) => b.done ? w(b.value) : Promise.resolve(b.value).then(d, T);
27
+ g((a = a.apply(i, e)).next());
28
+ });
29
+ import { b as yt, $ as vt, P as wt, S as bt, i as Bt, s as Tt, f as X, d as St, A as Ke, g as he, l as C, n as me, o as A, v as I, w as ge, x as Ct, y as _t, C as At, p as je, E as xt, F as Be, G as Te, H as et, z as Rt, I as He, J as ct, r as Et, M as Mt, N as Dt, O as Lt, c as kt, L as Ot } from "./CasinoHamburgerMenuNd-BSRyHOo3.js";
30
+ function tt(i, e) {
31
+ yt(i, e);
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, e) {
243
+ (function(a) {
244
+ var w = a.setTimeout, m = a.clearTimeout, d = a.XMLHttpRequest, T = a.XDomainRequest, g = a.ActiveXObject, b = a.EventSource, B = a.document, D = a.Promise, k = a.fetch, L = 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)), d == null && g != null && (d = function() {
248
+ return new g("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 j = k;
257
+ k = function(n, s) {
258
+ var u = s.signal;
259
+ return j(n, { headers: s.headers, credentials: s.credentials, cache: s.cache }).then(function(l) {
260
+ var t = l.body.getReader();
261
+ return u._reader = t, u._aborted && u._reader.cancel(), {
262
+ status: l.status,
263
+ statusText: l.statusText,
264
+ headers: l.headers,
265
+ body: {
266
+ getReader: function() {
267
+ return t;
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(v, c, y) {
286
+ if (y === 1)
287
+ return v >= 128 >> c && v << c <= 2047;
288
+ if (y === 2)
289
+ return v >= 2048 >> c && v << c <= 55295 || v >= 57344 >> c && v << c <= 65535;
290
+ if (y === 3)
291
+ return v >= 65536 >> c && v << c <= 1114111;
292
+ throw new Error();
293
+ }
294
+ function u(v, c) {
295
+ if (v === 6 * 1)
296
+ return c >> 6 > 15 ? 3 : c > 31 ? 2 : 1;
297
+ if (v === 6 * 2)
298
+ return c > 15 ? 3 : 2;
299
+ if (v === 6 * 3)
300
+ return 3;
301
+ throw new Error();
302
+ }
303
+ for (var l = 65533, t = "", o = this.bitsNeeded, r = this.codePoint, f = 0; f < n.length; f += 1) {
304
+ var h = n[f];
305
+ o !== 0 && (h < 128 || h > 191 || !s(r << 6 | h & 63, o - 6, u(o, r))) && (o = 0, r = l, t += String.fromCharCode(r)), o === 0 ? (h >= 0 && h <= 127 ? (o = 0, r = h) : h >= 192 && h <= 223 ? (o = 6 * 1, r = h & 31) : h >= 224 && h <= 239 ? (o = 6 * 2, r = h & 15) : h >= 240 && h <= 247 ? (o = 6 * 3, r = h & 7) : (o = 0, r = l), o !== 0 && !s(r, o, u(o, r)) && (o = 0, r = l)) : (o -= 6, r = r << 6 | h & 63), o === 0 && (r <= 65535 ? t += String.fromCharCode(r) : (t += String.fromCharCode(55296 + (r - 65535 - 1 >> 10)), t += String.fromCharCode(56320 + (r - 65535 - 1 & 1023))));
306
+ }
307
+ return this.bitsNeeded = o, this.codePoint = r, t;
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 u = this, l = this._xhr, t = 1, o = 0;
326
+ this._abort = function(y) {
327
+ u._sendTimeout !== 0 && (m(u._sendTimeout), u._sendTimeout = 0), (t === 1 || t === 2 || t === 3) && (t = 4, l.onload = F, l.onerror = F, l.onabort = F, l.onprogress = F, l.onreadystatechange = F, l.abort(), o !== 0 && (m(o), o = 0), y || (u.readyState = 4, u.onabort(null), u.onreadystatechange())), t = 0;
328
+ };
329
+ var r = function() {
330
+ if (t === 1) {
331
+ var y = 0, _ = "", W = void 0;
332
+ if ("contentType" in l)
333
+ y = 200, _ = "OK", W = l.contentType;
334
+ else
335
+ try {
336
+ y = l.status, _ = l.statusText, W = l.getResponseHeader("Content-Type");
337
+ } catch (ve) {
338
+ y = 0, _ = "", W = void 0;
339
+ }
340
+ y !== 0 && (t = 2, u.readyState = 2, u.status = y, u.statusText = _, u._contentType = W, u.onreadystatechange());
341
+ }
342
+ }, f = function() {
343
+ if (r(), t === 2 || t === 3) {
344
+ t = 3;
345
+ var y = "";
346
+ try {
347
+ y = l.responseText;
348
+ } catch (_) {
349
+ }
350
+ u.readyState = 3, u.responseText = y, u.onprogress();
351
+ }
352
+ }, h = function(y, _) {
353
+ if ((_ == null || _.preventDefault == null) && (_ = {
354
+ preventDefault: F
355
+ }), f(), t === 1 || t === 2 || t === 3) {
356
+ if (t = 4, o !== 0 && (m(o), o = 0), u.readyState = 4, y === "load")
357
+ u.onload(_);
358
+ else if (y === "error")
359
+ u.onerror(_);
360
+ else if (y === "abort")
361
+ u.onabort(_);
362
+ else
363
+ throw new TypeError();
364
+ u.onreadystatechange();
365
+ }
366
+ }, v = function(y) {
367
+ l != null && (l.readyState === 4 ? (!("onload" in l) || !("onerror" in l) || !("onabort" in l)) && h(l.responseText === "" ? "error" : "load", y) : l.readyState === 3 ? "onprogress" in l || f() : l.readyState === 2 && r());
368
+ }, c = function() {
369
+ o = w(function() {
370
+ c();
371
+ }, 500), l.readyState === 3 && f();
372
+ };
373
+ "onload" in l && (l.onload = function(y) {
374
+ h("load", y);
375
+ }), "onerror" in l && (l.onerror = function(y) {
376
+ h("error", y);
377
+ }), "onabort" in l && (l.onabort = function(y) {
378
+ h("abort", y);
379
+ }), "onprogress" in l && (l.onprogress = f), "onreadystatechange" in l && (l.onreadystatechange = function(y) {
380
+ v(y);
381
+ }), ("contentType" in l || !("ontimeout" in d.prototype)) && (s += (s.indexOf("?") === -1 ? "?" : "&") + "padding=true"), l.open(n, s, !0), "readyState" in l && (o = w(function() {
382
+ c();
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 u = this._xhr;
390
+ "setRequestHeader" in u && u.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 d.prototype) || !("sendAsBinary" in d.prototype) && !("mozAnon" in d.prototype)) && B != null && B.readyState != null && B.readyState !== "complete") {
395
+ var n = this;
396
+ n._sendTimeout = w(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 (u) {
406
+ throw u;
407
+ }
408
+ };
409
+ function Q(n) {
410
+ return n.replace(/[A-Z]/g, function(s) {
411
+ return String.fromCharCode(s.charCodeAt(0) + 32);
412
+ });
413
+ }
414
+ function se(n) {
415
+ for (var s = /* @__PURE__ */ Object.create(null), u = n.split(`\r
416
+ `), l = 0; l < u.length; l += 1) {
417
+ var t = u[l], o = t.split(": "), r = o.shift(), f = o.join(": ");
418
+ s[Q(r)] = f;
419
+ }
420
+ this._map = s;
421
+ }
422
+ se.prototype.get = function(n) {
423
+ return this._map[Q(n)];
424
+ }, d != null && d.HEADERS_RECEIVED == null && (d.HEADERS_RECEIVED = 2);
425
+ function K() {
426
+ }
427
+ K.prototype.open = function(n, s, u, l, t, o, r) {
428
+ n.open("GET", t);
429
+ var f = 0;
430
+ n.onprogress = function() {
431
+ var v = n.responseText, c = v.slice(f);
432
+ f += c.length, u(c);
433
+ }, n.onerror = function(v) {
434
+ v.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 === d.HEADERS_RECEIVED) {
441
+ var v = n.status, c = n.statusText, y = n.getResponseHeader("Content-Type"), _ = n.getAllResponseHeaders();
442
+ s(v, c, y, new se(_));
443
+ }
444
+ }, n.withCredentials = o;
445
+ for (var h in r)
446
+ Object.prototype.hasOwnProperty.call(r, h) && n.setRequestHeader(h, r[h]);
447
+ return n.send(), n;
448
+ };
449
+ function N(n) {
450
+ this._headers = n;
451
+ }
452
+ N.prototype.get = function(n) {
453
+ return this._headers.get(n);
454
+ };
455
+ function E() {
456
+ }
457
+ E.prototype.open = function(n, s, u, l, t, o, r) {
458
+ var f = null, h = new R(), v = h.signal, c = new x();
459
+ return k(t, {
460
+ headers: r,
461
+ credentials: o ? "include" : "same-origin",
462
+ signal: v,
463
+ cache: "no-store"
464
+ }).then(function(y) {
465
+ return f = y.body.getReader(), s(y.status, y.statusText, y.headers.get("Content-Type"), new N(y.headers)), new D(function(_, W) {
466
+ var ve = function() {
467
+ f.read().then(function(H) {
468
+ if (H.done)
469
+ _(void 0);
470
+ else {
471
+ var q = c.decode(H.value, { stream: !0 });
472
+ u(q), ve();
473
+ }
474
+ }).catch(function(H) {
475
+ W(H);
476
+ });
477
+ };
478
+ ve();
479
+ });
480
+ }).catch(function(y) {
481
+ if (y.name !== "AbortError")
482
+ return y;
483
+ }).then(function(y) {
484
+ l(y);
485
+ }), {
486
+ abort: function() {
487
+ f != null && f.cancel(), h.abort();
488
+ }
489
+ };
490
+ };
491
+ function V() {
492
+ this._listeners = /* @__PURE__ */ Object.create(null);
493
+ }
494
+ function M(n) {
495
+ w(function() {
496
+ throw n;
497
+ }, 0);
498
+ }
499
+ V.prototype.dispatchEvent = function(n) {
500
+ n.target = this;
501
+ var s = this._listeners[n.type];
502
+ if (s != null)
503
+ for (var u = s.length, l = 0; l < u; l += 1) {
504
+ var t = s[l];
505
+ try {
506
+ typeof t.handleEvent == "function" ? t.handleEvent(n) : t.call(this, n);
507
+ } catch (o) {
508
+ M(o);
509
+ }
510
+ }
511
+ }, V.prototype.addEventListener = function(n, s) {
512
+ n = String(n);
513
+ var u = this._listeners, l = u[n];
514
+ l == null && (l = [], u[n] = l);
515
+ for (var t = !1, o = 0; o < l.length; o += 1)
516
+ l[o] === s && (t = !0);
517
+ t || l.push(s);
518
+ }, V.prototype.removeEventListener = function(n, s) {
519
+ n = String(n);
520
+ var u = this._listeners, l = u[n];
521
+ if (l != null) {
522
+ for (var t = [], o = 0; o < l.length; o += 1)
523
+ l[o] !== s && t.push(l[o]);
524
+ t.length === 0 ? delete u[n] : u[n] = t;
525
+ }
526
+ };
527
+ function G(n) {
528
+ this.type = n, this.target = void 0;
529
+ }
530
+ function oe(n, s) {
531
+ G.call(this, n), this.data = s.data, this.lastEventId = s.lastEventId;
532
+ }
533
+ oe.prototype = Object.create(G.prototype);
534
+ function ce(n, s) {
535
+ G.call(this, n), this.status = s.status, this.statusText = s.statusText, this.headers = s.headers;
536
+ }
537
+ ce.prototype = Object.create(G.prototype);
538
+ function p(n, s) {
539
+ G.call(this, n), this.error = s.error;
540
+ }
541
+ p.prototype = Object.create(G.prototype);
542
+ var de = -1, ie = 0, Z = 1, we = 2, xe = -1, le = 0, Re = 1, Se = 2, Le = 3, ze = /^text\/event\-stream(;.*)?$/i, Ee = 1e3, ke = 18e6, Me = function(n, s) {
543
+ var u = n == null ? s : parseInt(n, 10);
544
+ return u !== u && (u = s), Ce(u);
545
+ }, Ce = function(n) {
546
+ return Math.min(Math.max(n, Ee), ke);
547
+ }, ye = function(n, s, u) {
548
+ try {
549
+ typeof s == "function" && s.call(n, u);
550
+ } catch (l) {
551
+ M(l);
552
+ }
553
+ };
554
+ function $(n, s) {
555
+ V.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, Ue(this, n, s);
556
+ }
557
+ function Ve() {
558
+ return d != null && "withCredentials" in d.prototype || T == null ? new d() : new T();
559
+ }
560
+ var Oe = k != null && L != null && "body" in L.prototype;
561
+ function Ue(n, s, u) {
562
+ s = String(s);
563
+ var l = !!u.withCredentials, t = u.lastEventIdQueryParameterName || "lastEventId", o = Ce(1e3), r = Me(u.heartbeatTimeout, 45e3), f = "", h = o, v = !1, c = 0, y = u.headers || {}, _ = u.Transport, W = Oe && _ == null ? void 0 : new O(_ != null ? new _() : Ve()), ve = _ != null && typeof _ != "string" ? new _() : W == null ? new E() : new K(), H = void 0, q = 0, re = de, _e = "", Fe = "", ue = "", Ie = "", Y = le, Pe = 0, be = 0, dt = function(U, z, ee, te) {
564
+ if (re === ie)
565
+ if (U === 200 && ee != null && ze.test(ee)) {
566
+ re = Z, v = Date.now(), h = o, n.readyState = Z;
567
+ var J = new ce("open", {
568
+ status: U,
569
+ statusText: z,
570
+ headers: te
571
+ });
572
+ n.dispatchEvent(J), ye(n, n.onopen, J);
573
+ } else {
574
+ var P = "";
575
+ U !== 200 ? (z && (z = z.replace(/\s+/g, " ")), P = "EventSource's response has a status " + U + " " + z + " that is not 200. Aborting the connection.") : P = "EventSource's response has a Content-Type specifying an unsupported type: " + (ee == null ? "-" : ee.replace(/\s+/g, " ")) + ". Aborting the connection.", Ge();
576
+ var J = new ce("error", {
577
+ status: U,
578
+ statusText: z,
579
+ headers: te
580
+ });
581
+ n.dispatchEvent(J), ye(n, n.onerror, J), console.error(P);
582
+ }
583
+ }, ut = function(U) {
584
+ if (re === Z) {
585
+ for (var z = -1, ee = 0; ee < U.length; ee += 1) {
586
+ var te = U.charCodeAt(ee);
587
+ (te === 10 || te === 13) && (z = ee);
588
+ }
589
+ var J = (z !== -1 ? Ie : "") + U.slice(0, z + 1);
590
+ Ie = (z === -1 ? Ie : "") + U.slice(z + 1), U !== "" && (v = Date.now(), c += U.length);
591
+ for (var P = 0; P < J.length; P += 1) {
592
+ var te = J.charCodeAt(P);
593
+ if (Y === xe && te === 10)
594
+ Y = le;
595
+ else if (Y === xe && (Y = le), te === 13 || te === 10) {
596
+ if (Y !== le) {
597
+ Y === Re && (be = P + 1);
598
+ var fe = J.slice(Pe, be - 1), pe = J.slice(be + (be < P && J.charCodeAt(be) === 32 ? 1 : 0), P);
599
+ fe === "data" ? (_e += `
600
+ `, _e += pe) : fe === "id" ? Fe = pe : fe === "event" ? ue = pe : fe === "retry" ? (o = Me(pe, o), h = o) : fe === "heartbeatTimeout" && (r = Me(pe, r), q !== 0 && (m(q), q = w(function() {
601
+ De();
602
+ }, r)));
603
+ }
604
+ if (Y === le) {
605
+ if (_e !== "") {
606
+ f = Fe, ue === "" && (ue = "message");
607
+ var Ae = new oe(ue, {
608
+ data: _e.slice(1),
609
+ lastEventId: Fe
610
+ });
611
+ if (n.dispatchEvent(Ae), ue === "open" ? ye(n, n.onopen, Ae) : ue === "message" ? ye(n, n.onmessage, Ae) : ue === "error" && ye(n, n.onerror, Ae), re === we)
612
+ return;
613
+ }
614
+ _e = "", ue = "";
615
+ }
616
+ Y = te === 13 ? xe : le;
617
+ } else
618
+ Y === le && (Pe = P, Y = Re), Y === Re ? te === 58 && (be = P + 1, Y = Se) : Y === Se && (Y = Le);
619
+ }
620
+ }
621
+ }, qe = function(U) {
622
+ if (re === Z || re === ie) {
623
+ re = de, q !== 0 && (m(q), q = 0), q = w(function() {
624
+ De();
625
+ }, h), h = Ce(Math.min(o * 16, h * 2)), n.readyState = ie;
626
+ var z = new p("error", { error: U });
627
+ n.dispatchEvent(z), ye(n, n.onerror, z), U != null && console.error(U);
628
+ }
629
+ }, Ge = function() {
630
+ re = we, H != null && (H.abort(), H = void 0), q !== 0 && (m(q), q = 0), n.readyState = we;
631
+ }, De = function() {
632
+ if (q = 0, re !== de) {
633
+ if (!v && H != null)
634
+ qe(new Error("No activity within " + r + " milliseconds. " + (re === ie ? "No response received." : c + " chars received.") + " Reconnecting.")), H != null && (H.abort(), H = void 0);
635
+ else {
636
+ var U = Math.max((v || Date.now()) + r - Date.now(), 1);
637
+ v = !1, q = w(function() {
638
+ De();
639
+ }, U);
640
+ }
641
+ return;
642
+ }
643
+ v = !1, c = 0, q = w(function() {
644
+ De();
645
+ }, r), re = ie, _e = "", ue = "", Fe = f, Ie = "", Pe = 0, be = 0, Y = le;
646
+ var z = s;
647
+ if (s.slice(0, 5) !== "data:" && s.slice(0, 5) !== "blob:" && f !== "") {
648
+ var ee = s.indexOf("?");
649
+ z = ee === -1 ? s : s.slice(0, ee + 1) + s.slice(ee + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(pe, Ae) {
650
+ return Ae === t ? "" : pe;
651
+ }), z += (s.indexOf("?") === -1 ? "?" : "&") + t + "=" + encodeURIComponent(f);
652
+ }
653
+ var te = n.withCredentials, J = {};
654
+ J.Accept = "text/event-stream";
655
+ var P = n.headers;
656
+ if (P != null)
657
+ for (var fe in P)
658
+ Object.prototype.hasOwnProperty.call(P, fe) && (J[fe] = P[fe]);
659
+ try {
660
+ H = ve.open(W, dt, ut, qe, z, te, J);
661
+ } catch (pe) {
662
+ throw Ge(), pe;
663
+ }
664
+ };
665
+ n.url = s, n.readyState = ie, n.withCredentials = l, n.headers = y, n._close = Ge, De();
666
+ }
667
+ $.prototype = Object.create(V.prototype), $.prototype.CONNECTING = ie, $.prototype.OPEN = Z, $.prototype.CLOSED = we, $.prototype.close = function() {
668
+ this._close();
669
+ }, $.CONNECTING = ie, $.OPEN = Z, $.CLOSED = we, $.prototype.withCredentials = void 0;
670
+ var Ne = b;
671
+ d != null && (b == null || !("withCredentials" in b.prototype)) && (Ne = $), function(n) {
672
+ {
673
+ var s = n(e);
674
+ s !== void 0 && (i.exports = s);
675
+ }
676
+ }(function(n) {
677
+ n.EventSourcePolyfill = $, n.NativeEventSource = b, 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
+ St(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, e, a) {
686
+ const w = i.slice();
687
+ return w[54] = e[a], w;
688
+ }
689
+ function ot(i, e, a) {
690
+ const w = i.slice();
691
+ return w[57] = e[a], w;
692
+ }
693
+ function jt(i) {
694
+ let e, a, w = (
695
+ /*balances*/
696
+ (i[1].Total ? (
697
+ /*formatBalance*/
698
+ i[8](
699
+ /*balances*/
700
+ i[1].Total[0].amount
701
+ )
702
+ ) : "0") + ""
703
+ ), m, d, T, g, b, B, D, k, L, x, S = (
704
+ /*showBalance*/
705
+ i[4] && rt(i)
706
+ );
707
+ return {
708
+ c() {
709
+ e = I("button"), a = I("p"), m = Te(w), d = ge(), T = I("span"), g = et("svg"), b = et("path"), D = ge(), S && S.c(), k = Rt(), C(b, "id", "arrow"), C(b, "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"), C(b, "transform", "translate(-274.511 -441.088)"), C(b, "fill", "#d1d1d1"), C(g, "xmlns", "http://www.w3.org/2000/svg"), C(g, "width", "14"), C(g, "height", "6.835"), C(g, "viewBox", "0 0 14 6.835"), C(T, "class", B = /*isModalDisplayed*/
710
+ i[3] ? "TriangleActive" : "TriangleInactive"), C(e, "class", "BalanceValue");
711
+ },
712
+ m(R, j) {
713
+ me(R, e, j), A(e, a), A(a, m), A(e, d), A(e, T), A(T, g), A(g, b), me(R, D, j), S && S.m(R, j), me(R, k, j), L || (x = je(
714
+ e,
715
+ "click",
716
+ /*click_handler*/
717
+ i[26]
718
+ ), L = !0);
719
+ },
720
+ p(R, j) {
721
+ j[0] & /*balances*/
722
+ 2 && w !== (w = /*balances*/
723
+ (R[1].Total ? (
724
+ /*formatBalance*/
725
+ R[8](
726
+ /*balances*/
727
+ R[1].Total[0].amount
728
+ )
729
+ ) : "0") + "") && Be(m, w), j[0] & /*isModalDisplayed*/
730
+ 8 && B !== (B = /*isModalDisplayed*/
731
+ R[3] ? "TriangleActive" : "TriangleInactive") && C(T, "class", B), /*showBalance*/
732
+ R[4] ? S ? S.p(R, j) : (S = rt(R), S.c(), S.m(k.parentNode, k)) : S && (S.d(1), S = null);
733
+ },
734
+ d(R) {
735
+ R && (he(e), he(D), he(k)), S && S.d(R), L = !1, x();
736
+ }
737
+ };
738
+ }
739
+ function Ht(i) {
740
+ let e, a = (
741
+ /*$_*/
742
+ i[6]("Loading") + ""
743
+ ), w;
744
+ return {
745
+ c() {
746
+ e = I("p"), w = Te(a), C(e, "class", "Loading");
747
+ },
748
+ m(m, d) {
749
+ me(m, e, d), A(e, w);
750
+ },
751
+ p(m, d) {
752
+ d[0] & /*$_*/
753
+ 64 && a !== (a = /*$_*/
754
+ m[6]("Loading") + "") && Be(w, a);
755
+ },
756
+ d(m) {
757
+ m && he(e);
758
+ }
759
+ };
760
+ }
761
+ function rt(i) {
762
+ let e, a, w, m, d, T, g, b, B = (
763
+ /*$_*/
764
+ i[6]("Title") + ""
765
+ ), D, k, L, x, S, R, j = (
766
+ /*$_*/
767
+ i[6]("DepositButton") + ""
768
+ ), ae, ne, F, O, Q, se, K = He(Object.keys(
769
+ /*balances*/
770
+ i[1]
771
+ )), N = [];
772
+ for (let E = 0; E < K.length; E += 1)
773
+ N[E] = lt(nt(i, K, E));
774
+ return {
775
+ c() {
776
+ e = I("div"), a = I("button"), m = ge(), d = I("div"), T = I("div"), g = I("div"), b = I("p"), D = Te(B), k = ge(), L = I("div");
777
+ for (let E = 0; E < N.length; E += 1)
778
+ N[E].c();
779
+ x = ge(), S = I("div"), R = I("button"), ae = Te(j), C(a, "class", w = "BalanceModalClose " + /*isModalDisplayed*/
780
+ (i[3] ? "Open" : "")), C(b, "class", "BalanceModalTitle"), C(g, "class", "BalanceModalHeader"), C(L, "class", "BalanceModalBody"), C(R, "class", "BalanceModalAction"), C(S, "class", "BalanceModalFooter"), C(T, "class", ne = "ModalContent " + /*isModalDisplayed*/
781
+ (i[3] ? "Open" : "")), C(d, "class", F = "BalanceModal " + /*isModalDisplayed*/
782
+ (i[3] ? "Open" : "")), C(e, "class", O = "BalanceModalWrapper " + /*isModalDisplayed*/
783
+ (i[3] ? "Open" : ""));
784
+ },
785
+ m(E, V) {
786
+ me(E, e, V), A(e, a), A(e, m), A(e, d), A(d, T), A(T, g), A(g, b), A(b, D), A(T, k), A(T, L);
787
+ for (let M = 0; M < N.length; M += 1)
788
+ N[M] && N[M].m(L, null);
789
+ A(T, x), A(T, S), A(S, R), A(R, ae), Q || (se = [
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
+ ], Q = !0);
803
+ },
804
+ p(E, V) {
805
+ if (V[0] & /*isModalDisplayed*/
806
+ 8 && w !== (w = "BalanceModalClose " + /*isModalDisplayed*/
807
+ (E[3] ? "Open" : "")) && C(a, "class", w), V[0] & /*$_*/
808
+ 64 && B !== (B = /*$_*/
809
+ E[6]("Title") + "") && Be(D, B), V[0] & /*balances, formatBalance, $_*/
810
+ 322) {
811
+ K = He(Object.keys(
812
+ /*balances*/
813
+ E[1]
814
+ ));
815
+ let M;
816
+ for (M = 0; M < K.length; M += 1) {
817
+ const G = nt(E, K, M);
818
+ N[M] ? N[M].p(G, V) : (N[M] = lt(G), N[M].c(), N[M].m(L, null));
819
+ }
820
+ for (; M < N.length; M += 1)
821
+ N[M].d(1);
822
+ N.length = K.length;
823
+ }
824
+ V[0] & /*$_*/
825
+ 64 && j !== (j = /*$_*/
826
+ E[6]("DepositButton") + "") && Be(ae, j), V[0] & /*isModalDisplayed*/
827
+ 8 && ne !== (ne = "ModalContent " + /*isModalDisplayed*/
828
+ (E[3] ? "Open" : "")) && C(T, "class", ne), V[0] & /*isModalDisplayed*/
829
+ 8 && F !== (F = "BalanceModal " + /*isModalDisplayed*/
830
+ (E[3] ? "Open" : "")) && C(d, "class", F), V[0] & /*isModalDisplayed*/
831
+ 8 && O !== (O = "BalanceModalWrapper " + /*isModalDisplayed*/
832
+ (E[3] ? "Open" : "")) && C(e, "class", O);
833
+ },
834
+ d(E) {
835
+ E && he(e), ct(N, E), Q = !1, Et(se);
836
+ }
837
+ };
838
+ }
839
+ function it(i) {
840
+ let e, a, w = (
841
+ /*$_*/
842
+ i[6](
843
+ /*k*/
844
+ i[54]
845
+ ) + ""
846
+ ), m, d, T = (
847
+ /*b*/
848
+ (i[57].productType ? (
849
+ /*$_*/
850
+ i[6](
851
+ /*b*/
852
+ i[57].productType
853
+ )
854
+ ) : "") + ""
855
+ ), g, b, B, D, k = (
856
+ /*formatBalance*/
857
+ i[8](
858
+ /*b*/
859
+ i[57].amount
860
+ ) + ""
861
+ ), L;
862
+ return {
863
+ c() {
864
+ e = I("div"), a = I("p"), m = Te(w), d = ge(), g = Te(T), b = ge(), B = I("p"), D = I("span"), L = Te(k), C(a, "class", "BalanceModalText"), C(D, "class", "BalanceModalAmount"), C(B, "class", "BalanceModalValue"), C(e, "class", "BalanceModalRowLine");
865
+ },
866
+ m(x, S) {
867
+ me(x, e, S), A(e, a), A(a, m), A(a, d), A(a, g), A(e, b), A(e, B), A(B, D), A(D, L);
868
+ },
869
+ p(x, S) {
870
+ S[0] & /*$_, balances*/
871
+ 66 && w !== (w = /*$_*/
872
+ x[6](
873
+ /*k*/
874
+ x[54]
875
+ ) + "") && Be(m, w), S[0] & /*balances, $_*/
876
+ 66 && T !== (T = /*b*/
877
+ (x[57].productType ? (
878
+ /*$_*/
879
+ x[6](
880
+ /*b*/
881
+ x[57].productType
882
+ )
883
+ ) : "") + "") && Be(g, T), S[0] & /*balances*/
884
+ 2 && k !== (k = /*formatBalance*/
885
+ x[8](
886
+ /*b*/
887
+ x[57].amount
888
+ ) + "") && Be(L, k);
889
+ },
890
+ d(x) {
891
+ x && he(e);
892
+ }
893
+ };
894
+ }
895
+ function lt(i) {
896
+ let e, a, w = He(
897
+ /*balances*/
898
+ i[1][
899
+ /*k*/
900
+ i[54]
901
+ ]
902
+ ), m = [];
903
+ for (let d = 0; d < w.length; d += 1)
904
+ m[d] = it(ot(i, w, d));
905
+ return {
906
+ c() {
907
+ e = I("div");
908
+ for (let d = 0; d < m.length; d += 1)
909
+ m[d].c();
910
+ a = ge(), C(e, "class", "BalanceModalRowBoth");
911
+ },
912
+ m(d, T) {
913
+ me(d, e, T);
914
+ for (let g = 0; g < m.length; g += 1)
915
+ m[g] && m[g].m(e, null);
916
+ A(e, a);
917
+ },
918
+ p(d, T) {
919
+ if (T[0] & /*formatBalance, balances, $_*/
920
+ 322) {
921
+ w = He(
922
+ /*balances*/
923
+ d[1][
924
+ /*k*/
925
+ d[54]
926
+ ]
927
+ );
928
+ let g;
929
+ for (g = 0; g < w.length; g += 1) {
930
+ const b = ot(d, w, g);
931
+ m[g] ? m[g].p(b, T) : (m[g] = it(b), m[g].c(), m[g].m(e, a));
932
+ }
933
+ for (; g < m.length; g += 1)
934
+ m[g].d(1);
935
+ m.length = w.length;
936
+ }
937
+ },
938
+ d(d) {
939
+ d && he(e), ct(m, d);
940
+ }
941
+ };
942
+ }
943
+ function st(i) {
944
+ let e, a, w;
945
+ return {
946
+ c() {
947
+ e = I("button"), C(e, "class", "ShowBalanceModalOverlay");
948
+ },
949
+ m(m, d) {
950
+ me(m, e, d), a || (w = je(
951
+ e,
952
+ "click",
953
+ /*click_handler_3*/
954
+ i[29]
955
+ ), a = !0);
956
+ },
957
+ p: Ke,
958
+ d(m) {
959
+ m && he(e), a = !1, w();
960
+ }
961
+ };
962
+ }
963
+ function zt(i) {
964
+ let e, a, w, m;
965
+ function d(B, D) {
966
+ return (
967
+ /*isLoading*/
968
+ B[2] ? Ht : jt
969
+ );
970
+ }
971
+ let T = d(i), g = T(i), b = (
972
+ /*showBalance*/
973
+ i[4] && st(i)
974
+ );
975
+ return {
976
+ c() {
977
+ e = I("div"), a = I("div"), g.c(), m = ge(), b && b.c(), C(a, "class", w = "ShowBalance " + /*mobileView*/
978
+ (i[5] ? "Mobile" : ""));
979
+ },
980
+ m(B, D) {
981
+ me(B, e, D), A(e, a), g.m(a, null), A(e, m), b && b.m(e, null), i[30](e);
982
+ },
983
+ p(B, D) {
984
+ T === (T = d(B)) && g ? g.p(B, D) : (g.d(1), g = T(B), g && (g.c(), g.m(a, null))), D[0] & /*mobileView*/
985
+ 32 && w !== (w = "ShowBalance " + /*mobileView*/
986
+ (B[5] ? "Mobile" : "")) && C(a, "class", w), /*showBalance*/
987
+ B[4] ? b ? b.p(B, D) : (b = st(B), b.c(), b.m(e, null)) : b && (b.d(1), b = null);
988
+ },
989
+ i: Ke,
990
+ o: Ke,
991
+ d(B) {
992
+ B && he(e), g.d(), b && b.d(), i[30](null);
993
+ }
994
+ };
995
+ }
996
+ function Vt(i, e, a) {
997
+ let w;
998
+ Ct(i, Ot, (t) => a(6, w = t));
999
+ let { userid: m = "" } = e, { session: d = "" } = e, { endpoint: T = "" } = e, { lang: g = "en" } = e, { mbsource: b } = e, { clientstyling: B = "" } = e, { clientstylingurl: D = "" } = e, { translationurl: k = "" } = e, { gmversion: L = "gm16" } = e, { displaybalanceoption: x = "All" } = e, { totalcalculationmode: S = "totalCashAmount" } = e, { currencylocale: R = "en" } = e, { currencydisplay: j = "symbol" } = e, { maximumfractiondigits: ae = "2" } = e, { minimumfractiondigits: ne = "0" } = e, { customdisplayformat: F = "" } = e, O, Q = !0, se = !1, K = !1, N = !1, E = !1, V = window.navigator.userAgent, M, G = "", oe = [], ce;
1000
+ const p = {}, de = ["totalCashAmount", "totalRealAmount"], ie = () => {
1001
+ fetch(k).then((t) => t.json()).then((t) => Object.keys(t).forEach((o) => tt(o, t[o]))).catch((t) => console.log(t));
1002
+ };
1003
+ Object.keys(at).forEach((t) => tt(t, at[t]));
1004
+ const Z = (t) => {
1005
+ switch (t) {
1006
+ case "balance":
1007
+ window.postMessage(
1008
+ {
1009
+ type: "BalanceModalStatus",
1010
+ status: "open"
1011
+ },
1012
+ window.location.href
1013
+ ), a(4, N = !0), setTimeout(() => a(3, se = !0), 150);
1014
+ break;
1015
+ case "closebalance":
1016
+ a(3, se = !1), window.postMessage(
1017
+ {
1018
+ type: "BalanceModalStatus",
1019
+ status: "close"
1020
+ },
1021
+ window.location.href
1022
+ ), setTimeout(
1023
+ () => {
1024
+ a(4, N = !1);
1025
+ },
1026
+ 150
1027
+ );
1028
+ break;
1029
+ }
1030
+ }, we = (t) => {
1031
+ if (F)
1032
+ return xe(t);
1033
+ const o = R || g, r = {
1034
+ style: "currency",
1035
+ currency: G,
1036
+ useGrouping: !0,
1037
+ currencyDisplay: j || "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(o, r).format(t);
1042
+ }, xe = (t) => {
1043
+ const o = [];
1044
+ let r = "";
1045
+ for (const f of F)
1046
+ switch (f) {
1047
+ default:
1048
+ r += f;
1049
+ break;
1050
+ case "{":
1051
+ r && o.push(r), r = "";
1052
+ break;
1053
+ case "}":
1054
+ const [h, v] = r.split("|");
1055
+ if (r = "", h.toLowerCase() === "currency")
1056
+ r = G;
1057
+ else if (h.toLowerCase() === "amount") {
1058
+ let c = ",", y = ".", _ = 2;
1059
+ v && (v[0] !== " " && (c = v[0]), v[1] !== " " && (y = v[1]), v[2] !== " " && !isNaN(Number(v[2])) && (_ = Number(v[2])));
1060
+ let [W, ve] = String(Math.floor(t * Xe(10, _)) / Xe(10, _)).split(".");
1061
+ r += W[0];
1062
+ for (let H = 1; H < W.length; ++H)
1063
+ (W.length - H) % 3 === 0 ? r += c + W[H] : r += W[H];
1064
+ ve && (r += y + ve);
1065
+ }
1066
+ r && o.push(r), r = "";
1067
+ break;
1068
+ }
1069
+ return o.push(r), o.join("");
1070
+ }, le = () => $e(this, null, function* () {
1071
+ var o, r, f;
1072
+ a(2, Q = !0);
1073
+ const t = new URL(`${T}/v1/player/${m}/account`);
1074
+ try {
1075
+ const h = yield fetch(t, {
1076
+ method: "GET",
1077
+ headers: { "X-SessionID": d }
1078
+ }), v = yield h.json();
1079
+ if (h.ok)
1080
+ window.postMessage({ type: "BalancedFetched" }, window.location.href), oe = v.items, G = (o = oe.find((c) => c.displayName === "Casino")) == null ? void 0 : o.currency, a(1, p.Total = [{ amount: v.totalAmount[G] }], p), a(
1081
+ 1,
1082
+ p.Real = [
1083
+ {
1084
+ amount: (r = oe.find((c) => c.displayName === "Casino")) == null ? void 0 : r.balanceAmount
1085
+ }
1086
+ ],
1087
+ p
1088
+ ), a(
1089
+ 1,
1090
+ p.Bonus = [
1091
+ {
1092
+ amount: (f = oe.find((c) => c.displayName === "UBS")) == null ? void 0 : f.balanceAmount
1093
+ }
1094
+ ],
1095
+ p
1096
+ );
1097
+ else
1098
+ throw new Error("Failed to fetch balance data !");
1099
+ } catch (h) {
1100
+ console.log("Balance error: ", h);
1101
+ } finally {
1102
+ a(2, Q = !1);
1103
+ }
1104
+ }), Re = () => {
1105
+ a(2, Q = !0);
1106
+ const t = new URL(`${T}/v2/player/${m}/balance`), o = new Headers();
1107
+ o.append("X-SessionID", d), fetch(t, { method: "GET", headers: o }).then((f) => f.json()).then((f) => {
1108
+ f[S] || a(10, S = de[0]);
1109
+ const h = f.items.find((c) => c.type === "Real" && c.walletAccountType === "Ordinary");
1110
+ if (G = h.currency, K = !!h.productType, a(1, p.Total = [{ amount: 0 }], p), a(1, p.Real = [], p), a(1, p.Bonus = [], p), a(1, p.Credit = [], p), !K) {
1111
+ ce = {
1112
+ lastOrdinaryAfterAmount: 0,
1113
+ showCreditLineAfterAmount: !1
1114
+ }, a(1, p.Total[0].amount = f[S][G], p);
1115
+ for (const c of f.items)
1116
+ switch (c.type) {
1117
+ case "Bonus":
1118
+ p.Bonus.length === 0 ? p.Bonus.push({ amount: c.amount }) : a(1, p.Bonus[0].amount += c.amount, p);
1119
+ break;
1120
+ case "Real":
1121
+ if (c.creditLine && p.Credit.length === 0 && p.Credit.push({ amount: c.creditLine }), S === "totalRealAmount")
1122
+ continue;
1123
+ p.Real.length === 0 ? p.Real.push({ amount: c.amount }) : a(1, p.Real[0].amount += c.amount, p);
1124
+ break;
1125
+ }
1126
+ for (const [c, y] of Object.entries(p))
1127
+ y.length < 1 && delete p[c];
1128
+ a(2, Q = !1);
1129
+ return;
1130
+ }
1131
+ ce = {
1132
+ Casino: {
1133
+ lastOrdinaryAfterAmount: 0,
1134
+ showCreditLineAfterAmount: !1
1135
+ },
1136
+ Sports: {
1137
+ lastOrdinaryAfterAmount: 0,
1138
+ showCreditLineAfterAmount: !1
1139
+ }
1140
+ };
1141
+ let v = f.items;
1142
+ x && x !== "All" && (v = f.items.filter((c) => c.productType === x));
1143
+ for (const c of v) {
1144
+ let y;
1145
+ switch (c.type) {
1146
+ case "Bonus":
1147
+ y = p.Bonus.findIndex((_) => _.productType === c.productType), y > 0 ? a(1, p.Bonus[y].amount += c.amount, p) : p.Bonus.push({
1148
+ amount: c.amount,
1149
+ productType: c.productType
1150
+ });
1151
+ break;
1152
+ case "Real":
1153
+ c.creditLine && p.Credit.push({
1154
+ amount: c.creditLine,
1155
+ productType: c.productType
1156
+ }), y = p.Real.findIndex((_) => _.productType === c.productType), y > 0 ? a(1, p.Real[y].amount += c.amount, p) : p.Real.push({
1157
+ amount: c.amount,
1158
+ productType: c.productType
1159
+ });
1160
+ break;
1161
+ }
1162
+ }
1163
+ ke();
1164
+ for (const [c, y] of Object.entries(p))
1165
+ y.length < 1 && delete p[c];
1166
+ a(2, Q = !1);
1167
+ }).catch((f) => {
1168
+ throw a(2, Q = !1), console.log("Balance fetch error", f), new Error("Failed to fetch balance data!");
1169
+ });
1170
+ }, Se = () => {
1171
+ if (M && M.close(), d.length < 1)
1172
+ return;
1173
+ let t, o;
1174
+ switch (L) {
1175
+ case "gm16":
1176
+ t = new URL(`${T}/v2/player/${m}/information/updates`), o = (h) => Me(h);
1177
+ break;
1178
+ case "gmcore":
1179
+ t = new URL(`${T}/v1/player/${m}/balance/updates`), o = (h) => ze(h);
1180
+ break;
1181
+ }
1182
+ const r = {
1183
+ accept: "text/event-stream",
1184
+ "X-SessionId": d
1185
+ }, f = new Ft.EventSourcePolyfill(t, { headers: r });
1186
+ M = f, f.addEventListener("message", o);
1187
+ }, Le = (t) => {
1188
+ let o;
1189
+ try {
1190
+ o = JSON.parse(t);
1191
+ } catch (r) {
1192
+ console.log("Balance stream failed: ", r);
1193
+ return;
1194
+ }
1195
+ return o;
1196
+ }, ze = (t) => {
1197
+ var h, v;
1198
+ const o = Le(t.data);
1199
+ if (!o) {
1200
+ Se();
1201
+ return;
1202
+ }
1203
+ let r = "0";
1204
+ const f = o.balanceChange;
1205
+ oe = oe.map((c) => (f && f[c.id] && (c = Ze(Qe({}, c), {
1206
+ balanceAmount: f[c.id].afterAmount
1207
+ })), r = (parseFloat(c == null ? void 0 : c.balanceAmount) + parseFloat(r)).toString(), c)), a(1, p.Real = [{ amount: (h = oe[0]) == null ? void 0 : h.balanceAmount }], p), a(1, p.Bonus = [{ amount: (v = oe[1]) == null ? void 0 : v.balanceAmount }], p), a(1, p.Total = [{ amount: Number(r) }], p);
1208
+ }, Ee = (t, o, r) => {
1209
+ let f = null;
1210
+ switch (r.walletAccountType) {
1211
+ case "Ordinary":
1212
+ (r.afterAmount !== r.affectedAmount || o.lastOrdinaryAfterAmount === 0) && (o.lastOrdinaryAfterAmount = r.afterAmount, o.showCreditLineAfterAmount || (f = r.afterAmount));
1213
+ break;
1214
+ case "CreditLine":
1215
+ r.afterAmount !== 0 ? (f = r.afterAmount, o.showCreditLineAfterAmount = !0) : (f = o.lastOrdinaryAfterAmount, o.showCreditLineAfterAmount = !1);
1216
+ break;
1217
+ default:
1218
+ f = r.afterAmount;
1219
+ }
1220
+ return f === null ? t : f;
1221
+ }, ke = () => {
1222
+ switch (S) {
1223
+ case "totalCashAmount":
1224
+ let t = 0;
1225
+ for (const r of ["Real", "Bonus"])
1226
+ for (const f of p[r])
1227
+ t += Math.max(f.amount, 0);
1228
+ a(1, p.Total[0].amount = t, p);
1229
+ break;
1230
+ case "totalRealAmount":
1231
+ if (!K)
1232
+ return;
1233
+ let o = 0;
1234
+ for (const r of p.Real)
1235
+ o += r.amount;
1236
+ a(1, p.Total[0].amount = o, p);
1237
+ }
1238
+ }, Me = (t) => {
1239
+ const o = Le(t.data);
1240
+ if (!o) {
1241
+ Se();
1242
+ return;
1243
+ }
1244
+ if (ye(o == null ? void 0 : o.type) || o.type !== "BALANCE_UPDATE_V2")
1245
+ return;
1246
+ const r = o.body.balanceChange;
1247
+ for (const [f, h] of Object.entries(r))
1248
+ if (S === "totalRealAmount" && f === "Real" && !K && a(1, p.Total[0].amount = Ee(p.Total[0].amount, ce, h), p), !!p[f])
1249
+ for (const v of p[f]) {
1250
+ if (!K) {
1251
+ v.amount = f === "Real" ? Ee(v.amount, ce, h) : h.afterAmount;
1252
+ continue;
1253
+ }
1254
+ h.productType === v.productType && (v.amount = f === "Real" ? Ee(v.amount, ce[v.productType], h) : h.afterAmount);
1255
+ }
1256
+ ke();
1257
+ }, Ce = () => {
1258
+ Z("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
1259
+ }, ye = (t) => t === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, $ = () => {
1260
+ de.includes(S) || (console.error(`Unsupported value ('${S}') for totalcalculationmode parameter. Only the following values are supported ${de}. Using default value ('${de[0]}').`), a(10, S = de[0]));
1261
+ }, Ve = () => {
1262
+ switch (Nt(g), $(), L) {
1263
+ case "gmcore":
1264
+ le();
1265
+ break;
1266
+ case "gm16":
1267
+ Re();
1268
+ break;
1269
+ default:
1270
+ throw Error(`Invalid apiversion attribute: ${L}`);
1271
+ }
1272
+ }, Oe = (t) => {
1273
+ const { data: { type: o } = {} } = t || {};
1274
+ switch (o) {
1275
+ case "LogoutSuccessfull":
1276
+ M.close();
1277
+ break;
1278
+ case "CloseBalance":
1279
+ Z("closebalance");
1280
+ break;
1281
+ }
1282
+ }, Ue = () => {
1283
+ window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
1284
+ };
1285
+ _t(() => (window.addEventListener("message", Oe, !1), a(5, E = At(V)), () => {
1286
+ window.removeEventListener("message", Oe), M && M.close();
1287
+ }));
1288
+ const Ne = () => Z("balance"), n = () => Z("closebalance"), s = () => Ce(), u = () => Z("closebalance");
1289
+ function l(t) {
1290
+ xt[t ? "unshift" : "push"](() => {
1291
+ O = t, a(0, O);
1292
+ });
1293
+ }
1294
+ return i.$$set = (t) => {
1295
+ "userid" in t && a(11, m = t.userid), "session" in t && a(12, d = t.session), "endpoint" in t && a(13, T = t.endpoint), "lang" in t && a(14, g = t.lang), "mbsource" in t && a(15, b = t.mbsource), "clientstyling" in t && a(16, B = t.clientstyling), "clientstylingurl" in t && a(17, D = t.clientstylingurl), "translationurl" in t && a(18, k = t.translationurl), "gmversion" in t && a(19, L = t.gmversion), "displaybalanceoption" in t && a(20, x = t.displaybalanceoption), "totalcalculationmode" in t && a(10, S = t.totalcalculationmode), "currencylocale" in t && a(21, R = t.currencylocale), "currencydisplay" in t && a(22, j = t.currencydisplay), "maximumfractiondigits" in t && a(23, ae = t.maximumfractiondigits), "minimumfractiondigits" in t && a(24, ne = t.minimumfractiondigits), "customdisplayformat" in t && a(25, F = t.customdisplayformat);
1296
+ }, i.$$.update = () => {
1297
+ i.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
1298
+ 1603584 && T && m && d && g && L && x && Ve(), i.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
1299
+ 538624 && T && m && d && L && Se(), i.$$.dirty[0] & /*translationurl*/
1300
+ 262144 && k && ie(), i.$$.dirty[0] & /*balances*/
1301
+ 2 && p.Total && Ue(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1302
+ 65537 && B && O && Mt(O, B), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1303
+ 131073 && D && O && Dt(O, D), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
1304
+ 32769 && b && O && Lt(O, `${b}.Style`);
1305
+ }, [
1306
+ O,
1307
+ p,
1308
+ Q,
1309
+ se,
1310
+ N,
1311
+ E,
1312
+ w,
1313
+ Z,
1314
+ we,
1315
+ Ce,
1316
+ S,
1317
+ m,
1318
+ d,
1319
+ T,
1320
+ g,
1321
+ b,
1322
+ B,
1323
+ D,
1324
+ k,
1325
+ L,
1326
+ x,
1327
+ R,
1328
+ j,
1329
+ ae,
1330
+ ne,
1331
+ F,
1332
+ Ne,
1333
+ n,
1334
+ s,
1335
+ u,
1336
+ l
1337
+ ];
1338
+ }
1339
+ class Ut extends bt {
1340
+ constructor(e) {
1341
+ super(), Bt(
1342
+ this,
1343
+ e,
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(e) {
1373
+ this.$$set({ userid: e }), X();
1374
+ }
1375
+ get session() {
1376
+ return this.$$.ctx[12];
1377
+ }
1378
+ set session(e) {
1379
+ this.$$set({ session: e }), X();
1380
+ }
1381
+ get endpoint() {
1382
+ return this.$$.ctx[13];
1383
+ }
1384
+ set endpoint(e) {
1385
+ this.$$set({ endpoint: e }), X();
1386
+ }
1387
+ get lang() {
1388
+ return this.$$.ctx[14];
1389
+ }
1390
+ set lang(e) {
1391
+ this.$$set({ lang: e }), X();
1392
+ }
1393
+ get mbsource() {
1394
+ return this.$$.ctx[15];
1395
+ }
1396
+ set mbsource(e) {
1397
+ this.$$set({ mbsource: e }), X();
1398
+ }
1399
+ get clientstyling() {
1400
+ return this.$$.ctx[16];
1401
+ }
1402
+ set clientstyling(e) {
1403
+ this.$$set({ clientstyling: e }), X();
1404
+ }
1405
+ get clientstylingurl() {
1406
+ return this.$$.ctx[17];
1407
+ }
1408
+ set clientstylingurl(e) {
1409
+ this.$$set({ clientstylingurl: e }), X();
1410
+ }
1411
+ get translationurl() {
1412
+ return this.$$.ctx[18];
1413
+ }
1414
+ set translationurl(e) {
1415
+ this.$$set({ translationurl: e }), X();
1416
+ }
1417
+ get gmversion() {
1418
+ return this.$$.ctx[19];
1419
+ }
1420
+ set gmversion(e) {
1421
+ this.$$set({ gmversion: e }), X();
1422
+ }
1423
+ get displaybalanceoption() {
1424
+ return this.$$.ctx[20];
1425
+ }
1426
+ set displaybalanceoption(e) {
1427
+ this.$$set({ displaybalanceoption: e }), X();
1428
+ }
1429
+ get totalcalculationmode() {
1430
+ return this.$$.ctx[10];
1431
+ }
1432
+ set totalcalculationmode(e) {
1433
+ this.$$set({ totalcalculationmode: e }), X();
1434
+ }
1435
+ get currencylocale() {
1436
+ return this.$$.ctx[21];
1437
+ }
1438
+ set currencylocale(e) {
1439
+ this.$$set({ currencylocale: e }), X();
1440
+ }
1441
+ get currencydisplay() {
1442
+ return this.$$.ctx[22];
1443
+ }
1444
+ set currencydisplay(e) {
1445
+ this.$$set({ currencydisplay: e }), X();
1446
+ }
1447
+ get maximumfractiondigits() {
1448
+ return this.$$.ctx[23];
1449
+ }
1450
+ set maximumfractiondigits(e) {
1451
+ this.$$set({ maximumfractiondigits: e }), X();
1452
+ }
1453
+ get minimumfractiondigits() {
1454
+ return this.$$.ctx[24];
1455
+ }
1456
+ set minimumfractiondigits(e) {
1457
+ this.$$set({ minimumfractiondigits: e }), X();
1458
+ }
1459
+ get customdisplayformat() {
1460
+ return this.$$.ctx[25];
1461
+ }
1462
+ set customdisplayformat(e) {
1463
+ this.$$set({ customdisplayformat: e }), X();
1464
+ }
1465
+ }
1466
+ kt(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
+ };