@everymatrix/casino-my-games 1.17.5 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-my-games.js +58 -58
- package/dist/casino-my-games.js.map +1 -1
- package/package.json +2 -2
package/dist/casino-my-games.js
CHANGED
|
@@ -1367,96 +1367,96 @@ return e[14](/*sort*/e[23])}return{c(){t=f("li"),n=f("label"),r=f("input"),a=v()
|
|
|
1367
1367
|
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Mi).forEach((e=>{ki(e,Mi[e])}));const f={All:r("all"),name:r("az"),isNew:r("newest"),"advancedTags(name(hot))":r("hottest")},g=e=>{n(3,p=e);let t=localStorage.getItem("vendorSortingBy");m=e;for(let t in f)if(f[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)};G((()=>(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,s=e.translationurl),"clientstyling"in e&&n(10,o=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,p="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,p=t||"All"),n(3,p=f[t])})(),/*clientstyling, customStylingContainer*/1025&e.$$.dirty&&o&&i&&(()=>{let e=document.createElement("style");e.innerHTML=o,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&&s&&fetch(s).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{ki(t,e[t])}))})).catch((e=>{console.log(e)}))},[i,d,h,p,r,f,g,y,a,s,o,l,c,()=>y(),e=>g(e),function(e){k[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 Di(e,t,n){const r=e.slice();return r[83]=t[n],r[85]=n,r}function Oi(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=f("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]?pa:/*shownCategoryData*/e[25].length?ha:ma}let a=i(e),s=a(e);function o(e,t){/*shownCategoryData*/
|
|
1376
1376
|
return e[25]?ga:fa}let l=o(e),c=l(e);return{c(){t=f("div"),n=f("div"),s.c(),r=v(),c.c(),x(n,"class","CasinoGamesHeader Searched "+(Pr(/*userAgent*/e[40])?"CasinoGamesHeaderMobile":"")),x(t,"class","CasinoGamesContainer")},m(e,i){h(e,t,i),d(t,n),s.m(n,null),d(t,r),c.m(t,null)},p(e,r){a===(a=i(e))&&s?s.p(e,r):(s.d(1),s=a(e),s&&(s.c(),s.m(n,null))),l===(l=o(e))&&c?c.p(e,r):(c.d(1),c=l(e),c&&(c.c(),c.m(t,null)))},d(e){e&&m(t),s.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 s(e,t){/*isLoading*/
|
|
1382
1382
|
return e[21]&&!/*isLazyLoading*/e[32]?Vi:/*favoriteGamesData*/e[38]?Wi:ji}let o=s(e),l=o(e);return{c(){t=f("div"),a&&a.c(),n=v(),r=f("ul"),l.c(),x(r,"class",i=/*favoriteGamesData*/(0!=e[38].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),x(t,"class","CasinoGamesContainer")},m(i,s){h(i,t,s),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),o===(o=s(e))&&l?l.p(e,c):(l.d(1),l=o(e),l&&(l.c(),l.m(r,null))),/*favoriteGamesData*/128&c[1]&&i!==(i=/*favoriteGamesData*/(0!=e[38].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&x(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),s=a(e);return{c(){t=f("div"),r&&r.c(),n=v(),s.c(),x(t,"class","CasinoGamesContainer")},m(e,i){h(e,t,i),r&&r.m(t,null),d(t,n),s.m(t,null)},p(e,o){/*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),s=a(e);return{c(){t=f("div"),r&&r.c(),n=v(),s.c(),x(t,"class","CasinoGamesContainer")},m(e,i){h(e,t,i),r&&r.m(t,null),d(t,n),s.m(t,null)},p(e,o){/*casinomygames*/"true"!==e[16]?r?r.p(e,o):(r=ra(e),r.c(),r.m(t,n)):r&&(r.d(1),r=null),a===(a=i(e))&&s?s.p(e,o):(s.d(1),s=a(e),s&&(s.c(),s.m(t,null)))},d(e){e&&m(t),r&&r.d(),s.d()}}}
|
|
1388
|
+
// (729:14) {#if casinomygames !== 'true'}
|
|
1389
1389
|
function zi(e){let t,n,r,i,a,s,o,l,c=/*$_*/e[39]("favorites")+"",u=/*favoriteGamesData*/e[38].items.length+"";return{c(){t=f("div"),n=f("h3"),r=y(c),i=v(),a=f("span"),s=y("("),o=y(u),l=y(")"),x(a,"class","CategoryFavName"),x(n,"class","CategoryName"),x(t,"class","CasinoGamesHeader")},m(c,u){h(c,t,u),d(t,n),d(n,r),d(n,i),d(n,a),d(a,s),d(a,o),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(o,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=f("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(Di(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(Di(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 s;for(n=/*favoriteGamesData*/e[38].items,s=0;s<n.length;s+=1){const i=Di(e,n,s);r[s]?r[s].p(i,a):(r[s]=na(i),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length,!n.length&&i?i.p(e,a):n.length?i&&(i.d(1),i=null):(i=Zi(e),i.c(),i.m(t.parentNode,t))}},d(e){p(r,e),e&&m(t),i&&i.d(e)}}}
|
|
1396
|
+
// (739:16) {#if isLoading && !isLazyLoading}
|
|
1397
1397
|
function Vi(t){let n;return{c(){n=f("div"),x(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,s,o,l,c,u,p,b,w,_,$=/*$_*/e[39]("noFavoritesTitle")+"";let F=function(e,t){return Pr(/*userAgent*/e[40])?Xi:Ki}(e),C=F(e);return{c(){t=f("p"),n=g("svg"),r=g("rect"),i=g("rect"),a=g("circle"),s=g("path"),o=g("path"),l=g("path"),c=g("path"),u=v(),p=f("span"),b=y($),w=v(),C.c(),_=v(),x(r,"x","1"),x(r,"y","18.053"),x(r,"width","90.263"),x(r,"height","90.263"),x(r,"rx","12"),x(r,"stroke","var(--emfe-w-color-gray-150, #828282)"),x(r,"stroke-width","1.5"),x(i,"x","106.737"),x(i,"y","56.737"),x(i,"width","90.263"),x(i,"height","90.263"),x(i,"rx","12"),x(i,"stroke","var(--emfe-w-color-gray-150, #828282)"),x(i,"stroke-width","1.5"),x(a,"cx","70.5"),x(a,"cy","32.237"),x(a,"r","31.487"),x(a,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(a,"stroke-width","1.5"),x(a,"stroke-dasharray","5 0"),x(s,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),x(s,"fill","var(--emfe-w-color-gray-150, #828282)"),x(o,"d","M78 43h11v13H78V43z"),x(o,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(l,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),x(l,"fill","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(l,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(l,"stroke-linecap","round"),x(l,"stroke-linejoin","round"),x(c,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),x(c,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(c,"stroke-width","1.5"),x(c,"stroke-linecap","round"),x(c,"stroke-linejoin","round"),x(n,"width","198"),x(n,"height","148"),x(n,"viewBox","0 0 198 148"),x(n,"fill","none"),x(n,"xmlns","http://www.w3.org/2000/svg"),x(p,"class","NoFavoriteText NoFavoriteTextHighlight"),x(t,"class","NoFavoriteGames "+(Pr(/*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,s),d(n,o),d(n,l),d(n,c),d(t,u),d(t,p),d(p,b),d(t,w),C.m(t,null),d(t,_)},p(e,t){/*$_*/256&t[1]&&$!==($=/*$_*/e[39]("noFavoritesTitle")+"")&&S(b,$),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=f("span"),n=y(r),x(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=f("span"),n=y(r),x(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 qi(e){let t,n=/*gameprops*/e[83].gameModel.isFavorite&&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.isFavorite?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)}}}
|
|
1406
|
-
// (
|
|
1406
|
+
// (745:24) {#if gameprops.gameModel.isFavorite}
|
|
1407
1407
|
function Ji(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=!!Pr(/*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]),s=a&&a(e);return{c(){s&&s.c(),r=b()},m(e,t){s&&s.m(e,t),h(e,r,t)},p(e,t){a===(a=i(e,t))&&s?s.p(e,t):(s&&s.d(1),s=a&&a(e),s&&(s.c(),s.m(r.parentNode,r)))},d(e){s&&s.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,s,o,l,c,u,d,p,g,y;return{c(){t=f("casino-game-thumbnail"),_(t,"class",n=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),_(t,"part",r=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),_(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,s,o,l,c,u,d,p,g,y;return{c(){t=f("casino-game-thumbnail"),_(t,"class",n=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),_(t,"part",r=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"favorites",/*favorites*/e[8]),_(t,"gamethumbnail",i=/*gameprops*/e[83].gameModel.thumbnail),_(t,"gamename",a=/*gameprops*/e[83].gameModel.name),_(t,"gamevendor",s=/*gameprops*/e[83].gameModel.vendor.name),_(t,"gameisnew",o=/*gameprops*/e[83].gameModel.isNew),_(t,"gametag",l=/*gameprops*/e[83].gameModel.advancedTags?.length>0&&/*addGameTag*/e[41](/*gameprops*/e[83].gameModel.advancedTags)),_(t,"gamecellsize",c=/*gameprops*/e[83].cellSize),_(t,"gameid",u=/*gameprops*/e[83].gameModel.id),_(t,"gamefunmode",d=/*gameprops*/e[83].gameModel.hasFunMode),_(t,"gamefavorite",p=/*gameprops*/e[83].gameModel.isFavorite),_(t,"showfavoredcategory",/*showFavGamesCategory*/e[35]),_(t,"connectlive",g=/*intersectingIndexes*/1==e[36][/*gameprops*/e[83].id]?"connect":"disconnect"),_(t,"visibilityconnect",/*visibilityconnect*/e[37]),_(t,"currency",/*currency*/e[11]),_(t,"livelobbyendpoint",y=/*gameprops*/e[83].gameModel.details?/*gameprops*/e[83].gameModel.launchUrl:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[12]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[13]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[14]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[15])},m(e,n){h(e,t,n)},p(e,h){/*favoriteGamesData*/128&h[1]&&n!==(n=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1")))&&_(t,"class",n),/*favoriteGamesData*/128&h[1]&&r!==(r=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1")))&&_(t,"part",r),/*session*/64&h[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&_(t,"lang",/*lang*/e[5]),/*favorites*/256&h[0]&&_(t,"favorites",/*favorites*/e[8]),/*favoriteGamesData*/128&h[1]&&i!==(i=/*gameprops*/e[83].gameModel.thumbnail)&&_(t,"gamethumbnail",i),/*favoriteGamesData*/128&h[1]&&a!==(a=/*gameprops*/e[83].gameModel.name)&&_(t,"gamename",a),/*favoriteGamesData*/128&h[1]&&s!==(s=/*gameprops*/e[83].gameModel.vendor.name)&&_(t,"gamevendor",s),/*favoriteGamesData*/128&h[1]&&o!==(o=/*gameprops*/e[83].gameModel.isNew)&&_(t,"gameisnew",o),/*favoriteGamesData*/128&h[1]&&l!==(l=/*gameprops*/e[83].gameModel.advancedTags?.length>0&&/*addGameTag*/e[41](/*gameprops*/e[83].gameModel.advancedTags))&&_(t,"gametag",l),/*favoriteGamesData*/128&h[1]&&c!==(c=/*gameprops*/e[83].cellSize)&&_(t,"gamecellsize",c),/*favoriteGamesData*/128&h[1]&&u!==(u=/*gameprops*/e[83].gameModel.id)&&_(t,"gameid",u),/*favoriteGamesData*/128&h[1]&&d!==(d=/*gameprops*/e[83].gameModel.hasFunMode)&&_(t,"gamefunmode",d),/*favoriteGamesData*/128&h[1]&&p!==(p=/*gameprops*/e[83].gameModel.isFavorite)&&_(t,"gamefavorite",p),/*showFavGamesCategory*/16&h[1]&&_(t,"showfavoredcategory",/*showFavGamesCategory*/e[35]),/*intersectingIndexes, favoriteGamesData*/160&h[1]&&g!==(g=/*intersectingIndexes*/1==e[36][/*gameprops*/e[83].id]?"connect":"disconnect")&&_(t,"connectlive",g),/*visibilityconnect*/64&h[1]&&_(t,"visibilityconnect",/*visibilityconnect*/e[37]),/*currency*/2048&h[0]&&_(t,"currency",/*currency*/e[11]),/*favoriteGamesData*/128&h[1]&&y!==(y=/*gameprops*/e[83].gameModel.details?/*gameprops*/e[83].gameModel.launchUrl:"")&&_(t,"livelobbyendpoint",y),/*clientstyling*/512&h[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/4096&h[0]&&_(t,"livecasino",/*livecasino*/e[12]),/*gamepagemodalurl*/8192&h[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[13]),/*integratedgameframedesktop*/16384&h[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[14]),/*integratedgameframemobile*/32768&h[0]&&_(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,s,o,l,c,u,d,p,g,y;return{c(){t=f("casino-game-thumbnail"),_(t,"class",n=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),_(t,"part",r=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),_(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,s,o,l,c,u,d,p,g,y;return{c(){t=f("casino-game-thumbnail"),_(t,"class",n=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),_(t,"part",r=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"favorites",/*favorites*/e[8]),_(t,"gamethumbnail",i=/*gameprops*/e[83].gameModel.thumbnail),_(t,"gamename",a=/*gameprops*/e[83].gameModel.name),_(t,"gamevendor",s=/*gameprops*/e[83].gameModel.vendor.name),_(t,"gameisnew",o=/*gameprops*/e[83].gameModel.isNew),_(t,"gametag",l=/*gameprops*/e[83].gameModel.advancedTags?.length>0&&/*addGameTag*/e[41](/*gameprops*/e[83].gameModel.advancedTags)),_(t,"gamecellsize",c=/*gameprops*/e[83].cellSize),_(t,"gameid",u=/*gameprops*/e[83].gameModel.id),_(t,"gamefunmode",d=/*gameprops*/e[83].gameModel.hasFunMode),_(t,"gamefavorite",p=/*gameprops*/e[83].gameModel.isFavorite),_(t,"showfavoredcategory",/*showFavGamesCategory*/e[35]),_(t,"connectlive",g=/*intersectingIndexes*/1==e[36][/*gameprops*/e[83].id]?"connect":"disconnect"),_(t,"visibilityconnect",/*visibilityconnect*/e[37]),_(t,"currency",/*currency*/e[11]),_(t,"livelobbyendpoint",y=/*gameprops*/e[83].gameModel.details?/*gameprops*/e[83].gameModel.launchUrl:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[12]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[13]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[14]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[15])},m(e,n){h(e,t,n)},p(e,h){/*favoriteGamesData*/128&h[1]&&n!==(n=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1")))&&_(t,"class",n),/*favoriteGamesData*/128&h[1]&&r!==(r=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1")))&&_(t,"part",r),/*session*/64&h[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&_(t,"lang",/*lang*/e[5]),/*favorites*/256&h[0]&&_(t,"favorites",/*favorites*/e[8]),/*favoriteGamesData*/128&h[1]&&i!==(i=/*gameprops*/e[83].gameModel.thumbnail)&&_(t,"gamethumbnail",i),/*favoriteGamesData*/128&h[1]&&a!==(a=/*gameprops*/e[83].gameModel.name)&&_(t,"gamename",a),/*favoriteGamesData*/128&h[1]&&s!==(s=/*gameprops*/e[83].gameModel.vendor.name)&&_(t,"gamevendor",s),/*favoriteGamesData*/128&h[1]&&o!==(o=/*gameprops*/e[83].gameModel.isNew)&&_(t,"gameisnew",o),/*favoriteGamesData*/128&h[1]&&l!==(l=/*gameprops*/e[83].gameModel.advancedTags?.length>0&&/*addGameTag*/e[41](/*gameprops*/e[83].gameModel.advancedTags))&&_(t,"gametag",l),/*favoriteGamesData*/128&h[1]&&c!==(c=/*gameprops*/e[83].cellSize)&&_(t,"gamecellsize",c),/*favoriteGamesData*/128&h[1]&&u!==(u=/*gameprops*/e[83].gameModel.id)&&_(t,"gameid",u),/*favoriteGamesData*/128&h[1]&&d!==(d=/*gameprops*/e[83].gameModel.hasFunMode)&&_(t,"gamefunmode",d),/*favoriteGamesData*/128&h[1]&&p!==(p=/*gameprops*/e[83].gameModel.isFavorite)&&_(t,"gamefavorite",p),/*showFavGamesCategory*/16&h[1]&&_(t,"showfavoredcategory",/*showFavGamesCategory*/e[35]),/*intersectingIndexes, favoriteGamesData*/160&h[1]&&g!==(g=/*intersectingIndexes*/1==e[36][/*gameprops*/e[83].id]?"connect":"disconnect")&&_(t,"connectlive",g),/*visibilityconnect*/64&h[1]&&_(t,"visibilityconnect",/*visibilityconnect*/e[37]),/*currency*/2048&h[0]&&_(t,"currency",/*currency*/e[11]),/*favoriteGamesData*/128&h[1]&&y!==(y=/*gameprops*/e[83].gameModel.details?/*gameprops*/e[83].gameModel.launchUrl:"")&&_(t,"livelobbyendpoint",y),/*clientstyling*/512&h[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/4096&h[0]&&_(t,"livecasino",/*livecasino*/e[12]),/*gamepagemodalurl*/8192&h[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[13]),/*integratedgameframedesktop*/16384&h[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[14]),/*integratedgameframemobile*/32768&h[0]&&_(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&&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?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)}}}
|
|
1419
|
-
// (
|
|
1419
|
+
// (642:12) {#if casinomygames !== 'true'}
|
|
1420
1420
|
function ra(e){let t,n,r,i,a=/*categoryData*/e[24].name+"";function s(e,t){/*showLoadCategory*/
|
|
1421
1421
|
return e[26]?aa:ia}let o=s(e),l=o(e);return{c(){t=f("div"),n=f("h3"),r=y(a),i=v(),l.c(),x(n,"class","CategoryName"),x(t,"class","CasinoGamesHeader")},m(a,s){h(a,t,s),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),o===(o=s(e))&&l?l.p(e,n):(l.d(1),l=o(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]&&sa(e),a=/*addsortingselector*/"true"==e[2]&&oa(e);return{c(){t=f("div"),i&&i.c(),n=v(),a&&a.c(),x(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,s){/*addfilterselector*/"true"==e[1]?i?i.p(e,s):(i=sa(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*addsortingselector*/"true"==e[2]?a?a.p(e,s):(a=oa(e),a.c(),a.m(t,null)):a&&(a.d(1),a=null),/*addfilterselector, addsortingselector*/6&s[0]&&r!==(r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")&&x(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,s,o,l,c=/*$_*/e[39]("viewAll")+"",u=/*categoryData*/e[24].games.total+"";return{c(){t=f("a"),n=f("span"),r=y(c),i=y(" ("),a=y(u),s=y(")"),x(n,"class","CategoryLoadMore"),x(t,"class","CategoryNameLink")},m(c,u){h(c,t,u),d(t,n),d(n,r),d(n,i),d(n,a),d(n,s),o||(l=w(t,"click",/*click_handler*/e[54]),o=!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),o=!1,l()}}}
|
|
1428
|
-
// (
|
|
1429
|
-
function sa(e){let t;return{c(){t=f("casino-filter"),_(t,"clientstylingurl",/*clientstylingurl*/e[
|
|
1430
|
-
// (
|
|
1431
|
-
function oa(e){let t;return{c(){t=f("casino-sort"),_(t,"clientstylingurl",/*clientstylingurl*/e[
|
|
1432
|
-
// (
|
|
1428
|
+
// (656:22) {#if addfilterselector == "true"}
|
|
1429
|
+
function sa(e){let t;return{c(){t=f("casino-filter"),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"datasource",/*datasource*/e[4]),_(t,"lang",/*lang*/e[5]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"addfilterselector",/*addfilterselector*/e[1]),_(t,"addsortingselector",/*addsortingselector*/e[2]),_(t,"filterbylogo",/*filterbylogo*/e[17])},m(e,n){h(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*endpoint*/8&n[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*datasource*/16&n[0]&&_(t,"datasource",/*datasource*/e[4]),/*lang*/32&n[0]&&_(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*addfilterselector*/2&n[0]&&_(t,"addfilterselector",/*addfilterselector*/e[1]),/*addsortingselector*/4&n[0]&&_(t,"addsortingselector",/*addsortingselector*/e[2]),/*filterbylogo*/131072&n[0]&&_(t,"filterbylogo",/*filterbylogo*/e[17])},d(e){e&&m(t)}}}
|
|
1430
|
+
// (669:22) {#if addsortingselector == "true"}
|
|
1431
|
+
function oa(e){let t;return{c(){t=f("casino-sort"),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"lang",/*lang*/e[5]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"addsortingselector",/*addsortingselector*/e[2])},m(e,n){h(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*lang*/32&n[0]&&_(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*addsortingselector*/4&n[0]&&_(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=f("p"),n=y(r),x(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(Oi(e,r,t));return{c(){t=f("ul");for(let e=0;e<i.length;e+=1)i[e].c();x(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 s=Oi(e,r,n);i[n]?i[n].p(s,a):(i[n]=da(s),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")&&x(t,"class",n)},d(n){n&&m(t),p(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=f("div"),x(n,"class","lds-dual-ring"),x(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,s,o,l,c,u,d,p,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=f("casino-game-thumbnail"),_(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,s,o,l,c,u,d,p,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=f("casino-game-thumbnail"),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"class",n=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),_(t,"part",r=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),_(t,"favorites",/*favorites*/e[8]),_(t,"gamethumbnail",i=/*gameprops*/e[83].thumbnail),_(t,"gamename",a=/*gameprops*/e[83].name),_(t,"gamevendor",s=/*gameprops*/e[83].vendor.name),_(t,"gameisnew",o=/*gameprops*/e[83].isNew),_(t,"gametag",l=/*gameprops*/e[83].advancedTags?.length>0&&/*addGameTag*/e[41](/*gameprops*/e[83].advancedTags)),_(t,"gamecellsize",c=/*gameprops*/e[83].cellSize),_(t,"gameid",u=/*gameprops*/e[83].id),_(t,"gamefunmode",d=/*gameprops*/e[83].hasFunMode),_(t,"gamefavorite",p=/*gameprops*/e[83].isFavorite),_(t,"connectlive",g=/*intersectingIndexes*/1==e[36][/*gameprops*/e[83].id]?"connect":"disconnect"),_(t,"visibilityconnect",/*visibilityconnect*/e[37]),_(t,"currency",/*currency*/e[11]),_(t,"livelobbyendpoint",y=/*gameprops*/e[83].details?/*gameprops*/e[83].href:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[12]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[13]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[14]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[15]),_(t,"casinogamesgridslider",/*casinogamesgridslider*/e[18])},m(e,n){h(e,t,n),b()},p(h,m){e=h,/*session*/64&m[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&_(t,"lang",/*lang*/e[5]),/*shownCategoryData*/33554432&m[0]&&n!==(n=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1")))&&_(t,"class",n),/*shownCategoryData*/33554432&m[0]&&r!==(r=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1")))&&_(t,"part",r),/*favorites*/256&m[0]&&_(t,"favorites",/*favorites*/e[8]),/*shownCategoryData*/33554432&m[0]&&i!==(i=/*gameprops*/e[83].thumbnail)&&_(t,"gamethumbnail",i),/*shownCategoryData*/33554432&m[0]&&a!==(a=/*gameprops*/e[83].name)&&_(t,"gamename",a),/*shownCategoryData*/33554432&m[0]&&s!==(s=/*gameprops*/e[83].vendor.name)&&_(t,"gamevendor",s),/*shownCategoryData*/33554432&m[0]&&o!==(o=/*gameprops*/e[83].isNew)&&_(t,"gameisnew",o),/*shownCategoryData*/33554432&m[0]&&l!==(l=/*gameprops*/e[83].advancedTags?.length>0&&/*addGameTag*/e[41](/*gameprops*/e[83].advancedTags))&&_(t,"gametag",l),/*shownCategoryData*/33554432&m[0]&&c!==(c=/*gameprops*/e[83].cellSize)&&_(t,"gamecellsize",c),/*shownCategoryData*/33554432&m[0]&&u!==(u=/*gameprops*/e[83].id)&&_(t,"gameid",u),/*shownCategoryData*/33554432&m[0]&&d!==(d=/*gameprops*/e[83].hasFunMode)&&_(t,"gamefunmode",d),/*shownCategoryData*/33554432&m[0]&&p!==(p=/*gameprops*/e[83].isFavorite)&&_(t,"gamefavorite",p),/*shownCategoryData*/33554432&m[0]|/*intersectingIndexes*/32&m[1]&&g!==(g=/*intersectingIndexes*/1==e[36][/*gameprops*/e[83].id]?"connect":"disconnect")&&_(t,"connectlive",g),/*visibilityconnect*/64&m[1]&&_(t,"visibilityconnect",/*visibilityconnect*/e[37]),/*currency*/2048&m[0]&&_(t,"currency",/*currency*/e[11]),/*shownCategoryData*/33554432&m[0]&&y!==(y=/*gameprops*/e[83].details?/*gameprops*/e[83].href:"")&&_(t,"livelobbyendpoint",y),/*clientstyling*/512&m[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/4096&m[0]&&_(t,"livecasino",/*livecasino*/e[12]),/*gamepagemodalurl*/8192&m[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[13]),/*integratedgameframedesktop*/16384&m[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[14]),/*integratedgameframemobile*/32768&m[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[15]),/*casinogamesgridslider*/262144&m[0]&&_(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=f("h3"),n=y(r),x(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=f("h3"),n=y(r),x(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 pa(e){let t,n,r=/*$_*/e[39]("recentSearchedItems")+"";return{c(){t=f("h3"),n=y(r),x(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 fa(t){let n;return{c(){n=f("p"),n.textContent="Waiting",x(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=f("ul");for(let e=0;e<a.length;e+=1)a[e].c();x(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,i){r&&r.m(e,i),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,s){if(/*showItems*/e[31]?r&&(r.d(1),r=null):r?r.p(e,s):(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=f("ul");for(let e=0;e<a.length;e+=1)a[e].c();x(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,i){r&&r.m(e,i),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,s){if(/*showItems*/e[31]?r&&(r.d(1),r=null):r?r.p(e,s):(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&s[0]|/*addGameTag*/1024&s[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,s):(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),p(a,e)}}}
|
|
1453
|
+
// (600:10) {#if !showItems}
|
|
1454
1454
|
function ya(e){let t,n,r=/*$_*/e[39]("noRecentSearch")+"";return{c(){t=f("p"),n=y(r),x(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Pr(/*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,s,o,l,c,u,d,p,g;return{c(){t=f("casino-game-thumbnail"),_(t,"class",n=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),_(t,"part",r=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),_(t,"session",/*session*/e[
|
|
1457
|
-
// (
|
|
1455
|
+
// (604:12) {#each shownCategoryData as gameprops, index}
|
|
1456
|
+
function va(e){let t,n,r,i,a,s,o,l,c,u,d,p,g;return{c(){t=f("casino-game-thumbnail"),_(t,"class",n=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),_(t,"part",r=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1"))),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"searchitem",/*searchItem*/e[29]),_(t,"favorites",/*favorites*/e[8]),_(t,"gamethumbnail",i=/*gameprops*/e[83].thumbnail),_(t,"gamename",a=/*gameprops*/e[83].name),_(t,"gamevendor",s=/*gameprops*/e[83].vendor.name),_(t,"gameisnew",o=/*gameprops*/e[83].isNew),_(t,"gametag",l=/*gameprops*/e[83].advancedTags?.length>0&&/*addGameTag*/e[41](/*gameprops*/e[83].advancedTags)),_(t,"gamecellsize",c=/*gameprops*/e[83].cellSize),_(t,"gameid",u=/*gameprops*/e[83].id),_(t,"gamefunmode",d=/*gameprops*/e[83].hasFunMode),_(t,"gamefavorite",p=/*gameprops*/e[83].isFavorite),_(t,"currency",/*currency*/e[11]),_(t,"livelobbyendpoint",g=/*gameprops*/e[83].details?/*gameprops*/e[83].href:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[12]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[13]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[14]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[15])},m(e,n){h(e,t,n)},p(e,h){/*shownCategoryData*/33554432&h[0]&&n!==(n=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1")))&&_(t,"class",n),/*shownCategoryData*/33554432&h[0]&&r!==(r=""+(_a+(/*gameprops*/e[83].cellSize?/*gameprops*/e[83].cellSize:"1x1")))&&_(t,"part",r),/*session*/64&h[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&_(t,"lang",/*lang*/e[5]),/*searchItem*/536870912&h[0]&&_(t,"searchitem",/*searchItem*/e[29]),/*favorites*/256&h[0]&&_(t,"favorites",/*favorites*/e[8]),/*shownCategoryData*/33554432&h[0]&&i!==(i=/*gameprops*/e[83].thumbnail)&&_(t,"gamethumbnail",i),/*shownCategoryData*/33554432&h[0]&&a!==(a=/*gameprops*/e[83].name)&&_(t,"gamename",a),/*shownCategoryData*/33554432&h[0]&&s!==(s=/*gameprops*/e[83].vendor.name)&&_(t,"gamevendor",s),/*shownCategoryData*/33554432&h[0]&&o!==(o=/*gameprops*/e[83].isNew)&&_(t,"gameisnew",o),/*shownCategoryData*/33554432&h[0]&&l!==(l=/*gameprops*/e[83].advancedTags?.length>0&&/*addGameTag*/e[41](/*gameprops*/e[83].advancedTags))&&_(t,"gametag",l),/*shownCategoryData*/33554432&h[0]&&c!==(c=/*gameprops*/e[83].cellSize)&&_(t,"gamecellsize",c),/*shownCategoryData*/33554432&h[0]&&u!==(u=/*gameprops*/e[83].id)&&_(t,"gameid",u),/*shownCategoryData*/33554432&h[0]&&d!==(d=/*gameprops*/e[83].hasFunMode)&&_(t,"gamefunmode",d),/*shownCategoryData*/33554432&h[0]&&p!==(p=/*gameprops*/e[83].isFavorite)&&_(t,"gamefavorite",p),/*currency*/2048&h[0]&&_(t,"currency",/*currency*/e[11]),/*shownCategoryData*/33554432&h[0]&&g!==(g=/*gameprops*/e[83].details?/*gameprops*/e[83].href:"")&&_(t,"livelobbyendpoint",g),/*clientstyling*/512&h[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/4096&h[0]&&_(t,"livecasino",/*livecasino*/e[12]),/*gamepagemodalurl*/8192&h[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[13]),/*integratedgameframedesktop*/16384&h[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[14]),/*integratedgameframemobile*/32768&h[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[15])},d(e){e&&m(t)}}}
|
|
1457
|
+
// (576:4) {:else}
|
|
1458
1458
|
function ba(e){let t;return{c(){t=f("p"),t.textContent="500 Error - Internal Server Error.",x(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=f("p"),t.textContent="404 Error - No result found.",x(t,"class","SearchLoading")},m(e,n){h(e,t,n)},d(e){e&&m(t)}}}function xa(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=f("div"),a.c(),this.c=e,x(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>q&&fe(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="",s=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),o=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",Ir(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),s&&s[C])if(s[C].length&&!1===V&&!1===ae){let e="";n(30,ne=!0),s[C].forEach((t=>{e+=e?`,games(vendor(id=${t}))`:`games(vendor(id=${t}))`})),a.searchParams.append("filter",(s&&s[C].length<2?"$and":"$or")+`(${e})`)}else n(30,ne=!1);o&&(o[C]?o[C]&&"All"!=o[C]&&("isNew"==o[C]||"advancedTags(name(hot))"==o[C]?(a.searchParams.append("sortedField",`games(${o[C]})`),a.searchParams.append("orderBy","DES")):a.searchParams.append("sortedField",`games(${o[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,p=!0),n(22,W=!1),l=t.games.total,e(t)}),(e=>{n(22,W=!0),console.error(e),i(e)}))}))},pe=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":"MOSTPLAYED"==C&&(n(27,J=!1),n(23,V=!1),n(26,X=!1),n(25,K=e.data.mostPlayedGames),n(24,s={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,J=!1),n(23,V=!1),n(26,X=!1),n(25,K=e.data.lastPlayedGames),n(24,s={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,J=!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,J=!1),n(28,Q=!1);break;case"SearchData":n(27,J=!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,J=!1),n(23,V=!0),n(26,X=!0),n(29,te=!1),se=!1,e.data.receivedFavoriteResults&&(d=e.data.receivedFavoriteResults.items),me(e.data.categoryId,0,e.data.visiblegames).then((e=>{n(24,s=e),n(25,K=s.games.items),K&&K.forEach((e=>{e.isFavorite=ge(e.id)}))}));break;case"CategoryChange":q=20;break;case"ApplySorter":n(0,C=e.data.itemId),ue=e.data.sortBy,me(0,0,q).then((e=>{n(24,s=e),n(25,K=s.games.items),n(26,X=!1)}));break;case"CategoryUpdate":n(27,J=!1),n(23,V=!1),n(29,te=!1),se=!0,n(0,C=e.data.itemId),"MOSTPLAYED"!==C&&n(26,X=!1),"true"!==A&&me(0,0,q).then((t=>{n(24,s=t),s.games.items.forEach((e=>{e.isFavorite=ge(e.id)})),n(25,K=s.games.items),n(26,X=!1),
|
|
1474
|
+
window.postMessage({type:"CategoryVendors",categoryid:C},window.location.href),s&&s[C])if(s[C].length&&!1===V&&!1===ae){let e="";n(30,ne=!0),s[C].forEach((t=>{e+=e?`,games(vendor(id=${t}))`:`games(vendor(id=${t}))`})),a.searchParams.append("filter",(s&&s[C].length<2?"$and":"$or")+`(${e})`)}else n(30,ne=!1);o&&(o[C]?o[C]&&"All"!=o[C]&&("isNew"==o[C]||"advancedTags(name(hot))"==o[C]?(a.searchParams.append("sortedField",`games(${o[C]})`),a.searchParams.append("orderBy","DES")):a.searchParams.append("sortedField",`games(${o[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,p=!0),n(22,W=!1),l=t.games.total,e(t)}),(e=>{n(22,W=!0),console.error(e),i(e)}))}))},pe=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":"MOSTPLAYED"==C&&(n(27,J=!1),n(23,V=!1),n(26,X=!1),n(25,K=e.data.mostPlayedGames),n(24,s={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,J=!1),n(23,V=!1),n(26,X=!1),n(25,K=e.data.lastPlayedGames),n(24,s={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,J=!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,J=!1),n(28,Q=!1);break;case"SearchData":n(27,J=!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,J=!1),n(23,V=!0),n(1,D="false"),n(2,O="false"),n(26,X=!0),n(29,te=!1),se=!1,e.data.receivedFavoriteResults&&(d=e.data.receivedFavoriteResults.items),me(e.data.categoryId,0,e.data.visiblegames).then((e=>{n(24,s=e),n(25,K=s.games.items),K&&K.forEach((e=>{e.isFavorite=ge(e.id)}))}));break;case"CategoryChange":q=20;break;case"ApplySorter":n(0,C=e.data.itemId),ue=e.data.sortBy,me(0,0,q).then((e=>{n(24,s=e),n(25,K=s.games.items),n(26,X=!1)}));break;case"CategoryUpdate":n(27,J=!1),n(23,V=!1),n(29,te=!1),se=!0,n(0,C=e.data.itemId),"MOSTPLAYED"!==C&&n(26,X=!1),"true"!==A&&me(0,0,q).then((t=>{n(24,s=t),s.games.items.forEach((e=>{e.isFavorite=ge(e.id)})),n(25,K=s.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),s&&(n(25,K=s.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,12 +1486,12 @@ return Pr(n)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad"
|
|
|
1486
1486
|
*/
|
|
1487
1487
|
s.games.items.length>K.length&&(n(25,K=s.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
|
-
G((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?n(37,ce="disconnect"):n(37,ce="connect")})),window.addEventListener("message",pe,!1),"FAVORITES"===C&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",pe),window.removeEventListener("visibilitychange",pe)})));return e.$$set=e=>{"categoryindex"in e&&n(43,f=e.categoryindex),"endpoint"in e&&n(
|
|
1489
|
+
G((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?n(37,ce="disconnect"):n(37,ce="connect")})),window.addEventListener("message",pe,!1),"FAVORITES"===C&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",pe),window.removeEventListener("visibilitychange",pe)})));return e.$$set=e=>{"categoryindex"in e&&n(43,f=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,x=e.favorites),"clientstyling"in e&&n(9,_=e.clientstyling),"clientstylingurl"in e&&n(10,S=e.clientstylingurl),"translationurl"in e&&n(44,$=e.translationurl),"currency"in e&&n(11,F=e.currency),"categoryid"in e&&n(0,C=e.categoryid),"categorygames"in e&&n(45,E=e.categorygames),"livecasino"in e&&n(12,M=e.livecasino),"visiblegames"in e&&n(46,L=e.visiblegames),"gamepagemodalurl"in e&&n(13,T=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(14,P=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(15,I=e.integratedgameframemobile),"casinomygames"in e&&n(16,A=e.casinomygames),"addfilterselector"in e&&n(1,D=e.addfilterselector),"addsortingselector"in e&&n(2,O=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]&&p&&oe&&se&&oe.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"===A&&n(35,ae=!1)}})(),/*translationurl*/8192&e.$$.dirty[1]&&$&&fetch($).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Or(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"===A&&n(35,ae=!1)}})(),/*translationurl*/8192&e.$$.dirty[1]&&$&&fetch($).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Or(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/524800&e.$$.dirty[0]&&_&&h&&(()=>{let e=document.createElement("style");e.innerHTML=_,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,D,O,g,y,v,b,w,x,_,S,F,M,T,P,I,A,N,R,h,oe,j,W,V,s,K,X,J,Q,te,ne,re,ie,o,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,s)=>{const o=new Date(a.schedules[0].startTime),l=new Date(a.schedules[0].endTime);Rr(l).diff(i)<r&&(r=Rr(l).diff(i),t=s),Rr(i).isAfter(o)&&Rr(i).isBefore(l)&&(n=e[t].name)})),n},ye,f,$,E,L,H,B,U,Y,z,p,function(e){k[e?"unshift":"push"]((()=>{c=e,n(34,c)}))},e=>ye(s.id),function(e,t){k[e?"unshift":"push"]((()=>{oe[t]=e,n(20,oe)}))},function(e){k[e?"unshift":"push"]((()=>{o=e,n(33,o)}))},function(e){k[e?"unshift":"push"]((()=>{c=e,n(34,c)}))},function(e){k[e?"unshift":"push"]((()=>{o=e,n(33,o)}))},function(e){k[e?"unshift":"push"]((()=>{h=e,n(19,h)}))}]}
|
|
1495
1495
|
/* ../casino-favorites-section/src/CasinoFavoritesSection.svelte generated by Svelte v3.59.2 */
|
|
1496
1496
|
function $a(t){let n,r,a,s,o;return{c(){n=f("div"),r=f("casino-games-category-section"),this.c=e,_(r,"session",/*session*/t[0]),_(r,"userid",/*userid*/t[1]),_(r,"endpoint",/*endpoint*/t[2]),_(r,"datasource",/*datasource*/t[3]),_(r,"lang",/*lang*/t[5]),_(r,"currency",/*currency*/t[4]),_(r,"favorites",/*favorites*/t[13]),_(r,"categoryid","FAVORITES"),_(r,"class","CategoryContainer"),_(r,"clientstyling",/*clientstyling*/t[6]),_(r,"clientstylingurl",/*clientstylingurl*/t[7]),_(r,"livecasino",/*livecasino*/t[8]),_(r,"visiblegames",/*visiblegames*/t[12]),_(r,"gamepagemodalurl",/*gamepagemodalurl*/t[11]),_(r,"integratedgameframedesktop",/*integratedgameframedesktop*/t[10]),_(r,"integratedgameframemobile",/*integratedgameframemobile*/t[9]),_(r,"casinomygames",/*casinomygames*/t[14]),x(n,"class","CasinoFavoritesSectionContainer")},m(l,c){var u;h(l,n,c),d(n,r),
|
|
1497
1497
|
/*div_binding*/t[18](n),s||(u=a=/*getFavoredGames*/t[16].call(null,r,(/*endpoint*/t[2],/*userid*/t[1],/*session*/t[0],/*userid*/t[1])),o=u&&i(u.destroy)?u.destroy:e,s=!0)},p(e,[t]){/*session*/1&t&&_(r,"session",/*session*/e[0]),/*userid*/2&t&&_(r,"userid",/*userid*/e[1]),/*endpoint*/4&t&&_(r,"endpoint",/*endpoint*/e[2]),/*datasource*/8&t&&_(r,"datasource",/*datasource*/e[3]),/*lang*/32&t&&_(r,"lang",/*lang*/e[5]),/*currency*/16&t&&_(r,"currency",/*currency*/e[4]),/*favorites*/8192&t&&_(r,"favorites",/*favorites*/e[13]),/*clientstyling*/64&t&&_(r,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&t&&_(r,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&t&&_(r,"livecasino",/*livecasino*/e[8]),/*visiblegames*/4096&t&&_(r,"visiblegames",/*visiblegames*/e[12]),/*gamepagemodalurl*/2048&t&&_(r,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/1024&t&&_(r,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&t&&_(r,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/16384&t&&_(r,"casinomygames",/*casinomygames*/e[14]),a&&i(a.update)&&/*endpoint, userid, session*/7&t&&a.update.call(null,(/*endpoint*/e[2],/*userid*/e[1],/*session*/e[0],/*userid*/e[1]))},i:e,o:e,d(e){e&&m(n)
|
|
@@ -1501,7 +1501,7 @@ function $a(t){let n,r,a,s,o;return{c(){n=f("div"),r=f("casino-games-category-se
|
|
|
1501
1501
|
// When adding new favored games, the api requires an array with all the current favored games due to the fact that it overwrites the old ones with the ones found in the body of the POST request
|
|
1502
1502
|
x.includes(r)||x.push(r);let a={items:x},s={method:"POST",headers:{"X-SessionID":t,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)};fetch(e,s).then((e=>e.json())).then((()=>{window.postMessage({type:`AddFavoriteThumbnail_${r}`},window.location.href),C(e,t)})).catch((e=>{console.error("Err",e)}))};const F=(e,t,n,r,i)=>{x.includes(r)&&(x=x.filter((e=>e!=r))),fetch(`${e}/${r}`,{method:"DELETE",headers:{"X-SessionID":t}}).then((e=>e.json())).then((()=>{window.postMessage({type:`RemoveFavoriteThumbnail_${r}`},window.location.href),C(e,t)}))};let C=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then((e=>e.json())).then((e=>(i=e,E(),i&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i,favStadalone:!0},window.location.href),i))).catch((e=>{console.error(e)}))};const E=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:i},window.location.href)},M=(e=[])=>(
|
|
1503
1503
|
// construct favorite array used to check if game id is not already present in fav list
|
|
1504
|
-
x=[],e.length>0&&e.forEach((e=>{x.push(e.id)})),x);return G((()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)}))),e.$$set=e=>{"endpoint"in e&&n(2,a=e.endpoint),"datasource"in e&&n(3,s=e.datasource),"currency"in e&&n(4,o=e.currency),"lang"in e&&n(5,l=e.lang),"session"in e&&n(0,c=e.session),"userid"in e&&n(1,u=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,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,f=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),"categoryid"in e&&n(17,b=e.categoryid),"casinomygames"in e&&n(14,w=e.casinomygames)},e.$$.update=()=>{/*endpoint, userid, session, lang, favorites*/8231&e.$$.dirty&&a&&u&&c&&l&&v&&"true"==v&&S(a,c,u),/*clientstyling, customStylingContainer*/32832&e.$$.dirty&&d&&r&&(()=>{let e=document.createElement("style");e.innerHTML=d,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/32896&e.$$.dirty&&h&&r&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{r.appendChild(e)}),1)}))})()},[c,u,a,s,o,l,d,h,m,p,f,g,y,v,w,r,S,b,function(e){k[e?"unshift":"push"]((()=>{r=e,n(15,r)}))}]}!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:F(this.attributes),customElement:!0},Sa,xa,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()}});function Ca(e,t){zn(e,t)}!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{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:F(this.attributes),customElement:!0},Fa,$a,a,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,categoryid:17,casinomygames:14},null),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","categoryid","casinomygames"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),R()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),R()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),R()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[1]}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 categoryid(){return this.$$.ctx[17]}set categoryid(e){this.$$set({categoryid:e}),R()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),R()}});const Ga={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"još niste igrali ali ovdje ćete moći pronaći listu vaših igara"}};
|
|
1504
|
+
x=[],e.length>0&&e.forEach((e=>{x.push(e.id)})),x);return G((()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)}))),e.$$set=e=>{"endpoint"in e&&n(2,a=e.endpoint),"datasource"in e&&n(3,s=e.datasource),"currency"in e&&n(4,o=e.currency),"lang"in e&&n(5,l=e.lang),"session"in e&&n(0,c=e.session),"userid"in e&&n(1,u=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,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,f=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),"categoryid"in e&&n(17,b=e.categoryid),"casinomygames"in e&&n(14,w=e.casinomygames)},e.$$.update=()=>{/*endpoint, userid, session, lang, favorites*/8231&e.$$.dirty&&a&&u&&c&&l&&v&&"true"==v&&S(a,c,u),/*clientstyling, customStylingContainer*/32832&e.$$.dirty&&d&&r&&(()=>{let e=document.createElement("style");e.innerHTML=d,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/32896&e.$$.dirty&&h&&r&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{r.appendChild(e)}),1)}))})()},[c,u,a,s,o,l,d,h,m,p,f,g,y,v,w,r,S,b,function(e){k[e?"unshift":"push"]((()=>{r=e,n(15,r)}))}]}!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:F(this.attributes),customElement:!0},Sa,xa,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()}});function Ca(e,t){zn(e,t)}!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{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:F(this.attributes),customElement:!0},Fa,$a,a,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,categoryid:17,casinomygames:14},null),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","categoryid","casinomygames"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),R()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),R()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),R()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),R()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[1]}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 categoryid(){return this.$$.ctx[17]}set categoryid(e){this.$$set({categoryid:e}),R()}get casinomygames(){return this.$$.ctx[14]}set casinomygames(e){this.$$set({casinomygames:e}),R()}});const Ga={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"još niste igrali ali ovdje ćete moći pronaći listu vaših igara"}};
|
|
1505
1505
|
/* ../casino-last-played-section/src/CasinoLastPlayedSection.svelte generated by Svelte v3.59.2 */function Ea(e){let t;return{c(){t=f("casino-games-category-section"),_(t,"session",/*session*/e[4]),_(t,"userid",/*userid*/e[5]),_(t,"endpoint",/*endpoint*/e[0]),_(t,"datasource",/*datasource*/e[1]),_(t,"lang",/*lang*/e[3]),_(t,"currency",/*currency*/e[2]),_(t,"favorites",/*favorites*/e[13]),_(t,"categoryid","LASTPLAYED"),_(t,"categoryindex","1"),_(t,"categorygames","9"),_(t,"class","CategoryContainer"),_(t,"clientstyling",/*clientstyling*/e[6]),_(t,"clientstylingurl",/*clientstylingurl*/e[7]),_(t,"livecasino",/*livecasino*/e[8]),_(t,"visiblegames",/*visiblegames*/e[12]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),_(t,"casinomygames",/*casinomygames*/e[14])},m(e,n){h(e,t,n)},p(e,n){/*session*/16&n[0]&&_(t,"session",/*session*/e[4]),/*userid*/32&n[0]&&_(t,"userid",/*userid*/e[5]),/*endpoint*/1&n[0]&&_(t,"endpoint",/*endpoint*/e[0]),/*datasource*/2&n[0]&&_(t,"datasource",/*datasource*/e[1]),/*lang*/8&n[0]&&_(t,"lang",/*lang*/e[3]),/*currency*/4&n[0]&&_(t,"currency",/*currency*/e[2]),/*favorites*/8192&n[0]&&_(t,"favorites",/*favorites*/e[13]),/*clientstyling*/64&n[0]&&_(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&_(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/4096&n[0]&&_(t,"visiblegames",/*visiblegames*/e[12]),/*gamepagemodalurl*/2048&n[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/1024&n[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&n[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/16384&n[0]&&_(t,"casinomygames",/*casinomygames*/e[14])},d(e){e&&m(t)}}}
|
|
1506
1506
|
// (138:4) {#if lastPlayedEmpty}
|
|
1507
1507
|
function ka(e){let t,n,r=/*$_*/e[17]("noRecentGames")+"";return{c(){t=f("p"),n=y(r),x(t,"class","SearchLoading")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/131072&t[0]&&r!==(r=/*$_*/e[17]("noRecentGames")+"")&&S(n,r)},d(e){e&&m(t)}}}function Ma(t){let n,r;function i(e,t){/*lastPlayedEmpty*/
|