@everymatrix/player-account-controller 1.62.4 → 1.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/components/{PlayerAccountController-CG8fgLLM.cjs → PlayerAccountController-B3xiGG1j.cjs} +1 -1
  2. package/components/{PlayerAccountController-D-z3BhRg.js → PlayerAccountController-Buqw-sP2.js} +7 -7
  3. package/components/{PlayerAccountController-CmoCYSjc.js → PlayerAccountController-DUO2eqjO.js} +7 -7
  4. package/components/{PlayerAccountGamingLimits-CazKuri6.js → PlayerAccountGamingLimits-Bnkjuzum.js} +1 -1
  5. package/components/{PlayerAccountGamingLimits-T_6zt26G.cjs → PlayerAccountGamingLimits-DLbWmmx-.cjs} +1 -1
  6. package/components/{PlayerAccountGamingLimits-C43ExhLF.js → PlayerAccountGamingLimits-DWUjOPm7.js} +1 -1
  7. package/components/PlayerAccountGamingLimitsGroupEdit-1v80Qe8n.js +2892 -0
  8. package/components/PlayerAccountGamingLimitsGroupEdit-DDffyxA7.js +2892 -0
  9. package/components/PlayerAccountGamingLimitsGroupEdit-DmpsyTc8.cjs +1 -0
  10. package/components/PlayerAccountGamingLimitsInfoCard-C4wloIme.cjs +1 -0
  11. package/components/{PlayerAccountGamingLimitsInfoCard-CRMCtZqj.js → PlayerAccountGamingLimitsInfoCard-Di-tNlvO.js} +282 -286
  12. package/components/{PlayerAccountGamingLimitsInfoCard-CFgV1w4z.js → PlayerAccountGamingLimitsInfoCard-yR5VICHH.js} +282 -286
  13. package/components/PlayerAccountGamingLimitsWrapper2-CaACpJkX.cjs +1 -0
  14. package/components/{PlayerAccountGamingLimitsWrapper2-D9XQMqqT.js → PlayerAccountGamingLimitsWrapper2-DZoCbGgg.js} +384 -328
  15. package/components/{PlayerAccountGamingLimitsWrapper2-CiEh5iuU.js → PlayerAccountGamingLimitsWrapper2-DxjSzonV.js} +426 -361
  16. package/components/{PlayerActiveBonuses-K3C-mEXB.js → PlayerActiveBonuses-BozoNh70.js} +1 -1
  17. package/components/{PlayerActiveBonuses-BMD0VJ2_.cjs → PlayerActiveBonuses-DIJBqD-t.cjs} +1 -1
  18. package/components/{PlayerActiveBonuses-CpZclWGh.js → PlayerActiveBonuses-TfvFcCW-.js} +1 -1
  19. package/components/{PlayerBonusCard-69HwaVge.cjs → PlayerBonusCard-BDWqqpGz.cjs} +1 -1
  20. package/components/{PlayerBonusCard-CqTwze07.js → PlayerBonusCard-Beuw08iH.js} +48 -48
  21. package/components/{PlayerBonusCard-C1HOmtzk.js → PlayerBonusCard-DUP59qHI.js} +48 -48
  22. package/components/{PlayerBonusHistory-BLVjkz2G.js → PlayerBonusHistory-ASRMz78k.js} +141 -141
  23. package/components/PlayerBonusHistory-B73-NLob.cjs +1 -0
  24. package/components/{PlayerBonusHistory-CHIhzG2z.js → PlayerBonusHistory-DhXgcysO.js} +140 -140
  25. package/components/PlayerGamingHistory-DMheKbk2.cjs +1 -0
  26. package/components/{PlayerGamingHistory-D3MM0M-d.js → PlayerGamingHistory-Do_PZpjy.js} +139 -139
  27. package/components/{PlayerGamingHistory-Dwci4jbI.js → PlayerGamingHistory-DyqZjf6k.js} +144 -144
  28. package/components/PlayerRealityCheck-ByaALjkI.js +663 -0
  29. package/components/PlayerRealityCheck-DordAxiB.js +679 -0
  30. package/components/PlayerRealityCheck-DwUIXfJJ.cjs +1 -0
  31. package/es2015/player-account-controller.cjs +1 -1
  32. package/es2015/player-account-controller.js +1 -1
  33. package/esnext/player-account-controller.js +1 -1
  34. package/package.json +1 -1
  35. package/stencil/{index-1ef3a64c-DdAfq3Rf.js → index-1ef3a64c-C3248BpZ.js} +1 -1
  36. package/stencil/{index-1ef3a64c-CFORB4wR.js → index-1ef3a64c-D_6fm_mH.js} +1 -1
  37. package/stencil/{index-1ef3a64c-BXZ-SGgO.cjs → index-1ef3a64c-d6wOzDuW.cjs} +1 -1
  38. package/stencil/{user-deposit-withdrawal-Di_btQhd.cjs → user-deposit-withdrawal-8SEgGGEs.cjs} +1 -2
  39. package/stencil/{user-deposit-withdrawal-DKYb9yA4.js → user-deposit-withdrawal-BIEaZv3-.js} +1 -2
  40. package/stencil/{user-deposit-withdrawal-DDiaA6g4.js → user-deposit-withdrawal-C8A8VDip.js} +1 -2
  41. package/components/PlayerAccountGamingLimitsGroupEdit-BQRjAEj3.cjs +0 -10
  42. package/components/PlayerAccountGamingLimitsGroupEdit-D-PNbWFM.js +0 -4113
  43. package/components/PlayerAccountGamingLimitsGroupEdit-RindahYU.js +0 -4113
  44. package/components/PlayerAccountGamingLimitsInfoCard-DhUwJ_di.cjs +0 -1
  45. package/components/PlayerAccountGamingLimitsWrapper2-CXvt0xT1.cjs +0 -1
  46. package/components/PlayerBonusHistory-CmSqqsTj.cjs +0 -1
  47. package/components/PlayerGamingHistory-ClPLNmQZ.cjs +0 -1
  48. package/components/PlayerRealityCheck-BPjD8dSn.cjs +0 -1
  49. package/components/PlayerRealityCheck-Car60VrF.js +0 -652
  50. package/components/PlayerRealityCheck-DcKE6Uql.js +0 -668
@@ -1,5 +1,5 @@
1
1
  import { $ as V, C as ui, a as fi, A as mi, S as ci, i as hi, s as pi, f as p, b as di, n as Z, d as m, g as c, j as h, p as gi, q as wi, D as _i, u as bi, w as yi, o as Y, E as ki, F as $, e as i, h as A, k as K, G as Ke, B as Si, x as vi, y as Ci, z as Ei } from "./GeneralLogout-r9dFykD6.js";
2
- import "../stencil/user-deposit-withdrawal-DKYb9yA4.js";
2
+ import "../stencil/user-deposit-withdrawal-BIEaZv3-.js";
3
3
  import "../stencil/player-kyc-verification-z8R7nMzo.js";
4
4
  import "../stencil/user-transaction-history-DhQ6RqNc.js";
5
5
  import "../stencil/player-change-password-gm2-DHnclYKw.js";
@@ -229,7 +229,7 @@ if (typeof window < "u") {
229
229
  }
230
230
  };
231
231
  };
232
- customElements.define = s(customElements.define), import("./PlayerAccountGamingLimits-CazKuri6.js").then(({ default: e }) => {
232
+ customElements.define = s(customElements.define), import("./PlayerAccountGamingLimits-Bnkjuzum.js").then(({ default: e }) => {
233
233
  !customElements.get("player-account-gaming-limits") && customElements.define("player-account-gaming-limits", e.element);
234
234
  });
235
235
  }
@@ -245,7 +245,7 @@ if (typeof window < "u") {
245
245
  }
246
246
  };
247
247
  };
248
- customElements.define = s(customElements.define), import("./PlayerActiveBonuses-CpZclWGh.js").then(({ default: e }) => {
248
+ customElements.define = s(customElements.define), import("./PlayerActiveBonuses-TfvFcCW-.js").then(({ default: e }) => {
249
249
  !customElements.get("player-active-bonuses") && customElements.define("player-active-bonuses", e.element);
250
250
  });
251
251
  }
@@ -293,7 +293,7 @@ if (typeof window < "u") {
293
293
  }
294
294
  };
295
295
  };
296
- customElements.define = s(customElements.define), import("./PlayerRealityCheck-Car60VrF.js").then(({ default: e }) => {
296
+ customElements.define = s(customElements.define), import("./PlayerRealityCheck-ByaALjkI.js").then(({ default: e }) => {
297
297
  !customElements.get("player-reality-check") && customElements.define("player-reality-check", e.element);
298
298
  });
299
299
  }
@@ -309,7 +309,7 @@ if (typeof window < "u") {
309
309
  }
310
310
  };
311
311
  };
312
- customElements.define = s(customElements.define), import("./PlayerBonusHistory-CHIhzG2z.js").then(({ default: e }) => {
312
+ customElements.define = s(customElements.define), import("./PlayerBonusHistory-DhXgcysO.js").then(({ default: e }) => {
313
313
  !customElements.get("player-bonus-history") && customElements.define("player-bonus-history", e.element);
314
314
  });
315
315
  }
@@ -389,7 +389,7 @@ if (typeof window < "u") {
389
389
  }
390
390
  };
391
391
  };
392
- customElements.define = s(customElements.define), import("./PlayerGamingHistory-D3MM0M-d.js").then(({ default: e }) => {
392
+ customElements.define = s(customElements.define), import("./PlayerGamingHistory-Do_PZpjy.js").then(({ default: e }) => {
393
393
  !customElements.get("player-gaming-history") && customElements.define("player-gaming-history", e.element);
394
394
  });
395
395
  }
@@ -421,7 +421,7 @@ if (typeof window < "u") {
421
421
  }
422
422
  };
423
423
  };
424
- customElements.define = s(customElements.define), import("./PlayerAccountGamingLimitsWrapper2-CiEh5iuU.js").then(({ default: e }) => {
424
+ customElements.define = s(customElements.define), import("./PlayerAccountGamingLimitsWrapper2-DZoCbGgg.js").then(({ default: e }) => {
425
425
  !customElements.get("player-account-gaming-limits-wrapper-2") && customElements.define(
426
426
  "player-account-gaming-limits-wrapper-2",
427
427
  e.element
@@ -15,7 +15,7 @@ var Ve = (s, e, n) => new Promise((l, r) => {
15
15
  d((n = n.apply(s, e)).next());
16
16
  });
17
17
  import { $ as Z, C as fi, a as mi, S as ci, i as hi, f as p, s as pi, A as di, b as gi, n as K, d as m, g as c, j as h, p as wi, q as _i, D as bi, u as yi, w as ki, o as $, E as Si, F as x, e as i, h as I, k as Y, G as Ye, B as vi, x as Ci, y as Ei, z as Pi } from "./GeneralLogout-B5B3mUfv.js";
18
- import "../stencil/user-deposit-withdrawal-DDiaA6g4.js";
18
+ import "../stencil/user-deposit-withdrawal-C8A8VDip.js";
19
19
  import "../stencil/player-kyc-verification-dmJNIHni.js";
20
20
  import "../stencil/user-transaction-history-BAK7MHHa.js";
21
21
  import "../stencil/player-change-password-gm2-nCHwkzVc.js";
@@ -245,7 +245,7 @@ if (typeof window != "undefined") {
245
245
  }
246
246
  };
247
247
  };
248
- customElements.define = s(customElements.define), import("./PlayerAccountGamingLimits-C43ExhLF.js").then(({ default: e }) => {
248
+ customElements.define = s(customElements.define), import("./PlayerAccountGamingLimits-DWUjOPm7.js").then(({ default: e }) => {
249
249
  !customElements.get("player-account-gaming-limits") && customElements.define("player-account-gaming-limits", e.element);
250
250
  });
251
251
  }
@@ -261,7 +261,7 @@ if (typeof window != "undefined") {
261
261
  }
262
262
  };
263
263
  };
264
- customElements.define = s(customElements.define), import("./PlayerActiveBonuses-K3C-mEXB.js").then(({ default: e }) => {
264
+ customElements.define = s(customElements.define), import("./PlayerActiveBonuses-BozoNh70.js").then(({ default: e }) => {
265
265
  !customElements.get("player-active-bonuses") && customElements.define("player-active-bonuses", e.element);
266
266
  });
267
267
  }
@@ -309,7 +309,7 @@ if (typeof window != "undefined") {
309
309
  }
310
310
  };
311
311
  };
312
- customElements.define = s(customElements.define), import("./PlayerRealityCheck-DcKE6Uql.js").then(({ default: e }) => {
312
+ customElements.define = s(customElements.define), import("./PlayerRealityCheck-DordAxiB.js").then(({ default: e }) => {
313
313
  !customElements.get("player-reality-check") && customElements.define("player-reality-check", e.element);
314
314
  });
315
315
  }
@@ -325,7 +325,7 @@ if (typeof window != "undefined") {
325
325
  }
326
326
  };
327
327
  };
328
- customElements.define = s(customElements.define), import("./PlayerBonusHistory-BLVjkz2G.js").then(({ default: e }) => {
328
+ customElements.define = s(customElements.define), import("./PlayerBonusHistory-ASRMz78k.js").then(({ default: e }) => {
329
329
  !customElements.get("player-bonus-history") && customElements.define("player-bonus-history", e.element);
330
330
  });
331
331
  }
@@ -405,7 +405,7 @@ if (typeof window != "undefined") {
405
405
  }
406
406
  };
407
407
  };
408
- customElements.define = s(customElements.define), import("./PlayerGamingHistory-Dwci4jbI.js").then(({ default: e }) => {
408
+ customElements.define = s(customElements.define), import("./PlayerGamingHistory-DyqZjf6k.js").then(({ default: e }) => {
409
409
  !customElements.get("player-gaming-history") && customElements.define("player-gaming-history", e.element);
410
410
  });
411
411
  }
@@ -437,7 +437,7 @@ if (typeof window != "undefined") {
437
437
  }
438
438
  };
439
439
  };
440
- customElements.define = s(customElements.define), import("./PlayerAccountGamingLimitsWrapper2-D9XQMqqT.js").then(({ default: e }) => {
440
+ customElements.define = s(customElements.define), import("./PlayerAccountGamingLimitsWrapper2-DxjSzonV.js").then(({ default: e }) => {
441
441
  !customElements.get("player-account-gaming-limits-wrapper-2") && customElements.define(
442
442
  "player-account-gaming-limits-wrapper-2",
443
443
  e.element
@@ -107,7 +107,7 @@ if (typeof window < "u") {
107
107
  }
108
108
  };
109
109
  };
110
- customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-CFgV1w4z.js").then(({ default: i }) => {
110
+ customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-yR5VICHH.js").then(({ default: i }) => {
111
111
  !customElements.get("player-account-gaming-limits-info-card") && customElements.define(
112
112
  "player-account-gaming-limits-info-card",
113
113
  i.element
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CG738i36.cjs");function C(i,t){e.addMessages(i,t)}function O(i){e.$locale.set(i)}const j={en:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{returnToMenu:"返回菜單",gamingLimitsText:"遊戲限制",depositLimit:"存款限額",timeLimit:"時限t",wageringLimit:"投注限額",lossLimit:"損失限額"},fr:{returnToMenu:"Retour au menu",gamingLimitsText:"Limites de jeu",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{returnToMenu:"Înapoi la meniu",gamingLimitsText:"Limite de joc",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limită de pierdere"},es:{returnToMenu:"Regresar al menu",gamingLimitsText:"Límites de juego",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{returnToMenu:"Voltar ao Menu",gamingLimitsText:"Limites de jogos",depositLimit:"Limite de Depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de apostas",lossLimit:"Limite de Perda"},hr:{returnToMenu:"Povratak na izbornik",gamingLimitsText:"Ograničenja igranja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{returnToMenu:"Voltar ao cardápio",gamingLimitsText:"Limites do jogo",depositLimit:"Limites de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{returnToMenu:"Regresar al menú",gamingLimitsText:"Límites de juego",depositLimit:"Límites de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdidas"},tr:{returnToMenu:"Menüye dön",gamingLimitsText:"Oyun sınırları",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"},"en-us":{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}};if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(m){if(m instanceof DOMException&&m.message.includes("has already been used with this registry")||m.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw m}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsInfoCard-DhUwJ_di.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-info-card")&&customElements.define("player-account-gaming-limits-info-card",t.element)})}function F(i){e.append_styles(i,"svelte-4tnj1c",'.PlayerAccountGamingLimitsWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));padding:50px;max-width:760px}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader h3{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader .PlayerAccountGamingLimitsMobileTitle{font-size:16px;font-weight:400}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emw--color-white, #FFFFFF);max-width:unset}.PlayerAccountTabletGamingLimitsWrapper{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.PlayerAccountSuccessfulRemoveContainer{background:var(--emw--color-primary-50, #FBECF4);border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;padding:10px;margin-bottom:20px}.PlayerAccountSuccessfulRemoveContainer p{margin:0}.ModalLoader{position:absolute;left:0;right:0;top:50%;width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function z(i){let t;return{c(){t=e.element("player-account-gaming-limits-group-edit"),e.set_custom_element_data(t,"limitsdata",i[14]),e.set_custom_element_data(t,"limitname",i[15]),e.set_custom_element_data(t,"showsuccessnotification",i[7]),e.set_custom_element_data(t,"showdeletenotification",i[6]),e.set_custom_element_data(t,"currency",i[5]),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"separatelimits",i[8]),e.set_custom_element_data(t,"clientstyling",i[9]),e.set_custom_element_data(t,"clientstylingurl",i[10]),e.set_custom_element_data(t,"mbsource",i[11])},m(a,m){e.insert(a,t,m)},p(a,m){m&16384&&e.set_custom_element_data(t,"limitsdata",a[14]),m&32768&&e.set_custom_element_data(t,"limitname",a[15]),m&128&&e.set_custom_element_data(t,"showsuccessnotification",a[7]),m&64&&e.set_custom_element_data(t,"showdeletenotification",a[6]),m&32&&e.set_custom_element_data(t,"currency",a[5]),m&1&&e.set_custom_element_data(t,"lang",a[0]),m&256&&e.set_custom_element_data(t,"separatelimits",a[8]),m&512&&e.set_custom_element_data(t,"clientstyling",a[9]),m&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10]),m&2048&&e.set_custom_element_data(t,"mbsource",a[11])},d(a){a&&e.detach(t)}}}function V(i){let t,a,m,c=i[17]("gamingLimitsText")+"",g,f,d,r,w,o,L,_,y,u,p=i[18]&&q(i);return{c(){t=e.element("div"),p&&p.c(),a=e.space(),m=e.element("h2"),g=e.text(c),f=e.space(),d=e.element("div"),r=e.element("player-account-gaming-limits-info-card"),w=e.space(),o=e.element("player-account-gaming-limits-info-card"),L=e.space(),_=e.element("player-account-gaming-limits-info-card"),y=e.space(),u=e.element("player-account-gaming-limits-info-card"),e.attr(m,"class","PlayerGamingLimitsTitle "+(i[18]?"PlayerGamingLimitsTitleNone":"")),e.set_custom_element_data(r,"limitsdata",i[1]),e.set_custom_element_data(r,"limitname",Z),e.set_custom_element_data(r,"currency",i[5]),e.set_custom_element_data(r,"lang",i[0]),e.set_custom_element_data(r,"clientstyling",i[9]),e.set_custom_element_data(r,"clientstylingurl",i[10]),e.set_custom_element_data(r,"mbsource",i[11]),e.set_custom_element_data(o,"limitsdata",i[2]),e.set_custom_element_data(o,"limitname",I),e.set_custom_element_data(o,"currency",i[5]),e.set_custom_element_data(o,"lang",i[0]),e.set_custom_element_data(o,"clientstyling",i[9]),e.set_custom_element_data(o,"clientstylingurl",i[10]),e.set_custom_element_data(o,"mbsource",i[11]),e.set_custom_element_data(_,"limitsdata",i[3]),e.set_custom_element_data(_,"limitname",K),e.set_custom_element_data(_,"currency",i[5]),e.set_custom_element_data(_,"lang",i[0]),e.set_custom_element_data(_,"clientstyling",i[9]),e.set_custom_element_data(_,"clientstylingurl",i[10]),e.set_custom_element_data(_,"mbsource",i[11]),e.set_custom_element_data(u,"limitsdata",i[4]),e.set_custom_element_data(u,"limitname",Q),e.set_custom_element_data(u,"currency",i[5]),e.set_custom_element_data(u,"lang",i[0]),e.set_custom_element_data(u,"clientstyling",i[9]),e.set_custom_element_data(u,"clientstylingurl",i[10]),e.set_custom_element_data(u,"mbsource",i[11]),e.attr(d,"class","PlayerAccountGamingLimitsContainer"),e.attr(t,"class","PlayerAccountGamingLimitsWrapper "+(i[18]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(i[19].matches&&i[18]?"PlayerAccountTabletGamingLimitsWrapper":""))},m(s,l){e.insert(s,t,l),p&&p.m(t,null),e.append(t,a),e.append(t,m),e.append(m,g),e.append(t,f),e.append(t,d),e.append(d,r),e.append(d,w),e.append(d,o),e.append(d,L),e.append(d,_),e.append(d,y),e.append(d,u)},p(s,l){s[18]&&p.p(s,l),l&131072&&c!==(c=s[17]("gamingLimitsText")+"")&&e.set_data(g,c),l&2&&e.set_custom_element_data(r,"limitsdata",s[1]),l&32&&e.set_custom_element_data(r,"currency",s[5]),l&1&&e.set_custom_element_data(r,"lang",s[0]),l&512&&e.set_custom_element_data(r,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(r,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(r,"mbsource",s[11]),l&4&&e.set_custom_element_data(o,"limitsdata",s[2]),l&32&&e.set_custom_element_data(o,"currency",s[5]),l&1&&e.set_custom_element_data(o,"lang",s[0]),l&512&&e.set_custom_element_data(o,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(o,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(o,"mbsource",s[11]),l&8&&e.set_custom_element_data(_,"limitsdata",s[3]),l&32&&e.set_custom_element_data(_,"currency",s[5]),l&1&&e.set_custom_element_data(_,"lang",s[0]),l&512&&e.set_custom_element_data(_,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(_,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(_,"mbsource",s[11]),l&16&&e.set_custom_element_data(u,"limitsdata",s[4]),l&32&&e.set_custom_element_data(u,"currency",s[5]),l&1&&e.set_custom_element_data(u,"lang",s[0]),l&512&&e.set_custom_element_data(u,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(u,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(u,"mbsource",s[11])},d(s){s&&e.detach(t),p&&p.d()}}}function H(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","ModalLoader")},m(a,m){e.insert(a,t,m)},p:e.noop,d(a){a&&e.detach(t)}}}function q(i){let t,a,m,c,g,f,d,r,w,o,L=i[17]("gamingLimitsText")+"",_,y,u;return{c(){t=e.element("div"),a=e.svg_element("svg"),m=e.svg_element("defs"),c=e.svg_element("style"),g=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),f=e.svg_element("g"),d=e.svg_element("g"),r=e.svg_element("path"),w=e.space(),o=e.element("h2"),_=e.text(L),e.attr(r,"class","aaa"),e.attr(r,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(r,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(f,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(o,"class","PlayerGamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(p,s){e.insert(p,t,s),e.append(t,a),e.append(a,m),e.append(m,c),e.append(c,g),e.append(a,f),e.append(f,d),e.append(d,r),e.append(t,w),e.append(t,o),e.append(o,_),y||(u=e.listen(t,"click",i[22]),y=!0)},p(p,s){s&131072&&L!==(L=p[17]("gamingLimitsText")+"")&&e.set_data(_,L)},d(p){p&&e.detach(t),y=!1,u()}}}function U(i){let t;function a(g,f){return g[13]?H:g[16]?V:z}let m=a(i),c=m(i);return{c(){t=e.element("div"),c.c()},m(g,f){e.insert(g,t,f),c.m(t,null),i[23](t)},p(g,[f]){m===(m=a(g))&&c?c.p(g,f):(c.d(1),c=m(g),c&&(c.c(),c.m(t,null)))},i:e.noop,o:e.noop,d(g){g&&e.detach(t),c.d(),i[23](null)}}}let Z="Deposit Limit",I="Wagering Limit",K="Loss Limit",Q="Time Limit";function Y(i,t,a){let m;e.component_subscribe(i,e.$format,n=>a(17,m=n));let{depositlimit:c}=t,{wageringlimit:g}=t,{losslimit:f}=t,{timelimit:d}=t,{showdeletenotification:r=!1}=t,{showsuccessnotification:w=!1}=t,{lang:o="en"}=t,{currency:L=""}=t,{separatelimits:_="true"}=t,{clientstyling:y=""}=t,{clientstylingurl:u=""}=t,{mbsource:p}=t,{translationurl:s=""}=t;const l=()=>{fetch(s).then(b=>b.json()).then(b=>{Object.keys(b).forEach(D=>{C(D,b[D])})}).catch(b=>{console.log(b)})};Object.keys(j).forEach(n=>{C(n,j[n])});let h,v=!0,E=window.navigator.userAgent,P=e.getDevice(E)!=="PC",k,T="",M=!0;const R=window.matchMedia("(min-width: 768px)"),A=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:P},window.location.href)},W=()=>{O(o)},G=n=>{if(n.data)switch(n.data.type){case"PlayerLimitsData":a(0,o=n.data.limits.lang),a(1,c=n.data.limits.depositlimit),a(2,g=n.data.limits.wageringlimit),a(3,f=n.data.limits.losslimit),a(4,d=n.data.limits.timelimit),a(13,v=!1);break;case"EditPlayerAccountGamingLimits":a(14,k=n.data.edit),a(15,T=n.data.name),a(16,M=!1),window.postMessage({type:"EditPlayerLimit",name:T},window.location.href),window.postMessage({type:"ScrollToTop"},window.location.href);break;case"PlayerAccountBackToLimitsView":a(16,M=!0);break;case"ProfileDetailsData":let b=n.data.profileDetails;a(5,L=b.currency);break}};e.onMount(()=>(window.addEventListener("message",G,!1),()=>{window.removeEventListener("message",G)}));const B=()=>A();function N(n){e.binding_callbacks[n?"unshift":"push"](()=>{h=n,a(12,h)})}return i.$$set=n=>{"depositlimit"in n&&a(1,c=n.depositlimit),"wageringlimit"in n&&a(2,g=n.wageringlimit),"losslimit"in n&&a(3,f=n.losslimit),"timelimit"in n&&a(4,d=n.timelimit),"showdeletenotification"in n&&a(6,r=n.showdeletenotification),"showsuccessnotification"in n&&a(7,w=n.showsuccessnotification),"lang"in n&&a(0,o=n.lang),"currency"in n&&a(5,L=n.currency),"separatelimits"in n&&a(8,_=n.separatelimits),"clientstyling"in n&&a(9,y=n.clientstyling),"clientstylingurl"in n&&a(10,u=n.clientstylingurl),"mbsource"in n&&a(11,p=n.mbsource),"translationurl"in n&&a(21,s=n.translationurl)},i.$$.update=()=>{i.$$.dirty&1&&o&&W(),i.$$.dirty&4608&&y&&h&&e.setClientStyling(h,y),i.$$.dirty&5120&&u&&h&&e.setClientStylingURL(h,u),i.$$.dirty&6144&&p&&h&&e.setStreamStyling(h,`${p}.Style`),i.$$.dirty&2097152&&s&&l()},[o,c,g,f,d,L,r,w,_,y,u,p,h,v,k,T,M,m,P,R,A,s,B,N]}class S extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Y,U,e.safe_not_equal,{depositlimit:1,wageringlimit:2,losslimit:3,timelimit:4,showdeletenotification:6,showsuccessnotification:7,lang:0,currency:5,separatelimits:8,clientstyling:9,clientstylingurl:10,mbsource:11,translationurl:21},F)}get depositlimit(){return this.$$.ctx[1]}set depositlimit(t){this.$$set({depositlimit:t}),e.flush()}get wageringlimit(){return this.$$.ctx[2]}set wageringlimit(t){this.$$set({wageringlimit:t}),e.flush()}get losslimit(){return this.$$.ctx[3]}set losslimit(t){this.$$set({losslimit:t}),e.flush()}get timelimit(){return this.$$.ctx[4]}set timelimit(t){this.$$set({timelimit:t}),e.flush()}get showdeletenotification(){return this.$$.ctx[6]}set showdeletenotification(t){this.$$set({showdeletenotification:t}),e.flush()}get showsuccessnotification(){return this.$$.ctx[7]}set showsuccessnotification(t){this.$$set({showsuccessnotification:t}),e.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get separatelimits(){return this.$$.ctx[8]}set separatelimits(t){this.$$set({separatelimits:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(S,{depositlimit:{},wageringlimit:{},losslimit:{},timelimit:{},showdeletenotification:{type:"Boolean"},showsuccessnotification:{type:"Boolean"},lang:{},currency:{},separatelimits:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=S;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CG738i36.cjs");function C(i,t){e.addMessages(i,t)}function O(i){e.$locale.set(i)}const j={en:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{returnToMenu:"返回菜單",gamingLimitsText:"遊戲限制",depositLimit:"存款限額",timeLimit:"時限t",wageringLimit:"投注限額",lossLimit:"損失限額"},fr:{returnToMenu:"Retour au menu",gamingLimitsText:"Limites de jeu",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{returnToMenu:"Înapoi la meniu",gamingLimitsText:"Limite de joc",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limită de pierdere"},es:{returnToMenu:"Regresar al menu",gamingLimitsText:"Límites de juego",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{returnToMenu:"Voltar ao Menu",gamingLimitsText:"Limites de jogos",depositLimit:"Limite de Depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de apostas",lossLimit:"Limite de Perda"},hr:{returnToMenu:"Povratak na izbornik",gamingLimitsText:"Ograničenja igranja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{returnToMenu:"Voltar ao cardápio",gamingLimitsText:"Limites do jogo",depositLimit:"Limites de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{returnToMenu:"Regresar al menú",gamingLimitsText:"Límites de juego",depositLimit:"Límites de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdidas"},tr:{returnToMenu:"Menüye dön",gamingLimitsText:"Oyun sınırları",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"},"en-us":{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}};if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(m){if(m instanceof DOMException&&m.message.includes("has already been used with this registry")||m.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw m}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsInfoCard-C4wloIme.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-info-card")&&customElements.define("player-account-gaming-limits-info-card",t.element)})}function F(i){e.append_styles(i,"svelte-4tnj1c",'.PlayerAccountGamingLimitsWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));padding:50px;max-width:760px}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader h3{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader .PlayerAccountGamingLimitsMobileTitle{font-size:16px;font-weight:400}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emw--color-white, #FFFFFF);max-width:unset}.PlayerAccountTabletGamingLimitsWrapper{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.PlayerAccountSuccessfulRemoveContainer{background:var(--emw--color-primary-50, #FBECF4);border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;padding:10px;margin-bottom:20px}.PlayerAccountSuccessfulRemoveContainer p{margin:0}.ModalLoader{position:absolute;left:0;right:0;top:50%;width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function z(i){let t;return{c(){t=e.element("player-account-gaming-limits-group-edit"),e.set_custom_element_data(t,"limitsdata",i[14]),e.set_custom_element_data(t,"limitname",i[15]),e.set_custom_element_data(t,"showsuccessnotification",i[7]),e.set_custom_element_data(t,"showdeletenotification",i[6]),e.set_custom_element_data(t,"currency",i[5]),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"separatelimits",i[8]),e.set_custom_element_data(t,"clientstyling",i[9]),e.set_custom_element_data(t,"clientstylingurl",i[10]),e.set_custom_element_data(t,"mbsource",i[11])},m(a,m){e.insert(a,t,m)},p(a,m){m&16384&&e.set_custom_element_data(t,"limitsdata",a[14]),m&32768&&e.set_custom_element_data(t,"limitname",a[15]),m&128&&e.set_custom_element_data(t,"showsuccessnotification",a[7]),m&64&&e.set_custom_element_data(t,"showdeletenotification",a[6]),m&32&&e.set_custom_element_data(t,"currency",a[5]),m&1&&e.set_custom_element_data(t,"lang",a[0]),m&256&&e.set_custom_element_data(t,"separatelimits",a[8]),m&512&&e.set_custom_element_data(t,"clientstyling",a[9]),m&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10]),m&2048&&e.set_custom_element_data(t,"mbsource",a[11])},d(a){a&&e.detach(t)}}}function V(i){let t,a,m,c=i[17]("gamingLimitsText")+"",g,f,d,r,w,o,L,_,y,u,p=i[18]&&q(i);return{c(){t=e.element("div"),p&&p.c(),a=e.space(),m=e.element("h2"),g=e.text(c),f=e.space(),d=e.element("div"),r=e.element("player-account-gaming-limits-info-card"),w=e.space(),o=e.element("player-account-gaming-limits-info-card"),L=e.space(),_=e.element("player-account-gaming-limits-info-card"),y=e.space(),u=e.element("player-account-gaming-limits-info-card"),e.attr(m,"class","PlayerGamingLimitsTitle "+(i[18]?"PlayerGamingLimitsTitleNone":"")),e.set_custom_element_data(r,"limitsdata",i[1]),e.set_custom_element_data(r,"limitname",Z),e.set_custom_element_data(r,"currency",i[5]),e.set_custom_element_data(r,"lang",i[0]),e.set_custom_element_data(r,"clientstyling",i[9]),e.set_custom_element_data(r,"clientstylingurl",i[10]),e.set_custom_element_data(r,"mbsource",i[11]),e.set_custom_element_data(o,"limitsdata",i[2]),e.set_custom_element_data(o,"limitname",I),e.set_custom_element_data(o,"currency",i[5]),e.set_custom_element_data(o,"lang",i[0]),e.set_custom_element_data(o,"clientstyling",i[9]),e.set_custom_element_data(o,"clientstylingurl",i[10]),e.set_custom_element_data(o,"mbsource",i[11]),e.set_custom_element_data(_,"limitsdata",i[3]),e.set_custom_element_data(_,"limitname",K),e.set_custom_element_data(_,"currency",i[5]),e.set_custom_element_data(_,"lang",i[0]),e.set_custom_element_data(_,"clientstyling",i[9]),e.set_custom_element_data(_,"clientstylingurl",i[10]),e.set_custom_element_data(_,"mbsource",i[11]),e.set_custom_element_data(u,"limitsdata",i[4]),e.set_custom_element_data(u,"limitname",Q),e.set_custom_element_data(u,"currency",i[5]),e.set_custom_element_data(u,"lang",i[0]),e.set_custom_element_data(u,"clientstyling",i[9]),e.set_custom_element_data(u,"clientstylingurl",i[10]),e.set_custom_element_data(u,"mbsource",i[11]),e.attr(d,"class","PlayerAccountGamingLimitsContainer"),e.attr(t,"class","PlayerAccountGamingLimitsWrapper "+(i[18]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(i[19].matches&&i[18]?"PlayerAccountTabletGamingLimitsWrapper":""))},m(s,l){e.insert(s,t,l),p&&p.m(t,null),e.append(t,a),e.append(t,m),e.append(m,g),e.append(t,f),e.append(t,d),e.append(d,r),e.append(d,w),e.append(d,o),e.append(d,L),e.append(d,_),e.append(d,y),e.append(d,u)},p(s,l){s[18]&&p.p(s,l),l&131072&&c!==(c=s[17]("gamingLimitsText")+"")&&e.set_data(g,c),l&2&&e.set_custom_element_data(r,"limitsdata",s[1]),l&32&&e.set_custom_element_data(r,"currency",s[5]),l&1&&e.set_custom_element_data(r,"lang",s[0]),l&512&&e.set_custom_element_data(r,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(r,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(r,"mbsource",s[11]),l&4&&e.set_custom_element_data(o,"limitsdata",s[2]),l&32&&e.set_custom_element_data(o,"currency",s[5]),l&1&&e.set_custom_element_data(o,"lang",s[0]),l&512&&e.set_custom_element_data(o,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(o,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(o,"mbsource",s[11]),l&8&&e.set_custom_element_data(_,"limitsdata",s[3]),l&32&&e.set_custom_element_data(_,"currency",s[5]),l&1&&e.set_custom_element_data(_,"lang",s[0]),l&512&&e.set_custom_element_data(_,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(_,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(_,"mbsource",s[11]),l&16&&e.set_custom_element_data(u,"limitsdata",s[4]),l&32&&e.set_custom_element_data(u,"currency",s[5]),l&1&&e.set_custom_element_data(u,"lang",s[0]),l&512&&e.set_custom_element_data(u,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(u,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(u,"mbsource",s[11])},d(s){s&&e.detach(t),p&&p.d()}}}function H(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","ModalLoader")},m(a,m){e.insert(a,t,m)},p:e.noop,d(a){a&&e.detach(t)}}}function q(i){let t,a,m,c,g,f,d,r,w,o,L=i[17]("gamingLimitsText")+"",_,y,u;return{c(){t=e.element("div"),a=e.svg_element("svg"),m=e.svg_element("defs"),c=e.svg_element("style"),g=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),f=e.svg_element("g"),d=e.svg_element("g"),r=e.svg_element("path"),w=e.space(),o=e.element("h2"),_=e.text(L),e.attr(r,"class","aaa"),e.attr(r,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(r,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(f,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(o,"class","PlayerGamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(p,s){e.insert(p,t,s),e.append(t,a),e.append(a,m),e.append(m,c),e.append(c,g),e.append(a,f),e.append(f,d),e.append(d,r),e.append(t,w),e.append(t,o),e.append(o,_),y||(u=e.listen(t,"click",i[22]),y=!0)},p(p,s){s&131072&&L!==(L=p[17]("gamingLimitsText")+"")&&e.set_data(_,L)},d(p){p&&e.detach(t),y=!1,u()}}}function U(i){let t;function a(g,f){return g[13]?H:g[16]?V:z}let m=a(i),c=m(i);return{c(){t=e.element("div"),c.c()},m(g,f){e.insert(g,t,f),c.m(t,null),i[23](t)},p(g,[f]){m===(m=a(g))&&c?c.p(g,f):(c.d(1),c=m(g),c&&(c.c(),c.m(t,null)))},i:e.noop,o:e.noop,d(g){g&&e.detach(t),c.d(),i[23](null)}}}let Z="Deposit Limit",I="Wagering Limit",K="Loss Limit",Q="Time Limit";function Y(i,t,a){let m;e.component_subscribe(i,e.$format,n=>a(17,m=n));let{depositlimit:c}=t,{wageringlimit:g}=t,{losslimit:f}=t,{timelimit:d}=t,{showdeletenotification:r=!1}=t,{showsuccessnotification:w=!1}=t,{lang:o="en"}=t,{currency:L=""}=t,{separatelimits:_="true"}=t,{clientstyling:y=""}=t,{clientstylingurl:u=""}=t,{mbsource:p}=t,{translationurl:s=""}=t;const l=()=>{fetch(s).then(b=>b.json()).then(b=>{Object.keys(b).forEach(D=>{C(D,b[D])})}).catch(b=>{console.log(b)})};Object.keys(j).forEach(n=>{C(n,j[n])});let h,v=!0,E=window.navigator.userAgent,P=e.getDevice(E)!=="PC",k,T="",M=!0;const R=window.matchMedia("(min-width: 768px)"),A=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:P},window.location.href)},W=()=>{O(o)},G=n=>{if(n.data)switch(n.data.type){case"PlayerLimitsData":a(0,o=n.data.limits.lang),a(1,c=n.data.limits.depositlimit),a(2,g=n.data.limits.wageringlimit),a(3,f=n.data.limits.losslimit),a(4,d=n.data.limits.timelimit),a(13,v=!1);break;case"EditPlayerAccountGamingLimits":a(14,k=n.data.edit),a(15,T=n.data.name),a(16,M=!1),window.postMessage({type:"EditPlayerLimit",name:T},window.location.href),window.postMessage({type:"ScrollToTop"},window.location.href);break;case"PlayerAccountBackToLimitsView":a(16,M=!0);break;case"ProfileDetailsData":let b=n.data.profileDetails;a(5,L=b.currency);break}};e.onMount(()=>(window.addEventListener("message",G,!1),()=>{window.removeEventListener("message",G)}));const B=()=>A();function N(n){e.binding_callbacks[n?"unshift":"push"](()=>{h=n,a(12,h)})}return i.$$set=n=>{"depositlimit"in n&&a(1,c=n.depositlimit),"wageringlimit"in n&&a(2,g=n.wageringlimit),"losslimit"in n&&a(3,f=n.losslimit),"timelimit"in n&&a(4,d=n.timelimit),"showdeletenotification"in n&&a(6,r=n.showdeletenotification),"showsuccessnotification"in n&&a(7,w=n.showsuccessnotification),"lang"in n&&a(0,o=n.lang),"currency"in n&&a(5,L=n.currency),"separatelimits"in n&&a(8,_=n.separatelimits),"clientstyling"in n&&a(9,y=n.clientstyling),"clientstylingurl"in n&&a(10,u=n.clientstylingurl),"mbsource"in n&&a(11,p=n.mbsource),"translationurl"in n&&a(21,s=n.translationurl)},i.$$.update=()=>{i.$$.dirty&1&&o&&W(),i.$$.dirty&4608&&y&&h&&e.setClientStyling(h,y),i.$$.dirty&5120&&u&&h&&e.setClientStylingURL(h,u),i.$$.dirty&6144&&p&&h&&e.setStreamStyling(h,`${p}.Style`),i.$$.dirty&2097152&&s&&l()},[o,c,g,f,d,L,r,w,_,y,u,p,h,v,k,T,M,m,P,R,A,s,B,N]}class S extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Y,U,e.safe_not_equal,{depositlimit:1,wageringlimit:2,losslimit:3,timelimit:4,showdeletenotification:6,showsuccessnotification:7,lang:0,currency:5,separatelimits:8,clientstyling:9,clientstylingurl:10,mbsource:11,translationurl:21},F)}get depositlimit(){return this.$$.ctx[1]}set depositlimit(t){this.$$set({depositlimit:t}),e.flush()}get wageringlimit(){return this.$$.ctx[2]}set wageringlimit(t){this.$$set({wageringlimit:t}),e.flush()}get losslimit(){return this.$$.ctx[3]}set losslimit(t){this.$$set({losslimit:t}),e.flush()}get timelimit(){return this.$$.ctx[4]}set timelimit(t){this.$$set({timelimit:t}),e.flush()}get showdeletenotification(){return this.$$.ctx[6]}set showdeletenotification(t){this.$$set({showdeletenotification:t}),e.flush()}get showsuccessnotification(){return this.$$.ctx[7]}set showsuccessnotification(t){this.$$set({showsuccessnotification:t}),e.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get separatelimits(){return this.$$.ctx[8]}set separatelimits(t){this.$$set({separatelimits:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(S,{depositlimit:{},wageringlimit:{},losslimit:{},timelimit:{},showdeletenotification:{type:"Boolean"},showsuccessnotification:{type:"Boolean"},lang:{},currency:{},separatelimits:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=S;
@@ -107,7 +107,7 @@ if (typeof window != "undefined") {
107
107
  }
108
108
  };
109
109
  };
110
- customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-CRMCtZqj.js").then(({ default: i }) => {
110
+ customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-Di-tNlvO.js").then(({ default: i }) => {
111
111
  !customElements.get("player-account-gaming-limits-info-card") && customElements.define(
112
112
  "player-account-gaming-limits-info-card",
113
113
  i.element