@everymatrix/casino-header-controller 1.60.1 → 1.61.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-DyL5A7W7.js → CasinoHamburgerMenu-D3mFMa5W.js} +1020 -1041
- package/components/{CasinoHamburgerMenu-D3IA0-Fr.js → CasinoHamburgerMenu-DqjlWYNt.js} +1025 -1046
- package/components/CasinoHamburgerMenu-nSi6_GPa.cjs +21 -0
- package/components/{CasinoHeaderController-DmFZgeXE.js → CasinoHeaderController-BA7fDOas.js} +805 -805
- package/components/{CasinoHeaderController-B1Lx3tU2.js → CasinoHeaderController-DlwPvEo0.js} +834 -834
- package/components/CasinoHeaderController-UtiETC1r.cjs +13 -0
- package/components/{CasinoSlider-BTGfiw5j.js → CasinoSlider-Cunmuq-P.js} +229 -228
- package/components/{CasinoSlider-RSfl7Nfu.js → CasinoSlider-D3psXdEh.js} +156 -155
- package/components/CasinoSlider-DqegUx4l.cjs +1 -0
- package/components/PlayerAccountBalanceModal-BtbEXU7C.js +1510 -0
- package/components/PlayerAccountBalanceModal-DGswwf7U.js +1539 -0
- package/components/PlayerAccountBalanceModal-DmC872Cn.cjs +13 -0
- package/components/PlayerDeposit-BZHiEvzi.cjs +1 -0
- package/components/{PlayerDeposit-D1KSGzHW.js → PlayerDeposit-BpfGM-w1.js} +65 -65
- package/components/{PlayerDeposit-OqZh5SL5.js → PlayerDeposit-p2EYro_u.js} +65 -65
- 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/app-globals-0f993ce5-B6nNHmA4.js +7 -0
- package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +1 -0
- package/stencil/index-1ef3a64c-Bbwd34hU.js +556 -0
- package/stencil/index-1ef3a64c-DRNu975a.cjs +1 -0
- package/stencil/index-1ef3a64c-jc8GL-4U.js +572 -0
- package/stencil/index-b7bbd57e-BI5Jd3XF.js +534 -0
- package/stencil/index-b7bbd57e-CWFHq7YQ.js +550 -0
- package/stencil/index-b7bbd57e-ZVNIWqhl.cjs +1 -0
- package/stencil/ui-image-38c3c15f-BrMN1r-f.js +39 -0
- package/stencil/ui-image-38c3c15f-DJ4mX8s9.js +39 -0
- package/stencil/ui-image-38c3c15f-DSKYkFDR.cjs +1 -0
- package/stencil/ui-image-BWWgU_uH.js +11 -0
- package/stencil/ui-image-BxRHakSy.cjs +1 -0
- package/stencil/ui-image-DJ6CI_DU.js +29 -0
- package/stencil/{user-deposit-withdrawal-DfDiD6Lp.js → user-deposit-withdrawal-BB9s28xc.js} +77 -77
- package/stencil/{user-deposit-withdrawal-C72e1sSw.js → user-deposit-withdrawal-BSMKIHfB.js} +72 -72
- package/stencil/user-deposit-withdrawal-C2hFhOko.cjs +59 -0
- package/components/CasinoHamburgerMenu-DessG6uq.cjs +0 -21
- package/components/CasinoHeaderController-BH5IAaed.cjs +0 -13
- package/components/CasinoSlider-DRVCTpte.cjs +0 -1
- package/components/PlayerAccountBalanceModal-B9BkSlDU.cjs +0 -13
- package/components/PlayerAccountBalanceModal-CEo_b6Ks.js +0 -1510
- package/components/PlayerAccountBalanceModal-fP9D_Jz7.js +0 -1539
- package/components/PlayerDeposit-DNEPQuyW.cjs +0 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/index-1ef3a64c-6soTLew7.js +0 -556
- package/stencil/index-1ef3a64c-DkMoO-oa.js +0 -572
- package/stencil/index-1ef3a64c-DmmoSOho.cjs +0 -1
- package/stencil/user-deposit-withdrawal-CS-LZhcv.cjs +0 -59
@@ -0,0 +1,29 @@
|
|
1
|
+
var m = (e, r, s) => new Promise((c, o) => {
|
2
|
+
var l = (t) => {
|
3
|
+
try {
|
4
|
+
a(s.next(t));
|
5
|
+
} catch (i) {
|
6
|
+
o(i);
|
7
|
+
}
|
8
|
+
}, n = (t) => {
|
9
|
+
try {
|
10
|
+
a(s.throw(t));
|
11
|
+
} catch (i) {
|
12
|
+
o(i);
|
13
|
+
}
|
14
|
+
}, a = (t) => t.done ? c(t.value) : Promise.resolve(t.value).then(l, n);
|
15
|
+
a((s = s.apply(e, r)).next());
|
16
|
+
});
|
17
|
+
import { b as p, p as d } from "./index-b7bbd57e-CWFHq7YQ.js";
|
18
|
+
import { g } from "./app-globals-0f993ce5-B6nNHmA4.js";
|
19
|
+
import { U as y } from "./ui-image-38c3c15f-DJ4mX8s9.js";
|
20
|
+
var u = () => {
|
21
|
+
const e = import.meta.url, r = {};
|
22
|
+
return e !== "" && (r.resourcesUrl = new URL(".", e).href), d(r);
|
23
|
+
};
|
24
|
+
u().then((e) => m(void 0, null, function* () {
|
25
|
+
return yield g(), p([["ui-image", [[0, "ui-image", { src: [1], width: [1], height: [1], alt: [1], imgClass: [1, "img-class"], styles: [8], detectDistance: [1, "detect-distance"], imgLoaded: [32], shouldLoad: [32] }, null, { src: ["handleSrc"] }]]]], e);
|
26
|
+
}));
|
27
|
+
export {
|
28
|
+
y as ui_image
|
29
|
+
};
|
@@ -1,27 +1,27 @@
|
|
1
|
-
var Q = (n, h, s) => new Promise((
|
2
|
-
var L = (
|
1
|
+
var Q = (n, h, s) => new Promise((l, p) => {
|
2
|
+
var L = (c) => {
|
3
3
|
try {
|
4
|
-
g(s.next(
|
4
|
+
g(s.next(c));
|
5
5
|
} catch ($) {
|
6
6
|
p($);
|
7
7
|
}
|
8
|
-
}, w = (
|
8
|
+
}, w = (c) => {
|
9
9
|
try {
|
10
|
-
g(s.throw(
|
10
|
+
g(s.throw(c));
|
11
11
|
} catch ($) {
|
12
12
|
p($);
|
13
13
|
}
|
14
|
-
}, g = (
|
14
|
+
}, g = (c) => c.done ? l(c.value) : Promise.resolve(c.value).then(L, w);
|
15
15
|
g((s = s.apply(n, h)).next());
|
16
16
|
});
|
17
|
-
import { b as oe, p as se, r as de, h as b, H as ue } from "./index-1ef3a64c-
|
18
|
-
import {
|
19
|
-
var
|
17
|
+
import { b as oe, p as se, r as de, h as b, H as ue } from "./index-1ef3a64c-jc8GL-4U.js";
|
18
|
+
import { a as ce } from "./app-globals-0f993ce5-B6nNHmA4.js";
|
19
|
+
var le = () => {
|
20
20
|
const n = import.meta.url, h = {};
|
21
21
|
return n !== "" && (h.resourcesUrl = new URL(".", n).href), se(h);
|
22
22
|
};
|
23
|
-
|
24
|
-
return yield
|
23
|
+
le().then((n) => Q(void 0, null, function* () {
|
24
|
+
return yield ce(), 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
26
|
const he = "en", fe = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], te = {
|
27
27
|
en: {
|
@@ -125,9 +125,9 @@ const he = "en", fe = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
|
|
125
125
|
}
|
126
126
|
}, pe = (n) => new Promise((h) => {
|
127
127
|
fetch(n).then((s) => s.json()).then((s) => {
|
128
|
-
Object.keys(s).forEach((
|
129
|
-
for (let p in s[
|
130
|
-
te[
|
128
|
+
Object.keys(s).forEach((l) => {
|
129
|
+
for (let p in s[l])
|
130
|
+
te[l][p] = s[l][p];
|
131
131
|
}), h(!0);
|
132
132
|
});
|
133
133
|
}), H = (n, h) => {
|
@@ -142,28 +142,28 @@ function X(n, h) {
|
|
142
142
|
}
|
143
143
|
function ee(n, h) {
|
144
144
|
const s = new URL(h);
|
145
|
-
fetch(s.href).then((
|
145
|
+
fetch(s.href).then((l) => l.text()).then((l) => {
|
146
146
|
const p = document.createElement("style");
|
147
|
-
p.innerHTML =
|
148
|
-
}).catch((
|
149
|
-
console.error("There was an error while trying to load client styling from URL",
|
147
|
+
p.innerHTML = l, n && n.appendChild(p);
|
148
|
+
}).catch((l) => {
|
149
|
+
console.error("There was an error while trying to load client styling from URL", l);
|
150
150
|
});
|
151
151
|
}
|
152
152
|
function me(n, h, s) {
|
153
153
|
if (window.emMessageBus) {
|
154
|
-
const
|
154
|
+
const l = document.createElement("style");
|
155
155
|
window.emMessageBus.subscribe(h, (p) => {
|
156
|
-
|
156
|
+
l.innerHTML = p, n && n.appendChild(l);
|
157
157
|
});
|
158
158
|
}
|
159
159
|
}
|
160
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
161
|
var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ne = { exports: {} };
|
162
162
|
(function(n, h) {
|
163
|
-
(function(s,
|
164
|
-
n.exports =
|
163
|
+
(function(s, l) {
|
164
|
+
n.exports = l();
|
165
165
|
})(re, function() {
|
166
|
-
var s = 1e3,
|
166
|
+
var s = 1e3, l = 6e4, p = 36e5, L = "millisecond", w = "second", g = "minute", c = "hour", $ = "day", q = "week", M = "month", N = "quarter", k = "year", E = "date", o = "Invalid Date", U = /^(\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) {
|
167
167
|
var r = ["th", "st", "nd", "rd"], e = a % 100;
|
168
168
|
return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
169
169
|
} }, W = function(a, r, e) {
|
@@ -180,14 +180,14 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
180
180
|
}, a: function(a) {
|
181
181
|
return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
|
182
182
|
}, p: function(a) {
|
183
|
-
return { M, y: k, w: q, d: $, D: E, h:
|
183
|
+
return { M, y: k, w: q, d: $, D: E, h: c, m: g, s: w, ms: L, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
|
184
184
|
}, u: function(a) {
|
185
185
|
return a === void 0;
|
186
186
|
} }, O = "en", z = {};
|
187
187
|
z[O] = F;
|
188
188
|
var Y = "$isDayjsObject", B = function(a) {
|
189
189
|
return a instanceof Z || !(!a || !a[Y]);
|
190
|
-
},
|
190
|
+
}, x = function a(r, e, i) {
|
191
191
|
var t;
|
192
192
|
if (!r)
|
193
193
|
return O;
|
@@ -208,12 +208,12 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
208
208
|
var e = typeof r == "object" ? r : {};
|
209
209
|
return e.date = a, e.args = arguments, new Z(e);
|
210
210
|
}, f = G;
|
211
|
-
f.l =
|
211
|
+
f.l = x, f.i = B, f.w = function(a, r) {
|
212
212
|
return C(a, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
213
213
|
};
|
214
214
|
var Z = function() {
|
215
215
|
function a(e) {
|
216
|
-
this.$L =
|
216
|
+
this.$L = x(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[Y] = !0;
|
217
217
|
}
|
218
218
|
var r = a.prototype;
|
219
219
|
return r.parse = function(e) {
|
@@ -256,8 +256,8 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
256
256
|
return this.$d.getTime();
|
257
257
|
}, r.startOf = function(e, i) {
|
258
258
|
var t = this, d = !!f.u(i) || i, u = f.p(e), m = function(R, D) {
|
259
|
-
var
|
260
|
-
return d ?
|
259
|
+
var j = f.w(t.$u ? Date.UTC(t.$y, D, R) : new Date(t.$y, D, R), t);
|
260
|
+
return d ? j : j.endOf($);
|
261
261
|
}, y = function(R, D) {
|
262
262
|
return f.w(t.toDate()[R].apply(t.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(D)), t);
|
263
263
|
}, v = this.$W, S = this.$M, T = this.$D, P = "set" + (this.$u ? "UTC" : "");
|
@@ -272,7 +272,7 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
272
272
|
case $:
|
273
273
|
case E:
|
274
274
|
return y(P + "Hours", 0);
|
275
|
-
case
|
275
|
+
case c:
|
276
276
|
return y(P + "Minutes", 1);
|
277
277
|
case g:
|
278
278
|
return y(P + "Seconds", 2);
|
@@ -284,7 +284,7 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
284
284
|
}, r.endOf = function(e) {
|
285
285
|
return this.startOf(e, !1);
|
286
286
|
}, r.$set = function(e, i) {
|
287
|
-
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[
|
287
|
+
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[c] = u + "Hours", t[g] = u + "Minutes", t[w] = u + "Seconds", t[L] = u + "Milliseconds", t)[d], y = d === $ ? this.$D + (i - this.$W) : i;
|
288
288
|
if (d === M || d === k) {
|
289
289
|
var v = this.clone().set(E, 1);
|
290
290
|
v.$d[m](y), v.init(), this.$d = v.set(E, Math.min(this.$D, v.daysInMonth())).$d;
|
@@ -310,7 +310,7 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
310
310
|
return m(1);
|
311
311
|
if (u === q)
|
312
312
|
return m(7);
|
313
|
-
var y = (t = {}, t[g] =
|
313
|
+
var y = (t = {}, t[g] = l, t[c] = p, t[w] = s, t)[u] || 1, v = this.$d.getTime() + e * y;
|
314
314
|
return f.w(v, this);
|
315
315
|
}, r.subtract = function(e, i) {
|
316
316
|
return this.add(-1 * e, i);
|
@@ -318,16 +318,16 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
318
318
|
var i = this, t = this.$locale();
|
319
319
|
if (!this.isValid())
|
320
320
|
return t.invalidDate || o;
|
321
|
-
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,
|
322
|
-
return D && (D[
|
321
|
+
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, j, V, J) {
|
322
|
+
return D && (D[j] || D(i, d)) || V[j].slice(0, J);
|
323
323
|
}, A = function(D) {
|
324
324
|
return f.s(m % 12 || 12, D, "0");
|
325
|
-
}, R = P || function(D,
|
325
|
+
}, R = P || function(D, j, V) {
|
326
326
|
var J = D < 12 ? "AM" : "PM";
|
327
327
|
return V ? J.toLowerCase() : J;
|
328
328
|
};
|
329
|
-
return d.replace(I, function(D,
|
330
|
-
return
|
329
|
+
return d.replace(I, function(D, j) {
|
330
|
+
return j || function(V) {
|
331
331
|
switch (V) {
|
332
332
|
case "YY":
|
333
333
|
return String(i.$y).slice(-2);
|
@@ -384,7 +384,7 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
384
384
|
}, r.utcOffset = function() {
|
385
385
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
386
386
|
}, r.diff = function(e, i, t) {
|
387
|
-
var d, u = this, m = f.p(i), y = C(e), v = (y.utcOffset() - this.utcOffset()) *
|
387
|
+
var d, u = this, m = f.p(i), y = C(e), v = (y.utcOffset() - this.utcOffset()) * l, S = this - y, T = function() {
|
388
388
|
return f.m(u, y);
|
389
389
|
};
|
390
390
|
switch (m) {
|
@@ -403,11 +403,11 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
403
403
|
case $:
|
404
404
|
d = (S - v) / 864e5;
|
405
405
|
break;
|
406
|
-
case
|
406
|
+
case c:
|
407
407
|
d = S / p;
|
408
408
|
break;
|
409
409
|
case g:
|
410
|
-
d = S /
|
410
|
+
d = S / l;
|
411
411
|
break;
|
412
412
|
case w:
|
413
413
|
d = S / s;
|
@@ -423,7 +423,7 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
423
423
|
}, r.locale = function(e, i) {
|
424
424
|
if (!e)
|
425
425
|
return this.$L;
|
426
|
-
var t = this.clone(), d =
|
426
|
+
var t = this.clone(), d = x(e, i, !0);
|
427
427
|
return d && (t.$L = d), t;
|
428
428
|
}, r.clone = function() {
|
429
429
|
return f.w(this.$d, this);
|
@@ -437,13 +437,13 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
437
437
|
return this.$d.toUTCString();
|
438
438
|
}, a;
|
439
439
|
}(), K = Z.prototype;
|
440
|
-
return C.prototype = K, [["$ms", L], ["$s", w], ["$m", g], ["$H",
|
440
|
+
return C.prototype = K, [["$ms", L], ["$s", w], ["$m", g], ["$H", c], ["$W", $], ["$M", M], ["$y", k], ["$D", E]].forEach(function(a) {
|
441
441
|
K[a[1]] = function(r) {
|
442
442
|
return this.$g(r, a[0], a[1]);
|
443
443
|
};
|
444
444
|
}), C.extend = function(a, r) {
|
445
445
|
return a.$i || (a(r, Z, C), a.$i = !0), C;
|
446
|
-
}, C.locale =
|
446
|
+
}, C.locale = x, C.isDayjs = B, C.unix = function(a) {
|
447
447
|
return C(1e3 * a);
|
448
448
|
}, C.en = z[O], C.Ls = z, C.p = {}, C;
|
449
449
|
});
|
@@ -451,45 +451,45 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
451
451
|
const ie = ne.exports;
|
452
452
|
var ae = { exports: {} };
|
453
453
|
(function(n, h) {
|
454
|
-
(function(s,
|
455
|
-
n.exports =
|
454
|
+
(function(s, l) {
|
455
|
+
n.exports = l();
|
456
456
|
})(re, function() {
|
457
|
-
var s = "minute",
|
457
|
+
var s = "minute", l = /[+-]\d\d(?::?\d\d)?/g, p = /([+-]|\d\d)/g;
|
458
458
|
return function(L, w, g) {
|
459
|
-
var
|
459
|
+
var c = w.prototype;
|
460
460
|
g.utc = function(o) {
|
461
461
|
var U = { date: o, utc: !0, args: arguments };
|
462
462
|
return new w(U);
|
463
|
-
},
|
463
|
+
}, c.utc = function(o) {
|
464
464
|
var U = g(this.toDate(), { locale: this.$L, utc: !0 });
|
465
465
|
return o ? U.add(this.utcOffset(), s) : U;
|
466
|
-
},
|
466
|
+
}, c.local = function() {
|
467
467
|
return g(this.toDate(), { locale: this.$L, utc: !1 });
|
468
468
|
};
|
469
|
-
var $ =
|
470
|
-
|
469
|
+
var $ = c.parse;
|
470
|
+
c.parse = function(o) {
|
471
471
|
o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset), $.call(this, o);
|
472
472
|
};
|
473
|
-
var q =
|
474
|
-
|
473
|
+
var q = c.init;
|
474
|
+
c.init = function() {
|
475
475
|
if (this.$u) {
|
476
476
|
var o = this.$d;
|
477
477
|
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();
|
478
478
|
} else
|
479
479
|
q.call(this);
|
480
480
|
};
|
481
|
-
var M =
|
482
|
-
|
481
|
+
var M = c.utcOffset;
|
482
|
+
c.utcOffset = function(o, U) {
|
483
483
|
var I = this.$utils().u;
|
484
484
|
if (I(o))
|
485
485
|
return this.$u ? 0 : I(this.$offset) ? M.call(this) : this.$offset;
|
486
486
|
if (typeof o == "string" && (o = function(O) {
|
487
487
|
O === void 0 && (O = "");
|
488
|
-
var z = O.match(
|
488
|
+
var z = O.match(l);
|
489
489
|
if (!z)
|
490
490
|
return null;
|
491
|
-
var Y = ("" + z[0]).match(p) || ["-", 0, 0], B = Y[0],
|
492
|
-
return
|
491
|
+
var Y = ("" + z[0]).match(p) || ["-", 0, 0], B = Y[0], x = 60 * +Y[1] + +Y[2];
|
492
|
+
return x === 0 ? 0 : B === "+" ? x : -x;
|
493
493
|
}(o), o === null))
|
494
494
|
return this;
|
495
495
|
var F = Math.abs(o) <= 16 ? 60 * o : o, W = this;
|
@@ -502,26 +502,26 @@ var ae = { exports: {} };
|
|
502
502
|
W = this.utc();
|
503
503
|
return W;
|
504
504
|
};
|
505
|
-
var N =
|
506
|
-
|
505
|
+
var N = c.format;
|
506
|
+
c.format = function(o) {
|
507
507
|
var U = o || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
508
508
|
return N.call(this, U);
|
509
|
-
},
|
509
|
+
}, c.valueOf = function() {
|
510
510
|
var o = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
511
511
|
return this.$d.valueOf() - 6e4 * o;
|
512
|
-
},
|
512
|
+
}, c.isUTC = function() {
|
513
513
|
return !!this.$u;
|
514
|
-
},
|
514
|
+
}, c.toISOString = function() {
|
515
515
|
return this.toDate().toISOString();
|
516
|
-
},
|
516
|
+
}, c.toString = function() {
|
517
517
|
return this.toDate().toUTCString();
|
518
518
|
};
|
519
|
-
var k =
|
520
|
-
|
519
|
+
var k = c.toDate;
|
520
|
+
c.toDate = function(o) {
|
521
521
|
return o === "s" && this.$offset ? g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : k.call(this);
|
522
522
|
};
|
523
|
-
var E =
|
524
|
-
|
523
|
+
var E = c.diff;
|
524
|
+
c.diff = function(o, U, I) {
|
525
525
|
if (o && this.$u === o.$u)
|
526
526
|
return E.call(this, o, U, I);
|
527
527
|
var F = this.local(), W = g(o).local();
|
@@ -571,7 +571,7 @@ const ye = ae.exports, we = `:host {
|
|
571
571
|
|
572
572
|
@container (max-width: 475px) {
|
573
573
|
.DepositWithdrawalWrapper {
|
574
|
-
height: 100vh;
|
574
|
+
height: calc(100vh + 120px);
|
575
575
|
}
|
576
576
|
}
|
577
577
|
.ShortCashier.DepositWithdrawalWrapper {
|
@@ -626,7 +626,7 @@ const ve = () => {
|
|
626
626
|
window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
627
627
|
}
|
628
628
|
render() {
|
629
|
-
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: "
|
629
|
+
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: "5afbbcc975fcce46b5907a0a1aad60e570291e39", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}`, style: { height: `calc(${this.dynamicHeight} + 120px)`, marginTop: this.isShortCashier ? "30px" : "0" } }, b("div", { key: "26715622124aefe68bcd9a585c5c34b648747cdd" }, 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)))));
|
630
630
|
}
|
631
631
|
loadWidget() {
|
632
632
|
return Q(this, null, function* () {
|
@@ -656,13 +656,13 @@ const ve = () => {
|
|
656
656
|
const p = yield s.text();
|
657
657
|
throw new Error(p);
|
658
658
|
}
|
659
|
-
const
|
660
|
-
if (
|
661
|
-
this.cashierInfoUrl =
|
659
|
+
const l = yield s.json();
|
660
|
+
if (l.CashierInfo)
|
661
|
+
this.cashierInfoUrl = l.CashierInfo.Url;
|
662
662
|
else {
|
663
663
|
let p;
|
664
|
-
if (
|
665
|
-
let w = this.errorCodes.find((g) =>
|
664
|
+
if (l.ResponseMessage) {
|
665
|
+
let w = this.errorCodes.find((g) => l.ResponseMessage.includes(g)) || null;
|
666
666
|
w ? p = H(`errorCode${w}`, this.language) : p = H("notFoundErrorCode", this.language);
|
667
667
|
} else
|
668
668
|
p = this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language);
|
@@ -675,8 +675,8 @@ const ve = () => {
|
|
675
675
|
});
|
676
676
|
}
|
677
677
|
handleMessage(n) {
|
678
|
-
var h, s,
|
679
|
-
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"] &&
|
678
|
+
var h, s, l, p, L, w, g, c;
|
679
|
+
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.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), ((l = n.data) === null || l === void 0 ? void 0 : l.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" || ((c = n.data) === null || c === void 0 ? void 0 : c.redirect) === "mm-wm-hc-init-deposit-quick") && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.depositUrl));
|
680
680
|
}
|
681
681
|
doRedirect(n, h) {
|
682
682
|
const s = { reason: n, url: h, cancel: !1 };
|