@everymatrix/casino-page 1.87.26 → 1.87.27
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-Bk2VWsYP.js +572 -0
- package/components/CasinoCalendar-CuMdPVUL.js +574 -0
- package/components/CasinoCalendar-NysJ_MQc.cjs +2 -0
- package/components/{CasinoCalendarDailyDetails-C9QkDeeW.js → CasinoCalendarDailyDetails-BMRyShgB.js} +84 -84
- package/components/CasinoCalendarDailyDetails-Ctd7GG23.cjs +1 -0
- package/components/{CasinoCalendarDailyDetails-DG8jTkOb.js → CasinoCalendarDailyDetails-DpRL4rZD.js} +84 -84
- package/components/CasinoCalendarDailyItem-Bwv-TV7n.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-H9bFOk6V.js → CasinoCalendarDailyItem-O-m4LUQU.js} +118 -118
- package/components/{CasinoCalendarDailyItem-77QxCgOg.js → CasinoCalendarDailyItem-kbMnL8LX.js} +118 -118
- package/components/CasinoCollectionsProviders-DxCAKrxO.cjs +1 -0
- package/components/{CasinoCollectionsProviders-BRaAIVvV.js → CasinoCollectionsProviders-I8uaw4CX.js} +65 -65
- package/components/{CasinoCollectionsProviders-DOGIidgs.js → CasinoCollectionsProviders-bBtLlyhP.js} +93 -93
- package/components/CasinoFavoritesSection-BKpylL-E.cjs +1 -0
- package/components/{CasinoFavoritesSection-C-WTpxpq.js → CasinoFavoritesSection-D1NR_VbM.js} +47 -63
- package/components/{CasinoFavoritesSection-CZ-q50oD.js → CasinoFavoritesSection-DVEeqd8t.js} +44 -60
- package/components/CasinoFilter-BuCRML3F.cjs +1 -0
- package/components/{CasinoFilter-Dd_ByQUb.js → CasinoFilter-C-8LktQ9.js} +223 -224
- package/components/{CasinoFilter-BqfBTs3X.js → CasinoFilter-JysfGnIT.js} +251 -250
- package/components/CasinoGameThumbnail-CTIJhcZN.js +1847 -0
- package/components/CasinoGameThumbnail-MpCIIvr2.cjs +38 -0
- package/components/CasinoGameThumbnail-vCdzZgSQ.js +1831 -0
- package/components/CasinoGamesCategorySection-CQTfYAer.cjs +10 -0
- package/components/CasinoGamesCategorySection-C_uyd_r_.js +5729 -0
- package/components/CasinoGamesCategorySection-Cavp2XcF.js +5697 -0
- package/components/{CasinoJackpotBanner-BuCeq-FN.js → CasinoJackpotBanner-C6568dXk.js} +176 -176
- package/components/{CasinoJackpotBanner-Ba0HSy7J.js → CasinoJackpotBanner-CLADRgxD.js} +154 -154
- package/components/CasinoJackpotBanner-C_Gf1vLe.cjs +1 -0
- package/components/{CasinoLastPlayedSection-DJ9HO253.js → CasinoLastPlayedSection-Daix__De.js} +71 -72
- package/components/{CasinoLastPlayedSection-C5vsXbz8.js → CasinoLastPlayedSection-fA_Nko5c.js} +68 -69
- package/components/CasinoLastPlayedSection-i9eM46ud.cjs +1 -0
- package/components/CasinoMostPlayedSection-7F-BgAlY.cjs +1 -0
- package/components/{CasinoMostPlayedSection-_rcZwydD.js → CasinoMostPlayedSection-BG98a19d.js} +64 -65
- package/components/{CasinoMostPlayedSection-Cj9P1O_g.js → CasinoMostPlayedSection-DjDWyNmN.js} +66 -67
- package/components/{CasinoMyGames-BCWaO0Ph.js → CasinoMyGames-DbWMDQDz.js} +46 -46
- package/components/CasinoMyGames-FxQZFPn1.cjs +1 -0
- package/components/{CasinoMyGames-DA-mPnwJ.js → CasinoMyGames-fh1A5kRZ.js} +46 -46
- package/components/CasinoPage-CEwUBRwz.js +8914 -0
- package/components/CasinoPage-D1gCtQ9f.cjs +18 -0
- package/components/CasinoPage-DuLO92lO.js +8959 -0
- package/components/CasinoRandomGame-B6nMcOFW.cjs +2 -0
- package/components/{CasinoRandomGame-Dicpdv5N.js → CasinoRandomGame-BXeDL44i.js} +118 -118
- package/components/{CasinoRandomGame-Mzhi_geU.js → CasinoRandomGame-fp8-6pxV.js} +116 -116
- package/components/{CasinoSearch-BkcRkT-Z.js → CasinoSearch-CT_Q7Eg2.js} +75 -75
- package/components/{CasinoSearch-CFh1KpPL.js → CasinoSearch-D25EUsHS.js} +75 -75
- package/components/CasinoSearch-DSNlggOc.cjs +1 -0
- package/components/CasinoSort-5sOVz1es.cjs +1 -0
- package/components/{CasinoSort-DuvD0KkH.js → CasinoSort-CoBXSITn.js} +102 -102
- package/components/{CasinoSort-DHqu-YG-.js → CasinoSort-l3IilL10.js} +116 -116
- package/components/{CasinoWinners-C0aKkeDL.js → CasinoWinners-BeLObVW8.js} +105 -105
- package/components/{CasinoWinners-DdSjlEaj.js → CasinoWinners-mCHa7x4u.js} +108 -108
- package/components/CasinoWinners-pE3a77v3.cjs +1 -0
- package/components/GeneralAnimationLoading-BJ87LnuC.cjs +1 -0
- package/components/{GeneralAnimationLoading-DhrziAD2.js → GeneralAnimationLoading-BaLCQhkc.js} +23 -23
- package/components/{GeneralAnimationLoading-B00sPlMG.js → GeneralAnimationLoading-SLNmfkn9.js} +22 -22
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +7 -7
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{app-globals-0f993ce5-4b17CI_n.cjs → app-globals-0f993ce5-3HCMFTIi.cjs} +1 -1
- package/stencil/{app-globals-0f993ce5-DfNOCk8l.js → app-globals-0f993ce5-DYjuqKIH.js} +2 -2
- package/stencil/{casino-play-random-game-rhXCh2EW.js → casino-play-random-game-BnjM-0qi.js} +2 -2
- package/stencil/{casino-play-random-game-CSy8nXT0.js → casino-play-random-game-DRQxeH3W.js} +2 -2
- package/stencil/{casino-play-random-game-PuRF3mXV.cjs → casino-play-random-game-dt2t2wAq.cjs} +1 -1
- package/stencil/{casino-play-random-game_2-CZQxP9GA.js → casino-play-random-game_2-BvZbjHRJ.js} +92 -64
- package/stencil/{casino-play-random-game_2-CBAgufN5.cjs → casino-play-random-game_2-ZYQBmsCp.cjs} +3 -3
- package/stencil/{casino-play-random-game_2-BBgMV3ws.js → casino-play-random-game_2-aWmRrJVX.js} +91 -64
- package/stencil/{index-328e660d-BLQrzwBv.cjs → index-328e660d-BN7c7sEP.cjs} +1 -1
- package/stencil/{index-328e660d-Belout2l.js → index-328e660d-CJOt0Yr_.js} +1 -1
- package/stencil/{index-328e660d-BqUO7ccV.js → index-328e660d-CZwFIIV5.js} +1 -1
- package/stencil/{index-b2193545-DuCTLpV-.cjs → index-b2193545-BYDm8FOU.cjs} +1 -1
- package/stencil/{index-b2193545-DG7pnr-7.js → index-b2193545-CVvOSay7.js} +1 -1
- package/stencil/{index-b2193545-BZAG_Jnw.js → index-b2193545-DkSkdO8p.js} +1 -1
- package/stencil/{ui-image-BmLAbwvr.cjs → ui-image-BNLichPz.cjs} +1 -1
- package/stencil/{ui-image-DDulMZDF.js → ui-image-D8_P6p7o.js} +1 -1
- package/stencil/{ui-image-DwWgscwP.js → ui-image-KAOdlRk_.js} +1 -1
- package/stencil/{ui-skeleton-DgZQnowa.js → ui-skeleton-CbcQXFpx.js} +3 -3
- package/stencil/{ui-skeleton-D_tu1FGi.js → ui-skeleton-DgkQtSrH.js} +3 -3
- package/stencil/{ui-skeleton-BWEKzqTN.cjs → ui-skeleton-TOJItxHv.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-D2rWx_KU.js → ui-skeleton-ed169f8f-BD9hI4Jz.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-Ti6Ksz7V.cjs → ui-skeleton-ed169f8f-CGu6WFdq.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-Bs1q2JQr.js → ui-skeleton-ed169f8f-CaxkPCnR.js} +1 -1
- package/components/CasinoCalendar-4k288rHh.cjs +0 -19
- package/components/CasinoCalendar-BNbVJJdG.js +0 -5140
- package/components/CasinoCalendar-DAKxxPPx.js +0 -5101
- package/components/CasinoCalendarDailyDetails-CerVlpW4.cjs +0 -1
- package/components/CasinoCalendarDailyItem-B7YANGR4.cjs +0 -1
- package/components/CasinoCollectionsProviders-OZw09qnR.cjs +0 -1
- package/components/CasinoFavoritesSection-DYzKNVZJ.cjs +0 -1
- package/components/CasinoFilter-BP97bmoQ.cjs +0 -1
- package/components/CasinoGameThumbnail-CySg8Qzs.js +0 -4359
- package/components/CasinoGameThumbnail-W0nETKCH.cjs +0 -47
- package/components/CasinoGameThumbnail-ge_yVb-v.js +0 -4375
- package/components/CasinoGamesCategorySection-B2CXUJ-V.js +0 -3217
- package/components/CasinoGamesCategorySection-B8IjpDwj.js +0 -3185
- package/components/CasinoGamesCategorySection-DCjn0aiz.cjs +0 -1
- package/components/CasinoJackpotBanner-DRtiH_Mn.cjs +0 -1
- package/components/CasinoLastPlayedSection-CP4YzhAu.cjs +0 -1
- package/components/CasinoMostPlayedSection-DPG3YsM6.cjs +0 -1
- package/components/CasinoMyGames-Bqyyy2Me.cjs +0 -1
- package/components/CasinoPage-BNU69s1m.js +0 -4353
- package/components/CasinoPage-BRSRsp5F.js +0 -4334
- package/components/CasinoPage-D-FENg4m.cjs +0 -1
- package/components/CasinoRandomGame-DRGWOXO6.cjs +0 -2
- package/components/CasinoSearch-D14Ak2E9.cjs +0 -1
- package/components/CasinoSort-BVyHskml.cjs +0 -1
- package/components/CasinoWinners-5S4Rqt23.cjs +0 -1
- package/components/GeneralAnimationLoading-wnzFPEVd.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoPage-D1gCtQ9f.cjs");function U(n,e){t.addMessages(n,e)}function W(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function X(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function Z(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(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 x(n){let e,a;function i(r,u){return r[20]?p:Z}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 $(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:C=""}=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:S="Last30Days"}=e,{mostplayedrounds:j="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,Y;const B=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",S);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(V=>{let R=!0;return V.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},H=()=>{B({limit:100,device:t.getDevice(I),rounds:j}).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)})},K=()=>{W(u)};t.onMount(()=>()=>{});function Q(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,C=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,S=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,j=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&H(),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`,Y),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&K()},[o,l,r,u,C,h,y,b,v,w,M,L,A,O,N,E,G,P,F,c,T,i,S,j,Q]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},X,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
|
package/components/{CasinoMostPlayedSection-_rcZwydD.js → CasinoMostPlayedSection-BG98a19d.js}
RENAMED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
$(a, e);
|
|
1
|
+
import { a as ee, $ as te, S as se, i as ae, s as ne, f as l, b as ie, n as J, d as A, c as E, m as K, e as P, g as M, h as oe, j as le, t as re, k as me, u as ge, v as ce, y as n, D as ue, E as de, F as fe, G as he, H as ye } from "./CasinoPage-DuLO92lO.js";
|
|
2
|
+
function Y(a, e) {
|
|
3
|
+
ee(a, e);
|
|
5
4
|
}
|
|
6
|
-
function
|
|
7
|
-
|
|
5
|
+
function be(a) {
|
|
6
|
+
te.set(a);
|
|
8
7
|
}
|
|
9
|
-
const
|
|
8
|
+
const B = {
|
|
10
9
|
en: {
|
|
11
10
|
noGames: "No games in most played"
|
|
12
11
|
},
|
|
@@ -62,10 +61,10 @@ const Y = {
|
|
|
62
61
|
noGames: "No games in most played"
|
|
63
62
|
}
|
|
64
63
|
};
|
|
65
|
-
function be(a) {
|
|
66
|
-
ne(a, "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))}");
|
|
67
|
-
}
|
|
68
64
|
function ve(a) {
|
|
65
|
+
ie(a, "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))}");
|
|
66
|
+
}
|
|
67
|
+
function _e(a) {
|
|
69
68
|
let e;
|
|
70
69
|
return {
|
|
71
70
|
c() {
|
|
@@ -291,22 +290,22 @@ function ve(a) {
|
|
|
291
290
|
}
|
|
292
291
|
};
|
|
293
292
|
}
|
|
294
|
-
function
|
|
293
|
+
function Ge(a) {
|
|
295
294
|
let e, s = (
|
|
296
295
|
/*$_*/
|
|
297
296
|
a[21]("noGames") + ""
|
|
298
297
|
), i;
|
|
299
298
|
return {
|
|
300
299
|
c() {
|
|
301
|
-
e = P("p"), i =
|
|
300
|
+
e = P("p"), i = ce(s), M(e, "class", "SearchLoading");
|
|
302
301
|
},
|
|
303
302
|
m(m, r) {
|
|
304
|
-
E(m, e, r),
|
|
303
|
+
E(m, e, r), K(e, i);
|
|
305
304
|
},
|
|
306
305
|
p(m, r) {
|
|
307
306
|
r[0] & /*$_*/
|
|
308
307
|
2097152 && s !== (s = /*$_*/
|
|
309
|
-
m[21]("noGames") + "") &&
|
|
308
|
+
m[21]("noGames") + "") && ge(i, s);
|
|
310
309
|
},
|
|
311
310
|
d(m) {
|
|
312
311
|
m && A(e);
|
|
@@ -318,7 +317,7 @@ function ke(a) {
|
|
|
318
317
|
function i(g, c) {
|
|
319
318
|
return (
|
|
320
319
|
/*mostPlayedEmpty*/
|
|
321
|
-
g[20] ?
|
|
320
|
+
g[20] ? Ge : _e
|
|
322
321
|
);
|
|
323
322
|
}
|
|
324
323
|
let m = i(a), r = m(a);
|
|
@@ -327,13 +326,13 @@ function ke(a) {
|
|
|
327
326
|
e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
|
|
328
327
|
},
|
|
329
328
|
m(g, c) {
|
|
330
|
-
E(g, e, c),
|
|
329
|
+
E(g, e, c), K(e, s), r.m(s, null), a[24](e);
|
|
331
330
|
},
|
|
332
331
|
p(g, c) {
|
|
333
332
|
m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
|
|
334
333
|
},
|
|
335
|
-
i:
|
|
336
|
-
o:
|
|
334
|
+
i: J,
|
|
335
|
+
o: J,
|
|
337
336
|
d(g) {
|
|
338
337
|
g && A(e), r.d(), a[24](null);
|
|
339
338
|
}
|
|
@@ -341,72 +340,72 @@ function ke(a) {
|
|
|
341
340
|
}
|
|
342
341
|
function we(a, e, s) {
|
|
343
342
|
let i;
|
|
344
|
-
|
|
345
|
-
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl:
|
|
343
|
+
oe(a, ye, (t) => s(21, i = t));
|
|
344
|
+
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: D = "false" } = e, { integratedgameframedesktop: O = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: S } = e, { favorites: U = "" } = e, { translationurl: w = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
|
|
346
345
|
const V = () => {
|
|
347
|
-
fetch(
|
|
346
|
+
fetch(w).then((o) => o.json()).then((o) => {
|
|
348
347
|
Object.keys(o).forEach((d) => {
|
|
349
|
-
|
|
348
|
+
Y(d, o[d]);
|
|
350
349
|
});
|
|
351
350
|
}).catch((o) => {
|
|
352
351
|
console.log(o);
|
|
353
352
|
});
|
|
354
353
|
};
|
|
355
|
-
Object.keys(
|
|
356
|
-
|
|
354
|
+
Object.keys(B).forEach((t) => {
|
|
355
|
+
Y(t, B[t]);
|
|
357
356
|
});
|
|
358
|
-
let N = [],
|
|
359
|
-
const
|
|
357
|
+
let N = [], I, q = !1, u, W;
|
|
358
|
+
const X = (t) => {
|
|
360
359
|
let o = new URL(`${m}/v1/player/${b}/games/most-played`);
|
|
361
|
-
t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period",
|
|
360
|
+
t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", C);
|
|
362
361
|
let d = t.device;
|
|
363
|
-
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds),
|
|
364
|
-
fetch(
|
|
365
|
-
h.items = h.items.filter((
|
|
366
|
-
let
|
|
367
|
-
return
|
|
362
|
+
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), I = k ? o : o.href, new Promise((f, y) => {
|
|
363
|
+
fetch(I).then((h) => h.json()).then((h) => {
|
|
364
|
+
h.items = h.items.filter(($) => {
|
|
365
|
+
let H = !0;
|
|
366
|
+
return $.gameCode == "OddsMatrix2" && (h.count--, H = !1), H;
|
|
368
367
|
}), f(h);
|
|
369
368
|
}).catch((h) => {
|
|
370
369
|
console.error(h), y(h);
|
|
371
370
|
});
|
|
372
371
|
});
|
|
373
|
-
},
|
|
374
|
-
|
|
372
|
+
}, Z = () => {
|
|
373
|
+
X({
|
|
375
374
|
limit: 100,
|
|
376
|
-
device:
|
|
375
|
+
device: re(Q),
|
|
377
376
|
rounds: L
|
|
378
377
|
}).then((t) => {
|
|
379
378
|
if (t.count > 0) {
|
|
380
379
|
let o = [];
|
|
381
380
|
t.items.forEach((d) => {
|
|
382
381
|
let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
|
|
383
|
-
f.searchParams.append("datasource", r),
|
|
382
|
+
f.searchParams.append("datasource", r), k ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
|
|
384
383
|
}), Promise.all(o).then((d) => {
|
|
385
|
-
N = d.filter((f) => !("error" in f)).map((f) => f[0]),
|
|
384
|
+
N = d.filter((f) => !("error" in f)).map((f) => f[0]), j === "true" && (N = N.slice(0, JSON.parse(S))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
|
|
386
385
|
});
|
|
387
386
|
} else
|
|
388
|
-
s(20,
|
|
387
|
+
s(20, q = !0);
|
|
389
388
|
});
|
|
390
|
-
},
|
|
391
|
-
|
|
389
|
+
}, p = () => {
|
|
390
|
+
be(c);
|
|
392
391
|
};
|
|
393
|
-
|
|
392
|
+
le(() => () => {
|
|
394
393
|
});
|
|
395
|
-
function
|
|
396
|
-
|
|
394
|
+
function x(t) {
|
|
395
|
+
me[t ? "unshift" : "push"](() => {
|
|
397
396
|
u = t, s(19, u);
|
|
398
397
|
});
|
|
399
398
|
}
|
|
400
399
|
return a.$$set = (t) => {
|
|
401
|
-
"endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8,
|
|
400
|
+
"endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, D = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, O = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, S = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, w = t.translationurl), "casinomygames" in t && s(17, j = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, z = t.fetchviaevent);
|
|
402
401
|
}, a.$$.update = () => {
|
|
403
402
|
a.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
404
|
-
41 && m && b && c &&
|
|
405
|
-
524416 && _ && u &&
|
|
406
|
-
524544 &&
|
|
407
|
-
524352 && v && u &&
|
|
408
|
-
65536 &&
|
|
409
|
-
8 && c &&
|
|
403
|
+
41 && m && b && c && Z(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
404
|
+
524416 && _ && u && ue(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
405
|
+
524544 && G && u && de(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
406
|
+
524352 && v && u && fe(u, `${v}.Style`, W), a.$$.dirty[0] & /*translationurl*/
|
|
407
|
+
65536 && w && V(), a.$$.dirty[0] & /*lang*/
|
|
408
|
+
8 && c && p();
|
|
410
409
|
}, [
|
|
411
410
|
m,
|
|
412
411
|
r,
|
|
@@ -416,33 +415,33 @@ function we(a, e, s) {
|
|
|
416
415
|
b,
|
|
417
416
|
v,
|
|
418
417
|
_,
|
|
418
|
+
G,
|
|
419
419
|
k,
|
|
420
|
-
w,
|
|
421
|
-
O,
|
|
422
420
|
D,
|
|
421
|
+
O,
|
|
423
422
|
R,
|
|
424
423
|
T,
|
|
425
|
-
|
|
424
|
+
S,
|
|
426
425
|
U,
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
I,
|
|
430
|
-
u,
|
|
426
|
+
w,
|
|
427
|
+
j,
|
|
431
428
|
z,
|
|
429
|
+
u,
|
|
430
|
+
q,
|
|
432
431
|
i,
|
|
433
|
-
|
|
432
|
+
C,
|
|
434
433
|
L,
|
|
435
|
-
|
|
434
|
+
x
|
|
436
435
|
];
|
|
437
436
|
}
|
|
438
|
-
class
|
|
437
|
+
class Ne extends se {
|
|
439
438
|
constructor(e) {
|
|
440
|
-
super(),
|
|
439
|
+
super(), ae(
|
|
441
440
|
this,
|
|
442
441
|
e,
|
|
443
442
|
we,
|
|
444
443
|
ke,
|
|
445
|
-
|
|
444
|
+
ne,
|
|
446
445
|
{
|
|
447
446
|
endpoint: 0,
|
|
448
447
|
datasource: 1,
|
|
@@ -466,7 +465,7 @@ class Ge extends te {
|
|
|
466
465
|
mostplayedrounds: 23,
|
|
467
466
|
fetchviaevent: 18
|
|
468
467
|
},
|
|
469
|
-
|
|
468
|
+
ve,
|
|
470
469
|
[-1, -1]
|
|
471
470
|
);
|
|
472
471
|
}
|
|
@@ -597,7 +596,7 @@ class Ge extends te {
|
|
|
597
596
|
this.$$set({ fetchviaevent: e }), l();
|
|
598
597
|
}
|
|
599
598
|
}
|
|
600
|
-
|
|
599
|
+
he(Ne, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
|
|
601
600
|
export {
|
|
602
|
-
|
|
601
|
+
Ne as default
|
|
603
602
|
};
|
package/components/{CasinoMostPlayedSection-Cj9P1O_g.js → CasinoMostPlayedSection-DjDWyNmN.js}
RENAMED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
$(a, e);
|
|
1
|
+
import { a as ee, $ as te, S as se, i as ae, s as ne, f as l, b as ie, n as J, d as A, e as E, q as K, g as P, h as M, j as oe, k as le, u as re, l as me, v as ge, w as ce, A as n, F as ue, G as de, H as fe, c as he, E as ye } from "./CasinoPage-CEwUBRwz.js";
|
|
2
|
+
function Y(a, e) {
|
|
3
|
+
ee(a, e);
|
|
5
4
|
}
|
|
6
|
-
function
|
|
7
|
-
|
|
5
|
+
function be(a) {
|
|
6
|
+
te.set(a);
|
|
8
7
|
}
|
|
9
|
-
const
|
|
8
|
+
const B = {
|
|
10
9
|
en: {
|
|
11
10
|
noGames: "No games in most played"
|
|
12
11
|
},
|
|
@@ -62,10 +61,10 @@ const Y = {
|
|
|
62
61
|
noGames: "No games in most played"
|
|
63
62
|
}
|
|
64
63
|
};
|
|
65
|
-
function be(a) {
|
|
66
|
-
ne(a, "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))}");
|
|
67
|
-
}
|
|
68
64
|
function ve(a) {
|
|
65
|
+
ie(a, "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))}");
|
|
66
|
+
}
|
|
67
|
+
function _e(a) {
|
|
69
68
|
let e;
|
|
70
69
|
return {
|
|
71
70
|
c() {
|
|
@@ -291,34 +290,34 @@ function ve(a) {
|
|
|
291
290
|
}
|
|
292
291
|
};
|
|
293
292
|
}
|
|
294
|
-
function
|
|
293
|
+
function we(a) {
|
|
295
294
|
let e, s = (
|
|
296
295
|
/*$_*/
|
|
297
296
|
a[21]("noGames") + ""
|
|
298
297
|
), i;
|
|
299
298
|
return {
|
|
300
299
|
c() {
|
|
301
|
-
e = P("p"), i =
|
|
300
|
+
e = P("p"), i = ce(s), M(e, "class", "SearchLoading");
|
|
302
301
|
},
|
|
303
302
|
m(m, r) {
|
|
304
|
-
E(m, e, r),
|
|
303
|
+
E(m, e, r), K(e, i);
|
|
305
304
|
},
|
|
306
305
|
p(m, r) {
|
|
307
306
|
r[0] & /*$_*/
|
|
308
307
|
2097152 && s !== (s = /*$_*/
|
|
309
|
-
m[21]("noGames") + "") &&
|
|
308
|
+
m[21]("noGames") + "") && ge(i, s);
|
|
310
309
|
},
|
|
311
310
|
d(m) {
|
|
312
311
|
m && A(e);
|
|
313
312
|
}
|
|
314
313
|
};
|
|
315
314
|
}
|
|
316
|
-
function
|
|
315
|
+
function Ge(a) {
|
|
317
316
|
let e, s;
|
|
318
317
|
function i(g, c) {
|
|
319
318
|
return (
|
|
320
319
|
/*mostPlayedEmpty*/
|
|
321
|
-
g[20] ?
|
|
320
|
+
g[20] ? we : _e
|
|
322
321
|
);
|
|
323
322
|
}
|
|
324
323
|
let m = i(a), r = m(a);
|
|
@@ -327,86 +326,86 @@ function ke(a) {
|
|
|
327
326
|
e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
|
|
328
327
|
},
|
|
329
328
|
m(g, c) {
|
|
330
|
-
E(g, e, c),
|
|
329
|
+
E(g, e, c), K(e, s), r.m(s, null), a[24](e);
|
|
331
330
|
},
|
|
332
331
|
p(g, c) {
|
|
333
332
|
m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
|
|
334
333
|
},
|
|
335
|
-
i:
|
|
336
|
-
o:
|
|
334
|
+
i: J,
|
|
335
|
+
o: J,
|
|
337
336
|
d(g) {
|
|
338
337
|
g && A(e), r.d(), a[24](null);
|
|
339
338
|
}
|
|
340
339
|
};
|
|
341
340
|
}
|
|
342
|
-
function
|
|
341
|
+
function ke(a, e, s) {
|
|
343
342
|
let i;
|
|
344
|
-
|
|
345
|
-
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl:
|
|
343
|
+
oe(a, ye, (t) => s(21, i = t));
|
|
344
|
+
let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: w = "" } = e, { livecasino: G = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: S } = e, { favorites: U = "" } = e, { translationurl: k = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: q = "true" } = e, Q = window.navigator.userAgent;
|
|
346
345
|
const V = () => {
|
|
347
|
-
fetch(
|
|
346
|
+
fetch(k).then((o) => o.json()).then((o) => {
|
|
348
347
|
Object.keys(o).forEach((d) => {
|
|
349
|
-
|
|
348
|
+
Y(d, o[d]);
|
|
350
349
|
});
|
|
351
350
|
}).catch((o) => {
|
|
352
351
|
console.log(o);
|
|
353
352
|
});
|
|
354
353
|
};
|
|
355
|
-
Object.keys(
|
|
356
|
-
|
|
354
|
+
Object.keys(B).forEach((t) => {
|
|
355
|
+
Y(t, B[t]);
|
|
357
356
|
});
|
|
358
|
-
let N = [],
|
|
359
|
-
const
|
|
357
|
+
let N = [], z, I = !1, u, W;
|
|
358
|
+
const X = (t) => {
|
|
360
359
|
let o = new URL(`${m}/v1/player/${b}/games/most-played`);
|
|
361
|
-
t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period",
|
|
360
|
+
t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", C);
|
|
362
361
|
let d = t.device;
|
|
363
|
-
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds),
|
|
364
|
-
fetch(
|
|
365
|
-
h.items = h.items.filter((
|
|
366
|
-
let
|
|
367
|
-
return
|
|
362
|
+
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), z = G ? o : o.href, new Promise((f, y) => {
|
|
363
|
+
fetch(z).then((h) => h.json()).then((h) => {
|
|
364
|
+
h.items = h.items.filter(($) => {
|
|
365
|
+
let H = !0;
|
|
366
|
+
return $.gameCode == "OddsMatrix2" && (h.count--, H = !1), H;
|
|
368
367
|
}), f(h);
|
|
369
368
|
}).catch((h) => {
|
|
370
369
|
console.error(h), y(h);
|
|
371
370
|
});
|
|
372
371
|
});
|
|
373
|
-
},
|
|
374
|
-
|
|
372
|
+
}, Z = () => {
|
|
373
|
+
X({
|
|
375
374
|
limit: 100,
|
|
376
|
-
device:
|
|
375
|
+
device: re(Q),
|
|
377
376
|
rounds: L
|
|
378
377
|
}).then((t) => {
|
|
379
378
|
if (t.count > 0) {
|
|
380
379
|
let o = [];
|
|
381
380
|
t.items.forEach((d) => {
|
|
382
381
|
let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
|
|
383
|
-
f.searchParams.append("datasource", r),
|
|
382
|
+
f.searchParams.append("datasource", r), G ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
|
|
384
383
|
}), Promise.all(o).then((d) => {
|
|
385
|
-
N = d.filter((f) => !("error" in f)).map((f) => f[0]),
|
|
384
|
+
N = d.filter((f) => !("error" in f)).map((f) => f[0]), j === "true" && (N = N.slice(0, JSON.parse(S))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
|
|
386
385
|
});
|
|
387
386
|
} else
|
|
388
|
-
s(20,
|
|
387
|
+
s(20, I = !0);
|
|
389
388
|
});
|
|
390
|
-
},
|
|
391
|
-
|
|
389
|
+
}, p = () => {
|
|
390
|
+
be(c);
|
|
392
391
|
};
|
|
393
|
-
|
|
392
|
+
le(() => () => {
|
|
394
393
|
});
|
|
395
|
-
function
|
|
396
|
-
|
|
394
|
+
function x(t) {
|
|
395
|
+
me[t ? "unshift" : "push"](() => {
|
|
397
396
|
u = t, s(19, u);
|
|
398
397
|
});
|
|
399
398
|
}
|
|
400
399
|
return a.$$set = (t) => {
|
|
401
|
-
"endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8,
|
|
400
|
+
"endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, w = t.clientstylingurl), "livecasino" in t && s(9, G = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, S = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, k = t.translationurl), "casinomygames" in t && s(17, j = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, q = t.fetchviaevent);
|
|
402
401
|
}, a.$$.update = () => {
|
|
403
402
|
a.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
404
|
-
41 && m && b && c &&
|
|
405
|
-
524416 && _ && u &&
|
|
406
|
-
524544 &&
|
|
407
|
-
524352 && v && u &&
|
|
408
|
-
65536 &&
|
|
409
|
-
8 && c &&
|
|
403
|
+
41 && m && b && c && Z(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
404
|
+
524416 && _ && u && ue(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
405
|
+
524544 && w && u && de(u, w), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
406
|
+
524352 && v && u && fe(u, `${v}.Style`, W), a.$$.dirty[0] & /*translationurl*/
|
|
407
|
+
65536 && k && V(), a.$$.dirty[0] & /*lang*/
|
|
408
|
+
8 && c && p();
|
|
410
409
|
}, [
|
|
411
410
|
m,
|
|
412
411
|
r,
|
|
@@ -416,33 +415,33 @@ function we(a, e, s) {
|
|
|
416
415
|
b,
|
|
417
416
|
v,
|
|
418
417
|
_,
|
|
419
|
-
k,
|
|
420
418
|
w,
|
|
419
|
+
G,
|
|
421
420
|
O,
|
|
422
421
|
D,
|
|
423
422
|
R,
|
|
424
423
|
T,
|
|
425
|
-
|
|
424
|
+
S,
|
|
426
425
|
U,
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
426
|
+
k,
|
|
427
|
+
j,
|
|
428
|
+
q,
|
|
430
429
|
u,
|
|
431
|
-
|
|
430
|
+
I,
|
|
432
431
|
i,
|
|
433
|
-
|
|
432
|
+
C,
|
|
434
433
|
L,
|
|
435
|
-
|
|
434
|
+
x
|
|
436
435
|
];
|
|
437
436
|
}
|
|
438
|
-
class
|
|
437
|
+
class Ne extends se {
|
|
439
438
|
constructor(e) {
|
|
440
|
-
super(),
|
|
439
|
+
super(), ae(
|
|
441
440
|
this,
|
|
442
441
|
e,
|
|
443
|
-
we,
|
|
444
442
|
ke,
|
|
445
|
-
|
|
443
|
+
Ge,
|
|
444
|
+
ne,
|
|
446
445
|
{
|
|
447
446
|
endpoint: 0,
|
|
448
447
|
datasource: 1,
|
|
@@ -466,7 +465,7 @@ class Ge extends te {
|
|
|
466
465
|
mostplayedrounds: 23,
|
|
467
466
|
fetchviaevent: 18
|
|
468
467
|
},
|
|
469
|
-
|
|
468
|
+
ve,
|
|
470
469
|
[-1, -1]
|
|
471
470
|
);
|
|
472
471
|
}
|
|
@@ -597,7 +596,7 @@ class Ge extends te {
|
|
|
597
596
|
this.$$set({ fetchviaevent: e }), l();
|
|
598
597
|
}
|
|
599
598
|
}
|
|
600
|
-
|
|
599
|
+
he(Ne, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
|
|
601
600
|
export {
|
|
602
|
-
|
|
601
|
+
Ne as default
|
|
603
602
|
};
|