@everymatrix/casino-navigation-search 1.87.25 → 1.87.27

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 (36) hide show
  1. package/components/CasinoCategories-D03ywWap.js +508 -0
  2. package/components/CasinoCategories-De2O7nY7.cjs +1 -0
  3. package/components/CasinoCategories-DwrD955W.js +505 -0
  4. package/components/{CasinoCategoriesProviders-wiBurw3I.js → CasinoCategoriesProviders-BdtzkzB9.js} +151 -150
  5. package/components/{CasinoCategoriesProviders-C6jaH_bi.js → CasinoCategoriesProviders-CEig9pqM.js} +145 -144
  6. package/components/CasinoCategoriesProviders-CjzJD4F5.cjs +1 -0
  7. package/components/CasinoGameThumbnail-9VdwPGp6.cjs +47 -0
  8. package/components/CasinoGameThumbnail-BhUMu5jg.js +4355 -0
  9. package/components/CasinoGameThumbnail-D-MyFmoL.js +4371 -0
  10. package/components/CasinoNavigationSearch-BXnm3TTr.js +1094 -0
  11. package/components/CasinoNavigationSearch-DCzsTtAH.cjs +1 -0
  12. package/components/CasinoNavigationSearch-eJclHiIa.js +1136 -0
  13. package/components/{CasinoProviders-unwzg6FV.js → CasinoProviders-BZ1HrZLf.js} +84 -83
  14. package/components/{CasinoProviders-CNXaeFol.js → CasinoProviders-Bs8WnLeF.js} +69 -68
  15. package/components/CasinoProviders-mQfo2558.cjs +1 -0
  16. package/components/CasinoSearch-BLkMZ3g_.js +4928 -0
  17. package/components/CasinoSearch-BZ_ZSZxR.cjs +18 -0
  18. package/components/CasinoSearch-jAxRxn7o.js +4946 -0
  19. package/es2015/casino-navigation-search.cjs +1 -1
  20. package/es2015/casino-navigation-search.js +7 -7
  21. package/esnext/casino-navigation-search.js +1 -1
  22. package/package.json +1 -1
  23. package/components/CasinoCategories-BIfo87kb.js +0 -4363
  24. package/components/CasinoCategories-B_XS4BnL.cjs +0 -3
  25. package/components/CasinoCategories-EyDPHbRr.js +0 -4403
  26. package/components/CasinoCategoriesProviders-DwzgJQIC.cjs +0 -1
  27. package/components/CasinoGameThumbnail-COVYIHKr.js +0 -4898
  28. package/components/CasinoGameThumbnail-DJvF4m00.cjs +0 -62
  29. package/components/CasinoGameThumbnail-UFeFBP15.js +0 -4882
  30. package/components/CasinoNavigationSearch-7vC0vX_R.js +0 -472
  31. package/components/CasinoNavigationSearch-DZnDLNrA.js +0 -472
  32. package/components/CasinoNavigationSearch-DdLipJ-m.cjs +0 -1
  33. package/components/CasinoProviders-CXfeouVv.cjs +0 -1
  34. package/components/CasinoSearch-4z15LzHk.js +0 -1136
  35. package/components/CasinoSearch-Axyir5wR.js +0 -1154
  36. package/components/CasinoSearch-DVaxD--r.cjs +0 -1
@@ -0,0 +1,1136 @@
1
+ var ce = Object.defineProperty, ae = Object.defineProperties;
2
+ var ue = Object.getOwnPropertyDescriptors;
3
+ var G = Object.getOwnPropertySymbols;
4
+ var le = Object.prototype.hasOwnProperty, fe = Object.prototype.propertyIsEnumerable;
5
+ var x = (t, e, n) => e in t ? ce(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, J = (t, e) => {
6
+ for (var n in e || (e = {}))
7
+ le.call(e, n) && x(t, n, e[n]);
8
+ if (G)
9
+ for (var n of G(e))
10
+ fe.call(e, n) && x(t, n, e[n]);
11
+ return t;
12
+ }, K = (t, e) => ae(t, ue(e));
13
+ var h = (t, e, n) => (x(t, typeof e != "symbol" ? e + "" : e, n), n);
14
+ var W = (t, e, n) => new Promise((s, a) => {
15
+ var i = (c) => {
16
+ try {
17
+ f(n.next(c));
18
+ } catch (r) {
19
+ a(r);
20
+ }
21
+ }, o = (c) => {
22
+ try {
23
+ f(n.throw(c));
24
+ } catch (r) {
25
+ a(r);
26
+ }
27
+ }, f = (c) => c.done ? s(c.value) : Promise.resolve(c.value).then(i, o);
28
+ f((n = n.apply(t, e)).next());
29
+ });
30
+ function C() {
31
+ }
32
+ function X(t) {
33
+ return t();
34
+ }
35
+ function Y() {
36
+ return /* @__PURE__ */ Object.create(null);
37
+ }
38
+ function M(t) {
39
+ t.forEach(X);
40
+ }
41
+ function Z(t) {
42
+ return typeof t == "function";
43
+ }
44
+ function de(t, e) {
45
+ return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
46
+ }
47
+ let O;
48
+ function qe(t, e) {
49
+ return t === e ? !0 : (O || (O = document.createElement("a")), O.href = e, t === O.href);
50
+ }
51
+ function he(t) {
52
+ return Object.keys(t).length === 0;
53
+ }
54
+ function ge(t, ...e) {
55
+ if (t == null) {
56
+ for (const s of e)
57
+ s(void 0);
58
+ return C;
59
+ }
60
+ const n = t.subscribe(...e);
61
+ return n.unsubscribe ? () => n.unsubscribe() : n;
62
+ }
63
+ function Fe(t, e, n) {
64
+ t.$$.on_destroy.push(ge(e, n));
65
+ }
66
+ function p(t, e) {
67
+ t.appendChild(e);
68
+ }
69
+ function me(t, e, n) {
70
+ const s = $e(t);
71
+ if (!s.getElementById(e)) {
72
+ const a = $("style");
73
+ a.id = e, a.textContent = n, be(s, a);
74
+ }
75
+ }
76
+ function $e(t) {
77
+ if (!t)
78
+ return document;
79
+ const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
80
+ return e && /** @type {ShadowRoot} */
81
+ e.host ? (
82
+ /** @type {ShadowRoot} */
83
+ e
84
+ ) : t.ownerDocument;
85
+ }
86
+ function be(t, e) {
87
+ return p(
88
+ /** @type {Document} */
89
+ t.head || t,
90
+ e
91
+ ), e.sheet;
92
+ }
93
+ function U(t, e, n) {
94
+ t.insertBefore(e, n || null);
95
+ }
96
+ function P(t) {
97
+ t.parentNode && t.parentNode.removeChild(t);
98
+ }
99
+ function Ge(t, e) {
100
+ for (let n = 0; n < t.length; n += 1)
101
+ t[n] && t[n].d(e);
102
+ }
103
+ function $(t) {
104
+ return document.createElement(t);
105
+ }
106
+ function _e(t) {
107
+ return document.createElementNS("http://www.w3.org/2000/svg", t);
108
+ }
109
+ function ee(t) {
110
+ return document.createTextNode(t);
111
+ }
112
+ function ye() {
113
+ return ee(" ");
114
+ }
115
+ function Je() {
116
+ return ee("");
117
+ }
118
+ function Ke(t, e, n, s) {
119
+ return t.addEventListener(e, n, s), () => t.removeEventListener(e, n, s);
120
+ }
121
+ function j(t, e, n) {
122
+ n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
123
+ }
124
+ function u(t, e, n) {
125
+ const s = e.toLowerCase();
126
+ s in t ? t[s] = typeof t[s] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : j(t, e, n);
127
+ }
128
+ function we(t) {
129
+ return Array.from(t.childNodes);
130
+ }
131
+ function We(t, e) {
132
+ e = "" + e, t.data !== e && (t.data = /** @type {string} */
133
+ e);
134
+ }
135
+ function Ye(t, e) {
136
+ t.value = e == null ? "" : e;
137
+ }
138
+ function Qe(t, e, n) {
139
+ t.classList.toggle(e, !!n);
140
+ }
141
+ class Xe {
142
+ constructor(e = !1) {
143
+ /**
144
+ * @private
145
+ * @default false
146
+ */
147
+ h(this, "is_svg", !1);
148
+ /** parent for creating node */
149
+ h(this, "e");
150
+ /** html tag nodes */
151
+ h(this, "n");
152
+ /** target */
153
+ h(this, "t");
154
+ /** anchor */
155
+ h(this, "a");
156
+ this.is_svg = e, this.e = this.n = null;
157
+ }
158
+ /**
159
+ * @param {string} html
160
+ * @returns {void}
161
+ */
162
+ c(e) {
163
+ this.h(e);
164
+ }
165
+ /**
166
+ * @param {string} html
167
+ * @param {HTMLElement | SVGElement} target
168
+ * @param {HTMLElement | SVGElement} anchor
169
+ * @returns {void}
170
+ */
171
+ m(e, n, s = null) {
172
+ this.e || (this.is_svg ? this.e = _e(
173
+ /** @type {keyof SVGElementTagNameMap} */
174
+ n.nodeName
175
+ ) : this.e = $(
176
+ /** @type {keyof HTMLElementTagNameMap} */
177
+ n.nodeType === 11 ? "TEMPLATE" : n.nodeName
178
+ ), this.t = n.tagName !== "TEMPLATE" ? n : (
179
+ /** @type {HTMLTemplateElement} */
180
+ n.content
181
+ ), this.c(e)), this.i(s);
182
+ }
183
+ /**
184
+ * @param {string} html
185
+ * @returns {void}
186
+ */
187
+ h(e) {
188
+ this.e.innerHTML = e, this.n = Array.from(
189
+ this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
190
+ );
191
+ }
192
+ /**
193
+ * @returns {void} */
194
+ i(e) {
195
+ for (let n = 0; n < this.n.length; n += 1)
196
+ U(this.t, this.n[n], e);
197
+ }
198
+ /**
199
+ * @param {string} html
200
+ * @returns {void}
201
+ */
202
+ p(e) {
203
+ this.d(), this.h(e), this.i(this.a);
204
+ }
205
+ /**
206
+ * @returns {void} */
207
+ d() {
208
+ this.n.forEach(P);
209
+ }
210
+ }
211
+ function pe(t) {
212
+ const e = {};
213
+ return t.childNodes.forEach(
214
+ /** @param {Element} node */
215
+ (n) => {
216
+ e[n.slot || "default"] = !0;
217
+ }
218
+ ), e;
219
+ }
220
+ let k;
221
+ function N(t) {
222
+ k = t;
223
+ }
224
+ function Ee() {
225
+ if (!k)
226
+ throw new Error("Function called outside component initialization");
227
+ return k;
228
+ }
229
+ function Se(t) {
230
+ Ee().$$.on_mount.push(t);
231
+ }
232
+ const E = [], D = [];
233
+ let v = [];
234
+ const Q = [], te = /* @__PURE__ */ Promise.resolve();
235
+ let R = !1;
236
+ function ne() {
237
+ R || (R = !0, te.then(d));
238
+ }
239
+ function Ze() {
240
+ return ne(), te;
241
+ }
242
+ function I(t) {
243
+ v.push(t);
244
+ }
245
+ const H = /* @__PURE__ */ new Set();
246
+ let w = 0;
247
+ function d() {
248
+ if (w !== 0)
249
+ return;
250
+ const t = k;
251
+ do {
252
+ try {
253
+ for (; w < E.length; ) {
254
+ const e = E[w];
255
+ w++, N(e), ve(e.$$);
256
+ }
257
+ } catch (e) {
258
+ throw E.length = 0, w = 0, e;
259
+ }
260
+ for (N(null), E.length = 0, w = 0; D.length; )
261
+ D.pop()();
262
+ for (let e = 0; e < v.length; e += 1) {
263
+ const n = v[e];
264
+ H.has(n) || (H.add(n), n());
265
+ }
266
+ v.length = 0;
267
+ } while (E.length);
268
+ for (; Q.length; )
269
+ Q.pop()();
270
+ R = !1, H.clear(), N(t);
271
+ }
272
+ function ve(t) {
273
+ if (t.fragment !== null) {
274
+ t.update(), M(t.before_update);
275
+ const e = t.dirty;
276
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(I);
277
+ }
278
+ }
279
+ function Ce(t) {
280
+ const e = [], n = [];
281
+ v.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), v = e;
282
+ }
283
+ const Le = /* @__PURE__ */ new Set();
284
+ function Ne(t, e) {
285
+ t && t.i && (Le.delete(t), t.i(e));
286
+ }
287
+ function et(t) {
288
+ return (t == null ? void 0 : t.length) !== void 0 ? t : Array.from(t);
289
+ }
290
+ function ke(t, e, n) {
291
+ const { fragment: s, after_update: a } = t.$$;
292
+ s && s.m(e, n), I(() => {
293
+ const i = t.$$.on_mount.map(X).filter(Z);
294
+ t.$$.on_destroy ? t.$$.on_destroy.push(...i) : M(i), t.$$.on_mount = [];
295
+ }), a.forEach(I);
296
+ }
297
+ function Ae(t, e) {
298
+ const n = t.$$;
299
+ n.fragment !== null && (Ce(n.after_update), M(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
300
+ }
301
+ function Oe(t, e) {
302
+ t.$$.dirty[0] === -1 && (E.push(t), ne(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
303
+ }
304
+ function Te(t, e, n, s, a, i, o = null, f = [-1]) {
305
+ const c = k;
306
+ N(t);
307
+ const r = t.$$ = {
308
+ fragment: null,
309
+ ctx: [],
310
+ // state
311
+ props: i,
312
+ update: C,
313
+ not_equal: a,
314
+ bound: Y(),
315
+ // lifecycle
316
+ on_mount: [],
317
+ on_destroy: [],
318
+ on_disconnect: [],
319
+ before_update: [],
320
+ after_update: [],
321
+ context: new Map(e.context || (c ? c.$$.context : [])),
322
+ // everything else
323
+ callbacks: Y(),
324
+ dirty: f,
325
+ skip_bound: !1,
326
+ root: e.target || c.$$.root
327
+ };
328
+ o && o(r.root);
329
+ let b = !1;
330
+ if (r.ctx = n ? n(t, e.props || {}, (g, L, ..._) => {
331
+ const y = _.length ? _[0] : L;
332
+ return r.ctx && a(r.ctx[g], r.ctx[g] = y) && (!r.skip_bound && r.bound[g] && r.bound[g](y), b && Oe(t, g)), L;
333
+ }) : [], r.update(), b = !0, M(r.before_update), r.fragment = s ? s(r.ctx) : !1, e.target) {
334
+ if (e.hydrate) {
335
+ const g = we(e.target);
336
+ r.fragment && r.fragment.l(g), g.forEach(P);
337
+ } else
338
+ r.fragment && r.fragment.c();
339
+ e.intro && Ne(t.$$.fragment), ke(t, e.target, e.anchor), d();
340
+ }
341
+ N(c);
342
+ }
343
+ let se;
344
+ typeof HTMLElement == "function" && (se = class extends HTMLElement {
345
+ constructor(e, n, s) {
346
+ super();
347
+ /** The Svelte component constructor */
348
+ h(this, "$$ctor");
349
+ /** Slots */
350
+ h(this, "$$s");
351
+ /** The Svelte component instance */
352
+ h(this, "$$c");
353
+ /** Whether or not the custom element is connected */
354
+ h(this, "$$cn", !1);
355
+ /** Component props data */
356
+ h(this, "$$d", {});
357
+ /** `true` if currently in the process of reflecting component props back to attributes */
358
+ h(this, "$$r", !1);
359
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
360
+ h(this, "$$p_d", {});
361
+ /** @type {Record<string, Function[]>} Event listeners */
362
+ h(this, "$$l", {});
363
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
364
+ h(this, "$$l_u", /* @__PURE__ */ new Map());
365
+ this.$$ctor = e, this.$$s = n, s && this.attachShadow({ mode: "open" });
366
+ }
367
+ addEventListener(e, n, s) {
368
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(n), this.$$c) {
369
+ const a = this.$$c.$on(e, n);
370
+ this.$$l_u.set(n, a);
371
+ }
372
+ super.addEventListener(e, n, s);
373
+ }
374
+ removeEventListener(e, n, s) {
375
+ if (super.removeEventListener(e, n, s), this.$$c) {
376
+ const a = this.$$l_u.get(n);
377
+ a && (a(), this.$$l_u.delete(n));
378
+ }
379
+ }
380
+ connectedCallback() {
381
+ return W(this, null, function* () {
382
+ if (this.$$cn = !0, !this.$$c) {
383
+ let e = function(i) {
384
+ return () => {
385
+ let o;
386
+ return {
387
+ c: function() {
388
+ o = $("slot"), i !== "default" && j(o, "name", i);
389
+ },
390
+ /**
391
+ * @param {HTMLElement} target
392
+ * @param {HTMLElement} [anchor]
393
+ */
394
+ m: function(r, b) {
395
+ U(r, o, b);
396
+ },
397
+ d: function(r) {
398
+ r && P(o);
399
+ }
400
+ };
401
+ };
402
+ };
403
+ if (yield Promise.resolve(), !this.$$cn || this.$$c)
404
+ return;
405
+ const n = {}, s = pe(this);
406
+ for (const i of this.$$s)
407
+ i in s && (n[i] = [e(i)]);
408
+ for (const i of this.attributes) {
409
+ const o = this.$$g_p(i.name);
410
+ o in this.$$d || (this.$$d[o] = T(o, i.value, this.$$p_d, "toProp"));
411
+ }
412
+ for (const i in this.$$p_d)
413
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
414
+ this.$$c = new this.$$ctor({
415
+ target: this.shadowRoot || this,
416
+ props: K(J({}, this.$$d), {
417
+ $$slots: n,
418
+ $$scope: {
419
+ ctx: []
420
+ }
421
+ })
422
+ });
423
+ const a = () => {
424
+ this.$$r = !0;
425
+ for (const i in this.$$p_d)
426
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
427
+ const o = T(
428
+ i,
429
+ this.$$d[i],
430
+ this.$$p_d,
431
+ "toAttribute"
432
+ );
433
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
434
+ }
435
+ this.$$r = !1;
436
+ };
437
+ this.$$c.$$.after_update.push(a), a();
438
+ for (const i in this.$$l)
439
+ for (const o of this.$$l[i]) {
440
+ const f = this.$$c.$on(i, o);
441
+ this.$$l_u.set(o, f);
442
+ }
443
+ this.$$l = {};
444
+ }
445
+ });
446
+ }
447
+ // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
448
+ // and setting attributes through setAttribute etc, this is helpful
449
+ attributeChangedCallback(e, n, s) {
450
+ var a;
451
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = T(e, s, this.$$p_d, "toProp"), (a = this.$$c) == null || a.$set({ [e]: this.$$d[e] }));
452
+ }
453
+ disconnectedCallback() {
454
+ this.$$cn = !1, Promise.resolve().then(() => {
455
+ !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
456
+ });
457
+ }
458
+ $$g_p(e) {
459
+ return Object.keys(this.$$p_d).find(
460
+ (n) => this.$$p_d[n].attribute === e || !this.$$p_d[n].attribute && n.toLowerCase() === e
461
+ ) || e;
462
+ }
463
+ });
464
+ function T(t, e, n, s) {
465
+ var i;
466
+ const a = (i = n[t]) == null ? void 0 : i.type;
467
+ if (e = a === "Boolean" && typeof e != "boolean" ? e != null : e, !s || !n[t])
468
+ return e;
469
+ if (s === "toAttribute")
470
+ switch (a) {
471
+ case "Object":
472
+ case "Array":
473
+ return e == null ? null : JSON.stringify(e);
474
+ case "Boolean":
475
+ return e ? "" : null;
476
+ case "Number":
477
+ return e == null ? null : e;
478
+ default:
479
+ return e;
480
+ }
481
+ else
482
+ switch (a) {
483
+ case "Object":
484
+ case "Array":
485
+ return e && JSON.parse(e);
486
+ case "Boolean":
487
+ return e;
488
+ case "Number":
489
+ return e != null ? +e : e;
490
+ default:
491
+ return e;
492
+ }
493
+ }
494
+ function je(t, e, n, s, a, i) {
495
+ let o = class extends se {
496
+ constructor() {
497
+ super(t, n, a), this.$$p_d = e;
498
+ }
499
+ static get observedAttributes() {
500
+ return Object.keys(e).map(
501
+ (f) => (e[f].attribute || f).toLowerCase()
502
+ );
503
+ }
504
+ };
505
+ return Object.keys(e).forEach((f) => {
506
+ Object.defineProperty(o.prototype, f, {
507
+ get() {
508
+ return this.$$c && f in this.$$c ? this.$$c[f] : this.$$d[f];
509
+ },
510
+ set(c) {
511
+ var r;
512
+ c = T(f, c, e), this.$$d[f] = c, (r = this.$$c) == null || r.$set({ [f]: c });
513
+ }
514
+ });
515
+ }), s.forEach((f) => {
516
+ Object.defineProperty(o.prototype, f, {
517
+ get() {
518
+ var c;
519
+ return (c = this.$$c) == null ? void 0 : c[f];
520
+ }
521
+ });
522
+ }), t.element = /** @type {any} */
523
+ o, o;
524
+ }
525
+ class Me {
526
+ constructor() {
527
+ /**
528
+ * ### PRIVATE API
529
+ *
530
+ * Do not use, may change at any time
531
+ *
532
+ * @type {any}
533
+ */
534
+ h(this, "$$");
535
+ /**
536
+ * ### PRIVATE API
537
+ *
538
+ * Do not use, may change at any time
539
+ *
540
+ * @type {any}
541
+ */
542
+ h(this, "$$set");
543
+ }
544
+ /** @returns {void} */
545
+ $destroy() {
546
+ Ae(this, 1), this.$destroy = C;
547
+ }
548
+ /**
549
+ * @template {Extract<keyof Events, string>} K
550
+ * @param {K} type
551
+ * @param {((e: Events[K]) => void) | null | undefined} callback
552
+ * @returns {() => void}
553
+ */
554
+ $on(e, n) {
555
+ if (!Z(n))
556
+ return C;
557
+ const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
558
+ return s.push(n), () => {
559
+ const a = s.indexOf(n);
560
+ a !== -1 && s.splice(a, 1);
561
+ };
562
+ }
563
+ /**
564
+ * @param {Partial<Props>} props
565
+ * @returns {void}
566
+ */
567
+ $set(e) {
568
+ this.$$set && !he(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
569
+ }
570
+ }
571
+ const Pe = "4";
572
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pe);
573
+ if (typeof window != "undefined") {
574
+ let t = function(e) {
575
+ return function(...n) {
576
+ try {
577
+ return e.apply(this, n);
578
+ } catch (s) {
579
+ if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
580
+ return !1;
581
+ throw s;
582
+ }
583
+ };
584
+ };
585
+ customElements.define = t(customElements.define), import("./CasinoSearch-jAxRxn7o.js").then((e) => e.C).then(({ default: e }) => {
586
+ !customElements.get("casino-search") && customElements.define("casino-search", e.element);
587
+ });
588
+ }
589
+ if (typeof window != "undefined") {
590
+ let t = function(e) {
591
+ return function(...n) {
592
+ try {
593
+ return e.apply(this, n);
594
+ } catch (s) {
595
+ if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
596
+ return !1;
597
+ throw s;
598
+ }
599
+ };
600
+ };
601
+ customElements.define = t(customElements.define), import("./CasinoCategoriesProviders-BdtzkzB9.js").then(({ default: e }) => {
602
+ !customElements.get("casino-categories-providers") && customElements.define("casino-categories-providers", e.element);
603
+ });
604
+ }
605
+ const S = "__WIDGET_GLOBAL_STYLE_CACHE__";
606
+ function Be(t, e) {
607
+ if (t) {
608
+ const n = document.createElement("style");
609
+ n.innerHTML = e, t.appendChild(n);
610
+ }
611
+ }
612
+ function xe(t, e) {
613
+ if (!t || !e)
614
+ return;
615
+ const n = new URL(e);
616
+ fetch(n.href).then((s) => s.text()).then((s) => {
617
+ const a = document.createElement("style");
618
+ a.innerHTML = s, t && t.appendChild(a);
619
+ }).catch((s) => {
620
+ console.error("There was an error while trying to load client styling from URL", s);
621
+ });
622
+ }
623
+ function He(t, e, n, s = !1) {
624
+ if (!window.emMessageBus)
625
+ return;
626
+ if (!("adoptedStyleSheets" in Document.prototype) || !s)
627
+ return n = De(t, e), n;
628
+ window[S] || (window[S] = {}), n = Re(t, e);
629
+ const i = n.unsubscribe.bind(n), o = () => {
630
+ if (window[S][e]) {
631
+ const f = window[S][e];
632
+ f.refCount > 1 ? f.refCount = f.refCount - 1 : delete window[S][e];
633
+ }
634
+ i();
635
+ };
636
+ return n.unsubscribe = o, n;
637
+ }
638
+ function De(t, e) {
639
+ const n = document.createElement("style");
640
+ return window.emMessageBus.subscribe(e, (s) => {
641
+ t && (n.innerHTML = s, t.appendChild(n));
642
+ });
643
+ }
644
+ function Re(t, e) {
645
+ return window.emMessageBus.subscribe(e, (n) => {
646
+ var f;
647
+ if (!t)
648
+ return;
649
+ const s = t.getRootNode(), a = window[S];
650
+ let i = (f = a[e]) == null ? void 0 : f.sheet;
651
+ i ? a[e].refCount = a[e].refCount + 1 : (i = new CSSStyleSheet(), i.replaceSync(n), a[e] = {
652
+ sheet: i,
653
+ refCount: 1
654
+ });
655
+ const o = s.adoptedStyleSheets || [];
656
+ o.includes(i) || (s.adoptedStyleSheets = [...o, i]);
657
+ });
658
+ }
659
+ function Ie(t) {
660
+ me(t, "svelte-raimvs", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.NotVisible{display:none}");
661
+ }
662
+ function Ue(t) {
663
+ let e, n, s, a, i, o, f;
664
+ return {
665
+ c() {
666
+ e = $("div"), n = $("div"), s = $("casino-search"), a = ye(), i = $("div"), o = $("casino-categories-providers"), u(
667
+ s,
668
+ "endpoint",
669
+ /*endpoint*/
670
+ t[0]
671
+ ), u(
672
+ s,
673
+ "datasource",
674
+ /*datasource*/
675
+ t[5]
676
+ ), u(
677
+ s,
678
+ "lang",
679
+ /*lang*/
680
+ t[9]
681
+ ), u(
682
+ s,
683
+ "session",
684
+ /*session*/
685
+ t[1]
686
+ ), u(
687
+ s,
688
+ "userid",
689
+ /*userid*/
690
+ t[2]
691
+ ), u(
692
+ s,
693
+ "showfavorites",
694
+ /*showfavorites*/
695
+ t[8]
696
+ ), u(
697
+ s,
698
+ "clientstyling",
699
+ /*clientstyling*/
700
+ t[10]
701
+ ), u(
702
+ s,
703
+ "clientstylingurl",
704
+ /*clientstylingurl*/
705
+ t[11]
706
+ ), u(
707
+ s,
708
+ "integratedgameframedesktop",
709
+ /*integratedgameframedesktop*/
710
+ t[12]
711
+ ), u(
712
+ s,
713
+ "integratedgameframemobile",
714
+ /*integratedgameframemobile*/
715
+ t[13]
716
+ ), u(
717
+ s,
718
+ "gamepagemodalurl",
719
+ /*gamepagemodalurl*/
720
+ t[14]
721
+ ), u(
722
+ s,
723
+ "mbsource",
724
+ /*mbsource*/
725
+ t[15]
726
+ ), u(
727
+ o,
728
+ "endpointcategories",
729
+ /*endpointcategories*/
730
+ t[3]
731
+ ), u(
732
+ o,
733
+ "datasourcecategories",
734
+ /*datasource*/
735
+ t[5]
736
+ ), u(
737
+ o,
738
+ "activecategory",
739
+ /*activecategory*/
740
+ t[6]
741
+ ), u(
742
+ o,
743
+ "endpointproviders",
744
+ /*endpointproviders*/
745
+ t[4]
746
+ ), u(
747
+ o,
748
+ "datasourceproviders",
749
+ /*datasource*/
750
+ t[5]
751
+ ), u(
752
+ o,
753
+ "excludedflags",
754
+ /*excludedflags*/
755
+ t[7]
756
+ ), u(
757
+ o,
758
+ "lang",
759
+ /*lang*/
760
+ t[9]
761
+ ), u(
762
+ o,
763
+ "clientstyling",
764
+ /*clientstyling*/
765
+ t[10]
766
+ ), u(
767
+ o,
768
+ "clientstylingurl",
769
+ /*clientstylingurl*/
770
+ t[11]
771
+ ), u(
772
+ o,
773
+ "mbsource",
774
+ /*mbsource*/
775
+ t[15]
776
+ ), j(i, "class", f = /*searchActive*/
777
+ t[17] === !0 ? "NotVisible" : "");
778
+ },
779
+ m(c, r) {
780
+ U(c, e, r), p(e, n), p(n, s), p(e, a), p(e, i), p(i, o), t[18](e);
781
+ },
782
+ p(c, [r]) {
783
+ r & /*endpoint*/
784
+ 1 && u(
785
+ s,
786
+ "endpoint",
787
+ /*endpoint*/
788
+ c[0]
789
+ ), r & /*datasource*/
790
+ 32 && u(
791
+ s,
792
+ "datasource",
793
+ /*datasource*/
794
+ c[5]
795
+ ), r & /*lang*/
796
+ 512 && u(
797
+ s,
798
+ "lang",
799
+ /*lang*/
800
+ c[9]
801
+ ), r & /*session*/
802
+ 2 && u(
803
+ s,
804
+ "session",
805
+ /*session*/
806
+ c[1]
807
+ ), r & /*userid*/
808
+ 4 && u(
809
+ s,
810
+ "userid",
811
+ /*userid*/
812
+ c[2]
813
+ ), r & /*showfavorites*/
814
+ 256 && u(
815
+ s,
816
+ "showfavorites",
817
+ /*showfavorites*/
818
+ c[8]
819
+ ), r & /*clientstyling*/
820
+ 1024 && u(
821
+ s,
822
+ "clientstyling",
823
+ /*clientstyling*/
824
+ c[10]
825
+ ), r & /*clientstylingurl*/
826
+ 2048 && u(
827
+ s,
828
+ "clientstylingurl",
829
+ /*clientstylingurl*/
830
+ c[11]
831
+ ), r & /*integratedgameframedesktop*/
832
+ 4096 && u(
833
+ s,
834
+ "integratedgameframedesktop",
835
+ /*integratedgameframedesktop*/
836
+ c[12]
837
+ ), r & /*integratedgameframemobile*/
838
+ 8192 && u(
839
+ s,
840
+ "integratedgameframemobile",
841
+ /*integratedgameframemobile*/
842
+ c[13]
843
+ ), r & /*gamepagemodalurl*/
844
+ 16384 && u(
845
+ s,
846
+ "gamepagemodalurl",
847
+ /*gamepagemodalurl*/
848
+ c[14]
849
+ ), r & /*mbsource*/
850
+ 32768 && u(
851
+ s,
852
+ "mbsource",
853
+ /*mbsource*/
854
+ c[15]
855
+ ), r & /*endpointcategories*/
856
+ 8 && u(
857
+ o,
858
+ "endpointcategories",
859
+ /*endpointcategories*/
860
+ c[3]
861
+ ), r & /*datasource*/
862
+ 32 && u(
863
+ o,
864
+ "datasourcecategories",
865
+ /*datasource*/
866
+ c[5]
867
+ ), r & /*activecategory*/
868
+ 64 && u(
869
+ o,
870
+ "activecategory",
871
+ /*activecategory*/
872
+ c[6]
873
+ ), r & /*endpointproviders*/
874
+ 16 && u(
875
+ o,
876
+ "endpointproviders",
877
+ /*endpointproviders*/
878
+ c[4]
879
+ ), r & /*datasource*/
880
+ 32 && u(
881
+ o,
882
+ "datasourceproviders",
883
+ /*datasource*/
884
+ c[5]
885
+ ), r & /*excludedflags*/
886
+ 128 && u(
887
+ o,
888
+ "excludedflags",
889
+ /*excludedflags*/
890
+ c[7]
891
+ ), r & /*lang*/
892
+ 512 && u(
893
+ o,
894
+ "lang",
895
+ /*lang*/
896
+ c[9]
897
+ ), r & /*clientstyling*/
898
+ 1024 && u(
899
+ o,
900
+ "clientstyling",
901
+ /*clientstyling*/
902
+ c[10]
903
+ ), r & /*clientstylingurl*/
904
+ 2048 && u(
905
+ o,
906
+ "clientstylingurl",
907
+ /*clientstylingurl*/
908
+ c[11]
909
+ ), r & /*mbsource*/
910
+ 32768 && u(
911
+ o,
912
+ "mbsource",
913
+ /*mbsource*/
914
+ c[15]
915
+ ), r & /*searchActive*/
916
+ 131072 && f !== (f = /*searchActive*/
917
+ c[17] === !0 ? "NotVisible" : "") && j(i, "class", f);
918
+ },
919
+ i: C,
920
+ o: C,
921
+ d(c) {
922
+ c && P(e), t[18](null);
923
+ }
924
+ };
925
+ }
926
+ function Ve(t, e, n) {
927
+ let { endpoint: s = "" } = e, { session: a = "" } = e, { userid: i = "" } = e, { endpointcategories: o = "" } = e, { endpointproviders: f = "" } = e, { datasource: c = "" } = e, { activecategory: r = "" } = e, { excludedflags: b = "" } = e, { showfavorites: g = "" } = e, { lang: L = "en" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: y = "" } = e, { integratedgameframedesktop: V = "false" } = e, { integratedgameframemobile: z = "false" } = e, { gamepagemodalurl: q = "true" } = e, { mbsource: A } = e, B, re, m;
928
+ const F = (l) => {
929
+ l.data && l.data.type == "searchActive" && n(17, B = l.data.searchStatus), l.data && l.data.type == "searchCancelled" && n(17, B = l.data.searchStatus);
930
+ };
931
+ Se(() => (window.addEventListener("message", F, !1), () => {
932
+ window.removeEventListener("message", F);
933
+ }));
934
+ function oe(l) {
935
+ D[l ? "unshift" : "push"](() => {
936
+ m = l, n(16, m);
937
+ });
938
+ }
939
+ return t.$$set = (l) => {
940
+ "endpoint" in l && n(0, s = l.endpoint), "session" in l && n(1, a = l.session), "userid" in l && n(2, i = l.userid), "endpointcategories" in l && n(3, o = l.endpointcategories), "endpointproviders" in l && n(4, f = l.endpointproviders), "datasource" in l && n(5, c = l.datasource), "activecategory" in l && n(6, r = l.activecategory), "excludedflags" in l && n(7, b = l.excludedflags), "showfavorites" in l && n(8, g = l.showfavorites), "lang" in l && n(9, L = l.lang), "clientstyling" in l && n(10, _ = l.clientstyling), "clientstylingurl" in l && n(11, y = l.clientstylingurl), "integratedgameframedesktop" in l && n(12, V = l.integratedgameframedesktop), "integratedgameframemobile" in l && n(13, z = l.integratedgameframemobile), "gamepagemodalurl" in l && n(14, q = l.gamepagemodalurl), "mbsource" in l && n(15, A = l.mbsource);
941
+ }, t.$$.update = () => {
942
+ t.$$.dirty & /*clientstyling, customStylingContainer*/
943
+ 66560 && _ && m && Be(m, _), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
944
+ 67584 && y && m && xe(m, y), t.$$.dirty & /*mbsource, customStylingContainer*/
945
+ 98304 && A && m && He(m, `${A}.Style`, re);
946
+ }, [
947
+ s,
948
+ a,
949
+ i,
950
+ o,
951
+ f,
952
+ c,
953
+ r,
954
+ b,
955
+ g,
956
+ L,
957
+ _,
958
+ y,
959
+ V,
960
+ z,
961
+ q,
962
+ A,
963
+ m,
964
+ B,
965
+ oe
966
+ ];
967
+ }
968
+ class ie extends Me {
969
+ constructor(e) {
970
+ super(), Te(
971
+ this,
972
+ e,
973
+ Ve,
974
+ Ue,
975
+ de,
976
+ {
977
+ endpoint: 0,
978
+ session: 1,
979
+ userid: 2,
980
+ endpointcategories: 3,
981
+ endpointproviders: 4,
982
+ datasource: 5,
983
+ activecategory: 6,
984
+ excludedflags: 7,
985
+ showfavorites: 8,
986
+ lang: 9,
987
+ clientstyling: 10,
988
+ clientstylingurl: 11,
989
+ integratedgameframedesktop: 12,
990
+ integratedgameframemobile: 13,
991
+ gamepagemodalurl: 14,
992
+ mbsource: 15
993
+ },
994
+ Ie
995
+ );
996
+ }
997
+ get endpoint() {
998
+ return this.$$.ctx[0];
999
+ }
1000
+ set endpoint(e) {
1001
+ this.$$set({ endpoint: e }), d();
1002
+ }
1003
+ get session() {
1004
+ return this.$$.ctx[1];
1005
+ }
1006
+ set session(e) {
1007
+ this.$$set({ session: e }), d();
1008
+ }
1009
+ get userid() {
1010
+ return this.$$.ctx[2];
1011
+ }
1012
+ set userid(e) {
1013
+ this.$$set({ userid: e }), d();
1014
+ }
1015
+ get endpointcategories() {
1016
+ return this.$$.ctx[3];
1017
+ }
1018
+ set endpointcategories(e) {
1019
+ this.$$set({ endpointcategories: e }), d();
1020
+ }
1021
+ get endpointproviders() {
1022
+ return this.$$.ctx[4];
1023
+ }
1024
+ set endpointproviders(e) {
1025
+ this.$$set({ endpointproviders: e }), d();
1026
+ }
1027
+ get datasource() {
1028
+ return this.$$.ctx[5];
1029
+ }
1030
+ set datasource(e) {
1031
+ this.$$set({ datasource: e }), d();
1032
+ }
1033
+ get activecategory() {
1034
+ return this.$$.ctx[6];
1035
+ }
1036
+ set activecategory(e) {
1037
+ this.$$set({ activecategory: e }), d();
1038
+ }
1039
+ get excludedflags() {
1040
+ return this.$$.ctx[7];
1041
+ }
1042
+ set excludedflags(e) {
1043
+ this.$$set({ excludedflags: e }), d();
1044
+ }
1045
+ get showfavorites() {
1046
+ return this.$$.ctx[8];
1047
+ }
1048
+ set showfavorites(e) {
1049
+ this.$$set({ showfavorites: e }), d();
1050
+ }
1051
+ get lang() {
1052
+ return this.$$.ctx[9];
1053
+ }
1054
+ set lang(e) {
1055
+ this.$$set({ lang: e }), d();
1056
+ }
1057
+ get clientstyling() {
1058
+ return this.$$.ctx[10];
1059
+ }
1060
+ set clientstyling(e) {
1061
+ this.$$set({ clientstyling: e }), d();
1062
+ }
1063
+ get clientstylingurl() {
1064
+ return this.$$.ctx[11];
1065
+ }
1066
+ set clientstylingurl(e) {
1067
+ this.$$set({ clientstylingurl: e }), d();
1068
+ }
1069
+ get integratedgameframedesktop() {
1070
+ return this.$$.ctx[12];
1071
+ }
1072
+ set integratedgameframedesktop(e) {
1073
+ this.$$set({ integratedgameframedesktop: e }), d();
1074
+ }
1075
+ get integratedgameframemobile() {
1076
+ return this.$$.ctx[13];
1077
+ }
1078
+ set integratedgameframemobile(e) {
1079
+ this.$$set({ integratedgameframemobile: e }), d();
1080
+ }
1081
+ get gamepagemodalurl() {
1082
+ return this.$$.ctx[14];
1083
+ }
1084
+ set gamepagemodalurl(e) {
1085
+ this.$$set({ gamepagemodalurl: e }), d();
1086
+ }
1087
+ get mbsource() {
1088
+ return this.$$.ctx[15];
1089
+ }
1090
+ set mbsource(e) {
1091
+ this.$$set({ mbsource: e }), d();
1092
+ }
1093
+ }
1094
+ je(ie, { endpoint: {}, session: {}, userid: {}, endpointcategories: {}, endpointproviders: {}, datasource: {}, activecategory: {}, excludedflags: {}, showfavorites: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, gamepagemodalurl: {}, mbsource: {} }, [], [], !0);
1095
+ const tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1096
+ __proto__: null,
1097
+ default: ie
1098
+ }, Symbol.toStringTag, { value: "Module" }));
1099
+ export {
1100
+ Be as A,
1101
+ xe as B,
1102
+ He as C,
1103
+ je as D,
1104
+ qe as E,
1105
+ Qe as F,
1106
+ Ze as G,
1107
+ Xe as H,
1108
+ tt as I,
1109
+ Me as S,
1110
+ ge as a,
1111
+ Te as b,
1112
+ me as c,
1113
+ P as d,
1114
+ j as e,
1115
+ d as f,
1116
+ Ye as g,
1117
+ U as h,
1118
+ Z as i,
1119
+ p as j,
1120
+ $ as k,
1121
+ Ke as l,
1122
+ ye as m,
1123
+ C as n,
1124
+ _e as o,
1125
+ Fe as p,
1126
+ Se as q,
1127
+ M as r,
1128
+ de as s,
1129
+ We as t,
1130
+ ee as u,
1131
+ D as v,
1132
+ et as w,
1133
+ Ge as x,
1134
+ Je as y,
1135
+ u as z
1136
+ };