@everymatrix/casino-page 1.85.17 → 1.85.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-BN480k04.cjs → CasinoCalendar-4k288rHh.cjs} +1 -1
- package/components/{CasinoCalendar-CLg2xsdn.js → CasinoCalendar-BNbVJJdG.js} +5 -2
- package/components/{CasinoCalendar-8aqkHkUm.js → CasinoCalendar-DAKxxPPx.js} +5 -2
- package/components/{CasinoCalendarDailyDetails-Dq1pLBUw.js → CasinoCalendarDailyDetails-C9QkDeeW.js} +1 -1
- package/components/{CasinoCalendarDailyDetails-BMvnmFRN.cjs → CasinoCalendarDailyDetails-CerVlpW4.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-DJcQHnWz.js → CasinoCalendarDailyDetails-DG8jTkOb.js} +1 -1
- package/components/{CasinoCalendarDailyItem-BPGbAaoZ.js → CasinoCalendarDailyItem-77QxCgOg.js} +1 -1
- package/components/{CasinoCalendarDailyItem-BF1dindb.cjs → CasinoCalendarDailyItem-B7YANGR4.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-CwR-bZgt.js → CasinoCalendarDailyItem-H9bFOk6V.js} +1 -1
- package/components/{CasinoCollectionsProviders-Vbm-XrPq.js → CasinoCollectionsProviders-BRaAIVvV.js} +1 -1
- package/components/{CasinoCollectionsProviders-BbG5To-4.js → CasinoCollectionsProviders-DOGIidgs.js} +1 -1
- package/components/{CasinoCollectionsProviders-OtrFoYwW.cjs → CasinoCollectionsProviders-OZw09qnR.cjs} +1 -1
- package/components/{CasinoFavoritesSection-BZJgzb_T.js → CasinoFavoritesSection-C-WTpxpq.js} +2 -2
- package/components/{CasinoFavoritesSection-BEkt5ciK.js → CasinoFavoritesSection-CZ-q50oD.js} +2 -2
- package/components/{CasinoFavoritesSection-DG7d0GbD.cjs → CasinoFavoritesSection-DYzKNVZJ.cjs} +1 -1
- package/components/{CasinoFilter-Bxbj7rA3.cjs → CasinoFilter-BP97bmoQ.cjs} +1 -1
- package/components/{CasinoFilter-CdBDoGSj.js → CasinoFilter-BqfBTs3X.js} +1 -1
- package/components/{CasinoFilter-f96S6Iam.js → CasinoFilter-Dd_ByQUb.js} +1 -1
- package/components/{CasinoGameThumbnail-DWW_tiep.js → CasinoGameThumbnail-CySg8Qzs.js} +1 -1
- package/components/{CasinoGameThumbnail-D_Jt7NNr.cjs → CasinoGameThumbnail-W0nETKCH.cjs} +1 -1
- package/components/{CasinoGameThumbnail-CQ1h33Uv.js → CasinoGameThumbnail-ge_yVb-v.js} +1 -1
- package/components/{CasinoGamesCategorySection-DYv1BSV5.js → CasinoGamesCategorySection-B2CXUJ-V.js} +5 -5
- package/components/{CasinoGamesCategorySection-Bd5kNNfM.js → CasinoGamesCategorySection-B8IjpDwj.js} +5 -5
- package/components/{CasinoGamesCategorySection-C4cgtFNu.cjs → CasinoGamesCategorySection-DCjn0aiz.cjs} +1 -1
- package/components/{CasinoJackpotBanner-CvC0NNUS.js → CasinoJackpotBanner-Ba0HSy7J.js} +1 -1
- package/components/{CasinoJackpotBanner-CRZgp_bH.js → CasinoJackpotBanner-BuCeq-FN.js} +1 -1
- package/components/{CasinoJackpotBanner-BNF8-YQr.cjs → CasinoJackpotBanner-DRtiH_Mn.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-263_wScJ.js → CasinoLastPlayedSection-C5vsXbz8.js} +2 -2
- package/components/{CasinoLastPlayedSection-p-uvLCrV.cjs → CasinoLastPlayedSection-CP4YzhAu.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-XkHRjwsW.js → CasinoLastPlayedSection-DJ9HO253.js} +2 -2
- package/components/{CasinoMostPlayedSection-BM0k2slO.js → CasinoMostPlayedSection-Cj9P1O_g.js} +2 -2
- package/components/{CasinoMostPlayedSection-DUC6MHZR.cjs → CasinoMostPlayedSection-DPG3YsM6.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-CC3vT47n.js → CasinoMostPlayedSection-_rcZwydD.js} +2 -2
- package/components/{CasinoMyGames-DeazFst7.js → CasinoMyGames-BCWaO0Ph.js} +4 -4
- package/components/{CasinoMyGames-CpogSV6m.cjs → CasinoMyGames-Bqyyy2Me.cjs} +1 -1
- package/components/{CasinoMyGames-jf5KwDOc.js → CasinoMyGames-DA-mPnwJ.js} +4 -4
- package/components/{CasinoPage-Cp0FZMvU.js → CasinoPage-CBokj-bb.js} +11 -11
- package/components/{CasinoPage-CfEWk0yG.cjs → CasinoPage-QTmEso82.cjs} +1 -1
- package/components/{CasinoPage-hrE69R7R.js → CasinoPage-pRUQeFXv.js} +11 -11
- package/components/{CasinoRandomGame-BzZHwEVM.cjs → CasinoRandomGame-DRGWOXO6.cjs} +1 -1
- package/components/{CasinoRandomGame-DTCXTni5.js → CasinoRandomGame-Dicpdv5N.js} +1 -1
- package/components/{CasinoRandomGame-BGEfwVU0.js → CasinoRandomGame-Mzhi_geU.js} +1 -1
- package/components/{CasinoSearch-Bc9lvJrf.js → CasinoSearch-BkcRkT-Z.js} +2 -2
- package/components/{CasinoSearch-BSCUmoGh.js → CasinoSearch-CFh1KpPL.js} +2 -2
- package/components/{CasinoSearch-BVv3x0ve.cjs → CasinoSearch-D14Ak2E9.cjs} +1 -1
- package/components/{CasinoSort-HJVFPcID.cjs → CasinoSort-BVyHskml.cjs} +1 -1
- package/components/{CasinoSort-DobNbEt0.js → CasinoSort-DHqu-YG-.js} +1 -1
- package/components/{CasinoSort-BIlwabhv.js → CasinoSort-DuvD0KkH.js} +1 -1
- package/components/{CasinoWinners-B55gNfRw.js → CasinoWinners-B0O_bBQs.js} +2 -2
- package/components/{CasinoWinners-7mVDvR-F.js → CasinoWinners-BpmZRAiR.js} +2 -2
- package/components/{CasinoWinners-CeHaxzAw.cjs → CasinoWinners-CudCafMh.cjs} +1 -1
- package/components/{GeneralAnimationLoading-Ci1kJQeA.js → GeneralAnimationLoading-B00sPlMG.js} +1 -1
- package/components/{GeneralAnimationLoading-DuzqJm9B.js → GeneralAnimationLoading-DhrziAD2.js} +1 -1
- package/components/{GeneralAnimationLoading-Bqr7m2PJ.cjs → GeneralAnimationLoading-wnzFPEVd.cjs} +1 -1
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +1 -1
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-B6VstTtr.cjs → casino-play-random-game-Cl8BQ6zx.cjs} +1 -1
- package/stencil/{casino-play-random-game-pUOWIHh5.js → casino-play-random-game-DmsXPThq.js} +1 -1
- package/stencil/{casino-play-random-game-DmKKeAPJ.js → casino-play-random-game-bUDjgSKo.js} +1 -1
- package/stencil/{casino-play-random-game_2-CbA-PLA7.js → casino-play-random-game_2-Bf4CHBc9.js} +3 -1
- package/stencil/{casino-play-random-game_2-Bv4mZ56U.js → casino-play-random-game_2-C30-vRGp.js} +3 -1
- package/stencil/{casino-play-random-game_2-CCjTYmtz.cjs → casino-play-random-game_2-CCCLDakd.cjs} +1 -1
- package/stencil/{index-328e660d-CC4yJqDE.js → index-328e660d-B6ge05AJ.js} +1 -1
- package/stencil/{index-328e660d-BDcUPDZD.cjs → index-328e660d-C6OCQOhB.cjs} +1 -1
- package/stencil/{index-328e660d-gQTi0QSx.js → index-328e660d-Duk3nD23.js} +1 -1
package/components/{CasinoLastPlayedSection-p-uvLCrV.cjs → CasinoLastPlayedSection-CP4YzhAu.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BN480k04.cjs");require("./CasinoFavoritesSection-DG7d0GbD.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),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[17]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),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,"mbsource",n[18]),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"translationurl",n[8]),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[16])},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]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&262144&&t.set_custom_element_data(e,"mbsource",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"translationurl",a[8]),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]&65536&&t.set_custom_element_data(e,"casinomygames",a[16])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[20]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",j),m.searchParams.append("limit",C),m.searchParams.append("order",L),m.searchParams.append("period",P),t.getDevice(I)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),O=v?m:m.href,fetch(O).then(r=>r.json()).then(r=>{r.items=r.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(r.count--,T=!1),T}),s(r),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:r},window.location.href)}).catch(r=>{console.error(r),c(r)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(m=>{let f=new URL(`${o}/v1/casino/games/${m.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(r=>r.json())):c.push(fetch(f.href).then(r=>r.json()))}),Promise.all(c).then(m=>{w=m.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(20,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(8,b=s.translationurl),"livecasino"in s&&a(9,v=s.livecasino),"integratedgameframemobile"in s&&a(10,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,M=s.gamepagemodalurl),"showgamename"in s&&a(13,D=s.showgamename),"visiblegames"in s&&a(14,k=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(16,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(17,F=s.fetchviaevent),"mbsource"in s&&a(18,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&256&&b&&J(),n.$$.dirty[0]&524352&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&524416&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&786432&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,v,R,A,M,D,k,E,S,F,q,g,N,i,P,L,C,j,B]}class Y 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,clientstyling:6,clientstylingurl:7,translationurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:16,lastplayedunique:25,fetchviaevent:17,mbsource:18},W,[-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 clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[8]}set translationurl(e){this.$$set({translationurl: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 lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[18]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-4k288rHh.cjs");require("./CasinoFavoritesSection-DYzKNVZJ.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),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[17]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),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,"mbsource",n[18]),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"translationurl",n[8]),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[16])},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]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&262144&&t.set_custom_element_data(e,"mbsource",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"translationurl",a[8]),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]&65536&&t.set_custom_element_data(e,"casinomygames",a[16])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[20]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",j),m.searchParams.append("limit",C),m.searchParams.append("order",L),m.searchParams.append("period",P),t.getDevice(I)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),O=v?m:m.href,fetch(O).then(r=>r.json()).then(r=>{r.items=r.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(r.count--,T=!1),T}),s(r),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:r},window.location.href)}).catch(r=>{console.error(r),c(r)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(m=>{let f=new URL(`${o}/v1/casino/games/${m.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(r=>r.json())):c.push(fetch(f.href).then(r=>r.json()))}),Promise.all(c).then(m=>{w=m.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(20,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(8,b=s.translationurl),"livecasino"in s&&a(9,v=s.livecasino),"integratedgameframemobile"in s&&a(10,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,M=s.gamepagemodalurl),"showgamename"in s&&a(13,D=s.showgamename),"visiblegames"in s&&a(14,k=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(16,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(17,F=s.fetchviaevent),"mbsource"in s&&a(18,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&256&&b&&J(),n.$$.dirty[0]&524352&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&524416&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&786432&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,v,R,A,M,D,k,E,S,F,q,g,N,i,P,L,C,j,B]}class Y 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,clientstyling:6,clientstylingurl:7,translationurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:16,lastplayedunique:25,fetchviaevent:17,mbsource:18},W,[-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 clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[8]}set translationurl(e){this.$$set({translationurl: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 lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[18]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
|
package/components/{CasinoLastPlayedSection-XkHRjwsW.js → CasinoLastPlayedSection-DJ9HO253.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, P as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
1
|
+
import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, P as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-BNbVJJdG.js";
|
|
2
|
+
import "./CasinoFavoritesSection-C-WTpxpq.js";
|
|
3
3
|
function K(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
package/components/{CasinoMostPlayedSection-BM0k2slO.js → CasinoMostPlayedSection-Cj9P1O_g.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
1
|
+
import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-BNbVJJdG.js";
|
|
2
|
+
import "./CasinoFavoritesSection-C-WTpxpq.js";
|
|
3
3
|
function K(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
package/components/{CasinoMostPlayedSection-DUC6MHZR.cjs → CasinoMostPlayedSection-DPG3YsM6.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BN480k04.cjs");require("./CasinoFavoritesSection-DG7d0GbD.cjs");function U(n,e){t.addMessages(n,e)}function V(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 W(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 X(n){let e;return{c(){e=t.element("casino-games-category-section"),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 Z(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[20]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.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),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=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:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="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(`${o}/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",C);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,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.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=()=>{V(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,o=s.endpoint),"datasource"in s&&a(1,l=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,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&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()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,G,P,F,c,T,i,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,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},W,[-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("./CasinoCalendar-4k288rHh.cjs");require("./CasinoFavoritesSection-DYzKNVZJ.cjs");function U(n,e){t.addMessages(n,e)}function V(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 W(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 X(n){let e;return{c(){e=t.element("casino-games-category-section"),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 Z(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[20]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.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),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=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:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="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(`${o}/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",C);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,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.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=()=>{V(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,o=s.endpoint),"datasource"in s&&a(1,l=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,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&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()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,G,P,F,c,T,i,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,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},W,[-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;
|
package/components/{CasinoMostPlayedSection-CC3vT47n.js → CasinoMostPlayedSection-_rcZwydD.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-
|
|
2
|
-
import "./CasinoFavoritesSection-
|
|
1
|
+
import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-DAKxxPPx.js";
|
|
2
|
+
import "./CasinoFavoritesSection-CZ-q50oD.js";
|
|
3
3
|
function K(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as I, O as ce, a as he, S as ve, i as be, s as pe, f as g, b as Pe, n as ee, d as k, h as F, j as _, k as _e, o as Me, l as we, C as ke, v as ae, w as Fe, E as a, R as E, r as M, p as b, B as L, T as Ge, m as T, A as R, q as A, H as Le, I as Ce, J as Ee, K as Ae, L as Be } from "./CasinoCalendar-
|
|
1
|
+
import { $ as I, O as ce, a as he, S as ve, i as be, s as pe, f as g, b as Pe, n as ee, d as k, h as F, j as _, k as _e, o as Me, l as we, C as ke, v as ae, w as Fe, E as a, R as E, r as M, p as b, B as L, T as Ge, m as T, A as R, q as A, H as Le, I as Ce, J as Ee, K as Ae, L as Be } from "./CasinoCalendar-DAKxxPPx.js";
|
|
2
2
|
function Oe({ withLocale: t, translations: e }) {
|
|
3
3
|
I.subscribe((n) => {
|
|
4
4
|
n == null && (ce.set(e), I.set(t));
|
|
@@ -114,7 +114,7 @@ if (typeof window < "u") {
|
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
|
-
customElements.define = t(customElements.define), import("./CasinoFavoritesSection-
|
|
117
|
+
customElements.define = t(customElements.define), import("./CasinoFavoritesSection-CZ-q50oD.js").then(({ default: e }) => {
|
|
118
118
|
!customElements.get("casino-favorites-section") && customElements.define("casino-favorites-section", e.element);
|
|
119
119
|
});
|
|
120
120
|
}
|
|
@@ -130,7 +130,7 @@ if (typeof window < "u") {
|
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
};
|
|
133
|
-
customElements.define = t(customElements.define), import("./CasinoLastPlayedSection-
|
|
133
|
+
customElements.define = t(customElements.define), import("./CasinoLastPlayedSection-C5vsXbz8.js").then(({ default: e }) => {
|
|
134
134
|
!customElements.get("casino-last-played-section") && customElements.define("casino-last-played-section", e.element);
|
|
135
135
|
});
|
|
136
136
|
}
|
|
@@ -146,7 +146,7 @@ if (typeof window < "u") {
|
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
|
-
customElements.define = t(customElements.define), import("./CasinoMostPlayedSection-
|
|
149
|
+
customElements.define = t(customElements.define), import("./CasinoMostPlayedSection-_rcZwydD.js").then(({ default: e }) => {
|
|
150
150
|
!customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", e.element);
|
|
151
151
|
});
|
|
152
152
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BN480k04.cjs");function ae({withLocale:a,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function I(a,t){e.addMessages(a,t)}function se(a){e.$locale.set(a)}const R={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 a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-DG7d0GbD.cjs")).then(({default:t})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-p-uvLCrV.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-DUC6MHZR.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",t.element)})}function le(a){e.append_styles(a,"svelte-gljr2z",".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{display:none}.CasinoMyGames casino-favorites-section.Active{display:block}.CasinoMyGames casino-most-played-section{display:none}.CasinoMyGames casino-most-played-section.Active{display:block}.CasinoMyGames casino-last-played-section{display:none}.CasinoMyGames casino-last-played-section.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 J(a,t,o){const d=a.slice();return d[43]=t[o],d}function ne(a){let t,o,d,_,u,n,c,l,h,r,p,g=e.ensure_array_like(a[29]),f=[];for(let s=0;s<g.length;s+=1)f[s]=Q(J(a,g,s));return{c(){t=e.element("div"),o=e.element("div"),d=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section"),c=e.space(),l=e.element("casino-most-played-section"),h=e.space(),r=e.element("casino-last-played-section"),e.attr(d,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[15]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[11]),e.set_custom_element_data(n,"clientstyling",a[6]),e.set_custom_element_data(n,"clientstylingurl",a[7]),e.set_custom_element_data(n,"translationurl",a[14]),e.set_custom_element_data(n,"livecasino",a[8]),e.set_custom_element_data(n,"visiblegames",a[9]),e.set_custom_element_data(n,"gamepagemodalurl",a[10]),e.set_custom_element_data(n,"integratedgameframedesktop",a[12]),e.set_custom_element_data(n,"integratedgameframemobile",a[13]),e.set_custom_element_data(n,"casinomygames",a[18]),e.set_custom_element_data(n,"mbsource",a[25]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[15]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[11]),e.set_custom_element_data(l,"clientstyling",a[6]),e.set_custom_element_data(l,"clientstylingurl",a[7]),e.set_custom_element_data(l,"translationurl",a[14]),e.set_custom_element_data(l,"livecasino",a[8]),e.set_custom_element_data(l,"visiblegames",a[9]),e.set_custom_element_data(l,"gamepagemodalurl",a[10]),e.set_custom_element_data(l,"mostplayedrounds",a[24]),e.set_custom_element_data(l,"integratedgameframedesktop",a[12]),e.set_custom_element_data(l,"integratedgameframemobile",a[13]),e.set_custom_element_data(l,"mostplayedperiod",a[20]),e.set_custom_element_data(l,"casinomygames",a[18]),e.set_custom_element_data(l,"mbsource",a[25]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(r,"userid",a[0]),e.set_custom_element_data(r,"endpoint",a[2]),e.set_custom_element_data(r,"datasource",a[3]),e.set_custom_element_data(r,"favorites",a[15]),e.set_custom_element_data(r,"lang",a[4]),e.set_custom_element_data(r,"currency",a[5]),e.set_custom_element_data(r,"session",a[1]),e.set_custom_element_data(r,"class","CategoryContainer"),e.set_custom_element_data(r,"showgamename",a[11]),e.set_custom_element_data(r,"clientstyling",a[6]),e.set_custom_element_data(r,"clientstylingurl",a[7]),e.set_custom_element_data(r,"translationurl",a[14]),e.set_custom_element_data(r,"livecasino",a[8]),e.set_custom_element_data(r,"visiblegames",a[9]),e.set_custom_element_data(r,"lastplayedperiod",a[19]),e.set_custom_element_data(r,"lastplayedorder",a[21]),e.set_custom_element_data(r,"lastplayedlimit",a[22]),e.set_custom_element_data(r,"lastplayedunique",a[23]),e.set_custom_element_data(r,"gamepagemodalurl",a[10]),e.set_custom_element_data(r,"integratedgameframedesktop",a[12]),e.set_custom_element_data(r,"integratedgameframemobile",a[13]),e.set_custom_element_data(r,"casinomygames",a[18]),e.set_custom_element_data(r,"mbsource",a[25]),e.toggle_class(r,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,i){e.insert(s,t,i),e.append(t,o),e.append(o,d);for(let y=0;y<f.length;y+=1)f[y]&&f[y].m(d,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,r)},p(s,i){if(i[0]&1745059840|i[1]&3){g=e.ensure_array_like(s[29]);let y;for(y=0;y<g.length;y+=1){const M=J(s,g,y);f[y]?f[y].p(M,i):(f[y]=Q(M),f[y].c(),f[y].m(d,null))}for(;y<f.length;y+=1)f[y].d(1);f.length=g.length}i[0]&2&&e.set_custom_element_data(n,"session",s[1]),i[0]&1&&e.set_custom_element_data(n,"userid",s[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(n,"lang",s[4]),i[0]&32&&e.set_custom_element_data(n,"currency",s[5]),i[0]&32768&&e.set_custom_element_data(n,"favorites",s[15]),i[0]&2048&&e.set_custom_element_data(n,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(n,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(n,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(n,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(n,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(n,"visiblegames",s[9]),i[0]&1024&&e.set_custom_element_data(n,"gamepagemodalurl",s[10]),i[0]&4096&&e.set_custom_element_data(n,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframemobile",s[13]),i[0]&262144&&e.set_custom_element_data(n,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(n,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(l,"lang",s[4]),i[0]&32&&e.set_custom_element_data(l,"currency",s[5]),i[0]&2&&e.set_custom_element_data(l,"session",s[1]),i[0]&1&&e.set_custom_element_data(l,"userid",s[0]),i[0]&32768&&e.set_custom_element_data(l,"favorites",s[15]),i[0]&2048&&e.set_custom_element_data(l,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(l,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(l,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(l,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(l,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(l,"visiblegames",s[9]),i[0]&1024&&e.set_custom_element_data(l,"gamepagemodalurl",s[10]),i[0]&16777216&&e.set_custom_element_data(l,"mostplayedrounds",s[24]),i[0]&4096&&e.set_custom_element_data(l,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframemobile",s[13]),i[0]&1048576&&e.set_custom_element_data(l,"mostplayedperiod",s[20]),i[0]&262144&&e.set_custom_element_data(l,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(l,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(r,"userid",s[0]),i[0]&4&&e.set_custom_element_data(r,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(r,"datasource",s[3]),i[0]&32768&&e.set_custom_element_data(r,"favorites",s[15]),i[0]&16&&e.set_custom_element_data(r,"lang",s[4]),i[0]&32&&e.set_custom_element_data(r,"currency",s[5]),i[0]&2&&e.set_custom_element_data(r,"session",s[1]),i[0]&2048&&e.set_custom_element_data(r,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(r,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(r,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(r,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(r,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(r,"visiblegames",s[9]),i[0]&524288&&e.set_custom_element_data(r,"lastplayedperiod",s[19]),i[0]&2097152&&e.set_custom_element_data(r,"lastplayedorder",s[21]),i[0]&4194304&&e.set_custom_element_data(r,"lastplayedlimit",s[22]),i[0]&8388608&&e.set_custom_element_data(r,"lastplayedunique",s[23]),i[0]&1024&&e.set_custom_element_data(r,"gamepagemodalurl",s[10]),i[0]&4096&&e.set_custom_element_data(r,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(r,"integratedgameframemobile",s[13]),i[0]&262144&&e.set_custom_element_data(r,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(r,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(r,"Active",s[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function V(a){let t,o=a[31]("favorites")+"",d,_,u,n,c,l,h,r,p;return{c(){t=e.element("button"),d=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[15]=="false"?"Off":""))},m(g,f){e.insert(g,t,f),e.append(t,d),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),r||(p=e.listen(t,"click",a[33]),r=!0)},p(g,f){f[1]&1&&o!==(o=g[31]("favorites")+"")&&e.set_data(d,o),f[0]&1073741824&&e.set_data(c,g[30]),f[0]&134250496&&h!==(h="MyGamesButton "+(g[27]=="Favorites"?"Active":"")+" "+(g[15]=="false"?"Off":""))&&e.attr(t,"class",h)},d(g){g&&e.detach(t),r=!1,p()}}}function Z(a){let t,o=a[31]("mostPlayed")+"",d,_,u,n;return{c(){t=e.element("button"),d=e.text(o),e.attr(t,"class",_="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,d),u||(n=e.listen(t,"click",a[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(d,o),l[0]&134283264&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[16]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function K(a){let t,o=a[31]("recentlyPlayed")+"",d,_,u,n,c;return{c(){t=e.element("button"),d=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,d),e.append(t,_),n||(c=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(d,o),h[0]&134348800&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[17]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function Q(a){let t,o,d,_=a[43]=="Favorites"&&V(a),u=a[43]=="MostPlayed"&&Z(a),n=a[43]=="LastPlayed"&&K(a);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),d=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,d,l)},p(c,l){c[43]=="Favorites"?_?_.p(c,l):(_=V(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[43]=="MostPlayed"?u?u.p(c,l):(u=Z(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[43]=="LastPlayed"?n?n.p(c,l):(n=K(c),n.c(),n.m(d.parentNode,d)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(d)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function oe(a){let t;function o(u,n){if(u[18])return ne}let d=o(a),_=d&&d(a);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),a[36](t)},p(u,n){d===(d=o(u))&&_?_.p(u,n):(_&&_.d(1),_=d&&d(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),a[36](null)}}}function ie(a,t,o){let d;e.component_subscribe(a,e.$format,m=>o(31,d=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{clientstyling:r=""}=t,{clientstylingurl:p=""}=t,{livecasino:g=""}=t,{visiblegames:f=""}=t,{gamepagemodalurl:s=""}=t,{showgamename:i=""}=t,{integratedgameframedesktop:y=""}=t,{integratedgameframemobile:M=""}=t,{translationurl:C=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:j="Last30Days"}=t,{mostplayedperiod:q="Last30Days"}=t,{lastplayedorder:S=""}=t,{lastplayedlimit:D=""}=t,{lastplayedunique:N="true"}=t,{mostplayedrounds:T=""}=t,{mbsource:A}=t,X=window.navigator.userAgent,v,L="",z=!1,P=["","",""],B="0";ae({withLocale:"en",translations:{}});const Y=()=>{fetch(C).then(b=>b.json()).then(b=>{Object.keys(b).forEach(G=>{I(G,b[G])})}).catch(b=>{console.log(b)})};Object.keys(R).forEach(m=>{I(m,R[m])});const E=m=>{L!==m&&o(27,L=m)},H=()=>{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),se(l)},U=m=>{var b,G;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,B=m.data.favoriteGamesLength):o(30,B=(G=(b=m.data.listOfFavoritesGames)==null?void 0:b.length)!=null?G:0);break}};e.onMount(()=>(window.addEventListener("message",U,!1),o(28,z=e.isMobile(X)),()=>{window.removeEventListener("message",U)}));const x=()=>E("Favorites"),$=()=>E("MostPlayed"),ee=()=>E("LastPlayed");function te(m){e.binding_callbacks[m?"unshift":"push"](()=>{v=m,o(26,v)})}return a.$$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),"clientstyling"in m&&o(6,r=m.clientstyling),"clientstylingurl"in m&&o(7,p=m.clientstylingurl),"livecasino"in m&&o(8,g=m.livecasino),"visiblegames"in m&&o(9,f=m.visiblegames),"gamepagemodalurl"in m&&o(10,s=m.gamepagemodalurl),"showgamename"in m&&o(11,i=m.showgamename),"integratedgameframedesktop"in m&&o(12,y=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(13,M=m.integratedgameframemobile),"translationurl"in m&&o(14,C=m.translationurl),"favorites"in m&&o(15,w=m.favorites),"mostplayed"in m&&o(16,k=m.mostplayed),"lastplayed"in m&&o(17,F=m.lastplayed),"casinomygames"in m&&o(18,O=m.casinomygames),"lastplayedperiod"in m&&o(19,j=m.lastplayedperiod),"mostplayedperiod"in m&&o(20,q=m.mostplayedperiod),"lastplayedorder"in m&&o(21,S=m.lastplayedorder),"lastplayedlimit"in m&&o(22,D=m.lastplayedlimit),"lastplayedunique"in m&&o(23,N=m.lastplayedunique),"mostplayedrounds"in m&&o(24,T=m.mostplayedrounds),"mbsource"in m&&o(25,A=m.mbsource)},a.$$.update=()=>{a.$$.dirty[0]&28&&n&&c&&l&&H(),a.$$.dirty[0]&229376&&w&&k&&F&&H(),a.$$.dirty[0]&16384&&C&&Y(),a.$$.dirty[0]&67108928&&r&&v&&e.setClientStyling(v,r),a.$$.dirty[0]&67108992&&p&&v&&e.setClientStylingURL(v,p),a.$$.dirty[0]&100663296&&v&&e.setStreamStyling(v,`${A}.Style`)},[_,u,n,c,l,h,r,p,g,f,s,i,y,M,C,w,k,F,O,j,q,S,D,N,T,A,v,L,z,P,B,d,E,x,$,ee,te]}class W extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,oe,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:14,favorites:15,mostplayed:16,lastplayed:17,casinomygames:18,lastplayedperiod:19,mostplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,lastplayedunique:23,mostplayedrounds:24,mbsource:25},le,[-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 clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[15]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[17]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[24]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get mbsource(){return this.$$.ctx[25]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(W,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{},mbsource:{}},[],[],!0);exports.default=W;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-4k288rHh.cjs");function ae({withLocale:a,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function I(a,t){e.addMessages(a,t)}function se(a){e.$locale.set(a)}const R={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 a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-DYzKNVZJ.cjs")).then(({default:t})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-CP4YzhAu.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(d){if(d instanceof DOMException&&d.message.includes("has already been used with this registry")||d.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw d}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-DPG3YsM6.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",t.element)})}function le(a){e.append_styles(a,"svelte-gljr2z",".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{display:none}.CasinoMyGames casino-favorites-section.Active{display:block}.CasinoMyGames casino-most-played-section{display:none}.CasinoMyGames casino-most-played-section.Active{display:block}.CasinoMyGames casino-last-played-section{display:none}.CasinoMyGames casino-last-played-section.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 J(a,t,o){const d=a.slice();return d[43]=t[o],d}function ne(a){let t,o,d,_,u,n,c,l,h,r,p,g=e.ensure_array_like(a[29]),f=[];for(let s=0;s<g.length;s+=1)f[s]=Q(J(a,g,s));return{c(){t=e.element("div"),o=e.element("div"),d=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section"),c=e.space(),l=e.element("casino-most-played-section"),h=e.space(),r=e.element("casino-last-played-section"),e.attr(d,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[15]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[11]),e.set_custom_element_data(n,"clientstyling",a[6]),e.set_custom_element_data(n,"clientstylingurl",a[7]),e.set_custom_element_data(n,"translationurl",a[14]),e.set_custom_element_data(n,"livecasino",a[8]),e.set_custom_element_data(n,"visiblegames",a[9]),e.set_custom_element_data(n,"gamepagemodalurl",a[10]),e.set_custom_element_data(n,"integratedgameframedesktop",a[12]),e.set_custom_element_data(n,"integratedgameframemobile",a[13]),e.set_custom_element_data(n,"casinomygames",a[18]),e.set_custom_element_data(n,"mbsource",a[25]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[15]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[11]),e.set_custom_element_data(l,"clientstyling",a[6]),e.set_custom_element_data(l,"clientstylingurl",a[7]),e.set_custom_element_data(l,"translationurl",a[14]),e.set_custom_element_data(l,"livecasino",a[8]),e.set_custom_element_data(l,"visiblegames",a[9]),e.set_custom_element_data(l,"gamepagemodalurl",a[10]),e.set_custom_element_data(l,"mostplayedrounds",a[24]),e.set_custom_element_data(l,"integratedgameframedesktop",a[12]),e.set_custom_element_data(l,"integratedgameframemobile",a[13]),e.set_custom_element_data(l,"mostplayedperiod",a[20]),e.set_custom_element_data(l,"casinomygames",a[18]),e.set_custom_element_data(l,"mbsource",a[25]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(r,"userid",a[0]),e.set_custom_element_data(r,"endpoint",a[2]),e.set_custom_element_data(r,"datasource",a[3]),e.set_custom_element_data(r,"favorites",a[15]),e.set_custom_element_data(r,"lang",a[4]),e.set_custom_element_data(r,"currency",a[5]),e.set_custom_element_data(r,"session",a[1]),e.set_custom_element_data(r,"class","CategoryContainer"),e.set_custom_element_data(r,"showgamename",a[11]),e.set_custom_element_data(r,"clientstyling",a[6]),e.set_custom_element_data(r,"clientstylingurl",a[7]),e.set_custom_element_data(r,"translationurl",a[14]),e.set_custom_element_data(r,"livecasino",a[8]),e.set_custom_element_data(r,"visiblegames",a[9]),e.set_custom_element_data(r,"lastplayedperiod",a[19]),e.set_custom_element_data(r,"lastplayedorder",a[21]),e.set_custom_element_data(r,"lastplayedlimit",a[22]),e.set_custom_element_data(r,"lastplayedunique",a[23]),e.set_custom_element_data(r,"gamepagemodalurl",a[10]),e.set_custom_element_data(r,"integratedgameframedesktop",a[12]),e.set_custom_element_data(r,"integratedgameframemobile",a[13]),e.set_custom_element_data(r,"casinomygames",a[18]),e.set_custom_element_data(r,"mbsource",a[25]),e.toggle_class(r,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,i){e.insert(s,t,i),e.append(t,o),e.append(o,d);for(let y=0;y<f.length;y+=1)f[y]&&f[y].m(d,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,r)},p(s,i){if(i[0]&1745059840|i[1]&3){g=e.ensure_array_like(s[29]);let y;for(y=0;y<g.length;y+=1){const M=J(s,g,y);f[y]?f[y].p(M,i):(f[y]=Q(M),f[y].c(),f[y].m(d,null))}for(;y<f.length;y+=1)f[y].d(1);f.length=g.length}i[0]&2&&e.set_custom_element_data(n,"session",s[1]),i[0]&1&&e.set_custom_element_data(n,"userid",s[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(n,"lang",s[4]),i[0]&32&&e.set_custom_element_data(n,"currency",s[5]),i[0]&32768&&e.set_custom_element_data(n,"favorites",s[15]),i[0]&2048&&e.set_custom_element_data(n,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(n,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(n,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(n,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(n,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(n,"visiblegames",s[9]),i[0]&1024&&e.set_custom_element_data(n,"gamepagemodalurl",s[10]),i[0]&4096&&e.set_custom_element_data(n,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframemobile",s[13]),i[0]&262144&&e.set_custom_element_data(n,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(n,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(l,"lang",s[4]),i[0]&32&&e.set_custom_element_data(l,"currency",s[5]),i[0]&2&&e.set_custom_element_data(l,"session",s[1]),i[0]&1&&e.set_custom_element_data(l,"userid",s[0]),i[0]&32768&&e.set_custom_element_data(l,"favorites",s[15]),i[0]&2048&&e.set_custom_element_data(l,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(l,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(l,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(l,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(l,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(l,"visiblegames",s[9]),i[0]&1024&&e.set_custom_element_data(l,"gamepagemodalurl",s[10]),i[0]&16777216&&e.set_custom_element_data(l,"mostplayedrounds",s[24]),i[0]&4096&&e.set_custom_element_data(l,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframemobile",s[13]),i[0]&1048576&&e.set_custom_element_data(l,"mostplayedperiod",s[20]),i[0]&262144&&e.set_custom_element_data(l,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(l,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(r,"userid",s[0]),i[0]&4&&e.set_custom_element_data(r,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(r,"datasource",s[3]),i[0]&32768&&e.set_custom_element_data(r,"favorites",s[15]),i[0]&16&&e.set_custom_element_data(r,"lang",s[4]),i[0]&32&&e.set_custom_element_data(r,"currency",s[5]),i[0]&2&&e.set_custom_element_data(r,"session",s[1]),i[0]&2048&&e.set_custom_element_data(r,"showgamename",s[11]),i[0]&64&&e.set_custom_element_data(r,"clientstyling",s[6]),i[0]&128&&e.set_custom_element_data(r,"clientstylingurl",s[7]),i[0]&16384&&e.set_custom_element_data(r,"translationurl",s[14]),i[0]&256&&e.set_custom_element_data(r,"livecasino",s[8]),i[0]&512&&e.set_custom_element_data(r,"visiblegames",s[9]),i[0]&524288&&e.set_custom_element_data(r,"lastplayedperiod",s[19]),i[0]&2097152&&e.set_custom_element_data(r,"lastplayedorder",s[21]),i[0]&4194304&&e.set_custom_element_data(r,"lastplayedlimit",s[22]),i[0]&8388608&&e.set_custom_element_data(r,"lastplayedunique",s[23]),i[0]&1024&&e.set_custom_element_data(r,"gamepagemodalurl",s[10]),i[0]&4096&&e.set_custom_element_data(r,"integratedgameframedesktop",s[12]),i[0]&8192&&e.set_custom_element_data(r,"integratedgameframemobile",s[13]),i[0]&262144&&e.set_custom_element_data(r,"casinomygames",s[18]),i[0]&33554432&&e.set_custom_element_data(r,"mbsource",s[25]),i[0]&134217728&&e.toggle_class(r,"Active",s[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function V(a){let t,o=a[31]("favorites")+"",d,_,u,n,c,l,h,r,p;return{c(){t=e.element("button"),d=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[15]=="false"?"Off":""))},m(g,f){e.insert(g,t,f),e.append(t,d),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),r||(p=e.listen(t,"click",a[33]),r=!0)},p(g,f){f[1]&1&&o!==(o=g[31]("favorites")+"")&&e.set_data(d,o),f[0]&1073741824&&e.set_data(c,g[30]),f[0]&134250496&&h!==(h="MyGamesButton "+(g[27]=="Favorites"?"Active":"")+" "+(g[15]=="false"?"Off":""))&&e.attr(t,"class",h)},d(g){g&&e.detach(t),r=!1,p()}}}function Z(a){let t,o=a[31]("mostPlayed")+"",d,_,u,n;return{c(){t=e.element("button"),d=e.text(o),e.attr(t,"class",_="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,d),u||(n=e.listen(t,"click",a[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(d,o),l[0]&134283264&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[16]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function K(a){let t,o=a[31]("recentlyPlayed")+"",d,_,u,n,c;return{c(){t=e.element("button"),d=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,d),e.append(t,_),n||(c=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(d,o),h[0]&134348800&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[17]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function Q(a){let t,o,d,_=a[43]=="Favorites"&&V(a),u=a[43]=="MostPlayed"&&Z(a),n=a[43]=="LastPlayed"&&K(a);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),d=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,d,l)},p(c,l){c[43]=="Favorites"?_?_.p(c,l):(_=V(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[43]=="MostPlayed"?u?u.p(c,l):(u=Z(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[43]=="LastPlayed"?n?n.p(c,l):(n=K(c),n.c(),n.m(d.parentNode,d)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(d)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function oe(a){let t;function o(u,n){if(u[18])return ne}let d=o(a),_=d&&d(a);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),a[36](t)},p(u,n){d===(d=o(u))&&_?_.p(u,n):(_&&_.d(1),_=d&&d(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),a[36](null)}}}function ie(a,t,o){let d;e.component_subscribe(a,e.$format,m=>o(31,d=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{clientstyling:r=""}=t,{clientstylingurl:p=""}=t,{livecasino:g=""}=t,{visiblegames:f=""}=t,{gamepagemodalurl:s=""}=t,{showgamename:i=""}=t,{integratedgameframedesktop:y=""}=t,{integratedgameframemobile:M=""}=t,{translationurl:C=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:j="Last30Days"}=t,{mostplayedperiod:q="Last30Days"}=t,{lastplayedorder:S=""}=t,{lastplayedlimit:D=""}=t,{lastplayedunique:N="true"}=t,{mostplayedrounds:T=""}=t,{mbsource:A}=t,X=window.navigator.userAgent,v,L="",z=!1,P=["","",""],B="0";ae({withLocale:"en",translations:{}});const Y=()=>{fetch(C).then(b=>b.json()).then(b=>{Object.keys(b).forEach(G=>{I(G,b[G])})}).catch(b=>{console.log(b)})};Object.keys(R).forEach(m=>{I(m,R[m])});const E=m=>{L!==m&&o(27,L=m)},H=()=>{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),se(l)},U=m=>{var b,G;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,B=m.data.favoriteGamesLength):o(30,B=(G=(b=m.data.listOfFavoritesGames)==null?void 0:b.length)!=null?G:0);break}};e.onMount(()=>(window.addEventListener("message",U,!1),o(28,z=e.isMobile(X)),()=>{window.removeEventListener("message",U)}));const x=()=>E("Favorites"),$=()=>E("MostPlayed"),ee=()=>E("LastPlayed");function te(m){e.binding_callbacks[m?"unshift":"push"](()=>{v=m,o(26,v)})}return a.$$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),"clientstyling"in m&&o(6,r=m.clientstyling),"clientstylingurl"in m&&o(7,p=m.clientstylingurl),"livecasino"in m&&o(8,g=m.livecasino),"visiblegames"in m&&o(9,f=m.visiblegames),"gamepagemodalurl"in m&&o(10,s=m.gamepagemodalurl),"showgamename"in m&&o(11,i=m.showgamename),"integratedgameframedesktop"in m&&o(12,y=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(13,M=m.integratedgameframemobile),"translationurl"in m&&o(14,C=m.translationurl),"favorites"in m&&o(15,w=m.favorites),"mostplayed"in m&&o(16,k=m.mostplayed),"lastplayed"in m&&o(17,F=m.lastplayed),"casinomygames"in m&&o(18,O=m.casinomygames),"lastplayedperiod"in m&&o(19,j=m.lastplayedperiod),"mostplayedperiod"in m&&o(20,q=m.mostplayedperiod),"lastplayedorder"in m&&o(21,S=m.lastplayedorder),"lastplayedlimit"in m&&o(22,D=m.lastplayedlimit),"lastplayedunique"in m&&o(23,N=m.lastplayedunique),"mostplayedrounds"in m&&o(24,T=m.mostplayedrounds),"mbsource"in m&&o(25,A=m.mbsource)},a.$$.update=()=>{a.$$.dirty[0]&28&&n&&c&&l&&H(),a.$$.dirty[0]&229376&&w&&k&&F&&H(),a.$$.dirty[0]&16384&&C&&Y(),a.$$.dirty[0]&67108928&&r&&v&&e.setClientStyling(v,r),a.$$.dirty[0]&67108992&&p&&v&&e.setClientStylingURL(v,p),a.$$.dirty[0]&100663296&&v&&e.setStreamStyling(v,`${A}.Style`)},[_,u,n,c,l,h,r,p,g,f,s,i,y,M,C,w,k,F,O,j,q,S,D,N,T,A,v,L,z,P,B,d,E,x,$,ee,te]}class W extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,oe,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:14,favorites:15,mostplayed:16,lastplayed:17,casinomygames:18,lastplayedperiod:19,mostplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,lastplayedunique:23,mostplayedrounds:24,mbsource:25},le,[-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 clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[15]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[17]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[24]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get mbsource(){return this.$$.ctx[25]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(W,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{},mbsource:{}},[],[],!0);exports.default=W;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as R, O as ce, a as he, S as ve, i as be, s as pe, f as g, b as Pe, n as ee, d as F, h as G, j as _, k as _e, o as Me, l as we, C as ke, v as ae, w as Fe, E as a, R as E, r as M, p as b, B as C, T as Ge, m as z, A as U, q as A, H as Le, I as Ce, J as Ee, K as Ae, L as Be } from "./CasinoCalendar-
|
|
1
|
+
import { $ as R, O as ce, a as he, S as ve, i as be, s as pe, f as g, b as Pe, n as ee, d as F, h as G, j as _, k as _e, o as Me, l as we, C as ke, v as ae, w as Fe, E as a, R as E, r as M, p as b, B as C, T as Ge, m as z, A as U, q as A, H as Le, I as Ce, J as Ee, K as Ae, L as Be } from "./CasinoCalendar-BNbVJJdG.js";
|
|
2
2
|
function Oe({ withLocale: t, translations: e }) {
|
|
3
3
|
R.subscribe((n) => {
|
|
4
4
|
n == null && (ce.set(e), R.set(t));
|
|
@@ -114,7 +114,7 @@ if (typeof window != "undefined") {
|
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
|
-
customElements.define = t(customElements.define), import("./CasinoFavoritesSection-
|
|
117
|
+
customElements.define = t(customElements.define), import("./CasinoFavoritesSection-C-WTpxpq.js").then(({ default: e }) => {
|
|
118
118
|
!customElements.get("casino-favorites-section") && customElements.define("casino-favorites-section", e.element);
|
|
119
119
|
});
|
|
120
120
|
}
|
|
@@ -130,7 +130,7 @@ if (typeof window != "undefined") {
|
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
};
|
|
133
|
-
customElements.define = t(customElements.define), import("./CasinoLastPlayedSection-
|
|
133
|
+
customElements.define = t(customElements.define), import("./CasinoLastPlayedSection-DJ9HO253.js").then(({ default: e }) => {
|
|
134
134
|
!customElements.get("casino-last-played-section") && customElements.define("casino-last-played-section", e.element);
|
|
135
135
|
});
|
|
136
136
|
}
|
|
@@ -146,7 +146,7 @@ if (typeof window != "undefined") {
|
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
|
-
customElements.define = t(customElements.define), import("./CasinoMostPlayedSection-
|
|
149
|
+
customElements.define = t(customElements.define), import("./CasinoMostPlayedSection-Cj9P1O_g.js").then(({ default: e }) => {
|
|
150
150
|
!customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", e.element);
|
|
151
151
|
});
|
|
152
152
|
}
|
|
@@ -14,11 +14,11 @@ var re = (a, e, i) => new Promise((s, r) => {
|
|
|
14
14
|
}, c = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(u, l);
|
|
15
15
|
c((i = i.apply(a, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { $ as Ke, O as Bt, a as Nt, S as Ot, i as Tt, f as m, s as Dt, K as Rt, b as zt, d as w, t as J, c as Y, g as be, e as ye, h as v, j as k, k as At, l as bt, W as Wt, o as qt, n as ee, r as z, E as t, p as C, B as G, V as Qi, P as Fe, C as Ve, T as _e, m as Ge, q as Ie, R as Zi, v as Xi, Y as Ut, _ as Yt, M as Ht, G as xi, A as V, a0 as Jt, u as Vt, x as Kt, y as Qt, z as Zt, a1 as Xt, L as xt, H as $t, I as ea, J as ia } from "./CasinoCalendar-
|
|
18
|
-
import "./CasinoFavoritesSection-
|
|
19
|
-
import "../stencil/casino-play-random-game-
|
|
17
|
+
import { $ as Ke, O as Bt, a as Nt, S as Ot, i as Tt, f as m, s as Dt, K as Rt, b as zt, d as w, t as J, c as Y, g as be, e as ye, h as v, j as k, k as At, l as bt, W as Wt, o as qt, n as ee, r as z, E as t, p as C, B as G, V as Qi, P as Fe, C as Ve, T as _e, m as Ge, q as Ie, R as Zi, v as Xi, Y as Ut, _ as Yt, M as Ht, G as xi, A as V, a0 as Jt, u as Vt, x as Kt, y as Qt, z as Zt, a1 as Xt, L as xt, H as $t, I as ea, J as ia } from "./CasinoCalendar-BNbVJJdG.js";
|
|
18
|
+
import "./CasinoFavoritesSection-C-WTpxpq.js";
|
|
19
|
+
import "../stencil/casino-play-random-game-DmsXPThq.js";
|
|
20
20
|
import "../stencil/ui-skeleton-D_tu1FGi.js";
|
|
21
|
-
import "./CasinoGamesCategorySection-
|
|
21
|
+
import "./CasinoGamesCategorySection-B2CXUJ-V.js";
|
|
22
22
|
function ta({ withLocale: a, translations: e }) {
|
|
23
23
|
Ke.subscribe((i) => {
|
|
24
24
|
i == null && (Bt.set(e), Ke.set(a));
|
|
@@ -286,7 +286,7 @@ if (typeof window != "undefined") {
|
|
|
286
286
|
}
|
|
287
287
|
};
|
|
288
288
|
};
|
|
289
|
-
customElements.define = a(customElements.define), import("./CasinoRandomGame-
|
|
289
|
+
customElements.define = a(customElements.define), import("./CasinoRandomGame-Dicpdv5N.js").then(({ default: e }) => {
|
|
290
290
|
!customElements.get("casino-random-game") && customElements.define("casino-random-game", e.element);
|
|
291
291
|
});
|
|
292
292
|
}
|
|
@@ -302,7 +302,7 @@ if (typeof window != "undefined") {
|
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
304
|
};
|
|
305
|
-
customElements.define = a(customElements.define), import("./CasinoWinners-
|
|
305
|
+
customElements.define = a(customElements.define), import("./CasinoWinners-B0O_bBQs.js").then(({ default: e }) => {
|
|
306
306
|
!customElements.get("casino-winners") && customElements.define("casino-winners", e.element);
|
|
307
307
|
});
|
|
308
308
|
}
|
|
@@ -318,7 +318,7 @@ if (typeof window != "undefined") {
|
|
|
318
318
|
}
|
|
319
319
|
};
|
|
320
320
|
};
|
|
321
|
-
customElements.define = a(customElements.define), import("./CasinoJackpotBanner-
|
|
321
|
+
customElements.define = a(customElements.define), import("./CasinoJackpotBanner-Ba0HSy7J.js").then(({ default: e }) => {
|
|
322
322
|
!customElements.get("casino-jackpot-banner") && customElements.define("casino-jackpot-banner", e.element);
|
|
323
323
|
});
|
|
324
324
|
}
|
|
@@ -334,7 +334,7 @@ if (typeof window != "undefined") {
|
|
|
334
334
|
}
|
|
335
335
|
};
|
|
336
336
|
};
|
|
337
|
-
customElements.define = a(customElements.define), import("./CasinoCollectionsProviders-
|
|
337
|
+
customElements.define = a(customElements.define), import("./CasinoCollectionsProviders-BRaAIVvV.js").then(({ default: e }) => {
|
|
338
338
|
!customElements.get("casino-collections-providers") && customElements.define("casino-collections-providers", e.element);
|
|
339
339
|
});
|
|
340
340
|
}
|
|
@@ -350,7 +350,7 @@ if (typeof window != "undefined") {
|
|
|
350
350
|
}
|
|
351
351
|
};
|
|
352
352
|
};
|
|
353
|
-
customElements.define = a(customElements.define), import("./CasinoMyGames-
|
|
353
|
+
customElements.define = a(customElements.define), import("./CasinoMyGames-DA-mPnwJ.js").then(({ default: e }) => {
|
|
354
354
|
!customElements.get("casino-my-games") && customElements.define("casino-my-games", e.element);
|
|
355
355
|
});
|
|
356
356
|
}
|
|
@@ -366,7 +366,7 @@ if (typeof window != "undefined") {
|
|
|
366
366
|
}
|
|
367
367
|
};
|
|
368
368
|
};
|
|
369
|
-
customElements.define = a(customElements.define), import("./CasinoSearch-
|
|
369
|
+
customElements.define = a(customElements.define), import("./CasinoSearch-BkcRkT-Z.js").then(({ default: e }) => {
|
|
370
370
|
!customElements.get("casino-search") && customElements.define("casino-search", e.element);
|
|
371
371
|
});
|
|
372
372
|
}
|
|
@@ -382,7 +382,7 @@ if (typeof window != "undefined") {
|
|
|
382
382
|
}
|
|
383
383
|
};
|
|
384
384
|
};
|
|
385
|
-
customElements.define = a(customElements.define), import("./CasinoCalendar-
|
|
385
|
+
customElements.define = a(customElements.define), import("./CasinoCalendar-BNbVJJdG.js").then((e) => e.a2).then(({ default: e }) => {
|
|
386
386
|
!customElements.get("casino-calendar") && customElements.define("casino-calendar", e.element);
|
|
387
387
|
});
|
|
388
388
|
}
|