@everymatrix/casino-header-controller 1.56.0 → 1.56.2

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 (33) hide show
  1. package/components/{CasinoHamburgerMenu-B2TeHkyB.js → CasinoHamburgerMenu-D3IA0-Fr.js} +882 -823
  2. package/components/CasinoHamburgerMenu-DessG6uq.cjs +21 -0
  3. package/components/{CasinoHamburgerMenu-CUR5gaxv.js → CasinoHamburgerMenu-DyL5A7W7.js} +734 -675
  4. package/components/{CasinoHeaderController-CfLLPnem.cjs → CasinoHeaderController-BFP8179I.cjs} +1 -1
  5. package/components/{CasinoHeaderController-CrEqMU6h.js → CasinoHeaderController-BbEsH91Z.js} +85 -85
  6. package/components/{CasinoHeaderController-Cv1RNj2L.js → CasinoHeaderController-DeiDjcf5.js} +87 -87
  7. package/components/{CasinoSlider-DrD2osTb.js → CasinoSlider-BiQpUhjL.js} +50 -50
  8. package/components/{CasinoSlider-BU9fkHDu.cjs → CasinoSlider-E1mSYv_J.cjs} +1 -1
  9. package/components/{CasinoSlider-CS-q7BSV.js → CasinoSlider-MTl32pNB.js} +49 -49
  10. package/components/PlayerAccountBalanceModal-B9BkSlDU.cjs +13 -0
  11. package/components/PlayerAccountBalanceModal-CEo_b6Ks.js +1510 -0
  12. package/components/PlayerAccountBalanceModal-fP9D_Jz7.js +1539 -0
  13. package/components/{PlayerDeposit-BlD-xNdY.js → PlayerDeposit-Bv78j0E8.js} +90 -90
  14. package/components/PlayerDeposit-C7xxeNB2.cjs +1 -0
  15. package/components/{PlayerDeposit-DwGrlu-U.js → PlayerDeposit-DiUqgMu-.js} +90 -90
  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-6soTLew7.js +556 -0
  21. package/stencil/index-1ef3a64c-DkMoO-oa.js +572 -0
  22. package/stencil/index-1ef3a64c-DmmoSOho.cjs +1 -0
  23. package/stencil/{user-deposit-withdrawal-BiZKbrT_.js → user-deposit-withdrawal-C72e1sSw.js} +63 -42
  24. package/stencil/{user-deposit-withdrawal-CzeoKH00.cjs → user-deposit-withdrawal-CS-LZhcv.cjs} +2 -2
  25. package/stencil/{user-deposit-withdrawal-1SJnPWvi.js → user-deposit-withdrawal-DfDiD6Lp.js} +62 -41
  26. package/components/CasinoHamburgerMenu-DYL1HIps.cjs +0 -8
  27. package/components/PlayerAccountBalanceModal--zdJlg4L.js +0 -1507
  28. package/components/PlayerAccountBalanceModal-C31JpnHA.cjs +0 -13
  29. package/components/PlayerAccountBalanceModal-aiqQaHCF.js +0 -1536
  30. package/components/PlayerDeposit-DzkmDtD0.cjs +0 -1
  31. package/stencil/index-c7e52808-DGZdfQYz.cjs +0 -1
  32. package/stencil/index-c7e52808-RGphQbEA.js +0 -638
  33. package/stencil/index-c7e52808-yJXIboHF.js +0 -654
@@ -1,4 +1,4 @@
1
- import { b as ae, p as oe, r as se, h as D, H as de } from "./index-c7e52808-RGphQbEA.js";
1
+ import { b as ae, p as oe, r as se, h as D, H as de } from "./index-1ef3a64c-6soTLew7.js";
2
2
  import { g as ue } from "./app-globals-0f993ce5-D-kw1sls.js";
3
3
  var le = () => {
4
4
  const n = import.meta.url, h = {};
@@ -148,14 +148,15 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
148
148
  var u = 1e3, l = 6e4, m = 36e5, L = "millisecond", v = "second", y = "minute", c = "hour", T = "day", q = "week", b = "month", N = "quarter", k = "year", E = "date", o = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(a) {
149
149
  var r = ["th", "st", "nd", "rd"], e = a % 100;
150
150
  return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
151
- } }, W = function(a, r, e) {
151
+ } }, U = function(a, r, e) {
152
152
  var i = String(a);
153
153
  return !i || i.length >= r ? a : "" + Array(r + 1 - i.length).join(e) + a;
154
- }, G = { s: W, z: function(a) {
154
+ }, G = { s: U, z: function(a) {
155
155
  var r = -a.utcOffset(), e = Math.abs(r), i = Math.floor(e / 60), t = e % 60;
156
- return (r <= 0 ? "+" : "-") + W(i, 2, "0") + ":" + W(t, 2, "0");
156
+ return (r <= 0 ? "+" : "-") + U(i, 2, "0") + ":" + U(t, 2, "0");
157
157
  }, m: function a(r, e) {
158
- if (r.date() < e.date()) return -a(e, r);
158
+ if (r.date() < e.date())
159
+ return -a(e, r);
159
160
  var i = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(i, b), s = e - t < 0, d = r.clone().add(i + (s ? -1 : 1), b);
160
161
  return +(-(i + (e - t) / (s ? t - d : d - t)) || 0);
161
162
  }, a: function(a) {
@@ -170,19 +171,22 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
170
171
  return a instanceof Z || !(!a || !a[Y]);
171
172
  }, j = function a(r, e, i) {
172
173
  var t;
173
- if (!r) return O;
174
+ if (!r)
175
+ return O;
174
176
  if (typeof r == "string") {
175
177
  var s = r.toLowerCase();
176
178
  z[s] && (t = s), e && (z[s] = e, t = s);
177
179
  var d = r.split("-");
178
- if (!t && d.length > 1) return a(d[0]);
180
+ if (!t && d.length > 1)
181
+ return a(d[0]);
179
182
  } else {
180
183
  var p = r.name;
181
184
  z[p] = r, t = p;
182
185
  }
183
186
  return !i && t && (O = t), t || !i && O;
184
187
  }, w = function(a, r) {
185
- if (B(a)) return a.clone();
188
+ if (B(a))
189
+ return a.clone();
186
190
  var e = typeof r == "object" ? r : {};
187
191
  return e.date = a, e.args = arguments, new Z(e);
188
192
  }, f = G;
@@ -197,9 +201,12 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
197
201
  return r.parse = function(e) {
198
202
  this.$d = function(i) {
199
203
  var t = i.date, s = i.utc;
200
- if (t === null) return /* @__PURE__ */ new Date(NaN);
201
- if (f.u(t)) return /* @__PURE__ */ new Date();
202
- if (t instanceof Date) return new Date(t);
204
+ if (t === null)
205
+ return /* @__PURE__ */ new Date(NaN);
206
+ if (f.u(t))
207
+ return /* @__PURE__ */ new Date();
208
+ if (t instanceof Date)
209
+ return new Date(t);
203
210
  if (typeof t == "string" && !/Z$/i.test(t)) {
204
211
  var d = t.match(M);
205
212
  if (d) {
@@ -235,7 +242,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
235
242
  return s ? x : x.endOf(T);
236
243
  }, g = function(R, $) {
237
244
  return f.w(t.toDate()[R].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), t);
238
- }, C = this.$W, S = this.$M, U = this.$D, P = "set" + (this.$u ? "UTC" : "");
245
+ }, C = this.$W, S = this.$M, W = this.$D, P = "set" + (this.$u ? "UTC" : "");
239
246
  switch (d) {
240
247
  case k:
241
248
  return s ? p(1, 0) : p(31, 11);
@@ -243,7 +250,7 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
243
250
  return s ? p(1, S) : p(0, S + 1);
244
251
  case q:
245
252
  var _ = this.$locale().weekStart || 0, A = (C < _ ? C + 7 : C) - _;
246
- return p(s ? U - A : U + (6 - A), S);
253
+ return p(s ? W - A : W + (6 - A), S);
247
254
  case T:
248
255
  case E:
249
256
  return g(P + "Hours", 0);
@@ -263,7 +270,8 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
263
270
  if (s === b || s === k) {
264
271
  var C = this.clone().set(E, 1);
265
272
  C.$d[p](g), C.init(), this.$d = C.set(E, Math.min(this.$D, C.daysInMonth())).$d;
266
- } else p && this.$d[p](g);
273
+ } else
274
+ p && this.$d[p](g);
267
275
  return this.init(), this;
268
276
  }, r.set = function(e, i) {
269
277
  return this.clone().$set(e, i);
@@ -273,21 +281,26 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
273
281
  var t, s = this;
274
282
  e = Number(e);
275
283
  var d = f.p(i), p = function(S) {
276
- var U = w(s);
277
- return f.w(U.date(U.date() + Math.round(S * e)), s);
284
+ var W = w(s);
285
+ return f.w(W.date(W.date() + Math.round(S * e)), s);
278
286
  };
279
- if (d === b) return this.set(b, this.$M + e);
280
- if (d === k) return this.set(k, this.$y + e);
281
- if (d === T) return p(1);
282
- if (d === q) return p(7);
287
+ if (d === b)
288
+ return this.set(b, this.$M + e);
289
+ if (d === k)
290
+ return this.set(k, this.$y + e);
291
+ if (d === T)
292
+ return p(1);
293
+ if (d === q)
294
+ return p(7);
283
295
  var g = (t = {}, t[y] = l, t[c] = m, t[v] = u, t)[d] || 1, C = this.$d.getTime() + e * g;
284
296
  return f.w(C, this);
285
297
  }, r.subtract = function(e, i) {
286
298
  return this.add(-1 * e, i);
287
299
  }, r.format = function(e) {
288
300
  var i = this, t = this.$locale();
289
- if (!this.isValid()) return t.invalidDate || o;
290
- var s = e || "YYYY-MM-DDTHH:mm:ssZ", d = f.z(this), p = this.$H, g = this.$m, C = this.$M, S = t.weekdays, U = t.months, P = t.meridiem, _ = function($, x, V, J) {
301
+ if (!this.isValid())
302
+ return t.invalidDate || o;
303
+ var s = e || "YYYY-MM-DDTHH:mm:ssZ", d = f.z(this), p = this.$H, g = this.$m, C = this.$M, S = t.weekdays, W = t.months, P = t.meridiem, _ = function($, x, V, J) {
291
304
  return $ && ($[x] || $(i, s)) || V[x].slice(0, J);
292
305
  }, A = function($) {
293
306
  return f.s(p % 12 || 12, $, "0");
@@ -307,9 +320,9 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
307
320
  case "MM":
308
321
  return f.s(C + 1, 2, "0");
309
322
  case "MMM":
310
- return _(t.monthsShort, C, U, 3);
323
+ return _(t.monthsShort, C, W, 3);
311
324
  case "MMMM":
312
- return _(U, C);
325
+ return _(W, C);
313
326
  case "D":
314
327
  return i.$D;
315
328
  case "DD":
@@ -353,18 +366,18 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
353
366
  }, r.utcOffset = function() {
354
367
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
355
368
  }, r.diff = function(e, i, t) {
356
- var s, d = this, p = f.p(i), g = w(e), C = (g.utcOffset() - this.utcOffset()) * l, S = this - g, U = function() {
369
+ var s, d = this, p = f.p(i), g = w(e), C = (g.utcOffset() - this.utcOffset()) * l, S = this - g, W = function() {
357
370
  return f.m(d, g);
358
371
  };
359
372
  switch (p) {
360
373
  case k:
361
- s = U() / 12;
374
+ s = W() / 12;
362
375
  break;
363
376
  case b:
364
- s = U();
377
+ s = W();
365
378
  break;
366
379
  case N:
367
- s = U() / 3;
380
+ s = W() / 3;
368
381
  break;
369
382
  case q:
370
383
  s = (S - C) / 6048e5;
@@ -390,7 +403,8 @@ var te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
390
403
  }, r.$locale = function() {
391
404
  return z[this.$L];
392
405
  }, r.locale = function(e, i) {
393
- if (!e) return this.$L;
406
+ if (!e)
407
+ return this.$L;
394
408
  var t = this.clone(), s = j(e, i, !0);
395
409
  return s && (t.$L = s), t;
396
410
  }, r.clone = function() {
@@ -443,26 +457,32 @@ var ie = { exports: {} };
443
457
  if (this.$u) {
444
458
  var o = this.$d;
445
459
  this.$y = o.getUTCFullYear(), this.$M = o.getUTCMonth(), this.$D = o.getUTCDate(), this.$W = o.getUTCDay(), this.$H = o.getUTCHours(), this.$m = o.getUTCMinutes(), this.$s = o.getUTCSeconds(), this.$ms = o.getUTCMilliseconds();
446
- } else q.call(this);
460
+ } else
461
+ q.call(this);
447
462
  };
448
463
  var b = c.utcOffset;
449
464
  c.utcOffset = function(o, M) {
450
465
  var I = this.$utils().u;
451
- if (I(o)) return this.$u ? 0 : I(this.$offset) ? b.call(this) : this.$offset;
466
+ if (I(o))
467
+ return this.$u ? 0 : I(this.$offset) ? b.call(this) : this.$offset;
452
468
  if (typeof o == "string" && (o = function(O) {
453
469
  O === void 0 && (O = "");
454
470
  var z = O.match(l);
455
- if (!z) return null;
471
+ if (!z)
472
+ return null;
456
473
  var Y = ("" + z[0]).match(m) || ["-", 0, 0], B = Y[0], j = 60 * +Y[1] + +Y[2];
457
474
  return j === 0 ? 0 : B === "+" ? j : -j;
458
- }(o), o === null)) return this;
459
- var F = Math.abs(o) <= 16 ? 60 * o : o, W = this;
460
- if (M) return W.$offset = F, W.$u = o === 0, W;
475
+ }(o), o === null))
476
+ return this;
477
+ var F = Math.abs(o) <= 16 ? 60 * o : o, U = this;
478
+ if (M)
479
+ return U.$offset = F, U.$u = o === 0, U;
461
480
  if (o !== 0) {
462
481
  var G = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
463
- (W = this.local().add(F + G, u)).$offset = F, W.$x.$localOffset = G;
464
- } else W = this.utc();
465
- return W;
482
+ (U = this.local().add(F + G, u)).$offset = F, U.$x.$localOffset = G;
483
+ } else
484
+ U = this.utc();
485
+ return U;
466
486
  };
467
487
  var N = c.format;
468
488
  c.format = function(o) {
@@ -484,9 +504,10 @@ var ie = { exports: {} };
484
504
  };
485
505
  var E = c.diff;
486
506
  c.diff = function(o, M, I) {
487
- if (o && this.$u === o.$u) return E.call(this, o, M, I);
488
- var F = this.local(), W = y(o).local();
489
- return E.call(F, W, M, I);
507
+ if (o && this.$u === o.$u)
508
+ return E.call(this, o, M, I);
509
+ var F = this.local(), U = y(o).local();
510
+ return E.call(F, U, M, I);
490
511
  };
491
512
  };
492
513
  });
@@ -554,7 +575,7 @@ ne.extend(ge);
554
575
  const Ce = () => {
555
576
  }, ve = class {
556
577
  constructor(n) {
557
- se(this, n), this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.beforeRedirect = Ce, this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = me(this.userAgent), this.errorCodes = ["21123", "21122"];
578
+ se(this, n), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = me(this.userAgent), this.errorCodes = ["21123", "21122"], 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 = void 0, 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 = Ce, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
558
579
  }
559
580
  get typeParameter() {
560
581
  if (this.type === "deposit")
@@ -1,4 +1,4 @@
1
- "use strict";var Q=(n,h,s)=>new Promise((l,p)=>{var L=c=>{try{g(s.next(c))}catch(b){p(b)}},w=c=>{try{g(s.throw(c))}catch(b){p(b)}},g=c=>c.done?l(c.value):Promise.resolve(c.value).then(L,w);g((s=s.apply(n,h)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./index-c7e52808-DGZdfQYz.cjs"),de=require("./app-globals-0f993ce5-sCt45RkC.cjs");var K=typeof document!="undefined"?document.currentScript:null,ue=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:K&&K.tagName.toUpperCase()==="SCRIPT"&&K.src||new URL("stencil/user-deposit-withdrawal-CzeoKH00.cjs",document.baseURI).href,h={};return n!==""&&(h.resourcesUrl=new URL(".",n).href),S.promiseResolve(h)};ue().then(n=>Q(exports,null,function*(){return yield de.globalScripts(),S.bootstrapLazy([["user-deposit-withdrawal",[[1,"user-deposit-withdrawal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],endpoint:[513],type:[513],channel:[513],language:[513],productType:[513,"product-type"],userId:[513,"user-id"],session:[513],successUrl:[513,"success-url"],cancelUrl:[513,"cancel-url"],failUrl:[513,"fail-url"],sportsUrl:[513,"sports-url"],casinoUrl:[513,"casino-url"],contactUrl:[513,"contact-url"],depositUrl:[513,"deposit-url"],currency:[513],showBonusSelectionInput:[513,"show-bonus-selection-input"],isShortCashier:[516,"is-short-cashier"],homeUrl:[513,"home-url"],beforeRedirect:[16],dynamicHeight:[32],cashierInfoUrl:[32]},null,{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],n)}));const ce="en",le=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],re={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate depost transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate depost transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",errorCode21122:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a iniția o tranzacție de retragere din contul dvs. de jucător. Cod de eroare: 21122",errorCode21123:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a efectua o depunere în contul dvs. de jucător. Cod de eroare: 21123"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",errorCode21122:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier une transaction de retrait depuis votre compte joueur. Code d’erreur : 21122",errorCode21123:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à effectuer un dépôt sur votre compte joueur. Code d’erreur : 21123"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente não tem permissão para iniciar uma transação de levantamento na sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente não tem permissão para realizar um depósito na sua conta de jogador. Código de erro: 21123"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente você não tem permissão para iniciar uma transação de saque em sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente você não tem permissão para realizar um depósito em sua conta de jogador. Código de erro: 21123"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",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",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"}},he=n=>new Promise(h=>{fetch(n).then(s=>s.json()).then(s=>{Object.keys(s).forEach(l=>{for(let p in s[l])re[l][p]=s[l][p]}),h(!0)})}),I=(n,h)=>{const s=h;return re[s!==void 0&&le.includes(s)?s:ce][n]};function ee(n,h){if(n){const s=document.createElement("style");s.innerHTML=h,n.appendChild(s)}}function te(n,h){const s=new URL(h);fetch(s.href).then(l=>l.text()).then(l=>{const p=document.createElement("style");p.innerHTML=l,n&&n.appendChild(p)}).catch(l=>{console.error("There was an error while trying to load client styling from URL",l)})}function fe(n,h,s){if(window.emMessageBus){const l=document.createElement("style");window.emMessageBus.subscribe(h,p=>{l.innerHTML=p,n&&n.appendChild(l)})}}const pe=n=>!!(n.toLowerCase().match(/android/i)||n.toLowerCase().match(/blackberry|bb/i)||n.toLowerCase().match(/iphone|ipad|ipod/i)||n.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));var ne=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ie={exports:{}};(function(n,h){(function(s,l){n.exports=l()})(ne,function(){var s=1e3,l=6e4,p=36e5,L="millisecond",w="second",g="minute",c="hour",b="day",q="week",M="month",N="quarter",k="year",O="date",o="Invalid Date",U=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,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(a){var r=["th","st","nd","rd"],e=a%100;return"["+a+(r[(e-20)%10]||r[e]||r[0])+"]"}},W=function(a,r,e){var i=String(a);return!i||i.length>=r?a:""+Array(r+1-i.length).join(e)+a},G={s:W,z:function(a){var r=-a.utcOffset(),e=Math.abs(r),i=Math.floor(e/60),t=e%60;return(r<=0?"+":"-")+W(i,2,"0")+":"+W(t,2,"0")},m:function a(r,e){if(r.date()<e.date())return-a(e,r);var i=12*(e.year()-r.year())+(e.month()-r.month()),t=r.clone().add(i,M),d=e-t<0,u=r.clone().add(i+(d?-1:1),M);return+(-(i+(e-t)/(d?t-u:u-t))||0)},a:function(a){return a<0?Math.ceil(a)||0:Math.floor(a)},p:function(a){return{M,y:k,w:q,d:b,D:O,h:c,m:g,s:w,ms:L,Q:N}[a]||String(a||"").toLowerCase().replace(/s$/,"")},u:function(a){return a===void 0}},j="en",z={};z[j]=F;var P="$isDayjsObject",B=function(a){return a instanceof Z||!(!a||!a[P])},E=function a(r,e,i){var t;if(!r)return j;if(typeof r=="string"){var d=r.toLowerCase();z[d]&&(t=d),e&&(z[d]=e,t=d);var u=r.split("-");if(!t&&u.length>1)return a(u[0])}else{var m=r.name;z[m]=r,t=m}return!i&&t&&(j=t),t||!i&&j},C=function(a,r){if(B(a))return a.clone();var e=typeof r=="object"?r:{};return e.date=a,e.args=arguments,new Z(e)},f=G;f.l=E,f.i=B,f.w=function(a,r){return C(a,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var Z=function(){function a(e){this.$L=E(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[P]=!0}var r=a.prototype;return r.parse=function(e){this.$d=function(i){var t=i.date,d=i.utc;if(t===null)return new Date(NaN);if(f.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var u=t.match(U);if(u){var m=u[2]-1||0,y=(u[7]||"0").substring(0,3);return d?new Date(Date.UTC(u[1],m,u[3]||1,u[4]||0,u[5]||0,u[6]||0,y)):new Date(u[1],m,u[3]||1,u[4]||0,u[5]||0,u[6]||0,y)}}return new Date(t)}(e),this.init()},r.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},r.$utils=function(){return f},r.isValid=function(){return this.$d.toString()!==o},r.isSame=function(e,i){var t=C(e);return this.startOf(i)<=t&&t<=this.endOf(i)},r.isAfter=function(e,i){return C(e)<this.startOf(i)},r.isBefore=function(e,i){return this.endOf(i)<C(e)},r.$g=function(e,i,t){return f.u(e)?this[i]:this.set(t,e)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(e,i){var t=this,d=!!f.u(i)||i,u=f.p(e),m=function(R,D){var x=f.w(t.$u?Date.UTC(t.$y,D,R):new Date(t.$y,D,R),t);return d?x:x.endOf(b)},y=function(R,D){return f.w(t.toDate()[R].apply(t.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(D)),t)},v=this.$W,$=this.$M,T=this.$D,Y="set"+(this.$u?"UTC":"");switch(u){case k:return d?m(1,0):m(31,11);case M:return d?m(1,$):m(0,$+1);case q:var _=this.$locale().weekStart||0,A=(v<_?v+7:v)-_;return m(d?T-A:T+(6-A),$);case b:case O:return y(Y+"Hours",0);case c:return y(Y+"Minutes",1);case g:return y(Y+"Seconds",2);case w:return y(Y+"Milliseconds",3);default:return this.clone()}},r.endOf=function(e){return this.startOf(e,!1)},r.$set=function(e,i){var t,d=f.p(e),u="set"+(this.$u?"UTC":""),m=(t={},t[b]=u+"Date",t[O]=u+"Date",t[M]=u+"Month",t[k]=u+"FullYear",t[c]=u+"Hours",t[g]=u+"Minutes",t[w]=u+"Seconds",t[L]=u+"Milliseconds",t)[d],y=d===b?this.$D+(i-this.$W):i;if(d===M||d===k){var v=this.clone().set(O,1);v.$d[m](y),v.init(),this.$d=v.set(O,Math.min(this.$D,v.daysInMonth())).$d}else m&&this.$d[m](y);return this.init(),this},r.set=function(e,i){return this.clone().$set(e,i)},r.get=function(e){return this[f.p(e)]()},r.add=function(e,i){var t,d=this;e=Number(e);var u=f.p(i),m=function($){var T=C(d);return f.w(T.date(T.date()+Math.round($*e)),d)};if(u===M)return this.set(M,this.$M+e);if(u===k)return this.set(k,this.$y+e);if(u===b)return m(1);if(u===q)return m(7);var y=(t={},t[g]=l,t[c]=p,t[w]=s,t)[u]||1,v=this.$d.getTime()+e*y;return f.w(v,this)},r.subtract=function(e,i){return this.add(-1*e,i)},r.format=function(e){var i=this,t=this.$locale();if(!this.isValid())return t.invalidDate||o;var d=e||"YYYY-MM-DDTHH:mm:ssZ",u=f.z(this),m=this.$H,y=this.$m,v=this.$M,$=t.weekdays,T=t.months,Y=t.meridiem,_=function(D,x,V,J){return D&&(D[x]||D(i,d))||V[x].slice(0,J)},A=function(D){return f.s(m%12||12,D,"0")},R=Y||function(D,x,V){var J=D<12?"AM":"PM";return V?J.toLowerCase():J};return d.replace(H,function(D,x){return x||function(V){switch(V){case"YY":return String(i.$y).slice(-2);case"YYYY":return f.s(i.$y,4,"0");case"M":return v+1;case"MM":return f.s(v+1,2,"0");case"MMM":return _(t.monthsShort,v,T,3);case"MMMM":return _(T,v);case"D":return i.$D;case"DD":return f.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return _(t.weekdaysMin,i.$W,$,2);case"ddd":return _(t.weekdaysShort,i.$W,$,3);case"dddd":return $[i.$W];case"H":return String(m);case"HH":return f.s(m,2,"0");case"h":return A(1);case"hh":return A(2);case"a":return R(m,y,!0);case"A":return R(m,y,!1);case"m":return String(y);case"mm":return f.s(y,2,"0");case"s":return String(i.$s);case"ss":return f.s(i.$s,2,"0");case"SSS":return f.s(i.$ms,3,"0");case"Z":return u}return null}(D)||u.replace(":","")})},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(e,i,t){var d,u=this,m=f.p(i),y=C(e),v=(y.utcOffset()-this.utcOffset())*l,$=this-y,T=function(){return f.m(u,y)};switch(m){case k:d=T()/12;break;case M:d=T();break;case N:d=T()/3;break;case q:d=($-v)/6048e5;break;case b:d=($-v)/864e5;break;case c:d=$/p;break;case g:d=$/l;break;case w:d=$/s;break;default:d=$}return t?d:f.a(d)},r.daysInMonth=function(){return this.endOf(M).$D},r.$locale=function(){return z[this.$L]},r.locale=function(e,i){if(!e)return this.$L;var t=this.clone(),d=E(e,i,!0);return d&&(t.$L=d),t},r.clone=function(){return f.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},a}(),X=Z.prototype;return C.prototype=X,[["$ms",L],["$s",w],["$m",g],["$H",c],["$W",b],["$M",M],["$y",k],["$D",O]].forEach(function(a){X[a[1]]=function(r){return this.$g(r,a[0],a[1])}}),C.extend=function(a,r){return a.$i||(a(r,Z,C),a.$i=!0),C},C.locale=E,C.isDayjs=B,C.unix=function(a){return C(1e3*a)},C.en=z[j],C.Ls=z,C.p={},C})})(ie);const ae=ie.exports;var oe={exports:{}};(function(n,h){(function(s,l){n.exports=l()})(ne,function(){var s="minute",l=/[+-]\d\d(?::?\d\d)?/g,p=/([+-]|\d\d)/g;return function(L,w,g){var c=w.prototype;g.utc=function(o){var U={date:o,utc:!0,args:arguments};return new w(U)},c.utc=function(o){var U=g(this.toDate(),{locale:this.$L,utc:!0});return o?U.add(this.utcOffset(),s):U},c.local=function(){return g(this.toDate(),{locale:this.$L,utc:!1})};var b=c.parse;c.parse=function(o){o.utc&&(this.$u=!0),this.$utils().u(o.$offset)||(this.$offset=o.$offset),b.call(this,o)};var q=c.init;c.init=function(){if(this.$u){var o=this.$d;this.$y=o.getUTCFullYear(),this.$M=o.getUTCMonth(),this.$D=o.getUTCDate(),this.$W=o.getUTCDay(),this.$H=o.getUTCHours(),this.$m=o.getUTCMinutes(),this.$s=o.getUTCSeconds(),this.$ms=o.getUTCMilliseconds()}else q.call(this)};var M=c.utcOffset;c.utcOffset=function(o,U){var H=this.$utils().u;if(H(o))return this.$u?0:H(this.$offset)?M.call(this):this.$offset;if(typeof o=="string"&&(o=function(j){j===void 0&&(j="");var z=j.match(l);if(!z)return null;var P=(""+z[0]).match(p)||["-",0,0],B=P[0],E=60*+P[1]+ +P[2];return E===0?0:B==="+"?E:-E}(o),o===null))return this;var F=Math.abs(o)<=16?60*o:o,W=this;if(U)return W.$offset=F,W.$u=o===0,W;if(o!==0){var G=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(W=this.local().add(F+G,s)).$offset=F,W.$x.$localOffset=G}else W=this.utc();return W};var N=c.format;c.format=function(o){var U=o||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return N.call(this,U)},c.valueOf=function(){var o=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*o},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var k=c.toDate;c.toDate=function(o){return o==="s"&&this.$offset?g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():k.call(this)};var O=c.diff;c.diff=function(o,U,H){if(o&&this.$u===o.$u)return O.call(this,o,U,H);var F=this.local(),W=g(o).local();return O.call(F,W,U,H)}}})})(oe);const me=oe.exports,ge=`:host {
1
+ "use strict";var Q=(n,h,s)=>new Promise((l,p)=>{var L=c=>{try{g(s.next(c))}catch(b){p(b)}},w=c=>{try{g(s.throw(c))}catch(b){p(b)}},g=c=>c.done?l(c.value):Promise.resolve(c.value).then(L,w);g((s=s.apply(n,h)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./index-1ef3a64c-DmmoSOho.cjs"),de=require("./app-globals-0f993ce5-sCt45RkC.cjs");var K=typeof document!="undefined"?document.currentScript:null,ue=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:K&&K.tagName.toUpperCase()==="SCRIPT"&&K.src||new URL("stencil/user-deposit-withdrawal-CS-LZhcv.cjs",document.baseURI).href,h={};return n!==""&&(h.resourcesUrl=new URL(".",n).href),S.promiseResolve(h)};ue().then(n=>Q(exports,null,function*(){return yield de.globalScripts(),S.bootstrapLazy([["user-deposit-withdrawal",[[1,"user-deposit-withdrawal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],endpoint:[513],type:[513],channel:[513],language:[513],productType:[513,"product-type"],userId:[513,"user-id"],session:[513],successUrl:[513,"success-url"],cancelUrl:[513,"cancel-url"],failUrl:[513,"fail-url"],sportsUrl:[513,"sports-url"],casinoUrl:[513,"casino-url"],contactUrl:[513,"contact-url"],depositUrl:[513,"deposit-url"],currency:[513],showBonusSelectionInput:[513,"show-bonus-selection-input"],isShortCashier:[516,"is-short-cashier"],homeUrl:[513,"home-url"],beforeRedirect:[16],dynamicHeight:[32],cashierInfoUrl:[32]},null,{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],n)}));const ce="en",le=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],re={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate depost transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate depost transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",errorCode21122:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a iniția o tranzacție de retragere din contul dvs. de jucător. Cod de eroare: 21122",errorCode21123:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a efectua o depunere în contul dvs. de jucător. Cod de eroare: 21123"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",errorCode21122:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier une transaction de retrait depuis votre compte joueur. Code d’erreur : 21122",errorCode21123:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à effectuer un dépôt sur votre compte joueur. Code d’erreur : 21123"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente não tem permissão para iniciar uma transação de levantamento na sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente não tem permissão para realizar um depósito na sua conta de jogador. Código de erro: 21123"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente você não tem permissão para iniciar uma transação de saque em sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente você não tem permissão para realizar um depósito em sua conta de jogador. Código de erro: 21123"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",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",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"}},he=n=>new Promise(h=>{fetch(n).then(s=>s.json()).then(s=>{Object.keys(s).forEach(l=>{for(let p in s[l])re[l][p]=s[l][p]}),h(!0)})}),x=(n,h)=>{const s=h;return re[s!==void 0&&le.includes(s)?s:ce][n]};function ee(n,h){if(n){const s=document.createElement("style");s.innerHTML=h,n.appendChild(s)}}function te(n,h){const s=new URL(h);fetch(s.href).then(l=>l.text()).then(l=>{const p=document.createElement("style");p.innerHTML=l,n&&n.appendChild(p)}).catch(l=>{console.error("There was an error while trying to load client styling from URL",l)})}function fe(n,h,s){if(window.emMessageBus){const l=document.createElement("style");window.emMessageBus.subscribe(h,p=>{l.innerHTML=p,n&&n.appendChild(l)})}}const pe=n=>!!(n.toLowerCase().match(/android/i)||n.toLowerCase().match(/blackberry|bb/i)||n.toLowerCase().match(/iphone|ipad|ipod/i)||n.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));var ne=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ie={exports:{}};(function(n,h){(function(s,l){n.exports=l()})(ne,function(){var s=1e3,l=6e4,p=36e5,L="millisecond",w="second",g="minute",c="hour",b="day",q="week",M="month",N="quarter",k="year",O="date",o="Invalid Date",U=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,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(a){var r=["th","st","nd","rd"],e=a%100;return"["+a+(r[(e-20)%10]||r[e]||r[0])+"]"}},W=function(a,r,e){var i=String(a);return!i||i.length>=r?a:""+Array(r+1-i.length).join(e)+a},G={s:W,z:function(a){var r=-a.utcOffset(),e=Math.abs(r),i=Math.floor(e/60),t=e%60;return(r<=0?"+":"-")+W(i,2,"0")+":"+W(t,2,"0")},m:function a(r,e){if(r.date()<e.date())return-a(e,r);var i=12*(e.year()-r.year())+(e.month()-r.month()),t=r.clone().add(i,M),d=e-t<0,u=r.clone().add(i+(d?-1:1),M);return+(-(i+(e-t)/(d?t-u:u-t))||0)},a:function(a){return a<0?Math.ceil(a)||0:Math.floor(a)},p:function(a){return{M,y:k,w:q,d:b,D:O,h:c,m:g,s:w,ms:L,Q:N}[a]||String(a||"").toLowerCase().replace(/s$/,"")},u:function(a){return a===void 0}},j="en",z={};z[j]=F;var P="$isDayjsObject",B=function(a){return a instanceof Z||!(!a||!a[P])},E=function a(r,e,i){var t;if(!r)return j;if(typeof r=="string"){var d=r.toLowerCase();z[d]&&(t=d),e&&(z[d]=e,t=d);var u=r.split("-");if(!t&&u.length>1)return a(u[0])}else{var m=r.name;z[m]=r,t=m}return!i&&t&&(j=t),t||!i&&j},C=function(a,r){if(B(a))return a.clone();var e=typeof r=="object"?r:{};return e.date=a,e.args=arguments,new Z(e)},f=G;f.l=E,f.i=B,f.w=function(a,r){return C(a,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var Z=function(){function a(e){this.$L=E(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[P]=!0}var r=a.prototype;return r.parse=function(e){this.$d=function(i){var t=i.date,d=i.utc;if(t===null)return new Date(NaN);if(f.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var u=t.match(U);if(u){var m=u[2]-1||0,y=(u[7]||"0").substring(0,3);return d?new Date(Date.UTC(u[1],m,u[3]||1,u[4]||0,u[5]||0,u[6]||0,y)):new Date(u[1],m,u[3]||1,u[4]||0,u[5]||0,u[6]||0,y)}}return new Date(t)}(e),this.init()},r.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},r.$utils=function(){return f},r.isValid=function(){return this.$d.toString()!==o},r.isSame=function(e,i){var t=C(e);return this.startOf(i)<=t&&t<=this.endOf(i)},r.isAfter=function(e,i){return C(e)<this.startOf(i)},r.isBefore=function(e,i){return this.endOf(i)<C(e)},r.$g=function(e,i,t){return f.u(e)?this[i]:this.set(t,e)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(e,i){var t=this,d=!!f.u(i)||i,u=f.p(e),m=function(R,D){var I=f.w(t.$u?Date.UTC(t.$y,D,R):new Date(t.$y,D,R),t);return d?I:I.endOf(b)},y=function(R,D){return f.w(t.toDate()[R].apply(t.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(D)),t)},v=this.$W,$=this.$M,T=this.$D,Y="set"+(this.$u?"UTC":"");switch(u){case k:return d?m(1,0):m(31,11);case M:return d?m(1,$):m(0,$+1);case q:var _=this.$locale().weekStart||0,A=(v<_?v+7:v)-_;return m(d?T-A:T+(6-A),$);case b:case O:return y(Y+"Hours",0);case c:return y(Y+"Minutes",1);case g:return y(Y+"Seconds",2);case w:return y(Y+"Milliseconds",3);default:return this.clone()}},r.endOf=function(e){return this.startOf(e,!1)},r.$set=function(e,i){var t,d=f.p(e),u="set"+(this.$u?"UTC":""),m=(t={},t[b]=u+"Date",t[O]=u+"Date",t[M]=u+"Month",t[k]=u+"FullYear",t[c]=u+"Hours",t[g]=u+"Minutes",t[w]=u+"Seconds",t[L]=u+"Milliseconds",t)[d],y=d===b?this.$D+(i-this.$W):i;if(d===M||d===k){var v=this.clone().set(O,1);v.$d[m](y),v.init(),this.$d=v.set(O,Math.min(this.$D,v.daysInMonth())).$d}else m&&this.$d[m](y);return this.init(),this},r.set=function(e,i){return this.clone().$set(e,i)},r.get=function(e){return this[f.p(e)]()},r.add=function(e,i){var t,d=this;e=Number(e);var u=f.p(i),m=function($){var T=C(d);return f.w(T.date(T.date()+Math.round($*e)),d)};if(u===M)return this.set(M,this.$M+e);if(u===k)return this.set(k,this.$y+e);if(u===b)return m(1);if(u===q)return m(7);var y=(t={},t[g]=l,t[c]=p,t[w]=s,t)[u]||1,v=this.$d.getTime()+e*y;return f.w(v,this)},r.subtract=function(e,i){return this.add(-1*e,i)},r.format=function(e){var i=this,t=this.$locale();if(!this.isValid())return t.invalidDate||o;var d=e||"YYYY-MM-DDTHH:mm:ssZ",u=f.z(this),m=this.$H,y=this.$m,v=this.$M,$=t.weekdays,T=t.months,Y=t.meridiem,_=function(D,I,V,J){return D&&(D[I]||D(i,d))||V[I].slice(0,J)},A=function(D){return f.s(m%12||12,D,"0")},R=Y||function(D,I,V){var J=D<12?"AM":"PM";return V?J.toLowerCase():J};return d.replace(H,function(D,I){return I||function(V){switch(V){case"YY":return String(i.$y).slice(-2);case"YYYY":return f.s(i.$y,4,"0");case"M":return v+1;case"MM":return f.s(v+1,2,"0");case"MMM":return _(t.monthsShort,v,T,3);case"MMMM":return _(T,v);case"D":return i.$D;case"DD":return f.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return _(t.weekdaysMin,i.$W,$,2);case"ddd":return _(t.weekdaysShort,i.$W,$,3);case"dddd":return $[i.$W];case"H":return String(m);case"HH":return f.s(m,2,"0");case"h":return A(1);case"hh":return A(2);case"a":return R(m,y,!0);case"A":return R(m,y,!1);case"m":return String(y);case"mm":return f.s(y,2,"0");case"s":return String(i.$s);case"ss":return f.s(i.$s,2,"0");case"SSS":return f.s(i.$ms,3,"0");case"Z":return u}return null}(D)||u.replace(":","")})},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(e,i,t){var d,u=this,m=f.p(i),y=C(e),v=(y.utcOffset()-this.utcOffset())*l,$=this-y,T=function(){return f.m(u,y)};switch(m){case k:d=T()/12;break;case M:d=T();break;case N:d=T()/3;break;case q:d=($-v)/6048e5;break;case b:d=($-v)/864e5;break;case c:d=$/p;break;case g:d=$/l;break;case w:d=$/s;break;default:d=$}return t?d:f.a(d)},r.daysInMonth=function(){return this.endOf(M).$D},r.$locale=function(){return z[this.$L]},r.locale=function(e,i){if(!e)return this.$L;var t=this.clone(),d=E(e,i,!0);return d&&(t.$L=d),t},r.clone=function(){return f.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},a}(),X=Z.prototype;return C.prototype=X,[["$ms",L],["$s",w],["$m",g],["$H",c],["$W",b],["$M",M],["$y",k],["$D",O]].forEach(function(a){X[a[1]]=function(r){return this.$g(r,a[0],a[1])}}),C.extend=function(a,r){return a.$i||(a(r,Z,C),a.$i=!0),C},C.locale=E,C.isDayjs=B,C.unix=function(a){return C(1e3*a)},C.en=z[j],C.Ls=z,C.p={},C})})(ie);const ae=ie.exports;var oe={exports:{}};(function(n,h){(function(s,l){n.exports=l()})(ne,function(){var s="minute",l=/[+-]\d\d(?::?\d\d)?/g,p=/([+-]|\d\d)/g;return function(L,w,g){var c=w.prototype;g.utc=function(o){var U={date:o,utc:!0,args:arguments};return new w(U)},c.utc=function(o){var U=g(this.toDate(),{locale:this.$L,utc:!0});return o?U.add(this.utcOffset(),s):U},c.local=function(){return g(this.toDate(),{locale:this.$L,utc:!1})};var b=c.parse;c.parse=function(o){o.utc&&(this.$u=!0),this.$utils().u(o.$offset)||(this.$offset=o.$offset),b.call(this,o)};var q=c.init;c.init=function(){if(this.$u){var o=this.$d;this.$y=o.getUTCFullYear(),this.$M=o.getUTCMonth(),this.$D=o.getUTCDate(),this.$W=o.getUTCDay(),this.$H=o.getUTCHours(),this.$m=o.getUTCMinutes(),this.$s=o.getUTCSeconds(),this.$ms=o.getUTCMilliseconds()}else q.call(this)};var M=c.utcOffset;c.utcOffset=function(o,U){var H=this.$utils().u;if(H(o))return this.$u?0:H(this.$offset)?M.call(this):this.$offset;if(typeof o=="string"&&(o=function(j){j===void 0&&(j="");var z=j.match(l);if(!z)return null;var P=(""+z[0]).match(p)||["-",0,0],B=P[0],E=60*+P[1]+ +P[2];return E===0?0:B==="+"?E:-E}(o),o===null))return this;var F=Math.abs(o)<=16?60*o:o,W=this;if(U)return W.$offset=F,W.$u=o===0,W;if(o!==0){var G=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(W=this.local().add(F+G,s)).$offset=F,W.$x.$localOffset=G}else W=this.utc();return W};var N=c.format;c.format=function(o){var U=o||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return N.call(this,U)},c.valueOf=function(){var o=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*o},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var k=c.toDate;c.toDate=function(o){return o==="s"&&this.$offset?g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():k.call(this)};var O=c.diff;c.diff=function(o,U,H){if(o&&this.$u===o.$u)return O.call(this,o,U,H);var F=this.local(),W=g(o).local();return O.call(F,W,U,H)}}})})(oe);const me=oe.exports,ge=`:host {
2
2
  font: inherit;
3
3
  display: block;
4
4
  height: 100%;
@@ -56,4 +56,4 @@
56
56
  margin-top: 70px;
57
57
  text-align: center;
58
58
  color: var(--emw--color-black, #000000);
59
- }`,ye=ge;ae.extend(me);const we=()=>{},se=class{constructor(n){S.registerInstance(this,n),this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.currency="",this.showBonusSelectionInput="true",this.isShortCashier=!1,this.beforeRedirect=we,this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=pe(this.userAgent),this.errorCodes=["21123","21122"]}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}watchLoadWidget(){this.loadWidget()}handleClientStylingChange(n,h){n!=h&&ee(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(n,h){n!=h&&this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return Q(this,null,function*(){if(yield this.loadWidget(),this.translationUrl)return he(this.translationUrl)})}toggleScreen(n){window.postMessage({type:"PlayerAccountMenuActive",isMobile:n},window.location.href)}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?fe(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&ee(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl))),window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return S.h(S.Host,{key:"4963fd9b7ce608f13fd464996c085c29045fcd59"},S.h("div",{key:"1fe503816ddb4f18d50545f0f627dd917e6f62ec",ref:n=>this.stylingContainer=n},!(this.isMobile&&!this.isShortCashier)&&S.h("h2",{key:"5bf653f70da5f95173a7dc2c7067d0968876b50a",class:"CategoryTitle"},I(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),S.h("div",{key:"44a47893b6b2ce83e45f69e8997aa6e450968941",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`,style:{height:this.dynamicHeight,marginTop:this.isShortCashier?"30px":"0"}},S.h("div",{key:"949862539b439d5f2375a08115a7389bf355dd2c"},this.isMobile&&!this.isShortCashier?S.h("div",{class:"MenuReturnButton",onClick:()=>this.toggleScreen(this.isMobile)},S.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},S.h("defs",null),S.h("g",{transform:"translate(-20 -158)"},S.h("g",{transform:"translate(20 158)"},S.h("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)"})))),S.h("h2",{class:"CategoryTitleMobile"},I(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?S.h("iframe",{width:"100%",height:"100%",src:this.cashierInfoUrl}):S.h("h3",{class:"ErrorMessage"},this.type==="deposit"?I("denyDeposit",this.language):I("denyWithdrawal",this.language)))))}loadWidget(){return Q(this,null,function*(){const n={Channel:this.channel,Type:this.typeParameter,SuccessUrl:this.successUrl,CancelUrl:this.cancelUrl,FailUrl:this.failUrl,Language:this.language,productType:this.productType,isShortCashier:this.isShortCashier,currency:this.currency,showBonusSelectionInput:this.showBonusSelectionInput};try{const h=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,s=yield fetch(h,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":ae.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(n)});if(!s.ok){const p=yield s.text();throw new Error(p)}const l=yield s.json();if(l.CashierInfo)this.cashierInfoUrl=l.CashierInfo.Url;else{let p;if(l.ResponseMessage){let w=this.errorCodes.find(g=>l.ResponseMessage.includes(g))||null;w?p=I(`errorCode${w}`,this.language):p=I("notFoundErrorCode",this.language)}else p=this.type==="deposit"?I("denyDeposit",this.language):I("denyWithdrawal",this.language);const L={type:"error",message:p};window.postMessage({type:"DenyDepositOrWithdrawal",data:L},window.location.href)}}catch(h){console.error(h)}})}handleMessage(n){var h,s,l,p,L,w,g,c;n.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),n.data["MMFE:setQuickDepositHeight"]&&this.isShortCashier&&(this.dynamicHeight=n.data["MMFE:setQuickDepositHeight"].toString()+"px"),n.data["MMFE:setIFrameHeight"]&&this.isShortCashier&&(this.dynamicHeight=n.data["MMFE:setIFrameHeight"].toString()+"px"),((h=n.data)===null||h===void 0?void 0:h.type)==="mm-hcback-to-merchant"&&this.doRedirect(n.data.type,this.homeUrl),((s=n.data)===null||s===void 0?void 0:s.redirect)==="mm-hc-back-tomerchant"&&this.doRedirect(n.data.redirect,this.homeUrl),((l=n.data)===null||l===void 0?void 0:l.redirect)==="mm-hc-sports"&&this.doRedirect((p=n.data)===null||p===void 0?void 0:p.redirect,this.sportsUrl),((L=n.data)===null||L===void 0?void 0:L.redirect)==="mm-hc-casino"&&this.doRedirect(window.location.href,this.casinoUrl),((w=n.data)===null||w===void 0?void 0:w.redirect)==="mm-hc-contact"&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.contactUrl)),(((g=n.data)===null||g===void 0?void 0:g.redirect)==="mm-wm-hc-init-deposit"||((c=n.data)===null||c===void 0?void 0:c.redirect)==="mm-wm-hc-init-deposit-quick")&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.depositUrl))}doRedirect(n,h){const s={reason:n,url:h,cancel:!1};if(this.beforeRedirect(s),!s.cancel){if(!s.url){window.location.href="/";return}window.location.href=s.url}}static get watchers(){return{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};se.style=ye;exports.user_deposit_withdrawal=se;
59
+ }`,ye=ge;ae.extend(me);const we=()=>{},se=class{constructor(n){S.registerInstance(this,n),this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=pe(this.userAgent),this.errorCodes=["21123","21122"],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=void 0,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.dynamicHeight=void 0,this.cashierInfoUrl=void 0}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}watchLoadWidget(){this.loadWidget()}handleClientStylingChange(n,h){n!=h&&ee(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(n,h){n!=h&&this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return Q(this,null,function*(){if(yield this.loadWidget(),this.translationUrl)return he(this.translationUrl)})}toggleScreen(n){window.postMessage({type:"PlayerAccountMenuActive",isMobile:n},window.location.href)}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?fe(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&ee(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl))),window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return S.h(S.Host,{key:"4963fd9b7ce608f13fd464996c085c29045fcd59"},S.h("div",{key:"1fe503816ddb4f18d50545f0f627dd917e6f62ec",ref:n=>this.stylingContainer=n},!(this.isMobile&&!this.isShortCashier)&&S.h("h2",{key:"5bf653f70da5f95173a7dc2c7067d0968876b50a",class:"CategoryTitle"},x(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),S.h("div",{key:"44a47893b6b2ce83e45f69e8997aa6e450968941",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`,style:{height:this.dynamicHeight,marginTop:this.isShortCashier?"30px":"0"}},S.h("div",{key:"949862539b439d5f2375a08115a7389bf355dd2c"},this.isMobile&&!this.isShortCashier?S.h("div",{class:"MenuReturnButton",onClick:()=>this.toggleScreen(this.isMobile)},S.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},S.h("defs",null),S.h("g",{transform:"translate(-20 -158)"},S.h("g",{transform:"translate(20 158)"},S.h("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)"})))),S.h("h2",{class:"CategoryTitleMobile"},x(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?S.h("iframe",{width:"100%",height:"100%",src:this.cashierInfoUrl}):S.h("h3",{class:"ErrorMessage"},this.type==="deposit"?x("denyDeposit",this.language):x("denyWithdrawal",this.language)))))}loadWidget(){return Q(this,null,function*(){const n={Channel:this.channel,Type:this.typeParameter,SuccessUrl:this.successUrl,CancelUrl:this.cancelUrl,FailUrl:this.failUrl,Language:this.language,productType:this.productType,isShortCashier:this.isShortCashier,currency:this.currency,showBonusSelectionInput:this.showBonusSelectionInput};try{const h=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,s=yield fetch(h,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":ae.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(n)});if(!s.ok){const p=yield s.text();throw new Error(p)}const l=yield s.json();if(l.CashierInfo)this.cashierInfoUrl=l.CashierInfo.Url;else{let p;if(l.ResponseMessage){let w=this.errorCodes.find(g=>l.ResponseMessage.includes(g))||null;w?p=x(`errorCode${w}`,this.language):p=x("notFoundErrorCode",this.language)}else p=this.type==="deposit"?x("denyDeposit",this.language):x("denyWithdrawal",this.language);const L={type:"error",message:p};window.postMessage({type:"DenyDepositOrWithdrawal",data:L},window.location.href)}}catch(h){console.error(h)}})}handleMessage(n){var h,s,l,p,L,w,g,c;n.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),n.data["MMFE:setQuickDepositHeight"]&&this.isShortCashier&&(this.dynamicHeight=n.data["MMFE:setQuickDepositHeight"].toString()+"px"),n.data["MMFE:setIFrameHeight"]&&this.isShortCashier&&(this.dynamicHeight=n.data["MMFE:setIFrameHeight"].toString()+"px"),((h=n.data)===null||h===void 0?void 0:h.type)==="mm-hcback-to-merchant"&&this.doRedirect(n.data.type,this.homeUrl),((s=n.data)===null||s===void 0?void 0:s.redirect)==="mm-hc-back-tomerchant"&&this.doRedirect(n.data.redirect,this.homeUrl),((l=n.data)===null||l===void 0?void 0:l.redirect)==="mm-hc-sports"&&this.doRedirect((p=n.data)===null||p===void 0?void 0:p.redirect,this.sportsUrl),((L=n.data)===null||L===void 0?void 0:L.redirect)==="mm-hc-casino"&&this.doRedirect(window.location.href,this.casinoUrl),((w=n.data)===null||w===void 0?void 0:w.redirect)==="mm-hc-contact"&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.contactUrl)),(((g=n.data)===null||g===void 0?void 0:g.redirect)==="mm-wm-hc-init-deposit"||((c=n.data)===null||c===void 0?void 0:c.redirect)==="mm-wm-hc-init-deposit-quick")&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.depositUrl))}doRedirect(n,h){const s={reason:n,url:h,cancel:!1};if(this.beforeRedirect(s),!s.cancel){if(!s.url){window.location.href="/";return}window.location.href=s.url}}static get watchers(){return{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};se.style=ye;exports.user_deposit_withdrawal=se;
@@ -14,7 +14,7 @@ var Q = (n, h, s) => new Promise((c, p) => {
14
14
  }, g = (l) => l.done ? c(l.value) : Promise.resolve(l.value).then(L, w);
15
15
  g((s = s.apply(n, h)).next());
16
16
  });
17
- import { b as oe, p as se, r as de, h as b, H as ue } from "./index-c7e52808-yJXIboHF.js";
17
+ import { b as oe, p as se, r as de, h as b, H as ue } from "./index-1ef3a64c-DkMoO-oa.js";
18
18
  import { g as le } from "./app-globals-0f993ce5-D-kw1sls.js";
19
19
  var ce = () => {
20
20
  const n = import.meta.url, h = {};
@@ -163,17 +163,18 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
163
163
  (function(s, c) {
164
164
  n.exports = c();
165
165
  })(re, function() {
166
- var s = 1e3, c = 6e4, p = 36e5, L = "millisecond", w = "second", g = "minute", l = "hour", $ = "day", q = "week", M = "month", N = "quarter", k = "year", E = "date", o = "Invalid Date", W = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(a) {
166
+ var s = 1e3, c = 6e4, p = 36e5, L = "millisecond", w = "second", g = "minute", l = "hour", $ = "day", q = "week", M = "month", N = "quarter", k = "year", E = "date", o = "Invalid Date", U = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(a) {
167
167
  var r = ["th", "st", "nd", "rd"], e = a % 100;
168
168
  return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
169
- } }, U = function(a, r, e) {
169
+ } }, W = function(a, r, e) {
170
170
  var i = String(a);
171
171
  return !i || i.length >= r ? a : "" + Array(r + 1 - i.length).join(e) + a;
172
- }, G = { s: U, z: function(a) {
172
+ }, G = { s: W, z: function(a) {
173
173
  var r = -a.utcOffset(), e = Math.abs(r), i = Math.floor(e / 60), t = e % 60;
174
- return (r <= 0 ? "+" : "-") + U(i, 2, "0") + ":" + U(t, 2, "0");
174
+ return (r <= 0 ? "+" : "-") + W(i, 2, "0") + ":" + W(t, 2, "0");
175
175
  }, m: function a(r, e) {
176
- if (r.date() < e.date()) return -a(e, r);
176
+ if (r.date() < e.date())
177
+ return -a(e, r);
177
178
  var i = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(i, M), d = e - t < 0, u = r.clone().add(i + (d ? -1 : 1), M);
178
179
  return +(-(i + (e - t) / (d ? t - u : u - t)) || 0);
179
180
  }, a: function(a) {
@@ -188,19 +189,22 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
188
189
  return a instanceof Z || !(!a || !a[Y]);
189
190
  }, j = function a(r, e, i) {
190
191
  var t;
191
- if (!r) return O;
192
+ if (!r)
193
+ return O;
192
194
  if (typeof r == "string") {
193
195
  var d = r.toLowerCase();
194
196
  z[d] && (t = d), e && (z[d] = e, t = d);
195
197
  var u = r.split("-");
196
- if (!t && u.length > 1) return a(u[0]);
198
+ if (!t && u.length > 1)
199
+ return a(u[0]);
197
200
  } else {
198
201
  var m = r.name;
199
202
  z[m] = r, t = m;
200
203
  }
201
204
  return !i && t && (O = t), t || !i && O;
202
205
  }, C = function(a, r) {
203
- if (B(a)) return a.clone();
206
+ if (B(a))
207
+ return a.clone();
204
208
  var e = typeof r == "object" ? r : {};
205
209
  return e.date = a, e.args = arguments, new Z(e);
206
210
  }, f = G;
@@ -215,11 +219,14 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
215
219
  return r.parse = function(e) {
216
220
  this.$d = function(i) {
217
221
  var t = i.date, d = i.utc;
218
- if (t === null) return /* @__PURE__ */ new Date(NaN);
219
- if (f.u(t)) return /* @__PURE__ */ new Date();
220
- if (t instanceof Date) return new Date(t);
222
+ if (t === null)
223
+ return /* @__PURE__ */ new Date(NaN);
224
+ if (f.u(t))
225
+ return /* @__PURE__ */ new Date();
226
+ if (t instanceof Date)
227
+ return new Date(t);
221
228
  if (typeof t == "string" && !/Z$/i.test(t)) {
222
- var u = t.match(W);
229
+ var u = t.match(U);
223
230
  if (u) {
224
231
  var m = u[2] - 1 || 0, y = (u[7] || "0").substring(0, 3);
225
232
  return d ? new Date(Date.UTC(u[1], m, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, y)) : new Date(u[1], m, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, y);
@@ -281,7 +288,8 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
281
288
  if (d === M || d === k) {
282
289
  var v = this.clone().set(E, 1);
283
290
  v.$d[m](y), v.init(), this.$d = v.set(E, Math.min(this.$D, v.daysInMonth())).$d;
284
- } else m && this.$d[m](y);
291
+ } else
292
+ m && this.$d[m](y);
285
293
  return this.init(), this;
286
294
  }, r.set = function(e, i) {
287
295
  return this.clone().$set(e, i);
@@ -294,17 +302,22 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
294
302
  var T = C(d);
295
303
  return f.w(T.date(T.date() + Math.round(S * e)), d);
296
304
  };
297
- if (u === M) return this.set(M, this.$M + e);
298
- if (u === k) return this.set(k, this.$y + e);
299
- if (u === $) return m(1);
300
- if (u === q) return m(7);
305
+ if (u === M)
306
+ return this.set(M, this.$M + e);
307
+ if (u === k)
308
+ return this.set(k, this.$y + e);
309
+ if (u === $)
310
+ return m(1);
311
+ if (u === q)
312
+ return m(7);
301
313
  var y = (t = {}, t[g] = c, t[l] = p, t[w] = s, t)[u] || 1, v = this.$d.getTime() + e * y;
302
314
  return f.w(v, this);
303
315
  }, r.subtract = function(e, i) {
304
316
  return this.add(-1 * e, i);
305
317
  }, r.format = function(e) {
306
318
  var i = this, t = this.$locale();
307
- if (!this.isValid()) return t.invalidDate || o;
319
+ if (!this.isValid())
320
+ return t.invalidDate || o;
308
321
  var d = e || "YYYY-MM-DDTHH:mm:ssZ", u = f.z(this), m = this.$H, y = this.$m, v = this.$M, S = t.weekdays, T = t.months, P = t.meridiem, _ = function(D, x, V, J) {
309
322
  return D && (D[x] || D(i, d)) || V[x].slice(0, J);
310
323
  }, A = function(D) {
@@ -408,7 +421,8 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
408
421
  }, r.$locale = function() {
409
422
  return z[this.$L];
410
423
  }, r.locale = function(e, i) {
411
- if (!e) return this.$L;
424
+ if (!e)
425
+ return this.$L;
412
426
  var t = this.clone(), d = j(e, i, !0);
413
427
  return d && (t.$L = d), t;
414
428
  }, r.clone = function() {
@@ -444,11 +458,11 @@ var ae = { exports: {} };
444
458
  return function(L, w, g) {
445
459
  var l = w.prototype;
446
460
  g.utc = function(o) {
447
- var W = { date: o, utc: !0, args: arguments };
448
- return new w(W);
461
+ var U = { date: o, utc: !0, args: arguments };
462
+ return new w(U);
449
463
  }, l.utc = function(o) {
450
- var W = g(this.toDate(), { locale: this.$L, utc: !0 });
451
- return o ? W.add(this.utcOffset(), s) : W;
464
+ var U = g(this.toDate(), { locale: this.$L, utc: !0 });
465
+ return o ? U.add(this.utcOffset(), s) : U;
452
466
  }, l.local = function() {
453
467
  return g(this.toDate(), { locale: this.$L, utc: !1 });
454
468
  };
@@ -461,31 +475,37 @@ var ae = { exports: {} };
461
475
  if (this.$u) {
462
476
  var o = this.$d;
463
477
  this.$y = o.getUTCFullYear(), this.$M = o.getUTCMonth(), this.$D = o.getUTCDate(), this.$W = o.getUTCDay(), this.$H = o.getUTCHours(), this.$m = o.getUTCMinutes(), this.$s = o.getUTCSeconds(), this.$ms = o.getUTCMilliseconds();
464
- } else q.call(this);
478
+ } else
479
+ q.call(this);
465
480
  };
466
481
  var M = l.utcOffset;
467
- l.utcOffset = function(o, W) {
482
+ l.utcOffset = function(o, U) {
468
483
  var I = this.$utils().u;
469
- if (I(o)) return this.$u ? 0 : I(this.$offset) ? M.call(this) : this.$offset;
484
+ if (I(o))
485
+ return this.$u ? 0 : I(this.$offset) ? M.call(this) : this.$offset;
470
486
  if (typeof o == "string" && (o = function(O) {
471
487
  O === void 0 && (O = "");
472
488
  var z = O.match(c);
473
- if (!z) return null;
489
+ if (!z)
490
+ return null;
474
491
  var Y = ("" + z[0]).match(p) || ["-", 0, 0], B = Y[0], j = 60 * +Y[1] + +Y[2];
475
492
  return j === 0 ? 0 : B === "+" ? j : -j;
476
- }(o), o === null)) return this;
477
- var F = Math.abs(o) <= 16 ? 60 * o : o, U = this;
478
- if (W) return U.$offset = F, U.$u = o === 0, U;
493
+ }(o), o === null))
494
+ return this;
495
+ var F = Math.abs(o) <= 16 ? 60 * o : o, W = this;
496
+ if (U)
497
+ return W.$offset = F, W.$u = o === 0, W;
479
498
  if (o !== 0) {
480
499
  var G = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
481
- (U = this.local().add(F + G, s)).$offset = F, U.$x.$localOffset = G;
482
- } else U = this.utc();
483
- return U;
500
+ (W = this.local().add(F + G, s)).$offset = F, W.$x.$localOffset = G;
501
+ } else
502
+ W = this.utc();
503
+ return W;
484
504
  };
485
505
  var N = l.format;
486
506
  l.format = function(o) {
487
- var W = o || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
488
- return N.call(this, W);
507
+ var U = o || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
508
+ return N.call(this, U);
489
509
  }, l.valueOf = function() {
490
510
  var o = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
491
511
  return this.$d.valueOf() - 6e4 * o;
@@ -501,10 +521,11 @@ var ae = { exports: {} };
501
521
  return o === "s" && this.$offset ? g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : k.call(this);
502
522
  };
503
523
  var E = l.diff;
504
- l.diff = function(o, W, I) {
505
- if (o && this.$u === o.$u) return E.call(this, o, W, I);
506
- var F = this.local(), U = g(o).local();
507
- return E.call(F, U, W, I);
524
+ l.diff = function(o, U, I) {
525
+ if (o && this.$u === o.$u)
526
+ return E.call(this, o, U, I);
527
+ var F = this.local(), W = g(o).local();
528
+ return E.call(F, W, U, I);
508
529
  };
509
530
  };
510
531
  });
@@ -572,7 +593,7 @@ ie.extend(ye);
572
593
  const ve = () => {
573
594
  }, Se = class {
574
595
  constructor(n) {
575
- de(this, n), this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.beforeRedirect = ve, this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = ge(this.userAgent), this.errorCodes = ["21123", "21122"];
596
+ de(this, n), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = ge(this.userAgent), this.errorCodes = ["21123", "21122"], 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 = void 0, 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 = ve, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
576
597
  }
577
598
  get typeParameter() {
578
599
  if (this.type === "deposit")