@everymatrix/player-account-gaming-limits-wrapper-2 1.74.1 → 1.74.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/PlayerAccountGamingLimitsHistory2-CJC7ow27.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsHistory2-Cpa0GVk9.js → PlayerAccountGamingLimitsHistory2-IzKR8ALi.js} +995 -1016
- package/components/{PlayerAccountGamingLimitsHistory2-BNsAmZYN.js → PlayerAccountGamingLimitsHistory2-fnp_hf0j.js} +825 -846
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BFV8AsTQ.js → PlayerAccountGamingLimitsPage2Gm16-BPo5joen.js} +103 -103
- package/components/{PlayerAccountGamingLimitsPage2Gm16-FDXGogGx.cjs → PlayerAccountGamingLimitsPage2Gm16-Bnkpdvk9.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Blqvzy70.js → PlayerAccountGamingLimitsPage2Gm16-DfTXIKEb.js} +101 -101
- package/components/{PlayerAccountGamingLimitsWrapper2-Qlpam1Ug.js → PlayerAccountGamingLimitsWrapper2-C2QBpZYS.js} +37 -37
- package/components/{PlayerAccountGamingLimitsWrapper2-DrDAmn6B.js → PlayerAccountGamingLimitsWrapper2-Ci-VYOja.js} +45 -45
- package/components/{PlayerAccountGamingLimitsWrapper2-YXhxwwMw.cjs → PlayerAccountGamingLimitsWrapper2-Dd5nJ0ng.cjs} +1 -1
- package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
- package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
- package/esnext/player-account-gaming-limits-wrapper-2.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-BtPvM93e.js +519 -0
- package/stencil/index-b2193545-CgelUAhE.cjs +1 -0
- package/stencil/index-b2193545-D_KBbaD-.js +503 -0
- package/stencil/{ui-skeleton-BL4789dS.cjs → ui-skeleton-BPqjm-YB.cjs} +1 -1
- package/stencil/{ui-skeleton-Ca5rz3Hv.js → ui-skeleton-CWuMYFGQ.js} +2 -2
- package/stencil/{ui-skeleton-hI4GeaLk.js → ui-skeleton-NZtdK490.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-xLf3HyeB.cjs → ui-skeleton-ae35c6f2-CKJgMm_5.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BDBUiN3S.js → ui-skeleton-ae35c6f2-CW3z59Qf.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-Cn0ZM_hs.js → ui-skeleton-ae35c6f2-DlexSQlT.js} +1 -1
- package/components/PlayerAccountGamingLimitsHistory2-BsSmOM97.cjs +0 -18
- package/stencil/index-b2193545-BeKKnKhR.js +0 -519
- package/stencil/index-b2193545-HC0t7mHa.js +0 -503
- package/stencil/index-b2193545-YW9b062G.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var li=Object.defineProperty;var qe=Object.getOwnPropertySymbols;var ri=Object.prototype.hasOwnProperty,di=Object.prototype.propertyIsEnumerable;var Fe=(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={}))ri.call(t,i)&&Fe(o,i,t[i]);if(qe)for(var i of qe(t))di.call(t,i)&&Fe(o,i,t[i]);return o};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimitsHistory2-
|
|
1
|
+
"use strict";var li=Object.defineProperty;var qe=Object.getOwnPropertySymbols;var ri=Object.prototype.hasOwnProperty,di=Object.prototype.propertyIsEnumerable;var Fe=(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={}))ri.call(t,i)&&Fe(o,i,t[i]);if(qe)for(var i of qe(t))di.call(t,i)&&Fe(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 O={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 ui(o){e.$locale.set(o)}const re={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."},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."},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,E){e.insert(U,t,E),e.append(t,i),e.append(i,a),e.append(i,n),e.append(t,r),e.append(t,l),e.append(t,p),e.append(t,c),e.append(t,u),e.append(t,f),e.append(t,h),e.append(t,C),e.append(t,k),e.append(t,D),e.append(t,W),e.append(t,G),e.append(t,z),e.append(t,P),e.append(t,V)},d(U){U&&e.detach(t)}}}function vi(o){let t,i=o[28]("popupSuccess")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&268435456&&i!==(i=n[28]("popupSuccess")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function ki(o){let t,i=o[28]("docsRequired")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&268435456&&i!==(i=n[28]("docsRequired")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function bi(o){let t,i=o[28]("popupError")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&268435456&&i!==(i=n[28]("popupError")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function wi(o){let t,i=o[28]("okButton")+"",a,n,r;return{c(){t=e.element("button"),a=e.text(i),e.attr(t,"class","ConfirmButton")},m(l,p){e.insert(l,t,p),e.append(t,a),n||(r=e.listen(t,"click",o[41]),n=!0)},p(l,p){p[0]&268435456&&i!==(i=l[28]("okButton")+"")&&e.set_data(a,i)},d(l){l&&e.detach(t),n=!1,r()}}}function _i(o){let t,i=o[28]("uploadDocumentsButton")+"",a,n,r=o[28]("closeButton")+"",l,p,c;return{c(){t=e.element("button"),a=e.space(),n=e.element("button"),l=e.text(r),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,l),p||(c=[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&&r!==(r=u[28]("closeButton")+"")&&e.set_data(l,r)},d(u){u&&(e.detach(t),e.detach(a),e.detach(n)),p=!1,e.run_all(c)}}}function Si(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,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[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,r){for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(n,r);e.insert(n,t,r)},p(n,r){if(r[0]&16777216){i=e.ensure_array_like(Array.from(n[24]));let l;for(l=0;l<i.length;l+=1){const p=Ze(n,i,l);a[l]?a[l].p(p,r):(a[l]=Qe(p),a[l].c(),a[l].m(t.parentNode,t))}for(;l<a.length;l+=1)a[l].d(1);a.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(a,n)}}}function Qe(o){let t,i=o[146].name+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","historyItem")},m(n,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&16777216&&i!==(i=n[146].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,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&268435456&&i!==(i=n[28]("filesUploadError")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ai(o){let t,i,a,n,r,l,p,c,u,f,h=o[14]?`${o[28]("amount")}`:`${o[28](`new${o[8]}Limit`)}`,C,k,D,W,G,z,P=o[28]("setLimit")+"",V,U,E,A,T=e.ensure_array_like(o[6]),S=[];for(let v=0;v<T.length;v+=1)S[v]=nt(Ye(o,T,v));let y=o[1]==="true"&&st(o),b=o[13]&<(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(),r=e.element("form"),y&&y.c(),l=e.space(),b&&b.c(),p=e.space(),w&&w.c(),c=e.space(),u=e.element("label"),f=e.element("span"),C=e.text(h),k=e.space(),D=e.element("input"),W=e.space(),_&&_.c(),G=e.space(),z=e.element("button"),V=e.text(P),e.attr(a,"class","LimitsList "+(o[29]?"Desktop":"")),e.attr(f,"class","LimitInputText"),e.attr(D,"type","number"),e.attr(D,"pattern","[0-9]*"),e.attr(u,"class","LimitAmountInputWrapper"),e.attr(z,"class","LimitSubmitButton"),e.attr(z,"type","submit"),z.disabled=o[23],e.attr(r,"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,I){e.insert(v,t,I),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,r),y&&y.m(r,null),e.append(r,l),b&&b.m(r,null),e.append(r,p),w&&w.m(r,null),e.append(r,c),e.append(r,u),e.append(u,f),e.append(f,C),e.append(u,k),e.append(u,D),e.set_input_value(D,o[10]),e.append(u,W),_&&_.m(u,null),e.append(r,G),e.append(r,z),e.append(z,V),E||(A=[e.listen(D,"input",o[69]),e.listen(D,"input",o[33]),e.listen(r,"submit",o[34])],E=!0)},p(v,I){if(I[0]&939524164|I[1]&994){T=e.ensure_array_like(v[6]);let B;for(B=0;B<T.length;B+=1){const j=Ye(v,T,B);S[B]?S[B].p(j,I):(S[B]=nt(j),S[B].c(),S[B].m(a,null))}for(;B<S.length;B+=1)S[B].d(1);S.length=T.length}v[1]==="true"?y?y.p(v,I):(y=st(v),y.c(),y.m(r,l)):y&&(y.d(1),y=null),v[13]?b?b.p(v,I):(b=lt(v),b.c(),b.m(r,p)):b&&(b.d(1),b=null),v[14]?w?w.p(v,I):(w=dt(v),w.c(),w.m(r,c)):w&&(w.d(1),w=null),I[0]&268452096&&h!==(h=v[14]?`${v[28]("amount")}`:`${v[28](`new${v[8]}Limit`)}`)&&e.set_data(C,h),I[0]&1024&&e.to_number(D.value)!==v[10]&&e.set_input_value(D,v[10]),v[23]?_?_.p(v,I):(_=pt(v),_.c(),_.m(u,null)):_&&(_.d(1),_=null),I[0]&268435456&&P!==(P=v[28]("setLimit")+"")&&e.set_data(V,P),I[0]&8388608&&(z.disabled=v[23]),I[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(),E=!1,e.run_all(A)}}}function Ci(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 zi(o){let t,i,a,n,r,l,p=e.ensure_array_like(Array(3)),c=[];for(let u=0;u<p.length;u+=1)c[u]=Vi(mi(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<c.length;u+=1)c[u].c();r=e.space(),l=e.element("div"),l.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(l,"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<c.length;h+=1)c[h]&&c[h].m(i,null);e.append(t,r),e.append(t,l)},p:e.noop,d(u){u&&e.detach(t),e.destroy_each(c,u)}}}function Pi(o){let t,i,a,n=o[28]("noLimitText")+"",r;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),r=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,p){e.insert(l,t,p),e.append(t,i),e.append(i,a),e.append(a,r)},p(l,p){p[0]&268435456&&n!==(n=l[28]("noLimitText")+"")&&e.set_data(r,n)},d(l){l&&e.detach(t)}}}function ji(o){let t,i,a,n=o[28]("lugasPrivacy")+"",r;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),r=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,p){e.insert(l,t,p),e.append(t,i),e.append(i,a),e.append(a,r)},p(l,p){p[0]&268435456&&n!==(n=l[28]("lugasPrivacy")+"")&&e.set_data(r,n)},d(l){l&&e.detach(t)}}}function xi(o){let t,i=e.ensure_array_like(o[138].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,r){for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(n,r);e.insert(n,t,r)},p(n,r){if(r[0]&939524164|r[1]&738){i=e.ensure_array_like(n[138].currentLimits);let l;for(l=0;l<i.length;l+=1){const p=Je(n,i,l);a[l]?a[l].p(p,r):(a[l]=ot(p),a[l].c(),a[l].m(t.parentNode,t))}for(;l<a.length;l+=1)a[l].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")+"",r;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),r=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,p){e.insert(l,t,p),e.append(t,i),e.append(i,a),e.append(a,r)},p(l,p){p[0]&268435456&&n!==(n=l[28]("lugasPrivacy")+"")&&e.set_data(r,n)},d(l){l&&e.detach(t)}}}function Ei(o){let t,i=`${o[40](o[143])}`,a;return{c(){t=e.element("span"),a=e.text(i)},m(n,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&64&&i!==(i=`${n[40](n[143])}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Mi(o){let t,i=`${o[40](o[143],!0)}`,a;return{c(){t=e.element("span"),a=e.text(i)},m(n,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&64&&i!==(i=`${n[40](n[143],!0)}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function et(o){let t,i,a=`${o[40](o[143],!1,!0)}`,n,r,l=`${o[143].period!=="None"||o[143].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[143].period}`)} ${o[28]("updateAfterDocApproval")}`,p;return{c(){t=e.element("div"),i=e.element("span"),n=e.text(a),r=e.space(),p=e.text(l),e.attr(t,"class","PendingLimit")},m(c,u){e.insert(c,t,u),e.append(t,i),e.append(i,n),e.append(t,r),e.append(t,p)},p(c,u){u[0]&64&&a!==(a=`${c[40](c[143],!1,!0)}`)&&e.set_data(n,a),u[0]&268435520&&l!==(l=`${c[143].period!=="None"||c[143].value!=="cumulativeSession"?" ":c[28]("per")} ${c[28](`${c[143].period}`)} ${c[28]("updateAfterDocApproval")}`)&&e.set_data(p,l)},d(c){c&&e.detach(t)}}}function Ui(o){let t,i,a=`${o[40](o[143],!0)}`,n,r;function l(u,f){return u[143].isCoolOffCompleted?Oi:Ri}let p=l(o),c=p(o);return{c(){t=e.element("div"),i=e.element("span"),n=e.text(a),r=e.space(),c.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,r),c.m(t,null)},p(u,f){f[0]&64&&a!==(a=`${u[40](u[143],!0)}`)&&e.set_data(n,a),p===(p=l(u))&&c?c.p(u,f):(c.d(1),c=p(u),c&&(c.c(),c.m(t,null)))},d(u){u&&e.detach(t),c.d()}}}function Ii(o){let t,i=`${o[28]("removedLimitText")} ${o[143].expiryDate}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&268435520&&i!==(i=`${n[28]("removedLimitText")} ${n[143].expiryDate}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ni(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,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&268435456&&i!==(i=`${n[28]("removeAfterConfirm")}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Bi(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,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&268435456&&i!==(i=`${n[28]("acknowledgedLimit")}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ri(o){let t=`${o[143].period!=="None"||o[143].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[143].period}`)} ${o[28]("updateText")} ${o[143].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[143].period!=="None"||a[143].value!=="cumulativeSession"?" ":a[28]("per")} ${a[28](`${a[143].period}`)} ${a[28]("updateText")} ${a[143].expiryDate}`)&&e.set_data(i,t)},d(a){a&&e.detach(i)}}}function Oi(o){let t=`${o[143].period!=="None"||o[143].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[143].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[143].period!=="None"||a[143].value!=="cumulativeSession"?" ":a[28]("per")} ${a[28](`${a[143].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[143].scheduleId].timer+"",n,r,l,p;return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),e.attr(i,"class",r="ReloadLimitButton "+(o[29]?"":"Mobile")+" "+(o[27][o[143].scheduleId].timerStopped?"":"disabled")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(c,u){e.insert(c,t,u),e.append(t,i),e.append(i,n),l||(p=e.listen(i,"click",o[62]),l=!0)},p(c,u){u[0]&134217792&&a!==(a=c[27][c[143].scheduleId].timer+"")&&e.set_data(n,a),u[0]&134217792&&r!==(r="ReloadLimitButton "+(c[29]?"":"Mobile")+" "+(c[27][c[143].scheduleId].timerStopped?"":"disabled"))&&e.attr(i,"class",r)},d(c){c&&e.detach(t),l=!1,p()}}}function it(o){let t,i,a=o[28]("removeLimit")+"",n,r,l;function p(){return o[63](o[143])}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(c,u){e.insert(c,t,u),e.append(t,i),e.append(i,n),r||(l=e.listen(i,"click",p),r=!0)},p(c,u){o=c,u[0]&268435456&&a!==(a=o[28]("removeLimit")+"")&&e.set_data(n,a)},d(c){c&&e.detach(t),r=!1,l()}}}function at(o){let t,i,a=o[28]("confirmUpdateLimit")+"",n,r,l,p=o[28]("cancelUpdateLimit")+"",c,u,f;function h(){return o[64](o[143])}function C(){return o[65](o[143])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),r=e.space(),l=e.element("button"),c=e.text(p),e.attr(i,"class","ConfirmLimitButton "+(o[29]?"":"Mobile")),e.attr(l,"class","CancelLimitButton "+(o[29]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(k,D){e.insert(k,t,D),e.append(t,i),e.append(i,n),e.append(t,r),e.append(t,l),e.append(l,c),u||(f=[e.listen(i,"click",h),e.listen(l,"click",C)],u=!0)},p(k,D){o=k,D[0]&268435456&&a!==(a=o[28]("confirmUpdateLimit")+"")&&e.set_data(n,a),D[0]&268435456&&p!==(p=o[28]("cancelUpdateLimit")+"")&&e.set_data(c,p)},d(k){k&&e.detach(t),u=!1,e.run_all(f)}}}function ot(o){let t,i,a,n,r,l=`${o[143].period!=="None"||o[143].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[143].period}`)}`,p,c,u,f,h,C=!o[143].isModified&&o[2].indexOf(o[138].value)>-1&&!o[143].reviewPending.id,k,D;function W(y,b){return y[143].acknowledgedLimit?Mi:Ei}let G=W(o),z=G(o),P=o[143].reviewPending&&o[143].reviewPending.id&&et(o);function V(y,b){if(y[143].acknowledgedLimit)return Bi;if(y[143].isModified&&y[143].updateAmount==0&&y[143].isCoolOffCompleted)return Ni;if(y[143].isModified&&y[143].updateAmount==0&&!y[143].isCoolOffCompleted)return Ii;if(y[143].isModified)return Ui}let U=V(o),E=U&&U(o),A=o[143].acknowledgedLimit&&!o[143].reviewPending.id&&tt(o),T=C&&it(o),S=o[143].isCoolOffCompleted&!o[143].acknowledgedLimit&&!o[143].reviewPending.id&&at(o);return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),n=e.element("div"),z.c(),r=e.space(),p=e.text(l),c=e.space(),P&&P.c(),u=e.space(),E&&E.c(),f=e.space(),A&&A.c(),h=e.space(),T&&T.c(),k=e.space(),S&&S.c(),D=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),z.m(n,null),e.append(n,r),e.append(n,p),e.append(a,c),P&&P.m(a,null),e.append(a,u),E&&E.m(a,null),e.append(i,f),A&&A.m(i,null),e.append(i,h),T&&T.m(i,null),e.append(i,k),S&&S.m(i,null),e.append(t,D)},p(y,b){G===(G=W(y))&&z?z.p(y,b):(z.d(1),z=G(y),z&&(z.c(),z.m(n,r))),b[0]&268435520&&l!==(l=`${y[143].period!=="None"||y[143].value!=="cumulativeSession"?" ":y[28]("per")} ${y[28](`${y[143].period}`)}`)&&e.set_data(p,l),y[143].reviewPending&&y[143].reviewPending.id?P?P.p(y,b):(P=et(y),P.c(),P.m(a,u)):P&&(P.d(1),P=null),U===(U=V(y))&&E?E.p(y,b):(E&&E.d(1),E=U&&U(y),E&&(E.c(),E.m(a,null))),y[143].acknowledgedLimit&&!y[143].reviewPending.id?A?A.p(y,b):(A=tt(y),A.c(),A.m(i,h)):A&&(A.d(1),A=null),b[0]&68&&(C=!y[143].isModified&&y[2].indexOf(y[138].value)>-1&&!y[143].reviewPending.id),C?T?T.p(y,b):(T=it(y),T.c(),T.m(i,k)):T&&(T.d(1),T=null),y[143].isCoolOffCompleted&!y[143].acknowledgedLimit&&!y[143].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),z.d(),P&&P.d(),E&&E.d(),A&&A.d(),T&&T.d(),S&&S.d()}}}function nt(o){let t,i,a=o[39](o[138])+"",n,r,l;function p(f,h){return f[138].value==="lugas"?Ti:f[138].currentLimits.length>0?xi:f[138].value==="lugas"?ji:Pi}let c=p(o),u=c(o);return{c(){t=e.element("div"),i=e.element("p"),n=e.text(a),r=e.space(),u.c(),l=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,r),u.m(t,null),e.append(t,l)},p(f,h){h[0]&64&&a!==(a=f[39](f[138])+"")&&e.set_data(n,a),c===(c=p(f))&&u?u.p(f,h):(u.d(1),u=c(f),u&&(u.c(),u.m(t,l)))},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(r,l){e.insert(r,t,l),e.append(t,i),e.append(i,n)},p(r,l){l[0]&268435456&&a!==(a=r[28]("complianceText")+"")&&e.set_data(n,a)},d(r){r&&e.detach(t)}}}function lt(o){let t,i,a=o[28]("limitType")+"",n,r,l,p,c,u=e.ensure_array_like(o[6]),f=[];for(let h=0;h<u.length;h+=1)f[h]=rt(Ke(o,u,h));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(a),r=e.space(),l=e.element("select");for(let h=0;h<f.length;h+=1)f[h].c();e.attr(i,"class","LimitSelectText"),e.attr(l,"name",""),e.attr(l,"id",""),o[9]===void 0&&e.add_render_callback(()=>o[66].call(l)),e.attr(t,"class","LimitTypeDropdownWrapper")},m(h,C){e.insert(h,t,C),e.append(t,i),e.append(i,n),e.append(t,r),e.append(t,l);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(l,null);e.select_option(l,o[9],!0),p||(c=[e.listen(l,"change",o[66]),e.listen(l,"change",o[67])],p=!0)},p(h,C){if(C[0]&268435456&&a!==(a=h[28]("limitType")+"")&&e.set_data(n,a),C[0]&64|C[1]&256){u=e.ensure_array_like(h[6]);let k;for(k=0;k<u.length;k+=1){const D=Ke(h,u,k);f[k]?f[k].p(D,C):(f[k]=rt(D),f[k].c(),f[k].m(l,null))}for(;k<f.length;k+=1)f[k].d(1);f.length=u.length}C[0]&512&&e.select_option(l,h[9])},d(h){h&&e.detach(t),e.destroy_each(f,h),p=!1,e.run_all(c)}}}function rt(o){let t,i=o[39](o[138])+"",a;return{c(){t=e.element("option"),a=e.text(i),t.__value=o[140],e.set_input_value(t,t.__value)},m(n,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&64&&i!==(i=n[39](n[138])+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function dt(o){let t,i,a=o[28]("period")+"",n,r,l,p,c,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),r=e.space(),l=e.element("select");for(let h=0;h<f.length;h+=1)f[h].c();e.attr(i,"class","PeriodSelectText"),e.attr(l,"name",""),e.attr(l,"id",""),o[8]===void 0&&e.add_render_callback(()=>o[68].call(l)),e.attr(t,"class","LimitPeriodDropdownWrapper")},m(h,C){e.insert(h,t,C),e.append(t,i),e.append(i,n),e.append(t,r),e.append(t,l);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(l,null);e.select_option(l,o[8],!0),p||(c=e.listen(l,"change",o[68]),p=!0)},p(h,C){if(C[0]&268435456&&a!==(a=h[28]("period")+"")&&e.set_data(n,a),C[0]&268435616){u=e.ensure_array_like(h[5][h[7]].periods);let k;for(k=0;k<u.length;k+=1){const D=He(h,u,k);f[k]?f[k].p(D,C):(f[k]=ut(D),f[k].c(),f[k].m(l,null))}for(;k<f.length;k+=1)f[k].d(1);f.length=u.length}C[0]&416&&e.select_option(l,h[8])},d(h){h&&e.detach(t),e.destroy_each(f,h),p=!1,c()}}}function ut(o){let t,i=o[28](o[135])+"",a,n;return{c(){t=e.element("option"),a=e.text(i),t.__value=n=o[135],e.set_input_value(t,t.__value),t.selected=!0},m(r,l){e.insert(r,t,l),e.append(t,a)},p(r,l){l[0]&268435616&&i!==(i=r[28](r[135])+"")&&e.set_data(a,i),l[0]&160&&n!==(n=r[135])&&(t.__value=n,e.set_input_value(t,t.__value))},d(r){r&&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,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[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 Vi(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 Wi(o){let t,i,a=o[18]&&Xe(o);function n(p,c){if(p[15])return zi;if(p[16])return Ci;if(!p[15])return Ai}let r=n(o),l=r&&r(o);return{c(){t=e.element("div"),a&&a.c(),i=e.space(),l&&l.c()},m(p,c){e.insert(p,t,c),a&&a.m(t,null),e.append(t,i),l&&l.m(t,null),o[70](t)},p(p,c){p[18]?a?a.p(p,c):(a=Xe(p),a.c(),a.m(t,i)):a&&(a.d(1),a=null),r===(r=n(p))&&l?l.p(p,c):(l&&l.d(1),l=r&&r(p),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),a&&a.d(),l&&l.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:r=""}=t,{limits:l=""}=t,{session:p=""}=t,{userid:c=""}=t,{endpoint:u=""}=t,{apiversion:f=""}=t,{customcurrencysymbols:h=""}=t,{enablecompliancetext:C=""}=t,{deletelimit:k=""}=t,{amountsconfig:D=""}=t,{periodsconfig:W=""}=t,{limittabindex:G=""}=t,{limitformat:z=""}=t,{allowedextenssion:P=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:V="12934000"}=t,{clientstyling:U=""}=t,{clientstylingurl:E=""}=t,{mbsource:A}=t,{translationurl:T=""}=t,S,y=window.navigator.userAgent,b=!e.isMobile(y),w=[],_="",v="",I="",B=0,j,ae="",ne="",de="",X={},H={},K=!1,N=!1,M=!0,Z=!1,_e=!1,pe=!1,ee=!1,$="",ce="",q=[],fe,Pe,ge=!1,ct={},se="",ue,be={remove:{}},le=!1,Le=!1,me={EUR:"€",RON:" lei",USD:"$"},Y={};const Se={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},je={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},ft=()=>{fetch(T).then(d=>d.json()).then(d=>{Object.keys(d).forEach(m=>{Ge(m,d[m])})}).catch(d=>{console.log(d)})};Object.keys(re).forEach(s=>{Ge(s,re[s])});const De=s=>`dataLayer-${s}`,J=(s,d)=>{typeof gtag=="function"&>ag({event:s,limit_category:re[n][De(I.toLowerCase())]||I,limit_type:re[n][De(_.toLowerCase())]||_,limit_period:re[n][De(v.toLowerCase())]||v,limit_amount:j||d})},gt=()=>{var L;const s=D.split(",").map(g=>g.split(":")),d=W.split(",").map(g=>g.split(":"));for(let[g,x]of s.entries())if(x[0]!==d[g][0])throw new Error(`Limit config mismatch: "${x[0]}" does not match "${d[g][0]}"`);const m=s.reduce((g,x,R)=>{const F=x[0].slice(x[0].indexOf("(")+1,x[0].indexOf(")")),ie=x[0].slice(0,x[0].indexOf("(")),ve=x[1],ke=d[R][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),ze={value:F,product:ie,minMax:ve,periods:ke,callValue:O[F].callValue,callValue16:O[F].callValue16,title:O[F].title};return g.push(ze),g},[]);for(let g=0;g<m.length;g++)i(6,w[g].product=m[g].product,w),i(6,w[g].min=parseInt(m[g].minMax.split("-")[0],10),w),i(6,w[g].max=parseInt(m[g].minMax.split("-")[1],10),w),i(5,O[m[g].value].periods=m[g].periods,O);de=(L=w[0])==null?void 0:L.value,w.forEach(g=>{X[g.value]={min:g.min,max:g.max},ct[g.value]=g.product}),X&&(X[de]?(i(11,ae=X[de].min),i(12,ne=X[de].max)):(i(11,ae=1),i(12,ne=9999999)))},Lt=()=>{const s=/\(([^)]+)\)/g;return[...D.matchAll(s)].flat().filter(m=>!m.includes("("))},ht=()=>{Lt().forEach(d=>{O[d]?w.push(we({},O[d])):console.error(`Unknown limit: ${d}`)}),gt(),i(7,_=w[0].value),i(8,v=O[_].periods[0]),I=w[0].product,i(13,K=w.length>1),i(14,N=O[_].periods.length>1)},xe=()=>{i(7,_=w[B].value),i(8,v=O[_].periods[0]),i(14,N=O[_].periods.length>1)},Te=()=>{I=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,Z=!0);let d;throw s.json().then(m=>{for(const L in je)if(m.error&&je[L].some(g=>m.error.includes(g))){d=L;break}console.error("errType",d),!d&&ye(m)}).finally(()=>{d&&ye(d),i(16,Z=!1),i(15,M=!1)}),new Error("An error occured during the fetch request")},vt=()=>{if(!(j>0))return;oe(),i(15,M=!0);let s=new URL(`/v2/player/${c}/limits`,u),d={};_==="sessionLimit"?d={sessionLimit:j,sessionLimitUnit:"minute"}:_==="cumulativeSession"?d[O[_].callValue]=[{period:v,minutes:j}]:d[O[_].callValue]=[{period:O[_].periods[0]==="None"?null:v,amount:j,currency:r}];let m={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(d)};fetch(s.href,m).then(L=>Q(L)).then(L=>{J("self_limitation_success"),te()}).catch(L=>{console.error(L),i(16,Z=!0)})},Ee=()=>{const d=w[B].currentLimits.find(ie=>ie.period===v),m=Tt();if(m&&m.reviewPending&&m.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("limitInDocReview")}},window.location.href);if(oe(),i(15,M=!0),m&&m.reviewRequired&&!se&&j>m.amount){i(26,Le=!0),i(19,ee=!0);return}const L=d?"v2":"v1",g=new URL(`/${L}/player/${c}/limits/monetary/${d?d.id:""}`,u),x=d?"PUT":"POST",R=d?se?{amount:j,skipCoolOff:!1,payload:{DocumentId:se}}:{amount:j,skipCoolOff:!1}:{amount:j,currency:r,period:O[_].periods[0]==="None"?null:v,type:O[_].callValue16,products:[I!=null?I:"All"],walletTypes:["Deposit","NetDeposit"].includes(O[_].callValue16)?["All"]:["RealCash"]};let F={method:x,headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(R)};fetch(g.href,F).then(ie=>Q(ie)).then(ie=>{J("self_limitation_success"),te()}).catch(ie=>{console.log(ie)}).finally(()=>{i(26,Le=!1),se=""})},kt=()=>{if(!(j>0))return;oe(),i(15,M=!0);const s=new URL(`/v1/player/${c}/limits/session/`,u);let L={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:j,sessionLimitUnit:"minute"})};fetch(s.href,L).then(g=>Q(g)).then(g=>{J("self_limitation_success"),te()}).catch(g=>{console.log(g),i(16,Z=!0)})},bt=()=>{if(!(j>0))return;oe(),i(15,M=!0);const s=new URL(`/v1/player/${c}/limits/session/`,u);let L={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:v,minutes:j}]})};fetch(s.href,L).then(g=>Q(g)).then(g=>{J("self_limitation_success"),te()}).catch(g=>{console.log(g),i(16,Z=!0)})},wt=()=>{if(!(j>0))return;oe(),i(15,M=!0);const s=new URL(`/v2/player/${c}/limit/lugas`,u);let L={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,L).then(g=>Q(g)).then(g=>{i(22,fe=g.popup),g.operatorDepositLimitAmount,Pe=g.regulatorDepositLimitAmount,J("self_limitation_success"),te()}).catch(g=>{console.log(g),i(16,Z=!0)})},_t=()=>{if(H={},f==="gm16")switch(_){case"lugas":wt();break;case"sessionLimit":kt();break;case"cumulativeSession":bt();break;default:Ee();break}else if(f==="gmcore")vt();else throw Error(`Invalid apiversion attribute: ${f}`);J("self_limitation_request")},te=()=>{switch(f){case"gmcore":St();break;case"gm16":Dt();break}},St=()=>{i(15,M=!0);let s=new URL(`/v2/player/${c}/limits`,u),d={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,d).then(m=>Q(m)).then(m=>{q=m,pe&&ye(),Me(q),At(q),i(10,j=null)}).catch(m=>{console.error("Error LimitsWidget: ",m),i(16,Z=!0)}).finally(()=>{i(15,M=!1)})},Dt=()=>{i(15,M=!0),q=[];let s=new URL(`/v1/player/${c}/limits/monetary`,u),d=new URL(`/v1/player/${c}/limits/session`,u),m=!1,L={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,L).then(g=>Q(g)).then(g=>{q.push(g),f==="gmcore"&&Me(q),f==="gm16"&&Ct(q),pe&&ye(),i(10,j=null)}).catch(g=>{console.error("Error LimitsWidget: ",g),i(16,Z=!0)}).finally(()=>{m&&i(15,M=!1),m=!0}),fetch(d.href,L).then(g=>Q(g)).then(g=>{q.push(g),pe&&ye(),f==="gm16"&&zt(q),f==="gm16"&&Pt(q),i(10,j=null)}).catch(g=>{console.error("Error LimitsWidget: ",g),i(16,Z=!0)}).finally(()=>{m&&i(15,M=!1),m=!0})},Me=s=>{w.forEach(d=>{d.currentLimits=[];const m=Array.isArray(s[O[d.value].callValue])?s[O[d.value].callValue]:[s[O[d.value].callValue]];m.length===0||m[0]===void 0||(m.forEach((L,g)=>{var R;const x=s[O[d.value].callValue][g];d.currentLimits.push({}),d.currentLimits[g].limitType=d.value,d.currentLimits[g].amount=z?x.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(x.amount),d.currentLimits[g].currency=(R=me[x.currency])!=null?R:x.currency,d.currentLimits[g].period=x.period,d.currentLimits[g].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(x.updateAmount),d.currentLimits[g].isModified=x.isModified,d.currentLimits[g].expiryDate=`${new Date(x.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),d.currentLimits=he(d.currentLimits))})},At=s=>{const d=a("minutes");w.filter(m=>m.value==="sessionLimit"||m.value==="cumulativeSession").forEach(m=>{var L;m.currentLimits=[],(L=s[O[m.value].callValue])==null||L.forEach((g,x)=>{const R=s[O[m.value].callValue][x];m.currentLimits.push({limitType:m.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(R.minutes),currency:d,isModified:R.isModified,period:m.value==="cumulativeSession"?R.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(R.updateMinutes),expiryDate:`${new Date(R.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),m.currentLimits=he(m.currentLimits)})},Ct=s=>{var d;(d=s[0])!=null&&d.limits&&w.forEach(m=>{var L;m.currentLimits=[];for(const g of s[0].limits)if(g.type===m.callValue16&&g.products.includes(m.product)){let x=0,R=g.schedules.length>0?g.schedules.find(F=>F.id):{};g.schedules.length>0&&(x=z?R.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(R.updateAmount)),m.currentLimits.push({limitType:m.value,amount:z?g.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(g.amount),currency:(L=me[g.currency])!=null?L:g.currency,isModified:g.schedules.length>0,period:g.period,product:g.products[0],updateAmount:x,isCoolOffCompleted:R?R.isCoolOffCompleted:!1,reviewRequired:g.reviewRequired?g.reviewRequired:!1,reviewPending:g.reviewPending?g.reviewPending:{},scheduleId:R?R.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}),m.currentLimits.forEach(F=>{F.acknowledgedLimit=Object.keys(Y).some(ie=>F.scheduleId===ie)})}m.currentLimits=he(m.currentLimits)})},zt=s=>{var d;(d=s[1])!=null&&d.sessionLimit&&w.filter(m=>m.value==="sessionLimit").forEach(m=>{m.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s[1].sessionLimit.minutes),currency:a("minutes"),isModified:s[1].sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s[1].sessionLimit.updateMinutes),expiryDate:s[1].sessionLimit.expiryDate}),m.currentLimits=he(m.currentLimits)})},Pt=s=>{var d;(d=s[1])!=null&&d.cumulativeSessionLimits&&w.filter(m=>m.value==="cumulativeSession").forEach(m=>{for(const L of s[1].cumulativeSessionLimits)m.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(L.minutes),currency:a("minutes"),isModified:L.isModified,period:L.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(L.updateMinutes),expiryDate:L.expiryDate});m.currentLimits=he(m.currentLimits)})},he=s=>{const d={Daily:0,Weekly:1,Monthly:2};return s.sort((m,L)=>d[m.period]-d[L.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<ae||d>ne)},jt=s=>{s.preventDefault(),Ue(),ge||_t()},Ie=()=>{i(23,ge=!1),X!=null&&X[_]?(i(11,ae=X[_].min),i(12,ne=X[_].max)):(i(11,ae=1),i(12,ne=9999999))},xt=()=>{if(q){const s=q[O[_].callValue].find(L=>L.period===v),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let m=a("popupImmediateUpdate").replace("{selectedLimit}",Ae(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)`:m)}i(19,ee=!0)},Tt=()=>{var m;if(!q)return;const s=((m=q[0])==null?void 0:m.limits)||q.limits;let d=null;return Object.keys(H).length>0?d=s.find(L=>L.id===H.id):d=s.find(L=>L.type.toLowerCase()===Se[_].toLowerCase()&&(L.period===v||L.period==="None")&&L.products[0]===I),(d==null?void 0:d.schedules.length)>0&&Y[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount),d},Et=()=>{var x;const s=((x=q[0])==null?void 0:x.limits)||q.limits;let d=null;if(!q){i(19,ee=!0);return}Object.keys(H).length>0?d=s.find(R=>R.id===H.id):d=s.find(R=>R.type.toLowerCase()===Se[_].toLowerCase()&&(R.period===v||R.period==="None")&&R.products[0]===I),(d==null?void 0:d.schedules.length)>0&&Y[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount);const m=Ve(d)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(d.amount),L=d.schedules.length>0?`${new Date(d.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let g=a("popupImmediateUpdate").replace("{selectedLimit}",Ae(d)).replace("{updatedAmount}",m).replace("{selectedPeriod}",a(`${d.period}`));d.schedules.length>0&&Y[d.schedules[0].id]?i(20,$=g):i(20,$=d.schedules.length>0?`${a("popupPendingUpdate")} ${L}`:g),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(Pe)} ${r} ${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)},It=()=>{if(q){const s=q[O[_].callValue].find(L=>(L.period===v||v==="None")&&L.products[0]===I),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let m=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)`:m)}i(19,ee=!0)},Nt=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,m;return((d=s.details)==null?void 0:d.includes("Invalid Session"))||((m=s.error)==null?void 0:m.includes("Invalid Session"))},ye=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),Z){if(i(17,_e=!0),!s){i(19,ee=!0);return}s.thirdPartyResponse||i(20,$=a(`${s}`)),s.thirdPartyResponse&&i(20,$=s.thirdPartyResponse.message),Nt(s)&&i(20,$=a("popupUpdateLimitException")),Bt(s)&&i(20,$=a("popupRemoveLimitException")),Rt(s)&&i(20,$=a("notFoundException")),Ot(s)&&i(20,$=a("sessionExpiredException")),i(19,ee=!0);return}switch(f){case"gmcore":_==="sessionLimit"||_==="cumulativeSession"?It():xt();break;case"gm16":_==="lugas"?Mt():_==="sessionLimit"||_==="cumulativeSession"?Ut():Et();break;default:throw new Error(`Invalid apiversion attribute: ${f}`)}},oe=()=>{i(18,pe=!0),window.postMessage({type:"DisableScroll"},window.location.href)},Vt=s=>{i(7,_=s.limitType),i(8,v=s.period),oe(),i(15,M=!0);let d=new URL(`/v2/player/${c}/limits/${Se[s.limitType]}`,u);s.limitType!=="sessionLimit"&&d.searchParams.append("periods",s.period);let m={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,m).then(L=>Q(L)).then(L=>{J("self_limitation_cancel_success",s.amount),te()}).catch(L=>{J("self_limitation_cancel_failed",s.amount),console.log(L),i(16,Z=!0)})},Ne=s=>{switch(s.period,be.remove=s,f){case"gmcore":Vt(s);break;case"gm16":H=s,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?Wt(s):Be(s);break}J("self_limitation_cancel_request",s.amount)},Wt=s=>{const d=new URL(`/v1/player/${c}/limits/session/session`,u),m=new URL(`/v1/player/${c}/limits/session/cumulativeSession?periods=${s.period}`,u);let L;switch(s.limitType){case"sessionLimit":L=d;break;case"cumulativeSession":L=m;break;default:throw Error(`Unknown limit.limitType: ${s.limitType}`)}oe(),i(15,M=!0);let g={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(L.href,g).then(x=>Q(x)).then(x=>{J("self_limitation_cancel_success",s.amount),te()}).catch(x=>{J("self_limitation_cancel_failed",s.amount),console.log(x),i(16,Z=!0)})},Be=s=>{if(oe(),i(15,M=!0),s&&s.reviewRequired&&!se){i(26,Le=!0),i(19,ee=!0);return}const d=new URL(`/v1/player/${c}/limits/monetary/${s.id}`,u);let m={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};se&&d.searchParams.append("documentId",se),fetch(d.href,m).then(L=>Q(L)).then(L=>{J("self_limitation_cancel_success",s.amount),te()}).catch(L=>{J("self_limitation_cancel_failed",s.amount),console.log(L),i(16,Z=!0)}).finally(()=>{be.remove={},i(26,Le=!1),se=""})},Re=s=>{const d=new URL(`/v1/player/${c}/limits/schedule/${s.scheduleId}`,u);oe(),i(15,M=!0);let m={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,m).then(L=>Q(L)).then(L=>{H=s,J("self_limitation_cancel_success",s.updateAmount),te()}).catch(L=>{J("self_limitation_cancel_failed",s.updateAmount),console.log(L),i(16,Z=!0)})},Oe=s=>{const d=new URL(`v1/player/${c}/limits/schedule/acknowledge/${s.scheduleId}`,u);oe(),i(15,M=!0);let m={method:"PATCH",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,m).then(L=>Q(L)).then(L=>{H=s,qt(s),J("self_limitation_confirm_success",s.amount),te()}).catch(L=>{J("self_limitation_confirm_failed",s.amount),console.log(L),i(16,Z=!0)})},qt=s=>{let d=60;i(27,Y[s.scheduleId]={},Y),i(27,Y[s.scheduleId].timer=`${d} ${re[n].seconds}`,Y),i(27,Y[s.scheduleId].timerStopped=!1,Y);let m=window.setInterval(()=>d===0?(window.clearInterval(m),i(27,Y[s.scheduleId].timerStopped=!0,Y),i(27,Y[s.scheduleId].timer=re[n].reloadLimitsButton,Y)):i(27,Y[s.scheduleId].timer=`${--d} ${re[n].seconds}`,Y),1e3)},Ae=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,m=!1)=>{if(!z)return m?`${s.reviewPending.requestAmount}${s.currency}`:d?`${s.updateAmount}${s.currency}`:`${s.amount}${s.currency}`;let L=z;const g=L.match(/\{(\d+)decimals\}/),x=g?parseInt(g[1],10):2,R=g?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let F;m?F=s.reviewPending.requestAmount||0:F=d?s.updateAmount:s.amount,F=parseInt(F).toFixed(x);const[ie,ve]=z.includes(".")?[",","."]:[".",","];let[ke,ze]=F.split(".");return ke=ke.replace(/\B(?=(\d{3})+(?!\d))/g,ie),F=`${ke}${ve}${ze}`,L=L.replace("{currency}",me[s.currency]||s.currency).replace("{amount}",F.split(ve)[0]).replace(R,F.split(ve)[1]),L},Ce=()=>{i(19,ee=i(18,pe=!1)),i(21,ce=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Ft=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Ce()},Gt=s=>{let d=0;return Object.keys(s).forEach(m=>{d+=s[m].size}),d<=Number(V)},Ht=s=>{let d=!1;return Object.keys(s).forEach(m=>{const L=s[m].name.split(".").pop();return P.includes(L)?d=!0:d=!1}),d},We=s=>!s&&!(s.length>0)?i(25,le=!1):(i(24,ue=s),Gt(ue)?Ht(ue)?i(25,le=!0):(console.error(a("fileExtenssionDeny")),i(25,le=!1)):(console.error(a("fileSizeExceeded")),i(25,le=!1))),Kt=()=>{if(!le)return;i(19,ee=!1);const s=new URL(`/api/v1/mm/content/${c}/url-upload/`,u),d={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":p},body:JSON.stringify({})};fetch(s,d).then(m=>Q(m)).then(m=>{Yt(m)}).catch(m=>{console.error(a("errorUploadDocument"),m),i(24,ue=null),i(25,le=!1)})},Yt=s=>{const d=new FormData;d.append(s.requestId,ue[0]),fetch(s.url,{method:"POST",body:d}).then(m=>Q(m)).then(m=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:a("uploadSuccess")}},window.location.href),se=m.Files[0].Reference,be.remove.id?Be(be.remove):Ee()}).catch(m=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("errorUploadDocument")}},window.location.href),console.error(a("errorUploadDocument"),m)}).finally(()=>{Ce(),i(24,ue=null),i(25,le=!1)})},Jt=()=>{if(!h)return;let s={};h.split(",").forEach(d=>{let m=d.split(":");s[m[0].trim()]=m[1].trim()}),me=we(we({},me),s)},Zt=()=>{ui(n)};e.onMount(()=>()=>{});const Xt=s=>We(s.target.files),Qt=()=>te(),$t=s=>Ne(s),ei=s=>Oe(s),ti=s=>Re(s);function ii(){B=e.select_value(this),i(9,B)}const ai=()=>{Te(),xe(),Ie()};function oi(){v=e.select_value(this),i(8,v),i(5,O),i(7,_)}function ni(){j=e.to_number(this.value),i(10,j)}function si(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,r=s.currency),"limits"in s&&i(46,l=s.limits),"session"in s&&i(47,p=s.session),"userid"in s&&i(48,c=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,C=s.enablecompliancetext),"deletelimit"in s&&i(2,k=s.deletelimit),"amountsconfig"in s&&i(52,D=s.amountsconfig),"periodsconfig"in s&&i(53,W=s.periodsconfig),"limittabindex"in s&&i(3,G=s.limittabindex),"limitformat"in s&&i(54,z=s.limitformat),"allowedextenssion"in s&&i(55,P=s.allowedextenssion),"filesizeallow"in s&&i(56,V=s.filesizeallow),"clientstyling"in s&&i(57,U=s.clientstyling),"clientstylingurl"in s&&i(58,E=s.clientstylingurl),"mbsource"in s&&i(59,A=s.mbsource),"translationurl"in s&&i(60,T=s.translationurl)},o.$$.update=()=>{o.$$.dirty[1]&1048576&&h&&Jt(),o.$$.dirty[1]&6291456&&W&&D&&ht(),o.$$.dirty[1]&16384&&n&&Zt(),o.$$.dirty[1]&999424&&c&&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&&E&&S&&e.setClientStylingURL(S,E),o.$$.dirty[0]&16|o.$$.dirty[1]&268435456&&A&&S&&e.setStreamStyling(S,`${A}.Style`),o.$$.dirty[1]&536870912&&T&&ft()},[r,C,k,G,S,O,w,_,v,B,j,ae,ne,K,N,M,Z,_e,pe,ee,$,ce,fe,ge,ue,le,Le,Y,a,b,xe,Te,te,Ue,jt,Ie,Ne,Re,Oe,Ae,Ve,Ce,Ft,We,Kt,n,l,p,c,u,f,h,D,W,z,P,V,U,E,A,T,Xt,Qt,$t,ei,ti,ii,ai,oi,ni,si]}class mt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,qi,Wi,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},pi,[-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,E){e.insert(U,t,E),e.append(t,i),e.append(i,a),e.append(i,n),e.append(t,r),e.append(t,l),e.append(t,p),e.append(t,c),e.append(t,u),e.append(t,f),e.append(t,h),e.append(t,C),e.append(t,k),e.append(t,D),e.append(t,W),e.append(t,G),e.append(t,z),e.append(t,P),e.append(t,V)},d(U){U&&e.detach(t)}}}function vi(o){let t,i=o[28]("popupSuccess")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&268435456&&i!==(i=n[28]("popupSuccess")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function ki(o){let t,i=o[28]("docsRequired")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&268435456&&i!==(i=n[28]("docsRequired")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function bi(o){let t,i=o[28]("popupError")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&268435456&&i!==(i=n[28]("popupError")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function wi(o){let t,i=o[28]("okButton")+"",a,n,r;return{c(){t=e.element("button"),a=e.text(i),e.attr(t,"class","ConfirmButton")},m(l,p){e.insert(l,t,p),e.append(t,a),n||(r=e.listen(t,"click",o[41]),n=!0)},p(l,p){p[0]&268435456&&i!==(i=l[28]("okButton")+"")&&e.set_data(a,i)},d(l){l&&e.detach(t),n=!1,r()}}}function _i(o){let t,i=o[28]("uploadDocumentsButton")+"",a,n,r=o[28]("closeButton")+"",l,p,c;return{c(){t=e.element("button"),a=e.space(),n=e.element("button"),l=e.text(r),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,l),p||(c=[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&&r!==(r=u[28]("closeButton")+"")&&e.set_data(l,r)},d(u){u&&(e.detach(t),e.detach(a),e.detach(n)),p=!1,e.run_all(c)}}}function Si(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,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[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,r){for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(n,r);e.insert(n,t,r)},p(n,r){if(r[0]&16777216){i=e.ensure_array_like(Array.from(n[24]));let l;for(l=0;l<i.length;l+=1){const p=Ze(n,i,l);a[l]?a[l].p(p,r):(a[l]=Qe(p),a[l].c(),a[l].m(t.parentNode,t))}for(;l<a.length;l+=1)a[l].d(1);a.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(a,n)}}}function Qe(o){let t,i=o[146].name+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","historyItem")},m(n,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&16777216&&i!==(i=n[146].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,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&268435456&&i!==(i=n[28]("filesUploadError")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ai(o){let t,i,a,n,r,l,p,c,u,f,h=o[14]?`${o[28]("amount")}`:`${o[28](`new${o[8]}Limit`)}`,C,k,D,W,G,z,P=o[28]("setLimit")+"",V,U,E,A,T=e.ensure_array_like(o[6]),S=[];for(let v=0;v<T.length;v+=1)S[v]=nt(Ye(o,T,v));let y=o[1]==="true"&&st(o),b=o[13]&<(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(),r=e.element("form"),y&&y.c(),l=e.space(),b&&b.c(),p=e.space(),w&&w.c(),c=e.space(),u=e.element("label"),f=e.element("span"),C=e.text(h),k=e.space(),D=e.element("input"),W=e.space(),_&&_.c(),G=e.space(),z=e.element("button"),V=e.text(P),e.attr(a,"class","LimitsList "+(o[29]?"Desktop":"")),e.attr(f,"class","LimitInputText"),e.attr(D,"type","number"),e.attr(D,"pattern","[0-9]*"),e.attr(u,"class","LimitAmountInputWrapper"),e.attr(z,"class","LimitSubmitButton"),e.attr(z,"type","submit"),z.disabled=o[23],e.attr(r,"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,I){e.insert(v,t,I),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,r),y&&y.m(r,null),e.append(r,l),b&&b.m(r,null),e.append(r,p),w&&w.m(r,null),e.append(r,c),e.append(r,u),e.append(u,f),e.append(f,C),e.append(u,k),e.append(u,D),e.set_input_value(D,o[10]),e.append(u,W),_&&_.m(u,null),e.append(r,G),e.append(r,z),e.append(z,V),E||(A=[e.listen(D,"input",o[69]),e.listen(D,"input",o[33]),e.listen(r,"submit",o[34])],E=!0)},p(v,I){if(I[0]&939524164|I[1]&994){T=e.ensure_array_like(v[6]);let B;for(B=0;B<T.length;B+=1){const j=Ye(v,T,B);S[B]?S[B].p(j,I):(S[B]=nt(j),S[B].c(),S[B].m(a,null))}for(;B<S.length;B+=1)S[B].d(1);S.length=T.length}v[1]==="true"?y?y.p(v,I):(y=st(v),y.c(),y.m(r,l)):y&&(y.d(1),y=null),v[13]?b?b.p(v,I):(b=lt(v),b.c(),b.m(r,p)):b&&(b.d(1),b=null),v[14]?w?w.p(v,I):(w=dt(v),w.c(),w.m(r,c)):w&&(w.d(1),w=null),I[0]&268452096&&h!==(h=v[14]?`${v[28]("amount")}`:`${v[28](`new${v[8]}Limit`)}`)&&e.set_data(C,h),I[0]&1024&&e.to_number(D.value)!==v[10]&&e.set_input_value(D,v[10]),v[23]?_?_.p(v,I):(_=pt(v),_.c(),_.m(u,null)):_&&(_.d(1),_=null),I[0]&268435456&&P!==(P=v[28]("setLimit")+"")&&e.set_data(V,P),I[0]&8388608&&(z.disabled=v[23]),I[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(),E=!1,e.run_all(A)}}}function Ci(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 zi(o){let t,i,a,n,r,l,p=e.ensure_array_like(Array(3)),c=[];for(let u=0;u<p.length;u+=1)c[u]=Vi(mi(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<c.length;u+=1)c[u].c();r=e.space(),l=e.element("div"),l.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(l,"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<c.length;h+=1)c[h]&&c[h].m(i,null);e.append(t,r),e.append(t,l)},p:e.noop,d(u){u&&e.detach(t),e.destroy_each(c,u)}}}function Pi(o){let t,i,a,n=o[28]("noLimitText")+"",r;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),r=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,p){e.insert(l,t,p),e.append(t,i),e.append(i,a),e.append(a,r)},p(l,p){p[0]&268435456&&n!==(n=l[28]("noLimitText")+"")&&e.set_data(r,n)},d(l){l&&e.detach(t)}}}function ji(o){let t,i,a,n=o[28]("lugasPrivacy")+"",r;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),r=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,p){e.insert(l,t,p),e.append(t,i),e.append(i,a),e.append(a,r)},p(l,p){p[0]&268435456&&n!==(n=l[28]("lugasPrivacy")+"")&&e.set_data(r,n)},d(l){l&&e.detach(t)}}}function xi(o){let t,i=e.ensure_array_like(o[138].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,r){for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(n,r);e.insert(n,t,r)},p(n,r){if(r[0]&939524164|r[1]&738){i=e.ensure_array_like(n[138].currentLimits);let l;for(l=0;l<i.length;l+=1){const p=Je(n,i,l);a[l]?a[l].p(p,r):(a[l]=ot(p),a[l].c(),a[l].m(t.parentNode,t))}for(;l<a.length;l+=1)a[l].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")+"",r;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),r=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,p){e.insert(l,t,p),e.append(t,i),e.append(i,a),e.append(a,r)},p(l,p){p[0]&268435456&&n!==(n=l[28]("lugasPrivacy")+"")&&e.set_data(r,n)},d(l){l&&e.detach(t)}}}function Ei(o){let t,i=`${o[40](o[143])}`,a;return{c(){t=e.element("span"),a=e.text(i)},m(n,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&64&&i!==(i=`${n[40](n[143])}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Mi(o){let t,i=`${o[40](o[143],!0)}`,a;return{c(){t=e.element("span"),a=e.text(i)},m(n,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&64&&i!==(i=`${n[40](n[143],!0)}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function et(o){let t,i,a=`${o[40](o[143],!1,!0)}`,n,r,l=`${o[143].period!=="None"||o[143].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[143].period}`)} ${o[28]("updateAfterDocApproval")}`,p;return{c(){t=e.element("div"),i=e.element("span"),n=e.text(a),r=e.space(),p=e.text(l),e.attr(t,"class","PendingLimit")},m(c,u){e.insert(c,t,u),e.append(t,i),e.append(i,n),e.append(t,r),e.append(t,p)},p(c,u){u[0]&64&&a!==(a=`${c[40](c[143],!1,!0)}`)&&e.set_data(n,a),u[0]&268435520&&l!==(l=`${c[143].period!=="None"||c[143].value!=="cumulativeSession"?" ":c[28]("per")} ${c[28](`${c[143].period}`)} ${c[28]("updateAfterDocApproval")}`)&&e.set_data(p,l)},d(c){c&&e.detach(t)}}}function Ui(o){let t,i,a=`${o[40](o[143],!0)}`,n,r;function l(u,f){return u[143].isCoolOffCompleted?Oi:Ri}let p=l(o),c=p(o);return{c(){t=e.element("div"),i=e.element("span"),n=e.text(a),r=e.space(),c.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,r),c.m(t,null)},p(u,f){f[0]&64&&a!==(a=`${u[40](u[143],!0)}`)&&e.set_data(n,a),p===(p=l(u))&&c?c.p(u,f):(c.d(1),c=p(u),c&&(c.c(),c.m(t,null)))},d(u){u&&e.detach(t),c.d()}}}function Ii(o){let t,i=`${o[28]("removedLimitText")} ${o[143].expiryDate}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&268435520&&i!==(i=`${n[28]("removedLimitText")} ${n[143].expiryDate}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ni(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,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&268435456&&i!==(i=`${n[28]("removeAfterConfirm")}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Bi(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,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&268435456&&i!==(i=`${n[28]("acknowledgedLimit")}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ri(o){let t=`${o[143].period!=="None"||o[143].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[143].period}`)} ${o[28]("updateText")} ${o[143].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[143].period!=="None"||a[143].value!=="cumulativeSession"?" ":a[28]("per")} ${a[28](`${a[143].period}`)} ${a[28]("updateText")} ${a[143].expiryDate}`)&&e.set_data(i,t)},d(a){a&&e.detach(i)}}}function Oi(o){let t=`${o[143].period!=="None"||o[143].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[143].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[143].period!=="None"||a[143].value!=="cumulativeSession"?" ":a[28]("per")} ${a[28](`${a[143].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[143].scheduleId].timer+"",n,r,l,p;return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),e.attr(i,"class",r="ReloadLimitButton "+(o[29]?"":"Mobile")+" "+(o[27][o[143].scheduleId].timerStopped?"":"disabled")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(c,u){e.insert(c,t,u),e.append(t,i),e.append(i,n),l||(p=e.listen(i,"click",o[62]),l=!0)},p(c,u){u[0]&134217792&&a!==(a=c[27][c[143].scheduleId].timer+"")&&e.set_data(n,a),u[0]&134217792&&r!==(r="ReloadLimitButton "+(c[29]?"":"Mobile")+" "+(c[27][c[143].scheduleId].timerStopped?"":"disabled"))&&e.attr(i,"class",r)},d(c){c&&e.detach(t),l=!1,p()}}}function it(o){let t,i,a=o[28]("removeLimit")+"",n,r,l;function p(){return o[63](o[143])}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(c,u){e.insert(c,t,u),e.append(t,i),e.append(i,n),r||(l=e.listen(i,"click",p),r=!0)},p(c,u){o=c,u[0]&268435456&&a!==(a=o[28]("removeLimit")+"")&&e.set_data(n,a)},d(c){c&&e.detach(t),r=!1,l()}}}function at(o){let t,i,a=o[28]("confirmUpdateLimit")+"",n,r,l,p=o[28]("cancelUpdateLimit")+"",c,u,f;function h(){return o[64](o[143])}function C(){return o[65](o[143])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),r=e.space(),l=e.element("button"),c=e.text(p),e.attr(i,"class","ConfirmLimitButton "+(o[29]?"":"Mobile")),e.attr(l,"class","CancelLimitButton "+(o[29]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(k,D){e.insert(k,t,D),e.append(t,i),e.append(i,n),e.append(t,r),e.append(t,l),e.append(l,c),u||(f=[e.listen(i,"click",h),e.listen(l,"click",C)],u=!0)},p(k,D){o=k,D[0]&268435456&&a!==(a=o[28]("confirmUpdateLimit")+"")&&e.set_data(n,a),D[0]&268435456&&p!==(p=o[28]("cancelUpdateLimit")+"")&&e.set_data(c,p)},d(k){k&&e.detach(t),u=!1,e.run_all(f)}}}function ot(o){let t,i,a,n,r,l=`${o[143].period!=="None"||o[143].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[143].period}`)}`,p,c,u,f,h,C=!o[143].isModified&&o[2].indexOf(o[138].value)>-1&&!o[143].reviewPending.id,k,D;function W(y,b){return y[143].acknowledgedLimit?Mi:Ei}let G=W(o),z=G(o),P=o[143].reviewPending&&o[143].reviewPending.id&&et(o);function V(y,b){if(y[143].acknowledgedLimit)return Bi;if(y[143].isModified&&y[143].updateAmount==0&&y[143].isCoolOffCompleted)return Ni;if(y[143].isModified&&y[143].updateAmount==0&&!y[143].isCoolOffCompleted)return Ii;if(y[143].isModified)return Ui}let U=V(o),E=U&&U(o),A=o[143].acknowledgedLimit&&!o[143].reviewPending.id&&tt(o),T=C&&it(o),S=o[143].isCoolOffCompleted&!o[143].acknowledgedLimit&&!o[143].reviewPending.id&&at(o);return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),n=e.element("div"),z.c(),r=e.space(),p=e.text(l),c=e.space(),P&&P.c(),u=e.space(),E&&E.c(),f=e.space(),A&&A.c(),h=e.space(),T&&T.c(),k=e.space(),S&&S.c(),D=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),z.m(n,null),e.append(n,r),e.append(n,p),e.append(a,c),P&&P.m(a,null),e.append(a,u),E&&E.m(a,null),e.append(i,f),A&&A.m(i,null),e.append(i,h),T&&T.m(i,null),e.append(i,k),S&&S.m(i,null),e.append(t,D)},p(y,b){G===(G=W(y))&&z?z.p(y,b):(z.d(1),z=G(y),z&&(z.c(),z.m(n,r))),b[0]&268435520&&l!==(l=`${y[143].period!=="None"||y[143].value!=="cumulativeSession"?" ":y[28]("per")} ${y[28](`${y[143].period}`)}`)&&e.set_data(p,l),y[143].reviewPending&&y[143].reviewPending.id?P?P.p(y,b):(P=et(y),P.c(),P.m(a,u)):P&&(P.d(1),P=null),U===(U=V(y))&&E?E.p(y,b):(E&&E.d(1),E=U&&U(y),E&&(E.c(),E.m(a,null))),y[143].acknowledgedLimit&&!y[143].reviewPending.id?A?A.p(y,b):(A=tt(y),A.c(),A.m(i,h)):A&&(A.d(1),A=null),b[0]&68&&(C=!y[143].isModified&&y[2].indexOf(y[138].value)>-1&&!y[143].reviewPending.id),C?T?T.p(y,b):(T=it(y),T.c(),T.m(i,k)):T&&(T.d(1),T=null),y[143].isCoolOffCompleted&!y[143].acknowledgedLimit&&!y[143].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),z.d(),P&&P.d(),E&&E.d(),A&&A.d(),T&&T.d(),S&&S.d()}}}function nt(o){let t,i,a=o[39](o[138])+"",n,r,l;function p(f,h){return f[138].value==="lugas"?Ti:f[138].currentLimits.length>0?xi:f[138].value==="lugas"?ji:Pi}let c=p(o),u=c(o);return{c(){t=e.element("div"),i=e.element("p"),n=e.text(a),r=e.space(),u.c(),l=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,r),u.m(t,null),e.append(t,l)},p(f,h){h[0]&64&&a!==(a=f[39](f[138])+"")&&e.set_data(n,a),c===(c=p(f))&&u?u.p(f,h):(u.d(1),u=c(f),u&&(u.c(),u.m(t,l)))},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(r,l){e.insert(r,t,l),e.append(t,i),e.append(i,n)},p(r,l){l[0]&268435456&&a!==(a=r[28]("complianceText")+"")&&e.set_data(n,a)},d(r){r&&e.detach(t)}}}function lt(o){let t,i,a=o[28]("limitType")+"",n,r,l,p,c,u=e.ensure_array_like(o[6]),f=[];for(let h=0;h<u.length;h+=1)f[h]=rt(Ke(o,u,h));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(a),r=e.space(),l=e.element("select");for(let h=0;h<f.length;h+=1)f[h].c();e.attr(i,"class","LimitSelectText"),e.attr(l,"name",""),e.attr(l,"id",""),o[9]===void 0&&e.add_render_callback(()=>o[66].call(l)),e.attr(t,"class","LimitTypeDropdownWrapper")},m(h,C){e.insert(h,t,C),e.append(t,i),e.append(i,n),e.append(t,r),e.append(t,l);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(l,null);e.select_option(l,o[9],!0),p||(c=[e.listen(l,"change",o[66]),e.listen(l,"change",o[67])],p=!0)},p(h,C){if(C[0]&268435456&&a!==(a=h[28]("limitType")+"")&&e.set_data(n,a),C[0]&64|C[1]&256){u=e.ensure_array_like(h[6]);let k;for(k=0;k<u.length;k+=1){const D=Ke(h,u,k);f[k]?f[k].p(D,C):(f[k]=rt(D),f[k].c(),f[k].m(l,null))}for(;k<f.length;k+=1)f[k].d(1);f.length=u.length}C[0]&512&&e.select_option(l,h[9])},d(h){h&&e.detach(t),e.destroy_each(f,h),p=!1,e.run_all(c)}}}function rt(o){let t,i=o[39](o[138])+"",a;return{c(){t=e.element("option"),a=e.text(i),t.__value=o[140],e.set_input_value(t,t.__value)},m(n,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[0]&64&&i!==(i=n[39](n[138])+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function dt(o){let t,i,a=o[28]("period")+"",n,r,l,p,c,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),r=e.space(),l=e.element("select");for(let h=0;h<f.length;h+=1)f[h].c();e.attr(i,"class","PeriodSelectText"),e.attr(l,"name",""),e.attr(l,"id",""),o[8]===void 0&&e.add_render_callback(()=>o[68].call(l)),e.attr(t,"class","LimitPeriodDropdownWrapper")},m(h,C){e.insert(h,t,C),e.append(t,i),e.append(i,n),e.append(t,r),e.append(t,l);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(l,null);e.select_option(l,o[8],!0),p||(c=e.listen(l,"change",o[68]),p=!0)},p(h,C){if(C[0]&268435456&&a!==(a=h[28]("period")+"")&&e.set_data(n,a),C[0]&268435616){u=e.ensure_array_like(h[5][h[7]].periods);let k;for(k=0;k<u.length;k+=1){const D=He(h,u,k);f[k]?f[k].p(D,C):(f[k]=ut(D),f[k].c(),f[k].m(l,null))}for(;k<f.length;k+=1)f[k].d(1);f.length=u.length}C[0]&416&&e.select_option(l,h[8])},d(h){h&&e.detach(t),e.destroy_each(f,h),p=!1,c()}}}function ut(o){let t,i=o[28](o[135])+"",a,n;return{c(){t=e.element("option"),a=e.text(i),t.__value=n=o[135],e.set_input_value(t,t.__value),t.selected=!0},m(r,l){e.insert(r,t,l),e.append(t,a)},p(r,l){l[0]&268435616&&i!==(i=r[28](r[135])+"")&&e.set_data(a,i),l[0]&160&&n!==(n=r[135])&&(t.__value=n,e.set_input_value(t,t.__value))},d(r){r&&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,r){e.insert(n,t,r),e.append(t,a)},p(n,r){r[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 Vi(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 Wi(o){let t,i,a=o[18]&&Xe(o);function n(p,c){if(p[15])return zi;if(p[16])return Ci;if(!p[15])return Ai}let r=n(o),l=r&&r(o);return{c(){t=e.element("div"),a&&a.c(),i=e.space(),l&&l.c()},m(p,c){e.insert(p,t,c),a&&a.m(t,null),e.append(t,i),l&&l.m(t,null),o[70](t)},p(p,c){p[18]?a?a.p(p,c):(a=Xe(p),a.c(),a.m(t,i)):a&&(a.d(1),a=null),r===(r=n(p))&&l?l.p(p,c):(l&&l.d(1),l=r&&r(p),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),a&&a.d(),l&&l.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:r=""}=t,{limits:l=""}=t,{session:p=""}=t,{userid:c=""}=t,{endpoint:u=""}=t,{apiversion:f=""}=t,{customcurrencysymbols:h=""}=t,{enablecompliancetext:C=""}=t,{deletelimit:k=""}=t,{amountsconfig:D=""}=t,{periodsconfig:W=""}=t,{limittabindex:G=""}=t,{limitformat:z=""}=t,{allowedextenssion:P=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:V="12934000"}=t,{clientstyling:U=""}=t,{clientstylingurl:E=""}=t,{mbsource:A}=t,{translationurl:T=""}=t,S,y=window.navigator.userAgent,b=!e.isMobile(y),w=[],_="",v="",I="",B=0,j,ae="",ne="",de="",X={},H={},K=!1,N=!1,M=!0,Z=!1,_e=!1,pe=!1,ee=!1,$="",ce="",q=[],fe,Pe,ge=!1,ct={},se="",ue,be={remove:{},confirm:{},update:{}},le=!1,Le=!1,me={EUR:"€",RON:" lei",USD:"$"},Y={};const Se={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},je={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},ft=()=>{fetch(T).then(d=>d.json()).then(d=>{Object.keys(d).forEach(m=>{Ge(m,d[m])})}).catch(d=>{console.log(d)})};Object.keys(re).forEach(s=>{Ge(s,re[s])});const De=s=>`dataLayer-${s}`,J=(s,d)=>{typeof gtag=="function"&>ag({event:s,limit_category:re[n][De(I.toLowerCase())]||I,limit_type:re[n][De(_.toLowerCase())]||_,limit_period:re[n][De(v.toLowerCase())]||v,limit_amount:j||d})},gt=()=>{var L;const s=D.split(",").map(g=>g.split(":")),d=W.split(",").map(g=>g.split(":"));for(let[g,x]of s.entries())if(x[0]!==d[g][0])throw new Error(`Limit config mismatch: "${x[0]}" does not match "${d[g][0]}"`);const m=s.reduce((g,x,R)=>{const F=x[0].slice(x[0].indexOf("(")+1,x[0].indexOf(")")),ie=x[0].slice(0,x[0].indexOf("(")),ve=x[1],ke=d[R][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),ze={value:F,product:ie,minMax:ve,periods:ke,callValue:O[F].callValue,callValue16:O[F].callValue16,title:O[F].title};return g.push(ze),g},[]);for(let g=0;g<m.length;g++)i(6,w[g].product=m[g].product,w),i(6,w[g].min=parseInt(m[g].minMax.split("-")[0],10),w),i(6,w[g].max=parseInt(m[g].minMax.split("-")[1],10),w),i(5,O[m[g].value].periods=m[g].periods,O);de=(L=w[0])==null?void 0:L.value,w.forEach(g=>{X[g.value]={min:g.min,max:g.max},ct[g.value]=g.product}),X&&(X[de]?(i(11,ae=X[de].min),i(12,ne=X[de].max)):(i(11,ae=1),i(12,ne=9999999)))},Lt=()=>{const s=/\(([^)]+)\)/g;return[...D.matchAll(s)].flat().filter(m=>!m.includes("("))},ht=()=>{Lt().forEach(d=>{O[d]?w.push(we({},O[d])):console.error(`Unknown limit: ${d}`)}),gt(),i(7,_=w[0].value),i(8,v=O[_].periods[0]),I=w[0].product,i(13,K=w.length>1),i(14,N=O[_].periods.length>1)},xe=()=>{i(7,_=w[B].value),i(8,v=O[_].periods[0]),i(14,N=O[_].periods.length>1)},Te=()=>{I=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,Z=!0);let d;throw s.json().then(m=>{for(const L in je)if(m.error&&je[L].some(g=>m.error.includes(g))){d=L;break}console.error("errType",d),!d&&ye(m)}).finally(()=>{d&&ye(d),i(16,Z=!1),i(15,M=!1)}),new Error("An error occured during the fetch request")},vt=()=>{if(!(j>0))return;oe(),i(15,M=!0);let s=new URL(`/v2/player/${c}/limits`,u),d={};_==="sessionLimit"?d={sessionLimit:j,sessionLimitUnit:"minute"}:_==="cumulativeSession"?d[O[_].callValue]=[{period:v,minutes:j}]:d[O[_].callValue]=[{period:O[_].periods[0]==="None"?null:v,amount:j,currency:r}];let m={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(d)};fetch(s.href,m).then(L=>Q(L)).then(L=>{J("self_limitation_success"),te()}).catch(L=>{console.error(L),i(16,Z=!0)})},Ee=()=>{const d=w[B].currentLimits.find(ie=>ie.period===v),m=Tt();if(m&&m.reviewPending&&m.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("limitInDocReview")}},window.location.href);if(oe(),i(15,M=!0),m&&m.reviewRequired&&!se&&j>m.amount){i(26,Le=!0),i(19,ee=!0);return}const L=d?"v2":"v1",g=new URL(`/${L}/player/${c}/limits/monetary/${d?d.id:""}`,u),x=d?"PUT":"POST",R=d?se?{amount:j,skipCoolOff:!1,payload:{DocumentId:se}}:{amount:j,skipCoolOff:!1}:{amount:j,currency:r,period:O[_].periods[0]==="None"?null:v,type:O[_].callValue16,products:[I!=null?I:"All"],walletTypes:["Deposit","NetDeposit"].includes(O[_].callValue16)?["All"]:["RealCash"]};let F={method:x,headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(R)};fetch(g.href,F).then(ie=>Q(ie)).then(ie=>{J("self_limitation_success"),te()}).catch(ie=>{console.log(ie)}).finally(()=>{i(26,Le=!1),se=""})},kt=()=>{if(!(j>0))return;oe(),i(15,M=!0);const s=new URL(`/v1/player/${c}/limits/session/`,u);let L={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:j,sessionLimitUnit:"minute"})};fetch(s.href,L).then(g=>Q(g)).then(g=>{J("self_limitation_success"),te()}).catch(g=>{console.log(g),i(16,Z=!0)})},bt=()=>{if(!(j>0))return;oe(),i(15,M=!0);const s=new URL(`/v1/player/${c}/limits/session/`,u);let L={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:v,minutes:j}]})};fetch(s.href,L).then(g=>Q(g)).then(g=>{J("self_limitation_success"),te()}).catch(g=>{console.log(g),i(16,Z=!0)})},wt=()=>{if(!(j>0))return;oe(),i(15,M=!0);const s=new URL(`/v2/player/${c}/limit/lugas`,u);let L={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,L).then(g=>Q(g)).then(g=>{i(22,fe=g.popup),g.operatorDepositLimitAmount,Pe=g.regulatorDepositLimitAmount,J("self_limitation_success"),te()}).catch(g=>{console.log(g),i(16,Z=!0)})},_t=()=>{if(H={},f==="gm16")switch(_){case"lugas":wt();break;case"sessionLimit":kt();break;case"cumulativeSession":bt();break;default:Ee();break}else if(f==="gmcore")vt();else throw Error(`Invalid apiversion attribute: ${f}`);J("self_limitation_request")},te=()=>{switch(f){case"gmcore":St();break;case"gm16":Dt();break}},St=()=>{i(15,M=!0);let s=new URL(`/v2/player/${c}/limits`,u),d={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,d).then(m=>Q(m)).then(m=>{q=m,pe&&ye(),Me(q),At(q),i(10,j=null)}).catch(m=>{console.error("Error LimitsWidget: ",m),i(16,Z=!0)}).finally(()=>{i(15,M=!1)})},Dt=()=>{i(15,M=!0),q=[];let s=new URL(`/v1/player/${c}/limits/monetary`,u),d=new URL(`/v1/player/${c}/limits/session`,u),m=!1,L={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,L).then(g=>Q(g)).then(g=>{q.push(g),f==="gmcore"&&Me(q),f==="gm16"&&Ct(q),pe&&ye(),i(10,j=null)}).catch(g=>{console.error("Error LimitsWidget: ",g),i(16,Z=!0)}).finally(()=>{m&&i(15,M=!1),m=!0}),fetch(d.href,L).then(g=>Q(g)).then(g=>{q.push(g),pe&&ye(),f==="gm16"&&zt(q),f==="gm16"&&Pt(q),i(10,j=null)}).catch(g=>{console.error("Error LimitsWidget: ",g),i(16,Z=!0)}).finally(()=>{m&&i(15,M=!1),m=!0})},Me=s=>{w.forEach(d=>{d.currentLimits=[];const m=Array.isArray(s[O[d.value].callValue])?s[O[d.value].callValue]:[s[O[d.value].callValue]];m.length===0||m[0]===void 0||(m.forEach((L,g)=>{var R;const x=s[O[d.value].callValue][g];d.currentLimits.push({}),d.currentLimits[g].limitType=d.value,d.currentLimits[g].amount=z?x.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(x.amount),d.currentLimits[g].currency=(R=me[x.currency])!=null?R:x.currency,d.currentLimits[g].period=x.period,d.currentLimits[g].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(x.updateAmount),d.currentLimits[g].isModified=x.isModified,d.currentLimits[g].expiryDate=`${new Date(x.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),d.currentLimits=he(d.currentLimits))})},At=s=>{const d=a("minutes");w.filter(m=>m.value==="sessionLimit"||m.value==="cumulativeSession").forEach(m=>{var L;m.currentLimits=[],(L=s[O[m.value].callValue])==null||L.forEach((g,x)=>{const R=s[O[m.value].callValue][x];m.currentLimits.push({limitType:m.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(R.minutes),currency:d,isModified:R.isModified,period:m.value==="cumulativeSession"?R.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(R.updateMinutes),expiryDate:`${new Date(R.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),m.currentLimits=he(m.currentLimits)})},Ct=s=>{var d;(d=s[0])!=null&&d.limits&&w.forEach(m=>{var L;m.currentLimits=[];for(const g of s[0].limits)if(g.type===m.callValue16&&g.products.includes(m.product)){let x=0,R=g.schedules.length>0?g.schedules.find(F=>F.id):{};g.schedules.length>0&&(x=z?R.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(R.updateAmount)),m.currentLimits.push({limitType:m.value,amount:z?g.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(g.amount),currency:(L=me[g.currency])!=null?L:g.currency,isModified:g.schedules.length>0,period:g.period,product:g.products[0],updateAmount:x,isCoolOffCompleted:R?R.isCoolOffCompleted:!1,reviewRequired:g.reviewRequired?g.reviewRequired:!1,reviewPending:g.reviewPending?g.reviewPending:{},scheduleId:R?R.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}),m.currentLimits.forEach(F=>{F.acknowledgedLimit=Object.keys(Y).some(ie=>F.scheduleId===ie)})}m.currentLimits=he(m.currentLimits)})},zt=s=>{var d;(d=s[1])!=null&&d.sessionLimit&&w.filter(m=>m.value==="sessionLimit").forEach(m=>{m.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s[1].sessionLimit.minutes),currency:a("minutes"),isModified:s[1].sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s[1].sessionLimit.updateMinutes),expiryDate:s[1].sessionLimit.expiryDate}),m.currentLimits=he(m.currentLimits)})},Pt=s=>{var d;(d=s[1])!=null&&d.cumulativeSessionLimits&&w.filter(m=>m.value==="cumulativeSession").forEach(m=>{for(const L of s[1].cumulativeSessionLimits)m.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(L.minutes),currency:a("minutes"),isModified:L.isModified,period:L.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(L.updateMinutes),expiryDate:L.expiryDate});m.currentLimits=he(m.currentLimits)})},he=s=>{const d={Daily:0,Weekly:1,Monthly:2};return s.sort((m,L)=>d[m.period]-d[L.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<ae||d>ne)},jt=s=>{s.preventDefault(),Ue(),ge||_t()},Ie=()=>{i(23,ge=!1),X!=null&&X[_]?(i(11,ae=X[_].min),i(12,ne=X[_].max)):(i(11,ae=1),i(12,ne=9999999))},xt=()=>{if(q){const s=q[O[_].callValue].find(L=>L.period===v),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let m=a("popupImmediateUpdate").replace("{selectedLimit}",Ae(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)`:m)}i(19,ee=!0)},Tt=()=>{var m;if(!q)return;const s=((m=q[0])==null?void 0:m.limits)||q.limits;let d=null;return Object.keys(H).length>0?d=s.find(L=>L.id===H.id):d=s.find(L=>L.type.toLowerCase()===Se[_].toLowerCase()&&(L.period===v||L.period==="None")&&L.products[0]===I),(d==null?void 0:d.schedules.length)>0&&Y[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount),d},Et=()=>{var x;const s=((x=q[0])==null?void 0:x.limits)||q.limits;let d=null;if(!q){i(19,ee=!0);return}Object.keys(H).length>0?d=s.find(R=>R.id===H.id):d=s.find(R=>R.type.toLowerCase()===Se[_].toLowerCase()&&(R.period===v||R.period==="None")&&R.products[0]===I),(d==null?void 0:d.schedules.length)>0&&Y[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount);const m=Ve(d)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(d.amount),L=d.schedules.length>0?`${new Date(d.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let g=a("popupImmediateUpdate").replace("{selectedLimit}",Ae(d)).replace("{updatedAmount}",m).replace("{selectedPeriod}",a(`${d.period}`));d.schedules.length>0&&Y[d.schedules[0].id]?i(20,$=g):i(20,$=d.schedules.length>0?`${a("popupPendingUpdate")} ${L}`:g),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(Pe)} ${r} ${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)},It=()=>{if(q){const s=q[O[_].callValue].find(L=>(L.period===v||v==="None")&&L.products[0]===I),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let m=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)`:m)}i(19,ee=!0)},Nt=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,m;return((d=s.details)==null?void 0:d.includes("Invalid Session"))||((m=s.error)==null?void 0:m.includes("Invalid Session"))},ye=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),Z){if(i(17,_e=!0),!s){i(19,ee=!0);return}s.thirdPartyResponse||i(20,$=a(`${s}`)),s.thirdPartyResponse&&i(20,$=s.thirdPartyResponse.message),Nt(s)&&i(20,$=a("popupUpdateLimitException")),Bt(s)&&i(20,$=a("popupRemoveLimitException")),Rt(s)&&i(20,$=a("notFoundException")),Ot(s)&&i(20,$=a("sessionExpiredException")),i(19,ee=!0);return}switch(f){case"gmcore":_==="sessionLimit"||_==="cumulativeSession"?It():xt();break;case"gm16":_==="lugas"?Mt():_==="sessionLimit"||_==="cumulativeSession"?Ut():Et();break;default:throw new Error(`Invalid apiversion attribute: ${f}`)}},oe=()=>{i(18,pe=!0),window.postMessage({type:"DisableScroll"},window.location.href)},Vt=s=>{i(7,_=s.limitType),i(8,v=s.period),oe(),i(15,M=!0);let d=new URL(`/v2/player/${c}/limits/${Se[s.limitType]}`,u);s.limitType!=="sessionLimit"&&d.searchParams.append("periods",s.period);let m={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,m).then(L=>Q(L)).then(L=>{J("self_limitation_cancel_success",s.amount),te()}).catch(L=>{J("self_limitation_cancel_failed",s.amount),console.log(L),i(16,Z=!0)})},Ne=s=>{switch(s.period,be.remove=s,f){case"gmcore":Vt(s);break;case"gm16":H=s,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?Wt(s):Be(s);break}J("self_limitation_cancel_request",s.amount)},Wt=s=>{const d=new URL(`/v1/player/${c}/limits/session/session`,u),m=new URL(`/v1/player/${c}/limits/session/cumulativeSession?periods=${s.period}`,u);let L;switch(s.limitType){case"sessionLimit":L=d;break;case"cumulativeSession":L=m;break;default:throw Error(`Unknown limit.limitType: ${s.limitType}`)}oe(),i(15,M=!0);let g={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(L.href,g).then(x=>Q(x)).then(x=>{J("self_limitation_cancel_success",s.amount),te()}).catch(x=>{J("self_limitation_cancel_failed",s.amount),console.log(x),i(16,Z=!0)})},Be=s=>{if(oe(),i(15,M=!0),s&&s.reviewRequired&&!se){i(26,Le=!0),i(19,ee=!0);return}const d=new URL(`/v1/player/${c}/limits/monetary/${s.id}`,u);let m={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};se&&d.searchParams.append("documentId",se),fetch(d.href,m).then(L=>Q(L)).then(L=>{J("self_limitation_cancel_success",s.amount),te()}).catch(L=>{J("self_limitation_cancel_failed",s.amount),console.log(L),i(16,Z=!0)}).finally(()=>{be.remove={},i(26,Le=!1),se=""})},Re=s=>{const d=new URL(`/v1/player/${c}/limits/schedule/${s.scheduleId}`,u);oe(),i(15,M=!0);let m={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,m).then(L=>Q(L)).then(L=>{H=s,J("self_limitation_cancel_success",s.updateAmount),te()}).catch(L=>{J("self_limitation_cancel_failed",s.updateAmount),console.log(L),i(16,Z=!0)})},Oe=s=>{const d=new URL(`v1/player/${c}/limits/schedule/acknowledge/${s.scheduleId}`,u);oe(),i(15,M=!0);let m={method:"PATCH",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,m).then(L=>Q(L)).then(L=>{H=s,qt(s),J("self_limitation_confirm_success",s.amount),te()}).catch(L=>{J("self_limitation_confirm_failed",s.amount),console.log(L),i(16,Z=!0)})},qt=s=>{let d=60;i(27,Y[s.scheduleId]={},Y),i(27,Y[s.scheduleId].timer=`${d} ${re[n].seconds}`,Y),i(27,Y[s.scheduleId].timerStopped=!1,Y);let m=window.setInterval(()=>d===0?(window.clearInterval(m),i(27,Y[s.scheduleId].timerStopped=!0,Y),i(27,Y[s.scheduleId].timer=re[n].reloadLimitsButton,Y)):i(27,Y[s.scheduleId].timer=`${--d} ${re[n].seconds}`,Y),1e3)},Ae=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,m=!1)=>{if(!z)return m?`${s.reviewPending.requestAmount}${s.currency}`:d?`${s.updateAmount}${s.currency}`:`${s.amount}${s.currency}`;let L=z;const g=L.match(/\{(\d+)decimals\}/),x=g?parseInt(g[1],10):2,R=g?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let F;m?F=s.reviewPending.requestAmount||0:F=d?s.updateAmount:s.amount,F=parseInt(F).toFixed(x);const[ie,ve]=z.includes(".")?[",","."]:[".",","];let[ke,ze]=F.split(".");return ke=ke.replace(/\B(?=(\d{3})+(?!\d))/g,ie),F=`${ke}${ve}${ze}`,L=L.replace("{currency}",me[s.currency]||s.currency).replace("{amount}",F.split(ve)[0]).replace(R,F.split(ve)[1]),L},Ce=()=>{i(19,ee=i(18,pe=!1)),i(21,ce=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Ft=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Ce()},Gt=s=>{let d=0;return Object.keys(s).forEach(m=>{d+=s[m].size}),d<=Number(V)},Ht=s=>{let d=!1;return Object.keys(s).forEach(m=>{const L=s[m].name.split(".").pop();return P.includes(L)?d=!0:d=!1}),d},We=s=>!s&&!(s.length>0)?i(25,le=!1):(i(24,ue=s),Gt(ue)?Ht(ue)?i(25,le=!0):(console.error(a("fileExtenssionDeny")),i(25,le=!1)):(console.error(a("fileSizeExceeded")),i(25,le=!1))),Kt=()=>{if(!le)return;i(19,ee=!1);const s=new URL(`/api/v1/mm/content/${c}/url-upload/`,u),d={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":p},body:JSON.stringify({})};fetch(s,d).then(m=>Q(m)).then(m=>{Yt(m)}).catch(m=>{console.error(a("errorUploadDocument"),m),i(24,ue=null),i(25,le=!1)})},Yt=s=>{const d=new FormData;d.append(s.requestId,ue[0]),fetch(s.url,{method:"POST",body:d}).then(m=>Q(m)).then(m=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:a("uploadSuccess")}},window.location.href),se=m.Files[0].Reference,be.remove.id?Be(be.remove):Ee()}).catch(m=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("errorUploadDocument")}},window.location.href),console.error(a("errorUploadDocument"),m)}).finally(()=>{Ce(),i(24,ue=null),i(25,le=!1)})},Jt=()=>{if(!h)return;let s={};h.split(",").forEach(d=>{let m=d.split(":");s[m[0].trim()]=m[1].trim()}),me=we(we({},me),s)},Zt=()=>{ui(n)};e.onMount(()=>()=>{});const Xt=s=>We(s.target.files),Qt=()=>te(),$t=s=>Ne(s),ei=s=>Oe(s),ti=s=>Re(s);function ii(){B=e.select_value(this),i(9,B)}const ai=()=>{Te(),xe(),Ie()};function oi(){v=e.select_value(this),i(8,v),i(5,O),i(7,_)}function ni(){j=e.to_number(this.value),i(10,j)}function si(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,r=s.currency),"limits"in s&&i(46,l=s.limits),"session"in s&&i(47,p=s.session),"userid"in s&&i(48,c=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,C=s.enablecompliancetext),"deletelimit"in s&&i(2,k=s.deletelimit),"amountsconfig"in s&&i(52,D=s.amountsconfig),"periodsconfig"in s&&i(53,W=s.periodsconfig),"limittabindex"in s&&i(3,G=s.limittabindex),"limitformat"in s&&i(54,z=s.limitformat),"allowedextenssion"in s&&i(55,P=s.allowedextenssion),"filesizeallow"in s&&i(56,V=s.filesizeallow),"clientstyling"in s&&i(57,U=s.clientstyling),"clientstylingurl"in s&&i(58,E=s.clientstylingurl),"mbsource"in s&&i(59,A=s.mbsource),"translationurl"in s&&i(60,T=s.translationurl)},o.$$.update=()=>{o.$$.dirty[1]&1048576&&h&&Jt(),o.$$.dirty[1]&6291456&&W&&D&&ht(),o.$$.dirty[1]&16384&&n&&Zt(),o.$$.dirty[1]&999424&&c&&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&&E&&S&&e.setClientStylingURL(S,E),o.$$.dirty[0]&16|o.$$.dirty[1]&268435456&&A&&S&&e.setStreamStyling(S,`${A}.Style`),o.$$.dirty[1]&536870912&&T&&ft()},[r,C,k,G,S,O,w,_,v,B,j,ae,ne,K,N,M,Z,_e,pe,ee,$,ce,fe,ge,ue,le,Le,Y,a,b,xe,Te,te,Ue,jt,Ie,Ne,Re,Oe,Ae,Ve,Ce,Ft,We,Kt,n,l,p,c,u,f,h,D,W,z,P,V,U,E,A,T,Xt,Qt,$t,ei,ti,ii,ai,oi,ni,si]}class mt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,qi,Wi,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},pi,[-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;
|