@everymatrix/casino-collections-providers 1.12.1 → 1.12.2
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.
@@ -631,8 +631,8 @@ var Cr=function(e,t){return Cr=Object.setPrototypeOf||{__proto__:[]}instanceof A
|
|
631
631
|
/* src/CasinoCollectionsProviders.svelte generated by Svelte v3.58.0 */
|
632
632
|
function hn(e,t,r){const n=e.slice();return n[39]=t[r],n}function fn(e,t,r){const n=e.slice();return n[42]=t[r],n}
|
633
633
|
// (156:4) {:else}
|
634
|
-
function pn(e){let t,r,o,i,s,a,l,c,E,_,T,w,B,A,S=/*type*/("vendor"==e[0]?/*$_*/e[8]("
|
635
|
-
/*div2_binding*/e[23](T),B||(A=[g(l,"click",/*click_handler*/e[19]),g(E,"click",/*click_handler_1*/e[20])],B=!0)},p(e,r){if(/*type, $_*/257&r[0]&&S!==(S=/*type*/("vendor"==e[0]?/*$_*/e[8]("
|
634
|
+
function pn(e){let t,r,o,i,s,a,l,c,E,_,T,w,B,A,S=/*type*/("vendor"==e[0]?/*$_*/e[8]("providers"):/*$_*/e[8]("collections"))+"",H=/*gameCategories*/e[3],C=[];for(let t=0;t<H.length;t+=1)C[t]=vn(hn(e,H,t));return{c(){t=d("div"),r=d("div"),o=d("p"),i=m(S),s=y(),a=d("div"),l=d("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',c=y(),E=d("button"),E.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',_=y(),T=d("div");for(let e=0;e<C.length;e+=1)C[e].c();b(o,"class","Title"),b(a,"class","ButtonsContainer"),b(r,"class","CategoriesHeader"),b(T,"class","CategoriesSlider"),b(t,"class",w="CasinoCollectionsProviders "+(/*mobile*/e[7]?"Mobile":""))},m(n,f){h(n,t,f),u(t,r),u(r,o),u(o,i),u(r,s),u(r,a),u(a,l),u(a,c),u(a,E),u(t,_),u(t,T);for(let e=0;e<C.length;e+=1)C[e]&&C[e].m(T,null);
|
635
|
+
/*div2_binding*/e[23](T),B||(A=[g(l,"click",/*click_handler*/e[19]),g(E,"click",/*click_handler_1*/e[20])],B=!0)},p(e,r){if(/*type, $_*/257&r[0]&&S!==(S=/*type*/("vendor"==e[0]?/*$_*/e[8]("providers"):/*$_*/e[8]("collections"))+"")&&v(i,S),/*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/6158&r[0]){let t;for(H=/*gameCategories*/e[3],t=0;t<H.length;t+=1){const n=hn(e,H,t);C[t]?C[t].p(n,r):(C[t]=vn(n),C[t].c(),C[t].m(T,null))}for(;t<C.length;t+=1)C[t].d(1);C.length=H.length}/*mobile*/128&r[0]&&w!==(w="CasinoCollectionsProviders "+(/*mobile*/e[7]?"Mobile":""))&&b(t,"class",w)},d(r){r&&f(t),p(C,r),
|
636
636
|
/*div2_binding*/e[23](null),B=!1,n(A)}}}
|
637
637
|
// (154:4) {#if isLoading}
|
638
638
|
function dn(t){let r;return{c(){r=d("div"),b(r,"class","LoadingSpinner"),b(r,"part","LoadingSpinner")},m(e,t){h(e,r,t)},p:e,d(e){e&&f(r)}}}
|
@@ -650,7 +650,7 @@ return e.stopPropagation(),o.call(this,e)})),a=!0)},p(i,a){e=i,/*gameCategories*
|
|
650
650
|
// (175:10) {#each gameCategories as category}
|
651
651
|
function vn(e){let t,r,n,o,i,s,a,l,c;function m(e,t){/*titletype*/
|
652
652
|
return"logo"==e[1]?yn:/*titletype*/"title"==e[1]?mn:void 0}let v=m(e),_=v&&v(e),T=/*category*/e[39].games,w=[];for(let t=0;t<T.length;t+=1)w[t]=bn(fn(e,T,t));function B(){/*click_handler_3*/
|
653
|
-
return e[22](/*category*/e[39])}return{c(){t=d("div"),r=d("div"),n=d("div"),_&&_.c(),o=y(),i=d("div");for(let e=0;e<w.length;e+=1)w[e].c();a=y(),b(n,"class","CategorySlideTopContainer"),b(i,"class","CategorySlideGameContainer"),b(r,"class",s="CategorySlide "+(/*category*/"vendor"==e[39]?.flag[0]?"CategorySlideNoHighlight":"")),E(r,"background-image","url("+/*category*/e[39]?.background+")"),b(t,"class","CategoriesSliderWrapper Animation")},m(e,s){h(e,t,s),u(t,r),u(r,n),_&&_.m(n,null),u(r,o),u(r,i);for(let e=0;e<w.length;e+=1)w[e]&&w[e].m(i,null);u(t,a),l||(c=g(r,"click",B),l=!0)},p(t,o){if(v===(v=m(e=t))&&_?_.p(e,o):(_&&_.d(1),_=v&&v(e),_&&(_.c(),_.m(n,null))),/*gameCategories, collectionprovidersgamenames, openGame*/2060&o[0]){let t;for(T=/*category*/e[39].games,t=0;t<T.length;t+=1){const r=fn(e,T,t);w[t]?w[t].p(r,o):(w[t]=bn(r),w[t].c(),w[t].m(i,null))}for(;t<w.length;t+=1)w[t].d(1);w.length=T.length}/*gameCategories*/8&o[0]&&s!==(s="CategorySlide "+(/*category*/"vendor"==e[39]?.flag[0]?"CategorySlideNoHighlight":""))&&b(r,"class",s),/*gameCategories*/8&o[0]&&E(r,"background-image","url("+/*category*/e[39]?.background+")")},d(e){e&&f(t),_&&_.d(),p(w,e),l=!1,c()}}}function En(t){let r;function n(e,t){/*isLoading*/
|
653
|
+
return e[22](/*category*/e[39])}return{c(){t=d("div"),r=d("div"),n=d("div"),_&&_.c(),o=y(),i=d("div");for(let e=0;e<w.length;e+=1)w[e].c();a=y(),b(n,"class","CategorySlideTopContainer"),b(i,"class","CategorySlideGameContainer"),b(r,"class",s="CategorySlide "+(/*category*/"vendor"==e[39]?.flag[0]?"CategorySlideNoHighlight":"")),E(r,"background-image","url("+/*category*/e[39]?.background+")"),E(r,"background-size","cover"),b(t,"class","CategoriesSliderWrapper Animation")},m(e,s){h(e,t,s),u(t,r),u(r,n),_&&_.m(n,null),u(r,o),u(r,i);for(let e=0;e<w.length;e+=1)w[e]&&w[e].m(i,null);u(t,a),l||(c=g(r,"click",B),l=!0)},p(t,o){if(v===(v=m(e=t))&&_?_.p(e,o):(_&&_.d(1),_=v&&v(e),_&&(_.c(),_.m(n,null))),/*gameCategories, collectionprovidersgamenames, openGame*/2060&o[0]){let t;for(T=/*category*/e[39].games,t=0;t<T.length;t+=1){const r=fn(e,T,t);w[t]?w[t].p(r,o):(w[t]=bn(r),w[t].c(),w[t].m(i,null))}for(;t<w.length;t+=1)w[t].d(1);w.length=T.length}/*gameCategories*/8&o[0]&&s!==(s="CategorySlide "+(/*category*/"vendor"==e[39]?.flag[0]?"CategorySlideNoHighlight":""))&&b(r,"class",s),/*gameCategories*/8&o[0]&&E(r,"background-image","url("+/*category*/e[39]?.background+")")},d(e){e&&f(t),_&&_.d(),p(w,e),l=!1,c()}}}function En(t){let r;function n(e,t){/*isLoading*/
|
654
654
|
return e[6]?dn:pn}let o=n(t),i=o(t);return{c(){r=d("div"),i.c(),this.c=e},m(e,n){h(e,r,n),i.m(r,null),
|
655
655
|
/*div_binding*/t[24](r)},p(e,t){o===(o=n(e))&&i?i.p(e,t):(i.d(1),i=o(e),i&&(i.c(),i.m(r,null)))},i:e,o:e,d(e){e&&f(r),i.d(),
|
656
656
|
/*div_binding*/t[24](null)}}}function _n(e,t,r){let n;var o,i;o=ir,i=e=>r(8,n=e),e.$$.on_destroy.push(c(o,i));let s,a,l,u,h,{endpoint:f=""}=t,{datasource:p=""}=t,{lang:d=""}=t,{type:m=""}=t,{titletype:y=""}=t,{clientstyling:g=""}=t,{clientstylingurl:b=""}=t,{translationurl:v=""}=t,{collectionprovidersgamenames:E=""}=t,_=[],T=!0,B=0,S=0,H=0,C=window.navigator.userAgent;Object.keys(ar).forEach((e=>{sr(e,ar[e])}));const P=e=>{
|