@everymatrix/casino-most-played-section 1.54.6 → 1.54.8
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/{CasinoFilter-BYeEBK-a.js → CasinoFilter-C_NFi_rN.js} +456 -464
- package/components/CasinoFilter-DEXkfvfQ.cjs +5 -0
- package/components/CasinoFilter-DuUevwDN.js +4991 -0
- package/components/{CasinoGameThumbnail-JaA-bmMs.js → CasinoGameThumbnail-DLCuQBSY.js} +62 -62
- package/components/CasinoGameThumbnail-DWrQCx6i.cjs +47 -0
- package/components/CasinoGameThumbnail-DkLajZ-6.js +4432 -0
- package/components/CasinoGamesCategorySection-BUCzSW6j.js +3032 -0
- package/components/{CasinoGamesCategorySection-hT0scUNY.js → CasinoGamesCategorySection-CMQyuUzV.js} +88 -88
- package/components/CasinoGamesCategorySection-u15kKRqx.cjs +1 -0
- package/components/CasinoMostPlayedSection-7tzn4AXe.js +598 -0
- package/components/{CasinoMostPlayedSection-CMEgkbWJ.js → CasinoMostPlayedSection-B2_G1xXD.js} +15 -15
- package/components/CasinoMostPlayedSection-mYImyOBY.cjs +1 -0
- package/components/CasinoSort-BHWKjHLA.cjs +1 -0
- package/components/{CasinoSort-B1pgdr2s.js → CasinoSort-BO8pFRNg.js} +22 -22
- package/components/CasinoSort-Chc8wKdN.js +432 -0
- package/es2015/casino-most-played-section.cjs +1 -0
- package/es2015/casino-most-played-section.js +16 -0
- package/esnext/casino-most-played-section.js +1 -1
- package/package.json +1 -1
@@ -0,0 +1,432 @@
|
|
1
|
+
import { $ as q, I as te, a as re, S as oe, i as ne, s as ae, f as D, b as le, n as U, d as R, h as P, k as f, o as se, p as ie, w as ce, x as G, y as de, g as K, e as r, j as s, q as ee, A as N, l as Z, m as Q, B as pe, C as ge } from "./CasinoFilter-DuUevwDN.js";
|
2
|
+
function ue({ withLocale: e, translations: t }) {
|
3
|
+
q.subscribe((o) => {
|
4
|
+
o == null && (te.set(t), q.set(e));
|
5
|
+
});
|
6
|
+
}
|
7
|
+
function W(e, t) {
|
8
|
+
re(e, t);
|
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 he(e) {
|
139
|
+
le(e, "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(e, t, o) {
|
142
|
+
const a = e.slice();
|
143
|
+
return a[23] = t[o], a;
|
144
|
+
}
|
145
|
+
function me(e) {
|
146
|
+
let t, o, a, l, i, p, y, g, b, u, x, S = (
|
147
|
+
/*$_*/
|
148
|
+
e[4]("sortby") + ""
|
149
|
+
), m, C, A, B, I = (
|
150
|
+
/*vendorSortingBy*/
|
151
|
+
(e[3] || /*$_*/
|
152
|
+
e[4]("all")) + ""
|
153
|
+
), L, T, z, _, F, H, M, n, c, v, E, j, V, O = G(Object.values(
|
154
|
+
/*vendorMap*/
|
155
|
+
e[5]
|
156
|
+
)), w = [];
|
157
|
+
for (let d = 0; d < O.length; d += 1)
|
158
|
+
w[d] = $(Y(e, O, d));
|
159
|
+
return {
|
160
|
+
c() {
|
161
|
+
t = f("div"), o = f("div"), a = f("div"), l = N("svg"), i = N("g"), p = N("path"), y = N("path"), g = N("path"), b = Z(), u = f("div"), x = f("span"), m = Q(S), C = Z(), A = f("div"), B = f("span"), L = Q(I), T = Z(), z = f("span"), _ = N("svg"), F = N("path"), n = Z(), c = f("div"), v = f("ul");
|
162
|
+
for (let d = 0; d < w.length; d += 1)
|
163
|
+
w[d].c();
|
164
|
+
r(p, "id", "Path_5267"), r(p, "data-name", "Path 5267"), r(p, "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(p, "transform", "translate(-206.448 0)"), r(p, "fill", "#fff"), r(y, "id", "Path_5268"), r(y, "data-name", "Path 5268"), r(y, "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(y, "transform", "translate(0 0)"), r(y, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(l, "xmlns", "http://www.w3.org/2000/svg"), r(l, "width", "20"), r(l, "height", "20"), r(l, "viewBox", "0 0 26.003 22.819"), r(x, "class", "SorterName"), r(A, "class", "SorterValueContainer"), r(u, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(F, "id", "arrow"), r(F, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(F, "transform", "translate(-274.511 -441.088)"), r(F, "fill", "#d1d1d1"), r(_, "xmlns", "http://www.w3.org/2000/svg"), r(_, "width", "14"), r(_, "height", "6.835"), r(_, "viewBox", "0 0 14 6.835"), r(z, "class", H = "TriangleInactive " + /*isSorterActive*/
|
165
|
+
(e[1] ? "TriangleActive" : "")), r(o, "class", M = "SorterSelector " + /*isSorterActive*/
|
166
|
+
(e[1] ? "SorterSelectorOpen" : "")), r(v, "class", "SorterDropdown"), r(c, "class", E = "SorterDropdownContainer " + /*isSorterActive*/
|
167
|
+
(e[1] ? "SorterOpen" : "")), r(t, "class", "SorterContainer");
|
168
|
+
},
|
169
|
+
m(d, k) {
|
170
|
+
P(d, t, k), s(t, o), s(o, a), s(a, l), s(l, i), s(i, p), s(i, y), s(i, g), s(a, b), s(a, u), s(u, x), s(x, m), s(u, C), s(u, A), s(A, B), s(B, L), s(o, T), s(o, z), s(z, _), s(_, F), s(t, n), s(t, c), s(c, v);
|
171
|
+
for (let h = 0; h < w.length; h += 1)
|
172
|
+
w[h] && w[h].m(v, null);
|
173
|
+
j || (V = ee(
|
174
|
+
o,
|
175
|
+
"click",
|
176
|
+
/*click_handler*/
|
177
|
+
e[13]
|
178
|
+
), j = !0);
|
179
|
+
},
|
180
|
+
p(d, k) {
|
181
|
+
if (k & /*$_*/
|
182
|
+
16 && S !== (S = /*$_*/
|
183
|
+
d[4]("sortby") + "") && K(m, S), k & /*vendorSortingBy, $_*/
|
184
|
+
24 && I !== (I = /*vendorSortingBy*/
|
185
|
+
(d[3] || /*$_*/
|
186
|
+
d[4]("all")) + "") && K(L, I), k & /*isSorterActive*/
|
187
|
+
2 && H !== (H = "TriangleInactive " + /*isSorterActive*/
|
188
|
+
(d[1] ? "TriangleActive" : "")) && r(z, "class", H), k & /*isSorterActive*/
|
189
|
+
2 && M !== (M = "SorterSelector " + /*isSorterActive*/
|
190
|
+
(d[1] ? "SorterSelectorOpen" : "")) && r(o, "class", M), k & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
|
191
|
+
120) {
|
192
|
+
O = G(Object.values(
|
193
|
+
/*vendorMap*/
|
194
|
+
d[5]
|
195
|
+
));
|
196
|
+
let h;
|
197
|
+
for (h = 0; h < O.length; h += 1) {
|
198
|
+
const J = Y(d, O, h);
|
199
|
+
w[h] ? w[h].p(J, k) : (w[h] = $(J), w[h].c(), w[h].m(v, null));
|
200
|
+
}
|
201
|
+
for (; h < w.length; h += 1)
|
202
|
+
w[h].d(1);
|
203
|
+
w.length = O.length;
|
204
|
+
}
|
205
|
+
k & /*isSorterActive*/
|
206
|
+
2 && E !== (E = "SorterDropdownContainer " + /*isSorterActive*/
|
207
|
+
(d[1] ? "SorterOpen" : "")) && r(c, "class", E);
|
208
|
+
},
|
209
|
+
d(d) {
|
210
|
+
d && R(t), de(w, d), j = !1, V();
|
211
|
+
}
|
212
|
+
};
|
213
|
+
}
|
214
|
+
function $(e) {
|
215
|
+
let t, o, a, l, i, p, y, g, b, u, x;
|
216
|
+
function S() {
|
217
|
+
return (
|
218
|
+
/*click_handler_1*/
|
219
|
+
e[14](
|
220
|
+
/*sort*/
|
221
|
+
e[23]
|
222
|
+
)
|
223
|
+
);
|
224
|
+
}
|
225
|
+
return {
|
226
|
+
c() {
|
227
|
+
t = f("li"), o = f("label"), a = f("input"), i = Z(), p = f("span"), y = Z(), g = f("span"), g.textContent = `${/*sort*/
|
228
|
+
e[23]}`, b = Z(), r(a, "type", "radio"), r(a, "name", "radio"), a.value = /*sort*/
|
229
|
+
e[23], a.checked = l = /*vendorSortingBy*/
|
230
|
+
e[3] == /*sort*/
|
231
|
+
e[23] ? !0 : (
|
232
|
+
/*vendorSortingBy*/
|
233
|
+
e[3] == null && /*sort*/
|
234
|
+
e[23] == /*$_*/
|
235
|
+
e[4]("all")
|
236
|
+
), r(p, "class", "SortersCheckmark"), r(o, "class", "SorterLabel CustomRadioButton"), r(t, "class", "SorterItem"), t.value = /*sort*/
|
237
|
+
e[23];
|
238
|
+
},
|
239
|
+
m(m, C) {
|
240
|
+
P(m, t, C), s(t, o), s(o, a), s(o, i), s(o, p), s(o, y), s(o, g), s(t, b), u || (x = ee(a, "click", S), u = !0);
|
241
|
+
},
|
242
|
+
p(m, C) {
|
243
|
+
e = m, C & /*vendorSortingBy, $_*/
|
244
|
+
24 && l !== (l = /*vendorSortingBy*/
|
245
|
+
e[3] == /*sort*/
|
246
|
+
e[23] ? !0 : (
|
247
|
+
/*vendorSortingBy*/
|
248
|
+
e[3] == null && /*sort*/
|
249
|
+
e[23] == /*$_*/
|
250
|
+
e[4]("all")
|
251
|
+
)) && (a.checked = l);
|
252
|
+
},
|
253
|
+
d(m) {
|
254
|
+
m && R(t), u = !1, x();
|
255
|
+
}
|
256
|
+
};
|
257
|
+
}
|
258
|
+
function fe(e) {
|
259
|
+
let t;
|
260
|
+
function o(i, p) {
|
261
|
+
if (!/*isLoading*/
|
262
|
+
i[2]) return me;
|
263
|
+
}
|
264
|
+
let a = o(e), l = a && a(e);
|
265
|
+
return {
|
266
|
+
c() {
|
267
|
+
t = f("div"), l && l.c();
|
268
|
+
},
|
269
|
+
m(i, p) {
|
270
|
+
P(i, t, p), l && l.m(t, null), e[15](t);
|
271
|
+
},
|
272
|
+
p(i, [p]) {
|
273
|
+
a === (a = o(i)) && l ? l.p(i, p) : (l && l.d(1), l = a && a(i), l && (l.c(), l.m(t, null)));
|
274
|
+
},
|
275
|
+
i: U,
|
276
|
+
o: U,
|
277
|
+
d(i) {
|
278
|
+
i && R(t), l && l.d(), e[15](null);
|
279
|
+
}
|
280
|
+
};
|
281
|
+
}
|
282
|
+
function ye(e, t, o) {
|
283
|
+
let a;
|
284
|
+
se(e, ge, (n) => o(4, a = n));
|
285
|
+
let { lang: l = "" } = t, { translationurl: i = "" } = t, { clientstyling: p = "" } = t, { clientstylingurl: y = "" } = t, { categoryid: g = "" } = t, b, u = !1, x = !0, S = "", m = "All";
|
286
|
+
ue({ withLocale: "en", translations: {} });
|
287
|
+
const C = () => {
|
288
|
+
fetch(i).then((c) => c.json()).then((c) => {
|
289
|
+
Object.keys(c).forEach((v) => {
|
290
|
+
W(v, c[v]);
|
291
|
+
});
|
292
|
+
}).catch((c) => {
|
293
|
+
console.log(c);
|
294
|
+
});
|
295
|
+
};
|
296
|
+
Object.keys(X).forEach((n) => {
|
297
|
+
W(n, X[n]);
|
298
|
+
});
|
299
|
+
const A = {
|
300
|
+
All: a("all"),
|
301
|
+
name: a("az"),
|
302
|
+
isNew: a("newest"),
|
303
|
+
"advancedTags(name(hot))": a("hottest")
|
304
|
+
}, B = () => {
|
305
|
+
let n = document.createElement("style");
|
306
|
+
n.innerHTML = p, b.appendChild(n);
|
307
|
+
}, I = () => {
|
308
|
+
let n = document.createElement("style");
|
309
|
+
fetch(new URL(y)).then((c) => c.text()).then((c) => {
|
310
|
+
n.innerHTML = c, setTimeout(
|
311
|
+
() => {
|
312
|
+
b.appendChild(n);
|
313
|
+
},
|
314
|
+
1
|
315
|
+
);
|
316
|
+
});
|
317
|
+
}, L = () => {
|
318
|
+
var c;
|
319
|
+
o(3, m = "All"), o(2, x = !1), o(1, u = !1);
|
320
|
+
let n = (c = JSON.parse(localStorage.getItem("vendorSortingBy"))) == null ? void 0 : c[g];
|
321
|
+
n ? o(3, m = n) : o(3, m = "All"), o(3, m = A[n]);
|
322
|
+
}, T = (n) => {
|
323
|
+
o(3, m = n);
|
324
|
+
let c = localStorage.getItem("vendorSortingBy");
|
325
|
+
S = n;
|
326
|
+
for (let v in A)
|
327
|
+
if (A[v] === n) {
|
328
|
+
S = v;
|
329
|
+
break;
|
330
|
+
}
|
331
|
+
c == null ? localStorage.setItem("vendorSortingBy", JSON.stringify({ [g]: S })) : (c = JSON.parse(c), c[g] = S, localStorage.setItem("vendorSortingBy", JSON.stringify(c))), window.postMessage(
|
332
|
+
{
|
333
|
+
type: "ApplySorter",
|
334
|
+
sortBy: S,
|
335
|
+
itemId: g
|
336
|
+
},
|
337
|
+
window.location.href
|
338
|
+
), o(1, u = !u);
|
339
|
+
}, z = () => {
|
340
|
+
o(1, u = !u), window.postMessage({ type: "SortingOpened" }, window.location.href);
|
341
|
+
}, _ = (n) => {
|
342
|
+
n.data.type == "FilterOpened" && o(1, u = !1);
|
343
|
+
};
|
344
|
+
ie(() => (window.addEventListener("message", _, !1), () => {
|
345
|
+
window.removeEventListener("message", _);
|
346
|
+
}));
|
347
|
+
const F = () => z(), H = (n) => T(n);
|
348
|
+
function M(n) {
|
349
|
+
ce[n ? "unshift" : "push"](() => {
|
350
|
+
b = n, o(0, b);
|
351
|
+
});
|
352
|
+
}
|
353
|
+
return e.$$set = (n) => {
|
354
|
+
"lang" in n && o(8, l = n.lang), "translationurl" in n && o(9, i = n.translationurl), "clientstyling" in n && o(10, p = n.clientstyling), "clientstylingurl" in n && o(11, y = n.clientstylingurl), "categoryid" in n && o(12, g = n.categoryid);
|
355
|
+
}, e.$$.update = () => {
|
356
|
+
e.$$.dirty & /*categoryid*/
|
357
|
+
4096 && g && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
358
|
+
1025 && p && b && B(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
359
|
+
2049 && y && b && I(), e.$$.dirty & /*translationurl*/
|
360
|
+
512 && i && C();
|
361
|
+
}, [
|
362
|
+
b,
|
363
|
+
u,
|
364
|
+
x,
|
365
|
+
m,
|
366
|
+
a,
|
367
|
+
A,
|
368
|
+
T,
|
369
|
+
z,
|
370
|
+
l,
|
371
|
+
i,
|
372
|
+
p,
|
373
|
+
y,
|
374
|
+
g,
|
375
|
+
F,
|
376
|
+
H,
|
377
|
+
M
|
378
|
+
];
|
379
|
+
}
|
380
|
+
class we extends oe {
|
381
|
+
constructor(t) {
|
382
|
+
super(), ne(
|
383
|
+
this,
|
384
|
+
t,
|
385
|
+
ye,
|
386
|
+
fe,
|
387
|
+
ae,
|
388
|
+
{
|
389
|
+
lang: 8,
|
390
|
+
translationurl: 9,
|
391
|
+
clientstyling: 10,
|
392
|
+
clientstylingurl: 11,
|
393
|
+
categoryid: 12
|
394
|
+
},
|
395
|
+
he
|
396
|
+
);
|
397
|
+
}
|
398
|
+
get lang() {
|
399
|
+
return this.$$.ctx[8];
|
400
|
+
}
|
401
|
+
set lang(t) {
|
402
|
+
this.$$set({ lang: t }), D();
|
403
|
+
}
|
404
|
+
get translationurl() {
|
405
|
+
return this.$$.ctx[9];
|
406
|
+
}
|
407
|
+
set translationurl(t) {
|
408
|
+
this.$$set({ translationurl: t }), D();
|
409
|
+
}
|
410
|
+
get clientstyling() {
|
411
|
+
return this.$$.ctx[10];
|
412
|
+
}
|
413
|
+
set clientstyling(t) {
|
414
|
+
this.$$set({ clientstyling: t }), D();
|
415
|
+
}
|
416
|
+
get clientstylingurl() {
|
417
|
+
return this.$$.ctx[11];
|
418
|
+
}
|
419
|
+
set clientstylingurl(t) {
|
420
|
+
this.$$set({ clientstylingurl: t }), D();
|
421
|
+
}
|
422
|
+
get categoryid() {
|
423
|
+
return this.$$.ctx[12];
|
424
|
+
}
|
425
|
+
set categoryid(t) {
|
426
|
+
this.$$set({ categoryid: t }), D();
|
427
|
+
}
|
428
|
+
}
|
429
|
+
pe(we, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {} }, [], [], !0);
|
430
|
+
export {
|
431
|
+
we as default
|
432
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoMostPlayedSection-mYImyOBY.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",t.element)})}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
if (typeof window != "undefined") {
|
2
|
+
let n = function(t) {
|
3
|
+
return function(...s) {
|
4
|
+
try {
|
5
|
+
return t.apply(this, s);
|
6
|
+
} catch (e) {
|
7
|
+
if (e instanceof DOMException && e.message.includes("has already been used with this registry") || e.message.includes("Cannot define multiple custom elements with the same tag name"))
|
8
|
+
return !1;
|
9
|
+
throw e;
|
10
|
+
}
|
11
|
+
};
|
12
|
+
};
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoMostPlayedSection-7tzn4AXe.js").then(({ default: t }) => {
|
14
|
+
!customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", t.element);
|
15
|
+
});
|
16
|
+
}
|