@everymatrix/casino-header-controller 1.67.0 → 1.67.3
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-B3SEVofS.cjs +21 -0
- package/components/{CasinoHamburgerMenu-CTVc2-UF.js → CasinoHamburgerMenu-F30AIdQa.js} +1050 -1085
- package/components/{CasinoHamburgerMenu-BMkeLxFw.js → CasinoHamburgerMenu-qJFMD0lY.js} +1056 -1091
- package/components/{CasinoHeaderController-BzaGYtip.cjs → CasinoHeaderController-DBUFDWMM.cjs} +1 -1
- package/components/{CasinoHeaderController-BYTEYxGI.js → CasinoHeaderController-pekvzXc8.js} +88 -88
- package/components/{CasinoHeaderController-kkZt2jZV.js → CasinoHeaderController-s3bKI18l.js} +90 -90
- package/components/{CasinoSlider-DqTtsMWh.cjs → CasinoSlider-C8ldNewd.cjs} +1 -1
- package/components/{CasinoSlider-Deb0x84t.js → CasinoSlider-CEn9AAOB.js} +81 -81
- package/components/{CasinoSlider-CTcAOyCp.js → CasinoSlider-xtEu7BaK.js} +49 -49
- package/components/{PlayerAccountBalanceModal-CNXuqjqU.js → PlayerAccountBalanceModal-Bonu08VK.js} +61 -61
- package/components/{PlayerAccountBalanceModal-DbULiu-f.js → PlayerAccountBalanceModal-CJNc-yX5.js} +61 -61
- package/components/{PlayerAccountBalanceModal-BFDpI9Sy.cjs → PlayerAccountBalanceModal-DAI5HzZi.cjs} +1 -1
- package/components/{PlayerDeposit-BZuTQSyp.js → PlayerDeposit-BsOgrGtE.js} +28 -28
- package/components/{PlayerDeposit-eY_YGhMJ.js → PlayerDeposit-Cs0q3VJJ.js} +28 -28
- package/components/{PlayerDeposit-BXwT7NVp.cjs → PlayerDeposit-DmuFu2rX.cjs} +1 -1
- 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/{gamification-dropdown-8eb8a896-BuRX-qSf.cjs → gamification-dropdown-8eb8a896-DfTzIl57.cjs} +1 -1
- package/stencil/{gamification-dropdown-8eb8a896-CUQH8OTh.js → gamification-dropdown-8eb8a896-DwjOP8LM.js} +7 -7
- package/stencil/{gamification-dropdown-8eb8a896-B9e-F_sU.js → gamification-dropdown-8eb8a896-OGii9GZC.js} +3 -3
- package/stencil/{gamification-dropdown-THR6gHxH.cjs → gamification-dropdown-Bl2Q7k92.cjs} +1 -1
- package/stencil/{gamification-dropdown-_AcmHdpt.js → gamification-dropdown-DTjKmeqH.js} +1 -1
- package/stencil/{gamification-dropdown-Bx4mQksP.js → gamification-dropdown-eYU0kMX0.js} +1 -1
- package/stencil/{gamification-dropdown_4-O3BiUHNc.js → gamification-dropdown_4-B46ceyMH.js} +24 -27
- package/stencil/{gamification-dropdown_4-BVPzYu2a.js → gamification-dropdown_4-C8FoQ9bl.js} +21 -24
- package/stencil/{gamification-dropdown_4-DLCXlou3.cjs → gamification-dropdown_4-EqEecNER.cjs} +2 -2
- package/stencil/{index-1ef3a64c-AMSfdX4B.js → index-1ef3a64c-DfFwTbOB.js} +185 -185
- package/stencil/{index-1ef3a64c-CTdxbgr0.js → index-1ef3a64c-Y2S-mzZE.js} +192 -192
- package/stencil/index-1ef3a64c-eLYHaH-f.cjs +1 -0
- package/stencil/{index-71b1bdfa-BL9t5VwE.js → index-71b1bdfa-C8dE0ofS.js} +226 -226
- package/stencil/index-71b1bdfa-MzSkzwf_.cjs +1 -0
- package/stencil/{index-71b1bdfa-CWdlWpzQ.js → index-71b1bdfa-_-dhHLGN.js} +235 -235
- package/stencil/{player-elevate-card-Du4res_Z.js → player-elevate-card-CESlrbxs.js} +2 -2
- package/stencil/{player-elevate-card-By9TEmm_.js → player-elevate-card-DAXoDLIH.js} +2 -2
- package/stencil/{player-elevate-card-DK5w6ocN.cjs → player-elevate-card-DORq6Wij.cjs} +1 -1
- package/stencil/player-elevate-card-items-5071deed-C6i7ZlHD.cjs +102 -0
- package/stencil/{player-elevate-card-items-5071deed-DCirzDCm.js → player-elevate-card-items-5071deed-C9dANr1l.js} +81 -79
- package/stencil/{player-elevate-card-items-5071deed-GrfHmJnI.js → player-elevate-card-items-5071deed-DjG8kMBd.js} +81 -79
- package/stencil/{player-elevate-pointcard-Bkry322P.cjs → player-elevate-pointcard-CjdTzOoF.cjs} +1 -1
- package/stencil/{player-elevate-pointcard-BWqI3IpR.js → player-elevate-pointcard-DQXpvq40.js} +2 -2
- package/stencil/{player-elevate-pointcard-Bc7oeher.js → player-elevate-pointcard-Do6iv014.js} +2 -2
- package/stencil/{player-rakeback-card-AbhM_zFo.js → player-rakeback-card-BNSkyLB0.js} +1 -1
- package/stencil/{player-rakeback-card-D7x0EA9y.cjs → player-rakeback-card-BoT6EgM7.cjs} +1 -1
- package/stencil/{player-rakeback-card-BbrVU4P1.js → player-rakeback-card-Bx_vN42o.js} +1 -1
- package/stencil/{user-deposit-withdrawal-c_bH3eje.js → user-deposit-withdrawal-BJyawJS_.js} +45 -45
- package/stencil/{user-deposit-withdrawal-BRpNiBnR.cjs → user-deposit-withdrawal-CC0ZAC_k.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-Dy3WkB23.js → user-deposit-withdrawal-DKTq5kc3.js} +45 -45
- package/components/CasinoHamburgerMenu-CrZ5l9tM.cjs +0 -21
- package/stencil/index-1ef3a64c-BlUWL6ud.cjs +0 -1
- package/stencil/index-71b1bdfa-DXo3J8vm.cjs +0 -1
- package/stencil/player-elevate-card-items-5071deed-BgtHd6Jj.cjs +0 -102
@@ -1,4 +1,4 @@
|
|
1
|
-
import { b as ae, p as oe, r as se, h as b, H as de } from "./index-1ef3a64c-
|
1
|
+
import { b as ae, p as oe, r as se, h as b, H as de } from "./index-1ef3a64c-DfFwTbOB.js";
|
2
2
|
import { a as ue } from "./app-globals-0f993ce5-B6nNHmA4.js";
|
3
3
|
var le = () => {
|
4
4
|
const n = import.meta.url, h = {};
|
@@ -147,7 +147,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
147
147
|
(function(u, l) {
|
148
148
|
n.exports = l();
|
149
149
|
})(te, function() {
|
150
|
-
var u = 1e3, l = 6e4, m = 36e5, L = "millisecond",
|
150
|
+
var u = 1e3, l = 6e4, m = 36e5, L = "millisecond", S = "second", y = "minute", c = "hour", T = "day", P = "week", D = "month", N = "quarter", z = "year", E = "date", o = "Invalid Date", M = /^(\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) {
|
151
151
|
var r = ["th", "st", "nd", "rd"], e = a % 100;
|
152
152
|
return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
153
153
|
} }, U = function(a, r, e) {
|
@@ -164,7 +164,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
164
164
|
}, a: function(a) {
|
165
165
|
return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
|
166
166
|
}, p: function(a) {
|
167
|
-
return { M: D, y: z, w: P, d: T, D: E, h: c, m: y, s:
|
167
|
+
return { M: D, y: z, w: P, d: T, D: E, h: c, m: y, s: S, ms: L, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
|
168
168
|
}, u: function(a) {
|
169
169
|
return a === void 0;
|
170
170
|
} }, x = "en", k = {};
|
@@ -239,20 +239,20 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
239
239
|
}, r.valueOf = function() {
|
240
240
|
return this.$d.getTime();
|
241
241
|
}, r.startOf = function(e, i) {
|
242
|
-
var t = this, s = !!f.u(i) || i, d = f.p(e), p = function(R,
|
243
|
-
var j = f.w(t.$u ? Date.UTC(t.$y,
|
242
|
+
var t = this, s = !!f.u(i) || i, d = f.p(e), p = function(R, v) {
|
243
|
+
var j = f.w(t.$u ? Date.UTC(t.$y, v, R) : new Date(t.$y, v, R), t);
|
244
244
|
return s ? j : j.endOf(T);
|
245
|
-
}, g = function(R,
|
246
|
-
return f.w(t.toDate()[R].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(
|
247
|
-
}, C = this.$W,
|
245
|
+
}, g = function(R, v) {
|
246
|
+
return f.w(t.toDate()[R].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(v)), t);
|
247
|
+
}, C = this.$W, $ = this.$M, W = this.$D, Y = "set" + (this.$u ? "UTC" : "");
|
248
248
|
switch (d) {
|
249
249
|
case z:
|
250
250
|
return s ? p(1, 0) : p(31, 11);
|
251
251
|
case D:
|
252
|
-
return s ? p(1,
|
252
|
+
return s ? p(1, $) : p(0, $ + 1);
|
253
253
|
case P:
|
254
254
|
var _ = this.$locale().weekStart || 0, A = (C < _ ? C + 7 : C) - _;
|
255
|
-
return p(s ? W - A : W + (6 - A),
|
255
|
+
return p(s ? W - A : W + (6 - A), $);
|
256
256
|
case T:
|
257
257
|
case E:
|
258
258
|
return g(Y + "Hours", 0);
|
@@ -260,7 +260,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
260
260
|
return g(Y + "Minutes", 1);
|
261
261
|
case y:
|
262
262
|
return g(Y + "Seconds", 2);
|
263
|
-
case
|
263
|
+
case S:
|
264
264
|
return g(Y + "Milliseconds", 3);
|
265
265
|
default:
|
266
266
|
return this.clone();
|
@@ -268,7 +268,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
268
268
|
}, r.endOf = function(e) {
|
269
269
|
return this.startOf(e, !1);
|
270
270
|
}, r.$set = function(e, i) {
|
271
|
-
var t, s = f.p(e), d = "set" + (this.$u ? "UTC" : ""), p = (t = {}, t[T] = d + "Date", t[E] = d + "Date", t[D] = d + "Month", t[z] = d + "FullYear", t[c] = d + "Hours", t[y] = d + "Minutes", t[
|
271
|
+
var t, s = f.p(e), d = "set" + (this.$u ? "UTC" : ""), p = (t = {}, t[T] = d + "Date", t[E] = d + "Date", t[D] = d + "Month", t[z] = d + "FullYear", t[c] = d + "Hours", t[y] = d + "Minutes", t[S] = d + "Seconds", t[L] = d + "Milliseconds", t)[s], g = s === T ? this.$D + (i - this.$W) : i;
|
272
272
|
if (s === D || s === z) {
|
273
273
|
var C = this.clone().set(E, 1);
|
274
274
|
C.$d[p](g), C.init(), this.$d = C.set(E, Math.min(this.$D, C.daysInMonth())).$d;
|
@@ -282,9 +282,9 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
282
282
|
}, r.add = function(e, i) {
|
283
283
|
var t, s = this;
|
284
284
|
e = Number(e);
|
285
|
-
var d = f.p(i), p = function(
|
285
|
+
var d = f.p(i), p = function($) {
|
286
286
|
var W = w(s);
|
287
|
-
return f.w(W.date(W.date() + Math.round(
|
287
|
+
return f.w(W.date(W.date() + Math.round($ * e)), s);
|
288
288
|
};
|
289
289
|
if (d === D)
|
290
290
|
return this.set(D, this.$M + e);
|
@@ -294,7 +294,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
294
294
|
return p(1);
|
295
295
|
if (d === P)
|
296
296
|
return p(7);
|
297
|
-
var g = (t = {}, t[y] = l, t[c] = m, t[
|
297
|
+
var g = (t = {}, t[y] = l, t[c] = m, t[S] = u, t)[d] || 1, C = this.$d.getTime() + e * g;
|
298
298
|
return f.w(C, this);
|
299
299
|
}, r.subtract = function(e, i) {
|
300
300
|
return this.add(-1 * e, i);
|
@@ -302,15 +302,15 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
302
302
|
var i = this, t = this.$locale();
|
303
303
|
if (!this.isValid())
|
304
304
|
return t.invalidDate || o;
|
305
|
-
var s = e || "YYYY-MM-DDTHH:mm:ssZ", d = f.z(this), p = this.$H, g = this.$m, C = this.$M,
|
306
|
-
return
|
307
|
-
}, A = function(
|
308
|
-
return f.s(p % 12 || 12,
|
309
|
-
}, R = Y || function(
|
310
|
-
var J =
|
305
|
+
var s = e || "YYYY-MM-DDTHH:mm:ssZ", d = f.z(this), p = this.$H, g = this.$m, C = this.$M, $ = t.weekdays, W = t.months, Y = t.meridiem, _ = function(v, j, V, J) {
|
306
|
+
return v && (v[j] || v(i, s)) || V[j].slice(0, J);
|
307
|
+
}, A = function(v) {
|
308
|
+
return f.s(p % 12 || 12, v, "0");
|
309
|
+
}, R = Y || function(v, j, V) {
|
310
|
+
var J = v < 12 ? "AM" : "PM";
|
311
311
|
return V ? J.toLowerCase() : J;
|
312
312
|
};
|
313
|
-
return s.replace(I, function(
|
313
|
+
return s.replace(I, function(v, j) {
|
314
314
|
return j || function(V) {
|
315
315
|
switch (V) {
|
316
316
|
case "YY":
|
@@ -332,11 +332,11 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
332
332
|
case "d":
|
333
333
|
return String(i.$W);
|
334
334
|
case "dd":
|
335
|
-
return _(t.weekdaysMin, i.$W,
|
335
|
+
return _(t.weekdaysMin, i.$W, $, 2);
|
336
336
|
case "ddd":
|
337
|
-
return _(t.weekdaysShort, i.$W,
|
337
|
+
return _(t.weekdaysShort, i.$W, $, 3);
|
338
338
|
case "dddd":
|
339
|
-
return
|
339
|
+
return $[i.$W];
|
340
340
|
case "H":
|
341
341
|
return String(p);
|
342
342
|
case "HH":
|
@@ -363,12 +363,12 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
363
363
|
return d;
|
364
364
|
}
|
365
365
|
return null;
|
366
|
-
}(
|
366
|
+
}(v) || d.replace(":", "");
|
367
367
|
});
|
368
368
|
}, r.utcOffset = function() {
|
369
369
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
370
370
|
}, r.diff = function(e, i, t) {
|
371
|
-
var s, d = this, p = f.p(i), g = w(e), C = (g.utcOffset() - this.utcOffset()) * l,
|
371
|
+
var s, d = this, p = f.p(i), g = w(e), C = (g.utcOffset() - this.utcOffset()) * l, $ = this - g, W = function() {
|
372
372
|
return f.m(d, g);
|
373
373
|
};
|
374
374
|
switch (p) {
|
@@ -382,22 +382,22 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
382
382
|
s = W() / 3;
|
383
383
|
break;
|
384
384
|
case P:
|
385
|
-
s = (
|
385
|
+
s = ($ - C) / 6048e5;
|
386
386
|
break;
|
387
387
|
case T:
|
388
|
-
s = (
|
388
|
+
s = ($ - C) / 864e5;
|
389
389
|
break;
|
390
390
|
case c:
|
391
|
-
s =
|
391
|
+
s = $ / m;
|
392
392
|
break;
|
393
393
|
case y:
|
394
|
-
s =
|
394
|
+
s = $ / l;
|
395
395
|
break;
|
396
|
-
case
|
397
|
-
s =
|
396
|
+
case S:
|
397
|
+
s = $ / u;
|
398
398
|
break;
|
399
399
|
default:
|
400
|
-
s =
|
400
|
+
s = $;
|
401
401
|
}
|
402
402
|
return t ? s : f.a(s);
|
403
403
|
}, r.daysInMonth = function() {
|
@@ -421,7 +421,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
421
421
|
return this.$d.toUTCString();
|
422
422
|
}, a;
|
423
423
|
}(), Q = Z.prototype;
|
424
|
-
return w.prototype = Q, [["$ms", L], ["$s",
|
424
|
+
return w.prototype = Q, [["$ms", L], ["$s", S], ["$m", y], ["$H", c], ["$W", T], ["$M", D], ["$y", z], ["$D", E]].forEach(function(a) {
|
425
425
|
Q[a[1]] = function(r) {
|
426
426
|
return this.$g(r, a[0], a[1]);
|
427
427
|
};
|
@@ -439,11 +439,11 @@ var ie = { exports: {} };
|
|
439
439
|
n.exports = l();
|
440
440
|
})(te, function() {
|
441
441
|
var u = "minute", l = /[+-]\d\d(?::?\d\d)?/g, m = /([+-]|\d\d)/g;
|
442
|
-
return function(L,
|
443
|
-
var c =
|
442
|
+
return function(L, S, y) {
|
443
|
+
var c = S.prototype;
|
444
444
|
y.utc = function(o) {
|
445
445
|
var M = { date: o, utc: !0, args: arguments };
|
446
|
-
return new
|
446
|
+
return new S(M);
|
447
447
|
}, c.utc = function(o) {
|
448
448
|
var M = y(this.toDate(), { locale: this.$L, utc: !0 });
|
449
449
|
return o ? M.add(this.utcOffset(), u) : M;
|
@@ -584,7 +584,7 @@ const ge = ie.exports, ye = `:host {
|
|
584
584
|
}`, we = ye;
|
585
585
|
ne.extend(ge);
|
586
586
|
const Ce = () => {
|
587
|
-
},
|
587
|
+
}, Se = class {
|
588
588
|
constructor(n) {
|
589
589
|
se(this, n), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = me(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.mbSource = void 0, 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 = Ce, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
|
590
590
|
}
|
@@ -652,8 +652,8 @@ const Ce = () => {
|
|
652
652
|
else {
|
653
653
|
let m;
|
654
654
|
if (l.ResponseMessage) {
|
655
|
-
let
|
656
|
-
|
655
|
+
let S = this.errorCodes.find((y) => l.ResponseMessage.includes(y)) || null;
|
656
|
+
S ? m = H(`errorCode${S}`, this.language) : m = H("notFoundErrorCode", this.language);
|
657
657
|
} else
|
658
658
|
m = this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language);
|
659
659
|
const L = { type: "error", message: m };
|
@@ -664,8 +664,8 @@ const Ce = () => {
|
|
664
664
|
}
|
665
665
|
}
|
666
666
|
handleMessage(n) {
|
667
|
-
var h, u, l, m, L,
|
668
|
-
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), ((u = n.data) === null || u === void 0 ? void 0 : u.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((m = n.data) === null || m === void 0 ? void 0 : m.redirect, this.sportsUrl), ((L = n.data) === null || L === void 0 ? void 0 : L.redirect) === "mm-hc-casino" && this.doRedirect(window.location.href, this.casinoUrl), ((
|
667
|
+
var h, u, l, m, L, S, y, c;
|
668
|
+
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), ((u = n.data) === null || u === void 0 ? void 0 : u.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((m = n.data) === null || m === void 0 ? void 0 : m.redirect, this.sportsUrl), ((L = n.data) === null || L === void 0 ? void 0 : L.redirect) === "mm-hc-casino" && this.doRedirect(window.location.href, this.casinoUrl), ((S = n.data) === null || S === void 0 ? void 0 : S.redirect) === "mm-hc-contact" && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.contactUrl)), (((y = n.data) === null || y === void 0 ? void 0 : y.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));
|
669
669
|
}
|
670
670
|
doRedirect(n, h) {
|
671
671
|
const u = { reason: n, url: h, cancel: !1 };
|
@@ -689,7 +689,7 @@ const Ce = () => {
|
|
689
689
|
};
|
690
690
|
}
|
691
691
|
};
|
692
|
-
|
692
|
+
Se.style = we;
|
693
693
|
export {
|
694
|
-
|
694
|
+
Se as user_deposit_withdrawal
|
695
695
|
};
|
package/stencil/{user-deposit-withdrawal-BRpNiBnR.cjs → user-deposit-withdrawal-CC0ZAC_k.cjs}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";var Q=(n,h,s)=>new Promise((c,p)=>{var L=l=>{try{g(s.next(l))}catch(b){p(b)}},w=l=>{try{g(s.throw(l))}catch(b){p(b)}},g=l=>l.done?c(l.value):Promise.resolve(l.value).then(L,w);g((s=s.apply(n,h)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./index-1ef3a64c-BlUWL6ud.cjs"),de=require("./app-globals-0f993ce5-DgOnOgxM.cjs");var K=typeof document!="undefined"?document.currentScript:null,ue=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:K&&K.tagName.toUpperCase()==="SCRIPT"&&K.src||new URL("stencil/user-deposit-withdrawal-BRpNiBnR.cjs",document.baseURI).href,h={};return n!==""&&(h.resourcesUrl=new URL(".",n).href),S.promiseResolve(h)};ue().then(n=>Q(exports,null,function*(){return yield de.globalScripts$1(),S.bootstrapLazy([["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)}));const le="en",ce=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],re={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",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",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"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",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",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"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",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",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",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",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"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",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",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",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",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"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",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",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"}},he=n=>new Promise(h=>{fetch(n).then(s=>s.json()).then(s=>{Object.keys(s).forEach(c=>{for(let p in s[c])re[c][p]=s[c][p]}),h(!0)})}),I=(n,h)=>{const s=h;return re[s!==void 0&&ce.includes(s)?s:le][n]};function ee(n,h){if(n){const s=document.createElement("style");s.innerHTML=h,n.appendChild(s)}}function te(n,h){const s=new URL(h);fetch(s.href).then(c=>c.text()).then(c=>{const p=document.createElement("style");p.innerHTML=c,n&&n.appendChild(p)}).catch(c=>{console.error("There was an error while trying to load client styling from URL",c)})}function fe(n,h,s){if(window.emMessageBus){const c=document.createElement("style");window.emMessageBus.subscribe(h,p=>{c.innerHTML=p,n&&n.appendChild(c)})}}const pe=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));var ne=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ie={exports:{}};(function(n,h){(function(s,c){n.exports=c()})(ne,function(){var s=1e3,c=6e4,p=36e5,L="millisecond",w="second",g="minute",l="hour",b="day",P="week",M="month",N="quarter",z="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+)?$/,H=/\[([^\]]+)]|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){var r=["th","st","nd","rd"],e=a%100;return"["+a+(r[(e-20)%10]||r[e]||r[0])+"]"}},W=function(a,r,e){var i=String(a);return!i||i.length>=r?a:""+Array(r+1-i.length).join(e)+a},G={s:W,z:function(a){var r=-a.utcOffset(),e=Math.abs(r),i=Math.floor(e/60),t=e%60;return(r<=0?"+":"-")+W(i,2,"0")+":"+W(t,2,"0")},m:function a(r,e){if(r.date()<e.date())return-a(e,r);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);return+(-(i+(e-t)/(d?t-u:u-t))||0)},a:function(a){return a<0?Math.ceil(a)||0:Math.floor(a)},p:function(a){return{M,y:z,w:P,d:b,D:E,h:l,m:g,s:w,ms:L,Q:N}[a]||String(a||"").toLowerCase().replace(/s$/,"")},u:function(a){return a===void 0}},x="en",k={};k[x]=F;var q="$isDayjsObject",B=function(a){return a instanceof Z||!(!a||!a[q])},O=function a(r,e,i){var t;if(!r)return x;if(typeof r=="string"){var d=r.toLowerCase();k[d]&&(t=d),e&&(k[d]=e,t=d);var u=r.split("-");if(!t&&u.length>1)return a(u[0])}else{var m=r.name;k[m]=r,t=m}return!i&&t&&(x=t),t||!i&&x},C=function(a,r){if(B(a))return a.clone();var e=typeof r=="object"?r:{};return e.date=a,e.args=arguments,new Z(e)},f=G;f.l=O,f.i=B,f.w=function(a,r){return C(a,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var Z=function(){function a(e){this.$L=O(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[q]=!0}var r=a.prototype;return r.parse=function(e){this.$d=function(i){var t=i.date,d=i.utc;if(t===null)return new Date(NaN);if(f.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var u=t.match(U);if(u){var m=u[2]-1||0,y=(u[7]||"0").substring(0,3);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)}}return new Date(t)}(e),this.init()},r.init=function(){var e=this.$d;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()},r.$utils=function(){return f},r.isValid=function(){return this.$d.toString()!==o},r.isSame=function(e,i){var t=C(e);return this.startOf(i)<=t&&t<=this.endOf(i)},r.isAfter=function(e,i){return C(e)<this.startOf(i)},r.isBefore=function(e,i){return this.endOf(i)<C(e)},r.$g=function(e,i,t){return f.u(e)?this[i]:this.set(t,e)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(e,i){var t=this,d=!!f.u(i)||i,u=f.p(e),m=function(R,D){var j=f.w(t.$u?Date.UTC(t.$y,D,R):new Date(t.$y,D,R),t);return d?j:j.endOf(b)},y=function(R,D){return f.w(t.toDate()[R].apply(t.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(D)),t)},v=this.$W,$=this.$M,T=this.$D,Y="set"+(this.$u?"UTC":"");switch(u){case z:return d?m(1,0):m(31,11);case M:return d?m(1,$):m(0,$+1);case P:var _=this.$locale().weekStart||0,A=(v<_?v+7:v)-_;return m(d?T-A:T+(6-A),$);case b:case E:return y(Y+"Hours",0);case l:return y(Y+"Minutes",1);case g:return y(Y+"Seconds",2);case w:return y(Y+"Milliseconds",3);default:return this.clone()}},r.endOf=function(e){return this.startOf(e,!1)},r.$set=function(e,i){var t,d=f.p(e),u="set"+(this.$u?"UTC":""),m=(t={},t[b]=u+"Date",t[E]=u+"Date",t[M]=u+"Month",t[z]=u+"FullYear",t[l]=u+"Hours",t[g]=u+"Minutes",t[w]=u+"Seconds",t[L]=u+"Milliseconds",t)[d],y=d===b?this.$D+(i-this.$W):i;if(d===M||d===z){var v=this.clone().set(E,1);v.$d[m](y),v.init(),this.$d=v.set(E,Math.min(this.$D,v.daysInMonth())).$d}else m&&this.$d[m](y);return this.init(),this},r.set=function(e,i){return this.clone().$set(e,i)},r.get=function(e){return this[f.p(e)]()},r.add=function(e,i){var t,d=this;e=Number(e);var u=f.p(i),m=function($){var T=C(d);return f.w(T.date(T.date()+Math.round($*e)),d)};if(u===M)return this.set(M,this.$M+e);if(u===z)return this.set(z,this.$y+e);if(u===b)return m(1);if(u===P)return m(7);var y=(t={},t[g]=c,t[l]=p,t[w]=s,t)[u]||1,v=this.$d.getTime()+e*y;return f.w(v,this)},r.subtract=function(e,i){return this.add(-1*e,i)},r.format=function(e){var i=this,t=this.$locale();if(!this.isValid())return t.invalidDate||o;var d=e||"YYYY-MM-DDTHH:mm:ssZ",u=f.z(this),m=this.$H,y=this.$m,v=this.$M,$=t.weekdays,T=t.months,Y=t.meridiem,_=function(D,j,V,J){return D&&(D[j]||D(i,d))||V[j].slice(0,J)},A=function(D){return f.s(m%12||12,D,"0")},R=Y||function(D,j,V){var J=D<12?"AM":"PM";return V?J.toLowerCase():J};return d.replace(H,function(D,j){return j||function(V){switch(V){case"YY":return String(i.$y).slice(-2);case"YYYY":return f.s(i.$y,4,"0");case"M":return v+1;case"MM":return f.s(v+1,2,"0");case"MMM":return _(t.monthsShort,v,T,3);case"MMMM":return _(T,v);case"D":return i.$D;case"DD":return f.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return _(t.weekdaysMin,i.$W,$,2);case"ddd":return _(t.weekdaysShort,i.$W,$,3);case"dddd":return $[i.$W];case"H":return String(m);case"HH":return f.s(m,2,"0");case"h":return A(1);case"hh":return A(2);case"a":return R(m,y,!0);case"A":return R(m,y,!1);case"m":return String(y);case"mm":return f.s(y,2,"0");case"s":return String(i.$s);case"ss":return f.s(i.$s,2,"0");case"SSS":return f.s(i.$ms,3,"0");case"Z":return u}return null}(D)||u.replace(":","")})},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(e,i,t){var d,u=this,m=f.p(i),y=C(e),v=(y.utcOffset()-this.utcOffset())*c,$=this-y,T=function(){return f.m(u,y)};switch(m){case z:d=T()/12;break;case M:d=T();break;case N:d=T()/3;break;case P:d=($-v)/6048e5;break;case b:d=($-v)/864e5;break;case l:d=$/p;break;case g:d=$/c;break;case w:d=$/s;break;default:d=$}return t?d:f.a(d)},r.daysInMonth=function(){return this.endOf(M).$D},r.$locale=function(){return k[this.$L]},r.locale=function(e,i){if(!e)return this.$L;var t=this.clone(),d=O(e,i,!0);return d&&(t.$L=d),t},r.clone=function(){return f.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},a}(),X=Z.prototype;return C.prototype=X,[["$ms",L],["$s",w],["$m",g],["$H",l],["$W",b],["$M",M],["$y",z],["$D",E]].forEach(function(a){X[a[1]]=function(r){return this.$g(r,a[0],a[1])}}),C.extend=function(a,r){return a.$i||(a(r,Z,C),a.$i=!0),C},C.locale=O,C.isDayjs=B,C.unix=function(a){return C(1e3*a)},C.en=k[x],C.Ls=k,C.p={},C})})(ie);const ae=ie.exports;var oe={exports:{}};(function(n,h){(function(s,c){n.exports=c()})(ne,function(){var s="minute",c=/[+-]\d\d(?::?\d\d)?/g,p=/([+-]|\d\d)/g;return function(L,w,g){var l=w.prototype;g.utc=function(o){var U={date:o,utc:!0,args:arguments};return new w(U)},l.utc=function(o){var U=g(this.toDate(),{locale:this.$L,utc:!0});return o?U.add(this.utcOffset(),s):U},l.local=function(){return g(this.toDate(),{locale:this.$L,utc:!1})};var b=l.parse;l.parse=function(o){o.utc&&(this.$u=!0),this.$utils().u(o.$offset)||(this.$offset=o.$offset),b.call(this,o)};var P=l.init;l.init=function(){if(this.$u){var o=this.$d;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()}else P.call(this)};var M=l.utcOffset;l.utcOffset=function(o,U){var H=this.$utils().u;if(H(o))return this.$u?0:H(this.$offset)?M.call(this):this.$offset;if(typeof o=="string"&&(o=function(x){x===void 0&&(x="");var k=x.match(c);if(!k)return null;var q=(""+k[0]).match(p)||["-",0,0],B=q[0],O=60*+q[1]+ +q[2];return O===0?0:B==="+"?O:-O}(o),o===null))return this;var F=Math.abs(o)<=16?60*o:o,W=this;if(U)return W.$offset=F,W.$u=o===0,W;if(o!==0){var G=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(W=this.local().add(F+G,s)).$offset=F,W.$x.$localOffset=G}else W=this.utc();return W};var N=l.format;l.format=function(o){var U=o||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return N.call(this,U)},l.valueOf=function(){var o=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*o},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var z=l.toDate;l.toDate=function(o){return o==="s"&&this.$offset?g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():z.call(this)};var E=l.diff;l.diff=function(o,U,H){if(o&&this.$u===o.$u)return E.call(this,o,U,H);var F=this.local(),W=g(o).local();return E.call(F,W,U,H)}}})})(oe);const me=oe.exports,ge=`:host {
|
1
|
+
"use strict";var Q=(n,h,s)=>new Promise((c,p)=>{var L=l=>{try{g(s.next(l))}catch(b){p(b)}},w=l=>{try{g(s.throw(l))}catch(b){p(b)}},g=l=>l.done?c(l.value):Promise.resolve(l.value).then(L,w);g((s=s.apply(n,h)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("./index-1ef3a64c-eLYHaH-f.cjs"),de=require("./app-globals-0f993ce5-DgOnOgxM.cjs");var K=typeof document!="undefined"?document.currentScript:null,ue=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:K&&K.tagName.toUpperCase()==="SCRIPT"&&K.src||new URL("stencil/user-deposit-withdrawal-CC0ZAC_k.cjs",document.baseURI).href,h={};return n!==""&&(h.resourcesUrl=new URL(".",n).href),$.promiseResolve(h)};ue().then(n=>Q(exports,null,function*(){return yield de.globalScripts$1(),$.bootstrapLazy([["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)}));const le="en",ce=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],re={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",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",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"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",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",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"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",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",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",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",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"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",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",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",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",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"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",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",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"}},he=n=>new Promise(h=>{fetch(n).then(s=>s.json()).then(s=>{Object.keys(s).forEach(c=>{for(let p in s[c])re[c][p]=s[c][p]}),h(!0)})}),I=(n,h)=>{const s=h;return re[s!==void 0&&ce.includes(s)?s:le][n]};function ee(n,h){if(n){const s=document.createElement("style");s.innerHTML=h,n.appendChild(s)}}function te(n,h){const s=new URL(h);fetch(s.href).then(c=>c.text()).then(c=>{const p=document.createElement("style");p.innerHTML=c,n&&n.appendChild(p)}).catch(c=>{console.error("There was an error while trying to load client styling from URL",c)})}function fe(n,h,s){if(window.emMessageBus){const c=document.createElement("style");window.emMessageBus.subscribe(h,p=>{c.innerHTML=p,n&&n.appendChild(c)})}}const pe=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));var ne=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ie={exports:{}};(function(n,h){(function(s,c){n.exports=c()})(ne,function(){var s=1e3,c=6e4,p=36e5,L="millisecond",w="second",g="minute",l="hour",b="day",P="week",M="month",N="quarter",z="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+)?$/,H=/\[([^\]]+)]|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){var r=["th","st","nd","rd"],e=a%100;return"["+a+(r[(e-20)%10]||r[e]||r[0])+"]"}},W=function(a,r,e){var i=String(a);return!i||i.length>=r?a:""+Array(r+1-i.length).join(e)+a},G={s:W,z:function(a){var r=-a.utcOffset(),e=Math.abs(r),i=Math.floor(e/60),t=e%60;return(r<=0?"+":"-")+W(i,2,"0")+":"+W(t,2,"0")},m:function a(r,e){if(r.date()<e.date())return-a(e,r);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);return+(-(i+(e-t)/(d?t-u:u-t))||0)},a:function(a){return a<0?Math.ceil(a)||0:Math.floor(a)},p:function(a){return{M,y:z,w:P,d:b,D:E,h:l,m:g,s:w,ms:L,Q:N}[a]||String(a||"").toLowerCase().replace(/s$/,"")},u:function(a){return a===void 0}},x="en",k={};k[x]=F;var q="$isDayjsObject",B=function(a){return a instanceof Z||!(!a||!a[q])},O=function a(r,e,i){var t;if(!r)return x;if(typeof r=="string"){var d=r.toLowerCase();k[d]&&(t=d),e&&(k[d]=e,t=d);var u=r.split("-");if(!t&&u.length>1)return a(u[0])}else{var m=r.name;k[m]=r,t=m}return!i&&t&&(x=t),t||!i&&x},C=function(a,r){if(B(a))return a.clone();var e=typeof r=="object"?r:{};return e.date=a,e.args=arguments,new Z(e)},f=G;f.l=O,f.i=B,f.w=function(a,r){return C(a,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var Z=function(){function a(e){this.$L=O(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[q]=!0}var r=a.prototype;return r.parse=function(e){this.$d=function(i){var t=i.date,d=i.utc;if(t===null)return new Date(NaN);if(f.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var u=t.match(U);if(u){var m=u[2]-1||0,y=(u[7]||"0").substring(0,3);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)}}return new Date(t)}(e),this.init()},r.init=function(){var e=this.$d;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()},r.$utils=function(){return f},r.isValid=function(){return this.$d.toString()!==o},r.isSame=function(e,i){var t=C(e);return this.startOf(i)<=t&&t<=this.endOf(i)},r.isAfter=function(e,i){return C(e)<this.startOf(i)},r.isBefore=function(e,i){return this.endOf(i)<C(e)},r.$g=function(e,i,t){return f.u(e)?this[i]:this.set(t,e)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(e,i){var t=this,d=!!f.u(i)||i,u=f.p(e),m=function(R,D){var j=f.w(t.$u?Date.UTC(t.$y,D,R):new Date(t.$y,D,R),t);return d?j:j.endOf(b)},y=function(R,D){return f.w(t.toDate()[R].apply(t.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(D)),t)},S=this.$W,v=this.$M,T=this.$D,Y="set"+(this.$u?"UTC":"");switch(u){case z:return d?m(1,0):m(31,11);case M:return d?m(1,v):m(0,v+1);case P:var _=this.$locale().weekStart||0,A=(S<_?S+7:S)-_;return m(d?T-A:T+(6-A),v);case b:case E:return y(Y+"Hours",0);case l:return y(Y+"Minutes",1);case g:return y(Y+"Seconds",2);case w:return y(Y+"Milliseconds",3);default:return this.clone()}},r.endOf=function(e){return this.startOf(e,!1)},r.$set=function(e,i){var t,d=f.p(e),u="set"+(this.$u?"UTC":""),m=(t={},t[b]=u+"Date",t[E]=u+"Date",t[M]=u+"Month",t[z]=u+"FullYear",t[l]=u+"Hours",t[g]=u+"Minutes",t[w]=u+"Seconds",t[L]=u+"Milliseconds",t)[d],y=d===b?this.$D+(i-this.$W):i;if(d===M||d===z){var S=this.clone().set(E,1);S.$d[m](y),S.init(),this.$d=S.set(E,Math.min(this.$D,S.daysInMonth())).$d}else m&&this.$d[m](y);return this.init(),this},r.set=function(e,i){return this.clone().$set(e,i)},r.get=function(e){return this[f.p(e)]()},r.add=function(e,i){var t,d=this;e=Number(e);var u=f.p(i),m=function(v){var T=C(d);return f.w(T.date(T.date()+Math.round(v*e)),d)};if(u===M)return this.set(M,this.$M+e);if(u===z)return this.set(z,this.$y+e);if(u===b)return m(1);if(u===P)return m(7);var y=(t={},t[g]=c,t[l]=p,t[w]=s,t)[u]||1,S=this.$d.getTime()+e*y;return f.w(S,this)},r.subtract=function(e,i){return this.add(-1*e,i)},r.format=function(e){var i=this,t=this.$locale();if(!this.isValid())return t.invalidDate||o;var d=e||"YYYY-MM-DDTHH:mm:ssZ",u=f.z(this),m=this.$H,y=this.$m,S=this.$M,v=t.weekdays,T=t.months,Y=t.meridiem,_=function(D,j,V,J){return D&&(D[j]||D(i,d))||V[j].slice(0,J)},A=function(D){return f.s(m%12||12,D,"0")},R=Y||function(D,j,V){var J=D<12?"AM":"PM";return V?J.toLowerCase():J};return d.replace(H,function(D,j){return j||function(V){switch(V){case"YY":return String(i.$y).slice(-2);case"YYYY":return f.s(i.$y,4,"0");case"M":return S+1;case"MM":return f.s(S+1,2,"0");case"MMM":return _(t.monthsShort,S,T,3);case"MMMM":return _(T,S);case"D":return i.$D;case"DD":return f.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return _(t.weekdaysMin,i.$W,v,2);case"ddd":return _(t.weekdaysShort,i.$W,v,3);case"dddd":return v[i.$W];case"H":return String(m);case"HH":return f.s(m,2,"0");case"h":return A(1);case"hh":return A(2);case"a":return R(m,y,!0);case"A":return R(m,y,!1);case"m":return String(y);case"mm":return f.s(y,2,"0");case"s":return String(i.$s);case"ss":return f.s(i.$s,2,"0");case"SSS":return f.s(i.$ms,3,"0");case"Z":return u}return null}(D)||u.replace(":","")})},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(e,i,t){var d,u=this,m=f.p(i),y=C(e),S=(y.utcOffset()-this.utcOffset())*c,v=this-y,T=function(){return f.m(u,y)};switch(m){case z:d=T()/12;break;case M:d=T();break;case N:d=T()/3;break;case P:d=(v-S)/6048e5;break;case b:d=(v-S)/864e5;break;case l:d=v/p;break;case g:d=v/c;break;case w:d=v/s;break;default:d=v}return t?d:f.a(d)},r.daysInMonth=function(){return this.endOf(M).$D},r.$locale=function(){return k[this.$L]},r.locale=function(e,i){if(!e)return this.$L;var t=this.clone(),d=O(e,i,!0);return d&&(t.$L=d),t},r.clone=function(){return f.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},a}(),X=Z.prototype;return C.prototype=X,[["$ms",L],["$s",w],["$m",g],["$H",l],["$W",b],["$M",M],["$y",z],["$D",E]].forEach(function(a){X[a[1]]=function(r){return this.$g(r,a[0],a[1])}}),C.extend=function(a,r){return a.$i||(a(r,Z,C),a.$i=!0),C},C.locale=O,C.isDayjs=B,C.unix=function(a){return C(1e3*a)},C.en=k[x],C.Ls=k,C.p={},C})})(ie);const ae=ie.exports;var oe={exports:{}};(function(n,h){(function(s,c){n.exports=c()})(ne,function(){var s="minute",c=/[+-]\d\d(?::?\d\d)?/g,p=/([+-]|\d\d)/g;return function(L,w,g){var l=w.prototype;g.utc=function(o){var U={date:o,utc:!0,args:arguments};return new w(U)},l.utc=function(o){var U=g(this.toDate(),{locale:this.$L,utc:!0});return o?U.add(this.utcOffset(),s):U},l.local=function(){return g(this.toDate(),{locale:this.$L,utc:!1})};var b=l.parse;l.parse=function(o){o.utc&&(this.$u=!0),this.$utils().u(o.$offset)||(this.$offset=o.$offset),b.call(this,o)};var P=l.init;l.init=function(){if(this.$u){var o=this.$d;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()}else P.call(this)};var M=l.utcOffset;l.utcOffset=function(o,U){var H=this.$utils().u;if(H(o))return this.$u?0:H(this.$offset)?M.call(this):this.$offset;if(typeof o=="string"&&(o=function(x){x===void 0&&(x="");var k=x.match(c);if(!k)return null;var q=(""+k[0]).match(p)||["-",0,0],B=q[0],O=60*+q[1]+ +q[2];return O===0?0:B==="+"?O:-O}(o),o===null))return this;var F=Math.abs(o)<=16?60*o:o,W=this;if(U)return W.$offset=F,W.$u=o===0,W;if(o!==0){var G=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(W=this.local().add(F+G,s)).$offset=F,W.$x.$localOffset=G}else W=this.utc();return W};var N=l.format;l.format=function(o){var U=o||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return N.call(this,U)},l.valueOf=function(){var o=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*o},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var z=l.toDate;l.toDate=function(o){return o==="s"&&this.$offset?g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():z.call(this)};var E=l.diff;l.diff=function(o,U,H){if(o&&this.$u===o.$u)return E.call(this,o,U,H);var F=this.local(),W=g(o).local();return E.call(F,W,U,H)}}})})(oe);const me=oe.exports,ge=`:host {
|
2
2
|
font: inherit;
|
3
3
|
display: block;
|
4
4
|
height: 100%;
|
@@ -65,4 +65,4 @@
|
|
65
65
|
.DepositWithdrawalWrapper:not(.ShortCashier) {
|
66
66
|
overflow: visible;
|
67
67
|
}
|
68
|
-
}`,ye=ge;ae.extend(me);const we=()=>{},se=class{constructor(n){
|
68
|
+
}`,ye=ge;ae.extend(me);const we=()=>{},se=class{constructor(n){$.registerInstance(this,n),this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=pe(this.userAgent),this.errorCodes=["21123","21122","21121"],this.mbSource=void 0,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=we,this.dynamicHeight=void 0,this.cashierInfoUrl=void 0}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}watchLoadWidget(){this.loadWidget()}handleClientStylingChange(n,h){n!=h&&ee(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(n,h){n!=h&&this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return Q(this,null,function*(){if(yield this.loadWidget(),this.translationUrl)return he(this.translationUrl)})}toggleScreen(n){window.postMessage({type:"PlayerAccountMenuActive",isMobile:n},window.location.href)}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?fe(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&ee(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl))),window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return $.h($.Host,{key:"4133bb899942dd0b2877894bd8744cc7dc25fca8"},$.h("div",{key:"c1e0f73f7aa41a951228299f5bd84370c59c9075",ref:n=>this.stylingContainer=n},!(this.isMobile&&!this.isShortCashier)&&$.h("h2",{key:"6056f42eda79cef3d109997216e65772cb1f6ef1",class:"CategoryTitle"},I(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),$.h("div",{key:"673e7b2a69996ddce72da30a8f9c30b0199a2222",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`,style:{marginTop:this.isShortCashier?"30px":"0"}},$.h("div",{key:"c772cccd0a3fc003a65dd307ee9a723fd471ee80"},this.isMobile&&!this.isShortCashier?$.h("div",{class:"MenuReturnButton",onClick:()=>this.toggleScreen(this.isMobile)},$.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},$.h("defs",null),$.h("g",{transform:"translate(-20 -158)"},$.h("g",{transform:"translate(20 158)"},$.h("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)"})))),$.h("h2",{class:"CategoryTitleMobile"},I(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?$.h("iframe",{width:"100%",height:this.dynamicHeight,src:this.cashierInfoUrl}):$.h("h3",{class:"ErrorMessage"},this.type==="deposit"?I("denyDeposit",this.language):I("denyWithdrawal",this.language)))))}loadWidget(){return Q(this,null,function*(){const n={Channel:this.channel,Type:this.typeParameter,SuccessUrl:this.successUrl,CancelUrl:this.cancelUrl,FailUrl:this.failUrl,Language:this.language,productType:this.productType,isShortCashier:this.isShortCashier,currency:this.currency,showBonusSelectionInput:this.showBonusSelectionInput};try{const h=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,s=yield fetch(h,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":ae.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(n)});if(!s.ok){const p=yield s.text();throw new Error(p)}const c=yield s.json();if(c.CashierInfo)this.cashierInfoUrl=c.CashierInfo.Url;else{let p;if(c.ResponseMessage){let w=this.errorCodes.find(g=>c.ResponseMessage.includes(g))||null;w?p=I(`errorCode${w}`,this.language):p=I("notFoundErrorCode",this.language)}else p=this.type==="deposit"?I("denyDeposit",this.language):I("denyWithdrawal",this.language);const L={type:"error",message:p};window.postMessage({type:"DenyDepositOrWithdrawal",data:L},window.location.href)}}catch(h){console.error(h)}})}handleMessage(n){var h,s,c,p,L,w,g,l;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),((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))}doRedirect(n,h){const s={reason:n,url:h,cancel:!1};if(this.beforeRedirect(s),!s.cancel){if(!s.url){window.location.href="/";return}window.location.href=s.url}}static get watchers(){return{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};se.style=ye;exports.user_deposit_withdrawal=se;
|
@@ -2,19 +2,19 @@ var Q = (n, h, s) => new Promise((c, p) => {
|
|
2
2
|
var L = (l) => {
|
3
3
|
try {
|
4
4
|
g(s.next(l));
|
5
|
-
} catch (
|
6
|
-
p(
|
5
|
+
} catch (v) {
|
6
|
+
p(v);
|
7
7
|
}
|
8
8
|
}, w = (l) => {
|
9
9
|
try {
|
10
10
|
g(s.throw(l));
|
11
|
-
} catch (
|
12
|
-
p(
|
11
|
+
} catch (v) {
|
12
|
+
p(v);
|
13
13
|
}
|
14
14
|
}, g = (l) => l.done ? c(l.value) : Promise.resolve(l.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 D, H as ue } from "./index-1ef3a64c-
|
17
|
+
import { b as oe, p as se, r as de, h as D, H as ue } from "./index-1ef3a64c-Y2S-mzZE.js";
|
18
18
|
import { a as le } from "./app-globals-0f993ce5-B6nNHmA4.js";
|
19
19
|
var ce = () => {
|
20
20
|
const n = import.meta.url, h = {};
|
@@ -165,7 +165,7 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
165
165
|
(function(s, c) {
|
166
166
|
n.exports = c();
|
167
167
|
})(re, function() {
|
168
|
-
var s = 1e3, c = 6e4, p = 36e5, L = "millisecond", w = "second", g = "minute", l = "hour",
|
168
|
+
var s = 1e3, c = 6e4, p = 36e5, L = "millisecond", w = "second", g = "minute", l = "hour", v = "day", P = "week", M = "month", N = "quarter", z = "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) {
|
169
169
|
var r = ["th", "st", "nd", "rd"], e = a % 100;
|
170
170
|
return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
171
171
|
} }, W = function(a, r, e) {
|
@@ -182,7 +182,7 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
182
182
|
}, a: function(a) {
|
183
183
|
return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
|
184
184
|
}, p: function(a) {
|
185
|
-
return { M, y: z, w: P, d:
|
185
|
+
return { M, y: z, w: P, d: v, D: E, h: l, m: g, s: w, ms: L, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
|
186
186
|
}, u: function(a) {
|
187
187
|
return a === void 0;
|
188
188
|
} }, x = "en", k = {};
|
@@ -259,19 +259,19 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
259
259
|
}, r.startOf = function(e, i) {
|
260
260
|
var t = this, d = !!f.u(i) || i, u = f.p(e), m = function(R, b) {
|
261
261
|
var j = f.w(t.$u ? Date.UTC(t.$y, b, R) : new Date(t.$y, b, R), t);
|
262
|
-
return d ? j : j.endOf(
|
262
|
+
return d ? j : j.endOf(v);
|
263
263
|
}, y = function(R, b) {
|
264
264
|
return f.w(t.toDate()[R].apply(t.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(b)), t);
|
265
|
-
},
|
265
|
+
}, S = this.$W, $ = this.$M, T = this.$D, Y = "set" + (this.$u ? "UTC" : "");
|
266
266
|
switch (u) {
|
267
267
|
case z:
|
268
268
|
return d ? m(1, 0) : m(31, 11);
|
269
269
|
case M:
|
270
|
-
return d ? m(1,
|
270
|
+
return d ? m(1, $) : m(0, $ + 1);
|
271
271
|
case P:
|
272
|
-
var _ = this.$locale().weekStart || 0, A = (
|
273
|
-
return m(d ? T - A : T + (6 - A),
|
274
|
-
case
|
272
|
+
var _ = this.$locale().weekStart || 0, A = (S < _ ? S + 7 : S) - _;
|
273
|
+
return m(d ? T - A : T + (6 - A), $);
|
274
|
+
case v:
|
275
275
|
case E:
|
276
276
|
return y(Y + "Hours", 0);
|
277
277
|
case l:
|
@@ -286,10 +286,10 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
286
286
|
}, r.endOf = function(e) {
|
287
287
|
return this.startOf(e, !1);
|
288
288
|
}, r.$set = function(e, i) {
|
289
|
-
var t, d = f.p(e), u = "set" + (this.$u ? "UTC" : ""), m = (t = {}, t[
|
289
|
+
var t, d = f.p(e), u = "set" + (this.$u ? "UTC" : ""), m = (t = {}, t[v] = u + "Date", t[E] = u + "Date", t[M] = u + "Month", t[z] = u + "FullYear", t[l] = u + "Hours", t[g] = u + "Minutes", t[w] = u + "Seconds", t[L] = u + "Milliseconds", t)[d], y = d === v ? this.$D + (i - this.$W) : i;
|
290
290
|
if (d === M || d === z) {
|
291
|
-
var
|
292
|
-
|
291
|
+
var S = this.clone().set(E, 1);
|
292
|
+
S.$d[m](y), S.init(), this.$d = S.set(E, Math.min(this.$D, S.daysInMonth())).$d;
|
293
293
|
} else
|
294
294
|
m && this.$d[m](y);
|
295
295
|
return this.init(), this;
|
@@ -300,27 +300,27 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
300
300
|
}, r.add = function(e, i) {
|
301
301
|
var t, d = this;
|
302
302
|
e = Number(e);
|
303
|
-
var u = f.p(i), m = function(
|
303
|
+
var u = f.p(i), m = function($) {
|
304
304
|
var T = C(d);
|
305
|
-
return f.w(T.date(T.date() + Math.round(
|
305
|
+
return f.w(T.date(T.date() + Math.round($ * e)), d);
|
306
306
|
};
|
307
307
|
if (u === M)
|
308
308
|
return this.set(M, this.$M + e);
|
309
309
|
if (u === z)
|
310
310
|
return this.set(z, this.$y + e);
|
311
|
-
if (u ===
|
311
|
+
if (u === v)
|
312
312
|
return m(1);
|
313
313
|
if (u === P)
|
314
314
|
return m(7);
|
315
|
-
var y = (t = {}, t[g] = c, t[l] = p, t[w] = s, t)[u] || 1,
|
316
|
-
return f.w(
|
315
|
+
var y = (t = {}, t[g] = c, t[l] = p, t[w] = s, t)[u] || 1, S = this.$d.getTime() + e * y;
|
316
|
+
return f.w(S, this);
|
317
317
|
}, r.subtract = function(e, i) {
|
318
318
|
return this.add(-1 * e, i);
|
319
319
|
}, r.format = function(e) {
|
320
320
|
var i = this, t = this.$locale();
|
321
321
|
if (!this.isValid())
|
322
322
|
return t.invalidDate || o;
|
323
|
-
var d = e || "YYYY-MM-DDTHH:mm:ssZ", u = f.z(this), m = this.$H, y = this.$m,
|
323
|
+
var d = e || "YYYY-MM-DDTHH:mm:ssZ", u = f.z(this), m = this.$H, y = this.$m, S = this.$M, $ = t.weekdays, T = t.months, Y = t.meridiem, _ = function(b, j, V, J) {
|
324
324
|
return b && (b[j] || b(i, d)) || V[j].slice(0, J);
|
325
325
|
}, A = function(b) {
|
326
326
|
return f.s(m % 12 || 12, b, "0");
|
@@ -336,13 +336,13 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
336
336
|
case "YYYY":
|
337
337
|
return f.s(i.$y, 4, "0");
|
338
338
|
case "M":
|
339
|
-
return
|
339
|
+
return S + 1;
|
340
340
|
case "MM":
|
341
|
-
return f.s(
|
341
|
+
return f.s(S + 1, 2, "0");
|
342
342
|
case "MMM":
|
343
|
-
return _(t.monthsShort,
|
343
|
+
return _(t.monthsShort, S, T, 3);
|
344
344
|
case "MMMM":
|
345
|
-
return _(T,
|
345
|
+
return _(T, S);
|
346
346
|
case "D":
|
347
347
|
return i.$D;
|
348
348
|
case "DD":
|
@@ -350,11 +350,11 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
350
350
|
case "d":
|
351
351
|
return String(i.$W);
|
352
352
|
case "dd":
|
353
|
-
return _(t.weekdaysMin, i.$W,
|
353
|
+
return _(t.weekdaysMin, i.$W, $, 2);
|
354
354
|
case "ddd":
|
355
|
-
return _(t.weekdaysShort, i.$W,
|
355
|
+
return _(t.weekdaysShort, i.$W, $, 3);
|
356
356
|
case "dddd":
|
357
|
-
return
|
357
|
+
return $[i.$W];
|
358
358
|
case "H":
|
359
359
|
return String(m);
|
360
360
|
case "HH":
|
@@ -386,7 +386,7 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
386
386
|
}, r.utcOffset = function() {
|
387
387
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
388
388
|
}, r.diff = function(e, i, t) {
|
389
|
-
var d, u = this, m = f.p(i), y = C(e),
|
389
|
+
var d, u = this, m = f.p(i), y = C(e), S = (y.utcOffset() - this.utcOffset()) * c, $ = this - y, T = function() {
|
390
390
|
return f.m(u, y);
|
391
391
|
};
|
392
392
|
switch (m) {
|
@@ -400,22 +400,22 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
400
400
|
d = T() / 3;
|
401
401
|
break;
|
402
402
|
case P:
|
403
|
-
d = (
|
403
|
+
d = ($ - S) / 6048e5;
|
404
404
|
break;
|
405
|
-
case
|
406
|
-
d = (
|
405
|
+
case v:
|
406
|
+
d = ($ - S) / 864e5;
|
407
407
|
break;
|
408
408
|
case l:
|
409
|
-
d =
|
409
|
+
d = $ / p;
|
410
410
|
break;
|
411
411
|
case g:
|
412
|
-
d =
|
412
|
+
d = $ / c;
|
413
413
|
break;
|
414
414
|
case w:
|
415
|
-
d =
|
415
|
+
d = $ / s;
|
416
416
|
break;
|
417
417
|
default:
|
418
|
-
d =
|
418
|
+
d = $;
|
419
419
|
}
|
420
420
|
return t ? d : f.a(d);
|
421
421
|
}, r.daysInMonth = function() {
|
@@ -439,7 +439,7 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
439
439
|
return this.$d.toUTCString();
|
440
440
|
}, a;
|
441
441
|
}(), K = Z.prototype;
|
442
|
-
return C.prototype = K, [["$ms", L], ["$s", w], ["$m", g], ["$H", l], ["$W",
|
442
|
+
return C.prototype = K, [["$ms", L], ["$s", w], ["$m", g], ["$H", l], ["$W", v], ["$M", M], ["$y", z], ["$D", E]].forEach(function(a) {
|
443
443
|
K[a[1]] = function(r) {
|
444
444
|
return this.$g(r, a[0], a[1]);
|
445
445
|
};
|
@@ -468,9 +468,9 @@ var ae = { exports: {} };
|
|
468
468
|
}, l.local = function() {
|
469
469
|
return g(this.toDate(), { locale: this.$L, utc: !1 });
|
470
470
|
};
|
471
|
-
var
|
471
|
+
var v = l.parse;
|
472
472
|
l.parse = function(o) {
|
473
|
-
o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset),
|
473
|
+
o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset), v.call(this, o);
|
474
474
|
};
|
475
475
|
var P = l.init;
|
476
476
|
l.init = function() {
|
@@ -601,10 +601,10 @@ const ye = ae.exports, we = `:host {
|
|
601
601
|
}
|
602
602
|
}`, Ce = we;
|
603
603
|
ie.extend(ye);
|
604
|
-
const
|
605
|
-
},
|
604
|
+
const Se = () => {
|
605
|
+
}, $e = class {
|
606
606
|
constructor(n) {
|
607
|
-
de(this, n), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = ge(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.mbSource = void 0, 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 =
|
607
|
+
de(this, n), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = ge(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.mbSource = void 0, 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 = Se, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
|
608
608
|
}
|
609
609
|
get typeParameter() {
|
610
610
|
if (this.type === "deposit")
|
@@ -711,7 +711,7 @@ const ve = () => {
|
|
711
711
|
};
|
712
712
|
}
|
713
713
|
};
|
714
|
-
|
714
|
+
$e.style = Ce;
|
715
715
|
export {
|
716
|
-
|
716
|
+
$e as user_deposit_withdrawal
|
717
717
|
};
|