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