@everymatrix/casino-navigation-search 1.94.57 → 1.94.59
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/components/{CasinoCategories-DPlQAMMs.js → CasinoCategories-0z95Zr6X.js} +2 -2
- package/components/{CasinoCategories-DPZ9O23N.cjs → CasinoCategories-BlfPG0x2.cjs} +1 -1
- package/components/{CasinoCategories-DUHuUF3Y.js → CasinoCategories-DUXogC3c.js} +2 -2
- package/components/{CasinoCategoriesProviders-DnAFzl9y.js → CasinoCategoriesProviders-CLfVa__L.js} +4 -4
- package/components/{CasinoCategoriesProviders-b868yoe6.cjs → CasinoCategoriesProviders-DxKmwl6e.cjs} +1 -1
- package/components/{CasinoCategoriesProviders-AZK-LyHz.js → CasinoCategoriesProviders-sy4CqkL0.js} +4 -4
- package/components/{CasinoGameThumbnail-CxoRJp_b.cjs → CasinoGameThumbnail-BHm_y5d3.cjs} +1 -1
- package/components/{CasinoGameThumbnail-BmHSvVP3.js → CasinoGameThumbnail-BUO6p3jL.js} +2 -2
- package/components/{CasinoGameThumbnail-BMUwvi16.js → CasinoGameThumbnail-DPH_lsJ4.js} +2 -2
- package/components/{CasinoNavigationSearch-D2TFQtTD.js → CasinoNavigationSearch-Chy4UUVM.js} +2 -2
- package/components/{CasinoNavigationSearch-CCkQbdS5.js → CasinoNavigationSearch-D1kW0fKC.js} +2 -2
- package/components/{CasinoNavigationSearch-CvEgXDMX.cjs → CasinoNavigationSearch-T97ixxPr.cjs} +1 -1
- package/components/{CasinoProviders-B9qHUUqw.cjs → CasinoProviders-CMVS-Ewf.cjs} +1 -1
- package/components/{CasinoProviders-COFyT8ms.js → CasinoProviders-ZNNE6KdV.js} +2 -2
- package/components/{CasinoProviders-Ba3olyJg.js → CasinoProviders-cGkzaAkJ.js} +2 -2
- package/components/{CasinoSearch-DAbJt683.cjs → CasinoSearch-B-URKwds.cjs} +2 -2
- package/components/{CasinoSearch-B8ruAPZm.js → CasinoSearch-Czy2BrGR.js} +74 -74
- package/components/{CasinoSearch-y9Hu7PaC.js → CasinoSearch-Du5QvUcO.js} +74 -74
- package/es2015/casino-navigation-search.cjs +1 -1
- package/es2015/casino-navigation-search.js +1 -1
- package/esnext/casino-navigation-search.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as ee, b as te, s as ae, f as x, c as ie, n as P, d as I, h as K, k as b, p as oe, q as se, v as re, e as j, w as U, x as G, t as S, j as c, u as E, m as O, E as q, z as L, l as W, A as le, B as ne, C as ge, D as ce } from "./CasinoNavigationSearch-
|
|
2
|
-
import { a as ue, $ as de, b as he } from "./CasinoSearch-
|
|
1
|
+
import { S as ee, b as te, s as ae, f as x, c as ie, n as P, d as I, h as K, k as b, p as oe, q as se, v as re, e as j, w as U, x as G, t as S, j as c, u as E, m as O, E as q, z as L, l as W, A as le, B as ne, C as ge, D as ce } from "./CasinoNavigationSearch-D1kW0fKC.js";
|
|
2
|
+
import { a as ue, $ as de, b as he } from "./CasinoSearch-Du5QvUcO.js";
|
|
3
3
|
import "../stencil/ui-image-CP8Lp7fB.js";
|
|
4
4
|
function B(t, e) {
|
|
5
5
|
ue(t, e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoNavigationSearch-CvEgXDMX.cjs"),j=require("./CasinoSearch-DAbJt683.cjs");require("../stencil/ui-image-BX-FBhad.cjs");function q(a,t){j.addMessages(a,t)}function G(a){j.$locale.set(a)}const E={en:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"zh-hk":{topCategories:"热门类别",otherCategories:"其他类别",loading:"加载请稍候...",games:"游戏"},de:{topCategories:"Top Kategorien",otherCategories:"Andere Kategorien",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},fr:{topCategories:"Catégories principales",otherCategories:"Autres catégories",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{topCategories:"Categorias Top",otherCategories:"Otras Categorias",loading:"Cargando...",games:"juegos"},tr:{topCategories:"En İyi Kategoriler",otherCategories:"Diğer Kategoriler",loading:"Yükleniyor, lütfen bekleyin...",games:"oyunlar"},ru:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},ro:{topCategories:"Categorii de top",otherCategories:"Alte categorii",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{topCategories:"Najbolje kategorije",otherCategories:"Ostale kategorije",loading:"Učitavam",games:"Igre"},hu:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pt:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"pt-br":{topCategories:"Categorias Principais",otherCategories:"Outras Categorias",Loading:"Carregando, por favor espere...",games:"jogos"},"es-mx":{topCategories:"Categorias Principales",otherCategories:"Otras Categorias",Loading:"Cargando, por favor espere...",games:"juegos"},"en-us":{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}};function D(a){e.append_styles(a,"svelte-2l182v","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}")}function M(a,t,i){const l=a.slice();return l[23]=t[i],l}function z(a,t,i){const l=a.slice();return l[23]=t[i],l}function Y(a){let t,i,l=a[5]("topCategories")+"",g,d,c,v,_=a[5]("otherCategories")+"",C,b,p=e.ensure_array_like(a[3]),r=[];for(let o=0;o<p.length;o+=1)r[o]=I(z(a,p,o));let u=e.ensure_array_like(a[4]),m=[];for(let o=0;o<u.length;o+=1)m[o]=N(M(a,u,o));return{c(){t=e.element("div"),i=e.element("h4"),g=e.text(l),d=e.space();for(let o=0;o<r.length;o+=1)r[o].c();c=e.space(),v=e.element("h4"),C=e.text(_),b=e.space();for(let o=0;o<m.length;o+=1)m[o].c();e.attr(i,"class","CategoryTitle"),e.attr(v,"class","CategoryTitle"),e.attr(t,"class","CasinoCategories")},m(o,h){e.insert(o,t,h),e.append(t,i),e.append(i,g),e.append(t,d);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(t,null);e.append(t,c),e.append(t,v),e.append(v,C),e.append(t,b);for(let s=0;s<m.length;s+=1)m[s]&&m[s].m(t,null)},p(o,h){if(h&32&&l!==(l=o[5]("topCategories")+"")&&e.set_data(g,l),h&105){p=e.ensure_array_like(o[3]);let s;for(s=0;s<p.length;s+=1){const f=z(o,p,s);r[s]?r[s].p(f,h):(r[s]=I(f),r[s].c(),r[s].m(t,c))}for(;s<r.length;s+=1)r[s].d(1);r.length=p.length}if(h&32&&_!==(_=o[5]("otherCategories")+"")&&e.set_data(C,_),h&113){u=e.ensure_array_like(o[4]);let s;for(s=0;s<u.length;s+=1){const f=M(o,u,s);m[s]?m[s].p(f,h):(m[s]=N(f),m[s].c(),m[s].m(t,null))}for(;s<m.length;s+=1)m[s].d(1);m.length=u.length}},d(o){o&&e.detach(t),e.destroy_each(r,o),e.destroy_each(m,o)}}}function B(a){let t;return{c(){t=e.element("p"),t.textContent="Loading, please wait...",e.attr(t,"class","Message")},m(i,l){e.insert(i,t,l)},p:e.noop,d(i){i&&e.detach(t)}}}function I(a){let t,i,l,g,d,c,v,_=a[23].name+"",C,b,p,r=a[23].games.count+"",u,m,o=a[5]("games")+"",h,s,f,x;function O(){return a[15](a[23])}return{c(){t=e.element("div"),i=e.element("ui-image"),d=e.space(),c=e.element("div"),v=e.element("p"),C=e.text(_),b=e.space(),p=e.element("p"),u=e.text(r),m=e.space(),h=e.text(o),e.src_url_equal(i.src,l=a[23].icon)||e.set_custom_element_data(i,"src",l),e.set_custom_element_data(i,"alt",g=a[23].name),e.set_custom_element_data(i,"class","CategoryImage"),e.attr(c,"class","CategoryTextContainer"),e.attr(t,"class",s="Category "+(a[0]===a[23].id?"Active":""))},m(w,y){e.insert(w,t,y),e.append(t,i),e.append(t,d),e.append(t,c),e.append(c,v),e.append(v,C),e.append(c,b),e.append(c,p),e.append(p,u),e.append(p,m),e.append(p,h),f||(x=e.listen(t,"click",O),f=!0)},p(w,y){a=w,y&8&&!e.src_url_equal(i.src,l=a[23].icon)&&e.set_custom_element_data(i,"src",l),y&8&&g!==(g=a[23].name)&&e.set_custom_element_data(i,"alt",g),y&8&&_!==(_=a[23].name+"")&&e.set_data(C,_),y&8&&r!==(r=a[23].games.count+"")&&e.set_data(u,r),y&32&&o!==(o=a[5]("games")+"")&&e.set_data(h,o),y&9&&s!==(s="Category "+(a[0]===a[23].id?"Active":""))&&e.attr(t,"class",s)},d(w){w&&e.detach(t),f=!1,x()}}}function N(a){let t,i,l,g,d,c,v,_=a[23].name+"",C,b,p,r=a[23].games.count+"",u,m,o=a[5]("games")+"",h,s,f,x,O;function w(){return a[16](a[23])}return{c(){t=e.element("div"),i=e.element("ui-image"),d=e.space(),c=e.element("div"),v=e.element("p"),C=e.text(_),b=e.space(),p=e.element("p"),u=e.text(r),m=e.space(),h=e.text(o),s=e.space(),e.src_url_equal(i.src,l=a[23].icon)||e.set_custom_element_data(i,"src",l),e.set_custom_element_data(i,"alt",g=a[23].name),e.set_custom_element_data(i,"class","CategoryImage"),e.attr(c,"class","CategoryTextContainer"),e.attr(t,"class",f="Category "+(a[0]===a[23].id?"Active":""))},m(y,k){e.insert(y,t,k),e.append(t,i),e.append(t,d),e.append(t,c),e.append(c,v),e.append(v,C),e.append(c,b),e.append(c,p),e.append(p,u),e.append(p,m),e.append(p,h),e.append(t,s),x||(O=e.listen(t,"click",w),x=!0)},p(y,k){a=y,k&16&&!e.src_url_equal(i.src,l=a[23].icon)&&e.set_custom_element_data(i,"src",l),k&16&&g!==(g=a[23].name)&&e.set_custom_element_data(i,"alt",g),k&16&&_!==(_=a[23].name+"")&&e.set_data(C,_),k&16&&r!==(r=a[23].games.count+"")&&e.set_data(u,r),k&32&&o!==(o=a[5]("games")+"")&&e.set_data(h,o),k&17&&f!==(f="Category "+(a[0]===a[23].id?"Active":""))&&e.attr(t,"class",f)},d(y){y&&e.detach(t),x=!1,O()}}}function H(a){let t;function i(d,c){return d[2]?B:Y}let l=i(a),g=l(a);return{c(){t=e.element("div"),g.c()},m(d,c){e.insert(d,t,c),g.m(t,null),a[17](t)},p(d,[c]){l===(l=i(d))&&g?g.p(d,c):(g.d(1),g=l(d),g&&(g.c(),g.m(t,null)))},i:e.noop,o:e.noop,d(d){d&&e.detach(t),g.d(),a[17](null)}}}function J(a,t,i){let l;e.component_subscribe(a,j.$format,n=>i(5,l=n));let{endpoint:g=""}=t,{datasource:d=""}=t,{lang:c="en"}=t,{activecategory:v=""}=t,{excludedflags:_=""}=t,{clientstyling:C=""}=t,{clientstylingurl:b=""}=t,{translationurl:p=""}=t,{mbsource:r}=t,u,m,o=!1;const h=[];let s=[],f=[];Object.keys(E).forEach(n=>{q(n,E[n])});const x=()=>{fetch(p).then(T=>T.json()).then(T=>{Object.keys(T).forEach(L=>{q(L,T[L])})}).catch(T=>{console.log(T)})},O=()=>{i(2,o=!0);const n=new URL(`${g}/v1/casino/groups/${d}`);n.searchParams.append("language",c),fetch(n).then(T=>T.json()).then(T=>{i(2,o=!1);const L=_.split(",").map(F=>F.trim());h.push(...T.items);const S=h.filter(F=>!L.some(R=>{var A;return((A=F.flags)==null?void 0:A.indexOf(R))>=0}));i(3,s=S.filter(F=>F.isTopCategory===!0)),i(4,f=S.filter(F=>F.isTopCategory===!1))})},w=n=>{window.postMessage({type:"OpenGameCategory",categoryId:n},window.location.href)},y=()=>{G(c)};e.onMount(()=>()=>{});const k=n=>w(n.id),P=n=>w(n.id);function U(n){e.binding_callbacks[n?"unshift":"push"](()=>{u=n,i(1,u)})}return a.$$set=n=>{"endpoint"in n&&i(7,g=n.endpoint),"datasource"in n&&i(8,d=n.datasource),"lang"in n&&i(9,c=n.lang),"activecategory"in n&&i(0,v=n.activecategory),"excludedflags"in n&&i(10,_=n.excludedflags),"clientstyling"in n&&i(11,C=n.clientstyling),"clientstylingurl"in n&&i(12,b=n.clientstylingurl),"translationurl"in n&&i(13,p=n.translationurl),"mbsource"in n&&i(14,r=n.mbsource)},a.$$.update=()=>{a.$$.dirty&384&&g&&d&&O(),a.$$.dirty&8192&&p&&x(),a.$$.dirty&512&&c&&y(),a.$$.dirty&2050&&C&&u&&e.setClientStyling(u,C),a.$$.dirty&4098&&b&&u&&e.setClientStylingURL(u,b),a.$$.dirty&16386&&r&&u&&e.setStreamStyling(u,`${r}.Style`,m)},[v,u,o,s,f,l,w,g,d,c,_,C,b,p,r,k,P,U]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,J,H,e.safe_not_equal,{endpoint:7,datasource:8,lang:9,activecategory:0,excludedflags:10,clientstyling:11,clientstylingurl:12,translationurl:13,mbsource:14},D)}get endpoint(){return this.$$.ctx[7]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[8]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[9]}set lang(t){this.$$set({lang:t}),e.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get excludedflags(){return this.$$.ctx[10]}set excludedflags(t){this.$$set({excludedflags:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(K,{endpoint:{},datasource:{},lang:{},activecategory:{},excludedflags:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=K;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoNavigationSearch-T97ixxPr.cjs"),j=require("./CasinoSearch-B-URKwds.cjs");require("../stencil/ui-image-BX-FBhad.cjs");function q(a,t){j.addMessages(a,t)}function G(a){j.$locale.set(a)}const E={en:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"zh-hk":{topCategories:"热门类别",otherCategories:"其他类别",loading:"加载请稍候...",games:"游戏"},de:{topCategories:"Top Kategorien",otherCategories:"Andere Kategorien",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},fr:{topCategories:"Catégories principales",otherCategories:"Autres catégories",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{topCategories:"Categorias Top",otherCategories:"Otras Categorias",loading:"Cargando...",games:"juegos"},tr:{topCategories:"En İyi Kategoriler",otherCategories:"Diğer Kategoriler",loading:"Yükleniyor, lütfen bekleyin...",games:"oyunlar"},ru:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},ro:{topCategories:"Categorii de top",otherCategories:"Alte categorii",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{topCategories:"Najbolje kategorije",otherCategories:"Ostale kategorije",loading:"Učitavam",games:"Igre"},hu:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},pt:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sl:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},sr:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"},"pt-br":{topCategories:"Categorias Principais",otherCategories:"Outras Categorias",Loading:"Carregando, por favor espere...",games:"jogos"},"es-mx":{topCategories:"Categorias Principales",otherCategories:"Otras Categorias",Loading:"Cargando, por favor espere...",games:"juegos"},"en-us":{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}};function D(a){e.append_styles(a,"svelte-2l182v","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}")}function M(a,t,i){const l=a.slice();return l[23]=t[i],l}function z(a,t,i){const l=a.slice();return l[23]=t[i],l}function Y(a){let t,i,l=a[5]("topCategories")+"",g,d,c,v,_=a[5]("otherCategories")+"",C,b,p=e.ensure_array_like(a[3]),r=[];for(let o=0;o<p.length;o+=1)r[o]=I(z(a,p,o));let u=e.ensure_array_like(a[4]),m=[];for(let o=0;o<u.length;o+=1)m[o]=N(M(a,u,o));return{c(){t=e.element("div"),i=e.element("h4"),g=e.text(l),d=e.space();for(let o=0;o<r.length;o+=1)r[o].c();c=e.space(),v=e.element("h4"),C=e.text(_),b=e.space();for(let o=0;o<m.length;o+=1)m[o].c();e.attr(i,"class","CategoryTitle"),e.attr(v,"class","CategoryTitle"),e.attr(t,"class","CasinoCategories")},m(o,h){e.insert(o,t,h),e.append(t,i),e.append(i,g),e.append(t,d);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(t,null);e.append(t,c),e.append(t,v),e.append(v,C),e.append(t,b);for(let s=0;s<m.length;s+=1)m[s]&&m[s].m(t,null)},p(o,h){if(h&32&&l!==(l=o[5]("topCategories")+"")&&e.set_data(g,l),h&105){p=e.ensure_array_like(o[3]);let s;for(s=0;s<p.length;s+=1){const f=z(o,p,s);r[s]?r[s].p(f,h):(r[s]=I(f),r[s].c(),r[s].m(t,c))}for(;s<r.length;s+=1)r[s].d(1);r.length=p.length}if(h&32&&_!==(_=o[5]("otherCategories")+"")&&e.set_data(C,_),h&113){u=e.ensure_array_like(o[4]);let s;for(s=0;s<u.length;s+=1){const f=M(o,u,s);m[s]?m[s].p(f,h):(m[s]=N(f),m[s].c(),m[s].m(t,null))}for(;s<m.length;s+=1)m[s].d(1);m.length=u.length}},d(o){o&&e.detach(t),e.destroy_each(r,o),e.destroy_each(m,o)}}}function B(a){let t;return{c(){t=e.element("p"),t.textContent="Loading, please wait...",e.attr(t,"class","Message")},m(i,l){e.insert(i,t,l)},p:e.noop,d(i){i&&e.detach(t)}}}function I(a){let t,i,l,g,d,c,v,_=a[23].name+"",C,b,p,r=a[23].games.count+"",u,m,o=a[5]("games")+"",h,s,f,x;function O(){return a[15](a[23])}return{c(){t=e.element("div"),i=e.element("ui-image"),d=e.space(),c=e.element("div"),v=e.element("p"),C=e.text(_),b=e.space(),p=e.element("p"),u=e.text(r),m=e.space(),h=e.text(o),e.src_url_equal(i.src,l=a[23].icon)||e.set_custom_element_data(i,"src",l),e.set_custom_element_data(i,"alt",g=a[23].name),e.set_custom_element_data(i,"class","CategoryImage"),e.attr(c,"class","CategoryTextContainer"),e.attr(t,"class",s="Category "+(a[0]===a[23].id?"Active":""))},m(w,y){e.insert(w,t,y),e.append(t,i),e.append(t,d),e.append(t,c),e.append(c,v),e.append(v,C),e.append(c,b),e.append(c,p),e.append(p,u),e.append(p,m),e.append(p,h),f||(x=e.listen(t,"click",O),f=!0)},p(w,y){a=w,y&8&&!e.src_url_equal(i.src,l=a[23].icon)&&e.set_custom_element_data(i,"src",l),y&8&&g!==(g=a[23].name)&&e.set_custom_element_data(i,"alt",g),y&8&&_!==(_=a[23].name+"")&&e.set_data(C,_),y&8&&r!==(r=a[23].games.count+"")&&e.set_data(u,r),y&32&&o!==(o=a[5]("games")+"")&&e.set_data(h,o),y&9&&s!==(s="Category "+(a[0]===a[23].id?"Active":""))&&e.attr(t,"class",s)},d(w){w&&e.detach(t),f=!1,x()}}}function N(a){let t,i,l,g,d,c,v,_=a[23].name+"",C,b,p,r=a[23].games.count+"",u,m,o=a[5]("games")+"",h,s,f,x,O;function w(){return a[16](a[23])}return{c(){t=e.element("div"),i=e.element("ui-image"),d=e.space(),c=e.element("div"),v=e.element("p"),C=e.text(_),b=e.space(),p=e.element("p"),u=e.text(r),m=e.space(),h=e.text(o),s=e.space(),e.src_url_equal(i.src,l=a[23].icon)||e.set_custom_element_data(i,"src",l),e.set_custom_element_data(i,"alt",g=a[23].name),e.set_custom_element_data(i,"class","CategoryImage"),e.attr(c,"class","CategoryTextContainer"),e.attr(t,"class",f="Category "+(a[0]===a[23].id?"Active":""))},m(y,k){e.insert(y,t,k),e.append(t,i),e.append(t,d),e.append(t,c),e.append(c,v),e.append(v,C),e.append(c,b),e.append(c,p),e.append(p,u),e.append(p,m),e.append(p,h),e.append(t,s),x||(O=e.listen(t,"click",w),x=!0)},p(y,k){a=y,k&16&&!e.src_url_equal(i.src,l=a[23].icon)&&e.set_custom_element_data(i,"src",l),k&16&&g!==(g=a[23].name)&&e.set_custom_element_data(i,"alt",g),k&16&&_!==(_=a[23].name+"")&&e.set_data(C,_),k&16&&r!==(r=a[23].games.count+"")&&e.set_data(u,r),k&32&&o!==(o=a[5]("games")+"")&&e.set_data(h,o),k&17&&f!==(f="Category "+(a[0]===a[23].id?"Active":""))&&e.attr(t,"class",f)},d(y){y&&e.detach(t),x=!1,O()}}}function H(a){let t;function i(d,c){return d[2]?B:Y}let l=i(a),g=l(a);return{c(){t=e.element("div"),g.c()},m(d,c){e.insert(d,t,c),g.m(t,null),a[17](t)},p(d,[c]){l===(l=i(d))&&g?g.p(d,c):(g.d(1),g=l(d),g&&(g.c(),g.m(t,null)))},i:e.noop,o:e.noop,d(d){d&&e.detach(t),g.d(),a[17](null)}}}function J(a,t,i){let l;e.component_subscribe(a,j.$format,n=>i(5,l=n));let{endpoint:g=""}=t,{datasource:d=""}=t,{lang:c="en"}=t,{activecategory:v=""}=t,{excludedflags:_=""}=t,{clientstyling:C=""}=t,{clientstylingurl:b=""}=t,{translationurl:p=""}=t,{mbsource:r}=t,u,m,o=!1;const h=[];let s=[],f=[];Object.keys(E).forEach(n=>{q(n,E[n])});const x=()=>{fetch(p).then(T=>T.json()).then(T=>{Object.keys(T).forEach(L=>{q(L,T[L])})}).catch(T=>{console.log(T)})},O=()=>{i(2,o=!0);const n=new URL(`${g}/v1/casino/groups/${d}`);n.searchParams.append("language",c),fetch(n).then(T=>T.json()).then(T=>{i(2,o=!1);const L=_.split(",").map(F=>F.trim());h.push(...T.items);const S=h.filter(F=>!L.some(R=>{var A;return((A=F.flags)==null?void 0:A.indexOf(R))>=0}));i(3,s=S.filter(F=>F.isTopCategory===!0)),i(4,f=S.filter(F=>F.isTopCategory===!1))})},w=n=>{window.postMessage({type:"OpenGameCategory",categoryId:n},window.location.href)},y=()=>{G(c)};e.onMount(()=>()=>{});const k=n=>w(n.id),P=n=>w(n.id);function U(n){e.binding_callbacks[n?"unshift":"push"](()=>{u=n,i(1,u)})}return a.$$set=n=>{"endpoint"in n&&i(7,g=n.endpoint),"datasource"in n&&i(8,d=n.datasource),"lang"in n&&i(9,c=n.lang),"activecategory"in n&&i(0,v=n.activecategory),"excludedflags"in n&&i(10,_=n.excludedflags),"clientstyling"in n&&i(11,C=n.clientstyling),"clientstylingurl"in n&&i(12,b=n.clientstylingurl),"translationurl"in n&&i(13,p=n.translationurl),"mbsource"in n&&i(14,r=n.mbsource)},a.$$.update=()=>{a.$$.dirty&384&&g&&d&&O(),a.$$.dirty&8192&&p&&x(),a.$$.dirty&512&&c&&y(),a.$$.dirty&2050&&C&&u&&e.setClientStyling(u,C),a.$$.dirty&4098&&b&&u&&e.setClientStylingURL(u,b),a.$$.dirty&16386&&r&&u&&e.setStreamStyling(u,`${r}.Style`,m)},[v,u,o,s,f,l,w,g,d,c,_,C,b,p,r,k,P,U]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,J,H,e.safe_not_equal,{endpoint:7,datasource:8,lang:9,activecategory:0,excludedflags:10,clientstyling:11,clientstylingurl:12,translationurl:13,mbsource:14},D)}get endpoint(){return this.$$.ctx[7]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[8]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[9]}set lang(t){this.$$set({lang:t}),e.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get excludedflags(){return this.$$.ctx[10]}set excludedflags(t){this.$$set({excludedflags:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(K,{endpoint:{},datasource:{},lang:{},activecategory:{},excludedflags:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=K;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as $, b as ee, s as te, f as x, d as ae, n as P, e as I, j as K, m as b, q as ie, t as oe, w as se, g as j, x as U, y as D, u as S, k as c, v as E, o as O, E as q, A as L, l as V, B as re, C as le, D as ne, c as ge } from "./CasinoNavigationSearch-
|
|
2
|
-
import { a as ce, $ as ue, b as de } from "./CasinoSearch-
|
|
1
|
+
import { S as $, b as ee, s as te, f as x, d as ae, n as P, e as I, j as K, m as b, q as ie, t as oe, w as se, g as j, x as U, y as D, u as S, k as c, v as E, o as O, E as q, A as L, l as V, B as re, C as le, D as ne, c as ge } from "./CasinoNavigationSearch-Chy4UUVM.js";
|
|
2
|
+
import { a as ce, $ as ue, b as de } from "./CasinoSearch-Czy2BrGR.js";
|
|
3
3
|
import "../stencil/ui-image-Ch-GHki1.js";
|
|
4
4
|
function G(t, e) {
|
|
5
5
|
ce(t, e);
|
package/components/{CasinoCategoriesProviders-DnAFzl9y.js → CasinoCategoriesProviders-CLfVa__L.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as L, b as K, s as q, f as g, d as R, n as j, e as U, r as I, u as D, g as f, A as i, j as G, k as u, l as M, m as b, v as O, o as P, q as J, t as Q, w as W, B as X, C as Y, D as Z, c as x } from "./CasinoNavigationSearch-
|
|
2
|
-
import { a as $, $ as ee, b as te } from "./CasinoSearch-
|
|
1
|
+
import { S as L, b as K, s as q, f as g, d as R, n as j, e as U, r as I, u as D, g as f, A as i, j as G, k as u, l as M, m as b, v as O, o as P, q as J, t as Q, w as W, B as X, C as Y, D as Z, c as x } from "./CasinoNavigationSearch-Chy4UUVM.js";
|
|
2
|
+
import { a as $, $ as ee, b as te } from "./CasinoSearch-Czy2BrGR.js";
|
|
3
3
|
function V(s, t) {
|
|
4
4
|
$(s, t);
|
|
5
5
|
}
|
|
@@ -92,7 +92,7 @@ if (typeof window < "u") {
|
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
|
-
customElements.define = s(customElements.define), import("./CasinoCategories-
|
|
95
|
+
customElements.define = s(customElements.define), import("./CasinoCategories-DUXogC3c.js").then(({ default: t }) => {
|
|
96
96
|
!customElements.get("casino-categories") && customElements.define("casino-categories", t.element);
|
|
97
97
|
});
|
|
98
98
|
}
|
|
@@ -108,7 +108,7 @@ if (typeof window < "u") {
|
|
|
108
108
|
}
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
|
-
customElements.define = s(customElements.define), import("./CasinoProviders-
|
|
111
|
+
customElements.define = s(customElements.define), import("./CasinoProviders-ZNNE6KdV.js").then(({ default: t }) => {
|
|
112
112
|
!customElements.get("casino-providers") && customElements.define("casino-providers", t.element);
|
|
113
113
|
});
|
|
114
114
|
}
|
package/components/{CasinoCategoriesProviders-b868yoe6.cjs → CasinoCategoriesProviders-DxKmwl6e.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoNavigationSearch-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoNavigationSearch-T97ixxPr.cjs"),P=require("./CasinoSearch-B-URKwds.cjs");function B(i,s){P.addMessages(i,s)}function T(i){P.$locale.set(i)}const F={en:{categories:"Categories",providers:"Suppliers"},"zh-hk":{categories:"类别",providers:"供应商"},de:{categories:"Kategorien",providers:"Anbieter"},it:{categories:"Categories",providers:"Suppliers"},fr:{categories:"Catégories",providers:"Fournisseurs"},es:{categories:"Categorias",providers:"Proveedores"},tr:{categories:"Kategoriler",providers:"Tedarikçiler"},ru:{categories:"Categories",providers:"Suppliers"},ro:{categories:"Categorii",providers:"Furnizori"},hr:{categories:"Kategorije",providers:"Provideri"},hu:{categories:"Categories",providers:"Suppliers"},pl:{categories:"Categories",providers:"Suppliers"},pt:{categories:"Categories",providers:"Suppliers"},sl:{categories:"Categories",providers:"Suppliers"},sr:{categories:"Categories",providers:"Suppliers"},"pt-br":{categories:"Categorias",providers:"Provedores"},"es-mx":{categories:"Categorias",providers:"Proveedores"},"en-us":{categories:"Categories",providers:"Suppliers"}};if(typeof window!="undefined"){let i=function(s){return function(...r){try{return s.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoCategories-BlfPG0x2.cjs")).then(({default:s})=>{!customElements.get("casino-categories")&&customElements.define("casino-categories",s.element)})}if(typeof window!="undefined"){let i=function(s){return function(...r){try{return s.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoProviders-CMVS-Ewf.cjs")).then(({default:s})=>{!customElements.get("casino-providers")&&customElements.define("casino-providers",s.element)})}function M(i){e.append_styles(i,"svelte-10w1o04","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.NotVisible{display:none}.CasinoCategoriesProviders{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.Header{display:flex;max-width:100%;min-width:320px;margin-bottom:14px;font-size:18px;background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.HeaderButton{flex:1 2 0;min-height:48px;margin:0;border:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));box-shadow:1px 2px 2px rgba(var(--emw--color-gray-150, #828282), 0.1)}.HeaderButton.Active{box-shadow:none;border-bottom:2px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}")}function O(i){let s,r,n,d,p=i[12]("categories")+"",y,v,S,g,m=i[12]("providers")+"",f,_,h,u,o,c,E,b,l,w,k,A;return{c(){s=e.element("div"),r=e.element("div"),n=e.element("div"),d=e.element("button"),y=e.text(p),S=e.space(),g=e.element("button"),f=e.text(m),h=e.space(),u=e.element("div"),o=e.element("casino-categories"),E=e.space(),b=e.element("div"),l=e.element("casino-providers"),e.attr(d,"class",v="HeaderButton "+(i[11]==="categories"?"Active":"")),e.attr(g,"class",_="HeaderButton "+(i[11]==="providers"?"Active":"")),e.attr(n,"class","Header"),e.set_custom_element_data(o,"endpoint",i[0]),e.set_custom_element_data(o,"datasource",i[1]),e.set_custom_element_data(o,"activecategory",i[2]),e.set_custom_element_data(o,"excludedflags",i[5]),e.set_custom_element_data(o,"lang",i[6]),e.set_custom_element_data(o,"clientstyling",i[7]),e.set_custom_element_data(o,"clientstylingurl",i[8]),e.set_custom_element_data(o,"mbsource",i[9]),e.attr(u,"class",c=i[11]==="providers"?"NotVisible":""),e.set_custom_element_data(l,"endpoint",i[3]),e.set_custom_element_data(l,"datasource",i[4]),e.set_custom_element_data(l,"lang",i[6]),e.set_custom_element_data(l,"clientstyling",i[7]),e.set_custom_element_data(l,"clientstylingurl",i[8]),e.set_custom_element_data(l,"mbsource",i[9]),e.attr(b,"class",w=i[11]==="categories"?"NotVisible":""),e.attr(r,"class","CasinoCategoriesProviders")},m(a,t){e.insert(a,s,t),e.append(s,r),e.append(r,n),e.append(n,d),e.append(d,y),e.append(n,S),e.append(n,g),e.append(g,f),e.append(r,h),e.append(r,u),e.append(u,o),e.append(r,E),e.append(r,b),e.append(b,l),i[17](s),k||(A=[e.listen(d,"click",i[15]),e.listen(g,"click",i[16])],k=!0)},p(a,[t]){t&4096&&p!==(p=a[12]("categories")+"")&&e.set_data(y,p),t&2048&&v!==(v="HeaderButton "+(a[11]==="categories"?"Active":""))&&e.attr(d,"class",v),t&4096&&m!==(m=a[12]("providers")+"")&&e.set_data(f,m),t&2048&&_!==(_="HeaderButton "+(a[11]==="providers"?"Active":""))&&e.attr(g,"class",_),t&1&&e.set_custom_element_data(o,"endpoint",a[0]),t&2&&e.set_custom_element_data(o,"datasource",a[1]),t&4&&e.set_custom_element_data(o,"activecategory",a[2]),t&32&&e.set_custom_element_data(o,"excludedflags",a[5]),t&64&&e.set_custom_element_data(o,"lang",a[6]),t&128&&e.set_custom_element_data(o,"clientstyling",a[7]),t&256&&e.set_custom_element_data(o,"clientstylingurl",a[8]),t&512&&e.set_custom_element_data(o,"mbsource",a[9]),t&2048&&c!==(c=a[11]==="providers"?"NotVisible":"")&&e.attr(u,"class",c),t&8&&e.set_custom_element_data(l,"endpoint",a[3]),t&16&&e.set_custom_element_data(l,"datasource",a[4]),t&64&&e.set_custom_element_data(l,"lang",a[6]),t&128&&e.set_custom_element_data(l,"clientstyling",a[7]),t&256&&e.set_custom_element_data(l,"clientstylingurl",a[8]),t&512&&e.set_custom_element_data(l,"mbsource",a[9]),t&2048&&w!==(w=a[11]==="categories"?"NotVisible":"")&&e.attr(b,"class",w)},i:e.noop,o:e.noop,d(a){a&&e.detach(s),i[17](null),k=!1,e.run_all(A)}}}function j(i,s,r){let n;e.component_subscribe(i,P.$format,t=>r(12,n=t));let{endpointcategories:d=""}=s,{datasourcecategories:p=""}=s,{activecategory:y=""}=s,{endpointproviders:v=""}=s,{datasourceproviders:S=""}=s,{excludedflags:g=""}=s,{lang:m="en"}=s,{clientstyling:f=""}=s,{clientstylingurl:_=""}=s,{translationurl:h=""}=s,{mbsource:u}=s,o="categories",c,E;const b=()=>{fetch(h).then(C=>C.json()).then(C=>{Object.keys(C).forEach(N=>{B(N,C[N])})}).catch(C=>{console.log(C)})};Object.keys(F).forEach(t=>{B(t,F[t])});const l=t=>{o!==t&&r(11,o=t)},w=()=>{T(m)};e.onMount(()=>()=>{});const k=()=>l("categories"),A=()=>l("providers");function a(t){e.binding_callbacks[t?"unshift":"push"](()=>{c=t,r(10,c)})}return i.$$set=t=>{"endpointcategories"in t&&r(0,d=t.endpointcategories),"datasourcecategories"in t&&r(1,p=t.datasourcecategories),"activecategory"in t&&r(2,y=t.activecategory),"endpointproviders"in t&&r(3,v=t.endpointproviders),"datasourceproviders"in t&&r(4,S=t.datasourceproviders),"excludedflags"in t&&r(5,g=t.excludedflags),"lang"in t&&r(6,m=t.lang),"clientstyling"in t&&r(7,f=t.clientstyling),"clientstylingurl"in t&&r(8,_=t.clientstylingurl),"translationurl"in t&&r(14,h=t.translationurl),"mbsource"in t&&r(9,u=t.mbsource)},i.$$.update=()=>{i.$$.dirty&16384&&h&&b(),i.$$.dirty&64&&m&&w(),i.$$.dirty&1152&&f&&c&&e.setClientStyling(c,f),i.$$.dirty&1280&&_&&c&&e.setClientStylingURL(c,_),i.$$.dirty&1536&&u&&c&&e.setStreamStyling(c,`${u}.Style`,E)},[d,p,y,v,S,g,m,f,_,u,c,o,n,l,h,k,A,a]}class H extends e.SvelteComponent{constructor(s){super(),e.init(this,s,j,O,e.safe_not_equal,{endpointcategories:0,datasourcecategories:1,activecategory:2,endpointproviders:3,datasourceproviders:4,excludedflags:5,lang:6,clientstyling:7,clientstylingurl:8,translationurl:14,mbsource:9},M)}get endpointcategories(){return this.$$.ctx[0]}set endpointcategories(s){this.$$set({endpointcategories:s}),e.flush()}get datasourcecategories(){return this.$$.ctx[1]}set datasourcecategories(s){this.$$set({datasourcecategories:s}),e.flush()}get activecategory(){return this.$$.ctx[2]}set activecategory(s){this.$$set({activecategory:s}),e.flush()}get endpointproviders(){return this.$$.ctx[3]}set endpointproviders(s){this.$$set({endpointproviders:s}),e.flush()}get datasourceproviders(){return this.$$.ctx[4]}set datasourceproviders(s){this.$$set({datasourceproviders:s}),e.flush()}get excludedflags(){return this.$$.ctx[5]}set excludedflags(s){this.$$set({excludedflags:s}),e.flush()}get lang(){return this.$$.ctx[6]}set lang(s){this.$$set({lang:s}),e.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(s){this.$$set({clientstyling:s}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(s){this.$$set({clientstylingurl:s}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(s){this.$$set({translationurl:s}),e.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(s){this.$$set({mbsource:s}),e.flush()}}e.create_custom_element(H,{endpointcategories:{},datasourcecategories:{},activecategory:{},endpointproviders:{},datasourceproviders:{},excludedflags:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=H;
|
package/components/{CasinoCategoriesProviders-AZK-LyHz.js → CasinoCategoriesProviders-sy4CqkL0.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as L, b as K, s as q, f as g, c as R, n as j, d as U, r as I, t as z, e as f, z as i, h as G, j as u, l as D, k as b, u as M, m as P, p as J, q as Q, v as W, A as X, B as Y, C as Z, D as x } from "./CasinoNavigationSearch-
|
|
2
|
-
import { a as $, $ as ee, b as te } from "./CasinoSearch-
|
|
1
|
+
import { S as L, b as K, s as q, f as g, c as R, n as j, d as U, r as I, t as z, e as f, z as i, h as G, j as u, l as D, k as b, u as M, m as P, p as J, q as Q, v as W, A as X, B as Y, C as Z, D as x } from "./CasinoNavigationSearch-D1kW0fKC.js";
|
|
2
|
+
import { a as $, $ as ee, b as te } from "./CasinoSearch-Du5QvUcO.js";
|
|
3
3
|
function O(s, t) {
|
|
4
4
|
$(s, t);
|
|
5
5
|
}
|
|
@@ -92,7 +92,7 @@ if (typeof window != "undefined") {
|
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
|
-
customElements.define = s(customElements.define), import("./CasinoCategories-
|
|
95
|
+
customElements.define = s(customElements.define), import("./CasinoCategories-0z95Zr6X.js").then(({ default: t }) => {
|
|
96
96
|
!customElements.get("casino-categories") && customElements.define("casino-categories", t.element);
|
|
97
97
|
});
|
|
98
98
|
}
|
|
@@ -108,7 +108,7 @@ if (typeof window != "undefined") {
|
|
|
108
108
|
}
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
|
-
customElements.define = s(customElements.define), import("./CasinoProviders-
|
|
111
|
+
customElements.define = s(customElements.define), import("./CasinoProviders-cGkzaAkJ.js").then(({ default: t }) => {
|
|
112
112
|
!customElements.get("casino-providers") && customElements.define("casino-providers", t.element);
|
|
113
113
|
});
|
|
114
114
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Ja=(e,t,a)=>new Promise((n,r)=>{var i=d=>{try{l(a.next(d))}catch(m){r(m)}},o=d=>{try{l(a.throw(d))}catch(m){r(m)}},l=d=>d.done?n(d.value):Promise.resolve(d.value).then(i,o);l((a=a.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./CasinoNavigationSearch-
|
|
1
|
+
"use strict";var Ja=(e,t,a)=>new Promise((n,r)=>{var i=d=>{try{l(a.next(d))}catch(m){r(m)}},o=d=>{try{l(a.throw(d))}catch(m){r(m)}},l=d=>d.done?n(d.value):Promise.resolve(d.value).then(i,o);l((a=a.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./CasinoNavigationSearch-T97ixxPr.cjs"),K=require("./CasinoSearch-B-URKwds.cjs");require("../stencil/ui-image-BX-FBhad.cjs");function Cr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
|
|
2
2
|
//! version : 2.29.4
|
|
3
3
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
4
|
//! license : MIT
|
|
@@ -14,8 +14,8 @@ var hn = (e, t, a) => new Promise((n, r) => {
|
|
|
14
14
|
}, o = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(i, s);
|
|
15
15
|
o((a = a.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { S as Jr, b as qr, s as Xr, f as L, c as Qr, n as yt, d as H, E as mn, z as tt, t as Te, e as S, F as gn, h as B, j as b, k as T, m as V, u as Re, p as $r, q as ei, l as Ia, y as kt, v as pa, H as xe, w as Pt, x as Nn, G as ht, o as _a, A as ti, B as ai, C as ni, D as ri } from "./CasinoNavigationSearch-
|
|
18
|
-
import { a as ii, $ as si, i as fe, g as oi, b as li } from "./CasinoSearch-
|
|
17
|
+
import { S as Jr, b as qr, s as Xr, f as L, c as Qr, n as yt, d as H, E as mn, z as tt, t as Te, e as S, F as gn, h as B, j as b, k as T, m as V, u as Re, p as $r, q as ei, l as Ia, y as kt, v as pa, H as xe, w as Pt, x as Nn, G as ht, o as _a, A as ti, B as ai, C as ni, D as ri } from "./CasinoNavigationSearch-D1kW0fKC.js";
|
|
18
|
+
import { a as ii, $ as si, i as fe, g as oi, b as li } from "./CasinoSearch-Du5QvUcO.js";
|
|
19
19
|
import "../stencil/ui-image-CP8Lp7fB.js";
|
|
20
20
|
function ui(e) {
|
|
21
21
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Kr, b as Jr, s as qr, f as L, d as Xr, n as yt, e as H, E as hn, A as tt, u as Te, g as S, F as mn, j as B, k as b, m as T, o as V, v as Re, q as Qr, t as $r, l as Ia, z as kt, w as pa, H as xe, x as Pt, y as xn, G as ht, p as _a, B as ei, C as ti, D as ai, c as ni } from "./CasinoNavigationSearch-
|
|
2
|
-
import { a as ri, $ as ii, i as fe, g as si, b as oi } from "./CasinoSearch-
|
|
1
|
+
import { S as Kr, b as Jr, s as qr, f as L, d as Xr, n as yt, e as H, E as hn, A as tt, u as Te, g as S, F as mn, j as B, k as b, m as T, o as V, v as Re, q as Qr, t as $r, l as Ia, z as kt, w as pa, H as xe, x as Pt, y as xn, G as ht, p as _a, B as ei, C as ti, D as ai, c as ni } from "./CasinoNavigationSearch-Chy4UUVM.js";
|
|
2
|
+
import { a as ri, $ as ii, i as fe, g as si, b as oi } from "./CasinoSearch-Czy2BrGR.js";
|
|
3
3
|
import "../stencil/ui-image-Ch-GHki1.js";
|
|
4
4
|
function li(e) {
|
|
5
5
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
package/components/{CasinoNavigationSearch-D2TFQtTD.js → CasinoNavigationSearch-Chy4UUVM.js}
RENAMED
|
@@ -545,7 +545,7 @@ if (typeof window < "u") {
|
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
547
|
};
|
|
548
|
-
customElements.define = t(customElements.define), import("./CasinoSearch-
|
|
548
|
+
customElements.define = t(customElements.define), import("./CasinoSearch-Czy2BrGR.js").then((e) => e.C).then(({ default: e }) => {
|
|
549
549
|
!customElements.get("casino-search") && customElements.define("casino-search", e.element);
|
|
550
550
|
});
|
|
551
551
|
}
|
|
@@ -561,7 +561,7 @@ if (typeof window < "u") {
|
|
|
561
561
|
}
|
|
562
562
|
};
|
|
563
563
|
};
|
|
564
|
-
customElements.define = t(customElements.define), import("./CasinoCategoriesProviders-
|
|
564
|
+
customElements.define = t(customElements.define), import("./CasinoCategoriesProviders-CLfVa__L.js").then(({ default: e }) => {
|
|
565
565
|
!customElements.get("casino-categories-providers") && customElements.define("casino-categories-providers", e.element);
|
|
566
566
|
});
|
|
567
567
|
}
|
package/components/{CasinoNavigationSearch-CCkQbdS5.js → CasinoNavigationSearch-D1kW0fKC.js}
RENAMED
|
@@ -582,7 +582,7 @@ if (typeof window != "undefined") {
|
|
|
582
582
|
}
|
|
583
583
|
};
|
|
584
584
|
};
|
|
585
|
-
customElements.define = t(customElements.define), import("./CasinoSearch-
|
|
585
|
+
customElements.define = t(customElements.define), import("./CasinoSearch-Du5QvUcO.js").then((e) => e.C).then(({ default: e }) => {
|
|
586
586
|
!customElements.get("casino-search") && customElements.define("casino-search", e.element);
|
|
587
587
|
});
|
|
588
588
|
}
|
|
@@ -598,7 +598,7 @@ if (typeof window != "undefined") {
|
|
|
598
598
|
}
|
|
599
599
|
};
|
|
600
600
|
};
|
|
601
|
-
customElements.define = t(customElements.define), import("./CasinoCategoriesProviders-
|
|
601
|
+
customElements.define = t(customElements.define), import("./CasinoCategoriesProviders-sy4CqkL0.js").then(({ default: e }) => {
|
|
602
602
|
!customElements.get("casino-categories-providers") && customElements.define("casino-categories-providers", e.element);
|
|
603
603
|
});
|
|
604
604
|
}
|
package/components/{CasinoNavigationSearch-CvEgXDMX.cjs → CasinoNavigationSearch-T97ixxPr.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var ye=Object.defineProperty,we=Object.defineProperties;var pe=Object.getOwnPropertyDescriptors;var K=Object.getOwnPropertySymbols;var Se=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable;var x=(t,e,n)=>e in t?ye(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,W=(t,e)=>{for(var n in e||(e={}))Se.call(e,n)&&x(t,n,e[n]);if(K)for(var n of K(e))Ee.call(e,n)&&x(t,n,e[n]);return t},Y=(t,e)=>we(t,pe(e));var h=(t,e,n)=>(x(t,typeof e!="symbol"?e+"":e,n),n);var Q=(t,e,n)=>new Promise((s,u)=>{var i=c=>{try{f(n.next(c))}catch(r){u(r)}},o=c=>{try{f(n.throw(c))}catch(r){u(r)}},f=c=>c.done?s(c.value):Promise.resolve(c.value).then(i,o);f((n=n.apply(t,e)).next())});function p(){}function ee(t){return t()}function X(){return Object.create(null)}function O(t){t.forEach(ee)}function V(t){return typeof t=="function"}function te(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let j;function ve(t,e){return t===e?!0:(j||(j=document.createElement("a")),j.href=e,t===j.href)}function Ce(t){return Object.keys(t).length===0}function ne(t,...e){if(t==null){for(const s of e)s(void 0);return p}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Le(t,e,n){t.$$.on_destroy.push(ne(e,n))}function w(t,e){t.appendChild(e)}function se(t,e,n){const s=ke(t);if(!s.getElementById(e)){const u=$("style");u.id=e,u.textContent=n,Ne(s,u)}}function ke(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Ne(t,e){return w(t.head||t,e),e.sheet}function H(t,e,n){t.insertBefore(e,n||null)}function T(t){t.parentNode&&t.parentNode.removeChild(t)}function Ae(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function $(t){return document.createElement(t)}function ie(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function I(t){return document.createTextNode(t)}function re(){return I(" ")}function Oe(){return I("")}function Te(t,e,n,s){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n,s)}function N(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function l(t,e,n){const s=e.toLowerCase();s in t?t[s]=typeof t[s]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:N(t,e,n)}function Me(t){return Array.from(t.childNodes)}function je(t,e){e=""+e,t.data!==e&&(t.data=e)}function Pe(t,e){t.value=e==null?"":e}function Be(t,e,n){t.classList.toggle(e,!!n)}class He{constructor(e=!1){h(this,"is_svg",!1);h(this,"e");h(this,"n");h(this,"t");h(this,"a");this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,n,s=null){this.e||(this.is_svg?this.e=ie(n.nodeName):this.e=$(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(e)),this.i(s)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let n=0;n<this.n.length;n+=1)H(this.t,this.n[n],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(T)}}function Re(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}let A;function k(t){A=t}function xe(){if(!A)throw new Error("Function called outside component initialization");return A}function oe(t){xe().$$.on_mount.push(t)}const E=[],B=[];let C=[];const Z=[],ce=Promise.resolve();let q=!1;function ue(){q||(q=!0,ce.then(d))}function De(){return ue(),ce}function U(t){C.push(t)}const D=new Set;let S=0;function d(){if(S!==0)return;const t=A;do{try{for(;S<E.length;){const e=E[S];S++,k(e),qe(e.$$)}}catch(e){throw E.length=0,S=0,e}for(k(null),E.length=0,S=0;B.length;)B.pop()();for(let e=0;e<C.length;e+=1){const n=C[e];D.has(n)||(D.add(n),n())}C.length=0}while(E.length);for(;Z.length;)Z.pop()();q=!1,D.clear(),k(t)}function qe(t){if(t.fragment!==null){t.update(),O(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(U)}}function Ue(t){const e=[],n=[];C.forEach(s=>t.indexOf(s)===-1?e.push(s):n.push(s)),n.forEach(s=>s()),C=e}const Ve=new Set;function Ie(t,e){t&&t.i&&(Ve.delete(t),t.i(e))}function ze(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function Fe(t,e,n){const{fragment:s,after_update:u}=t.$$;s&&s.m(e,n),U(()=>{const i=t.$$.on_mount.map(ee).filter(V);t.$$.on_destroy?t.$$.on_destroy.push(...i):O(i),t.$$.on_mount=[]}),u.forEach(U)}function Ge(t,e){const n=t.$$;n.fragment!==null&&(Ue(n.after_update),O(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Je(t,e){t.$$.dirty[0]===-1&&(E.push(t),ue(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function le(t,e,n,s,u,i,o=null,f=[-1]){const c=A;k(t);const r=t.$$={fragment:null,ctx:[],props:i,update:p,not_equal:u,bound:X(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:X(),dirty:f,skip_bound:!1,root:e.target||c.$$.root};o&&o(r.root);let _=!1;if(r.ctx=n?n(t,e.props||{},(g,L,...b)=>{const y=b.length?b[0]:L;return r.ctx&&u(r.ctx[g],r.ctx[g]=y)&&(!r.skip_bound&&r.bound[g]&&r.bound[g](y),_&&Je(t,g)),L}):[],r.update(),_=!0,O(r.before_update),r.fragment=s?s(r.ctx):!1,e.target){if(e.hydrate){const g=Me(e.target);r.fragment&&r.fragment.l(g),g.forEach(T)}else r.fragment&&r.fragment.c();e.intro&&Ie(t.$$.fragment),Fe(t,e.target,e.anchor),d()}k(c)}let ae;typeof HTMLElement=="function"&&(ae=class extends HTMLElement{constructor(e,n,s){super();h(this,"$$ctor");h(this,"$$s");h(this,"$$c");h(this,"$$cn",!1);h(this,"$$d",{});h(this,"$$r",!1);h(this,"$$p_d",{});h(this,"$$l",{});h(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(e,n,s){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(n),this.$$c){const u=this.$$c.$on(e,n);this.$$l_u.set(n,u)}super.addEventListener(e,n,s)}removeEventListener(e,n,s){if(super.removeEventListener(e,n,s),this.$$c){const u=this.$$l_u.get(n);u&&(u(),this.$$l_u.delete(n))}}connectedCallback(){return Q(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(i){return()=>{let o;return{c:function(){o=$("slot"),i!=="default"&&N(o,"name",i)},m:function(r,_){H(r,o,_)},d:function(r){r&&T(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=Re(this);for(const i of this.$$s)i in s&&(n[i]=[e(i)]);for(const i of this.attributes){const o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=P(o,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Y(W({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const u=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const o=P(i,this.$$d[i],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,o)}this.$$r=!1};this.$$c.$$.after_update.push(u),u();for(const i in this.$$l)for(const o of this.$$l[i]){const f=this.$$c.$on(i,o);this.$$l_u.set(o,f)}this.$$l={}}})}attributeChangedCallback(e,n,s){var u;this.$$r||(e=this.$$g_p(e),this.$$d[e]=P(e,s,this.$$p_d,"toProp"),(u=this.$$c)==null||u.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===e||!this.$$p_d[n].attribute&&n.toLowerCase()===e)||e}});function P(t,e,n,s){var i;const u=(i=n[t])==null?void 0:i.type;if(e=u==="Boolean"&&typeof e!="boolean"?e!=null:e,!s||!n[t])return e;if(s==="toAttribute")switch(u){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(u){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function fe(t,e,n,s,u,i){let o=class extends ae{constructor(){super(t,n,u),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(f=>(e[f].attribute||f).toLowerCase())}};return Object.keys(e).forEach(f=>{Object.defineProperty(o.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(c){var r;c=P(f,c,e),this.$$d[f]=c,(r=this.$$c)==null||r.$set({[f]:c})}})}),s.forEach(f=>{Object.defineProperty(o.prototype,f,{get(){var c;return(c=this.$$c)==null?void 0:c[f]}})}),t.element=o,o}class de{constructor(){h(this,"$$");h(this,"$$set")}$destroy(){Ge(this,1),this.$destroy=p}$on(e,n){if(!V(n))return p;const s=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return s.push(n),()=>{const u=s.indexOf(n);u!==-1&&s.splice(u,1)}}$set(e){this.$$set&&!Ce(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Ke="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ke);if(typeof window!="undefined"){let t=function(e){return function(...n){try{return e.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoSearch-DAbJt683.cjs")).then(e=>e.CasinoSearch_ce).then(({default:e})=>{!customElements.get("casino-search")&&customElements.define("casino-search",e.element)})}if(typeof window!="undefined"){let t=function(e){return function(...n){try{return e.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoCategoriesProviders-b868yoe6.cjs")).then(({default:e})=>{!customElements.get("casino-categories-providers")&&customElements.define("casino-categories-providers",e.element)})}const v="__WIDGET_GLOBAL_STYLE_CACHE__";function he(t,e){if(t){const n=document.createElement("style");n.innerHTML=e,t.appendChild(n)}}function ge(t,e){if(!t||!e)return;const n=new URL(e);fetch(n.href).then(s=>s.text()).then(s=>{const u=document.createElement("style");u.innerHTML=s,t&&t.appendChild(u)}).catch(s=>{console.error("There was an error while trying to load client styling from URL",s)})}function me(t,e,n,s=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!s)return n=We(t,e),n;window[v]||(window[v]={}),n=Ye(t,e);const i=n.unsubscribe.bind(n),o=()=>{if(window[v][e]){const f=window[v][e];f.refCount>1?f.refCount=f.refCount-1:delete window[v][e]}i()};return n.unsubscribe=o,n}function We(t,e){const n=document.createElement("style");return window.emMessageBus.subscribe(e,s=>{t&&(n.innerHTML=s,t.appendChild(n))})}function Ye(t,e){return window.emMessageBus.subscribe(e,n=>{if(!t)return;const s=t.getRootNode(),u=window[v];let i=u[e]&&u[e].sheet;i?u[e].refCount=u[e].refCount+1:(i=new CSSStyleSheet,i.replaceSync(n),u[e]={sheet:i,refCount:1});const o=s.adoptedStyleSheets||[];o.includes(i)||(s.adoptedStyleSheets=[...o,i])})}function Qe(t){se(t,"svelte-raimvs","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.NotVisible{display:none}")}function Xe(t){let e,n,s,u,i,o,f;return{c(){e=$("div"),n=$("div"),s=$("casino-search"),u=re(),i=$("div"),o=$("casino-categories-providers"),l(s,"endpoint",t[0]),l(s,"datasource",t[5]),l(s,"lang",t[9]),l(s,"session",t[1]),l(s,"userid",t[2]),l(s,"showfavorites",t[8]),l(s,"clientstyling",t[10]),l(s,"clientstylingurl",t[11]),l(s,"integratedgameframedesktop",t[12]),l(s,"integratedgameframemobile",t[13]),l(s,"gamepagemodalurl",t[14]),l(s,"mbsource",t[15]),l(o,"endpointcategories",t[3]),l(o,"datasourcecategories",t[5]),l(o,"activecategory",t[6]),l(o,"endpointproviders",t[4]),l(o,"datasourceproviders",t[5]),l(o,"excludedflags",t[7]),l(o,"lang",t[9]),l(o,"clientstyling",t[10]),l(o,"clientstylingurl",t[11]),l(o,"mbsource",t[15]),N(i,"class",f=t[17]===!0?"NotVisible":"")},m(c,r){H(c,e,r),w(e,n),w(n,s),w(e,u),w(e,i),w(i,o),t[18](e)},p(c,[r]){r&1&&l(s,"endpoint",c[0]),r&32&&l(s,"datasource",c[5]),r&512&&l(s,"lang",c[9]),r&2&&l(s,"session",c[1]),r&4&&l(s,"userid",c[2]),r&256&&l(s,"showfavorites",c[8]),r&1024&&l(s,"clientstyling",c[10]),r&2048&&l(s,"clientstylingurl",c[11]),r&4096&&l(s,"integratedgameframedesktop",c[12]),r&8192&&l(s,"integratedgameframemobile",c[13]),r&16384&&l(s,"gamepagemodalurl",c[14]),r&32768&&l(s,"mbsource",c[15]),r&8&&l(o,"endpointcategories",c[3]),r&32&&l(o,"datasourcecategories",c[5]),r&64&&l(o,"activecategory",c[6]),r&16&&l(o,"endpointproviders",c[4]),r&32&&l(o,"datasourceproviders",c[5]),r&128&&l(o,"excludedflags",c[7]),r&512&&l(o,"lang",c[9]),r&1024&&l(o,"clientstyling",c[10]),r&2048&&l(o,"clientstylingurl",c[11]),r&32768&&l(o,"mbsource",c[15]),r&131072&&f!==(f=c[17]===!0?"NotVisible":"")&&N(i,"class",f)},i:p,o:p,d(c){c&&T(e),t[18](null)}}}function Ze(t,e,n){let{endpoint:s=""}=e,{session:u=""}=e,{userid:i=""}=e,{endpointcategories:o=""}=e,{endpointproviders:f=""}=e,{datasource:c=""}=e,{activecategory:r=""}=e,{excludedflags:_=""}=e,{showfavorites:g=""}=e,{lang:L="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:y=""}=e,{integratedgameframedesktop:z="false"}=e,{integratedgameframemobile:F="false"}=e,{gamepagemodalurl:G="true"}=e,{mbsource:M}=e,R,_e,m;const J=a=>{a.data&&a.data.type=="searchActive"&&n(17,R=a.data.searchStatus),a.data&&a.data.type=="searchCancelled"&&n(17,R=a.data.searchStatus)};oe(()=>(window.addEventListener("message",J,!1),()=>{window.removeEventListener("message",J)}));function be(a){B[a?"unshift":"push"](()=>{m=a,n(16,m)})}return t.$$set=a=>{"endpoint"in a&&n(0,s=a.endpoint),"session"in a&&n(1,u=a.session),"userid"in a&&n(2,i=a.userid),"endpointcategories"in a&&n(3,o=a.endpointcategories),"endpointproviders"in a&&n(4,f=a.endpointproviders),"datasource"in a&&n(5,c=a.datasource),"activecategory"in a&&n(6,r=a.activecategory),"excludedflags"in a&&n(7,_=a.excludedflags),"showfavorites"in a&&n(8,g=a.showfavorites),"lang"in a&&n(9,L=a.lang),"clientstyling"in a&&n(10,b=a.clientstyling),"clientstylingurl"in a&&n(11,y=a.clientstylingurl),"integratedgameframedesktop"in a&&n(12,z=a.integratedgameframedesktop),"integratedgameframemobile"in a&&n(13,F=a.integratedgameframemobile),"gamepagemodalurl"in a&&n(14,G=a.gamepagemodalurl),"mbsource"in a&&n(15,M=a.mbsource)},t.$$.update=()=>{t.$$.dirty&66560&&b&&m&&he(m,b),t.$$.dirty&67584&&y&&m&&ge(m,y),t.$$.dirty&98304&&M&&m&&me(m,`${M}.Style`,_e)},[s,u,i,o,f,c,r,_,g,L,b,y,z,F,G,M,m,R,be]}class $e extends de{constructor(e){super(),le(this,e,Ze,Xe,te,{endpoint:0,session:1,userid:2,endpointcategories:3,endpointproviders:4,datasource:5,activecategory:6,excludedflags:7,showfavorites:8,lang:9,clientstyling:10,clientstylingurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,gamepagemodalurl:14,mbsource:15},Qe)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),d()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),d()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),d()}get endpointcategories(){return this.$$.ctx[3]}set endpointcategories(e){this.$$set({endpointcategories:e}),d()}get endpointproviders(){return this.$$.ctx[4]}set endpointproviders(e){this.$$set({endpointproviders:e}),d()}get datasource(){return this.$$.ctx[5]}set datasource(e){this.$$set({datasource:e}),d()}get activecategory(){return this.$$.ctx[6]}set activecategory(e){this.$$set({activecategory:e}),d()}get excludedflags(){return this.$$.ctx[7]}set excludedflags(e){this.$$set({excludedflags:e}),d()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),d()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),d()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),d()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),d()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),d()}get mbsource(){return this.$$.ctx[15]}set mbsource(e){this.$$set({mbsource:e}),d()}}fe($e,{endpoint:{},session:{},userid:{},endpointcategories:{},endpointproviders:{},datasource:{},activecategory:{},excludedflags:{},showfavorites:{},lang:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},gamepagemodalurl:{},mbsource:{}},[],[],!0);const et=Object.freeze(Object.defineProperty({__proto__:null,default:$e},Symbol.toStringTag,{value:"Module"}));exports.CasinoNavigationSearch_ce=et;exports.HtmlTag=He;exports.SvelteComponent=de;exports.append=w;exports.append_styles=se;exports.attr=N;exports.binding_callbacks=B;exports.component_subscribe=Le;exports.create_custom_element=fe;exports.destroy_each=Ae;exports.detach=T;exports.element=$;exports.empty=Oe;exports.ensure_array_like=ze;exports.flush=d;exports.init=le;exports.insert=H;exports.is_function=V;exports.listen=Te;exports.noop=p;exports.onMount=oe;exports.run_all=O;exports.safe_not_equal=te;exports.setClientStyling=he;exports.setClientStylingURL=ge;exports.setStreamStyling=me;exports.set_custom_element_data=l;exports.set_data=je;exports.set_input_value=Pe;exports.space=re;exports.src_url_equal=ve;exports.subscribe=ne;exports.svg_element=ie;exports.text=I;exports.tick=De;exports.toggle_class=Be;
|
|
1
|
+
"use strict";var ye=Object.defineProperty,we=Object.defineProperties;var pe=Object.getOwnPropertyDescriptors;var K=Object.getOwnPropertySymbols;var Se=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable;var x=(t,e,n)=>e in t?ye(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,W=(t,e)=>{for(var n in e||(e={}))Se.call(e,n)&&x(t,n,e[n]);if(K)for(var n of K(e))Ee.call(e,n)&&x(t,n,e[n]);return t},Y=(t,e)=>we(t,pe(e));var h=(t,e,n)=>(x(t,typeof e!="symbol"?e+"":e,n),n);var Q=(t,e,n)=>new Promise((s,u)=>{var i=c=>{try{f(n.next(c))}catch(r){u(r)}},o=c=>{try{f(n.throw(c))}catch(r){u(r)}},f=c=>c.done?s(c.value):Promise.resolve(c.value).then(i,o);f((n=n.apply(t,e)).next())});function p(){}function ee(t){return t()}function X(){return Object.create(null)}function O(t){t.forEach(ee)}function V(t){return typeof t=="function"}function te(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let j;function ve(t,e){return t===e?!0:(j||(j=document.createElement("a")),j.href=e,t===j.href)}function Ce(t){return Object.keys(t).length===0}function ne(t,...e){if(t==null){for(const s of e)s(void 0);return p}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Le(t,e,n){t.$$.on_destroy.push(ne(e,n))}function w(t,e){t.appendChild(e)}function se(t,e,n){const s=ke(t);if(!s.getElementById(e)){const u=$("style");u.id=e,u.textContent=n,Ne(s,u)}}function ke(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Ne(t,e){return w(t.head||t,e),e.sheet}function H(t,e,n){t.insertBefore(e,n||null)}function T(t){t.parentNode&&t.parentNode.removeChild(t)}function Ae(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function $(t){return document.createElement(t)}function ie(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function I(t){return document.createTextNode(t)}function re(){return I(" ")}function Oe(){return I("")}function Te(t,e,n,s){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n,s)}function N(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function l(t,e,n){const s=e.toLowerCase();s in t?t[s]=typeof t[s]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:N(t,e,n)}function Me(t){return Array.from(t.childNodes)}function je(t,e){e=""+e,t.data!==e&&(t.data=e)}function Pe(t,e){t.value=e==null?"":e}function Be(t,e,n){t.classList.toggle(e,!!n)}class He{constructor(e=!1){h(this,"is_svg",!1);h(this,"e");h(this,"n");h(this,"t");h(this,"a");this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,n,s=null){this.e||(this.is_svg?this.e=ie(n.nodeName):this.e=$(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(e)),this.i(s)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let n=0;n<this.n.length;n+=1)H(this.t,this.n[n],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(T)}}function Re(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}let A;function k(t){A=t}function xe(){if(!A)throw new Error("Function called outside component initialization");return A}function oe(t){xe().$$.on_mount.push(t)}const E=[],B=[];let C=[];const Z=[],ce=Promise.resolve();let q=!1;function ue(){q||(q=!0,ce.then(d))}function De(){return ue(),ce}function U(t){C.push(t)}const D=new Set;let S=0;function d(){if(S!==0)return;const t=A;do{try{for(;S<E.length;){const e=E[S];S++,k(e),qe(e.$$)}}catch(e){throw E.length=0,S=0,e}for(k(null),E.length=0,S=0;B.length;)B.pop()();for(let e=0;e<C.length;e+=1){const n=C[e];D.has(n)||(D.add(n),n())}C.length=0}while(E.length);for(;Z.length;)Z.pop()();q=!1,D.clear(),k(t)}function qe(t){if(t.fragment!==null){t.update(),O(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(U)}}function Ue(t){const e=[],n=[];C.forEach(s=>t.indexOf(s)===-1?e.push(s):n.push(s)),n.forEach(s=>s()),C=e}const Ve=new Set;function Ie(t,e){t&&t.i&&(Ve.delete(t),t.i(e))}function ze(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function Fe(t,e,n){const{fragment:s,after_update:u}=t.$$;s&&s.m(e,n),U(()=>{const i=t.$$.on_mount.map(ee).filter(V);t.$$.on_destroy?t.$$.on_destroy.push(...i):O(i),t.$$.on_mount=[]}),u.forEach(U)}function Ge(t,e){const n=t.$$;n.fragment!==null&&(Ue(n.after_update),O(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Je(t,e){t.$$.dirty[0]===-1&&(E.push(t),ue(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function le(t,e,n,s,u,i,o=null,f=[-1]){const c=A;k(t);const r=t.$$={fragment:null,ctx:[],props:i,update:p,not_equal:u,bound:X(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:X(),dirty:f,skip_bound:!1,root:e.target||c.$$.root};o&&o(r.root);let _=!1;if(r.ctx=n?n(t,e.props||{},(g,L,...b)=>{const y=b.length?b[0]:L;return r.ctx&&u(r.ctx[g],r.ctx[g]=y)&&(!r.skip_bound&&r.bound[g]&&r.bound[g](y),_&&Je(t,g)),L}):[],r.update(),_=!0,O(r.before_update),r.fragment=s?s(r.ctx):!1,e.target){if(e.hydrate){const g=Me(e.target);r.fragment&&r.fragment.l(g),g.forEach(T)}else r.fragment&&r.fragment.c();e.intro&&Ie(t.$$.fragment),Fe(t,e.target,e.anchor),d()}k(c)}let ae;typeof HTMLElement=="function"&&(ae=class extends HTMLElement{constructor(e,n,s){super();h(this,"$$ctor");h(this,"$$s");h(this,"$$c");h(this,"$$cn",!1);h(this,"$$d",{});h(this,"$$r",!1);h(this,"$$p_d",{});h(this,"$$l",{});h(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(e,n,s){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(n),this.$$c){const u=this.$$c.$on(e,n);this.$$l_u.set(n,u)}super.addEventListener(e,n,s)}removeEventListener(e,n,s){if(super.removeEventListener(e,n,s),this.$$c){const u=this.$$l_u.get(n);u&&(u(),this.$$l_u.delete(n))}}connectedCallback(){return Q(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(i){return()=>{let o;return{c:function(){o=$("slot"),i!=="default"&&N(o,"name",i)},m:function(r,_){H(r,o,_)},d:function(r){r&&T(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=Re(this);for(const i of this.$$s)i in s&&(n[i]=[e(i)]);for(const i of this.attributes){const o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=P(o,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Y(W({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const u=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const o=P(i,this.$$d[i],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,o)}this.$$r=!1};this.$$c.$$.after_update.push(u),u();for(const i in this.$$l)for(const o of this.$$l[i]){const f=this.$$c.$on(i,o);this.$$l_u.set(o,f)}this.$$l={}}})}attributeChangedCallback(e,n,s){var u;this.$$r||(e=this.$$g_p(e),this.$$d[e]=P(e,s,this.$$p_d,"toProp"),(u=this.$$c)==null||u.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===e||!this.$$p_d[n].attribute&&n.toLowerCase()===e)||e}});function P(t,e,n,s){var i;const u=(i=n[t])==null?void 0:i.type;if(e=u==="Boolean"&&typeof e!="boolean"?e!=null:e,!s||!n[t])return e;if(s==="toAttribute")switch(u){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(u){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function fe(t,e,n,s,u,i){let o=class extends ae{constructor(){super(t,n,u),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(f=>(e[f].attribute||f).toLowerCase())}};return Object.keys(e).forEach(f=>{Object.defineProperty(o.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(c){var r;c=P(f,c,e),this.$$d[f]=c,(r=this.$$c)==null||r.$set({[f]:c})}})}),s.forEach(f=>{Object.defineProperty(o.prototype,f,{get(){var c;return(c=this.$$c)==null?void 0:c[f]}})}),t.element=o,o}class de{constructor(){h(this,"$$");h(this,"$$set")}$destroy(){Ge(this,1),this.$destroy=p}$on(e,n){if(!V(n))return p;const s=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return s.push(n),()=>{const u=s.indexOf(n);u!==-1&&s.splice(u,1)}}$set(e){this.$$set&&!Ce(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Ke="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ke);if(typeof window!="undefined"){let t=function(e){return function(...n){try{return e.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoSearch-B-URKwds.cjs")).then(e=>e.CasinoSearch_ce).then(({default:e})=>{!customElements.get("casino-search")&&customElements.define("casino-search",e.element)})}if(typeof window!="undefined"){let t=function(e){return function(...n){try{return e.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoCategoriesProviders-DxKmwl6e.cjs")).then(({default:e})=>{!customElements.get("casino-categories-providers")&&customElements.define("casino-categories-providers",e.element)})}const v="__WIDGET_GLOBAL_STYLE_CACHE__";function he(t,e){if(t){const n=document.createElement("style");n.innerHTML=e,t.appendChild(n)}}function ge(t,e){if(!t||!e)return;const n=new URL(e);fetch(n.href).then(s=>s.text()).then(s=>{const u=document.createElement("style");u.innerHTML=s,t&&t.appendChild(u)}).catch(s=>{console.error("There was an error while trying to load client styling from URL",s)})}function me(t,e,n,s=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!s)return n=We(t,e),n;window[v]||(window[v]={}),n=Ye(t,e);const i=n.unsubscribe.bind(n),o=()=>{if(window[v][e]){const f=window[v][e];f.refCount>1?f.refCount=f.refCount-1:delete window[v][e]}i()};return n.unsubscribe=o,n}function We(t,e){const n=document.createElement("style");return window.emMessageBus.subscribe(e,s=>{t&&(n.innerHTML=s,t.appendChild(n))})}function Ye(t,e){return window.emMessageBus.subscribe(e,n=>{if(!t)return;const s=t.getRootNode(),u=window[v];let i=u[e]&&u[e].sheet;i?u[e].refCount=u[e].refCount+1:(i=new CSSStyleSheet,i.replaceSync(n),u[e]={sheet:i,refCount:1});const o=s.adoptedStyleSheets||[];o.includes(i)||(s.adoptedStyleSheets=[...o,i])})}function Qe(t){se(t,"svelte-raimvs","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.NotVisible{display:none}")}function Xe(t){let e,n,s,u,i,o,f;return{c(){e=$("div"),n=$("div"),s=$("casino-search"),u=re(),i=$("div"),o=$("casino-categories-providers"),l(s,"endpoint",t[0]),l(s,"datasource",t[5]),l(s,"lang",t[9]),l(s,"session",t[1]),l(s,"userid",t[2]),l(s,"showfavorites",t[8]),l(s,"clientstyling",t[10]),l(s,"clientstylingurl",t[11]),l(s,"integratedgameframedesktop",t[12]),l(s,"integratedgameframemobile",t[13]),l(s,"gamepagemodalurl",t[14]),l(s,"mbsource",t[15]),l(o,"endpointcategories",t[3]),l(o,"datasourcecategories",t[5]),l(o,"activecategory",t[6]),l(o,"endpointproviders",t[4]),l(o,"datasourceproviders",t[5]),l(o,"excludedflags",t[7]),l(o,"lang",t[9]),l(o,"clientstyling",t[10]),l(o,"clientstylingurl",t[11]),l(o,"mbsource",t[15]),N(i,"class",f=t[17]===!0?"NotVisible":"")},m(c,r){H(c,e,r),w(e,n),w(n,s),w(e,u),w(e,i),w(i,o),t[18](e)},p(c,[r]){r&1&&l(s,"endpoint",c[0]),r&32&&l(s,"datasource",c[5]),r&512&&l(s,"lang",c[9]),r&2&&l(s,"session",c[1]),r&4&&l(s,"userid",c[2]),r&256&&l(s,"showfavorites",c[8]),r&1024&&l(s,"clientstyling",c[10]),r&2048&&l(s,"clientstylingurl",c[11]),r&4096&&l(s,"integratedgameframedesktop",c[12]),r&8192&&l(s,"integratedgameframemobile",c[13]),r&16384&&l(s,"gamepagemodalurl",c[14]),r&32768&&l(s,"mbsource",c[15]),r&8&&l(o,"endpointcategories",c[3]),r&32&&l(o,"datasourcecategories",c[5]),r&64&&l(o,"activecategory",c[6]),r&16&&l(o,"endpointproviders",c[4]),r&32&&l(o,"datasourceproviders",c[5]),r&128&&l(o,"excludedflags",c[7]),r&512&&l(o,"lang",c[9]),r&1024&&l(o,"clientstyling",c[10]),r&2048&&l(o,"clientstylingurl",c[11]),r&32768&&l(o,"mbsource",c[15]),r&131072&&f!==(f=c[17]===!0?"NotVisible":"")&&N(i,"class",f)},i:p,o:p,d(c){c&&T(e),t[18](null)}}}function Ze(t,e,n){let{endpoint:s=""}=e,{session:u=""}=e,{userid:i=""}=e,{endpointcategories:o=""}=e,{endpointproviders:f=""}=e,{datasource:c=""}=e,{activecategory:r=""}=e,{excludedflags:_=""}=e,{showfavorites:g=""}=e,{lang:L="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:y=""}=e,{integratedgameframedesktop:z="false"}=e,{integratedgameframemobile:F="false"}=e,{gamepagemodalurl:G="true"}=e,{mbsource:M}=e,R,_e,m;const J=a=>{a.data&&a.data.type=="searchActive"&&n(17,R=a.data.searchStatus),a.data&&a.data.type=="searchCancelled"&&n(17,R=a.data.searchStatus)};oe(()=>(window.addEventListener("message",J,!1),()=>{window.removeEventListener("message",J)}));function be(a){B[a?"unshift":"push"](()=>{m=a,n(16,m)})}return t.$$set=a=>{"endpoint"in a&&n(0,s=a.endpoint),"session"in a&&n(1,u=a.session),"userid"in a&&n(2,i=a.userid),"endpointcategories"in a&&n(3,o=a.endpointcategories),"endpointproviders"in a&&n(4,f=a.endpointproviders),"datasource"in a&&n(5,c=a.datasource),"activecategory"in a&&n(6,r=a.activecategory),"excludedflags"in a&&n(7,_=a.excludedflags),"showfavorites"in a&&n(8,g=a.showfavorites),"lang"in a&&n(9,L=a.lang),"clientstyling"in a&&n(10,b=a.clientstyling),"clientstylingurl"in a&&n(11,y=a.clientstylingurl),"integratedgameframedesktop"in a&&n(12,z=a.integratedgameframedesktop),"integratedgameframemobile"in a&&n(13,F=a.integratedgameframemobile),"gamepagemodalurl"in a&&n(14,G=a.gamepagemodalurl),"mbsource"in a&&n(15,M=a.mbsource)},t.$$.update=()=>{t.$$.dirty&66560&&b&&m&&he(m,b),t.$$.dirty&67584&&y&&m&&ge(m,y),t.$$.dirty&98304&&M&&m&&me(m,`${M}.Style`,_e)},[s,u,i,o,f,c,r,_,g,L,b,y,z,F,G,M,m,R,be]}class $e extends de{constructor(e){super(),le(this,e,Ze,Xe,te,{endpoint:0,session:1,userid:2,endpointcategories:3,endpointproviders:4,datasource:5,activecategory:6,excludedflags:7,showfavorites:8,lang:9,clientstyling:10,clientstylingurl:11,integratedgameframedesktop:12,integratedgameframemobile:13,gamepagemodalurl:14,mbsource:15},Qe)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),d()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),d()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),d()}get endpointcategories(){return this.$$.ctx[3]}set endpointcategories(e){this.$$set({endpointcategories:e}),d()}get endpointproviders(){return this.$$.ctx[4]}set endpointproviders(e){this.$$set({endpointproviders:e}),d()}get datasource(){return this.$$.ctx[5]}set datasource(e){this.$$set({datasource:e}),d()}get activecategory(){return this.$$.ctx[6]}set activecategory(e){this.$$set({activecategory:e}),d()}get excludedflags(){return this.$$.ctx[7]}set excludedflags(e){this.$$set({excludedflags:e}),d()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),d()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),d()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),d()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),d()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),d()}get mbsource(){return this.$$.ctx[15]}set mbsource(e){this.$$set({mbsource:e}),d()}}fe($e,{endpoint:{},session:{},userid:{},endpointcategories:{},endpointproviders:{},datasource:{},activecategory:{},excludedflags:{},showfavorites:{},lang:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},gamepagemodalurl:{},mbsource:{}},[],[],!0);const et=Object.freeze(Object.defineProperty({__proto__:null,default:$e},Symbol.toStringTag,{value:"Module"}));exports.CasinoNavigationSearch_ce=et;exports.HtmlTag=He;exports.SvelteComponent=de;exports.append=w;exports.append_styles=se;exports.attr=N;exports.binding_callbacks=B;exports.component_subscribe=Le;exports.create_custom_element=fe;exports.destroy_each=Ae;exports.detach=T;exports.element=$;exports.empty=Oe;exports.ensure_array_like=ze;exports.flush=d;exports.init=le;exports.insert=H;exports.is_function=V;exports.listen=Te;exports.noop=p;exports.onMount=oe;exports.run_all=O;exports.safe_not_equal=te;exports.setClientStyling=he;exports.setClientStylingURL=ge;exports.setStreamStyling=me;exports.set_custom_element_data=l;exports.set_data=je;exports.set_input_value=Pe;exports.space=re;exports.src_url_equal=ve;exports.subscribe=ne;exports.svg_element=ie;exports.text=I;exports.tick=De;exports.toggle_class=Be;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoNavigationSearch-CvEgXDMX.cjs"),T=require("./CasinoSearch-DAbJt683.cjs"),j={en:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait...",games:"games"},"zh-hk":{popularProviders:"热门供应商",otherProviders:"其他供应商",loading:"加载请稍候...",games:"游戏"},de:{popularProviders:"Beliebte Anbieter",otherProviders:"Andere Anbieter",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},fr:{popularProviders:"Fournisseurs populaires",otherProviders:"Autres fournisseurs",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{popularProviders:"Proveedores Populares",otherProviders:"Otros Proveedores",loading:"Cargando",games:"juegos"},tr:{popularProviders:"Şimdi Oyna",otherProviders:"Rastgele oynanacak oyun yok",loading:"Son arama",games:"Oyunları Ara"},ru:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},ro:{popularProviders:"Furnizori de top",otherProviders:"Alti furnizori",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{popularProviders:"Popularni brendovi",otherProviders:"Ostali brendovi",loading:"Učitavanje",games:"Igre"},hu:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},pl:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},pt:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},sl:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},sr:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},"pt-br":{popularProviders:"provedores populares",otherProviders:"Outros provedores",Loading:"Carregando",games:"jogos"},"es-mx":{popularProviders:"Proveedores Populares",otherProviders:"Otros proveedores",Loading:"Cargando, por favor espere...",games:"juegos"},"en-us":{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait...",games:"games"}};function F(r,t){T.addMessages(r,t)}function E(r){T.$locale.set(r)}function V(r){e.append_styles(r,"svelte-1bsli1q","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emw--color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}")}function x(r,t,l){const o=r.slice();return o[21]=t[l],o}function A(r,t,l){const o=r.slice();return o[21]=t[l],o}function I(r){let t,l=r[4]("popularProviders")+"",o,n,p,d,v=r[4]("otherProviders")+"",m,_,P,h=e.ensure_array_like(r[1]),u=[];for(let a=0;a<h.length;a+=1)u[a]=q(A(r,h,a));let f=e.ensure_array_like(r[2]),c=[];for(let a=0;a<f.length;a+=1)c[a]=M(x(r,f,a));return{c(){t=e.element("h4"),o=e.text(l),n=e.space();for(let a=0;a<u.length;a+=1)u[a].c();p=e.space(),d=e.element("h4"),m=e.text(v),_=e.space();for(let a=0;a<c.length;a+=1)c[a].c();P=e.empty(),e.attr(t,"class","ProviderTitle"),e.attr(d,"class","ProviderTitle")},m(a,g){e.insert(a,t,g),e.append(t,o),e.insert(a,n,g);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(a,g);e.insert(a,p,g),e.insert(a,d,g),e.append(d,m),e.insert(a,_,g);for(let i=0;i<c.length;i+=1)c[i]&&c[i].m(a,g);e.insert(a,P,g)},p(a,g){if(g&16&&l!==(l=a[4]("popularProviders")+"")&&e.set_data(o,l),g&50){h=e.ensure_array_like(a[1]);let i;for(i=0;i<h.length;i+=1){const y=A(a,h,i);u[i]?u[i].p(y,g):(u[i]=q(y),u[i].c(),u[i].m(p.parentNode,p))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}if(g&16&&v!==(v=a[4]("otherProviders")+"")&&e.set_data(m,v),g&52){f=e.ensure_array_like(a[2]);let i;for(i=0;i<f.length;i+=1){const y=x(a,f,i);c[i]?c[i].p(y,g):(c[i]=M(y),c[i].c(),c[i].m(P.parentNode,P))}for(;i<c.length;i+=1)c[i].d(1);c.length=f.length}},d(a){a&&(e.detach(t),e.detach(n),e.detach(p),e.detach(d),e.detach(_),e.detach(P)),e.destroy_each(u,a),e.destroy_each(c,a)}}}function R(r){let t,l=r[4]("loading")+"",o;return{c(){t=e.element("p"),o=e.text(l),e.attr(t,"class","Message")},m(n,p){e.insert(n,t,p),e.append(t,o)},p(n,p){p&16&&l!==(l=n[4]("loading")+"")&&e.set_data(o,l)},d(n){n&&e.detach(t)}}}function q(r){let t,l,o,n,p,d,v,m=r[21].name+"",_,P,h,u=r[21].games.count+"",f,c,a=r[4]("games")+"",g,i,y;function C(){return r[13](r[21])}return{c(){t=e.element("div"),l=e.element("img"),p=e.space(),d=e.element("div"),v=e.element("p"),_=e.text(m),P=e.space(),h=e.element("p"),f=e.text(u),c=e.space(),g=e.text(a),e.src_url_equal(l.src,o=r[21].logo)||e.attr(l,"src",o),e.attr(l,"alt",n=r[21].name),e.attr(l,"class","ProviderImage"),e.attr(d,"class","ProviderTextContainer"),e.attr(t,"class","Provider")},m(w,b){e.insert(w,t,b),e.append(t,l),e.append(t,p),e.append(t,d),e.append(d,v),e.append(v,_),e.append(d,P),e.append(d,h),e.append(h,f),e.append(h,c),e.append(h,g),i||(y=e.listen(t,"click",C),i=!0)},p(w,b){r=w,b&2&&!e.src_url_equal(l.src,o=r[21].logo)&&e.attr(l,"src",o),b&2&&n!==(n=r[21].name)&&e.attr(l,"alt",n),b&2&&m!==(m=r[21].name+"")&&e.set_data(_,m),b&2&&u!==(u=r[21].games.count+"")&&e.set_data(f,u),b&16&&a!==(a=r[4]("games")+"")&&e.set_data(g,a)},d(w){w&&e.detach(t),i=!1,y()}}}function M(r){let t,l,o,n,p,d,v,m=r[21].name+"",_,P,h,u=r[21].games.count+"",f,c,a=r[4]("games")+"",g,i,y,C;function w(){return r[14](r[21])}return{c(){t=e.element("div"),l=e.element("img"),p=e.space(),d=e.element("div"),v=e.element("p"),_=e.text(m),P=e.space(),h=e.element("p"),f=e.text(u),c=e.space(),g=e.text(a),i=e.space(),e.src_url_equal(l.src,o=r[21].logo)||e.attr(l,"src",o),e.attr(l,"alt",n=r[21].name),e.attr(l,"class","ProviderImage"),e.attr(d,"class","ProviderTextContainer"),e.attr(t,"class","Provider")},m(b,k){e.insert(b,t,k),e.append(t,l),e.append(t,p),e.append(t,d),e.append(d,v),e.append(v,_),e.append(d,P),e.append(d,h),e.append(h,f),e.append(h,c),e.append(h,g),e.append(t,i),y||(C=e.listen(t,"click",w),y=!0)},p(b,k){r=b,k&4&&!e.src_url_equal(l.src,o=r[21].logo)&&e.attr(l,"src",o),k&4&&n!==(n=r[21].name)&&e.attr(l,"alt",n),k&4&&m!==(m=r[21].name+"")&&e.set_data(_,m),k&4&&u!==(u=r[21].games.count+"")&&e.set_data(f,u),k&16&&a!==(a=r[4]("games")+"")&&e.set_data(g,a)},d(b){b&&e.detach(t),y=!1,C()}}}function U(r){let t;function l(p,d){return p[3]===!0?R:I}let o=l(r),n=o(r);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","CasinoProviders")},m(p,d){e.insert(p,t,d),n.m(t,null),r[15](t)},p(p,[d]){o===(o=l(p))&&n?n.p(p,d):(n.d(1),n=o(p),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),n.d(),r[15](null)}}}function G(r,t,l){let o;e.component_subscribe(r,T.$format,s=>l(4,o=s));let{endpoint:n=""}=t,{datasource:p=""}=t,{lang:d="en"}=t,{clientstyling:v=""}=t,{clientstylingurl:m=""}=t,{translationurl:_=""}=t,{mbsource:P}=t,h=[],u=[],f=[],c=!1,a,g;const i=()=>{fetch(_).then(S=>S.json()).then(S=>{Object.keys(S).forEach(L=>{F(L,S[L])})}).catch(S=>{console.log(S)})};Object.keys(j).forEach(s=>{F(s,j[s])});const y=()=>{l(3,c=!0);const s=new URL(`${n}/v1/casino/vendors`);s.searchParams.append("datasource",p),s.searchParams.append("language",d),s.searchParams.append("fields","id,name,displayName,subVendors,isTopVendor,logo,games"),fetch(s).then(S=>S.json()).then(S=>{l(3,c=!1),h=S.items.map(O=>O),l(1,u=h.filter(O=>O.isTopVendor===!0)),l(2,f=h.filter(O=>O.isTopVendor===!1));let L=[];L=h.flatMap(O=>O.subVendors),f.push(...L.filter(O=>O.games.count>0))})},C=(s,S,L)=>{window.postMessage({type:"OpenGameProvider",providerId:s,providerName:S,providerLogo:L},window.location.href)},w=()=>{E(d)},b=s=>C(s.id,s.name,s.logo),k=s=>C(s.id,s.name,s.logo);function z(s){e.binding_callbacks[s?"unshift":"push"](()=>{a=s,l(0,a)})}return r.$$set=s=>{"endpoint"in s&&l(6,n=s.endpoint),"datasource"in s&&l(7,p=s.datasource),"lang"in s&&l(8,d=s.lang),"clientstyling"in s&&l(9,v=s.clientstyling),"clientstylingurl"in s&&l(10,m=s.clientstylingurl),"translationurl"in s&&l(11,_=s.translationurl),"mbsource"in s&&l(12,P=s.mbsource)},r.$$.update=()=>{r.$$.dirty&448&&n&&d&&p&&y(),r.$$.dirty&256&&d&&w(),r.$$.dirty&2048&&_&&i(),r.$$.dirty&513&&v&&a&&e.setClientStyling(a,v),r.$$.dirty&1025&&m&&a&&e.setClientStylingURL(a,m),r.$$.dirty&4097&&P&&a&&e.setStreamStyling(a,`${P}.Style`,g)},[a,u,f,c,o,C,n,p,d,v,m,_,P,b,k,z]}class N extends e.SvelteComponent{constructor(t){super(),e.init(this,t,G,U,e.safe_not_equal,{endpoint:6,datasource:7,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11,mbsource:12},V)}get endpoint(){return this.$$.ctx[6]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[7]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(N,{endpoint:{},datasource:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=N;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoNavigationSearch-T97ixxPr.cjs"),T=require("./CasinoSearch-B-URKwds.cjs"),j={en:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait...",games:"games"},"zh-hk":{popularProviders:"热门供应商",otherProviders:"其他供应商",loading:"加载请稍候...",games:"游戏"},de:{popularProviders:"Beliebte Anbieter",otherProviders:"Andere Anbieter",loading:"Es lädt, bitte warten...",games:"Spiele"},it:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},fr:{popularProviders:"Fournisseurs populaires",otherProviders:"Autres fournisseurs",loading:"Chargement, veuillez patienter...",games:"jeux"},es:{popularProviders:"Proveedores Populares",otherProviders:"Otros Proveedores",loading:"Cargando",games:"juegos"},tr:{popularProviders:"Şimdi Oyna",otherProviders:"Rastgele oynanacak oyun yok",loading:"Son arama",games:"Oyunları Ara"},ru:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},ro:{popularProviders:"Furnizori de top",otherProviders:"Alti furnizori",loading:"Se incarca, te rugam asteapta…",games:"jocuri"},hr:{popularProviders:"Popularni brendovi",otherProviders:"Ostali brendovi",loading:"Učitavanje",games:"Igre"},hu:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},pl:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},pt:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},sl:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},sr:{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait",games:"games"},"pt-br":{popularProviders:"provedores populares",otherProviders:"Outros provedores",Loading:"Carregando",games:"jogos"},"es-mx":{popularProviders:"Proveedores Populares",otherProviders:"Otros proveedores",Loading:"Cargando, por favor espere...",games:"juegos"},"en-us":{popularProviders:"Popular Suppliers",otherProviders:"Other Suppliers",loading:"Loading, please wait...",games:"games"}};function F(r,t){T.addMessages(r,t)}function E(r){T.$locale.set(r)}function V(r){e.append_styles(r,"svelte-1bsli1q","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emw--color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}")}function x(r,t,l){const o=r.slice();return o[21]=t[l],o}function A(r,t,l){const o=r.slice();return o[21]=t[l],o}function I(r){let t,l=r[4]("popularProviders")+"",o,n,p,d,v=r[4]("otherProviders")+"",m,_,P,h=e.ensure_array_like(r[1]),u=[];for(let a=0;a<h.length;a+=1)u[a]=q(A(r,h,a));let f=e.ensure_array_like(r[2]),c=[];for(let a=0;a<f.length;a+=1)c[a]=M(x(r,f,a));return{c(){t=e.element("h4"),o=e.text(l),n=e.space();for(let a=0;a<u.length;a+=1)u[a].c();p=e.space(),d=e.element("h4"),m=e.text(v),_=e.space();for(let a=0;a<c.length;a+=1)c[a].c();P=e.empty(),e.attr(t,"class","ProviderTitle"),e.attr(d,"class","ProviderTitle")},m(a,g){e.insert(a,t,g),e.append(t,o),e.insert(a,n,g);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(a,g);e.insert(a,p,g),e.insert(a,d,g),e.append(d,m),e.insert(a,_,g);for(let i=0;i<c.length;i+=1)c[i]&&c[i].m(a,g);e.insert(a,P,g)},p(a,g){if(g&16&&l!==(l=a[4]("popularProviders")+"")&&e.set_data(o,l),g&50){h=e.ensure_array_like(a[1]);let i;for(i=0;i<h.length;i+=1){const y=A(a,h,i);u[i]?u[i].p(y,g):(u[i]=q(y),u[i].c(),u[i].m(p.parentNode,p))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}if(g&16&&v!==(v=a[4]("otherProviders")+"")&&e.set_data(m,v),g&52){f=e.ensure_array_like(a[2]);let i;for(i=0;i<f.length;i+=1){const y=x(a,f,i);c[i]?c[i].p(y,g):(c[i]=M(y),c[i].c(),c[i].m(P.parentNode,P))}for(;i<c.length;i+=1)c[i].d(1);c.length=f.length}},d(a){a&&(e.detach(t),e.detach(n),e.detach(p),e.detach(d),e.detach(_),e.detach(P)),e.destroy_each(u,a),e.destroy_each(c,a)}}}function R(r){let t,l=r[4]("loading")+"",o;return{c(){t=e.element("p"),o=e.text(l),e.attr(t,"class","Message")},m(n,p){e.insert(n,t,p),e.append(t,o)},p(n,p){p&16&&l!==(l=n[4]("loading")+"")&&e.set_data(o,l)},d(n){n&&e.detach(t)}}}function q(r){let t,l,o,n,p,d,v,m=r[21].name+"",_,P,h,u=r[21].games.count+"",f,c,a=r[4]("games")+"",g,i,y;function C(){return r[13](r[21])}return{c(){t=e.element("div"),l=e.element("img"),p=e.space(),d=e.element("div"),v=e.element("p"),_=e.text(m),P=e.space(),h=e.element("p"),f=e.text(u),c=e.space(),g=e.text(a),e.src_url_equal(l.src,o=r[21].logo)||e.attr(l,"src",o),e.attr(l,"alt",n=r[21].name),e.attr(l,"class","ProviderImage"),e.attr(d,"class","ProviderTextContainer"),e.attr(t,"class","Provider")},m(w,b){e.insert(w,t,b),e.append(t,l),e.append(t,p),e.append(t,d),e.append(d,v),e.append(v,_),e.append(d,P),e.append(d,h),e.append(h,f),e.append(h,c),e.append(h,g),i||(y=e.listen(t,"click",C),i=!0)},p(w,b){r=w,b&2&&!e.src_url_equal(l.src,o=r[21].logo)&&e.attr(l,"src",o),b&2&&n!==(n=r[21].name)&&e.attr(l,"alt",n),b&2&&m!==(m=r[21].name+"")&&e.set_data(_,m),b&2&&u!==(u=r[21].games.count+"")&&e.set_data(f,u),b&16&&a!==(a=r[4]("games")+"")&&e.set_data(g,a)},d(w){w&&e.detach(t),i=!1,y()}}}function M(r){let t,l,o,n,p,d,v,m=r[21].name+"",_,P,h,u=r[21].games.count+"",f,c,a=r[4]("games")+"",g,i,y,C;function w(){return r[14](r[21])}return{c(){t=e.element("div"),l=e.element("img"),p=e.space(),d=e.element("div"),v=e.element("p"),_=e.text(m),P=e.space(),h=e.element("p"),f=e.text(u),c=e.space(),g=e.text(a),i=e.space(),e.src_url_equal(l.src,o=r[21].logo)||e.attr(l,"src",o),e.attr(l,"alt",n=r[21].name),e.attr(l,"class","ProviderImage"),e.attr(d,"class","ProviderTextContainer"),e.attr(t,"class","Provider")},m(b,k){e.insert(b,t,k),e.append(t,l),e.append(t,p),e.append(t,d),e.append(d,v),e.append(v,_),e.append(d,P),e.append(d,h),e.append(h,f),e.append(h,c),e.append(h,g),e.append(t,i),y||(C=e.listen(t,"click",w),y=!0)},p(b,k){r=b,k&4&&!e.src_url_equal(l.src,o=r[21].logo)&&e.attr(l,"src",o),k&4&&n!==(n=r[21].name)&&e.attr(l,"alt",n),k&4&&m!==(m=r[21].name+"")&&e.set_data(_,m),k&4&&u!==(u=r[21].games.count+"")&&e.set_data(f,u),k&16&&a!==(a=r[4]("games")+"")&&e.set_data(g,a)},d(b){b&&e.detach(t),y=!1,C()}}}function U(r){let t;function l(p,d){return p[3]===!0?R:I}let o=l(r),n=o(r);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","CasinoProviders")},m(p,d){e.insert(p,t,d),n.m(t,null),r[15](t)},p(p,[d]){o===(o=l(p))&&n?n.p(p,d):(n.d(1),n=o(p),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),n.d(),r[15](null)}}}function G(r,t,l){let o;e.component_subscribe(r,T.$format,s=>l(4,o=s));let{endpoint:n=""}=t,{datasource:p=""}=t,{lang:d="en"}=t,{clientstyling:v=""}=t,{clientstylingurl:m=""}=t,{translationurl:_=""}=t,{mbsource:P}=t,h=[],u=[],f=[],c=!1,a,g;const i=()=>{fetch(_).then(S=>S.json()).then(S=>{Object.keys(S).forEach(L=>{F(L,S[L])})}).catch(S=>{console.log(S)})};Object.keys(j).forEach(s=>{F(s,j[s])});const y=()=>{l(3,c=!0);const s=new URL(`${n}/v1/casino/vendors`);s.searchParams.append("datasource",p),s.searchParams.append("language",d),s.searchParams.append("fields","id,name,displayName,subVendors,isTopVendor,logo,games"),fetch(s).then(S=>S.json()).then(S=>{l(3,c=!1),h=S.items.map(O=>O),l(1,u=h.filter(O=>O.isTopVendor===!0)),l(2,f=h.filter(O=>O.isTopVendor===!1));let L=[];L=h.flatMap(O=>O.subVendors),f.push(...L.filter(O=>O.games.count>0))})},C=(s,S,L)=>{window.postMessage({type:"OpenGameProvider",providerId:s,providerName:S,providerLogo:L},window.location.href)},w=()=>{E(d)},b=s=>C(s.id,s.name,s.logo),k=s=>C(s.id,s.name,s.logo);function z(s){e.binding_callbacks[s?"unshift":"push"](()=>{a=s,l(0,a)})}return r.$$set=s=>{"endpoint"in s&&l(6,n=s.endpoint),"datasource"in s&&l(7,p=s.datasource),"lang"in s&&l(8,d=s.lang),"clientstyling"in s&&l(9,v=s.clientstyling),"clientstylingurl"in s&&l(10,m=s.clientstylingurl),"translationurl"in s&&l(11,_=s.translationurl),"mbsource"in s&&l(12,P=s.mbsource)},r.$$.update=()=>{r.$$.dirty&448&&n&&d&&p&&y(),r.$$.dirty&256&&d&&w(),r.$$.dirty&2048&&_&&i(),r.$$.dirty&513&&v&&a&&e.setClientStyling(a,v),r.$$.dirty&1025&&m&&a&&e.setClientStylingURL(a,m),r.$$.dirty&4097&&P&&a&&e.setStreamStyling(a,`${P}.Style`,g)},[a,u,f,c,o,C,n,p,d,v,m,_,P,b,k,z]}class N extends e.SvelteComponent{constructor(t){super(),e.init(this,t,G,U,e.safe_not_equal,{endpoint:6,datasource:7,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11,mbsource:12},V)}get endpoint(){return this.$$.ctx[6]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[7]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(N,{endpoint:{},datasource:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=N;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Q, b as W, s as X, f as M, d as Y, n as I, e as O, j as C, m as S, g as v, q as Z, w as $, u as A, k as c, v as z, x as N, y as q, o as L, z as ee, E as V, l as J, B as te, C as re, D as ie, c as le } from "./CasinoNavigationSearch-
|
|
2
|
-
import { a as se, $ as oe, b as ae } from "./CasinoSearch-
|
|
1
|
+
import { S as Q, b as W, s as X, f as M, d as Y, n as I, e as O, j as C, m as S, g as v, q as Z, w as $, u as A, k as c, v as z, x as N, y as q, o as L, z as ee, E as V, l as J, B as te, C as re, D as ie, c as le } from "./CasinoNavigationSearch-Chy4UUVM.js";
|
|
2
|
+
import { a as se, $ as oe, b as ae } from "./CasinoSearch-Czy2BrGR.js";
|
|
3
3
|
const R = {
|
|
4
4
|
en: {
|
|
5
5
|
popularProviders: "Popular Suppliers",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Q, b as W, s as X, f as M, c as Y, n as I, d as O, h as C, k as S, e as v, p as Z, v as $, t as A, j as c, u as E, w as N, x as R, m as L, y as ee, E as V, l as J, A as te, B as re, C as ie, D as le } from "./CasinoNavigationSearch-
|
|
2
|
-
import { a as se, $ as oe, b as ae } from "./CasinoSearch-
|
|
1
|
+
import { S as Q, b as W, s as X, f as M, c as Y, n as I, d as O, h as C, k as S, e as v, p as Z, v as $, t as A, j as c, u as E, w as N, x as R, m as L, y as ee, E as V, l as J, A as te, B as re, C as ie, D as le } from "./CasinoNavigationSearch-D1kW0fKC.js";
|
|
2
|
+
import { a as se, $ as oe, b as ae } from "./CasinoSearch-Du5QvUcO.js";
|
|
3
3
|
const U = {
|
|
4
4
|
en: {
|
|
5
5
|
popularProviders: "Popular Suppliers",
|