1import{css as t,property as e,object as i,state as s,customElement as r,LitElement as n,html as a}from"/de_AT/skins/lottoland/js/core/@lottoland/core/lit-element-574e45b98a380a82.js";import"/de_AT/skins/lottoland/js/core/@lottoland/one-styleguide-f5eee5c034168c47.js";import{resources as o,fixPrecisionToPreventFloatingPointTrouble as l,messages as c}from"/de_AT/skins/lottoland/js/core/@lottoland/lsl-8ab15f4848d29b3d.js";import{subscribe as h,unsubscribe as d}from"/de_AT/skins/lottoland/js/cms/@lottoland/client-side-message-bus-b47a2bada31bfda8.js";function u(t,e){return e||(e=t.slice(0)),t.raw=e,t}function p(t,e,i,s){var r,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(a=(n<3?r(a):n>3?r(e,i,a):r(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a}var m=t`:host .recurrent-deposit-limit-container{display:flex;flex-direction:column;align-items:center;gap:24px}:host .recurrent-deposit-limit-container ll-cta-group{width:100%}:host .recurrent-deposit-limit-container ll-cta-group ll-button{margin-bottom:calc(var(--ll-base-unit)*3);padding-left:0;width:100%}:host .recurrent-deposit-limit-logo{margin-bottom:calc(var(--ll-base-unit)*3);height:64px}:host .recurrent-deposit-limit-logo img{width:64px}:host .recurrent-deposit-limit-text1,:host .recurrent-deposit-limit-text2{text-align:center}:host .recurrent-deposit-limit .period-selector{margin-bottom:24px}:host .recurrent-deposit-limit .period-selector ll-typography{display:block;margin-bottom:8px}:host .recurrent-deposit-limit .period-selector ll-selector-group{display:flex;gap:16px}:host .recurrent-deposit-limit .period-selector ll-selector-group ll-selector-opt{flex:1}:host .recurrent-deposit-limit ll-text-input{width:100%;margin-bottom:16px}`;const g={apiKey:"AABB139",Authorization:"",apiBase:"/api/client/v2",url:window.location.origin},y={"Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:"0"};class v{constructor(t){this.defaultError=500,this.url=g.url,this.createWithBody=(t,e,i,s)=>{let r={method:t,body:JSON.stringify(e),headers:this.getHeader(!0,i,s)};return i||(r=Object.assign({},r,{credentials:"include"})),r},this.createWithoutBody=(t,e)=>{let i={method:t,headers:this.getHeader(!1,e)};return e||(i=Object.assign({},i,{credentials:"include"})),i},this.apiBase=g.apiBase,this.url=g.url,this.servicePath=t?"/"+t:""}joinParam(t,e){return Array.isArray(e)?e.map(e=>t+"="+e).join("&"):t+"="+e}prepareQuery(t){return t?Object.keys(t).reduce((e,i)=>e?e+"&"+this.joinParam(i,t[i]):"?"+this.joinParam(i,t[i]),""):""}async fetch(t){try{const e=this.prepareQuery(t),i=this.createWithoutBody("GET",!1),s=""+this.getUrl(this.url)+this.apiBase+this.servicePath+(e||""),r=await fetch(s,i),n=await r.json();return this.parseSuccess(r.status,n)}catch(t){return this.parseFailure(this.defaultError,[this.getErrorMessage(t)])}}async get(t,e){try{const i=this.createWithoutBody("GET",!1),s=""+this.getUrl(this.url)+this.apiBase+this.servicePath+"/"+t+(e||""),r=await fetch(s,i),n=await r.json();return this.parseSuccess(r.status,n)}catch(t){return this.parseFailure(this.defaultError,[this.getErrorMessage(t)])}}async post(t,e,i){void 0===e&&(e=""),void 0===i&&(i="");try{const s=this.createWithBody("POST",t,!1,{}),r=""+this.getUrl(this.url)+this.apiBase+this.servicePath+"/"+e+(i||""),n=await fetch(r,s),a=await n.json();return n.ok?this.parseSuccess(n.status,a):this.parseFailure(n.status,a.exceptionMessages)}catch(t){return this.parseFailure(this.defaultError,[this.getErrorMessage(t)])}}async update(t){try{const{id:e}=t,i=this.createWithBody("PUT",t,!1,{}),s=""+this.getUrl(this.url)+this.apiBase+this.servicePath+"/"+e,r=await fetch(s,i),n=await r.json();return r.ok?this.parseSuccess(r.status,n):this.parseFailure(r.status,n.exceptionMessages)}catch(t){return this.parseFailure(this.defaultError,[this.getErrorMessage(t)])}}async delete(t){try{const e=this.createWithoutBody("DELETE",!1),i=""+this.getUrl(this.url)+this.apiBase+this.servicePath+"/"+t,s=await fetch(i,e);if(204===s.status)return this.parseSuccess(s.status);const r=await s.json();return this.parseFailure(s.status,r.exceptionMessages)}catch(t){return this.parseFailure(this.defaultError,[this.getErrorMessage(t)])}}getErrorMessage(t){return t instanceof Error?t.message:"Unknown error occurred"}
1async saveOrUpdate(t){const{id:e}=t;return e?this.update(t):this.post(t)}parseSuccess(t,e){return{ok:!0,data:e,status:t}}parseFailure(t,e){return{ok:!1,messages:e,status:t}}getUrl(t){return t.includes("localhost")&&(t="http://localhost:8081"),t}encodeQueryData(t){const e=[];for(const i in t)e.push(encodeURIComponent(i)+"="+encodeURIComponent(t[i]));return"?"+e.join("&")}getHeader(t,e,i,s){void 0===s&&(s=!1);let r={Accept:"application/json"};return t&&(r=Object.assign({},r,{"Content-Type":"application/json"})),e||(r=Object.assign({},r,{"X-API-KEY":o.apiKey,Authorization:g.Authorization})),!i||0===Object.keys(i).length&&i.constructor===Object||(r=Object.assign({},r,i)),s||(r=Object.assign({},r,y)),r}}const w=new class extends v{constructor(t){super(),this.apiBase="/api/client/v1/players/me/refresh",this.url=t||""}getUrl(t){return t.includes("localhost")&&(t="http://localhost:8080"),t}};class b extends v{constructor(){super(),this.refreshAuthenticationToken=async()=>{var t,e,i;const s={grant_type:"password",scope:"Lottoland",refresh_token:(null===(t=this.authToken)||void 0===t?void 0:t.refreshToken)||"",client_id:this.apiKey||""},r=await w.post(s);(null===(e=null==r?void 0:r.data)||void 0===e?void 0:e.access_token)&&(null===(i=null==r?void 0:r.data)||void 0===i?void 0:i.refresh_token)&&this.setAuthToken({accessToken:r.data.access_token,refreshToken:r.data.refresh_token})},this.timeUntilCall=500,this.numberOfAttempts=10,this.attempts=0,this.attemptsTimer=null}getHeader(t,e,i){var s;let r=super.getHeader(t,e,i);return this.apiKey&&(r=Object.assign({},r,{"X-API-KEY":this.apiKey})),(null===(s=this.authToken)||void 0===s?void 0:s.accessToken)&&(r=Object.assign({},r,{Authorization:"Bearer "+this.authToken.accessToken})),r}getUrl(t){return this.domain||t}setAuthToken(t){this.authToken=t}setApiKey(t){this.apiKey=t}async performOperationWithRetry(t){try{return await t()}catch(e){return await this.refreshAuthenticationToken(),await t()}}async callWithRetry(t){const e=await t();return![200,403].includes(null==e?void 0:e.status)&&(this.attempts+=1,this.attempts<this.numberOfAttempts)?new Promise(e=>{this.attemptsTimer=setTimeout(async()=>{const i=await this.callWithRetry(t);e(i)},this.timeUntilCall)}):(this.attemptsTimer&&clearTimeout(this.attemptsTimer),e)}checkExpiredToken(t){var e,i;if(401===t.status&&"INVALID_TOKEN"===(null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.message))throw new Error(null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.message)}async safeGet(t,e){return this.performOperationWithRetry(async()=>{const i=await this.get(t,e);return this.checkExpiredToken(i),i})}async getWithRetry(t,e){return this.callWithRetry(()=>this.safeGet(t,e))}async safePost(t,e,i){return this.performOperationWithRetry(async()=>{const s=await this.post(t,e,i);return this.checkExpiredToken(s),s})}async postWithRetry(t,e,i){return this.callWithRetry(()=>this.safePost(t,e,i))}}new b;const f=new class extends b{constructor(){super(),this.buildUrl=()=>{const t=this.localePrefix?""+this.localePrefix:"";this.servicePath=t+"/api/client/v1/messages"},this.apiBase=""}async loadTranslations(t,e,i,s){this.setApiKey(t),this.setLocalePrefix(e?"/"+e:"");const r=i||"lottoland",n=await f.loadTranslationsByPrefixsAndSkin(s,r);return n.ok&&n.data||{}}setLocalePrefix(t){this.localePrefix=t,this.buildUrl()}async loadTranslationsByPrefixsAndSkin(t,e){void 0===t&&(t=[]);let i={};return await Promise.all(t.map(async t=>{const s=await this.get(t,"?skin="+e);i=Object.assign({},i,s.data)})),this.parseSuccess(200,i)}},T={getRequestOptions(t){void 0===t&&(t={});const{headers:e={},includeXApiKey:i=!1,includeNoCache:s=!0}=t;let r=Object.assign({},e);return i&&(r=Object.assign({},r,{"X-API-KEY":o.apiKey})),s&&(r=Object.assign({},r,y)),{credentials:"include",headers:r}},getResponse:(t,e)=>(void 0===e&&(e=!0),t.then(t=>e?t.json():t.text())),getStatusCode:t=>t.then(t=>t.status),composeRequestUrl:t=>""+o.requestPrefix+t},k=t=>(t||(t=navigator.language),t.indexOf("_")>0?t.split("_")[1]:t.toUpperCase());var O;!function(t){t.DAY="DAY",t.WEEK="WEEK",t.MONTH="MONTH"}(O||(O={}));const x="/scs/wallet/frontoffice/external/private/api/v1/recurrent-deposit-limit-pop-up-waiting-time-ex
1piration",E="/api/client/v2/players/me/limits/DEPOSIT/periods/",A={showModal:()=>T.getResponse(fetch(""+x,Object.assign({},T.getRequestOptions({headers:{countryCode:k(o.countryLocale)}}),{method:"POST"})),!0),updateOptOutTime:()=>T.getResponse(fetch(""+x,{headers:Object.assign({},y),method:"PUT"}),!0),updateLimit(t,e){void 0===e&&(e=O.MONTH);const i=Number(o.currencyDecimals),s=t*Math.pow(10,i),r=Math.floor(l(s)),n=new URLSearchParams;n.append("value",r.toString());const a=T.getRequestOptions({includeXApiKey:!0,headers:{"Content-Type":"application/x-www-form-urlencoded"}});return T.getResponse(fetch(""+E+e,Object.assign({},a,{method:"POST",body:n.toString()})))}};var P,L,B,M,F,C,_,R,z;const K="recurrent_deposit_limit";let G=class extends n{constructor(){super(...arguments),this.visible=!1,this.showLimitForm=!1,this.limitValue="",this.formError="",this.selectedPeriod=O.MONTH,this.subscribeToTopics=()=>{h("PlayerLoggedIn",async(t,e)=>{const{playerId:i}=e.payload;if(i)try{const{waitingTimeExpired:t}=await A.showModal();t&&(this.visible=!0)}catch(t){}})},this.renderLogo=()=>{let t;const e=document.querySelector("ll-theme-ctx"),i=null==e?void 0:e.getAttribute("ll-theme");return t=i?"lottoland"===i:/GB|UK/gm.test(k(o.countryLocale)),a(P||(P=u(['\n <div class="recurrent-deposit-limit-logo">\n <img\n src="','"\n alt="','"\n />\n </div>\n '])),t?"https://media.ffycdn.net/eu/lottoland/5vA2KGuw595koei5zrAo.sv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0P+cR6bEyuWkWF+6T9dnkKpXHrHh/d4PWXz3GLSZqfm+0u+iVhQI9zEUWB/A0vXExomn70y9mGpmmSBxwHbWP7XFG95AQgtMraP19WKTVqXEo0rcoiRIpLziovg+z3VfLs7e8w3FZT9fdMh4FU21wTypevWZiE7Y4FHAcjwpTF62+CcpNmHFbRQrwCaV2xqgcgRqBhujaJfywciBb2ZT62+HSa9SkhIQdkfkumaoihR9CagTuoVO2lFSxAW6cKfPocXHKvwT20VRDSNFG0b6hyHsyeeExxndB1BSgURFf75z+vwn55Qa24YWkLRYw2WP2LxSxsiwVNgRCReo+mxKPwlW3vPQNRKDLOWEoFkDsO7rTAzQB0BhSc4m52XLQNAGwjBPiIPJJQ51m/lC0QJW7zSOkXfZnOPigJpmzJBJFFCh44B2M9PzOn+8d7Sc2DLYOFuSbKLXOJUo8SADGtU/vQfc/rJl2YJB7JTN+KokhhUEGMxPMrHolokhHAq6g1wsH2X57EgGnx2nOYjaIttkHOUiMEu3D2PzWMVxMjMrnRbi4SduiHXKoYJ2nox02PMFqxYXpn4mbBEEp/Zz1+bF2hrt/neHPUthv8DL02YVBYvCF8AAAAASUVORK5CYII=",c.getMessage(this.translations,"recurrent_deposit_limit_logo_alt"))},this.renderText=(t,e)=>a(L||(L=u(['\n <div class="recurrent-deposit-limit-','">\n <ll-typography size="p">',"</ll-typography>\n </div>\n "])),t,c.getMessage(this.translations,e)),this.closeHandlerFor=()=>{this.visible=!1},this.closeHandlerForGB=()=>{this.visible=!1,this.showLimitForm=!1,this.limitValue="",this.formError="",this.requestUpdate()},this.handleSetLimitForGB=()=>{this.showLimitForm=!0},this.handleDailyLimitInput=t=>{const e=t.target,i=e.value.replace(/[^0-9.]/g,""),s=i.split(".");s.length>2?e.value=s[0]+"."+s.slice(1).join(""):e.value=i,this.limitValue=e.value,this.formError=""},this.handleSubmitLimit=async()=>{if(this.limitValue)if(this.validateLimit(this.limitValue))try{await A.updateLimit(parseFloat(this.limitValue),this.selectedPeriod),this.closeHandlerForGB()}catch(t){}else this.formError=c.getMessage(this.translations,"recurrent_deposit_limit_error_invalid");else this.formError=c.getMessage(this.translations,"recurrent_deposit_limit_error_required")},this.handleCancelLimitGB=async()=>{this.closeHandlerForGB(),A.updateOptOutTime()},this.handleCancelLimit=()=>{var t,e,i;this.closeHandlerForGB();(null===(i=null===(e=null===(t=window.dla)||void 0===t?void 0:t.resources)||void 0===e?void 0:e.countryLocale)||void 0===i?void 0:i.startsWith("en_GB"))&&A.updateOptOutTime()},this.renderEnGbButtons=()=>a(B||(B=u(['\n <ll-cta-group stacked>\n <ll-button size="regular" type="primary" @click="','">\n ','\n </ll-button>\n <ll-link @click="','"> '," </ll-link>\n </ll-cta-group>\n "])),this.handleSetLimitForGB,c.getMessage(this.translations,"recurrent_deposit_limit_btn_accept"),this.handleCancelLimitGB,c.getMessage(this.translations,"recurrent_deposit_limit_btn_close")),this.renderButtons=()=>a(M||(M=u(['\n <ll-cta-group stacked>\n <ll-button\n size="regular"\n type="primary"\n href="','"\n trackName="','_submit"\n >\n ','\n </ll-button>\n <ll-link @click="','" trackName="','_later">\n ',"\n </ll-link>\n </ll-cta-group>\n "])),c.getMessage(this.translations,"recurrent_deposit_limit_btn_accept_link"),K,c.getMessage(this.translations,"recurrent_deposit_limit_btn_accept"),this.closeHandlerFor,K,c.getMessage(this.translations,"recurrent_deposit_limit_btn_close"))}async connectedCallback(){super.connectedCallback(),this.subscribeToTopics(),!this.translations&&(this.translations=await f.loadTranslations(o.apiKey,null,null,["recurrent_deposit_limit"]))}disconnectedCallback(){super.disconnectedCallback(),d("PlayerLoggedIn")}validateLimit(t){const e=parseFloat(t);return!isNaN(e)&&e>0}renderDataImpression(){if(this.visible)return a(F||(F=u([' <div data-impression="','"></div>'])),"deposit_limit_annual_reminder")}getPeriodLabel(t){return{[O.DAY]:"Daily",[O.WEEK]:"Weekly",[O.MONTH]:"Monthly"}[t]||t}renderPeriodSelector(){const t=Object.values(O).map(t=>({value:t,label:c.getMessage(this.translations,"recurrent_deposit_limit_"+t.toLowerCase())||this.getPeriodLabel(t)}));return a(C||(C=u(['\n <div class="period-selector">\n <ll-typography size="sp"> ',' </ll-typography>\n <ll-dropdown\n name="recurrentDepositLimitPeriodSelector"\n .values=',"\n value=","\n @change=","\n ></ll-dropdown>\n </div>\n "])),c.getMessage(this.translations,"recurrent_deposit_limit_period")||"Limit period",t,this.selectedPeriod,t=>{var e;this.selectedPeriod=(null===(e=t.detail)||void 0===e?void 0:e.value)||O.MONTH})}renderDailyLimitModal(){return this.showLimitForm?a(_||(_=u(['\n <ll-modal ?visible="','" hideClose="true">\n <div slot="title">\n ','\n <ll-typography size="h4" style="--ll-typography-text-transform:capitalize;">\n '," ",'\n </ll-typography>\n </div>\n <div class="recurrent-deposit-limit-container">\n ','\n <ll-text-input\n id="dailyLimitInput"\n label="','"\n type="text"\n inputmode="decimal"\n value="','"\n @input
1="','"\n invalid="','"\n invalidInlineLabel="','"\n autocomplete="off"\n step="1"\n ></ll-text-input>\n <ll-cta-group stacked>\n <ll-button size="regular" type="primary" @click="','">\n ','\n </ll-button>\n <ll-button size="regular" type="secondary" @click="','">\n ',"\n </ll-button>\n </ll-cta-group>\n </div>\n </ll-modal>\n "])),this.showLimitForm,this.renderLogo(),this.getPeriodLabel(this.selectedPeriod),c.getMessage(this.translations,"recurrent_deposit_limit_amount"),this.renderPeriodSelector(),c.getMessage(this.translations,"recurrent_deposit_limit_amount_placeholder")||"Type limit here",this.limitValue,this.handleDailyLimitInput,!!this.formError,this.formError,this.handleSubmitLimit,c.getMessage(this.translations,"recurrent_deposit_limit_btn_accept"),this.handleCancelLimit,c.getMessage(this.translations,"recurrent_deposit_limit_btn_close")):""}renderEnGBContent(){return this.showLimitForm?this.renderDailyLimitModal():a(R||(R=u(['\n <ll-modal ?visible="','" hideClose="true">\n <div slot="title">\n ','\n <ll-typography size="h4" style="--ll-typography-text-transform:capitalize;"\n >','\n </ll-typography>\n </div>\n <section class="recurrent-deposit-limit-container">\n '," "," ","\n </section>\n </ll-modal>\n "])),this.visible,this.renderLogo(),c.getMessage(this.translations,"recurrent_deposit_limit_title"),this.renderText("text1","recurrent_deposit_limit_text1"),this.renderText("text2","recurrent_deposit_limit_text2"),this.renderEnGbButtons())}renderDefaultContent(){return a(z||(z=u(['\n <ll-modal trackname="','" ?visible="','" data-track-container="recurrentDepositLimit" hideClose="true">\n ','\n <div slot="title">\n ','\n <ll-typography size="h4" style="--ll-typography-text-transform:capitalize;"\n >','\n </ll-typography>\n </div>\n <section class="recurrent-deposit-limit-container">\n '," "," ","\n </section>\n </ll-modal>\n "])),K,this.visible,this.renderDataImpression(),this.renderLogo(),c.getMessage(this.translations,"recurrent_deposit_limit_title"),this.renderText("text1","recurrent_deposit_limit_text1"),this.renderText("text2","recurrent_deposit_limit_text2"),this.renderButtons())}render(){var t,e,i;return(null===(i=null===(e=null===(t=window.dla)||void 0===t?void 0:t.resources)||void 0===e?void 0:e.countryLocale)||void 0===i?void 0:i.startsWith("en_GB"))?this.renderEnGBContent():this.renderDefaultContent()}};G.styles=m,p([e({type:Boolean})],G.prototype,"visible",void 0),p([e({type:Object,converter:i})],G.prototype,"translations",void 0),p([s()],G.prototype,"showLimitForm",void 0),p([s()],G.prototype,"limitValue",void 0),p([s()],G.prototype,"formError",void 0),p([s()],G.prototype,"selectedPeriod",void 0),G=p([r("ll-recurrent-deposit-limit")],G);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.