@everymatrix/casino-header-controller 1.73.0 → 1.73.2
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/{CasinoHeaderController-C4lwfdnG.js → CasinoHeaderController-B93M4aw1.js} +1 -1
- package/components/{CasinoHeaderController-DODYi6ZK.js → CasinoHeaderController-CYZRZqaB.js} +1 -1
- package/components/{CasinoHeaderController-2UDNeiX0.cjs → CasinoHeaderController-DsK84F6I.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-DP2aumdr.cjs → index-1ef3a64c-B8rbe1el.cjs} +1 -1
- package/stencil/{index-1ef3a64c-D5DD0Cbe.js → index-1ef3a64c-BEUZTO5_.js} +1 -1
- package/stencil/{index-1ef3a64c-CGvQUAPG.js → index-1ef3a64c-CbJ3YCKZ.js} +1 -1
- package/stencil/{user-deposit-withdrawal-B08HaFH9.cjs → user-deposit-withdrawal-6OV5s5L0.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-CyEQ6OOt.js → user-deposit-withdrawal-BhBUsaq0.js} +161 -171
- package/stencil/{user-deposit-withdrawal-mxMqvdwE.js → user-deposit-withdrawal-BmCnXlz0.js} +135 -145
@@ -1,27 +1,27 @@
|
|
1
1
|
var Q = (n, h, s) => new Promise((c, p) => {
|
2
|
-
var
|
2
|
+
var T = (l) => {
|
3
3
|
try {
|
4
|
-
|
5
|
-
} catch (
|
6
|
-
p(
|
4
|
+
y(s.next(l));
|
5
|
+
} catch (S) {
|
6
|
+
p(S);
|
7
7
|
}
|
8
8
|
}, w = (l) => {
|
9
9
|
try {
|
10
|
-
|
11
|
-
} catch (
|
12
|
-
p(
|
10
|
+
y(s.throw(l));
|
11
|
+
} catch (S) {
|
12
|
+
p(S);
|
13
13
|
}
|
14
|
-
},
|
15
|
-
|
14
|
+
}, y = (l) => l.done ? c(l.value) : Promise.resolve(l.value).then(T, w);
|
15
|
+
y((s = s.apply(n, h)).next());
|
16
16
|
});
|
17
|
-
import { b as oe, p as se, r as de, h as D, H as ue } from "./index-1ef3a64c-
|
17
|
+
import { b as oe, p as se, r as de, h as D, H as ue } from "./index-1ef3a64c-CbJ3YCKZ.js";
|
18
18
|
import { a as le } from "./app-globals-0f993ce5-B6nNHmA4.js";
|
19
19
|
var ce = () => {
|
20
20
|
const n = import.meta.url, h = {};
|
21
21
|
return n !== "" && (h.resourcesUrl = new URL(".", n).href), se(h);
|
22
22
|
};
|
23
23
|
ce().then((n) => Q(void 0, null, function* () {
|
24
|
-
return yield le(), 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, {
|
24
|
+
return yield le(), 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);
|
25
25
|
}));
|
26
26
|
const he = "en", fe = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], te = {
|
27
27
|
en: {
|
@@ -159,13 +159,13 @@ function me(n, h, s) {
|
|
159
159
|
});
|
160
160
|
}
|
161
161
|
}
|
162
|
-
const
|
162
|
+
const ye = (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));
|
163
163
|
var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ne = { exports: {} };
|
164
164
|
(function(n, h) {
|
165
165
|
(function(s, c) {
|
166
166
|
n.exports = c();
|
167
167
|
})(re, function() {
|
168
|
-
var s = 1e3, c = 6e4, p = 36e5,
|
168
|
+
var s = 1e3, c = 6e4, p = 36e5, T = "millisecond", w = "second", y = "minute", l = "hour", S = "day", P = "week", M = "month", N = "quarter", k = "year", L = "date", o = "Invalid Date", U = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, F = /\[([^\]]+)]|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, I = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(a) {
|
169
169
|
var r = ["th", "st", "nd", "rd"], e = a % 100;
|
170
170
|
return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
171
171
|
} }, W = function(a, r, e) {
|
@@ -182,11 +182,11 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
182
182
|
}, a: function(a) {
|
183
183
|
return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
|
184
184
|
}, p: function(a) {
|
185
|
-
return { M, y:
|
185
|
+
return { M, y: k, w: P, d: S, D: L, h: l, m: y, s: w, ms: T, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
|
186
186
|
}, u: function(a) {
|
187
187
|
return a === void 0;
|
188
|
-
} }, x = "en",
|
189
|
-
|
188
|
+
} }, x = "en", E = {};
|
189
|
+
E[x] = I;
|
190
190
|
var q = "$isDayjsObject", B = function(a) {
|
191
191
|
return a instanceof Z || !(!a || !a[q]);
|
192
192
|
}, O = function a(r, e, i) {
|
@@ -195,13 +195,13 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
195
195
|
return x;
|
196
196
|
if (typeof r == "string") {
|
197
197
|
var d = r.toLowerCase();
|
198
|
-
|
198
|
+
E[d] && (t = d), e && (E[d] = e, t = d);
|
199
199
|
var u = r.split("-");
|
200
200
|
if (!t && u.length > 1)
|
201
201
|
return a(u[0]);
|
202
202
|
} else {
|
203
203
|
var m = r.name;
|
204
|
-
|
204
|
+
E[m] = r, t = m;
|
205
205
|
}
|
206
206
|
return !i && t && (x = t), t || !i && x;
|
207
207
|
}, C = function(a, r) {
|
@@ -230,8 +230,8 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
230
230
|
if (typeof t == "string" && !/Z$/i.test(t)) {
|
231
231
|
var u = t.match(U);
|
232
232
|
if (u) {
|
233
|
-
var m = u[2] - 1 || 0,
|
234
|
-
return d ? new Date(Date.UTC(u[1], m, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0,
|
233
|
+
var m = u[2] - 1 || 0, g = (u[7] || "0").substring(0, 3);
|
234
|
+
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);
|
235
235
|
}
|
236
236
|
}
|
237
237
|
return new Date(t);
|
@@ -259,39 +259,39 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
259
259
|
}, r.startOf = function(e, i) {
|
260
260
|
var t = this, d = !!f.u(i) || i, u = f.p(e), m = function(R, b) {
|
261
261
|
var j = f.w(t.$u ? Date.UTC(t.$y, b, R) : new Date(t.$y, b, R), t);
|
262
|
-
return d ? j : j.endOf(
|
263
|
-
},
|
262
|
+
return d ? j : j.endOf(S);
|
263
|
+
}, g = function(R, b) {
|
264
264
|
return f.w(t.toDate()[R].apply(t.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(b)), t);
|
265
|
-
}, v = this.$W,
|
265
|
+
}, v = this.$W, $ = this.$M, z = this.$D, Y = "set" + (this.$u ? "UTC" : "");
|
266
266
|
switch (u) {
|
267
|
-
case
|
267
|
+
case k:
|
268
268
|
return d ? m(1, 0) : m(31, 11);
|
269
269
|
case M:
|
270
|
-
return d ? m(1,
|
270
|
+
return d ? m(1, $) : m(0, $ + 1);
|
271
271
|
case P:
|
272
272
|
var _ = this.$locale().weekStart || 0, A = (v < _ ? v + 7 : v) - _;
|
273
|
-
return m(d ?
|
274
|
-
case
|
275
|
-
case
|
276
|
-
return
|
273
|
+
return m(d ? z - A : z + (6 - A), $);
|
274
|
+
case S:
|
275
|
+
case L:
|
276
|
+
return g(Y + "Hours", 0);
|
277
277
|
case l:
|
278
|
-
return
|
279
|
-
case
|
280
|
-
return
|
278
|
+
return g(Y + "Minutes", 1);
|
279
|
+
case y:
|
280
|
+
return g(Y + "Seconds", 2);
|
281
281
|
case w:
|
282
|
-
return
|
282
|
+
return g(Y + "Milliseconds", 3);
|
283
283
|
default:
|
284
284
|
return this.clone();
|
285
285
|
}
|
286
286
|
}, r.endOf = function(e) {
|
287
287
|
return this.startOf(e, !1);
|
288
288
|
}, r.$set = function(e, i) {
|
289
|
-
var t, d = f.p(e), u = "set" + (this.$u ? "UTC" : ""), m = (t = {}, t[
|
290
|
-
if (d === M || d ===
|
291
|
-
var v = this.clone().set(
|
292
|
-
v.$d[m](
|
289
|
+
var t, d = f.p(e), u = "set" + (this.$u ? "UTC" : ""), m = (t = {}, t[S] = u + "Date", t[L] = u + "Date", t[M] = u + "Month", t[k] = u + "FullYear", t[l] = u + "Hours", t[y] = u + "Minutes", t[w] = u + "Seconds", t[T] = u + "Milliseconds", t)[d], g = d === S ? this.$D + (i - this.$W) : i;
|
290
|
+
if (d === M || d === k) {
|
291
|
+
var v = this.clone().set(L, 1);
|
292
|
+
v.$d[m](g), v.init(), this.$d = v.set(L, Math.min(this.$D, v.daysInMonth())).$d;
|
293
293
|
} else
|
294
|
-
m && this.$d[m](
|
294
|
+
m && this.$d[m](g);
|
295
295
|
return this.init(), this;
|
296
296
|
}, r.set = function(e, i) {
|
297
297
|
return this.clone().$set(e, i);
|
@@ -300,19 +300,19 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
300
300
|
}, r.add = function(e, i) {
|
301
301
|
var t, d = this;
|
302
302
|
e = Number(e);
|
303
|
-
var u = f.p(i), m = function(
|
304
|
-
var
|
305
|
-
return f.w(
|
303
|
+
var u = f.p(i), m = function($) {
|
304
|
+
var z = C(d);
|
305
|
+
return f.w(z.date(z.date() + Math.round($ * e)), d);
|
306
306
|
};
|
307
307
|
if (u === M)
|
308
308
|
return this.set(M, this.$M + e);
|
309
|
-
if (u ===
|
310
|
-
return this.set(
|
311
|
-
if (u ===
|
309
|
+
if (u === k)
|
310
|
+
return this.set(k, this.$y + e);
|
311
|
+
if (u === S)
|
312
312
|
return m(1);
|
313
313
|
if (u === P)
|
314
314
|
return m(7);
|
315
|
-
var
|
315
|
+
var g = (t = {}, t[y] = c, t[l] = p, t[w] = s, t)[u] || 1, v = this.$d.getTime() + e * g;
|
316
316
|
return f.w(v, this);
|
317
317
|
}, r.subtract = function(e, i) {
|
318
318
|
return this.add(-1 * e, i);
|
@@ -320,7 +320,7 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
320
320
|
var i = this, t = this.$locale();
|
321
321
|
if (!this.isValid())
|
322
322
|
return t.invalidDate || o;
|
323
|
-
var d = e || "YYYY-MM-DDTHH:mm:ssZ", u = f.z(this), m = this.$H,
|
323
|
+
var d = e || "YYYY-MM-DDTHH:mm:ssZ", u = f.z(this), m = this.$H, g = this.$m, v = this.$M, $ = t.weekdays, z = t.months, Y = t.meridiem, _ = function(b, j, V, J) {
|
324
324
|
return b && (b[j] || b(i, d)) || V[j].slice(0, J);
|
325
325
|
}, A = function(b) {
|
326
326
|
return f.s(m % 12 || 12, b, "0");
|
@@ -328,7 +328,7 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
328
328
|
var J = b < 12 ? "AM" : "PM";
|
329
329
|
return V ? J.toLowerCase() : J;
|
330
330
|
};
|
331
|
-
return d.replace(
|
331
|
+
return d.replace(F, function(b, j) {
|
332
332
|
return j || function(V) {
|
333
333
|
switch (V) {
|
334
334
|
case "YY":
|
@@ -340,9 +340,9 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
340
340
|
case "MM":
|
341
341
|
return f.s(v + 1, 2, "0");
|
342
342
|
case "MMM":
|
343
|
-
return _(t.monthsShort, v,
|
343
|
+
return _(t.monthsShort, v, z, 3);
|
344
344
|
case "MMMM":
|
345
|
-
return _(
|
345
|
+
return _(z, v);
|
346
346
|
case "D":
|
347
347
|
return i.$D;
|
348
348
|
case "DD":
|
@@ -350,11 +350,11 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
350
350
|
case "d":
|
351
351
|
return String(i.$W);
|
352
352
|
case "dd":
|
353
|
-
return _(t.weekdaysMin, i.$W,
|
353
|
+
return _(t.weekdaysMin, i.$W, $, 2);
|
354
354
|
case "ddd":
|
355
|
-
return _(t.weekdaysShort, i.$W,
|
355
|
+
return _(t.weekdaysShort, i.$W, $, 3);
|
356
356
|
case "dddd":
|
357
|
-
return
|
357
|
+
return $[i.$W];
|
358
358
|
case "H":
|
359
359
|
return String(m);
|
360
360
|
case "HH":
|
@@ -364,13 +364,13 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
364
364
|
case "hh":
|
365
365
|
return A(2);
|
366
366
|
case "a":
|
367
|
-
return R(m,
|
367
|
+
return R(m, g, !0);
|
368
368
|
case "A":
|
369
|
-
return R(m,
|
369
|
+
return R(m, g, !1);
|
370
370
|
case "m":
|
371
|
-
return String(
|
371
|
+
return String(g);
|
372
372
|
case "mm":
|
373
|
-
return f.s(
|
373
|
+
return f.s(g, 2, "0");
|
374
374
|
case "s":
|
375
375
|
return String(i.$s);
|
376
376
|
case "ss":
|
@@ -386,42 +386,42 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
386
386
|
}, r.utcOffset = function() {
|
387
387
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
388
388
|
}, r.diff = function(e, i, t) {
|
389
|
-
var d, u = this, m = f.p(i),
|
390
|
-
return f.m(u,
|
389
|
+
var d, u = this, m = f.p(i), g = C(e), v = (g.utcOffset() - this.utcOffset()) * c, $ = this - g, z = function() {
|
390
|
+
return f.m(u, g);
|
391
391
|
};
|
392
392
|
switch (m) {
|
393
|
-
case
|
394
|
-
d =
|
393
|
+
case k:
|
394
|
+
d = z() / 12;
|
395
395
|
break;
|
396
396
|
case M:
|
397
|
-
d =
|
397
|
+
d = z();
|
398
398
|
break;
|
399
399
|
case N:
|
400
|
-
d =
|
400
|
+
d = z() / 3;
|
401
401
|
break;
|
402
402
|
case P:
|
403
|
-
d = (
|
403
|
+
d = ($ - v) / 6048e5;
|
404
404
|
break;
|
405
|
-
case
|
406
|
-
d = (
|
405
|
+
case S:
|
406
|
+
d = ($ - v) / 864e5;
|
407
407
|
break;
|
408
408
|
case l:
|
409
|
-
d =
|
409
|
+
d = $ / p;
|
410
410
|
break;
|
411
|
-
case
|
412
|
-
d =
|
411
|
+
case y:
|
412
|
+
d = $ / c;
|
413
413
|
break;
|
414
414
|
case w:
|
415
|
-
d =
|
415
|
+
d = $ / s;
|
416
416
|
break;
|
417
417
|
default:
|
418
|
-
d =
|
418
|
+
d = $;
|
419
419
|
}
|
420
420
|
return t ? d : f.a(d);
|
421
421
|
}, r.daysInMonth = function() {
|
422
422
|
return this.endOf(M).$D;
|
423
423
|
}, r.$locale = function() {
|
424
|
-
return
|
424
|
+
return E[this.$L];
|
425
425
|
}, r.locale = function(e, i) {
|
426
426
|
if (!e)
|
427
427
|
return this.$L;
|
@@ -439,7 +439,7 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
439
439
|
return this.$d.toUTCString();
|
440
440
|
}, a;
|
441
441
|
}(), K = Z.prototype;
|
442
|
-
return C.prototype = K, [["$ms",
|
442
|
+
return C.prototype = K, [["$ms", T], ["$s", w], ["$m", y], ["$H", l], ["$W", S], ["$M", M], ["$y", k], ["$D", L]].forEach(function(a) {
|
443
443
|
K[a[1]] = function(r) {
|
444
444
|
return this.$g(r, a[0], a[1]);
|
445
445
|
};
|
@@ -447,7 +447,7 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
447
447
|
return a.$i || (a(r, Z, C), a.$i = !0), C;
|
448
448
|
}, C.locale = O, C.isDayjs = B, C.unix = function(a) {
|
449
449
|
return C(1e3 * a);
|
450
|
-
}, C.en =
|
450
|
+
}, C.en = E[x], C.Ls = E, C.p = {}, C;
|
451
451
|
});
|
452
452
|
})(ne);
|
453
453
|
const ie = ne.exports;
|
@@ -457,20 +457,20 @@ var ae = { exports: {} };
|
|
457
457
|
n.exports = c();
|
458
458
|
})(re, function() {
|
459
459
|
var s = "minute", c = /[+-]\d\d(?::?\d\d)?/g, p = /([+-]|\d\d)/g;
|
460
|
-
return function(
|
460
|
+
return function(T, w, y) {
|
461
461
|
var l = w.prototype;
|
462
|
-
|
462
|
+
y.utc = function(o) {
|
463
463
|
var U = { date: o, utc: !0, args: arguments };
|
464
464
|
return new w(U);
|
465
465
|
}, l.utc = function(o) {
|
466
|
-
var U =
|
466
|
+
var U = y(this.toDate(), { locale: this.$L, utc: !0 });
|
467
467
|
return o ? U.add(this.utcOffset(), s) : U;
|
468
468
|
}, l.local = function() {
|
469
|
-
return
|
469
|
+
return y(this.toDate(), { locale: this.$L, utc: !1 });
|
470
470
|
};
|
471
|
-
var
|
471
|
+
var S = l.parse;
|
472
472
|
l.parse = function(o) {
|
473
|
-
o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset),
|
473
|
+
o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset), S.call(this, o);
|
474
474
|
};
|
475
475
|
var P = l.init;
|
476
476
|
l.init = function() {
|
@@ -482,24 +482,24 @@ var ae = { exports: {} };
|
|
482
482
|
};
|
483
483
|
var M = l.utcOffset;
|
484
484
|
l.utcOffset = function(o, U) {
|
485
|
-
var
|
486
|
-
if (
|
487
|
-
return this.$u ? 0 :
|
485
|
+
var F = this.$utils().u;
|
486
|
+
if (F(o))
|
487
|
+
return this.$u ? 0 : F(this.$offset) ? M.call(this) : this.$offset;
|
488
488
|
if (typeof o == "string" && (o = function(x) {
|
489
489
|
x === void 0 && (x = "");
|
490
|
-
var
|
491
|
-
if (!
|
490
|
+
var E = x.match(c);
|
491
|
+
if (!E)
|
492
492
|
return null;
|
493
|
-
var q = ("" +
|
493
|
+
var q = ("" + E[0]).match(p) || ["-", 0, 0], B = q[0], O = 60 * +q[1] + +q[2];
|
494
494
|
return O === 0 ? 0 : B === "+" ? O : -O;
|
495
495
|
}(o), o === null))
|
496
496
|
return this;
|
497
|
-
var
|
497
|
+
var I = Math.abs(o) <= 16 ? 60 * o : o, W = this;
|
498
498
|
if (U)
|
499
|
-
return W.$offset =
|
499
|
+
return W.$offset = I, W.$u = o === 0, W;
|
500
500
|
if (o !== 0) {
|
501
501
|
var G = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
502
|
-
(W = this.local().add(
|
502
|
+
(W = this.local().add(I + G, s)).$offset = I, W.$x.$localOffset = G;
|
503
503
|
} else
|
504
504
|
W = this.utc();
|
505
505
|
return W;
|
@@ -518,21 +518,21 @@ var ae = { exports: {} };
|
|
518
518
|
}, l.toString = function() {
|
519
519
|
return this.toDate().toUTCString();
|
520
520
|
};
|
521
|
-
var
|
521
|
+
var k = l.toDate;
|
522
522
|
l.toDate = function(o) {
|
523
|
-
return o === "s" && this.$offset ?
|
523
|
+
return o === "s" && this.$offset ? y(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : k.call(this);
|
524
524
|
};
|
525
|
-
var
|
526
|
-
l.diff = function(o, U,
|
525
|
+
var L = l.diff;
|
526
|
+
l.diff = function(o, U, F) {
|
527
527
|
if (o && this.$u === o.$u)
|
528
|
-
return
|
529
|
-
var
|
530
|
-
return
|
528
|
+
return L.call(this, o, U, F);
|
529
|
+
var I = this.local(), W = y(o).local();
|
530
|
+
return L.call(I, W, U, F);
|
531
531
|
};
|
532
532
|
};
|
533
533
|
});
|
534
534
|
})(ae);
|
535
|
-
const
|
535
|
+
const ge = ae.exports, we = `:host {
|
536
536
|
font: inherit;
|
537
537
|
display: block;
|
538
538
|
height: 100%;
|
@@ -604,13 +604,13 @@ const ye = ae.exports, we = `:host {
|
|
604
604
|
overflow: visible;
|
605
605
|
}
|
606
606
|
}`, Ce = we;
|
607
|
-
ie.extend(
|
607
|
+
ie.extend(ge);
|
608
608
|
const ve = () => {
|
609
|
-
},
|
609
|
+
}, $e = class {
|
610
610
|
constructor(n) {
|
611
|
-
de(this, n), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile =
|
611
|
+
de(this, n), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = ye(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.toggleScreen = () => {
|
612
612
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
|
613
|
-
}, 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 =
|
613
|
+
}, 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 = ve, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
|
614
614
|
}
|
615
615
|
get typeParameter() {
|
616
616
|
if (this.type === "deposit")
|
@@ -618,9 +618,6 @@ const ve = () => {
|
|
618
618
|
if (this.type === "withdraw")
|
619
619
|
return "Withdraw";
|
620
620
|
}
|
621
|
-
watchLoadWidget() {
|
622
|
-
this.loadWidget();
|
623
|
-
}
|
624
621
|
handleClientStylingChange(n, h) {
|
625
622
|
n != h && X(this.stylingContainer, this.clientStyling);
|
626
623
|
}
|
@@ -640,12 +637,10 @@ const ve = () => {
|
|
640
637
|
window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
641
638
|
}
|
642
639
|
render() {
|
643
|
-
return D(ue, { key: "
|
640
|
+
return D(ue, { key: "4c6783c9cccc65e31901eb8755729147da7c3771" }, D("div", { key: "cceae92ea2c7fb63f2de79e0d8748b7847c67842", ref: (n) => this.stylingContainer = n, class: "" }, D("div", { key: "5171e7159682058314022e47d93d4d20b377d7e1", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}` }, !(this.isMobile && !this.isShortCashier) && D("h2", { key: "9d517ae70d3f6a654ffaff66d86d19c4259fa679", class: "CategoryTitle" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), D("div", { key: "97c991c8a18e44e50307a9bd3de11f446783a630", style: { marginTop: this.isShortCashier ? "30px" : "0" } }, this.isMobile && !this.isShortCashier ? D("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, D("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, D("defs", null), D("g", { transform: "translate(-20 -158)" }, D("g", { transform: "translate(20 158)" }, D("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)" })))), D("h2", { class: "CategoryTitleMobile" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? D("iframe", { width: "100%", height: this.dynamicHeight, src: this.cashierInfoUrl }) : D("h3", { innerHTML: this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language), class: "ErrorMessage" }))));
|
644
641
|
}
|
645
642
|
loadWidget() {
|
646
643
|
return Q(this, null, function* () {
|
647
|
-
if (!this.endpoint)
|
648
|
-
return;
|
649
644
|
const n = {
|
650
645
|
Channel: this.channel,
|
651
646
|
Type: this.typeParameter,
|
@@ -658,41 +653,42 @@ const ve = () => {
|
|
658
653
|
currency: this.currency,
|
659
654
|
showBonusSelectionInput: this.showBonusSelectionInput
|
660
655
|
};
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
656
|
+
if (!(Object.values(n).some((h) => h === void 0) || !this.endpoint))
|
657
|
+
try {
|
658
|
+
const h = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, s = yield fetch(h, {
|
659
|
+
method: "POST",
|
660
|
+
headers: {
|
661
|
+
"X-Sessionid": this.session,
|
662
|
+
"Content-Type": "application/json",
|
663
|
+
"X-Client-Request-Timestamp": ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
|
664
|
+
},
|
665
|
+
body: JSON.stringify(n)
|
666
|
+
});
|
667
|
+
if (!s.ok) {
|
668
|
+
const p = yield s.text();
|
669
|
+
throw new Error(p);
|
670
|
+
}
|
671
|
+
const c = yield s.json();
|
672
|
+
if (c.CashierInfo)
|
673
|
+
this.cashierInfoUrl = c.CashierInfo.Url;
|
674
|
+
else {
|
675
|
+
let p;
|
676
|
+
if (c.ResponseMessage) {
|
677
|
+
let w = this.errorCodes.find((y) => c.ResponseMessage.includes(y)) || null;
|
678
|
+
w ? p = H(`errorCode${w}`, this.language) : p = H("notFoundErrorCode", this.language);
|
679
|
+
} else
|
680
|
+
p = this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language);
|
681
|
+
const T = { type: "error", message: p };
|
682
|
+
window.postMessage({ type: "DenyDepositOrWithdrawal", data: T }, window.location.href);
|
683
|
+
}
|
684
|
+
} catch (h) {
|
685
|
+
console.error(h);
|
687
686
|
}
|
688
|
-
} catch (h) {
|
689
|
-
console.error(h);
|
690
|
-
}
|
691
687
|
});
|
692
688
|
}
|
693
689
|
handleMessage(n) {
|
694
|
-
var h, s, c, p,
|
695
|
-
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), ((
|
690
|
+
var h, s, c, p, T, w, y, l;
|
691
|
+
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), ((w = n.data) === null || w === void 0 ? void 0 : w.redirect) === "mm-hc-contact" && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.contactUrl)), (((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));
|
696
692
|
}
|
697
693
|
doRedirect(n, h) {
|
698
694
|
const s = { reason: n, url: h, cancel: !1 };
|
@@ -706,18 +702,12 @@ const ve = () => {
|
|
706
702
|
}
|
707
703
|
static get watchers() {
|
708
704
|
return {
|
709
|
-
session: ["watchLoadWidget"],
|
710
|
-
userId: ["watchLoadWidget"],
|
711
|
-
isShortCashier: ["watchLoadWidget"],
|
712
|
-
currency: ["watchLoadWidget"],
|
713
|
-
showBonusSelectionInput: ["watchLoadWidget"],
|
714
|
-
endpoint: ["watchLoadWidget"],
|
715
705
|
clientStyling: ["handleClientStylingChange"],
|
716
706
|
clientStylingUrl: ["handleClientStylingChangeURL"]
|
717
707
|
};
|
718
708
|
}
|
719
709
|
};
|
720
|
-
|
710
|
+
$e.style = Ce;
|
721
711
|
export {
|
722
|
-
|
712
|
+
$e as user_deposit_withdrawal
|
723
713
|
};
|