@everymatrix/casino-lobby 1.47.1 → 1.47.3
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/{CasinoCategoriesSlider-C0zvzKUl.cjs → CasinoCategoriesSlider-bjuRGQVb.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-BusDUIsJ.js → CasinoCategoriesSlider-zaQfM9aV.js} +1 -1
- package/components/{CasinoLobby-DQp8R35R.cjs → CasinoLobby-ClbT1s_p.cjs} +1 -1
- package/components/{CasinoLobby-fdlZEYrv.js → CasinoLobby-D_ykz_g6.js} +2 -2
- package/components/{CasinoPage-dHpPzlUR.js → CasinoPage-6L1WKOYd.js} +1 -1
- package/components/{CasinoPage-1snYAINT.cjs → CasinoPage-DqINO6SW.cjs} +1 -1
- package/components/CasinoRandomGame-DLcF2u3L.js +661 -0
- package/components/CasinoRandomGame-Dw5KkOWz.cjs +2 -0
- package/components/{CasinoSlider-reGFKOnL.js → CasinoSlider-B1E3wbGI.js} +86 -88
- package/components/{CasinoSlider-DU8y1oGD.cjs → CasinoSlider-BMDqluc_.cjs} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/components/CasinoRandomGame-C2aJSdJJ.js +0 -641
- package/components/CasinoRandomGame-DAhFi06u.cjs +0 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var S=(n,t,a)=>new Promise((o,i)=>{var s=p=>{try{f(a.next(p))}catch(g){i(g)}},m=p=>{try{f(a.throw(p))}catch(g){i(g)}},f=p=>p.done?o(p.value):Promise.resolve(p.value).then(s,m);f((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-B3jjGeXh.cjs");function le({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function z(n,t){e.addMessages(n,t)}function ie(n){e.$locale.set(n)}const B={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Oynamak için doğru oyunun adını yazın.",randomGameLoading:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",playNowRandomGame:"Son arama",noGames:"Yükleniyor, lütfen bekleyin"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"Nema nasumičnih igara za igranje"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"}};function re(n){e.append_styles(n,"svelte-16glv4x","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));border-radius:5px;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative}.RandomGamesSliderWrapper{overflow:hidden;height:170px}.GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}")}function I(n,t,a){const o=n.slice();return o[41]=t[a],o}const se=n=>({}),J=n=>({});function D(n){let t,a,o,i,s,m,f;const p=n[22].close,g=e.create_slot(p,n,n[21],J),l=g||de();function _(d,y){return d[7]?me:ce}let c=_(n),u=c(n);return{c(){t=e.element("div"),a=e.element("div"),o=e.element("span"),l&&l.c(),i=e.space(),u.c(),e.attr(o,"class","ModalCloseBtn"),e.attr(o,"role","button"),e.attr(a,"class","ModalContainer"),e.attr(t,"class","ModalWindow")},m(d,y){e.insert(d,t,y),e.append(t,a),e.append(a,o),l&&l.m(o,null),e.append(a,i),u.m(a,null),s=!0,m||(f=e.listen(o,"click",n[12]),m=!0)},p(d,y){g&&g.p&&(!s||y[0]&2097152)&&e.update_slot_base(g,p,d,d[21],s?e.get_slot_changes(p,d[21],y,se):e.get_all_dirty_from_scope(d[21]),J),c===(c=_(d))&&u?u.p(d,y):(u.d(1),u=c(d),u&&(u.c(),u.m(a,null)))},i(d){s||(e.transition_in(l,d),s=!0)},o(d){e.transition_out(l,d),s=!1},d(d){d&&e.detach(t),l&&l.d(d),u.d(),m=!1,f()}}}function de(n){let t,a;return{c(){t=e.svg_element("svg"),a=e.svg_element("path"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(a,"stroke-width","2"),e.attr(a,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,i){e.insert(o,t,i),e.append(t,a)},p:e.noop,d(o){o&&e.detach(t)}}}function ce(n){let t,a=n[9]("noGames")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(i,s){e.insert(i,t,s),e.append(t,o)},p(i,s){s[0]&512&&a!==(a=i[9]("noGames")+"")&&e.set_data(o,a)},d(i){i&&e.detach(t)}}}function me(n){let t,a,o,i,s=e.ensure_array_like(n[4]),m=[];for(let l=0;l<s.length;l+=1)m[l]=P(I(n,s,l));function f(l,_){return l[6]?pe:ue}let p=f(n),g=p(n);return{c(){t=e.element("div"),a=e.element("main"),o=e.element("div");for(let l=0;l<m.length;l+=1)m[l].c();i=e.space(),g.c(),e.attr(o,"class","GamesContainer"),e.attr(a,"class","RandomGamesSliderWrapper"),e.attr(t,"class","RandomGameWrapper")},m(l,_){e.insert(l,t,_),e.append(t,a),e.append(a,o);for(let c=0;c<m.length;c+=1)m[c]&&m[c].m(o,null);n[23](o),e.append(t,i),g.m(t,null)},p(l,_){if(_[0]&16){s=e.ensure_array_like(l[4]);let c;for(c=0;c<s.length;c+=1){const u=I(l,s,c);m[c]?m[c].p(u,_):(m[c]=P(u),m[c].c(),m[c].m(o,null))}for(;c<m.length;c+=1)m[c].d(1);m.length=s.length}p===(p=f(l))&&g?g.p(l,_):(g.d(1),g=p(l),g&&(g.c(),g.m(t,null)))},d(l){l&&e.detach(t),e.destroy_each(m,l),n[23](null),g.d()}}}function P(n){let t,a,o,i,s,m;return{c(){t=e.element("div"),a=e.element("img"),m=e.space(),e.attr(a,"class","RandomGameImage"),e.src_url_equal(a.src,o=n[41].thumbnail)||e.attr(a,"src",o),e.attr(a,"alt",i=n[41].name),e.attr(a,"title",s=n[41].name),e.attr(t,"class","item")},m(f,p){e.insert(f,t,p),e.append(t,a),e.append(t,m)},p(f,p){p[0]&16&&!e.src_url_equal(a.src,o=f[41].thumbnail)&&e.attr(a,"src",o),p[0]&16&&i!==(i=f[41].name)&&e.attr(a,"alt",i),p[0]&16&&s!==(s=f[41].name)&&e.attr(a,"title",s)},d(f){f&&e.detach(t)}}}function ue(n){let t,a=n[9]("randomGameLoading")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(i,s){e.insert(i,t,s),e.append(t,o)},p(i,s){s[0]&512&&a!==(a=i[9]("randomGameLoading")+"")&&e.set_data(o,a)},d(i){i&&e.detach(t)}}}function pe(n){let t,a,o,i,s=n[3].name+"",m,f,p,g=n[3].vendor.name+"",l,_,c,u=n[9]("playNowRandomGame")+"",d,y,R;return{c(){t=e.element("button"),t.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}
|
|
2
|
+
</style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`,a=e.space(),o=e.element("div"),i=e.element("p"),m=e.text(s),f=e.space(),p=e.element("p"),l=e.text(g),_=e.space(),c=e.element("button"),d=e.text(u),e.attr(t,"class","RandomTryAgain"),e.attr(i,"class","RandomGameTitle"),e.attr(p,"class","RandomGameVendor"),e.attr(c,"class","RandomGamePlay"),e.attr(o,"class","RandomGameDetails")},m(b,w){e.insert(b,t,w),e.insert(b,a,w),e.insert(b,o,w),e.append(o,i),e.append(i,m),e.append(o,f),e.append(o,p),e.append(p,l),e.append(o,_),e.append(o,c),e.append(c,d),y||(R=[e.listen(t,"click",n[24]),e.listen(c,"click",n[25])],y=!0)},p(b,w){w[0]&8&&s!==(s=b[3].name+"")&&e.set_data(m,s),w[0]&8&&g!==(g=b[3].vendor.name+"")&&e.set_data(l,g),w[0]&512&&u!==(u=b[9]("playNowRandomGame")+"")&&e.set_data(d,u)},d(b){b&&(e.detach(t),e.detach(a),e.detach(o)),y=!1,e.run_all(R)}}}function ge(n){let t,a=n[9]("playRandomGame")+"",o;return{c(){t=e.element("span"),o=e.text(a),e.attr(t,"class","RandomButtonText")},m(i,s){e.insert(i,t,s),e.append(t,o)},p(i,s){s[0]&512&&a!==(a=i[9]("playRandomGame")+"")&&e.set_data(o,a)},d(i){i&&e.detach(t)}}}function fe(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","RandomButtonText")},m(o,i){e.insert(o,t,i),e.append(t,a)},p(o,i){i[0]&2&&e.set_data(a,o[1])},d(o){o&&e.detach(t)}}}function he(n){let t,a,o,i,s,m,f,p,g,l=n[5]&&D(n);function _(d,y){if(d[1])return fe;if(!d[1])return ge}let c=_(n),u=c&&c(n);return{c(){t=e.element("div"),l&&l.c(),a=e.space(),o=e.element("div"),i=e.element("button"),u&&u.c(),s=e.space(),m=e.element("span"),e.attr(m,"class","RandomButtonIcon"),e.attr(i,"class","RandomButton"),e.attr(o,"class","RandomButtonWrapper"),e.attr(t,"part","CustomStylingContainer")},m(d,y){e.insert(d,t,y),l&&l.m(t,null),e.append(t,a),e.append(t,o),e.append(o,i),u&&u.m(i,null),e.append(i,s),e.append(i,m),m.innerHTML=n[0],n[27](t),f=!0,p||(g=e.listen(i,"click",n[26]),p=!0)},p(d,y){d[5]?l?(l.p(d,y),y[0]&32&&e.transition_in(l,1)):(l=D(d),l.c(),e.transition_in(l,1),l.m(t,a)):l&&(e.group_outros(),e.transition_out(l,1,1,()=>{l=null}),e.check_outros()),c===(c=_(d))&&u?u.p(d,y):(u&&u.d(1),u=c&&c(d),u&&(u.c(),u.m(i,s))),(!f||y[0]&1)&&(m.innerHTML=d[0])},i(d){f||(e.transition_in(l),f=!0)},o(d){e.transition_out(l),f=!1},d(d){d&&e.detach(t),l&&l.d(),u&&u.d(),n[27](null),p=!1,g()}}}function ye(n,t,a){let o;e.component_subscribe(n,e.$format,r=>a(9,o=r));let{$$slots:i={},$$scope:s}=t,{endpoint:m=""}=t,{datasource:f=""}=t,{gameevent:p=""}=t,{lang:g=""}=t,{randombuttonicon:l=""}=t,{buttontext:_=""}=t,{translationurl:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{filteredrandomgamecategories:y=""}=t,R=[],b="",w,k=!1,L=!1,C=!1,H=window.navigator.userAgent,x,v,j,F,W=null;le({withLocale:"en",translations:{}});const O=()=>{fetch(c).then(h=>h.json()).then(h=>{Object.keys(h).forEach(G=>{z(G,h[G])})}).catch(h=>{console.log(h)})};Object.keys(B).forEach(r=>{z(r,B[r])});const E=()=>{let r=new URL(`${m}/v1/casino/games`);r.searchParams.append("platform",e.getDevice(H)),r.searchParams.append("datasource",f),r.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,categories"),y&&r.searchParams.append("filter",`groups=${y}`),r.searchParams.append("expand","categories,vendor"),r.searchParams.append("pagination","offset=0,limit=1000"),fetch(r.href).then(h=>h.json()).then(h=>{R=h.items,R.length?(a(4,w=U(R.slice(0,19))),a(7,C=!0)):(a(4,w=[]),a(7,C=!1))}).catch(h=>{console.log(h),a(7,C=!1)})},U=r=>{const h=V(r);return h.concat(h)},q=()=>S(this,null,function*(){yield e.tick(),F=Math.floor(Math.random()*(w.length/2))+w.length/2,a(3,b=w[F]),j=v.children[F]}),T=()=>S(this,null,function*(){a(6,L=!1),a(5,k=!0),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href),yield q();const r=window.getComputedStyle(v).getPropertyValue("gap"),h=parseInt(r,10)||0,M=(j.offsetHeight+h)*F,ne=[{transform:"translateX(0px)"},{transform:`translateY(-${M}px)`}],oe={duration:2e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};W=v.animate(ne,oe),W.onfinish=()=>{a(6,L=!0)}}),V=r=>{const h=structuredClone(r);let G=h.length,M;for(;G!=0;)M=Math.floor(Math.random()*G),G--,[h[G],h[M]]=[h[M],h[G]];return h},N=()=>{window.postMessage({type:p,gameId:b.gId||b.id},window.location.href),a(5,k=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:`${b.gId||b.id}`})},Y=()=>{a(5,k=!1),window.postMessage({type:"RandomWidgetState",state:k},window.location.href)},X=()=>{ie(g)},Z=()=>{let r=document.createElement("style");r.innerHTML=u,x.appendChild(r)},K=()=>{let r=new URL(d),h=document.createElement("style");fetch(r.href).then(G=>G.text()).then(G=>{h.innerHTML=G,setTimeout(()=>{x.appendChild(h)},1)})};function Q(r){e.binding_callbacks[r?"unshift":"push"](()=>{v=r,a(8,v)})}const $=()=>T(),ee=()=>N(),te=()=>T();function ae(r){e.binding_callbacks[r?"unshift":"push"](()=>{x=r,a(2,x)})}return n.$$set=r=>{"endpoint"in r&&a(13,m=r.endpoint),"datasource"in r&&a(14,f=r.datasource),"gameevent"in r&&a(15,p=r.gameevent),"lang"in r&&a(16,g=r.lang),"randombuttonicon"in r&&a(0,l=r.randombuttonicon),"buttontext"in r&&a(1,_=r.buttontext),"translationurl"in r&&a(17,c=r.translationurl),"clientstyling"in r&&a(18,u=r.clientstyling),"clientstylingurl"in r&&a(19,d=r.clientstylingurl),"filteredrandomgamecategories"in r&&a(20,y=r.filteredrandomgamecategories),"$$scope"in r&&a(21,s=r.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&65536&&g&&X(),n.$$.dirty[0]&131072&&c&&O(),n.$$.dirty[0]&24576&&m&&f&&E(),n.$$.dirty[0]&262148&&u&&x&&Z(),n.$$.dirty[0]&524292&&d&&x&&K()},[l,_,x,b,w,k,L,C,v,o,T,N,Y,m,f,p,g,c,u,d,y,s,i,Q,$,ee,te,ae]}class A extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ye,he,e.safe_not_equal,{endpoint:13,datasource:14,gameevent:15,lang:16,randombuttonicon:0,buttontext:1,translationurl:17,clientstyling:18,clientstylingurl:19,filteredrandomgamecategories:20},re,[-1,-1])}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[14]}set datasource(t){this.$$set({datasource:t}),e.flush()}get gameevent(){return this.$$.ctx[15]}set gameevent(t){this.$$set({gameevent:t}),e.flush()}get lang(){return this.$$.ctx[16]}set lang(t){this.$$set({lang:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get buttontext(){return this.$$.ctx[1]}set buttontext(t){this.$$set({buttontext:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[20]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}}e.create_custom_element(A,{endpoint:{},datasource:{},gameevent:{},lang:{},randombuttonicon:{},buttontext:{},translationurl:{},clientstyling:{},clientstylingurl:{},filteredrandomgamecategories:{}},["close"],[],!0);exports.default=A;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { $ as Q, a as
|
|
2
|
-
function
|
|
1
|
+
import { $ as Q, a as Ne, I as Te, S as je, i as We, f as y, c as ze, s as Be, b as Oe, e as k, q as N, u as f, d as D, v as p, w as P, C as oe, j as S, R as Ge, o as xe, p as W, F as G, a1 as pe, D as ae, m as J, a2 as we, B as qe, r as V, A as Z } from "./CasinoCalendar-BuNYmxT2.js";
|
|
2
|
+
function Ue({ withLocale: n, translations: e }) {
|
|
3
3
|
Q.subscribe((t) => {
|
|
4
|
-
t == null && (
|
|
4
|
+
t == null && (Ne.set(e), Q.set(n));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
7
|
function ne(n, e) {
|
|
8
|
-
|
|
8
|
+
Te(n, e);
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function Ye(n) {
|
|
11
11
|
Q.set(n);
|
|
12
12
|
}
|
|
13
13
|
const ie = {
|
|
@@ -62,20 +62,20 @@ const ie = {
|
|
|
62
62
|
deposit: "Depósito"
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
|
-
function
|
|
66
|
-
|
|
65
|
+
function Pe(n) {
|
|
66
|
+
Oe(n, "svelte-h8mrzf", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-categories-typography, var(--emfe-w-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(--emfe-w-categories-contrast, var(--emfe-w-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(--emfe-w-categories-arrows-bg, var(--emfe-w-color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emfe-w-categories-arrows, var(--emfe-w-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(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emfe-w-categories-typography, var(--emfe-w-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(--emfe-w-categories-contrast, var(--emfe-w-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(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-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(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-categories-contrast, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-categories-typography, var(--emfe-w-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(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-header-color-primary, var(--emfe-w-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(--emfe-w-header-typography, var(--emfe-w-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(--emfe-w-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(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-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}');
|
|
67
67
|
}
|
|
68
68
|
function le(n, e, t) {
|
|
69
69
|
const a = n.slice();
|
|
70
|
-
return a[
|
|
70
|
+
return a[49] = e[t], a[51] = t, a;
|
|
71
71
|
}
|
|
72
72
|
function se(n, e, t) {
|
|
73
73
|
const a = n.slice();
|
|
74
|
-
return a[
|
|
74
|
+
return a[52] = e[t], a;
|
|
75
75
|
}
|
|
76
76
|
function ce(n, e, t) {
|
|
77
77
|
const a = n.slice();
|
|
78
|
-
return a[
|
|
78
|
+
return a[55] = e[t], a[57] = t, a;
|
|
79
79
|
}
|
|
80
80
|
function ue(n) {
|
|
81
81
|
let e = [], t = /* @__PURE__ */ new Map(), a, i = W(
|
|
@@ -84,7 +84,7 @@ function ue(n) {
|
|
|
84
84
|
);
|
|
85
85
|
const l = (r) => (
|
|
86
86
|
/*category*/
|
|
87
|
-
r[
|
|
87
|
+
r[49].id
|
|
88
88
|
);
|
|
89
89
|
for (let r = 0; r < i.length; r += 1) {
|
|
90
90
|
let s = le(n, i, r), d = l(s);
|
|
@@ -115,10 +115,10 @@ function ue(n) {
|
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Ke(n) {
|
|
119
119
|
let e, t = (
|
|
120
120
|
/*category*/
|
|
121
|
-
n[
|
|
121
|
+
n[49].name + ""
|
|
122
122
|
), a;
|
|
123
123
|
return {
|
|
124
124
|
c() {
|
|
@@ -130,22 +130,22 @@ function Je(n) {
|
|
|
130
130
|
p(i, l) {
|
|
131
131
|
l[0] & /*sliderdata*/
|
|
132
132
|
512 && t !== (t = /*category*/
|
|
133
|
-
i[
|
|
133
|
+
i[49].name + "") && Z(a, t);
|
|
134
134
|
},
|
|
135
135
|
d(i) {
|
|
136
136
|
i && S(e);
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function Xe(n) {
|
|
141
141
|
let e, t = (
|
|
142
142
|
/*category*/
|
|
143
|
-
n[
|
|
143
|
+
n[49].label + ""
|
|
144
144
|
), a, i;
|
|
145
145
|
return {
|
|
146
146
|
c() {
|
|
147
147
|
e = k("a"), a = V(t), f(e, "href", i = /*category*/
|
|
148
|
-
n[
|
|
148
|
+
n[49].path);
|
|
149
149
|
},
|
|
150
150
|
m(l, r) {
|
|
151
151
|
D(l, e, r), p(e, a);
|
|
@@ -153,9 +153,9 @@ function Qe(n) {
|
|
|
153
153
|
p(l, r) {
|
|
154
154
|
r[0] & /*sliderdata*/
|
|
155
155
|
512 && t !== (t = /*category*/
|
|
156
|
-
l[
|
|
156
|
+
l[49].label + "") && Z(a, t), r[0] & /*sliderdata*/
|
|
157
157
|
512 && i !== (i = /*category*/
|
|
158
|
-
l[
|
|
158
|
+
l[49].path) && f(e, "href", i);
|
|
159
159
|
},
|
|
160
160
|
d(l) {
|
|
161
161
|
l && S(e);
|
|
@@ -222,7 +222,7 @@ function fe(n) {
|
|
|
222
222
|
}
|
|
223
223
|
},
|
|
224
224
|
d(i) {
|
|
225
|
-
i && S(e),
|
|
225
|
+
i && S(e), qe(a, i);
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
}
|
|
@@ -230,20 +230,20 @@ function me(n) {
|
|
|
230
230
|
var w;
|
|
231
231
|
let e, t, a = (
|
|
232
232
|
/*subGroupItem*/
|
|
233
|
-
((w = n[
|
|
233
|
+
((w = n[55]) == null ? void 0 : w.name) + ""
|
|
234
234
|
), i, l, r, s, d;
|
|
235
235
|
function F(...g) {
|
|
236
236
|
return (
|
|
237
237
|
/*click_handler_1*/
|
|
238
238
|
n[32](
|
|
239
239
|
/*category*/
|
|
240
|
-
n[
|
|
240
|
+
n[49],
|
|
241
241
|
/*index*/
|
|
242
|
-
n[
|
|
242
|
+
n[51],
|
|
243
243
|
/*subGroupItem*/
|
|
244
|
-
n[
|
|
244
|
+
n[55],
|
|
245
245
|
/*subindex*/
|
|
246
|
-
n[
|
|
246
|
+
n[57],
|
|
247
247
|
...g
|
|
248
248
|
)
|
|
249
249
|
);
|
|
@@ -251,12 +251,12 @@ function me(n) {
|
|
|
251
251
|
return {
|
|
252
252
|
c() {
|
|
253
253
|
e = k("li"), t = k("a"), i = V(a), r = N(), f(t, "class", l = "SubDropDown " + /*index*/
|
|
254
|
-
(n[
|
|
254
|
+
(n[51] == /*activeIndex*/
|
|
255
255
|
n[6] && /*activeSubIndex*/
|
|
256
256
|
(n[7] == /*subindex*/
|
|
257
|
-
n[
|
|
257
|
+
n[57] || /*prevSubIndex*/
|
|
258
258
|
n[8] == /*subindex*/
|
|
259
|
-
n[
|
|
259
|
+
n[57]) ? "active" : ""));
|
|
260
260
|
},
|
|
261
261
|
m(g, v) {
|
|
262
262
|
D(g, e, v), p(e, t), p(t, i), p(e, r), s || (d = P(e, "click", F), s = !0);
|
|
@@ -265,14 +265,14 @@ function me(n) {
|
|
|
265
265
|
var I;
|
|
266
266
|
n = g, v[0] & /*subGroupsData*/
|
|
267
267
|
1024 && a !== (a = /*subGroupItem*/
|
|
268
|
-
((I = n[
|
|
268
|
+
((I = n[55]) == null ? void 0 : I.name) + "") && Z(i, a), v[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
|
269
269
|
1984 && l !== (l = "SubDropDown " + /*index*/
|
|
270
|
-
(n[
|
|
270
|
+
(n[51] == /*activeIndex*/
|
|
271
271
|
n[6] && /*activeSubIndex*/
|
|
272
272
|
(n[7] == /*subindex*/
|
|
273
|
-
n[
|
|
273
|
+
n[57] || /*prevSubIndex*/
|
|
274
274
|
n[8] == /*subindex*/
|
|
275
|
-
n[
|
|
275
|
+
n[57]) ? "active" : "")) && f(t, "class", l);
|
|
276
276
|
},
|
|
277
277
|
d(g) {
|
|
278
278
|
g && S(e), s = !1, d();
|
|
@@ -282,8 +282,8 @@ function me(n) {
|
|
|
282
282
|
function ge(n, e) {
|
|
283
283
|
let t, a, i = (
|
|
284
284
|
/*index*/
|
|
285
|
-
e[
|
|
286
|
-
e[
|
|
285
|
+
e[51] == /*subGroup*/
|
|
286
|
+
e[52].index && me(e)
|
|
287
287
|
);
|
|
288
288
|
return {
|
|
289
289
|
key: n,
|
|
@@ -296,8 +296,8 @@ function ge(n, e) {
|
|
|
296
296
|
},
|
|
297
297
|
p(l, r) {
|
|
298
298
|
e = l, /*index*/
|
|
299
|
-
e[
|
|
300
|
-
e[
|
|
299
|
+
e[51] == /*subGroup*/
|
|
300
|
+
e[52].index ? i ? i.p(e, r) : (i = me(e), i.c(), i.m(a.parentNode, a)) : i && (i.d(1), i = null);
|
|
301
301
|
},
|
|
302
302
|
d(l) {
|
|
303
303
|
l && (S(t), S(a)), i && i.d(l);
|
|
@@ -307,11 +307,11 @@ function ge(n, e) {
|
|
|
307
307
|
function he(n) {
|
|
308
308
|
let e = [], t = /* @__PURE__ */ new Map(), a, i = W(
|
|
309
309
|
/*subGroup*/
|
|
310
|
-
n[
|
|
310
|
+
n[52].items
|
|
311
311
|
);
|
|
312
312
|
const l = (r) => (
|
|
313
313
|
/*subGroupItem*/
|
|
314
|
-
r[
|
|
314
|
+
r[55].id
|
|
315
315
|
);
|
|
316
316
|
for (let r = 0; r < i.length; r += 1) {
|
|
317
317
|
let s = ce(n, i, r), d = l(s);
|
|
@@ -332,7 +332,7 @@ function he(n) {
|
|
|
332
332
|
s[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
|
333
333
|
10176 && (i = W(
|
|
334
334
|
/*subGroup*/
|
|
335
|
-
r[
|
|
335
|
+
r[52].items
|
|
336
336
|
), e = pe(e, s, l, 1, r, i, t, a.parentNode, we, ge, a, ce));
|
|
337
337
|
},
|
|
338
338
|
d(r) {
|
|
@@ -347,14 +347,14 @@ function Ce(n, e) {
|
|
|
347
347
|
function I(m, _) {
|
|
348
348
|
return (
|
|
349
349
|
/*location*/
|
|
350
|
-
m[0] === "headerMain" ?
|
|
350
|
+
m[0] === "headerMain" ? Xe : Ke
|
|
351
351
|
);
|
|
352
352
|
}
|
|
353
353
|
let M = I(e), h = M(e), c = (
|
|
354
354
|
/*itemsActive*/
|
|
355
355
|
e[11][
|
|
356
356
|
/*index*/
|
|
357
|
-
e[
|
|
357
|
+
e[51]
|
|
358
358
|
] == !0 && de(e)
|
|
359
359
|
);
|
|
360
360
|
function b(...m) {
|
|
@@ -362,9 +362,9 @@ function Ce(n, e) {
|
|
|
362
362
|
/*click_handler_2*/
|
|
363
363
|
e[33](
|
|
364
364
|
/*category*/
|
|
365
|
-
e[
|
|
365
|
+
e[49],
|
|
366
366
|
/*index*/
|
|
367
|
-
e[
|
|
367
|
+
e[51],
|
|
368
368
|
...m
|
|
369
369
|
)
|
|
370
370
|
);
|
|
@@ -378,16 +378,16 @@ function Ce(n, e) {
|
|
|
378
378
|
(e[3] === "true" ? "" : "DisplayNone")), ae(i.src, r = /*handleSrc*/
|
|
379
379
|
e[16](
|
|
380
380
|
/*category*/
|
|
381
|
-
e[
|
|
381
|
+
e[49]
|
|
382
382
|
)) || f(i, "src", r), f(a, "class", "CategoryIcon"), f(t, "class", w = "CarouselItem " + /*activeindex*/
|
|
383
383
|
(((m = e[1]) == null ? void 0 : m.toString().indexOf("$")) > -1 ? (
|
|
384
384
|
/*activeindex*/
|
|
385
385
|
((_ = e[1]) == null ? void 0 : _.split("$").pop()) == /*category*/
|
|
386
|
-
e[
|
|
386
|
+
e[49].id.split("$").pop() ? "active" : ""
|
|
387
387
|
) : (
|
|
388
388
|
/*activeindex*/
|
|
389
389
|
e[1] == /*category*/
|
|
390
|
-
e[
|
|
390
|
+
e[49].id ? "active" : ""
|
|
391
391
|
)) + " " + /*location*/
|
|
392
392
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")), f(t, "part", "CarouselItem"), this.first = t;
|
|
393
393
|
},
|
|
@@ -402,21 +402,21 @@ function Ce(n, e) {
|
|
|
402
402
|
512 && !ae(i.src, r = /*handleSrc*/
|
|
403
403
|
e[16](
|
|
404
404
|
/*category*/
|
|
405
|
-
e[
|
|
405
|
+
e[49]
|
|
406
406
|
)) && f(i, "src", r), M === (M = I(e)) && h ? h.p(e, _) : (h.d(1), h = M(e), h && (h.c(), h.m(t, d))), /*itemsActive*/
|
|
407
407
|
e[11][
|
|
408
408
|
/*index*/
|
|
409
|
-
e[
|
|
409
|
+
e[51]
|
|
410
410
|
] == !0 ? c ? c.p(e, _) : (c = de(e), c.c(), c.m(t, F)) : c && (c.d(1), c = null), _[0] & /*activeindex, sliderdata, location*/
|
|
411
411
|
515 && w !== (w = "CarouselItem " + /*activeindex*/
|
|
412
412
|
(((T = e[1]) == null ? void 0 : T.toString().indexOf("$")) > -1 ? (
|
|
413
413
|
/*activeindex*/
|
|
414
414
|
((x = e[1]) == null ? void 0 : x.split("$").pop()) == /*category*/
|
|
415
|
-
e[
|
|
415
|
+
e[49].id.split("$").pop() ? "active" : ""
|
|
416
416
|
) : (
|
|
417
417
|
/*activeindex*/
|
|
418
418
|
e[1] == /*category*/
|
|
419
|
-
e[
|
|
419
|
+
e[49].id ? "active" : ""
|
|
420
420
|
)) + " " + /*location*/
|
|
421
421
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")) && f(t, "class", w);
|
|
422
422
|
},
|
|
@@ -425,7 +425,7 @@ function Ce(n, e) {
|
|
|
425
425
|
}
|
|
426
426
|
};
|
|
427
427
|
}
|
|
428
|
-
function
|
|
428
|
+
function Je(n) {
|
|
429
429
|
let e, t, a, i, l, r, s, d, F, w, g, v, I, M, h, c = (
|
|
430
430
|
/*sliderdata*/
|
|
431
431
|
n[9].length > 0 && ue(n)
|
|
@@ -466,13 +466,13 @@ function Ve(n) {
|
|
|
466
466
|
i: oe,
|
|
467
467
|
o: oe,
|
|
468
468
|
d(b) {
|
|
469
|
-
b && S(e), c && c.d(), n[34](null), n[35](null), n[37](null), M = !1,
|
|
469
|
+
b && S(e), c && c.d(), n[34](null), n[35](null), n[37](null), M = !1, Ge(h);
|
|
470
470
|
}
|
|
471
471
|
};
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function Qe(n, e, t) {
|
|
474
474
|
let { endpoint: a = "" } = e, { datasource: i = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: d = "" } = e, { clientstyling: F = "" } = e, { clientstylingurl: w = "" } = e, { identity: g = "" } = e, { translationurl: v = "" } = e, { isprimarymenu: I = !1 } = e, { issecondarymenu: M = !1 } = e, { lang: h = "" } = e, { activeindex: c = "0" } = e, { showsubgroups: b = "false" } = e, { categoriesicon: m = "false" } = e, { lobbyiconimage: _ = "" } = e, { mygamesiconimage: T = "" } = e;
|
|
475
|
-
|
|
475
|
+
Ue({ withLocale: "en", translations: {} });
|
|
476
476
|
const x = () => {
|
|
477
477
|
fetch(v).then((u) => u.json()).then((u) => {
|
|
478
478
|
Object.keys(u).forEach((C) => {
|
|
@@ -485,8 +485,6 @@ function Ze(n, e, t) {
|
|
|
485
485
|
Object.keys(ie).forEach((o) => {
|
|
486
486
|
ne(o, ie[o]);
|
|
487
487
|
});
|
|
488
|
-
let ye = window.navigator.userAgent;
|
|
489
|
-
qe(ye);
|
|
490
488
|
let j, z, B, K, H, O = [], q = [], U = [], L, X = (o, u, C, E, A) => {
|
|
491
489
|
var R;
|
|
492
490
|
if (!(o.subGroups && E === null)) {
|
|
@@ -522,12 +520,12 @@ function Ze(n, e, t) {
|
|
|
522
520
|
L.scrollBy({ left: 250, behavior: "smooth" });
|
|
523
521
|
};
|
|
524
522
|
const te = (o) => {
|
|
525
|
-
o.data.type == "SliderData" && o.data.identity == g && (t(9, O = o.data.data), t(11, U = new Array(O.length).fill(!1)), b == "true" &&
|
|
523
|
+
o.data.type == "SliderData" && o.data.identity == g && (t(9, O = o.data.data), t(11, U = new Array(O.length).fill(!1)), b == "true" && be()), o.data.type == "GoToHomepage" && O.forEach((u, C) => {
|
|
526
524
|
u.path.endsWith("/casino") && (t(6, z = C), t(6, z));
|
|
527
525
|
});
|
|
528
|
-
},
|
|
529
|
-
|
|
530
|
-
},
|
|
526
|
+
}, ye = () => {
|
|
527
|
+
Ye(h);
|
|
528
|
+
}, ve = (o, u, C) => {
|
|
531
529
|
if (d == "secondaryMenu" && a && i && h && o.id) {
|
|
532
530
|
let E = new URL(`${a}/v1/casino/groups/${i}/${o.id}/subGroups?language=${h}`);
|
|
533
531
|
fetch(E.href).then((A) => A.json()).then((A) => {
|
|
@@ -541,8 +539,8 @@ function Ze(n, e, t) {
|
|
|
541
539
|
window.location.href
|
|
542
540
|
);
|
|
543
541
|
const R = [];
|
|
544
|
-
q.map((
|
|
545
|
-
R.find((
|
|
542
|
+
q.map((Ee) => (Ee.items.forEach((re) => {
|
|
543
|
+
R.find((Re) => re.id == Re) || R.push(re.id);
|
|
546
544
|
}), R.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: R }, window.location.href);
|
|
547
545
|
}).then(() => {
|
|
548
546
|
j.querySelectorAll(".DropDown") && Y();
|
|
@@ -555,15 +553,15 @@ function Ze(n, e, t) {
|
|
|
555
553
|
for (let u = 0; u < o.length; u++)
|
|
556
554
|
o[u].style.transform = "translateX(-" + L.scrollLeft + "px)";
|
|
557
555
|
L.classList.remove("isScrolling");
|
|
558
|
-
},
|
|
556
|
+
}, be = () => {
|
|
559
557
|
O.forEach((o, u) => {
|
|
560
558
|
var C;
|
|
561
|
-
((C = o == null ? void 0 : o.subGroups) == null ? void 0 : C.count) > 0 && (t(11, U[u] = !0, U),
|
|
559
|
+
((C = o == null ? void 0 : o.subGroups) == null ? void 0 : C.count) > 0 && (t(11, U[u] = !0, U), ve(o, u));
|
|
562
560
|
});
|
|
563
|
-
},
|
|
561
|
+
}, _e = () => {
|
|
564
562
|
let o = document.createElement("style");
|
|
565
563
|
o.innerHTML = F, H.appendChild(o);
|
|
566
|
-
},
|
|
564
|
+
}, ke = () => {
|
|
567
565
|
let o = document.createElement("style"), u = new URL(w);
|
|
568
566
|
fetch(u.href).then((C) => C.text()).then((C) => {
|
|
569
567
|
o.innerHTML = C, setTimeout(
|
|
@@ -573,11 +571,11 @@ function Ze(n, e, t) {
|
|
|
573
571
|
1
|
|
574
572
|
);
|
|
575
573
|
});
|
|
576
|
-
},
|
|
574
|
+
}, Fe = (o) => {
|
|
577
575
|
let u = "";
|
|
578
576
|
return o.id === "LOBBY" ? u = _ : o.id === "MYGAMES" && (u = T), o.icon || u;
|
|
579
577
|
};
|
|
580
|
-
|
|
578
|
+
xe(() => (window.addEventListener("message", te, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
|
581
579
|
() => {
|
|
582
580
|
L.addEventListener("scroll", Y);
|
|
583
581
|
},
|
|
@@ -585,23 +583,23 @@ function Ze(n, e, t) {
|
|
|
585
583
|
), () => {
|
|
586
584
|
window.removeEventListener("message", te), j.removeEventListener("scroll", Y);
|
|
587
585
|
}));
|
|
588
|
-
const
|
|
586
|
+
const Ie = () => $(), Me = (o, u, C, E, A) => {
|
|
589
587
|
X(o, u, C, E, "secondary"), A.stopPropagation();
|
|
590
|
-
},
|
|
588
|
+
}, De = (o, u, C) => {
|
|
591
589
|
X(o, u, null, null, "main"), C.preventDefault();
|
|
592
590
|
};
|
|
593
|
-
function
|
|
591
|
+
function Se(o) {
|
|
594
592
|
J[o ? "unshift" : "push"](() => {
|
|
595
593
|
j = o, t(5, j);
|
|
596
594
|
});
|
|
597
595
|
}
|
|
598
|
-
function
|
|
596
|
+
function Le(o) {
|
|
599
597
|
J[o ? "unshift" : "push"](() => {
|
|
600
598
|
L = o, t(12, L);
|
|
601
599
|
});
|
|
602
600
|
}
|
|
603
|
-
const
|
|
604
|
-
function
|
|
601
|
+
const Ae = () => ee();
|
|
602
|
+
function He(o) {
|
|
605
603
|
J[o ? "unshift" : "push"](() => {
|
|
606
604
|
H = o, t(4, H);
|
|
607
605
|
});
|
|
@@ -612,9 +610,9 @@ function Ze(n, e, t) {
|
|
|
612
610
|
n.$$.dirty[0] & /*activeindex*/
|
|
613
611
|
2, n.$$.dirty[0] & /*translationurl*/
|
|
614
612
|
33554432 && v && x(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
615
|
-
4194320 && F && H &&
|
|
616
|
-
8388624 && w && H &&
|
|
617
|
-
268435456 && h &&
|
|
613
|
+
4194320 && F && H && _e(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
614
|
+
8388624 && w && H && ke(), n.$$.dirty[0] & /*lang*/
|
|
615
|
+
268435456 && h && ye();
|
|
618
616
|
}, [
|
|
619
617
|
d,
|
|
620
618
|
c,
|
|
@@ -632,7 +630,7 @@ function Ze(n, e, t) {
|
|
|
632
630
|
X,
|
|
633
631
|
$,
|
|
634
632
|
ee,
|
|
635
|
-
|
|
633
|
+
Fe,
|
|
636
634
|
a,
|
|
637
635
|
i,
|
|
638
636
|
l,
|
|
@@ -647,23 +645,23 @@ function Ze(n, e, t) {
|
|
|
647
645
|
h,
|
|
648
646
|
_,
|
|
649
647
|
T,
|
|
648
|
+
Ie,
|
|
650
649
|
Me,
|
|
651
650
|
De,
|
|
652
651
|
Se,
|
|
653
652
|
Le,
|
|
654
653
|
Ae,
|
|
655
|
-
He
|
|
656
|
-
Ee
|
|
654
|
+
He
|
|
657
655
|
];
|
|
658
656
|
}
|
|
659
|
-
class
|
|
657
|
+
class Ve extends je {
|
|
660
658
|
constructor(e) {
|
|
661
|
-
super(),
|
|
659
|
+
super(), We(
|
|
662
660
|
this,
|
|
663
661
|
e,
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
662
|
+
Qe,
|
|
663
|
+
Je,
|
|
664
|
+
Be,
|
|
667
665
|
{
|
|
668
666
|
endpoint: 17,
|
|
669
667
|
datasource: 18,
|
|
@@ -684,7 +682,7 @@ class $e extends We {
|
|
|
684
682
|
lobbyiconimage: 29,
|
|
685
683
|
mygamesiconimage: 30
|
|
686
684
|
},
|
|
687
|
-
|
|
685
|
+
Pe,
|
|
688
686
|
[-1, -1]
|
|
689
687
|
);
|
|
690
688
|
}
|
|
@@ -797,7 +795,7 @@ class $e extends We {
|
|
|
797
795
|
this.$$set({ mygamesiconimage: e }), y();
|
|
798
796
|
}
|
|
799
797
|
}
|
|
800
|
-
|
|
798
|
+
ze(Ve, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
|
|
801
799
|
export {
|
|
802
|
-
|
|
800
|
+
Ve as default
|
|
803
801
|
};
|