@everymatrix/casino-header-controller 1.52.4 → 1.52.5
Sign up to get free protection for your applications and to get access to all the features.
- package/components/{CasinoHeaderController-CDaojOuP.js → CasinoHeaderController-BsKAR_gl.js} +1 -1
- package/components/{CasinoHeaderController-B2KEKztq.cjs → CasinoHeaderController-CxwirGVL.cjs} +1 -1
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-657e7a14-DDXA_k23.js → index-657e7a14-D8XrwewT.js} +1 -1
- package/stencil/{index-657e7a14-6spLHDf6.cjs → index-657e7a14-Dej0SYE9.cjs} +1 -1
- package/stencil/user-deposit-withdrawal-BwoHDg0W.js +651 -0
- package/stencil/user-deposit-withdrawal-RpW35qPG.cjs +59 -0
- package/stencil/user-deposit-withdrawal-CXzHd7L7.cjs +0 -59
- package/stencil/user-deposit-withdrawal-DGyUXAvB.js +0 -597
@@ -0,0 +1,651 @@
|
|
1
|
+
var Q = (o, p, c) => new Promise((h, y) => {
|
2
|
+
var L = (u) => {
|
3
|
+
try {
|
4
|
+
m(c.next(u));
|
5
|
+
} catch (S) {
|
6
|
+
y(S);
|
7
|
+
}
|
8
|
+
}, w = (u) => {
|
9
|
+
try {
|
10
|
+
m(c.throw(u));
|
11
|
+
} catch (S) {
|
12
|
+
y(S);
|
13
|
+
}
|
14
|
+
}, m = (u) => u.done ? h(u.value) : Promise.resolve(u.value).then(L, w);
|
15
|
+
m((c = c.apply(o, p)).next());
|
16
|
+
});
|
17
|
+
import { b as ie, p as ne, r as oe, h as M, H as ae } from "./index-657e7a14-D8XrwewT.js";
|
18
|
+
import { g as se } from "./app-globals-0f993ce5-D-kw1sls.js";
|
19
|
+
var de = () => {
|
20
|
+
const o = import.meta.url, p = {};
|
21
|
+
return o !== "" && (p.resourcesUrl = new URL(".", o).href), ne(p);
|
22
|
+
};
|
23
|
+
de().then((o) => Q(void 0, null, function* () {
|
24
|
+
return yield se(), ie([["user-deposit-withdrawal", [[1, "user-deposit-withdrawal", { clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], endpoint: [513], type: [513], channel: [513], language: [513], productType: [513, "product-type"], userId: [513, "user-id"], session: [513], successUrl: [513, "success-url"], cancelUrl: [513, "cancel-url"], failUrl: [513, "fail-url"], sportsUrl: [513, "sports-url"], casinoUrl: [513, "casino-url"], contactUrl: [513, "contact-url"], depositUrl: [513, "deposit-url"], currency: [513], showBonusSelectionInput: [513, "show-bonus-selection-input"], isShortCashier: [516, "is-short-cashier"], homeUrl: [513, "home-url"], beforeRedirect: [16], limitStylingAppends: [32], dynamicHeight: [32], cashierInfoUrl: [32] }, null, { session: ["watchLoadWidget"], userId: ["watchLoadWidget"], isShortCashier: ["watchLoadWidget"], currency: ["watchLoadWidget"], showBonusSelectionInput: ["watchLoadWidget"] }]]]], o);
|
25
|
+
}));
|
26
|
+
const ue = "en", ce = ["ro", "en", "fr", "hr"], le = {
|
27
|
+
en: {
|
28
|
+
Deposit: "Deposit",
|
29
|
+
Withdraw: "Withdraw",
|
30
|
+
denyDeposit: "Please be informed that currently you are not allowed to initiate depost transactions.",
|
31
|
+
denyWithdrawal: "Please be informed that currently you are not allowed to initiate withdrawal transactions.",
|
32
|
+
notFoundErrorCode: "Not found error code",
|
33
|
+
errorCode21122: "Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",
|
34
|
+
errorCode21123: "Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"
|
35
|
+
},
|
36
|
+
"en-us": {
|
37
|
+
Deposit: "Deposit",
|
38
|
+
Withdraw: "Withdraw",
|
39
|
+
denyDeposit: "Please be informed that currently you are not allowed to initiate depost transactions.",
|
40
|
+
denyWithdrawal: "Please be informed that currently you are not allowed to initiate withdrawal transactions.",
|
41
|
+
notFoundErrorCode: "Not found error code",
|
42
|
+
errorCode21122: "Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",
|
43
|
+
errorCode21123: "Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"
|
44
|
+
},
|
45
|
+
ro: {
|
46
|
+
Deposit: "Depunere",
|
47
|
+
Withdraw: "Retragere",
|
48
|
+
denyDeposit: "Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",
|
49
|
+
denyWithdrawal: "Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",
|
50
|
+
notFoundErrorCode: "Cod de eroare negăsit",
|
51
|
+
errorCode21122: "Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a iniția o tranzacție de retragere din contul dvs. de jucător. Cod de eroare: 21122",
|
52
|
+
errorCode21123: "Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a efectua o depunere în contul dvs. de jucător. Cod de eroare: 21123"
|
53
|
+
},
|
54
|
+
fr: {
|
55
|
+
Deposit: "Dépôt",
|
56
|
+
Withdraw: "Retrait",
|
57
|
+
denyDeposit: "Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",
|
58
|
+
denyWithdrawal: "Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",
|
59
|
+
notFoundErrorCode: "Code d’erreur introuvable",
|
60
|
+
errorCode21122: "Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier une transaction de retrait depuis votre compte joueur. Code d’erreur : 21122",
|
61
|
+
errorCode21123: "Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à effectuer un dépôt sur votre compte joueur. Code d’erreur : 21123"
|
62
|
+
},
|
63
|
+
hr: {
|
64
|
+
Deposit: "Uplata",
|
65
|
+
Withdraw: "Isplata",
|
66
|
+
denyDeposit: "Obavještavamo Vas da trenutno nemate mogućnost uplata.",
|
67
|
+
denyWithdrawal: "Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",
|
68
|
+
notFoundErrorCode: "Not found error code",
|
69
|
+
errorCode21122: "Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",
|
70
|
+
errorCode21123: "Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"
|
71
|
+
},
|
72
|
+
de: {
|
73
|
+
Deposit: "Einzahlung",
|
74
|
+
Withdraw: "Abhebung",
|
75
|
+
denyDeposit: "Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",
|
76
|
+
denyWithdrawal: "Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",
|
77
|
+
notFoundErrorCode: "Fehlercode nicht gefunden",
|
78
|
+
errorCode21122: "Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",
|
79
|
+
errorCode21123: "Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"
|
80
|
+
},
|
81
|
+
es: {
|
82
|
+
Deposit: "Depósito",
|
83
|
+
Withdraw: "Retiro",
|
84
|
+
denyDeposit: "Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",
|
85
|
+
denyWithdrawal: "Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",
|
86
|
+
notFoundErrorCode: "Código de error no encontrado",
|
87
|
+
errorCode21122: "¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",
|
88
|
+
errorCode21123: "¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"
|
89
|
+
},
|
90
|
+
pt: {
|
91
|
+
Deposit: "Depósito",
|
92
|
+
Withdraw: "Levantamento",
|
93
|
+
denyDeposit: "Informamos que atualmente não tem permissão para iniciar transações de depósito.",
|
94
|
+
denyWithdrawal: "Informamos que atualmente não tem permissão para iniciar transações de levantamento.",
|
95
|
+
notFoundErrorCode: "Código de erro não encontrado",
|
96
|
+
errorCode21122: "Caro jogador! Informamos que atualmente não tem permissão para iniciar uma transação de levantamento na sua conta de jogador. Código de erro: 21122",
|
97
|
+
errorCode21123: "Caro jogador! Informamos que atualmente não tem permissão para realizar um depósito na sua conta de jogador. Código de erro: 21123"
|
98
|
+
},
|
99
|
+
"es-mx": {
|
100
|
+
Deposit: "Depósito",
|
101
|
+
Withdraw: "Retiro",
|
102
|
+
denyDeposit: "Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",
|
103
|
+
denyWithdrawal: "Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",
|
104
|
+
notFoundErrorCode: "Código de error no encontrado",
|
105
|
+
errorCode21122: "¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",
|
106
|
+
errorCode21123: "¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"
|
107
|
+
},
|
108
|
+
"pt-br": {
|
109
|
+
Deposit: "Depósito",
|
110
|
+
Withdraw: "Saque",
|
111
|
+
denyDeposit: "Informamos que atualmente você não tem permissão para iniciar transações de depósito.",
|
112
|
+
denyWithdrawal: "Informamos que atualmente você não tem permissão para iniciar transações de saque.",
|
113
|
+
notFoundErrorCode: "Código de erro não encontrado",
|
114
|
+
errorCode21122: "Caro jogador! Informamos que atualmente você não tem permissão para iniciar uma transação de saque em sua conta de jogador. Código de erro: 21122",
|
115
|
+
errorCode21123: "Caro jogador! Informamos que atualmente você não tem permissão para realizar um depósito em sua conta de jogador. Código de erro: 21123"
|
116
|
+
}
|
117
|
+
}, H = (o, p) => {
|
118
|
+
const c = p;
|
119
|
+
return le[c !== void 0 && ce.includes(c) ? c : ue][o];
|
120
|
+
}, he = (o) => !!(o.toLowerCase().match(/android/i) || o.toLowerCase().match(/blackberry|bb/i) || o.toLowerCase().match(/iphone|ipad|ipod/i) || o.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
121
|
+
var K = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ee = { exports: {} };
|
122
|
+
(function(o, p) {
|
123
|
+
(function(c, h) {
|
124
|
+
o.exports = h();
|
125
|
+
})(K, function() {
|
126
|
+
var c = 1e3, h = 6e4, y = 36e5, L = "millisecond", w = "second", m = "minute", u = "hour", S = "day", q = "week", b = "month", N = "quarter", k = "year", E = "date", a = "Invalid Date", W = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, F = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, z = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(n) {
|
127
|
+
var r = ["th", "st", "nd", "rd"], e = n % 100;
|
128
|
+
return "[" + n + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
129
|
+
} }, U = function(n, r, e) {
|
130
|
+
var i = String(n);
|
131
|
+
return !i || i.length >= r ? n : "" + Array(r + 1 - i.length).join(e) + n;
|
132
|
+
}, G = { s: U, z: function(n) {
|
133
|
+
var r = -n.utcOffset(), e = Math.abs(r), i = Math.floor(e / 60), t = e % 60;
|
134
|
+
return (r <= 0 ? "+" : "-") + U(i, 2, "0") + ":" + U(t, 2, "0");
|
135
|
+
}, m: function n(r, e) {
|
136
|
+
if (r.date() < e.date()) return -n(e, r);
|
137
|
+
var i = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(i, b), s = e - t < 0, d = r.clone().add(i + (s ? -1 : 1), b);
|
138
|
+
return +(-(i + (e - t) / (s ? t - d : d - t)) || 0);
|
139
|
+
}, a: function(n) {
|
140
|
+
return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
|
141
|
+
}, p: function(n) {
|
142
|
+
return { M: b, y: k, w: q, d: S, D: E, h: u, m, s: w, ms: L, Q: N }[n] || String(n || "").toLowerCase().replace(/s$/, "");
|
143
|
+
}, u: function(n) {
|
144
|
+
return n === void 0;
|
145
|
+
} }, j = "en", O = {};
|
146
|
+
O[j] = z;
|
147
|
+
var Y = "$isDayjsObject", P = function(n) {
|
148
|
+
return n instanceof Z || !(!n || !n[Y]);
|
149
|
+
}, x = function n(r, e, i) {
|
150
|
+
var t;
|
151
|
+
if (!r) return j;
|
152
|
+
if (typeof r == "string") {
|
153
|
+
var s = r.toLowerCase();
|
154
|
+
O[s] && (t = s), e && (O[s] = e, t = s);
|
155
|
+
var d = r.split("-");
|
156
|
+
if (!t && d.length > 1) return n(d[0]);
|
157
|
+
} else {
|
158
|
+
var f = r.name;
|
159
|
+
O[f] = r, t = f;
|
160
|
+
}
|
161
|
+
return !i && t && (j = t), t || !i && j;
|
162
|
+
}, v = function(n, r) {
|
163
|
+
if (P(n)) return n.clone();
|
164
|
+
var e = typeof r == "object" ? r : {};
|
165
|
+
return e.date = n, e.args = arguments, new Z(e);
|
166
|
+
}, l = G;
|
167
|
+
l.l = x, l.i = P, l.w = function(n, r) {
|
168
|
+
return v(n, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
169
|
+
};
|
170
|
+
var Z = function() {
|
171
|
+
function n(e) {
|
172
|
+
this.$L = x(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[Y] = !0;
|
173
|
+
}
|
174
|
+
var r = n.prototype;
|
175
|
+
return r.parse = function(e) {
|
176
|
+
this.$d = function(i) {
|
177
|
+
var t = i.date, s = i.utc;
|
178
|
+
if (t === null) return /* @__PURE__ */ new Date(NaN);
|
179
|
+
if (l.u(t)) return /* @__PURE__ */ new Date();
|
180
|
+
if (t instanceof Date) return new Date(t);
|
181
|
+
if (typeof t == "string" && !/Z$/i.test(t)) {
|
182
|
+
var d = t.match(W);
|
183
|
+
if (d) {
|
184
|
+
var f = d[2] - 1 || 0, g = (d[7] || "0").substring(0, 3);
|
185
|
+
return s ? new Date(Date.UTC(d[1], f, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, g)) : new Date(d[1], f, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, g);
|
186
|
+
}
|
187
|
+
}
|
188
|
+
return new Date(t);
|
189
|
+
}(e), this.init();
|
190
|
+
}, r.init = function() {
|
191
|
+
var e = this.$d;
|
192
|
+
this.$y = e.getFullYear(), this.$M = e.getMonth(), this.$D = e.getDate(), this.$W = e.getDay(), this.$H = e.getHours(), this.$m = e.getMinutes(), this.$s = e.getSeconds(), this.$ms = e.getMilliseconds();
|
193
|
+
}, r.$utils = function() {
|
194
|
+
return l;
|
195
|
+
}, r.isValid = function() {
|
196
|
+
return this.$d.toString() !== a;
|
197
|
+
}, r.isSame = function(e, i) {
|
198
|
+
var t = v(e);
|
199
|
+
return this.startOf(i) <= t && t <= this.endOf(i);
|
200
|
+
}, r.isAfter = function(e, i) {
|
201
|
+
return v(e) < this.startOf(i);
|
202
|
+
}, r.isBefore = function(e, i) {
|
203
|
+
return this.endOf(i) < v(e);
|
204
|
+
}, r.$g = function(e, i, t) {
|
205
|
+
return l.u(e) ? this[i] : this.set(t, e);
|
206
|
+
}, r.unix = function() {
|
207
|
+
return Math.floor(this.valueOf() / 1e3);
|
208
|
+
}, r.valueOf = function() {
|
209
|
+
return this.$d.getTime();
|
210
|
+
}, r.startOf = function(e, i) {
|
211
|
+
var t = this, s = !!l.u(i) || i, d = l.p(e), f = function(R, D) {
|
212
|
+
var I = l.w(t.$u ? Date.UTC(t.$y, D, R) : new Date(t.$y, D, R), t);
|
213
|
+
return s ? I : I.endOf(S);
|
214
|
+
}, g = function(R, D) {
|
215
|
+
return l.w(t.toDate()[R].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(D)), t);
|
216
|
+
}, C = this.$W, $ = this.$M, T = this.$D, A = "set" + (this.$u ? "UTC" : "");
|
217
|
+
switch (d) {
|
218
|
+
case k:
|
219
|
+
return s ? f(1, 0) : f(31, 11);
|
220
|
+
case b:
|
221
|
+
return s ? f(1, $) : f(0, $ + 1);
|
222
|
+
case q:
|
223
|
+
var _ = this.$locale().weekStart || 0, B = (C < _ ? C + 7 : C) - _;
|
224
|
+
return f(s ? T - B : T + (6 - B), $);
|
225
|
+
case S:
|
226
|
+
case E:
|
227
|
+
return g(A + "Hours", 0);
|
228
|
+
case u:
|
229
|
+
return g(A + "Minutes", 1);
|
230
|
+
case m:
|
231
|
+
return g(A + "Seconds", 2);
|
232
|
+
case w:
|
233
|
+
return g(A + "Milliseconds", 3);
|
234
|
+
default:
|
235
|
+
return this.clone();
|
236
|
+
}
|
237
|
+
}, r.endOf = function(e) {
|
238
|
+
return this.startOf(e, !1);
|
239
|
+
}, r.$set = function(e, i) {
|
240
|
+
var t, s = l.p(e), d = "set" + (this.$u ? "UTC" : ""), f = (t = {}, t[S] = d + "Date", t[E] = d + "Date", t[b] = d + "Month", t[k] = d + "FullYear", t[u] = d + "Hours", t[m] = d + "Minutes", t[w] = d + "Seconds", t[L] = d + "Milliseconds", t)[s], g = s === S ? this.$D + (i - this.$W) : i;
|
241
|
+
if (s === b || s === k) {
|
242
|
+
var C = this.clone().set(E, 1);
|
243
|
+
C.$d[f](g), C.init(), this.$d = C.set(E, Math.min(this.$D, C.daysInMonth())).$d;
|
244
|
+
} else f && this.$d[f](g);
|
245
|
+
return this.init(), this;
|
246
|
+
}, r.set = function(e, i) {
|
247
|
+
return this.clone().$set(e, i);
|
248
|
+
}, r.get = function(e) {
|
249
|
+
return this[l.p(e)]();
|
250
|
+
}, r.add = function(e, i) {
|
251
|
+
var t, s = this;
|
252
|
+
e = Number(e);
|
253
|
+
var d = l.p(i), f = function($) {
|
254
|
+
var T = v(s);
|
255
|
+
return l.w(T.date(T.date() + Math.round($ * e)), s);
|
256
|
+
};
|
257
|
+
if (d === b) return this.set(b, this.$M + e);
|
258
|
+
if (d === k) return this.set(k, this.$y + e);
|
259
|
+
if (d === S) return f(1);
|
260
|
+
if (d === q) return f(7);
|
261
|
+
var g = (t = {}, t[m] = h, t[u] = y, t[w] = c, t)[d] || 1, C = this.$d.getTime() + e * g;
|
262
|
+
return l.w(C, this);
|
263
|
+
}, r.subtract = function(e, i) {
|
264
|
+
return this.add(-1 * e, i);
|
265
|
+
}, r.format = function(e) {
|
266
|
+
var i = this, t = this.$locale();
|
267
|
+
if (!this.isValid()) return t.invalidDate || a;
|
268
|
+
var s = e || "YYYY-MM-DDTHH:mm:ssZ", d = l.z(this), f = this.$H, g = this.$m, C = this.$M, $ = t.weekdays, T = t.months, A = t.meridiem, _ = function(D, I, V, J) {
|
269
|
+
return D && (D[I] || D(i, s)) || V[I].slice(0, J);
|
270
|
+
}, B = function(D) {
|
271
|
+
return l.s(f % 12 || 12, D, "0");
|
272
|
+
}, R = A || function(D, I, V) {
|
273
|
+
var J = D < 12 ? "AM" : "PM";
|
274
|
+
return V ? J.toLowerCase() : J;
|
275
|
+
};
|
276
|
+
return s.replace(F, function(D, I) {
|
277
|
+
return I || function(V) {
|
278
|
+
switch (V) {
|
279
|
+
case "YY":
|
280
|
+
return String(i.$y).slice(-2);
|
281
|
+
case "YYYY":
|
282
|
+
return l.s(i.$y, 4, "0");
|
283
|
+
case "M":
|
284
|
+
return C + 1;
|
285
|
+
case "MM":
|
286
|
+
return l.s(C + 1, 2, "0");
|
287
|
+
case "MMM":
|
288
|
+
return _(t.monthsShort, C, T, 3);
|
289
|
+
case "MMMM":
|
290
|
+
return _(T, C);
|
291
|
+
case "D":
|
292
|
+
return i.$D;
|
293
|
+
case "DD":
|
294
|
+
return l.s(i.$D, 2, "0");
|
295
|
+
case "d":
|
296
|
+
return String(i.$W);
|
297
|
+
case "dd":
|
298
|
+
return _(t.weekdaysMin, i.$W, $, 2);
|
299
|
+
case "ddd":
|
300
|
+
return _(t.weekdaysShort, i.$W, $, 3);
|
301
|
+
case "dddd":
|
302
|
+
return $[i.$W];
|
303
|
+
case "H":
|
304
|
+
return String(f);
|
305
|
+
case "HH":
|
306
|
+
return l.s(f, 2, "0");
|
307
|
+
case "h":
|
308
|
+
return B(1);
|
309
|
+
case "hh":
|
310
|
+
return B(2);
|
311
|
+
case "a":
|
312
|
+
return R(f, g, !0);
|
313
|
+
case "A":
|
314
|
+
return R(f, g, !1);
|
315
|
+
case "m":
|
316
|
+
return String(g);
|
317
|
+
case "mm":
|
318
|
+
return l.s(g, 2, "0");
|
319
|
+
case "s":
|
320
|
+
return String(i.$s);
|
321
|
+
case "ss":
|
322
|
+
return l.s(i.$s, 2, "0");
|
323
|
+
case "SSS":
|
324
|
+
return l.s(i.$ms, 3, "0");
|
325
|
+
case "Z":
|
326
|
+
return d;
|
327
|
+
}
|
328
|
+
return null;
|
329
|
+
}(D) || d.replace(":", "");
|
330
|
+
});
|
331
|
+
}, r.utcOffset = function() {
|
332
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
333
|
+
}, r.diff = function(e, i, t) {
|
334
|
+
var s, d = this, f = l.p(i), g = v(e), C = (g.utcOffset() - this.utcOffset()) * h, $ = this - g, T = function() {
|
335
|
+
return l.m(d, g);
|
336
|
+
};
|
337
|
+
switch (f) {
|
338
|
+
case k:
|
339
|
+
s = T() / 12;
|
340
|
+
break;
|
341
|
+
case b:
|
342
|
+
s = T();
|
343
|
+
break;
|
344
|
+
case N:
|
345
|
+
s = T() / 3;
|
346
|
+
break;
|
347
|
+
case q:
|
348
|
+
s = ($ - C) / 6048e5;
|
349
|
+
break;
|
350
|
+
case S:
|
351
|
+
s = ($ - C) / 864e5;
|
352
|
+
break;
|
353
|
+
case u:
|
354
|
+
s = $ / y;
|
355
|
+
break;
|
356
|
+
case m:
|
357
|
+
s = $ / h;
|
358
|
+
break;
|
359
|
+
case w:
|
360
|
+
s = $ / c;
|
361
|
+
break;
|
362
|
+
default:
|
363
|
+
s = $;
|
364
|
+
}
|
365
|
+
return t ? s : l.a(s);
|
366
|
+
}, r.daysInMonth = function() {
|
367
|
+
return this.endOf(b).$D;
|
368
|
+
}, r.$locale = function() {
|
369
|
+
return O[this.$L];
|
370
|
+
}, r.locale = function(e, i) {
|
371
|
+
if (!e) return this.$L;
|
372
|
+
var t = this.clone(), s = x(e, i, !0);
|
373
|
+
return s && (t.$L = s), t;
|
374
|
+
}, r.clone = function() {
|
375
|
+
return l.w(this.$d, this);
|
376
|
+
}, r.toDate = function() {
|
377
|
+
return new Date(this.valueOf());
|
378
|
+
}, r.toJSON = function() {
|
379
|
+
return this.isValid() ? this.toISOString() : null;
|
380
|
+
}, r.toISOString = function() {
|
381
|
+
return this.$d.toISOString();
|
382
|
+
}, r.toString = function() {
|
383
|
+
return this.$d.toUTCString();
|
384
|
+
}, n;
|
385
|
+
}(), X = Z.prototype;
|
386
|
+
return v.prototype = X, [["$ms", L], ["$s", w], ["$m", m], ["$H", u], ["$W", S], ["$M", b], ["$y", k], ["$D", E]].forEach(function(n) {
|
387
|
+
X[n[1]] = function(r) {
|
388
|
+
return this.$g(r, n[0], n[1]);
|
389
|
+
};
|
390
|
+
}), v.extend = function(n, r) {
|
391
|
+
return n.$i || (n(r, Z, v), n.$i = !0), v;
|
392
|
+
}, v.locale = x, v.isDayjs = P, v.unix = function(n) {
|
393
|
+
return v(1e3 * n);
|
394
|
+
}, v.en = O[j], v.Ls = O, v.p = {}, v;
|
395
|
+
});
|
396
|
+
})(ee);
|
397
|
+
const te = ee.exports;
|
398
|
+
var re = { exports: {} };
|
399
|
+
(function(o, p) {
|
400
|
+
(function(c, h) {
|
401
|
+
o.exports = h();
|
402
|
+
})(K, function() {
|
403
|
+
var c = "minute", h = /[+-]\d\d(?::?\d\d)?/g, y = /([+-]|\d\d)/g;
|
404
|
+
return function(L, w, m) {
|
405
|
+
var u = w.prototype;
|
406
|
+
m.utc = function(a) {
|
407
|
+
var W = { date: a, utc: !0, args: arguments };
|
408
|
+
return new w(W);
|
409
|
+
}, u.utc = function(a) {
|
410
|
+
var W = m(this.toDate(), { locale: this.$L, utc: !0 });
|
411
|
+
return a ? W.add(this.utcOffset(), c) : W;
|
412
|
+
}, u.local = function() {
|
413
|
+
return m(this.toDate(), { locale: this.$L, utc: !1 });
|
414
|
+
};
|
415
|
+
var S = u.parse;
|
416
|
+
u.parse = function(a) {
|
417
|
+
a.utc && (this.$u = !0), this.$utils().u(a.$offset) || (this.$offset = a.$offset), S.call(this, a);
|
418
|
+
};
|
419
|
+
var q = u.init;
|
420
|
+
u.init = function() {
|
421
|
+
if (this.$u) {
|
422
|
+
var a = this.$d;
|
423
|
+
this.$y = a.getUTCFullYear(), this.$M = a.getUTCMonth(), this.$D = a.getUTCDate(), this.$W = a.getUTCDay(), this.$H = a.getUTCHours(), this.$m = a.getUTCMinutes(), this.$s = a.getUTCSeconds(), this.$ms = a.getUTCMilliseconds();
|
424
|
+
} else q.call(this);
|
425
|
+
};
|
426
|
+
var b = u.utcOffset;
|
427
|
+
u.utcOffset = function(a, W) {
|
428
|
+
var F = this.$utils().u;
|
429
|
+
if (F(a)) return this.$u ? 0 : F(this.$offset) ? b.call(this) : this.$offset;
|
430
|
+
if (typeof a == "string" && (a = function(j) {
|
431
|
+
j === void 0 && (j = "");
|
432
|
+
var O = j.match(h);
|
433
|
+
if (!O) return null;
|
434
|
+
var Y = ("" + O[0]).match(y) || ["-", 0, 0], P = Y[0], x = 60 * +Y[1] + +Y[2];
|
435
|
+
return x === 0 ? 0 : P === "+" ? x : -x;
|
436
|
+
}(a), a === null)) return this;
|
437
|
+
var z = Math.abs(a) <= 16 ? 60 * a : a, U = this;
|
438
|
+
if (W) return U.$offset = z, U.$u = a === 0, U;
|
439
|
+
if (a !== 0) {
|
440
|
+
var G = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
441
|
+
(U = this.local().add(z + G, c)).$offset = z, U.$x.$localOffset = G;
|
442
|
+
} else U = this.utc();
|
443
|
+
return U;
|
444
|
+
};
|
445
|
+
var N = u.format;
|
446
|
+
u.format = function(a) {
|
447
|
+
var W = a || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
448
|
+
return N.call(this, W);
|
449
|
+
}, u.valueOf = function() {
|
450
|
+
var a = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
451
|
+
return this.$d.valueOf() - 6e4 * a;
|
452
|
+
}, u.isUTC = function() {
|
453
|
+
return !!this.$u;
|
454
|
+
}, u.toISOString = function() {
|
455
|
+
return this.toDate().toISOString();
|
456
|
+
}, u.toString = function() {
|
457
|
+
return this.toDate().toUTCString();
|
458
|
+
};
|
459
|
+
var k = u.toDate;
|
460
|
+
u.toDate = function(a) {
|
461
|
+
return a === "s" && this.$offset ? m(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : k.call(this);
|
462
|
+
};
|
463
|
+
var E = u.diff;
|
464
|
+
u.diff = function(a, W, F) {
|
465
|
+
if (a && this.$u === a.$u) return E.call(this, a, W, F);
|
466
|
+
var z = this.local(), U = m(a).local();
|
467
|
+
return E.call(z, U, W, F);
|
468
|
+
};
|
469
|
+
};
|
470
|
+
});
|
471
|
+
})(re);
|
472
|
+
const fe = re.exports, pe = `:host {
|
473
|
+
font: inherit;
|
474
|
+
display: block;
|
475
|
+
height: 100%;
|
476
|
+
overflow: hidden;
|
477
|
+
}
|
478
|
+
|
479
|
+
.CategoryTitle {
|
480
|
+
font-size: var(--emw--font-size-x-large, 26px);
|
481
|
+
color: var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));
|
482
|
+
}
|
483
|
+
|
484
|
+
.MenuReturnButton {
|
485
|
+
font: inherit;
|
486
|
+
color: var(--emw--color-gray-300, #58586B);
|
487
|
+
display: inline-flex;
|
488
|
+
align-items: center;
|
489
|
+
column-gap: 10px;
|
490
|
+
margin-bottom: 10px;
|
491
|
+
}
|
492
|
+
.MenuReturnButton svg {
|
493
|
+
fill: var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));
|
494
|
+
}
|
495
|
+
.MenuReturnButton h2.CategoryTitleMobile {
|
496
|
+
font-size: 16px;
|
497
|
+
color: var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));
|
498
|
+
}
|
499
|
+
|
500
|
+
.ErrorMessage {
|
501
|
+
color: var(--emw--pam-color-typography, var(--emw--color-typography, #FFFFFF));
|
502
|
+
}
|
503
|
+
|
504
|
+
.DepositWithdrawalWrapper {
|
505
|
+
width: 100%;
|
506
|
+
padding: 0;
|
507
|
+
margin: 0;
|
508
|
+
height: 100vh;
|
509
|
+
}
|
510
|
+
|
511
|
+
@container (max-width: 475px) {
|
512
|
+
.DepositWithdrawalWrapper {
|
513
|
+
height: 100vh;
|
514
|
+
}
|
515
|
+
}
|
516
|
+
.ShortCashier.DepositWithdrawalWrapper {
|
517
|
+
height: 500px;
|
518
|
+
}
|
519
|
+
.ShortCashier.CategoryTitle.CategoryTitle {
|
520
|
+
margin-right: 20px;
|
521
|
+
padding-top: 20px;
|
522
|
+
color: ar(--emw--color-black, #000000);
|
523
|
+
}
|
524
|
+
.ShortCashier .ErrorMessage {
|
525
|
+
margin: auto;
|
526
|
+
width: 90%;
|
527
|
+
margin-top: 70px;
|
528
|
+
text-align: center;
|
529
|
+
color: var(--emw--color-black, #000000);
|
530
|
+
}`, me = pe;
|
531
|
+
te.extend(fe);
|
532
|
+
const ge = () => {
|
533
|
+
}, ye = class {
|
534
|
+
constructor(o) {
|
535
|
+
oe(this, o), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = he(this.userAgent), this.errorCodes = ["21123", "21122"], this.setClientStyling = () => {
|
536
|
+
let p = document.createElement("style");
|
537
|
+
p.innerHTML = this.clientStyling, this.stylingContainer.prepend(p);
|
538
|
+
}, this.setClientStylingURL = () => {
|
539
|
+
let p = new URL(this.clientStylingUrl), c = document.createElement("style");
|
540
|
+
fetch(p.href).then((h) => h.text()).then((h) => {
|
541
|
+
c.innerHTML = h, setTimeout(() => {
|
542
|
+
this.stylingContainer.prepend(c);
|
543
|
+
}, 1);
|
544
|
+
}).catch((h) => {
|
545
|
+
console.log("error ", h);
|
546
|
+
});
|
547
|
+
}, this.clientStyling = "", this.clientStylingUrl = "", this.endpoint = void 0, this.type = void 0, this.channel = void 0, this.language = void 0, this.productType = void 0, this.userId = void 0, this.session = void 0, this.successUrl = void 0, this.cancelUrl = void 0, this.failUrl = void 0, this.sportsUrl = void 0, this.casinoUrl = void 0, this.contactUrl = void 0, this.depositUrl = void 0, this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.homeUrl = void 0, this.beforeRedirect = ge, this.limitStylingAppends = !1, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
|
548
|
+
}
|
549
|
+
get typeParameter() {
|
550
|
+
if (this.type === "deposit")
|
551
|
+
return "Deposit";
|
552
|
+
if (this.type === "withdraw")
|
553
|
+
return "Withdraw";
|
554
|
+
}
|
555
|
+
watchLoadWidget() {
|
556
|
+
this.loadWidget();
|
557
|
+
}
|
558
|
+
componentWillLoad() {
|
559
|
+
return Q(this, null, function* () {
|
560
|
+
yield this.loadWidget();
|
561
|
+
});
|
562
|
+
}
|
563
|
+
toggleScreen(o) {
|
564
|
+
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: o }, window.location.href);
|
565
|
+
}
|
566
|
+
componentDidLoad() {
|
567
|
+
window.addEventListener("message", this.bindedHandler, !1);
|
568
|
+
}
|
569
|
+
disconnectedCallback() {
|
570
|
+
window.removeEventListener("message", this.bindedHandler, !1);
|
571
|
+
}
|
572
|
+
componentDidRender() {
|
573
|
+
!this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.clientStylingUrl && this.setClientStylingURL(), this.limitStylingAppends = !0);
|
574
|
+
}
|
575
|
+
render() {
|
576
|
+
return M(ae, { key: "1f639ee63c3d7973e2c800bb313338c7b9496b81" }, M("div", { key: "2102e30049f5ec4fae2ad67d151bafddfe0bd2e9", ref: (o) => this.stylingContainer = o }, !(this.isMobile && !this.isShortCashier) && M("h2", { key: "58f7fe9cfe649cfb0ca835fd51eed8e1ba25ab8a", class: "CategoryTitle" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), M("div", { key: "8a8cdeec14cfb847ed49cd452e201c20ff143b33", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}`, style: { height: this.dynamicHeight, marginTop: this.isShortCashier ? "30px" : "0" } }, M("div", { key: "5bc1b8cc97fbe3d73f04f9159a813e9dc6705e52" }, this.isMobile && !this.isShortCashier ? M("div", { class: "MenuReturnButton", onClick: () => this.toggleScreen(this.isMobile) }, M("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, M("defs", null), M("g", { transform: "translate(-20 -158)" }, M("g", { transform: "translate(20 158)" }, M("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), M("h2", { class: "CategoryTitleMobile" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? M("iframe", { width: "100%", height: "100%", src: this.cashierInfoUrl }) : M("h3", { class: "ErrorMessage" }, this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language)))));
|
577
|
+
}
|
578
|
+
loadWidget() {
|
579
|
+
return Q(this, null, function* () {
|
580
|
+
const o = {
|
581
|
+
Channel: this.channel,
|
582
|
+
Type: this.typeParameter,
|
583
|
+
SuccessUrl: this.successUrl,
|
584
|
+
CancelUrl: this.cancelUrl,
|
585
|
+
FailUrl: this.failUrl,
|
586
|
+
Language: this.language,
|
587
|
+
productType: this.productType,
|
588
|
+
isShortCashier: this.isShortCashier,
|
589
|
+
currency: this.currency,
|
590
|
+
showBonusSelectionInput: this.showBonusSelectionInput
|
591
|
+
};
|
592
|
+
try {
|
593
|
+
const p = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, c = yield fetch(p, {
|
594
|
+
method: "POST",
|
595
|
+
headers: {
|
596
|
+
"X-Sessionid": this.session,
|
597
|
+
"Content-Type": "application/json",
|
598
|
+
"X-Client-Request-Timestamp": te.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
|
599
|
+
},
|
600
|
+
body: JSON.stringify(o)
|
601
|
+
});
|
602
|
+
if (!c.ok) {
|
603
|
+
const y = yield c.text();
|
604
|
+
throw new Error(y);
|
605
|
+
}
|
606
|
+
const h = yield c.json();
|
607
|
+
if (h.CashierInfo)
|
608
|
+
this.cashierInfoUrl = h.CashierInfo.Url;
|
609
|
+
else {
|
610
|
+
let y;
|
611
|
+
if (h.ResponseMessage) {
|
612
|
+
let w = this.errorCodes.find((m) => h.ResponseMessage.includes(m)) || null;
|
613
|
+
w ? y = H(`errorCode${w}`, this.language) : y = H("notFoundErrorCode", this.language);
|
614
|
+
} else
|
615
|
+
y = this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language);
|
616
|
+
const L = { type: "error", message: y };
|
617
|
+
window.postMessage({ type: "DenyDepositOrWithdrawal", data: L }, window.location.href);
|
618
|
+
}
|
619
|
+
} catch (p) {
|
620
|
+
console.error(p);
|
621
|
+
}
|
622
|
+
});
|
623
|
+
}
|
624
|
+
handleMessage(o) {
|
625
|
+
var p, c, h, y, L, w, m, u;
|
626
|
+
o.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), o.data["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = o.data["MMFE:setQuickDepositHeight"].toString() + "px"), o.data["MMFE:setIFrameHeight"] && this.isShortCashier && (this.dynamicHeight = o.data["MMFE:setIFrameHeight"].toString() + "px"), ((p = o.data) === null || p === void 0 ? void 0 : p.type) === "mm-hcback-to-merchant" && this.doRedirect(o.data.type, this.homeUrl), ((c = o.data) === null || c === void 0 ? void 0 : c.redirect) === "mm-hc-back-tomerchant" && this.doRedirect(o.data.redirect, this.homeUrl), ((h = o.data) === null || h === void 0 ? void 0 : h.redirect) === "mm-hc-sports" && this.doRedirect((y = o.data) === null || y === void 0 ? void 0 : y.redirect, this.sportsUrl), ((L = o.data) === null || L === void 0 ? void 0 : L.redirect) === "mm-hc-casino" && this.doRedirect(window.location.href, this.casinoUrl), ((w = o.data) === null || w === void 0 ? void 0 : w.redirect) === "mm-hc-contact" && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.contactUrl)), (((m = o.data) === null || m === void 0 ? void 0 : m.redirect) === "mm-wm-hc-init-deposit" || ((u = o.data) === null || u === void 0 ? void 0 : u.redirect) === "mm-wm-hc-init-deposit-quick") && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.depositUrl));
|
627
|
+
}
|
628
|
+
doRedirect(o, p) {
|
629
|
+
const c = { reason: o, url: p, cancel: !1 };
|
630
|
+
if (this.beforeRedirect(c), !c.cancel) {
|
631
|
+
if (!c.url) {
|
632
|
+
window.location.href = "/";
|
633
|
+
return;
|
634
|
+
}
|
635
|
+
window.location.href = c.url;
|
636
|
+
}
|
637
|
+
}
|
638
|
+
static get watchers() {
|
639
|
+
return {
|
640
|
+
session: ["watchLoadWidget"],
|
641
|
+
userId: ["watchLoadWidget"],
|
642
|
+
isShortCashier: ["watchLoadWidget"],
|
643
|
+
currency: ["watchLoadWidget"],
|
644
|
+
showBonusSelectionInput: ["watchLoadWidget"]
|
645
|
+
};
|
646
|
+
}
|
647
|
+
};
|
648
|
+
ye.style = me;
|
649
|
+
export {
|
650
|
+
ye as user_deposit_withdrawal
|
651
|
+
};
|