@everymatrix/casino-page-nd 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/components/CasinoCalendar-BUWW4Xzj.cjs +6 -0
  2. package/components/{CasinoCalendar-C1drIkmy.js → CasinoCalendar-DwKH1vl3.js} +1101 -1101
  3. package/components/{CasinoCalendar-Dp2YIBXE.js → CasinoCalendar-tMtCN0uW.js} +960 -960
  4. package/components/CasinoCalendarDailyDetails-B1yNq5WP.cjs +1 -0
  5. package/components/CasinoCalendarDailyDetails-BP_ANGdX.js +693 -0
  6. package/components/CasinoCalendarDailyDetails-CehhK4Vt.js +693 -0
  7. package/components/CasinoCalendarDailyItem-C08Z_td-.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-Cf-elj80.js +306 -0
  9. package/components/CasinoCalendarDailyItem-DE7Q_O2x.js +306 -0
  10. package/components/CasinoCollectionsProviders-C0mIOrt5.cjs +1 -0
  11. package/components/{CasinoCollectionsProviders-BzqyvgJV.js → CasinoCollectionsProviders-DoRepmON.js} +54 -54
  12. package/components/{CasinoCollectionsProviders-CSskAm-D.js → CasinoCollectionsProviders-Yt2ApEP5.js} +52 -52
  13. package/components/{CasinoFavoritesSectionNd-pNJTskAC.js → CasinoFavoritesSectionNd-B02g5uyD.js} +150 -143
  14. package/components/{CasinoFavoritesSectionNd-CuDySzEb.js → CasinoFavoritesSectionNd-Bza8UQ0r.js} +150 -143
  15. package/components/CasinoFavoritesSectionNd-CnSYWIJi.cjs +1 -0
  16. package/components/CasinoFilter-BYz1zKUs.cjs +1 -0
  17. package/components/{CasinoFilter-Bm5nGmim.js → CasinoFilter-BbKgy4VX.js} +246 -247
  18. package/components/{CasinoFilter-xEI9NRP7.js → CasinoFilter-Cb7FySTm.js} +235 -234
  19. package/components/{CasinoGameThumbnailNd-D2UjvU5o.js → CasinoGameThumbnailNd-6P122Pbb.js} +1330 -1333
  20. package/components/CasinoGameThumbnailNd-DlUJ8jo8.cjs +39 -0
  21. package/components/{CasinoGameThumbnailNd-DZ5EJquh.js → CasinoGameThumbnailNd-Dtq6Pf7M.js} +1330 -1333
  22. package/components/{CasinoGamesCategorySectionNd-BgeZaX3s.js → CasinoGamesCategorySectionNd-C1OvVakY.js} +1099 -1100
  23. package/components/CasinoGamesCategorySectionNd-C1iO2_SR.cjs +1 -0
  24. package/components/CasinoGamesCategorySectionNd-vmZnCjR8.js +3056 -0
  25. package/components/{CasinoJackpotBanner-rIlKc9yB.js → CasinoJackpotBanner-BaqwOwIt.js} +146 -144
  26. package/components/CasinoJackpotBanner-DZZsX8IW.cjs +1 -0
  27. package/components/{CasinoJackpotBanner-BIHc0ZJN.js → CasinoJackpotBanner-Dnu1YGvy.js} +149 -147
  28. package/components/CasinoLastPlayedSectionNd-CYoHFQEu.js +575 -0
  29. package/components/CasinoLastPlayedSectionNd-D-71OOLA.cjs +1 -0
  30. package/components/CasinoLastPlayedSectionNd-DVAEB9Kf.js +575 -0
  31. package/components/{CasinoMostPlayedSectionNd-6T1QffJK.js → CasinoMostPlayedSectionNd-Ce4mFMX2.js} +170 -161
  32. package/components/{CasinoMostPlayedSectionNd-BZLYBtpa.js → CasinoMostPlayedSectionNd-Comi_0uw.js} +170 -161
  33. package/components/CasinoMostPlayedSectionNd-DOFhn6t3.cjs +1 -0
  34. package/components/{CasinoMyGamesNd-ddeJWUGs.js → CasinoMyGamesNd-C2159D_C.js} +498 -469
  35. package/components/{CasinoMyGamesNd-C1mKXnRw.js → CasinoMyGamesNd-CI-YgB5L.js} +499 -468
  36. package/components/CasinoMyGamesNd-Do0Jd4Yy.cjs +1 -0
  37. package/components/{CasinoPageNd-tLjlJcsj.js → CasinoPageNd-CHw9KY4G.js} +1319 -1160
  38. package/components/{CasinoPageNd-C2L_-oKQ.js → CasinoPageNd-Cl9m0NgT.js} +1312 -1153
  39. package/components/CasinoPageNd-q_CaW-NM.cjs +1 -0
  40. package/components/{CasinoRandomGame-XLB_bCSb.cjs → CasinoRandomGame-B2FGgsW1.cjs} +2 -2
  41. package/components/{CasinoRandomGame-BB1xnS-3.js → CasinoRandomGame-D9BEuIS2.js} +60 -60
  42. package/components/{CasinoRandomGame-Os6RvrQW.js → CasinoRandomGame-T1GVZYOt.js} +60 -60
  43. package/components/{CasinoSearchNd-DQqoQRhE.js → CasinoSearchNd-8l70r1-j.js} +482 -477
  44. package/components/{CasinoSearchNd-CG9DW_9F.js → CasinoSearchNd-DI3QD6gc.js} +446 -437
  45. package/components/CasinoSearchNd-r3Xsk168.cjs +1 -0
  46. package/components/CasinoSort-BmkqSaqQ.cjs +1 -0
  47. package/components/CasinoSort-BwNRVsYT.js +427 -0
  48. package/components/CasinoSort-DykEVPy1.js +428 -0
  49. package/components/{CasinoWinners-CGsgZ7OE.cjs → CasinoWinners-4fX-Jkcx.cjs} +1 -1
  50. package/components/{CasinoWinners-DNTYhXqC.js → CasinoWinners-DbNw8Ecj.js} +151 -151
  51. package/components/{CasinoWinners-BhzxeUZ8.js → CasinoWinners-Dn6mLcJT.js} +171 -171
  52. package/components/GeneralAnimationLoading-C3AulHDZ.js +84 -0
  53. package/components/GeneralAnimationLoading-CKfD84TR.js +84 -0
  54. package/components/GeneralAnimationLoading-D4L1aOk8.cjs +1 -0
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-B5g4-G4Z.js → casino-play-random-game-CBXhEsCq.js} +55 -30
  60. package/stencil/{casino-play-random-game-Cphp76Jq.js → casino-play-random-game-PZXnDzfs.js} +74 -49
  61. package/stencil/{casino-play-random-game-CQe5iDJ8.cjs → casino-play-random-game-y8flXwPv.cjs} +2 -2
  62. package/stencil/index-29915e18-B3XYTzEC.cjs +1 -0
  63. package/stencil/index-29915e18-CQ_kWzEh.js +630 -0
  64. package/stencil/index-29915e18-MPiqo7vY.js +646 -0
  65. package/components/CasinoCalendar-hlupOGnG.cjs +0 -6
  66. package/components/CasinoCalendarDailyDetails-BVWbjQFD.js +0 -701
  67. package/components/CasinoCalendarDailyDetails-CUTyAice.cjs +0 -1
  68. package/components/CasinoCalendarDailyDetails-D7SMZkT6.js +0 -701
  69. package/components/CasinoCalendarDailyItem-BTxF_iOC.js +0 -315
  70. package/components/CasinoCalendarDailyItem-CSD4crn_.cjs +0 -1
  71. package/components/CasinoCalendarDailyItem-Cpx3YOPg.js +0 -315
  72. package/components/CasinoCollectionsProviders-CAOXt4qM.cjs +0 -1
  73. package/components/CasinoFavoritesSectionNd-247dKDFC.cjs +0 -1
  74. package/components/CasinoFilter-Dca8BAHj.cjs +0 -1
  75. package/components/CasinoGameThumbnailNd-BfWisWyd.cjs +0 -39
  76. package/components/CasinoGamesCategorySectionNd-B-A_G5UN.cjs +0 -1
  77. package/components/CasinoGamesCategorySectionNd-ma7TF55B.js +0 -3003
  78. package/components/CasinoJackpotBanner-C7IpKgXw.cjs +0 -1
  79. package/components/CasinoLastPlayedSectionNd-5kInnaFM.js +0 -566
  80. package/components/CasinoLastPlayedSectionNd-BvnsjzpW.cjs +0 -1
  81. package/components/CasinoLastPlayedSectionNd-D5LPHn4E.js +0 -566
  82. package/components/CasinoMostPlayedSectionNd-BTglRQ5Z.cjs +0 -1
  83. package/components/CasinoMyGamesNd-Cy4rvXQw.cjs +0 -1
  84. package/components/CasinoPageNd-CRr4o1nm.cjs +0 -1
  85. package/components/CasinoSearchNd-BFH_Q8-4.cjs +0 -1
  86. package/components/CasinoSort-85kTtPeQ.cjs +0 -1
  87. package/components/CasinoSort-B6tKDPof.js +0 -428
  88. package/components/CasinoSort-D05yyakn.js +0 -427
  89. package/components/GeneralAnimationLoading--i35RrmV.cjs +0 -1
  90. package/components/GeneralAnimationLoading-BTpSb-no.js +0 -75
  91. package/components/GeneralAnimationLoading-DUpN0ANa.js +0 -75
  92. package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
  93. package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
  94. package/stencil/index-eac6b960-Dvyvd5zP.js +0 -563
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-hlupOGnG.cjs");function pe(a,t){e.addMessages(a,t)}function he(a){e.$locale.set(a)}const ue={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 ye(a){e.append_styles(a,"svelte-4fxl7w",':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}.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 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 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, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function ge(a,t,n){const i=a.slice();return i[52]=t[n],i[54]=n,i}function _e(a){let t,n,i,r,o,s,b,_,f,v,m,C,x;function h(c,g){return c[6]?ke:we}let L=h(a),p=L(a);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div"),r=e.element("div"),o=e.space(),s=e.element("div"),p.c(),b=e.space(),_=e.element("div"),f=e.element("img"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+a[7]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(f.src,v=a[12])||e.attr(f,"src",v),e.attr(f,"alt",""),e.attr(_,"class","title"),e.attr(i,"class",m="mainWrapper "+a[0]+" "+(a[5]&&!a[6]?"mobile":a[6]?"tablet":"")),e.set_style(i,"background","url("+a[11]+")"),e.attr(n,"class","jackpotBanner"),e.attr(t,"class",""),e.attr(t,"part","")},m(c,g){e.insert(c,t,g),e.append(t,n),e.append(n,i),e.append(i,r),e.append(i,o),e.append(i,s),p.m(s,null),e.append(i,b),e.append(i,_),e.append(_,f),C||(x=e.listen(n,"click",a[33]),C=!0)},p(c,g){g[0]&128&&e.set_style(r,"background-image","url("+c[7]+")"),L===(L=h(c))&&p?p.p(c,g):(p.d(1),p=L(c),p&&(p.c(),p.m(s,null))),g[0]&4096&&!e.src_url_equal(f.src,v=c[12])&&e.attr(f,"src",v),g[0]&97&&m!==(m="mainWrapper "+c[0]+" "+(c[5]&&!c[6]?"mobile":c[6]?"tablet":""))&&e.attr(i,"class",m),g[0]&2048&&e.set_style(i,"background","url("+c[11]+")")},d(c){c&&e.detach(t),p.d(),C=!1,x()}}}function be(a){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner"),e.attr(t,"part","LoadingSpinner")},m(n,i){e.insert(n,t,i)},p:e.noop,d(n){n&&e.detach(t)}}}function ve(a){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(n,i){e.insert(n,t,i)},p:e.noop,d(n){n&&e.detach(t)}}}function ke(a){let t,n,i,r,o,s,b=a[9][0]+"",_,f,v,m=(a[2]==="true"?a[14][0]:a[8][0])+"",C,x,h,L,p,c,g,w,R,q,F=a[9][1]+"",B,A,M,E=(a[2]==="true"?a[14][1]:a[8][1])+"",U,te,P,G,Y,I,j,V,S,N,T,z=a[9][2]+"",ae,J,K,Q=(a[2]==="true"?a[14][2]:a[8][2])+"",ne,ie,D,le,re,O,H,W,X,Z,$=a[9][3]+"",l,d,k,ee=(a[2]==="true"?a[14][3]:a[8][3])+"",ce,de,se,oe;return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div"),r=e.element("img"),s=e.element("span"),_=e.text(b),f=e.element("span"),v=e.element("span"),C=e.text(m),x=e.space(),h=e.element("span"),L=e.text(a[1]),p=e.space(),c=e.element("div"),g=e.element("div"),w=e.element("img"),q=e.element("span"),B=e.text(F),A=e.element("span"),M=e.element("span"),U=e.text(E),te=e.space(),P=e.element("span"),G=e.text(a[1]),Y=e.space(),I=e.element("div"),j=e.element("div"),V=e.element("div"),S=e.element("img"),T=e.element("span"),ae=e.text(z),J=e.element("span"),K=e.element("span"),ne=e.text(Q),ie=e.space(),D=e.element("span"),le=e.text(a[1]),re=e.space(),O=e.element("div"),H=e.element("div"),W=e.element("img"),Z=e.element("span"),l=e.text($),d=e.element("span"),k=e.element("span"),ce=e.text(ee),de=e.space(),se=e.element("span"),oe=e.text(a[1]),e.attr(r,"class","displayCardIcon"),e.src_url_equal(r.src,o=a[10][0])||e.attr(r,"src",o),e.attr(r,"alt",""),e.attr(s,"class","cardLabel"),e.attr(i,"class","iconWrapper"),e.attr(v,"class","jackpotValue"),e.attr(h,"class","jackpot-currency"),e.attr(f,"class","cardTextWrapper"),e.attr(n,"class","displayCard"),e.attr(w,"class","displayCardIcon"),e.src_url_equal(w.src,R=a[10][1])||e.attr(w,"src",R),e.attr(w,"alt",""),e.attr(q,"class","cardLabel"),e.attr(g,"class","iconWrapper"),e.attr(M,"class","jackpotValue"),e.attr(P,"class","jackpot-currency"),e.attr(A,"class","cardTextWrapper"),e.attr(c,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.attr(S,"class","displayCardIcon"),e.src_url_equal(S.src,N=a[10][2])||e.attr(S,"src",N),e.attr(S,"alt",""),e.attr(T,"class","cardLabel"),e.attr(V,"class","iconWrapper"),e.attr(K,"class","jackpotValue"),e.attr(D,"class","jackpot-currency"),e.attr(J,"class","cardTextWrapper"),e.attr(j,"class","displayCard"),e.attr(W,"class","displayCardIcon"),e.src_url_equal(W.src,X=a[10][3])||e.attr(W,"src",X),e.attr(W,"alt",""),e.attr(Z,"class","cardLabel"),e.attr(H,"class","iconWrapper"),e.attr(k,"class","jackpotValue"),e.attr(se,"class","jackpot-currency"),e.attr(d,"class","cardTextWrapper"),e.attr(O,"class","displayCard"),e.attr(I,"class","pairWrapper")},m(u,y){e.insert(u,t,y),e.append(t,n),e.append(n,i),e.append(i,r),e.append(i,s),e.append(s,_),e.append(n,f),e.append(f,v),e.append(v,C),e.append(f,x),e.append(f,h),e.append(h,L),e.append(t,p),e.append(t,c),e.append(c,g),e.append(g,w),e.append(g,q),e.append(q,B),e.append(c,A),e.append(A,M),e.append(M,U),e.append(A,te),e.append(A,P),e.append(P,G),e.insert(u,Y,y),e.insert(u,I,y),e.append(I,j),e.append(j,V),e.append(V,S),e.append(V,T),e.append(T,ae),e.append(j,J),e.append(J,K),e.append(K,ne),e.append(J,ie),e.append(J,D),e.append(D,le),e.append(I,re),e.append(I,O),e.append(O,H),e.append(H,W),e.append(H,Z),e.append(Z,l),e.append(O,d),e.append(d,k),e.append(k,ce),e.append(d,de),e.append(d,se),e.append(se,oe)},p(u,y){y[0]&1024&&!e.src_url_equal(r.src,o=u[10][0])&&e.attr(r,"src",o),y[0]&512&&b!==(b=u[9][0]+"")&&e.set_data(_,b),y[0]&16644&&m!==(m=(u[2]==="true"?u[14][0]:u[8][0])+"")&&e.set_data(C,m),y[0]&2&&e.set_data(L,u[1]),y[0]&1024&&!e.src_url_equal(w.src,R=u[10][1])&&e.attr(w,"src",R),y[0]&512&&F!==(F=u[9][1]+"")&&e.set_data(B,F),y[0]&16644&&E!==(E=(u[2]==="true"?u[14][1]:u[8][1])+"")&&e.set_data(U,E),y[0]&2&&e.set_data(G,u[1]),y[0]&1024&&!e.src_url_equal(S.src,N=u[10][2])&&e.attr(S,"src",N),y[0]&512&&z!==(z=u[9][2]+"")&&e.set_data(ae,z),y[0]&16644&&Q!==(Q=(u[2]==="true"?u[14][2]:u[8][2])+"")&&e.set_data(ne,Q),y[0]&2&&e.set_data(le,u[1]),y[0]&1024&&!e.src_url_equal(W.src,X=u[10][3])&&e.attr(W,"src",X),y[0]&512&&$!==($=u[9][3]+"")&&e.set_data(l,$),y[0]&16644&&ee!==(ee=(u[2]==="true"?u[14][3]:u[8][3])+"")&&e.set_data(ce,ee),y[0]&2&&e.set_data(oe,u[1])},d(u){u&&(e.detach(t),e.detach(Y),e.detach(I))}}}function we(a){let t,n=e.ensure_array_like(Array(4)),i=[];for(let r=0;r<n.length;r+=1)i[r]=fe(ge(a,n,r));return{c(){for(let r=0;r<i.length;r+=1)i[r].c();t=e.empty()},m(r,o){for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(r,o);e.insert(r,t,o)},p(r,o){if(o[0]&18182){n=e.ensure_array_like(Array(4));let s;for(s=0;s<n.length;s+=1){const b=ge(r,n,s);i[s]?i[s].p(b,o):(i[s]=fe(b),i[s].c(),i[s].m(t.parentNode,t))}for(;s<i.length;s+=1)i[s].d(1);i.length=n.length}},d(r){r&&e.detach(t),e.destroy_each(i,r)}}}function fe(a){var L;let t,n,i,r,o,s=a[9][a[54]]+"",b,_,f,v=(a[2]==="true"?a[14][a[54]]:(L=a[8][a[54]])!=null?L:"")+"",m,C,x,h;return{c(){t=e.element("div"),n=e.element("div"),i=e.element("img"),o=e.element("span"),b=e.text(s),_=e.element("span"),f=e.element("span"),m=e.text(v),C=e.space(),x=e.element("span"),h=e.text(a[1]),e.attr(i,"class","displayCardIcon"),e.src_url_equal(i.src,r=a[10][a[54]])||e.attr(i,"src",r),e.attr(i,"alt",""),e.attr(o,"class","cardLabel"),e.attr(n,"class","iconWrapper"),e.attr(f,"class","jackpotValue"),e.attr(x,"class","jackpot-currency"),e.attr(_,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(p,c){e.insert(p,t,c),e.append(t,n),e.append(n,i),e.append(n,o),e.append(o,b),e.append(t,_),e.append(_,f),e.append(f,m),e.append(_,C),e.append(_,x),e.append(x,h)},p(p,c){var g;c[0]&1024&&!e.src_url_equal(i.src,r=p[10][p[54]])&&e.attr(i,"src",r),c[0]&512&&s!==(s=p[9][p[54]]+"")&&e.set_data(b,s),c[0]&16644&&v!==(v=(p[2]==="true"?p[14][p[54]]:(g=p[8][p[54]])!=null?g:"")+"")&&e.set_data(m,v),c[0]&2&&e.set_data(h,p[1])},d(p){p&&e.detach(t)}}}function Ce(a){let t;function n(o,s){return o[13]?ve:o[4]?be:_e}let i=n(a),r=i(a);return{c(){t=e.element("div"),r.c()},m(o,s){e.insert(o,t,s),r.m(t,null),a[34](t)},p(o,s){i===(i=n(o))&&r?r.p(o,s):(r.d(1),r=i(o),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),r.d(),a[34](null)}}}function Le(a,t,n){let{visualstructure:i=""}=t,{title:r=""}=t,{caticon0:o=""}=t,{caticon1:s=""}=t,{caticon2:b=""}=t,{caticon3:_=""}=t,{iconlabels:f=""}=t,{backgroundsrc:v=""}=t,{currency:m=""}=t,{backgroundsrcmobile:C=""}=t,{titlelogopath:x=""}=t,{lang:h="en"}=t,{clientstyling:L=""}=t,{clientstylingurl:p=""}=t,{translationurl:c=""}=t,{endpoint:g=""}=t,{gameid:w=""}=t,{mbsource:R}=t,{realtimeupdate:q="false"}=t,F=window.navigator.userAgent,B=!1,A=!1,M="",E=[],U=[],te=[],P=[],G=[],Y="",I="",j,V=!0,S=!1,N,T=null,z=[];const ae=()=>{fetch(c).then(d=>d.json()).then(d=>{Object.keys(d).forEach(k=>{pe(k,d[k])})}).catch(d=>{console.log(d)})};Object.keys(ue).forEach(l=>{pe(l,ue[l])});const J=["typeSpread","typeLeft"],K=l=>{var k;const d=(k=l==null?void 0:l.items[0])==null?void 0:k.additionalData;d&&Object.values(d).forEach(ee=>E.push(+ee))},Q=l=>{var d;n(7,M=((d=l==null?void 0:l.items[0])==null?void 0:d.vendorLogo)||"")},ne=()=>{if(g&&h&&m){let l=new URL(`${g}/v1/casino/jackpots`);l.searchParams.append("filter",`id=${w}`),l.searchParams.append("language",h),l.searchParams.append("additionalDataCurrency",m),fetch(l.href).then(d=>d.json().then(k=>{n(4,V=!1),N=k,U.includes(w)&&(K(N),Q(N))}).catch(k=>{n(13,S=!0),n(4,V=!1),console.error(k)}))}},ie=()=>{let l=new URL(`${g}/v1/casino/jackpots/config`);fetch(l.href).then(d=>d.json()).then(d=>{n(32,U=d.egtJackpotIds.map(k=>k))})},D=()=>{n(5,B=e.isMobile(F)&&window.innerHeight/window.innerWidth>1),n(6,A=re()),E.length!==0&&n(8,te=le(E)),n(9,P=f?f.split(",").map(l=>l.trim().toUpperCase()):new Array(4).fill("")),J.includes(i.trim())?n(0,i=i.trim()):(console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${J[0]}"`),n(0,i=J[0])),n(11,Y=C&&B&&!A?C:v),n(12,I=x),n(10,G=[o,s,b,_])},le=l=>l.map(d=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(d)),re=()=>{const l=window.innerHeight/window.innerWidth;return .75<l&&l<1.6},O=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:w},window.location.href),typeof gtag=="function"&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${w}`})},H=()=>{he(h)},W=l=>{const d=JSON.parse(l.data);if(d.success&&d.data.messageType==="UpdateEgtJackpotBalance"&&d.data.jackpotAlias.split("_")[0]===w){const k=Number(d.data.jackpotAlias.split("_")[1])-1;n(14,z[k]=d.data.data[`${m}`].balance.toString(),z)}},X=()=>{q==="true"&&(D(),n(14,z=["","","",""]),T=new EventSource(`${g}/v1/encoder/jackpot/*/update`),T.addEventListener("message",W))};e.onMount(()=>()=>{}),e.onDestroy(()=>{T&&(T.removeEventListener("message",W),T.close(),T=null)});const Z=()=>O();function $(l){e.binding_callbacks[l?"unshift":"push"](()=>{j=l,n(3,j)})}return a.$$set=l=>{"visualstructure"in l&&n(0,i=l.visualstructure),"title"in l&&n(16,r=l.title),"caticon0"in l&&n(17,o=l.caticon0),"caticon1"in l&&n(18,s=l.caticon1),"caticon2"in l&&n(19,b=l.caticon2),"caticon3"in l&&n(20,_=l.caticon3),"iconlabels"in l&&n(21,f=l.iconlabels),"backgroundsrc"in l&&n(22,v=l.backgroundsrc),"currency"in l&&n(1,m=l.currency),"backgroundsrcmobile"in l&&n(23,C=l.backgroundsrcmobile),"titlelogopath"in l&&n(24,x=l.titlelogopath),"lang"in l&&n(25,h=l.lang),"clientstyling"in l&&n(26,L=l.clientstyling),"clientstylingurl"in l&&n(27,p=l.clientstylingurl),"translationurl"in l&&n(28,c=l.translationurl),"endpoint"in l&&n(29,g=l.endpoint),"gameid"in l&&n(30,w=l.gameid),"mbsource"in l&&n(31,R=l.mbsource),"realtimeupdate"in l&&n(2,q=l.realtimeupdate)},a.$$.update=()=>{a.$$.dirty[0]&536870912&&g&&ie(),a.$$.dirty[0]&67108872&&j&&L&&e.setClientStyling(),a.$$.dirty[0]&134217736&&j&&p&&e.setClientStylingURL(),a.$$.dirty[0]&570425346|a.$$.dirty[1]&2&&g&&h&&m&&U.length>0&&ne(),a.$$.dirty[0]&33554450&&m&&h&&!V&&D(),a.$$.dirty[0]&33554432&&h&&H(),a.$$.dirty[0]&268435456&&c&&ae(),a.$$.dirty[0]&4&&q&&X()},[i,m,q,j,V,B,A,M,te,P,G,Y,I,S,z,O,r,o,s,b,_,f,v,C,x,h,L,p,c,g,w,R,U,Z,$]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Le,Ce,e.safe_not_equal,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30,mbsource:31,realtimeupdate:2},ye,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[16]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[17]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[18]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[19]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[20]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[22]}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[23]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[25]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[28]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[29]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[30]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[31]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}}e.create_custom_element(me,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{}},[],[],!0);exports.default=me;
@@ -1,566 +0,0 @@
1
- import { a as te, $ as ae, S as se, i as ne, f as l, c as ie, s as le, b as re, e as L, v as q, d as A, w as B, D as H, j as M, k as oe, n as ce, T as n, u as ue, B as ge, F as me, U as de } from "./CasinoCalendar-C1drIkmy.js";
2
- import "./CasinoFavoritesSectionNd-pNJTskAC.js";
3
- function I(s, e) {
4
- te(s, e);
5
- }
6
- function fe(s) {
7
- ae.set(s);
8
- }
9
- const J = {
10
- en: {
11
- noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
12
- },
13
- de: {
14
- noRecentGames: "Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."
15
- },
16
- es: {
17
- noRecentGames: "No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."
18
- },
19
- hr: {
20
- noRecentGames: "Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."
21
- },
22
- "pt-br": {
23
- noRecentGames: "Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."
24
- },
25
- "es-mx": {
26
- noRecentGames: "Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."
27
- },
28
- tr: {
29
- noRecentGames: "Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."
30
- },
31
- "en-us": {
32
- noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
33
- }
34
- };
35
- function he(s) {
36
- re(s, "svelte-w4ziup", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
37
- }
38
- function ye(s) {
39
- let e;
40
- return {
41
- c() {
42
- e = L("casino-games-category-section-nd"), n(
43
- e,
44
- "session",
45
- /*session*/
46
- s[4]
47
- ), n(
48
- e,
49
- "userid",
50
- /*userid*/
51
- s[5]
52
- ), n(
53
- e,
54
- "endpoint",
55
- /*endpoint*/
56
- s[0]
57
- ), n(
58
- e,
59
- "datasource",
60
- /*datasource*/
61
- s[1]
62
- ), n(
63
- e,
64
- "lang",
65
- /*lang*/
66
- s[3]
67
- ), n(
68
- e,
69
- "currency",
70
- /*currency*/
71
- s[2]
72
- ), n(
73
- e,
74
- "favorites",
75
- /*favorites*/
76
- s[14]
77
- ), n(
78
- e,
79
- "fetchviaevent",
80
- /*fetchviaevent*/
81
- s[16]
82
- ), n(e, "categoryid", "LASTPLAYED"), n(e, "categoryindex", "1"), n(e, "categorygames", "9"), n(e, "class", "CategoryContainer"), n(
83
- e,
84
- "showgamename",
85
- /*showgamename*/
86
- s[12]
87
- ), n(
88
- e,
89
- "clientstyling",
90
- /*clientstyling*/
91
- s[6]
92
- ), n(
93
- e,
94
- "clientstylingurl",
95
- /*clientstylingurl*/
96
- s[7]
97
- ), n(
98
- e,
99
- "livecasino",
100
- /*livecasino*/
101
- s[8]
102
- ), n(
103
- e,
104
- "visiblegames",
105
- /*visiblegames*/
106
- s[13]
107
- ), n(
108
- e,
109
- "gamepagemodalurl",
110
- /*gamepagemodalurl*/
111
- s[11]
112
- ), n(
113
- e,
114
- "integratedgameframedesktop",
115
- /*integratedgameframedesktop*/
116
- s[10]
117
- ), n(
118
- e,
119
- "integratedgameframemobile",
120
- /*integratedgameframemobile*/
121
- s[9]
122
- ), n(
123
- e,
124
- "casinomygames",
125
- /*casinomygames*/
126
- s[15]
127
- );
128
- },
129
- m(a, i) {
130
- A(a, e, i);
131
- },
132
- p(a, i) {
133
- i[0] & /*session*/
134
- 16 && n(
135
- e,
136
- "session",
137
- /*session*/
138
- a[4]
139
- ), i[0] & /*userid*/
140
- 32 && n(
141
- e,
142
- "userid",
143
- /*userid*/
144
- a[5]
145
- ), i[0] & /*endpoint*/
146
- 1 && n(
147
- e,
148
- "endpoint",
149
- /*endpoint*/
150
- a[0]
151
- ), i[0] & /*datasource*/
152
- 2 && n(
153
- e,
154
- "datasource",
155
- /*datasource*/
156
- a[1]
157
- ), i[0] & /*lang*/
158
- 8 && n(
159
- e,
160
- "lang",
161
- /*lang*/
162
- a[3]
163
- ), i[0] & /*currency*/
164
- 4 && n(
165
- e,
166
- "currency",
167
- /*currency*/
168
- a[2]
169
- ), i[0] & /*favorites*/
170
- 16384 && n(
171
- e,
172
- "favorites",
173
- /*favorites*/
174
- a[14]
175
- ), i[0] & /*fetchviaevent*/
176
- 65536 && n(
177
- e,
178
- "fetchviaevent",
179
- /*fetchviaevent*/
180
- a[16]
181
- ), i[0] & /*showgamename*/
182
- 4096 && n(
183
- e,
184
- "showgamename",
185
- /*showgamename*/
186
- a[12]
187
- ), i[0] & /*clientstyling*/
188
- 64 && n(
189
- e,
190
- "clientstyling",
191
- /*clientstyling*/
192
- a[6]
193
- ), i[0] & /*clientstylingurl*/
194
- 128 && n(
195
- e,
196
- "clientstylingurl",
197
- /*clientstylingurl*/
198
- a[7]
199
- ), i[0] & /*livecasino*/
200
- 256 && n(
201
- e,
202
- "livecasino",
203
- /*livecasino*/
204
- a[8]
205
- ), i[0] & /*visiblegames*/
206
- 8192 && n(
207
- e,
208
- "visiblegames",
209
- /*visiblegames*/
210
- a[13]
211
- ), i[0] & /*gamepagemodalurl*/
212
- 2048 && n(
213
- e,
214
- "gamepagemodalurl",
215
- /*gamepagemodalurl*/
216
- a[11]
217
- ), i[0] & /*integratedgameframedesktop*/
218
- 1024 && n(
219
- e,
220
- "integratedgameframedesktop",
221
- /*integratedgameframedesktop*/
222
- a[10]
223
- ), i[0] & /*integratedgameframemobile*/
224
- 512 && n(
225
- e,
226
- "integratedgameframemobile",
227
- /*integratedgameframemobile*/
228
- a[9]
229
- ), i[0] & /*casinomygames*/
230
- 32768 && n(
231
- e,
232
- "casinomygames",
233
- /*casinomygames*/
234
- a[15]
235
- );
236
- },
237
- d(a) {
238
- a && M(e);
239
- }
240
- };
241
- }
242
- function be(s) {
243
- let e, a = (
244
- /*$_*/
245
- s[19]("noRecentGames") + ""
246
- ), i;
247
- return {
248
- c() {
249
- e = L("p"), i = ue(a), q(e, "class", "SearchLoading");
250
- },
251
- m(o, r) {
252
- A(o, e, r), B(e, i);
253
- },
254
- p(o, r) {
255
- r[0] & /*$_*/
256
- 524288 && a !== (a = /*$_*/
257
- o[19]("noRecentGames") + "") && ge(i, a);
258
- },
259
- d(o) {
260
- o && M(e);
261
- }
262
- };
263
- }
264
- function ve(s) {
265
- let e, a;
266
- function i(m, d) {
267
- return (
268
- /*lastPlayedEmpty*/
269
- m[18] ? be : ye
270
- );
271
- }
272
- let o = i(s), r = o(s);
273
- return {
274
- c() {
275
- e = L("div"), a = L("div"), r.c(), q(a, "class", "CasinoLastPlayedSection"), q(e, "class", "CasinoGamesCategorySectionContainer");
276
- },
277
- m(m, d) {
278
- A(m, e, d), B(e, a), r.m(a, null), s[25](e);
279
- },
280
- p(m, d) {
281
- o === (o = i(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(a, null)));
282
- },
283
- i: H,
284
- o: H,
285
- d(m) {
286
- m && M(e), r.d(), s[25](null);
287
- }
288
- };
289
- }
290
- function we(s, e, a) {
291
- let i;
292
- oe(s, me, (t) => a(19, i = t));
293
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: T = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: D = "false" } = e, { integratedgameframedesktop: E = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: N = "" } = e, { visiblegames: P = "" } = e, { favorites: z = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: S = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: G = "true" } = e, { fetchviaevent: U = "true" } = e, V = window.navigator.userAgent, O = !1, k = [], Y, h;
294
- const Z = () => {
295
- fetch(w).then((c) => c.json()).then((c) => {
296
- Object.keys(c).forEach((u) => {
297
- I(u, c[u]);
298
- });
299
- }).catch((c) => {
300
- console.log(c);
301
- });
302
- };
303
- Object.keys(J).forEach((t) => {
304
- I(t, J[t]);
305
- });
306
- const K = () => new Promise((t, c) => {
307
- let u = new URL(`${o}/v1/player/${y}/games/last-played`);
308
- u.searchParams.append("unique", G), u.searchParams.append("limit", S), u.searchParams.append("order", j), u.searchParams.append("period", C), de(V) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), Y = _ ? u : u.href, fetch(Y).then((g) => g.json()).then((g) => {
309
- g.items = g.items.filter((ee) => {
310
- let p = !0;
311
- return ee.gameCode == "OddsMatrix2" && (g.count--, p = !1), p;
312
- }), t(g), window.postMessage(
313
- {
314
- type: "AddNewCategory",
315
- category: { name: "Last Played", id: "LASTPLAYED" }
316
- },
317
- window.location.href
318
- ), window.postMessage({ type: "LastPlayedGames", data: g }, window.location.href);
319
- }).catch((g) => {
320
- console.error(g), c(g);
321
- });
322
- }), Q = () => {
323
- K().then((t) => {
324
- if (t.count > 0) {
325
- let c = [];
326
- t.items.forEach((u) => {
327
- let f = new URL(`${o}/v1/casino/games/${u.gameId}`);
328
- f.searchParams.append("datasource", r), _ ? c.push(fetch(f.href).then((g) => g.json())) : c.push(fetch(f.href).then((g) => g.json()));
329
- }), Promise.all(c).then((u) => {
330
- k = u.filter((f) => !("error" in f)).map((f) => f[0]), R === "true" && (k = k.slice(0, JSON.parse(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
331
- });
332
- } else
333
- a(18, O = !0);
334
- });
335
- }, W = () => {
336
- fe(d);
337
- }, X = () => {
338
- let t = document.createElement("style");
339
- t.innerHTML = b, h.appendChild(t);
340
- }, x = () => {
341
- let t = document.createElement("style");
342
- fetch(new URL(v)).then((c) => c.text()).then((c) => {
343
- t.innerHTML = c, setTimeout(
344
- () => {
345
- h.appendChild(t);
346
- },
347
- 1
348
- );
349
- });
350
- };
351
- function $(t) {
352
- ce[t ? "unshift" : "push"](() => {
353
- h = t, a(17, h);
354
- });
355
- }
356
- return s.$$set = (t) => {
357
- "endpoint" in t && a(0, o = t.endpoint), "datasource" in t && a(1, r = t.datasource), "currency" in t && a(2, m = t.currency), "lang" in t && a(3, d = t.lang), "session" in t && a(4, T = t.session), "userid" in t && a(5, y = t.userid), "clientstyling" in t && a(6, b = t.clientstyling), "clientstylingurl" in t && a(7, v = t.clientstylingurl), "translationurl" in t && a(20, w = t.translationurl), "livecasino" in t && a(8, _ = t.livecasino), "integratedgameframemobile" in t && a(9, D = t.integratedgameframemobile), "integratedgameframedesktop" in t && a(10, E = t.integratedgameframedesktop), "gamepagemodalurl" in t && a(11, F = t.gamepagemodalurl), "showgamename" in t && a(12, N = t.showgamename), "visiblegames" in t && a(13, P = t.visiblegames), "favorites" in t && a(14, z = t.favorites), "lastplayedperiod" in t && a(21, C = t.lastplayedperiod), "lastplayedorder" in t && a(22, j = t.lastplayedorder), "lastplayedlimit" in t && a(23, S = t.lastplayedlimit), "casinomygames" in t && a(15, R = t.casinomygames), "lastplayedunique" in t && a(24, G = t.lastplayedunique), "fetchviaevent" in t && a(16, U = t.fetchviaevent);
358
- }, s.$$.update = () => {
359
- s.$$.dirty[0] & /*endpoint, userid, lang*/
360
- 41 && o && y && d && Q(), s.$$.dirty[0] & /*translationurl*/
361
- 1048576 && w && Z(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
- 131136 && b && h && X(), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
- 131200 && v && h && x(), s.$$.dirty[0] & /*lang*/
364
- 8 && d && W();
365
- }, [
366
- o,
367
- r,
368
- m,
369
- d,
370
- T,
371
- y,
372
- b,
373
- v,
374
- _,
375
- D,
376
- E,
377
- F,
378
- N,
379
- P,
380
- z,
381
- R,
382
- U,
383
- h,
384
- O,
385
- i,
386
- w,
387
- C,
388
- j,
389
- S,
390
- G,
391
- $
392
- ];
393
- }
394
- class _e extends se {
395
- constructor(e) {
396
- super(), ne(
397
- this,
398
- e,
399
- we,
400
- ve,
401
- le,
402
- {
403
- endpoint: 0,
404
- datasource: 1,
405
- currency: 2,
406
- lang: 3,
407
- session: 4,
408
- userid: 5,
409
- clientstyling: 6,
410
- clientstylingurl: 7,
411
- translationurl: 20,
412
- livecasino: 8,
413
- integratedgameframemobile: 9,
414
- integratedgameframedesktop: 10,
415
- gamepagemodalurl: 11,
416
- showgamename: 12,
417
- visiblegames: 13,
418
- favorites: 14,
419
- lastplayedperiod: 21,
420
- lastplayedorder: 22,
421
- lastplayedlimit: 23,
422
- casinomygames: 15,
423
- lastplayedunique: 24,
424
- fetchviaevent: 16
425
- },
426
- he,
427
- [-1, -1]
428
- );
429
- }
430
- get endpoint() {
431
- return this.$$.ctx[0];
432
- }
433
- set endpoint(e) {
434
- this.$$set({ endpoint: e }), l();
435
- }
436
- get datasource() {
437
- return this.$$.ctx[1];
438
- }
439
- set datasource(e) {
440
- this.$$set({ datasource: e }), l();
441
- }
442
- get currency() {
443
- return this.$$.ctx[2];
444
- }
445
- set currency(e) {
446
- this.$$set({ currency: e }), l();
447
- }
448
- get lang() {
449
- return this.$$.ctx[3];
450
- }
451
- set lang(e) {
452
- this.$$set({ lang: e }), l();
453
- }
454
- get session() {
455
- return this.$$.ctx[4];
456
- }
457
- set session(e) {
458
- this.$$set({ session: e }), l();
459
- }
460
- get userid() {
461
- return this.$$.ctx[5];
462
- }
463
- set userid(e) {
464
- this.$$set({ userid: e }), l();
465
- }
466
- get clientstyling() {
467
- return this.$$.ctx[6];
468
- }
469
- set clientstyling(e) {
470
- this.$$set({ clientstyling: e }), l();
471
- }
472
- get clientstylingurl() {
473
- return this.$$.ctx[7];
474
- }
475
- set clientstylingurl(e) {
476
- this.$$set({ clientstylingurl: e }), l();
477
- }
478
- get translationurl() {
479
- return this.$$.ctx[20];
480
- }
481
- set translationurl(e) {
482
- this.$$set({ translationurl: e }), l();
483
- }
484
- get livecasino() {
485
- return this.$$.ctx[8];
486
- }
487
- set livecasino(e) {
488
- this.$$set({ livecasino: e }), l();
489
- }
490
- get integratedgameframemobile() {
491
- return this.$$.ctx[9];
492
- }
493
- set integratedgameframemobile(e) {
494
- this.$$set({ integratedgameframemobile: e }), l();
495
- }
496
- get integratedgameframedesktop() {
497
- return this.$$.ctx[10];
498
- }
499
- set integratedgameframedesktop(e) {
500
- this.$$set({ integratedgameframedesktop: e }), l();
501
- }
502
- get gamepagemodalurl() {
503
- return this.$$.ctx[11];
504
- }
505
- set gamepagemodalurl(e) {
506
- this.$$set({ gamepagemodalurl: e }), l();
507
- }
508
- get showgamename() {
509
- return this.$$.ctx[12];
510
- }
511
- set showgamename(e) {
512
- this.$$set({ showgamename: e }), l();
513
- }
514
- get visiblegames() {
515
- return this.$$.ctx[13];
516
- }
517
- set visiblegames(e) {
518
- this.$$set({ visiblegames: e }), l();
519
- }
520
- get favorites() {
521
- return this.$$.ctx[14];
522
- }
523
- set favorites(e) {
524
- this.$$set({ favorites: e }), l();
525
- }
526
- get lastplayedperiod() {
527
- return this.$$.ctx[21];
528
- }
529
- set lastplayedperiod(e) {
530
- this.$$set({ lastplayedperiod: e }), l();
531
- }
532
- get lastplayedorder() {
533
- return this.$$.ctx[22];
534
- }
535
- set lastplayedorder(e) {
536
- this.$$set({ lastplayedorder: e }), l();
537
- }
538
- get lastplayedlimit() {
539
- return this.$$.ctx[23];
540
- }
541
- set lastplayedlimit(e) {
542
- this.$$set({ lastplayedlimit: e }), l();
543
- }
544
- get casinomygames() {
545
- return this.$$.ctx[15];
546
- }
547
- set casinomygames(e) {
548
- this.$$set({ casinomygames: e }), l();
549
- }
550
- get lastplayedunique() {
551
- return this.$$.ctx[24];
552
- }
553
- set lastplayedunique(e) {
554
- this.$$set({ lastplayedunique: e }), l();
555
- }
556
- get fetchviaevent() {
557
- return this.$$.ctx[16];
558
- }
559
- set fetchviaevent(e) {
560
- this.$$set({ fetchviaevent: e }), l();
561
- }
562
- }
563
- ie(_e, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
564
- export {
565
- _e as default
566
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-hlupOGnG.cjs");require("./CasinoFavoritesSectionNd-247dKDFC.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const O={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-w4ziup","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),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,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(s,i){t.insert(s,e,i)},p(s,i){i[0]&16&&t.set_custom_element_data(e,"session",s[4]),i[0]&32&&t.set_custom_element_data(e,"userid",s[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",s[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",s[1]),i[0]&8&&t.set_custom_element_data(e,"lang",s[3]),i[0]&4&&t.set_custom_element_data(e,"currency",s[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",s[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",s[16]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",s[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",s[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",s[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",s[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",s[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",s[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",s[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",s[15])},d(s){s&&t.detach(e)}}}function x(n){let e,s=n[19]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(s),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&524288&&s!==(s=o[19]("noRecentGames")+"")&&t.set_data(i,s)},d(o){o&&t.detach(e)}}}function $(n){let e,s;function i(c,d){return c[18]?x:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),s=t.element("div"),l.c(),t.attr(s,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(c,d){t.insert(c,e,d),t.append(e,s),l.m(s,null),n[25](e)},p(c,d){o===(o=i(c))&&l?l.p(c,d):(l.d(1),l=o(c),l&&(l.c(),l.m(s,null)))},i:t.noop,o:t.noop,d(c){c&&t.detach(e),l.d(),n[25](null)}}}function ee(n,e,s){let i;t.component_subscribe(n,t.$format,a=>s(19,i=a));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:c=""}=e,{lang:d=""}=e,{session:R=""}=e,{userid:h=""}=e,{clientstyling:_=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:q="false"}=e,{integratedgameframedesktop:G="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:M=""}=e,{visiblegames:L=""}=e,{favorites:T=""}=e,{lastplayedperiod:k="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:P=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:S="true"}=e,{fetchviaevent:E="true"}=e,U=window.navigator.userAgent,D=!1,w=[],F,f;const Y=()=>{fetch(b).then(r=>r.json()).then(r=>{Object.keys(r).forEach(m=>{z(m,r[m])})}).catch(r=>{console.log(r)})};Object.keys(O).forEach(a=>{z(a,O[a])});const H=()=>new Promise((a,r)=>{let m=new URL(`${o}/v1/player/${h}/games/last-played`);m.searchParams.append("unique",S),m.searchParams.append("limit",P),m.searchParams.append("order",C),m.searchParams.append("period",k),t.getDevice(U)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),F=v?m:m.href,fetch(F).then(u=>u.json()).then(u=>{u.items=u.items.filter(K=>{let N=!0;return K.gameCode=="OddsMatrix2"&&(u.count--,N=!1),N}),a(u),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:u},window.location.href)}).catch(u=>{console.error(u),r(u)})}),I=()=>{H().then(a=>{if(a.count>0){let r=[];a.items.forEach(m=>{let g=new URL(`${o}/v1/casino/games/${m.gameId}`);g.searchParams.append("datasource",l),v?r.push(fetch(g.href).then(u=>u.json())):r.push(fetch(g.href).then(u=>u.json()))}),Promise.all(r).then(m=>{w=m.filter(g=>!("error"in g)).map(g=>g[0]),j==="true"&&(w=w.slice(0,JSON.parse(L))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else s(18,D=!0)})},J=()=>{Q(d)},V=()=>{let a=document.createElement("style");a.innerHTML=_,f.appendChild(a)},Z=()=>{let a=document.createElement("style");fetch(new URL(y)).then(r=>r.text()).then(r=>{a.innerHTML=r,setTimeout(()=>{f.appendChild(a)},1)})};function B(a){t.binding_callbacks[a?"unshift":"push"](()=>{f=a,s(17,f)})}return n.$$set=a=>{"endpoint"in a&&s(0,o=a.endpoint),"datasource"in a&&s(1,l=a.datasource),"currency"in a&&s(2,c=a.currency),"lang"in a&&s(3,d=a.lang),"session"in a&&s(4,R=a.session),"userid"in a&&s(5,h=a.userid),"clientstyling"in a&&s(6,_=a.clientstyling),"clientstylingurl"in a&&s(7,y=a.clientstylingurl),"translationurl"in a&&s(20,b=a.translationurl),"livecasino"in a&&s(8,v=a.livecasino),"integratedgameframemobile"in a&&s(9,q=a.integratedgameframemobile),"integratedgameframedesktop"in a&&s(10,G=a.integratedgameframedesktop),"gamepagemodalurl"in a&&s(11,A=a.gamepagemodalurl),"showgamename"in a&&s(12,M=a.showgamename),"visiblegames"in a&&s(13,L=a.visiblegames),"favorites"in a&&s(14,T=a.favorites),"lastplayedperiod"in a&&s(21,k=a.lastplayedperiod),"lastplayedorder"in a&&s(22,C=a.lastplayedorder),"lastplayedlimit"in a&&s(23,P=a.lastplayedlimit),"casinomygames"in a&&s(15,j=a.casinomygames),"lastplayedunique"in a&&s(24,S=a.lastplayedunique),"fetchviaevent"in a&&s(16,E=a.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&d&&I(),n.$$.dirty[0]&1048576&&b&&Y(),n.$$.dirty[0]&131136&&_&&f&&V(),n.$$.dirty[0]&131200&&y&&f&&Z(),n.$$.dirty[0]&8&&d&&J()},[o,l,c,d,R,h,_,y,v,q,G,A,M,L,T,j,E,f,D,i,b,k,C,P,S,B]}class p 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:20,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,casinomygames:15,lastplayedunique:24,fetchviaevent:16},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[21]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(p,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=p;