@everymatrix/casino-header-controller 1.86.1 → 1.86.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-jm6p2zbt.js → CasinoHamburgerMenu-C3Q3P860.js} +855 -876
- package/components/CasinoHamburgerMenu-D50c8Isd.cjs +21 -0
- package/components/{CasinoHamburgerMenu-CFma234b.js → CasinoHamburgerMenu-DHSHA1Yh.js} +907 -928
- package/components/{CasinoHeaderController-D87b2QIU.js → CasinoHeaderController-BC4pg0wa.js} +72 -72
- package/components/{CasinoHeaderController-DTkNzQTU.cjs → CasinoHeaderController-XaQHNwIx.cjs} +1 -1
- package/components/{CasinoHeaderController-CnTiP2m7.js → CasinoHeaderController-npT36DZZ.js} +74 -74
- package/components/{CasinoSlider-D4oZEnaE.cjs → CasinoSlider-B6CpCCrr.cjs} +1 -1
- package/components/{CasinoSlider-BOtMd_ds.js → CasinoSlider-D20g_XEJ.js} +40 -40
- package/components/{CasinoSlider-Ds-P1ggH.js → CasinoSlider-DW_dAUzC.js} +41 -41
- package/components/PlayerAccountBalanceModal-BS5HmEVv.cjs +7 -0
- package/components/PlayerAccountBalanceModal-BuQWJhdA.js +1386 -0
- package/components/PlayerAccountBalanceModal-DYHzfxVS.js +1415 -0
- package/components/PlayerDeposit-BdRpo9MQ.cjs +1 -0
- package/components/{PlayerDeposit-BUzvurYm.js → PlayerDeposit-Cvz-_V5x.js} +73 -73
- package/components/{PlayerDeposit-Dv-1Bd7h.js → PlayerDeposit-DpsFs1pt.js} +73 -73
- 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-92e6c856-BwcHpwXk.js → gamification-dropdown-92e6c856-9FlDdaXZ.js} +1 -1
- package/stencil/{gamification-dropdown-92e6c856-CcR-AkP6.cjs → gamification-dropdown-92e6c856-B4d2MW-Q.cjs} +1 -1
- package/stencil/{gamification-dropdown-92e6c856-BmiILCYq.js → gamification-dropdown-92e6c856-tn-Yq7Bs.js} +1 -1
- package/stencil/{gamification-dropdown-BWUJm0Gz.js → gamification-dropdown-BSkZ_2yT.js} +1 -1
- package/stencil/{gamification-dropdown-DN35_AFp.js → gamification-dropdown-BxHnff9C.js} +1 -1
- package/stencil/{gamification-dropdown-SaxnCWwP.cjs → gamification-dropdown-U_EjgaPG.cjs} +1 -1
- package/stencil/{gamification-dropdown_4-BZoM-TMQ.js → gamification-dropdown_4-Bg5WE-A_.js} +6 -6
- package/stencil/gamification-dropdown_4-CbIvYc1U.cjs +192 -0
- package/stencil/{gamification-dropdown_4-DAq1Ngf2.js → gamification-dropdown_4-V2UHFMt4.js} +6 -6
- package/stencil/index-1ef3a64c-Ci8o67pH.js +572 -0
- package/stencil/index-1ef3a64c-DO6t45b-.js +556 -0
- package/stencil/index-1ef3a64c-a0Pl-Mcu.cjs +1 -0
- package/stencil/{index-71b1bdfa-C3LPeshI.js → index-71b1bdfa-C-_4EE2K.js} +268 -264
- package/stencil/index-71b1bdfa-DYVZrUJ1.js +757 -0
- package/stencil/index-71b1bdfa-MN8Gitz4.cjs +1 -0
- package/stencil/{locale-TxlOHoKi.js → locale-CIZHVMDe.js} +28 -22
- package/stencil/{locale-B_6Rn5-v.cjs → locale-m6IHPAzW.cjs} +1 -1
- package/stencil/{player-elevate-card-CCx_1K_i.cjs → player-elevate-card-B7B_qdQq.cjs} +1 -1
- package/stencil/{player-elevate-card-CMErkb0_.js → player-elevate-card-CG1qDuSC.js} +3 -3
- package/stencil/{player-elevate-card-BrvL7Exg.js → player-elevate-card-IuaDUXn5.js} +3 -3
- package/stencil/{player-elevate-card-items-08c6fbd8-CG4FljvZ.js → player-elevate-card-items-b4571def-88tr4lyO.js} +238 -236
- package/stencil/player-elevate-card-items-b4571def-CEK5lBFb.cjs +102 -0
- package/stencil/{player-elevate-card-items-08c6fbd8-vLym6drf.js → player-elevate-card-items-b4571def-v_JqIkab.js} +238 -236
- package/stencil/{player-elevate-pointcard-DSlBgypN.cjs → player-elevate-pointcard-BwOGuBLd.cjs} +1 -1
- package/stencil/{player-elevate-pointcard-hPNPduwJ.js → player-elevate-pointcard-DLe9wfqh.js} +3 -3
- package/stencil/{player-elevate-pointcard-VstFZu9B.js → player-elevate-pointcard-DqpHUWpL.js} +3 -3
- package/stencil/{player-rakeback-card-BK33WnFy.js → player-rakeback-card-BqOd_dVA.js} +2 -2
- package/stencil/{player-rakeback-card-UYiRqSHE.js → player-rakeback-card-D3lBTlIQ.js} +2 -2
- package/stencil/{player-rakeback-card-DHSkpu_S.cjs → player-rakeback-card-XgPp7n9o.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-BMkFnv_T.js → user-deposit-withdrawal-BO7iiwsU.js} +147 -147
- package/stencil/{user-deposit-withdrawal-BWwJVuYm.cjs → user-deposit-withdrawal-C8FrBoKf.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-DTYylnXa.js → user-deposit-withdrawal-DLaRrJTr.js} +135 -135
- package/components/CasinoHamburgerMenu-fvf5EluO.cjs +0 -21
- package/components/PlayerAccountBalanceModal-D7fiFhUw.js +0 -1415
- package/components/PlayerAccountBalanceModal-ieK7z017.cjs +0 -7
- package/components/PlayerAccountBalanceModal-qtxu403d.js +0 -1386
- package/components/PlayerDeposit-Cw5oQd7g.cjs +0 -1
- package/stencil/gamification-dropdown_4-Tgq-7xGt.cjs +0 -192
- package/stencil/index-1ef3a64c-Bry_KvsO.js +0 -572
- package/stencil/index-1ef3a64c-Bx1m17XN.js +0 -556
- package/stencil/index-1ef3a64c-C47cYPkT.cjs +0 -1
- package/stencil/index-71b1bdfa-BidbC5KM.cjs +0 -1
- package/stencil/index-71b1bdfa-BvAlSNDj.js +0 -753
- package/stencil/player-elevate-card-items-08c6fbd8-gIVq-Jqp.cjs +0 -102
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
var Q = (e, l,
|
|
1
|
+
var Q = (e, l, a) => new Promise((c, m) => {
|
|
2
2
|
var L = (h) => {
|
|
3
3
|
try {
|
|
4
|
-
g(
|
|
5
|
-
} catch (
|
|
6
|
-
m(
|
|
4
|
+
g(a.next(h));
|
|
5
|
+
} catch ($) {
|
|
6
|
+
m($);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, S = (h) => {
|
|
9
9
|
try {
|
|
10
|
-
g(
|
|
11
|
-
} catch (
|
|
12
|
-
m(
|
|
10
|
+
g(a.throw(h));
|
|
11
|
+
} catch ($) {
|
|
12
|
+
m($);
|
|
13
13
|
}
|
|
14
|
-
}, g = (h) => h.done ? c(h.value) : Promise.resolve(h.value).then(L,
|
|
15
|
-
g((
|
|
14
|
+
}, g = (h) => h.done ? c(h.value) : Promise.resolve(h.value).then(L, S);
|
|
15
|
+
g((a = a.apply(e, l)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as se, p as
|
|
17
|
+
import { b as se, p as de, r as ue, h as D, H as le } from "./index-1ef3a64c-Ci8o67pH.js";
|
|
18
18
|
import { a as ce } from "./app-globals-0f993ce5-B6nNHmA4.js";
|
|
19
19
|
var he = () => {
|
|
20
20
|
const e = import.meta.url, l = {};
|
|
21
|
-
return e !== "" && (l.resourcesUrl = new URL(".", e).href),
|
|
21
|
+
return e !== "" && (l.resourcesUrl = new URL(".", e).href), de(l);
|
|
22
22
|
};
|
|
23
23
|
he().then((e) => Q(void 0, null, function* () {
|
|
24
24
|
return yield ce(), se([["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], forwardCashierRedirects: [516, "forward-cashier-redirects"], dynamicHeight: [32], cashierInfoUrl: [32] }, null, { clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingChangeURL"] }]]]], e);
|
|
@@ -126,34 +126,34 @@ const fe = "en", pe = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
|
|
|
126
126
|
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"
|
|
127
127
|
}
|
|
128
128
|
}, me = (e) => new Promise((l) => {
|
|
129
|
-
fetch(e).then((
|
|
130
|
-
Object.keys(
|
|
131
|
-
for (let m in
|
|
132
|
-
re[c][m] =
|
|
129
|
+
fetch(e).then((a) => a.json()).then((a) => {
|
|
130
|
+
Object.keys(a).forEach((c) => {
|
|
131
|
+
for (let m in a[c])
|
|
132
|
+
re[c][m] = a[c][m];
|
|
133
133
|
}), l(!0);
|
|
134
134
|
});
|
|
135
135
|
}), j = (e, l) => {
|
|
136
|
-
const
|
|
137
|
-
return re[
|
|
136
|
+
const a = l;
|
|
137
|
+
return re[a !== void 0 && pe.includes(a) ? a : fe][e];
|
|
138
138
|
};
|
|
139
139
|
function K(e, l) {
|
|
140
140
|
if (e) {
|
|
141
|
-
const
|
|
142
|
-
|
|
141
|
+
const a = document.createElement("style");
|
|
142
|
+
a.innerHTML = l, e.appendChild(a);
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
function ee(e, l) {
|
|
146
146
|
if (!e || !l)
|
|
147
147
|
return;
|
|
148
|
-
const
|
|
149
|
-
fetch(
|
|
148
|
+
const a = new URL(l);
|
|
149
|
+
fetch(a.href).then((c) => c.text()).then((c) => {
|
|
150
150
|
const m = document.createElement("style");
|
|
151
151
|
m.innerHTML = c, e && e.appendChild(m);
|
|
152
152
|
}).catch((c) => {
|
|
153
153
|
console.error("There was an error while trying to load client styling from URL", c);
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
function ye(e, l,
|
|
156
|
+
function ye(e, l, a) {
|
|
157
157
|
if (window.emMessageBus) {
|
|
158
158
|
const c = document.createElement("style");
|
|
159
159
|
window.emMessageBus.subscribe(l, (m) => {
|
|
@@ -164,65 +164,65 @@ function ye(e, l, o) {
|
|
|
164
164
|
const ge = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
165
165
|
var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ie = { exports: {} };
|
|
166
166
|
(function(e, l) {
|
|
167
|
-
(function(
|
|
167
|
+
(function(a, c) {
|
|
168
168
|
e.exports = c();
|
|
169
169
|
})(ne, function() {
|
|
170
|
-
var
|
|
171
|
-
var n = ["th", "st", "nd", "rd"], t =
|
|
172
|
-
return "[" +
|
|
173
|
-
} }, W = function(
|
|
174
|
-
var i = String(
|
|
175
|
-
return !i || i.length >= n ?
|
|
176
|
-
}, G = { s: W, z: function(
|
|
177
|
-
var n = -
|
|
170
|
+
var a = 1e3, c = 6e4, m = 36e5, L = "millisecond", S = "second", g = "minute", h = "hour", $ = "day", _ = "week", M = "month", N = "quarter", T = "year", z = "date", s = "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) {
|
|
171
|
+
var n = ["th", "st", "nd", "rd"], t = o % 100;
|
|
172
|
+
return "[" + o + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
|
|
173
|
+
} }, W = function(o, n, t) {
|
|
174
|
+
var i = String(o);
|
|
175
|
+
return !i || i.length >= n ? o : "" + Array(n + 1 - i.length).join(t) + o;
|
|
176
|
+
}, G = { s: W, z: function(o) {
|
|
177
|
+
var n = -o.utcOffset(), t = Math.abs(n), i = Math.floor(t / 60), r = t % 60;
|
|
178
178
|
return (n <= 0 ? "+" : "-") + W(i, 2, "0") + ":" + W(r, 2, "0");
|
|
179
|
-
}, m: function
|
|
179
|
+
}, m: function o(n, t) {
|
|
180
180
|
if (n.date() < t.date())
|
|
181
|
-
return -
|
|
182
|
-
var i = 12 * (t.year() - n.year()) + (t.month() - n.month()), r = n.clone().add(i, M),
|
|
183
|
-
return +(-(i + (t - r) / (
|
|
184
|
-
}, a: function(
|
|
185
|
-
return
|
|
186
|
-
}, p: function(
|
|
187
|
-
return { M, y: T, w: _, d:
|
|
188
|
-
}, u: function(
|
|
189
|
-
return
|
|
181
|
+
return -o(t, n);
|
|
182
|
+
var i = 12 * (t.year() - n.year()) + (t.month() - n.month()), r = n.clone().add(i, M), d = t - r < 0, u = n.clone().add(i + (d ? -1 : 1), M);
|
|
183
|
+
return +(-(i + (t - r) / (d ? r - u : u - r)) || 0);
|
|
184
|
+
}, a: function(o) {
|
|
185
|
+
return o < 0 ? Math.ceil(o) || 0 : Math.floor(o);
|
|
186
|
+
}, p: function(o) {
|
|
187
|
+
return { M, y: T, w: _, d: $, D: z, h, m: g, s: S, ms: L, Q: N }[o] || String(o || "").toLowerCase().replace(/s$/, "");
|
|
188
|
+
}, u: function(o) {
|
|
189
|
+
return o === void 0;
|
|
190
190
|
} }, x = "en", k = {};
|
|
191
191
|
k[x] = F;
|
|
192
|
-
var q = "$isDayjsObject", A = function(
|
|
193
|
-
return
|
|
194
|
-
}, R = function
|
|
192
|
+
var q = "$isDayjsObject", A = function(o) {
|
|
193
|
+
return o instanceof Z || !(!o || !o[q]);
|
|
194
|
+
}, R = function o(n, t, i) {
|
|
195
195
|
var r;
|
|
196
196
|
if (!n)
|
|
197
197
|
return x;
|
|
198
198
|
if (typeof n == "string") {
|
|
199
|
-
var
|
|
200
|
-
k[
|
|
201
|
-
var
|
|
202
|
-
if (!r &&
|
|
203
|
-
return
|
|
199
|
+
var d = n.toLowerCase();
|
|
200
|
+
k[d] && (r = d), t && (k[d] = t, r = d);
|
|
201
|
+
var u = n.split("-");
|
|
202
|
+
if (!r && u.length > 1)
|
|
203
|
+
return o(u[0]);
|
|
204
204
|
} else {
|
|
205
205
|
var p = n.name;
|
|
206
206
|
k[p] = n, r = p;
|
|
207
207
|
}
|
|
208
208
|
return !i && r && (x = r), r || !i && x;
|
|
209
|
-
}, w = function(
|
|
210
|
-
if (A(
|
|
211
|
-
return
|
|
209
|
+
}, w = function(o, n) {
|
|
210
|
+
if (A(o))
|
|
211
|
+
return o.clone();
|
|
212
212
|
var t = typeof n == "object" ? n : {};
|
|
213
|
-
return t.date =
|
|
213
|
+
return t.date = o, t.args = arguments, new Z(t);
|
|
214
214
|
}, f = G;
|
|
215
|
-
f.l = R, f.i = A, f.w = function(
|
|
216
|
-
return w(
|
|
215
|
+
f.l = R, f.i = A, f.w = function(o, n) {
|
|
216
|
+
return w(o, { locale: n.$L, utc: n.$u, x: n.$x, $offset: n.$offset });
|
|
217
217
|
};
|
|
218
218
|
var Z = function() {
|
|
219
|
-
function
|
|
219
|
+
function o(t) {
|
|
220
220
|
this.$L = R(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[q] = !0;
|
|
221
221
|
}
|
|
222
|
-
var n =
|
|
222
|
+
var n = o.prototype;
|
|
223
223
|
return n.parse = function(t) {
|
|
224
224
|
this.$d = function(i) {
|
|
225
|
-
var r = i.date,
|
|
225
|
+
var r = i.date, d = i.utc;
|
|
226
226
|
if (r === null)
|
|
227
227
|
return /* @__PURE__ */ new Date(NaN);
|
|
228
228
|
if (f.u(r))
|
|
@@ -230,10 +230,10 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
230
230
|
if (r instanceof Date)
|
|
231
231
|
return new Date(r);
|
|
232
232
|
if (typeof r == "string" && !/Z$/i.test(r)) {
|
|
233
|
-
var
|
|
234
|
-
if (
|
|
235
|
-
var p =
|
|
236
|
-
return
|
|
233
|
+
var u = r.match(U);
|
|
234
|
+
if (u) {
|
|
235
|
+
var p = u[2] - 1 || 0, y = (u[7] || "0").substring(0, 3);
|
|
236
|
+
return d ? new Date(Date.UTC(u[1], p, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, y)) : new Date(u[1], p, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, y);
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
return new Date(r);
|
|
@@ -259,28 +259,28 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
259
259
|
}, n.valueOf = function() {
|
|
260
260
|
return this.$d.getTime();
|
|
261
261
|
}, n.startOf = function(t, i) {
|
|
262
|
-
var r = this,
|
|
262
|
+
var r = this, d = !!f.u(i) || i, u = f.p(t), p = function(I, b) {
|
|
263
263
|
var O = f.w(r.$u ? Date.UTC(r.$y, b, I) : new Date(r.$y, b, I), r);
|
|
264
|
-
return
|
|
264
|
+
return d ? O : O.endOf($);
|
|
265
265
|
}, y = function(I, b) {
|
|
266
|
-
return f.w(r.toDate()[I].apply(r.toDate("s"), (
|
|
266
|
+
return f.w(r.toDate()[I].apply(r.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(b)), r);
|
|
267
267
|
}, C = this.$W, v = this.$M, E = this.$D, Y = "set" + (this.$u ? "UTC" : "");
|
|
268
|
-
switch (
|
|
268
|
+
switch (u) {
|
|
269
269
|
case T:
|
|
270
|
-
return
|
|
270
|
+
return d ? p(1, 0) : p(31, 11);
|
|
271
271
|
case M:
|
|
272
|
-
return
|
|
272
|
+
return d ? p(1, v) : p(0, v + 1);
|
|
273
273
|
case _:
|
|
274
274
|
var P = this.$locale().weekStart || 0, B = (C < P ? C + 7 : C) - P;
|
|
275
|
-
return p(
|
|
276
|
-
case
|
|
275
|
+
return p(d ? E - B : E + (6 - B), v);
|
|
276
|
+
case $:
|
|
277
277
|
case z:
|
|
278
278
|
return y(Y + "Hours", 0);
|
|
279
279
|
case h:
|
|
280
280
|
return y(Y + "Minutes", 1);
|
|
281
281
|
case g:
|
|
282
282
|
return y(Y + "Seconds", 2);
|
|
283
|
-
case
|
|
283
|
+
case S:
|
|
284
284
|
return y(Y + "Milliseconds", 3);
|
|
285
285
|
default:
|
|
286
286
|
return this.clone();
|
|
@@ -288,8 +288,8 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
288
288
|
}, n.endOf = function(t) {
|
|
289
289
|
return this.startOf(t, !1);
|
|
290
290
|
}, n.$set = function(t, i) {
|
|
291
|
-
var r,
|
|
292
|
-
if (
|
|
291
|
+
var r, d = f.p(t), u = "set" + (this.$u ? "UTC" : ""), p = (r = {}, r[$] = u + "Date", r[z] = u + "Date", r[M] = u + "Month", r[T] = u + "FullYear", r[h] = u + "Hours", r[g] = u + "Minutes", r[S] = u + "Seconds", r[L] = u + "Milliseconds", r)[d], y = d === $ ? this.$D + (i - this.$W) : i;
|
|
292
|
+
if (d === M || d === T) {
|
|
293
293
|
var C = this.clone().set(z, 1);
|
|
294
294
|
C.$d[p](y), C.init(), this.$d = C.set(z, Math.min(this.$D, C.daysInMonth())).$d;
|
|
295
295
|
} else
|
|
@@ -300,21 +300,21 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
300
300
|
}, n.get = function(t) {
|
|
301
301
|
return this[f.p(t)]();
|
|
302
302
|
}, n.add = function(t, i) {
|
|
303
|
-
var r,
|
|
303
|
+
var r, d = this;
|
|
304
304
|
t = Number(t);
|
|
305
|
-
var
|
|
306
|
-
var E = w(
|
|
307
|
-
return f.w(E.date(E.date() + Math.round(v * t)),
|
|
305
|
+
var u = f.p(i), p = function(v) {
|
|
306
|
+
var E = w(d);
|
|
307
|
+
return f.w(E.date(E.date() + Math.round(v * t)), d);
|
|
308
308
|
};
|
|
309
|
-
if (
|
|
309
|
+
if (u === M)
|
|
310
310
|
return this.set(M, this.$M + t);
|
|
311
|
-
if (
|
|
311
|
+
if (u === T)
|
|
312
312
|
return this.set(T, this.$y + t);
|
|
313
|
-
if (
|
|
313
|
+
if (u === $)
|
|
314
314
|
return p(1);
|
|
315
|
-
if (
|
|
315
|
+
if (u === _)
|
|
316
316
|
return p(7);
|
|
317
|
-
var y = (r = {}, r[g] = c, r[h] = m, r[
|
|
317
|
+
var y = (r = {}, r[g] = c, r[h] = m, r[S] = a, r)[u] || 1, C = this.$d.getTime() + t * y;
|
|
318
318
|
return f.w(C, this);
|
|
319
319
|
}, n.subtract = function(t, i) {
|
|
320
320
|
return this.add(-1 * t, i);
|
|
@@ -322,15 +322,15 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
322
322
|
var i = this, r = this.$locale();
|
|
323
323
|
if (!this.isValid())
|
|
324
324
|
return r.invalidDate || s;
|
|
325
|
-
var
|
|
326
|
-
return b && (b[O] || b(i,
|
|
325
|
+
var d = t || "YYYY-MM-DDTHH:mm:ssZ", u = f.z(this), p = this.$H, y = this.$m, C = this.$M, v = r.weekdays, E = r.months, Y = r.meridiem, P = function(b, O, V, J) {
|
|
326
|
+
return b && (b[O] || b(i, d)) || V[O].slice(0, J);
|
|
327
327
|
}, B = function(b) {
|
|
328
328
|
return f.s(p % 12 || 12, b, "0");
|
|
329
329
|
}, I = Y || function(b, O, V) {
|
|
330
330
|
var J = b < 12 ? "AM" : "PM";
|
|
331
331
|
return V ? J.toLowerCase() : J;
|
|
332
332
|
};
|
|
333
|
-
return
|
|
333
|
+
return d.replace(H, function(b, O) {
|
|
334
334
|
return O || function(V) {
|
|
335
335
|
switch (V) {
|
|
336
336
|
case "YY":
|
|
@@ -380,46 +380,46 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
380
380
|
case "SSS":
|
|
381
381
|
return f.s(i.$ms, 3, "0");
|
|
382
382
|
case "Z":
|
|
383
|
-
return
|
|
383
|
+
return u;
|
|
384
384
|
}
|
|
385
385
|
return null;
|
|
386
|
-
}(b) ||
|
|
386
|
+
}(b) || u.replace(":", "");
|
|
387
387
|
});
|
|
388
388
|
}, n.utcOffset = function() {
|
|
389
389
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
390
390
|
}, n.diff = function(t, i, r) {
|
|
391
|
-
var
|
|
392
|
-
return f.m(
|
|
391
|
+
var d, u = this, p = f.p(i), y = w(t), C = (y.utcOffset() - this.utcOffset()) * c, v = this - y, E = function() {
|
|
392
|
+
return f.m(u, y);
|
|
393
393
|
};
|
|
394
394
|
switch (p) {
|
|
395
395
|
case T:
|
|
396
|
-
|
|
396
|
+
d = E() / 12;
|
|
397
397
|
break;
|
|
398
398
|
case M:
|
|
399
|
-
|
|
399
|
+
d = E();
|
|
400
400
|
break;
|
|
401
401
|
case N:
|
|
402
|
-
|
|
402
|
+
d = E() / 3;
|
|
403
403
|
break;
|
|
404
404
|
case _:
|
|
405
|
-
|
|
405
|
+
d = (v - C) / 6048e5;
|
|
406
406
|
break;
|
|
407
|
-
case
|
|
408
|
-
|
|
407
|
+
case $:
|
|
408
|
+
d = (v - C) / 864e5;
|
|
409
409
|
break;
|
|
410
410
|
case h:
|
|
411
|
-
|
|
411
|
+
d = v / m;
|
|
412
412
|
break;
|
|
413
413
|
case g:
|
|
414
|
-
|
|
414
|
+
d = v / c;
|
|
415
415
|
break;
|
|
416
|
-
case
|
|
417
|
-
|
|
416
|
+
case S:
|
|
417
|
+
d = v / a;
|
|
418
418
|
break;
|
|
419
419
|
default:
|
|
420
|
-
|
|
420
|
+
d = v;
|
|
421
421
|
}
|
|
422
|
-
return r ?
|
|
422
|
+
return r ? d : f.a(d);
|
|
423
423
|
}, n.daysInMonth = function() {
|
|
424
424
|
return this.endOf(M).$D;
|
|
425
425
|
}, n.$locale = function() {
|
|
@@ -427,8 +427,8 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
427
427
|
}, n.locale = function(t, i) {
|
|
428
428
|
if (!t)
|
|
429
429
|
return this.$L;
|
|
430
|
-
var r = this.clone(),
|
|
431
|
-
return
|
|
430
|
+
var r = this.clone(), d = R(t, i, !0);
|
|
431
|
+
return d && (r.$L = d), r;
|
|
432
432
|
}, n.clone = function() {
|
|
433
433
|
return f.w(this.$d, this);
|
|
434
434
|
}, n.toDate = function() {
|
|
@@ -439,40 +439,40 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
439
439
|
return this.$d.toISOString();
|
|
440
440
|
}, n.toString = function() {
|
|
441
441
|
return this.$d.toUTCString();
|
|
442
|
-
},
|
|
442
|
+
}, o;
|
|
443
443
|
}(), X = Z.prototype;
|
|
444
|
-
return w.prototype = X, [["$ms", L], ["$s",
|
|
445
|
-
X[
|
|
446
|
-
return this.$g(n,
|
|
444
|
+
return w.prototype = X, [["$ms", L], ["$s", S], ["$m", g], ["$H", h], ["$W", $], ["$M", M], ["$y", T], ["$D", z]].forEach(function(o) {
|
|
445
|
+
X[o[1]] = function(n) {
|
|
446
|
+
return this.$g(n, o[0], o[1]);
|
|
447
447
|
};
|
|
448
|
-
}), w.extend = function(
|
|
449
|
-
return
|
|
450
|
-
}, w.locale = R, w.isDayjs = A, w.unix = function(
|
|
451
|
-
return w(1e3 *
|
|
448
|
+
}), w.extend = function(o, n) {
|
|
449
|
+
return o.$i || (o(n, Z, w), o.$i = !0), w;
|
|
450
|
+
}, w.locale = R, w.isDayjs = A, w.unix = function(o) {
|
|
451
|
+
return w(1e3 * o);
|
|
452
452
|
}, w.en = k[x], w.Ls = k, w.p = {}, w;
|
|
453
453
|
});
|
|
454
454
|
})(ie);
|
|
455
|
-
const
|
|
456
|
-
var
|
|
455
|
+
const oe = ie.exports;
|
|
456
|
+
var ae = { exports: {} };
|
|
457
457
|
(function(e, l) {
|
|
458
|
-
(function(
|
|
458
|
+
(function(a, c) {
|
|
459
459
|
e.exports = c();
|
|
460
460
|
})(ne, function() {
|
|
461
|
-
var
|
|
462
|
-
return function(L,
|
|
463
|
-
var h =
|
|
461
|
+
var a = "minute", c = /[+-]\d\d(?::?\d\d)?/g, m = /([+-]|\d\d)/g;
|
|
462
|
+
return function(L, S, g) {
|
|
463
|
+
var h = S.prototype;
|
|
464
464
|
g.utc = function(s) {
|
|
465
465
|
var U = { date: s, utc: !0, args: arguments };
|
|
466
|
-
return new
|
|
466
|
+
return new S(U);
|
|
467
467
|
}, h.utc = function(s) {
|
|
468
468
|
var U = g(this.toDate(), { locale: this.$L, utc: !0 });
|
|
469
|
-
return s ? U.add(this.utcOffset(),
|
|
469
|
+
return s ? U.add(this.utcOffset(), a) : U;
|
|
470
470
|
}, h.local = function() {
|
|
471
471
|
return g(this.toDate(), { locale: this.$L, utc: !1 });
|
|
472
472
|
};
|
|
473
|
-
var
|
|
473
|
+
var $ = h.parse;
|
|
474
474
|
h.parse = function(s) {
|
|
475
|
-
s.utc && (this.$u = !0), this.$utils().u(s.$offset) || (this.$offset = s.$offset),
|
|
475
|
+
s.utc && (this.$u = !0), this.$utils().u(s.$offset) || (this.$offset = s.$offset), $.call(this, s);
|
|
476
476
|
};
|
|
477
477
|
var _ = h.init;
|
|
478
478
|
h.init = function() {
|
|
@@ -501,7 +501,7 @@ var oe = { exports: {} };
|
|
|
501
501
|
return W.$offset = F, W.$u = s === 0, W;
|
|
502
502
|
if (s !== 0) {
|
|
503
503
|
var G = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
504
|
-
(W = this.local().add(F + G,
|
|
504
|
+
(W = this.local().add(F + G, a)).$offset = F, W.$x.$localOffset = G;
|
|
505
505
|
} else
|
|
506
506
|
W = this.utc();
|
|
507
507
|
return W;
|
|
@@ -533,8 +533,8 @@ var oe = { exports: {} };
|
|
|
533
533
|
};
|
|
534
534
|
};
|
|
535
535
|
});
|
|
536
|
-
})(
|
|
537
|
-
const we =
|
|
536
|
+
})(ae);
|
|
537
|
+
const we = ae.exports, Ce = `:host {
|
|
538
538
|
font: inherit;
|
|
539
539
|
display: block;
|
|
540
540
|
height: 100%;
|
|
@@ -606,8 +606,8 @@ const we = oe.exports, Ce = `:host {
|
|
|
606
606
|
overflow: visible;
|
|
607
607
|
}
|
|
608
608
|
}`, ve = Ce;
|
|
609
|
-
|
|
610
|
-
const
|
|
609
|
+
oe.extend(we);
|
|
610
|
+
const Se = "user-deposit-withdrawal", te = [
|
|
611
611
|
"mm-hcback-to-merchant",
|
|
612
612
|
"mm-hc-back-tomerchant",
|
|
613
613
|
"mm-hc-sports",
|
|
@@ -615,12 +615,12 @@ const $e = "user-deposit-withdrawal", te = [
|
|
|
615
615
|
"mm-hc-contact",
|
|
616
616
|
"mm-wm-hc-init-deposit",
|
|
617
617
|
"mm-wm-hc-init-deposit-quick"
|
|
618
|
-
],
|
|
618
|
+
], $e = () => {
|
|
619
619
|
}, be = class {
|
|
620
620
|
constructor(e) {
|
|
621
|
-
|
|
621
|
+
ue(this, e), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = ge(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.toggleScreen = () => {
|
|
622
622
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
|
|
623
|
-
}, 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 =
|
|
623
|
+
}, 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 = $e, this.forwardCashierRedirects = !1, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
|
|
624
624
|
}
|
|
625
625
|
get typeParameter() {
|
|
626
626
|
if (this.type === "deposit")
|
|
@@ -665,27 +665,27 @@ const $e = "user-deposit-withdrawal", te = [
|
|
|
665
665
|
};
|
|
666
666
|
if (!(Object.values(e).some((l) => l === void 0) || !this.endpoint))
|
|
667
667
|
try {
|
|
668
|
-
const l = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,
|
|
668
|
+
const l = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, a = yield fetch(l, {
|
|
669
669
|
method: "POST",
|
|
670
670
|
headers: {
|
|
671
671
|
"X-Sessionid": this.session,
|
|
672
672
|
"Content-Type": "application/json",
|
|
673
|
-
"X-Client-Request-Timestamp":
|
|
673
|
+
"X-Client-Request-Timestamp": oe.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
|
|
674
674
|
},
|
|
675
675
|
body: JSON.stringify(e)
|
|
676
676
|
});
|
|
677
|
-
if (!
|
|
678
|
-
const m = yield
|
|
677
|
+
if (!a.ok) {
|
|
678
|
+
const m = yield a.text();
|
|
679
679
|
throw new Error(m);
|
|
680
680
|
}
|
|
681
|
-
const c = yield
|
|
681
|
+
const c = yield a.json();
|
|
682
682
|
if (c.CashierInfo)
|
|
683
683
|
this.cashierInfoUrl = c.CashierInfo.Url;
|
|
684
684
|
else {
|
|
685
685
|
let m;
|
|
686
686
|
if (c.ResponseMessage) {
|
|
687
|
-
let
|
|
688
|
-
|
|
687
|
+
let S = this.errorCodes.find((g) => c.ResponseMessage.includes(g)) || null;
|
|
688
|
+
S ? m = j(`errorCode${S}`, this.language) : m = j("notFoundErrorCode", this.language);
|
|
689
689
|
} else
|
|
690
690
|
m = this.type === "deposit" ? j("denyDeposit", this.language) : j("denyWithdrawal", this.language);
|
|
691
691
|
const L = { type: "error", message: m };
|
|
@@ -701,10 +701,10 @@ const $e = "user-deposit-withdrawal", te = [
|
|
|
701
701
|
if (!l)
|
|
702
702
|
return;
|
|
703
703
|
this.applyLayoutHints(l);
|
|
704
|
-
const
|
|
705
|
-
if (!
|
|
704
|
+
const a = this.extractCashierRedirectReason(l);
|
|
705
|
+
if (!a || this.emitForwardedRedirect(e, a))
|
|
706
706
|
return;
|
|
707
|
-
const c = this.resolveRedirectPlan(
|
|
707
|
+
const c = this.resolveRedirectPlan(a);
|
|
708
708
|
c && this.doRedirect(c.reason, c.targetUrl);
|
|
709
709
|
}
|
|
710
710
|
extractCashierRedirectReason(e) {
|
|
@@ -745,22 +745,22 @@ const $e = "user-deposit-withdrawal", te = [
|
|
|
745
745
|
emitForwardedRedirect(e, l) {
|
|
746
746
|
if (!this.forwardCashierRedirects)
|
|
747
747
|
return !1;
|
|
748
|
-
const
|
|
749
|
-
type: `${
|
|
748
|
+
const a = {
|
|
749
|
+
type: `${Se}:${l}`,
|
|
750
750
|
originalType: l,
|
|
751
751
|
payload: e.data,
|
|
752
752
|
origin: e.origin
|
|
753
753
|
};
|
|
754
|
-
return window.postMessage(
|
|
754
|
+
return window.postMessage(a, window.location.href), !0;
|
|
755
755
|
}
|
|
756
756
|
doRedirect(e, l) {
|
|
757
|
-
const
|
|
758
|
-
if (this.beforeRedirect(
|
|
759
|
-
if (!
|
|
757
|
+
const a = { reason: e, url: l, cancel: !1 };
|
|
758
|
+
if (this.beforeRedirect(a), !a.cancel) {
|
|
759
|
+
if (!a.url) {
|
|
760
760
|
window.location.href = "/";
|
|
761
761
|
return;
|
|
762
762
|
}
|
|
763
|
-
window.location.href =
|
|
763
|
+
window.location.href = a.url;
|
|
764
764
|
}
|
|
765
765
|
}
|
|
766
766
|
static get watchers() {
|