@everymatrix/casino-header-controller 1.87.35 → 1.87.36
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-DuaZNcLz.js → CasinoHamburgerMenu-BG5vj-L2.js} +1 -1
- package/components/{CasinoHamburgerMenu-0z6hyw4y.js → CasinoHamburgerMenu-Bxp1-aB5.js} +1 -1
- package/components/{CasinoHamburgerMenu-WB7i3_iz.cjs → CasinoHamburgerMenu-Orca8kpO.cjs} +1 -1
- package/components/{CasinoHeaderController-C8DT2cVk.cjs → CasinoHeaderController-C1AjIlkK.cjs} +2 -2
- package/components/{CasinoHeaderController-Db8giU-E.js → CasinoHeaderController-CIi7byMH.js} +5 -5
- package/components/{CasinoHeaderController-Do8wUidR.js → CasinoHeaderController-DJQjKXgd.js} +5 -5
- package/components/{CasinoSlider-DMc6CrV3.cjs → CasinoSlider-B7UrOFYJ.cjs} +1 -1
- package/components/{CasinoSlider-fH4HQvtL.js → CasinoSlider-CITaCfbY.js} +1 -1
- package/components/{CasinoSlider-BtMwjTr9.js → CasinoSlider-DZd-u0zd.js} +1 -1
- package/components/{PlayerAccountBalanceModal-lcokbjFZ.js → PlayerAccountBalanceModal-DdCnAi4f.js} +1 -1
- package/components/{PlayerAccountBalanceModal-CEJcH9Cr.js → PlayerAccountBalanceModal-DiyLRui9.js} +1 -1
- package/components/{PlayerAccountBalanceModal-X5IfhAU4.cjs → PlayerAccountBalanceModal-DpknUWew.cjs} +1 -1
- package/components/{PlayerDeposit-CVfrvkyO.js → PlayerDeposit-ArBxKlBf.js} +1 -1
- package/components/{PlayerDeposit-0WxB1mbL.js → PlayerDeposit-CP4XKIFF.js} +1 -1
- package/components/{PlayerDeposit-Bzc_rwpv.cjs → PlayerDeposit-FOEkkNYn.cjs} +1 -1
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-1ef3a64c-Df_g4Fi-.js → index-1ef3a64c--Af7_5fD.js} +1 -1
- package/stencil/{index-1ef3a64c-DQzOv3qV.js → index-1ef3a64c-DmxFtrnt.js} +1 -1
- package/stencil/{index-1ef3a64c-DTHZ2yCZ.cjs → index-1ef3a64c-eddA8REc.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-_xlSbJsV.js → user-deposit-withdrawal-B5ax7Aw2.js} +163 -160
- package/stencil/{user-deposit-withdrawal-1m3oit8H.js → user-deposit-withdrawal-B8Zz0CIZ.js} +144 -141
- package/stencil/{user-deposit-withdrawal-BdsGsdPs.cjs → user-deposit-withdrawal-C-Q_yFe4.cjs} +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Q = (e,
|
|
1
|
+
var Q = (e, o, i) => new Promise((l, p) => {
|
|
2
2
|
var b = (h) => {
|
|
3
3
|
try {
|
|
4
4
|
y(i.next(h));
|
|
@@ -12,18 +12,18 @@ var Q = (e, a, i) => new Promise((l, p) => {
|
|
|
12
12
|
p($);
|
|
13
13
|
}
|
|
14
14
|
}, y = (h) => h.done ? l(h.value) : Promise.resolve(h.value).then(b, w);
|
|
15
|
-
y((i = i.apply(e,
|
|
15
|
+
y((i = i.apply(e, o)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as
|
|
18
|
-
import { g as
|
|
19
|
-
var
|
|
20
|
-
const e = import.meta.url,
|
|
21
|
-
return e !== "" && (
|
|
17
|
+
import { b as de, p as ce, r as le, h as M, H as he } from "./index-1ef3a64c--Af7_5fD.js";
|
|
18
|
+
import { g as fe } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
|
19
|
+
var pe = () => {
|
|
20
|
+
const e = import.meta.url, o = {};
|
|
21
|
+
return e !== "" && (o.resourcesUrl = new URL(".", e).href), ce(o);
|
|
22
22
|
};
|
|
23
|
-
|
|
24
|
-
return yield
|
|
23
|
+
pe().then((e) => Q(void 0, null, function* () {
|
|
24
|
+
return yield fe(), de([["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);
|
|
25
25
|
}));
|
|
26
|
-
const
|
|
26
|
+
const me = "en", ye = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], ie = {
|
|
27
27
|
en: {
|
|
28
28
|
Deposit: "Deposit",
|
|
29
29
|
Withdraw: "Withdraw",
|
|
@@ -125,27 +125,27 @@ const pe = "en", me = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
|
|
|
125
125
|
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",
|
|
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
|
+
}, ge = (e) => new Promise((o) => {
|
|
129
129
|
fetch(e).then((i) => i.json()).then((i) => {
|
|
130
130
|
Object.keys(i).forEach((l) => {
|
|
131
131
|
for (let p in i[l])
|
|
132
|
-
|
|
133
|
-
}),
|
|
132
|
+
ie[l][p] = i[l][p];
|
|
133
|
+
}), o(!0);
|
|
134
134
|
});
|
|
135
|
-
}), j = (e,
|
|
136
|
-
const i =
|
|
137
|
-
return
|
|
135
|
+
}), j = (e, o) => {
|
|
136
|
+
const i = o;
|
|
137
|
+
return ie[i !== void 0 && ye.includes(i) ? i : me][e];
|
|
138
138
|
}, Y = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
139
|
-
function ee(e,
|
|
139
|
+
function ee(e, o) {
|
|
140
140
|
if (e) {
|
|
141
141
|
const i = document.createElement("style");
|
|
142
|
-
i.innerHTML =
|
|
142
|
+
i.innerHTML = o, e.appendChild(i);
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
function te(e,
|
|
146
|
-
if (!e || !
|
|
145
|
+
function te(e, o) {
|
|
146
|
+
if (!e || !o)
|
|
147
147
|
return;
|
|
148
|
-
const i = new URL(
|
|
148
|
+
const i = new URL(o);
|
|
149
149
|
fetch(i.href).then((l) => l.text()).then((l) => {
|
|
150
150
|
const p = document.createElement("style");
|
|
151
151
|
p.innerHTML = l, e && e.appendChild(p);
|
|
@@ -153,35 +153,35 @@ function te(e, a) {
|
|
|
153
153
|
console.error("There was an error while trying to load client styling from URL", l);
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function we(e, o, i, l = !1) {
|
|
157
157
|
if (!window.emMessageBus)
|
|
158
158
|
return;
|
|
159
159
|
if (!("adoptedStyleSheets" in Document.prototype) || !l)
|
|
160
|
-
return i =
|
|
161
|
-
window[Y] || (window[Y] = {}), i =
|
|
160
|
+
return i = Ce(e, o), i;
|
|
161
|
+
window[Y] || (window[Y] = {}), i = Se(e, o);
|
|
162
162
|
const b = i.unsubscribe.bind(i), w = () => {
|
|
163
|
-
if (window[Y][
|
|
164
|
-
const y = window[Y][
|
|
165
|
-
y.refCount > 1 ? y.refCount = y.refCount - 1 : delete window[Y][
|
|
163
|
+
if (window[Y][o]) {
|
|
164
|
+
const y = window[Y][o];
|
|
165
|
+
y.refCount > 1 ? y.refCount = y.refCount - 1 : delete window[Y][o];
|
|
166
166
|
}
|
|
167
167
|
b();
|
|
168
168
|
};
|
|
169
169
|
return i.unsubscribe = w, i;
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Ce(e, o) {
|
|
172
172
|
const i = document.createElement("style");
|
|
173
|
-
return window.emMessageBus.subscribe(
|
|
173
|
+
return window.emMessageBus.subscribe(o, (l) => {
|
|
174
174
|
e && (i.innerHTML = l, e.appendChild(i));
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
|
-
function
|
|
178
|
-
return window.emMessageBus.subscribe(
|
|
177
|
+
function Se(e, o) {
|
|
178
|
+
return window.emMessageBus.subscribe(o, (i) => {
|
|
179
179
|
var y;
|
|
180
180
|
if (!e)
|
|
181
181
|
return;
|
|
182
182
|
const l = e.getRootNode(), p = window[Y];
|
|
183
|
-
let b = (y = p[
|
|
184
|
-
b ? p[
|
|
183
|
+
let b = (y = p[o]) == null ? void 0 : y.sheet;
|
|
184
|
+
b ? p[o].refCount = p[o].refCount + 1 : (b = new CSSStyleSheet(), b.replaceSync(i), p[o] = {
|
|
185
185
|
sheet: b,
|
|
186
186
|
refCount: 1
|
|
187
187
|
});
|
|
@@ -189,51 +189,51 @@ function Ce(e, a) {
|
|
|
189
189
|
w.includes(b) || (l.adoptedStyleSheets = [...w, b]);
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
|
-
const
|
|
193
|
-
var
|
|
194
|
-
(function(e,
|
|
192
|
+
const be = (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));
|
|
193
|
+
var oe = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ae = { exports: {} };
|
|
194
|
+
(function(e, o) {
|
|
195
195
|
(function(i, l) {
|
|
196
196
|
e.exports = l();
|
|
197
|
-
})(
|
|
198
|
-
var i = 1e3, l = 6e4, p = 36e5, b = "millisecond", w = "second", y = "minute", h = "hour", $ = "day", _ = "week", U = "month", G = "quarter", L = "year",
|
|
197
|
+
})(oe, function() {
|
|
198
|
+
var i = 1e3, l = 6e4, p = 36e5, b = "millisecond", w = "second", y = "minute", h = "hour", $ = "day", _ = "week", U = "month", G = "quarter", L = "year", k = "date", u = "Invalid Date", E = /^(\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(s) {
|
|
199
199
|
var n = ["th", "st", "nd", "rd"], t = s % 100;
|
|
200
200
|
return "[" + s + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
|
|
201
|
-
} },
|
|
202
|
-
var
|
|
203
|
-
return !
|
|
204
|
-
}, Z = { s:
|
|
205
|
-
var n = -s.utcOffset(), t = Math.abs(n),
|
|
206
|
-
return (n <= 0 ? "+" : "-") +
|
|
201
|
+
} }, W = function(s, n, t) {
|
|
202
|
+
var a = String(s);
|
|
203
|
+
return !a || a.length >= n ? s : "" + Array(n + 1 - a.length).join(t) + s;
|
|
204
|
+
}, Z = { s: W, z: function(s) {
|
|
205
|
+
var n = -s.utcOffset(), t = Math.abs(n), a = Math.floor(t / 60), r = t % 60;
|
|
206
|
+
return (n <= 0 ? "+" : "-") + W(a, 2, "0") + ":" + W(r, 2, "0");
|
|
207
207
|
}, m: function s(n, t) {
|
|
208
208
|
if (n.date() < t.date())
|
|
209
209
|
return -s(t, n);
|
|
210
|
-
var
|
|
211
|
-
return +(-(
|
|
210
|
+
var a = 12 * (t.year() - n.year()) + (t.month() - n.month()), r = n.clone().add(a, U), d = t - r < 0, c = n.clone().add(a + (d ? -1 : 1), U);
|
|
211
|
+
return +(-(a + (t - r) / (d ? r - c : c - r)) || 0);
|
|
212
212
|
}, a: function(s) {
|
|
213
213
|
return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
|
|
214
214
|
}, p: function(s) {
|
|
215
|
-
return { M: U, y: L, w: _, d: $, D:
|
|
215
|
+
return { M: U, y: L, w: _, d: $, D: k, h, m: y, s: w, ms: b, Q: G }[s] || String(s || "").toLowerCase().replace(/s$/, "");
|
|
216
216
|
}, u: function(s) {
|
|
217
217
|
return s === void 0;
|
|
218
|
-
} },
|
|
219
|
-
|
|
218
|
+
} }, z = "en", R = {};
|
|
219
|
+
R[z] = F;
|
|
220
220
|
var A = "$isDayjsObject", B = function(s) {
|
|
221
221
|
return s instanceof J || !(!s || !s[A]);
|
|
222
|
-
}, x = function s(n, t,
|
|
222
|
+
}, x = function s(n, t, a) {
|
|
223
223
|
var r;
|
|
224
224
|
if (!n)
|
|
225
|
-
return
|
|
225
|
+
return z;
|
|
226
226
|
if (typeof n == "string") {
|
|
227
227
|
var d = n.toLowerCase();
|
|
228
|
-
|
|
228
|
+
R[d] && (r = d), t && (R[d] = t, r = d);
|
|
229
229
|
var c = n.split("-");
|
|
230
230
|
if (!r && c.length > 1)
|
|
231
231
|
return s(c[0]);
|
|
232
232
|
} else {
|
|
233
233
|
var m = n.name;
|
|
234
|
-
|
|
234
|
+
R[m] = n, r = m;
|
|
235
235
|
}
|
|
236
|
-
return !
|
|
236
|
+
return !a && r && (z = r), r || !a && z;
|
|
237
237
|
}, C = function(s, n) {
|
|
238
238
|
if (B(s))
|
|
239
239
|
return s.clone();
|
|
@@ -249,8 +249,8 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
249
249
|
}
|
|
250
250
|
var n = s.prototype;
|
|
251
251
|
return n.parse = function(t) {
|
|
252
|
-
this.$d = function(
|
|
253
|
-
var r =
|
|
252
|
+
this.$d = function(a) {
|
|
253
|
+
var r = a.date, d = a.utc;
|
|
254
254
|
if (r === null)
|
|
255
255
|
return /* @__PURE__ */ new Date(NaN);
|
|
256
256
|
if (f.u(r))
|
|
@@ -258,7 +258,7 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
258
258
|
if (r instanceof Date)
|
|
259
259
|
return new Date(r);
|
|
260
260
|
if (typeof r == "string" && !/Z$/i.test(r)) {
|
|
261
|
-
var c = r.match(
|
|
261
|
+
var c = r.match(E);
|
|
262
262
|
if (c) {
|
|
263
263
|
var m = c[2] - 1 || 0, g = (c[7] || "0").substring(0, 3);
|
|
264
264
|
return d ? new Date(Date.UTC(c[1], m, c[3] || 1, c[4] || 0, c[5] || 0, c[6] || 0, g)) : new Date(c[1], m, c[3] || 1, c[4] || 0, c[5] || 0, c[6] || 0, g);
|
|
@@ -273,21 +273,21 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
273
273
|
return f;
|
|
274
274
|
}, n.isValid = function() {
|
|
275
275
|
return this.$d.toString() !== u;
|
|
276
|
-
}, n.isSame = function(t,
|
|
276
|
+
}, n.isSame = function(t, a) {
|
|
277
277
|
var r = C(t);
|
|
278
|
-
return this.startOf(
|
|
279
|
-
}, n.isAfter = function(t,
|
|
280
|
-
return C(t) < this.startOf(
|
|
281
|
-
}, n.isBefore = function(t,
|
|
282
|
-
return this.endOf(
|
|
283
|
-
}, n.$g = function(t,
|
|
284
|
-
return f.u(t) ? this[
|
|
278
|
+
return this.startOf(a) <= r && r <= this.endOf(a);
|
|
279
|
+
}, n.isAfter = function(t, a) {
|
|
280
|
+
return C(t) < this.startOf(a);
|
|
281
|
+
}, n.isBefore = function(t, a) {
|
|
282
|
+
return this.endOf(a) < C(t);
|
|
283
|
+
}, n.$g = function(t, a, r) {
|
|
284
|
+
return f.u(t) ? this[a] : this.set(r, t);
|
|
285
285
|
}, n.unix = function() {
|
|
286
286
|
return Math.floor(this.valueOf() / 1e3);
|
|
287
287
|
}, n.valueOf = function() {
|
|
288
288
|
return this.$d.getTime();
|
|
289
|
-
}, n.startOf = function(t,
|
|
290
|
-
var r = this, d = !!f.u(
|
|
289
|
+
}, n.startOf = function(t, a) {
|
|
290
|
+
var r = this, d = !!f.u(a) || a, c = f.p(t), m = function(P, D) {
|
|
291
291
|
var O = f.w(r.$u ? Date.UTC(r.$y, D, P) : new Date(r.$y, D, P), r);
|
|
292
292
|
return d ? O : O.endOf($);
|
|
293
293
|
}, g = function(P, D) {
|
|
@@ -302,7 +302,7 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
302
302
|
var I = this.$locale().weekStart || 0, N = (S < I ? S + 7 : S) - I;
|
|
303
303
|
return m(d ? T - N : T + (6 - N), v);
|
|
304
304
|
case $:
|
|
305
|
-
case
|
|
305
|
+
case k:
|
|
306
306
|
return g(q + "Hours", 0);
|
|
307
307
|
case h:
|
|
308
308
|
return g(q + "Minutes", 1);
|
|
@@ -315,22 +315,22 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
315
315
|
}
|
|
316
316
|
}, n.endOf = function(t) {
|
|
317
317
|
return this.startOf(t, !1);
|
|
318
|
-
}, n.$set = function(t,
|
|
319
|
-
var r, d = f.p(t), c = "set" + (this.$u ? "UTC" : ""), m = (r = {}, r[$] = c + "Date", r[
|
|
318
|
+
}, n.$set = function(t, a) {
|
|
319
|
+
var r, d = f.p(t), c = "set" + (this.$u ? "UTC" : ""), m = (r = {}, r[$] = c + "Date", r[k] = c + "Date", r[U] = c + "Month", r[L] = c + "FullYear", r[h] = c + "Hours", r[y] = c + "Minutes", r[w] = c + "Seconds", r[b] = c + "Milliseconds", r)[d], g = d === $ ? this.$D + (a - this.$W) : a;
|
|
320
320
|
if (d === U || d === L) {
|
|
321
|
-
var S = this.clone().set(
|
|
322
|
-
S.$d[m](g), S.init(), this.$d = S.set(
|
|
321
|
+
var S = this.clone().set(k, 1);
|
|
322
|
+
S.$d[m](g), S.init(), this.$d = S.set(k, Math.min(this.$D, S.daysInMonth())).$d;
|
|
323
323
|
} else
|
|
324
324
|
m && this.$d[m](g);
|
|
325
325
|
return this.init(), this;
|
|
326
|
-
}, n.set = function(t,
|
|
327
|
-
return this.clone().$set(t,
|
|
326
|
+
}, n.set = function(t, a) {
|
|
327
|
+
return this.clone().$set(t, a);
|
|
328
328
|
}, n.get = function(t) {
|
|
329
329
|
return this[f.p(t)]();
|
|
330
|
-
}, n.add = function(t,
|
|
330
|
+
}, n.add = function(t, a) {
|
|
331
331
|
var r, d = this;
|
|
332
332
|
t = Number(t);
|
|
333
|
-
var c = f.p(
|
|
333
|
+
var c = f.p(a), m = function(v) {
|
|
334
334
|
var T = C(d);
|
|
335
335
|
return f.w(T.date(T.date() + Math.round(v * t)), d);
|
|
336
336
|
};
|
|
@@ -344,14 +344,14 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
344
344
|
return m(7);
|
|
345
345
|
var g = (r = {}, r[y] = l, r[h] = p, r[w] = i, r)[c] || 1, S = this.$d.getTime() + t * g;
|
|
346
346
|
return f.w(S, this);
|
|
347
|
-
}, n.subtract = function(t,
|
|
348
|
-
return this.add(-1 * t,
|
|
347
|
+
}, n.subtract = function(t, a) {
|
|
348
|
+
return this.add(-1 * t, a);
|
|
349
349
|
}, n.format = function(t) {
|
|
350
|
-
var
|
|
350
|
+
var a = this, r = this.$locale();
|
|
351
351
|
if (!this.isValid())
|
|
352
352
|
return r.invalidDate || u;
|
|
353
353
|
var d = t || "YYYY-MM-DDTHH:mm:ssZ", c = f.z(this), m = this.$H, g = this.$m, S = this.$M, v = r.weekdays, T = r.months, q = r.meridiem, I = function(D, O, V, K) {
|
|
354
|
-
return D && (D[O] || D(
|
|
354
|
+
return D && (D[O] || D(a, d)) || V[O].slice(0, K);
|
|
355
355
|
}, N = function(D) {
|
|
356
356
|
return f.s(m % 12 || 12, D, "0");
|
|
357
357
|
}, P = q || function(D, O, V) {
|
|
@@ -362,9 +362,9 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
362
362
|
return O || function(V) {
|
|
363
363
|
switch (V) {
|
|
364
364
|
case "YY":
|
|
365
|
-
return String(
|
|
365
|
+
return String(a.$y).slice(-2);
|
|
366
366
|
case "YYYY":
|
|
367
|
-
return f.s(
|
|
367
|
+
return f.s(a.$y, 4, "0");
|
|
368
368
|
case "M":
|
|
369
369
|
return S + 1;
|
|
370
370
|
case "MM":
|
|
@@ -374,17 +374,17 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
374
374
|
case "MMMM":
|
|
375
375
|
return I(T, S);
|
|
376
376
|
case "D":
|
|
377
|
-
return
|
|
377
|
+
return a.$D;
|
|
378
378
|
case "DD":
|
|
379
|
-
return f.s(
|
|
379
|
+
return f.s(a.$D, 2, "0");
|
|
380
380
|
case "d":
|
|
381
|
-
return String(
|
|
381
|
+
return String(a.$W);
|
|
382
382
|
case "dd":
|
|
383
|
-
return I(r.weekdaysMin,
|
|
383
|
+
return I(r.weekdaysMin, a.$W, v, 2);
|
|
384
384
|
case "ddd":
|
|
385
|
-
return I(r.weekdaysShort,
|
|
385
|
+
return I(r.weekdaysShort, a.$W, v, 3);
|
|
386
386
|
case "dddd":
|
|
387
|
-
return v[
|
|
387
|
+
return v[a.$W];
|
|
388
388
|
case "H":
|
|
389
389
|
return String(m);
|
|
390
390
|
case "HH":
|
|
@@ -402,11 +402,11 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
402
402
|
case "mm":
|
|
403
403
|
return f.s(g, 2, "0");
|
|
404
404
|
case "s":
|
|
405
|
-
return String(
|
|
405
|
+
return String(a.$s);
|
|
406
406
|
case "ss":
|
|
407
|
-
return f.s(
|
|
407
|
+
return f.s(a.$s, 2, "0");
|
|
408
408
|
case "SSS":
|
|
409
|
-
return f.s(
|
|
409
|
+
return f.s(a.$ms, 3, "0");
|
|
410
410
|
case "Z":
|
|
411
411
|
return c;
|
|
412
412
|
}
|
|
@@ -415,8 +415,8 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
415
415
|
});
|
|
416
416
|
}, n.utcOffset = function() {
|
|
417
417
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
418
|
-
}, n.diff = function(t,
|
|
419
|
-
var d, c = this, m = f.p(
|
|
418
|
+
}, n.diff = function(t, a, r) {
|
|
419
|
+
var d, c = this, m = f.p(a), g = C(t), S = (g.utcOffset() - this.utcOffset()) * l, v = this - g, T = function() {
|
|
420
420
|
return f.m(c, g);
|
|
421
421
|
};
|
|
422
422
|
switch (m) {
|
|
@@ -451,11 +451,11 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
451
451
|
}, n.daysInMonth = function() {
|
|
452
452
|
return this.endOf(U).$D;
|
|
453
453
|
}, n.$locale = function() {
|
|
454
|
-
return
|
|
455
|
-
}, n.locale = function(t,
|
|
454
|
+
return R[this.$L];
|
|
455
|
+
}, n.locale = function(t, a) {
|
|
456
456
|
if (!t)
|
|
457
457
|
return this.$L;
|
|
458
|
-
var r = this.clone(), d = x(t,
|
|
458
|
+
var r = this.clone(), d = x(t, a, !0);
|
|
459
459
|
return d && (r.$L = d), r;
|
|
460
460
|
}, n.clone = function() {
|
|
461
461
|
return f.w(this.$d, this);
|
|
@@ -469,7 +469,7 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
469
469
|
return this.$d.toUTCString();
|
|
470
470
|
}, s;
|
|
471
471
|
}(), X = J.prototype;
|
|
472
|
-
return C.prototype = X, [["$ms", b], ["$s", w], ["$m", y], ["$H", h], ["$W", $], ["$M", U], ["$y", L], ["$D",
|
|
472
|
+
return C.prototype = X, [["$ms", b], ["$s", w], ["$m", y], ["$H", h], ["$W", $], ["$M", U], ["$y", L], ["$D", k]].forEach(function(s) {
|
|
473
473
|
X[s[1]] = function(n) {
|
|
474
474
|
return this.$g(n, s[0], s[1]);
|
|
475
475
|
};
|
|
@@ -477,24 +477,24 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
477
477
|
return s.$i || (s(n, J, C), s.$i = !0), C;
|
|
478
478
|
}, C.locale = x, C.isDayjs = B, C.unix = function(s) {
|
|
479
479
|
return C(1e3 * s);
|
|
480
|
-
}, C.en =
|
|
480
|
+
}, C.en = R[z], C.Ls = R, C.p = {}, C;
|
|
481
481
|
});
|
|
482
|
-
})(
|
|
483
|
-
const
|
|
484
|
-
var
|
|
485
|
-
(function(e,
|
|
482
|
+
})(ae);
|
|
483
|
+
const se = ae.exports;
|
|
484
|
+
var ue = { exports: {} };
|
|
485
|
+
(function(e, o) {
|
|
486
486
|
(function(i, l) {
|
|
487
487
|
e.exports = l();
|
|
488
|
-
})(
|
|
488
|
+
})(oe, function() {
|
|
489
489
|
var i = "minute", l = /[+-]\d\d(?::?\d\d)?/g, p = /([+-]|\d\d)/g;
|
|
490
490
|
return function(b, w, y) {
|
|
491
491
|
var h = w.prototype;
|
|
492
492
|
y.utc = function(u) {
|
|
493
|
-
var
|
|
494
|
-
return new w(
|
|
493
|
+
var E = { date: u, utc: !0, args: arguments };
|
|
494
|
+
return new w(E);
|
|
495
495
|
}, h.utc = function(u) {
|
|
496
|
-
var
|
|
497
|
-
return u ?
|
|
496
|
+
var E = y(this.toDate(), { locale: this.$L, utc: !0 });
|
|
497
|
+
return u ? E.add(this.utcOffset(), i) : E;
|
|
498
498
|
}, h.local = function() {
|
|
499
499
|
return y(this.toDate(), { locale: this.$L, utc: !1 });
|
|
500
500
|
};
|
|
@@ -511,33 +511,33 @@ var se = { exports: {} };
|
|
|
511
511
|
_.call(this);
|
|
512
512
|
};
|
|
513
513
|
var U = h.utcOffset;
|
|
514
|
-
h.utcOffset = function(u,
|
|
514
|
+
h.utcOffset = function(u, E) {
|
|
515
515
|
var H = this.$utils().u;
|
|
516
516
|
if (H(u))
|
|
517
517
|
return this.$u ? 0 : H(this.$offset) ? U.call(this) : this.$offset;
|
|
518
|
-
if (typeof u == "string" && (u = function(
|
|
519
|
-
|
|
520
|
-
var
|
|
521
|
-
if (!
|
|
518
|
+
if (typeof u == "string" && (u = function(z) {
|
|
519
|
+
z === void 0 && (z = "");
|
|
520
|
+
var R = z.match(l);
|
|
521
|
+
if (!R)
|
|
522
522
|
return null;
|
|
523
|
-
var A = ("" +
|
|
523
|
+
var A = ("" + R[0]).match(p) || ["-", 0, 0], B = A[0], x = 60 * +A[1] + +A[2];
|
|
524
524
|
return x === 0 ? 0 : B === "+" ? x : -x;
|
|
525
525
|
}(u), u === null))
|
|
526
526
|
return this;
|
|
527
|
-
var F = Math.abs(u) <= 16 ? 60 * u : u,
|
|
528
|
-
if (
|
|
529
|
-
return
|
|
527
|
+
var F = Math.abs(u) <= 16 ? 60 * u : u, W = this;
|
|
528
|
+
if (E)
|
|
529
|
+
return W.$offset = F, W.$u = u === 0, W;
|
|
530
530
|
if (u !== 0) {
|
|
531
531
|
var Z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
532
|
-
(
|
|
532
|
+
(W = this.local().add(F + Z, i)).$offset = F, W.$x.$localOffset = Z;
|
|
533
533
|
} else
|
|
534
|
-
|
|
535
|
-
return
|
|
534
|
+
W = this.utc();
|
|
535
|
+
return W;
|
|
536
536
|
};
|
|
537
537
|
var G = h.format;
|
|
538
538
|
h.format = function(u) {
|
|
539
|
-
var
|
|
540
|
-
return G.call(this,
|
|
539
|
+
var E = u || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
540
|
+
return G.call(this, E);
|
|
541
541
|
}, h.valueOf = function() {
|
|
542
542
|
var u = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
543
543
|
return this.$d.valueOf() - 6e4 * u;
|
|
@@ -552,17 +552,17 @@ var se = { exports: {} };
|
|
|
552
552
|
h.toDate = function(u) {
|
|
553
553
|
return u === "s" && this.$offset ? y(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : L.call(this);
|
|
554
554
|
};
|
|
555
|
-
var
|
|
556
|
-
h.diff = function(u,
|
|
555
|
+
var k = h.diff;
|
|
556
|
+
h.diff = function(u, E, H) {
|
|
557
557
|
if (u && this.$u === u.$u)
|
|
558
|
-
return
|
|
559
|
-
var F = this.local(),
|
|
560
|
-
return
|
|
558
|
+
return k.call(this, u, E, H);
|
|
559
|
+
var F = this.local(), W = y(u).local();
|
|
560
|
+
return k.call(F, W, E, H);
|
|
561
561
|
};
|
|
562
562
|
};
|
|
563
563
|
});
|
|
564
|
-
})(
|
|
565
|
-
const
|
|
564
|
+
})(ue);
|
|
565
|
+
const ve = ue.exports, $e = `:host {
|
|
566
566
|
font: inherit;
|
|
567
567
|
display: block;
|
|
568
568
|
height: 100%;
|
|
@@ -633,9 +633,9 @@ const be = se.exports, ve = `:host {
|
|
|
633
633
|
.DepositWithdrawalWrapper:not(.ShortCashier) {
|
|
634
634
|
overflow: visible;
|
|
635
635
|
}
|
|
636
|
-
}`,
|
|
637
|
-
|
|
638
|
-
const
|
|
636
|
+
}`, De = $e;
|
|
637
|
+
se.extend(ve);
|
|
638
|
+
const re = "user-deposit-withdrawal", ne = [
|
|
639
639
|
"mm-hcback-to-merchant",
|
|
640
640
|
"mm-hc-back-tomerchant",
|
|
641
641
|
"mm-hc-sports",
|
|
@@ -646,7 +646,7 @@ const De = "user-deposit-withdrawal", re = [
|
|
|
646
646
|
], Me = () => {
|
|
647
647
|
}, Ue = class {
|
|
648
648
|
constructor(e) {
|
|
649
|
-
|
|
649
|
+
le(this, e), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = be(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.toggleScreen = () => {
|
|
650
650
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
|
|
651
651
|
}, 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 = Me, this.forwardCashierRedirects = !1, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
|
|
652
652
|
}
|
|
@@ -656,26 +656,26 @@ const De = "user-deposit-withdrawal", re = [
|
|
|
656
656
|
if (this.type === "withdraw")
|
|
657
657
|
return "Withdraw";
|
|
658
658
|
}
|
|
659
|
-
handleClientStylingChange(e,
|
|
660
|
-
e !=
|
|
659
|
+
handleClientStylingChange(e, o) {
|
|
660
|
+
e != o && ee(this.stylingContainer, this.clientStyling);
|
|
661
661
|
}
|
|
662
|
-
handleClientStylingChangeURL(e,
|
|
663
|
-
e !=
|
|
662
|
+
handleClientStylingChangeURL(e, o) {
|
|
663
|
+
e != o && this.clientStylingUrl && te(this.stylingContainer, this.clientStylingUrl);
|
|
664
664
|
}
|
|
665
665
|
componentWillLoad() {
|
|
666
666
|
return Q(this, null, function* () {
|
|
667
667
|
if (yield this.loadWidget(), this.translationUrl)
|
|
668
|
-
return
|
|
668
|
+
return ge(this.translationUrl);
|
|
669
669
|
});
|
|
670
670
|
}
|
|
671
671
|
componentDidLoad() {
|
|
672
|
-
this.stylingContainer && (window.emMessageBus != null ?
|
|
672
|
+
this.stylingContainer && (window.emMessageBus != null ? we(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && ee(this.stylingContainer, this.clientStyling), this.clientStylingUrl && te(this.stylingContainer, this.clientStylingUrl))), window.addEventListener("message", this.bindedHandler, !1);
|
|
673
673
|
}
|
|
674
674
|
disconnectedCallback() {
|
|
675
675
|
window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
676
676
|
}
|
|
677
677
|
render() {
|
|
678
|
-
return M(
|
|
678
|
+
return M(he, { key: "46153b61097691f3a3b2da29aa260edf0688f01c" }, M("div", { key: "0082deaaf9c6348cff4010ec8b1f58e5ea26e99b", ref: (e) => this.stylingContainer = e, class: "" }, M("div", { key: "8aec364ea2134d01c2b29fc75136cad08fd5d965", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}` }, !(this.isMobile && !this.isShortCashier) && M("h2", { key: "4b0184e2354199332c8438b4430c047982364dff", class: "CategoryTitle" }, j(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), M("div", { key: "49c9dbda82eb6576bc11375371f4359ba0b0285d", style: { marginTop: this.isShortCashier ? "30px" : "0" } }, this.isMobile && !this.isShortCashier ? M("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, M("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, M("defs", null), M("g", { transform: "translate(-20 -158)" }, M("g", { transform: "translate(20 158)" }, M("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)" })))), M("h2", { class: "CategoryTitleMobile" }, j(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? M("iframe", { width: "100%", allow: "payment", height: this.dynamicHeight, src: this.cashierInfoUrl }) : M("h3", { innerHTML: this.type === "deposit" ? j("denyDeposit", this.language) : j("denyWithdrawal", this.language), class: "ErrorMessage" }))));
|
|
679
679
|
}
|
|
680
680
|
loadWidget() {
|
|
681
681
|
return Q(this, null, function* () {
|
|
@@ -691,14 +691,14 @@ const De = "user-deposit-withdrawal", re = [
|
|
|
691
691
|
currency: this.currency,
|
|
692
692
|
showBonusSelectionInput: this.showBonusSelectionInput
|
|
693
693
|
};
|
|
694
|
-
if (!(Object.values(e).some((
|
|
694
|
+
if (!(Object.values(e).some((o) => o === void 0) || !this.endpoint))
|
|
695
695
|
try {
|
|
696
|
-
const
|
|
696
|
+
const o = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, i = yield fetch(o, {
|
|
697
697
|
method: "POST",
|
|
698
698
|
headers: {
|
|
699
699
|
"X-Sessionid": this.session,
|
|
700
700
|
"Content-Type": "application/json",
|
|
701
|
-
"X-Client-Request-Timestamp":
|
|
701
|
+
"X-Client-Request-Timestamp": se.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
|
|
702
702
|
},
|
|
703
703
|
body: JSON.stringify(e)
|
|
704
704
|
});
|
|
@@ -719,26 +719,26 @@ const De = "user-deposit-withdrawal", re = [
|
|
|
719
719
|
const b = { type: "error", message: p };
|
|
720
720
|
window.postMessage({ type: "DenyDepositOrWithdrawal", data: b }, window.location.href);
|
|
721
721
|
}
|
|
722
|
-
} catch (
|
|
723
|
-
console.error(
|
|
722
|
+
} catch (o) {
|
|
723
|
+
console.error(o);
|
|
724
724
|
}
|
|
725
725
|
});
|
|
726
726
|
}
|
|
727
727
|
handleMessage(e) {
|
|
728
|
-
const
|
|
729
|
-
if (!
|
|
728
|
+
const o = this.extractPayload(e);
|
|
729
|
+
if (!o)
|
|
730
730
|
return;
|
|
731
|
-
this.applyLayoutHints(
|
|
732
|
-
const i = this.extractCashierRedirectReason(
|
|
731
|
+
this.applyLayoutHints(o);
|
|
732
|
+
const i = this.extractCashierRedirectReason(o);
|
|
733
733
|
if (!i || this.emitForwardedRedirect(e, i))
|
|
734
734
|
return;
|
|
735
735
|
const l = this.resolveRedirectPlan(i);
|
|
736
736
|
l && this.doRedirect(l.reason, l.targetUrl);
|
|
737
737
|
}
|
|
738
738
|
extractCashierRedirectReason(e) {
|
|
739
|
-
if (typeof (e == null ? void 0 : e.type) == "string" &&
|
|
739
|
+
if (typeof (e == null ? void 0 : e.type) == "string" && ne.includes(e.type))
|
|
740
740
|
return e.type;
|
|
741
|
-
if (typeof (e == null ? void 0 : e.redirect) == "string" &&
|
|
741
|
+
if (typeof (e == null ? void 0 : e.redirect) == "string" && ne.includes(e.redirect))
|
|
742
742
|
return e.redirect;
|
|
743
743
|
}
|
|
744
744
|
extractPayload(e) {
|
|
@@ -746,7 +746,10 @@ const De = "user-deposit-withdrawal", re = [
|
|
|
746
746
|
return e.data;
|
|
747
747
|
}
|
|
748
748
|
applyLayoutHints(e) {
|
|
749
|
-
e["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), e["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = e["MMFE:setQuickDepositHeight"].toString() + "px"), e["MMFE:setIFrameHeight"] && (this.dynamicHeight = e["MMFE:setIFrameHeight"].toString() + "px")
|
|
749
|
+
if (e["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), e["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = e["MMFE:setQuickDepositHeight"].toString() + "px"), e["MMFE:setIFrameHeight"] && (this.dynamicHeight = e["MMFE:setIFrameHeight"].toString() + "px"), e["MMFE:vendorRedirect"]) {
|
|
750
|
+
const o = e["MMFE:vendorRedirect"];
|
|
751
|
+
window.postMessage({ type: `${re}:mm-open-vendor`, url: o }, window.location.href);
|
|
752
|
+
}
|
|
750
753
|
}
|
|
751
754
|
resolveRedirectPlan(e) {
|
|
752
755
|
switch (e) {
|
|
@@ -766,23 +769,23 @@ const De = "user-deposit-withdrawal", re = [
|
|
|
766
769
|
return;
|
|
767
770
|
}
|
|
768
771
|
}
|
|
769
|
-
buildRedirectPlan(e,
|
|
770
|
-
if (
|
|
771
|
-
return { reason: e, targetUrl:
|
|
772
|
+
buildRedirectPlan(e, o) {
|
|
773
|
+
if (o)
|
|
774
|
+
return { reason: e, targetUrl: o };
|
|
772
775
|
}
|
|
773
|
-
emitForwardedRedirect(e,
|
|
776
|
+
emitForwardedRedirect(e, o) {
|
|
774
777
|
if (!this.forwardCashierRedirects)
|
|
775
778
|
return !1;
|
|
776
779
|
const i = {
|
|
777
|
-
type: `${
|
|
778
|
-
originalType:
|
|
780
|
+
type: `${re}:${o}`,
|
|
781
|
+
originalType: o,
|
|
779
782
|
payload: e.data,
|
|
780
783
|
origin: e.origin
|
|
781
784
|
};
|
|
782
785
|
return window.postMessage(i, window.location.href), !0;
|
|
783
786
|
}
|
|
784
|
-
doRedirect(e,
|
|
785
|
-
const i = { reason: e, url:
|
|
787
|
+
doRedirect(e, o) {
|
|
788
|
+
const i = { reason: e, url: o, cancel: !1 };
|
|
786
789
|
if (this.beforeRedirect(i), !i.cancel) {
|
|
787
790
|
if (!i.url) {
|
|
788
791
|
window.location.href = "/";
|
|
@@ -798,7 +801,7 @@ const De = "user-deposit-withdrawal", re = [
|
|
|
798
801
|
};
|
|
799
802
|
}
|
|
800
803
|
};
|
|
801
|
-
Ue.style =
|
|
804
|
+
Ue.style = De;
|
|
802
805
|
export {
|
|
803
806
|
Ue as user_deposit_withdrawal
|
|
804
807
|
};
|