@everymatrix/casino-most-played-section 1.17.5 → 1.19.1
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.
@@ -1367,96 +1367,96 @@ return e[14](/*sort*/e[23])}return{c(){t=p("li"),n=p("label"),r=p("input"),a=v()
|
|
1367
1367
|
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,d=!d)},y=()=>{n(1,d=!d),window.postMessage({type:"SortingOpened"},window.location.href)},v=e=>{"FilterOpened"==e.data.type&&n(1,d=!1)};E((()=>(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,d=!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,d,h,f,r,p,g,y,a,o,s,l,c,()=>y(),e=>g(e),function(e){T[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}
|
1368
1368
|
/* ../casino-games-category-section/src/CasinoGamesCategorySection.svelte generated by Svelte v3.59.2 */
|
1369
1369
|
function Pi(e,t,n){const r=e.slice();return r[83]=t[n],r[85]=n,r}function Di(e,t,n){const r=e.slice();return r[83]=t[n],r[86]=t,r[85]=n,r}function Ni(e,t,n){const r=e.slice();return r[83]=t[n],r[85]=n,r}
|
1370
|
-
// (
|
1370
|
+
// (638:4) {:else}
|
1371
1371
|
function Ri(e){let t;function n(e,t){/*categoryData*/
|
1372
1372
|
return e[24]?Yi:/*showFavGamesCategory*/e[35]?Ui:void 0}let r=n(e),i=r&&r(e);return{c(){t=p("div"),i&&i.c()},m(e,n){h(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&&m(t),i&&i.d()}}}
|
1373
|
-
// (
|
1373
|
+
// (580:4) {#if searched}
|
1374
1374
|
function Hi(e){let t,n,r;function i(e,t){/*recentSearched*/
|
1375
1375
|
return e[28]?fa:/*shownCategoryData*/e[25].length?ha:ma}let a=i(e),o=a(e);function s(e,t){/*shownCategoryData*/
|
1376
1376
|
return e[25]?ga:pa}let l=s(e),c=l(e);return{c(){t=p("div"),n=p("div"),o.c(),r=v(),c.c(),_(n,"class","CasinoGamesHeader Searched "+(Ir(/*userAgent*/e[40])?"CasinoGamesHeaderMobile":"")),_(t,"class","CasinoGamesContainer")},m(e,i){h(e,t,i),d(t,n),o.m(n,null),d(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&&m(t),o.d(),c.d()}}}
|
1377
|
-
// (
|
1378
|
-
function Bi(e){let t;function n(e,t){/*
|
1377
|
+
// (572:2) {#if hasErrors}
|
1378
|
+
function Bi(e){let t;function n(e,t){/*presentFilters*/
|
1379
1379
|
return e[30]?wa:ba}let r=n(e),i=r(e);return{c(){i.c(),t=b()},m(e,n){i.m(e,n),h(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&&m(t)}}}
|
1380
|
-
// (
|
1381
|
-
function Ui(e){let t,n,r,i,a=/*casinomygames*/"true"!==e[
|
1380
|
+
// (727:39)
|
1381
|
+
function Ui(e){let t,n,r,i,a=/*casinomygames*/"true"!==e[16]&&zi(e);function o(e,t){/*isLoading*/
|
1382
1382
|
return e[21]&&!/*isLazyLoading*/e[32]?Vi:/*favoriteGamesData*/e[38]?Wi:ji}let s=o(e),l=s(e);return{c(){t=p("div"),a&&a.c(),n=v(),r=p("ul"),l.c(),_(r,"class",i=/*favoriteGamesData*/(0!=e[38].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),_(t,"class","CasinoGamesContainer")},m(i,o){h(i,t,o),a&&a.m(t,null),d(t,n),d(t,r),l.m(r,null),
|
1383
|
-
/*ul_binding_1*/e[58](r)},p(e,c){/*casinomygames*/"true"!==e[
|
1383
|
+
/*ul_binding_1*/e[58](r)},p(e,c){/*casinomygames*/"true"!==e[16]?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*/128&c[1]&&i!==(i=/*favoriteGamesData*/(0!=e[38].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&_(r,"class",i)},d(n){n&&m(t),a&&a.d(),l.d(),
|
1384
1384
|
/*ul_binding_1*/e[58](null)}}}
|
1385
|
-
// (
|
1386
|
-
function Yi(e){let t,n,r=/*casinomygames*/"true"!==e[
|
1387
|
-
return e[21]&&!/*isLazyLoading*/e[32]?ua:/*shownCategoryData*/0!==e[25].length?ca:la}let a=i(e),o=a(e);return{c(){t=p("div"),r&&r.c(),n=v(),o.c(),_(t,"class","CasinoGamesContainer")},m(e,i){h(e,t,i),r&&r.m(t,null),d(t,n),o.m(t,null)},p(e,s){/*casinomygames*/"true"!==e[
|
1388
|
-
// (
|
1385
|
+
// (640:8) {#if categoryData}
|
1386
|
+
function Yi(e){let t,n,r=/*casinomygames*/"true"!==e[16]&&ra(e);function i(e,t){/*isLoading*/
|
1387
|
+
return e[21]&&!/*isLazyLoading*/e[32]?ua:/*shownCategoryData*/0!==e[25].length?ca:la}let a=i(e),o=a(e);return{c(){t=p("div"),r&&r.c(),n=v(),o.c(),_(t,"class","CasinoGamesContainer")},m(e,i){h(e,t,i),r&&r.m(t,null),d(t,n),o.m(t,null)},p(e,s){/*casinomygames*/"true"!==e[16]?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&&m(t),r&&r.d(),o.d()}}}
|
1388
|
+
// (729:14) {#if casinomygames !== 'true'}
|
1389
1389
|
function zi(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[39]("favorites")+"",u=/*favoriteGamesData*/e[38].items.length+"";return{c(){t=p("div"),n=p("h3"),r=y(c),i=v(),a=p("span"),o=y("("),s=y(u),l=y(")"),_(a,"class","CategoryFavName"),_(n,"class","CategoryName"),_(t,"class","CasinoGamesHeader")},m(c,u){h(c,t,u),d(t,n),d(n,r),d(n,i),d(n,a),d(a,o),d(a,s),d(a,l),
|
1390
1390
|
/*h3_binding_1*/e[57](n)},p(e,t){/*$_*/256&t[1]&&c!==(c=/*$_*/e[39]("favorites")+"")&&S(r,c),/*favoriteGamesData*/128&t[1]&&u!==(u=/*favoriteGamesData*/e[38].items.length+"")&&S(s,u)},d(n){n&&m(t)
|
1391
1391
|
/*h3_binding_1*/,e[57](null)}}}
|
1392
|
-
// (
|
1392
|
+
// (832:18) {:else}
|
1393
1393
|
function ji(e){let t,n,r=/*$_*/e[39]("waiting")+"";return{c(){t=p("p"),n=y(r)},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/256&t[1]&&r!==(r=/*$_*/e[39]("waiting")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
1394
|
-
// (
|
1395
|
-
function Wi(e){let t,n=/*favoriteGamesData*/e[38].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=na(Pi(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=b(),i&&i.c()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);h(e,t,n),i&&i.m(e,n)},p(e,a){if(/*session, userid, lang, favorites, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/
|
1396
|
-
// (
|
1394
|
+
// (742:18) {#if favoriteGamesData}
|
1395
|
+
function Wi(e){let t,n=/*favoriteGamesData*/e[38].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=na(Pi(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=b(),i&&i.c()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);h(e,t,n),i&&i.m(e,n)},p(e,a){if(/*session, userid, lang, favorites, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/65512&a[0]|/*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/2032&a[1]){let o;for(n=/*favoriteGamesData*/e[38].items,o=0;o<n.length;o+=1){const i=Pi(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){f(r,e),e&&m(t),i&&i.d(e)}}}
|
1396
|
+
// (739:16) {#if isLoading && !isLazyLoading}
|
1397
1397
|
function Vi(t){let n;return{c(){n=p("div"),_(n,"class","lds-dual-ring")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
|
1398
|
-
// (
|
1398
|
+
// (813:20) {:else}
|
1399
1399
|
function Zi(e){let t,n,r,i,a,o,s,l,c,u,f,b,w,x,F=/*$_*/e[39]("noFavoritesTitle")+"";let G=function(e,t){return Ir(/*userAgent*/e[40])?Xi:Ki}(e),C=G(e);return{c(){t=p("p"),n=g("svg"),r=g("rect"),i=g("rect"),a=g("circle"),o=g("path"),s=g("path"),l=g("path"),c=g("path"),u=v(),f=p("span"),b=y(F),w=v(),C.c(),x=v(),_(r,"x","1"),_(r,"y","18.053"),_(r,"width","90.263"),_(r,"height","90.263"),_(r,"rx","12"),_(r,"stroke","var(--emfe-w-color-gray-150, #828282)"),_(r,"stroke-width","1.5"),_(i,"x","106.737"),_(i,"y","56.737"),_(i,"width","90.263"),_(i,"height","90.263"),_(i,"rx","12"),_(i,"stroke","var(--emfe-w-color-gray-150, #828282)"),_(i,"stroke-width","1.5"),_(a,"cx","70.5"),_(a,"cy","32.237"),_(a,"r","31.487"),_(a,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),_(a,"stroke-width","1.5"),_(a,"stroke-dasharray","5 0"),_(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"),_(o,"fill","var(--emfe-w-color-gray-150, #828282)"),_(s,"d","M78 43h11v13H78V43z"),_(s,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),_(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"),_(l,"fill","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),_(l,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),_(l,"stroke-linecap","round"),_(l,"stroke-linejoin","round"),_(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"),_(c,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),_(c,"stroke-width","1.5"),_(c,"stroke-linecap","round"),_(c,"stroke-linejoin","round"),_(n,"width","198"),_(n,"height","148"),_(n,"viewBox","0 0 198 148"),_(n,"fill","none"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(f,"class","NoFavoriteText NoFavoriteTextHighlight"),_(t,"class","NoFavoriteGames "+(Ir(/*userAgent*/e[40])?"NoFavoriteGamesMobile":""))},m(e,m){h(e,t,m),d(t,n),d(n,r),d(n,i),d(n,a),d(n,o),d(n,s),d(n,l),d(n,c),d(t,u),d(t,f),d(f,b),d(t,w),C.m(t,null),d(t,x)},p(e,t){/*$_*/256&t[1]&&F!==(F=/*$_*/e[39]("noFavoritesTitle")+"")&&S(b,F),C.p(e,t)},d(e){e&&m(t),C.d()}}}
|
1400
|
-
// (
|
1400
|
+
// (827:24) {:else}
|
1401
1401
|
function Ki(e){let t,n,r=/*$_*/e[39]("noFavorites")+"";return{c(){t=p("span"),n=y(r),_(t,"class","NoFavoriteText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/256&t[1]&&r!==(r=/*$_*/e[39]("noFavorites")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
1402
|
-
// (
|
1402
|
+
// (825:24) {#if isMobile(userAgent)}
|
1403
1403
|
function Xi(e){let t,n,r=/*$_*/e[39]("noFavoritesMobile")+"";return{c(){t=p("span"),n=y(r),_(t,"class","NoFavoriteText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/256&t[1]&&r!==(r=/*$_*/e[39]("noFavoritesMobile")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
1404
|
-
// (
|
1404
|
+
// (744:22) {#if gameprops.gameModel}
|
1405
1405
|
function Ji(e){let t,n=/*gameprops*/e[83].gameModel.isFavorite&&qi(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,r){/*gameprops*/e[83].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&&m(t)}}}
|
1406
|
-
// (
|
1406
|
+
// (745:24) {#if gameprops.gameModel.isFavorite}
|
1407
1407
|
function qi(e){let t,n=
|
1408
|
-
// (
|
1408
|
+
// (746:26) {#if intersecting || nativeLoading}
|
1409
1409
|
function(e){let t,n,r;function i(e,r){/*favoriteGamesData*/
|
1410
1410
|
return 128&r[1]&&(n=null),null==t&&(t=!!Ir(/*userAgent*/e[40])),t?ea:(null==n&&(n=!!/*gameprops*/e[83].gameModel.platform.includes("PC")),n?Qi:void 0)}let a=i(e,[-1,-1,-1]),o=a&&a(e);return{c(){o&&o.c(),r=b()},m(e,t){o&&o.m(e,t),h(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&&m(r)}}}
|
1411
|
-
// (
|
1412
|
-
(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}function Qi(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y;return{c(){t=p("casino-game-thumbnail"),x(t,"class",n=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),x(t,"part",r=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),x(t,"session",/*session*/e[
|
1413
|
-
// (
|
1411
|
+
// (779:82)
|
1412
|
+
(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}function Qi(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y;return{c(){t=p("casino-game-thumbnail"),x(t,"class",n=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),x(t,"part",r=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),x(t,"session",/*session*/e[6]),x(t,"userid",/*userid*/e[7]),x(t,"lang",/*lang*/e[5]),x(t,"favorites",/*favorites*/e[8]),x(t,"gamethumbnail",i=/*gameprops*/e[83].gameModel.thumbnail),x(t,"gamename",a=/*gameprops*/e[83].gameModel.name),x(t,"gamevendor",o=/*gameprops*/e[83].gameModel.vendor.name),x(t,"gameisnew",s=/*gameprops*/e[83].gameModel.isNew),x(t,"gametag",l=/*gameprops*/e[83].gameModel.advancedTags?.length>0&&/*addGameTag*/e[41](/*gameprops*/e[83].gameModel.advancedTags)),x(t,"gamecellsize",c=/*gameprops*/e[83].cellSize),x(t,"gameid",u=/*gameprops*/e[83].gameModel.id),x(t,"gamefunmode",d=/*gameprops*/e[83].gameModel.hasFunMode),x(t,"gamefavorite",f=/*gameprops*/e[83].gameModel.isFavorite),x(t,"showfavoredcategory",/*showFavGamesCategory*/e[35]),x(t,"connectlive",g=/*intersectingIndexes*/1==e[36][/*gameprops*/e[83].id]?"connect":"disconnect"),x(t,"visibilityconnect",/*visibilityconnect*/e[37]),x(t,"currency",/*currency*/e[11]),x(t,"livelobbyendpoint",y=/*gameprops*/e[83].gameModel.details?/*gameprops*/e[83].gameModel.launchUrl:""),x(t,"clientstyling",/*clientstyling*/e[9]),x(t,"clientstylingurl",/*clientstylingurl*/e[10]),x(t,"endpoint",/*endpoint*/e[3]),x(t,"livecasino",/*livecasino*/e[12]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[13]),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[14]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[15])},m(e,n){h(e,t,n)},p(e,h){/*favoriteGamesData*/128&h[1]&&n!==(n=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1")))&&x(t,"class",n),/*favoriteGamesData*/128&h[1]&&r!==(r=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1")))&&x(t,"part",r),/*session*/64&h[0]&&x(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&x(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&x(t,"lang",/*lang*/e[5]),/*favorites*/256&h[0]&&x(t,"favorites",/*favorites*/e[8]),/*favoriteGamesData*/128&h[1]&&i!==(i=/*gameprops*/e[83].gameModel.thumbnail)&&x(t,"gamethumbnail",i),/*favoriteGamesData*/128&h[1]&&a!==(a=/*gameprops*/e[83].gameModel.name)&&x(t,"gamename",a),/*favoriteGamesData*/128&h[1]&&o!==(o=/*gameprops*/e[83].gameModel.vendor.name)&&x(t,"gamevendor",o),/*favoriteGamesData*/128&h[1]&&s!==(s=/*gameprops*/e[83].gameModel.isNew)&&x(t,"gameisnew",s),/*favoriteGamesData*/128&h[1]&&l!==(l=/*gameprops*/e[83].gameModel.advancedTags?.length>0&&/*addGameTag*/e[41](/*gameprops*/e[83].gameModel.advancedTags))&&x(t,"gametag",l),/*favoriteGamesData*/128&h[1]&&c!==(c=/*gameprops*/e[83].cellSize)&&x(t,"gamecellsize",c),/*favoriteGamesData*/128&h[1]&&u!==(u=/*gameprops*/e[83].gameModel.id)&&x(t,"gameid",u),/*favoriteGamesData*/128&h[1]&&d!==(d=/*gameprops*/e[83].gameModel.hasFunMode)&&x(t,"gamefunmode",d),/*favoriteGamesData*/128&h[1]&&f!==(f=/*gameprops*/e[83].gameModel.isFavorite)&&x(t,"gamefavorite",f),/*showFavGamesCategory*/16&h[1]&&x(t,"showfavoredcategory",/*showFavGamesCategory*/e[35]),/*intersectingIndexes, favoriteGamesData*/160&h[1]&&g!==(g=/*intersectingIndexes*/1==e[36][/*gameprops*/e[83].id]?"connect":"disconnect")&&x(t,"connectlive",g),/*visibilityconnect*/64&h[1]&&x(t,"visibilityconnect",/*visibilityconnect*/e[37]),/*currency*/2048&h[0]&&x(t,"currency",/*currency*/e[11]),/*favoriteGamesData*/128&h[1]&&y!==(y=/*gameprops*/e[83].gameModel.details?/*gameprops*/e[83].gameModel.launchUrl:"")&&x(t,"livelobbyendpoint",y),/*clientstyling*/512&h[0]&&x(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&x(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/4096&h[0]&&x(t,"livecasino",/*livecasino*/e[12]),/*gamepagemodalurl*/8192&h[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[13]),/*integratedgameframedesktop*/16384&h[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[14]),/*integratedgameframemobile*/32768&h[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[15])},d(e){e&&m(t)}}}
|
1413
|
+
// (747:28) {#if isMobile(userAgent)}
|
1414
1414
|
function ea(e){let t,n=/*gameprops*/e[83].gameModel.platform.includes("iPad")||/*gameprops*/e[83].gameModel.platform.includes("iPhone")||/*gameprops*/e[83].gameModel.platform.includes("Android"),r=n&&ta(e);return{c(){r&&r.c(),t=b()},m(e,n){r&&r.m(e,n),h(e,t,n)},p(e,i){/*favoriteGamesData*/128&i[1]&&(n=/*gameprops*/e[83].gameModel.platform.includes("iPad")||/*gameprops*/e[83].gameModel.platform.includes("iPhone")||/*gameprops*/e[83].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&&m(t)}}}
|
1415
|
-
// (
|
1416
|
-
function ta(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y;return{c(){t=p("casino-game-thumbnail"),x(t,"class",n=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),x(t,"part",r=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),x(t,"session",/*session*/e[
|
1417
|
-
// (
|
1415
|
+
// (748:30) {#if (gameprops.gameModel.platform.includes("iPad") || gameprops.gameModel.platform.includes("iPhone") || gameprops.gameModel.platform.includes("Android"))}
|
1416
|
+
function ta(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y;return{c(){t=p("casino-game-thumbnail"),x(t,"class",n=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),x(t,"part",r=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),x(t,"session",/*session*/e[6]),x(t,"userid",/*userid*/e[7]),x(t,"lang",/*lang*/e[5]),x(t,"favorites",/*favorites*/e[8]),x(t,"gamethumbnail",i=/*gameprops*/e[83].gameModel.thumbnail),x(t,"gamename",a=/*gameprops*/e[83].gameModel.name),x(t,"gamevendor",o=/*gameprops*/e[83].gameModel.vendor.name),x(t,"gameisnew",s=/*gameprops*/e[83].gameModel.isNew),x(t,"gametag",l=/*gameprops*/e[83].gameModel.advancedTags?.length>0&&/*addGameTag*/e[41](/*gameprops*/e[83].gameModel.advancedTags)),x(t,"gamecellsize",c=/*gameprops*/e[83].cellSize),x(t,"gameid",u=/*gameprops*/e[83].gameModel.id),x(t,"gamefunmode",d=/*gameprops*/e[83].gameModel.hasFunMode),x(t,"gamefavorite",f=/*gameprops*/e[83].gameModel.isFavorite),x(t,"showfavoredcategory",/*showFavGamesCategory*/e[35]),x(t,"connectlive",g=/*intersectingIndexes*/1==e[36][/*gameprops*/e[83].id]?"connect":"disconnect"),x(t,"visibilityconnect",/*visibilityconnect*/e[37]),x(t,"currency",/*currency*/e[11]),x(t,"livelobbyendpoint",y=/*gameprops*/e[83].gameModel.details?/*gameprops*/e[83].gameModel.launchUrl:""),x(t,"clientstyling",/*clientstyling*/e[9]),x(t,"clientstylingurl",/*clientstylingurl*/e[10]),x(t,"endpoint",/*endpoint*/e[3]),x(t,"livecasino",/*livecasino*/e[12]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[13]),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[14]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[15])},m(e,n){h(e,t,n)},p(e,h){/*favoriteGamesData*/128&h[1]&&n!==(n=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1")))&&x(t,"class",n),/*favoriteGamesData*/128&h[1]&&r!==(r=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1")))&&x(t,"part",r),/*session*/64&h[0]&&x(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&x(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&x(t,"lang",/*lang*/e[5]),/*favorites*/256&h[0]&&x(t,"favorites",/*favorites*/e[8]),/*favoriteGamesData*/128&h[1]&&i!==(i=/*gameprops*/e[83].gameModel.thumbnail)&&x(t,"gamethumbnail",i),/*favoriteGamesData*/128&h[1]&&a!==(a=/*gameprops*/e[83].gameModel.name)&&x(t,"gamename",a),/*favoriteGamesData*/128&h[1]&&o!==(o=/*gameprops*/e[83].gameModel.vendor.name)&&x(t,"gamevendor",o),/*favoriteGamesData*/128&h[1]&&s!==(s=/*gameprops*/e[83].gameModel.isNew)&&x(t,"gameisnew",s),/*favoriteGamesData*/128&h[1]&&l!==(l=/*gameprops*/e[83].gameModel.advancedTags?.length>0&&/*addGameTag*/e[41](/*gameprops*/e[83].gameModel.advancedTags))&&x(t,"gametag",l),/*favoriteGamesData*/128&h[1]&&c!==(c=/*gameprops*/e[83].cellSize)&&x(t,"gamecellsize",c),/*favoriteGamesData*/128&h[1]&&u!==(u=/*gameprops*/e[83].gameModel.id)&&x(t,"gameid",u),/*favoriteGamesData*/128&h[1]&&d!==(d=/*gameprops*/e[83].gameModel.hasFunMode)&&x(t,"gamefunmode",d),/*favoriteGamesData*/128&h[1]&&f!==(f=/*gameprops*/e[83].gameModel.isFavorite)&&x(t,"gamefavorite",f),/*showFavGamesCategory*/16&h[1]&&x(t,"showfavoredcategory",/*showFavGamesCategory*/e[35]),/*intersectingIndexes, favoriteGamesData*/160&h[1]&&g!==(g=/*intersectingIndexes*/1==e[36][/*gameprops*/e[83].id]?"connect":"disconnect")&&x(t,"connectlive",g),/*visibilityconnect*/64&h[1]&&x(t,"visibilityconnect",/*visibilityconnect*/e[37]),/*currency*/2048&h[0]&&x(t,"currency",/*currency*/e[11]),/*favoriteGamesData*/128&h[1]&&y!==(y=/*gameprops*/e[83].gameModel.details?/*gameprops*/e[83].gameModel.launchUrl:"")&&x(t,"livelobbyendpoint",y),/*clientstyling*/512&h[0]&&x(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&x(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/4096&h[0]&&x(t,"livecasino",/*livecasino*/e[12]),/*gamepagemodalurl*/8192&h[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[13]),/*integratedgameframedesktop*/16384&h[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[14]),/*integratedgameframemobile*/32768&h[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[15])},d(e){e&&m(t)}}}
|
1417
|
+
// (743:20) {#each favoriteGamesData.items as gameprops, index}
|
1418
1418
|
function na(e){let t,n=/*gameprops*/e[83].gameModel&&Ji(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,r){/*gameprops*/e[83].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&&m(t)}}}
|
1419
|
-
// (
|
1419
|
+
// (642:12) {#if casinomygames !== 'true'}
|
1420
1420
|
function ra(e){let t,n,r,i,a=/*categoryData*/e[24].name+"";function o(e,t){/*showLoadCategory*/
|
1421
1421
|
return e[26]?aa:ia}let s=o(e),l=s(e);return{c(){t=p("div"),n=p("h3"),r=y(a),i=v(),l.c(),_(n,"class","CategoryName"),_(t,"class","CasinoGamesHeader")},m(a,o){h(a,t,o),d(t,n),d(n,r),
|
1422
1422
|
/*h3_binding*/e[53](n),d(t,i),l.m(t,null)},p(e,n){/*categoryData*/16777216&n[0]&&a!==(a=/*categoryData*/e[24].name+"")&&S(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&&m(t)
|
1423
1423
|
/*h3_binding*/,e[53](null),l.d()}}}
|
1424
|
-
// (
|
1425
|
-
function ia(e){let t,n,r,i=/*addfilterselector*/"true"==e[
|
1426
|
-
// (
|
1424
|
+
// (654:16) {:else}
|
1425
|
+
function ia(e){let t,n,r,i=/*addfilterselector*/"true"==e[1]&&oa(e),a=/*addsortingselector*/"true"==e[2]&&sa(e);return{c(){t=p("div"),i&&i.c(),n=v(),a&&a.c(),_(t,"class",r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")},m(e,r){h(e,t,r),i&&i.m(t,null),d(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":"")&&_(t,"class",r)},d(e){e&&m(t),i&&i.d(),a&&a.d()}}}
|
1426
|
+
// (647:16) {#if showLoadCategory}
|
1427
1427
|
function aa(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[39]("viewAll")+"",u=/*categoryData*/e[24].games.total+"";return{c(){t=p("a"),n=p("span"),r=y(c),i=y(" ("),a=y(u),o=y(")"),_(n,"class","CategoryLoadMore"),_(t,"class","CategoryNameLink")},m(c,u){h(c,t,u),d(t,n),d(n,r),d(n,i),d(n,a),d(n,o),s||(l=w(t,"click",/*click_handler*/e[54]),s=!0)},p(e,t){/*$_*/256&t[1]&&c!==(c=/*$_*/e[39]("viewAll")+"")&&S(r,c),/*categoryData*/16777216&t[0]&&u!==(u=/*categoryData*/e[24].games.total+"")&&S(a,u)},d(e){e&&m(t),s=!1,l()}}}
|
1428
|
-
// (
|
1429
|
-
function oa(e){let t;return{c(){t=p("casino-filter"),x(t,"clientstylingurl",/*clientstylingurl*/e[
|
1430
|
-
// (
|
1431
|
-
function sa(e){let t;return{c(){t=p("casino-sort"),x(t,"clientstylingurl",/*clientstylingurl*/e[
|
1432
|
-
// (
|
1428
|
+
// (656:22) {#if addfilterselector == "true"}
|
1429
|
+
function oa(e){let t;return{c(){t=p("casino-filter"),x(t,"clientstylingurl",/*clientstylingurl*/e[10]),x(t,"clientstyling",/*clientstyling*/e[9]),x(t,"endpoint",/*endpoint*/e[3]),x(t,"datasource",/*datasource*/e[4]),x(t,"lang",/*lang*/e[5]),x(t,"categoryid",/*categoryid*/e[0]),x(t,"addfilterselector",/*addfilterselector*/e[1]),x(t,"addsortingselector",/*addsortingselector*/e[2]),x(t,"filterbylogo",/*filterbylogo*/e[17])},m(e,n){h(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&x(t,"clientstyling",/*clientstyling*/e[9]),/*endpoint*/8&n[0]&&x(t,"endpoint",/*endpoint*/e[3]),/*datasource*/16&n[0]&&x(t,"datasource",/*datasource*/e[4]),/*lang*/32&n[0]&&x(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&x(t,"categoryid",/*categoryid*/e[0]),/*addfilterselector*/2&n[0]&&x(t,"addfilterselector",/*addfilterselector*/e[1]),/*addsortingselector*/4&n[0]&&x(t,"addsortingselector",/*addsortingselector*/e[2]),/*filterbylogo*/131072&n[0]&&x(t,"filterbylogo",/*filterbylogo*/e[17])},d(e){e&&m(t)}}}
|
1430
|
+
// (669:22) {#if addsortingselector == "true"}
|
1431
|
+
function sa(e){let t;return{c(){t=p("casino-sort"),x(t,"clientstylingurl",/*clientstylingurl*/e[10]),x(t,"clientstyling",/*clientstyling*/e[9]),x(t,"lang",/*lang*/e[5]),x(t,"categoryid",/*categoryid*/e[0]),x(t,"addsortingselector",/*addsortingselector*/e[2])},m(e,n){h(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&x(t,"clientstyling",/*clientstyling*/e[9]),/*lang*/32&n[0]&&x(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&x(t,"categoryid",/*categoryid*/e[0]),/*addsortingselector*/4&n[0]&&x(t,"addsortingselector",/*addsortingselector*/e[2])},d(e){e&&m(t)}}}
|
1432
|
+
// (722:14) {:else}
|
1433
1433
|
function la(e){let t,n,r=/*$_*/e[39]("noResults")+"";return{c(){t=p("p"),n=y(r),_(t,"class","NoSearchResults")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/256&t[1]&&r!==(r=/*$_*/e[39]("noResults")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
1434
|
-
// (
|
1434
|
+
// (685:14) {#if shownCategoryData.length !== 0 }
|
1435
1435
|
function ca(e){let t,n,r=/*shownCategoryData*/e[25],i=[];for(let t=0;t<r.length;t+=1)i[t]=da(Di(e,r,t));return{c(){t=p("ul");for(let e=0;e<i.length;e+=1)i[e].c();_(t,"class",n=/*favoriteGamesData*/(0===e[38].items.length&&/*showFavGamesCategory*/e[35]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[23]&&/*casinogamesgridslider*/"true"==e[18]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(n,r){h(n,t,r);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);
|
1436
|
-
/*ul_binding*/e[56](t)},p(e,a){if(/*session, userid, lang, shownCategoryData, favorites, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/
|
1436
|
+
/*ul_binding*/e[56](t)},p(e,a){if(/*session, userid, lang, shownCategoryData, favorites, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/34930664&a[0]|/*addGameTag, intersectingIndexes, visibilityconnect*/1120&a[1]){let n;for(r=/*shownCategoryData*/e[25],n=0;n<r.length;n+=1){const o=Di(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*/8650752&a[0]|/*favoriteGamesData, showFavGamesCategory*/144&a[1]&&n!==(n=/*favoriteGamesData*/(0===e[38].items.length&&/*showFavGamesCategory*/e[35]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[23]&&/*casinogamesgridslider*/"true"==e[18]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&_(t,"class",n)},d(n){n&&m(t),f(i,n),
|
1437
1437
|
/*ul_binding*/e[56](null)}}}
|
1438
|
-
// (
|
1438
|
+
// (682:12) {#if isLoading && !isLazyLoading}
|
1439
1439
|
function ua(t){let n;return{c(){n=p("div"),_(n,"class","lds-dual-ring"),_(n,"part","lds-dual-ring")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
|
1440
|
-
// (
|
1441
|
-
// (
|
1442
|
-
function da(e){let t,n=function(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y,v=/*index*/e[85];const b=()=>/*casino_game_thumbnail_binding*/e[55](t,v),w=()=>/*casino_game_thumbnail_binding*/e[55](null,v);return{c(){t=p("casino-game-thumbnail"),x(t,"session",/*session*/e[
|
1443
|
-
// (
|
1440
|
+
// (688:18) {#if intersecting || nativeLoading}
|
1441
|
+
// (687:18) {#each shownCategoryData as gameprops, index}
|
1442
|
+
function da(e){let t,n=function(e){let t,n,r,i,a,o,s,l,c,u,d,f,g,y,v=/*index*/e[85];const b=()=>/*casino_game_thumbnail_binding*/e[55](t,v),w=()=>/*casino_game_thumbnail_binding*/e[55](null,v);return{c(){t=p("casino-game-thumbnail"),x(t,"session",/*session*/e[6]),x(t,"userid",/*userid*/e[7]),x(t,"lang",/*lang*/e[5]),x(t,"class",n=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),x(t,"part",r=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),x(t,"favorites",/*favorites*/e[8]),x(t,"gamethumbnail",i=/*gameprops*/e[83].thumbnail),x(t,"gamename",a=/*gameprops*/e[83].name),x(t,"gamevendor",o=/*gameprops*/e[83].vendor.name),x(t,"gameisnew",s=/*gameprops*/e[83].isNew),x(t,"gametag",l=/*gameprops*/e[83].advancedTags?.length>0&&/*addGameTag*/e[41](/*gameprops*/e[83].advancedTags)),x(t,"gamecellsize",c=/*gameprops*/e[83].cellSize),x(t,"gameid",u=/*gameprops*/e[83].id),x(t,"gamefunmode",d=/*gameprops*/e[83].hasFunMode),x(t,"gamefavorite",f=/*gameprops*/e[83].isFavorite),x(t,"connectlive",g=/*intersectingIndexes*/1==e[36][/*gameprops*/e[83].id]?"connect":"disconnect"),x(t,"visibilityconnect",/*visibilityconnect*/e[37]),x(t,"currency",/*currency*/e[11]),x(t,"livelobbyendpoint",y=/*gameprops*/e[83].details?/*gameprops*/e[83].href:""),x(t,"clientstyling",/*clientstyling*/e[9]),x(t,"clientstylingurl",/*clientstylingurl*/e[10]),x(t,"endpoint",/*endpoint*/e[3]),x(t,"livecasino",/*livecasino*/e[12]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[13]),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[14]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[15]),x(t,"casinogamesgridslider",/*casinogamesgridslider*/e[18])},m(e,n){h(e,t,n),b()},p(h,m){e=h,/*session*/64&m[0]&&x(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&x(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&x(t,"lang",/*lang*/e[5]),/*shownCategoryData*/33554432&m[0]&&n!==(n=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1")))&&x(t,"class",n),/*shownCategoryData*/33554432&m[0]&&r!==(r=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1")))&&x(t,"part",r),/*favorites*/256&m[0]&&x(t,"favorites",/*favorites*/e[8]),/*shownCategoryData*/33554432&m[0]&&i!==(i=/*gameprops*/e[83].thumbnail)&&x(t,"gamethumbnail",i),/*shownCategoryData*/33554432&m[0]&&a!==(a=/*gameprops*/e[83].name)&&x(t,"gamename",a),/*shownCategoryData*/33554432&m[0]&&o!==(o=/*gameprops*/e[83].vendor.name)&&x(t,"gamevendor",o),/*shownCategoryData*/33554432&m[0]&&s!==(s=/*gameprops*/e[83].isNew)&&x(t,"gameisnew",s),/*shownCategoryData*/33554432&m[0]&&l!==(l=/*gameprops*/e[83].advancedTags?.length>0&&/*addGameTag*/e[41](/*gameprops*/e[83].advancedTags))&&x(t,"gametag",l),/*shownCategoryData*/33554432&m[0]&&c!==(c=/*gameprops*/e[83].cellSize)&&x(t,"gamecellsize",c),/*shownCategoryData*/33554432&m[0]&&u!==(u=/*gameprops*/e[83].id)&&x(t,"gameid",u),/*shownCategoryData*/33554432&m[0]&&d!==(d=/*gameprops*/e[83].hasFunMode)&&x(t,"gamefunmode",d),/*shownCategoryData*/33554432&m[0]&&f!==(f=/*gameprops*/e[83].isFavorite)&&x(t,"gamefavorite",f),/*shownCategoryData*/33554432&m[0]|/*intersectingIndexes*/32&m[1]&&g!==(g=/*intersectingIndexes*/1==e[36][/*gameprops*/e[83].id]?"connect":"disconnect")&&x(t,"connectlive",g),/*visibilityconnect*/64&m[1]&&x(t,"visibilityconnect",/*visibilityconnect*/e[37]),/*currency*/2048&m[0]&&x(t,"currency",/*currency*/e[11]),/*shownCategoryData*/33554432&m[0]&&y!==(y=/*gameprops*/e[83].details?/*gameprops*/e[83].href:"")&&x(t,"livelobbyendpoint",y),/*clientstyling*/512&m[0]&&x(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&x(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/4096&m[0]&&x(t,"livecasino",/*livecasino*/e[12]),/*gamepagemodalurl*/8192&m[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[13]),/*integratedgameframedesktop*/16384&m[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[14]),/*integratedgameframemobile*/32768&m[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[15]),/*casinogamesgridslider*/262144&m[0]&&x(t,"casinogamesgridslider",/*casinogamesgridslider*/e[18]),v!==/*index*/e[85]&&(w(),v=/*index*/e[85],b())},d(e){e&&m(t),w()}}}(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}
|
1443
|
+
// (592:12) {:else}
|
1444
1444
|
function ha(e){let t,n,r=/*$_*/e[39]("searchedItems")+"";return{c(){t=p("h3"),n=y(r),_(t,"class","StatusText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/256&t[1]&&r!==(r=/*$_*/e[39]("searchedItems")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
1445
|
-
// (
|
1445
|
+
// (588:12) {#if !shownCategoryData.length}
|
1446
1446
|
function ma(e){let t,n,r=/*$_*/e[39]("noResults")+"";return{c(){t=p("h3"),n=y(r),_(t,"class","StatusText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/256&t[1]&&r!==(r=/*$_*/e[39]("noResults")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
1447
|
-
// (
|
1447
|
+
// (583:10) {#if recentSearched}
|
1448
1448
|
function fa(e){let t,n,r=/*$_*/e[39]("recentSearchedItems")+"";return{c(){t=p("h3"),n=y(r),_(t,"class","StatusText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/256&t[1]&&r!==(r=/*$_*/e[39]("recentSearchedItems")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
1449
|
-
// (
|
1449
|
+
// (634:8) {:else}
|
1450
1450
|
function pa(t){let n;return{c(){n=p("p"),n.textContent="Waiting",_(n,"class","SearchWaiting")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
|
1451
|
-
// (
|
1452
|
-
function ga(e){let t,n,r=!/*showItems*/e[31]&&ya(e),i=/*shownCategoryData*/e[25],a=[];for(let t=0;t<i.length;t+=1)a[t]=va(Ni(e,i,t));return{c(){r&&r.c(),t=v(),n=p("ul");for(let e=0;e<a.length;e+=1)a[e].c();_(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,i){r&&r.m(e,i),h(e,t,i),h(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[31]?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, searchItem, favorites, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/
|
1453
|
-
// (
|
1451
|
+
// (599:8) {#if shownCategoryData}
|
1452
|
+
function ga(e){let t,n,r=!/*showItems*/e[31]&&ya(e),i=/*shownCategoryData*/e[25],a=[];for(let t=0;t<i.length;t+=1)a[t]=va(Ni(e,i,t));return{c(){r&&r.c(),t=v(),n=p("ul");for(let e=0;e<a.length;e+=1)a[e].c();_(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,i){r&&r.m(e,i),h(e,t,i),h(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[31]?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, searchItem, favorites, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/570490856&o[0]|/*addGameTag*/1024&o[1]){let t;for(i=/*shownCategoryData*/e[25],t=0;t<i.length;t+=1){const r=Ni(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&&m(t),e&&m(n),f(a,e)}}}
|
1453
|
+
// (600:10) {#if !showItems}
|
1454
1454
|
function ya(e){let t,n,r=/*$_*/e[39]("noRecentSearch")+"";return{c(){t=p("p"),n=y(r),_(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Ir(/*userAgent*/e[40])?"NoRecentSearchesMobile":""))},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/256&t[1]&&r!==(r=/*$_*/e[39]("noRecentSearch")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
1455
|
-
// (
|
1456
|
-
function va(e){let t,n,r,i,a,o,s,l,c,u,d,f,g;return{c(){t=p("casino-game-thumbnail"),x(t,"class",n=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),x(t,"part",r=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),x(t,"session",/*session*/e[
|
1457
|
-
// (
|
1455
|
+
// (604:12) {#each shownCategoryData as gameprops, index}
|
1456
|
+
function va(e){let t,n,r,i,a,o,s,l,c,u,d,f,g;return{c(){t=p("casino-game-thumbnail"),x(t,"class",n=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),x(t,"part",r=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),x(t,"session",/*session*/e[6]),x(t,"userid",/*userid*/e[7]),x(t,"lang",/*lang*/e[5]),x(t,"searchitem",/*searchItem*/e[29]),x(t,"favorites",/*favorites*/e[8]),x(t,"gamethumbnail",i=/*gameprops*/e[83].thumbnail),x(t,"gamename",a=/*gameprops*/e[83].name),x(t,"gamevendor",o=/*gameprops*/e[83].vendor.name),x(t,"gameisnew",s=/*gameprops*/e[83].isNew),x(t,"gametag",l=/*gameprops*/e[83].advancedTags?.length>0&&/*addGameTag*/e[41](/*gameprops*/e[83].advancedTags)),x(t,"gamecellsize",c=/*gameprops*/e[83].cellSize),x(t,"gameid",u=/*gameprops*/e[83].id),x(t,"gamefunmode",d=/*gameprops*/e[83].hasFunMode),x(t,"gamefavorite",f=/*gameprops*/e[83].isFavorite),x(t,"currency",/*currency*/e[11]),x(t,"livelobbyendpoint",g=/*gameprops*/e[83].details?/*gameprops*/e[83].href:""),x(t,"clientstyling",/*clientstyling*/e[9]),x(t,"clientstylingurl",/*clientstylingurl*/e[10]),x(t,"endpoint",/*endpoint*/e[3]),x(t,"livecasino",/*livecasino*/e[12]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[13]),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[14]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[15])},m(e,n){h(e,t,n)},p(e,h){/*shownCategoryData*/33554432&h[0]&&n!==(n=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1")))&&x(t,"class",n),/*shownCategoryData*/33554432&h[0]&&r!==(r=""+(xa+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1")))&&x(t,"part",r),/*session*/64&h[0]&&x(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&x(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&x(t,"lang",/*lang*/e[5]),/*searchItem*/536870912&h[0]&&x(t,"searchitem",/*searchItem*/e[29]),/*favorites*/256&h[0]&&x(t,"favorites",/*favorites*/e[8]),/*shownCategoryData*/33554432&h[0]&&i!==(i=/*gameprops*/e[83].thumbnail)&&x(t,"gamethumbnail",i),/*shownCategoryData*/33554432&h[0]&&a!==(a=/*gameprops*/e[83].name)&&x(t,"gamename",a),/*shownCategoryData*/33554432&h[0]&&o!==(o=/*gameprops*/e[83].vendor.name)&&x(t,"gamevendor",o),/*shownCategoryData*/33554432&h[0]&&s!==(s=/*gameprops*/e[83].isNew)&&x(t,"gameisnew",s),/*shownCategoryData*/33554432&h[0]&&l!==(l=/*gameprops*/e[83].advancedTags?.length>0&&/*addGameTag*/e[41](/*gameprops*/e[83].advancedTags))&&x(t,"gametag",l),/*shownCategoryData*/33554432&h[0]&&c!==(c=/*gameprops*/e[83].cellSize)&&x(t,"gamecellsize",c),/*shownCategoryData*/33554432&h[0]&&u!==(u=/*gameprops*/e[83].id)&&x(t,"gameid",u),/*shownCategoryData*/33554432&h[0]&&d!==(d=/*gameprops*/e[83].hasFunMode)&&x(t,"gamefunmode",d),/*shownCategoryData*/33554432&h[0]&&f!==(f=/*gameprops*/e[83].isFavorite)&&x(t,"gamefavorite",f),/*currency*/2048&h[0]&&x(t,"currency",/*currency*/e[11]),/*shownCategoryData*/33554432&h[0]&&g!==(g=/*gameprops*/e[83].details?/*gameprops*/e[83].href:"")&&x(t,"livelobbyendpoint",g),/*clientstyling*/512&h[0]&&x(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&x(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/4096&h[0]&&x(t,"livecasino",/*livecasino*/e[12]),/*gamepagemodalurl*/8192&h[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[13]),/*integratedgameframedesktop*/16384&h[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[14]),/*integratedgameframemobile*/32768&h[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[15])},d(e){e&&m(t)}}}
|
1457
|
+
// (576:4) {:else}
|
1458
1458
|
function ba(e){let t;return{c(){t=p("p"),t.textContent="500 Error - Internal Server Error.",_(t,"class","SearchLoading")},m(e,n){h(e,t,n)},d(e){e&&m(t)}}}
|
1459
|
-
// (
|
1459
|
+
// (574:4) {#if presentFilters}
|
1460
1460
|
function wa(e){let t;return{c(){t=p("p"),t.textContent="404 Error - No result found.",_(t,"class","SearchLoading")},m(e,n){h(e,t,n)},d(e){e&&m(t)}}}function _a(t){let n;function r(e,t){/*hasErrors*/
|
1461
1461
|
return e[22]?Bi:/*searched*/e[27]?Hi:Ri}let i=r(t),a=i(t);return{c(){n=p("div"),a.c(),this.c=e,_(n,"class","CasinoGamesCategorySectionContainer")},m(e,r){h(e,n,r),a.m(n,null),
|
1462
1462
|
/*div_binding*/t[59](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:e,o:e,d(e){e&&m(n),a.d(),
|
@@ -1471,7 +1471,7 @@ e.isIntersecting?(1.2*r>J&&pe(C),n(36,le[t]=1,le)):n(36,le[t]=0,le)}))}));
|
|
1471
1471
|
const me=(e,t,r)=>{n(21,j=!0);let i="",a="",o=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),s=JSON.parse(localStorage.getItem("vendorSortingBy")),c=g.replace(/.$/,"2");// @TODO remove after we migrate with all endpoints to v2 - hack for the endpoint since the filtering of categories functionality was developed only for the v2 api
|
1472
1472
|
return(C.match(/\$/g)||[]).length>1?(i=C.split("$").slice(0,2).join("$"),a=new URL(`${c}/casino/groups/${y}/${i}/subGroups`)):a=new URL(`${c}/casino/groups/${y}/${C}`),new Promise(((e,i)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",Ar(Z)),a.searchParams.append("pagination",`games(offset=${t},limit=${r})`),a.searchParams.append("language",v),
|
1473
1473
|
// if vendor filters are active, get filtered games
|
1474
|
-
window.postMessage({type:"CategoryVendors",categoryid:C},window.location.href),o&&o[C])if(o[C].length&&!1===V&&!1===ae){let e="";n(30,ne=!0),o[C].forEach((t=>{e+=e?`,games(vendor(id=${t}))`:`games(vendor(id=${t}))`})),a.searchParams.append("filter",(o&&o[C].length<2?"$and":"$or")+`(${e})`)}else n(30,ne=!1);s&&(s[C]?s[C]&&"All"!=s[C]&&("isNew"==s[C]||"advancedTags(name(hot))"==s[C]?(a.searchParams.append("sortedField",`games(${s[C]})`),a.searchParams.append("orderBy","DES")):a.searchParams.append("sortedField",`games(${s[C]})`)):ue&&"All"!=ue&&("advancedTags(name(hot))"==ue||"isNew"==ue?(a.searchParams.append("sortedField",`games(${ue})`),a.searchParams.append("orderBy","DES")):a.searchParams.append("sortedField",`games(${ue})`))),fetch(a).then((e=>e.json())).then((t=>{n(21,j=!1),(C.match(/\$/g)||[]).length>1&&(t=t.items.filter((e=>{if(e.id==C)return e}))[0]),n(52,f=!0),n(22,W=!1),l=t.games.total,e(t)}),(e=>{n(22,W=!0),console.error(e),i(e)}))}))},fe=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":"MOSTPLAYED"==C&&(n(27,q=!1),n(23,V=!1),n(26,X=!1),n(25,K=e.data.mostPlayedGames),n(24,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:e.data.mostPlayedGames.length,total:e.data.mostPlayedGames.length,items:e.data.mostPlayedGames}})),n(21,j=!1);break;case"LastPlayedData":"LASTPLAYED"==C&&(n(27,q=!1),n(23,V=!1),n(26,X=!1),n(25,K=e.data.lastPlayedGames),n(24,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:e.data.lastPlayedGames.length,total:e.data.lastPlayedGames.length,items:e.data.lastPlayedGames}})),n(21,j=!1);break;case"CustomOperatorData":e.data.operatordetail;break;case"RecentSearchData":n(27,q=!0),n(28,Q=!0),e.data.searchData.length>0?(n(25,K=e.data.searchData),n(31,re=!0),K&&K.forEach((e=>{e.isFavorite=ge(e.id)}))):(n(25,K=[]),n(31,re=!1));break;case"OutOfRecentSearches":n(27,q=!1),n(28,Q=!1);break;case"SearchData":n(27,q=!0),n(28,Q=!1),n(25,K=e.data.searchData.items||[]),n(29,te=!0),e.data.receivedFavoriteResults&&(d=e.data.receivedFavoriteResults.items),K&&K.forEach((e=>{e.isFavorite=ge(e.id)}));break;case`CategoryData_${C}`:n(27,q=!1),n(23,V=!0),n(26,X=!0),n(29,te=!1),oe=!1,e.data.receivedFavoriteResults&&(d=e.data.receivedFavoriteResults.items),me(e.data.categoryId,0,e.data.visiblegames).then((e=>{n(24,o=e),n(25,K=o.games.items),K&&K.forEach((e=>{e.isFavorite=ge(e.id)}))}));break;case"CategoryChange":J=20;break;case"ApplySorter":n(0,C=e.data.itemId),ue=e.data.sortBy,me(0,0,J).then((e=>{n(24,o=e),n(25,K=o.games.items),n(26,X=!1)}));break;case"CategoryUpdate":n(27,q=!1),n(23,V=!1),n(29,te=!1),oe=!0,n(0,C=e.data.itemId),"MOSTPLAYED"!==C&&n(26,X=!1),"true"!==O&&me(0,0,J).then((t=>{n(24,o=t),o.games.items.forEach((e=>{e.isFavorite=ge(e.id)})),n(25,K=o.games.items),n(26,X=!1),
|
1474
|
+
window.postMessage({type:"CategoryVendors",categoryid:C},window.location.href),o&&o[C])if(o[C].length&&!1===V&&!1===ae){let e="";n(30,ne=!0),o[C].forEach((t=>{e+=e?`,games(vendor(id=${t}))`:`games(vendor(id=${t}))`})),a.searchParams.append("filter",(o&&o[C].length<2?"$and":"$or")+`(${e})`)}else n(30,ne=!1);s&&(s[C]?s[C]&&"All"!=s[C]&&("isNew"==s[C]||"advancedTags(name(hot))"==s[C]?(a.searchParams.append("sortedField",`games(${s[C]})`),a.searchParams.append("orderBy","DES")):a.searchParams.append("sortedField",`games(${s[C]})`)):ue&&"All"!=ue&&("advancedTags(name(hot))"==ue||"isNew"==ue?(a.searchParams.append("sortedField",`games(${ue})`),a.searchParams.append("orderBy","DES")):a.searchParams.append("sortedField",`games(${ue})`))),fetch(a).then((e=>e.json())).then((t=>{n(21,j=!1),(C.match(/\$/g)||[]).length>1&&(t=t.items.filter((e=>{if(e.id==C)return e}))[0]),n(52,f=!0),n(22,W=!1),l=t.games.total,e(t)}),(e=>{n(22,W=!0),console.error(e),i(e)}))}))},fe=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":"MOSTPLAYED"==C&&(n(27,q=!1),n(23,V=!1),n(26,X=!1),n(25,K=e.data.mostPlayedGames),n(24,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:e.data.mostPlayedGames.length,total:e.data.mostPlayedGames.length,items:e.data.mostPlayedGames}})),n(21,j=!1);break;case"LastPlayedData":"LASTPLAYED"==C&&(n(27,q=!1),n(23,V=!1),n(26,X=!1),n(25,K=e.data.lastPlayedGames),n(24,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:e.data.lastPlayedGames.length,total:e.data.lastPlayedGames.length,items:e.data.lastPlayedGames}})),n(21,j=!1);break;case"CustomOperatorData":e.data.operatordetail;break;case"RecentSearchData":n(27,q=!0),n(28,Q=!0),e.data.searchData.length>0?(n(25,K=e.data.searchData),n(31,re=!0),K&&K.forEach((e=>{e.isFavorite=ge(e.id)}))):(n(25,K=[]),n(31,re=!1));break;case"OutOfRecentSearches":n(27,q=!1),n(28,Q=!1);break;case"SearchData":n(27,q=!0),n(28,Q=!1),n(25,K=e.data.searchData.items||[]),n(29,te=!0),e.data.receivedFavoriteResults&&(d=e.data.receivedFavoriteResults.items),K&&K.forEach((e=>{e.isFavorite=ge(e.id)}));break;case`CategoryData_${C}`:n(27,q=!1),n(23,V=!0),n(1,P="false"),n(2,D="false"),n(26,X=!0),n(29,te=!1),oe=!1,e.data.receivedFavoriteResults&&(d=e.data.receivedFavoriteResults.items),me(e.data.categoryId,0,e.data.visiblegames).then((e=>{n(24,o=e),n(25,K=o.games.items),K&&K.forEach((e=>{e.isFavorite=ge(e.id)}))}));break;case"CategoryChange":J=20;break;case"ApplySorter":n(0,C=e.data.itemId),ue=e.data.sortBy,me(0,0,J).then((e=>{n(24,o=e),n(25,K=o.games.items),n(26,X=!1)}));break;case"CategoryUpdate":n(27,q=!1),n(23,V=!1),n(29,te=!1),oe=!0,n(0,C=e.data.itemId),"MOSTPLAYED"!==C&&n(26,X=!1),"true"!==O&&me(0,0,J).then((t=>{n(24,o=t),o.games.items.forEach((e=>{e.isFavorite=ge(e.id)})),n(25,K=o.games.items),n(26,X=!1),
|
1475
1475
|
// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
|
1476
1476
|
K.length<10&&0==e.data.origin&&(ee=!0,setTimeout((()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ee},window.location.href)}),500))}));break;case"FavoriteUpdate":n(23,V=!0),o&&(n(25,K=o.games.items),K.forEach((e=>{e.isFavorite=ge(e.id)})));break;case"UpdateCategoryFavoriteGames":if(e.data.receivedFavoriteResults){if(d=e.data.receivedFavoriteResults.items,e.data.favStadalone)return;ae?V||window.postMessage({type:"CategoryUpdate",itemId:C},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let t;n(23,V=!1),e.data&&(t=e.data.receivedFavoriteResults.items,t.length&&t.forEach((e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)})),n(38,de.items=
|
1477
1477
|
// separate favorites array into mobile and desktop favorites
|
@@ -1486,17 +1486,17 @@ return Ir(n)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad"
|
|
1486
1486
|
*/
|
1487
1487
|
o.games.items.length>K.length&&(n(25,K=o.games.items),K.forEach((e=>{e.isFavorite=ge(e.id)}))),n(32,ie=!1)}))},ge=e=>!!d&&-1!==d.findIndex((t=>t.id==e)),ye=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};
|
1488
1488
|
// @TODO categoryId type
|
1489
|
-
E((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?n(37,ce="disconnect"):n(37,ce="connect")})),window.addEventListener("message",fe,!1),"FAVORITES"===C&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",fe),window.removeEventListener("visibilitychange",fe)})));return e.$$set=e=>{"categoryindex"in e&&n(43,p=e.categoryindex),"endpoint"in e&&n(
|
1489
|
+
E((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?n(37,ce="disconnect"):n(37,ce="connect")})),window.addEventListener("message",fe,!1),"FAVORITES"===C&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",fe),window.removeEventListener("visibilitychange",fe)})));return e.$$set=e=>{"categoryindex"in e&&n(43,p=e.categoryindex),"endpoint"in e&&n(3,g=e.endpoint),"datasource"in e&&n(4,y=e.datasource),"lang"in e&&n(5,v=e.lang),"session"in e&&n(6,b=e.session),"userid"in e&&n(7,w=e.userid),"favorites"in e&&n(8,_=e.favorites),"clientstyling"in e&&n(9,x=e.clientstyling),"clientstylingurl"in e&&n(10,S=e.clientstylingurl),"translationurl"in e&&n(44,F=e.translationurl),"currency"in e&&n(11,G=e.currency),"categoryid"in e&&n(0,C=e.categoryid),"categorygames"in e&&n(45,k=e.categorygames),"livecasino"in e&&n(12,M=e.livecasino),"visiblegames"in e&&n(46,L=e.visiblegames),"gamepagemodalurl"in e&&n(13,$=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(14,I=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(15,A=e.integratedgameframemobile),"casinomygames"in e&&n(16,O=e.casinomygames),"addfilterselector"in e&&n(1,P=e.addfilterselector),"addsortingselector"in e&&n(2,D=e.addsortingselector),"filterbylogo"in e&&n(17,N=e.filterbylogo),"casinogamesgridslider"in e&&n(18,R=e.casinogamesgridslider),"once"in e&&n(47,H=e.once),"top"in e&&n(48,B=e.top),"bottom"in e&&n(49,U=e.bottom),"left"in e&&n(50,Y=e.left),"right"in e&&n(51,z=e.right)},e.$$.update=()=>{/*thumbnailContainer*/1048576&e.$$.dirty[0]|/*dataloaded*/2097152&e.$$.dirty[1]&&f&&se&&oe&&se.forEach(((e,t)=>{e&&(
|
1490
1490
|
// Hack to make sure that I can identify the thumbnail index
|
1491
|
-
e.elems_index=t,he.observe(e))})),/*lang, categoryid*/
|
1491
|
+
e.elems_index=t,he.observe(e))})),/*lang, categoryid*/33&e.$$.dirty[0]&&v&&C&&(()=>{
|
1492
1492
|
// showFavGamesCategory vs categoryData
|
1493
1493
|
// favoriteGamesData vs shownCategoryData
|
1494
|
-
switch(C){case"FAVORITES":n(35,ae=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===O&&n(35,ae=!1)}})(),/*translationurl*/8192&e.$$.dirty[1]&&F&&fetch(F).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Dr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/
|
1494
|
+
switch(C){case"FAVORITES":n(35,ae=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===O&&n(35,ae=!1)}})(),/*translationurl*/8192&e.$$.dirty[1]&&F&&fetch(F).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Dr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/524800&e.$$.dirty[0]&&x&&h&&(()=>{let e=document.createElement("style");e.innerHTML=x,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/525312&e.$$.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,P,D,g,y,v,b,w,_,x,S,G,M,$,I,A,O,N,R,h,se,j,W,V,o,K,X,q,Q,te,ne,re,ie,s,c,ae,le,ce,de,r,Z,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);Rr(l).diff(i)<r&&(r=Rr(l).diff(i),t=o),Rr(i).isAfter(s)&&Rr(i).isBefore(l)&&(n=e[t].name)})),n},ye,p,F,k,L,H,B,U,Y,z,f,function(e){T[e?"unshift":"push"]((()=>{c=e,n(34,c)}))},e=>ye(o.id),function(e,t){T[e?"unshift":"push"]((()=>{se[t]=e,n(20,se)}))},function(e){T[e?"unshift":"push"]((()=>{s=e,n(33,s)}))},function(e){T[e?"unshift":"push"]((()=>{c=e,n(34,c)}))},function(e){T[e?"unshift":"push"]((()=>{s=e,n(33,s)}))},function(e){T[e?"unshift":"push"]((()=>{h=e,n(19,h)}))}]}
|
1495
1495
|
/* src/CasinoMostPlayedSection.svelte generated by Svelte v3.59.2 */
|
1496
1496
|
function Fa(e){let t;return{c(){t=p("casino-games-category-section"),x(t,"session",/*session*/e[4]),x(t,"userid",/*userid*/e[5]),x(t,"endpoint",/*endpoint*/e[0]),x(t,"datasource",/*datasource*/e[1]),x(t,"lang",/*lang*/e[3]),x(t,"currency",/*currency*/e[2]),x(t,"favorites",/*favorites*/e[13]),x(t,"categoryid","MOSTPLAYED"),x(t,"categoryindex","1"),x(t,"categorygames","9"),x(t,"class","CategoryContainer"),x(t,"clientstyling",/*clientstyling*/e[6]),x(t,"clientstylingurl",/*clientstylingurl*/e[7]),x(t,"livecasino",/*livecasino*/e[8]),x(t,"visiblegames",/*visiblegames*/e[12]),x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),x(t,"casinomygames",/*casinomygames*/e[14])},m(e,n){h(e,t,n)},p(e,n){/*session*/16&n[0]&&x(t,"session",/*session*/e[4]),/*userid*/32&n[0]&&x(t,"userid",/*userid*/e[5]),/*endpoint*/1&n[0]&&x(t,"endpoint",/*endpoint*/e[0]),/*datasource*/2&n[0]&&x(t,"datasource",/*datasource*/e[1]),/*lang*/8&n[0]&&x(t,"lang",/*lang*/e[3]),/*currency*/4&n[0]&&x(t,"currency",/*currency*/e[2]),/*favorites*/8192&n[0]&&x(t,"favorites",/*favorites*/e[13]),/*clientstyling*/64&n[0]&&x(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&x(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&x(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/4096&n[0]&&x(t,"visiblegames",/*visiblegames*/e[12]),/*gamepagemodalurl*/2048&n[0]&&x(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/1024&n[0]&&x(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&n[0]&&x(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/16384&n[0]&&x(t,"casinomygames",/*casinomygames*/e[14])},d(e){e&&m(t)}}}
|
1497
1497
|
// (152:4) {#if mostPlayedEmpty}
|
1498
1498
|
function Ga(e){let t,n,r=/*$_*/e[17]("noGames")+"";return{c(){t=p("p"),n=y(r),_(t,"class","SearchLoading")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/131072&t[0]&&r!==(r=/*$_*/e[17]("noGames")+"")&&S(n,r)},d(e){e&&m(t)}}}function Ca(t){let n,r;function i(e,t){/*mostPlayedEmpty*/
|
1499
1499
|
return e[16]?Ga:Fa}let a=i(t),o=a(t);return{c(){n=p("div"),r=p("div"),o.c(),this.c=e,_(r,"class","casino-most-played-section"),_(n,"class","CasinoGamesCategorySectionContainer")},m(e,i){h(e,n,i),d(n,r),o.m(r,null),
|
1500
1500
|
/*div1_binding*/t[22](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:e,o:e,d(e){e&&m(n),o.d(),
|
1501
|
-
/*div1_binding*/t[22](null)}}}function Ea(e,t,n){let r;u(e,$r,(e=>n(17,r=e)));let{endpoint:i=""}=t,{datasource:a=""}=t,{currency:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:f="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:g="false"}=t,{visiblegames:y}=t,{favorites:v=""}=t,{lastPlayedEmpty:b=""}=t,{translationurl:w=""}=t,{casinomygames:_="false"}=t,{mostplayedperiod:x="Last30Days"}=t,{mostplayedrounds:S="10"}=t,F=window.navigator.userAgent;Object.keys(Pr).forEach((e=>{Or(e,Pr[e])}));let G,C,E=[],k=!1;const M=()=>{(e=>{let t=new URL(`${i}/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),G=m?t:t.href,new Promise(((e,t)=>{fetch(G).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:Ar(F),rounds:S}).then((e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${i}/casino/games/${e.gameId}`);n.searchParams.append("datasource",a),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{E=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===_&&(E=E.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:E},window.location.href)}))}else n(16,k=!0)}))},L=()=>{var e;e=s,hr.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,d=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),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,v=e.favorites),"lastPlayedEmpty"in e&&n(18,b=e.lastPlayedEmpty),"translationurl"in e&&n(19,w=e.translationurl),"casinomygames"in e&&n(14,_=e.casinomygames),"mostplayedperiod"in e&&n(20,x=e.mostplayedperiod),"mostplayedrounds"in e&&n(21,S=e.mostplayedrounds)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&s&&M(),/*clientstyling, customStylingContainer*/32832&e.$$.dirty[0]&&d&&C&&(()=>{let e=document.createElement("style");e.innerHTML=d,C.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/32896&e.$$.dirty[0]&&h&&C&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{C.appendChild(e)}),1)}))})(),/*translationurl*/524288&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Or(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&s&&L()},[i,a,o,s,l,c,d,h,m,f,p,g,y,v,_,C,k,r,b,w,x,S,function(e){T[e?"unshift":"push"]((()=>{C=e,n(15,C)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends z{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),Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Sa,_a,a,{categoryindex:43,endpoint:1,datasource:2,lang:3,session:4,userid:5,favorites:6,clientstyling:7,clientstylingurl:8,translationurl:44,currency:9,categoryid:0,categorygames:45,livecasino:10,visiblegames:46,gamepagemodalurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,casinomygames:14,addfilterselector:15,addsortingselector:16,filterbylogo:17,casinogamesgridslider:18,once:47,top:48,bottom:49,left:50,right:51},null,[-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[43]}set categoryindex(e){this.$$set({categoryindex:e}),R()}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),R()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),R()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),R()}get favorites(){return this.$$.ctx[6]}set favorites(e){this.$$set({favorites:e}),R()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get translationurl(){return this.$$.ctx[44]}set translationurl(e){this.$$set({translationurl:e}),R()}get currency(){return this.$$.ctx[9]}set currency(e){this.$$set({currency:e}),R()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),R()}get categorygames(){return this.$$.ctx[45]}set categorygames(e){this.$$set({categorygames:e}),R()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),R()}get visiblegames(){return this.$$.ctx[46]}set visiblegames(e){this.$$set({visiblegames:e}),R()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),R()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),R()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),R()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),R()}get addfilterselector(){return this.$$.ctx[15]}set addfilterselector(e){this.$$set({addfilterselector:e}),R()}get addsortingselector(){return this.$$.ctx[16]}set addsortingselector(e){this.$$set({addsortingselector:e}),R()}get filterbylogo(){return this.$$.ctx[17]}set filterbylogo(e){this.$$set({filterbylogo:e}),R()}get casinogamesgridslider(){return this.$$.ctx[18]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),R()}get once(){return this.$$.ctx[47]}set once(e){this.$$set({once:e}),R()}get top(){return this.$$.ctx[48]}set top(e){this.$$set({top:e}),R()}get bottom(){return this.$$.ctx[49]}set bottom(e){this.$$set({bottom:e}),R()}get left(){return this.$$.ctx[50]}set left(e){this.$$set({left:e}),R()}get right(){return this.$$.ctx[51]}set right(e){this.$$set({right:e}),R()}});class ka extends z{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),Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ea,Ca,a,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:18,translationurl:19,casinomygames:14,mostplayedperiod:20,mostplayedrounds:21},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty","translationurl","casinomygames","mostplayedperiod","mostplayedrounds"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),R()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),R()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),R()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),R()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),R()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),R()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),R()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),R()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),R()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),R()}get lastPlayedEmpty(){return this.$$.ctx[18]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),R()}get translationurl(){return this.$$.ctx[19]}set translationurl(e){this.$$set({translationurl:e}),R()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),R()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),R()}get mostplayedrounds(){return this.$$.ctx[21]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),R()}}return!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",ka),ka}));
|
1501
|
+
/*div1_binding*/t[22](null)}}}function Ea(e,t,n){let r;u(e,$r,(e=>n(17,r=e)));let{endpoint:i=""}=t,{datasource:a=""}=t,{currency:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:f="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:g="false"}=t,{visiblegames:y}=t,{favorites:v=""}=t,{lastPlayedEmpty:b=""}=t,{translationurl:w=""}=t,{casinomygames:_="false"}=t,{mostplayedperiod:x="Last30Days"}=t,{mostplayedrounds:S="10"}=t,F=window.navigator.userAgent;Object.keys(Pr).forEach((e=>{Or(e,Pr[e])}));let G,C,E=[],k=!1;const M=()=>{(e=>{let t=new URL(`${i}/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),G=m?t:t.href,new Promise(((e,t)=>{fetch(G).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:Ar(F),rounds:S}).then((e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${i}/casino/games/${e.gameId}`);n.searchParams.append("datasource",a),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{E=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===_&&(E=E.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:E},window.location.href)}))}else n(16,k=!0)}))},L=()=>{var e;e=s,hr.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,d=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),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,v=e.favorites),"lastPlayedEmpty"in e&&n(18,b=e.lastPlayedEmpty),"translationurl"in e&&n(19,w=e.translationurl),"casinomygames"in e&&n(14,_=e.casinomygames),"mostplayedperiod"in e&&n(20,x=e.mostplayedperiod),"mostplayedrounds"in e&&n(21,S=e.mostplayedrounds)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&s&&M(),/*clientstyling, customStylingContainer*/32832&e.$$.dirty[0]&&d&&C&&(()=>{let e=document.createElement("style");e.innerHTML=d,C.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/32896&e.$$.dirty[0]&&h&&C&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{C.appendChild(e)}),1)}))})(),/*translationurl*/524288&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Or(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&s&&L()},[i,a,o,s,l,c,d,h,m,f,p,g,y,v,_,C,k,r,b,w,x,S,function(e){T[e?"unshift":"push"]((()=>{C=e,n(15,C)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends z{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),Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Sa,_a,a,{categoryindex:43,endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:44,currency:11,categoryid:0,categorygames:45,livecasino:12,visiblegames:46,gamepagemodalurl:13,integratedgameframedesktop:14,integratedgameframemobile:15,casinomygames:16,addfilterselector:1,addsortingselector:2,filterbylogo:17,casinogamesgridslider:18,once:47,top:48,bottom:49,left:50,right:51},null,[-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[43]}set categoryindex(e){this.$$set({categoryindex:e}),R()}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),R()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),R()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),R()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),R()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get translationurl(){return this.$$.ctx[44]}set translationurl(e){this.$$set({translationurl:e}),R()}get currency(){return this.$$.ctx[11]}set currency(e){this.$$set({currency:e}),R()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),R()}get categorygames(){return this.$$.ctx[45]}set categorygames(e){this.$$set({categorygames:e}),R()}get livecasino(){return this.$$.ctx[12]}set livecasino(e){this.$$set({livecasino:e}),R()}get visiblegames(){return this.$$.ctx[46]}set visiblegames(e){this.$$set({visiblegames:e}),R()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),R()}get integratedgameframedesktop(){return this.$$.ctx[14]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),R()}get integratedgameframemobile(){return this.$$.ctx[15]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),R()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),R()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),R()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),R()}get filterbylogo(){return this.$$.ctx[17]}set filterbylogo(e){this.$$set({filterbylogo:e}),R()}get casinogamesgridslider(){return this.$$.ctx[18]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),R()}get once(){return this.$$.ctx[47]}set once(e){this.$$set({once:e}),R()}get top(){return this.$$.ctx[48]}set top(e){this.$$set({top:e}),R()}get bottom(){return this.$$.ctx[49]}set bottom(e){this.$$set({bottom:e}),R()}get left(){return this.$$.ctx[50]}set left(e){this.$$set({left:e}),R()}get right(){return this.$$.ctx[51]}set right(e){this.$$set({right:e}),R()}});class ka extends z{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),Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ea,Ca,a,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:18,translationurl:19,casinomygames:14,mostplayedperiod:20,mostplayedrounds:21},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty","translationurl","casinomygames","mostplayedperiod","mostplayedrounds"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),R()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),R()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),R()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),R()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),R()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),R()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),R()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),R()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),R()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),R()}get lastPlayedEmpty(){return this.$$.ctx[18]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),R()}get translationurl(){return this.$$.ctx[19]}set translationurl(e){this.$$set({translationurl:e}),R()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),R()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),R()}get mostplayedrounds(){return this.$$.ctx[21]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),R()}}return!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",ka),ka}));
|
1502
1502
|
//# sourceMappingURL=casino-most-played-section.js.map
|