@everymatrix/casino-my-games 1.45.0 → 1.45.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 (31) hide show
  1. package/components/CasinoFavoritesSection-CH3Lqq9F.cjs +3 -0
  2. package/components/{CasinoFavoritesSection-BV6hTS5C.js → CasinoFavoritesSection-Dskphnqq.js} +34 -38
  3. package/components/CasinoFilter-BID-K58X.cjs +3 -0
  4. package/components/CasinoFilter-BL4Si3BV.js +1116 -0
  5. package/components/CasinoGameThumbnail-C5vfXyQD.cjs +47 -0
  6. package/components/CasinoGameThumbnail-DM4MBVLD.js +4405 -0
  7. package/components/CasinoGamesCategorySection-BCzNljKC.js +3019 -0
  8. package/components/CasinoGamesCategorySection-CqYKQlBg.cjs +1 -0
  9. package/components/CasinoLastPlayedSection-4mEzDqDl.cjs +1 -0
  10. package/components/{CasinoLastPlayedSection-yMoCKFv_.js → CasinoLastPlayedSection-9Pluu6X3.js} +48 -48
  11. package/components/CasinoMostPlayedSection-CWtl_ZnZ.cjs +1 -0
  12. package/components/{CasinoMostPlayedSection-D6b06OOV.js → CasinoMostPlayedSection-DzfIdnnG.js} +69 -69
  13. package/components/{CasinoMyGames-D1D23r5K.js → CasinoMyGames-MTmuuayw.js} +371 -371
  14. package/components/CasinoMyGames-cpUGmtos.cjs +1 -0
  15. package/components/CasinoSort-BfcsvFqx.js +425 -0
  16. package/components/CasinoSort-BrPaelpm.cjs +1 -0
  17. package/es2015/casino-my-games.cjs +1 -1
  18. package/es2015/casino-my-games.js +1 -1
  19. package/package.json +2 -2
  20. package/components/CasinoFavoritesSection-D9ecm-38.cjs +0 -3
  21. package/components/CasinoFilter-DdR2ao1V.js +0 -1116
  22. package/components/CasinoFilter-lLwFUd4o.cjs +0 -3
  23. package/components/CasinoGameThumbnail-Csj1LkxW.js +0 -4405
  24. package/components/CasinoGameThumbnail-DqoW33Zf.cjs +0 -47
  25. package/components/CasinoGamesCategorySection-CxJxQ1Xt.js +0 -3023
  26. package/components/CasinoGamesCategorySection-UNyRZN7B.cjs +0 -1
  27. package/components/CasinoLastPlayedSection-60iRiHLa.cjs +0 -1
  28. package/components/CasinoMostPlayedSection-DsIgWKz2.cjs +0 -1
  29. package/components/CasinoMyGames-BBoCsuaf.cjs +0 -1
  30. package/components/CasinoSort-BvUxf_TE.cjs +0 -1
  31. package/components/CasinoSort-Cl46Mkr1.js +0 -425
@@ -0,0 +1,1116 @@
1
+ import { _ as ce, a as ue, b as fe, c as Q, $ as me, d as Re, e as Ve, S as He, i as Je, f as T, g as Ye, s as qe, h as Ze, j as y, k as z, n as be, l as U, m as Ge, o as Ne, p as Ke, q as ge, r as re, t as L, u as O, v as u, w as f, x as le, y as W, z as Qe, A as Le, B as ve, C as Xe, D as ye } from "./CasinoFavoritesSection-Dskphnqq.js";
2
+ function M(r) {
3
+ return typeof r == "function";
4
+ }
5
+ function Oe(r) {
6
+ var t = function(i) {
7
+ Error.call(i), i.stack = new Error().stack;
8
+ }, e = r(t);
9
+ return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
10
+ }
11
+ var se = Oe(function(r) {
12
+ return function(e) {
13
+ r(this), this.message = e ? e.length + ` errors occurred during unsubscription:
14
+ ` + e.map(function(i, n) {
15
+ return n + 1 + ") " + i.toString();
16
+ }).join(`
17
+ `) : "", this.name = "UnsubscriptionError", this.errors = e;
18
+ };
19
+ });
20
+ function de(r, t) {
21
+ if (r) {
22
+ var e = r.indexOf(t);
23
+ 0 <= e && r.splice(e, 1);
24
+ }
25
+ }
26
+ var oe = function() {
27
+ function r(t) {
28
+ this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
29
+ }
30
+ return r.prototype.unsubscribe = function() {
31
+ var t, e, i, n, l;
32
+ if (!this.closed) {
33
+ this.closed = !0;
34
+ var s = this._parentage;
35
+ if (s)
36
+ if (this._parentage = null, Array.isArray(s))
37
+ try {
38
+ for (var c = ce(s), d = c.next(); !d.done; d = c.next()) {
39
+ var g = d.value;
40
+ g.remove(this);
41
+ }
42
+ } catch (_) {
43
+ t = { error: _ };
44
+ } finally {
45
+ try {
46
+ d && !d.done && (e = c.return) && e.call(c);
47
+ } finally {
48
+ if (t) throw t.error;
49
+ }
50
+ }
51
+ else
52
+ s.remove(this);
53
+ var p = this.initialTeardown;
54
+ if (M(p))
55
+ try {
56
+ p();
57
+ } catch (_) {
58
+ l = _ instanceof se ? _.errors : [_];
59
+ }
60
+ var w = this._finalizers;
61
+ if (w) {
62
+ this._finalizers = null;
63
+ try {
64
+ for (var v = ce(w), k = v.next(); !k.done; k = v.next()) {
65
+ var x = k.value;
66
+ try {
67
+ _e(x);
68
+ } catch (_) {
69
+ l = l != null ? l : [], _ instanceof se ? l = ue(ue([], fe(l)), fe(_.errors)) : l.push(_);
70
+ }
71
+ }
72
+ } catch (_) {
73
+ i = { error: _ };
74
+ } finally {
75
+ try {
76
+ k && !k.done && (n = v.return) && n.call(v);
77
+ } finally {
78
+ if (i) throw i.error;
79
+ }
80
+ }
81
+ }
82
+ if (l)
83
+ throw new se(l);
84
+ }
85
+ }, r.prototype.add = function(t) {
86
+ var e;
87
+ if (t && t !== this)
88
+ if (this.closed)
89
+ _e(t);
90
+ else {
91
+ if (t instanceof r) {
92
+ if (t.closed || t._hasParent(this))
93
+ return;
94
+ t._addParent(this);
95
+ }
96
+ (this._finalizers = (e = this._finalizers) !== null && e !== void 0 ? e : []).push(t);
97
+ }
98
+ }, r.prototype._hasParent = function(t) {
99
+ var e = this._parentage;
100
+ return e === t || Array.isArray(e) && e.includes(t);
101
+ }, r.prototype._addParent = function(t) {
102
+ var e = this._parentage;
103
+ this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
104
+ }, r.prototype._removeParent = function(t) {
105
+ var e = this._parentage;
106
+ e === t ? this._parentage = null : Array.isArray(e) && de(e, t);
107
+ }, r.prototype.remove = function(t) {
108
+ var e = this._finalizers;
109
+ e && de(e, t), t instanceof r && t._removeParent(this);
110
+ }, r.EMPTY = function() {
111
+ var t = new r();
112
+ return t.closed = !0, t;
113
+ }(), r;
114
+ }(), Ae = oe.EMPTY;
115
+ function je(r) {
116
+ return r instanceof oe || r && "closed" in r && M(r.remove) && M(r.add) && M(r.unsubscribe);
117
+ }
118
+ function _e(r) {
119
+ M(r) ? r() : r.unsubscribe();
120
+ }
121
+ var Me = {
122
+ onUnhandledError: null,
123
+ onStoppedNotification: null,
124
+ Promise: void 0,
125
+ useDeprecatedSynchronousErrorHandling: !1,
126
+ useDeprecatedNextContext: !1
127
+ }, De = {
128
+ setTimeout: function(r, t) {
129
+ for (var e = [], i = 2; i < arguments.length; i++)
130
+ e[i - 2] = arguments[i];
131
+ return setTimeout.apply(void 0, ue([r, t], fe(e)));
132
+ },
133
+ clearTimeout: function(r) {
134
+ var t = De.delegate;
135
+ return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(r);
136
+ },
137
+ delegate: void 0
138
+ };
139
+ function $e(r) {
140
+ De.setTimeout(function() {
141
+ throw r;
142
+ });
143
+ }
144
+ function Fe() {
145
+ }
146
+ function ne(r) {
147
+ r();
148
+ }
149
+ var Be = function(r) {
150
+ Q(t, r);
151
+ function t(e) {
152
+ var i = r.call(this) || this;
153
+ return i.isStopped = !1, e ? (i.destination = e, je(e) && e.add(i)) : i.destination = it, i;
154
+ }
155
+ return t.create = function(e, i, n) {
156
+ return new pe(e, i, n);
157
+ }, t.prototype.next = function(e) {
158
+ this.isStopped || this._next(e);
159
+ }, t.prototype.error = function(e) {
160
+ this.isStopped || (this.isStopped = !0, this._error(e));
161
+ }, t.prototype.complete = function() {
162
+ this.isStopped || (this.isStopped = !0, this._complete());
163
+ }, t.prototype.unsubscribe = function() {
164
+ this.closed || (this.isStopped = !0, r.prototype.unsubscribe.call(this), this.destination = null);
165
+ }, t.prototype._next = function(e) {
166
+ this.destination.next(e);
167
+ }, t.prototype._error = function(e) {
168
+ try {
169
+ this.destination.error(e);
170
+ } finally {
171
+ this.unsubscribe();
172
+ }
173
+ }, t.prototype._complete = function() {
174
+ try {
175
+ this.destination.complete();
176
+ } finally {
177
+ this.unsubscribe();
178
+ }
179
+ }, t;
180
+ }(oe), et = Function.prototype.bind;
181
+ function ae(r, t) {
182
+ return et.call(r, t);
183
+ }
184
+ var tt = function() {
185
+ function r(t) {
186
+ this.partialObserver = t;
187
+ }
188
+ return r.prototype.next = function(t) {
189
+ var e = this.partialObserver;
190
+ if (e.next)
191
+ try {
192
+ e.next(t);
193
+ } catch (i) {
194
+ ie(i);
195
+ }
196
+ }, r.prototype.error = function(t) {
197
+ var e = this.partialObserver;
198
+ if (e.error)
199
+ try {
200
+ e.error(t);
201
+ } catch (i) {
202
+ ie(i);
203
+ }
204
+ else
205
+ ie(t);
206
+ }, r.prototype.complete = function() {
207
+ var t = this.partialObserver;
208
+ if (t.complete)
209
+ try {
210
+ t.complete();
211
+ } catch (e) {
212
+ ie(e);
213
+ }
214
+ }, r;
215
+ }(), pe = function(r) {
216
+ Q(t, r);
217
+ function t(e, i, n) {
218
+ var l = r.call(this) || this, s;
219
+ if (M(e) || !e)
220
+ s = {
221
+ next: e != null ? e : void 0,
222
+ error: i != null ? i : void 0,
223
+ complete: n != null ? n : void 0
224
+ };
225
+ else {
226
+ var c;
227
+ l && Me.useDeprecatedNextContext ? (c = Object.create(e), c.unsubscribe = function() {
228
+ return l.unsubscribe();
229
+ }, s = {
230
+ next: e.next && ae(e.next, c),
231
+ error: e.error && ae(e.error, c),
232
+ complete: e.complete && ae(e.complete, c)
233
+ }) : s = e;
234
+ }
235
+ return l.destination = new tt(s), l;
236
+ }
237
+ return t;
238
+ }(Be);
239
+ function ie(r) {
240
+ $e(r);
241
+ }
242
+ function rt(r) {
243
+ throw r;
244
+ }
245
+ var it = {
246
+ closed: !0,
247
+ next: Fe,
248
+ error: rt,
249
+ complete: Fe
250
+ }, nt = function() {
251
+ return typeof Symbol == "function" && Symbol.observable || "@@observable";
252
+ }();
253
+ function lt(r) {
254
+ return r;
255
+ }
256
+ function ot(r) {
257
+ return r.length === 0 ? lt : r.length === 1 ? r[0] : function(e) {
258
+ return r.reduce(function(i, n) {
259
+ return n(i);
260
+ }, e);
261
+ };
262
+ }
263
+ var we = function() {
264
+ function r(t) {
265
+ t && (this._subscribe = t);
266
+ }
267
+ return r.prototype.lift = function(t) {
268
+ var e = new r();
269
+ return e.source = this, e.operator = t, e;
270
+ }, r.prototype.subscribe = function(t, e, i) {
271
+ var n = this, l = at(t) ? t : new pe(t, e, i);
272
+ return ne(function() {
273
+ var s = n, c = s.operator, d = s.source;
274
+ l.add(c ? c.call(l, d) : d ? n._subscribe(l) : n._trySubscribe(l));
275
+ }), l;
276
+ }, r.prototype._trySubscribe = function(t) {
277
+ try {
278
+ return this._subscribe(t);
279
+ } catch (e) {
280
+ t.error(e);
281
+ }
282
+ }, r.prototype.forEach = function(t, e) {
283
+ var i = this;
284
+ return e = Se(e), new e(function(n, l) {
285
+ var s = new pe({
286
+ next: function(c) {
287
+ try {
288
+ t(c);
289
+ } catch (d) {
290
+ l(d), s.unsubscribe();
291
+ }
292
+ },
293
+ error: l,
294
+ complete: n
295
+ });
296
+ i.subscribe(s);
297
+ });
298
+ }, r.prototype._subscribe = function(t) {
299
+ var e;
300
+ return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
301
+ }, r.prototype[nt] = function() {
302
+ return this;
303
+ }, r.prototype.pipe = function() {
304
+ for (var t = [], e = 0; e < arguments.length; e++)
305
+ t[e] = arguments[e];
306
+ return ot(t)(this);
307
+ }, r.prototype.toPromise = function(t) {
308
+ var e = this;
309
+ return t = Se(t), new t(function(i, n) {
310
+ var l;
311
+ e.subscribe(function(s) {
312
+ return l = s;
313
+ }, function(s) {
314
+ return n(s);
315
+ }, function() {
316
+ return i(l);
317
+ });
318
+ });
319
+ }, r.create = function(t) {
320
+ return new r(t);
321
+ }, r;
322
+ }();
323
+ function Se(r) {
324
+ var t;
325
+ return (t = r != null ? r : Me.Promise) !== null && t !== void 0 ? t : Promise;
326
+ }
327
+ function st(r) {
328
+ return r && M(r.next) && M(r.error) && M(r.complete);
329
+ }
330
+ function at(r) {
331
+ return r && r instanceof Be || st(r) && je(r);
332
+ }
333
+ var ct = Oe(function(r) {
334
+ return function() {
335
+ r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
336
+ };
337
+ }), We = function(r) {
338
+ Q(t, r);
339
+ function t() {
340
+ var e = r.call(this) || this;
341
+ return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
342
+ }
343
+ return t.prototype.lift = function(e) {
344
+ var i = new Ce(this, this);
345
+ return i.operator = e, i;
346
+ }, t.prototype._throwIfClosed = function() {
347
+ if (this.closed)
348
+ throw new ct();
349
+ }, t.prototype.next = function(e) {
350
+ var i = this;
351
+ ne(function() {
352
+ var n, l;
353
+ if (i._throwIfClosed(), !i.isStopped) {
354
+ i.currentObservers || (i.currentObservers = Array.from(i.observers));
355
+ try {
356
+ for (var s = ce(i.currentObservers), c = s.next(); !c.done; c = s.next()) {
357
+ var d = c.value;
358
+ d.next(e);
359
+ }
360
+ } catch (g) {
361
+ n = { error: g };
362
+ } finally {
363
+ try {
364
+ c && !c.done && (l = s.return) && l.call(s);
365
+ } finally {
366
+ if (n) throw n.error;
367
+ }
368
+ }
369
+ }
370
+ });
371
+ }, t.prototype.error = function(e) {
372
+ var i = this;
373
+ ne(function() {
374
+ if (i._throwIfClosed(), !i.isStopped) {
375
+ i.hasError = i.isStopped = !0, i.thrownError = e;
376
+ for (var n = i.observers; n.length; )
377
+ n.shift().error(e);
378
+ }
379
+ });
380
+ }, t.prototype.complete = function() {
381
+ var e = this;
382
+ ne(function() {
383
+ if (e._throwIfClosed(), !e.isStopped) {
384
+ e.isStopped = !0;
385
+ for (var i = e.observers; i.length; )
386
+ i.shift().complete();
387
+ }
388
+ });
389
+ }, t.prototype.unsubscribe = function() {
390
+ this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
391
+ }, Object.defineProperty(t.prototype, "observed", {
392
+ get: function() {
393
+ var e;
394
+ return ((e = this.observers) === null || e === void 0 ? void 0 : e.length) > 0;
395
+ },
396
+ enumerable: !1,
397
+ configurable: !0
398
+ }), t.prototype._trySubscribe = function(e) {
399
+ return this._throwIfClosed(), r.prototype._trySubscribe.call(this, e);
400
+ }, t.prototype._subscribe = function(e) {
401
+ return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
402
+ }, t.prototype._innerSubscribe = function(e) {
403
+ var i = this, n = this, l = n.hasError, s = n.isStopped, c = n.observers;
404
+ return l || s ? Ae : (this.currentObservers = null, c.push(e), new oe(function() {
405
+ i.currentObservers = null, de(c, e);
406
+ }));
407
+ }, t.prototype._checkFinalizedStatuses = function(e) {
408
+ var i = this, n = i.hasError, l = i.thrownError, s = i.isStopped;
409
+ n ? e.error(l) : s && e.complete();
410
+ }, t.prototype.asObservable = function() {
411
+ var e = new we();
412
+ return e.source = this, e;
413
+ }, t.create = function(e, i) {
414
+ return new Ce(e, i);
415
+ }, t;
416
+ }(we), Ce = function(r) {
417
+ Q(t, r);
418
+ function t(e, i) {
419
+ var n = r.call(this) || this;
420
+ return n.destination = e, n.source = i, n;
421
+ }
422
+ return t.prototype.next = function(e) {
423
+ var i, n;
424
+ (n = (i = this.destination) === null || i === void 0 ? void 0 : i.next) === null || n === void 0 || n.call(i, e);
425
+ }, t.prototype.error = function(e) {
426
+ var i, n;
427
+ (n = (i = this.destination) === null || i === void 0 ? void 0 : i.error) === null || n === void 0 || n.call(i, e);
428
+ }, t.prototype.complete = function() {
429
+ var e, i;
430
+ (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
431
+ }, t.prototype._subscribe = function(e) {
432
+ var i, n;
433
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && n !== void 0 ? n : Ae;
434
+ }, t;
435
+ }(We), ze = {
436
+ now: function() {
437
+ return (ze.delegate || Date).now();
438
+ },
439
+ delegate: void 0
440
+ }, ut = function(r) {
441
+ Q(t, r);
442
+ function t(e, i, n) {
443
+ e === void 0 && (e = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = ze);
444
+ var l = r.call(this) || this;
445
+ 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;
446
+ }
447
+ return t.prototype.next = function(e) {
448
+ var i = this, n = i.isStopped, l = i._buffer, s = i._infiniteTimeWindow, c = i._timestampProvider, d = i._windowTime;
449
+ n || (l.push(e), !s && l.push(c.now() + d)), this._trimBuffer(), r.prototype.next.call(this, e);
450
+ }, t.prototype._subscribe = function(e) {
451
+ this._throwIfClosed(), this._trimBuffer();
452
+ for (var i = this._innerSubscribe(e), n = this, l = n._infiniteTimeWindow, s = n._buffer, c = s.slice(), d = 0; d < c.length && !e.closed; d += l ? 1 : 2)
453
+ e.next(c[d]);
454
+ return this._checkFinalizedStatuses(e), i;
455
+ }, t.prototype._trimBuffer = function() {
456
+ var e = this, i = e._bufferSize, n = e._timestampProvider, l = e._buffer, s = e._infiniteTimeWindow, c = (s ? 1 : 2) * i;
457
+ if (i < 1 / 0 && c < l.length && l.splice(0, l.length - c), !s) {
458
+ for (var d = n.now(), g = 0, p = 1; p < l.length && l[p] <= d; p += 2)
459
+ g = p;
460
+ g && l.splice(0, g + 1);
461
+ }
462
+ }, t;
463
+ }(We);
464
+ const ke = [], xe = {}, ft = (r, t = 0) => {
465
+ if (ke.indexOf(r) == -1) {
466
+ const e = new ut(t);
467
+ xe[r] = e, ke.push(r);
468
+ }
469
+ return xe[r];
470
+ };
471
+ window.emWidgets = { topic: ft };
472
+ const dt = (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)), pt = (r) => r.toLowerCase().match(/android/i) ? "Android" : r.toLowerCase().match(/iphone/i) ? "iPhone" : r.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
473
+ function kt(r, t) {
474
+ const e = window.navigator.userAgent;
475
+ return dt(e) ? t = r.filter((i) => {
476
+ if (i.gameModel && (i.gameModel.platform.includes("iPad") || i.gameModel.platform.includes("iPhone") || i.gameModel.platform.includes("Android")))
477
+ return i;
478
+ }) : t = r.filter((i) => {
479
+ if (i.gameModel && i.gameModel.platform.includes("PC"))
480
+ return i;
481
+ }), t;
482
+ }
483
+ function ht({ withLocale: r, translations: t }) {
484
+ me.subscribe((e) => {
485
+ e == null && (Re.set(t), me.set(r));
486
+ });
487
+ }
488
+ function Pe(r, t) {
489
+ Ve(r, t);
490
+ }
491
+ const Ee = {
492
+ en: {
493
+ providers: "Providers:",
494
+ filterby: "Filter by:",
495
+ all: "All",
496
+ clear: "Clear all"
497
+ },
498
+ zh: {
499
+ providers: "Providers:",
500
+ filterby: "Filter by",
501
+ all: "all",
502
+ clear: "Clear all"
503
+ },
504
+ de: {
505
+ providers: "Providers:",
506
+ filterby: "Filter by:",
507
+ all: "all",
508
+ clear: "Clear all"
509
+ },
510
+ it: {
511
+ providers: "Providers:",
512
+ filterby: "Filter by:",
513
+ all: "all",
514
+ clear: "Clear all"
515
+ },
516
+ fr: {
517
+ providers: "Providers:",
518
+ filterby: "Filter by:",
519
+ all: "all",
520
+ clear: "Clear all"
521
+ },
522
+ es: {
523
+ providers: "Proveedores:",
524
+ filterby: "Filtrar Por:",
525
+ all: "Todos",
526
+ clear: "Limpiar todos"
527
+ },
528
+ tr: {
529
+ providers: "Sağlayıcılar:",
530
+ filterby: "Filtrele:",
531
+ all: "Hepsi",
532
+ clear: "Tümünü Temizle"
533
+ },
534
+ ru: {
535
+ providers: "Providers:",
536
+ filterby: "Filter by:",
537
+ all: "all",
538
+ clear: "Clear all"
539
+ },
540
+ ro: {
541
+ providers: "Providers:",
542
+ filterby: "Filter by:",
543
+ all: "all",
544
+ clear: "Clear all"
545
+ },
546
+ hr: {
547
+ providers: "Brendovi igara",
548
+ filterby: "Filtrirati po:",
549
+ all: "Sve",
550
+ clear: "Očisti sve"
551
+ },
552
+ hu: {
553
+ providers: "Providers:",
554
+ filterby: "Filter by:",
555
+ all: "all",
556
+ clear: "Clear all"
557
+ },
558
+ pl: {
559
+ providers: "Providers:",
560
+ filterby: "Filter by:",
561
+ all: "all",
562
+ clear: "Clear all"
563
+ },
564
+ pt: {
565
+ providers: "Providers:",
566
+ filterby: "Filter by:",
567
+ all: "all",
568
+ clear: "Clear all"
569
+ },
570
+ sl: {
571
+ providers: "Providers:",
572
+ filterby: "Filter by:",
573
+ all: "all",
574
+ clear: "Clear all"
575
+ },
576
+ sr: {
577
+ providers: "Providers:",
578
+ filterby: "Filter by:",
579
+ all: "all",
580
+ clear: "Clear all"
581
+ },
582
+ "pt-br": {
583
+ providers: "Provedores:",
584
+ filterby: "Filtrar por",
585
+ all: "Tudo",
586
+ clear: "Apagar tudo"
587
+ },
588
+ "es-mx": {
589
+ providers: "Proveedores:",
590
+ filterby: "Filtrar por",
591
+ all: "Todo",
592
+ clear: "Borrar todo"
593
+ }
594
+ };
595
+ function mt(r) {
596
+ Ze(r, "svelte-1kkfwlf", '.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-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(--emfe-w-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(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-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(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.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(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-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}}');
597
+ }
598
+ function Ie(r, t, e) {
599
+ const i = r.slice();
600
+ return i[36] = t[e], i[37] = t, i[38] = e, i;
601
+ }
602
+ function bt(r) {
603
+ let t, e, i, n, l, s, c, d, g = (
604
+ /*$_*/
605
+ r[11]("filterby") + ""
606
+ ), p, w, v, k, x = (
607
+ /*$_*/
608
+ r[11]("providers") + ""
609
+ ), _, C, h, S, F, A, D, P, K, j, R, X, I, J = (
610
+ /*$_*/
611
+ r[11]("clear") + ""
612
+ ), Y, V, q, H, Z, $;
613
+ function ee(a, b) {
614
+ return (
615
+ /*fullSelection*/
616
+ a[7] ? yt : vt
617
+ );
618
+ }
619
+ let G = ee(r), E = G(r), B = ge(
620
+ /*vendorArray*/
621
+ r[5]
622
+ ), o = [];
623
+ for (let a = 0; a < B.length; a += 1)
624
+ o[a] = Te(Ie(r, B, a));
625
+ return {
626
+ c() {
627
+ t = y("div"), e = y("div"), i = y("div"), n = re("svg"), l = re("path"), s = L(), c = y("div"), d = y("span"), p = O(g), w = L(), v = y("div"), k = y("span"), _ = O(x), C = L(), E.c(), h = L(), S = y("span"), F = re("svg"), A = re("path"), K = L(), j = y("div"), R = y("ul");
628
+ for (let a = 0; a < o.length; a += 1)
629
+ o[a].c();
630
+ X = L(), I = y("button"), Y = O(J), 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(d, "class", "FilterName"), u(v, "class", "FilterValueContainer"), u(c, "class", "FilterTextContainer"), u(i, "class", "FilterMainArea"), u(A, "id", "arrow"), u(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"), u(A, "transform", "translate(-274.511 -441.088)"), u(A, "fill", "#d1d1d1"), u(F, "xmlns", "http://www.w3.org/2000/svg"), u(F, "width", "14"), u(F, "height", "6.835"), u(F, "viewBox", "0 0 14 6.835"), u(S, "class", D = "TriangleInactive " + /*isFilterActive*/
631
+ (r[4] ? "TriangleActive" : "")), u(e, "class", P = "FilterSelector " + /*isFilterActive*/
632
+ (r[4] ? "FilterSelectorOpen" : "")), u(R, "class", "FilterDropdown"), u(I, "class", "ClearFilters"), I.disabled = V = /*fullSelection*/
633
+ r[7] && /*selectedVendorArray*/
634
+ r[6].length != /*vendorArray*/
635
+ r[5].length, u(j, "class", q = "FilterDropdownContainer " + /*isFilterActive*/
636
+ (r[4] ? "FilterOpen" : "")), u(t, "class", H = "FilterContainer " + /*addfilterselector*/
637
+ (r[0] == "true" && /*addsortingselector*/
638
+ r[1] == "true" ? "FilerContainerSplit" : ""));
639
+ },
640
+ m(a, b) {
641
+ z(a, t, b), f(t, e), f(e, i), f(i, n), f(n, l), f(i, s), f(i, c), f(c, d), f(d, p), f(c, w), f(c, v), f(v, k), f(k, _), f(v, C), E.m(v, null), f(e, h), f(e, S), f(S, F), f(F, A), f(t, K), f(t, j), f(j, R);
642
+ for (let m = 0; m < o.length; m += 1)
643
+ o[m] && o[m].m(R, null);
644
+ f(j, X), f(j, I), f(I, Y), Z || ($ = [
645
+ le(
646
+ e,
647
+ "click",
648
+ /*click_handler*/
649
+ r[22]
650
+ ),
651
+ le(
652
+ I,
653
+ "click",
654
+ /*click_handler_2*/
655
+ r[25]
656
+ )
657
+ ], Z = !0);
658
+ },
659
+ p(a, b) {
660
+ if (b[0] & /*$_*/
661
+ 2048 && g !== (g = /*$_*/
662
+ a[11]("filterby") + "") && W(p, g), b[0] & /*$_*/
663
+ 2048 && x !== (x = /*$_*/
664
+ a[11]("providers") + "") && W(_, x), G === (G = ee(a)) && E ? E.p(a, b) : (E.d(1), E = G(a), E && (E.c(), E.m(v, null))), b[0] & /*isFilterActive*/
665
+ 16 && D !== (D = "TriangleInactive " + /*isFilterActive*/
666
+ (a[4] ? "TriangleActive" : "")) && u(S, "class", D), b[0] & /*isFilterActive*/
667
+ 16 && P !== (P = "FilterSelector " + /*isFilterActive*/
668
+ (a[4] ? "FilterSelectorOpen" : "")) && u(e, "class", P), b[0] & /*filterbylogo, vendorArray, filterByVendors*/
669
+ 8228) {
670
+ B = ge(
671
+ /*vendorArray*/
672
+ a[5]
673
+ );
674
+ let m;
675
+ for (m = 0; m < B.length; m += 1) {
676
+ const N = Ie(a, B, m);
677
+ o[m] ? o[m].p(N, b) : (o[m] = Te(N), o[m].c(), o[m].m(R, null));
678
+ }
679
+ for (; m < o.length; m += 1)
680
+ o[m].d(1);
681
+ o.length = B.length;
682
+ }
683
+ b[0] & /*$_*/
684
+ 2048 && J !== (J = /*$_*/
685
+ a[11]("clear") + "") && W(Y, J), b[0] & /*fullSelection, selectedVendorArray, vendorArray*/
686
+ 224 && V !== (V = /*fullSelection*/
687
+ a[7] && /*selectedVendorArray*/
688
+ a[6].length != /*vendorArray*/
689
+ a[5].length) && (I.disabled = V), b[0] & /*isFilterActive*/
690
+ 16 && q !== (q = "FilterDropdownContainer " + /*isFilterActive*/
691
+ (a[4] ? "FilterOpen" : "")) && u(j, "class", q), b[0] & /*addfilterselector, addsortingselector*/
692
+ 3 && H !== (H = "FilterContainer " + /*addfilterselector*/
693
+ (a[0] == "true" && /*addsortingselector*/
694
+ a[1] == "true" ? "FilerContainerSplit" : "")) && u(t, "class", H);
695
+ },
696
+ d(a) {
697
+ a && U(t), E.d(), Qe(o, a), Z = !1, Le($);
698
+ }
699
+ };
700
+ }
701
+ function gt(r) {
702
+ let t, e = (
703
+ /*$_*/
704
+ r[11]("500") + ""
705
+ ), i;
706
+ return {
707
+ c() {
708
+ t = y("p"), i = O(e), u(t, "class", "SearchLoading");
709
+ },
710
+ m(n, l) {
711
+ z(n, t, l), f(t, i);
712
+ },
713
+ p(n, l) {
714
+ l[0] & /*$_*/
715
+ 2048 && e !== (e = /*$_*/
716
+ n[11]("500") + "") && W(i, e);
717
+ },
718
+ d(n) {
719
+ n && U(t);
720
+ }
721
+ };
722
+ }
723
+ function vt(r) {
724
+ let t, e;
725
+ return {
726
+ c() {
727
+ t = y("span"), e = O(
728
+ /*selectionNumber*/
729
+ r[8]
730
+ ), u(t, "class", "FilterCounter");
731
+ },
732
+ m(i, n) {
733
+ z(i, t, n), f(t, e);
734
+ },
735
+ p(i, n) {
736
+ n[0] & /*selectionNumber*/
737
+ 256 && W(
738
+ e,
739
+ /*selectionNumber*/
740
+ i[8]
741
+ );
742
+ },
743
+ d(i) {
744
+ i && U(t);
745
+ }
746
+ };
747
+ }
748
+ function yt(r) {
749
+ let t, e = (
750
+ /*$_*/
751
+ r[11]("all") + ""
752
+ ), i;
753
+ return {
754
+ c() {
755
+ t = y("span"), i = O(e), u(t, "class", "FilterCounter");
756
+ },
757
+ m(n, l) {
758
+ z(n, t, l), f(t, i);
759
+ },
760
+ p(n, l) {
761
+ l[0] & /*$_*/
762
+ 2048 && e !== (e = /*$_*/
763
+ n[11]("all") + "") && W(i, e);
764
+ },
765
+ d(n) {
766
+ n && U(t);
767
+ }
768
+ };
769
+ }
770
+ function _t(r) {
771
+ let t, e;
772
+ return {
773
+ c() {
774
+ t = y("img"), ye(t.src, e = /*vendor*/
775
+ r[36].logo) || u(t, "src", e), u(t, "alt", "vendor logo");
776
+ },
777
+ m(i, n) {
778
+ z(i, t, n);
779
+ },
780
+ p(i, n) {
781
+ n[0] & /*vendorArray*/
782
+ 32 && !ye(t.src, e = /*vendor*/
783
+ i[36].logo) && u(t, "src", e);
784
+ },
785
+ d(i) {
786
+ i && U(t);
787
+ }
788
+ };
789
+ }
790
+ function Ft(r) {
791
+ let t, e, i = (
792
+ /*vendor*/
793
+ r[36].name + ""
794
+ ), n, l, s, c, d = (
795
+ /*vendor*/
796
+ r[36].games.count + ""
797
+ ), g, p;
798
+ return {
799
+ c() {
800
+ t = y("div"), e = y("span"), n = O(i), l = L(), s = y("span"), c = O("("), g = O(d), p = O(")"), u(t, "class", "FilterItemLabel");
801
+ },
802
+ m(w, v) {
803
+ z(w, t, v), f(t, e), f(e, n), f(t, l), f(t, s), f(s, c), f(s, g), f(s, p);
804
+ },
805
+ p(w, v) {
806
+ v[0] & /*vendorArray*/
807
+ 32 && i !== (i = /*vendor*/
808
+ w[36].name + "") && W(n, i), v[0] & /*vendorArray*/
809
+ 32 && d !== (d = /*vendor*/
810
+ w[36].games.count + "") && W(g, d);
811
+ },
812
+ d(w) {
813
+ w && U(t);
814
+ }
815
+ };
816
+ }
817
+ function Te(r) {
818
+ let t, e, i, n, l, s, c, d, g, p, w, v;
819
+ function k() {
820
+ r[23].call(
821
+ i,
822
+ /*each_value*/
823
+ r[37],
824
+ /*vendor_index*/
825
+ r[38]
826
+ );
827
+ }
828
+ function x() {
829
+ return (
830
+ /*click_handler_1*/
831
+ r[24](
832
+ /*vendor*/
833
+ r[36]
834
+ )
835
+ );
836
+ }
837
+ function _(S, F) {
838
+ if (
839
+ /*filterbylogo*/
840
+ S[2] === "false"
841
+ ) return Ft;
842
+ if (
843
+ /*filterbylogo*/
844
+ S[2] === "true"
845
+ ) return _t;
846
+ }
847
+ let C = _(r), h = C && C(r);
848
+ return {
849
+ c() {
850
+ t = y("li"), e = y("label"), i = y("input"), l = L(), s = y("span"), c = L(), h && h.c(), d = L(), u(i, "type", "checkbox"), u(i, "name", "checkbox"), i.__value = n = /*vendor*/
851
+ r[36].name, ve(i, i.__value), u(s, "class", "FiltersCheckmark"), u(e, "class", "FilterLabel"), u(t, "class", g = "FilterItem " + /*filterbylogo*/
852
+ (r[2] === "true" ? "FilterItemWithLogos" : "")), t.value = p = /*vendor*/
853
+ r[36].name;
854
+ },
855
+ m(S, F) {
856
+ z(S, t, F), f(t, e), f(e, i), i.checked = /*vendor*/
857
+ r[36].isFilterSelected, f(e, l), f(e, s), f(e, c), h && h.m(e, null), f(t, d), w || (v = [
858
+ le(i, "change", k),
859
+ le(i, "click", x)
860
+ ], w = !0);
861
+ },
862
+ p(S, F) {
863
+ r = S, F[0] & /*vendorArray*/
864
+ 32 && n !== (n = /*vendor*/
865
+ r[36].name) && (i.__value = n, ve(i, i.__value)), F[0] & /*vendorArray*/
866
+ 32 && (i.checked = /*vendor*/
867
+ r[36].isFilterSelected), C === (C = _(r)) && h ? h.p(r, F) : (h && h.d(1), h = C && C(r), h && (h.c(), h.m(e, null))), F[0] & /*filterbylogo*/
868
+ 4 && g !== (g = "FilterItem " + /*filterbylogo*/
869
+ (r[2] === "true" ? "FilterItemWithLogos" : "")) && u(t, "class", g), F[0] & /*vendorArray*/
870
+ 32 && p !== (p = /*vendor*/
871
+ r[36].name) && (t.value = p);
872
+ },
873
+ d(S) {
874
+ S && U(t), h && h.d(), w = !1, Le(v);
875
+ }
876
+ };
877
+ }
878
+ function wt(r) {
879
+ let t;
880
+ function e(l, s) {
881
+ if (
882
+ /*hasErrors*/
883
+ l[10]
884
+ ) return gt;
885
+ if (!/*isLoading*/
886
+ l[9]) return bt;
887
+ }
888
+ let i = e(r), n = i && i(r);
889
+ return {
890
+ c() {
891
+ t = y("div"), n && n.c();
892
+ },
893
+ m(l, s) {
894
+ z(l, t, s), n && n.m(t, null), r[26](t);
895
+ },
896
+ p(l, s) {
897
+ i === (i = e(l)) && n ? n.p(l, s) : (n && n.d(1), n = i && i(l), n && (n.c(), n.m(t, null)));
898
+ },
899
+ i: be,
900
+ o: be,
901
+ d(l) {
902
+ l && U(t), n && n.d(), r[26](null);
903
+ }
904
+ };
905
+ }
906
+ function St(r, t, e) {
907
+ let i;
908
+ Ge(r, Xe, (o) => e(11, i = o));
909
+ let { endpoint: n = "" } = t, { datasource: l = "" } = t, { lang: s = "" } = t, { translationurl: c = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: g = "" } = t, { categoryid: p = "" } = t, { addfilterselector: w = "false" } = t, { addsortingselector: v = "false" } = t, { filterbylogo: k = "false" } = t, x = !1, _ = window.navigator.userAgent, C = [], h = [], S = {}, F = !1, A = 0, D = !0, P, K = !1;
910
+ ht({ withLocale: "en", translations: {} });
911
+ const j = () => {
912
+ fetch(c).then((a) => a.json()).then((a) => {
913
+ Object.keys(a).forEach((b) => {
914
+ Pe(b, a[b]);
915
+ });
916
+ }).catch((a) => {
917
+ console.log(a);
918
+ });
919
+ };
920
+ Object.keys(Ee).forEach((o) => {
921
+ Pe(o, Ee[o]);
922
+ });
923
+ const R = () => {
924
+ let o = document.createElement("style");
925
+ o.innerHTML = d, P.appendChild(o);
926
+ }, X = () => {
927
+ let o = document.createElement("style");
928
+ fetch(new URL(g)).then((a) => a.text()).then((a) => {
929
+ o.innerHTML = a, setTimeout(
930
+ () => {
931
+ P.appendChild(o);
932
+ },
933
+ 1
934
+ );
935
+ });
936
+ };
937
+ S[p] && (S = { [p]: [] });
938
+ const I = () => {
939
+ e(4, x = !x), window.postMessage({ type: "FilterOpened" }, window.location.href);
940
+ }, J = (o) => (e(9, D = !0), new Promise((a, b) => {
941
+ fetch(o).then((m) => m.json()).then((m) => {
942
+ m = m.items, a(m.items), e(6, h = []);
943
+ let N = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
944
+ m.forEach((te) => {
945
+ var he;
946
+ N || (N = { currentCategoryId: [] }), ((he = N[p]) == null ? void 0 : he.indexOf(te.id)) >= 0 ? (te.isFilterSelected = !0, h.push(te)) : te.isFilterSelected = !1;
947
+ }), e(5, C = m), V();
948
+ }).catch((m) => {
949
+ console.error(m), e(10, K = !0), b(m);
950
+ }).finally(() => {
951
+ e(9, D = !1);
952
+ });
953
+ })), Y = (o) => {
954
+ let a = localStorage.getItem("vendorFiltersByCategory");
955
+ o.isFilterSelected = !o.isFilterSelected, !h.length || h.filter((b) => b.name === o.name).length == 0 ? h.push(o) : e(6, h = h.filter((b) => b.name !== o.name)), a == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(S = {
956
+ [p]: h.map((b) => b.id)
957
+ })) : (a = JSON.parse(a), a[p] = h.map((b) => b.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(a))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), V();
958
+ }, V = () => {
959
+ e(7, F = h.length === C.length || h.length == 0), e(8, A = h.length);
960
+ }, q = () => {
961
+ const o = new URL(`${n}/v1/casino/vendors`);
962
+ e(4, x = !1), o.searchParams.append("fields", "id,name,logo,subVendors,games"), o.searchParams.append("language", s), o.searchParams.append("datasource", l), o.searchParams.append("platform", pt(_)), (p.match(/\$/g) || []).length > 1 ? (o.searchParams.append("filter", `games(subGroups=${p})`), o.searchParams.append("subVendors", `games(subGroups=${p})`)) : o.searchParams.append("filter", `games(groups=${p})`), J(o);
963
+ }, H = () => {
964
+ e(6, h = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(S = {
965
+ [p]: h.map((o) => o.id)
966
+ })), C.forEach((o) => o.isFilterSelected = !1), e(5, C), window.postMessage({ type: "ApplyFilters" }, window.location.href), e(7, F = !0), e(4, x = !1);
967
+ }, Z = (o) => {
968
+ o.data.type == "SortingOpened" && e(4, x = !1);
969
+ };
970
+ Ne(() => (window.addEventListener("message", Z, !1), () => {
971
+ window.removeEventListener("message", Z);
972
+ }));
973
+ const $ = () => I();
974
+ function ee(o, a) {
975
+ o[a].isFilterSelected = this.checked, e(5, C);
976
+ }
977
+ const G = (o) => Y(o), E = () => H();
978
+ function B(o) {
979
+ Ke[o ? "unshift" : "push"](() => {
980
+ P = o, e(3, P);
981
+ });
982
+ }
983
+ return r.$$set = (o) => {
984
+ "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, d = o.clientstyling), "clientstylingurl" in o && e(20, g = o.clientstylingurl), "categoryid" in o && e(21, p = 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);
985
+ }, r.$$.update = () => {
986
+ r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
987
+ 2195460 && n && l && p && k && q(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
988
+ 524296 && d && P && R(), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
989
+ 1048584 && g && P && X(), r.$$.dirty[0] & /*translationurl*/
990
+ 262144 && c && j();
991
+ }, [
992
+ w,
993
+ v,
994
+ k,
995
+ P,
996
+ x,
997
+ C,
998
+ h,
999
+ F,
1000
+ A,
1001
+ D,
1002
+ K,
1003
+ i,
1004
+ I,
1005
+ Y,
1006
+ H,
1007
+ n,
1008
+ l,
1009
+ s,
1010
+ c,
1011
+ d,
1012
+ g,
1013
+ p,
1014
+ $,
1015
+ ee,
1016
+ G,
1017
+ E,
1018
+ B
1019
+ ];
1020
+ }
1021
+ class Ue extends He {
1022
+ constructor(t) {
1023
+ super(), Je(
1024
+ this,
1025
+ t,
1026
+ St,
1027
+ wt,
1028
+ qe,
1029
+ {
1030
+ endpoint: 15,
1031
+ datasource: 16,
1032
+ lang: 17,
1033
+ translationurl: 18,
1034
+ clientstyling: 19,
1035
+ clientstylingurl: 20,
1036
+ categoryid: 21,
1037
+ addfilterselector: 0,
1038
+ addsortingselector: 1,
1039
+ filterbylogo: 2
1040
+ },
1041
+ mt,
1042
+ [-1, -1]
1043
+ );
1044
+ }
1045
+ get endpoint() {
1046
+ return this.$$.ctx[15];
1047
+ }
1048
+ set endpoint(t) {
1049
+ this.$$set({ endpoint: t }), T();
1050
+ }
1051
+ get datasource() {
1052
+ return this.$$.ctx[16];
1053
+ }
1054
+ set datasource(t) {
1055
+ this.$$set({ datasource: t }), T();
1056
+ }
1057
+ get lang() {
1058
+ return this.$$.ctx[17];
1059
+ }
1060
+ set lang(t) {
1061
+ this.$$set({ lang: t }), T();
1062
+ }
1063
+ get translationurl() {
1064
+ return this.$$.ctx[18];
1065
+ }
1066
+ set translationurl(t) {
1067
+ this.$$set({ translationurl: t }), T();
1068
+ }
1069
+ get clientstyling() {
1070
+ return this.$$.ctx[19];
1071
+ }
1072
+ set clientstyling(t) {
1073
+ this.$$set({ clientstyling: t }), T();
1074
+ }
1075
+ get clientstylingurl() {
1076
+ return this.$$.ctx[20];
1077
+ }
1078
+ set clientstylingurl(t) {
1079
+ this.$$set({ clientstylingurl: t }), T();
1080
+ }
1081
+ get categoryid() {
1082
+ return this.$$.ctx[21];
1083
+ }
1084
+ set categoryid(t) {
1085
+ this.$$set({ categoryid: t }), T();
1086
+ }
1087
+ get addfilterselector() {
1088
+ return this.$$.ctx[0];
1089
+ }
1090
+ set addfilterselector(t) {
1091
+ this.$$set({ addfilterselector: t }), T();
1092
+ }
1093
+ get addsortingselector() {
1094
+ return this.$$.ctx[1];
1095
+ }
1096
+ set addsortingselector(t) {
1097
+ this.$$set({ addsortingselector: t }), T();
1098
+ }
1099
+ get filterbylogo() {
1100
+ return this.$$.ctx[2];
1101
+ }
1102
+ set filterbylogo(t) {
1103
+ this.$$set({ filterbylogo: t }), T();
1104
+ }
1105
+ }
1106
+ Ye(Ue, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {} }, [], [], !0);
1107
+ const xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1108
+ __proto__: null,
1109
+ default: Ue
1110
+ }, Symbol.toStringTag, { value: "Module" }));
1111
+ export {
1112
+ xt as C,
1113
+ pt as g,
1114
+ dt as i,
1115
+ kt as p
1116
+ };