@everymatrix/casino-lobby 1.77.25 → 1.77.26
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.
- package/components/CasinoCalendar-BGhJ1cEV.cjs +19 -0
- package/components/{CasinoCalendar-2Cpj6Bg6.js → CasinoCalendar-BMDbprh6.js} +1014 -1035
- package/components/{CasinoCalendar-CMIWRUUm.js → CasinoCalendar-FUyH3So6.js} +839 -860
- package/components/{CasinoCalendarDailyDetails-XuqvF6i3.cjs → CasinoCalendarDailyDetails-DyNw1uMX.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-DA7MIM93.js → CasinoCalendarDailyDetails-PT-ciuLj.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-B5krFnaT.js → CasinoCalendarDailyDetails-qb4mpvz6.js} +38 -38
- package/components/{CasinoCalendarDailyItem-Q79--gB8.cjs → CasinoCalendarDailyItem-BJAYmacx.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DY2ge_ta.js → CasinoCalendarDailyItem-Ddvjsin9.js} +34 -34
- package/components/{CasinoCalendarDailyItem-BAJJIvIo.js → CasinoCalendarDailyItem-E_UK8J-P.js} +34 -34
- package/components/CasinoCategoriesSlider-CMchkLFc.cjs +1 -0
- package/components/{CasinoCategoriesSlider-QFkK1VfK.js → CasinoCategoriesSlider-CyY1HQ0P.js} +73 -73
- package/components/{CasinoCategoriesSlider-D8ihGze3.js → CasinoCategoriesSlider-DTKia-BC.js} +72 -72
- package/components/{CasinoCollectionsProviders-KSxevvZ5.js → CasinoCollectionsProviders-C66vF5px.js} +64 -64
- package/components/{CasinoCollectionsProviders-CyhsgC2q.cjs → CasinoCollectionsProviders-DnxgcymV.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-4Z4WIkbN.js → CasinoCollectionsProviders-G6IEHMff.js} +77 -77
- package/components/{CasinoFavoritesSection-BJE-MQG7.js → CasinoFavoritesSection-Bg3KF6sh.js} +18 -18
- package/components/{CasinoFavoritesSection-DjiIRQLn.cjs → CasinoFavoritesSection-D3_qCwyj.cjs} +1 -1
- package/components/{CasinoFavoritesSection-5t-YdXxm.js → CasinoFavoritesSection-DG61D5fI.js} +18 -18
- package/components/CasinoFilter-BKrzmU_V.cjs +1 -0
- package/components/{CasinoFilter-DqvsdQLm.js → CasinoFilter-BW0CkIQU.js} +245 -244
- package/components/{CasinoFilter-nIExzBTm.js → CasinoFilter-CFd1r73g.js} +224 -225
- package/components/CasinoGameThumbnail-0if7266l.cjs +47 -0
- package/components/{CasinoGameThumbnail-D913j_wH.js → CasinoGameThumbnail-B0zmcNpX.js} +762 -778
- package/components/{CasinoGameThumbnail-D0NeJLRZ.js → CasinoGameThumbnail-BWCZEAtn.js} +1268 -1252
- package/components/{CasinoGamesCategorySection-CRaxNGy0.cjs → CasinoGamesCategorySection-BQ3jMVn8.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-CXzA9Pec.js → CasinoGamesCategorySection-BXhzwBHy.js} +301 -301
- package/components/{CasinoGamesCategorySection-5LFU5yuj.js → CasinoGamesCategorySection-Bxni0PmJ.js} +300 -300
- package/components/{CasinoJackpotBanner-C2pEv1Zb.cjs → CasinoJackpotBanner-0uMNuf8D.cjs} +1 -1
- package/components/{CasinoJackpotBanner-EKq86n9z.js → CasinoJackpotBanner-DdPrmZDs.js} +88 -88
- package/components/{CasinoJackpotBanner-uWhhU8zz.js → CasinoJackpotBanner-nsvJTIO2.js} +83 -83
- package/components/{CasinoLastPlayedSection-9KTmn4zi.cjs → CasinoLastPlayedSection-B9--zvqD.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-CNaFhDz8.js → CasinoLastPlayedSection-DRoxxYsX.js} +33 -33
- package/components/{CasinoLastPlayedSection-O8WbOixZ.js → CasinoLastPlayedSection-P135TZQ-.js} +33 -33
- package/components/{CasinoLobby-BgA2Yfeh.js → CasinoLobby-3rqZ-Wk9.js} +59 -59
- package/components/{CasinoLobby-BtMWFSuO.cjs → CasinoLobby-BYZ2STik.cjs} +1 -1
- package/components/{CasinoLobby-BFQ4We_Z.js → CasinoLobby-a8sHGH6X.js} +59 -59
- package/components/{CasinoMostPlayedSection-DHre12XW.js → CasinoMostPlayedSection-C371X0yw.js} +46 -46
- package/components/{CasinoMostPlayedSection-Akkt-8zb.js → CasinoMostPlayedSection-D36K60ni.js} +46 -46
- package/components/{CasinoMostPlayedSection-CCxUcNEd.cjs → CasinoMostPlayedSection-DuvNe3VD.cjs} +1 -1
- package/components/{CasinoMyGames-6UepUaP6.js → CasinoMyGames-8JthEJ_A.js} +28 -28
- package/components/{CasinoMyGames-CxerF-Yu.js → CasinoMyGames-C3XDAb8u.js} +28 -28
- package/components/{CasinoMyGames-C5pDZdI8.cjs → CasinoMyGames-DBLEwdOg.cjs} +1 -1
- package/components/{CasinoPage-Dcsv0xP0.cjs → CasinoPage-B5ajJVo7.cjs} +1 -1
- package/components/{CasinoPage-DpOZxl2w.js → CasinoPage-CQiv2IYH.js} +110 -110
- package/components/{CasinoPage-Baakldpz.js → CasinoPage-DdmCGW78.js} +124 -124
- package/components/{CasinoRandomGame-KqxBje-s.js → CasinoRandomGame-CytI5GjM.js} +57 -57
- package/components/{CasinoRandomGame-CN0ZsyT7.cjs → CasinoRandomGame-D6dNIU7H.cjs} +1 -1
- package/components/{CasinoRandomGame-C0LeVa_K.js → CasinoRandomGame-R-0QqjwX.js} +56 -56
- package/components/{CasinoSearch-CpZ8gqIq.cjs → CasinoSearch-BuvRPglT.cjs} +1 -1
- package/components/{CasinoSearch-D6g4OD8M.js → CasinoSearch-Cviob0cE.js} +84 -84
- package/components/{CasinoSearch--k-N3P69.js → CasinoSearch-Drcb02SD.js} +87 -87
- package/components/{CasinoSlider-B8GaaNuP.js → CasinoSlider-BUdXNBUn.js} +87 -87
- package/components/{CasinoSlider-DbyJ57E6.cjs → CasinoSlider-B_4OKAXx.cjs} +1 -1
- package/components/{CasinoSlider-CBsaRkSG.js → CasinoSlider-CgGTFca7.js} +86 -86
- package/components/{CasinoSort-DUnBFMEc.js → CasinoSort-CFRGv5Ze.js} +102 -103
- package/components/{CasinoSort-5CSg7HAS.cjs → CasinoSort-_My6LmSq.cjs} +1 -1
- package/components/{CasinoSort-DdVCJHJU.js → CasinoSort-d_O_44vv.js} +112 -111
- package/components/{CasinoWinners-4uQChe2F.cjs → CasinoWinners-BX9jBJGA.cjs} +1 -1
- package/components/{CasinoWinners-D9hsy2fX.js → CasinoWinners-Co-G3_VH.js} +145 -145
- package/components/{CasinoWinners-BO9ep3XD.js → CasinoWinners-DBM7TeCL.js} +152 -152
- package/components/{GeneralAnimationLoading-DKWSPDDc.js → GeneralAnimationLoading-CfouZ-sx.js} +16 -16
- package/components/{GeneralAnimationLoading-DpT91_iF.cjs → GeneralAnimationLoading-D47HGjTy.cjs} +1 -1
- package/components/{GeneralAnimationLoading-yNj1-Ym_.js → GeneralAnimationLoading-eg8O-l55.js} +16 -16
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-YkE8NRAS.cjs → casino-play-random-game-B-IM4UBM.cjs} +1 -1
- package/stencil/{casino-play-random-game-Cokl6Z0T.js → casino-play-random-game-BclrcLhz.js} +1 -1
- package/stencil/{casino-play-random-game-aAxIDx1E.js → casino-play-random-game-Iq4e6uOv.js} +1 -1
- package/stencil/{casino-play-random-game_2-CW63Z1oW.cjs → casino-play-random-game_2-Cr8EjUUy.cjs} +2 -2
- package/stencil/{casino-play-random-game_2-DQXJFV3B.js → casino-play-random-game_2-DE449ghY.js} +2 -2
- package/stencil/{casino-play-random-game_2-C4OzRB6p.js → casino-play-random-game_2-yBiPzv8a.js} +2 -2
- package/stencil/index-328e660d-CBs679fy.cjs +1 -0
- package/stencil/index-328e660d-UGB5celT.js +576 -0
- package/stencil/index-328e660d-W1AsyVCP.js +560 -0
- package/stencil/index-97d17652-BD-QREJe.js +558 -0
- package/stencil/index-97d17652-DJqGt8q2.js +542 -0
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/index-b2193545-3zPNeE9v.cjs +1 -0
- package/stencil/index-b2193545-D_cUvAA-.js +519 -0
- package/stencil/index-b2193545-kN0z2MLt.js +503 -0
- package/stencil/{ui-image-2_i-_1cj.js → ui-image-BAqS-hS6.js} +1 -1
- package/stencil/{ui-image-eY8BEG3a.cjs → ui-image-CH2Jdp7k.cjs} +1 -1
- package/stencil/{ui-image-bN_3pDWc.js → ui-image-I_uR7pAI.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-_K8Pt3w9.js} +2 -2
- package/stencil/{ui-skeleton-DcmFcn7k.cjs → ui-skeleton-5mt1L8pA.cjs} +1 -1
- package/stencil/{ui-skeleton-CSMUbPcJ.js → ui-skeleton-C0GZ2ncD.js} +2 -2
- package/stencil/{ui-skeleton-CiszU04_.js → ui-skeleton-CYeeBz0Q.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-9hZ7WFQc.js → ui-skeleton-ae35c6f2-BSwiS43c.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-DDHvWmVB.js → ui-skeleton-ae35c6f2-BmKf7IvD.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-D1Tb0H8D.cjs → ui-skeleton-ae35c6f2-CQ3pH6qH.cjs} +1 -1
- package/components/CasinoCalendar-DV_HGN_d.cjs +0 -19
- package/components/CasinoCategoriesSlider-Bj5sxBdL.cjs +0 -1
- package/components/CasinoFilter-BDFP3doT.cjs +0 -1
- package/components/CasinoGameThumbnail-CRu4wYn9.cjs +0 -47
- package/stencil/index-328e660d-B68qAbuh.js +0 -576
- package/stencil/index-328e660d-Bw8nOXsd.js +0 -560
- package/stencil/index-328e660d-r819jp36.cjs +0 -1
- package/stencil/index-97d17652--F7PvMq9.js +0 -542
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
- package/stencil/index-97d17652-CCFHkzJw.js +0 -558
- package/stencil/index-b2193545-DVT8jgVo.cjs +0 -1
- package/stencil/index-b2193545-Dxw-xjac.js +0 -503
- package/stencil/index-b2193545-TbRClz6K.js +0 -519
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as q, Q as et, a as rt, S as ot, i as nt,
|
|
1
|
+
import { $ as q, Q 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 P, G as U, j as R, k as it, o as ct, l as dt, q as pt, r as ut, m as gt, v as G, K as Z, w as B, x as K, y as r, z as l, A as tt, E as Q, F as ht, J as mt } from "./CasinoCalendar-BMDbprh6.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
|
-
|
|
139
|
+
lt(t, "svelte-p37neu", ':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, #22B04E));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, #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}.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,
|
|
146
|
+
let e, o, a, s, i, d, f, u, k, b, g, w = (
|
|
147
147
|
/*$_*/
|
|
148
148
|
t[4]("sortby") + ""
|
|
149
|
-
),
|
|
149
|
+
), S, v, x, E, z = (
|
|
150
150
|
/*vendorSortingBy*/
|
|
151
151
|
(t[3] || /*$_*/
|
|
152
152
|
t[4]("all")) + ""
|
|
153
|
-
),
|
|
153
|
+
), L, T, F, A, N, I, O, n, p, _, j, D, V, M = G(Object.values(
|
|
154
154
|
/*vendorMap*/
|
|
155
155
|
t[5]
|
|
156
|
-
)),
|
|
156
|
+
)), y = [];
|
|
157
157
|
for (let c = 0; c < M.length; c += 1)
|
|
158
|
-
|
|
158
|
+
y[c] = $(Y(t, M, c));
|
|
159
159
|
return {
|
|
160
160
|
c() {
|
|
161
|
-
e =
|
|
162
|
-
for (let c = 0; c <
|
|
163
|
-
|
|
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(
|
|
165
|
-
(t[1] ? "TriangleActive" : "")), r(o, "class",
|
|
166
|
-
(t[1] ? "SorterSelectorOpen" : "")), r(
|
|
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 = B(), b = m("div"), g = m("span"), S = K(w), v = B(), x = m("div"), E = m("span"), L = K(z), T = B(), F = m("span"), A = Z("svg"), N = Z("path"), n = B(), 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", I = "TriangleInactive " + /*isSorterActive*/
|
|
165
|
+
(t[1] ? "TriangleActive" : "")), r(o, "class", O = "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,
|
|
170
|
-
|
|
171
|
-
for (let
|
|
172
|
-
|
|
169
|
+
m(c, C) {
|
|
170
|
+
P(c, e, C), 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, E), l(E, 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
|
D || (V = tt(
|
|
174
174
|
o,
|
|
175
175
|
"click",
|
|
@@ -177,43 +177,43 @@ function wt(t) {
|
|
|
177
177
|
t[14]
|
|
178
178
|
), D = !0);
|
|
179
179
|
},
|
|
180
|
-
p(c,
|
|
181
|
-
if (
|
|
182
|
-
16 &&
|
|
183
|
-
c[4]("sortby") + "") && Q(
|
|
184
|
-
24 &&
|
|
180
|
+
p(c, C) {
|
|
181
|
+
if (C & /*$_*/
|
|
182
|
+
16 && w !== (w = /*$_*/
|
|
183
|
+
c[4]("sortby") + "") && Q(S, w), C & /*vendorSortingBy, $_*/
|
|
184
|
+
24 && z !== (z = /*vendorSortingBy*/
|
|
185
185
|
(c[3] || /*$_*/
|
|
186
|
-
c[4]("all")) + "") && Q(
|
|
187
|
-
2 &&
|
|
188
|
-
(c[1] ? "TriangleActive" : "")) && r(
|
|
189
|
-
2 &&
|
|
190
|
-
(c[1] ? "SorterSelectorOpen" : "")) && r(o, "class",
|
|
186
|
+
c[4]("all")) + "") && Q(L, z), C & /*isSorterActive*/
|
|
187
|
+
2 && I !== (I = "TriangleInactive " + /*isSorterActive*/
|
|
188
|
+
(c[1] ? "TriangleActive" : "")) && r(F, "class", I), C & /*isSorterActive*/
|
|
189
|
+
2 && O !== (O = "SorterSelector " + /*isSorterActive*/
|
|
190
|
+
(c[1] ? "SorterSelectorOpen" : "")) && r(o, "class", O), C & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
|
|
191
191
|
120) {
|
|
192
|
-
M =
|
|
192
|
+
M = G(Object.values(
|
|
193
193
|
/*vendorMap*/
|
|
194
194
|
c[5]
|
|
195
195
|
));
|
|
196
|
-
let
|
|
197
|
-
for (
|
|
198
|
-
const J = Y(c, M,
|
|
199
|
-
|
|
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, C) : (y[h] = $(J), y[h].c(), y[h].m(_, null));
|
|
200
200
|
}
|
|
201
|
-
for (;
|
|
202
|
-
|
|
203
|
-
|
|
201
|
+
for (; h < y.length; h += 1)
|
|
202
|
+
y[h].d(1);
|
|
203
|
+
y.length = M.length;
|
|
204
204
|
}
|
|
205
|
-
|
|
205
|
+
C & /*isSorterActive*/
|
|
206
206
|
2 && j !== (j = "SorterDropdownContainer " + /*isSorterActive*/
|
|
207
|
-
(c[1] ? "SorterOpen" : "")) && r(
|
|
207
|
+
(c[1] ? "SorterOpen" : "")) && r(p, "class", j);
|
|
208
208
|
},
|
|
209
209
|
d(c) {
|
|
210
|
-
c &&
|
|
210
|
+
c && R(e), ht(y, c), D = !1, V();
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
function $(t) {
|
|
215
|
-
let e, o, a, s, i, d,
|
|
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 =
|
|
228
|
-
t[23]}`,
|
|
227
|
+
e = m("li"), o = m("label"), a = m("input"), i = B(), d = m("span"), f = B(), u = m("span"), u.textContent = `${/*sort*/
|
|
228
|
+
t[23]}`, k = B(), 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(
|
|
240
|
-
|
|
239
|
+
m(S, v) {
|
|
240
|
+
P(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(
|
|
243
|
-
t =
|
|
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(
|
|
254
|
-
|
|
253
|
+
d(S) {
|
|
254
|
+
S && R(e), b = !1, g();
|
|
255
255
|
}
|
|
256
256
|
};
|
|
257
257
|
}
|
|
@@ -265,10 +265,10 @@ function bt(t) {
|
|
|
265
265
|
let a = o(t), s = a && a(t);
|
|
266
266
|
return {
|
|
267
267
|
c() {
|
|
268
|
-
e =
|
|
268
|
+
e = m("div"), s && s.c();
|
|
269
269
|
},
|
|
270
270
|
m(i, d) {
|
|
271
|
-
|
|
271
|
+
P(i, e, d), s && s.m(e, null), t[16](e);
|
|
272
272
|
},
|
|
273
273
|
p(i, [d]) {
|
|
274
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)));
|
|
@@ -276,94 +276,95 @@ function bt(t) {
|
|
|
276
276
|
i: U,
|
|
277
277
|
o: U,
|
|
278
278
|
d(i) {
|
|
279
|
-
i &&
|
|
279
|
+
i && R(e), s && s.d(), t[16](null);
|
|
280
280
|
}
|
|
281
281
|
};
|
|
282
282
|
}
|
|
283
283
|
function St(t, e, o) {
|
|
284
284
|
let a;
|
|
285
|
-
|
|
286
|
-
let { lang: s = "" } = e, { translationurl: i = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl:
|
|
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";
|
|
287
287
|
ft({ withLocale: "en", translations: {} });
|
|
288
|
-
const
|
|
289
|
-
fetch(i).then((
|
|
290
|
-
Object.keys(
|
|
291
|
-
W(
|
|
288
|
+
const E = () => {
|
|
289
|
+
fetch(i).then((p) => p.json()).then((p) => {
|
|
290
|
+
Object.keys(p).forEach((_) => {
|
|
291
|
+
W(_, p[_]);
|
|
292
292
|
});
|
|
293
|
-
}).catch((
|
|
294
|
-
console.log(
|
|
293
|
+
}).catch((p) => {
|
|
294
|
+
console.log(p);
|
|
295
295
|
});
|
|
296
296
|
};
|
|
297
297
|
Object.keys(X).forEach((n) => {
|
|
298
298
|
W(n, X[n]);
|
|
299
299
|
});
|
|
300
|
-
const
|
|
300
|
+
const z = {
|
|
301
301
|
All: a("all"),
|
|
302
302
|
name: a("az"),
|
|
303
303
|
isNew: a("newest"),
|
|
304
304
|
"advancedTags(name(hot))": a("hottest")
|
|
305
|
-
},
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
n
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
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 = z[n]);
|
|
310
|
+
}, T = (n) => {
|
|
311
|
+
o(3, x = n);
|
|
312
|
+
let p = localStorage.getItem("vendorSortingBy");
|
|
313
|
+
v = n;
|
|
314
|
+
for (let _ in z)
|
|
315
|
+
if (z[_] === n) {
|
|
316
|
+
v = _;
|
|
316
317
|
break;
|
|
317
318
|
}
|
|
318
|
-
|
|
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(
|
|
319
320
|
{
|
|
320
321
|
type: "ApplySorter",
|
|
321
|
-
sortBy:
|
|
322
|
-
itemId:
|
|
322
|
+
sortBy: v,
|
|
323
|
+
itemId: u
|
|
323
324
|
},
|
|
324
325
|
window.location.href
|
|
325
|
-
), o(1,
|
|
326
|
-
},
|
|
327
|
-
o(1,
|
|
328
|
-
},
|
|
329
|
-
n.data.type == "FilterOpened" && o(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);
|
|
330
331
|
};
|
|
331
|
-
|
|
332
|
-
window.removeEventListener("message",
|
|
332
|
+
ct(() => (window.addEventListener("message", A, !1), () => {
|
|
333
|
+
window.emMessageBus != null && b && b.unsubscribe(), window.removeEventListener("message", A);
|
|
333
334
|
}));
|
|
334
|
-
const
|
|
335
|
-
function
|
|
336
|
-
|
|
337
|
-
|
|
335
|
+
const N = () => F(), I = (n) => T(n);
|
|
336
|
+
function O(n) {
|
|
337
|
+
pt[n ? "unshift" : "push"](() => {
|
|
338
|
+
g = n, o(0, g);
|
|
338
339
|
});
|
|
339
340
|
}
|
|
340
341
|
return t.$$set = (n) => {
|
|
341
|
-
"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,
|
|
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);
|
|
342
343
|
}, t.$$.update = () => {
|
|
343
344
|
t.$$.dirty & /*categoryid*/
|
|
344
|
-
4096 &&
|
|
345
|
-
1025 && d &&
|
|
346
|
-
2049 &&
|
|
347
|
-
8193 &&
|
|
348
|
-
512 && 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 && E();
|
|
349
350
|
}, [
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
_,
|
|
351
|
+
g,
|
|
352
|
+
w,
|
|
353
353
|
S,
|
|
354
|
+
x,
|
|
354
355
|
a,
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
356
|
+
z,
|
|
357
|
+
T,
|
|
358
|
+
F,
|
|
358
359
|
s,
|
|
359
360
|
i,
|
|
360
361
|
d,
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
362
|
+
f,
|
|
363
|
+
u,
|
|
364
|
+
k,
|
|
365
|
+
N,
|
|
366
|
+
I,
|
|
367
|
+
O
|
|
367
368
|
];
|
|
368
369
|
}
|
|
369
370
|
class vt extends ot {
|
|
@@ -373,7 +374,7 @@ class vt extends ot {
|
|
|
373
374
|
e,
|
|
374
375
|
St,
|
|
375
376
|
bt,
|
|
376
|
-
|
|
377
|
+
st,
|
|
377
378
|
{
|
|
378
379
|
lang: 8,
|
|
379
380
|
translationurl: 9,
|
|
@@ -389,40 +390,40 @@ class vt extends ot {
|
|
|
389
390
|
return this.$$.ctx[8];
|
|
390
391
|
}
|
|
391
392
|
set lang(e) {
|
|
392
|
-
this.$$set({ lang: e }),
|
|
393
|
+
this.$$set({ lang: e }), H();
|
|
393
394
|
}
|
|
394
395
|
get translationurl() {
|
|
395
396
|
return this.$$.ctx[9];
|
|
396
397
|
}
|
|
397
398
|
set translationurl(e) {
|
|
398
|
-
this.$$set({ translationurl: e }),
|
|
399
|
+
this.$$set({ translationurl: e }), H();
|
|
399
400
|
}
|
|
400
401
|
get clientstyling() {
|
|
401
402
|
return this.$$.ctx[10];
|
|
402
403
|
}
|
|
403
404
|
set clientstyling(e) {
|
|
404
|
-
this.$$set({ clientstyling: e }),
|
|
405
|
+
this.$$set({ clientstyling: e }), H();
|
|
405
406
|
}
|
|
406
407
|
get clientstylingurl() {
|
|
407
408
|
return this.$$.ctx[11];
|
|
408
409
|
}
|
|
409
410
|
set clientstylingurl(e) {
|
|
410
|
-
this.$$set({ clientstylingurl: e }),
|
|
411
|
+
this.$$set({ clientstylingurl: e }), H();
|
|
411
412
|
}
|
|
412
413
|
get categoryid() {
|
|
413
414
|
return this.$$.ctx[12];
|
|
414
415
|
}
|
|
415
416
|
set categoryid(e) {
|
|
416
|
-
this.$$set({ categoryid: e }),
|
|
417
|
+
this.$$set({ categoryid: e }), H();
|
|
417
418
|
}
|
|
418
419
|
get mbsource() {
|
|
419
420
|
return this.$$.ctx[13];
|
|
420
421
|
}
|
|
421
422
|
set mbsource(e) {
|
|
422
|
-
this.$$set({ mbsource: e }),
|
|
423
|
+
this.$$set({ mbsource: e }), H();
|
|
423
424
|
}
|
|
424
425
|
}
|
|
425
|
-
|
|
426
|
+
at(vt, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, mbsource: {} }, [], [], !0);
|
|
426
427
|
export {
|
|
427
428
|
vt as default
|
|
428
429
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var Z=(r,t,n)=>new Promise((i,l)=>{var a=c=>{try{u(n.next(c))}catch(g){l(g)}},o=c=>{try{u(n.throw(c))}catch(g){l(g)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(a,o);u((n=n.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DV_HGN_d.cjs");function le(r,t){e.addMessages(r,t)}function je(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-DpT91_iF.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function Le(r){e.append_styles(r,"svelte-d1flp7","*,*::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, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height: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, #22B04E));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[71]=t[n],i}function ce(r,t,n){const i=r.slice();return i[74]=t[n],i}function Oe(r){let t,n,i,l,a,o,u,c,g,j,C,b,p,z,S,B,M,N,E,v=e.ensure_array_like(r[16]),f=[];for(let d=0;d<v.length;d+=1)f[d]=fe(ce(r,v,d));function L(d,k){return d[17]?Ie:Pe}let F=L(r),_=F(r);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div");for(let d=0;d<f.length;d+=1)f[d].c();l=e.space(),a=e.element("div"),o=e.element("button"),u=e.svg_element("svg"),c=e.svg_element("path"),j=e.space(),C=e.element("button"),b=e.svg_element("svg"),p=e.svg_element("path"),B=e.space(),_.c(),e.attr(i,"class","WinnerButtonsContainer"),e.attr(c,"style",g=r[11]>=r[10].length?"fill:#F6F6F62E":""),e.attr(c,"id","Path_36"),e.attr(c,"data-name","Path 36"),e.attr(c,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(c,"transform","translate(14.656 0) rotate(90)"),e.attr(c,"fill","#fff"),e.attr(u,"id","Component_46_2"),e.attr(u,"data-name","Component 46 – 2"),e.attr(u,"xmlns","http://www.w3.org/2000/svg"),e.attr(u,"width","15"),e.attr(u,"height","15"),e.attr(u,"viewBox","0 0 16 24.656"),e.attr(o,"class","SliderButton"),e.attr(p,"style",z=r[11]>=r[10].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(b,"id","Component_46_2"),e.attr(b,"data-name","Component 46 – 2"),e.attr(b,"xmlns","http://www.w3.org/2000/svg"),e.attr(b,"width","15"),e.attr(b,"height","15"),e.attr(b,"viewBox","0 0 16 24.656"),e.attr(C,"class","SliderButton"),e.attr(a,"class",S="ButtonsContainer "+(r[4]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",M="CasinoWinners "+(r[12]?"Mobile":""))},m(d,k){e.insert(d,t,k),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,u),e.append(u,c),e.append(a,j),e.append(a,C),e.append(C,b),e.append(b,p),e.append(t,B),_.m(t,null),N||(E=[e.listen(o,"click",r[46]),e.listen(C,"click",r[47])],N=!0)},p(d,k){if(k[0]&852483){v=e.ensure_array_like(d[16]);let m;for(m=0;m<v.length;m+=1){const h=ce(d,v,m);f[m]?f[m].p(h,k):(f[m]=fe(h),f[m].c(),f[m].m(i,null))}for(;m<f.length;m+=1)f[m].d(1);f.length=v.length}k[0]&3072&&g!==(g=d[11]>=d[10].length?"fill:#F6F6F62E":"")&&e.attr(c,"style",g),k[0]&3072&&z!==(z=d[11]>=d[10].length?"fill:#F6F6F62E":"")&&e.attr(p,"style",z),k[0]&16&&S!==(S="ButtonsContainer "+(d[4]=="true"?"ButtonsContainerNone":""))&&e.attr(a,"class",S),F===(F=L(d))&&_?_.p(d,k):(_.d(1),_=F(d),_&&(_.c(),_.m(t,null))),k[0]&4096&&M!==(M="CasinoWinners "+(d[12]?"Mobile":""))&&e.attr(t,"class",M)},d(d){d&&e.detach(t),e.destroy_each(f,d),_.d(),N=!1,e.run_all(E)}}}function Re(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3])},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[18]("recentWinners")+"",i,l,a,o;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class",l="WinnersButton "+(r[9]=="recent"?"Active":""))},m(u,c){e.insert(u,t,c),e.append(t,i),a||(o=e.listen(t,"click",r[44]),a=!0)},p(u,c){c[0]&262144&&n!==(n=u[18]("recentWinners")+"")&&e.set_data(i,n),c[0]&512&&l!==(l="WinnersButton "+(u[9]=="recent"?"Active":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),a=!1,o()}}}function me(r){let t,n=r[18]("topWinners")+"",i,l,a,o,u;return{c(){t=e.element("button"),i=e.text(n),l=e.space(),e.attr(t,"class",a="WinnersButton "+(r[9]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(c,g){e.insert(c,t,g),e.append(t,i),e.append(t,l),o||(u=e.listen(t,"click",r[45]),o=!0)},p(c,g){g[0]&262144&&n!==(n=c[18]("topWinners")+"")&&e.set_data(i,n),g[0]&514&&a!==(a="WinnersButton "+(c[9]=="top"?"Active":"")+" "+(c[1]=="false"?"Off":""))&&e.attr(t,"class",a)},d(c){c&&e.detach(t),o=!1,u()}}}function fe(r){let t,n,i=r[74]=="recent"&&ue(r),l=r[74]=="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[74]=="recent"?i?i.p(a,o):(i=ue(a),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),a[74]=="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 Pe(r){let t;function n(a,o){return a[10].length!==0?Ue:Ge}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[50](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[50](null)}}}function Ie(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3]),e.set_custom_element_data(t,"mbsource",r[5])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3]),i[0]&32&&e.set_custom_element_data(t,"mbsource",n[5])},d(n){n&&e.detach(t)}}}function Ge(r){let t,n=r[18]("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]&262144&&n!==(n=l[18]("noWinnersMessage")+"")&&e.set_data(i,n)},d(l){l&&e.detach(t)}}}function Ue(r){let t,n=e.ensure_array_like(r[10]),i=[];for(let l=0;l<n.length;l+=1)i[l]=ge(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]&20219136){n=e.ensure_array_like(l[10]);let o;for(o=0;o<n.length;o+=1){const u=oe(l,n,o);i[o]?i[o].p(u,a):(i[o]=ge(u),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,u,c=r[71].gameName+"",g,j,C,b=r[20](r[71].username)+"",p,z,S,B=r[18]("won")+"",M,N,E,v=r[24](r[71].specifiedCurrencyAmount)+"",f,L,F,_,d;function k(){return r[48](r[71])}return{c(){var m,h,T,x;t=e.element("div"),n=e.element("div"),i=e.element("img"),o=e.space(),u=e.element("p"),g=e.text(c),j=e.space(),C=e.element("p"),p=e.text(b),z=e.space(),S=e.element("p"),M=e.text(B),N=e.space(),E=e.element("p"),f=e.text(v),L=e.space(),e.src_url_equal(i.src,l=(h=(m=r[71])==null?void 0:m.gameModel)==null?void 0:h.thumbnail)||e.attr(i,"src",l),e.attr(i,"alt",a=(x=(T=r[71])==null?void 0:T.gameModel)==null?void 0:x.thumbnail),e.attr(i,"class","WinnersImage"),e.attr(S,"class","WinnerUsername"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",F="CardWrapper "+(r[15]?"CardWrapperAnimation":""))},m(m,h){e.insert(m,t,h),e.append(t,n),e.append(n,i),e.append(n,o),e.append(n,u),e.append(u,g),e.append(n,j),e.append(n,C),e.append(C,p),e.append(n,z),e.append(n,S),e.append(S,M),e.append(n,N),e.append(n,E),e.append(E,f),r[49](n),e.append(t,L),_||(d=e.listen(i,"click",k),_=!0)},p(m,h){var T,x,y,w;r=m,h[0]&1024&&!e.src_url_equal(i.src,l=(x=(T=r[71])==null?void 0:T.gameModel)==null?void 0:x.thumbnail)&&e.attr(i,"src",l),h[0]&1024&&a!==(a=(w=(y=r[71])==null?void 0:y.gameModel)==null?void 0:w.thumbnail)&&e.attr(i,"alt",a),h[0]&1024&&c!==(c=r[71].gameName+"")&&e.set_data(g,c),h[0]&1024&&b!==(b=r[20](r[71].username)+"")&&e.set_data(p,b),h[0]&262144&&B!==(B=r[18]("won")+"")&&e.set_data(M,B),h[0]&1024&&v!==(v=r[24](r[71].specifiedCurrencyAmount)+"")&&e.set_data(f,v),h[0]&32768&&F!==(F="CardWrapper "+(r[15]?"CardWrapperAnimation":""))&&e.attr(t,"class",F)},d(m){m&&e.detach(t),r[49](null),_=!1,d()}}}function De(r){let t;function n(a,o){return a[13]||a[14]?Re:Oe}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[51](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[51](null)}}}function qe(r,t,n){let i;e.component_subscribe(r,e.$format,s=>n(18,i=s));let{endpoint:l=""}=t,{session:a=""}=t,{userid:o=""}=t,{periodrecent:u="Today"}=t,{periodtop:c="Last7Days"}=t,{numberusersrecent:g="20"}=t,{numberuserstop:j="20"}=t,{amountlimit:C="1"}=t,{vendorCategory:b="All"}=t,{lang:p="en"}=t,{isrecentavailable:z="true"}=t,{istopavailable:S="true"}=t,{defaultcurrency:B=""}=t,{usercurrency:M=""}=t,{clientstyling:N=""}=t,{clientstylingurl:E=""}=t,{enableautoscroll:v=""}=t,{tabsorder:f=""}=t,{translationurl:L=""}=t,{winnersdatasources:F=""}=t,{hascustomstyling:_="false"}=t,{mbsource:d}=t,{currencylocale:k=""}=t,m,h,T,x=[],y=0,w=0,pe=window.navigator.userAgent,J,R,G,A,U=!0,X=!1,Y=!1,Q,I,D,P,$=[],q=!1;const be=()=>{let s=new URL(L);fetch(s.href).then(W=>W.json()).then(W=>{Object.keys(W).forEach(O=>{le(O,W[O])})}).catch(W=>{console.log(W)})};Object.keys(ae).forEach(s=>{le(s,ae[s])});const ee=()=>{$=F.split(",").map(function(W){return W.trim()});const s=new URL(`${l}/v1/casino/${T}-winners`);n(17,q=!0),s.searchParams.append("limit",T=="recent"?g:j),s.searchParams.append("specifiedCurrency",P),s.searchParams.append("period",T=="recent"?u:c),s.searchParams.append("language",p),s.searchParams.append("amountLimit",C),s.searchParams.append("vendorCategory",b),$.forEach(W=>{s.searchParams.append("dataSource",W)}),setTimeout(()=>{fetch(s.href).then(W=>W.json()).then(W=>Z(this,null,function*(){n(10,x=[]),n(10,x=W.items.map(O=>O)),n(17,q=!1),yield e.tick(),we(),ne(),v=="true"&&(clearInterval(I),We()),n(13,U=!1),_e()}))},1e3)},_e=()=>{const s=A.getRootNode().host;s.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:s}}))},V=s=>{T!==s&&(n(10,x=[]),n(9,T=s),ee())},ye=s=>s.slice(0,2)+s.slice(2,-2).replace(/./g,"*")+s.slice(-2),te=(s,W,O,K)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:s,launchUrl:W,gameName:O,subVendor:K},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"WinnersWidget",gameId:`${s}`,userId:`${G||"Not logged in"}`})},ne=(s=0)=>{const W=[...m.children];Q=W.length,W.forEach((O,K)=>{O.style.transform=`translateX(${100*(K-s)}%)`}),setTimeout(()=>{n(15,Y=!0)},10)},We=()=>{y=0,w<Q?I=setInterval(()=>{H()},3e3):clearInterval(I)},re=()=>{ne(y)},we=()=>Z(this,null,function*(){yield e.tick(),requestAnimationFrame(()=>{const s=h?h.offsetWidth:0;m.offsetWidth&&s?n(11,w=Math.round(m.offsetWidth/s)):n(11,w=0)})}),ie=()=>{if(w>=x.length)return;const s=x.length;y===0?y=s-w:y-w<0?y=0:y=y-w,re()},H=()=>{if(w>=x.length)return;const s=x.length;v=="true"&&(y===s-w?y=0:y++),v=="false"&&(y===s-w?y=0:s-w<y+w?y=s-w:y+=w),re()},ve=()=>{je(p)},ke=()=>{n(42,R=!0),G=o},se=()=>{n(43,P=R?M:B)},Ce=s=>k?Intl.NumberFormat(k,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:P}).format(s).replace(/\s/g,""):`${s.toFixed(2)} ${R?M:B}`,Me=()=>{_==="true"&&(!N&&!E&&A&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!N&&E&&n(14,X=!0))},Fe=()=>{n(16,D=f.split(",")),n(9,T=D[0]),se(),n(13,U=!1)};e.onMount(()=>(n(12,J=e.isMobile(pe)),()=>{clearInterval(I)}));const xe=()=>V("recent"),Se=()=>V("top"),Be=()=>ie(),Ne=()=>H(),Ee=s=>te(s.gameId,s.gameModel.launchUrl,s.gameModel.name,s.gameModel.subVendor);function Te(s){e.binding_callbacks[s?"unshift":"push"](()=>{h=s,n(8,h)})}function ze(s){e.binding_callbacks[s?"unshift":"push"](()=>{m=s,n(7,m)})}function Ae(s){e.binding_callbacks[s?"unshift":"push"](()=>{A=s,n(6,A)})}return r.$$set=s=>{"endpoint"in s&&n(25,l=s.endpoint),"session"in s&&n(26,a=s.session),"userid"in s&&n(27,o=s.userid),"periodrecent"in s&&n(28,u=s.periodrecent),"periodtop"in s&&n(29,c=s.periodtop),"numberusersrecent"in s&&n(30,g=s.numberusersrecent),"numberuserstop"in s&&n(31,j=s.numberuserstop),"amountlimit"in s&&n(32,C=s.amountlimit),"vendorCategory"in s&&n(33,b=s.vendorCategory),"lang"in s&&n(34,p=s.lang),"isrecentavailable"in s&&n(0,z=s.isrecentavailable),"istopavailable"in s&&n(1,S=s.istopavailable),"defaultcurrency"in s&&n(35,B=s.defaultcurrency),"usercurrency"in s&&n(36,M=s.usercurrency),"clientstyling"in s&&n(2,N=s.clientstyling),"clientstylingurl"in s&&n(3,E=s.clientstylingurl),"enableautoscroll"in s&&n(4,v=s.enableautoscroll),"tabsorder"in s&&n(37,f=s.tabsorder),"translationurl"in s&&n(38,L=s.translationurl),"winnersdatasources"in s&&n(39,F=s.winnersdatasources),"hascustomstyling"in s&&n(40,_=s.hascustomstyling),"mbsource"in s&&n(5,d=s.mbsource),"currencylocale"in s&&n(41,k=s.currencylocale)},r.$$.update=()=>{r.$$.dirty[0]&1879048195|r.$$.dirty[1]&79&&z&&S&&u&&c&&g&&j&&C&&b&&p&&f&&Fe(),r.$$.dirty[0]&67108864&&a&&ke(),r.$$.dirty[1]&2096&&R&&(M||B)&&se(),r.$$.dirty[0]&33554432|r.$$.dirty[1]&4352&&l&&F&&P&&ee(),r.$$.dirty[1]&8&&p&&ve(),r.$$.dirty[1]&128&&L&&be(),r.$$.dirty[1]&512&&_&&Me(),r.$$.dirty[0]&68&&N&&A&&e.setClientStyling(A,N),r.$$.dirty[0]&72&&E&&A&&e.setClientStylingURL(A,E),r.$$.dirty[0]&96&&A&&e.setStreamStyling(A,`${d}.Style`)},[z,S,N,E,v,d,A,m,h,T,x,w,J,U,X,Y,D,q,i,V,ye,te,ie,H,Ce,l,a,o,u,c,g,j,C,b,p,B,M,f,L,F,_,k,R,P,xe,Se,Be,Ne,Ee,Te,ze,Ae]}class he extends e.SvelteComponent{constructor(t){super(),e.init(this,t,qe,De,e.safe_not_equal,{endpoint:25,session:26,userid:27,periodrecent:28,periodtop:29,numberusersrecent:30,numberuserstop:31,amountlimit:32,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:35,usercurrency:36,clientstyling:2,clientstylingurl:3,enableautoscroll:4,tabsorder:37,translationurl:38,winnersdatasources:39,hascustomstyling:40,mbsource:5,currencylocale:41},Le,[-1,-1,-1])}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[26]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[27]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[28]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[29]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[30]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[31]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[32]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[34]}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[35]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[36]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[4]}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[5]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get currencylocale(){return this.$$.ctx[41]}set currencylocale(t){this.$$set({currencylocale: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:{},currencylocale:{}},[],[],!0);exports.default=he;
|
|
1
|
+
"use strict";var Z=(r,t,n)=>new Promise((i,l)=>{var a=c=>{try{u(n.next(c))}catch(g){l(g)}},o=c=>{try{u(n.throw(c))}catch(g){l(g)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(a,o);u((n=n.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BGhJ1cEV.cjs");function ae(r,t){e.addMessages(r,t)}function Le(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-D47HGjTy.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function Oe(r){e.append_styles(r,"svelte-d1flp7","*,*::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, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height: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, #22B04E));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[71]=t[n],i}function ue(r,t,n){const i=r.slice();return i[74]=t[n],i}function Re(r){let t,n,i,l,a,o,u,c,g,j,C,b,p,z,S,B,M,N,E,v=e.ensure_array_like(r[16]),f=[];for(let d=0;d<v.length;d+=1)f[d]=ge(ue(r,v,d));function L(d,k){return d[17]?Ge:Ie}let F=L(r),_=F(r);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div");for(let d=0;d<f.length;d+=1)f[d].c();l=e.space(),a=e.element("div"),o=e.element("button"),u=e.svg_element("svg"),c=e.svg_element("path"),j=e.space(),C=e.element("button"),b=e.svg_element("svg"),p=e.svg_element("path"),B=e.space(),_.c(),e.attr(i,"class","WinnerButtonsContainer"),e.attr(c,"style",g=r[11]>=r[10].length?"fill:#F6F6F62E":""),e.attr(c,"id","Path_36"),e.attr(c,"data-name","Path 36"),e.attr(c,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(c,"transform","translate(14.656 0) rotate(90)"),e.attr(c,"fill","#fff"),e.attr(u,"id","Component_46_2"),e.attr(u,"data-name","Component 46 – 2"),e.attr(u,"xmlns","http://www.w3.org/2000/svg"),e.attr(u,"width","15"),e.attr(u,"height","15"),e.attr(u,"viewBox","0 0 16 24.656"),e.attr(o,"class","SliderButton"),e.attr(p,"style",z=r[11]>=r[10].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(b,"id","Component_46_2"),e.attr(b,"data-name","Component 46 – 2"),e.attr(b,"xmlns","http://www.w3.org/2000/svg"),e.attr(b,"width","15"),e.attr(b,"height","15"),e.attr(b,"viewBox","0 0 16 24.656"),e.attr(C,"class","SliderButton"),e.attr(a,"class",S="ButtonsContainer "+(r[4]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",M="CasinoWinners "+(r[12]?"Mobile":""))},m(d,k){e.insert(d,t,k),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,u),e.append(u,c),e.append(a,j),e.append(a,C),e.append(C,b),e.append(b,p),e.append(t,B),_.m(t,null),N||(E=[e.listen(o,"click",r[46]),e.listen(C,"click",r[47])],N=!0)},p(d,k){if(k[0]&852483){v=e.ensure_array_like(d[16]);let m;for(m=0;m<v.length;m+=1){const h=ue(d,v,m);f[m]?f[m].p(h,k):(f[m]=ge(h),f[m].c(),f[m].m(i,null))}for(;m<f.length;m+=1)f[m].d(1);f.length=v.length}k[0]&3072&&g!==(g=d[11]>=d[10].length?"fill:#F6F6F62E":"")&&e.attr(c,"style",g),k[0]&3072&&z!==(z=d[11]>=d[10].length?"fill:#F6F6F62E":"")&&e.attr(p,"style",z),k[0]&16&&S!==(S="ButtonsContainer "+(d[4]=="true"?"ButtonsContainerNone":""))&&e.attr(a,"class",S),F===(F=L(d))&&_?_.p(d,k):(_.d(1),_=F(d),_&&(_.c(),_.m(t,null))),k[0]&4096&&M!==(M="CasinoWinners "+(d[12]?"Mobile":""))&&e.attr(t,"class",M)},d(d){d&&e.detach(t),e.destroy_each(f,d),_.d(),N=!1,e.run_all(E)}}}function Pe(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3])},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[18]("recentWinners")+"",i,l,a,o;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class",l="WinnersButton "+(r[9]=="recent"?"Active":""))},m(u,c){e.insert(u,t,c),e.append(t,i),a||(o=e.listen(t,"click",r[44]),a=!0)},p(u,c){c[0]&262144&&n!==(n=u[18]("recentWinners")+"")&&e.set_data(i,n),c[0]&512&&l!==(l="WinnersButton "+(u[9]=="recent"?"Active":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),a=!1,o()}}}function fe(r){let t,n=r[18]("topWinners")+"",i,l,a,o,u;return{c(){t=e.element("button"),i=e.text(n),l=e.space(),e.attr(t,"class",a="WinnersButton "+(r[9]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(c,g){e.insert(c,t,g),e.append(t,i),e.append(t,l),o||(u=e.listen(t,"click",r[45]),o=!0)},p(c,g){g[0]&262144&&n!==(n=c[18]("topWinners")+"")&&e.set_data(i,n),g[0]&514&&a!==(a="WinnersButton "+(c[9]=="top"?"Active":"")+" "+(c[1]=="false"?"Off":""))&&e.attr(t,"class",a)},d(c){c&&e.detach(t),o=!1,u()}}}function ge(r){let t,n,i=r[74]=="recent"&&de(r),l=r[74]=="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[74]=="recent"?i?i.p(a,o):(i=de(a),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),a[74]=="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 Ie(r){let t;function n(a,o){return a[10].length!==0?De:Ue}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[50](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[50](null)}}}function Ge(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3]),e.set_custom_element_data(t,"mbsource",r[5])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3]),i[0]&32&&e.set_custom_element_data(t,"mbsource",n[5])},d(n){n&&e.detach(t)}}}function Ue(r){let t,n=r[18]("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]&262144&&n!==(n=l[18]("noWinnersMessage")+"")&&e.set_data(i,n)},d(l){l&&e.detach(t)}}}function De(r){let t,n=e.ensure_array_like(r[10]),i=[];for(let l=0;l<n.length;l+=1)i[l]=he(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]&20219136){n=e.ensure_array_like(l[10]);let o;for(o=0;o<n.length;o+=1){const u=ce(l,n,o);i[o]?i[o].p(u,a):(i[o]=he(u),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 he(r){let t,n,i,l,a,o,u,c=r[71].gameName+"",g,j,C,b=r[20](r[71].username)+"",p,z,S,B=r[18]("won")+"",M,N,E,v=r[24](r[71].specifiedCurrencyAmount)+"",f,L,F,_,d;function k(){return r[48](r[71])}return{c(){var m,h,T,x;t=e.element("div"),n=e.element("div"),i=e.element("img"),o=e.space(),u=e.element("p"),g=e.text(c),j=e.space(),C=e.element("p"),p=e.text(b),z=e.space(),S=e.element("p"),M=e.text(B),N=e.space(),E=e.element("p"),f=e.text(v),L=e.space(),e.src_url_equal(i.src,l=(h=(m=r[71])==null?void 0:m.gameModel)==null?void 0:h.thumbnail)||e.attr(i,"src",l),e.attr(i,"alt",a=(x=(T=r[71])==null?void 0:T.gameModel)==null?void 0:x.thumbnail),e.attr(i,"class","WinnersImage"),e.attr(S,"class","WinnerUsername"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",F="CardWrapper "+(r[15]?"CardWrapperAnimation":""))},m(m,h){e.insert(m,t,h),e.append(t,n),e.append(n,i),e.append(n,o),e.append(n,u),e.append(u,g),e.append(n,j),e.append(n,C),e.append(C,p),e.append(n,z),e.append(n,S),e.append(S,M),e.append(n,N),e.append(n,E),e.append(E,f),r[49](n),e.append(t,L),_||(d=e.listen(i,"click",k),_=!0)},p(m,h){var T,x,y,w;r=m,h[0]&1024&&!e.src_url_equal(i.src,l=(x=(T=r[71])==null?void 0:T.gameModel)==null?void 0:x.thumbnail)&&e.attr(i,"src",l),h[0]&1024&&a!==(a=(w=(y=r[71])==null?void 0:y.gameModel)==null?void 0:w.thumbnail)&&e.attr(i,"alt",a),h[0]&1024&&c!==(c=r[71].gameName+"")&&e.set_data(g,c),h[0]&1024&&b!==(b=r[20](r[71].username)+"")&&e.set_data(p,b),h[0]&262144&&B!==(B=r[18]("won")+"")&&e.set_data(M,B),h[0]&1024&&v!==(v=r[24](r[71].specifiedCurrencyAmount)+"")&&e.set_data(f,v),h[0]&32768&&F!==(F="CardWrapper "+(r[15]?"CardWrapperAnimation":""))&&e.attr(t,"class",F)},d(m){m&&e.detach(t),r[49](null),_=!1,d()}}}function qe(r){let t;function n(a,o){return a[13]||a[14]?Pe:Re}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[51](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[51](null)}}}function Ve(r,t,n){let i;e.component_subscribe(r,e.$format,s=>n(18,i=s));let{endpoint:l=""}=t,{session:a=""}=t,{userid:o=""}=t,{periodrecent:u="Today"}=t,{periodtop:c="Last7Days"}=t,{numberusersrecent:g="20"}=t,{numberuserstop:j="20"}=t,{amountlimit:C="1"}=t,{vendorCategory:b="All"}=t,{lang:p="en"}=t,{isrecentavailable:z="true"}=t,{istopavailable:S="true"}=t,{defaultcurrency:B=""}=t,{usercurrency:M=""}=t,{clientstyling:N=""}=t,{clientstylingurl:E=""}=t,{enableautoscroll:v=""}=t,{tabsorder:f=""}=t,{translationurl:L=""}=t,{winnersdatasources:F=""}=t,{hascustomstyling:_="false"}=t,{mbsource:d}=t,{currencylocale:k=""}=t,m,h,T,x=[],y=0,w=0,be=window.navigator.userAgent,J,R,G,A,U=!0,X=!1,Y=!1,Q,I,D,P,$=[],q=!1,ee;const _e=()=>{let s=new URL(L);fetch(s.href).then(W=>W.json()).then(W=>{Object.keys(W).forEach(O=>{ae(O,W[O])})}).catch(W=>{console.log(W)})};Object.keys(oe).forEach(s=>{ae(s,oe[s])});const te=()=>{$=F.split(",").map(function(W){return W.trim()});const s=new URL(`${l}/v1/casino/${T}-winners`);n(17,q=!0),s.searchParams.append("limit",T=="recent"?g:j),s.searchParams.append("specifiedCurrency",P),s.searchParams.append("period",T=="recent"?u:c),s.searchParams.append("language",p),s.searchParams.append("amountLimit",C),s.searchParams.append("vendorCategory",b),$.forEach(W=>{s.searchParams.append("dataSource",W)}),setTimeout(()=>{fetch(s.href).then(W=>W.json()).then(W=>Z(this,null,function*(){n(10,x=[]),n(10,x=W.items.map(O=>O)),n(17,q=!1),yield e.tick(),ve(),re(),v=="true"&&(clearInterval(I),we()),n(13,U=!1),ye()}))},1e3)},ye=()=>{const s=A.getRootNode().host;s.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:s}}))},V=s=>{T!==s&&(n(10,x=[]),n(9,T=s),te())},We=s=>s.slice(0,2)+s.slice(2,-2).replace(/./g,"*")+s.slice(-2),ne=(s,W,O,K)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:s,launchUrl:W,gameName:O,subVendor:K},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"WinnersWidget",gameId:`${s}`,userId:`${G||"Not logged in"}`})},re=(s=0)=>{const W=[...m.children];Q=W.length,W.forEach((O,K)=>{O.style.transform=`translateX(${100*(K-s)}%)`}),setTimeout(()=>{n(15,Y=!0)},10)},we=()=>{y=0,w<Q?I=setInterval(()=>{H()},3e3):clearInterval(I)},ie=()=>{re(y)},ve=()=>Z(this,null,function*(){yield e.tick(),requestAnimationFrame(()=>{const s=h?h.offsetWidth:0;m.offsetWidth&&s?n(11,w=Math.round(m.offsetWidth/s)):n(11,w=0)})}),se=()=>{if(w>=x.length)return;const s=x.length;y===0?y=s-w:y-w<0?y=0:y=y-w,ie()},H=()=>{if(w>=x.length)return;const s=x.length;v=="true"&&(y===s-w?y=0:y++),v=="false"&&(y===s-w?y=0:s-w<y+w?y=s-w:y+=w),ie()},ke=()=>{Le(p)},Ce=()=>{n(42,R=!0),G=o},le=()=>{n(43,P=R?M:B)},Me=s=>k?Intl.NumberFormat(k,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:P}).format(s).replace(/\s/g,""):`${s.toFixed(2)} ${R?M:B}`,Fe=()=>{_==="true"&&(!N&&!E&&A&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!N&&E&&n(14,X=!0))},xe=()=>{n(16,D=f.split(",")),n(9,T=D[0]),le(),n(13,U=!1)};e.onMount(()=>(n(12,J=e.isMobile(be)),()=>{window.emMessageBus&&ee&&ee.unsubscribe(),clearInterval(I)}));const Se=()=>V("recent"),Be=()=>V("top"),Ne=()=>se(),Ee=()=>H(),Te=s=>ne(s.gameId,s.gameModel.launchUrl,s.gameModel.name,s.gameModel.subVendor);function ze(s){e.binding_callbacks[s?"unshift":"push"](()=>{h=s,n(8,h)})}function Ae(s){e.binding_callbacks[s?"unshift":"push"](()=>{m=s,n(7,m)})}function je(s){e.binding_callbacks[s?"unshift":"push"](()=>{A=s,n(6,A)})}return r.$$set=s=>{"endpoint"in s&&n(25,l=s.endpoint),"session"in s&&n(26,a=s.session),"userid"in s&&n(27,o=s.userid),"periodrecent"in s&&n(28,u=s.periodrecent),"periodtop"in s&&n(29,c=s.periodtop),"numberusersrecent"in s&&n(30,g=s.numberusersrecent),"numberuserstop"in s&&n(31,j=s.numberuserstop),"amountlimit"in s&&n(32,C=s.amountlimit),"vendorCategory"in s&&n(33,b=s.vendorCategory),"lang"in s&&n(34,p=s.lang),"isrecentavailable"in s&&n(0,z=s.isrecentavailable),"istopavailable"in s&&n(1,S=s.istopavailable),"defaultcurrency"in s&&n(35,B=s.defaultcurrency),"usercurrency"in s&&n(36,M=s.usercurrency),"clientstyling"in s&&n(2,N=s.clientstyling),"clientstylingurl"in s&&n(3,E=s.clientstylingurl),"enableautoscroll"in s&&n(4,v=s.enableautoscroll),"tabsorder"in s&&n(37,f=s.tabsorder),"translationurl"in s&&n(38,L=s.translationurl),"winnersdatasources"in s&&n(39,F=s.winnersdatasources),"hascustomstyling"in s&&n(40,_=s.hascustomstyling),"mbsource"in s&&n(5,d=s.mbsource),"currencylocale"in s&&n(41,k=s.currencylocale)},r.$$.update=()=>{r.$$.dirty[0]&1879048195|r.$$.dirty[1]&79&&z&&S&&u&&c&&g&&j&&C&&b&&p&&f&&xe(),r.$$.dirty[0]&67108864&&a&&Ce(),r.$$.dirty[1]&2096&&R&&(M||B)&&le(),r.$$.dirty[0]&33554432|r.$$.dirty[1]&4352&&l&&F&&P&&te(),r.$$.dirty[1]&8&&p&&ke(),r.$$.dirty[1]&128&&L&&_e(),r.$$.dirty[1]&512&&_&&Fe(),r.$$.dirty[0]&68&&N&&A&&e.setClientStyling(A,N),r.$$.dirty[0]&72&&E&&A&&e.setClientStylingURL(A,E),r.$$.dirty[0]&96&&A&&e.setStreamStyling(A,`${d}.Style`)},[z,S,N,E,v,d,A,m,h,T,x,w,J,U,X,Y,D,q,i,V,We,ne,se,H,Me,l,a,o,u,c,g,j,C,b,p,B,M,f,L,F,_,k,R,P,Se,Be,Ne,Ee,Te,ze,Ae,je]}class pe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ve,qe,e.safe_not_equal,{endpoint:25,session:26,userid:27,periodrecent:28,periodtop:29,numberusersrecent:30,numberuserstop:31,amountlimit:32,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:35,usercurrency:36,clientstyling:2,clientstylingurl:3,enableautoscroll:4,tabsorder:37,translationurl:38,winnersdatasources:39,hascustomstyling:40,mbsource:5,currencylocale:41},Oe,[-1,-1,-1])}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[26]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[27]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[28]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[29]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[30]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[31]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[32]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[34]}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[35]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[36]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[4]}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[5]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get currencylocale(){return this.$$.ctx[41]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(pe,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{},mbsource:{},currencylocale:{}},[],[],!0);exports.default=pe;
|