@everymatrix/player-limit-notification 0.19.56 → 0.19.59

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 (23) hide show
  1. package/components/{PlayerAccountGamingLimitsHistory2Nd-BmIU_HIE.js → PlayerAccountGamingLimitsHistory2Nd-Bo9QBecs.js} +3 -4
  2. package/components/{PlayerAccountGamingLimitsHistory2Nd-wOy1UkpE.js → PlayerAccountGamingLimitsHistory2Nd-CRRpF3DV.js} +3 -4
  3. package/components/{PlayerAccountGamingLimitsHistory2Nd-yF-IqkJN.cjs → PlayerAccountGamingLimitsHistory2Nd-rAVgulMV.cjs} +1 -1
  4. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BuILW00X.js → PlayerAccountGamingLimitsPage2Gm16Nd-Cr_6ROyQ.js} +33 -63
  5. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-LvVq-dI7.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-DSmoPr3g.cjs} +1 -1
  6. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-C7pe7X2o.js → PlayerAccountGamingLimitsPage2Gm16Nd-TlL7tCP4.js} +33 -63
  7. package/components/{PlayerAccountGamingLimitsWrapper2Nd-BhUrwtpD.cjs → PlayerAccountGamingLimitsWrapper2Nd-AcVm3CWj.cjs} +2 -2
  8. package/components/{PlayerAccountGamingLimitsWrapper2Nd-CP3ivFSA.js → PlayerAccountGamingLimitsWrapper2Nd-DlRzzHNK.js} +18 -28
  9. package/components/{PlayerAccountGamingLimitsWrapper2Nd-BlwaAQui.js → PlayerAccountGamingLimitsWrapper2Nd-IY41OFxV.js} +18 -28
  10. package/components/{PlayerLimitNotification-ZNFLmlqi.js → PlayerLimitNotification--0fuyv_X.js} +23 -43
  11. package/components/{PlayerLimitNotification-DGz2dSF8.js → PlayerLimitNotification-CBbD-QZG.js} +24 -44
  12. package/components/PlayerLimitNotification-JidawScd.cjs +39 -0
  13. package/es2015/player-limit-notification.cjs +1 -1
  14. package/es2015/player-limit-notification.js +1 -1
  15. package/esnext/player-limit-notification.js +1 -1
  16. package/package.json +1 -1
  17. package/stencil/{index-b2193545-R7ZoV-kY.js → index-b2193545-D9zpmD3Q.js} +2 -3
  18. package/stencil/{index-b2193545-DsMHU6jb.js → index-b2193545-OkT1QrQq.js} +2 -3
  19. package/stencil/{ui-skeleton-xXZA3rYO.js → ui-skeleton-BjsoPeRQ.js} +2 -2
  20. package/stencil/{ui-skeleton-W50o8tfg.js → ui-skeleton-COR_76lv.js} +2 -2
  21. package/stencil/{ui-skeleton-ed169f8f-CVY4B-CP.js → ui-skeleton-ed169f8f-BJHdC-wv.js} +1 -1
  22. package/stencil/{ui-skeleton-ed169f8f-D3TjbVKy.js → ui-skeleton-ed169f8f-Df2MlRR-.js} +1 -1
  23. package/components/PlayerLimitNotification-BZY3ey8U.cjs +0 -39
@@ -9,8 +9,8 @@ var $ = (e, i, t) => i in e ? vi(e, i, { enumerable: !0, configurable: !0, writa
9
9
  Ti.call(i, t) && $(e, t, i[t]);
10
10
  return e;
11
11
  };
12
- import { a as bi, $ as Si, S as _i, i as Pi, s as Ai, f as P, b as Ci, x as D, d as z, k as R, m as b, o as d, p as ki, r as xi, y as ii, v as x, l as g, w as E, B as ei, C as Ei, G as M, z as Di, n as Q, A as Y, U as zi, X as ti, H as Ri, I as ji, J as Wi, K as Hi, L as Ii } from "./PlayerLimitNotification-DGz2dSF8.js";
13
- import { i as Fi } from "./PlayerAccountGamingLimitsWrapper2Nd-BlwaAQui.js";
12
+ import { a as bi, $ as Si, S as _i, i as Pi, s as Ai, f as P, b as Ci, x as D, d as z, k as R, m as b, o as d, p as ki, r as xi, y as ii, v as x, l as g, w as E, B as ei, C as Ei, G as M, z as Di, n as Q, A as Y, U as zi, X as ti, H as Ri, I as ji, J as Wi, K as Hi, L as Ii } from "./PlayerLimitNotification-CBbD-QZG.js";
13
+ import { i as Fi } from "./PlayerAccountGamingLimitsWrapper2Nd-IY41OFxV.js";
14
14
  function si(e, i) {
15
15
  bi(e, i);
16
16
  }
@@ -576,8 +576,7 @@ function Vi(e, i, t) {
576
576
  const pi = () => {
577
577
  J.observe(k[k.length - 1]);
578
578
  }, yi = () => {
579
- if (!u)
580
- return;
579
+ if (!u) return;
581
580
  let s = {};
582
581
  u.split(",").forEach((c) => {
583
582
  let _ = c.split(":");
@@ -1,5 +1,5 @@
1
- import { a as hi, $ as Li, S as fi, i as vi, s as wi, f as P, b as Ti, z as D, e as z, m as R, o as b, q as d, r as bi, w as Si, A as J, x, n as g, y as E, D as Z, E as _i, H as M, B as Pi, p as Y, C as q, U as Ai, X as $, J as Ci, K as ki, L as xi, c as Ei, I as Di } from "./PlayerLimitNotification-ZNFLmlqi.js";
2
- import { i as zi } from "./PlayerAccountGamingLimitsWrapper2Nd-CP3ivFSA.js";
1
+ import { a as hi, $ as Li, S as fi, i as vi, s as wi, f as P, b as Ti, z as D, e as z, m as R, o as b, q as d, r as bi, w as Si, A as J, x, n as g, y as E, D as Z, E as _i, H as M, B as Pi, p as Y, C as q, U as Ai, X as $, J as Ci, K as ki, L as xi, c as Ei, I as Di } from "./PlayerLimitNotification--0fuyv_X.js";
2
+ import { i as zi } from "./PlayerAccountGamingLimitsWrapper2Nd-DlRzzHNK.js";
3
3
  function ii(e, i) {
4
4
  hi(e, i);
5
5
  }
@@ -565,8 +565,7 @@ function Mi(e, i, t) {
565
565
  const li = () => {
566
566
  Q.observe(k[k.length - 1]);
567
567
  }, mi = () => {
568
- if (!c)
569
- return;
568
+ if (!c) return;
570
569
  let s = {};
571
570
  c.split(",").forEach((u) => {
572
571
  let _ = u.split(":");
@@ -1 +1 @@
1
- "use strict";var ae=Object.defineProperty;var M=Object.getOwnPropertySymbols;var ne=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var N=(i,t,r)=>t in i?ae(i,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[t]=r,O=(i,t)=>{for(var r in t||(t={}))ne.call(t,r)&&N(i,r,t[r]);if(M)for(var r of M(t))le.call(t,r)&&N(i,r,t[r]);return i};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerLimitNotification-BZY3ey8U.cjs"),me=require("./PlayerAccountGamingLimitsWrapper2Nd-BhUrwtpD.cjs");function U(i,t){e.addMessages(i,t)}function de(i){e.$locale.set(i)}const F={en:{expandLimits:"Limit history",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},de:{expandLimits:"Limit-Verlauf",daily:"pro Tag",weekly:"pro Woche",monthly:"pro Monat",loss:"Verlustlimit",deposit:"Einzahlungslimit",wagering:"Einsatzlimit",max:"Einsatzlimit",loading:"Lädt ...",error:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",limitRemoved:"Limit entfernt",historyProductTypeSports:"Sport",historyProductTypeAll:"Alle",historyProductTypeCasino:"Slots",historyLimitTypeDeposit:"Einzahlungslimit",historyLimitTypeWagering:"Einsatzlimit",historyLimitTypeLoss:"Verlustlimit"},hr:{expandLimits:"Povijest ograničenja",daily:"dnevno",weekly:"tjedno",monthly:"mjesečno",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wagering:"Ograničenje igranja",max:"Ograničenje uloga",loading:"Učitavanje povijesti ograničenja...",error:"Nešto je pošlo po zlu. Molimo vas pokušajte ponovno.",limitRemoved:"Ograničenje uklonjeno",historyProductTypeSports:"Sportovi",historyProductTypeAll:"Sve",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Ograničenje uplate",historyLimitTypeWagering:"Ograničenje igranja",historyLimitTypeLoss:"Ograničenje gubitka",wageringSports:"Ograničenje uloga"},sl:{expandLimits:"Limit zgodovina",daily:"na dan",weekly:"na teden",monthly:"na mesec",loss:"Limit izgube",deposit:"Limit vplačila",wagering:"Limit na vložek",max:"Limit vložkov",loading:"Nalaga...",error:"Nekaj ​​je šlo narobe. Prosim poskusite ponovno.",limitRemoved:"Limit odstranjen",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},pl:{expandLimits:"Historia limitu",daily:"na dzień",weekly:"na tydzień",monthly:"na miesiąc",loss:"Limit Strat",deposit:"Limit depozytów",wagering:"Limit Stawek",max:"Limit stawek",loading:"Ładowanie...",error:"Coś poszło nie tak. Proszę spróbuj ponownie.",limitRemoved:"Usunięty limit",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"zh-hk":{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},fr:{expandLimits:"Limiter l'historique",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},ro:{expandLimits:"Istoric limite",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Limita depunere",historyLimitTypeWagering:"Limita pariere",historyLimitTypeLoss:"Limita pierdere"},es:{expandLimits:"Historial de límites",daily:"por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdida",deposit:"Límite de depósito",wagering:"Límite de apuestas",max:"Límite de apuesta",loading:"Cargando historial de límites…",error:"Algo salió mal. Por favor inténtalo de nuevo.",limitRemoved:"Límite eliminado",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"pt-br":{expandLimits:"Histórico de limite",daily:"Por dia",weekly:"por semana",monthly:"por mês",loss:"Limite de perda",deposit:"Limite de depósito",wagering:"Limite de Quantidade de Apostas",max:"Limite de apostas",wageringSports:"Limite de Quantidade de Apostas Esportivas",Loading:"Carregando histórico de limite...",error:"Algo deu errado. Por favor, tente novamente",limitRemoved:"Limite removido",historyProductTypeSports:"Esportes",historyProductTypeAll:"Todos",historyProductTypeCasino:"casino",historyLimitTypeDeposit:"Limite de depósito",historyLimitTypeWagering:"Limite de valor da aposta",historyLimitTypeLoss:"Limite de perda"},"es-mx":{expandLimits:"Historial de límites",daily:"Por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdidas",deposit:"Límite de depósito",wagering:"Límite de monto de apuestas",max:"Límite de apuestas",wageringSports:"Límite de monto de apuestas deportivas",Loading:"Cargando historial de límites...",error:"Algo salió mal. Por favor intente de nuevo",limitRemoved:"Límite removido",historyProductTypeSports:"Deportes",historyProductTypeAll:"Todo",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Límite de depósito",historyLimitTypeWagering:"Límite de monto de apuesta",historyLimitTypeLoss:"Límite de pérdida"},tr:{expandLimits:"SINIR GEÇMİŞİ",daily:"günlük",weekly:"haftada",monthly:"her ay",loss:"Kayıp Limiti",deposit:"Para Yatırma Limiti",wagering:"Bahis Limiti",max:"Bahis limiti",wageringSports:"Bahis Limiti",loading:"Limit geçmişi yükleniyor...",error:"Bir şeyler yanlış gitti. Lütfen tekrar deneyin.",limitRemoved:"Sınır kaldırıldı",historyProductTypeSports:"Spor Dalları",historyProductTypeAll:"Tüm",historyProductTypeCasino:"Kumarhane",historyLimitTypeDeposit:"Para Yatırma Limiti",historyLimitTypeWagering:"Bahis Limiti",historyLimitTypeLoss:"Kayıp Limiti"}};function pe(i){e.append_styles(i,"svelte-1wi0iai",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-1wi0iai.svelte-1wi0iai,.svelte-1wi0iai.svelte-1wi0iai::before,.svelte-1wi0iai.svelte-1wi0iai::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-white, #FFFFFF)}button.svelte-1wi0iai.svelte-1wi0iai{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-1wi0iai.svelte-1wi0iai{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-1wi0iai.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-1wi0iai svg.svelte-1wi0iai{width:40px;height:auto;margin-left:-4px}.extended.svelte-1wi0iai.svelte-1wi0iai{transform:rotate(180deg)}.HistoryWrapper.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.svelte-1wi0iai{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea .LimitType.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.Mobile.svelte-1wi0iai{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-1wi0iai.svelte-1wi0iai{display:none}.HistoryRow.svelte-1wi0iai.svelte-1wi0iai{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-1wi0iai.svelte-1wi0iai{animation:svelte-1wi0iai-animateEntry 0.7s ease-in}@keyframes svelte-1wi0iai-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}')}function G(i,t,r){const o=i.slice();return o[37]=t[r],o[38]=t,o[39]=r,o}function ye(i){let t,r,o,a=i[9]("expandLimits")+"",l,m,n,L,h,p,y,c,f,_=e.ensure_array_like(i[7]),v=[];for(let g=0;g<_.length;g+=1)v[g]=q(G(i,_,g));return{c(){t=e.element("div"),r=e.element("div"),o=e.element("button"),l=e.text(a),m=e.space(),n=e.svg_element("svg"),L=e.svg_element("path"),h=e.svg_element("path"),p=e.space(),y=e.element("div");for(let g=0;g<v.length;g+=1)v[g].c();e.attr(L,"d","M10.5 15l7.5 7.5 7.5-7.5z"),e.attr(L,"class","svelte-1wi0iai"),e.attr(h,"d","M0 0h36v36h-36z"),e.attr(h,"fill","none"),e.attr(h,"class","svelte-1wi0iai"),e.attr(n,"class","ExpandArrow "+(i[10]?"":"Mobile")+" svelte-1wi0iai"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","36"),e.attr(n,"height","36"),e.attr(n,"viewBox","0 0 36 36"),e.set_style(n,"fill","var(--emw--color-primary, #22B04E)"),e.toggle_class(n,"extended",i[8]),e.attr(o,"class","ExpandButton "+(i[10]?"":"Mobile")+" svelte-1wi0iai"),e.attr(y,"class","HistoryDisplayArea "+(i[10]?"":"Mobile")+" svelte-1wi0iai"),e.toggle_class(y,"hidden",i[5]),e.attr(r,"class","HistoryWrapper svelte-1wi0iai"),e.attr(t,"class","player-account-gaming-limits-history-2 svelte-1wi0iai")},m(g,T){e.insert(g,t,T),e.append(t,r),e.append(r,o),e.append(o,l),e.append(o,m),e.append(o,n),e.append(n,L),e.append(n,h),e.append(r,p),e.append(r,y);for(let d=0;d<v.length;d+=1)v[d]&&v[d].m(y,null);c||(f=e.listen(o,"click",i[11]),c=!0)},p(g,T){if(T[0]&512&&a!==(a=g[9]("expandLimits")+"")&&e.set_data(l,a),T[0]&256&&e.toggle_class(n,"extended",g[8]),T[0]&650){_=e.ensure_array_like(g[7]);let d;for(d=0;d<_.length;d+=1){const A=G(g,_,d);v[d]?v[d].p(A,T):(v[d]=q(A),v[d].c(),v[d].m(y,null))}for(;d<v.length;d+=1)v[d].d(1);v.length=_.length}T[0]&32&&e.toggle_class(y,"hidden",g[5])},d(g){g&&e.detach(t),e.destroy_each(v,g),c=!1,f()}}}function ce(i){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function ue(i){let t,r=(i[0]?i[9]("error"):"500 Server Error")+"",o;return{c(){t=e.element("p"),o=e.text(r),e.attr(t,"class","svelte-1wi0iai")},m(a,l){e.insert(a,t,l),e.append(t,o)},p(a,l){l[0]&513&&r!==(r=(a[0]?a[9]("error"):"500 Server Error")+"")&&e.set_data(o,r)},d(a){a&&e.detach(t)}}}function ge(i){let t,r,o,a=i[37].type+"",l,m,n=i[37].amount+"",L,h,p=i[37].date+"",y;return{c(){t=e.element("div"),r=e.element("span"),o=e.element("span"),l=e.text(a),m=e.element("span"),L=e.text(n),h=e.element("span"),y=e.text(p),e.attr(o,"class","LimitType svelte-1wi0iai"),e.attr(m,"class","LimitAmountPeriod svelte-1wi0iai"),e.attr(r,"class","GeneralLimitInformation svelte-1wi0iai"),e.attr(h,"class","DateLimitInformation svelte-1wi0iai"),e.attr(t,"class","HistoryRow svelte-1wi0iai")},m(c,f){e.insert(c,t,f),e.append(t,r),e.append(r,o),e.append(o,l),e.append(r,m),e.append(m,L),e.append(t,h),e.append(h,y)},p(c,f){f[0]&128&&a!==(a=c[37].type+"")&&e.set_data(l,a),f[0]&128&&n!==(n=c[37].amount+"")&&e.set_data(L,n),f[0]&128&&p!==(p=c[37].date+"")&&e.set_data(y,p)},d(c){c&&e.detach(t)}}}function he(i){let t,r,o,a=i[37].type+"",l,m,n=i[9]("limitRemoved")+"",L,h,p=i[37].date+"",y;return{c(){t=e.element("div"),r=e.element("span"),o=e.element("span"),l=e.text(a),m=e.element("span"),L=e.text(n),h=e.element("span"),y=e.text(p),e.attr(o,"class","LimitType svelte-1wi0iai"),e.attr(m,"class","LimitAmountPeriod svelte-1wi0iai"),e.attr(r,"class","GeneralLimitInformation svelte-1wi0iai"),e.attr(h,"class","DateLimitInformation svelte-1wi0iai"),e.attr(t,"class","HistoryRow svelte-1wi0iai")},m(c,f){e.insert(c,t,f),e.append(t,r),e.append(r,o),e.append(o,l),e.append(r,m),e.append(m,L),e.append(t,h),e.append(h,y)},p(c,f){f[0]&128&&a!==(a=c[37].type+"")&&e.set_data(l,a),f[0]&512&&n!==(n=c[9]("limitRemoved")+"")&&e.set_data(L,n),f[0]&128&&p!==(p=c[37].date+"")&&e.set_data(y,p)},d(c){c&&e.detach(t)}}}function q(i){let t,r,o,a=i[39];function l(p,y){return p[37].removed?he:ge}let m=l(i),n=m(i);const L=()=>i[22](t,a),h=()=>i[22](null,a);return{c(){t=e.element("div"),n.c(),r=e.space(),e.attr(t,"class",o=e.null_to_empty(i[39]>+i[1]?"LimitContainer":"")+" svelte-1wi0iai")},m(p,y){e.insert(p,t,y),n.m(t,null),e.append(t,r),L()},p(p,y){i=p,m===(m=l(i))&&n?n.p(i,y):(n.d(1),n=m(i),n&&(n.c(),n.m(t,r))),y[0]&2&&o!==(o=e.null_to_empty(i[39]>+i[1]?"LimitContainer":"")+" svelte-1wi0iai")&&e.attr(t,"class",o),a!==i[39]&&(h(),a=i[39],L())},d(p){p&&e.detach(t),n.d(),h()}}}function fe(i){let t;function r(l,m){return l[6]?ue:l[4]?ce:ye}let o=r(i),a=o(i);return{c(){t=e.element("div"),a.c(),e.attr(t,"class","svelte-1wi0iai")},m(l,m){e.insert(l,t,m),a.m(t,null),i[23](t)},p(l,m){o===(o=r(l))&&a?a.p(l,m):(a.d(1),a=o(l),a&&(a.c(),a.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),a.d(),i[23](null)}}}function Le(i,t,r){let o;e.component_subscribe(i,e.$format,s=>r(9,o=s));let a=window.navigator.userAgent,l=!me.isMobile(a),{lang:m=""}=t,{userid:n=""}=t,{session:L=""}=t,{endpoint:h=""}=t,{apiversion:p=""}=t,{numberofentries:y="10"}=t,{customcurrencysymbols:c=""}=t,{limitformat:f=""}=t,{clientstyling:_=""}=t,{clientstylingurl:v=""}=t,{mbsource:g}=t,{translationurl:T=""}=t,d,A,P=new Array,j=parseInt(y,10),R=!1,k=!0,C=[],E=[],D=!0,W=!1,x={EUR:"€",RON:"lei",TRY:"₺"};const V=()=>{fetch(T).then(u=>u.json()).then(u=>{Object.keys(u).forEach(b=>{U(b,u[b])})}).catch(u=>{console.log(u)})};Object.keys(F).forEach(s=>{U(s,F[s])});const X=()=>{let s=p==="gmcore"?`/v2/player/${n}/transactions/limit`:`/v1/player/${n}/limits/monetary/history`,u=new URL(`${h}${s}`);u.searchParams.append("startDate",`${new Date("2022").toISOString()}`),u.searchParams.append("endDate",`${new Date("2099").toISOString()}`),u.searchParams.append("limit","10000");let b={method:"GET",headers:{"X-SessionID":L}};fetch(u.href,b).then(w=>{if(w.status>=300)throw r(4,k=!1),r(6,R=!0),new Error("There was an error fetching the limits");return w.json()}).then(w=>{w.length&&(C=Y(w),r(7,E=C.slice(0,j))),r(4,k=!1)},w=>{console.error("There was an error",w),r(6,R=!0)})},Y=s=>{const u=!!F[m];return s.map(w=>{let S={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return S.amount=Q(w),S.currency=u?x[w.limitCurrencyCode]:w.limitCurrencyCode,S.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(w.limitDate)),S.period=o(`${w.limitPeriod.toLowerCase()}`),S.type=p==="gmcore"?o(`historyLimitType${w.limitType.split(" ")[0]}`):o(`historyLimitType${w.limitType.split(" ")[0]}`)+" "+o(`historyProductType${w.limitProductType}`),S.removed=w.limitAmount===-1,S})},Q=s=>{let u=f||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.limitAmount);if(!f){let oe=x[s.limitCurrencyCode]||s.limitCurrencyCode;return`${u}${oe}`}typeof s.limitAmount=="string"&&s.limitAmount.includes(",")&&(s.limitAmount=s.limitAmount.replaceAll(",",""));const b=u.match(/\{(\d+)decimals\}/),w=b?parseInt(b[1],10):2,S=b?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let z=parseFloat(s.limitAmount).toFixed(w);const[re,H]=f.includes(".")?[",","."]:[".",","];let[I,se]=z.split(".");return I=I.replace(/\B(?=(\d{3})+(?!\d))/g,re),z=`${I}${H}${se}`,u=u.replace("{currency}",x[s.limitCurrencyCode]||s.limitCurrencyCode).replace("{amount}",z.split(H)[0]).replace(S,z.split(H)[1]),u},J=()=>{r(5,D=!D),r(8,W=!W)};let B=new IntersectionObserver(s=>{s.forEach(u=>{u.isIntersecting&&(j+=parseInt(y,10)||10,E.length<C.length&&r(7,E=C.slice(0,j)))})});const Z=()=>{B.observe(P[P.length-1])},$=()=>{if(!c)return;let s={};c.split(",").forEach(u=>{let b=u.split(":");s[b[0].trim()]=b[1].trim()}),x=O(O({},x),s)},ee=()=>{de(m)};e.onMount(()=>()=>{B.unobserve(P[P.length-1])});function te(s,u){e.binding_callbacks[s?"unshift":"push"](()=>{P[u]=s,r(3,P)})}function ie(s){e.binding_callbacks[s?"unshift":"push"](()=>{d=s,r(2,d)})}return i.$$set=s=>{"lang"in s&&r(0,m=s.lang),"userid"in s&&r(12,n=s.userid),"session"in s&&r(13,L=s.session),"endpoint"in s&&r(14,h=s.endpoint),"apiversion"in s&&r(15,p=s.apiversion),"numberofentries"in s&&r(1,y=s.numberofentries),"customcurrencysymbols"in s&&r(16,c=s.customcurrencysymbols),"limitformat"in s&&r(17,f=s.limitformat),"clientstyling"in s&&r(18,_=s.clientstyling),"clientstylingurl"in s&&r(19,v=s.clientstylingurl),"mbsource"in s&&r(20,g=s.mbsource),"translationurl"in s&&r(21,T=s.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&65536&&c&&$(),i.$$.dirty[0]&61440&&h&&n&&L&&p&&X(),i.$$.dirty[0]&56&&P[0]&&!k&&!D&&Z(),i.$$.dirty[0]&1&&m&&ee(),i.$$.dirty[0]&262148&&_&&d&&e.setClientStyling(d,_),i.$$.dirty[0]&524292&&v&&d&&e.setClientStylingURL(d,v),i.$$.dirty[0]&1048580&&g&&d&&e.setStreamStyling(d,`${g}.Style`,A),i.$$.dirty[0]&2097156&&T&&d&&V()},[m,y,d,P,k,D,R,E,W,o,l,J,n,L,h,p,c,f,_,v,g,T,te,ie]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Le,fe,e.safe_not_equal,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,customcurrencysymbols:16,limitformat:17,clientstyling:18,clientstylingurl:19,mbsource:20,translationurl:21},pe,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[12]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[13]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[15]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[16]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[17]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[20]}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(K,{lang:{},userid:{},session:{},endpoint:{},apiversion:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=K;
1
+ "use strict";var ae=Object.defineProperty;var M=Object.getOwnPropertySymbols;var ne=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var N=(i,t,r)=>t in i?ae(i,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[t]=r,O=(i,t)=>{for(var r in t||(t={}))ne.call(t,r)&&N(i,r,t[r]);if(M)for(var r of M(t))le.call(t,r)&&N(i,r,t[r]);return i};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerLimitNotification-JidawScd.cjs"),me=require("./PlayerAccountGamingLimitsWrapper2Nd-AcVm3CWj.cjs");function U(i,t){e.addMessages(i,t)}function de(i){e.$locale.set(i)}const F={en:{expandLimits:"Limit history",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},de:{expandLimits:"Limit-Verlauf",daily:"pro Tag",weekly:"pro Woche",monthly:"pro Monat",loss:"Verlustlimit",deposit:"Einzahlungslimit",wagering:"Einsatzlimit",max:"Einsatzlimit",loading:"Lädt ...",error:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",limitRemoved:"Limit entfernt",historyProductTypeSports:"Sport",historyProductTypeAll:"Alle",historyProductTypeCasino:"Slots",historyLimitTypeDeposit:"Einzahlungslimit",historyLimitTypeWagering:"Einsatzlimit",historyLimitTypeLoss:"Verlustlimit"},hr:{expandLimits:"Povijest ograničenja",daily:"dnevno",weekly:"tjedno",monthly:"mjesečno",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wagering:"Ograničenje igranja",max:"Ograničenje uloga",loading:"Učitavanje povijesti ograničenja...",error:"Nešto je pošlo po zlu. Molimo vas pokušajte ponovno.",limitRemoved:"Ograničenje uklonjeno",historyProductTypeSports:"Sportovi",historyProductTypeAll:"Sve",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Ograničenje uplate",historyLimitTypeWagering:"Ograničenje igranja",historyLimitTypeLoss:"Ograničenje gubitka",wageringSports:"Ograničenje uloga"},sl:{expandLimits:"Limit zgodovina",daily:"na dan",weekly:"na teden",monthly:"na mesec",loss:"Limit izgube",deposit:"Limit vplačila",wagering:"Limit na vložek",max:"Limit vložkov",loading:"Nalaga...",error:"Nekaj ​​je šlo narobe. Prosim poskusite ponovno.",limitRemoved:"Limit odstranjen",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},pl:{expandLimits:"Historia limitu",daily:"na dzień",weekly:"na tydzień",monthly:"na miesiąc",loss:"Limit Strat",deposit:"Limit depozytów",wagering:"Limit Stawek",max:"Limit stawek",loading:"Ładowanie...",error:"Coś poszło nie tak. Proszę spróbuj ponownie.",limitRemoved:"Usunięty limit",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"zh-hk":{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},fr:{expandLimits:"Limiter l'historique",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},ro:{expandLimits:"Istoric limite",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Limita depunere",historyLimitTypeWagering:"Limita pariere",historyLimitTypeLoss:"Limita pierdere"},es:{expandLimits:"Historial de límites",daily:"por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdida",deposit:"Límite de depósito",wagering:"Límite de apuestas",max:"Límite de apuesta",loading:"Cargando historial de límites…",error:"Algo salió mal. Por favor inténtalo de nuevo.",limitRemoved:"Límite eliminado",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"pt-br":{expandLimits:"Histórico de limite",daily:"Por dia",weekly:"por semana",monthly:"por mês",loss:"Limite de perda",deposit:"Limite de depósito",wagering:"Limite de Quantidade de Apostas",max:"Limite de apostas",wageringSports:"Limite de Quantidade de Apostas Esportivas",Loading:"Carregando histórico de limite...",error:"Algo deu errado. Por favor, tente novamente",limitRemoved:"Limite removido",historyProductTypeSports:"Esportes",historyProductTypeAll:"Todos",historyProductTypeCasino:"casino",historyLimitTypeDeposit:"Limite de depósito",historyLimitTypeWagering:"Limite de valor da aposta",historyLimitTypeLoss:"Limite de perda"},"es-mx":{expandLimits:"Historial de límites",daily:"Por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdidas",deposit:"Límite de depósito",wagering:"Límite de monto de apuestas",max:"Límite de apuestas",wageringSports:"Límite de monto de apuestas deportivas",Loading:"Cargando historial de límites...",error:"Algo salió mal. Por favor intente de nuevo",limitRemoved:"Límite removido",historyProductTypeSports:"Deportes",historyProductTypeAll:"Todo",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Límite de depósito",historyLimitTypeWagering:"Límite de monto de apuesta",historyLimitTypeLoss:"Límite de pérdida"},tr:{expandLimits:"SINIR GEÇMİŞİ",daily:"günlük",weekly:"haftada",monthly:"her ay",loss:"Kayıp Limiti",deposit:"Para Yatırma Limiti",wagering:"Bahis Limiti",max:"Bahis limiti",wageringSports:"Bahis Limiti",loading:"Limit geçmişi yükleniyor...",error:"Bir şeyler yanlış gitti. Lütfen tekrar deneyin.",limitRemoved:"Sınır kaldırıldı",historyProductTypeSports:"Spor Dalları",historyProductTypeAll:"Tüm",historyProductTypeCasino:"Kumarhane",historyLimitTypeDeposit:"Para Yatırma Limiti",historyLimitTypeWagering:"Bahis Limiti",historyLimitTypeLoss:"Kayıp Limiti"}};function pe(i){e.append_styles(i,"svelte-1wi0iai",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-1wi0iai.svelte-1wi0iai,.svelte-1wi0iai.svelte-1wi0iai::before,.svelte-1wi0iai.svelte-1wi0iai::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-white, #FFFFFF)}button.svelte-1wi0iai.svelte-1wi0iai{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-1wi0iai.svelte-1wi0iai{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-1wi0iai.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-1wi0iai svg.svelte-1wi0iai{width:40px;height:auto;margin-left:-4px}.extended.svelte-1wi0iai.svelte-1wi0iai{transform:rotate(180deg)}.HistoryWrapper.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.svelte-1wi0iai{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea .LimitType.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.Mobile.svelte-1wi0iai{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-1wi0iai.svelte-1wi0iai{display:none}.HistoryRow.svelte-1wi0iai.svelte-1wi0iai{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-1wi0iai.svelte-1wi0iai{animation:svelte-1wi0iai-animateEntry 0.7s ease-in}@keyframes svelte-1wi0iai-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}')}function G(i,t,r){const o=i.slice();return o[37]=t[r],o[38]=t,o[39]=r,o}function ye(i){let t,r,o,a=i[9]("expandLimits")+"",l,m,n,L,h,p,y,c,f,_=e.ensure_array_like(i[7]),v=[];for(let g=0;g<_.length;g+=1)v[g]=q(G(i,_,g));return{c(){t=e.element("div"),r=e.element("div"),o=e.element("button"),l=e.text(a),m=e.space(),n=e.svg_element("svg"),L=e.svg_element("path"),h=e.svg_element("path"),p=e.space(),y=e.element("div");for(let g=0;g<v.length;g+=1)v[g].c();e.attr(L,"d","M10.5 15l7.5 7.5 7.5-7.5z"),e.attr(L,"class","svelte-1wi0iai"),e.attr(h,"d","M0 0h36v36h-36z"),e.attr(h,"fill","none"),e.attr(h,"class","svelte-1wi0iai"),e.attr(n,"class","ExpandArrow "+(i[10]?"":"Mobile")+" svelte-1wi0iai"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","36"),e.attr(n,"height","36"),e.attr(n,"viewBox","0 0 36 36"),e.set_style(n,"fill","var(--emw--color-primary, #22B04E)"),e.toggle_class(n,"extended",i[8]),e.attr(o,"class","ExpandButton "+(i[10]?"":"Mobile")+" svelte-1wi0iai"),e.attr(y,"class","HistoryDisplayArea "+(i[10]?"":"Mobile")+" svelte-1wi0iai"),e.toggle_class(y,"hidden",i[5]),e.attr(r,"class","HistoryWrapper svelte-1wi0iai"),e.attr(t,"class","player-account-gaming-limits-history-2 svelte-1wi0iai")},m(g,T){e.insert(g,t,T),e.append(t,r),e.append(r,o),e.append(o,l),e.append(o,m),e.append(o,n),e.append(n,L),e.append(n,h),e.append(r,p),e.append(r,y);for(let d=0;d<v.length;d+=1)v[d]&&v[d].m(y,null);c||(f=e.listen(o,"click",i[11]),c=!0)},p(g,T){if(T[0]&512&&a!==(a=g[9]("expandLimits")+"")&&e.set_data(l,a),T[0]&256&&e.toggle_class(n,"extended",g[8]),T[0]&650){_=e.ensure_array_like(g[7]);let d;for(d=0;d<_.length;d+=1){const A=G(g,_,d);v[d]?v[d].p(A,T):(v[d]=q(A),v[d].c(),v[d].m(y,null))}for(;d<v.length;d+=1)v[d].d(1);v.length=_.length}T[0]&32&&e.toggle_class(y,"hidden",g[5])},d(g){g&&e.detach(t),e.destroy_each(v,g),c=!1,f()}}}function ce(i){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function ue(i){let t,r=(i[0]?i[9]("error"):"500 Server Error")+"",o;return{c(){t=e.element("p"),o=e.text(r),e.attr(t,"class","svelte-1wi0iai")},m(a,l){e.insert(a,t,l),e.append(t,o)},p(a,l){l[0]&513&&r!==(r=(a[0]?a[9]("error"):"500 Server Error")+"")&&e.set_data(o,r)},d(a){a&&e.detach(t)}}}function ge(i){let t,r,o,a=i[37].type+"",l,m,n=i[37].amount+"",L,h,p=i[37].date+"",y;return{c(){t=e.element("div"),r=e.element("span"),o=e.element("span"),l=e.text(a),m=e.element("span"),L=e.text(n),h=e.element("span"),y=e.text(p),e.attr(o,"class","LimitType svelte-1wi0iai"),e.attr(m,"class","LimitAmountPeriod svelte-1wi0iai"),e.attr(r,"class","GeneralLimitInformation svelte-1wi0iai"),e.attr(h,"class","DateLimitInformation svelte-1wi0iai"),e.attr(t,"class","HistoryRow svelte-1wi0iai")},m(c,f){e.insert(c,t,f),e.append(t,r),e.append(r,o),e.append(o,l),e.append(r,m),e.append(m,L),e.append(t,h),e.append(h,y)},p(c,f){f[0]&128&&a!==(a=c[37].type+"")&&e.set_data(l,a),f[0]&128&&n!==(n=c[37].amount+"")&&e.set_data(L,n),f[0]&128&&p!==(p=c[37].date+"")&&e.set_data(y,p)},d(c){c&&e.detach(t)}}}function he(i){let t,r,o,a=i[37].type+"",l,m,n=i[9]("limitRemoved")+"",L,h,p=i[37].date+"",y;return{c(){t=e.element("div"),r=e.element("span"),o=e.element("span"),l=e.text(a),m=e.element("span"),L=e.text(n),h=e.element("span"),y=e.text(p),e.attr(o,"class","LimitType svelte-1wi0iai"),e.attr(m,"class","LimitAmountPeriod svelte-1wi0iai"),e.attr(r,"class","GeneralLimitInformation svelte-1wi0iai"),e.attr(h,"class","DateLimitInformation svelte-1wi0iai"),e.attr(t,"class","HistoryRow svelte-1wi0iai")},m(c,f){e.insert(c,t,f),e.append(t,r),e.append(r,o),e.append(o,l),e.append(r,m),e.append(m,L),e.append(t,h),e.append(h,y)},p(c,f){f[0]&128&&a!==(a=c[37].type+"")&&e.set_data(l,a),f[0]&512&&n!==(n=c[9]("limitRemoved")+"")&&e.set_data(L,n),f[0]&128&&p!==(p=c[37].date+"")&&e.set_data(y,p)},d(c){c&&e.detach(t)}}}function q(i){let t,r,o,a=i[39];function l(p,y){return p[37].removed?he:ge}let m=l(i),n=m(i);const L=()=>i[22](t,a),h=()=>i[22](null,a);return{c(){t=e.element("div"),n.c(),r=e.space(),e.attr(t,"class",o=e.null_to_empty(i[39]>+i[1]?"LimitContainer":"")+" svelte-1wi0iai")},m(p,y){e.insert(p,t,y),n.m(t,null),e.append(t,r),L()},p(p,y){i=p,m===(m=l(i))&&n?n.p(i,y):(n.d(1),n=m(i),n&&(n.c(),n.m(t,r))),y[0]&2&&o!==(o=e.null_to_empty(i[39]>+i[1]?"LimitContainer":"")+" svelte-1wi0iai")&&e.attr(t,"class",o),a!==i[39]&&(h(),a=i[39],L())},d(p){p&&e.detach(t),n.d(),h()}}}function fe(i){let t;function r(l,m){return l[6]?ue:l[4]?ce:ye}let o=r(i),a=o(i);return{c(){t=e.element("div"),a.c(),e.attr(t,"class","svelte-1wi0iai")},m(l,m){e.insert(l,t,m),a.m(t,null),i[23](t)},p(l,m){o===(o=r(l))&&a?a.p(l,m):(a.d(1),a=o(l),a&&(a.c(),a.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),a.d(),i[23](null)}}}function Le(i,t,r){let o;e.component_subscribe(i,e.$format,s=>r(9,o=s));let a=window.navigator.userAgent,l=!me.isMobile(a),{lang:m=""}=t,{userid:n=""}=t,{session:L=""}=t,{endpoint:h=""}=t,{apiversion:p=""}=t,{numberofentries:y="10"}=t,{customcurrencysymbols:c=""}=t,{limitformat:f=""}=t,{clientstyling:_=""}=t,{clientstylingurl:v=""}=t,{mbsource:g}=t,{translationurl:T=""}=t,d,A,P=new Array,j=parseInt(y,10),R=!1,k=!0,C=[],E=[],D=!0,W=!1,x={EUR:"€",RON:"lei",TRY:"₺"};const V=()=>{fetch(T).then(u=>u.json()).then(u=>{Object.keys(u).forEach(b=>{U(b,u[b])})}).catch(u=>{console.log(u)})};Object.keys(F).forEach(s=>{U(s,F[s])});const X=()=>{let s=p==="gmcore"?`/v2/player/${n}/transactions/limit`:`/v1/player/${n}/limits/monetary/history`,u=new URL(`${h}${s}`);u.searchParams.append("startDate",`${new Date("2022").toISOString()}`),u.searchParams.append("endDate",`${new Date("2099").toISOString()}`),u.searchParams.append("limit","10000");let b={method:"GET",headers:{"X-SessionID":L}};fetch(u.href,b).then(w=>{if(w.status>=300)throw r(4,k=!1),r(6,R=!0),new Error("There was an error fetching the limits");return w.json()}).then(w=>{w.length&&(C=Y(w),r(7,E=C.slice(0,j))),r(4,k=!1)},w=>{console.error("There was an error",w),r(6,R=!0)})},Y=s=>{const u=!!F[m];return s.map(w=>{let S={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return S.amount=Q(w),S.currency=u?x[w.limitCurrencyCode]:w.limitCurrencyCode,S.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(w.limitDate)),S.period=o(`${w.limitPeriod.toLowerCase()}`),S.type=p==="gmcore"?o(`historyLimitType${w.limitType.split(" ")[0]}`):o(`historyLimitType${w.limitType.split(" ")[0]}`)+" "+o(`historyProductType${w.limitProductType}`),S.removed=w.limitAmount===-1,S})},Q=s=>{let u=f||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.limitAmount);if(!f){let oe=x[s.limitCurrencyCode]||s.limitCurrencyCode;return`${u}${oe}`}typeof s.limitAmount=="string"&&s.limitAmount.includes(",")&&(s.limitAmount=s.limitAmount.replaceAll(",",""));const b=u.match(/\{(\d+)decimals\}/),w=b?parseInt(b[1],10):2,S=b?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let z=parseFloat(s.limitAmount).toFixed(w);const[re,H]=f.includes(".")?[",","."]:[".",","];let[I,se]=z.split(".");return I=I.replace(/\B(?=(\d{3})+(?!\d))/g,re),z=`${I}${H}${se}`,u=u.replace("{currency}",x[s.limitCurrencyCode]||s.limitCurrencyCode).replace("{amount}",z.split(H)[0]).replace(S,z.split(H)[1]),u},J=()=>{r(5,D=!D),r(8,W=!W)};let B=new IntersectionObserver(s=>{s.forEach(u=>{u.isIntersecting&&(j+=parseInt(y,10)||10,E.length<C.length&&r(7,E=C.slice(0,j)))})});const Z=()=>{B.observe(P[P.length-1])},$=()=>{if(!c)return;let s={};c.split(",").forEach(u=>{let b=u.split(":");s[b[0].trim()]=b[1].trim()}),x=O(O({},x),s)},ee=()=>{de(m)};e.onMount(()=>()=>{B.unobserve(P[P.length-1])});function te(s,u){e.binding_callbacks[s?"unshift":"push"](()=>{P[u]=s,r(3,P)})}function ie(s){e.binding_callbacks[s?"unshift":"push"](()=>{d=s,r(2,d)})}return i.$$set=s=>{"lang"in s&&r(0,m=s.lang),"userid"in s&&r(12,n=s.userid),"session"in s&&r(13,L=s.session),"endpoint"in s&&r(14,h=s.endpoint),"apiversion"in s&&r(15,p=s.apiversion),"numberofentries"in s&&r(1,y=s.numberofentries),"customcurrencysymbols"in s&&r(16,c=s.customcurrencysymbols),"limitformat"in s&&r(17,f=s.limitformat),"clientstyling"in s&&r(18,_=s.clientstyling),"clientstylingurl"in s&&r(19,v=s.clientstylingurl),"mbsource"in s&&r(20,g=s.mbsource),"translationurl"in s&&r(21,T=s.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&65536&&c&&$(),i.$$.dirty[0]&61440&&h&&n&&L&&p&&X(),i.$$.dirty[0]&56&&P[0]&&!k&&!D&&Z(),i.$$.dirty[0]&1&&m&&ee(),i.$$.dirty[0]&262148&&_&&d&&e.setClientStyling(d,_),i.$$.dirty[0]&524292&&v&&d&&e.setClientStylingURL(d,v),i.$$.dirty[0]&1048580&&g&&d&&e.setStreamStyling(d,`${g}.Style`,A),i.$$.dirty[0]&2097156&&T&&d&&V()},[m,y,d,P,k,D,R,E,W,o,l,J,n,L,h,p,c,f,_,v,g,T,te,ie]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Le,fe,e.safe_not_equal,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,customcurrencysymbols:16,limitformat:17,clientstyling:18,clientstylingurl:19,mbsource:20,translationurl:21},pe,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[12]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[13]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[15]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[16]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[17]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[20]}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(K,{lang:{},userid:{},session:{},endpoint:{},apiversion:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=K;
@@ -26,9 +26,9 @@ var Ae = (i, e, t) => new Promise((a, n) => {
26
26
  }, u = (m) => m.done ? a(m.value) : Promise.resolve(m.value).then(r, s);
27
27
  u((t = t.apply(i, e)).next());
28
28
  });
29
- import { a as en, $ as tn, S as on, i as an, s as nn, f as ee, b as sn, d as A, t as Et, e as It, D as rn, j as ln, k as C, l as c, m as w, n as B, p as un, r as mn, M as vt, o as g, c as mi, u as di, g as pi, h as ci, x as dt, B as Ce, C as it, N as st, v as U, O as Eo, P as Mt, z as ge, w as j, Q as Ri, y as dn, E as tt, R as Kt, T as Io, U as kt, G as bt, A as ie, V as pn, W as cn, H as fn, I as gn, J as Ln, K as hn, L as yn } from "./PlayerLimitNotification-DGz2dSF8.js";
30
- import { i as vn } from "./PlayerAccountGamingLimitsWrapper2Nd-BlwaAQui.js";
31
- import "../stencil/ui-skeleton-xXZA3rYO.js";
29
+ import { a as en, $ as tn, S as on, i as an, s as nn, f as ee, b as sn, d as A, t as Et, e as It, D as rn, j as ln, k as C, l as c, m as w, n as B, p as un, r as mn, M as vt, o as g, c as mi, u as di, g as pi, h as ci, x as dt, B as Ce, C as it, N as st, v as U, O as Eo, P as Mt, z as ge, w as j, Q as Ri, y as dn, E as tt, R as Kt, T as Io, U as kt, G as bt, A as ie, V as pn, W as cn, H as fn, I as gn, J as Ln, K as hn, L as yn } from "./PlayerLimitNotification-CBbD-QZG.js";
30
+ import { i as vn } from "./PlayerAccountGamingLimitsWrapper2Nd-IY41OFxV.js";
31
+ import "../stencil/ui-skeleton-BjsoPeRQ.js";
32
32
  const ae = {
33
33
  lugas: {
34
34
  title: "Deposit Limit",
@@ -1412,12 +1412,10 @@ function fi(i) {
1412
1412
  return `limits-ack-${i}`;
1413
1413
  }
1414
1414
  function gi(i) {
1415
- if (typeof sessionStorage == "undefined")
1416
- return {};
1415
+ if (typeof sessionStorage == "undefined") return {};
1417
1416
  try {
1418
1417
  const e = sessionStorage.getItem(fi(i));
1419
- if (!e)
1420
- return {};
1418
+ if (!e) return {};
1421
1419
  const t = JSON.parse(e);
1422
1420
  return typeof t == "object" && t !== null ? t : {};
1423
1421
  } catch (e) {
@@ -1509,8 +1507,7 @@ const J = {
1509
1507
  return ((n = e[t.period]) != null ? n : 99) - ((r = e[a.period]) != null ? r : 99);
1510
1508
  });
1511
1509
  }, Fi = (i, e) => {
1512
- if (!i || !i.type)
1513
- return !1;
1510
+ if (!i || !i.type) return !1;
1514
1511
  const t = i.type.toLowerCase();
1515
1512
  return !(t.includes("operator") || t.includes("system") || t !== e.type.toLowerCase() || i.period !== e.period && i.period !== "None" || !(Array.isArray(i.products) && e.product && i.products.includes(e.product)));
1516
1513
  }, qi = {
@@ -1534,8 +1531,7 @@ const J = {
1534
1531
  maximumFractionDigits: 2
1535
1532
  }).format(i);
1536
1533
  }, ui = (i) => {
1537
- if (!i)
1538
- return !1;
1534
+ if (!i) return !1;
1539
1535
  const e = i.toLowerCase();
1540
1536
  return e.includes("operator") || e.includes("system");
1541
1537
  };
@@ -3349,24 +3345,20 @@ function ho(i) {
3349
3345
  /*vLimit*/
3350
3346
  x[208].reviewPending && /*vLimit*/
3351
3347
  x[208].reviewPending.id
3352
- )
3353
- return ns;
3348
+ ) return ns;
3354
3349
  if (
3355
3350
  /*vLimit*/
3356
3351
  x[208].acknowledgedLimit
3357
- )
3358
- return as;
3352
+ ) return as;
3359
3353
  if (
3360
3354
  /*vLimit*/
3361
3355
  x[208].isModified && /*vLimit*/
3362
3356
  x[208].updateAmount === 0
3363
- )
3364
- return os;
3357
+ ) return os;
3365
3358
  if (
3366
3359
  /*vLimit*/
3367
3360
  x[208].isModified
3368
- )
3369
- return is;
3361
+ ) return is;
3370
3362
  }
3371
3363
  let M = E(i), G = M && M(i), Y = !/*vLimit*/
3372
3364
  i[208].isOperator && po(i), te = !/*vLimit*/
@@ -3404,11 +3396,9 @@ function yo(i, e) {
3404
3396
  /*limit*/
3405
3397
  u[197].visibleLimitsInUI && /*limit*/
3406
3398
  u[197].visibleLimitsInUI.length > 0
3407
- )
3408
- return Qn;
3399
+ ) return Qn;
3409
3400
  if (!/*isCompanyLimitsInfoEnabled*/
3410
- u[10])
3411
- return Jn;
3401
+ u[10]) return Jn;
3412
3402
  }
3413
3403
  let r = n(e), s = r && r(e);
3414
3404
  return {
@@ -4246,8 +4236,7 @@ function hs(i, e, t) {
4246
4236
  }
4247
4237
  }, ki = bi(Ze), ht = (o) => {
4248
4238
  const l = new Date(o);
4249
- if (isNaN(l.getTime()))
4250
- return "-";
4239
+ if (isNaN(l.getTime())) return "-";
4251
4240
  const d = No(ki, l);
4252
4241
  return `${new Intl.DateTimeFormat(
4253
4242
  "en-DE",
@@ -4359,8 +4348,7 @@ function hs(i, e, t) {
4359
4348
  l && Tt(l), t(29, He = !1), t(28, we = !1), yield vt(), (lt || Ie) && Pt();
4360
4349
  })), new Error("An error occured during the fetch request");
4361
4350
  }, Go = () => Ae(this, null, function* () {
4362
- if (!($ > 0))
4363
- return;
4351
+ if (!($ > 0)) return;
4364
4352
  qe(), t(28, we = !0);
4365
4353
  let o = new URL(`${v}/v2/player/${k}/limits`), l = {};
4366
4354
  K === J.SESSION_LIMIT ? l = {
@@ -4457,8 +4445,7 @@ function hs(i, e, t) {
4457
4445
  t(28, we = !1), t(34, At = !1), $e = "";
4458
4446
  }
4459
4447
  }), Zo = () => Ae(this, null, function* () {
4460
- if (!($ > 0))
4461
- return;
4448
+ if (!($ > 0)) return;
4462
4449
  qe(), t(28, we = !0);
4463
4450
  const o = {
4464
4451
  sessionLimit: $,
@@ -4466,8 +4453,7 @@ function hs(i, e, t) {
4466
4453
  };
4467
4454
  yield Xt(`/v1/player/${k}/limits/session/`, "PUT", o), Me(Ne.limitation_success), yield Fe();
4468
4455
  }), Xo = () => Ae(this, null, function* () {
4469
- if (!($ > 0))
4470
- return;
4456
+ if (!($ > 0)) return;
4471
4457
  qe(), t(28, we = !0);
4472
4458
  const o = new URL(`${v}/v1/player/${k}/limits/session/`);
4473
4459
  let L = {
@@ -4489,8 +4475,7 @@ function hs(i, e, t) {
4489
4475
  const y = yield fetch(o.href, L);
4490
4476
  yield Be(y), Me(Ne.limitation_success), yield Fe();
4491
4477
  }), Jo = () => Ae(this, null, function* () {
4492
- if (!($ > 0))
4493
- return;
4478
+ if (!($ > 0)) return;
4494
4479
  qe(), t(28, we = !0);
4495
4480
  const o = {
4496
4481
  amount: $,
@@ -4620,12 +4605,10 @@ function hs(i, e, t) {
4620
4605
  };
4621
4606
  try {
4622
4607
  const d = yield fetch(o.href, l), L = yield Be(d);
4623
- if (!L)
4624
- return;
4608
+ if (!L) return;
4625
4609
  let y = L.limitBalances || [];
4626
4610
  Array.isArray(y[0]) && (y = y.flat()), t(9, R = R.map((h) => {
4627
- if (!h.currentLimits)
4628
- return h;
4611
+ if (!h.currentLimits) return h;
4629
4612
  const V = (h.product || "").toLowerCase(), W = (h.value || "").toLowerCase(), Z = W.includes(me.netdeposit), O = W.includes(me.deposit) && !Z, I = W.includes(me.loss), z = W.includes(me.wager), D = h.currentLimits.map((X) => {
4630
4613
  var oe, xe;
4631
4614
  const Q = y.filter((je) => {
@@ -4657,8 +4640,7 @@ function hs(i, e, t) {
4657
4640
  });
4658
4641
  }, aa = (o = "") => Ae(this, null, function* () {
4659
4642
  let l = o;
4660
- if (!l && r !== void 0 && (l = (Dt[r] || []).map((h) => `playerLimitTypes=${h}`).join("&")), !l)
4661
- return;
4643
+ if (!l && r !== void 0 && (l = (Dt[r] || []).map((h) => `playerLimitTypes=${h}`).join("&")), !l) return;
4662
4644
  const d = new URL(`/api/pam/v1/limit-balances/most-restrictive?userId=${k}&${l}`, v), L = {
4663
4645
  method: "GET",
4664
4646
  headers: {
@@ -4674,8 +4656,7 @@ function hs(i, e, t) {
4674
4656
  t(29, He = !0);
4675
4657
  }
4676
4658
  }), na = (o) => {
4677
- if (_ !== "gm16" || !(o != null && o.limitBalances))
4678
- return;
4659
+ if (_ !== "gm16" || !(o != null && o.limitBalances)) return;
4679
4660
  let l = o.limitBalances;
4680
4661
  Array.isArray(l[0]) && (l = l.flat());
4681
4662
  const d = (h) => h == null ? 0 : typeof h == "number" ? h : typeof h == "object" && h.parsedValue !== void 0 ? parseFloat(h.parsedValue) : typeof h == "object" && h.amount !== void 0 ? d(h.amount) : typeof h == "string" && parseFloat(h.replace(J.COMMA_REMOVAL_REGEX, "")) || 0, L = me.deposit.toLowerCase(), y = me.netdeposit.toLowerCase();
@@ -4725,8 +4706,7 @@ function hs(i, e, t) {
4725
4706
  return h.allValidLimits = mt(Object.values(O)), h;
4726
4707
  })), ti();
4727
4708
  }, ti = () => {
4728
- if (_ !== "gm16")
4729
- return;
4709
+ if (_ !== "gm16") return;
4730
4710
  const o = me.netdeposit, l = me.deposit;
4731
4711
  t(9, R = R.map((d) => {
4732
4712
  const L = (d.value || "").toLowerCase(), y = L.includes(o), h = L.includes(l) && !y, V = h || y;
@@ -4772,8 +4752,7 @@ function hs(i, e, t) {
4772
4752
  }, ii = (o, l) => {
4773
4753
  var V;
4774
4754
  const d = R[o];
4775
- if (!d || !((V = d.visibleLimitsInUI) != null && V[l]))
4776
- return;
4755
+ if (!d || !((V = d.visibleLimitsInUI) != null && V[l])) return;
4777
4756
  const L = d.visibleLimitsInUI[l], y = `#progress-${o}-${l}`, h = F == null ? void 0 : F.querySelector(y);
4778
4757
  if (h) {
4779
4758
  if (L.shouldHideProgress) {
@@ -4793,8 +4772,7 @@ function hs(i, e, t) {
4793
4772
  o = !1;
4794
4773
  break;
4795
4774
  }
4796
- if (!o)
4797
- break;
4775
+ if (!o) break;
4798
4776
  }
4799
4777
  if (!o) {
4800
4778
  setTimeout(() => oi(), 10);
@@ -4866,16 +4844,13 @@ function hs(i, e, t) {
4866
4844
  }
4867
4845
  });
4868
4846
  }, pa = (o) => {
4869
- if (!(o != null && o.limits))
4870
- return;
4847
+ if (!(o != null && o.limits)) return;
4871
4848
  const l = Sn(o.limits), d = gi(k), { toRemove: L, toRestore: y } = An(l, d, Object.keys(Se));
4872
4849
  ma(L), da(y), t(9, R = R.map((h) => {
4873
4850
  const V = (h.product || "").toLowerCase(), W = (h.callValue16 || "").toLowerCase(), O = o.limits.filter((z) => {
4874
- if (!z || !z.type)
4875
- return !1;
4851
+ if (!z || !z.type) return !1;
4876
4852
  const D = z.type.toLowerCase(), X = ui(D);
4877
- if (!Ie && X)
4878
- return !1;
4853
+ if (!Ie && X) return !1;
4879
4854
  let Q = !1;
4880
4855
  W === me.deposit ? Q = D.includes(me.deposit) && !D.includes(me.netdeposit) : W === me.netdeposit ? Q = D.includes(me.netdeposit) : Q = D.includes(W);
4881
4856
  const ce = (Array.isArray(z.products) ? z.products : [z.products]).map((Oe) => (Oe || "").toLowerCase());
@@ -4914,8 +4889,7 @@ function hs(i, e, t) {
4914
4889
  if (D) {
4915
4890
  const be = (Oe = (fe = D.updateAmount) == null ? void 0 : fe.parsedValue) != null ? Oe : D.updateAmount;
4916
4891
  ce = be != null ? Number(be) : 0;
4917
- } else
4918
- X && (ce = Q(X.requestAmount));
4892
+ } else X && (ce = Q(X.requestAmount));
4919
4893
  return {
4920
4894
  id: z.id,
4921
4895
  limitType: h.value,
@@ -4993,8 +4967,7 @@ function hs(i, e, t) {
4993
4967
  t(32, Ve = !0);
4994
4968
  }, Di = () => {
4995
4969
  var l, d;
4996
- if (!ke || !ke.limits)
4997
- return null;
4970
+ if (!ke || !ke.limits) return null;
4998
4971
  let o = null;
4999
4972
  if (Object.keys(ft).length > 0)
5000
4973
  o = ke.limits.find((L) => L.id === ft.id);
@@ -5230,8 +5203,7 @@ function hs(i, e, t) {
5230
5203
  });
5231
5204
  }, ni = (o) => {
5232
5205
  var O;
5233
- if (!o)
5234
- return s(K || "");
5206
+ if (!o) return s(K || "");
5235
5207
  const l = (o.value || o.limitType || o.type || "").toLowerCase(), d = ((O = Object.entries(me).sort((I, z) => z[1].length - I[1].length).find(([I, z]) => l.includes(z.toLowerCase()) || l.includes(I.toLowerCase()))) == null ? void 0 : O[0]) || l, L = (o.product || o.products && o.products[0] || "").toLowerCase(), y = L && L !== "all" ? L.charAt(0).toUpperCase() + L.slice(1) : "", h = d + y, V = s(h);
5236
5208
  if (V !== h)
5237
5209
  return V;
@@ -5267,8 +5239,7 @@ function hs(i, e, t) {
5267
5239
  }, Da = () => {
5268
5240
  window.postMessage({ type: "uploadDocuments" }, window.location.href), si();
5269
5241
  }, ji = (o) => !o && !(o.length > 0) ? t(33, ot = !1) : (t(23, rt = o), Cn(rt, le) ? Pn(rt, Pe) ? t(33, ot = !0) : (console.error(s("fileExtenssionDeny")), t(33, ot = !1)) : (console.error(s("fileSizeExceeded")), t(33, ot = !1))), Ea = () => {
5270
- if (!ot)
5271
- return;
5242
+ if (!ot) return;
5272
5243
  t(32, Ve = !1);
5273
5244
  const o = new URL(`${v}/api/v1/mm/content/${k}/url-upload/`), l = {
5274
5245
  method: "POST",
@@ -5325,8 +5296,7 @@ function hs(i, e, t) {
5325
5296
  h && (o[h] = V || h);
5326
5297
  }
5327
5298
  });
5328
- } else
5329
- p && (l = li[p] || p);
5299
+ } else p && (l = li[p] || p);
5330
5300
  l && (o.GBP = l, o.EUR = l, o.USD = l, p && (o[p] = l)), t(24, gt = o);
5331
5301
  }, xa = () => {
5332
5302
  bn(f);
@@ -1,4 +1,4 @@
1
- "use strict";var ka=Object.defineProperty,wa=Object.defineProperties;var _a=Object.getOwnPropertyDescriptors;var mi=Object.getOwnPropertySymbols;var Sa=Object.prototype.hasOwnProperty,Aa=Object.prototype.propertyIsEnumerable;var ci=(o,t,i)=>t in o?ka(o,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[t]=i,X=(o,t)=>{for(var i in t||(t={}))Sa.call(t,i)&&ci(o,i,t[i]);if(mi)for(var i of mi(t))Aa.call(t,i)&&ci(o,i,t[i]);return o},ve=(o,t)=>wa(o,_a(t));var ge=(o,t,i)=>new Promise((n,s)=>{var l=u=>{try{d(i.next(u))}catch(f){s(f)}},r=u=>{try{d(i.throw(u))}catch(f){s(f)}},d=u=>u.done?n(u.value):Promise.resolve(u.value).then(l,r);d((i=i.apply(o,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerLimitNotification-BZY3ey8U.cjs"),Ca=require("./PlayerAccountGamingLimitsWrapper2Nd-BhUrwtpD.cjs");require("../stencil/ui-skeleton-BreIU6e5.cjs");const Z={lugas:{title:"Deposit Limit",value:"lugas",callValue:"lugasLimit",callValue16:"Lugas"},deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",callValue16:"Deposit"},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",callValue16:"Loss"},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",callValue16:"Wagering"},stake:{title:"Stake Limit",value:"stake",callValue:"maxStake",callValue16:"MaxStake"},sessionLimit:{title:"Single Session Time Limit",value:"sessionLimit",callValue:"sessionLimits",callValue16:"sessionLimit"},cumulativeSession:{title:"Cumulative Session Time Limit",value:"cumulativeSession",callValue:"cumulativeSessionLimits",callValue16:"cumulativeSession"},netdeposit:{title:"Net Deposit Limit",value:"netdeposit",callValue:"netDepositLimits",callValue16:"NetDeposit"}};function fi(o,t){e.addMessages(o,t)}function Pa(o){e.$locale.set(o)}const Fe={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",newDailyLimit:"New daily limit",newWeeklyLimit:"New weekly limit",newMonthlyLimit:"New monthly limit",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",seconds:"seconds",updateText:"will be applied on",updateAfterConfirm:"will be applied after confirmation",acknowledgedLimit:"Limit update confirmed and will be applied in ~1 min",removedLimitText:"The limit will be removed on",removeAfterConfirm:"The limit will be removed after confirmation.",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",minutes:"minutes",loss:"Loss Limit",lossAll:"Loss - All Limit",lossCasino:"Loss - Casino Limit",lossSports:"Loss - Sports Limit",deposit:"Deposit Limit",depositAll:"Deposit - All Limit",depositCasino:"Deposit - Casino Limit",depositSports:"Deposit - Sports Limit",wager:"Wager Limit",wagerAll:"Wager - All Limit",wagerCasino:"Wager - Casino Limit",wagerSports:"Wager - Sports Limit",stake:"Stake Limit",stakeAll:"Stake - All Limit",stakeCasino:"Stake - Casino Limit",stakeSports:"Stake - Sports Limit",lugas:"Current Deposit Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",netdeposit:"Net Deposit Limit",sessionLimit:"Single Session Time Limit",sessionLimitUpdated:"Session limit updated successfully.",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",confirmUpdateLimit:"CONFIRM",cancelUpdateLimit:"CANCEL",reloadLimitsButton:"RELOAD",setLimit:"Set new limit",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount} {selectedPeriod}",popupOperatorLimitInPlace:"Another limit is currently in place. Please contact Customer Support for assistance.",popupPendingOperatorLimit:"We have received the request to change the limit. Please be aware that the effect may come into effect on",popupTitleAdded:"Limit added",popupLimitRemoved:"Your limit has been removed.",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"An error has occurred.",popupUpdateLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",popupRemoveLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",notFoundException:"Limit does not exist",sessionExpiredException:"Your session has expired",popup3:`Thank you!
1
+ "use strict";var ka=Object.defineProperty,wa=Object.defineProperties;var _a=Object.getOwnPropertyDescriptors;var mi=Object.getOwnPropertySymbols;var Sa=Object.prototype.hasOwnProperty,Aa=Object.prototype.propertyIsEnumerable;var ci=(o,t,i)=>t in o?ka(o,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[t]=i,X=(o,t)=>{for(var i in t||(t={}))Sa.call(t,i)&&ci(o,i,t[i]);if(mi)for(var i of mi(t))Aa.call(t,i)&&ci(o,i,t[i]);return o},ve=(o,t)=>wa(o,_a(t));var ge=(o,t,i)=>new Promise((n,s)=>{var l=u=>{try{d(i.next(u))}catch(f){s(f)}},r=u=>{try{d(i.throw(u))}catch(f){s(f)}},d=u=>u.done?n(u.value):Promise.resolve(u.value).then(l,r);d((i=i.apply(o,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerLimitNotification-JidawScd.cjs"),Ca=require("./PlayerAccountGamingLimitsWrapper2Nd-AcVm3CWj.cjs");require("../stencil/ui-skeleton-BreIU6e5.cjs");const Z={lugas:{title:"Deposit Limit",value:"lugas",callValue:"lugasLimit",callValue16:"Lugas"},deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",callValue16:"Deposit"},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",callValue16:"Loss"},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",callValue16:"Wagering"},stake:{title:"Stake Limit",value:"stake",callValue:"maxStake",callValue16:"MaxStake"},sessionLimit:{title:"Single Session Time Limit",value:"sessionLimit",callValue:"sessionLimits",callValue16:"sessionLimit"},cumulativeSession:{title:"Cumulative Session Time Limit",value:"cumulativeSession",callValue:"cumulativeSessionLimits",callValue16:"cumulativeSession"},netdeposit:{title:"Net Deposit Limit",value:"netdeposit",callValue:"netDepositLimits",callValue16:"NetDeposit"}};function fi(o,t){e.addMessages(o,t)}function Pa(o){e.$locale.set(o)}const Fe={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",newDailyLimit:"New daily limit",newWeeklyLimit:"New weekly limit",newMonthlyLimit:"New monthly limit",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",seconds:"seconds",updateText:"will be applied on",updateAfterConfirm:"will be applied after confirmation",acknowledgedLimit:"Limit update confirmed and will be applied in ~1 min",removedLimitText:"The limit will be removed on",removeAfterConfirm:"The limit will be removed after confirmation.",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",minutes:"minutes",loss:"Loss Limit",lossAll:"Loss - All Limit",lossCasino:"Loss - Casino Limit",lossSports:"Loss - Sports Limit",deposit:"Deposit Limit",depositAll:"Deposit - All Limit",depositCasino:"Deposit - Casino Limit",depositSports:"Deposit - Sports Limit",wager:"Wager Limit",wagerAll:"Wager - All Limit",wagerCasino:"Wager - Casino Limit",wagerSports:"Wager - Sports Limit",stake:"Stake Limit",stakeAll:"Stake - All Limit",stakeCasino:"Stake - Casino Limit",stakeSports:"Stake - Sports Limit",lugas:"Current Deposit Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",netdeposit:"Net Deposit Limit",sessionLimit:"Single Session Time Limit",sessionLimitUpdated:"Session limit updated successfully.",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",confirmUpdateLimit:"CONFIRM",cancelUpdateLimit:"CANCEL",reloadLimitsButton:"RELOAD",setLimit:"Set new limit",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount} {selectedPeriod}",popupOperatorLimitInPlace:"Another limit is currently in place. Please contact Customer Support for assistance.",popupPendingOperatorLimit:"We have received the request to change the limit. Please be aware that the effect may come into effect on",popupTitleAdded:"Limit added",popupLimitRemoved:"Your limit has been removed.",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"An error has occurred.",popupUpdateLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",popupRemoveLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",notFoundException:"Limit does not exist",sessionExpiredException:"Your session has expired",popup3:`Thank you!
2
2
  We have transmited your desired limit to Lugas
3
3
  Please be aware that the limit will only come into effect after 8 days at the latest.`,popup2_a:"We were able to set your monthly deposit limit to",popup2_b:". For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.",kycNeeded2:". In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",invalidInputMessageLimitMin:"The value entered must be higher than {minValue} {currency}.",invalidInputMessageLimitMax:"The value entered must be less than {maxValue} {currency}.",invalidInputMessage:"Please enter a valid number.",unableToUpdatePendingRequest:"We were unable to update your limit because another update is already pending. Please try again after the current update is applied.",internalServerError:"Unfortunately, there was an error setting your LUGAS limit. Please try again or contact our customer support at <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a>.",docsRequired:"Documents required!",okButton:"OK",complianceText:"As an authorized operator, it applies the necessary limits imposed by the government","dataLayer-sports":"Sports","dataLayer-casino":"Casino","dataLayer-wager":"Wager","dataLayer-loss":"Loss","dataLayer-deposit":"Deposit","dataLayer-daily":"Daily","dataLayer-weekly":"Weekly","dataLayer-monthly":"Monthly",netdepositAll:"Net Deposit Limit",uploadDocumentHeader:"Upload a Supporting Document",uploadButtonText:"Click here to Upload",documentUploadTitle:"Document Upload",uploadDocumentContent:'<p>Click here <label class="labelText" for="files">Browse</label></br>JPG/PEG, PNG or PDF files up to 50MB</p>',uploadHistory:"Upload History:",noFileUploaded:"No file uploaded",submitButton:"Submit",fileExtenssionDeny:"The file extenssion is not a valid one",fileSizeExceeded:"Maximum amount of file size was exceeded",uploadSuccess:"File uploaded successfully",errorUploadDocument:"There was an error with the uploading function",filesUploadError:"The uploaded files either exeeded allowed size or don't respect the allowed extensions types.",updateAfterDocApproval:"will be applied after document approval.",limitInDocReview:"You can't update a limit if it's in pending.",scheduleNotFoundException:"Schedule does not exist",genericLimitsPopupError:"An unexpected error has occurred. Please try again",limitNotificationFail:"Something went wrong while setting your account limits. Try again later.",companyLimitsInfoText:"According to your active deposit limits and your payment history the maximum amount you can deposit at the moment is:"},hu:{loadingText:"` Az oldal töltődik, kérlek várj…`",Monthly:"Havi",Weekly:"Heti",Daily:"Napi",adjectiveMonthly:"Havi",adjectiveWeekly:"Heti",adjectiveDaily:"Napi",newDailyLimit:"Új napi limit",newWeeklyLimit:"Új heti limit",newMonthlyLimit:"Új havi limit",None:" ",noPeriod:".",per:"per",noLimitText:"Nincs limit beállítva",lugasPrivacy:"A szolgáltatóközi LUGAS-limit a szolgáltatók számára nem látható.",limitType:"Limit típus",period:"Időszak",amount:"Összeg",minutes:" perc",new:"Új",limit:"limit",setLimit:"Limit beállítása",loss:"Veszteség limit",lossAll:"Veszteség - Összes limit",lossCasino:"Veszteség - Kaszinó limit",lossSports:"Veszteség - Sport limit",deposit:"Befizetési limit",depositAll:"Befizetés - Összes limit",depositCasino:"Befizetés - Kaszinó limit",depositSports:"Befizetés - Sport limit",wager:"Fogadási limit",wagerAll:"Fogadás - Összes limit",wagerCasino:"Fogadás - Kaszinó limit",wagerSports:"Fogadás - Sport limit",stake:"Fogadási limit",stakeAll:"Tét - Összes limit",stakeCasino:"Tét - Kaszinó limit",stakeSports:"Tét - Sport limit",lugas:"Aktuális befizetési limit",sessionLimit:"Munkamenet időkorlátja",sessionLimitUpdated:"A munkamenet időkorlátját frissítettük.",cumulativeSession:"Időszakos időkorlát",removeLimit:"Limit törlése",popupPendingUpdate:"Limit módosítási kérésed megkaptuk. Kérjük, vedd figyelembe, hogy a frissítés csak ekkor lép életbe: ",popupImmediateUpdate:"Az új {selectedLimit}: {updatedAmount} {selectedPeriod}",popupLimitRemoved:"A limit eltávolítva.",popupTitle:" ",popupSuccess:"Limitbeállításaidat sikeresen elmentettük.",popupError:"Hiba történt.",kycNotNeeded:"A befizetési limitet sikeresen beállítottuk. Limitjeid bármikor módosíthatod a fiókbeállításokban.",kycNeeded1:"Havi befizetési limitre a következő összeg került beállításra:",kycNeeded2:". Ahhoz, hogy a limitet a kért összegre emeljük, kérjük, dokumentumok feltöltésével add meg a szükséges információkat.",uploadDocumentsButton:"DOKUMENTUMOK FELTÖLTÉSE",closeButton:"BEZÁR",invalidInputMessageLimitMin:"A megadott értéknek nagyobbnak kell lennie, mint {minValue} {currency}.",invalidInputMessageLimitMax:"A megadott értéknek kisebbnek kell lennie, mint {maxValue} {currency}.",invalidInputMessage:"Kérjük, adjon meg egy érvényes számot.",unableToUpdatePendingRequest:"Nem tudtuk frissíteni a limited, mert egy másik frissítés már folyamatban van. Kérjük, próbáld meg újra, miután az aktuális frissítés beállításra került.",docsRequired:"A dokumentumok feltöltése kötelező.",okButton:"Rendben",seconds:"másodpercek",updateText:"alkalmazva lesz",updateAfterConfirm:"jóváhagyás után kerül alkalmazásra",acknowledgedLimit:"A limit frissítése megerősítve, és ~1 percen belül alkalmazásra kerül",removedLimitText:"A limit eltávolításra kerül",removeAfterConfirm:"A limit jóváhagyás után kerül eltávolításra",confirmUpdateLimit:"MEGERŐSÍTÉS",cancelUpdateLimit:"MÉGSE",reloadLimitsButton:"FRISSÍTÉS",popupUpdateLimit:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",popupUpdateLimitException:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",popupRemoveLimitException:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",sessionExpiredException:"A munkamenet lejárt","dataLayer-sports":"Sportfogadás","dataLayer-casino":"Kaszinó","dataLayer-all":"Minden","dataLayer-wager":"Fogadási limit","dataLayer-loss":"Veszteség limit","dataLayer-deposit":"Befizetési limit","dataLayer-daily":"Napi","dataLayer-weekly":"Heti","dataLayer-monthly":"Havi",netdepositAll:"Nettó befizetési limit",uploadDocumentHeader:"Támogató dokumentum feltöltése",uploadButtonText:"Kattintson ide a feltöltéshez",documentUploadTitle:"Dokumentum feltöltése",uploadDocumentContent:'<p>Húzza ide és dobja le <label class="labelText" for="files">Böngészés</label></br>JPG/PEG, PNG vagy PDF fájlok legfeljebb 50 MB-ig</p>',uploadHistory:"Feltöltési előzmények:",noFileUploaded:"Nincs feltöltött fájl",submitButton:"Beküldés",fileExtenssionDeny:"A fájl kiterjesztése nem érvényes",fileSizeExceeded:"A fájl mérete meghaladta a maximális méretet",uploadSuccess:"A fájl sikeresen feltöltve",errorUploadDocument:"Hiba történt a feltöltési funkcióval",filesUploadError:"A feltöltött fájlok vagy meghaladták a megengedett méretet, vagy nem felelnek meg az engedélyezett kiterjesztések típusainak.",limitInDocReview:"Nem frissítheti a korlátot, ha az függőben van.",scheduleNotFoundException:"Az ütemezés nem létezik",genericLimitsPopupError:"Váratlan hiba történt. Kérjük, próbálja meg újra",limitNotificationFail:"Hiba történt a fiókkorlátok beállítása során. Próbálja újra később.",companyLimitsInfoText:"Az aktív befizetési limiteid és a fizetési előzményeid alapján a jelenlegi maximális befizethető összeg:"},de:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",newDailyLimit:"Neues Tageslimit",newWeeklyLimit:"Neues Wochenlimit",newMonthlyLimit:"Neues Monatslimit",adjectiveMonthly:"Monatlich",adjectiveWeekly:"Wöchentlich",adjectiveDaily:"Täglich",None:"",noPeriod:".",per:"pro",noLimitText:"Derzeit ist kein Limit gesetzt.",lugasPrivacy:"Das anbieterübergreifende LUGAS-Limit ist für Anbieter nicht einsehbar.",limitType:"Limitart",period:"Zeitraum",amount:"Betrag",minutes:"minute",loss:"Verlustlimit",lossAll:"Verlust - Gesamtes Limit",lossCasino:"Verlust - Casino-Limit",lossSports:"Verlust - Sport-Limit",deposit:"Einzahlungslimit",depositAll:"Einzahlung - Gesamtes Limit",depositCasino:"Einzahlung - Casino-Limit",depositSports:"Einzahlung - Sport-Limit",wager:"Wettlimit",wagerAll:"Wette - Gesamtes Limit",wagerCasino:"Wette - Casino-Limit",wagerSports:"Wette - Sport-Limit",stake:"Einsatzlimit",stakeAll:"Einsatz - Gesamtes Limit",stakeCasino:"Einsatz - Casino-Limit",stakeSports:"Einsatz - Sport-Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",lugas:"Aktuelles Einzahlungslimit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ENTFERNEN",setLimit:"Neues Limit setzen",popupError:"Es ist ein Fehler aufgetreten.",popupPendingUpdate:"Wir haben die Anfrage zur Änderung des Limits erhalten. Bitte beachten Sie, dass die Änderung erst in Kraft tritt am",popupImmediateUpdate:"Ihre neues Limit {selectedLimit} beträgt {updatedAmount} {selectedPeriod}",popupLimitRemoved:"Ihr Limit wurde entfernt.",popupTitle:"Limit geändert!",popupSuccess:"Erfolgreich",popup3:`Vielen Dank!
4
4
  Wir haben Ihr gewünschtes Limit an Lugas übermittelt.