@everymatrix/casino-header-controller 1.87.34 → 1.87.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,11 +1,11 @@
1
- import { b as se, p as ue, r as de, h as D, H as ce } from "./index-1ef3a64c-DQzOv3qV.js";
2
- import { g as le } from "./app-globals-0f993ce5-Cgk0KVAu.js";
3
- var he = () => {
4
- const e = import.meta.url, a = {};
5
- return e !== "" && (a.resourcesUrl = new URL(".", e).href), ue(a);
1
+ import { b as ue, p as de, r as ce, h as D, H as le } from "./index-1ef3a64c-DmxFtrnt.js";
2
+ import { g as he } from "./app-globals-0f993ce5-Cgk0KVAu.js";
3
+ var fe = () => {
4
+ const e = import.meta.url, o = {};
5
+ return e !== "" && (o.resourcesUrl = new URL(".", e).href), de(o);
6
6
  };
7
- he().then(async (e) => (await le(), se([["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)));
8
- const fe = "en", pe = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], re = {
7
+ fe().then(async (e) => (await 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)));
8
+ const pe = "en", me = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], ne = {
9
9
  en: {
10
10
  Deposit: "Deposit",
11
11
  Withdraw: "Withdraw",
@@ -107,62 +107,62 @@ const fe = "en", pe = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
107
107
  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",
108
108
  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"
109
109
  }
110
- }, me = (e) => new Promise((a) => {
111
- fetch(e).then((o) => o.json()).then((o) => {
112
- Object.keys(o).forEach((l) => {
113
- for (let m in o[l])
114
- re[l][m] = o[l][m];
115
- }), a(!0);
110
+ }, ye = (e) => new Promise((o) => {
111
+ fetch(e).then((a) => a.json()).then((a) => {
112
+ Object.keys(a).forEach((l) => {
113
+ for (let m in a[l])
114
+ ne[l][m] = a[l][m];
115
+ }), o(!0);
116
116
  });
117
- }), j = (e, a) => {
118
- const o = a;
119
- return re[o !== void 0 && pe.includes(o) ? o : fe][e];
117
+ }), j = (e, o) => {
118
+ const a = o;
119
+ return ne[a !== void 0 && me.includes(a) ? a : pe][e];
120
120
  }, Y = "__WIDGET_GLOBAL_STYLE_CACHE__";
121
- function X(e, a) {
121
+ function X(e, o) {
122
122
  if (e) {
123
- const o = document.createElement("style");
124
- o.innerHTML = a, e.appendChild(o);
123
+ const a = document.createElement("style");
124
+ a.innerHTML = o, e.appendChild(a);
125
125
  }
126
126
  }
127
- function ee(e, a) {
128
- if (!e || !a)
127
+ function ee(e, o) {
128
+ if (!e || !o)
129
129
  return;
130
- const o = new URL(a);
131
- fetch(o.href).then((l) => l.text()).then((l) => {
130
+ const a = new URL(o);
131
+ fetch(a.href).then((l) => l.text()).then((l) => {
132
132
  const m = document.createElement("style");
133
133
  m.innerHTML = l, e && e.appendChild(m);
134
134
  }).catch((l) => {
135
135
  console.error("There was an error while trying to load client styling from URL", l);
136
136
  });
137
137
  }
138
- function ye(e, a, o, l = !1) {
138
+ function ge(e, o, a, l = !1) {
139
139
  if (!window.emMessageBus)
140
140
  return;
141
141
  if (!("adoptedStyleSheets" in Document.prototype) || !l)
142
- return o = ge(e, a), o;
143
- window[Y] || (window[Y] = {}), o = we(e, a);
144
- const v = o.unsubscribe.bind(o), S = () => {
145
- if (window[Y][a]) {
146
- const g = window[Y][a];
147
- g.refCount > 1 ? g.refCount = g.refCount - 1 : delete window[Y][a];
142
+ return a = we(e, o), a;
143
+ window[Y] || (window[Y] = {}), a = Ce(e, o);
144
+ const v = a.unsubscribe.bind(a), S = () => {
145
+ if (window[Y][o]) {
146
+ const g = window[Y][o];
147
+ g.refCount > 1 ? g.refCount = g.refCount - 1 : delete window[Y][o];
148
148
  }
149
149
  v();
150
150
  };
151
- return o.unsubscribe = S, o;
151
+ return a.unsubscribe = S, a;
152
152
  }
153
- function ge(e, a) {
154
- const o = document.createElement("style");
155
- return window.emMessageBus.subscribe(a, (l) => {
156
- e && (o.innerHTML = l, e.appendChild(o));
153
+ function we(e, o) {
154
+ const a = document.createElement("style");
155
+ return window.emMessageBus.subscribe(o, (l) => {
156
+ e && (a.innerHTML = l, e.appendChild(a));
157
157
  });
158
158
  }
159
- function we(e, a) {
160
- return window.emMessageBus.subscribe(a, (o) => {
159
+ function Ce(e, o) {
160
+ return window.emMessageBus.subscribe(o, (a) => {
161
161
  if (!e)
162
162
  return;
163
163
  const l = e.getRootNode(), m = window[Y];
164
- let v = m[a]?.sheet;
165
- v ? m[a].refCount = m[a].refCount + 1 : (v = new CSSStyleSheet(), v.replaceSync(o), m[a] = {
164
+ let v = m[o]?.sheet;
165
+ v ? m[o].refCount = m[o].refCount + 1 : (v = new CSSStyleSheet(), v.replaceSync(a), m[o] = {
166
166
  sheet: v,
167
167
  refCount: 1
168
168
  });
@@ -170,21 +170,21 @@ function we(e, a) {
170
170
  S.includes(v) || (l.adoptedStyleSheets = [...S, v]);
171
171
  });
172
172
  }
173
- const Ce = (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));
174
- var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ie = { exports: {} };
175
- (function(e, a) {
176
- (function(o, l) {
173
+ 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));
174
+ var ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, oe = { exports: {} };
175
+ (function(e, o) {
176
+ (function(a, l) {
177
177
  e.exports = l();
178
- })(ne, function() {
179
- var o = 1e3, l = 6e4, m = 36e5, v = "millisecond", S = "second", g = "minute", p = "hour", T = "day", _ = "week", M = "month", G = "quarter", L = "year", z = "date", u = "Invalid Date", U = /^(\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) {
178
+ })(ie, function() {
179
+ var a = 1e3, l = 6e4, m = 36e5, v = "millisecond", S = "second", g = "minute", p = "hour", T = "day", _ = "week", M = "month", G = "quarter", L = "year", k = "date", u = "Invalid Date", U = /^(\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) {
180
180
  var n = ["th", "st", "nd", "rd"], t = s % 100;
181
181
  return "[" + s + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
182
- } }, W = function(s, n, t) {
182
+ } }, E = function(s, n, t) {
183
183
  var i = String(s);
184
184
  return !i || i.length >= n ? s : "" + Array(n + 1 - i.length).join(t) + s;
185
- }, Z = { s: W, z: function(s) {
185
+ }, Z = { s: E, z: function(s) {
186
186
  var n = -s.utcOffset(), t = Math.abs(n), i = Math.floor(t / 60), r = t % 60;
187
- return (n <= 0 ? "+" : "-") + W(i, 2, "0") + ":" + W(r, 2, "0");
187
+ return (n <= 0 ? "+" : "-") + E(i, 2, "0") + ":" + E(r, 2, "0");
188
188
  }, m: function s(n, t) {
189
189
  if (n.date() < t.date())
190
190
  return -s(t, n);
@@ -193,28 +193,28 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
193
193
  }, a: function(s) {
194
194
  return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
195
195
  }, p: function(s) {
196
- return { M, y: L, w: _, d: T, D: z, h: p, m: g, s: S, ms: v, Q: G }[s] || String(s || "").toLowerCase().replace(/s$/, "");
196
+ return { M, y: L, w: _, d: T, D: k, h: p, m: g, s: S, ms: v, Q: G }[s] || String(s || "").toLowerCase().replace(/s$/, "");
197
197
  }, u: function(s) {
198
198
  return s === void 0;
199
- } }, R = "en", k = {};
200
- k[R] = F;
199
+ } }, z = "en", R = {};
200
+ R[z] = F;
201
201
  var A = "$isDayjsObject", B = function(s) {
202
202
  return s instanceof J || !(!s || !s[A]);
203
203
  }, x = function s(n, t, i) {
204
204
  var r;
205
205
  if (!n)
206
- return R;
206
+ return z;
207
207
  if (typeof n == "string") {
208
208
  var d = n.toLowerCase();
209
- k[d] && (r = d), t && (k[d] = t, r = d);
209
+ R[d] && (r = d), t && (R[d] = t, r = d);
210
210
  var c = n.split("-");
211
211
  if (!r && c.length > 1)
212
212
  return s(c[0]);
213
213
  } else {
214
214
  var f = n.name;
215
- k[f] = n, r = f;
215
+ R[f] = n, r = f;
216
216
  }
217
- return !i && r && (R = r), r || !i && R;
217
+ return !i && r && (z = r), r || !i && z;
218
218
  }, w = function(s, n) {
219
219
  if (B(s))
220
220
  return s.clone();
@@ -273,7 +273,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
273
273
  return d ? O : O.endOf(T);
274
274
  }, y = function(P, $) {
275
275
  return h.w(r.toDate()[P].apply(r.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), r);
276
- }, C = this.$W, b = this.$M, E = this.$D, q = "set" + (this.$u ? "UTC" : "");
276
+ }, C = this.$W, b = this.$M, W = this.$D, q = "set" + (this.$u ? "UTC" : "");
277
277
  switch (c) {
278
278
  case L:
279
279
  return d ? f(1, 0) : f(31, 11);
@@ -281,9 +281,9 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
281
281
  return d ? f(1, b) : f(0, b + 1);
282
282
  case _:
283
283
  var I = this.$locale().weekStart || 0, N = (C < I ? C + 7 : C) - I;
284
- return f(d ? E - N : E + (6 - N), b);
284
+ return f(d ? W - N : W + (6 - N), b);
285
285
  case T:
286
- case z:
286
+ case k:
287
287
  return y(q + "Hours", 0);
288
288
  case p:
289
289
  return y(q + "Minutes", 1);
@@ -297,10 +297,10 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
297
297
  }, n.endOf = function(t) {
298
298
  return this.startOf(t, !1);
299
299
  }, n.$set = function(t, i) {
300
- var r, d = h.p(t), c = "set" + (this.$u ? "UTC" : ""), f = (r = {}, r[T] = c + "Date", r[z] = c + "Date", r[M] = c + "Month", r[L] = c + "FullYear", r[p] = c + "Hours", r[g] = c + "Minutes", r[S] = c + "Seconds", r[v] = c + "Milliseconds", r)[d], y = d === T ? this.$D + (i - this.$W) : i;
300
+ var r, d = h.p(t), c = "set" + (this.$u ? "UTC" : ""), f = (r = {}, r[T] = c + "Date", r[k] = c + "Date", r[M] = c + "Month", r[L] = c + "FullYear", r[p] = c + "Hours", r[g] = c + "Minutes", r[S] = c + "Seconds", r[v] = c + "Milliseconds", r)[d], y = d === T ? this.$D + (i - this.$W) : i;
301
301
  if (d === M || d === L) {
302
- var C = this.clone().set(z, 1);
303
- C.$d[f](y), C.init(), this.$d = C.set(z, Math.min(this.$D, C.daysInMonth())).$d;
302
+ var C = this.clone().set(k, 1);
303
+ C.$d[f](y), C.init(), this.$d = C.set(k, Math.min(this.$D, C.daysInMonth())).$d;
304
304
  } else
305
305
  f && this.$d[f](y);
306
306
  return this.init(), this;
@@ -312,8 +312,8 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
312
312
  var r, d = this;
313
313
  t = Number(t);
314
314
  var c = h.p(i), f = function(b) {
315
- var E = w(d);
316
- return h.w(E.date(E.date() + Math.round(b * t)), d);
315
+ var W = w(d);
316
+ return h.w(W.date(W.date() + Math.round(b * t)), d);
317
317
  };
318
318
  if (c === M)
319
319
  return this.set(M, this.$M + t);
@@ -323,7 +323,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
323
323
  return f(1);
324
324
  if (c === _)
325
325
  return f(7);
326
- var y = (r = {}, r[g] = l, r[p] = m, r[S] = o, r)[c] || 1, C = this.$d.getTime() + t * y;
326
+ var y = (r = {}, r[g] = l, r[p] = m, r[S] = a, r)[c] || 1, C = this.$d.getTime() + t * y;
327
327
  return h.w(C, this);
328
328
  }, n.subtract = function(t, i) {
329
329
  return this.add(-1 * t, i);
@@ -331,7 +331,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
331
331
  var i = this, r = this.$locale();
332
332
  if (!this.isValid())
333
333
  return r.invalidDate || u;
334
- var d = t || "YYYY-MM-DDTHH:mm:ssZ", c = h.z(this), f = this.$H, y = this.$m, C = this.$M, b = r.weekdays, E = r.months, q = r.meridiem, I = function($, O, V, K) {
334
+ var d = t || "YYYY-MM-DDTHH:mm:ssZ", c = h.z(this), f = this.$H, y = this.$m, C = this.$M, b = r.weekdays, W = r.months, q = r.meridiem, I = function($, O, V, K) {
335
335
  return $ && ($[O] || $(i, d)) || V[O].slice(0, K);
336
336
  }, N = function($) {
337
337
  return h.s(f % 12 || 12, $, "0");
@@ -351,9 +351,9 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
351
351
  case "MM":
352
352
  return h.s(C + 1, 2, "0");
353
353
  case "MMM":
354
- return I(r.monthsShort, C, E, 3);
354
+ return I(r.monthsShort, C, W, 3);
355
355
  case "MMMM":
356
- return I(E, C);
356
+ return I(W, C);
357
357
  case "D":
358
358
  return i.$D;
359
359
  case "DD":
@@ -397,18 +397,18 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
397
397
  }, n.utcOffset = function() {
398
398
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
399
399
  }, n.diff = function(t, i, r) {
400
- var d, c = this, f = h.p(i), y = w(t), C = (y.utcOffset() - this.utcOffset()) * l, b = this - y, E = function() {
400
+ var d, c = this, f = h.p(i), y = w(t), C = (y.utcOffset() - this.utcOffset()) * l, b = this - y, W = function() {
401
401
  return h.m(c, y);
402
402
  };
403
403
  switch (f) {
404
404
  case L:
405
- d = E() / 12;
405
+ d = W() / 12;
406
406
  break;
407
407
  case M:
408
- d = E();
408
+ d = W();
409
409
  break;
410
410
  case G:
411
- d = E() / 3;
411
+ d = W() / 3;
412
412
  break;
413
413
  case _:
414
414
  d = (b - C) / 6048e5;
@@ -423,7 +423,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
423
423
  d = b / l;
424
424
  break;
425
425
  case S:
426
- d = b / o;
426
+ d = b / a;
427
427
  break;
428
428
  default:
429
429
  d = b;
@@ -432,7 +432,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
432
432
  }, n.daysInMonth = function() {
433
433
  return this.endOf(M).$D;
434
434
  }, n.$locale = function() {
435
- return k[this.$L];
435
+ return R[this.$L];
436
436
  }, n.locale = function(t, i) {
437
437
  if (!t)
438
438
  return this.$L;
@@ -450,7 +450,7 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
450
450
  return this.$d.toUTCString();
451
451
  }, s;
452
452
  }(), Q = J.prototype;
453
- return w.prototype = Q, [["$ms", v], ["$s", S], ["$m", g], ["$H", p], ["$W", T], ["$M", M], ["$y", L], ["$D", z]].forEach(function(s) {
453
+ return w.prototype = Q, [["$ms", v], ["$s", S], ["$m", g], ["$H", p], ["$W", T], ["$M", M], ["$y", L], ["$D", k]].forEach(function(s) {
454
454
  Q[s[1]] = function(n) {
455
455
  return this.$g(n, s[0], s[1]);
456
456
  };
@@ -458,16 +458,16 @@ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
458
458
  return s.$i || (s(n, J, w), s.$i = !0), w;
459
459
  }, w.locale = x, w.isDayjs = B, w.unix = function(s) {
460
460
  return w(1e3 * s);
461
- }, w.en = k[R], w.Ls = k, w.p = {}, w;
461
+ }, w.en = R[z], w.Ls = R, w.p = {}, w;
462
462
  });
463
- })(ie);
464
- const oe = ie.exports;
465
- var ae = { exports: {} };
466
- (function(e, a) {
467
- (function(o, l) {
463
+ })(oe);
464
+ const ae = oe.exports;
465
+ var se = { exports: {} };
466
+ (function(e, o) {
467
+ (function(a, l) {
468
468
  e.exports = l();
469
- })(ne, function() {
470
- var o = "minute", l = /[+-]\d\d(?::?\d\d)?/g, m = /([+-]|\d\d)/g;
469
+ })(ie, function() {
470
+ var a = "minute", l = /[+-]\d\d(?::?\d\d)?/g, m = /([+-]|\d\d)/g;
471
471
  return function(v, S, g) {
472
472
  var p = S.prototype;
473
473
  g.utc = function(u) {
@@ -475,7 +475,7 @@ var ae = { exports: {} };
475
475
  return new S(U);
476
476
  }, p.utc = function(u) {
477
477
  var U = g(this.toDate(), { locale: this.$L, utc: !0 });
478
- return u ? U.add(this.utcOffset(), o) : U;
478
+ return u ? U.add(this.utcOffset(), a) : U;
479
479
  }, p.local = function() {
480
480
  return g(this.toDate(), { locale: this.$L, utc: !1 });
481
481
  };
@@ -496,24 +496,24 @@ var ae = { exports: {} };
496
496
  var H = this.$utils().u;
497
497
  if (H(u))
498
498
  return this.$u ? 0 : H(this.$offset) ? M.call(this) : this.$offset;
499
- if (typeof u == "string" && (u = function(R) {
500
- R === void 0 && (R = "");
501
- var k = R.match(l);
502
- if (!k)
499
+ if (typeof u == "string" && (u = function(z) {
500
+ z === void 0 && (z = "");
501
+ var R = z.match(l);
502
+ if (!R)
503
503
  return null;
504
- var A = ("" + k[0]).match(m) || ["-", 0, 0], B = A[0], x = 60 * +A[1] + +A[2];
504
+ var A = ("" + R[0]).match(m) || ["-", 0, 0], B = A[0], x = 60 * +A[1] + +A[2];
505
505
  return x === 0 ? 0 : B === "+" ? x : -x;
506
506
  }(u), u === null))
507
507
  return this;
508
- var F = Math.abs(u) <= 16 ? 60 * u : u, W = this;
508
+ var F = Math.abs(u) <= 16 ? 60 * u : u, E = this;
509
509
  if (U)
510
- return W.$offset = F, W.$u = u === 0, W;
510
+ return E.$offset = F, E.$u = u === 0, E;
511
511
  if (u !== 0) {
512
512
  var Z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
513
- (W = this.local().add(F + Z, o)).$offset = F, W.$x.$localOffset = Z;
513
+ (E = this.local().add(F + Z, a)).$offset = F, E.$x.$localOffset = Z;
514
514
  } else
515
- W = this.utc();
516
- return W;
515
+ E = this.utc();
516
+ return E;
517
517
  };
518
518
  var G = p.format;
519
519
  p.format = function(u) {
@@ -533,17 +533,17 @@ var ae = { exports: {} };
533
533
  p.toDate = function(u) {
534
534
  return u === "s" && this.$offset ? g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : L.call(this);
535
535
  };
536
- var z = p.diff;
536
+ var k = p.diff;
537
537
  p.diff = function(u, U, H) {
538
538
  if (u && this.$u === u.$u)
539
- return z.call(this, u, U, H);
540
- var F = this.local(), W = g(u).local();
541
- return z.call(F, W, U, H);
539
+ return k.call(this, u, U, H);
540
+ var F = this.local(), E = g(u).local();
541
+ return k.call(F, E, U, H);
542
542
  };
543
543
  };
544
544
  });
545
- })(ae);
546
- const Se = ae.exports, be = `:host {
545
+ })(se);
546
+ const be = se.exports, ve = `:host {
547
547
  font: inherit;
548
548
  display: block;
549
549
  height: 100%;
@@ -614,9 +614,9 @@ const Se = ae.exports, be = `:host {
614
614
  .DepositWithdrawalWrapper:not(.ShortCashier) {
615
615
  overflow: visible;
616
616
  }
617
- }`, ve = be;
618
- oe.extend(Se);
619
- const $e = "user-deposit-withdrawal", te = [
617
+ }`, $e = ve;
618
+ ae.extend(be);
619
+ const te = "user-deposit-withdrawal", re = [
620
620
  "mm-hcback-to-merchant",
621
621
  "mm-hc-back-tomerchant",
622
622
  "mm-hc-sports",
@@ -627,7 +627,7 @@ const $e = "user-deposit-withdrawal", te = [
627
627
  ], De = () => {
628
628
  }, Me = class {
629
629
  constructor(e) {
630
- de(this, e), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = Ce(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.toggleScreen = () => {
630
+ 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 = () => {
631
631
  window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
632
632
  }, 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 = De, this.forwardCashierRedirects = !1, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
633
633
  }
@@ -637,24 +637,24 @@ const $e = "user-deposit-withdrawal", te = [
637
637
  if (this.type === "withdraw")
638
638
  return "Withdraw";
639
639
  }
640
- handleClientStylingChange(e, a) {
641
- e != a && X(this.stylingContainer, this.clientStyling);
640
+ handleClientStylingChange(e, o) {
641
+ e != o && X(this.stylingContainer, this.clientStyling);
642
642
  }
643
- handleClientStylingChangeURL(e, a) {
644
- e != a && this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl);
643
+ handleClientStylingChangeURL(e, o) {
644
+ e != o && this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl);
645
645
  }
646
646
  async componentWillLoad() {
647
647
  if (await this.loadWidget(), this.translationUrl)
648
- return me(this.translationUrl);
648
+ return ye(this.translationUrl);
649
649
  }
650
650
  componentDidLoad() {
651
- this.stylingContainer && (window.emMessageBus != null ? ye(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && X(this.stylingContainer, this.clientStyling), this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl))), window.addEventListener("message", this.bindedHandler, !1);
651
+ this.stylingContainer && (window.emMessageBus != null ? ge(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && X(this.stylingContainer, this.clientStyling), this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl))), window.addEventListener("message", this.bindedHandler, !1);
652
652
  }
653
653
  disconnectedCallback() {
654
654
  window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
655
655
  }
656
656
  render() {
657
- return D(ce, { key: "46153b61097691f3a3b2da29aa260edf0688f01c" }, D("div", { key: "0082deaaf9c6348cff4010ec8b1f58e5ea26e99b", ref: (e) => this.stylingContainer = e, class: "" }, D("div", { key: "8aec364ea2134d01c2b29fc75136cad08fd5d965", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}` }, !(this.isMobile && !this.isShortCashier) && D("h2", { key: "4b0184e2354199332c8438b4430c047982364dff", class: "CategoryTitle" }, j(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), D("div", { key: "49c9dbda82eb6576bc11375371f4359ba0b0285d", style: { marginTop: this.isShortCashier ? "30px" : "0" } }, this.isMobile && !this.isShortCashier ? D("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, D("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, D("defs", null), D("g", { transform: "translate(-20 -158)" }, D("g", { transform: "translate(20 158)" }, D("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), D("h2", { class: "CategoryTitleMobile" }, j(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? D("iframe", { width: "100%", allow: "payment", height: this.dynamicHeight, src: this.cashierInfoUrl }) : D("h3", { innerHTML: this.type === "deposit" ? j("denyDeposit", this.language) : j("denyWithdrawal", this.language), class: "ErrorMessage" }))));
657
+ return D(le, { key: "46153b61097691f3a3b2da29aa260edf0688f01c" }, D("div", { key: "0082deaaf9c6348cff4010ec8b1f58e5ea26e99b", ref: (e) => this.stylingContainer = e, class: "" }, D("div", { key: "8aec364ea2134d01c2b29fc75136cad08fd5d965", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}` }, !(this.isMobile && !this.isShortCashier) && D("h2", { key: "4b0184e2354199332c8438b4430c047982364dff", class: "CategoryTitle" }, j(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), D("div", { key: "49c9dbda82eb6576bc11375371f4359ba0b0285d", style: { marginTop: this.isShortCashier ? "30px" : "0" } }, this.isMobile && !this.isShortCashier ? D("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, D("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, D("defs", null), D("g", { transform: "translate(-20 -158)" }, D("g", { transform: "translate(20 158)" }, D("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), D("h2", { class: "CategoryTitleMobile" }, j(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? D("iframe", { width: "100%", allow: "payment", height: this.dynamicHeight, src: this.cashierInfoUrl }) : D("h3", { innerHTML: this.type === "deposit" ? j("denyDeposit", this.language) : j("denyWithdrawal", this.language), class: "ErrorMessage" }))));
658
658
  }
659
659
  async loadWidget() {
660
660
  const e = {
@@ -669,22 +669,22 @@ const $e = "user-deposit-withdrawal", te = [
669
669
  currency: this.currency,
670
670
  showBonusSelectionInput: this.showBonusSelectionInput
671
671
  };
672
- if (!(Object.values(e).some((a) => a === void 0) || !this.endpoint))
672
+ if (!(Object.values(e).some((o) => o === void 0) || !this.endpoint))
673
673
  try {
674
- const a = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, o = await fetch(a, {
674
+ const o = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, a = await fetch(o, {
675
675
  method: "POST",
676
676
  headers: {
677
677
  "X-Sessionid": this.session,
678
678
  "Content-Type": "application/json",
679
- "X-Client-Request-Timestamp": oe.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
679
+ "X-Client-Request-Timestamp": ae.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
680
680
  },
681
681
  body: JSON.stringify(e)
682
682
  });
683
- if (!o.ok) {
684
- const m = await o.text();
683
+ if (!a.ok) {
684
+ const m = await a.text();
685
685
  throw new Error(m);
686
686
  }
687
- const l = await o.json();
687
+ const l = await a.json();
688
688
  if (l.CashierInfo)
689
689
  this.cashierInfoUrl = l.CashierInfo.Url;
690
690
  else {
@@ -697,25 +697,25 @@ const $e = "user-deposit-withdrawal", te = [
697
697
  const v = { type: "error", message: m };
698
698
  window.postMessage({ type: "DenyDepositOrWithdrawal", data: v }, window.location.href);
699
699
  }
700
- } catch (a) {
701
- console.error(a);
700
+ } catch (o) {
701
+ console.error(o);
702
702
  }
703
703
  }
704
704
  handleMessage(e) {
705
- const a = this.extractPayload(e);
706
- if (!a)
705
+ const o = this.extractPayload(e);
706
+ if (!o)
707
707
  return;
708
- this.applyLayoutHints(a);
709
- const o = this.extractCashierRedirectReason(a);
710
- if (!o || this.emitForwardedRedirect(e, o))
708
+ this.applyLayoutHints(o);
709
+ const a = this.extractCashierRedirectReason(o);
710
+ if (!a || this.emitForwardedRedirect(e, a))
711
711
  return;
712
- const l = this.resolveRedirectPlan(o);
712
+ const l = this.resolveRedirectPlan(a);
713
713
  l && this.doRedirect(l.reason, l.targetUrl);
714
714
  }
715
715
  extractCashierRedirectReason(e) {
716
- if (typeof e?.type == "string" && te.includes(e.type))
716
+ if (typeof e?.type == "string" && re.includes(e.type))
717
717
  return e.type;
718
- if (typeof e?.redirect == "string" && te.includes(e.redirect))
718
+ if (typeof e?.redirect == "string" && re.includes(e.redirect))
719
719
  return e.redirect;
720
720
  }
721
721
  extractPayload(e) {
@@ -723,7 +723,10 @@ const $e = "user-deposit-withdrawal", te = [
723
723
  return e.data;
724
724
  }
725
725
  applyLayoutHints(e) {
726
- 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");
726
+ 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"]) {
727
+ const o = e["MMFE:vendorRedirect"];
728
+ window.postMessage({ type: `${te}:mm-open-vendor`, url: o }, window.location.href);
729
+ }
727
730
  }
728
731
  resolveRedirectPlan(e) {
729
732
  switch (e) {
@@ -743,29 +746,29 @@ const $e = "user-deposit-withdrawal", te = [
743
746
  return;
744
747
  }
745
748
  }
746
- buildRedirectPlan(e, a) {
747
- if (a)
748
- return { reason: e, targetUrl: a };
749
+ buildRedirectPlan(e, o) {
750
+ if (o)
751
+ return { reason: e, targetUrl: o };
749
752
  }
750
- emitForwardedRedirect(e, a) {
753
+ emitForwardedRedirect(e, o) {
751
754
  if (!this.forwardCashierRedirects)
752
755
  return !1;
753
- const o = {
754
- type: `${$e}:${a}`,
755
- originalType: a,
756
+ const a = {
757
+ type: `${te}:${o}`,
758
+ originalType: o,
756
759
  payload: e.data,
757
760
  origin: e.origin
758
761
  };
759
- return window.postMessage(o, window.location.href), !0;
762
+ return window.postMessage(a, window.location.href), !0;
760
763
  }
761
- doRedirect(e, a) {
762
- const o = { reason: e, url: a, cancel: !1 };
763
- if (this.beforeRedirect(o), !o.cancel) {
764
- if (!o.url) {
764
+ doRedirect(e, o) {
765
+ const a = { reason: e, url: o, cancel: !1 };
766
+ if (this.beforeRedirect(a), !a.cancel) {
767
+ if (!a.url) {
765
768
  window.location.href = "/";
766
769
  return;
767
770
  }
768
- window.location.href = o.url;
771
+ window.location.href = a.url;
769
772
  }
770
773
  }
771
774
  static get watchers() {
@@ -775,7 +778,7 @@ const $e = "user-deposit-withdrawal", te = [
775
778
  };
776
779
  }
777
780
  };
778
- Me.style = ve;
781
+ Me.style = $e;
779
782
  export {
780
783
  Me as user_deposit_withdrawal
781
784
  };