@everymatrix/casino-lobby 1.74.2 → 1.74.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/{CasinoCalendar-W89MyM3R.js → CasinoCalendar-DG7wVbWu.js} +991 -1005
- package/components/{CasinoCalendar-D4jWXhPt.js → CasinoCalendar-JGC8iAmb.js} +777 -791
- package/components/CasinoCalendar-Lny8nE88.cjs +19 -0
- package/components/CasinoCalendarDailyDetails-B1QlX7pP.cjs +1 -0
- package/components/{CasinoCalendarDailyDetails-ZqdthZ8T.js → CasinoCalendarDailyDetails-D2Mvhg3d.js} +75 -75
- package/components/{CasinoCalendarDailyDetails-B7a0AWc5.js → CasinoCalendarDailyDetails-DtXvJMxo.js} +75 -75
- package/components/{CasinoCalendarDailyItem-C_KcFF9v.js → CasinoCalendarDailyItem-78PMeiVD.js} +6 -6
- package/components/{CasinoCalendarDailyItem-BofIs4hH.cjs → CasinoCalendarDailyItem-D38_TXnL.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-B4VNj6qm.js → CasinoCalendarDailyItem-sqWHyzUD.js} +6 -6
- package/components/CasinoCategoriesSlider-CkofNfGv.cjs +1 -0
- package/components/{CasinoCategoriesSlider-BNtVy9dZ.js → CasinoCategoriesSlider-DMCT0Ezx.js} +64 -64
- package/components/{CasinoCategoriesSlider-ByWiiCre.js → CasinoCategoriesSlider-mHkbwSha.js} +64 -64
- package/components/{CasinoCollectionsProviders-sp73chER.js → CasinoCollectionsProviders-53NjCkkY.js} +4 -4
- package/components/{CasinoCollectionsProviders-BWHjNJ7D.js → CasinoCollectionsProviders-B5vb4heG.js} +4 -4
- package/components/{CasinoCollectionsProviders-Iwvjux90.cjs → CasinoCollectionsProviders-CvxpEqbb.cjs} +1 -1
- package/components/{CasinoFavoritesSection-DL9l3rme.js → CasinoFavoritesSection-BNkF6EnC.js} +5 -5
- package/components/{CasinoFavoritesSection-CNJE8CmR.js → CasinoFavoritesSection-DU90AeQB.js} +5 -5
- package/components/{CasinoFavoritesSection-DCveWnxo.cjs → CasinoFavoritesSection-O59VpuZn.cjs} +1 -1
- package/components/{CasinoFilter-BJ9RAH6X.js → CasinoFilter-BiK6Q5Ri.js} +253 -254
- package/components/CasinoFilter-DHfJy1ot.cjs +1 -0
- package/components/{CasinoFilter-CEPRTXcd.js → CasinoFilter-ZSdevwFV.js} +225 -224
- package/components/{CasinoGameThumbnail-ByNzt_lj.js → CasinoGameThumbnail-9TykiisT.js} +1239 -1255
- package/components/CasinoGameThumbnail-CXu0N008.cjs +47 -0
- package/components/{CasinoGameThumbnail-BLX7B2C9.js → CasinoGameThumbnail-DLA7Der0.js} +768 -752
- package/components/{CasinoGamesCategorySection-DLtyXL4y.js → CasinoGamesCategorySection-BPGbdT_b.js} +179 -179
- package/components/{CasinoGamesCategorySection-CkaPpe4H.js → CasinoGamesCategorySection-BR29T3CL.js} +176 -176
- package/components/CasinoGamesCategorySection-DkHDQ6kS.cjs +1 -0
- package/components/{CasinoJackpotBanner-D1FBank_.cjs → CasinoJackpotBanner-CFg4HAum.cjs} +1 -1
- package/components/{CasinoJackpotBanner-0_7xAHq_.js → CasinoJackpotBanner-CxkX5wCt.js} +8 -8
- package/components/{CasinoJackpotBanner-suOjEdKK.js → CasinoJackpotBanner-tA8EJuzi.js} +8 -8
- package/components/{CasinoLastPlayedSection-iNRVps0U.js → CasinoLastPlayedSection-Bkqbp3Ir.js} +12 -12
- package/components/{CasinoLastPlayedSection-DeRqmDvT.cjs → CasinoLastPlayedSection-CT4aFgD9.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-EIkfMv8e.js → CasinoLastPlayedSection-DFNEquN4.js} +12 -12
- package/components/{CasinoLobby-CdXuoMWk.cjs → CasinoLobby-7XXNVo7H.cjs} +1 -1
- package/components/{CasinoLobby-C_n2KRef.js → CasinoLobby-DUsExkd3.js} +7 -7
- package/components/{CasinoLobby-B66cbcSf.js → CasinoLobby-WhaUj1mn.js} +7 -7
- package/components/{CasinoMostPlayedSection-D8RGYKns.js → CasinoMostPlayedSection-BTeTjexy.js} +13 -13
- package/components/{CasinoMostPlayedSection-QkJYVQSD.js → CasinoMostPlayedSection-BTqu89rQ.js} +13 -13
- package/components/{CasinoMostPlayedSection-CFC20GVB.cjs → CasinoMostPlayedSection-C6x1VRif.cjs} +1 -1
- package/components/{CasinoMyGames-C5h1cvdX.js → CasinoMyGames-54QuL7AC.js} +8 -8
- package/components/{CasinoMyGames-XuPrviRw.js → CasinoMyGames-6WUHWOPU.js} +8 -8
- package/components/{CasinoMyGames-DGNRAJan.cjs → CasinoMyGames-gtr6v2Sz.cjs} +1 -1
- package/components/{CasinoPage-DxnqqgsK.cjs → CasinoPage-BFSGJKkf.cjs} +1 -1
- package/components/{CasinoPage-CaJ_4wEu.js → CasinoPage-Dvsm7N3x.js} +15 -15
- package/components/{CasinoPage-zqbBeRpH.js → CasinoPage-uFnsu_kK.js} +15 -15
- package/components/{CasinoRandomGame-CP2us9wQ.cjs → CasinoRandomGame-CZhFbu1G.cjs} +2 -2
- package/components/{CasinoRandomGame-DxRM8_Bw.js → CasinoRandomGame-D6DfhsMo.js} +83 -83
- package/components/{CasinoRandomGame-BP_u-dZo.js → CasinoRandomGame-y0dORDv9.js} +12 -12
- package/components/{CasinoSearch-DUVU8u9P.js → CasinoSearch-BYqwTiCp.js} +5 -5
- package/components/{CasinoSearch-DYLKBkXz.js → CasinoSearch-CIipT1_4.js} +5 -5
- package/components/{CasinoSearch-E6byHH4y.cjs → CasinoSearch-mG5BeabE.cjs} +1 -1
- package/components/{CasinoSlider-DIeqeNfV.js → CasinoSlider-DAxkG-Ar.js} +4 -4
- package/components/{CasinoSlider-CKrkEFp2.cjs → CasinoSlider-DO5tHrHM.cjs} +1 -1
- package/components/{CasinoSlider-D4GSh0Rr.js → CasinoSlider-DqlUJp-J.js} +4 -4
- package/components/{CasinoSort-zYMJUN8W.js → CasinoSort-9iLlcWNg.js} +94 -93
- package/components/{CasinoSort-DnffDijG.cjs → CasinoSort-BQCWdQsU.cjs} +1 -1
- package/components/{CasinoSort-CWqOWBmI.js → CasinoSort-QHZXA8-P.js} +102 -103
- package/components/{CasinoWinners-BD8HtIIt.js → CasinoWinners-5bdb2NyW.js} +122 -122
- package/components/{CasinoWinners-CgGvis-Q.cjs → CasinoWinners-CK2tIq3Z.cjs} +1 -1
- package/components/{CasinoWinners-vOM5e-zn.js → CasinoWinners-D0CgROGN.js} +126 -126
- package/components/{GeneralAnimationLoading-B9fWkZ6F.js → GeneralAnimationLoading-BGfoYrCy.js} +7 -7
- package/components/{GeneralAnimationLoading-SN6B4e8D.js → GeneralAnimationLoading-BIaudZkc.js} +7 -7
- package/components/{GeneralAnimationLoading-CB353I6v.cjs → GeneralAnimationLoading-CaB8gNWp.cjs} +1 -1
- 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-qroM0e64.js → casino-play-random-game-Bc2XLGRl.js} +2 -2
- package/stencil/{casino-play-random-game-uBjWXXLi.js → casino-play-random-game-d1PoE_Vf.js} +2 -2
- package/stencil/{casino-play-random-game-C3hhQjhn.cjs → casino-play-random-game-wi94nFPy.cjs} +2 -2
- package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
- package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
- package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
- package/stencil/index-ab3202d6-BwBGn0Oj.cjs +1 -0
- package/stencil/{index-ab3202d6-CoRS04SH.js → index-ab3202d6-CiI9jxo9.js} +214 -214
- package/stencil/{index-ab3202d6-CSUArOSv.js → index-ab3202d6-Cowbr6qN.js} +209 -209
- package/stencil/{index-b2193545-kN0z2MLt.js → index-b2193545-BL364Gzq.js} +169 -169
- package/stencil/{index-b2193545-D_cUvAA-.js → index-b2193545-DdqB2rk5.js} +176 -176
- package/stencil/index-b2193545-DmjUkkS8.cjs +1 -0
- package/stencil/{ui-image-I_uR7pAI.js → ui-image-B_HWMBI-.js} +1 -1
- package/stencil/{ui-image-BAqS-hS6.js → ui-image-CzGNxx73.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
- package/stencil/{ui-image-CH2Jdp7k.cjs → ui-image-wubI3fkK.cjs} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-CzFe50WB.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-z5LhXZY2.js} +2 -2
- package/stencil/{ui-skeleton-C0GZ2ncD.js → ui-skeleton-CsmgJUYN.js} +2 -2
- package/stencil/{ui-skeleton-5mt1L8pA.cjs → ui-skeleton-DTQ__6LQ.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BmKf7IvD.js → ui-skeleton-ae35c6f2-BRNiEwlg.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CQ3pH6qH.cjs → ui-skeleton-ae35c6f2-CZuWo9GO.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BSwiS43c.js → ui-skeleton-ae35c6f2-CxSezPtG.js} +1 -1
- package/stencil/{ui-skeleton-CYeeBz0Q.js → ui-skeleton-yRWBmyfK.js} +2 -2
- package/components/CasinoCalendar-wYGJExu0.cjs +0 -19
- package/components/CasinoCalendarDailyDetails-CIDfmzEU.cjs +0 -1
- package/components/CasinoCategoriesSlider-DXG58TlK.cjs +0 -1
- package/components/CasinoFilter-Bwx_m9X7.cjs +0 -1
- package/components/CasinoGameThumbnail-DAYBIv1-.cjs +0 -47
- package/components/CasinoGamesCategorySection-Bcy4b4v7.cjs +0 -1
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
- package/stencil/index-ab3202d6-DitihRZv.cjs +0 -1
- package/stencil/index-b2193545-3zPNeE9v.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-wYGJExu0.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;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-Lny8nE88.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;
|
package/components/{CasinoFavoritesSection-DL9l3rme.js → CasinoFavoritesSection-BNkF6EnC.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as E, Q as O, S as R, i as j, f as l, c as z, s as G, b as H, e as A, y as Q, d as D, G as q, j as I, o as T,
|
|
1
|
+
import { $ as E, Q as O, S as R, i as j, f as l, c as z, s as G, b as H, e as A, y as Q, d as D, G as q, j as I, o as T, H as s, n as U, p as V, q as B, r as J } from "./CasinoCalendar-JGC8iAmb.js";
|
|
2
2
|
if (typeof window != "undefined") {
|
|
3
3
|
let n = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,7 +11,7 @@ if (typeof window != "undefined") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-
|
|
14
|
+
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-BR29T3CL.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -266,7 +266,7 @@ function W(n, e, t) {
|
|
|
266
266
|
K({ withLocale: "en", translations: {} }), T(() => () => {
|
|
267
267
|
});
|
|
268
268
|
function M(i) {
|
|
269
|
-
|
|
269
|
+
U[i ? "unshift" : "push"](() => {
|
|
270
270
|
m = i, t(18, m);
|
|
271
271
|
});
|
|
272
272
|
}
|
|
@@ -274,8 +274,8 @@ function W(n, e, t) {
|
|
|
274
274
|
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, g = i.datasource), "currency" in i && t(2, u = i.currency), "lang" in i && t(3, f = i.lang), "session" in i && t(4, h = i.session), "userid" in i && t(5, d = i.userid), "clientstyling" in i && t(6, r = i.clientstyling), "clientstylingurl" in i && t(7, o = i.clientstylingurl), "livecasino" in i && t(8, y = i.livecasino), "integratedgameframemobile" in i && t(9, b = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(10, v = i.integratedgameframedesktop), "showgamename" in i && t(11, w = i.showgamename), "gamepagemodalurl" in i && t(12, _ = i.gamepagemodalurl), "visiblegames" in i && t(13, k = i.visiblegames), "favorites" in i && t(14, C = i.favorites), "casinomygames" in i && t(15, S = i.casinomygames), "fetchviaevent" in i && t(16, F = i.fetchviaevent), "mbsource" in i && t(17, c = i.mbsource);
|
|
275
275
|
}, n.$$.update = () => {
|
|
276
276
|
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
277
|
-
262208 && r && m &&
|
|
278
|
-
262272 && o && m &&
|
|
277
|
+
262208 && r && m && V(m, r), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
278
|
+
262272 && o && m && B(m, o), n.$$.dirty & /*customStylingContainer, mbsource*/
|
|
279
279
|
393216 && m && J(m, `${c}.Style`);
|
|
280
280
|
}, [
|
|
281
281
|
a,
|
package/components/{CasinoFavoritesSection-CNJE8CmR.js → CasinoFavoritesSection-DU90AeQB.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as E, Q as O, S as R, i as j, f as l, c as z, s as G, b as H, e as A, y as Q, d as D, G as q, j as I, o as T,
|
|
1
|
+
import { $ as E, Q as O, S as R, i as j, f as l, c as z, s as G, b as H, e as A, y as Q, d as D, G as q, j as I, o as T, H as s, n as U, p as V, q as B, r as J } from "./CasinoCalendar-DG7wVbWu.js";
|
|
2
2
|
if (typeof window < "u") {
|
|
3
3
|
let n = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,7 +11,7 @@ if (typeof window < "u") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-
|
|
14
|
+
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-BPGbdT_b.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -266,7 +266,7 @@ function W(n, e, t) {
|
|
|
266
266
|
K({ withLocale: "en", translations: {} }), T(() => () => {
|
|
267
267
|
});
|
|
268
268
|
function M(i) {
|
|
269
|
-
|
|
269
|
+
U[i ? "unshift" : "push"](() => {
|
|
270
270
|
m = i, t(18, m);
|
|
271
271
|
});
|
|
272
272
|
}
|
|
@@ -274,8 +274,8 @@ function W(n, e, t) {
|
|
|
274
274
|
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, g = i.datasource), "currency" in i && t(2, u = i.currency), "lang" in i && t(3, f = i.lang), "session" in i && t(4, h = i.session), "userid" in i && t(5, d = i.userid), "clientstyling" in i && t(6, r = i.clientstyling), "clientstylingurl" in i && t(7, o = i.clientstylingurl), "livecasino" in i && t(8, y = i.livecasino), "integratedgameframemobile" in i && t(9, b = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(10, v = i.integratedgameframedesktop), "showgamename" in i && t(11, w = i.showgamename), "gamepagemodalurl" in i && t(12, _ = i.gamepagemodalurl), "visiblegames" in i && t(13, k = i.visiblegames), "favorites" in i && t(14, C = i.favorites), "casinomygames" in i && t(15, S = i.casinomygames), "fetchviaevent" in i && t(16, F = i.fetchviaevent), "mbsource" in i && t(17, c = i.mbsource);
|
|
275
275
|
}, n.$$.update = () => {
|
|
276
276
|
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
277
|
-
262208 && r && m &&
|
|
278
|
-
262272 && o && m &&
|
|
277
|
+
262208 && r && m && V(m, r), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
278
|
+
262272 && o && m && B(m, o), n.$$.dirty & /*customStylingContainer, mbsource*/
|
|
279
279
|
393216 && m && J(m, `${c}.Style`);
|
|
280
280
|
}, [
|
|
281
281
|
a,
|
package/components/{CasinoFavoritesSection-DCveWnxo.cjs → CasinoFavoritesSection-O59VpuZn.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-Lny8nE88.cjs");if(typeof window!="undefined"){let a=function(e){return function(...s){try{return e.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-DkHDQ6kS.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function L({withLocale:a,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(a))})}function M(a){t.append_styles(a,"svelte-nazqps",".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function F(a){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",a[4]),t.set_custom_element_data(e,"userid",a[5]),t.set_custom_element_data(e,"endpoint",a[0]),t.set_custom_element_data(e,"datasource",a[1]),t.set_custom_element_data(e,"lang",a[3]),t.set_custom_element_data(e,"currency",a[2]),t.set_custom_element_data(e,"favorites",a[14]),t.set_custom_element_data(e,"fetchviaevent",a[16]),t.set_custom_element_data(e,"mbsource",a[17]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",a[11]),t.set_custom_element_data(e,"clientstyling",a[6]),t.set_custom_element_data(e,"clientstylingurl",a[7]),t.set_custom_element_data(e,"livecasino",a[8]),t.set_custom_element_data(e,"visiblegames",a[13]),t.set_custom_element_data(e,"gamepagemodalurl",a[12]),t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),t.set_custom_element_data(e,"integratedgameframemobile",a[9]),t.set_custom_element_data(e,"casinomygames",a[15])},m(s,i){t.insert(s,e,i)},p(s,i){i&16&&t.set_custom_element_data(e,"session",s[4]),i&32&&t.set_custom_element_data(e,"userid",s[5]),i&1&&t.set_custom_element_data(e,"endpoint",s[0]),i&2&&t.set_custom_element_data(e,"datasource",s[1]),i&8&&t.set_custom_element_data(e,"lang",s[3]),i&4&&t.set_custom_element_data(e,"currency",s[2]),i&16384&&t.set_custom_element_data(e,"favorites",s[14]),i&65536&&t.set_custom_element_data(e,"fetchviaevent",s[16]),i&131072&&t.set_custom_element_data(e,"mbsource",s[17]),i&2048&&t.set_custom_element_data(e,"showgamename",s[11]),i&64&&t.set_custom_element_data(e,"clientstyling",s[6]),i&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),i&256&&t.set_custom_element_data(e,"livecasino",s[8]),i&8192&&t.set_custom_element_data(e,"visiblegames",s[13]),i&4096&&t.set_custom_element_data(e,"gamepagemodalurl",s[12]),i&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",s[10]),i&512&&t.set_custom_element_data(e,"integratedgameframemobile",s[9]),i&32768&&t.set_custom_element_data(e,"casinomygames",s[15])},d(s){s&&t.detach(e)}}}function O(a){let e,s=a[4]&&F(a);return{c(){e=t.element("div"),s&&s.c(),t.attr(e,"class","CasinoFavoritesSectionContainer")},m(i,l){t.insert(i,e,l),s&&s.m(e,null),a[19](e)},p(i,[l]){i[4]?s?s.p(i,l):(s=F(i),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(i){i&&t.detach(e),s&&s.d(),a[19](null)}}}function A(a,e,s){let{endpoint:i=""}=e,{datasource:l=""}=e,{currency:g=""}=e,{lang:r=""}=e,{session:f=""}=e,{userid:_=""}=e,{clientstyling:o=""}=e,{clientstylingurl:u=""}=e,{livecasino:d="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:y="false"}=e,{showgamename:b=""}=e,{gamepagemodalurl:v="false"}=e,{visiblegames:w=""}=e,{favorites:k=""}=e,{casinomygames:C="false"}=e,{fetchviaevent:S="true"}=e,{mbsource:c}=e,m;L({withLocale:"en",translations:{}}),t.onMount(()=>()=>{});function q(n){t.binding_callbacks[n?"unshift":"push"](()=>{m=n,s(18,m)})}return a.$$set=n=>{"endpoint"in n&&s(0,i=n.endpoint),"datasource"in n&&s(1,l=n.datasource),"currency"in n&&s(2,g=n.currency),"lang"in n&&s(3,r=n.lang),"session"in n&&s(4,f=n.session),"userid"in n&&s(5,_=n.userid),"clientstyling"in n&&s(6,o=n.clientstyling),"clientstylingurl"in n&&s(7,u=n.clientstylingurl),"livecasino"in n&&s(8,d=n.livecasino),"integratedgameframemobile"in n&&s(9,h=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(10,y=n.integratedgameframedesktop),"showgamename"in n&&s(11,b=n.showgamename),"gamepagemodalurl"in n&&s(12,v=n.gamepagemodalurl),"visiblegames"in n&&s(13,w=n.visiblegames),"favorites"in n&&s(14,k=n.favorites),"casinomygames"in n&&s(15,C=n.casinomygames),"fetchviaevent"in n&&s(16,S=n.fetchviaevent),"mbsource"in n&&s(17,c=n.mbsource)},a.$$.update=()=>{a.$$.dirty&262208&&o&&m&&t.setClientStyling(m,o),a.$$.dirty&262272&&u&&m&&t.setClientStylingURL(m,u),a.$$.dirty&393216&&m&&t.setStreamStyling(m,`${c}.Style`)},[i,l,g,r,f,_,o,u,d,h,y,b,v,w,k,C,S,c,m,q]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,A,O,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16,mbsource:17},M)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(E,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=E;
|