@everymatrix/casino-my-games 1.40.0 → 1.41.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 +40 -40
- package/dist/casino-my-games.js.map +1 -1
- package/package.json +2 -2
package/dist/casino-my-games.js
CHANGED
|
@@ -1324,96 +1324,96 @@ return e[14](/*sort*/e[23])}return{c(){t=g("li"),n=g("label"),r=g("input"),i=b()
|
|
|
1324
1324
|
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Ma).forEach((e=>{Ga(e,Ma[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,u=!u)},y=()=>{n(1,u=!u),window.postMessage({type:"SortingOpened"},window.location.href)},v=e=>{"FilterOpened"==e.data.type&&n(1,u=!1)};G((()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)})));return e.$$set=e=>{"lang"in e&&n(8,i=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,u=!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&&a&&(()=>{let e=document.createElement("style");e.innerHTML=o,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2049&e.$$.dirty&&l&&a&&(()=>{let e=document.createElement("style");fetch(new URL(l)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{a.appendChild(e)}),1)}))})(),/*translationurl*/512&e.$$.dirty&&s&&fetch(s).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ga(t,e[t])}))})).catch((e=>{console.log(e)}))},[a,u,h,p,r,f,g,y,i,s,o,l,c,()=>y(),e=>g(e),function(e){T[e?"unshift":"push"]((()=>{a=e,n(0,a)}))}]}
|
|
1325
1325
|
/* ../casino-games-category-section/src/CasinoGamesCategorySection.svelte generated by Svelte v3.59.2 */
|
|
1326
1326
|
function Oa(e,t,n){const r=e.slice();return r[91]=t[n],r[93]=n,r}function Da(e,t,n){const r=e.slice();return r[91]=t[n],r[94]=t,r[93]=n,r}function Na(e,t,n){const r=e.slice();return r[91]=t[n],r[93]=n,r}
|
|
1327
|
-
// (
|
|
1327
|
+
// (757:4) {:else}
|
|
1328
1328
|
function Ra(e){let t;function n(e,t){/*categoryData*/
|
|
1329
1329
|
return e[26]?Ya:/*showFavGamesCategory*/e[37]?Ua:void 0}let r=n(e),a=r&&r(e);return{c(){t=g("div"),a&&a.c()},m(e,n){m(e,t,n),a&&a.m(t,null)},p(e,i){r===(r=n(e))&&a?a.p(e,i):(a&&a.d(1),a=r&&r(e),a&&(a.c(),a.m(t,null)))},d(e){e&&p(t),a&&a.d()}}}
|
|
1330
|
-
// (
|
|
1330
|
+
// (694:4) {#if searched}
|
|
1331
1331
|
function Ha(e){let t,n,r;function a(e,t){/*recentSearched*/
|
|
1332
1332
|
return e[30]?pi:/*shownCategoryData*/e[27].length?hi:mi}let i=a(e),s=i(e);function o(e,t){/*shownCategoryData*/
|
|
1333
1333
|
return e[27]?gi:fi}let l=o(e),c=l(e);return{c(){t=g("div"),n=g("div"),s.c(),r=b(),c.c(),_(n,"class","CasinoGamesHeader Searched "+(Ar(/*userAgent*/e[42])?"CasinoGamesHeaderMobile":"")),_(t,"class","CasinoGamesContainer")},m(e,a){m(e,t,a),h(t,n),s.m(n,null),h(t,r),c.m(t,null)},p(e,r){i===(i=a(e))&&s?s.p(e,r):(s.d(1),s=i(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&&p(t),s.d(),c.d()}}}
|
|
1334
|
-
// (
|
|
1334
|
+
// (686:2) {#if hasErrors}
|
|
1335
1335
|
function Ba(e){let t;function n(e,t){/*presentFilters*/
|
|
1336
1336
|
return e[32]?wi:bi}let r=n(e),a=r(e);return{c(){a.c(),t=w()},m(e,n){a.m(e,n),m(e,t,n)},p(e,i){r!==(r=n(e))&&(a.d(1),a=r(e),a&&(a.c(),a.m(t.parentNode,t)))},d(e){a.d(e),e&&p(t)}}}
|
|
1337
|
-
// (
|
|
1337
|
+
// (850:39)
|
|
1338
1338
|
function Ua(e){let t,n,r,a,i=/*casinomygames*/"true"!==e[18]&&ja(e);function s(e,t){/*isLoading*/
|
|
1339
1339
|
return e[23]&&!/*isLazyLoading*/e[34]?Va:/*favoriteGamesData*/e[40]?Wa:za}let o=s(e),l=o(e);return{c(){t=g("div"),i&&i.c(),n=b(),r=g("ul"),l.c(),_(r,"class",a=/*favoriteGamesData*/(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),_(t,"class","CasinoGamesContainer")},m(a,s){m(a,t,s),i&&i.m(t,null),h(t,n),h(t,r),l.m(r,null),
|
|
1340
1340
|
/*ul_binding_1*/e[56](r)},p(e,c){/*casinomygames*/"true"!==e[18]?i?i.p(e,c):(i=ja(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),o===(o=s(e))&&l?l.p(e,c):(l.d(1),l=o(e),l&&(l.c(),l.m(r,null))),/*favoriteGamesData*/512&c[1]&&a!==(a=/*favoriteGamesData*/(0!=e[40].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&_(r,"class",a)},d(n){n&&p(t),i&&i.d(),l.d(),
|
|
1341
1341
|
/*ul_binding_1*/e[56](null)}}}
|
|
1342
|
-
// (
|
|
1342
|
+
// (759:8) {#if categoryData}
|
|
1343
1343
|
function Ya(e){let t,n,r=/*casinomygames*/"true"!==e[18]&&ri(e);function a(e,t){/*isLoading*/
|
|
1344
1344
|
return e[23]&&!/*isLazyLoading*/e[34]?ui:/*shownCategoryData*/0!==e[27].length?ci:li}let i=a(e),s=i(e);return{c(){t=g("div"),r&&r.c(),n=b(),s.c(),_(t,"class","CasinoGamesContainer")},m(e,a){m(e,t,a),r&&r.m(t,null),h(t,n),s.m(t,null)},p(e,o){/*casinomygames*/"true"!==e[18]?r?r.p(e,o):(r=ri(e),r.c(),r.m(t,n)):r&&(r.d(1),r=null),i===(i=a(e))&&s?s.p(e,o):(s.d(1),s=i(e),s&&(s.c(),s.m(t,null)))},d(e){e&&p(t),r&&r.d(),s.d()}}}
|
|
1345
|
-
// (
|
|
1345
|
+
// (852:14) {#if casinomygames !== 'true'}
|
|
1346
1346
|
function ja(e){let t,n,r,a,i,s,o,l,c=/*$_*/e[41]("favorites")+"",u=/*favoriteGamesData*/e[40].items.length+"";return{c(){t=g("div"),n=g("h3"),r=v(c),a=b(),i=g("span"),s=v("("),o=v(u),l=v(")"),_(i,"class","CategoryFavName"),_(n,"class","CategoryName"),_(t,"class","CasinoGamesHeader")},m(c,u){m(c,t,u),h(t,n),h(n,r),h(n,a),h(n,i),h(i,s),h(i,o),h(i,l),
|
|
1347
1347
|
/*h3_binding_1*/e[55](n)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("favorites")+"")&&S(r,c),/*favoriteGamesData*/512&t[1]&&u!==(u=/*favoriteGamesData*/e[40].items.length+"")&&S(o,u)},d(n){n&&p(t)
|
|
1348
1348
|
/*h3_binding_1*/,e[55](null)}}}
|
|
1349
|
-
// (
|
|
1349
|
+
// (963:18) {:else}
|
|
1350
1350
|
function za(e){let t,n,r=/*$_*/e[41]("waiting")+"";return{c(){t=g("p"),n=v(r)},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("waiting")+"")&&S(n,r)},d(e){e&&p(t)}}}
|
|
1351
|
-
// (
|
|
1351
|
+
// (865:18) {#if favoriteGamesData}
|
|
1352
1352
|
function Wa(e){let t,n=/*favoriteGamesData*/e[40].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=ni(Oa(e,n,t));let a=null;return n.length||(a=Za(e)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=w(),a&&a.c()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);m(e,t,n),a&&a.m(e,n)},p(e,i){if(/*session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/262121&i[0]|/*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/8128&i[1]){let s;for(n=/*favoriteGamesData*/e[40].items,s=0;s<n.length;s+=1){const a=Oa(e,n,s);r[s]?r[s].p(a,i):(r[s]=ni(a),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&&a?a.p(e,i):n.length?a&&(a.d(1),a=null):(a=Za(e),a.c(),a.m(t.parentNode,t))}},d(e){f(r,e),e&&p(t),a&&a.d(e)}}}
|
|
1353
|
-
// (
|
|
1353
|
+
// (862:16) {#if isLoading && !isLazyLoading}
|
|
1354
1354
|
function Va(e){let n;return{c(){n=g("div"),_(n,"class","lds-dual-ring")},m(e,t){m(e,n,t)},p:t,d(e){e&&p(n)}}}
|
|
1355
|
-
// (
|
|
1355
|
+
// (944:20) {:else}
|
|
1356
1356
|
function Za(e){let t,n,r,a,i,s,o,l,c,u,d,f,w,x,$=/*$_*/e[41]("noFavoritesTitle")+"";let k=function(e){return Ar(/*userAgent*/e[42])?qa:Ka}(e),F=k(e);return{c(){t=g("p"),n=y("svg"),r=y("rect"),a=y("rect"),i=y("circle"),s=y("path"),o=y("path"),l=y("path"),c=y("path"),u=b(),d=g("span"),f=v($),w=b(),F.c(),x=b(),_(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"),_(a,"x","106.737"),_(a,"y","56.737"),_(a,"width","90.263"),_(a,"height","90.263"),_(a,"rx","12"),_(a,"stroke","var(--emfe-w-color-gray-150, #828282)"),_(a,"stroke-width","1.5"),_(i,"cx","70.5"),_(i,"cy","32.237"),_(i,"r","31.487"),_(i,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),_(i,"stroke-width","1.5"),_(i,"stroke-dasharray","5 0"),_(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"),_(s,"fill","var(--emfe-w-color-gray-150, #828282)"),_(o,"d","M78 43h11v13H78V43z"),_(o,"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"),_(d,"class","NoFavoriteText NoFavoriteTextHighlight"),_(t,"class","NoFavoriteGames "+(Ar(/*userAgent*/e[42])?"NoFavoriteGamesMobile":""))},m(e,p){m(e,t,p),h(t,n),h(n,r),h(n,a),h(n,i),h(n,s),h(n,o),h(n,l),h(n,c),h(t,u),h(t,d),h(d,f),h(t,w),F.m(t,null),h(t,x)},p(e,t){/*$_*/1024&t[1]&&$!==($=/*$_*/e[41]("noFavoritesTitle")+"")&&S(f,$),F.p(e,t)},d(e){e&&p(t),F.d()}}}
|
|
1357
|
-
// (
|
|
1357
|
+
// (958:24) {:else}
|
|
1358
1358
|
function Ka(e){let t,n,r=/*$_*/e[41]("noFavorites")+"";return{c(){t=g("span"),n=v(r),_(t,"class","NoFavoriteText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavorites")+"")&&S(n,r)},d(e){e&&p(t)}}}
|
|
1359
|
-
// (
|
|
1359
|
+
// (956:24) {#if isMobile(userAgent)}
|
|
1360
1360
|
function qa(e){let t,n,r=/*$_*/e[41]("noFavoritesMobile")+"";return{c(){t=g("span"),n=v(r),_(t,"class","NoFavoriteText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavoritesMobile")+"")&&S(n,r)},d(e){e&&p(t)}}}
|
|
1361
|
-
// (
|
|
1361
|
+
// (867:22) {#if gameprops.gameModel}
|
|
1362
1362
|
function Xa(e){let t,n=/*gameprops*/e[91].gameModel.isFavorite&&Ja(e);return{c(){n&&n.c(),t=w()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,r){/*gameprops*/e[91].gameModel.isFavorite?n?n.p(e,r):(n=Ja(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&p(t)}}}
|
|
1363
|
-
// (
|
|
1363
|
+
// (868:24) {#if gameprops.gameModel.isFavorite}
|
|
1364
1364
|
function Ja(e){let t,n=
|
|
1365
|
-
// (
|
|
1365
|
+
// (869:26) {#if intersecting || nativeLoading}
|
|
1366
1366
|
function(e){let t,n,r;function a(e,r){/*favoriteGamesData*/
|
|
1367
1367
|
return 512&r[1]&&(n=null),null==t&&(t=!!Ar(/*userAgent*/e[42])),t?ei:(null==n&&(n=!!/*gameprops*/e[91].gameModel.platform.includes("PC")),n?Qa:void 0)}let i=a(e,[-1,-1,-1,-1]),s=i&&i(e);return{c(){s&&s.c(),r=w()},m(e,t){s&&s.m(e,t),m(e,r,t)},p(e,t){i===(i=a(e,t))&&s?s.p(e,t):(s&&s.d(1),s=i&&i(e),s&&(s.c(),s.m(r.parentNode,r)))},d(e){s&&s.d(e),e&&p(r)}}}
|
|
1368
|
-
// (
|
|
1368
|
+
// (906:82)
|
|
1369
1369
|
(e);return{c(){n&&n.c(),t=w()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&p(t)}}}function Qa(e){let t,n,r,a,i,s,o,l,c,u,d,h,f,y,v;return{c(){t=g("casino-game-thumbnail"),$(t,"class",n=""+(_i+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),$(t,"part",r=""+(_i+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),$(t,"session",/*session*/e[6]),$(t,"userid",/*userid*/e[7]),$(t,"lang",/*lang*/e[5]),$(t,"translationurl",/*translationurl*/e[11]),$(t,"favorites",/*favorites*/e[8]),$(t,"categoryid",/*categoryid*/e[0]),$(t,"gamethumbnail",a=/*gameprops*/e[91].gameModel.thumbnail),$(t,"gamename",i=/*gameprops*/e[91].gameModel.name),$(t,"gamevendor",s=/*gameprops*/e[91].gameModel.vendor.name),$(t,"gamelaunchurl",o=/*gameprops*/e[91].launchUrl),$(t,"gameisnew",l=/*gameprops*/e[91].gameModel.isNew),$(t,"gametag",c=/*gameprops*/e[91].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].gameModel.advancedTags)),$(t,"gamecellsize",u=/*gameprops*/e[91].cellSize),$(t,"gameid",d=/*gameprops*/e[91].gameModel.id),$(t,"gamefunmode",h=/*gameprops*/e[91].gameModel.hasFunMode),$(t,"showgamename",/*showgamename*/e[13]),$(t,"gamefavorite",f=/*gameprops*/e[91].gameModel.isFavorite),$(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),$(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect"),$(t,"visibilityconnect",/*visibilityconnect*/e[39]),$(t,"currency",/*currency*/e[12]),$(t,"livelobbyendpoint",v=/*gameprops*/e[91].gameModel.details?/*gameprops*/e[91].gameModel.launchUrl:""),$(t,"clientstyling",/*clientstyling*/e[9]),$(t,"clientstylingurl",/*clientstylingurl*/e[10]),$(t,"endpoint",/*endpoint*/e[3]),$(t,"livecasino",/*livecasino*/e[14]),$(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),$(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),$(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){m(e,t,n)},p(e,m){/*favoriteGamesData*/512&m[1]&&n!==(n=""+(_i+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&$(t,"class",n),/*favoriteGamesData*/512&m[1]&&r!==(r=""+(_i+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&$(t,"part",r),/*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]),/*translationurl*/2048&m[0]&&$(t,"translationurl",/*translationurl*/e[11]),/*favorites*/256&m[0]&&$(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&$(t,"categoryid",/*categoryid*/e[0]),/*favoriteGamesData*/512&m[1]&&a!==(a=/*gameprops*/e[91].gameModel.thumbnail)&&$(t,"gamethumbnail",a),/*favoriteGamesData*/512&m[1]&&i!==(i=/*gameprops*/e[91].gameModel.name)&&$(t,"gamename",i),/*favoriteGamesData*/512&m[1]&&s!==(s=/*gameprops*/e[91].gameModel.vendor.name)&&$(t,"gamevendor",s),/*favoriteGamesData*/512&m[1]&&o!==(o=/*gameprops*/e[91].launchUrl)&&$(t,"gamelaunchurl",o),/*favoriteGamesData*/512&m[1]&&l!==(l=/*gameprops*/e[91].gameModel.isNew)&&$(t,"gameisnew",l),/*favoriteGamesData*/512&m[1]&&c!==(c=/*gameprops*/e[91].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].gameModel.advancedTags))&&$(t,"gametag",c),/*favoriteGamesData*/512&m[1]&&u!==(u=/*gameprops*/e[91].cellSize)&&$(t,"gamecellsize",u),/*favoriteGamesData*/512&m[1]&&d!==(d=/*gameprops*/e[91].gameModel.id)&&$(t,"gameid",d),/*favoriteGamesData*/512&m[1]&&h!==(h=/*gameprops*/e[91].gameModel.hasFunMode)&&$(t,"gamefunmode",h),/*showgamename*/8192&m[0]&&$(t,"showgamename",/*showgamename*/e[13]),/*favoriteGamesData*/512&m[1]&&f!==(f=/*gameprops*/e[91].gameModel.isFavorite)&&$(t,"gamefavorite",f),/*showFavGamesCategory*/64&m[1]&&$(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),/*intersectingIndexes, favoriteGamesData*/640&m[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect")&&$(t,"connectlive",y),/*visibilityconnect*/256&m[1]&&$(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&m[0]&&$(t,"currency",/*currency*/e[12]),/*favoriteGamesData*/512&m[1]&&v!==(v=/*gameprops*/e[91].gameModel.details?/*gameprops*/e[91].gameModel.launchUrl:"")&&$(t,"livelobbyendpoint",v),/*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*/16384&m[0]&&$(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&$(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&$(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&$(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&p(t)}}}
|
|
1370
|
-
// (
|
|
1370
|
+
// (870:28) {#if isMobile(userAgent)}
|
|
1371
1371
|
function ei(e){let t,n=/*gameprops*/e[91].gameModel.platform.includes("iPad")||/*gameprops*/e[91].gameModel.platform.includes("iPhone")||/*gameprops*/e[91].gameModel.platform.includes("Android"),r=n&&ti(e);return{c(){r&&r.c(),t=w()},m(e,n){r&&r.m(e,n),m(e,t,n)},p(e,a){/*favoriteGamesData*/512&a[1]&&(n=/*gameprops*/e[91].gameModel.platform.includes("iPad")||/*gameprops*/e[91].gameModel.platform.includes("iPhone")||/*gameprops*/e[91].gameModel.platform.includes("Android")),n?r?r.p(e,a):(r=ti(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&p(t)}}}
|
|
1372
|
-
// (
|
|
1372
|
+
// (871:30) {#if (gameprops.gameModel.platform.includes("iPad") || gameprops.gameModel.platform.includes("iPhone") || gameprops.gameModel.platform.includes("Android"))}
|
|
1373
1373
|
function ti(e){let t,n,r,a,i,s,o,l,c,u,d,h,f,y,v;return{c(){t=g("casino-game-thumbnail"),$(t,"class",n=""+(_i+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),$(t,"part",r=""+(_i+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),$(t,"session",/*session*/e[6]),$(t,"userid",/*userid*/e[7]),$(t,"lang",/*lang*/e[5]),$(t,"favorites",/*favorites*/e[8]),$(t,"categoryid",/*categoryid*/e[0]),$(t,"gamethumbnail",a=/*gameprops*/e[91].gameModel.thumbnail),$(t,"gamename",i=/*gameprops*/e[91].gameModel.name),$(t,"gamevendor",s=/*gameprops*/e[91].gameModel.vendor.name),$(t,"gamelaunchurl",o=/*gameprops*/e[91].launchUrl),$(t,"gameisnew",l=/*gameprops*/e[91].gameModel.isNew),$(t,"gametag",c=/*gameprops*/e[91].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].gameModel.advancedTags)),$(t,"gamecellsize",u=/*gameprops*/e[91].cellSize),$(t,"gameid",d=/*gameprops*/e[91].gameModel.id),$(t,"gamefunmode",h=/*gameprops*/e[91].gameModel.hasFunMode),$(t,"showgamename",/*showgamename*/e[13]),$(t,"gamefavorite",f=/*gameprops*/e[91].gameModel.isFavorite),$(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),$(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect"),$(t,"visibilityconnect",/*visibilityconnect*/e[39]),$(t,"translationurl",/*translationurl*/e[11]),$(t,"currency",/*currency*/e[12]),$(t,"livelobbyendpoint",v=/*gameprops*/e[91].gameModel.details?/*gameprops*/e[91].gameModel.launchUrl:""),$(t,"clientstyling",/*clientstyling*/e[9]),$(t,"clientstylingurl",/*clientstylingurl*/e[10]),$(t,"endpoint",/*endpoint*/e[3]),$(t,"livecasino",/*livecasino*/e[14]),$(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),$(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),$(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){m(e,t,n)},p(e,m){/*favoriteGamesData*/512&m[1]&&n!==(n=""+(_i+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&$(t,"class",n),/*favoriteGamesData*/512&m[1]&&r!==(r=""+(_i+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&$(t,"part",r),/*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]),/*favorites*/256&m[0]&&$(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&$(t,"categoryid",/*categoryid*/e[0]),/*favoriteGamesData*/512&m[1]&&a!==(a=/*gameprops*/e[91].gameModel.thumbnail)&&$(t,"gamethumbnail",a),/*favoriteGamesData*/512&m[1]&&i!==(i=/*gameprops*/e[91].gameModel.name)&&$(t,"gamename",i),/*favoriteGamesData*/512&m[1]&&s!==(s=/*gameprops*/e[91].gameModel.vendor.name)&&$(t,"gamevendor",s),/*favoriteGamesData*/512&m[1]&&o!==(o=/*gameprops*/e[91].launchUrl)&&$(t,"gamelaunchurl",o),/*favoriteGamesData*/512&m[1]&&l!==(l=/*gameprops*/e[91].gameModel.isNew)&&$(t,"gameisnew",l),/*favoriteGamesData*/512&m[1]&&c!==(c=/*gameprops*/e[91].gameModel.advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].gameModel.advancedTags))&&$(t,"gametag",c),/*favoriteGamesData*/512&m[1]&&u!==(u=/*gameprops*/e[91].cellSize)&&$(t,"gamecellsize",u),/*favoriteGamesData*/512&m[1]&&d!==(d=/*gameprops*/e[91].gameModel.id)&&$(t,"gameid",d),/*favoriteGamesData*/512&m[1]&&h!==(h=/*gameprops*/e[91].gameModel.hasFunMode)&&$(t,"gamefunmode",h),/*showgamename*/8192&m[0]&&$(t,"showgamename",/*showgamename*/e[13]),/*favoriteGamesData*/512&m[1]&&f!==(f=/*gameprops*/e[91].gameModel.isFavorite)&&$(t,"gamefavorite",f),/*showFavGamesCategory*/64&m[1]&&$(t,"showfavoredcategory",/*showFavGamesCategory*/e[37]),/*intersectingIndexes, favoriteGamesData*/640&m[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect")&&$(t,"connectlive",y),/*visibilityconnect*/256&m[1]&&$(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*translationurl*/2048&m[0]&&$(t,"translationurl",/*translationurl*/e[11]),/*currency*/4096&m[0]&&$(t,"currency",/*currency*/e[12]),/*favoriteGamesData*/512&m[1]&&v!==(v=/*gameprops*/e[91].gameModel.details?/*gameprops*/e[91].gameModel.launchUrl:"")&&$(t,"livelobbyendpoint",v),/*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*/16384&m[0]&&$(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&$(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&$(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&$(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&p(t)}}}
|
|
1374
|
-
// (
|
|
1374
|
+
// (866:20) {#each favoriteGamesData.items as gameprops, index}
|
|
1375
1375
|
function ni(e){let t,n=/*gameprops*/e[91].gameModel&&Xa(e);return{c(){n&&n.c(),t=w()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,r){/*gameprops*/e[91].gameModel?n?n.p(e,r):(n=Xa(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&p(t)}}}
|
|
1376
|
-
// (
|
|
1376
|
+
// (761:12) {#if casinomygames !== 'true'}
|
|
1377
1377
|
function ri(e){let t,n,r,a,i=/*categoryData*/e[26].name+"";function s(e,t){/*showLoadCategory*/
|
|
1378
1378
|
return e[28]?ii:ai}let o=s(e),l=o(e);return{c(){t=g("div"),n=g("h3"),r=v(i),a=b(),l.c(),_(n,"class","CategoryName"),_(t,"class","CasinoGamesHeader")},m(i,s){m(i,t,s),h(t,n),h(n,r),
|
|
1379
1379
|
/*h3_binding*/e[51](n),h(t,a),l.m(t,null)},p(e,n){/*categoryData*/67108864&n[0]&&i!==(i=/*categoryData*/e[26].name+"")&&S(r,i),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&&p(t)
|
|
1380
1380
|
/*h3_binding*/,e[51](null),l.d()}}}
|
|
1381
|
-
// (
|
|
1381
|
+
// (773:16) {:else}
|
|
1382
1382
|
function ai(e){let t,n,r,a=/*addfilterselector*/"true"==e[1]&&si(e),i=/*addsortingselector*/"true"==e[2]&&oi(e);return{c(){t=g("div"),a&&a.c(),n=b(),i&&i.c(),_(t,"class",r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")},m(e,r){m(e,t,r),a&&a.m(t,null),h(t,n),i&&i.m(t,null)},p(e,s){/*addfilterselector*/"true"==e[1]?a?a.p(e,s):(a=si(e),a.c(),a.m(t,n)):a&&(a.d(1),a=null),/*addsortingselector*/"true"==e[2]?i?i.p(e,s):(i=oi(e),i.c(),i.m(t,null)):i&&(i.d(1),i=null),/*addfilterselector, addsortingselector*/6&s[0]&&r!==(r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")&&_(t,"class",r)},d(e){e&&p(t),a&&a.d(),i&&i.d()}}}
|
|
1383
|
-
// (
|
|
1383
|
+
// (766:16) {#if showLoadCategory}
|
|
1384
1384
|
function ii(e){let t,n,r,a,i,s,o,l,c=/*$_*/e[41]("viewAll")+"",u=/*categoryData*/e[26].games.total+"";return{c(){t=g("a"),n=g("span"),r=v(c),a=v(" ("),i=v(u),s=v(")"),_(n,"class","CategoryLoadMore"),_(t,"class","CategoryNameLink")},m(c,u){m(c,t,u),h(t,n),h(n,r),h(n,a),h(n,i),h(n,s),o||(l=x(t,"click",/*click_handler*/e[52]),o=!0)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("viewAll")+"")&&S(r,c),/*categoryData*/67108864&t[0]&&u!==(u=/*categoryData*/e[26].games.total+"")&&S(i,u)},d(e){e&&p(t),o=!1,l()}}}
|
|
1385
|
-
// (
|
|
1385
|
+
// (775:22) {#if addfilterselector == "true"}
|
|
1386
1386
|
function si(e){let t;return{c(){t=g("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[19])},m(e,n){m(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*/524288&n[0]&&$(t,"filterbylogo",/*filterbylogo*/e[19])},d(e){e&&p(t)}}}
|
|
1387
|
-
// (
|
|
1387
|
+
// (788:22) {#if addsortingselector == "true"}
|
|
1388
1388
|
function oi(e){let t;return{c(){t=g("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){m(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&&p(t)}}}
|
|
1389
|
-
// (
|
|
1389
|
+
// (845:14) {:else}
|
|
1390
1390
|
function li(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=g("p"),n=v(r),_(t,"class","NoSearchResults")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&S(n,r)},d(e){e&&p(t)}}}
|
|
1391
|
-
// (
|
|
1391
|
+
// (804:14) {#if shownCategoryData.length !== 0 }
|
|
1392
1392
|
function ci(e){let t,n,r=/*shownCategoryData*/e[27],a=[];for(let t=0;t<r.length;t+=1)a[t]=di(Da(e,r,t));return{c(){t=g("ul");for(let e=0;e<a.length;e+=1)a[e].c();_(t,"class",n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(n,r){m(n,t,r);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,null);
|
|
1393
1393
|
/*ul_binding*/e[54](t)},p(e,i){if(/*session, userid, lang, shownCategoryData, favorites, categoryid, translationurl, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/139722729&i[0]|/*addGameTag, intersectingIndexes, visibilityconnect*/4480&i[1]){let n;for(r=/*shownCategoryData*/e[27],n=0;n<r.length;n+=1){const s=Da(e,r,n);a[n]?a[n].p(s,i):(a[n]=di(s),a[n].c(),a[n].m(t,null))}for(;n<a.length;n+=1)a[n].d(1);a.length=r.length}/*lobbyView, casinogamesgridslider*/34603008&i[0]|/*favoriteGamesData, showFavGamesCategory*/576&i[1]&&n!==(n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&_(t,"class",n)},d(n){n&&p(t),f(a,n),
|
|
1394
1394
|
/*ul_binding*/e[54](null)}}}
|
|
1395
|
-
// (
|
|
1395
|
+
// (801:12) {#if isLoading && !isLazyLoading}
|
|
1396
1396
|
function ui(e){let n;return{c(){n=g("div"),_(n,"class","lds-dual-ring"),_(n,"part","lds-dual-ring")},m(e,t){m(e,n,t)},p:t,d(e){e&&p(n)}}}
|
|
1397
|
-
// (
|
|
1398
|
-
// (
|
|
1397
|
+
// (807:18) {#if intersecting || nativeLoading}
|
|
1398
|
+
// (806:18) {#each shownCategoryData as gameprops, index}
|
|
1399
1399
|
function di(e){let t,n=function(e){let t,n,r,a,i,s,o,l,c,u,d,h,f,y,v,b=/*index*/e[93];const w=()=>/*casino_game_thumbnail_binding*/e[53](t,b),x=()=>/*casino_game_thumbnail_binding*/e[53](null,b);return{c(){t=g("casino-game-thumbnail"),$(t,"session",/*session*/e[6]),$(t,"userid",/*userid*/e[7]),$(t,"lang",/*lang*/e[5]),$(t,"class",n=""+(_i+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),$(t,"part",r=""+(_i+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),$(t,"favorites",/*favorites*/e[8]),$(t,"categoryid",/*categoryid*/e[0]),$(t,"gamethumbnail",a=/*gameprops*/e[91].thumbnail),$(t,"gamename",i=/*gameprops*/e[91].name),$(t,"gamevendor",s=/*gameprops*/e[91].vendor.name),$(t,"gamelaunchurl",o=/*gameprops*/e[91].launchUrl),$(t,"gameisnew",l=/*gameprops*/e[91].isNew),$(t,"gametag",c=/*gameprops*/e[91].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].advancedTags)),$(t,"gamecellsize",u=/*gameprops*/e[91].cellSize),$(t,"gameid",d=/*gameprops*/e[91].id),$(t,"gamefunmode",h=/*gameprops*/e[91].hasFunMode),$(t,"gamefavorite",f=/*gameprops*/e[91].isFavorite),$(t,"translationurl",/*translationurl*/e[11]),$(t,"showgamename",/*showgamename*/e[13]),$(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect"),$(t,"visibilityconnect",/*visibilityconnect*/e[39]),$(t,"currency",/*currency*/e[12]),$(t,"livelobbyendpoint",v=/*gameprops*/e[91].details?/*gameprops*/e[91].href:""),$(t,"clientstyling",/*clientstyling*/e[9]),$(t,"clientstylingurl",/*clientstylingurl*/e[10]),$(t,"endpoint",/*endpoint*/e[3]),$(t,"livecasino",/*livecasino*/e[14]),$(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),$(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),$(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),$(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20])},m(e,n){m(e,t,n),w()},p(m,p){e=m,/*session*/64&p[0]&&$(t,"session",/*session*/e[6]),/*userid*/128&p[0]&&$(t,"userid",/*userid*/e[7]),/*lang*/32&p[0]&&$(t,"lang",/*lang*/e[5]),/*shownCategoryData*/134217728&p[0]&&n!==(n=""+(_i+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&$(t,"class",n),/*shownCategoryData*/134217728&p[0]&&r!==(r=""+(_i+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&$(t,"part",r),/*favorites*/256&p[0]&&$(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&p[0]&&$(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&p[0]&&a!==(a=/*gameprops*/e[91].thumbnail)&&$(t,"gamethumbnail",a),/*shownCategoryData*/134217728&p[0]&&i!==(i=/*gameprops*/e[91].name)&&$(t,"gamename",i),/*shownCategoryData*/134217728&p[0]&&s!==(s=/*gameprops*/e[91].vendor.name)&&$(t,"gamevendor",s),/*shownCategoryData*/134217728&p[0]&&o!==(o=/*gameprops*/e[91].launchUrl)&&$(t,"gamelaunchurl",o),/*shownCategoryData*/134217728&p[0]&&l!==(l=/*gameprops*/e[91].isNew)&&$(t,"gameisnew",l),/*shownCategoryData*/134217728&p[0]&&c!==(c=/*gameprops*/e[91].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].advancedTags))&&$(t,"gametag",c),/*shownCategoryData*/134217728&p[0]&&u!==(u=/*gameprops*/e[91].cellSize)&&$(t,"gamecellsize",u),/*shownCategoryData*/134217728&p[0]&&d!==(d=/*gameprops*/e[91].id)&&$(t,"gameid",d),/*shownCategoryData*/134217728&p[0]&&h!==(h=/*gameprops*/e[91].hasFunMode)&&$(t,"gamefunmode",h),/*shownCategoryData*/134217728&p[0]&&f!==(f=/*gameprops*/e[91].isFavorite)&&$(t,"gamefavorite",f),/*translationurl*/2048&p[0]&&$(t,"translationurl",/*translationurl*/e[11]),/*showgamename*/8192&p[0]&&$(t,"showgamename",/*showgamename*/e[13]),/*shownCategoryData*/134217728&p[0]|/*intersectingIndexes*/128&p[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect")&&$(t,"connectlive",y),/*visibilityconnect*/256&p[1]&&$(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&p[0]&&$(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&p[0]&&v!==(v=/*gameprops*/e[91].details?/*gameprops*/e[91].href:"")&&$(t,"livelobbyendpoint",v),/*clientstyling*/512&p[0]&&$(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&p[0]&&$(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&p[0]&&$(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&p[0]&&$(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&p[0]&&$(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&p[0]&&$(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&p[0]&&$(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),/*casinogamesgridslider*/1048576&p[0]&&$(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20]),b!==/*index*/e[93]&&(x(),b=/*index*/e[93],w())},d(e){e&&p(t),x()}}}(e);return{c(){n&&n.c(),t=w()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&p(t)}}}
|
|
1400
|
-
// (
|
|
1400
|
+
// (706:12) {:else}
|
|
1401
1401
|
function hi(e){let t,n,r=/*$_*/e[41]("searchedItems")+"";return{c(){t=g("h3"),n=v(r),_(t,"class","StatusText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("searchedItems")+"")&&S(n,r)},d(e){e&&p(t)}}}
|
|
1402
|
-
// (
|
|
1402
|
+
// (702:12) {#if !shownCategoryData.length}
|
|
1403
1403
|
function mi(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=g("h3"),n=v(r),_(t,"class","StatusText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&S(n,r)},d(e){e&&p(t)}}}
|
|
1404
|
-
// (
|
|
1404
|
+
// (697:10) {#if recentSearched}
|
|
1405
1405
|
function pi(e){let t,n,r=/*$_*/e[41]("recentSearchedItems")+"";return{c(){t=g("h3"),n=v(r),_(t,"class","StatusText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("recentSearchedItems")+"")&&S(n,r)},d(e){e&&p(t)}}}
|
|
1406
|
-
// (
|
|
1406
|
+
// (753:8) {:else}
|
|
1407
1407
|
function fi(e){let n;return{c(){n=g("p"),n.textContent="Waiting",_(n,"class","SearchWaiting")},m(e,t){m(e,n,t)},p:t,d(e){e&&p(n)}}}
|
|
1408
|
-
// (
|
|
1408
|
+
// (713:8) {#if shownCategoryData}
|
|
1409
1409
|
function gi(e){let t,n,r=!/*showItems*/e[33]&&yi(e),a=/*shownCategoryData*/e[27],i=[];for(let t=0;t<a.length;t+=1)i[t]=vi(Na(e,a,t));return{c(){r&&r.c(),t=b(),n=g("ul");for(let e=0;e<i.length;e+=1)i[e].c();_(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,a){r&&r.m(e,a),m(e,t,a),m(e,n,a);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(n,null)},p(e,s){if(/*showItems*/e[33]?r&&(r.d(1),r=null):r?r.p(e,s):(r=yi(e),r.c(),r.m(t.parentNode,t)),/*shownCategoryData, session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/134479849&s[0]|/*searchItem, addGameTag*/4097&s[1]){let t;for(a=/*shownCategoryData*/e[27],t=0;t<a.length;t+=1){const r=Na(e,a,t);i[t]?i[t].p(r,s):(i[t]=vi(r),i[t].c(),i[t].m(n,null))}for(;t<i.length;t+=1)i[t].d(1);i.length=a.length}},d(e){r&&r.d(e),e&&p(t),e&&p(n),f(i,e)}}}
|
|
1410
|
-
// (
|
|
1410
|
+
// (715:10) {#if !showItems}
|
|
1411
1411
|
function yi(e){let t,n,r=/*$_*/e[41]("noRecentSearch")+"";return{c(){t=g("p"),n=v(r),_(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Ar(/*userAgent*/e[42])?"NoRecentSearchesMobile":""))},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noRecentSearch")+"")&&S(n,r)},d(e){e&&p(t)}}}
|
|
1412
|
-
// (
|
|
1412
|
+
// (719:12) {#each shownCategoryData as gameprops, index}
|
|
1413
1413
|
function vi(e){let t,n,r,a,i,s,o,l,c,u,d,h,f,y;return{c(){t=g("casino-game-thumbnail"),$(t,"class",n=""+(_i+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),$(t,"part",r=""+(_i+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),$(t,"session",/*session*/e[6]),$(t,"userid",/*userid*/e[7]),$(t,"lang",/*lang*/e[5]),$(t,"searchitem",/*searchItem*/e[31]),$(t,"favorites",/*favorites*/e[8]),$(t,"categoryid",/*categoryid*/e[0]),$(t,"gamethumbnail",a=/*gameprops*/e[91].thumbnail),$(t,"gamename",i=/*gameprops*/e[91].name),$(t,"gamevendor",s=/*gameprops*/e[91].vendor.name),$(t,"gamelaunchurl",o=/*gameprops*/e[91].launchUrl),$(t,"gameisnew",l=/*gameprops*/e[91].isNew),$(t,"gametag",c=/*gameprops*/e[91].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].advancedTags)),$(t,"gamecellsize",u=/*gameprops*/e[91].cellSize),$(t,"gameid",d=/*gameprops*/e[91].id),$(t,"gamefunmode",h=/*gameprops*/e[91].hasFunMode),$(t,"showgamename",/*showgamename*/e[13]),$(t,"translationurl",/*translationurl*/e[11]),$(t,"gamefavorite",f=/*gameprops*/e[91].isFavorite),$(t,"currency",/*currency*/e[12]),$(t,"livelobbyendpoint",y=/*gameprops*/e[91].details?/*gameprops*/e[91].href:""),$(t,"clientstyling",/*clientstyling*/e[9]),$(t,"clientstylingurl",/*clientstylingurl*/e[10]),$(t,"endpoint",/*endpoint*/e[3]),$(t,"livecasino",/*livecasino*/e[14]),$(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),$(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),$(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){m(e,t,n)},p(e,m){/*shownCategoryData*/134217728&m[0]&&n!==(n=""+(_i+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&$(t,"class",n),/*shownCategoryData*/134217728&m[0]&&r!==(r=""+(_i+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&$(t,"part",r),/*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]),/*searchItem*/1&m[1]&&$(t,"searchitem",/*searchItem*/e[31]),/*favorites*/256&m[0]&&$(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&$(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&m[0]&&a!==(a=/*gameprops*/e[91].thumbnail)&&$(t,"gamethumbnail",a),/*shownCategoryData*/134217728&m[0]&&i!==(i=/*gameprops*/e[91].name)&&$(t,"gamename",i),/*shownCategoryData*/134217728&m[0]&&s!==(s=/*gameprops*/e[91].vendor.name)&&$(t,"gamevendor",s),/*shownCategoryData*/134217728&m[0]&&o!==(o=/*gameprops*/e[91].launchUrl)&&$(t,"gamelaunchurl",o),/*shownCategoryData*/134217728&m[0]&&l!==(l=/*gameprops*/e[91].isNew)&&$(t,"gameisnew",l),/*shownCategoryData*/134217728&m[0]&&c!==(c=/*gameprops*/e[91].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].advancedTags))&&$(t,"gametag",c),/*shownCategoryData*/134217728&m[0]&&u!==(u=/*gameprops*/e[91].cellSize)&&$(t,"gamecellsize",u),/*shownCategoryData*/134217728&m[0]&&d!==(d=/*gameprops*/e[91].id)&&$(t,"gameid",d),/*shownCategoryData*/134217728&m[0]&&h!==(h=/*gameprops*/e[91].hasFunMode)&&$(t,"gamefunmode",h),/*showgamename*/8192&m[0]&&$(t,"showgamename",/*showgamename*/e[13]),/*translationurl*/2048&m[0]&&$(t,"translationurl",/*translationurl*/e[11]),/*shownCategoryData*/134217728&m[0]&&f!==(f=/*gameprops*/e[91].isFavorite)&&$(t,"gamefavorite",f),/*currency*/4096&m[0]&&$(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&m[0]&&y!==(y=/*gameprops*/e[91].details?/*gameprops*/e[91].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*/16384&m[0]&&$(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&$(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&$(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&$(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&p(t)}}}
|
|
1414
|
-
// (
|
|
1414
|
+
// (690:4) {:else}
|
|
1415
1415
|
function bi(e){let t;return{c(){t=g("p"),t.textContent="500 Error - Internal Server Error.",_(t,"class","SearchLoading")},m(e,n){m(e,t,n)},d(e){e&&p(t)}}}
|
|
1416
|
-
// (
|
|
1416
|
+
// (688:4) {#if presentFilters}
|
|
1417
1417
|
function wi(e){let t;return{c(){t=g("p"),t.textContent="404 Error - No result found.",_(t,"class","SearchLoading")},m(e,n){m(e,t,n)},d(e){e&&p(t)}}}function xi(e){let n;function r(e,t){/*hasErrors*/
|
|
1418
1418
|
return e[24]?Ba:/*searched*/e[29]?Ha:Ra}let a=r(e),i=a(e);return{c(){n=g("div"),i.c(),this.c=t,_(n,"class","CasinoGamesCategorySectionContainer")},m(t,r){m(t,n,r),i.m(n,null),
|
|
1419
1419
|
/*div_binding*/e[57](n)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),i=a(e),i&&(i.c(),i.m(n,null)))},i:t,o:t,d(t){t&&p(n),i.d(),
|
|
@@ -1452,10 +1452,10 @@ G((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?r(39,le="dis
|
|
|
1452
1452
|
//Call the fav. list fetch when widget is standalone
|
|
1453
1453
|
"true"===x&&g&&b&&w&&pe(b,w),/*thumbnailContainer*/4194304&t.$$.dirty[0]|/*dataloaded*/524288&t.$$.dirty[1]&&p&&se&&ie&&se.forEach(((e,t)=>{e&&(
|
|
1454
1454
|
// Hack to make sure that I can identify the thumbnail index
|
|
1455
|
-
e.elems_index=t,me.observe(e))})),/*lang, categoryid
|
|
1455
|
+
e.elems_index=t,me.observe(e))})),/*lang, categoryid*/33&t.$$.dirty[0]&&v&&F&&(()=>{
|
|
1456
1456
|
// showFavGamesCategory vs categoryData
|
|
1457
1457
|
// favoriteGamesData vs shownCategoryData
|
|
1458
|
-
switch(F){case"FAVORITES":r(37,ae=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===I&&r(37,ae=!1);break;default:ye(F)}})(),/*translationurl*/2048&t.$$.dirty[0]&&S&&fetch(S).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Rr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/2097664&t.$$.dirty[0]&&_&&h&&(()=>{let e=document.createElement("style");e.innerHTML=_,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2098176&t.$$.dirty[0]&&$&&h&&(()=>{let e=new URL($),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{h.appendChild(t)}),1)}))})()},[F,A,O,g,y,v,b,w,x,_,$,S,k,C,E,M,L,P,I,D,N,h,se,j,z,W,o,Z,K,X,J,ee,te,ne,re,l,u,ae,oe,le,he,a,V,e=>{if(0===(null==e?void 0:e.length))return"";let t,n="",r=999999999999;const a=new Date(Date.now());return e.forEach(((i,s)=>{const o=new Date(i.schedules[0].startTime),l=new Date(i.schedules[0].endTime);Br(l).diff(a)<r&&(r=Br(l).diff(a),t=s),Br(a).isAfter(o)&&Br(a).isBefore(l)&&(n=e[t].name)})),n},Se,R,H,B,U,Y,p,function(e){T[e?"unshift":"push"]((()=>{u=e,r(36,u)}))},e=>Se(o.id),function(e,t){T[e?"unshift":"push"]((()=>{se[t]=e,r(22,se)}))},function(e){T[e?"unshift":"push"]((()=>{l=e,r(35,l)}))},function(e){T[e?"unshift":"push"]((()=>{u=e,r(36,u)}))},function(e){T[e?"unshift":"push"]((()=>{l=e,r(35,l)}))},function(e){T[e?"unshift":"push"]((()=>{h=e,r(21,h)}))}]}
|
|
1458
|
+
switch(F){case"FAVORITES":w&&b&&r(37,ae=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===I&&w&&b&&r(37,ae=!1);break;default:ye(F)}})(),/*translationurl*/2048&t.$$.dirty[0]&&S&&fetch(S).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Rr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/2097664&t.$$.dirty[0]&&_&&h&&(()=>{let e=document.createElement("style");e.innerHTML=_,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2098176&t.$$.dirty[0]&&$&&h&&(()=>{let e=new URL($),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{h.appendChild(t)}),1)}))})()},[F,A,O,g,y,v,b,w,x,_,$,S,k,C,E,M,L,P,I,D,N,h,se,j,z,W,o,Z,K,X,J,ee,te,ne,re,l,u,ae,oe,le,he,a,V,e=>{if(0===(null==e?void 0:e.length))return"";let t,n="",r=999999999999;const a=new Date(Date.now());return e.forEach(((i,s)=>{const o=new Date(i.schedules[0].startTime),l=new Date(i.schedules[0].endTime);Br(l).diff(a)<r&&(r=Br(l).diff(a),t=s),Br(a).isAfter(o)&&Br(a).isBefore(l)&&(n=e[t].name)})),n},Se,R,H,B,U,Y,p,function(e){T[e?"unshift":"push"]((()=>{u=e,r(36,u)}))},e=>Se(o.id),function(e,t){T[e?"unshift":"push"]((()=>{se[t]=e,r(22,se)}))},function(e){T[e?"unshift":"push"]((()=>{l=e,r(35,l)}))},function(e){T[e?"unshift":"push"]((()=>{u=e,r(36,u)}))},function(e){T[e?"unshift":"push"]((()=>{l=e,r(35,l)}))},function(e){T[e?"unshift":"push"]((()=>{h=e,r(21,h)}))}]}
|
|
1459
1459
|
/* ../casino-favorites-section/src/CasinoFavoritesSection.svelte generated by Svelte v3.59.2 */
|
|
1460
1460
|
function Si(e){let n,r;return{c(){n=g("div"),r=g("casino-games-category-section"),this.c=t,$(r,"session",/*session*/e[4]),$(r,"userid",/*userid*/e[5]),$(r,"endpoint",/*endpoint*/e[0]),$(r,"datasource",/*datasource*/e[1]),$(r,"lang",/*lang*/e[3]),$(r,"currency",/*currency*/e[2]),$(r,"favorites",/*favorites*/e[14]),$(r,"fetchviaevent",/*fetchviaevent*/e[16]),$(r,"categoryid","FAVORITES"),$(r,"class","CategoryContainer"),$(r,"showgamename",/*showgamename*/e[11]),$(r,"clientstyling",/*clientstyling*/e[6]),$(r,"clientstylingurl",/*clientstylingurl*/e[7]),$(r,"livecasino",/*livecasino*/e[8]),$(r,"visiblegames",/*visiblegames*/e[13]),$(r,"gamepagemodalurl",/*gamepagemodalurl*/e[12]),$(r,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),$(r,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),$(r,"casinomygames",/*casinomygames*/e[15]),_(n,"class","CasinoFavoritesSectionContainer")},m(t,a){m(t,n,a),h(n,r),
|
|
1461
1461
|
/*div_binding*/e[18](n)},p(e,[t]){/*session*/16&t&&$(r,"session",/*session*/e[4]),/*userid*/32&t&&$(r,"userid",/*userid*/e[5]),/*endpoint*/1&t&&$(r,"endpoint",/*endpoint*/e[0]),/*datasource*/2&t&&$(r,"datasource",/*datasource*/e[1]),/*lang*/8&t&&$(r,"lang",/*lang*/e[3]),/*currency*/4&t&&$(r,"currency",/*currency*/e[2]),/*favorites*/16384&t&&$(r,"favorites",/*favorites*/e[14]),/*fetchviaevent*/65536&t&&$(r,"fetchviaevent",/*fetchviaevent*/e[16]),/*showgamename*/2048&t&&$(r,"showgamename",/*showgamename*/e[11]),/*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*/8192&t&&$(r,"visiblegames",/*visiblegames*/e[13]),/*gamepagemodalurl*/4096&t&&$(r,"gamepagemodalurl",/*gamepagemodalurl*/e[12]),/*integratedgameframedesktop*/1024&t&&$(r,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&t&&$(r,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/32768&t&&$(r,"casinomygames",/*casinomygames*/e[15])},i:t,o:t,d(t){t&&p(n)
|