@everymatrix/casino-page-nd 1.55.0 → 1.56.2

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 (95) hide show
  1. package/components/{CasinoCalendar-C1drIkmy.js → CasinoCalendar-B72qCmVu.js} +366 -305
  2. package/components/{CasinoCalendar-hlupOGnG.cjs → CasinoCalendar-BYA6uJQI.cjs} +17 -4
  3. package/components/{CasinoCalendar-Dp2YIBXE.js → CasinoCalendar-B_WI7Mt3.js} +442 -381
  4. package/components/CasinoCalendarDailyDetails-C6UIzboP.js +693 -0
  5. package/components/CasinoCalendarDailyDetails-C7w893Od.js +693 -0
  6. package/components/CasinoCalendarDailyDetails-D6TvS_Uw.cjs +1 -0
  7. package/components/CasinoCalendarDailyItem-Brbbja83.js +306 -0
  8. package/components/CasinoCalendarDailyItem-Dn4fP4pR.js +306 -0
  9. package/components/CasinoCalendarDailyItem-thGDWh2Q.cjs +1 -0
  10. package/components/{CasinoCollectionsProviders-BzqyvgJV.js → CasinoCollectionsProviders-8ZQ44tRK.js} +30 -28
  11. package/components/CasinoCollectionsProviders-BVnxWKQ2.cjs +1 -0
  12. package/components/{CasinoCollectionsProviders-CSskAm-D.js → CasinoCollectionsProviders-C_PrWYCC.js} +29 -27
  13. package/components/CasinoFavoritesSectionNd-CQCLvjg0.js +446 -0
  14. package/components/CasinoFavoritesSectionNd-D0uxeFMF.js +446 -0
  15. package/components/CasinoFavoritesSectionNd-DruLKFit.cjs +1 -0
  16. package/components/{CasinoFilter-xEI9NRP7.js → CasinoFilter-D-mxzzEe.js} +63 -59
  17. package/components/{CasinoFilter-Dca8BAHj.cjs → CasinoFilter-DccaWSTr.cjs} +1 -1
  18. package/components/{CasinoFilter-Bm5nGmim.js → CasinoFilter-Dy3YLxDF.js} +65 -61
  19. package/components/CasinoGameThumbnailNd-B8JRjL-K.js +4360 -0
  20. package/components/CasinoGameThumbnailNd-BH0MIxp8.js +4344 -0
  21. package/components/CasinoGameThumbnailNd-CkE5llqF.cjs +39 -0
  22. package/components/CasinoGamesCategorySectionNd-BAKacraj.js +3063 -0
  23. package/components/CasinoGamesCategorySectionNd-BAw_qUGw.cjs +1 -0
  24. package/components/{CasinoGamesCategorySectionNd-BgeZaX3s.js → CasinoGamesCategorySectionNd-s5oua2PM.js} +1118 -1112
  25. package/components/CasinoJackpotBanner-Ck34M8Rn.js +688 -0
  26. package/components/CasinoJackpotBanner-DBgKc4Vm.js +692 -0
  27. package/components/CasinoJackpotBanner-jRgsElNl.cjs +1 -0
  28. package/components/CasinoLastPlayedSectionNd-C5AZiudZ.js +575 -0
  29. package/components/CasinoLastPlayedSectionNd-CxJcyDWz.cjs +1 -0
  30. package/components/CasinoLastPlayedSectionNd-nO4muZUi.js +575 -0
  31. package/components/{CasinoMostPlayedSectionNd-6T1QffJK.js → CasinoMostPlayedSectionNd-47uLbFny.js} +175 -166
  32. package/components/CasinoMostPlayedSectionNd-B5NQpnpQ.cjs +1 -0
  33. package/components/{CasinoMostPlayedSectionNd-BZLYBtpa.js → CasinoMostPlayedSectionNd-YoUF3qH_.js} +175 -166
  34. package/components/CasinoMyGamesNd-B1mqR1iV.cjs +1 -0
  35. package/components/{CasinoMyGamesNd-C1mKXnRw.js → CasinoMyGamesNd-D7ECNSVx.js} +500 -466
  36. package/components/{CasinoMyGamesNd-ddeJWUGs.js → CasinoMyGamesNd-DsKldyeX.js} +506 -472
  37. package/components/CasinoPageNd-1_im-1pg.cjs +1 -0
  38. package/components/{CasinoPageNd-C2L_-oKQ.js → CasinoPageNd-Celr6stC.js} +1313 -1150
  39. package/components/{CasinoPageNd-tLjlJcsj.js → CasinoPageNd-DG9eHxjS.js} +1310 -1147
  40. package/components/{CasinoRandomGame-Os6RvrQW.js → CasinoRandomGame-B-xXZGGd.js} +28 -26
  41. package/components/{CasinoRandomGame-XLB_bCSb.cjs → CasinoRandomGame-BvuuUTa2.cjs} +2 -2
  42. package/components/{CasinoRandomGame-BB1xnS-3.js → CasinoRandomGame-CJFo5sac.js} +27 -25
  43. package/components/CasinoSearchNd-DcMWXQsy.cjs +1 -0
  44. package/components/{CasinoSearchNd-DQqoQRhE.js → CasinoSearchNd-DnYIShqN.js} +484 -474
  45. package/components/{CasinoSearchNd-CG9DW_9F.js → CasinoSearchNd-TwDFmePv.js} +444 -434
  46. package/components/{CasinoSort-D05yyakn.js → CasinoSort-B9N4OdAh.js} +21 -20
  47. package/components/CasinoSort-CHjWMDyt.cjs +1 -0
  48. package/components/{CasinoSort-B6tKDPof.js → CasinoSort-aie8VxYZ.js} +21 -20
  49. package/components/{CasinoWinners-CGsgZ7OE.cjs → CasinoWinners-CTQkjPOu.cjs} +1 -1
  50. package/components/{CasinoWinners-DNTYhXqC.js → CasinoWinners-DEKSrQmC.js} +55 -53
  51. package/components/{CasinoWinners-BhzxeUZ8.js → CasinoWinners-DNTO27qv.js} +53 -51
  52. package/components/GeneralAnimationLoading-45G5WFWJ.js +84 -0
  53. package/components/GeneralAnimationLoading-BTVnRCeI.js +84 -0
  54. package/components/GeneralAnimationLoading-exiETQWf.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-B9yaAMOE.js} +55 -30
  60. package/stencil/{casino-play-random-game-Cphp76Jq.js → casino-play-random-game-BTXyM5es.js} +74 -49
  61. package/stencil/{casino-play-random-game-CQe5iDJ8.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
  62. package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
  63. package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
  64. package/stencil/{index-eac6b960-Dvyvd5zP.js → index-510a6ba4-CzpWs0jf.js} +185 -200
  65. package/components/CasinoCalendarDailyDetails-BVWbjQFD.js +0 -701
  66. package/components/CasinoCalendarDailyDetails-CUTyAice.cjs +0 -1
  67. package/components/CasinoCalendarDailyDetails-D7SMZkT6.js +0 -701
  68. package/components/CasinoCalendarDailyItem-BTxF_iOC.js +0 -315
  69. package/components/CasinoCalendarDailyItem-CSD4crn_.cjs +0 -1
  70. package/components/CasinoCalendarDailyItem-Cpx3YOPg.js +0 -315
  71. package/components/CasinoCollectionsProviders-CAOXt4qM.cjs +0 -1
  72. package/components/CasinoFavoritesSectionNd-247dKDFC.cjs +0 -1
  73. package/components/CasinoFavoritesSectionNd-CuDySzEb.js +0 -439
  74. package/components/CasinoFavoritesSectionNd-pNJTskAC.js +0 -439
  75. package/components/CasinoGameThumbnailNd-BfWisWyd.cjs +0 -39
  76. package/components/CasinoGameThumbnailNd-D2UjvU5o.js +0 -4395
  77. package/components/CasinoGameThumbnailNd-DZ5EJquh.js +0 -4411
  78. package/components/CasinoGamesCategorySectionNd-B-A_G5UN.cjs +0 -1
  79. package/components/CasinoGamesCategorySectionNd-ma7TF55B.js +0 -3003
  80. package/components/CasinoJackpotBanner-BIHc0ZJN.js +0 -690
  81. package/components/CasinoJackpotBanner-C7IpKgXw.cjs +0 -1
  82. package/components/CasinoJackpotBanner-rIlKc9yB.js +0 -686
  83. package/components/CasinoLastPlayedSectionNd-5kInnaFM.js +0 -566
  84. package/components/CasinoLastPlayedSectionNd-BvnsjzpW.cjs +0 -1
  85. package/components/CasinoLastPlayedSectionNd-D5LPHn4E.js +0 -566
  86. package/components/CasinoMostPlayedSectionNd-BTglRQ5Z.cjs +0 -1
  87. package/components/CasinoMyGamesNd-Cy4rvXQw.cjs +0 -1
  88. package/components/CasinoPageNd-CRr4o1nm.cjs +0 -1
  89. package/components/CasinoSearchNd-BFH_Q8-4.cjs +0 -1
  90. package/components/CasinoSort-85kTtPeQ.cjs +0 -1
  91. package/components/GeneralAnimationLoading--i35RrmV.cjs +0 -1
  92. package/components/GeneralAnimationLoading-BTpSb-no.js +0 -75
  93. package/components/GeneralAnimationLoading-DUpN0ANa.js +0 -75
  94. package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
  95. package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BYA6uJQI.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-5y37b4",':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 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,L,j;function h(c,g){return c[6]?ke:Ce}let C=h(a),d=C(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"),d.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","")},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),d.m(s,null),e.append(i,b),e.append(i,_),e.append(_,f),L||(j=e.listen(n,"click",a[33]),L=!0)},p(c,g){g[0]&128&&e.set_style(r,"background-image","url("+c[7]+")"),C===(C=h(c))&&d?d.p(c,g):(d.d(1),d=C(c),d&&(d.c(),d.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),d.d(),L=!1,j()}}}function be(a){let t;return{c(){t=e.element("div"),e.attr(t,"class","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])+"",L,j,h,C,d,c,g,w,q,z,F=a[9][1]+"",B,A,M,U=(a[2]==="true"?a[14][1]:a[8][1])+"",N,te,P,G,Y,I,x,V,S,O,T,E=a[9][2]+"",ae,J,K,Q=(a[2]==="true"?a[14][2]:a[8][2])+"",ne,ie,D,le,re,R,H,W,X,Z,$=a[9][3]+"",l,p,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"),L=e.text(m),j=e.space(),h=e.element("span"),C=e.text(a[1]),d=e.space(),c=e.element("div"),g=e.element("div"),w=e.element("img"),z=e.element("span"),B=e.text(F),A=e.element("span"),M=e.element("span"),N=e.text(U),te=e.space(),P=e.element("span"),G=e.text(a[1]),Y=e.space(),I=e.element("div"),x=e.element("div"),V=e.element("div"),S=e.element("img"),T=e.element("span"),ae=e.text(E),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(),R=e.element("div"),H=e.element("div"),W=e.element("img"),Z=e.element("span"),l=e.text($),p=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,q=a[10][1])||e.attr(w,"src",q),e.attr(w,"alt",""),e.attr(z,"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,O=a[10][2])||e.attr(S,"src",O),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(x,"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(p,"class","cardTextWrapper"),e.attr(R,"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,L),e.append(f,j),e.append(f,h),e.append(h,C),e.append(t,d),e.append(t,c),e.append(c,g),e.append(g,w),e.append(g,z),e.append(z,B),e.append(c,A),e.append(A,M),e.append(M,N),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,x),e.append(x,V),e.append(V,S),e.append(V,T),e.append(T,ae),e.append(x,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,R),e.append(R,H),e.append(H,W),e.append(H,Z),e.append(Z,l),e.append(R,p),e.append(p,k),e.append(k,ce),e.append(p,de),e.append(p,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(L,m),y[0]&2&&e.set_data(C,u[1]),y[0]&1024&&!e.src_url_equal(w.src,q=u[10][1])&&e.attr(w,"src",q),y[0]&512&&F!==(F=u[9][1]+"")&&e.set_data(B,F),y[0]&16644&&U!==(U=(u[2]==="true"?u[14][1]:u[8][1])+"")&&e.set_data(N,U),y[0]&2&&e.set_data(G,u[1]),y[0]&1024&&!e.src_url_equal(S.src,O=u[10][2])&&e.attr(S,"src",O),y[0]&512&&E!==(E=u[9][2]+"")&&e.set_data(ae,E),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 Ce(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 C;let t,n,i,r,o,s=a[9][a[54]]+"",b,_,f,v=(a[2]==="true"?a[14][a[54]]:(C=a[8][a[54]])!=null?C:"")+"",m,L,j,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),L=e.space(),j=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(j,"class","jackpot-currency"),e.attr(_,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(d,c){e.insert(d,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(_,L),e.append(_,j),e.append(j,h)},p(d,c){var g;c[0]&1024&&!e.src_url_equal(i.src,r=d[10][d[54]])&&e.attr(i,"src",r),c[0]&512&&s!==(s=d[9][d[54]]+"")&&e.set_data(b,s),c[0]&16644&&v!==(v=(d[2]==="true"?d[14][d[54]]:(g=d[8][d[54]])!=null?g:"")+"")&&e.set_data(m,v),c[0]&2&&e.set_data(h,d[1])},d(d){d&&e.detach(t)}}}function we(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:L=""}=t,{titlelogopath:j=""}=t,{lang:h="en"}=t,{clientstyling:C=""}=t,{clientstylingurl:d=""}=t,{translationurl:c=""}=t,{endpoint:g=""}=t,{gameid:w=""}=t,{mbsource:q}=t,{realtimeupdate:z="false"}=t,F=window.navigator.userAgent,B=!1,A=!1,M="",U=[],N=[],te=[],P=[],G=[],Y="",I="",x,V=!0,S=!1,O,T=null,E=[];const ae=()=>{fetch(c).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{pe(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(ue).forEach(l=>{pe(l,ue[l])});const J=["typeSpread","typeLeft"],K=l=>{var k;const p=(k=l==null?void 0:l.items[0])==null?void 0:k.additionalData;p&&Object.values(p).forEach(ee=>U.push(+ee))},Q=l=>{var p;n(7,M=((p=l==null?void 0:l.items[0])==null?void 0:p.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(p=>p.json().then(k=>{n(4,V=!1),O=k,N.includes(w)&&(K(O),Q(O))}).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(p=>p.json()).then(p=>{n(32,N=p.egtJackpotIds.map(k=>k))})},D=()=>{n(5,B=e.isMobile(F)&&window.innerHeight/window.innerWidth>1),n(6,A=re()),U.length!==0&&n(8,te=le(U)),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=L&&B&&!A?L:v),n(12,I=j),n(10,G=[o,s,b,_])},le=l=>l.map(p=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(p)),re=()=>{const l=window.innerHeight/window.innerWidth;return .75<l&&l<1.6},R=()=>{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 p=JSON.parse(l.data);if(p.success&&p.data.messageType==="UpdateEgtJackpotBalance"&&p.data.jackpotAlias.split("_")[0]===w){const k=Number(p.data.jackpotAlias.split("_")[1])-1;n(14,E[k]=p.data.data[`${m}`].balance.toString(),E)}},X=()=>{z==="true"&&(D(),n(14,E=["","","",""]),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=()=>R();function $(l){e.binding_callbacks[l?"unshift":"push"](()=>{x=l,n(3,x)})}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,L=l.backgroundsrcmobile),"titlelogopath"in l&&n(24,j=l.titlelogopath),"lang"in l&&n(25,h=l.lang),"clientstyling"in l&&n(26,C=l.clientstyling),"clientstylingurl"in l&&n(27,d=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,q=l.mbsource),"realtimeupdate"in l&&n(2,z=l.realtimeupdate)},a.$$.update=()=>{a.$$.dirty[0]&536870912&&g&&ie(),a.$$.dirty[0]&67108872&&C&&x&&e.setClientStyling(x,C),a.$$.dirty[0]&134217736&&d&&x&&e.setClientStylingURL(x,d),a.$$.dirty[0]&8|a.$$.dirty[1]&1&&q&&x&&e.setStreamStyling(x,`${q}.Style`),a.$$.dirty[0]&570425346|a.$$.dirty[1]&2&&g&&h&&m&&N.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&&z&&X()},[i,m,z,x,V,B,A,M,te,P,G,Y,I,S,E,R,r,o,s,b,_,f,v,L,j,h,C,d,c,g,w,q,N,Z,$]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Le,we,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;
@@ -0,0 +1,575 @@
1
+ import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as P, y as A, d as M, z as B, G as H, j as D, k as re, o as oe, l as ue, m as ce, q as me, r as ge, T as i, x as de, E as fe, I as he, U as ye } from "./CasinoCalendar-B_WI7Mt3.js";
2
+ import "./CasinoFavoritesSectionNd-CQCLvjg0.js";
3
+ function V(s, e) {
4
+ ee(s, e);
5
+ }
6
+ function be(s) {
7
+ te.set(s);
8
+ }
9
+ const Z = {
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 ve(s) {
36
+ 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))}");
37
+ }
38
+ function we(s) {
39
+ let e;
40
+ return {
41
+ c() {
42
+ e = P("casino-games-category-section-nd"), i(
43
+ e,
44
+ "session",
45
+ /*session*/
46
+ s[4]
47
+ ), i(
48
+ e,
49
+ "userid",
50
+ /*userid*/
51
+ s[5]
52
+ ), i(
53
+ e,
54
+ "endpoint",
55
+ /*endpoint*/
56
+ s[0]
57
+ ), i(
58
+ e,
59
+ "datasource",
60
+ /*datasource*/
61
+ s[1]
62
+ ), i(
63
+ e,
64
+ "lang",
65
+ /*lang*/
66
+ s[3]
67
+ ), i(
68
+ e,
69
+ "currency",
70
+ /*currency*/
71
+ s[2]
72
+ ), i(
73
+ e,
74
+ "favorites",
75
+ /*favorites*/
76
+ s[15]
77
+ ), i(
78
+ e,
79
+ "fetchviaevent",
80
+ /*fetchviaevent*/
81
+ s[17]
82
+ ), i(e, "categoryid", "LASTPLAYED"), i(e, "categoryindex", "1"), i(e, "categorygames", "9"), i(e, "class", "CategoryContainer"), i(
83
+ e,
84
+ "showgamename",
85
+ /*showgamename*/
86
+ s[13]
87
+ ), i(
88
+ e,
89
+ "clientstyling",
90
+ /*clientstyling*/
91
+ s[7]
92
+ ), i(
93
+ e,
94
+ "clientstylingurl",
95
+ /*clientstylingurl*/
96
+ s[8]
97
+ ), i(
98
+ e,
99
+ "livecasino",
100
+ /*livecasino*/
101
+ s[9]
102
+ ), i(
103
+ e,
104
+ "visiblegames",
105
+ /*visiblegames*/
106
+ s[14]
107
+ ), i(
108
+ e,
109
+ "gamepagemodalurl",
110
+ /*gamepagemodalurl*/
111
+ s[12]
112
+ ), i(
113
+ e,
114
+ "integratedgameframedesktop",
115
+ /*integratedgameframedesktop*/
116
+ s[11]
117
+ ), i(
118
+ e,
119
+ "integratedgameframemobile",
120
+ /*integratedgameframemobile*/
121
+ s[10]
122
+ ), i(
123
+ e,
124
+ "casinomygames",
125
+ /*casinomygames*/
126
+ s[16]
127
+ ), i(
128
+ e,
129
+ "mbsource",
130
+ /*mbsource*/
131
+ s[6]
132
+ );
133
+ },
134
+ m(t, n) {
135
+ M(t, e, n);
136
+ },
137
+ p(t, n) {
138
+ n[0] & /*session*/
139
+ 16 && i(
140
+ e,
141
+ "session",
142
+ /*session*/
143
+ t[4]
144
+ ), n[0] & /*userid*/
145
+ 32 && i(
146
+ e,
147
+ "userid",
148
+ /*userid*/
149
+ t[5]
150
+ ), n[0] & /*endpoint*/
151
+ 1 && i(
152
+ e,
153
+ "endpoint",
154
+ /*endpoint*/
155
+ t[0]
156
+ ), n[0] & /*datasource*/
157
+ 2 && i(
158
+ e,
159
+ "datasource",
160
+ /*datasource*/
161
+ t[1]
162
+ ), n[0] & /*lang*/
163
+ 8 && i(
164
+ e,
165
+ "lang",
166
+ /*lang*/
167
+ t[3]
168
+ ), n[0] & /*currency*/
169
+ 4 && i(
170
+ e,
171
+ "currency",
172
+ /*currency*/
173
+ t[2]
174
+ ), n[0] & /*favorites*/
175
+ 32768 && i(
176
+ e,
177
+ "favorites",
178
+ /*favorites*/
179
+ t[15]
180
+ ), n[0] & /*fetchviaevent*/
181
+ 131072 && i(
182
+ e,
183
+ "fetchviaevent",
184
+ /*fetchviaevent*/
185
+ t[17]
186
+ ), n[0] & /*showgamename*/
187
+ 8192 && i(
188
+ e,
189
+ "showgamename",
190
+ /*showgamename*/
191
+ t[13]
192
+ ), n[0] & /*clientstyling*/
193
+ 128 && i(
194
+ e,
195
+ "clientstyling",
196
+ /*clientstyling*/
197
+ t[7]
198
+ ), n[0] & /*clientstylingurl*/
199
+ 256 && i(
200
+ e,
201
+ "clientstylingurl",
202
+ /*clientstylingurl*/
203
+ t[8]
204
+ ), n[0] & /*livecasino*/
205
+ 512 && i(
206
+ e,
207
+ "livecasino",
208
+ /*livecasino*/
209
+ t[9]
210
+ ), n[0] & /*visiblegames*/
211
+ 16384 && i(
212
+ e,
213
+ "visiblegames",
214
+ /*visiblegames*/
215
+ t[14]
216
+ ), n[0] & /*gamepagemodalurl*/
217
+ 4096 && i(
218
+ e,
219
+ "gamepagemodalurl",
220
+ /*gamepagemodalurl*/
221
+ t[12]
222
+ ), n[0] & /*integratedgameframedesktop*/
223
+ 2048 && i(
224
+ e,
225
+ "integratedgameframedesktop",
226
+ /*integratedgameframedesktop*/
227
+ t[11]
228
+ ), n[0] & /*integratedgameframemobile*/
229
+ 1024 && i(
230
+ e,
231
+ "integratedgameframemobile",
232
+ /*integratedgameframemobile*/
233
+ t[10]
234
+ ), n[0] & /*casinomygames*/
235
+ 65536 && i(
236
+ e,
237
+ "casinomygames",
238
+ /*casinomygames*/
239
+ t[16]
240
+ ), n[0] & /*mbsource*/
241
+ 64 && i(
242
+ e,
243
+ "mbsource",
244
+ /*mbsource*/
245
+ t[6]
246
+ );
247
+ },
248
+ d(t) {
249
+ t && D(e);
250
+ }
251
+ };
252
+ }
253
+ function _e(s) {
254
+ let e, t = (
255
+ /*$_*/
256
+ s[20]("noRecentGames") + ""
257
+ ), n;
258
+ return {
259
+ c() {
260
+ e = P("p"), n = de(t), A(e, "class", "SearchLoading");
261
+ },
262
+ m(o, r) {
263
+ M(o, e, r), B(e, n);
264
+ },
265
+ p(o, r) {
266
+ r[0] & /*$_*/
267
+ 1048576 && t !== (t = /*$_*/
268
+ o[20]("noRecentGames") + "") && fe(n, t);
269
+ },
270
+ d(o) {
271
+ o && D(e);
272
+ }
273
+ };
274
+ }
275
+ function ke(s) {
276
+ let e, t;
277
+ function n(m, d) {
278
+ return (
279
+ /*lastPlayedEmpty*/
280
+ m[19] ? _e : we
281
+ );
282
+ }
283
+ let o = n(s), r = o(s);
284
+ return {
285
+ c() {
286
+ e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
287
+ },
288
+ m(m, d) {
289
+ M(m, e, d), B(e, t), r.m(t, null), s[26](e);
290
+ },
291
+ p(m, d) {
292
+ o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
293
+ },
294
+ i: H,
295
+ o: H,
296
+ d(m) {
297
+ m && D(e), r.d(), s[26](null);
298
+ }
299
+ };
300
+ }
301
+ function Le(s, e, t) {
302
+ let n;
303
+ re(s, he, (a) => t(20, n = a));
304
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: T = "" } = e, { visiblegames: S = "" } = e, { favorites: O = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, K = window.navigator.userAgent, Y = !1, L = [], I, f;
305
+ const Q = () => {
306
+ fetch(_).then((g) => g.json()).then((g) => {
307
+ Object.keys(g).forEach((u) => {
308
+ V(u, g[u]);
309
+ });
310
+ }).catch((g) => {
311
+ console.log(g);
312
+ });
313
+ };
314
+ Object.keys(Z).forEach((a) => {
315
+ V(a, Z[a]);
316
+ });
317
+ const W = () => new Promise((a, g) => {
318
+ let u = new URL(`${o}/v1/player/${y}/games/last-played`);
319
+ u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", C), ye(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
320
+ c.items = c.items.filter(($) => {
321
+ let J = !0;
322
+ return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
323
+ }), a(c), window.postMessage(
324
+ {
325
+ type: "AddNewCategory",
326
+ category: { name: "Last Played", id: "LASTPLAYED" }
327
+ },
328
+ window.location.href
329
+ ), window.postMessage({ type: "LastPlayedGames", data: c }, window.location.href);
330
+ }).catch((c) => {
331
+ console.error(c), g(c);
332
+ });
333
+ }), X = () => {
334
+ W().then((a) => {
335
+ if (a.count > 0) {
336
+ let g = [];
337
+ a.items.forEach((u) => {
338
+ let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
339
+ h.searchParams.append("datasource", r), k ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
340
+ }), Promise.all(g).then((u) => {
341
+ L = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(S))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
342
+ });
343
+ } else
344
+ t(19, Y = !0);
345
+ });
346
+ }, x = () => {
347
+ be(d);
348
+ };
349
+ oe(() => () => {
350
+ });
351
+ function p(a) {
352
+ me[a ? "unshift" : "push"](() => {
353
+ f = a, t(18, f);
354
+ });
355
+ }
356
+ return s.$$set = (a) => {
357
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = 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), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(21, _ = a.translationurl), "livecasino" in a && t(9, k = a.livecasino), "integratedgameframemobile" in a && t(10, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, F = a.gamepagemodalurl), "showgamename" in a && t(13, T = a.showgamename), "visiblegames" in a && t(14, S = a.visiblegames), "favorites" in a && t(15, O = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(16, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent);
358
+ }, s.$$.update = () => {
359
+ s.$$.dirty[0] & /*endpoint, userid, lang*/
360
+ 41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
361
+ 2097152 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
+ 262272 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
+ 262400 && w && f && ue(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
364
+ 262208 && b && f && ce(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
365
+ 8 && d && x();
366
+ }, [
367
+ o,
368
+ r,
369
+ m,
370
+ d,
371
+ E,
372
+ y,
373
+ b,
374
+ v,
375
+ w,
376
+ k,
377
+ N,
378
+ z,
379
+ F,
380
+ T,
381
+ S,
382
+ O,
383
+ R,
384
+ U,
385
+ f,
386
+ Y,
387
+ n,
388
+ _,
389
+ C,
390
+ j,
391
+ G,
392
+ q,
393
+ p
394
+ ];
395
+ }
396
+ class Pe extends ae {
397
+ constructor(e) {
398
+ super(), se(
399
+ this,
400
+ e,
401
+ Le,
402
+ ke,
403
+ ne,
404
+ {
405
+ endpoint: 0,
406
+ datasource: 1,
407
+ currency: 2,
408
+ lang: 3,
409
+ session: 4,
410
+ userid: 5,
411
+ mbsource: 6,
412
+ clientstyling: 7,
413
+ clientstylingurl: 8,
414
+ translationurl: 21,
415
+ livecasino: 9,
416
+ integratedgameframemobile: 10,
417
+ integratedgameframedesktop: 11,
418
+ gamepagemodalurl: 12,
419
+ showgamename: 13,
420
+ visiblegames: 14,
421
+ favorites: 15,
422
+ lastplayedperiod: 22,
423
+ lastplayedorder: 23,
424
+ lastplayedlimit: 24,
425
+ casinomygames: 16,
426
+ lastplayedunique: 25,
427
+ fetchviaevent: 17
428
+ },
429
+ ve,
430
+ [-1, -1]
431
+ );
432
+ }
433
+ get endpoint() {
434
+ return this.$$.ctx[0];
435
+ }
436
+ set endpoint(e) {
437
+ this.$$set({ endpoint: e }), l();
438
+ }
439
+ get datasource() {
440
+ return this.$$.ctx[1];
441
+ }
442
+ set datasource(e) {
443
+ this.$$set({ datasource: e }), l();
444
+ }
445
+ get currency() {
446
+ return this.$$.ctx[2];
447
+ }
448
+ set currency(e) {
449
+ this.$$set({ currency: e }), l();
450
+ }
451
+ get lang() {
452
+ return this.$$.ctx[3];
453
+ }
454
+ set lang(e) {
455
+ this.$$set({ lang: e }), l();
456
+ }
457
+ get session() {
458
+ return this.$$.ctx[4];
459
+ }
460
+ set session(e) {
461
+ this.$$set({ session: e }), l();
462
+ }
463
+ get userid() {
464
+ return this.$$.ctx[5];
465
+ }
466
+ set userid(e) {
467
+ this.$$set({ userid: e }), l();
468
+ }
469
+ get mbsource() {
470
+ return this.$$.ctx[6];
471
+ }
472
+ set mbsource(e) {
473
+ this.$$set({ mbsource: e }), l();
474
+ }
475
+ get clientstyling() {
476
+ return this.$$.ctx[7];
477
+ }
478
+ set clientstyling(e) {
479
+ this.$$set({ clientstyling: e }), l();
480
+ }
481
+ get clientstylingurl() {
482
+ return this.$$.ctx[8];
483
+ }
484
+ set clientstylingurl(e) {
485
+ this.$$set({ clientstylingurl: e }), l();
486
+ }
487
+ get translationurl() {
488
+ return this.$$.ctx[21];
489
+ }
490
+ set translationurl(e) {
491
+ this.$$set({ translationurl: e }), l();
492
+ }
493
+ get livecasino() {
494
+ return this.$$.ctx[9];
495
+ }
496
+ set livecasino(e) {
497
+ this.$$set({ livecasino: e }), l();
498
+ }
499
+ get integratedgameframemobile() {
500
+ return this.$$.ctx[10];
501
+ }
502
+ set integratedgameframemobile(e) {
503
+ this.$$set({ integratedgameframemobile: e }), l();
504
+ }
505
+ get integratedgameframedesktop() {
506
+ return this.$$.ctx[11];
507
+ }
508
+ set integratedgameframedesktop(e) {
509
+ this.$$set({ integratedgameframedesktop: e }), l();
510
+ }
511
+ get gamepagemodalurl() {
512
+ return this.$$.ctx[12];
513
+ }
514
+ set gamepagemodalurl(e) {
515
+ this.$$set({ gamepagemodalurl: e }), l();
516
+ }
517
+ get showgamename() {
518
+ return this.$$.ctx[13];
519
+ }
520
+ set showgamename(e) {
521
+ this.$$set({ showgamename: e }), l();
522
+ }
523
+ get visiblegames() {
524
+ return this.$$.ctx[14];
525
+ }
526
+ set visiblegames(e) {
527
+ this.$$set({ visiblegames: e }), l();
528
+ }
529
+ get favorites() {
530
+ return this.$$.ctx[15];
531
+ }
532
+ set favorites(e) {
533
+ this.$$set({ favorites: e }), l();
534
+ }
535
+ get lastplayedperiod() {
536
+ return this.$$.ctx[22];
537
+ }
538
+ set lastplayedperiod(e) {
539
+ this.$$set({ lastplayedperiod: e }), l();
540
+ }
541
+ get lastplayedorder() {
542
+ return this.$$.ctx[23];
543
+ }
544
+ set lastplayedorder(e) {
545
+ this.$$set({ lastplayedorder: e }), l();
546
+ }
547
+ get lastplayedlimit() {
548
+ return this.$$.ctx[24];
549
+ }
550
+ set lastplayedlimit(e) {
551
+ this.$$set({ lastplayedlimit: e }), l();
552
+ }
553
+ get casinomygames() {
554
+ return this.$$.ctx[16];
555
+ }
556
+ set casinomygames(e) {
557
+ this.$$set({ casinomygames: e }), l();
558
+ }
559
+ get lastplayedunique() {
560
+ return this.$$.ctx[25];
561
+ }
562
+ set lastplayedunique(e) {
563
+ this.$$set({ lastplayedunique: e }), l();
564
+ }
565
+ get fetchviaevent() {
566
+ return this.$$.ctx[17];
567
+ }
568
+ set fetchviaevent(e) {
569
+ this.$$set({ fetchviaevent: e }), l();
570
+ }
571
+ }
572
+ ie(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
573
+ export {
574
+ Pe as default
575
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BYA6uJQI.cjs");require("./CasinoFavoritesSectionNd-DruLKFit.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[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,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"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]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&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]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("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]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{mbsource:h}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:P=""}=e,{favorites:N=""}=e,{lastplayedperiod:L="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:S=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:q="true"}=e,{fetchviaevent:E="true"}=e,I=window.navigator.userAgent,F=!1,k=[],O,g;const J=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",q),r.searchParams.append("limit",S),r.searchParams.append("order",C),r.searchParams.append("period",L),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=w?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{k=r.filter(f=>!("error"in f)).map(f=>f[0]),j==="true"&&(k=k.slice(0,JSON.parse(P))),window.postMessage({type:"LastPlayedData",lastPlayedGames:k},window.location.href)})}else a(19,F=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"mbsource"in s&&a(6,h=s.mbsource),"clientstyling"in s&&a(7,y=s.clientstyling),"clientstylingurl"in s&&a(8,b=s.clientstylingurl),"translationurl"in s&&a(21,v=s.translationurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,M=s.gamepagemodalurl),"showgamename"in s&&a(13,D=s.showgamename),"visiblegames"in s&&a(14,P=s.visiblegames),"favorites"in s&&a(15,N=s.favorites),"lastplayedperiod"in s&&a(22,L=s.lastplayedperiod),"lastplayedorder"in s&&a(23,C=s.lastplayedorder),"lastplayedlimit"in s&&a(24,S=s.lastplayedlimit),"casinomygames"in s&&a(16,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(17,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&v&&J(),n.$$.dirty[0]&262272&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&262400&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&262208&&h&&g&&t.setStreamStyling(g,`${h}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,w,R,A,M,D,P,N,j,E,g,F,i,v,L,C,S,q,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:21,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},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}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()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=Y;