@everymatrix/casino-tournaments-thumbnail-controller 0.0.170 → 0.0.174

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.
@@ -4641,8 +4641,8 @@
4641
4641
  minbet: 'en düşük bahis sayısı',
4642
4642
  seegames: 'Turnuvadaki oyunları görmek için',
4643
4643
  here: 'tıklayın',
4644
- scheduled: 'Devam eden',
4645
- ongoing: 'Planlanmış',
4644
+ scheduled: 'Planlanmış',
4645
+ ongoing: 'Devam Eden',
4646
4646
  finished: 'Sona Ermiş',
4647
4647
  startingAt: 'BAŞLAMA SAATİ:',
4648
4648
  mostRounds: 'MostRounds',
@@ -7019,12 +7019,12 @@
7019
7019
 
7020
7020
  function get_each_context(ctx, list, i) {
7021
7021
  const child_ctx = ctx.slice();
7022
- child_ctx[34] = list[i];
7023
- child_ctx[36] = i;
7022
+ child_ctx[38] = list[i];
7023
+ child_ctx[40] = i;
7024
7024
  return child_ctx;
7025
7025
  }
7026
7026
 
7027
- // (111:2) {#if games}
7027
+ // (124:2) {#if games}
7028
7028
  function create_if_block$1(ctx) {
7029
7029
  let div0;
7030
7030
  let svg0;
@@ -7067,32 +7067,32 @@
7067
7067
  attr_dev(path0, "stroke-linejoin", "round");
7068
7068
  attr_dev(path0, "stroke-width", "2");
7069
7069
  attr_dev(path0, "d", "M15 19l-7-7 7-7");
7070
- add_location(path0, file$1, 113, 8, 3423);
7070
+ add_location(path0, file$1, 126, 8, 3982);
7071
7071
  attr_dev(svg0, "fill", "none");
7072
7072
  attr_dev(svg0, "stroke", "currentColor");
7073
7073
  attr_dev(svg0, "viewBox", "0 0 24 24");
7074
7074
  attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
7075
- add_location(svg0, file$1, 112, 6, 3320);
7075
+ add_location(svg0, file$1, 125, 6, 3879);
7076
7076
  attr_dev(div0, "class", "SliderNavButton");
7077
- toggle_class(div0, "disabled", /*atStart*/ ctx[5]);
7078
- add_location(div0, file$1, 111, 4, 3231);
7077
+ toggle_class(div0, "disabled", /*atStart*/ ctx[6]);
7078
+ add_location(div0, file$1, 124, 4, 3790);
7079
7079
  attr_dev(div1, "class", "items");
7080
7080
  set_style(div1, "transform", "translateX(" + /*offset*/ ctx[1] + "px)");
7081
- add_location(div1, file$1, 117, 6, 3562);
7082
- add_location(main, file$1, 116, 4, 3549);
7081
+ add_location(div1, file$1, 130, 6, 4121);
7082
+ add_location(main, file$1, 129, 4, 4108);
7083
7083
  attr_dev(path1, "stroke-linecap", "round");
7084
7084
  attr_dev(path1, "stroke-linejoin", "round");
7085
7085
  attr_dev(path1, "stroke-width", "2");
7086
7086
  attr_dev(path1, "d", "M9 5l7 7-7 7");
7087
- add_location(path1, file$1, 128, 8, 4240);
7087
+ add_location(path1, file$1, 141, 8, 4824);
7088
7088
  attr_dev(svg1, "fill", "none");
7089
7089
  attr_dev(svg1, "stroke", "currentColor");
7090
7090
  attr_dev(svg1, "viewBox", "0 0 24 24");
7091
7091
  attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
7092
- add_location(svg1, file$1, 127, 6, 4137);
7092
+ add_location(svg1, file$1, 140, 6, 4721);
7093
7093
  attr_dev(div2, "class", "SliderNavButton");
7094
- toggle_class(div2, "disabled", /*atEnd*/ ctx[6]);
7095
- add_location(div2, file$1, 126, 4, 4051);
7094
+ toggle_class(div2, "disabled", /*atEnd*/ ctx[7]);
7095
+ add_location(div2, file$1, 139, 4, 4635);
7096
7096
  },
7097
7097
  m: function mount(target, anchor) {
7098
7098
  insert_dev(target, div0, anchor);
@@ -7106,6 +7106,7 @@
7106
7106
  each_blocks[i].m(div1, null);
7107
7107
  }
7108
7108
 
7109
+ /*div1_binding*/ ctx[21](div1);
7109
7110
  insert_dev(target, t1, anchor);
7110
7111
  insert_dev(target, div2, anchor);
7111
7112
  append_dev(div2, svg1);
@@ -7113,19 +7114,19 @@
7113
7114
 
7114
7115
  if (!mounted) {
7115
7116
  dispose = [
7116
- listen_dev(div0, "click", /*click_handler*/ ctx[15], false, false, false),
7117
- listen_dev(div2, "click", /*click_handler_2*/ ctx[19], false, false, false)
7117
+ listen_dev(div0, "click", /*click_handler*/ ctx[17], false, false, false),
7118
+ listen_dev(div2, "click", /*click_handler_2*/ ctx[22], false, false, false)
7118
7119
  ];
7119
7120
 
7120
7121
  mounted = true;
7121
7122
  }
7122
7123
  },
7123
7124
  p: function update(ctx, dirty) {
7124
- if (dirty[0] & /*atStart*/ 32) {
7125
- toggle_class(div0, "disabled", /*atStart*/ ctx[5]);
7125
+ if (dirty[0] & /*atStart*/ 64) {
7126
+ toggle_class(div0, "disabled", /*atStart*/ ctx[6]);
7126
7127
  }
7127
7128
 
7128
- if (dirty[0] & /*gameClicked, games, enter, leave, hover, hoverIndex*/ 1433) {
7129
+ if (dirty[0] & /*gameClicked, games, enter, leave, hover, hoverIndex*/ 2841) {
7129
7130
  each_value = /*games*/ ctx[0];
7130
7131
  validate_each_argument(each_value);
7131
7132
  let i;
@@ -7153,8 +7154,8 @@
7153
7154
  set_style(div1, "transform", "translateX(" + /*offset*/ ctx[1] + "px)");
7154
7155
  }
7155
7156
 
7156
- if (dirty[0] & /*atEnd*/ 64) {
7157
- toggle_class(div2, "disabled", /*atEnd*/ ctx[6]);
7157
+ if (dirty[0] & /*atEnd*/ 128) {
7158
+ toggle_class(div2, "disabled", /*atEnd*/ ctx[7]);
7158
7159
  }
7159
7160
  },
7160
7161
  d: function destroy(detaching) {
@@ -7162,6 +7163,7 @@
7162
7163
  if (detaching) detach_dev(t0);
7163
7164
  if (detaching) detach_dev(main);
7164
7165
  destroy_each(each_blocks, detaching);
7166
+ /*div1_binding*/ ctx[21](null);
7165
7167
  if (detaching) detach_dev(t1);
7166
7168
  if (detaching) detach_dev(div2);
7167
7169
  mounted = false;
@@ -7173,14 +7175,14 @@
7173
7175
  block,
7174
7176
  id: create_if_block$1.name,
7175
7177
  type: "if",
7176
- source: "(111:2) {#if games}",
7178
+ source: "(124:2) {#if games}",
7177
7179
  ctx
7178
7180
  });
7179
7181
 
7180
7182
  return block;
7181
7183
  }
7182
7184
 
7183
- // (119:8) {#each games as game, i}
7185
+ // (132:8) {#each games as game, i}
7184
7186
  function create_each_block(ctx) {
7185
7187
  let div;
7186
7188
  let span;
@@ -7196,11 +7198,11 @@
7196
7198
  let dispose;
7197
7199
 
7198
7200
  function click_handler_1() {
7199
- return /*click_handler_1*/ ctx[16](/*game*/ ctx[34]);
7201
+ return /*click_handler_1*/ ctx[18](/*game*/ ctx[38]);
7200
7202
  }
7201
7203
 
7202
7204
  function mouseenter_handler() {
7203
- return /*mouseenter_handler*/ ctx[17](/*i*/ ctx[36]);
7205
+ return /*mouseenter_handler*/ ctx[19](/*i*/ ctx[40]);
7204
7206
  }
7205
7207
 
7206
7208
  const block = {
@@ -7212,19 +7214,19 @@
7212
7214
  img = element("img");
7213
7215
  t2 = space();
7214
7216
 
7215
- attr_dev(span, "class", span_class_value = "PlayNowButton " + (/*hover*/ ctx[3] && /*hoverIndex*/ ctx[4] == /*i*/ ctx[36]
7217
+ attr_dev(span, "class", span_class_value = "PlayNowButton " + (/*hover*/ ctx[3] && /*hoverIndex*/ ctx[4] == /*i*/ ctx[40]
7216
7218
  ? "itemHover"
7217
7219
  : ""));
7218
7220
 
7219
- add_location(span, file$1, 120, 12, 3795);
7220
- if (img.src !== (img_src_value = /*game*/ ctx[34].thumbnail)) attr_dev(img, "src", img_src_value);
7221
+ add_location(span, file$1, 133, 12, 4379);
7222
+ if (img.src !== (img_src_value = /*game*/ ctx[38].thumbnail)) attr_dev(img, "src", img_src_value);
7221
7223
  attr_dev(img, "width", "132px");
7222
7224
  attr_dev(img, "height", "100px");
7223
- attr_dev(img, "alt", img_alt_value = /*game*/ ctx[34].name);
7224
- attr_dev(img, "title", img_title_value = /*game*/ ctx[34].name);
7225
- add_location(img, file$1, 121, 12, 3898);
7225
+ attr_dev(img, "alt", img_alt_value = /*game*/ ctx[38].name);
7226
+ attr_dev(img, "title", img_title_value = /*game*/ ctx[38].name);
7227
+ add_location(img, file$1, 134, 12, 4482);
7226
7228
  attr_dev(div, "class", "item");
7227
- add_location(div, file$1, 119, 10, 3668);
7229
+ add_location(div, file$1, 132, 10, 4252);
7228
7230
  },
7229
7231
  m: function mount(target, anchor) {
7230
7232
  insert_dev(target, div, anchor);
@@ -7238,7 +7240,7 @@
7238
7240
  dispose = [
7239
7241
  listen_dev(div, "click", click_handler_1, false, false, false),
7240
7242
  listen_dev(div, "mouseenter", mouseenter_handler, false, false, false),
7241
- listen_dev(div, "mouseleave", /*mouseleave_handler*/ ctx[18], false, false, false)
7243
+ listen_dev(div, "mouseleave", /*mouseleave_handler*/ ctx[20], false, false, false)
7242
7244
  ];
7243
7245
 
7244
7246
  mounted = true;
@@ -7247,21 +7249,21 @@
7247
7249
  p: function update(new_ctx, dirty) {
7248
7250
  ctx = new_ctx;
7249
7251
 
7250
- if (dirty[0] & /*hover, hoverIndex*/ 24 && span_class_value !== (span_class_value = "PlayNowButton " + (/*hover*/ ctx[3] && /*hoverIndex*/ ctx[4] == /*i*/ ctx[36]
7252
+ if (dirty[0] & /*hover, hoverIndex*/ 24 && span_class_value !== (span_class_value = "PlayNowButton " + (/*hover*/ ctx[3] && /*hoverIndex*/ ctx[4] == /*i*/ ctx[40]
7251
7253
  ? "itemHover"
7252
7254
  : ""))) {
7253
7255
  attr_dev(span, "class", span_class_value);
7254
7256
  }
7255
7257
 
7256
- if (dirty[0] & /*games*/ 1 && img.src !== (img_src_value = /*game*/ ctx[34].thumbnail)) {
7258
+ if (dirty[0] & /*games*/ 1 && img.src !== (img_src_value = /*game*/ ctx[38].thumbnail)) {
7257
7259
  attr_dev(img, "src", img_src_value);
7258
7260
  }
7259
7261
 
7260
- if (dirty[0] & /*games*/ 1 && img_alt_value !== (img_alt_value = /*game*/ ctx[34].name)) {
7262
+ if (dirty[0] & /*games*/ 1 && img_alt_value !== (img_alt_value = /*game*/ ctx[38].name)) {
7261
7263
  attr_dev(img, "alt", img_alt_value);
7262
7264
  }
7263
7265
 
7264
- if (dirty[0] & /*games*/ 1 && img_title_value !== (img_title_value = /*game*/ ctx[34].name)) {
7266
+ if (dirty[0] & /*games*/ 1 && img_title_value !== (img_title_value = /*game*/ ctx[38].name)) {
7265
7267
  attr_dev(img, "title", img_title_value);
7266
7268
  }
7267
7269
  },
@@ -7276,7 +7278,7 @@
7276
7278
  block,
7277
7279
  id: create_each_block.name,
7278
7280
  type: "each",
7279
- source: "(119:8) {#each games as game, i}",
7281
+ source: "(132:8) {#each games as game, i}",
7280
7282
  ctx
7281
7283
  });
7282
7284
 
@@ -7293,7 +7295,7 @@
7293
7295
  if (if_block) if_block.c();
7294
7296
  this.c = noop$1;
7295
7297
  attr_dev(div, "class", "TournamentsGamesSlider");
7296
- add_location(div, file$1, 109, 0, 3157);
7298
+ add_location(div, file$1, 122, 0, 3716);
7297
7299
  },
7298
7300
  l: function claim(nodes) {
7299
7301
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -7301,7 +7303,7 @@
7301
7303
  m: function mount(target, anchor) {
7302
7304
  insert_dev(target, div, anchor);
7303
7305
  if (if_block) if_block.m(div, null);
7304
- /*div_binding*/ ctx[20](div);
7306
+ /*div_binding*/ ctx[23](div);
7305
7307
  },
7306
7308
  p: function update(ctx, dirty) {
7307
7309
  if (/*games*/ ctx[0]) {
@@ -7322,7 +7324,7 @@
7322
7324
  d: function destroy(detaching) {
7323
7325
  if (detaching) detach_dev(div);
7324
7326
  if (if_block) if_block.d();
7325
- /*div_binding*/ ctx[20](null);
7327
+ /*div_binding*/ ctx[23](null);
7326
7328
  }
7327
7329
  };
7328
7330
 
@@ -7358,6 +7360,8 @@
7358
7360
  let yDown = null;
7359
7361
  let hover = false;
7360
7362
  let hoverIndex;
7363
+ let gamesElement;
7364
+ let gamesElementWidth = 0;
7361
7365
 
7362
7366
  const enter = index => {
7363
7367
  $$invalidate(3, hover = true);
@@ -7401,8 +7405,10 @@
7401
7405
  const move = direction => {
7402
7406
  if (direction > 0 && !atEnd) {
7403
7407
  $$invalidate(1, offset -= totalPaginationPixels);
7408
+ $$invalidate(1, offset = offset < gamesElementWidth ? gamesElementWidth : offset);
7404
7409
  } else if (direction < 0 && !atStart) {
7405
7410
  $$invalidate(1, offset += totalPaginationPixels);
7411
+ $$invalidate(1, offset = offset > 0 ? 0 : offset);
7406
7412
  }
7407
7413
  };
7408
7414
 
@@ -7424,7 +7430,7 @@
7424
7430
  url.searchParams.append("pagination", `games(limit=${limit},offset=${offset})`);
7425
7431
  url.searchParams.append("fields", "games(id,name,thumbnail)");
7426
7432
  url.searchParams.append("language", lang);
7427
- reqHeaders.append("platform", getDevice(userAgent));
7433
+ url.searchParams.append("platform", getDevice(userAgent));
7428
7434
  let requestOptions = { method: "GET", headers: reqHeaders };
7429
7435
 
7430
7436
  fetch(url, requestOptions).then(res => res.json()).then(data => {
@@ -7442,6 +7448,18 @@
7442
7448
  slider.addEventListener("touchmove", handleTouchMove, { passive: true });
7443
7449
  };
7444
7450
 
7451
+ //calculate pagfactor by games length to avoid empty in the games end
7452
+ const recalculatePagfactor = () => {
7453
+ setTimeout(
7454
+ () => {
7455
+ $$invalidate(16, gamesElementWidth = (gamesElement.scrollWidth - gamesElement.clientWidth) * -1);
7456
+ $$invalidate(12, pagfactor = new String(gamesElement.scrollWidth / games.length));
7457
+ totalPaginationPixels = parseInt(scrollby, 10) * parseFloat(pagfactor, 2).toFixed(2);
7458
+ },
7459
+ 1000
7460
+ );
7461
+ };
7462
+
7445
7463
  onMount(() => {
7446
7464
  totalPaginationPixels = parseInt(scrollby, 10) * parseInt(pagfactor, 10);
7447
7465
 
@@ -7462,6 +7480,14 @@
7462
7480
  const click_handler_1 = game => gameClicked(game);
7463
7481
  const mouseenter_handler = i => enter(i);
7464
7482
  const mouseleave_handler = () => leave();
7483
+
7484
+ function div1_binding($$value) {
7485
+ binding_callbacks[$$value ? "unshift" : "push"](() => {
7486
+ gamesElement = $$value;
7487
+ $$invalidate(5, gamesElement);
7488
+ });
7489
+ }
7490
+
7465
7491
  const click_handler_2 = () => move(1);
7466
7492
 
7467
7493
  function div_binding($$value) {
@@ -7472,10 +7498,10 @@
7472
7498
  }
7473
7499
 
7474
7500
  $$self.$$set = $$props => {
7475
- if ("tournamenturl" in $$props) $$invalidate(11, tournamenturl = $$props.tournamenturl);
7476
- if ("scrollby" in $$props) $$invalidate(12, scrollby = $$props.scrollby);
7477
- if ("pagfactor" in $$props) $$invalidate(13, pagfactor = $$props.pagfactor);
7478
- if ("lang" in $$props) $$invalidate(14, lang = $$props.lang);
7501
+ if ("tournamenturl" in $$props) $$invalidate(13, tournamenturl = $$props.tournamenturl);
7502
+ if ("scrollby" in $$props) $$invalidate(14, scrollby = $$props.scrollby);
7503
+ if ("pagfactor" in $$props) $$invalidate(12, pagfactor = $$props.pagfactor);
7504
+ if ("lang" in $$props) $$invalidate(15, lang = $$props.lang);
7479
7505
  };
7480
7506
 
7481
7507
  $$self.$capture_state = () => ({
@@ -7497,6 +7523,8 @@
7497
7523
  yDown,
7498
7524
  hover,
7499
7525
  hoverIndex,
7526
+ gamesElement,
7527
+ gamesElementWidth,
7500
7528
  enter,
7501
7529
  leave,
7502
7530
  getTouches,
@@ -7507,15 +7535,16 @@
7507
7535
  fetchData,
7508
7536
  getTotalPixels,
7509
7537
  addEventListeners,
7538
+ recalculatePagfactor,
7510
7539
  atStart,
7511
7540
  atEnd
7512
7541
  });
7513
7542
 
7514
7543
  $$self.$inject_state = $$props => {
7515
- if ("tournamenturl" in $$props) $$invalidate(11, tournamenturl = $$props.tournamenturl);
7516
- if ("scrollby" in $$props) $$invalidate(12, scrollby = $$props.scrollby);
7517
- if ("pagfactor" in $$props) $$invalidate(13, pagfactor = $$props.pagfactor);
7518
- if ("lang" in $$props) $$invalidate(14, lang = $$props.lang);
7544
+ if ("tournamenturl" in $$props) $$invalidate(13, tournamenturl = $$props.tournamenturl);
7545
+ if ("scrollby" in $$props) $$invalidate(14, scrollby = $$props.scrollby);
7546
+ if ("pagfactor" in $$props) $$invalidate(12, pagfactor = $$props.pagfactor);
7547
+ if ("lang" in $$props) $$invalidate(15, lang = $$props.lang);
7519
7548
  if ("userAgent" in $$props) userAgent = $$props.userAgent;
7520
7549
  if ("items" in $$props) items = $$props.items;
7521
7550
  if ("totalPaginationPixels" in $$props) totalPaginationPixels = $$props.totalPaginationPixels;
@@ -7528,8 +7557,10 @@
7528
7557
  if ("yDown" in $$props) yDown = $$props.yDown;
7529
7558
  if ("hover" in $$props) $$invalidate(3, hover = $$props.hover);
7530
7559
  if ("hoverIndex" in $$props) $$invalidate(4, hoverIndex = $$props.hoverIndex);
7531
- if ("atStart" in $$props) $$invalidate(5, atStart = $$props.atStart);
7532
- if ("atEnd" in $$props) $$invalidate(6, atEnd = $$props.atEnd);
7560
+ if ("gamesElement" in $$props) $$invalidate(5, gamesElement = $$props.gamesElement);
7561
+ if ("gamesElementWidth" in $$props) $$invalidate(16, gamesElementWidth = $$props.gamesElementWidth);
7562
+ if ("atStart" in $$props) $$invalidate(6, atStart = $$props.atStart);
7563
+ if ("atEnd" in $$props) $$invalidate(7, atEnd = $$props.atEnd);
7533
7564
  };
7534
7565
 
7535
7566
  if ($$props && "$$inject" in $$props) {
@@ -7538,14 +7569,14 @@
7538
7569
 
7539
7570
  $$self.$$.update = () => {
7540
7571
  if ($$self.$$.dirty[0] & /*offset*/ 2) {
7541
- $$invalidate(5, atStart = offset === 0);
7572
+ $$invalidate(6, atStart = offset === 0);
7542
7573
  }
7543
7574
 
7544
- if ($$self.$$.dirty[0] & /*offset, pagfactor, games, scrollby*/ 12291) {
7545
- $$invalidate(6, atEnd = offset <= parseInt(pagfactor, 10) * (games.length - parseInt(scrollby, 10)) * -1);
7575
+ if ($$self.$$.dirty[0] & /*offset, gamesElementWidth*/ 65538) {
7576
+ $$invalidate(7, atEnd = offset <= gamesElementWidth);
7546
7577
  }
7547
7578
 
7548
- if ($$self.$$.dirty[0] & /*tournamenturl*/ 2048) {
7579
+ if ($$self.$$.dirty[0] & /*tournamenturl*/ 8192) {
7549
7580
  tournamenturl && fetchData();
7550
7581
  }
7551
7582
 
@@ -7554,6 +7585,10 @@
7554
7585
  // $: scrollby && pagfactor && getTotalPixels();
7555
7586
  slider && addEventListeners();
7556
7587
  }
7588
+
7589
+ if ($$self.$$.dirty[0] & /*games*/ 1) {
7590
+ games.length && recalculatePagfactor();
7591
+ }
7557
7592
  };
7558
7593
 
7559
7594
  $$invalidate(1, offset = 0);
@@ -7564,20 +7599,23 @@
7564
7599
  slider,
7565
7600
  hover,
7566
7601
  hoverIndex,
7602
+ gamesElement,
7567
7603
  atStart,
7568
7604
  atEnd,
7569
7605
  enter,
7570
7606
  leave,
7571
7607
  move,
7572
7608
  gameClicked,
7609
+ pagfactor,
7573
7610
  tournamenturl,
7574
7611
  scrollby,
7575
- pagfactor,
7576
7612
  lang,
7613
+ gamesElementWidth,
7577
7614
  click_handler,
7578
7615
  click_handler_1,
7579
7616
  mouseenter_handler,
7580
7617
  mouseleave_handler,
7618
+ div1_binding,
7581
7619
  click_handler_2,
7582
7620
  div_binding
7583
7621
  ];
@@ -7586,7 +7624,7 @@
7586
7624
  class CasinoTournamentsThumbnailGamesSlider extends SvelteElement {
7587
7625
  constructor(options) {
7588
7626
  super();
7589
- this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Helvetica Neue", "Helvetica", sans-serif}.TournamentsGamesSlider{background:#0a0c19;color:#fff;display:flex;justify-content:center}.disabled{color:#3B3C47}.SliderNavButton{background:#0a0c19;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:#ef4322;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:#28a745;display:block;box-sizing:border-box;padding:0.8rem .5rem;color:#fff;text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity .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}</style>`;
7627
+ this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Helvetica Neue", "Helvetica", sans-serif}.TournamentsGamesSlider{background:#0a0c19;color:#fff;display:flex;justify-content:center}.disabled{color:#3B3C47}.SliderNavButton{background:#0a0c19;border:0px;width:25px;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:#ef4322;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:#28a745;display:block;box-sizing:border-box;padding:0.8rem .5rem;color:#fff;text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity .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}</style>`;
7590
7628
 
7591
7629
  init(
7592
7630
  this,
@@ -7599,10 +7637,10 @@
7599
7637
  create_fragment$1,
7600
7638
  safe_not_equal,
7601
7639
  {
7602
- tournamenturl: 11,
7603
- scrollby: 12,
7604
- pagfactor: 13,
7605
- lang: 14
7640
+ tournamenturl: 13,
7641
+ scrollby: 14,
7642
+ pagfactor: 12,
7643
+ lang: 15
7606
7644
  },
7607
7645
  [-1, -1]
7608
7646
  );
@@ -7624,7 +7662,7 @@
7624
7662
  }
7625
7663
 
7626
7664
  get tournamenturl() {
7627
- return this.$$.ctx[11];
7665
+ return this.$$.ctx[13];
7628
7666
  }
7629
7667
 
7630
7668
  set tournamenturl(tournamenturl) {
@@ -7633,7 +7671,7 @@
7633
7671
  }
7634
7672
 
7635
7673
  get scrollby() {
7636
- return this.$$.ctx[12];
7674
+ return this.$$.ctx[14];
7637
7675
  }
7638
7676
 
7639
7677
  set scrollby(scrollby) {
@@ -7642,7 +7680,7 @@
7642
7680
  }
7643
7681
 
7644
7682
  get pagfactor() {
7645
- return this.$$.ctx[13];
7683
+ return this.$$.ctx[12];
7646
7684
  }
7647
7685
 
7648
7686
  set pagfactor(pagfactor) {
@@ -7651,7 +7689,7 @@
7651
7689
  }
7652
7690
 
7653
7691
  get lang() {
7654
- return this.$$.ctx[14];
7692
+ return this.$$.ctx[15];
7655
7693
  }
7656
7694
 
7657
7695
  set lang(lang) {
@@ -8635,7 +8673,6 @@
8635
8673
  set_custom_element_data(casino_tournaments_thumbnail_games_slider, "tournamenturl", /*tournamenturl*/ ctx[2]);
8636
8674
  set_custom_element_data(casino_tournaments_thumbnail_games_slider, "lang", /*lang*/ ctx[8]);
8637
8675
  set_custom_element_data(casino_tournaments_thumbnail_games_slider, "scrollby", "2");
8638
- set_custom_element_data(casino_tournaments_thumbnail_games_slider, "pagfactor", "130");
8639
8676
  add_location(casino_tournaments_thumbnail_games_slider, file, 266, 6, 8864);
8640
8677
  },
8641
8678
  m: function mount(target, anchor) {