@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
@@ -1,1440 +0,0 @@
1
- import { b as it, $ as lt, P as st, S as ct, i as dt, s as ut, f as X, d as ft, A as Xe, g as he, l as C, n as me, o as A, v as I, w as ge, x as pt, L as ht, y as mt, C as gt, p as je, E as yt, F as Be, G as Te, H as qe, z as vt, I as He, J as nt, r as wt, M as bt, N as Bt, O as Tt, c as St } from "./CasinoHamburgerMenuNd-CAynNbpM.js";
2
- function Ye(s, a) {
3
- it(s, a);
4
- }
5
- function Ct(s) {
6
- lt.set(s);
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(s, a) {
215
- (function(n) {
216
- var v = n.setTimeout, g = n.clearTimeout, d = n.XMLHttpRequest, b = n.XDomainRequest, y = n.ActiveXObject, B = n.EventSource, T = n.document, M = n.Promise, k = n.fetch, L = 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)), d == null && y != null && (d = function() {
220
- return new y("Microsoft.XMLHTTP");
221
- }), Object.create == null && (Object.create = function(t) {
222
- function l() {
223
- }
224
- return l.prototype = t, new l();
225
- }), Date.now || (Date.now = function() {
226
- return (/* @__PURE__ */ new Date()).getTime();
227
- }), R == null) {
228
- var j = k;
229
- k = function(t, l) {
230
- var u = l.signal;
231
- return j(t, { headers: l.headers, credentials: l.credentials, cache: l.cache }).then(function(i) {
232
- var e = i.body.getReader();
233
- return u._reader = e, u._aborted && u._reader.cancel(), {
234
- status: i.status,
235
- statusText: i.statusText,
236
- headers: i.headers,
237
- body: {
238
- getReader: function() {
239
- return e;
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 l(w, p, m) {
258
- if (m === 1)
259
- return w >= 128 >> p && w << p <= 2047;
260
- if (m === 2)
261
- return w >= 2048 >> p && w << p <= 55295 || w >= 57344 >> p && w << p <= 65535;
262
- if (m === 3)
263
- return w >= 65536 >> p && w << p <= 1114111;
264
- throw new Error();
265
- }
266
- function u(w, p) {
267
- if (w === 6 * 1)
268
- return p >> 6 > 15 ? 3 : p > 31 ? 2 : 1;
269
- if (w === 6 * 2)
270
- return p > 15 ? 3 : 2;
271
- if (w === 6 * 3)
272
- return 3;
273
- throw new Error();
274
- }
275
- for (var i = 65533, e = "", o = this.bitsNeeded, r = this.codePoint, c = 0; c < t.length; c += 1) {
276
- var h = t[c];
277
- o !== 0 && (h < 128 || h > 191 || !l(r << 6 | h & 63, o - 6, u(o, r))) && (o = 0, r = i, e += 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 = i), o !== 0 && !l(r, o, u(o, r)) && (o = 0, r = i)) : (o -= 6, r = r << 6 | h & 63), o === 0 && (r <= 65535 ? e += String.fromCharCode(r) : (e += String.fromCharCode(55296 + (r - 65535 - 1 >> 10)), e += String.fromCharCode(56320 + (r - 65535 - 1 & 1023))));
278
- }
279
- return this.bitsNeeded = o, this.codePoint = r, e;
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, l) {
296
- this._abort(!0);
297
- var u = this, i = this._xhr, e = 1, o = 0;
298
- this._abort = function(m) {
299
- u._sendTimeout !== 0 && (g(u._sendTimeout), u._sendTimeout = 0), (e === 1 || e === 2 || e === 3) && (e = 4, i.onload = F, i.onerror = F, i.onabort = F, i.onprogress = F, i.onreadystatechange = F, i.abort(), o !== 0 && (g(o), o = 0), m || (u.readyState = 4, u.onabort(null), u.onreadystatechange())), e = 0;
300
- };
301
- var r = function() {
302
- if (e === 1) {
303
- var m = 0, _ = "", W = void 0;
304
- if ("contentType" in i)
305
- m = 200, _ = "OK", W = i.contentType;
306
- else
307
- try {
308
- m = i.status, _ = i.statusText, W = i.getResponseHeader("Content-Type");
309
- } catch {
310
- m = 0, _ = "", W = void 0;
311
- }
312
- m !== 0 && (e = 2, u.readyState = 2, u.status = m, u.statusText = _, u._contentType = W, u.onreadystatechange());
313
- }
314
- }, c = function() {
315
- if (r(), e === 2 || e === 3) {
316
- e = 3;
317
- var m = "";
318
- try {
319
- m = i.responseText;
320
- } catch {
321
- }
322
- u.readyState = 3, u.responseText = m, u.onprogress();
323
- }
324
- }, h = function(m, _) {
325
- if ((_ == null || _.preventDefault == null) && (_ = {
326
- preventDefault: F
327
- }), c(), e === 1 || e === 2 || e === 3) {
328
- if (e = 4, o !== 0 && (g(o), o = 0), u.readyState = 4, m === "load")
329
- u.onload(_);
330
- else if (m === "error")
331
- u.onerror(_);
332
- else if (m === "abort")
333
- u.onabort(_);
334
- else
335
- throw new TypeError();
336
- u.onreadystatechange();
337
- }
338
- }, w = function(m) {
339
- i != null && (i.readyState === 4 ? (!("onload" in i) || !("onerror" in i) || !("onabort" in i)) && h(i.responseText === "" ? "error" : "load", m) : i.readyState === 3 ? "onprogress" in i || c() : i.readyState === 2 && r());
340
- }, p = function() {
341
- o = v(function() {
342
- p();
343
- }, 500), i.readyState === 3 && c();
344
- };
345
- "onload" in i && (i.onload = function(m) {
346
- h("load", m);
347
- }), "onerror" in i && (i.onerror = function(m) {
348
- h("error", m);
349
- }), "onabort" in i && (i.onabort = function(m) {
350
- h("abort", m);
351
- }), "onprogress" in i && (i.onprogress = c), "onreadystatechange" in i && (i.onreadystatechange = function(m) {
352
- w(m);
353
- }), ("contentType" in i || !("ontimeout" in d.prototype)) && (l += (l.indexOf("?") === -1 ? "?" : "&") + "padding=true"), i.open(t, l, !0), "readyState" in i && (o = v(function() {
354
- p();
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, l) {
361
- var u = this._xhr;
362
- "setRequestHeader" in u && u.setRequestHeader(t, l);
363
- }, O.prototype.getAllResponseHeaders = function() {
364
- return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
365
- }, O.prototype.send = function() {
366
- if ((!("ontimeout" in d.prototype) || !("sendAsBinary" in d.prototype) && !("mozAnon" in d.prototype)) && T != null && T.readyState != null && T.readyState !== "complete") {
367
- var t = this;
368
- t._sendTimeout = v(function() {
369
- t._sendTimeout = 0, t.send();
370
- }, 4);
371
- return;
372
- }
373
- var l = this._xhr;
374
- "withCredentials" in l && (l.withCredentials = this.withCredentials);
375
- try {
376
- l.send(void 0);
377
- } catch (u) {
378
- throw u;
379
- }
380
- };
381
- function Q(t) {
382
- return t.replace(/[A-Z]/g, function(l) {
383
- return String.fromCharCode(l.charCodeAt(0) + 32);
384
- });
385
- }
386
- function se(t) {
387
- for (var l = /* @__PURE__ */ Object.create(null), u = t.split(`\r
388
- `), i = 0; i < u.length; i += 1) {
389
- var e = u[i], o = e.split(": "), r = o.shift(), c = o.join(": ");
390
- l[Q(r)] = c;
391
- }
392
- this._map = l;
393
- }
394
- se.prototype.get = function(t) {
395
- return this._map[Q(t)];
396
- }, d != null && d.HEADERS_RECEIVED == null && (d.HEADERS_RECEIVED = 2);
397
- function K() {
398
- }
399
- K.prototype.open = function(t, l, u, i, e, o, r) {
400
- t.open("GET", e);
401
- var c = 0;
402
- t.onprogress = function() {
403
- var w = t.responseText, p = w.slice(c);
404
- c += p.length, u(p);
405
- }, t.onerror = function(w) {
406
- w.preventDefault(), i(new Error("NetworkError"));
407
- }, t.onload = function() {
408
- i(null);
409
- }, t.onabort = function() {
410
- i(null);
411
- }, t.onreadystatechange = function() {
412
- if (t.readyState === d.HEADERS_RECEIVED) {
413
- var w = t.status, p = t.statusText, m = t.getResponseHeader("Content-Type"), _ = t.getAllResponseHeaders();
414
- l(w, p, m, new se(_));
415
- }
416
- }, t.withCredentials = o;
417
- for (var h in r)
418
- Object.prototype.hasOwnProperty.call(r, h) && t.setRequestHeader(h, r[h]);
419
- return t.send(), t;
420
- };
421
- function N(t) {
422
- this._headers = t;
423
- }
424
- N.prototype.get = function(t) {
425
- return this._headers.get(t);
426
- };
427
- function E() {
428
- }
429
- E.prototype.open = function(t, l, u, i, e, o, r) {
430
- var c = null, h = new R(), w = h.signal, p = new x();
431
- return k(e, {
432
- headers: r,
433
- credentials: o ? "include" : "same-origin",
434
- signal: w,
435
- cache: "no-store"
436
- }).then(function(m) {
437
- return c = m.body.getReader(), l(m.status, m.statusText, m.headers.get("Content-Type"), new N(m.headers)), new M(function(_, W) {
438
- var ve = function() {
439
- c.read().then(function(H) {
440
- if (H.done)
441
- _(void 0);
442
- else {
443
- var q = p.decode(H.value, { stream: !0 });
444
- u(q), ve();
445
- }
446
- }).catch(function(H) {
447
- W(H);
448
- });
449
- };
450
- ve();
451
- });
452
- }).catch(function(m) {
453
- if (m.name !== "AbortError")
454
- return m;
455
- }).then(function(m) {
456
- i(m);
457
- }), {
458
- abort: function() {
459
- c?.cancel(), h.abort();
460
- }
461
- };
462
- };
463
- function V() {
464
- this._listeners = /* @__PURE__ */ Object.create(null);
465
- }
466
- function D(t) {
467
- v(function() {
468
- throw t;
469
- }, 0);
470
- }
471
- V.prototype.dispatchEvent = function(t) {
472
- t.target = this;
473
- var l = this._listeners[t.type];
474
- if (l != null)
475
- for (var u = l.length, i = 0; i < u; i += 1) {
476
- var e = l[i];
477
- try {
478
- typeof e.handleEvent == "function" ? e.handleEvent(t) : e.call(this, t);
479
- } catch (o) {
480
- D(o);
481
- }
482
- }
483
- }, V.prototype.addEventListener = function(t, l) {
484
- t = String(t);
485
- var u = this._listeners, i = u[t];
486
- i == null && (i = [], u[t] = i);
487
- for (var e = !1, o = 0; o < i.length; o += 1)
488
- i[o] === l && (e = !0);
489
- e || i.push(l);
490
- }, V.prototype.removeEventListener = function(t, l) {
491
- t = String(t);
492
- var u = this._listeners, i = u[t];
493
- if (i != null) {
494
- for (var e = [], o = 0; o < i.length; o += 1)
495
- i[o] !== l && e.push(i[o]);
496
- e.length === 0 ? delete u[t] : u[t] = e;
497
- }
498
- };
499
- function G(t) {
500
- this.type = t, this.target = void 0;
501
- }
502
- function oe(t, l) {
503
- G.call(this, t), this.data = l.data, this.lastEventId = l.lastEventId;
504
- }
505
- oe.prototype = Object.create(G.prototype);
506
- function ce(t, l) {
507
- G.call(this, t), this.status = l.status, this.statusText = l.statusText, this.headers = l.headers;
508
- }
509
- ce.prototype = Object.create(G.prototype);
510
- function f(t, l) {
511
- G.call(this, t), this.error = l.error;
512
- }
513
- f.prototype = Object.create(G.prototype);
514
- 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, De = function(t, l) {
515
- var u = t == null ? l : parseInt(t, 10);
516
- return u !== u && (u = l), Ce(u);
517
- }, Ce = function(t) {
518
- return Math.min(Math.max(t, Ee), ke);
519
- }, ye = function(t, l, u) {
520
- try {
521
- typeof l == "function" && l.call(t, u);
522
- } catch (i) {
523
- D(i);
524
- }
525
- };
526
- function $(t, l) {
527
- V.call(this), l = l || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Ue(this, t, l);
528
- }
529
- function Ve() {
530
- return d != null && "withCredentials" in d.prototype || b == null ? new d() : new b();
531
- }
532
- var Oe = k != null && L != null && "body" in L.prototype;
533
- function Ue(t, l, u) {
534
- l = String(l);
535
- var i = !!u.withCredentials, e = u.lastEventIdQueryParameterName || "lastEventId", o = Ce(1e3), r = De(u.heartbeatTimeout, 45e3), c = "", h = o, w = !1, p = 0, m = 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, ot = function(U, z, ee, te) {
536
- if (re === ie)
537
- if (U === 200 && ee != null && ze.test(ee)) {
538
- re = Z, w = Date.now(), h = o, t.readyState = Z;
539
- var J = new ce("open", {
540
- status: U,
541
- statusText: z,
542
- headers: te
543
- });
544
- t.dispatchEvent(J), ye(t, t.onopen, J);
545
- } else {
546
- var P = "";
547
- 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();
548
- var J = new ce("error", {
549
- status: U,
550
- statusText: z,
551
- headers: te
552
- });
553
- t.dispatchEvent(J), ye(t, t.onerror, J), console.error(P);
554
- }
555
- }, rt = function(U) {
556
- if (re === Z) {
557
- for (var z = -1, ee = 0; ee < U.length; ee += 1) {
558
- var te = U.charCodeAt(ee);
559
- (te === 10 || te === 13) && (z = ee);
560
- }
561
- var J = (z !== -1 ? Ie : "") + U.slice(0, z + 1);
562
- Ie = (z === -1 ? Ie : "") + U.slice(z + 1), U !== "" && (w = Date.now(), p += U.length);
563
- for (var P = 0; P < J.length; P += 1) {
564
- var te = J.charCodeAt(P);
565
- if (Y === xe && te === 10)
566
- Y = le;
567
- else if (Y === xe && (Y = le), te === 13 || te === 10) {
568
- if (Y !== le) {
569
- Y === Re && (be = P + 1);
570
- var fe = J.slice(Pe, be - 1), pe = J.slice(be + (be < P && J.charCodeAt(be) === 32 ? 1 : 0), P);
571
- fe === "data" ? (_e += `
572
- `, _e += pe) : fe === "id" ? Fe = pe : fe === "event" ? ue = pe : fe === "retry" ? (o = De(pe, o), h = o) : fe === "heartbeatTimeout" && (r = De(pe, r), q !== 0 && (g(q), q = v(function() {
573
- Me();
574
- }, r)));
575
- }
576
- if (Y === le) {
577
- if (_e !== "") {
578
- c = Fe, ue === "" && (ue = "message");
579
- var Ae = new oe(ue, {
580
- data: _e.slice(1),
581
- lastEventId: Fe
582
- });
583
- if (t.dispatchEvent(Ae), ue === "open" ? ye(t, t.onopen, Ae) : ue === "message" ? ye(t, t.onmessage, Ae) : ue === "error" && ye(t, t.onerror, Ae), re === we)
584
- return;
585
- }
586
- _e = "", ue = "";
587
- }
588
- Y = te === 13 ? xe : le;
589
- } else
590
- Y === le && (Pe = P, Y = Re), Y === Re ? te === 58 && (be = P + 1, Y = Se) : Y === Se && (Y = Le);
591
- }
592
- }
593
- }, We = function(U) {
594
- if (re === Z || re === ie) {
595
- re = de, q !== 0 && (g(q), q = 0), q = v(function() {
596
- Me();
597
- }, h), h = Ce(Math.min(o * 16, h * 2)), t.readyState = ie;
598
- var z = new f("error", { error: U });
599
- t.dispatchEvent(z), ye(t, t.onerror, z), U != null && console.error(U);
600
- }
601
- }, Ge = function() {
602
- re = we, H != null && (H.abort(), H = void 0), q !== 0 && (g(q), q = 0), t.readyState = we;
603
- }, Me = function() {
604
- if (q = 0, re !== de) {
605
- if (!w && H != null)
606
- We(new Error("No activity within " + r + " milliseconds. " + (re === ie ? "No response received." : p + " chars received.") + " Reconnecting.")), H != null && (H.abort(), H = void 0);
607
- else {
608
- var U = Math.max((w || Date.now()) + r - Date.now(), 1);
609
- w = !1, q = v(function() {
610
- Me();
611
- }, U);
612
- }
613
- return;
614
- }
615
- w = !1, p = 0, q = v(function() {
616
- Me();
617
- }, r), re = ie, _e = "", ue = "", Fe = c, Ie = "", Pe = 0, be = 0, Y = le;
618
- var z = l;
619
- if (l.slice(0, 5) !== "data:" && l.slice(0, 5) !== "blob:" && c !== "") {
620
- var ee = l.indexOf("?");
621
- z = ee === -1 ? l : l.slice(0, ee + 1) + l.slice(ee + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(pe, Ae) {
622
- return Ae === e ? "" : pe;
623
- }), z += (l.indexOf("?") === -1 ? "?" : "&") + e + "=" + encodeURIComponent(c);
624
- }
625
- var te = t.withCredentials, J = {};
626
- J.Accept = "text/event-stream";
627
- var P = t.headers;
628
- if (P != null)
629
- for (var fe in P)
630
- Object.prototype.hasOwnProperty.call(P, fe) && (J[fe] = P[fe]);
631
- try {
632
- H = ve.open(W, ot, rt, We, z, te, J);
633
- } catch (pe) {
634
- throw Ge(), pe;
635
- }
636
- };
637
- t.url = l, t.readyState = ie, t.withCredentials = i, t.headers = m, t._close = Ge, Me();
638
- }
639
- $.prototype = Object.create(V.prototype), $.prototype.CONNECTING = ie, $.prototype.OPEN = Z, $.prototype.CLOSED = we, $.prototype.close = function() {
640
- this._close();
641
- }, $.CONNECTING = ie, $.OPEN = Z, $.CLOSED = we, $.prototype.withCredentials = void 0;
642
- var Ne = B;
643
- d != null && (B == null || !("withCredentials" in B.prototype)) && (Ne = $), function(t) {
644
- {
645
- var l = t(a);
646
- l !== void 0 && (s.exports = l);
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(s) {
655
- ft(s, "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(s, a, n) {
658
- const v = s.slice();
659
- return v[54] = a[n], v;
660
- }
661
- function Ze(s, a, n) {
662
- const v = s.slice();
663
- return v[57] = a[n], v;
664
- }
665
- function xt(s) {
666
- let a, n, v = (
667
- /*balances*/
668
- (s[1].Total ? (
669
- /*formatBalance*/
670
- s[8](
671
- /*balances*/
672
- s[1].Total[0].amount
673
- )
674
- ) : "0") + ""
675
- ), g, d, b, y, B, T, M, k, L, x, S = (
676
- /*showBalance*/
677
- s[4] && $e(s)
678
- );
679
- return {
680
- c() {
681
- a = I("button"), n = I("p"), g = Te(v), d = ge(), b = I("span"), y = qe("svg"), B = qe("path"), M = ge(), S && S.c(), k = vt(), 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(y, "xmlns", "http://www.w3.org/2000/svg"), C(y, "width", "14"), C(y, "height", "6.835"), C(y, "viewBox", "0 0 14 6.835"), C(b, "class", T = /*isModalDisplayed*/
682
- s[3] ? "TriangleActive" : "TriangleInactive"), C(a, "class", "BalanceValue");
683
- },
684
- m(R, j) {
685
- me(R, a, j), A(a, n), A(n, g), A(a, d), A(a, b), A(b, y), A(y, B), me(R, M, j), S && S.m(R, j), me(R, k, j), L || (x = je(
686
- a,
687
- "click",
688
- /*click_handler*/
689
- s[26]
690
- ), L = !0);
691
- },
692
- p(R, j) {
693
- j[0] & /*balances*/
694
- 2 && v !== (v = /*balances*/
695
- (R[1].Total ? (
696
- /*formatBalance*/
697
- R[8](
698
- /*balances*/
699
- R[1].Total[0].amount
700
- )
701
- ) : "0") + "") && Be(g, v), j[0] & /*isModalDisplayed*/
702
- 8 && T !== (T = /*isModalDisplayed*/
703
- R[3] ? "TriangleActive" : "TriangleInactive") && C(b, "class", T), /*showBalance*/
704
- R[4] ? S ? S.p(R, j) : (S = $e(R), S.c(), S.m(k.parentNode, k)) : S && (S.d(1), S = null);
705
- },
706
- d(R) {
707
- R && (he(a), he(M), he(k)), S && S.d(R), L = !1, x();
708
- }
709
- };
710
- }
711
- function Rt(s) {
712
- let a, n = (
713
- /*$_*/
714
- s[6]("Loading") + ""
715
- ), v;
716
- return {
717
- c() {
718
- a = I("p"), v = Te(n), C(a, "class", "Loading");
719
- },
720
- m(g, d) {
721
- me(g, a, d), A(a, v);
722
- },
723
- p(g, d) {
724
- d[0] & /*$_*/
725
- 64 && n !== (n = /*$_*/
726
- g[6]("Loading") + "") && Be(v, n);
727
- },
728
- d(g) {
729
- g && he(a);
730
- }
731
- };
732
- }
733
- function $e(s) {
734
- let a, n, v, g, d, b, y, B, T = (
735
- /*$_*/
736
- s[6]("Title") + ""
737
- ), M, k, L, x, S, R, j = (
738
- /*$_*/
739
- s[6]("DepositButton") + ""
740
- ), ae, ne, F, O, Q, se, K = He(Object.keys(
741
- /*balances*/
742
- s[1]
743
- )), N = [];
744
- for (let E = 0; E < K.length; E += 1)
745
- N[E] = tt(Qe(s, K, E));
746
- return {
747
- c() {
748
- a = I("div"), n = I("button"), g = ge(), d = I("div"), b = I("div"), y = I("div"), B = I("p"), M = Te(T), k = ge(), L = I("div");
749
- for (let E = 0; E < N.length; E += 1)
750
- N[E].c();
751
- x = ge(), S = I("div"), R = I("button"), ae = Te(j), C(n, "class", v = "BalanceModalClose " + /*isModalDisplayed*/
752
- (s[3] ? "Open" : "")), C(B, "class", "BalanceModalTitle"), C(y, "class", "BalanceModalHeader"), C(L, "class", "BalanceModalBody"), C(R, "class", "BalanceModalAction"), C(S, "class", "BalanceModalFooter"), C(b, "class", ne = "ModalContent " + /*isModalDisplayed*/
753
- (s[3] ? "Open" : "")), C(d, "class", F = "BalanceModal " + /*isModalDisplayed*/
754
- (s[3] ? "Open" : "")), C(a, "class", O = "BalanceModalWrapper " + /*isModalDisplayed*/
755
- (s[3] ? "Open" : ""));
756
- },
757
- m(E, V) {
758
- me(E, a, V), A(a, n), A(a, g), A(a, d), A(d, b), A(b, y), A(y, B), A(B, M), A(b, k), A(b, L);
759
- for (let D = 0; D < N.length; D += 1)
760
- N[D] && N[D].m(L, null);
761
- A(b, x), A(b, S), A(S, R), A(R, ae), Q || (se = [
762
- je(
763
- n,
764
- "click",
765
- /*click_handler_1*/
766
- s[27]
767
- ),
768
- je(
769
- R,
770
- "click",
771
- /*click_handler_2*/
772
- s[28]
773
- )
774
- ], Q = !0);
775
- },
776
- p(E, V) {
777
- if (V[0] & /*isModalDisplayed*/
778
- 8 && v !== (v = "BalanceModalClose " + /*isModalDisplayed*/
779
- (E[3] ? "Open" : "")) && C(n, "class", v), V[0] & /*$_*/
780
- 64 && T !== (T = /*$_*/
781
- E[6]("Title") + "") && Be(M, T), V[0] & /*balances, formatBalance, $_*/
782
- 322) {
783
- K = He(Object.keys(
784
- /*balances*/
785
- E[1]
786
- ));
787
- let D;
788
- for (D = 0; D < K.length; D += 1) {
789
- const G = Qe(E, K, D);
790
- N[D] ? N[D].p(G, V) : (N[D] = tt(G), N[D].c(), N[D].m(L, null));
791
- }
792
- for (; D < N.length; D += 1)
793
- N[D].d(1);
794
- N.length = K.length;
795
- }
796
- V[0] & /*$_*/
797
- 64 && j !== (j = /*$_*/
798
- E[6]("DepositButton") + "") && Be(ae, j), V[0] & /*isModalDisplayed*/
799
- 8 && ne !== (ne = "ModalContent " + /*isModalDisplayed*/
800
- (E[3] ? "Open" : "")) && C(b, "class", ne), V[0] & /*isModalDisplayed*/
801
- 8 && F !== (F = "BalanceModal " + /*isModalDisplayed*/
802
- (E[3] ? "Open" : "")) && C(d, "class", F), V[0] & /*isModalDisplayed*/
803
- 8 && O !== (O = "BalanceModalWrapper " + /*isModalDisplayed*/
804
- (E[3] ? "Open" : "")) && C(a, "class", O);
805
- },
806
- d(E) {
807
- E && he(a), nt(N, E), Q = !1, wt(se);
808
- }
809
- };
810
- }
811
- function et(s) {
812
- let a, n, v = (
813
- /*$_*/
814
- s[6](
815
- /*k*/
816
- s[54]
817
- ) + ""
818
- ), g, d, b = (
819
- /*b*/
820
- (s[57].productType ? (
821
- /*$_*/
822
- s[6](
823
- /*b*/
824
- s[57].productType
825
- )
826
- ) : "") + ""
827
- ), y, B, T, M, k = (
828
- /*formatBalance*/
829
- s[8](
830
- /*b*/
831
- s[57].amount
832
- ) + ""
833
- ), L;
834
- return {
835
- c() {
836
- a = I("div"), n = I("p"), g = Te(v), d = ge(), y = Te(b), B = ge(), T = I("p"), M = I("span"), L = Te(k), C(n, "class", "BalanceModalText"), C(M, "class", "BalanceModalAmount"), C(T, "class", "BalanceModalValue"), C(a, "class", "BalanceModalRowLine");
837
- },
838
- m(x, S) {
839
- me(x, a, S), A(a, n), A(n, g), A(n, d), A(n, y), A(a, B), A(a, T), A(T, M), A(M, L);
840
- },
841
- p(x, S) {
842
- S[0] & /*$_, balances*/
843
- 66 && v !== (v = /*$_*/
844
- x[6](
845
- /*k*/
846
- x[54]
847
- ) + "") && Be(g, v), S[0] & /*balances, $_*/
848
- 66 && b !== (b = /*b*/
849
- (x[57].productType ? (
850
- /*$_*/
851
- x[6](
852
- /*b*/
853
- x[57].productType
854
- )
855
- ) : "") + "") && Be(y, b), S[0] & /*balances*/
856
- 2 && k !== (k = /*formatBalance*/
857
- x[8](
858
- /*b*/
859
- x[57].amount
860
- ) + "") && Be(L, k);
861
- },
862
- d(x) {
863
- x && he(a);
864
- }
865
- };
866
- }
867
- function tt(s) {
868
- let a, n, v = He(
869
- /*balances*/
870
- s[1][
871
- /*k*/
872
- s[54]
873
- ]
874
- ), g = [];
875
- for (let d = 0; d < v.length; d += 1)
876
- g[d] = et(Ze(s, v, d));
877
- return {
878
- c() {
879
- a = I("div");
880
- for (let d = 0; d < g.length; d += 1)
881
- g[d].c();
882
- n = ge(), C(a, "class", "BalanceModalRowBoth");
883
- },
884
- m(d, b) {
885
- me(d, a, b);
886
- for (let y = 0; y < g.length; y += 1)
887
- g[y] && g[y].m(a, null);
888
- A(a, n);
889
- },
890
- p(d, b) {
891
- if (b[0] & /*formatBalance, balances, $_*/
892
- 322) {
893
- v = He(
894
- /*balances*/
895
- d[1][
896
- /*k*/
897
- d[54]
898
- ]
899
- );
900
- let y;
901
- for (y = 0; y < v.length; y += 1) {
902
- const B = Ze(d, v, y);
903
- g[y] ? g[y].p(B, b) : (g[y] = et(B), g[y].c(), g[y].m(a, n));
904
- }
905
- for (; y < g.length; y += 1)
906
- g[y].d(1);
907
- g.length = v.length;
908
- }
909
- },
910
- d(d) {
911
- d && he(a), nt(g, d);
912
- }
913
- };
914
- }
915
- function at(s) {
916
- let a, n, v;
917
- return {
918
- c() {
919
- a = I("button"), C(a, "class", "ShowBalanceModalOverlay");
920
- },
921
- m(g, d) {
922
- me(g, a, d), n || (v = je(
923
- a,
924
- "click",
925
- /*click_handler_3*/
926
- s[29]
927
- ), n = !0);
928
- },
929
- p: Xe,
930
- d(g) {
931
- g && he(a), n = !1, v();
932
- }
933
- };
934
- }
935
- function Et(s) {
936
- let a, n, v, g;
937
- function d(T, M) {
938
- return (
939
- /*isLoading*/
940
- T[2] ? Rt : xt
941
- );
942
- }
943
- let b = d(s), y = b(s), B = (
944
- /*showBalance*/
945
- s[4] && at(s)
946
- );
947
- return {
948
- c() {
949
- a = I("div"), n = I("div"), y.c(), g = ge(), B && B.c(), C(n, "class", v = "ShowBalance " + /*mobileView*/
950
- (s[5] ? "Mobile" : ""));
951
- },
952
- m(T, M) {
953
- me(T, a, M), A(a, n), y.m(n, null), A(a, g), B && B.m(a, null), s[30](a);
954
- },
955
- p(T, M) {
956
- b === (b = d(T)) && y ? y.p(T, M) : (y.d(1), y = b(T), y && (y.c(), y.m(n, null))), M[0] & /*mobileView*/
957
- 32 && v !== (v = "ShowBalance " + /*mobileView*/
958
- (T[5] ? "Mobile" : "")) && C(n, "class", v), /*showBalance*/
959
- T[4] ? B ? B.p(T, M) : (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 && he(a), y.d(), B && B.d(), s[30](null);
965
- }
966
- };
967
- }
968
- function Dt(s, a, n) {
969
- let v;
970
- pt(s, ht, (e) => n(6, v = e));
971
- let { userid: g = "" } = a, { session: d = "" } = a, { endpoint: b = "" } = a, { lang: y = "en" } = a, { mbsource: B } = a, { clientstyling: T = "" } = a, { clientstylingurl: M = "" } = a, { translationurl: k = "" } = a, { gmversion: L = "gm16" } = a, { displaybalanceoption: x = "All" } = a, { totalcalculationmode: S = "totalCashAmount" } = a, { currencylocale: R = "en" } = a, { currencydisplay: j = "symbol" } = a, { maximumfractiondigits: ae = "2" } = a, { minimumfractiondigits: ne = "0" } = a, { customdisplayformat: F = "" } = a, O, Q = !0, se = !1, K = !1, N = !1, E = !1, V = window.navigator.userAgent, D, G = "", oe = [], ce;
972
- const f = {}, de = ["totalCashAmount", "totalRealAmount"], ie = () => {
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 Z = (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, N = !0), setTimeout(() => n(3, se = !0), 150);
986
- break;
987
- case "closebalance":
988
- n(3, se = !1), window.postMessage(
989
- {
990
- type: "BalanceModalStatus",
991
- status: "close"
992
- },
993
- window.location.href
994
- ), setTimeout(
995
- () => {
996
- n(4, N = !1);
997
- },
998
- 150
999
- );
1000
- break;
1001
- }
1002
- }, we = (e) => {
1003
- if (F)
1004
- return xe(e);
1005
- const o = R || y, r = {
1006
- style: "currency",
1007
- currency: G,
1008
- useGrouping: !0,
1009
- currencyDisplay: j || "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, r).format(e);
1014
- }, xe = (e) => {
1015
- const o = [];
1016
- let r = "";
1017
- for (const c of F)
1018
- switch (c) {
1019
- default:
1020
- r += c;
1021
- break;
1022
- case "{":
1023
- r && o.push(r), r = "";
1024
- break;
1025
- case "}":
1026
- const [h, w] = r.split("|");
1027
- if (r = "", h.toLowerCase() === "currency")
1028
- r = G;
1029
- else if (h.toLowerCase() === "amount") {
1030
- let p = ",", m = ".", _ = 2;
1031
- w && (w[0] !== " " && (p = w[0]), w[1] !== " " && (m = w[1]), w[2] !== " " && !isNaN(Number(w[2])) && (_ = Number(w[2])));
1032
- let [W, ve] = String(Math.floor(e * 10 ** _) / 10 ** _).split(".");
1033
- r += W[0];
1034
- for (let H = 1; H < W.length; ++H)
1035
- (W.length - H) % 3 === 0 ? r += p + W[H] : r += W[H];
1036
- ve && (r += m + ve);
1037
- }
1038
- r && o.push(r), r = "";
1039
- break;
1040
- }
1041
- return o.push(r), o.join("");
1042
- }, le = async () => {
1043
- n(2, Q = !0);
1044
- const e = new URL(`${b}/v1/player/${g}/account`);
1045
- try {
1046
- const o = await fetch(e, {
1047
- method: "GET",
1048
- headers: { "X-SessionID": d }
1049
- }), r = await o.json();
1050
- if (o.ok)
1051
- window.postMessage({ type: "BalancedFetched" }, window.location.href), oe = r.items, G = oe.find((c) => c.displayName === "Casino")?.currency, n(1, f.Total = [{ amount: r.totalAmount[G] }], f), n(
1052
- 1,
1053
- f.Real = [
1054
- {
1055
- amount: oe.find((c) => c.displayName === "Casino")?.balanceAmount
1056
- }
1057
- ],
1058
- f
1059
- ), n(
1060
- 1,
1061
- f.Bonus = [
1062
- {
1063
- amount: oe.find((c) => c.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
- }, Re = () => {
1076
- n(2, Q = !0);
1077
- const e = new URL(`${b}/v2/player/${g}/balance`), o = new Headers();
1078
- o.append("X-SessionID", d), fetch(e, { method: "GET", headers: o }).then((c) => c.json()).then((c) => {
1079
- c[S] || n(10, S = de[0]);
1080
- const h = c.items.find((p) => p.type === "Real" && p.walletAccountType === "Ordinary");
1081
- if (G = h.currency, K = !!h.productType, n(1, f.Total = [{ amount: 0 }], f), n(1, f.Real = [], f), n(1, f.Bonus = [], f), n(1, f.Credit = [], f), !K) {
1082
- ce = {
1083
- lastOrdinaryAfterAmount: 0,
1084
- showCreditLineAfterAmount: !1
1085
- }, n(1, f.Total[0].amount = c[S][G], f);
1086
- for (const p of c.items)
1087
- switch (p.type) {
1088
- case "Bonus":
1089
- f.Bonus.length === 0 ? f.Bonus.push({ amount: p.amount }) : n(1, f.Bonus[0].amount += p.amount, f);
1090
- break;
1091
- case "Real":
1092
- if (p.creditLine && f.Credit.length === 0 && f.Credit.push({ amount: p.creditLine }), S === "totalRealAmount")
1093
- continue;
1094
- f.Real.length === 0 ? f.Real.push({ amount: p.amount }) : n(1, f.Real[0].amount += p.amount, f);
1095
- break;
1096
- }
1097
- for (const [p, m] of Object.entries(f))
1098
- m.length < 1 && delete f[p];
1099
- n(2, Q = !1);
1100
- return;
1101
- }
1102
- ce = {
1103
- Casino: {
1104
- lastOrdinaryAfterAmount: 0,
1105
- showCreditLineAfterAmount: !1
1106
- },
1107
- Sports: {
1108
- lastOrdinaryAfterAmount: 0,
1109
- showCreditLineAfterAmount: !1
1110
- }
1111
- };
1112
- let w = c.items;
1113
- x && x !== "All" && (w = c.items.filter((p) => p.productType === x));
1114
- for (const p of w) {
1115
- let m;
1116
- switch (p.type) {
1117
- case "Bonus":
1118
- m = f.Bonus.findIndex((_) => _.productType === p.productType), m > 0 ? n(1, f.Bonus[m].amount += p.amount, f) : f.Bonus.push({
1119
- amount: p.amount,
1120
- productType: p.productType
1121
- });
1122
- break;
1123
- case "Real":
1124
- p.creditLine && f.Credit.push({
1125
- amount: p.creditLine,
1126
- productType: p.productType
1127
- }), m = f.Real.findIndex((_) => _.productType === p.productType), m > 0 ? n(1, f.Real[m].amount += p.amount, f) : f.Real.push({
1128
- amount: p.amount,
1129
- productType: p.productType
1130
- });
1131
- break;
1132
- }
1133
- }
1134
- ke();
1135
- for (const [p, m] of Object.entries(f))
1136
- m.length < 1 && delete f[p];
1137
- n(2, Q = !1);
1138
- }).catch((c) => {
1139
- throw n(2, Q = !1), console.log("Balance fetch error", c), new Error("Failed to fetch balance data!");
1140
- });
1141
- }, Se = () => {
1142
- if (D && D.close(), d.length < 1)
1143
- return;
1144
- let e, o;
1145
- switch (L) {
1146
- case "gm16":
1147
- e = new URL(`${b}/v2/player/${g}/information/updates`), o = (h) => De(h);
1148
- break;
1149
- case "gmcore":
1150
- e = new URL(`${b}/v1/player/${g}/balance/updates`), o = (h) => ze(h);
1151
- break;
1152
- }
1153
- const r = {
1154
- accept: "text/event-stream",
1155
- "X-SessionId": d
1156
- }, c = new _t.EventSourcePolyfill(e, { headers: r });
1157
- D = c, c.addEventListener("message", o);
1158
- }, Le = (e) => {
1159
- let o;
1160
- try {
1161
- o = JSON.parse(e);
1162
- } catch (r) {
1163
- console.log("Balance stream failed: ", r);
1164
- return;
1165
- }
1166
- return o;
1167
- }, ze = (e) => {
1168
- const o = Le(e.data);
1169
- if (!o) {
1170
- Se();
1171
- return;
1172
- }
1173
- let r = "0";
1174
- const c = o.balanceChange;
1175
- oe = oe.map((h) => (c && c[h.id] && (h = {
1176
- ...h,
1177
- balanceAmount: c[h.id].afterAmount
1178
- }), r = (parseFloat(h?.balanceAmount) + parseFloat(r)).toString(), h)), n(1, f.Real = [{ amount: oe[0]?.balanceAmount }], f), n(1, f.Bonus = [{ amount: oe[1]?.balanceAmount }], f), n(1, f.Total = [{ amount: Number(r) }], f);
1179
- }, Ee = (e, o, r) => {
1180
- let c = null;
1181
- switch (r.walletAccountType) {
1182
- case "Ordinary":
1183
- (r.afterAmount !== r.affectedAmount || o.lastOrdinaryAfterAmount === 0) && (o.lastOrdinaryAfterAmount = r.afterAmount, o.showCreditLineAfterAmount || (c = r.afterAmount));
1184
- break;
1185
- case "CreditLine":
1186
- r.afterAmount !== 0 ? (c = r.afterAmount, o.showCreditLineAfterAmount = !0) : (c = o.lastOrdinaryAfterAmount, o.showCreditLineAfterAmount = !1);
1187
- break;
1188
- default:
1189
- c = r.afterAmount;
1190
- }
1191
- return c === null ? e : c;
1192
- }, ke = () => {
1193
- switch (S) {
1194
- case "totalCashAmount":
1195
- let e = 0;
1196
- for (const r of ["Real", "Bonus"])
1197
- for (const c of f[r])
1198
- e += Math.max(c.amount, 0);
1199
- n(1, f.Total[0].amount = e, f);
1200
- break;
1201
- case "totalRealAmount":
1202
- if (!K)
1203
- return;
1204
- let o = 0;
1205
- for (const r of f.Real)
1206
- o += r.amount;
1207
- n(1, f.Total[0].amount = o, f);
1208
- }
1209
- }, De = (e) => {
1210
- const o = Le(e.data);
1211
- if (!o) {
1212
- Se();
1213
- return;
1214
- }
1215
- if (ye(o?.type) || o.type !== "BALANCE_UPDATE_V2")
1216
- return;
1217
- const r = o.body.balanceChange;
1218
- for (const [c, h] of Object.entries(r))
1219
- if (S === "totalRealAmount" && c === "Real" && !K && n(1, f.Total[0].amount = Ee(f.Total[0].amount, ce, h), f), !!f[c])
1220
- for (const w of f[c]) {
1221
- if (!K) {
1222
- w.amount = c === "Real" ? Ee(w.amount, ce, h) : h.afterAmount;
1223
- continue;
1224
- }
1225
- h.productType === w.productType && (w.amount = c === "Real" ? Ee(w.amount, ce[w.productType], h) : h.afterAmount);
1226
- }
1227
- ke();
1228
- }, Ce = () => {
1229
- Z("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
1230
- }, ye = (e) => e === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, $ = () => {
1231
- de.includes(S) || (console.error(`Unsupported value ('${S}') for totalcalculationmode parameter. Only the following values are supported ${de}. Using default value ('${de[0]}').`), n(10, S = de[0]));
1232
- }, Ve = () => {
1233
- switch (Ct(y), $(), L) {
1234
- case "gmcore":
1235
- le();
1236
- break;
1237
- case "gm16":
1238
- Re();
1239
- break;
1240
- default:
1241
- throw Error(`Invalid apiversion attribute: ${L}`);
1242
- }
1243
- }, Oe = (e) => {
1244
- const { data: { type: o } = {} } = e || {};
1245
- switch (o) {
1246
- case "LogoutSuccessfull":
1247
- D.close();
1248
- break;
1249
- case "CloseBalance":
1250
- Z("closebalance");
1251
- break;
1252
- }
1253
- }, Ue = () => {
1254
- window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
1255
- };
1256
- mt(() => (window.addEventListener("message", Oe, !1), n(5, E = gt(V)), () => {
1257
- window.removeEventListener("message", Oe), D && D.close();
1258
- }));
1259
- const Ne = () => Z("balance"), t = () => Z("closebalance"), l = () => Ce(), u = () => Z("closebalance");
1260
- function i(e) {
1261
- yt[e ? "unshift" : "push"](() => {
1262
- O = e, n(0, O);
1263
- });
1264
- }
1265
- return s.$$set = (e) => {
1266
- "userid" in e && n(11, g = e.userid), "session" in e && n(12, d = e.session), "endpoint" in e && n(13, b = e.endpoint), "lang" in e && n(14, y = e.lang), "mbsource" in e && n(15, B = e.mbsource), "clientstyling" in e && n(16, T = e.clientstyling), "clientstylingurl" in e && n(17, M = e.clientstylingurl), "translationurl" in e && n(18, k = e.translationurl), "gmversion" in e && n(19, L = 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, j = 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
- }, s.$$.update = () => {
1268
- s.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
1269
- 1603584 && b && g && d && y && L && x && Ve(), s.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
1270
- 538624 && b && g && d && L && Se(), s.$$.dirty[0] & /*translationurl*/
1271
- 262144 && k && ie(), s.$$.dirty[0] & /*balances*/
1272
- 2 && f.Total && Ue(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1273
- 65537 && T && O && bt(O, T), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1274
- 131073 && M && O && Bt(O, M), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
1275
- 32769 && B && O && Tt(O, `${B}.Style`);
1276
- }, [
1277
- O,
1278
- f,
1279
- Q,
1280
- se,
1281
- N,
1282
- E,
1283
- v,
1284
- Z,
1285
- we,
1286
- Ce,
1287
- S,
1288
- g,
1289
- d,
1290
- b,
1291
- y,
1292
- B,
1293
- T,
1294
- M,
1295
- k,
1296
- L,
1297
- x,
1298
- R,
1299
- j,
1300
- ae,
1301
- ne,
1302
- F,
1303
- Ne,
1304
- t,
1305
- l,
1306
- u,
1307
- i
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 }), X();
1345
- }
1346
- get session() {
1347
- return this.$$.ctx[12];
1348
- }
1349
- set session(a) {
1350
- this.$$set({ session: a }), X();
1351
- }
1352
- get endpoint() {
1353
- return this.$$.ctx[13];
1354
- }
1355
- set endpoint(a) {
1356
- this.$$set({ endpoint: a }), X();
1357
- }
1358
- get lang() {
1359
- return this.$$.ctx[14];
1360
- }
1361
- set lang(a) {
1362
- this.$$set({ lang: a }), X();
1363
- }
1364
- get mbsource() {
1365
- return this.$$.ctx[15];
1366
- }
1367
- set mbsource(a) {
1368
- this.$$set({ mbsource: a }), X();
1369
- }
1370
- get clientstyling() {
1371
- return this.$$.ctx[16];
1372
- }
1373
- set clientstyling(a) {
1374
- this.$$set({ clientstyling: a }), X();
1375
- }
1376
- get clientstylingurl() {
1377
- return this.$$.ctx[17];
1378
- }
1379
- set clientstylingurl(a) {
1380
- this.$$set({ clientstylingurl: a }), X();
1381
- }
1382
- get translationurl() {
1383
- return this.$$.ctx[18];
1384
- }
1385
- set translationurl(a) {
1386
- this.$$set({ translationurl: a }), X();
1387
- }
1388
- get gmversion() {
1389
- return this.$$.ctx[19];
1390
- }
1391
- set gmversion(a) {
1392
- this.$$set({ gmversion: a }), X();
1393
- }
1394
- get displaybalanceoption() {
1395
- return this.$$.ctx[20];
1396
- }
1397
- set displaybalanceoption(a) {
1398
- this.$$set({ displaybalanceoption: a }), X();
1399
- }
1400
- get totalcalculationmode() {
1401
- return this.$$.ctx[10];
1402
- }
1403
- set totalcalculationmode(a) {
1404
- this.$$set({ totalcalculationmode: a }), X();
1405
- }
1406
- get currencylocale() {
1407
- return this.$$.ctx[21];
1408
- }
1409
- set currencylocale(a) {
1410
- this.$$set({ currencylocale: a }), X();
1411
- }
1412
- get currencydisplay() {
1413
- return this.$$.ctx[22];
1414
- }
1415
- set currencydisplay(a) {
1416
- this.$$set({ currencydisplay: a }), X();
1417
- }
1418
- get maximumfractiondigits() {
1419
- return this.$$.ctx[23];
1420
- }
1421
- set maximumfractiondigits(a) {
1422
- this.$$set({ maximumfractiondigits: a }), X();
1423
- }
1424
- get minimumfractiondigits() {
1425
- return this.$$.ctx[24];
1426
- }
1427
- set minimumfractiondigits(a) {
1428
- this.$$set({ minimumfractiondigits: a }), X();
1429
- }
1430
- get customdisplayformat() {
1431
- return this.$$.ctx[25];
1432
- }
1433
- set customdisplayformat(a) {
1434
- this.$$set({ customdisplayformat: a }), X();
1435
- }
1436
- }
1437
- St(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
- };