@everymatrix/player-account-gaming-limits-wrapper-2 1.76.1 → 1.76.4

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 (26) hide show
  1. package/components/{PlayerAccountGamingLimitsHistory2-fnp_hf0j.js → PlayerAccountGamingLimitsHistory2-BNsAmZYN.js} +846 -825
  2. package/components/PlayerAccountGamingLimitsHistory2-BsSmOM97.cjs +18 -0
  3. package/components/{PlayerAccountGamingLimitsHistory2-IzKR8ALi.js → PlayerAccountGamingLimitsHistory2-Cpa0GVk9.js} +1016 -995
  4. package/components/{PlayerAccountGamingLimitsPage2Gm16-D4pvr8N5.js → PlayerAccountGamingLimitsPage2Gm16-C4T6vq9t.js} +103 -103
  5. package/components/{PlayerAccountGamingLimitsPage2Gm16-aHkv3ygc.js → PlayerAccountGamingLimitsPage2Gm16-CPCTdyDi.js} +101 -101
  6. package/components/{PlayerAccountGamingLimitsPage2Gm16-ozN-hSEa.cjs → PlayerAccountGamingLimitsPage2Gm16-CvUb_cTs.cjs} +2 -2
  7. package/components/{PlayerAccountGamingLimitsWrapper2-hD9hsZpZ.js → PlayerAccountGamingLimitsWrapper2-BKi_F80L.js} +37 -37
  8. package/components/{PlayerAccountGamingLimitsWrapper2-WFjyGh07.cjs → PlayerAccountGamingLimitsWrapper2-DPejbZI6.cjs} +1 -1
  9. package/components/{PlayerAccountGamingLimitsWrapper2-JzMDaavy.js → PlayerAccountGamingLimitsWrapper2-DnlAm1wo.js} +45 -45
  10. package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
  11. package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
  12. package/esnext/player-account-gaming-limits-wrapper-2.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-b2193545-BeKKnKhR.js +519 -0
  15. package/stencil/index-b2193545-HC0t7mHa.js +503 -0
  16. package/stencil/index-b2193545-YW9b062G.cjs +1 -0
  17. package/stencil/{ui-skeleton-BPqjm-YB.cjs → ui-skeleton-BL4789dS.cjs} +1 -1
  18. package/stencil/{ui-skeleton-CWuMYFGQ.js → ui-skeleton-Ca5rz3Hv.js} +2 -2
  19. package/stencil/{ui-skeleton-ae35c6f2-CW3z59Qf.js → ui-skeleton-ae35c6f2-BDBUiN3S.js} +1 -1
  20. package/stencil/{ui-skeleton-ae35c6f2-DlexSQlT.js → ui-skeleton-ae35c6f2-Cn0ZM_hs.js} +1 -1
  21. package/stencil/{ui-skeleton-ae35c6f2-CKJgMm_5.cjs → ui-skeleton-ae35c6f2-xLf3HyeB.cjs} +1 -1
  22. package/stencil/{ui-skeleton-NZtdK490.js → ui-skeleton-hI4GeaLk.js} +2 -2
  23. package/components/PlayerAccountGamingLimitsHistory2-CJC7ow27.cjs +0 -18
  24. package/stencil/index-b2193545-BtPvM93e.js +0 -519
  25. package/stencil/index-b2193545-CgelUAhE.cjs +0 -1
  26. package/stencil/index-b2193545-D_KBbaD-.js +0 -503
@@ -1,4 +1,4 @@
1
- "use strict";var li=Object.defineProperty;var Fe=Object.getOwnPropertySymbols;var di=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable;var qe=(o,t,i)=>t in o?li(o,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[t]=i,we=(o,t)=>{for(var i in t||(t={}))di.call(t,i)&&qe(o,i,t[i]);if(Fe)for(var i of Fe(t))ui.call(t,i)&&qe(o,i,t[i]);return o};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimitsHistory2-CJC7ow27.cjs");require("../stencil/ui-skeleton-BPqjm-YB.cjs");const R={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 Ge(o,t){e.addMessages(o,t)}function pi(o){e.$locale.set(o)}const le={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",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}",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 li=Object.defineProperty;var Fe=Object.getOwnPropertySymbols;var di=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable;var qe=(o,t,i)=>t in o?li(o,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[t]=i,we=(o,t)=>{for(var i in t||(t={}))di.call(t,i)&&qe(o,i,t[i]);if(Fe)for(var i of Fe(t))ui.call(t,i)&&qe(o,i,t[i]);return o};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimitsHistory2-BsSmOM97.cjs");require("../stencil/ui-skeleton-BL4789dS.cjs");const R={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 Ge(o,t){e.addMessages(o,t)}function pi(o){e.$locale.set(o)}const le={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",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}",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 pendning.",scheduleNotFoundException:"Schedule does not exist",genericLimitsPopupError:"An unexpected error has occurred. Please try again"},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}",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"},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}",popupTitle:"Limit geändert!",popupSuccess:"Erfolgreich",popup3:`Vielen Dank!
4
4
  Wir haben Ihr gewünschtes Limit an Lugas übermittelt.
@@ -32,4 +32,4 @@
32
32
  S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`),e.attr(n,"d",`M35.707,16.293c-0.391-0.391-1.023-0.391-1.414,0L26,24.586l-8.293-8.293c-0.391-0.391-1.023-0.391-1.414,0
33
33
  s-0.391,1.023,0,1.414L24.586,26l-8.293,8.293c-0.391,0.391-0.391,1.023,0,1.414C16.488,35.902,16.744,36,17,36
34
34
  s0.512-0.098,0.707-0.293L26,27.414l8.293,8.293C34.488,35.902,34.744,36,35,36s0.512-0.098,0.707-0.293
35
- c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`),e.attr(t,"version","1.1"),e.attr(t,"id","Capa_1"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),e.attr(t,"x","0px"),e.attr(t,"y","0px"),e.attr(t,"viewBox","0 0 52 52"),e.set_style(t,"enable-background","new 0 0 52 52"),e.attr(t,"xml:space","preserve")},m(U,T){e.insert(U,t,T),e.append(t,i),e.append(i,a),e.append(i,n),e.append(t,l),e.append(t,r),e.append(t,p),e.append(t,m),e.append(t,u),e.append(t,f),e.append(t,h),e.append(t,D),e.append(t,k),e.append(t,A),e.append(t,W),e.append(t,F),e.append(t,C),e.append(t,x),e.append(t,V)},d(U){U&&e.detach(t)}}}function ki(o){let t,i=o[28]("popupSuccess")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("popupSuccess")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function bi(o){let t,i=o[28]("docsRequired")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("docsRequired")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function wi(o){let t,i=o[28]("popupError")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("popupError")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function _i(o){let t,i=o[28]("okButton")+"",a,n,l;return{c(){t=e.element("button"),a=e.text(i),e.attr(t,"class","ConfirmButton")},m(r,p){e.insert(r,t,p),e.append(t,a),n||(l=e.listen(t,"click",o[41]),n=!0)},p(r,p){p[0]&268435456&&i!==(i=r[28]("okButton")+"")&&e.set_data(a,i)},d(r){r&&e.detach(t),n=!1,l()}}}function Si(o){let t,i=o[28]("uploadDocumentsButton")+"",a,n,l=o[28]("closeButton")+"",r,p,m;return{c(){t=e.element("button"),a=e.space(),n=e.element("button"),r=e.text(l),e.attr(t,"class","ConfirmButton"),e.attr(n,"class","CloseButton")},m(u,f){e.insert(u,t,f),t.innerHTML=i,e.insert(u,a,f),e.insert(u,n,f),e.append(n,r),p||(m=[e.listen(t,"click",o[42]),e.listen(n,"click",o[41])],p=!0)},p(u,f){f[0]&268435456&&i!==(i=u[28]("uploadDocumentsButton")+"")&&(t.innerHTML=i),f[0]&268435456&&l!==(l=u[28]("closeButton")+"")&&e.set_data(r,l)},d(u){u&&(e.detach(t),e.detach(a),e.detach(n)),p=!1,e.run_all(m)}}}function Ai(o){let t,i=o[28]("noFileUploaded")+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","historyItem")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("noFileUploaded")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Di(o){let t,i=e.ensure_array_like(Array.from(o[24])),a=[];for(let n=0;n<i.length;n+=1)a[n]=Qe(Ze(o,i,n));return{c(){for(let n=0;n<a.length;n+=1)a[n].c();t=e.empty()},m(n,l){for(let r=0;r<a.length;r+=1)a[r]&&a[r].m(n,l);e.insert(n,t,l)},p(n,l){if(l[0]&16777216){i=e.ensure_array_like(Array.from(n[24]));let r;for(r=0;r<i.length;r+=1){const p=Ze(n,i,r);a[r]?a[r].p(p,l):(a[r]=Qe(p),a[r].c(),a[r].m(t.parentNode,t))}for(;r<a.length;r+=1)a[r].d(1);a.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(a,n)}}}function Qe(o){let t,i=o[147].name+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","historyItem")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&16777216&&i!==(i=n[147].name+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function $e(o){let t,i=o[28]("filesUploadError")+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","filesError")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("filesUploadError")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Pi(o){let t,i,a,n,l,r,p,m,u,f,h=o[14]?`${o[28]("amount")}`:`${o[28](`new${o[8]}Limit`)}`,D,k,A,W,F,C,x=o[28]("setLimit")+"",V,U,T,P,E=e.ensure_array_like(o[6]),S=[];for(let v=0;v<E.length;v+=1)S[v]=nt(Ye(o,E,v));let y=o[1]==="true"&&st(o),b=o[13]&&rt(o),w=o[14]&&dt(o),_=o[23]&&pt(o);return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div");for(let v=0;v<S.length;v+=1)S[v].c();n=e.space(),l=e.element("form"),y&&y.c(),r=e.space(),b&&b.c(),p=e.space(),w&&w.c(),m=e.space(),u=e.element("label"),f=e.element("span"),D=e.text(h),k=e.space(),A=e.element("input"),W=e.space(),_&&_.c(),F=e.space(),C=e.element("button"),V=e.text(x),e.attr(a,"class","LimitsList "+(o[29]?"Desktop":"")),e.attr(f,"class","LimitInputText"),e.attr(A,"type","number"),e.attr(A,"pattern","[0-9]*"),e.attr(u,"class","LimitAmountInputWrapper"),e.attr(C,"class","LimitSubmitButton"),e.attr(C,"type","submit"),C.disabled=o[23],e.attr(l,"class","LimitsInteractionArea "+(o[29]?"Desktop":"")),e.attr(i,"class","LimitsPageContainer"),e.attr(t,"class",U="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+o[3]))},m(v,N){e.insert(v,t,N),e.append(t,i),e.append(i,a);for(let B=0;B<S.length;B+=1)S[B]&&S[B].m(a,null);e.append(i,n),e.append(i,l),y&&y.m(l,null),e.append(l,r),b&&b.m(l,null),e.append(l,p),w&&w.m(l,null),e.append(l,m),e.append(l,u),e.append(u,f),e.append(f,D),e.append(u,k),e.append(u,A),e.set_input_value(A,o[10]),e.append(u,W),_&&_.m(u,null),e.append(l,F),e.append(l,C),e.append(C,V),T||(P=[e.listen(A,"input",o[69]),e.listen(A,"input",o[33]),e.listen(l,"submit",o[34])],T=!0)},p(v,N){if(N[0]&939524164|N[1]&994){E=e.ensure_array_like(v[6]);let B;for(B=0;B<E.length;B+=1){const j=Ye(v,E,B);S[B]?S[B].p(j,N):(S[B]=nt(j),S[B].c(),S[B].m(a,null))}for(;B<S.length;B+=1)S[B].d(1);S.length=E.length}v[1]==="true"?y?y.p(v,N):(y=st(v),y.c(),y.m(l,r)):y&&(y.d(1),y=null),v[13]?b?b.p(v,N):(b=rt(v),b.c(),b.m(l,p)):b&&(b.d(1),b=null),v[14]?w?w.p(v,N):(w=dt(v),w.c(),w.m(l,m)):w&&(w.d(1),w=null),N[0]&268452096&&h!==(h=v[14]?`${v[28]("amount")}`:`${v[28](`new${v[8]}Limit`)}`)&&e.set_data(D,h),N[0]&1024&&e.to_number(A.value)!==v[10]&&e.set_input_value(A,v[10]),v[23]?_?_.p(v,N):(_=pt(v),_.c(),_.m(u,null)):_&&(_.d(1),_=null),N[0]&268435456&&x!==(x=v[28]("setLimit")+"")&&e.set_data(V,x),N[0]&8388608&&(C.disabled=v[23]),N[0]&8&&U!==(U="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+v[3]))&&e.attr(t,"class",U)},d(v){v&&e.detach(t),e.destroy_each(S,v),y&&y.d(),b&&b.d(),w&&w.d(),_&&_.d(),T=!1,e.run_all(P)}}}function zi(o){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(i,a){e.insert(i,t,a)},p:e.noop,d(i){i&&e.detach(t)}}}function Ci(o){let t,i,a,n,l,r,p=e.ensure_array_like(Array(3)),m=[];for(let u=0;u<p.length;u+=1)m[u]=Wi(ci(o,p,u));return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),a.innerHTML='<ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton>',n=e.space();for(let u=0;u<m.length;u+=1)m[u].c();l=e.space(),r=e.element("div"),r.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',e.attr(a,"class","skeletonLimitText"),e.attr(i,"class","skeletonLimitWrapper"),e.attr(r,"class","skeletonInputWrapper"),e.attr(t,"class","skeletonLimitContainer")},m(u,f){e.insert(u,t,f),e.append(t,i),e.append(i,a),e.append(i,n);for(let h=0;h<m.length;h+=1)m[h]&&m[h].m(i,null);e.append(t,l),e.append(t,r)},p:e.noop,d(u){u&&e.detach(t),e.destroy_each(m,u)}}}function xi(o){let t,i,a,n=o[28]("noLimitText")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("noLimitText")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function ji(o){let t,i,a,n=o[28]("lugasPrivacy")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("lugasPrivacy")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function Ei(o){let t,i=e.ensure_array_like(o[139].currentLimits),a=[];for(let n=0;n<i.length;n+=1)a[n]=ot(Je(o,i,n));return{c(){for(let n=0;n<a.length;n+=1)a[n].c();t=e.empty()},m(n,l){for(let r=0;r<a.length;r+=1)a[r]&&a[r].m(n,l);e.insert(n,t,l)},p(n,l){if(l[0]&939524164|l[1]&738){i=e.ensure_array_like(n[139].currentLimits);let r;for(r=0;r<i.length;r+=1){const p=Je(n,i,r);a[r]?a[r].p(p,l):(a[r]=ot(p),a[r].c(),a[r].m(t.parentNode,t))}for(;r<a.length;r+=1)a[r].d(1);a.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(a,n)}}}function Ti(o){let t,i,a,n=o[28]("lugasPrivacy")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("lugasPrivacy")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function Mi(o){let t,i=`${o[40](o[144])}`,a;return{c(){t=e.element("span"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=`${n[40](n[144])}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ui(o){let t,i=`${o[40](o[144],!0)}`,a;return{c(){t=e.element("span"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=`${n[40](n[144],!0)}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function et(o){let t,i,a=`${o[40](o[144],!1,!0)}`,n,l,r=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateAfterDocApproval")}`,p;return{c(){t=e.element("div"),i=e.element("span"),n=e.text(a),l=e.space(),p=e.text(r),e.attr(t,"class","PendingLimit")},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,p)},p(m,u){u[0]&64&&a!==(a=`${m[40](m[144],!1,!0)}`)&&e.set_data(n,a),u[0]&268435520&&r!==(r=`${m[144].period!=="None"||m[144].value!=="cumulativeSession"?" ":m[28]("per")} ${m[28](`${m[144].period}`)} ${m[28]("updateAfterDocApproval")}`)&&e.set_data(p,r)},d(m){m&&e.detach(t)}}}function Ni(o){let t,i,a=`${o[40](o[144],!0)}`,n,l;function r(u,f){return u[144].isCoolOffCompleted?Vi:Oi}let p=r(o),m=p(o);return{c(){t=e.element("div"),i=e.element("span"),n=e.text(a),l=e.space(),m.c(),e.attr(t,"class","PendingLimit")},m(u,f){e.insert(u,t,f),e.append(t,i),e.append(i,n),e.append(t,l),m.m(t,null)},p(u,f){f[0]&64&&a!==(a=`${u[40](u[144],!0)}`)&&e.set_data(n,a),p===(p=r(u))&&m?m.p(u,f):(m.d(1),m=p(u),m&&(m.c(),m.m(t,null)))},d(u){u&&e.detach(t),m.d()}}}function Ii(o){let t,i=`${o[28]("removedLimitText")} ${o[144].expiryDate}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435520&&i!==(i=`${n[28]("removedLimitText")} ${n[144].expiryDate}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Bi(o){let t,i=`${o[28]("removeAfterConfirm")}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=`${n[28]("removeAfterConfirm")}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ri(o){let t,i=`${o[28]("acknowledgedLimit")}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=`${n[28]("acknowledgedLimit")}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Oi(o){let t=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateText")} ${o[144].expiryDate}`,i;return{c(){i=e.text(t)},m(a,n){e.insert(a,i,n)},p(a,n){n[0]&268435520&&t!==(t=`${a[144].period!=="None"||a[144].value!=="cumulativeSession"?" ":a[28]("per")} ${a[28](`${a[144].period}`)} ${a[28]("updateText")} ${a[144].expiryDate}`)&&e.set_data(i,t)},d(a){a&&e.detach(i)}}}function Vi(o){let t=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateAfterConfirm")}`,i;return{c(){i=e.text(t)},m(a,n){e.insert(a,i,n)},p(a,n){n[0]&268435520&&t!==(t=`${a[144].period!=="None"||a[144].value!=="cumulativeSession"?" ":a[28]("per")} ${a[28](`${a[144].period}`)} ${a[28]("updateAfterConfirm")}`)&&e.set_data(i,t)},d(a){a&&e.detach(i)}}}function tt(o){let t,i,a=o[27][o[144].scheduleId].timer+"",n,l,r,p;return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),e.attr(i,"class",l="ReloadLimitButton "+(o[29]?"":"Mobile")+" "+(o[27][o[144].scheduleId].timerStopped?"":"disabled")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),r||(p=e.listen(i,"click",o[62]),r=!0)},p(m,u){u[0]&134217792&&a!==(a=m[27][m[144].scheduleId].timer+"")&&e.set_data(n,a),u[0]&134217792&&l!==(l="ReloadLimitButton "+(m[29]?"":"Mobile")+" "+(m[27][m[144].scheduleId].timerStopped?"":"disabled"))&&e.attr(i,"class",l)},d(m){m&&e.detach(t),r=!1,p()}}}function it(o){let t,i,a=o[28]("removeLimit")+"",n,l,r;function p(){return o[63](o[144])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),e.attr(i,"class","RemoveLimitButton "+(o[29]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),l||(r=e.listen(i,"click",p),l=!0)},p(m,u){o=m,u[0]&268435456&&a!==(a=o[28]("removeLimit")+"")&&e.set_data(n,a)},d(m){m&&e.detach(t),l=!1,r()}}}function at(o){let t,i,a=o[28]("confirmUpdateLimit")+"",n,l,r,p=o[28]("cancelUpdateLimit")+"",m,u,f;function h(){return o[64](o[144])}function D(){return o[65](o[144])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),l=e.space(),r=e.element("button"),m=e.text(p),e.attr(i,"class","ConfirmLimitButton "+(o[29]?"":"Mobile")),e.attr(r,"class","CancelLimitButton "+(o[29]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(k,A){e.insert(k,t,A),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r),e.append(r,m),u||(f=[e.listen(i,"click",h),e.listen(r,"click",D)],u=!0)},p(k,A){o=k,A[0]&268435456&&a!==(a=o[28]("confirmUpdateLimit")+"")&&e.set_data(n,a),A[0]&268435456&&p!==(p=o[28]("cancelUpdateLimit")+"")&&e.set_data(m,p)},d(k){k&&e.detach(t),u=!1,e.run_all(f)}}}function ot(o){let t,i,a,n,l,r=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)}`,p,m,u,f,h,D=!o[144].isModified&&o[2].indexOf(o[139].value)>-1&&!o[144].reviewPending.id,k,A;function W(y,b){return y[144].acknowledgedLimit?Ui:Mi}let F=W(o),C=F(o),x=o[144].reviewPending&&o[144].reviewPending.id&&et(o);function V(y,b){if(y[144].acknowledgedLimit)return Ri;if(y[144].isModified&&y[144].updateAmount==0&&y[144].isCoolOffCompleted)return Bi;if(y[144].isModified&&y[144].updateAmount==0&&!y[144].isCoolOffCompleted)return Ii;if(y[144].isModified)return Ni}let U=V(o),T=U&&U(o),P=o[144].acknowledgedLimit&&!o[144].reviewPending.id&&tt(o),E=D&&it(o),S=o[144].isCoolOffCompleted&!o[144].acknowledgedLimit&&!o[144].reviewPending.id&&at(o);return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),n=e.element("div"),C.c(),l=e.space(),p=e.text(r),m=e.space(),x&&x.c(),u=e.space(),T&&T.c(),f=e.space(),P&&P.c(),h=e.space(),E&&E.c(),k=e.space(),S&&S.c(),A=e.space(),e.attr(n,"class","CurrentLimit"),e.attr(a,"class","CurrentLimitContainer"),e.attr(i,"class","LimitDetailsTextWrapper"),e.attr(t,"class","LimitDetails")},m(y,b){e.insert(y,t,b),e.append(t,i),e.append(i,a),e.append(a,n),C.m(n,null),e.append(n,l),e.append(n,p),e.append(a,m),x&&x.m(a,null),e.append(a,u),T&&T.m(a,null),e.append(i,f),P&&P.m(i,null),e.append(i,h),E&&E.m(i,null),e.append(i,k),S&&S.m(i,null),e.append(t,A)},p(y,b){F===(F=W(y))&&C?C.p(y,b):(C.d(1),C=F(y),C&&(C.c(),C.m(n,l))),b[0]&268435520&&r!==(r=`${y[144].period!=="None"||y[144].value!=="cumulativeSession"?" ":y[28]("per")} ${y[28](`${y[144].period}`)}`)&&e.set_data(p,r),y[144].reviewPending&&y[144].reviewPending.id?x?x.p(y,b):(x=et(y),x.c(),x.m(a,u)):x&&(x.d(1),x=null),U===(U=V(y))&&T?T.p(y,b):(T&&T.d(1),T=U&&U(y),T&&(T.c(),T.m(a,null))),y[144].acknowledgedLimit&&!y[144].reviewPending.id?P?P.p(y,b):(P=tt(y),P.c(),P.m(i,h)):P&&(P.d(1),P=null),b[0]&68&&(D=!y[144].isModified&&y[2].indexOf(y[139].value)>-1&&!y[144].reviewPending.id),D?E?E.p(y,b):(E=it(y),E.c(),E.m(i,k)):E&&(E.d(1),E=null),y[144].isCoolOffCompleted&!y[144].acknowledgedLimit&&!y[144].reviewPending.id?S?S.p(y,b):(S=at(y),S.c(),S.m(i,null)):S&&(S.d(1),S=null)},d(y){y&&e.detach(t),C.d(),x&&x.d(),T&&T.d(),P&&P.d(),E&&E.d(),S&&S.d()}}}function nt(o){let t,i,a=o[39](o[139])+"",n,l,r;function p(f,h){var D;return f[139].value==="lugas"?Ti:((D=f[139].currentLimits)==null?void 0:D.length)>0?Ei:f[139].value==="lugas"?ji:xi}let m=p(o),u=m(o);return{c(){t=e.element("div"),i=e.element("p"),n=e.text(a),l=e.space(),u.c(),r=e.space(),e.attr(i,"class","LimitTitle"),e.attr(t,"class","LimitWrapper "+(o[29]?"Desktop":""))},m(f,h){e.insert(f,t,h),e.append(t,i),e.append(i,n),e.append(t,l),u.m(t,null),e.append(t,r)},p(f,h){h[0]&64&&a!==(a=f[39](f[139])+"")&&e.set_data(n,a),m===(m=p(f))&&u?u.p(f,h):(u.d(1),u=m(f),u&&(u.c(),u.m(t,r)))},d(f){f&&e.detach(t),u.d()}}}function st(o){let t,i,a=o[28]("complianceText")+"",n;return{c(){t=e.element("div"),i=e.element("p"),n=e.text(a),e.attr(i,"class","LimitComplianceText"),e.attr(t,"class","LimitCompliance")},m(l,r){e.insert(l,t,r),e.append(t,i),e.append(i,n)},p(l,r){r[0]&268435456&&a!==(a=l[28]("complianceText")+"")&&e.set_data(n,a)},d(l){l&&e.detach(t)}}}function rt(o){let t,i,a=o[28]("limitType")+"",n,l,r,p,m,u=e.ensure_array_like(o[6]),f=[];for(let h=0;h<u.length;h+=1)f[h]=lt(Ke(o,u,h));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(a),l=e.space(),r=e.element("select");for(let h=0;h<f.length;h+=1)f[h].c();e.attr(i,"class","LimitSelectText"),e.attr(r,"name",""),e.attr(r,"id",""),o[9]===void 0&&e.add_render_callback(()=>o[66].call(r)),e.attr(t,"class","LimitTypeDropdownWrapper")},m(h,D){e.insert(h,t,D),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(r,null);e.select_option(r,o[9],!0),p||(m=[e.listen(r,"change",o[66]),e.listen(r,"change",o[67])],p=!0)},p(h,D){if(D[0]&268435456&&a!==(a=h[28]("limitType")+"")&&e.set_data(n,a),D[0]&64|D[1]&256){u=e.ensure_array_like(h[6]);let k;for(k=0;k<u.length;k+=1){const A=Ke(h,u,k);f[k]?f[k].p(A,D):(f[k]=lt(A),f[k].c(),f[k].m(r,null))}for(;k<f.length;k+=1)f[k].d(1);f.length=u.length}D[0]&512&&e.select_option(r,h[9])},d(h){h&&e.detach(t),e.destroy_each(f,h),p=!1,e.run_all(m)}}}function lt(o){let t,i=o[39](o[139])+"",a;return{c(){t=e.element("option"),a=e.text(i),t.__value=o[141],e.set_input_value(t,t.__value)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=n[39](n[139])+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function dt(o){let t,i,a=o[28]("period")+"",n,l,r,p,m,u=e.ensure_array_like(o[5][o[7]].periods),f=[];for(let h=0;h<u.length;h+=1)f[h]=ut(He(o,u,h));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(a),l=e.space(),r=e.element("select");for(let h=0;h<f.length;h+=1)f[h].c();e.attr(i,"class","PeriodSelectText"),e.attr(r,"name",""),e.attr(r,"id",""),o[8]===void 0&&e.add_render_callback(()=>o[68].call(r)),e.attr(t,"class","LimitPeriodDropdownWrapper")},m(h,D){e.insert(h,t,D),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(r,null);e.select_option(r,o[8],!0),p||(m=e.listen(r,"change",o[68]),p=!0)},p(h,D){if(D[0]&268435456&&a!==(a=h[28]("period")+"")&&e.set_data(n,a),D[0]&268435616){u=e.ensure_array_like(h[5][h[7]].periods);let k;for(k=0;k<u.length;k+=1){const A=He(h,u,k);f[k]?f[k].p(A,D):(f[k]=ut(A),f[k].c(),f[k].m(r,null))}for(;k<f.length;k+=1)f[k].d(1);f.length=u.length}D[0]&416&&e.select_option(r,h[8])},d(h){h&&e.detach(t),e.destroy_each(f,h),p=!1,m()}}}function ut(o){let t,i=o[28](o[136])+"",a,n;return{c(){t=e.element("option"),a=e.text(i),t.__value=n=o[136],e.set_input_value(t,t.__value),t.selected=!0},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&268435616&&i!==(i=l[28](l[136])+"")&&e.set_data(a,i),r[0]&160&&n!==(n=l[136])&&(t.__value=n,e.set_input_value(t,t.__value))},d(l){l&&e.detach(t)}}}function pt(o){let t,i=o[10]===null?`${o[28]("invalidInputMessage")}`:o[10]<o[11]?`${o[28]("invalidInputMessageLimitMin",{values:{minValue:o[11],currency:o[0]}})}`:`${o[28]("invalidInputMessageLimitMax",{values:{maxValue:o[12],currency:o[0]}})}`,a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","InvalidInput")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268442625&&i!==(i=n[10]===null?`${n[28]("invalidInputMessage")}`:n[10]<n[11]?`${n[28]("invalidInputMessageLimitMin",{values:{minValue:n[11],currency:n[0]}})}`:`${n[28]("invalidInputMessageLimitMax",{values:{maxValue:n[12],currency:n[0]}})}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Wi(o){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ',e.attr(t,"class","skeletonLimitContent")},m(i,a){e.insert(i,t,a)},p:e.noop,d(i){i&&e.detach(t)}}}function Fi(o){let t,i,a=o[18]&&Xe(o);function n(p,m){if(p[15])return Ci;if(p[16])return zi;if(!p[15])return Pi}let l=n(o),r=l&&l(o);return{c(){t=e.element("div"),a&&a.c(),i=e.space(),r&&r.c()},m(p,m){e.insert(p,t,m),a&&a.m(t,null),e.append(t,i),r&&r.m(t,null),o[70](t)},p(p,m){p[18]?a?a.p(p,m):(a=Xe(p),a.c(),a.m(t,i)):a&&(a.d(1),a=null),l===(l=n(p))&&r?r.p(p,m):(r&&r.d(1),r=l&&l(p),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),a&&a.d(),r&&r.d(),o[70](null)}}}function qi(o,t,i){let a;e.component_subscribe(o,e.$format,s=>i(28,a=s));let{lang:n="en"}=t,{currency:l=""}=t,{limits:r=""}=t,{session:p=""}=t,{userid:m=""}=t,{endpoint:u=""}=t,{apiversion:f=""}=t,{customcurrencysymbols:h=""}=t,{enablecompliancetext:D=""}=t,{deletelimit:k=""}=t,{amountsconfig:A=""}=t,{periodsconfig:W=""}=t,{limittabindex:F=""}=t,{limitformat:C=""}=t,{allowedextenssion:x=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:V="12934000"}=t,{clientstyling:U=""}=t,{clientstylingurl:T=""}=t,{mbsource:P}=t,{translationurl:E=""}=t,S,y=window.navigator.userAgent,b=!e.isMobile(y),w=[],_="",v="",N="",B=0,j,ie="",ne="",de="",X={},q={},G=!1,I=!1,M=!0,J=!1,_e=!1,pe=!1,ee=!1,$="",ce="",Z=[],fe,Ce,ge=!1,ct={},se="",ue,be={remove:{},confirm:{},update:{}},re=!1,Le=!1,me={EUR:"€",RON:" lei",USD:"$"},H={};const Se={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},xe={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},ft=()=>{fetch(E).then(d=>d.json()).then(d=>{Object.keys(d).forEach(c=>{Ge(c,d[c])})}).catch(d=>{console.log(d)})};Object.keys(le).forEach(s=>{Ge(s,le[s])});const Ae=s=>`dataLayer-${s}`,K=(s,d)=>{typeof gtag=="function"&&gtag({event:s,limit_category:le[n][Ae(N.toLowerCase())]||N,limit_type:le[n][Ae(_.toLowerCase())]||_,limit_period:le[n][Ae(v.toLowerCase())]||v,limit_amount:j||d})},gt=()=>{var g;const s=A.split(",").map(L=>L.split(":")),d=W.split(",").map(L=>L.split(":"));for(let[L,z]of s.entries())if(z[0]!==d[L][0])throw new Error(`Limit config mismatch: "${z[0]}" does not match "${d[L][0]}"`);const c=s.reduce((L,z,O)=>{const Y=z[0].slice(z[0].indexOf("(")+1,z[0].indexOf(")")),oe=z[0].slice(0,z[0].indexOf("(")),ve=z[1],ke=d[O][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),ze={value:Y,product:oe,minMax:ve,periods:ke,callValue:R[Y].callValue,callValue16:R[Y].callValue16,title:R[Y].title};return L.push(ze),L},[]);for(let L=0;L<c.length;L++)i(6,w[L].product=c[L].product,w),i(6,w[L].min=parseInt(c[L].minMax.split("-")[0],10),w),i(6,w[L].max=parseInt(c[L].minMax.split("-")[1],10),w),i(5,R[c[L].value].periods=c[L].periods,R);de=(g=w[0])==null?void 0:g.value,w.forEach(L=>{X[L.value]={min:L.min,max:L.max},ct[L.value]=L.product}),X&&(X[de]?(i(11,ie=X[de].min),i(12,ne=X[de].max)):(i(11,ie=1),i(12,ne=9999999)))},Lt=()=>{const s=/\(([^)]+)\)/g;return[...A.matchAll(s)].flat().filter(c=>!c.includes("("))},ht=()=>{Lt().forEach(d=>{R[d]?w.push(we({},R[d])):console.error(`Unknown limit: ${d}`)}),gt(),i(7,_=w[0].value),i(8,v=R[_].periods[0]),N=w[0].product,i(13,G=w.length>1),i(14,I=R[_].periods.length>1)},je=()=>{i(7,_=w[B].value),i(8,v=R[_].periods[0]),i(14,I=R[_].periods.length>1)},Ee=()=>{N=w[B].product},Q=s=>{if(s.status>=300)yt(s);else return i(17,_e=!1),s.status!==204?s.json():s},yt=s=>{i(16,J=!0);let d;throw s.json().then(c=>{for(const g in xe)if(c.error&&xe[g].some(L=>c.error.includes(L))){d=g;break}console.error("errType",d),!d&&ye(c)}).finally(()=>{d&&ye(d),i(16,J=!1),i(15,M=!1)}),new Error("An error occured during the fetch request")},vt=()=>{if(!(j>0))return;ae(),i(15,M=!0);let s=new URL(`/v2/player/${m}/limits`,u),d={};_==="sessionLimit"?d={sessionLimit:j,sessionLimitUnit:"minute"}:_==="cumulativeSession"?d[R[_].callValue]=[{period:v,minutes:j}]:d[R[_].callValue]=[{period:R[_].periods[0]==="None"?null:v,amount:j,currency:l}];let c={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(d)};fetch(s.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_success"),te()}).catch(g=>{console.error(g),i(16,J=!0)})},Te=()=>{const d=w[B].currentLimits.find(oe=>oe.period===v),c=Et();if(c&&c.reviewPending&&c.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("limitInDocReview")}},window.location.href);if(ae(),i(15,M=!0),c&&c.reviewRequired&&!se&&j>c.amount){i(26,Le=!0),i(19,ee=!0);return}const g=d?"v2":"v1",L=new URL(`/${g}/player/${m}/limits/monetary/${d?d.id:""}`,u),z=d?"PUT":"POST",O=d?se?{amount:j,skipCoolOff:!1,payload:{DocumentId:se}}:{amount:j,skipCoolOff:!1}:{amount:j,currency:l,period:R[_].periods[0]==="None"?null:v,type:R[_].callValue16,products:[N!=null?N:"All"],walletTypes:["Deposit","NetDeposit"].includes(R[_].callValue16)?["All"]:["RealCash"]};let Y={method:z,headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(O)};fetch(L.href,Y).then(oe=>Q(oe)).then(oe=>{K("self_limitation_success"),te()}).catch(oe=>{console.log(oe)}).finally(()=>{i(26,Le=!1),se=""})},kt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v1/player/${m}/limits/session/`,u);let g={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:j,sessionLimitUnit:"minute"})};fetch(s.href,g).then(L=>Q(L)).then(L=>{K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},bt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v1/player/${m}/limits/session/`,u);let g={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:v,minutes:j}]})};fetch(s.href,g).then(L=>Q(L)).then(L=>{K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},wt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v2/player/${m}/limit/lugas`,u);let g={method:"POST",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:j,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};fetch(s.href,g).then(L=>Q(L)).then(L=>{i(22,fe=L.popup),L.operatorDepositLimitAmount,Ce=L.regulatorDepositLimitAmount,K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},_t=()=>{if(q={},f==="gm16")switch(_){case"lugas":wt();break;case"sessionLimit":kt();break;case"cumulativeSession":bt();break;default:Te();break}else if(f==="gmcore")vt();else throw Error(`Invalid apiversion attribute: ${f}`);K("self_limitation_request")},te=()=>{switch(f){case"gmcore":St();break;case"gm16":At();break}},St=()=>{i(15,M=!0);let s=new URL(`/v2/player/${m}/limits`,u),d={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,d).then(c=>Q(c)).then(c=>{Z=c,pe&&ye(),Me(Z),Dt(Z),i(10,j=null)}).catch(c=>{console.error("Error LimitsWidget: ",c),i(16,J=!0)}).finally(()=>{i(15,M=!1)})},At=()=>{i(15,M=!0),Z=[];let s=new URL(`/v1/player/${m}/limits/monetary`,u),d=new URL(`/v1/player/${m}/limits/session`,u),c=!1,g={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,g).then(L=>Q(L)).then(L=>{Z.push(L),f==="gm16"?Pt(L):f==="gmcore"&&Me([L]),pe&&ye(),i(10,j=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(16,J=!0)}).finally(()=>{c&&i(15,M=!1),c=!0}),fetch(d.href,g).then(L=>Q(L)).then(L=>{Z.push(L),f==="gm16"&&(zt(L),Ct(L)),pe&&ye(),i(10,j=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(16,J=!0)}).finally(()=>{c&&i(15,M=!1),c=!0})},Me=s=>{w.forEach(d=>{d.currentLimits=[];const c=Array.isArray(s[R[d.value].callValue])?s[R[d.value].callValue]:[s[R[d.value].callValue]];c.length===0||c[0]===void 0||(c.forEach((g,L)=>{var O;const z=s[R[d.value].callValue][L];d.currentLimits.push({}),d.currentLimits[L].limitType=d.value,d.currentLimits[L].amount=C?z.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.amount),d.currentLimits[L].currency=(O=me[z.currency])!=null?O:z.currency,d.currentLimits[L].period=z.period,d.currentLimits[L].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.updateAmount),d.currentLimits[L].isModified=z.isModified,d.currentLimits[L].expiryDate=`${new Date(z.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),d.currentLimits=he(d.currentLimits))})},Dt=s=>{const d=a("minutes");w.filter(c=>c.value==="sessionLimit"||c.value==="cumulativeSession").forEach(c=>{var g;c.currentLimits=[],(g=s[R[c.value].callValue])==null||g.forEach((L,z)=>{const O=s[R[c.value].callValue][z];c.currentLimits.push({limitType:c.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(O.minutes),currency:d,isModified:O.isModified,period:c.value==="cumulativeSession"?O.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(O.updateMinutes),expiryDate:`${new Date(O.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),c.currentLimits=he(c.currentLimits)})},Pt=s=>{s!=null&&s.limits&&w.forEach(d=>{var c;d.currentLimits=[];for(const g of s.limits)if(g.type===d.callValue16&&g.products.includes(d.product)){let L=0,z=g.schedules.length>0?g.schedules.find(O=>O.id):{};g.schedules.length>0&&(L=C?z.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.updateAmount)),d.currentLimits.push({limitType:d.value,amount:C?g.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(g.amount),currency:(c=me[g.currency])!=null?c:g.currency,isModified:g.schedules.length>0,period:g.period,product:g.products[0],updateAmount:L,isCoolOffCompleted:z?z.isCoolOffCompleted:!1,reviewRequired:g.reviewRequired?g.reviewRequired:!1,reviewPending:g.reviewPending?g.reviewPending:{},scheduleId:z?z.id:null,expiryDate:g.schedules.length>0?`${new Date(g.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:g.id}),d.currentLimits.forEach(O=>{O.acknowledgedLimit=Object.keys(H).some(Y=>O.scheduleId===Y)})}d.currentLimits=he(d.currentLimits)})},zt=s=>{s!=null&&s.sessionLimit&&w.filter(d=>d.value==="sessionLimit").forEach(d=>{d.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.minutes),currency:a("minutes"),isModified:s.sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.updateMinutes),expiryDate:s.sessionLimit.expiryDate}),d.currentLimits=he(d.currentLimits)})},Ct=s=>{s!=null&&s.cumulativeSessionLimits&&w.filter(d=>d.value==="cumulativeSession").forEach(d=>{for(const c of s.cumulativeSessionLimits)d.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(c.minutes),currency:a("minutes"),isModified:c.isModified,period:c.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(c.updateMinutes),expiryDate:c.expiryDate});d.currentLimits=he(d.currentLimits)})},he=s=>{const d={Daily:0,Weekly:1,Monthly:2};return s.sort((c,g)=>d[c.period]-d[g.period]),s},Ue=()=>{if(j===null||Number.isNaN(j)){i(23,ge=!0);return}const d=!Number.isInteger(j)?Math.round(j):j;i(10,j=d),i(23,ge=d<ie||d>ne)},xt=s=>{s.preventDefault(),Ue(),ge||_t()},Ne=()=>{i(23,ge=!1),X!=null&&X[_]?(i(11,ie=X[_].min),i(12,ne=X[_].max)):(i(11,ie=1),i(12,ne=9999999))},jt=()=>{if(Z){const s=Z[R[_].callValue].find(g=>g.period===v),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let c=a("popupImmediateUpdate").replace("{selectedLimit}",De(s)).replace("{updatedAmount}",d).replace("{currency}",me[s.currency]||s.currency).replace("{selectedPeriod}",a(`${v}`));i(20,$=s.isModified?`${a("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:c)}i(19,ee=!0)},Et=()=>{var c;if(!Z)return;const s=((c=Z[0])==null?void 0:c.limits)||Z.limits;let d=null;return Object.keys(q).length>0?d=s.find(g=>g.id===q.id):d=s.find(g=>g.type.toLowerCase()===Se[_].toLowerCase()&&(g.period===v||g.period==="None")&&g.products[0]===N),(d==null?void 0:d.schedules.length)>0&&H[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount),d},Tt=()=>{var z;const s=((z=Z[0])==null?void 0:z.limits)||Z.limits;let d=null;if(!Z){i(19,ee=!0);return}Object.keys(q).length>0?d=s.find(O=>O.id===q.id):d=s.find(O=>O.type.toLowerCase()===Se[_].toLowerCase()&&(O.period===v||O.period==="None")&&O.products[0]===N),(d==null?void 0:d.schedules.length)>0&&H[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount);const c=Ve(d)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(d.amount),g=d.schedules.length>0?`${new Date(d.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let L=a("popupImmediateUpdate").replace("{selectedLimit}",De(d)).replace("{updatedAmount}",c).replace("{selectedPeriod}",a(`${d.period}`));d.schedules.length>0&&H[d.schedules[0].id]?i(20,$=L):i(20,$=d.schedules.length>0?`${a("popupPendingUpdate")} ${g}`:L),i(19,ee=!0)},Mt=()=>{fe==1&&i(21,ce="PopupKyc"),fe==2&&(i(20,$=`${a("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(Ce)} ${l} ${a("popup2_b")}`),i(21,ce="PopupKyc2")),fe==3&&(i(20,$=a("popup3")),i(21,ce="PopupSuccess")),i(19,ee=!0)},Ut=()=>{i(20,$=a("sessionLimitUpdated")),i(19,ee=!0)},Nt=()=>{if(Z){const s=Z[R[_].callValue].find(g=>(g.period===v||v==="None")&&g.products[0]===N),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let c=a("popupImmediateUpdate").replace("{selectedLimit}",a(`${_}`)).replace("{updatedAmount}",d).replace("{currency}",a("minutes")).replace("{selectedPeriod}",a(`${v}`));i(20,$=s.isModified?`${a("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:c)}i(19,ee=!0)},It=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("Limit update is not permitted due to LimitUpdateControl")},Bt=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("Limit remove is not permitted due to LimitUpdateControl")},Rt=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("[NotFoundException] Limit does not exist")},Ot=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("[Exception] Schedule does not exist")},Vt=s=>{var d,c;return((d=s.details)==null?void 0:d.includes("Invalid Session"))||((c=s.error)==null?void 0:c.includes("Invalid Session"))},ye=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),J){if(i(17,_e=!0),!s){i(19,ee=!0);return}It(s)?i(20,$=a("popupUpdateLimitException")):Bt(s)?i(20,$=a("popupRemoveLimitException")):Rt(s)?i(20,$=a("notFoundException")):Ot(s)?i(20,$=a("scheduleNotFoundException")):Vt(s)?i(20,$=a("sessionExpiredException")):i(20,$=a("genericLimitsPopupError")),i(19,ee=!0);return}switch(f){case"gmcore":_==="sessionLimit"||_==="cumulativeSession"?Nt():jt();break;case"gm16":_==="lugas"?Mt():_==="sessionLimit"||_==="cumulativeSession"?Ut():Tt();break;default:throw new Error(`Invalid apiversion attribute: ${f}`)}},ae=()=>{i(18,pe=!0),window.postMessage({type:"DisableScroll"},window.location.href)},Wt=s=>{i(7,_=s.limitType),i(8,v=s.period),ae(),i(15,M=!0);let d=new URL(`/v2/player/${m}/limits/${Se[s.limitType]}`,u);s.limitType!=="sessionLimit"&&d.searchParams.append("periods",s.period);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_cancel_success",s.amount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.amount),console.log(g),i(16,J=!0)})},Ie=s=>{switch(s.period,be.remove=s,f){case"gmcore":Wt(s);break;case"gm16":q=s,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?Ft(s):Be(s);break}K("self_limitation_cancel_request",s.amount)},Ft=s=>{const d=new URL(`/v1/player/${m}/limits/session/session`,u),c=new URL(`/v1/player/${m}/limits/session/cumulativeSession?periods=${s.period}`,u);let g;switch(s.limitType){case"sessionLimit":g=d;break;case"cumulativeSession":g=c;break;default:throw Error(`Unknown limit.limitType: ${s.limitType}`)}ae(),i(15,M=!0);let L={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(g.href,L).then(z=>Q(z)).then(z=>{K("self_limitation_cancel_success",s.amount),te()}).catch(z=>{K("self_limitation_cancel_failed",s.amount),console.log(z),i(16,J=!0)})},Be=s=>{if(ae(),i(15,M=!0),s&&s.reviewRequired&&!se){i(26,Le=!0),i(19,ee=!0);return}const d=new URL(`/v1/player/${m}/limits/monetary/${s.id}`,u);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};se&&d.searchParams.append("documentId",se),fetch(d.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_cancel_success",s.amount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.amount),console.log(g),i(16,J=!0)}).finally(()=>{be.remove={},i(26,Le=!1),se=""})},Re=s=>{const d=new URL(`/v1/player/${m}/limits/schedule/${s.scheduleId}`,u);ae(),i(15,M=!0);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{q=s,K("self_limitation_cancel_success",s.updateAmount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.updateAmount),console.log(g),i(16,J=!0)})},Oe=s=>{const d=new URL(`v1/player/${m}/limits/schedule/acknowledge/${s.scheduleId}`,u);ae(),i(15,M=!0);let c={method:"PATCH",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{q=s,qt(s),K("self_limitation_confirm_success",s.amount),te()}).catch(g=>{K("self_limitation_confirm_failed",s.amount),console.log(g),i(16,J=!0)})},qt=s=>{let d=60;i(27,H[s.scheduleId]={},H),i(27,H[s.scheduleId].timer=`${d} ${le[n].seconds}`,H),i(27,H[s.scheduleId].timerStopped=!1,H);let c=window.setInterval(()=>d===0?(window.clearInterval(c),i(27,H[s.scheduleId].timerStopped=!0,H),i(27,H[s.scheduleId].timer=le[n].reloadLimitsButton,H)):i(27,H[s.scheduleId].timer=`${--d} ${le[n].seconds}`,H),1e3)},De=s=>{let d;return s?d=s.value?a(s.value+s.product):a(s.type.toLowerCase()+s.products[0]):d=a(_),d},Ve=(s,d=!1,c=!1)=>{if(!C)return c?`${s.reviewPending.requestAmount}${s.currency}`:d?`${s.updateAmount}${s.currency}`:`${s.amount}${s.currency}`;let g=C;const L=g.match(/\{(\d+)decimals\}/),z=L?parseInt(L[1],10):2,O=L?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let Y;c?Y=s.reviewPending.requestAmount||0:Y=d?s.updateAmount:s.amount,Y=parseInt(Y).toFixed(z);const[oe,ve]=C.includes(".")?[",","."]:[".",","];let[ke,ze]=Y.split(".");return ke=ke.replace(/\B(?=(\d{3})+(?!\d))/g,oe),Y=`${ke}${ve}${ze}`,g=g.replace("{currency}",me[s.currency]||s.currency).replace("{amount}",Y.split(ve)[0]).replace(O,Y.split(ve)[1]),g},Pe=()=>{i(19,ee=i(18,pe=!1)),i(21,ce=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Gt=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Pe()},Ht=s=>{let d=0;return Object.keys(s).forEach(c=>{d+=s[c].size}),d<=Number(V)},Kt=s=>{let d=!1;return Object.keys(s).forEach(c=>{const g=s[c].name.split(".").pop();return x.includes(g)?d=!0:d=!1}),d},We=s=>!s&&!(s.length>0)?i(25,re=!1):(i(24,ue=s),Ht(ue)?Kt(ue)?i(25,re=!0):(console.error(a("fileExtenssionDeny")),i(25,re=!1)):(console.error(a("fileSizeExceeded")),i(25,re=!1))),Yt=()=>{if(!re)return;i(19,ee=!1);const s=new URL(`/api/v1/mm/content/${m}/url-upload/`,u),d={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":p},body:JSON.stringify({})};fetch(s,d).then(c=>Q(c)).then(c=>{Jt(c)}).catch(c=>{console.error(a("errorUploadDocument"),c),i(24,ue=null),i(25,re=!1)})},Jt=s=>{const d=new FormData;d.append(s.requestId,ue[0]),fetch(s.url,{method:"POST",body:d}).then(c=>Q(c)).then(c=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:a("uploadSuccess")}},window.location.href),se=c.Files[0].Reference,be.remove.id?Be(be.remove):Te()}).catch(c=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("errorUploadDocument")}},window.location.href),console.error(a("errorUploadDocument"),c)}).finally(()=>{Pe(),i(24,ue=null),i(25,re=!1)})},Zt=()=>{if(!h)return;let s={};h.split(",").forEach(d=>{let c=d.split(":");s[c[0].trim()]=c[1].trim()}),me=we(we({},me),s)},Xt=()=>{pi(n)};e.onMount(()=>()=>{});const Qt=s=>We(s.target.files),$t=()=>te(),ei=s=>Ie(s),ti=s=>Oe(s),ii=s=>Re(s);function ai(){B=e.select_value(this),i(9,B)}const oi=()=>{Ee(),je(),Ne()};function ni(){v=e.select_value(this),i(8,v),i(5,R),i(7,_)}function si(){j=e.to_number(this.value),i(10,j)}function ri(s){e.binding_callbacks[s?"unshift":"push"](()=>{S=s,i(4,S)})}return o.$$set=s=>{"lang"in s&&i(45,n=s.lang),"currency"in s&&i(0,l=s.currency),"limits"in s&&i(46,r=s.limits),"session"in s&&i(47,p=s.session),"userid"in s&&i(48,m=s.userid),"endpoint"in s&&i(49,u=s.endpoint),"apiversion"in s&&i(50,f=s.apiversion),"customcurrencysymbols"in s&&i(51,h=s.customcurrencysymbols),"enablecompliancetext"in s&&i(1,D=s.enablecompliancetext),"deletelimit"in s&&i(2,k=s.deletelimit),"amountsconfig"in s&&i(52,A=s.amountsconfig),"periodsconfig"in s&&i(53,W=s.periodsconfig),"limittabindex"in s&&i(3,F=s.limittabindex),"limitformat"in s&&i(54,C=s.limitformat),"allowedextenssion"in s&&i(55,x=s.allowedextenssion),"filesizeallow"in s&&i(56,V=s.filesizeallow),"clientstyling"in s&&i(57,U=s.clientstyling),"clientstylingurl"in s&&i(58,T=s.clientstylingurl),"mbsource"in s&&i(59,P=s.mbsource),"translationurl"in s&&i(60,E=s.translationurl)},o.$$.update=()=>{o.$$.dirty[1]&1048576&&h&&Zt(),o.$$.dirty[1]&6291456&&W&&A&&ht(),o.$$.dirty[1]&16384&&n&&Xt(),o.$$.dirty[1]&999424&&m&&p&&u&&f&&n&&te(),o.$$.dirty[0]&16|o.$$.dirty[1]&67108864&&U&&S&&e.setClientStyling(S,U),o.$$.dirty[0]&16|o.$$.dirty[1]&134217728&&T&&S&&e.setClientStylingURL(S,T),o.$$.dirty[0]&16|o.$$.dirty[1]&268435456&&P&&S&&e.setStreamStyling(S,`${P}.Style`),o.$$.dirty[1]&536870912&&E&&ft()},[l,D,k,F,S,R,w,_,v,B,j,ie,ne,G,I,M,J,_e,pe,ee,$,ce,fe,ge,ue,re,Le,H,a,b,je,Ee,te,Ue,xt,Ne,Ie,Re,Oe,De,Ve,Pe,Gt,We,Yt,n,r,p,m,u,f,h,A,W,C,x,V,U,T,P,E,Qt,$t,ei,ti,ii,ai,oi,ni,si,ri]}class mt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,qi,Fi,e.safe_not_equal,{lang:45,currency:0,limits:46,session:47,userid:48,endpoint:49,apiversion:50,customcurrencysymbols:51,enablecompliancetext:1,deletelimit:2,amountsconfig:52,periodsconfig:53,limittabindex:3,limitformat:54,allowedextenssion:55,filesizeallow:56,clientstyling:57,clientstylingurl:58,mbsource:59,translationurl:60},mi,[-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[45]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get limits(){return this.$$.ctx[46]}set limits(t){this.$$set({limits:t}),e.flush()}get session(){return this.$$.ctx[47]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[48]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[49]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[50]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[51]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[1]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[2]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get amountsconfig(){return this.$$.ctx[52]}set amountsconfig(t){this.$$set({amountsconfig:t}),e.flush()}get periodsconfig(){return this.$$.ctx[53]}set periodsconfig(t){this.$$set({periodsconfig:t}),e.flush()}get limittabindex(){return this.$$.ctx[3]}set limittabindex(t){this.$$set({limittabindex:t}),e.flush()}get limitformat(){return this.$$.ctx[54]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get allowedextenssion(){return this.$$.ctx[55]}set allowedextenssion(t){this.$$set({allowedextenssion:t}),e.flush()}get filesizeallow(){return this.$$.ctx[56]}set filesizeallow(t){this.$$set({filesizeallow:t}),e.flush()}get clientstyling(){return this.$$.ctx[57]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[58]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[59]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[60]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(mt,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},customcurrencysymbols:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},limittabindex:{},limitformat:{},allowedextenssion:{},filesizeallow:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=mt;
35
+ c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`),e.attr(t,"version","1.1"),e.attr(t,"id","Capa_1"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),e.attr(t,"x","0px"),e.attr(t,"y","0px"),e.attr(t,"viewBox","0 0 52 52"),e.set_style(t,"enable-background","new 0 0 52 52"),e.attr(t,"xml:space","preserve")},m(U,T){e.insert(U,t,T),e.append(t,i),e.append(i,a),e.append(i,n),e.append(t,l),e.append(t,r),e.append(t,p),e.append(t,m),e.append(t,u),e.append(t,f),e.append(t,h),e.append(t,D),e.append(t,k),e.append(t,A),e.append(t,W),e.append(t,F),e.append(t,C),e.append(t,x),e.append(t,V)},d(U){U&&e.detach(t)}}}function ki(o){let t,i=o[28]("popupSuccess")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("popupSuccess")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function bi(o){let t,i=o[28]("docsRequired")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("docsRequired")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function wi(o){let t,i=o[28]("popupError")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("popupError")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function _i(o){let t,i=o[28]("okButton")+"",a,n,l;return{c(){t=e.element("button"),a=e.text(i),e.attr(t,"class","ConfirmButton")},m(r,p){e.insert(r,t,p),e.append(t,a),n||(l=e.listen(t,"click",o[41]),n=!0)},p(r,p){p[0]&268435456&&i!==(i=r[28]("okButton")+"")&&e.set_data(a,i)},d(r){r&&e.detach(t),n=!1,l()}}}function Si(o){let t,i=o[28]("uploadDocumentsButton")+"",a,n,l=o[28]("closeButton")+"",r,p,m;return{c(){t=e.element("button"),a=e.space(),n=e.element("button"),r=e.text(l),e.attr(t,"class","ConfirmButton"),e.attr(n,"class","CloseButton")},m(u,f){e.insert(u,t,f),t.innerHTML=i,e.insert(u,a,f),e.insert(u,n,f),e.append(n,r),p||(m=[e.listen(t,"click",o[42]),e.listen(n,"click",o[41])],p=!0)},p(u,f){f[0]&268435456&&i!==(i=u[28]("uploadDocumentsButton")+"")&&(t.innerHTML=i),f[0]&268435456&&l!==(l=u[28]("closeButton")+"")&&e.set_data(r,l)},d(u){u&&(e.detach(t),e.detach(a),e.detach(n)),p=!1,e.run_all(m)}}}function Ai(o){let t,i=o[28]("noFileUploaded")+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","historyItem")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("noFileUploaded")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Di(o){let t,i=e.ensure_array_like(Array.from(o[24])),a=[];for(let n=0;n<i.length;n+=1)a[n]=Qe(Ze(o,i,n));return{c(){for(let n=0;n<a.length;n+=1)a[n].c();t=e.empty()},m(n,l){for(let r=0;r<a.length;r+=1)a[r]&&a[r].m(n,l);e.insert(n,t,l)},p(n,l){if(l[0]&16777216){i=e.ensure_array_like(Array.from(n[24]));let r;for(r=0;r<i.length;r+=1){const p=Ze(n,i,r);a[r]?a[r].p(p,l):(a[r]=Qe(p),a[r].c(),a[r].m(t.parentNode,t))}for(;r<a.length;r+=1)a[r].d(1);a.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(a,n)}}}function Qe(o){let t,i=o[147].name+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","historyItem")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&16777216&&i!==(i=n[147].name+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function $e(o){let t,i=o[28]("filesUploadError")+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","filesError")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("filesUploadError")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Pi(o){let t,i,a,n,l,r,p,m,u,f,h=o[14]?`${o[28]("amount")}`:`${o[28](`new${o[8]}Limit`)}`,D,k,A,W,F,C,x=o[28]("setLimit")+"",V,U,T,P,E=e.ensure_array_like(o[6]),S=[];for(let v=0;v<E.length;v+=1)S[v]=nt(Ye(o,E,v));let y=o[1]==="true"&&st(o),b=o[13]&&rt(o),w=o[14]&&dt(o),_=o[23]&&pt(o);return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div");for(let v=0;v<S.length;v+=1)S[v].c();n=e.space(),l=e.element("form"),y&&y.c(),r=e.space(),b&&b.c(),p=e.space(),w&&w.c(),m=e.space(),u=e.element("label"),f=e.element("span"),D=e.text(h),k=e.space(),A=e.element("input"),W=e.space(),_&&_.c(),F=e.space(),C=e.element("button"),V=e.text(x),e.attr(a,"class","LimitsList "+(o[29]?"Desktop":"")),e.attr(f,"class","LimitInputText"),e.attr(A,"type","number"),e.attr(A,"pattern","[0-9]*"),e.attr(u,"class","LimitAmountInputWrapper"),e.attr(C,"class","LimitSubmitButton"),e.attr(C,"type","submit"),C.disabled=o[23],e.attr(l,"class","LimitsInteractionArea "+(o[29]?"Desktop":"")),e.attr(i,"class","LimitsPageContainer"),e.attr(t,"class",U="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+o[3]))},m(v,N){e.insert(v,t,N),e.append(t,i),e.append(i,a);for(let B=0;B<S.length;B+=1)S[B]&&S[B].m(a,null);e.append(i,n),e.append(i,l),y&&y.m(l,null),e.append(l,r),b&&b.m(l,null),e.append(l,p),w&&w.m(l,null),e.append(l,m),e.append(l,u),e.append(u,f),e.append(f,D),e.append(u,k),e.append(u,A),e.set_input_value(A,o[10]),e.append(u,W),_&&_.m(u,null),e.append(l,F),e.append(l,C),e.append(C,V),T||(P=[e.listen(A,"input",o[69]),e.listen(A,"input",o[33]),e.listen(l,"submit",o[34])],T=!0)},p(v,N){if(N[0]&939524164|N[1]&994){E=e.ensure_array_like(v[6]);let B;for(B=0;B<E.length;B+=1){const j=Ye(v,E,B);S[B]?S[B].p(j,N):(S[B]=nt(j),S[B].c(),S[B].m(a,null))}for(;B<S.length;B+=1)S[B].d(1);S.length=E.length}v[1]==="true"?y?y.p(v,N):(y=st(v),y.c(),y.m(l,r)):y&&(y.d(1),y=null),v[13]?b?b.p(v,N):(b=rt(v),b.c(),b.m(l,p)):b&&(b.d(1),b=null),v[14]?w?w.p(v,N):(w=dt(v),w.c(),w.m(l,m)):w&&(w.d(1),w=null),N[0]&268452096&&h!==(h=v[14]?`${v[28]("amount")}`:`${v[28](`new${v[8]}Limit`)}`)&&e.set_data(D,h),N[0]&1024&&e.to_number(A.value)!==v[10]&&e.set_input_value(A,v[10]),v[23]?_?_.p(v,N):(_=pt(v),_.c(),_.m(u,null)):_&&(_.d(1),_=null),N[0]&268435456&&x!==(x=v[28]("setLimit")+"")&&e.set_data(V,x),N[0]&8388608&&(C.disabled=v[23]),N[0]&8&&U!==(U="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+v[3]))&&e.attr(t,"class",U)},d(v){v&&e.detach(t),e.destroy_each(S,v),y&&y.d(),b&&b.d(),w&&w.d(),_&&_.d(),T=!1,e.run_all(P)}}}function zi(o){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(i,a){e.insert(i,t,a)},p:e.noop,d(i){i&&e.detach(t)}}}function Ci(o){let t,i,a,n,l,r,p=e.ensure_array_like(Array(3)),m=[];for(let u=0;u<p.length;u+=1)m[u]=Wi(ci(o,p,u));return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),a.innerHTML='<ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton>',n=e.space();for(let u=0;u<m.length;u+=1)m[u].c();l=e.space(),r=e.element("div"),r.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',e.attr(a,"class","skeletonLimitText"),e.attr(i,"class","skeletonLimitWrapper"),e.attr(r,"class","skeletonInputWrapper"),e.attr(t,"class","skeletonLimitContainer")},m(u,f){e.insert(u,t,f),e.append(t,i),e.append(i,a),e.append(i,n);for(let h=0;h<m.length;h+=1)m[h]&&m[h].m(i,null);e.append(t,l),e.append(t,r)},p:e.noop,d(u){u&&e.detach(t),e.destroy_each(m,u)}}}function xi(o){let t,i,a,n=o[28]("noLimitText")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("noLimitText")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function ji(o){let t,i,a,n=o[28]("lugasPrivacy")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("lugasPrivacy")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function Ei(o){let t,i=e.ensure_array_like(o[139].currentLimits),a=[];for(let n=0;n<i.length;n+=1)a[n]=ot(Je(o,i,n));return{c(){for(let n=0;n<a.length;n+=1)a[n].c();t=e.empty()},m(n,l){for(let r=0;r<a.length;r+=1)a[r]&&a[r].m(n,l);e.insert(n,t,l)},p(n,l){if(l[0]&939524164|l[1]&738){i=e.ensure_array_like(n[139].currentLimits);let r;for(r=0;r<i.length;r+=1){const p=Je(n,i,r);a[r]?a[r].p(p,l):(a[r]=ot(p),a[r].c(),a[r].m(t.parentNode,t))}for(;r<a.length;r+=1)a[r].d(1);a.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(a,n)}}}function Ti(o){let t,i,a,n=o[28]("lugasPrivacy")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("lugasPrivacy")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function Mi(o){let t,i=`${o[40](o[144])}`,a;return{c(){t=e.element("span"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=`${n[40](n[144])}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ui(o){let t,i=`${o[40](o[144],!0)}`,a;return{c(){t=e.element("span"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=`${n[40](n[144],!0)}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function et(o){let t,i,a=`${o[40](o[144],!1,!0)}`,n,l,r=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateAfterDocApproval")}`,p;return{c(){t=e.element("div"),i=e.element("span"),n=e.text(a),l=e.space(),p=e.text(r),e.attr(t,"class","PendingLimit")},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,p)},p(m,u){u[0]&64&&a!==(a=`${m[40](m[144],!1,!0)}`)&&e.set_data(n,a),u[0]&268435520&&r!==(r=`${m[144].period!=="None"||m[144].value!=="cumulativeSession"?" ":m[28]("per")} ${m[28](`${m[144].period}`)} ${m[28]("updateAfterDocApproval")}`)&&e.set_data(p,r)},d(m){m&&e.detach(t)}}}function Ni(o){let t,i,a=`${o[40](o[144],!0)}`,n,l;function r(u,f){return u[144].isCoolOffCompleted?Vi:Oi}let p=r(o),m=p(o);return{c(){t=e.element("div"),i=e.element("span"),n=e.text(a),l=e.space(),m.c(),e.attr(t,"class","PendingLimit")},m(u,f){e.insert(u,t,f),e.append(t,i),e.append(i,n),e.append(t,l),m.m(t,null)},p(u,f){f[0]&64&&a!==(a=`${u[40](u[144],!0)}`)&&e.set_data(n,a),p===(p=r(u))&&m?m.p(u,f):(m.d(1),m=p(u),m&&(m.c(),m.m(t,null)))},d(u){u&&e.detach(t),m.d()}}}function Ii(o){let t,i=`${o[28]("removedLimitText")} ${o[144].expiryDate}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435520&&i!==(i=`${n[28]("removedLimitText")} ${n[144].expiryDate}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Bi(o){let t,i=`${o[28]("removeAfterConfirm")}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=`${n[28]("removeAfterConfirm")}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ri(o){let t,i=`${o[28]("acknowledgedLimit")}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=`${n[28]("acknowledgedLimit")}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Oi(o){let t=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateText")} ${o[144].expiryDate}`,i;return{c(){i=e.text(t)},m(a,n){e.insert(a,i,n)},p(a,n){n[0]&268435520&&t!==(t=`${a[144].period!=="None"||a[144].value!=="cumulativeSession"?" ":a[28]("per")} ${a[28](`${a[144].period}`)} ${a[28]("updateText")} ${a[144].expiryDate}`)&&e.set_data(i,t)},d(a){a&&e.detach(i)}}}function Vi(o){let t=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateAfterConfirm")}`,i;return{c(){i=e.text(t)},m(a,n){e.insert(a,i,n)},p(a,n){n[0]&268435520&&t!==(t=`${a[144].period!=="None"||a[144].value!=="cumulativeSession"?" ":a[28]("per")} ${a[28](`${a[144].period}`)} ${a[28]("updateAfterConfirm")}`)&&e.set_data(i,t)},d(a){a&&e.detach(i)}}}function tt(o){let t,i,a=o[27][o[144].scheduleId].timer+"",n,l,r,p;return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),e.attr(i,"class",l="ReloadLimitButton "+(o[29]?"":"Mobile")+" "+(o[27][o[144].scheduleId].timerStopped?"":"disabled")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),r||(p=e.listen(i,"click",o[62]),r=!0)},p(m,u){u[0]&134217792&&a!==(a=m[27][m[144].scheduleId].timer+"")&&e.set_data(n,a),u[0]&134217792&&l!==(l="ReloadLimitButton "+(m[29]?"":"Mobile")+" "+(m[27][m[144].scheduleId].timerStopped?"":"disabled"))&&e.attr(i,"class",l)},d(m){m&&e.detach(t),r=!1,p()}}}function it(o){let t,i,a=o[28]("removeLimit")+"",n,l,r;function p(){return o[63](o[144])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),e.attr(i,"class","RemoveLimitButton "+(o[29]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),l||(r=e.listen(i,"click",p),l=!0)},p(m,u){o=m,u[0]&268435456&&a!==(a=o[28]("removeLimit")+"")&&e.set_data(n,a)},d(m){m&&e.detach(t),l=!1,r()}}}function at(o){let t,i,a=o[28]("confirmUpdateLimit")+"",n,l,r,p=o[28]("cancelUpdateLimit")+"",m,u,f;function h(){return o[64](o[144])}function D(){return o[65](o[144])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),l=e.space(),r=e.element("button"),m=e.text(p),e.attr(i,"class","ConfirmLimitButton "+(o[29]?"":"Mobile")),e.attr(r,"class","CancelLimitButton "+(o[29]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(k,A){e.insert(k,t,A),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r),e.append(r,m),u||(f=[e.listen(i,"click",h),e.listen(r,"click",D)],u=!0)},p(k,A){o=k,A[0]&268435456&&a!==(a=o[28]("confirmUpdateLimit")+"")&&e.set_data(n,a),A[0]&268435456&&p!==(p=o[28]("cancelUpdateLimit")+"")&&e.set_data(m,p)},d(k){k&&e.detach(t),u=!1,e.run_all(f)}}}function ot(o){let t,i,a,n,l,r=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)}`,p,m,u,f,h,D=!o[144].isModified&&o[2].indexOf(o[139].value)>-1&&!o[144].reviewPending.id,k,A;function W(y,b){return y[144].acknowledgedLimit?Ui:Mi}let F=W(o),C=F(o),x=o[144].reviewPending&&o[144].reviewPending.id&&et(o);function V(y,b){if(y[144].acknowledgedLimit)return Ri;if(y[144].isModified&&y[144].updateAmount==0&&y[144].isCoolOffCompleted)return Bi;if(y[144].isModified&&y[144].updateAmount==0&&!y[144].isCoolOffCompleted)return Ii;if(y[144].isModified)return Ni}let U=V(o),T=U&&U(o),P=o[144].acknowledgedLimit&&!o[144].reviewPending.id&&tt(o),E=D&&it(o),S=o[144].isCoolOffCompleted&!o[144].acknowledgedLimit&&!o[144].reviewPending.id&&at(o);return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),n=e.element("div"),C.c(),l=e.space(),p=e.text(r),m=e.space(),x&&x.c(),u=e.space(),T&&T.c(),f=e.space(),P&&P.c(),h=e.space(),E&&E.c(),k=e.space(),S&&S.c(),A=e.space(),e.attr(n,"class","CurrentLimit"),e.attr(a,"class","CurrentLimitContainer"),e.attr(i,"class","LimitDetailsTextWrapper"),e.attr(t,"class","LimitDetails")},m(y,b){e.insert(y,t,b),e.append(t,i),e.append(i,a),e.append(a,n),C.m(n,null),e.append(n,l),e.append(n,p),e.append(a,m),x&&x.m(a,null),e.append(a,u),T&&T.m(a,null),e.append(i,f),P&&P.m(i,null),e.append(i,h),E&&E.m(i,null),e.append(i,k),S&&S.m(i,null),e.append(t,A)},p(y,b){F===(F=W(y))&&C?C.p(y,b):(C.d(1),C=F(y),C&&(C.c(),C.m(n,l))),b[0]&268435520&&r!==(r=`${y[144].period!=="None"||y[144].value!=="cumulativeSession"?" ":y[28]("per")} ${y[28](`${y[144].period}`)}`)&&e.set_data(p,r),y[144].reviewPending&&y[144].reviewPending.id?x?x.p(y,b):(x=et(y),x.c(),x.m(a,u)):x&&(x.d(1),x=null),U===(U=V(y))&&T?T.p(y,b):(T&&T.d(1),T=U&&U(y),T&&(T.c(),T.m(a,null))),y[144].acknowledgedLimit&&!y[144].reviewPending.id?P?P.p(y,b):(P=tt(y),P.c(),P.m(i,h)):P&&(P.d(1),P=null),b[0]&68&&(D=!y[144].isModified&&y[2].indexOf(y[139].value)>-1&&!y[144].reviewPending.id),D?E?E.p(y,b):(E=it(y),E.c(),E.m(i,k)):E&&(E.d(1),E=null),y[144].isCoolOffCompleted&!y[144].acknowledgedLimit&&!y[144].reviewPending.id?S?S.p(y,b):(S=at(y),S.c(),S.m(i,null)):S&&(S.d(1),S=null)},d(y){y&&e.detach(t),C.d(),x&&x.d(),T&&T.d(),P&&P.d(),E&&E.d(),S&&S.d()}}}function nt(o){let t,i,a=o[39](o[139])+"",n,l,r;function p(f,h){var D;return f[139].value==="lugas"?Ti:((D=f[139].currentLimits)==null?void 0:D.length)>0?Ei:f[139].value==="lugas"?ji:xi}let m=p(o),u=m(o);return{c(){t=e.element("div"),i=e.element("p"),n=e.text(a),l=e.space(),u.c(),r=e.space(),e.attr(i,"class","LimitTitle"),e.attr(t,"class","LimitWrapper "+(o[29]?"Desktop":""))},m(f,h){e.insert(f,t,h),e.append(t,i),e.append(i,n),e.append(t,l),u.m(t,null),e.append(t,r)},p(f,h){h[0]&64&&a!==(a=f[39](f[139])+"")&&e.set_data(n,a),m===(m=p(f))&&u?u.p(f,h):(u.d(1),u=m(f),u&&(u.c(),u.m(t,r)))},d(f){f&&e.detach(t),u.d()}}}function st(o){let t,i,a=o[28]("complianceText")+"",n;return{c(){t=e.element("div"),i=e.element("p"),n=e.text(a),e.attr(i,"class","LimitComplianceText"),e.attr(t,"class","LimitCompliance")},m(l,r){e.insert(l,t,r),e.append(t,i),e.append(i,n)},p(l,r){r[0]&268435456&&a!==(a=l[28]("complianceText")+"")&&e.set_data(n,a)},d(l){l&&e.detach(t)}}}function rt(o){let t,i,a=o[28]("limitType")+"",n,l,r,p,m,u=e.ensure_array_like(o[6]),f=[];for(let h=0;h<u.length;h+=1)f[h]=lt(Ke(o,u,h));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(a),l=e.space(),r=e.element("select");for(let h=0;h<f.length;h+=1)f[h].c();e.attr(i,"class","LimitSelectText"),e.attr(r,"name",""),e.attr(r,"id",""),o[9]===void 0&&e.add_render_callback(()=>o[66].call(r)),e.attr(t,"class","LimitTypeDropdownWrapper")},m(h,D){e.insert(h,t,D),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(r,null);e.select_option(r,o[9],!0),p||(m=[e.listen(r,"change",o[66]),e.listen(r,"change",o[67])],p=!0)},p(h,D){if(D[0]&268435456&&a!==(a=h[28]("limitType")+"")&&e.set_data(n,a),D[0]&64|D[1]&256){u=e.ensure_array_like(h[6]);let k;for(k=0;k<u.length;k+=1){const A=Ke(h,u,k);f[k]?f[k].p(A,D):(f[k]=lt(A),f[k].c(),f[k].m(r,null))}for(;k<f.length;k+=1)f[k].d(1);f.length=u.length}D[0]&512&&e.select_option(r,h[9])},d(h){h&&e.detach(t),e.destroy_each(f,h),p=!1,e.run_all(m)}}}function lt(o){let t,i=o[39](o[139])+"",a;return{c(){t=e.element("option"),a=e.text(i),t.__value=o[141],e.set_input_value(t,t.__value)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=n[39](n[139])+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function dt(o){let t,i,a=o[28]("period")+"",n,l,r,p,m,u=e.ensure_array_like(o[5][o[7]].periods),f=[];for(let h=0;h<u.length;h+=1)f[h]=ut(He(o,u,h));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(a),l=e.space(),r=e.element("select");for(let h=0;h<f.length;h+=1)f[h].c();e.attr(i,"class","PeriodSelectText"),e.attr(r,"name",""),e.attr(r,"id",""),o[8]===void 0&&e.add_render_callback(()=>o[68].call(r)),e.attr(t,"class","LimitPeriodDropdownWrapper")},m(h,D){e.insert(h,t,D),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(r,null);e.select_option(r,o[8],!0),p||(m=e.listen(r,"change",o[68]),p=!0)},p(h,D){if(D[0]&268435456&&a!==(a=h[28]("period")+"")&&e.set_data(n,a),D[0]&268435616){u=e.ensure_array_like(h[5][h[7]].periods);let k;for(k=0;k<u.length;k+=1){const A=He(h,u,k);f[k]?f[k].p(A,D):(f[k]=ut(A),f[k].c(),f[k].m(r,null))}for(;k<f.length;k+=1)f[k].d(1);f.length=u.length}D[0]&416&&e.select_option(r,h[8])},d(h){h&&e.detach(t),e.destroy_each(f,h),p=!1,m()}}}function ut(o){let t,i=o[28](o[136])+"",a,n;return{c(){t=e.element("option"),a=e.text(i),t.__value=n=o[136],e.set_input_value(t,t.__value),t.selected=!0},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&268435616&&i!==(i=l[28](l[136])+"")&&e.set_data(a,i),r[0]&160&&n!==(n=l[136])&&(t.__value=n,e.set_input_value(t,t.__value))},d(l){l&&e.detach(t)}}}function pt(o){let t,i=o[10]===null?`${o[28]("invalidInputMessage")}`:o[10]<o[11]?`${o[28]("invalidInputMessageLimitMin",{values:{minValue:o[11],currency:o[0]}})}`:`${o[28]("invalidInputMessageLimitMax",{values:{maxValue:o[12],currency:o[0]}})}`,a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","InvalidInput")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268442625&&i!==(i=n[10]===null?`${n[28]("invalidInputMessage")}`:n[10]<n[11]?`${n[28]("invalidInputMessageLimitMin",{values:{minValue:n[11],currency:n[0]}})}`:`${n[28]("invalidInputMessageLimitMax",{values:{maxValue:n[12],currency:n[0]}})}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Wi(o){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ',e.attr(t,"class","skeletonLimitContent")},m(i,a){e.insert(i,t,a)},p:e.noop,d(i){i&&e.detach(t)}}}function Fi(o){let t,i,a=o[18]&&Xe(o);function n(p,m){if(p[15])return Ci;if(p[16])return zi;if(!p[15])return Pi}let l=n(o),r=l&&l(o);return{c(){t=e.element("div"),a&&a.c(),i=e.space(),r&&r.c()},m(p,m){e.insert(p,t,m),a&&a.m(t,null),e.append(t,i),r&&r.m(t,null),o[70](t)},p(p,m){p[18]?a?a.p(p,m):(a=Xe(p),a.c(),a.m(t,i)):a&&(a.d(1),a=null),l===(l=n(p))&&r?r.p(p,m):(r&&r.d(1),r=l&&l(p),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),a&&a.d(),r&&r.d(),o[70](null)}}}function qi(o,t,i){let a;e.component_subscribe(o,e.$format,s=>i(28,a=s));let{lang:n="en"}=t,{currency:l=""}=t,{limits:r=""}=t,{session:p=""}=t,{userid:m=""}=t,{endpoint:u=""}=t,{apiversion:f=""}=t,{customcurrencysymbols:h=""}=t,{enablecompliancetext:D=""}=t,{deletelimit:k=""}=t,{amountsconfig:A=""}=t,{periodsconfig:W=""}=t,{limittabindex:F=""}=t,{limitformat:C=""}=t,{allowedextenssion:x=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:V="12934000"}=t,{clientstyling:U=""}=t,{clientstylingurl:T=""}=t,{mbsource:P}=t,{translationurl:E=""}=t,S,y=window.navigator.userAgent,b=!e.isMobile(y),w=[],_="",v="",N="",B=0,j,ie="",ne="",de="",X={},q={},G=!1,I=!1,M=!0,J=!1,_e=!1,pe=!1,ee=!1,$="",ce="",Z=[],fe,Ce,ge=!1,ct={},se="",ue,be={remove:{}},re=!1,Le=!1,me={EUR:"€",RON:" lei",USD:"$"},H={};const Se={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},xe={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},ft=()=>{fetch(E).then(d=>d.json()).then(d=>{Object.keys(d).forEach(c=>{Ge(c,d[c])})}).catch(d=>{console.log(d)})};Object.keys(le).forEach(s=>{Ge(s,le[s])});const Ae=s=>`dataLayer-${s}`,K=(s,d)=>{typeof gtag=="function"&&gtag({event:s,limit_category:le[n][Ae(N.toLowerCase())]||N,limit_type:le[n][Ae(_.toLowerCase())]||_,limit_period:le[n][Ae(v.toLowerCase())]||v,limit_amount:j||d})},gt=()=>{var g;const s=A.split(",").map(L=>L.split(":")),d=W.split(",").map(L=>L.split(":"));for(let[L,z]of s.entries())if(z[0]!==d[L][0])throw new Error(`Limit config mismatch: "${z[0]}" does not match "${d[L][0]}"`);const c=s.reduce((L,z,O)=>{const Y=z[0].slice(z[0].indexOf("(")+1,z[0].indexOf(")")),oe=z[0].slice(0,z[0].indexOf("(")),ve=z[1],ke=d[O][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),ze={value:Y,product:oe,minMax:ve,periods:ke,callValue:R[Y].callValue,callValue16:R[Y].callValue16,title:R[Y].title};return L.push(ze),L},[]);for(let L=0;L<c.length;L++)i(6,w[L].product=c[L].product,w),i(6,w[L].min=parseInt(c[L].minMax.split("-")[0],10),w),i(6,w[L].max=parseInt(c[L].minMax.split("-")[1],10),w),i(5,R[c[L].value].periods=c[L].periods,R);de=(g=w[0])==null?void 0:g.value,w.forEach(L=>{X[L.value]={min:L.min,max:L.max},ct[L.value]=L.product}),X&&(X[de]?(i(11,ie=X[de].min),i(12,ne=X[de].max)):(i(11,ie=1),i(12,ne=9999999)))},Lt=()=>{const s=/\(([^)]+)\)/g;return[...A.matchAll(s)].flat().filter(c=>!c.includes("("))},ht=()=>{Lt().forEach(d=>{R[d]?w.push(we({},R[d])):console.error(`Unknown limit: ${d}`)}),gt(),i(7,_=w[0].value),i(8,v=R[_].periods[0]),N=w[0].product,i(13,G=w.length>1),i(14,I=R[_].periods.length>1)},je=()=>{i(7,_=w[B].value),i(8,v=R[_].periods[0]),i(14,I=R[_].periods.length>1)},Ee=()=>{N=w[B].product},Q=s=>{if(s.status>=300)yt(s);else return i(17,_e=!1),s.status!==204?s.json():s},yt=s=>{i(16,J=!0);let d;throw s.json().then(c=>{for(const g in xe)if(c.error&&xe[g].some(L=>c.error.includes(L))){d=g;break}console.error("errType",d),!d&&ye(c)}).finally(()=>{d&&ye(d),i(16,J=!1),i(15,M=!1)}),new Error("An error occured during the fetch request")},vt=()=>{if(!(j>0))return;ae(),i(15,M=!0);let s=new URL(`/v2/player/${m}/limits`,u),d={};_==="sessionLimit"?d={sessionLimit:j,sessionLimitUnit:"minute"}:_==="cumulativeSession"?d[R[_].callValue]=[{period:v,minutes:j}]:d[R[_].callValue]=[{period:R[_].periods[0]==="None"?null:v,amount:j,currency:l}];let c={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(d)};fetch(s.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_success"),te()}).catch(g=>{console.error(g),i(16,J=!0)})},Te=()=>{const d=w[B].currentLimits.find(oe=>oe.period===v),c=Et();if(c&&c.reviewPending&&c.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("limitInDocReview")}},window.location.href);if(ae(),i(15,M=!0),c&&c.reviewRequired&&!se&&j>c.amount){i(26,Le=!0),i(19,ee=!0);return}const g=d?"v2":"v1",L=new URL(`/${g}/player/${m}/limits/monetary/${d?d.id:""}`,u),z=d?"PUT":"POST",O=d?se?{amount:j,skipCoolOff:!1,payload:{DocumentId:se}}:{amount:j,skipCoolOff:!1}:{amount:j,currency:l,period:R[_].periods[0]==="None"?null:v,type:R[_].callValue16,products:[N!=null?N:"All"],walletTypes:["Deposit","NetDeposit"].includes(R[_].callValue16)?["All"]:["RealCash"]};let Y={method:z,headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(O)};fetch(L.href,Y).then(oe=>Q(oe)).then(oe=>{K("self_limitation_success"),te()}).catch(oe=>{console.log(oe)}).finally(()=>{i(26,Le=!1),se=""})},kt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v1/player/${m}/limits/session/`,u);let g={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:j,sessionLimitUnit:"minute"})};fetch(s.href,g).then(L=>Q(L)).then(L=>{K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},bt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v1/player/${m}/limits/session/`,u);let g={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:v,minutes:j}]})};fetch(s.href,g).then(L=>Q(L)).then(L=>{K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},wt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v2/player/${m}/limit/lugas`,u);let g={method:"POST",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:j,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};fetch(s.href,g).then(L=>Q(L)).then(L=>{i(22,fe=L.popup),L.operatorDepositLimitAmount,Ce=L.regulatorDepositLimitAmount,K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},_t=()=>{if(q={},f==="gm16")switch(_){case"lugas":wt();break;case"sessionLimit":kt();break;case"cumulativeSession":bt();break;default:Te();break}else if(f==="gmcore")vt();else throw Error(`Invalid apiversion attribute: ${f}`);K("self_limitation_request")},te=()=>{switch(f){case"gmcore":St();break;case"gm16":At();break}},St=()=>{i(15,M=!0);let s=new URL(`/v2/player/${m}/limits`,u),d={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,d).then(c=>Q(c)).then(c=>{Z=c,pe&&ye(),Me(Z),Dt(Z),i(10,j=null)}).catch(c=>{console.error("Error LimitsWidget: ",c),i(16,J=!0)}).finally(()=>{i(15,M=!1)})},At=()=>{i(15,M=!0),Z=[];let s=new URL(`/v1/player/${m}/limits/monetary`,u),d=new URL(`/v1/player/${m}/limits/session`,u),c=!1,g={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,g).then(L=>Q(L)).then(L=>{Z.push(L),f==="gm16"?Pt(L):f==="gmcore"&&Me([L]),pe&&ye(),i(10,j=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(16,J=!0)}).finally(()=>{c&&i(15,M=!1),c=!0}),fetch(d.href,g).then(L=>Q(L)).then(L=>{Z.push(L),f==="gm16"&&(zt(L),Ct(L)),pe&&ye(),i(10,j=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(16,J=!0)}).finally(()=>{c&&i(15,M=!1),c=!0})},Me=s=>{w.forEach(d=>{d.currentLimits=[];const c=Array.isArray(s[R[d.value].callValue])?s[R[d.value].callValue]:[s[R[d.value].callValue]];c.length===0||c[0]===void 0||(c.forEach((g,L)=>{var O;const z=s[R[d.value].callValue][L];d.currentLimits.push({}),d.currentLimits[L].limitType=d.value,d.currentLimits[L].amount=C?z.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.amount),d.currentLimits[L].currency=(O=me[z.currency])!=null?O:z.currency,d.currentLimits[L].period=z.period,d.currentLimits[L].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.updateAmount),d.currentLimits[L].isModified=z.isModified,d.currentLimits[L].expiryDate=`${new Date(z.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),d.currentLimits=he(d.currentLimits))})},Dt=s=>{const d=a("minutes");w.filter(c=>c.value==="sessionLimit"||c.value==="cumulativeSession").forEach(c=>{var g;c.currentLimits=[],(g=s[R[c.value].callValue])==null||g.forEach((L,z)=>{const O=s[R[c.value].callValue][z];c.currentLimits.push({limitType:c.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(O.minutes),currency:d,isModified:O.isModified,period:c.value==="cumulativeSession"?O.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(O.updateMinutes),expiryDate:`${new Date(O.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),c.currentLimits=he(c.currentLimits)})},Pt=s=>{s!=null&&s.limits&&w.forEach(d=>{var c;d.currentLimits=[];for(const g of s.limits)if(g.type===d.callValue16&&g.products.includes(d.product)){let L=0,z=g.schedules.length>0?g.schedules.find(O=>O.id):{};g.schedules.length>0&&(L=C?z.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.updateAmount)),d.currentLimits.push({limitType:d.value,amount:C?g.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(g.amount),currency:(c=me[g.currency])!=null?c:g.currency,isModified:g.schedules.length>0,period:g.period,product:g.products[0],updateAmount:L,isCoolOffCompleted:z?z.isCoolOffCompleted:!1,reviewRequired:g.reviewRequired?g.reviewRequired:!1,reviewPending:g.reviewPending?g.reviewPending:{},scheduleId:z?z.id:null,expiryDate:g.schedules.length>0?`${new Date(g.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:g.id}),d.currentLimits.forEach(O=>{O.acknowledgedLimit=Object.keys(H).some(Y=>O.scheduleId===Y)})}d.currentLimits=he(d.currentLimits)})},zt=s=>{s!=null&&s.sessionLimit&&w.filter(d=>d.value==="sessionLimit").forEach(d=>{d.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.minutes),currency:a("minutes"),isModified:s.sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.updateMinutes),expiryDate:s.sessionLimit.expiryDate}),d.currentLimits=he(d.currentLimits)})},Ct=s=>{s!=null&&s.cumulativeSessionLimits&&w.filter(d=>d.value==="cumulativeSession").forEach(d=>{for(const c of s.cumulativeSessionLimits)d.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(c.minutes),currency:a("minutes"),isModified:c.isModified,period:c.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(c.updateMinutes),expiryDate:c.expiryDate});d.currentLimits=he(d.currentLimits)})},he=s=>{const d={Daily:0,Weekly:1,Monthly:2};return s.sort((c,g)=>d[c.period]-d[g.period]),s},Ue=()=>{if(j===null||Number.isNaN(j)){i(23,ge=!0);return}const d=!Number.isInteger(j)?Math.round(j):j;i(10,j=d),i(23,ge=d<ie||d>ne)},xt=s=>{s.preventDefault(),Ue(),ge||_t()},Ne=()=>{i(23,ge=!1),X!=null&&X[_]?(i(11,ie=X[_].min),i(12,ne=X[_].max)):(i(11,ie=1),i(12,ne=9999999))},jt=()=>{if(Z){const s=Z[R[_].callValue].find(g=>g.period===v),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let c=a("popupImmediateUpdate").replace("{selectedLimit}",De(s)).replace("{updatedAmount}",d).replace("{currency}",me[s.currency]||s.currency).replace("{selectedPeriod}",a(`${v}`));i(20,$=s.isModified?`${a("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:c)}i(19,ee=!0)},Et=()=>{var c;if(!Z)return;const s=((c=Z[0])==null?void 0:c.limits)||Z.limits;let d=null;return Object.keys(q).length>0?d=s.find(g=>g.id===q.id):d=s.find(g=>g.type.toLowerCase()===Se[_].toLowerCase()&&(g.period===v||g.period==="None")&&g.products[0]===N),(d==null?void 0:d.schedules.length)>0&&H[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount),d},Tt=()=>{var z;const s=((z=Z[0])==null?void 0:z.limits)||Z.limits;let d=null;if(!Z){i(19,ee=!0);return}Object.keys(q).length>0?d=s.find(O=>O.id===q.id):d=s.find(O=>O.type.toLowerCase()===Se[_].toLowerCase()&&(O.period===v||O.period==="None")&&O.products[0]===N),(d==null?void 0:d.schedules.length)>0&&H[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount);const c=Ve(d)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(d.amount),g=d.schedules.length>0?`${new Date(d.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let L=a("popupImmediateUpdate").replace("{selectedLimit}",De(d)).replace("{updatedAmount}",c).replace("{selectedPeriod}",a(`${d.period}`));d.schedules.length>0&&H[d.schedules[0].id]?i(20,$=L):i(20,$=d.schedules.length>0?`${a("popupPendingUpdate")} ${g}`:L),i(19,ee=!0)},Mt=()=>{fe==1&&i(21,ce="PopupKyc"),fe==2&&(i(20,$=`${a("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(Ce)} ${l} ${a("popup2_b")}`),i(21,ce="PopupKyc2")),fe==3&&(i(20,$=a("popup3")),i(21,ce="PopupSuccess")),i(19,ee=!0)},Ut=()=>{i(20,$=a("sessionLimitUpdated")),i(19,ee=!0)},Nt=()=>{if(Z){const s=Z[R[_].callValue].find(g=>(g.period===v||v==="None")&&g.products[0]===N),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let c=a("popupImmediateUpdate").replace("{selectedLimit}",a(`${_}`)).replace("{updatedAmount}",d).replace("{currency}",a("minutes")).replace("{selectedPeriod}",a(`${v}`));i(20,$=s.isModified?`${a("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:c)}i(19,ee=!0)},It=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("Limit update is not permitted due to LimitUpdateControl")},Bt=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("Limit remove is not permitted due to LimitUpdateControl")},Rt=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("[NotFoundException] Limit does not exist")},Ot=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("[Exception] Schedule does not exist")},Vt=s=>{var d,c;return((d=s.details)==null?void 0:d.includes("Invalid Session"))||((c=s.error)==null?void 0:c.includes("Invalid Session"))},ye=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),J){if(i(17,_e=!0),!s){i(19,ee=!0);return}It(s)?i(20,$=a("popupUpdateLimitException")):Bt(s)?i(20,$=a("popupRemoveLimitException")):Rt(s)?i(20,$=a("notFoundException")):Ot(s)?i(20,$=a("scheduleNotFoundException")):Vt(s)?i(20,$=a("sessionExpiredException")):i(20,$=a("genericLimitsPopupError")),i(19,ee=!0);return}switch(f){case"gmcore":_==="sessionLimit"||_==="cumulativeSession"?Nt():jt();break;case"gm16":_==="lugas"?Mt():_==="sessionLimit"||_==="cumulativeSession"?Ut():Tt();break;default:throw new Error(`Invalid apiversion attribute: ${f}`)}},ae=()=>{i(18,pe=!0),window.postMessage({type:"DisableScroll"},window.location.href)},Wt=s=>{i(7,_=s.limitType),i(8,v=s.period),ae(),i(15,M=!0);let d=new URL(`/v2/player/${m}/limits/${Se[s.limitType]}`,u);s.limitType!=="sessionLimit"&&d.searchParams.append("periods",s.period);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_cancel_success",s.amount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.amount),console.log(g),i(16,J=!0)})},Ie=s=>{switch(s.period,be.remove=s,f){case"gmcore":Wt(s);break;case"gm16":q=s,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?Ft(s):Be(s);break}K("self_limitation_cancel_request",s.amount)},Ft=s=>{const d=new URL(`/v1/player/${m}/limits/session/session`,u),c=new URL(`/v1/player/${m}/limits/session/cumulativeSession?periods=${s.period}`,u);let g;switch(s.limitType){case"sessionLimit":g=d;break;case"cumulativeSession":g=c;break;default:throw Error(`Unknown limit.limitType: ${s.limitType}`)}ae(),i(15,M=!0);let L={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(g.href,L).then(z=>Q(z)).then(z=>{K("self_limitation_cancel_success",s.amount),te()}).catch(z=>{K("self_limitation_cancel_failed",s.amount),console.log(z),i(16,J=!0)})},Be=s=>{if(ae(),i(15,M=!0),s&&s.reviewRequired&&!se){i(26,Le=!0),i(19,ee=!0);return}const d=new URL(`/v1/player/${m}/limits/monetary/${s.id}`,u);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};se&&d.searchParams.append("documentId",se),fetch(d.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_cancel_success",s.amount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.amount),console.log(g),i(16,J=!0)}).finally(()=>{be.remove={},i(26,Le=!1),se=""})},Re=s=>{const d=new URL(`/v1/player/${m}/limits/schedule/${s.scheduleId}`,u);ae(),i(15,M=!0);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{q=s,K("self_limitation_cancel_success",s.updateAmount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.updateAmount),console.log(g),i(16,J=!0)})},Oe=s=>{const d=new URL(`v1/player/${m}/limits/schedule/acknowledge/${s.scheduleId}`,u);ae(),i(15,M=!0);let c={method:"PATCH",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{q=s,qt(s),K("self_limitation_confirm_success",s.amount),te()}).catch(g=>{K("self_limitation_confirm_failed",s.amount),console.log(g),i(16,J=!0)})},qt=s=>{let d=60;i(27,H[s.scheduleId]={},H),i(27,H[s.scheduleId].timer=`${d} ${le[n].seconds}`,H),i(27,H[s.scheduleId].timerStopped=!1,H);let c=window.setInterval(()=>d===0?(window.clearInterval(c),i(27,H[s.scheduleId].timerStopped=!0,H),i(27,H[s.scheduleId].timer=le[n].reloadLimitsButton,H)):i(27,H[s.scheduleId].timer=`${--d} ${le[n].seconds}`,H),1e3)},De=s=>{let d;return s?d=s.value?a(s.value+s.product):a(s.type.toLowerCase()+s.products[0]):d=a(_),d},Ve=(s,d=!1,c=!1)=>{if(!C)return c?`${s.reviewPending.requestAmount}${s.currency}`:d?`${s.updateAmount}${s.currency}`:`${s.amount}${s.currency}`;let g=C;const L=g.match(/\{(\d+)decimals\}/),z=L?parseInt(L[1],10):2,O=L?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let Y;c?Y=s.reviewPending.requestAmount||0:Y=d?s.updateAmount:s.amount,Y=parseInt(Y).toFixed(z);const[oe,ve]=C.includes(".")?[",","."]:[".",","];let[ke,ze]=Y.split(".");return ke=ke.replace(/\B(?=(\d{3})+(?!\d))/g,oe),Y=`${ke}${ve}${ze}`,g=g.replace("{currency}",me[s.currency]||s.currency).replace("{amount}",Y.split(ve)[0]).replace(O,Y.split(ve)[1]),g},Pe=()=>{i(19,ee=i(18,pe=!1)),i(21,ce=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Gt=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Pe()},Ht=s=>{let d=0;return Object.keys(s).forEach(c=>{d+=s[c].size}),d<=Number(V)},Kt=s=>{let d=!1;return Object.keys(s).forEach(c=>{const g=s[c].name.split(".").pop();return x.includes(g)?d=!0:d=!1}),d},We=s=>!s&&!(s.length>0)?i(25,re=!1):(i(24,ue=s),Ht(ue)?Kt(ue)?i(25,re=!0):(console.error(a("fileExtenssionDeny")),i(25,re=!1)):(console.error(a("fileSizeExceeded")),i(25,re=!1))),Yt=()=>{if(!re)return;i(19,ee=!1);const s=new URL(`/api/v1/mm/content/${m}/url-upload/`,u),d={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":p},body:JSON.stringify({})};fetch(s,d).then(c=>Q(c)).then(c=>{Jt(c)}).catch(c=>{console.error(a("errorUploadDocument"),c),i(24,ue=null),i(25,re=!1)})},Jt=s=>{const d=new FormData;d.append(s.requestId,ue[0]),fetch(s.url,{method:"POST",body:d}).then(c=>Q(c)).then(c=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:a("uploadSuccess")}},window.location.href),se=c.Files[0].Reference,be.remove.id?Be(be.remove):Te()}).catch(c=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("errorUploadDocument")}},window.location.href),console.error(a("errorUploadDocument"),c)}).finally(()=>{Pe(),i(24,ue=null),i(25,re=!1)})},Zt=()=>{if(!h)return;let s={};h.split(",").forEach(d=>{let c=d.split(":");s[c[0].trim()]=c[1].trim()}),me=we(we({},me),s)},Xt=()=>{pi(n)};e.onMount(()=>()=>{});const Qt=s=>We(s.target.files),$t=()=>te(),ei=s=>Ie(s),ti=s=>Oe(s),ii=s=>Re(s);function ai(){B=e.select_value(this),i(9,B)}const oi=()=>{Ee(),je(),Ne()};function ni(){v=e.select_value(this),i(8,v),i(5,R),i(7,_)}function si(){j=e.to_number(this.value),i(10,j)}function ri(s){e.binding_callbacks[s?"unshift":"push"](()=>{S=s,i(4,S)})}return o.$$set=s=>{"lang"in s&&i(45,n=s.lang),"currency"in s&&i(0,l=s.currency),"limits"in s&&i(46,r=s.limits),"session"in s&&i(47,p=s.session),"userid"in s&&i(48,m=s.userid),"endpoint"in s&&i(49,u=s.endpoint),"apiversion"in s&&i(50,f=s.apiversion),"customcurrencysymbols"in s&&i(51,h=s.customcurrencysymbols),"enablecompliancetext"in s&&i(1,D=s.enablecompliancetext),"deletelimit"in s&&i(2,k=s.deletelimit),"amountsconfig"in s&&i(52,A=s.amountsconfig),"periodsconfig"in s&&i(53,W=s.periodsconfig),"limittabindex"in s&&i(3,F=s.limittabindex),"limitformat"in s&&i(54,C=s.limitformat),"allowedextenssion"in s&&i(55,x=s.allowedextenssion),"filesizeallow"in s&&i(56,V=s.filesizeallow),"clientstyling"in s&&i(57,U=s.clientstyling),"clientstylingurl"in s&&i(58,T=s.clientstylingurl),"mbsource"in s&&i(59,P=s.mbsource),"translationurl"in s&&i(60,E=s.translationurl)},o.$$.update=()=>{o.$$.dirty[1]&1048576&&h&&Zt(),o.$$.dirty[1]&6291456&&W&&A&&ht(),o.$$.dirty[1]&16384&&n&&Xt(),o.$$.dirty[1]&999424&&m&&p&&u&&f&&n&&te(),o.$$.dirty[0]&16|o.$$.dirty[1]&67108864&&U&&S&&e.setClientStyling(S,U),o.$$.dirty[0]&16|o.$$.dirty[1]&134217728&&T&&S&&e.setClientStylingURL(S,T),o.$$.dirty[0]&16|o.$$.dirty[1]&268435456&&P&&S&&e.setStreamStyling(S,`${P}.Style`),o.$$.dirty[1]&536870912&&E&&ft()},[l,D,k,F,S,R,w,_,v,B,j,ie,ne,G,I,M,J,_e,pe,ee,$,ce,fe,ge,ue,re,Le,H,a,b,je,Ee,te,Ue,xt,Ne,Ie,Re,Oe,De,Ve,Pe,Gt,We,Yt,n,r,p,m,u,f,h,A,W,C,x,V,U,T,P,E,Qt,$t,ei,ti,ii,ai,oi,ni,si,ri]}class mt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,qi,Fi,e.safe_not_equal,{lang:45,currency:0,limits:46,session:47,userid:48,endpoint:49,apiversion:50,customcurrencysymbols:51,enablecompliancetext:1,deletelimit:2,amountsconfig:52,periodsconfig:53,limittabindex:3,limitformat:54,allowedextenssion:55,filesizeallow:56,clientstyling:57,clientstylingurl:58,mbsource:59,translationurl:60},mi,[-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[45]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get limits(){return this.$$.ctx[46]}set limits(t){this.$$set({limits:t}),e.flush()}get session(){return this.$$.ctx[47]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[48]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[49]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[50]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[51]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[1]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[2]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get amountsconfig(){return this.$$.ctx[52]}set amountsconfig(t){this.$$set({amountsconfig:t}),e.flush()}get periodsconfig(){return this.$$.ctx[53]}set periodsconfig(t){this.$$set({periodsconfig:t}),e.flush()}get limittabindex(){return this.$$.ctx[3]}set limittabindex(t){this.$$set({limittabindex:t}),e.flush()}get limitformat(){return this.$$.ctx[54]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get allowedextenssion(){return this.$$.ctx[55]}set allowedextenssion(t){this.$$set({allowedextenssion:t}),e.flush()}get filesizeallow(){return this.$$.ctx[56]}set filesizeallow(t){this.$$set({filesizeallow:t}),e.flush()}get clientstyling(){return this.$$.ctx[57]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[58]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[59]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[60]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(mt,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},customcurrencysymbols:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},limittabindex:{},limitformat:{},allowedextenssion:{},filesizeallow:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=mt;
@@ -1,4 +1,4 @@
1
- import { a as Ie, $ as Me, c as We, S as Ee, i as De, s as Be, f as _, b as Ne, e as q, d as O, w as R, q as k, g as w, h as z, z as X, J as P, K as $, L as A, j as L, k as Ve, M as Ge, o as He, m as Ke, p as Ye, I as W, y as ye, N as ee, u as Y, v as Re, C as E, E as Q, n as T, x as Ue, O as l, H as Ze, P as Fe, Q as Je, R as Qe, T as Xe, U as $e } from "./PlayerAccountGamingLimitsHistory2-fnp_hf0j.js";
1
+ import { a as Ie, $ as Me, c as We, S as Ee, i as De, s as Be, f as _, b as Ne, d as w, J as P, K as A, w as X, L as $, e as L, g as z, h as q, j as O, z as R, m as k, k as Ge, M as Ve, o as He, y as ye, E as W, n as T, r as E, u as Q, q as Y, N as ee, B as Ke, O as l, P as Ye, Q as Re, R as Ue, T as Ze, U as Fe, F as Je, G as Qe, H as Xe, I as $e } from "./PlayerAccountGamingLimitsHistory2-BNsAmZYN.js";
2
2
  function me(t, e) {
3
3
  Ie(t, e);
4
4
  }
@@ -162,7 +162,7 @@ if (typeof window < "u") {
162
162
  }
163
163
  };
164
164
  };
165
- customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16-aHkv3ygc.js").then(({ default: e }) => {
165
+ customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16-CPCTdyDi.js").then(({ default: e }) => {
166
166
  !customElements.get("player-account-gaming-limits-page-2-gm16") && customElements.define(
167
167
  "player-account-gaming-limits-page-2-gm16",
168
168
  e.element
@@ -181,7 +181,7 @@ if (typeof window < "u") {
181
181
  }
182
182
  };
183
183
  };
184
- customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsHistory2-fnp_hf0j.js").then((e) => e.V).then(({ default: e }) => {
184
+ customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsHistory2-BNsAmZYN.js").then((e) => e.V).then(({ default: e }) => {
185
185
  !customElements.get("player-account-gaming-limits-history-2") && customElements.define(
186
186
  "player-account-gaming-limits-history-2",
187
187
  e.element
@@ -217,7 +217,7 @@ function ai(t) {
217
217
  `), d = W("g"), g = W("g"), c = W("path"), u = O(), f = q("h2"), y = R(b), k(c, "class", "aaa"), k(c, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), k(c, "transform", "translate(15 15) rotate(180)"), k(g, "transform", "translate(20 158)"), k(d, "transform", "translate(-20 -158)"), k(i, "xmlns", "http://www.w3.org/2000/svg"), k(i, "width", "15"), k(i, "height", "15"), k(i, "viewBox", "0 0 15 15"), k(f, "class", "GamingLimitsTitleMobile"), k(e, "class", "MenuReturnButton"), k(e, "part", "MenuReturnButton");
218
218
  },
219
219
  m(p, r) {
220
- w(p, e, r), z(e, i), z(i, a), z(a, s), z(s, o), z(i, d), z(d, g), z(g, c), z(e, u), z(e, f), z(f, y), h || (m = ye(
220
+ L(p, e, r), z(e, i), z(i, a), z(a, s), z(s, o), z(i, d), z(d, g), z(g, c), z(e, u), z(e, f), z(f, y), h || (m = ye(
221
221
  e,
222
222
  "click",
223
223
  /*click_handler*/
@@ -230,7 +230,7 @@ function ai(t) {
230
230
  p[26]("title") + "") && X(y, b);
231
231
  },
232
232
  d(p) {
233
- p && L(e), h = !1, m();
233
+ p && w(e), h = !1, m();
234
234
  }
235
235
  };
236
236
  }
@@ -267,10 +267,10 @@ function si(t) {
267
267
  k(i, "class", "PlayerAccountGamingLmitsWrapper2");
268
268
  },
269
269
  m(m, p) {
270
- g && g.m(m, p), w(m, e, p), w(m, i, p);
270
+ g && g.m(m, p), L(m, e, p), L(m, i, p);
271
271
  for (let r = 0; r < u.length; r += 1)
272
272
  u[r] && u[r].m(i, null);
273
- t[41](i), w(m, a, p), b && b.m(m, p), w(m, s, p), w(m, o, p);
273
+ t[41](i), L(m, a, p), b && b.m(m, p), L(m, s, p), L(m, o, p);
274
274
  for (let r = 0; r < h.length; r += 1)
275
275
  h[r] && h[r].m(o, null);
276
276
  t[42](o), d = !0;
@@ -326,7 +326,7 @@ function si(t) {
326
326
  d = !1;
327
327
  },
328
328
  d(m) {
329
- m && (L(e), L(i), L(a), L(s), L(o)), g && g.d(m), Q(u, m), t[41](null), b && b.d(m), Q(h, m), t[42](null);
329
+ m && (w(e), w(i), w(a), w(s), w(o)), g && g.d(m), Q(u, m), t[41](null), b && b.d(m), Q(h, m), t[42](null);
330
330
  }
331
331
  };
332
332
  }
@@ -355,7 +355,7 @@ function ri(t) {
355
355
  k(e, "class", "TabsContainer");
356
356
  },
357
357
  m(s, o) {
358
- w(s, e, o);
358
+ L(s, e, o);
359
359
  for (let d = 0; d < a.length; d += 1)
360
360
  a[d] && a[d].m(e, null);
361
361
  t[40](e);
@@ -378,7 +378,7 @@ function ri(t) {
378
378
  }
379
379
  },
380
380
  d(s) {
381
- s && L(e), Q(a, s), t[40](null);
381
+ s && w(e), Q(a, s), t[40](null);
382
382
  }
383
383
  };
384
384
  }
@@ -408,7 +408,7 @@ function be(t) {
408
408
  e = q("div"), a = R(i), k(e, "class", "LimitsTab");
409
409
  },
410
410
  m(g, c) {
411
- w(g, e, c), z(e, a), s || (o = ye(e, "click", d), s = !0);
411
+ L(g, e, c), z(e, a), s || (o = ye(e, "click", d), s = !0);
412
412
  },
413
413
  p(g, c) {
414
414
  t = g, c[0] & /*$_*/
@@ -423,7 +423,7 @@ function be(t) {
423
423
  t[57]) + "") && X(a, i);
424
424
  },
425
425
  d(g) {
426
- g && L(e), s = !1, o();
426
+ g && w(e), s = !1, o();
427
427
  }
428
428
  };
429
429
  }
@@ -527,7 +527,7 @@ function oi(t) {
527
527
  );
528
528
  },
529
529
  m(s, o) {
530
- w(s, e, o);
530
+ L(s, e, o);
531
531
  },
532
532
  p(s, o) {
533
533
  o[0] & /*lang*/
@@ -641,7 +641,7 @@ function oi(t) {
641
641
  i: T,
642
642
  o: T,
643
643
  d(s) {
644
- s && L(e);
644
+ s && w(e);
645
645
  }
646
646
  };
647
647
  }
@@ -650,7 +650,7 @@ function li(t) {
650
650
  const i = (
651
651
  /*#slots*/
652
652
  t[37].customTabContent
653
- ), a = Je(
653
+ ), a = Re(
654
654
  i,
655
655
  t,
656
656
  /*$$scope*/
@@ -666,19 +666,19 @@ function li(t) {
666
666
  },
667
667
  p(s, o) {
668
668
  a && a.p && (!e || o[1] & /*$$scope*/
669
- 32) && Qe(
669
+ 32) && Ue(
670
670
  a,
671
671
  i,
672
672
  s,
673
673
  /*$$scope*/
674
674
  s[36],
675
- e ? $e(
675
+ e ? Fe(
676
676
  i,
677
677
  /*$$scope*/
678
678
  s[36],
679
679
  o,
680
680
  ti
681
- ) : Xe(
681
+ ) : Ze(
682
682
  /*$$scope*/
683
683
  s[36]
684
684
  ),
@@ -708,10 +708,10 @@ function fe(t) {
708
708
  }
709
709
  return e = g(t), i = d[e] = o[e](t), {
710
710
  c() {
711
- i.c(), a = Ue();
711
+ i.c(), a = Ke();
712
712
  },
713
713
  m(c, u) {
714
- d[e].m(c, u), w(c, a, u), s = !0;
714
+ d[e].m(c, u), L(c, a, u), s = !0;
715
715
  },
716
716
  p(c, u) {
717
717
  let f = e;
@@ -726,7 +726,7 @@ function fe(t) {
726
726
  P(i), s = !1;
727
727
  },
728
728
  d(c) {
729
- c && L(a), d[e].d(c);
729
+ c && w(a), d[e].d(c);
730
730
  }
731
731
  };
732
732
  }
@@ -797,7 +797,7 @@ function he(t) {
797
797
  );
798
798
  },
799
799
  m(i, a) {
800
- w(i, e, a);
800
+ L(i, e, a);
801
801
  },
802
802
  p(i, a) {
803
803
  a[0] & /*lang*/
@@ -875,7 +875,7 @@ function he(t) {
875
875
  );
876
876
  },
877
877
  d(i) {
878
- i && L(e);
878
+ i && w(e);
879
879
  }
880
880
  };
881
881
  }
@@ -892,10 +892,10 @@ function ve(t) {
892
892
  ), s;
893
893
  return {
894
894
  c() {
895
- e = q("div"), i = new Fe(!1), s = O(), i.a = s, k(e, "class", "limitsDescription hidden");
895
+ e = q("div"), i = new Ye(!1), s = O(), i.a = s, k(e, "class", "limitsDescription hidden");
896
896
  },
897
897
  m(o, d) {
898
- w(o, e, d), i.m(a, e), z(e, s);
898
+ L(o, e, d), i.m(a, e), z(e, s);
899
899
  },
900
900
  p(o, d) {
901
901
  d[0] & /*$_*/
@@ -909,7 +909,7 @@ function ve(t) {
909
909
  ) + "") && i.p(a);
910
910
  },
911
911
  d(o) {
912
- o && L(e);
912
+ o && w(e);
913
913
  }
914
914
  };
915
915
  }
@@ -935,7 +935,7 @@ function mi(t) {
935
935
  (t[29] ? "GamingLimitsWrapperMobile" : ""));
936
936
  },
937
937
  m(r, j) {
938
- w(r, e, j), z(e, i), z(i, a), y && y.m(a, null), z(a, s), z(a, o), z(o, g), z(i, c), m[u].m(i, null), t[43](e), b = !0;
938
+ L(r, e, j), z(e, i), z(i, a), y && y.m(a, null), z(a, s), z(a, o), z(o, g), z(i, c), m[u].m(i, null), t[43](e), b = !0;
939
939
  },
940
940
  p(r, j) {
941
941
  /*isMobile*/
@@ -954,18 +954,18 @@ function mi(t) {
954
954
  P(f), b = !1;
955
955
  },
956
956
  d(r) {
957
- r && L(e), y && y.d(), m[u].d(), t[43](null);
957
+ r && w(e), y && y.d(), m[u].d(), t[43](null);
958
958
  }
959
959
  };
960
960
  }
961
961
  function di(t, e, i) {
962
962
  let a;
963
- Ve(t, Ze, (n) => i(26, a = n));
964
- let { $$slots: s = {}, $$scope: o } = e, { lang: d = "" } = e, { userid: g = "" } = e, { session: c = "" } = e, { endpoint: u = "" } = e, { currency: f = "" } = e, { apiversion: b = "" } = e, { tablabels: y = "" } = e, { historyenabled: h = "true" } = e, { enablecompliancetext: m = "false" } = e, { deletelimit: p = "" } = e, { limitsamount: r = "" } = e, { limitsperiods: j = "" } = e, { numberofentries: C = "" } = e, { customcurrencysymbols: ie = "" } = e, { limitformat: te = "" } = e, { allowedextenssion: ae = ".jpg,.jpeg,.png,.pdf,.webp,image/png" } = e, { filesizeallow: se = "12934000" } = e, { clientstyling: B = "" } = e, { clientstylingurl: N = "" } = e, { translationurl: V = "" } = e, { mbsource: G } = e, { customcontentontab: D = "" } = e, U = !0, S, Z = [], ne = [], x, I, M, H, F, _e = window.navigator.userAgent, re = Ge(_e) !== "PC", oe;
963
+ Ge(t, Je, (n) => i(26, a = n));
964
+ let { $$slots: s = {}, $$scope: o } = e, { lang: d = "" } = e, { userid: g = "" } = e, { session: c = "" } = e, { endpoint: u = "" } = e, { currency: f = "" } = e, { apiversion: b = "" } = e, { tablabels: y = "" } = e, { historyenabled: h = "true" } = e, { enablecompliancetext: m = "false" } = e, { deletelimit: p = "" } = e, { limitsamount: r = "" } = e, { limitsperiods: j = "" } = e, { numberofentries: C = "" } = e, { customcurrencysymbols: ie = "" } = e, { limitformat: te = "" } = e, { allowedextenssion: ae = ".jpg,.jpeg,.png,.pdf,.webp,image/png" } = e, { filesizeallow: se = "12934000" } = e, { clientstyling: B = "" } = e, { clientstylingurl: N = "" } = e, { translationurl: G = "" } = e, { mbsource: V } = e, { customcontentontab: D = "" } = e, U = !0, S, Z = [], ne = [], x, I, M, H, F, _e = window.navigator.userAgent, re = Ve(_e) !== "PC", oe;
965
965
  const ke = () => {
966
966
  ei(d);
967
967
  }, ze = () => {
968
- fetch(V).then((v) => v.json()).then((v) => {
968
+ fetch(G).then((v) => v.json()).then((v) => {
969
969
  Object.keys(v).forEach((K) => {
970
970
  me(K, v[K]);
971
971
  });
@@ -1028,7 +1028,7 @@ function di(t, e, i) {
1028
1028
  });
1029
1029
  }
1030
1030
  return t.$$set = (n) => {
1031
- "lang" in n && i(0, d = n.lang), "userid" in n && i(1, g = n.userid), "session" in n && i(2, c = n.session), "endpoint" in n && i(3, u = n.endpoint), "currency" in n && i(4, f = n.currency), "apiversion" in n && i(5, b = n.apiversion), "tablabels" in n && i(32, y = n.tablabels), "historyenabled" in n && i(6, h = n.historyenabled), "enablecompliancetext" in n && i(7, m = n.enablecompliancetext), "deletelimit" in n && i(8, p = n.deletelimit), "limitsamount" in n && i(33, r = n.limitsamount), "limitsperiods" in n && i(34, j = n.limitsperiods), "numberofentries" in n && i(9, C = n.numberofentries), "customcurrencysymbols" in n && i(10, ie = n.customcurrencysymbols), "limitformat" in n && i(11, te = n.limitformat), "allowedextenssion" in n && i(12, ae = n.allowedextenssion), "filesizeallow" in n && i(13, se = n.filesizeallow), "clientstyling" in n && i(14, B = n.clientstyling), "clientstylingurl" in n && i(15, N = n.clientstylingurl), "translationurl" in n && i(16, V = n.translationurl), "mbsource" in n && i(17, G = n.mbsource), "customcontentontab" in n && i(35, D = n.customcontentontab), "$$scope" in n && i(36, o = n.$$scope);
1031
+ "lang" in n && i(0, d = n.lang), "userid" in n && i(1, g = n.userid), "session" in n && i(2, c = n.session), "endpoint" in n && i(3, u = n.endpoint), "currency" in n && i(4, f = n.currency), "apiversion" in n && i(5, b = n.apiversion), "tablabels" in n && i(32, y = n.tablabels), "historyenabled" in n && i(6, h = n.historyenabled), "enablecompliancetext" in n && i(7, m = n.enablecompliancetext), "deletelimit" in n && i(8, p = n.deletelimit), "limitsamount" in n && i(33, r = n.limitsamount), "limitsperiods" in n && i(34, j = n.limitsperiods), "numberofentries" in n && i(9, C = n.numberofentries), "customcurrencysymbols" in n && i(10, ie = n.customcurrencysymbols), "limitformat" in n && i(11, te = n.limitformat), "allowedextenssion" in n && i(12, ae = n.allowedextenssion), "filesizeallow" in n && i(13, se = n.filesizeallow), "clientstyling" in n && i(14, B = n.clientstyling), "clientstylingurl" in n && i(15, N = n.clientstylingurl), "translationurl" in n && i(16, G = n.translationurl), "mbsource" in n && i(17, V = n.mbsource), "customcontentontab" in n && i(35, D = n.customcontentontab), "$$scope" in n && i(36, o = n.$$scope);
1032
1032
  }, t.$$.update = () => {
1033
1033
  t.$$.dirty[0] & /*lang*/
1034
1034
  1 && d && ke(), t.$$.dirty[0] & /*userid, session, endpoint, lang, apiversion*/
@@ -1036,10 +1036,10 @@ function di(t, e, i) {
1036
1036
  2 && g && c && u && y && d && b && we(), t.$$.dirty[1] & /*customcontentontab*/
1037
1037
  16 && D && Le(), t.$$.dirty[0] & /*mainContainer, isLoading*/
1038
1038
  1310720 && x && !U && J(0), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1039
- 540672 && B && S && Re(S, B), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1040
- 557056 && N && S && Ke(S, N), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
1041
- 655360 && G && S && Ye(S, `${G}.Style`), t.$$.dirty[0] & /*translationurl*/
1042
- 65536 && V && ze();
1039
+ 540672 && B && S && Qe(S, B), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1040
+ 557056 && N && S && Xe(S, N), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
1041
+ 655360 && V && S && $e(S, `${V}.Style`), t.$$.dirty[0] & /*translationurl*/
1042
+ 65536 && G && ze();
1043
1043
  }, [
1044
1044
  d,
1045
1045
  g,
@@ -1057,8 +1057,8 @@ function di(t, e, i) {
1057
1057
  se,
1058
1058
  B,
1059
1059
  N,
1060
- V,
1061
1060
  G,
1061
+ V,
1062
1062
  U,
1063
1063
  S,
1064
1064
  x,