@everymatrix/casino-header-controller 1.76.12 → 1.76.14

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