@everymatrix/casino-lobby 1.63.3 → 1.64.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 (99) hide show
  1. package/components/{CasinoCalendar-Csi0tXv8.js → CasinoCalendar-BONyZpYE.js} +121 -121
  2. package/components/{CasinoCalendar-B7GhaaB1.cjs → CasinoCalendar-DglR4hXB.cjs} +4 -4
  3. package/components/{CasinoCalendar-7kqLzYIJ.js → CasinoCalendar-IdM-lXMG.js} +208 -208
  4. package/components/CasinoCalendarDailyDetails-Cprq9q2q.js +567 -0
  5. package/components/CasinoCalendarDailyDetails-MqRoHEO5.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-Nhcvxsh6.js +567 -0
  7. package/components/CasinoCalendarDailyItem-DLR65l5h.cjs +1 -0
  8. package/components/{CasinoCalendarDailyItem-DBZbBU6V.js → CasinoCalendarDailyItem-j9fcZJnF.js} +45 -45
  9. package/components/{CasinoCalendarDailyItem-CE8ew-fF.js → CasinoCalendarDailyItem-s-bZS2Jp.js} +45 -45
  10. package/components/CasinoCategoriesSlider--HeFAg7z.cjs +1 -0
  11. package/components/{CasinoCategoriesSlider-CdwDeUzc.js → CasinoCategoriesSlider-BwaHpYXA.js} +177 -181
  12. package/components/{CasinoCategoriesSlider-D4LBBsWH.js → CasinoCategoriesSlider-Daxulx9q.js} +177 -181
  13. package/components/CasinoCollectionsProviders-B_huGyx5.cjs +1 -0
  14. package/components/{CasinoCollectionsProviders-BbBtM28b.js → CasinoCollectionsProviders-DCfKtqH3.js} +118 -118
  15. package/components/{CasinoCollectionsProviders-Bpb7sM1P.js → CasinoCollectionsProviders-QF8UYQEH.js} +122 -122
  16. package/components/{CasinoFavoritesSection-DoU7Ci-7.js → CasinoFavoritesSection-C8XELxGM.js} +23 -23
  17. package/components/{CasinoFavoritesSection-Cl-6cioz.js → CasinoFavoritesSection-CqeUShM0.js} +23 -23
  18. package/components/{CasinoFavoritesSection-BTM3dZNo.cjs → CasinoFavoritesSection-D-UkXryn.cjs} +1 -1
  19. package/components/{CasinoFilter-jbZAMnJ7.cjs → CasinoFilter-1GsfPr4q.cjs} +1 -1
  20. package/components/{CasinoFilter-BN4Wtk2h.js → CasinoFilter-Dm91I-UU.js} +111 -111
  21. package/components/{CasinoFilter-Ct-8nr2l.js → CasinoFilter-hFLJX_M2.js} +108 -108
  22. package/components/{CasinoGameThumbnail-BgaKFGIJ.cjs → CasinoGameThumbnail-BvOIlOOi.cjs} +2 -2
  23. package/components/{CasinoGameThumbnail-CDstK8Y3.js → CasinoGameThumbnail-CQSUN92B.js} +3 -3
  24. package/components/{CasinoGameThumbnail-CiaYYLXu.js → CasinoGameThumbnail-CXKT4Qo5.js} +3 -3
  25. package/components/CasinoGamesCategorySection-BQlZuqHv.js +3202 -0
  26. package/components/CasinoGamesCategorySection-CKD6dg5N.cjs +1 -0
  27. package/components/CasinoGamesCategorySection-DFvVele9.js +3170 -0
  28. package/components/{CasinoJackpotBanner-DX2K3Sso.js → CasinoJackpotBanner-BpAtani6.js} +108 -108
  29. package/components/{CasinoJackpotBanner-C5x3Mdln.js → CasinoJackpotBanner-Da7u-e53.js} +100 -100
  30. package/components/{CasinoJackpotBanner-BjEKJiKG.cjs → CasinoJackpotBanner-DhRXbZof.cjs} +1 -1
  31. package/components/{CasinoLastPlayedSection-DgtwB0LY.js → CasinoLastPlayedSection-CLQF0gH3.js} +9 -9
  32. package/components/{CasinoLastPlayedSection-p0ilcCTC.js → CasinoLastPlayedSection-Cn_6Tyrh.js} +9 -9
  33. package/components/{CasinoLastPlayedSection-CI_0ECL-.cjs → CasinoLastPlayedSection-r9eIV0bz.cjs} +1 -1
  34. package/components/{CasinoLobby-CseOv8Yj.js → CasinoLobby-BBAE1WZB.js} +135 -120
  35. package/components/CasinoLobby-CfPzMoKq.cjs +1 -0
  36. package/components/{CasinoLobby-DG6dQueF.js → CasinoLobby-CnppP-Q0.js} +135 -120
  37. package/components/{CasinoMostPlayedSection-DkMxb2tp.js → CasinoMostPlayedSection-CD3McVCV.js} +21 -21
  38. package/components/{CasinoMostPlayedSection-Y7GkBB4c.js → CasinoMostPlayedSection-CEcrV8uf.js} +21 -21
  39. package/components/{CasinoMostPlayedSection-DgjP9n0o.cjs → CasinoMostPlayedSection-CYbsPd70.cjs} +1 -1
  40. package/components/{CasinoMyGames-bw2jzPSz.cjs → CasinoMyGames-BYorv67w.cjs} +1 -1
  41. package/components/{CasinoMyGames-iW34NgHs.js → CasinoMyGames-Clh_ZKUG.js} +39 -39
  42. package/components/{CasinoMyGames-lcaVAF4Y.js → CasinoMyGames-CsEp2Q-H.js} +43 -43
  43. package/components/{CasinoPage-DlCmgNUk.js → CasinoPage-BZesrUyc.js} +189 -189
  44. package/components/{CasinoPage-NFQopbTN.js → CasinoPage-CPmBzeSF.js} +189 -189
  45. package/components/{CasinoPage-D1nj7ju_.cjs → CasinoPage-CxXdS_KY.cjs} +1 -1
  46. package/components/{CasinoRandomGame-DX--_O5S.js → CasinoRandomGame-FkDPrD9e.js} +52 -52
  47. package/components/{CasinoRandomGame-D5rbkfAP.cjs → CasinoRandomGame-mZ24kU0C.cjs} +2 -2
  48. package/components/{CasinoRandomGame-BjmFZ_DM.js → CasinoRandomGame-pFW4WJwl.js} +53 -53
  49. package/components/{CasinoSearch-DZXW71Hu.js → CasinoSearch--m6RPf0J.js} +52 -52
  50. package/components/{CasinoSearch-CVPUjeCK.cjs → CasinoSearch-DUQJhn3X.cjs} +1 -1
  51. package/components/{CasinoSearch--VdAWMEG.js → CasinoSearch-DZTQwy97.js} +50 -50
  52. package/components/CasinoSlider-BR0_If4T.js +797 -0
  53. package/components/{CasinoSlider-8av7ygLi.js → CasinoSlider-CtMPHXUh.js} +136 -136
  54. package/components/CasinoSlider-e9OjOUTr.cjs +1 -0
  55. package/components/{CasinoSort-BJup_vct.js → CasinoSort-CFaQhCeN.js} +32 -32
  56. package/components/{CasinoSort-CV4P6WUH.cjs → CasinoSort-CWyjQZ3C.cjs} +1 -1
  57. package/components/{CasinoSort-Dn39QhX6.js → CasinoSort-CjTUg9jC.js} +32 -32
  58. package/components/{CasinoWinners-DY-XeuDT.js → CasinoWinners-CJI2fDKO.js} +151 -151
  59. package/components/{CasinoWinners-BceQ59PS.js → CasinoWinners-CvtwPY7V.js} +157 -157
  60. package/components/CasinoWinners-DgXBOTeI.cjs +1 -0
  61. package/components/{GeneralAnimationLoading-B-qNTlQZ.cjs → GeneralAnimationLoading-Bgob1QKM.cjs} +1 -1
  62. package/components/{GeneralAnimationLoading-Bu3UyKqx.js → GeneralAnimationLoading-CcIPxHUX.js} +6 -6
  63. package/components/{GeneralAnimationLoading-HRytW6Io.js → GeneralAnimationLoading-cKyjkdOs.js} +6 -6
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/stencil/{casino-play-random-game-BYqESYAt.js → casino-play-random-game-BLl4u8GF.js} +8 -6
  69. package/stencil/{casino-play-random-game-QQFB7p9f.js → casino-play-random-game-C0BJMsSD.js} +8 -6
  70. package/stencil/{casino-play-random-game-cxzdDqDs.cjs → casino-play-random-game-Dkk0BTsb.cjs} +8 -6
  71. package/stencil/{index-97d17652-DYdohc-6.js → index-97d17652-BEnqZAxL.js} +1 -1
  72. package/stencil/{index-97d17652-_wmLv9aI.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
  73. package/stencil/{index-97d17652-__SOROv4.js → index-97d17652-WK_DbPS4.js} +1 -1
  74. package/stencil/{index-ab3202d6-CvVYHCZs.js → index-ab3202d6-CZKlrnZf.js} +1 -1
  75. package/stencil/{index-ab3202d6-ClNgaMg-.js → index-ab3202d6-ClDKsCJv.js} +1 -1
  76. package/stencil/{index-ab3202d6-4wRb7_uS.cjs → index-ab3202d6-DFbwTHas.cjs} +1 -1
  77. package/stencil/{ui-image-NUzlC2fG.cjs → ui-image-DLXwOzO2.cjs} +1 -1
  78. package/stencil/{ui-image-B5jMTPJS.js → ui-image-YGEFo8L0.js} +1 -1
  79. package/stencil/{ui-image-d1314fef-Juydh_ii.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
  80. package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
  81. package/stencil/{ui-image-d1314fef-CQsVQg0l.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
  82. package/stencil/{ui-image-DZfaeMnX.js → ui-image-w38Eao2h.js} +1 -1
  83. package/stencil/{ui-image_2-OR-2QD6I.js → ui-image_2-B56t6kXT.js} +2 -2
  84. package/stencil/{ui-image_2-BK3m47_O.js → ui-image_2-BncuYpLi.js} +2 -2
  85. package/stencil/{ui-image_2-DbIvpcwA.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  86. package/components/CasinoCalendarDailyDetails-BovhUzXq.js +0 -694
  87. package/components/CasinoCalendarDailyDetails-DRn6XNlS.cjs +0 -1
  88. package/components/CasinoCalendarDailyDetails-MY6BRTWf.js +0 -694
  89. package/components/CasinoCalendarDailyItem-i0FRrjoK.cjs +0 -1
  90. package/components/CasinoCategoriesSlider-DltcuPbJ.cjs +0 -1
  91. package/components/CasinoCollectionsProviders-BzpUMq8J.cjs +0 -1
  92. package/components/CasinoGamesCategorySection-8tZbstvF.cjs +0 -1
  93. package/components/CasinoGamesCategorySection-DJohdErr.js +0 -3139
  94. package/components/CasinoGamesCategorySection-Dovm2bNV.js +0 -3170
  95. package/components/CasinoLobby-BxdCeX3T.cjs +0 -1
  96. package/components/CasinoSlider-DpYcXyrl.js +0 -797
  97. package/components/CasinoSlider-chctBr3W.cjs +0 -1
  98. package/components/CasinoWinners-DMlbI9Rh.cjs +0 -1
  99. package/stencil/ui-image-d1314fef-Dwwl-kWw.cjs +0 -1
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DglR4hXB.cjs");function q(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-nnjza6",'*,*::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));background-color:inherit;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:var(--emw--border-radius-medium, 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:var(--emw--border-radius-medium, 10px);width:70px;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:var(--emw--border-radius-medium, 10px);width:60px;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, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) 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,_,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]=Z(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(),_=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,_),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]=Z(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(_,v){e.insert(_,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(_){_&&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 K(i){let t,l,r,o,a,g,_,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),_||(v=e.listen(l,"click",e.stop_propagation(w)),_=!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(),_=!1,v()}}}function Z(i){let t,l,r,o,a,g,_,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]=K(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 b=0;b<u.length;b+=1)u[b].c();_=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 b=0;b<u.length;b+=1)u[b]&&u[b].m(a,null);e.append(t,_),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var b,k;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 C;for(C=0;C<c.length;C+=1){const L=U(i,c,C);u[C]?u[C].p(L,f):(u[C]=K(L),u[C].c(),u[C].m(a,null))}for(;C<u.length;C+=1)u[C].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((b=i[41])==null?void 0:b.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((k=i[41])==null?void 0:k.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:_=""}=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,b=0,k=0,C,L,j=0,M=50,x=!1,G,X=window.navigator.userAgent,T;const Y=()=>{fetch(m).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{q(P,y[P])})}).catch(y=>{console.log(y)})};Object.keys(R).forEach(n=>{q(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=${_})`),n.searchParams.append("pagination",`offset=${j},limit=${M}`),fetch(n.href).then(y=>y.json()).then(y=>{l(6,h=!1),y.total>M&&(j+=50,M+=50,l(22,x=!0));let P=y.items.map(S=>{var E,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(E=S.vendors)==null?void 0:E.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:S.games.items.slice(0,4).map(re=>re),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,b=u.length),Q()})},Q=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},B=n=>{var y;L=[...p.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),C=(y=L[0])==null?void 0:y.getBoundingClientRect().width,D()},D=()=>{l(8,k=Math.floor(p.clientWidth/C))},O=()=>{B(f)},$=()=>{f===0?f=b-k:f-k<-1?f=0:f--,O()},ee=()=>{f===b-k?f=0:b-k<f+1?f=b-k:f++,O()},z=(n,y,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:y,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},H=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(X)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>H(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"](()=>{G=n,l(5,G)})}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,_=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&&B(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&G&&e.setClientStyling(G,w),i.$$.dirty[0]&524320&&d&&G&&e.setClientStylingURL(G,d),i.$$.dirty[0]&2097184&&G&&e.setStreamStyling(G,`${c}.Style`),i.$$.dirty[0]&1048576&&m&&Y(),i.$$.dirty[0]&4194304&&x&&F()},[_,v,s,u,p,G,h,b,k,T,r,$,ee,z,H,o,a,g,w,d,m,c,x,ie,le,ne,oe]}class J 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(J,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=J;
@@ -1,4 +1,4 @@
1
- import { a as _e, $ as we, S as Se, i as ke, s as Ge, f as M, b as Pe, n as B, d as j, h as T, j as y, k as Le, o as Me, l as xe, C as $, r as m, v as H, w as se, m as I, p as v, q as U, B as F, R as je, A as z, I as E, D as A, T as Te, J as Fe, K as Oe, L as Be, M as He, N as ze } from "./CasinoCalendar-Csi0tXv8.js";
1
+ import { a as _e, $ as we, S as Se, i as ke, s as Ge, f as M, b as Pe, n as O, d as x, h as F, j as y, k as Le, o as Me, l as je, C as $, r as m, v as H, w as se, m as R, p as v, q as U, B as T, O as xe, A as z, G as I, D as A, P as Fe, H as Te, I as Be, J as Oe, K as He, L as ze } from "./CasinoCalendar-BONyZpYE.js";
2
2
  function ee(t, e) {
3
3
  _e(t, e);
4
4
  }
@@ -102,8 +102,8 @@ const te = {
102
102
  loading: "Loading, please wait ..."
103
103
  }
104
104
  };
105
- function Ne(t) {
106
- Pe(t, "svelte-ci1i8", '*,*::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));background-color:inherit;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:70px;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:60px;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)}}');
105
+ function Ee(t) {
106
+ Pe(t, "svelte-nnjza6", '*,*::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));background-color:inherit;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:var(--emw--border-radius-medium, 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:var(--emw--border-radius-medium, 10px);width:70px;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:var(--emw--border-radius-medium, 10px);width:60px;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, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
107
107
  }
108
108
  function ie(t, e, i) {
109
109
  const n = t.slice();
@@ -113,7 +113,7 @@ function oe(t, e, i) {
113
113
  const n = t.slice();
114
114
  return n[44] = e[i], n;
115
115
  }
116
- function Re(t) {
116
+ function Ne(t) {
117
117
  let e, i, n, l = (
118
118
  /*type*/
119
119
  (t[0] === "vendor" ? (
@@ -123,7 +123,7 @@ function Re(t) {
123
123
  /*$_*/
124
124
  t[10]("collections")
125
125
  )) + ""
126
- ), r, d, _, b, k, s = (
126
+ ), r, c, _, b, k, s = (
127
127
  /*numberOfSlides*/
128
128
  t[7] > /*numberOfVisibleSlides*/
129
129
  t[8] && le(t)
@@ -131,43 +131,43 @@ function Re(t) {
131
131
  /*gameCategories*/
132
132
  t[3]
133
133
  ), a = [];
134
- for (let c = 0; c < f.length; c += 1)
135
- a[c] = ae(ie(t, f, c));
134
+ for (let d = 0; d < f.length; d += 1)
135
+ a[d] = ae(ie(t, f, d));
136
136
  return {
137
137
  c() {
138
- e = y("div"), i = y("div"), n = y("p"), r = U(l), d = F(), s && s.c(), _ = F(), b = y("div");
139
- for (let c = 0; c < a.length; c += 1)
140
- a[c].c();
138
+ e = y("div"), i = y("div"), n = y("p"), r = U(l), c = T(), s && s.c(), _ = T(), b = y("div");
139
+ for (let d = 0; d < a.length; d += 1)
140
+ a[d].c();
141
141
  m(n, "class", "Title"), m(i, "class", "CategoriesHeader"), m(b, "class", "CategoriesSlider"), m(e, "class", k = "CasinoCollectionsProviders " + /*mobile*/
142
142
  (t[9] ? "Mobile" : "") + " " + /*type*/
143
143
  (t[0] === "vendor" ? "Providers" : "Collections"));
144
144
  },
145
- m(c, g) {
146
- T(c, e, g), v(e, i), v(i, n), v(n, r), v(i, d), s && s.m(i, null), v(e, _), v(e, b);
145
+ m(d, g) {
146
+ F(d, e, g), v(e, i), v(i, n), v(n, r), v(i, c), s && s.m(i, null), v(e, _), v(e, b);
147
147
  for (let h = 0; h < a.length; h += 1)
148
148
  a[h] && a[h].m(b, null);
149
149
  t[25](b);
150
150
  },
151
- p(c, g) {
151
+ p(d, g) {
152
152
  if (g[0] & /*type, $_*/
153
153
  1025 && l !== (l = /*type*/
154
- (c[0] === "vendor" ? (
154
+ (d[0] === "vendor" ? (
155
155
  /*$_*/
156
- c[10]("providers")
156
+ d[10]("providers")
157
157
  ) : (
158
158
  /*$_*/
159
- c[10]("collections")
160
- )) + "") && I(r, l), /*numberOfSlides*/
161
- c[7] > /*numberOfVisibleSlides*/
162
- c[8] ? s ? s.p(c, g) : (s = le(c), s.c(), s.m(i, null)) : s && (s.d(1), s = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
159
+ d[10]("collections")
160
+ )) + "") && R(r, l), /*numberOfSlides*/
161
+ d[7] > /*numberOfVisibleSlides*/
162
+ d[8] ? s ? s.p(d, g) : (s = le(d), s.c(), s.m(i, null)) : s && (s.d(1), s = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
163
163
  24590) {
164
164
  f = H(
165
165
  /*gameCategories*/
166
- c[3]
166
+ d[3]
167
167
  );
168
168
  let h;
169
169
  for (h = 0; h < f.length; h += 1) {
170
- const u = ie(c, f, h);
170
+ const u = ie(d, f, h);
171
171
  a[h] ? a[h].p(u, g) : (a[h] = ae(u), a[h].c(), a[h].m(b, null));
172
172
  }
173
173
  for (; h < a.length; h += 1)
@@ -176,37 +176,37 @@ function Re(t) {
176
176
  }
177
177
  g[0] & /*mobile, type*/
178
178
  513 && k !== (k = "CasinoCollectionsProviders " + /*mobile*/
179
- (c[9] ? "Mobile" : "") + " " + /*type*/
180
- (c[0] === "vendor" ? "Providers" : "Collections")) && m(e, "class", k);
179
+ (d[9] ? "Mobile" : "") + " " + /*type*/
180
+ (d[0] === "vendor" ? "Providers" : "Collections")) && m(e, "class", k);
181
181
  },
182
- d(c) {
183
- c && j(e), s && s.d(), se(a, c), t[25](null);
182
+ d(d) {
183
+ d && x(e), s && s.d(), se(a, d), t[25](null);
184
184
  }
185
185
  };
186
186
  }
187
- function Ee(t) {
187
+ function Ie(t) {
188
188
  let e;
189
189
  return {
190
190
  c() {
191
191
  e = y("div"), m(e, "class", "LoadingSpinner");
192
192
  },
193
193
  m(i, n) {
194
- T(i, e, n);
194
+ F(i, e, n);
195
195
  },
196
- p: B,
196
+ p: O,
197
197
  d(i) {
198
- i && j(e);
198
+ i && x(e);
199
199
  }
200
200
  };
201
201
  }
202
202
  function le(t) {
203
- let e, i, n, l, r, d;
203
+ let e, i, n, l, r, c;
204
204
  return {
205
205
  c() {
206
- e = y("div"), i = y("button"), i.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>', n = F(), l = y("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(0 24.656) rotate(-90)" fill="#fff"></path></svg>', m(e, "class", "ButtonsContainer");
206
+ e = y("div"), i = y("button"), i.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>', n = T(), l = y("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(0 24.656) rotate(-90)" fill="#fff"></path></svg>', m(e, "class", "ButtonsContainer");
207
207
  },
208
208
  m(_, b) {
209
- T(_, e, b), v(e, i), v(e, n), v(e, l), r || (d = [
209
+ F(_, e, b), v(e, i), v(e, n), v(e, l), r || (c = [
210
210
  z(
211
211
  i,
212
212
  "click",
@@ -221,13 +221,13 @@ function le(t) {
221
221
  )
222
222
  ], r = !0);
223
223
  },
224
- p: B,
224
+ p: O,
225
225
  d(_) {
226
- _ && j(e), r = !1, je(d);
226
+ _ && x(e), r = !1, xe(c);
227
227
  }
228
228
  };
229
229
  }
230
- function Ie(t) {
230
+ function Re(t) {
231
231
  let e, i = (
232
232
  /*category*/
233
233
  t[41].name + ""
@@ -237,15 +237,15 @@ function Ie(t) {
237
237
  e = y("p"), n = U(i), m(e, "class", "CategorySlideTitle");
238
238
  },
239
239
  m(l, r) {
240
- T(l, e, r), v(e, n);
240
+ F(l, e, r), v(e, n);
241
241
  },
242
242
  p(l, r) {
243
243
  r[0] & /*gameCategories*/
244
244
  8 && i !== (i = /*category*/
245
- l[41].name + "") && I(n, i);
245
+ l[41].name + "") && R(n, i);
246
246
  },
247
247
  d(l) {
248
- l && j(e);
248
+ l && x(e);
249
249
  }
250
250
  };
251
251
  }
@@ -258,7 +258,7 @@ function Ue(t) {
258
258
  t[41].name + " icon");
259
259
  },
260
260
  m(l, r) {
261
- T(l, e, r);
261
+ F(l, e, r);
262
262
  },
263
263
  p(l, r) {
264
264
  r[0] & /*gameCategories*/
@@ -268,7 +268,7 @@ function Ue(t) {
268
268
  l[41].name + " icon") && m(e, "alt", n);
269
269
  },
270
270
  d(l) {
271
- l && j(e);
271
+ l && x(e);
272
272
  }
273
273
  };
274
274
  }
@@ -282,23 +282,23 @@ function ne(t) {
282
282
  e = y("p"), n = U(i), m(e, "title", l = /*game*/
283
283
  t[44].name);
284
284
  },
285
- m(r, d) {
286
- T(r, e, d), v(e, n);
285
+ m(r, c) {
286
+ F(r, e, c), v(e, n);
287
287
  },
288
- p(r, d) {
289
- d[0] & /*gameCategories*/
288
+ p(r, c) {
289
+ c[0] & /*gameCategories*/
290
290
  8 && i !== (i = /*game*/
291
- r[44].name + "") && I(n, i), d[0] & /*gameCategories*/
291
+ r[44].name + "") && R(n, i), c[0] & /*gameCategories*/
292
292
  8 && l !== (l = /*game*/
293
293
  r[44].name) && m(e, "title", l);
294
294
  },
295
295
  d(r) {
296
- r && j(e);
296
+ r && x(e);
297
297
  }
298
298
  };
299
299
  }
300
300
  function re(t) {
301
- let e, i, n, l, r, d, _, b;
301
+ let e, i, n, l, r, c, _, b;
302
302
  function k() {
303
303
  return (
304
304
  /*click_handler*/
@@ -314,12 +314,12 @@ function re(t) {
314
314
  );
315
315
  return {
316
316
  c() {
317
- e = y("div"), i = y("img"), r = F(), s && s.c(), d = F(), m(i, "class", "CategorySlideGameImage"), A(i.src, n = /*game*/
317
+ e = y("div"), i = y("img"), r = T(), s && s.c(), c = T(), m(i, "class", "CategorySlideGameImage"), A(i.src, n = /*game*/
318
318
  t[44].defaultThumbnail) || m(i, "src", n), m(i, "alt", l = /*game*/
319
319
  t[44].name), m(e, "class", "CategorySlideGames");
320
320
  },
321
321
  m(f, a) {
322
- T(f, e, a), v(e, i), v(e, r), s && s.m(e, null), v(e, d), _ || (b = z(i, "click", Te(k)), _ = !0);
322
+ F(f, e, a), v(e, i), v(e, r), s && s.m(e, null), v(e, c), _ || (b = z(i, "click", Fe(k)), _ = !0);
323
323
  },
324
324
  p(f, a) {
325
325
  t = f, a[0] & /*gameCategories*/
@@ -327,15 +327,15 @@ function re(t) {
327
327
  t[44].defaultThumbnail) && m(i, "src", n), a[0] & /*gameCategories*/
328
328
  8 && l !== (l = /*game*/
329
329
  t[44].name) && m(i, "alt", l), /*collectionprovidersgamenames*/
330
- t[2] == "true" ? s ? s.p(t, a) : (s = ne(t), s.c(), s.m(e, d)) : s && (s.d(1), s = null);
330
+ t[2] == "true" ? s ? s.p(t, a) : (s = ne(t), s.c(), s.m(e, c)) : s && (s.d(1), s = null);
331
331
  },
332
332
  d(f) {
333
- f && j(e), s && s.d(), _ = !1, b();
333
+ f && x(e), s && s.d(), _ = !1, b();
334
334
  }
335
335
  };
336
336
  }
337
337
  function ae(t) {
338
- let e, i, n, l, r, d, _, b, k;
338
+ let e, i, n, l, r, c, _, b, k;
339
339
  function s(u, p) {
340
340
  if (
341
341
  /*titletype*/
@@ -346,14 +346,14 @@ function ae(t) {
346
346
  /*titletype*/
347
347
  u[1] === "title"
348
348
  )
349
- return Ie;
349
+ return Re;
350
350
  }
351
- let f = s(t), a = f && f(t), c = H(
351
+ let f = s(t), a = f && f(t), d = H(
352
352
  /*category*/
353
353
  t[41].games
354
354
  ), g = [];
355
- for (let u = 0; u < c.length; u += 1)
356
- g[u] = re(oe(t, c, u));
355
+ for (let u = 0; u < d.length; u += 1)
356
+ g[u] = re(oe(t, d, u));
357
357
  function h() {
358
358
  return (
359
359
  /*click_handler_1*/
@@ -366,15 +366,15 @@ function ae(t) {
366
366
  return {
367
367
  c() {
368
368
  var u, p;
369
- e = y("div"), i = y("div"), n = y("div"), a && a.c(), l = F(), r = y("div");
369
+ e = y("div"), i = y("div"), n = y("div"), a && a.c(), l = T(), r = y("div");
370
370
  for (let C = 0; C < g.length; C += 1)
371
371
  g[C].c();
372
- _ = F(), m(n, "class", "CategorySlideTopContainer"), m(r, "class", "CategorySlideGameContainer"), m(i, "class", d = "CategorySlide " + /*category*/
373
- (((u = t[41]) == null ? void 0 : u.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), E(i, "background-image", "url(" + /*category*/
374
- ((p = t[41]) == null ? void 0 : p.background) + ")"), E(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
372
+ _ = T(), m(n, "class", "CategorySlideTopContainer"), m(r, "class", "CategorySlideGameContainer"), m(i, "class", c = "CategorySlide " + /*category*/
373
+ (((u = t[41]) == null ? void 0 : u.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), I(i, "background-image", "url(" + /*category*/
374
+ ((p = t[41]) == null ? void 0 : p.background) + ")"), I(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
375
375
  },
376
376
  m(u, p) {
377
- T(u, e, p), v(e, i), v(i, n), a && a.m(n, null), v(i, l), v(i, r);
377
+ F(u, e, p), v(e, i), v(i, n), a && a.m(n, null), v(i, l), v(i, r);
378
378
  for (let C = 0; C < g.length; C += 1)
379
379
  g[C] && g[C].m(r, null);
380
380
  v(e, _), b || (k = z(i, "click", h), b = !0);
@@ -383,36 +383,36 @@ function ae(t) {
383
383
  var C, P;
384
384
  if (t = u, f === (f = s(t)) && a ? a.p(t, p) : (a && a.d(1), a = f && f(t), a && (a.c(), a.m(n, null))), p[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
385
385
  8204) {
386
- c = H(
386
+ d = H(
387
387
  /*category*/
388
388
  t[41].games
389
389
  );
390
390
  let S;
391
- for (S = 0; S < c.length; S += 1) {
392
- const O = oe(t, c, S);
393
- g[S] ? g[S].p(O, p) : (g[S] = re(O), g[S].c(), g[S].m(r, null));
391
+ for (S = 0; S < d.length; S += 1) {
392
+ const B = oe(t, d, S);
393
+ g[S] ? g[S].p(B, p) : (g[S] = re(B), g[S].c(), g[S].m(r, null));
394
394
  }
395
395
  for (; S < g.length; S += 1)
396
396
  g[S].d(1);
397
- g.length = c.length;
397
+ g.length = d.length;
398
398
  }
399
399
  p[0] & /*gameCategories*/
400
- 8 && d !== (d = "CategorySlide " + /*category*/
401
- (((C = t[41]) == null ? void 0 : C.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && m(i, "class", d), p[0] & /*gameCategories*/
402
- 8 && E(i, "background-image", "url(" + /*category*/
400
+ 8 && c !== (c = "CategorySlide " + /*category*/
401
+ (((C = t[41]) == null ? void 0 : C.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && m(i, "class", c), p[0] & /*gameCategories*/
402
+ 8 && I(i, "background-image", "url(" + /*category*/
403
403
  ((P = t[41]) == null ? void 0 : P.background) + ")");
404
404
  },
405
405
  d(u) {
406
- u && j(e), a && a.d(), se(g, u), b = !1, k();
406
+ u && x(e), a && a.d(), se(g, u), b = !1, k();
407
407
  }
408
408
  };
409
409
  }
410
410
  function qe(t) {
411
411
  let e;
412
- function i(r, d) {
412
+ function i(r, c) {
413
413
  return (
414
414
  /*isLoading*/
415
- r[6] ? Ee : Re
415
+ r[6] ? Ie : Ne
416
416
  );
417
417
  }
418
418
  let n = i(t), l = n(t);
@@ -420,27 +420,27 @@ function qe(t) {
420
420
  c() {
421
421
  e = y("div"), l.c();
422
422
  },
423
- m(r, d) {
424
- T(r, e, d), l.m(e, null), t[26](e);
423
+ m(r, c) {
424
+ F(r, e, c), l.m(e, null), t[26](e);
425
425
  },
426
- p(r, d) {
427
- n === (n = i(r)) && l ? l.p(r, d) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
426
+ p(r, c) {
427
+ n === (n = i(r)) && l ? l.p(r, c) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
428
428
  },
429
- i: B,
430
- o: B,
429
+ i: O,
430
+ o: O,
431
431
  d(r) {
432
- r && j(e), l.d(), t[26](null);
432
+ r && x(e), l.d(), t[26](null);
433
433
  }
434
434
  };
435
435
  }
436
436
  function Ve(t, e, i) {
437
437
  let n;
438
438
  Le(t, ze, (o) => i(10, n = o));
439
- let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: _ = "" } = e, { titletype: b = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: c } = e, g = [], h = !0, u, p = 0, C = 0, P = 0, S, O, q = 0, N = 50, R = !1, L, ce = window.navigator.userAgent, V;
440
- const de = () => {
439
+ let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: c = "" } = e, { type: _ = "" } = e, { titletype: b = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: d } = e, g = [], h = !0, u, p = 0, C = 0, P = 0, S, B, q = 0, E = 50, N = !1, L, de = window.navigator.userAgent, V;
440
+ const ce = () => {
441
441
  fetch(f).then((w) => w.json()).then((w) => {
442
- Object.keys(w).forEach((x) => {
443
- ee(x, w[x]);
442
+ Object.keys(w).forEach((j) => {
443
+ ee(j, w[j]);
444
444
  });
445
445
  }).catch((w) => {
446
446
  console.log(w);
@@ -451,52 +451,52 @@ function Ve(t, e, i) {
451
451
  });
452
452
  const W = () => {
453
453
  const o = new URL(`${l}/v2/casino/groups/${r}`);
454
- o.searchParams.append("language", d), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${_})`), o.searchParams.append("pagination", `offset=${q},limit=${N}`), fetch(o.href).then((w) => w.json()).then((w) => {
455
- i(6, h = !1), w.total > N && (q += 50, N += 50, i(22, R = !0));
456
- let x = w.items.map((G) => {
457
- var X, Y, Q;
454
+ o.searchParams.append("language", c), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${_})`), o.searchParams.append("pagination", `offset=${q},limit=${E}`), fetch(o.href).then((w) => w.json()).then((w) => {
455
+ i(6, h = !1), w.total > E && (q += 50, E += 50, i(22, N = !0));
456
+ let j = w.items.map((G) => {
457
+ var Y, D, Q;
458
458
  return {
459
459
  id: G.id,
460
460
  name: G.name,
461
- icon: G.icon ? G.icon : (Q = (Y = (X = G.vendors) == null ? void 0 : X.items[0]) == null ? void 0 : Y.subVendors[0]) == null ? void 0 : Q.logo,
461
+ icon: G.icon ? G.icon : (Q = (D = (Y = G.vendors) == null ? void 0 : Y.items[0]) == null ? void 0 : D.subVendors[0]) == null ? void 0 : Q.logo,
462
462
  games: G.games.items.slice(0, 4).map((ye) => ye),
463
463
  background: G.background,
464
464
  flag: G.flags
465
465
  };
466
466
  });
467
- i(3, g = [...g, ...x]), i(7, C = g.length), ge();
467
+ i(3, g = [...g, ...j]), i(7, C = g.length), ge();
468
468
  });
469
469
  }, ge = () => {
470
470
  const o = L.getRootNode().host;
471
471
  o.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: o } }));
472
- }, D = (o) => {
472
+ }, K = (o) => {
473
473
  var w;
474
- O = [...u.children], O.forEach((x, G) => {
475
- x.style.transform = `translateX(${100 * (o ? G - o : G)}%)`;
476
- }), S = (w = O[0]) == null ? void 0 : w.getBoundingClientRect().width, ue();
474
+ B = [...u.children], B.forEach((j, G) => {
475
+ j.style.transform = `translateX(${100 * (o ? G - o : G)}%)`;
476
+ }), S = (w = B[0]) == null ? void 0 : w.getBoundingClientRect().width, ue();
477
477
  }, ue = () => {
478
478
  i(8, P = Math.floor(u.clientWidth / S));
479
- }, K = () => {
480
- D(p);
479
+ }, J = () => {
480
+ K(p);
481
481
  }, me = () => {
482
- p === 0 ? p = C - P : p - P < -1 ? p = 0 : p--, K();
482
+ p === 0 ? p = C - P : p - P < -1 ? p = 0 : p--, J();
483
483
  }, fe = () => {
484
- p === C - P ? p = 0 : C - P < p + 1 ? p = C - P : p++, K();
485
- }, J = (o, w, x, G) => {
484
+ p === C - P ? p = 0 : C - P < p + 1 ? p = C - P : p++, J();
485
+ }, Z = (o, w, j, G) => {
486
486
  window.postMessage(
487
487
  {
488
488
  type: "OpenCollectionsProvidersGame",
489
489
  gameId: o,
490
490
  launchUrl: w,
491
- gameName: x,
491
+ gameName: j,
492
492
  subVendor: G
493
493
  },
494
494
  window.location.href
495
495
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
496
496
  context: "CollectionsProviders",
497
- gameName: `${x}`
497
+ gameName: `${j}`
498
498
  });
499
- }, Z = (o) => {
499
+ }, X = (o) => {
500
500
  window.postMessage(
501
501
  {
502
502
  type: "OpenCollectionsProvidersCategory",
@@ -505,11 +505,11 @@ function Ve(t, e, i) {
505
505
  window.location.href
506
506
  );
507
507
  }, pe = () => {
508
- Ae(d);
508
+ Ae(c);
509
509
  };
510
- Me(() => (i(9, V = xe(ce)), () => {
510
+ Me(() => (i(9, V = je(de)), () => {
511
511
  }));
512
- const he = (o) => J(o.gameId, o.launchUrl, o.name, o.subVendor), ve = (o) => Z(o.id);
512
+ const he = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), ve = (o) => X(o.id);
513
513
  function be(o) {
514
514
  $[o ? "unshift" : "push"](() => {
515
515
  u = o, i(4, u);
@@ -521,17 +521,17 @@ function Ve(t, e, i) {
521
521
  });
522
522
  }
523
523
  return t.$$set = (o) => {
524
- "endpoint" in o && i(15, l = o.endpoint), "datasource" in o && i(16, r = o.datasource), "lang" in o && i(17, d = o.lang), "type" in o && i(0, _ = o.type), "titletype" in o && i(1, b = o.titletype), "clientstyling" in o && i(18, k = o.clientstyling), "clientstylingurl" in o && i(19, s = o.clientstylingurl), "translationurl" in o && i(20, f = o.translationurl), "collectionprovidersgamenames" in o && i(2, a = o.collectionprovidersgamenames), "mbsource" in o && i(21, c = o.mbsource);
524
+ "endpoint" in o && i(15, l = o.endpoint), "datasource" in o && i(16, r = o.datasource), "lang" in o && i(17, c = o.lang), "type" in o && i(0, _ = o.type), "titletype" in o && i(1, b = o.titletype), "clientstyling" in o && i(18, k = o.clientstyling), "clientstylingurl" in o && i(19, s = o.clientstylingurl), "translationurl" in o && i(20, f = o.translationurl), "collectionprovidersgamenames" in o && i(2, a = o.collectionprovidersgamenames), "mbsource" in o && i(21, d = o.mbsource);
525
525
  }, t.$$.update = () => {
526
526
  t.$$.dirty[0] & /*endpoint, datasource, lang*/
527
- 229376 && l && r && d && W(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
528
- 24 && g && u && D(), t.$$.dirty[0] & /*lang*/
529
- 131072 && d && pe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
530
- 262176 && k && L && Fe(L, k), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
531
- 524320 && s && L && Oe(L, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
532
- 2097184 && L && Be(L, `${c}.Style`), t.$$.dirty[0] & /*translationurl*/
533
- 1048576 && f && de(), t.$$.dirty[0] & /*paginationrequired*/
534
- 4194304 && R && W();
527
+ 229376 && l && r && c && W(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
528
+ 24 && g && u && K(), t.$$.dirty[0] & /*lang*/
529
+ 131072 && c && pe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
530
+ 262176 && k && L && Te(L, k), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
531
+ 524320 && s && L && Be(L, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
532
+ 2097184 && L && Oe(L, `${d}.Style`), t.$$.dirty[0] & /*translationurl*/
533
+ 1048576 && f && ce(), t.$$.dirty[0] & /*paginationrequired*/
534
+ 4194304 && N && W();
535
535
  }, [
536
536
  _,
537
537
  b,
@@ -546,16 +546,16 @@ function Ve(t, e, i) {
546
546
  n,
547
547
  me,
548
548
  fe,
549
- J,
550
549
  Z,
550
+ X,
551
551
  l,
552
552
  r,
553
- d,
553
+ c,
554
554
  k,
555
555
  s,
556
556
  f,
557
- c,
558
- R,
557
+ d,
558
+ N,
559
559
  he,
560
560
  ve,
561
561
  be,
@@ -582,7 +582,7 @@ class We extends Se {
582
582
  collectionprovidersgamenames: 2,
583
583
  mbsource: 21
584
584
  },
585
- Ne,
585
+ Ee,
586
586
  [-1, -1]
587
587
  );
588
588
  }