@everymatrix/casino-wagering-bonuses-controller 1.87.26 → 1.87.28

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.
@@ -0,0 +1,10 @@
1
+ "use strict";var Ti=Object.defineProperty,Si=Object.defineProperties;var Bi=Object.getOwnPropertyDescriptors;var Ot=Object.getOwnPropertySymbols;var Ln=Object.prototype.hasOwnProperty,Pn=Object.prototype.propertyIsEnumerable;var on=(e,t,n)=>t in e?Ti(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Te=(e,t)=>{for(var n in t||(t={}))Ln.call(t,n)&&on(e,n,t[n]);if(Ot)for(var n of Ot(t))Pn.call(t,n)&&on(e,n,t[n]);return e},Ue=(e,t)=>Si(e,Bi(t));var wt=(e,t)=>{var n={};for(var r in e)Ln.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ot)for(var r of Ot(e))t.indexOf(r)<0&&Pn.call(e,r)&&(n[r]=e[r]);return n};var Me=(e,t,n)=>(on(e,typeof t!="symbol"?t+"":t,n),n);var Ke=(e,t,n)=>new Promise((r,i)=>{var o=u=>{try{l(n.next(u))}catch(a){i(a)}},s=u=>{try{l(n.throw(u))}catch(a){i(a)}},l=u=>u.done?r(u.value):Promise.resolve(u.value).then(o,s);l((n=n.apply(e,t)).next())});function be(){}function k(e,t){for(const n in t)e[n]=t[n];return e}function kr(e){return e()}function On(){return Object.create(null)}function Ht(e){e.forEach(kr)}function xn(e){return typeof e=="function"}function Rt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Mt;function Ci(e,t){return e===t?!0:(Mt||(Mt=document.createElement("a")),Mt.href=t,e===Mt.href)}function xi(e){return Object.keys(e).length===0}function $r(e,...t){if(e==null){for(const r of t)r(void 0);return be}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Fr(e,t,n){e.$$.on_destroy.push($r(t,n))}const Ai=["",!0,1,"true","contenteditable"];function b(e,t){e.appendChild(t)}function zt(e,t,n){const r=Ii(e);if(!r.getElementById(t)){const i=A("style");i.id=t,i.textContent=n,Hi(r,i)}}function Ii(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Hi(e,t){return b(e.head||e,t),t.sheet}function O(e,t,n){e.insertBefore(t,n||null)}function L(e){e.parentNode&&e.parentNode.removeChild(e)}function We(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function A(e){return document.createElement(e)}function Ri(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function X(e){return document.createTextNode(e)}function V(){return X(" ")}function gt(){return X("")}function je(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function Ne(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const Li=["width","height"];function y(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const r in t)t[r]==null?e.removeAttribute(r):r==="style"?e.style.cssText=t[r]:r==="__value"?e.value=e[r]=t[r]:n[r]&&n[r].set&&Li.indexOf(r)===-1?e[r]=t[r]:Ne(e,r,t[r])}function Pi(e,t){for(const n in t)Ne(e,n,t[n])}function at(e,t,n){const r=t.toLowerCase();r in e?e[r]=typeof e[r]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:Ne(e,t,n)}function Oi(e){return Array.from(e.childNodes)}function De(e,t){t=""+t,e.data!==t&&(e.data=t)}function Mi(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function Se(e,t,n){~Ai.indexOf(n)?Mi(e,t):De(e,t)}let Nt;function Ni(){if(Nt===void 0){Nt=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(e){Nt=!0}}return Nt}function Di(e,t){getComputedStyle(e).position==="static"&&(e.style.position="relative");const r=A("iframe");r.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),r.setAttribute("aria-hidden","true"),r.tabIndex=-1;const i=Ni();let o;return i?(r.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",o=je(window,"message",s=>{s.source===r.contentWindow&&t()})):(r.src="about:blank",r.onload=()=>{o=je(r.contentWindow,"resize",t),t()}),b(e,r),()=>{(i||o&&r.contentWindow)&&o(),L(r)}}function Mn(e,t,n){e.classList.toggle(t,!!n)}function ki(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let Bt;function St(e){Bt=e}function $i(){if(!Bt)throw new Error("Function called outside component initialization");return Bt}function Ct(e){$i().$$.on_mount.push(e)}const ft=[],Ut=[];let ct=[];const Nn=[],Fi=Promise.resolve();let pn=!1;function Ui(){pn||(pn=!0,Fi.then(ve))}function nt(e){ct.push(e)}const sn=new Set;let lt=0;function ve(){if(lt!==0)return;const e=Bt;do{try{for(;lt<ft.length;){const t=ft[lt];lt++,St(t),Gi(t.$$)}}catch(t){throw ft.length=0,lt=0,t}for(St(null),ft.length=0,lt=0;Ut.length;)Ut.pop()();for(let t=0;t<ct.length;t+=1){const n=ct[t];sn.has(n)||(sn.add(n),n())}ct.length=0}while(ft.length);for(;Nn.length;)Nn.pop()();pn=!1,sn.clear(),St(e)}function Gi(e){if(e.fragment!==null){e.update(),Ht(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(nt)}}function ji(e){const t=[],n=[];ct.forEach(r=>e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),ct=t}const Wi=new Set;function Vi(e,t){e&&e.i&&(Wi.delete(e),e.i(t))}function pe(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function $(e,t){const n={},r={},i={$$scope:1};let o=e.length;for(;o--;){const s=e[o],l=t[o];if(l){for(const u in s)u in l||(r[u]=1);for(const u in l)i[u]||(n[u]=l[u],i[u]=1);e[o]=l}else for(const u in s)i[u]=1}for(const s in r)s in n||(n[s]=void 0);return n}function Xi(e,t,n){const{fragment:r,after_update:i}=e.$$;r&&r.m(t,n),nt(()=>{const o=e.$$.on_mount.map(kr).filter(xn);e.$$.on_destroy?e.$$.on_destroy.push(...o):Ht(o),e.$$.on_mount=[]}),i.forEach(nt)}function zi(e,t){const n=e.$$;n.fragment!==null&&(ji(n.after_update),Ht(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Zi(e,t){e.$$.dirty[0]===-1&&(ft.push(e),Ui(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Zt(e,t,n,r,i,o,s=null,l=[-1]){const u=Bt;St(e);const a=e.$$={fragment:null,ctx:[],props:o,update:be,not_equal:i,bound:On(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:On(),dirty:l,skip_bound:!1,root:t.target||u.$$.root};s&&s(a.root);let f=!1;if(a.ctx=n?n(e,t.props||{},(h,c,..._)=>{const v=_.length?_[0]:c;return a.ctx&&i(a.ctx[h],a.ctx[h]=v)&&(!a.skip_bound&&a.bound[h]&&a.bound[h](v),f&&Zi(e,h)),c}):[],a.update(),f=!0,Ht(a.before_update),a.fragment=r?r(a.ctx):!1,t.target){if(t.hydrate){const h=Oi(t.target);a.fragment&&a.fragment.l(h),h.forEach(L)}else a.fragment&&a.fragment.c();t.intro&&Vi(e.$$.fragment),Xi(e,t.target,t.anchor),ve()}St(u)}let Ur;typeof HTMLElement=="function"&&(Ur=class extends HTMLElement{constructor(t,n,r){super();Me(this,"$$ctor");Me(this,"$$s");Me(this,"$$c");Me(this,"$$cn",!1);Me(this,"$$d",{});Me(this,"$$r",!1);Me(this,"$$p_d",{});Me(this,"$$l",{});Me(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,r&&this.attachShadow({mode:"open"})}addEventListener(t,n,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const i=this.$$c.$on(t,n);this.$$l_u.set(n,i)}super.addEventListener(t,n,r)}removeEventListener(t,n,r){if(super.removeEventListener(t,n,r),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}connectedCallback(){return Ke(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let s;return{c:function(){s=A("slot"),o!=="default"&&Ne(s,"name",o)},m:function(a,f){O(a,s,f)},d:function(a){a&&L(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},r=ki(this);for(const o of this.$$s)o in r&&(n[o]=[t(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=kt(s,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Ue(Te({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const s=kt(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const s of this.$$l[o]){const l=this.$$c.$on(o,s);this.$$l_u.set(s,l)}this.$$l={}}})}attributeChangedCallback(t,n,r){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=kt(t,r,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function kt(e,t,n,r){var o;const i=(o=n[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Jt(e,t,n,r,i,o){let s=class extends Ur{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(s.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(u){var a;u=kt(l,u,t),this.$$d[l]=u,(a=this.$$c)==null||a.$set({[l]:u})}})}),r.forEach(l=>{Object.defineProperty(s.prototype,l,{get(){var u;return(u=this.$$c)==null?void 0:u[l]}})}),e.element=s,s}class qt{constructor(){Me(this,"$$");Me(this,"$$set")}$destroy(){zi(this,1),this.$destroy=be}$on(t,n){if(!xn(n))return be;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(t){this.$$set&&!xi(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ji="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ji);if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoWageringBonusProgress-D3HOGcUu.cjs")).then(({default:t})=>{!customElements.get("casino-wagering-bonus-progress")&&customElements.define("casino-wagering-bonus-progress",t.element)})}const qi=e=>Object.keys(e).map(t=>`${t}=${e[t]}`).join("&");function Ki(e,t){let n,r;try{n=e.toString().split(".")[1].length}catch(s){n=0}try{r=t.toString().split(".")[1].length}catch(s){r=0}const i=Math.pow(10,Math.max(n,r)),o=n>=r?n:r;return((e*i-t*i)/i).toFixed(o)}const Dn=(e,t)=>({remainder:e%t,quotient:Math.floor(e/t)}),Gr=e=>{const t=new Date;return new Date(e).getTime()-t.getTime()},Yi=e=>{const t=Gr(e)/6e4,{quotient:n,remainder:r}=Dn(t,1440),{quotient:i,remainder:o}=Dn(r,60),s=Math.floor(o),l=a=>Math.abs(a)<10?`0${a}`:a;return[{value:n,symbol:"d"},{value:i,symbol:"h"},{value:s,symbol:"m"}].map(a=>l(a.value)+a.symbol).join(" ")},Gt=(e,t="")=>({class:[e,t].join(" ")}),kn=(r,i,...o)=>Ke(exports,[r,i,...o],function*(e,t,n={}){const s=Ue(Te({},n),{signal:e.signal});let l;return l=yield fetch(t,s),l=yield l.json(),l});function Qi(e){zt(e,"svelte-1c53sst",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-family:"Roboto";font-style:normal}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Info{margin-top:9.181331293px;margin-bottom:9.181331293px}.InfoMobile{margin-top:2.0512820513vw;margin-bottom:1.2820512821vw}.InfoIcon{vertical-align:middle;width:14.6901300689px;height:14.6901300689px}.InfoIconMobile{width:5.1282051282vw;height:5.1282051282vw}.InfoText{vertical-align:middle}.InfoTextMobile{margin-left:1.5384615385vw}')}function $n(e,t,n){const r=e.slice();return r[6]=t[n],r}function Fn(e){let t,n,r,i,o,s,l=e[6].text+"",u,a,f=[e[2](`InfoIcon ${e[6].key}InfoIcon`),{src:r=e[6].svg},{alt:i=e[6].key}],h={};for(let d=0;d<f.length;d+=1)h=k(h,f[d]);let c=[e[2](`InfoText ${e[6].key}InfoText`)],_={};for(let d=0;d<c.length;d+=1)_=k(_,c[d]);let v=[e[2](`Info ${e[6].key}Info`)],m={};for(let d=0;d<v.length;d+=1)m=k(m,v[d]);return{c(){t=A("div"),n=A("img"),o=V(),s=A("span"),u=X(l),a=V(),y(n,h),y(s,_),y(t,m)},m(d,E){O(d,t,E),b(t,n),b(t,o),b(t,s),b(s,u),b(t,a)},p(d,E){y(n,h=$(f,[E&6&&d[2](`InfoIcon ${d[6].key}InfoIcon`),E&2&&!Ci(n.src,r=d[6].svg)&&{src:r},E&2&&i!==(i=d[6].key)&&{alt:i}])),E&2&&l!==(l=d[6].text+"")&&Se(u,l,_.contenteditable),y(s,_=$(c,[E&6&&d[2](`InfoText ${d[6].key}InfoText`)])),y(t,m=$(v,[E&6&&d[2](`Info ${d[6].key}Info`)]))},d(d){d&&L(t)}}}function eo(e){let t,n,r;nt(e[5]);let i=pe(e[1]),o=[];for(let u=0;u<i.length;u+=1)o[u]=Fn($n(e,i,u));let s=[e[2]("InfoContainer")],l={};for(let u=0;u<s.length;u+=1)l=k(l,s[u]);return{c(){t=A("div");for(let u=0;u<o.length;u+=1)o[u].c();y(t,l)},m(u,a){O(u,t,a);for(let f=0;f<o.length;f+=1)o[f]&&o[f].m(t,null);n||(r=je(window,"resize",e[5]),n=!0)},p(u,[a]){if(a&6){i=pe(u[1]);let f;for(f=0;f<i.length;f+=1){const h=$n(u,i,f);o[f]?o[f].p(h,a):(o[f]=Fn(h),o[f].c(),o[f].m(t,null))}for(;f<o.length;f+=1)o[f].d(1);o.length=i.length}y(t,l=$(s,[a&4&&u[2]("InfoContainer")]))},i:be,o:be,d(u){u&&L(t),We(o,u),n=!1,r()}}}function to(e,t,n){let r,i,o,{infos:s="[]"}=t,l;function u(){n(0,l=window.innerWidth)}return e.$$set=a=>{"infos"in a&&n(3,s=a.infos)},e.$$.update=()=>{e.$$.dirty&1&&n(4,r=l<=576),e.$$.dirty&16&&n(2,i=a=>{if(r){const f=a.split(" ").map(h=>`${h}Mobile`).join(" ");return Gt(`${a} ${f}`)}else return Gt(`${a}`)}),e.$$.dirty&8&&n(1,o=JSON.parse(s))},[l,o,i,s,r,u]}class no extends qt{constructor(t){super(),Zt(this,t,to,eo,Rt,{infos:3},Qi)}get infos(){return this.$$.ctx[3]}set infos(t){this.$$set({infos:t}),ve()}}customElements.define("private-casino-wagering-bonus-info",Jt(no,{infos:{}},[],[],!0));const Un="data:image/svg+xml,%3csvg%20width='25'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3490_338)'%3e%3cpath%20d='M12.5%200C5.60762%200%200%205.60762%200%2012.5C0%2019.3924%205.60762%2025%2012.5%2025C19.3924%2025%2025%2019.3924%2025%2012.5C25%205.60762%2019.3924%200%2012.5%200ZM12.5%2023.4375C6.46896%2023.4375%201.56251%2018.531%201.56251%2012.5C1.56251%206.46896%206.46896%201.56251%2012.5%201.56251C18.531%201.56251%2023.4375%206.46896%2023.4375%2012.5C23.4375%2018.531%2018.531%2023.4375%2012.5%2023.4375V23.4375Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M13.2813%204.6875H11.7188V12.8235L16.6351%2017.7398L17.7399%2016.6351L13.2813%2012.1765V4.6875Z'%20fill='%2300AEEF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3490_338'%3e%3crect%20width='25'%20height='25'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ro="data:image/svg+xml,%3csvg%20width='26'%20height='25'%20viewBox='0%200%2026%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3490_603)'%3e%3cpath%20d='M12.502%200C5.60958%200%200.00195312%205.60762%200.00195312%2012.5C0.00195312%2019.3924%205.60958%2025%2012.502%2025C19.3943%2025%2025.002%2019.3924%2025.002%2012.5C25.002%205.60762%2019.3943%200%2012.502%200ZM12.502%2023.4375C6.47091%2023.4375%201.56446%2018.531%201.56446%2012.5C1.56446%206.46896%206.47091%201.56251%2012.502%201.56251C18.533%201.56251%2023.4394%206.46896%2023.4394%2012.5C23.4394%2018.531%2018.533%2023.4375%2012.502%2023.4375Z'%20fill='black'/%3e%3cpath%20d='M13.2832%204.6875H11.7207V12.8235L16.6371%2017.7398L17.7418%2016.6351L13.2832%2012.1765V4.6875Z'%20fill='black'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3490_603'%3e%3crect%20width='25'%20height='25'%20fill='white'%20transform='translate(0.00195312)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Gn="data:image/svg+xml,%3csvg%20width='25'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3490_347)'%3e%3cpath%20d='M12.5002%207.5C11.5797%207.5%2010.8335%208.2462%2010.8335%209.16667V23.3333C10.8335%2024.2538%2011.5797%2025%2012.5002%2025C13.4206%2025%2014.1668%2024.2538%2014.1668%2023.3333V9.16667C14.1668%208.2462%2013.4206%207.5%2012.5002%207.5ZM13.3335%2023.3333C13.3335%2023.7936%2012.9604%2024.1667%2012.5002%2024.1667C12.0399%2024.1667%2011.6668%2023.7936%2011.6668%2023.3333V9.16667C11.6668%208.70641%2012.0399%208.33333%2012.5002%208.33333C12.9604%208.33333%2013.3335%208.70641%2013.3335%209.16667V23.3333Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M7.08317%2012.5C6.1627%2012.5%205.4165%2013.2462%205.4165%2014.1667V23.3333C5.4165%2024.2538%206.1627%2025%207.08317%2025C8.00364%2025%208.74984%2024.2538%208.74984%2023.3333V14.1667C8.74984%2013.2462%208.00364%2012.5%207.08317%2012.5ZM7.9165%2023.3333C7.9165%2023.7936%207.54343%2024.1667%207.08317%2024.1667C6.62291%2024.1667%206.24984%2023.7936%206.24984%2023.3333V14.1667C6.24984%2013.7064%206.62291%2013.3333%207.08317%2013.3333C7.54343%2013.3333%207.9165%2013.7064%207.9165%2014.1667V23.3333Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M1.66667%2018.333C0.746198%2018.333%200%2019.0792%200%2019.9997V23.333C0%2024.2535%200.746198%2024.9997%201.66667%2024.9997C2.58714%2024.9997%203.33333%2024.2535%203.33333%2023.333V19.9997C3.33333%2019.0792%202.58714%2018.333%201.66667%2018.333ZM2.5%2023.333C2.5%2023.7933%202.12693%2024.1663%201.66667%2024.1663C1.20641%2024.1663%200.833333%2023.7933%200.833333%2023.333V19.9997C0.833333%2019.5394%201.20641%2019.1663%201.66667%2019.1663C2.12693%2019.1663%202.5%2019.5394%202.5%2019.9997V23.333Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M17.9167%202.5C16.9962%202.5%2016.25%203.2462%2016.25%204.16667V23.3333C16.25%2024.2538%2016.9962%2025%2017.9167%2025C18.8371%2025%2019.5833%2024.2538%2019.5833%2023.3333V4.16667C19.5833%203.2462%2018.8371%202.5%2017.9167%202.5ZM18.75%2023.3333C18.75%2023.7936%2018.3769%2024.1667%2017.9167%2024.1667C17.4564%2024.1667%2017.0833%2023.7936%2017.0833%2023.3333V4.16667C17.0833%203.70641%2017.4564%203.33333%2017.9167%203.33333C18.3769%203.33333%2018.75%203.70641%2018.75%204.16667V23.3333Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M23.3332%200C22.4127%200%2021.6665%200.746198%2021.6665%201.66667V23.3333C21.6665%2024.2538%2022.4127%2025%2023.3332%2025C24.2536%2025%2024.9998%2024.2538%2024.9998%2023.3333V1.66667C24.9998%200.746198%2024.2536%200%2023.3332%200ZM24.1665%2023.3333C24.1665%2023.7936%2023.7934%2024.1667%2023.3332%2024.1667C22.8729%2024.1667%2022.4998%2023.7936%2022.4998%2023.3333V1.66667C22.4998%201.20641%2022.8729%200.833333%2023.3332%200.833333C23.7934%200.833333%2024.1665%201.20641%2024.1665%201.66667V23.3333Z'%20fill='%2300AEEF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3490_347'%3e%3crect%20width='25'%20height='25'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";var re=(e=>(e.claimable="claimable",e.active="active",e.completed="completed",e.forfeited="forfeited",e.expired="expired",e.released="released",e.closed="closed",e))(re||{}),xt=(e=>(e.claimable="claimable",e.active="active",e.completed="completed",e))(xt||{}),mn=(e=>(e.standard="standard",e.freeBet="freeBet",e.freeRound="freeRound",e.tournamentTicket="tournamentTicket",e.oddsBoost="oddsBoost",e.cashBack="cashBack",e))(mn||{}),An=(e=>(e.en="en",e))(An||{}),io=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function oo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var gn={exports:{}};/** @license
2
+ * eventsource.js
3
+ * Available under MIT License (MIT)
4
+ * https://github.com/Yaffle/EventSource/
5
+ */(function(e,t){(function(n){var r=n.setTimeout,i=n.clearTimeout,o=n.XMLHttpRequest,s=n.XDomainRequest,l=n.ActiveXObject,u=n.EventSource,a=n.document,f=n.Promise,h=n.fetch,c=n.Response,_=n.TextDecoder,v=n.TextEncoder,m=n.AbortController;if(typeof window!="undefined"&&typeof a!="undefined"&&!("readyState"in a)&&a.body==null&&(a.readyState="loading",window.addEventListener("load",function(g){a.readyState="complete"},!1)),o==null&&l!=null&&(o=function(){return new l("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(g){function C(){}return C.prototype=g,new C}),Date.now||(Date.now=function(){return new Date().getTime()}),m==null){var d=h;h=function(g,C){var I=C.signal;return d(g,{headers:C.headers,credentials:C.credentials,cache:C.cache}).then(function(T){var N=T.body.getReader();return I._reader=N,I._aborted&&I._reader.cancel(),{status:T.status,statusText:T.statusText,headers:T.headers,body:{getReader:function(){return N}}}})},m=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function E(){this.bitsNeeded=0,this.codePoint=0}E.prototype.decode=function(g){function C(P,Z,H){if(H===1)return P>=128>>Z&&P<<Z<=2047;if(H===2)return P>=2048>>Z&&P<<Z<=55295||P>=57344>>Z&&P<<Z<=65535;if(H===3)return P>=65536>>Z&&P<<Z<=1114111;throw new Error}function I(P,Z){if(P===6*1)return Z>>6>15?3:Z>31?2:1;if(P===6*2)return Z>15?3:2;if(P===6*3)return 3;throw new Error}for(var T=65533,N="",R=this.bitsNeeded,F=this.codePoint,oe=0;oe<g.length;oe+=1){var p=g[oe];R!==0&&(p<128||p>191||!C(F<<6|p&63,R-6,I(R,F)))&&(R=0,F=T,N+=String.fromCharCode(F)),R===0?(p>=0&&p<=127?(R=0,F=p):p>=192&&p<=223?(R=6*1,F=p&31):p>=224&&p<=239?(R=6*2,F=p&15):p>=240&&p<=247?(R=6*3,F=p&7):(R=0,F=T),R!==0&&!C(F,R,I(R,F))&&(R=0,F=T)):(R-=6,F=F<<6|p&63),R===0&&(F<=65535?N+=String.fromCharCode(F):(N+=String.fromCharCode(55296+(F-65535-1>>10)),N+=String.fromCharCode(56320+(F-65535-1&1023))))}return this.bitsNeeded=R,this.codePoint=F,N};var D=function(){try{return new _().decode(new v().encode("test"),{stream:!0})==="test"}catch(g){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+g)}return!1};(_==null||v==null||!D())&&(_=E);var M=function(){};function U(g){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=M,this.onload=M,this.onerror=M,this.onreadystatechange=M,this._contentType="",this._xhr=g,this._sendTimeout=0,this._abort=M}U.prototype.open=function(g,C){this._abort(!0);var I=this,T=this._xhr,N=1,R=0;this._abort=function(H){I._sendTimeout!==0&&(i(I._sendTimeout),I._sendTimeout=0),(N===1||N===2||N===3)&&(N=4,T.onload=M,T.onerror=M,T.onabort=M,T.onprogress=M,T.onreadystatechange=M,T.abort(),R!==0&&(i(R),R=0),H||(I.readyState=4,I.onabort(null),I.onreadystatechange())),N=0};var F=function(){if(N===1){var H=0,se="",Ve=void 0;if("contentType"in T)H=200,se="OK",Ve=T.contentType;else try{H=T.status,se=T.statusText,Ve=T.getResponseHeader("Content-Type")}catch(yt){H=0,se="",Ve=void 0}H!==0&&(N=2,I.readyState=2,I.status=H,I.statusText=se,I._contentType=Ve,I.onreadystatechange())}},oe=function(){if(F(),N===2||N===3){N=3;var H="";try{H=T.responseText}catch(se){}I.readyState=3,I.responseText=H,I.onprogress()}},p=function(H,se){if((se==null||se.preventDefault==null)&&(se={preventDefault:M}),oe(),N===1||N===2||N===3){if(N=4,R!==0&&(i(R),R=0),I.readyState=4,H==="load")I.onload(se);else if(H==="error")I.onerror(se);else if(H==="abort")I.onabort(se);else throw new TypeError;I.onreadystatechange()}},P=function(H){T!=null&&(T.readyState===4?(!("onload"in T)||!("onerror"in T)||!("onabort"in T))&&p(T.responseText===""?"error":"load",H):T.readyState===3?"onprogress"in T||oe():T.readyState===2&&F())},Z=function(){R=r(function(){Z()},500),T.readyState===3&&oe()};"onload"in T&&(T.onload=function(H){p("load",H)}),"onerror"in T&&(T.onerror=function(H){p("error",H)}),"onabort"in T&&(T.onabort=function(H){p("abort",H)}),"onprogress"in T&&(T.onprogress=oe),"onreadystatechange"in T&&(T.onreadystatechange=function(H){P(H)}),("contentType"in T||!("ontimeout"in o.prototype))&&(C+=(C.indexOf("?")===-1?"?":"&")+"padding=true"),T.open(g,C,!0),"readyState"in T&&(R=r(function(){Z()},0))},U.prototype.abort=function(){this._abort(!1)},U.prototype.getResponseHeader=function(g){return this._contentType},U.prototype.setRequestHeader=function(g,C){var I=this._xhr;"setRequestHeader"in I&&I.setRequestHeader(g,C)},U.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},U.prototype.send=function(){if((!("ontimeout"in o.prototype)||!("sendAsBinary"in o.prototype)&&!("mozAnon"in o.prototype))&&a!=null&&a.readyState!=null&&a.readyState!=="complete"){var g=this;g._sendTimeout=r(function(){g._sendTimeout=0,g.send()},4);return}var C=this._xhr;"withCredentials"in C&&(C.withCredentials=this.withCredentials);try{C.send(void 0)}catch(I){throw I}};function G(g){return g.replace(/[A-Z]/g,function(C){return String.fromCharCode(C.charCodeAt(0)+32)})}function ee(g){for(var C=Object.create(null),I=g.split(`\r
6
+ `),T=0;T<I.length;T+=1){var N=I[T],R=N.split(": "),F=R.shift(),oe=R.join(": ");C[G(F)]=oe}this._map=C}ee.prototype.get=function(g){return this._map[G(g)]},o!=null&&o.HEADERS_RECEIVED==null&&(o.HEADERS_RECEIVED=2);function j(){}j.prototype.open=function(g,C,I,T,N,R,F){g.open("GET",N);var oe=0;g.onprogress=function(){var P=g.responseText,Z=P.slice(oe);oe+=Z.length,I(Z)},g.onerror=function(P){P.preventDefault(),T(new Error("NetworkError"))},g.onload=function(){T(null)},g.onabort=function(){T(null)},g.onreadystatechange=function(){if(g.readyState===o.HEADERS_RECEIVED){var P=g.status,Z=g.statusText,H=g.getResponseHeader("Content-Type"),se=g.getAllResponseHeaders();C(P,Z,H,new ee(se))}},g.withCredentials=R;for(var p in F)Object.prototype.hasOwnProperty.call(F,p)&&g.setRequestHeader(p,F[p]);return g.send(),g};function ae(g){this._headers=g}ae.prototype.get=function(g){return this._headers.get(g)};function ue(){}ue.prototype.open=function(g,C,I,T,N,R,F){var oe=null,p=new m,P=p.signal,Z=new _;return h(N,{headers:F,credentials:R?"include":"same-origin",signal:P,cache:"no-store"}).then(function(H){return oe=H.body.getReader(),C(H.status,H.statusText,H.headers.get("Content-Type"),new ae(H.headers)),new f(function(se,Ve){var yt=function(){oe.read().then(function(Le){if(Le.done)se(void 0);else{var Ae=Z.decode(Le.value,{stream:!0});I(Ae),yt()}}).catch(function(Le){Ve(Le)})};yt()})}).catch(function(H){if(H.name!=="AbortError")return H}).then(function(H){T(H)}),{abort:function(){oe!=null&&oe.cancel(),p.abort()}}};function te(){this._listeners=Object.create(null)}function fe(g){r(function(){throw g},0)}te.prototype.dispatchEvent=function(g){g.target=this;var C=this._listeners[g.type];if(C!=null)for(var I=C.length,T=0;T<I;T+=1){var N=C[T];try{typeof N.handleEvent=="function"?N.handleEvent(g):N.call(this,g)}catch(R){fe(R)}}},te.prototype.addEventListener=function(g,C){g=String(g);var I=this._listeners,T=I[g];T==null&&(T=[],I[g]=T);for(var N=!1,R=0;R<T.length;R+=1)T[R]===C&&(N=!0);N||T.push(C)},te.prototype.removeEventListener=function(g,C){g=String(g);var I=this._listeners,T=I[g];if(T!=null){for(var N=[],R=0;R<T.length;R+=1)T[R]!==C&&N.push(T[R]);N.length===0?delete I[g]:I[g]=N}};function q(g){this.type=g,this.target=void 0}function K(g,C){q.call(this,g),this.data=C.data,this.lastEventId=C.lastEventId}K.prototype=Object.create(q.prototype);function Y(g,C){q.call(this,g),this.status=C.status,this.statusText=C.statusText,this.headers=C.headers}Y.prototype=Object.create(q.prototype);function me(g,C){q.call(this,g),this.error=C.error}me.prototype=Object.create(q.prototype);var he=-1,w=0,S=1,x=2,z=-1,de=0,Be=1,B=2,Q=3,Ce=/^text\/event\-stream(;.*)?$/i,ie=1e3,ne=18e6,$e=function(g,C){var I=g==null?C:parseInt(g,10);return I!==I&&(I=C),Je(I)},Je=function(g){return Math.min(Math.max(g,ie),ne)},Fe=function(g,C,I){try{typeof C=="function"&&C.call(g,I)}catch(T){fe(T)}};function ye(g,C){te.call(this),C=C||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,xe(this,g,C)}function qe(){return o!=null&&"withCredentials"in o.prototype||s==null?new o:new s}var Ee=h!=null&&c!=null&&"body"in c.prototype;function xe(g,C,I){C=String(C);var T=!!I.withCredentials,N=I.lastEventIdQueryParameterName||"lastEventId",R=Je(1e3),F=$e(I.heartbeatTimeout,45e3),oe="",p=R,P=!1,Z=0,H=I.headers||{},se=I.Transport,Ve=Ee&&se==null?void 0:new U(se!=null?new se:qe()),yt=se!=null&&typeof se!="string"?new se:Ve==null?new ue:new j,Le=void 0,Ae=0,ke=he,ot="",Lt="",Xe="",Pt="",Ie=de,nn=0,tt=0,Ei=function(_e,ge,Pe,Oe){if(ke===w)if(_e===200&&Pe!=null&&Ce.test(Pe)){ke=S,P=Date.now(),p=R,g.readyState=S;var He=new Y("open",{status:_e,statusText:ge,headers:Oe});g.dispatchEvent(He),Fe(g,g.onopen,He)}else{var we="";_e!==200?(ge&&(ge=ge.replace(/\s+/g," ")),we="EventSource's response has a status "+_e+" "+ge+" that is not 200. Aborting the connection."):we="EventSource's response has a Content-Type specifying an unsupported type: "+(Pe==null?"-":Pe.replace(/\s+/g," "))+". Aborting the connection.",rn();var He=new Y("error",{status:_e,statusText:ge,headers:Oe});g.dispatchEvent(He),Fe(g,g.onerror,He),console.error(we)}},wi=function(_e){if(ke===S){for(var ge=-1,Pe=0;Pe<_e.length;Pe+=1){var Oe=_e.charCodeAt(Pe);(Oe===10||Oe===13)&&(ge=Pe)}var He=(ge!==-1?Pt:"")+_e.slice(0,ge+1);Pt=(ge===-1?Pt:"")+_e.slice(ge+1),_e!==""&&(P=Date.now(),Z+=_e.length);for(var we=0;we<He.length;we+=1){var Oe=He.charCodeAt(we);if(Ie===z&&Oe===10)Ie=de;else if(Ie===z&&(Ie=de),Oe===13||Oe===10){if(Ie!==de){Ie===Be&&(tt=we+1);var ze=He.slice(nn,tt-1),Ze=He.slice(tt+(tt<we&&He.charCodeAt(tt)===32?1:0),we);ze==="data"?(ot+=`
7
+ `,ot+=Ze):ze==="id"?Lt=Ze:ze==="event"?Xe=Ze:ze==="retry"?(R=$e(Ze,R),p=R):ze==="heartbeatTimeout"&&(F=$e(Ze,F),Ae!==0&&(i(Ae),Ae=r(function(){Et()},F)))}if(Ie===de){if(ot!==""){oe=Lt,Xe===""&&(Xe="message");var st=new K(Xe,{data:ot.slice(1),lastEventId:Lt});if(g.dispatchEvent(st),Xe==="open"?Fe(g,g.onopen,st):Xe==="message"?Fe(g,g.onmessage,st):Xe==="error"&&Fe(g,g.onerror,st),ke===x)return}ot="",Xe=""}Ie=Oe===13?z:de}else Ie===de&&(nn=we,Ie=Be),Ie===Be?Oe===58&&(tt=we+1,Ie=B):Ie===B&&(Ie=Q)}}},Rn=function(_e){if(ke===S||ke===w){ke=he,Ae!==0&&(i(Ae),Ae=0),Ae=r(function(){Et()},p),p=Je(Math.min(R*16,p*2)),g.readyState=w;var ge=new me("error",{error:_e});g.dispatchEvent(ge),Fe(g,g.onerror,ge),_e!=null&&console.error(_e)}},rn=function(){ke=x,Le!=null&&(Le.abort(),Le=void 0),Ae!==0&&(i(Ae),Ae=0),g.readyState=x},Et=function(){if(Ae=0,ke!==he){if(!P&&Le!=null)Rn(new Error("No activity within "+F+" milliseconds. "+(ke===w?"No response received.":Z+" chars received.")+" Reconnecting.")),Le!=null&&(Le.abort(),Le=void 0);else{var _e=Math.max((P||Date.now())+F-Date.now(),1);P=!1,Ae=r(function(){Et()},_e)}return}P=!1,Z=0,Ae=r(function(){Et()},F),ke=w,ot="",Xe="",Lt=oe,Pt="",nn=0,tt=0,Ie=de;var ge=C;if(C.slice(0,5)!=="data:"&&C.slice(0,5)!=="blob:"&&oe!==""){var Pe=C.indexOf("?");ge=Pe===-1?C:C.slice(0,Pe+1)+C.slice(Pe+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(Ze,st){return st===N?"":Ze}),ge+=(C.indexOf("?")===-1?"?":"&")+N+"="+encodeURIComponent(oe)}var Oe=g.withCredentials,He={};He.Accept="text/event-stream";var we=g.headers;if(we!=null)for(var ze in we)Object.prototype.hasOwnProperty.call(we,ze)&&(He[ze]=we[ze]);try{Le=yt.open(Ve,Ei,wi,Rn,ge,Oe,He)}catch(Ze){throw rn(),Ze}};g.url=C,g.readyState=w,g.withCredentials=T,g.headers=H,g._close=rn,Et()}ye.prototype=Object.create(te.prototype),ye.prototype.CONNECTING=w,ye.prototype.OPEN=S,ye.prototype.CLOSED=x,ye.prototype.close=function(){this._close()},ye.CONNECTING=w,ye.OPEN=S,ye.CLOSED=x,ye.prototype.withCredentials=void 0;var it=u;o!=null&&(u==null||!("withCredentials"in u.prototype))&&(it=ye),function(g){{var C=g(t);C!==void 0&&(e.exports=C)}}(function(g){g.EventSourcePolyfill=ye,g.NativeEventSource=u,g.EventSource=it})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:io:globalThis)})(gn,gn.exports);var so=gn.exports;const Ye=e=>window.postMessage(e,window.location.href),ao=e=>n=>{Object.keys(e).map(r=>{if(n.data&&n.data.type==r){const i=n.data,{type:o}=i,s=wt(i,["type"]);e[r](s)}})},jr=e=>{const t=ao(e);Ct(()=>(window.addEventListener("message",t),()=>{window.removeEventListener("message",t)}))},an=(e,t)=>{e&&(e.removeEventListener("message",t),e.close())},lo=(e,t,n)=>{let r;return EventSource?r=new EventSource(e,t):r=new so.EventSourcePolyfill(e,t),r.addEventListener("message",n),r},uo=e=>n=>{const r=n.data;if(r)try{const i=JSON.parse(r);if(!i)return;Object.keys(e).map(o=>{if(i.messageType==o){const s=i,{messageType:l}=s,u=wt(s,["messageType"]);e[o](u)}})}catch(i){console.error(i)}},Wr=e=>fo[e],fo={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"},co=e=>{const t=window.BigInt;if(!e||e==null||e.length===0)return;let n=t(e[0].id);return{maxIdObj:e.reduce((i,o)=>{const s=t(o.id);return s>n?(n=s,o):i},e[0]),maxId:n.toString()}},ho=(e,t)=>JSON.stringify(e.map(n=>({bonusWalletID:n.id,progressID:t[n.id]||0}))),po=(e,t,n,r,i)=>{const o=n.filter(a=>mo(a));if(!o.length)return;const s={walletFilter:ho(o,i),XSessionId:t,HeartBeat:!0},l=`${e}/v1/bonus/wagering/updates?${qi(s)}`;return lo(l,{headers:{accept:"text/event-stream"}},r)},jt=(e,t)=>{switch(e){case re.completed:case re.released:case re.expired:case re.closed:case re.forfeited:return t.other();case re.active:return t.active();case void 0:return t.active();default:throw new Error(`unknown Bonus Status: ${e}`)}},Vr=(e,t)=>{switch(e){case re.completed:case re.released:return t.completed();case re.active:case re.expired:case re.closed:case re.forfeited:return t.current();default:throw new Error(`unknown Bonus Status: ${e}`)}},Xr={list:(i,o,s,...l)=>Ke(exports,[i,o,s,...l],function*(e,t,n,r={}){const m=r,{limit:u,lang:a,status:f}=m,h=wt(m,["limit","lang","status"]),c=Te(Te({type:"wagering",pagination:`limit=${u||50},offset=0`,language:a},!f||f===re.claimable?{}:{status:f}),h),_=(()=>{switch(f){case re.claimable:return"claimable";default:return"granted"}})(),v=new URL(`${t}/v1/bonus/${_}`);return Object.keys(c).map(d=>{v.searchParams.append(d,c[d])}),yield kn(e,v,{headers:Te({},n?{"x-SessionId":n}:{})})}),start:(e,t,n,r,i)=>Ke(exports,null,function*(){return yield kn(e,t+"/v1/bonus/claim",{method:"PUT",body:JSON.stringify({bonusCode:r,currency:i}),headers:{"x-SessionId":n,accept:"text/plain","Content-Type":"application/json-patch+json"}})})},mo=e=>e.bonusWalletID?jt(e.status,{active:()=>!0,other:()=>!1}):!1,vn=(e,t,n)=>{switch(t.type){case mn.standard:case mn.freeBet:{const r=Ue(Te({},t),{currency:Wr(Object.keys(e.increment)[0])});return t.mode==="percentage"&&(r.bonusAmount=r.bonusAmount*100),t.type==="freeBet"&&t.mode==="fixed"&&(r.currency=""),n(`reward.${t.mode}`,r)+" "+n(`reward.${t.type}`)}default:return n(`reward.${t.type}`,t)}},jn=(e,t,n)=>{var s;const r=((s=e.wageringProgress)==null?void 0:s.currentLevel)-1,i=t.length-1,o=l=>l.filter(u=>u.index>=0&&u.index<=i).map(u=>{const a=t[u.index];return{key:u.key,descriptions:a.bonuses.map(f=>vn(a,f,n))}});return jt(e.status,{active:()=>{if(e.status)return o([{key:"current",index:r},{key:"next",index:r+1}]);if(!e.status)return o([{key:"first",index:0},{key:"next",index:1}])},other:()=>o([{key:"last",index:i},{key:"previous",index:i-1}])})},go=e=>{const t=[];return e.map(n=>{const o=n,{maxRepeats:r}=o,i=wt(o,["maxRepeats"]);if(r>0)for(let s=0;s<r;s++)t.push(Te({},i));else t.push(Te({},i))}),t},Wn=(e,t)=>{if(!e.wageringProgress)return;const{currency:n,currentLevelIncrement:r,gap:i,currentLevel:o}=e.wageringProgress,s=Wr(n),l=t[o-1];return{currencySymbol:s,levelInfo:l,currency:n,currentLevelIncrement:r,gap:i,currentLevel:o}},Vn=e=>{if(!e.wageringProgress)return 0;const{currentLevelIncrement:t,gap:n}=e.wageringProgress;return(t-n).toFixed(2)},Xn=e=>Vr(e.status,{completed:()=>"100",current:()=>{if(!e.wageringProgress)return"0";const{currentLevelIncrement:t,gap:n}=e.wageringProgress,r=Number(Ki(t,n));return String(Math.ceil(r/t*100))}}),zr=(e,t,n)=>e.levels.find(r=>r.maxRepeats===0)?t:n,vo=(e,t)=>{const n=zr(e,"∞",t.length);return Vr(e.status,{completed:()=>({text:t.length,textWithLength:`${t.length}/${t.length}`}),current:()=>{if(!e.wageringProgress)return{current:"0",textWithLength:`0/${n}`};const{currentLevel:r}=e.wageringProgress;return{text:r,textWithLength:`${r}/${n}`}}})},zn=(e,t,n,r)=>{if(!e)return;const i=Gr(e);i<0?n():(r(Yi(e)),i<t&&setTimeout(()=>{Ye({type:"OnWageringBonusExpired"})},i))},_o=e=>{switch(e){case"active":return re.active;case"completed":return[re.expired,re.forfeited,re.released,re.completed,re.closed].join(",")}},Zn=(e,t,n)=>{const r=e===0?0:n.levels[e-1].maxRepeats-1;return t.maxRepeats>1?`${e+1+r}-${e+1+r+t.maxRepeats-1}`:e+1+r},ut=[];function bo(e,t){return{subscribe:Kt(e,t).subscribe}}function Kt(e,t=be){let n;const r=new Set;function i(l){if(Rt(e,l)&&(e=l,n)){const u=!ut.length;for(const a of r)a[1](),ut.push(a,e);if(u){for(let a=0;a<ut.length;a+=2)ut[a][0](ut[a+1]);ut.length=0}}}function o(l){i(l(e))}function s(l,u=be){const a=[l,u];return r.add(a),r.size===1&&(n=t(i,o)||be),l(e),()=>{r.delete(a),r.size===0&&n&&(n(),n=null)}}return{set:i,update:o,subscribe:s}}function vt(e,t,n){const r=!Array.isArray(e),i=r?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return bo(n,(s,l)=>{let u=!1;const a=[];let f=0,h=be;const c=()=>{if(f)return;h();const v=t(r?a[0]:a,s,l);o?s(v):h=xn(v)?v:be},_=i.map((v,m)=>$r(v,d=>{a[m]=d,f&=~(1<<m),u&&c()},()=>{f|=1<<m}));return u=!0,c(),function(){Ht(_),h(),u=!1}})}var yo=function(t){return Eo(t)&&!wo(t)};function Eo(e){return!!e&&typeof e=="object"}function wo(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Bo(e)}var To=typeof Symbol=="function"&&Symbol.for,So=To?Symbol.for("react.element"):60103;function Bo(e){return e.$$typeof===So}function Co(e){return Array.isArray(e)?[]:{}}function At(e,t){return t.clone!==!1&&t.isMergeableObject(e)?ht(Co(e),e,t):e}function xo(e,t,n){return e.concat(t).map(function(r){return At(r,n)})}function Ao(e,t){if(!t.customMerge)return ht;var n=t.customMerge(e);return typeof n=="function"?n:ht}function Io(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Jn(e){return Object.keys(e).concat(Io(e))}function Zr(e,t){try{return t in e}catch(n){return!1}}function Ho(e,t){return Zr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ro(e,t,n){var r={};return n.isMergeableObject(e)&&Jn(e).forEach(function(i){r[i]=At(e[i],n)}),Jn(t).forEach(function(i){Ho(e,i)||(Zr(e,i)&&n.isMergeableObject(t[i])?r[i]=Ao(i,n)(e[i],t[i],n):r[i]=At(t[i],n))}),r}function ht(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||xo,n.isMergeableObject=n.isMergeableObject||yo,n.cloneUnlessOtherwiseSpecified=At;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):Ro(e,t,n):At(t,n)}ht.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return ht(r,i,n)},{})};var Lo=ht,Po=Lo;const Oo=oo(Po);var _n=function(e,t){return _n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},_n(e,t)};function Yt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");_n(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Ge=function(){return Ge=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Ge.apply(this,arguments)};function Mo(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function ln(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function un(e,t){var n=t&&t.cache?t.cache:Go,r=t&&t.serializer?t.serializer:Fo,i=t&&t.strategy?t.strategy:ko;return i(e,{cache:n,serializer:r})}function No(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Do(e,t,n,r){var i=No(r)?r:n(r),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,r),t.set(i,o)),o}function Jr(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return typeof o=="undefined"&&(o=e.apply(this,r),t.set(i,o)),o}function qr(e,t,n,r,i){return n.bind(t,e,r,i)}function ko(e,t){var n=e.length===1?Do:Jr;return qr(e,this,n,t.cache.create(),t.serializer)}function $o(e,t){return qr(e,this,Jr,t.cache.create(),t.serializer)}var Fo=function(){return JSON.stringify(arguments)},Uo=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,n){this.cache[t]=n},e}(),Go={create:function(){return new Uo}},fn={variadic:$o},Wt=function(){return Wt=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Wt.apply(this,arguments)};var W;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(W||(W={}));var le;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(le||(le={}));var dt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(dt||(dt={}));function qn(e){return e.type===le.literal}function jo(e){return e.type===le.argument}function Kr(e){return e.type===le.number}function Yr(e){return e.type===le.date}function Qr(e){return e.type===le.time}function ei(e){return e.type===le.select}function ti(e){return e.type===le.plural}function Wo(e){return e.type===le.pound}function ni(e){return e.type===le.tag}function ri(e){return!!(e&&typeof e=="object"&&e.type===dt.number)}function bn(e){return!!(e&&typeof e=="object"&&e.type===dt.dateTime)}var ii=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Vo=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Xo(e){var t={};return e.replace(Vo,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var ce=function(){return ce=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ce.apply(this,arguments)};var zo=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Zo(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(zo).filter(function(c){return c.length>0}),n=[],r=0,i=t;r<i.length;r++){var o=i[r],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var l=s[0],u=s.slice(1),a=0,f=u;a<f.length;a++){var h=f[a];if(h.length===0)throw new Error("Invalid number skeleton")}n.push({stem:l,options:u})}return n}function Jo(e){return e.replace(/^(.*?)-/,"")}var Kn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,oi=/^(@+)?(\+|#+)?[rs]?$/g,qo=/(\*)(0+)|(#+)(0+)|(0+)/g,si=/^(0+)$/;function Yn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(oi,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function ai(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Ko(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!si.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Qn(e){var t={},n=ai(e);return n||t}function Yo(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Jo(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=ce(ce(ce({},t),{notation:"scientific"}),i.options.reduce(function(u,a){return ce(ce({},u),Qn(a))},{}));continue;case"engineering":t=ce(ce(ce({},t),{notation:"engineering"}),i.options.reduce(function(u,a){return ce(ce({},u),Qn(a))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(qo,function(u,a,f,h,c,_){if(a)t.minimumIntegerDigits=f.length;else{if(h&&c)throw new Error("We currently do not support maximum integer digits");if(_)throw new Error("We currently do not support exact integer digits")}return""});continue}if(si.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Kn.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Kn,function(u,a,f,h,c,_){return f==="*"?t.minimumFractionDigits=a.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:c&&_?(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length+_.length):(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length),""});var o=i.options[0];o==="w"?t=ce(ce({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=ce(ce({},t),Yn(o)));continue}if(oi.test(i.stem)){t=ce(ce({},t),Yn(i.stem));continue}var s=ai(i.stem);s&&(t=ce(ce({},t),s));var l=Ko(i.stem);l&&(t=ce(ce({},t),l))}return t}var Dt={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Qo(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if(i==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(o&1),l=o<2?1:3+(o>>1),u="a",a=es(t);for((a=="H"||a=="k")&&(l=0);l-- >0;)n+=u;for(;s-- >0;)n=a+n}else i==="J"?n+="H":n+=i}return n}function es(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=Dt[r||""]||Dt[n||""]||Dt["".concat(n,"-001")]||Dt["001"];return i[0]}var cn,ts=new RegExp("^".concat(ii.source,"*")),ns=new RegExp("".concat(ii.source,"*$"));function J(e,t){return{start:e,end:t}}var rs=!!String.prototype.startsWith&&"_a".startsWith("a",1),is=!!String.fromCodePoint,os=!!Object.fromEntries,ss=!!String.prototype.codePointAt,as=!!String.prototype.trimStart,ls=!!String.prototype.trimEnd,us=!!Number.isSafeInteger,fs=us?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},yn=!0;try{var cs=ui("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");yn=((cn=cs.exec("a"))===null||cn===void 0?void 0:cn[0])==="a"}catch(e){yn=!1}var er=rs?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},En=is?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,o=0,s;i>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},tr=os?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var o=i[r],s=o[0],l=o[1];n[s]=l}return n},li=ss?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),o;return i<55296||i>56319||n+1===r||(o=t.charCodeAt(n+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},hs=as?function(t){return t.trimStart()}:function(t){return t.replace(ts,"")},ds=ls?function(t){return t.trimEnd()}:function(t){return t.replace(ns,"")};function ui(e,t){return new RegExp(e,t)}var wn;if(yn){var nr=ui("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");wn=function(t,n){var r;nr.lastIndex=n;var i=nr.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else wn=function(t,n){for(var r=[];;){var i=li(t,n);if(i===void 0||fi(i)||vs(i))break;r.push(i),n+=i>=65536?2:1}return En.apply(void 0,r)};var ps=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,r);if(s.err)return s;i.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var l=this.clonePosition();this.bump(),i.push({type:le.pound,location:J(l,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(W.UNMATCHED_CLOSING_TAG,J(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Tn(this.peek()||0)){var s=this.parseTag(t,n);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,n);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:le.literal,value:"<".concat(i,"/>"),location:J(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var s=o.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Tn(this.char()))return this.error(W.INVALID_TAG,J(l,this.clonePosition()));var u=this.clonePosition(),a=this.parseTagName();return i!==a?this.error(W.UNMATCHED_CLOSING_TAG,J(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:le.tag,value:i,children:s,location:J(r,this.clonePosition())},err:null}:this.error(W.INVALID_TAG,J(l,this.clonePosition())))}else return this.error(W.UNCLOSED_TAG,J(r,this.clonePosition()))}else return this.error(W.INVALID_TAG,J(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&gs(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var o=this.tryParseQuote(n);if(o){i+=o;continue}var s=this.tryParseUnquoted(t,n);if(s){i+=s;continue}var l=this.tryParseLeftAngleBracket();if(l){i+=l;continue}break}var u=J(r,this.clonePosition());return{val:{type:le.literal,value:i,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ms(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return En.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),En(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(W.EXPECT_ARGUMENT_CLOSING_BRACE,J(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(W.EMPTY_ARGUMENT,J(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(W.MALFORMED_ARGUMENT,J(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(W.EXPECT_ARGUMENT_CLOSING_BRACE,J(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:le.argument,value:i,location:J(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(W.EXPECT_ARGUMENT_CLOSING_BRACE,J(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(W.MALFORMED_ARGUMENT,J(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=wn(this.message,n),i=n+r.length;this.bumpTo(i);var o=this.clonePosition(),s=J(t,o);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,n,r,i){var o,s=this.clonePosition(),l=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(l){case"":return this.error(W.EXPECT_ARGUMENT_TYPE,J(s,u));case"number":case"date":case"time":{this.bumpSpace();var a=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var c=ds(h.val);if(c.length===0)return this.error(W.EXPECT_ARGUMENT_STYLE,J(this.clonePosition(),this.clonePosition()));var _=J(f,this.clonePosition());a={style:c,styleLocation:_}}var v=this.tryParseArgumentClose(i);if(v.err)return v;var m=J(i,this.clonePosition());if(a&&er(a==null?void 0:a.style,"::",0)){var d=hs(a.style.slice(2));if(l==="number"){var h=this.parseNumberSkeletonFromString(d,a.styleLocation);return h.err?h:{val:{type:le.number,value:r,location:m,style:h.val},err:null}}else{if(d.length===0)return this.error(W.EXPECT_DATE_TIME_SKELETON,m);var E=d;this.locale&&(E=Qo(d,this.locale));var c={type:dt.dateTime,pattern:E,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?Xo(E):{}},D=l==="date"?le.date:le.time;return{val:{type:D,value:r,location:m,style:c},err:null}}}return{val:{type:l==="number"?le.number:l==="date"?le.date:le.time,value:r,location:m,style:(o=a==null?void 0:a.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var M=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(W.EXPECT_SELECT_ARGUMENT_OPTIONS,J(M,Wt({},M)));this.bumpSpace();var U=this.parseIdentifierIfPossible(),G=0;if(l!=="select"&&U.value==="offset"){if(!this.bumpIf(":"))return this.error(W.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,J(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(W.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,W.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),U=this.parseIdentifierIfPossible(),G=h.val}var ee=this.tryParsePluralOrSelectOptions(t,l,n,U);if(ee.err)return ee;var v=this.tryParseArgumentClose(i);if(v.err)return v;var j=J(i,this.clonePosition());return l==="select"?{val:{type:le.select,value:r,options:tr(ee.val),location:j},err:null}:{val:{type:le.plural,value:r,options:tr(ee.val),offset:G,pluralType:l==="plural"?"cardinal":"ordinal",location:j},err:null}}default:return this.error(W.INVALID_ARGUMENT_TYPE,J(s,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(W.EXPECT_ARGUMENT_CLOSING_BRACE,J(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(W.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,J(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=Zo(t)}catch(i){return this.error(W.INVALID_NUMBER_SKELETON,n)}return{val:{type:dt.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?Yo(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var o,s=!1,l=[],u=new Set,a=i.value,f=i.location;;){if(a.length===0){var h=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var c=this.tryParseDecimalInteger(W.EXPECT_PLURAL_ARGUMENT_SELECTOR,W.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;f=J(h,this.clonePosition()),a=this.message.slice(h.offset,this.offset())}else break}if(u.has(a))return this.error(n==="select"?W.DUPLICATE_SELECT_ARGUMENT_SELECTOR:W.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);a==="other"&&(s=!0),this.bumpSpace();var _=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?W.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:W.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,J(this.clonePosition(),this.clonePosition()));var v=this.parseMessage(t+1,n,r);if(v.err)return v;var m=this.tryParseArgumentClose(_);if(m.err)return m;l.push([a,{value:v.val,location:J(_,this.clonePosition())}]),u.add(a),this.bumpSpace(),o=this.parseIdentifierIfPossible(),a=o.value,f=o.location}return l.length===0?this.error(n==="select"?W.EXPECT_SELECT_ARGUMENT_SELECTOR:W.EXPECT_PLURAL_ARGUMENT_SELECTOR,J(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(W.MISSING_OTHER_CLAUSE,J(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,s=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)o=!0,s=s*10+(l-48),this.bump();else break}var u=J(i,this.clonePosition());return o?(s*=r,fs(s)?{val:s,err:null}:this.error(n,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=li(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(er(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&fi(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function Tn(e){return e>=97&&e<=122||e>=65&&e<=90}function ms(e){return Tn(e)||e===47}function gs(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function fi(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function vs(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Sn(e){e.forEach(function(t){if(delete t.location,ei(t)||ti(t))for(var n in t.options)delete t.options[n].location,Sn(t.options[n].value);else Kr(t)&&ri(t.style)||(Yr(t)||Qr(t))&&bn(t.style)?delete t.style.location:ni(t)&&Sn(t.children)})}function _s(e,t){t===void 0&&(t={}),t=Wt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new ps(e,t).parse();if(n.err){var r=SyntaxError(W[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||Sn(n.val),n.val}var pt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(pt||(pt={}));var Qt=function(e){Yt(t,e);function t(n,r,i){var o=e.call(this,n)||this;return o.code=r,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),rr=function(e){Yt(t,e);function t(n,r,i,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),pt.INVALID_VALUE,o)||this}return t}(Qt),bs=function(e){Yt(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),pt.INVALID_VALUE,i)||this}return t}(Qt),ys=function(e){Yt(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),pt.MISSING_VALUE,r)||this}return t}(Qt),Re;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Re||(Re={}));function Es(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==Re.literal||n.type!==Re.literal?t.push(n):r.value+=n.value,t},[])}function ws(e){return typeof e=="function"}function $t(e,t,n,r,i,o,s){if(e.length===1&&qn(e[0]))return[{type:Re.literal,value:e[0].value}];for(var l=[],u=0,a=e;u<a.length;u++){var f=a[u];if(qn(f)){l.push({type:Re.literal,value:f.value});continue}if(Wo(f)){typeof o=="number"&&l.push({type:Re.literal,value:n.getNumberFormat(t).format(o)});continue}var h=f.value;if(!(i&&h in i))throw new ys(h,s);var c=i[h];if(jo(f)){(!c||typeof c=="string"||typeof c=="number")&&(c=typeof c=="string"||typeof c=="number"?String(c):""),l.push({type:typeof c=="string"?Re.literal:Re.object,value:c});continue}if(Yr(f)){var _=typeof f.style=="string"?r.date[f.style]:bn(f.style)?f.style.parsedOptions:void 0;l.push({type:Re.literal,value:n.getDateTimeFormat(t,_).format(c)});continue}if(Qr(f)){var _=typeof f.style=="string"?r.time[f.style]:bn(f.style)?f.style.parsedOptions:r.time.medium;l.push({type:Re.literal,value:n.getDateTimeFormat(t,_).format(c)});continue}if(Kr(f)){var _=typeof f.style=="string"?r.number[f.style]:ri(f.style)?f.style.parsedOptions:void 0;_&&_.scale&&(c=c*(_.scale||1)),l.push({type:Re.literal,value:n.getNumberFormat(t,_).format(c)});continue}if(ni(f)){var v=f.children,m=f.value,d=i[m];if(!ws(d))throw new bs(m,"function",s);var E=$t(v,t,n,r,i,o),D=d(E.map(function(G){return G.value}));Array.isArray(D)||(D=[D]),l.push.apply(l,D.map(function(G){return{type:typeof G=="string"?Re.literal:Re.object,value:G}}))}if(ei(f)){var M=f.options[c]||f.options.other;if(!M)throw new rr(f.value,c,Object.keys(f.options),s);l.push.apply(l,$t(M.value,t,n,r,i));continue}if(ti(f)){var M=f.options["=".concat(c)];if(!M){if(!Intl.PluralRules)throw new Qt(`Intl.PluralRules is not available in this environment.
8
+ Try polyfilling it using "@formatjs/intl-pluralrules"
9
+ `,pt.MISSING_INTL_API,s);var U=n.getPluralRules(t,{type:f.pluralType}).select(c-(f.offset||0));M=f.options[U]||f.options.other}if(!M)throw new rr(f.value,c,Object.keys(f.options),s);l.push.apply(l,$t(M.value,t,n,r,i,c-(f.offset||0)));continue}}return Es(l)}function Ts(e,t){return t?Ge(Ge(Ge({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=Ge(Ge({},e[r]),t[r]||{}),n},{})):e}function Ss(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=Ts(e[r],t[r]),n},Ge({},e)):e}function hn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function Bs(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:un(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,ln([void 0],n,!1)))},{cache:hn(e.number),strategy:fn.variadic}),getDateTimeFormat:un(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,ln([void 0],n,!1)))},{cache:hn(e.dateTime),strategy:fn.variadic}),getPluralRules:un(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,ln([void 0],n,!1)))},{cache:hn(e.pluralRules),strategy:fn.variadic})}}var Cs=function(){function e(t,n,r,i){n===void 0&&(n=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var a=o.formatToParts(u);if(a.length===1)return a[0].value;var f=a.reduce(function(h,c){return!h.length||c.type!==Re.literal||typeof h[h.length-1]!="string"?h.push(c.value):h[h.length-1]+=c.value,h},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(u){return $t(o.ast,o.locales,o.formatters,o.formats,u,void 0,o.message)},this.resolvedOptions=function(){var u;return{locale:((u=o.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var l=Mo(s,["formatters"]);this.ast=e.__parse(t,Ge(Ge({},l),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Ss(e.formats,r),this.formatters=i&&i.formatters||Bs(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=_s,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function xs(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let i=0;i<n.length;i++)if(typeof r=="object"){if(i>0){const o=n.slice(i,n.length).join(".");if(o in r){r=r[o];break}}r=r[n[i]]}else r=void 0;return r}const Qe={},As=(e,t,n)=>n&&(t in Qe||(Qe[t]={}),e in Qe[t]||(Qe[t][e]=n),n),ci=(e,t)=>{if(t==null)return;if(t in Qe&&e in Qe[t])return Qe[t][e];const n=en(t);for(let r=0;r<n.length;r++){const i=n[r],o=Hs(i,e);if(o)return As(e,t,o)}};let In;const _t=Kt({});function Is(e){return In[e]||null}function hi(e){return e in In}function Hs(e,t){if(!hi(e))return null;const n=Is(e);return xs(n,t)}function Rs(e){if(e==null)return;const t=en(e);for(let n=0;n<t.length;n++){const r=t[n];if(hi(r))return r}}function di(e,...t){delete Qe[e],_t.update(n=>(n[e]=Oo.all([n[e]||{},...t]),n))}vt([_t],([e])=>Object.keys(e));_t.subscribe(e=>In=e);const Ft={};function Ls(e,t){Ft[e].delete(t),Ft[e].size===0&&delete Ft[e]}function pi(e){return Ft[e]}function Ps(e){return en(e).map(t=>{const n=pi(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function Bn(e){return e==null?!1:en(e).some(t=>{var n;return(n=pi(t))==null?void 0:n.size})}function Os(e,t){return Promise.all(t.map(r=>(Ls(e,r),r().then(i=>i.default||i)))).then(r=>di(e,...r))}const Tt={};function mi(e){if(!Bn(e))return e in Tt?Tt[e]:Promise.resolve();const t=Ps(e);return Tt[e]=Promise.all(t.map(([n,r])=>Os(n,r))).then(()=>{if(Bn(e))return mi(e);delete Tt[e]}),Tt[e]}const Ms={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},Ns={fallbackLocale:null,loadingDelay:200,formats:Ms,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Ds=Ns;function mt(){return Ds}const dn=Kt(!1);var ks=Object.defineProperty,$s=Object.defineProperties,Fs=Object.getOwnPropertyDescriptors,ir=Object.getOwnPropertySymbols,Us=Object.prototype.hasOwnProperty,Gs=Object.prototype.propertyIsEnumerable,or=(e,t,n)=>t in e?ks(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,js=(e,t)=>{for(var n in t||(t={}))Us.call(t,n)&&or(e,n,t[n]);if(ir)for(var n of ir(t))Gs.call(t,n)&&or(e,n,t[n]);return e},Ws=(e,t)=>$s(e,Fs(t));let Cn;const Vt=Kt(null);function sr(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function en(e,t=mt().fallbackLocale){const n=sr(e);return t?[...new Set([...n,...sr(t)])]:n}function rt(){return Cn!=null?Cn:void 0}Vt.subscribe(e=>{Cn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Vs=e=>{if(e&&Rs(e)&&Bn(e)){const{loadingDelay:t}=mt();let n;return typeof window!="undefined"&&rt()!=null&&t?n=window.setTimeout(()=>dn.set(!0),t):dn.set(!0),mi(e).then(()=>{Vt.set(e)}).finally(()=>{clearTimeout(n),dn.set(!1)})}return Vt.set(e)},et=Ws(js({},Vt),{set:Vs}),tn=e=>{const t=Object.create(null);return r=>{const i=JSON.stringify(r);return i in t?t[i]:t[i]=e(r)}};var Xs=Object.defineProperty,Xt=Object.getOwnPropertySymbols,gi=Object.prototype.hasOwnProperty,vi=Object.prototype.propertyIsEnumerable,ar=(e,t,n)=>t in e?Xs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Hn=(e,t)=>{for(var n in t||(t={}))gi.call(t,n)&&ar(e,n,t[n]);if(Xt)for(var n of Xt(t))vi.call(t,n)&&ar(e,n,t[n]);return e},bt=(e,t)=>{var n={};for(var r in e)gi.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Xt)for(var r of Xt(e))t.indexOf(r)<0&&vi.call(e,r)&&(n[r]=e[r]);return n};const It=(e,t)=>{const{formats:n}=mt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},zs=tn(e=>{var t=e,{locale:n,format:r}=t,i=bt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=It("number",r)),new Intl.NumberFormat(n,i)}),Zs=tn(e=>{var t=e,{locale:n,format:r}=t,i=bt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=It("date",r):Object.keys(i).length===0&&(i=It("date","short")),new Intl.DateTimeFormat(n,i)}),Js=tn(e=>{var t=e,{locale:n,format:r}=t,i=bt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=It("time",r):Object.keys(i).length===0&&(i=It("time","short")),new Intl.DateTimeFormat(n,i)}),qs=(e={})=>{var t=e,{locale:n=rt()}=t,r=bt(t,["locale"]);return zs(Hn({locale:n},r))},Ks=(e={})=>{var t=e,{locale:n=rt()}=t,r=bt(t,["locale"]);return Zs(Hn({locale:n},r))},Ys=(e={})=>{var t=e,{locale:n=rt()}=t,r=bt(t,["locale"]);return Js(Hn({locale:n},r))},Qs=tn((e,t=rt())=>new Cs(e,t,mt().formats,{ignoreTag:mt().ignoreTag})),ea=(e,t={})=>{var n,r,i,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:l,locale:u=rt(),default:a}=s;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=ci(e,u);if(!f)f=(o=(i=(r=(n=mt()).handleMissingMessage)==null?void 0:r.call(n,{locale:u,id:e,defaultValue:a}))!=null?i:a)!=null?o:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!l)return f;let h=f;try{h=Qs(f,u).format(l)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return h},ta=(e,t)=>Ys(t).format(e),na=(e,t)=>Ks(t).format(e),ra=(e,t)=>qs(t).format(e),ia=(e,t=rt())=>ci(e,t),_i=vt([et,_t],()=>ea);vt([et],()=>ta);vt([et],()=>na);vt([et],()=>ra);vt([et,_t],()=>ia);const oa=({withLocale:e,translations:t})=>{et.subscribe(n=>{n==null&&(_t.set(t),et.set(e))})},bi=(e,t)=>{di(e,t)},sa=e=>{et.set(e)},aa=e=>{oa({withLocale:"en",translations:{}}),Object.keys(e).forEach(t=>{bi(t,e[t])})};function la(e){zt(e,"svelte-1akw4n4",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-family:"Roboto";font-style:normal}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}private-casino-wagering-bonus-info::part(ExpiryTimeInfo){margin:0}private-casino-wagering-bonus-info::part(ExpiryTimeInfoText){color:#DC0D1F}hr{margin:11.0175975516px 0;border-top:1px solid #00AEEF}.BonusTerms{font-size:11.0175975516px;line-height:12.8538638103px;max-width:180px}.BonusTermsMobile{font-size:3.0769230769vw;line-height:3.6051282051vw;max-width:unset}.ShowMore{cursor:pointer;color:#00AEEF;text-align:right}.ShowMore.NoCursorTip{cursor:unset}.Root{display:flex;flex-direction:row;justify-content:space-between;width:648px;border:1px solid #00AEEF;padding:17.1384850803px 0;font-size:14.6901300689px;line-height:17.1384850803px}.Root>div{width:100%}.RootMobile{font-size:4.1025641026vw;line-height:4.8076923077vw;font-weight:400;width:inherit;flex-direction:column;padding:3.5897435897vw 0.7692307692vw;border-radius:1.0256410256vw}.BonusInfo{padding:0 17.1384850803px}.BonusInfoMobile{padding:0 6px}.BonusInfoWrapper,.AfterClaimedWrapper,.RewardsTopBar,.StatusClaimable{display:flex;flex-direction:row;justify-content:space-between}.BonusTypeTarget{max-width:180px;font-weight:400;padding:6.1208875287px 0;font-weight:700}.BonusTypeTargetMobile{max-width:unset}.SupportsTitle{font-weight:700}.BonusInfoWrapperMobile{margin-bottom:3.0769230769vw}.BonusInfoMobile{padding-bottom:4.6153846154vw}.BonusRewards{padding:0 17.1384850803px;border-left:1px solid #00AEEF}.BonusRewardsMobile{border-left:none;border-top:1px solid #00AEEF;padding-top:4.6153846154vw}.BonusInfoTitle{font-weight:700;color:#59CA00}.BonusInfoDescription{margin-top:12.2417750574px}.StatusClaimableCommand{margin-left:18.3626625861px}.StatusClaimableCommandMobile{margin-left:0}.StatusClaimableCommandButton{background:#00AEEF;border:1px solid #00AEEF;color:#FFFFFF;cursor:pointer;transition:0.6s;transition-property:opacity;font-size:12.2417750574px;line-height:14.7697016067px;font-weight:400;padding:14.6901300689px}.StatusClaimableCommandButton:disabled{opacity:0.3}.StatusClaimableCommandButtonMobile{font-size:4.1025641026vw;line-height:4.8076923077vw;font-weight:700;padding:4.6153846154vw 5.8974358974vw}.StatusClaimableCommandTerms{font-size:11px;font-weight:400;margin-top:6.1208875287px;text-align:center}.StatusClaimableCommandTerms a{color:#000000}.StatusClaimableCommandTermsMobile{margin:2.0512820513vw 0;font-size:3.0769230769vw;line-height:3.6051282051vw}.LevelStatus{text-align:center;margin-top:6.1208875287px}.BonusTypeWrapper{margin-left:18.3626625861px}.BonusTypeRemaining{font-weight:400;padding:6.1208875287px 0;color:#00AEEF}.BonusTypeTargetMobile,.BonusTypeRemainingMobile{padding:2.0512820513vw 0}.BonusTypeGot{font-weight:400;padding:6.1208875287px 0;color:#7884A0}.BonusTypeGotMobile{padding:2.0512820513vw 0}.RewardsTopBarTitle{font-weight:700;color:#252631}.BonusRewardsLevels{margin-top:3.0604437643px}.BonusRewardsLevelsMobile{margin-top:3.0769230769vw}.BonusRewardsLevelsItem{display:flex;margin-bottom:3.0604437643px;padding:7.3450650344px 0}.BonusRewardsLevelsItemMobile{margin-bottom:1.2820512821vw;padding:0}.BonusRewardsLevelsItemPosition{margin-right:3.0604437643px}.SupportsWrapper{margin-top:21.4231063504px}.SupportsWrapper div{margin-top:9.181331293px}.SupportsWrapperMobile{margin-top:6.1538461538vw}.SupportsWrapperMobile div{margin-top:2.0512820513vw}')}function lr(e,t,n){const r=e.slice();return r[31]=t[n],r[33]=n,r}function ur(e,t,n){const r=e.slice();return r[34]=t[n],r[36]=n,r}function fr(e,t,n){const r=e.slice();return r[37]=t[n],r}function cr(e,t,n){const r=e.slice();return r[40]=t[n],r}function hr(e,t,n){const r=e.slice();return r[43]=t[n],r}function dr(e,t,n){const r=e.slice();return r[43]=t[n],r}function pr(e,t,n){const r=e.slice();return r[48]=t[n],r}function mr(e){var oe;let t,n,r,i,o=(e[0].name||((oe=e[0].presentation)==null?void 0:oe.name.content))+"",s,l,u,a,f,h,c,_,v=e[4]("rewards")+"",m,d,E,D,M,U,G,ee,j=e[4]("includeBets")+"",ae,ue,te,fe,q=[e[12]("BonusInfoTitle")],K={};for(let p=0;p<q.length;p+=1)K=k(K,q[p]);let Y=e[0].status===re.active&&e[8]&&gr(e),me=[e[12]("BonusInfoWrapper")],he={};for(let p=0;p<me.length;p+=1)he=k(he,me[p]);let w=!e[0].status&&vr(e),S=e[0].status&&_r(e),x=[e[12]("BonusInfo")],z={};for(let p=0;p<x.length;p+=1)z=k(z,x[p]);let de=[e[12]("RewardsTopBarTitle")],Be={};for(let p=0;p<de.length;p+=1)Be=k(Be,de[p]);let B=e[0].status&&wr(e),Q=[e[12]("RewardsTopBar")],Ce={};for(let p=0;p<Q.length;p+=1)Ce=k(Ce,Q[p]);let ie=e[0].status&&Tr(e),ne=!e[0].status&&xr(e),$e=[e[12]("BonusRewardsLevels")],Je={};for(let p=0;p<$e.length;p+=1)Je=k(Je,$e[p]);let Fe=[e[12]("SupportsTitle")],ye={};for(let p=0;p<Fe.length;p+=1)ye=k(ye,Fe[p]);let qe=pe(e[11]),Ee=[];for(let p=0;p<qe.length;p+=1)Ee[p]=Lr(lr(e,qe,p));let xe=e[11].length===1&&Pr(),it=[e[12]("SupportsList")],g={};for(let p=0;p<it.length;p+=1)g=k(g,it[p]);let C=[e[12]("SupportsWrapper")],I={};for(let p=0;p<C.length;p+=1)I=k(I,C[p]);let T=[e[12]("BonusRewards")],N={};for(let p=0;p<T.length;p+=1)N=k(N,T[p]);let R=[e[12]("Root")],F={};for(let p=0;p<R.length;p+=1)F=k(F,R[p]);return{c(){t=A("section"),n=A("div"),r=A("section"),i=A("section"),s=X(o),l=V(),Y&&Y.c(),u=V(),w&&w.c(),a=V(),S&&S.c(),f=V(),h=A("div"),c=A("section"),_=A("div"),m=X(v),d=V(),B&&B.c(),E=V(),D=A("div"),ie&&ie.c(),M=V(),ne&&ne.c(),U=V(),G=A("div"),ee=A("div"),ae=X(j),ue=V(),te=A("div");for(let p=0;p<Ee.length;p+=1)Ee[p].c();fe=V(),xe&&xe.c(),y(i,K),y(r,he),y(n,z),y(_,Be),y(c,Ce),y(D,Je),y(ee,ye),y(te,g),y(G,I),y(h,N),y(t,F)},m(p,P){O(p,t,P),b(t,n),b(n,r),b(r,i),b(i,s),b(r,l),Y&&Y.m(r,null),b(n,u),w&&w.m(n,null),b(n,a),S&&S.m(n,null),b(t,f),b(t,h),b(h,c),b(c,_),b(_,m),b(c,d),B&&B.m(c,null),b(h,E),b(h,D),ie&&ie.m(D,null),b(D,M),ne&&ne.m(D,null),b(h,U),b(h,G),b(G,ee),b(ee,ae),b(G,ue),b(G,te);for(let Z=0;Z<Ee.length;Z+=1)Ee[Z]&&Ee[Z].m(te,null);b(te,fe),xe&&xe.m(te,null)},p(p,P){var Z;if(P[0]&1&&o!==(o=(p[0].name||((Z=p[0].presentation)==null?void 0:Z.name.content))+"")&&Se(s,o,K.contenteditable),y(i,K=$(q,[P[0]&4096&&p[12]("BonusInfoTitle")])),p[0].status===re.active&&p[8]?Y?Y.p(p,P):(Y=gr(p),Y.c(),Y.m(r,null)):Y&&(Y.d(1),Y=null),y(r,he=$(me,[P[0]&4096&&p[12]("BonusInfoWrapper")])),p[0].status?w&&(w.d(1),w=null):w?w.p(p,P):(w=vr(p),w.c(),w.m(n,a)),p[0].status?S?S.p(p,P):(S=_r(p),S.c(),S.m(n,null)):S&&(S.d(1),S=null),y(n,z=$(x,[P[0]&4096&&p[12]("BonusInfo")])),P[0]&16&&v!==(v=p[4]("rewards")+"")&&Se(m,v,Be.contenteditable),y(_,Be=$(de,[P[0]&4096&&p[12]("RewardsTopBarTitle")])),p[0].status?B?B.p(p,P):(B=wr(p),B.c(),B.m(c,null)):B&&(B.d(1),B=null),y(c,Ce=$(Q,[P[0]&4096&&p[12]("RewardsTopBar")])),p[0].status?ie?ie.p(p,P):(ie=Tr(p),ie.c(),ie.m(D,M)):ie&&(ie.d(1),ie=null),p[0].status?ne&&(ne.d(1),ne=null):ne?ne.p(p,P):(ne=xr(p),ne.c(),ne.m(D,null)),y(D,Je=$($e,[P[0]&4096&&p[12]("BonusRewardsLevels")])),P[0]&16&&j!==(j=p[4]("includeBets")+"")&&Se(ae,j,ye.contenteditable),y(ee,ye=$(Fe,[P[0]&4096&&p[12]("SupportsTitle")])),P[0]&2048){qe=pe(p[11]);let H;for(H=0;H<qe.length;H+=1){const se=lr(p,qe,H);Ee[H]?Ee[H].p(se,P):(Ee[H]=Lr(se),Ee[H].c(),Ee[H].m(te,fe))}for(;H<Ee.length;H+=1)Ee[H].d(1);Ee.length=qe.length}p[11].length===1?xe||(xe=Pr(),xe.c(),xe.m(te,null)):xe&&(xe.d(1),xe=null),y(te,g=$(it,[P[0]&4096&&p[12]("SupportsList")])),y(G,I=$(C,[P[0]&4096&&p[12]("SupportsWrapper")])),y(h,N=$(T,[P[0]&4096&&p[12]("BonusRewards")])),y(t,F=$(R,[P[0]&4096&&p[12]("Root")]))},d(p){p&&L(t),Y&&Y.d(),w&&w.d(),S&&S.d(),B&&B.d(),ie&&ie.d(),ne&&ne.d(),We(Ee,p),xe&&xe.d()}}}function gr(e){let t,n=[{infos:JSON.stringify(e[8])}],r={};for(let i=0;i<n.length;i+=1)r=k(r,n[i]);return{c(){t=A("private-casino-wagering-bonus-info"),y(t,r)},m(i,o){O(i,t,o)},p(i,o){y(t,r=$(n,[o[0]&256&&{infos:JSON.stringify(i[8])}]))},d(i){i&&L(t)}}}function vr(e){let t,n=(e[0].description||"")+"",r,i,o,s,l,u,a,f,h,c=e[4]("startChallenge")+"",_,v,m,d,E,D=e[4]("terms")+"",M,U,G,ee,j=[e[12]("BonusInfoDescription")],ae={};for(let x=0;x<j.length;x+=1)ae=k(ae,j[x]);let ue=[{infos:JSON.stringify(e[10])}],te={};for(let x=0;x<ue.length;x+=1)te=k(te,ue[x]);let fe=[e[12]("StatusClaimableCommandButton"),{type:"button"},{disabled:v=!e[6]}],q={};for(let x=0;x<fe.length;x+=1)q=k(q,fe[x]);let K=[e[12]("StatusClaimableCommandTerms","terms")],Y={};for(let x=0;x<K.length;x+=1)Y=k(Y,K[x]);let me=[e[12]("StatusClaimableCommand")],he={};for(let x=0;x<me.length;x+=1)he=k(he,me[x]);let w=[e[12]("StatusClaimable")],S={};for(let x=0;x<w.length;x+=1)S=k(S,w[x]);return{c(){t=A("div"),r=X(n),i=V(),o=A("hr"),s=V(),l=A("section"),u=A("private-casino-wagering-bonus-info"),a=V(),f=A("div"),h=A("button"),_=X(c),m=V(),d=A("div"),E=A("a"),M=X(D),y(t,ae),y(u,te),y(h,q),Ne(E,"href",U=e[0].termsUrl),Ne(E,"target","__blank"),y(d,Y),y(f,he),y(l,S)},m(x,z){O(x,t,z),b(t,r),O(x,i,z),O(x,o,z),O(x,s,z),O(x,l,z),b(l,u),b(l,a),b(l,f),b(f,h),b(h,_),h.autofocus&&h.focus(),b(f,m),b(f,d),b(d,E),b(E,M),G||(ee=je(h,"click",e[13]),G=!0)},p(x,z){z[0]&1&&n!==(n=(x[0].description||"")+"")&&Se(r,n,ae.contenteditable),y(t,ae=$(j,[z[0]&4096&&x[12]("BonusInfoDescription")])),y(u,te=$(ue,[z[0]&1024&&{infos:JSON.stringify(x[10])}])),z[0]&16&&c!==(c=x[4]("startChallenge")+"")&&Se(_,c,q.contenteditable),y(h,q=$(fe,[z[0]&4096&&x[12]("StatusClaimableCommandButton"),{type:"button"},z[0]&64&&v!==(v=!x[6])&&{disabled:v}])),z[0]&16&&D!==(D=x[4]("terms")+"")&&De(M,D),z[0]&1&&U!==(U=x[0].termsUrl)&&Ne(E,"href",U),y(d,Y=$(K,[z[0]&4096&&x[12]("StatusClaimableCommandTerms","terms")])),y(f,he=$(me,[z[0]&4096&&x[12]("StatusClaimableCommand")])),y(l,S=$(w,[z[0]&4096&&x[12]("StatusClaimable")]))},d(x){x&&(L(t),L(i),L(o),L(s),L(l)),G=!1,ee()}}}function _r(e){var Be;let t,n,r,i,o,s,l,u,a=e[4]("level")+"",f,h,c=e[2].textWithLength+"",_,v,m,d,E,D,M,U,G,ee=e[4]("termsTip",{tcUrl:(Be=e[0])==null?void 0:Be.url})+"",j=!e[5]&&br(),ae=[e[12]("LevelStatus")],ue={};for(let B=0;B<ae.length;B+=1)ue=k(ue,ae[B]);let te=[e[12]("LevelStatusWrapper")],fe={};for(let B=0;B<te.length;B+=1)fe=k(fe,te[B]);let q=pe([Wn(e[0],e[1])]),K=[];for(let B=0;B<1;B+=1)K[B]=Er(pr(e,q,B));let Y=[e[12]("BonusType")],me={};for(let B=0;B<Y.length;B+=1)me=k(me,Y[B]);let he=[e[12]("BonusTerms")],w={};for(let B=0;B<he.length;B+=1)w=k(w,he[B]);let S=[e[12]("BonusTypeWrapper")],x={};for(let B=0;B<S.length;B+=1)x=k(x,S[B]);let z=[e[12]("AfterClaimedWrapper")],de={};for(let B=0;B<z.length;B+=1)de=k(de,z[B]);return{c(){var B;j&&j.c(),t=V(),n=A("section"),r=A("div"),i=A("casino-wagering-bonus-progress"),l=V(),u=A("div"),f=X(a),h=V(),_=X(c),v=V(),m=A("div"),d=A("div");for(let Q=0;Q<1;Q+=1)K[Q].c();E=V(),D=A("private-casino-wagering-bonus-info"),U=V(),G=A("div"),at(i,"percent",o=Xn(e[0])),at(i,"status",s=(B=e[0])==null?void 0:B.status),y(u,ue),y(r,fe),at(D,"infos",M=JSON.stringify(e[9])),y(d,me),y(G,w),y(m,x),y(n,de)},m(B,Q){j&&j.m(B,Q),O(B,t,Q),O(B,n,Q),b(n,r),b(r,i),b(r,l),b(r,u),b(u,f),b(u,h),b(u,_),b(n,v),b(n,m),b(m,d);for(let Ce=0;Ce<1;Ce+=1)K[Ce]&&K[Ce].m(d,null);b(d,E),b(d,D),b(m,U),b(m,G),G.innerHTML=ee},p(B,Q){var Ce,ie;if(B[5]?j&&(j.d(1),j=null):j||(j=br(),j.c(),j.m(t.parentNode,t)),Q[0]&1&&o!==(o=Xn(B[0]))&&at(i,"percent",o),Q[0]&1&&s!==(s=(Ce=B[0])==null?void 0:Ce.status)&&at(i,"status",s),Q[0]&16&&a!==(a=B[4]("level")+"")&&Se(f,a,ue.contenteditable),Q[0]&4&&c!==(c=B[2].textWithLength+"")&&Se(_,c,ue.contenteditable),y(u,ue=$(ae,[Q[0]&4096&&B[12]("LevelStatus")])),y(r,fe=$(te,[Q[0]&4096&&B[12]("LevelStatusWrapper")])),Q[0]&4115){q=pe([Wn(B[0],B[1])]);let ne;for(ne=0;ne<1;ne+=1){const $e=pr(B,q,ne);K[ne]?K[ne].p($e,Q):(K[ne]=Er($e),K[ne].c(),K[ne].m(d,E))}for(;ne<1;ne+=1)K[ne].d(1)}Q[0]&512&&M!==(M=JSON.stringify(B[9]))&&at(D,"infos",M),y(d,me=$(Y,[Q[0]&4096&&B[12]("BonusType")])),Q[0]&17&&ee!==(ee=B[4]("termsTip",{tcUrl:(ie=B[0])==null?void 0:ie.url})+"")&&(G.innerHTML=ee),y(G,w=$(he,[Q[0]&4096&&B[12]("BonusTerms")])),y(m,x=$(S,[Q[0]&4096&&B[12]("BonusTypeWrapper")])),y(n,de=$(z,[Q[0]&4096&&B[12]("AfterClaimedWrapper")]))},d(B){B&&(L(t),L(n)),j&&j.d(B),We(K,B)}}}function br(e){let t;return{c(){t=A("hr")},m(n,r){O(n,t,r)},d(n){n&&L(t)}}}function yr(e){let t,n=e[4](`${e[0].wageringType}.remaining`,e[48])+"",r,i,o,s=e[4](`${e[0].wageringType}.wagered`,Ue(Te({},e[48]),{wagered:Vn(e[0])}))+"",l,u=[e[12]("BonusTypeRemaining")],a={};for(let c=0;c<u.length;c+=1)a=k(a,u[c]);let f=[e[12]("BonusTypeGot")],h={};for(let c=0;c<f.length;c+=1)h=k(h,f[c]);return{c(){t=A("div"),r=X(n),i=V(),o=A("div"),l=X(s),y(t,a),y(o,h)},m(c,_){O(c,t,_),b(t,r),O(c,i,_),O(c,o,_),b(o,l)},p(c,_){_[0]&19&&n!==(n=c[4](`${c[0].wageringType}.remaining`,c[48])+"")&&Se(r,n,a.contenteditable),y(t,a=$(u,[_[0]&4096&&c[12]("BonusTypeRemaining")])),_[0]&19&&s!==(s=c[4](`${c[0].wageringType}.wagered`,Ue(Te({},c[48]),{wagered:Vn(c[0])}))+"")&&Se(l,s,h.contenteditable),y(o,h=$(f,[_[0]&4096&&c[12]("BonusTypeGot")]))},d(c){c&&(L(t),L(i),L(o))}}}function Er(e){let t,n=jt(e[0].status,{active:s,other:e[24]})+"",r,i,o;function s(){return e[23](e[48])}let l=[e[12]("BonusTypeTarget")],u={};for(let f=0;f<l.length;f+=1)u=k(u,l[f]);let a=e[0].status===re.active&&yr(e);return{c(){t=A("div"),r=X(n),i=V(),a&&a.c(),o=gt(),y(t,u)},m(f,h){O(f,t,h),b(t,r),O(f,i,h),a&&a.m(f,h),O(f,o,h)},p(f,h){e=f,h[0]&19&&n!==(n=jt(e[0].status,{active:s,other:e[24]})+"")&&Se(r,n,u.contenteditable),y(t,u=$(l,[h[0]&4096&&e[12]("BonusTypeTarget")])),e[0].status===re.active?a?a.p(e,h):(a=yr(e),a.c(),a.m(o.parentNode,o)):a&&(a.d(1),a=null)},d(f){f&&(L(t),L(i),L(o)),a&&a.d(f)}}}function wr(e){let t,n,r=e[4]("allRewards")+"",i,o,s,l=[e[12]("RewardsTopBarLinkToDetail")],u={};for(let a=0;a<l.length;a+=1)u=k(u,l[a]);return{c(){t=A("div"),n=A("a"),i=X(r),Ne(n,"href","javascript:void(0)"),y(t,u)},m(a,f){O(a,t,f),b(t,n),b(n,i),o||(s=je(n,"click",e[25]),o=!0)},p(a,f){f[0]&16&&r!==(r=a[4]("allRewards")+"")&&De(i,r),y(t,u=$(l,[f[0]&4096&&a[12]("RewardsTopBarLinkToDetail")]))},d(a){a&&L(t),o=!1,s()}}}function Tr(e){let t,n=pe(jn(e[0],e[1],e[4])),r=[];for(let i=0;i<n.length;i+=1)r[i]=Cr(cr(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=gt()},m(i,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,o);O(i,t,o)},p(i,o){if(o[0]&4115){n=pe(jn(i[0],i[1],i[4]));let s;for(s=0;s<n.length;s+=1){const l=cr(i,n,s);r[s]?r[s].p(l,o):(r[s]=Cr(l),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length}},d(i){i&&L(t),We(r,i)}}}function ua(e){let t,n=e[4](e[40].key)+"",r,i,o=e[4]("level")+"",s,l,u=pe(e[40].descriptions),a=[];for(let c=0;c<u.length;c+=1)a[c]=Sr(hr(e,u,c));let f=[e[12]("BonusRewardsLevelsItemPosition")],h={};for(let c=0;c<f.length;c+=1)h=k(h,f[c]);return{c(){t=A("div"),r=X(n),i=V(),s=X(o),l=X(`:
10
+ `);for(let c=0;c<a.length;c+=1)a[c].c();y(t,h)},m(c,_){O(c,t,_),b(t,r),b(t,i),b(t,s),b(t,l);for(let v=0;v<a.length;v+=1)a[v]&&a[v].m(t,null)},p(c,_){if(_[0]&19&&n!==(n=c[4](c[40].key)+"")&&Se(r,n,h.contenteditable),_[0]&16&&o!==(o=c[4]("level")+"")&&Se(s,o,h.contenteditable),_[0]&19){u=pe(c[40].descriptions);let v;for(v=0;v<u.length;v+=1){const m=hr(c,u,v);a[v]?a[v].p(m,_):(a[v]=Sr(m),a[v].c(),a[v].m(t,null))}for(;v<a.length;v+=1)a[v].d(1);a.length=u.length}y(t,h=$(f,[_[0]&4096&&c[12]("BonusRewardsLevelsItemPosition")]))},d(c){c&&L(t),We(a,c)}}}function fa(e){let t,n=e[4](e[40].key)+"",r,i,o=e[4]("level")+"",s,l,u,a,f=[e[12]("BonusRewardsLevelsItemPosition")],h={};for(let v=0;v<f.length;v+=1)h=k(h,f[v]);let c=pe(e[40].descriptions),_=[];for(let v=0;v<c.length;v+=1)_[v]=Br(dr(e,c,v));return{c(){t=A("div"),r=X(n),i=V(),s=X(o),l=X(":"),u=V(),a=A("div");for(let v=0;v<_.length;v+=1)_[v].c();y(t,h)},m(v,m){O(v,t,m),b(t,r),b(t,i),b(t,s),b(t,l),O(v,u,m),O(v,a,m);for(let d=0;d<_.length;d+=1)_[d]&&_[d].m(a,null)},p(v,m){if(m[0]&19&&n!==(n=v[4](v[40].key)+"")&&Se(r,n,h.contenteditable),m[0]&16&&o!==(o=v[4]("level")+"")&&Se(s,o,h.contenteditable),y(t,h=$(f,[m[0]&4096&&v[12]("BonusRewardsLevelsItemPosition")])),m[0]&19){c=pe(v[40].descriptions);let d;for(d=0;d<c.length;d+=1){const E=dr(v,c,d);_[d]?_[d].p(E,m):(_[d]=Br(E),_[d].c(),_[d].m(a,null))}for(;d<_.length;d+=1)_[d].d(1);_.length=c.length}},d(v){v&&(L(t),L(u),L(a)),We(_,v)}}}function Sr(e){let t=e[43]+"",n;return{c(){n=X(t)},m(r,i){O(r,n,i)},p(r,i){i[0]&19&&t!==(t=r[43]+"")&&De(n,t)},d(r){r&&L(n)}}}function Br(e){let t,n=e[43]+"",r;return{c(){t=A("p"),r=X(n)},m(i,o){O(i,t,o),b(t,r)},p(i,o){o[0]&19&&n!==(n=i[43]+"")&&De(r,n)},d(i){i&&L(t)}}}function Cr(e){let t,n;function r(u,a){return u[40].descriptions.length>1?fa:ua}let i=r(e),o=i(e),s=[e[12]("BonusRewardsLevelsItem")],l={};for(let u=0;u<s.length;u+=1)l=k(l,s[u]);return{c(){t=A("div"),o.c(),n=V(),y(t,l)},m(u,a){O(u,t,a),o.m(t,null),b(t,n)},p(u,a){i===(i=r(u))&&o?o.p(u,a):(o.d(1),o=i(u),o&&(o.c(),o.m(t,n))),y(t,l=$(s,[a[0]&4096&&u[12]("BonusRewardsLevelsItem")]))},d(u){u&&L(t),o.d()}}}function xr(e){let t,n,r,i=pe(e[0].levels),o=[];for(let f=0;f<i.length;f+=1)o[f]=Hr(ur(e,i,f));let s=e[0].levels.length===1&&Rr(e);function l(f,h){return f[0].levels.length>=3?pa:da}let u=l(e),a=u(e);return{c(){for(let f=0;f<o.length;f+=1)o[f].c();t=V(),s&&s.c(),n=V(),a.c(),r=gt()},m(f,h){for(let c=0;c<o.length;c+=1)o[c]&&o[c].m(f,h);O(f,t,h),s&&s.m(f,h),O(f,n,h),a.m(f,h),O(f,r,h)},p(f,h){if(h[0]&4241){i=pe(f[0].levels);let c;for(c=0;c<i.length;c+=1){const _=ur(f,i,c);o[c]?o[c].p(_,h):(o[c]=Hr(_),o[c].c(),o[c].m(t.parentNode,t))}for(;c<o.length;c+=1)o[c].d(1);o.length=i.length}f[0].levels.length===1?s?s.p(f,h):(s=Rr(f),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null),u===(u=l(f))&&a?a.p(f,h):(a.d(1),a=u(f),a&&(a.c(),a.m(r.parentNode,r)))},d(f){f&&(L(t),L(n),L(r)),We(o,f),s&&s.d(f),a.d(f)}}}function Ar(e){let t,n,r,i,o;function s(m,d){return m[34].maxRepeats>0?ha:ca}let l=s(e),u=l(e),a=[e[12]("BonusRewardsLevelsItemPosition")],f={};for(let m=0;m<a.length;m+=1)f=k(f,a[m]);let h=pe(e[34].bonuses),c=[];for(let m=0;m<h.length;m+=1)c[m]=Ir(fr(e,h,m));let _=[e[12]("BonusRewardsLevelsItem")],v={};for(let m=0;m<_.length;m+=1)v=k(v,_[m]);return{c(){t=A("div"),n=A("div"),u.c(),r=V(),i=A("div");for(let m=0;m<c.length;m+=1)c[m].c();o=V(),y(n,f),y(t,v)},m(m,d){O(m,t,d),b(t,n),u.m(n,null),b(t,r),b(t,i);for(let E=0;E<c.length;E+=1)c[E]&&c[E].m(i,null);b(t,o)},p(m,d){if(l===(l=s(m))&&u?u.p(m,d):(u.d(1),u=l(m),u&&(u.c(),u.m(n,null))),y(n,f=$(a,[d[0]&4096&&m[12]("BonusRewardsLevelsItemPosition")])),d[0]&17){h=pe(m[34].bonuses);let E;for(E=0;E<h.length;E+=1){const D=fr(m,h,E);c[E]?c[E].p(D,d):(c[E]=Ir(D),c[E].c(),c[E].m(i,null))}for(;E<c.length;E+=1)c[E].d(1);c.length=h.length}y(t,v=$(_,[d[0]&4096&&m[12]("BonusRewardsLevelsItem")]))},d(m){m&&L(t),u.d(),We(c,m)}}}function ca(e){let t=e[4]("eachLevel")+"",n,r;return{c(){n=X(t),r=X(":")},m(i,o){O(i,n,o),O(i,r,o)},p(i,o){o[0]&16&&t!==(t=i[4]("eachLevel")+"")&&De(n,t)},d(i){i&&(L(n),L(r))}}}function ha(e){let t=`${e[4]("level")} ${Zn(e[36],e[34],e[0])}`,n,r;return{c(){n=X(t),r=X(":")},m(i,o){O(i,n,o),O(i,r,o)},p(i,o){o[0]&17&&t!==(t=`${i[4]("level")} ${Zn(i[36],i[34],i[0])}`)&&De(n,t)},d(i){i&&(L(n),L(r))}}}function Ir(e){let t,n=vn(e[34],e[37],e[4])+"",r;return{c(){t=A("p"),r=X(n)},m(i,o){O(i,t,o),b(t,r)},p(i,o){o[0]&17&&n!==(n=vn(i[34],i[37],i[4])+"")&&De(r,n)},d(i){i&&L(t)}}}function Hr(e){let t,n=(e[7]?!0:e[36]<2)&&Ar(e);return{c(){n&&n.c(),t=gt()},m(r,i){n&&n.m(r,i),O(r,t,i)},p(r,i){r[7]||r[36]<2?n?n.p(r,i):(n=Ar(r),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(r){r&&L(t),n&&n.d(r)}}}function Rr(e){let t,n,r=[e[12]("BonusRewardsLevelsItem")],i={};for(let o=0;o<r.length;o+=1)i=k(i,r[o]);return{c(){t=A("div"),n=A("p"),n.textContent=" ",y(t,i)},m(o,s){O(o,t,s),b(t,n)},p(o,s){y(t,i=$(r,[s[0]&4096&&o[12]("BonusRewardsLevelsItem")]))},d(o){o&&L(t)}}}function da(e){let t;return{c(){t=A("div"),t.textContent=" ",Ne(t,"class","ShowMore NoCursorTip")},m(n,r){O(n,t,r)},p:be,d(n){n&&L(t)}}}function pa(e){let t,n=(e[7]?e[4]("collapse"):e[4]("showMore"))+"",r,i,o;return{c(){t=A("div"),r=X(n),Ne(t,"class","ShowMore")},m(s,l){O(s,t,l),b(t,r),i||(o=je(t,"click",e[26]),i=!0)},p(s,l){l[0]&144&&n!==(n=(s[7]?s[4]("collapse"):s[4]("showMore"))+"")&&De(r,n)},d(s){s&&L(t),i=!1,o()}}}function Lr(e){let t,n,r=e[31]+"",i,o,s,l;function u(){return e[27](e[31])}return{c(){t=A("div"),n=A("a"),i=X(r),o=V(),Ne(n,"href","javascript:void(0)")},m(a,f){O(a,t,f),b(t,n),b(n,i),b(t,o),s||(l=je(n,"click",u),s=!0)},p(a,f){e=a,f[0]&2048&&r!==(r=e[31]+"")&&De(i,r)},d(a){a&&L(t),s=!1,l()}}}function Pr(e){let t;return{c(){t=A("div"),t.textContent=" "},m(n,r){O(n,t,r)},d(n){n&&L(t)}}}function ma(e){let t,n,r;nt(e[22]);let i=e[0]&&mr(e);return{c(){i&&i.c(),t=gt()},m(o,s){i&&i.m(o,s),O(o,t,s),n||(r=je(window,"resize",e[22]),n=!0)},p(o,s){o[0]?i?i.p(o,s):(i=mr(o),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:be,o:be,d(o){o&&L(t),i&&i.d(o),n=!1,r()}}}function ga(e,t,n){let r,i,o,s,l,u,a,f;Fr(e,_i,S=>n(21,f=S));let{rawbonus:h=""}=t,{endpoint:c=""}=t,{currency:_="EUR"}=t,{lang:v=An.en}=t,{session:m=""}=t,d,E=[],D,M,U="",G=!0,ee=1e3*30,j=!1;const ae=()=>{try{n(0,d=Te({},JSON.parse(h)))}catch(S){console.error(S)}d&&(n(1,E=go(d.levels)),te())},ue=()=>Ke(this,null,function*(){if(!m)return;Ye({type:"OnWageringBonusJoinRequest",bonusID:d.bonusID}),Ye({type:"OnWageringBonusButtonStateChanged",clickable:!1}),(yield Xr.start(new AbortController,c,m,d.code,_)).success&&Ye({type:"OnWageringBonusClaimed"}),Ye({type:"OnWageringBonusButtonStateChanged",clickable:!0})}),te=()=>{d&&(zn(d.expiryDate,ee,()=>n(19,M="Expired"),S=>n(19,M=S)),zn(d.endTime||d.trigger.endTime,ee,()=>n(20,U="Ended"),S=>n(20,U=S)))};Ct(()=>{const S=setInterval(()=>{te()},ee);return()=>{clearInterval(S)}}),jr({OnWageringBonusButtonStateChanged:S=>n(6,G=S.clickable)});let fe;function q(){n(3,fe=window.innerWidth)}const K=S=>{const{maxContribution:x="undefined",minStake:z="undefined"}=S.levelInfo,de=Ue(Te({},S),{maxContribution:x,minStake:z});return a(`${d.wageringType}.target`,de)},Y=()=>a("targetOther",{status:d.status}),me=()=>Ye({type:"OnWageringBonusAllRewardsClick",bonusWalletID:d.id}),he=()=>n(7,j=!j),w=S=>Ye({type:"OnWageringBonusSupportClicked",support:S});return e.$$set=S=>{"rawbonus"in S&&n(14,h=S.rawbonus),"endpoint"in S&&n(15,c=S.endpoint),"currency"in S&&n(16,_=S.currency),"lang"in S&&n(17,v=S.lang),"session"in S&&n(18,m=S.session)},e.$$.update=()=>{e.$$.dirty[0]&16384&&h&&ae(),e.$$.dirty[0]&131072&&v&&sa(v),e.$$.dirty[0]&8&&n(5,r=fe<=648),e.$$.dirty[0]&32&&n(12,i=(S,x="")=>Gt(`${S}${r?` ${S}Mobile`:""}`,x)),e.$$.dirty[0]&3&&n(2,D=(d==null?void 0:d.bonusWalletID)&&vo(d,E)),e.$$.dirty[0]&1&&n(11,o=d?d.status?d.products||[]:d.wallet?Object.keys(d.wallet).filter(S=>["sports","casino"].includes(S)):[]:[]),e.$$.dirty[0]&2097152&&n(4,a=(S,x={})=>f("wageringBonuses."+S,{values:x})),e.$$.dirty[0]&1048595&&n(10,s=d&&!d.status?[{key:"Levels",svg:Gn,text:zr(d,`${a("infinite")} ${a("levels")}`,`${E.length} ${E.length>1?a("levels"):a("level")}`)},{key:"Period",svg:Un,text:U}]:[]),e.$$.dirty[0]&5&&n(9,l=(()=>{const S=[re.completed,re.released].includes(d==null?void 0:d.status);return d&&S?[{key:"Status",svg:Un,text:"Completed"},{key:"Levels",svg:Gn,text:`Levels finished: ${D.textWithLength}`}]:[]})()),e.$$.dirty[0]&524288&&n(8,u=M&&[{key:"ExpiryTime",svg:ro,text:M}]),e.$$.dirty[0]&524289&&M&&d.status===re.active&&["Expired","Ended"].includes(M)&&setTimeout(()=>Ye({type:"OnWageringBonusExpired"}),5e3)},[d,E,D,fe,a,r,G,j,u,l,s,o,i,ue,h,c,_,v,m,M,U,f,q,K,Y,me,he,w]}class va extends qt{constructor(t){super(),Zt(this,t,ga,ma,Rt,{rawbonus:14,endpoint:15,currency:16,lang:17,session:18},la,[-1,-1])}get rawbonus(){return this.$$.ctx[14]}set rawbonus(t){this.$$set({rawbonus:t}),ve()}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),ve()}get currency(){return this.$$.ctx[16]}set currency(t){this.$$set({currency:t}),ve()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),ve()}get session(){return this.$$.ctx[18]}set session(t){this.$$set({session:t}),ve()}}customElements.define("private-casino-wagering-bonus",Jt(va,{rawbonus:{},endpoint:{},currency:{},lang:{},session:{}},[],[],!0));if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-B3BZOsmo.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}const _a={en:{wageringBonuses:{wageringBonus:"Wagering Bonus",levels:"Levels",level:"Level",eachLevel:"Each Level",infinite:"Infinite",current:"Current",next:"Next",first:"First",last:"Last",previous:"Previous",startChallenge:"START CHALLENGE",terms:"Terms and Conditions",termsTip:'Learn more about the challenge rules and included games or events in <a target="__blank" href={tcUrl} > Terms and Conditions </a> section',rewards:"Rewards",allRewards:"All Rewards",includeBets:"Include bets",showMore:"Show More",collapse:"Collapse",claimable:"Claimable",active:"Active",completed:"Completed",locked:"Locked",inProgress:"InProgress",noBonuses:"No wagering bonuses found",status:"Status",target:"Target",targetOther:"This bonus is {status}",money:{target:"Play for {currencySymbol}{currentLevelIncrement} in total",remaining:"Remaining: {currencySymbol}{gap}",wagered:"Wagered: {currencySymbol}{wagered}"},betCount:{target:"Place {currentLevelIncrement}/{maxContribution} bets of at least {minStake} each",remaining:"Bets Remaining: {gap} bets",wagered:"Bets Placed: {wagered} bets"},reward:{cashBack:"Enroll to Cash Back",tournamentTicket:"Enroll to Tournament Ticket",oddsBoost:"Enroll to Odds Boost",freeRound:"{freespinNumber} Free Spins",percentage:"{bonusAmount}% up to {currency}{capAmount}",fixed:"{currency}{bonusAmount}",standard:"Bonus Money",freeBet:"Free Bet"},forwardCasino:"See included casino games",forwardSports:"See included sports",forwardMyWageringBonuses:"See My Wagering Bonuses"}},tr:{wageringBonuses:{wageringBonus:"Bahis Bonusu",levels:"Seviyeler",level:"Seviye",eachLevel:"Her Seviye",infinite:"Sonsuz",current:"Akım",next:"Sonraki",first:"Birinci",last:"Son",previous:"Öncesi",startChallenge:"MEYDAN OKUMAYA BAŞLA",terms:"Şartlar ve koşullar",termsTip:"<a target=__blank href={tcUrl} > Şartlar ve Koşullar </a> bölümünde yarışma kuralları ve dahil edilen oyunlar veya etkinlikler hakkında daha fazla bilgi edinin.",rewards:"Ödüller",allRewards:"Tüm Ödüller",includeBets:"Bahisleri dahil et",showMore:"Daha fazla göster",collapse:"Yıkılmak",claimable:"Hak talebinde bulunulabilir",active:"Aktif",completed:"Tamamlanmış",locked:"Kilitli",inProgress:"Devam etmekte",noBonuses:"Bahis bonusu bulunamadı",status:"Durum",target:"Hedef",targetOther:"Bu bonus: {status}",money:{target:"Toplamda {currencySymbol}{currentLevelIncrement} kadar oynayın",remaining:"Kalan: {currencySymbol}{gap}",wagered:"Bahis: {currencySymbol}{wagered}"},betCount:{target:"Her biri en az {minStake} tutarında {currentLevelIncrement}/{maxContribution} bahis yapın",remaining:"Kalan Bahisler: {gap} bahis",wagered:"Yapılan Bahisler: {wagered} bahis"},reward:{cashBack:"Nakit İadesine Kaydolun",tournamentTicket:"Turnuva Biletine Kayıt Olun",oddsBoost:"Odds Boost'a kaydolun",freeRound:"{freespinNumber} Ücretsiz Döndürme",percentage:"{currency}{capAmount}'a kadar %{bonusAmount}",fixed:"{currency}{bonusAmount}",standard:"Bonus Para",freeBet:"Ücretsiz Bahis"},forwardCasino:"Dahil edilen casino oyunlarına bakın",forwardSports:"Dahil edilen sporları görün",forwardMyWageringBonuses:"Bahis Bonuslarımı Görün"}}},ba=(e,t)=>{const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)},ya=(e,t)=>{const n=new URL(t),r=document.createElement("style");fetch(n.href).then(i=>i.text()).then(i=>{r.innerHTML=i,setTimeout(()=>{e.appendChild(r)},1)})},Ea=(e,t)=>{fetch(e).then(r=>r.json()).then(r=>{Object.keys(r).forEach(i=>{t(i,r[i])})}).catch(r=>{console.log(r)})};function wa(e){zt(e,"svelte-y8n14r","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}casino-wagering-bonus::part(Root){margin-bottom:30px}.Root{background:var(--emw--color-white, #FFFFFF);padding:20px;color:var(--emw--color-black, #000000)}.Bonuses{display:flex;flex-wrap:wrap;justify-content:left;margin-top:10px;column-gap:10px}.BonusesMobile>casino-wagering-bonus{width:100%}.WageringTabs{margin:20px 0;font-size:16px}.WageringTab{display:inline;padding:8px;cursor:pointer;color:#000000;border-bottom:1px solid #00AEEF}.WageringTab.active{color:#00AEEF;border-bottom-width:3px;padding-bottom:6px;font-weight:700}.WageringTabsMobile{display:flex;justify-content:space-around}.WageringTabMobile{width:100%;text-align:center}.Error{color:red}")}function Or(e,t,n){const r=e.slice();return r[30]=t[n],r}function Mr(e,t,n){const r=e.slice();return r[33]=t[n],r}function Nr(e){let t,n=e[10](e[33])+"",r,i,o,s,l=[e[11]("WageringTab")],u={};for(let f=0;f<l.length;f+=1)u=k(u,l[f]);function a(){return e[21](e[33])}return{c(){t=A("div"),r=X(n),i=V(),y(t,u),Mn(t,"active",e[0]===e[33])},m(f,h){O(f,t,h),b(t,r),b(t,i),o||(s=je(t,"click",a),o=!0)},p(f,h){e=f,h[0]&1024&&n!==(n=e[10](e[33])+"")&&Se(r,n,u.contenteditable),y(t,u=$(l,[h[0]&2048&&e[11]("WageringTab")])),Mn(t,"active",e[0]===e[33])},d(f){f&&L(t),o=!1,s()}}}function Ta(e){let t;function n(l,u){return l[7].length>0?xa:l[9]?Ca:Ba}let r=n(e),i=r(e),o=[e[11]("Bonuses")],s={};for(let l=0;l<o.length;l+=1)s=k(s,o[l]);return{c(){t=A("div"),i.c(),y(t,s)},m(l,u){O(l,t,u),i.m(t,null)},p(l,u){r===(r=n(l))&&i?i.p(l,u):(i.d(1),i=r(l),i&&(i.c(),i.m(t,null))),y(t,s=$(o,[u[0]&2048&&l[11]("Bonuses")]))},d(l){l&&L(t),i.d()}}}function Sa(e){let t;return{c(){t=A("general-animation-loading")},m(n,r){O(n,t,r)},p:be,d(n){n&&L(t)}}}function Ba(e){let t=e[10]("noBonuses")+"",n;return{c(){n=X(t)},m(r,i){O(r,n,i)},p(r,i){i[0]&1024&&t!==(t=r[10]("noBonuses")+"")&&De(n,t)},d(r){r&&L(n)}}}function Ca(e){let t,n,r;return{c(){t=A("div"),n=X("Error: "),r=X(e[9]),Ne(t,"class","Error")},m(i,o){O(i,t,o),b(t,n),b(t,r)},p(i,o){o[0]&512&&De(r,i[9])},d(i){i&&L(t)}}}function xa(e){let t,n=pe(e[7]),r=[];for(let i=0;i<n.length;i+=1)r[i]=Dr(Or(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=gt()},m(i,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,o);O(i,t,o)},p(i,o){if(o[0]&158){n=pe(i[7]);let s;for(s=0;s<n.length;s+=1){const l=Or(i,n,s);r[s]?r[s].p(l,o):(r[s]=Dr(l),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length}},d(i){i&&L(t),We(r,i)}}}function Dr(e){let t,n=[{endpoint:e[1],session:e[3],lang:e[2],currency:e[4],rawbonus:JSON.stringify(e[30])}],r={};for(let i=0;i<n.length;i+=1)r=k(r,n[i]);return{c(){t=A("private-casino-wagering-bonus"),y(t,r)},m(i,o){O(i,t,o)},p(i,o){y(t,r=$(n,[o[0]&158&&{endpoint:i[1],session:i[3],lang:i[2],currency:i[4],rawbonus:JSON.stringify(i[30])}]))},d(i){i&&L(t)}}}function Aa(e){let t,n,r,i,o,s=pe(Object.values(xt)),l=[];for(let m=0;m<s.length;m+=1)l[m]=Nr(Mr(e,s,m));let u=[e[11]("WageringTabs")],a={};for(let m=0;m<u.length;m+=1)a=k(a,u[m]);function f(m,d){return m[8]?Sa:Ta}let h=f(e),c=h(e),_=[e[11]("Root")],v={};for(let m=0;m<_.length;m+=1)v=k(v,_[m]);return{c(){t=A("div"),n=A("section");for(let m=0;m<l.length;m+=1)l[m].c();r=V(),i=A("div"),c.c(),y(n,a),y(t,v),nt(()=>e[23].call(t))},m(m,d){O(m,t,d),b(t,n);for(let E=0;E<l.length;E+=1)l[E]&&l[E].m(n,null);b(t,r),b(t,i),c.m(i,null),e[22](t),o=Di(t,e[23].bind(t))},p(m,d){if(d[0]&7169){s=pe(Object.values(xt));let E;for(E=0;E<s.length;E+=1){const D=Mr(m,s,E);l[E]?l[E].p(D,d):(l[E]=Nr(D),l[E].c(),l[E].m(n,null))}for(;E<l.length;E+=1)l[E].d(1);l.length=s.length}y(n,a=$(u,[d[0]&2048&&m[11]("WageringTabs")])),h===(h=f(m))&&c?c.p(m,d):(c.d(1),c=h(m),c&&(c.c(),c.m(i,null))),y(t,v=$(_,[d[0]&2048&&m[11]("Root")]))},i:be,o:be,d(m){m&&L(t),We(l,m),c.d(),e[22](null),o()}}}function Ia(e,t,n){let r,i,o,s;Fr(e,_i,w=>n(20,s=w));let{endpoint:l=""}=t,{lang:u=An.en}=t,{session:a=""}=t,{currency:f="EUR"}=t,{filter:h=xt.claimable}=t,{limit:c=""}=t,{sortorder:_="desc"}=t,{clientstyling:v=""}=t,{clientstylingurl:m=""}=t,{translationurl:d=""}=t,E,D=!1;Ct(()=>(n(18,D=!0),()=>{n(18,D=!1)}));let M=[],U,G={},ee=!0,j="",ae;aa(_a);const ue=uo({WageringProgressUpdate:w=>{n(7,M=M.map(S=>{let x=w==null?void 0:w.items[S.bonusWalletID];if(!x)return S;const{maxIdObj:z,maxId:de}=co(x);let{status:Be,level:B,levelIncrement:Q,gap:Ce}=z;G[S.id]=de;let ie=Te({},S);return ie=Ue(Te({},ie),{wageringProgress:Ue(Te({},ie.wageringProgress),{currentLevel:B,currentLevelIncrement:Q,gap:Ce})}),Be&&(ie=Ue(Te({},ie),{status:Be}),setTimeout(()=>q(),500),Be!==h)?null:ie}).filter(S=>S))}}),te=()=>Ke(this,null,function*(){ae==null||ae.abort(),ae=new AbortController;try{const w=yield Xr.list(ae,l,a,{lang:u,status:h==="claimable"?"claimable":_o(h),limit:c,sortOrder:_||"desc"});w.success?(n(7,M=w.items||w.bonuses),an(U,ue),h===xt.active&&fe()):n(9,j=w.errorMessage)}catch(w){if(w.name=="AbortError")return;console.error(w)}}),fe=()=>{an(U,ue),U=po(l,a,M,ue,G),U==null||U.onerror.bind(null,()=>{fe()})},q=()=>Ke(this,null,function*(){!D||!h||!u||!a||!l||(n(8,ee=!0),yield te(),n(8,ee=!1))});jr({OnWageringBonusClaimed:()=>q(),OnWageringBonusExpired:()=>q()}),Ct(()=>()=>an(U,ue));let K;const Y=w=>{h!==w&&(n(0,h=w),q())};function me(w){Ut[w?"unshift":"push"](()=>{E=w,n(5,E)})}function he(){K=this.clientWidth,n(6,K)}return e.$$set=w=>{"endpoint"in w&&n(1,l=w.endpoint),"lang"in w&&n(2,u=w.lang),"session"in w&&n(3,a=w.session),"currency"in w&&n(4,f=w.currency),"filter"in w&&n(0,h=w.filter),"limit"in w&&n(13,c=w.limit),"sortorder"in w&&n(14,_=w.sortorder),"clientstyling"in w&&n(15,v=w.clientstyling),"clientstylingurl"in w&&n(16,m=w.clientstylingurl),"translationurl"in w&&n(17,d=w.translationurl)},e.$$.update=()=>{e.$$.dirty[0]&32800&&E&&v&&ba(E,v),e.$$.dirty[0]&65568&&E&&m&&ya(E,m),e.$$.dirty[0]&131072&&d&&Ea(d,bi),e.$$.dirty[0]&262144&&D&&q(),e.$$.dirty[0]&2&&l&&q(),e.$$.dirty[0]&4&&u&&q(),e.$$.dirty[0]&8&&a&&q(),e.$$.dirty[0]&16384&&_&&q(),e.$$.dirty[0]&64&&n(19,r=K<=648),e.$$.dirty[0]&524288&&n(11,i=w=>Gt(`${w}${r?` ${w}Mobile`:""}`)),e.$$.dirty[0]&1048576&&n(10,o=(w,S={})=>s("wageringBonuses."+w,{values:S}))},[h,l,u,a,f,E,K,M,ee,j,o,i,q,c,_,v,m,d,D,r,s,Y,me,he]}class yi extends qt{constructor(t){super(),Zt(this,t,Ia,Aa,Rt,{endpoint:1,lang:2,session:3,currency:4,filter:0,limit:13,sortorder:14,clientstyling:15,clientstylingurl:16,translationurl:17},wa,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),ve()}get lang(){return this.$$.ctx[2]}set lang(t){this.$$set({lang:t}),ve()}get session(){return this.$$.ctx[3]}set session(t){this.$$set({session:t}),ve()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),ve()}get filter(){return this.$$.ctx[0]}set filter(t){this.$$set({filter:t}),ve()}get limit(){return this.$$.ctx[13]}set limit(t){this.$$set({limit:t}),ve()}get sortorder(){return this.$$.ctx[14]}set sortorder(t){this.$$set({sortorder:t}),ve()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(t){this.$$set({clientstyling:t}),ve()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),ve()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),ve()}}Jt(yi,{endpoint:{},lang:{},session:{},currency:{},filter:{},limit:{},sortorder:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);const Ha=Object.freeze(Object.defineProperty({__proto__:null,default:yi},Symbol.toStringTag,{value:"Module"}));exports.CasinoWageringBonusesController_ce=Ha;exports.SvelteComponent=qt;exports.add_render_callback=nt;exports.append=b;exports.append_styles=zt;exports.assign=k;exports.binding_callbacks=Ut;exports.create_custom_element=Jt;exports.detach=L;exports.element=A;exports.flush=ve;exports.get_spread_update=$;exports.init=Zt;exports.insert=O;exports.listen=je;exports.noop=be;exports.onMount=Ct;exports.safe_not_equal=Rt;exports.set_data_maybe_contenteditable=Se;exports.set_svg_attributes=Pi;exports.svg_element=Ri;exports.text=X;
@@ -0,0 +1,137 @@
1
+ import { S as h, i as p, s as y, f as a, a as m, n as u, e as g, k as S, p as b, q as w, r as v, c as _ } from "./CasinoWageringBonusesController-Dq2gpI5p.js";
2
+ const o = "__WIDGET_GLOBAL_STYLE_CACHE__";
3
+ function x(t, e) {
4
+ if (t) {
5
+ const i = document.createElement("style");
6
+ i.innerHTML = e, t.appendChild(i);
7
+ }
8
+ }
9
+ function C(t, e) {
10
+ if (!t || !e)
11
+ return;
12
+ const i = new URL(e);
13
+ fetch(i.href).then((n) => n.text()).then((n) => {
14
+ const l = document.createElement("style");
15
+ l.innerHTML = n, t && t.appendChild(l);
16
+ }).catch((n) => {
17
+ console.error("There was an error while trying to load client styling from URL", n);
18
+ });
19
+ }
20
+ function L(t, e, i, n = !1) {
21
+ if (!window.emMessageBus)
22
+ return;
23
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
24
+ return i = M(t, e), i;
25
+ window[o] || (window[o] = {}), i = T(t, e);
26
+ const r = i.unsubscribe.bind(i), s = () => {
27
+ if (window[o][e]) {
28
+ const d = window[o][e];
29
+ d.refCount > 1 ? d.refCount = d.refCount - 1 : delete window[o][e];
30
+ }
31
+ r();
32
+ };
33
+ return i.unsubscribe = s, i;
34
+ }
35
+ function M(t, e) {
36
+ const i = document.createElement("style");
37
+ return window.emMessageBus.subscribe(e, (n) => {
38
+ t && (i.innerHTML = n, t.appendChild(i));
39
+ });
40
+ }
41
+ function T(t, e) {
42
+ return window.emMessageBus.subscribe(e, (i) => {
43
+ if (!t)
44
+ return;
45
+ const n = t.getRootNode(), l = window[o];
46
+ let r = l[e]?.sheet;
47
+ r ? l[e].refCount = l[e].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(i), l[e] = {
48
+ sheet: r,
49
+ refCount: 1
50
+ });
51
+ const s = n.adoptedStyleSheets || [];
52
+ s.includes(r) || (n.adoptedStyleSheets = [...s, r]);
53
+ });
54
+ }
55
+ function k(t) {
56
+ m(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
57
+ }
58
+ function A(t) {
59
+ let e;
60
+ return {
61
+ c() {
62
+ e = b("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
63
+ },
64
+ m(i, n) {
65
+ S(i, e, n), t[4](e);
66
+ },
67
+ p: u,
68
+ i: u,
69
+ o: u,
70
+ d(i) {
71
+ i && g(e), t[4](null);
72
+ }
73
+ };
74
+ }
75
+ function E(t, e, i) {
76
+ let { clientstyling: n = "" } = e, { clientstylingurl: l = "" } = e, { mbsource: r } = e, s, d;
77
+ w(() => () => {
78
+ });
79
+ function f(c) {
80
+ v[c ? "unshift" : "push"](() => {
81
+ s = c, i(0, s);
82
+ });
83
+ }
84
+ return t.$$set = (c) => {
85
+ "clientstyling" in c && i(1, n = c.clientstyling), "clientstylingurl" in c && i(2, l = c.clientstylingurl), "mbsource" in c && i(3, r = c.mbsource);
86
+ }, t.$$.update = () => {
87
+ t.$$.dirty & /*clientstyling, customStylingContainer*/
88
+ 3 && n && s && x(s, n), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
89
+ 5 && l && s && C(s, l), t.$$.dirty & /*mbsource, customStylingContainer*/
90
+ 9 && r && s && L(s, `${r}.Style`, d);
91
+ }, [
92
+ s,
93
+ n,
94
+ l,
95
+ r,
96
+ f
97
+ ];
98
+ }
99
+ class H extends h {
100
+ constructor(e) {
101
+ super(), p(
102
+ this,
103
+ e,
104
+ E,
105
+ A,
106
+ y,
107
+ {
108
+ clientstyling: 1,
109
+ clientstylingurl: 2,
110
+ mbsource: 3
111
+ },
112
+ k
113
+ );
114
+ }
115
+ get clientstyling() {
116
+ return this.$$.ctx[1];
117
+ }
118
+ set clientstyling(e) {
119
+ this.$$set({ clientstyling: e }), a();
120
+ }
121
+ get clientstylingurl() {
122
+ return this.$$.ctx[2];
123
+ }
124
+ set clientstylingurl(e) {
125
+ this.$$set({ clientstylingurl: e }), a();
126
+ }
127
+ get mbsource() {
128
+ return this.$$.ctx[3];
129
+ }
130
+ set mbsource(e) {
131
+ this.$$set({ mbsource: e }), a();
132
+ }
133
+ }
134
+ _(H, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
135
+ export {
136
+ H as default
137
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./CasinoWageringBonusesController-vXUicEdB.cjs"),u="__WIDGET_GLOBAL_STYLE_CACHE__";function h(t,e){if(t){const i=document.createElement("style");i.innerHTML=e,t.appendChild(i)}}function p(t,e){if(!t||!e)return;const i=new URL(e);fetch(i.href).then(n=>n.text()).then(n=>{const r=document.createElement("style");r.innerHTML=n,t&&t.appendChild(r)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function y(t,e,i,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return i=g(t,e),i;window[u]||(window[u]={}),i=m(t,e);const c=i.unsubscribe.bind(i),l=()=>{if(window[u][e]){const d=window[u][e];d.refCount>1?d.refCount=d.refCount-1:delete window[u][e]}c()};return i.unsubscribe=l,i}function g(t,e){const i=document.createElement("style");return window.emMessageBus.subscribe(e,n=>{t&&(i.innerHTML=n,t.appendChild(i))})}function m(t,e){return window.emMessageBus.subscribe(e,i=>{var d;if(!t)return;const n=t.getRootNode(),r=window[u];let c=(d=r[e])==null?void 0:d.sheet;c?r[e].refCount=r[e].refCount+1:(c=new CSSStyleSheet,c.replaceSync(i),r[e]={sheet:c,refCount:1});const l=n.adoptedStyleSheets||[];l.includes(c)||(n.adoptedStyleSheets=[...l,c])})}function S(t){s.append_styles(t,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function b(t){let e;return{c(){e=s.element("div"),e.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(i,n){s.insert(i,e,n),t[4](e)},p:s.noop,i:s.noop,o:s.noop,d(i){i&&s.detach(e),t[4](null)}}}function w(t,e,i){let{clientstyling:n=""}=e,{clientstylingurl:r=""}=e,{mbsource:c}=e,l,d;s.onMount(()=>()=>{});function f(o){s.binding_callbacks[o?"unshift":"push"](()=>{l=o,i(0,l)})}return t.$$set=o=>{"clientstyling"in o&&i(1,n=o.clientstyling),"clientstylingurl"in o&&i(2,r=o.clientstylingurl),"mbsource"in o&&i(3,c=o.mbsource)},t.$$.update=()=>{t.$$.dirty&3&&n&&l&&h(l,n),t.$$.dirty&5&&r&&l&&p(l,r),t.$$.dirty&9&&c&&l&&y(l,`${c}.Style`,d)},[l,n,r,c,f]}class a extends s.SvelteComponent{constructor(e){super(),s.init(this,e,w,b,s.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},S)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),s.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),s.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),s.flush()}}s.create_custom_element(a,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=a;