@everymatrix/casino-last-played-section 1.87.38 → 1.87.40

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.
Files changed (19) hide show
  1. package/components/{CasinoFilter-RGuOjNV-.js → CasinoFilter-BGbdLmNb.js} +115 -114
  2. package/components/{CasinoFilter-Bq27fkl0.cjs → CasinoFilter-CeXUPKNn.cjs} +1 -1
  3. package/components/{CasinoFilter-ur0N0e_q.js → CasinoFilter-erjAS5u7.js} +116 -115
  4. package/components/{CasinoGameThumbnail-D8eKiOCc.cjs → CasinoGameThumbnail-BQhF1guo.cjs} +1 -1
  5. package/components/{CasinoGameThumbnail-Ck10-v-p.js → CasinoGameThumbnail-CcpK-ENB.js} +2 -2
  6. package/components/{CasinoGameThumbnail-CWi08UB2.js → CasinoGameThumbnail-NDT8Z7TI.js} +2 -2
  7. package/components/{CasinoGamesCategorySection-BxPHrlVj.js → CasinoGamesCategorySection-BBKpAFe2.js} +4 -4
  8. package/components/{CasinoGamesCategorySection-BIc39Efl.js → CasinoGamesCategorySection-DjHvJC-w.js} +4 -4
  9. package/components/{CasinoGamesCategorySection-Y8eLR0W5.cjs → CasinoGamesCategorySection-iBpGKd-y.cjs} +2 -2
  10. package/components/{CasinoLastPlayedSection-DrrWbeZS.cjs → CasinoLastPlayedSection-BBp356hi.cjs} +1 -1
  11. package/components/{CasinoLastPlayedSection-tw4aeVIv.js → CasinoLastPlayedSection-BTimobYP.js} +1 -1
  12. package/components/{CasinoLastPlayedSection-jaTKdLsf.js → CasinoLastPlayedSection-mwpAVpa9.js} +1 -1
  13. package/components/{CasinoSort-CwwPvIGU.cjs → CasinoSort-BMl33Jsp.cjs} +1 -1
  14. package/components/{CasinoSort-OyxicsAe.js → CasinoSort-BYnQjt_a.js} +1 -1
  15. package/components/{CasinoSort-CliCKl9a.js → CasinoSort-Bt_Bp_JQ.js} +1 -1
  16. package/es2015/casino-last-played-section.cjs +1 -1
  17. package/es2015/casino-last-played-section.js +1 -1
  18. package/esnext/casino-last-played-section.js +1 -1
  19. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { $ as ie, M 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 j, c as z, e as u, h as we, j as _e, t as ke, k as Ce, g as n, w as ne, A as xe, N as ue, u as q, m as o, B as te, C as ee, q as O, v as B, O as oe, I as se, D as Se, E as Ie, F as Le, G as Pe, H as Ae } from "./CasinoLastPlayedSection-jaTKdLsf.js";
1
+ import { $ as ie, M 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, e as g, h as we, j as _e, t as ke, k as Ce, g as n, w as ne, A as xe, N as ge, u as G, m as o, B as te, C as ee, q as O, v as T, O as oe, I as se, D as Se, E as Ie, F as Le, G as Pe, H as Ae } from "./CasinoLastPlayedSection-mwpAVpa9.js";
2
2
  function Oe({ withLocale: r, translations: e }) {
3
3
  ie.subscribe((l) => {
4
4
  l == null && (me.set(e), ie.set(r));
@@ -124,116 +124,116 @@ function fe(r, e, l) {
124
124
  const i = r.slice();
125
125
  return i[37] = e[l], i[38] = e, i[39] = l, i;
126
126
  }
127
- function Te(r) {
127
+ function Be(r) {
128
128
  let e, l, i, a, s, m, v, w, b = (
129
129
  /*$_*/
130
130
  r[11]("filterby") + ""
131
- ), g, C, y, E, A = (
131
+ ), u, C, y, E, P = (
132
132
  /*$_*/
133
133
  r[11]("providers") + ""
134
- ), S, x, F, p, c, P, M, V, G, _, N, X, T, W = (
134
+ ), S, x, F, p, c, A, M, W, R, _, N, D, B, H = (
135
135
  /*$_*/
136
136
  r[11]("clear") + ""
137
- ), R, H, J, U, Z, Q;
137
+ ), U, J, q, Z, K, 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 K = Y(r), I = K(r), D = ne(
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 < D.length; t += 1)
149
- k[t] = ge(fe(r, D, t));
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 = u("div"), l = u("div"), i = u("div"), a = ee("svg"), s = ee("path"), m = O(), v = u("div"), w = u("span"), g = B(b), C = O(), y = u("div"), E = u("span"), S = B(A), x = O(), I.c(), F = O(), p = u("span"), c = ee("svg"), P = ee("path"), G = O(), _ = u("div"), N = u("ul");
152
+ e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = O(), v = g("div"), w = g("span"), u = T(b), C = O(), y = g("div"), E = g("span"), S = T(P), x = O(), I.c(), F = O(), p = g("span"), c = ee("svg"), A = ee("path"), R = O(), _ = g("div"), N = g("ul");
153
153
  for (let t = 0; t < k.length; t += 1)
154
154
  k[t].c();
155
- X = O(), T = u("button"), R = B(W), 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(P, "id", "arrow"), n(P, "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(P, "transform", "translate(-274.511 -441.088)"), n(P, "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
- (r[4] ? "TriangleActive" : "")), n(l, "class", V = "FilterSelector " + /*isFilterActive*/
157
- (r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(T, "class", "ClearFilters"), T.disabled = H = /*fullSelection*/
155
+ D = O(), B = g("button"), U = 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
+ (r[4] ? "TriangleActive" : "")), n(l, "class", W = "FilterSelector " + /*isFilterActive*/
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", J = "FilterDropdownContainer " + /*isFilterActive*/
161
- (r[4] ? "FilterOpen" : "")), n(e, "class", U = "FilterContainer " + /*addfilterselector*/
160
+ r[5].length, n(_, "class", q = "FilterDropdownContainer " + /*isFilterActive*/
161
+ (r[4] ? "FilterOpen" : "")), n(e, "class", Z = "FilterContainer " + /*addfilterselector*/
162
162
  (r[0] == "true" && /*addsortingselector*/
163
163
  r[1] == "true" ? "FilerContainerSplit" : ""));
164
164
  },
165
165
  m(t, d) {
166
- z(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, g), o(v, C), o(v, y), o(y, E), o(E, S), o(y, x), I.m(y, null), o(l, F), o(l, p), o(p, c), o(c, P), o(e, G), o(e, _), o(_, N);
166
+ V(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, u), o(v, C), o(v, y), o(y, E), o(E, S), o(y, x), I.m(y, null), o(l, F), o(l, p), o(p, c), o(c, A), o(e, R), 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(_, X), o(_, T), o(T, R), Z || (Q = [
169
+ o(_, D), o(_, B), o(B, U), K || (X = [
170
170
  te(
171
171
  l,
172
172
  "click",
173
173
  /*click_handler*/
174
- r[24]
174
+ r[25]
175
175
  ),
176
176
  te(
177
- T,
177
+ B,
178
178
  "click",
179
179
  /*click_handler_2*/
180
- r[27]
180
+ r[28]
181
181
  )
182
- ], Z = !0);
182
+ ], K = !0);
183
183
  },
184
184
  p(t, d) {
185
185
  if (d[0] & /*$_*/
186
186
  2048 && b !== (b = /*$_*/
187
- t[11]("filterby") + "") && q(g, b), d[0] & /*$_*/
188
- 2048 && A !== (A = /*$_*/
189
- t[11]("providers") + "") && q(S, A), K === (K = Y(t)) && I ? I.p(t, d) : (I.d(1), I = K(t), I && (I.c(), I.m(y, null))), d[0] & /*isFilterActive*/
187
+ t[11]("filterby") + "") && G(u, b), d[0] & /*$_*/
188
+ 2048 && P !== (P = /*$_*/
189
+ t[11]("providers") + "") && G(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
- 16 && V !== (V = "FilterSelector " + /*isFilterActive*/
193
- (t[4] ? "FilterSelectorOpen" : "")) && n(l, "class", V), d[0] & /*filterbylogo, vendorArray, filterByVendors*/
192
+ 16 && W !== (W = "FilterSelector " + /*isFilterActive*/
193
+ (t[4] ? "FilterSelectorOpen" : "")) && n(l, "class", W), d[0] & /*filterbylogo, vendorArray, filterByVendors*/
194
194
  8228) {
195
- D = ne(
195
+ j = ne(
196
196
  /*vendorArray*/
197
197
  t[5]
198
198
  );
199
199
  let f;
200
- for (f = 0; f < D.length; f += 1) {
201
- const h = fe(t, D, f);
202
- k[f] ? k[f].p(h, d) : (k[f] = ge(h), k[f].c(), k[f].m(N, null));
200
+ for (f = 0; f < j.length; f += 1) {
201
+ const h = fe(t, j, f);
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 = D.length;
206
+ k.length = j.length;
207
207
  }
208
208
  d[0] & /*$_*/
209
- 2048 && W !== (W = /*$_*/
210
- t[11]("clear") + "") && q(R, W), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
- 224 && H !== (H = /*fullSelection*/
209
+ 2048 && H !== (H = /*$_*/
210
+ t[11]("clear") + "") && G(U, H), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
+ 224 && J !== (J = /*fullSelection*/
212
212
  t[7] && /*selectedVendorArray*/
213
213
  t[6].length != /*vendorArray*/
214
- t[5].length) && (T.disabled = H), d[0] & /*isFilterActive*/
215
- 16 && J !== (J = "FilterDropdownContainer " + /*isFilterActive*/
216
- (t[4] ? "FilterOpen" : "")) && n(_, "class", J), d[0] & /*addfilterselector, addsortingselector*/
217
- 3 && U !== (U = "FilterContainer " + /*addfilterselector*/
214
+ t[5].length) && (B.disabled = J), d[0] & /*isFilterActive*/
215
+ 16 && q !== (q = "FilterDropdownContainer " + /*isFilterActive*/
216
+ (t[4] ? "FilterOpen" : "")) && n(_, "class", q), d[0] & /*addfilterselector, addsortingselector*/
217
+ 3 && Z !== (Z = "FilterContainer " + /*addfilterselector*/
218
218
  (t[0] == "true" && /*addsortingselector*/
219
- t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", U);
219
+ t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", Z);
220
220
  },
221
221
  d(t) {
222
- t && j(e), I.d(), xe(k, t), Z = !1, ue(Q);
222
+ t && z(e), I.d(), xe(k, t), K = !1, ge(X);
223
223
  }
224
224
  };
225
225
  }
226
- function Be(r) {
226
+ function Te(r) {
227
227
  let e, l = (
228
228
  /*$_*/
229
229
  r[11]("500") + ""
230
230
  );
231
231
  return {
232
232
  c() {
233
- e = u("p"), n(e, "class", "SearchLoading");
233
+ e = g("p"), n(e, "class", "SearchLoading");
234
234
  },
235
235
  m(i, a) {
236
- z(i, e, a), e.innerHTML = l;
236
+ V(i, e, a), e.innerHTML = l;
237
237
  },
238
238
  p(i, a) {
239
239
  a[0] & /*$_*/
@@ -241,7 +241,7 @@ function Be(r) {
241
241
  i[11]("500") + "") && (e.innerHTML = l);
242
242
  },
243
243
  d(i) {
244
- i && j(e);
244
+ i && z(e);
245
245
  }
246
246
  };
247
247
  }
@@ -249,24 +249,24 @@ function Me(r) {
249
249
  let e, l;
250
250
  return {
251
251
  c() {
252
- e = u("span"), l = B(
252
+ e = g("span"), l = T(
253
253
  /*selectionNumber*/
254
254
  r[8]
255
255
  ), n(e, "class", "FilterCounter");
256
256
  },
257
257
  m(i, a) {
258
- z(i, e, a), o(e, l);
258
+ V(i, e, a), o(e, l);
259
259
  },
260
260
  p(i, a) {
261
261
  a[0] & /*selectionNumber*/
262
- 256 && q(
262
+ 256 && G(
263
263
  l,
264
264
  /*selectionNumber*/
265
265
  i[8]
266
266
  );
267
267
  },
268
268
  d(i) {
269
- i && j(e);
269
+ i && z(e);
270
270
  }
271
271
  };
272
272
  }
@@ -277,18 +277,18 @@ function Ne(r) {
277
277
  ), i;
278
278
  return {
279
279
  c() {
280
- e = u("span"), i = B(l), n(e, "class", "FilterCounter");
280
+ e = g("span"), i = T(l), n(e, "class", "FilterCounter");
281
281
  },
282
282
  m(a, s) {
283
- z(a, e, s), o(e, i);
283
+ V(a, e, s), o(e, i);
284
284
  },
285
285
  p(a, s) {
286
286
  s[0] & /*$_*/
287
287
  2048 && l !== (l = /*$_*/
288
- a[11]("all") + "") && q(i, l);
288
+ a[11]("all") + "") && G(i, l);
289
289
  },
290
290
  d(a) {
291
- a && j(e);
291
+ a && z(e);
292
292
  }
293
293
  };
294
294
  }
@@ -296,11 +296,11 @@ function De(r) {
296
296
  let e, l;
297
297
  return {
298
298
  c() {
299
- e = u("img"), se(e.src, l = /*vendor*/
299
+ e = g("img"), se(e.src, l = /*vendor*/
300
300
  r[37].logo) || n(e, "src", l), n(e, "alt", "vendor logo");
301
301
  },
302
302
  m(i, a) {
303
- z(i, e, a);
303
+ V(i, e, a);
304
304
  },
305
305
  p(i, a) {
306
306
  a[0] & /*vendorArray*/
@@ -308,7 +308,7 @@ function De(r) {
308
308
  i[37].logo) && n(e, "src", l);
309
309
  },
310
310
  d(i) {
311
- i && j(e);
311
+ i && z(e);
312
312
  }
313
313
  };
314
314
  }
@@ -319,30 +319,30 @@ function je(r) {
319
319
  ), a, s, m, v, w = (
320
320
  /*vendor*/
321
321
  r[37].games.total + ""
322
- ), b, g;
322
+ ), b, u;
323
323
  return {
324
324
  c() {
325
- e = u("div"), l = u("span"), a = B(i), s = O(), m = u("span"), v = B("("), b = B(w), g = B(")"), n(l, "class", "VendorName"), n(e, "class", "FilterItemLabel");
325
+ e = g("div"), l = g("span"), a = T(i), s = O(), 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
- z(C, e, y), o(e, l), o(l, a), o(e, s), o(e, m), o(m, v), o(m, b), o(m, g);
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);
329
329
  },
330
330
  p(C, y) {
331
331
  y[0] & /*vendorArray*/
332
332
  32 && i !== (i = /*vendor*/
333
- C[37].name + "") && q(a, i), y[0] & /*vendorArray*/
333
+ C[37].name + "") && G(a, i), y[0] & /*vendorArray*/
334
334
  32 && w !== (w = /*vendor*/
335
- C[37].games.total + "") && q(b, w);
335
+ C[37].games.total + "") && G(b, w);
336
336
  },
337
337
  d(C) {
338
- C && j(e);
338
+ C && z(e);
339
339
  }
340
340
  };
341
341
  }
342
- function ge(r) {
343
- let e, l, i, a, s, m, v, w, b, g, C, y;
342
+ function ue(r) {
343
+ let e, l, i, a, s, m, v, w, b, u, C, y;
344
344
  function E() {
345
- r[25].call(
345
+ r[26].call(
346
346
  i,
347
347
  /*each_value*/
348
348
  r[38],
@@ -350,10 +350,10 @@ function ge(r) {
350
350
  r[39]
351
351
  );
352
352
  }
353
- function A() {
353
+ function P() {
354
354
  return (
355
355
  /*click_handler_1*/
356
- r[26](
356
+ r[27](
357
357
  /*vendor*/
358
358
  r[37]
359
359
  )
@@ -374,16 +374,16 @@ function ge(r) {
374
374
  let x = S(r), F = x && x(r);
375
375
  return {
376
376
  c() {
377
- e = u("li"), l = u("label"), i = u("input"), s = O(), m = u("span"), v = O(), F && F.c(), w = O(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
377
+ e = g("li"), l = g("label"), i = g("input"), s = O(), m = g("span"), v = O(), F && F.c(), w = O(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
378
378
  r[37].name, oe(i, i.__value), n(m, "class", "FiltersCheckmark"), n(l, "class", "FilterLabel"), n(e, "class", b = "FilterItem " + /*filterbylogo*/
379
- (r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = g = /*vendor*/
379
+ (r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = u = /*vendor*/
380
380
  r[37].name;
381
381
  },
382
382
  m(p, c) {
383
- z(p, e, c), o(e, l), o(l, i), i.checked = /*vendor*/
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
385
  te(i, "change", E),
386
- te(i, "click", A)
386
+ te(i, "click", P)
387
387
  ], C = !0);
388
388
  },
389
389
  p(p, c) {
@@ -394,11 +394,11 @@ function ge(r) {
394
394
  r[37].isFilterSelected), x === (x = S(r)) && F ? F.p(r, c) : (F && F.d(1), F = x && x(r), F && (F.c(), F.m(l, null))), c[0] & /*filterbylogo*/
395
395
  4 && b !== (b = "FilterItem " + /*filterbylogo*/
396
396
  (r[2] === "true" ? "FilterItemWithLogos" : "")) && n(e, "class", b), c[0] & /*vendorArray*/
397
- 32 && g !== (g = /*vendor*/
398
- r[37].name) && (e.value = g);
397
+ 32 && u !== (u = /*vendor*/
398
+ r[37].name) && (e.value = u);
399
399
  },
400
400
  d(p) {
401
- p && j(e), F && F.d(), C = !1, ue(y);
401
+ p && z(e), F && F.d(), C = !1, ge(y);
402
402
  }
403
403
  };
404
404
  }
@@ -409,18 +409,18 @@ function ze(r) {
409
409
  /*hasErrors*/
410
410
  s[10]
411
411
  )
412
- return Be;
412
+ return Te;
413
413
  if (!/*isLoading*/
414
414
  s[9])
415
- return Te;
415
+ return Be;
416
416
  }
417
417
  let i = l(r), a = i && i(r);
418
418
  return {
419
419
  c() {
420
- e = u("div"), a && a.c();
420
+ e = g("div"), a && a.c();
421
421
  },
422
422
  m(s, m) {
423
- z(s, e, m), a && a.m(e, null), r[28](e);
423
+ V(s, e, m), a && a.m(e, null), r[29](e);
424
424
  },
425
425
  p(s, m) {
426
426
  i === (i = l(s)) && a ? a.p(s, m) : (a && a.d(1), a = i && i(s), a && (a.c(), a.m(e, null)));
@@ -428,16 +428,16 @@ function ze(r) {
428
428
  i: ae,
429
429
  o: ae,
430
430
  d(s) {
431
- s && j(e), a && a.d(), r[28](null);
431
+ s && z(e), a && a.d(), r[29](null);
432
432
  }
433
433
  };
434
434
  }
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: g = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: E = "false" } = e, { mbsource: A } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], P = {}, M = !1, V = 0, G = !0, _, N = !1, X;
438
+ let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: E = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], A = {}, M = !1, W = 0, R = !0, _, N = !1, D;
439
439
  Oe({ withLocale: "en", translations: {} });
440
- const T = () => {
440
+ const B = () => {
441
441
  fetch(v).then((d) => d.json()).then((d) => {
442
442
  Object.keys(d).forEach((f) => {
443
443
  ce(f, d[f]);
@@ -448,66 +448,66 @@ function Ve(r, e, l) {
448
448
  };
449
449
  Object.keys(de).forEach((t) => {
450
450
  ce(t, de[t]);
451
- }), P[g] && (P = { [g]: [] });
452
- const W = () => {
451
+ }), A[u] && (A = { [u]: [] });
452
+ const H = () => {
453
453
  l(4, x = !x), window.postMessage({ type: "FilterOpened" }, window.location.href);
454
- }, R = (t) => (l(9, G = !0), new Promise((d, f) => {
454
+ }, U = (t) => (l(9, R = !0), new Promise((d, f) => {
455
455
  fetch(t).then((h) => h.json()).then((h) => {
456
456
  h = h.items, d(h.items), l(6, c = []);
457
457
  let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
458
- const pe = S === "true" ? "*" : g;
458
+ const pe = S === "true" ? "*" : u;
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), J();
462
+ }), l(5, p = h), q();
463
463
  }).catch((h) => {
464
464
  console.error(h), l(10, N = !0), f(h);
465
465
  }).finally(() => {
466
- l(9, G = !1);
466
+ l(9, R = !1);
467
467
  });
468
- })), H = (t) => {
468
+ })), J = (t) => {
469
469
  let d = localStorage.getItem("vendorFiltersByCategory");
470
470
  t.isFilterSelected = !t.isFilterSelected, !c.length || c.filter((h) => h.name === t.name).length == 0 ? c.push(t) : l(6, c = c.filter((h) => h.name !== t.name));
471
- const f = S === "true" ? "*" : g;
472
- d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(P = {
471
+ const f = S === "true" ? "*" : u;
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), J();
475
- }, J = () => {
476
- l(7, M = c.length === p.length || c.length == 0), l(8, V = c.length);
477
- }, U = () => {
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), q();
475
+ }, q = () => {
476
+ l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
477
+ }, Z = () => {
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" || ((g.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${g})`), t.searchParams.append("subVendors", `games(subGroups=${g})`)) : t.searchParams.append("filter", `games(groups=${g})`)), R(t);
482
- }, Z = () => {
483
- l(6, c = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(P = {
484
- [S === "true" ? "*" : g]: c.map((t) => t.id)
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})`)), U(t);
482
+ }, K = () => {
483
+ l(6, c = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
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);
486
- }, Q = (t) => {
486
+ }, X = (t) => {
487
487
  t.data.type == "SortingOpened" && l(4, x = !1);
488
488
  };
489
- _e(() => (window.addEventListener("message", Q, !1), () => {
490
- window.removeEventListener("message", Q);
489
+ _e(() => (window.addEventListener("message", X, !1), () => {
490
+ window.emMessageBus != null && D && D.unsubscribe(), window.removeEventListener("message", X);
491
491
  }));
492
- const Y = () => W();
493
- function K(t, d) {
492
+ const Y = () => H();
493
+ function Q(t, d) {
494
494
  t[d].isFilterSelected = this.checked, l(5, p);
495
495
  }
496
- const I = (t) => H(t), D = () => Z();
496
+ const I = (t) => J(t), j = () => K();
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, g = t.categoryid), "addfilterselector" in t && l(0, C = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2, E = t.filterbylogo), "mbsource" in t && l(22, A = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
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, E = 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 && g && E && U(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
506
+ 2195460 && a && s && u && E && Z(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
507
507
  524296 && w && _ && Se(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
508
- 1048584 && b && _ && Ie(_, b), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
509
- 4194312 && _ && Le(_, `${A}.Style`, X), r.$$.dirty[0] & /*translationurl*/
510
- 262144 && v && T();
508
+ 1048584 && b && _ && Ie(_, b), r.$$.dirty[0] & /*mbsource, customStylingContainer, styleSubscription*/
509
+ 20971528 && P && _ && l(24, D = Le(_, `${P}.Style`, D, !0)), r.$$.dirty[0] & /*translationurl*/
510
+ 262144 && v && B();
511
511
  }, [
512
512
  C,
513
513
  y,
@@ -517,26 +517,27 @@ function Ve(r, e, l) {
517
517
  p,
518
518
  c,
519
519
  M,
520
- V,
521
- G,
520
+ W,
521
+ R,
522
522
  N,
523
523
  i,
524
- W,
525
524
  H,
526
- Z,
525
+ J,
526
+ K,
527
527
  a,
528
528
  s,
529
529
  m,
530
530
  v,
531
531
  w,
532
532
  b,
533
- g,
534
- A,
533
+ u,
534
+ P,
535
535
  S,
536
+ D,
536
537
  Y,
537
- K,
538
+ Q,
538
539
  I,
539
- D,
540
+ j,
540
541
  k
541
542
  ];
542
543
  }