@everymatrix/casino-my-games-nd 1.77.18 → 1.77.20

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 (43) hide show
  1. package/components/CasinoFavoritesSectionNd-BVC1650M.cjs +16 -0
  2. package/components/{CasinoFavoritesSectionNd-yL7bG7cr.js → CasinoFavoritesSectionNd-BW053lHx.js} +1159 -1129
  3. package/components/{CasinoFavoritesSectionNd-CIaQmLaZ.js → CasinoFavoritesSectionNd-nG2ynMJJ.js} +1123 -1093
  4. package/components/{CasinoFilter-Do8RpGVV.js → CasinoFilter-BNyX6f2y.js} +157 -225
  5. package/components/CasinoFilter-D_bF3IJE.cjs +3 -0
  6. package/components/{CasinoFilter-C9-vbAdr.js → CasinoFilter-Dj714vut.js} +239 -309
  7. package/components/{CasinoGameThumbnailNd-Bfc5gihp.js → CasinoGameThumbnailNd-CWjsIAeY.js} +3 -3
  8. package/components/{CasinoGameThumbnailNd-aSAssa6M.cjs → CasinoGameThumbnailNd-Dd3kp87R.cjs} +1 -1
  9. package/components/{CasinoGameThumbnailNd-CIzMLSSe.js → CasinoGameThumbnailNd-o2OCgL48.js} +3 -3
  10. package/components/{CasinoGamesCategorySectionNd-Dc_wSU_N.js → CasinoGamesCategorySectionNd-BpWe-6bs.js} +60 -60
  11. package/components/{CasinoGamesCategorySectionNd-ByRcEXhY.js → CasinoGamesCategorySectionNd-CLedgRK9.js} +127 -127
  12. package/components/{CasinoGamesCategorySectionNd-DTFGyINc.cjs → CasinoGamesCategorySectionNd-upR5fOZe.cjs} +1 -1
  13. package/components/{CasinoLastPlayedSectionNd-EqZB4qaX.cjs → CasinoLastPlayedSectionNd-5jzzfUzp.cjs} +1 -1
  14. package/components/{CasinoLastPlayedSectionNd-1sY6IwWp.js → CasinoLastPlayedSectionNd-BJ4ENstr.js} +36 -36
  15. package/components/{CasinoLastPlayedSectionNd-CeP6reIP.js → CasinoLastPlayedSectionNd-C6RqMd30.js} +36 -36
  16. package/components/{CasinoMostPlayedSectionNd-CYQhxyW8.js → CasinoMostPlayedSectionNd-BSTtmAYL.js} +26 -26
  17. package/components/{CasinoMostPlayedSectionNd-BJup9vMb.js → CasinoMostPlayedSectionNd-DDcuJkEU.js} +26 -26
  18. package/components/{CasinoMostPlayedSectionNd-B6Oa9omn.cjs → CasinoMostPlayedSectionNd-se3ZyDIi.cjs} +1 -1
  19. package/components/{CasinoMyGamesNd-Dzi-kA2k.js → CasinoMyGamesNd-CsLusGyl.js} +21 -21
  20. package/components/{CasinoMyGamesNd-CT2PNyPj.cjs → CasinoMyGamesNd-D_u-w13U.cjs} +1 -1
  21. package/components/{CasinoMyGamesNd-CYQuetAd.js → CasinoMyGamesNd-LmN1UL9A.js} +23 -23
  22. package/components/{CasinoSort-Cij3MZNh.js → CasinoSort-CE2_DwIO.js} +13 -13
  23. package/components/{CasinoSort-C1FHS127.js → CasinoSort-DG_n7paF.js} +13 -13
  24. package/components/{CasinoSort-CzuM3yRC.cjs → CasinoSort-DTc5vM44.cjs} +1 -1
  25. package/es2015/casino-my-games-nd.cjs +1 -1
  26. package/es2015/casino-my-games-nd.js +1 -1
  27. package/esnext/casino-my-games-nd.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-B0NIExnR.js} +2 -2
  30. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-D6HPqRtr.js} +2 -2
  31. package/stencil/index-97d17652-DNpK20ur.cjs +1 -0
  32. package/stencil/{ui-image-CHeV8e9p.js → ui-image-BY8ZO6br.js} +1 -1
  33. package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-DJSOH8ZL.cjs} +1 -1
  34. package/stencil/{ui-image-C7s6Uvn5.js → ui-image-DfVgiF6v.js} +1 -1
  35. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-BXmf73Ou.js} +1 -1
  36. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-DaWM2RbJ.cjs} +1 -1
  37. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-c0NIgcTj.js} +1 -1
  38. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Cdo33umq.cjs} +1 -1
  39. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-DbQ7SENq.js} +2 -2
  40. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-L-CYescb.js} +2 -2
  41. package/components/CasinoFavoritesSectionNd-BXf5dIxF.cjs +0 -3
  42. package/components/CasinoFilter-C0HjHa4h.cjs +0 -16
  43. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSectionNd-BXf5dIxF.cjs"),V=require("./CasinoFilter-C0HjHa4h.cjs");function U(n,e){t.addMessages(n,e)}function W(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function X(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function Z(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,o){t.insert(l,e,o),t.append(e,i)},p(l,o){o[0]&2097152&&a!==(a=l[21]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function x(n){let e,a;function i(r,u){return r[20]?p:Z}let l=i(n),o=l(n);return{c(){e=t.element("div"),a=t.element("div"),o.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),o.m(a,null),n[24](e)},p(r,u){l===(l=i(r))&&o?o.p(r,u):(o.d(1),o=l(r),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o.d(),n[24](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:l=""}=e,{datasource:o=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:F=""}=e,{visiblegames:N}=e,{favorites:O=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:S="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:E="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${l}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",S);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,f)=>{fetch(D).then(_=>_.json()).then(_=>{_.items=_.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(_.count--,R=!1),R}),g(_)}).catch(_=>{console.error(_),f(_)})})},B=()=>{Y({limit:100,device:V.getDevice(I),rounds:C}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${l}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",o),w?m.push(fetch(g.href).then(f=>f.json())):m.push(fetch(g.href).then(f=>f.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},H=()=>{W(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,l=s.endpoint),"datasource"in s&&a(1,o=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,F=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,O=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,S=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,C=s.mostplayedrounds),"fetchviaevent"in s&&a(18,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&h&&u&&B(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[l,o,r,u,j,h,y,b,v,w,M,L,A,F,N,O,G,P,E,c,T,i,S,C,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},X,[-1,-1])}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 mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFavoritesSectionNd-BVC1650M.cjs"),V=require("./CasinoFilter-D_bF3IJE.cjs");function U(n,e){t.addMessages(n,e)}function W(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function X(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function Z(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,o){t.insert(l,e,o),t.append(e,i)},p(l,o){o[0]&2097152&&a!==(a=l[21]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function x(n){let e,a;function i(r,u){return r[20]?p:Z}let l=i(n),o=l(n);return{c(){e=t.element("div"),a=t.element("div"),o.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),o.m(a,null),n[24](e)},p(r,u){l===(l=i(r))&&o?o.p(r,u):(o.d(1),o=l(r),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o.d(),n[24](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:l=""}=e,{datasource:o=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:F=""}=e,{visiblegames:N}=e,{favorites:O=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:S="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:E="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${l}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",S);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,f)=>{fetch(D).then(_=>_.json()).then(_=>{_.items=_.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(_.count--,R=!1),R}),g(_)}).catch(_=>{console.error(_),f(_)})})},B=()=>{Y({limit:100,device:V.getDevice(I),rounds:C}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${l}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",o),w?m.push(fetch(g.href).then(f=>f.json())):m.push(fetch(g.href).then(f=>f.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},H=()=>{W(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,l=s.endpoint),"datasource"in s&&a(1,o=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,F=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,O=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,S=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,C=s.mostplayedrounds),"fetchviaevent"in s&&a(18,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&h&&u&&B(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[l,o,r,u,j,h,y,b,v,w,M,L,A,F,N,O,G,P,E,c,T,i,S,C,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},X,[-1,-1])}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 mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
@@ -1,5 +1,5 @@
1
- import { $ as H, a as ce, b as he, C as ve, S as be, i as pe, s as Pe, f as g, c as _e, n as $, d as k, e as F, g as _, h as Me, o as we, j as ke, l as ee, m as Fe, E as a, F as E, k as M, q as b, v as C, G as Ge, p as z, t as U, w as A, D as Ce, z as Le, A as Ee, B as Ae } from "./CasinoFavoritesSectionNd-CIaQmLaZ.js";
2
- import { i as Be } from "./CasinoFilter-Do8RpGVV.js";
1
+ import { $ as H, d as ce, e as he, F as ve, S as be, i as pe, s as Pe, f as g, g as _e, n as $, h as k, j as F, k as _, l as Me, o as we, m as ke, q as ee, r as Fe, H as a, I as E, p as M, v as b, y as C, J as Ge, u as z, w as I, z as A, G as Ce, C as Le, D as Ee, E as Ae } from "./CasinoFavoritesSectionNd-nG2ynMJJ.js";
2
+ import { i as Be } from "./CasinoFilter-Dj714vut.js";
3
3
  function Oe({ withLocale: t, translations: e }) {
4
4
  H.subscribe((n) => {
5
5
  n == null && (ce.set(e), H.set(t));
@@ -115,7 +115,7 @@ if (typeof window < "u") {
115
115
  }
116
116
  };
117
117
  };
118
- customElements.define = t(customElements.define), import("./CasinoFavoritesSectionNd-CIaQmLaZ.js").then((e) => e.N).then(({ default: e }) => {
118
+ customElements.define = t(customElements.define), import("./CasinoFavoritesSectionNd-nG2ynMJJ.js").then((e) => e.Q).then(({ default: e }) => {
119
119
  !customElements.get("casino-favorites-section-nd") && customElements.define("casino-favorites-section-nd", e.element);
120
120
  });
121
121
  }
@@ -131,7 +131,7 @@ if (typeof window < "u") {
131
131
  }
132
132
  };
133
133
  };
134
- customElements.define = t(customElements.define), import("./CasinoLastPlayedSectionNd-CeP6reIP.js").then(({ default: e }) => {
134
+ customElements.define = t(customElements.define), import("./CasinoLastPlayedSectionNd-BJ4ENstr.js").then(({ default: e }) => {
135
135
  !customElements.get("casino-last-played-section-nd") && customElements.define("casino-last-played-section-nd", e.element);
136
136
  });
137
137
  }
@@ -147,7 +147,7 @@ if (typeof window < "u") {
147
147
  }
148
148
  };
149
149
  };
150
- customElements.define = t(customElements.define), import("./CasinoMostPlayedSectionNd-CYQhxyW8.js").then(({ default: e }) => {
150
+ customElements.define = t(customElements.define), import("./CasinoMostPlayedSectionNd-BSTtmAYL.js").then(({ default: e }) => {
151
151
  !customElements.get("casino-most-played-section-nd") && customElements.define("casino-most-played-section-nd", e.element);
152
152
  });
153
153
  }
@@ -913,7 +913,7 @@ function ie(t) {
913
913
  (t[16] == "false" ? "Off" : ""));
914
914
  },
915
915
  m(h, c) {
916
- F(h, e, c), b(e, d), b(e, u), b(e, f), b(f, l), b(f, y), b(f, i), m || (P = U(
916
+ F(h, e, c), b(e, d), b(e, u), b(e, f), b(f, l), b(f, y), b(f, i), m || (P = I(
917
917
  e,
918
918
  "click",
919
919
  /*click_handler*/
@@ -950,7 +950,7 @@ function le(t) {
950
950
  (t[17] == "false" ? "Off" : ""));
951
951
  },
952
952
  m(y, i) {
953
- F(y, e, i), b(e, d), f || (l = U(
953
+ F(y, e, i), b(e, d), f || (l = I(
954
954
  e,
955
955
  "click",
956
956
  /*click_handler_1*/
@@ -982,7 +982,7 @@ function ne(t) {
982
982
  (t[18] == "false" ? "Off" : ""));
983
983
  },
984
984
  m(i, p) {
985
- F(i, e, p), b(e, d), b(e, u), l || (y = U(
985
+ F(i, e, p), b(e, d), b(e, u), l || (y = I(
986
986
  e,
987
987
  "click",
988
988
  /*click_handler_2*/
@@ -1031,7 +1031,7 @@ function oe(t) {
1031
1031
  }
1032
1032
  };
1033
1033
  }
1034
- function Ne(t) {
1034
+ function De(t) {
1035
1035
  let e;
1036
1036
  function n(f, l) {
1037
1037
  if (
@@ -1058,10 +1058,10 @@ function Ne(t) {
1058
1058
  }
1059
1059
  };
1060
1060
  }
1061
- function De(t, e, n) {
1061
+ function Ne(t, e, n) {
1062
1062
  let d;
1063
1063
  Me(t, Ce, (r) => n(31, d = r));
1064
- let { userid: u = "" } = e, { session: f = "" } = e, { endpoint: l = "" } = e, { datasource: y = "" } = e, { lang: i = "" } = e, { currency: p = "" } = e, { mbsource: m } = e, { clientstyling: P = "" } = e, { clientstylingurl: h = "" } = e, { livecasino: c = "" } = e, { visiblegames: s = "" } = e, { gamepagemodalurl: o = "" } = e, { showgamename: v = "" } = e, { integratedgameframedesktop: B = "" } = e, { integratedgameframemobile: I = "" } = e, { translationurl: q = "" } = e, { favorites: O = "false" } = e, { mostplayed: j = "false" } = e, { lastplayed: S = "false" } = e, { casinomygames: R = "false" } = e, { lastplayedperiod: J = "Last30Days" } = e, { mostplayedperiod: V = "Last30Days" } = e, { lastplayedorder: Z = "" } = e, { lastplayedlimit: K = "" } = e, { lastplayedunique: Q = "true" } = e, { mostplayedrounds: W = "" } = e, re = window.navigator.userAgent, w, N = "", X = !1, G = ["", "", ""], T = "0";
1064
+ let { userid: u = "" } = e, { session: f = "" } = e, { endpoint: l = "" } = e, { datasource: y = "" } = e, { lang: i = "" } = e, { currency: p = "" } = e, { mbsource: m } = e, { clientstyling: P = "" } = e, { clientstylingurl: h = "" } = e, { livecasino: c = "" } = e, { visiblegames: s = "" } = e, { gamepagemodalurl: o = "" } = e, { showgamename: v = "" } = e, { integratedgameframedesktop: B = "" } = e, { integratedgameframemobile: U = "" } = e, { translationurl: q = "" } = e, { favorites: O = "false" } = e, { mostplayed: j = "false" } = e, { lastplayed: S = "false" } = e, { casinomygames: R = "false" } = e, { lastplayedperiod: J = "Last30Days" } = e, { mostplayedperiod: Q = "Last30Days" } = e, { lastplayedorder: V = "" } = e, { lastplayedlimit: Z = "" } = e, { lastplayedunique: K = "true" } = e, { mostplayedrounds: W = "" } = e, re = window.navigator.userAgent, w, D = "", X = !1, G = ["", "", ""], T = "0";
1065
1065
  Oe({ withLocale: "en", translations: {} });
1066
1066
  const me = () => {
1067
1067
  fetch(q).then((L) => L.json()).then((L) => {
@@ -1075,10 +1075,10 @@ function De(t, e, n) {
1075
1075
  Object.keys(te).forEach((r) => {
1076
1076
  ae(r, te[r]);
1077
1077
  });
1078
- const D = (r) => {
1079
- N !== r && n(27, N = r);
1078
+ const N = (r) => {
1079
+ D !== r && n(27, D = r);
1080
1080
  }, de = () => {
1081
- n(27, N = O === "true" ? "Favorites" : j === "true" ? "MostPlayed" : S === "true" ? "LastPlayed" : ""), n(29, G[0] = O === "true" ? "Favorites" : "", G), n(29, G[1] = j === "true" ? "MostPlayed" : "", G), n(29, G[2] = S === "true" ? "LastPlayed" : "", G), je(i);
1081
+ n(27, D = O === "true" ? "Favorites" : j === "true" ? "MostPlayed" : S === "true" ? "LastPlayed" : ""), n(29, G[0] = O === "true" ? "Favorites" : "", G), n(29, G[1] = j === "true" ? "MostPlayed" : "", G), n(29, G[2] = S === "true" ? "LastPlayed" : "", G), je(i);
1082
1082
  }, Y = (r) => {
1083
1083
  if (r.data)
1084
1084
  switch (r.data.type) {
@@ -1090,14 +1090,14 @@ function De(t, e, n) {
1090
1090
  we(() => (window.addEventListener("message", Y, !1), n(28, X = Be(re)), () => {
1091
1091
  window.removeEventListener("message", Y);
1092
1092
  }));
1093
- const fe = () => D("Favorites"), ue = () => D("MostPlayed"), ye = () => D("LastPlayed");
1093
+ const fe = () => N("Favorites"), ue = () => N("MostPlayed"), ye = () => N("LastPlayed");
1094
1094
  function ge(r) {
1095
1095
  ke[r ? "unshift" : "push"](() => {
1096
1096
  w = r, n(26, w);
1097
1097
  });
1098
1098
  }
1099
1099
  return t.$$set = (r) => {
1100
- "userid" in r && n(0, u = r.userid), "session" in r && n(1, f = r.session), "endpoint" in r && n(2, l = r.endpoint), "datasource" in r && n(3, y = r.datasource), "lang" in r && n(4, i = r.lang), "currency" in r && n(5, p = r.currency), "mbsource" in r && n(6, m = r.mbsource), "clientstyling" in r && n(7, P = r.clientstyling), "clientstylingurl" in r && n(8, h = r.clientstylingurl), "livecasino" in r && n(9, c = r.livecasino), "visiblegames" in r && n(10, s = r.visiblegames), "gamepagemodalurl" in r && n(11, o = r.gamepagemodalurl), "showgamename" in r && n(12, v = r.showgamename), "integratedgameframedesktop" in r && n(13, B = r.integratedgameframedesktop), "integratedgameframemobile" in r && n(14, I = r.integratedgameframemobile), "translationurl" in r && n(15, q = r.translationurl), "favorites" in r && n(16, O = r.favorites), "mostplayed" in r && n(17, j = r.mostplayed), "lastplayed" in r && n(18, S = r.lastplayed), "casinomygames" in r && n(19, R = r.casinomygames), "lastplayedperiod" in r && n(20, J = r.lastplayedperiod), "mostplayedperiod" in r && n(21, V = r.mostplayedperiod), "lastplayedorder" in r && n(22, Z = r.lastplayedorder), "lastplayedlimit" in r && n(23, K = r.lastplayedlimit), "lastplayedunique" in r && n(24, Q = r.lastplayedunique), "mostplayedrounds" in r && n(25, W = r.mostplayedrounds);
1100
+ "userid" in r && n(0, u = r.userid), "session" in r && n(1, f = r.session), "endpoint" in r && n(2, l = r.endpoint), "datasource" in r && n(3, y = r.datasource), "lang" in r && n(4, i = r.lang), "currency" in r && n(5, p = r.currency), "mbsource" in r && n(6, m = r.mbsource), "clientstyling" in r && n(7, P = r.clientstyling), "clientstylingurl" in r && n(8, h = r.clientstylingurl), "livecasino" in r && n(9, c = r.livecasino), "visiblegames" in r && n(10, s = r.visiblegames), "gamepagemodalurl" in r && n(11, o = r.gamepagemodalurl), "showgamename" in r && n(12, v = r.showgamename), "integratedgameframedesktop" in r && n(13, B = r.integratedgameframedesktop), "integratedgameframemobile" in r && n(14, U = r.integratedgameframemobile), "translationurl" in r && n(15, q = r.translationurl), "favorites" in r && n(16, O = r.favorites), "mostplayed" in r && n(17, j = r.mostplayed), "lastplayed" in r && n(18, S = r.lastplayed), "casinomygames" in r && n(19, R = r.casinomygames), "lastplayedperiod" in r && n(20, J = r.lastplayedperiod), "mostplayedperiod" in r && n(21, Q = r.mostplayedperiod), "lastplayedorder" in r && n(22, V = r.lastplayedorder), "lastplayedlimit" in r && n(23, Z = r.lastplayedlimit), "lastplayedunique" in r && n(24, K = r.lastplayedunique), "mostplayedrounds" in r && n(25, W = r.mostplayedrounds);
1101
1101
  }, t.$$.update = () => {
1102
1102
  t.$$.dirty[0] & /*endpoint, datasource, lang, favorites, mostplayed, lastplayed*/
1103
1103
  458780 && l && y && i && O && j && S && de(), t.$$.dirty[0] & /*translationurl*/
@@ -1120,25 +1120,25 @@ function De(t, e, n) {
1120
1120
  o,
1121
1121
  v,
1122
1122
  B,
1123
- I,
1123
+ U,
1124
1124
  q,
1125
1125
  O,
1126
1126
  j,
1127
1127
  S,
1128
1128
  R,
1129
1129
  J,
1130
+ Q,
1130
1131
  V,
1131
1132
  Z,
1132
1133
  K,
1133
- Q,
1134
1134
  W,
1135
1135
  w,
1136
- N,
1136
+ D,
1137
1137
  X,
1138
1138
  G,
1139
1139
  T,
1140
1140
  d,
1141
- D,
1141
+ N,
1142
1142
  fe,
1143
1143
  ue,
1144
1144
  ye,
@@ -1150,8 +1150,8 @@ class ze extends be {
1150
1150
  super(), pe(
1151
1151
  this,
1152
1152
  e,
1153
- De,
1154
1153
  Ne,
1154
+ De,
1155
1155
  Pe,
1156
1156
  {
1157
1157
  userid: 0,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoFavoritesSectionNd-BXf5dIxF.cjs"),se=require("./CasinoFilter-C0HjHa4h.cjs");function ae({withLocale:s,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(s))})}function U(s,t){e.addMessages(s,t)}function le(s){e.$locale.set(s)}const I={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSectionNd-BXf5dIxF.cjs")).then(t=>t.CasinoFavoritesSectionNd_ce).then(({default:t})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSectionNd-EqZB4qaX.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSectionNd-B6Oa9omn.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",t.element)})}function ne(s){e.append_styles(s,"svelte-kjgz4h",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section-nd{display:none}.CasinoMyGames casino-favorites-section-nd.Active{display:block}.CasinoMyGames casino-most-played-section-nd{display:none}.CasinoMyGames casino-most-played-section-nd.Active{display:block}.CasinoMyGames casino-last-played-section-nd{display:none}.CasinoMyGames casino-last-played-section-nd.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function R(s,t,o){const r=s.slice();return r[43]=t[o],r}function oe(s){let t,o,r,_,u,n,c,l,h,d,p,y=e.ensure_array_like(s[29]),f=[];for(let a=0;a<y.length;a+=1)f[a]=K(R(s,y,a));return{c(){t=e.element("div"),o=e.element("div"),r=e.element("div");for(let a=0;a<f.length;a+=1)f[a].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section-nd"),c=e.space(),l=e.element("casino-most-played-section-nd"),h=e.space(),d=e.element("casino-last-played-section-nd"),e.attr(r,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",s[1]),e.set_custom_element_data(n,"userid",s[0]),e.set_custom_element_data(n,"endpoint",s[2]),e.set_custom_element_data(n,"datasource",s[3]),e.set_custom_element_data(n,"lang",s[4]),e.set_custom_element_data(n,"currency",s[5]),e.set_custom_element_data(n,"favorites",s[16]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",s[12]),e.set_custom_element_data(n,"clientstyling",s[7]),e.set_custom_element_data(n,"clientstylingurl",s[8]),e.set_custom_element_data(n,"translationurl",s[15]),e.set_custom_element_data(n,"livecasino",s[9]),e.set_custom_element_data(n,"visiblegames",s[10]),e.set_custom_element_data(n,"gamepagemodalurl",s[11]),e.set_custom_element_data(n,"integratedgameframedesktop",s[13]),e.set_custom_element_data(n,"integratedgameframemobile",s[14]),e.set_custom_element_data(n,"casinomygames",s[19]),e.set_custom_element_data(n,"mbsource",s[6]),e.toggle_class(n,"Active",s[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",s[2]),e.set_custom_element_data(l,"datasource",s[3]),e.set_custom_element_data(l,"lang",s[4]),e.set_custom_element_data(l,"currency",s[5]),e.set_custom_element_data(l,"session",s[1]),e.set_custom_element_data(l,"userid",s[0]),e.set_custom_element_data(l,"favorites",s[16]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",s[12]),e.set_custom_element_data(l,"clientstyling",s[7]),e.set_custom_element_data(l,"clientstylingurl",s[8]),e.set_custom_element_data(l,"translationurl",s[15]),e.set_custom_element_data(l,"livecasino",s[9]),e.set_custom_element_data(l,"visiblegames",s[10]),e.set_custom_element_data(l,"gamepagemodalurl",s[11]),e.set_custom_element_data(l,"mostplayedrounds",s[25]),e.set_custom_element_data(l,"integratedgameframedesktop",s[13]),e.set_custom_element_data(l,"integratedgameframemobile",s[14]),e.set_custom_element_data(l,"mostplayedperiod",s[21]),e.set_custom_element_data(l,"casinomygames",s[19]),e.set_custom_element_data(l,"mbsource",s[6]),e.toggle_class(l,"Active",s[27]=="MostPlayed"),e.set_custom_element_data(d,"userid",s[0]),e.set_custom_element_data(d,"endpoint",s[2]),e.set_custom_element_data(d,"datasource",s[3]),e.set_custom_element_data(d,"favorites",s[16]),e.set_custom_element_data(d,"lang",s[4]),e.set_custom_element_data(d,"currency",s[5]),e.set_custom_element_data(d,"session",s[1]),e.set_custom_element_data(d,"class","CategoryContainer"),e.set_custom_element_data(d,"showgamename",s[12]),e.set_custom_element_data(d,"clientstyling",s[7]),e.set_custom_element_data(d,"clientstylingurl",s[8]),e.set_custom_element_data(d,"translationurl",s[15]),e.set_custom_element_data(d,"livecasino",s[9]),e.set_custom_element_data(d,"visiblegames",s[10]),e.set_custom_element_data(d,"lastplayedperiod",s[20]),e.set_custom_element_data(d,"lastplayedorder",s[22]),e.set_custom_element_data(d,"lastplayedlimit",s[23]),e.set_custom_element_data(d,"lastplayedunique",s[24]),e.set_custom_element_data(d,"gamepagemodalurl",s[11]),e.set_custom_element_data(d,"integratedgameframedesktop",s[13]),e.set_custom_element_data(d,"integratedgameframemobile",s[14]),e.set_custom_element_data(d,"casinomygames",s[19]),e.set_custom_element_data(d,"mbsource",s[6]),e.toggle_class(d,"Active",s[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(s[28]?"Mobile":""))},m(a,i){e.insert(a,t,i),e.append(t,o),e.append(o,r);for(let g=0;g<f.length;g+=1)f[g]&&f[g].m(r,null);e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,d)},p(a,i){if(i[0]&1745289216|i[1]&3){y=e.ensure_array_like(a[29]);let g;for(g=0;g<y.length;g+=1){const M=R(a,y,g);f[g]?f[g].p(M,i):(f[g]=K(M),f[g].c(),f[g].m(r,null))}for(;g<f.length;g+=1)f[g].d(1);f.length=y.length}i[0]&2&&e.set_custom_element_data(n,"session",a[1]),i[0]&1&&e.set_custom_element_data(n,"userid",a[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",a[3]),i[0]&16&&e.set_custom_element_data(n,"lang",a[4]),i[0]&32&&e.set_custom_element_data(n,"currency",a[5]),i[0]&65536&&e.set_custom_element_data(n,"favorites",a[16]),i[0]&4096&&e.set_custom_element_data(n,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(n,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(n,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(n,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(n,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(n,"visiblegames",a[10]),i[0]&2048&&e.set_custom_element_data(n,"gamepagemodalurl",a[11]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(n,"integratedgameframemobile",a[14]),i[0]&524288&&e.set_custom_element_data(n,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(n,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(n,"Active",a[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",a[3]),i[0]&16&&e.set_custom_element_data(l,"lang",a[4]),i[0]&32&&e.set_custom_element_data(l,"currency",a[5]),i[0]&2&&e.set_custom_element_data(l,"session",a[1]),i[0]&1&&e.set_custom_element_data(l,"userid",a[0]),i[0]&65536&&e.set_custom_element_data(l,"favorites",a[16]),i[0]&4096&&e.set_custom_element_data(l,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(l,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(l,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(l,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(l,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(l,"visiblegames",a[10]),i[0]&2048&&e.set_custom_element_data(l,"gamepagemodalurl",a[11]),i[0]&33554432&&e.set_custom_element_data(l,"mostplayedrounds",a[25]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(l,"integratedgameframemobile",a[14]),i[0]&2097152&&e.set_custom_element_data(l,"mostplayedperiod",a[21]),i[0]&524288&&e.set_custom_element_data(l,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(l,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(l,"Active",a[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(d,"userid",a[0]),i[0]&4&&e.set_custom_element_data(d,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(d,"datasource",a[3]),i[0]&65536&&e.set_custom_element_data(d,"favorites",a[16]),i[0]&16&&e.set_custom_element_data(d,"lang",a[4]),i[0]&32&&e.set_custom_element_data(d,"currency",a[5]),i[0]&2&&e.set_custom_element_data(d,"session",a[1]),i[0]&4096&&e.set_custom_element_data(d,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(d,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(d,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(d,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(d,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(d,"visiblegames",a[10]),i[0]&1048576&&e.set_custom_element_data(d,"lastplayedperiod",a[20]),i[0]&4194304&&e.set_custom_element_data(d,"lastplayedorder",a[22]),i[0]&8388608&&e.set_custom_element_data(d,"lastplayedlimit",a[23]),i[0]&16777216&&e.set_custom_element_data(d,"lastplayedunique",a[24]),i[0]&2048&&e.set_custom_element_data(d,"gamepagemodalurl",a[11]),i[0]&8192&&e.set_custom_element_data(d,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(d,"integratedgameframemobile",a[14]),i[0]&524288&&e.set_custom_element_data(d,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(d,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(d,"Active",a[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(a[28]?"Mobile":""))&&e.attr(t,"class",p)},d(a){a&&e.detach(t),e.destroy_each(f,a)}}}function J(s){let t,o=s[31]("favorites")+"",r,_,u,n,c,l,h,d,p;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(s[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(s[27]=="Favorites"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(y,f){e.insert(y,t,f),e.append(t,r),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),d||(p=e.listen(t,"click",s[33]),d=!0)},p(y,f){f[1]&1&&o!==(o=y[31]("favorites")+"")&&e.set_data(r,o),f[0]&1073741824&&e.set_data(c,y[30]),f[0]&134283264&&h!==(h="MyGamesButton "+(y[27]=="Favorites"?"Active":"")+" "+(y[16]=="false"?"Off":""))&&e.attr(t,"class",h)},d(y){y&&e.detach(t),d=!1,p()}}}function V(s){let t,o=s[31]("mostPlayed")+"",r,_,u,n;return{c(){t=e.element("button"),r=e.text(o),e.attr(t,"class",_="MyGamesButton "+(s[27]=="MostPlayed"?"Active":"")+" "+(s[17]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,r),u||(n=e.listen(t,"click",s[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(r,o),l[0]&134348800&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[17]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function Z(s){let t,o=s[31]("recentlyPlayed")+"",r,_,u,n,c;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(s[27]=="LastPlayed"?"Active":"")+" "+(s[18]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,r),e.append(t,_),n||(c=e.listen(t,"click",s[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(r,o),h[0]&134479872&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[18]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function K(s){let t,o,r,_=s[43]=="Favorites"&&J(s),u=s[43]=="MostPlayed"&&V(s),n=s[43]=="LastPlayed"&&Z(s);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),r=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,o,l),n&&n.m(c,l),e.insert(c,r,l)},p(c,l){c[43]=="Favorites"?_?_.p(c,l):(_=J(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[43]=="MostPlayed"?u?u.p(c,l):(u=V(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[43]=="LastPlayed"?n?n.p(c,l):(n=Z(c),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(r)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function ie(s){let t;function o(u,n){if(u[19])return oe}let r=o(s),_=r&&r(s);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),s[36](t)},p(u,n){r===(r=o(u))&&_?_.p(u,n):(_&&_.d(1),_=r&&r(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),s[36](null)}}}function me(s,t,o){let r;e.component_subscribe(s,e.$format,m=>o(31,r=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{mbsource:d}=t,{clientstyling:p=""}=t,{clientstylingurl:y=""}=t,{livecasino:f=""}=t,{visiblegames:a=""}=t,{gamepagemodalurl:i=""}=t,{showgamename:g=""}=t,{integratedgameframedesktop:M=""}=t,{integratedgameframemobile:B=""}=t,{translationurl:G=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:S="Last30Days"}=t,{mostplayedperiod:j="Last30Days"}=t,{lastplayedorder:q=""}=t,{lastplayedlimit:N=""}=t,{lastplayedunique:D="true"}=t,{mostplayedrounds:T=""}=t,W=window.navigator.userAgent,v,L="",z=!1,P=["","",""],A="0";ae({withLocale:"en",translations:{}});const X=()=>{fetch(G).then(b=>b.json()).then(b=>{Object.keys(b).forEach(C=>{U(C,b[C])})}).catch(b=>{console.log(b)})};Object.keys(I).forEach(m=>{U(m,I[m])});const E=m=>{L!==m&&o(27,L=m)},Y=()=>{o(27,L=w==="true"?"Favorites":k==="true"?"MostPlayed":F==="true"?"LastPlayed":""),o(29,P[0]=w==="true"?"Favorites":"",P),o(29,P[1]=k==="true"?"MostPlayed":"",P),o(29,P[2]=F==="true"?"LastPlayed":"",P),le(l)},H=m=>{var b,C;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,A=m.data.favoriteGamesLength):o(30,A=(C=(b=m.data.listOfFavoritesGames)==null?void 0:b.length)!=null?C:0);break}};e.onMount(()=>(window.addEventListener("message",H,!1),o(28,z=se.isMobile(W)),()=>{window.removeEventListener("message",H)}));const x=()=>E("Favorites"),$=()=>E("MostPlayed"),ee=()=>E("LastPlayed");function te(m){e.binding_callbacks[m?"unshift":"push"](()=>{v=m,o(26,v)})}return s.$$set=m=>{"userid"in m&&o(0,_=m.userid),"session"in m&&o(1,u=m.session),"endpoint"in m&&o(2,n=m.endpoint),"datasource"in m&&o(3,c=m.datasource),"lang"in m&&o(4,l=m.lang),"currency"in m&&o(5,h=m.currency),"mbsource"in m&&o(6,d=m.mbsource),"clientstyling"in m&&o(7,p=m.clientstyling),"clientstylingurl"in m&&o(8,y=m.clientstylingurl),"livecasino"in m&&o(9,f=m.livecasino),"visiblegames"in m&&o(10,a=m.visiblegames),"gamepagemodalurl"in m&&o(11,i=m.gamepagemodalurl),"showgamename"in m&&o(12,g=m.showgamename),"integratedgameframedesktop"in m&&o(13,M=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(14,B=m.integratedgameframemobile),"translationurl"in m&&o(15,G=m.translationurl),"favorites"in m&&o(16,w=m.favorites),"mostplayed"in m&&o(17,k=m.mostplayed),"lastplayed"in m&&o(18,F=m.lastplayed),"casinomygames"in m&&o(19,O=m.casinomygames),"lastplayedperiod"in m&&o(20,S=m.lastplayedperiod),"mostplayedperiod"in m&&o(21,j=m.mostplayedperiod),"lastplayedorder"in m&&o(22,q=m.lastplayedorder),"lastplayedlimit"in m&&o(23,N=m.lastplayedlimit),"lastplayedunique"in m&&o(24,D=m.lastplayedunique),"mostplayedrounds"in m&&o(25,T=m.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&458780&&n&&c&&l&&w&&k&&F&&Y(),s.$$.dirty[0]&32768&&G&&X(),s.$$.dirty[0]&67108992&&p&&v&&e.setClientStyling(v,p),s.$$.dirty[0]&67109120&&y&&v&&e.setClientStylingURL(v,y),s.$$.dirty[0]&67108928&&d&&v&&e.setStreamStyling(v,`${d}.Style`)},[_,u,n,c,l,h,d,p,y,f,a,i,g,M,B,G,w,k,F,O,S,j,q,N,D,T,v,L,z,P,A,r,E,x,$,ee,te]}class Q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,ie,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:15,favorites:16,mostplayed:17,lastplayed:18,casinomygames:19,lastplayedperiod:20,mostplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,lastplayedunique:24,mostplayedrounds:25},ne,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[10]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[19]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[25]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}}e.create_custom_element(Q,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=Q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoFavoritesSectionNd-BVC1650M.cjs"),se=require("./CasinoFilter-D_bF3IJE.cjs");function ae({withLocale:s,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(s))})}function U(s,t){e.addMessages(s,t)}function le(s){e.$locale.set(s)}const I={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSectionNd-BVC1650M.cjs")).then(t=>t.CasinoFavoritesSectionNd_ce).then(({default:t})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSectionNd-5jzzfUzp.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSectionNd-se3ZyDIi.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",t.element)})}function ne(s){e.append_styles(s,"svelte-kjgz4h",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section-nd{display:none}.CasinoMyGames casino-favorites-section-nd.Active{display:block}.CasinoMyGames casino-most-played-section-nd{display:none}.CasinoMyGames casino-most-played-section-nd.Active{display:block}.CasinoMyGames casino-last-played-section-nd{display:none}.CasinoMyGames casino-last-played-section-nd.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function R(s,t,o){const r=s.slice();return r[43]=t[o],r}function oe(s){let t,o,r,_,u,n,c,l,h,d,p,y=e.ensure_array_like(s[29]),f=[];for(let a=0;a<y.length;a+=1)f[a]=K(R(s,y,a));return{c(){t=e.element("div"),o=e.element("div"),r=e.element("div");for(let a=0;a<f.length;a+=1)f[a].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section-nd"),c=e.space(),l=e.element("casino-most-played-section-nd"),h=e.space(),d=e.element("casino-last-played-section-nd"),e.attr(r,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",s[1]),e.set_custom_element_data(n,"userid",s[0]),e.set_custom_element_data(n,"endpoint",s[2]),e.set_custom_element_data(n,"datasource",s[3]),e.set_custom_element_data(n,"lang",s[4]),e.set_custom_element_data(n,"currency",s[5]),e.set_custom_element_data(n,"favorites",s[16]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",s[12]),e.set_custom_element_data(n,"clientstyling",s[7]),e.set_custom_element_data(n,"clientstylingurl",s[8]),e.set_custom_element_data(n,"translationurl",s[15]),e.set_custom_element_data(n,"livecasino",s[9]),e.set_custom_element_data(n,"visiblegames",s[10]),e.set_custom_element_data(n,"gamepagemodalurl",s[11]),e.set_custom_element_data(n,"integratedgameframedesktop",s[13]),e.set_custom_element_data(n,"integratedgameframemobile",s[14]),e.set_custom_element_data(n,"casinomygames",s[19]),e.set_custom_element_data(n,"mbsource",s[6]),e.toggle_class(n,"Active",s[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",s[2]),e.set_custom_element_data(l,"datasource",s[3]),e.set_custom_element_data(l,"lang",s[4]),e.set_custom_element_data(l,"currency",s[5]),e.set_custom_element_data(l,"session",s[1]),e.set_custom_element_data(l,"userid",s[0]),e.set_custom_element_data(l,"favorites",s[16]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",s[12]),e.set_custom_element_data(l,"clientstyling",s[7]),e.set_custom_element_data(l,"clientstylingurl",s[8]),e.set_custom_element_data(l,"translationurl",s[15]),e.set_custom_element_data(l,"livecasino",s[9]),e.set_custom_element_data(l,"visiblegames",s[10]),e.set_custom_element_data(l,"gamepagemodalurl",s[11]),e.set_custom_element_data(l,"mostplayedrounds",s[25]),e.set_custom_element_data(l,"integratedgameframedesktop",s[13]),e.set_custom_element_data(l,"integratedgameframemobile",s[14]),e.set_custom_element_data(l,"mostplayedperiod",s[21]),e.set_custom_element_data(l,"casinomygames",s[19]),e.set_custom_element_data(l,"mbsource",s[6]),e.toggle_class(l,"Active",s[27]=="MostPlayed"),e.set_custom_element_data(d,"userid",s[0]),e.set_custom_element_data(d,"endpoint",s[2]),e.set_custom_element_data(d,"datasource",s[3]),e.set_custom_element_data(d,"favorites",s[16]),e.set_custom_element_data(d,"lang",s[4]),e.set_custom_element_data(d,"currency",s[5]),e.set_custom_element_data(d,"session",s[1]),e.set_custom_element_data(d,"class","CategoryContainer"),e.set_custom_element_data(d,"showgamename",s[12]),e.set_custom_element_data(d,"clientstyling",s[7]),e.set_custom_element_data(d,"clientstylingurl",s[8]),e.set_custom_element_data(d,"translationurl",s[15]),e.set_custom_element_data(d,"livecasino",s[9]),e.set_custom_element_data(d,"visiblegames",s[10]),e.set_custom_element_data(d,"lastplayedperiod",s[20]),e.set_custom_element_data(d,"lastplayedorder",s[22]),e.set_custom_element_data(d,"lastplayedlimit",s[23]),e.set_custom_element_data(d,"lastplayedunique",s[24]),e.set_custom_element_data(d,"gamepagemodalurl",s[11]),e.set_custom_element_data(d,"integratedgameframedesktop",s[13]),e.set_custom_element_data(d,"integratedgameframemobile",s[14]),e.set_custom_element_data(d,"casinomygames",s[19]),e.set_custom_element_data(d,"mbsource",s[6]),e.toggle_class(d,"Active",s[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(s[28]?"Mobile":""))},m(a,i){e.insert(a,t,i),e.append(t,o),e.append(o,r);for(let g=0;g<f.length;g+=1)f[g]&&f[g].m(r,null);e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,d)},p(a,i){if(i[0]&1745289216|i[1]&3){y=e.ensure_array_like(a[29]);let g;for(g=0;g<y.length;g+=1){const M=R(a,y,g);f[g]?f[g].p(M,i):(f[g]=K(M),f[g].c(),f[g].m(r,null))}for(;g<f.length;g+=1)f[g].d(1);f.length=y.length}i[0]&2&&e.set_custom_element_data(n,"session",a[1]),i[0]&1&&e.set_custom_element_data(n,"userid",a[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",a[3]),i[0]&16&&e.set_custom_element_data(n,"lang",a[4]),i[0]&32&&e.set_custom_element_data(n,"currency",a[5]),i[0]&65536&&e.set_custom_element_data(n,"favorites",a[16]),i[0]&4096&&e.set_custom_element_data(n,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(n,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(n,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(n,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(n,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(n,"visiblegames",a[10]),i[0]&2048&&e.set_custom_element_data(n,"gamepagemodalurl",a[11]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(n,"integratedgameframemobile",a[14]),i[0]&524288&&e.set_custom_element_data(n,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(n,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(n,"Active",a[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",a[3]),i[0]&16&&e.set_custom_element_data(l,"lang",a[4]),i[0]&32&&e.set_custom_element_data(l,"currency",a[5]),i[0]&2&&e.set_custom_element_data(l,"session",a[1]),i[0]&1&&e.set_custom_element_data(l,"userid",a[0]),i[0]&65536&&e.set_custom_element_data(l,"favorites",a[16]),i[0]&4096&&e.set_custom_element_data(l,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(l,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(l,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(l,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(l,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(l,"visiblegames",a[10]),i[0]&2048&&e.set_custom_element_data(l,"gamepagemodalurl",a[11]),i[0]&33554432&&e.set_custom_element_data(l,"mostplayedrounds",a[25]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(l,"integratedgameframemobile",a[14]),i[0]&2097152&&e.set_custom_element_data(l,"mostplayedperiod",a[21]),i[0]&524288&&e.set_custom_element_data(l,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(l,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(l,"Active",a[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(d,"userid",a[0]),i[0]&4&&e.set_custom_element_data(d,"endpoint",a[2]),i[0]&8&&e.set_custom_element_data(d,"datasource",a[3]),i[0]&65536&&e.set_custom_element_data(d,"favorites",a[16]),i[0]&16&&e.set_custom_element_data(d,"lang",a[4]),i[0]&32&&e.set_custom_element_data(d,"currency",a[5]),i[0]&2&&e.set_custom_element_data(d,"session",a[1]),i[0]&4096&&e.set_custom_element_data(d,"showgamename",a[12]),i[0]&128&&e.set_custom_element_data(d,"clientstyling",a[7]),i[0]&256&&e.set_custom_element_data(d,"clientstylingurl",a[8]),i[0]&32768&&e.set_custom_element_data(d,"translationurl",a[15]),i[0]&512&&e.set_custom_element_data(d,"livecasino",a[9]),i[0]&1024&&e.set_custom_element_data(d,"visiblegames",a[10]),i[0]&1048576&&e.set_custom_element_data(d,"lastplayedperiod",a[20]),i[0]&4194304&&e.set_custom_element_data(d,"lastplayedorder",a[22]),i[0]&8388608&&e.set_custom_element_data(d,"lastplayedlimit",a[23]),i[0]&16777216&&e.set_custom_element_data(d,"lastplayedunique",a[24]),i[0]&2048&&e.set_custom_element_data(d,"gamepagemodalurl",a[11]),i[0]&8192&&e.set_custom_element_data(d,"integratedgameframedesktop",a[13]),i[0]&16384&&e.set_custom_element_data(d,"integratedgameframemobile",a[14]),i[0]&524288&&e.set_custom_element_data(d,"casinomygames",a[19]),i[0]&64&&e.set_custom_element_data(d,"mbsource",a[6]),i[0]&134217728&&e.toggle_class(d,"Active",a[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(a[28]?"Mobile":""))&&e.attr(t,"class",p)},d(a){a&&e.detach(t),e.destroy_each(f,a)}}}function J(s){let t,o=s[31]("favorites")+"",r,_,u,n,c,l,h,d,p;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(s[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(s[27]=="Favorites"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(y,f){e.insert(y,t,f),e.append(t,r),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),d||(p=e.listen(t,"click",s[33]),d=!0)},p(y,f){f[1]&1&&o!==(o=y[31]("favorites")+"")&&e.set_data(r,o),f[0]&1073741824&&e.set_data(c,y[30]),f[0]&134283264&&h!==(h="MyGamesButton "+(y[27]=="Favorites"?"Active":"")+" "+(y[16]=="false"?"Off":""))&&e.attr(t,"class",h)},d(y){y&&e.detach(t),d=!1,p()}}}function V(s){let t,o=s[31]("mostPlayed")+"",r,_,u,n;return{c(){t=e.element("button"),r=e.text(o),e.attr(t,"class",_="MyGamesButton "+(s[27]=="MostPlayed"?"Active":"")+" "+(s[17]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,r),u||(n=e.listen(t,"click",s[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(r,o),l[0]&134348800&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[17]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function Z(s){let t,o=s[31]("recentlyPlayed")+"",r,_,u,n,c;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(s[27]=="LastPlayed"?"Active":"")+" "+(s[18]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,r),e.append(t,_),n||(c=e.listen(t,"click",s[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(r,o),h[0]&134479872&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[18]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function K(s){let t,o,r,_=s[43]=="Favorites"&&J(s),u=s[43]=="MostPlayed"&&V(s),n=s[43]=="LastPlayed"&&Z(s);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),r=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,o,l),n&&n.m(c,l),e.insert(c,r,l)},p(c,l){c[43]=="Favorites"?_?_.p(c,l):(_=J(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[43]=="MostPlayed"?u?u.p(c,l):(u=V(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[43]=="LastPlayed"?n?n.p(c,l):(n=Z(c),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(r)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function ie(s){let t;function o(u,n){if(u[19])return oe}let r=o(s),_=r&&r(s);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),s[36](t)},p(u,n){r===(r=o(u))&&_?_.p(u,n):(_&&_.d(1),_=r&&r(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),s[36](null)}}}function me(s,t,o){let r;e.component_subscribe(s,e.$format,m=>o(31,r=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{mbsource:d}=t,{clientstyling:p=""}=t,{clientstylingurl:y=""}=t,{livecasino:f=""}=t,{visiblegames:a=""}=t,{gamepagemodalurl:i=""}=t,{showgamename:g=""}=t,{integratedgameframedesktop:M=""}=t,{integratedgameframemobile:B=""}=t,{translationurl:G=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:S="Last30Days"}=t,{mostplayedperiod:j="Last30Days"}=t,{lastplayedorder:q=""}=t,{lastplayedlimit:N=""}=t,{lastplayedunique:D="true"}=t,{mostplayedrounds:T=""}=t,W=window.navigator.userAgent,v,L="",z=!1,P=["","",""],A="0";ae({withLocale:"en",translations:{}});const X=()=>{fetch(G).then(b=>b.json()).then(b=>{Object.keys(b).forEach(C=>{U(C,b[C])})}).catch(b=>{console.log(b)})};Object.keys(I).forEach(m=>{U(m,I[m])});const E=m=>{L!==m&&o(27,L=m)},Y=()=>{o(27,L=w==="true"?"Favorites":k==="true"?"MostPlayed":F==="true"?"LastPlayed":""),o(29,P[0]=w==="true"?"Favorites":"",P),o(29,P[1]=k==="true"?"MostPlayed":"",P),o(29,P[2]=F==="true"?"LastPlayed":"",P),le(l)},H=m=>{var b,C;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,A=m.data.favoriteGamesLength):o(30,A=(C=(b=m.data.listOfFavoritesGames)==null?void 0:b.length)!=null?C:0);break}};e.onMount(()=>(window.addEventListener("message",H,!1),o(28,z=se.isMobile(W)),()=>{window.removeEventListener("message",H)}));const x=()=>E("Favorites"),$=()=>E("MostPlayed"),ee=()=>E("LastPlayed");function te(m){e.binding_callbacks[m?"unshift":"push"](()=>{v=m,o(26,v)})}return s.$$set=m=>{"userid"in m&&o(0,_=m.userid),"session"in m&&o(1,u=m.session),"endpoint"in m&&o(2,n=m.endpoint),"datasource"in m&&o(3,c=m.datasource),"lang"in m&&o(4,l=m.lang),"currency"in m&&o(5,h=m.currency),"mbsource"in m&&o(6,d=m.mbsource),"clientstyling"in m&&o(7,p=m.clientstyling),"clientstylingurl"in m&&o(8,y=m.clientstylingurl),"livecasino"in m&&o(9,f=m.livecasino),"visiblegames"in m&&o(10,a=m.visiblegames),"gamepagemodalurl"in m&&o(11,i=m.gamepagemodalurl),"showgamename"in m&&o(12,g=m.showgamename),"integratedgameframedesktop"in m&&o(13,M=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(14,B=m.integratedgameframemobile),"translationurl"in m&&o(15,G=m.translationurl),"favorites"in m&&o(16,w=m.favorites),"mostplayed"in m&&o(17,k=m.mostplayed),"lastplayed"in m&&o(18,F=m.lastplayed),"casinomygames"in m&&o(19,O=m.casinomygames),"lastplayedperiod"in m&&o(20,S=m.lastplayedperiod),"mostplayedperiod"in m&&o(21,j=m.mostplayedperiod),"lastplayedorder"in m&&o(22,q=m.lastplayedorder),"lastplayedlimit"in m&&o(23,N=m.lastplayedlimit),"lastplayedunique"in m&&o(24,D=m.lastplayedunique),"mostplayedrounds"in m&&o(25,T=m.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&458780&&n&&c&&l&&w&&k&&F&&Y(),s.$$.dirty[0]&32768&&G&&X(),s.$$.dirty[0]&67108992&&p&&v&&e.setClientStyling(v,p),s.$$.dirty[0]&67109120&&y&&v&&e.setClientStylingURL(v,y),s.$$.dirty[0]&67108928&&d&&v&&e.setStreamStyling(v,`${d}.Style`)},[_,u,n,c,l,h,d,p,y,f,a,i,g,M,B,G,w,k,F,O,S,j,q,N,D,T,v,L,z,P,A,r,E,x,$,ee,te]}class Q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,ie,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:15,favorites:16,mostplayed:17,lastplayed:18,casinomygames:19,lastplayedperiod:20,mostplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,lastplayedunique:24,mostplayedrounds:25},ne,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[10]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[19]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[25]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}}e.create_custom_element(Q,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=Q;
@@ -1,15 +1,15 @@
1
- import { $ as U, a as ce, b as he, S as ve, i as be, f as g, s as pe, C as Pe, c as _e, n as $, d as F, e as G, g as _, h as Me, o as we, j as ke, l as ee, m as Fe, E as a, F as E, k as M, q as b, v as C, G as Ge, p as T, t as I, w as A, D as Le, z as Ce, A as Ee, B as Ae } from "./CasinoFavoritesSectionNd-yL7bG7cr.js";
2
- import { i as Be } from "./CasinoFilter-C9-vbAdr.js";
1
+ import { $ as I, d as ce, e as he, S as ve, i as be, f as g, s as pe, F as Pe, g as _e, n as $, h as F, j as G, k as _, l as Me, o as we, m as ke, q as ee, r as Fe, H as a, I as E, p as M, v as b, y as C, J as Ge, u as T, w as U, z as A, G as Le, C as Ce, D as Ee, E as Ae } from "./CasinoFavoritesSectionNd-BW053lHx.js";
2
+ import { i as Be } from "./CasinoFilter-BNyX6f2y.js";
3
3
  function Oe({ withLocale: t, translations: e }) {
4
- U.subscribe((n) => {
5
- n == null && (ce.set(e), U.set(t));
4
+ I.subscribe((n) => {
5
+ n == null && (ce.set(e), I.set(t));
6
6
  });
7
7
  }
8
8
  function ae(t, e) {
9
9
  he(t, e);
10
10
  }
11
11
  function je(t) {
12
- U.set(t);
12
+ I.set(t);
13
13
  }
14
14
  const te = {
15
15
  en: {
@@ -115,7 +115,7 @@ if (typeof window != "undefined") {
115
115
  }
116
116
  };
117
117
  };
118
- customElements.define = t(customElements.define), import("./CasinoFavoritesSectionNd-yL7bG7cr.js").then((e) => e.N).then(({ default: e }) => {
118
+ customElements.define = t(customElements.define), import("./CasinoFavoritesSectionNd-BW053lHx.js").then((e) => e.Q).then(({ default: e }) => {
119
119
  !customElements.get("casino-favorites-section-nd") && customElements.define("casino-favorites-section-nd", e.element);
120
120
  });
121
121
  }
@@ -131,7 +131,7 @@ if (typeof window != "undefined") {
131
131
  }
132
132
  };
133
133
  };
134
- customElements.define = t(customElements.define), import("./CasinoLastPlayedSectionNd-1sY6IwWp.js").then(({ default: e }) => {
134
+ customElements.define = t(customElements.define), import("./CasinoLastPlayedSectionNd-C6RqMd30.js").then(({ default: e }) => {
135
135
  !customElements.get("casino-last-played-section-nd") && customElements.define("casino-last-played-section-nd", e.element);
136
136
  });
137
137
  }
@@ -147,7 +147,7 @@ if (typeof window != "undefined") {
147
147
  }
148
148
  };
149
149
  };
150
- customElements.define = t(customElements.define), import("./CasinoMostPlayedSectionNd-BJup9vMb.js").then(({ default: e }) => {
150
+ customElements.define = t(customElements.define), import("./CasinoMostPlayedSectionNd-DDcuJkEU.js").then(({ default: e }) => {
151
151
  !customElements.get("casino-most-played-section-nd") && customElements.define("casino-most-played-section-nd", e.element);
152
152
  });
153
153
  }
@@ -913,7 +913,7 @@ function ie(t) {
913
913
  (t[16] == "false" ? "Off" : ""));
914
914
  },
915
915
  m(h, c) {
916
- G(h, e, c), b(e, d), b(e, u), b(e, f), b(f, l), b(f, y), b(f, i), m || (P = I(
916
+ G(h, e, c), b(e, d), b(e, u), b(e, f), b(f, l), b(f, y), b(f, i), m || (P = U(
917
917
  e,
918
918
  "click",
919
919
  /*click_handler*/
@@ -950,7 +950,7 @@ function le(t) {
950
950
  (t[17] == "false" ? "Off" : ""));
951
951
  },
952
952
  m(y, i) {
953
- G(y, e, i), b(e, d), f || (l = I(
953
+ G(y, e, i), b(e, d), f || (l = U(
954
954
  e,
955
955
  "click",
956
956
  /*click_handler_1*/
@@ -982,7 +982,7 @@ function ne(t) {
982
982
  (t[18] == "false" ? "Off" : ""));
983
983
  },
984
984
  m(i, p) {
985
- G(i, e, p), b(e, d), b(e, u), l || (y = I(
985
+ G(i, e, p), b(e, d), b(e, u), l || (y = U(
986
986
  e,
987
987
  "click",
988
988
  /*click_handler_2*/
@@ -1031,7 +1031,7 @@ function oe(t) {
1031
1031
  }
1032
1032
  };
1033
1033
  }
1034
- function Ne(t) {
1034
+ function De(t) {
1035
1035
  let e;
1036
1036
  function n(f, l) {
1037
1037
  if (
@@ -1058,13 +1058,13 @@ function Ne(t) {
1058
1058
  }
1059
1059
  };
1060
1060
  }
1061
- function De(t, e, n) {
1061
+ function Ne(t, e, n) {
1062
1062
  let d;
1063
1063
  Me(t, Le, (r) => n(31, d = r));
1064
- let { userid: u = "" } = e, { session: f = "" } = e, { endpoint: l = "" } = e, { datasource: y = "" } = e, { lang: i = "" } = e, { currency: p = "" } = e, { mbsource: m } = e, { clientstyling: P = "" } = e, { clientstylingurl: h = "" } = e, { livecasino: c = "" } = e, { visiblegames: s = "" } = e, { gamepagemodalurl: o = "" } = e, { showgamename: v = "" } = e, { integratedgameframedesktop: B = "" } = e, { integratedgameframemobile: R = "" } = e, { translationurl: N = "" } = e, { favorites: O = "false" } = e, { mostplayed: j = "false" } = e, { lastplayed: S = "false" } = e, { casinomygames: J = "false" } = e, { lastplayedperiod: V = "Last30Days" } = e, { mostplayedperiod: Z = "Last30Days" } = e, { lastplayedorder: K = "" } = e, { lastplayedlimit: Q = "" } = e, { lastplayedunique: W = "true" } = e, { mostplayedrounds: X = "" } = e, re = window.navigator.userAgent, w, D = "", Y = !1, L = ["", "", ""], H = "0";
1064
+ let { userid: u = "" } = e, { session: f = "" } = e, { endpoint: l = "" } = e, { datasource: y = "" } = e, { lang: i = "" } = e, { currency: p = "" } = e, { mbsource: m } = e, { clientstyling: P = "" } = e, { clientstylingurl: h = "" } = e, { livecasino: c = "" } = e, { visiblegames: s = "" } = e, { gamepagemodalurl: o = "" } = e, { showgamename: v = "" } = e, { integratedgameframedesktop: B = "" } = e, { integratedgameframemobile: R = "" } = e, { translationurl: D = "" } = e, { favorites: O = "false" } = e, { mostplayed: j = "false" } = e, { lastplayed: S = "false" } = e, { casinomygames: J = "false" } = e, { lastplayedperiod: Q = "Last30Days" } = e, { mostplayedperiod: V = "Last30Days" } = e, { lastplayedorder: Z = "" } = e, { lastplayedlimit: K = "" } = e, { lastplayedunique: W = "true" } = e, { mostplayedrounds: X = "" } = e, re = window.navigator.userAgent, w, N = "", Y = !1, L = ["", "", ""], H = "0";
1065
1065
  Oe({ withLocale: "en", translations: {} });
1066
1066
  const me = () => {
1067
- fetch(N).then((k) => k.json()).then((k) => {
1067
+ fetch(D).then((k) => k.json()).then((k) => {
1068
1068
  Object.keys(k).forEach((q) => {
1069
1069
  ae(q, k[q]);
1070
1070
  });
@@ -1076,9 +1076,9 @@ function De(t, e, n) {
1076
1076
  ae(r, te[r]);
1077
1077
  });
1078
1078
  const z = (r) => {
1079
- D !== r && n(27, D = r);
1079
+ N !== r && n(27, N = r);
1080
1080
  }, de = () => {
1081
- n(27, D = O === "true" ? "Favorites" : j === "true" ? "MostPlayed" : S === "true" ? "LastPlayed" : ""), n(29, L[0] = O === "true" ? "Favorites" : "", L), n(29, L[1] = j === "true" ? "MostPlayed" : "", L), n(29, L[2] = S === "true" ? "LastPlayed" : "", L), je(i);
1081
+ n(27, N = O === "true" ? "Favorites" : j === "true" ? "MostPlayed" : S === "true" ? "LastPlayed" : ""), n(29, L[0] = O === "true" ? "Favorites" : "", L), n(29, L[1] = j === "true" ? "MostPlayed" : "", L), n(29, L[2] = S === "true" ? "LastPlayed" : "", L), je(i);
1082
1082
  }, x = (r) => {
1083
1083
  var k, q;
1084
1084
  if (r.data)
@@ -1098,11 +1098,11 @@ function De(t, e, n) {
1098
1098
  });
1099
1099
  }
1100
1100
  return t.$$set = (r) => {
1101
- "userid" in r && n(0, u = r.userid), "session" in r && n(1, f = r.session), "endpoint" in r && n(2, l = r.endpoint), "datasource" in r && n(3, y = r.datasource), "lang" in r && n(4, i = r.lang), "currency" in r && n(5, p = r.currency), "mbsource" in r && n(6, m = r.mbsource), "clientstyling" in r && n(7, P = r.clientstyling), "clientstylingurl" in r && n(8, h = r.clientstylingurl), "livecasino" in r && n(9, c = r.livecasino), "visiblegames" in r && n(10, s = r.visiblegames), "gamepagemodalurl" in r && n(11, o = r.gamepagemodalurl), "showgamename" in r && n(12, v = r.showgamename), "integratedgameframedesktop" in r && n(13, B = r.integratedgameframedesktop), "integratedgameframemobile" in r && n(14, R = r.integratedgameframemobile), "translationurl" in r && n(15, N = r.translationurl), "favorites" in r && n(16, O = r.favorites), "mostplayed" in r && n(17, j = r.mostplayed), "lastplayed" in r && n(18, S = r.lastplayed), "casinomygames" in r && n(19, J = r.casinomygames), "lastplayedperiod" in r && n(20, V = r.lastplayedperiod), "mostplayedperiod" in r && n(21, Z = r.mostplayedperiod), "lastplayedorder" in r && n(22, K = r.lastplayedorder), "lastplayedlimit" in r && n(23, Q = r.lastplayedlimit), "lastplayedunique" in r && n(24, W = r.lastplayedunique), "mostplayedrounds" in r && n(25, X = r.mostplayedrounds);
1101
+ "userid" in r && n(0, u = r.userid), "session" in r && n(1, f = r.session), "endpoint" in r && n(2, l = r.endpoint), "datasource" in r && n(3, y = r.datasource), "lang" in r && n(4, i = r.lang), "currency" in r && n(5, p = r.currency), "mbsource" in r && n(6, m = r.mbsource), "clientstyling" in r && n(7, P = r.clientstyling), "clientstylingurl" in r && n(8, h = r.clientstylingurl), "livecasino" in r && n(9, c = r.livecasino), "visiblegames" in r && n(10, s = r.visiblegames), "gamepagemodalurl" in r && n(11, o = r.gamepagemodalurl), "showgamename" in r && n(12, v = r.showgamename), "integratedgameframedesktop" in r && n(13, B = r.integratedgameframedesktop), "integratedgameframemobile" in r && n(14, R = r.integratedgameframemobile), "translationurl" in r && n(15, D = r.translationurl), "favorites" in r && n(16, O = r.favorites), "mostplayed" in r && n(17, j = r.mostplayed), "lastplayed" in r && n(18, S = r.lastplayed), "casinomygames" in r && n(19, J = r.casinomygames), "lastplayedperiod" in r && n(20, Q = r.lastplayedperiod), "mostplayedperiod" in r && n(21, V = r.mostplayedperiod), "lastplayedorder" in r && n(22, Z = r.lastplayedorder), "lastplayedlimit" in r && n(23, K = r.lastplayedlimit), "lastplayedunique" in r && n(24, W = r.lastplayedunique), "mostplayedrounds" in r && n(25, X = r.mostplayedrounds);
1102
1102
  }, t.$$.update = () => {
1103
1103
  t.$$.dirty[0] & /*endpoint, datasource, lang, favorites, mostplayed, lastplayed*/
1104
1104
  458780 && l && y && i && O && j && S && de(), t.$$.dirty[0] & /*translationurl*/
1105
- 32768 && N && me(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1105
+ 32768 && D && me(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1106
1106
  67108992 && P && w && Ce(w, P), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1107
1107
  67109120 && h && w && Ee(w, h), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
1108
1108
  67108928 && m && w && Ae(w, `${m}.Style`);
@@ -1122,19 +1122,19 @@ function De(t, e, n) {
1122
1122
  v,
1123
1123
  B,
1124
1124
  R,
1125
- N,
1125
+ D,
1126
1126
  O,
1127
1127
  j,
1128
1128
  S,
1129
1129
  J,
1130
+ Q,
1130
1131
  V,
1131
1132
  Z,
1132
1133
  K,
1133
- Q,
1134
1134
  W,
1135
1135
  X,
1136
1136
  w,
1137
- D,
1137
+ N,
1138
1138
  Y,
1139
1139
  L,
1140
1140
  H,
@@ -1151,8 +1151,8 @@ class ze extends ve {
1151
1151
  super(), be(
1152
1152
  this,
1153
1153
  e,
1154
- De,
1155
1154
  Ne,
1155
+ De,
1156
1156
  pe,
1157
1157
  {
1158
1158
  userid: 0,