@everymatrix/casino-page-nd 1.94.20 → 1.94.21
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-C9uPq0A1.js → CasinoCalendar-DEVbG4iz.js} +33 -33
- package/components/{CasinoCalendar-_Z-2bQb_.js → CasinoCalendar-Dx2jIkJw.js} +34 -34
- package/components/{CasinoCalendarDailyDetails-OpyeG6uE.js → CasinoCalendarDailyDetails-2B1eMhkF.js} +44 -44
- package/components/{CasinoCalendarDailyDetails-Dt7_S3PC.js → CasinoCalendarDailyDetails-BVJHoIew.js} +35 -35
- package/components/{CasinoCalendarDailyItem-CEoITIlf.js → CasinoCalendarDailyItem-D-0hhlea.js} +33 -33
- package/components/{CasinoCalendarDailyItem-vrLJaTMi.js → CasinoCalendarDailyItem-Npo89g5R.js} +35 -35
- package/components/{CasinoCollectionsProviders-B3VRHpor.js → CasinoCollectionsProviders-BKFynvjY.js} +54 -54
- package/components/{CasinoCollectionsProviders-CkfljADj.js → CasinoCollectionsProviders-MILRronm.js} +77 -77
- package/components/{CasinoFavoritesSectionNd-DKH8m5gt.js → CasinoFavoritesSectionNd-BFRXHlpI.js} +30 -30
- package/components/{CasinoFavoritesSectionNd-C_q2SUeW.js → CasinoFavoritesSectionNd-aSfTlcd4.js} +19 -19
- package/components/{CasinoFilter-B31bJiVP.js → CasinoFilter-BS2yiygC.js} +61 -61
- package/components/{CasinoFilter-DOdCTVbR.js → CasinoFilter-Dj2PCiV0.js} +72 -72
- package/components/{CasinoGameThumbnailNd-qOb-NlR1.js → CasinoGameThumbnailNd-BPC23BI-.js} +47 -47
- package/components/{CasinoGameThumbnailNd-G5g-B8es.js → CasinoGameThumbnailNd-DkwmtFcg.js} +44 -44
- package/components/{CasinoGamesCategorySectionNd-BrVRiNOE.js → CasinoGamesCategorySectionNd-D1AI9bu6.js} +85 -85
- package/components/{CasinoGamesCategorySectionNd-DW-ItJHW.js → CasinoGamesCategorySectionNd-DXy2Oa0T.js} +48 -48
- package/components/{CasinoJackpotBanner-CYvsLjTr.js → CasinoJackpotBanner-DMSfh6Dp.js} +57 -57
- package/components/{CasinoJackpotBanner-DtSX1I44.js → CasinoJackpotBanner-DoceaLAu.js} +97 -97
- package/components/{CasinoLastPlayedSectionNd-BlW0S-zx.js → CasinoLastPlayedSectionNd-CNd48h0C.js} +15 -15
- package/components/{CasinoLastPlayedSectionNd-BgqL24Mn.js → CasinoLastPlayedSectionNd-NGq-VpDK.js} +27 -27
- package/components/{CasinoMostPlayedSectionNd-C9wkbnuI.js → CasinoMostPlayedSectionNd-DRU-MnND.js} +37 -37
- package/components/{CasinoMostPlayedSectionNd-CStIOFqa.js → CasinoMostPlayedSectionNd-Ddyg2sEQ.js} +38 -38
- package/components/{CasinoMyGamesNd-D8xFIBdT.js → CasinoMyGamesNd-CJen9lAF.js} +139 -139
- package/components/{CasinoMyGamesNd-DPE7a31c.js → CasinoMyGamesNd-M7au0c11.js} +25 -25
- package/components/{CasinoPageNd-L2i5ZX96.js → CasinoPageNd-Buuu2FKK.js} +63 -63
- package/components/{CasinoPageNd-C03hT_5u.js → CasinoPageNd-YsBQrpFX.js} +62 -62
- package/components/{CasinoRandomGame-C1Lt7ZMr.js → CasinoRandomGame-BF6Dcw1k.js} +57 -57
- package/components/{CasinoRandomGame-Ch4ni4Tl.js → CasinoRandomGame-_5jTG-ZN.js} +25 -25
- package/components/{CasinoSearchNd-CkA5xtb9.js → CasinoSearchNd-BYPCQyB0.js} +74 -74
- package/components/{CasinoSearchNd-CbAwd20C.js → CasinoSearchNd-gGf9DgIj.js} +108 -108
- package/components/{CasinoSort-DP6_0RI6.js → CasinoSort-3sGGRhsh.js} +40 -40
- package/components/{CasinoSort-DIeeoqtP.js → CasinoSort-CK0pe7m-.js} +23 -23
- package/components/{CasinoWinners-DPdDjGzQ.js → CasinoWinners-CRyiG29T.js} +66 -66
- package/components/{CasinoWinners-gHv4x4rb.js → CasinoWinners-CUFd7OIe.js} +65 -65
- package/components/{GeneralAnimationLoading-DBdOzB3b.js → GeneralAnimationLoading-Bn7e7hzD.js} +4 -4
- package/components/{GeneralAnimationLoading-DoJF9CA9.js → GeneralAnimationLoading-duz-RMlD.js} +6 -6
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/lazy/{casino-calendar-BBNmRGOI.js → casino-calendar-6Rqv_d55.js} +1 -1
- package/lazy/{casino-calendar-Bw3qtp5c.js → casino-calendar-DpNAInUa.js} +1 -1
- package/lazy/{casino-calendar-daily-details-Bjn_sdXL.js → casino-calendar-daily-details-BnhakiBV.js} +1 -1
- package/lazy/{casino-calendar-daily-details-Dt-nGrFE.js → casino-calendar-daily-details-D6MgfYYT.js} +1 -1
- package/lazy/{casino-calendar-daily-item-CLC0OZIs.js → casino-calendar-daily-item-3dMaWVAd.js} +1 -1
- package/lazy/{casino-calendar-daily-item-CVytPjNM.js → casino-calendar-daily-item-BLu2M-dU.js} +1 -1
- package/lazy/{casino-collections-providers-BQy9N3us.js → casino-collections-providers-0gk7NsWo.js} +1 -1
- package/lazy/{casino-collections-providers-DhG9zmPW.js → casino-collections-providers-DZXEljiU.js} +1 -1
- package/lazy/{casino-favorites-section-nd-BvjBpSuB.js → casino-favorites-section-nd-Cs-tKY8v.js} +1 -1
- package/lazy/{casino-favorites-section-nd-CfQBIV3C.js → casino-favorites-section-nd-odGfcTKd.js} +1 -1
- package/lazy/{casino-filter-D_evC3nE.js → casino-filter-CZ14SnXw.js} +1 -1
- package/lazy/{casino-filter-BYjBLe2g.js → casino-filter-Dccl9dAI.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-CabbyVNb.js → casino-game-thumbnail-nd-B1hdc_K3.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-BCL2EgS2.js → casino-game-thumbnail-nd-CBuucCCt.js} +1 -1
- package/lazy/{casino-games-category-section-nd-B76wPeTn.js → casino-games-category-section-nd-6IBDVJpv.js} +1 -1
- package/lazy/{casino-games-category-section-nd-Dck3Hv2Z.js → casino-games-category-section-nd-BmkczwlY.js} +1 -1
- package/lazy/{casino-jackpot-banner--5VawPuz.js → casino-jackpot-banner-B4QZFVMY.js} +1 -1
- package/lazy/{casino-jackpot-banner-BrLIGNb1.js → casino-jackpot-banner-xMMUcJ-a.js} +1 -1
- package/lazy/{casino-last-played-section-nd-Df8OUyc8.js → casino-last-played-section-nd-Bpi5WwKD.js} +1 -1
- package/lazy/{casino-last-played-section-nd-BgS5BkLE.js → casino-last-played-section-nd-COPh7vmL.js} +1 -1
- package/lazy/{casino-most-played-section-nd-PKvtxS0q.js → casino-most-played-section-nd-CIM9XV6-.js} +1 -1
- package/lazy/{casino-most-played-section-nd-CHZkYWKR.js → casino-most-played-section-nd-Cccs_4pp.js} +1 -1
- package/lazy/{casino-my-games-nd--3od1EQr.js → casino-my-games-nd-4z_tBZIk.js} +1 -1
- package/lazy/{casino-my-games-nd-DqUB3fGq.js → casino-my-games-nd-CvMylYyt.js} +1 -1
- package/lazy/{casino-random-game-CK2FLJr9.js → casino-random-game-C6Yl1GDo.js} +1 -1
- package/lazy/{casino-random-game-CN612Bpo.js → casino-random-game-DwvxeID0.js} +1 -1
- package/lazy/{casino-search-nd-BWyR8F2E.js → casino-search-nd-B0IG-DkY.js} +1 -1
- package/lazy/{casino-search-nd-Q_Tn8xTE.js → casino-search-nd-ClYcSuRV.js} +1 -1
- package/lazy/{casino-sort-BjTyD_fW.js → casino-sort-CS7pJUNb.js} +1 -1
- package/lazy/{casino-sort-D-_Ugglo.js → casino-sort-DZdb5w2W.js} +1 -1
- package/lazy/{casino-winners-BjBMiSgQ.js → casino-winners-BS2-9Iyt.js} +1 -1
- package/lazy/{casino-winners-D4AOFxu0.js → casino-winners-ClXY1OS8.js} +1 -1
- package/lazy/{general-animation-loading-Br8TBw-n.js → general-animation-loading-D2vTr_EB.js} +1 -1
- package/lazy/{general-animation-loading-BuAaTzx0.js → general-animation-loading-DWnIJWz0.js} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
1
|
+
import { $ as ie, K as me, a as he, S as Fe, i as be, s as ye, f as L, b as ve, n as ae, d as z, c as V, g, k as we, o as _e, u as ke, q as Ce, j as n, x as ne, B as xe, V as ge, v as q, e as o, D as te, E as ee, h as E, w as T, Z as oe, C as se, F as Se, G as Ie, H as Le, I as Pe, J as Ae } from "./CasinoPageNd-Buuu2FKK.js";
|
|
2
|
+
function Ee({ withLocale: r, translations: e }) {
|
|
3
3
|
ie.subscribe((l) => {
|
|
4
4
|
l == null && (me.set(e), ie.set(r));
|
|
5
5
|
});
|
|
@@ -117,7 +117,7 @@ const de = {
|
|
|
117
117
|
clear: "Clear all"
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
|
-
function
|
|
120
|
+
function Oe(r) {
|
|
121
121
|
ve(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 fe(r, e, l) {
|
|
@@ -128,45 +128,45 @@ function Be(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, O, 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, G, _, N, D, B, H = (
|
|
135
135
|
/*$_*/
|
|
136
136
|
r[11]("clear") + ""
|
|
137
|
-
),
|
|
137
|
+
), K, J, Z, R, U, X;
|
|
138
138
|
function Y(t, d) {
|
|
139
139
|
return (
|
|
140
140
|
/*fullSelection*/
|
|
141
141
|
t[7] ? Ne : Me
|
|
142
142
|
);
|
|
143
143
|
}
|
|
144
|
-
let Q = Y(r), I = Q(r),
|
|
144
|
+
let Q = Y(r), I = Q(r), j = ne(
|
|
145
145
|
/*vendorArray*/
|
|
146
146
|
r[5]
|
|
147
147
|
), k = [];
|
|
148
|
-
for (let t = 0; t <
|
|
149
|
-
k[t] = ue(fe(r,
|
|
148
|
+
for (let t = 0; t < j.length; t += 1)
|
|
149
|
+
k[t] = ue(fe(r, j, 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 = E(), v = g("div"), w = g("span"), u = T(b), C = E(), y = g("div"), O = g("span"), S = T(P), x = E(), I.c(), F = E(), p = g("span"), c = ee("svg"), A = ee("path"), G = E(), _ = g("div"), N = g("ul");
|
|
153
153
|
for (let t = 0; t < k.length; t += 1)
|
|
154
154
|
k[t].c();
|
|
155
|
-
|
|
155
|
+
D = E(), B = g("button"), K = T(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(B, "class", "ClearFilters"), B.disabled = J = /*fullSelection*/
|
|
158
158
|
r[7] && /*selectedVendorArray*/
|
|
159
159
|
r[6].length != /*vendorArray*/
|
|
160
|
-
r[5].length, n(_, "class",
|
|
161
|
-
(r[4] ? "FilterOpen" : "")), n(e, "class",
|
|
160
|
+
r[5].length, n(_, "class", Z = "FilterDropdownContainer " + /*isFilterActive*/
|
|
161
|
+
(r[4] ? "FilterOpen" : "")), n(e, "class", R = "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, O), o(O, S), o(y, x), I.m(y, null), o(l, F), o(l, p), o(p, c), o(c, A), o(e, G), 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(_, B), o(B, K), U || (X = [
|
|
170
170
|
te(
|
|
171
171
|
l,
|
|
172
172
|
"click",
|
|
@@ -179,47 +179,47 @@ function Be(r) {
|
|
|
179
179
|
/*click_handler_2*/
|
|
180
180
|
r[28]
|
|
181
181
|
)
|
|
182
|
-
],
|
|
182
|
+
], U = !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") + "") && q(u, b), d[0] & /*$_*/
|
|
188
188
|
2048 && P !== (P = /*$_*/
|
|
189
|
-
t[11]("providers") + "") &&
|
|
189
|
+
t[11]("providers") + "") && q(S, P), Q === (Q = Y(t)) && I ? I.p(t, d) : (I.d(1), I = Q(t), I && (I.c(), I.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
|
+
j = ne(
|
|
196
196
|
/*vendorArray*/
|
|
197
197
|
t[5]
|
|
198
198
|
);
|
|
199
199
|
let f;
|
|
200
|
-
for (f = 0; f <
|
|
201
|
-
const h = fe(t,
|
|
200
|
+
for (f = 0; f < j.length; f += 1) {
|
|
201
|
+
const h = fe(t, j, f);
|
|
202
202
|
k[f] ? k[f].p(h, d) : (k[f] = ue(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 = j.length;
|
|
207
207
|
}
|
|
208
208
|
d[0] & /*$_*/
|
|
209
209
|
2048 && H !== (H = /*$_*/
|
|
210
|
-
t[11]("clear") + "") &&
|
|
210
|
+
t[11]("clear") + "") && q(K, 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) && (B.disabled = J), d[0] & /*isFilterActive*/
|
|
215
|
-
16 &&
|
|
216
|
-
(t[4] ? "FilterOpen" : "")) && n(_, "class",
|
|
217
|
-
3 &&
|
|
215
|
+
16 && Z !== (Z = "FilterDropdownContainer " + /*isFilterActive*/
|
|
216
|
+
(t[4] ? "FilterOpen" : "")) && n(_, "class", Z), d[0] & /*addfilterselector, addsortingselector*/
|
|
217
|
+
3 && R !== (R = "FilterContainer " + /*addfilterselector*/
|
|
218
218
|
(t[0] == "true" && /*addsortingselector*/
|
|
219
|
-
t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class",
|
|
219
|
+
t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", R);
|
|
220
220
|
},
|
|
221
221
|
d(t) {
|
|
222
|
-
t && z(e), I.d(), xe(k, t),
|
|
222
|
+
t && z(e), I.d(), xe(k, t), U = !1, ge(X);
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
225
|
}
|
|
@@ -259,7 +259,7 @@ function Me(r) {
|
|
|
259
259
|
},
|
|
260
260
|
p(i, a) {
|
|
261
261
|
a[0] & /*selectionNumber*/
|
|
262
|
-
256 &&
|
|
262
|
+
256 && q(
|
|
263
263
|
l,
|
|
264
264
|
/*selectionNumber*/
|
|
265
265
|
i[8]
|
|
@@ -285,14 +285,14 @@ function Ne(r) {
|
|
|
285
285
|
p(a, s) {
|
|
286
286
|
s[0] & /*$_*/
|
|
287
287
|
2048 && l !== (l = /*$_*/
|
|
288
|
-
a[11]("all") + "") &&
|
|
288
|
+
a[11]("all") + "") && q(i, l);
|
|
289
289
|
},
|
|
290
290
|
d(a) {
|
|
291
291
|
a && z(e);
|
|
292
292
|
}
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function De(r) {
|
|
296
296
|
let e, l;
|
|
297
297
|
return {
|
|
298
298
|
c() {
|
|
@@ -312,7 +312,7 @@ function je(r) {
|
|
|
312
312
|
}
|
|
313
313
|
};
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function je(r) {
|
|
316
316
|
let e, l, i = (
|
|
317
317
|
/*vendor*/
|
|
318
318
|
r[37].name + ""
|
|
@@ -322,7 +322,7 @@ function De(r) {
|
|
|
322
322
|
), b, u;
|
|
323
323
|
return {
|
|
324
324
|
c() {
|
|
325
|
-
e = g("div"), l = g("span"), a = T(i), s =
|
|
325
|
+
e = g("div"), l = g("span"), a = T(i), s = E(), m = g("span"), v = T("("), b = T(w), u = T(")"), 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,9 +330,9 @@ function De(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 + "") && q(a, i), y[0] & /*vendorArray*/
|
|
334
334
|
32 && w !== (w = /*vendor*/
|
|
335
|
-
C[37].games.total + "") &&
|
|
335
|
+
C[37].games.total + "") && q(b, w);
|
|
336
336
|
},
|
|
337
337
|
d(C) {
|
|
338
338
|
C && z(e);
|
|
@@ -341,7 +341,7 @@ function De(r) {
|
|
|
341
341
|
}
|
|
342
342
|
function ue(r) {
|
|
343
343
|
let e, l, i, a, s, m, v, w, b, u, C, y;
|
|
344
|
-
function
|
|
344
|
+
function O() {
|
|
345
345
|
r[26].call(
|
|
346
346
|
i,
|
|
347
347
|
/*each_value*/
|
|
@@ -364,17 +364,17 @@ function ue(r) {
|
|
|
364
364
|
/*filterbylogo*/
|
|
365
365
|
p[2] === "false"
|
|
366
366
|
)
|
|
367
|
-
return
|
|
367
|
+
return je;
|
|
368
368
|
if (
|
|
369
369
|
/*filterbylogo*/
|
|
370
370
|
p[2] === "true"
|
|
371
371
|
)
|
|
372
|
-
return
|
|
372
|
+
return De;
|
|
373
373
|
}
|
|
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 = E(), m = g("span"), v = E(), F && F.c(), w = E(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
|
|
378
378
|
r[37].name, oe(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 ue(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", O),
|
|
386
386
|
te(i, "click", P)
|
|
387
387
|
], C = !0);
|
|
388
388
|
},
|
|
@@ -435,8 +435,8 @@ function ze(r) {
|
|
|
435
435
|
function Ve(r, e, l) {
|
|
436
436
|
let i;
|
|
437
437
|
we(r, Ae, (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:
|
|
439
|
-
|
|
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: O = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], A = {}, M = !1, W = 0, G = !0, _, N = !1, D;
|
|
439
|
+
Ee({ withLocale: "en", translations: {} });
|
|
440
440
|
const B = () => {
|
|
441
441
|
fetch(v).then((d) => d.json()).then((d) => {
|
|
442
442
|
Object.keys(d).forEach((f) => {
|
|
@@ -451,7 +451,7 @@ function Ve(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
|
+
}, K = (t) => (l(9, G = !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"));
|
|
@@ -459,11 +459,11 @@ function Ve(r, e, l) {
|
|
|
459
459
|
h.forEach(($) => {
|
|
460
460
|
var re;
|
|
461
461
|
le || (le = { currentCategoryId: [] }), ((re = le[pe]) == null ? void 0 : re.indexOf($.id)) >= 0 ? ($.isFilterSelected = !0, c.push($)) : $.isFilterSelected = !1;
|
|
462
|
-
}), l(5, p = h),
|
|
462
|
+
}), l(5, p = h), Z();
|
|
463
463
|
}).catch((h) => {
|
|
464
464
|
console.error(h), l(10, N = !0), f(h);
|
|
465
465
|
}).finally(() => {
|
|
466
|
-
l(9,
|
|
466
|
+
l(9, G = !1);
|
|
467
467
|
});
|
|
468
468
|
})), J = (t) => {
|
|
469
469
|
let d = localStorage.getItem("vendorFiltersByCategory");
|
|
@@ -471,15 +471,15 @@ function Ve(r, e, l) {
|
|
|
471
471
|
const f = S === "true" ? "*" : u;
|
|
472
472
|
d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
|
|
473
473
|
[f]: c.map((h) => h.id)
|
|
474
|
-
})) : (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),
|
|
475
|
-
},
|
|
474
|
+
})) : (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), Z();
|
|
475
|
+
}, Z = () => {
|
|
476
476
|
l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
|
|
477
|
-
},
|
|
477
|
+
}, R = () => {
|
|
478
478
|
if (p.length && S === "true")
|
|
479
479
|
return;
|
|
480
480
|
const t = new URL(`${a}/v1/casino/vendors`);
|
|
481
|
-
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", ke(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})`)),
|
|
482
|
-
},
|
|
481
|
+
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", ke(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})`)), K(t);
|
|
482
|
+
}, U = () => {
|
|
483
483
|
l(6, c = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
|
|
484
484
|
[S === "true" ? "*" : u]: c.map((t) => t.id)
|
|
485
485
|
})), p.forEach((t) => t.isFilterSelected = !1), l(5, p), window.postMessage({ type: "ApplyFilters" }, window.location.href), l(7, M = !0), l(4, x = !1);
|
|
@@ -487,43 +487,43 @@ function Ve(r, e, l) {
|
|
|
487
487
|
t.data.type == "SortingOpened" && l(4, x = !1);
|
|
488
488
|
};
|
|
489
489
|
_e(() => (window.addEventListener("message", X, !1), () => {
|
|
490
|
-
window.emMessageBus != null &&
|
|
490
|
+
window.emMessageBus != null && D && D.unsubscribe(), window.removeEventListener("message", X);
|
|
491
491
|
}));
|
|
492
492
|
const Y = () => H();
|
|
493
493
|
function Q(t, d) {
|
|
494
494
|
t[d].isFilterSelected = this.checked, l(5, p);
|
|
495
495
|
}
|
|
496
|
-
const I = (t) => J(t),
|
|
496
|
+
const I = (t) => J(t), j = () => U();
|
|
497
497
|
function k(t) {
|
|
498
498
|
Ce[t ? "unshift" : "push"](() => {
|
|
499
499
|
_ = t, l(3, _);
|
|
500
500
|
});
|
|
501
501
|
}
|
|
502
502
|
return r.$$set = (t) => {
|
|
503
|
-
"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,
|
|
503
|
+
"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, O = t.filterbylogo), "mbsource" in t && l(22, P = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
|
|
504
504
|
}, r.$$.update = () => {
|
|
505
505
|
r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
|
|
506
|
-
2195460 && a && s && u &&
|
|
506
|
+
2195460 && a && s && u && O && R(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
507
507
|
524296 && w && _ && Se(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
508
508
|
1048584 && b && _ && Ie(_, b), r.$$.dirty[0] & /*mbsource, customStylingContainer, styleSubscription*/
|
|
509
|
-
20971528 && P && _ && l(24,
|
|
509
|
+
20971528 && P && _ && l(24, D = Le(_, `${P}.Style`, D, !0)), r.$$.dirty[0] & /*translationurl*/
|
|
510
510
|
262144 && v && B();
|
|
511
511
|
}, [
|
|
512
512
|
C,
|
|
513
513
|
y,
|
|
514
|
-
|
|
514
|
+
O,
|
|
515
515
|
_,
|
|
516
516
|
x,
|
|
517
517
|
p,
|
|
518
518
|
c,
|
|
519
519
|
M,
|
|
520
520
|
W,
|
|
521
|
-
|
|
521
|
+
G,
|
|
522
522
|
N,
|
|
523
523
|
i,
|
|
524
524
|
H,
|
|
525
525
|
J,
|
|
526
|
-
|
|
526
|
+
U,
|
|
527
527
|
a,
|
|
528
528
|
s,
|
|
529
529
|
m,
|
|
@@ -533,11 +533,11 @@ function Ve(r, e, l) {
|
|
|
533
533
|
u,
|
|
534
534
|
P,
|
|
535
535
|
S,
|
|
536
|
-
|
|
536
|
+
D,
|
|
537
537
|
Y,
|
|
538
538
|
Q,
|
|
539
539
|
I,
|
|
540
|
-
|
|
540
|
+
j,
|
|
541
541
|
k
|
|
542
542
|
];
|
|
543
543
|
}
|
|
@@ -563,7 +563,7 @@ class We extends Fe {
|
|
|
563
563
|
mbsource: 22,
|
|
564
564
|
usesinglevendorfilter: 23
|
|
565
565
|
},
|
|
566
|
-
|
|
566
|
+
Oe,
|
|
567
567
|
[-1, -1]
|
|
568
568
|
);
|
|
569
569
|
}
|