@everymatrix/casino-lobby 1.86.4 → 1.86.5
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-CDybCkBw.cjs +19 -0
- package/components/{CasinoCalendar-CTTcluAF.js → CasinoCalendar-DeuDpvc7.js} +1033 -1012
- package/components/{CasinoCalendar-g3C0yL-l.js → CasinoCalendar-qxlVRlx3.js} +849 -828
- package/components/{CasinoCalendarDailyDetails-MbSzyBl-.cjs → CasinoCalendarDailyDetails-0DzEjr4I.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-C6NZu63m.js → CasinoCalendarDailyDetails-DgSA6Oos.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-BReSw0PH.js → CasinoCalendarDailyDetails-oDArpqk3.js} +38 -38
- package/components/{CasinoCalendarDailyItem-D_-hgIOG.js → CasinoCalendarDailyItem--x4C1v1R.js} +34 -34
- package/components/{CasinoCalendarDailyItem-vF8QUewM.cjs → CasinoCalendarDailyItem-BT_oTw81.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DW4bwJrg.js → CasinoCalendarDailyItem-D1UMrOrr.js} +34 -34
- package/components/{CasinoCategoriesSlider-uIpxZEDW.js → CasinoCategoriesSlider-BmkD2GJJ.js} +70 -70
- package/components/CasinoCategoriesSlider-CDsrUsbe.cjs +1 -0
- package/components/{CasinoCategoriesSlider-DLioXO8u.js → CasinoCategoriesSlider-DnJiwJ-i.js} +73 -73
- package/components/{CasinoCollectionsProviders-BDJPyhyP.js → CasinoCollectionsProviders-DS-cICru.js} +64 -64
- package/components/{CasinoCollectionsProviders-C66FXn8E.cjs → CasinoCollectionsProviders-KucGv4ev.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-l8Bj7gLF.js → CasinoCollectionsProviders-SF9NUz_s.js} +77 -77
- package/components/{CasinoFavoritesSection-1xjeruY9.js → CasinoFavoritesSection-DBOa4rLG.js} +19 -19
- package/components/{CasinoFavoritesSection-JbXta4ej.js → CasinoFavoritesSection-Q91WkZtR.js} +19 -19
- package/components/{CasinoFavoritesSection-flqQ1Txz.cjs → CasinoFavoritesSection-ioWl2WWa.cjs} +1 -1
- package/components/{CasinoFilter-DK1IJtKj.js → CasinoFilter-Iy2ZAp7X.js} +244 -245
- package/components/CasinoFilter-S-pUTxvR.cjs +1 -0
- package/components/{CasinoFilter-AWMGrvg7.js → CasinoFilter-WlNu83Yo.js} +223 -222
- package/components/CasinoGameThumbnail-B386-P3k.cjs +47 -0
- package/components/{CasinoGameThumbnail-DgEB-dkM.js → CasinoGameThumbnail-Ddpsxirj.js} +1252 -1268
- package/components/{CasinoGameThumbnail-AMyBxNdq.js → CasinoGameThumbnail-yvrHp66V.js} +778 -762
- package/components/{CasinoGamesCategorySection-UbxtEgDx.js → CasinoGamesCategorySection-COcAuqTG.js} +301 -301
- package/components/{CasinoGamesCategorySection-blhrWiJn.js → CasinoGamesCategorySection-DDqd3M8L.js} +302 -302
- package/components/{CasinoGamesCategorySection-ZiaOwaIX.cjs → CasinoGamesCategorySection-DUgz8uau.cjs} +1 -1
- package/components/{CasinoJackpotBanner-sKWQEAXI.js → CasinoJackpotBanner-CuHjieHv.js} +89 -89
- package/components/{CasinoJackpotBanner-15vjCxeq.cjs → CasinoJackpotBanner-DEsoDJ4R.cjs} +1 -1
- package/components/{CasinoJackpotBanner-OEQ6kTNX.js → CasinoJackpotBanner-ovGVK744.js} +84 -84
- package/components/{CasinoLastPlayedSection-kM9yLvhD.cjs → CasinoLastPlayedSection-BHV-LRk1.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-DlDq9l_7.js → CasinoLastPlayedSection-C8WSFXnj.js} +33 -33
- package/components/{CasinoLastPlayedSection-Dv7S9x-o.js → CasinoLastPlayedSection-cSkPcLtL.js} +33 -33
- package/components/{CasinoLobby-Dho7eG4P.js → CasinoLobby-Bc2QHTe4.js} +59 -59
- package/components/{CasinoLobby-BknjaOeS.js → CasinoLobby-Bkj4ZQu6.js} +59 -59
- package/components/{CasinoLobby-odJbcWRR.cjs → CasinoLobby-Cs6HmQRu.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-CGxtqevB.js → CasinoMostPlayedSection-CQdqKCZj.js} +45 -45
- package/components/{CasinoMostPlayedSection-BJpdcEGe.cjs → CasinoMostPlayedSection-DsX-pIXm.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-PvqfZR6v.js → CasinoMostPlayedSection-smiwW5Ol.js} +45 -45
- package/components/{CasinoMyGames-Baaz8xfL.cjs → CasinoMyGames-CJ7rioBh.cjs} +1 -1
- package/components/{CasinoMyGames-C22R6240.js → CasinoMyGames-CYZ5nWjJ.js} +29 -29
- package/components/{CasinoMyGames-Cr-QJTaa.js → CasinoMyGames-CnnjGYeT.js} +29 -29
- package/components/{CasinoPage-BZnxTJSo.cjs → CasinoPage-BzASY7Hg.cjs} +1 -1
- package/components/{CasinoPage-DcXwVMup.js → CasinoPage-CUUEVdPt.js} +123 -123
- package/components/{CasinoPage-BGrASQhH.js → CasinoPage-Dg5sPuQa.js} +109 -109
- package/components/{CasinoRandomGame-DoBaxDNA.js → CasinoRandomGame-DBzLZj0J.js} +52 -52
- package/components/{CasinoRandomGame-Cz5w1Xkm.cjs → CasinoRandomGame-DRJXaM_Z.cjs} +1 -1
- package/components/{CasinoRandomGame-CLsTaSPD.js → CasinoRandomGame-Dh5EVxCR.js} +53 -53
- package/components/{CasinoSearch-D4nuoT1C.js → CasinoSearch--8BCnmOG.js} +85 -85
- package/components/{CasinoSearch-M-zypI5B.js → CasinoSearch-BxyP0Ga2.js} +82 -82
- package/components/{CasinoSearch-DHRGmpEd.cjs → CasinoSearch-r9ofFlZt.cjs} +1 -1
- package/components/{CasinoSlider-DvI5SCyj.js → CasinoSlider-BihCQ92y.js} +86 -86
- package/components/{CasinoSlider-B_WI_7Qb.cjs → CasinoSlider-C0mxz0hk.cjs} +1 -1
- package/components/{CasinoSlider-OSPrTvMo.js → CasinoSlider-DpYeYJhK.js} +87 -87
- package/components/{CasinoSort-DEbYB6BH.js → CasinoSort-BOsO5Bfe.js} +111 -112
- package/components/{CasinoSort-COpZLKBV.js → CasinoSort-CbOOYzWs.js} +103 -102
- package/components/{CasinoSort-KSHMLnqL.cjs → CasinoSort-L9UM4M85.cjs} +1 -1
- package/components/{CasinoWinners-CtR1v_xw.js → CasinoWinners-CDQfWIM6.js} +148 -148
- package/components/{CasinoWinners-DlPnBzX-.cjs → CasinoWinners-CxuidCR1.cjs} +1 -1
- package/components/{CasinoWinners-6u19h4xG.js → CasinoWinners-DAW-pGRt.js} +151 -151
- package/components/{GeneralAnimationLoading-oehLt3ob.cjs → GeneralAnimationLoading-CFokXkWs.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CEqG5qMY.js → GeneralAnimationLoading-CPc2UOwA.js} +14 -14
- package/components/{GeneralAnimationLoading-rntZi33z.js → GeneralAnimationLoading-D0quTPWA.js} +14 -14
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-Dge6-qaF.js → casino-play-random-game-DmsXPThq.js} +1 -1
- package/stencil/{casino-play-random-game-D9PFB7B2.js → casino-play-random-game-bUDjgSKo.js} +1 -1
- package/stencil/{casino-play-random-game-111R1Frl.cjs → casino-play-random-game-rBIQ75Yb.cjs} +1 -1
- package/stencil/{casino-play-random-game_2-CunwpDd1.js → casino-play-random-game_2-Bf4CHBc9.js} +2 -2
- package/stencil/{casino-play-random-game_2-auPXMZnz.js → casino-play-random-game_2-C30-vRGp.js} +2 -2
- package/stencil/{casino-play-random-game_2-cZvlv_fo.cjs → casino-play-random-game_2-CCCLDakd.cjs} +2 -2
- package/stencil/index-328e660d-B6ge05AJ.js +560 -0
- package/stencil/index-328e660d-C6OCQOhB.cjs +1 -0
- package/stencil/index-328e660d-Duk3nD23.js +576 -0
- package/stencil/index-97d17652-B6BYeRne.js +542 -0
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/index-b2193545-BZAG_Jnw.js +503 -0
- package/stencil/index-b2193545-DG7pnr-7.js +519 -0
- package/stencil/index-b2193545-DuCTLpV-.cjs +1 -0
- package/stencil/{ui-image-C1Fl5HOc.cjs → ui-image-BmLAbwvr.cjs} +1 -1
- package/stencil/{ui-image-DnOuibDF.js → ui-image-DDulMZDF.js} +1 -1
- package/stencil/{ui-image-_mAQXh8W.js → ui-image-DwWgscwP.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-CmVho0dS.js} +2 -2
- package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
- package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-Daq38JGa.js} +2 -2
- package/stencil/{ui-skeleton-CWdppDyF.cjs → ui-skeleton-BWEKzqTN.cjs} +1 -1
- package/stencil/{ui-skeleton-TkMXeWrD.js → ui-skeleton-D_tu1FGi.js} +2 -2
- package/stencil/{ui-skeleton-QCtPK7l5.js → ui-skeleton-DgZQnowa.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-CiWqRE71.js → ui-skeleton-ed169f8f-Bs1q2JQr.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-pTYMIneT.js → ui-skeleton-ed169f8f-D2rWx_KU.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BT7QFq3s.cjs → ui-skeleton-ed169f8f-Ti6Ksz7V.cjs} +1 -1
- package/components/CasinoCalendar-Bh1m4DYa.cjs +0 -19
- package/components/CasinoCategoriesSlider-CMW1BzhU.cjs +0 -1
- package/components/CasinoFilter-CrCTTPvH.cjs +0 -1
- package/components/CasinoGameThumbnail-Dymq8wWq.cjs +0 -47
- package/stencil/index-328e660d-A_dWaOAX.cjs +0 -1
- package/stencil/index-328e660d-BiHqu78m.js +0 -576
- package/stencil/index-328e660d-DJbpQFmN.js +0 -560
- package/stencil/index-97d17652-DvplcHtm.js +0 -558
- package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
- package/stencil/index-97d17652-p-iQtjus.js +0 -542
- package/stencil/index-b2193545-BkP0Nc2C.cjs +0 -1
- package/stencil/index-b2193545-CejVSlwL.js +0 -519
- package/stencil/index-b2193545-DL1I-QYR.js +0 -503
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { $ as le, Q as ue, a as pe, S as me, i as he, s as Fe, f as I, b as be, n as re, d as D, h as j, j as u, k as ye, o as ve, M as we, C as _e, r as o, v as ie, w as ke, O as fe, m as J, p as s, A as te, F as ee, B as O, q as T, R as ae, D as ne, H as Ce, I as xe, J as Se, K as Ie, L as Le } from "./CasinoCalendar-qxlVRlx3.js";
|
|
2
|
+
function Pe({ withLocale: r, translations: e }) {
|
|
3
|
+
le.subscribe((t) => {
|
|
4
|
+
t == null && (ue.set(e), le.set(r));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
7
|
+
function oe(r, e) {
|
|
8
|
+
pe(r, e);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const se = {
|
|
11
11
|
en: {
|
|
12
12
|
providers: "Providers:",
|
|
13
13
|
filterby: "Filter by:",
|
|
@@ -117,150 +117,150 @@ const de = {
|
|
|
117
117
|
clear: "Clear all"
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
|
-
function
|
|
121
|
-
|
|
120
|
+
function Ae(r) {
|
|
121
|
+
be(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
|
-
function
|
|
123
|
+
function ce(r, e, t) {
|
|
124
124
|
const i = r.slice();
|
|
125
|
-
return i[37] = e[
|
|
125
|
+
return i[37] = e[t], i[38] = e, i[39] = t, i;
|
|
126
126
|
}
|
|
127
|
-
function
|
|
128
|
-
let e,
|
|
127
|
+
function Oe(r) {
|
|
128
|
+
let e, t, i, a, d, h, v, w, b = (
|
|
129
129
|
/*$_*/
|
|
130
130
|
r[11]("filterby") + ""
|
|
131
|
-
),
|
|
131
|
+
), g, k, y, E, P = (
|
|
132
132
|
/*$_*/
|
|
133
133
|
r[11]("providers") + ""
|
|
134
|
-
),
|
|
134
|
+
), x, C, F, p, f, L, B, z, R, _, M, Q, A, V = (
|
|
135
135
|
/*$_*/
|
|
136
136
|
r[11]("clear") + ""
|
|
137
|
-
),
|
|
138
|
-
function Y(
|
|
137
|
+
), q, W, K, H, U, X;
|
|
138
|
+
function Y(n, m) {
|
|
139
139
|
return (
|
|
140
140
|
/*fullSelection*/
|
|
141
|
-
|
|
141
|
+
n[7] ? Be : Te
|
|
142
142
|
);
|
|
143
143
|
}
|
|
144
|
-
let Z = Y(r),
|
|
144
|
+
let Z = Y(r), S = Z(r), N = ie(
|
|
145
145
|
/*vendorArray*/
|
|
146
146
|
r[5]
|
|
147
|
-
),
|
|
148
|
-
for (let
|
|
149
|
-
|
|
147
|
+
), l = [];
|
|
148
|
+
for (let n = 0; n < N.length; n += 1)
|
|
149
|
+
l[n] = de(ce(r, N, n));
|
|
150
150
|
return {
|
|
151
151
|
c() {
|
|
152
|
-
e =
|
|
153
|
-
for (let
|
|
154
|
-
|
|
155
|
-
Q = O(),
|
|
156
|
-
(r[4] ? "TriangleActive" : "")),
|
|
157
|
-
(r[4] ? "FilterSelectorOpen" : "")),
|
|
152
|
+
e = u("div"), t = u("div"), i = u("div"), a = ee("svg"), d = ee("path"), h = O(), v = u("div"), w = u("span"), g = T(b), k = O(), y = u("div"), E = u("span"), x = T(P), C = O(), S.c(), F = O(), p = u("span"), f = ee("svg"), L = ee("path"), R = O(), _ = u("div"), M = u("ul");
|
|
153
|
+
for (let n = 0; n < l.length; n += 1)
|
|
154
|
+
l[n].c();
|
|
155
|
+
Q = O(), A = u("button"), q = T(V), o(d, "id", "noun_filter_736223"), o(d, "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"), o(d, "transform", "translate(-5 -6.2)"), o(d, "fill", "#fff"), o(a, "xmlns", "http://www.w3.org/2000/svg"), o(a, "width", "16"), o(a, "height", "16"), o(a, "viewBox", "0 0 16 16"), o(w, "class", "FilterName"), o(y, "class", "FilterValueContainer"), o(v, "class", "FilterTextContainer"), o(i, "class", "FilterMainArea"), o(L, "id", "arrow"), o(L, "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"), o(L, "transform", "translate(-274.511 -441.088)"), o(L, "fill", "#d1d1d1"), o(f, "xmlns", "http://www.w3.org/2000/svg"), o(f, "width", "14"), o(f, "height", "6.835"), o(f, "viewBox", "0 0 14 6.835"), o(p, "class", B = "TriangleInactive " + /*isFilterActive*/
|
|
156
|
+
(r[4] ? "TriangleActive" : "")), o(t, "class", z = "FilterSelector " + /*isFilterActive*/
|
|
157
|
+
(r[4] ? "FilterSelectorOpen" : "")), o(M, "class", "FilterDropdown"), o(A, "class", "ClearFilters"), A.disabled = W = /*fullSelection*/
|
|
158
158
|
r[7] && /*selectedVendorArray*/
|
|
159
159
|
r[6].length != /*vendorArray*/
|
|
160
|
-
r[5].length,
|
|
161
|
-
(r[4] ? "FilterOpen" : "")),
|
|
160
|
+
r[5].length, o(_, "class", K = "FilterDropdownContainer " + /*isFilterActive*/
|
|
161
|
+
(r[4] ? "FilterOpen" : "")), o(e, "class", H = "FilterContainer " + /*addfilterselector*/
|
|
162
162
|
(r[0] == "true" && /*addsortingselector*/
|
|
163
163
|
r[1] == "true" ? "FilerContainerSplit" : ""));
|
|
164
164
|
},
|
|
165
|
-
m(
|
|
166
|
-
|
|
167
|
-
for (let
|
|
168
|
-
|
|
169
|
-
|
|
165
|
+
m(n, m) {
|
|
166
|
+
j(n, e, m), s(e, t), s(t, i), s(i, a), s(a, d), s(i, h), s(i, v), s(v, w), s(w, g), s(v, k), s(v, y), s(y, E), s(E, x), s(y, C), S.m(y, null), s(t, F), s(t, p), s(p, f), s(f, L), s(e, R), s(e, _), s(_, M);
|
|
167
|
+
for (let c = 0; c < l.length; c += 1)
|
|
168
|
+
l[c] && l[c].m(M, null);
|
|
169
|
+
s(_, Q), s(_, A), s(A, q), U || (X = [
|
|
170
170
|
te(
|
|
171
|
-
|
|
171
|
+
t,
|
|
172
172
|
"click",
|
|
173
173
|
/*click_handler*/
|
|
174
174
|
r[24]
|
|
175
175
|
),
|
|
176
176
|
te(
|
|
177
|
-
|
|
177
|
+
A,
|
|
178
178
|
"click",
|
|
179
179
|
/*click_handler_2*/
|
|
180
180
|
r[27]
|
|
181
181
|
)
|
|
182
182
|
], U = !0);
|
|
183
183
|
},
|
|
184
|
-
p(
|
|
185
|
-
if (
|
|
184
|
+
p(n, m) {
|
|
185
|
+
if (m[0] & /*$_*/
|
|
186
186
|
2048 && b !== (b = /*$_*/
|
|
187
|
-
|
|
188
|
-
2048 &&
|
|
189
|
-
|
|
190
|
-
16 &&
|
|
191
|
-
(
|
|
192
|
-
16 &&
|
|
193
|
-
(
|
|
187
|
+
n[11]("filterby") + "") && J(g, b), m[0] & /*$_*/
|
|
188
|
+
2048 && P !== (P = /*$_*/
|
|
189
|
+
n[11]("providers") + "") && J(x, P), Z === (Z = Y(n)) && S ? S.p(n, m) : (S.d(1), S = Z(n), S && (S.c(), S.m(y, null))), m[0] & /*isFilterActive*/
|
|
190
|
+
16 && B !== (B = "TriangleInactive " + /*isFilterActive*/
|
|
191
|
+
(n[4] ? "TriangleActive" : "")) && o(p, "class", B), m[0] & /*isFilterActive*/
|
|
192
|
+
16 && z !== (z = "FilterSelector " + /*isFilterActive*/
|
|
193
|
+
(n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", z), m[0] & /*filterbylogo, vendorArray, filterByVendors*/
|
|
194
194
|
8228) {
|
|
195
|
-
|
|
195
|
+
N = ie(
|
|
196
196
|
/*vendorArray*/
|
|
197
|
-
|
|
197
|
+
n[5]
|
|
198
198
|
);
|
|
199
|
-
let
|
|
200
|
-
for (
|
|
201
|
-
const
|
|
202
|
-
|
|
199
|
+
let c;
|
|
200
|
+
for (c = 0; c < N.length; c += 1) {
|
|
201
|
+
const G = ce(n, N, c);
|
|
202
|
+
l[c] ? l[c].p(G, m) : (l[c] = de(G), l[c].c(), l[c].m(M, null));
|
|
203
203
|
}
|
|
204
|
-
for (;
|
|
205
|
-
|
|
206
|
-
|
|
204
|
+
for (; c < l.length; c += 1)
|
|
205
|
+
l[c].d(1);
|
|
206
|
+
l.length = N.length;
|
|
207
207
|
}
|
|
208
|
-
|
|
209
|
-
2048 &&
|
|
210
|
-
|
|
211
|
-
224 &&
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
16 &&
|
|
216
|
-
(
|
|
217
|
-
3 &&
|
|
218
|
-
(
|
|
219
|
-
|
|
208
|
+
m[0] & /*$_*/
|
|
209
|
+
2048 && V !== (V = /*$_*/
|
|
210
|
+
n[11]("clear") + "") && J(q, V), m[0] & /*fullSelection, selectedVendorArray, vendorArray*/
|
|
211
|
+
224 && W !== (W = /*fullSelection*/
|
|
212
|
+
n[7] && /*selectedVendorArray*/
|
|
213
|
+
n[6].length != /*vendorArray*/
|
|
214
|
+
n[5].length) && (A.disabled = W), m[0] & /*isFilterActive*/
|
|
215
|
+
16 && K !== (K = "FilterDropdownContainer " + /*isFilterActive*/
|
|
216
|
+
(n[4] ? "FilterOpen" : "")) && o(_, "class", K), m[0] & /*addfilterselector, addsortingselector*/
|
|
217
|
+
3 && H !== (H = "FilterContainer " + /*addfilterselector*/
|
|
218
|
+
(n[0] == "true" && /*addsortingselector*/
|
|
219
|
+
n[1] == "true" ? "FilerContainerSplit" : "")) && o(e, "class", H);
|
|
220
220
|
},
|
|
221
|
-
d(
|
|
222
|
-
|
|
221
|
+
d(n) {
|
|
222
|
+
n && D(e), S.d(), ke(l, n), U = !1, fe(X);
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
225
|
}
|
|
226
|
-
function
|
|
227
|
-
let e,
|
|
226
|
+
function Ee(r) {
|
|
227
|
+
let e, t = (
|
|
228
228
|
/*$_*/
|
|
229
229
|
r[11]("500") + ""
|
|
230
230
|
);
|
|
231
231
|
return {
|
|
232
232
|
c() {
|
|
233
|
-
e =
|
|
233
|
+
e = u("p"), o(e, "class", "SearchLoading");
|
|
234
234
|
},
|
|
235
235
|
m(i, a) {
|
|
236
|
-
|
|
236
|
+
j(i, e, a), e.innerHTML = t;
|
|
237
237
|
},
|
|
238
238
|
p(i, a) {
|
|
239
239
|
a[0] & /*$_*/
|
|
240
|
-
2048 &&
|
|
241
|
-
i[11]("500") + "") && (e.innerHTML =
|
|
240
|
+
2048 && t !== (t = /*$_*/
|
|
241
|
+
i[11]("500") + "") && (e.innerHTML = t);
|
|
242
242
|
},
|
|
243
243
|
d(i) {
|
|
244
244
|
i && D(e);
|
|
245
245
|
}
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
|
-
function
|
|
249
|
-
let e,
|
|
248
|
+
function Te(r) {
|
|
249
|
+
let e, t;
|
|
250
250
|
return {
|
|
251
251
|
c() {
|
|
252
|
-
e =
|
|
252
|
+
e = u("span"), t = T(
|
|
253
253
|
/*selectionNumber*/
|
|
254
254
|
r[8]
|
|
255
|
-
),
|
|
255
|
+
), o(e, "class", "FilterCounter");
|
|
256
256
|
},
|
|
257
257
|
m(i, a) {
|
|
258
|
-
|
|
258
|
+
j(i, e, a), s(e, t);
|
|
259
259
|
},
|
|
260
260
|
p(i, a) {
|
|
261
261
|
a[0] & /*selectionNumber*/
|
|
262
|
-
256 &&
|
|
263
|
-
|
|
262
|
+
256 && J(
|
|
263
|
+
t,
|
|
264
264
|
/*selectionNumber*/
|
|
265
265
|
i[8]
|
|
266
266
|
);
|
|
@@ -270,77 +270,77 @@ function Me(r) {
|
|
|
270
270
|
}
|
|
271
271
|
};
|
|
272
272
|
}
|
|
273
|
-
function
|
|
274
|
-
let e,
|
|
273
|
+
function Be(r) {
|
|
274
|
+
let e, t = (
|
|
275
275
|
/*$_*/
|
|
276
276
|
r[11]("all") + ""
|
|
277
277
|
), i;
|
|
278
278
|
return {
|
|
279
279
|
c() {
|
|
280
|
-
e =
|
|
280
|
+
e = u("span"), i = T(t), o(e, "class", "FilterCounter");
|
|
281
281
|
},
|
|
282
|
-
m(a,
|
|
283
|
-
|
|
282
|
+
m(a, d) {
|
|
283
|
+
j(a, e, d), s(e, i);
|
|
284
284
|
},
|
|
285
|
-
p(a,
|
|
286
|
-
|
|
287
|
-
2048 &&
|
|
288
|
-
a[11]("all") + "") &&
|
|
285
|
+
p(a, d) {
|
|
286
|
+
d[0] & /*$_*/
|
|
287
|
+
2048 && t !== (t = /*$_*/
|
|
288
|
+
a[11]("all") + "") && J(i, t);
|
|
289
289
|
},
|
|
290
290
|
d(a) {
|
|
291
291
|
a && D(e);
|
|
292
292
|
}
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
|
-
function
|
|
296
|
-
let e,
|
|
295
|
+
function Me(r) {
|
|
296
|
+
let e, t;
|
|
297
297
|
return {
|
|
298
298
|
c() {
|
|
299
|
-
e =
|
|
300
|
-
r[37].logo) ||
|
|
299
|
+
e = u("img"), ne(e.src, t = /*vendor*/
|
|
300
|
+
r[37].logo) || o(e, "src", t), o(e, "alt", "vendor logo");
|
|
301
301
|
},
|
|
302
302
|
m(i, a) {
|
|
303
|
-
|
|
303
|
+
j(i, e, a);
|
|
304
304
|
},
|
|
305
305
|
p(i, a) {
|
|
306
306
|
a[0] & /*vendorArray*/
|
|
307
|
-
32 && !
|
|
308
|
-
i[37].logo) &&
|
|
307
|
+
32 && !ne(e.src, t = /*vendor*/
|
|
308
|
+
i[37].logo) && o(e, "src", t);
|
|
309
309
|
},
|
|
310
310
|
d(i) {
|
|
311
311
|
i && D(e);
|
|
312
312
|
}
|
|
313
313
|
};
|
|
314
314
|
}
|
|
315
|
-
function
|
|
316
|
-
let e,
|
|
315
|
+
function Ne(r) {
|
|
316
|
+
let e, t, i = (
|
|
317
317
|
/*vendor*/
|
|
318
318
|
r[37].name + ""
|
|
319
|
-
), a,
|
|
319
|
+
), a, d, h, v, w = (
|
|
320
320
|
/*vendor*/
|
|
321
321
|
r[37].games.total + ""
|
|
322
|
-
), b,
|
|
322
|
+
), b, g;
|
|
323
323
|
return {
|
|
324
324
|
c() {
|
|
325
|
-
e =
|
|
325
|
+
e = u("div"), t = u("span"), a = T(i), d = O(), h = u("span"), v = T("("), b = T(w), g = T(")"), o(t, "class", "VendorName"), o(e, "class", "FilterItemLabel");
|
|
326
326
|
},
|
|
327
|
-
m(
|
|
328
|
-
|
|
327
|
+
m(k, y) {
|
|
328
|
+
j(k, e, y), s(e, t), s(t, a), s(e, d), s(e, h), s(h, v), s(h, b), s(h, g);
|
|
329
329
|
},
|
|
330
|
-
p(
|
|
330
|
+
p(k, y) {
|
|
331
331
|
y[0] & /*vendorArray*/
|
|
332
332
|
32 && i !== (i = /*vendor*/
|
|
333
|
-
|
|
333
|
+
k[37].name + "") && J(a, i), y[0] & /*vendorArray*/
|
|
334
334
|
32 && w !== (w = /*vendor*/
|
|
335
|
-
|
|
335
|
+
k[37].games.total + "") && J(b, w);
|
|
336
336
|
},
|
|
337
|
-
d(
|
|
338
|
-
|
|
337
|
+
d(k) {
|
|
338
|
+
k && D(e);
|
|
339
339
|
}
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
|
-
function
|
|
343
|
-
let e,
|
|
342
|
+
function de(r) {
|
|
343
|
+
let e, t, i, a, d, h, v, w, b, g, k, y;
|
|
344
344
|
function E() {
|
|
345
345
|
r[25].call(
|
|
346
346
|
i,
|
|
@@ -350,7 +350,7 @@ function ue(r) {
|
|
|
350
350
|
r[39]
|
|
351
351
|
);
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function P() {
|
|
354
354
|
return (
|
|
355
355
|
/*click_handler_1*/
|
|
356
356
|
r[26](
|
|
@@ -359,195 +359,194 @@ function ue(r) {
|
|
|
359
359
|
)
|
|
360
360
|
);
|
|
361
361
|
}
|
|
362
|
-
function
|
|
362
|
+
function x(p, f) {
|
|
363
363
|
if (
|
|
364
364
|
/*filterbylogo*/
|
|
365
365
|
p[2] === "false"
|
|
366
366
|
)
|
|
367
|
-
return
|
|
367
|
+
return Ne;
|
|
368
368
|
if (
|
|
369
369
|
/*filterbylogo*/
|
|
370
370
|
p[2] === "true"
|
|
371
371
|
)
|
|
372
|
-
return
|
|
372
|
+
return Me;
|
|
373
373
|
}
|
|
374
|
-
let
|
|
374
|
+
let C = x(r), F = C && C(r);
|
|
375
375
|
return {
|
|
376
376
|
c() {
|
|
377
|
-
e =
|
|
378
|
-
r[37].name,
|
|
379
|
-
(r[2] === "true" ? "FilterItemWithLogos" : "")), e.value =
|
|
377
|
+
e = u("li"), t = u("label"), i = u("input"), d = O(), h = u("span"), v = O(), F && F.c(), w = O(), o(i, "type", "checkbox"), o(i, "name", "checkbox"), i.__value = a = /*vendor*/
|
|
378
|
+
r[37].name, ae(i, i.__value), o(h, "class", "FiltersCheckmark"), o(t, "class", "FilterLabel"), o(e, "class", b = "FilterItem " + /*filterbylogo*/
|
|
379
|
+
(r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = g = /*vendor*/
|
|
380
380
|
r[37].name;
|
|
381
381
|
},
|
|
382
|
-
m(p,
|
|
383
|
-
|
|
384
|
-
r[37].isFilterSelected,
|
|
382
|
+
m(p, f) {
|
|
383
|
+
j(p, e, f), s(e, t), s(t, i), i.checked = /*vendor*/
|
|
384
|
+
r[37].isFilterSelected, s(t, d), s(t, h), s(t, v), F && F.m(t, null), s(e, w), k || (y = [
|
|
385
385
|
te(i, "change", E),
|
|
386
|
-
te(i, "click",
|
|
387
|
-
],
|
|
386
|
+
te(i, "click", P)
|
|
387
|
+
], k = !0);
|
|
388
388
|
},
|
|
389
|
-
p(p,
|
|
390
|
-
r = p,
|
|
389
|
+
p(p, f) {
|
|
390
|
+
r = p, f[0] & /*vendorArray*/
|
|
391
391
|
32 && a !== (a = /*vendor*/
|
|
392
|
-
r[37].name) && (i.__value = a,
|
|
392
|
+
r[37].name) && (i.__value = a, ae(i, i.__value)), f[0] & /*vendorArray*/
|
|
393
393
|
32 && (i.checked = /*vendor*/
|
|
394
|
-
r[37].isFilterSelected),
|
|
394
|
+
r[37].isFilterSelected), C === (C = x(r)) && F ? F.p(r, f) : (F && F.d(1), F = C && C(r), F && (F.c(), F.m(t, null))), f[0] & /*filterbylogo*/
|
|
395
395
|
4 && b !== (b = "FilterItem " + /*filterbylogo*/
|
|
396
|
-
(r[2] === "true" ? "FilterItemWithLogos" : "")) &&
|
|
397
|
-
32 &&
|
|
398
|
-
r[37].name) && (e.value =
|
|
396
|
+
(r[2] === "true" ? "FilterItemWithLogos" : "")) && o(e, "class", b), f[0] & /*vendorArray*/
|
|
397
|
+
32 && g !== (g = /*vendor*/
|
|
398
|
+
r[37].name) && (e.value = g);
|
|
399
399
|
},
|
|
400
400
|
d(p) {
|
|
401
|
-
p && D(e), F && F.d(),
|
|
401
|
+
p && D(e), F && F.d(), k = !1, fe(y);
|
|
402
402
|
}
|
|
403
403
|
};
|
|
404
404
|
}
|
|
405
405
|
function De(r) {
|
|
406
406
|
let e;
|
|
407
|
-
function
|
|
407
|
+
function t(d, h) {
|
|
408
408
|
if (
|
|
409
409
|
/*hasErrors*/
|
|
410
|
-
|
|
410
|
+
d[10]
|
|
411
411
|
)
|
|
412
|
-
return
|
|
412
|
+
return Ee;
|
|
413
413
|
if (!/*isLoading*/
|
|
414
|
-
|
|
415
|
-
return
|
|
414
|
+
d[9])
|
|
415
|
+
return Oe;
|
|
416
416
|
}
|
|
417
|
-
let i =
|
|
417
|
+
let i = t(r), a = i && i(r);
|
|
418
418
|
return {
|
|
419
419
|
c() {
|
|
420
|
-
e =
|
|
420
|
+
e = u("div"), a && a.c();
|
|
421
421
|
},
|
|
422
|
-
m(
|
|
423
|
-
|
|
422
|
+
m(d, h) {
|
|
423
|
+
j(d, e, h), a && a.m(e, null), r[28](e);
|
|
424
424
|
},
|
|
425
|
-
p(
|
|
426
|
-
i === (i =
|
|
425
|
+
p(d, h) {
|
|
426
|
+
i === (i = t(d)) && a ? a.p(d, h) : (a && a.d(1), a = i && i(d), a && (a.c(), a.m(e, null)));
|
|
427
427
|
},
|
|
428
|
-
i:
|
|
429
|
-
o:
|
|
430
|
-
d(
|
|
431
|
-
|
|
428
|
+
i: re,
|
|
429
|
+
o: re,
|
|
430
|
+
d(d) {
|
|
431
|
+
d && D(e), a && a.d(), r[28](null);
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function je(r, e, t) {
|
|
436
436
|
let i;
|
|
437
|
-
|
|
438
|
-
let { endpoint: a = "" } = e, { datasource:
|
|
439
|
-
|
|
440
|
-
const
|
|
441
|
-
fetch(v).then((
|
|
442
|
-
Object.keys(
|
|
443
|
-
|
|
437
|
+
ye(r, Le, (l) => t(11, i = l));
|
|
438
|
+
let { endpoint: a = "" } = e, { datasource: d = "" } = e, { lang: h = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: g = "" } = e, { addfilterselector: k = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: E = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: x = "false" } = e, C = !1, F = window.navigator.userAgent, p = [], f = [], L = {}, B = !1, z = 0, R = !0, _, M = !1;
|
|
439
|
+
Pe({ withLocale: "en", translations: {} });
|
|
440
|
+
const Q = () => {
|
|
441
|
+
fetch(v).then((n) => n.json()).then((n) => {
|
|
442
|
+
Object.keys(n).forEach((m) => {
|
|
443
|
+
oe(m, n[m]);
|
|
444
444
|
});
|
|
445
|
-
}).catch((
|
|
446
|
-
console.log(
|
|
445
|
+
}).catch((n) => {
|
|
446
|
+
console.log(n);
|
|
447
447
|
});
|
|
448
448
|
};
|
|
449
|
-
Object.keys(
|
|
450
|
-
|
|
451
|
-
}),
|
|
452
|
-
const
|
|
453
|
-
|
|
454
|
-
},
|
|
455
|
-
fetch(
|
|
456
|
-
|
|
457
|
-
let
|
|
458
|
-
const
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
console.error(h), l(10, N = !0), f(h);
|
|
449
|
+
Object.keys(se).forEach((l) => {
|
|
450
|
+
oe(l, se[l]);
|
|
451
|
+
}), L[g] && (L = { [g]: [] });
|
|
452
|
+
const A = () => {
|
|
453
|
+
t(4, C = !C), window.postMessage({ type: "FilterOpened" }, window.location.href);
|
|
454
|
+
}, V = (l) => (t(9, R = !0), new Promise((n, m) => {
|
|
455
|
+
fetch(l).then((c) => c.json()).then((c) => {
|
|
456
|
+
c = c.items, n(c.items), t(6, f = []);
|
|
457
|
+
let G = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
|
|
458
|
+
const ge = x === "true" ? "*" : g;
|
|
459
|
+
c.forEach(($) => {
|
|
460
|
+
G || (G = { currentCategoryId: [] }), G[ge]?.indexOf($.id) >= 0 ? ($.isFilterSelected = !0, f.push($)) : $.isFilterSelected = !1;
|
|
461
|
+
}), t(5, p = c), W();
|
|
462
|
+
}).catch((c) => {
|
|
463
|
+
console.error(c), t(10, M = !0), m(c);
|
|
465
464
|
}).finally(() => {
|
|
466
|
-
|
|
465
|
+
t(9, R = !1);
|
|
467
466
|
});
|
|
468
|
-
})),
|
|
469
|
-
let
|
|
470
|
-
|
|
471
|
-
const
|
|
472
|
-
|
|
473
|
-
[
|
|
474
|
-
})) : (
|
|
475
|
-
},
|
|
476
|
-
|
|
467
|
+
})), q = (l) => {
|
|
468
|
+
let n = localStorage.getItem("vendorFiltersByCategory");
|
|
469
|
+
l.isFilterSelected = !l.isFilterSelected, !f.length || f.filter((c) => c.name === l.name).length == 0 ? f.push(l) : t(6, f = f.filter((c) => c.name !== l.name));
|
|
470
|
+
const m = x === "true" ? "*" : g;
|
|
471
|
+
n == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(L = {
|
|
472
|
+
[m]: f.map((c) => c.id)
|
|
473
|
+
})) : (n = JSON.parse(n), n[m] = f.map((c) => c.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(n))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), W();
|
|
474
|
+
}, W = () => {
|
|
475
|
+
t(7, B = f.length === p.length || f.length == 0), t(8, z = f.length);
|
|
477
476
|
}, K = () => {
|
|
478
|
-
if (p.length &&
|
|
477
|
+
if (p.length && x === "true")
|
|
479
478
|
return;
|
|
480
|
-
const
|
|
481
|
-
|
|
482
|
-
},
|
|
483
|
-
|
|
484
|
-
[
|
|
485
|
-
})), p.forEach((
|
|
486
|
-
},
|
|
487
|
-
|
|
479
|
+
const l = new URL(`${a}/v1/casino/vendors`);
|
|
480
|
+
t(4, C = !1), l.searchParams.append("fields", "id,name,logo,subVendors,games"), l.searchParams.append("language", h), l.searchParams.append("datasource", d), l.searchParams.append("platform", we(F)), x === "true" || ((g.match(/\$/g) || []).length > 1 ? (l.searchParams.append("filter", `games(subGroups=${g})`), l.searchParams.append("subVendors", `games(subGroups=${g})`)) : l.searchParams.append("filter", `games(groups=${g})`)), V(l);
|
|
481
|
+
}, H = () => {
|
|
482
|
+
t(6, f = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(L = {
|
|
483
|
+
[x === "true" ? "*" : g]: f.map((l) => l.id)
|
|
484
|
+
})), p.forEach((l) => l.isFilterSelected = !1), t(5, p), window.postMessage({ type: "ApplyFilters" }, window.location.href), t(7, B = !0), t(4, C = !1);
|
|
485
|
+
}, U = (l) => {
|
|
486
|
+
l.data.type == "SortingOpened" && t(4, C = !1);
|
|
488
487
|
};
|
|
489
|
-
|
|
490
|
-
window.
|
|
488
|
+
ve(() => (window.addEventListener("message", U, !1), () => {
|
|
489
|
+
window.removeEventListener("message", U);
|
|
491
490
|
}));
|
|
492
|
-
const
|
|
493
|
-
function
|
|
494
|
-
|
|
495
|
-
}
|
|
496
|
-
const
|
|
497
|
-
function
|
|
498
|
-
|
|
499
|
-
_ =
|
|
491
|
+
const X = () => A();
|
|
492
|
+
function Y(l, n) {
|
|
493
|
+
l[n].isFilterSelected = this.checked, t(5, p);
|
|
494
|
+
}
|
|
495
|
+
const Z = (l) => q(l), S = () => H();
|
|
496
|
+
function N(l) {
|
|
497
|
+
_e[l ? "unshift" : "push"](() => {
|
|
498
|
+
_ = l, t(3, _);
|
|
500
499
|
});
|
|
501
500
|
}
|
|
502
|
-
return r.$$set = (
|
|
503
|
-
"endpoint" in
|
|
501
|
+
return r.$$set = (l) => {
|
|
502
|
+
"endpoint" in l && t(15, a = l.endpoint), "datasource" in l && t(16, d = l.datasource), "lang" in l && t(17, h = l.lang), "translationurl" in l && t(18, v = l.translationurl), "clientstyling" in l && t(19, w = l.clientstyling), "clientstylingurl" in l && t(20, b = l.clientstylingurl), "categoryid" in l && t(21, g = l.categoryid), "addfilterselector" in l && t(0, k = l.addfilterselector), "addsortingselector" in l && t(1, y = l.addsortingselector), "filterbylogo" in l && t(2, E = l.filterbylogo), "mbsource" in l && t(22, P = l.mbsource), "usesinglevendorfilter" in l && t(23, x = l.usesinglevendorfilter);
|
|
504
503
|
}, r.$$.update = () => {
|
|
505
504
|
r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
|
|
506
|
-
2195460 && a &&
|
|
507
|
-
524296 && w && _ &&
|
|
508
|
-
1048584 && b && _ &&
|
|
509
|
-
4194312 && _ &&
|
|
510
|
-
262144 && v &&
|
|
505
|
+
2195460 && a && d && g && E && K(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
506
|
+
524296 && w && _ && Ce(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
507
|
+
1048584 && b && _ && xe(_, b), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
508
|
+
4194312 && _ && Se(_, `${P}.Style`), r.$$.dirty[0] & /*translationurl*/
|
|
509
|
+
262144 && v && Q();
|
|
511
510
|
}, [
|
|
512
|
-
|
|
511
|
+
k,
|
|
513
512
|
y,
|
|
514
513
|
E,
|
|
515
514
|
_,
|
|
516
|
-
|
|
515
|
+
C,
|
|
517
516
|
p,
|
|
518
|
-
|
|
517
|
+
f,
|
|
518
|
+
B,
|
|
519
|
+
z,
|
|
520
|
+
R,
|
|
519
521
|
M,
|
|
520
|
-
V,
|
|
521
|
-
q,
|
|
522
|
-
N,
|
|
523
522
|
i,
|
|
524
|
-
|
|
523
|
+
A,
|
|
524
|
+
q,
|
|
525
525
|
H,
|
|
526
|
-
U,
|
|
527
526
|
a,
|
|
528
|
-
|
|
529
|
-
|
|
527
|
+
d,
|
|
528
|
+
h,
|
|
530
529
|
v,
|
|
531
530
|
w,
|
|
532
531
|
b,
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
532
|
+
g,
|
|
533
|
+
P,
|
|
534
|
+
x,
|
|
535
|
+
X,
|
|
536
536
|
Y,
|
|
537
537
|
Z,
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
k
|
|
538
|
+
S,
|
|
539
|
+
N
|
|
541
540
|
];
|
|
542
541
|
}
|
|
543
|
-
class
|
|
542
|
+
class ze extends me {
|
|
544
543
|
constructor(e) {
|
|
545
|
-
super(),
|
|
544
|
+
super(), he(
|
|
546
545
|
this,
|
|
547
546
|
e,
|
|
548
|
-
|
|
547
|
+
je,
|
|
549
548
|
De,
|
|
550
|
-
|
|
549
|
+
Fe,
|
|
551
550
|
{
|
|
552
551
|
endpoint: 15,
|
|
553
552
|
datasource: 16,
|
|
@@ -562,7 +561,7 @@ class We extends Fe {
|
|
|
562
561
|
mbsource: 22,
|
|
563
562
|
usesinglevendorfilter: 23
|
|
564
563
|
},
|
|
565
|
-
|
|
564
|
+
Ae,
|
|
566
565
|
[-1, -1]
|
|
567
566
|
);
|
|
568
567
|
}
|
|
@@ -570,76 +569,76 @@ class We extends Fe {
|
|
|
570
569
|
return this.$$.ctx[15];
|
|
571
570
|
}
|
|
572
571
|
set endpoint(e) {
|
|
573
|
-
this.$$set({ endpoint: e }),
|
|
572
|
+
this.$$set({ endpoint: e }), I();
|
|
574
573
|
}
|
|
575
574
|
get datasource() {
|
|
576
575
|
return this.$$.ctx[16];
|
|
577
576
|
}
|
|
578
577
|
set datasource(e) {
|
|
579
|
-
this.$$set({ datasource: e }),
|
|
578
|
+
this.$$set({ datasource: e }), I();
|
|
580
579
|
}
|
|
581
580
|
get lang() {
|
|
582
581
|
return this.$$.ctx[17];
|
|
583
582
|
}
|
|
584
583
|
set lang(e) {
|
|
585
|
-
this.$$set({ lang: e }),
|
|
584
|
+
this.$$set({ lang: e }), I();
|
|
586
585
|
}
|
|
587
586
|
get translationurl() {
|
|
588
587
|
return this.$$.ctx[18];
|
|
589
588
|
}
|
|
590
589
|
set translationurl(e) {
|
|
591
|
-
this.$$set({ translationurl: e }),
|
|
590
|
+
this.$$set({ translationurl: e }), I();
|
|
592
591
|
}
|
|
593
592
|
get clientstyling() {
|
|
594
593
|
return this.$$.ctx[19];
|
|
595
594
|
}
|
|
596
595
|
set clientstyling(e) {
|
|
597
|
-
this.$$set({ clientstyling: e }),
|
|
596
|
+
this.$$set({ clientstyling: e }), I();
|
|
598
597
|
}
|
|
599
598
|
get clientstylingurl() {
|
|
600
599
|
return this.$$.ctx[20];
|
|
601
600
|
}
|
|
602
601
|
set clientstylingurl(e) {
|
|
603
|
-
this.$$set({ clientstylingurl: e }),
|
|
602
|
+
this.$$set({ clientstylingurl: e }), I();
|
|
604
603
|
}
|
|
605
604
|
get categoryid() {
|
|
606
605
|
return this.$$.ctx[21];
|
|
607
606
|
}
|
|
608
607
|
set categoryid(e) {
|
|
609
|
-
this.$$set({ categoryid: e }),
|
|
608
|
+
this.$$set({ categoryid: e }), I();
|
|
610
609
|
}
|
|
611
610
|
get addfilterselector() {
|
|
612
611
|
return this.$$.ctx[0];
|
|
613
612
|
}
|
|
614
613
|
set addfilterselector(e) {
|
|
615
|
-
this.$$set({ addfilterselector: e }),
|
|
614
|
+
this.$$set({ addfilterselector: e }), I();
|
|
616
615
|
}
|
|
617
616
|
get addsortingselector() {
|
|
618
617
|
return this.$$.ctx[1];
|
|
619
618
|
}
|
|
620
619
|
set addsortingselector(e) {
|
|
621
|
-
this.$$set({ addsortingselector: e }),
|
|
620
|
+
this.$$set({ addsortingselector: e }), I();
|
|
622
621
|
}
|
|
623
622
|
get filterbylogo() {
|
|
624
623
|
return this.$$.ctx[2];
|
|
625
624
|
}
|
|
626
625
|
set filterbylogo(e) {
|
|
627
|
-
this.$$set({ filterbylogo: e }),
|
|
626
|
+
this.$$set({ filterbylogo: e }), I();
|
|
628
627
|
}
|
|
629
628
|
get mbsource() {
|
|
630
629
|
return this.$$.ctx[22];
|
|
631
630
|
}
|
|
632
631
|
set mbsource(e) {
|
|
633
|
-
this.$$set({ mbsource: e }),
|
|
632
|
+
this.$$set({ mbsource: e }), I();
|
|
634
633
|
}
|
|
635
634
|
get usesinglevendorfilter() {
|
|
636
635
|
return this.$$.ctx[23];
|
|
637
636
|
}
|
|
638
637
|
set usesinglevendorfilter(e) {
|
|
639
|
-
this.$$set({ usesinglevendorfilter: e }),
|
|
638
|
+
this.$$set({ usesinglevendorfilter: e }), I();
|
|
640
639
|
}
|
|
641
640
|
}
|
|
642
|
-
|
|
641
|
+
Ie(ze, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
|
|
643
642
|
export {
|
|
644
|
-
|
|
643
|
+
ze as default
|
|
645
644
|
};
|