@everymatrix/casino-header-controller-nd 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 (31) hide show
  1. package/components/{CasinoHamburgerMenuNd-N2xG7QFL.cjs → CasinoHamburgerMenuNd-B2DkEFz9.cjs} +1 -1
  2. package/components/{CasinoHamburgerMenuNd-B-xhQHj2.js → CasinoHamburgerMenuNd-BlQXd6S1.js} +1 -1
  3. package/components/{CasinoHamburgerMenuNd-DNzDyebv.js → CasinoHamburgerMenuNd-Cq5yI29N.js} +1 -1
  4. package/components/{CasinoHeaderControllerNd-eOApfXrH.js → CasinoHeaderControllerNd-BZlPk21F.js} +4 -4
  5. package/components/{CasinoHeaderControllerNd-JnA00Nbn.cjs → CasinoHeaderControllerNd-CPA_5bY1.cjs} +1 -1
  6. package/components/{CasinoHeaderControllerNd-OX1waYhB.js → CasinoHeaderControllerNd-DOfLBhWo.js} +4 -4
  7. package/components/{PlayerAccountBalanceModalNd-Dcm_kGSF.js → PlayerAccountBalanceModalNd-BBf39DG3.js} +1 -1
  8. package/components/{PlayerAccountBalanceModalNd-DZlrKIv5.cjs → PlayerAccountBalanceModalNd-Chld-kmf.cjs} +1 -1
  9. package/components/{PlayerAccountBalanceModalNd-BGFY1SQ1.js → PlayerAccountBalanceModalNd-DJGFMBu9.js} +1 -1
  10. package/components/{PlayerDeposit-B-AmFhUb.js → PlayerDeposit-CEt5ZVHC.js} +1 -1
  11. package/components/{PlayerDeposit-C_liyHTn.cjs → PlayerDeposit-Cw-fc-b_.cjs} +1 -1
  12. package/components/{PlayerDeposit-DhBGIeD6.js → PlayerDeposit-wMmkqZvI.js} +1 -1
  13. package/es2015/casino-header-controller-nd.cjs +1 -1
  14. package/es2015/casino-header-controller-nd.js +1 -1
  15. package/esnext/casino-header-controller-nd.js +1 -1
  16. package/lazy/{casino-hamburger-menu-nd-DtgqkQZy.js → casino-hamburger-menu-nd-DUZ9t3o8.js} +1 -1
  17. package/lazy/{casino-hamburger-menu-nd-DZIwMPWt.js → casino-hamburger-menu-nd-DmKAdTnZ.js} +1 -1
  18. package/lazy/{casino-hamburger-menu-nd-ywrsru39.cjs → casino-hamburger-menu-nd-pdM-INrm.cjs} +1 -1
  19. package/lazy/{player-account-balance-modal-nd-Dgwo2VN9.cjs → player-account-balance-modal-nd-A4K9M6oM.cjs} +1 -1
  20. package/lazy/{player-account-balance-modal-nd-DLQ1cfWU.js → player-account-balance-modal-nd-DPmAPOZS.js} +1 -1
  21. package/lazy/{player-account-balance-modal-nd-BNL38Peo.js → player-account-balance-modal-nd-Ya9DKWqc.js} +1 -1
  22. package/lazy/{player-deposit-6LL_6wjC.js → player-deposit-CI2ZD8s6.js} +1 -1
  23. package/lazy/{player-deposit-Oe0nPYXj.cjs → player-deposit-Cm0EyJX6.cjs} +1 -1
  24. package/lazy/{player-deposit-CoMrGsw1.js → player-deposit-iXNHw1ZZ.js} +1 -1
  25. package/lazy/{user-deposit-withdrawal-Mlqc62aZ.js → user-deposit-withdrawal-C8Xm84ii.js} +1 -1
  26. package/lazy/{user-deposit-withdrawal-DUMs1S3v.cjs → user-deposit-withdrawal-C_ZJ6MFQ.cjs} +1 -1
  27. package/lazy/{user-deposit-withdrawal-CAegaYeV.js → user-deposit-withdrawal-DhkBJ3jZ.js} +1 -1
  28. package/package.json +1 -1
  29. package/stencil/{user-deposit-withdrawal-sqMzKClT.cjs → user-deposit-withdrawal-53Z7tGuX.cjs} +2 -2
  30. package/stencil/{user-deposit-withdrawal-BNv5WcIq.js → user-deposit-withdrawal-CGgsbbGm.js} +185 -182
  31. package/stencil/{user-deposit-withdrawal-BN_2yjKT.js → user-deposit-withdrawal-CdY_BBMu.js} +207 -204
@@ -1,4 +1,4 @@
1
- var Q = (e, a, i) => new Promise((c, 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));
@@ -11,22 +11,22 @@ var Q = (e, a, i) => new Promise((c, p) => {
11
11
  } catch ($) {
12
12
  p($);
13
13
  }
14
- }, y = (h) => h.done ? c(h.value) : Promise.resolve(h.value).then(b, w);
15
- y((i = i.apply(e, a)).next());
14
+ }, y = (h) => h.done ? l(h.value) : Promise.resolve(h.value).then(b, w);
15
+ y((i = i.apply(e, o)).next());
16
16
  });
17
- import { b as de, p as le, r as ce, h as M, H as he, s as fe } from "../lazy/user-deposit-withdrawal-Mlqc62aZ.js";
18
- import { g as pe } from "./app-globals-0f993ce5-Cgk0KVAu.js";
19
- var me = () => {
20
- const e = import.meta.url, a = {};
21
- return e !== "" && (a.resourcesUrl = new URL(".", e).href), le(a);
17
+ import { b as ce, p as le, r as he, h as M, H as fe, s as pe } from "../lazy/user-deposit-withdrawal-C8Xm84ii.js";
18
+ import { g as me } from "./app-globals-0f993ce5-Cgk0KVAu.js";
19
+ var ye = () => {
20
+ const e = import.meta.url, o = {};
21
+ return e !== "" && (o.resourcesUrl = new URL(".", e).href), le(o);
22
22
  };
23
- me().then((e) => Q(void 0, null, function* () {
24
- return yield pe(), 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);
23
+ ye().then((e) => Q(void 0, null, function* () {
24
+ return yield me(), ce([["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
26
  const ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27
27
  __proto__: null,
28
- setNonce: fe
29
- }, Symbol.toStringTag, { value: "Module" })), ye = "en", ge = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], ne = {
28
+ setNonce: pe
29
+ }, Symbol.toStringTag, { value: "Module" })), ge = "en", we = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], ie = {
30
30
  en: {
31
31
  Deposit: "Deposit",
32
32
  Withdraw: "Withdraw",
@@ -128,132 +128,132 @@ const ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
128
128
  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",
129
129
  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"
130
130
  }
131
- }, we = (e) => new Promise((a) => {
131
+ }, Ce = (e) => new Promise((o) => {
132
132
  fetch(e).then((i) => i.json()).then((i) => {
133
- Object.keys(i).forEach((c) => {
134
- for (let p in i[c])
135
- ne[c][p] = i[c][p];
136
- }), a(!0);
133
+ Object.keys(i).forEach((l) => {
134
+ for (let p in i[l])
135
+ ie[l][p] = i[l][p];
136
+ }), o(!0);
137
137
  });
138
- }), x = (e, a) => {
139
- const i = a;
140
- return ne[i !== void 0 && ge.includes(i) ? i : ye][e];
138
+ }), x = (e, o) => {
139
+ const i = o;
140
+ return ie[i !== void 0 && we.includes(i) ? i : ge][e];
141
141
  }, Y = "__WIDGET_GLOBAL_STYLE_CACHE__";
142
- function ee(e, a) {
142
+ function ee(e, o) {
143
143
  if (e) {
144
144
  const i = document.createElement("style");
145
- i.innerHTML = a, e.appendChild(i);
145
+ i.innerHTML = o, e.appendChild(i);
146
146
  }
147
147
  }
148
- function te(e, a) {
149
- if (!e || !a)
148
+ function te(e, o) {
149
+ if (!e || !o)
150
150
  return;
151
- const i = new URL(a);
152
- fetch(i.href).then((c) => c.text()).then((c) => {
151
+ const i = new URL(o);
152
+ fetch(i.href).then((l) => l.text()).then((l) => {
153
153
  const p = document.createElement("style");
154
- p.innerHTML = c, e && e.appendChild(p);
155
- }).catch((c) => {
156
- console.error("There was an error while trying to load client styling from URL", c);
154
+ p.innerHTML = l, e && e.appendChild(p);
155
+ }).catch((l) => {
156
+ console.error("There was an error while trying to load client styling from URL", l);
157
157
  });
158
158
  }
159
- function Ce(e, a, i, c = !1) {
159
+ function Se(e, o, i, l = !1) {
160
160
  if (!window.emMessageBus)
161
161
  return;
162
- if (!("adoptedStyleSheets" in Document.prototype) || !c)
163
- return i = Se(e, a), i;
164
- window[Y] || (window[Y] = {}), i = be(e, a);
162
+ if (!("adoptedStyleSheets" in Document.prototype) || !l)
163
+ return i = be(e, o), i;
164
+ window[Y] || (window[Y] = {}), i = ve(e, o);
165
165
  const b = i.unsubscribe.bind(i), w = () => {
166
- if (window[Y][a]) {
167
- const y = window[Y][a];
168
- y.refCount > 1 ? y.refCount = y.refCount - 1 : delete window[Y][a];
166
+ if (window[Y][o]) {
167
+ const y = window[Y][o];
168
+ y.refCount > 1 ? y.refCount = y.refCount - 1 : delete window[Y][o];
169
169
  }
170
170
  b();
171
171
  };
172
172
  return i.unsubscribe = w, i;
173
173
  }
174
- function Se(e, a) {
174
+ function be(e, o) {
175
175
  const i = document.createElement("style");
176
- return window.emMessageBus.subscribe(a, (c) => {
177
- e && (i.innerHTML = c, e.appendChild(i));
176
+ return window.emMessageBus.subscribe(o, (l) => {
177
+ e && (i.innerHTML = l, e.appendChild(i));
178
178
  });
179
179
  }
180
- function be(e, a) {
181
- return window.emMessageBus.subscribe(a, (i) => {
180
+ function ve(e, o) {
181
+ return window.emMessageBus.subscribe(o, (i) => {
182
182
  var y;
183
183
  if (!e)
184
184
  return;
185
- const c = e.getRootNode(), p = window[Y];
186
- let b = (y = p[a]) == null ? void 0 : y.sheet;
187
- b ? p[a].refCount = p[a].refCount + 1 : (b = new CSSStyleSheet(), b.replaceSync(i), p[a] = {
185
+ const l = e.getRootNode(), p = window[Y];
186
+ let b = (y = p[o]) == null ? void 0 : y.sheet;
187
+ b ? p[o].refCount = p[o].refCount + 1 : (b = new CSSStyleSheet(), b.replaceSync(i), p[o] = {
188
188
  sheet: b,
189
189
  refCount: 1
190
190
  });
191
- const w = c.adoptedStyleSheets || [];
192
- w.includes(b) || (c.adoptedStyleSheets = [...w, b]);
191
+ const w = l.adoptedStyleSheets || [];
192
+ w.includes(b) || (l.adoptedStyleSheets = [...w, b]);
193
193
  });
194
194
  }
195
- const ve = (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));
196
- var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, oe = { exports: {} };
197
- (function(e, a) {
198
- (function(i, c) {
199
- e.exports = c();
200
- })(ie, function() {
201
- var i = 1e3, c = 6e4, p = 36e5, b = "millisecond", w = "second", y = "minute", h = "hour", $ = "day", I = "week", U = "month", G = "quarter", O = "year", L = "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, _ = { 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) {
195
+ const $e = (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));
196
+ var oe = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ae = { exports: {} };
197
+ (function(e, o) {
198
+ (function(i, l) {
199
+ e.exports = l();
200
+ })(oe, function() {
201
+ var i = 1e3, l = 6e4, p = 36e5, b = "millisecond", w = "second", y = "minute", h = "hour", $ = "day", I = "week", U = "month", G = "quarter", O = "year", L = "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, _ = { 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) {
202
202
  var n = ["th", "st", "nd", "rd"], t = s % 100;
203
203
  return "[" + s + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
204
- } }, T = function(s, n, t) {
205
- var o = String(s);
206
- return !o || o.length >= n ? s : "" + Array(n + 1 - o.length).join(t) + s;
207
- }, Z = { s: T, z: function(s) {
208
- var n = -s.utcOffset(), t = Math.abs(n), o = Math.floor(t / 60), r = t % 60;
209
- return (n <= 0 ? "+" : "-") + T(o, 2, "0") + ":" + T(r, 2, "0");
204
+ } }, E = function(s, n, t) {
205
+ var a = String(s);
206
+ return !a || a.length >= n ? s : "" + Array(n + 1 - a.length).join(t) + s;
207
+ }, Z = { s: E, z: function(s) {
208
+ var n = -s.utcOffset(), t = Math.abs(n), a = Math.floor(t / 60), r = t % 60;
209
+ return (n <= 0 ? "+" : "-") + E(a, 2, "0") + ":" + E(r, 2, "0");
210
210
  }, m: function s(n, t) {
211
211
  if (n.date() < t.date())
212
212
  return -s(t, n);
213
- var o = 12 * (t.year() - n.year()) + (t.month() - n.month()), r = n.clone().add(o, U), d = t - r < 0, l = n.clone().add(o + (d ? -1 : 1), U);
214
- return +(-(o + (t - r) / (d ? r - l : l - r)) || 0);
213
+ 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);
214
+ return +(-(a + (t - r) / (d ? r - c : c - r)) || 0);
215
215
  }, a: function(s) {
216
216
  return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
217
217
  }, p: function(s) {
218
218
  return { M: U, y: O, w: I, d: $, D: L, h, m: y, s: w, ms: b, Q: G }[s] || String(s || "").toLowerCase().replace(/s$/, "");
219
219
  }, u: function(s) {
220
220
  return s === void 0;
221
- } }, k = "en", z = {};
222
- z[k] = _;
221
+ } }, R = "en", z = {};
222
+ z[R] = _;
223
223
  var A = "$isDayjsObject", B = function(s) {
224
224
  return s instanceof J || !(!s || !s[A]);
225
- }, R = function s(n, t, o) {
225
+ }, k = function s(n, t, a) {
226
226
  var r;
227
227
  if (!n)
228
- return k;
228
+ return R;
229
229
  if (typeof n == "string") {
230
230
  var d = n.toLowerCase();
231
231
  z[d] && (r = d), t && (z[d] = t, r = d);
232
- var l = n.split("-");
233
- if (!r && l.length > 1)
234
- return s(l[0]);
232
+ var c = n.split("-");
233
+ if (!r && c.length > 1)
234
+ return s(c[0]);
235
235
  } else {
236
236
  var m = n.name;
237
237
  z[m] = n, r = m;
238
238
  }
239
- return !o && r && (k = r), r || !o && k;
239
+ return !a && r && (R = r), r || !a && R;
240
240
  }, C = function(s, n) {
241
241
  if (B(s))
242
242
  return s.clone();
243
243
  var t = typeof n == "object" ? n : {};
244
244
  return t.date = s, t.args = arguments, new J(t);
245
245
  }, f = Z;
246
- f.l = R, f.i = B, f.w = function(s, n) {
246
+ f.l = k, f.i = B, f.w = function(s, n) {
247
247
  return C(s, { locale: n.$L, utc: n.$u, x: n.$x, $offset: n.$offset });
248
248
  };
249
249
  var J = function() {
250
250
  function s(t) {
251
- this.$L = R(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[A] = !0;
251
+ this.$L = k(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[A] = !0;
252
252
  }
253
253
  var n = s.prototype;
254
254
  return n.parse = function(t) {
255
- this.$d = function(o) {
256
- var r = o.date, d = o.utc;
255
+ this.$d = function(a) {
256
+ var r = a.date, d = a.utc;
257
257
  if (r === null)
258
258
  return /* @__PURE__ */ new Date(NaN);
259
259
  if (f.u(r))
@@ -261,10 +261,10 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
261
261
  if (r instanceof Date)
262
262
  return new Date(r);
263
263
  if (typeof r == "string" && !/Z$/i.test(r)) {
264
- var l = r.match(W);
265
- if (l) {
266
- var m = l[2] - 1 || 0, g = (l[7] || "0").substring(0, 3);
267
- return d ? new Date(Date.UTC(l[1], m, l[3] || 1, l[4] || 0, l[5] || 0, l[6] || 0, g)) : new Date(l[1], m, l[3] || 1, l[4] || 0, l[5] || 0, l[6] || 0, g);
264
+ var c = r.match(W);
265
+ if (c) {
266
+ var m = c[2] - 1 || 0, g = (c[7] || "0").substring(0, 3);
267
+ 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);
268
268
  }
269
269
  }
270
270
  return new Date(r);
@@ -276,34 +276,34 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
276
276
  return f;
277
277
  }, n.isValid = function() {
278
278
  return this.$d.toString() !== u;
279
- }, n.isSame = function(t, o) {
279
+ }, n.isSame = function(t, a) {
280
280
  var r = C(t);
281
- return this.startOf(o) <= r && r <= this.endOf(o);
282
- }, n.isAfter = function(t, o) {
283
- return C(t) < this.startOf(o);
284
- }, n.isBefore = function(t, o) {
285
- return this.endOf(o) < C(t);
286
- }, n.$g = function(t, o, r) {
287
- return f.u(t) ? this[o] : this.set(r, t);
281
+ return this.startOf(a) <= r && r <= this.endOf(a);
282
+ }, n.isAfter = function(t, a) {
283
+ return C(t) < this.startOf(a);
284
+ }, n.isBefore = function(t, a) {
285
+ return this.endOf(a) < C(t);
286
+ }, n.$g = function(t, a, r) {
287
+ return f.u(t) ? this[a] : this.set(r, t);
288
288
  }, n.unix = function() {
289
289
  return Math.floor(this.valueOf() / 1e3);
290
290
  }, n.valueOf = function() {
291
291
  return this.$d.getTime();
292
- }, n.startOf = function(t, o) {
293
- var r = this, d = !!f.u(o) || o, l = f.p(t), m = function(F, D) {
294
- var j = f.w(r.$u ? Date.UTC(r.$y, D, F) : new Date(r.$y, D, F), r);
292
+ }, n.startOf = function(t, a) {
293
+ var r = this, d = !!f.u(a) || a, c = f.p(t), m = function(P, D) {
294
+ var j = f.w(r.$u ? Date.UTC(r.$y, D, P) : new Date(r.$y, D, P), r);
295
295
  return d ? j : j.endOf($);
296
- }, g = function(F, D) {
297
- return f.w(r.toDate()[F].apply(r.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(D)), r);
298
- }, S = this.$W, v = this.$M, E = this.$D, q = "set" + (this.$u ? "UTC" : "");
299
- switch (l) {
296
+ }, g = function(P, D) {
297
+ return f.w(r.toDate()[P].apply(r.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(D)), r);
298
+ }, S = this.$W, v = this.$M, T = this.$D, q = "set" + (this.$u ? "UTC" : "");
299
+ switch (c) {
300
300
  case O:
301
301
  return d ? m(1, 0) : m(31, 11);
302
302
  case U:
303
303
  return d ? m(1, v) : m(0, v + 1);
304
304
  case I:
305
- var P = this.$locale().weekStart || 0, N = (S < P ? S + 7 : S) - P;
306
- return m(d ? E - N : E + (6 - N), v);
305
+ var F = this.$locale().weekStart || 0, N = (S < F ? S + 7 : S) - F;
306
+ return m(d ? T - N : T + (6 - N), v);
307
307
  case $:
308
308
  case L:
309
309
  return g(q + "Hours", 0);
@@ -318,46 +318,46 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
318
318
  }
319
319
  }, n.endOf = function(t) {
320
320
  return this.startOf(t, !1);
321
- }, n.$set = function(t, o) {
322
- var r, d = f.p(t), l = "set" + (this.$u ? "UTC" : ""), m = (r = {}, r[$] = l + "Date", r[L] = l + "Date", r[U] = l + "Month", r[O] = l + "FullYear", r[h] = l + "Hours", r[y] = l + "Minutes", r[w] = l + "Seconds", r[b] = l + "Milliseconds", r)[d], g = d === $ ? this.$D + (o - this.$W) : o;
321
+ }, n.$set = function(t, a) {
322
+ var r, d = f.p(t), c = "set" + (this.$u ? "UTC" : ""), m = (r = {}, r[$] = c + "Date", r[L] = c + "Date", r[U] = c + "Month", r[O] = 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;
323
323
  if (d === U || d === O) {
324
324
  var S = this.clone().set(L, 1);
325
325
  S.$d[m](g), S.init(), this.$d = S.set(L, Math.min(this.$D, S.daysInMonth())).$d;
326
326
  } else
327
327
  m && this.$d[m](g);
328
328
  return this.init(), this;
329
- }, n.set = function(t, o) {
330
- return this.clone().$set(t, o);
329
+ }, n.set = function(t, a) {
330
+ return this.clone().$set(t, a);
331
331
  }, n.get = function(t) {
332
332
  return this[f.p(t)]();
333
- }, n.add = function(t, o) {
333
+ }, n.add = function(t, a) {
334
334
  var r, d = this;
335
335
  t = Number(t);
336
- var l = f.p(o), m = function(v) {
337
- var E = C(d);
338
- return f.w(E.date(E.date() + Math.round(v * t)), d);
336
+ var c = f.p(a), m = function(v) {
337
+ var T = C(d);
338
+ return f.w(T.date(T.date() + Math.round(v * t)), d);
339
339
  };
340
- if (l === U)
340
+ if (c === U)
341
341
  return this.set(U, this.$M + t);
342
- if (l === O)
342
+ if (c === O)
343
343
  return this.set(O, this.$y + t);
344
- if (l === $)
344
+ if (c === $)
345
345
  return m(1);
346
- if (l === I)
346
+ if (c === I)
347
347
  return m(7);
348
- var g = (r = {}, r[y] = c, r[h] = p, r[w] = i, r)[l] || 1, S = this.$d.getTime() + t * g;
348
+ var g = (r = {}, r[y] = l, r[h] = p, r[w] = i, r)[c] || 1, S = this.$d.getTime() + t * g;
349
349
  return f.w(S, this);
350
- }, n.subtract = function(t, o) {
351
- return this.add(-1 * t, o);
350
+ }, n.subtract = function(t, a) {
351
+ return this.add(-1 * t, a);
352
352
  }, n.format = function(t) {
353
- var o = this, r = this.$locale();
353
+ var a = this, r = this.$locale();
354
354
  if (!this.isValid())
355
355
  return r.invalidDate || u;
356
- var d = t || "YYYY-MM-DDTHH:mm:ssZ", l = f.z(this), m = this.$H, g = this.$m, S = this.$M, v = r.weekdays, E = r.months, q = r.meridiem, P = function(D, j, V, K) {
357
- return D && (D[j] || D(o, d)) || V[j].slice(0, K);
356
+ 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, F = function(D, j, V, K) {
357
+ return D && (D[j] || D(a, d)) || V[j].slice(0, K);
358
358
  }, N = function(D) {
359
359
  return f.s(m % 12 || 12, D, "0");
360
- }, F = q || function(D, j, V) {
360
+ }, P = q || function(D, j, V) {
361
361
  var K = D < 12 ? "AM" : "PM";
362
362
  return V ? K.toLowerCase() : K;
363
363
  };
@@ -365,29 +365,29 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
365
365
  return j || function(V) {
366
366
  switch (V) {
367
367
  case "YY":
368
- return String(o.$y).slice(-2);
368
+ return String(a.$y).slice(-2);
369
369
  case "YYYY":
370
- return f.s(o.$y, 4, "0");
370
+ return f.s(a.$y, 4, "0");
371
371
  case "M":
372
372
  return S + 1;
373
373
  case "MM":
374
374
  return f.s(S + 1, 2, "0");
375
375
  case "MMM":
376
- return P(r.monthsShort, S, E, 3);
376
+ return F(r.monthsShort, S, T, 3);
377
377
  case "MMMM":
378
- return P(E, S);
378
+ return F(T, S);
379
379
  case "D":
380
- return o.$D;
380
+ return a.$D;
381
381
  case "DD":
382
- return f.s(o.$D, 2, "0");
382
+ return f.s(a.$D, 2, "0");
383
383
  case "d":
384
- return String(o.$W);
384
+ return String(a.$W);
385
385
  case "dd":
386
- return P(r.weekdaysMin, o.$W, v, 2);
386
+ return F(r.weekdaysMin, a.$W, v, 2);
387
387
  case "ddd":
388
- return P(r.weekdaysShort, o.$W, v, 3);
388
+ return F(r.weekdaysShort, a.$W, v, 3);
389
389
  case "dddd":
390
- return v[o.$W];
390
+ return v[a.$W];
391
391
  case "H":
392
392
  return String(m);
393
393
  case "HH":
@@ -397,40 +397,40 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
397
397
  case "hh":
398
398
  return N(2);
399
399
  case "a":
400
- return F(m, g, !0);
400
+ return P(m, g, !0);
401
401
  case "A":
402
- return F(m, g, !1);
402
+ return P(m, g, !1);
403
403
  case "m":
404
404
  return String(g);
405
405
  case "mm":
406
406
  return f.s(g, 2, "0");
407
407
  case "s":
408
- return String(o.$s);
408
+ return String(a.$s);
409
409
  case "ss":
410
- return f.s(o.$s, 2, "0");
410
+ return f.s(a.$s, 2, "0");
411
411
  case "SSS":
412
- return f.s(o.$ms, 3, "0");
412
+ return f.s(a.$ms, 3, "0");
413
413
  case "Z":
414
- return l;
414
+ return c;
415
415
  }
416
416
  return null;
417
- }(D) || l.replace(":", "");
417
+ }(D) || c.replace(":", "");
418
418
  });
419
419
  }, n.utcOffset = function() {
420
420
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
421
- }, n.diff = function(t, o, r) {
422
- var d, l = this, m = f.p(o), g = C(t), S = (g.utcOffset() - this.utcOffset()) * c, v = this - g, E = function() {
423
- return f.m(l, g);
421
+ }, n.diff = function(t, a, r) {
422
+ var d, c = this, m = f.p(a), g = C(t), S = (g.utcOffset() - this.utcOffset()) * l, v = this - g, T = function() {
423
+ return f.m(c, g);
424
424
  };
425
425
  switch (m) {
426
426
  case O:
427
- d = E() / 12;
427
+ d = T() / 12;
428
428
  break;
429
429
  case U:
430
- d = E();
430
+ d = T();
431
431
  break;
432
432
  case G:
433
- d = E() / 3;
433
+ d = T() / 3;
434
434
  break;
435
435
  case I:
436
436
  d = (v - S) / 6048e5;
@@ -442,7 +442,7 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
442
442
  d = v / p;
443
443
  break;
444
444
  case y:
445
- d = v / c;
445
+ d = v / l;
446
446
  break;
447
447
  case w:
448
448
  d = v / i;
@@ -455,10 +455,10 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
455
455
  return this.endOf(U).$D;
456
456
  }, n.$locale = function() {
457
457
  return z[this.$L];
458
- }, n.locale = function(t, o) {
458
+ }, n.locale = function(t, a) {
459
459
  if (!t)
460
460
  return this.$L;
461
- var r = this.clone(), d = R(t, o, !0);
461
+ var r = this.clone(), d = k(t, a, !0);
462
462
  return d && (r.$L = d), r;
463
463
  }, n.clone = function() {
464
464
  return f.w(this.$d, this);
@@ -478,18 +478,18 @@ var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
478
478
  };
479
479
  }), C.extend = function(s, n) {
480
480
  return s.$i || (s(n, J, C), s.$i = !0), C;
481
- }, C.locale = R, C.isDayjs = B, C.unix = function(s) {
481
+ }, C.locale = k, C.isDayjs = B, C.unix = function(s) {
482
482
  return C(1e3 * s);
483
- }, C.en = z[k], C.Ls = z, C.p = {}, C;
483
+ }, C.en = z[R], C.Ls = z, C.p = {}, C;
484
484
  });
485
- })(oe);
486
- const ae = oe.exports;
487
- var se = { exports: {} };
488
- (function(e, a) {
489
- (function(i, c) {
490
- e.exports = c();
491
- })(ie, function() {
492
- var i = "minute", c = /[+-]\d\d(?::?\d\d)?/g, p = /([+-]|\d\d)/g;
485
+ })(ae);
486
+ const se = ae.exports;
487
+ var ue = { exports: {} };
488
+ (function(e, o) {
489
+ (function(i, l) {
490
+ e.exports = l();
491
+ })(oe, function() {
492
+ var i = "minute", l = /[+-]\d\d(?::?\d\d)?/g, p = /([+-]|\d\d)/g;
493
493
  return function(b, w, y) {
494
494
  var h = w.prototype;
495
495
  y.utc = function(u) {
@@ -518,24 +518,24 @@ var se = { exports: {} };
518
518
  var H = this.$utils().u;
519
519
  if (H(u))
520
520
  return this.$u ? 0 : H(this.$offset) ? U.call(this) : this.$offset;
521
- if (typeof u == "string" && (u = function(k) {
522
- k === void 0 && (k = "");
523
- var z = k.match(c);
521
+ if (typeof u == "string" && (u = function(R) {
522
+ R === void 0 && (R = "");
523
+ var z = R.match(l);
524
524
  if (!z)
525
525
  return null;
526
- var A = ("" + z[0]).match(p) || ["-", 0, 0], B = A[0], R = 60 * +A[1] + +A[2];
527
- return R === 0 ? 0 : B === "+" ? R : -R;
526
+ var A = ("" + z[0]).match(p) || ["-", 0, 0], B = A[0], k = 60 * +A[1] + +A[2];
527
+ return k === 0 ? 0 : B === "+" ? k : -k;
528
528
  }(u), u === null))
529
529
  return this;
530
- var _ = Math.abs(u) <= 16 ? 60 * u : u, T = this;
530
+ var _ = Math.abs(u) <= 16 ? 60 * u : u, E = this;
531
531
  if (W)
532
- return T.$offset = _, T.$u = u === 0, T;
532
+ return E.$offset = _, E.$u = u === 0, E;
533
533
  if (u !== 0) {
534
534
  var Z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
535
- (T = this.local().add(_ + Z, i)).$offset = _, T.$x.$localOffset = Z;
535
+ (E = this.local().add(_ + Z, i)).$offset = _, E.$x.$localOffset = Z;
536
536
  } else
537
- T = this.utc();
538
- return T;
537
+ E = this.utc();
538
+ return E;
539
539
  };
540
540
  var G = h.format;
541
541
  h.format = function(u) {
@@ -559,13 +559,13 @@ var se = { exports: {} };
559
559
  h.diff = function(u, W, H) {
560
560
  if (u && this.$u === u.$u)
561
561
  return L.call(this, u, W, H);
562
- var _ = this.local(), T = y(u).local();
563
- return L.call(_, T, W, H);
562
+ var _ = this.local(), E = y(u).local();
563
+ return L.call(_, E, W, H);
564
564
  };
565
565
  };
566
566
  });
567
- })(se);
568
- const $e = se.exports, De = `:host {
567
+ })(ue);
568
+ const De = ue.exports, Me = `:host {
569
569
  font: inherit;
570
570
  display: block;
571
571
  height: 100%;
@@ -636,9 +636,9 @@ const $e = se.exports, De = `:host {
636
636
  .DepositWithdrawalWrapper:not(.ShortCashier) {
637
637
  overflow: visible;
638
638
  }
639
- }`, Me = De;
640
- ae.extend($e);
641
- const Ue = "user-deposit-withdrawal", re = [
639
+ }`, Ue = Me;
640
+ se.extend(De);
641
+ const re = "user-deposit-withdrawal", ne = [
642
642
  "mm-hcback-to-merchant",
643
643
  "mm-hc-back-tomerchant",
644
644
  "mm-hc-sports",
@@ -647,9 +647,9 @@ const Ue = "user-deposit-withdrawal", re = [
647
647
  "mm-wm-hc-init-deposit",
648
648
  "mm-wm-hc-init-deposit-quick"
649
649
  ], We = () => {
650
- }, ue = class {
650
+ }, de = class {
651
651
  constructor(e) {
652
- ce(this, e), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = ve(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.toggleScreen = () => {
652
+ he(this, e), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = $e(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.toggleScreen = () => {
653
653
  window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
654
654
  }, 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 = We, this.forwardCashierRedirects = !1, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
655
655
  }
@@ -659,26 +659,26 @@ const Ue = "user-deposit-withdrawal", re = [
659
659
  if (this.type === "withdraw")
660
660
  return "Withdraw";
661
661
  }
662
- handleClientStylingChange(e, a) {
663
- e != a && ee(this.stylingContainer, this.clientStyling);
662
+ handleClientStylingChange(e, o) {
663
+ e != o && ee(this.stylingContainer, this.clientStyling);
664
664
  }
665
- handleClientStylingChangeURL(e, a) {
666
- e != a && this.clientStylingUrl && te(this.stylingContainer, this.clientStylingUrl);
665
+ handleClientStylingChangeURL(e, o) {
666
+ e != o && this.clientStylingUrl && te(this.stylingContainer, this.clientStylingUrl);
667
667
  }
668
668
  componentWillLoad() {
669
669
  return Q(this, null, function* () {
670
670
  if (yield this.loadWidget(), this.translationUrl)
671
- return we(this.translationUrl);
671
+ return Ce(this.translationUrl);
672
672
  });
673
673
  }
674
674
  componentDidLoad() {
675
- this.stylingContainer && (window.emMessageBus != null ? Ce(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);
675
+ this.stylingContainer && (window.emMessageBus != null ? Se(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);
676
676
  }
677
677
  disconnectedCallback() {
678
678
  window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
679
679
  }
680
680
  render() {
681
- 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" }, x(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" }, x(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" ? x("denyDeposit", this.language) : x("denyWithdrawal", this.language), class: "ErrorMessage" }))));
681
+ return M(fe, { 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" }, x(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" }, x(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" ? x("denyDeposit", this.language) : x("denyWithdrawal", this.language), class: "ErrorMessage" }))));
682
682
  }
683
683
  loadWidget() {
684
684
  return Q(this, null, function* () {
@@ -694,14 +694,14 @@ const Ue = "user-deposit-withdrawal", re = [
694
694
  currency: this.currency,
695
695
  showBonusSelectionInput: this.showBonusSelectionInput
696
696
  };
697
- if (!(Object.values(e).some((a) => a === void 0) || !this.endpoint))
697
+ if (!(Object.values(e).some((o) => o === void 0) || !this.endpoint))
698
698
  try {
699
- const a = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, i = yield fetch(a, {
699
+ const o = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, i = yield fetch(o, {
700
700
  method: "POST",
701
701
  headers: {
702
702
  "X-Sessionid": this.session,
703
703
  "Content-Type": "application/json",
704
- "X-Client-Request-Timestamp": ae.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
704
+ "X-Client-Request-Timestamp": se.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
705
705
  },
706
706
  body: JSON.stringify(e)
707
707
  });
@@ -709,39 +709,39 @@ const Ue = "user-deposit-withdrawal", re = [
709
709
  const p = yield i.text();
710
710
  throw new Error(p);
711
711
  }
712
- const c = yield i.json();
713
- if (c.CashierInfo)
714
- this.cashierInfoUrl = c.CashierInfo.Url;
712
+ const l = yield i.json();
713
+ if (l.CashierInfo)
714
+ this.cashierInfoUrl = l.CashierInfo.Url;
715
715
  else {
716
716
  let p;
717
- if (c.ResponseMessage) {
718
- let w = this.errorCodes.find((y) => c.ResponseMessage.includes(y)) || null;
717
+ if (l.ResponseMessage) {
718
+ let w = this.errorCodes.find((y) => l.ResponseMessage.includes(y)) || null;
719
719
  w ? p = x(`errorCode${w}`, this.language) : p = x("notFoundErrorCode", this.language);
720
720
  } else
721
721
  p = this.type === "deposit" ? x("denyDeposit", this.language) : x("denyWithdrawal", this.language);
722
722
  const b = { type: "error", message: p };
723
723
  window.postMessage({ type: "DenyDepositOrWithdrawal", data: b }, window.location.href);
724
724
  }
725
- } catch (a) {
726
- console.error(a);
725
+ } catch (o) {
726
+ console.error(o);
727
727
  }
728
728
  });
729
729
  }
730
730
  handleMessage(e) {
731
- const a = this.extractPayload(e);
732
- if (!a)
731
+ const o = this.extractPayload(e);
732
+ if (!o)
733
733
  return;
734
- this.applyLayoutHints(a);
735
- const i = this.extractCashierRedirectReason(a);
734
+ this.applyLayoutHints(o);
735
+ const i = this.extractCashierRedirectReason(o);
736
736
  if (!i || this.emitForwardedRedirect(e, i))
737
737
  return;
738
- const c = this.resolveRedirectPlan(i);
739
- c && this.doRedirect(c.reason, c.targetUrl);
738
+ const l = this.resolveRedirectPlan(i);
739
+ l && this.doRedirect(l.reason, l.targetUrl);
740
740
  }
741
741
  extractCashierRedirectReason(e) {
742
- if (typeof (e == null ? void 0 : e.type) == "string" && re.includes(e.type))
742
+ if (typeof (e == null ? void 0 : e.type) == "string" && ne.includes(e.type))
743
743
  return e.type;
744
- if (typeof (e == null ? void 0 : e.redirect) == "string" && re.includes(e.redirect))
744
+ if (typeof (e == null ? void 0 : e.redirect) == "string" && ne.includes(e.redirect))
745
745
  return e.redirect;
746
746
  }
747
747
  extractPayload(e) {
@@ -749,7 +749,10 @@ const Ue = "user-deposit-withdrawal", re = [
749
749
  return e.data;
750
750
  }
751
751
  applyLayoutHints(e) {
752
- 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");
752
+ 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"]) {
753
+ const o = e["MMFE:vendorRedirect"];
754
+ window.postMessage({ type: `${re}:mm-open-vendor`, url: o }, window.location.href);
755
+ }
753
756
  }
754
757
  resolveRedirectPlan(e) {
755
758
  switch (e) {
@@ -769,23 +772,23 @@ const Ue = "user-deposit-withdrawal", re = [
769
772
  return;
770
773
  }
771
774
  }
772
- buildRedirectPlan(e, a) {
773
- if (a)
774
- return { reason: e, targetUrl: a };
775
+ buildRedirectPlan(e, o) {
776
+ if (o)
777
+ return { reason: e, targetUrl: o };
775
778
  }
776
- emitForwardedRedirect(e, a) {
779
+ emitForwardedRedirect(e, o) {
777
780
  if (!this.forwardCashierRedirects)
778
781
  return !1;
779
782
  const i = {
780
- type: `${Ue}:${a}`,
781
- originalType: a,
783
+ type: `${re}:${o}`,
784
+ originalType: o,
782
785
  payload: e.data,
783
786
  origin: e.origin
784
787
  };
785
788
  return window.postMessage(i, window.location.href), !0;
786
789
  }
787
- doRedirect(e, a) {
788
- const i = { reason: e, url: a, cancel: !1 };
790
+ doRedirect(e, o) {
791
+ const i = { reason: e, url: o, cancel: !1 };
789
792
  if (this.beforeRedirect(i), !i.cancel) {
790
793
  if (!i.url) {
791
794
  window.location.href = "/";
@@ -801,10 +804,10 @@ const Ue = "user-deposit-withdrawal", re = [
801
804
  };
802
805
  }
803
806
  };
804
- ue.style = Me;
807
+ de.style = Ue;
805
808
  const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
806
809
  __proto__: null,
807
- user_deposit_withdrawal: ue
810
+ user_deposit_withdrawal: de
808
811
  }, Symbol.toStringTag, { value: "Module" }));
809
812
  export {
810
813
  Le as a,