@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
@@ -1,5 +1,6 @@
1
- import { a as K, $ as Q, S as W, i as X, s as Y, f as E, b as Z, n as I, d as O, h as C, k as S, e as v, o as $, q as ee, c as A, j as c, t as z, C as N, D as q, m as L, B as te, z as V, l as J, u as re, v as ie, w as le, x as se, y as oe } from "./CasinoCategories-EyDPHbRr.js";
2
- const R = {
1
+ import { S as Q, b as W, s as X, f as M, c as Y, n as I, d as O, h as C, k as S, e as v, p as Z, v as $, t as A, j as c, u as E, w as N, x as R, m as L, y as ee, E as V, l as J, A as te, B as re, C as ie, D as le } from "./CasinoNavigationSearch-eJclHiIa.js";
2
+ import { a as se, $ as oe, b as ae } from "./CasinoSearch-jAxRxn7o.js";
3
+ const U = {
3
4
  en: {
4
5
  popularProviders: "Popular Suppliers",
5
6
  otherProviders: "Other Suppliers",
@@ -109,14 +110,14 @@ const R = {
109
110
  games: "games"
110
111
  }
111
112
  };
112
- function U(t, e) {
113
- K(t, e);
114
- }
115
- function ae(t) {
116
- Q.set(t);
113
+ function q(t, e) {
114
+ se(t, e);
117
115
  }
118
116
  function ne(t) {
119
- Z(t, "svelte-1bsli1q", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emw--color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}");
117
+ oe.set(t);
118
+ }
119
+ function ue(t) {
120
+ Y(t, "svelte-1bsli1q", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emw--color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}");
120
121
  }
121
122
  function B(t, e, i) {
122
123
  const a = t.slice();
@@ -126,7 +127,7 @@ function G(t, e, i) {
126
127
  const a = t.slice();
127
128
  return a[21] = e[i], a;
128
129
  }
129
- function ue(t) {
130
+ function de(t) {
130
131
  let e, i = (
131
132
  /*$_*/
132
133
  t[4]("popularProviders") + ""
@@ -147,13 +148,13 @@ function ue(t) {
147
148
  g[r] = H(B(t, f, r));
148
149
  return {
149
150
  c() {
150
- e = S("h4"), a = z(i), o = L();
151
+ e = S("h4"), a = E(i), o = L();
151
152
  for (let r = 0; r < d.length; r += 1)
152
153
  d[r].c();
153
- u = L(), n = S("h4"), h = z(P), _ = L();
154
+ u = L(), n = S("h4"), h = E(P), _ = L();
154
155
  for (let r = 0; r < g.length; r += 1)
155
156
  g[r].c();
156
- b = te(), v(e, "class", "ProviderTitle"), v(n, "class", "ProviderTitle");
157
+ b = ee(), v(e, "class", "ProviderTitle"), v(n, "class", "ProviderTitle");
157
158
  },
158
159
  m(r, p) {
159
160
  C(r, e, p), c(e, a), C(r, o, p);
@@ -175,8 +176,8 @@ function ue(t) {
175
176
  );
176
177
  let l;
177
178
  for (l = 0; l < m.length; l += 1) {
178
- const y = G(r, m, l);
179
- d[l] ? d[l].p(y, p) : (d[l] = D(y), d[l].c(), d[l].m(u.parentNode, u));
179
+ const w = G(r, m, l);
180
+ d[l] ? d[l].p(w, p) : (d[l] = D(w), d[l].c(), d[l].m(u.parentNode, u));
180
181
  }
181
182
  for (; l < d.length; l += 1)
182
183
  d[l].d(1);
@@ -192,8 +193,8 @@ function ue(t) {
192
193
  );
193
194
  let l;
194
195
  for (l = 0; l < f.length; l += 1) {
195
- const y = B(r, f, l);
196
- g[l] ? g[l].p(y, p) : (g[l] = H(y), g[l].c(), g[l].m(b.parentNode, b));
196
+ const w = B(r, f, l);
197
+ g[l] ? g[l].p(w, p) : (g[l] = H(w), g[l].c(), g[l].m(b.parentNode, b));
197
198
  }
198
199
  for (; l < g.length; l += 1)
199
200
  g[l].d(1);
@@ -201,18 +202,18 @@ function ue(t) {
201
202
  }
202
203
  },
203
204
  d(r) {
204
- r && (O(e), O(o), O(u), O(n), O(_), O(b)), q(d, r), q(g, r);
205
+ r && (O(e), O(o), O(u), O(n), O(_), O(b)), R(d, r), R(g, r);
205
206
  }
206
207
  };
207
208
  }
208
- function de(t) {
209
+ function ge(t) {
209
210
  let e, i = (
210
211
  /*$_*/
211
212
  t[4]("loading") + ""
212
213
  ), a;
213
214
  return {
214
215
  c() {
215
- e = S("p"), a = z(i), v(e, "class", "Message");
216
+ e = S("p"), a = E(i), v(e, "class", "Message");
216
217
  },
217
218
  m(o, u) {
218
219
  C(o, e, u), c(e, a);
@@ -237,8 +238,8 @@ function D(t) {
237
238
  ), f, g, r = (
238
239
  /*$_*/
239
240
  t[4]("games") + ""
240
- ), p, l, y;
241
- function M() {
241
+ ), p, l, w;
242
+ function x() {
242
243
  return (
243
244
  /*click_handler*/
244
245
  t[13](
@@ -249,28 +250,28 @@ function D(t) {
249
250
  }
250
251
  return {
251
252
  c() {
252
- e = S("div"), i = S("img"), u = L(), n = S("div"), P = S("p"), _ = z(h), b = L(), m = S("p"), f = z(d), g = L(), p = z(r), V(i.src, a = /*provider*/
253
+ e = S("div"), i = S("img"), u = L(), n = S("div"), P = S("p"), _ = E(h), b = L(), m = S("p"), f = E(d), g = L(), p = E(r), V(i.src, a = /*provider*/
253
254
  t[21].logo) || v(i, "src", a), v(i, "alt", o = /*provider*/
254
255
  t[21].name), v(i, "class", "ProviderImage"), v(n, "class", "ProviderTextContainer"), v(e, "class", "Provider");
255
256
  },
256
- m(j, w) {
257
- C(j, e, w), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), l || (y = J(e, "click", M), l = !0);
257
+ m(j, y) {
258
+ C(j, e, y), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), l || (w = J(e, "click", x), l = !0);
258
259
  },
259
- p(j, w) {
260
- t = j, w & /*topProviders*/
260
+ p(j, y) {
261
+ t = j, y & /*topProviders*/
261
262
  2 && !V(i.src, a = /*provider*/
262
- t[21].logo) && v(i, "src", a), w & /*topProviders*/
263
+ t[21].logo) && v(i, "src", a), y & /*topProviders*/
263
264
  2 && o !== (o = /*provider*/
264
- t[21].name) && v(i, "alt", o), w & /*topProviders*/
265
+ t[21].name) && v(i, "alt", o), y & /*topProviders*/
265
266
  2 && h !== (h = /*provider*/
266
- t[21].name + "") && A(_, h), w & /*topProviders*/
267
+ t[21].name + "") && A(_, h), y & /*topProviders*/
267
268
  2 && d !== (d = /*provider*/
268
- t[21].games.count + "") && A(f, d), w & /*$_*/
269
+ t[21].games.count + "") && A(f, d), y & /*$_*/
269
270
  16 && r !== (r = /*$_*/
270
271
  t[4]("games") + "") && A(p, r);
271
272
  },
272
273
  d(j) {
273
- j && O(e), l = !1, y();
274
+ j && O(e), l = !1, w();
274
275
  }
275
276
  };
276
277
  }
@@ -284,7 +285,7 @@ function H(t) {
284
285
  ), f, g, r = (
285
286
  /*$_*/
286
287
  t[4]("games") + ""
287
- ), p, l, y, M;
288
+ ), p, l, w, x;
288
289
  function j() {
289
290
  return (
290
291
  /*click_handler_1*/
@@ -296,15 +297,15 @@ function H(t) {
296
297
  }
297
298
  return {
298
299
  c() {
299
- e = S("div"), i = S("img"), u = L(), n = S("div"), P = S("p"), _ = z(h), b = L(), m = S("p"), f = z(d), g = L(), p = z(r), l = L(), V(i.src, a = /*provider*/
300
+ e = S("div"), i = S("img"), u = L(), n = S("div"), P = S("p"), _ = E(h), b = L(), m = S("p"), f = E(d), g = L(), p = E(r), l = L(), V(i.src, a = /*provider*/
300
301
  t[21].logo) || v(i, "src", a), v(i, "alt", o = /*provider*/
301
302
  t[21].name), v(i, "class", "ProviderImage"), v(n, "class", "ProviderTextContainer"), v(e, "class", "Provider");
302
303
  },
303
- m(w, F) {
304
- C(w, e, F), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), c(e, l), y || (M = J(e, "click", j), y = !0);
304
+ m(y, F) {
305
+ C(y, e, F), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), c(e, l), w || (x = J(e, "click", j), w = !0);
305
306
  },
306
- p(w, F) {
307
- t = w, F & /*otherProviders*/
307
+ p(y, F) {
308
+ t = y, F & /*otherProviders*/
308
309
  4 && !V(i.src, a = /*provider*/
309
310
  t[21].logo) && v(i, "src", a), F & /*otherProviders*/
310
311
  4 && o !== (o = /*provider*/
@@ -316,17 +317,17 @@ function H(t) {
316
317
  16 && r !== (r = /*$_*/
317
318
  t[4]("games") + "") && A(p, r);
318
319
  },
319
- d(w) {
320
- w && O(e), y = !1, M();
320
+ d(y) {
321
+ y && O(e), w = !1, x();
321
322
  }
322
323
  };
323
324
  }
324
- function ge(t) {
325
+ function pe(t) {
325
326
  let e;
326
327
  function i(u, n) {
327
328
  return (
328
329
  /*isLoading*/
329
- u[3] === !0 ? de : ue
330
+ u[3] === !0 ? ge : de
330
331
  );
331
332
  }
332
333
  let a = i(t), o = a(t);
@@ -347,45 +348,45 @@ function ge(t) {
347
348
  }
348
349
  };
349
350
  }
350
- function pe(t, e, i) {
351
+ function ce(t, e, i) {
351
352
  let a;
352
- $(t, oe, (s) => i(4, a = s));
353
- let { endpoint: o = "" } = e, { datasource: u = "" } = e, { lang: n = "en" } = e, { clientstyling: P = "" } = e, { clientstylingurl: h = "" } = e, { translationurl: _ = "" } = e, { mbsource: b } = e, m = [], d = [], f = [], g = !1, r;
354
- const p = () => {
353
+ Z(t, ae, (s) => i(4, a = s));
354
+ let { endpoint: o = "" } = e, { datasource: u = "" } = e, { lang: n = "en" } = e, { clientstyling: P = "" } = e, { clientstylingurl: h = "" } = e, { translationurl: _ = "" } = e, { mbsource: b } = e, m = [], d = [], f = [], g = !1, r, p;
355
+ const l = () => {
355
356
  fetch(_).then((k) => k.json()).then((k) => {
356
- Object.keys(k).forEach((x) => {
357
- U(x, k[x]);
357
+ Object.keys(k).forEach((z) => {
358
+ q(z, k[z]);
358
359
  });
359
360
  }).catch((k) => {
360
361
  console.log(k);
361
362
  });
362
363
  };
363
- Object.keys(R).forEach((s) => {
364
- U(s, R[s]);
364
+ Object.keys(U).forEach((s) => {
365
+ q(s, U[s]);
365
366
  });
366
- const l = () => {
367
+ const w = () => {
367
368
  i(3, g = !0);
368
369
  const s = new URL(`${o}/v1/casino/vendors`);
369
370
  s.searchParams.append("datasource", u), s.searchParams.append("language", n), s.searchParams.append("fields", "id,name,displayName,subVendors,isTopVendor,logo,games"), fetch(s).then((k) => k.json()).then((k) => {
370
371
  i(3, g = !1), m = k.items.map((T) => T), i(1, d = m.filter((T) => T.isTopVendor === !0)), i(2, f = m.filter((T) => T.isTopVendor === !1));
371
- let x = [];
372
- x = m.flatMap((T) => T.subVendors), f.push(...x.filter((T) => T.games.count > 0));
372
+ let z = [];
373
+ z = m.flatMap((T) => T.subVendors), f.push(...z.filter((T) => T.games.count > 0));
373
374
  });
374
- }, y = (s, k, x) => {
375
+ }, x = (s, k, z) => {
375
376
  window.postMessage(
376
377
  {
377
378
  type: "OpenGameProvider",
378
379
  providerId: s,
379
380
  providerName: k,
380
- providerLogo: x
381
+ providerLogo: z
381
382
  },
382
383
  window.location.href
383
384
  );
384
- }, M = () => {
385
- ae(n);
386
- }, j = (s) => y(s.id, s.name, s.logo), w = (s) => y(s.id, s.name, s.logo);
387
- function F(s) {
388
- ee[s ? "unshift" : "push"](() => {
385
+ }, j = () => {
386
+ ne(n);
387
+ }, y = (s) => x(s.id, s.name, s.logo), F = (s) => x(s.id, s.name, s.logo);
388
+ function K(s) {
389
+ $[s ? "unshift" : "push"](() => {
389
390
  r = s, i(0, r);
390
391
  });
391
392
  }
@@ -393,19 +394,19 @@ function pe(t, e, i) {
393
394
  "endpoint" in s && i(6, o = s.endpoint), "datasource" in s && i(7, u = s.datasource), "lang" in s && i(8, n = s.lang), "clientstyling" in s && i(9, P = s.clientstyling), "clientstylingurl" in s && i(10, h = s.clientstylingurl), "translationurl" in s && i(11, _ = s.translationurl), "mbsource" in s && i(12, b = s.mbsource);
394
395
  }, t.$$.update = () => {
395
396
  t.$$.dirty & /*endpoint, lang, datasource*/
396
- 448 && o && n && u && l(), t.$$.dirty & /*lang*/
397
- 256 && n && M(), t.$$.dirty & /*translationurl*/
398
- 2048 && _ && p(), t.$$.dirty & /*clientstyling, customStylingContainer*/
399
- 513 && P && r && re(r, P), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
400
- 1025 && h && r && ie(r, h), t.$$.dirty & /*mbsource, customStylingContainer*/
401
- 4097 && b && r && le(r, `${b}.Style`);
397
+ 448 && o && n && u && w(), t.$$.dirty & /*lang*/
398
+ 256 && n && j(), t.$$.dirty & /*translationurl*/
399
+ 2048 && _ && l(), t.$$.dirty & /*clientstyling, customStylingContainer*/
400
+ 513 && P && r && te(r, P), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
401
+ 1025 && h && r && re(r, h), t.$$.dirty & /*mbsource, customStylingContainer*/
402
+ 4097 && b && r && ie(r, `${b}.Style`, p);
402
403
  }, [
403
404
  r,
404
405
  d,
405
406
  f,
406
407
  g,
407
408
  a,
408
- y,
409
+ x,
409
410
  o,
410
411
  u,
411
412
  n,
@@ -413,19 +414,19 @@ function pe(t, e, i) {
413
414
  h,
414
415
  _,
415
416
  b,
416
- j,
417
- w,
418
- F
417
+ y,
418
+ F,
419
+ K
419
420
  ];
420
421
  }
421
- class ce extends W {
422
+ class me extends Q {
422
423
  constructor(e) {
423
- super(), X(
424
+ super(), W(
424
425
  this,
425
426
  e,
427
+ ce,
426
428
  pe,
427
- ge,
428
- Y,
429
+ X,
429
430
  {
430
431
  endpoint: 6,
431
432
  datasource: 7,
@@ -435,53 +436,53 @@ class ce extends W {
435
436
  translationurl: 11,
436
437
  mbsource: 12
437
438
  },
438
- ne
439
+ ue
439
440
  );
440
441
  }
441
442
  get endpoint() {
442
443
  return this.$$.ctx[6];
443
444
  }
444
445
  set endpoint(e) {
445
- this.$$set({ endpoint: e }), E();
446
+ this.$$set({ endpoint: e }), M();
446
447
  }
447
448
  get datasource() {
448
449
  return this.$$.ctx[7];
449
450
  }
450
451
  set datasource(e) {
451
- this.$$set({ datasource: e }), E();
452
+ this.$$set({ datasource: e }), M();
452
453
  }
453
454
  get lang() {
454
455
  return this.$$.ctx[8];
455
456
  }
456
457
  set lang(e) {
457
- this.$$set({ lang: e }), E();
458
+ this.$$set({ lang: e }), M();
458
459
  }
459
460
  get clientstyling() {
460
461
  return this.$$.ctx[9];
461
462
  }
462
463
  set clientstyling(e) {
463
- this.$$set({ clientstyling: e }), E();
464
+ this.$$set({ clientstyling: e }), M();
464
465
  }
465
466
  get clientstylingurl() {
466
467
  return this.$$.ctx[10];
467
468
  }
468
469
  set clientstylingurl(e) {
469
- this.$$set({ clientstylingurl: e }), E();
470
+ this.$$set({ clientstylingurl: e }), M();
470
471
  }
471
472
  get translationurl() {
472
473
  return this.$$.ctx[11];
473
474
  }
474
475
  set translationurl(e) {
475
- this.$$set({ translationurl: e }), E();
476
+ this.$$set({ translationurl: e }), M();
476
477
  }
477
478
  get mbsource() {
478
479
  return this.$$.ctx[12];
479
480
  }
480
481
  set mbsource(e) {
481
- this.$$set({ mbsource: e }), E();
482
+ this.$$set({ mbsource: e }), M();
482
483
  }
483
484
  }
484
- se(ce, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
485
+ le(me, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
485
486
  export {
486
- ce as default
487
+ me as default
487
488
  };