@everymatrix/casino-header-controller 1.55.0 → 1.56.0
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/{CasinoHamburgerMenu-JVY4ac8I.js → CasinoHamburgerMenu-B2TeHkyB.js} +800 -822
- package/components/{CasinoHamburgerMenu-E4O8Dx5o.js → CasinoHamburgerMenu-CUR5gaxv.js} +648 -670
- package/components/CasinoHamburgerMenu-DYL1HIps.cjs +8 -0
- package/components/CasinoHeaderController-CfLLPnem.cjs +13 -0
- package/components/{CasinoHeaderController-9s-CNvhj.js → CasinoHeaderController-CrEqMU6h.js} +561 -527
- package/components/{CasinoHeaderController-BVCLQUCq.js → CasinoHeaderController-Cv1RNj2L.js} +619 -585
- package/components/CasinoSlider-BU9fkHDu.cjs +1 -0
- package/components/{CasinoSlider-yMz4R8ed.js → CasinoSlider-CS-q7BSV.js} +101 -101
- package/components/{CasinoSlider-xu8jCpW1.js → CasinoSlider-DrD2osTb.js} +98 -98
- package/components/PlayerAccountBalanceModal--zdJlg4L.js +1507 -0
- package/components/PlayerAccountBalanceModal-C31JpnHA.cjs +13 -0
- package/components/PlayerAccountBalanceModal-aiqQaHCF.js +1536 -0
- package/components/{PlayerDeposit-CIarW5H1.js → PlayerDeposit-BlD-xNdY.js} +93 -93
- package/components/{PlayerDeposit-D9xpcJp9.js → PlayerDeposit-DwGrlu-U.js} +93 -93
- package/components/PlayerDeposit-DzkmDtD0.cjs +1 -0
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/index-c7e52808-DGZdfQYz.cjs +1 -0
- package/stencil/index-c7e52808-RGphQbEA.js +638 -0
- package/stencil/index-c7e52808-yJXIboHF.js +654 -0
- package/stencil/{user-deposit-withdrawal-gu9RDhoH.js → user-deposit-withdrawal-1SJnPWvi.js} +268 -251
- package/stencil/{user-deposit-withdrawal-Dg3a3KkR.js → user-deposit-withdrawal-BiZKbrT_.js} +194 -177
- package/stencil/user-deposit-withdrawal-CzeoKH00.cjs +59 -0
- package/components/CasinoHamburgerMenu-C8-P7sF9.cjs +0 -8
- package/components/CasinoHeaderController-BZk18wxU.cjs +0 -13
- package/components/CasinoSlider-DDycojG8.cjs +0 -1
- package/components/PlayerAccountBalanceModal-BVQlpIy4.cjs +0 -13
- package/components/PlayerAccountBalanceModal-CcASksA3.js +0 -1507
- package/components/PlayerAccountBalanceModal-DG6GgVDp.js +0 -1536
- package/components/PlayerDeposit-C8ZPqrpV.cjs +0 -1
- package/stencil/index-657e7a14-BQuTIY5_.js +0 -572
- package/stencil/index-657e7a14-CDqZBTHG.cjs +0 -1
- package/stencil/index-657e7a14-fo2CD-e3.js +0 -588
- package/stencil/user-deposit-withdrawal-BCkoyv3i.cjs +0 -59
@@ -1,29 +1,29 @@
|
|
1
|
-
var Q = (n,
|
2
|
-
var L = (
|
1
|
+
var Q = (n, h, s) => new Promise((c, p) => {
|
2
|
+
var L = (l) => {
|
3
3
|
try {
|
4
|
-
|
5
|
-
} catch (
|
6
|
-
|
4
|
+
g(s.next(l));
|
5
|
+
} catch ($) {
|
6
|
+
p($);
|
7
7
|
}
|
8
|
-
}, w = (
|
8
|
+
}, w = (l) => {
|
9
9
|
try {
|
10
|
-
|
11
|
-
} catch (
|
12
|
-
|
10
|
+
g(s.throw(l));
|
11
|
+
} catch ($) {
|
12
|
+
p($);
|
13
13
|
}
|
14
|
-
},
|
15
|
-
|
14
|
+
}, g = (l) => l.done ? c(l.value) : Promise.resolve(l.value).then(L, w);
|
15
|
+
g((s = s.apply(n, h)).next());
|
16
16
|
});
|
17
|
-
import { b as
|
18
|
-
import { g as
|
19
|
-
var
|
20
|
-
const n = import.meta.url,
|
21
|
-
return n !== "" && (
|
17
|
+
import { b as oe, p as se, r as de, h as b, H as ue } from "./index-c7e52808-yJXIboHF.js";
|
18
|
+
import { g as le } from "./app-globals-0f993ce5-D-kw1sls.js";
|
19
|
+
var ce = () => {
|
20
|
+
const n = import.meta.url, h = {};
|
21
|
+
return n !== "" && (h.resourcesUrl = new URL(".", n).href), se(h);
|
22
22
|
};
|
23
|
-
|
24
|
-
return yield
|
23
|
+
ce().then((n) => Q(void 0, null, function* () {
|
24
|
+
return yield le(), oe([["user-deposit-withdrawal", [[1, "user-deposit-withdrawal", { mbSource: [513, "mb-source"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-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], dynamicHeight: [32], cashierInfoUrl: [32] }, null, { session: ["watchLoadWidget"], userId: ["watchLoadWidget"], isShortCashier: ["watchLoadWidget"], currency: ["watchLoadWidget"], showBonusSelectionInput: ["watchLoadWidget"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingChangeURL"] }]]]], n);
|
25
25
|
}));
|
26
|
-
const
|
26
|
+
const he = "en", fe = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], te = {
|
27
27
|
en: {
|
28
28
|
Deposit: "Deposit",
|
29
29
|
Withdraw: "Withdraw",
|
@@ -123,65 +123,89 @@ const ce = "en", le = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
|
|
123
123
|
errorCode21122: "Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınızdan para çekme işlemi başlatamayacağınızı bilgilerinize sunarız. Hata Kodu: 21122",
|
124
124
|
errorCode21123: "Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınıza para yatırma işlemi yapamayacağınızı bilgilerinize sunarız. Hata Kodu: 21123"
|
125
125
|
}
|
126
|
-
},
|
127
|
-
fetch(n).then((
|
128
|
-
Object.keys(
|
129
|
-
for (let
|
130
|
-
|
131
|
-
}),
|
126
|
+
}, pe = (n) => new Promise((h) => {
|
127
|
+
fetch(n).then((s) => s.json()).then((s) => {
|
128
|
+
Object.keys(s).forEach((c) => {
|
129
|
+
for (let p in s[c])
|
130
|
+
te[c][p] = s[c][p];
|
131
|
+
}), h(!0);
|
132
132
|
});
|
133
|
-
}), H = (n,
|
134
|
-
const
|
135
|
-
return
|
136
|
-
}
|
137
|
-
|
138
|
-
(
|
139
|
-
|
140
|
-
|
141
|
-
}
|
142
|
-
|
133
|
+
}), H = (n, h) => {
|
134
|
+
const s = h;
|
135
|
+
return te[s !== void 0 && fe.includes(s) ? s : he][n];
|
136
|
+
};
|
137
|
+
function X(n, h) {
|
138
|
+
if (n) {
|
139
|
+
const s = document.createElement("style");
|
140
|
+
s.innerHTML = h, n.appendChild(s);
|
141
|
+
}
|
142
|
+
}
|
143
|
+
function ee(n, h) {
|
144
|
+
const s = new URL(h);
|
145
|
+
fetch(s.href).then((c) => c.text()).then((c) => {
|
146
|
+
const p = document.createElement("style");
|
147
|
+
p.innerHTML = c, n && n.appendChild(p);
|
148
|
+
}).catch((c) => {
|
149
|
+
console.error("There was an error while trying to load client styling from URL", c);
|
150
|
+
});
|
151
|
+
}
|
152
|
+
function me(n, h, s) {
|
153
|
+
if (window.emMessageBus) {
|
154
|
+
const c = document.createElement("style");
|
155
|
+
window.emMessageBus.subscribe(h, (p) => {
|
156
|
+
c.innerHTML = p, n && n.appendChild(c);
|
157
|
+
});
|
158
|
+
}
|
159
|
+
}
|
160
|
+
const ge = (n) => !!(n.toLowerCase().match(/android/i) || n.toLowerCase().match(/blackberry|bb/i) || n.toLowerCase().match(/iphone|ipad|ipod/i) || n.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
161
|
+
var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ne = { exports: {} };
|
162
|
+
(function(n, h) {
|
163
|
+
(function(s, c) {
|
164
|
+
n.exports = c();
|
165
|
+
})(re, function() {
|
166
|
+
var s = 1e3, c = 6e4, p = 36e5, L = "millisecond", w = "second", g = "minute", l = "hour", $ = "day", q = "week", M = "month", N = "quarter", k = "year", E = "date", o = "Invalid Date", W = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|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, F = { 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(a) {
|
143
167
|
var r = ["th", "st", "nd", "rd"], e = a % 100;
|
144
168
|
return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
145
|
-
} },
|
169
|
+
} }, U = function(a, r, e) {
|
146
170
|
var i = String(a);
|
147
171
|
return !i || i.length >= r ? a : "" + Array(r + 1 - i.length).join(e) + a;
|
148
|
-
}, G = { s:
|
172
|
+
}, G = { s: U, z: function(a) {
|
149
173
|
var r = -a.utcOffset(), e = Math.abs(r), i = Math.floor(e / 60), t = e % 60;
|
150
|
-
return (r <= 0 ? "+" : "-") +
|
174
|
+
return (r <= 0 ? "+" : "-") + U(i, 2, "0") + ":" + U(t, 2, "0");
|
151
175
|
}, m: function a(r, e) {
|
152
176
|
if (r.date() < e.date()) return -a(e, r);
|
153
|
-
var i = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(i, M),
|
154
|
-
return +(-(i + (e - t) / (
|
177
|
+
var i = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(i, M), d = e - t < 0, u = r.clone().add(i + (d ? -1 : 1), M);
|
178
|
+
return +(-(i + (e - t) / (d ? t - u : u - t)) || 0);
|
155
179
|
}, a: function(a) {
|
156
180
|
return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
|
157
181
|
}, p: function(a) {
|
158
|
-
return { M, y: k, w: q, d:
|
182
|
+
return { M, y: k, w: q, d: $, D: E, h: l, m: g, s: w, ms: L, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
|
159
183
|
}, u: function(a) {
|
160
184
|
return a === void 0;
|
161
|
-
} },
|
162
|
-
z[
|
163
|
-
var Y = "$isDayjsObject",
|
185
|
+
} }, O = "en", z = {};
|
186
|
+
z[O] = F;
|
187
|
+
var Y = "$isDayjsObject", B = function(a) {
|
164
188
|
return a instanceof Z || !(!a || !a[Y]);
|
165
189
|
}, j = function a(r, e, i) {
|
166
190
|
var t;
|
167
|
-
if (!r) return
|
191
|
+
if (!r) return O;
|
168
192
|
if (typeof r == "string") {
|
169
|
-
var
|
170
|
-
z[
|
171
|
-
var
|
172
|
-
if (!t &&
|
193
|
+
var d = r.toLowerCase();
|
194
|
+
z[d] && (t = d), e && (z[d] = e, t = d);
|
195
|
+
var u = r.split("-");
|
196
|
+
if (!t && u.length > 1) return a(u[0]);
|
173
197
|
} else {
|
174
|
-
var
|
175
|
-
z[
|
198
|
+
var m = r.name;
|
199
|
+
z[m] = r, t = m;
|
176
200
|
}
|
177
|
-
return !i && t && (
|
178
|
-
},
|
179
|
-
if (
|
201
|
+
return !i && t && (O = t), t || !i && O;
|
202
|
+
}, C = function(a, r) {
|
203
|
+
if (B(a)) return a.clone();
|
180
204
|
var e = typeof r == "object" ? r : {};
|
181
205
|
return e.date = a, e.args = arguments, new Z(e);
|
182
|
-
},
|
183
|
-
|
184
|
-
return
|
206
|
+
}, f = G;
|
207
|
+
f.l = j, f.i = B, f.w = function(a, r) {
|
208
|
+
return C(a, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
185
209
|
};
|
186
210
|
var Z = function() {
|
187
211
|
function a(e) {
|
@@ -190,15 +214,15 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
190
214
|
var r = a.prototype;
|
191
215
|
return r.parse = function(e) {
|
192
216
|
this.$d = function(i) {
|
193
|
-
var t = i.date,
|
217
|
+
var t = i.date, d = i.utc;
|
194
218
|
if (t === null) return /* @__PURE__ */ new Date(NaN);
|
195
|
-
if (
|
219
|
+
if (f.u(t)) return /* @__PURE__ */ new Date();
|
196
220
|
if (t instanceof Date) return new Date(t);
|
197
221
|
if (typeof t == "string" && !/Z$/i.test(t)) {
|
198
|
-
var
|
199
|
-
if (
|
200
|
-
var
|
201
|
-
return
|
222
|
+
var u = t.match(W);
|
223
|
+
if (u) {
|
224
|
+
var m = u[2] - 1 || 0, y = (u[7] || "0").substring(0, 3);
|
225
|
+
return d ? new Date(Date.UTC(u[1], m, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, y)) : new Date(u[1], m, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, y);
|
202
226
|
}
|
203
227
|
}
|
204
228
|
return new Date(t);
|
@@ -207,43 +231,43 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
207
231
|
var e = this.$d;
|
208
232
|
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();
|
209
233
|
}, r.$utils = function() {
|
210
|
-
return
|
234
|
+
return f;
|
211
235
|
}, r.isValid = function() {
|
212
236
|
return this.$d.toString() !== o;
|
213
237
|
}, r.isSame = function(e, i) {
|
214
|
-
var t =
|
238
|
+
var t = C(e);
|
215
239
|
return this.startOf(i) <= t && t <= this.endOf(i);
|
216
240
|
}, r.isAfter = function(e, i) {
|
217
|
-
return
|
241
|
+
return C(e) < this.startOf(i);
|
218
242
|
}, r.isBefore = function(e, i) {
|
219
|
-
return this.endOf(i) <
|
243
|
+
return this.endOf(i) < C(e);
|
220
244
|
}, r.$g = function(e, i, t) {
|
221
|
-
return
|
245
|
+
return f.u(e) ? this[i] : this.set(t, e);
|
222
246
|
}, r.unix = function() {
|
223
247
|
return Math.floor(this.valueOf() / 1e3);
|
224
248
|
}, r.valueOf = function() {
|
225
249
|
return this.$d.getTime();
|
226
250
|
}, r.startOf = function(e, i) {
|
227
|
-
var t = this,
|
228
|
-
var x =
|
229
|
-
return
|
251
|
+
var t = this, d = !!f.u(i) || i, u = f.p(e), m = function(R, D) {
|
252
|
+
var x = f.w(t.$u ? Date.UTC(t.$y, D, R) : new Date(t.$y, D, R), t);
|
253
|
+
return d ? x : x.endOf($);
|
230
254
|
}, y = function(R, D) {
|
231
|
-
return
|
232
|
-
},
|
233
|
-
switch (
|
255
|
+
return f.w(t.toDate()[R].apply(t.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(D)), t);
|
256
|
+
}, v = this.$W, S = this.$M, T = this.$D, P = "set" + (this.$u ? "UTC" : "");
|
257
|
+
switch (u) {
|
234
258
|
case k:
|
235
|
-
return
|
259
|
+
return d ? m(1, 0) : m(31, 11);
|
236
260
|
case M:
|
237
|
-
return
|
261
|
+
return d ? m(1, S) : m(0, S + 1);
|
238
262
|
case q:
|
239
|
-
var _ = this.$locale().weekStart || 0,
|
240
|
-
return
|
241
|
-
case
|
242
|
-
case
|
263
|
+
var _ = this.$locale().weekStart || 0, A = (v < _ ? v + 7 : v) - _;
|
264
|
+
return m(d ? T - A : T + (6 - A), S);
|
265
|
+
case $:
|
266
|
+
case E:
|
243
267
|
return y(P + "Hours", 0);
|
244
|
-
case
|
268
|
+
case l:
|
245
269
|
return y(P + "Minutes", 1);
|
246
|
-
case
|
270
|
+
case g:
|
247
271
|
return y(P + "Seconds", 2);
|
248
272
|
case w:
|
249
273
|
return y(P + "Milliseconds", 3);
|
@@ -253,142 +277,142 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
253
277
|
}, r.endOf = function(e) {
|
254
278
|
return this.startOf(e, !1);
|
255
279
|
}, r.$set = function(e, i) {
|
256
|
-
var t,
|
257
|
-
if (
|
258
|
-
var
|
259
|
-
|
260
|
-
} else
|
280
|
+
var t, d = f.p(e), u = "set" + (this.$u ? "UTC" : ""), m = (t = {}, t[$] = u + "Date", t[E] = u + "Date", t[M] = u + "Month", t[k] = u + "FullYear", t[l] = u + "Hours", t[g] = u + "Minutes", t[w] = u + "Seconds", t[L] = u + "Milliseconds", t)[d], y = d === $ ? this.$D + (i - this.$W) : i;
|
281
|
+
if (d === M || d === k) {
|
282
|
+
var v = this.clone().set(E, 1);
|
283
|
+
v.$d[m](y), v.init(), this.$d = v.set(E, Math.min(this.$D, v.daysInMonth())).$d;
|
284
|
+
} else m && this.$d[m](y);
|
261
285
|
return this.init(), this;
|
262
286
|
}, r.set = function(e, i) {
|
263
287
|
return this.clone().$set(e, i);
|
264
288
|
}, r.get = function(e) {
|
265
|
-
return this[
|
289
|
+
return this[f.p(e)]();
|
266
290
|
}, r.add = function(e, i) {
|
267
|
-
var t,
|
291
|
+
var t, d = this;
|
268
292
|
e = Number(e);
|
269
|
-
var
|
270
|
-
var T =
|
271
|
-
return
|
293
|
+
var u = f.p(i), m = function(S) {
|
294
|
+
var T = C(d);
|
295
|
+
return f.w(T.date(T.date() + Math.round(S * e)), d);
|
272
296
|
};
|
273
|
-
if (
|
274
|
-
if (
|
275
|
-
if (
|
276
|
-
if (
|
277
|
-
var y = (t = {}, t[
|
278
|
-
return
|
297
|
+
if (u === M) return this.set(M, this.$M + e);
|
298
|
+
if (u === k) return this.set(k, this.$y + e);
|
299
|
+
if (u === $) return m(1);
|
300
|
+
if (u === q) return m(7);
|
301
|
+
var y = (t = {}, t[g] = c, t[l] = p, t[w] = s, t)[u] || 1, v = this.$d.getTime() + e * y;
|
302
|
+
return f.w(v, this);
|
279
303
|
}, r.subtract = function(e, i) {
|
280
304
|
return this.add(-1 * e, i);
|
281
305
|
}, r.format = function(e) {
|
282
306
|
var i = this, t = this.$locale();
|
283
307
|
if (!this.isValid()) return t.invalidDate || o;
|
284
|
-
var
|
285
|
-
return D && (D[x] || D(i,
|
286
|
-
},
|
287
|
-
return
|
308
|
+
var d = e || "YYYY-MM-DDTHH:mm:ssZ", u = f.z(this), m = this.$H, y = this.$m, v = this.$M, S = t.weekdays, T = t.months, P = t.meridiem, _ = function(D, x, V, J) {
|
309
|
+
return D && (D[x] || D(i, d)) || V[x].slice(0, J);
|
310
|
+
}, A = function(D) {
|
311
|
+
return f.s(m % 12 || 12, D, "0");
|
288
312
|
}, R = P || function(D, x, V) {
|
289
313
|
var J = D < 12 ? "AM" : "PM";
|
290
314
|
return V ? J.toLowerCase() : J;
|
291
315
|
};
|
292
|
-
return
|
316
|
+
return d.replace(I, function(D, x) {
|
293
317
|
return x || function(V) {
|
294
318
|
switch (V) {
|
295
319
|
case "YY":
|
296
320
|
return String(i.$y).slice(-2);
|
297
321
|
case "YYYY":
|
298
|
-
return
|
322
|
+
return f.s(i.$y, 4, "0");
|
299
323
|
case "M":
|
300
|
-
return
|
324
|
+
return v + 1;
|
301
325
|
case "MM":
|
302
|
-
return
|
326
|
+
return f.s(v + 1, 2, "0");
|
303
327
|
case "MMM":
|
304
|
-
return _(t.monthsShort,
|
328
|
+
return _(t.monthsShort, v, T, 3);
|
305
329
|
case "MMMM":
|
306
|
-
return _(T,
|
330
|
+
return _(T, v);
|
307
331
|
case "D":
|
308
332
|
return i.$D;
|
309
333
|
case "DD":
|
310
|
-
return
|
334
|
+
return f.s(i.$D, 2, "0");
|
311
335
|
case "d":
|
312
336
|
return String(i.$W);
|
313
337
|
case "dd":
|
314
|
-
return _(t.weekdaysMin, i.$W,
|
338
|
+
return _(t.weekdaysMin, i.$W, S, 2);
|
315
339
|
case "ddd":
|
316
|
-
return _(t.weekdaysShort, i.$W,
|
340
|
+
return _(t.weekdaysShort, i.$W, S, 3);
|
317
341
|
case "dddd":
|
318
|
-
return
|
342
|
+
return S[i.$W];
|
319
343
|
case "H":
|
320
|
-
return String(
|
344
|
+
return String(m);
|
321
345
|
case "HH":
|
322
|
-
return
|
346
|
+
return f.s(m, 2, "0");
|
323
347
|
case "h":
|
324
|
-
return
|
348
|
+
return A(1);
|
325
349
|
case "hh":
|
326
|
-
return
|
350
|
+
return A(2);
|
327
351
|
case "a":
|
328
|
-
return R(
|
352
|
+
return R(m, y, !0);
|
329
353
|
case "A":
|
330
|
-
return R(
|
354
|
+
return R(m, y, !1);
|
331
355
|
case "m":
|
332
356
|
return String(y);
|
333
357
|
case "mm":
|
334
|
-
return
|
358
|
+
return f.s(y, 2, "0");
|
335
359
|
case "s":
|
336
360
|
return String(i.$s);
|
337
361
|
case "ss":
|
338
|
-
return
|
362
|
+
return f.s(i.$s, 2, "0");
|
339
363
|
case "SSS":
|
340
|
-
return
|
364
|
+
return f.s(i.$ms, 3, "0");
|
341
365
|
case "Z":
|
342
|
-
return
|
366
|
+
return u;
|
343
367
|
}
|
344
368
|
return null;
|
345
|
-
}(D) ||
|
369
|
+
}(D) || u.replace(":", "");
|
346
370
|
});
|
347
371
|
}, r.utcOffset = function() {
|
348
372
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
349
373
|
}, r.diff = function(e, i, t) {
|
350
|
-
var
|
351
|
-
return
|
374
|
+
var d, u = this, m = f.p(i), y = C(e), v = (y.utcOffset() - this.utcOffset()) * c, S = this - y, T = function() {
|
375
|
+
return f.m(u, y);
|
352
376
|
};
|
353
|
-
switch (
|
377
|
+
switch (m) {
|
354
378
|
case k:
|
355
|
-
|
379
|
+
d = T() / 12;
|
356
380
|
break;
|
357
381
|
case M:
|
358
|
-
|
382
|
+
d = T();
|
359
383
|
break;
|
360
384
|
case N:
|
361
|
-
|
385
|
+
d = T() / 3;
|
362
386
|
break;
|
363
387
|
case q:
|
364
|
-
|
388
|
+
d = (S - v) / 6048e5;
|
365
389
|
break;
|
366
|
-
case
|
367
|
-
|
390
|
+
case $:
|
391
|
+
d = (S - v) / 864e5;
|
368
392
|
break;
|
369
|
-
case
|
370
|
-
|
393
|
+
case l:
|
394
|
+
d = S / p;
|
371
395
|
break;
|
372
|
-
case
|
373
|
-
|
396
|
+
case g:
|
397
|
+
d = S / c;
|
374
398
|
break;
|
375
399
|
case w:
|
376
|
-
|
400
|
+
d = S / s;
|
377
401
|
break;
|
378
402
|
default:
|
379
|
-
|
403
|
+
d = S;
|
380
404
|
}
|
381
|
-
return t ?
|
405
|
+
return t ? d : f.a(d);
|
382
406
|
}, r.daysInMonth = function() {
|
383
407
|
return this.endOf(M).$D;
|
384
408
|
}, r.$locale = function() {
|
385
409
|
return z[this.$L];
|
386
410
|
}, r.locale = function(e, i) {
|
387
411
|
if (!e) return this.$L;
|
388
|
-
var t = this.clone(),
|
389
|
-
return
|
412
|
+
var t = this.clone(), d = j(e, i, !0);
|
413
|
+
return d && (t.$L = d), t;
|
390
414
|
}, r.clone = function() {
|
391
|
-
return
|
415
|
+
return f.w(this.$d, this);
|
392
416
|
}, r.toDate = function() {
|
393
417
|
return new Date(this.valueOf());
|
394
418
|
}, r.toJSON = function() {
|
@@ -399,93 +423,93 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
399
423
|
return this.$d.toUTCString();
|
400
424
|
}, a;
|
401
425
|
}(), K = Z.prototype;
|
402
|
-
return
|
426
|
+
return C.prototype = K, [["$ms", L], ["$s", w], ["$m", g], ["$H", l], ["$W", $], ["$M", M], ["$y", k], ["$D", E]].forEach(function(a) {
|
403
427
|
K[a[1]] = function(r) {
|
404
428
|
return this.$g(r, a[0], a[1]);
|
405
429
|
};
|
406
|
-
}),
|
407
|
-
return a.$i || (a(r, Z,
|
408
|
-
},
|
409
|
-
return
|
410
|
-
},
|
430
|
+
}), C.extend = function(a, r) {
|
431
|
+
return a.$i || (a(r, Z, C), a.$i = !0), C;
|
432
|
+
}, C.locale = j, C.isDayjs = B, C.unix = function(a) {
|
433
|
+
return C(1e3 * a);
|
434
|
+
}, C.en = z[O], C.Ls = z, C.p = {}, C;
|
411
435
|
});
|
412
|
-
})(
|
413
|
-
const
|
414
|
-
var
|
415
|
-
(function(n,
|
416
|
-
(function(
|
417
|
-
n.exports =
|
418
|
-
})(
|
419
|
-
var
|
420
|
-
return function(L, w,
|
421
|
-
var
|
422
|
-
|
423
|
-
var
|
424
|
-
return new w(
|
425
|
-
},
|
426
|
-
var
|
427
|
-
return o ?
|
428
|
-
},
|
429
|
-
return
|
436
|
+
})(ne);
|
437
|
+
const ie = ne.exports;
|
438
|
+
var ae = { exports: {} };
|
439
|
+
(function(n, h) {
|
440
|
+
(function(s, c) {
|
441
|
+
n.exports = c();
|
442
|
+
})(re, function() {
|
443
|
+
var s = "minute", c = /[+-]\d\d(?::?\d\d)?/g, p = /([+-]|\d\d)/g;
|
444
|
+
return function(L, w, g) {
|
445
|
+
var l = w.prototype;
|
446
|
+
g.utc = function(o) {
|
447
|
+
var W = { date: o, utc: !0, args: arguments };
|
448
|
+
return new w(W);
|
449
|
+
}, l.utc = function(o) {
|
450
|
+
var W = g(this.toDate(), { locale: this.$L, utc: !0 });
|
451
|
+
return o ? W.add(this.utcOffset(), s) : W;
|
452
|
+
}, l.local = function() {
|
453
|
+
return g(this.toDate(), { locale: this.$L, utc: !1 });
|
430
454
|
};
|
431
|
-
var
|
432
|
-
|
433
|
-
o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset),
|
455
|
+
var $ = l.parse;
|
456
|
+
l.parse = function(o) {
|
457
|
+
o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset), $.call(this, o);
|
434
458
|
};
|
435
|
-
var q =
|
436
|
-
|
459
|
+
var q = l.init;
|
460
|
+
l.init = function() {
|
437
461
|
if (this.$u) {
|
438
462
|
var o = this.$d;
|
439
463
|
this.$y = o.getUTCFullYear(), this.$M = o.getUTCMonth(), this.$D = o.getUTCDate(), this.$W = o.getUTCDay(), this.$H = o.getUTCHours(), this.$m = o.getUTCMinutes(), this.$s = o.getUTCSeconds(), this.$ms = o.getUTCMilliseconds();
|
440
464
|
} else q.call(this);
|
441
465
|
};
|
442
|
-
var M =
|
443
|
-
|
466
|
+
var M = l.utcOffset;
|
467
|
+
l.utcOffset = function(o, W) {
|
444
468
|
var I = this.$utils().u;
|
445
469
|
if (I(o)) return this.$u ? 0 : I(this.$offset) ? M.call(this) : this.$offset;
|
446
|
-
if (typeof o == "string" && (o = function(
|
447
|
-
|
448
|
-
var z =
|
470
|
+
if (typeof o == "string" && (o = function(O) {
|
471
|
+
O === void 0 && (O = "");
|
472
|
+
var z = O.match(c);
|
449
473
|
if (!z) return null;
|
450
|
-
var Y = ("" + z[0]).match(
|
451
|
-
return j === 0 ? 0 :
|
474
|
+
var Y = ("" + z[0]).match(p) || ["-", 0, 0], B = Y[0], j = 60 * +Y[1] + +Y[2];
|
475
|
+
return j === 0 ? 0 : B === "+" ? j : -j;
|
452
476
|
}(o), o === null)) return this;
|
453
|
-
var F = Math.abs(o) <= 16 ? 60 * o : o,
|
454
|
-
if (
|
477
|
+
var F = Math.abs(o) <= 16 ? 60 * o : o, U = this;
|
478
|
+
if (W) return U.$offset = F, U.$u = o === 0, U;
|
455
479
|
if (o !== 0) {
|
456
480
|
var G = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
457
|
-
(
|
458
|
-
} else
|
459
|
-
return
|
481
|
+
(U = this.local().add(F + G, s)).$offset = F, U.$x.$localOffset = G;
|
482
|
+
} else U = this.utc();
|
483
|
+
return U;
|
460
484
|
};
|
461
|
-
var N =
|
462
|
-
|
463
|
-
var
|
464
|
-
return N.call(this,
|
465
|
-
},
|
485
|
+
var N = l.format;
|
486
|
+
l.format = function(o) {
|
487
|
+
var W = o || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
488
|
+
return N.call(this, W);
|
489
|
+
}, l.valueOf = function() {
|
466
490
|
var o = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
467
491
|
return this.$d.valueOf() - 6e4 * o;
|
468
|
-
},
|
492
|
+
}, l.isUTC = function() {
|
469
493
|
return !!this.$u;
|
470
|
-
},
|
494
|
+
}, l.toISOString = function() {
|
471
495
|
return this.toDate().toISOString();
|
472
|
-
},
|
496
|
+
}, l.toString = function() {
|
473
497
|
return this.toDate().toUTCString();
|
474
498
|
};
|
475
|
-
var k =
|
476
|
-
|
477
|
-
return o === "s" && this.$offset ?
|
499
|
+
var k = l.toDate;
|
500
|
+
l.toDate = function(o) {
|
501
|
+
return o === "s" && this.$offset ? g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : k.call(this);
|
478
502
|
};
|
479
|
-
var
|
480
|
-
|
481
|
-
if (o && this.$u === o.$u) return
|
482
|
-
var F = this.local(),
|
483
|
-
return
|
503
|
+
var E = l.diff;
|
504
|
+
l.diff = function(o, W, I) {
|
505
|
+
if (o && this.$u === o.$u) return E.call(this, o, W, I);
|
506
|
+
var F = this.local(), U = g(o).local();
|
507
|
+
return E.call(F, U, W, I);
|
484
508
|
};
|
485
509
|
};
|
486
510
|
});
|
487
|
-
})(
|
488
|
-
const
|
511
|
+
})(ae);
|
512
|
+
const ye = ae.exports, we = `:host {
|
489
513
|
font: inherit;
|
490
514
|
display: block;
|
491
515
|
height: 100%;
|
@@ -543,24 +567,12 @@ const pe = ie.exports, me = `:host {
|
|
543
567
|
margin-top: 70px;
|
544
568
|
text-align: center;
|
545
569
|
color: var(--emw--color-black, #000000);
|
546
|
-
}`,
|
547
|
-
|
548
|
-
const
|
549
|
-
},
|
570
|
+
}`, Ce = we;
|
571
|
+
ie.extend(ye);
|
572
|
+
const ve = () => {
|
573
|
+
}, Se = class {
|
550
574
|
constructor(n) {
|
551
|
-
|
552
|
-
let p = document.createElement("style");
|
553
|
-
p.innerHTML = this.clientStyling, this.stylingContainer.prepend(p);
|
554
|
-
}, this.setClientStylingURL = () => {
|
555
|
-
let p = new URL(this.clientStylingUrl), u = document.createElement("style");
|
556
|
-
fetch(p.href).then((l) => l.text()).then((l) => {
|
557
|
-
u.innerHTML = l, setTimeout(() => {
|
558
|
-
this.stylingContainer.prepend(u);
|
559
|
-
}, 1);
|
560
|
-
}).catch((l) => {
|
561
|
-
console.log("error ", l);
|
562
|
-
});
|
563
|
-
}, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", 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 = ye, this.limitStylingAppends = !1, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
|
575
|
+
de(this, n), this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.beforeRedirect = ve, this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = ge(this.userAgent), this.errorCodes = ["21123", "21122"];
|
564
576
|
}
|
565
577
|
get typeParameter() {
|
566
578
|
if (this.type === "deposit")
|
@@ -571,26 +583,29 @@ const ye = () => {
|
|
571
583
|
watchLoadWidget() {
|
572
584
|
this.loadWidget();
|
573
585
|
}
|
586
|
+
handleClientStylingChange(n, h) {
|
587
|
+
n != h && X(this.stylingContainer, this.clientStyling);
|
588
|
+
}
|
589
|
+
handleClientStylingChangeURL(n, h) {
|
590
|
+
n != h && this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl);
|
591
|
+
}
|
574
592
|
componentWillLoad() {
|
575
593
|
return Q(this, null, function* () {
|
576
594
|
if (yield this.loadWidget(), this.translationUrl)
|
577
|
-
return
|
595
|
+
return pe(this.translationUrl);
|
578
596
|
});
|
579
597
|
}
|
580
598
|
toggleScreen(n) {
|
581
599
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: n }, window.location.href);
|
582
600
|
}
|
583
601
|
componentDidLoad() {
|
584
|
-
window.addEventListener("message", this.bindedHandler, !1);
|
602
|
+
this.stylingContainer && (window.emMessageBus != null ? me(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && X(this.stylingContainer, this.clientStyling), this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl))), window.addEventListener("message", this.bindedHandler, !1);
|
585
603
|
}
|
586
604
|
disconnectedCallback() {
|
587
|
-
window.removeEventListener("message", this.bindedHandler, !1);
|
588
|
-
}
|
589
|
-
componentDidRender() {
|
590
|
-
!this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.clientStylingUrl && this.setClientStylingURL(), this.limitStylingAppends = !0);
|
605
|
+
window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
591
606
|
}
|
592
607
|
render() {
|
593
|
-
return b(
|
608
|
+
return b(ue, { key: "4963fd9b7ce608f13fd464996c085c29045fcd59" }, b("div", { key: "1fe503816ddb4f18d50545f0f627dd917e6f62ec", ref: (n) => this.stylingContainer = n }, !(this.isMobile && !this.isShortCashier) && b("h2", { key: "5bf653f70da5f95173a7dc2c7067d0968876b50a", class: "CategoryTitle" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), b("div", { key: "44a47893b6b2ce83e45f69e8997aa6e450968941", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}`, style: { height: this.dynamicHeight, marginTop: this.isShortCashier ? "30px" : "0" } }, b("div", { key: "949862539b439d5f2375a08115a7389bf355dd2c" }, this.isMobile && !this.isShortCashier ? b("div", { class: "MenuReturnButton", onClick: () => this.toggleScreen(this.isMobile) }, b("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, b("defs", null), b("g", { transform: "translate(-20 -158)" }, b("g", { transform: "translate(20 158)" }, b("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)" })))), b("h2", { class: "CategoryTitleMobile" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? b("iframe", { width: "100%", height: "100%", src: this.cashierInfoUrl }) : b("h3", { class: "ErrorMessage" }, this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language)))));
|
594
609
|
}
|
595
610
|
loadWidget() {
|
596
611
|
return Q(this, null, function* () {
|
@@ -607,49 +622,49 @@ const ye = () => {
|
|
607
622
|
showBonusSelectionInput: this.showBonusSelectionInput
|
608
623
|
};
|
609
624
|
try {
|
610
|
-
const
|
625
|
+
const h = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, s = yield fetch(h, {
|
611
626
|
method: "POST",
|
612
627
|
headers: {
|
613
628
|
"X-Sessionid": this.session,
|
614
629
|
"Content-Type": "application/json",
|
615
|
-
"X-Client-Request-Timestamp":
|
630
|
+
"X-Client-Request-Timestamp": ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
|
616
631
|
},
|
617
632
|
body: JSON.stringify(n)
|
618
633
|
});
|
619
|
-
if (!
|
620
|
-
const
|
621
|
-
throw new Error(
|
634
|
+
if (!s.ok) {
|
635
|
+
const p = yield s.text();
|
636
|
+
throw new Error(p);
|
622
637
|
}
|
623
|
-
const
|
624
|
-
if (
|
625
|
-
this.cashierInfoUrl =
|
638
|
+
const c = yield s.json();
|
639
|
+
if (c.CashierInfo)
|
640
|
+
this.cashierInfoUrl = c.CashierInfo.Url;
|
626
641
|
else {
|
627
|
-
let
|
628
|
-
if (
|
629
|
-
let w = this.errorCodes.find((
|
630
|
-
w ?
|
642
|
+
let p;
|
643
|
+
if (c.ResponseMessage) {
|
644
|
+
let w = this.errorCodes.find((g) => c.ResponseMessage.includes(g)) || null;
|
645
|
+
w ? p = H(`errorCode${w}`, this.language) : p = H("notFoundErrorCode", this.language);
|
631
646
|
} else
|
632
|
-
|
633
|
-
const L = { type: "error", message:
|
647
|
+
p = this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language);
|
648
|
+
const L = { type: "error", message: p };
|
634
649
|
window.postMessage({ type: "DenyDepositOrWithdrawal", data: L }, window.location.href);
|
635
650
|
}
|
636
|
-
} catch (
|
637
|
-
console.error(
|
651
|
+
} catch (h) {
|
652
|
+
console.error(h);
|
638
653
|
}
|
639
654
|
});
|
640
655
|
}
|
641
656
|
handleMessage(n) {
|
642
|
-
var
|
643
|
-
n.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), n.data["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = n.data["MMFE:setQuickDepositHeight"].toString() + "px"), n.data["MMFE:setIFrameHeight"] && this.isShortCashier && (this.dynamicHeight = n.data["MMFE:setIFrameHeight"].toString() + "px"), ((
|
657
|
+
var h, s, c, p, L, w, g, l;
|
658
|
+
n.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), n.data["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = n.data["MMFE:setQuickDepositHeight"].toString() + "px"), n.data["MMFE:setIFrameHeight"] && this.isShortCashier && (this.dynamicHeight = n.data["MMFE:setIFrameHeight"].toString() + "px"), ((h = n.data) === null || h === void 0 ? void 0 : h.type) === "mm-hcback-to-merchant" && this.doRedirect(n.data.type, this.homeUrl), ((s = n.data) === null || s === void 0 ? void 0 : s.redirect) === "mm-hc-back-tomerchant" && this.doRedirect(n.data.redirect, this.homeUrl), ((c = n.data) === null || c === void 0 ? void 0 : c.redirect) === "mm-hc-sports" && this.doRedirect((p = n.data) === null || p === void 0 ? void 0 : p.redirect, this.sportsUrl), ((L = n.data) === null || L === void 0 ? void 0 : L.redirect) === "mm-hc-casino" && this.doRedirect(window.location.href, this.casinoUrl), ((w = n.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)), (((g = n.data) === null || g === void 0 ? void 0 : g.redirect) === "mm-wm-hc-init-deposit" || ((l = n.data) === null || l === void 0 ? void 0 : l.redirect) === "mm-wm-hc-init-deposit-quick") && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.depositUrl));
|
644
659
|
}
|
645
|
-
doRedirect(n,
|
646
|
-
const
|
647
|
-
if (this.beforeRedirect(
|
648
|
-
if (!
|
660
|
+
doRedirect(n, h) {
|
661
|
+
const s = { reason: n, url: h, cancel: !1 };
|
662
|
+
if (this.beforeRedirect(s), !s.cancel) {
|
663
|
+
if (!s.url) {
|
649
664
|
window.location.href = "/";
|
650
665
|
return;
|
651
666
|
}
|
652
|
-
window.location.href =
|
667
|
+
window.location.href = s.url;
|
653
668
|
}
|
654
669
|
}
|
655
670
|
static get watchers() {
|
@@ -658,11 +673,13 @@ const ye = () => {
|
|
658
673
|
userId: ["watchLoadWidget"],
|
659
674
|
isShortCashier: ["watchLoadWidget"],
|
660
675
|
currency: ["watchLoadWidget"],
|
661
|
-
showBonusSelectionInput: ["watchLoadWidget"]
|
676
|
+
showBonusSelectionInput: ["watchLoadWidget"],
|
677
|
+
clientStyling: ["handleClientStylingChange"],
|
678
|
+
clientStylingUrl: ["handleClientStylingChangeURL"]
|
662
679
|
};
|
663
680
|
}
|
664
681
|
};
|
665
|
-
|
682
|
+
Se.style = Ce;
|
666
683
|
export {
|
667
|
-
|
684
|
+
Se as user_deposit_withdrawal
|
668
685
|
};
|