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