@everymatrix/casino-page 1.87.25 → 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 e=require("./CasinoPage-D1gCtQ9f.cjs");require("../stencil/ui-image-BNLichPz.cjs");function ge(n,t){e.addMessages(n,t)}function je(n){e.$locale.set(n)}const _e={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function Se(n){e.append_styles(n,"svelte-w5pa6u",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function he(n,t,a){const l=n.slice();return l[56]=t[a],l[58]=a,l}function Te(n){let t,a,l,r,m,s,b,w,v,h,_,g,C;function I(u,o){return u[8]?Ae:Ie}let k=I(n),d=k(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("div"),m=e.space(),s=e.element("div"),d.c(),b=e.space(),w=e.element("div"),v=e.element("ui-image"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+n[9]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(v.src,h=n[14])||e.set_custom_element_data(v,"src",h),e.set_custom_element_data(v,"alt",""),e.attr(w,"class","title"),e.attr(l,"class",_="mainWrapper "+n[0]+" "+(n[7]&&!n[8]?"mobile":n[8]?"tablet":"")),e.set_style(l,"background","url("+n[13]+")"),e.attr(a,"class","jackpotBanner"),e.attr(t,"class","")},m(u,o){e.insert(u,t,o),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,m),e.append(l,s),d.m(s,null),e.append(l,b),e.append(l,w),e.append(w,v),g||(C=e.listen(a,"click",n[35]),g=!0)},p(u,o){o[0]&512&&e.set_style(r,"background-image","url("+u[9]+")"),k===(k=I(u))&&d?d.p(u,o):(d.d(1),d=k(u),d&&(d.c(),d.m(s,null))),o[0]&16384&&!e.src_url_equal(v.src,h=u[14])&&e.set_custom_element_data(v,"src",h),o[0]&385&&_!==(_="mainWrapper "+u[0]+" "+(u[7]&&!u[8]?"mobile":u[8]?"tablet":""))&&e.attr(l,"class",_),o[0]&8192&&e.set_style(l,"background","url("+u[13]+")")},d(u){u&&e.detach(t),d.d(),g=!1,C()}}}function xe(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function We(n){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function Ae(n){let t,a,l,r,m,s,b,w=n[11][0]+"",v,h,_,g,C=(n[2]==="true"?n[16][0]:n[10][0])+"",I,k,d,u,o,f,S,K,N,q=n[11][1]+"",ce,de,E,P,Q=(n[2]==="true"?n[16][1]:n[10][1])+"",X,Z,$,z,U,R,J,T,ee,te,D=n[11][2]+"",B,H,O,G,ne=(n[2]==="true"?n[6][2]:n[10][2])+"",oe,pe,ue,Y,F,V,le,me,ae,ie=n[11][3]+"",re,fe,M,se,i=(n[2]==="true"?n[6][3]:n[10][3])+"",p,L,j=!n[3]&&ye(n),x=!n[3]&&be(n),W=!n[3]&&ke(n),A=!n[3]&&ve(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("ui-image"),s=e.space(),b=e.element("span"),v=e.text(w),h=e.space(),_=e.element("span"),g=e.element("span"),I=e.text(C),k=e.space(),j&&j.c(),d=e.space(),u=e.element("div"),o=e.element("div"),f=e.element("ui-image"),K=e.space(),N=e.element("span"),ce=e.text(q),de=e.space(),E=e.element("span"),P=e.element("span"),X=e.text(Q),Z=e.space(),x&&x.c(),$=e.space(),z=e.element("div"),U=e.element("div"),R=e.element("div"),J=e.element("ui-image"),ee=e.space(),te=e.element("span"),B=e.text(D),H=e.space(),O=e.element("span"),G=e.element("span"),oe=e.text(ne),pe=e.space(),W&&W.c(),ue=e.space(),Y=e.element("div"),F=e.element("div"),V=e.element("ui-image"),me=e.space(),ae=e.element("span"),re=e.text(ie),fe=e.space(),M=e.element("span"),se=e.element("span"),p=e.text(i),L=e.space(),A&&A.c(),e.set_custom_element_data(r,"class","displayCardIcon"),e.src_url_equal(r.src,m=n[12][0])||e.set_custom_element_data(r,"src",m),e.set_custom_element_data(r,"alt",""),e.attr(b,"class","cardLabel"),e.attr(l,"class","iconWrapper"),e.attr(g,"class","jackpotValue"),e.attr(_,"class","cardTextWrapper"),e.attr(a,"class","displayCard"),e.set_custom_element_data(f,"class","displayCardIcon"),e.src_url_equal(f.src,S=n[12][1])||e.set_custom_element_data(f,"src",S),e.set_custom_element_data(f,"alt",""),e.attr(N,"class","cardLabel"),e.attr(o,"class","iconWrapper"),e.attr(P,"class","jackpotValue"),e.attr(E,"class","cardTextWrapper"),e.attr(u,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.set_custom_element_data(J,"class","displayCardIcon"),e.src_url_equal(J.src,T=n[12][2])||e.set_custom_element_data(J,"src",T),e.set_custom_element_data(J,"alt",""),e.attr(te,"class","cardLabel"),e.attr(R,"class","iconWrapper"),e.attr(G,"class","jackpotValue"),e.attr(O,"class","cardTextWrapper"),e.attr(U,"class","displayCard"),e.set_custom_element_data(V,"class","displayCardIcon"),e.src_url_equal(V.src,le=n[12][3])||e.set_custom_element_data(V,"src",le),e.set_custom_element_data(V,"alt",""),e.attr(ae,"class","cardLabel"),e.attr(F,"class","iconWrapper"),e.attr(se,"class","jackpotValue"),e.attr(M,"class","cardTextWrapper"),e.attr(Y,"class","displayCard"),e.attr(z,"class","pairWrapper")},m(c,y){e.insert(c,t,y),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,s),e.append(l,b),e.append(b,v),e.append(a,h),e.append(a,_),e.append(_,g),e.append(g,I),e.append(_,k),j&&j.m(_,null),e.append(t,d),e.append(t,u),e.append(u,o),e.append(o,f),e.append(o,K),e.append(o,N),e.append(N,ce),e.append(u,de),e.append(u,E),e.append(E,P),e.append(P,X),e.append(E,Z),x&&x.m(E,null),e.insert(c,$,y),e.insert(c,z,y),e.append(z,U),e.append(U,R),e.append(R,J),e.append(R,ee),e.append(R,te),e.append(te,B),e.append(U,H),e.append(U,O),e.append(O,G),e.append(G,oe),e.append(O,pe),W&&W.m(O,null),e.append(z,ue),e.append(z,Y),e.append(Y,F),e.append(F,V),e.append(F,me),e.append(F,ae),e.append(ae,re),e.append(Y,fe),e.append(Y,M),e.append(M,se),e.append(se,p),e.append(M,L),A&&A.m(M,null)},p(c,y){y[0]&4096&&!e.src_url_equal(r.src,m=c[12][0])&&e.set_custom_element_data(r,"src",m),y[0]&2048&&w!==(w=c[11][0]+"")&&e.set_data(v,w),y[0]&66564&&C!==(C=(c[2]==="true"?c[16][0]:c[10][0])+"")&&e.set_data(I,C),c[3]?j&&(j.d(1),j=null):j?j.p(c,y):(j=ye(c),j.c(),j.m(_,null)),y[0]&4096&&!e.src_url_equal(f.src,S=c[12][1])&&e.set_custom_element_data(f,"src",S),y[0]&2048&&q!==(q=c[11][1]+"")&&e.set_data(ce,q),y[0]&66564&&Q!==(Q=(c[2]==="true"?c[16][1]:c[10][1])+"")&&e.set_data(X,Q),c[3]?x&&(x.d(1),x=null):x?x.p(c,y):(x=be(c),x.c(),x.m(E,null)),y[0]&4096&&!e.src_url_equal(J.src,T=c[12][2])&&e.set_custom_element_data(J,"src",T),y[0]&2048&&D!==(D=c[11][2]+"")&&e.set_data(B,D),y[0]&1092&&ne!==(ne=(c[2]==="true"?c[6][2]:c[10][2])+"")&&e.set_data(oe,ne),c[3]?W&&(W.d(1),W=null):W?W.p(c,y):(W=ke(c),W.c(),W.m(O,null)),y[0]&4096&&!e.src_url_equal(V.src,le=c[12][3])&&e.set_custom_element_data(V,"src",le),y[0]&2048&&ie!==(ie=c[11][3]+"")&&e.set_data(re,ie),y[0]&1092&&i!==(i=(c[2]==="true"?c[6][3]:c[10][3])+"")&&e.set_data(p,i),c[3]?A&&(A.d(1),A=null):A?A.p(c,y):(A=ve(c),A.c(),A.m(M,null))},d(c){c&&(e.detach(t),e.detach($),e.detach(z)),j&&j.d(),x&&x.d(),W&&W.d(),A&&A.d()}}}function Ie(n){let t,a=e.ensure_array_like(Array(4)),l=[];for(let r=0;r<a.length;r+=1)l[r]=Ce(he(n,a,r));return{c(){for(let r=0;r<l.length;r+=1)l[r].c();t=e.empty()},m(r,m){for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(r,m);e.insert(r,t,m)},p(r,m){if(m[0]&72718){a=e.ensure_array_like(Array(4));let s;for(s=0;s<a.length;s+=1){const b=he(r,a,s);l[s]?l[s].p(b,m):(l[s]=Ce(b),l[s].c(),l[s].m(t.parentNode,t))}for(;s<l.length;s+=1)l[s].d(1);l.length=a.length}},d(r){r&&e.detach(t),e.destroy_each(l,r)}}}function ye(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function be(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ke(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ve(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function we(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function Ce(n){var u;let t,a,l,r,m,s,b=n[11][n[58]]+"",w,v,h,_,g=(n[2]==="true"?n[16][n[58]]:(u=n[10][n[58]])!=null?u:"")+"",C,I,k,d=!n[3]&&we(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("ui-image"),m=e.space(),s=e.element("span"),w=e.text(b),v=e.space(),h=e.element("span"),_=e.element("span"),C=e.text(g),I=e.space(),d&&d.c(),k=e.space(),e.set_custom_element_data(l,"class","displayCardIcon"),e.src_url_equal(l.src,r=n[12][n[58]])||e.set_custom_element_data(l,"src",r),e.set_custom_element_data(l,"alt",""),e.attr(s,"class","cardLabel"),e.attr(a,"class","iconWrapper"),e.attr(_,"class","jackpotValue"),e.attr(h,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(o,f){e.insert(o,t,f),e.append(t,a),e.append(a,l),e.append(a,m),e.append(a,s),e.append(s,w),e.append(t,v),e.append(t,h),e.append(h,_),e.append(_,C),e.append(h,I),d&&d.m(h,null),e.append(t,k)},p(o,f){var S;f[0]&4096&&!e.src_url_equal(l.src,r=o[12][o[58]])&&e.set_custom_element_data(l,"src",r),f[0]&2048&&b!==(b=o[11][o[58]]+"")&&e.set_data(w,b),f[0]&66564&&g!==(g=(o[2]==="true"?o[16][o[58]]:(S=o[10][o[58]])!=null?S:"")+"")&&e.set_data(C,g),o[3]?d&&(d.d(1),d=null):d?d.p(o,f):(d=we(o),d.c(),d.m(h,null))},d(o){o&&e.detach(t),d&&d.d()}}}function Ee(n){let t;function a(m,s){return m[15]?We:m[5]?xe:Te}let l=a(n),r=l(n);return{c(){t=e.element("div"),r.c()},m(m,s){e.insert(m,t,s),r.m(t,null),n[36](t)},p(m,s){l===(l=a(m))&&r?r.p(m,s):(r.d(1),r=l(m),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(m){m&&e.detach(t),r.d(),n[36](null)}}}function Je(n,t,a){let l,{visualstructure:r=""}=t,{title:m=""}=t,{caticon0:s=""}=t,{caticon1:b=""}=t,{caticon2:w=""}=t,{caticon3:v=""}=t,{iconlabels:h=""}=t,{backgroundsrc:_=""}=t,{currency:g=""}=t,{backgroundsrcmobile:C=""}=t,{titlelogopath:I=""}=t,{lang:k="en"}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{translationurl:o=""}=t,{endpoint:f=""}=t,{gameid:S=""}=t,{mbsource:K}=t,{realtimeupdate:N="false"}=t,{currencylocale:q=""}=t,ce,de=window.navigator.userAgent,E=!1,P=!1,Q="",X=[],Z=[],$=[],z=[],U=[],R="",J="",T,ee=!0,te=!1,D,B=null,H=[];const O=()=>{fetch(o).then(p=>p.json()).then(p=>{Object.keys(p).forEach(L=>{ge(L,p[L])})}).catch(p=>{console.log(p)})};Object.keys(_e).forEach(i=>{ge(i,_e[i])});const G=["typeSpread","typeLeft"],ne=i=>{var L;const p=(L=i==null?void 0:i.items[0])==null?void 0:L.additionalData;p&&Object.values(p).forEach(j=>X.push(+j))},oe=i=>{var p;a(9,Q=((p=i==null?void 0:i.items[0])==null?void 0:p.vendorLogo)||"")},pe=()=>{if(f&&k&&g){let i=new URL(`${f}/v1/casino/jackpots`);i.searchParams.append("filter",`id=${S}`),i.searchParams.append("language",k),i.searchParams.append("additionalDataCurrency",g),fetch(i.href).then(p=>p.json().then(L=>{a(5,ee=!1),D=L,Z.includes(S)&&(ne(D),oe(D))}).catch(L=>{a(15,te=!0),a(5,ee=!1),console.error(L)}).finally(()=>{ue()}))}},ue=()=>{const i=T.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},Y=()=>{let i=new URL(`${f}/v1/casino/jackpots/config`);fetch(i.href).then(p=>p.json()).then(p=>{a(34,Z=p.egtJackpotIds.map(L=>L))})},F=()=>{a(7,E=e.isMobile(de)&&window.innerHeight/window.innerWidth>1),a(8,P=me()),X.length!==0&&(a(10,$=le(X)),$.reverse()),a(11,z=h?h.split(",").map(i=>i.trim().toUpperCase()):new Array(4).fill("")),G.includes(r.trim())?a(0,r=r.trim()):(console.warn(`Invalid Attribute Value: "${r}" is not a valid value for the "visualstructure" attribute. Defaulting to "${G[0]}"`),a(0,r=G[0])),a(13,R=C&&E&&!P?C:_),a(14,J=I),a(12,U=[s,b,w,v])},V=i=>Intl.NumberFormat(q,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:g}).format(i).replace(/\s/g,""),le=i=>q?i.map(p=>V(p)):i.map(p=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(p)),me=()=>{const i=window.innerHeight/window.innerWidth;return .75<i&&i<1.6},ae=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:S},window.location.href),typeof gtag=="function"&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${S}`})},ie=()=>{je(k)},re=i=>{const p=JSON.parse(i.data);if(p.success&&p.data.messageType==="UpdateEgtJackpotBalance"&&p.data.jackpotAlias.split("_")[0]===S){const L=Number(p.data.jackpotAlias.split("_")[1])-1;a(6,H[L]=q?V(p.data.data[`${g}`].balance):p.data.data[`${g}`].balance.toString(),H)}},fe=()=>{N==="true"&&(F(),a(6,H=["","","",""]),B=new EventSource(`${f}/v1/encoder/jackpot/*/update`),B.addEventListener("message",re))};e.onMount(()=>()=>{}),e.onDestroy(()=>{B&&(B.removeEventListener("message",re),B.close(),B=null)});const M=()=>ae();function se(i){e.binding_callbacks[i?"unshift":"push"](()=>{T=i,a(4,T)})}return n.$$set=i=>{"visualstructure"in i&&a(0,r=i.visualstructure),"title"in i&&a(18,m=i.title),"caticon0"in i&&a(19,s=i.caticon0),"caticon1"in i&&a(20,b=i.caticon1),"caticon2"in i&&a(21,w=i.caticon2),"caticon3"in i&&a(22,v=i.caticon3),"iconlabels"in i&&a(23,h=i.iconlabels),"backgroundsrc"in i&&a(24,_=i.backgroundsrc),"currency"in i&&a(1,g=i.currency),"backgroundsrcmobile"in i&&a(25,C=i.backgroundsrcmobile),"titlelogopath"in i&&a(26,I=i.titlelogopath),"lang"in i&&a(27,k=i.lang),"clientstyling"in i&&a(28,d=i.clientstyling),"clientstylingurl"in i&&a(29,u=i.clientstylingurl),"translationurl"in i&&a(30,o=i.translationurl),"endpoint"in i&&a(31,f=i.endpoint),"gameid"in i&&a(32,S=i.gameid),"mbsource"in i&&a(33,K=i.mbsource),"realtimeupdate"in i&&a(2,N=i.realtimeupdate),"currencylocale"in i&&a(3,q=i.currencylocale)},n.$$.update=()=>{n.$$.dirty[1]&1&&f&&Y(),n.$$.dirty[0]&268435472&&d&&T&&e.setClientStyling(T,d),n.$$.dirty[0]&536870928&&u&&T&&e.setClientStylingURL(T,u),n.$$.dirty[0]&16|n.$$.dirty[1]&4&&K&&T&&e.setStreamStyling(T,`${K}.Style`,ce),n.$$.dirty[0]&134217730|n.$$.dirty[1]&9&&f&&k&&g&&Z.length>0&&pe(),n.$$.dirty[0]&134217762&&g&&k&&!ee&&F(),n.$$.dirty[0]&134217728&&k&&ie(),n.$$.dirty[0]&1073741824&&o&&O(),n.$$.dirty[0]&4&&N&&fe(),n.$$.dirty[0]&64&&a(16,l=[...H].reverse())},[r,g,N,q,T,ee,H,E,P,Q,$,z,U,R,J,te,l,ae,m,s,b,w,v,h,_,C,I,k,d,u,o,f,S,K,Z,M,se]}class Le extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Je,Ee,e.safe_not_equal,{visualstructure:0,title:18,caticon0:19,caticon1:20,caticon2:21,caticon3:22,iconlabels:23,backgroundsrc:24,currency:1,backgroundsrcmobile:25,titlelogopath:26,lang:27,clientstyling:28,clientstylingurl:29,translationurl:30,endpoint:31,gameid:32,mbsource:33,realtimeupdate:2,currencylocale:3},Se,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[18]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[19]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[20]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[21]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[22]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[23]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[24]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[25]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[26]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[27]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[30]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[31]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[32]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[33]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get currencylocale(){return this.$$.ctx[3]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(Le,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{},currencylocale:{}},[],[],!0);exports.default=Le;
|
package/components/{CasinoLastPlayedSection-DJ9HO253.js → CasinoLastPlayedSection-Daix__De.js}
RENAMED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
ee(s, e);
|
|
1
|
+
import { a as te, $ as ae, S as se, i as ie, s as ne, f as l, b as le, n as J, d as D, c as M, m as B, e as L, g as A, h as re, j as oe, k as ue, u as ce, v as ge, y as i, t as me, D as de, E as fe, F as he, G as ye, H as be } from "./CasinoPage-DuLO92lO.js";
|
|
2
|
+
function V(s, e) {
|
|
3
|
+
te(s, e);
|
|
5
4
|
}
|
|
6
|
-
function
|
|
7
|
-
|
|
5
|
+
function ve(s) {
|
|
6
|
+
ae.set(s);
|
|
8
7
|
}
|
|
9
|
-
const
|
|
8
|
+
const Z = {
|
|
10
9
|
en: {
|
|
11
10
|
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
12
11
|
},
|
|
@@ -32,10 +31,10 @@ const V = {
|
|
|
32
31
|
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
33
32
|
}
|
|
34
33
|
};
|
|
35
|
-
function ve(s) {
|
|
36
|
-
ne(s, "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))}");
|
|
37
|
-
}
|
|
38
34
|
function we(s) {
|
|
35
|
+
le(s, "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))}");
|
|
36
|
+
}
|
|
37
|
+
function _e(s) {
|
|
39
38
|
let e;
|
|
40
39
|
return {
|
|
41
40
|
c() {
|
|
@@ -137,7 +136,7 @@ function we(s) {
|
|
|
137
136
|
);
|
|
138
137
|
},
|
|
139
138
|
m(t, n) {
|
|
140
|
-
|
|
139
|
+
M(t, e, n);
|
|
141
140
|
},
|
|
142
141
|
p(t, n) {
|
|
143
142
|
n[0] & /*session*/
|
|
@@ -257,38 +256,38 @@ function we(s) {
|
|
|
257
256
|
);
|
|
258
257
|
},
|
|
259
258
|
d(t) {
|
|
260
|
-
t &&
|
|
259
|
+
t && D(e);
|
|
261
260
|
}
|
|
262
261
|
};
|
|
263
262
|
}
|
|
264
|
-
function
|
|
263
|
+
function ke(s) {
|
|
265
264
|
let e, t = (
|
|
266
265
|
/*$_*/
|
|
267
266
|
s[21]("noRecentGames") + ""
|
|
268
267
|
), n;
|
|
269
268
|
return {
|
|
270
269
|
c() {
|
|
271
|
-
e = L("p"), n =
|
|
270
|
+
e = L("p"), n = ge(t), A(e, "class", "SearchLoading");
|
|
272
271
|
},
|
|
273
272
|
m(o, r) {
|
|
274
|
-
|
|
273
|
+
M(o, e, r), B(e, n);
|
|
275
274
|
},
|
|
276
275
|
p(o, r) {
|
|
277
276
|
r[0] & /*$_*/
|
|
278
277
|
2097152 && t !== (t = /*$_*/
|
|
279
|
-
o[21]("noRecentGames") + "") &&
|
|
278
|
+
o[21]("noRecentGames") + "") && ce(n, t);
|
|
280
279
|
},
|
|
281
280
|
d(o) {
|
|
282
|
-
o &&
|
|
281
|
+
o && D(e);
|
|
283
282
|
}
|
|
284
283
|
};
|
|
285
284
|
}
|
|
286
|
-
function
|
|
285
|
+
function Le(s) {
|
|
287
286
|
let e, t;
|
|
288
|
-
function n(
|
|
287
|
+
function n(g, d) {
|
|
289
288
|
return (
|
|
290
289
|
/*lastPlayedEmpty*/
|
|
291
|
-
|
|
290
|
+
g[20] ? ke : _e
|
|
292
291
|
);
|
|
293
292
|
}
|
|
294
293
|
let o = n(s), r = o(s);
|
|
@@ -296,41 +295,41 @@ function ke(s) {
|
|
|
296
295
|
c() {
|
|
297
296
|
e = L("div"), t = L("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
|
|
298
297
|
},
|
|
299
|
-
m(
|
|
300
|
-
|
|
298
|
+
m(g, d) {
|
|
299
|
+
M(g, e, d), B(e, t), r.m(t, null), s[26](e);
|
|
301
300
|
},
|
|
302
|
-
p(
|
|
303
|
-
o === (o = n(
|
|
301
|
+
p(g, d) {
|
|
302
|
+
o === (o = n(g)) && r ? r.p(g, d) : (r.d(1), r = o(g), r && (r.c(), r.m(t, null)));
|
|
304
303
|
},
|
|
305
|
-
i:
|
|
306
|
-
o:
|
|
307
|
-
d(
|
|
308
|
-
|
|
304
|
+
i: J,
|
|
305
|
+
o: J,
|
|
306
|
+
d(g) {
|
|
307
|
+
g && D(e), r.d(), s[26](null);
|
|
309
308
|
}
|
|
310
309
|
};
|
|
311
310
|
}
|
|
312
|
-
function
|
|
311
|
+
function Pe(s, e, t) {
|
|
313
312
|
let n;
|
|
314
|
-
|
|
315
|
-
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency:
|
|
316
|
-
const
|
|
317
|
-
fetch(w).then((
|
|
318
|
-
Object.keys(
|
|
319
|
-
|
|
313
|
+
re(s, be, (a) => t(21, n = a));
|
|
314
|
+
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: N = "false" } = e, { gamepagemodalurl: z = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: C = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, K = window.navigator.userAgent, Q, Y = !1, k = [], H, f;
|
|
315
|
+
const W = () => {
|
|
316
|
+
fetch(w).then((m) => m.json()).then((m) => {
|
|
317
|
+
Object.keys(m).forEach((u) => {
|
|
318
|
+
V(u, m[u]);
|
|
320
319
|
});
|
|
321
|
-
}).catch((
|
|
322
|
-
console.log(
|
|
320
|
+
}).catch((m) => {
|
|
321
|
+
console.log(m);
|
|
323
322
|
});
|
|
324
323
|
};
|
|
325
|
-
Object.keys(
|
|
326
|
-
|
|
324
|
+
Object.keys(Z).forEach((a) => {
|
|
325
|
+
V(a, Z[a]);
|
|
327
326
|
});
|
|
328
|
-
const
|
|
327
|
+
const X = () => new Promise((a, m) => {
|
|
329
328
|
let u = new URL(`${o}/v1/player/${y}/games/last-played`);
|
|
330
|
-
u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order",
|
|
331
|
-
c.items = c.items.filter((
|
|
332
|
-
let
|
|
333
|
-
return
|
|
329
|
+
u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", C), u.searchParams.append("period", S), me(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), H = _ ? u : u.href, fetch(H).then((c) => c.json()).then((c) => {
|
|
330
|
+
c.items = c.items.filter((ee) => {
|
|
331
|
+
let I = !0;
|
|
332
|
+
return ee.gameCode == "OddsMatrix2" && (c.count--, I = !1), I;
|
|
334
333
|
}), a(c), window.postMessage(
|
|
335
334
|
{
|
|
336
335
|
type: "AddNewCategory",
|
|
@@ -339,45 +338,45 @@ function Le(s, e, t) {
|
|
|
339
338
|
window.location.href
|
|
340
339
|
), window.postMessage({ type: "LastPlayedGames", data: c }, window.location.href);
|
|
341
340
|
}).catch((c) => {
|
|
342
|
-
console.error(c),
|
|
341
|
+
console.error(c), m(c);
|
|
343
342
|
});
|
|
344
|
-
}),
|
|
345
|
-
|
|
343
|
+
}), p = () => {
|
|
344
|
+
X().then((a) => {
|
|
346
345
|
if (a.count > 0) {
|
|
347
|
-
let
|
|
346
|
+
let m = [];
|
|
348
347
|
a.items.forEach((u) => {
|
|
349
348
|
let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
|
|
350
|
-
h.searchParams.append("datasource", r), _ ?
|
|
351
|
-
}), Promise.all(
|
|
349
|
+
h.searchParams.append("datasource", r), _ ? m.push(fetch(h.href).then((c) => c.json())) : m.push(fetch(h.href).then((c) => c.json()));
|
|
350
|
+
}), Promise.all(m).then((u) => {
|
|
352
351
|
k = u.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (k = k.slice(0, JSON.parse(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
|
|
353
352
|
});
|
|
354
353
|
} else
|
|
355
354
|
t(20, Y = !0);
|
|
356
355
|
});
|
|
357
|
-
},
|
|
358
|
-
|
|
356
|
+
}, x = () => {
|
|
357
|
+
ve(d);
|
|
359
358
|
};
|
|
360
|
-
|
|
359
|
+
oe(() => () => {
|
|
361
360
|
});
|
|
362
|
-
function
|
|
363
|
-
|
|
361
|
+
function $(a) {
|
|
362
|
+
ue[a ? "unshift" : "push"](() => {
|
|
364
363
|
f = a, t(19, f);
|
|
365
364
|
});
|
|
366
365
|
}
|
|
367
366
|
return s.$$set = (a) => {
|
|
368
|
-
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2,
|
|
367
|
+
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, g = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(8, w = a.translationurl), "livecasino" in a && t(9, _ = a.livecasino), "integratedgameframemobile" in a && t(10, F = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, N = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, z = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, P = a.visiblegames), "favorites" in a && t(15, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, C = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(16, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent), "mbsource" in a && t(18, q = a.mbsource);
|
|
369
368
|
}, s.$$.update = () => {
|
|
370
369
|
s.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
371
|
-
41 && o && y && d &&
|
|
372
|
-
256 && w &&
|
|
373
|
-
524352 && b && f &&
|
|
374
|
-
524416 && v && f &&
|
|
375
|
-
786432 && f &&
|
|
376
|
-
8 && d &&
|
|
370
|
+
41 && o && y && d && p(), s.$$.dirty[0] & /*translationurl*/
|
|
371
|
+
256 && w && W(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
372
|
+
524352 && b && f && de(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
373
|
+
524416 && v && f && fe(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
374
|
+
786432 && f && he(f, `${q}.Style`, Q), s.$$.dirty[0] & /*lang*/
|
|
375
|
+
8 && d && x();
|
|
377
376
|
}, [
|
|
378
377
|
o,
|
|
379
378
|
r,
|
|
380
|
-
|
|
379
|
+
g,
|
|
381
380
|
d,
|
|
382
381
|
E,
|
|
383
382
|
y,
|
|
@@ -397,21 +396,21 @@ function Le(s, e, t) {
|
|
|
397
396
|
f,
|
|
398
397
|
Y,
|
|
399
398
|
n,
|
|
400
|
-
C,
|
|
401
399
|
S,
|
|
400
|
+
C,
|
|
402
401
|
j,
|
|
403
402
|
R,
|
|
404
|
-
|
|
403
|
+
$
|
|
405
404
|
];
|
|
406
405
|
}
|
|
407
|
-
class
|
|
406
|
+
class Se extends se {
|
|
408
407
|
constructor(e) {
|
|
409
|
-
super(),
|
|
408
|
+
super(), ie(
|
|
410
409
|
this,
|
|
411
410
|
e,
|
|
411
|
+
Pe,
|
|
412
412
|
Le,
|
|
413
|
-
|
|
414
|
-
ie,
|
|
413
|
+
ne,
|
|
415
414
|
{
|
|
416
415
|
endpoint: 0,
|
|
417
416
|
datasource: 1,
|
|
@@ -437,7 +436,7 @@ class Pe extends ae {
|
|
|
437
436
|
fetchviaevent: 17,
|
|
438
437
|
mbsource: 18
|
|
439
438
|
},
|
|
440
|
-
|
|
439
|
+
we,
|
|
441
440
|
[-1, -1]
|
|
442
441
|
);
|
|
443
442
|
}
|
|
@@ -580,7 +579,7 @@ class Pe extends ae {
|
|
|
580
579
|
this.$$set({ mbsource: e }), l();
|
|
581
580
|
}
|
|
582
581
|
}
|
|
583
|
-
|
|
582
|
+
ye(Se, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
584
583
|
export {
|
|
585
|
-
|
|
584
|
+
Se as default
|
|
586
585
|
};
|
package/components/{CasinoLastPlayedSection-C5vsXbz8.js → CasinoLastPlayedSection-fA_Nko5c.js}
RENAMED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
ee(s, e);
|
|
1
|
+
import { a as te, $ as ae, S as se, i as ie, s as ne, f as l, b as le, n as J, d as M, e as D, q as B, g as L, h as A, j as re, k as oe, l as ue, v as ce, w as ge, A as i, u as me, F as de, G as fe, H as he, c as ye, E as be } from "./CasinoPage-CEwUBRwz.js";
|
|
2
|
+
function V(s, e) {
|
|
3
|
+
te(s, e);
|
|
5
4
|
}
|
|
6
|
-
function
|
|
7
|
-
|
|
5
|
+
function ve(s) {
|
|
6
|
+
ae.set(s);
|
|
8
7
|
}
|
|
9
|
-
const
|
|
8
|
+
const Z = {
|
|
10
9
|
en: {
|
|
11
10
|
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
12
11
|
},
|
|
@@ -32,10 +31,10 @@ const V = {
|
|
|
32
31
|
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
33
32
|
}
|
|
34
33
|
};
|
|
35
|
-
function ve(s) {
|
|
36
|
-
ne(s, "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))}");
|
|
37
|
-
}
|
|
38
34
|
function we(s) {
|
|
35
|
+
le(s, "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))}");
|
|
36
|
+
}
|
|
37
|
+
function _e(s) {
|
|
39
38
|
let e;
|
|
40
39
|
return {
|
|
41
40
|
c() {
|
|
@@ -261,34 +260,34 @@ function we(s) {
|
|
|
261
260
|
}
|
|
262
261
|
};
|
|
263
262
|
}
|
|
264
|
-
function
|
|
263
|
+
function ke(s) {
|
|
265
264
|
let e, t = (
|
|
266
265
|
/*$_*/
|
|
267
266
|
s[21]("noRecentGames") + ""
|
|
268
267
|
), n;
|
|
269
268
|
return {
|
|
270
269
|
c() {
|
|
271
|
-
e = L("p"), n =
|
|
270
|
+
e = L("p"), n = ge(t), A(e, "class", "SearchLoading");
|
|
272
271
|
},
|
|
273
272
|
m(o, r) {
|
|
274
|
-
D(o, e, r),
|
|
273
|
+
D(o, e, r), B(e, n);
|
|
275
274
|
},
|
|
276
275
|
p(o, r) {
|
|
277
276
|
r[0] & /*$_*/
|
|
278
277
|
2097152 && t !== (t = /*$_*/
|
|
279
|
-
o[21]("noRecentGames") + "") &&
|
|
278
|
+
o[21]("noRecentGames") + "") && ce(n, t);
|
|
280
279
|
},
|
|
281
280
|
d(o) {
|
|
282
281
|
o && M(e);
|
|
283
282
|
}
|
|
284
283
|
};
|
|
285
284
|
}
|
|
286
|
-
function
|
|
285
|
+
function Le(s) {
|
|
287
286
|
let e, t;
|
|
288
|
-
function n(
|
|
287
|
+
function n(g, d) {
|
|
289
288
|
return (
|
|
290
289
|
/*lastPlayedEmpty*/
|
|
291
|
-
|
|
290
|
+
g[20] ? ke : _e
|
|
292
291
|
);
|
|
293
292
|
}
|
|
294
293
|
let o = n(s), r = o(s);
|
|
@@ -296,41 +295,41 @@ function ke(s) {
|
|
|
296
295
|
c() {
|
|
297
296
|
e = L("div"), t = L("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
|
|
298
297
|
},
|
|
299
|
-
m(
|
|
300
|
-
D(
|
|
298
|
+
m(g, d) {
|
|
299
|
+
D(g, e, d), B(e, t), r.m(t, null), s[26](e);
|
|
301
300
|
},
|
|
302
|
-
p(
|
|
303
|
-
o === (o = n(
|
|
301
|
+
p(g, d) {
|
|
302
|
+
o === (o = n(g)) && r ? r.p(g, d) : (r.d(1), r = o(g), r && (r.c(), r.m(t, null)));
|
|
304
303
|
},
|
|
305
|
-
i:
|
|
306
|
-
o:
|
|
307
|
-
d(
|
|
308
|
-
|
|
304
|
+
i: J,
|
|
305
|
+
o: J,
|
|
306
|
+
d(g) {
|
|
307
|
+
g && M(e), r.d(), s[26](null);
|
|
309
308
|
}
|
|
310
309
|
};
|
|
311
310
|
}
|
|
312
|
-
function
|
|
311
|
+
function Pe(s, e, t) {
|
|
313
312
|
let n;
|
|
314
|
-
|
|
315
|
-
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency:
|
|
316
|
-
const
|
|
317
|
-
fetch(w).then((
|
|
318
|
-
Object.keys(
|
|
319
|
-
|
|
313
|
+
re(s, be, (a) => t(21, n = a));
|
|
314
|
+
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: N = "false" } = e, { gamepagemodalurl: z = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: C = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, K = window.navigator.userAgent, Q, Y = !1, k = [], H, f;
|
|
315
|
+
const W = () => {
|
|
316
|
+
fetch(w).then((m) => m.json()).then((m) => {
|
|
317
|
+
Object.keys(m).forEach((u) => {
|
|
318
|
+
V(u, m[u]);
|
|
320
319
|
});
|
|
321
|
-
}).catch((
|
|
322
|
-
console.log(
|
|
320
|
+
}).catch((m) => {
|
|
321
|
+
console.log(m);
|
|
323
322
|
});
|
|
324
323
|
};
|
|
325
|
-
Object.keys(
|
|
326
|
-
|
|
324
|
+
Object.keys(Z).forEach((a) => {
|
|
325
|
+
V(a, Z[a]);
|
|
327
326
|
});
|
|
328
|
-
const
|
|
327
|
+
const X = () => new Promise((a, m) => {
|
|
329
328
|
let u = new URL(`${o}/v1/player/${y}/games/last-played`);
|
|
330
|
-
u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order",
|
|
331
|
-
c.items = c.items.filter((
|
|
332
|
-
let
|
|
333
|
-
return
|
|
329
|
+
u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", C), u.searchParams.append("period", S), me(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), H = _ ? u : u.href, fetch(H).then((c) => c.json()).then((c) => {
|
|
330
|
+
c.items = c.items.filter((ee) => {
|
|
331
|
+
let I = !0;
|
|
332
|
+
return ee.gameCode == "OddsMatrix2" && (c.count--, I = !1), I;
|
|
334
333
|
}), a(c), window.postMessage(
|
|
335
334
|
{
|
|
336
335
|
type: "AddNewCategory",
|
|
@@ -339,45 +338,45 @@ function Le(s, e, t) {
|
|
|
339
338
|
window.location.href
|
|
340
339
|
), window.postMessage({ type: "LastPlayedGames", data: c }, window.location.href);
|
|
341
340
|
}).catch((c) => {
|
|
342
|
-
console.error(c),
|
|
341
|
+
console.error(c), m(c);
|
|
343
342
|
});
|
|
344
|
-
}),
|
|
345
|
-
|
|
343
|
+
}), p = () => {
|
|
344
|
+
X().then((a) => {
|
|
346
345
|
if (a.count > 0) {
|
|
347
|
-
let
|
|
346
|
+
let m = [];
|
|
348
347
|
a.items.forEach((u) => {
|
|
349
348
|
let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
|
|
350
|
-
h.searchParams.append("datasource", r), _ ?
|
|
351
|
-
}), Promise.all(
|
|
349
|
+
h.searchParams.append("datasource", r), _ ? m.push(fetch(h.href).then((c) => c.json())) : m.push(fetch(h.href).then((c) => c.json()));
|
|
350
|
+
}), Promise.all(m).then((u) => {
|
|
352
351
|
k = u.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (k = k.slice(0, JSON.parse(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
|
|
353
352
|
});
|
|
354
353
|
} else
|
|
355
354
|
t(20, Y = !0);
|
|
356
355
|
});
|
|
357
|
-
},
|
|
358
|
-
|
|
356
|
+
}, x = () => {
|
|
357
|
+
ve(d);
|
|
359
358
|
};
|
|
360
|
-
|
|
359
|
+
oe(() => () => {
|
|
361
360
|
});
|
|
362
|
-
function
|
|
363
|
-
|
|
361
|
+
function $(a) {
|
|
362
|
+
ue[a ? "unshift" : "push"](() => {
|
|
364
363
|
f = a, t(19, f);
|
|
365
364
|
});
|
|
366
365
|
}
|
|
367
366
|
return s.$$set = (a) => {
|
|
368
|
-
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2,
|
|
367
|
+
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, g = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(8, w = a.translationurl), "livecasino" in a && t(9, _ = a.livecasino), "integratedgameframemobile" in a && t(10, F = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, N = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, z = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, P = a.visiblegames), "favorites" in a && t(15, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, C = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(16, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent), "mbsource" in a && t(18, q = a.mbsource);
|
|
369
368
|
}, s.$$.update = () => {
|
|
370
369
|
s.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
371
|
-
41 && o && y && d &&
|
|
372
|
-
256 && w &&
|
|
373
|
-
524352 && b && f &&
|
|
374
|
-
524416 && v && f &&
|
|
375
|
-
786432 && f &&
|
|
376
|
-
8 && d &&
|
|
370
|
+
41 && o && y && d && p(), s.$$.dirty[0] & /*translationurl*/
|
|
371
|
+
256 && w && W(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
372
|
+
524352 && b && f && de(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
373
|
+
524416 && v && f && fe(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
374
|
+
786432 && f && he(f, `${q}.Style`, Q), s.$$.dirty[0] & /*lang*/
|
|
375
|
+
8 && d && x();
|
|
377
376
|
}, [
|
|
378
377
|
o,
|
|
379
378
|
r,
|
|
380
|
-
|
|
379
|
+
g,
|
|
381
380
|
d,
|
|
382
381
|
E,
|
|
383
382
|
y,
|
|
@@ -397,21 +396,21 @@ function Le(s, e, t) {
|
|
|
397
396
|
f,
|
|
398
397
|
Y,
|
|
399
398
|
n,
|
|
400
|
-
C,
|
|
401
399
|
S,
|
|
400
|
+
C,
|
|
402
401
|
j,
|
|
403
402
|
R,
|
|
404
|
-
|
|
403
|
+
$
|
|
405
404
|
];
|
|
406
405
|
}
|
|
407
|
-
class
|
|
406
|
+
class Se extends se {
|
|
408
407
|
constructor(e) {
|
|
409
|
-
super(),
|
|
408
|
+
super(), ie(
|
|
410
409
|
this,
|
|
411
410
|
e,
|
|
411
|
+
Pe,
|
|
412
412
|
Le,
|
|
413
|
-
|
|
414
|
-
ie,
|
|
413
|
+
ne,
|
|
415
414
|
{
|
|
416
415
|
endpoint: 0,
|
|
417
416
|
datasource: 1,
|
|
@@ -437,7 +436,7 @@ class Pe extends ae {
|
|
|
437
436
|
fetchviaevent: 17,
|
|
438
437
|
mbsource: 18
|
|
439
438
|
},
|
|
440
|
-
|
|
439
|
+
we,
|
|
441
440
|
[-1, -1]
|
|
442
441
|
);
|
|
443
442
|
}
|
|
@@ -580,7 +579,7 @@ class Pe extends ae {
|
|
|
580
579
|
this.$$set({ mbsource: e }), l();
|
|
581
580
|
}
|
|
582
581
|
}
|
|
583
|
-
|
|
582
|
+
ye(Se, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
584
583
|
export {
|
|
585
|
-
|
|
584
|
+
Se as default
|
|
586
585
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoPage-D1gCtQ9f.cjs");function z(n,e){t.addMessages(n,e)}function W(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 X(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 p(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 x(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 $(n){let e,a;function i(u,d){return u[20]?x:p}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 ee(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:R=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:q="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:S=""}=e,{casinomygames:C="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:G}=e,I=window.navigator.userAgent,J,N=!1,w=[],O,g;const H=()=>{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 V=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",j),m.searchParams.append("limit",S),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(Q=>{let T=!0;return Q.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)})}),Z=()=>{V().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]),C==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(20,N=!0)})},B=()=>{W(d)};t.onMount(()=>()=>{});function K(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,R=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,q=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,S=s.lastplayedlimit),"casinomygames"in s&&a(16,C=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(17,F=s.fetchviaevent),"mbsource"in s&&a(18,G=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&Z(),n.$$.dirty[0]&256&&b&&H(),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,`${G}.Style`,J),n.$$.dirty[0]&8&&d&&B()},[o,l,u,d,R,_,h,y,b,v,q,A,M,D,k,E,C,F,G,g,N,i,P,L,S,j,K]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ee,$,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},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 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;
|