@everymatrix/casino-lobby-nd 1.94.4 → 1.94.6

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 (127) hide show
  1. package/components/{CasinoCalendar-ChcHsCuv.js → CasinoCalendar-DMGmxzVB.js} +39 -39
  2. package/components/{CasinoCalendar-DeTJu3D2.js → CasinoCalendar-DUkWuTPK.js} +24 -24
  3. package/components/{CasinoCalendar-C33P31BA.cjs → CasinoCalendar-yq4SXQ8v.cjs} +1 -1
  4. package/components/{CasinoCalendarDailyDetails-BGGygTGZ.js → CasinoCalendarDailyDetails-CQcDWWy6.js} +85 -85
  5. package/components/{CasinoCalendarDailyDetails-DczEg2pu.js → CasinoCalendarDailyDetails-CTfas3Aa.js} +59 -59
  6. package/components/{CasinoCalendarDailyDetails-8huehnAq.cjs → CasinoCalendarDailyDetails-CqYGEhmY.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-C7uNLmuH.cjs → CasinoCalendarDailyItem-CMk3_A_Q.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-C_YzNz9v.js → CasinoCalendarDailyItem-D-sZ6_hr.js} +35 -35
  9. package/components/{CasinoCalendarDailyItem-C_X8nQG6.js → CasinoCalendarDailyItem-DKTnJIBn.js} +26 -26
  10. package/components/{CasinoCategoriesSliderNd-BnBt6_ow.js → CasinoCategoriesSliderNd-Bhf0qstK.js} +50 -50
  11. package/components/{CasinoCategoriesSliderNd-Brb5YWjf.js → CasinoCategoriesSliderNd-CNc5qDig.js} +44 -44
  12. package/components/{CasinoCategoriesSliderNd-C3JH5VLQ.cjs → CasinoCategoriesSliderNd-DtgWPkmm.cjs} +1 -1
  13. package/components/{CasinoCollectionsProviders-OhP-y1ey.js → CasinoCollectionsProviders-BDWwMOmd.js} +84 -84
  14. package/components/{CasinoCollectionsProviders-ChNzYyno.cjs → CasinoCollectionsProviders-BDs7Ly3u.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-Cfvmk8dG.js → CasinoCollectionsProviders-BLQPJYNj.js} +82 -82
  16. package/components/{CasinoFavoritesSectionNd-D85u7FMj.js → CasinoFavoritesSectionNd-CJ1ke8JT.js} +30 -30
  17. package/components/{CasinoFavoritesSectionNd-CRhYZmEW.js → CasinoFavoritesSectionNd-DcmYj6VE.js} +30 -30
  18. package/components/{CasinoFavoritesSectionNd-q0MIY5K6.cjs → CasinoFavoritesSectionNd-ltZmoB_0.cjs} +1 -1
  19. package/components/{CasinoFilter-CkH29cAz.js → CasinoFilter-C9HNcVgU.js} +79 -79
  20. package/components/{CasinoFilter-5Pm1Trij.js → CasinoFilter-Cpbn5y3Y.js} +77 -77
  21. package/components/{CasinoFilter-Dy1t6Ekn.cjs → CasinoFilter-NZYgaUe7.cjs} +1 -1
  22. package/components/{CasinoGameThumbnailNd-BG1gcJ7b.cjs → CasinoGameThumbnailNd-GyyMWTbm.cjs} +1 -1
  23. package/components/{CasinoGameThumbnailNd-C4KtGZNJ.js → CasinoGameThumbnailNd-Xkj-q3y-.js} +50 -50
  24. package/components/{CasinoGameThumbnailNd-DgepZ1dY.js → CasinoGameThumbnailNd-o-vJj6jp.js} +59 -59
  25. package/components/{CasinoGamesCategorySectionNd-BUqLR4aK.js → CasinoGamesCategorySectionNd-Bgytw7dm.js} +88 -88
  26. package/components/{CasinoGamesCategorySectionNd-lHik12Kw.js → CasinoGamesCategorySectionNd-Cr_NhZnT.js} +52 -52
  27. package/components/{CasinoGamesCategorySectionNd-vBvwQHe1.cjs → CasinoGamesCategorySectionNd-D7bhRx5b.cjs} +1 -1
  28. package/components/{CasinoJackpotBanner-CVJAQzUY.js → CasinoJackpotBanner-BVTjbEXI.js} +56 -56
  29. package/components/{CasinoJackpotBanner-BTWHCq1p.js → CasinoJackpotBanner-D6dT-djT.js} +69 -69
  30. package/components/{CasinoJackpotBanner-5KiAaZQf.cjs → CasinoJackpotBanner-yiT3bIto.cjs} +1 -1
  31. package/components/{CasinoLastPlayedSectionNd-VtAZQUAI.js → CasinoLastPlayedSectionNd-BC1nK8wD.js} +28 -28
  32. package/components/{CasinoLastPlayedSectionNd-DK3Ydc-z.cjs → CasinoLastPlayedSectionNd-BSUhVbFa.cjs} +1 -1
  33. package/components/{CasinoLastPlayedSectionNd-BTZHEffg.js → CasinoLastPlayedSectionNd-DW2n1ZHh.js} +28 -28
  34. package/components/{CasinoLobbyNd-BjrEPcav.js → CasinoLobbyNd-94Y-QnBn.js} +57 -57
  35. package/components/{CasinoLobbyNd-nKTGizeD.js → CasinoLobbyNd-CU-fkwCM.js} +56 -56
  36. package/components/{CasinoLobbyNd-DqQk5N2g.cjs → CasinoLobbyNd-DwiJeUic.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSectionNd-CWidZx0v.cjs → CasinoMostPlayedSectionNd-BTF6iDz8.cjs} +1 -1
  38. package/components/{CasinoMostPlayedSectionNd-aGSfcsX_.js → CasinoMostPlayedSectionNd-CFRxFjE3.js} +37 -37
  39. package/components/{CasinoMostPlayedSectionNd-C-6htH3U.js → CasinoMostPlayedSectionNd-DDyQKSek.js} +37 -37
  40. package/components/{CasinoMyGamesNd-Dqb9e8OF.js → CasinoMyGamesNd-C2VbZept.js} +34 -34
  41. package/components/{CasinoMyGamesNd-B5kStDBY.js → CasinoMyGamesNd-D8OUroe-.js} +29 -29
  42. package/components/{CasinoMyGamesNd-CwYs2yrz.cjs → CasinoMyGamesNd-yazKqSkA.cjs} +1 -1
  43. package/components/{CasinoPageNd-BaH85NRj.cjs → CasinoPageNd-CO3iM3hj.cjs} +1 -1
  44. package/components/{CasinoPageNd-D-WMWSF2.js → CasinoPageNd-CpdHX_Gy.js} +930 -930
  45. package/components/{CasinoPageNd-BtH2zbRa.js → CasinoPageNd-DLTJ958-.js} +312 -312
  46. package/components/{CasinoRandomGame-C6xTPqZx.cjs → CasinoRandomGame-BnYnvVi3.cjs} +1 -1
  47. package/components/{CasinoRandomGame-BYFwlfdd.js → CasinoRandomGame-CYkmokzi.js} +75 -75
  48. package/components/{CasinoRandomGame-y55_G_Q3.js → CasinoRandomGame-CZdMwvV3.js} +80 -80
  49. package/components/{CasinoSearchNd-DnNct-fi.js → CasinoSearchNd-BwStsrli.js} +196 -192
  50. package/components/{CasinoSearchNd-C-7uIpp6.cjs → CasinoSearchNd-CWSRaLqO.cjs} +1 -1
  51. package/components/{CasinoSearchNd-B_BIw5LO.js → CasinoSearchNd-CdCubLN_.js} +175 -171
  52. package/components/{CasinoSliderNd-dHcF4jja.js → CasinoSliderNd-CCh_IEfi.js} +190 -190
  53. package/components/{CasinoSliderNd-C6oyurMH.js → CasinoSliderNd-CLW4Kqle.js} +251 -251
  54. package/components/{CasinoSliderNd-BdTQxBma.cjs → CasinoSliderNd-CYB60X-E.cjs} +1 -1
  55. package/components/{CasinoSort-DegElhFD.cjs → CasinoSort-2gZX4yet.cjs} +1 -1
  56. package/components/{CasinoSort-BWIrZWYL.js → CasinoSort-C-Jzsx9_.js} +44 -44
  57. package/components/{CasinoSort-BqIMD4ax.js → CasinoSort-C5XOtI5h.js} +35 -35
  58. package/components/{CasinoWinners-BzvzCE4t.js → CasinoWinners-D-85kx_w.js} +108 -108
  59. package/components/{CasinoWinners-CEkJIYWg.js → CasinoWinners-FqK-DW99.js} +99 -99
  60. package/components/{CasinoWinners-BgoFEx9j.cjs → CasinoWinners-l55o_06t.cjs} +1 -1
  61. package/components/{GeneralAnimationLoading-FCX1v6hM.js → GeneralAnimationLoading-B-UCGGch.js} +8 -8
  62. package/components/{GeneralAnimationLoading-6bSpAeHG.cjs → GeneralAnimationLoading-BFzD4Tkp.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-VYd8i95b.js → GeneralAnimationLoading-BL_5-F4R.js} +8 -8
  64. package/es2015/casino-lobby-nd.cjs +1 -1
  65. package/es2015/casino-lobby-nd.js +1 -1
  66. package/esnext/casino-lobby-nd.js +1 -1
  67. package/lazy/{casino-calendar-CxEvxyDm.cjs → casino-calendar-BdRo2RW_.cjs} +1 -1
  68. package/lazy/{casino-calendar-daily-details-BU8Mgpzz.js → casino-calendar-daily-details-B2QMkhxu.js} +1 -1
  69. package/lazy/{casino-calendar-daily-details-D26CuvSf.cjs → casino-calendar-daily-details-BSK5rlkE.cjs} +1 -1
  70. package/lazy/{casino-calendar-daily-details-D2jctUHi.js → casino-calendar-daily-details-CCrM9dGA.js} +1 -1
  71. package/lazy/{casino-calendar-daily-item-CKLSdiim.js → casino-calendar-daily-item-BgkHuWxq.js} +1 -1
  72. package/lazy/{casino-calendar-daily-item-DN364T5N.cjs → casino-calendar-daily-item-Bhg4Mx1v.cjs} +1 -1
  73. package/lazy/{casino-calendar-daily-item-D_CzsvOI.js → casino-calendar-daily-item-DBW_Q8Ye.js} +1 -1
  74. package/lazy/{casino-calendar-CvjqpP-f.js → casino-calendar-i1Sv-qPY.js} +1 -1
  75. package/lazy/{casino-calendar-CfGQ9747.js → casino-calendar-rrCFXZm9.js} +1 -1
  76. package/lazy/{casino-categories-slider-nd-2jA858bV.cjs → casino-categories-slider-nd-2iRdPuig.cjs} +1 -1
  77. package/lazy/{casino-categories-slider-nd-BnUvofbc.js → casino-categories-slider-nd-DRvtLYoQ.js} +1 -1
  78. package/lazy/{casino-categories-slider-nd-DfkAd2wG.js → casino-categories-slider-nd-cAPuUHrb.js} +1 -1
  79. package/lazy/{casino-collections-providers-DK3mU73U.js → casino-collections-providers-B47WYl_m.js} +1 -1
  80. package/lazy/{casino-collections-providers-x6EJiIXk.cjs → casino-collections-providers-BbDaAiwz.cjs} +1 -1
  81. package/lazy/{casino-collections-providers-D2fI5jZ9.js → casino-collections-providers-DJxKi9oa.js} +1 -1
  82. package/lazy/{casino-favorites-section-nd-bn4OoGzn.js → casino-favorites-section-nd-7erqbf7C.js} +1 -1
  83. package/lazy/{casino-favorites-section-nd-D9PkJvqK.js → casino-favorites-section-nd-CNSZOcOl.js} +1 -1
  84. package/lazy/{casino-favorites-section-nd-DkyAmtwt.cjs → casino-favorites-section-nd-DUlUZuWB.cjs} +1 -1
  85. package/lazy/{casino-filter-CXZcVQGX.js → casino-filter-BfWMbcME.js} +1 -1
  86. package/lazy/{casino-filter-zbfb1vC2.cjs → casino-filter-CwP95rvp.cjs} +1 -1
  87. package/lazy/{casino-filter-Qy_3KZlB.js → casino-filter-CzbPMz3E.js} +1 -1
  88. package/lazy/{casino-game-thumbnail-nd-Cuyl30x2.js → casino-game-thumbnail-nd-BNpinRWp.js} +1 -1
  89. package/lazy/{casino-game-thumbnail-nd-C4DDiSFj.js → casino-game-thumbnail-nd-DPd6X5eo.js} +1 -1
  90. package/lazy/{casino-game-thumbnail-nd-BVng7UNz.cjs → casino-game-thumbnail-nd-Uwtls8hu.cjs} +1 -1
  91. package/lazy/{casino-games-category-section-nd-CalNQ2rh.js → casino-games-category-section-nd-Cpw7BW64.js} +1 -1
  92. package/lazy/{casino-games-category-section-nd-DT6WNZ7x.cjs → casino-games-category-section-nd-DHBi-mil.cjs} +1 -1
  93. package/lazy/{casino-games-category-section-nd-BXkmNF8G.js → casino-games-category-section-nd-jnICysnC.js} +1 -1
  94. package/lazy/{casino-jackpot-banner-GyV5Ktva.js → casino-jackpot-banner-BNPzmYK7.js} +1 -1
  95. package/lazy/{casino-jackpot-banner-iGCFgt2D.js → casino-jackpot-banner-BhWS7LBb.js} +1 -1
  96. package/lazy/{casino-jackpot-banner-7V5NiXIc.cjs → casino-jackpot-banner-S_1N-3Q-.cjs} +1 -1
  97. package/lazy/{casino-last-played-section-nd-Nb-h7HXR.cjs → casino-last-played-section-nd-BnO-QC1T.cjs} +1 -1
  98. package/lazy/{casino-last-played-section-nd-B62Vq4Ch.js → casino-last-played-section-nd-CFThbjSs.js} +1 -1
  99. package/lazy/{casino-last-played-section-nd-Ck1jepHb.js → casino-last-played-section-nd-CubPPkdo.js} +1 -1
  100. package/lazy/{casino-most-played-section-nd-BIkBJcXR.js → casino-most-played-section-nd-BP_ouCxi.js} +1 -1
  101. package/lazy/{casino-most-played-section-nd-BsbdXXFs.cjs → casino-most-played-section-nd-C1xOxn2b.cjs} +1 -1
  102. package/lazy/{casino-most-played-section-nd-BQXAXIp1.js → casino-most-played-section-nd-U4Jyegs2.js} +1 -1
  103. package/lazy/{casino-my-games-nd-BSkxG98U.cjs → casino-my-games-nd-BKIMgqJL.cjs} +1 -1
  104. package/lazy/{casino-my-games-nd-CsjC99Ak.js → casino-my-games-nd-BkKV8lWI.js} +1 -1
  105. package/lazy/{casino-my-games-nd-De5_WefO.js → casino-my-games-nd-DFl2zZe9.js} +1 -1
  106. package/lazy/{casino-page-nd-CFK95sF4.js → casino-page-nd-CD_bp5k3.js} +1 -1
  107. package/lazy/{casino-page-nd-DXq4gh1-.js → casino-page-nd-DZjHr0u5.js} +1 -1
  108. package/lazy/{casino-page-nd-BnbntID0.cjs → casino-page-nd-eMlywpvD.cjs} +1 -1
  109. package/lazy/{casino-random-game-MkBl0tQQ.cjs → casino-random-game-BytinWj3.cjs} +1 -1
  110. package/lazy/{casino-random-game-CAnX7Y29.js → casino-random-game-CX0NPjv6.js} +1 -1
  111. package/lazy/{casino-random-game-Cf5Lmeg8.js → casino-random-game-ekI_c2s0.js} +1 -1
  112. package/lazy/{casino-search-nd-DRrxCPoB.cjs → casino-search-nd-BGZAiOPG.cjs} +1 -1
  113. package/lazy/{casino-search-nd-AmFJiMqW.js → casino-search-nd-BymQNr-P.js} +1 -1
  114. package/lazy/{casino-search-nd-DdfgYERy.js → casino-search-nd-C74Yo74x.js} +1 -1
  115. package/lazy/{casino-slider-nd-D20aT4-w.js → casino-slider-nd-BNa5X8cl.js} +1 -1
  116. package/lazy/{casino-slider-nd-rkoi66ta.js → casino-slider-nd-CAfRmhj3.js} +1 -1
  117. package/lazy/{casino-slider-nd-BbSTnL_W.cjs → casino-slider-nd-Dr4lH1FF.cjs} +1 -1
  118. package/lazy/{casino-sort-BE45oap7.js → casino-sort-DIy9miXQ.js} +1 -1
  119. package/lazy/{casino-sort-1M8xx2Jl.cjs → casino-sort-TpshbDH0.cjs} +1 -1
  120. package/lazy/{casino-sort-BKTlW2gH.js → casino-sort-XhuNTfgS.js} +1 -1
  121. package/lazy/{casino-winners-D3QKldwq.js → casino-winners-B9qbVi66.js} +1 -1
  122. package/lazy/{casino-winners-CMjoXgpy.js → casino-winners-CGwzQoFZ.js} +1 -1
  123. package/lazy/{casino-winners-D-avk83m.cjs → casino-winners-do3xmyMU.cjs} +1 -1
  124. package/lazy/{general-animation-loading-Dak6RADx.js → general-animation-loading-B_Nl7_XG.js} +1 -1
  125. package/lazy/{general-animation-loading-bScY8JOi.js → general-animation-loading-BulqkvHX.js} +1 -1
  126. package/lazy/{general-animation-loading-CqkehvGI.cjs → general-animation-loading-Di312CCx.cjs} +1 -1
  127. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { v as re, w as pe, a as me, S as he, i as Fe, s as be, f as L, b as ye, n as ie, d as z, e as V, g, j as ve, o as we, k as _e, l as ke, h as n, K as ae, X as Ce, M as ue, D as q, p as o, J as te, Y as ee, F as E, E as B, a1 as ne, Z as oe, q as xe, r as Se, t as Ie, c as Le, $ as Pe } from "./CasinoLobbyNd-nKTGizeD.js";
1
+ import { b as re, $ as pe, d as me, S as he, x as Fe, K as be, s as I, f as ye, D as ie, o as z, y as V, p as g, j as ve, F as we, t as _e, h as ke, g as n, r as ae, n as Ce, J as ue, P as K, e as o, B as te, W as ee, T as O, X as E, Q as ne, U as oe, L as xe, M as Se, N as Le, k as Ie, a as Pe } from "./CasinoLobbyNd-CU-fkwCM.js";
2
2
  function Ae({ withLocale: r, translations: e }) {
3
3
  re.subscribe((l) => {
4
4
  l == null && (pe.set(e), re.set(r));
@@ -117,31 +117,31 @@ const ce = {
117
117
  clear: "Clear all"
118
118
  }
119
119
  };
120
- function Ee(r) {
120
+ function Oe(r) {
121
121
  ye(r, "svelte-14m0j7n", ':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:17}.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, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.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 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, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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
122
  }
123
123
  function de(r, e, l) {
124
124
  const i = r.slice();
125
125
  return i[37] = e[l], i[38] = e, i[39] = l, i;
126
126
  }
127
- function Oe(r) {
127
+ function Te(r) {
128
128
  let e, l, i, a, s, m, v, w, b = (
129
129
  /*$_*/
130
130
  r[11]("filterby") + ""
131
- ), u, C, y, O, P = (
131
+ ), u, C, y, T, P = (
132
132
  /*$_*/
133
133
  r[11]("providers") + ""
134
- ), S, x, F, p, c, A, M, W, K, _, N, D, T, H = (
134
+ ), S, x, F, p, c, A, M, W, R, _, N, D, B, H = (
135
135
  /*$_*/
136
136
  r[11]("clear") + ""
137
- ), R, J, Z, U, G, Y;
138
- function Q(t, d) {
137
+ ), Z, J, U, q, G, X;
138
+ function Y(t, d) {
139
139
  return (
140
140
  /*fullSelection*/
141
- t[7] ? Me : Be
141
+ t[7] ? Me : Ee
142
142
  );
143
143
  }
144
- let X = Q(r), I = X(r), j = ae(
144
+ let Q = Y(r), L = Q(r), j = ae(
145
145
  /*vendorArray*/
146
146
  r[5]
147
147
  ), k = [];
@@ -149,24 +149,24 @@ function Oe(r) {
149
149
  k[t] = fe(de(r, j, t));
150
150
  return {
151
151
  c() {
152
- e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = E(), v = g("div"), w = g("span"), u = B(b), C = E(), y = g("div"), O = g("span"), S = B(P), x = E(), I.c(), F = E(), p = g("span"), c = ee("svg"), A = ee("path"), K = E(), _ = g("div"), N = g("ul");
152
+ e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = O(), v = g("div"), w = g("span"), u = E(b), C = O(), y = g("div"), T = g("span"), S = E(P), x = O(), L.c(), F = O(), p = g("span"), c = ee("svg"), A = ee("path"), R = O(), _ = g("div"), N = g("ul");
153
153
  for (let t = 0; t < k.length; t += 1)
154
154
  k[t].c();
155
- D = E(), T = g("button"), R = B(H), n(s, "id", "noun_filter_736223"), n(s, "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"), n(s, "transform", "translate(-5 -6.2)"), n(s, "fill", "#fff"), n(a, "xmlns", "http://www.w3.org/2000/svg"), n(a, "width", "16"), n(a, "height", "16"), n(a, "viewBox", "0 0 16 16"), n(w, "class", "FilterName"), n(y, "class", "FilterValueContainer"), n(v, "class", "FilterTextContainer"), n(i, "class", "FilterMainArea"), n(A, "id", "arrow"), n(A, "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"), n(A, "transform", "translate(-274.511 -441.088)"), n(A, "fill", "#d1d1d1"), n(c, "xmlns", "http://www.w3.org/2000/svg"), n(c, "width", "14"), n(c, "height", "6.835"), n(c, "viewBox", "0 0 14 6.835"), n(p, "class", M = "TriangleInactive " + /*isFilterActive*/
155
+ D = O(), B = g("button"), Z = E(H), n(s, "id", "noun_filter_736223"), n(s, "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"), n(s, "transform", "translate(-5 -6.2)"), n(s, "fill", "#fff"), n(a, "xmlns", "http://www.w3.org/2000/svg"), n(a, "width", "16"), n(a, "height", "16"), n(a, "viewBox", "0 0 16 16"), n(w, "class", "FilterName"), n(y, "class", "FilterValueContainer"), n(v, "class", "FilterTextContainer"), n(i, "class", "FilterMainArea"), n(A, "id", "arrow"), n(A, "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"), n(A, "transform", "translate(-274.511 -441.088)"), n(A, "fill", "#d1d1d1"), n(c, "xmlns", "http://www.w3.org/2000/svg"), n(c, "width", "14"), n(c, "height", "6.835"), n(c, "viewBox", "0 0 14 6.835"), n(p, "class", M = "TriangleInactive " + /*isFilterActive*/
156
156
  (r[4] ? "TriangleActive" : "")), n(l, "class", W = "FilterSelector " + /*isFilterActive*/
157
- (r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(T, "class", "ClearFilters"), T.disabled = J = /*fullSelection*/
157
+ (r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(B, "class", "ClearFilters"), B.disabled = J = /*fullSelection*/
158
158
  r[7] && /*selectedVendorArray*/
159
159
  r[6].length != /*vendorArray*/
160
- r[5].length, n(_, "class", Z = "FilterDropdownContainer " + /*isFilterActive*/
161
- (r[4] ? "FilterOpen" : "")), n(e, "class", U = "FilterContainer " + /*addfilterselector*/
160
+ r[5].length, n(_, "class", U = "FilterDropdownContainer " + /*isFilterActive*/
161
+ (r[4] ? "FilterOpen" : "")), n(e, "class", q = "FilterContainer " + /*addfilterselector*/
162
162
  (r[0] == "true" && /*addsortingselector*/
163
163
  r[1] == "true" ? "FilerContainerSplit" : ""));
164
164
  },
165
165
  m(t, d) {
166
- V(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, u), o(v, C), o(v, y), o(y, O), o(O, S), o(y, x), I.m(y, null), o(l, F), o(l, p), o(p, c), o(c, A), o(e, K), o(e, _), o(_, N);
166
+ V(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, u), o(v, C), o(v, y), o(y, T), o(T, S), o(y, x), L.m(y, null), o(l, F), o(l, p), o(p, c), o(c, A), o(e, R), o(e, _), o(_, N);
167
167
  for (let f = 0; f < k.length; f += 1)
168
168
  k[f] && k[f].m(N, null);
169
- o(_, D), o(_, T), o(T, R), G || (Y = [
169
+ o(_, D), o(_, B), o(B, Z), G || (X = [
170
170
  te(
171
171
  l,
172
172
  "click",
@@ -174,7 +174,7 @@ function Oe(r) {
174
174
  r[25]
175
175
  ),
176
176
  te(
177
- T,
177
+ B,
178
178
  "click",
179
179
  /*click_handler_2*/
180
180
  r[28]
@@ -184,9 +184,9 @@ function Oe(r) {
184
184
  p(t, d) {
185
185
  if (d[0] & /*$_*/
186
186
  2048 && b !== (b = /*$_*/
187
- t[11]("filterby") + "") && q(u, b), d[0] & /*$_*/
187
+ t[11]("filterby") + "") && K(u, b), d[0] & /*$_*/
188
188
  2048 && P !== (P = /*$_*/
189
- t[11]("providers") + "") && q(S, P), X === (X = Q(t)) && I ? I.p(t, d) : (I.d(1), I = X(t), I && (I.c(), I.m(y, null))), d[0] & /*isFilterActive*/
189
+ t[11]("providers") + "") && K(S, P), Q === (Q = Y(t)) && L ? L.p(t, d) : (L.d(1), L = Q(t), L && (L.c(), L.m(y, null))), d[0] & /*isFilterActive*/
190
190
  16 && M !== (M = "TriangleInactive " + /*isFilterActive*/
191
191
  (t[4] ? "TriangleActive" : "")) && n(p, "class", M), d[0] & /*isFilterActive*/
192
192
  16 && W !== (W = "FilterSelector " + /*isFilterActive*/
@@ -207,23 +207,23 @@ function Oe(r) {
207
207
  }
208
208
  d[0] & /*$_*/
209
209
  2048 && H !== (H = /*$_*/
210
- t[11]("clear") + "") && q(R, H), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
210
+ t[11]("clear") + "") && K(Z, H), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
211
  224 && J !== (J = /*fullSelection*/
212
212
  t[7] && /*selectedVendorArray*/
213
213
  t[6].length != /*vendorArray*/
214
- t[5].length) && (T.disabled = J), d[0] & /*isFilterActive*/
215
- 16 && Z !== (Z = "FilterDropdownContainer " + /*isFilterActive*/
216
- (t[4] ? "FilterOpen" : "")) && n(_, "class", Z), d[0] & /*addfilterselector, addsortingselector*/
217
- 3 && U !== (U = "FilterContainer " + /*addfilterselector*/
214
+ t[5].length) && (B.disabled = J), d[0] & /*isFilterActive*/
215
+ 16 && U !== (U = "FilterDropdownContainer " + /*isFilterActive*/
216
+ (t[4] ? "FilterOpen" : "")) && n(_, "class", U), d[0] & /*addfilterselector, addsortingselector*/
217
+ 3 && q !== (q = "FilterContainer " + /*addfilterselector*/
218
218
  (t[0] == "true" && /*addsortingselector*/
219
- t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", U);
219
+ t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", q);
220
220
  },
221
221
  d(t) {
222
- t && z(e), I.d(), Ce(k, t), G = !1, ue(Y);
222
+ t && z(e), L.d(), Ce(k, t), G = !1, ue(X);
223
223
  }
224
224
  };
225
225
  }
226
- function Te(r) {
226
+ function Be(r) {
227
227
  let e, l = (
228
228
  /*$_*/
229
229
  r[11]("500") + ""
@@ -245,11 +245,11 @@ function Te(r) {
245
245
  }
246
246
  };
247
247
  }
248
- function Be(r) {
248
+ function Ee(r) {
249
249
  let e, l;
250
250
  return {
251
251
  c() {
252
- e = g("span"), l = B(
252
+ e = g("span"), l = E(
253
253
  /*selectionNumber*/
254
254
  r[8]
255
255
  ), n(e, "class", "FilterCounter");
@@ -259,7 +259,7 @@ function Be(r) {
259
259
  },
260
260
  p(i, a) {
261
261
  a[0] & /*selectionNumber*/
262
- 256 && q(
262
+ 256 && K(
263
263
  l,
264
264
  /*selectionNumber*/
265
265
  i[8]
@@ -277,7 +277,7 @@ function Me(r) {
277
277
  ), i;
278
278
  return {
279
279
  c() {
280
- e = g("span"), i = B(l), n(e, "class", "FilterCounter");
280
+ e = g("span"), i = E(l), n(e, "class", "FilterCounter");
281
281
  },
282
282
  m(a, s) {
283
283
  V(a, e, s), o(e, i);
@@ -285,7 +285,7 @@ function Me(r) {
285
285
  p(a, s) {
286
286
  s[0] & /*$_*/
287
287
  2048 && l !== (l = /*$_*/
288
- a[11]("all") + "") && q(i, l);
288
+ a[11]("all") + "") && K(i, l);
289
289
  },
290
290
  d(a) {
291
291
  a && z(e);
@@ -322,7 +322,7 @@ function De(r) {
322
322
  ), b, u;
323
323
  return {
324
324
  c() {
325
- e = g("div"), l = g("span"), a = B(i), s = E(), m = g("span"), v = B("("), b = B(w), u = B(")"), n(l, "class", "VendorName"), n(e, "class", "FilterItemLabel");
325
+ e = g("div"), l = g("span"), a = E(i), s = O(), m = g("span"), v = E("("), b = E(w), u = E(")"), n(l, "class", "VendorName"), n(e, "class", "FilterItemLabel");
326
326
  },
327
327
  m(C, y) {
328
328
  V(C, e, y), o(e, l), o(l, a), o(e, s), o(e, m), o(m, v), o(m, b), o(m, u);
@@ -330,9 +330,9 @@ function De(r) {
330
330
  p(C, y) {
331
331
  y[0] & /*vendorArray*/
332
332
  32 && i !== (i = /*vendor*/
333
- C[37].name + "") && q(a, i), y[0] & /*vendorArray*/
333
+ C[37].name + "") && K(a, i), y[0] & /*vendorArray*/
334
334
  32 && w !== (w = /*vendor*/
335
- C[37].games.total + "") && q(b, w);
335
+ C[37].games.total + "") && K(b, w);
336
336
  },
337
337
  d(C) {
338
338
  C && z(e);
@@ -341,7 +341,7 @@ function De(r) {
341
341
  }
342
342
  function fe(r) {
343
343
  let e, l, i, a, s, m, v, w, b, u, C, y;
344
- function O() {
344
+ function T() {
345
345
  r[26].call(
346
346
  i,
347
347
  /*each_value*/
@@ -374,7 +374,7 @@ function fe(r) {
374
374
  let x = S(r), F = x && x(r);
375
375
  return {
376
376
  c() {
377
- e = g("li"), l = g("label"), i = g("input"), s = E(), m = g("span"), v = E(), F && F.c(), w = E(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
377
+ e = g("li"), l = g("label"), i = g("input"), s = O(), m = g("span"), v = O(), F && F.c(), w = O(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
378
378
  r[37].name, ne(i, i.__value), n(m, "class", "FiltersCheckmark"), n(l, "class", "FilterLabel"), n(e, "class", b = "FilterItem " + /*filterbylogo*/
379
379
  (r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = u = /*vendor*/
380
380
  r[37].name;
@@ -382,7 +382,7 @@ function fe(r) {
382
382
  m(p, c) {
383
383
  V(p, e, c), o(e, l), o(l, i), i.checked = /*vendor*/
384
384
  r[37].isFilterSelected, o(l, s), o(l, m), o(l, v), F && F.m(l, null), o(e, w), C || (y = [
385
- te(i, "change", O),
385
+ te(i, "change", T),
386
386
  te(i, "click", P)
387
387
  ], C = !0);
388
388
  },
@@ -409,10 +409,10 @@ function je(r) {
409
409
  /*hasErrors*/
410
410
  s[10]
411
411
  )
412
- return Te;
412
+ return Be;
413
413
  if (!/*isLoading*/
414
414
  s[9])
415
- return Oe;
415
+ return Te;
416
416
  }
417
417
  let i = l(r), a = i && i(r);
418
418
  return {
@@ -435,9 +435,9 @@ function je(r) {
435
435
  function ze(r, e, l) {
436
436
  let i;
437
437
  ve(r, Pe, (t) => l(11, i = t));
438
- let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: O = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], A = {}, M = !1, W = 0, K = !0, _, N = !1, D;
438
+ let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: T = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], A = {}, M = !1, W = 0, R = !0, _, N = !1, D;
439
439
  Ae({ withLocale: "en", translations: {} });
440
- const T = () => {
440
+ const B = () => {
441
441
  fetch(v).then((d) => d.json()).then((d) => {
442
442
  Object.keys(d).forEach((f) => {
443
443
  se(f, d[f]);
@@ -451,18 +451,18 @@ function ze(r, e, l) {
451
451
  }), A[u] && (A = { [u]: [] });
452
452
  const H = () => {
453
453
  l(4, x = !x), window.postMessage({ type: "FilterOpened" }, window.location.href);
454
- }, R = (t) => (l(9, K = !0), new Promise((d, f) => {
454
+ }, Z = (t) => (l(9, R = !0), new Promise((d, f) => {
455
455
  fetch(t).then((h) => h.json()).then((h) => {
456
456
  h = h.items, d(h.items), l(6, c = []);
457
457
  let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
458
458
  const ge = S === "true" ? "*" : u;
459
459
  h.forEach(($) => {
460
460
  le || (le = { currentCategoryId: [] }), le[ge]?.indexOf($.id) >= 0 ? ($.isFilterSelected = !0, c.push($)) : $.isFilterSelected = !1;
461
- }), l(5, p = h), Z();
461
+ }), l(5, p = h), U();
462
462
  }).catch((h) => {
463
463
  console.error(h), l(10, N = !0), f(h);
464
464
  }).finally(() => {
465
- l(9, K = !1);
465
+ l(9, R = !1);
466
466
  });
467
467
  })), J = (t) => {
468
468
  let d = localStorage.getItem("vendorFiltersByCategory");
@@ -470,54 +470,54 @@ function ze(r, e, l) {
470
470
  const f = S === "true" ? "*" : u;
471
471
  d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
472
472
  [f]: c.map((h) => h.id)
473
- })) : (d = JSON.parse(d), d[f] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), Z();
474
- }, Z = () => {
475
- l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
473
+ })) : (d = JSON.parse(d), d[f] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), U();
476
474
  }, U = () => {
475
+ l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
476
+ }, q = () => {
477
477
  if (p.length && S === "true")
478
478
  return;
479
479
  const t = new URL(`${a}/v1/casino/vendors`);
480
- l(4, x = !1), t.searchParams.append("fields", "id,name,logo,subVendors,games"), t.searchParams.append("language", m), t.searchParams.append("datasource", s), t.searchParams.append("platform", _e(F)), S === "true" || ((u.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${u})`), t.searchParams.append("subVendors", `games(subGroups=${u})`)) : t.searchParams.append("filter", `games(groups=${u})`)), R(t);
480
+ l(4, x = !1), t.searchParams.append("fields", "id,name,logo,subVendors,games"), t.searchParams.append("language", m), t.searchParams.append("datasource", s), t.searchParams.append("platform", _e(F)), S === "true" || ((u.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${u})`), t.searchParams.append("subVendors", `games(subGroups=${u})`)) : t.searchParams.append("filter", `games(groups=${u})`)), Z(t);
481
481
  }, G = () => {
482
482
  l(6, c = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
483
483
  [S === "true" ? "*" : u]: c.map((t) => t.id)
484
484
  })), p.forEach((t) => t.isFilterSelected = !1), l(5, p), window.postMessage({ type: "ApplyFilters" }, window.location.href), l(7, M = !0), l(4, x = !1);
485
- }, Y = (t) => {
485
+ }, X = (t) => {
486
486
  t.data.type == "SortingOpened" && l(4, x = !1);
487
487
  };
488
- we(() => (window.addEventListener("message", Y, !1), () => {
489
- window.emMessageBus != null && D && D.unsubscribe(), window.removeEventListener("message", Y);
488
+ we(() => (window.addEventListener("message", X, !1), () => {
489
+ window.emMessageBus != null && D && D.unsubscribe(), window.removeEventListener("message", X);
490
490
  }));
491
- const Q = () => H();
492
- function X(t, d) {
491
+ const Y = () => H();
492
+ function Q(t, d) {
493
493
  t[d].isFilterSelected = this.checked, l(5, p);
494
494
  }
495
- const I = (t) => J(t), j = () => G();
495
+ const L = (t) => J(t), j = () => G();
496
496
  function k(t) {
497
497
  ke[t ? "unshift" : "push"](() => {
498
498
  _ = t, l(3, _);
499
499
  });
500
500
  }
501
501
  return r.$$set = (t) => {
502
- "endpoint" in t && l(15, a = t.endpoint), "datasource" in t && l(16, s = t.datasource), "lang" in t && l(17, m = t.lang), "translationurl" in t && l(18, v = t.translationurl), "clientstyling" in t && l(19, w = t.clientstyling), "clientstylingurl" in t && l(20, b = t.clientstylingurl), "categoryid" in t && l(21, u = t.categoryid), "addfilterselector" in t && l(0, C = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2, O = t.filterbylogo), "mbsource" in t && l(22, P = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
502
+ "endpoint" in t && l(15, a = t.endpoint), "datasource" in t && l(16, s = t.datasource), "lang" in t && l(17, m = t.lang), "translationurl" in t && l(18, v = t.translationurl), "clientstyling" in t && l(19, w = t.clientstyling), "clientstylingurl" in t && l(20, b = t.clientstylingurl), "categoryid" in t && l(21, u = t.categoryid), "addfilterselector" in t && l(0, C = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2, T = t.filterbylogo), "mbsource" in t && l(22, P = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
503
503
  }, r.$$.update = () => {
504
504
  r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
505
- 2195460 && a && s && u && O && U(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
505
+ 2195460 && a && s && u && T && q(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
506
506
  524296 && w && _ && xe(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
507
507
  1048584 && b && _ && Se(_, b), r.$$.dirty[0] & /*mbsource, customStylingContainer, styleSubscription*/
508
- 20971528 && P && _ && l(24, D = Ie(_, `${P}.Style`, D, !0)), r.$$.dirty[0] & /*translationurl*/
509
- 262144 && v && T();
508
+ 20971528 && P && _ && l(24, D = Le(_, `${P}.Style`, D, !0)), r.$$.dirty[0] & /*translationurl*/
509
+ 262144 && v && B();
510
510
  }, [
511
511
  C,
512
512
  y,
513
- O,
513
+ T,
514
514
  _,
515
515
  x,
516
516
  p,
517
517
  c,
518
518
  M,
519
519
  W,
520
- K,
520
+ R,
521
521
  N,
522
522
  i,
523
523
  H,
@@ -533,9 +533,9 @@ function ze(r, e, l) {
533
533
  P,
534
534
  S,
535
535
  D,
536
+ Y,
536
537
  Q,
537
- X,
538
- I,
538
+ L,
539
539
  j,
540
540
  k
541
541
  ];
@@ -562,7 +562,7 @@ class Ve extends he {
562
562
  mbsource: 22,
563
563
  usesinglevendorfilter: 23
564
564
  },
565
- Ee,
565
+ Oe,
566
566
  [-1, -1]
567
567
  );
568
568
  }
@@ -570,76 +570,76 @@ class Ve extends he {
570
570
  return this.$$.ctx[15];
571
571
  }
572
572
  set endpoint(e) {
573
- this.$$set({ endpoint: e }), L();
573
+ this.$$set({ endpoint: e }), I();
574
574
  }
575
575
  get datasource() {
576
576
  return this.$$.ctx[16];
577
577
  }
578
578
  set datasource(e) {
579
- this.$$set({ datasource: e }), L();
579
+ this.$$set({ datasource: e }), I();
580
580
  }
581
581
  get lang() {
582
582
  return this.$$.ctx[17];
583
583
  }
584
584
  set lang(e) {
585
- this.$$set({ lang: e }), L();
585
+ this.$$set({ lang: e }), I();
586
586
  }
587
587
  get translationurl() {
588
588
  return this.$$.ctx[18];
589
589
  }
590
590
  set translationurl(e) {
591
- this.$$set({ translationurl: e }), L();
591
+ this.$$set({ translationurl: e }), I();
592
592
  }
593
593
  get clientstyling() {
594
594
  return this.$$.ctx[19];
595
595
  }
596
596
  set clientstyling(e) {
597
- this.$$set({ clientstyling: e }), L();
597
+ this.$$set({ clientstyling: e }), I();
598
598
  }
599
599
  get clientstylingurl() {
600
600
  return this.$$.ctx[20];
601
601
  }
602
602
  set clientstylingurl(e) {
603
- this.$$set({ clientstylingurl: e }), L();
603
+ this.$$set({ clientstylingurl: e }), I();
604
604
  }
605
605
  get categoryid() {
606
606
  return this.$$.ctx[21];
607
607
  }
608
608
  set categoryid(e) {
609
- this.$$set({ categoryid: e }), L();
609
+ this.$$set({ categoryid: e }), I();
610
610
  }
611
611
  get addfilterselector() {
612
612
  return this.$$.ctx[0];
613
613
  }
614
614
  set addfilterselector(e) {
615
- this.$$set({ addfilterselector: e }), L();
615
+ this.$$set({ addfilterselector: e }), I();
616
616
  }
617
617
  get addsortingselector() {
618
618
  return this.$$.ctx[1];
619
619
  }
620
620
  set addsortingselector(e) {
621
- this.$$set({ addsortingselector: e }), L();
621
+ this.$$set({ addsortingselector: e }), I();
622
622
  }
623
623
  get filterbylogo() {
624
624
  return this.$$.ctx[2];
625
625
  }
626
626
  set filterbylogo(e) {
627
- this.$$set({ filterbylogo: e }), L();
627
+ this.$$set({ filterbylogo: e }), I();
628
628
  }
629
629
  get mbsource() {
630
630
  return this.$$.ctx[22];
631
631
  }
632
632
  set mbsource(e) {
633
- this.$$set({ mbsource: e }), L();
633
+ this.$$set({ mbsource: e }), I();
634
634
  }
635
635
  get usesinglevendorfilter() {
636
636
  return this.$$.ctx[23];
637
637
  }
638
638
  set usesinglevendorfilter(e) {
639
- this.$$set({ usesinglevendorfilter: e }), L();
639
+ this.$$set({ usesinglevendorfilter: e }), I();
640
640
  }
641
641
  }
642
- Le(Ve, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
642
+ Ie(Ve, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
643
643
  export {
644
644
  Ve as default
645
645
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobbyNd-DqQk5N2g.cjs");function ee({withLocale:i,translations:t}){e.$locale.subscribe(r=>{r==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function G(i,t){e.addMessages(i,t)}const K={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"},"en-us":{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"}};function te(i){e.append_styles(i,"svelte-14m0j7n",':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:17}.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, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.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 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, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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%}}')}function Q(i,t,r){const a=i.slice();return a[37]=t[r],a[38]=t,a[39]=r,a}function le(i){let t,r,a,n,s,f,b,y,h=i[11]("filterby")+"",p,w,F,I,S=i[11]("providers")+"",k,x,m,u,o,L,A,B,D,v,O,T,P,M=i[11]("clear")+"",z,N,j,V,W,J;function q(l,c){return l[7]?ae:ie}let H=q(i),C=H(i),E=e.ensure_array_like(i[5]),_=[];for(let l=0;l<E.length;l+=1)_[l]=X(Q(i,E,l));return{c(){t=e.element("div"),r=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("path"),f=e.space(),b=e.element("div"),y=e.element("span"),p=e.text(h),w=e.space(),F=e.element("div"),I=e.element("span"),k=e.text(S),x=e.space(),C.c(),m=e.space(),u=e.element("span"),o=e.svg_element("svg"),L=e.svg_element("path"),D=e.space(),v=e.element("div"),O=e.element("ul");for(let l=0;l<_.length;l+=1)_[l].c();T=e.space(),P=e.element("button"),z=e.text(M),e.attr(s,"id","noun_filter_736223"),e.attr(s,"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"),e.attr(s,"transform","translate(-5 -6.2)"),e.attr(s,"fill","#fff"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","16"),e.attr(n,"height","16"),e.attr(n,"viewBox","0 0 16 16"),e.attr(y,"class","FilterName"),e.attr(F,"class","FilterValueContainer"),e.attr(b,"class","FilterTextContainer"),e.attr(a,"class","FilterMainArea"),e.attr(L,"id","arrow"),e.attr(L,"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"),e.attr(L,"transform","translate(-274.511 -441.088)"),e.attr(L,"fill","#d1d1d1"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","14"),e.attr(o,"height","6.835"),e.attr(o,"viewBox","0 0 14 6.835"),e.attr(u,"class",A="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(r,"class",B="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(O,"class","FilterDropdown"),e.attr(P,"class","ClearFilters"),P.disabled=N=i[7]&&i[6].length!=i[5].length,e.attr(v,"class",j="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",V="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(l,c){e.insert(l,t,c),e.append(t,r),e.append(r,a),e.append(a,n),e.append(n,s),e.append(a,f),e.append(a,b),e.append(b,y),e.append(y,p),e.append(b,w),e.append(b,F),e.append(F,I),e.append(I,k),e.append(F,x),C.m(F,null),e.append(r,m),e.append(r,u),e.append(u,o),e.append(o,L),e.append(t,D),e.append(t,v),e.append(v,O);for(let d=0;d<_.length;d+=1)_[d]&&_[d].m(O,null);e.append(v,T),e.append(v,P),e.append(P,z),W||(J=[e.listen(r,"click",i[25]),e.listen(P,"click",i[28])],W=!0)},p(l,c){if(c[0]&2048&&h!==(h=l[11]("filterby")+"")&&e.set_data(p,h),c[0]&2048&&S!==(S=l[11]("providers")+"")&&e.set_data(k,S),H===(H=q(l))&&C?C.p(l,c):(C.d(1),C=H(l),C&&(C.c(),C.m(F,null))),c[0]&16&&A!==(A="TriangleInactive "+(l[4]?"TriangleActive":""))&&e.attr(u,"class",A),c[0]&16&&B!==(B="FilterSelector "+(l[4]?"FilterSelectorOpen":""))&&e.attr(r,"class",B),c[0]&8228){E=e.ensure_array_like(l[5]);let d;for(d=0;d<E.length;d+=1){const g=Q(l,E,d);_[d]?_[d].p(g,c):(_[d]=X(g),_[d].c(),_[d].m(O,null))}for(;d<_.length;d+=1)_[d].d(1);_.length=E.length}c[0]&2048&&M!==(M=l[11]("clear")+"")&&e.set_data(z,M),c[0]&224&&N!==(N=l[7]&&l[6].length!=l[5].length)&&(P.disabled=N),c[0]&16&&j!==(j="FilterDropdownContainer "+(l[4]?"FilterOpen":""))&&e.attr(v,"class",j),c[0]&3&&V!==(V="FilterContainer "+(l[0]=="true"&&l[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",V)},d(l){l&&e.detach(t),C.d(),e.destroy_each(_,l),W=!1,e.run_all(J)}}}function re(i){let t,r=i[11]("500")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(a,n){e.insert(a,t,n),t.innerHTML=r},p(a,n){n[0]&2048&&r!==(r=a[11]("500")+"")&&(t.innerHTML=r)},d(a){a&&e.detach(t)}}}function ie(i){let t,r;return{c(){t=e.element("span"),r=e.text(i[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,r)},p(a,n){n[0]&256&&e.set_data(r,a[8])},d(a){a&&e.detach(t)}}}function ae(i){let t,r=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(r),e.attr(t,"class","FilterCounter")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&r!==(r=n[11]("all")+"")&&e.set_data(a,r)},d(n){n&&e.detach(t)}}}function ne(i){let t,r;return{c(){t=e.element("img"),e.src_url_equal(t.src,r=i[37].logo)||e.attr(t,"src",r),e.attr(t,"alt","vendor logo")},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&32&&!e.src_url_equal(t.src,r=a[37].logo)&&e.attr(t,"src",r)},d(a){a&&e.detach(t)}}}function se(i){let t,r,a=i[37].name+"",n,s,f,b,y=i[37].games.total+"",h,p;return{c(){t=e.element("div"),r=e.element("span"),n=e.text(a),s=e.space(),f=e.element("span"),b=e.text("("),h=e.text(y),p=e.text(")"),e.attr(r,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(w,F){e.insert(w,t,F),e.append(t,r),e.append(r,n),e.append(t,s),e.append(t,f),e.append(f,b),e.append(f,h),e.append(f,p)},p(w,F){F[0]&32&&a!==(a=w[37].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=w[37].games.total+"")&&e.set_data(h,y)},d(w){w&&e.detach(t)}}}function X(i){let t,r,a,n,s,f,b,y,h,p,w,F;function I(){i[26].call(a,i[38],i[39])}function S(){return i[27](i[37])}function k(u,o){if(u[2]==="false")return se;if(u[2]==="true")return ne}let x=k(i),m=x&&x(i);return{c(){t=e.element("li"),r=e.element("label"),a=e.element("input"),s=e.space(),f=e.element("span"),b=e.space(),m&&m.c(),y=e.space(),e.attr(a,"type","checkbox"),e.attr(a,"name","checkbox"),a.__value=n=i[37].name,e.set_input_value(a,a.__value),e.attr(f,"class","FiltersCheckmark"),e.attr(r,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=p=i[37].name},m(u,o){e.insert(u,t,o),e.append(t,r),e.append(r,a),a.checked=i[37].isFilterSelected,e.append(r,s),e.append(r,f),e.append(r,b),m&&m.m(r,null),e.append(t,y),w||(F=[e.listen(a,"change",I),e.listen(a,"click",S)],w=!0)},p(u,o){i=u,o[0]&32&&n!==(n=i[37].name)&&(a.__value=n,e.set_input_value(a,a.__value)),o[0]&32&&(a.checked=i[37].isFilterSelected),x===(x=k(i))&&m?m.p(i,o):(m&&m.d(1),m=x&&x(i),m&&(m.c(),m.m(r,null))),o[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),o[0]&32&&p!==(p=i[37].name)&&(t.value=p)},d(u){u&&e.detach(t),m&&m.d(),w=!1,e.run_all(F)}}}function oe(i){let t;function r(s,f){if(s[10])return re;if(!s[9])return le}let a=r(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(s,f){e.insert(s,t,f),n&&n.m(t,null),i[29](t)},p(s,f){a===(a=r(s))&&n?n.p(s,f):(n&&n.d(1),n=a&&a(s),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),n&&n.d(),i[29](null)}}}function ce(i,t,r){let a;e.component_subscribe(i,e.$format,l=>r(11,a=l));let{endpoint:n=""}=t,{datasource:s=""}=t,{lang:f=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:p=""}=t,{addfilterselector:w="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:I="false"}=t,{mbsource:S}=t,{usesinglevendorfilter:k="false"}=t,x=!1,m=window.navigator.userAgent,u=[],o=[],L={},A=!1,B=0,D=!0,v,O=!1,T;ee({withLocale:"en",translations:{}});const P=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(d=>{G(d,c[d])})}).catch(c=>{console.log(c)})};Object.keys(K).forEach(l=>{G(l,K[l])}),L[p]&&(L={[p]:[]});const M=()=>{r(4,x=!x),window.postMessage({type:"FilterOpened"},window.location.href)},z=l=>(r(9,D=!0),new Promise((c,d)=>{fetch(l).then(g=>g.json()).then(g=>{g=g.items,c(g.items),r(6,o=[]);let U=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const $=k==="true"?"*":p;g.forEach(R=>{var Z;U||(U={currentCategoryId:[]}),((Z=U[$])==null?void 0:Z.indexOf(R.id))>=0?(R.isFilterSelected=!0,o.push(R)):R.isFilterSelected=!1}),r(5,u=g),j()}).catch(g=>{console.error(g),r(10,O=!0),d(g)}).finally(()=>{r(9,D=!1)})})),N=l=>{let c=localStorage.getItem("vendorFiltersByCategory");l.isFilterSelected=!l.isFilterSelected,!o.length||o.filter(g=>g.name===l.name).length==0?o.push(l):r(6,o=o.filter(g=>g.name!==l.name));const d=k==="true"?"*":p;c==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(L={[d]:o.map(g=>g.id)})):(c=JSON.parse(c),c[d]=o.map(g=>g.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(c))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),j()},j=()=>{r(7,A=o.length===u.length||o.length==0),r(8,B=o.length)},V=()=>{if(u.length&&k==="true")return;const l=new URL(`${n}/v1/casino/vendors`);r(4,x=!1),l.searchParams.append("fields","id,name,logo,subVendors,games"),l.searchParams.append("language",f),l.searchParams.append("datasource",s),l.searchParams.append("platform",e.getDevice(m)),k==="true"||((p.match(/\$/g)||[]).length>1?(l.searchParams.append("filter",`games(subGroups=${p})`),l.searchParams.append("subVendors",`games(subGroups=${p})`)):l.searchParams.append("filter",`games(groups=${p})`)),z(l)},W=()=>{r(6,o=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(L={[k==="true"?"*":p]:o.map(l=>l.id)})),u.forEach(l=>l.isFilterSelected=!1),r(5,u),window.postMessage({type:"ApplyFilters"},window.location.href),r(7,A=!0),r(4,x=!1)},J=l=>{l.data.type=="SortingOpened"&&r(4,x=!1)};e.onMount(()=>(window.addEventListener("message",J,!1),()=>{window.emMessageBus!=null&&T&&T.unsubscribe(),window.removeEventListener("message",J)}));const q=()=>M();function H(l,c){l[c].isFilterSelected=this.checked,r(5,u)}const C=l=>N(l),E=()=>W();function _(l){e.binding_callbacks[l?"unshift":"push"](()=>{v=l,r(3,v)})}return i.$$set=l=>{"endpoint"in l&&r(15,n=l.endpoint),"datasource"in l&&r(16,s=l.datasource),"lang"in l&&r(17,f=l.lang),"translationurl"in l&&r(18,b=l.translationurl),"clientstyling"in l&&r(19,y=l.clientstyling),"clientstylingurl"in l&&r(20,h=l.clientstylingurl),"categoryid"in l&&r(21,p=l.categoryid),"addfilterselector"in l&&r(0,w=l.addfilterselector),"addsortingselector"in l&&r(1,F=l.addsortingselector),"filterbylogo"in l&&r(2,I=l.filterbylogo),"mbsource"in l&&r(22,S=l.mbsource),"usesinglevendorfilter"in l&&r(23,k=l.usesinglevendorfilter)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&s&&p&&I&&V(),i.$$.dirty[0]&524296&&y&&v&&e.setClientStyling(v,y),i.$$.dirty[0]&1048584&&h&&v&&e.setClientStylingURL(v,h),i.$$.dirty[0]&20971528&&S&&v&&r(24,T=e.setStreamStyling(v,`${S}.Style`,T,!0)),i.$$.dirty[0]&262144&&b&&P()},[w,F,I,v,x,u,o,A,B,D,O,a,M,N,W,n,s,f,b,y,h,p,S,k,T,q,H,C,E,_]}class Y extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ce,oe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2,mbsource:22,usesinglevendorfilter:23},te,[-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 translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get categoryid(){return this.$$.ctx[21]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get usesinglevendorfilter(){return this.$$.ctx[23]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),e.flush()}}e.create_custom_element(Y,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{},usesinglevendorfilter:{}},[],[],!0);exports.default=Y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobbyNd-DwiJeUic.cjs");function ee({withLocale:i,translations:t}){e.$locale.subscribe(r=>{r==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function G(i,t){e.addMessages(i,t)}const K={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"},"en-us":{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"}};function te(i){e.append_styles(i,"svelte-14m0j7n",':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:17}.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, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.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 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, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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%}}')}function Q(i,t,r){const a=i.slice();return a[37]=t[r],a[38]=t,a[39]=r,a}function le(i){let t,r,a,n,s,f,b,y,h=i[11]("filterby")+"",p,w,F,I,S=i[11]("providers")+"",k,x,m,u,o,L,A,B,D,v,O,T,P,M=i[11]("clear")+"",z,N,j,V,W,J;function q(l,c){return l[7]?ae:ie}let H=q(i),C=H(i),E=e.ensure_array_like(i[5]),_=[];for(let l=0;l<E.length;l+=1)_[l]=X(Q(i,E,l));return{c(){t=e.element("div"),r=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("path"),f=e.space(),b=e.element("div"),y=e.element("span"),p=e.text(h),w=e.space(),F=e.element("div"),I=e.element("span"),k=e.text(S),x=e.space(),C.c(),m=e.space(),u=e.element("span"),o=e.svg_element("svg"),L=e.svg_element("path"),D=e.space(),v=e.element("div"),O=e.element("ul");for(let l=0;l<_.length;l+=1)_[l].c();T=e.space(),P=e.element("button"),z=e.text(M),e.attr(s,"id","noun_filter_736223"),e.attr(s,"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"),e.attr(s,"transform","translate(-5 -6.2)"),e.attr(s,"fill","#fff"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","16"),e.attr(n,"height","16"),e.attr(n,"viewBox","0 0 16 16"),e.attr(y,"class","FilterName"),e.attr(F,"class","FilterValueContainer"),e.attr(b,"class","FilterTextContainer"),e.attr(a,"class","FilterMainArea"),e.attr(L,"id","arrow"),e.attr(L,"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"),e.attr(L,"transform","translate(-274.511 -441.088)"),e.attr(L,"fill","#d1d1d1"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","14"),e.attr(o,"height","6.835"),e.attr(o,"viewBox","0 0 14 6.835"),e.attr(u,"class",A="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(r,"class",B="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(O,"class","FilterDropdown"),e.attr(P,"class","ClearFilters"),P.disabled=N=i[7]&&i[6].length!=i[5].length,e.attr(v,"class",j="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",V="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(l,c){e.insert(l,t,c),e.append(t,r),e.append(r,a),e.append(a,n),e.append(n,s),e.append(a,f),e.append(a,b),e.append(b,y),e.append(y,p),e.append(b,w),e.append(b,F),e.append(F,I),e.append(I,k),e.append(F,x),C.m(F,null),e.append(r,m),e.append(r,u),e.append(u,o),e.append(o,L),e.append(t,D),e.append(t,v),e.append(v,O);for(let d=0;d<_.length;d+=1)_[d]&&_[d].m(O,null);e.append(v,T),e.append(v,P),e.append(P,z),W||(J=[e.listen(r,"click",i[25]),e.listen(P,"click",i[28])],W=!0)},p(l,c){if(c[0]&2048&&h!==(h=l[11]("filterby")+"")&&e.set_data(p,h),c[0]&2048&&S!==(S=l[11]("providers")+"")&&e.set_data(k,S),H===(H=q(l))&&C?C.p(l,c):(C.d(1),C=H(l),C&&(C.c(),C.m(F,null))),c[0]&16&&A!==(A="TriangleInactive "+(l[4]?"TriangleActive":""))&&e.attr(u,"class",A),c[0]&16&&B!==(B="FilterSelector "+(l[4]?"FilterSelectorOpen":""))&&e.attr(r,"class",B),c[0]&8228){E=e.ensure_array_like(l[5]);let d;for(d=0;d<E.length;d+=1){const g=Q(l,E,d);_[d]?_[d].p(g,c):(_[d]=X(g),_[d].c(),_[d].m(O,null))}for(;d<_.length;d+=1)_[d].d(1);_.length=E.length}c[0]&2048&&M!==(M=l[11]("clear")+"")&&e.set_data(z,M),c[0]&224&&N!==(N=l[7]&&l[6].length!=l[5].length)&&(P.disabled=N),c[0]&16&&j!==(j="FilterDropdownContainer "+(l[4]?"FilterOpen":""))&&e.attr(v,"class",j),c[0]&3&&V!==(V="FilterContainer "+(l[0]=="true"&&l[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",V)},d(l){l&&e.detach(t),C.d(),e.destroy_each(_,l),W=!1,e.run_all(J)}}}function re(i){let t,r=i[11]("500")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(a,n){e.insert(a,t,n),t.innerHTML=r},p(a,n){n[0]&2048&&r!==(r=a[11]("500")+"")&&(t.innerHTML=r)},d(a){a&&e.detach(t)}}}function ie(i){let t,r;return{c(){t=e.element("span"),r=e.text(i[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,r)},p(a,n){n[0]&256&&e.set_data(r,a[8])},d(a){a&&e.detach(t)}}}function ae(i){let t,r=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(r),e.attr(t,"class","FilterCounter")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&r!==(r=n[11]("all")+"")&&e.set_data(a,r)},d(n){n&&e.detach(t)}}}function ne(i){let t,r;return{c(){t=e.element("img"),e.src_url_equal(t.src,r=i[37].logo)||e.attr(t,"src",r),e.attr(t,"alt","vendor logo")},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&32&&!e.src_url_equal(t.src,r=a[37].logo)&&e.attr(t,"src",r)},d(a){a&&e.detach(t)}}}function se(i){let t,r,a=i[37].name+"",n,s,f,b,y=i[37].games.total+"",h,p;return{c(){t=e.element("div"),r=e.element("span"),n=e.text(a),s=e.space(),f=e.element("span"),b=e.text("("),h=e.text(y),p=e.text(")"),e.attr(r,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(w,F){e.insert(w,t,F),e.append(t,r),e.append(r,n),e.append(t,s),e.append(t,f),e.append(f,b),e.append(f,h),e.append(f,p)},p(w,F){F[0]&32&&a!==(a=w[37].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=w[37].games.total+"")&&e.set_data(h,y)},d(w){w&&e.detach(t)}}}function X(i){let t,r,a,n,s,f,b,y,h,p,w,F;function I(){i[26].call(a,i[38],i[39])}function S(){return i[27](i[37])}function k(u,o){if(u[2]==="false")return se;if(u[2]==="true")return ne}let x=k(i),m=x&&x(i);return{c(){t=e.element("li"),r=e.element("label"),a=e.element("input"),s=e.space(),f=e.element("span"),b=e.space(),m&&m.c(),y=e.space(),e.attr(a,"type","checkbox"),e.attr(a,"name","checkbox"),a.__value=n=i[37].name,e.set_input_value(a,a.__value),e.attr(f,"class","FiltersCheckmark"),e.attr(r,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=p=i[37].name},m(u,o){e.insert(u,t,o),e.append(t,r),e.append(r,a),a.checked=i[37].isFilterSelected,e.append(r,s),e.append(r,f),e.append(r,b),m&&m.m(r,null),e.append(t,y),w||(F=[e.listen(a,"change",I),e.listen(a,"click",S)],w=!0)},p(u,o){i=u,o[0]&32&&n!==(n=i[37].name)&&(a.__value=n,e.set_input_value(a,a.__value)),o[0]&32&&(a.checked=i[37].isFilterSelected),x===(x=k(i))&&m?m.p(i,o):(m&&m.d(1),m=x&&x(i),m&&(m.c(),m.m(r,null))),o[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),o[0]&32&&p!==(p=i[37].name)&&(t.value=p)},d(u){u&&e.detach(t),m&&m.d(),w=!1,e.run_all(F)}}}function oe(i){let t;function r(s,f){if(s[10])return re;if(!s[9])return le}let a=r(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(s,f){e.insert(s,t,f),n&&n.m(t,null),i[29](t)},p(s,f){a===(a=r(s))&&n?n.p(s,f):(n&&n.d(1),n=a&&a(s),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),n&&n.d(),i[29](null)}}}function ce(i,t,r){let a;e.component_subscribe(i,e.$format,l=>r(11,a=l));let{endpoint:n=""}=t,{datasource:s=""}=t,{lang:f=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:p=""}=t,{addfilterselector:w="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:I="false"}=t,{mbsource:S}=t,{usesinglevendorfilter:k="false"}=t,x=!1,m=window.navigator.userAgent,u=[],o=[],L={},A=!1,B=0,D=!0,v,O=!1,T;ee({withLocale:"en",translations:{}});const P=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(d=>{G(d,c[d])})}).catch(c=>{console.log(c)})};Object.keys(K).forEach(l=>{G(l,K[l])}),L[p]&&(L={[p]:[]});const M=()=>{r(4,x=!x),window.postMessage({type:"FilterOpened"},window.location.href)},z=l=>(r(9,D=!0),new Promise((c,d)=>{fetch(l).then(g=>g.json()).then(g=>{g=g.items,c(g.items),r(6,o=[]);let U=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const $=k==="true"?"*":p;g.forEach(R=>{var Z;U||(U={currentCategoryId:[]}),((Z=U[$])==null?void 0:Z.indexOf(R.id))>=0?(R.isFilterSelected=!0,o.push(R)):R.isFilterSelected=!1}),r(5,u=g),j()}).catch(g=>{console.error(g),r(10,O=!0),d(g)}).finally(()=>{r(9,D=!1)})})),N=l=>{let c=localStorage.getItem("vendorFiltersByCategory");l.isFilterSelected=!l.isFilterSelected,!o.length||o.filter(g=>g.name===l.name).length==0?o.push(l):r(6,o=o.filter(g=>g.name!==l.name));const d=k==="true"?"*":p;c==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(L={[d]:o.map(g=>g.id)})):(c=JSON.parse(c),c[d]=o.map(g=>g.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(c))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),j()},j=()=>{r(7,A=o.length===u.length||o.length==0),r(8,B=o.length)},V=()=>{if(u.length&&k==="true")return;const l=new URL(`${n}/v1/casino/vendors`);r(4,x=!1),l.searchParams.append("fields","id,name,logo,subVendors,games"),l.searchParams.append("language",f),l.searchParams.append("datasource",s),l.searchParams.append("platform",e.getDevice(m)),k==="true"||((p.match(/\$/g)||[]).length>1?(l.searchParams.append("filter",`games(subGroups=${p})`),l.searchParams.append("subVendors",`games(subGroups=${p})`)):l.searchParams.append("filter",`games(groups=${p})`)),z(l)},W=()=>{r(6,o=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(L={[k==="true"?"*":p]:o.map(l=>l.id)})),u.forEach(l=>l.isFilterSelected=!1),r(5,u),window.postMessage({type:"ApplyFilters"},window.location.href),r(7,A=!0),r(4,x=!1)},J=l=>{l.data.type=="SortingOpened"&&r(4,x=!1)};e.onMount(()=>(window.addEventListener("message",J,!1),()=>{window.emMessageBus!=null&&T&&T.unsubscribe(),window.removeEventListener("message",J)}));const q=()=>M();function H(l,c){l[c].isFilterSelected=this.checked,r(5,u)}const C=l=>N(l),E=()=>W();function _(l){e.binding_callbacks[l?"unshift":"push"](()=>{v=l,r(3,v)})}return i.$$set=l=>{"endpoint"in l&&r(15,n=l.endpoint),"datasource"in l&&r(16,s=l.datasource),"lang"in l&&r(17,f=l.lang),"translationurl"in l&&r(18,b=l.translationurl),"clientstyling"in l&&r(19,y=l.clientstyling),"clientstylingurl"in l&&r(20,h=l.clientstylingurl),"categoryid"in l&&r(21,p=l.categoryid),"addfilterselector"in l&&r(0,w=l.addfilterselector),"addsortingselector"in l&&r(1,F=l.addsortingselector),"filterbylogo"in l&&r(2,I=l.filterbylogo),"mbsource"in l&&r(22,S=l.mbsource),"usesinglevendorfilter"in l&&r(23,k=l.usesinglevendorfilter)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&s&&p&&I&&V(),i.$$.dirty[0]&524296&&y&&v&&e.setClientStyling(v,y),i.$$.dirty[0]&1048584&&h&&v&&e.setClientStylingURL(v,h),i.$$.dirty[0]&20971528&&S&&v&&r(24,T=e.setStreamStyling(v,`${S}.Style`,T,!0)),i.$$.dirty[0]&262144&&b&&P()},[w,F,I,v,x,u,o,A,B,D,O,a,M,N,W,n,s,f,b,y,h,p,S,k,T,q,H,C,E,_]}class Y extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ce,oe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2,mbsource:22,usesinglevendorfilter:23},te,[-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 translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get categoryid(){return this.$$.ctx[21]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get usesinglevendorfilter(){return this.$$.ctx[23]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),e.flush()}}e.create_custom_element(Y,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{},usesinglevendorfilter:{}},[],[],!0);exports.default=Y;