@everymatrix/casino-tournaments-page-controller 0.0.93 → 0.0.97

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.
@@ -11304,35 +11304,35 @@
11304
11304
  attr_dev(path, "stroke-linejoin", "round");
11305
11305
  attr_dev(path, "stroke-width", "2");
11306
11306
  attr_dev(path, "d", "M15 19l-7-7 7-7");
11307
- add_location(path, file, 161, 10, 5384);
11307
+ add_location(path, file, 161, 10, 5389);
11308
11308
  attr_dev(svg, "fill", "none");
11309
11309
  attr_dev(svg, "stroke", "currentColor");
11310
11310
  attr_dev(svg, "width", "24");
11311
11311
  attr_dev(svg, "height", "24");
11312
11312
  attr_dev(svg, "viewBox", "0 0 24 24");
11313
11313
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11314
- add_location(svg, file, 160, 8, 5256);
11315
- add_location(p, file, 163, 8, 5505);
11314
+ add_location(svg, file, 160, 8, 5261);
11315
+ add_location(p, file, 163, 8, 5510);
11316
11316
  attr_dev(div0, "class", "BackButton");
11317
- add_location(div0, file, 159, 6, 5197);
11317
+ add_location(div0, file, 159, 6, 5202);
11318
11318
  attr_dev(div1, "class", "TopButtons");
11319
- add_location(div1, file, 158, 4, 5166);
11319
+ add_location(div1, file, 158, 4, 5171);
11320
11320
 
11321
11321
  attr_dev(div2, "class", div2_class_value = "" + ((isMobile(/*userAgent*/ ctx[8]) ? "MobileClass" : "") + (/*showleaderboard*/ ctx[0] == "true"
11322
11322
  ? "TournamentCardDetails"
11323
11323
  : "FullSize")));
11324
11324
 
11325
- add_location(div2, file, 182, 6, 6313);
11325
+ add_location(div2, file, 182, 6, 6318);
11326
11326
 
11327
11327
  attr_dev(div3, "class", div3_class_value = /*showleaderboard*/ ctx[0] == "true"
11328
11328
  ? "TournamentTableDetails "
11329
11329
  : "DisplayNone");
11330
11330
 
11331
- add_location(div3, file, 203, 6, 7136);
11331
+ add_location(div3, file, 203, 6, 7141);
11332
11332
  attr_dev(div4, "class", "TournamentContentDetails " + (isMobile(/*userAgent*/ ctx[8]) ? "MobileClass" : ""));
11333
- add_location(div4, file, 181, 4, 6225);
11333
+ add_location(div4, file, 181, 4, 6230);
11334
11334
  attr_dev(div5, "class", "TournamentsPage");
11335
- add_location(div5, file, 156, 2, 5131);
11335
+ add_location(div5, file, 156, 2, 5136);
11336
11336
  },
11337
11337
  m: function mount(target, anchor) {
11338
11338
  insert_dev(target, div5, anchor);
@@ -11438,7 +11438,7 @@
11438
11438
  c: function create() {
11439
11439
  p = element("p");
11440
11440
  p.textContent = "Loading, please wait ...";
11441
- add_location(p, file, 154, 2, 5089);
11441
+ add_location(p, file, 154, 2, 5094);
11442
11442
  },
11443
11443
  m: function mount(target, anchor) {
11444
11444
  insert_dev(target, p, anchor);
@@ -11477,7 +11477,7 @@
11477
11477
  set_custom_element_data(casino_tournaments_thumbnail_controller, "showslider", "true");
11478
11478
  set_custom_element_data(casino_tournaments_thumbnail_controller, "showenrolled", "true");
11479
11479
  set_custom_element_data(casino_tournaments_thumbnail_controller, "fullsize", casino_tournaments_thumbnail_controller_fullsize_value = !!/*showleaderboard*/ ctx[0]);
11480
- add_location(casino_tournaments_thumbnail_controller, file, 184, 10, 6478);
11480
+ add_location(casino_tournaments_thumbnail_controller, file, 184, 10, 6483);
11481
11481
  },
11482
11482
  m: function mount(target, anchor) {
11483
11483
  insert_dev(target, casino_tournaments_thumbnail_controller, anchor);
@@ -11598,7 +11598,7 @@
11598
11598
  casino_tournaments_details = element("casino-tournaments-details");
11599
11599
  set_custom_element_data(casino_tournaments_details, "title", casino_tournaments_details_title_value = /*desc*/ ctx[30].title);
11600
11600
  set_custom_element_data(casino_tournaments_details, "text", casino_tournaments_details_text_value = /*desc*/ ctx[30].description);
11601
- add_location(casino_tournaments_details, file, 197, 12, 6970);
11601
+ add_location(casino_tournaments_details, file, 197, 12, 6975);
11602
11602
  },
11603
11603
  m: function mount(target, anchor) {
11604
11604
  insert_dev(target, casino_tournaments_details, anchor);
@@ -11680,7 +11680,7 @@
11680
11680
  casino_tournaments_table = element("casino-tournaments-table");
11681
11681
  set_custom_element_data(casino_tournaments_table, "firstrow", "true");
11682
11682
  set_custom_element_data(casino_tournaments_table, "sortable", "false");
11683
- add_location(casino_tournaments_table, file, 206, 12, 7308);
11683
+ add_location(casino_tournaments_table, file, 206, 12, 7313);
11684
11684
  },
11685
11685
  m: function mount(target, anchor) {
11686
11686
  insert_dev(target, casino_tournaments_table, anchor);
@@ -11827,7 +11827,7 @@
11827
11827
  fetch(url, requestOptions).then(res => res.json()).then(res => {
11828
11828
  $$invalidate(6, tournamentDetails = res.item);
11829
11829
 
11830
- if (res.state == "Unstarted") {
11830
+ if (res.item.state == "Unstarted") {
11831
11831
  $$invalidate(0, showleaderboard = false);
11832
11832
  }
11833
11833
  });