@everymatrix/casino-page-nd 1.56.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/components/{CasinoCalendar-DwKH1vl3.js → CasinoCalendar-B72qCmVu.js} +1116 -1055
  2. package/components/CasinoCalendar-BYA6uJQI.cjs +19 -0
  3. package/components/{CasinoCalendar-tMtCN0uW.js → CasinoCalendar-B_WI7Mt3.js} +924 -863
  4. package/components/{CasinoCalendarDailyDetails-BP_ANGdX.js → CasinoCalendarDailyDetails-C6UIzboP.js} +48 -48
  5. package/components/{CasinoCalendarDailyDetails-CehhK4Vt.js → CasinoCalendarDailyDetails-C7w893Od.js} +48 -48
  6. package/components/{CasinoCalendarDailyDetails-B1yNq5WP.cjs → CasinoCalendarDailyDetails-D6TvS_Uw.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-DE7Q_O2x.js → CasinoCalendarDailyItem-Brbbja83.js} +41 -41
  8. package/components/{CasinoCalendarDailyItem-Cf-elj80.js → CasinoCalendarDailyItem-Dn4fP4pR.js} +41 -41
  9. package/components/{CasinoCalendarDailyItem-C08Z_td-.cjs → CasinoCalendarDailyItem-thGDWh2Q.cjs} +1 -1
  10. package/components/{CasinoCollectionsProviders-DoRepmON.js → CasinoCollectionsProviders-8ZQ44tRK.js} +63 -61
  11. package/components/{CasinoCollectionsProviders-C0mIOrt5.cjs → CasinoCollectionsProviders-BVnxWKQ2.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-Yt2ApEP5.js → CasinoCollectionsProviders-C_PrWYCC.js} +65 -63
  13. package/components/{CasinoFavoritesSectionNd-Bza8UQ0r.js → CasinoFavoritesSectionNd-CQCLvjg0.js} +84 -84
  14. package/components/{CasinoFavoritesSectionNd-B02g5uyD.js → CasinoFavoritesSectionNd-D0uxeFMF.js} +84 -84
  15. package/components/{CasinoFavoritesSectionNd-CnSYWIJi.cjs → CasinoFavoritesSectionNd-DruLKFit.cjs} +1 -1
  16. package/components/{CasinoFilter-Cb7FySTm.js → CasinoFilter-D-mxzzEe.js} +235 -232
  17. package/components/CasinoFilter-DccaWSTr.cjs +1 -0
  18. package/components/{CasinoFilter-BbKgy4VX.js → CasinoFilter-Dy3YLxDF.js} +246 -241
  19. package/components/{CasinoGameThumbnailNd-6P122Pbb.js → CasinoGameThumbnailNd-B8JRjL-K.js} +1148 -1180
  20. package/components/{CasinoGameThumbnailNd-Dtq6Pf7M.js → CasinoGameThumbnailNd-BH0MIxp8.js} +1437 -1501
  21. package/components/CasinoGameThumbnailNd-CkE5llqF.cjs +39 -0
  22. package/components/{CasinoGamesCategorySectionNd-vmZnCjR8.js → CasinoGamesCategorySectionNd-BAKacraj.js} +126 -119
  23. package/components/{CasinoGamesCategorySectionNd-C1iO2_SR.cjs → CasinoGamesCategorySectionNd-BAw_qUGw.cjs} +1 -1
  24. package/components/{CasinoGamesCategorySectionNd-C1OvVakY.js → CasinoGamesCategorySectionNd-s5oua2PM.js} +119 -112
  25. package/components/{CasinoJackpotBanner-BaqwOwIt.js → CasinoJackpotBanner-Ck34M8Rn.js} +72 -72
  26. package/components/{CasinoJackpotBanner-Dnu1YGvy.js → CasinoJackpotBanner-DBgKc4Vm.js} +79 -79
  27. package/components/{CasinoJackpotBanner-DZZsX8IW.cjs → CasinoJackpotBanner-jRgsElNl.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSectionNd-CYoHFQEu.js → CasinoLastPlayedSectionNd-C5AZiudZ.js} +36 -36
  29. package/components/{CasinoLastPlayedSectionNd-D-71OOLA.cjs → CasinoLastPlayedSectionNd-CxJcyDWz.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSectionNd-DVAEB9Kf.js → CasinoLastPlayedSectionNd-nO4muZUi.js} +36 -36
  31. package/components/{CasinoMostPlayedSectionNd-Ce4mFMX2.js → CasinoMostPlayedSectionNd-47uLbFny.js} +49 -49
  32. package/components/{CasinoMostPlayedSectionNd-DOFhn6t3.cjs → CasinoMostPlayedSectionNd-B5NQpnpQ.cjs} +1 -1
  33. package/components/{CasinoMostPlayedSectionNd-Comi_0uw.js → CasinoMostPlayedSectionNd-YoUF3qH_.js} +49 -49
  34. package/components/{CasinoMyGamesNd-Do0Jd4Yy.cjs → CasinoMyGamesNd-B1mqR1iV.cjs} +1 -1
  35. package/components/{CasinoMyGamesNd-C2159D_C.js → CasinoMyGamesNd-D7ECNSVx.js} +50 -46
  36. package/components/{CasinoMyGamesNd-CI-YgB5L.js → CasinoMyGamesNd-DsKldyeX.js} +51 -47
  37. package/components/{CasinoPageNd-q_CaW-NM.cjs → CasinoPageNd-1_im-1pg.cjs} +1 -1
  38. package/components/{CasinoPageNd-Cl9m0NgT.js → CasinoPageNd-Celr6stC.js} +94 -90
  39. package/components/{CasinoPageNd-CHw9KY4G.js → CasinoPageNd-DG9eHxjS.js} +96 -92
  40. package/components/{CasinoRandomGame-T1GVZYOt.js → CasinoRandomGame-B-xXZGGd.js} +62 -60
  41. package/components/{CasinoRandomGame-B2FGgsW1.cjs → CasinoRandomGame-BvuuUTa2.cjs} +1 -1
  42. package/components/{CasinoRandomGame-D9BEuIS2.js → CasinoRandomGame-CJFo5sac.js} +61 -59
  43. package/components/{CasinoSearchNd-r3Xsk168.cjs → CasinoSearchNd-DcMWXQsy.cjs} +1 -1
  44. package/components/{CasinoSearchNd-DI3QD6gc.js → CasinoSearchNd-DnYIShqN.js} +59 -56
  45. package/components/{CasinoSearchNd-8l70r1-j.js → CasinoSearchNd-TwDFmePv.js} +59 -56
  46. package/components/{CasinoSort-DykEVPy1.js → CasinoSort-B9N4OdAh.js} +105 -105
  47. package/components/{CasinoSort-BmkqSaqQ.cjs → CasinoSort-CHjWMDyt.cjs} +1 -1
  48. package/components/{CasinoSort-BwNRVsYT.js → CasinoSort-aie8VxYZ.js} +113 -111
  49. package/components/{CasinoWinners-4fX-Jkcx.cjs → CasinoWinners-CTQkjPOu.cjs} +1 -1
  50. package/components/{CasinoWinners-DbNw8Ecj.js → CasinoWinners-DEKSrQmC.js} +160 -158
  51. package/components/{CasinoWinners-Dn6mLcJT.js → CasinoWinners-DNTO27qv.js} +155 -153
  52. package/components/{GeneralAnimationLoading-C3AulHDZ.js → GeneralAnimationLoading-45G5WFWJ.js} +16 -16
  53. package/components/{GeneralAnimationLoading-CKfD84TR.js → GeneralAnimationLoading-BTVnRCeI.js} +16 -16
  54. package/components/{GeneralAnimationLoading-D4L1aOk8.cjs → GeneralAnimationLoading-exiETQWf.cjs} +1 -1
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-CBXhEsCq.js → casino-play-random-game-B9yaAMOE.js} +6 -6
  60. package/stencil/{casino-play-random-game-PZXnDzfs.js → casino-play-random-game-BTXyM5es.js} +7 -7
  61. package/stencil/{casino-play-random-game-y8flXwPv.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
  62. package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
  63. package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
  64. package/stencil/index-510a6ba4-CzpWs0jf.js +548 -0
  65. package/components/CasinoCalendar-BUWW4Xzj.cjs +0 -6
  66. package/components/CasinoFilter-BYz1zKUs.cjs +0 -1
  67. package/components/CasinoGameThumbnailNd-DlUJ8jo8.cjs +0 -39
  68. package/stencil/index-29915e18-B3XYTzEC.cjs +0 -1
  69. package/stencil/index-29915e18-CQ_kWzEh.js +0 -630
  70. package/stencil/index-29915e18-MPiqo7vY.js +0 -646
@@ -1,4 +1,4 @@
1
- import { $ as q, R as et, a as rt, S as ot, i as nt, s as at, f as L, b as st, n as U, d as R, h as P, j as h, k as lt, o as it, C as ct, v as K, w as dt, m as G, r, p as l, A as tt, E as N, B as Z, q as Q, I as pt, J as gt, K as ut, L as ht, M as mt } from "./CasinoCalendar-tMtCN0uW.js";
1
+ import { $ as q, R as et, a as rt, S as ot, i as nt, f as H, c as at, s as st, b as lt, e as m, d as R, G as U, j as P, k as it, o as ct, l as dt, q as pt, r as ut, m as gt, v as G, J as Z, w as I, x as K, y as r, z as l, A as tt, E as Q, F as ht, I as mt } from "./CasinoCalendar-B72qCmVu.js";
2
2
  function ft({ withLocale: t, translations: e }) {
3
3
  q.subscribe((o) => {
4
4
  o == null && (et.set(e), q.set(t));
@@ -136,40 +136,40 @@ const X = {
136
136
  }
137
137
  };
138
138
  function yt(t) {
139
- st(t, "svelte-54zse8", ':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{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;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{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}.SorterDropdownContainer{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:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters: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){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}');
139
+ lt(t, "svelte-54zse8", ':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{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;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{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}.SorterDropdownContainer{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:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters: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){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}');
140
140
  }
141
141
  function Y(t, e, o) {
142
142
  const a = t.slice();
143
143
  return a[23] = e[o], a;
144
144
  }
145
145
  function wt(t) {
146
- let e, o, a, s, i, d, m, g, x, p, f, _ = (
146
+ let e, o, a, s, i, d, f, u, k, b, g, w = (
147
147
  /*$_*/
148
148
  t[4]("sortby") + ""
149
- ), y, S, I, C, O = (
149
+ ), S, v, x, D, C = (
150
150
  /*vendorSortingBy*/
151
151
  (t[3] || /*$_*/
152
152
  t[4]("all")) + ""
153
- ), B, D, z, A, F, M, n, w, v, T, j, E, V, H = K(Object.values(
153
+ ), L, T, F, A, N, O, B, n, p, _, j, E, V, M = G(Object.values(
154
154
  /*vendorMap*/
155
155
  t[5]
156
- )), b = [];
157
- for (let c = 0; c < H.length; c += 1)
158
- b[c] = $(Y(t, H, c));
156
+ )), y = [];
157
+ for (let c = 0; c < M.length; c += 1)
158
+ y[c] = $(Y(t, M, c));
159
159
  return {
160
160
  c() {
161
- e = h("div"), o = h("div"), a = h("div"), s = N("svg"), i = N("g"), d = N("path"), m = N("path"), g = N("path"), x = Z(), p = h("div"), f = h("span"), y = Q(_), S = Z(), I = h("div"), C = h("span"), B = Q(O), D = Z(), z = h("span"), A = N("svg"), F = N("path"), w = Z(), v = h("div"), T = h("ul");
162
- for (let c = 0; c < b.length; c += 1)
163
- b[c].c();
164
- r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(m, "id", "Path_5268"), r(m, "data-name", "Path 5268"), r(m, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(m, "transform", "translate(0 0)"), r(m, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(s, "xmlns", "http://www.w3.org/2000/svg"), r(s, "width", "20"), r(s, "height", "20"), r(s, "viewBox", "0 0 26.003 22.819"), r(f, "class", "SorterName"), r(I, "class", "SorterValueContainer"), r(p, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(F, "id", "arrow"), r(F, "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"), r(F, "transform", "translate(-274.511 -441.088)"), r(F, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(z, "class", M = "TriangleInactive " + /*isSorterActive*/
165
- (t[1] ? "TriangleActive" : "")), r(o, "class", n = "SorterSelector " + /*isSorterActive*/
166
- (t[1] ? "SorterSelectorOpen" : "")), r(T, "class", "SorterDropdown"), r(v, "class", j = "SorterDropdownContainer " + /*isSorterActive*/
161
+ e = m("div"), o = m("div"), a = m("div"), s = Z("svg"), i = Z("g"), d = Z("path"), f = Z("path"), u = Z("path"), k = I(), b = m("div"), g = m("span"), S = K(w), v = I(), x = m("div"), D = m("span"), L = K(C), T = I(), F = m("span"), A = Z("svg"), N = Z("path"), n = I(), p = m("div"), _ = m("ul");
162
+ for (let c = 0; c < y.length; c += 1)
163
+ y[c].c();
164
+ r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(f, "id", "Path_5268"), r(f, "data-name", "Path 5268"), r(f, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(f, "transform", "translate(0 0)"), r(f, "fill", "#fff"), r(u, "id", "Path_5269"), r(u, "data-name", "Path 5269"), r(u, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(u, "transform", "translate(-412.896 0)"), r(u, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(s, "xmlns", "http://www.w3.org/2000/svg"), r(s, "width", "20"), r(s, "height", "20"), r(s, "viewBox", "0 0 26.003 22.819"), r(g, "class", "SorterName"), r(x, "class", "SorterValueContainer"), r(b, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(N, "id", "arrow"), r(N, "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"), r(N, "transform", "translate(-274.511 -441.088)"), r(N, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(F, "class", O = "TriangleInactive " + /*isSorterActive*/
165
+ (t[1] ? "TriangleActive" : "")), r(o, "class", B = "SorterSelector " + /*isSorterActive*/
166
+ (t[1] ? "SorterSelectorOpen" : "")), r(_, "class", "SorterDropdown"), r(p, "class", j = "SorterDropdownContainer " + /*isSorterActive*/
167
167
  (t[1] ? "SorterOpen" : "")), r(e, "class", "SorterContainer");
168
168
  },
169
- m(c, k) {
170
- P(c, e, k), l(e, o), l(o, a), l(a, s), l(s, i), l(i, d), l(i, m), l(i, g), l(a, x), l(a, p), l(p, f), l(f, y), l(p, S), l(p, I), l(I, C), l(C, B), l(o, D), l(o, z), l(z, A), l(A, F), l(e, w), l(e, v), l(v, T);
171
- for (let u = 0; u < b.length; u += 1)
172
- b[u] && b[u].m(T, null);
169
+ m(c, z) {
170
+ R(c, e, z), l(e, o), l(o, a), l(a, s), l(s, i), l(i, d), l(i, f), l(i, u), l(a, k), l(a, b), l(b, g), l(g, S), l(b, v), l(b, x), l(x, D), l(D, L), l(o, T), l(o, F), l(F, A), l(A, N), l(e, n), l(e, p), l(p, _);
171
+ for (let h = 0; h < y.length; h += 1)
172
+ y[h] && y[h].m(_, null);
173
173
  E || (V = tt(
174
174
  o,
175
175
  "click",
@@ -177,43 +177,43 @@ function wt(t) {
177
177
  t[14]
178
178
  ), E = !0);
179
179
  },
180
- p(c, k) {
181
- if (k & /*$_*/
182
- 16 && _ !== (_ = /*$_*/
183
- c[4]("sortby") + "") && G(y, _), k & /*vendorSortingBy, $_*/
184
- 24 && O !== (O = /*vendorSortingBy*/
180
+ p(c, z) {
181
+ if (z & /*$_*/
182
+ 16 && w !== (w = /*$_*/
183
+ c[4]("sortby") + "") && Q(S, w), z & /*vendorSortingBy, $_*/
184
+ 24 && C !== (C = /*vendorSortingBy*/
185
185
  (c[3] || /*$_*/
186
- c[4]("all")) + "") && G(B, O), k & /*isSorterActive*/
187
- 2 && M !== (M = "TriangleInactive " + /*isSorterActive*/
188
- (c[1] ? "TriangleActive" : "")) && r(z, "class", M), k & /*isSorterActive*/
189
- 2 && n !== (n = "SorterSelector " + /*isSorterActive*/
190
- (c[1] ? "SorterSelectorOpen" : "")) && r(o, "class", n), k & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
186
+ c[4]("all")) + "") && Q(L, C), z & /*isSorterActive*/
187
+ 2 && O !== (O = "TriangleInactive " + /*isSorterActive*/
188
+ (c[1] ? "TriangleActive" : "")) && r(F, "class", O), z & /*isSorterActive*/
189
+ 2 && B !== (B = "SorterSelector " + /*isSorterActive*/
190
+ (c[1] ? "SorterSelectorOpen" : "")) && r(o, "class", B), z & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
191
191
  120) {
192
- H = K(Object.values(
192
+ M = G(Object.values(
193
193
  /*vendorMap*/
194
194
  c[5]
195
195
  ));
196
- let u;
197
- for (u = 0; u < H.length; u += 1) {
198
- const J = Y(c, H, u);
199
- b[u] ? b[u].p(J, k) : (b[u] = $(J), b[u].c(), b[u].m(T, null));
196
+ let h;
197
+ for (h = 0; h < M.length; h += 1) {
198
+ const J = Y(c, M, h);
199
+ y[h] ? y[h].p(J, z) : (y[h] = $(J), y[h].c(), y[h].m(_, null));
200
200
  }
201
- for (; u < b.length; u += 1)
202
- b[u].d(1);
203
- b.length = H.length;
201
+ for (; h < y.length; h += 1)
202
+ y[h].d(1);
203
+ y.length = M.length;
204
204
  }
205
- k & /*isSorterActive*/
205
+ z & /*isSorterActive*/
206
206
  2 && j !== (j = "SorterDropdownContainer " + /*isSorterActive*/
207
- (c[1] ? "SorterOpen" : "")) && r(v, "class", j);
207
+ (c[1] ? "SorterOpen" : "")) && r(p, "class", j);
208
208
  },
209
209
  d(c) {
210
- c && R(e), dt(b, c), E = !1, V();
210
+ c && P(e), ht(y, c), E = !1, V();
211
211
  }
212
212
  };
213
213
  }
214
214
  function $(t) {
215
- let e, o, a, s, i, d, m, g, x, p, f;
216
- function _() {
215
+ let e, o, a, s, i, d, f, u, k, b, g;
216
+ function w() {
217
217
  return (
218
218
  /*click_handler_1*/
219
219
  t[15](
@@ -224,8 +224,8 @@ function $(t) {
224
224
  }
225
225
  return {
226
226
  c() {
227
- e = h("li"), o = h("label"), a = h("input"), i = Z(), d = h("span"), m = Z(), g = h("span"), g.textContent = `${/*sort*/
228
- t[23]}`, x = Z(), r(a, "type", "radio"), r(a, "name", "radio"), a.value = /*sort*/
227
+ e = m("li"), o = m("label"), a = m("input"), i = I(), d = m("span"), f = I(), u = m("span"), u.textContent = `${/*sort*/
228
+ t[23]}`, k = I(), r(a, "type", "radio"), r(a, "name", "radio"), a.value = /*sort*/
229
229
  t[23], a.checked = s = /*vendorSortingBy*/
230
230
  t[3] == /*sort*/
231
231
  t[23] ? !0 : (
@@ -236,11 +236,11 @@ function $(t) {
236
236
  ), r(d, "class", "SortersCheckmark"), r(o, "class", "SorterLabel CustomRadioButton"), r(e, "class", "SorterItem"), e.value = /*sort*/
237
237
  t[23];
238
238
  },
239
- m(y, S) {
240
- P(y, e, S), l(e, o), l(o, a), l(o, i), l(o, d), l(o, m), l(o, g), l(e, x), p || (f = tt(a, "click", _), p = !0);
239
+ m(S, v) {
240
+ R(S, e, v), l(e, o), l(o, a), l(o, i), l(o, d), l(o, f), l(o, u), l(e, k), b || (g = tt(a, "click", w), b = !0);
241
241
  },
242
- p(y, S) {
243
- t = y, S & /*vendorSortingBy, $_*/
242
+ p(S, v) {
243
+ t = S, v & /*vendorSortingBy, $_*/
244
244
  24 && s !== (s = /*vendorSortingBy*/
245
245
  t[3] == /*sort*/
246
246
  t[23] ? !0 : (
@@ -250,8 +250,8 @@ function $(t) {
250
250
  t[4]("all")
251
251
  )) && (a.checked = s);
252
252
  },
253
- d(y) {
254
- y && R(e), p = !1, f();
253
+ d(S) {
254
+ S && P(e), b = !1, g();
255
255
  }
256
256
  };
257
257
  }
@@ -259,15 +259,16 @@ function bt(t) {
259
259
  let e;
260
260
  function o(i, d) {
261
261
  if (!/*isLoading*/
262
- i[2]) return wt;
262
+ i[2])
263
+ return wt;
263
264
  }
264
265
  let a = o(t), s = a && a(t);
265
266
  return {
266
267
  c() {
267
- e = h("div"), s && s.c();
268
+ e = m("div"), s && s.c();
268
269
  },
269
270
  m(i, d) {
270
- P(i, e, d), s && s.m(e, null), t[16](e);
271
+ R(i, e, d), s && s.m(e, null), t[16](e);
271
272
  },
272
273
  p(i, [d]) {
273
274
  a === (a = o(i)) && s ? s.p(i, d) : (s && s.d(1), s = a && a(i), s && (s.c(), s.m(e, null)));
@@ -275,22 +276,22 @@ function bt(t) {
275
276
  i: U,
276
277
  o: U,
277
278
  d(i) {
278
- i && R(e), s && s.d(), t[16](null);
279
+ i && P(e), s && s.d(), t[16](null);
279
280
  }
280
281
  };
281
282
  }
282
283
  function St(t, e, o) {
283
284
  let a;
284
- lt(t, mt, (n) => o(4, a = n));
285
- let { lang: s = "" } = e, { translationurl: i = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: m = "" } = e, { categoryid: g = "" } = e, { mbsource: x } = e, p, f = !1, _ = !0, y = "", S = "All";
285
+ it(t, mt, (n) => o(4, a = n));
286
+ let { lang: s = "" } = e, { translationurl: i = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: f = "" } = e, { categoryid: u = "" } = e, { mbsource: k } = e, b, g, w = !1, S = !0, v = "", x = "All";
286
287
  ft({ withLocale: "en", translations: {} });
287
- const I = () => {
288
- fetch(i).then((w) => w.json()).then((w) => {
289
- Object.keys(w).forEach((v) => {
290
- W(v, w[v]);
288
+ const D = () => {
289
+ fetch(i).then((p) => p.json()).then((p) => {
290
+ Object.keys(p).forEach((_) => {
291
+ W(_, p[_]);
291
292
  });
292
- }).catch((w) => {
293
- console.log(w);
293
+ }).catch((p) => {
294
+ console.log(p);
294
295
  });
295
296
  };
296
297
  Object.keys(X).forEach((n) => {
@@ -301,68 +302,69 @@ function St(t, e, o) {
301
302
  name: a("az"),
302
303
  isNew: a("newest"),
303
304
  "advancedTags(name(hot))": a("hottest")
304
- }, O = () => {
305
- o(3, S = "All"), o(2, _ = !1), o(1, f = !1);
306
- let n = JSON.parse(localStorage.getItem("vendorSortingBy"))?.[g];
307
- n ? o(3, S = n) : o(3, S = "All"), o(3, S = C[n]);
308
- }, B = (n) => {
309
- o(3, S = n);
310
- let w = localStorage.getItem("vendorSortingBy");
311
- y = n;
312
- for (let v in C)
313
- if (C[v] === n) {
314
- y = v;
305
+ }, L = () => {
306
+ var p;
307
+ o(3, x = "All"), o(2, S = !1), o(1, w = !1);
308
+ let n = (p = JSON.parse(localStorage.getItem("vendorSortingBy"))) == null ? void 0 : p[u];
309
+ n ? o(3, x = n) : o(3, x = "All"), o(3, x = C[n]);
310
+ }, T = (n) => {
311
+ o(3, x = n);
312
+ let p = localStorage.getItem("vendorSortingBy");
313
+ v = n;
314
+ for (let _ in C)
315
+ if (C[_] === n) {
316
+ v = _;
315
317
  break;
316
318
  }
317
- w == null ? localStorage.setItem("vendorSortingBy", JSON.stringify({ [g]: y })) : (w = JSON.parse(w), w[g] = y, localStorage.setItem("vendorSortingBy", JSON.stringify(w))), window.postMessage(
319
+ p == null ? localStorage.setItem("vendorSortingBy", JSON.stringify({ [u]: v })) : (p = JSON.parse(p), p[u] = v, localStorage.setItem("vendorSortingBy", JSON.stringify(p))), window.postMessage(
318
320
  {
319
321
  type: "ApplySorter",
320
- sortBy: y,
321
- itemId: g
322
+ sortBy: v,
323
+ itemId: u
322
324
  },
323
325
  window.location.href
324
- ), o(1, f = !f);
325
- }, D = () => {
326
- o(1, f = !f), window.postMessage({ type: "SortingOpened" }, window.location.href);
327
- }, z = (n) => {
328
- n.data.type == "FilterOpened" && o(1, f = !1);
326
+ ), o(1, w = !w);
327
+ }, F = () => {
328
+ o(1, w = !w), window.postMessage({ type: "SortingOpened" }, window.location.href);
329
+ }, A = (n) => {
330
+ n.data.type == "FilterOpened" && o(1, w = !1);
329
331
  };
330
- it(() => (window.addEventListener("message", z, !1), () => {
331
- window.removeEventListener("message", z);
332
+ ct(() => (window.addEventListener("message", A, !1), () => {
333
+ window.emMessageBus != null && b && b.unsubscribe(), window.removeEventListener("message", A);
332
334
  }));
333
- const A = () => D(), F = (n) => B(n);
334
- function M(n) {
335
- ct[n ? "unshift" : "push"](() => {
336
- p = n, o(0, p);
335
+ const N = () => F(), O = (n) => T(n);
336
+ function B(n) {
337
+ pt[n ? "unshift" : "push"](() => {
338
+ g = n, o(0, g);
337
339
  });
338
340
  }
339
341
  return t.$$set = (n) => {
340
- "lang" in n && o(8, s = n.lang), "translationurl" in n && o(9, i = n.translationurl), "clientstyling" in n && o(10, d = n.clientstyling), "clientstylingurl" in n && o(11, m = n.clientstylingurl), "categoryid" in n && o(12, g = n.categoryid), "mbsource" in n && o(13, x = n.mbsource);
342
+ "lang" in n && o(8, s = n.lang), "translationurl" in n && o(9, i = n.translationurl), "clientstyling" in n && o(10, d = n.clientstyling), "clientstylingurl" in n && o(11, f = n.clientstylingurl), "categoryid" in n && o(12, u = n.categoryid), "mbsource" in n && o(13, k = n.mbsource);
341
343
  }, t.$$.update = () => {
342
344
  t.$$.dirty & /*categoryid*/
343
- 4096 && g && O(), t.$$.dirty & /*clientstyling, customStylingContainer*/
344
- 1025 && d && p && pt(p, d), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
345
- 2049 && m && p && gt(p, m), t.$$.dirty & /*customStylingContainer, mbsource*/
346
- 8193 && p && ut(p, `${x}.Style`), t.$$.dirty & /*translationurl*/
347
- 512 && i && I();
345
+ 4096 && u && L(), t.$$.dirty & /*clientstyling, customStylingContainer*/
346
+ 1025 && d && g && ut(g, d), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
347
+ 2049 && f && g && dt(g, f), t.$$.dirty & /*customStylingContainer, mbsource*/
348
+ 8193 && g && gt(g, `${k}.Style`), t.$$.dirty & /*translationurl*/
349
+ 512 && i && D();
348
350
  }, [
349
- p,
350
- f,
351
- _,
351
+ g,
352
+ w,
352
353
  S,
354
+ x,
353
355
  a,
354
356
  C,
355
- B,
356
- D,
357
+ T,
358
+ F,
357
359
  s,
358
360
  i,
359
361
  d,
360
- m,
361
- g,
362
- x,
363
- A,
364
- F,
365
- M
362
+ f,
363
+ u,
364
+ k,
365
+ N,
366
+ O,
367
+ B
366
368
  ];
367
369
  }
368
370
  class vt extends ot {
@@ -372,7 +374,7 @@ class vt extends ot {
372
374
  e,
373
375
  St,
374
376
  bt,
375
- at,
377
+ st,
376
378
  {
377
379
  lang: 8,
378
380
  translationurl: 9,
@@ -388,40 +390,40 @@ class vt extends ot {
388
390
  return this.$$.ctx[8];
389
391
  }
390
392
  set lang(e) {
391
- this.$$set({ lang: e }), L();
393
+ this.$$set({ lang: e }), H();
392
394
  }
393
395
  get translationurl() {
394
396
  return this.$$.ctx[9];
395
397
  }
396
398
  set translationurl(e) {
397
- this.$$set({ translationurl: e }), L();
399
+ this.$$set({ translationurl: e }), H();
398
400
  }
399
401
  get clientstyling() {
400
402
  return this.$$.ctx[10];
401
403
  }
402
404
  set clientstyling(e) {
403
- this.$$set({ clientstyling: e }), L();
405
+ this.$$set({ clientstyling: e }), H();
404
406
  }
405
407
  get clientstylingurl() {
406
408
  return this.$$.ctx[11];
407
409
  }
408
410
  set clientstylingurl(e) {
409
- this.$$set({ clientstylingurl: e }), L();
411
+ this.$$set({ clientstylingurl: e }), H();
410
412
  }
411
413
  get categoryid() {
412
414
  return this.$$.ctx[12];
413
415
  }
414
416
  set categoryid(e) {
415
- this.$$set({ categoryid: e }), L();
417
+ this.$$set({ categoryid: e }), H();
416
418
  }
417
419
  get mbsource() {
418
420
  return this.$$.ctx[13];
419
421
  }
420
422
  set mbsource(e) {
421
- this.$$set({ mbsource: e }), L();
423
+ this.$$set({ mbsource: e }), H();
422
424
  }
423
425
  }
424
- ht(vt, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, mbsource: {} }, [], [], !0);
426
+ at(vt, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, mbsource: {} }, [], [], !0);
425
427
  export {
426
428
  vt as default
427
429
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BUWW4Xzj.cjs");function le(r,t){e.addMessages(r,t)}function ze(r){e.$locale.set(r)}const ae={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢",noWinnersMessage:"現在暫時沒有贏家!"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen",noWinnersMessage:"Zurzeit gibt es keine Gewinner!"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Non ci sono vincitori al momento!"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner",noWinnersMessage:"Il n’y a pas de gagnants pour le moment !"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores",noWinnersMessage:"No hay ganadores en este momento."},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε",noWinnersMessage:"Δεν υπάρχουν νικητές αυτή τη στιγμή!"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı",noWinnersMessage:"Şu anda kazanan yok!"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"В данный момент нет победителей!"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat",noWinnersMessage:"Nu există câștigători în acest moment!"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio",noWinnersMessage:"Trenutno nema pobjednika!"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert",noWinnersMessage:"Jelenleg nincsenek nyertesek!"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Obecnie nie ma żadnych zwycięzców!"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Trenutno nema pobednika!"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar",noWinnersMessage:"Não há vencedores no momento!"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano",noWinnersMessage:"No hay ganadores en este momento."},"en-us":{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."}};if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-D4L1aOk8.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function Ae(r){e.append_styles(r,"svelte-1x13ubp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function oe(r,t,n){const i=r.slice();return i[69]=t[n],i}function ce(r,t,n){const i=r.slice();return i[72]=t[n],i}function je(r){let t,n,i,l,a,o,d,u,W,j,F,h,p,A,S,z,x,B,k,w=e.ensure_array_like(r[18]),f=[];for(let c=0;c<w.length;c+=1)f[c]=fe(ce(r,w,c));function L(c,_){return c[19]?Ee:Oe}let T=L(r),g=T(r);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div");for(let c=0;c<f.length;c+=1)f[c].c();l=e.space(),a=e.element("div"),o=e.element("button"),d=e.svg_element("svg"),u=e.svg_element("path"),j=e.space(),F=e.element("button"),h=e.svg_element("svg"),p=e.svg_element("path"),z=e.space(),g.c(),e.attr(i,"class","WinnerButtonsContainer"),e.attr(u,"style",W=r[13]>=r[12].length?"fill:#F6F6F62E":""),e.attr(u,"id","Path_36"),e.attr(u,"data-name","Path 36"),e.attr(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(u,"transform","translate(14.656 0) rotate(90)"),e.attr(u,"fill","#fff"),e.attr(d,"id","Component_46_2"),e.attr(d,"data-name","Component 46 – 2"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"width","15"),e.attr(d,"height","15"),e.attr(d,"viewBox","0 0 16 24.656"),e.attr(o,"class","SliderButton"),e.attr(p,"style",A=r[13]>=r[12].length?"fill:#F6F6F62E":""),e.attr(p,"id","Path_36"),e.attr(p,"data-name","Path 36"),e.attr(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(p,"transform","translate(0 24.656) rotate(-90)"),e.attr(p,"fill","#fff"),e.attr(h,"id","Component_46_2"),e.attr(h,"data-name","Component 46 – 2"),e.attr(h,"xmlns","http://www.w3.org/2000/svg"),e.attr(h,"width","15"),e.attr(h,"height","15"),e.attr(h,"viewBox","0 0 16 24.656"),e.attr(F,"class","SliderButton"),e.attr(a,"class",S="ButtonsContainer "+(r[6]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",x="CasinoWinners "+(r[14]?"Mobile":""))},m(c,_){e.insert(c,t,_),e.append(t,n),e.append(n,i);for(let m=0;m<f.length;m+=1)f[m]&&f[m].m(i,null);e.append(n,l),e.append(n,a),e.append(a,o),e.append(o,d),e.append(d,u),e.append(a,j),e.append(a,F),e.append(F,h),e.append(h,p),e.append(t,z),g.m(t,null),B||(k=[e.listen(o,"click",r[44]),e.listen(F,"click",r[45])],B=!0)},p(c,_){if(_[0]&6555651){w=e.ensure_array_like(c[18]);let m;for(m=0;m<w.length;m+=1){const M=ce(c,w,m);f[m]?f[m].p(M,_):(f[m]=fe(M),f[m].c(),f[m].m(i,null))}for(;m<f.length;m+=1)f[m].d(1);f.length=w.length}_[0]&12288&&W!==(W=c[13]>=c[12].length?"fill:#F6F6F62E":"")&&e.attr(u,"style",W),_[0]&12288&&A!==(A=c[13]>=c[12].length?"fill:#F6F6F62E":"")&&e.attr(p,"style",A),_[0]&64&&S!==(S="ButtonsContainer "+(c[6]=="true"?"ButtonsContainerNone":""))&&e.attr(a,"class",S),T===(T=L(c))&&g?g.p(c,_):(g.d(1),g=T(c),g&&(g.c(),g.m(t,null))),_[0]&16384&&x!==(x="CasinoWinners "+(c[14]?"Mobile":""))&&e.attr(t,"class",x)},d(c){c&&e.detach(t),e.destroy_each(f,c),g.d(),B=!1,e.run_all(k)}}}function Le(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),i[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function ue(r){let t,n=r[0]==="true"&&de(r);return{c(){n&&n.c(),t=e.empty()},m(i,l){n&&n.m(i,l),e.insert(i,t,l)},p(i,l){i[0]==="true"?n?n.p(i,l):(n=de(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(i){i&&e.detach(t),n&&n.d(i)}}}function de(r){let t,n=r[21]("recentWinners")+"",i,l,a,o;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class",l="WinnersButton "+(r[11]=="recent"?"Active":""))},m(d,u){e.insert(d,t,u),e.append(t,i),a||(o=e.listen(t,"click",r[42]),a=!0)},p(d,u){u[0]&2097152&&n!==(n=d[21]("recentWinners")+"")&&e.set_data(i,n),u[0]&2048&&l!==(l="WinnersButton "+(d[11]=="recent"?"Active":""))&&e.attr(t,"class",l)},d(d){d&&e.detach(t),a=!1,o()}}}function me(r){let t,n=r[21]("topWinners")+"",i,l,a,o,d;return{c(){t=e.element("button"),i=e.text(n),l=e.space(),e.attr(t,"class",a="WinnersButton "+(r[11]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(u,W){e.insert(u,t,W),e.append(t,i),e.append(t,l),o||(d=e.listen(t,"click",r[43]),o=!0)},p(u,W){W[0]&2097152&&n!==(n=u[21]("topWinners")+"")&&e.set_data(i,n),W[0]&2050&&a!==(a="WinnersButton "+(u[11]=="top"?"Active":"")+" "+(u[1]=="false"?"Off":""))&&e.attr(t,"class",a)},d(u){u&&e.detach(t),o=!1,d()}}}function fe(r){let t,n,i=r[72]=="recent"&&ue(r),l=r[72]=="top"&&me(r);return{c(){i&&i.c(),t=e.space(),l&&l.c(),n=e.empty()},m(a,o){i&&i.m(a,o),e.insert(a,t,o),l&&l.m(a,o),e.insert(a,n,o)},p(a,o){a[72]=="recent"?i?i.p(a,o):(i=ue(a),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),a[72]=="top"?l?l.p(a,o):(l=me(a),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(a){a&&(e.detach(t),e.detach(n)),i&&i.d(a),l&&l.d(a)}}}function Oe(r){let t;function n(a,o){return a[12].length!==0?Re:Pe}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c(),e.attr(t,"class","WinnersSlider")},m(a,o){e.insert(a,t,o),l.m(t,null),r[48](t)},p(a,o){i===(i=n(a))&&l?l.p(a,o):(l.d(1),l=i(a),l&&(l.c(),l.m(t,null)))},d(a){a&&e.detach(t),l.d(),r[48](null)}}}function Ee(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5]),e.set_custom_element_data(t,"mbsource",r[7])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),i[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5]),i[0]&128&&e.set_custom_element_data(t,"mbsource",n[7])},d(n){n&&e.detach(t)}}}function Pe(r){let t,n=r[21]("noWinnersMessage")+"",i;return{c(){t=e.element("p"),i=e.text(n),e.attr(t,"class","NoWinnersMessage")},m(l,a){e.insert(l,t,a),e.append(t,i)},p(l,a){a[0]&2097152&&n!==(n=l[21]("noWinnersMessage")+"")&&e.set_data(i,n)},d(l){l&&e.detach(t)}}}function Re(r){let t,n=e.ensure_array_like(r[12]),i=[];for(let l=0;l<n.length;l+=1)i[l]=pe(oe(r,n,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();t=e.empty()},m(l,a){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(l,a);e.insert(l,t,a)},p(l,a){if(a[0]&28446988){n=e.ensure_array_like(l[12]);let o;for(o=0;o<n.length;o+=1){const d=oe(l,n,o);i[o]?i[o].p(d,a):(i[o]=pe(d),i[o].c(),i[o].m(t.parentNode,t))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function pe(r){let t,n,i,l,a,o,d,u=r[69].gameName+"",W,j,F,h=r[23](r[69].username)+"",p,A,S,z=r[21]("won")+"",x,B,k,w=r[69].specifiedCurrencyAmount.toFixed(2)+"",f,L,T,g=(r[8]?r[3]:r[2])+"",c,_,m,M,b;function v(){return r[46](r[69])}return{c(){var O,C,E,P;t=e.element("div"),n=e.element("div"),i=e.element("img"),o=e.space(),d=e.element("p"),W=e.text(u),j=e.space(),F=e.element("p"),p=e.text(h),A=e.space(),S=e.element("p"),x=e.text(z),B=e.space(),k=e.element("p"),f=e.text(w),L=e.space(),T=e.element("span"),c=e.text(g),_=e.space(),e.src_url_equal(i.src,l=(C=(O=r[69])==null?void 0:O.gameModel)==null?void 0:C.thumbnail)||e.attr(i,"src",l),e.attr(i,"alt",a=(P=(E=r[69])==null?void 0:E.gameModel)==null?void 0:P.thumbnail),e.attr(i,"class","WinnersImage"),e.attr(S,"class","WinnerUsername"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",m="CardWrapper "+(r[17]?"CardWrapperAnimation":""))},m(O,C){e.insert(O,t,C),e.append(t,n),e.append(n,i),e.append(n,o),e.append(n,d),e.append(d,W),e.append(n,j),e.append(n,F),e.append(F,p),e.append(n,A),e.append(n,S),e.append(S,x),e.append(n,B),e.append(n,k),e.append(k,f),e.append(k,L),e.append(k,T),e.append(T,c),e.append(t,_),r[47](t),M||(b=e.listen(i,"click",v),M=!0)},p(O,C){var E,P,N,G;r=O,C[0]&4096&&!e.src_url_equal(i.src,l=(P=(E=r[69])==null?void 0:E.gameModel)==null?void 0:P.thumbnail)&&e.attr(i,"src",l),C[0]&4096&&a!==(a=(G=(N=r[69])==null?void 0:N.gameModel)==null?void 0:G.thumbnail)&&e.attr(i,"alt",a),C[0]&4096&&u!==(u=r[69].gameName+"")&&e.set_data(W,u),C[0]&4096&&h!==(h=r[23](r[69].username)+"")&&e.set_data(p,h),C[0]&2097152&&z!==(z=r[21]("won")+"")&&e.set_data(x,z),C[0]&4096&&w!==(w=r[69].specifiedCurrencyAmount.toFixed(2)+"")&&e.set_data(f,w),C[0]&268&&g!==(g=(r[8]?r[3]:r[2])+"")&&e.set_data(c,g),C[0]&131072&&m!==(m="CardWrapper "+(r[17]?"CardWrapperAnimation":""))&&e.attr(t,"class",m)},d(O){O&&e.detach(t),r[47](null),M=!1,b()}}}function Ge(r){let t;function n(a,o){return a[15]||a[16]?Le:je}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c()},m(a,o){e.insert(a,t,o),l.m(t,null),r[49](t)},p(a,o){i===(i=n(a))&&l?l.p(a,o):(l.d(1),l=i(a),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),l.d(),r[49](null)}}}function De(r,t,n){let i;e.component_subscribe(r,e.$format,s=>n(21,i=s));let{endpoint:l=""}=t,{session:a=""}=t,{userid:o=""}=t,{periodrecent:d="Today"}=t,{periodtop:u="Last7Days"}=t,{numberusersrecent:W="20"}=t,{numberuserstop:j="20"}=t,{amountlimit:F="1"}=t,{vendorCategory:h="All"}=t,{lang:p="en"}=t,{isrecentavailable:A="true"}=t,{istopavailable:S="true"}=t,{defaultcurrency:z=""}=t,{usercurrency:x=""}=t,{clientstyling:B=""}=t,{clientstylingurl:k=""}=t,{enableautoscroll:w=""}=t,{tabsorder:f=""}=t,{translationurl:L=""}=t,{winnersdatasources:T=""}=t,{hascustomstyling:g="false"}=t,{mbsource:c}=t,_,m,M=[],b=0,v=0,O=window.navigator.userAgent,C,E,P,N,G=!0,J=!1,X=!1,Y,D,V,I,Q=[],H=!1,U,$=0;const he=()=>{let s=new URL(L);fetch(s.href).then(y=>y.json()).then(y=>{Object.keys(y).forEach(R=>{le(R,y[R])})}).catch(y=>{console.log(y)})};Object.keys(ae).forEach(s=>{le(s,ae[s])});const ee=()=>{Q=T.split(",").map(function(y){return y.trim()});const s=new URL(`${l}/v1/casino/${m}-winners`);n(19,H=!0),s.searchParams.append("limit",m=="recent"?W:j),s.searchParams.append("specifiedCurrency",I),s.searchParams.append("period",m=="recent"?d:u),s.searchParams.append("language",p),s.searchParams.append("amountLimit",F),s.searchParams.append("vendorCategory",h),Q.forEach(y=>{s.searchParams.append("dataSource",y)}),setTimeout(()=>{fetch(s.href).then(y=>y.json()).then(y=>{n(12,M=[]),n(12,M=y.items.map(R=>R)),n(19,H=!1),setTimeout(()=>{ye(),ne(),w=="true"&&(clearInterval(D),be()),n(15,G=!1)},5)})},1e3)},K=s=>{m!==s&&(n(12,M=[]),n(11,m=s),ee())},_e=s=>s.slice(0,2)+s.slice(2,-2).replace(/./g,"*")+s.slice(-2),te=(s,y,R,q)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:s,launchUrl:y,gameName:R,subVendor:q},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:`${s}`,userId:`${P||"Not logged in"}`})},ne=s=>{const y=[..._.children];Y=y.length,y.forEach((R,q)=>{R.style.transform=`translateX(${100*(s?q-s:q)}%)`}),setTimeout(()=>{n(17,X=!0)},10)},be=()=>{b=0,v<Y?D=setInterval(()=>{Z()},3e3):clearInterval(D)},re=()=>{ne(b)},ye=()=>{$=U.offsetWidth,n(13,v=Math.round(_.offsetWidth/$))},ie=()=>{if(v>=M.length)return;const s=M.length;b===0?b=s-v:b-v<0?b=0:b=b-v,re()},Z=()=>{if(v>=M.length)return;const s=M.length;w=="true"&&(b===s-v?b=0:b++),w=="false"&&(b===s-v?b=0:s-v<b+v?b=s-v:b+=v),re()},We=()=>{ze(p)},we=()=>{n(8,E=!0),P=o},se=()=>{n(41,I=E?x:z)},ve=()=>{g==="true"&&(!B&&!k&&N&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!B&&k&&n(16,J=!0))},Ce=()=>{n(18,V=f.split(",")),n(11,m=V[0]),se(),n(15,G=!1)};e.onMount(()=>(n(14,C=e.isMobile(O)),()=>{clearInterval(D)}));const ke=()=>K("recent"),Me=()=>K("top"),Fe=()=>ie(),Se=()=>Z(),xe=s=>te(s.gameId,s.gameModel.launchUrl,s.gameModel.name,s.gameModel.subVendor);function Be(s){e.binding_callbacks[s?"unshift":"push"](()=>{U=s,n(20,U)})}function Te(s){e.binding_callbacks[s?"unshift":"push"](()=>{_=s,n(10,_)})}function Ne(s){e.binding_callbacks[s?"unshift":"push"](()=>{N=s,n(9,N)})}return r.$$set=s=>{"endpoint"in s&&n(27,l=s.endpoint),"session"in s&&n(28,a=s.session),"userid"in s&&n(29,o=s.userid),"periodrecent"in s&&n(30,d=s.periodrecent),"periodtop"in s&&n(31,u=s.periodtop),"numberusersrecent"in s&&n(32,W=s.numberusersrecent),"numberuserstop"in s&&n(33,j=s.numberuserstop),"amountlimit"in s&&n(34,F=s.amountlimit),"vendorCategory"in s&&n(35,h=s.vendorCategory),"lang"in s&&n(36,p=s.lang),"isrecentavailable"in s&&n(0,A=s.isrecentavailable),"istopavailable"in s&&n(1,S=s.istopavailable),"defaultcurrency"in s&&n(2,z=s.defaultcurrency),"usercurrency"in s&&n(3,x=s.usercurrency),"clientstyling"in s&&n(4,B=s.clientstyling),"clientstylingurl"in s&&n(5,k=s.clientstylingurl),"enableautoscroll"in s&&n(6,w=s.enableautoscroll),"tabsorder"in s&&n(37,f=s.tabsorder),"translationurl"in s&&n(38,L=s.translationurl),"winnersdatasources"in s&&n(39,T=s.winnersdatasources),"hascustomstyling"in s&&n(40,g=s.hascustomstyling),"mbsource"in s&&n(7,c=s.mbsource)},r.$$.update=()=>{r.$$.dirty[0]&1073741827|r.$$.dirty[1]&127&&A&&S&&d&&u&&W&&j&&F&&h&&p&&f&&Ce(),r.$$.dirty[0]&268435456&&a&&we(),r.$$.dirty[0]&268&&E&&(x||z)&&se(),r.$$.dirty[0]&134217728|r.$$.dirty[1]&1280&&l&&T&&I&&ee(),r.$$.dirty[1]&32&&p&&We(),r.$$.dirty[1]&128&&L&&he(),r.$$.dirty[1]&512&&g&&ve(),r.$$.dirty[0]&528&&B&&N&&e.setClientStyling(N,B),r.$$.dirty[0]&544&&k&&N&&e.setClientStylingURL(N,k),r.$$.dirty[0]&640&&N&&e.setStreamStyling(N,`${c}.Style`)},[A,S,z,x,B,k,w,c,E,N,_,m,M,v,C,G,J,X,V,H,U,i,K,_e,te,ie,Z,l,a,o,d,u,W,j,F,h,p,f,L,T,g,I,ke,Me,Fe,Se,xe,Be,Te,Ne]}class ge extends e.SvelteComponent{constructor(t){super(),e.init(this,t,De,Ge,e.safe_not_equal,{endpoint:27,session:28,userid:29,periodrecent:30,periodtop:31,numberusersrecent:32,numberuserstop:33,amountlimit:34,vendorCategory:35,lang:36,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:37,translationurl:38,winnersdatasources:39,hascustomstyling:40,mbsource:7},Ae,[-1,-1,-1])}get endpoint(){return this.$$.ctx[27]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[28]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[29]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[30]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[31]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[32]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[33]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[34]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[35]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[36]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[37]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[38]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[39]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[40]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}get mbsource(){return this.$$.ctx[7]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(ge,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{},mbsource:{}},[],[],!0);exports.default=ge;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BYA6uJQI.cjs");function ae(r,t){e.addMessages(r,t)}function Ae(r){e.$locale.set(r)}const oe={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢",noWinnersMessage:"現在暫時沒有贏家!"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen",noWinnersMessage:"Zurzeit gibt es keine Gewinner!"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Non ci sono vincitori al momento!"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner",noWinnersMessage:"Il n’y a pas de gagnants pour le moment !"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores",noWinnersMessage:"No hay ganadores en este momento."},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε",noWinnersMessage:"Δεν υπάρχουν νικητές αυτή τη στιγμή!"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı",noWinnersMessage:"Şu anda kazanan yok!"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"В данный момент нет победителей!"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat",noWinnersMessage:"Nu există câștigători în acest moment!"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio",noWinnersMessage:"Trenutno nema pobjednika!"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert",noWinnersMessage:"Jelenleg nincsenek nyertesek!"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Obecnie nie ma żadnych zwycięzców!"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Trenutno nema pobednika!"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar",noWinnersMessage:"Não há vencedores no momento!"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano",noWinnersMessage:"No hay ganadores en este momento."},"en-us":{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."}};if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-exiETQWf.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function je(r){e.append_styles(r,"svelte-1x13ubp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function ce(r,t,n){const i=r.slice();return i[69]=t[n],i}function ue(r,t,n){const i=r.slice();return i[72]=t[n],i}function Le(r){let t,n,i,l,a,o,d,u,W,j,F,h,p,A,S,z,x,B,k,w=e.ensure_array_like(r[18]),f=[];for(let c=0;c<w.length;c+=1)f[c]=pe(ue(r,w,c));function L(c,b){return c[19]?Pe:Ee}let T=L(r),g=T(r);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div");for(let c=0;c<f.length;c+=1)f[c].c();l=e.space(),a=e.element("div"),o=e.element("button"),d=e.svg_element("svg"),u=e.svg_element("path"),j=e.space(),F=e.element("button"),h=e.svg_element("svg"),p=e.svg_element("path"),z=e.space(),g.c(),e.attr(i,"class","WinnerButtonsContainer"),e.attr(u,"style",W=r[13]>=r[12].length?"fill:#F6F6F62E":""),e.attr(u,"id","Path_36"),e.attr(u,"data-name","Path 36"),e.attr(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(u,"transform","translate(14.656 0) rotate(90)"),e.attr(u,"fill","#fff"),e.attr(d,"id","Component_46_2"),e.attr(d,"data-name","Component 46 – 2"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"width","15"),e.attr(d,"height","15"),e.attr(d,"viewBox","0 0 16 24.656"),e.attr(o,"class","SliderButton"),e.attr(p,"style",A=r[13]>=r[12].length?"fill:#F6F6F62E":""),e.attr(p,"id","Path_36"),e.attr(p,"data-name","Path 36"),e.attr(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(p,"transform","translate(0 24.656) rotate(-90)"),e.attr(p,"fill","#fff"),e.attr(h,"id","Component_46_2"),e.attr(h,"data-name","Component 46 – 2"),e.attr(h,"xmlns","http://www.w3.org/2000/svg"),e.attr(h,"width","15"),e.attr(h,"height","15"),e.attr(h,"viewBox","0 0 16 24.656"),e.attr(F,"class","SliderButton"),e.attr(a,"class",S="ButtonsContainer "+(r[6]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",x="CasinoWinners "+(r[14]?"Mobile":""))},m(c,b){e.insert(c,t,b),e.append(t,n),e.append(n,i);for(let m=0;m<f.length;m+=1)f[m]&&f[m].m(i,null);e.append(n,l),e.append(n,a),e.append(a,o),e.append(o,d),e.append(d,u),e.append(a,j),e.append(a,F),e.append(F,h),e.append(h,p),e.append(t,z),g.m(t,null),B||(k=[e.listen(o,"click",r[44]),e.listen(F,"click",r[45])],B=!0)},p(c,b){if(b[0]&6555651){w=e.ensure_array_like(c[18]);let m;for(m=0;m<w.length;m+=1){const M=ue(c,w,m);f[m]?f[m].p(M,b):(f[m]=pe(M),f[m].c(),f[m].m(i,null))}for(;m<f.length;m+=1)f[m].d(1);f.length=w.length}b[0]&12288&&W!==(W=c[13]>=c[12].length?"fill:#F6F6F62E":"")&&e.attr(u,"style",W),b[0]&12288&&A!==(A=c[13]>=c[12].length?"fill:#F6F6F62E":"")&&e.attr(p,"style",A),b[0]&64&&S!==(S="ButtonsContainer "+(c[6]=="true"?"ButtonsContainerNone":""))&&e.attr(a,"class",S),T===(T=L(c))&&g?g.p(c,b):(g.d(1),g=T(c),g&&(g.c(),g.m(t,null))),b[0]&16384&&x!==(x="CasinoWinners "+(c[14]?"Mobile":""))&&e.attr(t,"class",x)},d(c){c&&e.detach(t),e.destroy_each(f,c),g.d(),B=!1,e.run_all(k)}}}function Oe(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),i[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function de(r){let t,n=r[0]==="true"&&me(r);return{c(){n&&n.c(),t=e.empty()},m(i,l){n&&n.m(i,l),e.insert(i,t,l)},p(i,l){i[0]==="true"?n?n.p(i,l):(n=me(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(i){i&&e.detach(t),n&&n.d(i)}}}function me(r){let t,n=r[21]("recentWinners")+"",i,l,a,o;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class",l="WinnersButton "+(r[11]=="recent"?"Active":""))},m(d,u){e.insert(d,t,u),e.append(t,i),a||(o=e.listen(t,"click",r[42]),a=!0)},p(d,u){u[0]&2097152&&n!==(n=d[21]("recentWinners")+"")&&e.set_data(i,n),u[0]&2048&&l!==(l="WinnersButton "+(d[11]=="recent"?"Active":""))&&e.attr(t,"class",l)},d(d){d&&e.detach(t),a=!1,o()}}}function fe(r){let t,n=r[21]("topWinners")+"",i,l,a,o,d;return{c(){t=e.element("button"),i=e.text(n),l=e.space(),e.attr(t,"class",a="WinnersButton "+(r[11]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(u,W){e.insert(u,t,W),e.append(t,i),e.append(t,l),o||(d=e.listen(t,"click",r[43]),o=!0)},p(u,W){W[0]&2097152&&n!==(n=u[21]("topWinners")+"")&&e.set_data(i,n),W[0]&2050&&a!==(a="WinnersButton "+(u[11]=="top"?"Active":"")+" "+(u[1]=="false"?"Off":""))&&e.attr(t,"class",a)},d(u){u&&e.detach(t),o=!1,d()}}}function pe(r){let t,n,i=r[72]=="recent"&&de(r),l=r[72]=="top"&&fe(r);return{c(){i&&i.c(),t=e.space(),l&&l.c(),n=e.empty()},m(a,o){i&&i.m(a,o),e.insert(a,t,o),l&&l.m(a,o),e.insert(a,n,o)},p(a,o){a[72]=="recent"?i?i.p(a,o):(i=de(a),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),a[72]=="top"?l?l.p(a,o):(l=fe(a),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(a){a&&(e.detach(t),e.detach(n)),i&&i.d(a),l&&l.d(a)}}}function Ee(r){let t;function n(a,o){return a[12].length!==0?Ge:Re}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c(),e.attr(t,"class","WinnersSlider")},m(a,o){e.insert(a,t,o),l.m(t,null),r[48](t)},p(a,o){i===(i=n(a))&&l?l.p(a,o):(l.d(1),l=i(a),l&&(l.c(),l.m(t,null)))},d(a){a&&e.detach(t),l.d(),r[48](null)}}}function Pe(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5]),e.set_custom_element_data(t,"mbsource",r[7])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),i[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5]),i[0]&128&&e.set_custom_element_data(t,"mbsource",n[7])},d(n){n&&e.detach(t)}}}function Re(r){let t,n=r[21]("noWinnersMessage")+"",i;return{c(){t=e.element("p"),i=e.text(n),e.attr(t,"class","NoWinnersMessage")},m(l,a){e.insert(l,t,a),e.append(t,i)},p(l,a){a[0]&2097152&&n!==(n=l[21]("noWinnersMessage")+"")&&e.set_data(i,n)},d(l){l&&e.detach(t)}}}function Ge(r){let t,n=e.ensure_array_like(r[12]),i=[];for(let l=0;l<n.length;l+=1)i[l]=ge(ce(r,n,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();t=e.empty()},m(l,a){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(l,a);e.insert(l,t,a)},p(l,a){if(a[0]&28446988){n=e.ensure_array_like(l[12]);let o;for(o=0;o<n.length;o+=1){const d=ce(l,n,o);i[o]?i[o].p(d,a):(i[o]=ge(d),i[o].c(),i[o].m(t.parentNode,t))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function ge(r){let t,n,i,l,a,o,d,u=r[69].gameName+"",W,j,F,h=r[23](r[69].username)+"",p,A,S,z=r[21]("won")+"",x,B,k,w=r[69].specifiedCurrencyAmount.toFixed(2)+"",f,L,T,g=(r[8]?r[3]:r[2])+"",c,b,m,M,_;function v(){return r[46](r[69])}return{c(){var O,C,E,P;t=e.element("div"),n=e.element("div"),i=e.element("img"),o=e.space(),d=e.element("p"),W=e.text(u),j=e.space(),F=e.element("p"),p=e.text(h),A=e.space(),S=e.element("p"),x=e.text(z),B=e.space(),k=e.element("p"),f=e.text(w),L=e.space(),T=e.element("span"),c=e.text(g),b=e.space(),e.src_url_equal(i.src,l=(C=(O=r[69])==null?void 0:O.gameModel)==null?void 0:C.thumbnail)||e.attr(i,"src",l),e.attr(i,"alt",a=(P=(E=r[69])==null?void 0:E.gameModel)==null?void 0:P.thumbnail),e.attr(i,"class","WinnersImage"),e.attr(S,"class","WinnerUsername"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",m="CardWrapper "+(r[17]?"CardWrapperAnimation":""))},m(O,C){e.insert(O,t,C),e.append(t,n),e.append(n,i),e.append(n,o),e.append(n,d),e.append(d,W),e.append(n,j),e.append(n,F),e.append(F,p),e.append(n,A),e.append(n,S),e.append(S,x),e.append(n,B),e.append(n,k),e.append(k,f),e.append(k,L),e.append(k,T),e.append(T,c),e.append(t,b),r[47](t),M||(_=e.listen(i,"click",v),M=!0)},p(O,C){var E,P,N,G;r=O,C[0]&4096&&!e.src_url_equal(i.src,l=(P=(E=r[69])==null?void 0:E.gameModel)==null?void 0:P.thumbnail)&&e.attr(i,"src",l),C[0]&4096&&a!==(a=(G=(N=r[69])==null?void 0:N.gameModel)==null?void 0:G.thumbnail)&&e.attr(i,"alt",a),C[0]&4096&&u!==(u=r[69].gameName+"")&&e.set_data(W,u),C[0]&4096&&h!==(h=r[23](r[69].username)+"")&&e.set_data(p,h),C[0]&2097152&&z!==(z=r[21]("won")+"")&&e.set_data(x,z),C[0]&4096&&w!==(w=r[69].specifiedCurrencyAmount.toFixed(2)+"")&&e.set_data(f,w),C[0]&268&&g!==(g=(r[8]?r[3]:r[2])+"")&&e.set_data(c,g),C[0]&131072&&m!==(m="CardWrapper "+(r[17]?"CardWrapperAnimation":""))&&e.attr(t,"class",m)},d(O){O&&e.detach(t),r[47](null),M=!1,_()}}}function De(r){let t;function n(a,o){return a[15]||a[16]?Oe:Le}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c()},m(a,o){e.insert(a,t,o),l.m(t,null),r[49](t)},p(a,o){i===(i=n(a))&&l?l.p(a,o):(l.d(1),l=i(a),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),l.d(),r[49](null)}}}function Ie(r,t,n){let i;e.component_subscribe(r,e.$format,s=>n(21,i=s));let{endpoint:l=""}=t,{session:a=""}=t,{userid:o=""}=t,{periodrecent:d="Today"}=t,{periodtop:u="Last7Days"}=t,{numberusersrecent:W="20"}=t,{numberuserstop:j="20"}=t,{amountlimit:F="1"}=t,{vendorCategory:h="All"}=t,{lang:p="en"}=t,{isrecentavailable:A="true"}=t,{istopavailable:S="true"}=t,{defaultcurrency:z=""}=t,{usercurrency:x=""}=t,{clientstyling:B=""}=t,{clientstylingurl:k=""}=t,{enableautoscroll:w=""}=t,{tabsorder:f=""}=t,{translationurl:L=""}=t,{winnersdatasources:T=""}=t,{hascustomstyling:g="false"}=t,{mbsource:c}=t,b,m,M=[],_=0,v=0,O=window.navigator.userAgent,C,E,P,N,G=!0,J=!1,X=!1,Y,D,V,I,Q=[],H=!1,U,$=0,ee;const be=()=>{let s=new URL(L);fetch(s.href).then(y=>y.json()).then(y=>{Object.keys(y).forEach(R=>{ae(R,y[R])})}).catch(y=>{console.log(y)})};Object.keys(oe).forEach(s=>{ae(s,oe[s])});const te=()=>{Q=T.split(",").map(function(y){return y.trim()});const s=new URL(`${l}/v1/casino/${m}-winners`);n(19,H=!0),s.searchParams.append("limit",m=="recent"?W:j),s.searchParams.append("specifiedCurrency",I),s.searchParams.append("period",m=="recent"?d:u),s.searchParams.append("language",p),s.searchParams.append("amountLimit",F),s.searchParams.append("vendorCategory",h),Q.forEach(y=>{s.searchParams.append("dataSource",y)}),setTimeout(()=>{fetch(s.href).then(y=>y.json()).then(y=>{n(12,M=[]),n(12,M=y.items.map(R=>R)),n(19,H=!1),setTimeout(()=>{We(),re(),w=="true"&&(clearInterval(D),ye()),n(15,G=!1)},5)})},1e3)},K=s=>{m!==s&&(n(12,M=[]),n(11,m=s),te())},_e=s=>s.slice(0,2)+s.slice(2,-2).replace(/./g,"*")+s.slice(-2),ne=(s,y,R,q)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:s,launchUrl:y,gameName:R,subVendor:q},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:`${s}`,userId:`${P||"Not logged in"}`})},re=s=>{const y=[...b.children];Y=y.length,y.forEach((R,q)=>{R.style.transform=`translateX(${100*(s?q-s:q)}%)`}),setTimeout(()=>{n(17,X=!0)},10)},ye=()=>{_=0,v<Y?D=setInterval(()=>{Z()},3e3):clearInterval(D)},ie=()=>{re(_)},We=()=>{$=U.offsetWidth,n(13,v=Math.round(b.offsetWidth/$))},se=()=>{if(v>=M.length)return;const s=M.length;_===0?_=s-v:_-v<0?_=0:_=_-v,ie()},Z=()=>{if(v>=M.length)return;const s=M.length;w=="true"&&(_===s-v?_=0:_++),w=="false"&&(_===s-v?_=0:s-v<_+v?_=s-v:_+=v),ie()},we=()=>{Ae(p)},ve=()=>{n(8,E=!0),P=o},le=()=>{n(41,I=E?x:z)},Ce=()=>{g==="true"&&(!B&&!k&&N&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!B&&k&&n(16,J=!0))},ke=()=>{n(18,V=f.split(",")),n(11,m=V[0]),le(),n(15,G=!1)};e.onMount(()=>(n(14,C=e.isMobile(O)),()=>{window.emMessageBus&&ee&&ee.unsubscribe(),clearInterval(D)}));const Me=()=>K("recent"),Fe=()=>K("top"),Se=()=>se(),xe=()=>Z(),Be=s=>ne(s.gameId,s.gameModel.launchUrl,s.gameModel.name,s.gameModel.subVendor);function Te(s){e.binding_callbacks[s?"unshift":"push"](()=>{U=s,n(20,U)})}function Ne(s){e.binding_callbacks[s?"unshift":"push"](()=>{b=s,n(10,b)})}function ze(s){e.binding_callbacks[s?"unshift":"push"](()=>{N=s,n(9,N)})}return r.$$set=s=>{"endpoint"in s&&n(27,l=s.endpoint),"session"in s&&n(28,a=s.session),"userid"in s&&n(29,o=s.userid),"periodrecent"in s&&n(30,d=s.periodrecent),"periodtop"in s&&n(31,u=s.periodtop),"numberusersrecent"in s&&n(32,W=s.numberusersrecent),"numberuserstop"in s&&n(33,j=s.numberuserstop),"amountlimit"in s&&n(34,F=s.amountlimit),"vendorCategory"in s&&n(35,h=s.vendorCategory),"lang"in s&&n(36,p=s.lang),"isrecentavailable"in s&&n(0,A=s.isrecentavailable),"istopavailable"in s&&n(1,S=s.istopavailable),"defaultcurrency"in s&&n(2,z=s.defaultcurrency),"usercurrency"in s&&n(3,x=s.usercurrency),"clientstyling"in s&&n(4,B=s.clientstyling),"clientstylingurl"in s&&n(5,k=s.clientstylingurl),"enableautoscroll"in s&&n(6,w=s.enableautoscroll),"tabsorder"in s&&n(37,f=s.tabsorder),"translationurl"in s&&n(38,L=s.translationurl),"winnersdatasources"in s&&n(39,T=s.winnersdatasources),"hascustomstyling"in s&&n(40,g=s.hascustomstyling),"mbsource"in s&&n(7,c=s.mbsource)},r.$$.update=()=>{r.$$.dirty[0]&1073741827|r.$$.dirty[1]&127&&A&&S&&d&&u&&W&&j&&F&&h&&p&&f&&ke(),r.$$.dirty[0]&268435456&&a&&ve(),r.$$.dirty[0]&268&&E&&(x||z)&&le(),r.$$.dirty[0]&134217728|r.$$.dirty[1]&1280&&l&&T&&I&&te(),r.$$.dirty[1]&32&&p&&we(),r.$$.dirty[1]&128&&L&&be(),r.$$.dirty[1]&512&&g&&Ce(),r.$$.dirty[0]&528&&B&&N&&e.setClientStyling(N,B),r.$$.dirty[0]&544&&k&&N&&e.setClientStylingURL(N,k),r.$$.dirty[0]&640&&N&&e.setStreamStyling(N,`${c}.Style`)},[A,S,z,x,B,k,w,c,E,N,b,m,M,v,C,G,J,X,V,H,U,i,K,_e,ne,se,Z,l,a,o,d,u,W,j,F,h,p,f,L,T,g,I,Me,Fe,Se,xe,Be,Te,Ne,ze]}class he extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ie,De,e.safe_not_equal,{endpoint:27,session:28,userid:29,periodrecent:30,periodtop:31,numberusersrecent:32,numberuserstop:33,amountlimit:34,vendorCategory:35,lang:36,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:37,translationurl:38,winnersdatasources:39,hascustomstyling:40,mbsource:7},je,[-1,-1,-1])}get endpoint(){return this.$$.ctx[27]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[28]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[29]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[30]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[31]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[32]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[33]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[34]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[35]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[36]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[37]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[38]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[39]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[40]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}get mbsource(){return this.$$.ctx[7]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(he,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{},mbsource:{}},[],[],!0);exports.default=he;