@everymatrix/casino-header-controller-nd 1.80.11 → 1.80.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoHamburgerMenuNd-Bvwv47IV.js → CasinoHamburgerMenuNd-CNHcuKgb.js} +90 -88
- package/components/{CasinoHamburgerMenuNd-DslPLpON.cjs → CasinoHamburgerMenuNd-CO_etjfF.cjs} +3 -3
- package/components/{CasinoHamburgerMenuNd-CkpB3LjN.js → CasinoHamburgerMenuNd-D_F3LqqU.js} +33 -31
- package/components/CasinoHeaderControllerNd-BRHxlpWH.js +2561 -0
- package/components/CasinoHeaderControllerNd-DbEj7WbE.js +2587 -0
- package/components/CasinoHeaderControllerNd-KMtnoFkv.cjs +1 -0
- package/components/PlayerAccountBalanceModalNd-D2FhbpGW.js +1536 -0
- package/components/PlayerAccountBalanceModalNd-D4AuGgJt.js +1507 -0
- package/components/PlayerAccountBalanceModalNd-DgUAkV_P.cjs +7 -0
- package/components/{PlayerDeposit-R2KgNT4p.js → PlayerDeposit-B16OcHzg.js} +20 -20
- package/components/{PlayerDeposit-Bp82pg7V.js → PlayerDeposit-Dz8S_7Op.js} +20 -20
- package/components/{PlayerDeposit-D076Vp1g.cjs → PlayerDeposit-R4l3tFgV.cjs} +1 -1
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +1 -1
- package/esnext/casino-header-controller-nd.js +1 -1
- package/lazy/{casino-hamburger-menu-nd-BKbleOqu.js → casino-hamburger-menu-nd-B7nNEYx3.js} +1 -1
- package/lazy/{casino-hamburger-menu-nd-D0fSaYaM.cjs → casino-hamburger-menu-nd-DQ47l6Ct.cjs} +1 -1
- package/lazy/{casino-hamburger-menu-nd-1DrfDZmJ.js → casino-hamburger-menu-nd-SLBF88fX.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-D-oQzLDl.js → player-account-balance-modal-nd-CZt6OrSf.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-Bh_izKRf.cjs → player-account-balance-modal-nd-Dc_5osXi.cjs} +1 -1
- package/lazy/{player-account-balance-modal-nd--5yIBIRl.js → player-account-balance-modal-nd-uXBGnYRe.js} +1 -1
- package/lazy/{player-deposit-emHtRwQ2.js → player-deposit-BqFt7czR.js} +1 -1
- package/lazy/{player-deposit-B_k6nE7k.cjs → player-deposit-DAZgrywg.cjs} +1 -1
- package/lazy/{player-deposit-CIHdGBaZ.js → player-deposit-UR7BJTim.js} +1 -1
- package/lazy/{user-deposit-withdrawal-D0rShkq5.js → user-deposit-withdrawal-B31dqZSp.js} +1 -1
- package/lazy/{user-deposit-withdrawal-Dpqnwy_H.js → user-deposit-withdrawal-DDYHKGEr.js} +1 -1
- package/lazy/{user-deposit-withdrawal-bNF3b4Ug.cjs → user-deposit-withdrawal-DjYOuPj2.cjs} +1 -1
- package/package.json +1 -1
- package/stencil/{user-deposit-withdrawal-6wE6l893.js → user-deposit-withdrawal-B3gYtP8t.js} +71 -71
- package/stencil/{user-deposit-withdrawal-B_d-ipGD.js → user-deposit-withdrawal-Bcg5KS8a.js} +69 -69
- package/stencil/{user-deposit-withdrawal-Div9Us4I.cjs → user-deposit-withdrawal-C07LUztI.cjs} +2 -2
- package/components/CasinoHeaderControllerNd-B7xQ-UIG.js +0 -2445
- package/components/CasinoHeaderControllerNd-CSLVTbGK.cjs +0 -1
- package/components/CasinoHeaderControllerNd-ghWC0yFx.js +0 -2471
- package/components/PlayerAccountBalanceModalNd-C4Dwr0dD.js +0 -1440
- package/components/PlayerAccountBalanceModalNd-JX7NjRSy.js +0 -1469
- package/components/PlayerAccountBalanceModalNd-UopfVqmk.cjs +0 -7
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as
|
|
1
|
+
import { b as oe, p as se, r as de, h as b, H as ue, s as le } from "../lazy/user-deposit-withdrawal-B31dqZSp.js";
|
|
2
2
|
import { a as ce } from "./app-globals-0f993ce5-B6nNHmA4.js";
|
|
3
3
|
var he = () => {
|
|
4
4
|
const n = import.meta.url, c = {};
|
|
5
5
|
return n !== "" && (c.resourcesUrl = new URL(".", n).href), se(c);
|
|
6
6
|
};
|
|
7
|
-
he().then(async (n) => (await ce(),
|
|
7
|
+
he().then(async (n) => (await 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, { clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingChangeURL"] }]]]], n)));
|
|
8
8
|
const De = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9
9
|
__proto__: null,
|
|
10
10
|
setNonce: le
|
|
@@ -150,31 +150,31 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
150
150
|
(function(u, l) {
|
|
151
151
|
n.exports = l();
|
|
152
152
|
})(te, function() {
|
|
153
|
-
var u = 1e3, l = 6e4, m = 36e5, T = "millisecond", v = "second", g = "minute", h = "hour", z = "day", R = "week", D = "month", N = "quarter", k = "year", O = "date",
|
|
154
|
-
var r = ["th", "st", "nd", "rd"], e =
|
|
155
|
-
return "[" +
|
|
156
|
-
} }, U = function(
|
|
157
|
-
var i = String(
|
|
158
|
-
return !i || i.length >= r ?
|
|
159
|
-
}, G = { s: U, z: function(
|
|
160
|
-
var r = -
|
|
153
|
+
var u = 1e3, l = 6e4, m = 36e5, T = "millisecond", v = "second", g = "minute", h = "hour", z = "day", R = "week", D = "month", N = "quarter", k = "year", O = "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+)?$/, _ = /\[([^\]]+)]|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) {
|
|
154
|
+
var r = ["th", "st", "nd", "rd"], e = a % 100;
|
|
155
|
+
return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
|
156
|
+
} }, U = function(a, r, e) {
|
|
157
|
+
var i = String(a);
|
|
158
|
+
return !i || i.length >= r ? a : "" + Array(r + 1 - i.length).join(e) + a;
|
|
159
|
+
}, G = { s: U, z: function(a) {
|
|
160
|
+
var r = -a.utcOffset(), e = Math.abs(r), i = Math.floor(e / 60), t = e % 60;
|
|
161
161
|
return (r <= 0 ? "+" : "-") + U(i, 2, "0") + ":" + U(t, 2, "0");
|
|
162
|
-
}, m: function
|
|
162
|
+
}, m: function a(r, e) {
|
|
163
163
|
if (r.date() < e.date())
|
|
164
|
-
return -
|
|
164
|
+
return -a(e, r);
|
|
165
165
|
var i = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(i, D), s = e - t < 0, d = r.clone().add(i + (s ? -1 : 1), D);
|
|
166
166
|
return +(-(i + (e - t) / (s ? t - d : d - t)) || 0);
|
|
167
|
-
}, a: function(
|
|
168
|
-
return
|
|
169
|
-
}, p: function(
|
|
170
|
-
return { M: D, y: k, w: R, d: z, D: O, h, m: g, s: v, ms: T, Q: N }[
|
|
171
|
-
}, u: function(
|
|
172
|
-
return
|
|
167
|
+
}, a: function(a) {
|
|
168
|
+
return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
|
|
169
|
+
}, p: function(a) {
|
|
170
|
+
return { M: D, y: k, w: R, d: z, D: O, h, m: g, s: v, ms: T, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
|
|
171
|
+
}, u: function(a) {
|
|
172
|
+
return a === void 0;
|
|
173
173
|
} }, L = "en", E = {};
|
|
174
174
|
E[L] = F;
|
|
175
|
-
var q = "$isDayjsObject", B = function(
|
|
176
|
-
return
|
|
177
|
-
}, j = function
|
|
175
|
+
var q = "$isDayjsObject", B = function(a) {
|
|
176
|
+
return a instanceof Z || !(!a || !a[q]);
|
|
177
|
+
}, j = function a(r, e, i) {
|
|
178
178
|
var t;
|
|
179
179
|
if (!r)
|
|
180
180
|
return L;
|
|
@@ -183,26 +183,26 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
183
183
|
E[s] && (t = s), e && (E[s] = e, t = s);
|
|
184
184
|
var d = r.split("-");
|
|
185
185
|
if (!t && d.length > 1)
|
|
186
|
-
return
|
|
186
|
+
return a(d[0]);
|
|
187
187
|
} else {
|
|
188
188
|
var p = r.name;
|
|
189
189
|
E[p] = r, t = p;
|
|
190
190
|
}
|
|
191
191
|
return !i && t && (L = t), t || !i && L;
|
|
192
|
-
}, w = function(
|
|
193
|
-
if (B(
|
|
194
|
-
return
|
|
192
|
+
}, w = function(a, r) {
|
|
193
|
+
if (B(a))
|
|
194
|
+
return a.clone();
|
|
195
195
|
var e = typeof r == "object" ? r : {};
|
|
196
|
-
return e.date =
|
|
196
|
+
return e.date = a, e.args = arguments, new Z(e);
|
|
197
197
|
}, f = G;
|
|
198
|
-
f.l = j, f.i = B, f.w = function(
|
|
199
|
-
return w(
|
|
198
|
+
f.l = j, f.i = B, f.w = function(a, r) {
|
|
199
|
+
return w(a, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
|
200
200
|
};
|
|
201
201
|
var Z = function() {
|
|
202
|
-
function
|
|
202
|
+
function a(e) {
|
|
203
203
|
this.$L = j(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[q] = !0;
|
|
204
204
|
}
|
|
205
|
-
var r =
|
|
205
|
+
var r = a.prototype;
|
|
206
206
|
return r.parse = function(e) {
|
|
207
207
|
this.$d = function(i) {
|
|
208
208
|
var t = i.date, s = i.utc;
|
|
@@ -227,7 +227,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
227
227
|
}, r.$utils = function() {
|
|
228
228
|
return f;
|
|
229
229
|
}, r.isValid = function() {
|
|
230
|
-
return this.$d.toString() !==
|
|
230
|
+
return this.$d.toString() !== o;
|
|
231
231
|
}, r.isSame = function(e, i) {
|
|
232
232
|
var t = w(e);
|
|
233
233
|
return this.startOf(i) <= t && t <= this.endOf(i);
|
|
@@ -304,7 +304,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
304
304
|
}, r.format = function(e) {
|
|
305
305
|
var i = this, t = this.$locale();
|
|
306
306
|
if (!this.isValid())
|
|
307
|
-
return t.invalidDate ||
|
|
307
|
+
return t.invalidDate || o;
|
|
308
308
|
var s = e || "YYYY-MM-DDTHH:mm:ssZ", d = f.z(this), p = this.$H, y = this.$m, C = this.$M, S = t.weekdays, W = t.months, Y = t.meridiem, I = function($, x, V, J) {
|
|
309
309
|
return $ && ($[x] || $(i, s)) || V[x].slice(0, J);
|
|
310
310
|
}, A = function($) {
|
|
@@ -422,16 +422,16 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
422
422
|
return this.$d.toISOString();
|
|
423
423
|
}, r.toString = function() {
|
|
424
424
|
return this.$d.toUTCString();
|
|
425
|
-
},
|
|
425
|
+
}, a;
|
|
426
426
|
}(), Q = Z.prototype;
|
|
427
|
-
return w.prototype = Q, [["$ms", T], ["$s", v], ["$m", g], ["$H", h], ["$W", z], ["$M", D], ["$y", k], ["$D", O]].forEach(function(
|
|
428
|
-
Q[
|
|
429
|
-
return this.$g(r,
|
|
427
|
+
return w.prototype = Q, [["$ms", T], ["$s", v], ["$m", g], ["$H", h], ["$W", z], ["$M", D], ["$y", k], ["$D", O]].forEach(function(a) {
|
|
428
|
+
Q[a[1]] = function(r) {
|
|
429
|
+
return this.$g(r, a[0], a[1]);
|
|
430
430
|
};
|
|
431
|
-
}), w.extend = function(
|
|
432
|
-
return
|
|
433
|
-
}, w.locale = j, w.isDayjs = B, w.unix = function(
|
|
434
|
-
return w(1e3 *
|
|
431
|
+
}), w.extend = function(a, r) {
|
|
432
|
+
return a.$i || (a(r, Z, w), a.$i = !0), w;
|
|
433
|
+
}, w.locale = j, w.isDayjs = B, w.unix = function(a) {
|
|
434
|
+
return w(1e3 * a);
|
|
435
435
|
}, w.en = E[L], w.Ls = E, w.p = {}, w;
|
|
436
436
|
});
|
|
437
437
|
})(re);
|
|
@@ -444,45 +444,45 @@ var ie = { exports: {} };
|
|
|
444
444
|
var u = "minute", l = /[+-]\d\d(?::?\d\d)?/g, m = /([+-]|\d\d)/g;
|
|
445
445
|
return function(T, v, g) {
|
|
446
446
|
var h = v.prototype;
|
|
447
|
-
g.utc = function(
|
|
448
|
-
var M = { date:
|
|
447
|
+
g.utc = function(o) {
|
|
448
|
+
var M = { date: o, utc: !0, args: arguments };
|
|
449
449
|
return new v(M);
|
|
450
|
-
}, h.utc = function(
|
|
450
|
+
}, h.utc = function(o) {
|
|
451
451
|
var M = g(this.toDate(), { locale: this.$L, utc: !0 });
|
|
452
|
-
return
|
|
452
|
+
return o ? M.add(this.utcOffset(), u) : M;
|
|
453
453
|
}, h.local = function() {
|
|
454
454
|
return g(this.toDate(), { locale: this.$L, utc: !1 });
|
|
455
455
|
};
|
|
456
456
|
var z = h.parse;
|
|
457
|
-
h.parse = function(
|
|
458
|
-
|
|
457
|
+
h.parse = function(o) {
|
|
458
|
+
o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset), z.call(this, o);
|
|
459
459
|
};
|
|
460
460
|
var R = h.init;
|
|
461
461
|
h.init = function() {
|
|
462
462
|
if (this.$u) {
|
|
463
|
-
var
|
|
464
|
-
this.$y =
|
|
463
|
+
var o = this.$d;
|
|
464
|
+
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();
|
|
465
465
|
} else
|
|
466
466
|
R.call(this);
|
|
467
467
|
};
|
|
468
468
|
var D = h.utcOffset;
|
|
469
|
-
h.utcOffset = function(
|
|
469
|
+
h.utcOffset = function(o, M) {
|
|
470
470
|
var _ = this.$utils().u;
|
|
471
|
-
if (_(
|
|
471
|
+
if (_(o))
|
|
472
472
|
return this.$u ? 0 : _(this.$offset) ? D.call(this) : this.$offset;
|
|
473
|
-
if (typeof
|
|
473
|
+
if (typeof o == "string" && (o = function(L) {
|
|
474
474
|
L === void 0 && (L = "");
|
|
475
475
|
var E = L.match(l);
|
|
476
476
|
if (!E)
|
|
477
477
|
return null;
|
|
478
478
|
var q = ("" + E[0]).match(m) || ["-", 0, 0], B = q[0], j = 60 * +q[1] + +q[2];
|
|
479
479
|
return j === 0 ? 0 : B === "+" ? j : -j;
|
|
480
|
-
}(
|
|
480
|
+
}(o), o === null))
|
|
481
481
|
return this;
|
|
482
|
-
var F = Math.abs(
|
|
482
|
+
var F = Math.abs(o) <= 16 ? 60 * o : o, U = this;
|
|
483
483
|
if (M)
|
|
484
|
-
return U.$offset = F, U.$u =
|
|
485
|
-
if (
|
|
484
|
+
return U.$offset = F, U.$u = o === 0, U;
|
|
485
|
+
if (o !== 0) {
|
|
486
486
|
var G = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
487
487
|
(U = this.local().add(F + G, u)).$offset = F, U.$x.$localOffset = G;
|
|
488
488
|
} else
|
|
@@ -490,12 +490,12 @@ var ie = { exports: {} };
|
|
|
490
490
|
return U;
|
|
491
491
|
};
|
|
492
492
|
var N = h.format;
|
|
493
|
-
h.format = function(
|
|
494
|
-
var M =
|
|
493
|
+
h.format = function(o) {
|
|
494
|
+
var M = o || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
495
495
|
return N.call(this, M);
|
|
496
496
|
}, h.valueOf = function() {
|
|
497
|
-
var
|
|
498
|
-
return this.$d.valueOf() - 6e4 *
|
|
497
|
+
var o = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
498
|
+
return this.$d.valueOf() - 6e4 * o;
|
|
499
499
|
}, h.isUTC = function() {
|
|
500
500
|
return !!this.$u;
|
|
501
501
|
}, h.toISOString = function() {
|
|
@@ -504,14 +504,14 @@ var ie = { exports: {} };
|
|
|
504
504
|
return this.toDate().toUTCString();
|
|
505
505
|
};
|
|
506
506
|
var k = h.toDate;
|
|
507
|
-
h.toDate = function(
|
|
508
|
-
return
|
|
507
|
+
h.toDate = function(o) {
|
|
508
|
+
return o === "s" && this.$offset ? g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : k.call(this);
|
|
509
509
|
};
|
|
510
510
|
var O = h.diff;
|
|
511
|
-
h.diff = function(
|
|
512
|
-
if (
|
|
513
|
-
return O.call(this,
|
|
514
|
-
var F = this.local(), U = g(
|
|
511
|
+
h.diff = function(o, M, _) {
|
|
512
|
+
if (o && this.$u === o.$u)
|
|
513
|
+
return O.call(this, o, M, _);
|
|
514
|
+
var F = this.local(), U = g(o).local();
|
|
515
515
|
return O.call(F, U, M, _);
|
|
516
516
|
};
|
|
517
517
|
};
|
|
@@ -591,7 +591,7 @@ const we = ie.exports, Ce = `:host {
|
|
|
591
591
|
}`, ve = Ce;
|
|
592
592
|
ne.extend(we);
|
|
593
593
|
const Se = () => {
|
|
594
|
-
},
|
|
594
|
+
}, ae = class {
|
|
595
595
|
constructor(n) {
|
|
596
596
|
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.toggleScreen = () => {
|
|
597
597
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
|
|
@@ -620,7 +620,7 @@ const Se = () => {
|
|
|
620
620
|
window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
621
621
|
}
|
|
622
622
|
render() {
|
|
623
|
-
return b(ue, { key: "4c6783c9cccc65e31901eb8755729147da7c3771" }, b("div", { key: "cceae92ea2c7fb63f2de79e0d8748b7847c67842", ref: (n) => this.stylingContainer = n, class: "" }, b("div", { key: "5171e7159682058314022e47d93d4d20b377d7e1", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}` }, !(this.isMobile && !this.isShortCashier) && b("h2", { key: "9d517ae70d3f6a654ffaff66d86d19c4259fa679", class: "CategoryTitle" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), b("div", { key: "97c991c8a18e44e50307a9bd3de11f446783a630", style: { marginTop: this.isShortCashier ? "30px" : "0" } }, this.isMobile && !this.isShortCashier ? b("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, 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: this.dynamicHeight, src: this.cashierInfoUrl }) : b("h3", { innerHTML: this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language), class: "ErrorMessage" }))));
|
|
623
|
+
return b(ue, { key: "4c6783c9cccc65e31901eb8755729147da7c3771" }, b("div", { key: "cceae92ea2c7fb63f2de79e0d8748b7847c67842", ref: (n) => this.stylingContainer = n, class: "" }, b("div", { key: "5171e7159682058314022e47d93d4d20b377d7e1", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}` }, !(this.isMobile && !this.isShortCashier) && b("h2", { key: "9d517ae70d3f6a654ffaff66d86d19c4259fa679", class: "CategoryTitle" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), b("div", { key: "97c991c8a18e44e50307a9bd3de11f446783a630", style: { marginTop: this.isShortCashier ? "30px" : "0" } }, this.isMobile && !this.isShortCashier ? b("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, 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%", allow: "payment", height: this.dynamicHeight, src: this.cashierInfoUrl }) : b("h3", { innerHTML: this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language), class: "ErrorMessage" }))));
|
|
624
624
|
}
|
|
625
625
|
async loadWidget() {
|
|
626
626
|
const n = {
|
|
@@ -688,10 +688,10 @@ const Se = () => {
|
|
|
688
688
|
};
|
|
689
689
|
}
|
|
690
690
|
};
|
|
691
|
-
|
|
691
|
+
ae.style = ve;
|
|
692
692
|
const Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
693
693
|
__proto__: null,
|
|
694
|
-
user_deposit_withdrawal:
|
|
694
|
+
user_deposit_withdrawal: ae
|
|
695
695
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
696
696
|
export {
|
|
697
697
|
Me as a,
|
package/stencil/{user-deposit-withdrawal-Div9Us4I.cjs → user-deposit-withdrawal-C07LUztI.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Q=(n,h,s)=>new Promise((c,p)=>{var T=l=>{try{y(s.next(l))}catch(b){p(b)}},C=l=>{try{y(s.throw(l))}catch(b){p(b)}},y=l=>l.done?c(l.value):Promise.resolve(l.value).then(T,C);y((s=s.apply(n,h)).next())});const w=require("../lazy/user-deposit-withdrawal-bNF3b4Ug.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-Div9Us4I.cjs",document.baseURI).href,h={};return n!==""&&(h.resourcesUrl=new URL(".",n).href),w.promiseResolve(h)};ue().then(n=>Q(exports,null,function*(){return yield de.globalScripts$1(),w.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,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],n)}));const le=Object.freeze(Object.defineProperty({__proto__:null,setNonce:w.setNonce},Symbol.toStringTag,{value:"Module"})),ce="en",he=["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"}},fe=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)})}),x=(n,h)=>{const s=h;return re[s!==void 0&&he.includes(s)?s:ce][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 pe(n,h,s){if(window.emMessageBus){const c=document.createElement("style");window.emMessageBus.subscribe(h,p=>{c.innerHTML=p,n&&n.appendChild(c)})}}const me=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,T="millisecond",C="second",y="minute",l="hour",b="day",P="week",M="month",V="quarter",L="year",E="date",a="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(o){var r=["th","st","nd","rd"],e=o%100;return"["+o+(r[(e-20)%10]||r[e]||r[0])+"]"}},W=function(o,r,e){var i=String(o);return!i||i.length>=r?o:""+Array(r+1-i.length).join(e)+o},G={s:W,z:function(o){var r=-o.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 o(r,e){if(r.date()<e.date())return-o(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(o){return o<0?Math.ceil(o)||0:Math.floor(o)},p:function(o){return{M,y:L,w:P,d:b,D:E,h:l,m:y,s:C,ms:T,Q:V}[o]||String(o||"").toLowerCase().replace(/s$/,"")},u:function(o){return o===void 0}},O="en",k={};k[O]=F;var q="$isDayjsObject",B=function(o){return o instanceof Z||!(!o||!o[q])},j=function o(r,e,i){var t;if(!r)return O;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 o(u[0])}else{var m=r.name;k[m]=r,t=m}return!i&&t&&(O=t),t||!i&&O},v=function(o,r){if(B(o))return o.clone();var e=typeof r=="object"?r:{};return e.date=o,e.args=arguments,new Z(e)},f=G;f.l=j,f.i=B,f.w=function(o,r){return v(o,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var Z=function(){function o(e){this.$L=j(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[q]=!0}var r=o.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,g=(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,g)):new Date(u[1],m,u[3]||1,u[4]||0,u[5]||0,u[6]||0,g)}}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()!==a},r.isSame=function(e,i){var t=v(e);return this.startOf(i)<=t&&t<=this.endOf(i)},r.isAfter=function(e,i){return v(e)<this.startOf(i)},r.isBefore=function(e,i){return this.endOf(i)<v(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 _=f.w(t.$u?Date.UTC(t.$y,D,R):new Date(t.$y,D,R),t);return d?_:_.endOf(b)},g=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,$=this.$M,z=this.$D,Y="set"+(this.$u?"UTC":"");switch(u){case L:return d?m(1,0):m(31,11);case M:return d?m(1,$):m(0,$+1);case P:var I=this.$locale().weekStart||0,A=(S<I?S+7:S)-I;return m(d?z-A:z+(6-A),$);case b:case E:return g(Y+"Hours",0);case l:return g(Y+"Minutes",1);case y:return g(Y+"Seconds",2);case C:return g(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[L]=u+"FullYear",t[l]=u+"Hours",t[y]=u+"Minutes",t[C]=u+"Seconds",t[T]=u+"Milliseconds",t)[d],g=d===b?this.$D+(i-this.$W):i;if(d===M||d===L){var S=this.clone().set(E,1);S.$d[m](g),S.init(),this.$d=S.set(E,Math.min(this.$D,S.daysInMonth())).$d}else m&&this.$d[m](g);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 z=v(d);return f.w(z.date(z.date()+Math.round($*e)),d)};if(u===M)return this.set(M,this.$M+e);if(u===L)return this.set(L,this.$y+e);if(u===b)return m(1);if(u===P)return m(7);var g=(t={},t[y]=c,t[l]=p,t[C]=s,t)[u]||1,S=this.$d.getTime()+e*g;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||a;var d=e||"YYYY-MM-DDTHH:mm:ssZ",u=f.z(this),m=this.$H,g=this.$m,S=this.$M,$=t.weekdays,z=t.months,Y=t.meridiem,I=function(D,_,N,J){return D&&(D[_]||D(i,d))||N[_].slice(0,J)},A=function(D){return f.s(m%12||12,D,"0")},R=Y||function(D,_,N){var J=D<12?"AM":"PM";return N?J.toLowerCase():J};return d.replace(H,function(D,_){return _||function(N){switch(N){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 I(t.monthsShort,S,z,3);case"MMMM":return I(z,S);case"D":return i.$D;case"DD":return f.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return I(t.weekdaysMin,i.$W,$,2);case"ddd":return I(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,g,!0);case"A":return R(m,g,!1);case"m":return String(g);case"mm":return f.s(g,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),g=v(e),S=(g.utcOffset()-this.utcOffset())*c,$=this-g,z=function(){return f.m(u,g)};switch(m){case L:d=z()/12;break;case M:d=z();break;case V:d=z()/3;break;case P:d=($-S)/6048e5;break;case b:d=($-S)/864e5;break;case l:d=$/p;break;case y:d=$/c;break;case C: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=j(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()},o}(),X=Z.prototype;return v.prototype=X,[["$ms",T],["$s",C],["$m",y],["$H",l],["$W",b],["$M",M],["$y",L],["$D",E]].forEach(function(o){X[o[1]]=function(r){return this.$g(r,o[0],o[1])}}),v.extend=function(o,r){return o.$i||(o(r,Z,v),o.$i=!0),v},v.locale=j,v.isDayjs=B,v.unix=function(o){return v(1e3*o)},v.en=k[O],v.Ls=k,v.p={},v})})(ie);const oe=ie.exports;var ae={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(T,C,y){var l=C.prototype;y.utc=function(a){var U={date:a,utc:!0,args:arguments};return new C(U)},l.utc=function(a){var U=y(this.toDate(),{locale:this.$L,utc:!0});return a?U.add(this.utcOffset(),s):U},l.local=function(){return y(this.toDate(),{locale:this.$L,utc:!1})};var b=l.parse;l.parse=function(a){a.utc&&(this.$u=!0),this.$utils().u(a.$offset)||(this.$offset=a.$offset),b.call(this,a)};var P=l.init;l.init=function(){if(this.$u){var a=this.$d;this.$y=a.getUTCFullYear(),this.$M=a.getUTCMonth(),this.$D=a.getUTCDate(),this.$W=a.getUTCDay(),this.$H=a.getUTCHours(),this.$m=a.getUTCMinutes(),this.$s=a.getUTCSeconds(),this.$ms=a.getUTCMilliseconds()}else P.call(this)};var M=l.utcOffset;l.utcOffset=function(a,U){var H=this.$utils().u;if(H(a))return this.$u?0:H(this.$offset)?M.call(this):this.$offset;if(typeof a=="string"&&(a=function(O){O===void 0&&(O="");var k=O.match(c);if(!k)return null;var q=(""+k[0]).match(p)||["-",0,0],B=q[0],j=60*+q[1]+ +q[2];return j===0?0:B==="+"?j:-j}(a),a===null))return this;var F=Math.abs(a)<=16?60*a:a,W=this;if(U)return W.$offset=F,W.$u=a===0,W;if(a!==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 V=l.format;l.format=function(a){var U=a||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return V.call(this,U)},l.valueOf=function(){var a=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*a},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var L=l.toDate;l.toDate=function(a){return a==="s"&&this.$offset?y(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():L.call(this)};var E=l.diff;l.diff=function(a,U,H){if(a&&this.$u===a.$u)return E.call(this,a,U,H);var F=this.local(),W=y(a).local();return E.call(F,W,U,H)}}})})(ae);const ye=ae.exports,ge=`:host {
|
|
1
|
+
"use strict";var Q=(n,h,s)=>new Promise((c,p)=>{var T=l=>{try{y(s.next(l))}catch(b){p(b)}},C=l=>{try{y(s.throw(l))}catch(b){p(b)}},y=l=>l.done?c(l.value):Promise.resolve(l.value).then(T,C);y((s=s.apply(n,h)).next())});const w=require("../lazy/user-deposit-withdrawal-DjYOuPj2.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-C07LUztI.cjs",document.baseURI).href,h={};return n!==""&&(h.resourcesUrl=new URL(".",n).href),w.promiseResolve(h)};ue().then(n=>Q(exports,null,function*(){return yield de.globalScripts$1(),w.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,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],n)}));const le=Object.freeze(Object.defineProperty({__proto__:null,setNonce:w.setNonce},Symbol.toStringTag,{value:"Module"})),ce="en",he=["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"}},fe=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)})}),x=(n,h)=>{const s=h;return re[s!==void 0&&he.includes(s)?s:ce][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 pe(n,h,s){if(window.emMessageBus){const c=document.createElement("style");window.emMessageBus.subscribe(h,p=>{c.innerHTML=p,n&&n.appendChild(c)})}}const me=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,T="millisecond",C="second",y="minute",l="hour",b="day",P="week",M="month",V="quarter",L="year",E="date",a="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(o){var r=["th","st","nd","rd"],e=o%100;return"["+o+(r[(e-20)%10]||r[e]||r[0])+"]"}},W=function(o,r,e){var i=String(o);return!i||i.length>=r?o:""+Array(r+1-i.length).join(e)+o},G={s:W,z:function(o){var r=-o.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 o(r,e){if(r.date()<e.date())return-o(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(o){return o<0?Math.ceil(o)||0:Math.floor(o)},p:function(o){return{M,y:L,w:P,d:b,D:E,h:l,m:y,s:C,ms:T,Q:V}[o]||String(o||"").toLowerCase().replace(/s$/,"")},u:function(o){return o===void 0}},O="en",k={};k[O]=F;var q="$isDayjsObject",B=function(o){return o instanceof Z||!(!o||!o[q])},j=function o(r,e,i){var t;if(!r)return O;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 o(u[0])}else{var m=r.name;k[m]=r,t=m}return!i&&t&&(O=t),t||!i&&O},v=function(o,r){if(B(o))return o.clone();var e=typeof r=="object"?r:{};return e.date=o,e.args=arguments,new Z(e)},f=G;f.l=j,f.i=B,f.w=function(o,r){return v(o,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var Z=function(){function o(e){this.$L=j(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[q]=!0}var r=o.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,g=(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,g)):new Date(u[1],m,u[3]||1,u[4]||0,u[5]||0,u[6]||0,g)}}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()!==a},r.isSame=function(e,i){var t=v(e);return this.startOf(i)<=t&&t<=this.endOf(i)},r.isAfter=function(e,i){return v(e)<this.startOf(i)},r.isBefore=function(e,i){return this.endOf(i)<v(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 _=f.w(t.$u?Date.UTC(t.$y,D,R):new Date(t.$y,D,R),t);return d?_:_.endOf(b)},g=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,$=this.$M,z=this.$D,Y="set"+(this.$u?"UTC":"");switch(u){case L:return d?m(1,0):m(31,11);case M:return d?m(1,$):m(0,$+1);case P:var I=this.$locale().weekStart||0,A=(S<I?S+7:S)-I;return m(d?z-A:z+(6-A),$);case b:case E:return g(Y+"Hours",0);case l:return g(Y+"Minutes",1);case y:return g(Y+"Seconds",2);case C:return g(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[L]=u+"FullYear",t[l]=u+"Hours",t[y]=u+"Minutes",t[C]=u+"Seconds",t[T]=u+"Milliseconds",t)[d],g=d===b?this.$D+(i-this.$W):i;if(d===M||d===L){var S=this.clone().set(E,1);S.$d[m](g),S.init(),this.$d=S.set(E,Math.min(this.$D,S.daysInMonth())).$d}else m&&this.$d[m](g);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 z=v(d);return f.w(z.date(z.date()+Math.round($*e)),d)};if(u===M)return this.set(M,this.$M+e);if(u===L)return this.set(L,this.$y+e);if(u===b)return m(1);if(u===P)return m(7);var g=(t={},t[y]=c,t[l]=p,t[C]=s,t)[u]||1,S=this.$d.getTime()+e*g;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||a;var d=e||"YYYY-MM-DDTHH:mm:ssZ",u=f.z(this),m=this.$H,g=this.$m,S=this.$M,$=t.weekdays,z=t.months,Y=t.meridiem,I=function(D,_,N,J){return D&&(D[_]||D(i,d))||N[_].slice(0,J)},A=function(D){return f.s(m%12||12,D,"0")},R=Y||function(D,_,N){var J=D<12?"AM":"PM";return N?J.toLowerCase():J};return d.replace(H,function(D,_){return _||function(N){switch(N){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 I(t.monthsShort,S,z,3);case"MMMM":return I(z,S);case"D":return i.$D;case"DD":return f.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return I(t.weekdaysMin,i.$W,$,2);case"ddd":return I(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,g,!0);case"A":return R(m,g,!1);case"m":return String(g);case"mm":return f.s(g,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),g=v(e),S=(g.utcOffset()-this.utcOffset())*c,$=this-g,z=function(){return f.m(u,g)};switch(m){case L:d=z()/12;break;case M:d=z();break;case V:d=z()/3;break;case P:d=($-S)/6048e5;break;case b:d=($-S)/864e5;break;case l:d=$/p;break;case y:d=$/c;break;case C: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=j(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()},o}(),X=Z.prototype;return v.prototype=X,[["$ms",T],["$s",C],["$m",y],["$H",l],["$W",b],["$M",M],["$y",L],["$D",E]].forEach(function(o){X[o[1]]=function(r){return this.$g(r,o[0],o[1])}}),v.extend=function(o,r){return o.$i||(o(r,Z,v),o.$i=!0),v},v.locale=j,v.isDayjs=B,v.unix=function(o){return v(1e3*o)},v.en=k[O],v.Ls=k,v.p={},v})})(ie);const oe=ie.exports;var ae={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(T,C,y){var l=C.prototype;y.utc=function(a){var U={date:a,utc:!0,args:arguments};return new C(U)},l.utc=function(a){var U=y(this.toDate(),{locale:this.$L,utc:!0});return a?U.add(this.utcOffset(),s):U},l.local=function(){return y(this.toDate(),{locale:this.$L,utc:!1})};var b=l.parse;l.parse=function(a){a.utc&&(this.$u=!0),this.$utils().u(a.$offset)||(this.$offset=a.$offset),b.call(this,a)};var P=l.init;l.init=function(){if(this.$u){var a=this.$d;this.$y=a.getUTCFullYear(),this.$M=a.getUTCMonth(),this.$D=a.getUTCDate(),this.$W=a.getUTCDay(),this.$H=a.getUTCHours(),this.$m=a.getUTCMinutes(),this.$s=a.getUTCSeconds(),this.$ms=a.getUTCMilliseconds()}else P.call(this)};var M=l.utcOffset;l.utcOffset=function(a,U){var H=this.$utils().u;if(H(a))return this.$u?0:H(this.$offset)?M.call(this):this.$offset;if(typeof a=="string"&&(a=function(O){O===void 0&&(O="");var k=O.match(c);if(!k)return null;var q=(""+k[0]).match(p)||["-",0,0],B=q[0],j=60*+q[1]+ +q[2];return j===0?0:B==="+"?j:-j}(a),a===null))return this;var F=Math.abs(a)<=16?60*a:a,W=this;if(U)return W.$offset=F,W.$u=a===0,W;if(a!==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 V=l.format;l.format=function(a){var U=a||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return V.call(this,U)},l.valueOf=function(){var a=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*a},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var L=l.toDate;l.toDate=function(a){return a==="s"&&this.$offset?y(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():L.call(this)};var E=l.diff;l.diff=function(a,U,H){if(a&&this.$u===a.$u)return E.call(this,a,U,H);var F=this.local(),W=y(a).local();return E.call(F,W,U,H)}}})})(ae);const ye=ae.exports,ge=`:host {
|
|
2
2
|
font: inherit;
|
|
3
3
|
display: block;
|
|
4
4
|
height: 100%;
|
|
@@ -69,4 +69,4 @@
|
|
|
69
69
|
.DepositWithdrawalWrapper:not(.ShortCashier) {
|
|
70
70
|
overflow: visible;
|
|
71
71
|
}
|
|
72
|
-
}`,we=ge;oe.extend(ye);const Ce=()=>{},se=class{constructor(n){w.registerInstance(this,n),this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=me(this.userAgent),this.errorCodes=["21123","21122","21121"],this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},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="",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}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}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 fe(this.translationUrl)})}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?pe(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 w.h(w.Host,{key:"4c6783c9cccc65e31901eb8755729147da7c3771"},w.h("div",{key:"cceae92ea2c7fb63f2de79e0d8748b7847c67842",ref:n=>this.stylingContainer=n,class:""},w.h("div",{key:"5171e7159682058314022e47d93d4d20b377d7e1",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`},!(this.isMobile&&!this.isShortCashier)&&w.h("h2",{key:"9d517ae70d3f6a654ffaff66d86d19c4259fa679",class:"CategoryTitle"},x(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),w.h("div",{key:"97c991c8a18e44e50307a9bd3de11f446783a630",style:{marginTop:this.isShortCashier?"30px":"0"}},this.isMobile&&!this.isShortCashier?w.h("div",{class:"MenuReturnButton",onClick:this.toggleScreen},w.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},w.h("defs",null),w.h("g",{transform:"translate(-20 -158)"},w.h("g",{transform:"translate(20 158)"},w.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)"})))),w.h("h2",{class:"CategoryTitleMobile"},x(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?w.h("iframe",{width:"100%",height:this.dynamicHeight,src:this.cashierInfoUrl}):w.h("h3",{innerHTML:this.type==="deposit"?x("denyDeposit",this.language):x("denyWithdrawal",this.language),class:"ErrorMessage"}))))}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};if(!(Object.values(n).some(h=>h===void 0)||!this.endpoint))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":oe.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 C=this.errorCodes.find(y=>c.ResponseMessage.includes(y))||null;C?p=x(`errorCode${C}`,this.language):p=x("notFoundErrorCode",this.language)}else p=this.type==="deposit"?x("denyDeposit",this.language):x("denyWithdrawal",this.language);const T={type:"error",message:p};window.postMessage({type:"DenyDepositOrWithdrawal",data:T},window.location.href)}}catch(h){console.error(h)}})}handleMessage(n){var h,s,c,p,T,C,y,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),((T=n.data)===null||T===void 0?void 0:T.redirect)==="mm-hc-casino"&&this.doRedirect(window.location.href,this.casinoUrl),((C=n.data)===null||C===void 0?void 0:C.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"||((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{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};se.style=we;const ve=Object.freeze(Object.defineProperty({__proto__:null,user_deposit_withdrawal:se},Symbol.toStringTag,{value:"Module"}));exports.userDepositWithdrawal=le;exports.userDepositWithdrawal_entry=ve;
|
|
72
|
+
}`,we=ge;oe.extend(ye);const Ce=()=>{},se=class{constructor(n){w.registerInstance(this,n),this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=me(this.userAgent),this.errorCodes=["21123","21122","21121"],this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},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="",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}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}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 fe(this.translationUrl)})}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?pe(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 w.h(w.Host,{key:"4c6783c9cccc65e31901eb8755729147da7c3771"},w.h("div",{key:"cceae92ea2c7fb63f2de79e0d8748b7847c67842",ref:n=>this.stylingContainer=n,class:""},w.h("div",{key:"5171e7159682058314022e47d93d4d20b377d7e1",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`},!(this.isMobile&&!this.isShortCashier)&&w.h("h2",{key:"9d517ae70d3f6a654ffaff66d86d19c4259fa679",class:"CategoryTitle"},x(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),w.h("div",{key:"97c991c8a18e44e50307a9bd3de11f446783a630",style:{marginTop:this.isShortCashier?"30px":"0"}},this.isMobile&&!this.isShortCashier?w.h("div",{class:"MenuReturnButton",onClick:this.toggleScreen},w.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},w.h("defs",null),w.h("g",{transform:"translate(-20 -158)"},w.h("g",{transform:"translate(20 158)"},w.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)"})))),w.h("h2",{class:"CategoryTitleMobile"},x(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?w.h("iframe",{width:"100%",allow:"payment",height:this.dynamicHeight,src:this.cashierInfoUrl}):w.h("h3",{innerHTML:this.type==="deposit"?x("denyDeposit",this.language):x("denyWithdrawal",this.language),class:"ErrorMessage"}))))}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};if(!(Object.values(n).some(h=>h===void 0)||!this.endpoint))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":oe.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 C=this.errorCodes.find(y=>c.ResponseMessage.includes(y))||null;C?p=x(`errorCode${C}`,this.language):p=x("notFoundErrorCode",this.language)}else p=this.type==="deposit"?x("denyDeposit",this.language):x("denyWithdrawal",this.language);const T={type:"error",message:p};window.postMessage({type:"DenyDepositOrWithdrawal",data:T},window.location.href)}}catch(h){console.error(h)}})}handleMessage(n){var h,s,c,p,T,C,y,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),((T=n.data)===null||T===void 0?void 0:T.redirect)==="mm-hc-casino"&&this.doRedirect(window.location.href,this.casinoUrl),((C=n.data)===null||C===void 0?void 0:C.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"||((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{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};se.style=we;const ve=Object.freeze(Object.defineProperty({__proto__:null,user_deposit_withdrawal:se},Symbol.toStringTag,{value:"Module"}));exports.userDepositWithdrawal=le;exports.userDepositWithdrawal_entry=ve;
|