@everymatrix/casino-last-played-section-nd 1.94.4 → 1.94.6

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.
@@ -1,4 +1,4 @@
1
- import { $ as re, O as pe, a as me, S as he, i as Fe, s as be, f as L, b as ye, n as ie, d as z, e as V, h as g, l as ve, o as we, v as _e, r as ke, k as n, y as ae, C as Ce, P as ue, w as R, g as o, E as te, F as ee, j as O, x as B, Q as ne, D as oe, H as xe, I as Se, J as Ie, c as Le, G as Pe } from "./CasinoLastPlayedSectionNd-B7oP_Uq4.js";
1
+ import { b as re, $ as pe, c as me, S as he, s as Fe, B as be, p as L, e as ye, w as ie, l as z, t as V, m as g, h as ve, y as we, q as _e, g as ke, f as n, o as ae, k as Ce, A as ue, I as R, d as o, v as te, N as ee, L as O, O as T, J as ne, M as oe, D as xe, E as Se, F as Ie, i as Le, a as Pe } from "./CasinoLastPlayedSectionNd-CSJRqtc3.js";
2
2
  function Ae({ withLocale: r, translations: e }) {
3
3
  re.subscribe((l) => {
4
4
  l == null && (pe.set(e), re.set(r));
@@ -131,14 +131,14 @@ function Ee(r) {
131
131
  ), u, C, y, E, P = (
132
132
  /*$_*/
133
133
  r[11]("providers") + ""
134
- ), S, x, F, p, c, A, M, W, U, _, N, D, T, H = (
134
+ ), S, x, F, p, c, A, M, W, U, _, N, D, B, H = (
135
135
  /*$_*/
136
136
  r[11]("clear") + ""
137
- ), Z, J, G, q, K, X;
137
+ ), Z, J, q, G, K, X;
138
138
  function Y(t, d) {
139
139
  return (
140
140
  /*fullSelection*/
141
- t[7] ? Me : Be
141
+ t[7] ? Me : Te
142
142
  );
143
143
  }
144
144
  let Q = Y(r), I = Q(r), j = ae(
@@ -149,16 +149,16 @@ function Ee(r) {
149
149
  k[t] = fe(de(r, j, t));
150
150
  return {
151
151
  c() {
152
- e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = O(), v = g("div"), w = g("span"), u = B(b), C = O(), y = g("div"), E = g("span"), S = B(P), x = O(), I.c(), F = O(), p = g("span"), c = ee("svg"), A = ee("path"), U = O(), _ = g("div"), N = g("ul");
152
+ e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = O(), v = g("div"), w = g("span"), u = T(b), C = O(), y = g("div"), E = g("span"), S = T(P), x = O(), I.c(), F = O(), p = g("span"), c = ee("svg"), A = ee("path"), U = O(), _ = g("div"), N = g("ul");
153
153
  for (let t = 0; t < k.length; t += 1)
154
154
  k[t].c();
155
- D = O(), T = g("button"), Z = B(H), n(s, "id", "noun_filter_736223"), n(s, "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"), n(s, "transform", "translate(-5 -6.2)"), n(s, "fill", "#fff"), n(a, "xmlns", "http://www.w3.org/2000/svg"), n(a, "width", "16"), n(a, "height", "16"), n(a, "viewBox", "0 0 16 16"), n(w, "class", "FilterName"), n(y, "class", "FilterValueContainer"), n(v, "class", "FilterTextContainer"), n(i, "class", "FilterMainArea"), n(A, "id", "arrow"), n(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"), n(A, "transform", "translate(-274.511 -441.088)"), n(A, "fill", "#d1d1d1"), n(c, "xmlns", "http://www.w3.org/2000/svg"), n(c, "width", "14"), n(c, "height", "6.835"), n(c, "viewBox", "0 0 14 6.835"), n(p, "class", M = "TriangleInactive " + /*isFilterActive*/
155
+ D = O(), B = g("button"), Z = T(H), n(s, "id", "noun_filter_736223"), n(s, "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"), n(s, "transform", "translate(-5 -6.2)"), n(s, "fill", "#fff"), n(a, "xmlns", "http://www.w3.org/2000/svg"), n(a, "width", "16"), n(a, "height", "16"), n(a, "viewBox", "0 0 16 16"), n(w, "class", "FilterName"), n(y, "class", "FilterValueContainer"), n(v, "class", "FilterTextContainer"), n(i, "class", "FilterMainArea"), n(A, "id", "arrow"), n(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"), n(A, "transform", "translate(-274.511 -441.088)"), n(A, "fill", "#d1d1d1"), n(c, "xmlns", "http://www.w3.org/2000/svg"), n(c, "width", "14"), n(c, "height", "6.835"), n(c, "viewBox", "0 0 14 6.835"), n(p, "class", M = "TriangleInactive " + /*isFilterActive*/
156
156
  (r[4] ? "TriangleActive" : "")), n(l, "class", W = "FilterSelector " + /*isFilterActive*/
157
- (r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(T, "class", "ClearFilters"), T.disabled = J = /*fullSelection*/
157
+ (r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(B, "class", "ClearFilters"), B.disabled = J = /*fullSelection*/
158
158
  r[7] && /*selectedVendorArray*/
159
159
  r[6].length != /*vendorArray*/
160
- r[5].length, n(_, "class", G = "FilterDropdownContainer " + /*isFilterActive*/
161
- (r[4] ? "FilterOpen" : "")), n(e, "class", q = "FilterContainer " + /*addfilterselector*/
160
+ r[5].length, n(_, "class", q = "FilterDropdownContainer " + /*isFilterActive*/
161
+ (r[4] ? "FilterOpen" : "")), n(e, "class", G = "FilterContainer " + /*addfilterselector*/
162
162
  (r[0] == "true" && /*addsortingselector*/
163
163
  r[1] == "true" ? "FilerContainerSplit" : ""));
164
164
  },
@@ -166,7 +166,7 @@ function Ee(r) {
166
166
  V(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, u), o(v, C), o(v, y), o(y, E), o(E, S), o(y, x), I.m(y, null), o(l, F), o(l, p), o(p, c), o(c, A), o(e, U), o(e, _), o(_, N);
167
167
  for (let f = 0; f < k.length; f += 1)
168
168
  k[f] && k[f].m(N, null);
169
- o(_, D), o(_, T), o(T, Z), K || (X = [
169
+ o(_, D), o(_, B), o(B, Z), K || (X = [
170
170
  te(
171
171
  l,
172
172
  "click",
@@ -174,7 +174,7 @@ function Ee(r) {
174
174
  r[25]
175
175
  ),
176
176
  te(
177
- T,
177
+ B,
178
178
  "click",
179
179
  /*click_handler_2*/
180
180
  r[28]
@@ -211,19 +211,19 @@ function Ee(r) {
211
211
  224 && J !== (J = /*fullSelection*/
212
212
  t[7] && /*selectedVendorArray*/
213
213
  t[6].length != /*vendorArray*/
214
- t[5].length) && (T.disabled = J), d[0] & /*isFilterActive*/
215
- 16 && G !== (G = "FilterDropdownContainer " + /*isFilterActive*/
216
- (t[4] ? "FilterOpen" : "")) && n(_, "class", G), d[0] & /*addfilterselector, addsortingselector*/
217
- 3 && q !== (q = "FilterContainer " + /*addfilterselector*/
214
+ t[5].length) && (B.disabled = J), d[0] & /*isFilterActive*/
215
+ 16 && q !== (q = "FilterDropdownContainer " + /*isFilterActive*/
216
+ (t[4] ? "FilterOpen" : "")) && n(_, "class", q), d[0] & /*addfilterselector, addsortingselector*/
217
+ 3 && G !== (G = "FilterContainer " + /*addfilterselector*/
218
218
  (t[0] == "true" && /*addsortingselector*/
219
- t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", q);
219
+ t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", G);
220
220
  },
221
221
  d(t) {
222
222
  t && z(e), I.d(), Ce(k, t), K = !1, ue(X);
223
223
  }
224
224
  };
225
225
  }
226
- function Te(r) {
226
+ function Be(r) {
227
227
  let e, l = (
228
228
  /*$_*/
229
229
  r[11]("500") + ""
@@ -245,11 +245,11 @@ function Te(r) {
245
245
  }
246
246
  };
247
247
  }
248
- function Be(r) {
248
+ function Te(r) {
249
249
  let e, l;
250
250
  return {
251
251
  c() {
252
- e = g("span"), l = B(
252
+ e = g("span"), l = T(
253
253
  /*selectionNumber*/
254
254
  r[8]
255
255
  ), n(e, "class", "FilterCounter");
@@ -277,7 +277,7 @@ function Me(r) {
277
277
  ), i;
278
278
  return {
279
279
  c() {
280
- e = g("span"), i = B(l), n(e, "class", "FilterCounter");
280
+ e = g("span"), i = T(l), n(e, "class", "FilterCounter");
281
281
  },
282
282
  m(a, s) {
283
283
  V(a, e, s), o(e, i);
@@ -322,7 +322,7 @@ function De(r) {
322
322
  ), b, u;
323
323
  return {
324
324
  c() {
325
- e = g("div"), l = g("span"), a = B(i), s = O(), m = g("span"), v = B("("), b = B(w), u = B(")"), n(l, "class", "VendorName"), n(e, "class", "FilterItemLabel");
325
+ e = g("div"), l = g("span"), a = T(i), s = O(), m = g("span"), v = T("("), b = T(w), u = T(")"), n(l, "class", "VendorName"), n(e, "class", "FilterItemLabel");
326
326
  },
327
327
  m(C, y) {
328
328
  V(C, e, y), o(e, l), o(l, a), o(e, s), o(e, m), o(m, v), o(m, b), o(m, u);
@@ -409,7 +409,7 @@ function je(r) {
409
409
  /*hasErrors*/
410
410
  s[10]
411
411
  )
412
- return Te;
412
+ return Be;
413
413
  if (!/*isLoading*/
414
414
  s[9])
415
415
  return Ee;
@@ -437,7 +437,7 @@ function ze(r, e, l) {
437
437
  ve(r, Pe, (t) => l(11, i = t));
438
438
  let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: E = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], A = {}, M = !1, W = 0, U = !0, _, N = !1, D;
439
439
  Ae({ withLocale: "en", translations: {} });
440
- const T = () => {
440
+ const B = () => {
441
441
  fetch(v).then((d) => d.json()).then((d) => {
442
442
  Object.keys(d).forEach((f) => {
443
443
  se(f, d[f]);
@@ -458,7 +458,7 @@ function ze(r, e, l) {
458
458
  const ge = S === "true" ? "*" : u;
459
459
  h.forEach(($) => {
460
460
  le || (le = { currentCategoryId: [] }), le[ge]?.indexOf($.id) >= 0 ? ($.isFilterSelected = !0, c.push($)) : $.isFilterSelected = !1;
461
- }), l(5, p = h), G();
461
+ }), l(5, p = h), q();
462
462
  }).catch((h) => {
463
463
  console.error(h), l(10, N = !0), f(h);
464
464
  }).finally(() => {
@@ -470,10 +470,10 @@ function ze(r, e, l) {
470
470
  const f = S === "true" ? "*" : u;
471
471
  d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
472
472
  [f]: c.map((h) => h.id)
473
- })) : (d = JSON.parse(d), d[f] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), G();
474
- }, G = () => {
475
- l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
473
+ })) : (d = JSON.parse(d), d[f] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), q();
476
474
  }, q = () => {
475
+ l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
476
+ }, G = () => {
477
477
  if (p.length && S === "true")
478
478
  return;
479
479
  const t = new URL(`${a}/v1/casino/vendors`);
@@ -502,11 +502,11 @@ function ze(r, e, l) {
502
502
  "endpoint" in t && l(15, a = t.endpoint), "datasource" in t && l(16, s = t.datasource), "lang" in t && l(17, m = t.lang), "translationurl" in t && l(18, v = t.translationurl), "clientstyling" in t && l(19, w = t.clientstyling), "clientstylingurl" in t && l(20, b = t.clientstylingurl), "categoryid" in t && l(21, u = t.categoryid), "addfilterselector" in t && l(0, C = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2, E = t.filterbylogo), "mbsource" in t && l(22, P = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
503
503
  }, r.$$.update = () => {
504
504
  r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
505
- 2195460 && a && s && u && E && q(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
505
+ 2195460 && a && s && u && E && G(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
506
506
  524296 && w && _ && xe(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
507
507
  1048584 && b && _ && Se(_, b), r.$$.dirty[0] & /*mbsource, customStylingContainer, styleSubscription*/
508
508
  20971528 && P && _ && l(24, D = Ie(_, `${P}.Style`, D, !0)), r.$$.dirty[0] & /*translationurl*/
509
- 262144 && v && T();
509
+ 262144 && v && B();
510
510
  }, [
511
511
  C,
512
512
  y,
@@ -1,4 +1,4 @@
1
- import { $ as ie, O as me, a as he, S as Fe, i as be, s as ye, f as L, b as ve, n as ae, d as z, c as V, g, k as we, o as _e, u as ke, q as Ce, j as n, x as ne, B as xe, P as ge, v as G, e as o, D as te, E as ee, h as O, w as T, Q as oe, C as se, F as Se, G as Ie, H as Le, I as Pe, J as Ae } from "./CasinoLastPlayedSectionNd-DpbhVwrZ.js";
1
+ import { b as ie, $ as me, c as he, S as Fe, s as be, B as ye, p as L, e as ve, w as ae, l as z, t as V, m as g, h as we, y as _e, q as ke, g as Ce, f as n, o as ne, k as xe, A as ge, I as R, d as o, v as te, N as ee, L as O, O as T, J as oe, M as se, D as Se, E as Ie, F as Le, i as Pe, a as Ae } from "./CasinoLastPlayedSectionNd-CSeOWmkR.js";
2
2
  function Oe({ withLocale: r, translations: e }) {
3
3
  ie.subscribe((l) => {
4
4
  l == null && (me.set(e), ie.set(r));
@@ -131,10 +131,10 @@ function Be(r) {
131
131
  ), u, C, y, E, P = (
132
132
  /*$_*/
133
133
  r[11]("providers") + ""
134
- ), S, x, F, p, c, A, M, W, R, _, N, D, B, H = (
134
+ ), S, x, F, p, c, A, M, W, U, _, N, D, B, H = (
135
135
  /*$_*/
136
136
  r[11]("clear") + ""
137
- ), U, J, q, Z, K, X;
137
+ ), Z, J, q, G, K, X;
138
138
  function Y(t, d) {
139
139
  return (
140
140
  /*fullSelection*/
@@ -149,24 +149,24 @@ function Be(r) {
149
149
  k[t] = ue(fe(r, j, t));
150
150
  return {
151
151
  c() {
152
- e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = O(), v = g("div"), w = g("span"), u = T(b), C = O(), y = g("div"), E = g("span"), S = T(P), x = O(), I.c(), F = O(), p = g("span"), c = ee("svg"), A = ee("path"), R = O(), _ = g("div"), N = g("ul");
152
+ e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = O(), v = g("div"), w = g("span"), u = T(b), C = O(), y = g("div"), E = g("span"), S = T(P), x = O(), I.c(), F = O(), p = g("span"), c = ee("svg"), A = ee("path"), U = O(), _ = g("div"), N = g("ul");
153
153
  for (let t = 0; t < k.length; t += 1)
154
154
  k[t].c();
155
- D = O(), B = g("button"), U = T(H), n(s, "id", "noun_filter_736223"), n(s, "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"), n(s, "transform", "translate(-5 -6.2)"), n(s, "fill", "#fff"), n(a, "xmlns", "http://www.w3.org/2000/svg"), n(a, "width", "16"), n(a, "height", "16"), n(a, "viewBox", "0 0 16 16"), n(w, "class", "FilterName"), n(y, "class", "FilterValueContainer"), n(v, "class", "FilterTextContainer"), n(i, "class", "FilterMainArea"), n(A, "id", "arrow"), n(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"), n(A, "transform", "translate(-274.511 -441.088)"), n(A, "fill", "#d1d1d1"), n(c, "xmlns", "http://www.w3.org/2000/svg"), n(c, "width", "14"), n(c, "height", "6.835"), n(c, "viewBox", "0 0 14 6.835"), n(p, "class", M = "TriangleInactive " + /*isFilterActive*/
155
+ D = O(), B = g("button"), Z = T(H), n(s, "id", "noun_filter_736223"), n(s, "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"), n(s, "transform", "translate(-5 -6.2)"), n(s, "fill", "#fff"), n(a, "xmlns", "http://www.w3.org/2000/svg"), n(a, "width", "16"), n(a, "height", "16"), n(a, "viewBox", "0 0 16 16"), n(w, "class", "FilterName"), n(y, "class", "FilterValueContainer"), n(v, "class", "FilterTextContainer"), n(i, "class", "FilterMainArea"), n(A, "id", "arrow"), n(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"), n(A, "transform", "translate(-274.511 -441.088)"), n(A, "fill", "#d1d1d1"), n(c, "xmlns", "http://www.w3.org/2000/svg"), n(c, "width", "14"), n(c, "height", "6.835"), n(c, "viewBox", "0 0 14 6.835"), n(p, "class", M = "TriangleInactive " + /*isFilterActive*/
156
156
  (r[4] ? "TriangleActive" : "")), n(l, "class", W = "FilterSelector " + /*isFilterActive*/
157
157
  (r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(B, "class", "ClearFilters"), B.disabled = J = /*fullSelection*/
158
158
  r[7] && /*selectedVendorArray*/
159
159
  r[6].length != /*vendorArray*/
160
160
  r[5].length, n(_, "class", q = "FilterDropdownContainer " + /*isFilterActive*/
161
- (r[4] ? "FilterOpen" : "")), n(e, "class", Z = "FilterContainer " + /*addfilterselector*/
161
+ (r[4] ? "FilterOpen" : "")), n(e, "class", G = "FilterContainer " + /*addfilterselector*/
162
162
  (r[0] == "true" && /*addsortingselector*/
163
163
  r[1] == "true" ? "FilerContainerSplit" : ""));
164
164
  },
165
165
  m(t, d) {
166
- V(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, u), o(v, C), o(v, y), o(y, E), o(E, S), o(y, x), I.m(y, null), o(l, F), o(l, p), o(p, c), o(c, A), o(e, R), o(e, _), o(_, N);
166
+ V(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, u), o(v, C), o(v, y), o(y, E), o(E, S), o(y, x), I.m(y, null), o(l, F), o(l, p), o(p, c), o(c, A), o(e, U), o(e, _), o(_, N);
167
167
  for (let f = 0; f < k.length; f += 1)
168
168
  k[f] && k[f].m(N, null);
169
- o(_, D), o(_, B), o(B, U), K || (X = [
169
+ o(_, D), o(_, B), o(B, Z), K || (X = [
170
170
  te(
171
171
  l,
172
172
  "click",
@@ -184,9 +184,9 @@ function Be(r) {
184
184
  p(t, d) {
185
185
  if (d[0] & /*$_*/
186
186
  2048 && b !== (b = /*$_*/
187
- t[11]("filterby") + "") && G(u, b), d[0] & /*$_*/
187
+ t[11]("filterby") + "") && R(u, b), d[0] & /*$_*/
188
188
  2048 && P !== (P = /*$_*/
189
- t[11]("providers") + "") && G(S, P), Q === (Q = Y(t)) && I ? I.p(t, d) : (I.d(1), I = Q(t), I && (I.c(), I.m(y, null))), d[0] & /*isFilterActive*/
189
+ t[11]("providers") + "") && R(S, P), Q === (Q = Y(t)) && I ? I.p(t, d) : (I.d(1), I = Q(t), I && (I.c(), I.m(y, null))), d[0] & /*isFilterActive*/
190
190
  16 && M !== (M = "TriangleInactive " + /*isFilterActive*/
191
191
  (t[4] ? "TriangleActive" : "")) && n(p, "class", M), d[0] & /*isFilterActive*/
192
192
  16 && W !== (W = "FilterSelector " + /*isFilterActive*/
@@ -207,16 +207,16 @@ function Be(r) {
207
207
  }
208
208
  d[0] & /*$_*/
209
209
  2048 && H !== (H = /*$_*/
210
- t[11]("clear") + "") && G(U, H), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
210
+ t[11]("clear") + "") && R(Z, H), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
211
  224 && J !== (J = /*fullSelection*/
212
212
  t[7] && /*selectedVendorArray*/
213
213
  t[6].length != /*vendorArray*/
214
214
  t[5].length) && (B.disabled = J), d[0] & /*isFilterActive*/
215
215
  16 && q !== (q = "FilterDropdownContainer " + /*isFilterActive*/
216
216
  (t[4] ? "FilterOpen" : "")) && n(_, "class", q), d[0] & /*addfilterselector, addsortingselector*/
217
- 3 && Z !== (Z = "FilterContainer " + /*addfilterselector*/
217
+ 3 && G !== (G = "FilterContainer " + /*addfilterselector*/
218
218
  (t[0] == "true" && /*addsortingselector*/
219
- t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", Z);
219
+ t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", G);
220
220
  },
221
221
  d(t) {
222
222
  t && z(e), I.d(), xe(k, t), K = !1, ge(X);
@@ -259,7 +259,7 @@ function Me(r) {
259
259
  },
260
260
  p(i, a) {
261
261
  a[0] & /*selectionNumber*/
262
- 256 && G(
262
+ 256 && R(
263
263
  l,
264
264
  /*selectionNumber*/
265
265
  i[8]
@@ -285,7 +285,7 @@ function Ne(r) {
285
285
  p(a, s) {
286
286
  s[0] & /*$_*/
287
287
  2048 && l !== (l = /*$_*/
288
- a[11]("all") + "") && G(i, l);
288
+ a[11]("all") + "") && R(i, l);
289
289
  },
290
290
  d(a) {
291
291
  a && z(e);
@@ -330,9 +330,9 @@ function je(r) {
330
330
  p(C, y) {
331
331
  y[0] & /*vendorArray*/
332
332
  32 && i !== (i = /*vendor*/
333
- C[37].name + "") && G(a, i), y[0] & /*vendorArray*/
333
+ C[37].name + "") && R(a, i), y[0] & /*vendorArray*/
334
334
  32 && w !== (w = /*vendor*/
335
- C[37].games.total + "") && G(b, w);
335
+ C[37].games.total + "") && R(b, w);
336
336
  },
337
337
  d(C) {
338
338
  C && z(e);
@@ -435,7 +435,7 @@ function ze(r) {
435
435
  function Ve(r, e, l) {
436
436
  let i;
437
437
  we(r, Ae, (t) => l(11, i = t));
438
- let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: E = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], A = {}, M = !1, W = 0, R = !0, _, N = !1, D;
438
+ let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: E = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], A = {}, M = !1, W = 0, U = !0, _, N = !1, D;
439
439
  Oe({ withLocale: "en", translations: {} });
440
440
  const B = () => {
441
441
  fetch(v).then((d) => d.json()).then((d) => {
@@ -451,7 +451,7 @@ function Ve(r, e, l) {
451
451
  }), A[u] && (A = { [u]: [] });
452
452
  const H = () => {
453
453
  l(4, x = !x), window.postMessage({ type: "FilterOpened" }, window.location.href);
454
- }, U = (t) => (l(9, R = !0), new Promise((d, f) => {
454
+ }, Z = (t) => (l(9, U = !0), new Promise((d, f) => {
455
455
  fetch(t).then((h) => h.json()).then((h) => {
456
456
  h = h.items, d(h.items), l(6, c = []);
457
457
  let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
@@ -463,7 +463,7 @@ function Ve(r, e, l) {
463
463
  }).catch((h) => {
464
464
  console.error(h), l(10, N = !0), f(h);
465
465
  }).finally(() => {
466
- l(9, R = !1);
466
+ l(9, U = !1);
467
467
  });
468
468
  })), J = (t) => {
469
469
  let d = localStorage.getItem("vendorFiltersByCategory");
@@ -474,11 +474,11 @@ function Ve(r, e, l) {
474
474
  })) : (d = JSON.parse(d), d[f] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), q();
475
475
  }, q = () => {
476
476
  l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
477
- }, Z = () => {
477
+ }, G = () => {
478
478
  if (p.length && S === "true")
479
479
  return;
480
480
  const t = new URL(`${a}/v1/casino/vendors`);
481
- l(4, x = !1), t.searchParams.append("fields", "id,name,logo,subVendors,games"), t.searchParams.append("language", m), t.searchParams.append("datasource", s), t.searchParams.append("platform", ke(F)), S === "true" || ((u.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${u})`), t.searchParams.append("subVendors", `games(subGroups=${u})`)) : t.searchParams.append("filter", `games(groups=${u})`)), U(t);
481
+ l(4, x = !1), t.searchParams.append("fields", "id,name,logo,subVendors,games"), t.searchParams.append("language", m), t.searchParams.append("datasource", s), t.searchParams.append("platform", ke(F)), S === "true" || ((u.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${u})`), t.searchParams.append("subVendors", `games(subGroups=${u})`)) : t.searchParams.append("filter", `games(groups=${u})`)), Z(t);
482
482
  }, K = () => {
483
483
  l(6, c = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
484
484
  [S === "true" ? "*" : u]: c.map((t) => t.id)
@@ -503,7 +503,7 @@ function Ve(r, e, l) {
503
503
  "endpoint" in t && l(15, a = t.endpoint), "datasource" in t && l(16, s = t.datasource), "lang" in t && l(17, m = t.lang), "translationurl" in t && l(18, v = t.translationurl), "clientstyling" in t && l(19, w = t.clientstyling), "clientstylingurl" in t && l(20, b = t.clientstylingurl), "categoryid" in t && l(21, u = t.categoryid), "addfilterselector" in t && l(0, C = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2, E = t.filterbylogo), "mbsource" in t && l(22, P = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
504
504
  }, r.$$.update = () => {
505
505
  r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
506
- 2195460 && a && s && u && E && Z(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
506
+ 2195460 && a && s && u && E && G(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
507
507
  524296 && w && _ && Se(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
508
508
  1048584 && b && _ && Ie(_, b), r.$$.dirty[0] & /*mbsource, customStylingContainer, styleSubscription*/
509
509
  20971528 && P && _ && l(24, D = Le(_, `${P}.Style`, D, !0)), r.$$.dirty[0] & /*translationurl*/
@@ -518,7 +518,7 @@ function Ve(r, e, l) {
518
518
  c,
519
519
  M,
520
520
  W,
521
- R,
521
+ U,
522
522
  N,
523
523
  i,
524
524
  H,