@everymatrix/casino-lobby 1.63.2 → 1.64.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/{CasinoCalendar-CNMPPqgx.js → CasinoCalendar-BONyZpYE.js} +121 -121
- package/components/{CasinoCalendar-DoxssdOG.cjs → CasinoCalendar-DglR4hXB.cjs} +4 -4
- package/components/{CasinoCalendar-DF0Pr_uv.js → CasinoCalendar-IdM-lXMG.js} +208 -208
- package/components/CasinoCalendarDailyDetails-Cprq9q2q.js +567 -0
- package/components/CasinoCalendarDailyDetails-MqRoHEO5.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-Nhcvxsh6.js +567 -0
- package/components/CasinoCalendarDailyItem-DLR65l5h.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-O-Ka4MG6.js → CasinoCalendarDailyItem-j9fcZJnF.js} +45 -45
- package/components/{CasinoCalendarDailyItem-D51VouvS.js → CasinoCalendarDailyItem-s-bZS2Jp.js} +45 -45
- package/components/CasinoCategoriesSlider--HeFAg7z.cjs +1 -0
- package/components/{CasinoCategoriesSlider-Bte1Sqxk.js → CasinoCategoriesSlider-BwaHpYXA.js} +177 -181
- package/components/{CasinoCategoriesSlider-BRS5bbYT.js → CasinoCategoriesSlider-Daxulx9q.js} +177 -181
- package/components/CasinoCollectionsProviders-B_huGyx5.cjs +1 -0
- package/components/CasinoCollectionsProviders-DCfKtqH3.js +653 -0
- package/components/{CasinoCollectionsProviders-eQakUMn6.js → CasinoCollectionsProviders-QF8UYQEH.js} +181 -182
- package/components/{CasinoFavoritesSection-CB9LB0WP.js → CasinoFavoritesSection-C8XELxGM.js} +23 -23
- package/components/{CasinoFavoritesSection-CqX1dQbA.js → CasinoFavoritesSection-CqeUShM0.js} +23 -23
- package/components/{CasinoFavoritesSection-tN5tvnAA.cjs → CasinoFavoritesSection-D-UkXryn.cjs} +1 -1
- package/components/{CasinoFilter-CaXIhjO3.cjs → CasinoFilter-1GsfPr4q.cjs} +1 -1
- package/components/{CasinoFilter-CE3HGSQ0.js → CasinoFilter-Dm91I-UU.js} +111 -111
- package/components/{CasinoFilter-g1NekVQ2.js → CasinoFilter-hFLJX_M2.js} +108 -108
- package/components/{CasinoGameThumbnail-ODsH-VZ2.cjs → CasinoGameThumbnail-BvOIlOOi.cjs} +2 -2
- package/components/{CasinoGameThumbnail-DUG_Uqdj.js → CasinoGameThumbnail-CQSUN92B.js} +3 -3
- package/components/{CasinoGameThumbnail-DCRwj3vq.js → CasinoGameThumbnail-CXKT4Qo5.js} +3 -3
- package/components/CasinoGamesCategorySection-BQlZuqHv.js +3202 -0
- package/components/CasinoGamesCategorySection-CKD6dg5N.cjs +1 -0
- package/components/CasinoGamesCategorySection-DFvVele9.js +3170 -0
- package/components/{CasinoJackpotBanner-DnctL7sJ.js → CasinoJackpotBanner-BpAtani6.js} +108 -108
- package/components/{CasinoJackpotBanner-DiFabula.js → CasinoJackpotBanner-Da7u-e53.js} +100 -100
- package/components/{CasinoJackpotBanner-BGP5NlAK.cjs → CasinoJackpotBanner-DhRXbZof.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-LnAsl4Vq.js → CasinoLastPlayedSection-CLQF0gH3.js} +9 -9
- package/components/{CasinoLastPlayedSection-CxFhGWih.js → CasinoLastPlayedSection-Cn_6Tyrh.js} +9 -9
- package/components/{CasinoLastPlayedSection-DYe3Koqg.cjs → CasinoLastPlayedSection-r9eIV0bz.cjs} +1 -1
- package/components/{CasinoLobby-CFE_jBY7.js → CasinoLobby-BBAE1WZB.js} +135 -120
- package/components/CasinoLobby-CfPzMoKq.cjs +1 -0
- package/components/{CasinoLobby-DeIv0o2d.js → CasinoLobby-CnppP-Q0.js} +135 -120
- package/components/{CasinoMostPlayedSection-BLrjptUT.js → CasinoMostPlayedSection-CD3McVCV.js} +21 -21
- package/components/{CasinoMostPlayedSection-CcmxfoNH.js → CasinoMostPlayedSection-CEcrV8uf.js} +21 -21
- package/components/{CasinoMostPlayedSection-zfcQ4N68.cjs → CasinoMostPlayedSection-CYbsPd70.cjs} +1 -1
- package/components/{CasinoMyGames-CsLVF6jp.cjs → CasinoMyGames-BYorv67w.cjs} +1 -1
- package/components/{CasinoMyGames-BICHn490.js → CasinoMyGames-Clh_ZKUG.js} +39 -39
- package/components/{CasinoMyGames-D2JlK2FG.js → CasinoMyGames-CsEp2Q-H.js} +43 -43
- package/components/{CasinoPage-Dsb7hsCV.js → CasinoPage-BZesrUyc.js} +189 -189
- package/components/{CasinoPage-BKIXFpTy.js → CasinoPage-CPmBzeSF.js} +189 -189
- package/components/{CasinoPage-DldDXHiD.cjs → CasinoPage-CxXdS_KY.cjs} +1 -1
- package/components/{CasinoRandomGame-BB4A3Me6.js → CasinoRandomGame-FkDPrD9e.js} +52 -52
- package/components/{CasinoRandomGame-qzNaZ__f.cjs → CasinoRandomGame-mZ24kU0C.cjs} +2 -2
- package/components/{CasinoRandomGame-BalTtz4n.js → CasinoRandomGame-pFW4WJwl.js} +53 -53
- package/components/{CasinoSearch-CzQKu674.js → CasinoSearch--m6RPf0J.js} +52 -52
- package/components/{CasinoSearch-GuiyA6qP.cjs → CasinoSearch-DUQJhn3X.cjs} +1 -1
- package/components/{CasinoSearch-BunxlPeC.js → CasinoSearch-DZTQwy97.js} +50 -50
- package/components/CasinoSlider-BR0_If4T.js +797 -0
- package/components/{CasinoSlider-CCs2pkhA.js → CasinoSlider-CtMPHXUh.js} +136 -136
- package/components/CasinoSlider-e9OjOUTr.cjs +1 -0
- package/components/{CasinoSort-BRX2Xq-L.js → CasinoSort-CFaQhCeN.js} +32 -32
- package/components/{CasinoSort-Ds5Gxm-O.cjs → CasinoSort-CWyjQZ3C.cjs} +1 -1
- package/components/{CasinoSort-BFlIPfWc.js → CasinoSort-CjTUg9jC.js} +32 -32
- package/components/CasinoWinners-CJI2fDKO.js +978 -0
- package/components/CasinoWinners-CvtwPY7V.js +996 -0
- package/components/CasinoWinners-DgXBOTeI.cjs +1 -0
- package/components/{GeneralAnimationLoading-cgso8Mxu.cjs → GeneralAnimationLoading-Bgob1QKM.cjs} +1 -1
- package/components/{GeneralAnimationLoading-7OFxqSZ5.js → GeneralAnimationLoading-CcIPxHUX.js} +6 -6
- package/components/{GeneralAnimationLoading-BdfUf0_9.js → GeneralAnimationLoading-cKyjkdOs.js} +6 -6
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-BYqESYAt.js → casino-play-random-game-BLl4u8GF.js} +8 -6
- package/stencil/{casino-play-random-game-QQFB7p9f.js → casino-play-random-game-C0BJMsSD.js} +8 -6
- package/stencil/{casino-play-random-game-cxzdDqDs.cjs → casino-play-random-game-Dkk0BTsb.cjs} +8 -6
- package/stencil/{index-97d17652-C616IYj2.js → index-97d17652-BEnqZAxL.js} +1 -1
- package/stencil/{index-97d17652-C9Ph2JiE.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
- package/stencil/{index-97d17652-B8yQdy7J.js → index-97d17652-WK_DbPS4.js} +1 -1
- package/stencil/{index-ab3202d6-CvVYHCZs.js → index-ab3202d6-CZKlrnZf.js} +1 -1
- package/stencil/{index-ab3202d6-ClNgaMg-.js → index-ab3202d6-ClDKsCJv.js} +1 -1
- package/stencil/{index-ab3202d6-4wRb7_uS.cjs → index-ab3202d6-DFbwTHas.cjs} +1 -1
- package/stencil/{ui-image-C3XzpHRB.cjs → ui-image-DLXwOzO2.cjs} +1 -1
- package/stencil/{ui-image-CYB9UUHg.js → ui-image-YGEFo8L0.js} +1 -1
- package/stencil/{ui-image-7da92f1f-26DzsVFt.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
- package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
- package/stencil/{ui-image-7da92f1f-BAghvEDf.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
- package/stencil/{ui-image-BSTP7sZO.js → ui-image-w38Eao2h.js} +1 -1
- package/stencil/{ui-image_2-BXgptLvl.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-Cyqb4u7k.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-Cctik3aF.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/components/CasinoCalendarDailyDetails-305OBzqh.js +0 -694
- package/components/CasinoCalendarDailyDetails-DUp41baV.cjs +0 -1
- package/components/CasinoCalendarDailyDetails-OB1lJeYE.js +0 -694
- package/components/CasinoCalendarDailyItem-B-DrlkeE.cjs +0 -1
- package/components/CasinoCategoriesSlider-BiaZvSw4.cjs +0 -1
- package/components/CasinoCollectionsProviders-CMAAQr-q.cjs +0 -1
- package/components/CasinoCollectionsProviders-kaCgm3e1.js +0 -654
- package/components/CasinoGamesCategorySection-C3vEnV4u.cjs +0 -1
- package/components/CasinoGamesCategorySection-Zo8E4vzJ.js +0 -3170
- package/components/CasinoGamesCategorySection-duJpxi3h.js +0 -3139
- package/components/CasinoLobby-ByANgzRN.cjs +0 -1
- package/components/CasinoSlider-Q3CLkzHo.cjs +0 -1
- package/components/CasinoSlider-VfpP1c2C.js +0 -797
- package/components/CasinoWinners-B_hz9jpe.cjs +0 -1
- package/components/CasinoWinners-DMV8Yt40.js +0 -983
- package/components/CasinoWinners-j5Ay-YXI.js +0 -981
- package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DglR4hXB.cjs");function q(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"svelte-nnjza6",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:60px;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,_,v,w,d=i[7]>i[8]&&V(i),m=e.ensure_array_like(i[3]),s=[];for(let c=0;c<m.length;c+=1)s[c]=Z(I(i,m,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),_=e.space(),v=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(v,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,_),e.append(t,v);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(v,null);i[25](v)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){m=e.ensure_array_like(c[3]);let h;for(h=0;h<m.length;h+=1){const p=I(c,m,h);s[h]?s[h].p(p,u):(s[h]=Z(p),s[h].c(),s[h].m(v,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=m.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ce(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(_,v){e.insert(_,t,v),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(_){_&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.attr(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function K(i){let t,l,r,o,a,g,_,v;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),d&&d.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(m,s){e.insert(m,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),_||(v=e.listen(l,"click",e.stop_propagation(w)),_=!0)},p(m,s){i=m,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.attr(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(m){m&&e.detach(t),d&&d.d(),_=!1,v()}}}function Z(i){let t,l,r,o,a,g,_,v,w;function d(p,f){if(p[1]==="logo")return ue;if(p[1]==="title")return ge}let m=d(i),s=m&&m(i),c=e.ensure_array_like(i[41].games),u=[];for(let p=0;p<c.length;p+=1)u[p]=K(U(i,c,p));function h(){return i[24](i[41])}return{c(){var p,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let b=0;b<u.length;b+=1)u[b].c();_=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((p=i[41])==null?void 0:p.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(p,f){e.insert(p,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let b=0;b<u.length;b+=1)u[b]&&u[b].m(a,null);e.append(t,_),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var b,k;if(i=p,m===(m=d(i))&&s?s.p(i,f):(s&&s.d(1),s=m&&m(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let C;for(C=0;C<c.length;C+=1){const L=U(i,c,C);u[C]?u[C].p(L,f):(u[C]=K(L),u[C].c(),u[C].m(a,null))}for(;C<u.length;C+=1)u[C].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((b=i[41])==null?void 0:b.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((k=i[41])==null?void 0:k.background)+")")},d(p){p&&e.detach(t),s&&s.d(),e.destroy_each(u,p),v=!1,w()}}}function pe(i){let t;function l(a,g){return a[6]?ce:de}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function me(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:_=""}=t,{titletype:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:m=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,p,f=0,b=0,k=0,C,L,j=0,M=50,x=!1,G,X=window.navigator.userAgent,T;const Y=()=>{fetch(m).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{q(P,y[P])})}).catch(y=>{console.log(y)})};Object.keys(R).forEach(n=>{q(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${_})`),n.searchParams.append("pagination",`offset=${j},limit=${M}`),fetch(n.href).then(y=>y.json()).then(y=>{l(6,h=!1),y.total>M&&(j+=50,M+=50,l(22,x=!0));let P=y.items.map(S=>{var E,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(E=S.vendors)==null?void 0:E.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:S.games.items.slice(0,4).map(re=>re),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,b=u.length),Q()})},Q=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},B=n=>{var y;L=[...p.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),C=(y=L[0])==null?void 0:y.getBoundingClientRect().width,D()},D=()=>{l(8,k=Math.floor(p.clientWidth/C))},O=()=>{B(f)},$=()=>{f===0?f=b-k:f-k<-1?f=0:f--,O()},ee=()=>{f===b-k?f=0:b-k<f+1?f=b-k:f++,O()},z=(n,y,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:y,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},H=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(X)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>H(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,_=n.type),"titletype"in n&&l(1,v=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,m=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&p&&B(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&G&&e.setClientStyling(G,w),i.$$.dirty[0]&524320&&d&&G&&e.setClientStylingURL(G,d),i.$$.dirty[0]&2097184&&G&&e.setStreamStyling(G,`${c}.Style`),i.$$.dirty[0]&1048576&&m&&Y(),i.$$.dirty[0]&4194304&&x&&F()},[_,v,s,u,p,G,h,b,k,T,r,$,ee,z,H,o,a,g,w,d,m,c,x,ie,le,ne,oe]}class J extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,pe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},se,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype: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 translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(J,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=J;
|
|
@@ -0,0 +1,653 @@
|
|
|
1
|
+
import { a as _e, $ as we, S as Se, i as ke, s as Ge, f as M, b as Pe, n as O, d as x, h as F, j as y, k as Le, o as Me, l as je, C as $, r as m, v as H, w as se, m as R, p as v, q as U, B as T, O as xe, A as z, G as I, D as A, P as Fe, H as Te, I as Be, J as Oe, K as He, L as ze } from "./CasinoCalendar-BONyZpYE.js";
|
|
2
|
+
function ee(t, e) {
|
|
3
|
+
_e(t, e);
|
|
4
|
+
}
|
|
5
|
+
function Ae(t) {
|
|
6
|
+
we.set(t);
|
|
7
|
+
}
|
|
8
|
+
const te = {
|
|
9
|
+
en: {
|
|
10
|
+
collections: "Game Collections",
|
|
11
|
+
providers: "Game Providers",
|
|
12
|
+
loading: "Loading, please wait ..."
|
|
13
|
+
},
|
|
14
|
+
"zh-hk": {
|
|
15
|
+
collections: "收藏品",
|
|
16
|
+
providers: "供应商",
|
|
17
|
+
loading: "加載請稍候 ..."
|
|
18
|
+
},
|
|
19
|
+
de: {
|
|
20
|
+
collections: "Game Collections",
|
|
21
|
+
providers: "Game Providers",
|
|
22
|
+
loading: "Laden, bitte warten..."
|
|
23
|
+
},
|
|
24
|
+
it: {
|
|
25
|
+
collections: "Game Collections",
|
|
26
|
+
providers: "Game Providers",
|
|
27
|
+
loading: "Loading, please wait ..."
|
|
28
|
+
},
|
|
29
|
+
fr: {
|
|
30
|
+
collections: "Collections",
|
|
31
|
+
providers: "Fournisseurs",
|
|
32
|
+
loading: "Chargement, veuillez patienter ..."
|
|
33
|
+
},
|
|
34
|
+
es: {
|
|
35
|
+
collections: "Colecciones de juegos",
|
|
36
|
+
providers: "Proveedores de juegos",
|
|
37
|
+
loading: "Cargando…"
|
|
38
|
+
},
|
|
39
|
+
el: {
|
|
40
|
+
collections: "Game Collections",
|
|
41
|
+
providers: "Game Providers",
|
|
42
|
+
loading: "Φορτώνει, παρακαλούμε περιμένετε ..."
|
|
43
|
+
},
|
|
44
|
+
tr: {
|
|
45
|
+
collections: "Oyun Koleksiyonları",
|
|
46
|
+
providers: "Oyun Sağlayıcıları",
|
|
47
|
+
loading: "Yükleniyor, lütfen bekleyin..."
|
|
48
|
+
},
|
|
49
|
+
ru: {
|
|
50
|
+
collections: "Game Collections",
|
|
51
|
+
providers: "Game Providers",
|
|
52
|
+
loading: "Loading, please wait ..."
|
|
53
|
+
},
|
|
54
|
+
ro: {
|
|
55
|
+
collections: "Selectie Jocuri",
|
|
56
|
+
providers: "Furnizori",
|
|
57
|
+
loading: "Se încarcă, asteptati ..."
|
|
58
|
+
},
|
|
59
|
+
hr: {
|
|
60
|
+
collections: "Kolekcije igara",
|
|
61
|
+
providers: "Brendovi igara",
|
|
62
|
+
loading: "Učitavam"
|
|
63
|
+
},
|
|
64
|
+
hu: {
|
|
65
|
+
collections: "Game Collections",
|
|
66
|
+
providers: "Game Providers",
|
|
67
|
+
loading: "Betöltés, kérjük várjon..."
|
|
68
|
+
},
|
|
69
|
+
pl: {
|
|
70
|
+
collections: "Game Collections",
|
|
71
|
+
providers: "Game Providers",
|
|
72
|
+
loading: "Loading, please wait ..."
|
|
73
|
+
},
|
|
74
|
+
pt: {
|
|
75
|
+
collections: "Game Collections",
|
|
76
|
+
providers: "Game Providers",
|
|
77
|
+
loading: "Carregando, por favor espere ..."
|
|
78
|
+
},
|
|
79
|
+
sl: {
|
|
80
|
+
collections: "Game Collections",
|
|
81
|
+
providers: "Game Providers",
|
|
82
|
+
loading: "Loading, please wait ..."
|
|
83
|
+
},
|
|
84
|
+
sr: {
|
|
85
|
+
collections: "Game Collections",
|
|
86
|
+
providers: "Game Providers",
|
|
87
|
+
loading: "Loading, please wait ..."
|
|
88
|
+
},
|
|
89
|
+
"pt-br": {
|
|
90
|
+
collections: "Coleções de jogos",
|
|
91
|
+
providers: "Provedores de jogos",
|
|
92
|
+
Loading: "Carregando, por favor espere..."
|
|
93
|
+
},
|
|
94
|
+
"es-mx": {
|
|
95
|
+
collections: "Colecciones de juego",
|
|
96
|
+
providers: "Proveedores de juego",
|
|
97
|
+
Loading: "Cargando, por favor espere..."
|
|
98
|
+
},
|
|
99
|
+
"en-us": {
|
|
100
|
+
collections: "Game Collections",
|
|
101
|
+
providers: "Game Providers",
|
|
102
|
+
loading: "Loading, please wait ..."
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
function Ee(t) {
|
|
106
|
+
Pe(t, "svelte-nnjza6", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:60px;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
107
|
+
}
|
|
108
|
+
function ie(t, e, i) {
|
|
109
|
+
const n = t.slice();
|
|
110
|
+
return n[41] = e[i], n;
|
|
111
|
+
}
|
|
112
|
+
function oe(t, e, i) {
|
|
113
|
+
const n = t.slice();
|
|
114
|
+
return n[44] = e[i], n;
|
|
115
|
+
}
|
|
116
|
+
function Ne(t) {
|
|
117
|
+
let e, i, n, l = (
|
|
118
|
+
/*type*/
|
|
119
|
+
(t[0] === "vendor" ? (
|
|
120
|
+
/*$_*/
|
|
121
|
+
t[10]("providers")
|
|
122
|
+
) : (
|
|
123
|
+
/*$_*/
|
|
124
|
+
t[10]("collections")
|
|
125
|
+
)) + ""
|
|
126
|
+
), r, c, _, b, k, s = (
|
|
127
|
+
/*numberOfSlides*/
|
|
128
|
+
t[7] > /*numberOfVisibleSlides*/
|
|
129
|
+
t[8] && le(t)
|
|
130
|
+
), f = H(
|
|
131
|
+
/*gameCategories*/
|
|
132
|
+
t[3]
|
|
133
|
+
), a = [];
|
|
134
|
+
for (let d = 0; d < f.length; d += 1)
|
|
135
|
+
a[d] = ae(ie(t, f, d));
|
|
136
|
+
return {
|
|
137
|
+
c() {
|
|
138
|
+
e = y("div"), i = y("div"), n = y("p"), r = U(l), c = T(), s && s.c(), _ = T(), b = y("div");
|
|
139
|
+
for (let d = 0; d < a.length; d += 1)
|
|
140
|
+
a[d].c();
|
|
141
|
+
m(n, "class", "Title"), m(i, "class", "CategoriesHeader"), m(b, "class", "CategoriesSlider"), m(e, "class", k = "CasinoCollectionsProviders " + /*mobile*/
|
|
142
|
+
(t[9] ? "Mobile" : "") + " " + /*type*/
|
|
143
|
+
(t[0] === "vendor" ? "Providers" : "Collections"));
|
|
144
|
+
},
|
|
145
|
+
m(d, g) {
|
|
146
|
+
F(d, e, g), v(e, i), v(i, n), v(n, r), v(i, c), s && s.m(i, null), v(e, _), v(e, b);
|
|
147
|
+
for (let h = 0; h < a.length; h += 1)
|
|
148
|
+
a[h] && a[h].m(b, null);
|
|
149
|
+
t[25](b);
|
|
150
|
+
},
|
|
151
|
+
p(d, g) {
|
|
152
|
+
if (g[0] & /*type, $_*/
|
|
153
|
+
1025 && l !== (l = /*type*/
|
|
154
|
+
(d[0] === "vendor" ? (
|
|
155
|
+
/*$_*/
|
|
156
|
+
d[10]("providers")
|
|
157
|
+
) : (
|
|
158
|
+
/*$_*/
|
|
159
|
+
d[10]("collections")
|
|
160
|
+
)) + "") && R(r, l), /*numberOfSlides*/
|
|
161
|
+
d[7] > /*numberOfVisibleSlides*/
|
|
162
|
+
d[8] ? s ? s.p(d, g) : (s = le(d), s.c(), s.m(i, null)) : s && (s.d(1), s = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
|
163
|
+
24590) {
|
|
164
|
+
f = H(
|
|
165
|
+
/*gameCategories*/
|
|
166
|
+
d[3]
|
|
167
|
+
);
|
|
168
|
+
let h;
|
|
169
|
+
for (h = 0; h < f.length; h += 1) {
|
|
170
|
+
const u = ie(d, f, h);
|
|
171
|
+
a[h] ? a[h].p(u, g) : (a[h] = ae(u), a[h].c(), a[h].m(b, null));
|
|
172
|
+
}
|
|
173
|
+
for (; h < a.length; h += 1)
|
|
174
|
+
a[h].d(1);
|
|
175
|
+
a.length = f.length;
|
|
176
|
+
}
|
|
177
|
+
g[0] & /*mobile, type*/
|
|
178
|
+
513 && k !== (k = "CasinoCollectionsProviders " + /*mobile*/
|
|
179
|
+
(d[9] ? "Mobile" : "") + " " + /*type*/
|
|
180
|
+
(d[0] === "vendor" ? "Providers" : "Collections")) && m(e, "class", k);
|
|
181
|
+
},
|
|
182
|
+
d(d) {
|
|
183
|
+
d && x(e), s && s.d(), se(a, d), t[25](null);
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
function Ie(t) {
|
|
188
|
+
let e;
|
|
189
|
+
return {
|
|
190
|
+
c() {
|
|
191
|
+
e = y("div"), m(e, "class", "LoadingSpinner");
|
|
192
|
+
},
|
|
193
|
+
m(i, n) {
|
|
194
|
+
F(i, e, n);
|
|
195
|
+
},
|
|
196
|
+
p: O,
|
|
197
|
+
d(i) {
|
|
198
|
+
i && x(e);
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
function le(t) {
|
|
203
|
+
let e, i, n, l, r, c;
|
|
204
|
+
return {
|
|
205
|
+
c() {
|
|
206
|
+
e = y("div"), i = y("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = T(), l = y("button"), l.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', m(e, "class", "ButtonsContainer");
|
|
207
|
+
},
|
|
208
|
+
m(_, b) {
|
|
209
|
+
F(_, e, b), v(e, i), v(e, n), v(e, l), r || (c = [
|
|
210
|
+
z(
|
|
211
|
+
i,
|
|
212
|
+
"click",
|
|
213
|
+
/*sliderScrollLeft*/
|
|
214
|
+
t[11]
|
|
215
|
+
),
|
|
216
|
+
z(
|
|
217
|
+
l,
|
|
218
|
+
"click",
|
|
219
|
+
/*sliderScrollRight*/
|
|
220
|
+
t[12]
|
|
221
|
+
)
|
|
222
|
+
], r = !0);
|
|
223
|
+
},
|
|
224
|
+
p: O,
|
|
225
|
+
d(_) {
|
|
226
|
+
_ && x(e), r = !1, xe(c);
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
function Re(t) {
|
|
231
|
+
let e, i = (
|
|
232
|
+
/*category*/
|
|
233
|
+
t[41].name + ""
|
|
234
|
+
), n;
|
|
235
|
+
return {
|
|
236
|
+
c() {
|
|
237
|
+
e = y("p"), n = U(i), m(e, "class", "CategorySlideTitle");
|
|
238
|
+
},
|
|
239
|
+
m(l, r) {
|
|
240
|
+
F(l, e, r), v(e, n);
|
|
241
|
+
},
|
|
242
|
+
p(l, r) {
|
|
243
|
+
r[0] & /*gameCategories*/
|
|
244
|
+
8 && i !== (i = /*category*/
|
|
245
|
+
l[41].name + "") && R(n, i);
|
|
246
|
+
},
|
|
247
|
+
d(l) {
|
|
248
|
+
l && x(e);
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
function Ue(t) {
|
|
253
|
+
let e, i, n;
|
|
254
|
+
return {
|
|
255
|
+
c() {
|
|
256
|
+
e = y("img"), m(e, "class", "CategorySlideLogo"), A(e.src, i = /*category*/
|
|
257
|
+
t[41].icon) || m(e, "src", i), m(e, "alt", n = /*category*/
|
|
258
|
+
t[41].name + " icon");
|
|
259
|
+
},
|
|
260
|
+
m(l, r) {
|
|
261
|
+
F(l, e, r);
|
|
262
|
+
},
|
|
263
|
+
p(l, r) {
|
|
264
|
+
r[0] & /*gameCategories*/
|
|
265
|
+
8 && !A(e.src, i = /*category*/
|
|
266
|
+
l[41].icon) && m(e, "src", i), r[0] & /*gameCategories*/
|
|
267
|
+
8 && n !== (n = /*category*/
|
|
268
|
+
l[41].name + " icon") && m(e, "alt", n);
|
|
269
|
+
},
|
|
270
|
+
d(l) {
|
|
271
|
+
l && x(e);
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
function ne(t) {
|
|
276
|
+
let e, i = (
|
|
277
|
+
/*game*/
|
|
278
|
+
t[44].name + ""
|
|
279
|
+
), n, l;
|
|
280
|
+
return {
|
|
281
|
+
c() {
|
|
282
|
+
e = y("p"), n = U(i), m(e, "title", l = /*game*/
|
|
283
|
+
t[44].name);
|
|
284
|
+
},
|
|
285
|
+
m(r, c) {
|
|
286
|
+
F(r, e, c), v(e, n);
|
|
287
|
+
},
|
|
288
|
+
p(r, c) {
|
|
289
|
+
c[0] & /*gameCategories*/
|
|
290
|
+
8 && i !== (i = /*game*/
|
|
291
|
+
r[44].name + "") && R(n, i), c[0] & /*gameCategories*/
|
|
292
|
+
8 && l !== (l = /*game*/
|
|
293
|
+
r[44].name) && m(e, "title", l);
|
|
294
|
+
},
|
|
295
|
+
d(r) {
|
|
296
|
+
r && x(e);
|
|
297
|
+
}
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
function re(t) {
|
|
301
|
+
let e, i, n, l, r, c, _, b;
|
|
302
|
+
function k() {
|
|
303
|
+
return (
|
|
304
|
+
/*click_handler*/
|
|
305
|
+
t[23](
|
|
306
|
+
/*game*/
|
|
307
|
+
t[44]
|
|
308
|
+
)
|
|
309
|
+
);
|
|
310
|
+
}
|
|
311
|
+
let s = (
|
|
312
|
+
/*collectionprovidersgamenames*/
|
|
313
|
+
t[2] == "true" && ne(t)
|
|
314
|
+
);
|
|
315
|
+
return {
|
|
316
|
+
c() {
|
|
317
|
+
e = y("div"), i = y("img"), r = T(), s && s.c(), c = T(), m(i, "class", "CategorySlideGameImage"), A(i.src, n = /*game*/
|
|
318
|
+
t[44].defaultThumbnail) || m(i, "src", n), m(i, "alt", l = /*game*/
|
|
319
|
+
t[44].name), m(e, "class", "CategorySlideGames");
|
|
320
|
+
},
|
|
321
|
+
m(f, a) {
|
|
322
|
+
F(f, e, a), v(e, i), v(e, r), s && s.m(e, null), v(e, c), _ || (b = z(i, "click", Fe(k)), _ = !0);
|
|
323
|
+
},
|
|
324
|
+
p(f, a) {
|
|
325
|
+
t = f, a[0] & /*gameCategories*/
|
|
326
|
+
8 && !A(i.src, n = /*game*/
|
|
327
|
+
t[44].defaultThumbnail) && m(i, "src", n), a[0] & /*gameCategories*/
|
|
328
|
+
8 && l !== (l = /*game*/
|
|
329
|
+
t[44].name) && m(i, "alt", l), /*collectionprovidersgamenames*/
|
|
330
|
+
t[2] == "true" ? s ? s.p(t, a) : (s = ne(t), s.c(), s.m(e, c)) : s && (s.d(1), s = null);
|
|
331
|
+
},
|
|
332
|
+
d(f) {
|
|
333
|
+
f && x(e), s && s.d(), _ = !1, b();
|
|
334
|
+
}
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
function ae(t) {
|
|
338
|
+
let e, i, n, l, r, c, _, b, k;
|
|
339
|
+
function s(u, p) {
|
|
340
|
+
if (
|
|
341
|
+
/*titletype*/
|
|
342
|
+
u[1] === "logo"
|
|
343
|
+
)
|
|
344
|
+
return Ue;
|
|
345
|
+
if (
|
|
346
|
+
/*titletype*/
|
|
347
|
+
u[1] === "title"
|
|
348
|
+
)
|
|
349
|
+
return Re;
|
|
350
|
+
}
|
|
351
|
+
let f = s(t), a = f && f(t), d = H(
|
|
352
|
+
/*category*/
|
|
353
|
+
t[41].games
|
|
354
|
+
), g = [];
|
|
355
|
+
for (let u = 0; u < d.length; u += 1)
|
|
356
|
+
g[u] = re(oe(t, d, u));
|
|
357
|
+
function h() {
|
|
358
|
+
return (
|
|
359
|
+
/*click_handler_1*/
|
|
360
|
+
t[24](
|
|
361
|
+
/*category*/
|
|
362
|
+
t[41]
|
|
363
|
+
)
|
|
364
|
+
);
|
|
365
|
+
}
|
|
366
|
+
return {
|
|
367
|
+
c() {
|
|
368
|
+
var u, p;
|
|
369
|
+
e = y("div"), i = y("div"), n = y("div"), a && a.c(), l = T(), r = y("div");
|
|
370
|
+
for (let C = 0; C < g.length; C += 1)
|
|
371
|
+
g[C].c();
|
|
372
|
+
_ = T(), m(n, "class", "CategorySlideTopContainer"), m(r, "class", "CategorySlideGameContainer"), m(i, "class", c = "CategorySlide " + /*category*/
|
|
373
|
+
(((u = t[41]) == null ? void 0 : u.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), I(i, "background-image", "url(" + /*category*/
|
|
374
|
+
((p = t[41]) == null ? void 0 : p.background) + ")"), I(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
|
|
375
|
+
},
|
|
376
|
+
m(u, p) {
|
|
377
|
+
F(u, e, p), v(e, i), v(i, n), a && a.m(n, null), v(i, l), v(i, r);
|
|
378
|
+
for (let C = 0; C < g.length; C += 1)
|
|
379
|
+
g[C] && g[C].m(r, null);
|
|
380
|
+
v(e, _), b || (k = z(i, "click", h), b = !0);
|
|
381
|
+
},
|
|
382
|
+
p(u, p) {
|
|
383
|
+
var C, P;
|
|
384
|
+
if (t = u, f === (f = s(t)) && a ? a.p(t, p) : (a && a.d(1), a = f && f(t), a && (a.c(), a.m(n, null))), p[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
|
385
|
+
8204) {
|
|
386
|
+
d = H(
|
|
387
|
+
/*category*/
|
|
388
|
+
t[41].games
|
|
389
|
+
);
|
|
390
|
+
let S;
|
|
391
|
+
for (S = 0; S < d.length; S += 1) {
|
|
392
|
+
const B = oe(t, d, S);
|
|
393
|
+
g[S] ? g[S].p(B, p) : (g[S] = re(B), g[S].c(), g[S].m(r, null));
|
|
394
|
+
}
|
|
395
|
+
for (; S < g.length; S += 1)
|
|
396
|
+
g[S].d(1);
|
|
397
|
+
g.length = d.length;
|
|
398
|
+
}
|
|
399
|
+
p[0] & /*gameCategories*/
|
|
400
|
+
8 && c !== (c = "CategorySlide " + /*category*/
|
|
401
|
+
(((C = t[41]) == null ? void 0 : C.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && m(i, "class", c), p[0] & /*gameCategories*/
|
|
402
|
+
8 && I(i, "background-image", "url(" + /*category*/
|
|
403
|
+
((P = t[41]) == null ? void 0 : P.background) + ")");
|
|
404
|
+
},
|
|
405
|
+
d(u) {
|
|
406
|
+
u && x(e), a && a.d(), se(g, u), b = !1, k();
|
|
407
|
+
}
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
function qe(t) {
|
|
411
|
+
let e;
|
|
412
|
+
function i(r, c) {
|
|
413
|
+
return (
|
|
414
|
+
/*isLoading*/
|
|
415
|
+
r[6] ? Ie : Ne
|
|
416
|
+
);
|
|
417
|
+
}
|
|
418
|
+
let n = i(t), l = n(t);
|
|
419
|
+
return {
|
|
420
|
+
c() {
|
|
421
|
+
e = y("div"), l.c();
|
|
422
|
+
},
|
|
423
|
+
m(r, c) {
|
|
424
|
+
F(r, e, c), l.m(e, null), t[26](e);
|
|
425
|
+
},
|
|
426
|
+
p(r, c) {
|
|
427
|
+
n === (n = i(r)) && l ? l.p(r, c) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
|
|
428
|
+
},
|
|
429
|
+
i: O,
|
|
430
|
+
o: O,
|
|
431
|
+
d(r) {
|
|
432
|
+
r && x(e), l.d(), t[26](null);
|
|
433
|
+
}
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
function Ve(t, e, i) {
|
|
437
|
+
let n;
|
|
438
|
+
Le(t, ze, (o) => i(10, n = o));
|
|
439
|
+
let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: c = "" } = e, { type: _ = "" } = e, { titletype: b = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: d } = e, g = [], h = !0, u, p = 0, C = 0, P = 0, S, B, q = 0, E = 50, N = !1, L, de = window.navigator.userAgent, V;
|
|
440
|
+
const ce = () => {
|
|
441
|
+
fetch(f).then((w) => w.json()).then((w) => {
|
|
442
|
+
Object.keys(w).forEach((j) => {
|
|
443
|
+
ee(j, w[j]);
|
|
444
|
+
});
|
|
445
|
+
}).catch((w) => {
|
|
446
|
+
console.log(w);
|
|
447
|
+
});
|
|
448
|
+
};
|
|
449
|
+
Object.keys(te).forEach((o) => {
|
|
450
|
+
ee(o, te[o]);
|
|
451
|
+
});
|
|
452
|
+
const W = () => {
|
|
453
|
+
const o = new URL(`${l}/v2/casino/groups/${r}`);
|
|
454
|
+
o.searchParams.append("language", c), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${_})`), o.searchParams.append("pagination", `offset=${q},limit=${E}`), fetch(o.href).then((w) => w.json()).then((w) => {
|
|
455
|
+
i(6, h = !1), w.total > E && (q += 50, E += 50, i(22, N = !0));
|
|
456
|
+
let j = w.items.map((G) => {
|
|
457
|
+
var Y, D, Q;
|
|
458
|
+
return {
|
|
459
|
+
id: G.id,
|
|
460
|
+
name: G.name,
|
|
461
|
+
icon: G.icon ? G.icon : (Q = (D = (Y = G.vendors) == null ? void 0 : Y.items[0]) == null ? void 0 : D.subVendors[0]) == null ? void 0 : Q.logo,
|
|
462
|
+
games: G.games.items.slice(0, 4).map((ye) => ye),
|
|
463
|
+
background: G.background,
|
|
464
|
+
flag: G.flags
|
|
465
|
+
};
|
|
466
|
+
});
|
|
467
|
+
i(3, g = [...g, ...j]), i(7, C = g.length), ge();
|
|
468
|
+
});
|
|
469
|
+
}, ge = () => {
|
|
470
|
+
const o = L.getRootNode().host;
|
|
471
|
+
o.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: o } }));
|
|
472
|
+
}, K = (o) => {
|
|
473
|
+
var w;
|
|
474
|
+
B = [...u.children], B.forEach((j, G) => {
|
|
475
|
+
j.style.transform = `translateX(${100 * (o ? G - o : G)}%)`;
|
|
476
|
+
}), S = (w = B[0]) == null ? void 0 : w.getBoundingClientRect().width, ue();
|
|
477
|
+
}, ue = () => {
|
|
478
|
+
i(8, P = Math.floor(u.clientWidth / S));
|
|
479
|
+
}, J = () => {
|
|
480
|
+
K(p);
|
|
481
|
+
}, me = () => {
|
|
482
|
+
p === 0 ? p = C - P : p - P < -1 ? p = 0 : p--, J();
|
|
483
|
+
}, fe = () => {
|
|
484
|
+
p === C - P ? p = 0 : C - P < p + 1 ? p = C - P : p++, J();
|
|
485
|
+
}, Z = (o, w, j, G) => {
|
|
486
|
+
window.postMessage(
|
|
487
|
+
{
|
|
488
|
+
type: "OpenCollectionsProvidersGame",
|
|
489
|
+
gameId: o,
|
|
490
|
+
launchUrl: w,
|
|
491
|
+
gameName: j,
|
|
492
|
+
subVendor: G
|
|
493
|
+
},
|
|
494
|
+
window.location.href
|
|
495
|
+
), typeof gtag == "function" && gtag("event", "OpenGame", {
|
|
496
|
+
context: "CollectionsProviders",
|
|
497
|
+
gameName: `${j}`
|
|
498
|
+
});
|
|
499
|
+
}, X = (o) => {
|
|
500
|
+
window.postMessage(
|
|
501
|
+
{
|
|
502
|
+
type: "OpenCollectionsProvidersCategory",
|
|
503
|
+
categoryId: o
|
|
504
|
+
},
|
|
505
|
+
window.location.href
|
|
506
|
+
);
|
|
507
|
+
}, pe = () => {
|
|
508
|
+
Ae(c);
|
|
509
|
+
};
|
|
510
|
+
Me(() => (i(9, V = je(de)), () => {
|
|
511
|
+
}));
|
|
512
|
+
const he = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), ve = (o) => X(o.id);
|
|
513
|
+
function be(o) {
|
|
514
|
+
$[o ? "unshift" : "push"](() => {
|
|
515
|
+
u = o, i(4, u);
|
|
516
|
+
});
|
|
517
|
+
}
|
|
518
|
+
function Ce(o) {
|
|
519
|
+
$[o ? "unshift" : "push"](() => {
|
|
520
|
+
L = o, i(5, L);
|
|
521
|
+
});
|
|
522
|
+
}
|
|
523
|
+
return t.$$set = (o) => {
|
|
524
|
+
"endpoint" in o && i(15, l = o.endpoint), "datasource" in o && i(16, r = o.datasource), "lang" in o && i(17, c = o.lang), "type" in o && i(0, _ = o.type), "titletype" in o && i(1, b = o.titletype), "clientstyling" in o && i(18, k = o.clientstyling), "clientstylingurl" in o && i(19, s = o.clientstylingurl), "translationurl" in o && i(20, f = o.translationurl), "collectionprovidersgamenames" in o && i(2, a = o.collectionprovidersgamenames), "mbsource" in o && i(21, d = o.mbsource);
|
|
525
|
+
}, t.$$.update = () => {
|
|
526
|
+
t.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
527
|
+
229376 && l && r && c && W(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
|
|
528
|
+
24 && g && u && K(), t.$$.dirty[0] & /*lang*/
|
|
529
|
+
131072 && c && pe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
530
|
+
262176 && k && L && Te(L, k), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
531
|
+
524320 && s && L && Be(L, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
532
|
+
2097184 && L && Oe(L, `${d}.Style`), t.$$.dirty[0] & /*translationurl*/
|
|
533
|
+
1048576 && f && ce(), t.$$.dirty[0] & /*paginationrequired*/
|
|
534
|
+
4194304 && N && W();
|
|
535
|
+
}, [
|
|
536
|
+
_,
|
|
537
|
+
b,
|
|
538
|
+
a,
|
|
539
|
+
g,
|
|
540
|
+
u,
|
|
541
|
+
L,
|
|
542
|
+
h,
|
|
543
|
+
C,
|
|
544
|
+
P,
|
|
545
|
+
V,
|
|
546
|
+
n,
|
|
547
|
+
me,
|
|
548
|
+
fe,
|
|
549
|
+
Z,
|
|
550
|
+
X,
|
|
551
|
+
l,
|
|
552
|
+
r,
|
|
553
|
+
c,
|
|
554
|
+
k,
|
|
555
|
+
s,
|
|
556
|
+
f,
|
|
557
|
+
d,
|
|
558
|
+
N,
|
|
559
|
+
he,
|
|
560
|
+
ve,
|
|
561
|
+
be,
|
|
562
|
+
Ce
|
|
563
|
+
];
|
|
564
|
+
}
|
|
565
|
+
class We extends Se {
|
|
566
|
+
constructor(e) {
|
|
567
|
+
super(), ke(
|
|
568
|
+
this,
|
|
569
|
+
e,
|
|
570
|
+
Ve,
|
|
571
|
+
qe,
|
|
572
|
+
Ge,
|
|
573
|
+
{
|
|
574
|
+
endpoint: 15,
|
|
575
|
+
datasource: 16,
|
|
576
|
+
lang: 17,
|
|
577
|
+
type: 0,
|
|
578
|
+
titletype: 1,
|
|
579
|
+
clientstyling: 18,
|
|
580
|
+
clientstylingurl: 19,
|
|
581
|
+
translationurl: 20,
|
|
582
|
+
collectionprovidersgamenames: 2,
|
|
583
|
+
mbsource: 21
|
|
584
|
+
},
|
|
585
|
+
Ee,
|
|
586
|
+
[-1, -1]
|
|
587
|
+
);
|
|
588
|
+
}
|
|
589
|
+
get endpoint() {
|
|
590
|
+
return this.$$.ctx[15];
|
|
591
|
+
}
|
|
592
|
+
set endpoint(e) {
|
|
593
|
+
this.$$set({ endpoint: e }), M();
|
|
594
|
+
}
|
|
595
|
+
get datasource() {
|
|
596
|
+
return this.$$.ctx[16];
|
|
597
|
+
}
|
|
598
|
+
set datasource(e) {
|
|
599
|
+
this.$$set({ datasource: e }), M();
|
|
600
|
+
}
|
|
601
|
+
get lang() {
|
|
602
|
+
return this.$$.ctx[17];
|
|
603
|
+
}
|
|
604
|
+
set lang(e) {
|
|
605
|
+
this.$$set({ lang: e }), M();
|
|
606
|
+
}
|
|
607
|
+
get type() {
|
|
608
|
+
return this.$$.ctx[0];
|
|
609
|
+
}
|
|
610
|
+
set type(e) {
|
|
611
|
+
this.$$set({ type: e }), M();
|
|
612
|
+
}
|
|
613
|
+
get titletype() {
|
|
614
|
+
return this.$$.ctx[1];
|
|
615
|
+
}
|
|
616
|
+
set titletype(e) {
|
|
617
|
+
this.$$set({ titletype: e }), M();
|
|
618
|
+
}
|
|
619
|
+
get clientstyling() {
|
|
620
|
+
return this.$$.ctx[18];
|
|
621
|
+
}
|
|
622
|
+
set clientstyling(e) {
|
|
623
|
+
this.$$set({ clientstyling: e }), M();
|
|
624
|
+
}
|
|
625
|
+
get clientstylingurl() {
|
|
626
|
+
return this.$$.ctx[19];
|
|
627
|
+
}
|
|
628
|
+
set clientstylingurl(e) {
|
|
629
|
+
this.$$set({ clientstylingurl: e }), M();
|
|
630
|
+
}
|
|
631
|
+
get translationurl() {
|
|
632
|
+
return this.$$.ctx[20];
|
|
633
|
+
}
|
|
634
|
+
set translationurl(e) {
|
|
635
|
+
this.$$set({ translationurl: e }), M();
|
|
636
|
+
}
|
|
637
|
+
get collectionprovidersgamenames() {
|
|
638
|
+
return this.$$.ctx[2];
|
|
639
|
+
}
|
|
640
|
+
set collectionprovidersgamenames(e) {
|
|
641
|
+
this.$$set({ collectionprovidersgamenames: e }), M();
|
|
642
|
+
}
|
|
643
|
+
get mbsource() {
|
|
644
|
+
return this.$$.ctx[21];
|
|
645
|
+
}
|
|
646
|
+
set mbsource(e) {
|
|
647
|
+
this.$$set({ mbsource: e }), M();
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
He(We, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
|
651
|
+
export {
|
|
652
|
+
We as default
|
|
653
|
+
};
|