@everymatrix/casino-header-controller-nd 1.87.26 → 1.87.27

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