@everymatrix/casino-lobby 1.47.4 → 1.48.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/components/{CasinoCalendar-BuNYmxT2.js → CasinoCalendar-CCQut7OA.js} +7 -7
  2. package/components/{CasinoCalendarDailyDetails-CXA-hOPw.js → CasinoCalendarDailyDetails-AzSENZXw.js} +1 -1
  3. package/components/{CasinoCalendarDailyItem-CXBzGC5j.js → CasinoCalendarDailyItem-DD924Zcr.js} +1 -1
  4. package/components/CasinoCategoriesSlider-DI2g7-y8.cjs +1 -0
  5. package/components/{CasinoCategoriesSlider-Dfx9Vnxp.js → CasinoCategoriesSlider-Dd30AvK0.js} +91 -91
  6. package/components/{CasinoCollectionsProviders-rLy8aW01.js → CasinoCollectionsProviders-Cc1u_orw.js} +1 -1
  7. package/components/{CasinoFavoritesSection-uqcus7J_.js → CasinoFavoritesSection-BQ0dNWae.js} +2 -2
  8. package/components/{CasinoFavoritesSection-RMtaQmk3.cjs → CasinoFavoritesSection-CvuIQnV8.cjs} +1 -1
  9. package/components/{CasinoFilter-DvTOnHYj.js → CasinoFilter-BzIcUbXi.js} +1 -1
  10. package/components/{CasinoGamePage-DAsfOU8X.js → CasinoGamePage-CGpIAfYK.js} +1 -1
  11. package/components/{CasinoGameThumbnail-CIjludJv.js → CasinoGameThumbnail-CF6611k4.js} +2 -2
  12. package/components/CasinoGamesCategorySection-BdxhFGQE.cjs +1 -0
  13. package/components/{CasinoGamesCategorySection-DmNsoS_K.js → CasinoGamesCategorySection-rgBbE8Qs.js} +1205 -1205
  14. package/components/{CasinoJackpotBanner-hWTETjFb.js → CasinoJackpotBanner-CJJFsnyb.js} +1 -1
  15. package/components/{CasinoLastPlayedSection-B1ezatY7.js → CasinoLastPlayedSection-B3mcmNGi.js} +2 -2
  16. package/components/{CasinoLastPlayedSection-B9y4sMJw.cjs → CasinoLastPlayedSection-DS-qDWQD.cjs} +1 -1
  17. package/components/{CasinoLobby-DgrgfPpR.js → CasinoLobby-5wVsL48R.js} +5 -5
  18. package/components/{CasinoLobby-CpOHG2Go.cjs → CasinoLobby-D1xQ7qWy.cjs} +1 -1
  19. package/components/{CasinoModal-C0mMA0JZ.js → CasinoModal-lLGEeGcU.js} +11 -11
  20. package/components/{CasinoMostPlayedSection-DgiDKdly.cjs → CasinoMostPlayedSection-649-AWp8.cjs} +1 -1
  21. package/components/{CasinoMostPlayedSection-CQWFs5qH.js → CasinoMostPlayedSection-BEOghmSJ.js} +2 -2
  22. package/components/{CasinoMyGames-B1qu8JUd.js → CasinoMyGames-BtmzB5iD.js} +4 -4
  23. package/components/{CasinoMyGames-BxbclHBX.cjs → CasinoMyGames-Dxt44vYz.cjs} +1 -1
  24. package/components/{CasinoPage-DqINO6SW.cjs → CasinoPage-BXL4JPvT.cjs} +1 -1
  25. package/components/{CasinoPage-6L1WKOYd.js → CasinoPage-S2nvrLJc.js} +9 -9
  26. package/components/{CasinoRandomGame-DLcF2u3L.js → CasinoRandomGame-DGD52sa7.js} +107 -106
  27. package/components/CasinoRandomGame-DiITGB_u.cjs +2 -0
  28. package/components/{CasinoSearch-CY-mTY8I.cjs → CasinoSearch-BD3LQbss.cjs} +1 -1
  29. package/components/{CasinoSearch-CYWXVXo2.js → CasinoSearch-DXk8R2Ge.js} +3 -3
  30. package/components/{CasinoSlider-B1E3wbGI.js → CasinoSlider-CyXzUPtq.js} +155 -155
  31. package/components/{CasinoSlider-BMDqluc_.cjs → CasinoSlider-Cyun8L26.cjs} +1 -1
  32. package/components/{CasinoSort-CcG6ImMT.js → CasinoSort-DGyT01Gf.js} +1 -1
  33. package/components/CasinoWinners-CflzKW0N.cjs +1 -0
  34. package/components/{CasinoWinners-CA6s2Z0J.js → CasinoWinners-DSCWZZgk.js} +219 -205
  35. package/components/{GeneralAnimationLoading-DG0Zw3Hq.js → GeneralAnimationLoading-DE8HSm4C.js} +1 -1
  36. package/es2015/casino-lobby.cjs +1 -1
  37. package/es2015/casino-lobby.js +1 -1
  38. package/package.json +1 -1
  39. package/components/CasinoCategoriesSlider-B8xMrRuK.cjs +0 -1
  40. package/components/CasinoGamesCategorySection-CbKid5So.cjs +0 -1
  41. package/components/CasinoRandomGame-Dw5KkOWz.cjs +0 -2
  42. package/components/CasinoWinners-B1LRzKTu.cjs +0 -1
@@ -4609,7 +4609,7 @@ if (typeof window != "undefined") {
4609
4609
  }
4610
4610
  };
4611
4611
  };
4612
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-CXA-hOPw.js").then(({ default: t }) => {
4612
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-AzSENZXw.js").then(({ default: t }) => {
4613
4613
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4614
4614
  });
4615
4615
  }
@@ -4625,7 +4625,7 @@ if (typeof window != "undefined") {
4625
4625
  }
4626
4626
  };
4627
4627
  };
4628
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-CXBzGC5j.js").then(({ default: t }) => {
4628
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-DD924Zcr.js").then(({ default: t }) => {
4629
4629
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4630
4630
  });
4631
4631
  }
@@ -5094,12 +5094,12 @@ export {
5094
5094
  Qs as W,
5095
5095
  Rs as X,
5096
5096
  Zs as Y,
5097
- Ur as Z,
5098
- Vs as _,
5097
+ zs as Z,
5098
+ Xs as _,
5099
5099
  he as a,
5100
- le as a0,
5101
- zs as a1,
5102
- Xs as a2,
5100
+ Ur as a0,
5101
+ Vs as a1,
5102
+ le as a2,
5103
5103
  qs as a3,
5104
5104
  Vr as b,
5105
5105
  dn as c,
@@ -1,4 +1,4 @@
1
- import { $ as P, a as ne, S as oe, i as se, f as I, c as re, s as de, b as ce, e as y, d as T, t as R, g as fe, h as G, j as M, o as ue, k as ge, l as me, m as he, n as pe, p as q, q as E, r as be, u as a, v as m, w as W, x as _e, y as ye, z as we, A as ve, B as te, C as U, D as J, E as z, F as ke, G as K, H as Ce } from "./CasinoCalendar-BuNYmxT2.js";
1
+ import { $ as P, a as ne, S as oe, i as se, f as I, c as re, s as de, b as ce, e as y, d as T, t as R, g as fe, h as G, j as M, o as ue, k as ge, l as me, m as he, n as pe, p as q, q as E, r as be, u as a, v as m, w as W, x as _e, y as ye, z as we, A as ve, B as te, C as U, D as J, E as z, F as ke, G as K, H as Ce } from "./CasinoCalendar-CCQut7OA.js";
2
2
  function xe({ withLocale: l, translations: e }) {
3
3
  P.subscribe((t) => {
4
4
  t == null && (ne.set(e), P.set(l));
@@ -1,4 +1,4 @@
1
- import { $ as R, a as P, S as q, i as A, f, c as O, s as U, b as G, e as c, q as L, r as T, u as l, D as E, G as v, d as V, v as o, w as W, A as S, C as j, j as J, o as K, l as N, m as H } from "./CasinoCalendar-BuNYmxT2.js";
1
+ import { $ as R, a as P, S as q, i as A, f, c as O, s as U, b as G, e as c, q as L, r as T, u as l, D as E, G as v, d as V, v as o, w as W, A as S, C as j, j as J, o as K, l as N, m as H } from "./CasinoCalendar-CCQut7OA.js";
2
2
  function Q({ withLocale: i, translations: e }) {
3
3
  R.subscribe((a) => {
4
4
  a == null && (P.set(e), R.set(i));
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-B3jjGeXh.cjs");function z(n,e){t.addMessages(n,e)}const x={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Moj casino",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"}};if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-Cyun8L26.cjs")).then(({default:e})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",e.element)})}function ae(n){t.append_styles(n,"svelte-1ydghqy",".CasinoCategoriesLoading.svelte-1ydghqy{height:52px}p.svelte-1ydghqy{color:var( --emfe-w-categories-typography, var(--emfe-w-color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1ydghqy{background:var( --emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C))}")}function ne(n){let e,s,l,r;return{c(){e=t.element("div"),s=t.element("casino-slider"),t.set_custom_element_data(s,"lang",n[3]),t.set_custom_element_data(s,"datasource",n[2]),t.set_custom_element_data(s,"endpoint",n[1]),t.set_custom_element_data(s,"identity",E),t.set_custom_element_data(s,"favoritesnumber",n[15]),t.set_custom_element_data(s,"showsubgroups",n[8]),t.set_custom_element_data(s,"clientstyling",n[4]),t.set_custom_element_data(s,"clientstylingurl",n[5]),t.set_custom_element_data(s,"activeindex",n[0]),t.set_custom_element_data(s,"actionevent",n[6]),t.set_custom_element_data(s,"location",n[7]),t.set_custom_element_data(s,"categoriesicon",n[9]),t.set_custom_element_data(s,"lobbyiconimage",n[10]),t.set_custom_element_data(s,"mygamesiconimage",n[11]),t.attr(e,"class","CasinoCategoriesContainer svelte-1ydghqy"),t.attr(e,"part","CasinoCategoriesContainer")},m(i,o){t.insert(i,e,o),t.append(e,s),l||(r=t.action_destroyer(n[16].call(null,s)),l=!0)},p(i,o){o[0]&8&&t.set_custom_element_data(s,"lang",i[3]),o[0]&4&&t.set_custom_element_data(s,"datasource",i[2]),o[0]&2&&t.set_custom_element_data(s,"endpoint",i[1]),o[0]&32768&&t.set_custom_element_data(s,"favoritesnumber",i[15]),o[0]&256&&t.set_custom_element_data(s,"showsubgroups",i[8]),o[0]&16&&t.set_custom_element_data(s,"clientstyling",i[4]),o[0]&32&&t.set_custom_element_data(s,"clientstylingurl",i[5]),o[0]&1&&t.set_custom_element_data(s,"activeindex",i[0]),o[0]&64&&t.set_custom_element_data(s,"actionevent",i[6]),o[0]&128&&t.set_custom_element_data(s,"location",i[7]),o[0]&512&&t.set_custom_element_data(s,"categoriesicon",i[9]),o[0]&1024&&t.set_custom_element_data(s,"lobbyiconimage",i[10]),o[0]&2048&&t.set_custom_element_data(s,"mygamesiconimage",i[11])},d(i){i&&t.detach(e),l=!1,r()}}}function ie(n){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading svelte-1ydghqy")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function oe(n){let e;return{c(){e=t.element("div"),t.attr(e,"class","CasinoCategoriesLoading svelte-1ydghqy")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function le(n){let e;function s(i,o){return i[12]||re||ce?oe:i[14]?ie:ne}let l=s(n),r=l(n);return{c(){e=t.element("div"),r.c()},m(i,o){t.insert(i,e,o),r.m(e,null),n[26](e)},p(i,o){l===(l=s(i))&&r?r.p(i,o):(r.d(1),r=l(i),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r.d(),n[26](null)}}}let E="CasinoSliderData",re=!1,ce=!1;function me(n,e,s){let l;t.component_subscribe(n,t.$format,a=>s(32,l=a));let{endpoint:r=""}=e,{datasource:i=""}=e,{lang:o=""}=e,{userid:j=""}=e,{session:b=""}=e,{mostplayed:_=""}=e,{lastplayed:w="false"}=e,{favorites:N=""}=e,{clientstyling:L=""}=e,{clientstylingurl:C=""}=e,{activecategory:u=""}=e,{actionevent:P=""}=e,{sessioncheck:T=""}=e,{location:q="secondaryMenu"}=e,{showsubgroups:F="false"}=e,{filteredcategories:M=""}=e,{translationurl:v=""}=e,{categoriesicon:A=""}=e,{lobbyiconimage:D=""}=e,{mygamesiconimage:O=""}=e,R,U,g=!0,f,h=[],y=!1,K=window.navigator.userAgent,d,H,I=!1,G=!1;const Q=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(x).forEach(a=>{z(a,x[a])});const V=()=>{I==!1&&(N=="true"||_=="true"||w=="true")&&h.splice(1,0,{id:"MYGAMES",name:R,href:"",games:[]}),t.tick(),I=!0,s(25,G=!0),k()},W=()=>(r||(f="Endpoint is missing! Please provide a valid endpointURL.",s(14,y=!0),s(12,g=!1),console.error(f)),i||(f="Datasource is missing! Please provide a valid datasource.",s(14,y=!0),s(12,g=!1),console.error(f)),(!o||o.length<2)&&(f="Language is missing! Please provide a valid language (alpha2code)",s(14,y=!0),s(12,g=!1),console.error(f)),y),X=()=>{if(R=l("myGamesName"),U=l("lobbyName"),!W()){let a=new URL(`${r}/v1/casino/groups/${i}`);a.searchParams.append("datasource",i),a.searchParams.append("language",o),a.searchParams.append("platform",t.getDevice(K)),fetch(a).then(c=>c.json()).then(c=>{let m=M.split(","),te=c.items.filter(Y=>{let S=!1;if(Y.games.total>0&&(S=!0,M))for(let se of m)Y.flags==se&&(S=!1);return S});h=[],h=h.concat(te),h.unshift({id:"LOBBY",name:U,href:"",games:[]}),s(12,g=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},c=>{s(14,y=!0),console.error("There was an error while fetching the categories",c)}).catch(c=>{s(14,y=!0),console.error("There was an error while fetching the categories",c)})}},Z=()=>{let a=u.split("$");s(0,u=a.length>2?u.split("$").slice(0,2).join("$"):u)},p=()=>{let a=document.createElement("style");a.innerHTML=L,d.appendChild(a)},$=()=>{let a=document.createElement("style"),c=new URL(C);fetch(c.href).then(m=>m.text()).then(m=>{a.innerHTML=m,setTimeout(()=>{d.appendChild(a)},1)})},k=()=>{window.postMessage({type:"SliderData",identity:E,data:h},window.location.href)},B=a=>{a.data&&a.data.type=="SliderLoaded"&&E==a.data.identity&&k()};t.onMount(()=>(window.addEventListener("message",B,!1),()=>{window.removeEventListener("message",B)}));function ee(a){t.binding_callbacks[a?"unshift":"push"](()=>{d=a,s(13,d)})}return n.$$set=a=>{"endpoint"in a&&s(1,r=a.endpoint),"datasource"in a&&s(2,i=a.datasource),"lang"in a&&s(3,o=a.lang),"userid"in a&&s(17,j=a.userid),"session"in a&&s(18,b=a.session),"mostplayed"in a&&s(19,_=a.mostplayed),"lastplayed"in a&&s(20,w=a.lastplayed),"favorites"in a&&s(21,N=a.favorites),"clientstyling"in a&&s(4,L=a.clientstyling),"clientstylingurl"in a&&s(5,C=a.clientstylingurl),"activecategory"in a&&s(0,u=a.activecategory),"actionevent"in a&&s(6,P=a.actionevent),"sessioncheck"in a&&s(22,T=a.sessioncheck),"location"in a&&s(7,q=a.location),"showsubgroups"in a&&s(8,F=a.showsubgroups),"filteredcategories"in a&&s(23,M=a.filteredcategories),"translationurl"in a&&s(24,v=a.translationurl),"categoriesicon"in a&&s(9,A=a.categoriesicon),"lobbyiconimage"in a&&s(10,D=a.lobbyiconimage),"mygamesiconimage"in a&&s(11,O=a.mygamesiconimage)},n.$$.update=()=>{n.$$.dirty[0]&14&&r&&i&&o&&X(),n.$$.dirty[0]&3936258&&r&&b&&(_||w||N)&&!g&&V(),n.$$.dirty[0]&33820673&&!g&&u&&(!b||G)&&Z(),n.$$.dirty[0]&8208&&L&&d&&p(),n.$$.dirty[0]&16777216&&v&&Q(),n.$$.dirty[0]&8224&&C&&d&&$()},s(15,H=0),[u,r,i,o,L,C,P,q,F,A,D,O,g,d,y,H,k,j,b,_,w,N,T,M,v,G,ee]}class J extends t.SvelteComponent{constructor(e){super(),t.init(this,e,me,le,t.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:17,session:18,mostplayed:19,lastplayed:20,favorites:21,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:22,location:7,showsubgroups:8,filteredcategories:23,translationurl:24,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11},ae,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get userid(){return this.$$.ctx[17]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),t.flush()}get mostplayed(){return this.$$.ctx[19]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[20]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get favorites(){return this.$$.ctx[21]}set favorites(e){this.$$set({favorites:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),t.flush()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get sessioncheck(){return this.$$.ctx[22]}set sessioncheck(e){this.$$set({sessioncheck:e}),t.flush()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),t.flush()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get filteredcategories(){return this.$$.ctx[23]}set filteredcategories(e){this.$$set({filteredcategories:e}),t.flush()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}}t.create_custom_element(J,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{}},[],[],!0);exports.default=J;
@@ -1,8 +1,8 @@
1
- import { I as le, S as re, i as ce, f as c, c as me, s as ge, b as ue, e as N, d as j, C as S, j as T, J as ye, K as fe, L as he, m as de, M as o, u as E, v as be, N as Ne, O as we } from "./CasinoCalendar-BuNYmxT2.js";
2
- function Q(i, e) {
3
- le(i, e);
1
+ import { I as re, S as ce, i as me, f as c, c as ge, s as ue, b as ye, e as w, d as j, C as S, j as F, J as fe, o as de, K as he, L as be, m as we, M as o, u as E, v as Ne, N as Le, O as Ce } from "./CasinoCalendar-CCQut7OA.js";
2
+ function W(i, e) {
3
+ re(i, e);
4
4
  }
5
- const V = {
5
+ const X = {
6
6
  en: {
7
7
  lobbyName: "Lobby",
8
8
  myGamesName: "My games"
@@ -84,18 +84,18 @@ if (typeof window != "undefined") {
84
84
  }
85
85
  };
86
86
  };
87
- customElements.define = i(customElements.define), import("./CasinoSlider-B1E3wbGI.js").then(({ default: e }) => {
87
+ customElements.define = i(customElements.define), import("./CasinoSlider-CyXzUPtq.js").then(({ default: e }) => {
88
88
  !customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
89
89
  });
90
90
  }
91
- function Le(i) {
92
- ue(i, "svelte-1ydghqy", ".CasinoCategoriesLoading.svelte-1ydghqy{height:52px}p.svelte-1ydghqy{color:var( --emfe-w-categories-typography, var(--emfe-w-color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1ydghqy{background:var( --emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C))}");
91
+ function Me(i) {
92
+ ye(i, "svelte-1ydghqy", ".CasinoCategoriesLoading.svelte-1ydghqy{height:52px}p.svelte-1ydghqy{color:var( --emfe-w-categories-typography, var(--emfe-w-color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1ydghqy{background:var( --emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C))}");
93
93
  }
94
- function Ce(i) {
94
+ function _e(i) {
95
95
  let e, t, l, r;
96
96
  return {
97
97
  c() {
98
- e = N("div"), t = N("casino-slider"), o(
98
+ e = w("div"), t = w("casino-slider"), o(
99
99
  t,
100
100
  "lang",
101
101
  /*lang*/
@@ -110,7 +110,7 @@ function Ce(i) {
110
110
  "endpoint",
111
111
  /*endpoint*/
112
112
  i[1]
113
- ), o(t, "identity", W), o(
113
+ ), o(t, "identity", A), o(
114
114
  t,
115
115
  "favoritesnumber",
116
116
  /*numberOfFavoredGames*/
@@ -163,7 +163,7 @@ function Ce(i) {
163
163
  ), E(e, "class", "CasinoCategoriesContainer svelte-1ydghqy"), E(e, "part", "CasinoCategoriesContainer");
164
164
  },
165
165
  m(a, n) {
166
- j(a, e, n), be(e, t), l || (r = Ne(
166
+ j(a, e, n), Ne(e, t), l || (r = Le(
167
167
  /*sendSliderData*/
168
168
  i[16].call(null, t)
169
169
  ), l = !0);
@@ -250,55 +250,55 @@ function Ce(i) {
250
250
  );
251
251
  },
252
252
  d(a) {
253
- a && T(e), l = !1, r();
253
+ a && F(e), l = !1, r();
254
254
  }
255
255
  };
256
256
  }
257
- function Me(i) {
257
+ function ve(i) {
258
258
  let e;
259
259
  return {
260
260
  c() {
261
- e = N("p"), e.textContent = "500 Error - Internal Server Error.", E(e, "class", "SearchLoading svelte-1ydghqy");
261
+ e = w("p"), e.textContent = "500 Error - Internal Server Error.", E(e, "class", "SearchLoading svelte-1ydghqy");
262
262
  },
263
263
  m(t, l) {
264
264
  j(t, e, l);
265
265
  },
266
266
  p: S,
267
267
  d(t) {
268
- t && T(e);
268
+ t && F(e);
269
269
  }
270
270
  };
271
271
  }
272
- function _e(i) {
272
+ function Ge(i) {
273
273
  let e;
274
274
  return {
275
275
  c() {
276
- e = N("div"), E(e, "class", "CasinoCategoriesLoading svelte-1ydghqy");
276
+ e = w("div"), E(e, "class", "CasinoCategoriesLoading svelte-1ydghqy");
277
277
  },
278
278
  m(t, l) {
279
279
  j(t, e, l);
280
280
  },
281
281
  p: S,
282
282
  d(t) {
283
- t && T(e);
283
+ t && F(e);
284
284
  }
285
285
  };
286
286
  }
287
- function ve(i) {
287
+ function ke(i) {
288
288
  let e;
289
289
  function t(a, n) {
290
290
  return (
291
291
  /*isLoading*/
292
- a[12] || Ge || ke ? _e : (
292
+ a[12] || Se || Ee ? Ge : (
293
293
  /*hasErrors*/
294
- a[14] ? Me : Ce
294
+ a[14] ? ve : _e
295
295
  )
296
296
  );
297
297
  }
298
298
  let l = t(i), r = l(i);
299
299
  return {
300
300
  c() {
301
- e = N("div"), r.c();
301
+ e = w("div"), r.c();
302
302
  },
303
303
  m(a, n) {
304
304
  j(a, e, n), r.m(e, null), i[26](e);
@@ -309,51 +309,51 @@ function ve(i) {
309
309
  i: S,
310
310
  o: S,
311
311
  d(a) {
312
- a && T(e), r.d(), i[26](null);
312
+ a && F(e), r.d(), i[26](null);
313
313
  }
314
314
  };
315
315
  }
316
- let W = "CasinoSliderData", Ge = !1, ke = !1;
317
- function Se(i, e, t) {
316
+ let A = "CasinoSliderData", Se = !1, Ee = !1;
317
+ function je(i, e, t) {
318
318
  let l;
319
- ye(i, we, (s) => t(32, l = s));
320
- let { endpoint: r = "" } = e, { datasource: a = "" } = e, { lang: n = "" } = e, { userid: q = "" } = e, { session: w = "" } = e, { mostplayed: L = "" } = e, { lastplayed: C = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: A = "" } = e, { sessioncheck: D = "" } = e, { location: O = "secondaryMenu" } = e, { showsubgroups: R = "false" } = e, { filteredcategories: G = "" } = e, { translationurl: k = "" } = e, { categoriesicon: U = "" } = e, { lobbyiconimage: I = "" } = e, { mygamesiconimage: B = "" } = e, H, Y, y = !0, d, b = [], f = !1, X = window.navigator.userAgent, h, x, z = !1, F = !1;
321
- const Z = () => {
319
+ fe(i, Ce, (s) => t(32, l = s));
320
+ let { endpoint: r = "" } = e, { datasource: a = "" } = e, { lang: n = "" } = e, { userid: D = "" } = e, { session: N = "" } = e, { mostplayed: L = "" } = e, { lastplayed: C = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: O = "" } = e, { sessioncheck: R = "" } = e, { location: U = "secondaryMenu" } = e, { showsubgroups: I = "false" } = e, { filteredcategories: G = "" } = e, { translationurl: k = "" } = e, { categoriesicon: H = "" } = e, { lobbyiconimage: B = "" } = e, { mygamesiconimage: Y = "" } = e, x, z, y = !0, h, b = [], f = !1, Z = window.navigator.userAgent, d, J, K = !1, T = !1;
321
+ const p = () => {
322
322
  fetch(k).then((m) => m.json()).then((m) => {
323
323
  Object.keys(m).forEach((g) => {
324
- Q(g, m[g]);
324
+ W(g, m[g]);
325
325
  });
326
326
  }).catch((m) => {
327
327
  console.log(m);
328
328
  });
329
329
  };
330
- Object.keys(V).forEach((s) => {
331
- Q(s, V[s]);
330
+ Object.keys(X).forEach((s) => {
331
+ W(s, X[s]);
332
332
  });
333
- const p = () => {
334
- z == !1 && (M == "true" || L == "true" || C == "true") && b.splice(1, 0, {
333
+ const $ = () => {
334
+ K == !1 && (M == "true" || L == "true" || C == "true") && b.splice(1, 0, {
335
335
  // @ts-ignore
336
336
  id: "MYGAMES",
337
- name: H,
337
+ name: x,
338
338
  href: "",
339
339
  games: []
340
- }), fe(), z = !0, t(25, F = !0), J();
341
- }, $ = () => (r || (d = "Endpoint is missing! Please provide a valid endpointURL.", t(14, f = !0), t(12, y = !1), console.error(d)), a || (d = "Datasource is missing! Please provide a valid datasource.", t(14, f = !0), t(12, y = !1), console.error(d)), (!n || n.length < 2) && (d = "Language is missing! Please provide a valid language (alpha2code)", t(14, f = !0), t(12, y = !1), console.error(d)), f), ee = () => {
342
- if (H = l("myGamesName"), Y = l("lobbyName"), !$()) {
340
+ }), he(), K = !0, t(25, T = !0), P();
341
+ }, ee = () => (r || (h = "Endpoint is missing! Please provide a valid endpointURL.", t(14, f = !0), t(12, y = !1), console.error(h)), a || (h = "Datasource is missing! Please provide a valid datasource.", t(14, f = !0), t(12, y = !1), console.error(h)), (!n || n.length < 2) && (h = "Language is missing! Please provide a valid language (alpha2code)", t(14, f = !0), t(12, y = !1), console.error(h)), f), te = () => {
342
+ if (x = l("myGamesName"), z = l("lobbyName"), !ee()) {
343
343
  let s = new URL(`${r}/v1/casino/groups/${a}`);
344
- s.searchParams.append("datasource", a), s.searchParams.append("language", n), s.searchParams.append("platform", he(X)), fetch(s).then((m) => m.json()).then(
344
+ s.searchParams.append("datasource", a), s.searchParams.append("language", n), s.searchParams.append("platform", be(Z)), fetch(s).then((m) => m.json()).then(
345
345
  (m) => {
346
- let g = G.split(","), ne = m.items.filter((K) => {
347
- let P = !1;
348
- if (K.games.total > 0 && (P = !0, G))
349
- for (let oe of g)
350
- K.flags == oe && (P = !1);
351
- return P;
346
+ let g = G.split(","), oe = m.items.filter((V) => {
347
+ let q = !1;
348
+ if (V.games.total > 0 && (q = !0, G))
349
+ for (let le of g)
350
+ V.flags == le && (q = !1);
351
+ return q;
352
352
  });
353
- b = [], b = b.concat(ne), b.unshift({
353
+ b = [], b = b.concat(oe), b.unshift({
354
354
  // @ts-ignore
355
355
  id: "LOBBY",
356
- name: Y,
356
+ name: z,
357
357
  href: "",
358
358
  games: []
359
359
  }), t(12, y = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
@@ -365,90 +365,90 @@ function Se(i, e, t) {
365
365
  t(14, f = !0), console.error("There was an error while fetching the categories", m);
366
366
  });
367
367
  }
368
- }, te = () => {
368
+ }, se = () => {
369
369
  let s = u.split("$");
370
370
  t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
371
- }, se = () => {
372
- let s = document.createElement("style");
373
- s.innerHTML = _, h.appendChild(s);
374
371
  }, ie = () => {
372
+ let s = document.createElement("style");
373
+ s.innerHTML = _, d.appendChild(s);
374
+ }, ae = () => {
375
375
  let s = document.createElement("style"), m = new URL(v);
376
376
  fetch(m.href).then((g) => g.text()).then((g) => {
377
377
  s.innerHTML = g, setTimeout(
378
378
  () => {
379
- h.appendChild(s);
379
+ d.appendChild(s);
380
380
  },
381
381
  1
382
382
  );
383
383
  });
384
- }, J = () => {
385
- setTimeout(
386
- () => {
387
- window.postMessage(
388
- {
389
- type: "SliderData",
390
- identity: W,
391
- data: b
392
- },
393
- window.location.href
394
- );
384
+ }, P = () => {
385
+ window.postMessage(
386
+ {
387
+ type: "SliderData",
388
+ identity: A,
389
+ data: b
395
390
  },
396
- 200
391
+ window.location.href
397
392
  );
393
+ }, Q = (s) => {
394
+ s.data && s.data.type == "SliderLoaded" && A == s.data.identity && P();
398
395
  };
399
- function ae(s) {
400
- de[s ? "unshift" : "push"](() => {
401
- h = s, t(13, h);
396
+ de(() => (window.addEventListener("message", Q, !1), () => {
397
+ window.removeEventListener("message", Q);
398
+ }));
399
+ function ne(s) {
400
+ we[s ? "unshift" : "push"](() => {
401
+ d = s, t(13, d);
402
402
  });
403
403
  }
404
404
  return i.$$set = (s) => {
405
- "endpoint" in s && t(1, r = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, n = s.lang), "userid" in s && t(17, q = s.userid), "session" in s && t(18, w = s.session), "mostplayed" in s && t(19, L = s.mostplayed), "lastplayed" in s && t(20, C = s.lastplayed), "favorites" in s && t(21, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, A = s.actionevent), "sessioncheck" in s && t(22, D = s.sessioncheck), "location" in s && t(7, O = s.location), "showsubgroups" in s && t(8, R = s.showsubgroups), "filteredcategories" in s && t(23, G = s.filteredcategories), "translationurl" in s && t(24, k = s.translationurl), "categoriesicon" in s && t(9, U = s.categoriesicon), "lobbyiconimage" in s && t(10, I = s.lobbyiconimage), "mygamesiconimage" in s && t(11, B = s.mygamesiconimage);
405
+ "endpoint" in s && t(1, r = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, n = s.lang), "userid" in s && t(17, D = s.userid), "session" in s && t(18, N = s.session), "mostplayed" in s && t(19, L = s.mostplayed), "lastplayed" in s && t(20, C = s.lastplayed), "favorites" in s && t(21, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, O = s.actionevent), "sessioncheck" in s && t(22, R = s.sessioncheck), "location" in s && t(7, U = s.location), "showsubgroups" in s && t(8, I = s.showsubgroups), "filteredcategories" in s && t(23, G = s.filteredcategories), "translationurl" in s && t(24, k = s.translationurl), "categoriesicon" in s && t(9, H = s.categoriesicon), "lobbyiconimage" in s && t(10, B = s.lobbyiconimage), "mygamesiconimage" in s && t(11, Y = s.mygamesiconimage);
406
406
  }, i.$$.update = () => {
407
407
  i.$$.dirty[0] & /*endpoint, datasource, lang*/
408
- 14 && r && a && n && ee(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
409
- 3936258 && r && w && (L || C || M) && !y && p(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
410
- 33820673 && !y && u && (!w || F) && te(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
411
- 8208 && _ && h && se(), i.$$.dirty[0] & /*translationurl*/
412
- 16777216 && k && Z(), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
413
- 8224 && v && h && ie();
414
- }, t(15, x = 0), [
408
+ 14 && r && a && n && te(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
409
+ 3936258 && r && N && (L || C || M) && !y && $(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
410
+ 33820673 && !y && u && (!N || T) && se(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
411
+ 8208 && _ && d && ie(), i.$$.dirty[0] & /*translationurl*/
412
+ 16777216 && k && p(), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
413
+ 8224 && v && d && ae();
414
+ }, t(15, J = 0), [
415
415
  u,
416
416
  r,
417
417
  a,
418
418
  n,
419
419
  _,
420
420
  v,
421
- A,
422
421
  O,
423
- R,
424
422
  U,
425
423
  I,
424
+ H,
426
425
  B,
426
+ Y,
427
427
  y,
428
- h,
428
+ d,
429
429
  f,
430
- x,
431
430
  J,
432
- q,
433
- w,
431
+ P,
432
+ D,
433
+ N,
434
434
  L,
435
435
  C,
436
436
  M,
437
- D,
437
+ R,
438
438
  G,
439
439
  k,
440
- F,
441
- ae
440
+ T,
441
+ ne
442
442
  ];
443
443
  }
444
- class Ee extends re {
444
+ class Fe extends ce {
445
445
  constructor(e) {
446
- super(), ce(
446
+ super(), me(
447
447
  this,
448
448
  e,
449
- Se,
450
- ve,
451
- ge,
449
+ je,
450
+ ke,
451
+ ue,
452
452
  {
453
453
  endpoint: 1,
454
454
  datasource: 2,
@@ -471,7 +471,7 @@ class Ee extends re {
471
471
  lobbyiconimage: 10,
472
472
  mygamesiconimage: 11
473
473
  },
474
- Le,
474
+ Me,
475
475
  [-1, -1]
476
476
  );
477
477
  }
@@ -596,7 +596,7 @@ class Ee extends re {
596
596
  this.$$set({ mygamesiconimage: e }), c();
597
597
  }
598
598
  }
599
- me(Ee, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
599
+ ge(Fe, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
600
600
  export {
601
- Ee as default
601
+ Fe as default
602
602
  };
@@ -1,4 +1,4 @@
1
- import { I as we, $ as Se, S as ke, i as Ge, f as M, c as Pe, s as Le, b as Me, e as C, d as j, C as H, j as T, J as je, o as Te, l as xe, m as X, p as O, r as R, q as x, u as m, P as Fe, v as _, Q as ze, A as I, B as re, w as B, R as He, G as N, O as Oe, D as A, T as Be } from "./CasinoCalendar-BuNYmxT2.js";
1
+ import { I as we, $ as Se, S as ke, i as Ge, f as M, c as Pe, s as Le, b as Me, e as C, d as j, C as H, j as T, J as je, o as Te, l as xe, m as X, p as O, r as R, q as x, u as m, P as Fe, v as _, Q as ze, A as I, B as re, w as B, R as He, G as N, O as Oe, D as A, T as Be } from "./CasinoCalendar-CCQut7OA.js";
2
2
  function Y(t, e) {
3
3
  we(t, e);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { $ as E, a as O, S as U, i as j, f as l, c as q, s as V, b as z, e as T, u as B, d as R, C as L, j as A, M as n, m as G } from "./CasinoCalendar-BuNYmxT2.js";
1
+ import { $ as E, a as O, S as U, i as j, f as l, c as q, s as V, b as z, e as T, u as B, d as R, C as L, j as A, M as n, m as G } from "./CasinoCalendar-CCQut7OA.js";
2
2
  if (typeof window != "undefined") {
3
3
  let a = function(e) {
4
4
  return function(...t) {
@@ -11,7 +11,7 @@ if (typeof window != "undefined") {
11
11
  }
12
12
  };
13
13
  };
14
- customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-DmNsoS_K.js").then(({ default: e }) => {
14
+ customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-rgBbE8Qs.js").then(({ default: e }) => {
15
15
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
16
16
  });
17
17
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-B3jjGeXh.cjs");if(typeof window!="undefined"){let i=function(e){return function(...s){try{return e.apply(this,s)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-CbKid5So.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function q({withLocale:i,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(i))})}function O(i){t.append_styles(i,"svelte-tcik44",".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}")}function S(i){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",i[4]),t.set_custom_element_data(e,"userid",i[5]),t.set_custom_element_data(e,"endpoint",i[0]),t.set_custom_element_data(e,"datasource",i[1]),t.set_custom_element_data(e,"lang",i[3]),t.set_custom_element_data(e,"currency",i[2]),t.set_custom_element_data(e,"favorites",i[14]),t.set_custom_element_data(e,"fetchviaevent",i[16]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",i[11]),t.set_custom_element_data(e,"clientstyling",i[6]),t.set_custom_element_data(e,"clientstylingurl",i[7]),t.set_custom_element_data(e,"livecasino",i[8]),t.set_custom_element_data(e,"visiblegames",i[13]),t.set_custom_element_data(e,"gamepagemodalurl",i[12]),t.set_custom_element_data(e,"integratedgameframedesktop",i[10]),t.set_custom_element_data(e,"integratedgameframemobile",i[9]),t.set_custom_element_data(e,"casinomygames",i[15])},m(s,a){t.insert(s,e,a)},p(s,a){a&16&&t.set_custom_element_data(e,"session",s[4]),a&32&&t.set_custom_element_data(e,"userid",s[5]),a&1&&t.set_custom_element_data(e,"endpoint",s[0]),a&2&&t.set_custom_element_data(e,"datasource",s[1]),a&8&&t.set_custom_element_data(e,"lang",s[3]),a&4&&t.set_custom_element_data(e,"currency",s[2]),a&16384&&t.set_custom_element_data(e,"favorites",s[14]),a&65536&&t.set_custom_element_data(e,"fetchviaevent",s[16]),a&2048&&t.set_custom_element_data(e,"showgamename",s[11]),a&64&&t.set_custom_element_data(e,"clientstyling",s[6]),a&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),a&256&&t.set_custom_element_data(e,"livecasino",s[8]),a&8192&&t.set_custom_element_data(e,"visiblegames",s[13]),a&4096&&t.set_custom_element_data(e,"gamepagemodalurl",s[12]),a&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",s[10]),a&512&&t.set_custom_element_data(e,"integratedgameframemobile",s[9]),a&32768&&t.set_custom_element_data(e,"casinomygames",s[15])},d(s){s&&t.detach(e)}}}function R(i){let e,s=i[4]&&S(i);return{c(){e=t.element("div"),s&&s.c(),t.attr(e,"class","CasinoFavoritesSectionContainer")},m(a,m){t.insert(a,e,m),s&&s.m(e,null),i[18](e)},p(a,[m]){a[4]?s?s.p(a,m):(s=S(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(a){a&&t.detach(e),s&&s.d(),i[18](null)}}}function A(i,e,s){let{endpoint:a=""}=e,{datasource:m=""}=e,{currency:g=""}=e,{lang:r=""}=e,{session:f=""}=e,{userid:_=""}=e,{clientstyling:c=""}=e,{clientstylingurl:o=""}=e,{livecasino:d="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:y="false"}=e,{showgamename:v=""}=e,{gamepagemodalurl:b="false"}=e,{visiblegames:w=""}=e,{favorites:C=""}=e,{casinomygames:k="false"}=e,{fetchviaevent:F="true"}=e,l;q({withLocale:"en",translations:{}});const L=()=>{let n=document.createElement("style");n.innerHTML=c,l.appendChild(n)},T=()=>{let n=document.createElement("style");fetch(new URL(o)).then(u=>u.text()).then(u=>{n.innerHTML=u,setTimeout(()=>{l.appendChild(n)},1)})};function M(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(17,l)})}return i.$$set=n=>{"endpoint"in n&&s(0,a=n.endpoint),"datasource"in n&&s(1,m=n.datasource),"currency"in n&&s(2,g=n.currency),"lang"in n&&s(3,r=n.lang),"session"in n&&s(4,f=n.session),"userid"in n&&s(5,_=n.userid),"clientstyling"in n&&s(6,c=n.clientstyling),"clientstylingurl"in n&&s(7,o=n.clientstylingurl),"livecasino"in n&&s(8,d=n.livecasino),"integratedgameframemobile"in n&&s(9,h=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(10,y=n.integratedgameframedesktop),"showgamename"in n&&s(11,v=n.showgamename),"gamepagemodalurl"in n&&s(12,b=n.gamepagemodalurl),"visiblegames"in n&&s(13,w=n.visiblegames),"favorites"in n&&s(14,C=n.favorites),"casinomygames"in n&&s(15,k=n.casinomygames),"fetchviaevent"in n&&s(16,F=n.fetchviaevent)},i.$$.update=()=>{i.$$.dirty&131136&&c&&l&&L(),i.$$.dirty&131200&&o&&l&&T()},[a,m,g,r,f,_,c,o,d,h,y,v,b,w,C,k,F,l,M]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,A,R,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16},O)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(E,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{}},[],[],!0);exports.default=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-B3jjGeXh.cjs");if(typeof window!="undefined"){let i=function(e){return function(...s){try{return e.apply(this,s)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-BdxhFGQE.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function q({withLocale:i,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(i))})}function O(i){t.append_styles(i,"svelte-tcik44",".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}")}function S(i){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",i[4]),t.set_custom_element_data(e,"userid",i[5]),t.set_custom_element_data(e,"endpoint",i[0]),t.set_custom_element_data(e,"datasource",i[1]),t.set_custom_element_data(e,"lang",i[3]),t.set_custom_element_data(e,"currency",i[2]),t.set_custom_element_data(e,"favorites",i[14]),t.set_custom_element_data(e,"fetchviaevent",i[16]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",i[11]),t.set_custom_element_data(e,"clientstyling",i[6]),t.set_custom_element_data(e,"clientstylingurl",i[7]),t.set_custom_element_data(e,"livecasino",i[8]),t.set_custom_element_data(e,"visiblegames",i[13]),t.set_custom_element_data(e,"gamepagemodalurl",i[12]),t.set_custom_element_data(e,"integratedgameframedesktop",i[10]),t.set_custom_element_data(e,"integratedgameframemobile",i[9]),t.set_custom_element_data(e,"casinomygames",i[15])},m(s,a){t.insert(s,e,a)},p(s,a){a&16&&t.set_custom_element_data(e,"session",s[4]),a&32&&t.set_custom_element_data(e,"userid",s[5]),a&1&&t.set_custom_element_data(e,"endpoint",s[0]),a&2&&t.set_custom_element_data(e,"datasource",s[1]),a&8&&t.set_custom_element_data(e,"lang",s[3]),a&4&&t.set_custom_element_data(e,"currency",s[2]),a&16384&&t.set_custom_element_data(e,"favorites",s[14]),a&65536&&t.set_custom_element_data(e,"fetchviaevent",s[16]),a&2048&&t.set_custom_element_data(e,"showgamename",s[11]),a&64&&t.set_custom_element_data(e,"clientstyling",s[6]),a&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),a&256&&t.set_custom_element_data(e,"livecasino",s[8]),a&8192&&t.set_custom_element_data(e,"visiblegames",s[13]),a&4096&&t.set_custom_element_data(e,"gamepagemodalurl",s[12]),a&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",s[10]),a&512&&t.set_custom_element_data(e,"integratedgameframemobile",s[9]),a&32768&&t.set_custom_element_data(e,"casinomygames",s[15])},d(s){s&&t.detach(e)}}}function R(i){let e,s=i[4]&&S(i);return{c(){e=t.element("div"),s&&s.c(),t.attr(e,"class","CasinoFavoritesSectionContainer")},m(a,m){t.insert(a,e,m),s&&s.m(e,null),i[18](e)},p(a,[m]){a[4]?s?s.p(a,m):(s=S(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(a){a&&t.detach(e),s&&s.d(),i[18](null)}}}function A(i,e,s){let{endpoint:a=""}=e,{datasource:m=""}=e,{currency:g=""}=e,{lang:r=""}=e,{session:f=""}=e,{userid:_=""}=e,{clientstyling:c=""}=e,{clientstylingurl:o=""}=e,{livecasino:d="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:y="false"}=e,{showgamename:v=""}=e,{gamepagemodalurl:b="false"}=e,{visiblegames:w=""}=e,{favorites:C=""}=e,{casinomygames:k="false"}=e,{fetchviaevent:F="true"}=e,l;q({withLocale:"en",translations:{}});const L=()=>{let n=document.createElement("style");n.innerHTML=c,l.appendChild(n)},T=()=>{let n=document.createElement("style");fetch(new URL(o)).then(u=>u.text()).then(u=>{n.innerHTML=u,setTimeout(()=>{l.appendChild(n)},1)})};function M(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(17,l)})}return i.$$set=n=>{"endpoint"in n&&s(0,a=n.endpoint),"datasource"in n&&s(1,m=n.datasource),"currency"in n&&s(2,g=n.currency),"lang"in n&&s(3,r=n.lang),"session"in n&&s(4,f=n.session),"userid"in n&&s(5,_=n.userid),"clientstyling"in n&&s(6,c=n.clientstyling),"clientstylingurl"in n&&s(7,o=n.clientstylingurl),"livecasino"in n&&s(8,d=n.livecasino),"integratedgameframemobile"in n&&s(9,h=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(10,y=n.integratedgameframedesktop),"showgamename"in n&&s(11,v=n.showgamename),"gamepagemodalurl"in n&&s(12,b=n.gamepagemodalurl),"visiblegames"in n&&s(13,w=n.visiblegames),"favorites"in n&&s(14,C=n.favorites),"casinomygames"in n&&s(15,k=n.casinomygames),"fetchviaevent"in n&&s(16,F=n.fetchviaevent)},i.$$.update=()=>{i.$$.dirty&131136&&c&&l&&L(),i.$$.dirty&131200&&o&&l&&T()},[a,m,g,r,f,_,c,o,d,h,y,v,b,w,C,k,F,l,M]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,A,R,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16},O)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(E,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{}},[],[],!0);exports.default=E;
@@ -1,4 +1,4 @@
1
- import { $ as re, a as ue, I as ge, S as me, i as he, f as L, c as Fe, s as be, b as ye, e as g, d as N, C as ie, j as z, J as ve, o as _e, L as we, m as ke, p as ae, E as ee, q as P, r as A, u as o, v as s, w as te, A as B, B as Ce, R as pe, U as ne, O as xe, D as oe } from "./CasinoCalendar-BuNYmxT2.js";
1
+ import { $ as re, a as ue, I as ge, S as me, i as he, f as L, c as Fe, s as be, b as ye, e as g, d as N, C as ie, j as z, J as ve, o as _e, L as we, m as ke, p as ae, E as ee, q as P, r as A, u as o, v as s, w as te, A as B, B as Ce, R as pe, U as ne, O as xe, D as oe } from "./CasinoCalendar-CCQut7OA.js";
2
2
  function Se({ withLocale: r, translations: e }) {
3
3
  re.subscribe((t) => {
4
4
  t == null && (ue.set(e), re.set(r));
@@ -14,7 +14,7 @@ var _r = (e, t, s) => new Promise((r, n) => {
14
14
  }, l = (f) => f.done ? r(f.value) : Promise.resolve(f.value).then(i, a);
15
15
  l((s = s.apply(e, t)).next());
16
16
  });
17
- import { $ as Ys, a as gi, I as _i, S as yi, i as pi, f as se, c as wi, s as ki, b as vi, e as _, d as q, C as Ke, j as J, J as bi, V as Si, o as Mi, l as st, W as Fi, m as le, u, G as oe, v as d, r as V, A as Z, F as Dt, O as Di, q as z, D as he, X as He, w as ie, R as Yt, L as yr, E as Jt } from "./CasinoCalendar-BuNYmxT2.js";
17
+ import { $ as Ys, a as gi, I as _i, S as yi, i as pi, f as se, c as wi, s as ki, b as vi, e as _, d as q, C as Ke, j as J, J as bi, V as Si, o as Mi, l as st, W as Fi, m as le, u, G as oe, v as d, r as V, A as Z, F as Dt, O as Di, q as z, D as he, X as He, w as ie, R as Yt, L as yr, E as Jt } from "./CasinoCalendar-CCQut7OA.js";
18
18
  function Yi({ withLocale: e, translations: t }) {
19
19
  Ys.subscribe((s) => {
20
20
  s == null && (gi.set(t), Ys.set(e));
@@ -14,8 +14,8 @@ var $e = (n, e, t) => new Promise((a, r) => {
14
14
  }, s = (m) => m.done ? a(m.value) : Promise.resolve(m.value).then(o, l);
15
15
  s((t = t.apply(n, e)).next());
16
16
  });
17
- import { I as Ht, $ as Kt, S as Wt, i as Vt, f as v, c as jt, s as Yt, b as Jt, e as C, q as B, r as J, D as et, u as d, X as tt, d as k, v as g, A as X, C as fe, j as R, J as Xt, o as Zt, w as Ee, F as de, l as P, L as Qt, m as Ne, H as Z, p as we, B as wt, O as qt, K as ce, E as xe } from "./CasinoCalendar-BuNYmxT2.js";
18
- import { h as nt } from "./CasinoGamePage-DAsfOU8X.js";
17
+ import { I as Ht, $ as Kt, S as Wt, i as Vt, f as v, c as jt, s as Yt, b as Jt, e as C, q as B, r as J, D as et, u as d, X as tt, d as k, v as g, A as X, C as fe, j as R, J as Xt, o as Zt, w as Ee, F as de, l as P, L as Qt, m as Ne, H as Z, p as we, B as wt, O as qt, K as ce, E as xe } from "./CasinoCalendar-CCQut7OA.js";
18
+ import { h as nt } from "./CasinoGamePage-CGpIAfYK.js";
19
19
  function at(n, e) {
20
20
  Ht(n, e);
21
21
  }