@everymatrix/casino-page-nd 1.60.1 → 1.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoCalendar-3HhwEwWn.cjs +19 -0
- package/components/{CasinoCalendar-DttQUJ_p.js → CasinoCalendar-ChriIGYO.js} +645 -667
- package/components/{CasinoCalendar-Bm8jJ1Mr.js → CasinoCalendar-DWEsWkC3.js} +945 -967
- package/components/CasinoCalendarDailyDetails-BB1reOve.js +694 -0
- package/components/CasinoCalendarDailyDetails-C-hKLl6t.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-CRaNL0XV.js +694 -0
- package/components/CasinoCalendarDailyItem-B0UT8hgo.cjs +1 -0
- package/components/CasinoCalendarDailyItem-CbJJliRk.js +307 -0
- package/components/CasinoCalendarDailyItem-mVRnCWmO.js +307 -0
- package/components/{CasinoCollectionsProviders-LsjiLvS-.js → CasinoCollectionsProviders-5G5A16B1.js} +157 -156
- package/components/CasinoCollectionsProviders-C9JSj4NQ.cjs +1 -0
- package/components/{CasinoCollectionsProviders-CYGBqFuD.js → CasinoCollectionsProviders-CG0Cf517.js} +196 -194
- package/components/{CasinoFavoritesSectionNd-Bcx-VF4R.js → CasinoFavoritesSectionNd-BrF_H-jM.js} +87 -87
- package/components/{CasinoFavoritesSectionNd-Dp06xpQZ.cjs → CasinoFavoritesSectionNd-C-aG0Nbj.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-Dk3bzQ5K.js → CasinoFavoritesSectionNd-XuAM6kcb.js} +87 -87
- package/components/CasinoFilter-BDAzYLsu.cjs +1 -0
- package/components/CasinoFilter-BlHzVrSF.js +633 -0
- package/components/CasinoFilter-CCublYFB.js +632 -0
- package/components/{CasinoGameThumbnailNd-DHdA3PXP.js → CasinoGameThumbnailNd-C5CRuXkP.js} +519 -518
- package/components/{CasinoGameThumbnailNd-BjpLrkZ8.js → CasinoGameThumbnailNd-Pq4j578u.js} +517 -516
- package/components/{CasinoGameThumbnailNd-D1Y5lxzn.cjs → CasinoGameThumbnailNd-oswzXsH9.cjs} +5 -5
- package/components/{CasinoGamesCategorySectionNd-Dby9gxzi.js → CasinoGamesCategorySectionNd-CEarc4eH.js} +107 -107
- package/components/{CasinoGamesCategorySectionNd-DmxhlONv.cjs → CasinoGamesCategorySectionNd-Cf6viErn.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-JY01iUVQ.js → CasinoGamesCategorySectionNd-Vz0qZpVS.js} +109 -109
- package/components/CasinoJackpotBanner-B-x_97Zl.js +694 -0
- package/components/CasinoJackpotBanner-CUYq7rBr.js +698 -0
- package/components/CasinoJackpotBanner-CUg-WrqE.cjs +1 -0
- package/components/{CasinoLastPlayedSectionNd-CNiGSO9P.js → CasinoLastPlayedSectionNd-Bgkq4YL-.js} +40 -40
- package/components/{CasinoLastPlayedSectionNd-BFMur79L.js → CasinoLastPlayedSectionNd-Bo_UtsL3.js} +40 -40
- package/components/{CasinoLastPlayedSectionNd-CvbF0yIj.cjs → CasinoLastPlayedSectionNd-DcaN4Vzb.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-C95S8Ddy.js → CasinoMostPlayedSectionNd-DUgVpjBs.js} +44 -44
- package/components/{CasinoMostPlayedSectionNd-Cd8_9RZg.cjs → CasinoMostPlayedSectionNd-DjmOQABq.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-Dvdde-rL.js → CasinoMostPlayedSectionNd-HXXtVBuD.js} +44 -44
- package/components/{CasinoMyGamesNd-CtKKovMF.js → CasinoMyGamesNd-Bawo4XDt.js} +44 -44
- package/components/{CasinoMyGamesNd-CRzgBDL1.js → CasinoMyGamesNd-Cn_V8Q9P.js} +44 -44
- package/components/{CasinoMyGamesNd-CkZEUp1h.cjs → CasinoMyGamesNd-Dkkcjv_e.cjs} +1 -1
- package/components/{CasinoPageNd-D_2id8YE.js → CasinoPageNd-8fZWb0Ox.js} +108 -108
- package/components/{CasinoPageNd-0WxZJ5DA.js → CasinoPageNd-DFAfIl-N.js} +96 -96
- package/components/{CasinoPageNd-DUtUw9e5.cjs → CasinoPageNd-DrbHpi5Q.cjs} +1 -1
- package/components/{CasinoRandomGame-D3B5tI8S.js → CasinoRandomGame-Bkmr4jqm.js} +195 -194
- package/components/CasinoRandomGame-CqD9l308.cjs +2 -0
- package/components/{CasinoRandomGame-DfLR0r0i.js → CasinoRandomGame-DjPcc5_O.js} +157 -156
- package/components/{CasinoSearchNd-CDcFq9eq.js → CasinoSearchNd-BXamPqpq.js} +73 -73
- package/components/{CasinoSearchNd-HvFyptlR.cjs → CasinoSearchNd-C9re33yY.cjs} +1 -1
- package/components/{CasinoSearchNd-CmiMENnc.js → CasinoSearchNd-CqUgLjtY.js} +73 -73
- package/components/{CasinoSort-DX5EmYm_.js → CasinoSort-DRjIutGv.js} +104 -103
- package/components/{CasinoSort-DcG0TUN4.cjs → CasinoSort-DdDbgCmx.cjs} +1 -1
- package/components/{CasinoSort-BU6PWDpY.js → CasinoSort-Ddpf-_tf.js} +110 -111
- package/components/CasinoWinners-C5CqUsG7.cjs +1 -0
- package/components/{CasinoWinners-BOa69aMH.js → CasinoWinners-CyLWCqte.js} +190 -189
- package/components/{CasinoWinners-CYRn98z1.js → CasinoWinners-S1GnRcyb.js} +182 -181
- package/components/{GeneralAnimationLoading-B40sJaX7.cjs → GeneralAnimationLoading-DKjMWmUN.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CXZNRm34.js → GeneralAnimationLoading-DMWzaWgM.js} +18 -18
- package/components/{GeneralAnimationLoading-D0rjnOL3.js → GeneralAnimationLoading-mOewAPee.js} +18 -18
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-4b17CI_n.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-Cgk0KVAu.js → app-globals-0f993ce5-DfNOCk8l.js} +3 -1
- package/stencil/{casino-play-random-game-Bk7toWLj.js → casino-play-random-game-6EpPs13y.js} +4 -9
- package/stencil/{casino-play-random-game-BW66Civ1.js → casino-play-random-game-BUvMKyaw.js} +7 -12
- package/stencil/{casino-play-random-game-CKM_xKne.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
- package/stencil/index-ab3202d6-9zuW-dLG.js +575 -0
- package/stencil/index-ab3202d6-CGVciVSL.js +559 -0
- package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +1 -0
- package/stencil/index-b2193545-CGYrx6SV.js +503 -0
- package/stencil/index-b2193545-DU7jU8hT.cjs +1 -0
- package/stencil/index-b2193545-k_uiu1dU.js +519 -0
- package/stencil/index-b7bbd57e-BMsMsYAr.js +550 -0
- package/stencil/index-b7bbd57e-CPxyz2y0.js +534 -0
- package/stencil/index-b7bbd57e-CiQAmzc6.cjs +1 -0
- package/stencil/ui-image-38c3c15f--IPbitii.js +39 -0
- package/stencil/ui-image-38c3c15f-CQXMTl7T.js +39 -0
- package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +1 -0
- package/stencil/ui-image-CV8AJ9cY.js +29 -0
- package/stencil/ui-image-DG3xEaHN.js +11 -0
- package/stencil/ui-image-LuWVcxjH.cjs +1 -0
- package/stencil/{ui-skeleton-sAoxznwb.js → ui-skeleton-22AocHRT.js} +8 -8
- package/stencil/{ui-skeleton-ea659b95-DmKUoob8.js → ui-skeleton-6d1c12ae-4HBL8qol.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-CvOjl779.cjs → ui-skeleton-6d1c12ae-C3POR2WV.cjs} +2 -2
- package/stencil/{ui-skeleton-ea659b95-CaDtZrvR.js → ui-skeleton-6d1c12ae-f1sFu8zZ.js} +2 -2
- package/stencil/{ui-skeleton-BpUWeWAr.js → ui-skeleton-CMD3xF0X.js} +5 -5
- package/stencil/{ui-skeleton-D2GYc4Vd.cjs → ui-skeleton-Di9b-pPK.cjs} +1 -1
- package/components/CasinoCalendar-DBpyNdzX.cjs +0 -19
- package/components/CasinoCalendarDailyDetails-BRtEBxYn.js +0 -693
- package/components/CasinoCalendarDailyDetails-Cjdo10t8.cjs +0 -1
- package/components/CasinoCalendarDailyDetails-DesTWpk5.js +0 -693
- package/components/CasinoCalendarDailyItem-B4jvb1pM.js +0 -306
- package/components/CasinoCalendarDailyItem-D0zUyBnz.cjs +0 -1
- package/components/CasinoCalendarDailyItem-D7jrZ_LJ.js +0 -306
- package/components/CasinoCollectionsProviders-NvzBTvSZ.cjs +0 -1
- package/components/CasinoFilter-DBAa4rgv.js +0 -631
- package/components/CasinoFilter-DC7UpKxg.js +0 -632
- package/components/CasinoFilter-DVMmkZnS.cjs +0 -1
- package/components/CasinoJackpotBanner-BgpQokE3.cjs +0 -1
- package/components/CasinoJackpotBanner-C2j1yUXk.js +0 -697
- package/components/CasinoJackpotBanner-CFJR1YWM.js +0 -693
- package/components/CasinoRandomGame-C1nrrW2N.cjs +0 -2
- package/components/CasinoWinners-DwOZC8ON.cjs +0 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
- package/stencil/index-ab3202d6-BW1TSmQg.js +0 -575
- package/stencil/index-ab3202d6-C6VFhXtX.cjs +0 -1
- package/stencil/index-ab3202d6-CkTejM5U.js +0 -559
- package/stencil/index-b2193545-BDVBrmNo.js +0 -503
- package/stencil/index-b2193545-CY979_sp.js +0 -519
- package/stencil/index-b2193545-DPplmtxO.cjs +0 -1
package/components/{CasinoFavoritesSectionNd-Dk3bzQ5K.js → CasinoFavoritesSectionNd-XuAM6kcb.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as E,
|
|
1
|
+
import { $ as E, Q as O, S as R, i as j, s as z, f as l, b as J, n as L, d as q, h as A, j as D, r as K, o as N, E as n, C as Q, J as T, K as U, L as V, M as B } from "./CasinoCalendar-ChriIGYO.js";
|
|
2
2
|
if (typeof window < "u") {
|
|
3
|
-
let
|
|
3
|
+
let s = function(e) {
|
|
4
4
|
return function(...t) {
|
|
5
5
|
try {
|
|
6
6
|
return e.apply(this, t);
|
|
@@ -11,222 +11,222 @@ if (typeof window < "u") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define =
|
|
14
|
+
customElements.define = s(customElements.define), import("./CasinoGamesCategorySectionNd-CEarc4eH.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function G({ withLocale: s, translations: e }) {
|
|
19
19
|
E.subscribe((t) => {
|
|
20
|
-
t == null && (O.set(e), E.set(
|
|
20
|
+
t == null && (O.set(e), E.set(s));
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function H(s) {
|
|
24
|
+
J(s, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function M(s) {
|
|
27
27
|
let e;
|
|
28
28
|
return {
|
|
29
29
|
c() {
|
|
30
|
-
e =
|
|
30
|
+
e = D("casino-games-category-section-nd"), n(
|
|
31
31
|
e,
|
|
32
32
|
"session",
|
|
33
33
|
/*session*/
|
|
34
|
-
|
|
35
|
-
),
|
|
34
|
+
s[4]
|
|
35
|
+
), n(
|
|
36
36
|
e,
|
|
37
37
|
"userid",
|
|
38
38
|
/*userid*/
|
|
39
|
-
|
|
40
|
-
),
|
|
39
|
+
s[5]
|
|
40
|
+
), n(
|
|
41
41
|
e,
|
|
42
42
|
"endpoint",
|
|
43
43
|
/*endpoint*/
|
|
44
|
-
|
|
45
|
-
),
|
|
44
|
+
s[0]
|
|
45
|
+
), n(
|
|
46
46
|
e,
|
|
47
47
|
"datasource",
|
|
48
48
|
/*datasource*/
|
|
49
|
-
|
|
50
|
-
),
|
|
49
|
+
s[1]
|
|
50
|
+
), n(
|
|
51
51
|
e,
|
|
52
52
|
"lang",
|
|
53
53
|
/*lang*/
|
|
54
|
-
|
|
55
|
-
),
|
|
54
|
+
s[3]
|
|
55
|
+
), n(
|
|
56
56
|
e,
|
|
57
57
|
"currency",
|
|
58
58
|
/*currency*/
|
|
59
|
-
|
|
60
|
-
),
|
|
59
|
+
s[2]
|
|
60
|
+
), n(
|
|
61
61
|
e,
|
|
62
62
|
"favorites",
|
|
63
63
|
/*favorites*/
|
|
64
|
-
|
|
65
|
-
),
|
|
64
|
+
s[15]
|
|
65
|
+
), n(
|
|
66
66
|
e,
|
|
67
67
|
"fetchviaevent",
|
|
68
68
|
/*fetchviaevent*/
|
|
69
|
-
|
|
70
|
-
),
|
|
69
|
+
s[17]
|
|
70
|
+
), n(e, "categoryid", "FAVORITES"), n(e, "class", "CategoryContainer"), n(
|
|
71
71
|
e,
|
|
72
72
|
"showgamename",
|
|
73
73
|
/*showgamename*/
|
|
74
|
-
|
|
75
|
-
),
|
|
74
|
+
s[12]
|
|
75
|
+
), n(
|
|
76
76
|
e,
|
|
77
77
|
"clientstyling",
|
|
78
78
|
/*clientstyling*/
|
|
79
|
-
|
|
80
|
-
),
|
|
79
|
+
s[7]
|
|
80
|
+
), n(
|
|
81
81
|
e,
|
|
82
82
|
"clientstylingurl",
|
|
83
83
|
/*clientstylingurl*/
|
|
84
|
-
|
|
85
|
-
),
|
|
84
|
+
s[8]
|
|
85
|
+
), n(
|
|
86
86
|
e,
|
|
87
87
|
"livecasino",
|
|
88
88
|
/*livecasino*/
|
|
89
|
-
|
|
90
|
-
),
|
|
89
|
+
s[9]
|
|
90
|
+
), n(
|
|
91
91
|
e,
|
|
92
92
|
"visiblegames",
|
|
93
93
|
/*visiblegames*/
|
|
94
|
-
|
|
95
|
-
),
|
|
94
|
+
s[14]
|
|
95
|
+
), n(
|
|
96
96
|
e,
|
|
97
97
|
"gamepagemodalurl",
|
|
98
98
|
/*gamepagemodalurl*/
|
|
99
|
-
|
|
100
|
-
),
|
|
99
|
+
s[13]
|
|
100
|
+
), n(
|
|
101
101
|
e,
|
|
102
102
|
"integratedgameframedesktop",
|
|
103
103
|
/*integratedgameframedesktop*/
|
|
104
|
-
|
|
105
|
-
),
|
|
104
|
+
s[11]
|
|
105
|
+
), n(
|
|
106
106
|
e,
|
|
107
107
|
"integratedgameframemobile",
|
|
108
108
|
/*integratedgameframemobile*/
|
|
109
|
-
|
|
110
|
-
),
|
|
109
|
+
s[10]
|
|
110
|
+
), n(
|
|
111
111
|
e,
|
|
112
112
|
"casinomygames",
|
|
113
113
|
/*casinomygames*/
|
|
114
|
-
|
|
115
|
-
),
|
|
114
|
+
s[16]
|
|
115
|
+
), n(
|
|
116
116
|
e,
|
|
117
117
|
"mbsource",
|
|
118
118
|
/*mbsource*/
|
|
119
|
-
|
|
119
|
+
s[6]
|
|
120
120
|
);
|
|
121
121
|
},
|
|
122
122
|
m(t, a) {
|
|
123
|
-
|
|
123
|
+
A(t, e, a);
|
|
124
124
|
},
|
|
125
125
|
p(t, a) {
|
|
126
126
|
a & /*session*/
|
|
127
|
-
16 &&
|
|
127
|
+
16 && n(
|
|
128
128
|
e,
|
|
129
129
|
"session",
|
|
130
130
|
/*session*/
|
|
131
131
|
t[4]
|
|
132
132
|
), a & /*userid*/
|
|
133
|
-
32 &&
|
|
133
|
+
32 && n(
|
|
134
134
|
e,
|
|
135
135
|
"userid",
|
|
136
136
|
/*userid*/
|
|
137
137
|
t[5]
|
|
138
138
|
), a & /*endpoint*/
|
|
139
|
-
1 &&
|
|
139
|
+
1 && n(
|
|
140
140
|
e,
|
|
141
141
|
"endpoint",
|
|
142
142
|
/*endpoint*/
|
|
143
143
|
t[0]
|
|
144
144
|
), a & /*datasource*/
|
|
145
|
-
2 &&
|
|
145
|
+
2 && n(
|
|
146
146
|
e,
|
|
147
147
|
"datasource",
|
|
148
148
|
/*datasource*/
|
|
149
149
|
t[1]
|
|
150
150
|
), a & /*lang*/
|
|
151
|
-
8 &&
|
|
151
|
+
8 && n(
|
|
152
152
|
e,
|
|
153
153
|
"lang",
|
|
154
154
|
/*lang*/
|
|
155
155
|
t[3]
|
|
156
156
|
), a & /*currency*/
|
|
157
|
-
4 &&
|
|
157
|
+
4 && n(
|
|
158
158
|
e,
|
|
159
159
|
"currency",
|
|
160
160
|
/*currency*/
|
|
161
161
|
t[2]
|
|
162
162
|
), a & /*favorites*/
|
|
163
|
-
32768 &&
|
|
163
|
+
32768 && n(
|
|
164
164
|
e,
|
|
165
165
|
"favorites",
|
|
166
166
|
/*favorites*/
|
|
167
167
|
t[15]
|
|
168
168
|
), a & /*fetchviaevent*/
|
|
169
|
-
131072 &&
|
|
169
|
+
131072 && n(
|
|
170
170
|
e,
|
|
171
171
|
"fetchviaevent",
|
|
172
172
|
/*fetchviaevent*/
|
|
173
173
|
t[17]
|
|
174
174
|
), a & /*showgamename*/
|
|
175
|
-
4096 &&
|
|
175
|
+
4096 && n(
|
|
176
176
|
e,
|
|
177
177
|
"showgamename",
|
|
178
178
|
/*showgamename*/
|
|
179
179
|
t[12]
|
|
180
180
|
), a & /*clientstyling*/
|
|
181
|
-
128 &&
|
|
181
|
+
128 && n(
|
|
182
182
|
e,
|
|
183
183
|
"clientstyling",
|
|
184
184
|
/*clientstyling*/
|
|
185
185
|
t[7]
|
|
186
186
|
), a & /*clientstylingurl*/
|
|
187
|
-
256 &&
|
|
187
|
+
256 && n(
|
|
188
188
|
e,
|
|
189
189
|
"clientstylingurl",
|
|
190
190
|
/*clientstylingurl*/
|
|
191
191
|
t[8]
|
|
192
192
|
), a & /*livecasino*/
|
|
193
|
-
512 &&
|
|
193
|
+
512 && n(
|
|
194
194
|
e,
|
|
195
195
|
"livecasino",
|
|
196
196
|
/*livecasino*/
|
|
197
197
|
t[9]
|
|
198
198
|
), a & /*visiblegames*/
|
|
199
|
-
16384 &&
|
|
199
|
+
16384 && n(
|
|
200
200
|
e,
|
|
201
201
|
"visiblegames",
|
|
202
202
|
/*visiblegames*/
|
|
203
203
|
t[14]
|
|
204
204
|
), a & /*gamepagemodalurl*/
|
|
205
|
-
8192 &&
|
|
205
|
+
8192 && n(
|
|
206
206
|
e,
|
|
207
207
|
"gamepagemodalurl",
|
|
208
208
|
/*gamepagemodalurl*/
|
|
209
209
|
t[13]
|
|
210
210
|
), a & /*integratedgameframedesktop*/
|
|
211
|
-
2048 &&
|
|
211
|
+
2048 && n(
|
|
212
212
|
e,
|
|
213
213
|
"integratedgameframedesktop",
|
|
214
214
|
/*integratedgameframedesktop*/
|
|
215
215
|
t[11]
|
|
216
216
|
), a & /*integratedgameframemobile*/
|
|
217
|
-
1024 &&
|
|
217
|
+
1024 && n(
|
|
218
218
|
e,
|
|
219
219
|
"integratedgameframemobile",
|
|
220
220
|
/*integratedgameframemobile*/
|
|
221
221
|
t[10]
|
|
222
222
|
), a & /*casinomygames*/
|
|
223
|
-
65536 &&
|
|
223
|
+
65536 && n(
|
|
224
224
|
e,
|
|
225
225
|
"casinomygames",
|
|
226
226
|
/*casinomygames*/
|
|
227
227
|
t[16]
|
|
228
228
|
), a & /*mbsource*/
|
|
229
|
-
64 &&
|
|
229
|
+
64 && n(
|
|
230
230
|
e,
|
|
231
231
|
"mbsource",
|
|
232
232
|
/*mbsource*/
|
|
@@ -234,49 +234,49 @@ function L(n) {
|
|
|
234
234
|
);
|
|
235
235
|
},
|
|
236
236
|
d(t) {
|
|
237
|
-
t &&
|
|
237
|
+
t && q(e);
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function P(s) {
|
|
242
242
|
let e, t = (
|
|
243
243
|
/*session*/
|
|
244
|
-
|
|
244
|
+
s[4] && M(s)
|
|
245
245
|
);
|
|
246
246
|
return {
|
|
247
247
|
c() {
|
|
248
|
-
e =
|
|
248
|
+
e = D("div"), t && t.c(), K(e, "class", "CasinoFavoritesSectionContainer");
|
|
249
249
|
},
|
|
250
250
|
m(a, g) {
|
|
251
|
-
|
|
251
|
+
A(a, e, g), t && t.m(e, null), s[19](e);
|
|
252
252
|
},
|
|
253
253
|
p(a, [g]) {
|
|
254
254
|
/*session*/
|
|
255
|
-
a[4] ? t ? t.p(a, g) : (t =
|
|
255
|
+
a[4] ? t ? t.p(a, g) : (t = M(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
|
|
256
256
|
},
|
|
257
|
-
i:
|
|
258
|
-
o:
|
|
257
|
+
i: L,
|
|
258
|
+
o: L,
|
|
259
259
|
d(a) {
|
|
260
|
-
a &&
|
|
260
|
+
a && q(e), t && t.d(), s[19](null);
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
263
|
}
|
|
264
|
-
function W(
|
|
264
|
+
function W(s, e, t) {
|
|
265
265
|
let { endpoint: a = "" } = e, { datasource: g = "" } = e, { currency: u = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { mbsource: r } = e, { clientstyling: o = "" } = e, { clientstylingurl: c = "" } = e, { livecasino: y = "false" } = e, { integratedgameframemobile: b = "false" } = e, { integratedgameframedesktop: v = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: _ = "false" } = e, { visiblegames: k = "" } = e, { favorites: C = "" } = e, { casinomygames: S = "false" } = e, { fetchviaevent: F = "true" } = e, m;
|
|
266
|
-
|
|
266
|
+
G({ withLocale: "en", translations: {} }), N(() => () => {
|
|
267
267
|
});
|
|
268
|
-
function
|
|
269
|
-
|
|
268
|
+
function I(i) {
|
|
269
|
+
Q[i ? "unshift" : "push"](() => {
|
|
270
270
|
m = i, t(18, m);
|
|
271
271
|
});
|
|
272
272
|
}
|
|
273
|
-
return
|
|
273
|
+
return s.$$set = (i) => {
|
|
274
274
|
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, g = i.datasource), "currency" in i && t(2, u = i.currency), "lang" in i && t(3, f = i.lang), "session" in i && t(4, h = i.session), "userid" in i && t(5, d = i.userid), "mbsource" in i && t(6, r = i.mbsource), "clientstyling" in i && t(7, o = i.clientstyling), "clientstylingurl" in i && t(8, c = i.clientstylingurl), "livecasino" in i && t(9, y = i.livecasino), "integratedgameframemobile" in i && t(10, b = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(11, v = i.integratedgameframedesktop), "showgamename" in i && t(12, w = i.showgamename), "gamepagemodalurl" in i && t(13, _ = i.gamepagemodalurl), "visiblegames" in i && t(14, k = i.visiblegames), "favorites" in i && t(15, C = i.favorites), "casinomygames" in i && t(16, S = i.casinomygames), "fetchviaevent" in i && t(17, F = i.fetchviaevent);
|
|
275
|
-
},
|
|
276
|
-
|
|
277
|
-
262272 && o && m &&
|
|
278
|
-
262400 && c && m &&
|
|
279
|
-
262208 && r && m &&
|
|
275
|
+
}, s.$$.update = () => {
|
|
276
|
+
s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
277
|
+
262272 && o && m && T(m, o), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
278
|
+
262400 && c && m && U(m, c), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
279
|
+
262208 && r && m && V(m, `${r}.Style`);
|
|
280
280
|
}, [
|
|
281
281
|
a,
|
|
282
282
|
g,
|
|
@@ -297,7 +297,7 @@ function W(n, e, t) {
|
|
|
297
297
|
S,
|
|
298
298
|
F,
|
|
299
299
|
m,
|
|
300
|
-
|
|
300
|
+
I
|
|
301
301
|
];
|
|
302
302
|
}
|
|
303
303
|
class X extends R {
|
|
@@ -306,8 +306,8 @@ class X extends R {
|
|
|
306
306
|
this,
|
|
307
307
|
e,
|
|
308
308
|
W,
|
|
309
|
-
|
|
310
|
-
|
|
309
|
+
P,
|
|
310
|
+
z,
|
|
311
311
|
{
|
|
312
312
|
endpoint: 0,
|
|
313
313
|
datasource: 1,
|
|
@@ -328,7 +328,7 @@ class X extends R {
|
|
|
328
328
|
casinomygames: 16,
|
|
329
329
|
fetchviaevent: 17
|
|
330
330
|
},
|
|
331
|
-
|
|
331
|
+
H
|
|
332
332
|
);
|
|
333
333
|
}
|
|
334
334
|
get endpoint() {
|
|
@@ -440,7 +440,7 @@ class X extends R {
|
|
|
440
440
|
this.$$set({ fetchviaevent: e }), l();
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
|
|
443
|
+
B(X, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
|
|
444
444
|
export {
|
|
445
445
|
X as default
|
|
446
446
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-3HhwEwWn.cjs");require("../stencil/ui-image-LuWVcxjH.cjs");function X({withLocale:r,translations:t}){e.$locale.subscribe(l=>{l==null&&(e.$dictionary.set(t),e.$locale.set(r))})}function U(r,t){e.addMessages(r,t)}const Z={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"},"en-us":{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"}};function Y(r){e.append_styles(r,"svelte-rcu873",':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:16}.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, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.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 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 ui-image 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, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.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%}}')}function G(r,t,l){const a=r.slice();return a[36]=t[l],a[37]=t,a[38]=l,a}function $(r){let t,l,a,n,s,g,y,v,F=r[11]("filterby")+"",p,_,b,P,S=r[11]("providers")+"",w,k,f,d,m,I,D,O,C,L,T,W,A,N=r[11]("clear")+"",z,B,M,E,q,J;function H(o,u){return o[7]?le:te}let V=H(r),x=V(r),i=e.ensure_array_like(r[5]),c=[];for(let o=0;o<i.length;o+=1)c[o]=K(G(r,i,o));return{c(){t=e.element("div"),l=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("path"),g=e.space(),y=e.element("div"),v=e.element("span"),p=e.text(F),_=e.space(),b=e.element("div"),P=e.element("span"),w=e.text(S),k=e.space(),x.c(),f=e.space(),d=e.element("span"),m=e.svg_element("svg"),I=e.svg_element("path"),C=e.space(),L=e.element("div"),T=e.element("ul");for(let o=0;o<c.length;o+=1)c[o].c();W=e.space(),A=e.element("button"),z=e.text(N),e.attr(s,"id","noun_filter_736223"),e.attr(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"),e.attr(s,"transform","translate(-5 -6.2)"),e.attr(s,"fill","#fff"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","16"),e.attr(n,"height","16"),e.attr(n,"viewBox","0 0 16 16"),e.attr(v,"class","FilterName"),e.attr(b,"class","FilterValueContainer"),e.attr(y,"class","FilterTextContainer"),e.attr(a,"class","FilterMainArea"),e.attr(I,"id","arrow"),e.attr(I,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),e.attr(I,"transform","translate(-274.511 -441.088)"),e.attr(I,"fill","#d1d1d1"),e.attr(m,"xmlns","http://www.w3.org/2000/svg"),e.attr(m,"width","14"),e.attr(m,"height","6.835"),e.attr(m,"viewBox","0 0 14 6.835"),e.attr(d,"class",D="TriangleInactive "+(r[4]?"TriangleActive":"")),e.attr(l,"class",O="FilterSelector "+(r[4]?"FilterSelectorOpen":"")),e.attr(T,"class","FilterDropdown"),e.attr(A,"class","ClearFilters"),A.disabled=B=r[7]&&r[6].length!=r[5].length,e.attr(L,"class",M="FilterDropdownContainer "+(r[4]?"FilterOpen":"")),e.attr(t,"class",E="FilterContainer "+(r[0]=="true"&&r[1]=="true"?"FilerContainerSplit":""))},m(o,u){e.insert(o,t,u),e.append(t,l),e.append(l,a),e.append(a,n),e.append(n,s),e.append(a,g),e.append(a,y),e.append(y,v),e.append(v,p),e.append(y,_),e.append(y,b),e.append(b,P),e.append(P,w),e.append(b,k),x.m(b,null),e.append(l,f),e.append(l,d),e.append(d,m),e.append(m,I),e.append(t,C),e.append(t,L),e.append(L,T);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(T,null);e.append(L,W),e.append(L,A),e.append(A,z),q||(J=[e.listen(l,"click",r[23]),e.listen(A,"click",r[26])],q=!0)},p(o,u){if(u[0]&2048&&F!==(F=o[11]("filterby")+"")&&e.set_data(p,F),u[0]&2048&&S!==(S=o[11]("providers")+"")&&e.set_data(w,S),V===(V=H(o))&&x?x.p(o,u):(x.d(1),x=V(o),x&&(x.c(),x.m(b,null))),u[0]&16&&D!==(D="TriangleInactive "+(o[4]?"TriangleActive":""))&&e.attr(d,"class",D),u[0]&16&&O!==(O="FilterSelector "+(o[4]?"FilterSelectorOpen":""))&&e.attr(l,"class",O),u[0]&8228){i=e.ensure_array_like(o[5]);let h;for(h=0;h<i.length;h+=1){const j=G(o,i,h);c[h]?c[h].p(j,u):(c[h]=K(j),c[h].c(),c[h].m(T,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=i.length}u[0]&2048&&N!==(N=o[11]("clear")+"")&&e.set_data(z,N),u[0]&224&&B!==(B=o[7]&&o[6].length!=o[5].length)&&(A.disabled=B),u[0]&16&&M!==(M="FilterDropdownContainer "+(o[4]?"FilterOpen":""))&&e.attr(L,"class",M),u[0]&3&&E!==(E="FilterContainer "+(o[0]=="true"&&o[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",E)},d(o){o&&e.detach(t),x.d(),e.destroy_each(c,o),q=!1,e.run_all(J)}}}function ee(r){let t,l=r[11]("500")+"",a;return{c(){t=e.element("p"),a=e.text(l),e.attr(t,"class","SearchLoading")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&l!==(l=n[11]("500")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function te(r){let t,l;return{c(){t=e.element("span"),l=e.text(r[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,l)},p(a,n){n[0]&256&&e.set_data(l,a[8])},d(a){a&&e.detach(t)}}}function le(r){let t,l=r[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(l),e.attr(t,"class","FilterCounter")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&l!==(l=n[11]("all")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function re(r){let t,l;return{c(){t=e.element("ui-image"),e.src_url_equal(t.src,l=r[36].logo)||e.set_custom_element_data(t,"src",l),e.set_custom_element_data(t,"alt","vendor logo")},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&32&&!e.src_url_equal(t.src,l=a[36].logo)&&e.set_custom_element_data(t,"src",l)},d(a){a&&e.detach(t)}}}function ie(r){let t,l,a=r[36].name+"",n,s,g,y,v=r[36].games.total+"",F,p;return{c(){t=e.element("div"),l=e.element("span"),n=e.text(a),s=e.space(),g=e.element("span"),y=e.text("("),F=e.text(v),p=e.text(")"),e.attr(l,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(_,b){e.insert(_,t,b),e.append(t,l),e.append(l,n),e.append(t,s),e.append(t,g),e.append(g,y),e.append(g,F),e.append(g,p)},p(_,b){b[0]&32&&a!==(a=_[36].name+"")&&e.set_data(n,a),b[0]&32&&v!==(v=_[36].games.total+"")&&e.set_data(F,v)},d(_){_&&e.detach(t)}}}function K(r){let t,l,a,n,s,g,y,v,F,p,_,b;function P(){r[24].call(a,r[37],r[38])}function S(){return r[25](r[36])}function w(d,m){if(d[2]==="false")return ie;if(d[2]==="true")return re}let k=w(r),f=k&&k(r);return{c(){t=e.element("li"),l=e.element("label"),a=e.element("input"),s=e.space(),g=e.element("span"),y=e.space(),f&&f.c(),v=e.space(),e.attr(a,"type","checkbox"),e.attr(a,"name","checkbox"),a.__value=n=r[36].name,e.set_input_value(a,a.__value),e.attr(g,"class","FiltersCheckmark"),e.attr(l,"class","FilterLabel"),e.attr(t,"class",F="FilterItem "+(r[2]==="true"?"FilterItemWithLogos":"")),t.value=p=r[36].name},m(d,m){e.insert(d,t,m),e.append(t,l),e.append(l,a),a.checked=r[36].isFilterSelected,e.append(l,s),e.append(l,g),e.append(l,y),f&&f.m(l,null),e.append(t,v),_||(b=[e.listen(a,"change",P),e.listen(a,"click",S)],_=!0)},p(d,m){r=d,m[0]&32&&n!==(n=r[36].name)&&(a.__value=n,e.set_input_value(a,a.__value)),m[0]&32&&(a.checked=r[36].isFilterSelected),k===(k=w(r))&&f?f.p(r,m):(f&&f.d(1),f=k&&k(r),f&&(f.c(),f.m(l,null))),m[0]&4&&F!==(F="FilterItem "+(r[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",F),m[0]&32&&p!==(p=r[36].name)&&(t.value=p)},d(d){d&&e.detach(t),f&&f.d(),_=!1,e.run_all(b)}}}function ae(r){let t;function l(s,g){if(s[10])return ee;if(!s[9])return $}let a=l(r),n=a&&a(r);return{c(){t=e.element("div"),n&&n.c()},m(s,g){e.insert(s,t,g),n&&n.m(t,null),r[27](t)},p(s,g){a===(a=l(s))&&n?n.p(s,g):(n&&n.d(1),n=a&&a(s),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),n&&n.d(),r[27](null)}}}function ne(r,t,l){let a;e.component_subscribe(r,e.$format,i=>l(11,a=i));let{endpoint:n=""}=t,{datasource:s=""}=t,{lang:g=""}=t,{translationurl:y=""}=t,{clientstyling:v=""}=t,{clientstylingurl:F=""}=t,{categoryid:p=""}=t,{addfilterselector:_="false"}=t,{addsortingselector:b="false"}=t,{filterbylogo:P="false"}=t,{mbsource:S}=t,w=!1,k=window.navigator.userAgent,f=[],d=[],m={},I=!1,D=0,O=!0,C,L=!1;X({withLocale:"en",translations:{}});const T=()=>{fetch(y).then(c=>c.json()).then(c=>{Object.keys(c).forEach(o=>{U(o,c[o])})}).catch(c=>{console.log(c)})};Object.keys(Z).forEach(i=>{U(i,Z[i])}),m[p]&&(m={[p]:[]});const W=()=>{l(4,w=!w),window.postMessage({type:"FilterOpened"},window.location.href)},A=i=>(l(9,O=!0),new Promise((c,o)=>{fetch(i).then(u=>u.json()).then(u=>{u=u.items,c(u.items),l(6,d=[]);let h=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));u.forEach(j=>{var R;h||(h={currentCategoryId:[]}),((R=h[p])==null?void 0:R.indexOf(j.id))>=0?(j.isFilterSelected=!0,d.push(j)):j.isFilterSelected=!1}),l(5,f=u),z()}).catch(u=>{console.error(u),l(10,L=!0),o(u)}).finally(()=>{l(9,O=!1)})})),N=i=>{let c=localStorage.getItem("vendorFiltersByCategory");i.isFilterSelected=!i.isFilterSelected,!d.length||d.filter(o=>o.name===i.name).length==0?d.push(i):l(6,d=d.filter(o=>o.name!==i.name)),c==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(m={[p]:d.map(o=>o.id)})):(c=JSON.parse(c),c[p]=d.map(o=>o.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(c))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),z()},z=()=>{l(7,I=d.length===f.length||d.length==0),l(8,D=d.length)},B=()=>{const i=new URL(`${n}/v1/casino/vendors`);l(4,w=!1),i.searchParams.append("fields","id,name,logo,subVendors,games"),i.searchParams.append("language",g),i.searchParams.append("datasource",s),i.searchParams.append("platform",e.getDevice(k)),(p.match(/\$/g)||[]).length>1?(i.searchParams.append("filter",`games(subGroups=${p})`),i.searchParams.append("subVendors",`games(subGroups=${p})`)):i.searchParams.append("filter",`games(groups=${p})`),A(i)},M=()=>{l(6,d=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(m={[p]:d.map(i=>i.id)})),f.forEach(i=>i.isFilterSelected=!1),l(5,f),window.postMessage({type:"ApplyFilters"},window.location.href),l(7,I=!0),l(4,w=!1)},E=i=>{i.data.type=="SortingOpened"&&l(4,w=!1)};e.onMount(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)}));const q=()=>W();function J(i,c){i[c].isFilterSelected=this.checked,l(5,f)}const H=i=>N(i),V=()=>M();function x(i){e.binding_callbacks[i?"unshift":"push"](()=>{C=i,l(3,C)})}return r.$$set=i=>{"endpoint"in i&&l(15,n=i.endpoint),"datasource"in i&&l(16,s=i.datasource),"lang"in i&&l(17,g=i.lang),"translationurl"in i&&l(18,y=i.translationurl),"clientstyling"in i&&l(19,v=i.clientstyling),"clientstylingurl"in i&&l(20,F=i.clientstylingurl),"categoryid"in i&&l(21,p=i.categoryid),"addfilterselector"in i&&l(0,_=i.addfilterselector),"addsortingselector"in i&&l(1,b=i.addsortingselector),"filterbylogo"in i&&l(2,P=i.filterbylogo),"mbsource"in i&&l(22,S=i.mbsource)},r.$$.update=()=>{r.$$.dirty[0]&2195460&&n&&s&&p&&P&&B(),r.$$.dirty[0]&524296&&v&&C&&e.setClientStyling(C,v),r.$$.dirty[0]&1048584&&F&&C&&e.setClientStylingURL(C,F),r.$$.dirty[0]&4194312&&C&&e.setStreamStyling(C,`${S}.Style`),r.$$.dirty[0]&262144&&y&&T()},[_,b,P,C,w,f,d,I,D,O,L,a,W,N,M,n,s,g,y,v,F,p,S,q,J,H,V,x]}class Q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ne,ae,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2,mbsource:22},Y,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get categoryid(){return this.$$.ctx[21]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(Q,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{}},[],[],!0);exports.default=Q;
|