@everymatrix/casino-tournaments-page-controller 1.85.11 → 1.85.13

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,15 +1,15 @@
1
- import { $ as x, a as fe, b as de, S as pe, i as he, s as be, f as O, e as _e, x as q, n as $, g as z, y as ue, k as o, l as F, m as c, q as y, p as A, v as we, u as ve, L as ye, w as Te, j as C, I as Ge, h as W, o as H, r as U, t as j, B as ee, z as Ce, C as te, J as ke, F as Pe, G as Ee, H as Le, d as Ne, E as Be } from "./CasinoTournamentsDetails-CCZyFUZY.js";
1
+ import { $ as J, a as fe, b as de, S as pe, i as he, s as be, f as R, e as _e, x as H, n as $, g as F, y as ue, k as o, l as W, m, q as y, p as z, v as we, u as ve, L as ye, w as Te, j as P, I as Ge, h as j, o as Z, r as q, t as D, B as ee, z as Ce, C as te, J as Pe, F as ke, G as Ee, H as Le, d as Ne, E as Be } from "./CasinoTournamentsDetails-CCZyFUZY.js";
2
2
  import "../stencil/ui-image-O0NdjWCu.js";
3
3
  function Me({ withLocale: a, translations: e }) {
4
- x.subscribe((t) => {
5
- t == null && (fe.set(e), x.set(a));
4
+ J.subscribe((t) => {
5
+ t == null && (fe.set(e), J.set(a));
6
6
  });
7
7
  }
8
8
  function ae(a, e) {
9
9
  de(a, e);
10
10
  }
11
11
  function Se(a) {
12
- x.set(a);
12
+ J.set(a);
13
13
  }
14
14
  const ne = {
15
15
  en: {
@@ -23,7 +23,7 @@ const ne = {
23
23
  }
24
24
  };
25
25
  function Ae(a) {
26
- _e(a, "svelte-xv9pd7", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .LoadingGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames .LoadingGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.TournamentsPaginationControlsArea{clear:both;margin-top:30px;display:flex;justify-content:center;width:100%}.TournamentsPaginationControls{background:var(--emw--color-green, transparent);width:60%;height:35px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px;cursor:pointer;width:190px}.TournamentsPaginationControls.Disabled{color:var(--emw--color-gray-100, #B5B5B5);border-color:var(--emw--color-gray-100, #B5B5B5);opacity:50%;cursor:default}.TournamentsPaginationControlsArea{justify-content:center;gap:30px}.TournamentsPaginationControlsArea .TournamentsPaginationControls{align-items:center}.TournamentsPaginationControlsArea .TournamentsPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}.MobileClass .GamesWrapper .GameList.items{max-height:calc(100vh - 350px);overflow-y:auto}");
26
+ _e(a, "svelte-h1f7fe", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .LoadingGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames .LoadingGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.TournamentsPaginationControlsArea{clear:both;margin-top:30px;display:flex;justify-content:center;width:100%}.TournamentsPaginationControlsArea.SinglePage{display:none}.TournamentsPaginationControls{background:var(--emw--color-green, transparent);width:60%;height:35px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px;cursor:pointer;width:190px}.TournamentsPaginationControls.Disabled{color:var(--emw--color-gray-100, #B5B5B5);border-color:var(--emw--color-gray-100, #B5B5B5);opacity:50%;cursor:default}.TournamentsPaginationControlsArea{justify-content:center;gap:30px}.TournamentsPaginationControlsArea .TournamentsPaginationControls{align-items:center}.TournamentsPaginationControlsArea .TournamentsPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}.MobileClass .GamesWrapper .GameList.items{max-height:calc(100vh - 350px);overflow-y:auto}");
27
27
  }
28
28
  function se(a, e, t) {
29
29
  const n = a.slice();
@@ -37,17 +37,17 @@ function ie(a) {
37
37
  let e, t;
38
38
  return {
39
39
  c() {
40
- e = y("div"), t = y("casino-tournaments-tab"), C(t, "part", "TournamentGames"), C(t, "tabs", "casino,sports"), C(t, "tab", "casino"), C(t, "tid", J), C(
40
+ e = y("div"), t = y("casino-tournaments-tab"), P(t, "part", "TournamentGames"), P(t, "tabs", "casino,sports"), P(t, "tab", "casino"), P(t, "tid", K), P(
41
41
  t,
42
42
  "clientstyling",
43
43
  /*clientstyling*/
44
44
  a[0]
45
- ), C(
45
+ ), P(
46
46
  t,
47
47
  "clientstylingurl",
48
48
  /*clientstylingurl*/
49
49
  a[1]
50
- ), C(
50
+ ), P(
51
51
  t,
52
52
  "mbsource",
53
53
  /*mbsource*/
@@ -55,23 +55,23 @@ function ie(a) {
55
55
  ), o(e, "class", "GamesTabNav");
56
56
  },
57
57
  m(n, s) {
58
- F(n, e, s), c(e, t);
58
+ W(n, e, s), m(e, t);
59
59
  },
60
60
  p(n, s) {
61
61
  s[0] & /*clientstyling*/
62
- 1 && C(
62
+ 1 && P(
63
63
  t,
64
64
  "clientstyling",
65
65
  /*clientstyling*/
66
66
  n[0]
67
67
  ), s[0] & /*clientstylingurl*/
68
- 2 && C(
68
+ 2 && P(
69
69
  t,
70
70
  "clientstylingurl",
71
71
  /*clientstylingurl*/
72
72
  n[1]
73
73
  ), s[0] & /*mbsource*/
74
- 4 && C(
74
+ 4 && P(
75
75
  t,
76
76
  "mbsource",
77
77
  /*mbsource*/
@@ -79,7 +79,7 @@ function ie(a) {
79
79
  );
80
80
  },
81
81
  d(n) {
82
- n && z(e);
82
+ n && F(e);
83
83
  }
84
84
  };
85
85
  }
@@ -90,18 +90,18 @@ function ze(a) {
90
90
  ), n;
91
91
  return {
92
92
  c() {
93
- e = y("div"), n = j(t), o(e, "class", "NoGames");
93
+ e = y("div"), n = D(t), o(e, "class", "NoGames");
94
94
  },
95
95
  m(s, r) {
96
- F(s, e, r), c(e, n);
96
+ W(s, e, r), m(e, n);
97
97
  },
98
98
  p(s, r) {
99
99
  r[0] & /*$_*/
100
100
  8192 && t !== (t = /*$_*/
101
- s[13]("noGamesAvailable") + "") && W(n, t);
101
+ s[13]("noGamesAvailable") + "") && j(n, t);
102
102
  },
103
103
  d(s) {
104
- s && z(e);
104
+ s && F(e);
105
105
  }
106
106
  };
107
107
  }
@@ -112,18 +112,18 @@ function Fe(a) {
112
112
  ), n;
113
113
  return {
114
114
  c() {
115
- e = y("div"), n = j(t), o(e, "class", "NoGames");
115
+ e = y("div"), n = D(t), o(e, "class", "NoGames");
116
116
  },
117
117
  m(s, r) {
118
- F(s, e, r), c(e, n);
118
+ W(s, e, r), m(e, n);
119
119
  },
120
120
  p(s, r) {
121
121
  r[0] & /*$_*/
122
122
  8192 && t !== (t = /*$_*/
123
- s[13]("noMoreGames") + "") && W(n, t);
123
+ s[13]("noMoreGames") + "") && j(n, t);
124
124
  },
125
125
  d(s) {
126
- s && z(e);
126
+ s && F(e);
127
127
  }
128
128
  };
129
129
  }
@@ -134,23 +134,23 @@ function We(a) {
134
134
  ), n;
135
135
  return {
136
136
  c() {
137
- e = y("div"), n = j(t), o(e, "class", "LoadingGames");
137
+ e = y("div"), n = D(t), o(e, "class", "LoadingGames");
138
138
  },
139
139
  m(s, r) {
140
- F(s, e, r), c(e, n);
140
+ W(s, e, r), m(e, n);
141
141
  },
142
142
  p(s, r) {
143
143
  r[0] & /*$_*/
144
144
  8192 && t !== (t = /*$_*/
145
- s[13]("loading") + "") && W(n, t);
145
+ s[13]("loading") + "") && j(n, t);
146
146
  },
147
147
  d(s) {
148
- s && z(e);
148
+ s && F(e);
149
149
  }
150
150
  };
151
151
  }
152
152
  function je(a) {
153
- let e, t = q(
153
+ let e, t = H(
154
154
  /*casinoGames*/
155
155
  a[8]
156
156
  ), n = [];
@@ -165,12 +165,12 @@ function je(a) {
165
165
  m(s, r) {
166
166
  for (let i = 0; i < n.length; i += 1)
167
167
  n[i] && n[i].m(s, r);
168
- F(s, e, r);
168
+ W(s, e, r);
169
169
  },
170
170
  p(s, r) {
171
171
  if (r[0] & /*gameClicked, casinoGames, $_*/
172
172
  41216) {
173
- t = q(
173
+ t = H(
174
174
  /*casinoGames*/
175
175
  s[8]
176
176
  );
@@ -185,7 +185,7 @@ function je(a) {
185
185
  }
186
186
  },
187
187
  d(s) {
188
- s && z(e), ue(n, s);
188
+ s && F(e), ue(n, s);
189
189
  }
190
190
  };
191
191
  }
@@ -193,18 +193,18 @@ function oe(a) {
193
193
  let e, t, n = (
194
194
  /*$_*/
195
195
  a[13]("playNow") + ""
196
- ), s, r, i, g, h, G, P, b, m;
196
+ ), s, r, i, g, p, C, E, h, c;
197
197
  return {
198
198
  c() {
199
- e = y("div"), t = y("span"), s = j(n), r = A(), i = y("ui-image"), P = A(), o(t, "class", "PlayNowButton"), te(i.src, g = /*item*/
200
- a[32].thumbnail) || C(i, "src", g), C(i, "width", "132px"), C(i, "height", "100px"), C(i, "alt", h = /*item*/
201
- a[32].name), C(i, "title", G = /*item*/
199
+ e = y("div"), t = y("span"), s = D(n), r = z(), i = y("ui-image"), E = z(), o(t, "class", "PlayNowButton"), te(i.src, g = /*item*/
200
+ a[32].thumbnail) || P(i, "src", g), P(i, "width", "132px"), P(i, "height", "100px"), P(i, "alt", p = /*item*/
201
+ a[32].name), P(i, "title", C = /*item*/
202
202
  a[32].name), o(e, "class", "item"), o(e, "id", "g_" + /*idx*/
203
203
  a[36]), o(e, "role", "button"), o(e, "tabindex", "0");
204
204
  },
205
- m(w, p) {
206
- F(w, e, p), c(e, t), c(t, s), c(e, r), c(e, i), c(e, P), b || (m = H(e, "click", function() {
207
- ke(
205
+ m(_, d) {
206
+ W(_, e, d), m(e, t), m(t, s), m(e, r), m(e, i), m(e, E), h || (c = Z(e, "click", function() {
207
+ Pe(
208
208
  /*gameClicked*/
209
209
  a[15](
210
210
  /*item*/
@@ -214,79 +214,84 @@ function oe(a) {
214
214
  /*item*/
215
215
  a[32]
216
216
  ).apply(this, arguments);
217
- }), b = !0);
217
+ }), h = !0);
218
218
  },
219
- p(w, p) {
220
- a = w, p[0] & /*$_*/
219
+ p(_, d) {
220
+ a = _, d[0] & /*$_*/
221
221
  8192 && n !== (n = /*$_*/
222
- a[13]("playNow") + "") && W(s, n), p[0] & /*casinoGames*/
222
+ a[13]("playNow") + "") && j(s, n), d[0] & /*casinoGames*/
223
223
  256 && !te(i.src, g = /*item*/
224
- a[32].thumbnail) && C(i, "src", g), p[0] & /*casinoGames*/
225
- 256 && h !== (h = /*item*/
226
- a[32].name) && C(i, "alt", h), p[0] & /*casinoGames*/
227
- 256 && G !== (G = /*item*/
228
- a[32].name) && C(i, "title", G);
224
+ a[32].thumbnail) && P(i, "src", g), d[0] & /*casinoGames*/
225
+ 256 && p !== (p = /*item*/
226
+ a[32].name) && P(i, "alt", p), d[0] & /*casinoGames*/
227
+ 256 && C !== (C = /*item*/
228
+ a[32].name) && P(i, "title", C);
229
229
  },
230
- d(w) {
231
- w && z(e), b = !1, m();
230
+ d(_) {
231
+ _ && F(e), h = !1, c();
232
232
  }
233
233
  };
234
234
  }
235
235
  function De(a) {
236
- let e, t, n, s, r, i, g, h = (
236
+ let e, t, n, s, r, i, g, p = (
237
237
  /*$_*/
238
238
  a[13]("previous") + ""
239
- ), G, P, b, m, w, p, _ = (
239
+ ), C, E, h, c, _, d, b = (
240
240
  /*$_*/
241
241
  a[13]("next") + ""
242
- ), v, E, d, N, M, u, k, T, B;
242
+ ), w, L, f, B, S, u, k, v, M, T;
243
243
  return {
244
244
  c() {
245
- e = y("div"), t = y("button"), n = U("svg"), s = U("path"), i = A(), g = y("span"), G = j(h), m = A(), w = y("button"), p = y("span"), v = j(_), E = A(), d = U("svg"), N = U("path"), o(s, "fill", r = /*hasPreviousPage*/
246
- a[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), o(s, "class", "a"), o(s, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), o(s, "transform", "translate(19.246 -6.188) rotate(90)"), o(n, "xmlns", "http://www.w3.org/2000/svg"), o(n, "width", "8"), o(n, "height", "13.992"), o(n, "viewBox", "0 0 8 13.992"), o(g, "class", "TournamentsPaginationControlsText"), o(t, "class", P = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
247
- a[10] ? "" : "Disabled")), t.disabled = b = /*hasPreviousPage*/
248
- !a[10], o(p, "class", "TournamentsPaginationControlsText"), o(N, "fill", M = /*hasNextPage*/
249
- a[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), o(N, "class", "a"), o(N, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), o(N, "transform", "translate(-11.246 20.179) rotate(-90)"), o(d, "xmlns", "http://www.w3.org/2000/svg"), o(d, "width", "8"), o(d, "height", "13.992"), o(d, "viewBox", "0 0 8 13.992"), o(w, "class", u = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
250
- a[11] ? "" : "Disabled")), w.disabled = k = /*hasNextPage*/
251
- !a[11], o(e, "class", "TournamentsPaginationControlsArea");
245
+ e = y("div"), t = y("button"), n = q("svg"), s = q("path"), i = z(), g = y("span"), C = D(p), c = z(), _ = y("button"), d = y("span"), w = D(b), L = z(), f = q("svg"), B = q("path"), o(s, "fill", r = /*hasPreviousPage*/
246
+ a[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), o(s, "class", "a"), o(s, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), o(s, "transform", "translate(19.246 -6.188) rotate(90)"), o(n, "xmlns", "http://www.w3.org/2000/svg"), o(n, "width", "8"), o(n, "height", "13.992"), o(n, "viewBox", "0 0 8 13.992"), o(g, "class", "TournamentsPaginationControlsText"), o(t, "class", E = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
247
+ a[10] ? "" : "Disabled")), t.disabled = h = /*hasPreviousPage*/
248
+ !a[10], o(d, "class", "TournamentsPaginationControlsText"), o(B, "fill", S = /*hasNextPage*/
249
+ a[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), o(B, "class", "a"), o(B, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), o(B, "transform", "translate(-11.246 20.179) rotate(-90)"), o(f, "xmlns", "http://www.w3.org/2000/svg"), o(f, "width", "8"), o(f, "height", "13.992"), o(f, "viewBox", "0 0 8 13.992"), o(_, "class", u = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
250
+ a[11] ? "" : "Disabled")), _.disabled = k = /*hasNextPage*/
251
+ !a[11], o(e, "class", v = "TournamentsPaginationControlsArea " + (!/*hasPreviousPage*/
252
+ a[10] && !/*hasNextPage*/
253
+ a[11] ? "SinglePage" : ""));
252
254
  },
253
- m(f, L) {
254
- F(f, e, L), c(e, t), c(t, n), c(n, s), c(t, i), c(t, g), c(g, G), c(e, m), c(e, w), c(w, p), c(p, v), c(w, E), c(w, d), c(d, N), T || (B = [
255
- H(
255
+ m(G, N) {
256
+ W(G, e, N), m(e, t), m(t, n), m(n, s), m(t, i), m(t, g), m(g, C), m(e, c), m(e, _), m(_, d), m(d, w), m(_, L), m(_, f), m(f, B), M || (T = [
257
+ Z(
256
258
  t,
257
259
  "click",
258
260
  /*gotoPage*/
259
261
  a[16].bind(this, -1)
260
262
  ),
261
- H(
262
- w,
263
+ Z(
264
+ _,
263
265
  "click",
264
266
  /*gotoPage*/
265
267
  a[16].bind(this, 1)
266
268
  )
267
- ], T = !0);
269
+ ], M = !0);
268
270
  },
269
- p(f, L) {
270
- L[0] & /*hasPreviousPage*/
271
+ p(G, N) {
272
+ N[0] & /*hasPreviousPage*/
271
273
  1024 && r !== (r = /*hasPreviousPage*/
272
- f[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && o(s, "fill", r), L[0] & /*$_*/
273
- 8192 && h !== (h = /*$_*/
274
- f[13]("previous") + "") && W(G, h), L[0] & /*hasPreviousPage*/
275
- 1024 && P !== (P = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
276
- f[10] ? "" : "Disabled")) && o(t, "class", P), L[0] & /*hasPreviousPage*/
277
- 1024 && b !== (b = /*hasPreviousPage*/
278
- !f[10]) && (t.disabled = b), L[0] & /*$_*/
279
- 8192 && _ !== (_ = /*$_*/
280
- f[13]("next") + "") && W(v, _), L[0] & /*hasNextPage*/
281
- 2048 && M !== (M = /*hasNextPage*/
282
- f[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && o(N, "fill", M), L[0] & /*hasNextPage*/
274
+ G[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && o(s, "fill", r), N[0] & /*$_*/
275
+ 8192 && p !== (p = /*$_*/
276
+ G[13]("previous") + "") && j(C, p), N[0] & /*hasPreviousPage*/
277
+ 1024 && E !== (E = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
278
+ G[10] ? "" : "Disabled")) && o(t, "class", E), N[0] & /*hasPreviousPage*/
279
+ 1024 && h !== (h = /*hasPreviousPage*/
280
+ !G[10]) && (t.disabled = h), N[0] & /*$_*/
281
+ 8192 && b !== (b = /*$_*/
282
+ G[13]("next") + "") && j(w, b), N[0] & /*hasNextPage*/
283
+ 2048 && S !== (S = /*hasNextPage*/
284
+ G[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && o(B, "fill", S), N[0] & /*hasNextPage*/
283
285
  2048 && u !== (u = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
284
- f[11] ? "" : "Disabled")) && o(w, "class", u), L[0] & /*hasNextPage*/
286
+ G[11] ? "" : "Disabled")) && o(_, "class", u), N[0] & /*hasNextPage*/
285
287
  2048 && k !== (k = /*hasNextPage*/
286
- !f[11]) && (w.disabled = k);
288
+ !G[11]) && (_.disabled = k), N[0] & /*hasPreviousPage, hasNextPage*/
289
+ 3072 && v !== (v = "TournamentsPaginationControlsArea " + (!/*hasPreviousPage*/
290
+ G[10] && !/*hasNextPage*/
291
+ G[11] ? "SinglePage" : "")) && o(e, "class", v);
287
292
  },
288
- d(f) {
289
- f && z(e), T = !1, Ge(B);
293
+ d(G) {
294
+ G && F(e), M = !1, Ge(T);
290
295
  }
291
296
  };
292
297
  }
@@ -300,36 +305,36 @@ function re(a) {
300
305
  ), i;
301
306
  return {
302
307
  c() {
303
- e = y("li"), n = j(t), s = A(), i = j(r), o(e, "part", "li"), o(e, "class", "Market");
308
+ e = y("li"), n = D(t), s = z(), i = D(r), o(e, "part", "li"), o(e, "class", "Market");
304
309
  },
305
- m(g, h) {
306
- F(g, e, h), c(e, n), c(e, s), c(e, i);
310
+ m(g, p) {
311
+ W(g, e, p), m(e, n), m(e, s), m(e, i);
307
312
  },
308
- p(g, h) {
309
- h[0] & /*sportsRules*/
313
+ p(g, p) {
314
+ p[0] & /*sportsRules*/
310
315
  128 && t !== (t = /*item*/
311
- g[32].rule + "") && W(n, t), h[0] & /*$_*/
316
+ g[32].rule + "") && j(n, t), p[0] & /*$_*/
312
317
  8192 && r !== (r = /*$_*/
313
- g[13]("contribution") + "") && W(i, r);
318
+ g[13]("contribution") + "") && j(i, r);
314
319
  },
315
320
  d(g) {
316
- g && z(e);
321
+ g && F(e);
317
322
  }
318
323
  };
319
324
  }
320
325
  function Ie(a) {
321
- var N, M;
322
- let e, t, n, s, r, i, g, h, G, P, b, m = (
326
+ var B, S;
327
+ let e, t, n, s, r, i, g, p, C, E, h, c = (
323
328
  /*tournamentdetails*/
324
329
  a[3] && /*tournamentdetails*/
325
- ((N = a[3].wallet) == null ? void 0 : N.sports) && /*tournamentdetails*/
326
- ((M = a[3].wallet) == null ? void 0 : M.casino) && ie(a)
330
+ ((B = a[3].wallet) == null ? void 0 : B.sports) && /*tournamentdetails*/
331
+ ((S = a[3].wallet) == null ? void 0 : S.casino) && ie(a)
327
332
  );
328
- function w(u, k) {
329
- var T;
333
+ function _(u, k) {
334
+ var v;
330
335
  return (
331
336
  /*casinoGames*/
332
- (T = u[8]) != null && T.length ? je : (
337
+ (v = u[8]) != null && v.length ? je : (
333
338
  /*isLoadingGames*/
334
339
  u[12] ? We : (
335
340
  /*noMoreGamesWhenPagination*/
@@ -338,20 +343,20 @@ function Ie(a) {
338
343
  )
339
344
  );
340
345
  }
341
- let p = w(a), _ = p(a), v = !/*isMobileDevice*/
342
- a[14] && De(a), E = q(
346
+ let d = _(a), b = d(a), w = !/*isMobileDevice*/
347
+ a[14] && De(a), L = H(
343
348
  /*sportsRules*/
344
349
  a[7]
345
- ), d = [];
346
- for (let u = 0; u < E.length; u += 1)
347
- d[u] = re(se(a, E, u));
350
+ ), f = [];
351
+ for (let u = 0; u < L.length; u += 1)
352
+ f[u] = re(se(a, L, u));
348
353
  return {
349
354
  c() {
350
- e = y("div"), m && m.c(), t = A(), n = y("div"), s = y("div"), r = y("div"), _.c(), i = A(), v && v.c(), h = A(), G = y("div"), P = y("ul");
351
- for (let u = 0; u < d.length; u += 1)
352
- d[u].c();
355
+ e = y("div"), c && c.c(), t = z(), n = y("div"), s = y("div"), r = y("div"), b.c(), i = z(), w && w.c(), p = z(), C = y("div"), E = y("ul");
356
+ for (let u = 0; u < f.length; u += 1)
357
+ f[u].c();
353
358
  o(r, "class", "GameList items"), o(s, "class", g = "TabContent GamesContent " + /*activeTab*/
354
- (a[6] != "casino" ? "hidden" : "")), o(P, "class", "SportsPage"), o(G, "class", b = "TabContent GamesContent " + /*activeTab*/
359
+ (a[6] != "casino" ? "hidden" : "")), o(E, "class", "SportsPage"), o(C, "class", h = "TabContent GamesContent " + /*activeTab*/
355
360
  (a[6] != "sports" ? "hidden" : "")), o(n, "class", "GamesWrapper"), o(
356
361
  e,
357
362
  "class",
@@ -360,55 +365,55 @@ function Ie(a) {
360
365
  );
361
366
  },
362
367
  m(u, k) {
363
- F(u, e, k), m && m.m(e, null), c(e, t), c(e, n), c(n, s), c(s, r), _.m(r, null), a[19](r), c(s, i), v && v.m(s, null), c(n, h), c(n, G), c(G, P);
364
- for (let T = 0; T < d.length; T += 1)
365
- d[T] && d[T].m(P, null);
368
+ W(u, e, k), c && c.m(e, null), m(e, t), m(e, n), m(n, s), m(s, r), b.m(r, null), a[19](r), m(s, i), w && w.m(s, null), m(n, p), m(n, C), m(C, E);
369
+ for (let v = 0; v < f.length; v += 1)
370
+ f[v] && f[v].m(E, null);
366
371
  a[20](e);
367
372
  },
368
373
  p(u, k) {
369
- var T, B;
374
+ var v, M;
370
375
  if (/*tournamentdetails*/
371
376
  u[3] && /*tournamentdetails*/
372
- ((T = u[3].wallet) != null && T.sports) && /*tournamentdetails*/
373
- ((B = u[3].wallet) != null && B.casino) ? m ? m.p(u, k) : (m = ie(u), m.c(), m.m(e, t)) : m && (m.d(1), m = null), p === (p = w(u)) && _ ? _.p(u, k) : (_.d(1), _ = p(u), _ && (_.c(), _.m(r, null))), /*isMobileDevice*/
374
- u[14] || v.p(u, k), k[0] & /*activeTab*/
377
+ ((v = u[3].wallet) != null && v.sports) && /*tournamentdetails*/
378
+ ((M = u[3].wallet) != null && M.casino) ? c ? c.p(u, k) : (c = ie(u), c.c(), c.m(e, t)) : c && (c.d(1), c = null), d === (d = _(u)) && b ? b.p(u, k) : (b.d(1), b = d(u), b && (b.c(), b.m(r, null))), /*isMobileDevice*/
379
+ u[14] || w.p(u, k), k[0] & /*activeTab*/
375
380
  64 && g !== (g = "TabContent GamesContent " + /*activeTab*/
376
381
  (u[6] != "casino" ? "hidden" : "")) && o(s, "class", g), k[0] & /*$_, sportsRules*/
377
382
  8320) {
378
- E = q(
383
+ L = H(
379
384
  /*sportsRules*/
380
385
  u[7]
381
386
  );
382
- let f;
383
- for (f = 0; f < E.length; f += 1) {
384
- const L = se(u, E, f);
385
- d[f] ? d[f].p(L, k) : (d[f] = re(L), d[f].c(), d[f].m(P, null));
387
+ let T;
388
+ for (T = 0; T < L.length; T += 1) {
389
+ const G = se(u, L, T);
390
+ f[T] ? f[T].p(G, k) : (f[T] = re(G), f[T].c(), f[T].m(E, null));
386
391
  }
387
- for (; f < d.length; f += 1)
388
- d[f].d(1);
389
- d.length = E.length;
392
+ for (; T < f.length; T += 1)
393
+ f[T].d(1);
394
+ f.length = L.length;
390
395
  }
391
396
  k[0] & /*activeTab*/
392
- 64 && b !== (b = "TabContent GamesContent " + /*activeTab*/
393
- (u[6] != "sports" ? "hidden" : "")) && o(G, "class", b);
397
+ 64 && h !== (h = "TabContent GamesContent " + /*activeTab*/
398
+ (u[6] != "sports" ? "hidden" : "")) && o(C, "class", h);
394
399
  },
395
400
  i: $,
396
401
  o: $,
397
402
  d(u) {
398
- u && z(e), m && m.d(), _.d(), a[19](null), v && v.d(), ue(d, u), a[20](null);
403
+ u && F(e), c && c.d(), b.d(), a[19](null), w && w.d(), ue(f, u), a[20](null);
399
404
  }
400
405
  };
401
406
  }
402
- let J = "gameTab";
407
+ let K = "gameTab";
403
408
  function Oe(a, e, t) {
404
409
  let n;
405
410
  we(a, Be, (l) => t(13, n = l));
406
- let { clientstyling: s = "" } = e, { clientstylingurl: r = "" } = e, { mbsource: i } = e, { translationurl: g } = e, { lang: h = "en" } = e, G = "casino", P = [], b = [], m, w = window.navigator.userAgent, p, _, v, E = ve(w), d = !1;
411
+ let { clientstyling: s = "" } = e, { clientstylingurl: r = "" } = e, { mbsource: i } = e, { translationurl: g } = e, { lang: p = "en" } = e, C = "casino", E = [], h = [], c, _ = window.navigator.userAgent, d, b, w, L = ve(_), f = !1;
407
412
  Me({ withLocale: "en", translations: {} });
408
- const N = () => {
413
+ const B = () => {
409
414
  fetch(g).then((l) => l.json()).then((l) => {
410
- Object.keys(l).forEach((S) => {
411
- ae(S, l[S]);
415
+ Object.keys(l).forEach((A) => {
416
+ ae(A, l[A]);
412
417
  });
413
418
  }).catch((l) => {
414
419
  console.log(l);
@@ -417,8 +422,8 @@ function Oe(a, e, t) {
417
422
  Object.keys(ne).forEach((l) => {
418
423
  ae(l, ne[l]);
419
424
  });
420
- const M = () => {
421
- Se(h), setTimeout(
425
+ const S = () => {
426
+ Se(p), setTimeout(
422
427
  () => {
423
428
  u();
424
429
  },
@@ -446,120 +451,120 @@ function Oe(a, e, t) {
446
451
  window.location.href
447
452
  );
448
453
  };
449
- let T = !1, B = !1, f = !1;
450
- const L = (l) => {
451
- !T && l === -1 || !B && l === 1 || (t(12, f = !0), t(8, b = []), window.postMessage(
454
+ let v = !1, M = !1, T = !1;
455
+ const G = (l) => {
456
+ !v && l === -1 || !M && l === 1 || (t(12, T = !0), t(8, h = []), window.postMessage(
452
457
  {
453
458
  type: "TournamentsLoadMoreGames",
454
- id: m.id,
459
+ id: c.id,
455
460
  isNext: l > 0
456
461
  },
457
462
  window.location.href
458
463
  ));
459
- }, Z = () => {
460
- var S, I, Q, V, Y;
461
- t(8, b = ((S = m.games) == null ? void 0 : S.items) || []), t(9, d = !1), t(10, T = !1), t(11, B = ((I = m.games) == null ? void 0 : I.total) > ((Q = m.games) == null ? void 0 : Q.items.length)), X();
462
- const l = (Y = (V = m.metadata) == null ? void 0 : V.sports) == null ? void 0 : Y.rules;
464
+ }, N = () => {
465
+ var A, O, V, Y, x;
466
+ t(8, h = ((A = c.games) == null ? void 0 : A.items) || []), t(9, f = !1), t(10, v = !1), t(11, M = ((O = c.games) == null ? void 0 : O.total) > ((V = c.games) == null ? void 0 : V.items.length)), Q();
467
+ const l = (x = (Y = c.metadata) == null ? void 0 : Y.sports) == null ? void 0 : x.rules;
463
468
  if (l) {
464
- t(6, G = m.wallet.casino ? "casino" : "sports");
469
+ t(6, C = c.wallet.casino ? "casino" : "sports");
465
470
  try {
466
- const R = JSON.parse(l);
467
- t(7, P = R[h] || R["*"]);
468
- } catch (R) {
469
- console.error("Error parsing tournament rules", R);
471
+ const U = JSON.parse(l);
472
+ t(7, E = U[p] || U["*"]);
473
+ } catch (U) {
474
+ console.error("Error parsing tournament rules", U);
470
475
  }
471
476
  }
472
- }, K = (l) => {
473
- var I;
477
+ }, X = (l) => {
478
+ var O;
474
479
  if (!l.data || !l.data.type)
475
480
  return;
476
- const S = l.data.tid || "";
481
+ const A = l.data.tid || "";
477
482
  switch (l.data.type) {
478
483
  case "TournamentsTabSwitch":
479
- S === J && t(6, G = l.data.tab);
484
+ A === K && t(6, C = l.data.tab);
480
485
  break;
481
486
  case "TournamentsTabListenerLoaded":
482
487
  u();
483
488
  break;
484
489
  case "TournamentsGamesUpdate":
485
- t(3, m = l.data.details), Z();
490
+ t(3, c = l.data.details), N();
486
491
  break;
487
492
  case "TournamentsLoadedMoreGames":
488
- E ? (I = l.data.games) != null && I.items.length && (t(8, b = [...b, ...l.data.games.items]), X()) : (t(12, f = !1), t(8, b = [...l.data.games.items]), t(11, B = l.data.hasNextPage), t(10, T = l.data.hasPreviousPage), t(9, d = !b.length));
493
+ L ? (O = l.data.games) != null && O.items.length && (t(8, h = [...h, ...l.data.games.items]), Q()) : (t(12, T = !1), t(8, h = [...l.data.games.items]), t(11, M = l.data.hasNextPage), t(10, v = l.data.hasPreviousPage), t(9, f = !h.length));
489
494
  break;
490
495
  default:
491
496
  console.warn(`Unhandled message type: ${l.data.type}`);
492
497
  break;
493
498
  }
494
499
  };
495
- let D;
496
- const ce = (l) => {
497
- D = l == null ? void 0 : l.lastElementChild, !(!E || v || !l || !D) && (v = new IntersectionObserver((S) => {
498
- S.forEach((I) => {
499
- I.isIntersecting && (v.unobserve(D), window.postMessage(
500
+ let I;
501
+ const me = (l) => {
502
+ I = l == null ? void 0 : l.lastElementChild, !(!L || w || !l || !I) && (w = new IntersectionObserver((A) => {
503
+ A.forEach((O) => {
504
+ O.isIntersecting && (w.unobserve(I), window.postMessage(
500
505
  {
501
506
  type: "TournamentsLoadMoreGames",
502
- id: m.id,
507
+ id: c.id,
503
508
  isNext: !0
504
509
  },
505
510
  window.location.href
506
511
  ));
507
512
  });
508
513
  }));
509
- }, X = () => {
510
- !E || !D || !v || !b.length || (v.unobserve(D), D = _.lastElementChild, v.observe(D));
514
+ }, Q = () => {
515
+ !L || !I || !w || !h.length || (w.unobserve(I), I = b.lastElementChild, w.observe(I));
511
516
  };
512
- ye(() => E && v && v.disconnect()), Te(() => (window.postMessage(
517
+ ye(() => L && w && w.disconnect()), Te(() => (window.postMessage(
513
518
  {
514
519
  type: "TournamentsGamesListenerLoaded",
515
- gamesTabTid: J
520
+ gamesTabTid: K
516
521
  },
517
522
  window.location.href
518
- ), window.addEventListener("message", K, !1), () => {
519
- window.removeEventListener("message", K);
523
+ ), window.addEventListener("message", X, !1), () => {
524
+ window.removeEventListener("message", X);
520
525
  }));
521
- function me(l) {
526
+ function ce(l) {
522
527
  ee[l ? "unshift" : "push"](() => {
523
- _ = l, t(5, _);
528
+ b = l, t(5, b);
524
529
  });
525
530
  }
526
531
  function ge(l) {
527
532
  ee[l ? "unshift" : "push"](() => {
528
- p = l, t(4, p);
533
+ d = l, t(4, d);
529
534
  });
530
535
  }
531
536
  return a.$$set = (l) => {
532
- "clientstyling" in l && t(0, s = l.clientstyling), "clientstylingurl" in l && t(1, r = l.clientstylingurl), "mbsource" in l && t(2, i = l.mbsource), "translationurl" in l && t(17, g = l.translationurl), "lang" in l && t(18, h = l.lang);
537
+ "clientstyling" in l && t(0, s = l.clientstyling), "clientstylingurl" in l && t(1, r = l.clientstylingurl), "mbsource" in l && t(2, i = l.mbsource), "translationurl" in l && t(17, g = l.translationurl), "lang" in l && t(18, p = l.lang);
533
538
  }, a.$$.update = () => {
534
539
  a.$$.dirty[0] & /*tournamentdetails*/
535
- 8 && m && Z(), a.$$.dirty[0] & /*lang*/
536
- 262144 && h && M(), a.$$.dirty[0] & /*translationurl*/
537
- 131072 && g && N(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
538
- 17 && s && p && Pe(p, s), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
539
- 18 && r && p && Ee(p, r), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
540
- 20 && i && p && Le(p, `${i}.Style`), a.$$.dirty[0] & /*gameListEle*/
541
- 32 && _ && ce(_);
540
+ 8 && c && N(), a.$$.dirty[0] & /*lang*/
541
+ 262144 && p && S(), a.$$.dirty[0] & /*translationurl*/
542
+ 131072 && g && B(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
543
+ 17 && s && d && ke(d, s), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
544
+ 18 && r && d && Ee(d, r), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
545
+ 20 && i && d && Le(d, `${i}.Style`), a.$$.dirty[0] & /*gameListEle*/
546
+ 32 && b && me(b);
542
547
  }, [
543
548
  s,
544
549
  r,
545
550
  i,
546
- m,
547
- p,
548
- _,
549
- G,
550
- P,
551
- b,
551
+ c,
552
552
  d,
553
- T,
554
- B,
553
+ b,
554
+ C,
555
+ E,
556
+ h,
555
557
  f,
558
+ v,
559
+ M,
560
+ T,
556
561
  n,
557
- E,
558
- k,
559
562
  L,
563
+ k,
564
+ G,
560
565
  g,
561
- h,
562
- me,
566
+ p,
567
+ ce,
563
568
  ge
564
569
  ];
565
570
  }
@@ -586,31 +591,31 @@ class Re extends pe {
586
591
  return this.$$.ctx[0];
587
592
  }
588
593
  set clientstyling(e) {
589
- this.$$set({ clientstyling: e }), O();
594
+ this.$$set({ clientstyling: e }), R();
590
595
  }
591
596
  get clientstylingurl() {
592
597
  return this.$$.ctx[1];
593
598
  }
594
599
  set clientstylingurl(e) {
595
- this.$$set({ clientstylingurl: e }), O();
600
+ this.$$set({ clientstylingurl: e }), R();
596
601
  }
597
602
  get mbsource() {
598
603
  return this.$$.ctx[2];
599
604
  }
600
605
  set mbsource(e) {
601
- this.$$set({ mbsource: e }), O();
606
+ this.$$set({ mbsource: e }), R();
602
607
  }
603
608
  get translationurl() {
604
609
  return this.$$.ctx[17];
605
610
  }
606
611
  set translationurl(e) {
607
- this.$$set({ translationurl: e }), O();
612
+ this.$$set({ translationurl: e }), R();
608
613
  }
609
614
  get lang() {
610
615
  return this.$$.ctx[18];
611
616
  }
612
617
  set lang(e) {
613
- this.$$set({ lang: e }), O();
618
+ this.$$set({ lang: e }), R();
614
619
  }
615
620
  }
616
621
  Ne(Re, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);