@everymatrix/casino-my-games 1.76.1 → 1.76.3

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 (45) hide show
  1. package/components/CasinoFavoritesSection-CmFHDpO7.cjs +16 -0
  2. package/components/{CasinoFavoritesSection-Di1cSQ9-.js → CasinoFavoritesSection-If2B8OpC.js} +371 -369
  3. package/components/{CasinoFavoritesSection-whUWsJTB.js → CasinoFavoritesSection-yOc2QxRG.js} +392 -390
  4. package/components/CasinoFilter-CM8w2vGR.cjs +3 -0
  5. package/components/{CasinoFilter-DCgywIf4.js → CasinoFilter-CcAz_Klh.js} +386 -401
  6. package/components/{CasinoFilter-BsvsQ1oa.js → CasinoFilter-Do2hJD-j.js} +389 -406
  7. package/components/{CasinoGameThumbnail-dsLVA0qN.js → CasinoGameThumbnail-B8CC0LXt.js} +769 -753
  8. package/components/CasinoGameThumbnail-BSjEMXiy.cjs +47 -0
  9. package/components/{CasinoGameThumbnail-zHEqJ4Bq.js → CasinoGameThumbnail-RNY1Q4Pb.js} +1239 -1255
  10. package/components/{CasinoGamesCategorySection-B6wsIXeI.js → CasinoGamesCategorySection-BKG8pOxM.js} +211 -211
  11. package/components/CasinoGamesCategorySection-B_ao6jDA.cjs +1 -0
  12. package/components/{CasinoGamesCategorySection-C8yvTLyO.js → CasinoGamesCategorySection-DRHctoUK.js} +278 -278
  13. package/components/{CasinoLastPlayedSection-Bwwmapw-.cjs → CasinoLastPlayedSection-Bbj1BI0x.cjs} +1 -1
  14. package/components/{CasinoLastPlayedSection-B1DzR1Ry.js → CasinoLastPlayedSection-C0Dvv3DQ.js} +5 -5
  15. package/components/{CasinoLastPlayedSection-D7EJ1xLF.js → CasinoLastPlayedSection-CU4qR3Qa.js} +5 -5
  16. package/components/{CasinoMostPlayedSection-B00aRrl-.cjs → CasinoMostPlayedSection-BDF-IUo8.cjs} +1 -1
  17. package/components/{CasinoMostPlayedSection-j91_hsRC.js → CasinoMostPlayedSection-Bb5RntZQ.js} +6 -6
  18. package/components/{CasinoMostPlayedSection-CTLyVJ5k.js → CasinoMostPlayedSection-CSgMvE8F.js} +6 -6
  19. package/components/{CasinoMyGames-DHlANOxM.js → CasinoMyGames-DEGq8OGo.js} +8 -8
  20. package/components/{CasinoMyGames-BT0LKuCC.js → CasinoMyGames-DTvYFTfZ.js} +8 -8
  21. package/components/{CasinoMyGames-DTW0btGK.cjs → CasinoMyGames-v8AnH6vJ.cjs} +1 -1
  22. package/components/{CasinoSort-CUkMt0Ha.cjs → CasinoSort-BBneYHMI.cjs} +1 -1
  23. package/components/{CasinoSort-3xHLaz_v.js → CasinoSort-BBrIdlpe.js} +105 -104
  24. package/components/{CasinoSort-CtQFYnwR.js → CasinoSort-DzAeZ-xs.js} +112 -113
  25. package/es2015/casino-my-games.cjs +1 -1
  26. package/es2015/casino-my-games.js +1 -1
  27. package/esnext/casino-my-games.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  30. package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
  31. package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
  32. package/stencil/{ui-image-BW8AeEVd.js → ui-image-CYuYAlOX.js} +1 -1
  33. package/stencil/{ui-image-CX3MBBZL.js → ui-image-D3_FGUyo.js} +1 -1
  34. package/stencil/{ui-image-BMiZteNE.cjs → ui-image-DJWD4G-S.cjs} +1 -1
  35. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  36. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  37. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  38. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-CzFe50WB.js} +2 -2
  39. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  40. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-z5LhXZY2.js} +2 -2
  41. package/components/CasinoFavoritesSection-C0m7-__h.cjs +0 -16
  42. package/components/CasinoFilter-AFKLPKNC.cjs +0 -3
  43. package/components/CasinoGameThumbnail-C6L_ZhO6.cjs +0 -47
  44. package/components/CasinoGamesCategorySection-DolMRF6K.cjs +0 -1
  45. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
@@ -1,14 +1,14 @@
1
- import { _ as ue, a as fe, b as de, c as $, $ as be, d as Re, e as He, S as Je, i as Ne, f as L, g as Ye, s as qe, h as Ge, j as y, k as z, n as ge, l as U, m as Ze, o as Ke, p as Qe, q as Xe, r as $e, t as et, u as ve, v as re, w as O, x as j, y as c, z as f, A as le, B as N, C as tt, D as Oe, E as ye, F as rt, G as _e } from "./CasinoFavoritesSection-whUWsJTB.js";
2
- function M(r) {
1
+ import { _ as ae, a as ce, b as ue, c as Q, $ as pe, d as We, e as ze, S as Ue, i as Ve, f as I, g as Ne, s as Re, h as He, j as y, k as W, n as he, l as z, m as Je, o as Ye, p as qe, q as Ge, r as Ze, t as Ke, u as me, v as re, w as T, x as A, y as u, z as d, A as le, B as H, C as Qe, D as Ie, E as be, F as Xe, G as ge } from "./CasinoFavoritesSection-If2B8OpC.js";
2
+ function j(r) {
3
3
  return typeof r == "function";
4
4
  }
5
- function Ae(r) {
5
+ function Le(r) {
6
6
  var t = function(i) {
7
7
  Error.call(i), i.stack = new Error().stack;
8
8
  }, e = r(t);
9
9
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
10
10
  }
11
- var ae = Ae(function(r) {
11
+ var se = Le(function(r) {
12
12
  return function(e) {
13
13
  r(this), this.message = e ? e.length + ` errors occurred during unsubscription:
14
14
  ` + e.map(function(i, n) {
@@ -17,7 +17,7 @@ var ae = Ae(function(r) {
17
17
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
18
18
  };
19
19
  });
20
- function pe(r, t) {
20
+ function fe(r, t) {
21
21
  if (r) {
22
22
  var e = r.indexOf(t);
23
23
  0 <= e && r.splice(e, 1);
@@ -28,22 +28,22 @@ var oe = function() {
28
28
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
29
29
  }
30
30
  return r.prototype.unsubscribe = function() {
31
- var t, e, i, n, o;
31
+ var t, e, i, n, l;
32
32
  if (!this.closed) {
33
33
  this.closed = !0;
34
34
  var s = this._parentage;
35
35
  if (s)
36
36
  if (this._parentage = null, Array.isArray(s))
37
37
  try {
38
- for (var a = ue(s), u = a.next(); !u.done; u = a.next()) {
39
- var m = u.value;
40
- m.remove(this);
38
+ for (var c = ae(s), f = c.next(); !f.done; f = c.next()) {
39
+ var b = f.value;
40
+ b.remove(this);
41
41
  }
42
- } catch (b) {
43
- t = { error: b };
42
+ } catch (g) {
43
+ t = { error: g };
44
44
  } finally {
45
45
  try {
46
- u && !u.done && (e = a.return) && e.call(a);
46
+ f && !f.done && (e = c.return) && e.call(c);
47
47
  } finally {
48
48
  if (t)
49
49
  throw t.error;
@@ -51,44 +51,44 @@ var oe = function() {
51
51
  }
52
52
  else
53
53
  s.remove(this);
54
- var d = this.initialTeardown;
55
- if (M(d))
54
+ var h = this.initialTeardown;
55
+ if (j(h))
56
56
  try {
57
- d();
58
- } catch (b) {
59
- o = b instanceof ae ? b.errors : [b];
57
+ h();
58
+ } catch (g) {
59
+ l = g instanceof se ? g.errors : [g];
60
60
  }
61
- var F = this._finalizers;
62
- if (F) {
61
+ var w = this._finalizers;
62
+ if (w) {
63
63
  this._finalizers = null;
64
64
  try {
65
- for (var v = ue(F), P = v.next(); !P.done; P = v.next()) {
66
- var E = P.value;
65
+ for (var v = ae(w), k = v.next(); !k.done; k = v.next()) {
66
+ var P = k.value;
67
67
  try {
68
- we(E);
69
- } catch (b) {
70
- o = o != null ? o : [], b instanceof ae ? o = fe(fe([], de(o)), de(b.errors)) : o.push(b);
68
+ ve(P);
69
+ } catch (g) {
70
+ l = l ?? [], g instanceof se ? l = ce(ce([], ue(l)), ue(g.errors)) : l.push(g);
71
71
  }
72
72
  }
73
- } catch (b) {
74
- i = { error: b };
73
+ } catch (g) {
74
+ i = { error: g };
75
75
  } finally {
76
76
  try {
77
- P && !P.done && (n = v.return) && n.call(v);
77
+ k && !k.done && (n = v.return) && n.call(v);
78
78
  } finally {
79
79
  if (i)
80
80
  throw i.error;
81
81
  }
82
82
  }
83
83
  }
84
- if (o)
85
- throw new ae(o);
84
+ if (l)
85
+ throw new se(l);
86
86
  }
87
87
  }, r.prototype.add = function(t) {
88
88
  var e;
89
89
  if (t && t !== this)
90
90
  if (this.closed)
91
- we(t);
91
+ ve(t);
92
92
  else {
93
93
  if (t instanceof r) {
94
94
  if (t.closed || t._hasParent(this))
@@ -105,56 +105,56 @@ var oe = function() {
105
105
  this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
106
106
  }, r.prototype._removeParent = function(t) {
107
107
  var e = this._parentage;
108
- e === t ? this._parentage = null : Array.isArray(e) && pe(e, t);
108
+ e === t ? this._parentage = null : Array.isArray(e) && fe(e, t);
109
109
  }, r.prototype.remove = function(t) {
110
110
  var e = this._finalizers;
111
- e && pe(e, t), t instanceof r && t._removeParent(this);
111
+ e && fe(e, t), t instanceof r && t._removeParent(this);
112
112
  }, r.EMPTY = function() {
113
113
  var t = new r();
114
114
  return t.closed = !0, t;
115
115
  }(), r;
116
- }(), je = oe.EMPTY;
117
- function Me(r) {
118
- return r instanceof oe || r && "closed" in r && M(r.remove) && M(r.add) && M(r.unsubscribe);
116
+ }(), Oe = oe.EMPTY;
117
+ function Te(r) {
118
+ return r instanceof oe || r && "closed" in r && j(r.remove) && j(r.add) && j(r.unsubscribe);
119
119
  }
120
- function we(r) {
121
- M(r) ? r() : r.unsubscribe();
120
+ function ve(r) {
121
+ j(r) ? r() : r.unsubscribe();
122
122
  }
123
- var Be = {
123
+ var $e = {
124
124
  onUnhandledError: null,
125
125
  onStoppedNotification: null,
126
126
  Promise: void 0,
127
127
  useDeprecatedSynchronousErrorHandling: !1,
128
128
  useDeprecatedNextContext: !1
129
- }, it = {
129
+ }, et = {
130
130
  setTimeout: function(r, t) {
131
131
  for (var e = [], i = 2; i < arguments.length; i++)
132
132
  e[i - 2] = arguments[i];
133
- return setTimeout.apply(void 0, fe([r, t], de(e)));
133
+ return setTimeout.apply(void 0, ce([r, t], ue(e)));
134
134
  },
135
135
  clearTimeout: function(r) {
136
136
  return clearTimeout(r);
137
137
  },
138
138
  delegate: void 0
139
139
  };
140
- function nt(r) {
141
- it.setTimeout(function() {
140
+ function tt(r) {
141
+ et.setTimeout(function() {
142
142
  throw r;
143
143
  });
144
144
  }
145
- function Fe() {
145
+ function ye() {
146
146
  }
147
147
  function ne(r) {
148
148
  r();
149
149
  }
150
- var De = function(r) {
151
- $(t, r);
150
+ var Ae = function(r) {
151
+ Q(t, r);
152
152
  function t(e) {
153
153
  var i = r.call(this) || this;
154
- return i.isStopped = !1, e ? (i.destination = e, Me(e) && e.add(i)) : i.destination = at, i;
154
+ return i.isStopped = !1, e ? (i.destination = e, Te(e) && e.add(i)) : i.destination = nt, i;
155
155
  }
156
156
  return t.create = function(e, i, n) {
157
- return new he(e, i, n);
157
+ return new de(e, i, n);
158
158
  }, t.prototype.next = function(e) {
159
159
  this.isStopped || this._next(e);
160
160
  }, t.prototype.error = function(e) {
@@ -178,11 +178,7 @@ var De = function(r) {
178
178
  this.unsubscribe();
179
179
  }
180
180
  }, t;
181
- }(oe), lt = Function.prototype.bind;
182
- function ce(r, t) {
183
- return lt.call(r, t);
184
- }
185
- var ot = function() {
181
+ }(oe), rt = function() {
186
182
  function r(t) {
187
183
  this.partialObserver = t;
188
184
  }
@@ -213,55 +209,43 @@ var ot = function() {
213
209
  ie(e);
214
210
  }
215
211
  }, r;
216
- }(), he = function(r) {
217
- $(t, r);
212
+ }(), de = function(r) {
213
+ Q(t, r);
218
214
  function t(e, i, n) {
219
- var o = r.call(this) || this, s;
220
- if (M(e) || !e)
221
- s = {
222
- next: e != null ? e : void 0,
223
- error: i != null ? i : void 0,
224
- complete: n != null ? n : void 0
225
- };
226
- else {
227
- var a;
228
- o && Be.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
229
- return o.unsubscribe();
230
- }, s = {
231
- next: e.next && ce(e.next, a),
232
- error: e.error && ce(e.error, a),
233
- complete: e.complete && ce(e.complete, a)
234
- }) : s = e;
235
- }
236
- return o.destination = new ot(s), o;
215
+ var l = r.call(this) || this, s;
216
+ return j(e) || !e ? s = {
217
+ next: e ?? void 0,
218
+ error: i ?? void 0,
219
+ complete: n ?? void 0
220
+ } : s = e, l.destination = new rt(s), l;
237
221
  }
238
222
  return t;
239
- }(De);
223
+ }(Ae);
240
224
  function ie(r) {
241
- nt(r);
225
+ tt(r);
242
226
  }
243
- function st(r) {
227
+ function it(r) {
244
228
  throw r;
245
229
  }
246
- var at = {
230
+ var nt = {
247
231
  closed: !0,
248
- next: Fe,
249
- error: st,
250
- complete: Fe
251
- }, ct = function() {
232
+ next: ye,
233
+ error: it,
234
+ complete: ye
235
+ }, lt = function() {
252
236
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
253
237
  }();
254
- function ut(r) {
238
+ function ot(r) {
255
239
  return r;
256
240
  }
257
- function ft(r) {
258
- return r.length === 0 ? ut : r.length === 1 ? r[0] : function(e) {
241
+ function st(r) {
242
+ return r.length === 0 ? ot : r.length === 1 ? r[0] : function(e) {
259
243
  return r.reduce(function(i, n) {
260
244
  return n(i);
261
245
  }, e);
262
246
  };
263
247
  }
264
- var Se = function() {
248
+ var _e = function() {
265
249
  function r(t) {
266
250
  t && (this._subscribe = t);
267
251
  }
@@ -269,11 +253,11 @@ var Se = function() {
269
253
  var e = new r();
270
254
  return e.source = this, e.operator = t, e;
271
255
  }, r.prototype.subscribe = function(t, e, i) {
272
- var n = this, o = pt(t) ? t : new he(t, e, i);
256
+ var n = this, l = ct(t) ? t : new de(t, e, i);
273
257
  return ne(function() {
274
- var s = n, a = s.operator, u = s.source;
275
- o.add(a ? a.call(o, u) : u ? n._subscribe(o) : n._trySubscribe(o));
276
- }), o;
258
+ var s = n, c = s.operator, f = s.source;
259
+ l.add(c ? c.call(l, f) : f ? n._subscribe(l) : n._trySubscribe(l));
260
+ }), l;
277
261
  }, r.prototype._trySubscribe = function(t) {
278
262
  try {
279
263
  return this._subscribe(t);
@@ -282,16 +266,16 @@ var Se = function() {
282
266
  }
283
267
  }, r.prototype.forEach = function(t, e) {
284
268
  var i = this;
285
- return e = Ce(e), new e(function(n, o) {
286
- var s = new he({
287
- next: function(a) {
269
+ return e = Fe(e), new e(function(n, l) {
270
+ var s = new de({
271
+ next: function(c) {
288
272
  try {
289
- t(a);
290
- } catch (u) {
291
- o(u), s.unsubscribe();
273
+ t(c);
274
+ } catch (f) {
275
+ l(f), s.unsubscribe();
292
276
  }
293
277
  },
294
- error: o,
278
+ error: l,
295
279
  complete: n
296
280
  });
297
281
  i.subscribe(s);
@@ -299,70 +283,70 @@ var Se = function() {
299
283
  }, r.prototype._subscribe = function(t) {
300
284
  var e;
301
285
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
302
- }, r.prototype[ct] = function() {
286
+ }, r.prototype[lt] = function() {
303
287
  return this;
304
288
  }, r.prototype.pipe = function() {
305
289
  for (var t = [], e = 0; e < arguments.length; e++)
306
290
  t[e] = arguments[e];
307
- return ft(t)(this);
291
+ return st(t)(this);
308
292
  }, r.prototype.toPromise = function(t) {
309
293
  var e = this;
310
- return t = Ce(t), new t(function(i, n) {
311
- var o;
294
+ return t = Fe(t), new t(function(i, n) {
295
+ var l;
312
296
  e.subscribe(function(s) {
313
- return o = s;
297
+ return l = s;
314
298
  }, function(s) {
315
299
  return n(s);
316
300
  }, function() {
317
- return i(o);
301
+ return i(l);
318
302
  });
319
303
  });
320
304
  }, r.create = function(t) {
321
305
  return new r(t);
322
306
  }, r;
323
307
  }();
324
- function Ce(r) {
308
+ function Fe(r) {
325
309
  var t;
326
- return (t = r != null ? r : Be.Promise) !== null && t !== void 0 ? t : Promise;
310
+ return (t = r ?? $e.Promise) !== null && t !== void 0 ? t : Promise;
327
311
  }
328
- function dt(r) {
329
- return r && M(r.next) && M(r.error) && M(r.complete);
312
+ function at(r) {
313
+ return r && j(r.next) && j(r.error) && j(r.complete);
330
314
  }
331
- function pt(r) {
332
- return r && r instanceof De || dt(r) && Me(r);
315
+ function ct(r) {
316
+ return r && r instanceof Ae || at(r) && Te(r);
333
317
  }
334
- var ht = Ae(function(r) {
318
+ var ut = Le(function(r) {
335
319
  return function() {
336
320
  r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
337
321
  };
338
- }), We = function(r) {
339
- $(t, r);
322
+ }), je = function(r) {
323
+ Q(t, r);
340
324
  function t() {
341
325
  var e = r.call(this) || this;
342
326
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
343
327
  }
344
328
  return t.prototype.lift = function(e) {
345
- var i = new xe(this, this);
329
+ var i = new we(this, this);
346
330
  return i.operator = e, i;
347
331
  }, t.prototype._throwIfClosed = function() {
348
332
  if (this.closed)
349
- throw new ht();
333
+ throw new ut();
350
334
  }, t.prototype.next = function(e) {
351
335
  var i = this;
352
336
  ne(function() {
353
- var n, o;
337
+ var n, l;
354
338
  if (i._throwIfClosed(), !i.isStopped) {
355
339
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
356
340
  try {
357
- for (var s = ue(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
358
- var u = a.value;
359
- u.next(e);
341
+ for (var s = ae(i.currentObservers), c = s.next(); !c.done; c = s.next()) {
342
+ var f = c.value;
343
+ f.next(e);
360
344
  }
361
- } catch (m) {
362
- n = { error: m };
345
+ } catch (b) {
346
+ n = { error: b };
363
347
  } finally {
364
348
  try {
365
- a && !a.done && (o = s.return) && o.call(s);
349
+ c && !c.done && (l = s.return) && l.call(s);
366
350
  } finally {
367
351
  if (n)
368
352
  throw n.error;
@@ -402,21 +386,21 @@ var ht = Ae(function(r) {
402
386
  }, t.prototype._subscribe = function(e) {
403
387
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
404
388
  }, t.prototype._innerSubscribe = function(e) {
405
- var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
406
- return o || s ? je : (this.currentObservers = null, a.push(e), new oe(function() {
407
- i.currentObservers = null, pe(a, e);
389
+ var i = this, n = this, l = n.hasError, s = n.isStopped, c = n.observers;
390
+ return l || s ? Oe : (this.currentObservers = null, c.push(e), new oe(function() {
391
+ i.currentObservers = null, fe(c, e);
408
392
  }));
409
393
  }, t.prototype._checkFinalizedStatuses = function(e) {
410
- var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
411
- n ? e.error(o) : s && e.complete();
394
+ var i = this, n = i.hasError, l = i.thrownError, s = i.isStopped;
395
+ n ? e.error(l) : s && e.complete();
412
396
  }, t.prototype.asObservable = function() {
413
- var e = new Se();
397
+ var e = new _e();
414
398
  return e.source = this, e;
415
399
  }, t.create = function(e, i) {
416
- return new xe(e, i);
400
+ return new we(e, i);
417
401
  }, t;
418
- }(Se), xe = function(r) {
419
- $(t, r);
402
+ }(_e), we = function(r) {
403
+ Q(t, r);
420
404
  function t(e, i) {
421
405
  var n = r.call(this) || this;
422
406
  return n.destination = e, n.source = i, n;
@@ -432,49 +416,49 @@ var ht = Ae(function(r) {
432
416
  (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
433
417
  }, t.prototype._subscribe = function(e) {
434
418
  var i, n;
435
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && n !== void 0 ? n : je;
419
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && n !== void 0 ? n : Oe;
436
420
  }, t;
437
- }(We), ze = {
421
+ }(je), Me = {
438
422
  now: function() {
439
- return (ze.delegate || Date).now();
423
+ return (Me.delegate || Date).now();
440
424
  },
441
425
  delegate: void 0
442
- }, mt = function(r) {
443
- $(t, r);
426
+ }, ft = function(r) {
427
+ Q(t, r);
444
428
  function t(e, i, n) {
445
- e === void 0 && (e = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = ze);
446
- var o = r.call(this) || this;
447
- return o._bufferSize = e, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, e), o._windowTime = Math.max(1, i), o;
429
+ e === void 0 && (e = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Me);
430
+ var l = r.call(this) || this;
431
+ return l._bufferSize = e, l._windowTime = i, l._timestampProvider = n, l._buffer = [], l._infiniteTimeWindow = !0, l._infiniteTimeWindow = i === 1 / 0, l._bufferSize = Math.max(1, e), l._windowTime = Math.max(1, i), l;
448
432
  }
449
433
  return t.prototype.next = function(e) {
450
- var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, a = i._timestampProvider, u = i._windowTime;
451
- n || (o.push(e), !s && o.push(a.now() + u)), this._trimBuffer(), r.prototype.next.call(this, e);
434
+ var i = this, n = i.isStopped, l = i._buffer, s = i._infiniteTimeWindow, c = i._timestampProvider, f = i._windowTime;
435
+ n || (l.push(e), !s && l.push(c.now() + f)), this._trimBuffer(), r.prototype.next.call(this, e);
452
436
  }, t.prototype._subscribe = function(e) {
453
437
  this._throwIfClosed(), this._trimBuffer();
454
- for (var i = this._innerSubscribe(e), n = this, o = n._infiniteTimeWindow, s = n._buffer, a = s.slice(), u = 0; u < a.length && !e.closed; u += o ? 1 : 2)
455
- e.next(a[u]);
438
+ for (var i = this._innerSubscribe(e), n = this, l = n._infiniteTimeWindow, s = n._buffer, c = s.slice(), f = 0; f < c.length && !e.closed; f += l ? 1 : 2)
439
+ e.next(c[f]);
456
440
  return this._checkFinalizedStatuses(e), i;
457
441
  }, t.prototype._trimBuffer = function() {
458
- var e = this, i = e._bufferSize, n = e._timestampProvider, o = e._buffer, s = e._infiniteTimeWindow, a = (s ? 1 : 2) * i;
459
- if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
460
- for (var u = n.now(), m = 0, d = 1; d < o.length && o[d] <= u; d += 2)
461
- m = d;
462
- m && o.splice(0, m + 1);
442
+ var e = this, i = e._bufferSize, n = e._timestampProvider, l = e._buffer, s = e._infiniteTimeWindow, c = (s ? 1 : 2) * i;
443
+ if (i < 1 / 0 && c < l.length && l.splice(0, l.length - c), !s) {
444
+ for (var f = n.now(), b = 0, h = 1; h < l.length && l[h] <= f; h += 2)
445
+ b = h;
446
+ b && l.splice(0, b + 1);
463
447
  }
464
448
  }, t;
465
- }(We);
466
- const ke = [], Pe = {}, bt = (r, t = 0) => {
467
- if (ke.indexOf(r) == -1) {
468
- const e = new mt(t);
469
- Pe[r] = e, ke.push(r);
449
+ }(je);
450
+ const Se = [], xe = {}, dt = (r, t = 0) => {
451
+ if (Se.indexOf(r) == -1) {
452
+ const e = new ft(t);
453
+ xe[r] = e, Se.push(r);
470
454
  }
471
- return Pe[r];
455
+ return xe[r];
472
456
  };
473
- window.emWidgets = { topic: bt };
474
- const gt = (r) => !!(r.toLowerCase().match(/android/i) || r.toLowerCase().match(/blackberry|bb/i) || r.toLowerCase().match(/iphone|ipad|ipod/i) || r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), vt = (r) => r.toLowerCase().match(/android/i) ? "Android" : r.toLowerCase().match(/iphone/i) ? "iPhone" : r.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
475
- function Lt(r, t) {
457
+ window.emWidgets = { topic: dt };
458
+ const pt = (r) => !!(r.toLowerCase().match(/android/i) || r.toLowerCase().match(/blackberry|bb/i) || r.toLowerCase().match(/iphone|ipad|ipod/i) || r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), ht = (r) => r.toLowerCase().match(/android/i) ? "Android" : r.toLowerCase().match(/iphone/i) ? "iPhone" : r.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
459
+ function kt(r, t) {
476
460
  const e = window.navigator.userAgent;
477
- return gt(e) ? t = r.filter((i) => {
461
+ return pt(e) ? t = r.filter((i) => {
478
462
  if (i.gameModel && (i.gameModel.platform.includes("iPad") || i.gameModel.platform.includes("iPhone") || i.gameModel.platform.includes("Android")))
479
463
  return i;
480
464
  }) : t = r.filter((i) => {
@@ -482,15 +466,15 @@ function Lt(r, t) {
482
466
  return i;
483
467
  }), t;
484
468
  }
485
- function yt({ withLocale: r, translations: t }) {
486
- be.subscribe((e) => {
487
- e == null && (Re.set(t), be.set(r));
469
+ function mt({ withLocale: r, translations: t }) {
470
+ pe.subscribe((e) => {
471
+ e == null && (We.set(t), pe.set(r));
488
472
  });
489
473
  }
490
- function Ee(r, t) {
491
- He(r, t);
474
+ function Ce(r, t) {
475
+ ze(r, t);
492
476
  }
493
- const Ie = {
477
+ const ke = {
494
478
  en: {
495
479
  providers: "Providers:",
496
480
  filterby: "Filter by:",
@@ -600,56 +584,56 @@ const Ie = {
600
584
  clear: "Clear all"
601
585
  }
602
586
  };
603
- function _t(r) {
604
- Ge(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%}}');
587
+ function bt(r) {
588
+ He(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%}}');
605
589
  }
606
- function Le(r, t, e) {
590
+ function Pe(r, t, e) {
607
591
  const i = r.slice();
608
592
  return i[37] = t[e], i[38] = t, i[39] = e, i;
609
593
  }
610
- function wt(r) {
611
- let t, e, i, n, o, s, a, u, m = (
594
+ function gt(r) {
595
+ let t, e, i, n, l, s, c, f, b = (
612
596
  /*$_*/
613
597
  r[11]("filterby") + ""
614
- ), d, F, v, P, E = (
598
+ ), h, w, v, k, P = (
615
599
  /*$_*/
616
600
  r[11]("providers") + ""
617
- ), b, k, S, _, p, T, B, V, Y, C, D, Q, A, R = (
601
+ ), g, C, S, _, m, L, M, U, J, x, B, X, O, V = (
618
602
  /*$_*/
619
603
  r[11]("clear") + ""
620
- ), q, H, J, G, Z, X;
621
- function ee(l, h) {
604
+ ), Y, N, q, R, G, $;
605
+ function ee(a, F) {
622
606
  return (
623
607
  /*fullSelection*/
624
- l[7] ? Ct : St
608
+ a[7] ? _t : yt
625
609
  );
626
610
  }
627
- let K = ee(r), I = K(r), W = ve(
611
+ let Z = ee(r), E = Z(r), D = me(
628
612
  /*vendorArray*/
629
613
  r[5]
630
- ), x = [];
631
- for (let l = 0; l < W.length; l += 1)
632
- x[l] = Te(Le(r, W, l));
614
+ ), o = [];
615
+ for (let a = 0; a < D.length; a += 1)
616
+ o[a] = Ee(Pe(r, D, a));
633
617
  return {
634
618
  c() {
635
- t = y("div"), e = y("div"), i = y("div"), n = re("svg"), o = re("path"), s = O(), a = y("div"), u = y("span"), d = j(m), F = O(), v = y("div"), P = y("span"), b = j(E), k = O(), I.c(), S = O(), _ = y("span"), p = re("svg"), T = re("path"), Y = O(), C = y("div"), D = y("ul");
636
- for (let l = 0; l < x.length; l += 1)
637
- x[l].c();
638
- Q = O(), A = y("button"), q = j(R), c(o, "id", "noun_filter_736223"), c(o, "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"), c(o, "transform", "translate(-5 -6.2)"), c(o, "fill", "#fff"), c(n, "xmlns", "http://www.w3.org/2000/svg"), c(n, "width", "16"), c(n, "height", "16"), c(n, "viewBox", "0 0 16 16"), c(u, "class", "FilterName"), c(v, "class", "FilterValueContainer"), c(a, "class", "FilterTextContainer"), c(i, "class", "FilterMainArea"), c(T, "id", "arrow"), c(T, "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"), c(T, "transform", "translate(-274.511 -441.088)"), c(T, "fill", "#d1d1d1"), c(p, "xmlns", "http://www.w3.org/2000/svg"), c(p, "width", "14"), c(p, "height", "6.835"), c(p, "viewBox", "0 0 14 6.835"), c(_, "class", B = "TriangleInactive " + /*isFilterActive*/
639
- (r[4] ? "TriangleActive" : "")), c(e, "class", V = "FilterSelector " + /*isFilterActive*/
640
- (r[4] ? "FilterSelectorOpen" : "")), c(D, "class", "FilterDropdown"), c(A, "class", "ClearFilters"), A.disabled = H = /*fullSelection*/
619
+ t = y("div"), e = y("div"), i = y("div"), n = re("svg"), l = re("path"), s = T(), c = y("div"), f = y("span"), h = A(b), w = T(), v = y("div"), k = y("span"), g = A(P), C = T(), E.c(), S = T(), _ = y("span"), m = re("svg"), L = re("path"), J = T(), x = y("div"), B = y("ul");
620
+ for (let a = 0; a < o.length; a += 1)
621
+ o[a].c();
622
+ X = T(), O = y("button"), Y = A(V), u(l, "id", "noun_filter_736223"), u(l, "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"), u(l, "transform", "translate(-5 -6.2)"), u(l, "fill", "#fff"), u(n, "xmlns", "http://www.w3.org/2000/svg"), u(n, "width", "16"), u(n, "height", "16"), u(n, "viewBox", "0 0 16 16"), u(f, "class", "FilterName"), u(v, "class", "FilterValueContainer"), u(c, "class", "FilterTextContainer"), u(i, "class", "FilterMainArea"), u(L, "id", "arrow"), u(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"), u(L, "transform", "translate(-274.511 -441.088)"), u(L, "fill", "#d1d1d1"), u(m, "xmlns", "http://www.w3.org/2000/svg"), u(m, "width", "14"), u(m, "height", "6.835"), u(m, "viewBox", "0 0 14 6.835"), u(_, "class", M = "TriangleInactive " + /*isFilterActive*/
623
+ (r[4] ? "TriangleActive" : "")), u(e, "class", U = "FilterSelector " + /*isFilterActive*/
624
+ (r[4] ? "FilterSelectorOpen" : "")), u(B, "class", "FilterDropdown"), u(O, "class", "ClearFilters"), O.disabled = N = /*fullSelection*/
641
625
  r[7] && /*selectedVendorArray*/
642
626
  r[6].length != /*vendorArray*/
643
- r[5].length, c(C, "class", J = "FilterDropdownContainer " + /*isFilterActive*/
644
- (r[4] ? "FilterOpen" : "")), c(t, "class", G = "FilterContainer " + /*addfilterselector*/
627
+ r[5].length, u(x, "class", q = "FilterDropdownContainer " + /*isFilterActive*/
628
+ (r[4] ? "FilterOpen" : "")), u(t, "class", R = "FilterContainer " + /*addfilterselector*/
645
629
  (r[0] == "true" && /*addsortingselector*/
646
630
  r[1] == "true" ? "FilerContainerSplit" : ""));
647
631
  },
648
- m(l, h) {
649
- z(l, t, h), f(t, e), f(e, i), f(i, n), f(n, o), f(i, s), f(i, a), f(a, u), f(u, d), f(a, F), f(a, v), f(v, P), f(P, b), f(v, k), I.m(v, null), f(e, S), f(e, _), f(_, p), f(p, T), f(t, Y), f(t, C), f(C, D);
650
- for (let g = 0; g < x.length; g += 1)
651
- x[g] && x[g].m(D, null);
652
- f(C, Q), f(C, A), f(A, q), Z || (X = [
632
+ m(a, F) {
633
+ W(a, t, F), d(t, e), d(e, i), d(i, n), d(n, l), d(i, s), d(i, c), d(c, f), d(f, h), d(c, w), d(c, v), d(v, k), d(k, g), d(v, C), E.m(v, null), d(e, S), d(e, _), d(_, m), d(m, L), d(t, J), d(t, x), d(x, B);
634
+ for (let p = 0; p < o.length; p += 1)
635
+ o[p] && o[p].m(B, null);
636
+ d(x, X), d(x, O), d(O, Y), G || ($ = [
653
637
  le(
654
638
  e,
655
639
  "click",
@@ -657,66 +641,66 @@ function wt(r) {
657
641
  r[24]
658
642
  ),
659
643
  le(
660
- A,
644
+ O,
661
645
  "click",
662
646
  /*click_handler_2*/
663
647
  r[27]
664
648
  )
665
- ], Z = !0);
649
+ ], G = !0);
666
650
  },
667
- p(l, h) {
668
- if (h[0] & /*$_*/
669
- 2048 && m !== (m = /*$_*/
670
- l[11]("filterby") + "") && N(d, m), h[0] & /*$_*/
671
- 2048 && E !== (E = /*$_*/
672
- l[11]("providers") + "") && N(b, E), K === (K = ee(l)) && I ? I.p(l, h) : (I.d(1), I = K(l), I && (I.c(), I.m(v, null))), h[0] & /*isFilterActive*/
673
- 16 && B !== (B = "TriangleInactive " + /*isFilterActive*/
674
- (l[4] ? "TriangleActive" : "")) && c(_, "class", B), h[0] & /*isFilterActive*/
675
- 16 && V !== (V = "FilterSelector " + /*isFilterActive*/
676
- (l[4] ? "FilterSelectorOpen" : "")) && c(e, "class", V), h[0] & /*filterbylogo, vendorArray, filterByVendors*/
651
+ p(a, F) {
652
+ if (F[0] & /*$_*/
653
+ 2048 && b !== (b = /*$_*/
654
+ a[11]("filterby") + "") && H(h, b), F[0] & /*$_*/
655
+ 2048 && P !== (P = /*$_*/
656
+ a[11]("providers") + "") && H(g, P), Z === (Z = ee(a)) && E ? E.p(a, F) : (E.d(1), E = Z(a), E && (E.c(), E.m(v, null))), F[0] & /*isFilterActive*/
657
+ 16 && M !== (M = "TriangleInactive " + /*isFilterActive*/
658
+ (a[4] ? "TriangleActive" : "")) && u(_, "class", M), F[0] & /*isFilterActive*/
659
+ 16 && U !== (U = "FilterSelector " + /*isFilterActive*/
660
+ (a[4] ? "FilterSelectorOpen" : "")) && u(e, "class", U), F[0] & /*filterbylogo, vendorArray, filterByVendors*/
677
661
  8228) {
678
- W = ve(
662
+ D = me(
679
663
  /*vendorArray*/
680
- l[5]
664
+ a[5]
681
665
  );
682
- let g;
683
- for (g = 0; g < W.length; g += 1) {
684
- const w = Le(l, W, g);
685
- x[g] ? x[g].p(w, h) : (x[g] = Te(w), x[g].c(), x[g].m(D, null));
666
+ let p;
667
+ for (p = 0; p < D.length; p += 1) {
668
+ const K = Pe(a, D, p);
669
+ o[p] ? o[p].p(K, F) : (o[p] = Ee(K), o[p].c(), o[p].m(B, null));
686
670
  }
687
- for (; g < x.length; g += 1)
688
- x[g].d(1);
689
- x.length = W.length;
671
+ for (; p < o.length; p += 1)
672
+ o[p].d(1);
673
+ o.length = D.length;
690
674
  }
691
- h[0] & /*$_*/
692
- 2048 && R !== (R = /*$_*/
693
- l[11]("clear") + "") && N(q, R), h[0] & /*fullSelection, selectedVendorArray, vendorArray*/
694
- 224 && H !== (H = /*fullSelection*/
695
- l[7] && /*selectedVendorArray*/
696
- l[6].length != /*vendorArray*/
697
- l[5].length) && (A.disabled = H), h[0] & /*isFilterActive*/
698
- 16 && J !== (J = "FilterDropdownContainer " + /*isFilterActive*/
699
- (l[4] ? "FilterOpen" : "")) && c(C, "class", J), h[0] & /*addfilterselector, addsortingselector*/
700
- 3 && G !== (G = "FilterContainer " + /*addfilterselector*/
701
- (l[0] == "true" && /*addsortingselector*/
702
- l[1] == "true" ? "FilerContainerSplit" : "")) && c(t, "class", G);
675
+ F[0] & /*$_*/
676
+ 2048 && V !== (V = /*$_*/
677
+ a[11]("clear") + "") && H(Y, V), F[0] & /*fullSelection, selectedVendorArray, vendorArray*/
678
+ 224 && N !== (N = /*fullSelection*/
679
+ a[7] && /*selectedVendorArray*/
680
+ a[6].length != /*vendorArray*/
681
+ a[5].length) && (O.disabled = N), F[0] & /*isFilterActive*/
682
+ 16 && q !== (q = "FilterDropdownContainer " + /*isFilterActive*/
683
+ (a[4] ? "FilterOpen" : "")) && u(x, "class", q), F[0] & /*addfilterselector, addsortingselector*/
684
+ 3 && R !== (R = "FilterContainer " + /*addfilterselector*/
685
+ (a[0] == "true" && /*addsortingselector*/
686
+ a[1] == "true" ? "FilerContainerSplit" : "")) && u(t, "class", R);
703
687
  },
704
- d(l) {
705
- l && U(t), I.d(), tt(x, l), Z = !1, Oe(X);
688
+ d(a) {
689
+ a && z(t), E.d(), Qe(o, a), G = !1, Ie($);
706
690
  }
707
691
  };
708
692
  }
709
- function Ft(r) {
693
+ function vt(r) {
710
694
  let t, e = (
711
695
  /*$_*/
712
696
  r[11]("500") + ""
713
697
  );
714
698
  return {
715
699
  c() {
716
- t = y("p"), c(t, "class", "SearchLoading");
700
+ t = y("p"), u(t, "class", "SearchLoading");
717
701
  },
718
702
  m(i, n) {
719
- z(i, t, n), t.innerHTML = e;
703
+ W(i, t, n), t.innerHTML = e;
720
704
  },
721
705
  p(i, n) {
722
706
  n[0] & /*$_*/
@@ -724,107 +708,107 @@ function Ft(r) {
724
708
  i[11]("500") + "") && (t.innerHTML = e);
725
709
  },
726
710
  d(i) {
727
- i && U(t);
711
+ i && z(t);
728
712
  }
729
713
  };
730
714
  }
731
- function St(r) {
715
+ function yt(r) {
732
716
  let t, e;
733
717
  return {
734
718
  c() {
735
- t = y("span"), e = j(
719
+ t = y("span"), e = A(
736
720
  /*selectionNumber*/
737
721
  r[8]
738
- ), c(t, "class", "FilterCounter");
722
+ ), u(t, "class", "FilterCounter");
739
723
  },
740
724
  m(i, n) {
741
- z(i, t, n), f(t, e);
725
+ W(i, t, n), d(t, e);
742
726
  },
743
727
  p(i, n) {
744
728
  n[0] & /*selectionNumber*/
745
- 256 && N(
729
+ 256 && H(
746
730
  e,
747
731
  /*selectionNumber*/
748
732
  i[8]
749
733
  );
750
734
  },
751
735
  d(i) {
752
- i && U(t);
736
+ i && z(t);
753
737
  }
754
738
  };
755
739
  }
756
- function Ct(r) {
740
+ function _t(r) {
757
741
  let t, e = (
758
742
  /*$_*/
759
743
  r[11]("all") + ""
760
744
  ), i;
761
745
  return {
762
746
  c() {
763
- t = y("span"), i = j(e), c(t, "class", "FilterCounter");
747
+ t = y("span"), i = A(e), u(t, "class", "FilterCounter");
764
748
  },
765
- m(n, o) {
766
- z(n, t, o), f(t, i);
749
+ m(n, l) {
750
+ W(n, t, l), d(t, i);
767
751
  },
768
- p(n, o) {
769
- o[0] & /*$_*/
752
+ p(n, l) {
753
+ l[0] & /*$_*/
770
754
  2048 && e !== (e = /*$_*/
771
- n[11]("all") + "") && N(i, e);
755
+ n[11]("all") + "") && H(i, e);
772
756
  },
773
757
  d(n) {
774
- n && U(t);
758
+ n && z(t);
775
759
  }
776
760
  };
777
761
  }
778
- function xt(r) {
762
+ function Ft(r) {
779
763
  let t, e;
780
764
  return {
781
765
  c() {
782
- t = y("img"), _e(t.src, e = /*vendor*/
783
- r[37].logo) || c(t, "src", e), c(t, "alt", "vendor logo");
766
+ t = y("img"), ge(t.src, e = /*vendor*/
767
+ r[37].logo) || u(t, "src", e), u(t, "alt", "vendor logo");
784
768
  },
785
769
  m(i, n) {
786
- z(i, t, n);
770
+ W(i, t, n);
787
771
  },
788
772
  p(i, n) {
789
773
  n[0] & /*vendorArray*/
790
- 32 && !_e(t.src, e = /*vendor*/
791
- i[37].logo) && c(t, "src", e);
774
+ 32 && !ge(t.src, e = /*vendor*/
775
+ i[37].logo) && u(t, "src", e);
792
776
  },
793
777
  d(i) {
794
- i && U(t);
778
+ i && z(t);
795
779
  }
796
780
  };
797
781
  }
798
- function kt(r) {
782
+ function wt(r) {
799
783
  let t, e, i = (
800
784
  /*vendor*/
801
785
  r[37].name + ""
802
- ), n, o, s, a, u = (
786
+ ), n, l, s, c, f = (
803
787
  /*vendor*/
804
788
  r[37].games.total + ""
805
- ), m, d;
789
+ ), b, h;
806
790
  return {
807
791
  c() {
808
- t = y("div"), e = y("span"), n = j(i), o = O(), s = y("span"), a = j("("), m = j(u), d = j(")"), c(e, "class", "VendorName"), c(t, "class", "FilterItemLabel");
792
+ t = y("div"), e = y("span"), n = A(i), l = T(), s = y("span"), c = A("("), b = A(f), h = A(")"), u(e, "class", "VendorName"), u(t, "class", "FilterItemLabel");
809
793
  },
810
- m(F, v) {
811
- z(F, t, v), f(t, e), f(e, n), f(t, o), f(t, s), f(s, a), f(s, m), f(s, d);
794
+ m(w, v) {
795
+ W(w, t, v), d(t, e), d(e, n), d(t, l), d(t, s), d(s, c), d(s, b), d(s, h);
812
796
  },
813
- p(F, v) {
797
+ p(w, v) {
814
798
  v[0] & /*vendorArray*/
815
799
  32 && i !== (i = /*vendor*/
816
- F[37].name + "") && N(n, i), v[0] & /*vendorArray*/
817
- 32 && u !== (u = /*vendor*/
818
- F[37].games.total + "") && N(m, u);
800
+ w[37].name + "") && H(n, i), v[0] & /*vendorArray*/
801
+ 32 && f !== (f = /*vendor*/
802
+ w[37].games.total + "") && H(b, f);
819
803
  },
820
- d(F) {
821
- F && U(t);
804
+ d(w) {
805
+ w && z(t);
822
806
  }
823
807
  };
824
808
  }
825
- function Te(r) {
826
- let t, e, i, n, o, s, a, u, m, d, F, v;
827
- function P() {
809
+ function Ee(r) {
810
+ let t, e, i, n, l, s, c, f, b, h, w, v;
811
+ function k() {
828
812
  r[25].call(
829
813
  i,
830
814
  /*each_value*/
@@ -833,7 +817,7 @@ function Te(r) {
833
817
  r[39]
834
818
  );
835
819
  }
836
- function E() {
820
+ function P() {
837
821
  return (
838
822
  /*click_handler_1*/
839
823
  r[26](
@@ -842,195 +826,194 @@ function Te(r) {
842
826
  )
843
827
  );
844
828
  }
845
- function b(_, p) {
829
+ function g(_, m) {
846
830
  if (
847
831
  /*filterbylogo*/
848
832
  _[2] === "false"
849
833
  )
850
- return kt;
834
+ return wt;
851
835
  if (
852
836
  /*filterbylogo*/
853
837
  _[2] === "true"
854
838
  )
855
- return xt;
839
+ return Ft;
856
840
  }
857
- let k = b(r), S = k && k(r);
841
+ let C = g(r), S = C && C(r);
858
842
  return {
859
843
  c() {
860
- t = y("li"), e = y("label"), i = y("input"), o = O(), s = y("span"), a = O(), S && S.c(), u = O(), c(i, "type", "checkbox"), c(i, "name", "checkbox"), i.__value = n = /*vendor*/
861
- r[37].name, ye(i, i.__value), c(s, "class", "FiltersCheckmark"), c(e, "class", "FilterLabel"), c(t, "class", m = "FilterItem " + /*filterbylogo*/
862
- (r[2] === "true" ? "FilterItemWithLogos" : "")), t.value = d = /*vendor*/
844
+ t = y("li"), e = y("label"), i = y("input"), l = T(), s = y("span"), c = T(), S && S.c(), f = T(), u(i, "type", "checkbox"), u(i, "name", "checkbox"), i.__value = n = /*vendor*/
845
+ r[37].name, be(i, i.__value), u(s, "class", "FiltersCheckmark"), u(e, "class", "FilterLabel"), u(t, "class", b = "FilterItem " + /*filterbylogo*/
846
+ (r[2] === "true" ? "FilterItemWithLogos" : "")), t.value = h = /*vendor*/
863
847
  r[37].name;
864
848
  },
865
- m(_, p) {
866
- z(_, t, p), f(t, e), f(e, i), i.checked = /*vendor*/
867
- r[37].isFilterSelected, f(e, o), f(e, s), f(e, a), S && S.m(e, null), f(t, u), F || (v = [
868
- le(i, "change", P),
869
- le(i, "click", E)
870
- ], F = !0);
849
+ m(_, m) {
850
+ W(_, t, m), d(t, e), d(e, i), i.checked = /*vendor*/
851
+ r[37].isFilterSelected, d(e, l), d(e, s), d(e, c), S && S.m(e, null), d(t, f), w || (v = [
852
+ le(i, "change", k),
853
+ le(i, "click", P)
854
+ ], w = !0);
871
855
  },
872
- p(_, p) {
873
- r = _, p[0] & /*vendorArray*/
856
+ p(_, m) {
857
+ r = _, m[0] & /*vendorArray*/
874
858
  32 && n !== (n = /*vendor*/
875
- r[37].name) && (i.__value = n, ye(i, i.__value)), p[0] & /*vendorArray*/
859
+ r[37].name) && (i.__value = n, be(i, i.__value)), m[0] & /*vendorArray*/
876
860
  32 && (i.checked = /*vendor*/
877
- r[37].isFilterSelected), k === (k = b(r)) && S ? S.p(r, p) : (S && S.d(1), S = k && k(r), S && (S.c(), S.m(e, null))), p[0] & /*filterbylogo*/
878
- 4 && m !== (m = "FilterItem " + /*filterbylogo*/
879
- (r[2] === "true" ? "FilterItemWithLogos" : "")) && c(t, "class", m), p[0] & /*vendorArray*/
880
- 32 && d !== (d = /*vendor*/
881
- r[37].name) && (t.value = d);
861
+ r[37].isFilterSelected), C === (C = g(r)) && S ? S.p(r, m) : (S && S.d(1), S = C && C(r), S && (S.c(), S.m(e, null))), m[0] & /*filterbylogo*/
862
+ 4 && b !== (b = "FilterItem " + /*filterbylogo*/
863
+ (r[2] === "true" ? "FilterItemWithLogos" : "")) && u(t, "class", b), m[0] & /*vendorArray*/
864
+ 32 && h !== (h = /*vendor*/
865
+ r[37].name) && (t.value = h);
882
866
  },
883
867
  d(_) {
884
- _ && U(t), S && S.d(), F = !1, Oe(v);
868
+ _ && z(t), S && S.d(), w = !1, Ie(v);
885
869
  }
886
870
  };
887
871
  }
888
- function Pt(r) {
872
+ function St(r) {
889
873
  let t;
890
- function e(o, s) {
874
+ function e(l, s) {
891
875
  if (
892
876
  /*hasErrors*/
893
- o[10]
877
+ l[10]
894
878
  )
895
- return Ft;
879
+ return vt;
896
880
  if (!/*isLoading*/
897
- o[9])
898
- return wt;
881
+ l[9])
882
+ return gt;
899
883
  }
900
884
  let i = e(r), n = i && i(r);
901
885
  return {
902
886
  c() {
903
887
  t = y("div"), n && n.c();
904
888
  },
905
- m(o, s) {
906
- z(o, t, s), n && n.m(t, null), r[28](t);
889
+ m(l, s) {
890
+ W(l, t, s), n && n.m(t, null), r[28](t);
907
891
  },
908
- p(o, s) {
909
- i === (i = e(o)) && n ? n.p(o, s) : (n && n.d(1), n = i && i(o), n && (n.c(), n.m(t, null)));
892
+ p(l, s) {
893
+ i === (i = e(l)) && n ? n.p(l, s) : (n && n.d(1), n = i && i(l), n && (n.c(), n.m(t, null)));
910
894
  },
911
- i: ge,
912
- o: ge,
913
- d(o) {
914
- o && U(t), n && n.d(), r[28](null);
895
+ i: he,
896
+ o: he,
897
+ d(l) {
898
+ l && z(t), n && n.d(), r[28](null);
915
899
  }
916
900
  };
917
901
  }
918
- function Et(r, t, e) {
902
+ function xt(r, t, e) {
919
903
  let i;
920
- Ze(r, rt, (l) => e(11, i = l));
921
- let { endpoint: n = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: m = "" } = t, { categoryid: d = "" } = t, { addfilterselector: F = "false" } = t, { addsortingselector: v = "false" } = t, { filterbylogo: P = "false" } = t, { mbsource: E } = t, { usesinglevendorfilter: b = "false" } = t, k = !1, S = window.navigator.userAgent, _ = [], p = [], T = {}, B = !1, V = 0, Y = !0, C, D = !1, Q;
922
- yt({ withLocale: "en", translations: {} });
923
- const A = () => {
924
- fetch(a).then((h) => h.json()).then((h) => {
925
- Object.keys(h).forEach((g) => {
926
- Ee(g, h[g]);
904
+ Je(r, Xe, (o) => e(11, i = o));
905
+ let { endpoint: n = "" } = t, { datasource: l = "" } = t, { lang: s = "" } = t, { translationurl: c = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: b = "" } = t, { categoryid: h = "" } = t, { addfilterselector: w = "false" } = t, { addsortingselector: v = "false" } = t, { filterbylogo: k = "false" } = t, { mbsource: P } = t, { usesinglevendorfilter: g = "false" } = t, C = !1, S = window.navigator.userAgent, _ = [], m = [], L = {}, M = !1, U = 0, J = !0, x, B = !1;
906
+ mt({ withLocale: "en", translations: {} });
907
+ const X = () => {
908
+ fetch(c).then((a) => a.json()).then((a) => {
909
+ Object.keys(a).forEach((F) => {
910
+ Ce(F, a[F]);
927
911
  });
928
- }).catch((h) => {
929
- console.log(h);
912
+ }).catch((a) => {
913
+ console.log(a);
930
914
  });
931
915
  };
932
- Object.keys(Ie).forEach((l) => {
933
- Ee(l, Ie[l]);
934
- }), T[d] && (T = { [d]: [] });
935
- const R = () => {
936
- e(4, k = !k), window.postMessage({ type: "FilterOpened" }, window.location.href);
937
- }, q = (l) => (e(9, Y = !0), new Promise((h, g) => {
938
- fetch(l).then((w) => w.json()).then((w) => {
939
- w = w.items, h(w.items), e(6, p = []);
940
- let se = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
941
- const Ve = b === "true" ? "*" : d;
942
- w.forEach((te) => {
943
- var me;
944
- se || (se = { currentCategoryId: [] }), ((me = se[Ve]) == null ? void 0 : me.indexOf(te.id)) >= 0 ? (te.isFilterSelected = !0, p.push(te)) : te.isFilterSelected = !1;
945
- }), e(5, _ = w), J();
946
- }).catch((w) => {
947
- console.error(w), e(10, D = !0), g(w);
916
+ Object.keys(ke).forEach((o) => {
917
+ Ce(o, ke[o]);
918
+ }), L[h] && (L = { [h]: [] });
919
+ const O = () => {
920
+ e(4, C = !C), window.postMessage({ type: "FilterOpened" }, window.location.href);
921
+ }, V = (o) => (e(9, J = !0), new Promise((a, F) => {
922
+ fetch(o).then((p) => p.json()).then((p) => {
923
+ p = p.items, a(p.items), e(6, m = []);
924
+ let K = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
925
+ const De = g === "true" ? "*" : h;
926
+ p.forEach((te) => {
927
+ K || (K = { currentCategoryId: [] }), K[De]?.indexOf(te.id) >= 0 ? (te.isFilterSelected = !0, m.push(te)) : te.isFilterSelected = !1;
928
+ }), e(5, _ = p), N();
929
+ }).catch((p) => {
930
+ console.error(p), e(10, B = !0), F(p);
948
931
  }).finally(() => {
949
- e(9, Y = !1);
932
+ e(9, J = !1);
950
933
  });
951
- })), H = (l) => {
952
- let h = localStorage.getItem("vendorFiltersByCategory");
953
- l.isFilterSelected = !l.isFilterSelected, !p.length || p.filter((w) => w.name === l.name).length == 0 ? p.push(l) : e(6, p = p.filter((w) => w.name !== l.name));
954
- const g = b === "true" ? "*" : d;
955
- h == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(T = {
956
- [g]: p.map((w) => w.id)
957
- })) : (h = JSON.parse(h), h[g] = p.map((w) => w.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(h))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), J();
958
- }, J = () => {
959
- e(7, B = p.length === _.length || p.length == 0), e(8, V = p.length);
960
- }, G = () => {
961
- if (_.length && b === "true")
934
+ })), Y = (o) => {
935
+ let a = localStorage.getItem("vendorFiltersByCategory");
936
+ o.isFilterSelected = !o.isFilterSelected, !m.length || m.filter((p) => p.name === o.name).length == 0 ? m.push(o) : e(6, m = m.filter((p) => p.name !== o.name));
937
+ const F = g === "true" ? "*" : h;
938
+ a == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(L = {
939
+ [F]: m.map((p) => p.id)
940
+ })) : (a = JSON.parse(a), a[F] = m.map((p) => p.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(a))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), N();
941
+ }, N = () => {
942
+ e(7, M = m.length === _.length || m.length == 0), e(8, U = m.length);
943
+ }, q = () => {
944
+ if (_.length && g === "true")
962
945
  return;
963
- const l = new URL(`${n}/v1/casino/vendors`);
964
- e(4, k = !1), l.searchParams.append("fields", "id,name,logo,subVendors,games"), l.searchParams.append("language", s), l.searchParams.append("datasource", o), l.searchParams.append("platform", vt(S)), b === "true" || ((d.match(/\$/g) || []).length > 1 ? (l.searchParams.append("filter", `games(subGroups=${d})`), l.searchParams.append("subVendors", `games(subGroups=${d})`)) : l.searchParams.append("filter", `games(groups=${d})`)), q(l);
965
- }, Z = () => {
966
- e(6, p = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(T = {
967
- [b === "true" ? "*" : d]: p.map((l) => l.id)
968
- })), _.forEach((l) => l.isFilterSelected = !1), e(5, _), window.postMessage({ type: "ApplyFilters" }, window.location.href), e(7, B = !0), e(4, k = !1);
969
- }, X = (l) => {
970
- l.data.type == "SortingOpened" && e(4, k = !1);
946
+ const o = new URL(`${n}/v1/casino/vendors`);
947
+ e(4, C = !1), o.searchParams.append("fields", "id,name,logo,subVendors,games"), o.searchParams.append("language", s), o.searchParams.append("datasource", l), o.searchParams.append("platform", ht(S)), g === "true" || ((h.match(/\$/g) || []).length > 1 ? (o.searchParams.append("filter", `games(subGroups=${h})`), o.searchParams.append("subVendors", `games(subGroups=${h})`)) : o.searchParams.append("filter", `games(groups=${h})`)), V(o);
948
+ }, R = () => {
949
+ e(6, m = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(L = {
950
+ [g === "true" ? "*" : h]: m.map((o) => o.id)
951
+ })), _.forEach((o) => o.isFilterSelected = !1), e(5, _), window.postMessage({ type: "ApplyFilters" }, window.location.href), e(7, M = !0), e(4, C = !1);
952
+ }, G = (o) => {
953
+ o.data.type == "SortingOpened" && e(4, C = !1);
971
954
  };
972
- Ke(() => (window.addEventListener("message", X, !1), () => {
973
- window.emMessageBus != null && Q && Q.unsubscribe(), window.removeEventListener("message", X);
955
+ Ye(() => (window.addEventListener("message", G, !1), () => {
956
+ window.removeEventListener("message", G);
974
957
  }));
975
- const ee = () => R();
976
- function K(l, h) {
977
- l[h].isFilterSelected = this.checked, e(5, _);
958
+ const $ = () => O();
959
+ function ee(o, a) {
960
+ o[a].isFilterSelected = this.checked, e(5, _);
978
961
  }
979
- const I = (l) => H(l), W = () => Z();
980
- function x(l) {
981
- Xe[l ? "unshift" : "push"](() => {
982
- C = l, e(3, C);
962
+ const Z = (o) => Y(o), E = () => R();
963
+ function D(o) {
964
+ qe[o ? "unshift" : "push"](() => {
965
+ x = o, e(3, x);
983
966
  });
984
967
  }
985
- return r.$$set = (l) => {
986
- "endpoint" in l && e(15, n = l.endpoint), "datasource" in l && e(16, o = l.datasource), "lang" in l && e(17, s = l.lang), "translationurl" in l && e(18, a = l.translationurl), "clientstyling" in l && e(19, u = l.clientstyling), "clientstylingurl" in l && e(20, m = l.clientstylingurl), "categoryid" in l && e(21, d = l.categoryid), "addfilterselector" in l && e(0, F = l.addfilterselector), "addsortingselector" in l && e(1, v = l.addsortingselector), "filterbylogo" in l && e(2, P = l.filterbylogo), "mbsource" in l && e(22, E = l.mbsource), "usesinglevendorfilter" in l && e(23, b = l.usesinglevendorfilter);
968
+ return r.$$set = (o) => {
969
+ "endpoint" in o && e(15, n = o.endpoint), "datasource" in o && e(16, l = o.datasource), "lang" in o && e(17, s = o.lang), "translationurl" in o && e(18, c = o.translationurl), "clientstyling" in o && e(19, f = o.clientstyling), "clientstylingurl" in o && e(20, b = o.clientstylingurl), "categoryid" in o && e(21, h = o.categoryid), "addfilterselector" in o && e(0, w = o.addfilterselector), "addsortingselector" in o && e(1, v = o.addsortingselector), "filterbylogo" in o && e(2, k = o.filterbylogo), "mbsource" in o && e(22, P = o.mbsource), "usesinglevendorfilter" in o && e(23, g = o.usesinglevendorfilter);
987
970
  }, r.$$.update = () => {
988
971
  r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
989
- 2195460 && n && o && d && P && G(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
990
- 524296 && u && C && $e(C, u), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
991
- 1048584 && m && C && Qe(C, m), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
992
- 4194312 && C && et(C, `${E}.Style`), r.$$.dirty[0] & /*translationurl*/
993
- 262144 && a && A();
972
+ 2195460 && n && l && h && k && q(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
973
+ 524296 && f && x && Ge(x, f), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
974
+ 1048584 && b && x && Ze(x, b), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
975
+ 4194312 && x && Ke(x, `${P}.Style`), r.$$.dirty[0] & /*translationurl*/
976
+ 262144 && c && X();
994
977
  }, [
995
- F,
978
+ w,
996
979
  v,
997
- P,
998
- C,
999
980
  k,
981
+ x,
982
+ C,
1000
983
  _,
1001
- p,
984
+ m,
985
+ M,
986
+ U,
987
+ J,
1002
988
  B,
1003
- V,
1004
- Y,
1005
- D,
1006
989
  i,
990
+ O,
991
+ Y,
1007
992
  R,
1008
- H,
1009
- Z,
1010
993
  n,
1011
- o,
994
+ l,
1012
995
  s,
1013
- a,
1014
- u,
1015
- m,
1016
- d,
1017
- E,
996
+ c,
997
+ f,
1018
998
  b,
999
+ h,
1000
+ P,
1001
+ g,
1002
+ $,
1019
1003
  ee,
1020
- K,
1021
- I,
1022
- W,
1023
- x
1004
+ Z,
1005
+ E,
1006
+ D
1024
1007
  ];
1025
1008
  }
1026
- class Ue extends Je {
1009
+ class Be extends Ue {
1027
1010
  constructor(t) {
1028
- super(), Ne(
1011
+ super(), Ve(
1029
1012
  this,
1030
1013
  t,
1031
- Et,
1032
- Pt,
1033
- qe,
1014
+ xt,
1015
+ St,
1016
+ Re,
1034
1017
  {
1035
1018
  endpoint: 15,
1036
1019
  datasource: 16,
@@ -1045,7 +1028,7 @@ class Ue extends Je {
1045
1028
  mbsource: 22,
1046
1029
  usesinglevendorfilter: 23
1047
1030
  },
1048
- _t,
1031
+ bt,
1049
1032
  [-1, -1]
1050
1033
  );
1051
1034
  }
@@ -1053,83 +1036,83 @@ class Ue extends Je {
1053
1036
  return this.$$.ctx[15];
1054
1037
  }
1055
1038
  set endpoint(t) {
1056
- this.$$set({ endpoint: t }), L();
1039
+ this.$$set({ endpoint: t }), I();
1057
1040
  }
1058
1041
  get datasource() {
1059
1042
  return this.$$.ctx[16];
1060
1043
  }
1061
1044
  set datasource(t) {
1062
- this.$$set({ datasource: t }), L();
1045
+ this.$$set({ datasource: t }), I();
1063
1046
  }
1064
1047
  get lang() {
1065
1048
  return this.$$.ctx[17];
1066
1049
  }
1067
1050
  set lang(t) {
1068
- this.$$set({ lang: t }), L();
1051
+ this.$$set({ lang: t }), I();
1069
1052
  }
1070
1053
  get translationurl() {
1071
1054
  return this.$$.ctx[18];
1072
1055
  }
1073
1056
  set translationurl(t) {
1074
- this.$$set({ translationurl: t }), L();
1057
+ this.$$set({ translationurl: t }), I();
1075
1058
  }
1076
1059
  get clientstyling() {
1077
1060
  return this.$$.ctx[19];
1078
1061
  }
1079
1062
  set clientstyling(t) {
1080
- this.$$set({ clientstyling: t }), L();
1063
+ this.$$set({ clientstyling: t }), I();
1081
1064
  }
1082
1065
  get clientstylingurl() {
1083
1066
  return this.$$.ctx[20];
1084
1067
  }
1085
1068
  set clientstylingurl(t) {
1086
- this.$$set({ clientstylingurl: t }), L();
1069
+ this.$$set({ clientstylingurl: t }), I();
1087
1070
  }
1088
1071
  get categoryid() {
1089
1072
  return this.$$.ctx[21];
1090
1073
  }
1091
1074
  set categoryid(t) {
1092
- this.$$set({ categoryid: t }), L();
1075
+ this.$$set({ categoryid: t }), I();
1093
1076
  }
1094
1077
  get addfilterselector() {
1095
1078
  return this.$$.ctx[0];
1096
1079
  }
1097
1080
  set addfilterselector(t) {
1098
- this.$$set({ addfilterselector: t }), L();
1081
+ this.$$set({ addfilterselector: t }), I();
1099
1082
  }
1100
1083
  get addsortingselector() {
1101
1084
  return this.$$.ctx[1];
1102
1085
  }
1103
1086
  set addsortingselector(t) {
1104
- this.$$set({ addsortingselector: t }), L();
1087
+ this.$$set({ addsortingselector: t }), I();
1105
1088
  }
1106
1089
  get filterbylogo() {
1107
1090
  return this.$$.ctx[2];
1108
1091
  }
1109
1092
  set filterbylogo(t) {
1110
- this.$$set({ filterbylogo: t }), L();
1093
+ this.$$set({ filterbylogo: t }), I();
1111
1094
  }
1112
1095
  get mbsource() {
1113
1096
  return this.$$.ctx[22];
1114
1097
  }
1115
1098
  set mbsource(t) {
1116
- this.$$set({ mbsource: t }), L();
1099
+ this.$$set({ mbsource: t }), I();
1117
1100
  }
1118
1101
  get usesinglevendorfilter() {
1119
1102
  return this.$$.ctx[23];
1120
1103
  }
1121
1104
  set usesinglevendorfilter(t) {
1122
- this.$$set({ usesinglevendorfilter: t }), L();
1105
+ this.$$set({ usesinglevendorfilter: t }), I();
1123
1106
  }
1124
1107
  }
1125
- Ye(Ue, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
1126
- const Tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1108
+ Ne(Be, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
1109
+ const Pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1127
1110
  __proto__: null,
1128
- default: Ue
1111
+ default: Be
1129
1112
  }, Symbol.toStringTag, { value: "Module" }));
1130
1113
  export {
1131
- Tt as C,
1132
- vt as g,
1133
- gt as i,
1134
- Lt as p
1114
+ Pt as C,
1115
+ ht as g,
1116
+ pt as i,
1117
+ kt as p
1135
1118
  };