@everymatrix/casino-header-controller 1.62.3 → 1.63.0
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-CRKRbnS1.cjs → CasinoHeaderController-0LpbLW0Q.cjs} +1 -1
- package/components/{CasinoHeaderController-B-BPTjQx.js → CasinoHeaderController-CdpOl1LK.js} +1 -1
- package/components/{CasinoHeaderController-CPWk1rYN.js → CasinoHeaderController-D4BjryHq.js} +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-BKQuom7L.js → index-1ef3a64c-BDvG-MQC.js} +1 -1
- package/stencil/{index-1ef3a64c-CA6VYINb.cjs → index-1ef3a64c-BxUAH8Hq.cjs} +1 -1
- package/stencil/{index-1ef3a64c-CMTTH4QO.js → index-1ef3a64c-Ckq7xpxR.js} +1 -1
- package/stencil/{user-deposit-withdrawal-jRWOVoij.cjs → user-deposit-withdrawal-BS3kJkIt.cjs} +19 -10
- package/stencil/{user-deposit-withdrawal-CIdBBp4F.js → user-deposit-withdrawal-BpOVmhyz.js} +109 -100
- package/stencil/{user-deposit-withdrawal-XUfhzxqt.js → user-deposit-withdrawal-uD34_HF-.js} +120 -111
@@ -1,11 +1,11 @@
|
|
1
|
-
import { b as ae, p as oe, r as se, h as
|
1
|
+
import { b as ae, p as oe, r as se, h as b, H as de } from "./index-1ef3a64c-BDvG-MQC.js";
|
2
2
|
import { g as ue } from "./app-globals-0f993ce5-D-kw1sls.js";
|
3
|
-
var
|
3
|
+
var le = () => {
|
4
4
|
const n = import.meta.url, h = {};
|
5
5
|
return n !== "" && (h.resourcesUrl = new URL(".", n).href), oe(h);
|
6
6
|
};
|
7
|
-
|
8
|
-
const
|
7
|
+
le().then(async (n) => (await ue(), ae([["user-deposit-withdrawal", [[1, "user-deposit-withdrawal", { mbSource: [513, "mb-source"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], endpoint: [513], type: [513], channel: [513], language: [513], productType: [513, "product-type"], userId: [513, "user-id"], session: [513], successUrl: [513, "success-url"], cancelUrl: [513, "cancel-url"], failUrl: [513, "fail-url"], sportsUrl: [513, "sports-url"], casinoUrl: [513, "casino-url"], contactUrl: [513, "contact-url"], depositUrl: [513, "deposit-url"], currency: [513], showBonusSelectionInput: [513, "show-bonus-selection-input"], isShortCashier: [516, "is-short-cashier"], homeUrl: [513, "home-url"], beforeRedirect: [16], dynamicHeight: [32], cashierInfoUrl: [32] }, null, { session: ["watchLoadWidget"], userId: ["watchLoadWidget"], isShortCashier: ["watchLoadWidget"], currency: ["watchLoadWidget"], showBonusSelectionInput: ["watchLoadWidget"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingChangeURL"] }]]]], n)));
|
8
|
+
const ce = "en", he = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], ee = {
|
9
9
|
en: {
|
10
10
|
Deposit: "Deposit",
|
11
11
|
Withdraw: "Withdraw",
|
@@ -107,14 +107,14 @@ const le = "en", he = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
|
|
107
107
|
}
|
108
108
|
}, fe = (n) => new Promise((h) => {
|
109
109
|
fetch(n).then((u) => u.json()).then((u) => {
|
110
|
-
Object.keys(u).forEach((
|
111
|
-
for (let m in u[
|
112
|
-
ee[
|
110
|
+
Object.keys(u).forEach((l) => {
|
111
|
+
for (let m in u[l])
|
112
|
+
ee[l][m] = u[l][m];
|
113
113
|
}), h(!0);
|
114
114
|
});
|
115
115
|
}), H = (n, h) => {
|
116
116
|
const u = h;
|
117
|
-
return ee[u !== void 0 && he.includes(u) ? u :
|
117
|
+
return ee[u !== void 0 && he.includes(u) ? u : ce][n];
|
118
118
|
};
|
119
119
|
function K(n, h) {
|
120
120
|
if (n) {
|
@@ -124,28 +124,28 @@ function K(n, h) {
|
|
124
124
|
}
|
125
125
|
function X(n, h) {
|
126
126
|
const u = new URL(h);
|
127
|
-
fetch(u.href).then((
|
127
|
+
fetch(u.href).then((l) => l.text()).then((l) => {
|
128
128
|
const m = document.createElement("style");
|
129
|
-
m.innerHTML =
|
130
|
-
}).catch((
|
131
|
-
console.error("There was an error while trying to load client styling from URL",
|
129
|
+
m.innerHTML = l, n && n.appendChild(m);
|
130
|
+
}).catch((l) => {
|
131
|
+
console.error("There was an error while trying to load client styling from URL", l);
|
132
132
|
});
|
133
133
|
}
|
134
134
|
function pe(n, h, u) {
|
135
135
|
if (window.emMessageBus) {
|
136
|
-
const
|
136
|
+
const l = document.createElement("style");
|
137
137
|
window.emMessageBus.subscribe(h, (m) => {
|
138
|
-
|
138
|
+
l.innerHTML = m, n && n.appendChild(l);
|
139
139
|
});
|
140
140
|
}
|
141
141
|
}
|
142
142
|
const me = (n) => !!(n.toLowerCase().match(/android/i) || n.toLowerCase().match(/blackberry|bb/i) || n.toLowerCase().match(/iphone|ipad|ipod/i) || n.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
143
143
|
var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, re = { exports: {} };
|
144
144
|
(function(n, h) {
|
145
|
-
(function(u,
|
146
|
-
n.exports =
|
145
|
+
(function(u, l) {
|
146
|
+
n.exports = l();
|
147
147
|
})(te, function() {
|
148
|
-
var u = 1e3,
|
148
|
+
var u = 1e3, l = 6e4, m = 36e5, L = "millisecond", v = "second", y = "minute", c = "hour", T = "day", q = "week", D = "month", N = "quarter", z = "year", x = "date", o = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(a) {
|
149
149
|
var r = ["th", "st", "nd", "rd"], e = a % 100;
|
150
150
|
return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
151
151
|
} }, U = function(a, r, e) {
|
@@ -157,45 +157,45 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
157
157
|
}, m: function a(r, e) {
|
158
158
|
if (r.date() < e.date())
|
159
159
|
return -a(e, r);
|
160
|
-
var i = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(i,
|
160
|
+
var i = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(i, D), s = e - t < 0, d = r.clone().add(i + (s ? -1 : 1), D);
|
161
161
|
return +(-(i + (e - t) / (s ? t - d : d - t)) || 0);
|
162
162
|
}, a: function(a) {
|
163
163
|
return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
|
164
164
|
}, p: function(a) {
|
165
|
-
return { M:
|
165
|
+
return { M: D, y: z, w: q, d: T, D: x, h: c, m: y, s: v, ms: L, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
|
166
166
|
}, u: function(a) {
|
167
167
|
return a === void 0;
|
168
|
-
} },
|
169
|
-
|
168
|
+
} }, E = "en", k = {};
|
169
|
+
k[E] = F;
|
170
170
|
var Y = "$isDayjsObject", B = function(a) {
|
171
171
|
return a instanceof Z || !(!a || !a[Y]);
|
172
|
-
},
|
172
|
+
}, O = function a(r, e, i) {
|
173
173
|
var t;
|
174
174
|
if (!r)
|
175
|
-
return
|
175
|
+
return E;
|
176
176
|
if (typeof r == "string") {
|
177
177
|
var s = r.toLowerCase();
|
178
|
-
|
178
|
+
k[s] && (t = s), e && (k[s] = e, t = s);
|
179
179
|
var d = r.split("-");
|
180
180
|
if (!t && d.length > 1)
|
181
181
|
return a(d[0]);
|
182
182
|
} else {
|
183
183
|
var p = r.name;
|
184
|
-
|
184
|
+
k[p] = r, t = p;
|
185
185
|
}
|
186
|
-
return !i && t && (
|
186
|
+
return !i && t && (E = t), t || !i && E;
|
187
187
|
}, w = function(a, r) {
|
188
188
|
if (B(a))
|
189
189
|
return a.clone();
|
190
190
|
var e = typeof r == "object" ? r : {};
|
191
191
|
return e.date = a, e.args = arguments, new Z(e);
|
192
192
|
}, f = G;
|
193
|
-
f.l =
|
193
|
+
f.l = O, f.i = B, f.w = function(a, r) {
|
194
194
|
return w(a, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
195
195
|
};
|
196
196
|
var Z = function() {
|
197
197
|
function a(e) {
|
198
|
-
this.$L =
|
198
|
+
this.$L = O(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[Y] = !0;
|
199
199
|
}
|
200
200
|
var r = a.prototype;
|
201
201
|
return r.parse = function(e) {
|
@@ -244,17 +244,17 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
244
244
|
return f.w(t.toDate()[R].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), t);
|
245
245
|
}, C = this.$W, S = this.$M, W = this.$D, P = "set" + (this.$u ? "UTC" : "");
|
246
246
|
switch (d) {
|
247
|
-
case
|
247
|
+
case z:
|
248
248
|
return s ? p(1, 0) : p(31, 11);
|
249
|
-
case
|
249
|
+
case D:
|
250
250
|
return s ? p(1, S) : p(0, S + 1);
|
251
251
|
case q:
|
252
252
|
var _ = this.$locale().weekStart || 0, A = (C < _ ? C + 7 : C) - _;
|
253
253
|
return p(s ? W - A : W + (6 - A), S);
|
254
254
|
case T:
|
255
|
-
case
|
255
|
+
case x:
|
256
256
|
return g(P + "Hours", 0);
|
257
|
-
case
|
257
|
+
case c:
|
258
258
|
return g(P + "Minutes", 1);
|
259
259
|
case y:
|
260
260
|
return g(P + "Seconds", 2);
|
@@ -266,10 +266,10 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
266
266
|
}, r.endOf = function(e) {
|
267
267
|
return this.startOf(e, !1);
|
268
268
|
}, r.$set = function(e, i) {
|
269
|
-
var t, s = f.p(e), d = "set" + (this.$u ? "UTC" : ""), p = (t = {}, t[T] = d + "Date", t[
|
270
|
-
if (s ===
|
271
|
-
var C = this.clone().set(
|
272
|
-
C.$d[p](g), C.init(), this.$d = C.set(
|
269
|
+
var t, s = f.p(e), d = "set" + (this.$u ? "UTC" : ""), p = (t = {}, t[T] = d + "Date", t[x] = d + "Date", t[D] = d + "Month", t[z] = d + "FullYear", t[c] = d + "Hours", t[y] = d + "Minutes", t[v] = d + "Seconds", t[L] = d + "Milliseconds", t)[s], g = s === T ? this.$D + (i - this.$W) : i;
|
270
|
+
if (s === D || s === z) {
|
271
|
+
var C = this.clone().set(x, 1);
|
272
|
+
C.$d[p](g), C.init(), this.$d = C.set(x, Math.min(this.$D, C.daysInMonth())).$d;
|
273
273
|
} else
|
274
274
|
p && this.$d[p](g);
|
275
275
|
return this.init(), this;
|
@@ -284,15 +284,15 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
284
284
|
var W = w(s);
|
285
285
|
return f.w(W.date(W.date() + Math.round(S * e)), s);
|
286
286
|
};
|
287
|
-
if (d ===
|
288
|
-
return this.set(
|
289
|
-
if (d ===
|
290
|
-
return this.set(
|
287
|
+
if (d === D)
|
288
|
+
return this.set(D, this.$M + e);
|
289
|
+
if (d === z)
|
290
|
+
return this.set(z, this.$y + e);
|
291
291
|
if (d === T)
|
292
292
|
return p(1);
|
293
293
|
if (d === q)
|
294
294
|
return p(7);
|
295
|
-
var g = (t = {}, t[y] =
|
295
|
+
var g = (t = {}, t[y] = l, t[c] = m, t[v] = u, t)[d] || 1, C = this.$d.getTime() + e * g;
|
296
296
|
return f.w(C, this);
|
297
297
|
}, r.subtract = function(e, i) {
|
298
298
|
return this.add(-1 * e, i);
|
@@ -366,14 +366,14 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
366
366
|
}, r.utcOffset = function() {
|
367
367
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
368
368
|
}, r.diff = function(e, i, t) {
|
369
|
-
var s, d = this, p = f.p(i), g = w(e), C = (g.utcOffset() - this.utcOffset()) *
|
369
|
+
var s, d = this, p = f.p(i), g = w(e), C = (g.utcOffset() - this.utcOffset()) * l, S = this - g, W = function() {
|
370
370
|
return f.m(d, g);
|
371
371
|
};
|
372
372
|
switch (p) {
|
373
|
-
case
|
373
|
+
case z:
|
374
374
|
s = W() / 12;
|
375
375
|
break;
|
376
|
-
case
|
376
|
+
case D:
|
377
377
|
s = W();
|
378
378
|
break;
|
379
379
|
case N:
|
@@ -385,11 +385,11 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
385
385
|
case T:
|
386
386
|
s = (S - C) / 864e5;
|
387
387
|
break;
|
388
|
-
case
|
388
|
+
case c:
|
389
389
|
s = S / m;
|
390
390
|
break;
|
391
391
|
case y:
|
392
|
-
s = S /
|
392
|
+
s = S / l;
|
393
393
|
break;
|
394
394
|
case v:
|
395
395
|
s = S / u;
|
@@ -399,13 +399,13 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
399
399
|
}
|
400
400
|
return t ? s : f.a(s);
|
401
401
|
}, r.daysInMonth = function() {
|
402
|
-
return this.endOf(
|
402
|
+
return this.endOf(D).$D;
|
403
403
|
}, r.$locale = function() {
|
404
|
-
return
|
404
|
+
return k[this.$L];
|
405
405
|
}, r.locale = function(e, i) {
|
406
406
|
if (!e)
|
407
407
|
return this.$L;
|
408
|
-
var t = this.clone(), s =
|
408
|
+
var t = this.clone(), s = O(e, i, !0);
|
409
409
|
return s && (t.$L = s), t;
|
410
410
|
}, r.clone = function() {
|
411
411
|
return f.w(this.$d, this);
|
@@ -419,59 +419,59 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
419
419
|
return this.$d.toUTCString();
|
420
420
|
}, a;
|
421
421
|
}(), Q = Z.prototype;
|
422
|
-
return w.prototype = Q, [["$ms", L], ["$s", v], ["$m", y], ["$H",
|
422
|
+
return w.prototype = Q, [["$ms", L], ["$s", v], ["$m", y], ["$H", c], ["$W", T], ["$M", D], ["$y", z], ["$D", x]].forEach(function(a) {
|
423
423
|
Q[a[1]] = function(r) {
|
424
424
|
return this.$g(r, a[0], a[1]);
|
425
425
|
};
|
426
426
|
}), w.extend = function(a, r) {
|
427
427
|
return a.$i || (a(r, Z, w), a.$i = !0), w;
|
428
|
-
}, w.locale =
|
428
|
+
}, w.locale = O, w.isDayjs = B, w.unix = function(a) {
|
429
429
|
return w(1e3 * a);
|
430
|
-
}, w.en =
|
430
|
+
}, w.en = k[E], w.Ls = k, w.p = {}, w;
|
431
431
|
});
|
432
432
|
})(re);
|
433
433
|
const ne = re.exports;
|
434
434
|
var ie = { exports: {} };
|
435
435
|
(function(n, h) {
|
436
|
-
(function(u,
|
437
|
-
n.exports =
|
436
|
+
(function(u, l) {
|
437
|
+
n.exports = l();
|
438
438
|
})(te, function() {
|
439
|
-
var u = "minute",
|
439
|
+
var u = "minute", l = /[+-]\d\d(?::?\d\d)?/g, m = /([+-]|\d\d)/g;
|
440
440
|
return function(L, v, y) {
|
441
|
-
var
|
441
|
+
var c = v.prototype;
|
442
442
|
y.utc = function(o) {
|
443
443
|
var M = { date: o, utc: !0, args: arguments };
|
444
444
|
return new v(M);
|
445
|
-
},
|
445
|
+
}, c.utc = function(o) {
|
446
446
|
var M = y(this.toDate(), { locale: this.$L, utc: !0 });
|
447
447
|
return o ? M.add(this.utcOffset(), u) : M;
|
448
|
-
},
|
448
|
+
}, c.local = function() {
|
449
449
|
return y(this.toDate(), { locale: this.$L, utc: !1 });
|
450
450
|
};
|
451
|
-
var T =
|
452
|
-
|
451
|
+
var T = c.parse;
|
452
|
+
c.parse = function(o) {
|
453
453
|
o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset), T.call(this, o);
|
454
454
|
};
|
455
|
-
var q =
|
456
|
-
|
455
|
+
var q = c.init;
|
456
|
+
c.init = function() {
|
457
457
|
if (this.$u) {
|
458
458
|
var o = this.$d;
|
459
459
|
this.$y = o.getUTCFullYear(), this.$M = o.getUTCMonth(), this.$D = o.getUTCDate(), this.$W = o.getUTCDay(), this.$H = o.getUTCHours(), this.$m = o.getUTCMinutes(), this.$s = o.getUTCSeconds(), this.$ms = o.getUTCMilliseconds();
|
460
460
|
} else
|
461
461
|
q.call(this);
|
462
462
|
};
|
463
|
-
var
|
464
|
-
|
463
|
+
var D = c.utcOffset;
|
464
|
+
c.utcOffset = function(o, M) {
|
465
465
|
var I = this.$utils().u;
|
466
466
|
if (I(o))
|
467
|
-
return this.$u ? 0 : I(this.$offset) ?
|
468
|
-
if (typeof o == "string" && (o = function(
|
469
|
-
|
470
|
-
var
|
471
|
-
if (!
|
467
|
+
return this.$u ? 0 : I(this.$offset) ? D.call(this) : this.$offset;
|
468
|
+
if (typeof o == "string" && (o = function(E) {
|
469
|
+
E === void 0 && (E = "");
|
470
|
+
var k = E.match(l);
|
471
|
+
if (!k)
|
472
472
|
return null;
|
473
|
-
var Y = ("" +
|
474
|
-
return
|
473
|
+
var Y = ("" + k[0]).match(m) || ["-", 0, 0], B = Y[0], O = 60 * +Y[1] + +Y[2];
|
474
|
+
return O === 0 ? 0 : B === "+" ? O : -O;
|
475
475
|
}(o), o === null))
|
476
476
|
return this;
|
477
477
|
var F = Math.abs(o) <= 16 ? 60 * o : o, U = this;
|
@@ -484,30 +484,30 @@ var ie = { exports: {} };
|
|
484
484
|
U = this.utc();
|
485
485
|
return U;
|
486
486
|
};
|
487
|
-
var N =
|
488
|
-
|
487
|
+
var N = c.format;
|
488
|
+
c.format = function(o) {
|
489
489
|
var M = o || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
490
490
|
return N.call(this, M);
|
491
|
-
},
|
491
|
+
}, c.valueOf = function() {
|
492
492
|
var o = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
493
493
|
return this.$d.valueOf() - 6e4 * o;
|
494
|
-
},
|
494
|
+
}, c.isUTC = function() {
|
495
495
|
return !!this.$u;
|
496
|
-
},
|
496
|
+
}, c.toISOString = function() {
|
497
497
|
return this.toDate().toISOString();
|
498
|
-
},
|
498
|
+
}, c.toString = function() {
|
499
499
|
return this.toDate().toUTCString();
|
500
500
|
};
|
501
|
-
var
|
502
|
-
|
503
|
-
return o === "s" && this.$offset ? y(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() :
|
501
|
+
var z = c.toDate;
|
502
|
+
c.toDate = function(o) {
|
503
|
+
return o === "s" && this.$offset ? y(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : z.call(this);
|
504
504
|
};
|
505
|
-
var
|
506
|
-
|
505
|
+
var x = c.diff;
|
506
|
+
c.diff = function(o, M, I) {
|
507
507
|
if (o && this.$u === o.$u)
|
508
|
-
return
|
508
|
+
return x.call(this, o, M, I);
|
509
509
|
var F = this.local(), U = y(o).local();
|
510
|
-
return
|
510
|
+
return x.call(F, U, M, I);
|
511
511
|
};
|
512
512
|
};
|
513
513
|
});
|
@@ -516,7 +516,7 @@ const ge = ie.exports, ye = `:host {
|
|
516
516
|
font: inherit;
|
517
517
|
display: block;
|
518
518
|
height: 100%;
|
519
|
-
|
519
|
+
container-type: inline-size;
|
520
520
|
}
|
521
521
|
|
522
522
|
.CategoryTitle {
|
@@ -548,21 +548,21 @@ const ge = ie.exports, ye = `:host {
|
|
548
548
|
width: 100%;
|
549
549
|
padding: 0;
|
550
550
|
margin: 0;
|
551
|
-
|
551
|
+
padding: 50px;
|
552
|
+
box-sizing: border-box;
|
553
|
+
overflow-y: scroll;
|
552
554
|
}
|
553
|
-
|
554
|
-
|
555
|
-
.DepositWithdrawalWrapper {
|
556
|
-
height: calc(100vh + 120px);
|
557
|
-
}
|
555
|
+
.DepositWithdrawalWrapper iframe {
|
556
|
+
border-width: 0;
|
558
557
|
}
|
558
|
+
|
559
559
|
.ShortCashier.DepositWithdrawalWrapper {
|
560
560
|
height: 500px;
|
561
561
|
}
|
562
562
|
.ShortCashier.CategoryTitle.CategoryTitle {
|
563
563
|
margin-right: 20px;
|
564
564
|
padding-top: 20px;
|
565
|
-
color:
|
565
|
+
color: var(--emw--color-black, #000000);
|
566
566
|
}
|
567
567
|
.ShortCashier .ErrorMessage {
|
568
568
|
margin: auto;
|
@@ -570,6 +570,15 @@ const ge = ie.exports, ye = `:host {
|
|
570
570
|
margin-top: 70px;
|
571
571
|
text-align: center;
|
572
572
|
color: var(--emw--color-black, #000000);
|
573
|
+
}
|
574
|
+
|
575
|
+
@container (max-width: 768px) {
|
576
|
+
.DepositWithdrawalWrapper {
|
577
|
+
padding: 20px 15px;
|
578
|
+
}
|
579
|
+
.DepositWithdrawalWrapper:not(.ShortCashier) {
|
580
|
+
overflow: visible;
|
581
|
+
}
|
573
582
|
}`, we = ye;
|
574
583
|
ne.extend(ge);
|
575
584
|
const Ce = () => {
|
@@ -606,7 +615,7 @@ const Ce = () => {
|
|
606
615
|
window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
607
616
|
}
|
608
617
|
render() {
|
609
|
-
return
|
618
|
+
return b(de, { key: "4963fd9b7ce608f13fd464996c085c29045fcd59" }, b("div", { key: "1fe503816ddb4f18d50545f0f627dd917e6f62ec", ref: (n) => this.stylingContainer = n }, !(this.isMobile && !this.isShortCashier) && b("h2", { key: "5bf653f70da5f95173a7dc2c7067d0968876b50a", class: "CategoryTitle" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), b("div", { key: "a0e2ce3c944e0fd3bdf2635ae0a5739125e55a33", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}`, style: { marginTop: this.isShortCashier ? "30px" : "0" } }, b("div", { key: "18b39cea4230ce3745a1859590be32835bb4538f" }, this.isMobile && !this.isShortCashier ? b("div", { class: "MenuReturnButton", onClick: () => this.toggleScreen(this.isMobile) }, b("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, b("defs", null), b("g", { transform: "translate(-20 -158)" }, b("g", { transform: "translate(20 158)" }, b("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), b("h2", { class: "CategoryTitleMobile" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? b("iframe", { width: "100%", height: this.dynamicHeight, src: this.cashierInfoUrl }) : b("h3", { class: "ErrorMessage" }, this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language)))));
|
610
619
|
}
|
611
620
|
async loadWidget() {
|
612
621
|
const n = {
|
@@ -635,13 +644,13 @@ const Ce = () => {
|
|
635
644
|
const m = await u.text();
|
636
645
|
throw new Error(m);
|
637
646
|
}
|
638
|
-
const
|
639
|
-
if (
|
640
|
-
this.cashierInfoUrl =
|
647
|
+
const l = await u.json();
|
648
|
+
if (l.CashierInfo)
|
649
|
+
this.cashierInfoUrl = l.CashierInfo.Url;
|
641
650
|
else {
|
642
651
|
let m;
|
643
|
-
if (
|
644
|
-
let v = this.errorCodes.find((y) =>
|
652
|
+
if (l.ResponseMessage) {
|
653
|
+
let v = this.errorCodes.find((y) => l.ResponseMessage.includes(y)) || null;
|
645
654
|
v ? m = H(`errorCode${v}`, this.language) : m = H("notFoundErrorCode", this.language);
|
646
655
|
} else
|
647
656
|
m = this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language);
|
@@ -653,8 +662,8 @@ const Ce = () => {
|
|
653
662
|
}
|
654
663
|
}
|
655
664
|
handleMessage(n) {
|
656
|
-
var h, u,
|
657
|
-
n.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), n.data["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = n.data["MMFE:setQuickDepositHeight"].toString() + "px"), n.data["MMFE:setIFrameHeight"] && (this.dynamicHeight = n.data["MMFE:setIFrameHeight"].toString() + "px"), ((h = n.data) === null || h === void 0 ? void 0 : h.type) === "mm-hcback-to-merchant" && this.doRedirect(n.data.type, this.homeUrl), ((u = n.data) === null || u === void 0 ? void 0 : u.redirect) === "mm-hc-back-tomerchant" && this.doRedirect(n.data.redirect, this.homeUrl), ((
|
665
|
+
var h, u, l, m, L, v, y, c;
|
666
|
+
n.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), n.data["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = n.data["MMFE:setQuickDepositHeight"].toString() + "px"), n.data["MMFE:setIFrameHeight"] && (this.dynamicHeight = n.data["MMFE:setIFrameHeight"].toString() + "px"), ((h = n.data) === null || h === void 0 ? void 0 : h.type) === "mm-hcback-to-merchant" && this.doRedirect(n.data.type, this.homeUrl), ((u = n.data) === null || u === void 0 ? void 0 : u.redirect) === "mm-hc-back-tomerchant" && this.doRedirect(n.data.redirect, this.homeUrl), ((l = n.data) === null || l === void 0 ? void 0 : l.redirect) === "mm-hc-sports" && this.doRedirect((m = n.data) === null || m === void 0 ? void 0 : m.redirect, this.sportsUrl), ((L = n.data) === null || L === void 0 ? void 0 : L.redirect) === "mm-hc-casino" && this.doRedirect(window.location.href, this.casinoUrl), ((v = n.data) === null || v === void 0 ? void 0 : v.redirect) === "mm-hc-contact" && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.contactUrl)), (((y = n.data) === null || y === void 0 ? void 0 : y.redirect) === "mm-wm-hc-init-deposit" || ((c = n.data) === null || c === void 0 ? void 0 : c.redirect) === "mm-wm-hc-init-deposit-quick") && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.depositUrl));
|
658
667
|
}
|
659
668
|
doRedirect(n, h) {
|
660
669
|
const u = { reason: n, url: h, cancel: !1 };
|