@everymatrix/casino-lobby 1.54.12 → 1.56.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-CFPK0TM5.cjs +9 -0
- package/components/{CasinoCalendar-D3cTwZsW.js → CasinoCalendar-CSMUhfCr.js} +1066 -1022
- package/components/{CasinoCalendar-CKCvu8d9.js → CasinoCalendar-_T8fa3tA.js} +1215 -1171
- package/components/CasinoCalendarDailyDetails-CGRqVKFV.js +693 -0
- package/components/CasinoCalendarDailyDetails-DspcjY5l.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-DueCbaZn.js +693 -0
- package/components/CasinoCalendarDailyItem-DaSrAYwS.cjs +1 -0
- package/components/CasinoCalendarDailyItem-DpLOlYVI.js +306 -0
- package/components/CasinoCalendarDailyItem-DxYbPmky.js +306 -0
- package/components/{CasinoCategoriesSlider-06Zx2Iq-.js → CasinoCategoriesSlider-B7jmX0uM.js} +204 -197
- package/components/{CasinoCategoriesSlider-Bjd1r5S5.js → CasinoCategoriesSlider-DkmZ6uE9.js} +203 -196
- package/components/CasinoCategoriesSlider-Tm48k88y.cjs +1 -0
- package/components/CasinoCollectionsProviders-CFJKyip5.js +654 -0
- package/components/CasinoCollectionsProviders-XHUKRCjH.js +659 -0
- package/components/CasinoCollectionsProviders-fHbyEo_l.cjs +1 -0
- package/components/{CasinoFavoritesSection-WWaIxjOj.js → CasinoFavoritesSection-BJKuORXc.js} +138 -131
- package/components/CasinoFavoritesSection-DAfQZFKH.cjs +1 -0
- package/components/{CasinoFavoritesSection-Dumr9yPV.js → CasinoFavoritesSection-ui8ebJSk.js} +138 -131
- package/components/CasinoFilter-BZrHKXm3.cjs +1 -0
- package/components/{CasinoFilter-CT6gjm3V.js → CasinoFilter-Cj6Ya1tA.js} +237 -244
- package/components/{CasinoFilter-ckjDwsuD.js → CasinoFilter-t6_A4K9e.js} +232 -237
- package/components/CasinoGamePage-BCpBojD8.cjs +18 -0
- package/components/{CasinoGamePage-BUpAQtEi.js → CasinoGamePage-DH-mxVYx.js} +1012 -1018
- package/components/{CasinoGamePage-VEREng8k.js → CasinoGamePage-DQ1Yd_-1.js} +1004 -1010
- package/components/CasinoGameThumbnail-B15M2LaO.js +1829 -0
- package/components/CasinoGameThumbnail-CHGG4fWS.cjs +38 -0
- package/components/CasinoGameThumbnail-CmtUwom1.js +1845 -0
- package/components/{CasinoGamesCategorySection-DK9t7zLa.js → CasinoGamesCategorySection-D9nxbG-c.js} +945 -919
- package/components/CasinoGamesCategorySection-Dw87pk8g.cjs +1 -0
- package/components/{CasinoGamesCategorySection-u0JnTvTn.js → CasinoGamesCategorySection-lpoHUMLN.js} +855 -829
- package/components/CasinoJackpotBanner-COZRcenh.js +692 -0
- package/components/CasinoJackpotBanner-DcwCa-Hp.js +688 -0
- package/components/CasinoJackpotBanner-vFHgMV4j.cjs +1 -0
- package/components/CasinoLastPlayedSection-DUCFQv-7.cjs +1 -0
- package/components/{CasinoLastPlayedSection-CChe4Dsm.js → CasinoLastPlayedSection-IZ9mars2.js} +143 -134
- package/components/{CasinoLastPlayedSection-BoyL9RQI.js → CasinoLastPlayedSection-yetII3tl.js} +143 -134
- package/components/CasinoLobby-CZ0buhgH.cjs +1 -0
- package/components/{CasinoLobby-ClLV4i9d.js → CasinoLobby-CoCRB4M8.js} +706 -657
- package/components/{CasinoLobby-DUYjTD-X.js → CasinoLobby-DOvk4Q1L.js} +706 -657
- package/components/CasinoModal-6keCUEEx.cjs +1 -0
- package/components/CasinoModal-DDDhdR0c.js +368 -0
- package/components/CasinoModal-Dzu3FQyi.js +368 -0
- package/components/CasinoMostPlayedSection-BNDdZOM6.cjs +1 -0
- package/components/{CasinoMostPlayedSection-DIF7og_k.js → CasinoMostPlayedSection-CGqU9ZQv.js} +171 -162
- package/components/{CasinoMostPlayedSection-qZnaHjV9.js → CasinoMostPlayedSection-D0w6a_z2.js} +171 -162
- package/components/{CasinoMyGames-Bu2sU_i0.js → CasinoMyGames-BKqlNnO1.js} +382 -352
- package/components/CasinoMyGames-CX5HKRLY.cjs +1 -0
- package/components/{CasinoMyGames-BfCr8pSL.js → CasinoMyGames-Dy3IMfzN.js} +389 -359
- package/components/CasinoPage--1tMufa9.cjs +1 -0
- package/components/{CasinoPage-CoKfFrmH.js → CasinoPage-BnrghJel.js} +1207 -1046
- package/components/{CasinoPage-BAJC3ryR.js → CasinoPage-DYcUhqdZ.js} +833 -678
- package/components/{CasinoRandomGame-C6-dDxie.cjs → CasinoRandomGame-B1qCGSlR.cjs} +2 -2
- package/components/{CasinoRandomGame-Df62wtxc.js → CasinoRandomGame-Cup5oHY3.js} +247 -249
- package/components/{CasinoRandomGame-DXFHIw0O.js → CasinoRandomGame-Dq7oLh0O.js} +229 -231
- package/components/CasinoSearch-B1D8nnr0.cjs +1 -0
- package/components/{CasinoSearch-DP4hDzq5.js → CasinoSearch-DlUwO5L4.js} +385 -378
- package/components/{CasinoSearch-U2PDpXMA.js → CasinoSearch-jV0H_1Yg.js} +442 -435
- package/components/CasinoSlider-4pDZHG6x.cjs +1 -0
- package/components/CasinoSlider-ChnKJ8kH.js +797 -0
- package/components/CasinoSlider-Ot2uFDD8.js +803 -0
- package/components/CasinoSort-BnarJSWg.js +428 -0
- package/components/CasinoSort-DltZUpda.js +427 -0
- package/components/CasinoSort-jqMnIqLs.cjs +1 -0
- package/components/{CasinoWinners-6mr0X-kZ.js → CasinoWinners-BkJBCXPe.js} +354 -351
- package/components/CasinoWinners-Bs7Oh-m-.cjs +1 -0
- package/components/{CasinoWinners-CADOvOsd.js → CasinoWinners-CBgbYBfP.js} +343 -340
- package/components/GeneralAnimationLoading-BLss2VP4.cjs +1 -0
- package/components/GeneralAnimationLoading-BUY2TGQr.js +84 -0
- package/components/GeneralAnimationLoading-CRju5T01.js +84 -0
- 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-NI77_BKB.js → casino-play-random-game-CBXhEsCq.js} +54 -29
- package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-PZXnDzfs.js} +73 -48
- package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-y8flXwPv.cjs} +2 -2
- package/stencil/index-29915e18-B3XYTzEC.cjs +1 -0
- package/stencil/{index-8b2c4ca7-BNDGCsVn.js → index-29915e18-CQ_kWzEh.js} +134 -133
- package/stencil/{index-8b2c4ca7-CtUqBgXG.js → index-29915e18-MPiqo7vY.js} +131 -130
- package/components/CasinoCalendar-BlfnJwZ-.cjs +0 -9
- package/components/CasinoCalendarDailyDetails-B7hChP4v.js +0 -701
- package/components/CasinoCalendarDailyDetails-C1T0xNcn.cjs +0 -1
- package/components/CasinoCalendarDailyDetails-CCIR8eIp.js +0 -701
- package/components/CasinoCalendarDailyItem-1iPwEmjb.js +0 -315
- package/components/CasinoCalendarDailyItem-BNNa1Jdv.js +0 -315
- package/components/CasinoCalendarDailyItem-Bp_PImhJ.cjs +0 -1
- package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +0 -1
- package/components/CasinoCollectionsProviders-BQPjVzK8.js +0 -659
- package/components/CasinoCollectionsProviders-CSISd5u6.cjs +0 -1
- package/components/CasinoCollectionsProviders-CVDFBiI0.js +0 -664
- package/components/CasinoFavoritesSection-Dc3krq_m.cjs +0 -1
- package/components/CasinoFilter-C10Tgn3c.cjs +0 -1
- package/components/CasinoGamePage-DOzefHFS.cjs +0 -18
- package/components/CasinoGameThumbnail-CWQWsl_s.cjs +0 -38
- package/components/CasinoGameThumbnail-D08-4naW.js +0 -1834
- package/components/CasinoGameThumbnail-nmpLDgoF.js +0 -1850
- package/components/CasinoGamesCategorySection-LHUR2_EB.cjs +0 -1
- package/components/CasinoJackpotBanner-D3s92J-3.js +0 -614
- package/components/CasinoJackpotBanner-q02RPv4N.js +0 -618
- package/components/CasinoJackpotBanner-uWVFzOiI.cjs +0 -1
- package/components/CasinoLastPlayedSection-BVbeW3YI.cjs +0 -1
- package/components/CasinoLobby-bvh2k3lg.cjs +0 -1
- package/components/CasinoModal-C1oW3YF4.js +0 -372
- package/components/CasinoModal-DRtZi6gR.cjs +0 -1
- package/components/CasinoModal-IbVlgg7Z.js +0 -372
- package/components/CasinoMostPlayedSection-DQ_xJPuX.cjs +0 -1
- package/components/CasinoMyGames-B0pWVqCz.cjs +0 -1
- package/components/CasinoPage-CoSWrE10.cjs +0 -1
- package/components/CasinoSearch-Cnu1-6cZ.cjs +0 -1
- package/components/CasinoSlider-BDjskQjI.cjs +0 -1
- package/components/CasinoSlider-BWEc4YT5.js +0 -800
- package/components/CasinoSlider-BjpV4pLV.js +0 -806
- package/components/CasinoSort-CS53Uvnz.cjs +0 -1
- package/components/CasinoSort-DFdgT3Dt.js +0 -432
- package/components/CasinoSort-DFljh5Sg.js +0 -431
- package/components/CasinoWinners-DU3xFq2b.cjs +0 -1
- package/components/GeneralAnimationLoading-BG_QynCK.cjs +0 -1
- package/components/GeneralAnimationLoading-CX9baArf.js +0 -75
- package/components/GeneralAnimationLoading-DVLCsjn0.js +0 -75
- package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BlfnJwZ-.cjs");function z(n,e){t.addMessages(n,e)}const x={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Moj casino",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"},"en-us":{lobbyName:"Lobby",myGamesName:"My games"}};if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-BDjskQjI.cjs")).then(({default:e})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",e.element)})}function ae(n){t.append_styles(n,"svelte-2g6deg",".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}")}function ne(n){let e,s,l,r;return{c(){e=t.element("div"),s=t.element("casino-slider"),t.set_custom_element_data(s,"lang",n[3]),t.set_custom_element_data(s,"datasource",n[2]),t.set_custom_element_data(s,"endpoint",n[1]),t.set_custom_element_data(s,"identity",E),t.set_custom_element_data(s,"favoritesnumber",n[15]),t.set_custom_element_data(s,"showsubgroups",n[8]),t.set_custom_element_data(s,"clientstyling",n[4]),t.set_custom_element_data(s,"clientstylingurl",n[5]),t.set_custom_element_data(s,"activeindex",n[0]),t.set_custom_element_data(s,"actionevent",n[6]),t.set_custom_element_data(s,"location",n[7]),t.set_custom_element_data(s,"categoriesicon",n[9]),t.set_custom_element_data(s,"lobbyiconimage",n[10]),t.set_custom_element_data(s,"mygamesiconimage",n[11]),t.attr(e,"class","CasinoCategoriesContainer svelte-2g6deg"),t.attr(e,"part","CasinoCategoriesContainer")},m(i,o){t.insert(i,e,o),t.append(e,s),l||(r=t.action_destroyer(n[16].call(null,s)),l=!0)},p(i,o){o[0]&8&&t.set_custom_element_data(s,"lang",i[3]),o[0]&4&&t.set_custom_element_data(s,"datasource",i[2]),o[0]&2&&t.set_custom_element_data(s,"endpoint",i[1]),o[0]&32768&&t.set_custom_element_data(s,"favoritesnumber",i[15]),o[0]&256&&t.set_custom_element_data(s,"showsubgroups",i[8]),o[0]&16&&t.set_custom_element_data(s,"clientstyling",i[4]),o[0]&32&&t.set_custom_element_data(s,"clientstylingurl",i[5]),o[0]&1&&t.set_custom_element_data(s,"activeindex",i[0]),o[0]&64&&t.set_custom_element_data(s,"actionevent",i[6]),o[0]&128&&t.set_custom_element_data(s,"location",i[7]),o[0]&512&&t.set_custom_element_data(s,"categoriesicon",i[9]),o[0]&1024&&t.set_custom_element_data(s,"lobbyiconimage",i[10]),o[0]&2048&&t.set_custom_element_data(s,"mygamesiconimage",i[11])},d(i){i&&t.detach(e),l=!1,r()}}}function ie(n){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function oe(n){let e;return{c(){e=t.element("div"),t.attr(e,"class","CasinoCategoriesLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function le(n){let e;function s(i,o){return i[12]||re||ce?oe:i[14]?ie:ne}let l=s(n),r=l(n);return{c(){e=t.element("div"),r.c()},m(i,o){t.insert(i,e,o),r.m(e,null),n[26](e)},p(i,o){l===(l=s(i))&&r?r.p(i,o):(r.d(1),r=l(i),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r.d(),n[26](null)}}}let E="CasinoSliderData",re=!1,ce=!1;function me(n,e,s){let l;t.component_subscribe(n,t.$format,a=>s(32,l=a));let{endpoint:r=""}=e,{datasource:i=""}=e,{lang:o=""}=e,{userid:j=""}=e,{session:b=""}=e,{mostplayed:_=""}=e,{lastplayed:N="false"}=e,{favorites:w=""}=e,{clientstyling:L=""}=e,{clientstylingurl:C=""}=e,{activecategory:u=""}=e,{actionevent:P=""}=e,{sessioncheck:T=""}=e,{location:F="secondaryMenu"}=e,{showsubgroups:A="false"}=e,{filteredcategories:M=""}=e,{translationurl:v=""}=e,{categoriesicon:D=""}=e,{lobbyiconimage:O=""}=e,{mygamesiconimage:R=""}=e,U,q,g=!0,f,h=[],d=!1,K=window.navigator.userAgent,y,H,I=!1,G=!1;const Q=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(x).forEach(a=>{z(a,x[a])});const V=()=>{I==!1&&(w=="true"||_=="true"||N=="true")&&h.splice(1,0,{id:"MYGAMES",name:U,href:"",games:[]}),t.tick(),I=!0,s(25,G=!0),k()},W=()=>(r||(f="Endpoint is missing! Please provide a valid endpointURL.",s(14,d=!0),s(12,g=!1),console.error(f)),i||(f="Datasource is missing! Please provide a valid datasource.",s(14,d=!0),s(12,g=!1),console.error(f)),(!o||o.length<2)&&(f="Language is missing! Please provide a valid language (alpha2code)",s(14,d=!0),s(12,g=!1),console.error(f)),d),X=()=>{if(U=l("myGamesName"),q=l("lobbyName"),!W()){let a=new URL(`${r}/v1/casino/groups/${i}`);a.searchParams.append("datasource",i),a.searchParams.append("language",o),a.searchParams.append("platform",t.getDevice(K)),fetch(a).then(c=>c.json()).then(c=>{let m=M.split(","),te=c.items.filter(Y=>{let S=!1;if(Y.games.total>0&&(S=!0,M))for(let se of m)Y.flags==se&&(S=!1);return S});h=[],h=h.concat(te),h.unshift({id:"LOBBY",name:q,href:"",games:[]}),s(12,g=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},c=>{s(14,d=!0),console.error("There was an error while fetching the categories",c)}).catch(c=>{s(14,d=!0),console.error("There was an error while fetching the categories",c)})}},Z=()=>{let a=u.split("$");s(0,u=a.length>2?u.split("$").slice(0,2).join("$"):u)},p=()=>{let a=document.createElement("style");a.innerHTML=L,y.appendChild(a)},$=()=>{let a=document.createElement("style"),c=new URL(C);fetch(c.href).then(m=>m.text()).then(m=>{a.innerHTML=m,setTimeout(()=>{y.appendChild(a)},1)})},k=()=>{window.postMessage({type:"SliderData",identity:E,data:h},window.location.href)},B=a=>{a.data&&a.data.type=="SliderLoaded"&&E==a.data.identity&&k()};t.onMount(()=>(window.addEventListener("message",B,!1),()=>{window.removeEventListener("message",B)}));function ee(a){t.binding_callbacks[a?"unshift":"push"](()=>{y=a,s(13,y)})}return n.$$set=a=>{"endpoint"in a&&s(1,r=a.endpoint),"datasource"in a&&s(2,i=a.datasource),"lang"in a&&s(3,o=a.lang),"userid"in a&&s(17,j=a.userid),"session"in a&&s(18,b=a.session),"mostplayed"in a&&s(19,_=a.mostplayed),"lastplayed"in a&&s(20,N=a.lastplayed),"favorites"in a&&s(21,w=a.favorites),"clientstyling"in a&&s(4,L=a.clientstyling),"clientstylingurl"in a&&s(5,C=a.clientstylingurl),"activecategory"in a&&s(0,u=a.activecategory),"actionevent"in a&&s(6,P=a.actionevent),"sessioncheck"in a&&s(22,T=a.sessioncheck),"location"in a&&s(7,F=a.location),"showsubgroups"in a&&s(8,A=a.showsubgroups),"filteredcategories"in a&&s(23,M=a.filteredcategories),"translationurl"in a&&s(24,v=a.translationurl),"categoriesicon"in a&&s(9,D=a.categoriesicon),"lobbyiconimage"in a&&s(10,O=a.lobbyiconimage),"mygamesiconimage"in a&&s(11,R=a.mygamesiconimage)},n.$$.update=()=>{n.$$.dirty[0]&14&&r&&i&&o&&X(),n.$$.dirty[0]&3936258&&r&&b&&(_||N||w)&&!g&&V(),n.$$.dirty[0]&33820673&&!g&&u&&(!b||G)&&Z(),n.$$.dirty[0]&8208&&L&&y&&p(),n.$$.dirty[0]&16777216&&v&&Q(),n.$$.dirty[0]&8224&&C&&y&&$()},s(15,H=0),[u,r,i,o,L,C,P,F,A,D,O,R,g,y,d,H,k,j,b,_,N,w,T,M,v,G,ee]}class J extends t.SvelteComponent{constructor(e){super(),t.init(this,e,me,le,t.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:17,session:18,mostplayed:19,lastplayed:20,favorites:21,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:22,location:7,showsubgroups:8,filteredcategories:23,translationurl:24,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11},ae,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get userid(){return this.$$.ctx[17]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),t.flush()}get mostplayed(){return this.$$.ctx[19]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[20]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get favorites(){return this.$$.ctx[21]}set favorites(e){this.$$set({favorites:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),t.flush()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get sessioncheck(){return this.$$.ctx[22]}set sessioncheck(e){this.$$set({sessioncheck:e}),t.flush()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),t.flush()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get filteredcategories(){return this.$$.ctx[23]}set filteredcategories(e){this.$$set({filteredcategories:e}),t.flush()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}}t.create_custom_element(J,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{}},[],[],!0);exports.default=J;
|
|
@@ -1,659 +0,0 @@
|
|
|
1
|
-
import { a as Ce, $ as be, S as ye, i as we, s as Se, f as P, b as ke, n as z, d as L, h as M, j as C, k as Ge, o as Pe, l as Le, C as K, r as m, v as H, w as le, m as R, p as v, O as Me, q as I, B as T, P as je, Q as Te, A as O, G as N, D as B, R as xe, I as Fe, J as ze } from "./CasinoCalendar-CKCvu8d9.js";
|
|
2
|
-
function Z(t, e) {
|
|
3
|
-
Ce(t, e);
|
|
4
|
-
}
|
|
5
|
-
function He(t) {
|
|
6
|
-
be.set(t);
|
|
7
|
-
}
|
|
8
|
-
const Q = {
|
|
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 Oe(t) {
|
|
106
|
-
ke(t, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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));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: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:10px;width:auto;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:10px;width:auto;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, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
107
|
-
}
|
|
108
|
-
function X(t, e, i) {
|
|
109
|
-
const r = t.slice();
|
|
110
|
-
return r[41] = e[i], r;
|
|
111
|
-
}
|
|
112
|
-
function Y(t, e, i) {
|
|
113
|
-
const r = t.slice();
|
|
114
|
-
return r[44] = e[i], r;
|
|
115
|
-
}
|
|
116
|
-
function Be(t) {
|
|
117
|
-
let e, i, r, o = (
|
|
118
|
-
/*type*/
|
|
119
|
-
(t[0] == "vendor" ? (
|
|
120
|
-
/*$_*/
|
|
121
|
-
t[11]("providers")
|
|
122
|
-
) : (
|
|
123
|
-
/*$_*/
|
|
124
|
-
t[11]("collections")
|
|
125
|
-
)) + ""
|
|
126
|
-
), a, d, b, h, k, u, c = (
|
|
127
|
-
/*numberOfSlides*/
|
|
128
|
-
t[8] > /*numberOfVisibleSlides*/
|
|
129
|
-
t[9] && $(t)
|
|
130
|
-
), g = H(
|
|
131
|
-
/*gameCategories*/
|
|
132
|
-
t[3]
|
|
133
|
-
), f = [];
|
|
134
|
-
for (let s = 0; s < g.length; s += 1)
|
|
135
|
-
f[s] = ie(X(t, g, s));
|
|
136
|
-
return {
|
|
137
|
-
c() {
|
|
138
|
-
e = C("div"), i = C("div"), r = C("p"), a = I(o), d = T(), c && c.c(), b = T(), h = C("div");
|
|
139
|
-
for (let s = 0; s < f.length; s += 1)
|
|
140
|
-
f[s].c();
|
|
141
|
-
m(r, "class", "Title"), m(i, "class", "CategoriesHeader"), m(h, "class", "CategoriesSlider"), je(() => (
|
|
142
|
-
/*div1_elementresize_handler*/
|
|
143
|
-
t[27].call(h)
|
|
144
|
-
)), m(e, "class", u = "CasinoCollectionsProviders " + /*mobile*/
|
|
145
|
-
(t[10] ? "Mobile" : "") + " " + /*type*/
|
|
146
|
-
(t[0] === "vendor" ? "Providers" : "Collections"));
|
|
147
|
-
},
|
|
148
|
-
m(s, w) {
|
|
149
|
-
M(s, e, w), v(e, i), v(i, r), v(r, a), v(i, d), c && c.m(i, null), v(e, b), v(e, h);
|
|
150
|
-
for (let n = 0; n < f.length; n += 1)
|
|
151
|
-
f[n] && f[n].m(h, null);
|
|
152
|
-
t[26](h), k = Me(
|
|
153
|
-
h,
|
|
154
|
-
/*div1_elementresize_handler*/
|
|
155
|
-
t[27].bind(h)
|
|
156
|
-
);
|
|
157
|
-
},
|
|
158
|
-
p(s, w) {
|
|
159
|
-
if (w[0] & /*type, $_*/
|
|
160
|
-
2049 && o !== (o = /*type*/
|
|
161
|
-
(s[0] == "vendor" ? (
|
|
162
|
-
/*$_*/
|
|
163
|
-
s[11]("providers")
|
|
164
|
-
) : (
|
|
165
|
-
/*$_*/
|
|
166
|
-
s[11]("collections")
|
|
167
|
-
)) + "") && R(a, o), /*numberOfSlides*/
|
|
168
|
-
s[8] > /*numberOfVisibleSlides*/
|
|
169
|
-
s[9] ? c ? c.p(s, w) : (c = $(s), c.c(), c.m(i, null)) : c && (c.d(1), c = null), w[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
|
170
|
-
49166) {
|
|
171
|
-
g = H(
|
|
172
|
-
/*gameCategories*/
|
|
173
|
-
s[3]
|
|
174
|
-
);
|
|
175
|
-
let n;
|
|
176
|
-
for (n = 0; n < g.length; n += 1) {
|
|
177
|
-
const _ = X(s, g, n);
|
|
178
|
-
f[n] ? f[n].p(_, w) : (f[n] = ie(_), f[n].c(), f[n].m(h, null));
|
|
179
|
-
}
|
|
180
|
-
for (; n < f.length; n += 1)
|
|
181
|
-
f[n].d(1);
|
|
182
|
-
f.length = g.length;
|
|
183
|
-
}
|
|
184
|
-
w[0] & /*mobile, type*/
|
|
185
|
-
1025 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
|
|
186
|
-
(s[10] ? "Mobile" : "") + " " + /*type*/
|
|
187
|
-
(s[0] === "vendor" ? "Providers" : "Collections")) && m(e, "class", u);
|
|
188
|
-
},
|
|
189
|
-
d(s) {
|
|
190
|
-
s && L(e), c && c.d(), le(f, s), t[26](null), k();
|
|
191
|
-
}
|
|
192
|
-
};
|
|
193
|
-
}
|
|
194
|
-
function Ae(t) {
|
|
195
|
-
let e;
|
|
196
|
-
return {
|
|
197
|
-
c() {
|
|
198
|
-
e = C("div"), m(e, "class", "LoadingSpinner");
|
|
199
|
-
},
|
|
200
|
-
m(i, r) {
|
|
201
|
-
M(i, e, r);
|
|
202
|
-
},
|
|
203
|
-
p: z,
|
|
204
|
-
d(i) {
|
|
205
|
-
i && L(e);
|
|
206
|
-
}
|
|
207
|
-
};
|
|
208
|
-
}
|
|
209
|
-
function $(t) {
|
|
210
|
-
let e, i, r, o, a, d;
|
|
211
|
-
return {
|
|
212
|
-
c() {
|
|
213
|
-
e = C("div"), i = C("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>', r = T(), o = C("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>', m(e, "class", "ButtonsContainer");
|
|
214
|
-
},
|
|
215
|
-
m(b, h) {
|
|
216
|
-
M(b, e, h), v(e, i), v(e, r), v(e, o), a || (d = [
|
|
217
|
-
O(
|
|
218
|
-
i,
|
|
219
|
-
"click",
|
|
220
|
-
/*click_handler*/
|
|
221
|
-
t[22]
|
|
222
|
-
),
|
|
223
|
-
O(
|
|
224
|
-
o,
|
|
225
|
-
"click",
|
|
226
|
-
/*click_handler_1*/
|
|
227
|
-
t[23]
|
|
228
|
-
)
|
|
229
|
-
], a = !0);
|
|
230
|
-
},
|
|
231
|
-
p: z,
|
|
232
|
-
d(b) {
|
|
233
|
-
b && L(e), a = !1, Te(d);
|
|
234
|
-
}
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
function Ne(t) {
|
|
238
|
-
let e, i = (
|
|
239
|
-
/*category*/
|
|
240
|
-
t[41].name + ""
|
|
241
|
-
), r;
|
|
242
|
-
return {
|
|
243
|
-
c() {
|
|
244
|
-
e = C("p"), r = I(i), m(e, "class", "CategorySlideTitle");
|
|
245
|
-
},
|
|
246
|
-
m(o, a) {
|
|
247
|
-
M(o, e, a), v(e, r);
|
|
248
|
-
},
|
|
249
|
-
p(o, a) {
|
|
250
|
-
a[0] & /*gameCategories*/
|
|
251
|
-
8 && i !== (i = /*category*/
|
|
252
|
-
o[41].name + "") && R(r, i);
|
|
253
|
-
},
|
|
254
|
-
d(o) {
|
|
255
|
-
o && L(e);
|
|
256
|
-
}
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
function Re(t) {
|
|
260
|
-
let e, i, r;
|
|
261
|
-
return {
|
|
262
|
-
c() {
|
|
263
|
-
e = C("img"), m(e, "class", "CategorySlideLogo"), B(e.src, i = /*category*/
|
|
264
|
-
t[41].icon) || m(e, "src", i), m(e, "alt", r = /*category*/
|
|
265
|
-
t[41].name + " icon");
|
|
266
|
-
},
|
|
267
|
-
m(o, a) {
|
|
268
|
-
M(o, e, a);
|
|
269
|
-
},
|
|
270
|
-
p(o, a) {
|
|
271
|
-
a[0] & /*gameCategories*/
|
|
272
|
-
8 && !B(e.src, i = /*category*/
|
|
273
|
-
o[41].icon) && m(e, "src", i), a[0] & /*gameCategories*/
|
|
274
|
-
8 && r !== (r = /*category*/
|
|
275
|
-
o[41].name + " icon") && m(e, "alt", r);
|
|
276
|
-
},
|
|
277
|
-
d(o) {
|
|
278
|
-
o && L(e);
|
|
279
|
-
}
|
|
280
|
-
};
|
|
281
|
-
}
|
|
282
|
-
function ee(t) {
|
|
283
|
-
let e, i = (
|
|
284
|
-
/*game*/
|
|
285
|
-
t[44].name + ""
|
|
286
|
-
), r, o;
|
|
287
|
-
return {
|
|
288
|
-
c() {
|
|
289
|
-
e = C("p"), r = I(i), m(e, "title", o = /*game*/
|
|
290
|
-
t[44].name);
|
|
291
|
-
},
|
|
292
|
-
m(a, d) {
|
|
293
|
-
M(a, e, d), v(e, r);
|
|
294
|
-
},
|
|
295
|
-
p(a, d) {
|
|
296
|
-
d[0] & /*gameCategories*/
|
|
297
|
-
8 && i !== (i = /*game*/
|
|
298
|
-
a[44].name + "") && R(r, i), d[0] & /*gameCategories*/
|
|
299
|
-
8 && o !== (o = /*game*/
|
|
300
|
-
a[44].name) && m(e, "title", o);
|
|
301
|
-
},
|
|
302
|
-
d(a) {
|
|
303
|
-
a && L(e);
|
|
304
|
-
}
|
|
305
|
-
};
|
|
306
|
-
}
|
|
307
|
-
function te(t) {
|
|
308
|
-
let e, i, r, o, a, d, b, h;
|
|
309
|
-
function k() {
|
|
310
|
-
return (
|
|
311
|
-
/*click_handler_2*/
|
|
312
|
-
t[24](
|
|
313
|
-
/*game*/
|
|
314
|
-
t[44]
|
|
315
|
-
)
|
|
316
|
-
);
|
|
317
|
-
}
|
|
318
|
-
let u = (
|
|
319
|
-
/*collectionprovidersgamenames*/
|
|
320
|
-
t[2] == "true" && ee(t)
|
|
321
|
-
);
|
|
322
|
-
return {
|
|
323
|
-
c() {
|
|
324
|
-
e = C("div"), i = C("img"), a = T(), u && u.c(), d = T(), m(i, "class", "CategorySlideGameImage"), B(i.src, r = /*game*/
|
|
325
|
-
t[44].defaultThumbnail) || m(i, "src", r), m(i, "alt", o = /*game*/
|
|
326
|
-
t[44].name), m(e, "class", "CategorySlideGames");
|
|
327
|
-
},
|
|
328
|
-
m(c, g) {
|
|
329
|
-
M(c, e, g), v(e, i), v(e, a), u && u.m(e, null), v(e, d), b || (h = O(i, "click", xe(k)), b = !0);
|
|
330
|
-
},
|
|
331
|
-
p(c, g) {
|
|
332
|
-
t = c, g[0] & /*gameCategories*/
|
|
333
|
-
8 && !B(i.src, r = /*game*/
|
|
334
|
-
t[44].defaultThumbnail) && m(i, "src", r), g[0] & /*gameCategories*/
|
|
335
|
-
8 && o !== (o = /*game*/
|
|
336
|
-
t[44].name) && m(i, "alt", o), /*collectionprovidersgamenames*/
|
|
337
|
-
t[2] == "true" ? u ? u.p(t, g) : (u = ee(t), u.c(), u.m(e, d)) : u && (u.d(1), u = null);
|
|
338
|
-
},
|
|
339
|
-
d(c) {
|
|
340
|
-
c && L(e), u && u.d(), b = !1, h();
|
|
341
|
-
}
|
|
342
|
-
};
|
|
343
|
-
}
|
|
344
|
-
function ie(t) {
|
|
345
|
-
let e, i, r, o, a, d, b, h, k;
|
|
346
|
-
function u(n, _) {
|
|
347
|
-
if (
|
|
348
|
-
/*titletype*/
|
|
349
|
-
n[1] == "logo"
|
|
350
|
-
) return Re;
|
|
351
|
-
if (
|
|
352
|
-
/*titletype*/
|
|
353
|
-
n[1] == "title"
|
|
354
|
-
) return Ne;
|
|
355
|
-
}
|
|
356
|
-
let c = u(t), g = c && c(t), f = H(
|
|
357
|
-
/*category*/
|
|
358
|
-
t[41].games
|
|
359
|
-
), s = [];
|
|
360
|
-
for (let n = 0; n < f.length; n += 1)
|
|
361
|
-
s[n] = te(Y(t, f, n));
|
|
362
|
-
function w() {
|
|
363
|
-
return (
|
|
364
|
-
/*click_handler_3*/
|
|
365
|
-
t[25](
|
|
366
|
-
/*category*/
|
|
367
|
-
t[41]
|
|
368
|
-
)
|
|
369
|
-
);
|
|
370
|
-
}
|
|
371
|
-
return {
|
|
372
|
-
c() {
|
|
373
|
-
e = C("div"), i = C("div"), r = C("div"), g && g.c(), o = T(), a = C("div");
|
|
374
|
-
for (let n = 0; n < s.length; n += 1)
|
|
375
|
-
s[n].c();
|
|
376
|
-
b = T(), m(r, "class", "CategorySlideTopContainer"), m(a, "class", "CategorySlideGameContainer"), m(i, "class", d = "CategorySlide " + /*category*/
|
|
377
|
-
(t[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")), N(i, "background-image", "url(" + /*category*/
|
|
378
|
-
t[41]?.background + ")"), N(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
|
|
379
|
-
},
|
|
380
|
-
m(n, _) {
|
|
381
|
-
M(n, e, _), v(e, i), v(i, r), g && g.m(r, null), v(i, o), v(i, a);
|
|
382
|
-
for (let p = 0; p < s.length; p += 1)
|
|
383
|
-
s[p] && s[p].m(a, null);
|
|
384
|
-
v(e, b), h || (k = O(i, "click", w), h = !0);
|
|
385
|
-
},
|
|
386
|
-
p(n, _) {
|
|
387
|
-
if (t = n, c === (c = u(t)) && g ? g.p(t, _) : (g && g.d(1), g = c && c(t), g && (g.c(), g.m(r, null))), _[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
|
388
|
-
16396) {
|
|
389
|
-
f = H(
|
|
390
|
-
/*category*/
|
|
391
|
-
t[41].games
|
|
392
|
-
);
|
|
393
|
-
let p;
|
|
394
|
-
for (p = 0; p < f.length; p += 1) {
|
|
395
|
-
const x = Y(t, f, p);
|
|
396
|
-
s[p] ? s[p].p(x, _) : (s[p] = te(x), s[p].c(), s[p].m(a, null));
|
|
397
|
-
}
|
|
398
|
-
for (; p < s.length; p += 1)
|
|
399
|
-
s[p].d(1);
|
|
400
|
-
s.length = f.length;
|
|
401
|
-
}
|
|
402
|
-
_[0] & /*gameCategories*/
|
|
403
|
-
8 && d !== (d = "CategorySlide " + /*category*/
|
|
404
|
-
(t[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")) && m(i, "class", d), _[0] & /*gameCategories*/
|
|
405
|
-
8 && N(i, "background-image", "url(" + /*category*/
|
|
406
|
-
t[41]?.background + ")");
|
|
407
|
-
},
|
|
408
|
-
d(n) {
|
|
409
|
-
n && L(e), g && g.d(), le(s, n), h = !1, k();
|
|
410
|
-
}
|
|
411
|
-
};
|
|
412
|
-
}
|
|
413
|
-
function Ie(t) {
|
|
414
|
-
let e;
|
|
415
|
-
function i(a, d) {
|
|
416
|
-
return (
|
|
417
|
-
/*isLoading*/
|
|
418
|
-
a[7] ? Ae : Be
|
|
419
|
-
);
|
|
420
|
-
}
|
|
421
|
-
let r = i(t), o = r(t);
|
|
422
|
-
return {
|
|
423
|
-
c() {
|
|
424
|
-
e = C("div"), o.c();
|
|
425
|
-
},
|
|
426
|
-
m(a, d) {
|
|
427
|
-
M(a, e, d), o.m(e, null), t[28](e);
|
|
428
|
-
},
|
|
429
|
-
p(a, d) {
|
|
430
|
-
r === (r = i(a)) && o ? o.p(a, d) : (o.d(1), o = r(a), o && (o.c(), o.m(e, null)));
|
|
431
|
-
},
|
|
432
|
-
i: z,
|
|
433
|
-
o: z,
|
|
434
|
-
d(a) {
|
|
435
|
-
a && L(e), o.d(), t[28](null);
|
|
436
|
-
}
|
|
437
|
-
};
|
|
438
|
-
}
|
|
439
|
-
function Ue(t, e, i) {
|
|
440
|
-
let r;
|
|
441
|
-
Ge(t, ze, (l) => i(11, r = l));
|
|
442
|
-
let { endpoint: o = "" } = e, { datasource: a = "" } = e, { lang: d = "" } = e, { type: b = "" } = e, { titletype: h = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: c = "" } = e, { collectionprovidersgamenames: g = "" } = e, f = [], s = !0, w, n = 0, _ = 0, p = 0, x, A, j, oe = window.navigator.userAgent, U, F = 0;
|
|
443
|
-
const ne = () => {
|
|
444
|
-
fetch(c).then((y) => y.json()).then((y) => {
|
|
445
|
-
Object.keys(y).forEach((S) => {
|
|
446
|
-
Z(S, y[S]);
|
|
447
|
-
});
|
|
448
|
-
}).catch((y) => {
|
|
449
|
-
console.log(y);
|
|
450
|
-
});
|
|
451
|
-
};
|
|
452
|
-
Object.keys(Q).forEach((l) => {
|
|
453
|
-
Z(l, Q[l]);
|
|
454
|
-
});
|
|
455
|
-
const re = () => {
|
|
456
|
-
const l = new URL(`${o}/v2/casino/groups/${a}`);
|
|
457
|
-
l.searchParams.append("language", d), l.searchParams.append("expand", "games"), fetch(l.href).then((y) => y.json()).then((y) => {
|
|
458
|
-
i(7, s = !1);
|
|
459
|
-
let S = y.items.filter((G) => G.flags == b);
|
|
460
|
-
i(3, f = S.map((G) => ({
|
|
461
|
-
id: G.id,
|
|
462
|
-
name: G.name,
|
|
463
|
-
icon: G.icon ? G.icon : G.vendors?.items[0]?.subVendors[0]?.logo,
|
|
464
|
-
games: G.games.items.slice(0, 4).map((_e) => _e),
|
|
465
|
-
background: G.background,
|
|
466
|
-
flag: G.flags
|
|
467
|
-
}))), i(8, _ = f.length);
|
|
468
|
-
});
|
|
469
|
-
}, E = (l) => {
|
|
470
|
-
A = [...w.children], A.forEach((y, S) => {
|
|
471
|
-
y.style.transform = `translateX(${100 * (l ? S - l : S)}%)`;
|
|
472
|
-
}), x = A[0].getBoundingClientRect().width, ae();
|
|
473
|
-
}, ae = () => {
|
|
474
|
-
i(9, p = Math.floor(F / x));
|
|
475
|
-
}, W = () => {
|
|
476
|
-
E(n);
|
|
477
|
-
}, D = () => {
|
|
478
|
-
n === 0 ? n = _ - p : n - p < -1 ? n = 0 : n--, W();
|
|
479
|
-
}, V = () => {
|
|
480
|
-
n === _ - p ? n = 0 : _ - p < n + 1 ? n = _ - p : n++, W();
|
|
481
|
-
}, q = (l, y, S, G) => {
|
|
482
|
-
window.postMessage(
|
|
483
|
-
{
|
|
484
|
-
type: "OpenCollectionsProvidersGame",
|
|
485
|
-
gameId: l,
|
|
486
|
-
launchUrl: y,
|
|
487
|
-
gameName: S,
|
|
488
|
-
subVendor: G
|
|
489
|
-
},
|
|
490
|
-
window.location.href
|
|
491
|
-
), typeof gtag == "function" && gtag("event", "OpenGame", {
|
|
492
|
-
context: "CollectionsProviders",
|
|
493
|
-
gameName: `${S}`
|
|
494
|
-
});
|
|
495
|
-
}, J = (l) => {
|
|
496
|
-
window.postMessage(
|
|
497
|
-
{
|
|
498
|
-
type: "OpenCollectionsProvidersCategory",
|
|
499
|
-
categoryId: l
|
|
500
|
-
},
|
|
501
|
-
window.location.href
|
|
502
|
-
);
|
|
503
|
-
}, se = () => {
|
|
504
|
-
He(d);
|
|
505
|
-
}, ce = () => {
|
|
506
|
-
let l = document.createElement("style");
|
|
507
|
-
l.innerHTML = k, j.appendChild(l);
|
|
508
|
-
}, de = () => {
|
|
509
|
-
let l = new URL(u), y = document.createElement("style");
|
|
510
|
-
fetch(l.href).then((S) => S.text()).then((S) => {
|
|
511
|
-
y.innerHTML = S, setTimeout(
|
|
512
|
-
() => {
|
|
513
|
-
j.appendChild(y);
|
|
514
|
-
},
|
|
515
|
-
1
|
|
516
|
-
);
|
|
517
|
-
});
|
|
518
|
-
};
|
|
519
|
-
Pe(() => {
|
|
520
|
-
i(10, U = Le(oe));
|
|
521
|
-
});
|
|
522
|
-
const ge = () => D(), ue = () => V(), fe = (l) => q(l.gameId, l.launchUrl, l.name, l.subVendor), me = (l) => J(l.id);
|
|
523
|
-
function pe(l) {
|
|
524
|
-
K[l ? "unshift" : "push"](() => {
|
|
525
|
-
w = l, i(4, w);
|
|
526
|
-
});
|
|
527
|
-
}
|
|
528
|
-
function he() {
|
|
529
|
-
F = this.clientWidth, i(6, F);
|
|
530
|
-
}
|
|
531
|
-
function ve(l) {
|
|
532
|
-
K[l ? "unshift" : "push"](() => {
|
|
533
|
-
j = l, i(5, j);
|
|
534
|
-
});
|
|
535
|
-
}
|
|
536
|
-
return t.$$set = (l) => {
|
|
537
|
-
"endpoint" in l && i(16, o = l.endpoint), "datasource" in l && i(17, a = l.datasource), "lang" in l && i(18, d = l.lang), "type" in l && i(0, b = l.type), "titletype" in l && i(1, h = l.titletype), "clientstyling" in l && i(19, k = l.clientstyling), "clientstylingurl" in l && i(20, u = l.clientstylingurl), "translationurl" in l && i(21, c = l.translationurl), "collectionprovidersgamenames" in l && i(2, g = l.collectionprovidersgamenames);
|
|
538
|
-
}, t.$$.update = () => {
|
|
539
|
-
t.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
540
|
-
458752 && o && a && d && re(), t.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
|
|
541
|
-
88 && F && f && w && E(), t.$$.dirty[0] & /*lang*/
|
|
542
|
-
262144 && d && se(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
543
|
-
524320 && k && j && ce(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
544
|
-
1048608 && u && j && de(), t.$$.dirty[0] & /*translationurl*/
|
|
545
|
-
2097152 && c && ne();
|
|
546
|
-
}, [
|
|
547
|
-
b,
|
|
548
|
-
h,
|
|
549
|
-
g,
|
|
550
|
-
f,
|
|
551
|
-
w,
|
|
552
|
-
j,
|
|
553
|
-
F,
|
|
554
|
-
s,
|
|
555
|
-
_,
|
|
556
|
-
p,
|
|
557
|
-
U,
|
|
558
|
-
r,
|
|
559
|
-
D,
|
|
560
|
-
V,
|
|
561
|
-
q,
|
|
562
|
-
J,
|
|
563
|
-
o,
|
|
564
|
-
a,
|
|
565
|
-
d,
|
|
566
|
-
k,
|
|
567
|
-
u,
|
|
568
|
-
c,
|
|
569
|
-
ge,
|
|
570
|
-
ue,
|
|
571
|
-
fe,
|
|
572
|
-
me,
|
|
573
|
-
pe,
|
|
574
|
-
he,
|
|
575
|
-
ve
|
|
576
|
-
];
|
|
577
|
-
}
|
|
578
|
-
class Ee extends ye {
|
|
579
|
-
constructor(e) {
|
|
580
|
-
super(), we(
|
|
581
|
-
this,
|
|
582
|
-
e,
|
|
583
|
-
Ue,
|
|
584
|
-
Ie,
|
|
585
|
-
Se,
|
|
586
|
-
{
|
|
587
|
-
endpoint: 16,
|
|
588
|
-
datasource: 17,
|
|
589
|
-
lang: 18,
|
|
590
|
-
type: 0,
|
|
591
|
-
titletype: 1,
|
|
592
|
-
clientstyling: 19,
|
|
593
|
-
clientstylingurl: 20,
|
|
594
|
-
translationurl: 21,
|
|
595
|
-
collectionprovidersgamenames: 2
|
|
596
|
-
},
|
|
597
|
-
Oe,
|
|
598
|
-
[-1, -1]
|
|
599
|
-
);
|
|
600
|
-
}
|
|
601
|
-
get endpoint() {
|
|
602
|
-
return this.$$.ctx[16];
|
|
603
|
-
}
|
|
604
|
-
set endpoint(e) {
|
|
605
|
-
this.$$set({ endpoint: e }), P();
|
|
606
|
-
}
|
|
607
|
-
get datasource() {
|
|
608
|
-
return this.$$.ctx[17];
|
|
609
|
-
}
|
|
610
|
-
set datasource(e) {
|
|
611
|
-
this.$$set({ datasource: e }), P();
|
|
612
|
-
}
|
|
613
|
-
get lang() {
|
|
614
|
-
return this.$$.ctx[18];
|
|
615
|
-
}
|
|
616
|
-
set lang(e) {
|
|
617
|
-
this.$$set({ lang: e }), P();
|
|
618
|
-
}
|
|
619
|
-
get type() {
|
|
620
|
-
return this.$$.ctx[0];
|
|
621
|
-
}
|
|
622
|
-
set type(e) {
|
|
623
|
-
this.$$set({ type: e }), P();
|
|
624
|
-
}
|
|
625
|
-
get titletype() {
|
|
626
|
-
return this.$$.ctx[1];
|
|
627
|
-
}
|
|
628
|
-
set titletype(e) {
|
|
629
|
-
this.$$set({ titletype: e }), P();
|
|
630
|
-
}
|
|
631
|
-
get clientstyling() {
|
|
632
|
-
return this.$$.ctx[19];
|
|
633
|
-
}
|
|
634
|
-
set clientstyling(e) {
|
|
635
|
-
this.$$set({ clientstyling: e }), P();
|
|
636
|
-
}
|
|
637
|
-
get clientstylingurl() {
|
|
638
|
-
return this.$$.ctx[20];
|
|
639
|
-
}
|
|
640
|
-
set clientstylingurl(e) {
|
|
641
|
-
this.$$set({ clientstylingurl: e }), P();
|
|
642
|
-
}
|
|
643
|
-
get translationurl() {
|
|
644
|
-
return this.$$.ctx[21];
|
|
645
|
-
}
|
|
646
|
-
set translationurl(e) {
|
|
647
|
-
this.$$set({ translationurl: e }), P();
|
|
648
|
-
}
|
|
649
|
-
get collectionprovidersgamenames() {
|
|
650
|
-
return this.$$.ctx[2];
|
|
651
|
-
}
|
|
652
|
-
set collectionprovidersgamenames(e) {
|
|
653
|
-
this.$$set({ collectionprovidersgamenames: e }), P();
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
Fe(Ee, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
|
|
657
|
-
export {
|
|
658
|
-
Ee as default
|
|
659
|
-
};
|