@everymatrix/casino-most-played-section 1.40.0 → 1.42.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.
@@ -1324,96 +1324,96 @@ return e[14](/*sort*/e[23])}return{c(){t=g("li"),n=g("label"),r=g("input"),a=b()
|
|
1324
1324
|
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Mi).forEach((e=>{Ti(e,Mi[e])}));const p={All:r("all"),name:r("az"),isNew:r("newest"),"advancedTags(name(hot))":r("hottest")},g=e=>{n(3,f=e);let t=localStorage.getItem("vendorSortingBy");m=e;for(let t in p)if(p[t]===e){m=t;break}null==t?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:m})):(t=JSON.parse(t),t[c]=m,localStorage.setItem("vendorSortingBy",JSON.stringify(t))),window.postMessage({type:"ApplySorter",sortBy:m,itemId:c},window.location.href),n(1,u=!u)},y=()=>{n(1,u=!u),window.postMessage({type:"SortingOpened"},window.location.href)},v=e=>{"FilterOpened"==e.data.type&&n(1,u=!1)};T((()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)})));return e.$$set=e=>{"lang"in e&&n(8,a=e.lang),"translationurl"in e&&n(9,o=e.translationurl),"clientstyling"in e&&n(10,s=e.clientstyling),"clientstylingurl"in e&&n(11,l=e.clientstylingurl),"categoryid"in e&&n(12,c=e.categoryid)},e.$$.update=()=>{/*categoryid*/4096&e.$$.dirty&&c&&(()=>{var e;n(3,f="All"),n(2,h=!1),n(1,u=!1);let t=null===(e=JSON.parse(localStorage.getItem("vendorSortingBy")))||void 0===e?void 0:e[c];n(3,f=t||"All"),n(3,f=p[t])})(),/*clientstyling, customStylingContainer*/1025&e.$$.dirty&&s&&i&&(()=>{let e=document.createElement("style");e.innerHTML=s,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2049&e.$$.dirty&&l&&i&&(()=>{let e=document.createElement("style");fetch(new URL(l)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*translationurl*/512&e.$$.dirty&&o&&fetch(o).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ti(t,e[t])}))})).catch((e=>{console.log(e)}))},[i,u,h,f,r,p,g,y,a,o,s,l,c,()=>y(),e=>g(e),function(e){$[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}
|
1325
1325
|
/* ../casino-games-category-section/src/CasinoGamesCategorySection.svelte generated by Svelte v3.59.2 */
|
1326
1326
|
function Oi(e,t,n){const r=e.slice();return r[91]=t[n],r[93]=n,r}function Ni(e,t,n){const r=e.slice();return r[91]=t[n],r[94]=t,r[93]=n,r}function Pi(e,t,n){const r=e.slice();return r[91]=t[n],r[93]=n,r}
|
1327
|
-
// (
|
1327
|
+
// (757:4) {:else}
|
1328
1328
|
function Ri(e){let t;function n(e,t){/*categoryData*/
|
1329
1329
|
return e[26]?Yi:/*showFavGamesCategory*/e[37]?Ui:void 0}let r=n(e),i=r&&r(e);return{c(){t=g("div"),i&&i.c()},m(e,n){m(e,t,n),i&&i.m(t,null)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t,null)))},d(e){e&&f(t),i&&i.d()}}}
|
1330
|
-
// (
|
1330
|
+
// (694:4) {#if searched}
|
1331
1331
|
function Hi(e){let t,n,r;function i(e,t){/*recentSearched*/
|
1332
1332
|
return e[30]?fa:/*shownCategoryData*/e[27].length?ha:ma}let a=i(e),o=a(e);function s(e,t){/*shownCategoryData*/
|
1333
1333
|
return e[27]?ga:pa}let l=s(e),c=l(e);return{c(){t=g("div"),n=g("div"),o.c(),r=b(),c.c(),x(n,"class","CasinoGamesHeader Searched "+(Dr(/*userAgent*/e[42])?"CasinoGamesHeaderMobile":"")),x(t,"class","CasinoGamesContainer")},m(e,i){m(e,t,i),h(t,n),o.m(n,null),h(t,r),c.m(t,null)},p(e,r){a===(a=i(e))&&o?o.p(e,r):(o.d(1),o=a(e),o&&(o.c(),o.m(n,null))),l===(l=s(e))&&c?c.p(e,r):(c.d(1),c=l(e),c&&(c.c(),c.m(t,null)))},d(e){e&&f(t),o.d(),c.d()}}}
|
1334
|
-
// (
|
1334
|
+
// (686:2) {#if hasErrors}
|
1335
1335
|
function Bi(e){let t;function n(e,t){/*presentFilters*/
|
1336
1336
|
return e[32]?wa:ba}let r=n(e),i=r(e);return{c(){i.c(),t=w()},m(e,n){i.m(e,n),m(e,t,n)},p(e,a){r!==(r=n(e))&&(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&f(t)}}}
|
1337
|
-
// (
|
1337
|
+
// (850:39)
|
1338
1338
|
function Ui(e){let t,n,r,i,a=/*casinomygames*/"true"!==e[18]&&zi(e);function o(e,t){/*isLoading*/
|
1339
1339
|
return e[23]&&!/*isLazyLoading*/e[34]?Vi:/*favoriteGamesData*/e[40]?Wi:ji}let s=o(e),l=s(e);return{c(){t=g("div"),a&&a.c(),n=b(),r=g("ul"),l.c(),x(r,"class",i=/*favoriteGamesData*/(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),x(t,"class","CasinoGamesContainer")},m(i,o){m(i,t,o),a&&a.m(t,null),h(t,n),h(t,r),l.m(r,null),
|
1340
1340
|
/*ul_binding_1*/e[56](r)},p(e,c){/*casinomygames*/"true"!==e[18]?a?a.p(e,c):(a=zi(e),a.c(),a.m(t,n)):a&&(a.d(1),a=null),s===(s=o(e))&&l?l.p(e,c):(l.d(1),l=s(e),l&&(l.c(),l.m(r,null))),/*favoriteGamesData*/512&c[1]&&i!==(i=/*favoriteGamesData*/(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&x(r,"class",i)},d(n){n&&f(t),a&&a.d(),l.d(),
|
1341
1341
|
/*ul_binding_1*/e[56](null)}}}
|
1342
|
-
// (
|
1342
|
+
// (759:8) {#if categoryData}
|
1343
1343
|
function Yi(e){let t,n,r=/*casinomygames*/"true"!==e[18]&&ra(e);function i(e,t){/*isLoading*/
|
1344
1344
|
return e[23]&&!/*isLazyLoading*/e[34]?ua:/*shownCategoryData*/0!==e[27].length?ca:la}let a=i(e),o=a(e);return{c(){t=g("div"),r&&r.c(),n=b(),o.c(),x(t,"class","CasinoGamesContainer")},m(e,i){m(e,t,i),r&&r.m(t,null),h(t,n),o.m(t,null)},p(e,s){/*casinomygames*/"true"!==e[18]?r?r.p(e,s):(r=ra(e),r.c(),r.m(t,n)):r&&(r.d(1),r=null),a===(a=i(e))&&o?o.p(e,s):(o.d(1),o=a(e),o&&(o.c(),o.m(t,null)))},d(e){e&&f(t),r&&r.d(),o.d()}}}
|
1345
|
-
// (
|
1345
|
+
// (852:14) {#if casinomygames !== 'true'}
|
1346
1346
|
function zi(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[41]("favorites")+"",u=/*favoriteGamesData*/e[40].items.length+"";return{c(){t=g("div"),n=g("h3"),r=v(c),i=b(),a=g("span"),o=v("("),s=v(u),l=v(")"),x(a,"class","CategoryFavName"),x(n,"class","CategoryName"),x(t,"class","CasinoGamesHeader")},m(c,u){m(c,t,u),h(t,n),h(n,r),h(n,i),h(n,a),h(a,o),h(a,s),h(a,l),
|
1347
1347
|
/*h3_binding_1*/e[55](n)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("favorites")+"")&&F(r,c),/*favoriteGamesData*/512&t[1]&&u!==(u=/*favoriteGamesData*/e[40].items.length+"")&&F(s,u)},d(n){n&&f(t)
|
1348
1348
|
/*h3_binding_1*/,e[55](null)}}}
|
1349
|
-
// (
|
1349
|
+
// (963:18) {:else}
|
1350
1350
|
function ji(e){let t,n,r=/*$_*/e[41]("waiting")+"";return{c(){t=g("p"),n=v(r)},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("waiting")+"")&&F(n,r)},d(e){e&&f(t)}}}
|
1351
|
-
// (
|
1351
|
+
// (865:18) {#if favoriteGamesData}
|
1352
1352
|
function Wi(e){let t,n=/*favoriteGamesData*/e[40].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=na(Oi(e,n,t));let i=null;return n.length||(i=Zi(e)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=w(),i&&i.c()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);m(e,t,n),i&&i.m(e,n)},p(e,a){if(/*session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/262121&a[0]|/*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/8128&a[1]){let o;for(n=/*favoriteGamesData*/e[40].items,o=0;o<n.length;o+=1){const i=Oi(e,n,o);r[o]?r[o].p(i,a):(r[o]=na(i),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length,!n.length&&i?i.p(e,a):n.length?i&&(i.d(1),i=null):(i=Zi(e),i.c(),i.m(t.parentNode,t))}},d(e){p(r,e),e&&f(t),i&&i.d(e)}}}
|
1353
|
-
// (
|
1353
|
+
// (862:16) {#if isLoading && !isLazyLoading}
|
1354
1354
|
function Vi(e){let n;return{c(){n=g("div"),x(n,"class","lds-dual-ring")},m(e,t){m(e,n,t)},p:t,d(e){e&&f(n)}}}
|
1355
|
-
// (
|
1355
|
+
// (944:20) {:else}
|
1356
1356
|
function Zi(e){let t,n,r,i,a,o,s,l,c,u,d,p,w,_,S=/*$_*/e[41]("noFavoritesTitle")+"";let k=function(e){return Dr(/*userAgent*/e[42])?Xi:Ki}(e),C=k(e);return{c(){t=g("p"),n=y("svg"),r=y("rect"),i=y("rect"),a=y("circle"),o=y("path"),s=y("path"),l=y("path"),c=y("path"),u=b(),d=g("span"),p=v(S),w=b(),C.c(),_=b(),x(r,"x","1"),x(r,"y","18.053"),x(r,"width","90.263"),x(r,"height","90.263"),x(r,"rx","12"),x(r,"stroke","var(--emfe-w-color-gray-150, #828282)"),x(r,"stroke-width","1.5"),x(i,"x","106.737"),x(i,"y","56.737"),x(i,"width","90.263"),x(i,"height","90.263"),x(i,"rx","12"),x(i,"stroke","var(--emfe-w-color-gray-150, #828282)"),x(i,"stroke-width","1.5"),x(a,"cx","70.5"),x(a,"cy","32.237"),x(a,"r","31.487"),x(a,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(a,"stroke-width","1.5"),x(a,"stroke-dasharray","5 0"),x(o,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),x(o,"fill","var(--emfe-w-color-gray-150, #828282)"),x(s,"d","M78 43h11v13H78V43z"),x(s,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(l,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),x(l,"fill","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(l,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(l,"stroke-linecap","round"),x(l,"stroke-linejoin","round"),x(c,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),x(c,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(c,"stroke-width","1.5"),x(c,"stroke-linecap","round"),x(c,"stroke-linejoin","round"),x(n,"width","198"),x(n,"height","148"),x(n,"viewBox","0 0 198 148"),x(n,"fill","none"),x(n,"xmlns","http://www.w3.org/2000/svg"),x(d,"class","NoFavoriteText NoFavoriteTextHighlight"),x(t,"class","NoFavoriteGames "+(Dr(/*userAgent*/e[42])?"NoFavoriteGamesMobile":""))},m(e,f){m(e,t,f),h(t,n),h(n,r),h(n,i),h(n,a),h(n,o),h(n,s),h(n,l),h(n,c),h(t,u),h(t,d),h(d,p),h(t,w),C.m(t,null),h(t,_)},p(e,t){/*$_*/1024&t[1]&&S!==(S=/*$_*/e[41]("noFavoritesTitle")+"")&&F(p,S),C.p(e,t)},d(e){e&&f(t),C.d()}}}
|
1357
|
-
// (
|
1357
|
+
// (958:24) {:else}
|
1358
1358
|
function Ki(e){let t,n,r=/*$_*/e[41]("noFavorites")+"";return{c(){t=g("span"),n=v(r),x(t,"class","NoFavoriteText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavorites")+"")&&F(n,r)},d(e){e&&f(t)}}}
|
1359
|
-
// (
|
1359
|
+
// (956:24) {#if isMobile(userAgent)}
|
1360
1360
|
function Xi(e){let t,n,r=/*$_*/e[41]("noFavoritesMobile")+"";return{c(){t=g("span"),n=v(r),x(t,"class","NoFavoriteText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavoritesMobile")+"")&&F(n,r)},d(e){e&&f(t)}}}
|
1361
|
-
// (
|
1361
|
+
// (867:22) {#if gameprops.gameModel}
|
1362
1362
|
function Ji(e){let t,n=/*gameprops*/e[91].gameModel.isFavorite&&qi(e);return{c(){n&&n.c(),t=w()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,r){/*gameprops*/e[91].gameModel.isFavorite?n?n.p(e,r):(n=qi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&f(t)}}}
|
1363
|
-
// (
|
1363
|
+
// (868:24) {#if gameprops.gameModel.isFavorite}
|
1364
1364
|
function qi(e){let t,n=
|
1365
|
-
// (
|
1365
|
+
// (869:26) {#if intersecting || nativeLoading}
|
1366
1366
|
function(e){let t,n,r;function i(e,r){/*favoriteGamesData*/
|
1367
1367
|
return 512&r[1]&&(n=null),null==t&&(t=!!Dr(/*userAgent*/e[42])),t?ea:(null==n&&(n=!!/*gameprops*/e[91].gameModel.platform.includes("PC")),n?Qi:void 0)}let a=i(e,[-1,-1,-1,-1]),o=a&&a(e);return{c(){o&&o.c(),r=w()},m(e,t){o&&o.m(e,t),m(e,r,t)},p(e,t){a===(a=i(e,t))&&o?o.p(e,t):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(r.parentNode,r)))},d(e){o&&o.d(e),e&&f(r)}}}
|
1368
|
-
// (
|
1368
|
+
// (906:82)
|
1369
1369
|
(e);return{c(){n&&n.c(),t=w()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&f(t)}}}function Qi(e){let t,n,r,i,a,o,s,l,c,u,d,h,p,y,v;return{c(){t=g("casino-game-thumbnail"),S(t,"class",n=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"part",r=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"session",/*session*/e[6]),S(t,"userid",/*userid*/e[7]),S(t,"lang",/*lang*/e[5]),S(t,"translationurl",/*translationurl*/e[11]),S(t,"favorites",/*favorites*/e[8]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"gamethumbnail",i=/*gameprops*/e[91].gameModel.thumbnail),S(t,"gamename",a=/*gameprops*/e[91].gameModel.name),S(t,"gamevendor",o=/*gameprops*/e[91].gameModel.vendor.name),S(t,"gamelaunchurl",s=/*gameprops*/e[91].launchUrl),S(t,"gameisnew",l=/*gameprops*/e[91].gameModel.isNew),S(t,"gametag",c=/*gameprops*/e[91].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].gameModel.advancedTags)),S(t,"gamecellsize",u=/*gameprops*/e[91].cellSize),S(t,"gameid",d=/*gameprops*/e[91].gameModel.id),S(t,"gamefunmode",h=/*gameprops*/e[91].gameModel.hasFunMode),S(t,"showgamename",/*showgamename*/e[13]),S(t,"gamefavorite",p=/*gameprops*/e[91].gameModel.isFavorite),S(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),S(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect"),S(t,"visibilityconnect",/*visibilityconnect*/e[39]),S(t,"currency",/*currency*/e[12]),S(t,"livelobbyendpoint",v=/*gameprops*/e[91].gameModel.details?/*gameprops*/e[91].gameModel.launchUrl:""),S(t,"clientstyling",/*clientstyling*/e[9]),S(t,"clientstylingurl",/*clientstylingurl*/e[10]),S(t,"endpoint",/*endpoint*/e[3]),S(t,"livecasino",/*livecasino*/e[14]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){m(e,t,n)},p(e,m){/*favoriteGamesData*/512&m[1]&&n!==(n=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"class",n),/*favoriteGamesData*/512&m[1]&&r!==(r=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"part",r),/*session*/64&m[0]&&S(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&S(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&S(t,"lang",/*lang*/e[5]),/*translationurl*/2048&m[0]&&S(t,"translationurl",/*translationurl*/e[11]),/*favorites*/256&m[0]&&S(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*favoriteGamesData*/512&m[1]&&i!==(i=/*gameprops*/e[91].gameModel.thumbnail)&&S(t,"gamethumbnail",i),/*favoriteGamesData*/512&m[1]&&a!==(a=/*gameprops*/e[91].gameModel.name)&&S(t,"gamename",a),/*favoriteGamesData*/512&m[1]&&o!==(o=/*gameprops*/e[91].gameModel.vendor.name)&&S(t,"gamevendor",o),/*favoriteGamesData*/512&m[1]&&s!==(s=/*gameprops*/e[91].launchUrl)&&S(t,"gamelaunchurl",s),/*favoriteGamesData*/512&m[1]&&l!==(l=/*gameprops*/e[91].gameModel.isNew)&&S(t,"gameisnew",l),/*favoriteGamesData*/512&m[1]&&c!==(c=/*gameprops*/e[91].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].gameModel.advancedTags))&&S(t,"gametag",c),/*favoriteGamesData*/512&m[1]&&u!==(u=/*gameprops*/e[91].cellSize)&&S(t,"gamecellsize",u),/*favoriteGamesData*/512&m[1]&&d!==(d=/*gameprops*/e[91].gameModel.id)&&S(t,"gameid",d),/*favoriteGamesData*/512&m[1]&&h!==(h=/*gameprops*/e[91].gameModel.hasFunMode)&&S(t,"gamefunmode",h),/*showgamename*/8192&m[0]&&S(t,"showgamename",/*showgamename*/e[13]),/*favoriteGamesData*/512&m[1]&&p!==(p=/*gameprops*/e[91].gameModel.isFavorite)&&S(t,"gamefavorite",p),/*showFavGamesCategory*/64&m[1]&&S(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),/*intersectingIndexes, favoriteGamesData*/640&m[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect")&&S(t,"connectlive",y),/*visibilityconnect*/256&m[1]&&S(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&m[0]&&S(t,"currency",/*currency*/e[12]),/*favoriteGamesData*/512&m[1]&&v!==(v=/*gameprops*/e[91].gameModel.details?/*gameprops*/e[91].gameModel.launchUrl:"")&&S(t,"livelobbyendpoint",v),/*clientstyling*/512&m[0]&&S(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&S(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&m[0]&&S(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&f(t)}}}
|
1370
|
-
// (
|
1370
|
+
// (870:28) {#if isMobile(userAgent)}
|
1371
1371
|
function ea(e){let t,n=/*gameprops*/e[91].gameModel.platform.includes("iPad")||/*gameprops*/e[91].gameModel.platform.includes("iPhone")||/*gameprops*/e[91].gameModel.platform.includes("Android"),r=n&&ta(e);return{c(){r&&r.c(),t=w()},m(e,n){r&&r.m(e,n),m(e,t,n)},p(e,i){/*favoriteGamesData*/512&i[1]&&(n=/*gameprops*/e[91].gameModel.platform.includes("iPad")||/*gameprops*/e[91].gameModel.platform.includes("iPhone")||/*gameprops*/e[91].gameModel.platform.includes("Android")),n?r?r.p(e,i):(r=ta(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&f(t)}}}
|
1372
|
-
// (
|
1372
|
+
// (871:30) {#if (gameprops.gameModel.platform.includes("iPad") || gameprops.gameModel.platform.includes("iPhone") || gameprops.gameModel.platform.includes("Android"))}
|
1373
1373
|
function ta(e){let t,n,r,i,a,o,s,l,c,u,d,h,p,y,v;return{c(){t=g("casino-game-thumbnail"),S(t,"class",n=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"part",r=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"session",/*session*/e[6]),S(t,"userid",/*userid*/e[7]),S(t,"lang",/*lang*/e[5]),S(t,"favorites",/*favorites*/e[8]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"gamethumbnail",i=/*gameprops*/e[91].gameModel.thumbnail),S(t,"gamename",a=/*gameprops*/e[91].gameModel.name),S(t,"gamevendor",o=/*gameprops*/e[91].gameModel.vendor.name),S(t,"gamelaunchurl",s=/*gameprops*/e[91].launchUrl),S(t,"gameisnew",l=/*gameprops*/e[91].gameModel.isNew),S(t,"gametag",c=/*gameprops*/e[91].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].gameModel.advancedTags)),S(t,"gamecellsize",u=/*gameprops*/e[91].cellSize),S(t,"gameid",d=/*gameprops*/e[91].gameModel.id),S(t,"gamefunmode",h=/*gameprops*/e[91].gameModel.hasFunMode),S(t,"showgamename",/*showgamename*/e[13]),S(t,"gamefavorite",p=/*gameprops*/e[91].gameModel.isFavorite),S(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),S(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect"),S(t,"visibilityconnect",/*visibilityconnect*/e[39]),S(t,"translationurl",/*translationurl*/e[11]),S(t,"currency",/*currency*/e[12]),S(t,"livelobbyendpoint",v=/*gameprops*/e[91].gameModel.details?/*gameprops*/e[91].gameModel.launchUrl:""),S(t,"clientstyling",/*clientstyling*/e[9]),S(t,"clientstylingurl",/*clientstylingurl*/e[10]),S(t,"endpoint",/*endpoint*/e[3]),S(t,"livecasino",/*livecasino*/e[14]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){m(e,t,n)},p(e,m){/*favoriteGamesData*/512&m[1]&&n!==(n=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"class",n),/*favoriteGamesData*/512&m[1]&&r!==(r=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"part",r),/*session*/64&m[0]&&S(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&S(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&S(t,"lang",/*lang*/e[5]),/*favorites*/256&m[0]&&S(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*favoriteGamesData*/512&m[1]&&i!==(i=/*gameprops*/e[91].gameModel.thumbnail)&&S(t,"gamethumbnail",i),/*favoriteGamesData*/512&m[1]&&a!==(a=/*gameprops*/e[91].gameModel.name)&&S(t,"gamename",a),/*favoriteGamesData*/512&m[1]&&o!==(o=/*gameprops*/e[91].gameModel.vendor.name)&&S(t,"gamevendor",o),/*favoriteGamesData*/512&m[1]&&s!==(s=/*gameprops*/e[91].launchUrl)&&S(t,"gamelaunchurl",s),/*favoriteGamesData*/512&m[1]&&l!==(l=/*gameprops*/e[91].gameModel.isNew)&&S(t,"gameisnew",l),/*favoriteGamesData*/512&m[1]&&c!==(c=/*gameprops*/e[91].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].gameModel.advancedTags))&&S(t,"gametag",c),/*favoriteGamesData*/512&m[1]&&u!==(u=/*gameprops*/e[91].cellSize)&&S(t,"gamecellsize",u),/*favoriteGamesData*/512&m[1]&&d!==(d=/*gameprops*/e[91].gameModel.id)&&S(t,"gameid",d),/*favoriteGamesData*/512&m[1]&&h!==(h=/*gameprops*/e[91].gameModel.hasFunMode)&&S(t,"gamefunmode",h),/*showgamename*/8192&m[0]&&S(t,"showgamename",/*showgamename*/e[13]),/*favoriteGamesData*/512&m[1]&&p!==(p=/*gameprops*/e[91].gameModel.isFavorite)&&S(t,"gamefavorite",p),/*showFavGamesCategory*/64&m[1]&&S(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),/*intersectingIndexes, favoriteGamesData*/640&m[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect")&&S(t,"connectlive",y),/*visibilityconnect*/256&m[1]&&S(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*translationurl*/2048&m[0]&&S(t,"translationurl",/*translationurl*/e[11]),/*currency*/4096&m[0]&&S(t,"currency",/*currency*/e[12]),/*favoriteGamesData*/512&m[1]&&v!==(v=/*gameprops*/e[91].gameModel.details?/*gameprops*/e[91].gameModel.launchUrl:"")&&S(t,"livelobbyendpoint",v),/*clientstyling*/512&m[0]&&S(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&S(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&m[0]&&S(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&f(t)}}}
|
1374
|
-
// (
|
1374
|
+
// (866:20) {#each favoriteGamesData.items as gameprops, index}
|
1375
1375
|
function na(e){let t,n=/*gameprops*/e[91].gameModel&&Ji(e);return{c(){n&&n.c(),t=w()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,r){/*gameprops*/e[91].gameModel?n?n.p(e,r):(n=Ji(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&f(t)}}}
|
1376
|
-
// (
|
1376
|
+
// (761:12) {#if casinomygames !== 'true'}
|
1377
1377
|
function ra(e){let t,n,r,i,a=/*categoryData*/e[26].name+"";function o(e,t){/*showLoadCategory*/
|
1378
1378
|
return e[28]?aa:ia}let s=o(e),l=s(e);return{c(){t=g("div"),n=g("h3"),r=v(a),i=b(),l.c(),x(n,"class","CategoryName"),x(t,"class","CasinoGamesHeader")},m(a,o){m(a,t,o),h(t,n),h(n,r),
|
1379
1379
|
/*h3_binding*/e[51](n),h(t,i),l.m(t,null)},p(e,n){/*categoryData*/67108864&n[0]&&a!==(a=/*categoryData*/e[26].name+"")&&F(r,a),s===(s=o(e))&&l?l.p(e,n):(l.d(1),l=s(e),l&&(l.c(),l.m(t,null)))},d(n){n&&f(t)
|
1380
1380
|
/*h3_binding*/,e[51](null),l.d()}}}
|
1381
|
-
// (
|
1381
|
+
// (773:16) {:else}
|
1382
1382
|
function ia(e){let t,n,r,i=/*addfilterselector*/"true"==e[1]&&oa(e),a=/*addsortingselector*/"true"==e[2]&&sa(e);return{c(){t=g("div"),i&&i.c(),n=b(),a&&a.c(),x(t,"class",r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")},m(e,r){m(e,t,r),i&&i.m(t,null),h(t,n),a&&a.m(t,null)},p(e,o){/*addfilterselector*/"true"==e[1]?i?i.p(e,o):(i=oa(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*addsortingselector*/"true"==e[2]?a?a.p(e,o):(a=sa(e),a.c(),a.m(t,null)):a&&(a.d(1),a=null),/*addfilterselector, addsortingselector*/6&o[0]&&r!==(r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")&&x(t,"class",r)},d(e){e&&f(t),i&&i.d(),a&&a.d()}}}
|
1383
|
-
// (
|
1383
|
+
// (766:16) {#if showLoadCategory}
|
1384
1384
|
function aa(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[41]("viewAll")+"",u=/*categoryData*/e[26].games.total+"";return{c(){t=g("a"),n=g("span"),r=v(c),i=v(" ("),a=v(u),o=v(")"),x(n,"class","CategoryLoadMore"),x(t,"class","CategoryNameLink")},m(c,u){m(c,t,u),h(t,n),h(n,r),h(n,i),h(n,a),h(n,o),s||(l=_(t,"click",/*click_handler*/e[52]),s=!0)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("viewAll")+"")&&F(r,c),/*categoryData*/67108864&t[0]&&u!==(u=/*categoryData*/e[26].games.total+"")&&F(a,u)},d(e){e&&f(t),s=!1,l()}}}
|
1385
|
-
// (
|
1385
|
+
// (775:22) {#if addfilterselector == "true"}
|
1386
1386
|
function oa(e){let t;return{c(){t=g("casino-filter"),S(t,"clientstylingurl",/*clientstylingurl*/e[10]),S(t,"clientstyling",/*clientstyling*/e[9]),S(t,"endpoint",/*endpoint*/e[3]),S(t,"datasource",/*datasource*/e[4]),S(t,"lang",/*lang*/e[5]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"addfilterselector",/*addfilterselector*/e[1]),S(t,"addsortingselector",/*addsortingselector*/e[2]),S(t,"filterbylogo",/*filterbylogo*/e[19])},m(e,n){m(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&S(t,"clientstyling",/*clientstyling*/e[9]),/*endpoint*/8&n[0]&&S(t,"endpoint",/*endpoint*/e[3]),/*datasource*/16&n[0]&&S(t,"datasource",/*datasource*/e[4]),/*lang*/32&n[0]&&S(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*addfilterselector*/2&n[0]&&S(t,"addfilterselector",/*addfilterselector*/e[1]),/*addsortingselector*/4&n[0]&&S(t,"addsortingselector",/*addsortingselector*/e[2]),/*filterbylogo*/524288&n[0]&&S(t,"filterbylogo",/*filterbylogo*/e[19])},d(e){e&&f(t)}}}
|
1387
|
-
// (
|
1387
|
+
// (788:22) {#if addsortingselector == "true"}
|
1388
1388
|
function sa(e){let t;return{c(){t=g("casino-sort"),S(t,"clientstylingurl",/*clientstylingurl*/e[10]),S(t,"clientstyling",/*clientstyling*/e[9]),S(t,"lang",/*lang*/e[5]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"addsortingselector",/*addsortingselector*/e[2])},m(e,n){m(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&S(t,"clientstyling",/*clientstyling*/e[9]),/*lang*/32&n[0]&&S(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*addsortingselector*/4&n[0]&&S(t,"addsortingselector",/*addsortingselector*/e[2])},d(e){e&&f(t)}}}
|
1389
|
-
// (
|
1389
|
+
// (845:14) {:else}
|
1390
1390
|
function la(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=g("p"),n=v(r),x(t,"class","NoSearchResults")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&F(n,r)},d(e){e&&f(t)}}}
|
1391
|
-
// (
|
1391
|
+
// (804:14) {#if shownCategoryData.length !== 0 }
|
1392
1392
|
function ca(e){let t,n,r=/*shownCategoryData*/e[27],i=[];for(let t=0;t<r.length;t+=1)i[t]=da(Ni(e,r,t));return{c(){t=g("ul");for(let e=0;e<i.length;e+=1)i[e].c();x(t,"class",n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(n,r){m(n,t,r);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);
|
1393
1393
|
/*ul_binding*/e[54](t)},p(e,a){if(/*session, userid, lang, shownCategoryData, favorites, categoryid, translationurl, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/139722729&a[0]|/*addGameTag, intersectingIndexes, visibilityconnect*/4480&a[1]){let n;for(r=/*shownCategoryData*/e[27],n=0;n<r.length;n+=1){const o=Ni(e,r,n);i[n]?i[n].p(o,a):(i[n]=da(o),i[n].c(),i[n].m(t,null))}for(;n<i.length;n+=1)i[n].d(1);i.length=r.length}/*lobbyView, casinogamesgridslider*/34603008&a[0]|/*favoriteGamesData, showFavGamesCategory*/576&a[1]&&n!==(n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&x(t,"class",n)},d(n){n&&f(t),p(i,n),
|
1394
1394
|
/*ul_binding*/e[54](null)}}}
|
1395
|
-
// (
|
1395
|
+
// (801:12) {#if isLoading && !isLazyLoading}
|
1396
1396
|
function ua(e){let n;return{c(){n=g("div"),x(n,"class","lds-dual-ring"),x(n,"part","lds-dual-ring")},m(e,t){m(e,n,t)},p:t,d(e){e&&f(n)}}}
|
1397
|
-
// (
|
1398
|
-
// (
|
1397
|
+
// (807:18) {#if intersecting || nativeLoading}
|
1398
|
+
// (806:18) {#each shownCategoryData as gameprops, index}
|
1399
1399
|
function da(e){let t,n=function(e){let t,n,r,i,a,o,s,l,c,u,d,h,p,y,v,b=/*index*/e[93];const w=()=>/*casino_game_thumbnail_binding*/e[53](t,b),_=()=>/*casino_game_thumbnail_binding*/e[53](null,b);return{c(){t=g("casino-game-thumbnail"),S(t,"session",/*session*/e[6]),S(t,"userid",/*userid*/e[7]),S(t,"lang",/*lang*/e[5]),S(t,"class",n=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"part",r=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"favorites",/*favorites*/e[8]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"gamethumbnail",i=/*gameprops*/e[91].thumbnail),S(t,"gamename",a=/*gameprops*/e[91].name),S(t,"gamevendor",o=/*gameprops*/e[91].vendor.name),S(t,"gamelaunchurl",s=/*gameprops*/e[91].launchUrl),S(t,"gameisnew",l=/*gameprops*/e[91].isNew),S(t,"gametag",c=/*gameprops*/e[91].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].advancedTags)),S(t,"gamecellsize",u=/*gameprops*/e[91].cellSize),S(t,"gameid",d=/*gameprops*/e[91].id),S(t,"gamefunmode",h=/*gameprops*/e[91].hasFunMode),S(t,"gamefavorite",p=/*gameprops*/e[91].isFavorite),S(t,"translationurl",/*translationurl*/e[11]),S(t,"showgamename",/*showgamename*/e[13]),S(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect"),S(t,"visibilityconnect",/*visibilityconnect*/e[39]),S(t,"currency",/*currency*/e[12]),S(t,"livelobbyendpoint",v=/*gameprops*/e[91].details?/*gameprops*/e[91].href:""),S(t,"clientstyling",/*clientstyling*/e[9]),S(t,"clientstylingurl",/*clientstylingurl*/e[10]),S(t,"endpoint",/*endpoint*/e[3]),S(t,"livecasino",/*livecasino*/e[14]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),S(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20])},m(e,n){m(e,t,n),w()},p(m,f){e=m,/*session*/64&f[0]&&S(t,"session",/*session*/e[6]),/*userid*/128&f[0]&&S(t,"userid",/*userid*/e[7]),/*lang*/32&f[0]&&S(t,"lang",/*lang*/e[5]),/*shownCategoryData*/134217728&f[0]&&n!==(n=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"class",n),/*shownCategoryData*/134217728&f[0]&&r!==(r=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"part",r),/*favorites*/256&f[0]&&S(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&f[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&f[0]&&i!==(i=/*gameprops*/e[91].thumbnail)&&S(t,"gamethumbnail",i),/*shownCategoryData*/134217728&f[0]&&a!==(a=/*gameprops*/e[91].name)&&S(t,"gamename",a),/*shownCategoryData*/134217728&f[0]&&o!==(o=/*gameprops*/e[91].vendor.name)&&S(t,"gamevendor",o),/*shownCategoryData*/134217728&f[0]&&s!==(s=/*gameprops*/e[91].launchUrl)&&S(t,"gamelaunchurl",s),/*shownCategoryData*/134217728&f[0]&&l!==(l=/*gameprops*/e[91].isNew)&&S(t,"gameisnew",l),/*shownCategoryData*/134217728&f[0]&&c!==(c=/*gameprops*/e[91].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].advancedTags))&&S(t,"gametag",c),/*shownCategoryData*/134217728&f[0]&&u!==(u=/*gameprops*/e[91].cellSize)&&S(t,"gamecellsize",u),/*shownCategoryData*/134217728&f[0]&&d!==(d=/*gameprops*/e[91].id)&&S(t,"gameid",d),/*shownCategoryData*/134217728&f[0]&&h!==(h=/*gameprops*/e[91].hasFunMode)&&S(t,"gamefunmode",h),/*shownCategoryData*/134217728&f[0]&&p!==(p=/*gameprops*/e[91].isFavorite)&&S(t,"gamefavorite",p),/*translationurl*/2048&f[0]&&S(t,"translationurl",/*translationurl*/e[11]),/*showgamename*/8192&f[0]&&S(t,"showgamename",/*showgamename*/e[13]),/*shownCategoryData*/134217728&f[0]|/*intersectingIndexes*/128&f[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect")&&S(t,"connectlive",y),/*visibilityconnect*/256&f[1]&&S(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&f[0]&&S(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&f[0]&&v!==(v=/*gameprops*/e[91].details?/*gameprops*/e[91].href:"")&&S(t,"livelobbyendpoint",v),/*clientstyling*/512&f[0]&&S(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&f[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&f[0]&&S(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&f[0]&&S(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&f[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&f[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&f[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),/*casinogamesgridslider*/1048576&f[0]&&S(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20]),b!==/*index*/e[93]&&(_(),b=/*index*/e[93],w())},d(e){e&&f(t),_()}}}(e);return{c(){n&&n.c(),t=w()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&f(t)}}}
|
1400
|
-
// (
|
1400
|
+
// (706:12) {:else}
|
1401
1401
|
function ha(e){let t,n,r=/*$_*/e[41]("searchedItems")+"";return{c(){t=g("h3"),n=v(r),x(t,"class","StatusText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("searchedItems")+"")&&F(n,r)},d(e){e&&f(t)}}}
|
1402
|
-
// (
|
1402
|
+
// (702:12) {#if !shownCategoryData.length}
|
1403
1403
|
function ma(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=g("h3"),n=v(r),x(t,"class","StatusText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&F(n,r)},d(e){e&&f(t)}}}
|
1404
|
-
// (
|
1404
|
+
// (697:10) {#if recentSearched}
|
1405
1405
|
function fa(e){let t,n,r=/*$_*/e[41]("recentSearchedItems")+"";return{c(){t=g("h3"),n=v(r),x(t,"class","StatusText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("recentSearchedItems")+"")&&F(n,r)},d(e){e&&f(t)}}}
|
1406
|
-
// (
|
1406
|
+
// (753:8) {:else}
|
1407
1407
|
function pa(e){let n;return{c(){n=g("p"),n.textContent="Waiting",x(n,"class","SearchWaiting")},m(e,t){m(e,n,t)},p:t,d(e){e&&f(n)}}}
|
1408
|
-
// (
|
1408
|
+
// (713:8) {#if shownCategoryData}
|
1409
1409
|
function ga(e){let t,n,r=!/*showItems*/e[33]&&ya(e),i=/*shownCategoryData*/e[27],a=[];for(let t=0;t<i.length;t+=1)a[t]=va(Pi(e,i,t));return{c(){r&&r.c(),t=b(),n=g("ul");for(let e=0;e<a.length;e+=1)a[e].c();x(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,i){r&&r.m(e,i),m(e,t,i),m(e,n,i);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(n,null)},p(e,o){if(/*showItems*/e[33]?r&&(r.d(1),r=null):r?r.p(e,o):(r=ya(e),r.c(),r.m(t.parentNode,t)),/*shownCategoryData, session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/134479849&o[0]|/*searchItem, addGameTag*/4097&o[1]){let t;for(i=/*shownCategoryData*/e[27],t=0;t<i.length;t+=1){const r=Pi(e,i,t);a[t]?a[t].p(r,o):(a[t]=va(r),a[t].c(),a[t].m(n,null))}for(;t<a.length;t+=1)a[t].d(1);a.length=i.length}},d(e){r&&r.d(e),e&&f(t),e&&f(n),p(a,e)}}}
|
1410
|
-
// (
|
1410
|
+
// (715:10) {#if !showItems}
|
1411
1411
|
function ya(e){let t,n,r=/*$_*/e[41]("noRecentSearch")+"";return{c(){t=g("p"),n=v(r),x(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Dr(/*userAgent*/e[42])?"NoRecentSearchesMobile":""))},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noRecentSearch")+"")&&F(n,r)},d(e){e&&f(t)}}}
|
1412
|
-
// (
|
1412
|
+
// (719:12) {#each shownCategoryData as gameprops, index}
|
1413
1413
|
function va(e){let t,n,r,i,a,o,s,l,c,u,d,h,p,y;return{c(){t=g("casino-game-thumbnail"),S(t,"class",n=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"part",r=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"session",/*session*/e[6]),S(t,"userid",/*userid*/e[7]),S(t,"lang",/*lang*/e[5]),S(t,"searchitem",/*searchItem*/e[31]),S(t,"favorites",/*favorites*/e[8]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"gamethumbnail",i=/*gameprops*/e[91].thumbnail),S(t,"gamename",a=/*gameprops*/e[91].name),S(t,"gamevendor",o=/*gameprops*/e[91].vendor.name),S(t,"gamelaunchurl",s=/*gameprops*/e[91].launchUrl),S(t,"gameisnew",l=/*gameprops*/e[91].isNew),S(t,"gametag",c=/*gameprops*/e[91].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].advancedTags)),S(t,"gamecellsize",u=/*gameprops*/e[91].cellSize),S(t,"gameid",d=/*gameprops*/e[91].id),S(t,"gamefunmode",h=/*gameprops*/e[91].hasFunMode),S(t,"showgamename",/*showgamename*/e[13]),S(t,"translationurl",/*translationurl*/e[11]),S(t,"gamefavorite",p=/*gameprops*/e[91].isFavorite),S(t,"currency",/*currency*/e[12]),S(t,"livelobbyendpoint",y=/*gameprops*/e[91].details?/*gameprops*/e[91].href:""),S(t,"clientstyling",/*clientstyling*/e[9]),S(t,"clientstylingurl",/*clientstylingurl*/e[10]),S(t,"endpoint",/*endpoint*/e[3]),S(t,"livecasino",/*livecasino*/e[14]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){m(e,t,n)},p(e,m){/*shownCategoryData*/134217728&m[0]&&n!==(n=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"class",n),/*shownCategoryData*/134217728&m[0]&&r!==(r=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"part",r),/*session*/64&m[0]&&S(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&S(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&S(t,"lang",/*lang*/e[5]),/*searchItem*/1&m[1]&&S(t,"searchitem",/*searchItem*/e[31]),/*favorites*/256&m[0]&&S(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&m[0]&&i!==(i=/*gameprops*/e[91].thumbnail)&&S(t,"gamethumbnail",i),/*shownCategoryData*/134217728&m[0]&&a!==(a=/*gameprops*/e[91].name)&&S(t,"gamename",a),/*shownCategoryData*/134217728&m[0]&&o!==(o=/*gameprops*/e[91].vendor.name)&&S(t,"gamevendor",o),/*shownCategoryData*/134217728&m[0]&&s!==(s=/*gameprops*/e[91].launchUrl)&&S(t,"gamelaunchurl",s),/*shownCategoryData*/134217728&m[0]&&l!==(l=/*gameprops*/e[91].isNew)&&S(t,"gameisnew",l),/*shownCategoryData*/134217728&m[0]&&c!==(c=/*gameprops*/e[91].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].advancedTags))&&S(t,"gametag",c),/*shownCategoryData*/134217728&m[0]&&u!==(u=/*gameprops*/e[91].cellSize)&&S(t,"gamecellsize",u),/*shownCategoryData*/134217728&m[0]&&d!==(d=/*gameprops*/e[91].id)&&S(t,"gameid",d),/*shownCategoryData*/134217728&m[0]&&h!==(h=/*gameprops*/e[91].hasFunMode)&&S(t,"gamefunmode",h),/*showgamename*/8192&m[0]&&S(t,"showgamename",/*showgamename*/e[13]),/*translationurl*/2048&m[0]&&S(t,"translationurl",/*translationurl*/e[11]),/*shownCategoryData*/134217728&m[0]&&p!==(p=/*gameprops*/e[91].isFavorite)&&S(t,"gamefavorite",p),/*currency*/4096&m[0]&&S(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&m[0]&&y!==(y=/*gameprops*/e[91].details?/*gameprops*/e[91].href:"")&&S(t,"livelobbyendpoint",y),/*clientstyling*/512&m[0]&&S(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&S(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&m[0]&&S(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&f(t)}}}
|
1414
|
-
// (
|
1414
|
+
// (690:4) {:else}
|
1415
1415
|
function ba(e){let t;return{c(){t=g("p"),t.textContent="500 Error - Internal Server Error.",x(t,"class","SearchLoading")},m(e,n){m(e,t,n)},d(e){e&&f(t)}}}
|
1416
|
-
// (
|
1416
|
+
// (688:4) {#if presentFilters}
|
1417
1417
|
function wa(e){let t;return{c(){t=g("p"),t.textContent="404 Error - No result found.",x(t,"class","SearchLoading")},m(e,n){m(e,t,n)},d(e){e&&f(t)}}}function _a(e){let n;function r(e,t){/*hasErrors*/
|
1418
1418
|
return e[24]?Bi:/*searched*/e[29]?Hi:Ri}let i=r(e),a=i(e);return{c(){n=g("div"),a.c(),this.c=t,x(n,"class","CasinoGamesCategorySectionContainer")},m(t,r){m(t,n,r),a.m(n,null),
|
1419
1419
|
/*div_binding*/e[57](n)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n,null)))},i:t,o:t,d(t){t&&f(n),a.d(),
|
@@ -1452,15 +1452,15 @@ T((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?r(39,le="dis
|
|
1452
1452
|
//Call the fav. list fetch when widget is standalone
|
1453
1453
|
"true"===_&&g&&b&&w&&fe(b,w),/*thumbnailContainer*/4194304&t.$$.dirty[0]|/*dataloaded*/524288&t.$$.dirty[1]&&f&&oe&&ae&&oe.forEach(((e,t)=>{e&&(
|
1454
1454
|
// Hack to make sure that I can identify the thumbnail index
|
1455
|
-
e.elems_index=t,me.observe(e))})),/*lang, categoryid
|
1455
|
+
e.elems_index=t,me.observe(e))})),/*lang, categoryid*/33&t.$$.dirty[0]&&v&&C&&(()=>{
|
1456
1456
|
// showFavGamesCategory vs categoryData
|
1457
1457
|
// favoriteGamesData vs shownCategoryData
|
1458
|
-
switch(C){case"FAVORITES":r(37,ie=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===A&&r(37,ie=!1);break;default:ye(C)}})(),/*translationurl*/2048&t.$$.dirty[0]&&F&&fetch(F).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Rr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/2097664&t.$$.dirty[0]&&x&&h&&(()=>{let e=document.createElement("style");e.innerHTML=x,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2098176&t.$$.dirty[0]&&S&&h&&(()=>{let e=new URL(S),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{h.appendChild(t)}),1)}))})()},[C,D,O,g,y,v,b,w,_,x,S,F,k,E,G,M,L,I,A,N,P,h,oe,z,j,W,s,Z,K,J,q,ee,te,ne,re,l,u,ie,se,le,he,i,V,e=>{if(0===(null==e?void 0:e.length))return"";let t,n="",r=999999999999;const i=new Date(Date.now());return e.forEach(((a,o)=>{const s=new Date(a.schedules[0].startTime),l=new Date(a.schedules[0].endTime);Br(l).diff(i)<r&&(r=Br(l).diff(i),t=o),Br(i).isAfter(s)&&Br(i).isBefore(l)&&(n=e[t].name)})),n},Fe,R,H,B,U,Y,f,function(e){$[e?"unshift":"push"]((()=>{u=e,r(36,u)}))},e=>Fe(s.id),function(e,t){$[e?"unshift":"push"]((()=>{oe[t]=e,r(22,oe)}))},function(e){$[e?"unshift":"push"]((()=>{l=e,r(35,l)}))},function(e){$[e?"unshift":"push"]((()=>{u=e,r(36,u)}))},function(e){$[e?"unshift":"push"]((()=>{l=e,r(35,l)}))},function(e){$[e?"unshift":"push"]((()=>{h=e,r(21,h)}))}]}
|
1458
|
+
switch(C){case"FAVORITES":w&&b&&r(37,ie=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===A&&w&&b&&r(37,ie=!1);break;default:ye(C)}})(),/*translationurl*/2048&t.$$.dirty[0]&&F&&fetch(F).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Rr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/2097664&t.$$.dirty[0]&&x&&h&&(()=>{let e=document.createElement("style");e.innerHTML=x,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2098176&t.$$.dirty[0]&&S&&h&&(()=>{let e=new URL(S),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{h.appendChild(t)}),1)}))})()},[C,D,O,g,y,v,b,w,_,x,S,F,k,E,G,M,L,I,A,N,P,h,oe,z,j,W,s,Z,K,J,q,ee,te,ne,re,l,u,ie,se,le,he,i,V,e=>{if(0===(null==e?void 0:e.length))return"";let t,n="",r=999999999999;const i=new Date(Date.now());return e.forEach(((a,o)=>{const s=new Date(a.schedules[0].startTime),l=new Date(a.schedules[0].endTime);Br(l).diff(i)<r&&(r=Br(l).diff(i),t=o),Br(i).isAfter(s)&&Br(i).isBefore(l)&&(n=e[t].name)})),n},Fe,R,H,B,U,Y,f,function(e){$[e?"unshift":"push"]((()=>{u=e,r(36,u)}))},e=>Fe(s.id),function(e,t){$[e?"unshift":"push"]((()=>{oe[t]=e,r(22,oe)}))},function(e){$[e?"unshift":"push"]((()=>{l=e,r(35,l)}))},function(e){$[e?"unshift":"push"]((()=>{u=e,r(36,u)}))},function(e){$[e?"unshift":"push"]((()=>{l=e,r(35,l)}))},function(e){$[e?"unshift":"push"]((()=>{h=e,r(21,h)}))}]}
|
1459
1459
|
/* src/CasinoMostPlayedSection.svelte generated by Svelte v3.59.2 */
|
1460
1460
|
function Fa(e){let t;return{c(){t=g("casino-games-category-section"),S(t,"session",/*session*/e[4]),S(t,"userid",/*userid*/e[5]),S(t,"endpoint",/*endpoint*/e[0]),S(t,"datasource",/*datasource*/e[1]),S(t,"lang",/*lang*/e[3]),S(t,"currency",/*currency*/e[2]),S(t,"favorites",/*favorites*/e[14]),S(t,"fetchviaevent",/*fetchviaevent*/e[16]),S(t,"categoryid","MOSTPLAYED"),S(t,"categoryindex","1"),S(t,"categorygames","9"),S(t,"class","CategoryContainer"),S(t,"showgamename",/*showgamename*/e[12]),S(t,"clientstyling",/*clientstyling*/e[6]),S(t,"clientstylingurl",/*clientstylingurl*/e[7]),S(t,"livecasino",/*livecasino*/e[8]),S(t,"visiblegames",/*visiblegames*/e[13]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),S(t,"casinomygames",/*casinomygames*/e[15])},m(e,n){m(e,t,n)},p(e,n){/*session*/16&n[0]&&S(t,"session",/*session*/e[4]),/*userid*/32&n[0]&&S(t,"userid",/*userid*/e[5]),/*endpoint*/1&n[0]&&S(t,"endpoint",/*endpoint*/e[0]),/*datasource*/2&n[0]&&S(t,"datasource",/*datasource*/e[1]),/*lang*/8&n[0]&&S(t,"lang",/*lang*/e[3]),/*currency*/4&n[0]&&S(t,"currency",/*currency*/e[2]),/*favorites*/16384&n[0]&&S(t,"favorites",/*favorites*/e[14]),/*fetchviaevent*/65536&n[0]&&S(t,"fetchviaevent",/*fetchviaevent*/e[16]),/*showgamename*/4096&n[0]&&S(t,"showgamename",/*showgamename*/e[12]),/*clientstyling*/64&n[0]&&S(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&S(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/8192&n[0]&&S(t,"visiblegames",/*visiblegames*/e[13]),/*gamepagemodalurl*/2048&n[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/1024&n[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&n[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/32768&n[0]&&S(t,"casinomygames",/*casinomygames*/e[15])},d(e){e&&f(t)}}}
|
1461
1461
|
// (153:4) {#if mostPlayedEmpty}
|
1462
1462
|
function ka(e){let t,n,r=/*$_*/e[19]("noGames")+"";return{c(){t=g("p"),n=v(r),x(t,"class","SearchLoading")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/524288&t[0]&&r!==(r=/*$_*/e[19]("noGames")+"")&&F(n,r)},d(e){e&&f(t)}}}function Ca(e){let n,r;function i(e,t){/*mostPlayedEmpty*/
|
1463
1463
|
return e[18]?ka:Fa}let a=i(e),o=a(e);return{c(){n=g("div"),r=g("div"),o.c(),this.c=t,x(r,"class","casino-most-played-section"),x(n,"class","CasinoGamesCategorySectionContainer")},m(t,i){m(t,n,i),h(n,r),o.m(r,null),
|
1464
1464
|
/*div1_binding*/e[23](n)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:t,o:t,d(t){t&&f(n),o.d(),
|
1465
|
-
/*div1_binding*/e[23](null)}}}function Ea(e,t,n){let r;d(e,Ar,(e=>n(19,r=e)));let{endpoint:i=""}=t,{datasource:a=""}=t,{currency:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:f="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:g="false"}=t,{showgamename:y=""}=t,{visiblegames:v}=t,{favorites:b=""}=t,{translationurl:w=""}=t,{casinomygames:_="false"}=t,{mostplayedperiod:x="Last30Days"}=t,{mostplayedrounds:S="10"}=t,{fetchviaevent:F="true"}=t,k=window.navigator.userAgent;Object.keys(Pr).forEach((e=>{Nr(e,Pr[e])}));let C,E,G=[],T=!1;const M=()=>{(e=>{let t=new URL(`${i}/v1/player/${c}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",x);let n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),C=m?t:t.href,new Promise(((e,t)=>{fetch(C).then((e=>e.json())).then((t=>{t.items=t.items.filter((e=>{let n=!0;return"OddsMatrix2"==e.gameCode&&(t.count--,n=!1),n})),e(t)})).catch((e=>{console.error(e),t(e)}))}))})({limit:100,device:Or(k),rounds:S}).then((e=>{if(e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${i}/v1/casino/games/${e.gameId}`);n.searchParams.append("datasource",a),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{G=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===_&&(G=G.slice(0,JSON.parse(v))),window.postMessage({type:"MostPlayedData",mostPlayedGames:G},window.location.href)}))}else n(18,T=!0)}))},L=()=>{var e;e=s,fr.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,a=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,g=e.gamepagemodalurl),"showgamename"in e&&n(12,y=e.showgamename),"visiblegames"in e&&n(13,v=e.visiblegames),"favorites"in e&&n(14,b=e.favorites),"translationurl"in e&&n(20,w=e.translationurl),"casinomygames"in e&&n(15,_=e.casinomygames),"mostplayedperiod"in e&&n(21,x=e.mostplayedperiod),"mostplayedrounds"in e&&n(22,S=e.mostplayedrounds),"fetchviaevent"in e&&n(16,F=e.fetchviaevent)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&s&&M(),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&u&&E&&(()=>{let e=document.createElement("style");e.innerHTML=u,E.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty[0]&&h&&E&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{E.appendChild(e)}),1)}))})(),/*translationurl*/1048576&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Nr(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&s&&L()},[i,a,o,s,l,c,u,h,m,f,p,g,y,v,b,_,F,E,T,r,w,x,S,function(e){$[e?"unshift":"push"]((()=>{E=e,n(17,E)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Sa,_a,o,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),B()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),B()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),B()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),B()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),B()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),B()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),B()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),B()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),B()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),B()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),B()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),B()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),B()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),B()}});class Ga extends W{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ea,Ca,o,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),B()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),B()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),B()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),B()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),B()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),B()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),B()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),B()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),B()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),B()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}}return!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",Ga),Ga}));
|
1465
|
+
/*div1_binding*/e[23](null)}}}function Ea(e,t,n){let r;d(e,Ar,(e=>n(19,r=e)));let{endpoint:i=""}=t,{datasource:a=""}=t,{currency:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:f="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:g="false"}=t,{showgamename:y=""}=t,{visiblegames:v}=t,{favorites:b=""}=t,{translationurl:w=""}=t,{casinomygames:_="false"}=t,{mostplayedperiod:x="Last30Days"}=t,{mostplayedrounds:S="10"}=t,{fetchviaevent:F="true"}=t,k=window.navigator.userAgent;Object.keys(Pr).forEach((e=>{Nr(e,Pr[e])}));let C,E,G=[],T=!1;const M=()=>{(e=>{let t=new URL(`${i}/v1/player/${c}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",x);let n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),C=m?t:t.href,new Promise(((e,t)=>{fetch(C).then((e=>e.json())).then((t=>{t.items=t.items.filter((e=>{let n=!0;return"OddsMatrix2"==e.gameCode&&(t.count--,n=!1),n})),e(t)})).catch((e=>{console.error(e),t(e)}))}))})({limit:100,device:Or(k),rounds:S}).then((e=>{if(e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${i}/v1/casino/games/${e.gameId}`);n.searchParams.append("datasource",a),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{G=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===_&&(G=G.slice(0,JSON.parse(v))),window.postMessage({type:"MostPlayedData",mostPlayedGames:G},window.location.href)}))}else n(18,T=!0)}))},L=()=>{var e;e=s,fr.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,a=e.datasource),"currency"in e&&n(2,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,g=e.gamepagemodalurl),"showgamename"in e&&n(12,y=e.showgamename),"visiblegames"in e&&n(13,v=e.visiblegames),"favorites"in e&&n(14,b=e.favorites),"translationurl"in e&&n(20,w=e.translationurl),"casinomygames"in e&&n(15,_=e.casinomygames),"mostplayedperiod"in e&&n(21,x=e.mostplayedperiod),"mostplayedrounds"in e&&n(22,S=e.mostplayedrounds),"fetchviaevent"in e&&n(16,F=e.fetchviaevent)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&s&&M(),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&u&&E&&(()=>{let e=document.createElement("style");e.innerHTML=u,E.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty[0]&&h&&E&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{E.appendChild(e)}),1)}))})(),/*translationurl*/1048576&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Nr(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&s&&L()},[i,a,o,s,l,c,u,h,m,f,p,g,y,v,b,_,F,E,T,r,w,x,S,function(e){$[e?"unshift":"push"]((()=>{E=e,n(17,E)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px;overscroll-behavior-x:none}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Sa,_a,o,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),B()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),B()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),B()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),B()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),B()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),B()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),B()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),B()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),B()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),B()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),B()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),B()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),B()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),B()}});class Ga extends W{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ea,Ca,o,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),B()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),B()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),B()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),B()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),B()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),B()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),B()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),B()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),B()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),B()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}}return!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",Ga),Ga}));
|
1466
1466
|
//# sourceMappingURL=casino-most-played-section.js.map
|