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