@everymatrix/casino-lobby 1.54.12 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-CKCvu8d9.js → CasinoCalendar-BKvw2GLN.js} +1135 -1091
- package/components/{CasinoCalendar-D3cTwZsW.js → CasinoCalendar-CRnGs6mI.js} +953 -909
- package/components/CasinoCalendar-P6bQ-mxN.cjs +9 -0
- package/components/{CasinoCalendarDailyDetails-CCIR8eIp.js → CasinoCalendarDailyDetails-B-FOmYEZ.js} +45 -45
- package/components/{CasinoCalendarDailyDetails-B7hChP4v.js → CasinoCalendarDailyDetails-DYTiZ7iE.js} +45 -45
- package/components/{CasinoCalendarDailyDetails-C1T0xNcn.cjs → CasinoCalendarDailyDetails-DicGOCGy.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-1iPwEmjb.js → CasinoCalendarDailyItem-BsUUCx7a.js} +46 -46
- package/components/{CasinoCalendarDailyItem-Bp_PImhJ.cjs → CasinoCalendarDailyItem-DDm6oH8O.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BNNa1Jdv.js → CasinoCalendarDailyItem-DIhsLlMC.js} +46 -46
- package/components/{CasinoCategoriesSlider-06Zx2Iq-.js → CasinoCategoriesSlider-C7hbpydX.js} +204 -197
- package/components/{CasinoCategoriesSlider-Bjd1r5S5.js → CasinoCategoriesSlider-hJChLXnm.js} +205 -198
- package/components/CasinoCategoriesSlider-wt-dJlF9.cjs +1 -0
- package/components/CasinoCollectionsProviders-B0h7SupJ.cjs +1 -0
- package/components/{CasinoCollectionsProviders-BQPjVzK8.js → CasinoCollectionsProviders-CTvTqZY1.js} +273 -278
- package/components/{CasinoCollectionsProviders-CVDFBiI0.js → CasinoCollectionsProviders-Cyc5HYpW.js} +260 -265
- package/components/{CasinoFavoritesSection-Dumr9yPV.js → CasinoFavoritesSection-B4JlTRNa.js} +139 -133
- package/components/CasinoFavoritesSection-CcyN5mtI.cjs +1 -0
- package/components/{CasinoFavoritesSection-WWaIxjOj.js → CasinoFavoritesSection-D4v8HNn9.js} +139 -133
- package/components/{CasinoFilter-CT6gjm3V.js → CasinoFilter-CgPbbuBc.js} +178 -184
- package/components/{CasinoFilter-C10Tgn3c.cjs → CasinoFilter-EA285UxQ.cjs} +1 -1
- package/components/{CasinoFilter-ckjDwsuD.js → CasinoFilter-ZQCeB5st.js} +175 -181
- package/components/{CasinoGamePage-DOzefHFS.cjs → CasinoGamePage-D2VGIU0X.cjs} +6 -6
- package/components/{CasinoGamePage-BUpAQtEi.js → CasinoGamePage-DnFlR6PD.js} +1044 -1050
- package/components/{CasinoGamePage-VEREng8k.js → CasinoGamePage-lOejw_q6.js} +1018 -1024
- package/components/{CasinoGameThumbnail-nmpLDgoF.js → CasinoGameThumbnail-Aj4sPAss.js} +403 -424
- package/components/{CasinoGameThumbnail-CWQWsl_s.cjs → CasinoGameThumbnail-ClSBiG0I.cjs} +13 -13
- package/components/{CasinoGameThumbnail-D08-4naW.js → CasinoGameThumbnail-h69vAUbV.js} +523 -512
- package/components/{CasinoGamesCategorySection-u0JnTvTn.js → CasinoGamesCategorySection-C9FCv7PW.js} +736 -674
- package/components/{CasinoGamesCategorySection-DK9t7zLa.js → CasinoGamesCategorySection-PiRBRWmh.js} +1168 -1106
- package/components/CasinoGamesCategorySection-X0aDh13K.cjs +1 -0
- package/components/CasinoJackpotBanner-BdzgC-lW.js +690 -0
- package/components/CasinoJackpotBanner-Dx_3WwEw.js +686 -0
- package/components/CasinoJackpotBanner-rV5P1O6d.cjs +1 -0
- package/components/CasinoLastPlayedSection-BP9oa18h.cjs +1 -0
- package/components/{CasinoLastPlayedSection-CChe4Dsm.js → CasinoLastPlayedSection-BXGcYUad.js} +148 -139
- package/components/{CasinoLastPlayedSection-BoyL9RQI.js → CasinoLastPlayedSection-r73sTCi9.js} +148 -139
- package/components/{CasinoLobby-ClLV4i9d.js → CasinoLobby-60oTKJCK.js} +555 -525
- package/components/CasinoLobby-CB5KGhNa.cjs +1 -0
- package/components/{CasinoLobby-DUYjTD-X.js → CasinoLobby-DHl1_-VE.js} +555 -525
- package/components/CasinoModal-B7R5L0mw.js +368 -0
- package/components/CasinoModal-B7pt3Gcb.cjs +1 -0
- package/components/CasinoModal-wz-kI5U1.js +368 -0
- package/components/{CasinoMostPlayedSection-DQ_xJPuX.cjs → CasinoMostPlayedSection-CaHWOtw_.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-DIF7og_k.js → CasinoMostPlayedSection-CpO0b2PN.js} +34 -34
- package/components/{CasinoMostPlayedSection-qZnaHjV9.js → CasinoMostPlayedSection-CxQrM8-U.js} +34 -34
- package/components/{CasinoMyGames-BfCr8pSL.js → CasinoMyGames-B0AvdkLy.js} +124 -128
- package/components/{CasinoMyGames-B0pWVqCz.cjs → CasinoMyGames-R7NrCxgd.cjs} +1 -1
- package/components/{CasinoMyGames-Bu2sU_i0.js → CasinoMyGames-ieyBjArx.js} +139 -141
- package/components/{CasinoPage-CoKfFrmH.js → CasinoPage-CcV-qeX_.js} +903 -805
- package/components/{CasinoPage-BAJC3ryR.js → CasinoPage-E4Nn1l0F.js} +573 -481
- package/components/CasinoPage-azRHPGyF.cjs +1 -0
- package/components/{CasinoRandomGame-Df62wtxc.js → CasinoRandomGame-BEOONr7N.js} +244 -246
- package/components/{CasinoRandomGame-C6-dDxie.cjs → CasinoRandomGame-D1gqYJkg.cjs} +2 -2
- package/components/{CasinoRandomGame-DXFHIw0O.js → CasinoRandomGame-DoSJSKrA.js} +225 -227
- package/components/CasinoSearch-3nC8pR7D.cjs +1 -0
- package/components/{CasinoSearch-DP4hDzq5.js → CasinoSearch-BOSoxjjv.js} +394 -387
- package/components/{CasinoSearch-U2PDpXMA.js → CasinoSearch-DqfKG5Mj.js} +443 -436
- package/components/{CasinoSlider-BjpV4pLV.js → CasinoSlider-DlBcdeDm.js} +294 -297
- package/components/{CasinoSlider-BDjskQjI.cjs → CasinoSlider-Zgasc58K.cjs} +1 -1
- package/components/{CasinoSlider-BWEc4YT5.js → CasinoSlider-ylo7nRmY.js} +317 -320
- package/components/CasinoSort-CVwRicsk.js +427 -0
- package/components/CasinoSort-D3rxrF3Z.cjs +1 -0
- package/components/CasinoSort-D9KTb90Q.js +428 -0
- package/components/CasinoWinners-Br_rOUdI.cjs +1 -0
- package/components/{CasinoWinners-6mr0X-kZ.js → CasinoWinners-CSDCICsh.js} +355 -352
- package/components/{CasinoWinners-CADOvOsd.js → CasinoWinners-CeLmSRE4.js} +338 -335
- package/components/{GeneralAnimationLoading-CX9baArf.js → GeneralAnimationLoading-BRBLoSEB.js} +8 -8
- package/components/{GeneralAnimationLoading-BG_QynCK.cjs → GeneralAnimationLoading-Bu4_iets.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DVLCsjn0.js → GeneralAnimationLoading-DoN4gYz0.js} +8 -8
- 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-NI77_BKB.js → casino-play-random-game-B5g4-G4Z.js} +3 -3
- package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-CQe5iDJ8.cjs} +2 -2
- package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-Cphp76Jq.js} +3 -3
- package/stencil/index-eac6b960-BaE9i06M.cjs +1 -0
- package/stencil/index-eac6b960-DXIu1GM6.js +579 -0
- package/stencil/index-eac6b960-Dvyvd5zP.js +563 -0
- package/components/CasinoCalendar-BlfnJwZ-.cjs +0 -9
- package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +0 -1
- package/components/CasinoCollectionsProviders-CSISd5u6.cjs +0 -1
- package/components/CasinoFavoritesSection-Dc3krq_m.cjs +0 -1
- package/components/CasinoGamesCategorySection-LHUR2_EB.cjs +0 -1
- package/components/CasinoJackpotBanner-D3s92J-3.js +0 -614
- package/components/CasinoJackpotBanner-q02RPv4N.js +0 -618
- package/components/CasinoJackpotBanner-uWVFzOiI.cjs +0 -1
- package/components/CasinoLastPlayedSection-BVbeW3YI.cjs +0 -1
- package/components/CasinoLobby-bvh2k3lg.cjs +0 -1
- package/components/CasinoModal-C1oW3YF4.js +0 -372
- package/components/CasinoModal-DRtZi6gR.cjs +0 -1
- package/components/CasinoModal-IbVlgg7Z.js +0 -372
- package/components/CasinoPage-CoSWrE10.cjs +0 -1
- package/components/CasinoSearch-Cnu1-6cZ.cjs +0 -1
- package/components/CasinoSort-CS53Uvnz.cjs +0 -1
- package/components/CasinoSort-DFdgT3Dt.js +0 -432
- package/components/CasinoSort-DFljh5Sg.js +0 -431
- package/components/CasinoWinners-DU3xFq2b.cjs +0 -1
- package/stencil/index-8b2c4ca7-BNDGCsVn.js +0 -629
- package/stencil/index-8b2c4ca7-CtUqBgXG.js +0 -645
- package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
|
@@ -0,0 +1,428 @@
|
|
|
1
|
+
import { $ as q, W 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, D as U, j as R, k as it, o as ct, K as dt, n as pt, N as ut, O as gt, q as G, G as Z, r as I, u as K, v as r, w as l, x as tt, B as W, C as ht, F as mt } from "./CasinoCalendar-CRnGs6mI.js";
|
|
2
|
+
function ft({ withLocale: t, translations: e }) {
|
|
3
|
+
q.subscribe((o) => {
|
|
4
|
+
o == null && (et.set(e), q.set(t));
|
|
5
|
+
});
|
|
6
|
+
}
|
|
7
|
+
function Q(t, e) {
|
|
8
|
+
rt(t, e);
|
|
9
|
+
}
|
|
10
|
+
const X = {
|
|
11
|
+
en: {
|
|
12
|
+
sortby: "Sort by:",
|
|
13
|
+
all: "All",
|
|
14
|
+
az: "A-Z",
|
|
15
|
+
newest: "Newest",
|
|
16
|
+
hottest: "Hottest"
|
|
17
|
+
},
|
|
18
|
+
zh: {
|
|
19
|
+
sortby: "Sort by",
|
|
20
|
+
all: "All",
|
|
21
|
+
az: "A-Z",
|
|
22
|
+
newest: "Newest",
|
|
23
|
+
hottest: "Hottest"
|
|
24
|
+
},
|
|
25
|
+
de: {
|
|
26
|
+
sortby: "Sort by:",
|
|
27
|
+
all: "All",
|
|
28
|
+
az: "A-Z",
|
|
29
|
+
newest: "Newest",
|
|
30
|
+
hottest: "Hottest"
|
|
31
|
+
},
|
|
32
|
+
it: {
|
|
33
|
+
sortby: "Sort by:",
|
|
34
|
+
all: "All",
|
|
35
|
+
az: "A-Z",
|
|
36
|
+
newest: "Newest",
|
|
37
|
+
hottest: "Hottest"
|
|
38
|
+
},
|
|
39
|
+
fr: {
|
|
40
|
+
sortby: "Sort by:",
|
|
41
|
+
all: "All",
|
|
42
|
+
az: "A-Z",
|
|
43
|
+
newest: "Newest",
|
|
44
|
+
hottest: "Hottest"
|
|
45
|
+
},
|
|
46
|
+
es: {
|
|
47
|
+
sortby: "Sort by:",
|
|
48
|
+
all: "All",
|
|
49
|
+
az: "A-Z",
|
|
50
|
+
newest: "Newest",
|
|
51
|
+
hottest: "Hottest"
|
|
52
|
+
},
|
|
53
|
+
tr: {
|
|
54
|
+
sortby: "Sırala:",
|
|
55
|
+
all: "Hepsi",
|
|
56
|
+
az: "A-Z",
|
|
57
|
+
newest: "En yeni",
|
|
58
|
+
hottest: "Öne Çıkan"
|
|
59
|
+
},
|
|
60
|
+
ru: {
|
|
61
|
+
sortby: "Sort by:",
|
|
62
|
+
all: "All",
|
|
63
|
+
az: "A-Z",
|
|
64
|
+
newest: "Newest",
|
|
65
|
+
hottest: "Hottest"
|
|
66
|
+
},
|
|
67
|
+
ro: {
|
|
68
|
+
sortby: "Sort by:",
|
|
69
|
+
all: "All",
|
|
70
|
+
az: "A-Z",
|
|
71
|
+
newest: "Newest",
|
|
72
|
+
hottest: "Hottest"
|
|
73
|
+
},
|
|
74
|
+
hr: {
|
|
75
|
+
sortby: "Poredaj po:",
|
|
76
|
+
all: "Sve",
|
|
77
|
+
az: "A-Z",
|
|
78
|
+
newest: "Najnovije",
|
|
79
|
+
hottest: "Hot igre"
|
|
80
|
+
},
|
|
81
|
+
hu: {
|
|
82
|
+
sortby: "Sort by:",
|
|
83
|
+
all: "All",
|
|
84
|
+
az: "A-Z",
|
|
85
|
+
newest: "Newest",
|
|
86
|
+
hottest: "Hottest"
|
|
87
|
+
},
|
|
88
|
+
pl: {
|
|
89
|
+
sortby: "Sort by:",
|
|
90
|
+
all: "All",
|
|
91
|
+
az: "A-Z",
|
|
92
|
+
newest: "Newest",
|
|
93
|
+
hottest: "Hottest"
|
|
94
|
+
},
|
|
95
|
+
pt: {
|
|
96
|
+
sortby: "Sort by:",
|
|
97
|
+
all: "All",
|
|
98
|
+
az: "A-Z",
|
|
99
|
+
newest: "Newest",
|
|
100
|
+
hottest: "Hottest"
|
|
101
|
+
},
|
|
102
|
+
sl: {
|
|
103
|
+
sortby: "Sort by:",
|
|
104
|
+
all: "All",
|
|
105
|
+
az: "A-Z",
|
|
106
|
+
newest: "Newest",
|
|
107
|
+
hottest: "Hottest"
|
|
108
|
+
},
|
|
109
|
+
sr: {
|
|
110
|
+
sortby: "Sort by:",
|
|
111
|
+
all: "All",
|
|
112
|
+
az: "A-Z",
|
|
113
|
+
newest: "Newest",
|
|
114
|
+
hottest: "Hottest"
|
|
115
|
+
},
|
|
116
|
+
"pt-br": {
|
|
117
|
+
sortby: "Organizar por:",
|
|
118
|
+
all: "Todos",
|
|
119
|
+
az: "A-Z",
|
|
120
|
+
newest: "Mais recente",
|
|
121
|
+
hottest: "mais quente"
|
|
122
|
+
},
|
|
123
|
+
"es-mx": {
|
|
124
|
+
sortby: "Ordenar Por:",
|
|
125
|
+
all: "Todo",
|
|
126
|
+
az: "A-Z",
|
|
127
|
+
newest: "Más nuevos",
|
|
128
|
+
hottest: "Más calientes"
|
|
129
|
+
},
|
|
130
|
+
"en-us": {
|
|
131
|
+
sortby: "Sort by:",
|
|
132
|
+
all: "All",
|
|
133
|
+
az: "A-Z",
|
|
134
|
+
newest: "Newest",
|
|
135
|
+
hottest: "Hottest"
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
function yt(t) {
|
|
139
|
+
lt(t, "svelte-kh3a1g", ':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.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
|
+
}
|
|
141
|
+
function Y(t, e, o) {
|
|
142
|
+
const a = t.slice();
|
|
143
|
+
return a[23] = e[o], a;
|
|
144
|
+
}
|
|
145
|
+
function wt(t) {
|
|
146
|
+
let e, o, a, s, i, d, f, u, k, b, g, w = (
|
|
147
|
+
/*$_*/
|
|
148
|
+
t[4]("sortby") + ""
|
|
149
|
+
), S, v, x, D, C = (
|
|
150
|
+
/*vendorSortingBy*/
|
|
151
|
+
(t[3] || /*$_*/
|
|
152
|
+
t[4]("all")) + ""
|
|
153
|
+
), L, T, F, A, N, O, B, n, p, _, j, E, V, M = G(Object.values(
|
|
154
|
+
/*vendorMap*/
|
|
155
|
+
t[5]
|
|
156
|
+
)), y = [];
|
|
157
|
+
for (let c = 0; c < M.length; c += 1)
|
|
158
|
+
y[c] = $(Y(t, M, c));
|
|
159
|
+
return {
|
|
160
|
+
c() {
|
|
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
|
+
(t[1] ? "SorterOpen" : "")), r(e, "class", "SorterContainer");
|
|
168
|
+
},
|
|
169
|
+
m(c, z) {
|
|
170
|
+
P(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
|
+
E || (V = tt(
|
|
174
|
+
o,
|
|
175
|
+
"click",
|
|
176
|
+
/*click_handler*/
|
|
177
|
+
t[14]
|
|
178
|
+
), E = !0);
|
|
179
|
+
},
|
|
180
|
+
p(c, z) {
|
|
181
|
+
if (z & /*$_*/
|
|
182
|
+
16 && w !== (w = /*$_*/
|
|
183
|
+
c[4]("sortby") + "") && W(S, w), z & /*vendorSortingBy, $_*/
|
|
184
|
+
24 && C !== (C = /*vendorSortingBy*/
|
|
185
|
+
(c[3] || /*$_*/
|
|
186
|
+
c[4]("all")) + "") && W(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
|
+
120) {
|
|
192
|
+
M = G(Object.values(
|
|
193
|
+
/*vendorMap*/
|
|
194
|
+
c[5]
|
|
195
|
+
));
|
|
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
|
+
}
|
|
201
|
+
for (; h < y.length; h += 1)
|
|
202
|
+
y[h].d(1);
|
|
203
|
+
y.length = M.length;
|
|
204
|
+
}
|
|
205
|
+
z & /*isSorterActive*/
|
|
206
|
+
2 && j !== (j = "SorterDropdownContainer " + /*isSorterActive*/
|
|
207
|
+
(c[1] ? "SorterOpen" : "")) && r(p, "class", j);
|
|
208
|
+
},
|
|
209
|
+
d(c) {
|
|
210
|
+
c && R(e), ht(y, c), E = !1, V();
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
function $(t) {
|
|
215
|
+
let e, o, a, s, i, d, f, u, k, b, g;
|
|
216
|
+
function w() {
|
|
217
|
+
return (
|
|
218
|
+
/*click_handler_1*/
|
|
219
|
+
t[15](
|
|
220
|
+
/*sort*/
|
|
221
|
+
t[23]
|
|
222
|
+
)
|
|
223
|
+
);
|
|
224
|
+
}
|
|
225
|
+
return {
|
|
226
|
+
c() {
|
|
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
|
+
t[23], a.checked = s = /*vendorSortingBy*/
|
|
230
|
+
t[3] == /*sort*/
|
|
231
|
+
t[23] ? !0 : (
|
|
232
|
+
/*vendorSortingBy*/
|
|
233
|
+
t[3] == null && /*sort*/
|
|
234
|
+
t[23] == /*$_*/
|
|
235
|
+
t[4]("all")
|
|
236
|
+
), r(d, "class", "SortersCheckmark"), r(o, "class", "SorterLabel CustomRadioButton"), r(e, "class", "SorterItem"), e.value = /*sort*/
|
|
237
|
+
t[23];
|
|
238
|
+
},
|
|
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
|
+
},
|
|
242
|
+
p(S, v) {
|
|
243
|
+
t = S, v & /*vendorSortingBy, $_*/
|
|
244
|
+
24 && s !== (s = /*vendorSortingBy*/
|
|
245
|
+
t[3] == /*sort*/
|
|
246
|
+
t[23] ? !0 : (
|
|
247
|
+
/*vendorSortingBy*/
|
|
248
|
+
t[3] == null && /*sort*/
|
|
249
|
+
t[23] == /*$_*/
|
|
250
|
+
t[4]("all")
|
|
251
|
+
)) && (a.checked = s);
|
|
252
|
+
},
|
|
253
|
+
d(S) {
|
|
254
|
+
S && R(e), b = !1, g();
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
function bt(t) {
|
|
259
|
+
let e;
|
|
260
|
+
function o(i, d) {
|
|
261
|
+
if (!/*isLoading*/
|
|
262
|
+
i[2]) return wt;
|
|
263
|
+
}
|
|
264
|
+
let a = o(t), s = a && a(t);
|
|
265
|
+
return {
|
|
266
|
+
c() {
|
|
267
|
+
e = m("div"), s && s.c();
|
|
268
|
+
},
|
|
269
|
+
m(i, d) {
|
|
270
|
+
P(i, e, d), s && s.m(e, null), t[16](e);
|
|
271
|
+
},
|
|
272
|
+
p(i, [d]) {
|
|
273
|
+
a === (a = o(i)) && s ? s.p(i, d) : (s && s.d(1), s = a && a(i), s && (s.c(), s.m(e, null)));
|
|
274
|
+
},
|
|
275
|
+
i: U,
|
|
276
|
+
o: U,
|
|
277
|
+
d(i) {
|
|
278
|
+
i && R(e), s && s.d(), t[16](null);
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
function St(t, e, o) {
|
|
283
|
+
let a;
|
|
284
|
+
it(t, mt, (n) => o(4, a = n));
|
|
285
|
+
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
|
+
ft({ withLocale: "en", translations: {} });
|
|
287
|
+
const D = () => {
|
|
288
|
+
fetch(i).then((p) => p.json()).then((p) => {
|
|
289
|
+
Object.keys(p).forEach((_) => {
|
|
290
|
+
Q(_, p[_]);
|
|
291
|
+
});
|
|
292
|
+
}).catch((p) => {
|
|
293
|
+
console.log(p);
|
|
294
|
+
});
|
|
295
|
+
};
|
|
296
|
+
Object.keys(X).forEach((n) => {
|
|
297
|
+
Q(n, X[n]);
|
|
298
|
+
});
|
|
299
|
+
const C = {
|
|
300
|
+
All: a("all"),
|
|
301
|
+
name: a("az"),
|
|
302
|
+
isNew: a("newest"),
|
|
303
|
+
"advancedTags(name(hot))": a("hottest")
|
|
304
|
+
}, L = () => {
|
|
305
|
+
var p;
|
|
306
|
+
o(3, x = "All"), o(2, S = !1), o(1, w = !1);
|
|
307
|
+
let n = (p = JSON.parse(localStorage.getItem("vendorSortingBy"))) == null ? void 0 : p[u];
|
|
308
|
+
n ? o(3, x = n) : o(3, x = "All"), o(3, x = C[n]);
|
|
309
|
+
}, T = (n) => {
|
|
310
|
+
o(3, x = n);
|
|
311
|
+
let p = localStorage.getItem("vendorSortingBy");
|
|
312
|
+
v = n;
|
|
313
|
+
for (let _ in C)
|
|
314
|
+
if (C[_] === n) {
|
|
315
|
+
v = _;
|
|
316
|
+
break;
|
|
317
|
+
}
|
|
318
|
+
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
|
+
type: "ApplySorter",
|
|
321
|
+
sortBy: v,
|
|
322
|
+
itemId: u
|
|
323
|
+
},
|
|
324
|
+
window.location.href
|
|
325
|
+
), o(1, w = !w);
|
|
326
|
+
}, F = () => {
|
|
327
|
+
o(1, w = !w), window.postMessage({ type: "SortingOpened" }, window.location.href);
|
|
328
|
+
}, A = (n) => {
|
|
329
|
+
n.data.type == "FilterOpened" && o(1, w = !1);
|
|
330
|
+
};
|
|
331
|
+
ct(() => (window.addEventListener("message", A, !1), () => {
|
|
332
|
+
window.emMessageBus != null && b && b.unsubscribe(), window.removeEventListener("message", A);
|
|
333
|
+
}));
|
|
334
|
+
const N = () => F(), O = (n) => T(n);
|
|
335
|
+
function B(n) {
|
|
336
|
+
pt[n ? "unshift" : "push"](() => {
|
|
337
|
+
g = n, o(0, g);
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
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, f = n.clientstylingurl), "categoryid" in n && o(12, u = n.categoryid), "mbsource" in n && o(13, k = n.mbsource);
|
|
342
|
+
}, t.$$.update = () => {
|
|
343
|
+
t.$$.dirty & /*categoryid*/
|
|
344
|
+
4096 && u && L(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
345
|
+
1025 && d && g && ut(g, d), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
346
|
+
2049 && f && g && dt(g, f), t.$$.dirty & /*customStylingContainer, mbsource*/
|
|
347
|
+
8193 && g && gt(g, `${k}.Style`), t.$$.dirty & /*translationurl*/
|
|
348
|
+
512 && i && D();
|
|
349
|
+
}, [
|
|
350
|
+
g,
|
|
351
|
+
w,
|
|
352
|
+
S,
|
|
353
|
+
x,
|
|
354
|
+
a,
|
|
355
|
+
C,
|
|
356
|
+
T,
|
|
357
|
+
F,
|
|
358
|
+
s,
|
|
359
|
+
i,
|
|
360
|
+
d,
|
|
361
|
+
f,
|
|
362
|
+
u,
|
|
363
|
+
k,
|
|
364
|
+
N,
|
|
365
|
+
O,
|
|
366
|
+
B
|
|
367
|
+
];
|
|
368
|
+
}
|
|
369
|
+
class vt extends ot {
|
|
370
|
+
constructor(e) {
|
|
371
|
+
super(), nt(
|
|
372
|
+
this,
|
|
373
|
+
e,
|
|
374
|
+
St,
|
|
375
|
+
bt,
|
|
376
|
+
st,
|
|
377
|
+
{
|
|
378
|
+
lang: 8,
|
|
379
|
+
translationurl: 9,
|
|
380
|
+
clientstyling: 10,
|
|
381
|
+
clientstylingurl: 11,
|
|
382
|
+
categoryid: 12,
|
|
383
|
+
mbsource: 13
|
|
384
|
+
},
|
|
385
|
+
yt
|
|
386
|
+
);
|
|
387
|
+
}
|
|
388
|
+
get lang() {
|
|
389
|
+
return this.$$.ctx[8];
|
|
390
|
+
}
|
|
391
|
+
set lang(e) {
|
|
392
|
+
this.$$set({ lang: e }), H();
|
|
393
|
+
}
|
|
394
|
+
get translationurl() {
|
|
395
|
+
return this.$$.ctx[9];
|
|
396
|
+
}
|
|
397
|
+
set translationurl(e) {
|
|
398
|
+
this.$$set({ translationurl: e }), H();
|
|
399
|
+
}
|
|
400
|
+
get clientstyling() {
|
|
401
|
+
return this.$$.ctx[10];
|
|
402
|
+
}
|
|
403
|
+
set clientstyling(e) {
|
|
404
|
+
this.$$set({ clientstyling: e }), H();
|
|
405
|
+
}
|
|
406
|
+
get clientstylingurl() {
|
|
407
|
+
return this.$$.ctx[11];
|
|
408
|
+
}
|
|
409
|
+
set clientstylingurl(e) {
|
|
410
|
+
this.$$set({ clientstylingurl: e }), H();
|
|
411
|
+
}
|
|
412
|
+
get categoryid() {
|
|
413
|
+
return this.$$.ctx[12];
|
|
414
|
+
}
|
|
415
|
+
set categoryid(e) {
|
|
416
|
+
this.$$set({ categoryid: e }), H();
|
|
417
|
+
}
|
|
418
|
+
get mbsource() {
|
|
419
|
+
return this.$$.ctx[13];
|
|
420
|
+
}
|
|
421
|
+
set mbsource(e) {
|
|
422
|
+
this.$$set({ mbsource: e }), H();
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
at(vt, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, mbsource: {} }, [], [], !0);
|
|
426
|
+
export {
|
|
427
|
+
vt as default
|
|
428
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-P6bQ-mxN.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-Bu4_iets.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"&>ag("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;
|