@everymatrix/casino-tournaments-page-controller 0.0.117 → 0.0.121

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,10 +4641,10 @@
4641
4641
  },
4642
4642
  tr: {
4643
4643
  tournamentsPage: {
4644
- loading: 'Loading, please wait ...',
4645
- back: 'Back',
4646
- previous: 'Previous',
4647
- next: 'Next',
4644
+ loading: 'Yükelniyor, lütfen bekleyin…',
4645
+ back: 'Geri',
4646
+ previous: 'Önceki',
4647
+ next: 'Sonraki',
4648
4648
  }
4649
4649
  },
4650
4650
  };
@@ -5153,7 +5153,10 @@
5153
5153
  scoreCriteria: 'Score Criteria',
5154
5154
  minbet: 'min bet counts: ',
5155
5155
  seegames: 'You can see the games',
5156
- here: 'here'
5156
+ here: 'here',
5157
+ scheduled: 'Scheduled',
5158
+ ongoing: 'OnGoing',
5159
+ finished: 'Finished'
5157
5160
  }
5158
5161
  },
5159
5162
  tr: {
@@ -5162,7 +5165,10 @@
5162
5165
  scoreCriteria: 'Skor kriteri',
5163
5166
  minbet: 'en düşük bahis sayısı: ',
5164
5167
  seegames: 'Oyunları görebilirsiniz',
5165
- here: 'burada'
5168
+ here: 'burada',
5169
+ scheduled: 'Scheduledddd',
5170
+ ongoing: 'OnGoinggggg',
5171
+ finished: 'Finisheddddd'
5166
5172
  }
5167
5173
  },
5168
5174
  };
@@ -5184,7 +5190,7 @@
5184
5190
  div = element("div");
5185
5191
  t = text(/*shownStatus*/ ctx[12]);
5186
5192
  attr_dev(div, "class", "Status");
5187
- add_location(div, file$6, 74, 4, 2238);
5193
+ add_location(div, file$6, 74, 4, 2313);
5188
5194
  },
5189
5195
  m: function mount(target, anchor) {
5190
5196
  insert_dev(target, div, anchor);
@@ -5272,7 +5278,7 @@
5272
5278
  div = element("div");
5273
5279
  t = text(t_value);
5274
5280
  attr_dev(div, "class", "Enrolled");
5275
- add_location(div, file$6, 79, 6, 2363);
5281
+ add_location(div, file$6, 79, 6, 2438);
5276
5282
  },
5277
5283
  m: function mount(target, anchor) {
5278
5284
  insert_dev(target, div, anchor);
@@ -5308,12 +5314,12 @@
5308
5314
  c: function create() {
5309
5315
  div = element("div");
5310
5316
 
5311
- attr_dev(div, "class", div_class_value = "CardImg " + (/*shownStatus*/ ctx[12] == "Finished"
5317
+ attr_dev(div, "class", div_class_value = "CardImg " + (/*status*/ ctx[2] == "Closing" || /*status*/ ctx[2] == "Closed"
5312
5318
  ? "CardImgFinished"
5313
5319
  : ""));
5314
5320
 
5315
5321
  set_style(div, "background", "url('https://i.stack.imgur.com/y9DpT.jpg') center no-repeat");
5316
- add_location(div, file$6, 85, 4, 2619);
5322
+ add_location(div, file$6, 85, 4, 2712);
5317
5323
  },
5318
5324
  m: function mount(target, anchor) {
5319
5325
  insert_dev(target, div, anchor);
@@ -5324,7 +5330,7 @@
5324
5330
  }
5325
5331
  },
5326
5332
  p: function update(ctx, dirty) {
5327
- if (dirty & /*shownStatus*/ 4096 && div_class_value !== (div_class_value = "CardImg " + (/*shownStatus*/ ctx[12] == "Finished"
5333
+ if (dirty & /*status*/ 4 && div_class_value !== (div_class_value = "CardImg " + (/*status*/ ctx[2] == "Closing" || /*status*/ ctx[2] == "Closed"
5328
5334
  ? "CardImgFinished"
5329
5335
  : ""))) {
5330
5336
  attr_dev(div, "class", div_class_value);
@@ -5359,12 +5365,12 @@
5359
5365
  c: function create() {
5360
5366
  div = element("div");
5361
5367
 
5362
- attr_dev(div, "class", div_class_value = "CardImg " + (/*shownStatus*/ ctx[12] == "Finished"
5368
+ attr_dev(div, "class", div_class_value = "CardImg " + (/*status*/ ctx[2] == "Closing" || /*status*/ ctx[2] == "Closed"
5363
5369
  ? "CardImgFinished"
5364
5370
  : ""));
5365
5371
 
5366
5372
  set_style(div, "background", "url('" + /*thumbnail*/ ctx[4] + "')");
5367
- add_location(div, file$6, 83, 4, 2469);
5373
+ add_location(div, file$6, 83, 4, 2544);
5368
5374
  },
5369
5375
  m: function mount(target, anchor) {
5370
5376
  insert_dev(target, div, anchor);
@@ -5375,7 +5381,7 @@
5375
5381
  }
5376
5382
  },
5377
5383
  p: function update(ctx, dirty) {
5378
- if (dirty & /*shownStatus*/ 4096 && div_class_value !== (div_class_value = "CardImg " + (/*shownStatus*/ ctx[12] == "Finished"
5384
+ if (dirty & /*status*/ 4 && div_class_value !== (div_class_value = "CardImg " + (/*status*/ ctx[2] == "Closing" || /*status*/ ctx[2] == "Closed"
5379
5385
  ? "CardImgFinished"
5380
5386
  : ""))) {
5381
5387
  attr_dev(div, "class", div_class_value);
@@ -5416,7 +5422,7 @@
5416
5422
  div = element("div");
5417
5423
  t = text(/*shownDate*/ ctx[10]);
5418
5424
  attr_dev(div, "class", "Date");
5419
- add_location(div, file$6, 91, 6, 2892);
5425
+ add_location(div, file$6, 91, 6, 3003);
5420
5426
  },
5421
5427
  m: function mount(target, anchor) {
5422
5428
  insert_dev(target, div, anchor);
@@ -5487,15 +5493,15 @@
5487
5493
  t6 = space();
5488
5494
  a = element("a");
5489
5495
  t7 = text(t7_value);
5490
- add_location(p0, file$6, 96, 8, 3029);
5496
+ add_location(p0, file$6, 96, 8, 3140);
5491
5497
  attr_dev(div0, "class", "ScoreCriteria");
5492
- add_location(div0, file$6, 95, 6, 2993);
5498
+ add_location(div0, file$6, 95, 6, 3104);
5493
5499
  attr_dev(a, "href", /*gameurl*/ ctx[9]);
5494
5500
  attr_dev(a, "target", "_blank");
5495
- add_location(a, file$6, 105, 49, 3325);
5496
- add_location(p1, file$6, 105, 8, 3284);
5501
+ add_location(a, file$6, 105, 49, 3436);
5502
+ add_location(p1, file$6, 105, 8, 3395);
5497
5503
  attr_dev(div1, "class", "Games");
5498
- add_location(div1, file$6, 104, 6, 3256);
5504
+ add_location(div1, file$6, 104, 6, 3367);
5499
5505
  },
5500
5506
  m: function mount(target, anchor) {
5501
5507
  insert_dev(target, div0, anchor);
@@ -5652,11 +5658,11 @@
5652
5658
  if (if_block4) if_block4.c();
5653
5659
  this.c = noop$1;
5654
5660
  attr_dev(div0, "class", "Title");
5655
- add_location(div0, file$6, 89, 4, 2833);
5661
+ add_location(div0, file$6, 89, 4, 2944);
5656
5662
  attr_dev(div1, "class", "Details");
5657
- add_location(div1, file$6, 88, 2, 2807);
5663
+ add_location(div1, file$6, 88, 2, 2918);
5658
5664
  attr_dev(div2, "class", "Thumbnail");
5659
- add_location(div2, file$6, 72, 0, 2195);
5665
+ add_location(div2, file$6, 72, 0, 2270);
5660
5666
  },
5661
5667
  l: function claim(nodes) {
5662
5668
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -5822,15 +5828,15 @@
5822
5828
 
5823
5829
  const matchStatus = () => {
5824
5830
  if (status == "Unstarted") {
5825
- $$invalidate(12, shownStatus = "Scheduled");
5831
+ $$invalidate(12, shownStatus = $_("tournamentsThumbnail.scheduled"));
5826
5832
  }
5827
5833
 
5828
5834
  if (status == "Running") {
5829
- $$invalidate(12, shownStatus = "Ongoing");
5835
+ $$invalidate(12, shownStatus = $_("tournamentsThumbnail.ongoing"));
5830
5836
  }
5831
5837
 
5832
5838
  if (status == "Closed" || status == "Closing") {
5833
- $$invalidate(12, shownStatus = "Finished");
5839
+ $$invalidate(12, shownStatus = $_("tournamentsThumbnail.finished"));
5834
5840
  }
5835
5841
  };
5836
5842
 
@@ -6184,7 +6190,7 @@
6184
6190
  const { Object: Object_1$4 } = globals;
6185
6191
  const file$5 = "../casino-tournaments-thumbnail-duration/src/CasinoTournmanetsThumbnailDuration.svelte";
6186
6192
 
6187
- // (71:2) {#if startdate && enddate}
6193
+ // (72:2) {#if startdate && enddate}
6188
6194
  function create_if_block$5(ctx) {
6189
6195
  let div2;
6190
6196
  let div0;
@@ -6218,13 +6224,13 @@
6218
6224
  div3 = element("div");
6219
6225
  if_block.c();
6220
6226
  attr_dev(div0, "class", "StartDate");
6221
- add_location(div0, file$5, 72, 6, 2439);
6227
+ add_location(div0, file$5, 73, 6, 2460);
6222
6228
  attr_dev(div1, "class", "EndDate");
6223
- add_location(div1, file$5, 73, 6, 2506);
6229
+ add_location(div1, file$5, 74, 6, 2527);
6224
6230
  attr_dev(div2, "class", "TournamentDates");
6225
- add_location(div2, file$5, 71, 4, 2403);
6231
+ add_location(div2, file$5, 72, 4, 2424);
6226
6232
  attr_dev(div3, "class", "ProgressBar");
6227
- add_location(div3, file$5, 75, 4, 2576);
6233
+ add_location(div3, file$5, 76, 4, 2597);
6228
6234
  },
6229
6235
  m: function mount(target, anchor) {
6230
6236
  insert_dev(target, div2, anchor);
@@ -6277,14 +6283,14 @@
6277
6283
  block,
6278
6284
  id: create_if_block$5.name,
6279
6285
  type: "if",
6280
- source: "(71:2) {#if startdate && enddate}",
6286
+ source: "(72:2) {#if startdate && enddate}",
6281
6287
  ctx
6282
6288
  });
6283
6289
 
6284
6290
  return block;
6285
6291
  }
6286
6292
 
6287
- // (84:8) {:else}
6293
+ // (85:8) {:else}
6288
6294
  function create_else_block$4(ctx) {
6289
6295
  let div;
6290
6296
  let t;
@@ -6299,7 +6305,7 @@
6299
6305
  if_block_anchor = empty();
6300
6306
  attr_dev(div, "class", "ProgressBarFill");
6301
6307
  set_style(div, "width", /*progress*/ ctx[7] + "%");
6302
- add_location(div, file$5, 84, 10, 3089);
6308
+ add_location(div, file$5, 85, 10, 3110);
6303
6309
  },
6304
6310
  m: function mount(target, anchor) {
6305
6311
  insert_dev(target, div, anchor);
@@ -6337,14 +6343,14 @@
6337
6343
  block,
6338
6344
  id: create_else_block$4.name,
6339
6345
  type: "else",
6340
- source: "(84:8) {:else}",
6346
+ source: "(85:8) {:else}",
6341
6347
  ctx
6342
6348
  });
6343
6349
 
6344
6350
  return block;
6345
6351
  }
6346
6352
 
6347
- // (81:8) {#if tournamentUntilStartDays > 0}
6353
+ // (82:8) {#if tournamentUntilStartDays > 0}
6348
6354
  function create_if_block_2$3(ctx) {
6349
6355
  let div0;
6350
6356
  let t0;
@@ -6368,9 +6374,9 @@
6368
6374
  t4 = space();
6369
6375
  t5 = text(t5_value);
6370
6376
  attr_dev(div0, "class", "ProgressBarFillStarting");
6371
- add_location(div0, file$5, 81, 10, 2883);
6377
+ add_location(div0, file$5, 82, 10, 2904);
6372
6378
  attr_dev(div1, "class", "Remaining");
6373
- add_location(div1, file$5, 82, 10, 2937);
6379
+ add_location(div1, file$5, 83, 10, 2958);
6374
6380
  },
6375
6381
  m: function mount(target, anchor) {
6376
6382
  insert_dev(target, div0, anchor);
@@ -6398,14 +6404,14 @@
6398
6404
  block,
6399
6405
  id: create_if_block_2$3.name,
6400
6406
  type: "if",
6401
- source: "(81:8) {#if tournamentUntilStartDays > 0}",
6407
+ source: "(82:8) {#if tournamentUntilStartDays > 0}",
6402
6408
  ctx
6403
6409
  });
6404
6410
 
6405
6411
  return block;
6406
6412
  }
6407
6413
 
6408
- // (77:6) {#if status == 'Finished' || status == 'Closing' || status == 'Closed'}
6414
+ // (78:6) {#if status == 'Finished' || status == 'Closing' || status == 'Closed'}
6409
6415
  function create_if_block_1$3(ctx) {
6410
6416
  let div0;
6411
6417
  let t0;
@@ -6420,9 +6426,9 @@
6420
6426
  div1 = element("div");
6421
6427
  t1 = text(t1_value);
6422
6428
  attr_dev(div0, "class", "ProgressBarFillEnd");
6423
- add_location(div0, file$5, 77, 8, 2704);
6429
+ add_location(div0, file$5, 78, 8, 2725);
6424
6430
  attr_dev(div1, "class", "Finished");
6425
- add_location(div1, file$5, 78, 8, 2751);
6431
+ add_location(div1, file$5, 79, 8, 2772);
6426
6432
  },
6427
6433
  m: function mount(target, anchor) {
6428
6434
  insert_dev(target, div0, anchor);
@@ -6444,14 +6450,14 @@
6444
6450
  block,
6445
6451
  id: create_if_block_1$3.name,
6446
6452
  type: "if",
6447
- source: "(77:6) {#if status == 'Finished' || status == 'Closing' || status == 'Closed'}",
6453
+ source: "(78:6) {#if status == 'Finished' || status == 'Closing' || status == 'Closed'}",
6448
6454
  ctx
6449
6455
  });
6450
6456
 
6451
6457
  return block;
6452
6458
  }
6453
6459
 
6454
- // (86:10) {#if tournamentLeftDays > 0}
6460
+ // (87:10) {#if tournamentLeftDays > 0}
6455
6461
  function create_if_block_3$3(ctx) {
6456
6462
  let t0;
6457
6463
  let t1;
@@ -6531,14 +6537,14 @@
6531
6537
  block,
6532
6538
  id: create_if_block_3$3.name,
6533
6539
  type: "if",
6534
- source: "(86:10) {#if tournamentLeftDays > 0}",
6540
+ source: "(87:10) {#if tournamentLeftDays > 0}",
6535
6541
  ctx
6536
6542
  });
6537
6543
 
6538
6544
  return block;
6539
6545
  }
6540
6546
 
6541
- // (87:12) {#if diffMinutes}
6547
+ // (88:12) {#if diffMinutes}
6542
6548
  function create_if_block_6$2(ctx) {
6543
6549
  let div;
6544
6550
  let t0;
@@ -6553,7 +6559,7 @@
6553
6559
  t1 = space();
6554
6560
  t2 = text(t2_value);
6555
6561
  attr_dev(div, "class", "Remaining");
6556
- add_location(div, file$5, 87, 14, 3234);
6562
+ add_location(div, file$5, 88, 14, 3255);
6557
6563
  },
6558
6564
  m: function mount(target, anchor) {
6559
6565
  insert_dev(target, div, anchor);
@@ -6574,14 +6580,14 @@
6574
6580
  block,
6575
6581
  id: create_if_block_6$2.name,
6576
6582
  type: "if",
6577
- source: "(87:12) {#if diffMinutes}",
6583
+ source: "(88:12) {#if diffMinutes}",
6578
6584
  ctx
6579
6585
  });
6580
6586
 
6581
6587
  return block;
6582
6588
  }
6583
6589
 
6584
- // (90:12) {#if diffHours}
6590
+ // (91:12) {#if diffHours}
6585
6591
  function create_if_block_5$2(ctx) {
6586
6592
  let div;
6587
6593
  let t0;
@@ -6596,7 +6602,7 @@
6596
6602
  t1 = space();
6597
6603
  t2 = text(t2_value);
6598
6604
  attr_dev(div, "class", "Remaining");
6599
- add_location(div, file$5, 90, 14, 3384);
6605
+ add_location(div, file$5, 91, 14, 3405);
6600
6606
  },
6601
6607
  m: function mount(target, anchor) {
6602
6608
  insert_dev(target, div, anchor);
@@ -6617,14 +6623,14 @@
6617
6623
  block,
6618
6624
  id: create_if_block_5$2.name,
6619
6625
  type: "if",
6620
- source: "(90:12) {#if diffHours}",
6626
+ source: "(91:12) {#if diffHours}",
6621
6627
  ctx
6622
6628
  });
6623
6629
 
6624
6630
  return block;
6625
6631
  }
6626
6632
 
6627
- // (93:12) {#if diffDays}
6633
+ // (94:12) {#if diffDays}
6628
6634
  function create_if_block_4$3(ctx) {
6629
6635
  let div;
6630
6636
  let t0;
@@ -6639,7 +6645,7 @@
6639
6645
  t1 = space();
6640
6646
  t2 = text(t2_value);
6641
6647
  attr_dev(div, "class", "Remaining");
6642
- add_location(div, file$5, 93, 14, 3531);
6648
+ add_location(div, file$5, 94, 14, 3552);
6643
6649
  },
6644
6650
  m: function mount(target, anchor) {
6645
6651
  insert_dev(target, div, anchor);
@@ -6660,7 +6666,7 @@
6660
6666
  block,
6661
6667
  id: create_if_block_4$3.name,
6662
6668
  type: "if",
6663
- source: "(93:12) {#if diffDays}",
6669
+ source: "(94:12) {#if diffDays}",
6664
6670
  ctx
6665
6671
  });
6666
6672
 
@@ -6677,7 +6683,7 @@
6677
6683
  if (if_block) if_block.c();
6678
6684
  this.c = noop$1;
6679
6685
  attr_dev(div, "class", "TournamentDuration");
6680
- add_location(div, file$5, 69, 0, 2337);
6686
+ add_location(div, file$5, 70, 0, 2358);
6681
6687
  },
6682
6688
  l: function claim(nodes) {
6683
6689
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -6728,6 +6734,7 @@
6728
6734
  let { startdate = "" } = $$props;
6729
6735
  let { enddate = "" } = $$props;
6730
6736
  let { status = "" } = $$props;
6737
+ let { lang = "en" } = $$props;
6731
6738
  let startDate = "";
6732
6739
  let endDate = "";
6733
6740
  let tournamentDuration = "";
@@ -6746,7 +6753,7 @@
6746
6753
  const formatDate = date => {
6747
6754
  const dateOptions = { month: "long" };
6748
6755
  let currentDate = new Date(date);
6749
- let currentMonth = new Intl.DateTimeFormat("en-GB", dateOptions).format(currentDate);
6756
+ let currentMonth = new Intl.DateTimeFormat(lang, dateOptions).format(currentDate);
6750
6757
  let currentDay = currentDate.getDate();
6751
6758
  return `${currentDay} ${currentMonth}, ${currentDate.toLocaleString("en-GB", { hour: "numeric", minute: "numeric" })}, ${currentDate.getUTCFullYear()}`;
6752
6759
  };
@@ -6794,7 +6801,7 @@
6794
6801
  }
6795
6802
  };
6796
6803
 
6797
- const writable_props = ["startdate", "enddate", "status"];
6804
+ const writable_props = ["startdate", "enddate", "status", "lang"];
6798
6805
 
6799
6806
  Object_1$4.keys($$props).forEach(key => {
6800
6807
  if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<undefined> was created with unknown prop '${key}'`);
@@ -6804,6 +6811,7 @@
6804
6811
  if ("startdate" in $$props) $$invalidate(0, startdate = $$props.startdate);
6805
6812
  if ("enddate" in $$props) $$invalidate(1, enddate = $$props.enddate);
6806
6813
  if ("status" in $$props) $$invalidate(2, status = $$props.status);
6814
+ if ("lang" in $$props) $$invalidate(15, lang = $$props.lang);
6807
6815
  };
6808
6816
 
6809
6817
  $$self.$capture_state = () => ({
@@ -6814,6 +6822,7 @@
6814
6822
  startdate,
6815
6823
  enddate,
6816
6824
  status,
6825
+ lang,
6817
6826
  startDate,
6818
6827
  endDate,
6819
6828
  tournamentDuration,
@@ -6836,6 +6845,7 @@
6836
6845
  if ("startdate" in $$props) $$invalidate(0, startdate = $$props.startdate);
6837
6846
  if ("enddate" in $$props) $$invalidate(1, enddate = $$props.enddate);
6838
6847
  if ("status" in $$props) $$invalidate(2, status = $$props.status);
6848
+ if ("lang" in $$props) $$invalidate(15, lang = $$props.lang);
6839
6849
  if ("startDate" in $$props) $$invalidate(3, startDate = $$props.startDate);
6840
6850
  if ("endDate" in $$props) $$invalidate(4, endDate = $$props.endDate);
6841
6851
  if ("tournamentDuration" in $$props) tournamentDuration = $$props.tournamentDuration;
@@ -6867,7 +6877,8 @@
6867
6877
  $_,
6868
6878
  formatStartDate,
6869
6879
  formatEndDate,
6870
- getDuration
6880
+ getDuration,
6881
+ lang
6871
6882
  ];
6872
6883
  }
6873
6884
 
@@ -6886,7 +6897,12 @@
6886
6897
  instance$5,
6887
6898
  create_fragment$5,
6888
6899
  safe_not_equal,
6889
- { startdate: 0, enddate: 1, status: 2 }
6900
+ {
6901
+ startdate: 0,
6902
+ enddate: 1,
6903
+ status: 2,
6904
+ lang: 15
6905
+ }
6890
6906
  );
6891
6907
 
6892
6908
  if (options) {
@@ -6902,7 +6918,7 @@
6902
6918
  }
6903
6919
 
6904
6920
  static get observedAttributes() {
6905
- return ["startdate", "enddate", "status"];
6921
+ return ["startdate", "enddate", "status", "lang"];
6906
6922
  }
6907
6923
 
6908
6924
  get startdate() {
@@ -6931,6 +6947,15 @@
6931
6947
  this.$set({ status });
6932
6948
  flush();
6933
6949
  }
6950
+
6951
+ get lang() {
6952
+ return this.$$.ctx[15];
6953
+ }
6954
+
6955
+ set lang(lang) {
6956
+ this.$set({ lang });
6957
+ flush();
6958
+ }
6934
6959
  }
6935
6960
 
6936
6961
  !customElements.get('casino-tournaments-thumbnail-duration') && customElements.define('casino-tournaments-thumbnail-duration', CasinoTournmanetsThumbnailDuration);
@@ -6948,8 +6973,8 @@
6948
6973
  },
6949
6974
  tr: {
6950
6975
  tournamentsPrizes: {
6951
- prizes: 'Prizes',
6952
- noprizes: 'No available prizes'
6976
+ prizes: 'Ödüller',
6977
+ noprizes: 'Geçerli ödül yok'
6953
6978
  }
6954
6979
  },
6955
6980
  };
@@ -6966,6 +6991,13 @@
6966
6991
  return child_ctx;
6967
6992
  }
6968
6993
 
6994
+ function get_each_context_1$1(ctx, list, i) {
6995
+ const child_ctx = ctx.slice();
6996
+ child_ctx[7] = list[i];
6997
+ child_ctx[9] = i;
6998
+ return child_ctx;
6999
+ }
7000
+
6969
7001
  // (28:2) {#if prizes}
6970
7002
  function create_if_block$4(ctx) {
6971
7003
  let div;
@@ -7063,7 +7095,7 @@
7063
7095
  return block;
7064
7096
  }
7065
7097
 
7066
- // (34:6) {:else}
7098
+ // (36:6) {:else}
7067
7099
  function create_else_block$3(ctx) {
7068
7100
  let p;
7069
7101
  let t_value = /*$_*/ ctx[1]("tournamentsPrizes.noprizes") + "";
@@ -7073,7 +7105,7 @@
7073
7105
  c: function create() {
7074
7106
  p = element("p");
7075
7107
  t = text(t_value);
7076
- add_location(p, file$4, 34, 8, 1973);
7108
+ add_location(p, file$4, 36, 8, 2044);
7077
7109
  },
7078
7110
  m: function mount(target, anchor) {
7079
7111
  insert_dev(target, p, anchor);
@@ -7091,19 +7123,19 @@
7091
7123
  block,
7092
7124
  id: create_else_block$3.name,
7093
7125
  type: "else",
7094
- source: "(34:6) {:else}",
7126
+ source: "(36:6) {:else}",
7095
7127
  ctx
7096
7128
  });
7097
7129
 
7098
7130
  return block;
7099
7131
  }
7100
7132
 
7101
- // (30:6) {#each prizes as prize, index}
7102
- function create_each_block$3(ctx) {
7133
+ // (31:8) {#each {length:prize.count} as _, i}
7134
+ function create_each_block_1$1(ctx) {
7103
7135
  let div;
7104
7136
  let p;
7105
7137
  let span;
7106
- let t0_value = /*prize*/ ctx[4].rank + "";
7138
+ let t0_value = /*prize*/ ctx[4].rank + /*i*/ ctx[9] + "";
7107
7139
  let t0;
7108
7140
  let t1;
7109
7141
  let t2_value = /*prize*/ ctx[4].name + "";
@@ -7119,10 +7151,10 @@
7119
7151
  t1 = space();
7120
7152
  t2 = text(t2_value);
7121
7153
  t3 = space();
7122
- add_location(span, file$4, 31, 13, 1893);
7123
- add_location(p, file$4, 31, 10, 1890);
7154
+ add_location(span, file$4, 32, 15, 1942);
7155
+ add_location(p, file$4, 32, 12, 1939);
7124
7156
  attr_dev(div, "class", "Prize Prize" + /*index*/ ctx[6]);
7125
- add_location(div, file$4, 30, 8, 1847);
7157
+ add_location(div, file$4, 31, 10, 1894);
7126
7158
  },
7127
7159
  m: function mount(target, anchor) {
7128
7160
  insert_dev(target, div, anchor);
@@ -7134,7 +7166,7 @@
7134
7166
  append_dev(div, t3);
7135
7167
  },
7136
7168
  p: function update(ctx, dirty) {
7137
- if (dirty & /*prizes*/ 1 && t0_value !== (t0_value = /*prize*/ ctx[4].rank + "")) set_data_dev(t0, t0_value);
7169
+ if (dirty & /*prizes*/ 1 && t0_value !== (t0_value = /*prize*/ ctx[4].rank + /*i*/ ctx[9] + "")) set_data_dev(t0, t0_value);
7138
7170
  if (dirty & /*prizes*/ 1 && t2_value !== (t2_value = /*prize*/ ctx[4].name + "")) set_data_dev(t2, t2_value);
7139
7171
  },
7140
7172
  d: function destroy(detaching) {
@@ -7142,6 +7174,74 @@
7142
7174
  }
7143
7175
  };
7144
7176
 
7177
+ dispatch_dev("SvelteRegisterBlock", {
7178
+ block,
7179
+ id: create_each_block_1$1.name,
7180
+ type: "each",
7181
+ source: "(31:8) {#each {length:prize.count} as _, i}",
7182
+ ctx
7183
+ });
7184
+
7185
+ return block;
7186
+ }
7187
+
7188
+ // (30:6) {#each prizes as prize, index}
7189
+ function create_each_block$3(ctx) {
7190
+ let each_1_anchor;
7191
+ let each_value_1 = { length: /*prize*/ ctx[4].count };
7192
+ validate_each_argument(each_value_1);
7193
+ let each_blocks = [];
7194
+
7195
+ for (let i = 0; i < each_value_1.length; i += 1) {
7196
+ each_blocks[i] = create_each_block_1$1(get_each_context_1$1(ctx, each_value_1, i));
7197
+ }
7198
+
7199
+ const block = {
7200
+ c: function create() {
7201
+ for (let i = 0; i < each_blocks.length; i += 1) {
7202
+ each_blocks[i].c();
7203
+ }
7204
+
7205
+ each_1_anchor = empty();
7206
+ },
7207
+ m: function mount(target, anchor) {
7208
+ for (let i = 0; i < each_blocks.length; i += 1) {
7209
+ each_blocks[i].m(target, anchor);
7210
+ }
7211
+
7212
+ insert_dev(target, each_1_anchor, anchor);
7213
+ },
7214
+ p: function update(ctx, dirty) {
7215
+ if (dirty & /*prizes*/ 1) {
7216
+ each_value_1 = { length: /*prize*/ ctx[4].count };
7217
+ validate_each_argument(each_value_1);
7218
+ let i;
7219
+
7220
+ for (i = 0; i < each_value_1.length; i += 1) {
7221
+ const child_ctx = get_each_context_1$1(ctx, each_value_1, i);
7222
+
7223
+ if (each_blocks[i]) {
7224
+ each_blocks[i].p(child_ctx, dirty);
7225
+ } else {
7226
+ each_blocks[i] = create_each_block_1$1(child_ctx);
7227
+ each_blocks[i].c();
7228
+ each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
7229
+ }
7230
+ }
7231
+
7232
+ for (; i < each_blocks.length; i += 1) {
7233
+ each_blocks[i].d(1);
7234
+ }
7235
+
7236
+ each_blocks.length = each_value_1.length;
7237
+ }
7238
+ },
7239
+ d: function destroy(detaching) {
7240
+ destroy_each(each_blocks, detaching);
7241
+ if (detaching) detach_dev(each_1_anchor);
7242
+ }
7243
+ };
7244
+
7145
7245
  dispatch_dev("SvelteRegisterBlock", {
7146
7246
  block,
7147
7247
  id: create_each_block$3.name,
@@ -7407,32 +7507,32 @@
7407
7507
  attr_dev(path0, "stroke-linejoin", "round");
7408
7508
  attr_dev(path0, "stroke-width", "2");
7409
7509
  attr_dev(path0, "d", "M15 19l-7-7 7-7");
7410
- add_location(path0, file$3, 113, 8, 3428);
7510
+ add_location(path0, file$3, 113, 8, 3423);
7411
7511
  attr_dev(svg0, "fill", "none");
7412
7512
  attr_dev(svg0, "stroke", "currentColor");
7413
7513
  attr_dev(svg0, "viewBox", "0 0 24 24");
7414
7514
  attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
7415
- add_location(svg0, file$3, 112, 6, 3325);
7515
+ add_location(svg0, file$3, 112, 6, 3320);
7416
7516
  attr_dev(div0, "class", "SliderNavButton");
7417
7517
  toggle_class(div0, "disabled", /*atStart*/ ctx[5]);
7418
- add_location(div0, file$3, 111, 4, 3236);
7518
+ add_location(div0, file$3, 111, 4, 3231);
7419
7519
  attr_dev(div1, "class", "items");
7420
7520
  set_style(div1, "transform", "translateX(" + /*offset*/ ctx[1] + "px)");
7421
- add_location(div1, file$3, 117, 6, 3567);
7422
- add_location(main, file$3, 116, 4, 3554);
7521
+ add_location(div1, file$3, 117, 6, 3562);
7522
+ add_location(main, file$3, 116, 4, 3549);
7423
7523
  attr_dev(path1, "stroke-linecap", "round");
7424
7524
  attr_dev(path1, "stroke-linejoin", "round");
7425
7525
  attr_dev(path1, "stroke-width", "2");
7426
7526
  attr_dev(path1, "d", "M9 5l7 7-7 7");
7427
- add_location(path1, file$3, 128, 8, 4245);
7527
+ add_location(path1, file$3, 128, 8, 4240);
7428
7528
  attr_dev(svg1, "fill", "none");
7429
7529
  attr_dev(svg1, "stroke", "currentColor");
7430
7530
  attr_dev(svg1, "viewBox", "0 0 24 24");
7431
7531
  attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
7432
- add_location(svg1, file$3, 127, 6, 4142);
7532
+ add_location(svg1, file$3, 127, 6, 4137);
7433
7533
  attr_dev(div2, "class", "SliderNavButton");
7434
7534
  toggle_class(div2, "disabled", /*atEnd*/ ctx[6]);
7435
- add_location(div2, file$3, 126, 4, 4056);
7535
+ add_location(div2, file$3, 126, 4, 4051);
7436
7536
  },
7437
7537
  m: function mount(target, anchor) {
7438
7538
  insert_dev(target, div0, anchor);
@@ -7556,15 +7656,15 @@
7556
7656
  ? "itemHover"
7557
7657
  : ""));
7558
7658
 
7559
- add_location(span, file$3, 120, 12, 3800);
7659
+ add_location(span, file$3, 120, 12, 3795);
7560
7660
  if (img.src !== (img_src_value = /*game*/ ctx[34].thumbnail)) attr_dev(img, "src", img_src_value);
7561
7661
  attr_dev(img, "width", "132px");
7562
7662
  attr_dev(img, "height", "100px");
7563
7663
  attr_dev(img, "alt", img_alt_value = /*game*/ ctx[34].name);
7564
7664
  attr_dev(img, "title", img_title_value = /*game*/ ctx[34].name);
7565
- add_location(img, file$3, 121, 12, 3903);
7665
+ add_location(img, file$3, 121, 12, 3898);
7566
7666
  attr_dev(div, "class", "item");
7567
- add_location(div, file$3, 119, 10, 3673);
7667
+ add_location(div, file$3, 119, 10, 3668);
7568
7668
  },
7569
7669
  m: function mount(target, anchor) {
7570
7670
  insert_dev(target, div, anchor);
@@ -7633,7 +7733,7 @@
7633
7733
  if (if_block) if_block.c();
7634
7734
  this.c = noop$1;
7635
7735
  attr_dev(div, "class", "TournamentsGamesSlider");
7636
- add_location(div, file$3, 109, 0, 3162);
7736
+ add_location(div, file$3, 109, 0, 3157);
7637
7737
  },
7638
7738
  l: function claim(nodes) {
7639
7739
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -7697,7 +7797,7 @@
7697
7797
  let xDown = null;
7698
7798
  let yDown = null;
7699
7799
  let hover = false;
7700
- let hoverIndex = "";
7800
+ let hoverIndex;
7701
7801
 
7702
7802
  const enter = index => {
7703
7803
  $$invalidate(3, hover = true);
@@ -8017,17 +8117,17 @@
8017
8117
  let t2;
8018
8118
  let t3;
8019
8119
  let div1_class_value;
8020
- let if_block0 = /*isLoggedIn*/ ctx[8] && create_if_block_10$1(ctx);
8120
+ let if_block0 = /*isLoggedIn*/ ctx[9] && create_if_block_10$1(ctx);
8021
8121
 
8022
8122
  function select_block_type_1(ctx, dirty) {
8023
- if (!/*isLoggedIn*/ ctx[8]) return create_if_block_3$2;
8024
- if (/*status*/ ctx[16] != "Closed" && /*status*/ ctx[16] != "Closing") return create_if_block_4$2;
8123
+ if (!/*isLoggedIn*/ ctx[9]) return create_if_block_3$2;
8124
+ if (/*status*/ ctx[17] != "Closed" && /*status*/ ctx[17] != "Closing") return create_if_block_4$2;
8025
8125
  if (/*showdetails*/ ctx[3] == "true") return create_if_block_9$1;
8026
8126
  }
8027
8127
 
8028
8128
  let current_block_type = select_block_type_1(ctx);
8029
8129
  let if_block1 = current_block_type && current_block_type(ctx);
8030
- let if_block2 = /*errorJoin*/ ctx[11] && create_if_block_2$2(ctx);
8130
+ let if_block2 = /*errorJoin*/ ctx[12] && create_if_block_2$2(ctx);
8031
8131
  let if_block3 = /*showslider*/ ctx[4] == "true" && create_if_block_1$2(ctx);
8032
8132
 
8033
8133
  const block = {
@@ -8045,21 +8145,21 @@
8045
8145
  if (if_block3) if_block3.c();
8046
8146
  set_custom_element_data(casino_tournaments_thumbnail, "session", /*session*/ ctx[0]);
8047
8147
  set_custom_element_data(casino_tournaments_thumbnail, "userid", /*userid*/ ctx[1]);
8048
- set_custom_element_data(casino_tournaments_thumbnail, "title", /*title*/ ctx[13]);
8049
- set_custom_element_data(casino_tournaments_thumbnail, "status", /*status*/ ctx[16]);
8050
- set_custom_element_data(casino_tournaments_thumbnail, "startdate", /*startdate*/ ctx[14]);
8051
- set_custom_element_data(casino_tournaments_thumbnail, "tourid", /*tourid*/ ctx[17]);
8052
- set_custom_element_data(casino_tournaments_thumbnail, "scorecriteria", /*scorecriteria*/ ctx[20]);
8053
- set_custom_element_data(casino_tournaments_thumbnail, "minbetcount", /*minbetcount*/ ctx[21]);
8054
- set_custom_element_data(casino_tournaments_thumbnail, "thumbnail", /*thumbnail*/ ctx[18]);
8055
- set_custom_element_data(casino_tournaments_thumbnail, "userenrolled", /*userenrolled*/ ctx[19]);
8148
+ set_custom_element_data(casino_tournaments_thumbnail, "title", /*title*/ ctx[14]);
8149
+ set_custom_element_data(casino_tournaments_thumbnail, "status", /*status*/ ctx[17]);
8150
+ set_custom_element_data(casino_tournaments_thumbnail, "startdate", /*startdate*/ ctx[15]);
8151
+ set_custom_element_data(casino_tournaments_thumbnail, "tourid", /*tourid*/ ctx[18]);
8152
+ set_custom_element_data(casino_tournaments_thumbnail, "scorecriteria", /*scorecriteria*/ ctx[21]);
8153
+ set_custom_element_data(casino_tournaments_thumbnail, "minbetcount", /*minbetcount*/ ctx[22]);
8154
+ set_custom_element_data(casino_tournaments_thumbnail, "thumbnail", /*thumbnail*/ ctx[19]);
8155
+ set_custom_element_data(casino_tournaments_thumbnail, "userenrolled", /*userenrolled*/ ctx[20]);
8056
8156
  set_custom_element_data(casino_tournaments_thumbnail, "showenrolled", /*showenrolled*/ ctx[5]);
8057
- set_custom_element_data(casino_tournaments_thumbnail, "gameurl", /*gameurl*/ ctx[23]);
8058
- add_location(casino_tournaments_thumbnail, file$2, 199, 4, 6063);
8157
+ set_custom_element_data(casino_tournaments_thumbnail, "gameurl", /*gameurl*/ ctx[24]);
8158
+ add_location(casino_tournaments_thumbnail, file$2, 199, 4, 6071);
8059
8159
  attr_dev(div0, "class", "TournamentButtons");
8060
- add_location(div0, file$2, 228, 4, 6874);
8160
+ add_location(div0, file$2, 229, 4, 6897);
8061
8161
  attr_dev(div1, "class", div1_class_value = "TournamentCard " + (/*maxwidth*/ ctx[6] ? "CardMaxWidth" : "") + (/*fullsize*/ ctx[7] ? "CardFullSize" : ""));
8062
- add_location(div1, file$2, 198, 2, 5965);
8162
+ add_location(div1, file$2, 198, 2, 5973);
8063
8163
  },
8064
8164
  m: function mount(target, anchor) {
8065
8165
  insert_dev(target, div1, anchor);
@@ -8083,47 +8183,47 @@
8083
8183
  set_custom_element_data(casino_tournaments_thumbnail, "userid", /*userid*/ ctx[1]);
8084
8184
  }
8085
8185
 
8086
- if (dirty[0] & /*title*/ 8192) {
8087
- set_custom_element_data(casino_tournaments_thumbnail, "title", /*title*/ ctx[13]);
8186
+ if (dirty[0] & /*title*/ 16384) {
8187
+ set_custom_element_data(casino_tournaments_thumbnail, "title", /*title*/ ctx[14]);
8088
8188
  }
8089
8189
 
8090
- if (dirty[0] & /*status*/ 65536) {
8091
- set_custom_element_data(casino_tournaments_thumbnail, "status", /*status*/ ctx[16]);
8190
+ if (dirty[0] & /*status*/ 131072) {
8191
+ set_custom_element_data(casino_tournaments_thumbnail, "status", /*status*/ ctx[17]);
8092
8192
  }
8093
8193
 
8094
- if (dirty[0] & /*startdate*/ 16384) {
8095
- set_custom_element_data(casino_tournaments_thumbnail, "startdate", /*startdate*/ ctx[14]);
8194
+ if (dirty[0] & /*startdate*/ 32768) {
8195
+ set_custom_element_data(casino_tournaments_thumbnail, "startdate", /*startdate*/ ctx[15]);
8096
8196
  }
8097
8197
 
8098
- if (dirty[0] & /*tourid*/ 131072) {
8099
- set_custom_element_data(casino_tournaments_thumbnail, "tourid", /*tourid*/ ctx[17]);
8198
+ if (dirty[0] & /*tourid*/ 262144) {
8199
+ set_custom_element_data(casino_tournaments_thumbnail, "tourid", /*tourid*/ ctx[18]);
8100
8200
  }
8101
8201
 
8102
- if (dirty[0] & /*scorecriteria*/ 1048576) {
8103
- set_custom_element_data(casino_tournaments_thumbnail, "scorecriteria", /*scorecriteria*/ ctx[20]);
8202
+ if (dirty[0] & /*scorecriteria*/ 2097152) {
8203
+ set_custom_element_data(casino_tournaments_thumbnail, "scorecriteria", /*scorecriteria*/ ctx[21]);
8104
8204
  }
8105
8205
 
8106
- if (dirty[0] & /*minbetcount*/ 2097152) {
8107
- set_custom_element_data(casino_tournaments_thumbnail, "minbetcount", /*minbetcount*/ ctx[21]);
8206
+ if (dirty[0] & /*minbetcount*/ 4194304) {
8207
+ set_custom_element_data(casino_tournaments_thumbnail, "minbetcount", /*minbetcount*/ ctx[22]);
8108
8208
  }
8109
8209
 
8110
- if (dirty[0] & /*thumbnail*/ 262144) {
8111
- set_custom_element_data(casino_tournaments_thumbnail, "thumbnail", /*thumbnail*/ ctx[18]);
8210
+ if (dirty[0] & /*thumbnail*/ 524288) {
8211
+ set_custom_element_data(casino_tournaments_thumbnail, "thumbnail", /*thumbnail*/ ctx[19]);
8112
8212
  }
8113
8213
 
8114
- if (dirty[0] & /*userenrolled*/ 524288) {
8115
- set_custom_element_data(casino_tournaments_thumbnail, "userenrolled", /*userenrolled*/ ctx[19]);
8214
+ if (dirty[0] & /*userenrolled*/ 1048576) {
8215
+ set_custom_element_data(casino_tournaments_thumbnail, "userenrolled", /*userenrolled*/ ctx[20]);
8116
8216
  }
8117
8217
 
8118
8218
  if (dirty[0] & /*showenrolled*/ 32) {
8119
8219
  set_custom_element_data(casino_tournaments_thumbnail, "showenrolled", /*showenrolled*/ ctx[5]);
8120
8220
  }
8121
8221
 
8122
- if (dirty[0] & /*gameurl*/ 8388608) {
8123
- set_custom_element_data(casino_tournaments_thumbnail, "gameurl", /*gameurl*/ ctx[23]);
8222
+ if (dirty[0] & /*gameurl*/ 16777216) {
8223
+ set_custom_element_data(casino_tournaments_thumbnail, "gameurl", /*gameurl*/ ctx[24]);
8124
8224
  }
8125
8225
 
8126
- if (/*isLoggedIn*/ ctx[8]) {
8226
+ if (/*isLoggedIn*/ ctx[9]) {
8127
8227
  if (if_block0) {
8128
8228
  if_block0.p(ctx, dirty);
8129
8229
  } else {
@@ -8148,7 +8248,7 @@
8148
8248
  }
8149
8249
  }
8150
8250
 
8151
- if (/*errorJoin*/ ctx[11]) {
8251
+ if (/*errorJoin*/ ctx[12]) {
8152
8252
  if (if_block2) {
8153
8253
  if_block2.p(ctx, dirty);
8154
8254
  } else {
@@ -8247,29 +8347,29 @@
8247
8347
  t6 = space();
8248
8348
  div7 = element("div");
8249
8349
  attr_dev(div0, "class", "ph-picture");
8250
- add_location(div0, file$2, 184, 10, 5527);
8350
+ add_location(div0, file$2, 184, 10, 5535);
8251
8351
  attr_dev(div1, "class", "ph-col-6 big");
8252
- add_location(div1, file$2, 186, 12, 5601);
8352
+ add_location(div1, file$2, 186, 12, 5609);
8253
8353
  attr_dev(div2, "class", "ph-col-4 empty big");
8254
- add_location(div2, file$2, 187, 12, 5646);
8354
+ add_location(div2, file$2, 187, 12, 5654);
8255
8355
  attr_dev(div3, "class", "ph-col-4");
8256
- add_location(div3, file$2, 188, 12, 5697);
8356
+ add_location(div3, file$2, 188, 12, 5705);
8257
8357
  attr_dev(div4, "class", "ph-col-8 empty");
8258
- add_location(div4, file$2, 189, 12, 5738);
8358
+ add_location(div4, file$2, 189, 12, 5746);
8259
8359
  attr_dev(div5, "class", "ph-col-6");
8260
- add_location(div5, file$2, 190, 12, 5785);
8360
+ add_location(div5, file$2, 190, 12, 5793);
8261
8361
  attr_dev(div6, "class", "ph-col-6 empty");
8262
- add_location(div6, file$2, 191, 12, 5826);
8362
+ add_location(div6, file$2, 191, 12, 5834);
8263
8363
  attr_dev(div7, "class", "ph-col-12");
8264
- add_location(div7, file$2, 192, 12, 5873);
8364
+ add_location(div7, file$2, 192, 12, 5881);
8265
8365
  attr_dev(div8, "class", "ph-row");
8266
- add_location(div8, file$2, 185, 10, 5568);
8366
+ add_location(div8, file$2, 185, 10, 5576);
8267
8367
  attr_dev(div9, "class", "ph-col-12");
8268
- add_location(div9, file$2, 183, 8, 5493);
8368
+ add_location(div9, file$2, 183, 8, 5501);
8269
8369
  attr_dev(div10, "class", "ph-item");
8270
- add_location(div10, file$2, 182, 6, 5463);
8370
+ add_location(div10, file$2, 182, 6, 5471);
8271
8371
  attr_dev(div11, "class", div11_class_value = "TournamentCard " + (/*maxwidth*/ ctx[6] ? "CardMaxWidth" : "") + (/*fullsize*/ ctx[7] ? "CardFullSize" : ""));
8272
- add_location(div11, file$2, 181, 2, 5363);
8372
+ add_location(div11, file$2, 181, 2, 5371);
8273
8373
  },
8274
8374
  m: function mount(target, anchor) {
8275
8375
  insert_dev(target, div11, anchor);
@@ -8317,17 +8417,18 @@
8317
8417
  function create_if_block_10$1(ctx) {
8318
8418
  let t;
8319
8419
  let casino_tournaments_thumbnail_duration;
8320
- let if_block = /*tourid*/ ctx[17] && create_if_block_11$1(ctx);
8420
+ let if_block = /*tourid*/ ctx[18] && create_if_block_11$1(ctx);
8321
8421
 
8322
8422
  const block = {
8323
8423
  c: function create() {
8324
8424
  if (if_block) if_block.c();
8325
8425
  t = space();
8326
8426
  casino_tournaments_thumbnail_duration = element("casino-tournaments-thumbnail-duration");
8327
- set_custom_element_data(casino_tournaments_thumbnail_duration, "status", /*status*/ ctx[16]);
8328
- set_custom_element_data(casino_tournaments_thumbnail_duration, "startdate", /*startdate*/ ctx[14]);
8329
- set_custom_element_data(casino_tournaments_thumbnail_duration, "enddate", /*enddate*/ ctx[15]);
8330
- add_location(casino_tournaments_thumbnail_duration, file$2, 222, 6, 6693);
8427
+ set_custom_element_data(casino_tournaments_thumbnail_duration, "status", /*status*/ ctx[17]);
8428
+ set_custom_element_data(casino_tournaments_thumbnail_duration, "startdate", /*startdate*/ ctx[15]);
8429
+ set_custom_element_data(casino_tournaments_thumbnail_duration, "lang", /*lang*/ ctx[8]);
8430
+ set_custom_element_data(casino_tournaments_thumbnail_duration, "enddate", /*enddate*/ ctx[16]);
8431
+ add_location(casino_tournaments_thumbnail_duration, file$2, 222, 6, 6701);
8331
8432
  },
8332
8433
  m: function mount(target, anchor) {
8333
8434
  if (if_block) if_block.m(target, anchor);
@@ -8335,7 +8436,7 @@
8335
8436
  insert_dev(target, casino_tournaments_thumbnail_duration, anchor);
8336
8437
  },
8337
8438
  p: function update(ctx, dirty) {
8338
- if (/*tourid*/ ctx[17]) {
8439
+ if (/*tourid*/ ctx[18]) {
8339
8440
  if (if_block) {
8340
8441
  if_block.p(ctx, dirty);
8341
8442
  } else {
@@ -8348,16 +8449,20 @@
8348
8449
  if_block = null;
8349
8450
  }
8350
8451
 
8351
- if (dirty[0] & /*status*/ 65536) {
8352
- set_custom_element_data(casino_tournaments_thumbnail_duration, "status", /*status*/ ctx[16]);
8452
+ if (dirty[0] & /*status*/ 131072) {
8453
+ set_custom_element_data(casino_tournaments_thumbnail_duration, "status", /*status*/ ctx[17]);
8454
+ }
8455
+
8456
+ if (dirty[0] & /*startdate*/ 32768) {
8457
+ set_custom_element_data(casino_tournaments_thumbnail_duration, "startdate", /*startdate*/ ctx[15]);
8353
8458
  }
8354
8459
 
8355
- if (dirty[0] & /*startdate*/ 16384) {
8356
- set_custom_element_data(casino_tournaments_thumbnail_duration, "startdate", /*startdate*/ ctx[14]);
8460
+ if (dirty[0] & /*lang*/ 256) {
8461
+ set_custom_element_data(casino_tournaments_thumbnail_duration, "lang", /*lang*/ ctx[8]);
8357
8462
  }
8358
8463
 
8359
- if (dirty[0] & /*enddate*/ 32768) {
8360
- set_custom_element_data(casino_tournaments_thumbnail_duration, "enddate", /*enddate*/ ctx[15]);
8464
+ if (dirty[0] & /*enddate*/ 65536) {
8465
+ set_custom_element_data(casino_tournaments_thumbnail_duration, "enddate", /*enddate*/ ctx[16]);
8361
8466
  }
8362
8467
  },
8363
8468
  d: function destroy(detaching) {
@@ -8388,23 +8493,23 @@
8388
8493
  const block = {
8389
8494
  c: function create() {
8390
8495
  casino_tournaments_thumbnail_prizes = element("casino-tournaments-thumbnail-prizes");
8391
- set_custom_element_data(casino_tournaments_thumbnail_prizes, "tourid", /*tourid*/ ctx[17]);
8392
- add_location(casino_tournaments_thumbnail_prizes, file$2, 216, 8, 6511);
8496
+ set_custom_element_data(casino_tournaments_thumbnail_prizes, "tourid", /*tourid*/ ctx[18]);
8497
+ add_location(casino_tournaments_thumbnail_prizes, file$2, 216, 8, 6519);
8393
8498
  },
8394
8499
  m: function mount(target, anchor) {
8395
8500
  insert_dev(target, casino_tournaments_thumbnail_prizes, anchor);
8396
8501
 
8397
8502
  if (!mounted) {
8398
- dispose = action_destroyer(sendTournamentPrizes_action = /*sendTournamentPrizes*/ ctx[29].call(null, casino_tournaments_thumbnail_prizes, /*tourid*/ ctx[17]));
8503
+ dispose = action_destroyer(sendTournamentPrizes_action = /*sendTournamentPrizes*/ ctx[30].call(null, casino_tournaments_thumbnail_prizes, /*tourid*/ ctx[18]));
8399
8504
  mounted = true;
8400
8505
  }
8401
8506
  },
8402
8507
  p: function update(ctx, dirty) {
8403
- if (dirty[0] & /*tourid*/ 131072) {
8404
- set_custom_element_data(casino_tournaments_thumbnail_prizes, "tourid", /*tourid*/ ctx[17]);
8508
+ if (dirty[0] & /*tourid*/ 262144) {
8509
+ set_custom_element_data(casino_tournaments_thumbnail_prizes, "tourid", /*tourid*/ ctx[18]);
8405
8510
  }
8406
8511
 
8407
- if (sendTournamentPrizes_action && is_function(sendTournamentPrizes_action.update) && dirty[0] & /*tourid*/ 131072) sendTournamentPrizes_action.update.call(null, /*tourid*/ ctx[17]);
8512
+ if (sendTournamentPrizes_action && is_function(sendTournamentPrizes_action.update) && dirty[0] & /*tourid*/ 262144) sendTournamentPrizes_action.update.call(null, /*tourid*/ ctx[18]);
8408
8513
  },
8409
8514
  d: function destroy(detaching) {
8410
8515
  if (detaching) detach_dev(casino_tournaments_thumbnail_prizes);
@@ -8424,10 +8529,10 @@
8424
8529
  return block;
8425
8530
  }
8426
8531
 
8427
- // (255:10) {#if showdetails == 'true'}
8532
+ // (256:10) {#if showdetails == 'true'}
8428
8533
  function create_if_block_9$1(ctx) {
8429
8534
  let button;
8430
- let t_value = /*$_*/ ctx[24]("tournamentsThController.details") + "";
8535
+ let t_value = /*$_*/ ctx[25]("tournamentsThController.details") + "";
8431
8536
  let t;
8432
8537
  let mounted;
8433
8538
  let dispose;
@@ -8437,7 +8542,7 @@
8437
8542
  button = element("button");
8438
8543
  t = text(t_value);
8439
8544
  attr_dev(button, "class", "DetailsLargeButton");
8440
- add_location(button, file$2, 255, 12, 8490);
8545
+ add_location(button, file$2, 256, 12, 8513);
8441
8546
  },
8442
8547
  m: function mount(target, anchor) {
8443
8548
  insert_dev(target, button, anchor);
@@ -8449,7 +8554,7 @@
8449
8554
  }
8450
8555
  },
8451
8556
  p: function update(ctx, dirty) {
8452
- if (dirty[0] & /*$_*/ 16777216 && t_value !== (t_value = /*$_*/ ctx[24]("tournamentsThController.details") + "")) set_data_dev(t, t_value);
8557
+ if (dirty[0] & /*$_*/ 33554432 && t_value !== (t_value = /*$_*/ ctx[25]("tournamentsThController.details") + "")) set_data_dev(t, t_value);
8453
8558
  },
8454
8559
  d: function destroy(detaching) {
8455
8560
  if (detaching) detach_dev(button);
@@ -8462,21 +8567,21 @@
8462
8567
  block,
8463
8568
  id: create_if_block_9$1.name,
8464
8569
  type: "if",
8465
- source: "(255:10) {#if showdetails == 'true'}",
8570
+ source: "(256:10) {#if showdetails == 'true'}",
8466
8571
  ctx
8467
8572
  });
8468
8573
 
8469
8574
  return block;
8470
8575
  }
8471
8576
 
8472
- // (234:8) {#if status != 'Closed' && status != 'Closing'}
8577
+ // (235:8) {#if status != 'Closed' && status != 'Closing'}
8473
8578
  function create_if_block_4$2(ctx) {
8474
8579
  let t;
8475
8580
  let if_block1_anchor;
8476
8581
  let if_block0 = /*showdetails*/ ctx[3] == "true" && create_if_block_8$1(ctx);
8477
8582
 
8478
8583
  function select_block_type_2(ctx, dirty) {
8479
- if (/*userenrolled*/ ctx[19] == true) return create_if_block_5$1;
8584
+ if (/*userenrolled*/ ctx[20] == true) return create_if_block_5$1;
8480
8585
  return create_else_block_1$1;
8481
8586
  }
8482
8587
 
@@ -8534,21 +8639,21 @@
8534
8639
  block,
8535
8640
  id: create_if_block_4$2.name,
8536
8641
  type: "if",
8537
- source: "(234:8) {#if status != 'Closed' && status != 'Closing'}",
8642
+ source: "(235:8) {#if status != 'Closed' && status != 'Closing'}",
8538
8643
  ctx
8539
8644
  });
8540
8645
 
8541
8646
  return block;
8542
8647
  }
8543
8648
 
8544
- // (230:6) {#if !isLoggedIn}
8649
+ // (231:6) {#if !isLoggedIn}
8545
8650
  function create_if_block_3$2(ctx) {
8546
8651
  let button0;
8547
- let t0_value = /*$_*/ ctx[24]("tournamentsThController.login") + "";
8652
+ let t0_value = /*$_*/ ctx[25]("tournamentsThController.login") + "";
8548
8653
  let t0;
8549
8654
  let t1;
8550
8655
  let button1;
8551
- let t2_value = /*$_*/ ctx[24]("tournamentsThController.register") + "";
8656
+ let t2_value = /*$_*/ ctx[25]("tournamentsThController.register") + "";
8552
8657
  let t2;
8553
8658
  let mounted;
8554
8659
  let dispose;
@@ -8561,9 +8666,9 @@
8561
8666
  button1 = element("button");
8562
8667
  t2 = text(t2_value);
8563
8668
  attr_dev(button0, "class", "LoginButton");
8564
- add_location(button0, file$2, 230, 8, 6938);
8669
+ add_location(button0, file$2, 231, 8, 6961);
8565
8670
  attr_dev(button1, "class", "RegisterButton");
8566
- add_location(button1, file$2, 231, 8, 7052);
8671
+ add_location(button1, file$2, 232, 8, 7075);
8567
8672
  },
8568
8673
  m: function mount(target, anchor) {
8569
8674
  insert_dev(target, button0, anchor);
@@ -8582,8 +8687,8 @@
8582
8687
  }
8583
8688
  },
8584
8689
  p: function update(ctx, dirty) {
8585
- if (dirty[0] & /*$_*/ 16777216 && t0_value !== (t0_value = /*$_*/ ctx[24]("tournamentsThController.login") + "")) set_data_dev(t0, t0_value);
8586
- if (dirty[0] & /*$_*/ 16777216 && t2_value !== (t2_value = /*$_*/ ctx[24]("tournamentsThController.register") + "")) set_data_dev(t2, t2_value);
8690
+ if (dirty[0] & /*$_*/ 33554432 && t0_value !== (t0_value = /*$_*/ ctx[25]("tournamentsThController.login") + "")) set_data_dev(t0, t0_value);
8691
+ if (dirty[0] & /*$_*/ 33554432 && t2_value !== (t2_value = /*$_*/ ctx[25]("tournamentsThController.register") + "")) set_data_dev(t2, t2_value);
8587
8692
  },
8588
8693
  d: function destroy(detaching) {
8589
8694
  if (detaching) detach_dev(button0);
@@ -8598,17 +8703,17 @@
8598
8703
  block,
8599
8704
  id: create_if_block_3$2.name,
8600
8705
  type: "if",
8601
- source: "(230:6) {#if !isLoggedIn}",
8706
+ source: "(231:6) {#if !isLoggedIn}",
8602
8707
  ctx
8603
8708
  });
8604
8709
 
8605
8710
  return block;
8606
8711
  }
8607
8712
 
8608
- // (235:10) {#if showdetails == 'true'}
8713
+ // (236:10) {#if showdetails == 'true'}
8609
8714
  function create_if_block_8$1(ctx) {
8610
8715
  let button;
8611
- let t_value = /*$_*/ ctx[24]("tournamentsThController.details") + "";
8716
+ let t_value = /*$_*/ ctx[25]("tournamentsThController.details") + "";
8612
8717
  let t;
8613
8718
  let mounted;
8614
8719
  let dispose;
@@ -8618,7 +8723,7 @@
8618
8723
  button = element("button");
8619
8724
  t = text(t_value);
8620
8725
  attr_dev(button, "class", "DetailsButton");
8621
- add_location(button, file$2, 235, 12, 7287);
8726
+ add_location(button, file$2, 236, 12, 7310);
8622
8727
  },
8623
8728
  m: function mount(target, anchor) {
8624
8729
  insert_dev(target, button, anchor);
@@ -8630,7 +8735,7 @@
8630
8735
  }
8631
8736
  },
8632
8737
  p: function update(ctx, dirty) {
8633
- if (dirty[0] & /*$_*/ 16777216 && t_value !== (t_value = /*$_*/ ctx[24]("tournamentsThController.details") + "")) set_data_dev(t, t_value);
8738
+ if (dirty[0] & /*$_*/ 33554432 && t_value !== (t_value = /*$_*/ ctx[25]("tournamentsThController.details") + "")) set_data_dev(t, t_value);
8634
8739
  },
8635
8740
  d: function destroy(detaching) {
8636
8741
  if (detaching) detach_dev(button);
@@ -8643,14 +8748,14 @@
8643
8748
  block,
8644
8749
  id: create_if_block_8$1.name,
8645
8750
  type: "if",
8646
- source: "(235:10) {#if showdetails == 'true'}",
8751
+ source: "(236:10) {#if showdetails == 'true'}",
8647
8752
  ctx
8648
8753
  });
8649
8754
 
8650
8755
  return block;
8651
8756
  }
8652
8757
 
8653
- // (242:10) {:else}
8758
+ // (243:10) {:else}
8654
8759
  function create_else_block_1$1(ctx) {
8655
8760
  let button;
8656
8761
  let button_class_value;
@@ -8658,7 +8763,7 @@
8658
8763
  let dispose;
8659
8764
 
8660
8765
  function select_block_type_3(ctx, dirty) {
8661
- if (/*joinButtonLoading*/ ctx[10] == true) return create_if_block_7$1;
8766
+ if (/*joinButtonLoading*/ ctx[11] == true) return create_if_block_7$1;
8662
8767
  return create_else_block_2$1;
8663
8768
  }
8664
8769
 
@@ -8670,8 +8775,8 @@
8670
8775
  button = element("button");
8671
8776
  if_block.c();
8672
8777
  attr_dev(button, "class", button_class_value = "JoinButton " + (/*fullsize*/ ctx[7] ? "JoinButtonFullSize" : ""));
8673
- button.disabled = /*errorJoin*/ ctx[11];
8674
- add_location(button, file$2, 242, 12, 7650);
8778
+ button.disabled = /*errorJoin*/ ctx[12];
8779
+ add_location(button, file$2, 243, 12, 7673);
8675
8780
  },
8676
8781
  m: function mount(target, anchor) {
8677
8782
  insert_dev(target, button, anchor);
@@ -8699,8 +8804,8 @@
8699
8804
  attr_dev(button, "class", button_class_value);
8700
8805
  }
8701
8806
 
8702
- if (dirty[0] & /*errorJoin*/ 2048) {
8703
- prop_dev(button, "disabled", /*errorJoin*/ ctx[11]);
8807
+ if (dirty[0] & /*errorJoin*/ 4096) {
8808
+ prop_dev(button, "disabled", /*errorJoin*/ ctx[12]);
8704
8809
  }
8705
8810
  },
8706
8811
  d: function destroy(detaching) {
@@ -8715,14 +8820,14 @@
8715
8820
  block,
8716
8821
  id: create_else_block_1$1.name,
8717
8822
  type: "else",
8718
- source: "(242:10) {:else}",
8823
+ source: "(243:10) {:else}",
8719
8824
  ctx
8720
8825
  });
8721
8826
 
8722
8827
  return block;
8723
8828
  }
8724
8829
 
8725
- // (238:10) {#if userenrolled == true}
8830
+ // (239:10) {#if userenrolled == true}
8726
8831
  function create_if_block_5$1(ctx) {
8727
8832
  let if_block_anchor;
8728
8833
  let if_block = /*showdetails*/ ctx[3] == "true" && create_if_block_6$1(ctx);
@@ -8760,17 +8865,17 @@
8760
8865
  block,
8761
8866
  id: create_if_block_5$1.name,
8762
8867
  type: "if",
8763
- source: "(238:10) {#if userenrolled == true}",
8868
+ source: "(239:10) {#if userenrolled == true}",
8764
8869
  ctx
8765
8870
  });
8766
8871
 
8767
8872
  return block;
8768
8873
  }
8769
8874
 
8770
- // (248:14) {:else}
8875
+ // (249:14) {:else}
8771
8876
  function create_else_block_2$1(ctx) {
8772
8877
  let span;
8773
- let t0_value = /*$_*/ ctx[24]("tournamentsThController.join") + "";
8878
+ let t0_value = /*$_*/ ctx[25]("tournamentsThController.join") + "";
8774
8879
  let t0;
8775
8880
  let t1;
8776
8881
  let svg;
@@ -8791,20 +8896,20 @@
8791
8896
  t2 = text(".a{fill:#fff;}");
8792
8897
  g = svg_element("g");
8793
8898
  path = svg_element("path");
8794
- add_location(span, file$2, 248, 16, 7986);
8795
- add_location(style, file$2, 249, 105, 8141);
8796
- add_location(defs, file$2, 249, 99, 8135);
8899
+ add_location(span, file$2, 249, 16, 8009);
8900
+ add_location(style, file$2, 250, 105, 8164);
8901
+ add_location(defs, file$2, 250, 99, 8158);
8797
8902
  attr_dev(path, "class", "a");
8798
8903
  attr_dev(path, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z");
8799
8904
  attr_dev(path, "transform", "translate(26 26) rotate(180)");
8800
- add_location(path, file$2, 249, 185, 8221);
8905
+ add_location(path, file$2, 250, 185, 8244);
8801
8906
  attr_dev(g, "transform", "translate(26 26) rotate(180)");
8802
- add_location(g, file$2, 249, 141, 8177);
8907
+ add_location(g, file$2, 250, 141, 8200);
8803
8908
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
8804
8909
  attr_dev(svg, "width", "26");
8805
8910
  attr_dev(svg, "height", "26");
8806
8911
  attr_dev(svg, "viewBox", "0 0 26 26");
8807
- add_location(svg, file$2, 249, 16, 8052);
8912
+ add_location(svg, file$2, 250, 16, 8075);
8808
8913
  },
8809
8914
  m: function mount(target, anchor) {
8810
8915
  insert_dev(target, span, anchor);
@@ -8818,7 +8923,7 @@
8818
8923
  append_dev(g, path);
8819
8924
  },
8820
8925
  p: function update(ctx, dirty) {
8821
- if (dirty[0] & /*$_*/ 16777216 && t0_value !== (t0_value = /*$_*/ ctx[24]("tournamentsThController.join") + "")) set_data_dev(t0, t0_value);
8926
+ if (dirty[0] & /*$_*/ 33554432 && t0_value !== (t0_value = /*$_*/ ctx[25]("tournamentsThController.join") + "")) set_data_dev(t0, t0_value);
8822
8927
  },
8823
8928
  d: function destroy(detaching) {
8824
8929
  if (detaching) detach_dev(span);
@@ -8831,14 +8936,14 @@
8831
8936
  block,
8832
8937
  id: create_else_block_2$1.name,
8833
8938
  type: "else",
8834
- source: "(248:14) {:else}",
8939
+ source: "(249:14) {:else}",
8835
8940
  ctx
8836
8941
  });
8837
8942
 
8838
8943
  return block;
8839
8944
  }
8840
8945
 
8841
- // (244:14) {#if joinButtonLoading == true}
8946
+ // (245:14) {#if joinButtonLoading == true}
8842
8947
  function create_if_block_7$1(ctx) {
8843
8948
  let svg;
8844
8949
  let circle;
@@ -8850,9 +8955,9 @@
8850
8955
  attr_dev(circle, "cx", "20");
8851
8956
  attr_dev(circle, "cy", "20");
8852
8957
  attr_dev(circle, "r", "18");
8853
- add_location(circle, file$2, 245, 18, 7884);
8958
+ add_location(circle, file$2, 246, 18, 7907);
8854
8959
  attr_dev(svg, "class", "spinner");
8855
- add_location(svg, file$2, 244, 16, 7844);
8960
+ add_location(svg, file$2, 245, 16, 7867);
8856
8961
  },
8857
8962
  m: function mount(target, anchor) {
8858
8963
  insert_dev(target, svg, anchor);
@@ -8868,17 +8973,17 @@
8868
8973
  block,
8869
8974
  id: create_if_block_7$1.name,
8870
8975
  type: "if",
8871
- source: "(244:14) {#if joinButtonLoading == true}",
8976
+ source: "(245:14) {#if joinButtonLoading == true}",
8872
8977
  ctx
8873
8978
  });
8874
8979
 
8875
8980
  return block;
8876
8981
  }
8877
8982
 
8878
- // (239:12) {#if showdetails == 'true'}
8983
+ // (240:12) {#if showdetails == 'true'}
8879
8984
  function create_if_block_6$1(ctx) {
8880
8985
  let button;
8881
- let t_value = /*$_*/ ctx[24]("tournamentsThController.enrolled") + "";
8986
+ let t_value = /*$_*/ ctx[25]("tournamentsThController.enrolled") + "";
8882
8987
  let t;
8883
8988
 
8884
8989
  const block = {
@@ -8887,14 +8992,14 @@
8887
8992
  t = text(t_value);
8888
8993
  attr_dev(button, "class", "EnrolledButton");
8889
8994
  button.disabled = true;
8890
- add_location(button, file$2, 239, 14, 7512);
8995
+ add_location(button, file$2, 240, 14, 7535);
8891
8996
  },
8892
8997
  m: function mount(target, anchor) {
8893
8998
  insert_dev(target, button, anchor);
8894
8999
  append_dev(button, t);
8895
9000
  },
8896
9001
  p: function update(ctx, dirty) {
8897
- if (dirty[0] & /*$_*/ 16777216 && t_value !== (t_value = /*$_*/ ctx[24]("tournamentsThController.enrolled") + "")) set_data_dev(t, t_value);
9002
+ if (dirty[0] & /*$_*/ 33554432 && t_value !== (t_value = /*$_*/ ctx[25]("tournamentsThController.enrolled") + "")) set_data_dev(t, t_value);
8898
9003
  },
8899
9004
  d: function destroy(detaching) {
8900
9005
  if (detaching) detach_dev(button);
@@ -8905,17 +9010,17 @@
8905
9010
  block,
8906
9011
  id: create_if_block_6$1.name,
8907
9012
  type: "if",
8908
- source: "(239:12) {#if showdetails == 'true'}",
9013
+ source: "(240:12) {#if showdetails == 'true'}",
8909
9014
  ctx
8910
9015
  });
8911
9016
 
8912
9017
  return block;
8913
9018
  }
8914
9019
 
8915
- // (261:4) {#if errorJoin}
9020
+ // (262:4) {#if errorJoin}
8916
9021
  function create_if_block_2$2(ctx) {
8917
9022
  let span;
8918
- let t0_value = /*$_*/ ctx[24]("tournamentsThController.joinerror") + "";
9023
+ let t0_value = /*$_*/ ctx[25]("tournamentsThController.joinerror") + "";
8919
9024
  let t0;
8920
9025
  let t1;
8921
9026
  let t2;
@@ -8925,9 +9030,9 @@
8925
9030
  span = element("span");
8926
9031
  t0 = text(t0_value);
8927
9032
  t1 = space();
8928
- t2 = text(/*errorJoinText*/ ctx[12]);
9033
+ t2 = text(/*errorJoinText*/ ctx[13]);
8929
9034
  attr_dev(span, "class", "ErrorText");
8930
- add_location(span, file$2, 261, 6, 8692);
9035
+ add_location(span, file$2, 262, 6, 8715);
8931
9036
  },
8932
9037
  m: function mount(target, anchor) {
8933
9038
  insert_dev(target, span, anchor);
@@ -8936,8 +9041,8 @@
8936
9041
  append_dev(span, t2);
8937
9042
  },
8938
9043
  p: function update(ctx, dirty) {
8939
- if (dirty[0] & /*$_*/ 16777216 && t0_value !== (t0_value = /*$_*/ ctx[24]("tournamentsThController.joinerror") + "")) set_data_dev(t0, t0_value);
8940
- if (dirty[0] & /*errorJoinText*/ 4096) set_data_dev(t2, /*errorJoinText*/ ctx[12]);
9044
+ if (dirty[0] & /*$_*/ 33554432 && t0_value !== (t0_value = /*$_*/ ctx[25]("tournamentsThController.joinerror") + "")) set_data_dev(t0, t0_value);
9045
+ if (dirty[0] & /*errorJoinText*/ 8192) set_data_dev(t2, /*errorJoinText*/ ctx[13]);
8941
9046
  },
8942
9047
  d: function destroy(detaching) {
8943
9048
  if (detaching) detach_dev(span);
@@ -8948,14 +9053,14 @@
8948
9053
  block,
8949
9054
  id: create_if_block_2$2.name,
8950
9055
  type: "if",
8951
- source: "(261:4) {#if errorJoin}",
9056
+ source: "(262:4) {#if errorJoin}",
8952
9057
  ctx
8953
9058
  });
8954
9059
 
8955
9060
  return block;
8956
9061
  }
8957
9062
 
8958
- // (264:4) {#if showslider == "true"}
9063
+ // (265:4) {#if showslider == "true"}
8959
9064
  function create_if_block_1$2(ctx) {
8960
9065
  let casino_tournaments_thumbnail_games_slider;
8961
9066
 
@@ -8963,9 +9068,10 @@
8963
9068
  c: function create() {
8964
9069
  casino_tournaments_thumbnail_games_slider = element("casino-tournaments-thumbnail-games-slider");
8965
9070
  set_custom_element_data(casino_tournaments_thumbnail_games_slider, "tournamenturl", /*tournamenturl*/ ctx[2]);
9071
+ set_custom_element_data(casino_tournaments_thumbnail_games_slider, "lang", /*lang*/ ctx[8]);
8966
9072
  set_custom_element_data(casino_tournaments_thumbnail_games_slider, "scrollby", "2");
8967
9073
  set_custom_element_data(casino_tournaments_thumbnail_games_slider, "pagfactor", "130");
8968
- add_location(casino_tournaments_thumbnail_games_slider, file$2, 264, 6, 8828);
9074
+ add_location(casino_tournaments_thumbnail_games_slider, file$2, 265, 6, 8851);
8969
9075
  },
8970
9076
  m: function mount(target, anchor) {
8971
9077
  insert_dev(target, casino_tournaments_thumbnail_games_slider, anchor);
@@ -8974,6 +9080,10 @@
8974
9080
  if (dirty[0] & /*tournamenturl*/ 4) {
8975
9081
  set_custom_element_data(casino_tournaments_thumbnail_games_slider, "tournamenturl", /*tournamenturl*/ ctx[2]);
8976
9082
  }
9083
+
9084
+ if (dirty[0] & /*lang*/ 256) {
9085
+ set_custom_element_data(casino_tournaments_thumbnail_games_slider, "lang", /*lang*/ ctx[8]);
9086
+ }
8977
9087
  },
8978
9088
  d: function destroy(detaching) {
8979
9089
  if (detaching) detach_dev(casino_tournaments_thumbnail_games_slider);
@@ -8984,7 +9094,7 @@
8984
9094
  block,
8985
9095
  id: create_if_block_1$2.name,
8986
9096
  type: "if",
8987
- source: "(264:4) {#if showslider == \\\"true\\\"}",
9097
+ source: "(265:4) {#if showslider == \\\"true\\\"}",
8988
9098
  ctx
8989
9099
  });
8990
9100
 
@@ -8995,7 +9105,7 @@
8995
9105
  let if_block_anchor;
8996
9106
 
8997
9107
  function select_block_type(ctx, dirty) {
8998
- if (/*isLoading*/ ctx[9]) return create_if_block$2;
9108
+ if (/*isLoading*/ ctx[10]) return create_if_block$2;
8999
9109
  return create_else_block$2;
9000
9110
  }
9001
9111
 
@@ -9050,7 +9160,7 @@
9050
9160
  function instance$2($$self, $$props, $$invalidate) {
9051
9161
  let $_;
9052
9162
  validate_store(X, "_");
9053
- component_subscribe($$self, X, $$value => $$invalidate(24, $_ = $$value));
9163
+ component_subscribe($$self, X, $$value => $$invalidate(25, $_ = $$value));
9054
9164
  let { $$slots: slots = {}, $$scope } = $$props;
9055
9165
  validate_slots("undefined", slots, []);
9056
9166
  let { session = "" } = $$props;
@@ -9099,7 +9209,7 @@
9099
9209
 
9100
9210
  const messageHandler = e => {
9101
9211
  if (e.data && e.data.type == "UserSessionID") {
9102
- $$invalidate(8, isLoggedIn = true);
9212
+ $$invalidate(9, isLoggedIn = true);
9103
9213
  sessionID = e.data.session;
9104
9214
  }
9105
9215
  };
@@ -9146,7 +9256,7 @@
9146
9256
  window.location.href
9147
9257
  );
9148
9258
 
9149
- $$invalidate(10, joinButtonLoading = true);
9259
+ $$invalidate(11, joinButtonLoading = true);
9150
9260
  let joinUrl = new URL(`${endpoint}/bonus/claim`);
9151
9261
  let reqHeaders = new Headers();
9152
9262
  let body = {};
@@ -9172,17 +9282,17 @@
9172
9282
  fetch(joinUrl, requestOptions).then(res => res.json()).then(
9173
9283
  data => {
9174
9284
  if (data.success == true) {
9175
- $$invalidate(10, joinButtonLoading = false);
9176
- $$invalidate(19, userenrolled = true);
9285
+ $$invalidate(11, joinButtonLoading = false);
9286
+ $$invalidate(20, userenrolled = true);
9177
9287
  } else {
9178
- $$invalidate(10, joinButtonLoading = false);
9179
- $$invalidate(12, errorJoinText = data.errorMessage);
9180
- $$invalidate(11, errorJoin = true);
9288
+ $$invalidate(11, joinButtonLoading = false);
9289
+ $$invalidate(13, errorJoinText = data.errorMessage);
9290
+ $$invalidate(12, errorJoin = true);
9181
9291
  }
9182
9292
  },
9183
9293
  err => {
9184
- $$invalidate(10, joinButtonLoading = false);
9185
- $$invalidate(11, errorJoin = true);
9294
+ $$invalidate(11, joinButtonLoading = false);
9295
+ $$invalidate(12, errorJoin = true);
9186
9296
  }
9187
9297
  );
9188
9298
  };
@@ -9200,22 +9310,22 @@
9200
9310
 
9201
9311
  // @TODO data type - tournament
9202
9312
  const matchData = data => {
9203
- $$invalidate(13, title = data.nameOrTitle);
9204
- $$invalidate(14, startdate = data.startTime);
9205
- $$invalidate(15, enddate = data.endTime);
9206
- $$invalidate(16, status = data.state);
9207
- $$invalidate(17, tourid = data.id);
9208
- $$invalidate(18, thumbnail = data.thumbnail);
9209
- $$invalidate(19, userenrolled = data.playerEnrolled || false);
9210
- $$invalidate(20, scorecriteria = data.scoreCriteria);
9211
- $$invalidate(21, minbetcount = data.minBetCount);
9313
+ $$invalidate(14, title = data.nameOrTitle);
9314
+ $$invalidate(15, startdate = data.startTime);
9315
+ $$invalidate(16, enddate = data.endTime);
9316
+ $$invalidate(17, status = data.state);
9317
+ $$invalidate(18, tourid = data.id);
9318
+ $$invalidate(19, thumbnail = data.thumbnail);
9319
+ $$invalidate(20, userenrolled = data.playerEnrolled || false);
9320
+ $$invalidate(21, scorecriteria = data.scoreCriteria);
9321
+ $$invalidate(22, minbetcount = data.minBetCount);
9212
9322
  prizes = data.prizes;
9213
- $$invalidate(22, wallet = data.wallets || []);
9214
- $$invalidate(23, gameurl = data.termsUrl || "#");
9323
+ $$invalidate(23, wallet = data.wallets || []);
9324
+ $$invalidate(24, gameurl = data.termsUrl || "#");
9215
9325
  };
9216
9326
 
9217
9327
  const getData = url => {
9218
- $$invalidate(9, isLoading = true);
9328
+ $$invalidate(10, isLoading = true);
9219
9329
  let tournamentUrl = new URL(url);
9220
9330
  let reqHeaders = new Headers();
9221
9331
  tournamentUrl.searchParams.append("language", lang);
@@ -9228,7 +9338,7 @@
9228
9338
  let requestOptions = { method: "GET", headers: reqHeaders };
9229
9339
 
9230
9340
  fetch(tournamentUrl, requestOptions).then(res => res.json()).then(data => {
9231
- $$invalidate(9, isLoading = false);
9341
+ $$invalidate(10, isLoading = false);
9232
9342
  matchData(data.item);
9233
9343
  });
9234
9344
  };
@@ -9236,19 +9346,19 @@
9236
9346
  const setSession = () => {
9237
9347
  if (session.length > 0 && session != "false") {
9238
9348
  sessionID = session;
9239
- $$invalidate(8, isLoggedIn = true);
9349
+ $$invalidate(9, isLoggedIn = true);
9240
9350
  } else {
9241
- $$invalidate(8, isLoggedIn = false);
9351
+ $$invalidate(9, isLoggedIn = false);
9242
9352
  }
9243
9353
  };
9244
9354
 
9245
9355
  const initialLoad = () => {
9246
- $$invalidate(9, isLoading = true);
9356
+ $$invalidate(10, isLoading = true);
9247
9357
  getData(tournamenturl);
9248
9358
  };
9249
9359
 
9250
9360
  onMount(() => {
9251
- $$invalidate(9, isLoading = false);
9361
+ $$invalidate(10, isLoading = false);
9252
9362
  window.addEventListener("message", messageHandler, false);
9253
9363
 
9254
9364
  return () => {
@@ -9288,13 +9398,13 @@
9288
9398
  if ("session" in $$props) $$invalidate(0, session = $$props.session);
9289
9399
  if ("userid" in $$props) $$invalidate(1, userid = $$props.userid);
9290
9400
  if ("tournamenturl" in $$props) $$invalidate(2, tournamenturl = $$props.tournamenturl);
9291
- if ("endpoint" in $$props) $$invalidate(30, endpoint = $$props.endpoint);
9401
+ if ("endpoint" in $$props) $$invalidate(31, endpoint = $$props.endpoint);
9292
9402
  if ("showdetails" in $$props) $$invalidate(3, showdetails = $$props.showdetails);
9293
9403
  if ("showslider" in $$props) $$invalidate(4, showslider = $$props.showslider);
9294
9404
  if ("showenrolled" in $$props) $$invalidate(5, showenrolled = $$props.showenrolled);
9295
9405
  if ("maxwidth" in $$props) $$invalidate(6, maxwidth = $$props.maxwidth);
9296
9406
  if ("fullsize" in $$props) $$invalidate(7, fullsize = $$props.fullsize);
9297
- if ("lang" in $$props) $$invalidate(31, lang = $$props.lang);
9407
+ if ("lang" in $$props) $$invalidate(8, lang = $$props.lang);
9298
9408
  if ("loginevent" in $$props) $$invalidate(32, loginevent = $$props.loginevent);
9299
9409
  if ("registerevent" in $$props) $$invalidate(33, registerevent = $$props.registerevent);
9300
9410
  if ("loginurl" in $$props) $$invalidate(34, loginurl = $$props.loginurl);
@@ -9362,39 +9472,39 @@
9362
9472
  if ("session" in $$props) $$invalidate(0, session = $$props.session);
9363
9473
  if ("userid" in $$props) $$invalidate(1, userid = $$props.userid);
9364
9474
  if ("tournamenturl" in $$props) $$invalidate(2, tournamenturl = $$props.tournamenturl);
9365
- if ("endpoint" in $$props) $$invalidate(30, endpoint = $$props.endpoint);
9475
+ if ("endpoint" in $$props) $$invalidate(31, endpoint = $$props.endpoint);
9366
9476
  if ("showdetails" in $$props) $$invalidate(3, showdetails = $$props.showdetails);
9367
9477
  if ("showslider" in $$props) $$invalidate(4, showslider = $$props.showslider);
9368
9478
  if ("showenrolled" in $$props) $$invalidate(5, showenrolled = $$props.showenrolled);
9369
9479
  if ("maxwidth" in $$props) $$invalidate(6, maxwidth = $$props.maxwidth);
9370
9480
  if ("fullsize" in $$props) $$invalidate(7, fullsize = $$props.fullsize);
9371
- if ("lang" in $$props) $$invalidate(31, lang = $$props.lang);
9481
+ if ("lang" in $$props) $$invalidate(8, lang = $$props.lang);
9372
9482
  if ("loginevent" in $$props) $$invalidate(32, loginevent = $$props.loginevent);
9373
9483
  if ("registerevent" in $$props) $$invalidate(33, registerevent = $$props.registerevent);
9374
9484
  if ("loginurl" in $$props) $$invalidate(34, loginurl = $$props.loginurl);
9375
9485
  if ("registerurl" in $$props) $$invalidate(35, registerurl = $$props.registerurl);
9376
9486
  if ("currency" in $$props) $$invalidate(36, currency = $$props.currency);
9377
9487
  if ("sessionTopic" in $$props) sessionTopic = $$props.sessionTopic;
9378
- if ("isLoggedIn" in $$props) $$invalidate(8, isLoggedIn = $$props.isLoggedIn);
9488
+ if ("isLoggedIn" in $$props) $$invalidate(9, isLoggedIn = $$props.isLoggedIn);
9379
9489
  if ("sessionID" in $$props) sessionID = $$props.sessionID;
9380
9490
  if ("playerID" in $$props) playerID = $$props.playerID;
9381
- if ("isLoading" in $$props) $$invalidate(9, isLoading = $$props.isLoading);
9491
+ if ("isLoading" in $$props) $$invalidate(10, isLoading = $$props.isLoading);
9382
9492
  if ("userAgent" in $$props) userAgent = $$props.userAgent;
9383
- if ("joinButtonLoading" in $$props) $$invalidate(10, joinButtonLoading = $$props.joinButtonLoading);
9384
- if ("errorJoin" in $$props) $$invalidate(11, errorJoin = $$props.errorJoin);
9385
- if ("errorJoinText" in $$props) $$invalidate(12, errorJoinText = $$props.errorJoinText);
9386
- if ("title" in $$props) $$invalidate(13, title = $$props.title);
9387
- if ("startdate" in $$props) $$invalidate(14, startdate = $$props.startdate);
9388
- if ("enddate" in $$props) $$invalidate(15, enddate = $$props.enddate);
9389
- if ("status" in $$props) $$invalidate(16, status = $$props.status);
9390
- if ("tourid" in $$props) $$invalidate(17, tourid = $$props.tourid);
9391
- if ("thumbnail" in $$props) $$invalidate(18, thumbnail = $$props.thumbnail);
9392
- if ("userenrolled" in $$props) $$invalidate(19, userenrolled = $$props.userenrolled);
9393
- if ("scorecriteria" in $$props) $$invalidate(20, scorecriteria = $$props.scorecriteria);
9394
- if ("minbetcount" in $$props) $$invalidate(21, minbetcount = $$props.minbetcount);
9493
+ if ("joinButtonLoading" in $$props) $$invalidate(11, joinButtonLoading = $$props.joinButtonLoading);
9494
+ if ("errorJoin" in $$props) $$invalidate(12, errorJoin = $$props.errorJoin);
9495
+ if ("errorJoinText" in $$props) $$invalidate(13, errorJoinText = $$props.errorJoinText);
9496
+ if ("title" in $$props) $$invalidate(14, title = $$props.title);
9497
+ if ("startdate" in $$props) $$invalidate(15, startdate = $$props.startdate);
9498
+ if ("enddate" in $$props) $$invalidate(16, enddate = $$props.enddate);
9499
+ if ("status" in $$props) $$invalidate(17, status = $$props.status);
9500
+ if ("tourid" in $$props) $$invalidate(18, tourid = $$props.tourid);
9501
+ if ("thumbnail" in $$props) $$invalidate(19, thumbnail = $$props.thumbnail);
9502
+ if ("userenrolled" in $$props) $$invalidate(20, userenrolled = $$props.userenrolled);
9503
+ if ("scorecriteria" in $$props) $$invalidate(21, scorecriteria = $$props.scorecriteria);
9504
+ if ("minbetcount" in $$props) $$invalidate(22, minbetcount = $$props.minbetcount);
9395
9505
  if ("prizes" in $$props) prizes = $$props.prizes;
9396
- if ("wallet" in $$props) $$invalidate(22, wallet = $$props.wallet);
9397
- if ("gameurl" in $$props) $$invalidate(23, gameurl = $$props.gameurl);
9506
+ if ("wallet" in $$props) $$invalidate(23, wallet = $$props.wallet);
9507
+ if ("gameurl" in $$props) $$invalidate(24, gameurl = $$props.gameurl);
9398
9508
  };
9399
9509
 
9400
9510
  if ($$props && "$$inject" in $$props) {
@@ -9406,8 +9516,8 @@
9406
9516
  session && setSession();
9407
9517
  }
9408
9518
 
9409
- if ($$self.$$.dirty[0] & /*tournamenturl*/ 4) {
9410
- tournamenturl && initialLoad();
9519
+ if ($$self.$$.dirty[0] & /*tournamenturl, lang*/ 260) {
9520
+ tournamenturl && lang && initialLoad();
9411
9521
  }
9412
9522
  };
9413
9523
 
@@ -9420,6 +9530,7 @@
9420
9530
  showenrolled,
9421
9531
  maxwidth,
9422
9532
  fullsize,
9533
+ lang,
9423
9534
  isLoggedIn,
9424
9535
  isLoading,
9425
9536
  joinButtonLoading,
@@ -9443,7 +9554,6 @@
9443
9554
  joinAction,
9444
9555
  sendTournamentPrizes,
9445
9556
  endpoint,
9446
- lang,
9447
9557
  loginevent,
9448
9558
  registerevent,
9449
9559
  loginurl,
@@ -9476,13 +9586,13 @@
9476
9586
  session: 0,
9477
9587
  userid: 1,
9478
9588
  tournamenturl: 2,
9479
- endpoint: 30,
9589
+ endpoint: 31,
9480
9590
  showdetails: 3,
9481
9591
  showslider: 4,
9482
9592
  showenrolled: 5,
9483
9593
  maxwidth: 6,
9484
9594
  fullsize: 7,
9485
- lang: 31,
9595
+ lang: 8,
9486
9596
  loginevent: 32,
9487
9597
  registerevent: 33,
9488
9598
  loginurl: 34,
@@ -9552,7 +9662,7 @@
9552
9662
  }
9553
9663
 
9554
9664
  get endpoint() {
9555
- return this.$$.ctx[30];
9665
+ return this.$$.ctx[31];
9556
9666
  }
9557
9667
 
9558
9668
  set endpoint(endpoint) {
@@ -9606,7 +9716,7 @@
9606
9716
  }
9607
9717
 
9608
9718
  get lang() {
9609
- return this.$$.ctx[31];
9719
+ return this.$$.ctx[8];
9610
9720
  }
9611
9721
 
9612
9722
  set lang(lang) {
@@ -9678,11 +9788,11 @@
9678
9788
  },
9679
9789
  tr: {
9680
9790
  tournamentsTable: {
9681
- leaderboard: 'Leaderboard',
9682
- score: 'Score',
9683
- betcounts: 'Bet Counts',
9684
- qualified: 'Qualified',
9685
- nowinners: 'No winners for the time being. Be one of them!'
9791
+ leaderboard: 'Liderlik Tablosu',
9792
+ score: 'Skor',
9793
+ betcounts: 'Bahis Sayısı',
9794
+ qualified: 'Tur atlamış',
9795
+ nowinners: 'Kazanan yok. Kazananlardan birisi ol!'
9686
9796
  }
9687
9797
  },
9688
9798
  };
@@ -11684,11 +11794,11 @@
11684
11794
 
11685
11795
  function get_each_context(ctx, list, i) {
11686
11796
  const child_ctx = ctx.slice();
11687
- child_ctx[32] = list[i];
11797
+ child_ctx[33] = list[i];
11688
11798
  return child_ctx;
11689
11799
  }
11690
11800
 
11691
- // (164:0) {:else}
11801
+ // (165:0) {:else}
11692
11802
  function create_else_block(ctx) {
11693
11803
  let div5;
11694
11804
  let div1;
@@ -11736,35 +11846,35 @@
11736
11846
  attr_dev(path, "stroke-linejoin", "round");
11737
11847
  attr_dev(path, "stroke-width", "2");
11738
11848
  attr_dev(path, "d", "M15 19l-7-7 7-7");
11739
- add_location(path, file, 169, 10, 5771);
11849
+ add_location(path, file, 170, 10, 5827);
11740
11850
  attr_dev(svg, "fill", "none");
11741
11851
  attr_dev(svg, "stroke", "currentColor");
11742
11852
  attr_dev(svg, "width", "24");
11743
11853
  attr_dev(svg, "height", "24");
11744
11854
  attr_dev(svg, "viewBox", "0 0 24 24");
11745
11855
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11746
- add_location(svg, file, 168, 8, 5643);
11747
- add_location(p, file, 171, 8, 5892);
11856
+ add_location(svg, file, 169, 8, 5699);
11857
+ add_location(p, file, 172, 8, 5948);
11748
11858
  attr_dev(div0, "class", "BackButton");
11749
- add_location(div0, file, 167, 6, 5584);
11859
+ add_location(div0, file, 168, 6, 5640);
11750
11860
  attr_dev(div1, "class", "TopButtons");
11751
- add_location(div1, file, 166, 4, 5553);
11861
+ add_location(div1, file, 167, 4, 5609);
11752
11862
 
11753
11863
  attr_dev(div2, "class", div2_class_value = "" + ((isMobile(/*userAgent*/ ctx[11]) ? "MobileClass" : "") + (/*showleaderboard*/ ctx[0] == "true"
11754
11864
  ? "TournamentCardDetails"
11755
11865
  : "FullSize")));
11756
11866
 
11757
- add_location(div2, file, 190, 6, 6772);
11867
+ add_location(div2, file, 191, 6, 6828);
11758
11868
 
11759
11869
  attr_dev(div3, "class", div3_class_value = /*showleaderboard*/ ctx[0] == "true"
11760
11870
  ? "TournamentTableDetails "
11761
11871
  : "DisplayNone");
11762
11872
 
11763
- add_location(div3, file, 213, 6, 7637);
11873
+ add_location(div3, file, 214, 6, 7693);
11764
11874
  attr_dev(div4, "class", "TournamentContentDetails " + (isMobile(/*userAgent*/ ctx[11]) ? "MobileClass" : ""));
11765
- add_location(div4, file, 189, 4, 6684);
11875
+ add_location(div4, file, 190, 4, 6740);
11766
11876
  attr_dev(div5, "class", "TournamentsPage");
11767
- add_location(div5, file, 164, 2, 5518);
11877
+ add_location(div5, file, 165, 2, 5574);
11768
11878
  },
11769
11879
  m: function mount(target, anchor) {
11770
11880
  insert_dev(target, div5, anchor);
@@ -11786,7 +11896,7 @@
11786
11896
  if (if_block2) if_block2.m(div3, null);
11787
11897
 
11788
11898
  if (!mounted) {
11789
- dispose = listen_dev(div0, "click", /*click_handler*/ ctx[16], false, false, false);
11899
+ dispose = listen_dev(div0, "click", /*click_handler*/ ctx[17], false, false, false);
11790
11900
  mounted = true;
11791
11901
  }
11792
11902
  },
@@ -11858,14 +11968,14 @@
11858
11968
  block,
11859
11969
  id: create_else_block.name,
11860
11970
  type: "else",
11861
- source: "(164:0) {:else}",
11971
+ source: "(165:0) {:else}",
11862
11972
  ctx
11863
11973
  });
11864
11974
 
11865
11975
  return block;
11866
11976
  }
11867
11977
 
11868
- // (162:0) {#if isLoading}
11978
+ // (163:0) {#if isLoading}
11869
11979
  function create_if_block(ctx) {
11870
11980
  let p;
11871
11981
  let t_value = /*$_*/ ctx[10]("tournamentsPage.loading") + "";
@@ -11875,7 +11985,7 @@
11875
11985
  c: function create() {
11876
11986
  p = element("p");
11877
11987
  t = text(t_value);
11878
- add_location(p, file, 162, 2, 5469);
11988
+ add_location(p, file, 163, 2, 5525);
11879
11989
  },
11880
11990
  m: function mount(target, anchor) {
11881
11991
  insert_dev(target, p, anchor);
@@ -11893,14 +12003,14 @@
11893
12003
  block,
11894
12004
  id: create_if_block.name,
11895
12005
  type: "if",
11896
- source: "(162:0) {#if isLoading}",
12006
+ source: "(163:0) {#if isLoading}",
11897
12007
  ctx
11898
12008
  });
11899
12009
 
11900
12010
  return block;
11901
12011
  }
11902
12012
 
11903
- // (192:8) {#if tournamentDetails}
12013
+ // (193:8) {#if tournamentDetails}
11904
12014
  function create_if_block_4(ctx) {
11905
12015
  let casino_tournaments_thumbnail_controller;
11906
12016
  let casino_tournaments_thumbnail_controller_tournamenturl_value;
@@ -11919,7 +12029,7 @@
11919
12029
  set_custom_element_data(casino_tournaments_thumbnail_controller, "fullsize", casino_tournaments_thumbnail_controller_fullsize_value = !!/*showleaderboard*/ ctx[0]);
11920
12030
  set_custom_element_data(casino_tournaments_thumbnail_controller, "lang", /*lang*/ ctx[4]);
11921
12031
  set_custom_element_data(casino_tournaments_thumbnail_controller, "currency", /*currency*/ ctx[5]);
11922
- add_location(casino_tournaments_thumbnail_controller, file, 192, 10, 6937);
12032
+ add_location(casino_tournaments_thumbnail_controller, file, 193, 10, 6993);
11923
12033
  },
11924
12034
  m: function mount(target, anchor) {
11925
12035
  insert_dev(target, casino_tournaments_thumbnail_controller, anchor);
@@ -11962,14 +12072,14 @@
11962
12072
  block,
11963
12073
  id: create_if_block_4.name,
11964
12074
  type: "if",
11965
- source: "(192:8) {#if tournamentDetails}",
12075
+ source: "(193:8) {#if tournamentDetails}",
11966
12076
  ctx
11967
12077
  });
11968
12078
 
11969
12079
  return block;
11970
12080
  }
11971
12081
 
11972
- // (206:8) {#if tournamentDescription.length > 0}
12082
+ // (207:8) {#if tournamentDescription.length > 0}
11973
12083
  function create_if_block_3(ctx) {
11974
12084
  let each_1_anchor;
11975
12085
  let each_value = /*tournamentDescription*/ ctx[7];
@@ -12030,14 +12140,14 @@
12030
12140
  block,
12031
12141
  id: create_if_block_3.name,
12032
12142
  type: "if",
12033
- source: "(206:8) {#if tournamentDescription.length > 0}",
12143
+ source: "(207:8) {#if tournamentDescription.length > 0}",
12034
12144
  ctx
12035
12145
  });
12036
12146
 
12037
12147
  return block;
12038
12148
  }
12039
12149
 
12040
- // (207:10) {#each tournamentDescription as desc}
12150
+ // (208:10) {#each tournamentDescription as desc}
12041
12151
  function create_each_block(ctx) {
12042
12152
  let casino_tournaments_details;
12043
12153
  let casino_tournaments_details_title_value;
@@ -12046,19 +12156,19 @@
12046
12156
  const block = {
12047
12157
  c: function create() {
12048
12158
  casino_tournaments_details = element("casino-tournaments-details");
12049
- set_custom_element_data(casino_tournaments_details, "title", casino_tournaments_details_title_value = /*desc*/ ctx[32].title);
12050
- set_custom_element_data(casino_tournaments_details, "text", casino_tournaments_details_text_value = /*desc*/ ctx[32].description);
12051
- add_location(casino_tournaments_details, file, 207, 12, 7471);
12159
+ set_custom_element_data(casino_tournaments_details, "title", casino_tournaments_details_title_value = /*desc*/ ctx[33].title);
12160
+ set_custom_element_data(casino_tournaments_details, "text", casino_tournaments_details_text_value = /*desc*/ ctx[33].description);
12161
+ add_location(casino_tournaments_details, file, 208, 12, 7527);
12052
12162
  },
12053
12163
  m: function mount(target, anchor) {
12054
12164
  insert_dev(target, casino_tournaments_details, anchor);
12055
12165
  },
12056
12166
  p: function update(ctx, dirty) {
12057
- if (dirty[0] & /*tournamentDescription*/ 128 && casino_tournaments_details_title_value !== (casino_tournaments_details_title_value = /*desc*/ ctx[32].title)) {
12167
+ if (dirty[0] & /*tournamentDescription*/ 128 && casino_tournaments_details_title_value !== (casino_tournaments_details_title_value = /*desc*/ ctx[33].title)) {
12058
12168
  set_custom_element_data(casino_tournaments_details, "title", casino_tournaments_details_title_value);
12059
12169
  }
12060
12170
 
12061
- if (dirty[0] & /*tournamentDescription*/ 128 && casino_tournaments_details_text_value !== (casino_tournaments_details_text_value = /*desc*/ ctx[32].description)) {
12171
+ if (dirty[0] & /*tournamentDescription*/ 128 && casino_tournaments_details_text_value !== (casino_tournaments_details_text_value = /*desc*/ ctx[33].description)) {
12062
12172
  set_custom_element_data(casino_tournaments_details, "text", casino_tournaments_details_text_value);
12063
12173
  }
12064
12174
  },
@@ -12071,14 +12181,14 @@
12071
12181
  block,
12072
12182
  id: create_each_block.name,
12073
12183
  type: "each",
12074
- source: "(207:10) {#each tournamentDescription as desc}",
12184
+ source: "(208:10) {#each tournamentDescription as desc}",
12075
12185
  ctx
12076
12186
  });
12077
12187
 
12078
12188
  return block;
12079
12189
  }
12080
12190
 
12081
- // (215:8) {#if showleaderboard == "true"}
12191
+ // (216:8) {#if showleaderboard == "true"}
12082
12192
  function create_if_block_1(ctx) {
12083
12193
  let if_block_anchor;
12084
12194
  let if_block = /*showTable*/ ctx[9] == true && create_if_block_2(ctx);
@@ -12116,14 +12226,14 @@
12116
12226
  block,
12117
12227
  id: create_if_block_1.name,
12118
12228
  type: "if",
12119
- source: "(215:8) {#if showleaderboard == \\\"true\\\"}",
12229
+ source: "(216:8) {#if showleaderboard == \\\"true\\\"}",
12120
12230
  ctx
12121
12231
  });
12122
12232
 
12123
12233
  return block;
12124
12234
  }
12125
12235
 
12126
- // (216:10) {#if showTable == true}
12236
+ // (217:10) {#if showTable == true}
12127
12237
  function create_if_block_2(ctx) {
12128
12238
  let casino_tournaments_table;
12129
12239
 
@@ -12133,7 +12243,7 @@
12133
12243
  set_custom_element_data(casino_tournaments_table, "firstrow", "true");
12134
12244
  set_custom_element_data(casino_tournaments_table, "sortable", "false");
12135
12245
  set_custom_element_data(casino_tournaments_table, "lang", /*lang*/ ctx[4]);
12136
- add_location(casino_tournaments_table, file, 216, 12, 7809);
12246
+ add_location(casino_tournaments_table, file, 217, 12, 7865);
12137
12247
  },
12138
12248
  m: function mount(target, anchor) {
12139
12249
  insert_dev(target, casino_tournaments_table, anchor);
@@ -12152,7 +12262,7 @@
12152
12262
  block,
12153
12263
  id: create_if_block_2.name,
12154
12264
  type: "if",
12155
- source: "(216:10) {#if showTable == true}",
12265
+ source: "(217:10) {#if showTable == true}",
12156
12266
  ctx
12157
12267
  });
12158
12268
 
@@ -12230,6 +12340,7 @@
12230
12340
  let { lang = "" } = $$props;
12231
12341
  let { navigationbackbutton = "Default" } = $$props;
12232
12342
  let { currency = "EUR" } = $$props;
12343
+ let { tablelimit = "30" } = $$props;
12233
12344
 
12234
12345
  // Variables of topics for communication
12235
12346
  let sessionTopic;
@@ -12291,7 +12402,7 @@
12291
12402
  reqHeaders.append("platform", getDevice(userAgent));
12292
12403
  let requestOptions = { method: "GET", headers: reqHeaders };
12293
12404
 
12294
- fetch(url, requestOptions).then(res => res.json()).then(res => {
12405
+ fetch(url.href, requestOptions).then(res => res.json()).then(res => {
12295
12406
  $$invalidate(8, tournamentDetails = res.item);
12296
12407
 
12297
12408
  if (res.item.state == "Unstarted") {
@@ -12315,7 +12426,7 @@
12315
12426
  window.postMessage(
12316
12427
  {
12317
12428
  type: "CasinoTableData",
12318
- tableData: tournamentTableData
12429
+ tableData: tournamentTableData.slice(0, tablelimit)
12319
12430
  },
12320
12431
  window.location.href
12321
12432
  );
@@ -12399,7 +12510,8 @@
12399
12510
  "cmsendpoint",
12400
12511
  "lang",
12401
12512
  "navigationbackbutton",
12402
- "currency"
12513
+ "currency",
12514
+ "tablelimit"
12403
12515
  ];
12404
12516
 
12405
12517
  Object_1.keys($$props).forEach(key => {
@@ -12418,6 +12530,7 @@
12418
12530
  if ("lang" in $$props) $$invalidate(4, lang = $$props.lang);
12419
12531
  if ("navigationbackbutton" in $$props) $$invalidate(15, navigationbackbutton = $$props.navigationbackbutton);
12420
12532
  if ("currency" in $$props) $$invalidate(5, currency = $$props.currency);
12533
+ if ("tablelimit" in $$props) $$invalidate(16, tablelimit = $$props.tablelimit);
12421
12534
  };
12422
12535
 
12423
12536
  $$self.$capture_state = () => ({
@@ -12439,6 +12552,7 @@
12439
12552
  lang,
12440
12553
  navigationbackbutton,
12441
12554
  currency,
12555
+ tablelimit,
12442
12556
  sessionTopic,
12443
12557
  isLoggedIn,
12444
12558
  sessionID,
@@ -12473,6 +12587,7 @@
12473
12587
  if ("lang" in $$props) $$invalidate(4, lang = $$props.lang);
12474
12588
  if ("navigationbackbutton" in $$props) $$invalidate(15, navigationbackbutton = $$props.navigationbackbutton);
12475
12589
  if ("currency" in $$props) $$invalidate(5, currency = $$props.currency);
12590
+ if ("tablelimit" in $$props) $$invalidate(16, tablelimit = $$props.tablelimit);
12476
12591
  if ("sessionTopic" in $$props) sessionTopic = $$props.sessionTopic;
12477
12592
  if ("isLoggedIn" in $$props) isLoggedIn = $$props.isLoggedIn;
12478
12593
  if ("sessionID" in $$props) sessionID = $$props.sessionID;
@@ -12522,6 +12637,7 @@
12522
12637
  tourid,
12523
12638
  cmsendpoint,
12524
12639
  navigationbackbutton,
12640
+ tablelimit,
12525
12641
  click_handler
12526
12642
  ];
12527
12643
  }
@@ -12550,7 +12666,8 @@
12550
12666
  cmsendpoint: 14,
12551
12667
  lang: 4,
12552
12668
  navigationbackbutton: 15,
12553
- currency: 5
12669
+ currency: 5,
12670
+ tablelimit: 16
12554
12671
  },
12555
12672
  [-1, -1]
12556
12673
  );
@@ -12577,7 +12694,8 @@
12577
12694
  "cmsendpoint",
12578
12695
  "lang",
12579
12696
  "navigationbackbutton",
12580
- "currency"
12697
+ "currency",
12698
+ "tablelimit"
12581
12699
  ];
12582
12700
  }
12583
12701
 
@@ -12661,6 +12779,15 @@
12661
12779
  this.$set({ currency });
12662
12780
  flush();
12663
12781
  }
12782
+
12783
+ get tablelimit() {
12784
+ return this.$$.ctx[16];
12785
+ }
12786
+
12787
+ set tablelimit(tablelimit) {
12788
+ this.$set({ tablelimit });
12789
+ flush();
12790
+ }
12664
12791
  }
12665
12792
 
12666
12793
  !customElements.get('casino-tournaments-page-controller') && customElements.define('casino-tournaments-page-controller', CasinoTournamentsPageController);