@everymatrix/casino-page-nd 1.76.11 → 1.76.12

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 (88) hide show
  1. package/components/{CasinoCalendar-dCsBOCh4.cjs → CasinoCalendar-1EiuG4ja.cjs} +1 -1
  2. package/components/{CasinoCalendar-DWprq3Up.js → CasinoCalendar-BeFhOf4A.js} +2 -2
  3. package/components/{CasinoCalendar-mfSLB8Ze.js → CasinoCalendar-D_FT39Q4.js} +2 -2
  4. package/components/{CasinoCalendarDailyDetails-Cm0lICEn.js → CasinoCalendarDailyDetails-9IYOPuFc.js} +2 -2
  5. package/components/{CasinoCalendarDailyDetails-DvqRVPua.js → CasinoCalendarDailyDetails-BDQiZCqX.js} +2 -2
  6. package/components/{CasinoCalendarDailyDetails-3C8wq3Kf.cjs → CasinoCalendarDailyDetails-C27NHVH_.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-CzzCu3b9.js → CasinoCalendarDailyItem-BamgaFUp.js} +2 -2
  8. package/components/{CasinoCalendarDailyItem-C_FN646X.cjs → CasinoCalendarDailyItem-BqL5H57o.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-CZlYfyPq.js → CasinoCalendarDailyItem-CrFZVw0F.js} +2 -2
  10. package/components/{CasinoCollectionsProviders-LcGduY03.js → CasinoCollectionsProviders-DL8SGKDA.js} +1 -1
  11. package/components/{CasinoCollectionsProviders-CWyeNZSU.js → CasinoCollectionsProviders-DY6wwYQ5.js} +1 -1
  12. package/components/{CasinoCollectionsProviders-qWvxMAY4.cjs → CasinoCollectionsProviders-DuN6pZVH.cjs} +1 -1
  13. package/components/{CasinoFavoritesSectionNd-D7PT7RRj.js → CasinoFavoritesSectionNd-ClCXq3fI.js} +2 -2
  14. package/components/{CasinoFavoritesSectionNd-BIfrHNCv.cjs → CasinoFavoritesSectionNd-DAjCrR4l.cjs} +1 -1
  15. package/components/{CasinoFavoritesSectionNd-BO5Gv4XQ.js → CasinoFavoritesSectionNd-h53SK3bH.js} +2 -2
  16. package/components/{CasinoFilter-CKKGIb12.js → CasinoFilter-4Wzk9riO.js} +1 -1
  17. package/components/{CasinoFilter-DaDCgGyI.cjs → CasinoFilter-Da1iRlYf.cjs} +1 -1
  18. package/components/{CasinoFilter-BxbFkTPB.js → CasinoFilter-x0Wt4ZXS.js} +1 -1
  19. package/components/{CasinoGameThumbnailNd-Dcordt0f.js → CasinoGameThumbnailNd-CP63nfPC.js} +2 -2
  20. package/components/{CasinoGameThumbnailNd-CmRsAJDi.cjs → CasinoGameThumbnailNd-CZW4Modc.cjs} +1 -1
  21. package/components/{CasinoGameThumbnailNd-BQ1wqZ-e.js → CasinoGameThumbnailNd-c5C6hrLn.js} +2 -2
  22. package/components/{CasinoGamesCategorySectionNd-BGZ-ePsT.js → CasinoGamesCategorySectionNd-1n7W_2Jo.js} +5 -5
  23. package/components/{CasinoGamesCategorySectionNd-CKAJcNzR.js → CasinoGamesCategorySectionNd-Ag5Tj4JP.js} +5 -5
  24. package/components/{CasinoGamesCategorySectionNd-BWwBc-gL.cjs → CasinoGamesCategorySectionNd-B7V05VGS.cjs} +1 -1
  25. package/components/{CasinoJackpotBanner-B96gNAcA.cjs → CasinoJackpotBanner-BwX1dP1o.cjs} +1 -1
  26. package/components/{CasinoJackpotBanner-DqIZizFB.js → CasinoJackpotBanner-Di723weh.js} +2 -2
  27. package/components/{CasinoJackpotBanner-BWmZP7BL.js → CasinoJackpotBanner-DqTHDpRn.js} +2 -2
  28. package/components/{CasinoLastPlayedSectionNd-BgOVZqPi.cjs → CasinoLastPlayedSectionNd-Brc-gVCH.cjs} +1 -1
  29. package/components/{CasinoLastPlayedSectionNd-BmLauasH.js → CasinoLastPlayedSectionNd-C1brYuWY.js} +2 -2
  30. package/components/{CasinoLastPlayedSectionNd-D5fz5x-v.js → CasinoLastPlayedSectionNd-CnIteVfC.js} +2 -2
  31. package/components/{CasinoMostPlayedSectionNd-Scrl1-r0.cjs → CasinoMostPlayedSectionNd-CCDktQG1.cjs} +1 -1
  32. package/components/{CasinoMostPlayedSectionNd-CDSQQPLi.js → CasinoMostPlayedSectionNd-J9_utOkU.js} +2 -2
  33. package/components/{CasinoMostPlayedSectionNd-DxpDBvyi.js → CasinoMostPlayedSectionNd-jqn46xP5.js} +2 -2
  34. package/components/{CasinoMyGamesNd-B0RMhNOQ.js → CasinoMyGamesNd-DFpwDkNI.js} +4 -4
  35. package/components/{CasinoMyGamesNd-DyvlKH0N.js → CasinoMyGamesNd-DXPTD3HX.js} +4 -4
  36. package/components/{CasinoMyGamesNd-C5_wy8U9.cjs → CasinoMyGamesNd-QHx_1u38.cjs} +1 -1
  37. package/components/{CasinoPageNd-BBnA0Inr.js → CasinoPageNd-Cze-S-Q4.js} +11 -11
  38. package/components/{CasinoPageNd-C6XEbbie.cjs → CasinoPageNd-DJdd4UsG.cjs} +1 -1
  39. package/components/{CasinoPageNd-CdikoQYm.js → CasinoPageNd-DKTkgLVP.js} +11 -11
  40. package/components/{CasinoRandomGame-_9lAMA2P.js → CasinoRandomGame-CC2nBqKg.js} +1 -1
  41. package/components/{CasinoRandomGame-BXQZCC2U.cjs → CasinoRandomGame-CxZ9BOdC.cjs} +1 -1
  42. package/components/{CasinoRandomGame-DgwvXr3L.js → CasinoRandomGame-DJL8U-gh.js} +1 -1
  43. package/components/{CasinoSearchNd-C7QNS9Ai.js → CasinoSearchNd-BtjkElM4.js} +3 -3
  44. package/components/{CasinoSearchNd-DQ2c9d3i.js → CasinoSearchNd-C1Ci58C8.js} +3 -3
  45. package/components/{CasinoSearchNd-C893ijmJ.cjs → CasinoSearchNd-mdR2jyDR.cjs} +1 -1
  46. package/components/{CasinoSort-CKm8hNbY.cjs → CasinoSort-BXkq0BBq.cjs} +1 -1
  47. package/components/{CasinoSort-BNREfqiL.js → CasinoSort-CiX0dz1y.js} +1 -1
  48. package/components/{CasinoSort-D187w5tA.js → CasinoSort-Cy2ctqyz.js} +1 -1
  49. package/components/{CasinoWinners-C4hnivSF.js → CasinoWinners-Cd5X-I3l.js} +2 -2
  50. package/components/{CasinoWinners-CfPd4kzY.js → CasinoWinners-DvBTAsd5.js} +2 -2
  51. package/components/{CasinoWinners-433auKih.cjs → CasinoWinners-eDycJCzQ.cjs} +1 -1
  52. package/components/{GeneralAnimationLoading-DRvkLtzi.cjs → GeneralAnimationLoading-CGEL9clS.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-CuOjTz53.js → GeneralAnimationLoading-DLOb23yL.js} +1 -1
  54. package/components/{GeneralAnimationLoading-DnAbjVes.js → GeneralAnimationLoading-to_WYHvJ.js} +1 -1
  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-CIgnME2D.cjs → casino-play-random-game-7Jiz5qZy.cjs} +1 -1
  60. package/stencil/{casino-play-random-game-BkPr2CWQ.js → casino-play-random-game-CDzPSKby.js} +1 -1
  61. package/stencil/{casino-play-random-game-CNkwfnjq.js → casino-play-random-game-FWimws-s.js} +1 -1
  62. package/stencil/{casino-play-random-game_2-rMFQqRp8.js → casino-play-random-game_2-BGE-oMV1.js} +2 -2
  63. package/stencil/{casino-play-random-game_2-BJVoDn1D.cjs → casino-play-random-game_2-CsaKuS_m.cjs} +1 -1
  64. package/stencil/{casino-play-random-game_2-Cr07t-U3.js → casino-play-random-game_2-EAIMj5kG.js} +2 -2
  65. package/stencil/index-242ac81a-BqeIndhr.js +554 -0
  66. package/stencil/index-242ac81a-CI4JxPRf.js +538 -0
  67. package/stencil/index-242ac81a-CjjM4VND.cjs +1 -0
  68. package/stencil/{index-328e660d-Dti9H7_B.js → index-328e660d-CV2Ft9VG.js} +1 -1
  69. package/stencil/{index-328e660d-Cex2hzsG.js → index-328e660d-CX4nYxdf.js} +1 -1
  70. package/stencil/{index-328e660d-MaaYKutI.cjs → index-328e660d-rQhlf25X.cjs} +1 -1
  71. package/stencil/ui-image-2ff23cd5-BHGIWJop.cjs +1 -0
  72. package/stencil/ui-image-2ff23cd5-D0rXudCW.js +86 -0
  73. package/stencil/ui-image-2ff23cd5-DCLQ0SIO.js +86 -0
  74. package/stencil/ui-image-BTT8PTe6.js +25 -0
  75. package/stencil/ui-image-Bj3y-YhF.js +7 -0
  76. package/stencil/ui-image-SXcjABMO.cjs +1 -0
  77. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-B21W_djK.js} +2 -2
  78. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-CLk629jW.cjs} +1 -1
  79. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-VgK3B8gQ.js} +2 -2
  80. package/stencil/index-97d17652--F7PvMq9.js +0 -542
  81. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  82. package/stencil/index-97d17652-CCFHkzJw.js +0 -558
  83. package/stencil/ui-image-5q4WODJu.cjs +0 -1
  84. package/stencil/ui-image-CfZf6HBq.js +0 -7
  85. package/stencil/ui-image-CtfMdADr.js +0 -25
  86. package/stencil/ui-image-b7b48fe5-ByRuJtdE.js +0 -39
  87. package/stencil/ui-image-b7b48fe5-D6iig_uN.js +0 -39
  88. package/stencil/ui-image-b7b48fe5-DG83WzAo.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-dCsBOCh4.cjs");require("../stencil/ui-image-5q4WODJu.cjs");function ge(n,t){e.addMessages(n,t)}function je(n){e.$locale.set(n)}const _e={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function Se(n){e.append_styles(n,"svelte-w5pa6u",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function he(n,t,a){const l=n.slice();return l[56]=t[a],l[58]=a,l}function Te(n){let t,a,l,r,m,s,b,C,w,h,_,g,j;function I(u,o){return u[8]?Ae:Ie}let k=I(n),p=k(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("div"),m=e.space(),s=e.element("div"),p.c(),b=e.space(),C=e.element("div"),w=e.element("ui-image"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+n[9]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(w.src,h=n[14])||e.set_custom_element_data(w,"src",h),e.set_custom_element_data(w,"alt",""),e.attr(C,"class","title"),e.attr(l,"class",_="mainWrapper "+n[0]+" "+(n[7]&&!n[8]?"mobile":n[8]?"tablet":"")),e.set_style(l,"background","url("+n[13]+")"),e.attr(a,"class","jackpotBanner"),e.attr(t,"class","")},m(u,o){e.insert(u,t,o),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,m),e.append(l,s),p.m(s,null),e.append(l,b),e.append(l,C),e.append(C,w),g||(j=e.listen(a,"click",n[35]),g=!0)},p(u,o){o[0]&512&&e.set_style(r,"background-image","url("+u[9]+")"),k===(k=I(u))&&p?p.p(u,o):(p.d(1),p=k(u),p&&(p.c(),p.m(s,null))),o[0]&16384&&!e.src_url_equal(w.src,h=u[14])&&e.set_custom_element_data(w,"src",h),o[0]&385&&_!==(_="mainWrapper "+u[0]+" "+(u[7]&&!u[8]?"mobile":u[8]?"tablet":""))&&e.attr(l,"class",_),o[0]&8192&&e.set_style(l,"background","url("+u[13]+")")},d(u){u&&e.detach(t),p.d(),g=!1,j()}}}function xe(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function We(n){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function Ae(n){let t,a,l,r,m,s,b,C=n[11][0]+"",w,h,_,g,j=(n[2]==="true"?n[16][0]:n[10][0])+"",I,k,p,u,o,f,S,K,N,q=n[11][1]+"",ie,Z,E,Q,H=(n[2]==="true"?n[16][1]:n[10][1])+"",G,$,ee,z,U,R,v,O,re,Y,J=n[11][2]+"",F,de,V,te,ae=(n[2]==="true"?n[6][2]:n[10][2])+"",se,pe,ue,M,P,B,ne,ce,le,X=n[11][3]+"",oe,me,D,i,d=(n[2]==="true"?n[6][3]:n[10][3])+"",L,fe,T=!n[3]&&ye(n),x=!n[3]&&be(n),W=!n[3]&&ke(n),A=!n[3]&&ve(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("ui-image"),s=e.space(),b=e.element("span"),w=e.text(C),h=e.space(),_=e.element("span"),g=e.element("span"),I=e.text(j),k=e.space(),T&&T.c(),p=e.space(),u=e.element("div"),o=e.element("div"),f=e.element("ui-image"),K=e.space(),N=e.element("span"),ie=e.text(q),Z=e.space(),E=e.element("span"),Q=e.element("span"),G=e.text(H),$=e.space(),x&&x.c(),ee=e.space(),z=e.element("div"),U=e.element("div"),R=e.element("div"),v=e.element("ui-image"),re=e.space(),Y=e.element("span"),F=e.text(J),de=e.space(),V=e.element("span"),te=e.element("span"),se=e.text(ae),pe=e.space(),W&&W.c(),ue=e.space(),M=e.element("div"),P=e.element("div"),B=e.element("ui-image"),ce=e.space(),le=e.element("span"),oe=e.text(X),me=e.space(),D=e.element("span"),i=e.element("span"),L=e.text(d),fe=e.space(),A&&A.c(),e.set_custom_element_data(r,"class","displayCardIcon"),e.src_url_equal(r.src,m=n[12][0])||e.set_custom_element_data(r,"src",m),e.set_custom_element_data(r,"alt",""),e.attr(b,"class","cardLabel"),e.attr(l,"class","iconWrapper"),e.attr(g,"class","jackpotValue"),e.attr(_,"class","cardTextWrapper"),e.attr(a,"class","displayCard"),e.set_custom_element_data(f,"class","displayCardIcon"),e.src_url_equal(f.src,S=n[12][1])||e.set_custom_element_data(f,"src",S),e.set_custom_element_data(f,"alt",""),e.attr(N,"class","cardLabel"),e.attr(o,"class","iconWrapper"),e.attr(Q,"class","jackpotValue"),e.attr(E,"class","cardTextWrapper"),e.attr(u,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.set_custom_element_data(v,"class","displayCardIcon"),e.src_url_equal(v.src,O=n[12][2])||e.set_custom_element_data(v,"src",O),e.set_custom_element_data(v,"alt",""),e.attr(Y,"class","cardLabel"),e.attr(R,"class","iconWrapper"),e.attr(te,"class","jackpotValue"),e.attr(V,"class","cardTextWrapper"),e.attr(U,"class","displayCard"),e.set_custom_element_data(B,"class","displayCardIcon"),e.src_url_equal(B.src,ne=n[12][3])||e.set_custom_element_data(B,"src",ne),e.set_custom_element_data(B,"alt",""),e.attr(le,"class","cardLabel"),e.attr(P,"class","iconWrapper"),e.attr(i,"class","jackpotValue"),e.attr(D,"class","cardTextWrapper"),e.attr(M,"class","displayCard"),e.attr(z,"class","pairWrapper")},m(c,y){e.insert(c,t,y),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,s),e.append(l,b),e.append(b,w),e.append(a,h),e.append(a,_),e.append(_,g),e.append(g,I),e.append(_,k),T&&T.m(_,null),e.append(t,p),e.append(t,u),e.append(u,o),e.append(o,f),e.append(o,K),e.append(o,N),e.append(N,ie),e.append(u,Z),e.append(u,E),e.append(E,Q),e.append(Q,G),e.append(E,$),x&&x.m(E,null),e.insert(c,ee,y),e.insert(c,z,y),e.append(z,U),e.append(U,R),e.append(R,v),e.append(R,re),e.append(R,Y),e.append(Y,F),e.append(U,de),e.append(U,V),e.append(V,te),e.append(te,se),e.append(V,pe),W&&W.m(V,null),e.append(z,ue),e.append(z,M),e.append(M,P),e.append(P,B),e.append(P,ce),e.append(P,le),e.append(le,oe),e.append(M,me),e.append(M,D),e.append(D,i),e.append(i,L),e.append(D,fe),A&&A.m(D,null)},p(c,y){y[0]&4096&&!e.src_url_equal(r.src,m=c[12][0])&&e.set_custom_element_data(r,"src",m),y[0]&2048&&C!==(C=c[11][0]+"")&&e.set_data(w,C),y[0]&66564&&j!==(j=(c[2]==="true"?c[16][0]:c[10][0])+"")&&e.set_data(I,j),c[3]?T&&(T.d(1),T=null):T?T.p(c,y):(T=ye(c),T.c(),T.m(_,null)),y[0]&4096&&!e.src_url_equal(f.src,S=c[12][1])&&e.set_custom_element_data(f,"src",S),y[0]&2048&&q!==(q=c[11][1]+"")&&e.set_data(ie,q),y[0]&66564&&H!==(H=(c[2]==="true"?c[16][1]:c[10][1])+"")&&e.set_data(G,H),c[3]?x&&(x.d(1),x=null):x?x.p(c,y):(x=be(c),x.c(),x.m(E,null)),y[0]&4096&&!e.src_url_equal(v.src,O=c[12][2])&&e.set_custom_element_data(v,"src",O),y[0]&2048&&J!==(J=c[11][2]+"")&&e.set_data(F,J),y[0]&1092&&ae!==(ae=(c[2]==="true"?c[6][2]:c[10][2])+"")&&e.set_data(se,ae),c[3]?W&&(W.d(1),W=null):W?W.p(c,y):(W=ke(c),W.c(),W.m(V,null)),y[0]&4096&&!e.src_url_equal(B.src,ne=c[12][3])&&e.set_custom_element_data(B,"src",ne),y[0]&2048&&X!==(X=c[11][3]+"")&&e.set_data(oe,X),y[0]&1092&&d!==(d=(c[2]==="true"?c[6][3]:c[10][3])+"")&&e.set_data(L,d),c[3]?A&&(A.d(1),A=null):A?A.p(c,y):(A=ve(c),A.c(),A.m(D,null))},d(c){c&&(e.detach(t),e.detach(ee),e.detach(z)),T&&T.d(),x&&x.d(),W&&W.d(),A&&A.d()}}}function Ie(n){let t,a=e.ensure_array_like(Array(4)),l=[];for(let r=0;r<a.length;r+=1)l[r]=Ce(he(n,a,r));return{c(){for(let r=0;r<l.length;r+=1)l[r].c();t=e.empty()},m(r,m){for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(r,m);e.insert(r,t,m)},p(r,m){if(m[0]&72718){a=e.ensure_array_like(Array(4));let s;for(s=0;s<a.length;s+=1){const b=he(r,a,s);l[s]?l[s].p(b,m):(l[s]=Ce(b),l[s].c(),l[s].m(t.parentNode,t))}for(;s<l.length;s+=1)l[s].d(1);l.length=a.length}},d(r){r&&e.detach(t),e.destroy_each(l,r)}}}function ye(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function be(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ke(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ve(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function we(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function Ce(n){var u;let t,a,l,r,m,s,b=n[11][n[58]]+"",C,w,h,_,g=(n[2]==="true"?n[16][n[58]]:(u=n[10][n[58]])!=null?u:"")+"",j,I,k,p=!n[3]&&we(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("ui-image"),m=e.space(),s=e.element("span"),C=e.text(b),w=e.space(),h=e.element("span"),_=e.element("span"),j=e.text(g),I=e.space(),p&&p.c(),k=e.space(),e.set_custom_element_data(l,"class","displayCardIcon"),e.src_url_equal(l.src,r=n[12][n[58]])||e.set_custom_element_data(l,"src",r),e.set_custom_element_data(l,"alt",""),e.attr(s,"class","cardLabel"),e.attr(a,"class","iconWrapper"),e.attr(_,"class","jackpotValue"),e.attr(h,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(o,f){e.insert(o,t,f),e.append(t,a),e.append(a,l),e.append(a,m),e.append(a,s),e.append(s,C),e.append(t,w),e.append(t,h),e.append(h,_),e.append(_,j),e.append(h,I),p&&p.m(h,null),e.append(t,k)},p(o,f){var S;f[0]&4096&&!e.src_url_equal(l.src,r=o[12][o[58]])&&e.set_custom_element_data(l,"src",r),f[0]&2048&&b!==(b=o[11][o[58]]+"")&&e.set_data(C,b),f[0]&66564&&g!==(g=(o[2]==="true"?o[16][o[58]]:(S=o[10][o[58]])!=null?S:"")+"")&&e.set_data(j,g),o[3]?p&&(p.d(1),p=null):p?p.p(o,f):(p=we(o),p.c(),p.m(h,null))},d(o){o&&e.detach(t),p&&p.d()}}}function Ee(n){let t;function a(m,s){return m[15]?We:m[5]?xe:Te}let l=a(n),r=l(n);return{c(){t=e.element("div"),r.c()},m(m,s){e.insert(m,t,s),r.m(t,null),n[36](t)},p(m,s){l===(l=a(m))&&r?r.p(m,s):(r.d(1),r=l(m),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(m){m&&e.detach(t),r.d(),n[36](null)}}}function Je(n,t,a){let l,{visualstructure:r=""}=t,{title:m=""}=t,{caticon0:s=""}=t,{caticon1:b=""}=t,{caticon2:C=""}=t,{caticon3:w=""}=t,{iconlabels:h=""}=t,{backgroundsrc:_=""}=t,{currency:g=""}=t,{backgroundsrcmobile:j=""}=t,{titlelogopath:I=""}=t,{lang:k="en"}=t,{clientstyling:p=""}=t,{clientstylingurl:u=""}=t,{translationurl:o=""}=t,{endpoint:f=""}=t,{gameid:S=""}=t,{mbsource:K}=t,{realtimeupdate:N="false"}=t,{currencylocale:q=""}=t,ie=window.navigator.userAgent,Z=!1,E=!1,Q="",H=[],G=[],$=[],ee=[],z=[],U="",R="",v,O=!0,re=!1,Y,J=null,F=[];const de=()=>{fetch(o).then(d=>d.json()).then(d=>{Object.keys(d).forEach(L=>{ge(L,d[L])})}).catch(d=>{console.log(d)})};Object.keys(_e).forEach(i=>{ge(i,_e[i])});const V=["typeSpread","typeLeft"],te=i=>{var L;const d=(L=i==null?void 0:i.items[0])==null?void 0:L.additionalData;d&&Object.values(d).forEach(fe=>H.push(+fe))},ae=i=>{var d;a(9,Q=((d=i==null?void 0:i.items[0])==null?void 0:d.vendorLogo)||"")},se=()=>{if(f&&k&&g){let i=new URL(`${f}/v1/casino/jackpots`);i.searchParams.append("filter",`id=${S}`),i.searchParams.append("language",k),i.searchParams.append("additionalDataCurrency",g),fetch(i.href).then(d=>d.json().then(L=>{a(5,O=!1),Y=L,G.includes(S)&&(te(Y),ae(Y))}).catch(L=>{a(15,re=!0),a(5,O=!1),console.error(L)}).finally(()=>{pe()}))}},pe=()=>{const i=v.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},ue=()=>{let i=new URL(`${f}/v1/casino/jackpots/config`);fetch(i.href).then(d=>d.json()).then(d=>{a(34,G=d.egtJackpotIds.map(L=>L))})},M=()=>{a(7,Z=e.isMobile(ie)&&window.innerHeight/window.innerWidth>1),a(8,E=ne()),H.length!==0&&(a(10,$=B(H)),$.reverse()),a(11,ee=h?h.split(",").map(i=>i.trim().toUpperCase()):new Array(4).fill("")),V.includes(r.trim())?a(0,r=r.trim()):(console.warn(`Invalid Attribute Value: "${r}" is not a valid value for the "visualstructure" attribute. Defaulting to "${V[0]}"`),a(0,r=V[0])),a(13,U=j&&Z&&!E?j:_),a(14,R=I),a(12,z=[s,b,C,w])},P=i=>Intl.NumberFormat(q,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:g}).format(i).replace(/\s/g,""),B=i=>q?i.map(d=>P(d)):i.map(d=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(d)),ne=()=>{const i=window.innerHeight/window.innerWidth;return .75<i&&i<1.6},ce=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:S},window.location.href),typeof gtag=="function"&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${S}`})},le=()=>{je(k)},X=i=>{const d=JSON.parse(i.data);if(d.success&&d.data.messageType==="UpdateEgtJackpotBalance"&&d.data.jackpotAlias.split("_")[0]===S){const L=Number(d.data.jackpotAlias.split("_")[1])-1;a(6,F[L]=q?P(d.data.data[`${g}`].balance):d.data.data[`${g}`].balance.toString(),F)}},oe=()=>{N==="true"&&(M(),a(6,F=["","","",""]),J=new EventSource(`${f}/v1/encoder/jackpot/*/update`),J.addEventListener("message",X))};e.onMount(()=>()=>{}),e.onDestroy(()=>{J&&(J.removeEventListener("message",X),J.close(),J=null)});const me=()=>ce();function D(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,a(4,v)})}return n.$$set=i=>{"visualstructure"in i&&a(0,r=i.visualstructure),"title"in i&&a(18,m=i.title),"caticon0"in i&&a(19,s=i.caticon0),"caticon1"in i&&a(20,b=i.caticon1),"caticon2"in i&&a(21,C=i.caticon2),"caticon3"in i&&a(22,w=i.caticon3),"iconlabels"in i&&a(23,h=i.iconlabels),"backgroundsrc"in i&&a(24,_=i.backgroundsrc),"currency"in i&&a(1,g=i.currency),"backgroundsrcmobile"in i&&a(25,j=i.backgroundsrcmobile),"titlelogopath"in i&&a(26,I=i.titlelogopath),"lang"in i&&a(27,k=i.lang),"clientstyling"in i&&a(28,p=i.clientstyling),"clientstylingurl"in i&&a(29,u=i.clientstylingurl),"translationurl"in i&&a(30,o=i.translationurl),"endpoint"in i&&a(31,f=i.endpoint),"gameid"in i&&a(32,S=i.gameid),"mbsource"in i&&a(33,K=i.mbsource),"realtimeupdate"in i&&a(2,N=i.realtimeupdate),"currencylocale"in i&&a(3,q=i.currencylocale)},n.$$.update=()=>{n.$$.dirty[1]&1&&f&&ue(),n.$$.dirty[0]&268435472&&p&&v&&e.setClientStyling(v,p),n.$$.dirty[0]&536870928&&u&&v&&e.setClientStylingURL(v,u),n.$$.dirty[0]&16|n.$$.dirty[1]&4&&K&&v&&e.setStreamStyling(v,`${K}.Style`),n.$$.dirty[0]&134217730|n.$$.dirty[1]&9&&f&&k&&g&&G.length>0&&se(),n.$$.dirty[0]&134217762&&g&&k&&!O&&M(),n.$$.dirty[0]&134217728&&k&&le(),n.$$.dirty[0]&1073741824&&o&&de(),n.$$.dirty[0]&4&&N&&oe(),n.$$.dirty[0]&64&&a(16,l=[...F].reverse())},[r,g,N,q,v,O,F,Z,E,Q,$,ee,z,U,R,re,l,ce,m,s,b,C,w,h,_,j,I,k,p,u,o,f,S,K,G,me,D]}class Le extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Je,Ee,e.safe_not_equal,{visualstructure:0,title:18,caticon0:19,caticon1:20,caticon2:21,caticon3:22,iconlabels:23,backgroundsrc:24,currency:1,backgroundsrcmobile:25,titlelogopath:26,lang:27,clientstyling:28,clientstylingurl:29,translationurl:30,endpoint:31,gameid:32,mbsource:33,realtimeupdate:2,currencylocale:3},Se,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[18]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[19]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[20]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[21]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[22]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[23]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[24]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[25]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[26]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[27]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[30]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[31]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[32]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[33]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get currencylocale(){return this.$$.ctx[3]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(Le,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{},currencylocale:{}},[],[],!0);exports.default=Le;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-1EiuG4ja.cjs");require("../stencil/ui-image-SXcjABMO.cjs");function ge(n,t){e.addMessages(n,t)}function je(n){e.$locale.set(n)}const _e={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function Se(n){e.append_styles(n,"svelte-w5pa6u",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function he(n,t,a){const l=n.slice();return l[56]=t[a],l[58]=a,l}function Te(n){let t,a,l,r,m,s,b,C,w,h,_,g,j;function I(u,o){return u[8]?Ae:Ie}let k=I(n),p=k(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("div"),m=e.space(),s=e.element("div"),p.c(),b=e.space(),C=e.element("div"),w=e.element("ui-image"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+n[9]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(w.src,h=n[14])||e.set_custom_element_data(w,"src",h),e.set_custom_element_data(w,"alt",""),e.attr(C,"class","title"),e.attr(l,"class",_="mainWrapper "+n[0]+" "+(n[7]&&!n[8]?"mobile":n[8]?"tablet":"")),e.set_style(l,"background","url("+n[13]+")"),e.attr(a,"class","jackpotBanner"),e.attr(t,"class","")},m(u,o){e.insert(u,t,o),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,m),e.append(l,s),p.m(s,null),e.append(l,b),e.append(l,C),e.append(C,w),g||(j=e.listen(a,"click",n[35]),g=!0)},p(u,o){o[0]&512&&e.set_style(r,"background-image","url("+u[9]+")"),k===(k=I(u))&&p?p.p(u,o):(p.d(1),p=k(u),p&&(p.c(),p.m(s,null))),o[0]&16384&&!e.src_url_equal(w.src,h=u[14])&&e.set_custom_element_data(w,"src",h),o[0]&385&&_!==(_="mainWrapper "+u[0]+" "+(u[7]&&!u[8]?"mobile":u[8]?"tablet":""))&&e.attr(l,"class",_),o[0]&8192&&e.set_style(l,"background","url("+u[13]+")")},d(u){u&&e.detach(t),p.d(),g=!1,j()}}}function xe(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function We(n){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function Ae(n){let t,a,l,r,m,s,b,C=n[11][0]+"",w,h,_,g,j=(n[2]==="true"?n[16][0]:n[10][0])+"",I,k,p,u,o,f,S,K,N,q=n[11][1]+"",ie,Z,E,Q,H=(n[2]==="true"?n[16][1]:n[10][1])+"",G,$,ee,z,U,R,v,O,re,Y,J=n[11][2]+"",F,de,V,te,ae=(n[2]==="true"?n[6][2]:n[10][2])+"",se,pe,ue,M,P,B,ne,ce,le,X=n[11][3]+"",oe,me,D,i,d=(n[2]==="true"?n[6][3]:n[10][3])+"",L,fe,T=!n[3]&&ye(n),x=!n[3]&&be(n),W=!n[3]&&ke(n),A=!n[3]&&ve(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("ui-image"),s=e.space(),b=e.element("span"),w=e.text(C),h=e.space(),_=e.element("span"),g=e.element("span"),I=e.text(j),k=e.space(),T&&T.c(),p=e.space(),u=e.element("div"),o=e.element("div"),f=e.element("ui-image"),K=e.space(),N=e.element("span"),ie=e.text(q),Z=e.space(),E=e.element("span"),Q=e.element("span"),G=e.text(H),$=e.space(),x&&x.c(),ee=e.space(),z=e.element("div"),U=e.element("div"),R=e.element("div"),v=e.element("ui-image"),re=e.space(),Y=e.element("span"),F=e.text(J),de=e.space(),V=e.element("span"),te=e.element("span"),se=e.text(ae),pe=e.space(),W&&W.c(),ue=e.space(),M=e.element("div"),P=e.element("div"),B=e.element("ui-image"),ce=e.space(),le=e.element("span"),oe=e.text(X),me=e.space(),D=e.element("span"),i=e.element("span"),L=e.text(d),fe=e.space(),A&&A.c(),e.set_custom_element_data(r,"class","displayCardIcon"),e.src_url_equal(r.src,m=n[12][0])||e.set_custom_element_data(r,"src",m),e.set_custom_element_data(r,"alt",""),e.attr(b,"class","cardLabel"),e.attr(l,"class","iconWrapper"),e.attr(g,"class","jackpotValue"),e.attr(_,"class","cardTextWrapper"),e.attr(a,"class","displayCard"),e.set_custom_element_data(f,"class","displayCardIcon"),e.src_url_equal(f.src,S=n[12][1])||e.set_custom_element_data(f,"src",S),e.set_custom_element_data(f,"alt",""),e.attr(N,"class","cardLabel"),e.attr(o,"class","iconWrapper"),e.attr(Q,"class","jackpotValue"),e.attr(E,"class","cardTextWrapper"),e.attr(u,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.set_custom_element_data(v,"class","displayCardIcon"),e.src_url_equal(v.src,O=n[12][2])||e.set_custom_element_data(v,"src",O),e.set_custom_element_data(v,"alt",""),e.attr(Y,"class","cardLabel"),e.attr(R,"class","iconWrapper"),e.attr(te,"class","jackpotValue"),e.attr(V,"class","cardTextWrapper"),e.attr(U,"class","displayCard"),e.set_custom_element_data(B,"class","displayCardIcon"),e.src_url_equal(B.src,ne=n[12][3])||e.set_custom_element_data(B,"src",ne),e.set_custom_element_data(B,"alt",""),e.attr(le,"class","cardLabel"),e.attr(P,"class","iconWrapper"),e.attr(i,"class","jackpotValue"),e.attr(D,"class","cardTextWrapper"),e.attr(M,"class","displayCard"),e.attr(z,"class","pairWrapper")},m(c,y){e.insert(c,t,y),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,s),e.append(l,b),e.append(b,w),e.append(a,h),e.append(a,_),e.append(_,g),e.append(g,I),e.append(_,k),T&&T.m(_,null),e.append(t,p),e.append(t,u),e.append(u,o),e.append(o,f),e.append(o,K),e.append(o,N),e.append(N,ie),e.append(u,Z),e.append(u,E),e.append(E,Q),e.append(Q,G),e.append(E,$),x&&x.m(E,null),e.insert(c,ee,y),e.insert(c,z,y),e.append(z,U),e.append(U,R),e.append(R,v),e.append(R,re),e.append(R,Y),e.append(Y,F),e.append(U,de),e.append(U,V),e.append(V,te),e.append(te,se),e.append(V,pe),W&&W.m(V,null),e.append(z,ue),e.append(z,M),e.append(M,P),e.append(P,B),e.append(P,ce),e.append(P,le),e.append(le,oe),e.append(M,me),e.append(M,D),e.append(D,i),e.append(i,L),e.append(D,fe),A&&A.m(D,null)},p(c,y){y[0]&4096&&!e.src_url_equal(r.src,m=c[12][0])&&e.set_custom_element_data(r,"src",m),y[0]&2048&&C!==(C=c[11][0]+"")&&e.set_data(w,C),y[0]&66564&&j!==(j=(c[2]==="true"?c[16][0]:c[10][0])+"")&&e.set_data(I,j),c[3]?T&&(T.d(1),T=null):T?T.p(c,y):(T=ye(c),T.c(),T.m(_,null)),y[0]&4096&&!e.src_url_equal(f.src,S=c[12][1])&&e.set_custom_element_data(f,"src",S),y[0]&2048&&q!==(q=c[11][1]+"")&&e.set_data(ie,q),y[0]&66564&&H!==(H=(c[2]==="true"?c[16][1]:c[10][1])+"")&&e.set_data(G,H),c[3]?x&&(x.d(1),x=null):x?x.p(c,y):(x=be(c),x.c(),x.m(E,null)),y[0]&4096&&!e.src_url_equal(v.src,O=c[12][2])&&e.set_custom_element_data(v,"src",O),y[0]&2048&&J!==(J=c[11][2]+"")&&e.set_data(F,J),y[0]&1092&&ae!==(ae=(c[2]==="true"?c[6][2]:c[10][2])+"")&&e.set_data(se,ae),c[3]?W&&(W.d(1),W=null):W?W.p(c,y):(W=ke(c),W.c(),W.m(V,null)),y[0]&4096&&!e.src_url_equal(B.src,ne=c[12][3])&&e.set_custom_element_data(B,"src",ne),y[0]&2048&&X!==(X=c[11][3]+"")&&e.set_data(oe,X),y[0]&1092&&d!==(d=(c[2]==="true"?c[6][3]:c[10][3])+"")&&e.set_data(L,d),c[3]?A&&(A.d(1),A=null):A?A.p(c,y):(A=ve(c),A.c(),A.m(D,null))},d(c){c&&(e.detach(t),e.detach(ee),e.detach(z)),T&&T.d(),x&&x.d(),W&&W.d(),A&&A.d()}}}function Ie(n){let t,a=e.ensure_array_like(Array(4)),l=[];for(let r=0;r<a.length;r+=1)l[r]=Ce(he(n,a,r));return{c(){for(let r=0;r<l.length;r+=1)l[r].c();t=e.empty()},m(r,m){for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(r,m);e.insert(r,t,m)},p(r,m){if(m[0]&72718){a=e.ensure_array_like(Array(4));let s;for(s=0;s<a.length;s+=1){const b=he(r,a,s);l[s]?l[s].p(b,m):(l[s]=Ce(b),l[s].c(),l[s].m(t.parentNode,t))}for(;s<l.length;s+=1)l[s].d(1);l.length=a.length}},d(r){r&&e.detach(t),e.destroy_each(l,r)}}}function ye(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function be(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ke(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ve(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function we(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function Ce(n){var u;let t,a,l,r,m,s,b=n[11][n[58]]+"",C,w,h,_,g=(n[2]==="true"?n[16][n[58]]:(u=n[10][n[58]])!=null?u:"")+"",j,I,k,p=!n[3]&&we(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("ui-image"),m=e.space(),s=e.element("span"),C=e.text(b),w=e.space(),h=e.element("span"),_=e.element("span"),j=e.text(g),I=e.space(),p&&p.c(),k=e.space(),e.set_custom_element_data(l,"class","displayCardIcon"),e.src_url_equal(l.src,r=n[12][n[58]])||e.set_custom_element_data(l,"src",r),e.set_custom_element_data(l,"alt",""),e.attr(s,"class","cardLabel"),e.attr(a,"class","iconWrapper"),e.attr(_,"class","jackpotValue"),e.attr(h,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(o,f){e.insert(o,t,f),e.append(t,a),e.append(a,l),e.append(a,m),e.append(a,s),e.append(s,C),e.append(t,w),e.append(t,h),e.append(h,_),e.append(_,j),e.append(h,I),p&&p.m(h,null),e.append(t,k)},p(o,f){var S;f[0]&4096&&!e.src_url_equal(l.src,r=o[12][o[58]])&&e.set_custom_element_data(l,"src",r),f[0]&2048&&b!==(b=o[11][o[58]]+"")&&e.set_data(C,b),f[0]&66564&&g!==(g=(o[2]==="true"?o[16][o[58]]:(S=o[10][o[58]])!=null?S:"")+"")&&e.set_data(j,g),o[3]?p&&(p.d(1),p=null):p?p.p(o,f):(p=we(o),p.c(),p.m(h,null))},d(o){o&&e.detach(t),p&&p.d()}}}function Ee(n){let t;function a(m,s){return m[15]?We:m[5]?xe:Te}let l=a(n),r=l(n);return{c(){t=e.element("div"),r.c()},m(m,s){e.insert(m,t,s),r.m(t,null),n[36](t)},p(m,s){l===(l=a(m))&&r?r.p(m,s):(r.d(1),r=l(m),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(m){m&&e.detach(t),r.d(),n[36](null)}}}function Je(n,t,a){let l,{visualstructure:r=""}=t,{title:m=""}=t,{caticon0:s=""}=t,{caticon1:b=""}=t,{caticon2:C=""}=t,{caticon3:w=""}=t,{iconlabels:h=""}=t,{backgroundsrc:_=""}=t,{currency:g=""}=t,{backgroundsrcmobile:j=""}=t,{titlelogopath:I=""}=t,{lang:k="en"}=t,{clientstyling:p=""}=t,{clientstylingurl:u=""}=t,{translationurl:o=""}=t,{endpoint:f=""}=t,{gameid:S=""}=t,{mbsource:K}=t,{realtimeupdate:N="false"}=t,{currencylocale:q=""}=t,ie=window.navigator.userAgent,Z=!1,E=!1,Q="",H=[],G=[],$=[],ee=[],z=[],U="",R="",v,O=!0,re=!1,Y,J=null,F=[];const de=()=>{fetch(o).then(d=>d.json()).then(d=>{Object.keys(d).forEach(L=>{ge(L,d[L])})}).catch(d=>{console.log(d)})};Object.keys(_e).forEach(i=>{ge(i,_e[i])});const V=["typeSpread","typeLeft"],te=i=>{var L;const d=(L=i==null?void 0:i.items[0])==null?void 0:L.additionalData;d&&Object.values(d).forEach(fe=>H.push(+fe))},ae=i=>{var d;a(9,Q=((d=i==null?void 0:i.items[0])==null?void 0:d.vendorLogo)||"")},se=()=>{if(f&&k&&g){let i=new URL(`${f}/v1/casino/jackpots`);i.searchParams.append("filter",`id=${S}`),i.searchParams.append("language",k),i.searchParams.append("additionalDataCurrency",g),fetch(i.href).then(d=>d.json().then(L=>{a(5,O=!1),Y=L,G.includes(S)&&(te(Y),ae(Y))}).catch(L=>{a(15,re=!0),a(5,O=!1),console.error(L)}).finally(()=>{pe()}))}},pe=()=>{const i=v.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},ue=()=>{let i=new URL(`${f}/v1/casino/jackpots/config`);fetch(i.href).then(d=>d.json()).then(d=>{a(34,G=d.egtJackpotIds.map(L=>L))})},M=()=>{a(7,Z=e.isMobile(ie)&&window.innerHeight/window.innerWidth>1),a(8,E=ne()),H.length!==0&&(a(10,$=B(H)),$.reverse()),a(11,ee=h?h.split(",").map(i=>i.trim().toUpperCase()):new Array(4).fill("")),V.includes(r.trim())?a(0,r=r.trim()):(console.warn(`Invalid Attribute Value: "${r}" is not a valid value for the "visualstructure" attribute. Defaulting to "${V[0]}"`),a(0,r=V[0])),a(13,U=j&&Z&&!E?j:_),a(14,R=I),a(12,z=[s,b,C,w])},P=i=>Intl.NumberFormat(q,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:g}).format(i).replace(/\s/g,""),B=i=>q?i.map(d=>P(d)):i.map(d=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(d)),ne=()=>{const i=window.innerHeight/window.innerWidth;return .75<i&&i<1.6},ce=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:S},window.location.href),typeof gtag=="function"&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${S}`})},le=()=>{je(k)},X=i=>{const d=JSON.parse(i.data);if(d.success&&d.data.messageType==="UpdateEgtJackpotBalance"&&d.data.jackpotAlias.split("_")[0]===S){const L=Number(d.data.jackpotAlias.split("_")[1])-1;a(6,F[L]=q?P(d.data.data[`${g}`].balance):d.data.data[`${g}`].balance.toString(),F)}},oe=()=>{N==="true"&&(M(),a(6,F=["","","",""]),J=new EventSource(`${f}/v1/encoder/jackpot/*/update`),J.addEventListener("message",X))};e.onMount(()=>()=>{}),e.onDestroy(()=>{J&&(J.removeEventListener("message",X),J.close(),J=null)});const me=()=>ce();function D(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,a(4,v)})}return n.$$set=i=>{"visualstructure"in i&&a(0,r=i.visualstructure),"title"in i&&a(18,m=i.title),"caticon0"in i&&a(19,s=i.caticon0),"caticon1"in i&&a(20,b=i.caticon1),"caticon2"in i&&a(21,C=i.caticon2),"caticon3"in i&&a(22,w=i.caticon3),"iconlabels"in i&&a(23,h=i.iconlabels),"backgroundsrc"in i&&a(24,_=i.backgroundsrc),"currency"in i&&a(1,g=i.currency),"backgroundsrcmobile"in i&&a(25,j=i.backgroundsrcmobile),"titlelogopath"in i&&a(26,I=i.titlelogopath),"lang"in i&&a(27,k=i.lang),"clientstyling"in i&&a(28,p=i.clientstyling),"clientstylingurl"in i&&a(29,u=i.clientstylingurl),"translationurl"in i&&a(30,o=i.translationurl),"endpoint"in i&&a(31,f=i.endpoint),"gameid"in i&&a(32,S=i.gameid),"mbsource"in i&&a(33,K=i.mbsource),"realtimeupdate"in i&&a(2,N=i.realtimeupdate),"currencylocale"in i&&a(3,q=i.currencylocale)},n.$$.update=()=>{n.$$.dirty[1]&1&&f&&ue(),n.$$.dirty[0]&268435472&&p&&v&&e.setClientStyling(v,p),n.$$.dirty[0]&536870928&&u&&v&&e.setClientStylingURL(v,u),n.$$.dirty[0]&16|n.$$.dirty[1]&4&&K&&v&&e.setStreamStyling(v,`${K}.Style`),n.$$.dirty[0]&134217730|n.$$.dirty[1]&9&&f&&k&&g&&G.length>0&&se(),n.$$.dirty[0]&134217762&&g&&k&&!O&&M(),n.$$.dirty[0]&134217728&&k&&le(),n.$$.dirty[0]&1073741824&&o&&de(),n.$$.dirty[0]&4&&N&&oe(),n.$$.dirty[0]&64&&a(16,l=[...F].reverse())},[r,g,N,q,v,O,F,Z,E,Q,$,ee,z,U,R,re,l,ce,m,s,b,C,w,h,_,j,I,k,p,u,o,f,S,K,G,me,D]}class Le extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Je,Ee,e.safe_not_equal,{visualstructure:0,title:18,caticon0:19,caticon1:20,caticon2:21,caticon3:22,iconlabels:23,backgroundsrc:24,currency:1,backgroundsrcmobile:25,titlelogopath:26,lang:27,clientstyling:28,clientstylingurl:29,translationurl:30,endpoint:31,gameid:32,mbsource:33,realtimeupdate:2,currencylocale:3},Se,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[18]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[19]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[20]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[21]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[22]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[23]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[24]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[25]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[26]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[27]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[30]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[31]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[32]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[33]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get currencylocale(){return this.$$.ctx[3]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(Le,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{},currencylocale:{}},[],[],!0);exports.default=Le;
@@ -1,5 +1,5 @@
1
- import { a as Ne, $ as Ue, S as Re, i as Fe, s as Oe, f as C, b as Me, n as Se, d as U, h as R, j as s, o as De, W as He, C as Pe, r as o, G as je, D as O, E as b, p as r, A as qe, B as k, l as Ge, v as Te, w as Ke, T as Ye, m as J, q as V, H as Qe, I as Xe, J as Ze, K as $e } from "./CasinoCalendar-DWprq3Up.js";
2
- import "../stencil/ui-image-CtfMdADr.js";
1
+ import { a as Ne, $ as Ue, S as Re, i as Fe, s as Oe, f as C, b as Me, n as Se, d as U, h as R, j as s, o as De, W as He, C as Pe, r as o, G as je, D as O, E as b, p as r, A as qe, B as k, l as Ge, v as Te, w as Ke, T as Ye, m as J, q as V, H as Qe, I as Xe, J as Ze, K as $e } from "./CasinoCalendar-BeFhOf4A.js";
2
+ import "../stencil/ui-image-BTT8PTe6.js";
3
3
  function We(i, e) {
4
4
  Ne(i, e);
5
5
  }
@@ -1,5 +1,5 @@
1
- import { a as ze, $ as Ne, S as Ue, i as Re, s as Fe, f as w, b as Oe, n as je, d as z, h as N, j as s, o as Me, W as He, C as Pe, r as d, G as Le, D as F, E as h, p as r, A as qe, B as _, l as Ge, v as Te, w as Ke, T as Ye, m as E, q as J, H as Qe, I as Xe, J as Ze, K as $e } from "./CasinoCalendar-mfSLB8Ze.js";
2
- import "../stencil/ui-image-CfZf6HBq.js";
1
+ import { a as ze, $ as Ne, S as Ue, i as Re, s as Fe, f as w, b as Oe, n as je, d as z, h as N, j as s, o as Me, W as He, C as Pe, r as d, G as Le, D as F, E as h, p as r, A as qe, B as _, l as Ge, v as Te, w as Ke, T as Ye, m as E, q as J, H as Qe, I as Xe, J as Ze, K as $e } from "./CasinoCalendar-D_FT39Q4.js";
2
+ import "../stencil/ui-image-Bj3y-YhF.js";
3
3
  function We(a, e) {
4
4
  ze(a, e);
5
5
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-dCsBOCh4.cjs");require("./CasinoFavoritesSectionNd-BIfrHNCv.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[16]),t.set_custom_element_data(e,"fetchviaevent",n[18]),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[14]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[9]),t.set_custom_element_data(e,"livecasino",n[10]),t.set_custom_element_data(e,"visiblegames",n[15]),t.set_custom_element_data(e,"gamepagemodalurl",n[13]),t.set_custom_element_data(e,"integratedgameframedesktop",n[12]),t.set_custom_element_data(e,"integratedgameframemobile",n[11]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&65536&&t.set_custom_element_data(e,"favorites",a[16]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&16384&&t.set_custom_element_data(e,"showgamename",a[14]),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,"translationurl",a[9]),i[0]&1024&&t.set_custom_element_data(e,"livecasino",a[10]),i[0]&32768&&t.set_custom_element_data(e,"visiblegames",a[15]),i[0]&8192&&t.set_custom_element_data(e,"gamepagemodalurl",a[13]),i[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframemobile",a[11]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[20]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{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(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",q),m.searchParams.append("limit",S),m.searchParams.append("order",C),m.searchParams.append("period",L),t.getDevice(I)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),O=w?m:m.href,fetch(O).then(r=>r.json()).then(r=>{r.items=r.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(r.count--,T=!1),T}),s(r),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:r},window.location.href)}).catch(r=>{console.error(r),c(r)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(m=>{let f=new URL(`${o}/v1/casino/games/${m.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(r=>r.json())):c.push(fetch(f.href).then(r=>r.json()))}),Promise.all(c).then(m=>{k=m.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(20,F=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"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(9,v=s.translationurl),"livecasino"in s&&a(10,w=s.livecasino),"integratedgameframemobile"in s&&a(11,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,M=s.gamepagemodalurl),"showgamename"in s&&a(14,D=s.showgamename),"visiblegames"in s&&a(15,P=s.visiblegames),"favorites"in s&&a(16,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(17,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(18,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&512&&v&&J(),n.$$.dirty[0]&524416&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&524544&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&524352&&h&&g&&t.setStreamStyling(g,`${h}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,v,w,R,A,M,D,P,N,j,E,g,F,i,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:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,gamepagemodalurl:13,showgamename:14,visiblegames:15,favorites:16,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:17,lastplayedunique:25,fetchviaevent:18},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[14]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}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[17]}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[18]}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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-1EiuG4ja.cjs");require("./CasinoFavoritesSectionNd-DAjCrR4l.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[16]),t.set_custom_element_data(e,"fetchviaevent",n[18]),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[14]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[9]),t.set_custom_element_data(e,"livecasino",n[10]),t.set_custom_element_data(e,"visiblegames",n[15]),t.set_custom_element_data(e,"gamepagemodalurl",n[13]),t.set_custom_element_data(e,"integratedgameframedesktop",n[12]),t.set_custom_element_data(e,"integratedgameframemobile",n[11]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&65536&&t.set_custom_element_data(e,"favorites",a[16]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&16384&&t.set_custom_element_data(e,"showgamename",a[14]),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,"translationurl",a[9]),i[0]&1024&&t.set_custom_element_data(e,"livecasino",a[10]),i[0]&32768&&t.set_custom_element_data(e,"visiblegames",a[15]),i[0]&8192&&t.set_custom_element_data(e,"gamepagemodalurl",a[13]),i[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframemobile",a[11]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[20]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{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(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",q),m.searchParams.append("limit",S),m.searchParams.append("order",C),m.searchParams.append("period",L),t.getDevice(I)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),O=w?m:m.href,fetch(O).then(r=>r.json()).then(r=>{r.items=r.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(r.count--,T=!1),T}),s(r),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:r},window.location.href)}).catch(r=>{console.error(r),c(r)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(m=>{let f=new URL(`${o}/v1/casino/games/${m.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(r=>r.json())):c.push(fetch(f.href).then(r=>r.json()))}),Promise.all(c).then(m=>{k=m.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(20,F=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"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(9,v=s.translationurl),"livecasino"in s&&a(10,w=s.livecasino),"integratedgameframemobile"in s&&a(11,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,M=s.gamepagemodalurl),"showgamename"in s&&a(14,D=s.showgamename),"visiblegames"in s&&a(15,P=s.visiblegames),"favorites"in s&&a(16,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(17,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(18,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&512&&v&&J(),n.$$.dirty[0]&524416&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&524544&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&524352&&h&&g&&t.setStreamStyling(g,`${h}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,v,w,R,A,M,D,P,N,j,E,g,F,i,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:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,gamepagemodalurl:13,showgamename:14,visiblegames:15,favorites:16,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:17,lastplayedunique:25,fetchviaevent:18},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[14]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}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[17]}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[18]}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;
@@ -1,5 +1,5 @@
1
- import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as P, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, P as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-mfSLB8Ze.js";
2
- import "./CasinoFavoritesSectionNd-D7PT7RRj.js";
1
+ import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as P, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, P as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-BeFhOf4A.js";
2
+ import "./CasinoFavoritesSectionNd-h53SK3bH.js";
3
3
  function K(s, e) {
4
4
  ee(s, e);
5
5
  }
@@ -1,5 +1,5 @@
1
- import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as P, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, P as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-DWprq3Up.js";
2
- import "./CasinoFavoritesSectionNd-BO5Gv4XQ.js";
1
+ import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as P, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, P as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-D_FT39Q4.js";
2
+ import "./CasinoFavoritesSectionNd-ClCXq3fI.js";
3
3
  function K(s, e) {
4
4
  ee(s, e);
5
5
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-dCsBOCh4.cjs");require("./CasinoFavoritesSectionNd-BIfrHNCv.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-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[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[20]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,f)=>{fetch(D).then(_=>_.json()).then(_=>{_.items=_.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(_.count--,R=!1),R}),g(_)}).catch(_=>{console.error(_),f(_)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(f=>f.json())):m.push(fetch(g.href).then(f=>f.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,G,P,F,c,T,i,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-1EiuG4ja.cjs");require("./CasinoFavoritesSectionNd-DAjCrR4l.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-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[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[20]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,f)=>{fetch(D).then(_=>_.json()).then(_=>{_.items=_.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(_.count--,R=!1),R}),g(_)}).catch(_=>{console.error(_),f(_)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(f=>f.json())):m.push(fetch(g.href).then(f=>f.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,G,P,F,c,T,i,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
@@ -1,5 +1,5 @@
1
- import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-mfSLB8Ze.js";
2
- import "./CasinoFavoritesSectionNd-D7PT7RRj.js";
1
+ import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-BeFhOf4A.js";
2
+ import "./CasinoFavoritesSectionNd-h53SK3bH.js";
3
3
  function K(a, e) {
4
4
  $(a, e);
5
5
  }
@@ -1,5 +1,5 @@
1
- import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-DWprq3Up.js";
2
- import "./CasinoFavoritesSectionNd-BO5Gv4XQ.js";
1
+ import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-D_FT39Q4.js";
2
+ import "./CasinoFavoritesSectionNd-ClCXq3fI.js";
3
3
  function K(a, e) {
4
4
  $(a, e);
5
5
  }
@@ -1,4 +1,4 @@
1
- import { $ as H, O as ce, a as he, S as ve, i as be, s as pe, f as g, b as Pe, n as $, d as k, h as F, j as _, k as _e, o as Me, l as we, C as ke, v as ee, w as Fe, E as a, R as E, r as M, p as b, B as L, T as Ge, m as T, A as I, q as A, H as Le, I as Ce, J as Ee, K as Ae, L as Be } from "./CasinoCalendar-mfSLB8Ze.js";
1
+ import { $ as H, O as ce, a as he, S as ve, i as be, s as pe, f as g, b as Pe, n as $, d as k, h as F, j as _, k as _e, o as Me, l as we, C as ke, v as ee, w as Fe, E as a, R as E, r as M, p as b, B as L, T as Ge, m as T, A as I, q as A, H as Le, I as Ce, J as Ee, K as Ae, L as Be } from "./CasinoCalendar-D_FT39Q4.js";
2
2
  function Oe({ withLocale: t, translations: e }) {
3
3
  H.subscribe((n) => {
4
4
  n == null && (ce.set(e), H.set(t));
@@ -114,7 +114,7 @@ if (typeof window < "u") {
114
114
  }
115
115
  };
116
116
  };
117
- customElements.define = t(customElements.define), import("./CasinoFavoritesSectionNd-D7PT7RRj.js").then(({ default: e }) => {
117
+ customElements.define = t(customElements.define), import("./CasinoFavoritesSectionNd-ClCXq3fI.js").then(({ default: e }) => {
118
118
  !customElements.get("casino-favorites-section-nd") && customElements.define("casino-favorites-section-nd", e.element);
119
119
  });
120
120
  }
@@ -130,7 +130,7 @@ if (typeof window < "u") {
130
130
  }
131
131
  };
132
132
  };
133
- customElements.define = t(customElements.define), import("./CasinoLastPlayedSectionNd-BmLauasH.js").then(({ default: e }) => {
133
+ customElements.define = t(customElements.define), import("./CasinoLastPlayedSectionNd-CnIteVfC.js").then(({ default: e }) => {
134
134
  !customElements.get("casino-last-played-section-nd") && customElements.define("casino-last-played-section-nd", e.element);
135
135
  });
136
136
  }
@@ -146,7 +146,7 @@ if (typeof window < "u") {
146
146
  }
147
147
  };
148
148
  };
149
- customElements.define = t(customElements.define), import("./CasinoMostPlayedSectionNd-CDSQQPLi.js").then(({ default: e }) => {
149
+ customElements.define = t(customElements.define), import("./CasinoMostPlayedSectionNd-jqn46xP5.js").then(({ default: e }) => {
150
150
  !customElements.get("casino-most-played-section-nd") && customElements.define("casino-most-played-section-nd", e.element);
151
151
  });
152
152
  }
@@ -1,4 +1,4 @@
1
- import { $ as I, O as ce, a as he, S as ve, i as be, s as pe, f as g, b as Pe, n as $, d as F, h as G, j as _, k as _e, o as Me, l as we, C as ke, v as ee, w as Fe, E as a, R as E, r as M, p as b, B as C, T as Ge, m as z, A as R, q as A, H as Le, I as Ce, J as Ee, K as Ae, L as Be } from "./CasinoCalendar-DWprq3Up.js";
1
+ import { $ as I, O as ce, a as he, S as ve, i as be, s as pe, f as g, b as Pe, n as $, d as F, h as G, j as _, k as _e, o as Me, l as we, C as ke, v as ee, w as Fe, E as a, R as E, r as M, p as b, B as C, T as Ge, m as z, A as R, q as A, H as Le, I as Ce, J as Ee, K as Ae, L as Be } from "./CasinoCalendar-BeFhOf4A.js";
2
2
  function Oe({ withLocale: t, translations: e }) {
3
3
  I.subscribe((n) => {
4
4
  n == null && (ce.set(e), I.set(t));
@@ -114,7 +114,7 @@ if (typeof window != "undefined") {
114
114
  }
115
115
  };
116
116
  };
117
- customElements.define = t(customElements.define), import("./CasinoFavoritesSectionNd-BO5Gv4XQ.js").then(({ default: e }) => {
117
+ customElements.define = t(customElements.define), import("./CasinoFavoritesSectionNd-h53SK3bH.js").then(({ default: e }) => {
118
118
  !customElements.get("casino-favorites-section-nd") && customElements.define("casino-favorites-section-nd", e.element);
119
119
  });
120
120
  }
@@ -130,7 +130,7 @@ if (typeof window != "undefined") {
130
130
  }
131
131
  };
132
132
  };
133
- customElements.define = t(customElements.define), import("./CasinoLastPlayedSectionNd-D5fz5x-v.js").then(({ default: e }) => {
133
+ customElements.define = t(customElements.define), import("./CasinoLastPlayedSectionNd-C1brYuWY.js").then(({ default: e }) => {
134
134
  !customElements.get("casino-last-played-section-nd") && customElements.define("casino-last-played-section-nd", e.element);
135
135
  });
136
136
  }
@@ -146,7 +146,7 @@ if (typeof window != "undefined") {
146
146
  }
147
147
  };
148
148
  };
149
- customElements.define = t(customElements.define), import("./CasinoMostPlayedSectionNd-DxpDBvyi.js").then(({ default: e }) => {
149
+ customElements.define = t(customElements.define), import("./CasinoMostPlayedSectionNd-J9_utOkU.js").then(({ default: e }) => {
150
150
  !customElements.get("casino-most-played-section-nd") && customElements.define("casino-most-played-section-nd", e.element);
151
151
  });
152
152
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-dCsBOCh4.cjs");function ae({withLocale:a,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function U(a,t){e.addMessages(a,t)}function se(a){e.$locale.set(a)}const I={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSectionNd-BIfrHNCv.cjs")).then(({default:t})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSectionNd-BgOVZqPi.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSectionNd-Scrl1-r0.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",t.element)})}function le(a){e.append_styles(a,"svelte-kjgz4h",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section-nd{display:none}.CasinoMyGames casino-favorites-section-nd.Active{display:block}.CasinoMyGames casino-most-played-section-nd{display:none}.CasinoMyGames casino-most-played-section-nd.Active{display:block}.CasinoMyGames casino-last-played-section-nd{display:none}.CasinoMyGames casino-last-played-section-nd.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function R(a,t,o){const r=a.slice();return r[43]=t[o],r}function ne(a){let t,o,r,_,u,n,c,l,h,d,p,y=e.ensure_array_like(a[29]),f=[];for(let s=0;s<y.length;s+=1)f[s]=K(R(a,y,s));return{c(){t=e.element("div"),o=e.element("div"),r=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section-nd"),c=e.space(),l=e.element("casino-most-played-section-nd"),h=e.space(),d=e.element("casino-last-played-section-nd"),e.attr(r,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[16]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[12]),e.set_custom_element_data(n,"clientstyling",a[7]),e.set_custom_element_data(n,"clientstylingurl",a[8]),e.set_custom_element_data(n,"translationurl",a[15]),e.set_custom_element_data(n,"livecasino",a[9]),e.set_custom_element_data(n,"visiblegames",a[10]),e.set_custom_element_data(n,"gamepagemodalurl",a[11]),e.set_custom_element_data(n,"integratedgameframedesktop",a[13]),e.set_custom_element_data(n,"integratedgameframemobile",a[14]),e.set_custom_element_data(n,"casinomygames",a[19]),e.set_custom_element_data(n,"mbsource",a[6]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[16]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[12]),e.set_custom_element_data(l,"clientstyling",a[7]),e.set_custom_element_data(l,"clientstylingurl",a[8]),e.set_custom_element_data(l,"translationurl",a[15]),e.set_custom_element_data(l,"livecasino",a[9]),e.set_custom_element_data(l,"visiblegames",a[10]),e.set_custom_element_data(l,"gamepagemodalurl",a[11]),e.set_custom_element_data(l,"mostplayedrounds",a[25]),e.set_custom_element_data(l,"integratedgameframedesktop",a[13]),e.set_custom_element_data(l,"integratedgameframemobile",a[14]),e.set_custom_element_data(l,"mostplayedperiod",a[21]),e.set_custom_element_data(l,"casinomygames",a[19]),e.set_custom_element_data(l,"mbsource",a[6]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(d,"userid",a[0]),e.set_custom_element_data(d,"endpoint",a[2]),e.set_custom_element_data(d,"datasource",a[3]),e.set_custom_element_data(d,"favorites",a[16]),e.set_custom_element_data(d,"lang",a[4]),e.set_custom_element_data(d,"currency",a[5]),e.set_custom_element_data(d,"session",a[1]),e.set_custom_element_data(d,"class","CategoryContainer"),e.set_custom_element_data(d,"showgamename",a[12]),e.set_custom_element_data(d,"clientstyling",a[7]),e.set_custom_element_data(d,"clientstylingurl",a[8]),e.set_custom_element_data(d,"translationurl",a[15]),e.set_custom_element_data(d,"livecasino",a[9]),e.set_custom_element_data(d,"visiblegames",a[10]),e.set_custom_element_data(d,"lastplayedperiod",a[20]),e.set_custom_element_data(d,"lastplayedorder",a[22]),e.set_custom_element_data(d,"lastplayedlimit",a[23]),e.set_custom_element_data(d,"lastplayedunique",a[24]),e.set_custom_element_data(d,"gamepagemodalurl",a[11]),e.set_custom_element_data(d,"integratedgameframedesktop",a[13]),e.set_custom_element_data(d,"integratedgameframemobile",a[14]),e.set_custom_element_data(d,"casinomygames",a[19]),e.set_custom_element_data(d,"mbsource",a[6]),e.toggle_class(d,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,i){e.insert(s,t,i),e.append(t,o),e.append(o,r);for(let g=0;g<f.length;g+=1)f[g]&&f[g].m(r,null);e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,d)},p(s,i){if(i[0]&1745289216|i[1]&3){y=e.ensure_array_like(s[29]);let g;for(g=0;g<y.length;g+=1){const M=R(s,y,g);f[g]?f[g].p(M,i):(f[g]=K(M),f[g].c(),f[g].m(r,null))}for(;g<f.length;g+=1)f[g].d(1);f.length=y.length}i[0]&2&&e.set_custom_element_data(n,"session",s[1]),i[0]&1&&e.set_custom_element_data(n,"userid",s[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(n,"lang",s[4]),i[0]&32&&e.set_custom_element_data(n,"currency",s[5]),i[0]&65536&&e.set_custom_element_data(n,"favorites",s[16]),i[0]&4096&&e.set_custom_element_data(n,"showgamename",s[12]),i[0]&128&&e.set_custom_element_data(n,"clientstyling",s[7]),i[0]&256&&e.set_custom_element_data(n,"clientstylingurl",s[8]),i[0]&32768&&e.set_custom_element_data(n,"translationurl",s[15]),i[0]&512&&e.set_custom_element_data(n,"livecasino",s[9]),i[0]&1024&&e.set_custom_element_data(n,"visiblegames",s[10]),i[0]&2048&&e.set_custom_element_data(n,"gamepagemodalurl",s[11]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframedesktop",s[13]),i[0]&16384&&e.set_custom_element_data(n,"integratedgameframemobile",s[14]),i[0]&524288&&e.set_custom_element_data(n,"casinomygames",s[19]),i[0]&64&&e.set_custom_element_data(n,"mbsource",s[6]),i[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(l,"lang",s[4]),i[0]&32&&e.set_custom_element_data(l,"currency",s[5]),i[0]&2&&e.set_custom_element_data(l,"session",s[1]),i[0]&1&&e.set_custom_element_data(l,"userid",s[0]),i[0]&65536&&e.set_custom_element_data(l,"favorites",s[16]),i[0]&4096&&e.set_custom_element_data(l,"showgamename",s[12]),i[0]&128&&e.set_custom_element_data(l,"clientstyling",s[7]),i[0]&256&&e.set_custom_element_data(l,"clientstylingurl",s[8]),i[0]&32768&&e.set_custom_element_data(l,"translationurl",s[15]),i[0]&512&&e.set_custom_element_data(l,"livecasino",s[9]),i[0]&1024&&e.set_custom_element_data(l,"visiblegames",s[10]),i[0]&2048&&e.set_custom_element_data(l,"gamepagemodalurl",s[11]),i[0]&33554432&&e.set_custom_element_data(l,"mostplayedrounds",s[25]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframedesktop",s[13]),i[0]&16384&&e.set_custom_element_data(l,"integratedgameframemobile",s[14]),i[0]&2097152&&e.set_custom_element_data(l,"mostplayedperiod",s[21]),i[0]&524288&&e.set_custom_element_data(l,"casinomygames",s[19]),i[0]&64&&e.set_custom_element_data(l,"mbsource",s[6]),i[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(d,"userid",s[0]),i[0]&4&&e.set_custom_element_data(d,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(d,"datasource",s[3]),i[0]&65536&&e.set_custom_element_data(d,"favorites",s[16]),i[0]&16&&e.set_custom_element_data(d,"lang",s[4]),i[0]&32&&e.set_custom_element_data(d,"currency",s[5]),i[0]&2&&e.set_custom_element_data(d,"session",s[1]),i[0]&4096&&e.set_custom_element_data(d,"showgamename",s[12]),i[0]&128&&e.set_custom_element_data(d,"clientstyling",s[7]),i[0]&256&&e.set_custom_element_data(d,"clientstylingurl",s[8]),i[0]&32768&&e.set_custom_element_data(d,"translationurl",s[15]),i[0]&512&&e.set_custom_element_data(d,"livecasino",s[9]),i[0]&1024&&e.set_custom_element_data(d,"visiblegames",s[10]),i[0]&1048576&&e.set_custom_element_data(d,"lastplayedperiod",s[20]),i[0]&4194304&&e.set_custom_element_data(d,"lastplayedorder",s[22]),i[0]&8388608&&e.set_custom_element_data(d,"lastplayedlimit",s[23]),i[0]&16777216&&e.set_custom_element_data(d,"lastplayedunique",s[24]),i[0]&2048&&e.set_custom_element_data(d,"gamepagemodalurl",s[11]),i[0]&8192&&e.set_custom_element_data(d,"integratedgameframedesktop",s[13]),i[0]&16384&&e.set_custom_element_data(d,"integratedgameframemobile",s[14]),i[0]&524288&&e.set_custom_element_data(d,"casinomygames",s[19]),i[0]&64&&e.set_custom_element_data(d,"mbsource",s[6]),i[0]&134217728&&e.toggle_class(d,"Active",s[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function J(a){let t,o=a[31]("favorites")+"",r,_,u,n,c,l,h,d,p;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(y,f){e.insert(y,t,f),e.append(t,r),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),d||(p=e.listen(t,"click",a[33]),d=!0)},p(y,f){f[1]&1&&o!==(o=y[31]("favorites")+"")&&e.set_data(r,o),f[0]&1073741824&&e.set_data(c,y[30]),f[0]&134283264&&h!==(h="MyGamesButton "+(y[27]=="Favorites"?"Active":"")+" "+(y[16]=="false"?"Off":""))&&e.attr(t,"class",h)},d(y){y&&e.detach(t),d=!1,p()}}}function V(a){let t,o=a[31]("mostPlayed")+"",r,_,u,n;return{c(){t=e.element("button"),r=e.text(o),e.attr(t,"class",_="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,r),u||(n=e.listen(t,"click",a[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(r,o),l[0]&134348800&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[17]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function Z(a){let t,o=a[31]("recentlyPlayed")+"",r,_,u,n,c;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[18]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,r),e.append(t,_),n||(c=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(r,o),h[0]&134479872&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[18]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function K(a){let t,o,r,_=a[43]=="Favorites"&&J(a),u=a[43]=="MostPlayed"&&V(a),n=a[43]=="LastPlayed"&&Z(a);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),r=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,o,l),n&&n.m(c,l),e.insert(c,r,l)},p(c,l){c[43]=="Favorites"?_?_.p(c,l):(_=J(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[43]=="MostPlayed"?u?u.p(c,l):(u=V(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[43]=="LastPlayed"?n?n.p(c,l):(n=Z(c),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(r)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function oe(a){let t;function o(u,n){if(u[19])return ne}let r=o(a),_=r&&r(a);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),a[36](t)},p(u,n){r===(r=o(u))&&_?_.p(u,n):(_&&_.d(1),_=r&&r(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),a[36](null)}}}function ie(a,t,o){let r;e.component_subscribe(a,e.$format,m=>o(31,r=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{mbsource:d}=t,{clientstyling:p=""}=t,{clientstylingurl:y=""}=t,{livecasino:f=""}=t,{visiblegames:s=""}=t,{gamepagemodalurl:i=""}=t,{showgamename:g=""}=t,{integratedgameframedesktop:M=""}=t,{integratedgameframemobile:B=""}=t,{translationurl:C=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:j="Last30Days"}=t,{mostplayedperiod:q="Last30Days"}=t,{lastplayedorder:S=""}=t,{lastplayedlimit:N=""}=t,{lastplayedunique:D="true"}=t,{mostplayedrounds:T=""}=t,W=window.navigator.userAgent,v,L="",z=!1,P=["","",""],A="0";ae({withLocale:"en",translations:{}});const X=()=>{fetch(C).then(b=>b.json()).then(b=>{Object.keys(b).forEach(G=>{U(G,b[G])})}).catch(b=>{console.log(b)})};Object.keys(I).forEach(m=>{U(m,I[m])});const E=m=>{L!==m&&o(27,L=m)},Y=()=>{o(27,L=w==="true"?"Favorites":k==="true"?"MostPlayed":F==="true"?"LastPlayed":""),o(29,P[0]=w==="true"?"Favorites":"",P),o(29,P[1]=k==="true"?"MostPlayed":"",P),o(29,P[2]=F==="true"?"LastPlayed":"",P),se(l)},H=m=>{var b,G;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,A=m.data.favoriteGamesLength):o(30,A=(G=(b=m.data.listOfFavoritesGames)==null?void 0:b.length)!=null?G:0);break}};e.onMount(()=>(window.addEventListener("message",H,!1),o(28,z=e.isMobile(W)),()=>{window.removeEventListener("message",H)}));const x=()=>E("Favorites"),$=()=>E("MostPlayed"),ee=()=>E("LastPlayed");function te(m){e.binding_callbacks[m?"unshift":"push"](()=>{v=m,o(26,v)})}return a.$$set=m=>{"userid"in m&&o(0,_=m.userid),"session"in m&&o(1,u=m.session),"endpoint"in m&&o(2,n=m.endpoint),"datasource"in m&&o(3,c=m.datasource),"lang"in m&&o(4,l=m.lang),"currency"in m&&o(5,h=m.currency),"mbsource"in m&&o(6,d=m.mbsource),"clientstyling"in m&&o(7,p=m.clientstyling),"clientstylingurl"in m&&o(8,y=m.clientstylingurl),"livecasino"in m&&o(9,f=m.livecasino),"visiblegames"in m&&o(10,s=m.visiblegames),"gamepagemodalurl"in m&&o(11,i=m.gamepagemodalurl),"showgamename"in m&&o(12,g=m.showgamename),"integratedgameframedesktop"in m&&o(13,M=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(14,B=m.integratedgameframemobile),"translationurl"in m&&o(15,C=m.translationurl),"favorites"in m&&o(16,w=m.favorites),"mostplayed"in m&&o(17,k=m.mostplayed),"lastplayed"in m&&o(18,F=m.lastplayed),"casinomygames"in m&&o(19,O=m.casinomygames),"lastplayedperiod"in m&&o(20,j=m.lastplayedperiod),"mostplayedperiod"in m&&o(21,q=m.mostplayedperiod),"lastplayedorder"in m&&o(22,S=m.lastplayedorder),"lastplayedlimit"in m&&o(23,N=m.lastplayedlimit),"lastplayedunique"in m&&o(24,D=m.lastplayedunique),"mostplayedrounds"in m&&o(25,T=m.mostplayedrounds)},a.$$.update=()=>{a.$$.dirty[0]&458780&&n&&c&&l&&w&&k&&F&&Y(),a.$$.dirty[0]&32768&&C&&X(),a.$$.dirty[0]&67108992&&p&&v&&e.setClientStyling(v,p),a.$$.dirty[0]&67109120&&y&&v&&e.setClientStylingURL(v,y),a.$$.dirty[0]&67108928&&d&&v&&e.setStreamStyling(v,`${d}.Style`)},[_,u,n,c,l,h,d,p,y,f,s,i,g,M,B,C,w,k,F,O,j,q,S,N,D,T,v,L,z,P,A,r,E,x,$,ee,te]}class Q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,oe,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:15,favorites:16,mostplayed:17,lastplayed:18,casinomygames:19,lastplayedperiod:20,mostplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,lastplayedunique:24,mostplayedrounds:25},le,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[10]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[19]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[25]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}}e.create_custom_element(Q,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=Q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-1EiuG4ja.cjs");function ae({withLocale:a,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function U(a,t){e.addMessages(a,t)}function se(a){e.$locale.set(a)}const I={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSectionNd-DAjCrR4l.cjs")).then(({default:t})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSectionNd-Brc-gVCH.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...o){try{return t.apply(this,o)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSectionNd-CCDktQG1.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",t.element)})}function le(a){e.append_styles(a,"svelte-kjgz4h",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section-nd{display:none}.CasinoMyGames casino-favorites-section-nd.Active{display:block}.CasinoMyGames casino-most-played-section-nd{display:none}.CasinoMyGames casino-most-played-section-nd.Active{display:block}.CasinoMyGames casino-last-played-section-nd{display:none}.CasinoMyGames casino-last-played-section-nd.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function R(a,t,o){const r=a.slice();return r[43]=t[o],r}function ne(a){let t,o,r,_,u,n,c,l,h,d,p,y=e.ensure_array_like(a[29]),f=[];for(let s=0;s<y.length;s+=1)f[s]=K(R(a,y,s));return{c(){t=e.element("div"),o=e.element("div"),r=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();_=e.space(),u=e.element("div"),n=e.element("casino-favorites-section-nd"),c=e.space(),l=e.element("casino-most-played-section-nd"),h=e.space(),d=e.element("casino-last-played-section-nd"),e.attr(r,"class","MyGamesButtonsContainer"),e.attr(o,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[16]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[12]),e.set_custom_element_data(n,"clientstyling",a[7]),e.set_custom_element_data(n,"clientstylingurl",a[8]),e.set_custom_element_data(n,"translationurl",a[15]),e.set_custom_element_data(n,"livecasino",a[9]),e.set_custom_element_data(n,"visiblegames",a[10]),e.set_custom_element_data(n,"gamepagemodalurl",a[11]),e.set_custom_element_data(n,"integratedgameframedesktop",a[13]),e.set_custom_element_data(n,"integratedgameframemobile",a[14]),e.set_custom_element_data(n,"casinomygames",a[19]),e.set_custom_element_data(n,"mbsource",a[6]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[16]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[12]),e.set_custom_element_data(l,"clientstyling",a[7]),e.set_custom_element_data(l,"clientstylingurl",a[8]),e.set_custom_element_data(l,"translationurl",a[15]),e.set_custom_element_data(l,"livecasino",a[9]),e.set_custom_element_data(l,"visiblegames",a[10]),e.set_custom_element_data(l,"gamepagemodalurl",a[11]),e.set_custom_element_data(l,"mostplayedrounds",a[25]),e.set_custom_element_data(l,"integratedgameframedesktop",a[13]),e.set_custom_element_data(l,"integratedgameframemobile",a[14]),e.set_custom_element_data(l,"mostplayedperiod",a[21]),e.set_custom_element_data(l,"casinomygames",a[19]),e.set_custom_element_data(l,"mbsource",a[6]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(d,"userid",a[0]),e.set_custom_element_data(d,"endpoint",a[2]),e.set_custom_element_data(d,"datasource",a[3]),e.set_custom_element_data(d,"favorites",a[16]),e.set_custom_element_data(d,"lang",a[4]),e.set_custom_element_data(d,"currency",a[5]),e.set_custom_element_data(d,"session",a[1]),e.set_custom_element_data(d,"class","CategoryContainer"),e.set_custom_element_data(d,"showgamename",a[12]),e.set_custom_element_data(d,"clientstyling",a[7]),e.set_custom_element_data(d,"clientstylingurl",a[8]),e.set_custom_element_data(d,"translationurl",a[15]),e.set_custom_element_data(d,"livecasino",a[9]),e.set_custom_element_data(d,"visiblegames",a[10]),e.set_custom_element_data(d,"lastplayedperiod",a[20]),e.set_custom_element_data(d,"lastplayedorder",a[22]),e.set_custom_element_data(d,"lastplayedlimit",a[23]),e.set_custom_element_data(d,"lastplayedunique",a[24]),e.set_custom_element_data(d,"gamepagemodalurl",a[11]),e.set_custom_element_data(d,"integratedgameframedesktop",a[13]),e.set_custom_element_data(d,"integratedgameframemobile",a[14]),e.set_custom_element_data(d,"casinomygames",a[19]),e.set_custom_element_data(d,"mbsource",a[6]),e.toggle_class(d,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,i){e.insert(s,t,i),e.append(t,o),e.append(o,r);for(let g=0;g<f.length;g+=1)f[g]&&f[g].m(r,null);e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),e.append(u,h),e.append(u,d)},p(s,i){if(i[0]&1745289216|i[1]&3){y=e.ensure_array_like(s[29]);let g;for(g=0;g<y.length;g+=1){const M=R(s,y,g);f[g]?f[g].p(M,i):(f[g]=K(M),f[g].c(),f[g].m(r,null))}for(;g<f.length;g+=1)f[g].d(1);f.length=y.length}i[0]&2&&e.set_custom_element_data(n,"session",s[1]),i[0]&1&&e.set_custom_element_data(n,"userid",s[0]),i[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(n,"lang",s[4]),i[0]&32&&e.set_custom_element_data(n,"currency",s[5]),i[0]&65536&&e.set_custom_element_data(n,"favorites",s[16]),i[0]&4096&&e.set_custom_element_data(n,"showgamename",s[12]),i[0]&128&&e.set_custom_element_data(n,"clientstyling",s[7]),i[0]&256&&e.set_custom_element_data(n,"clientstylingurl",s[8]),i[0]&32768&&e.set_custom_element_data(n,"translationurl",s[15]),i[0]&512&&e.set_custom_element_data(n,"livecasino",s[9]),i[0]&1024&&e.set_custom_element_data(n,"visiblegames",s[10]),i[0]&2048&&e.set_custom_element_data(n,"gamepagemodalurl",s[11]),i[0]&8192&&e.set_custom_element_data(n,"integratedgameframedesktop",s[13]),i[0]&16384&&e.set_custom_element_data(n,"integratedgameframemobile",s[14]),i[0]&524288&&e.set_custom_element_data(n,"casinomygames",s[19]),i[0]&64&&e.set_custom_element_data(n,"mbsource",s[6]),i[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),i[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),i[0]&16&&e.set_custom_element_data(l,"lang",s[4]),i[0]&32&&e.set_custom_element_data(l,"currency",s[5]),i[0]&2&&e.set_custom_element_data(l,"session",s[1]),i[0]&1&&e.set_custom_element_data(l,"userid",s[0]),i[0]&65536&&e.set_custom_element_data(l,"favorites",s[16]),i[0]&4096&&e.set_custom_element_data(l,"showgamename",s[12]),i[0]&128&&e.set_custom_element_data(l,"clientstyling",s[7]),i[0]&256&&e.set_custom_element_data(l,"clientstylingurl",s[8]),i[0]&32768&&e.set_custom_element_data(l,"translationurl",s[15]),i[0]&512&&e.set_custom_element_data(l,"livecasino",s[9]),i[0]&1024&&e.set_custom_element_data(l,"visiblegames",s[10]),i[0]&2048&&e.set_custom_element_data(l,"gamepagemodalurl",s[11]),i[0]&33554432&&e.set_custom_element_data(l,"mostplayedrounds",s[25]),i[0]&8192&&e.set_custom_element_data(l,"integratedgameframedesktop",s[13]),i[0]&16384&&e.set_custom_element_data(l,"integratedgameframemobile",s[14]),i[0]&2097152&&e.set_custom_element_data(l,"mostplayedperiod",s[21]),i[0]&524288&&e.set_custom_element_data(l,"casinomygames",s[19]),i[0]&64&&e.set_custom_element_data(l,"mbsource",s[6]),i[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),i[0]&1&&e.set_custom_element_data(d,"userid",s[0]),i[0]&4&&e.set_custom_element_data(d,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(d,"datasource",s[3]),i[0]&65536&&e.set_custom_element_data(d,"favorites",s[16]),i[0]&16&&e.set_custom_element_data(d,"lang",s[4]),i[0]&32&&e.set_custom_element_data(d,"currency",s[5]),i[0]&2&&e.set_custom_element_data(d,"session",s[1]),i[0]&4096&&e.set_custom_element_data(d,"showgamename",s[12]),i[0]&128&&e.set_custom_element_data(d,"clientstyling",s[7]),i[0]&256&&e.set_custom_element_data(d,"clientstylingurl",s[8]),i[0]&32768&&e.set_custom_element_data(d,"translationurl",s[15]),i[0]&512&&e.set_custom_element_data(d,"livecasino",s[9]),i[0]&1024&&e.set_custom_element_data(d,"visiblegames",s[10]),i[0]&1048576&&e.set_custom_element_data(d,"lastplayedperiod",s[20]),i[0]&4194304&&e.set_custom_element_data(d,"lastplayedorder",s[22]),i[0]&8388608&&e.set_custom_element_data(d,"lastplayedlimit",s[23]),i[0]&16777216&&e.set_custom_element_data(d,"lastplayedunique",s[24]),i[0]&2048&&e.set_custom_element_data(d,"gamepagemodalurl",s[11]),i[0]&8192&&e.set_custom_element_data(d,"integratedgameframedesktop",s[13]),i[0]&16384&&e.set_custom_element_data(d,"integratedgameframemobile",s[14]),i[0]&524288&&e.set_custom_element_data(d,"casinomygames",s[19]),i[0]&64&&e.set_custom_element_data(d,"mbsource",s[6]),i[0]&134217728&&e.toggle_class(d,"Active",s[27]=="LastPlayed"),i[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function J(a){let t,o=a[31]("favorites")+"",r,_,u,n,c,l,h,d,p;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),u=e.element("span"),n=e.text("("),c=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(y,f){e.insert(y,t,f),e.append(t,r),e.append(t,_),e.append(t,u),e.append(u,n),e.append(u,c),e.append(u,l),d||(p=e.listen(t,"click",a[33]),d=!0)},p(y,f){f[1]&1&&o!==(o=y[31]("favorites")+"")&&e.set_data(r,o),f[0]&1073741824&&e.set_data(c,y[30]),f[0]&134283264&&h!==(h="MyGamesButton "+(y[27]=="Favorites"?"Active":"")+" "+(y[16]=="false"?"Off":""))&&e.attr(t,"class",h)},d(y){y&&e.detach(t),d=!1,p()}}}function V(a){let t,o=a[31]("mostPlayed")+"",r,_,u,n;return{c(){t=e.element("button"),r=e.text(o),e.attr(t,"class",_="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(c,l){e.insert(c,t,l),e.append(t,r),u||(n=e.listen(t,"click",a[34]),u=!0)},p(c,l){l[1]&1&&o!==(o=c[31]("mostPlayed")+"")&&e.set_data(r,o),l[0]&134348800&&_!==(_="MyGamesButton "+(c[27]=="MostPlayed"?"Active":"")+" "+(c[17]=="false"?"Off":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),u=!1,n()}}}function Z(a){let t,o=a[31]("recentlyPlayed")+"",r,_,u,n,c;return{c(){t=e.element("button"),r=e.text(o),_=e.space(),e.attr(t,"class",u="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[18]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,r),e.append(t,_),n||(c=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&o!==(o=l[31]("recentlyPlayed")+"")&&e.set_data(r,o),h[0]&134479872&&u!==(u="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[18]=="false"?"Off":""))&&e.attr(t,"class",u)},d(l){l&&e.detach(t),n=!1,c()}}}function K(a){let t,o,r,_=a[43]=="Favorites"&&J(a),u=a[43]=="MostPlayed"&&V(a),n=a[43]=="LastPlayed"&&Z(a);return{c(){_&&_.c(),t=e.space(),u&&u.c(),o=e.space(),n&&n.c(),r=e.empty()},m(c,l){_&&_.m(c,l),e.insert(c,t,l),u&&u.m(c,l),e.insert(c,o,l),n&&n.m(c,l),e.insert(c,r,l)},p(c,l){c[43]=="Favorites"?_?_.p(c,l):(_=J(c),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),c[43]=="MostPlayed"?u?u.p(c,l):(u=V(c),u.c(),u.m(o.parentNode,o)):u&&(u.d(1),u=null),c[43]=="LastPlayed"?n?n.p(c,l):(n=Z(c),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},d(c){c&&(e.detach(t),e.detach(o),e.detach(r)),_&&_.d(c),u&&u.d(c),n&&n.d(c)}}}function oe(a){let t;function o(u,n){if(u[19])return ne}let r=o(a),_=r&&r(a);return{c(){t=e.element("div"),_&&_.c()},m(u,n){e.insert(u,t,n),_&&_.m(t,null),a[36](t)},p(u,n){r===(r=o(u))&&_?_.p(u,n):(_&&_.d(1),_=r&&r(u),_&&(_.c(),_.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),_&&_.d(),a[36](null)}}}function ie(a,t,o){let r;e.component_subscribe(a,e.$format,m=>o(31,r=m));let{userid:_=""}=t,{session:u=""}=t,{endpoint:n=""}=t,{datasource:c=""}=t,{lang:l=""}=t,{currency:h=""}=t,{mbsource:d}=t,{clientstyling:p=""}=t,{clientstylingurl:y=""}=t,{livecasino:f=""}=t,{visiblegames:s=""}=t,{gamepagemodalurl:i=""}=t,{showgamename:g=""}=t,{integratedgameframedesktop:M=""}=t,{integratedgameframemobile:B=""}=t,{translationurl:C=""}=t,{favorites:w="false"}=t,{mostplayed:k="false"}=t,{lastplayed:F="false"}=t,{casinomygames:O="false"}=t,{lastplayedperiod:j="Last30Days"}=t,{mostplayedperiod:q="Last30Days"}=t,{lastplayedorder:S=""}=t,{lastplayedlimit:N=""}=t,{lastplayedunique:D="true"}=t,{mostplayedrounds:T=""}=t,W=window.navigator.userAgent,v,L="",z=!1,P=["","",""],A="0";ae({withLocale:"en",translations:{}});const X=()=>{fetch(C).then(b=>b.json()).then(b=>{Object.keys(b).forEach(G=>{U(G,b[G])})}).catch(b=>{console.log(b)})};Object.keys(I).forEach(m=>{U(m,I[m])});const E=m=>{L!==m&&o(27,L=m)},Y=()=>{o(27,L=w==="true"?"Favorites":k==="true"?"MostPlayed":F==="true"?"LastPlayed":""),o(29,P[0]=w==="true"?"Favorites":"",P),o(29,P[1]=k==="true"?"MostPlayed":"",P),o(29,P[2]=F==="true"?"LastPlayed":"",P),se(l)},H=m=>{var b,G;if(m.data)switch(m.data.type){case"UpdateFavoritesCount":m.data.favoriteGamesLength!==void 0?o(30,A=m.data.favoriteGamesLength):o(30,A=(G=(b=m.data.listOfFavoritesGames)==null?void 0:b.length)!=null?G:0);break}};e.onMount(()=>(window.addEventListener("message",H,!1),o(28,z=e.isMobile(W)),()=>{window.removeEventListener("message",H)}));const x=()=>E("Favorites"),$=()=>E("MostPlayed"),ee=()=>E("LastPlayed");function te(m){e.binding_callbacks[m?"unshift":"push"](()=>{v=m,o(26,v)})}return a.$$set=m=>{"userid"in m&&o(0,_=m.userid),"session"in m&&o(1,u=m.session),"endpoint"in m&&o(2,n=m.endpoint),"datasource"in m&&o(3,c=m.datasource),"lang"in m&&o(4,l=m.lang),"currency"in m&&o(5,h=m.currency),"mbsource"in m&&o(6,d=m.mbsource),"clientstyling"in m&&o(7,p=m.clientstyling),"clientstylingurl"in m&&o(8,y=m.clientstylingurl),"livecasino"in m&&o(9,f=m.livecasino),"visiblegames"in m&&o(10,s=m.visiblegames),"gamepagemodalurl"in m&&o(11,i=m.gamepagemodalurl),"showgamename"in m&&o(12,g=m.showgamename),"integratedgameframedesktop"in m&&o(13,M=m.integratedgameframedesktop),"integratedgameframemobile"in m&&o(14,B=m.integratedgameframemobile),"translationurl"in m&&o(15,C=m.translationurl),"favorites"in m&&o(16,w=m.favorites),"mostplayed"in m&&o(17,k=m.mostplayed),"lastplayed"in m&&o(18,F=m.lastplayed),"casinomygames"in m&&o(19,O=m.casinomygames),"lastplayedperiod"in m&&o(20,j=m.lastplayedperiod),"mostplayedperiod"in m&&o(21,q=m.mostplayedperiod),"lastplayedorder"in m&&o(22,S=m.lastplayedorder),"lastplayedlimit"in m&&o(23,N=m.lastplayedlimit),"lastplayedunique"in m&&o(24,D=m.lastplayedunique),"mostplayedrounds"in m&&o(25,T=m.mostplayedrounds)},a.$$.update=()=>{a.$$.dirty[0]&458780&&n&&c&&l&&w&&k&&F&&Y(),a.$$.dirty[0]&32768&&C&&X(),a.$$.dirty[0]&67108992&&p&&v&&e.setClientStyling(v,p),a.$$.dirty[0]&67109120&&y&&v&&e.setClientStylingURL(v,y),a.$$.dirty[0]&67108928&&d&&v&&e.setStreamStyling(v,`${d}.Style`)},[_,u,n,c,l,h,d,p,y,f,s,i,g,M,B,C,w,k,F,O,j,q,S,N,D,T,v,L,z,P,A,r,E,x,$,ee,te]}class Q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,oe,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:15,favorites:16,mostplayed:17,lastplayed:18,casinomygames:19,lastplayedperiod:20,mostplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,lastplayedunique:24,mostplayedrounds:25},le,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[10]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[19]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[25]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}}e.create_custom_element(Q,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=Q;
@@ -14,10 +14,10 @@ var le = (t, e, a) => new Promise((s, l) => {
14
14
  }, m = (c) => c.done ? s(c.value) : Promise.resolve(c.value).then(o, r);
15
15
  m((a = a.apply(t, e)).next());
16
16
  });
17
- import { $ as Ye, O as Fi, a as Gi, S as Ni, i as Ii, f, s as Bi, K as Oi, b as Di, d as p, t as V, c as U, g as me, e as he, h as k, j as w, k as Ti, l as gi, W as Ri, o as Wi, n as $, m as be, p as P, q as ye, r as D, E as i, B as W, V as Ha, P as Se, C as Ue, T as Pe, R as Va, A as Y, v as Ka, Y as zi, _ as Ai, M as qi, G as Qa, a0 as Ui, u as Yi, x as Ji, y as Hi, z as Vi, a1 as Ki, L as Qi, H as Zi, I as Xi, J as xi } from "./CasinoCalendar-DWprq3Up.js";
18
- import "./CasinoFavoritesSectionNd-BO5Gv4XQ.js";
19
- import "../stencil/casino-play-random-game-CNkwfnjq.js";
20
- import "./CasinoGamesCategorySectionNd-CKAJcNzR.js";
17
+ import { $ as Ye, O as Fi, a as Gi, S as Ni, i as Ii, f, s as Bi, K as Oi, b as Di, d as p, t as V, c as U, g as me, e as he, h as k, j as w, k as Ti, l as gi, W as Ri, o as Wi, n as $, m as be, p as P, q as ye, r as D, E as i, B as W, V as Ha, P as Se, C as Ue, T as Pe, R as Va, A as Y, v as Ka, Y as zi, _ as Ai, M as qi, G as Qa, a0 as Ui, u as Yi, x as Ji, y as Hi, z as Vi, a1 as Ki, L as Qi, H as Zi, I as Xi, J as xi } from "./CasinoCalendar-BeFhOf4A.js";
18
+ import "./CasinoFavoritesSectionNd-h53SK3bH.js";
19
+ import "../stencil/casino-play-random-game-FWimws-s.js";
20
+ import "./CasinoGamesCategorySectionNd-Ag5Tj4JP.js";
21
21
  function $i({ withLocale: t, translations: e }) {
22
22
  Ye.subscribe((a) => {
23
23
  a == null && (Fi.set(e), Ye.set(t));
@@ -285,7 +285,7 @@ if (typeof window != "undefined") {
285
285
  }
286
286
  };
287
287
  };
288
- customElements.define = t(customElements.define), import("./CasinoRandomGame-DgwvXr3L.js").then(({ default: e }) => {
288
+ customElements.define = t(customElements.define), import("./CasinoRandomGame-DJL8U-gh.js").then(({ default: e }) => {
289
289
  !customElements.get("casino-random-game") && customElements.define("casino-random-game", e.element);
290
290
  });
291
291
  }
@@ -301,7 +301,7 @@ if (typeof window != "undefined") {
301
301
  }
302
302
  };
303
303
  };
304
- customElements.define = t(customElements.define), import("./CasinoWinners-C4hnivSF.js").then(({ default: e }) => {
304
+ customElements.define = t(customElements.define), import("./CasinoWinners-Cd5X-I3l.js").then(({ default: e }) => {
305
305
  !customElements.get("casino-winners") && customElements.define("casino-winners", e.element);
306
306
  });
307
307
  }
@@ -317,7 +317,7 @@ if (typeof window != "undefined") {
317
317
  }
318
318
  };
319
319
  };
320
- customElements.define = t(customElements.define), import("./CasinoJackpotBanner-DqIZizFB.js").then(({ default: e }) => {
320
+ customElements.define = t(customElements.define), import("./CasinoJackpotBanner-Di723weh.js").then(({ default: e }) => {
321
321
  !customElements.get("casino-jackpot-banner") && customElements.define("casino-jackpot-banner", e.element);
322
322
  });
323
323
  }
@@ -333,7 +333,7 @@ if (typeof window != "undefined") {
333
333
  }
334
334
  };
335
335
  };
336
- customElements.define = t(customElements.define), import("./CasinoCollectionsProviders-LcGduY03.js").then(({ default: e }) => {
336
+ customElements.define = t(customElements.define), import("./CasinoCollectionsProviders-DL8SGKDA.js").then(({ default: e }) => {
337
337
  !customElements.get("casino-collections-providers") && customElements.define("casino-collections-providers", e.element);
338
338
  });
339
339
  }
@@ -349,7 +349,7 @@ if (typeof window != "undefined") {
349
349
  }
350
350
  };
351
351
  };
352
- customElements.define = t(customElements.define), import("./CasinoMyGamesNd-DyvlKH0N.js").then(({ default: e }) => {
352
+ customElements.define = t(customElements.define), import("./CasinoMyGamesNd-DXPTD3HX.js").then(({ default: e }) => {
353
353
  !customElements.get("casino-my-games-nd") && customElements.define("casino-my-games-nd", e.element);
354
354
  });
355
355
  }
@@ -365,7 +365,7 @@ if (typeof window != "undefined") {
365
365
  }
366
366
  };
367
367
  };
368
- customElements.define = t(customElements.define), import("./CasinoSearchNd-C7QNS9Ai.js").then(({ default: e }) => {
368
+ customElements.define = t(customElements.define), import("./CasinoSearchNd-BtjkElM4.js").then(({ default: e }) => {
369
369
  !customElements.get("casino-search-nd") && customElements.define("casino-search-nd", e.element);
370
370
  });
371
371
  }
@@ -381,7 +381,7 @@ if (typeof window != "undefined") {
381
381
  }
382
382
  };
383
383
  };
384
- customElements.define = t(customElements.define), import("./CasinoCalendar-DWprq3Up.js").then((e) => e.a2).then(({ default: e }) => {
384
+ customElements.define = t(customElements.define), import("./CasinoCalendar-BeFhOf4A.js").then((e) => e.a2).then(({ default: e }) => {
385
385
  !customElements.get("casino-calendar") && customElements.define("casino-calendar", e.element);
386
386
  });
387
387
  }