@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.
@@ -1,27 +1,27 @@
1
- var Q = (n, h, s) => new Promise((l, p) => {
2
- var L = (c) => {
1
+ var Q = (n, h, s) => new Promise((c, p) => {
2
+ var L = (l) => {
3
3
  try {
4
- g(s.next(c));
4
+ g(s.next(l));
5
5
  } catch ($) {
6
6
  p($);
7
7
  }
8
- }, w = (c) => {
8
+ }, w = (l) => {
9
9
  try {
10
- g(s.throw(c));
10
+ g(s.throw(l));
11
11
  } catch ($) {
12
12
  p($);
13
13
  }
14
- }, g = (c) => c.done ? l(c.value) : Promise.resolve(c.value).then(L, w);
14
+ }, g = (l) => l.done ? c(l.value) : Promise.resolve(l.value).then(L, w);
15
15
  g((s = s.apply(n, h)).next());
16
16
  });
17
- import { b as oe, p as se, r as de, h as b, H as ue } from "./index-1ef3a64c-CMTTH4QO.js";
18
- import { g as ce } from "./app-globals-0f993ce5-D-kw1sls.js";
19
- var le = () => {
17
+ import { b as oe, p as se, r as de, h as D, H as ue } from "./index-1ef3a64c-Ckq7xpxR.js";
18
+ import { g as le } from "./app-globals-0f993ce5-D-kw1sls.js";
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
- le().then((n) => Q(void 0, null, function* () {
24
- return yield ce(), oe([["user-deposit-withdrawal", [[1, "user-deposit-withdrawal", { mbSource: [513, "mb-source"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], endpoint: [513], type: [513], channel: [513], language: [513], productType: [513, "product-type"], userId: [513, "user-id"], session: [513], successUrl: [513, "success-url"], cancelUrl: [513, "cancel-url"], failUrl: [513, "fail-url"], sportsUrl: [513, "sports-url"], casinoUrl: [513, "casino-url"], contactUrl: [513, "contact-url"], depositUrl: [513, "deposit-url"], currency: [513], showBonusSelectionInput: [513, "show-bonus-selection-input"], isShortCashier: [516, "is-short-cashier"], homeUrl: [513, "home-url"], beforeRedirect: [16], dynamicHeight: [32], cashierInfoUrl: [32] }, null, { session: ["watchLoadWidget"], userId: ["watchLoadWidget"], isShortCashier: ["watchLoadWidget"], currency: ["watchLoadWidget"], showBonusSelectionInput: ["watchLoadWidget"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingChangeURL"] }]]]], n);
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, { session: ["watchLoadWidget"], userId: ["watchLoadWidget"], isShortCashier: ["watchLoadWidget"], currency: ["watchLoadWidget"], showBonusSelectionInput: ["watchLoadWidget"], 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: {
@@ -125,9 +125,9 @@ const he = "en", fe = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
125
125
  }
126
126
  }, pe = (n) => new Promise((h) => {
127
127
  fetch(n).then((s) => s.json()).then((s) => {
128
- Object.keys(s).forEach((l) => {
129
- for (let p in s[l])
130
- te[l][p] = s[l][p];
128
+ Object.keys(s).forEach((c) => {
129
+ for (let p in s[c])
130
+ te[c][p] = s[c][p];
131
131
  }), h(!0);
132
132
  });
133
133
  }), H = (n, h) => {
@@ -142,28 +142,28 @@ function X(n, h) {
142
142
  }
143
143
  function ee(n, h) {
144
144
  const s = new URL(h);
145
- fetch(s.href).then((l) => l.text()).then((l) => {
145
+ fetch(s.href).then((c) => c.text()).then((c) => {
146
146
  const p = document.createElement("style");
147
- p.innerHTML = l, n && n.appendChild(p);
148
- }).catch((l) => {
149
- console.error("There was an error while trying to load client styling from URL", l);
147
+ p.innerHTML = c, n && n.appendChild(p);
148
+ }).catch((c) => {
149
+ console.error("There was an error while trying to load client styling from URL", c);
150
150
  });
151
151
  }
152
152
  function me(n, h, s) {
153
153
  if (window.emMessageBus) {
154
- const l = document.createElement("style");
154
+ const c = document.createElement("style");
155
155
  window.emMessageBus.subscribe(h, (p) => {
156
- l.innerHTML = p, n && n.appendChild(l);
156
+ c.innerHTML = p, n && n.appendChild(c);
157
157
  });
158
158
  }
159
159
  }
160
160
  const ge = (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));
161
161
  var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ne = { exports: {} };
162
162
  (function(n, h) {
163
- (function(s, l) {
164
- n.exports = l();
163
+ (function(s, c) {
164
+ n.exports = c();
165
165
  })(re, function() {
166
- var s = 1e3, l = 6e4, p = 36e5, L = "millisecond", w = "second", g = "minute", c = "hour", $ = "day", q = "week", M = "month", N = "quarter", k = "year", E = "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+)?$/, 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) {
166
+ var s = 1e3, c = 6e4, p = 36e5, L = "millisecond", w = "second", g = "minute", l = "hour", $ = "day", q = "week", M = "month", N = "quarter", z = "year", x = "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+)?$/, 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) {
167
167
  var r = ["th", "st", "nd", "rd"], e = a % 100;
168
168
  return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
169
169
  } }, W = function(a, r, e) {
@@ -180,40 +180,40 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
180
180
  }, a: function(a) {
181
181
  return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
182
182
  }, p: function(a) {
183
- return { M, y: k, w: q, d: $, D: E, h: c, m: g, s: w, ms: L, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
183
+ return { M, y: z, w: q, d: $, D: x, h: l, m: g, s: w, ms: L, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
184
184
  }, u: function(a) {
185
185
  return a === void 0;
186
- } }, O = "en", z = {};
187
- z[O] = F;
186
+ } }, E = "en", k = {};
187
+ k[E] = F;
188
188
  var Y = "$isDayjsObject", B = function(a) {
189
189
  return a instanceof Z || !(!a || !a[Y]);
190
- }, x = function a(r, e, i) {
190
+ }, O = function a(r, e, i) {
191
191
  var t;
192
192
  if (!r)
193
- return O;
193
+ return E;
194
194
  if (typeof r == "string") {
195
195
  var d = r.toLowerCase();
196
- z[d] && (t = d), e && (z[d] = e, t = d);
196
+ k[d] && (t = d), e && (k[d] = e, t = d);
197
197
  var u = r.split("-");
198
198
  if (!t && u.length > 1)
199
199
  return a(u[0]);
200
200
  } else {
201
201
  var m = r.name;
202
- z[m] = r, t = m;
202
+ k[m] = r, t = m;
203
203
  }
204
- return !i && t && (O = t), t || !i && O;
204
+ return !i && t && (E = t), t || !i && E;
205
205
  }, C = function(a, r) {
206
206
  if (B(a))
207
207
  return a.clone();
208
208
  var e = typeof r == "object" ? r : {};
209
209
  return e.date = a, e.args = arguments, new Z(e);
210
210
  }, f = G;
211
- f.l = x, f.i = B, f.w = function(a, r) {
211
+ f.l = O, f.i = B, f.w = function(a, r) {
212
212
  return C(a, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
213
213
  };
214
214
  var Z = function() {
215
215
  function a(e) {
216
- this.$L = x(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[Y] = !0;
216
+ this.$L = O(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[Y] = !0;
217
217
  }
218
218
  var r = a.prototype;
219
219
  return r.parse = function(e) {
@@ -255,14 +255,14 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
255
255
  }, r.valueOf = function() {
256
256
  return this.$d.getTime();
257
257
  }, r.startOf = function(e, i) {
258
- var t = this, d = !!f.u(i) || i, u = f.p(e), m = function(R, D) {
259
- var j = f.w(t.$u ? Date.UTC(t.$y, D, R) : new Date(t.$y, D, R), t);
258
+ var t = this, d = !!f.u(i) || i, u = f.p(e), m = function(R, b) {
259
+ var j = f.w(t.$u ? Date.UTC(t.$y, b, R) : new Date(t.$y, b, R), t);
260
260
  return d ? j : j.endOf($);
261
- }, y = function(R, D) {
262
- return f.w(t.toDate()[R].apply(t.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(D)), t);
261
+ }, y = function(R, b) {
262
+ return f.w(t.toDate()[R].apply(t.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(b)), t);
263
263
  }, v = this.$W, S = this.$M, T = this.$D, P = "set" + (this.$u ? "UTC" : "");
264
264
  switch (u) {
265
- case k:
265
+ case z:
266
266
  return d ? m(1, 0) : m(31, 11);
267
267
  case M:
268
268
  return d ? m(1, S) : m(0, S + 1);
@@ -270,9 +270,9 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
270
270
  var _ = this.$locale().weekStart || 0, A = (v < _ ? v + 7 : v) - _;
271
271
  return m(d ? T - A : T + (6 - A), S);
272
272
  case $:
273
- case E:
273
+ case x:
274
274
  return y(P + "Hours", 0);
275
- case c:
275
+ case l:
276
276
  return y(P + "Minutes", 1);
277
277
  case g:
278
278
  return y(P + "Seconds", 2);
@@ -284,10 +284,10 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
284
284
  }, r.endOf = function(e) {
285
285
  return this.startOf(e, !1);
286
286
  }, r.$set = function(e, i) {
287
- var t, d = f.p(e), u = "set" + (this.$u ? "UTC" : ""), m = (t = {}, t[$] = u + "Date", t[E] = u + "Date", t[M] = u + "Month", t[k] = u + "FullYear", t[c] = u + "Hours", t[g] = u + "Minutes", t[w] = u + "Seconds", t[L] = u + "Milliseconds", t)[d], y = d === $ ? this.$D + (i - this.$W) : i;
288
- if (d === M || d === k) {
289
- var v = this.clone().set(E, 1);
290
- v.$d[m](y), v.init(), this.$d = v.set(E, Math.min(this.$D, v.daysInMonth())).$d;
287
+ var t, d = f.p(e), u = "set" + (this.$u ? "UTC" : ""), m = (t = {}, t[$] = u + "Date", t[x] = u + "Date", t[M] = u + "Month", t[z] = u + "FullYear", t[l] = u + "Hours", t[g] = u + "Minutes", t[w] = u + "Seconds", t[L] = u + "Milliseconds", t)[d], y = d === $ ? this.$D + (i - this.$W) : i;
288
+ if (d === M || d === z) {
289
+ var v = this.clone().set(x, 1);
290
+ v.$d[m](y), v.init(), this.$d = v.set(x, Math.min(this.$D, v.daysInMonth())).$d;
291
291
  } else
292
292
  m && this.$d[m](y);
293
293
  return this.init(), this;
@@ -304,13 +304,13 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
304
304
  };
305
305
  if (u === M)
306
306
  return this.set(M, this.$M + e);
307
- if (u === k)
308
- return this.set(k, this.$y + e);
307
+ if (u === z)
308
+ return this.set(z, this.$y + e);
309
309
  if (u === $)
310
310
  return m(1);
311
311
  if (u === q)
312
312
  return m(7);
313
- var y = (t = {}, t[g] = l, t[c] = p, t[w] = s, t)[u] || 1, v = this.$d.getTime() + e * y;
313
+ var y = (t = {}, t[g] = c, t[l] = p, t[w] = s, t)[u] || 1, v = this.$d.getTime() + e * y;
314
314
  return f.w(v, this);
315
315
  }, r.subtract = function(e, i) {
316
316
  return this.add(-1 * e, i);
@@ -318,15 +318,15 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
318
318
  var i = this, t = this.$locale();
319
319
  if (!this.isValid())
320
320
  return t.invalidDate || o;
321
- var d = e || "YYYY-MM-DDTHH:mm:ssZ", u = f.z(this), m = this.$H, y = this.$m, v = this.$M, S = t.weekdays, T = t.months, P = t.meridiem, _ = function(D, j, V, J) {
322
- return D && (D[j] || D(i, d)) || V[j].slice(0, J);
323
- }, A = function(D) {
324
- return f.s(m % 12 || 12, D, "0");
325
- }, R = P || function(D, j, V) {
326
- var J = D < 12 ? "AM" : "PM";
321
+ var d = e || "YYYY-MM-DDTHH:mm:ssZ", u = f.z(this), m = this.$H, y = this.$m, v = this.$M, S = t.weekdays, T = t.months, P = t.meridiem, _ = function(b, j, V, J) {
322
+ return b && (b[j] || b(i, d)) || V[j].slice(0, J);
323
+ }, A = function(b) {
324
+ return f.s(m % 12 || 12, b, "0");
325
+ }, R = P || function(b, j, V) {
326
+ var J = b < 12 ? "AM" : "PM";
327
327
  return V ? J.toLowerCase() : J;
328
328
  };
329
- return d.replace(I, function(D, j) {
329
+ return d.replace(I, function(b, j) {
330
330
  return j || function(V) {
331
331
  switch (V) {
332
332
  case "YY":
@@ -379,16 +379,16 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
379
379
  return u;
380
380
  }
381
381
  return null;
382
- }(D) || u.replace(":", "");
382
+ }(b) || u.replace(":", "");
383
383
  });
384
384
  }, r.utcOffset = function() {
385
385
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
386
386
  }, r.diff = function(e, i, t) {
387
- var d, u = this, m = f.p(i), y = C(e), v = (y.utcOffset() - this.utcOffset()) * l, S = this - y, T = function() {
387
+ var d, u = this, m = f.p(i), y = C(e), v = (y.utcOffset() - this.utcOffset()) * c, S = this - y, T = function() {
388
388
  return f.m(u, y);
389
389
  };
390
390
  switch (m) {
391
- case k:
391
+ case z:
392
392
  d = T() / 12;
393
393
  break;
394
394
  case M:
@@ -403,11 +403,11 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
403
403
  case $:
404
404
  d = (S - v) / 864e5;
405
405
  break;
406
- case c:
406
+ case l:
407
407
  d = S / p;
408
408
  break;
409
409
  case g:
410
- d = S / l;
410
+ d = S / c;
411
411
  break;
412
412
  case w:
413
413
  d = S / s;
@@ -419,11 +419,11 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
419
419
  }, r.daysInMonth = function() {
420
420
  return this.endOf(M).$D;
421
421
  }, r.$locale = function() {
422
- return z[this.$L];
422
+ return k[this.$L];
423
423
  }, r.locale = function(e, i) {
424
424
  if (!e)
425
425
  return this.$L;
426
- var t = this.clone(), d = x(e, i, !0);
426
+ var t = this.clone(), d = O(e, i, !0);
427
427
  return d && (t.$L = d), t;
428
428
  }, r.clone = function() {
429
429
  return f.w(this.$d, this);
@@ -437,59 +437,59 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
437
437
  return this.$d.toUTCString();
438
438
  }, a;
439
439
  }(), K = Z.prototype;
440
- return C.prototype = K, [["$ms", L], ["$s", w], ["$m", g], ["$H", c], ["$W", $], ["$M", M], ["$y", k], ["$D", E]].forEach(function(a) {
440
+ return C.prototype = K, [["$ms", L], ["$s", w], ["$m", g], ["$H", l], ["$W", $], ["$M", M], ["$y", z], ["$D", x]].forEach(function(a) {
441
441
  K[a[1]] = function(r) {
442
442
  return this.$g(r, a[0], a[1]);
443
443
  };
444
444
  }), C.extend = function(a, r) {
445
445
  return a.$i || (a(r, Z, C), a.$i = !0), C;
446
- }, C.locale = x, C.isDayjs = B, C.unix = function(a) {
446
+ }, C.locale = O, C.isDayjs = B, C.unix = function(a) {
447
447
  return C(1e3 * a);
448
- }, C.en = z[O], C.Ls = z, C.p = {}, C;
448
+ }, C.en = k[E], C.Ls = k, C.p = {}, C;
449
449
  });
450
450
  })(ne);
451
451
  const ie = ne.exports;
452
452
  var ae = { exports: {} };
453
453
  (function(n, h) {
454
- (function(s, l) {
455
- n.exports = l();
454
+ (function(s, c) {
455
+ n.exports = c();
456
456
  })(re, function() {
457
- var s = "minute", l = /[+-]\d\d(?::?\d\d)?/g, p = /([+-]|\d\d)/g;
457
+ var s = "minute", c = /[+-]\d\d(?::?\d\d)?/g, p = /([+-]|\d\d)/g;
458
458
  return function(L, w, g) {
459
- var c = w.prototype;
459
+ var l = w.prototype;
460
460
  g.utc = function(o) {
461
461
  var U = { date: o, utc: !0, args: arguments };
462
462
  return new w(U);
463
- }, c.utc = function(o) {
463
+ }, l.utc = function(o) {
464
464
  var U = g(this.toDate(), { locale: this.$L, utc: !0 });
465
465
  return o ? U.add(this.utcOffset(), s) : U;
466
- }, c.local = function() {
466
+ }, l.local = function() {
467
467
  return g(this.toDate(), { locale: this.$L, utc: !1 });
468
468
  };
469
- var $ = c.parse;
470
- c.parse = function(o) {
469
+ var $ = l.parse;
470
+ l.parse = function(o) {
471
471
  o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset), $.call(this, o);
472
472
  };
473
- var q = c.init;
474
- c.init = function() {
473
+ var q = l.init;
474
+ l.init = function() {
475
475
  if (this.$u) {
476
476
  var o = this.$d;
477
477
  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();
478
478
  } else
479
479
  q.call(this);
480
480
  };
481
- var M = c.utcOffset;
482
- c.utcOffset = function(o, U) {
481
+ var M = l.utcOffset;
482
+ l.utcOffset = function(o, U) {
483
483
  var I = this.$utils().u;
484
484
  if (I(o))
485
485
  return this.$u ? 0 : I(this.$offset) ? M.call(this) : this.$offset;
486
- if (typeof o == "string" && (o = function(O) {
487
- O === void 0 && (O = "");
488
- var z = O.match(l);
489
- if (!z)
486
+ if (typeof o == "string" && (o = function(E) {
487
+ E === void 0 && (E = "");
488
+ var k = E.match(c);
489
+ if (!k)
490
490
  return null;
491
- var Y = ("" + z[0]).match(p) || ["-", 0, 0], B = Y[0], x = 60 * +Y[1] + +Y[2];
492
- return x === 0 ? 0 : B === "+" ? x : -x;
491
+ var Y = ("" + k[0]).match(p) || ["-", 0, 0], B = Y[0], O = 60 * +Y[1] + +Y[2];
492
+ return O === 0 ? 0 : B === "+" ? O : -O;
493
493
  }(o), o === null))
494
494
  return this;
495
495
  var F = Math.abs(o) <= 16 ? 60 * o : o, W = this;
@@ -502,30 +502,30 @@ var ae = { exports: {} };
502
502
  W = this.utc();
503
503
  return W;
504
504
  };
505
- var N = c.format;
506
- c.format = function(o) {
505
+ var N = l.format;
506
+ l.format = function(o) {
507
507
  var U = o || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
508
508
  return N.call(this, U);
509
- }, c.valueOf = function() {
509
+ }, l.valueOf = function() {
510
510
  var o = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
511
511
  return this.$d.valueOf() - 6e4 * o;
512
- }, c.isUTC = function() {
512
+ }, l.isUTC = function() {
513
513
  return !!this.$u;
514
- }, c.toISOString = function() {
514
+ }, l.toISOString = function() {
515
515
  return this.toDate().toISOString();
516
- }, c.toString = function() {
516
+ }, l.toString = function() {
517
517
  return this.toDate().toUTCString();
518
518
  };
519
- var k = c.toDate;
520
- c.toDate = function(o) {
521
- return o === "s" && this.$offset ? g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : k.call(this);
519
+ var z = l.toDate;
520
+ l.toDate = function(o) {
521
+ return o === "s" && this.$offset ? g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : z.call(this);
522
522
  };
523
- var E = c.diff;
524
- c.diff = function(o, U, I) {
523
+ var x = l.diff;
524
+ l.diff = function(o, U, I) {
525
525
  if (o && this.$u === o.$u)
526
- return E.call(this, o, U, I);
526
+ return x.call(this, o, U, I);
527
527
  var F = this.local(), W = g(o).local();
528
- return E.call(F, W, U, I);
528
+ return x.call(F, W, U, I);
529
529
  };
530
530
  };
531
531
  });
@@ -534,7 +534,7 @@ const ye = ae.exports, we = `:host {
534
534
  font: inherit;
535
535
  display: block;
536
536
  height: 100%;
537
- overflow: hidden;
537
+ container-type: inline-size;
538
538
  }
539
539
 
540
540
  .CategoryTitle {
@@ -566,21 +566,21 @@ const ye = ae.exports, we = `:host {
566
566
  width: 100%;
567
567
  padding: 0;
568
568
  margin: 0;
569
- height: 100vh;
569
+ padding: 50px;
570
+ box-sizing: border-box;
571
+ overflow-y: scroll;
570
572
  }
571
-
572
- @container (max-width: 475px) {
573
- .DepositWithdrawalWrapper {
574
- height: calc(100vh + 120px);
575
- }
573
+ .DepositWithdrawalWrapper iframe {
574
+ border-width: 0;
576
575
  }
576
+
577
577
  .ShortCashier.DepositWithdrawalWrapper {
578
578
  height: 500px;
579
579
  }
580
580
  .ShortCashier.CategoryTitle.CategoryTitle {
581
581
  margin-right: 20px;
582
582
  padding-top: 20px;
583
- color: ar(--emw--color-black, #000000);
583
+ color: var(--emw--color-black, #000000);
584
584
  }
585
585
  .ShortCashier .ErrorMessage {
586
586
  margin: auto;
@@ -588,6 +588,15 @@ const ye = ae.exports, we = `:host {
588
588
  margin-top: 70px;
589
589
  text-align: center;
590
590
  color: var(--emw--color-black, #000000);
591
+ }
592
+
593
+ @container (max-width: 768px) {
594
+ .DepositWithdrawalWrapper {
595
+ padding: 20px 15px;
596
+ }
597
+ .DepositWithdrawalWrapper:not(.ShortCashier) {
598
+ overflow: visible;
599
+ }
591
600
  }`, Ce = we;
592
601
  ie.extend(ye);
593
602
  const ve = () => {
@@ -626,7 +635,7 @@ const ve = () => {
626
635
  window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
627
636
  }
628
637
  render() {
629
- return b(ue, { 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: "5afbbcc975fcce46b5907a0a1aad60e570291e39", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}`, style: { height: `calc(${this.dynamicHeight} + 120px)`, marginTop: this.isShortCashier ? "30px" : "0" } }, b("div", { key: "26715622124aefe68bcd9a585c5c34b648747cdd" }, 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: "100%", src: this.cashierInfoUrl }) : b("h3", { class: "ErrorMessage" }, this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language)))));
638
+ return D(ue, { key: "4963fd9b7ce608f13fd464996c085c29045fcd59" }, D("div", { key: "1fe503816ddb4f18d50545f0f627dd917e6f62ec", ref: (n) => this.stylingContainer = n }, !(this.isMobile && !this.isShortCashier) && D("h2", { key: "5bf653f70da5f95173a7dc2c7067d0968876b50a", class: "CategoryTitle" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), D("div", { key: "a0e2ce3c944e0fd3bdf2635ae0a5739125e55a33", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}`, style: { marginTop: this.isShortCashier ? "30px" : "0" } }, D("div", { key: "18b39cea4230ce3745a1859590be32835bb4538f" }, this.isMobile && !this.isShortCashier ? D("div", { class: "MenuReturnButton", onClick: () => this.toggleScreen(this.isMobile) }, 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", { class: "ErrorMessage" }, this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language)))));
630
639
  }
631
640
  loadWidget() {
632
641
  return Q(this, null, function* () {
@@ -656,13 +665,13 @@ const ve = () => {
656
665
  const p = yield s.text();
657
666
  throw new Error(p);
658
667
  }
659
- const l = yield s.json();
660
- if (l.CashierInfo)
661
- this.cashierInfoUrl = l.CashierInfo.Url;
668
+ const c = yield s.json();
669
+ if (c.CashierInfo)
670
+ this.cashierInfoUrl = c.CashierInfo.Url;
662
671
  else {
663
672
  let p;
664
- if (l.ResponseMessage) {
665
- let w = this.errorCodes.find((g) => l.ResponseMessage.includes(g)) || null;
673
+ if (c.ResponseMessage) {
674
+ let w = this.errorCodes.find((g) => c.ResponseMessage.includes(g)) || null;
666
675
  w ? p = H(`errorCode${w}`, this.language) : p = H("notFoundErrorCode", this.language);
667
676
  } else
668
677
  p = this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language);
@@ -675,8 +684,8 @@ const ve = () => {
675
684
  });
676
685
  }
677
686
  handleMessage(n) {
678
- var h, s, l, p, L, w, g, c;
679
- 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), ((l = n.data) === null || l === void 0 ? void 0 : l.redirect) === "mm-hc-sports" && this.doRedirect((p = n.data) === null || p === void 0 ? void 0 : p.redirect, this.sportsUrl), ((L = n.data) === null || L === void 0 ? void 0 : L.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)), (((g = n.data) === null || g === void 0 ? void 0 : g.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));
687
+ var h, s, c, p, L, w, g, l;
688
+ 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), ((L = n.data) === null || L === void 0 ? void 0 : L.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)), (((g = n.data) === null || g === void 0 ? void 0 : g.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));
680
689
  }
681
690
  doRedirect(n, h) {
682
691
  const s = { reason: n, url: h, cancel: !1 };