@everymatrix/casino-tournaments-list-controller 1.98.11 → 1.98.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.
Files changed (25) hide show
  1. package/components/{CasinoTournamentsListController-DU-wBQ6s.js → CasinoTournamentsListController-Cf0oW0Oe.js} +1 -1
  2. package/components/{CasinoTournamentsListController-8abNLUmc.js → CasinoTournamentsListController-tsNVvrbK.js} +1 -1
  3. package/components/{CasinoTournamentsListController-ChZCA8s1.cjs → CasinoTournamentsListController-vOqoDzBA.cjs} +1 -1
  4. package/components/{CasinoTournamentsThumbnail-CVJEECYo.js → CasinoTournamentsThumbnail-DIAeUyv2.js} +223 -155
  5. package/components/{CasinoTournamentsThumbnail-BV0LbN2E.cjs → CasinoTournamentsThumbnail-DQ4p54JY.cjs} +3 -3
  6. package/components/{CasinoTournamentsThumbnail-BeGvrf7Z.js → CasinoTournamentsThumbnail-SwYCgViR.js} +230 -162
  7. package/components/{CasinoTournamentsThumbnailController-dwBkEvek.js → CasinoTournamentsThumbnailController-BRnpl_Mf.js} +5 -5
  8. package/components/{CasinoTournamentsThumbnailController-BBhAWZSh.js → CasinoTournamentsThumbnailController-CQ0gp86n.js} +5 -5
  9. package/components/{CasinoTournamentsThumbnailController-B_t_k14i.cjs → CasinoTournamentsThumbnailController-DTJwQUnV.cjs} +2 -2
  10. package/components/CasinoTournamentsThumbnailDuration-CkyiL4UU.cjs +1 -0
  11. package/components/{CasinoTournamentsThumbnailDuration-BxMu7jwh.js → CasinoTournamentsThumbnailDuration-D6fM5hd7.js} +47 -31
  12. package/components/{CasinoTournamentsThumbnailDuration-Wzy7eqUi.js → CasinoTournamentsThumbnailDuration-DBnjtu3f.js} +58 -42
  13. package/components/CasinoTournamentsThumbnailGamesSlider-DnLxcrbn.cjs +1 -0
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-DFkBgWsW.js → CasinoTournamentsThumbnailGamesSlider-U7_5U42C.js} +8 -2
  15. package/components/{CasinoTournamentsThumbnailGamesSlider-DXxAqj-s.js → CasinoTournamentsThumbnailGamesSlider-jiNcJNbp.js} +24 -18
  16. package/components/CasinoTournamentsThumbnailPrizes-7xA4VjF2.cjs +1 -0
  17. package/components/{CasinoTournamentsThumbnailPrizes-rl18zrEQ.js → CasinoTournamentsThumbnailPrizes-BKaV-mIU.js} +102 -92
  18. package/components/{CasinoTournamentsThumbnailPrizes-Cu_NWe7L.js → CasinoTournamentsThumbnailPrizes-BS3lQo68.js} +86 -76
  19. package/es2015/casino-tournaments-list-controller.cjs +1 -1
  20. package/es2015/casino-tournaments-list-controller.js +1 -1
  21. package/esnext/casino-tournaments-list-controller.js +1 -1
  22. package/package.json +1 -1
  23. package/components/CasinoTournamentsThumbnailDuration-2R1e9PUS.cjs +0 -1
  24. package/components/CasinoTournamentsThumbnailGamesSlider-CPwAyf6P.cjs +0 -1
  25. package/components/CasinoTournamentsThumbnailPrizes-DUmdUpW_.cjs +0 -1
@@ -1,8 +1,8 @@
1
- import { b as K, S as Y, i as Z, s as J, f as C, d as Q, n as N, e as k, j as w, l as v, h as l, o as V, p as X, u as M, k as h, t as $, v as j, m as R, q as tt, F as O, B as et, C as nt, D as it, c as st, A as rt } from "./CasinoTournamentsListController-DU-wBQ6s.js";
2
- function U(n, t) {
1
+ import { b as K, S as Y, i as Z, s as J, f as z, d as Q, n as L, e as k, j as B, l as v, h as l, o as V, p as X, u as M, k as h, t as $, v as j, m as R, q as tt, F as N, B as et, C as nt, D as it, c as st, A as rt } from "./CasinoTournamentsListController-Cf0oW0Oe.js";
2
+ function O(n, t) {
3
3
  K(n, t);
4
4
  }
5
- const q = {
5
+ const U = {
6
6
  en: {
7
7
  finished: "Finished",
8
8
  starting: "Starting in ",
@@ -90,6 +90,22 @@ const q = {
90
90
  minutes: "minutes",
91
91
  hours: "hours",
92
92
  days: "days"
93
+ },
94
+ ru: {
95
+ finished: "Завершён",
96
+ starting: "Начинается через ",
97
+ left: "осталось",
98
+ minutes: "минут",
99
+ hours: "часов",
100
+ days: "дней"
101
+ },
102
+ az: {
103
+ finished: "Bitib",
104
+ starting: "Başlayır: ",
105
+ left: "qalıb",
106
+ minutes: "dəqiqə",
107
+ hours: "saat",
108
+ days: "gün"
93
109
  }
94
110
  };
95
111
  function at(n) {
@@ -120,8 +136,8 @@ function x(n) {
120
136
  )
121
137
  );
122
138
  }
123
- let z = D(n), _ = z(n);
124
- function A(r, p) {
139
+ let C = D(n), _ = C(n);
140
+ function q(r, p) {
125
141
  if (
126
142
  /*status*/
127
143
  r[2] == "Finished" || /*status*/
@@ -140,13 +156,13 @@ function x(n) {
140
156
  )
141
157
  return dt;
142
158
  }
143
- let B = A(n), c = B && B(n);
159
+ let w = q(n), c = w && w(n);
144
160
  return {
145
161
  c() {
146
162
  t = v("div"), e = v("div"), a = j(s), u = R(), o = v("div"), f = j(d), T = R(), b = v("div"), g = v("div"), _.c(), P = R(), c && c.c(), l(e, "class", "StartDate"), l(e, "part", "StartDate"), l(o, "class", "EndDate"), l(o, "part", "EndDate"), l(t, "class", "TournamentDates"), l(t, "part", "TournamentDates"), l(g, "class", "ProgressBar"), l(g, "part", "ProgressBar"), l(b, "class", "ProgressBarWrapper"), l(b, "part", "ProgressBarWrapper");
147
163
  },
148
164
  m(r, p) {
149
- w(r, t, p), h(t, e), h(e, a), h(t, u), h(t, o), h(o, f), w(r, T, p), w(r, b, p), h(b, g), _.m(g, null), h(g, P), c && c.m(g, null), y || (I = $(
165
+ B(r, t, p), h(t, e), h(e, a), h(t, u), h(t, o), h(o, f), B(r, T, p), B(r, b, p), h(b, g), _.m(g, null), h(g, P), c && c.m(g, null), y || (I = $(
150
166
  /*getDuration*/
151
167
  n[9].call(null, b)
152
168
  ), y = !0);
@@ -162,7 +178,7 @@ function x(n) {
162
178
  r[10](
163
179
  /*enddate*/
164
180
  r[1]
165
- ) + "") && M(f, d), z === (z = D(r)) && _ ? _.p(r, p) : (_.d(1), _ = z(r), _ && (_.c(), _.m(g, P))), B === (B = A(r)) && c ? c.p(r, p) : (c && c.d(1), c = B && B(r), c && (c.c(), c.m(g, null)));
181
+ ) + "") && M(f, d), C === (C = D(r)) && _ ? _.p(r, p) : (_.d(1), _ = C(r), _ && (_.c(), _.m(g, P))), w === (w = q(r)) && c ? c.p(r, p) : (c && c.d(1), c = w && w(r), c && (c.c(), c.m(g, null)));
166
182
  },
167
183
  d(r) {
168
184
  r && (k(t), k(T), k(b)), _.d(), c && c.d(), y = !1, I();
@@ -173,7 +189,7 @@ function lt(n) {
173
189
  let t;
174
190
  return {
175
191
  c() {
176
- t = v("div"), l(t, "class", "ProgressBarFill"), l(t, "part", "ProgressBarFill"), O(
192
+ t = v("div"), l(t, "class", "ProgressBarFill"), l(t, "part", "ProgressBarFill"), N(
177
193
  t,
178
194
  "width",
179
195
  /*getProgress*/
@@ -181,11 +197,11 @@ function lt(n) {
181
197
  );
182
198
  },
183
199
  m(e, s) {
184
- w(e, t, s);
200
+ B(e, t, s);
185
201
  },
186
202
  p(e, s) {
187
203
  s & /*getProgress*/
188
- 128 && O(
204
+ 128 && N(
189
205
  t,
190
206
  "width",
191
207
  /*getProgress*/
@@ -204,9 +220,9 @@ function ot(n) {
204
220
  t = v("div"), l(t, "class", "ProgressBarFillStarting"), l(t, "part", "ProgressBarFillStarting");
205
221
  },
206
222
  m(e, s) {
207
- w(e, t, s);
223
+ B(e, t, s);
208
224
  },
209
- p: N,
225
+ p: L,
210
226
  d(e) {
211
227
  e && k(t);
212
228
  }
@@ -219,9 +235,9 @@ function ut(n) {
219
235
  t = v("div"), l(t, "class", "ProgressBarFillEnd"), l(t, "part", "ProgressBarFillEnd");
220
236
  },
221
237
  m(e, s) {
222
- w(e, t, s);
238
+ B(e, t, s);
223
239
  },
224
- p: N,
240
+ p: L,
225
241
  d(e) {
226
242
  e && k(t);
227
243
  }
@@ -240,7 +256,7 @@ function dt(n) {
240
256
  ), s = R(), u = j(a), l(t, "class", "Remaining"), l(t, "part", "Remaining");
241
257
  },
242
258
  m(o, d) {
243
- w(o, t, d), h(t, e), h(t, s), h(t, u);
259
+ B(o, t, d), h(t, e), h(t, s), h(t, u);
244
260
  },
245
261
  p(o, d) {
246
262
  d & /*showRemain*/
@@ -273,7 +289,7 @@ function ct(n) {
273
289
  t = v("div"), s = j(e), a = R(), o = j(u), l(t, "class", "Remaining"), l(t, "part", "Remaining");
274
290
  },
275
291
  m(d, f) {
276
- w(d, t, f), h(t, s), h(t, a), h(t, o);
292
+ B(d, t, f), h(t, s), h(t, a), h(t, o);
277
293
  },
278
294
  p(d, f) {
279
295
  f & /*$_*/
@@ -300,7 +316,7 @@ function ft(n) {
300
316
  t = v("div"), s = j(e), l(t, "class", "Finished"), l(t, "part", "Finished");
301
317
  },
302
318
  m(a, u) {
303
- w(a, t, u), h(t, s);
319
+ B(a, t, u), h(t, s);
304
320
  },
305
321
  p(a, u) {
306
322
  u & /*$_*/
@@ -323,15 +339,15 @@ function gt(n) {
323
339
  t = v("div"), e && e.c(), l(t, "class", "TournamentDuration"), l(t, "part", "TournamentDuration");
324
340
  },
325
341
  m(s, a) {
326
- w(s, t, a), e && e.m(t, null), n[17](t);
342
+ B(s, t, a), e && e.m(t, null), n[17](t);
327
343
  },
328
344
  p(s, [a]) {
329
345
  /*startdate*/
330
346
  s[0] && /*enddate*/
331
347
  s[1] ? e ? e.p(s, a) : (e = x(s), e.c(), e.m(t, null)) : e && (e.d(1), e = null);
332
348
  },
333
- i: N,
334
- o: N,
349
+ i: L,
350
+ o: L,
335
351
  d(s) {
336
352
  s && k(t), e && e.d(), n[17](null);
337
353
  }
@@ -340,27 +356,27 @@ function gt(n) {
340
356
  function mt(n, t, e) {
341
357
  let s, a;
342
358
  V(n, rt, (i) => e(8, a = i));
343
- let { startdate: u = "" } = t, { enddate: o = "" } = t, { status: d = "" } = t, { lang: f = "en" } = t, { clientstyling: T = "" } = t, { clientstylingurl: b = "" } = t, { translationurl: g = "" } = t, { mbsource: P } = t, y, I, D = "", z = "", _ = "";
344
- const A = () => {
359
+ let { startdate: u = "" } = t, { enddate: o = "" } = t, { status: d = "" } = t, { lang: f = "en" } = t, { clientstyling: T = "" } = t, { clientstylingurl: b = "" } = t, { translationurl: g = "" } = t, { mbsource: P } = t, y, I, D = "", C = "", _ = "";
360
+ const q = () => {
345
361
  fetch(g).then((m) => m.json()).then((m) => {
346
362
  Object.keys(m).forEach((S) => {
347
- U(S, m[S]);
363
+ O(S, m[S]);
348
364
  });
349
365
  }).catch((m) => {
350
366
  console.log(m);
351
367
  });
352
368
  };
353
- Object.keys(q).forEach((i) => {
354
- U(i, q[i]);
369
+ Object.keys(U).forEach((i) => {
370
+ O(i, U[i]);
355
371
  });
356
- const B = (i) => new Date(i).getTime(), c = (i, m) => (B(m) - B(i)) / (1e3 * 60), r = () => {
372
+ const w = (i) => new Date(i).getTime(), c = (i, m) => (w(m) - w(i)) / (1e3 * 60), r = () => {
357
373
  const i = /* @__PURE__ */ new Date();
358
- e(4, D = c(i, o)), e(5, z = c(i, u)), e(6, _ = L(D));
374
+ e(4, D = c(i, o)), e(5, C = c(i, u)), e(6, _ = A(D));
359
375
  }, p = (i) => {
360
376
  const m = { month: "long" };
361
377
  let S = new Date(i), E = new Intl.DateTimeFormat(f, m).format(S);
362
378
  return `${S.getDate()} ${E}, ${S.toLocaleString("en-GB", { hour: "numeric", minute: "numeric" })}, ${S.getUTCFullYear()}`;
363
- }, L = (i) => {
379
+ }, A = (i) => {
364
380
  const m = (E, F) => E + " " + a(F), S = (E) => {
365
381
  const F = Math.floor(E);
366
382
  return F < 10 ? `0${F}` : `${F}`;
@@ -398,10 +414,10 @@ function mt(n, t, e) {
398
414
  const i = c(u, o), m = 100 / i;
399
415
  return Math.floor((i - D) * m);
400
416
  }), n.$$.dirty & /*startdate, enddate, tournamentLeftDays*/
401
- 19 && u && o && r() && L(D), n.$$.dirty & /*lang*/
417
+ 19 && u && o && r() && A(D), n.$$.dirty & /*lang*/
402
418
  4096 && f && r(), n.$$.dirty & /*lang, tournamentLeftDays*/
403
- 4112 && f && L(D), n.$$.dirty & /*translationurl*/
404
- 32768 && g && A(), n.$$.dirty & /*clientstyling, customStylingContainer*/
419
+ 4112 && f && A(D), n.$$.dirty & /*translationurl*/
420
+ 32768 && g && q(), n.$$.dirty & /*clientstyling, customStylingContainer*/
405
421
  8200 && T && y && et(y, T), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
406
422
  16392 && b && y && nt(y, b), n.$$.dirty & /*mbsource, customStylingContainer*/
407
423
  65544 && P && y && it(y, `${P}.Style`, I);
@@ -411,13 +427,13 @@ function mt(n, t, e) {
411
427
  d,
412
428
  y,
413
429
  D,
414
- z,
430
+ C,
415
431
  _,
416
432
  s,
417
433
  a,
418
434
  r,
419
435
  p,
420
- L,
436
+ A,
421
437
  f,
422
438
  T,
423
439
  b,
@@ -451,49 +467,49 @@ class ht extends Y {
451
467
  return this.$$.ctx[0];
452
468
  }
453
469
  set startdate(t) {
454
- this.$$set({ startdate: t }), C();
470
+ this.$$set({ startdate: t }), z();
455
471
  }
456
472
  get enddate() {
457
473
  return this.$$.ctx[1];
458
474
  }
459
475
  set enddate(t) {
460
- this.$$set({ enddate: t }), C();
476
+ this.$$set({ enddate: t }), z();
461
477
  }
462
478
  get status() {
463
479
  return this.$$.ctx[2];
464
480
  }
465
481
  set status(t) {
466
- this.$$set({ status: t }), C();
482
+ this.$$set({ status: t }), z();
467
483
  }
468
484
  get lang() {
469
485
  return this.$$.ctx[12];
470
486
  }
471
487
  set lang(t) {
472
- this.$$set({ lang: t }), C();
488
+ this.$$set({ lang: t }), z();
473
489
  }
474
490
  get clientstyling() {
475
491
  return this.$$.ctx[13];
476
492
  }
477
493
  set clientstyling(t) {
478
- this.$$set({ clientstyling: t }), C();
494
+ this.$$set({ clientstyling: t }), z();
479
495
  }
480
496
  get clientstylingurl() {
481
497
  return this.$$.ctx[14];
482
498
  }
483
499
  set clientstylingurl(t) {
484
- this.$$set({ clientstylingurl: t }), C();
500
+ this.$$set({ clientstylingurl: t }), z();
485
501
  }
486
502
  get translationurl() {
487
503
  return this.$$.ctx[15];
488
504
  }
489
505
  set translationurl(t) {
490
- this.$$set({ translationurl: t }), C();
506
+ this.$$set({ translationurl: t }), z();
491
507
  }
492
508
  get mbsource() {
493
509
  return this.$$.ctx[16];
494
510
  }
495
511
  set mbsource(t) {
496
- this.$$set({ mbsource: t }), C();
512
+ this.$$set({ mbsource: t }), z();
497
513
  }
498
514
  }
499
515
  st(ht, { startdate: {}, enddate: {}, status: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsListController-vOqoDzBA.cjs"),ie=require("./CasinoTournamentsThumbnailController-DTJwQUnV.cjs");function D(t,l){e.addMessages(t,l)}const I={en:{playNow:"Play now"},hr:{playNow:"Započni sada"},"zh-hk":{playNow:"现在播放"},fr:{playNow:"Joue maintenant"},ro:{playNow:"Joaca acum"},tr:{playNow:"Şimdi oyna"},el:{playNow:"Παίξε τώρα"},es:{playNow:"Jugar Ya"},pt:{playNow:"Jogue agora"},"en-us":{playNow:"Play now"},ru:{playNow:"Играть сейчас"},az:{playNow:"İndi oyna"}};function oe(t){e.append_styles(t,"svelte-xgd67c","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsGamesSlider{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:center}.disabled{color:var(--emw--color-contrast, #07072A)}.SliderNavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}.SliderNavButton svg{width:20px}.NavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}main{width:95%;overflow:hidden}.items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emw--color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.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:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.itemHover{opacity:1}.items .item:first-child{margin-left:0}.items .item:last-child{margin-right:0}")}function W(t,l,n){const i=t.slice();return i[49]=l[n],i[51]=n,i}function G(t){let l,n,i,m,d,y,_,a,w,b,h=e.ensure_array_like(t[1]),o=[];for(let s=0;s<h.length;s+=1)o[s]=O(W(t,h,s));return{c(){l=e.element("div"),n=e.element("div"),n.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',i=e.space(),m=e.element("main"),d=e.element("div");for(let s=0;s<o.length;s+=1)o[s].c();_=e.space(),a=e.element("div"),a.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',e.attr(n,"class","SliderNavButton"),e.attr(n,"part","SliderNavButton"),e.toggle_class(n,"disabled",t[8]),e.attr(d,"class","items"),e.attr(d,"part","items"),e.set_style(d,"transform","translateX("+t[2]+"px)"),e.add_render_callback(()=>t[29].call(m)),e.attr(a,"class","SliderNavButton"),e.attr(a,"part","SliderNavButton"),e.toggle_class(a,"disabled",t[9]),e.attr(l,"class","TournamentsGamesSlider"),e.attr(l,"part","TournamentsGamesSlider")},m(s,u){e.insert(s,l,u),e.append(l,n),e.append(l,i),e.append(l,m),e.append(m,d);for(let c=0;c<o.length;c+=1)o[c]&&o[c].m(d,null);t[28](d),y=e.add_iframe_resize_listener(m,t[29].bind(m)),e.append(l,_),e.append(l,a),t[31](l),w||(b=[e.listen(n,"click",t[24]),e.listen(a,"click",t[30])],w=!0)},p(s,u){if(u[0]&256&&e.toggle_class(n,"disabled",s[8]),u[0]&23650){h=e.ensure_array_like(s[1]);let c;for(c=0;c<h.length;c+=1){const T=W(s,h,c);o[c]?o[c].p(T,u):(o[c]=O(T),o[c].c(),o[c].m(d,null))}for(;c<o.length;c+=1)o[c].d(1);o.length=h.length}u[0]&4&&e.set_style(d,"transform","translateX("+s[2]+"px)"),u[0]&512&&e.toggle_class(a,"disabled",s[9])},d(s){s&&e.detach(l),e.destroy_each(o,s),t[28](null),y(),t[31](null),w=!1,e.run_all(b)}}}function O(t){let l,n,i=t[10]("playNow")+"",m,d,y,_,a,w,b,h,o,s,u;function c(){return t[25](t[49])}function T(){return t[26](t[51])}return{c(){l=e.element("div"),n=e.element("span"),m=e.text(i),_=e.space(),a=e.element("img"),o=e.space(),e.attr(n,"class",d="PlayNowButton "+(t[5]&&t[6]==t[51]?"itemHover":"")),e.attr(n,"part",y="PlayNowButton "+(t[5]&&t[6]==t[51]?"itemHover":"")),e.src_url_equal(a.src,w=t[49].thumbnail)||e.attr(a,"src",w),e.attr(a,"width","132px"),e.attr(a,"height","100px"),e.attr(a,"alt",b=t[49].name),e.attr(a,"title",h=t[49].name),e.attr(l,"class","item"),e.attr(l,"part","item")},m(v,g){e.insert(v,l,g),e.append(l,n),e.append(n,m),e.append(l,_),e.append(l,a),e.append(l,o),s||(u=[e.listen(l,"click",c),e.listen(l,"mouseenter",T),e.listen(l,"mouseleave",t[27])],s=!0)},p(v,g){t=v,g[0]&1024&&i!==(i=t[10]("playNow")+"")&&e.set_data(m,i),g[0]&96&&d!==(d="PlayNowButton "+(t[5]&&t[6]==t[51]?"itemHover":""))&&e.attr(n,"class",d),g[0]&96&&y!==(y="PlayNowButton "+(t[5]&&t[6]==t[51]?"itemHover":""))&&e.attr(n,"part",y),g[0]&2&&!e.src_url_equal(a.src,w=t[49].thumbnail)&&e.attr(a,"src",w),g[0]&2&&b!==(b=t[49].name)&&e.attr(a,"alt",b),g[0]&2&&h!==(h=t[49].name)&&e.attr(a,"title",h)},d(v){v&&e.detach(l),s=!1,e.run_all(u)}}}function ce(t){let l,n=t[1]&&t[1].length>0&&G(t);return{c(){l=e.element("div"),n&&n.c()},m(i,m){e.insert(i,l,m),n&&n.m(l,null),t[32](l)},p(i,m){i[1]&&i[1].length>0?n?n.p(i,m):(n=G(i),n.c(),n.m(l,null)):n&&(n.d(1),n=null)},i:e.noop,o:e.noop,d(i){i&&e.detach(l),n&&n.d(),t[32](null)}}}let ue=30;function me(t,l,n){let i,m,d;e.component_subscribe(t,e.$format,r=>n(10,d=r));let{tournamenturl:y=""}=l,{scrollby:_="3"}=l,{pagfactor:a="175"}=l,{lang:w=""}=l,{translationurl:b=""}=l,{clientstyling:h=""}=l,{clientstylingurl:o=""}=l,{mbsource:s}=l,u,c,T=window.navigator.userAgent,v,g=[],f=0,k,C=null,E=null,j=!1,L,P,F=0,N;const J=()=>{fetch(b).then(p=>p.json()).then(p=>{Object.keys(p).forEach(B=>{D(B,p[B])})}).catch(p=>{console.log(p)})};Object.keys(I).forEach(r=>{D(r,I[r])});const z=r=>{n(5,j=!0),n(6,L=r)},A=()=>{n(5,j=!1),n(6,L=-1)},R=r=>r.touches||r.originalEvent.touches,H=r=>{const p=R(r)[0];C=p.clientX,E=p.clientY},q=r=>{if(!C||!E)return;let p=r.touches[0].clientX,B=r.touches[0].clientY,S=C-p,se=E-B;Math.abs(S)>Math.abs(se)&&(S>0?M(1):M(-1)),C=null,E=null},M=r=>{r>0&&!m?(n(2,f-=v),n(2,f=f<F?F:f)):r<0&&!i&&(n(2,f+=v),n(2,f=f>0?0:f))},U=r=>{window.postMessage({type:"TournamentGameAction",gameId:r.id,name:r.name,launchUrl:r.launchUrl},window.location.href)},x=()=>{let r=new URL(y),p=new Headers;r.searchParams.append("expand","games"),r.searchParams.append("pagination",`games(limit=${ue},offset=${f})`),r.searchParams.append("fields","games(id,name,thumbnail,launchUrl)"),r.searchParams.append("language",w),r.searchParams.append("platform",ie.getDevice(T)),fetch(r,{method:"GET",headers:p}).then(S=>S.json()).then(S=>{n(1,g=S.item.games.items),S.item.games.total})},Y=()=>{k.addEventListener("touchstart",H,{passive:!0}),k.addEventListener("touchmove",q,{passive:!0})},Z=()=>{setTimeout(()=>{n(23,F=(P.scrollWidth-P.clientWidth)*-1),n(16,a=new String(P.scrollWidth/g.length)),v=parseInt(_,10)*parseFloat(a,2).toFixed(2)},1e3)},K=()=>{N>0&&N<Math.floor((parseInt(_)+1)*a)&&n(15,_=Math.ceil(N/a).toString())};e.onMount(()=>(v=parseInt(_,10)*parseInt(a,10),()=>{k.removeEventListener("touchstart",H),k.removeEventListener("touchmove",q)}));const Q=()=>M(-1),V=r=>U(r),$=r=>z(r),ee=()=>A();function te(r){e.binding_callbacks[r?"unshift":"push"](()=>{P=r,n(7,P)})}function ne(){N=this.clientWidth,n(4,N)}const le=()=>M(1);function re(r){e.binding_callbacks[r?"unshift":"push"](()=>{k=r,n(3,k)})}function ae(r){e.binding_callbacks[r?"unshift":"push"](()=>{u=r,n(0,u)})}return t.$$set=r=>{"tournamenturl"in r&&n(17,y=r.tournamenturl),"scrollby"in r&&n(15,_=r.scrollby),"pagfactor"in r&&n(16,a=r.pagfactor),"lang"in r&&n(18,w=r.lang),"translationurl"in r&&n(19,b=r.translationurl),"clientstyling"in r&&n(20,h=r.clientstyling),"clientstylingurl"in r&&n(21,o=r.clientstylingurl),"mbsource"in r&&n(22,s=r.mbsource)},t.$$.update=()=>{t.$$.dirty[0]&4&&n(8,i=f===0),t.$$.dirty[0]&8388612&&n(9,m=f<=F),t.$$.dirty[0]&16&&N&&K(),t.$$.dirty[0]&131072&&y&&x(),t.$$.dirty[0]&8&&k&&Y(),t.$$.dirty[0]&524288&&b&&J(),t.$$.dirty[0]&2&&g.length&&Z(),t.$$.dirty[0]&1048577&&h&&u&&e.setClientStyling(u,h),t.$$.dirty[0]&2097153&&o&&u&&e.setClientStylingURL(u,o),t.$$.dirty[0]&4194305&&s&&u&&e.setStreamStyling(u,`${s}.Style`,c)},n(2,f=0),[u,g,f,k,N,j,L,P,i,m,d,z,A,M,U,_,a,y,w,b,h,o,s,F,Q,V,$,ee,te,ne,le,re,ae]}class X extends e.SvelteComponent{constructor(l){super(),e.init(this,l,me,ce,e.safe_not_equal,{tournamenturl:17,scrollby:15,pagfactor:16,lang:18,translationurl:19,clientstyling:20,clientstylingurl:21,mbsource:22},oe,[-1,-1])}get tournamenturl(){return this.$$.ctx[17]}set tournamenturl(l){this.$$set({tournamenturl:l}),e.flush()}get scrollby(){return this.$$.ctx[15]}set scrollby(l){this.$$set({scrollby:l}),e.flush()}get pagfactor(){return this.$$.ctx[16]}set pagfactor(l){this.$$set({pagfactor:l}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(l){this.$$set({lang:l}),e.flush()}get translationurl(){return this.$$.ctx[19]}set translationurl(l){this.$$set({translationurl:l}),e.flush()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(l){this.$$set({clientstyling:l}),e.flush()}get clientstylingurl(){return this.$$.ctx[21]}set clientstylingurl(l){this.$$set({clientstylingurl:l}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(l){this.$$set({mbsource:l}),e.flush()}}e.create_custom_element(X,{tournamenturl:{},scrollby:{},pagfactor:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=X;
@@ -1,5 +1,5 @@
1
- import { b as be, S as ve, i as ke, s as Ne, f as T, c as Se, n as Y, d as W, h as q, k as N, m as Te, o as Fe, G as K, H as Be, v as le, I as C, F as Z, j as v, J as Pe, w as A, l as D, g as o, K as Me, p as G, t as Ee, E as Q, u as je, z as ze, A as Ae, B as He, C as Le, D as Ce } from "./CasinoTournamentsListController-8abNLUmc.js";
2
- import { g as De } from "./CasinoTournamentsThumbnailController-BBhAWZSh.js";
1
+ import { b as be, S as ve, i as ke, s as Ne, f as T, c as Se, n as Y, d as W, h as q, k as N, m as Te, o as Fe, G as K, H as Be, v as le, I as C, F as Z, j as v, J as Pe, w as A, l as D, g as o, K as Me, p as G, t as Ee, E as Q, u as je, z as ze, A as Ae, B as He, C as Le, D as Ce } from "./CasinoTournamentsListController-tsNVvrbK.js";
2
+ import { g as De } from "./CasinoTournamentsThumbnailController-CQ0gp86n.js";
3
3
  function V(e, n) {
4
4
  be(e, n);
5
5
  }
@@ -33,6 +33,12 @@ const $ = {
33
33
  },
34
34
  "en-us": {
35
35
  playNow: "Play now"
36
+ },
37
+ ru: {
38
+ playNow: "Играть сейчас"
39
+ },
40
+ az: {
41
+ playNow: "İndi oyna"
36
42
  }
37
43
  };
38
44
  function Ie(e) {
@@ -1,5 +1,5 @@
1
- import { b as be, S as ve, i as ke, s as Ne, f as T, d as Se, n as Y, e as W, j as q, l as N, o as Te, p as Fe, G as K, H as Be, w as le, I as C, F as Z, k as v, J as Pe, x as H, m as D, h as o, K as Me, q as G, u as Ee, E as Q, v as je, B as Ae, C as He, D as Le, c as ze, A as Ce } from "./CasinoTournamentsListController-DU-wBQ6s.js";
2
- import { g as De } from "./CasinoTournamentsThumbnailController-dwBkEvek.js";
1
+ import { b as be, S as ve, i as ke, s as Ne, f as T, d as Se, n as Y, e as W, j as q, l as N, o as Te, p as Fe, G as K, H as Be, w as le, I as C, F as Z, k as v, J as Pe, x as A, m as D, h as o, K as Me, q as G, u as Ee, E as Q, v as je, B as ze, C as Ae, D as He, c as Le, A as Ce } from "./CasinoTournamentsListController-Cf0oW0Oe.js";
2
+ import { g as De } from "./CasinoTournamentsThumbnailController-BRnpl_Mf.js";
3
3
  function V(e, n) {
4
4
  be(e, n);
5
5
  }
@@ -33,6 +33,12 @@ const $ = {
33
33
  },
34
34
  "en-us": {
35
35
  playNow: "Play now"
36
+ },
37
+ ru: {
38
+ playNow: "Играть сейчас"
39
+ },
40
+ az: {
41
+ playNow: "İndi oyna"
36
42
  }
37
43
  };
38
44
  function Ie(e) {
@@ -79,13 +85,13 @@ function te(e) {
79
85
  /*main_elementresize_handler*/
80
86
  e[29].bind(m)
81
87
  ), v(n, w), v(n, s), e[31](n), _ || (b = [
82
- H(
88
+ A(
83
89
  t,
84
90
  "click",
85
91
  /*click_handler*/
86
92
  e[24]
87
93
  ),
88
- H(
94
+ A(
89
95
  s,
90
96
  "click",
91
97
  /*click_handler_2*/
@@ -168,9 +174,9 @@ function ne(e) {
168
174
  },
169
175
  m(k, f) {
170
176
  q(k, n, f), v(n, t), v(t, m), v(n, w), v(n, s), v(n, i), r || (u = [
171
- H(n, "click", c),
172
- H(n, "mouseenter", P),
173
- H(
177
+ A(n, "click", c),
178
+ A(n, "mouseenter", P),
179
+ A(
174
180
  n,
175
181
  "mouseleave",
176
182
  /*mouseleave_handler*/
@@ -231,11 +237,11 @@ let Ge = 30;
231
237
  function We(e, n, t) {
232
238
  let a, m, d;
233
239
  Te(e, Ce, (l) => t(10, d = l));
234
- let { tournamenturl: y = "" } = n, { scrollby: w = "3" } = n, { pagfactor: s = "175" } = n, { lang: _ = "" } = n, { translationurl: b = "" } = n, { clientstyling: h = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, u, c, P = window.navigator.userAgent, k, f = [], g = 0, S, L = null, z = null, I = !1, U, M, E = 0, F;
240
+ let { tournamenturl: y = "" } = n, { scrollby: w = "3" } = n, { pagfactor: s = "175" } = n, { lang: _ = "" } = n, { translationurl: b = "" } = n, { clientstyling: h = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, u, c, P = window.navigator.userAgent, k, f = [], g = 0, S, H = null, L = null, I = !1, U, M, E = 0, F;
235
241
  const se = () => {
236
242
  fetch(b).then((p) => p.json()).then((p) => {
237
- Object.keys(p).forEach((A) => {
238
- V(A, p[A]);
243
+ Object.keys(p).forEach((z) => {
244
+ V(z, p[z]);
239
245
  });
240
246
  }).catch((p) => {
241
247
  console.log(p);
@@ -250,12 +256,12 @@ function We(e, n, t) {
250
256
  t(5, I = !1), t(6, U = -1);
251
257
  }, re = (l) => l.touches || l.originalEvent.touches, O = (l) => {
252
258
  const p = re(l)[0];
253
- L = p.clientX, z = p.clientY;
259
+ H = p.clientX, L = p.clientY;
254
260
  }, X = (l) => {
255
- if (!L || !z)
261
+ if (!H || !L)
256
262
  return;
257
- let p = l.touches[0].clientX, A = l.touches[0].clientY, B = L - p, _e = z - A;
258
- Math.abs(B) > Math.abs(_e) && (B > 0 ? j(1) : j(-1)), L = null, z = null;
263
+ let p = l.touches[0].clientX, z = l.touches[0].clientY, B = H - p, _e = L - z;
264
+ Math.abs(B) > Math.abs(_e) && (B > 0 ? j(1) : j(-1)), H = null, L = null;
259
265
  }, j = (l) => {
260
266
  l > 0 && !m ? (t(2, g -= k), t(2, g = g < E ? E : g)) : l < 0 && !a && (t(2, g += k), t(2, g = g > 0 ? 0 : g));
261
267
  }, R = (l) => {
@@ -319,9 +325,9 @@ function We(e, n, t) {
319
325
  8 && S && ie(), e.$$.dirty[0] & /*translationurl*/
320
326
  524288 && b && se(), e.$$.dirty[0] & /*games*/
321
327
  2 && f.length && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
322
- 1048577 && h && u && Ae(u, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
323
- 2097153 && i && u && He(u, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
324
- 4194305 && r && u && Le(u, `${r}.Style`, c);
328
+ 1048577 && h && u && ze(u, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
329
+ 2097153 && i && u && Ae(u, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
330
+ 4194305 && r && u && He(u, `${r}.Style`, c);
325
331
  }, t(2, g = 0), [
326
332
  u,
327
333
  f,
@@ -429,7 +435,7 @@ class qe extends ve {
429
435
  this.$$set({ mbsource: n }), T();
430
436
  }
431
437
  }
432
- ze(qe, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
438
+ Le(qe, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
433
439
  export {
434
440
  qe as default
435
441
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsListController-vOqoDzBA.cjs");function _(l,t){e.addMessages(l,t)}const P={en:{prizes:"Prizes",noprizes:"No available prizes",place:"place"},hr:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"},"zh-hk":{prizes:"獎品",noprizes:"沒有可用的獎品",place:"位置"},fr:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"},ro:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"},tr:{prizes:"Ödüller",noprizes:"Mevcut ödül yok",place:"Sıra"},el:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"},es:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"lugar"},hu:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"},pt:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"},"en-us":{prizes:"Prizes",noprizes:"No available prizes",place:"place"},ru:{prizes:"Призы",noprizes:"Нет доступных призов",place:"место"},az:{prizes:"Mükafatlar",noprizes:"Mövcud mükafat yoxdur",place:"yer"}};function S(l){e.append_styles(l,"svelte-1bsrm1d","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}")}function b(l,t,n){const r=l.slice();return r[12]=t[n],r[14]=n,r}function v(l){let t,n=e.ensure_array_like(l[1]),r=[];for(let i=0;i<n.length;i+=1)r[i]=T(b(l,n,i));let a=null;return n.length||(a=w(l)),{c(){t=e.element("div");for(let i=0;i<r.length;i+=1)r[i].c();a&&a.c(),e.attr(t,"class","Prizes"),e.attr(t,"part","Prizes")},m(i,c){e.insert(i,t,c);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(t,null);a&&a.m(t,null)},p(i,c){if(c&6){n=e.ensure_array_like(i[1]);let s;for(s=0;s<n.length;s+=1){const d=b(i,n,s);r[s]?r[s].p(d,c):(r[s]=T(d),r[s].c(),r[s].m(t,null))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length,!n.length&&a?a.p(i,c):n.length?a&&(a.d(1),a=null):(a=w(i),a.c(),a.m(t,null))}},d(i){i&&e.detach(t),e.destroy_each(r,i),a&&a.d()}}}function w(l){let t,n=l[2]("noprizes")+"",r;return{c(){t=e.element("p"),r=e.text(n)},m(a,i){e.insert(a,t,i),e.append(t,r)},p(a,i){i&4&&n!==(n=a[2]("noprizes")+"")&&e.set_data(r,n)},d(a){a&&e.detach(t)}}}function T(l){let t,n,r,a=(l[12].count>1?`${l[12].rank}~${l[12].rank+l[12].count-1}`:l[12].rank)+"",i,c,s=l[2]("place")+"",d,o,u=l[12].name+"",f,g;return{c(){t=e.element("div"),n=e.element("p"),r=e.element("span"),i=e.text(a),c=e.space(),d=e.text(s),o=e.text(": "),f=e.text(u),g=e.space(),e.attr(r,"class","PrizeRank"),e.attr(r,"part","PrizeRank"),e.attr(n,"class","PrizeText"),e.attr(n,"part","PrizeText"),e.attr(t,"class","Prize Prize"+l[14]),e.attr(t,"part","Prize Prize"+l[14])},m(m,z){e.insert(m,t,z),e.append(t,n),e.append(n,r),e.append(r,i),e.append(n,c),e.append(n,d),e.append(n,o),e.append(n,f),e.append(t,g)},p(m,z){z&2&&a!==(a=(m[12].count>1?`${m[12].rank}~${m[12].rank+m[12].count-1}`:m[12].rank)+"")&&e.set_data(i,a),z&4&&s!==(s=m[2]("place")+"")&&e.set_data(d,s),z&2&&u!==(u=m[12].name+"")&&e.set_data(f,u)},d(m){m&&e.detach(t)}}}function F(l){let t,n,r,a,i,c=l[2]("prizes")+"",s,d,o=l[1]&&v(l);return{c(){t=e.element("div"),n=e.element("div"),r=e.element("span"),r.innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',a=e.space(),i=e.element("p"),s=e.text(c),d=e.space(),o&&o.c(),e.attr(r,"class","TournamentPrizesIconWrapper"),e.attr(r,"part","TournamentPrizesIconWrapper"),e.attr(i,"class","PrizesTitle"),e.attr(i,"part","PrizesTitle"),e.attr(n,"class","TournamentPrizesIconSection"),e.attr(n,"part","TournamentPrizesIconSection"),e.attr(t,"class","TournamentPrizes"),e.attr(t,"part","TournamentPrizes")},m(u,f){e.insert(u,t,f),e.append(t,n),e.append(n,r),e.append(n,a),e.append(n,i),e.append(i,s),e.append(t,d),o&&o.m(t,null),l[8](t)},p(u,[f]){f&4&&c!==(c=u[2]("prizes")+"")&&e.set_data(s,c),u[1]?o?o.p(u,f):(o=v(u),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},i:e.noop,o:e.noop,d(u){u&&e.detach(t),o&&o.d(),l[8](null)}}}function M(l,t,n){let r;e.component_subscribe(l,e.$format,p=>n(2,r=p));let{tourid:a=""}=t,{clientstyling:i=""}=t,{clientstylingurl:c=""}=t,{translationurl:s=""}=t,{mbsource:d}=t,o,u,f;const g=()=>{fetch(s).then(h=>h.json()).then(h=>{Object.keys(h).forEach(y=>{_(y,h[y])})}).catch(h=>{console.log(h)})};Object.keys(P).forEach(p=>{_(p,P[p])});const m=p=>{p.data&&p.data.type==`TournamentPrizes_${a}`&&n(1,f=p.data.prizes)};e.onMount(()=>(window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",m,!1),()=>{window.removeEventListener("message",m)}));function z(p){e.binding_callbacks[p?"unshift":"push"](()=>{o=p,n(0,o)})}return l.$$set=p=>{"tourid"in p&&n(3,a=p.tourid),"clientstyling"in p&&n(4,i=p.clientstyling),"clientstylingurl"in p&&n(5,c=p.clientstylingurl),"translationurl"in p&&n(6,s=p.translationurl),"mbsource"in p&&n(7,d=p.mbsource)},l.$$.update=()=>{l.$$.dirty&17&&i&&o&&e.setClientStyling(o,i),l.$$.dirty&33&&c&&o&&e.setClientStylingURL(o,c),l.$$.dirty&129&&d&&o&&e.setStreamStyling(o,`${d}.Style`,u),l.$$.dirty&64&&s&&g()},[o,f,r,a,i,c,s,d,z]}class k extends e.SvelteComponent{constructor(t){super(),e.init(this,t,M,F,e.safe_not_equal,{tourid:3,clientstyling:4,clientstylingurl:5,translationurl:6,mbsource:7},S)}get tourid(){return this.$$.ctx[3]}set tourid(t){this.$$set({tourid:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[6]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[7]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(k,{tourid:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=k;