@everymatrix/casino-most-played-section 1.43.4 → 1.45.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.
@@ -0,0 +1,425 @@
1
+ import { $ as q, G as te, a as re, S as le, i as se, f as D, c as oe, s as ne, b as ae, e as f, h as e, k as R, o as U, p as P, q as ie, r as me, y as ce, z as G, D as Z, d as F, t as K, l as a, u as ee, m as Q, A as ve, B as de } from "./CasinoFilter-BA6RsRdQ.js";
2
+ function pe({ withLocale: t, translations: r }) {
3
+ q.subscribe((l) => {
4
+ l == null && (te.set(r), q.set(t));
5
+ });
6
+ }
7
+ function W(t, r) {
8
+ re(t, r);
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
+ };
131
+ function ge(t) {
132
+ ae(t, "svelte-1rm2543", '.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543,.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543::before,.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{background-color:var(--emfe-w-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.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{border-radius:5px 5px 0 0}.SorterMainArea.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{display:flex;align-items:center}.SorterMainArea.svelte-1rm2543 svg.svelte-1rm2543.svelte-1rm2543{margin-right:16px}.SorterName.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{display:flex;flex-direction:column}.SorterValueContainer.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{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.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{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.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543::-webkit-scrollbar{display:none}.SorterItem.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{position:relative}.SorterItem.svelte-1rm2543 label.svelte-1rm2543.svelte-1rm2543{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.svelte-1rm2543 input.svelte-1rm2543.svelte-1rm2543{cursor:pointer;margin-right:10px}.SorterItem.svelte-1rm2543 .SortersCheckmark.svelte-1rm2543.svelte-1rm2543{margin:0 15px}.SorterItem.svelte-1rm2543 .CustomRadioButton input[type=radio].svelte-1rm2543.svelte-1rm2543{position:absolute;left:-9999px}.SorterItem.svelte-1rm2543 .CustomRadioButton input[type=radio].svelte-1rm2543+span.svelte-1rm2543{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem.svelte-1rm2543 .CustomRadioButton input[type=radio].svelte-1rm2543+span.svelte-1rm2543:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem.svelte-1rm2543 .CustomRadioButton input[type=radio].svelte-1rm2543+span.svelte-1rm2543:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-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.svelte-1rm2543 .CustomRadioButton input[type=radio].svelte-1rm2543:checked+span.svelte-1rm2543:after{opacity:1;transform:scale(1)}.SorterLabel.svelte-1rm2543 input.svelte-1rm2543.svelte-1rm2543{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel.svelte-1rm2543 input.svelte-1rm2543:checked+span.svelte-1rm2543{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{max-width:initial;padding:7px 16px}.SorterDropdownContainer.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{width:100%;margin-bottom:20px}.SorterDropdown.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown.svelte-1rm2543 .SorterLabel.svelte-1rm2543.svelte-1rm2543{line-height:24px}.SorterDropdown.svelte-1rm2543 .SorterLabel.svelte-1rm2543>.svelte-1rm2543{pointer-events:none}}');
133
+ }
134
+ function Y(t, r, l) {
135
+ const o = t.slice();
136
+ return o[23] = r[l], o;
137
+ }
138
+ function ue(t) {
139
+ let r, l, o, n, i, c, u, d, w, p, A, S = (
140
+ /*$_*/
141
+ t[4]("sortby") + ""
142
+ ), h, z, x, I, M = (
143
+ /*vendorSortingBy*/
144
+ (t[3] || /*$_*/
145
+ t[4]("all")) + ""
146
+ ), L, T, N, b, k, O, B, s, m, _, j, E, V, H = G(Object.values(
147
+ /*vendorMap*/
148
+ t[5]
149
+ )), y = [];
150
+ for (let v = 0; v < H.length; v += 1)
151
+ y[v] = $(Y(t, H, v));
152
+ return {
153
+ c() {
154
+ r = f("div"), l = f("div"), o = f("div"), n = Z("svg"), i = Z("g"), c = Z("path"), u = Z("path"), d = Z("path"), w = F(), p = f("div"), A = f("span"), h = K(S), z = F(), x = f("div"), I = f("span"), L = K(M), T = F(), N = f("span"), b = Z("svg"), k = Z("path"), s = F(), m = f("div"), _ = f("ul");
155
+ for (let v = 0; v < y.length; v += 1)
156
+ y[v].c();
157
+ e(c, "id", "Path_5267"), e(c, "data-name", "Path 5267"), e(c, "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"), e(c, "transform", "translate(-206.448 0)"), e(c, "fill", "#fff"), e(c, "class", "svelte-1rm2543"), e(u, "id", "Path_5268"), e(u, "data-name", "Path 5268"), e(u, "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"), e(u, "transform", "translate(0 0)"), e(u, "fill", "#fff"), e(u, "class", "svelte-1rm2543"), e(d, "id", "Path_5269"), e(d, "data-name", "Path 5269"), e(d, "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"), e(d, "transform", "translate(-412.896 0)"), e(d, "fill", "#fff"), e(d, "class", "svelte-1rm2543"), e(i, "id", "sortby"), e(i, "transform", "translate(-306 -342)"), e(i, "class", "svelte-1rm2543"), e(n, "xmlns", "http://www.w3.org/2000/svg"), e(n, "width", "20"), e(n, "height", "20"), e(n, "viewBox", "0 0 26.003 22.819"), e(n, "class", "svelte-1rm2543"), e(A, "class", "SorterName svelte-1rm2543"), e(I, "class", "svelte-1rm2543"), e(x, "class", "SorterValueContainer svelte-1rm2543"), e(p, "class", "SorterTextContainer svelte-1rm2543"), e(o, "class", "SorterMainArea svelte-1rm2543"), e(k, "id", "arrow"), e(k, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), e(k, "transform", "translate(-274.511 -441.088)"), e(k, "fill", "#d1d1d1"), e(k, "class", "svelte-1rm2543"), e(b, "xmlns", "http://www.w3.org/2000/svg"), e(b, "width", "14"), e(b, "height", "6.835"), e(b, "viewBox", "0 0 14 6.835"), e(b, "class", "svelte-1rm2543"), e(N, "class", O = "TriangleInactive " + /*isSorterActive*/
158
+ (t[1] ? "TriangleActive" : "") + " svelte-1rm2543"), e(l, "class", B = "SorterSelector " + /*isSorterActive*/
159
+ (t[1] ? "SorterSelectorOpen" : "") + " svelte-1rm2543"), e(_, "class", "SorterDropdown svelte-1rm2543"), e(m, "class", j = "SorterDropdownContainer " + /*isSorterActive*/
160
+ (t[1] ? "SorterOpen" : "") + " svelte-1rm2543"), e(r, "class", "SorterContainer svelte-1rm2543");
161
+ },
162
+ m(v, C) {
163
+ R(v, r, C), a(r, l), a(l, o), a(o, n), a(n, i), a(i, c), a(i, u), a(i, d), a(o, w), a(o, p), a(p, A), a(A, h), a(p, z), a(p, x), a(x, I), a(I, L), a(l, T), a(l, N), a(N, b), a(b, k), a(r, s), a(r, m), a(m, _);
164
+ for (let g = 0; g < y.length; g += 1)
165
+ y[g] && y[g].m(_, null);
166
+ E || (V = ee(
167
+ l,
168
+ "click",
169
+ /*click_handler*/
170
+ t[13]
171
+ ), E = !0);
172
+ },
173
+ p(v, C) {
174
+ if (C & /*$_*/
175
+ 16 && S !== (S = /*$_*/
176
+ v[4]("sortby") + "") && Q(h, S), C & /*vendorSortingBy, $_*/
177
+ 24 && M !== (M = /*vendorSortingBy*/
178
+ (v[3] || /*$_*/
179
+ v[4]("all")) + "") && Q(L, M), C & /*isSorterActive*/
180
+ 2 && O !== (O = "TriangleInactive " + /*isSorterActive*/
181
+ (v[1] ? "TriangleActive" : "") + " svelte-1rm2543") && e(N, "class", O), C & /*isSorterActive*/
182
+ 2 && B !== (B = "SorterSelector " + /*isSorterActive*/
183
+ (v[1] ? "SorterSelectorOpen" : "") + " svelte-1rm2543") && e(l, "class", B), C & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
184
+ 120) {
185
+ H = G(Object.values(
186
+ /*vendorMap*/
187
+ v[5]
188
+ ));
189
+ let g;
190
+ for (g = 0; g < H.length; g += 1) {
191
+ const J = Y(v, H, g);
192
+ y[g] ? y[g].p(J, C) : (y[g] = $(J), y[g].c(), y[g].m(_, null));
193
+ }
194
+ for (; g < y.length; g += 1)
195
+ y[g].d(1);
196
+ y.length = H.length;
197
+ }
198
+ C & /*isSorterActive*/
199
+ 2 && j !== (j = "SorterDropdownContainer " + /*isSorterActive*/
200
+ (v[1] ? "SorterOpen" : "") + " svelte-1rm2543") && e(m, "class", j);
201
+ },
202
+ d(v) {
203
+ v && P(r), ve(y, v), E = !1, V();
204
+ }
205
+ };
206
+ }
207
+ function $(t) {
208
+ let r, l, o, n, i, c, u, d, w, p, A;
209
+ function S() {
210
+ return (
211
+ /*click_handler_1*/
212
+ t[14](
213
+ /*sort*/
214
+ t[23]
215
+ )
216
+ );
217
+ }
218
+ return {
219
+ c() {
220
+ r = f("li"), l = f("label"), o = f("input"), i = F(), c = f("span"), u = F(), d = f("span"), d.textContent = `${/*sort*/
221
+ t[23]}`, w = F(), e(o, "type", "radio"), e(o, "name", "radio"), o.value = /*sort*/
222
+ t[23], o.checked = n = /*vendorSortingBy*/
223
+ t[3] == /*sort*/
224
+ t[23] ? !0 : (
225
+ /*vendorSortingBy*/
226
+ t[3] == null && /*sort*/
227
+ t[23] == /*$_*/
228
+ t[4]("all")
229
+ ), e(o, "class", "svelte-1rm2543"), e(c, "class", "SortersCheckmark svelte-1rm2543"), e(d, "class", "svelte-1rm2543"), e(l, "class", "SorterLabel CustomRadioButton svelte-1rm2543"), e(r, "class", "SorterItem svelte-1rm2543"), r.value = /*sort*/
230
+ t[23];
231
+ },
232
+ m(h, z) {
233
+ R(h, r, z), a(r, l), a(l, o), a(l, i), a(l, c), a(l, u), a(l, d), a(r, w), p || (A = ee(o, "click", S), p = !0);
234
+ },
235
+ p(h, z) {
236
+ t = h, z & /*vendorSortingBy, $_*/
237
+ 24 && n !== (n = /*vendorSortingBy*/
238
+ t[3] == /*sort*/
239
+ t[23] ? !0 : (
240
+ /*vendorSortingBy*/
241
+ t[3] == null && /*sort*/
242
+ t[23] == /*$_*/
243
+ t[4]("all")
244
+ )) && (o.checked = n);
245
+ },
246
+ d(h) {
247
+ h && P(r), p = !1, A();
248
+ }
249
+ };
250
+ }
251
+ function he(t) {
252
+ let r;
253
+ function l(i, c) {
254
+ if (!/*isLoading*/
255
+ i[2]) return ue;
256
+ }
257
+ let o = l(t), n = o && o(t);
258
+ return {
259
+ c() {
260
+ r = f("div"), n && n.c(), e(r, "class", "svelte-1rm2543");
261
+ },
262
+ m(i, c) {
263
+ R(i, r, c), n && n.m(r, null), t[15](r);
264
+ },
265
+ p(i, [c]) {
266
+ o === (o = l(i)) && n ? n.p(i, c) : (n && n.d(1), n = o && o(i), n && (n.c(), n.m(r, null)));
267
+ },
268
+ i: U,
269
+ o: U,
270
+ d(i) {
271
+ i && P(r), n && n.d(), t[15](null);
272
+ }
273
+ };
274
+ }
275
+ function fe(t, r, l) {
276
+ let o;
277
+ ie(t, de, (s) => l(4, o = s));
278
+ let { lang: n = "" } = r, { translationurl: i = "" } = r, { clientstyling: c = "" } = r, { clientstylingurl: u = "" } = r, { categoryid: d = "" } = r, w, p = !1, A = !0, S = "", h = "All";
279
+ pe({ withLocale: "en", translations: {} });
280
+ const z = () => {
281
+ fetch(i).then((m) => m.json()).then((m) => {
282
+ Object.keys(m).forEach((_) => {
283
+ W(_, m[_]);
284
+ });
285
+ }).catch((m) => {
286
+ console.log(m);
287
+ });
288
+ };
289
+ Object.keys(X).forEach((s) => {
290
+ W(s, X[s]);
291
+ });
292
+ const x = {
293
+ All: o("all"),
294
+ name: o("az"),
295
+ isNew: o("newest"),
296
+ "advancedTags(name(hot))": o("hottest")
297
+ }, I = () => {
298
+ let s = document.createElement("style");
299
+ s.innerHTML = c, w.appendChild(s);
300
+ }, M = () => {
301
+ let s = document.createElement("style");
302
+ fetch(new URL(u)).then((m) => m.text()).then((m) => {
303
+ s.innerHTML = m, setTimeout(
304
+ () => {
305
+ w.appendChild(s);
306
+ },
307
+ 1
308
+ );
309
+ });
310
+ }, L = () => {
311
+ var m;
312
+ l(3, h = "All"), l(2, A = !1), l(1, p = !1);
313
+ let s = (m = JSON.parse(localStorage.getItem("vendorSortingBy"))) == null ? void 0 : m[d];
314
+ s ? l(3, h = s) : l(3, h = "All"), l(3, h = x[s]);
315
+ }, T = (s) => {
316
+ l(3, h = s);
317
+ let m = localStorage.getItem("vendorSortingBy");
318
+ S = s;
319
+ for (let _ in x)
320
+ if (x[_] === s) {
321
+ S = _;
322
+ break;
323
+ }
324
+ m == null ? localStorage.setItem("vendorSortingBy", JSON.stringify({ [d]: S })) : (m = JSON.parse(m), m[d] = S, localStorage.setItem("vendorSortingBy", JSON.stringify(m))), window.postMessage(
325
+ {
326
+ type: "ApplySorter",
327
+ sortBy: S,
328
+ itemId: d
329
+ },
330
+ window.location.href
331
+ ), l(1, p = !p);
332
+ }, N = () => {
333
+ l(1, p = !p), window.postMessage({ type: "SortingOpened" }, window.location.href);
334
+ }, b = (s) => {
335
+ s.data.type == "FilterOpened" && l(1, p = !1);
336
+ };
337
+ me(() => (window.addEventListener("message", b, !1), () => {
338
+ window.removeEventListener("message", b);
339
+ }));
340
+ const k = () => N(), O = (s) => T(s);
341
+ function B(s) {
342
+ ce[s ? "unshift" : "push"](() => {
343
+ w = s, l(0, w);
344
+ });
345
+ }
346
+ return t.$$set = (s) => {
347
+ "lang" in s && l(8, n = s.lang), "translationurl" in s && l(9, i = s.translationurl), "clientstyling" in s && l(10, c = s.clientstyling), "clientstylingurl" in s && l(11, u = s.clientstylingurl), "categoryid" in s && l(12, d = s.categoryid);
348
+ }, t.$$.update = () => {
349
+ t.$$.dirty & /*categoryid*/
350
+ 4096 && d && L(), t.$$.dirty & /*clientstyling, customStylingContainer*/
351
+ 1025 && c && w && I(), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
352
+ 2049 && u && w && M(), t.$$.dirty & /*translationurl*/
353
+ 512 && i && z();
354
+ }, [
355
+ w,
356
+ p,
357
+ A,
358
+ h,
359
+ o,
360
+ x,
361
+ T,
362
+ N,
363
+ n,
364
+ i,
365
+ c,
366
+ u,
367
+ d,
368
+ k,
369
+ O,
370
+ B
371
+ ];
372
+ }
373
+ class ye extends le {
374
+ constructor(r) {
375
+ super(), se(
376
+ this,
377
+ r,
378
+ fe,
379
+ he,
380
+ ne,
381
+ {
382
+ lang: 8,
383
+ translationurl: 9,
384
+ clientstyling: 10,
385
+ clientstylingurl: 11,
386
+ categoryid: 12
387
+ },
388
+ ge
389
+ );
390
+ }
391
+ get lang() {
392
+ return this.$$.ctx[8];
393
+ }
394
+ set lang(r) {
395
+ this.$$set({ lang: r }), D();
396
+ }
397
+ get translationurl() {
398
+ return this.$$.ctx[9];
399
+ }
400
+ set translationurl(r) {
401
+ this.$$set({ translationurl: r }), D();
402
+ }
403
+ get clientstyling() {
404
+ return this.$$.ctx[10];
405
+ }
406
+ set clientstyling(r) {
407
+ this.$$set({ clientstyling: r }), D();
408
+ }
409
+ get clientstylingurl() {
410
+ return this.$$.ctx[11];
411
+ }
412
+ set clientstylingurl(r) {
413
+ this.$$set({ clientstylingurl: r }), D();
414
+ }
415
+ get categoryid() {
416
+ return this.$$.ctx[12];
417
+ }
418
+ set categoryid(r) {
419
+ this.$$set({ categoryid: r }), D();
420
+ }
421
+ }
422
+ oe(ye, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {} }, [], [], !0);
423
+ export {
424
+ ye as default
425
+ };
@@ -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-Dh2nzc19.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-DItMviDj.js").then(({ default: t }) => {
14
+ !customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", t.element);
15
+ });
16
+ }
package/package.json CHANGED
@@ -1,39 +1,24 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-most-played-section",
3
- "version": "1.43.4",
4
- "main": "index.js",
5
- "svelte": "src/index.ts",
6
- "scripts": {
7
- "start": "sirv public",
8
- "build": "cross-env NODE_ENV=production rollup -c",
9
- "dev": "cross-env NODE_ENV=\"development\" rollup -c -w",
10
- "validate": "svelte-check",
11
- "test": "echo"
12
- },
13
- "devDependencies": {
14
- "@rollup/plugin-babel": "^5.3.0",
15
- "@rollup/plugin-commonjs": "^16.0.0",
16
- "@rollup/plugin-node-resolve": "^10.0.0",
17
- "@rollup/plugin-typescript": "^6.0.0",
18
- "@tsconfig/svelte": "^1.0.0",
19
- "rollup": "^2.3.4",
20
- "rollup-plugin-dev-server": "^0.4.3",
21
- "rollup-plugin-livereload": "^2.0.0",
22
- "rollup-plugin-svelte": "^7.0.0",
23
- "rollup-plugin-terser": "^7.0.0",
24
- "rollup-plugin-uglify": "^6.0.4",
25
- "svelte-check": "^1.0.0",
26
- "svelte-preprocess": "^5.0.0",
27
- "tslib": "^2.0.0",
28
- "typescript": "^3.9.3"
29
- },
30
- "dependencies": {
31
- "cross-env": "^7.0.3",
32
- "sirv-cli": "^1.0.0",
33
- "svelte": "^3.0.0"
3
+ "version": "1.45.0",
4
+ "type": "module",
5
+ "main": "es2015/casino-most-played-section.cjs",
6
+ "module": "es2015/casino-most-played-section.js",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./es2015/casino-most-played-section.js",
10
+ "require": "./es2015/casino-most-played-section.cjs"
11
+ },
12
+ "./es2015/casino-most-played-section.cjs": "./es2015/casino-most-played-section.cjs"
34
13
  },
14
+ "files": [
15
+ "es2015/",
16
+ "components"
17
+ ],
35
18
  "publishConfig": {
36
19
  "access": "public"
37
20
  },
38
- "gitHead": "8464c47cb49b4ffa1c9debfac3a7dfc3097cf57a"
21
+ "dependencies": {
22
+ "@everymatrix/casino-games-category-section": "1.0.72"
23
+ }
39
24
  }
package/CHANGELOG.md DELETED
@@ -1,7 +0,0 @@
1
-
2
- ## casino-most-played-section widget changelogs
3
-
4
- | Version | Release date | Impacted areas | Changes |
5
- | ------- | ------------ | ----------------------------- | --------------------------------------- |
6
- | 1.37.2 | Mon Aug 12 2024 | casino-most-played-section | fix(EMFE-31127)(casino-games-category-section-nd,casino-lobby,casino-page,casino-game-page,casino-favorite-section,casino-most-played-section,casino-last-played-section): i wanna die so hard <br /> fix(EMFE-31127)(casino-games-category-section-nd,casino-favorites-section,casino-last-played-section,casino-most-played-section,casino-page): Fix the play button by adding new variables |
7
- | 1.34.1 | Tue Jun 25 2024 | casino-most-played-section | fix(EMFE-31127)(casino-games-category-section-nd,casino-lobby,casino-page,casino-game-page,casino-favorite-section,casino-most-played-section,casino-last-played-section): i wanna die so hard |
package/README.md DELETED
@@ -1,30 +0,0 @@
1
- # @everymatrix/casino-most-played-section
2
- ---------
3
-
4
- ## First step
5
- ---------
6
- ```
7
- lerna bootstrap
8
- ```
9
-
10
- ## Run Widget
11
- ---------
12
- - starts server at port 5050
13
- - has livereload
14
-
15
- ```
16
- yarn run dev
17
- ```
18
-
19
- ## Build Widget
20
- ---------
21
- ```
22
- yarn run build
23
- ```
24
-
25
- ## Publishing widget
26
- ---------
27
- - Note add your user to the npm
28
- ```
29
- lerna publish
30
- ```