@everymatrix/casino-header-controller 1.87.35 → 1.87.37

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.
Files changed (25) hide show
  1. package/components/{CasinoHamburgerMenu-DuaZNcLz.js → CasinoHamburgerMenu-BG5vj-L2.js} +1 -1
  2. package/components/{CasinoHamburgerMenu-0z6hyw4y.js → CasinoHamburgerMenu-Bxp1-aB5.js} +1 -1
  3. package/components/{CasinoHamburgerMenu-WB7i3_iz.cjs → CasinoHamburgerMenu-Orca8kpO.cjs} +1 -1
  4. package/components/{CasinoHeaderController-C8DT2cVk.cjs → CasinoHeaderController-C1AjIlkK.cjs} +2 -2
  5. package/components/{CasinoHeaderController-Db8giU-E.js → CasinoHeaderController-CIi7byMH.js} +5 -5
  6. package/components/{CasinoHeaderController-Do8wUidR.js → CasinoHeaderController-DJQjKXgd.js} +5 -5
  7. package/components/{CasinoSlider-DMc6CrV3.cjs → CasinoSlider-B7UrOFYJ.cjs} +1 -1
  8. package/components/{CasinoSlider-fH4HQvtL.js → CasinoSlider-CITaCfbY.js} +1 -1
  9. package/components/{CasinoSlider-BtMwjTr9.js → CasinoSlider-DZd-u0zd.js} +1 -1
  10. package/components/{PlayerAccountBalanceModal-lcokbjFZ.js → PlayerAccountBalanceModal-DdCnAi4f.js} +1 -1
  11. package/components/{PlayerAccountBalanceModal-CEJcH9Cr.js → PlayerAccountBalanceModal-DiyLRui9.js} +1 -1
  12. package/components/{PlayerAccountBalanceModal-X5IfhAU4.cjs → PlayerAccountBalanceModal-DpknUWew.cjs} +1 -1
  13. package/components/{PlayerDeposit-CVfrvkyO.js → PlayerDeposit-ArBxKlBf.js} +1 -1
  14. package/components/{PlayerDeposit-0WxB1mbL.js → PlayerDeposit-CP4XKIFF.js} +1 -1
  15. package/components/{PlayerDeposit-Bzc_rwpv.cjs → PlayerDeposit-FOEkkNYn.cjs} +1 -1
  16. package/es2015/casino-header-controller.cjs +1 -1
  17. package/es2015/casino-header-controller.js +1 -1
  18. package/esnext/casino-header-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/{index-1ef3a64c-Df_g4Fi-.js → index-1ef3a64c--Af7_5fD.js} +1 -1
  21. package/stencil/{index-1ef3a64c-DQzOv3qV.js → index-1ef3a64c-DmxFtrnt.js} +1 -1
  22. package/stencil/{index-1ef3a64c-DTHZ2yCZ.cjs → index-1ef3a64c-eddA8REc.cjs} +1 -1
  23. package/stencil/{user-deposit-withdrawal-_xlSbJsV.js → user-deposit-withdrawal-B5ax7Aw2.js} +163 -160
  24. package/stencil/{user-deposit-withdrawal-1m3oit8H.js → user-deposit-withdrawal-B8Zz0CIZ.js} +144 -141
  25. package/stencil/{user-deposit-withdrawal-BdsGsdPs.cjs → user-deposit-withdrawal-C-Q_yFe4.cjs} +2 -2
@@ -1,4 +1,4 @@
1
- var Q = (e, a, i) => new Promise((l, p) => {
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, a)).next());
15
+ y((i = i.apply(e, o)).next());
16
16
  });
17
- import { b as ue, p as de, r as ce, h as M, H as le } from "./index-1ef3a64c-Df_g4Fi-.js";
18
- import { g as he } from "./app-globals-0f993ce5-Cgk0KVAu.js";
19
- var fe = () => {
20
- const e = import.meta.url, a = {};
21
- return e !== "" && (a.resourcesUrl = new URL(".", e).href), de(a);
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
- fe().then((e) => Q(void 0, null, function* () {
24
- return yield he(), ue([["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);
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 pe = "en", me = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], ne = {
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
- }, ye = (e) => new Promise((a) => {
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
- ne[l][p] = i[l][p];
133
- }), a(!0);
132
+ ie[l][p] = i[l][p];
133
+ }), o(!0);
134
134
  });
135
- }), j = (e, a) => {
136
- const i = a;
137
- return ne[i !== void 0 && me.includes(i) ? i : pe][e];
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, a) {
139
+ function ee(e, o) {
140
140
  if (e) {
141
141
  const i = document.createElement("style");
142
- i.innerHTML = a, e.appendChild(i);
142
+ i.innerHTML = o, e.appendChild(i);
143
143
  }
144
144
  }
145
- function te(e, a) {
146
- if (!e || !a)
145
+ function te(e, o) {
146
+ if (!e || !o)
147
147
  return;
148
- const i = new URL(a);
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 ge(e, a, i, l = !1) {
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 = we(e, a), i;
161
- window[Y] || (window[Y] = {}), i = Ce(e, a);
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][a]) {
164
- const y = window[Y][a];
165
- y.refCount > 1 ? y.refCount = y.refCount - 1 : delete window[Y][a];
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 we(e, a) {
171
+ function Ce(e, o) {
172
172
  const i = document.createElement("style");
173
- return window.emMessageBus.subscribe(a, (l) => {
173
+ return window.emMessageBus.subscribe(o, (l) => {
174
174
  e && (i.innerHTML = l, e.appendChild(i));
175
175
  });
176
176
  }
177
- function Ce(e, a) {
178
- return window.emMessageBus.subscribe(a, (i) => {
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[a]) == null ? void 0 : y.sheet;
184
- b ? p[a].refCount = p[a].refCount + 1 : (b = new CSSStyleSheet(), b.replaceSync(i), p[a] = {
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 Se = (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 ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, oe = { exports: {} };
194
- (function(e, a) {
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
- })(ie, 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", z = "date", u = "Invalid Date", W = /^(\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) {
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
- } }, E = function(s, n, t) {
202
- var o = String(s);
203
- return !o || o.length >= n ? s : "" + Array(n + 1 - o.length).join(t) + s;
204
- }, Z = { s: E, z: function(s) {
205
- var n = -s.utcOffset(), t = Math.abs(n), o = Math.floor(t / 60), r = t % 60;
206
- return (n <= 0 ? "+" : "-") + E(o, 2, "0") + ":" + E(r, 2, "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 o = 12 * (t.year() - n.year()) + (t.month() - n.month()), r = n.clone().add(o, U), d = t - r < 0, c = n.clone().add(o + (d ? -1 : 1), U);
211
- return +(-(o + (t - r) / (d ? r - c : c - r)) || 0);
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: z, h, m: y, s: w, ms: b, Q: G }[s] || String(s || "").toLowerCase().replace(/s$/, "");
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
- } }, R = "en", k = {};
219
- k[R] = F;
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, o) {
222
+ }, x = function s(n, t, a) {
223
223
  var r;
224
224
  if (!n)
225
- return R;
225
+ return z;
226
226
  if (typeof n == "string") {
227
227
  var d = n.toLowerCase();
228
- k[d] && (r = d), t && (k[d] = t, r = d);
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
- k[m] = n, r = m;
234
+ R[m] = n, r = m;
235
235
  }
236
- return !o && r && (R = r), r || !o && R;
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(o) {
253
- var r = o.date, d = o.utc;
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(W);
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, o) {
276
+ }, n.isSame = function(t, a) {
277
277
  var r = C(t);
278
- return this.startOf(o) <= r && r <= this.endOf(o);
279
- }, n.isAfter = function(t, o) {
280
- return C(t) < this.startOf(o);
281
- }, n.isBefore = function(t, o) {
282
- return this.endOf(o) < C(t);
283
- }, n.$g = function(t, o, r) {
284
- return f.u(t) ? this[o] : this.set(r, t);
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, o) {
290
- var r = this, d = !!f.u(o) || o, c = f.p(t), m = function(P, D) {
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 z:
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, o) {
319
- var r, d = f.p(t), c = "set" + (this.$u ? "UTC" : ""), m = (r = {}, r[$] = c + "Date", r[z] = 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 + (o - this.$W) : o;
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(z, 1);
322
- S.$d[m](g), S.init(), this.$d = S.set(z, Math.min(this.$D, S.daysInMonth())).$d;
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, o) {
327
- return this.clone().$set(t, o);
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, o) {
330
+ }, n.add = function(t, a) {
331
331
  var r, d = this;
332
332
  t = Number(t);
333
- var c = f.p(o), m = function(v) {
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, o) {
348
- return this.add(-1 * t, o);
347
+ }, n.subtract = function(t, a) {
348
+ return this.add(-1 * t, a);
349
349
  }, n.format = function(t) {
350
- var o = this, r = this.$locale();
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(o, d)) || V[O].slice(0, K);
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(o.$y).slice(-2);
365
+ return String(a.$y).slice(-2);
366
366
  case "YYYY":
367
- return f.s(o.$y, 4, "0");
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 o.$D;
377
+ return a.$D;
378
378
  case "DD":
379
- return f.s(o.$D, 2, "0");
379
+ return f.s(a.$D, 2, "0");
380
380
  case "d":
381
- return String(o.$W);
381
+ return String(a.$W);
382
382
  case "dd":
383
- return I(r.weekdaysMin, o.$W, v, 2);
383
+ return I(r.weekdaysMin, a.$W, v, 2);
384
384
  case "ddd":
385
- return I(r.weekdaysShort, o.$W, v, 3);
385
+ return I(r.weekdaysShort, a.$W, v, 3);
386
386
  case "dddd":
387
- return v[o.$W];
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(o.$s);
405
+ return String(a.$s);
406
406
  case "ss":
407
- return f.s(o.$s, 2, "0");
407
+ return f.s(a.$s, 2, "0");
408
408
  case "SSS":
409
- return f.s(o.$ms, 3, "0");
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, o, r) {
419
- var d, c = this, m = f.p(o), g = C(t), S = (g.utcOffset() - this.utcOffset()) * l, v = this - g, T = function() {
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 k[this.$L];
455
- }, n.locale = function(t, o) {
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, o, !0);
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", z]].forEach(function(s) {
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 = k[R], C.Ls = k, C.p = {}, C;
480
+ }, C.en = R[z], C.Ls = R, C.p = {}, C;
481
481
  });
482
- })(oe);
483
- const ae = oe.exports;
484
- var se = { exports: {} };
485
- (function(e, a) {
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
- })(ie, function() {
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 W = { date: u, utc: !0, args: arguments };
494
- return new w(W);
493
+ var E = { date: u, utc: !0, args: arguments };
494
+ return new w(E);
495
495
  }, h.utc = function(u) {
496
- var W = y(this.toDate(), { locale: this.$L, utc: !0 });
497
- return u ? W.add(this.utcOffset(), i) : W;
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, W) {
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(R) {
519
- R === void 0 && (R = "");
520
- var k = R.match(l);
521
- if (!k)
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 = ("" + k[0]).match(p) || ["-", 0, 0], B = A[0], x = 60 * +A[1] + +A[2];
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, E = this;
528
- if (W)
529
- return E.$offset = F, E.$u = u === 0, E;
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
- (E = this.local().add(F + Z, i)).$offset = F, E.$x.$localOffset = Z;
532
+ (W = this.local().add(F + Z, i)).$offset = F, W.$x.$localOffset = Z;
533
533
  } else
534
- E = this.utc();
535
- return E;
534
+ W = this.utc();
535
+ return W;
536
536
  };
537
537
  var G = h.format;
538
538
  h.format = function(u) {
539
- var W = u || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
540
- return G.call(this, W);
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 z = h.diff;
556
- h.diff = function(u, W, H) {
555
+ var k = h.diff;
556
+ h.diff = function(u, E, H) {
557
557
  if (u && this.$u === u.$u)
558
- return z.call(this, u, W, H);
559
- var F = this.local(), E = y(u).local();
560
- return z.call(F, E, W, H);
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
- })(se);
565
- const be = se.exports, ve = `:host {
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
- }`, $e = ve;
637
- ae.extend(be);
638
- const De = "user-deposit-withdrawal", re = [
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
- ce(this, e), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = Se(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.toggleScreen = () => {
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, a) {
660
- e != a && ee(this.stylingContainer, this.clientStyling);
659
+ handleClientStylingChange(e, o) {
660
+ e != o && ee(this.stylingContainer, this.clientStyling);
661
661
  }
662
- handleClientStylingChangeURL(e, a) {
663
- e != a && this.clientStylingUrl && te(this.stylingContainer, this.clientStylingUrl);
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 ye(this.translationUrl);
668
+ return ge(this.translationUrl);
669
669
  });
670
670
  }
671
671
  componentDidLoad() {
672
- this.stylingContainer && (window.emMessageBus != null ? ge(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);
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(le, { 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" }))));
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((a) => a === void 0) || !this.endpoint))
694
+ if (!(Object.values(e).some((o) => o === void 0) || !this.endpoint))
695
695
  try {
696
- const a = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, i = yield fetch(a, {
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": ae.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
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 (a) {
723
- console.error(a);
722
+ } catch (o) {
723
+ console.error(o);
724
724
  }
725
725
  });
726
726
  }
727
727
  handleMessage(e) {
728
- const a = this.extractPayload(e);
729
- if (!a)
728
+ const o = this.extractPayload(e);
729
+ if (!o)
730
730
  return;
731
- this.applyLayoutHints(a);
732
- const i = this.extractCashierRedirectReason(a);
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" && re.includes(e.type))
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" && re.includes(e.redirect))
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, a) {
770
- if (a)
771
- return { reason: e, targetUrl: a };
772
+ buildRedirectPlan(e, o) {
773
+ if (o)
774
+ return { reason: e, targetUrl: o };
772
775
  }
773
- emitForwardedRedirect(e, a) {
776
+ emitForwardedRedirect(e, o) {
774
777
  if (!this.forwardCashierRedirects)
775
778
  return !1;
776
779
  const i = {
777
- type: `${De}:${a}`,
778
- originalType: a,
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, a) {
785
- const i = { reason: e, url: a, cancel: !1 };
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 = $e;
804
+ Ue.style = De;
802
805
  export {
803
806
  Ue as user_deposit_withdrawal
804
807
  };