@everymatrix/casino-page 1.57.0 → 1.58.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 (70) hide show
  1. package/components/{CasinoCalendar-Beb-D9v5.js → CasinoCalendar-DSG6g7xU.js} +1093 -1115
  2. package/components/{CasinoCalendar-qVpbXj-D.js → CasinoCalendar-DiZrkgaV.js} +833 -855
  3. package/components/CasinoCalendar-df0Yv0_Y.cjs +19 -0
  4. package/components/{CasinoCalendarDailyDetails-C6Shuvfx.js → CasinoCalendarDailyDetails-CcuM0Eaq.js} +48 -48
  5. package/components/{CasinoCalendarDailyDetails-C6Lmn7pW.cjs → CasinoCalendarDailyDetails-DNnl20nr.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-CmmQq8VR.js → CasinoCalendarDailyDetails-Dv1jxPLQ.js} +48 -48
  7. package/components/{CasinoCalendarDailyItem-BLMalLZx.js → CasinoCalendarDailyItem-BBaphFv2.js} +41 -41
  8. package/components/{CasinoCalendarDailyItem-DlHg6exr.js → CasinoCalendarDailyItem-DateMcJ_.js} +41 -41
  9. package/components/{CasinoCalendarDailyItem-D7q0pxAo.cjs → CasinoCalendarDailyItem-HkwdKiaQ.cjs} +1 -1
  10. package/components/{CasinoCollectionsProviders-BU9Vdk7f.js → CasinoCollectionsProviders-CQ42E76I.js} +62 -62
  11. package/components/{CasinoCollectionsProviders-CKeIv7Lm.cjs → CasinoCollectionsProviders-DlyhZFGW.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-KxO7bWw9.js → CasinoCollectionsProviders-JONztOpa.js} +69 -69
  13. package/components/{CasinoFavoritesSection-BLcFCYkL.js → CasinoFavoritesSection-B35fc0WA.js} +23 -23
  14. package/components/{CasinoFavoritesSection-DfWNsUcD.js → CasinoFavoritesSection-Di0ChxzM.js} +23 -23
  15. package/components/{CasinoFavoritesSection-Bt1qroiI.cjs → CasinoFavoritesSection-KsIBcFcl.cjs} +1 -1
  16. package/components/{CasinoFilter-5P8W2ayY.js → CasinoFilter-D3nwp5eh.js} +230 -229
  17. package/components/{CasinoFilter-EmKNpmwo.js → CasinoFilter-DTSqCXdO.js} +242 -243
  18. package/components/CasinoFilter-w2jN5tFN.cjs +1 -0
  19. package/components/{CasinoGameThumbnail-kYpO7OYd.cjs → CasinoGameThumbnail-CFfgryHx.cjs} +11 -11
  20. package/components/{CasinoGameThumbnail-DLV5eXt3.js → CasinoGameThumbnail-CcXh2l2p.js} +1177 -1193
  21. package/components/{CasinoGameThumbnail-B-j-s0zl.js → CasinoGameThumbnail-DSJ5QN_S.js} +642 -626
  22. package/components/{CasinoGamesCategorySection-DxdFkiK0.js → CasinoGamesCategorySection-Bt_TCzHb.js} +246 -246
  23. package/components/{CasinoGamesCategorySection-C7wNGeVf.cjs → CasinoGamesCategorySection-CFrf0WgK.cjs} +1 -1
  24. package/components/{CasinoGamesCategorySection-CGLL37Ll.js → CasinoGamesCategorySection-DMsv60nN.js} +327 -327
  25. package/components/{CasinoJackpotBanner-o_Mbn9dc.cjs → CasinoJackpotBanner-Bc1JKlzX.cjs} +1 -1
  26. package/components/{CasinoJackpotBanner-CJWjyexm.js → CasinoJackpotBanner-CB4S1SRX.js} +72 -72
  27. package/components/{CasinoJackpotBanner-DquJdUya.js → CasinoJackpotBanner-DhUCd87f.js} +79 -79
  28. package/components/{CasinoLastPlayedSection-C1fXqsNf.js → CasinoLastPlayedSection-D2YhL3mI.js} +38 -38
  29. package/components/{CasinoLastPlayedSection-D3rQ6OIZ.cjs → CasinoLastPlayedSection-D7Nb9EcO.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSection-Mwvag7Ds.js → CasinoLastPlayedSection-DisexHa1.js} +38 -38
  31. package/components/{CasinoMostPlayedSection-BjERkNCF.js → CasinoMostPlayedSection-BwTn0Z9W.js} +49 -49
  32. package/components/{CasinoMostPlayedSection-T3x41wRX.js → CasinoMostPlayedSection-Dt0krTX5.js} +49 -49
  33. package/components/{CasinoMostPlayedSection-CbOy3yAA.cjs → CasinoMostPlayedSection-vevxfvAK.cjs} +1 -1
  34. package/components/{CasinoMyGames-DCFnCBZ5.js → CasinoMyGames-BUsipYGW.js} +42 -42
  35. package/components/{CasinoMyGames-5bW8Sgi5.js → CasinoMyGames-D18ON4L8.js} +41 -41
  36. package/components/{CasinoMyGames-C_M_zFT2.cjs → CasinoMyGames-eqkYGMmg.cjs} +1 -1
  37. package/components/{CasinoPage-YB6CY7ON.js → CasinoPage-BmW4Yfd6.js} +99 -99
  38. package/components/{CasinoPage-AJMpJvaQ.js → CasinoPage-CaIJbUnB.js} +97 -97
  39. package/components/CasinoPage-CmCL5c1m.cjs +1 -0
  40. package/components/{CasinoRandomGame-B9Eg9Cv4.js → CasinoRandomGame-BdTCJXjk.js} +60 -60
  41. package/components/{CasinoRandomGame-CUHxVoyq.cjs → CasinoRandomGame-C723vTme.cjs} +1 -1
  42. package/components/{CasinoRandomGame-DR6TctHg.js → CasinoRandomGame-Cs6Mh9-O.js} +62 -62
  43. package/components/{CasinoSearch-Bjfocy3y.js → CasinoSearch-BTg9BmdC.js} +87 -87
  44. package/components/{CasinoSearch-CpBhzpsK.cjs → CasinoSearch-Cmgioy33.cjs} +1 -1
  45. package/components/{CasinoSearch-Bx4-nMU3.js → CasinoSearch-CwfU7YXU.js} +85 -85
  46. package/components/{CasinoSort-DvLkFtIz.js → CasinoSort-C9FqhPn1.js} +110 -111
  47. package/components/{CasinoSort-BygFei5r.js → CasinoSort-DJGB2rWX.js} +104 -103
  48. package/components/{CasinoSort-5x4S3mG_.cjs → CasinoSort-d7HpFn0y.cjs} +1 -1
  49. package/components/{CasinoWinners-DbQvZp-o.cjs → CasinoWinners-Br-OwXS1.cjs} +1 -1
  50. package/components/{CasinoWinners-tsFI0Qkd.js → CasinoWinners-Djt0qjWA.js} +146 -146
  51. package/components/{CasinoWinners-BZEiqOuZ.js → CasinoWinners-KCECqhoF.js} +145 -145
  52. package/components/{GeneralAnimationLoading-Bfdh1dfh.js → GeneralAnimationLoading-Dha7DXjj.js} +16 -16
  53. package/components/{GeneralAnimationLoading-BFfW6U-2.cjs → GeneralAnimationLoading-Dy1zCPsz.cjs} +1 -1
  54. package/components/{GeneralAnimationLoading-g0jjajHE.js → GeneralAnimationLoading-jXOehNwh.js} +16 -16
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +1 -1
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +3 -2
  59. package/stencil/{casino-play-random-game-B9yaAMOE.js → casino-play-random-game-BOnTgUqC.js} +1 -1
  60. package/stencil/{casino-play-random-game-a53bUW_d.cjs → casino-play-random-game-DjdZ0XM0.cjs} +1 -1
  61. package/stencil/{casino-play-random-game-BTXyM5es.js → casino-play-random-game-NcJEjFWA.js} +1 -1
  62. package/stencil/index-510a6ba4-1RrL4Z6e.js +564 -0
  63. package/stencil/index-510a6ba4-CNr-xCZE.js +548 -0
  64. package/stencil/index-510a6ba4-eEczisTR.cjs +1 -0
  65. package/components/CasinoCalendar-zkVoyaEl.cjs +0 -19
  66. package/components/CasinoFilter-BLgXtVi-.cjs +0 -1
  67. package/components/CasinoPage-DMaRihI_.cjs +0 -1
  68. package/stencil/index-510a6ba4-B9_VY7vu.cjs +0 -1
  69. package/stencil/index-510a6ba4-CYFuKFRQ.js +0 -564
  70. package/stencil/index-510a6ba4-CzpWs0jf.js +0 -548
@@ -1,13 +1,13 @@
1
- import { $ as re, P as ue, a as ge, S as me, i as he, f as I, c as Fe, s as be, b as ye, e as m, d as B, G as ie, j as V, k as ve, o as we, l as _e, R as Ce, q as ke, r as xe, m as Se, v as ae, J as ee, w as D, x as T, y as o, z as s, A as te, E as j, F as Ie, N as fe, T as ne, I as Le, H as oe } from "./CasinoCalendar-Beb-D9v5.js";
2
- function Pe({ withLocale: r, translations: e }) {
3
- re.subscribe((t) => {
4
- t == null && (ue.set(e), re.set(r));
1
+ import { $ as te, P as pe, a as fe, S as ge, i as ue, s as me, f as L, b as he, n as le, d as z, h as B, j as m, k as Fe, o as be, R as ye, C as ve, m as j, p as s, q as T, r as o, v as re, w as we, N as de, A as ee, E as $, B as O, T as ie, D as ae, I as _e, J as Ce, K as ke, L as xe, M as Se } from "./CasinoCalendar-DiZrkgaV.js";
2
+ function Ie({ withLocale: l, translations: e }) {
3
+ te.subscribe((t) => {
4
+ t == null && (pe.set(e), te.set(l));
5
5
  });
6
6
  }
7
- function se(r, e) {
8
- ge(r, e);
7
+ function ne(l, e) {
8
+ fe(l, e);
9
9
  }
10
- const ce = {
10
+ const oe = {
11
11
  en: {
12
12
  providers: "Providers:",
13
13
  filterby: "Filter by:",
@@ -117,116 +117,116 @@ const ce = {
117
117
  clear: "Clear all"
118
118
  }
119
119
  };
120
- function Ae(r) {
121
- ye(r, "svelte-1v7rv6n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{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;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--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){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
120
+ function Le(l) {
121
+ he(l, "svelte-1v7rv6n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{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;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--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){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
122
122
  }
123
- function de(r, e, t) {
124
- const i = r.slice();
123
+ function se(l, e, t) {
124
+ const i = l.slice();
125
125
  return i[36] = e[t], i[37] = e, i[38] = t, i;
126
126
  }
127
- function Oe(r) {
128
- let e, t, i, a, c, h, v, w, b = (
127
+ function Pe(l) {
128
+ let e, t, i, a, c, h, w, _, y = (
129
129
  /*$_*/
130
- r[11]("filterby") + ""
131
- ), u, _, y, N, L = (
130
+ l[11]("filterby") + ""
131
+ ), f, C, v, N, P = (
132
132
  /*$_*/
133
- r[11]("providers") + ""
134
- ), C, S, g, d, F, P, W, E, k, A, M, Q, O, R = (
133
+ l[11]("providers") + ""
134
+ ), k, I, u, p, F, A, V, M, x, D, W, K, E, J = (
135
135
  /*$_*/
136
- r[11]("clear") + ""
137
- ), q, J, G, H, U, X;
138
- function Y(n, f) {
136
+ l[11]("clear") + ""
137
+ ), U, Z, H, R, Q, X;
138
+ function Y(n, g) {
139
139
  return (
140
140
  /*fullSelection*/
141
- n[7] ? Ne : Te
141
+ n[7] ? Oe : De
142
142
  );
143
143
  }
144
- let Z = Y(r), x = Z(r), z = ae(
144
+ let G = Y(l), S = G(l), r = re(
145
145
  /*vendorArray*/
146
- r[5]
147
- ), l = [];
148
- for (let n = 0; n < z.length; n += 1)
149
- l[n] = pe(de(r, z, n));
146
+ l[5]
147
+ ), d = [];
148
+ for (let n = 0; n < r.length; n += 1)
149
+ d[n] = ce(se(l, r, n));
150
150
  return {
151
151
  c() {
152
- e = m("div"), t = m("div"), i = m("div"), a = ee("svg"), c = ee("path"), h = D(), v = m("div"), w = m("span"), u = T(b), _ = D(), y = m("div"), N = m("span"), C = T(L), S = D(), x.c(), g = D(), d = m("span"), F = ee("svg"), P = ee("path"), k = D(), A = m("div"), M = m("ul");
153
- for (let n = 0; n < l.length; n += 1)
154
- l[n].c();
155
- Q = D(), O = m("button"), q = T(R), o(c, "id", "noun_filter_736223"), o(c, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), o(c, "transform", "translate(-5 -6.2)"), o(c, "fill", "#fff"), o(a, "xmlns", "http://www.w3.org/2000/svg"), o(a, "width", "16"), o(a, "height", "16"), o(a, "viewBox", "0 0 16 16"), o(w, "class", "FilterName"), o(y, "class", "FilterValueContainer"), o(v, "class", "FilterTextContainer"), o(i, "class", "FilterMainArea"), o(P, "id", "arrow"), o(P, "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"), o(P, "transform", "translate(-274.511 -441.088)"), o(P, "fill", "#d1d1d1"), o(F, "xmlns", "http://www.w3.org/2000/svg"), o(F, "width", "14"), o(F, "height", "6.835"), o(F, "viewBox", "0 0 14 6.835"), o(d, "class", W = "TriangleInactive " + /*isFilterActive*/
156
- (r[4] ? "TriangleActive" : "")), o(t, "class", E = "FilterSelector " + /*isFilterActive*/
157
- (r[4] ? "FilterSelectorOpen" : "")), o(M, "class", "FilterDropdown"), o(O, "class", "ClearFilters"), O.disabled = J = /*fullSelection*/
158
- r[7] && /*selectedVendorArray*/
159
- r[6].length != /*vendorArray*/
160
- r[5].length, o(A, "class", G = "FilterDropdownContainer " + /*isFilterActive*/
161
- (r[4] ? "FilterOpen" : "")), o(e, "class", H = "FilterContainer " + /*addfilterselector*/
162
- (r[0] == "true" && /*addsortingselector*/
163
- r[1] == "true" ? "FilerContainerSplit" : ""));
152
+ e = m("div"), t = m("div"), i = m("div"), a = $("svg"), c = $("path"), h = O(), w = m("div"), _ = m("span"), f = T(y), C = O(), v = m("div"), N = m("span"), k = T(P), I = O(), S.c(), u = O(), p = m("span"), F = $("svg"), A = $("path"), x = O(), D = m("div"), W = m("ul");
153
+ for (let n = 0; n < d.length; n += 1)
154
+ d[n].c();
155
+ K = O(), E = m("button"), U = T(J), o(c, "id", "noun_filter_736223"), o(c, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), o(c, "transform", "translate(-5 -6.2)"), o(c, "fill", "#fff"), o(a, "xmlns", "http://www.w3.org/2000/svg"), o(a, "width", "16"), o(a, "height", "16"), o(a, "viewBox", "0 0 16 16"), o(_, "class", "FilterName"), o(v, "class", "FilterValueContainer"), o(w, "class", "FilterTextContainer"), o(i, "class", "FilterMainArea"), o(A, "id", "arrow"), o(A, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), o(A, "transform", "translate(-274.511 -441.088)"), o(A, "fill", "#d1d1d1"), o(F, "xmlns", "http://www.w3.org/2000/svg"), o(F, "width", "14"), o(F, "height", "6.835"), o(F, "viewBox", "0 0 14 6.835"), o(p, "class", V = "TriangleInactive " + /*isFilterActive*/
156
+ (l[4] ? "TriangleActive" : "")), o(t, "class", M = "FilterSelector " + /*isFilterActive*/
157
+ (l[4] ? "FilterSelectorOpen" : "")), o(W, "class", "FilterDropdown"), o(E, "class", "ClearFilters"), E.disabled = Z = /*fullSelection*/
158
+ l[7] && /*selectedVendorArray*/
159
+ l[6].length != /*vendorArray*/
160
+ l[5].length, o(D, "class", H = "FilterDropdownContainer " + /*isFilterActive*/
161
+ (l[4] ? "FilterOpen" : "")), o(e, "class", R = "FilterContainer " + /*addfilterselector*/
162
+ (l[0] == "true" && /*addsortingselector*/
163
+ l[1] == "true" ? "FilerContainerSplit" : ""));
164
164
  },
165
- m(n, f) {
166
- B(n, e, f), s(e, t), s(t, i), s(i, a), s(a, c), s(i, h), s(i, v), s(v, w), s(w, u), s(v, _), s(v, y), s(y, N), s(N, C), s(y, S), x.m(y, null), s(t, g), s(t, d), s(d, F), s(F, P), s(e, k), s(e, A), s(A, M);
167
- for (let p = 0; p < l.length; p += 1)
168
- l[p] && l[p].m(M, null);
169
- s(A, Q), s(A, O), s(O, q), U || (X = [
170
- te(
165
+ m(n, g) {
166
+ B(n, e, g), s(e, t), s(t, i), s(i, a), s(a, c), s(i, h), s(i, w), s(w, _), s(_, f), s(w, C), s(w, v), s(v, N), s(N, k), s(v, I), S.m(v, null), s(t, u), s(t, p), s(p, F), s(F, A), s(e, x), s(e, D), s(D, W);
167
+ for (let b = 0; b < d.length; b += 1)
168
+ d[b] && d[b].m(W, null);
169
+ s(D, K), s(D, E), s(E, U), Q || (X = [
170
+ ee(
171
171
  t,
172
172
  "click",
173
173
  /*click_handler*/
174
- r[23]
174
+ l[23]
175
175
  ),
176
- te(
177
- O,
176
+ ee(
177
+ E,
178
178
  "click",
179
179
  /*click_handler_2*/
180
- r[26]
180
+ l[26]
181
181
  )
182
- ], U = !0);
182
+ ], Q = !0);
183
183
  },
184
- p(n, f) {
185
- if (f[0] & /*$_*/
186
- 2048 && b !== (b = /*$_*/
187
- n[11]("filterby") + "") && j(u, b), f[0] & /*$_*/
188
- 2048 && L !== (L = /*$_*/
189
- n[11]("providers") + "") && j(C, L), Z === (Z = Y(n)) && x ? x.p(n, f) : (x.d(1), x = Z(n), x && (x.c(), x.m(y, null))), f[0] & /*isFilterActive*/
190
- 16 && W !== (W = "TriangleInactive " + /*isFilterActive*/
191
- (n[4] ? "TriangleActive" : "")) && o(d, "class", W), f[0] & /*isFilterActive*/
192
- 16 && E !== (E = "FilterSelector " + /*isFilterActive*/
193
- (n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", E), f[0] & /*filterbylogo, vendorArray, filterByVendors*/
184
+ p(n, g) {
185
+ if (g[0] & /*$_*/
186
+ 2048 && y !== (y = /*$_*/
187
+ n[11]("filterby") + "") && j(f, y), g[0] & /*$_*/
188
+ 2048 && P !== (P = /*$_*/
189
+ n[11]("providers") + "") && j(k, P), G === (G = Y(n)) && S ? S.p(n, g) : (S.d(1), S = G(n), S && (S.c(), S.m(v, null))), g[0] & /*isFilterActive*/
190
+ 16 && V !== (V = "TriangleInactive " + /*isFilterActive*/
191
+ (n[4] ? "TriangleActive" : "")) && o(p, "class", V), g[0] & /*isFilterActive*/
192
+ 16 && M !== (M = "FilterSelector " + /*isFilterActive*/
193
+ (n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", M), g[0] & /*filterbylogo, vendorArray, filterByVendors*/
194
194
  8228) {
195
- z = ae(
195
+ r = re(
196
196
  /*vendorArray*/
197
197
  n[5]
198
198
  );
199
- let p;
200
- for (p = 0; p < z.length; p += 1) {
201
- const K = de(n, z, p);
202
- l[p] ? l[p].p(K, f) : (l[p] = pe(K), l[p].c(), l[p].m(M, null));
199
+ let b;
200
+ for (b = 0; b < r.length; b += 1) {
201
+ const q = se(n, r, b);
202
+ d[b] ? d[b].p(q, g) : (d[b] = ce(q), d[b].c(), d[b].m(W, null));
203
203
  }
204
- for (; p < l.length; p += 1)
205
- l[p].d(1);
206
- l.length = z.length;
204
+ for (; b < d.length; b += 1)
205
+ d[b].d(1);
206
+ d.length = r.length;
207
207
  }
208
- f[0] & /*$_*/
209
- 2048 && R !== (R = /*$_*/
210
- n[11]("clear") + "") && j(q, R), f[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
- 224 && J !== (J = /*fullSelection*/
208
+ g[0] & /*$_*/
209
+ 2048 && J !== (J = /*$_*/
210
+ n[11]("clear") + "") && j(U, J), g[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
+ 224 && Z !== (Z = /*fullSelection*/
212
212
  n[7] && /*selectedVendorArray*/
213
213
  n[6].length != /*vendorArray*/
214
- n[5].length) && (O.disabled = J), f[0] & /*isFilterActive*/
215
- 16 && G !== (G = "FilterDropdownContainer " + /*isFilterActive*/
216
- (n[4] ? "FilterOpen" : "")) && o(A, "class", G), f[0] & /*addfilterselector, addsortingselector*/
217
- 3 && H !== (H = "FilterContainer " + /*addfilterselector*/
214
+ n[5].length) && (E.disabled = Z), g[0] & /*isFilterActive*/
215
+ 16 && H !== (H = "FilterDropdownContainer " + /*isFilterActive*/
216
+ (n[4] ? "FilterOpen" : "")) && o(D, "class", H), g[0] & /*addfilterselector, addsortingselector*/
217
+ 3 && R !== (R = "FilterContainer " + /*addfilterselector*/
218
218
  (n[0] == "true" && /*addsortingselector*/
219
- n[1] == "true" ? "FilerContainerSplit" : "")) && o(e, "class", H);
219
+ n[1] == "true" ? "FilerContainerSplit" : "")) && o(e, "class", R);
220
220
  },
221
221
  d(n) {
222
- n && V(e), x.d(), Ie(l, n), U = !1, fe(X);
222
+ n && z(e), S.d(), we(d, n), Q = !1, de(X);
223
223
  }
224
224
  };
225
225
  }
226
- function De(r) {
226
+ function Ae(l) {
227
227
  let e, t = (
228
228
  /*$_*/
229
- r[11]("500") + ""
229
+ l[11]("500") + ""
230
230
  ), i;
231
231
  return {
232
232
  c() {
@@ -241,17 +241,17 @@ function De(r) {
241
241
  a[11]("500") + "") && j(i, t);
242
242
  },
243
243
  d(a) {
244
- a && V(e);
244
+ a && z(e);
245
245
  }
246
246
  };
247
247
  }
248
- function Te(r) {
248
+ function De(l) {
249
249
  let e, t;
250
250
  return {
251
251
  c() {
252
252
  e = m("span"), t = T(
253
253
  /*selectionNumber*/
254
- r[8]
254
+ l[8]
255
255
  ), o(e, "class", "FilterCounter");
256
256
  },
257
257
  m(i, a) {
@@ -266,14 +266,14 @@ function Te(r) {
266
266
  );
267
267
  },
268
268
  d(i) {
269
- i && V(e);
269
+ i && z(e);
270
270
  }
271
271
  };
272
272
  }
273
- function Ne(r) {
273
+ function Oe(l) {
274
274
  let e, t = (
275
275
  /*$_*/
276
- r[11]("all") + ""
276
+ l[11]("all") + ""
277
277
  ), i;
278
278
  return {
279
279
  c() {
@@ -288,260 +288,259 @@ function Ne(r) {
288
288
  a[11]("all") + "") && j(i, t);
289
289
  },
290
290
  d(a) {
291
- a && V(e);
291
+ a && z(e);
292
292
  }
293
293
  };
294
294
  }
295
- function Ee(r) {
295
+ function Te(l) {
296
296
  let e, t;
297
297
  return {
298
298
  c() {
299
- e = m("img"), oe(e.src, t = /*vendor*/
300
- r[36].logo) || o(e, "src", t), o(e, "alt", "vendor logo");
299
+ e = m("img"), ae(e.src, t = /*vendor*/
300
+ l[36].logo) || o(e, "src", t), o(e, "alt", "vendor logo");
301
301
  },
302
302
  m(i, a) {
303
303
  B(i, e, a);
304
304
  },
305
305
  p(i, a) {
306
306
  a[0] & /*vendorArray*/
307
- 32 && !oe(e.src, t = /*vendor*/
307
+ 32 && !ae(e.src, t = /*vendor*/
308
308
  i[36].logo) && o(e, "src", t);
309
309
  },
310
310
  d(i) {
311
- i && V(e);
311
+ i && z(e);
312
312
  }
313
313
  };
314
314
  }
315
- function Me(r) {
315
+ function Ne(l) {
316
316
  let e, t, i = (
317
317
  /*vendor*/
318
- r[36].name + ""
319
- ), a, c, h, v, w = (
318
+ l[36].name + ""
319
+ ), a, c, h, w, _ = (
320
320
  /*vendor*/
321
- r[36].games.count + ""
322
- ), b, u;
321
+ l[36].games.count + ""
322
+ ), y, f;
323
323
  return {
324
324
  c() {
325
- e = m("div"), t = m("span"), a = T(i), c = D(), h = m("span"), v = T("("), b = T(w), u = T(")"), o(t, "class", "VendorName"), o(e, "class", "FilterItemLabel");
325
+ e = m("div"), t = m("span"), a = T(i), c = O(), h = m("span"), w = T("("), y = T(_), f = T(")"), o(t, "class", "VendorName"), o(e, "class", "FilterItemLabel");
326
326
  },
327
- m(_, y) {
328
- B(_, e, y), s(e, t), s(t, a), s(e, c), s(e, h), s(h, v), s(h, b), s(h, u);
327
+ m(C, v) {
328
+ B(C, e, v), s(e, t), s(t, a), s(e, c), s(e, h), s(h, w), s(h, y), s(h, f);
329
329
  },
330
- p(_, y) {
331
- y[0] & /*vendorArray*/
330
+ p(C, v) {
331
+ v[0] & /*vendorArray*/
332
332
  32 && i !== (i = /*vendor*/
333
- _[36].name + "") && j(a, i), y[0] & /*vendorArray*/
334
- 32 && w !== (w = /*vendor*/
335
- _[36].games.count + "") && j(b, w);
333
+ C[36].name + "") && j(a, i), v[0] & /*vendorArray*/
334
+ 32 && _ !== (_ = /*vendor*/
335
+ C[36].games.count + "") && j(y, _);
336
336
  },
337
- d(_) {
338
- _ && V(e);
337
+ d(C) {
338
+ C && z(e);
339
339
  }
340
340
  };
341
341
  }
342
- function pe(r) {
343
- let e, t, i, a, c, h, v, w, b, u, _, y;
342
+ function ce(l) {
343
+ let e, t, i, a, c, h, w, _, y, f, C, v;
344
344
  function N() {
345
- r[24].call(
345
+ l[24].call(
346
346
  i,
347
347
  /*each_value*/
348
- r[37],
348
+ l[37],
349
349
  /*vendor_index*/
350
- r[38]
350
+ l[38]
351
351
  );
352
352
  }
353
- function L() {
353
+ function P() {
354
354
  return (
355
355
  /*click_handler_1*/
356
- r[25](
356
+ l[25](
357
357
  /*vendor*/
358
- r[36]
358
+ l[36]
359
359
  )
360
360
  );
361
361
  }
362
- function C(d, F) {
362
+ function k(p, F) {
363
363
  if (
364
364
  /*filterbylogo*/
365
- d[2] === "false"
365
+ p[2] === "false"
366
366
  )
367
- return Me;
367
+ return Ne;
368
368
  if (
369
369
  /*filterbylogo*/
370
- d[2] === "true"
370
+ p[2] === "true"
371
371
  )
372
- return Ee;
372
+ return Te;
373
373
  }
374
- let S = C(r), g = S && S(r);
374
+ let I = k(l), u = I && I(l);
375
375
  return {
376
376
  c() {
377
- e = m("li"), t = m("label"), i = m("input"), c = D(), h = m("span"), v = D(), g && g.c(), w = D(), o(i, "type", "checkbox"), o(i, "name", "checkbox"), i.__value = a = /*vendor*/
378
- r[36].name, ne(i, i.__value), o(h, "class", "FiltersCheckmark"), o(t, "class", "FilterLabel"), o(e, "class", b = "FilterItem " + /*filterbylogo*/
379
- (r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = u = /*vendor*/
380
- r[36].name;
377
+ e = m("li"), t = m("label"), i = m("input"), c = O(), h = m("span"), w = O(), u && u.c(), _ = O(), o(i, "type", "checkbox"), o(i, "name", "checkbox"), i.__value = a = /*vendor*/
378
+ l[36].name, ie(i, i.__value), o(h, "class", "FiltersCheckmark"), o(t, "class", "FilterLabel"), o(e, "class", y = "FilterItem " + /*filterbylogo*/
379
+ (l[2] === "true" ? "FilterItemWithLogos" : "")), e.value = f = /*vendor*/
380
+ l[36].name;
381
381
  },
382
- m(d, F) {
383
- B(d, e, F), s(e, t), s(t, i), i.checked = /*vendor*/
384
- r[36].isFilterSelected, s(t, c), s(t, h), s(t, v), g && g.m(t, null), s(e, w), _ || (y = [
385
- te(i, "change", N),
386
- te(i, "click", L)
387
- ], _ = !0);
382
+ m(p, F) {
383
+ B(p, e, F), s(e, t), s(t, i), i.checked = /*vendor*/
384
+ l[36].isFilterSelected, s(t, c), s(t, h), s(t, w), u && u.m(t, null), s(e, _), C || (v = [
385
+ ee(i, "change", N),
386
+ ee(i, "click", P)
387
+ ], C = !0);
388
388
  },
389
- p(d, F) {
390
- r = d, F[0] & /*vendorArray*/
389
+ p(p, F) {
390
+ l = p, F[0] & /*vendorArray*/
391
391
  32 && a !== (a = /*vendor*/
392
- r[36].name) && (i.__value = a, ne(i, i.__value)), F[0] & /*vendorArray*/
392
+ l[36].name) && (i.__value = a, ie(i, i.__value)), F[0] & /*vendorArray*/
393
393
  32 && (i.checked = /*vendor*/
394
- r[36].isFilterSelected), S === (S = C(r)) && g ? g.p(r, F) : (g && g.d(1), g = S && S(r), g && (g.c(), g.m(t, null))), F[0] & /*filterbylogo*/
395
- 4 && b !== (b = "FilterItem " + /*filterbylogo*/
396
- (r[2] === "true" ? "FilterItemWithLogos" : "")) && o(e, "class", b), F[0] & /*vendorArray*/
397
- 32 && u !== (u = /*vendor*/
398
- r[36].name) && (e.value = u);
394
+ l[36].isFilterSelected), I === (I = k(l)) && u ? u.p(l, F) : (u && u.d(1), u = I && I(l), u && (u.c(), u.m(t, null))), F[0] & /*filterbylogo*/
395
+ 4 && y !== (y = "FilterItem " + /*filterbylogo*/
396
+ (l[2] === "true" ? "FilterItemWithLogos" : "")) && o(e, "class", y), F[0] & /*vendorArray*/
397
+ 32 && f !== (f = /*vendor*/
398
+ l[36].name) && (e.value = f);
399
399
  },
400
- d(d) {
401
- d && V(e), g && g.d(), _ = !1, fe(y);
400
+ d(p) {
401
+ p && z(e), u && u.d(), C = !1, de(v);
402
402
  }
403
403
  };
404
404
  }
405
- function ze(r) {
405
+ function Ee(l) {
406
406
  let e;
407
407
  function t(c, h) {
408
408
  if (
409
409
  /*hasErrors*/
410
410
  c[10]
411
411
  )
412
- return De;
412
+ return Ae;
413
413
  if (!/*isLoading*/
414
414
  c[9])
415
- return Oe;
415
+ return Pe;
416
416
  }
417
- let i = t(r), a = i && i(r);
417
+ let i = t(l), a = i && i(l);
418
418
  return {
419
419
  c() {
420
420
  e = m("div"), a && a.c();
421
421
  },
422
422
  m(c, h) {
423
- B(c, e, h), a && a.m(e, null), r[27](e);
423
+ B(c, e, h), a && a.m(e, null), l[27](e);
424
424
  },
425
425
  p(c, h) {
426
426
  i === (i = t(c)) && a ? a.p(c, h) : (a && a.d(1), a = i && i(c), a && (a.c(), a.m(e, null)));
427
427
  },
428
- i: ie,
429
- o: ie,
428
+ i: le,
429
+ o: le,
430
430
  d(c) {
431
- c && V(e), a && a.d(), r[27](null);
431
+ c && z(e), a && a.d(), l[27](null);
432
432
  }
433
433
  };
434
434
  }
435
- function je(r, e, t) {
435
+ function Me(l, e, t) {
436
436
  let i;
437
- ve(r, Le, (l) => t(11, i = l));
438
- let { endpoint: a = "" } = e, { datasource: c = "" } = e, { lang: h = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: _ = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: N = "false" } = e, { mbsource: L } = e, C = !1, S = window.navigator.userAgent, g = [], d = [], F = {}, P = !1, W = 0, E = !0, k, A = !1, M;
439
- Pe({ withLocale: "en", translations: {} });
440
- const Q = () => {
441
- fetch(v).then((n) => n.json()).then((n) => {
442
- Object.keys(n).forEach((f) => {
443
- se(f, n[f]);
437
+ Fe(l, Se, (r) => t(11, i = r));
438
+ let { endpoint: a = "" } = e, { datasource: c = "" } = e, { lang: h = "" } = e, { translationurl: w = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: y = "" } = e, { categoryid: f = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: v = "false" } = e, { filterbylogo: N = "false" } = e, { mbsource: P } = e, k = !1, I = window.navigator.userAgent, u = [], p = [], F = {}, A = !1, V = 0, M = !0, x, D = !1;
439
+ Ie({ withLocale: "en", translations: {} });
440
+ const W = () => {
441
+ fetch(w).then((d) => d.json()).then((d) => {
442
+ Object.keys(d).forEach((n) => {
443
+ ne(n, d[n]);
444
444
  });
445
- }).catch((n) => {
446
- console.log(n);
445
+ }).catch((d) => {
446
+ console.log(d);
447
447
  });
448
448
  };
449
- Object.keys(ce).forEach((l) => {
450
- se(l, ce[l]);
451
- }), F[u] && (F = { [u]: [] });
452
- const O = () => {
453
- t(4, C = !C), window.postMessage({ type: "FilterOpened" }, window.location.href);
454
- }, R = (l) => (t(9, E = !0), new Promise((n, f) => {
455
- fetch(l).then((p) => p.json()).then((p) => {
456
- p = p.items, n(p.items), t(6, d = []);
457
- let K = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
458
- p.forEach(($) => {
459
- var le;
460
- K || (K = { currentCategoryId: [] }), ((le = K[u]) == null ? void 0 : le.indexOf($.id)) >= 0 ? ($.isFilterSelected = !0, d.push($)) : $.isFilterSelected = !1;
461
- }), t(5, g = p), J();
462
- }).catch((p) => {
463
- console.error(p), t(10, A = !0), f(p);
449
+ Object.keys(oe).forEach((r) => {
450
+ ne(r, oe[r]);
451
+ }), F[f] && (F = { [f]: [] });
452
+ const K = () => {
453
+ t(4, k = !k), window.postMessage({ type: "FilterOpened" }, window.location.href);
454
+ }, E = (r) => (t(9, M = !0), new Promise((d, n) => {
455
+ fetch(r).then((g) => g.json()).then((g) => {
456
+ g = g.items, d(g.items), t(6, p = []);
457
+ let b = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
458
+ g.forEach((q) => {
459
+ b || (b = { currentCategoryId: [] }), b[f]?.indexOf(q.id) >= 0 ? (q.isFilterSelected = !0, p.push(q)) : q.isFilterSelected = !1;
460
+ }), t(5, u = g), U();
461
+ }).catch((g) => {
462
+ console.error(g), t(10, D = !0), n(g);
464
463
  }).finally(() => {
465
- t(9, E = !1);
464
+ t(9, M = !1);
466
465
  });
467
- })), q = (l) => {
468
- let n = localStorage.getItem("vendorFiltersByCategory");
469
- l.isFilterSelected = !l.isFilterSelected, !d.length || d.filter((f) => f.name === l.name).length == 0 ? d.push(l) : t(6, d = d.filter((f) => f.name !== l.name)), n == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
470
- [u]: d.map((f) => f.id)
471
- })) : (n = JSON.parse(n), n[u] = d.map((f) => f.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(n))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), J();
472
- }, J = () => {
473
- t(7, P = d.length === g.length || d.length == 0), t(8, W = d.length);
474
- }, G = () => {
475
- const l = new URL(`${a}/v1/casino/vendors`);
476
- t(4, C = !1), l.searchParams.append("fields", "id,name,logo,subVendors,games"), l.searchParams.append("language", h), l.searchParams.append("datasource", c), l.searchParams.append("platform", Ce(S)), (u.match(/\$/g) || []).length > 1 ? (l.searchParams.append("filter", `games(subGroups=${u})`), l.searchParams.append("subVendors", `games(subGroups=${u})`)) : l.searchParams.append("filter", `games(groups=${u})`), R(l);
466
+ })), J = (r) => {
467
+ let d = localStorage.getItem("vendorFiltersByCategory");
468
+ r.isFilterSelected = !r.isFilterSelected, !p.length || p.filter((n) => n.name === r.name).length == 0 ? p.push(r) : t(6, p = p.filter((n) => n.name !== r.name)), d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
469
+ [f]: p.map((n) => n.id)
470
+ })) : (d = JSON.parse(d), d[f] = p.map((n) => n.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), U();
471
+ }, U = () => {
472
+ t(7, A = p.length === u.length || p.length == 0), t(8, V = p.length);
473
+ }, Z = () => {
474
+ const r = new URL(`${a}/v1/casino/vendors`);
475
+ t(4, k = !1), r.searchParams.append("fields", "id,name,logo,subVendors,games"), r.searchParams.append("language", h), r.searchParams.append("datasource", c), r.searchParams.append("platform", ye(I)), (f.match(/\$/g) || []).length > 1 ? (r.searchParams.append("filter", `games(subGroups=${f})`), r.searchParams.append("subVendors", `games(subGroups=${f})`)) : r.searchParams.append("filter", `games(groups=${f})`), E(r);
477
476
  }, H = () => {
478
- t(6, d = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
479
- [u]: d.map((l) => l.id)
480
- })), g.forEach((l) => l.isFilterSelected = !1), t(5, g), window.postMessage({ type: "ApplyFilters" }, window.location.href), t(7, P = !0), t(4, C = !1);
481
- }, U = (l) => {
482
- l.data.type == "SortingOpened" && t(4, C = !1);
477
+ t(6, p = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
478
+ [f]: p.map((r) => r.id)
479
+ })), u.forEach((r) => r.isFilterSelected = !1), t(5, u), window.postMessage({ type: "ApplyFilters" }, window.location.href), t(7, A = !0), t(4, k = !1);
480
+ }, R = (r) => {
481
+ r.data.type == "SortingOpened" && t(4, k = !1);
483
482
  };
484
- we(() => (window.addEventListener("message", U, !1), () => {
485
- window.emMessageBus != null && M && M.unsubscribe(), window.removeEventListener("message", U);
483
+ be(() => (window.addEventListener("message", R, !1), () => {
484
+ window.removeEventListener("message", R);
486
485
  }));
487
- const X = () => O();
488
- function Y(l, n) {
489
- l[n].isFilterSelected = this.checked, t(5, g);
486
+ const Q = () => K();
487
+ function X(r, d) {
488
+ r[d].isFilterSelected = this.checked, t(5, u);
490
489
  }
491
- const Z = (l) => q(l), x = () => H();
492
- function z(l) {
493
- ke[l ? "unshift" : "push"](() => {
494
- k = l, t(3, k);
490
+ const Y = (r) => J(r), G = () => H();
491
+ function S(r) {
492
+ ve[r ? "unshift" : "push"](() => {
493
+ x = r, t(3, x);
495
494
  });
496
495
  }
497
- return r.$$set = (l) => {
498
- "endpoint" in l && t(15, a = l.endpoint), "datasource" in l && t(16, c = l.datasource), "lang" in l && t(17, h = l.lang), "translationurl" in l && t(18, v = l.translationurl), "clientstyling" in l && t(19, w = l.clientstyling), "clientstylingurl" in l && t(20, b = l.clientstylingurl), "categoryid" in l && t(21, u = l.categoryid), "addfilterselector" in l && t(0, _ = l.addfilterselector), "addsortingselector" in l && t(1, y = l.addsortingselector), "filterbylogo" in l && t(2, N = l.filterbylogo), "mbsource" in l && t(22, L = l.mbsource);
499
- }, r.$$.update = () => {
500
- r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
501
- 2195460 && a && c && u && N && G(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
502
- 524296 && w && k && xe(k, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
503
- 1048584 && b && k && _e(k, b), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
504
- 4194312 && k && Se(k, `${L}.Style`), r.$$.dirty[0] & /*translationurl*/
505
- 262144 && v && Q();
496
+ return l.$$set = (r) => {
497
+ "endpoint" in r && t(15, a = r.endpoint), "datasource" in r && t(16, c = r.datasource), "lang" in r && t(17, h = r.lang), "translationurl" in r && t(18, w = r.translationurl), "clientstyling" in r && t(19, _ = r.clientstyling), "clientstylingurl" in r && t(20, y = r.clientstylingurl), "categoryid" in r && t(21, f = r.categoryid), "addfilterselector" in r && t(0, C = r.addfilterselector), "addsortingselector" in r && t(1, v = r.addsortingselector), "filterbylogo" in r && t(2, N = r.filterbylogo), "mbsource" in r && t(22, P = r.mbsource);
498
+ }, l.$$.update = () => {
499
+ l.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
500
+ 2195460 && a && c && f && N && Z(), l.$$.dirty[0] & /*clientstyling, customStylingContainer*/
501
+ 524296 && _ && x && _e(x, _), l.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
502
+ 1048584 && y && x && Ce(x, y), l.$$.dirty[0] & /*customStylingContainer, mbsource*/
503
+ 4194312 && x && ke(x, `${P}.Style`), l.$$.dirty[0] & /*translationurl*/
504
+ 262144 && w && W();
506
505
  }, [
507
- _,
508
- y,
506
+ C,
507
+ v,
509
508
  N,
509
+ x,
510
510
  k,
511
- C,
512
- g,
513
- d,
514
- P,
515
- W,
516
- E,
511
+ u,
512
+ p,
517
513
  A,
514
+ V,
515
+ M,
516
+ D,
518
517
  i,
519
- O,
520
- q,
518
+ K,
519
+ J,
521
520
  H,
522
521
  a,
523
522
  c,
524
523
  h,
525
- v,
526
524
  w,
527
- b,
528
- u,
529
- L,
525
+ _,
526
+ y,
527
+ f,
528
+ P,
529
+ Q,
530
530
  X,
531
531
  Y,
532
- Z,
533
- x,
534
- z
532
+ G,
533
+ S
535
534
  ];
536
535
  }
537
- class Be extends me {
536
+ class je extends ge {
538
537
  constructor(e) {
539
- super(), he(
538
+ super(), ue(
540
539
  this,
541
540
  e,
542
- je,
543
- ze,
544
- be,
541
+ Me,
542
+ Ee,
543
+ me,
545
544
  {
546
545
  endpoint: 15,
547
546
  datasource: 16,
@@ -555,7 +554,7 @@ class Be extends me {
555
554
  filterbylogo: 2,
556
555
  mbsource: 22
557
556
  },
558
- Ae,
557
+ Le,
559
558
  [-1, -1]
560
559
  );
561
560
  }
@@ -563,70 +562,70 @@ class Be extends me {
563
562
  return this.$$.ctx[15];
564
563
  }
565
564
  set endpoint(e) {
566
- this.$$set({ endpoint: e }), I();
565
+ this.$$set({ endpoint: e }), L();
567
566
  }
568
567
  get datasource() {
569
568
  return this.$$.ctx[16];
570
569
  }
571
570
  set datasource(e) {
572
- this.$$set({ datasource: e }), I();
571
+ this.$$set({ datasource: e }), L();
573
572
  }
574
573
  get lang() {
575
574
  return this.$$.ctx[17];
576
575
  }
577
576
  set lang(e) {
578
- this.$$set({ lang: e }), I();
577
+ this.$$set({ lang: e }), L();
579
578
  }
580
579
  get translationurl() {
581
580
  return this.$$.ctx[18];
582
581
  }
583
582
  set translationurl(e) {
584
- this.$$set({ translationurl: e }), I();
583
+ this.$$set({ translationurl: e }), L();
585
584
  }
586
585
  get clientstyling() {
587
586
  return this.$$.ctx[19];
588
587
  }
589
588
  set clientstyling(e) {
590
- this.$$set({ clientstyling: e }), I();
589
+ this.$$set({ clientstyling: e }), L();
591
590
  }
592
591
  get clientstylingurl() {
593
592
  return this.$$.ctx[20];
594
593
  }
595
594
  set clientstylingurl(e) {
596
- this.$$set({ clientstylingurl: e }), I();
595
+ this.$$set({ clientstylingurl: e }), L();
597
596
  }
598
597
  get categoryid() {
599
598
  return this.$$.ctx[21];
600
599
  }
601
600
  set categoryid(e) {
602
- this.$$set({ categoryid: e }), I();
601
+ this.$$set({ categoryid: e }), L();
603
602
  }
604
603
  get addfilterselector() {
605
604
  return this.$$.ctx[0];
606
605
  }
607
606
  set addfilterselector(e) {
608
- this.$$set({ addfilterselector: e }), I();
607
+ this.$$set({ addfilterselector: e }), L();
609
608
  }
610
609
  get addsortingselector() {
611
610
  return this.$$.ctx[1];
612
611
  }
613
612
  set addsortingselector(e) {
614
- this.$$set({ addsortingselector: e }), I();
613
+ this.$$set({ addsortingselector: e }), L();
615
614
  }
616
615
  get filterbylogo() {
617
616
  return this.$$.ctx[2];
618
617
  }
619
618
  set filterbylogo(e) {
620
- this.$$set({ filterbylogo: e }), I();
619
+ this.$$set({ filterbylogo: e }), L();
621
620
  }
622
621
  get mbsource() {
623
622
  return this.$$.ctx[22];
624
623
  }
625
624
  set mbsource(e) {
626
- this.$$set({ mbsource: e }), I();
625
+ this.$$set({ mbsource: e }), L();
627
626
  }
628
627
  }
629
- Fe(Be, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {} }, [], [], !0);
628
+ xe(je, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {} }, [], [], !0);
630
629
  export {
631
- Be as default
630
+ je as default
632
631
  };