@everymatrix/casino-header-controller-nd 1.45.7 → 1.45.9

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.
@@ -0,0 +1,1575 @@
1
+ var gt = Object.defineProperty, mt = Object.defineProperties;
2
+ var vt = Object.getOwnPropertyDescriptors;
3
+ var Qe = Object.getOwnPropertySymbols;
4
+ var yt = Object.prototype.hasOwnProperty, wt = Object.prototype.propertyIsEnumerable;
5
+ var Ze = (o, e, t) => e in o ? gt(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, $e = (o, e) => {
6
+ for (var t in e || (e = {}))
7
+ yt.call(e, t) && Ze(o, t, e[t]);
8
+ if (Qe)
9
+ for (var t of Qe(e))
10
+ wt.call(e, t) && Ze(o, t, e[t]);
11
+ return o;
12
+ }, et = (o, e) => mt(o, vt(e));
13
+ var tt = (o, e, t) => new Promise((s, u) => {
14
+ var d = (m) => {
15
+ try {
16
+ h(t.next(m));
17
+ } catch (y) {
18
+ u(y);
19
+ }
20
+ }, g = (m) => {
21
+ try {
22
+ h(t.throw(m));
23
+ } catch (y) {
24
+ u(y);
25
+ }
26
+ }, h = (m) => m.done ? s(m.value) : Promise.resolve(m.value).then(d, g);
27
+ h((t = t.apply(o, e)).next());
28
+ });
29
+ import { b as bt, $ as Bt, M as Tt, S as St, i as Ct, f as Y, c as _t, s as At, d as Rt, g as V, h as ae, j as _, n as ge, m as T, F as We, v as me, w as Et, x as xt, o as Ne, H as Mt, D as pe, B as nt, z as Dt, E as he, A as Ve, C as ut, I as Lt, K as Ot } from "./CasinoHamburgerMenuNd-CDoFtsHC.js";
30
+ function at(o, e) {
31
+ bt(o, e);
32
+ }
33
+ function kt(o) {
34
+ Bt.set(o);
35
+ }
36
+ const ot = {
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
+ };
225
+ var qe = { exports: {} };
226
+ /** @license
227
+ * eventsource.js
228
+ * Available under MIT License (MIT)
229
+ * https://github.com/Yaffle/EventSource/
230
+ */
231
+ (function(o, e) {
232
+ (function(t) {
233
+ var s = t.setTimeout, u = t.clearTimeout, d = t.XMLHttpRequest, g = t.XDomainRequest, h = t.ActiveXObject, m = t.EventSource, y = t.document, R = t.Promise, L = t.fetch, M = t.Response, F = t.TextDecoder, E = t.TextEncoder, j = t.AbortController;
234
+ if (typeof window != "undefined" && typeof y != "undefined" && !("readyState" in y) && y.body == null && (y.readyState = "loading", window.addEventListener("load", function(a) {
235
+ y.readyState = "complete";
236
+ }, !1)), d == null && h != null && (d = function() {
237
+ return new h("Microsoft.XMLHTTP");
238
+ }), Object.create == null && (Object.create = function(a) {
239
+ function n() {
240
+ }
241
+ return n.prototype = a, new n();
242
+ }), Date.now || (Date.now = function() {
243
+ return (/* @__PURE__ */ new Date()).getTime();
244
+ }), j == null) {
245
+ var B = L;
246
+ L = function(a, n) {
247
+ var i = n.signal;
248
+ return B(a, { headers: n.headers, credentials: n.credentials, cache: n.cache }).then(function(r) {
249
+ var c = r.body.getReader();
250
+ return i._reader = c, i._aborted && i._reader.cancel(), {
251
+ status: r.status,
252
+ statusText: r.statusText,
253
+ headers: r.headers,
254
+ body: {
255
+ getReader: function() {
256
+ return c;
257
+ }
258
+ }
259
+ };
260
+ });
261
+ }, j = function() {
262
+ this.signal = {
263
+ _reader: null,
264
+ _aborted: !1
265
+ }, this.abort = function() {
266
+ this.signal._reader != null && this.signal._reader.cancel(), this.signal._aborted = !0;
267
+ };
268
+ };
269
+ }
270
+ function S() {
271
+ this.bitsNeeded = 0, this.codePoint = 0;
272
+ }
273
+ S.prototype.decode = function(a) {
274
+ function n(C, D, b) {
275
+ if (b === 1)
276
+ return C >= 128 >> D && C << D <= 2047;
277
+ if (b === 2)
278
+ return C >= 2048 >> D && C << D <= 55295 || C >= 57344 >> D && C << D <= 65535;
279
+ if (b === 3)
280
+ return C >= 65536 >> D && C << D <= 1114111;
281
+ throw new Error();
282
+ }
283
+ function i(C, D) {
284
+ if (C === 6 * 1)
285
+ return D >> 6 > 15 ? 3 : D > 31 ? 2 : 1;
286
+ if (C === 6 * 2)
287
+ return D > 15 ? 3 : 2;
288
+ if (C === 6 * 3)
289
+ return 3;
290
+ throw new Error();
291
+ }
292
+ for (var r = 65533, c = "", f = this.bitsNeeded, v = this.codePoint, p = 0; p < a.length; p += 1) {
293
+ var w = a[p];
294
+ f !== 0 && (w < 128 || w > 191 || !n(v << 6 | w & 63, f - 6, i(f, v))) && (f = 0, v = r, c += String.fromCharCode(v)), f === 0 ? (w >= 0 && w <= 127 ? (f = 0, v = w) : w >= 192 && w <= 223 ? (f = 6 * 1, v = w & 31) : w >= 224 && w <= 239 ? (f = 6 * 2, v = w & 15) : w >= 240 && w <= 247 ? (f = 6 * 3, v = w & 7) : (f = 0, v = r), f !== 0 && !n(v, f, i(f, v)) && (f = 0, v = r)) : (f -= 6, v = v << 6 | w & 63), f === 0 && (v <= 65535 ? c += String.fromCharCode(v) : (c += String.fromCharCode(55296 + (v - 65535 - 1 >> 10)), c += String.fromCharCode(56320 + (v - 65535 - 1 & 1023))));
295
+ }
296
+ return this.bitsNeeded = f, this.codePoint = v, c;
297
+ };
298
+ var O = function() {
299
+ try {
300
+ return new F().decode(new E().encode("test"), { stream: !0 }) === "test";
301
+ } catch (a) {
302
+ console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + a);
303
+ }
304
+ return !1;
305
+ };
306
+ (F == null || E == null || !O()) && (F = S);
307
+ var k = function() {
308
+ };
309
+ function P(a) {
310
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = k, this.onload = k, this.onerror = k, this.onreadystatechange = k, this._contentType = "", this._xhr = a, this._sendTimeout = 0, this._abort = k;
311
+ }
312
+ P.prototype.open = function(a, n) {
313
+ this._abort(!0);
314
+ var i = this, r = this._xhr, c = 1, f = 0;
315
+ this._abort = function(b) {
316
+ i._sendTimeout !== 0 && (u(i._sendTimeout), i._sendTimeout = 0), (c === 1 || c === 2 || c === 3) && (c = 4, r.onload = k, r.onerror = k, r.onabort = k, r.onprogress = k, r.onreadystatechange = k, r.abort(), f !== 0 && (u(f), f = 0), b || (i.readyState = 4, i.onabort(null), i.onreadystatechange())), c = 0;
317
+ };
318
+ var v = function() {
319
+ if (c === 1) {
320
+ var b = 0, I = "", ce = void 0;
321
+ if ("contentType" in r)
322
+ b = 200, I = "OK", ce = r.contentType;
323
+ else
324
+ try {
325
+ b = r.status, I = r.statusText, ce = r.getResponseHeader("Content-Type");
326
+ } catch (xe) {
327
+ b = 0, I = "", ce = void 0;
328
+ }
329
+ b !== 0 && (c = 2, i.readyState = 2, i.status = b, i.statusText = I, i._contentType = ce, i.onreadystatechange());
330
+ }
331
+ }, p = function() {
332
+ if (v(), c === 2 || c === 3) {
333
+ c = 3;
334
+ var b = "";
335
+ try {
336
+ b = r.responseText;
337
+ } catch (I) {
338
+ }
339
+ i.readyState = 3, i.responseText = b, i.onprogress();
340
+ }
341
+ }, w = function(b, I) {
342
+ if ((I == null || I.preventDefault == null) && (I = {
343
+ preventDefault: k
344
+ }), p(), c === 1 || c === 2 || c === 3) {
345
+ if (c = 4, f !== 0 && (u(f), f = 0), i.readyState = 4, b === "load")
346
+ i.onload(I);
347
+ else if (b === "error")
348
+ i.onerror(I);
349
+ else if (b === "abort")
350
+ i.onabort(I);
351
+ else
352
+ throw new TypeError();
353
+ i.onreadystatechange();
354
+ }
355
+ }, C = function(b) {
356
+ r != null && (r.readyState === 4 ? (!("onload" in r) || !("onerror" in r) || !("onabort" in r)) && w(r.responseText === "" ? "error" : "load", b) : r.readyState === 3 ? "onprogress" in r || p() : r.readyState === 2 && v());
357
+ }, D = function() {
358
+ f = s(function() {
359
+ D();
360
+ }, 500), r.readyState === 3 && p();
361
+ };
362
+ "onload" in r && (r.onload = function(b) {
363
+ w("load", b);
364
+ }), "onerror" in r && (r.onerror = function(b) {
365
+ w("error", b);
366
+ }), "onabort" in r && (r.onabort = function(b) {
367
+ w("abort", b);
368
+ }), "onprogress" in r && (r.onprogress = p), "onreadystatechange" in r && (r.onreadystatechange = function(b) {
369
+ C(b);
370
+ }), ("contentType" in r || !("ontimeout" in d.prototype)) && (n += (n.indexOf("?") === -1 ? "?" : "&") + "padding=true"), r.open(a, n, !0), "readyState" in r && (f = s(function() {
371
+ D();
372
+ }, 0));
373
+ }, P.prototype.abort = function() {
374
+ this._abort(!1);
375
+ }, P.prototype.getResponseHeader = function(a) {
376
+ return this._contentType;
377
+ }, P.prototype.setRequestHeader = function(a, n) {
378
+ var i = this._xhr;
379
+ "setRequestHeader" in i && i.setRequestHeader(a, n);
380
+ }, P.prototype.getAllResponseHeaders = function() {
381
+ return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
382
+ }, P.prototype.send = function() {
383
+ if ((!("ontimeout" in d.prototype) || !("sendAsBinary" in d.prototype) && !("mozAnon" in d.prototype)) && y != null && y.readyState != null && y.readyState !== "complete") {
384
+ var a = this;
385
+ a._sendTimeout = s(function() {
386
+ a._sendTimeout = 0, a.send();
387
+ }, 4);
388
+ return;
389
+ }
390
+ var n = this._xhr;
391
+ "withCredentials" in n && (n.withCredentials = this.withCredentials);
392
+ try {
393
+ n.send(void 0);
394
+ } catch (i) {
395
+ throw i;
396
+ }
397
+ };
398
+ function J(a) {
399
+ return a.replace(/[A-Z]/g, function(n) {
400
+ return String.fromCharCode(n.charCodeAt(0) + 32);
401
+ });
402
+ }
403
+ function ie(a) {
404
+ for (var n = /* @__PURE__ */ Object.create(null), i = a.split(`\r
405
+ `), r = 0; r < i.length; r += 1) {
406
+ var c = i[r], f = c.split(": "), v = f.shift(), p = f.join(": ");
407
+ n[J(v)] = p;
408
+ }
409
+ this._map = n;
410
+ }
411
+ ie.prototype.get = function(a) {
412
+ return this._map[J(a)];
413
+ }, d != null && d.HEADERS_RECEIVED == null && (d.HEADERS_RECEIVED = 2);
414
+ function X() {
415
+ }
416
+ X.prototype.open = function(a, n, i, r, c, f, v) {
417
+ a.open("GET", c);
418
+ var p = 0;
419
+ a.onprogress = function() {
420
+ var C = a.responseText, D = C.slice(p);
421
+ p += D.length, i(D);
422
+ }, a.onerror = function(C) {
423
+ C.preventDefault(), r(new Error("NetworkError"));
424
+ }, a.onload = function() {
425
+ r(null);
426
+ }, a.onabort = function() {
427
+ r(null);
428
+ }, a.onreadystatechange = function() {
429
+ if (a.readyState === d.HEADERS_RECEIVED) {
430
+ var C = a.status, D = a.statusText, b = a.getResponseHeader("Content-Type"), I = a.getAllResponseHeaders();
431
+ n(C, D, b, new ie(I));
432
+ }
433
+ }, a.withCredentials = f;
434
+ for (var w in v)
435
+ Object.prototype.hasOwnProperty.call(v, w) && a.setRequestHeader(w, v[w]);
436
+ return a.send(), a;
437
+ };
438
+ function x(a) {
439
+ this._headers = a;
440
+ }
441
+ x.prototype.get = function(a) {
442
+ return this._headers.get(a);
443
+ };
444
+ function A() {
445
+ }
446
+ A.prototype.open = function(a, n, i, r, c, f, v) {
447
+ var p = null, w = new j(), C = w.signal, D = new F();
448
+ return L(c, {
449
+ headers: v,
450
+ credentials: f ? "include" : "same-origin",
451
+ signal: C,
452
+ cache: "no-store"
453
+ }).then(function(b) {
454
+ return p = b.body.getReader(), n(b.status, b.statusText, b.headers.get("Content-Type"), new x(b.headers)), new R(function(I, ce) {
455
+ var xe = function() {
456
+ p.read().then(function(Z) {
457
+ if (Z.done)
458
+ I(void 0);
459
+ else {
460
+ var K = D.decode(Z.value, { stream: !0 });
461
+ i(K), xe();
462
+ }
463
+ }).catch(function(Z) {
464
+ ce(Z);
465
+ });
466
+ };
467
+ xe();
468
+ });
469
+ }).catch(function(b) {
470
+ if (b.name !== "AbortError")
471
+ return b;
472
+ }).then(function(b) {
473
+ r(b);
474
+ }), {
475
+ abort: function() {
476
+ p != null && p.cancel(), w.abort();
477
+ }
478
+ };
479
+ };
480
+ function N() {
481
+ this._listeners = /* @__PURE__ */ Object.create(null);
482
+ }
483
+ function l(a) {
484
+ s(function() {
485
+ throw a;
486
+ }, 0);
487
+ }
488
+ N.prototype.dispatchEvent = function(a) {
489
+ a.target = this;
490
+ var n = this._listeners[a.type];
491
+ if (n != null)
492
+ for (var i = n.length, r = 0; r < i; r += 1) {
493
+ var c = n[r];
494
+ try {
495
+ typeof c.handleEvent == "function" ? c.handleEvent(a) : c.call(this, a);
496
+ } catch (f) {
497
+ l(f);
498
+ }
499
+ }
500
+ }, N.prototype.addEventListener = function(a, n) {
501
+ a = String(a);
502
+ var i = this._listeners, r = i[a];
503
+ r == null && (r = [], i[a] = r);
504
+ for (var c = !1, f = 0; f < r.length; f += 1)
505
+ r[f] === n && (c = !0);
506
+ c || r.push(n);
507
+ }, N.prototype.removeEventListener = function(a, n) {
508
+ a = String(a);
509
+ var i = this._listeners, r = i[a];
510
+ if (r != null) {
511
+ for (var c = [], f = 0; f < r.length; f += 1)
512
+ r[f] !== n && c.push(r[f]);
513
+ c.length === 0 ? delete i[a] : i[a] = c;
514
+ }
515
+ };
516
+ function G(a) {
517
+ this.type = a, this.target = void 0;
518
+ }
519
+ function De(a, n) {
520
+ G.call(this, a), this.data = n.data, this.lastEventId = n.lastEventId;
521
+ }
522
+ De.prototype = Object.create(G.prototype);
523
+ function se(a, n) {
524
+ G.call(this, a), this.status = n.status, this.statusText = n.statusText, this.headers = n.headers;
525
+ }
526
+ se.prototype = Object.create(G.prototype);
527
+ function _e(a, n) {
528
+ G.call(this, a), this.error = n.error;
529
+ }
530
+ _e.prototype = Object.create(G.prototype);
531
+ var Ae = -1, oe = 0, ve = 1, le = 2, Be = -1, re = 0, we = 1, Re = 2, je = 3, Le = /^text\/event\-stream(;.*)?$/i, He = 1e3, ze = 18e6, Te = function(a, n) {
532
+ var i = a == null ? n : parseInt(a, 10);
533
+ return i !== i && (i = n), Ee(i);
534
+ }, Ee = function(a) {
535
+ return Math.min(Math.max(a, He), ze);
536
+ }, ye = function(a, n, i) {
537
+ try {
538
+ typeof n == "function" && n.call(a, i);
539
+ } catch (r) {
540
+ l(r);
541
+ }
542
+ };
543
+ function Q(a, n) {
544
+ N.call(this), n = n || {}, 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, Xe(this, a, n);
545
+ }
546
+ function Ue() {
547
+ return d != null && "withCredentials" in d.prototype || g == null ? new d() : new g();
548
+ }
549
+ var Pe = L != null && M != null && "body" in M.prototype;
550
+ function Xe(a, n, i) {
551
+ n = String(n);
552
+ var r = !!i.withCredentials, c = i.lastEventIdQueryParameterName || "lastEventId", f = Ee(1e3), v = Te(i.heartbeatTimeout, 45e3), p = "", w = f, C = !1, D = 0, b = i.headers || {}, I = i.Transport, ce = Pe && I == null ? void 0 : new P(I != null ? new I() : Ue()), xe = I != null && typeof I != "string" ? new I() : ce == null ? new A() : new X(), Z = void 0, K = 0, te = Ae, Se = "", ke = "", de = "", Fe = "", W = re, Ge = 0, be = 0, pt = function(z, H, $, ee) {
553
+ if (te === oe)
554
+ if (z === 200 && $ != null && Le.test($)) {
555
+ te = ve, C = Date.now(), w = f, a.readyState = ve;
556
+ var q = new se("open", {
557
+ status: z,
558
+ statusText: H,
559
+ headers: ee
560
+ });
561
+ a.dispatchEvent(q), ye(a, a.onopen, q);
562
+ } else {
563
+ var U = "";
564
+ z !== 200 ? (H && (H = H.replace(/\s+/g, " ")), U = "EventSource's response has a status " + z + " " + H + " that is not 200. Aborting the connection.") : U = "EventSource's response has a Content-Type specifying an unsupported type: " + ($ == null ? "-" : $.replace(/\s+/g, " ")) + ". Aborting the connection.", Ke();
565
+ var q = new se("error", {
566
+ status: z,
567
+ statusText: H,
568
+ headers: ee
569
+ });
570
+ a.dispatchEvent(q), ye(a, a.onerror, q), console.error(U);
571
+ }
572
+ }, ht = function(z) {
573
+ if (te === ve) {
574
+ for (var H = -1, $ = 0; $ < z.length; $ += 1) {
575
+ var ee = z.charCodeAt($);
576
+ (ee === 10 || ee === 13) && (H = $);
577
+ }
578
+ var q = (H !== -1 ? Fe : "") + z.slice(0, H + 1);
579
+ Fe = (H === -1 ? Fe : "") + z.slice(H + 1), z !== "" && (C = Date.now(), D += z.length);
580
+ for (var U = 0; U < q.length; U += 1) {
581
+ var ee = q.charCodeAt(U);
582
+ if (W === Be && ee === 10)
583
+ W = re;
584
+ else if (W === Be && (W = re), ee === 13 || ee === 10) {
585
+ if (W !== re) {
586
+ W === we && (be = U + 1);
587
+ var ue = q.slice(Ge, be - 1), fe = q.slice(be + (be < U && q.charCodeAt(be) === 32 ? 1 : 0), U);
588
+ ue === "data" ? (Se += `
589
+ `, Se += fe) : ue === "id" ? ke = fe : ue === "event" ? de = fe : ue === "retry" ? (f = Te(fe, f), w = f) : ue === "heartbeatTimeout" && (v = Te(fe, v), K !== 0 && (u(K), K = s(function() {
590
+ Me();
591
+ }, v)));
592
+ }
593
+ if (W === re) {
594
+ if (Se !== "") {
595
+ p = ke, de === "" && (de = "message");
596
+ var Ce = new De(de, {
597
+ data: Se.slice(1),
598
+ lastEventId: ke
599
+ });
600
+ if (a.dispatchEvent(Ce), de === "open" ? ye(a, a.onopen, Ce) : de === "message" ? ye(a, a.onmessage, Ce) : de === "error" && ye(a, a.onerror, Ce), te === le)
601
+ return;
602
+ }
603
+ Se = "", de = "";
604
+ }
605
+ W = ee === 13 ? Be : re;
606
+ } else
607
+ W === re && (Ge = U, W = we), W === we ? ee === 58 && (be = U + 1, W = Re) : W === Re && (W = je);
608
+ }
609
+ }
610
+ }, Je = function(z) {
611
+ if (te === ve || te === oe) {
612
+ te = Ae, K !== 0 && (u(K), K = 0), K = s(function() {
613
+ Me();
614
+ }, w), w = Ee(Math.min(f * 16, w * 2)), a.readyState = oe;
615
+ var H = new _e("error", { error: z });
616
+ a.dispatchEvent(H), ye(a, a.onerror, H), z != null && console.error(z);
617
+ }
618
+ }, Ke = function() {
619
+ te = le, Z != null && (Z.abort(), Z = void 0), K !== 0 && (u(K), K = 0), a.readyState = le;
620
+ }, Me = function() {
621
+ if (K = 0, te !== Ae) {
622
+ if (!C && Z != null)
623
+ Je(new Error("No activity within " + v + " milliseconds. " + (te === oe ? "No response received." : D + " chars received.") + " Reconnecting.")), Z != null && (Z.abort(), Z = void 0);
624
+ else {
625
+ var z = Math.max((C || Date.now()) + v - Date.now(), 1);
626
+ C = !1, K = s(function() {
627
+ Me();
628
+ }, z);
629
+ }
630
+ return;
631
+ }
632
+ C = !1, D = 0, K = s(function() {
633
+ Me();
634
+ }, v), te = oe, Se = "", de = "", ke = p, Fe = "", Ge = 0, be = 0, W = re;
635
+ var H = n;
636
+ if (n.slice(0, 5) !== "data:" && n.slice(0, 5) !== "blob:" && p !== "") {
637
+ var $ = n.indexOf("?");
638
+ H = $ === -1 ? n : n.slice(0, $ + 1) + n.slice($ + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(fe, Ce) {
639
+ return Ce === c ? "" : fe;
640
+ }), H += (n.indexOf("?") === -1 ? "?" : "&") + c + "=" + encodeURIComponent(p);
641
+ }
642
+ var ee = a.withCredentials, q = {};
643
+ q.Accept = "text/event-stream";
644
+ var U = a.headers;
645
+ if (U != null)
646
+ for (var ue in U)
647
+ Object.prototype.hasOwnProperty.call(U, ue) && (q[ue] = U[ue]);
648
+ try {
649
+ Z = xe.open(ce, pt, ht, Je, H, ee, q);
650
+ } catch (fe) {
651
+ throw Ke(), fe;
652
+ }
653
+ };
654
+ a.url = n, a.readyState = oe, a.withCredentials = r, a.headers = b, a._close = Ke, Me();
655
+ }
656
+ Q.prototype = Object.create(N.prototype), Q.prototype.CONNECTING = oe, Q.prototype.OPEN = ve, Q.prototype.CLOSED = le, Q.prototype.close = function() {
657
+ this._close();
658
+ }, Q.CONNECTING = oe, Q.OPEN = ve, Q.CLOSED = le, Q.prototype.withCredentials = void 0;
659
+ var Oe = m;
660
+ d != null && (m == null || !("withCredentials" in m.prototype)) && (Oe = Q), function(a) {
661
+ {
662
+ var n = a(e);
663
+ n !== void 0 && (o.exports = n);
664
+ }
665
+ }(function(a) {
666
+ a.EventSourcePolyfill = Q, a.NativeEventSource = m, a.EventSource = Oe;
667
+ });
668
+ })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : Tt : globalThis);
669
+ })(qe, qe.exports);
670
+ var Ft = qe.exports;
671
+ /*!
672
+ * currency.js - v2.0.4
673
+ * http://scurker.github.io/currency.js
674
+ *
675
+ * Copyright (c) 2021 Jason Wilson
676
+ * Released under MIT license
677
+ */
678
+ var It = {
679
+ symbol: "$",
680
+ separator: ",",
681
+ decimal: ".",
682
+ errorOnInvalid: !1,
683
+ precision: 2,
684
+ pattern: "!#",
685
+ negativePattern: "-!#",
686
+ format: Ht,
687
+ fromCents: !1
688
+ }, ft = function(e) {
689
+ return Math.round(e);
690
+ }, Ye = function(e) {
691
+ return Math.pow(10, e);
692
+ }, Nt = function(e, t) {
693
+ return ft(e / t) * t;
694
+ }, Vt = /(\d)(?=(\d{3})+\b)/g, jt = /(\d)(?=(\d\d)+\d\b)/g;
695
+ function ne(o, e) {
696
+ var t = this;
697
+ if (!(t instanceof ne))
698
+ return new ne(o, e);
699
+ var s = Object.assign({}, It, e), u = Ye(s.precision), d = Ie(o, s);
700
+ t.intValue = d, t.value = d / u, s.increment = s.increment || 1 / u, s.useVedic ? s.groups = jt : s.groups = Vt, this.s = s, this.p = u;
701
+ }
702
+ function Ie(o, e) {
703
+ var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, s = 0, u = e.decimal, d = e.errorOnInvalid, g = e.precision, h = e.fromCents, m = Ye(g), y = typeof o == "number", R = o instanceof ne;
704
+ if (R && h)
705
+ return o.intValue;
706
+ if (y || R)
707
+ s = R ? o.value : o;
708
+ else if (typeof o == "string") {
709
+ var L = new RegExp("[^-\\d" + u + "]", "g"), M = new RegExp("\\" + u, "g");
710
+ s = o.replace(/\((.*)\)/, "-$1").replace(L, "").replace(M, "."), s = s || 0;
711
+ } else {
712
+ if (d)
713
+ throw Error("Invalid Input");
714
+ s = 0;
715
+ }
716
+ return h || (s *= m, s = s.toFixed(4)), t ? ft(s) : s;
717
+ }
718
+ function Ht(o, e) {
719
+ var t = e.pattern, s = e.negativePattern, u = e.symbol, d = e.separator, g = e.decimal, h = e.groups, m = ("" + o).replace(/^-/, "").split("."), y = m[0], R = m[1];
720
+ return (o.value >= 0 ? t : s).replace("!", u).replace("#", y.replace(h, "$1" + d) + (R ? g + R : ""));
721
+ }
722
+ ne.prototype = {
723
+ /**
724
+ * Adds values together.
725
+ * @param {number} number
726
+ * @returns {currency}
727
+ */
728
+ add: function(e) {
729
+ var t = this.intValue, s = this.s, u = this.p;
730
+ return ne((t += Ie(e, s)) / (s.fromCents ? 1 : u), s);
731
+ },
732
+ /**
733
+ * Subtracts value.
734
+ * @param {number} number
735
+ * @returns {currency}
736
+ */
737
+ subtract: function(e) {
738
+ var t = this.intValue, s = this.s, u = this.p;
739
+ return ne((t -= Ie(e, s)) / (s.fromCents ? 1 : u), s);
740
+ },
741
+ /**
742
+ * Multiplies values.
743
+ * @param {number} number
744
+ * @returns {currency}
745
+ */
746
+ multiply: function(e) {
747
+ var t = this.intValue, s = this.s;
748
+ return ne((t *= e) / (s.fromCents ? 1 : Ye(s.precision)), s);
749
+ },
750
+ /**
751
+ * Divides value.
752
+ * @param {number} number
753
+ * @returns {currency}
754
+ */
755
+ divide: function(e) {
756
+ var t = this.intValue, s = this.s;
757
+ return ne(t /= Ie(e, s, !1), s);
758
+ },
759
+ /**
760
+ * Takes the currency amount and distributes the values evenly. Any extra pennies
761
+ * left over from the distribution will be stacked onto the first set of entries.
762
+ * @param {number} count
763
+ * @returns {array}
764
+ */
765
+ distribute: function(e) {
766
+ for (var t = this.intValue, s = this.p, u = this.s, d = [], g = Math[t >= 0 ? "floor" : "ceil"](t / e), h = Math.abs(t - g * e), m = u.fromCents ? 1 : s; e !== 0; e--) {
767
+ var y = ne(g / m, u);
768
+ h-- > 0 && (y = y[t >= 0 ? "add" : "subtract"](1 / m)), d.push(y);
769
+ }
770
+ return d;
771
+ },
772
+ /**
773
+ * Returns the dollar value.
774
+ * @returns {number}
775
+ */
776
+ dollars: function() {
777
+ return ~~this.value;
778
+ },
779
+ /**
780
+ * Returns the cent value.
781
+ * @returns {number}
782
+ */
783
+ cents: function() {
784
+ var e = this.intValue, t = this.p;
785
+ return ~~(e % t);
786
+ },
787
+ /**
788
+ * Formats the value as a string according to the formatting settings.
789
+ * @param {boolean} useSymbol - format with currency symbol
790
+ * @returns {string}
791
+ */
792
+ format: function(e) {
793
+ var t = this.s;
794
+ return typeof e == "function" ? e(this, t) : t.format(this, Object.assign({}, t, e));
795
+ },
796
+ /**
797
+ * Formats the value as a string according to the formatting settings.
798
+ * @returns {string}
799
+ */
800
+ toString: function() {
801
+ var e = this.intValue, t = this.p, s = this.s;
802
+ return Nt(e / t, s.increment).toFixed(s.precision);
803
+ },
804
+ /**
805
+ * Value for JSON serialization.
806
+ * @returns {float}
807
+ */
808
+ toJSON: function() {
809
+ return this.value;
810
+ }
811
+ };
812
+ function zt(o) {
813
+ Rt(o, "svelte-10ojpbd", '*,*::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;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, #D0046C));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;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw-color-secondary, var(--emw-color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw-color-secondary, var(--emw-color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw-header-contrast, var(--emw-color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw-color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw-header-contrast, var(--emw-color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw-header-contrast, var(--emw-color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw-color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw-color-primary);box-shadow:0px 0px 0px 2px inset var(--emw-color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
814
+ }
815
+ function rt(o, e, t) {
816
+ const s = o.slice();
817
+ return s[50] = e[t], s;
818
+ }
819
+ function it(o, e, t) {
820
+ const s = o.slice();
821
+ return s[53] = e[t], s;
822
+ }
823
+ function Ut(o) {
824
+ let e, t, s = (
825
+ /*balances*/
826
+ (o[1].Total ? (
827
+ /*formatBalance*/
828
+ o[8](
829
+ /*balances*/
830
+ o[1].Total[0].amount
831
+ )
832
+ ) : "0") + ""
833
+ ), u, d, g, h, m, y, R, L, M, F, E, j, B = (
834
+ /*showBalance*/
835
+ o[4] && st(o)
836
+ );
837
+ return {
838
+ c() {
839
+ e = V("div"), t = V("p"), u = pe(s), d = ae(), g = pe(
840
+ /*currency*/
841
+ o[5]
842
+ ), h = ae(), m = V("span"), y = nt("svg"), R = nt("path"), M = ae(), B && B.c(), F = Dt(), _(R, "id", "arrow"), _(R, "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"), _(R, "transform", "translate(-274.511 -441.088)"), _(R, "fill", "#d1d1d1"), _(y, "xmlns", "http://www.w3.org/2000/svg"), _(y, "width", "14"), _(y, "height", "6.835"), _(y, "viewBox", "0 0 14 6.835"), _(m, "class", L = /*modalOpened*/
843
+ o[3] ? "TriangleActive" : "TriangleInactive"), _(e, "class", "BalanceValue");
844
+ },
845
+ m(S, O) {
846
+ ge(S, e, O), T(e, t), T(t, u), T(t, d), T(t, g), T(e, h), T(e, m), T(m, y), T(y, R), ge(S, M, O), B && B.m(S, O), ge(S, F, O), E || (j = Ne(
847
+ e,
848
+ "click",
849
+ /*click_handler*/
850
+ o[24]
851
+ ), E = !0);
852
+ },
853
+ p(S, O) {
854
+ O[0] & /*balances*/
855
+ 2 && s !== (s = /*balances*/
856
+ (S[1].Total ? (
857
+ /*formatBalance*/
858
+ S[8](
859
+ /*balances*/
860
+ S[1].Total[0].amount
861
+ )
862
+ ) : "0") + "") && he(u, s), O[0] & /*currency*/
863
+ 32 && he(
864
+ g,
865
+ /*currency*/
866
+ S[5]
867
+ ), O[0] & /*modalOpened*/
868
+ 8 && L !== (L = /*modalOpened*/
869
+ S[3] ? "TriangleActive" : "TriangleInactive") && _(m, "class", L), /*showBalance*/
870
+ S[4] ? B ? B.p(S, O) : (B = st(S), B.c(), B.m(F.parentNode, F)) : B && (B.d(1), B = null);
871
+ },
872
+ d(S) {
873
+ S && (me(e), me(M), me(F)), B && B.d(S), E = !1, j();
874
+ }
875
+ };
876
+ }
877
+ function Pt(o) {
878
+ let e, t = (
879
+ /*$_*/
880
+ o[6]("Loading") + ""
881
+ ), s;
882
+ return {
883
+ c() {
884
+ e = V("p"), s = pe(t), _(e, "class", "Loading");
885
+ },
886
+ m(u, d) {
887
+ ge(u, e, d), T(e, s);
888
+ },
889
+ p(u, d) {
890
+ d[0] & /*$_*/
891
+ 64 && t !== (t = /*$_*/
892
+ u[6]("Loading") + "") && he(s, t);
893
+ },
894
+ d(u) {
895
+ u && me(e);
896
+ }
897
+ };
898
+ }
899
+ function st(o) {
900
+ let e, t, s, u, d, g, h, m, y = (
901
+ /*$_*/
902
+ o[6]("Title") + ""
903
+ ), R, L, M, F, E, j, B = (
904
+ /*$_*/
905
+ o[6]("DepositButton") + ""
906
+ ), S, O, k, P, J, ie, X = Ve(Object.keys(
907
+ /*balances*/
908
+ o[1]
909
+ )), x = [];
910
+ for (let A = 0; A < X.length; A += 1)
911
+ x[A] = ct(rt(o, X, A));
912
+ return {
913
+ c() {
914
+ e = V("div"), t = V("div"), u = ae(), d = V("div"), g = V("div"), h = V("div"), m = V("p"), R = pe(y), L = ae(), M = V("div");
915
+ for (let A = 0; A < x.length; A += 1)
916
+ x[A].c();
917
+ F = ae(), E = V("div"), j = V("button"), S = pe(B), _(t, "class", s = "BalanceModalClose " + /*modalOpened*/
918
+ (o[3] ? "Open" : "")), _(m, "class", "BalanceModalTitle"), _(h, "class", "BalanceModalHeader"), _(M, "class", "BalanceModalBody"), _(j, "class", "BalanceModalAction"), _(E, "class", "BalanceModalFooter"), _(g, "class", O = "ModalContent " + /*modalOpened*/
919
+ (o[3] ? "Open" : "")), _(d, "class", k = "BalanceModal " + /*modalOpened*/
920
+ (o[3] ? "Open" : "")), _(e, "class", P = "BalanceModalWrapper " + /*modalOpened*/
921
+ (o[3] ? "Open" : ""));
922
+ },
923
+ m(A, N) {
924
+ ge(A, e, N), T(e, t), T(e, u), T(e, d), T(d, g), T(g, h), T(h, m), T(m, R), T(g, L), T(g, M);
925
+ for (let l = 0; l < x.length; l += 1)
926
+ x[l] && x[l].m(M, null);
927
+ T(g, F), T(g, E), T(E, j), T(j, S), J || (ie = [
928
+ Ne(
929
+ t,
930
+ "click",
931
+ /*click_handler_1*/
932
+ o[25]
933
+ ),
934
+ Ne(
935
+ j,
936
+ "click",
937
+ /*click_handler_2*/
938
+ o[26]
939
+ )
940
+ ], J = !0);
941
+ },
942
+ p(A, N) {
943
+ if (N[0] & /*modalOpened*/
944
+ 8 && s !== (s = "BalanceModalClose " + /*modalOpened*/
945
+ (A[3] ? "Open" : "")) && _(t, "class", s), N[0] & /*$_*/
946
+ 64 && y !== (y = /*$_*/
947
+ A[6]("Title") + "") && he(R, y), N[0] & /*balances, currency, formatBalance, $_*/
948
+ 354) {
949
+ X = Ve(Object.keys(
950
+ /*balances*/
951
+ A[1]
952
+ ));
953
+ let l;
954
+ for (l = 0; l < X.length; l += 1) {
955
+ const G = rt(A, X, l);
956
+ x[l] ? x[l].p(G, N) : (x[l] = ct(G), x[l].c(), x[l].m(M, null));
957
+ }
958
+ for (; l < x.length; l += 1)
959
+ x[l].d(1);
960
+ x.length = X.length;
961
+ }
962
+ N[0] & /*$_*/
963
+ 64 && B !== (B = /*$_*/
964
+ A[6]("DepositButton") + "") && he(S, B), N[0] & /*modalOpened*/
965
+ 8 && O !== (O = "ModalContent " + /*modalOpened*/
966
+ (A[3] ? "Open" : "")) && _(g, "class", O), N[0] & /*modalOpened*/
967
+ 8 && k !== (k = "BalanceModal " + /*modalOpened*/
968
+ (A[3] ? "Open" : "")) && _(d, "class", k), N[0] & /*modalOpened*/
969
+ 8 && P !== (P = "BalanceModalWrapper " + /*modalOpened*/
970
+ (A[3] ? "Open" : "")) && _(e, "class", P);
971
+ },
972
+ d(A) {
973
+ A && me(e), ut(x, A), J = !1, Lt(ie);
974
+ }
975
+ };
976
+ }
977
+ function lt(o) {
978
+ let e, t, s = (
979
+ /*$_*/
980
+ o[6](
981
+ /*k*/
982
+ o[50]
983
+ ) + ""
984
+ ), u, d, g = (
985
+ /*b*/
986
+ (o[53].productType ? (
987
+ /*$_*/
988
+ o[6](
989
+ /*b*/
990
+ o[53].productType
991
+ )
992
+ ) : "") + ""
993
+ ), h, m, y, R, L = (
994
+ /*b*/
995
+ (o[53].amount ? (
996
+ /*formatBalance*/
997
+ o[8](
998
+ /*b*/
999
+ o[53].amount
1000
+ )
1001
+ ) : "0") + ""
1002
+ ), M, F, E, j;
1003
+ return {
1004
+ c() {
1005
+ e = V("div"), t = V("p"), u = pe(s), d = ae(), h = pe(g), m = ae(), y = V("p"), R = V("span"), M = pe(L), F = ae(), E = V("span"), j = pe(
1006
+ /*currency*/
1007
+ o[5]
1008
+ ), _(t, "class", "BalanceModalText"), _(R, "class", "BalanceModalAmount"), _(E, "class", "BalanceModalCurrency"), _(y, "class", "BalanceModalValue"), _(e, "class", "BalanceModalRowLine");
1009
+ },
1010
+ m(B, S) {
1011
+ ge(B, e, S), T(e, t), T(t, u), T(t, d), T(t, h), T(e, m), T(e, y), T(y, R), T(R, M), T(y, F), T(y, E), T(E, j);
1012
+ },
1013
+ p(B, S) {
1014
+ S[0] & /*$_, balances*/
1015
+ 66 && s !== (s = /*$_*/
1016
+ B[6](
1017
+ /*k*/
1018
+ B[50]
1019
+ ) + "") && he(u, s), S[0] & /*balances, $_*/
1020
+ 66 && g !== (g = /*b*/
1021
+ (B[53].productType ? (
1022
+ /*$_*/
1023
+ B[6](
1024
+ /*b*/
1025
+ B[53].productType
1026
+ )
1027
+ ) : "") + "") && he(h, g), S[0] & /*balances*/
1028
+ 2 && L !== (L = /*b*/
1029
+ (B[53].amount ? (
1030
+ /*formatBalance*/
1031
+ B[8](
1032
+ /*b*/
1033
+ B[53].amount
1034
+ )
1035
+ ) : "0") + "") && he(M, L), S[0] & /*currency*/
1036
+ 32 && he(
1037
+ j,
1038
+ /*currency*/
1039
+ B[5]
1040
+ );
1041
+ },
1042
+ d(B) {
1043
+ B && me(e);
1044
+ }
1045
+ };
1046
+ }
1047
+ function ct(o) {
1048
+ let e, t, s = Ve(
1049
+ /*balances*/
1050
+ o[1][
1051
+ /*k*/
1052
+ o[50]
1053
+ ]
1054
+ ), u = [];
1055
+ for (let d = 0; d < s.length; d += 1)
1056
+ u[d] = lt(it(o, s, d));
1057
+ return {
1058
+ c() {
1059
+ e = V("div");
1060
+ for (let d = 0; d < u.length; d += 1)
1061
+ u[d].c();
1062
+ t = ae(), _(e, "class", "BalanceModalRowBoth");
1063
+ },
1064
+ m(d, g) {
1065
+ ge(d, e, g);
1066
+ for (let h = 0; h < u.length; h += 1)
1067
+ u[h] && u[h].m(e, null);
1068
+ T(e, t);
1069
+ },
1070
+ p(d, g) {
1071
+ if (g[0] & /*currency, balances, formatBalance, $_*/
1072
+ 354) {
1073
+ s = Ve(
1074
+ /*balances*/
1075
+ d[1][
1076
+ /*k*/
1077
+ d[50]
1078
+ ]
1079
+ );
1080
+ let h;
1081
+ for (h = 0; h < s.length; h += 1) {
1082
+ const m = it(d, s, h);
1083
+ u[h] ? u[h].p(m, g) : (u[h] = lt(m), u[h].c(), u[h].m(e, t));
1084
+ }
1085
+ for (; h < u.length; h += 1)
1086
+ u[h].d(1);
1087
+ u.length = s.length;
1088
+ }
1089
+ },
1090
+ d(d) {
1091
+ d && me(e), ut(u, d);
1092
+ }
1093
+ };
1094
+ }
1095
+ function dt(o) {
1096
+ let e, t, s;
1097
+ return {
1098
+ c() {
1099
+ e = V("div"), _(e, "class", "ShowBalanceModalOverlay");
1100
+ },
1101
+ m(u, d) {
1102
+ ge(u, e, d), t || (s = Ne(
1103
+ e,
1104
+ "click",
1105
+ /*click_handler_3*/
1106
+ o[27]
1107
+ ), t = !0);
1108
+ },
1109
+ p: We,
1110
+ d(u) {
1111
+ u && me(e), t = !1, s();
1112
+ }
1113
+ };
1114
+ }
1115
+ function Xt(o) {
1116
+ let e, t, s;
1117
+ function u(m, y) {
1118
+ return (
1119
+ /*isLoading*/
1120
+ m[2] ? Pt : Ut
1121
+ );
1122
+ }
1123
+ let d = u(o), g = d(o), h = (
1124
+ /*showBalance*/
1125
+ o[4] && dt(o)
1126
+ );
1127
+ return {
1128
+ c() {
1129
+ e = V("div"), t = V("div"), g.c(), s = ae(), h && h.c(), _(t, "class", "ShowBalance");
1130
+ },
1131
+ m(m, y) {
1132
+ ge(m, e, y), T(e, t), g.m(t, null), T(e, s), h && h.m(e, null), o[28](e);
1133
+ },
1134
+ p(m, y) {
1135
+ d === (d = u(m)) && g ? g.p(m, y) : (g.d(1), g = d(m), g && (g.c(), g.m(t, null))), /*showBalance*/
1136
+ m[4] ? h ? h.p(m, y) : (h = dt(m), h.c(), h.m(e, null)) : h && (h.d(1), h = null);
1137
+ },
1138
+ i: We,
1139
+ o: We,
1140
+ d(m) {
1141
+ m && me(e), g.d(), h && h.d(), o[28](null);
1142
+ }
1143
+ };
1144
+ }
1145
+ function Gt(o, e, t) {
1146
+ let s;
1147
+ Et(o, Ot, (n) => t(6, s = n));
1148
+ let { userid: u = "" } = e, { session: d = "" } = e, { endpoint: g = "" } = e, { lang: h = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: y = "" } = e, { translationurl: R = "" } = e, { customlocaleidentifier: L = "" } = e, { gmversion: M = "gm16" } = e, { displaybalanceoption: F = "All" } = e, { totalcalculationmode: E = "totalCashAmount" } = e, { currencyseparator: j = "" } = e, { currencydecimal: B = "" } = e, { currencyprecision: S = "" } = e, O, k, P, J, ie = !1, X = "", x = [], A, N = !1;
1149
+ const l = {}, G = ["totalCashAmount", "totalRealAmount"], De = () => {
1150
+ fetch(R).then((n) => n.json()).then((n) => Object.keys(n).forEach((i) => at(i, n[i]))).catch((n) => console.log(n));
1151
+ };
1152
+ Object.keys(ot).forEach((n) => at(n, ot[n]));
1153
+ const se = (n) => {
1154
+ switch (n) {
1155
+ case "balance":
1156
+ window.postMessage(
1157
+ {
1158
+ type: "BalanceModalStatus",
1159
+ status: "open"
1160
+ },
1161
+ window.location.href
1162
+ ), t(4, ie = !0), setTimeout(() => t(3, P = !0), 150);
1163
+ break;
1164
+ case "closebalance":
1165
+ t(3, P = !1), window.postMessage(
1166
+ {
1167
+ type: "BalanceModalStatus",
1168
+ status: "close"
1169
+ },
1170
+ window.location.href
1171
+ ), setTimeout(
1172
+ () => {
1173
+ t(4, ie = !1);
1174
+ },
1175
+ 150
1176
+ );
1177
+ break;
1178
+ }
1179
+ }, _e = () => {
1180
+ if (L.includes(h))
1181
+ return L;
1182
+ }, Ae = (n) => L ? new Intl.NumberFormat(_e(), { useGrouping: !0 }).format(n) : j && B ? ne(n, {
1183
+ separator: j,
1184
+ decimal: B,
1185
+ symbol: "",
1186
+ precision: parseInt(S || "2", 10)
1187
+ }).format() : ne(n, {
1188
+ separator: ".",
1189
+ decimal: ",",
1190
+ symbol: "",
1191
+ precision: parseInt(S || "2", 10)
1192
+ }).format(), oe = () => tt(this, null, function* () {
1193
+ var i, r, c;
1194
+ t(2, O = !0);
1195
+ const n = new URL(`${g}/v1/player/${u}/account`);
1196
+ try {
1197
+ const f = yield fetch(n, {
1198
+ method: "GET",
1199
+ headers: { "X-SessionID": d }
1200
+ }), v = yield f.json();
1201
+ if (f.ok)
1202
+ window.postMessage({ type: "BalancedFetched" }, window.location.href), x = v.items, t(5, X = (i = x.find((p) => p.displayName === "Casino")) == null ? void 0 : i.currency), t(1, l.Total = [{ amount: v.totalAmount[X] }], l), t(
1203
+ 1,
1204
+ l.Real = [
1205
+ {
1206
+ amount: (r = x.find((p) => p.displayName === "Casino")) == null ? void 0 : r.balanceAmount
1207
+ }
1208
+ ],
1209
+ l
1210
+ ), t(
1211
+ 1,
1212
+ l.Bonus = [
1213
+ {
1214
+ amount: (c = x.find((p) => p.displayName === "UBS")) == null ? void 0 : c.balanceAmount
1215
+ }
1216
+ ],
1217
+ l
1218
+ );
1219
+ else
1220
+ throw new Error("Failed to fetch balance data !");
1221
+ } catch (f) {
1222
+ console.log("Balance error: ", f);
1223
+ } finally {
1224
+ t(2, O = !1);
1225
+ }
1226
+ }), ve = () => {
1227
+ t(2, O = !0);
1228
+ const n = new URL(`${g}/v2/player/${u}/balance`), i = new Headers();
1229
+ i.append("X-SessionID", d), fetch(n, { method: "GET", headers: i }).then((c) => c.json()).then((c) => {
1230
+ c[E] || t(10, E = G[0]);
1231
+ const f = c.items.find((p) => p.type === "Real" && p.walletAccountType === "Ordinary");
1232
+ if (t(5, X = f.currency), N = !!f.productType, t(1, l.Total = [{ amount: 0 }], l), t(1, l.Real = [], l), t(1, l.Bonus = [], l), t(1, l.Credit = [], l), !N) {
1233
+ A = {
1234
+ lastOrdinaryAfterAmount: 0,
1235
+ showCreditLineAfterAmount: !1
1236
+ }, t(1, l.Total[0].amount = c[E][X], l);
1237
+ for (const p of c.items)
1238
+ switch (p.type) {
1239
+ case "Bonus":
1240
+ l.Bonus.length === 0 ? l.Bonus.push({ amount: p.amount }) : t(1, l.Bonus[0].amount += p.amount, l);
1241
+ break;
1242
+ case "Real":
1243
+ if (p.creditLine && l.Credit.length === 0 && l.Credit.push({ amount: p.creditLine }), E === "totalRealAmount") continue;
1244
+ l.Real.length === 0 ? l.Real.push({ amount: p.amount }) : t(1, l.Real[0].amount += p.amount, l);
1245
+ break;
1246
+ }
1247
+ for (const [p, w] of Object.entries(l))
1248
+ w.length < 1 && delete l[p];
1249
+ t(2, O = !1);
1250
+ return;
1251
+ }
1252
+ A = {
1253
+ Casino: {
1254
+ lastOrdinaryAfterAmount: 0,
1255
+ showCreditLineAfterAmount: !1
1256
+ },
1257
+ Sports: {
1258
+ lastOrdinaryAfterAmount: 0,
1259
+ showCreditLineAfterAmount: !1
1260
+ }
1261
+ };
1262
+ let v = c.items;
1263
+ F && F !== "All" && (v = c.items.filter((p) => p.productType === F));
1264
+ for (const p of v) {
1265
+ let w;
1266
+ switch (p.type) {
1267
+ case "Bonus":
1268
+ w = l.Bonus.findIndex((C) => C.productType === p.productType), w > 0 ? t(1, l.Bonus[w].amount += p.amount, l) : l.Bonus.push({
1269
+ amount: p.amount,
1270
+ productType: p.productType
1271
+ });
1272
+ break;
1273
+ case "Real":
1274
+ p.creditLine && l.Credit.push({
1275
+ amount: p.creditLine,
1276
+ productType: p.productType
1277
+ }), w = l.Real.findIndex((C) => C.productType === p.productType), w > 0 ? t(1, l.Real[w].amount += p.amount, l) : l.Real.push({
1278
+ amount: p.amount,
1279
+ productType: p.productType
1280
+ });
1281
+ break;
1282
+ }
1283
+ }
1284
+ Re();
1285
+ for (const [p, w] of Object.entries(l))
1286
+ w.length < 1 && delete l[p];
1287
+ t(2, O = !1);
1288
+ }).catch((c) => {
1289
+ throw t(2, O = !1), new Error("Failed to fetch balance data !");
1290
+ });
1291
+ }, le = () => {
1292
+ if (J && J.close(), d.length < 1) return;
1293
+ let n, i;
1294
+ switch (M) {
1295
+ case "gm16":
1296
+ n = new URL(`${g}/v2/player/${u}/information/updates`), i = (f) => je(f);
1297
+ break;
1298
+ case "gmcore":
1299
+ n = new URL(`${g}/v1/player/${u}/balance/updates`), i = (f) => re(f);
1300
+ break;
1301
+ }
1302
+ const r = {
1303
+ accept: "text/event-stream",
1304
+ "X-SessionId": d
1305
+ }, c = new Ft.EventSourcePolyfill(n, { headers: r });
1306
+ J = c, c.addEventListener("message", i);
1307
+ }, Be = (n) => {
1308
+ let i;
1309
+ try {
1310
+ i = JSON.parse(n);
1311
+ } catch (r) {
1312
+ console.log("Balance stream failed: ", r);
1313
+ return;
1314
+ }
1315
+ return i;
1316
+ }, re = (n) => {
1317
+ var f, v;
1318
+ const i = Be(n.data);
1319
+ if (!i) {
1320
+ le();
1321
+ return;
1322
+ }
1323
+ let r = "0";
1324
+ const c = i.balanceChange;
1325
+ x = x.map((p) => (c && c[p.id] && (p = et($e({}, p), {
1326
+ balanceAmount: c[p.id].afterAmount
1327
+ })), r = (parseFloat(p == null ? void 0 : p.balanceAmount) + parseFloat(r)).toString(), p)), t(1, l.Real = [{ amount: (f = x[0]) == null ? void 0 : f.balanceAmount }], l), t(1, l.Bonus = [{ amount: (v = x[1]) == null ? void 0 : v.balanceAmount }], l), t(1, l.Total = [{ amount: Number(r) }], l);
1328
+ }, we = (n, i, r) => {
1329
+ let c = null;
1330
+ switch (r.walletAccountType) {
1331
+ case "Ordinary":
1332
+ r.afterAmount !== r.affectedAmount && (i.lastOrdinaryAfterAmount = r.afterAmount, i.showCreditLineAfterAmount || (c = r.afterAmount));
1333
+ break;
1334
+ case "CreditLine":
1335
+ r.afterAmount !== 0 ? (c = r.afterAmount, i.showCreditLineAfterAmount = !0) : (c = i.lastOrdinaryAfterAmount, i.showCreditLineAfterAmount = !1);
1336
+ break;
1337
+ default:
1338
+ c = r.afterAmount;
1339
+ }
1340
+ return c === null ? n : c;
1341
+ }, Re = () => {
1342
+ switch (E) {
1343
+ case "totalCashAmount":
1344
+ let n = 0;
1345
+ for (const r of ["Real", "Bonus"])
1346
+ for (const c of l[r])
1347
+ n += Math.max(c.amount, 0);
1348
+ t(1, l.Total[0].amount = n, l);
1349
+ break;
1350
+ case "totalRealAmount":
1351
+ if (!N) return;
1352
+ let i = 0;
1353
+ for (const r of l.Real)
1354
+ i += r.amount;
1355
+ t(1, l.Total[0].amount = i, l);
1356
+ }
1357
+ }, je = (n) => {
1358
+ const i = Be(n.data);
1359
+ if (!i) {
1360
+ le();
1361
+ return;
1362
+ }
1363
+ if (i.type !== "BALANCE_UPDATE_V2")
1364
+ return;
1365
+ const r = i.body.balanceChange;
1366
+ for (const [c, f] of Object.entries(r))
1367
+ if (E === "totalRealAmount" && c === "Real" && !N && t(1, l.Total[0].amount = we(l.Total[0].amount, A, f), l), !!l[c])
1368
+ for (const v of l[c]) {
1369
+ if (!N) {
1370
+ v.amount = c === "Real" ? we(v.amount, A, f) : f.afterAmount;
1371
+ continue;
1372
+ }
1373
+ f.productType === v.productType && (v.amount = c === "Real" ? we(v.amount, A[v.productType], f) : f.afterAmount);
1374
+ }
1375
+ Re();
1376
+ }, Le = () => {
1377
+ se("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
1378
+ }, He = () => {
1379
+ G.includes(E) || (console.error(`Unsupported value ('${E}') for totalcalculationmode parameter. Only the following values are supported ${G}. Using default value ('${G[0]}').`), t(10, E = G[0]));
1380
+ }, ze = () => {
1381
+ switch (kt(h), He(), M) {
1382
+ case "gmcore":
1383
+ oe();
1384
+ break;
1385
+ case "gm16":
1386
+ ve();
1387
+ break;
1388
+ default:
1389
+ throw Error(`Invalid apiversion attribute: ${M}`);
1390
+ }
1391
+ }, Te = (n) => n.data && n.data.type === "LogoutSuccessfull" && J.close(), Ee = () => {
1392
+ const n = document.createElement("style");
1393
+ n.innerHTML = m, k.appendChild(n);
1394
+ }, ye = () => {
1395
+ const n = new URL(y), i = document.createElement("style");
1396
+ fetch(n.href).then((r) => r.text()).then((r) => {
1397
+ i.innerHTML = r, setTimeout(
1398
+ () => {
1399
+ k.appendChild(i);
1400
+ },
1401
+ 1
1402
+ );
1403
+ });
1404
+ }, Q = () => {
1405
+ window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
1406
+ };
1407
+ xt(() => (window.addEventListener("message", Te, !1), () => {
1408
+ window.removeEventListener("message", Te), J && J.close();
1409
+ }));
1410
+ const Ue = () => se("balance"), Pe = () => se("closebalance"), Xe = () => Le(), Oe = () => se("closeBalance");
1411
+ function a(n) {
1412
+ Mt[n ? "unshift" : "push"](() => {
1413
+ k = n, t(0, k);
1414
+ });
1415
+ }
1416
+ return o.$$set = (n) => {
1417
+ "userid" in n && t(11, u = n.userid), "session" in n && t(12, d = n.session), "endpoint" in n && t(13, g = n.endpoint), "lang" in n && t(14, h = n.lang), "clientstyling" in n && t(15, m = n.clientstyling), "clientstylingurl" in n && t(16, y = n.clientstylingurl), "translationurl" in n && t(17, R = n.translationurl), "customlocaleidentifier" in n && t(18, L = n.customlocaleidentifier), "gmversion" in n && t(19, M = n.gmversion), "displaybalanceoption" in n && t(20, F = n.displaybalanceoption), "totalcalculationmode" in n && t(10, E = n.totalcalculationmode), "currencyseparator" in n && t(21, j = n.currencyseparator), "currencydecimal" in n && t(22, B = n.currencydecimal), "currencyprecision" in n && t(23, S = n.currencyprecision);
1418
+ }, o.$$.update = () => {
1419
+ o.$$.dirty[0] & /*lang*/
1420
+ 16384 && h && _e(), o.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
1421
+ 1603584 && g && u && d && h && M && F && ze(), o.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
1422
+ 538624 && g && u && d && M && le(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1423
+ 32769 && m && k && Ee(), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1424
+ 65537 && y && k && ye(), o.$$.dirty[0] & /*translationurl*/
1425
+ 131072 && R && De(), o.$$.dirty[0] & /*balances*/
1426
+ 2 && l.Total && Q();
1427
+ }, [
1428
+ k,
1429
+ l,
1430
+ O,
1431
+ P,
1432
+ ie,
1433
+ X,
1434
+ s,
1435
+ se,
1436
+ Ae,
1437
+ Le,
1438
+ E,
1439
+ u,
1440
+ d,
1441
+ g,
1442
+ h,
1443
+ m,
1444
+ y,
1445
+ R,
1446
+ L,
1447
+ M,
1448
+ F,
1449
+ j,
1450
+ B,
1451
+ S,
1452
+ Ue,
1453
+ Pe,
1454
+ Xe,
1455
+ Oe,
1456
+ a
1457
+ ];
1458
+ }
1459
+ class Kt extends St {
1460
+ constructor(e) {
1461
+ super(), Ct(
1462
+ this,
1463
+ e,
1464
+ Gt,
1465
+ Xt,
1466
+ At,
1467
+ {
1468
+ userid: 11,
1469
+ session: 12,
1470
+ endpoint: 13,
1471
+ lang: 14,
1472
+ clientstyling: 15,
1473
+ clientstylingurl: 16,
1474
+ translationurl: 17,
1475
+ customlocaleidentifier: 18,
1476
+ gmversion: 19,
1477
+ displaybalanceoption: 20,
1478
+ totalcalculationmode: 10,
1479
+ currencyseparator: 21,
1480
+ currencydecimal: 22,
1481
+ currencyprecision: 23
1482
+ },
1483
+ zt,
1484
+ [-1, -1]
1485
+ );
1486
+ }
1487
+ get userid() {
1488
+ return this.$$.ctx[11];
1489
+ }
1490
+ set userid(e) {
1491
+ this.$$set({ userid: e }), Y();
1492
+ }
1493
+ get session() {
1494
+ return this.$$.ctx[12];
1495
+ }
1496
+ set session(e) {
1497
+ this.$$set({ session: e }), Y();
1498
+ }
1499
+ get endpoint() {
1500
+ return this.$$.ctx[13];
1501
+ }
1502
+ set endpoint(e) {
1503
+ this.$$set({ endpoint: e }), Y();
1504
+ }
1505
+ get lang() {
1506
+ return this.$$.ctx[14];
1507
+ }
1508
+ set lang(e) {
1509
+ this.$$set({ lang: e }), Y();
1510
+ }
1511
+ get clientstyling() {
1512
+ return this.$$.ctx[15];
1513
+ }
1514
+ set clientstyling(e) {
1515
+ this.$$set({ clientstyling: e }), Y();
1516
+ }
1517
+ get clientstylingurl() {
1518
+ return this.$$.ctx[16];
1519
+ }
1520
+ set clientstylingurl(e) {
1521
+ this.$$set({ clientstylingurl: e }), Y();
1522
+ }
1523
+ get translationurl() {
1524
+ return this.$$.ctx[17];
1525
+ }
1526
+ set translationurl(e) {
1527
+ this.$$set({ translationurl: e }), Y();
1528
+ }
1529
+ get customlocaleidentifier() {
1530
+ return this.$$.ctx[18];
1531
+ }
1532
+ set customlocaleidentifier(e) {
1533
+ this.$$set({ customlocaleidentifier: e }), Y();
1534
+ }
1535
+ get gmversion() {
1536
+ return this.$$.ctx[19];
1537
+ }
1538
+ set gmversion(e) {
1539
+ this.$$set({ gmversion: e }), Y();
1540
+ }
1541
+ get displaybalanceoption() {
1542
+ return this.$$.ctx[20];
1543
+ }
1544
+ set displaybalanceoption(e) {
1545
+ this.$$set({ displaybalanceoption: e }), Y();
1546
+ }
1547
+ get totalcalculationmode() {
1548
+ return this.$$.ctx[10];
1549
+ }
1550
+ set totalcalculationmode(e) {
1551
+ this.$$set({ totalcalculationmode: e }), Y();
1552
+ }
1553
+ get currencyseparator() {
1554
+ return this.$$.ctx[21];
1555
+ }
1556
+ set currencyseparator(e) {
1557
+ this.$$set({ currencyseparator: e }), Y();
1558
+ }
1559
+ get currencydecimal() {
1560
+ return this.$$.ctx[22];
1561
+ }
1562
+ set currencydecimal(e) {
1563
+ this.$$set({ currencydecimal: e }), Y();
1564
+ }
1565
+ get currencyprecision() {
1566
+ return this.$$.ctx[23];
1567
+ }
1568
+ set currencyprecision(e) {
1569
+ this.$$set({ currencyprecision: e }), Y();
1570
+ }
1571
+ }
1572
+ _t(Kt, { userid: {}, session: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);
1573
+ export {
1574
+ Kt as default
1575
+ };