@everymatrix/casino-header-controller 1.50.1 → 1.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoHamburgerMenu-BCpMAPAe.js → CasinoHamburgerMenu-1MgwMavL.js} +3 -0
- package/components/{CasinoHamburgerMenu-vpzEIIT_.cjs → CasinoHamburgerMenu-CX83WE31.cjs} +1 -1
- package/components/{CasinoHeaderController-Bqi-X-8L.cjs → CasinoHeaderController-B-WU2bPf.cjs} +5 -5
- package/components/{CasinoHeaderController-CsLzZTan.js → CasinoHeaderController-Bv6EXaHk.js} +11 -5
- package/components/{CasinoSlider-DJSVy9ND.js → CasinoSlider-DonAdyJx.js} +202 -197
- package/components/CasinoSlider-DsD-Fhk7.cjs +1 -0
- package/components/{PlayerAccountBalanceModal-Ck5Xpx4C.js → PlayerAccountBalanceModal-CwDfcNRi.js} +96 -85
- package/components/{PlayerAccountBalanceModal-YLBXGRdn.cjs → PlayerAccountBalanceModal-D_BA3ijd.cjs} +5 -5
- package/components/{PlayerDeposit-DJ0jHpbl.cjs → PlayerDeposit-C2Ku0XLf.cjs} +1 -1
- package/components/{PlayerDeposit-DWYXaqBZ.js → PlayerDeposit-Dstpbsls.js} +1 -1
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoSlider-CnDv74QC.cjs +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoHamburgerMenu-CX83WE31.cjs");function ye({withLocale:i,translations:e}){t.$locale.subscribe(r=>{r==null&&(t.$dictionary.set(e),t.$locale.set(i))})}function U(i,e){t.addMessages(i,e)}function we(i){t.$locale.set(i)}const Y={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş",register:"Kayıt",deposit:"Para Yatır"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata"},"pt-br":{login:"Entrem",register:"Registro",deposit:"Depósito"},"es-mx":{login:"Entrar",register:"Registro",deposit:"Depósito"},"en-us":{login:"Login",register:"Register",deposit:"Deposit"}};function be(i){t.append_styles(i,"svelte-1lgwoo3",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}')}function P(i,e,r){const o=i.slice();return o[49]=e[r],o[51]=r,o}function K(i,e,r){const o=i.slice();return o[52]=e[r],o}function X(i,e,r){const o=i.slice();return o[55]=e[r],o[57]=r,o}function J(i){let e=[],r=new Map,o,l=t.ensure_array_like(i[9]);const s=n=>n[49].id;for(let n=0;n<l.length;n+=1){let c=P(i,l,n),m=s(c);r.set(m,e[n]=te(m,c))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();o=t.empty()},m(n,c){for(let m=0;m<e.length;m+=1)e[m]&&e[m].m(n,c);t.insert(n,o,c)},p(n,c){c[0]&77775&&(l=t.ensure_array_like(n[9]),e=t.update_keyed_each(e,c,s,1,n,l,r,o.parentNode,t.destroy_block,te,o,P))},d(n){n&&t.detach(o);for(let c=0;c<e.length;c+=1)e[c].d(n)}}}function ve(i){let e,r=i[49].name+"",o;return{c(){e=t.element("button"),o=t.text(r),t.attr(e,"class","CategoryButton")},m(l,s){t.insert(l,e,s),t.append(e,o)},p(l,s){s[0]&512&&r!==(r=l[49].name+"")&&t.set_data(o,r)},d(l){l&&t.detach(e)}}}function _e(i){let e,r=i[49].label+"",o,l;return{c(){e=t.element("a"),o=t.text(r),t.attr(e,"href",l=i[49].path)},m(s,n){t.insert(s,e,n),t.append(e,o)},p(s,n){n[0]&512&&r!==(r=s[49].label+"")&&t.set_data(o,r),n[0]&512&&l!==(l=s[49].path)&&t.attr(e,"href",l)},d(s){s&&t.detach(e)}}}function Q(i){let e,r=i[10].length>0&&i[2]=="true"&&V(i);return{c(){r&&r.c(),e=t.empty()},m(o,l){r&&r.m(o,l),t.insert(o,e,l)},p(o,l){o[10].length>0&&o[2]=="true"?r?r.p(o,l):(r=V(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},d(o){o&&t.detach(e),r&&r.d(o)}}}function V(i){let e,r=t.ensure_array_like(i[10]),o=[];for(let l=0;l<r.length;l+=1)o[l]=ee(K(i,r,l));return{c(){e=t.element("ul");for(let l=0;l<o.length;l+=1)o[l].c();t.attr(e,"class","DropDown")},m(l,s){t.insert(l,e,s);for(let n=0;n<o.length;n+=1)o[n]&&o[n].m(e,null)},p(l,s){if(s[0]&10176){r=t.ensure_array_like(l[10]);let n;for(n=0;n<r.length;n+=1){const c=K(l,r,n);o[n]?o[n].p(c,s):(o[n]=ee(c),o[n].c(),o[n].m(e,null))}for(;n<o.length;n+=1)o[n].d(1);o.length=r.length}},d(l){l&&t.detach(e),t.destroy_each(o,l)}}}function Z(i){var C;let e,r,o=((C=i[55])==null?void 0:C.name)+"",l,s,n,c,m;function v(...f){return i[32](i[49],i[51],i[55],i[57],...f)}return{c(){e=t.element("li"),r=t.element("a"),l=t.text(o),n=t.space(),t.attr(r,"class",s="SubDropDown "+(i[51]==i[6]&&(i[7]==i[57]||i[8]==i[57])?"active":""))},m(f,y){t.insert(f,e,y),t.append(e,r),t.append(r,l),t.append(e,n),c||(m=t.listen(e,"click",v),c=!0)},p(f,y){var _;i=f,y[0]&1024&&o!==(o=((_=i[55])==null?void 0:_.name)+"")&&t.set_data(l,o),y[0]&1984&&s!==(s="SubDropDown "+(i[51]==i[6]&&(i[7]==i[57]||i[8]==i[57])?"active":""))&&t.attr(r,"class",s)},d(f){f&&t.detach(e),c=!1,m()}}}function $(i,e){let r,o,l=e[51]==e[52].index&&Z(e);return{key:i,first:null,c(){r=t.empty(),l&&l.c(),o=t.empty(),this.first=r},m(s,n){t.insert(s,r,n),l&&l.m(s,n),t.insert(s,o,n)},p(s,n){e=s,e[51]==e[52].index?l?l.p(e,n):(l=Z(e),l.c(),l.m(o.parentNode,o)):l&&(l.d(1),l=null)},d(s){s&&(t.detach(r),t.detach(o)),l&&l.d(s)}}}function ee(i){let e=[],r=new Map,o,l=t.ensure_array_like(i[52].items);const s=n=>n[55].id;for(let n=0;n<l.length;n+=1){let c=X(i,l,n),m=s(c);r.set(m,e[n]=$(m,c))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();o=t.empty()},m(n,c){for(let m=0;m<e.length;m+=1)e[m]&&e[m].m(n,c);t.insert(n,o,c)},p(n,c){c[0]&10176&&(l=t.ensure_array_like(n[52].items),e=t.update_keyed_each(e,c,s,1,n,l,r,o.parentNode,t.destroy_block,$,o,X))},d(n){n&&t.detach(o);for(let c=0;c<e.length;c+=1)e[c].d(n)}}}function te(i,e){let r,o,l,s,n,c,m,v,C,f,y;function _(h,b){return h[0]==="headerMain"?_e:ve}let k=_(e),g=k(e),u=e[11][e[51]]==!0&&Q(e);function w(...h){return e[33](e[49],e[51],...h)}return{key:i,first:null,c(){var h,b;r=t.element("li"),o=t.element("div"),l=t.element("img"),c=t.space(),g.c(),m=t.space(),u&&u.c(),v=t.space(),t.attr(l,"class",s="CategoryIconImg "+(e[3]==="true"?"":"DisplayNone")),t.src_url_equal(l.src,n=e[16](e[49]))||t.attr(l,"src",n),t.attr(o,"class","CategoryIcon"),t.attr(r,"class",C="CarouselItem "+(((h=e[1])==null?void 0:h.toString().indexOf("$"))>-1?((b=e[1])==null?void 0:b.split("$").pop())==e[49].id.split("$").pop()?"active":"":e[1]==e[49].id?"active":"")+" "+(e[0]=="headerMain"?"":"SecondaryMenu")),t.attr(r,"part","CarouselItem"),this.first=r},m(h,b){t.insert(h,r,b),t.append(r,o),t.append(o,l),t.append(r,c),g.m(r,null),t.append(r,m),u&&u.m(r,null),t.append(r,v),f||(y=t.listen(r,"click",w),f=!0)},p(h,b){var L,N;e=h,b[0]&8&&s!==(s="CategoryIconImg "+(e[3]==="true"?"":"DisplayNone"))&&t.attr(l,"class",s),b[0]&512&&!t.src_url_equal(l.src,n=e[16](e[49]))&&t.attr(l,"src",n),k===(k=_(e))&&g?g.p(e,b):(g.d(1),g=k(e),g&&(g.c(),g.m(r,m))),e[11][e[51]]==!0?u?u.p(e,b):(u=Q(e),u.c(),u.m(r,v)):u&&(u.d(1),u=null),b[0]&515&&C!==(C="CarouselItem "+(((L=e[1])==null?void 0:L.toString().indexOf("$"))>-1?((N=e[1])==null?void 0:N.split("$").pop())==e[49].id.split("$").pop()?"active":"":e[1]==e[49].id?"active":"")+" "+(e[0]=="headerMain"?"":"SecondaryMenu"))&&t.attr(r,"class",C)},d(h){h&&t.detach(r),g.d(),u&&u.d(),f=!1,y()}}}function ke(i){let e,r,o,l,s,n,c,m,v,C,f,y,_,k,g,u=i[9].length>0&&J(i);return{c(){e=t.element("div"),r=t.element("div"),o=t.element("div"),o.innerHTML='<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',l=t.space(),s=t.element("div"),n=t.element("ul"),c=t.element("li"),c.innerHTML='<a href="#CarouselNav">Close Subs</a>',m=t.space(),u&&u.c(),v=t.space(),C=t.element("div"),C.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',t.attr(o,"class","CarouselLeftArrow"),t.attr(c,"class","TouchOnly"),t.attr(n,"id","CarouselNav"),t.attr(n,"class","CarouselItems"),t.attr(s,"class","CarouselNavWrap"),t.attr(C,"class","CarouselRightArrow"),t.attr(r,"class",f=`CarouselContainer CarouselContainerMobile ${i[0]==="headerMain"?"CarouselContainerHeaderMain":""}`),t.attr(r,"style",y=i[0]==="headerMain"?"max-width: auto":void 0),t.attr(e,"class",_="CarouselWrapper "+(i[0]==="headerMain"?"CarouselWrapperHeaderMain":""))},m(w,h){t.insert(w,e,h),t.append(e,r),t.append(r,o),t.append(r,l),t.append(r,s),t.append(s,n),t.append(n,c),t.append(n,m),u&&u.m(n,null),i[34](n),i[35](s),t.append(r,v),t.append(r,C),i[37](e),k||(g=[t.listen(o,"click",i[31]),t.listen(C,"click",i[36])],k=!0)},p(w,h){w[9].length>0?u?u.p(w,h):(u=J(w),u.c(),u.m(n,null)):u&&(u.d(1),u=null),h[0]&1&&f!==(f=`CarouselContainer CarouselContainerMobile ${w[0]==="headerMain"?"CarouselContainerHeaderMain":""}`)&&t.attr(r,"class",f),h[0]&1&&y!==(y=w[0]==="headerMain"?"max-width: auto":void 0)&&t.attr(r,"style",y),h[0]&1&&_!==(_="CarouselWrapper "+(w[0]==="headerMain"?"CarouselWrapperHeaderMain":""))&&t.attr(e,"class",_)},i:t.noop,o:t.noop,d(w){w&&t.detach(e),u&&u.d(),i[34](null),i[35](null),i[37](null),k=!1,t.run_all(g)}}}function Fe(i,e,r){let{endpoint:o=""}=e,{datasource:l=""}=e,{onclickeventname:s="defaultEvent"}=e,{actionevent:n="defaultEvent"}=e,{favoritesnumber:c="0"}=e,{location:m=""}=e,{clientstyling:v=""}=e,{clientstylingurl:C=""}=e,{identity:f=""}=e,{translationurl:y=""}=e,{isprimarymenu:_=!1}=e,{issecondarymenu:k=!1}=e,{lang:g=""}=e,{activeindex:u="0"}=e,{showsubgroups:w="false"}=e,{categoriesicon:h="false"}=e,{lobbyiconimage:b=""}=e,{mygamesiconimage:L=""}=e;ye({withLocale:"en",translations:{}});const N=()=>{fetch(y).then(d=>d.json()).then(d=>{Object.keys(d).forEach(p=>{U(p,d[p])})}).catch(d=>{console.log(d)})};Object.keys(Y).forEach(a=>{U(a,Y[a])});let H,A,E,W,I,R=[],T=[],j=[],F,z=(a,d,p,D,M)=>{var S;if(!(a.subGroups&&D===null)){if(O(),r(6,A=d),r(6,A),M!="secondary"){window.postMessage({type:n=="CategoryChange"?"CategoryChange":"NavigateTo",buzz:"1",itemId:a.id,index:d,item:a,path:a.path,externalLink:a.externalLink||!1,target:((S=a.attrs)==null?void 0:S.target)||null},window.location.href),r(7,E=null),r(8,W=null);return}r(7,E=D),r(7,E),r(8,W=E),window.postMessage({type:n,itemId:p.id,subIndex:D,subItem:p},window.location.href)}},B=()=>{F.scrollBy({left:-250,behavior:"smooth"})},G=()=>{F.scrollBy({left:250,behavior:"smooth"})};const x=a=>{a.data.type=="SliderData"&&a.data.identity==f&&(r(9,R=a.data.data),r(11,j=new Array(R.length).fill(!1)),w=="true"&&oe()),a.data.type=="GoToHomepage"&&R.forEach((d,p)=>{d.path.endsWith("/casino")&&(r(6,A=p),r(6,A))})},ne=()=>{we(g)},ae=(a,d,p)=>{if(m=="secondaryMenu"&&o&&l&&g&&a.id){let D=new URL(`${o}/v1/casino/groups/${l}/${a.id}/subGroups?language=${g}`);fetch(D.href).then(M=>M.json()).then(M=>{M.index=d,r(10,T=T.concat(M)),w=="false"&&window.postMessage({type:n,itemId:a.id,index:d,item:a},window.location.href);const S=[];T.map(pe=>(pe.items.forEach(q=>{S.find(Ce=>q.id==Ce)||S.push(q.id)}),S.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:S},window.location.href)}).then(()=>{H.querySelectorAll(".DropDown")&&O()})}m=="headerMain"&&window.postMessage({type:n,item:a},window.location.href)},O=()=>{const a=H.querySelectorAll(".DropDown");document.activeElement.blur(),F.classList.add("isScrolling");for(let d=0;d<a.length;d++)a[d].style.transform="translateX(-"+F.scrollLeft+"px)";F.classList.remove("isScrolling")},oe=()=>{R.forEach((a,d)=>{var p;((p=a==null?void 0:a.subGroups)==null?void 0:p.count)>0&&(r(11,j[d]=!0,j),ae(a,d))})},ie=()=>{let a=document.createElement("style");a.innerHTML=v,I.appendChild(a)},le=()=>{let a=document.createElement("style"),d=new URL(C);fetch(d.href).then(p=>p.text()).then(p=>{a.innerHTML=p,setTimeout(()=>{I.appendChild(a)},1)})},se=a=>{let d="";return a.id==="LOBBY"?d=b:a.id==="MYGAMES"&&(d=L),a.icon||d};t.onMount(()=>(window.addEventListener("message",x,!1),"ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),setTimeout(()=>{F.addEventListener("scroll",O)},500),window.postMessage({type:"SliderLoaded",identity:f}),()=>{window.removeEventListener("message",x),H.removeEventListener("scroll",O)}));const ce=()=>B(),ue=(a,d,p,D,M)=>{z(a,d,p,D,"secondary"),M.stopPropagation()},de=(a,d,p)=>{z(a,d,null,null,"main"),p.preventDefault()};function me(a){t.binding_callbacks[a?"unshift":"push"](()=>{H=a,r(5,H)})}function he(a){t.binding_callbacks[a?"unshift":"push"](()=>{F=a,r(12,F)})}const fe=()=>G();function ge(a){t.binding_callbacks[a?"unshift":"push"](()=>{I=a,r(4,I)})}return i.$$set=a=>{"endpoint"in a&&r(17,o=a.endpoint),"datasource"in a&&r(18,l=a.datasource),"onclickeventname"in a&&r(19,s=a.onclickeventname),"actionevent"in a&&r(20,n=a.actionevent),"favoritesnumber"in a&&r(21,c=a.favoritesnumber),"location"in a&&r(0,m=a.location),"clientstyling"in a&&r(22,v=a.clientstyling),"clientstylingurl"in a&&r(23,C=a.clientstylingurl),"identity"in a&&r(24,f=a.identity),"translationurl"in a&&r(25,y=a.translationurl),"isprimarymenu"in a&&r(26,_=a.isprimarymenu),"issecondarymenu"in a&&r(27,k=a.issecondarymenu),"lang"in a&&r(28,g=a.lang),"activeindex"in a&&r(1,u=a.activeindex),"showsubgroups"in a&&r(2,w=a.showsubgroups),"categoriesicon"in a&&r(3,h=a.categoriesicon),"lobbyiconimage"in a&&r(29,b=a.lobbyiconimage),"mygamesiconimage"in a&&r(30,L=a.mygamesiconimage)},i.$$.update=()=>{i.$$.dirty[0]&2,i.$$.dirty[0]&33554432&&y&&N(),i.$$.dirty[0]&4194320&&v&&I&&ie(),i.$$.dirty[0]&8388624&&C&&I&&le(),i.$$.dirty[0]&268435456&&g&&ne()},[m,u,w,h,I,H,A,E,W,R,T,j,F,z,B,G,se,o,l,s,n,c,v,C,f,y,_,k,g,b,L,ce,ue,de,me,he,fe,ge]}class re extends t.SvelteComponent{constructor(e){super(),t.init(this,e,Fe,ke,t.safe_not_equal,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:1,showsubgroups:2,categoriesicon:3,lobbyiconimage:29,mygamesiconimage:30},be,[-1,-1])}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),t.flush()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),t.flush()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),t.flush()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),t.flush()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),t.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),t.flush()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),t.flush()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),t.flush()}get activeindex(){return this.$$.ctx[1]}set activeindex(e){this.$$set({activeindex:e}),t.flush()}get showsubgroups(){return this.$$.ctx[2]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get categoriesicon(){return this.$$.ctx[3]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[29]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[30]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}}t.create_custom_element(re,{endpoint:{},datasource:{},onclickeventname:{},actionevent:{},favoritesnumber:{},location:{},clientstyling:{},clientstylingurl:{},identity:{},translationurl:{},isprimarymenu:{type:"Boolean"},issecondarymenu:{type:"Boolean"},lang:{},activeindex:{},showsubgroups:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{}},[],[],!0);exports.default=re;
|
package/components/{PlayerAccountBalanceModal-Ck5Xpx4C.js → PlayerAccountBalanceModal-CwDfcNRi.js}
RENAMED
@@ -26,7 +26,7 @@ var tt = (o, e, t) => new Promise((r, c) => {
|
|
26
26
|
}, f = (m) => m.done ? r(m.value) : Promise.resolve(m.value).then(u, g);
|
27
27
|
f((t = t.apply(o, e)).next());
|
28
28
|
});
|
29
|
-
import { b as wt, $ as bt, L as
|
29
|
+
import { b as wt, $ as bt, L as Bt, S as Ct, i as Tt, f as Y, c as St, s as _t, d as At, g as N, e as oe, u as V, j as fe, v as R, n as qe, k as pe, l as Rt, o as Et, w as Ve, p as xt, t as ue, B as Dt, x as de, r as je, y as ut, z as Lt, D as Mt } from "./CasinoHamburgerMenu-1MgwMavL.js";
|
30
30
|
function nt(o, e) {
|
31
31
|
wt(o, e);
|
32
32
|
}
|
@@ -220,6 +220,17 @@ const at = {
|
|
220
220
|
Sports: "Deportes",
|
221
221
|
DepositButton: "Depósito",
|
222
222
|
Loading: "Cargando ..."
|
223
|
+
},
|
224
|
+
"en-us": {
|
225
|
+
Title: "Your Balance",
|
226
|
+
Total: "Total Balance",
|
227
|
+
Real: "Cash Balance",
|
228
|
+
Bonus: "Bonus Balance",
|
229
|
+
Credit: "Credit Balance",
|
230
|
+
Casino: "Casino",
|
231
|
+
Sports: "Sports",
|
232
|
+
DepositButton: "Deposit",
|
233
|
+
Loading: "Loading ..."
|
223
234
|
}
|
224
235
|
};
|
225
236
|
var We = { exports: {} };
|
@@ -230,7 +241,7 @@ var We = { exports: {} };
|
|
230
241
|
*/
|
231
242
|
(function(o, e) {
|
232
243
|
(function(t) {
|
233
|
-
var r = t.setTimeout, c = t.clearTimeout, u = t.XMLHttpRequest, g = t.XDomainRequest, f = t.ActiveXObject, m = t.EventSource, y = t.document, x = t.Promise, F = t.fetch,
|
244
|
+
var r = t.setTimeout, c = t.clearTimeout, u = t.XMLHttpRequest, g = t.XDomainRequest, f = t.ActiveXObject, m = t.EventSource, y = t.document, x = t.Promise, F = t.fetch, B = t.Response, C = t.TextDecoder, _ = t.TextEncoder, U = t.AbortController;
|
234
245
|
if (typeof window != "undefined" && typeof y != "undefined" && !("readyState" in y) && y.body == null && (y.readyState = "loading", window.addEventListener("load", function(n) {
|
235
246
|
y.readyState = "complete";
|
236
247
|
}, !1)), u == null && f != null && (u = function() {
|
@@ -304,16 +315,16 @@ var We = { exports: {} };
|
|
304
315
|
return !1;
|
305
316
|
};
|
306
317
|
(C == null || _ == null || !P()) && (C = H);
|
307
|
-
var
|
318
|
+
var T = function() {
|
308
319
|
};
|
309
320
|
function A(n) {
|
310
|
-
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress =
|
321
|
+
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = T, this.onload = T, this.onerror = T, this.onreadystatechange = T, this._contentType = "", this._xhr = n, this._sendTimeout = 0, this._abort = T;
|
311
322
|
}
|
312
323
|
A.prototype.open = function(n, a) {
|
313
324
|
this._abort(!0);
|
314
325
|
var l = this, i = this._xhr, s = 1, h = 0;
|
315
326
|
this._abort = function(v) {
|
316
|
-
l._sendTimeout !== 0 && (c(l._sendTimeout), l._sendTimeout = 0), (s === 1 || s === 2 || s === 3) && (s = 4, i.onload =
|
327
|
+
l._sendTimeout !== 0 && (c(l._sendTimeout), l._sendTimeout = 0), (s === 1 || s === 2 || s === 3) && (s = 4, i.onload = T, i.onerror = T, i.onabort = T, i.onprogress = T, i.onreadystatechange = T, i.abort(), h !== 0 && (c(h), h = 0), v || (l.readyState = 4, l.onabort(null), l.onreadystatechange())), s = 0;
|
317
328
|
};
|
318
329
|
var w = function() {
|
319
330
|
if (s === 1) {
|
@@ -340,7 +351,7 @@ var We = { exports: {} };
|
|
340
351
|
}
|
341
352
|
}, S = function(v, O) {
|
342
353
|
if ((O == null || O.preventDefault == null) && (O = {
|
343
|
-
preventDefault:
|
354
|
+
preventDefault: T
|
344
355
|
}), k(), s === 1 || s === 2 || s === 3) {
|
345
356
|
if (s = 4, h !== 0 && (c(h), h = 0), l.readyState = 4, v === "load")
|
346
357
|
l.onload(O);
|
@@ -540,16 +551,16 @@ var We = { exports: {} };
|
|
540
551
|
ge(i);
|
541
552
|
}
|
542
553
|
};
|
543
|
-
function
|
554
|
+
function J(n, a) {
|
544
555
|
p.call(this), a = a || {}, 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, d(this, n, a);
|
545
556
|
}
|
546
557
|
function Pe() {
|
547
558
|
return u != null && "withCredentials" in u.prototype || g == null ? new u() : new g();
|
548
559
|
}
|
549
|
-
var Ge = F != null &&
|
560
|
+
var Ge = F != null && B != null && "body" in B.prototype;
|
550
561
|
function d(n, a, l) {
|
551
562
|
a = String(a);
|
552
|
-
var i = !!l.withCredentials, s = l.lastEventIdQueryParameterName || "lastEventId", h = De(1e3), w = xe(l.heartbeatTimeout, 45e3), k = "", S = h, E = !1, L = 0, v = l.headers || {}, O = l.Transport, ie = Ge && O == null ? void 0 : new A(O != null ? new O() : Pe()), Le = O != null && typeof O != "string" ? new O() : ie == null ? new me() : new W(), Q = void 0, X = 0, ne = Ae, Ce = "", Oe = "", se = "", Ne = "", K = te, Xe = 0,
|
563
|
+
var i = !!l.withCredentials, s = l.lastEventIdQueryParameterName || "lastEventId", h = De(1e3), w = xe(l.heartbeatTimeout, 45e3), k = "", S = h, E = !1, L = 0, v = l.headers || {}, O = l.Transport, ie = Ge && O == null ? void 0 : new A(O != null ? new O() : Pe()), Le = O != null && typeof O != "string" ? new O() : ie == null ? new me() : new W(), Q = void 0, X = 0, ne = Ae, Ce = "", Oe = "", se = "", Ne = "", K = te, Xe = 0, Be = 0, ft = function(j, I, Z, $) {
|
553
564
|
if (ne === ee)
|
554
565
|
if (j === 200 && Z != null && ze.test(Z)) {
|
555
566
|
ne = re, E = Date.now(), S = h, n.readyState = re;
|
@@ -583,8 +594,8 @@ var We = { exports: {} };
|
|
583
594
|
K = te;
|
584
595
|
else if (K === be && (K = te), $ === 13 || $ === 10) {
|
585
596
|
if (K !== te) {
|
586
|
-
K === Re && (
|
587
|
-
var le = q.slice(Xe,
|
597
|
+
K === Re && (Be = z + 1);
|
598
|
+
var le = q.slice(Xe, Be - 1), ce = q.slice(Be + (Be < z && q.charCodeAt(Be) === 32 ? 1 : 0), z);
|
588
599
|
le === "data" ? (Ce += `
|
589
600
|
`, Ce += ce) : le === "id" ? Oe = ce : le === "event" ? se = ce : le === "retry" ? (h = xe(ce, h), S = h) : le === "heartbeatTimeout" && (w = xe(ce, w), X !== 0 && (c(X), X = r(function() {
|
590
601
|
Me();
|
@@ -593,21 +604,21 @@ var We = { exports: {} };
|
|
593
604
|
if (K === te) {
|
594
605
|
if (Ce !== "") {
|
595
606
|
k = Oe, se === "" && (se = "message");
|
596
|
-
var
|
607
|
+
var Te = new Se(se, {
|
597
608
|
data: Ce.slice(1),
|
598
609
|
lastEventId: Oe
|
599
610
|
});
|
600
|
-
if (n.dispatchEvent(
|
611
|
+
if (n.dispatchEvent(Te), se === "open" ? ve(n, n.onopen, Te) : se === "message" ? ve(n, n.onmessage, Te) : se === "error" && ve(n, n.onerror, Te), ne === we)
|
601
612
|
return;
|
602
613
|
}
|
603
614
|
Ce = "", se = "";
|
604
615
|
}
|
605
616
|
K = $ === 13 ? be : te;
|
606
617
|
} else
|
607
|
-
K === te && (Xe = z, K = Re), K === Re ? $ === 58 && (
|
618
|
+
K === te && (Xe = z, K = Re), K === Re ? $ === 58 && (Be = z + 1, K = Ee) : K === Ee && (K = He);
|
608
619
|
}
|
609
620
|
}
|
610
|
-
},
|
621
|
+
}, Je = function(j) {
|
611
622
|
if (ne === re || ne === ee) {
|
612
623
|
ne = Ae, X !== 0 && (c(X), X = 0), X = r(function() {
|
613
624
|
Me();
|
@@ -620,7 +631,7 @@ var We = { exports: {} };
|
|
620
631
|
}, Me = function() {
|
621
632
|
if (X = 0, ne !== Ae) {
|
622
633
|
if (!E && Q != null)
|
623
|
-
|
634
|
+
Je(new Error("No activity within " + w + " milliseconds. " + (ne === ee ? "No response received." : L + " chars received.") + " Reconnecting.")), Q != null && (Q.abort(), Q = void 0);
|
624
635
|
else {
|
625
636
|
var j = Math.max((E || Date.now()) + w - Date.now(), 1);
|
626
637
|
E = !1, X = r(function() {
|
@@ -631,12 +642,12 @@ var We = { exports: {} };
|
|
631
642
|
}
|
632
643
|
E = !1, L = 0, X = r(function() {
|
633
644
|
Me();
|
634
|
-
}, w), ne = ee, Ce = "", se = "", Oe = k, Ne = "", Xe = 0,
|
645
|
+
}, w), ne = ee, Ce = "", se = "", Oe = k, Ne = "", Xe = 0, Be = 0, K = te;
|
635
646
|
var I = a;
|
636
647
|
if (a.slice(0, 5) !== "data:" && a.slice(0, 5) !== "blob:" && k !== "") {
|
637
648
|
var Z = a.indexOf("?");
|
638
|
-
I = Z === -1 ? a : a.slice(0, Z + 1) + a.slice(Z + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(ce,
|
639
|
-
return
|
649
|
+
I = Z === -1 ? a : a.slice(0, Z + 1) + a.slice(Z + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(ce, Te) {
|
650
|
+
return Te === s ? "" : ce;
|
640
651
|
}), I += (a.indexOf("?") === -1 ? "?" : "&") + s + "=" + encodeURIComponent(k);
|
641
652
|
}
|
642
653
|
var $ = n.withCredentials, q = {};
|
@@ -646,26 +657,26 @@ var We = { exports: {} };
|
|
646
657
|
for (var le in z)
|
647
658
|
Object.prototype.hasOwnProperty.call(z, le) && (q[le] = z[le]);
|
648
659
|
try {
|
649
|
-
Q = Le.open(ie, ft, pt,
|
660
|
+
Q = Le.open(ie, ft, pt, Je, I, $, q);
|
650
661
|
} catch (ce) {
|
651
662
|
throw Ke(), ce;
|
652
663
|
}
|
653
664
|
};
|
654
665
|
n.url = a, n.readyState = ee, n.withCredentials = i, n.headers = v, n._close = Ke, Me();
|
655
666
|
}
|
656
|
-
|
667
|
+
J.prototype = Object.create(p.prototype), J.prototype.CONNECTING = ee, J.prototype.OPEN = re, J.prototype.CLOSED = we, J.prototype.close = function() {
|
657
668
|
this._close();
|
658
|
-
},
|
669
|
+
}, J.CONNECTING = ee, J.OPEN = re, J.CLOSED = we, J.prototype.withCredentials = void 0;
|
659
670
|
var b = m;
|
660
|
-
u != null && (m == null || !("withCredentials" in m.prototype)) && (b =
|
671
|
+
u != null && (m == null || !("withCredentials" in m.prototype)) && (b = J), function(n) {
|
661
672
|
{
|
662
673
|
var a = n(e);
|
663
674
|
a !== void 0 && (o.exports = a);
|
664
675
|
}
|
665
676
|
}(function(n) {
|
666
|
-
n.EventSourcePolyfill =
|
677
|
+
n.EventSourcePolyfill = J, n.NativeEventSource = m, n.EventSource = b;
|
667
678
|
});
|
668
|
-
})(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self :
|
679
|
+
})(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : Bt : globalThis);
|
669
680
|
})(We, We.exports);
|
670
681
|
var kt = We.exports;
|
671
682
|
/*!
|
@@ -687,7 +698,7 @@ var Ot = {
|
|
687
698
|
fromCents: !1
|
688
699
|
}, dt = function(e) {
|
689
700
|
return Math.round(e);
|
690
|
-
},
|
701
|
+
}, Ye = function(e) {
|
691
702
|
return Math.pow(10, e);
|
692
703
|
}, Nt = function(e, t) {
|
693
704
|
return dt(e / t) * t;
|
@@ -696,18 +707,18 @@ function ae(o, e) {
|
|
696
707
|
var t = this;
|
697
708
|
if (!(t instanceof ae))
|
698
709
|
return new ae(o, e);
|
699
|
-
var r = Object.assign({}, Ot, e), c =
|
710
|
+
var r = Object.assign({}, Ot, e), c = Ye(r.precision), u = Ie(o, r);
|
700
711
|
t.intValue = u, t.value = u / c, r.increment = r.increment || 1 / c, r.useVedic ? r.groups = Vt : r.groups = It, this.s = r, this.p = c;
|
701
712
|
}
|
702
713
|
function Ie(o, e) {
|
703
|
-
var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, r = 0, c = e.decimal, u = e.errorOnInvalid, g = e.precision, f = e.fromCents, m =
|
714
|
+
var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, r = 0, c = e.decimal, u = e.errorOnInvalid, g = e.precision, f = e.fromCents, m = Ye(g), y = typeof o == "number", x = o instanceof ae;
|
704
715
|
if (x && f)
|
705
716
|
return o.intValue;
|
706
717
|
if (y || x)
|
707
718
|
r = x ? o.value : o;
|
708
719
|
else if (typeof o == "string") {
|
709
|
-
var F = new RegExp("[^-\\d" + c + "]", "g"),
|
710
|
-
r = o.replace(/\((.*)\)/, "-$1").replace(F, "").replace(
|
720
|
+
var F = new RegExp("[^-\\d" + c + "]", "g"), B = new RegExp("\\" + c, "g");
|
721
|
+
r = o.replace(/\((.*)\)/, "-$1").replace(F, "").replace(B, "."), r = r || 0;
|
711
722
|
} else {
|
712
723
|
if (u)
|
713
724
|
throw Error("Invalid Input");
|
@@ -745,7 +756,7 @@ ae.prototype = {
|
|
745
756
|
*/
|
746
757
|
multiply: function(e) {
|
747
758
|
var t = this.intValue, r = this.s;
|
748
|
-
return ae((t *= e) / (r.fromCents ? 1 :
|
759
|
+
return ae((t *= e) / (r.fromCents ? 1 : Ye(r.precision)), r);
|
749
760
|
},
|
750
761
|
/**
|
751
762
|
* Divides value.
|
@@ -830,7 +841,7 @@ function zt(o) {
|
|
830
841
|
o[4].Total[0].amount
|
831
842
|
)
|
832
843
|
) : "0") + ""
|
833
|
-
), r, c, u, g, f, m, y, x, F,
|
844
|
+
), r, c, u, g, f, m, y, x, F, B = (
|
834
845
|
/*showBalance*/
|
835
846
|
o[2] && it(o)
|
836
847
|
);
|
@@ -839,10 +850,10 @@ function zt(o) {
|
|
839
850
|
e = N("p"), r = ue(t), c = oe(), u = ue(
|
840
851
|
/*currency*/
|
841
852
|
o[3]
|
842
|
-
), g = oe(), f = N("span"), f.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>', m = oe(),
|
853
|
+
), g = oe(), f = N("span"), f.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>', m = oe(), B && B.c(), y = Dt(), V(e, "class", "BalanceValue"), V(e, "part", "BalanceValue");
|
843
854
|
},
|
844
855
|
m(C, _) {
|
845
|
-
fe(C, e, _), R(e, r), R(e, c), R(e, u), R(e, g), R(e, f), fe(C, m, _),
|
856
|
+
fe(C, e, _), R(e, r), R(e, c), R(e, u), R(e, g), R(e, f), fe(C, m, _), B && B.m(C, _), fe(C, y, _), x || (F = Ve(
|
846
857
|
e,
|
847
858
|
"click",
|
848
859
|
/*click_handler*/
|
@@ -864,10 +875,10 @@ function zt(o) {
|
|
864
875
|
/*currency*/
|
865
876
|
C[3]
|
866
877
|
), /*showBalance*/
|
867
|
-
C[2] ?
|
878
|
+
C[2] ? B ? B.p(C, _) : (B = it(C), B.c(), B.m(y.parentNode, y)) : B && (B.d(1), B = null);
|
868
879
|
},
|
869
880
|
d(C) {
|
870
|
-
C && (pe(e), pe(m), pe(y)),
|
881
|
+
C && (pe(e), pe(m), pe(y)), B && B.d(C), x = !1, F();
|
871
882
|
}
|
872
883
|
};
|
873
884
|
}
|
@@ -897,27 +908,27 @@ function it(o) {
|
|
897
908
|
let e, t, r, c, u, g, f = (
|
898
909
|
/*$_*/
|
899
910
|
o[5]("Title") + ""
|
900
|
-
), m, y, x, F,
|
911
|
+
), m, y, x, F, B, C, _ = (
|
901
912
|
/*$_*/
|
902
913
|
o[5]("DepositButton") + ""
|
903
914
|
), U, M, H, P = je(Object.keys(
|
904
915
|
/*balances*/
|
905
916
|
o[4]
|
906
|
-
)),
|
917
|
+
)), T = [];
|
907
918
|
for (let A = 0; A < P.length; A += 1)
|
908
|
-
|
919
|
+
T[A] = lt(ot(o, P, A));
|
909
920
|
return {
|
910
921
|
c() {
|
911
922
|
e = N("div"), t = N("div"), r = oe(), c = N("div"), u = N("div"), g = N("p"), m = ue(f), y = oe(), x = N("div");
|
912
|
-
for (let A = 0; A <
|
913
|
-
|
914
|
-
F = oe(),
|
923
|
+
for (let A = 0; A < T.length; A += 1)
|
924
|
+
T[A].c();
|
925
|
+
F = oe(), B = N("div"), C = N("button"), U = ue(_), V(t, "class", "BalanceModalClose"), V(g, "class", "BalanceModalTitle"), V(u, "class", "BalanceModalHeader"), V(x, "class", "BalanceModalBody"), V(C, "class", "BalanceModalAction"), V(B, "class", "BalanceModalFooter"), V(c, "class", "BalanceModal"), V(e, "class", "BalanceModalWrapper");
|
915
926
|
},
|
916
927
|
m(A, G) {
|
917
928
|
fe(A, e, G), R(e, t), R(e, r), R(e, c), R(c, u), R(u, g), R(g, m), R(c, y), R(c, x);
|
918
|
-
for (let D = 0; D <
|
919
|
-
|
920
|
-
R(c, F), R(c,
|
929
|
+
for (let D = 0; D < T.length; D += 1)
|
930
|
+
T[D] && T[D].m(x, null);
|
931
|
+
R(c, F), R(c, B), R(B, C), R(C, U), M || (H = [
|
921
932
|
Ve(
|
922
933
|
t,
|
923
934
|
"click",
|
@@ -944,18 +955,18 @@ function it(o) {
|
|
944
955
|
let D;
|
945
956
|
for (D = 0; D < P.length; D += 1) {
|
946
957
|
const W = ot(A, P, D);
|
947
|
-
|
958
|
+
T[D] ? T[D].p(W, G) : (T[D] = lt(W), T[D].c(), T[D].m(x, null));
|
948
959
|
}
|
949
|
-
for (; D <
|
950
|
-
|
951
|
-
|
960
|
+
for (; D < T.length; D += 1)
|
961
|
+
T[D].d(1);
|
962
|
+
T.length = P.length;
|
952
963
|
}
|
953
964
|
G[0] & /*$_*/
|
954
965
|
32 && _ !== (_ = /*$_*/
|
955
966
|
A[5]("DepositButton") + "") && de(U, _);
|
956
967
|
},
|
957
968
|
d(A) {
|
958
|
-
A && pe(e), ut(
|
969
|
+
A && pe(e), ut(T, A), M = !1, Lt(H);
|
959
970
|
}
|
960
971
|
};
|
961
972
|
}
|
@@ -984,16 +995,16 @@ function st(o) {
|
|
984
995
|
o[50].amount
|
985
996
|
)
|
986
997
|
) : "0") + ""
|
987
|
-
),
|
998
|
+
), B, C, _, U;
|
988
999
|
return {
|
989
1000
|
c() {
|
990
|
-
e = N("div"), t = N("p"), c = ue(r), u = oe(), f = ue(g), m = oe(), y = N("p"), x = N("span"),
|
1001
|
+
e = N("div"), t = N("p"), c = ue(r), u = oe(), f = ue(g), m = oe(), y = N("p"), x = N("span"), B = ue(F), C = oe(), _ = N("span"), U = ue(
|
991
1002
|
/*currency*/
|
992
1003
|
o[3]
|
993
1004
|
), V(t, "class", "BalanceModalText"), V(x, "class", "BalanceModalAmount"), V(_, "class", "BalanceModalCurrency"), V(y, "class", "BalanceModalValue"), V(e, "class", "BalanceModalRowLine");
|
994
1005
|
},
|
995
1006
|
m(M, H) {
|
996
|
-
fe(M, e, H), R(e, t), R(t, c), R(t, u), R(t, f), R(e, m), R(e, y), R(y, x), R(x,
|
1007
|
+
fe(M, e, H), R(e, t), R(t, c), R(t, u), R(t, f), R(e, m), R(e, y), R(y, x), R(x, B), R(y, C), R(y, _), R(_, U);
|
997
1008
|
},
|
998
1009
|
p(M, H) {
|
999
1010
|
H[0] & /*$_, balances*/
|
@@ -1017,7 +1028,7 @@ function st(o) {
|
|
1017
1028
|
/*b*/
|
1018
1029
|
M[50].amount
|
1019
1030
|
)
|
1020
|
-
) : "0") + "") && de(
|
1031
|
+
) : "0") + "") && de(B, F), H[0] & /*currency*/
|
1021
1032
|
8 && de(
|
1022
1033
|
U,
|
1023
1034
|
/*currency*/
|
@@ -1130,7 +1141,7 @@ function Pt(o) {
|
|
1130
1141
|
function Gt(o, e, t) {
|
1131
1142
|
let r;
|
1132
1143
|
Rt(o, Mt, (d) => t(5, r = d));
|
1133
|
-
let { userid: c = "" } = e, { session: u = "" } = e, { endpoint: g = "" } = e, { lang: f = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: y = "" } = e, { translationurl: x = "" } = e, { customlocaleidentifier: F = "" } = e, { gmversion:
|
1144
|
+
let { userid: c = "" } = e, { session: u = "" } = e, { endpoint: g = "" } = e, { lang: f = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: y = "" } = e, { translationurl: x = "" } = e, { customlocaleidentifier: F = "" } = e, { gmversion: B = "gm16" } = e, { displaybalanceoption: C = "All" } = e, { totalcalculationmode: _ = "totalCashAmount" } = e, { currencyseparator: U = "" } = e, { currencydecimal: M = "" } = e, { currencyprecision: H = "" } = e, P, T, A, G = !1, D = "", W = [], he, me = !1;
|
1134
1145
|
const p = {}, ge = ["totalCashAmount", "totalRealAmount"], ye = () => {
|
1135
1146
|
fetch(x).then((d) => d.json()).then((d) => Object.keys(d).forEach((b) => nt(b, d[b]))).catch((d) => console.log(d));
|
1136
1147
|
};
|
@@ -1250,7 +1261,7 @@ function Gt(o, e, t) {
|
|
1250
1261
|
}, ee = () => {
|
1251
1262
|
if (A && A.close(), u.length < 1) return;
|
1252
1263
|
let d, b;
|
1253
|
-
switch (
|
1264
|
+
switch (B) {
|
1254
1265
|
case "gm16":
|
1255
1266
|
d = new URL(`${g}/v2/player/${c}/information/updates`), b = (l) => Re(l);
|
1256
1267
|
break;
|
@@ -1337,7 +1348,7 @@ function Gt(o, e, t) {
|
|
1337
1348
|
}, He = () => {
|
1338
1349
|
ge.includes(_) || (console.error(`Unsupported value ('${_}') for totalcalculationmode parameter. Only the following values are supported ${ge}. Using default value ('${ge[0]}').`), t(8, _ = ge[0]));
|
1339
1350
|
}, ze = () => {
|
1340
|
-
switch (Ft(f), He(),
|
1351
|
+
switch (Ft(f), He(), B) {
|
1341
1352
|
case "gmcore":
|
1342
1353
|
Fe();
|
1343
1354
|
break;
|
@@ -1345,17 +1356,17 @@ function Gt(o, e, t) {
|
|
1345
1356
|
Ae();
|
1346
1357
|
break;
|
1347
1358
|
default:
|
1348
|
-
throw Error(`Invalid apiversion attribute: ${
|
1359
|
+
throw Error(`Invalid apiversion attribute: ${B}`);
|
1349
1360
|
}
|
1350
1361
|
}, ke = (d) => d.data && d.data.type === "LogoutSuccessfull" && A.close(), Ue = () => {
|
1351
1362
|
const d = document.createElement("style");
|
1352
|
-
d.innerHTML = m,
|
1363
|
+
d.innerHTML = m, T.appendChild(d);
|
1353
1364
|
}, xe = () => {
|
1354
1365
|
const d = new URL(y), b = document.createElement("style");
|
1355
1366
|
fetch(d.href).then((n) => n.text()).then((n) => {
|
1356
1367
|
b.innerHTML = n, setTimeout(
|
1357
1368
|
() => {
|
1358
|
-
|
1369
|
+
T.appendChild(b);
|
1359
1370
|
},
|
1360
1371
|
1
|
1361
1372
|
);
|
@@ -1364,24 +1375,24 @@ function Gt(o, e, t) {
|
|
1364
1375
|
Et(() => (window.addEventListener("message", ke, !1), () => {
|
1365
1376
|
window.removeEventListener("message", ke), A && A.close();
|
1366
1377
|
}));
|
1367
|
-
const De = () => t(2, G = !0), ve = () => t(2, G = !1),
|
1378
|
+
const De = () => t(2, G = !0), ve = () => t(2, G = !1), J = () => Ee(), Pe = () => t(2, G = !1);
|
1368
1379
|
function Ge(d) {
|
1369
1380
|
xt[d ? "unshift" : "push"](() => {
|
1370
|
-
|
1381
|
+
T = d, t(0, T);
|
1371
1382
|
});
|
1372
1383
|
}
|
1373
1384
|
return o.$$set = (d) => {
|
1374
|
-
"userid" in d && t(9, c = d.userid), "session" in d && t(10, u = d.session), "endpoint" in d && t(11, g = d.endpoint), "lang" in d && t(12, f = d.lang), "clientstyling" in d && t(13, m = d.clientstyling), "clientstylingurl" in d && t(14, y = d.clientstylingurl), "translationurl" in d && t(15, x = d.translationurl), "customlocaleidentifier" in d && t(16, F = d.customlocaleidentifier), "gmversion" in d && t(17,
|
1385
|
+
"userid" in d && t(9, c = d.userid), "session" in d && t(10, u = d.session), "endpoint" in d && t(11, g = d.endpoint), "lang" in d && t(12, f = d.lang), "clientstyling" in d && t(13, m = d.clientstyling), "clientstylingurl" in d && t(14, y = d.clientstylingurl), "translationurl" in d && t(15, x = d.translationurl), "customlocaleidentifier" in d && t(16, F = d.customlocaleidentifier), "gmversion" in d && t(17, B = d.gmversion), "displaybalanceoption" in d && t(18, C = d.displaybalanceoption), "totalcalculationmode" in d && t(8, _ = d.totalcalculationmode), "currencyseparator" in d && t(19, U = d.currencyseparator), "currencydecimal" in d && t(20, M = d.currencydecimal), "currencyprecision" in d && t(21, H = d.currencyprecision);
|
1375
1386
|
}, o.$$.update = () => {
|
1376
1387
|
o.$$.dirty[0] & /*lang*/
|
1377
1388
|
4096 && f && Se(), o.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
|
1378
|
-
400896 && g && c && u && f &&
|
1379
|
-
134656 && g && c && u &&
|
1380
|
-
8193 && m &&
|
1381
|
-
16385 && y &&
|
1389
|
+
400896 && g && c && u && f && B && C && ze(), o.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
|
1390
|
+
134656 && g && c && u && B && ee(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
1391
|
+
8193 && m && T && Ue(), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
1392
|
+
16385 && y && T && xe(), o.$$.dirty[0] & /*translationurl*/
|
1382
1393
|
32768 && x && ye();
|
1383
1394
|
}, [
|
1384
|
-
|
1395
|
+
T,
|
1385
1396
|
P,
|
1386
1397
|
G,
|
1387
1398
|
D,
|
@@ -1398,21 +1409,21 @@ function Gt(o, e, t) {
|
|
1398
1409
|
y,
|
1399
1410
|
x,
|
1400
1411
|
F,
|
1401
|
-
|
1412
|
+
B,
|
1402
1413
|
C,
|
1403
1414
|
U,
|
1404
1415
|
M,
|
1405
1416
|
H,
|
1406
1417
|
De,
|
1407
1418
|
ve,
|
1408
|
-
|
1419
|
+
J,
|
1409
1420
|
Pe,
|
1410
1421
|
Ge
|
1411
1422
|
];
|
1412
1423
|
}
|
1413
1424
|
class Xt extends Ct {
|
1414
1425
|
constructor(e) {
|
1415
|
-
super(),
|
1426
|
+
super(), Tt(
|
1416
1427
|
this,
|
1417
1428
|
e,
|
1418
1429
|
Gt,
|
@@ -1442,85 +1453,85 @@ class Xt extends Ct {
|
|
1442
1453
|
return this.$$.ctx[9];
|
1443
1454
|
}
|
1444
1455
|
set userid(e) {
|
1445
|
-
this.$$set({ userid: e }),
|
1456
|
+
this.$$set({ userid: e }), Y();
|
1446
1457
|
}
|
1447
1458
|
get session() {
|
1448
1459
|
return this.$$.ctx[10];
|
1449
1460
|
}
|
1450
1461
|
set session(e) {
|
1451
|
-
this.$$set({ session: e }),
|
1462
|
+
this.$$set({ session: e }), Y();
|
1452
1463
|
}
|
1453
1464
|
get endpoint() {
|
1454
1465
|
return this.$$.ctx[11];
|
1455
1466
|
}
|
1456
1467
|
set endpoint(e) {
|
1457
|
-
this.$$set({ endpoint: e }),
|
1468
|
+
this.$$set({ endpoint: e }), Y();
|
1458
1469
|
}
|
1459
1470
|
get lang() {
|
1460
1471
|
return this.$$.ctx[12];
|
1461
1472
|
}
|
1462
1473
|
set lang(e) {
|
1463
|
-
this.$$set({ lang: e }),
|
1474
|
+
this.$$set({ lang: e }), Y();
|
1464
1475
|
}
|
1465
1476
|
get clientstyling() {
|
1466
1477
|
return this.$$.ctx[13];
|
1467
1478
|
}
|
1468
1479
|
set clientstyling(e) {
|
1469
|
-
this.$$set({ clientstyling: e }),
|
1480
|
+
this.$$set({ clientstyling: e }), Y();
|
1470
1481
|
}
|
1471
1482
|
get clientstylingurl() {
|
1472
1483
|
return this.$$.ctx[14];
|
1473
1484
|
}
|
1474
1485
|
set clientstylingurl(e) {
|
1475
|
-
this.$$set({ clientstylingurl: e }),
|
1486
|
+
this.$$set({ clientstylingurl: e }), Y();
|
1476
1487
|
}
|
1477
1488
|
get translationurl() {
|
1478
1489
|
return this.$$.ctx[15];
|
1479
1490
|
}
|
1480
1491
|
set translationurl(e) {
|
1481
|
-
this.$$set({ translationurl: e }),
|
1492
|
+
this.$$set({ translationurl: e }), Y();
|
1482
1493
|
}
|
1483
1494
|
get customlocaleidentifier() {
|
1484
1495
|
return this.$$.ctx[16];
|
1485
1496
|
}
|
1486
1497
|
set customlocaleidentifier(e) {
|
1487
|
-
this.$$set({ customlocaleidentifier: e }),
|
1498
|
+
this.$$set({ customlocaleidentifier: e }), Y();
|
1488
1499
|
}
|
1489
1500
|
get gmversion() {
|
1490
1501
|
return this.$$.ctx[17];
|
1491
1502
|
}
|
1492
1503
|
set gmversion(e) {
|
1493
|
-
this.$$set({ gmversion: e }),
|
1504
|
+
this.$$set({ gmversion: e }), Y();
|
1494
1505
|
}
|
1495
1506
|
get displaybalanceoption() {
|
1496
1507
|
return this.$$.ctx[18];
|
1497
1508
|
}
|
1498
1509
|
set displaybalanceoption(e) {
|
1499
|
-
this.$$set({ displaybalanceoption: e }),
|
1510
|
+
this.$$set({ displaybalanceoption: e }), Y();
|
1500
1511
|
}
|
1501
1512
|
get totalcalculationmode() {
|
1502
1513
|
return this.$$.ctx[8];
|
1503
1514
|
}
|
1504
1515
|
set totalcalculationmode(e) {
|
1505
|
-
this.$$set({ totalcalculationmode: e }),
|
1516
|
+
this.$$set({ totalcalculationmode: e }), Y();
|
1506
1517
|
}
|
1507
1518
|
get currencyseparator() {
|
1508
1519
|
return this.$$.ctx[19];
|
1509
1520
|
}
|
1510
1521
|
set currencyseparator(e) {
|
1511
|
-
this.$$set({ currencyseparator: e }),
|
1522
|
+
this.$$set({ currencyseparator: e }), Y();
|
1512
1523
|
}
|
1513
1524
|
get currencydecimal() {
|
1514
1525
|
return this.$$.ctx[20];
|
1515
1526
|
}
|
1516
1527
|
set currencydecimal(e) {
|
1517
|
-
this.$$set({ currencydecimal: e }),
|
1528
|
+
this.$$set({ currencydecimal: e }), Y();
|
1518
1529
|
}
|
1519
1530
|
get currencyprecision() {
|
1520
1531
|
return this.$$.ctx[21];
|
1521
1532
|
}
|
1522
1533
|
set currencyprecision(e) {
|
1523
|
-
this.$$set({ currencyprecision: e }),
|
1534
|
+
this.$$set({ currencyprecision: e }), Y();
|
1524
1535
|
}
|
1525
1536
|
}
|
1526
1537
|
St(Xt, { userid: {}, session: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);
|