@everymatrix/casino-most-played-section 1.65.3 → 1.66.1

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 (34) hide show
  1. package/components/{CasinoFilter-DT7oAwTf.js → CasinoFilter-CZl1cztJ.js} +877 -842
  2. package/components/CasinoFilter-WNFrQkQJ.cjs +18 -0
  3. package/components/{CasinoFilter-CVr-_1Je.js → CasinoFilter-fITDy2f1.js} +920 -885
  4. package/components/{CasinoGameThumbnail-D0wIOkmi.js → CasinoGameThumbnail-BS8fymkb.js} +66 -66
  5. package/components/{CasinoGameThumbnail-C-40ZnYW.js → CasinoGameThumbnail-BaX6mLdw.js} +66 -66
  6. package/components/{CasinoGameThumbnail-Crx-3GhB.cjs → CasinoGameThumbnail-CYDuVrC6.cjs} +1 -1
  7. package/components/CasinoGamesCategorySection-BCeh01vB.cjs +1 -0
  8. package/components/{CasinoGamesCategorySection-D7LcBjJQ.js → CasinoGamesCategorySection-DtM-qLXG.js} +210 -206
  9. package/components/{CasinoGamesCategorySection-huRfyhDA.js → CasinoGamesCategorySection-fgHQUZ4F.js} +187 -183
  10. package/components/{CasinoMostPlayedSection-D3eXcJT-.js → CasinoMostPlayedSection-Bywnxo_6.js} +28 -28
  11. package/components/{CasinoMostPlayedSection-B3l1Xmrj.cjs → CasinoMostPlayedSection-CcSJLqHm.cjs} +1 -1
  12. package/components/{CasinoMostPlayedSection-BI0FfgPL.js → CasinoMostPlayedSection-DkjX_LCw.js} +47 -47
  13. package/components/{CasinoSort-D0I9EWJw.js → CasinoSort-C9ECfUlx.js} +16 -16
  14. package/components/{CasinoSort-iKKy4hj8.cjs → CasinoSort-C_DOIYQz.cjs} +1 -1
  15. package/components/{CasinoSort-BLZ3SeBj.js → CasinoSort-b4vaEPet.js} +16 -16
  16. package/es2015/casino-most-played-section.cjs +1 -1
  17. package/es2015/casino-most-played-section.js +1 -1
  18. package/esnext/casino-most-played-section.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/{index-97d17652-ChRvzjAp.js → index-97d17652-BEnqZAxL.js} +186 -186
  21. package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
  22. package/stencil/{index-97d17652-DKsTmN3Z.js → index-97d17652-WK_DbPS4.js} +175 -175
  23. package/stencil/{ui-image-B2ynFkLT.cjs → ui-image-CMb1eK44.cjs} +1 -1
  24. package/stencil/{ui-image-D7A7MInC.js → ui-image-CQQDA5b0.js} +1 -1
  25. package/stencil/{ui-image-D_Js9Evk.js → ui-image-CmwNU-jf.js} +1 -1
  26. package/stencil/{ui-image-b7b48fe5-B43lELFk.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +1 -1
  27. package/stencil/{ui-image-b7b48fe5-CRQDt62Z.cjs → ui-image-b7b48fe5-DCck2kk1.cjs} +1 -1
  28. package/stencil/{ui-image-b7b48fe5-DVcK_myk.js → ui-image-b7b48fe5-V9vp4faA.js} +1 -1
  29. package/stencil/{ui-image_2-EP2dwjfi.js → ui-image_2-B56t6kXT.js} +2 -2
  30. package/stencil/{ui-image_2-Df0q0jE8.js → ui-image_2-BncuYpLi.js} +2 -2
  31. package/stencil/{ui-image_2-CyHaM9Na.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  32. package/components/CasinoFilter-5tOlVA2J.cjs +0 -18
  33. package/components/CasinoGamesCategorySection-2QskEwxN.cjs +0 -1
  34. package/stencil/index-97d17652-qWThG1U9.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { a as $, $ as ee, c as te, S as se, i as ae, s as ne, f as r, b as ie, e as P, j as M, l as L, m as K, o as J, p as A, q as oe, r as re, x as me, y as le, z as ge, A as ce, B as ue, h as n, t as de, n as fe, E as he } from "./CasinoFilter-DT7oAwTf.js";
2
- function Y(a, e) {
1
+ import { a as $, $ as ee, F as te, S as se, i as ae, s as ne, f as r, b as ie, n as Y, d as L, j as A, k as K, l as P, h as M, p as oe, q as re, w as me, x as le, g as ge, o as ce, e as n, G as ue, C as de, D as fe, E as he } from "./CasinoFilter-CZl1cztJ.js";
2
+ function B(a, e) {
3
3
  $(a, e);
4
4
  }
5
5
  function ye(a) {
@@ -73,7 +73,7 @@ if (typeof window < "u") {
73
73
  }
74
74
  };
75
75
  };
76
- customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-huRfyhDA.js").then(({ default: e }) => {
76
+ customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-fgHQUZ4F.js").then(({ default: e }) => {
77
77
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
78
78
  });
79
79
  }
@@ -177,7 +177,7 @@ function ve(a) {
177
177
  );
178
178
  },
179
179
  m(s, i) {
180
- L(s, e, i);
180
+ A(s, e, i);
181
181
  },
182
182
  p(s, i) {
183
183
  i[0] & /*session*/
@@ -291,7 +291,7 @@ function ve(a) {
291
291
  );
292
292
  },
293
293
  d(s) {
294
- s && A(e);
294
+ s && L(e);
295
295
  }
296
296
  };
297
297
  }
@@ -302,18 +302,18 @@ function we(a) {
302
302
  ), i;
303
303
  return {
304
304
  c() {
305
- e = P("p"), i = de(s), M(e, "class", "SearchLoading");
305
+ e = P("p"), i = ce(s), M(e, "class", "SearchLoading");
306
306
  },
307
307
  m(l, m) {
308
- L(l, e, m), K(e, i);
308
+ A(l, e, m), K(e, i);
309
309
  },
310
310
  p(l, m) {
311
311
  m[0] & /*$_*/
312
312
  1048576 && s !== (s = /*$_*/
313
- l[20]("noGames") + "") && fe(i, s);
313
+ l[20]("noGames") + "") && ge(i, s);
314
314
  },
315
315
  d(l) {
316
- l && A(e);
316
+ l && L(e);
317
317
  }
318
318
  };
319
319
  }
@@ -331,44 +331,44 @@ function _e(a) {
331
331
  e = P("div"), s = P("div"), m.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
332
332
  },
333
333
  m(g, c) {
334
- L(g, e, c), K(e, s), m.m(s, null), a[24](e);
334
+ A(g, e, c), K(e, s), m.m(s, null), a[24](e);
335
335
  },
336
336
  p(g, c) {
337
337
  l === (l = i(g)) && m ? m.p(g, c) : (m.d(1), m = l(g), m && (m.c(), m.m(s, null)));
338
338
  },
339
- i: J,
340
- o: J,
339
+ i: Y,
340
+ o: Y,
341
341
  d(g) {
342
- g && A(e), m.d(), a[24](null);
342
+ g && L(e), m.d(), a[24](null);
343
343
  }
344
344
  };
345
345
  }
346
346
  function Ge(a, e, s) {
347
347
  let i;
348
- oe(a, he, (t) => s(20, i = t));
349
- let { endpoint: l = "" } = e, { datasource: m = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: D = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: w = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: G = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: C } = e, { favorites: U = "" } = e, { translationurl: k = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: E = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
348
+ oe(a, ue, (t) => s(20, i = t));
349
+ let { endpoint: l = "" } = e, { datasource: m = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: D = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: w = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: G = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: O = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: C } = e, { favorites: U = "" } = e, { translationurl: k = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: E = "10" } = e, { fetchviaevent: q = "true" } = e, Q = window.navigator.userAgent;
350
350
  const V = () => {
351
351
  fetch(k).then((o) => o.json()).then((o) => {
352
352
  Object.keys(o).forEach((d) => {
353
- Y(d, o[d]);
353
+ B(d, o[d]);
354
354
  });
355
355
  }).catch((o) => {
356
356
  console.log(o);
357
357
  });
358
358
  };
359
359
  Object.keys(H).forEach((t) => {
360
- Y(t, H[t]);
360
+ B(t, H[t]);
361
361
  });
362
- let N = [], q, I = !1, u;
362
+ let N = [], z, I = !1, u;
363
363
  const W = (t) => {
364
364
  let o = new URL(`${l}/v1/player/${b}/games/most-played`);
365
365
  t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", S);
366
366
  let d = t.device;
367
- return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), q = G ? o : o.href, new Promise((f, y) => {
368
- fetch(q).then((h) => h.json()).then((h) => {
367
+ return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), z = G ? o : o.href, new Promise((f, y) => {
368
+ fetch(z).then((h) => h.json()).then((h) => {
369
369
  h.items = h.items.filter((x) => {
370
- let B = !0;
371
- return x.gameCode == "OddsMatrix2" && (h.count--, B = !1), B;
370
+ let J = !0;
371
+ return x.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
372
372
  }), f(h);
373
373
  }).catch((h) => {
374
374
  console.error(h), y(h);
@@ -402,13 +402,13 @@ function Ge(a, e, s) {
402
402
  });
403
403
  }
404
404
  return a.$$set = (t) => {
405
- "endpoint" in t && s(0, l = t.endpoint), "datasource" in t && s(1, m = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, D = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, w = t.clientstyling), "clientstylingurl" in t && s(8, _ = t.clientstylingurl), "livecasino" in t && s(9, G = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, F = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, C = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, k = t.translationurl), "casinomygames" in t && s(16, j = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, E = t.mostplayedrounds), "fetchviaevent" in t && s(17, z = t.fetchviaevent);
405
+ "endpoint" in t && s(0, l = t.endpoint), "datasource" in t && s(1, m = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, D = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, w = t.clientstyling), "clientstylingurl" in t && s(8, _ = t.clientstylingurl), "livecasino" in t && s(9, G = t.livecasino), "integratedgameframemobile" in t && s(10, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, O = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, C = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, k = t.translationurl), "casinomygames" in t && s(16, j = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, E = t.mostplayedrounds), "fetchviaevent" in t && s(17, q = t.fetchviaevent);
406
406
  }, a.$$.update = () => {
407
407
  a.$$.dirty[0] & /*endpoint, userid, lang*/
408
408
  41 && l && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
409
- 262272 && w && u && ge(u, w), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
410
- 262400 && _ && u && ce(u, _), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
411
- 262208 && v && u && ue(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
409
+ 262272 && w && u && de(u, w), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
410
+ 262400 && _ && u && fe(u, _), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
411
+ 262208 && v && u && he(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
412
412
  2097152 && k && V(), a.$$.dirty[0] & /*lang*/
413
413
  8 && c && Z();
414
414
  }, [
@@ -422,14 +422,14 @@ function Ge(a, e, s) {
422
422
  w,
423
423
  _,
424
424
  G,
425
- O,
426
425
  F,
426
+ O,
427
427
  R,
428
428
  T,
429
429
  C,
430
430
  U,
431
431
  j,
432
- z,
432
+ q,
433
433
  u,
434
434
  I,
435
435
  i,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-5tOlVA2J.cjs");function U(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.apply(this,a)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-2QskEwxN.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function V(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function W(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function X(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,o){t.insert(l,e,o),t.append(e,i)},p(l,o){o[0]&1048576&&a!==(a=l[20]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function Z(n){let e,a;function i(r,c){return r[19]?X:W}let l=i(n),o=l(n);return{c(){e=t.element("div"),a=t.element("div"),o.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,c){t.insert(r,e,c),t.append(e,a),o.m(a,null),n[24](e)},p(r,c){l===(l=i(r))&&o?o.p(r,c):(o.d(1),o=l(r),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:l=""}=e,{datasource:o=""}=e,{currency:r=""}=e,{lang:c=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:E="false"}=e,{gamepagemodalurl:L="false"}=e,{showgamename:A=""}=e,{visiblegames:N}=e,{favorites:O=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:D="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],F,T=!1,u;const Y=s=>{let m=new URL(`${l}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),F=w?m:m.href,new Promise((g,_)=>{fetch(F).then(f=>f.json()).then(f=>{f.items=f.items.filter(K=>{let R=!0;return K.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},p=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${l}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",o),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},B=()=>{Q(c)};t.onMount(()=>()=>{});function H(s){t.binding_callbacks[s?"unshift":"push"](()=>{u=s,a(18,u)})}return n.$$set=s=>{"endpoint"in s&&a(0,l=s.endpoint),"datasource"in s&&a(1,o=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,c=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,E=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,L=s.gamepagemodalurl),"showgamename"in s&&a(13,A=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,O=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&h&&c&&p(),n.$$.dirty[0]&262272&&b&&u&&t.setClientStyling(u,b),n.$$.dirty[0]&262400&&v&&u&&t.setClientStylingURL(u,v),n.$$.dirty[0]&262208&&y&&u&&t.setStreamStyling(u,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&c&&B()},[l,o,r,c,j,h,y,b,v,w,M,E,L,A,N,O,P,D,u,T,i,G,C,S,H]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,Z,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},V,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-WNFrQkQJ.cjs");function U(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.apply(this,a)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-BCeh01vB.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function V(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function W(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function X(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,o){t.insert(l,e,o),t.append(e,i)},p(l,o){o[0]&1048576&&a!==(a=l[20]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function Z(n){let e,a;function i(r,c){return r[19]?X:W}let l=i(n),o=l(n);return{c(){e=t.element("div"),a=t.element("div"),o.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,c){t.insert(r,e,c),t.append(e,a),o.m(a,null),n[24](e)},p(r,c){l===(l=i(r))&&o?o.p(r,c):(o.d(1),o=l(r),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:l=""}=e,{datasource:o=""}=e,{currency:r=""}=e,{lang:c=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:E="false"}=e,{gamepagemodalurl:L="false"}=e,{showgamename:A=""}=e,{visiblegames:N}=e,{favorites:O=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:D="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],F,T=!1,u;const Y=s=>{let m=new URL(`${l}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),F=w?m:m.href,new Promise((g,_)=>{fetch(F).then(f=>f.json()).then(f=>{f.items=f.items.filter(K=>{let R=!0;return K.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},p=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${l}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",o),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},B=()=>{Q(c)};t.onMount(()=>()=>{});function H(s){t.binding_callbacks[s?"unshift":"push"](()=>{u=s,a(18,u)})}return n.$$set=s=>{"endpoint"in s&&a(0,l=s.endpoint),"datasource"in s&&a(1,o=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,c=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,E=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,L=s.gamepagemodalurl),"showgamename"in s&&a(13,A=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,O=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&h&&c&&p(),n.$$.dirty[0]&262272&&b&&u&&t.setClientStyling(u,b),n.$$.dirty[0]&262400&&v&&u&&t.setClientStylingURL(u,v),n.$$.dirty[0]&262208&&y&&u&&t.setStreamStyling(u,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&c&&B()},[l,o,r,c,j,h,y,b,v,w,M,E,L,A,N,O,P,D,u,T,i,G,C,S,H]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,Z,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},V,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
@@ -1,5 +1,5 @@
1
- import { a as $, $ as ee, S as te, i as se, f as r, c as ae, s as ne, b as ie, e as P, j as M, l as L, m as K, o as J, p as A, q as oe, r as re, x as me, y as le, z as ge, A as ce, B as ue, h as n, t as de, n as fe, E as he } from "./CasinoFilter-CVr-_1Je.js";
2
- function Y(a, e) {
1
+ import { a as $, $ as ee, S as te, i as se, f as r, s as ae, F as ne, b as ie, n as Y, d as L, j as A, k as K, l as P, h as M, p as oe, q as re, w as le, x as me, g as ge, o as ce, e as n, G as ue, C as de, D as fe, E as he } from "./CasinoFilter-fITDy2f1.js";
2
+ function B(a, e) {
3
3
  $(a, e);
4
4
  }
5
5
  function ye(a) {
@@ -73,7 +73,7 @@ if (typeof window != "undefined") {
73
73
  }
74
74
  };
75
75
  };
76
- customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-D7LcBjJQ.js").then(({ default: e }) => {
76
+ customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-DtM-qLXG.js").then(({ default: e }) => {
77
77
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
78
78
  });
79
79
  }
@@ -177,7 +177,7 @@ function ve(a) {
177
177
  );
178
178
  },
179
179
  m(s, i) {
180
- L(s, e, i);
180
+ A(s, e, i);
181
181
  },
182
182
  p(s, i) {
183
183
  i[0] & /*session*/
@@ -291,7 +291,7 @@ function ve(a) {
291
291
  );
292
292
  },
293
293
  d(s) {
294
- s && A(e);
294
+ s && L(e);
295
295
  }
296
296
  };
297
297
  }
@@ -302,18 +302,18 @@ function we(a) {
302
302
  ), i;
303
303
  return {
304
304
  c() {
305
- e = P("p"), i = de(s), M(e, "class", "SearchLoading");
305
+ e = P("p"), i = ce(s), M(e, "class", "SearchLoading");
306
306
  },
307
- m(l, m) {
308
- L(l, e, m), K(e, i);
307
+ m(m, l) {
308
+ A(m, e, l), K(e, i);
309
309
  },
310
- p(l, m) {
311
- m[0] & /*$_*/
310
+ p(m, l) {
311
+ l[0] & /*$_*/
312
312
  1048576 && s !== (s = /*$_*/
313
- l[20]("noGames") + "") && fe(i, s);
313
+ m[20]("noGames") + "") && ge(i, s);
314
314
  },
315
- d(l) {
316
- l && A(e);
315
+ d(m) {
316
+ m && L(e);
317
317
  }
318
318
  };
319
319
  }
@@ -325,50 +325,50 @@ function _e(a) {
325
325
  g[19] ? we : ve
326
326
  );
327
327
  }
328
- let l = i(a), m = l(a);
328
+ let m = i(a), l = m(a);
329
329
  return {
330
330
  c() {
331
- e = P("div"), s = P("div"), m.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
331
+ e = P("div"), s = P("div"), l.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
332
332
  },
333
333
  m(g, c) {
334
- L(g, e, c), K(e, s), m.m(s, null), a[24](e);
334
+ A(g, e, c), K(e, s), l.m(s, null), a[24](e);
335
335
  },
336
336
  p(g, c) {
337
- l === (l = i(g)) && m ? m.p(g, c) : (m.d(1), m = l(g), m && (m.c(), m.m(s, null)));
337
+ m === (m = i(g)) && l ? l.p(g, c) : (l.d(1), l = m(g), l && (l.c(), l.m(s, null)));
338
338
  },
339
- i: J,
340
- o: J,
339
+ i: Y,
340
+ o: Y,
341
341
  d(g) {
342
- g && A(e), m.d(), a[24](null);
342
+ g && L(e), l.d(), a[24](null);
343
343
  }
344
344
  };
345
345
  }
346
346
  function Ge(a, e, s) {
347
347
  let i;
348
- oe(a, he, (t) => s(20, i = t));
349
- let { endpoint: l = "" } = e, { datasource: m = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: D = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: w = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: G = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: k = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: E = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
348
+ oe(a, ue, (t) => s(20, i = t));
349
+ let { endpoint: m = "" } = e, { datasource: l = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: D = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: w = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: G = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: O = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: C } = e, { favorites: U = "" } = e, { translationurl: k = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: E = "10" } = e, { fetchviaevent: q = "true" } = e, Q = window.navigator.userAgent;
350
350
  const V = () => {
351
351
  fetch(k).then((o) => o.json()).then((o) => {
352
352
  Object.keys(o).forEach((d) => {
353
- Y(d, o[d]);
353
+ B(d, o[d]);
354
354
  });
355
355
  }).catch((o) => {
356
356
  console.log(o);
357
357
  });
358
358
  };
359
359
  Object.keys(H).forEach((t) => {
360
- Y(t, H[t]);
360
+ B(t, H[t]);
361
361
  });
362
- let N = [], q, I = !1, u;
362
+ let N = [], z, I = !1, u;
363
363
  const W = (t) => {
364
- let o = new URL(`${l}/v1/player/${b}/games/most-played`);
364
+ let o = new URL(`${m}/v1/player/${b}/games/most-played`);
365
365
  t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", S);
366
366
  let d = t.device;
367
- return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), q = G ? o : o.href, new Promise((f, y) => {
368
- fetch(q).then((h) => h.json()).then((h) => {
367
+ return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), z = G ? o : o.href, new Promise((f, y) => {
368
+ fetch(z).then((h) => h.json()).then((h) => {
369
369
  h.items = h.items.filter((x) => {
370
- let B = !0;
371
- return x.gameCode == "OddsMatrix2" && (h.count--, B = !1), B;
370
+ let J = !0;
371
+ return x.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
372
372
  }), f(h);
373
373
  }).catch((h) => {
374
374
  console.error(h), y(h);
@@ -377,16 +377,16 @@ function Ge(a, e, s) {
377
377
  }, X = () => {
378
378
  W({
379
379
  limit: 100,
380
- device: me(Q),
380
+ device: le(Q),
381
381
  rounds: E
382
382
  }).then((t) => {
383
383
  if (t.count > 0) {
384
384
  let o = [];
385
385
  t.items.forEach((d) => {
386
- let f = new URL(`${l}/v1/casino/games/${d.gameId}`);
387
- f.searchParams.append("datasource", m), G ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
386
+ let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
387
+ f.searchParams.append("datasource", l), G ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
388
388
  }), Promise.all(o).then((d) => {
389
- N = d.filter((f) => !("error" in f)).map((f) => f[0]), C === "true" && (N = N.slice(0, JSON.parse(j))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
389
+ N = d.filter((f) => !("error" in f)).map((f) => f[0]), j === "true" && (N = N.slice(0, JSON.parse(C))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
390
390
  });
391
391
  } else
392
392
  s(19, I = !0);
@@ -397,23 +397,23 @@ function Ge(a, e, s) {
397
397
  re(() => () => {
398
398
  });
399
399
  function p(t) {
400
- le[t ? "unshift" : "push"](() => {
400
+ me[t ? "unshift" : "push"](() => {
401
401
  u = t, s(18, u);
402
402
  });
403
403
  }
404
404
  return a.$$set = (t) => {
405
- "endpoint" in t && s(0, l = t.endpoint), "datasource" in t && s(1, m = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, D = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, w = t.clientstyling), "clientstylingurl" in t && s(8, _ = t.clientstylingurl), "livecasino" in t && s(9, G = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, F = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, k = t.translationurl), "casinomygames" in t && s(16, C = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, E = t.mostplayedrounds), "fetchviaevent" in t && s(17, z = t.fetchviaevent);
405
+ "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, l = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, D = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, w = t.clientstyling), "clientstylingurl" in t && s(8, _ = t.clientstylingurl), "livecasino" in t && s(9, G = t.livecasino), "integratedgameframemobile" in t && s(10, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, O = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, C = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, k = t.translationurl), "casinomygames" in t && s(16, j = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, E = t.mostplayedrounds), "fetchviaevent" in t && s(17, q = t.fetchviaevent);
406
406
  }, a.$$.update = () => {
407
407
  a.$$.dirty[0] & /*endpoint, userid, lang*/
408
- 41 && l && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
409
- 262272 && w && u && ge(u, w), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
410
- 262400 && _ && u && ce(u, _), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
411
- 262208 && v && u && ue(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
408
+ 41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
409
+ 262272 && w && u && de(u, w), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
410
+ 262400 && _ && u && fe(u, _), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
411
+ 262208 && v && u && he(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
412
412
  2097152 && k && V(), a.$$.dirty[0] & /*lang*/
413
413
  8 && c && Z();
414
414
  }, [
415
- l,
416
415
  m,
416
+ l,
417
417
  g,
418
418
  c,
419
419
  D,
@@ -422,14 +422,14 @@ function Ge(a, e, s) {
422
422
  w,
423
423
  _,
424
424
  G,
425
- O,
426
425
  F,
426
+ O,
427
427
  R,
428
428
  T,
429
- j,
430
- U,
431
429
  C,
432
- z,
430
+ U,
431
+ j,
432
+ q,
433
433
  u,
434
434
  I,
435
435
  i,
@@ -446,7 +446,7 @@ class ke extends te {
446
446
  e,
447
447
  Ge,
448
448
  _e,
449
- ne,
449
+ ae,
450
450
  {
451
451
  endpoint: 0,
452
452
  datasource: 1,
@@ -601,7 +601,7 @@ class ke extends te {
601
601
  this.$$set({ fetchviaevent: e }), r();
602
602
  }
603
603
  }
604
- ae(ke, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
604
+ ne(ke, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
605
605
  export {
606
606
  ke as default
607
607
  };
@@ -1,4 +1,4 @@
1
- import { $ as q, M as et, a as rt, S as ot, i as nt, f as E, c as at, s as lt, b as st, e as h, l as P, o as U, p as R, q as it, r as ct, y as dt, z as pt, A as gt, B as ut, C as G, G as N, d as Z, t as K, j as r, m as s, u as tt, n as Q, D as ht, E as mt } from "./CasinoFilter-DT7oAwTf.js";
1
+ import { $ as q, M as et, a as rt, S as ot, i as nt, s as at, f as E, b as lt, n as U, d as P, j as R, l as h, p as st, q as it, x as ct, y as G, z as dt, g as K, h as r, k as s, r as tt, B as N, m as Z, o as Q, C as pt, D as gt, E as ut, F as ht, G as mt } from "./CasinoFilter-CZl1cztJ.js";
2
2
  function ft({ withLocale: t, translations: e }) {
3
3
  q.subscribe((o) => {
4
4
  o == null && (et.set(e), q.set(t));
@@ -136,7 +136,7 @@ const X = {
136
136
  }
137
137
  };
138
138
  function yt(t) {
139
- st(t, "svelte-p37neu", ':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{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}.SorterDropdownContainer{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:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}');
139
+ lt(t, "svelte-p37neu", ':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{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}.SorterDropdownContainer{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:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}');
140
140
  }
141
141
  function Y(t, e, o) {
142
142
  const a = t.slice();
@@ -158,7 +158,7 @@ function wt(t) {
158
158
  b[c] = $(Y(t, H, c));
159
159
  return {
160
160
  c() {
161
- e = h("div"), o = h("div"), a = h("div"), l = N("svg"), i = N("g"), d = N("path"), m = N("path"), g = N("path"), x = Z(), p = h("div"), f = h("span"), y = K(_), S = Z(), B = h("div"), C = h("span"), O = K(I), L = Z(), z = h("span"), A = N("svg"), F = N("path"), w = Z(), v = h("div"), T = h("ul");
161
+ e = h("div"), o = h("div"), a = h("div"), l = N("svg"), i = N("g"), d = N("path"), m = N("path"), g = N("path"), x = Z(), p = h("div"), f = h("span"), y = Q(_), S = Z(), B = h("div"), C = h("span"), O = Q(I), L = Z(), z = h("span"), A = N("svg"), F = N("path"), w = Z(), v = h("div"), T = h("ul");
162
162
  for (let c = 0; c < b.length; c += 1)
163
163
  b[c].c();
164
164
  r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(m, "id", "Path_5268"), r(m, "data-name", "Path 5268"), r(m, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(m, "transform", "translate(0 0)"), r(m, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(l, "xmlns", "http://www.w3.org/2000/svg"), r(l, "width", "20"), r(l, "height", "20"), r(l, "viewBox", "0 0 26.003 22.819"), r(f, "class", "SorterName"), r(B, "class", "SorterValueContainer"), r(p, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(F, "id", "arrow"), r(F, "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"), r(F, "transform", "translate(-274.511 -441.088)"), r(F, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(z, "class", M = "TriangleInactive " + /*isSorterActive*/
@@ -167,7 +167,7 @@ function wt(t) {
167
167
  (t[1] ? "SorterOpen" : "")), r(e, "class", "SorterContainer");
168
168
  },
169
169
  m(c, k) {
170
- P(c, e, k), s(e, o), s(o, a), s(a, l), s(l, i), s(i, d), s(i, m), s(i, g), s(a, x), s(a, p), s(p, f), s(f, y), s(p, S), s(p, B), s(B, C), s(C, O), s(o, L), s(o, z), s(z, A), s(A, F), s(e, w), s(e, v), s(v, T);
170
+ R(c, e, k), s(e, o), s(o, a), s(a, l), s(l, i), s(i, d), s(i, m), s(i, g), s(a, x), s(a, p), s(p, f), s(f, y), s(p, S), s(p, B), s(B, C), s(C, O), s(o, L), s(o, z), s(z, A), s(A, F), s(e, w), s(e, v), s(v, T);
171
171
  for (let u = 0; u < b.length; u += 1)
172
172
  b[u] && b[u].m(T, null);
173
173
  j || (V = tt(
@@ -180,10 +180,10 @@ function wt(t) {
180
180
  p(c, k) {
181
181
  if (k & /*$_*/
182
182
  16 && _ !== (_ = /*$_*/
183
- c[4]("sortby") + "") && Q(y, _), k & /*vendorSortingBy, $_*/
183
+ c[4]("sortby") + "") && K(y, _), k & /*vendorSortingBy, $_*/
184
184
  24 && I !== (I = /*vendorSortingBy*/
185
185
  (c[3] || /*$_*/
186
- c[4]("all")) + "") && Q(O, I), k & /*isSorterActive*/
186
+ c[4]("all")) + "") && K(O, I), k & /*isSorterActive*/
187
187
  2 && M !== (M = "TriangleInactive " + /*isSorterActive*/
188
188
  (c[1] ? "TriangleActive" : "")) && r(z, "class", M), k & /*isSorterActive*/
189
189
  2 && n !== (n = "SorterSelector " + /*isSorterActive*/
@@ -207,7 +207,7 @@ function wt(t) {
207
207
  (c[1] ? "SorterOpen" : "")) && r(v, "class", D);
208
208
  },
209
209
  d(c) {
210
- c && R(e), ht(b, c), j = !1, V();
210
+ c && P(e), dt(b, c), j = !1, V();
211
211
  }
212
212
  };
213
213
  }
@@ -237,7 +237,7 @@ function $(t) {
237
237
  t[23];
238
238
  },
239
239
  m(y, S) {
240
- P(y, e, S), s(e, o), s(o, a), s(o, i), s(o, d), s(o, m), s(o, g), s(e, x), p || (f = tt(a, "click", _), p = !0);
240
+ R(y, e, S), s(e, o), s(o, a), s(o, i), s(o, d), s(o, m), s(o, g), s(e, x), p || (f = tt(a, "click", _), p = !0);
241
241
  },
242
242
  p(y, S) {
243
243
  t = y, S & /*vendorSortingBy, $_*/
@@ -251,7 +251,7 @@ function $(t) {
251
251
  )) && (a.checked = l);
252
252
  },
253
253
  d(y) {
254
- y && R(e), p = !1, f();
254
+ y && P(e), p = !1, f();
255
255
  }
256
256
  };
257
257
  }
@@ -268,7 +268,7 @@ function bt(t) {
268
268
  e = h("div"), l && l.c();
269
269
  },
270
270
  m(i, d) {
271
- P(i, e, d), l && l.m(e, null), t[16](e);
271
+ R(i, e, d), l && l.m(e, null), t[16](e);
272
272
  },
273
273
  p(i, [d]) {
274
274
  a === (a = o(i)) && l ? l.p(i, d) : (l && l.d(1), l = a && a(i), l && (l.c(), l.m(e, null)));
@@ -276,13 +276,13 @@ function bt(t) {
276
276
  i: U,
277
277
  o: U,
278
278
  d(i) {
279
- i && R(e), l && l.d(), t[16](null);
279
+ i && P(e), l && l.d(), t[16](null);
280
280
  }
281
281
  };
282
282
  }
283
283
  function St(t, e, o) {
284
284
  let a;
285
- it(t, mt, (n) => o(4, a = n));
285
+ st(t, mt, (n) => o(4, a = n));
286
286
  let { lang: l = "" } = e, { translationurl: i = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: m = "" } = e, { categoryid: g = "" } = e, { mbsource: x } = e, p, f = !1, _ = !0, y = "", S = "All";
287
287
  ft({ withLocale: "en", translations: {} });
288
288
  const B = () => {
@@ -328,12 +328,12 @@ function St(t, e, o) {
328
328
  }, z = (n) => {
329
329
  n.data.type == "FilterOpened" && o(1, f = !1);
330
330
  };
331
- ct(() => (window.addEventListener("message", z, !1), () => {
331
+ it(() => (window.addEventListener("message", z, !1), () => {
332
332
  window.removeEventListener("message", z);
333
333
  }));
334
334
  const A = () => L(), F = (n) => O(n);
335
335
  function M(n) {
336
- dt[n ? "unshift" : "push"](() => {
336
+ ct[n ? "unshift" : "push"](() => {
337
337
  p = n, o(0, p);
338
338
  });
339
339
  }
@@ -373,7 +373,7 @@ class vt extends ot {
373
373
  e,
374
374
  St,
375
375
  bt,
376
- lt,
376
+ at,
377
377
  {
378
378
  lang: 8,
379
379
  translationurl: 9,
@@ -422,7 +422,7 @@ class vt extends ot {
422
422
  this.$$set({ mbsource: e }), E();
423
423
  }
424
424
  }
425
- at(vt, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, mbsource: {} }, [], [], !0);
425
+ ht(vt, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, mbsource: {} }, [], [], !0);
426
426
  export {
427
427
  vt as default
428
428
  };