@everymatrix/casino-page 1.60.1 → 1.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/components/CasinoCalendar-3HhwEwWn.cjs +19 -0
  2. package/components/{CasinoCalendar-DttQUJ_p.js → CasinoCalendar-GcgbEHRq.js} +645 -667
  3. package/components/{CasinoCalendar-Bm8jJ1Mr.js → CasinoCalendar-oLa-PBk3.js} +945 -967
  4. package/components/CasinoCalendarDailyDetails-BEdoO9V0.js +694 -0
  5. package/components/CasinoCalendarDailyDetails-C-hKLl6t.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-CXZ_e7er.js +694 -0
  7. package/components/CasinoCalendarDailyItem-B0UT8hgo.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-BYnarlby.js +307 -0
  9. package/components/CasinoCalendarDailyItem-C4zOqGfT.js +307 -0
  10. package/components/{CasinoCollectionsProviders-CYGBqFuD.js → CasinoCollectionsProviders-Bd9bpqwJ.js} +196 -194
  11. package/components/{CasinoCollectionsProviders-LsjiLvS-.js → CasinoCollectionsProviders-BsCnHvy0.js} +157 -156
  12. package/components/CasinoCollectionsProviders-C9JSj4NQ.cjs +1 -0
  13. package/components/{CasinoFavoritesSection-CyWrstaf.js → CasinoFavoritesSection-BuCiSBck.js} +28 -28
  14. package/components/{CasinoFavoritesSection-Bt29LuMk.cjs → CasinoFavoritesSection-CF66gauh.cjs} +1 -1
  15. package/components/{CasinoFavoritesSection-CagalPJ1.js → CasinoFavoritesSection-CpfPEdvZ.js} +28 -28
  16. package/components/CasinoFilter-BDAzYLsu.cjs +1 -0
  17. package/components/CasinoFilter-DGSFnnFj.js +633 -0
  18. package/components/CasinoFilter-DlzXE2oW.js +632 -0
  19. package/components/CasinoGameThumbnail-8ZDDnalK.js +3592 -0
  20. package/components/CasinoGameThumbnail-CmqedVBx.js +3608 -0
  21. package/components/CasinoGameThumbnail-YSK9ny6q.cjs +39 -0
  22. package/components/{CasinoGamesCategorySection-B3Bp6l_k.js → CasinoGamesCategorySection-Cl02LfPB.js} +248 -248
  23. package/components/{CasinoGamesCategorySection-CRtCMAjp.js → CasinoGamesCategorySection-f_qKSuc4.js} +247 -247
  24. package/components/{CasinoGamesCategorySection-D92ROEU1.cjs → CasinoGamesCategorySection-op_Pcf3z.cjs} +1 -1
  25. package/components/CasinoJackpotBanner-BxJ0cXYz.js +698 -0
  26. package/components/CasinoJackpotBanner-CUg-WrqE.cjs +1 -0
  27. package/components/CasinoJackpotBanner-DltYb9oB.js +694 -0
  28. package/components/{CasinoLastPlayedSection-yMWIttip.js → CasinoLastPlayedSection-B9ZLZ2fh.js} +39 -39
  29. package/components/{CasinoLastPlayedSection-e_AhXxxn.js → CasinoLastPlayedSection-BCY1n_9B.js} +39 -39
  30. package/components/{CasinoLastPlayedSection-CP9dX4CD.cjs → CasinoLastPlayedSection-DvpriSWH.cjs} +1 -1
  31. package/components/{CasinoMostPlayedSection-CLC4ygQi.js → CasinoMostPlayedSection-Cf6tsgDE.js} +44 -44
  32. package/components/{CasinoMostPlayedSection-HE-myBqe.js → CasinoMostPlayedSection-Cuc6JAr3.js} +44 -44
  33. package/components/{CasinoMostPlayedSection-DYSGy8eM.cjs → CasinoMostPlayedSection-DbcxZpH3.cjs} +1 -1
  34. package/components/{CasinoMyGames-D49GZGiX.cjs → CasinoMyGames-CaL_anj-.cjs} +1 -1
  35. package/components/{CasinoMyGames-Cks_AoFO.js → CasinoMyGames-D8iC3rfB.js} +43 -43
  36. package/components/{CasinoMyGames-CuPK_rPf.js → CasinoMyGames-DJ7UmtLu.js} +43 -43
  37. package/components/{CasinoPage-s40JstlB.cjs → CasinoPage-Bhbhj9cp.cjs} +1 -1
  38. package/components/{CasinoPage-BQeQvwZz.js → CasinoPage-D-SgeItH.js} +99 -99
  39. package/components/{CasinoPage-D1568shu.js → CasinoPage-WV1OQ9DA.js} +94 -94
  40. package/components/{CasinoRandomGame-D3B5tI8S.js → CasinoRandomGame-C06GQcl6.js} +191 -190
  41. package/components/{CasinoRandomGame-DfLR0r0i.js → CasinoRandomGame-C5dTPlxd.js} +150 -149
  42. package/components/CasinoRandomGame-CqD9l308.cjs +2 -0
  43. package/components/{CasinoSearch-CHpx5Vs-.js → CasinoSearch-CP7pv_Rx.js} +80 -80
  44. package/components/{CasinoSearch-B_glDkCU.cjs → CasinoSearch-DOe-FAq6.cjs} +1 -1
  45. package/components/{CasinoSearch-CjRXYPxE.js → CasinoSearch-VAKEMXqH.js} +78 -78
  46. package/components/{CasinoSort-DX5EmYm_.js → CasinoSort-CFs4TBdS.js} +104 -103
  47. package/components/{CasinoSort-BU6PWDpY.js → CasinoSort-CScmWM1F.js} +110 -111
  48. package/components/{CasinoSort-DcG0TUN4.cjs → CasinoSort-DdDbgCmx.cjs} +1 -1
  49. package/components/CasinoWinners-C5CqUsG7.cjs +1 -0
  50. package/components/{CasinoWinners-CYRn98z1.js → CasinoWinners-ClL_FA-b.js} +182 -181
  51. package/components/{CasinoWinners-BOa69aMH.js → CasinoWinners-yd5GvHIp.js} +190 -189
  52. package/components/{GeneralAnimationLoading-CXZNRm34.js → GeneralAnimationLoading-CrrQFcSB.js} +18 -18
  53. package/components/{GeneralAnimationLoading-B40sJaX7.cjs → GeneralAnimationLoading-DKjMWmUN.cjs} +1 -1
  54. package/components/{GeneralAnimationLoading-D0rjnOL3.js → GeneralAnimationLoading-Dhq5pG4U.js} +18 -18
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +1 -1
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/app-globals-0f993ce5-4b17CI_n.cjs +1 -0
  60. package/stencil/{app-globals-0f993ce5-Cgk0KVAu.js → app-globals-0f993ce5-DfNOCk8l.js} +3 -1
  61. package/stencil/{casino-play-random-game-Bk7toWLj.js → casino-play-random-game-6EpPs13y.js} +4 -9
  62. package/stencil/{casino-play-random-game-BW66Civ1.js → casino-play-random-game-BUvMKyaw.js} +7 -12
  63. package/stencil/{casino-play-random-game-CKM_xKne.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  64. package/stencil/index-ab3202d6-9zuW-dLG.js +575 -0
  65. package/stencil/index-ab3202d6-CGVciVSL.js +559 -0
  66. package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +1 -0
  67. package/stencil/index-b2193545-CGYrx6SV.js +503 -0
  68. package/stencil/index-b2193545-DU7jU8hT.cjs +1 -0
  69. package/stencil/index-b2193545-k_uiu1dU.js +519 -0
  70. package/stencil/index-b7bbd57e-BMsMsYAr.js +550 -0
  71. package/stencil/index-b7bbd57e-CPxyz2y0.js +534 -0
  72. package/stencil/index-b7bbd57e-CiQAmzc6.cjs +1 -0
  73. package/stencil/ui-image-38c3c15f--IPbitii.js +39 -0
  74. package/stencil/ui-image-38c3c15f-CQXMTl7T.js +39 -0
  75. package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +1 -0
  76. package/stencil/ui-image-CV8AJ9cY.js +29 -0
  77. package/stencil/ui-image-DG3xEaHN.js +11 -0
  78. package/stencil/ui-image-LuWVcxjH.cjs +1 -0
  79. package/stencil/{ui-skeleton-sAoxznwb.js → ui-skeleton-22AocHRT.js} +8 -8
  80. package/stencil/{ui-skeleton-ea659b95-DmKUoob8.js → ui-skeleton-6d1c12ae-4HBL8qol.js} +2 -2
  81. package/stencil/{ui-skeleton-ea659b95-CvOjl779.cjs → ui-skeleton-6d1c12ae-C3POR2WV.cjs} +2 -2
  82. package/stencil/{ui-skeleton-ea659b95-CaDtZrvR.js → ui-skeleton-6d1c12ae-f1sFu8zZ.js} +2 -2
  83. package/stencil/{ui-skeleton-BpUWeWAr.js → ui-skeleton-CMD3xF0X.js} +5 -5
  84. package/stencil/{ui-skeleton-D2GYc4Vd.cjs → ui-skeleton-Di9b-pPK.cjs} +1 -1
  85. package/components/CasinoCalendar-DBpyNdzX.cjs +0 -19
  86. package/components/CasinoCalendarDailyDetails-BRtEBxYn.js +0 -693
  87. package/components/CasinoCalendarDailyDetails-Cjdo10t8.cjs +0 -1
  88. package/components/CasinoCalendarDailyDetails-DesTWpk5.js +0 -693
  89. package/components/CasinoCalendarDailyItem-B4jvb1pM.js +0 -306
  90. package/components/CasinoCalendarDailyItem-D0zUyBnz.cjs +0 -1
  91. package/components/CasinoCalendarDailyItem-D7jrZ_LJ.js +0 -306
  92. package/components/CasinoCollectionsProviders-NvzBTvSZ.cjs +0 -1
  93. package/components/CasinoFilter-DBAa4rgv.js +0 -631
  94. package/components/CasinoFilter-DC7UpKxg.js +0 -632
  95. package/components/CasinoFilter-DVMmkZnS.cjs +0 -1
  96. package/components/CasinoGameThumbnail-B7uy1GX3.js +0 -4390
  97. package/components/CasinoGameThumbnail-CMb4reBZ.js +0 -4406
  98. package/components/CasinoGameThumbnail-CoqIabrC.cjs +0 -47
  99. package/components/CasinoJackpotBanner-BgpQokE3.cjs +0 -1
  100. package/components/CasinoJackpotBanner-C2j1yUXk.js +0 -697
  101. package/components/CasinoJackpotBanner-CFJR1YWM.js +0 -693
  102. package/components/CasinoRandomGame-C1nrrW2N.cjs +0 -2
  103. package/components/CasinoWinners-DwOZC8ON.cjs +0 -1
  104. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
  105. package/stencil/index-ab3202d6-BW1TSmQg.js +0 -575
  106. package/stencil/index-ab3202d6-C6VFhXtX.cjs +0 -1
  107. package/stencil/index-ab3202d6-CkTejM5U.js +0 -559
  108. package/stencil/index-b2193545-BDVBrmNo.js +0 -503
  109. package/stencil/index-b2193545-CY979_sp.js +0 -519
  110. package/stencil/index-b2193545-DPplmtxO.cjs +0 -1
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DBpyNdzX.cjs");function E(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"svelte-3oqkg3",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.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--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,b,v,w,d=i[7]>i[8]&&V(i),m=e.ensure_array_like(i[3]),s=[];for(let c=0;c<m.length;c+=1)s[c]=K(I(i,m,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),b=e.space(),v=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(v,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,b),e.append(t,v);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(v,null);i[25](v)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){m=e.ensure_array_like(c[3]);let h;for(h=0;h<m.length;h+=1){const p=I(c,m,h);s[h]?s[h].p(p,u):(s[h]=K(p),s[h].c(),s[h].m(v,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=m.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ce(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(b,v){e.insert(b,t,v),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(b){b&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.attr(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function D(i){let t,l,r,o,a,g,b,v;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),d&&d.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(m,s){e.insert(m,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),b||(v=e.listen(l,"click",e.stop_propagation(w)),b=!0)},p(m,s){i=m,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.attr(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(m){m&&e.detach(t),d&&d.d(),b=!1,v()}}}function K(i){let t,l,r,o,a,g,b,v,w;function d(p,f){if(p[1]==="logo")return ue;if(p[1]==="title")return ge}let m=d(i),s=m&&m(i),c=e.ensure_array_like(i[41].games),u=[];for(let p=0;p<c.length;p+=1)u[p]=D(U(i,c,p));function h(){return i[24](i[41])}return{c(){var p,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let _=0;_<u.length;_+=1)u[_].c();b=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((p=i[41])==null?void 0:p.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(p,f){e.insert(p,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let _=0;_<u.length;_+=1)u[_]&&u[_].m(a,null);e.append(t,b),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var _,S;if(i=p,m===(m=d(i))&&s?s.p(i,f):(s&&s.d(1),s=m&&m(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let y;for(y=0;y<c.length;y+=1){const L=U(i,c,y);u[y]?u[y].p(L,f):(u[y]=D(L),u[y].c(),u[y].m(a,null))}for(;y<u.length;y+=1)u[y].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((_=i[41])==null?void 0:_.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((S=i[41])==null?void 0:S.background)+")")},d(p){p&&e.detach(t),s&&s.d(),e.destroy_each(u,p),v=!1,w()}}}function pe(i){let t;function l(a,g){return a[6]?ce:de}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function me(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:b=""}=t,{titletype:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:m=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,p,f=0,_=0,S=0,y,L,x=0,M=50,j=!1,k,J=window.navigator.userAgent,T;const X=()=>{fetch(m).then(C=>C.json()).then(C=>{Object.keys(C).forEach(G=>{E(G,C[G])})}).catch(C=>{console.log(C)})};Object.keys(R).forEach(n=>{E(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${b})`),n.searchParams.append("pagination",`offset=${x},limit=${M}`),fetch(n.href).then(C=>C.json()).then(C=>{l(6,h=!1),C.total>M&&(x+=50,M+=50,l(22,j=!0));let G=C.items.map(P=>{var q,A,N;return{id:P.id,name:P.name,icon:P.icon?P.icon:(N=(A=(q=P.vendors)==null?void 0:q.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:P.games.items.slice(0,4).map(re=>re),background:P.background,flag:P.flags}});l(3,u=[...u,...G]),l(7,_=u.length),Y()})},Y=()=>{const n=k.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},O=n=>{L=[...p.children],L.forEach((C,G)=>{C.style.transform=`translateX(${100*(n?G-n:G)}%)`}),y=L[0].getBoundingClientRect().width,Q()},Q=()=>{l(8,S=Math.floor(p.clientWidth/y))},H=()=>{O(f)},$=()=>{f===0?f=_-S:f-S<-1?f=0:f--,H()},ee=()=>{f===_-S?f=0:_-S<f+1?f=_-S:f++,H()},z=(n,C,G,P)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:C,gameName:G,subVendor:P},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${G}`})},B=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(J)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>B(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{k=n,l(5,k)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,b=n.type),"titletype"in n&&l(1,v=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,m=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&p&&O(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&k&&e.setClientStyling(k,w),i.$$.dirty[0]&524320&&d&&k&&e.setClientStylingURL(k,d),i.$$.dirty[0]&2097184&&k&&e.setStreamStyling(k,`${c}.Style`),i.$$.dirty[0]&1048576&&m&&X(),i.$$.dirty[0]&4194304&&j&&F()},[b,v,s,u,p,k,h,_,S,T,r,$,ee,z,B,o,a,g,w,d,m,c,j,ie,le,ne,oe]}class Z extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,pe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},se,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(Z,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=Z;
@@ -1,631 +0,0 @@
1
- import { $ as le, P as fe, a as ue, S as ge, i as me, f as I, c as he, s as Fe, b as be, e as m, d as B, G as re, j as V, k as ye, o as ve, l as we, R as _e, q as Ce, r as ke, m as xe, v as ie, J as ee, w as D, x as T, y as o, z as s, A as te, E as j, F as Se, N as pe, T as ae, I as Ie, H as ne } from "./CasinoCalendar-DttQUJ_p.js";
2
- function Le({ withLocale: r, translations: e }) {
3
- le.subscribe((t) => {
4
- t == null && (fe.set(e), le.set(r));
5
- });
6
- }
7
- function oe(r, e) {
8
- ue(r, e);
9
- }
10
- const se = {
11
- en: {
12
- providers: "Providers:",
13
- filterby: "Filter by:",
14
- all: "All",
15
- clear: "Clear all"
16
- },
17
- zh: {
18
- providers: "Providers:",
19
- filterby: "Filter by",
20
- all: "all",
21
- clear: "Clear all"
22
- },
23
- de: {
24
- providers: "Providers:",
25
- filterby: "Filter by:",
26
- all: "all",
27
- clear: "Clear all"
28
- },
29
- it: {
30
- providers: "Providers:",
31
- filterby: "Filter by:",
32
- all: "all",
33
- clear: "Clear all"
34
- },
35
- fr: {
36
- providers: "Providers:",
37
- filterby: "Filter by:",
38
- all: "all",
39
- clear: "Clear all"
40
- },
41
- es: {
42
- providers: "Proveedores:",
43
- filterby: "Filtrar Por:",
44
- all: "Todos",
45
- clear: "Limpiar todos"
46
- },
47
- tr: {
48
- providers: "Sağlayıcılar:",
49
- filterby: "Filtrele:",
50
- all: "Hepsi",
51
- clear: "Tümünü Temizle"
52
- },
53
- ru: {
54
- providers: "Providers:",
55
- filterby: "Filter by:",
56
- all: "all",
57
- clear: "Clear all"
58
- },
59
- ro: {
60
- providers: "Providers:",
61
- filterby: "Filter by:",
62
- all: "all",
63
- clear: "Clear all"
64
- },
65
- hr: {
66
- providers: "Brendovi igara",
67
- filterby: "Filtrirati po:",
68
- all: "Sve",
69
- clear: "Očisti sve"
70
- },
71
- hu: {
72
- providers: "Providers:",
73
- filterby: "Filter by:",
74
- all: "all",
75
- clear: "Clear all"
76
- },
77
- pl: {
78
- providers: "Providers:",
79
- filterby: "Filter by:",
80
- all: "all",
81
- clear: "Clear all"
82
- },
83
- pt: {
84
- providers: "Providers:",
85
- filterby: "Filter by:",
86
- all: "all",
87
- clear: "Clear all"
88
- },
89
- sl: {
90
- providers: "Providers:",
91
- filterby: "Filter by:",
92
- all: "all",
93
- clear: "Clear all"
94
- },
95
- sr: {
96
- providers: "Providers:",
97
- filterby: "Filter by:",
98
- all: "all",
99
- clear: "Clear all"
100
- },
101
- "pt-br": {
102
- providers: "Provedores:",
103
- filterby: "Filtrar por",
104
- all: "Tudo",
105
- clear: "Apagar tudo"
106
- },
107
- "es-mx": {
108
- providers: "Proveedores:",
109
- filterby: "Filtrar por",
110
- all: "Todo",
111
- clear: "Borrar todo"
112
- },
113
- "en-us": {
114
- providers: "Providers:",
115
- filterby: "Filter by:",
116
- all: "All",
117
- clear: "Clear all"
118
- }
119
- };
120
- function Pe(r) {
121
- be(r, "svelte-1v7rv6n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
122
- }
123
- function ce(r, e, t) {
124
- const i = r.slice();
125
- return i[36] = e[t], i[37] = e, i[38] = t, i;
126
- }
127
- function Ae(r) {
128
- let e, t, i, a, c, h, v, w, b = (
129
- /*$_*/
130
- r[11]("filterby") + ""
131
- ), u, _, y, N, L = (
132
- /*$_*/
133
- r[11]("providers") + ""
134
- ), C, S, g, d, F, P, W, E, k, A, M, Q, O, R = (
135
- /*$_*/
136
- r[11]("clear") + ""
137
- ), q, J, G, H, U, X;
138
- function Y(n, f) {
139
- return (
140
- /*fullSelection*/
141
- n[7] ? Te : De
142
- );
143
- }
144
- let Z = Y(r), x = Z(r), z = ie(
145
- /*vendorArray*/
146
- r[5]
147
- ), l = [];
148
- for (let n = 0; n < z.length; n += 1)
149
- l[n] = de(ce(r, z, n));
150
- return {
151
- c() {
152
- e = m("div"), t = m("div"), i = m("div"), a = ee("svg"), c = ee("path"), h = D(), v = m("div"), w = m("span"), u = T(b), _ = D(), y = m("div"), N = m("span"), C = T(L), S = D(), x.c(), g = D(), d = m("span"), F = ee("svg"), P = ee("path"), k = D(), A = m("div"), M = m("ul");
153
- for (let n = 0; n < l.length; n += 1)
154
- l[n].c();
155
- Q = D(), O = m("button"), q = T(R), o(c, "id", "noun_filter_736223"), o(c, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), o(c, "transform", "translate(-5 -6.2)"), o(c, "fill", "#fff"), o(a, "xmlns", "http://www.w3.org/2000/svg"), o(a, "width", "16"), o(a, "height", "16"), o(a, "viewBox", "0 0 16 16"), o(w, "class", "FilterName"), o(y, "class", "FilterValueContainer"), o(v, "class", "FilterTextContainer"), o(i, "class", "FilterMainArea"), o(P, "id", "arrow"), o(P, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), o(P, "transform", "translate(-274.511 -441.088)"), o(P, "fill", "#d1d1d1"), o(F, "xmlns", "http://www.w3.org/2000/svg"), o(F, "width", "14"), o(F, "height", "6.835"), o(F, "viewBox", "0 0 14 6.835"), o(d, "class", W = "TriangleInactive " + /*isFilterActive*/
156
- (r[4] ? "TriangleActive" : "")), o(t, "class", E = "FilterSelector " + /*isFilterActive*/
157
- (r[4] ? "FilterSelectorOpen" : "")), o(M, "class", "FilterDropdown"), o(O, "class", "ClearFilters"), O.disabled = J = /*fullSelection*/
158
- r[7] && /*selectedVendorArray*/
159
- r[6].length != /*vendorArray*/
160
- r[5].length, o(A, "class", G = "FilterDropdownContainer " + /*isFilterActive*/
161
- (r[4] ? "FilterOpen" : "")), o(e, "class", H = "FilterContainer " + /*addfilterselector*/
162
- (r[0] == "true" && /*addsortingselector*/
163
- r[1] == "true" ? "FilerContainerSplit" : ""));
164
- },
165
- m(n, f) {
166
- B(n, e, f), s(e, t), s(t, i), s(i, a), s(a, c), s(i, h), s(i, v), s(v, w), s(w, u), s(v, _), s(v, y), s(y, N), s(N, C), s(y, S), x.m(y, null), s(t, g), s(t, d), s(d, F), s(F, P), s(e, k), s(e, A), s(A, M);
167
- for (let p = 0; p < l.length; p += 1)
168
- l[p] && l[p].m(M, null);
169
- s(A, Q), s(A, O), s(O, q), U || (X = [
170
- te(
171
- t,
172
- "click",
173
- /*click_handler*/
174
- r[23]
175
- ),
176
- te(
177
- O,
178
- "click",
179
- /*click_handler_2*/
180
- r[26]
181
- )
182
- ], U = !0);
183
- },
184
- p(n, f) {
185
- if (f[0] & /*$_*/
186
- 2048 && b !== (b = /*$_*/
187
- n[11]("filterby") + "") && j(u, b), f[0] & /*$_*/
188
- 2048 && L !== (L = /*$_*/
189
- n[11]("providers") + "") && j(C, L), Z === (Z = Y(n)) && x ? x.p(n, f) : (x.d(1), x = Z(n), x && (x.c(), x.m(y, null))), f[0] & /*isFilterActive*/
190
- 16 && W !== (W = "TriangleInactive " + /*isFilterActive*/
191
- (n[4] ? "TriangleActive" : "")) && o(d, "class", W), f[0] & /*isFilterActive*/
192
- 16 && E !== (E = "FilterSelector " + /*isFilterActive*/
193
- (n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", E), f[0] & /*filterbylogo, vendorArray, filterByVendors*/
194
- 8228) {
195
- z = ie(
196
- /*vendorArray*/
197
- n[5]
198
- );
199
- let p;
200
- for (p = 0; p < z.length; p += 1) {
201
- const K = ce(n, z, p);
202
- l[p] ? l[p].p(K, f) : (l[p] = de(K), l[p].c(), l[p].m(M, null));
203
- }
204
- for (; p < l.length; p += 1)
205
- l[p].d(1);
206
- l.length = z.length;
207
- }
208
- f[0] & /*$_*/
209
- 2048 && R !== (R = /*$_*/
210
- n[11]("clear") + "") && j(q, R), f[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
- 224 && J !== (J = /*fullSelection*/
212
- n[7] && /*selectedVendorArray*/
213
- n[6].length != /*vendorArray*/
214
- n[5].length) && (O.disabled = J), f[0] & /*isFilterActive*/
215
- 16 && G !== (G = "FilterDropdownContainer " + /*isFilterActive*/
216
- (n[4] ? "FilterOpen" : "")) && o(A, "class", G), f[0] & /*addfilterselector, addsortingselector*/
217
- 3 && H !== (H = "FilterContainer " + /*addfilterselector*/
218
- (n[0] == "true" && /*addsortingselector*/
219
- n[1] == "true" ? "FilerContainerSplit" : "")) && o(e, "class", H);
220
- },
221
- d(n) {
222
- n && V(e), x.d(), Se(l, n), U = !1, pe(X);
223
- }
224
- };
225
- }
226
- function Oe(r) {
227
- let e, t = (
228
- /*$_*/
229
- r[11]("500") + ""
230
- ), i;
231
- return {
232
- c() {
233
- e = m("p"), i = T(t), o(e, "class", "SearchLoading");
234
- },
235
- m(a, c) {
236
- B(a, e, c), s(e, i);
237
- },
238
- p(a, c) {
239
- c[0] & /*$_*/
240
- 2048 && t !== (t = /*$_*/
241
- a[11]("500") + "") && j(i, t);
242
- },
243
- d(a) {
244
- a && V(e);
245
- }
246
- };
247
- }
248
- function De(r) {
249
- let e, t;
250
- return {
251
- c() {
252
- e = m("span"), t = T(
253
- /*selectionNumber*/
254
- r[8]
255
- ), o(e, "class", "FilterCounter");
256
- },
257
- m(i, a) {
258
- B(i, e, a), s(e, t);
259
- },
260
- p(i, a) {
261
- a[0] & /*selectionNumber*/
262
- 256 && j(
263
- t,
264
- /*selectionNumber*/
265
- i[8]
266
- );
267
- },
268
- d(i) {
269
- i && V(e);
270
- }
271
- };
272
- }
273
- function Te(r) {
274
- let e, t = (
275
- /*$_*/
276
- r[11]("all") + ""
277
- ), i;
278
- return {
279
- c() {
280
- e = m("span"), i = T(t), o(e, "class", "FilterCounter");
281
- },
282
- m(a, c) {
283
- B(a, e, c), s(e, i);
284
- },
285
- p(a, c) {
286
- c[0] & /*$_*/
287
- 2048 && t !== (t = /*$_*/
288
- a[11]("all") + "") && j(i, t);
289
- },
290
- d(a) {
291
- a && V(e);
292
- }
293
- };
294
- }
295
- function Ne(r) {
296
- let e, t;
297
- return {
298
- c() {
299
- e = m("img"), ne(e.src, t = /*vendor*/
300
- r[36].logo) || o(e, "src", t), o(e, "alt", "vendor logo");
301
- },
302
- m(i, a) {
303
- B(i, e, a);
304
- },
305
- p(i, a) {
306
- a[0] & /*vendorArray*/
307
- 32 && !ne(e.src, t = /*vendor*/
308
- i[36].logo) && o(e, "src", t);
309
- },
310
- d(i) {
311
- i && V(e);
312
- }
313
- };
314
- }
315
- function Ee(r) {
316
- let e, t, i = (
317
- /*vendor*/
318
- r[36].name + ""
319
- ), a, c, h, v, w = (
320
- /*vendor*/
321
- r[36].games.total + ""
322
- ), b, u;
323
- return {
324
- c() {
325
- e = m("div"), t = m("span"), a = T(i), c = D(), h = m("span"), v = T("("), b = T(w), u = T(")"), o(t, "class", "VendorName"), o(e, "class", "FilterItemLabel");
326
- },
327
- m(_, y) {
328
- B(_, e, y), s(e, t), s(t, a), s(e, c), s(e, h), s(h, v), s(h, b), s(h, u);
329
- },
330
- p(_, y) {
331
- y[0] & /*vendorArray*/
332
- 32 && i !== (i = /*vendor*/
333
- _[36].name + "") && j(a, i), y[0] & /*vendorArray*/
334
- 32 && w !== (w = /*vendor*/
335
- _[36].games.total + "") && j(b, w);
336
- },
337
- d(_) {
338
- _ && V(e);
339
- }
340
- };
341
- }
342
- function de(r) {
343
- let e, t, i, a, c, h, v, w, b, u, _, y;
344
- function N() {
345
- r[24].call(
346
- i,
347
- /*each_value*/
348
- r[37],
349
- /*vendor_index*/
350
- r[38]
351
- );
352
- }
353
- function L() {
354
- return (
355
- /*click_handler_1*/
356
- r[25](
357
- /*vendor*/
358
- r[36]
359
- )
360
- );
361
- }
362
- function C(d, F) {
363
- if (
364
- /*filterbylogo*/
365
- d[2] === "false"
366
- )
367
- return Ee;
368
- if (
369
- /*filterbylogo*/
370
- d[2] === "true"
371
- )
372
- return Ne;
373
- }
374
- let S = C(r), g = S && S(r);
375
- return {
376
- c() {
377
- e = m("li"), t = m("label"), i = m("input"), c = D(), h = m("span"), v = D(), g && g.c(), w = D(), o(i, "type", "checkbox"), o(i, "name", "checkbox"), i.__value = a = /*vendor*/
378
- r[36].name, ae(i, i.__value), o(h, "class", "FiltersCheckmark"), o(t, "class", "FilterLabel"), o(e, "class", b = "FilterItem " + /*filterbylogo*/
379
- (r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = u = /*vendor*/
380
- r[36].name;
381
- },
382
- m(d, F) {
383
- B(d, e, F), s(e, t), s(t, i), i.checked = /*vendor*/
384
- r[36].isFilterSelected, s(t, c), s(t, h), s(t, v), g && g.m(t, null), s(e, w), _ || (y = [
385
- te(i, "change", N),
386
- te(i, "click", L)
387
- ], _ = !0);
388
- },
389
- p(d, F) {
390
- r = d, F[0] & /*vendorArray*/
391
- 32 && a !== (a = /*vendor*/
392
- r[36].name) && (i.__value = a, ae(i, i.__value)), F[0] & /*vendorArray*/
393
- 32 && (i.checked = /*vendor*/
394
- r[36].isFilterSelected), S === (S = C(r)) && g ? g.p(r, F) : (g && g.d(1), g = S && S(r), g && (g.c(), g.m(t, null))), F[0] & /*filterbylogo*/
395
- 4 && b !== (b = "FilterItem " + /*filterbylogo*/
396
- (r[2] === "true" ? "FilterItemWithLogos" : "")) && o(e, "class", b), F[0] & /*vendorArray*/
397
- 32 && u !== (u = /*vendor*/
398
- r[36].name) && (e.value = u);
399
- },
400
- d(d) {
401
- d && V(e), g && g.d(), _ = !1, pe(y);
402
- }
403
- };
404
- }
405
- function Me(r) {
406
- let e;
407
- function t(c, h) {
408
- if (
409
- /*hasErrors*/
410
- c[10]
411
- )
412
- return Oe;
413
- if (!/*isLoading*/
414
- c[9])
415
- return Ae;
416
- }
417
- let i = t(r), a = i && i(r);
418
- return {
419
- c() {
420
- e = m("div"), a && a.c();
421
- },
422
- m(c, h) {
423
- B(c, e, h), a && a.m(e, null), r[27](e);
424
- },
425
- p(c, h) {
426
- i === (i = t(c)) && a ? a.p(c, h) : (a && a.d(1), a = i && i(c), a && (a.c(), a.m(e, null)));
427
- },
428
- i: re,
429
- o: re,
430
- d(c) {
431
- c && V(e), a && a.d(), r[27](null);
432
- }
433
- };
434
- }
435
- function ze(r, e, t) {
436
- let i;
437
- ye(r, Ie, (l) => t(11, i = l));
438
- let { endpoint: a = "" } = e, { datasource: c = "" } = e, { lang: h = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: _ = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: N = "false" } = e, { mbsource: L } = e, C = !1, S = window.navigator.userAgent, g = [], d = [], F = {}, P = !1, W = 0, E = !0, k, A = !1, M;
439
- Le({ withLocale: "en", translations: {} });
440
- const Q = () => {
441
- fetch(v).then((n) => n.json()).then((n) => {
442
- Object.keys(n).forEach((f) => {
443
- oe(f, n[f]);
444
- });
445
- }).catch((n) => {
446
- console.log(n);
447
- });
448
- };
449
- Object.keys(se).forEach((l) => {
450
- oe(l, se[l]);
451
- }), F[u] && (F = { [u]: [] });
452
- const O = () => {
453
- t(4, C = !C), window.postMessage({ type: "FilterOpened" }, window.location.href);
454
- }, R = (l) => (t(9, E = !0), new Promise((n, f) => {
455
- fetch(l).then((p) => p.json()).then((p) => {
456
- p = p.items, n(p.items), t(6, d = []);
457
- let K = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
458
- p.forEach(($) => {
459
- K || (K = { currentCategoryId: [] }), K[u]?.indexOf($.id) >= 0 ? ($.isFilterSelected = !0, d.push($)) : $.isFilterSelected = !1;
460
- }), t(5, g = p), J();
461
- }).catch((p) => {
462
- console.error(p), t(10, A = !0), f(p);
463
- }).finally(() => {
464
- t(9, E = !1);
465
- });
466
- })), q = (l) => {
467
- let n = localStorage.getItem("vendorFiltersByCategory");
468
- l.isFilterSelected = !l.isFilterSelected, !d.length || d.filter((f) => f.name === l.name).length == 0 ? d.push(l) : t(6, d = d.filter((f) => f.name !== l.name)), n == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
469
- [u]: d.map((f) => f.id)
470
- })) : (n = JSON.parse(n), n[u] = d.map((f) => f.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(n))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), J();
471
- }, J = () => {
472
- t(7, P = d.length === g.length || d.length == 0), t(8, W = d.length);
473
- }, G = () => {
474
- const l = new URL(`${a}/v1/casino/vendors`);
475
- t(4, C = !1), l.searchParams.append("fields", "id,name,logo,subVendors,games"), l.searchParams.append("language", h), l.searchParams.append("datasource", c), l.searchParams.append("platform", _e(S)), (u.match(/\$/g) || []).length > 1 ? (l.searchParams.append("filter", `games(subGroups=${u})`), l.searchParams.append("subVendors", `games(subGroups=${u})`)) : l.searchParams.append("filter", `games(groups=${u})`), R(l);
476
- }, H = () => {
477
- t(6, d = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
478
- [u]: d.map((l) => l.id)
479
- })), g.forEach((l) => l.isFilterSelected = !1), t(5, g), window.postMessage({ type: "ApplyFilters" }, window.location.href), t(7, P = !0), t(4, C = !1);
480
- }, U = (l) => {
481
- l.data.type == "SortingOpened" && t(4, C = !1);
482
- };
483
- ve(() => (window.addEventListener("message", U, !1), () => {
484
- window.emMessageBus != null && M && M.unsubscribe(), window.removeEventListener("message", U);
485
- }));
486
- const X = () => O();
487
- function Y(l, n) {
488
- l[n].isFilterSelected = this.checked, t(5, g);
489
- }
490
- const Z = (l) => q(l), x = () => H();
491
- function z(l) {
492
- Ce[l ? "unshift" : "push"](() => {
493
- k = l, t(3, k);
494
- });
495
- }
496
- return r.$$set = (l) => {
497
- "endpoint" in l && t(15, a = l.endpoint), "datasource" in l && t(16, c = l.datasource), "lang" in l && t(17, h = l.lang), "translationurl" in l && t(18, v = l.translationurl), "clientstyling" in l && t(19, w = l.clientstyling), "clientstylingurl" in l && t(20, b = l.clientstylingurl), "categoryid" in l && t(21, u = l.categoryid), "addfilterselector" in l && t(0, _ = l.addfilterselector), "addsortingselector" in l && t(1, y = l.addsortingselector), "filterbylogo" in l && t(2, N = l.filterbylogo), "mbsource" in l && t(22, L = l.mbsource);
498
- }, r.$$.update = () => {
499
- r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
500
- 2195460 && a && c && u && N && G(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
501
- 524296 && w && k && ke(k, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
502
- 1048584 && b && k && we(k, b), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
503
- 4194312 && k && xe(k, `${L}.Style`), r.$$.dirty[0] & /*translationurl*/
504
- 262144 && v && Q();
505
- }, [
506
- _,
507
- y,
508
- N,
509
- k,
510
- C,
511
- g,
512
- d,
513
- P,
514
- W,
515
- E,
516
- A,
517
- i,
518
- O,
519
- q,
520
- H,
521
- a,
522
- c,
523
- h,
524
- v,
525
- w,
526
- b,
527
- u,
528
- L,
529
- X,
530
- Y,
531
- Z,
532
- x,
533
- z
534
- ];
535
- }
536
- class je extends ge {
537
- constructor(e) {
538
- super(), me(
539
- this,
540
- e,
541
- ze,
542
- Me,
543
- Fe,
544
- {
545
- endpoint: 15,
546
- datasource: 16,
547
- lang: 17,
548
- translationurl: 18,
549
- clientstyling: 19,
550
- clientstylingurl: 20,
551
- categoryid: 21,
552
- addfilterselector: 0,
553
- addsortingselector: 1,
554
- filterbylogo: 2,
555
- mbsource: 22
556
- },
557
- Pe,
558
- [-1, -1]
559
- );
560
- }
561
- get endpoint() {
562
- return this.$$.ctx[15];
563
- }
564
- set endpoint(e) {
565
- this.$$set({ endpoint: e }), I();
566
- }
567
- get datasource() {
568
- return this.$$.ctx[16];
569
- }
570
- set datasource(e) {
571
- this.$$set({ datasource: e }), I();
572
- }
573
- get lang() {
574
- return this.$$.ctx[17];
575
- }
576
- set lang(e) {
577
- this.$$set({ lang: e }), I();
578
- }
579
- get translationurl() {
580
- return this.$$.ctx[18];
581
- }
582
- set translationurl(e) {
583
- this.$$set({ translationurl: e }), I();
584
- }
585
- get clientstyling() {
586
- return this.$$.ctx[19];
587
- }
588
- set clientstyling(e) {
589
- this.$$set({ clientstyling: e }), I();
590
- }
591
- get clientstylingurl() {
592
- return this.$$.ctx[20];
593
- }
594
- set clientstylingurl(e) {
595
- this.$$set({ clientstylingurl: e }), I();
596
- }
597
- get categoryid() {
598
- return this.$$.ctx[21];
599
- }
600
- set categoryid(e) {
601
- this.$$set({ categoryid: e }), I();
602
- }
603
- get addfilterselector() {
604
- return this.$$.ctx[0];
605
- }
606
- set addfilterselector(e) {
607
- this.$$set({ addfilterselector: e }), I();
608
- }
609
- get addsortingselector() {
610
- return this.$$.ctx[1];
611
- }
612
- set addsortingselector(e) {
613
- this.$$set({ addsortingselector: e }), I();
614
- }
615
- get filterbylogo() {
616
- return this.$$.ctx[2];
617
- }
618
- set filterbylogo(e) {
619
- this.$$set({ filterbylogo: e }), I();
620
- }
621
- get mbsource() {
622
- return this.$$.ctx[22];
623
- }
624
- set mbsource(e) {
625
- this.$$set({ mbsource: e }), I();
626
- }
627
- }
628
- he(je, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {} }, [], [], !0);
629
- export {
630
- je as default
631
- };