@everymatrix/casino-lobby 1.94.4 → 1.94.6
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-2e40gqN6.js → CasinoCalendar-Dq8GeDT3.js} +35 -35
- package/components/{CasinoCalendar-0WQcNlPu.js → CasinoCalendar-nnqgS7yF.js} +35 -35
- package/components/{CasinoCalendarDailyDetails-CPThT5dV.js → CasinoCalendarDailyDetails-CcbHnuzk.js} +34 -34
- package/components/{CasinoCalendarDailyDetails-BkC-bwwX.js → CasinoCalendarDailyDetails-PUohXMWV.js} +21 -21
- package/components/{CasinoCalendarDailyItem-DUtnEZXx.js → CasinoCalendarDailyItem-Br4Na8hg.js} +36 -36
- package/components/{CasinoCalendarDailyItem-QE8Ilmi3.js → CasinoCalendarDailyItem-CM075pBy.js} +36 -36
- package/components/{CasinoCategoriesSlider-DBTdytsO.js → CasinoCategoriesSlider-B6qxUC_d.js} +19 -19
- package/components/{CasinoCategoriesSlider-D96GYbRZ.js → CasinoCategoriesSlider-CpvsAYp0.js} +19 -19
- package/components/{CasinoCollectionsProviders-BbYa9ATX.js → CasinoCollectionsProviders-B-oWBBEp.js} +65 -65
- package/components/{CasinoCollectionsProviders-wJti6Ihy.js → CasinoCollectionsProviders-DT4NGWZa.js} +76 -76
- package/components/{CasinoFavoritesSection-BQTzQgxZ.js → CasinoFavoritesSection-C1laR0Y0.js} +34 -34
- package/components/{CasinoFavoritesSection-Bxs2CDrn.js → CasinoFavoritesSection-D9xwNuGW.js} +34 -34
- package/components/{CasinoFilter-BwUoi6rw.js → CasinoFilter--seLx4j4.js} +79 -79
- package/components/{CasinoFilter-BjKZK5Wn.js → CasinoFilter-DsorOmw7.js} +80 -80
- package/components/{CasinoGameThumbnail-CQvuKM6C.js → CasinoGameThumbnail-CLY8d-wT.js} +41 -41
- package/components/{CasinoGameThumbnail-Cc6fWR64.js → CasinoGameThumbnail-D15QaGSx.js} +41 -41
- package/components/{CasinoGamesCategorySection-Cw7FhP3L.js → CasinoGamesCategorySection-Bc-TGP-C.js} +4 -4
- package/components/{CasinoGamesCategorySection-CmunfXjd.js → CasinoGamesCategorySection-Cyg1hXpM.js} +4 -4
- package/components/{CasinoJackpotBanner-BQg0NyaX.js → CasinoJackpotBanner-CEhtr5Jk.js} +79 -79
- package/components/{CasinoJackpotBanner-CmcRZU07.js → CasinoJackpotBanner-CpR1Tr0J.js} +90 -90
- package/components/{CasinoLastPlayedSection-BgS67YFx.js → CasinoLastPlayedSection-DgvFqMuo.js} +41 -41
- package/components/{CasinoLastPlayedSection-DykvxRkq.js → CasinoLastPlayedSection-Gu09NIfv.js} +41 -41
- package/components/{CasinoLobby-BcfCUTmL.js → CasinoLobby-C0W1HXMj.js} +59 -59
- package/components/{CasinoLobby-Bsi_ZpY-.js → CasinoLobby-DpNvhztj.js} +59 -59
- package/components/{CasinoMostPlayedSection-CMFG_CJF.js → CasinoMostPlayedSection-CIrP8duG.js} +41 -41
- package/components/{CasinoMostPlayedSection-Dic6FZGg.js → CasinoMostPlayedSection-Tavje1Zx.js} +41 -41
- package/components/{CasinoMyGames-BkOcZsoN.js → CasinoMyGames-CtAxBsji.js} +25 -25
- package/components/{CasinoMyGames-YjOetSzR.js → CasinoMyGames-DkyxdH1N.js} +23 -23
- package/components/{CasinoPage-C7wVdXyK.js → CasinoPage-BKogr3Kw.js} +10 -10
- package/components/{CasinoPage-CeElAVVB.js → CasinoPage-DKZ3wE5j.js} +10 -10
- package/components/{CasinoRandomGame-kmqPDltu.js → CasinoRandomGame-BCdkhqXD.js} +80 -80
- package/components/{CasinoRandomGame-CBx1201E.js → CasinoRandomGame-Cd43DWIN.js} +80 -80
- package/components/{CasinoSearch-D0VJW-GG.js → CasinoSearch-BkWCLrAq.js} +45 -45
- package/components/{CasinoSearch-BKqS_njR.js → CasinoSearch-BsALFsNc.js} +45 -45
- package/components/{CasinoSlider-B3SVbfAB.js → CasinoSlider-CHPzwNhK.js} +70 -70
- package/components/{CasinoSlider-T9wCjMza.js → CasinoSlider-D7RGJbih.js} +74 -74
- package/components/{CasinoSort-LF6JbtsT.js → CasinoSort-Bg8HuV-6.js} +58 -58
- package/components/{CasinoSort-CY4FAlC3.js → CasinoSort-BwbFYjuJ.js} +36 -36
- package/components/{CasinoWinners-Ct2FIrLZ.js → CasinoWinners-CGCwCjAA.js} +111 -111
- package/components/{CasinoWinners-CmLnQCX9.js → CasinoWinners-Qp1azoxw.js} +116 -116
- package/components/{GeneralAnimationLoading-C89lTo-I.js → GeneralAnimationLoading-CvbIKLn5.js} +5 -5
- package/components/{GeneralAnimationLoading-CWhghzFD.js → GeneralAnimationLoading-DFGoITb0.js} +9 -9
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as re, $ as pe, d as me, S as he, y as Fe, M as be, t as I, f as ye, E as ie, p as j, z as V, q as g, k as ve, G as we, u as _e, h as ke, g as n, s as ae, o as Ce, L as ue, R as Z, e as o, D as te, Y as ee, V as O, Z as B, T as ne, W as oe, N as xe, O as Se, P as Le, l as Ie, a as Pe } from "./CasinoLobby-C0W1HXMj.js";
|
|
2
2
|
function Ae({ withLocale: r, translations: e }) {
|
|
3
3
|
re.subscribe((l) => {
|
|
4
4
|
l == null && (pe.set(e), re.set(r));
|
|
@@ -117,56 +117,56 @@ const ce = {
|
|
|
117
117
|
clear: "Clear all"
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
|
-
function
|
|
120
|
+
function Oe(r) {
|
|
121
121
|
ye(r, "svelte-14m0j7n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{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;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{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}.FilterDropdownContainer{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:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters: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){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
|
|
122
122
|
}
|
|
123
123
|
function de(r, e, l) {
|
|
124
124
|
const i = r.slice();
|
|
125
125
|
return i[37] = e[l], i[38] = e, i[39] = l, i;
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function Ee(r) {
|
|
128
128
|
let e, l, i, a, s, m, v, w, b = (
|
|
129
129
|
/*$_*/
|
|
130
130
|
r[11]("filterby") + ""
|
|
131
|
-
), u, C, y,
|
|
131
|
+
), u, C, y, E, P = (
|
|
132
132
|
/*$_*/
|
|
133
133
|
r[11]("providers") + ""
|
|
134
|
-
), S, x, F, p, c, A, M, W,
|
|
134
|
+
), S, x, F, p, c, A, M, W, q, _, N, D, T, H = (
|
|
135
135
|
/*$_*/
|
|
136
136
|
r[11]("clear") + ""
|
|
137
|
-
),
|
|
137
|
+
), G, J, R, U, K, Q;
|
|
138
138
|
function X(t, d) {
|
|
139
139
|
return (
|
|
140
140
|
/*fullSelection*/
|
|
141
141
|
t[7] ? Me : Be
|
|
142
142
|
);
|
|
143
143
|
}
|
|
144
|
-
let Y = X(r),
|
|
144
|
+
let Y = X(r), L = Y(r), z = ae(
|
|
145
145
|
/*vendorArray*/
|
|
146
146
|
r[5]
|
|
147
147
|
), k = [];
|
|
148
|
-
for (let t = 0; t <
|
|
149
|
-
k[t] = fe(de(r,
|
|
148
|
+
for (let t = 0; t < z.length; t += 1)
|
|
149
|
+
k[t] = fe(de(r, z, t));
|
|
150
150
|
return {
|
|
151
151
|
c() {
|
|
152
|
-
e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m =
|
|
152
|
+
e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = O(), v = g("div"), w = g("span"), u = B(b), C = O(), y = g("div"), E = g("span"), S = B(P), x = O(), L.c(), F = O(), p = g("span"), c = ee("svg"), A = ee("path"), q = O(), _ = g("div"), N = g("ul");
|
|
153
153
|
for (let t = 0; t < k.length; t += 1)
|
|
154
154
|
k[t].c();
|
|
155
|
-
|
|
155
|
+
D = O(), T = g("button"), G = B(H), n(s, "id", "noun_filter_736223"), n(s, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), n(s, "transform", "translate(-5 -6.2)"), n(s, "fill", "#fff"), n(a, "xmlns", "http://www.w3.org/2000/svg"), n(a, "width", "16"), n(a, "height", "16"), n(a, "viewBox", "0 0 16 16"), n(w, "class", "FilterName"), n(y, "class", "FilterValueContainer"), n(v, "class", "FilterTextContainer"), n(i, "class", "FilterMainArea"), n(A, "id", "arrow"), n(A, "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"), n(A, "transform", "translate(-274.511 -441.088)"), n(A, "fill", "#d1d1d1"), n(c, "xmlns", "http://www.w3.org/2000/svg"), n(c, "width", "14"), n(c, "height", "6.835"), n(c, "viewBox", "0 0 14 6.835"), n(p, "class", M = "TriangleInactive " + /*isFilterActive*/
|
|
156
156
|
(r[4] ? "TriangleActive" : "")), n(l, "class", W = "FilterSelector " + /*isFilterActive*/
|
|
157
157
|
(r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(T, "class", "ClearFilters"), T.disabled = J = /*fullSelection*/
|
|
158
158
|
r[7] && /*selectedVendorArray*/
|
|
159
159
|
r[6].length != /*vendorArray*/
|
|
160
|
-
r[5].length, n(_, "class",
|
|
160
|
+
r[5].length, n(_, "class", R = "FilterDropdownContainer " + /*isFilterActive*/
|
|
161
161
|
(r[4] ? "FilterOpen" : "")), n(e, "class", U = "FilterContainer " + /*addfilterselector*/
|
|
162
162
|
(r[0] == "true" && /*addsortingselector*/
|
|
163
163
|
r[1] == "true" ? "FilerContainerSplit" : ""));
|
|
164
164
|
},
|
|
165
165
|
m(t, d) {
|
|
166
|
-
V(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, u), o(v, C), o(v, y), o(y,
|
|
166
|
+
V(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, u), o(v, C), o(v, y), o(y, E), o(E, S), o(y, x), L.m(y, null), o(l, F), o(l, p), o(p, c), o(c, A), o(e, q), o(e, _), o(_, N);
|
|
167
167
|
for (let f = 0; f < k.length; f += 1)
|
|
168
168
|
k[f] && k[f].m(N, null);
|
|
169
|
-
o(_,
|
|
169
|
+
o(_, D), o(_, T), o(T, G), K || (Q = [
|
|
170
170
|
te(
|
|
171
171
|
l,
|
|
172
172
|
"click",
|
|
@@ -179,47 +179,47 @@ function Oe(r) {
|
|
|
179
179
|
/*click_handler_2*/
|
|
180
180
|
r[28]
|
|
181
181
|
)
|
|
182
|
-
],
|
|
182
|
+
], K = !0);
|
|
183
183
|
},
|
|
184
184
|
p(t, d) {
|
|
185
185
|
if (d[0] & /*$_*/
|
|
186
186
|
2048 && b !== (b = /*$_*/
|
|
187
|
-
t[11]("filterby") + "") &&
|
|
187
|
+
t[11]("filterby") + "") && Z(u, b), d[0] & /*$_*/
|
|
188
188
|
2048 && P !== (P = /*$_*/
|
|
189
|
-
t[11]("providers") + "") &&
|
|
189
|
+
t[11]("providers") + "") && Z(S, P), Y === (Y = X(t)) && L ? L.p(t, d) : (L.d(1), L = Y(t), L && (L.c(), L.m(y, null))), d[0] & /*isFilterActive*/
|
|
190
190
|
16 && M !== (M = "TriangleInactive " + /*isFilterActive*/
|
|
191
191
|
(t[4] ? "TriangleActive" : "")) && n(p, "class", M), d[0] & /*isFilterActive*/
|
|
192
192
|
16 && W !== (W = "FilterSelector " + /*isFilterActive*/
|
|
193
193
|
(t[4] ? "FilterSelectorOpen" : "")) && n(l, "class", W), d[0] & /*filterbylogo, vendorArray, filterByVendors*/
|
|
194
194
|
8228) {
|
|
195
|
-
|
|
195
|
+
z = ae(
|
|
196
196
|
/*vendorArray*/
|
|
197
197
|
t[5]
|
|
198
198
|
);
|
|
199
199
|
let f;
|
|
200
|
-
for (f = 0; f <
|
|
201
|
-
const h = de(t,
|
|
200
|
+
for (f = 0; f < z.length; f += 1) {
|
|
201
|
+
const h = de(t, z, f);
|
|
202
202
|
k[f] ? k[f].p(h, d) : (k[f] = fe(h), k[f].c(), k[f].m(N, null));
|
|
203
203
|
}
|
|
204
204
|
for (; f < k.length; f += 1)
|
|
205
205
|
k[f].d(1);
|
|
206
|
-
k.length =
|
|
206
|
+
k.length = z.length;
|
|
207
207
|
}
|
|
208
208
|
d[0] & /*$_*/
|
|
209
209
|
2048 && H !== (H = /*$_*/
|
|
210
|
-
t[11]("clear") + "") &&
|
|
210
|
+
t[11]("clear") + "") && Z(G, H), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
|
|
211
211
|
224 && J !== (J = /*fullSelection*/
|
|
212
212
|
t[7] && /*selectedVendorArray*/
|
|
213
213
|
t[6].length != /*vendorArray*/
|
|
214
214
|
t[5].length) && (T.disabled = J), d[0] & /*isFilterActive*/
|
|
215
|
-
16 &&
|
|
216
|
-
(t[4] ? "FilterOpen" : "")) && n(_, "class",
|
|
215
|
+
16 && R !== (R = "FilterDropdownContainer " + /*isFilterActive*/
|
|
216
|
+
(t[4] ? "FilterOpen" : "")) && n(_, "class", R), d[0] & /*addfilterselector, addsortingselector*/
|
|
217
217
|
3 && U !== (U = "FilterContainer " + /*addfilterselector*/
|
|
218
218
|
(t[0] == "true" && /*addsortingselector*/
|
|
219
219
|
t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", U);
|
|
220
220
|
},
|
|
221
221
|
d(t) {
|
|
222
|
-
t &&
|
|
222
|
+
t && j(e), L.d(), Ce(k, t), K = !1, ue(Q);
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
225
|
}
|
|
@@ -241,7 +241,7 @@ function Te(r) {
|
|
|
241
241
|
i[11]("500") + "") && (e.innerHTML = l);
|
|
242
242
|
},
|
|
243
243
|
d(i) {
|
|
244
|
-
i &&
|
|
244
|
+
i && j(e);
|
|
245
245
|
}
|
|
246
246
|
};
|
|
247
247
|
}
|
|
@@ -259,14 +259,14 @@ function Be(r) {
|
|
|
259
259
|
},
|
|
260
260
|
p(i, a) {
|
|
261
261
|
a[0] & /*selectionNumber*/
|
|
262
|
-
256 &&
|
|
262
|
+
256 && Z(
|
|
263
263
|
l,
|
|
264
264
|
/*selectionNumber*/
|
|
265
265
|
i[8]
|
|
266
266
|
);
|
|
267
267
|
},
|
|
268
268
|
d(i) {
|
|
269
|
-
i &&
|
|
269
|
+
i && j(e);
|
|
270
270
|
}
|
|
271
271
|
};
|
|
272
272
|
}
|
|
@@ -285,10 +285,10 @@ function Me(r) {
|
|
|
285
285
|
p(a, s) {
|
|
286
286
|
s[0] & /*$_*/
|
|
287
287
|
2048 && l !== (l = /*$_*/
|
|
288
|
-
a[11]("all") + "") &&
|
|
288
|
+
a[11]("all") + "") && Z(i, l);
|
|
289
289
|
},
|
|
290
290
|
d(a) {
|
|
291
|
-
a &&
|
|
291
|
+
a && j(e);
|
|
292
292
|
}
|
|
293
293
|
};
|
|
294
294
|
}
|
|
@@ -308,11 +308,11 @@ function Ne(r) {
|
|
|
308
308
|
i[37].logo) && n(e, "src", l);
|
|
309
309
|
},
|
|
310
310
|
d(i) {
|
|
311
|
-
i &&
|
|
311
|
+
i && j(e);
|
|
312
312
|
}
|
|
313
313
|
};
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function De(r) {
|
|
316
316
|
let e, l, i = (
|
|
317
317
|
/*vendor*/
|
|
318
318
|
r[37].name + ""
|
|
@@ -322,7 +322,7 @@ function je(r) {
|
|
|
322
322
|
), b, u;
|
|
323
323
|
return {
|
|
324
324
|
c() {
|
|
325
|
-
e = g("div"), l = g("span"), a = B(i), s =
|
|
325
|
+
e = g("div"), l = g("span"), a = B(i), s = O(), m = g("span"), v = B("("), b = B(w), u = B(")"), n(l, "class", "VendorName"), n(e, "class", "FilterItemLabel");
|
|
326
326
|
},
|
|
327
327
|
m(C, y) {
|
|
328
328
|
V(C, e, y), o(e, l), o(l, a), o(e, s), o(e, m), o(m, v), o(m, b), o(m, u);
|
|
@@ -330,18 +330,18 @@ function je(r) {
|
|
|
330
330
|
p(C, y) {
|
|
331
331
|
y[0] & /*vendorArray*/
|
|
332
332
|
32 && i !== (i = /*vendor*/
|
|
333
|
-
C[37].name + "") &&
|
|
333
|
+
C[37].name + "") && Z(a, i), y[0] & /*vendorArray*/
|
|
334
334
|
32 && w !== (w = /*vendor*/
|
|
335
|
-
C[37].games.total + "") &&
|
|
335
|
+
C[37].games.total + "") && Z(b, w);
|
|
336
336
|
},
|
|
337
337
|
d(C) {
|
|
338
|
-
C &&
|
|
338
|
+
C && j(e);
|
|
339
339
|
}
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
342
|
function fe(r) {
|
|
343
343
|
let e, l, i, a, s, m, v, w, b, u, C, y;
|
|
344
|
-
function
|
|
344
|
+
function E() {
|
|
345
345
|
r[26].call(
|
|
346
346
|
i,
|
|
347
347
|
/*each_value*/
|
|
@@ -364,7 +364,7 @@ function fe(r) {
|
|
|
364
364
|
/*filterbylogo*/
|
|
365
365
|
p[2] === "false"
|
|
366
366
|
)
|
|
367
|
-
return
|
|
367
|
+
return De;
|
|
368
368
|
if (
|
|
369
369
|
/*filterbylogo*/
|
|
370
370
|
p[2] === "true"
|
|
@@ -374,7 +374,7 @@ function fe(r) {
|
|
|
374
374
|
let x = S(r), F = x && x(r);
|
|
375
375
|
return {
|
|
376
376
|
c() {
|
|
377
|
-
e = g("li"), l = g("label"), i = g("input"), s =
|
|
377
|
+
e = g("li"), l = g("label"), i = g("input"), s = O(), m = g("span"), v = O(), F && F.c(), w = O(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
|
|
378
378
|
r[37].name, ne(i, i.__value), n(m, "class", "FiltersCheckmark"), n(l, "class", "FilterLabel"), n(e, "class", b = "FilterItem " + /*filterbylogo*/
|
|
379
379
|
(r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = u = /*vendor*/
|
|
380
380
|
r[37].name;
|
|
@@ -382,7 +382,7 @@ function fe(r) {
|
|
|
382
382
|
m(p, c) {
|
|
383
383
|
V(p, e, c), o(e, l), o(l, i), i.checked = /*vendor*/
|
|
384
384
|
r[37].isFilterSelected, o(l, s), o(l, m), o(l, v), F && F.m(l, null), o(e, w), C || (y = [
|
|
385
|
-
te(i, "change",
|
|
385
|
+
te(i, "change", E),
|
|
386
386
|
te(i, "click", P)
|
|
387
387
|
], C = !0);
|
|
388
388
|
},
|
|
@@ -398,11 +398,11 @@ function fe(r) {
|
|
|
398
398
|
r[37].name) && (e.value = u);
|
|
399
399
|
},
|
|
400
400
|
d(p) {
|
|
401
|
-
p &&
|
|
401
|
+
p && j(e), F && F.d(), C = !1, ue(y);
|
|
402
402
|
}
|
|
403
403
|
};
|
|
404
404
|
}
|
|
405
|
-
function
|
|
405
|
+
function ze(r) {
|
|
406
406
|
let e;
|
|
407
407
|
function l(s, m) {
|
|
408
408
|
if (
|
|
@@ -412,7 +412,7 @@ function De(r) {
|
|
|
412
412
|
return Te;
|
|
413
413
|
if (!/*isLoading*/
|
|
414
414
|
s[9])
|
|
415
|
-
return
|
|
415
|
+
return Ee;
|
|
416
416
|
}
|
|
417
417
|
let i = l(r), a = i && i(r);
|
|
418
418
|
return {
|
|
@@ -428,14 +428,14 @@ function De(r) {
|
|
|
428
428
|
i: ie,
|
|
429
429
|
o: ie,
|
|
430
430
|
d(s) {
|
|
431
|
-
s &&
|
|
431
|
+
s && j(e), a && a.d(), r[29](null);
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function je(r, e, l) {
|
|
436
436
|
let i;
|
|
437
437
|
ve(r, Pe, (t) => l(11, i = t));
|
|
438
|
-
let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo:
|
|
438
|
+
let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: E = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], A = {}, M = !1, W = 0, q = !0, _, N = !1, D;
|
|
439
439
|
Ae({ withLocale: "en", translations: {} });
|
|
440
440
|
const T = () => {
|
|
441
441
|
fetch(v).then((d) => d.json()).then((d) => {
|
|
@@ -451,18 +451,18 @@ function ze(r, e, l) {
|
|
|
451
451
|
}), A[u] && (A = { [u]: [] });
|
|
452
452
|
const H = () => {
|
|
453
453
|
l(4, x = !x), window.postMessage({ type: "FilterOpened" }, window.location.href);
|
|
454
|
-
},
|
|
454
|
+
}, G = (t) => (l(9, q = !0), new Promise((d, f) => {
|
|
455
455
|
fetch(t).then((h) => h.json()).then((h) => {
|
|
456
456
|
h = h.items, d(h.items), l(6, c = []);
|
|
457
457
|
let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
|
|
458
458
|
const ge = S === "true" ? "*" : u;
|
|
459
459
|
h.forEach(($) => {
|
|
460
460
|
le || (le = { currentCategoryId: [] }), le[ge]?.indexOf($.id) >= 0 ? ($.isFilterSelected = !0, c.push($)) : $.isFilterSelected = !1;
|
|
461
|
-
}), l(5, p = h),
|
|
461
|
+
}), l(5, p = h), R();
|
|
462
462
|
}).catch((h) => {
|
|
463
463
|
console.error(h), l(10, N = !0), f(h);
|
|
464
464
|
}).finally(() => {
|
|
465
|
-
l(9,
|
|
465
|
+
l(9, q = !1);
|
|
466
466
|
});
|
|
467
467
|
})), J = (t) => {
|
|
468
468
|
let d = localStorage.getItem("vendorFiltersByCategory");
|
|
@@ -470,15 +470,15 @@ function ze(r, e, l) {
|
|
|
470
470
|
const f = S === "true" ? "*" : u;
|
|
471
471
|
d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
|
|
472
472
|
[f]: c.map((h) => h.id)
|
|
473
|
-
})) : (d = JSON.parse(d), d[f] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href),
|
|
474
|
-
},
|
|
473
|
+
})) : (d = JSON.parse(d), d[f] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), R();
|
|
474
|
+
}, R = () => {
|
|
475
475
|
l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
|
|
476
476
|
}, U = () => {
|
|
477
477
|
if (p.length && S === "true")
|
|
478
478
|
return;
|
|
479
479
|
const t = new URL(`${a}/v1/casino/vendors`);
|
|
480
|
-
l(4, x = !1), t.searchParams.append("fields", "id,name,logo,subVendors,games"), t.searchParams.append("language", m), t.searchParams.append("datasource", s), t.searchParams.append("platform", _e(F)), S === "true" || ((u.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${u})`), t.searchParams.append("subVendors", `games(subGroups=${u})`)) : t.searchParams.append("filter", `games(groups=${u})`)),
|
|
481
|
-
},
|
|
480
|
+
l(4, x = !1), t.searchParams.append("fields", "id,name,logo,subVendors,games"), t.searchParams.append("language", m), t.searchParams.append("datasource", s), t.searchParams.append("platform", _e(F)), S === "true" || ((u.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${u})`), t.searchParams.append("subVendors", `games(subGroups=${u})`)) : t.searchParams.append("filter", `games(groups=${u})`)), G(t);
|
|
481
|
+
}, K = () => {
|
|
482
482
|
l(6, c = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
|
|
483
483
|
[S === "true" ? "*" : u]: c.map((t) => t.id)
|
|
484
484
|
})), p.forEach((t) => t.isFilterSelected = !1), l(5, p), window.postMessage({ type: "ApplyFilters" }, window.location.href), l(7, M = !0), l(4, x = !1);
|
|
@@ -486,43 +486,43 @@ function ze(r, e, l) {
|
|
|
486
486
|
t.data.type == "SortingOpened" && l(4, x = !1);
|
|
487
487
|
};
|
|
488
488
|
we(() => (window.addEventListener("message", Q, !1), () => {
|
|
489
|
-
window.emMessageBus != null &&
|
|
489
|
+
window.emMessageBus != null && D && D.unsubscribe(), window.removeEventListener("message", Q);
|
|
490
490
|
}));
|
|
491
491
|
const X = () => H();
|
|
492
492
|
function Y(t, d) {
|
|
493
493
|
t[d].isFilterSelected = this.checked, l(5, p);
|
|
494
494
|
}
|
|
495
|
-
const
|
|
495
|
+
const L = (t) => J(t), z = () => K();
|
|
496
496
|
function k(t) {
|
|
497
497
|
ke[t ? "unshift" : "push"](() => {
|
|
498
498
|
_ = t, l(3, _);
|
|
499
499
|
});
|
|
500
500
|
}
|
|
501
501
|
return r.$$set = (t) => {
|
|
502
|
-
"endpoint" in t && l(15, a = t.endpoint), "datasource" in t && l(16, s = t.datasource), "lang" in t && l(17, m = t.lang), "translationurl" in t && l(18, v = t.translationurl), "clientstyling" in t && l(19, w = t.clientstyling), "clientstylingurl" in t && l(20, b = t.clientstylingurl), "categoryid" in t && l(21, u = t.categoryid), "addfilterselector" in t && l(0, C = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2,
|
|
502
|
+
"endpoint" in t && l(15, a = t.endpoint), "datasource" in t && l(16, s = t.datasource), "lang" in t && l(17, m = t.lang), "translationurl" in t && l(18, v = t.translationurl), "clientstyling" in t && l(19, w = t.clientstyling), "clientstylingurl" in t && l(20, b = t.clientstylingurl), "categoryid" in t && l(21, u = t.categoryid), "addfilterselector" in t && l(0, C = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2, E = t.filterbylogo), "mbsource" in t && l(22, P = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
|
|
503
503
|
}, r.$$.update = () => {
|
|
504
504
|
r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
|
|
505
|
-
2195460 && a && s && u &&
|
|
505
|
+
2195460 && a && s && u && E && U(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
506
506
|
524296 && w && _ && xe(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
507
507
|
1048584 && b && _ && Se(_, b), r.$$.dirty[0] & /*mbsource, customStylingContainer, styleSubscription*/
|
|
508
|
-
20971528 && P && _ && l(24,
|
|
508
|
+
20971528 && P && _ && l(24, D = Le(_, `${P}.Style`, D, !0)), r.$$.dirty[0] & /*translationurl*/
|
|
509
509
|
262144 && v && T();
|
|
510
510
|
}, [
|
|
511
511
|
C,
|
|
512
512
|
y,
|
|
513
|
-
|
|
513
|
+
E,
|
|
514
514
|
_,
|
|
515
515
|
x,
|
|
516
516
|
p,
|
|
517
517
|
c,
|
|
518
518
|
M,
|
|
519
519
|
W,
|
|
520
|
-
|
|
520
|
+
q,
|
|
521
521
|
N,
|
|
522
522
|
i,
|
|
523
523
|
H,
|
|
524
524
|
J,
|
|
525
|
-
|
|
525
|
+
K,
|
|
526
526
|
a,
|
|
527
527
|
s,
|
|
528
528
|
m,
|
|
@@ -532,11 +532,11 @@ function ze(r, e, l) {
|
|
|
532
532
|
u,
|
|
533
533
|
P,
|
|
534
534
|
S,
|
|
535
|
-
|
|
535
|
+
D,
|
|
536
536
|
X,
|
|
537
537
|
Y,
|
|
538
|
-
|
|
539
|
-
|
|
538
|
+
L,
|
|
539
|
+
z,
|
|
540
540
|
k
|
|
541
541
|
];
|
|
542
542
|
}
|
|
@@ -545,8 +545,8 @@ class Ve extends he {
|
|
|
545
545
|
super(), Fe(
|
|
546
546
|
this,
|
|
547
547
|
e,
|
|
548
|
+
je,
|
|
548
549
|
ze,
|
|
549
|
-
De,
|
|
550
550
|
be,
|
|
551
551
|
{
|
|
552
552
|
endpoint: 15,
|
|
@@ -562,7 +562,7 @@ class Ve extends he {
|
|
|
562
562
|
mbsource: 22,
|
|
563
563
|
usesinglevendorfilter: 23
|
|
564
564
|
},
|
|
565
|
-
|
|
565
|
+
Oe,
|
|
566
566
|
[-1, -1]
|
|
567
567
|
);
|
|
568
568
|
}
|
|
@@ -570,76 +570,76 @@ class Ve extends he {
|
|
|
570
570
|
return this.$$.ctx[15];
|
|
571
571
|
}
|
|
572
572
|
set endpoint(e) {
|
|
573
|
-
this.$$set({ endpoint: e }),
|
|
573
|
+
this.$$set({ endpoint: e }), I();
|
|
574
574
|
}
|
|
575
575
|
get datasource() {
|
|
576
576
|
return this.$$.ctx[16];
|
|
577
577
|
}
|
|
578
578
|
set datasource(e) {
|
|
579
|
-
this.$$set({ datasource: e }),
|
|
579
|
+
this.$$set({ datasource: e }), I();
|
|
580
580
|
}
|
|
581
581
|
get lang() {
|
|
582
582
|
return this.$$.ctx[17];
|
|
583
583
|
}
|
|
584
584
|
set lang(e) {
|
|
585
|
-
this.$$set({ lang: e }),
|
|
585
|
+
this.$$set({ lang: e }), I();
|
|
586
586
|
}
|
|
587
587
|
get translationurl() {
|
|
588
588
|
return this.$$.ctx[18];
|
|
589
589
|
}
|
|
590
590
|
set translationurl(e) {
|
|
591
|
-
this.$$set({ translationurl: e }),
|
|
591
|
+
this.$$set({ translationurl: e }), I();
|
|
592
592
|
}
|
|
593
593
|
get clientstyling() {
|
|
594
594
|
return this.$$.ctx[19];
|
|
595
595
|
}
|
|
596
596
|
set clientstyling(e) {
|
|
597
|
-
this.$$set({ clientstyling: e }),
|
|
597
|
+
this.$$set({ clientstyling: e }), I();
|
|
598
598
|
}
|
|
599
599
|
get clientstylingurl() {
|
|
600
600
|
return this.$$.ctx[20];
|
|
601
601
|
}
|
|
602
602
|
set clientstylingurl(e) {
|
|
603
|
-
this.$$set({ clientstylingurl: e }),
|
|
603
|
+
this.$$set({ clientstylingurl: e }), I();
|
|
604
604
|
}
|
|
605
605
|
get categoryid() {
|
|
606
606
|
return this.$$.ctx[21];
|
|
607
607
|
}
|
|
608
608
|
set categoryid(e) {
|
|
609
|
-
this.$$set({ categoryid: e }),
|
|
609
|
+
this.$$set({ categoryid: e }), I();
|
|
610
610
|
}
|
|
611
611
|
get addfilterselector() {
|
|
612
612
|
return this.$$.ctx[0];
|
|
613
613
|
}
|
|
614
614
|
set addfilterselector(e) {
|
|
615
|
-
this.$$set({ addfilterselector: e }),
|
|
615
|
+
this.$$set({ addfilterselector: e }), I();
|
|
616
616
|
}
|
|
617
617
|
get addsortingselector() {
|
|
618
618
|
return this.$$.ctx[1];
|
|
619
619
|
}
|
|
620
620
|
set addsortingselector(e) {
|
|
621
|
-
this.$$set({ addsortingselector: e }),
|
|
621
|
+
this.$$set({ addsortingselector: e }), I();
|
|
622
622
|
}
|
|
623
623
|
get filterbylogo() {
|
|
624
624
|
return this.$$.ctx[2];
|
|
625
625
|
}
|
|
626
626
|
set filterbylogo(e) {
|
|
627
|
-
this.$$set({ filterbylogo: e }),
|
|
627
|
+
this.$$set({ filterbylogo: e }), I();
|
|
628
628
|
}
|
|
629
629
|
get mbsource() {
|
|
630
630
|
return this.$$.ctx[22];
|
|
631
631
|
}
|
|
632
632
|
set mbsource(e) {
|
|
633
|
-
this.$$set({ mbsource: e }),
|
|
633
|
+
this.$$set({ mbsource: e }), I();
|
|
634
634
|
}
|
|
635
635
|
get usesinglevendorfilter() {
|
|
636
636
|
return this.$$.ctx[23];
|
|
637
637
|
}
|
|
638
638
|
set usesinglevendorfilter(e) {
|
|
639
|
-
this.$$set({ usesinglevendorfilter: e }),
|
|
639
|
+
this.$$set({ usesinglevendorfilter: e }), I();
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
|
-
|
|
642
|
+
Ie(Ve, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
|
|
643
643
|
export {
|
|
644
644
|
Ve as default
|
|
645
645
|
};
|