@everymatrix/casino-tournaments-page-controller 0.0.88 → 0.0.92
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.
|
@@ -192,12 +192,6 @@
|
|
|
192
192
|
block.i(local);
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
|
|
196
|
-
const globals = (typeof window !== 'undefined'
|
|
197
|
-
? window
|
|
198
|
-
: typeof globalThis !== 'undefined'
|
|
199
|
-
? globalThis
|
|
200
|
-
: global);
|
|
201
195
|
function mount_component(component, target, anchor, customElement) {
|
|
202
196
|
const { fragment, on_mount, on_destroy, after_update } = component.$$;
|
|
203
197
|
fragment && fragment.m(target, anchor);
|
|
@@ -405,17 +399,17 @@
|
|
|
405
399
|
}
|
|
406
400
|
}
|
|
407
401
|
|
|
408
|
-
var global
|
|
402
|
+
var global =
|
|
409
403
|
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
410
404
|
(typeof self !== 'undefined' && self) ||
|
|
411
|
-
(typeof global
|
|
405
|
+
(typeof global !== 'undefined' && global);
|
|
412
406
|
|
|
413
407
|
var support = {
|
|
414
|
-
searchParams: 'URLSearchParams' in global
|
|
415
|
-
iterable: 'Symbol' in global
|
|
408
|
+
searchParams: 'URLSearchParams' in global,
|
|
409
|
+
iterable: 'Symbol' in global && 'iterator' in Symbol,
|
|
416
410
|
blob:
|
|
417
|
-
'FileReader' in global
|
|
418
|
-
'Blob' in global
|
|
411
|
+
'FileReader' in global &&
|
|
412
|
+
'Blob' in global &&
|
|
419
413
|
(function() {
|
|
420
414
|
try {
|
|
421
415
|
new Blob();
|
|
@@ -424,8 +418,8 @@
|
|
|
424
418
|
return false
|
|
425
419
|
}
|
|
426
420
|
})(),
|
|
427
|
-
formData: 'FormData' in global
|
|
428
|
-
arrayBuffer: 'ArrayBuffer' in global
|
|
421
|
+
formData: 'FormData' in global,
|
|
422
|
+
arrayBuffer: 'ArrayBuffer' in global
|
|
429
423
|
};
|
|
430
424
|
|
|
431
425
|
function isDataView(obj) {
|
|
@@ -890,7 +884,7 @@
|
|
|
890
884
|
return new Response(null, {status: status, headers: {location: url}})
|
|
891
885
|
};
|
|
892
886
|
|
|
893
|
-
var DOMException = global
|
|
887
|
+
var DOMException = global.DOMException;
|
|
894
888
|
try {
|
|
895
889
|
new DOMException();
|
|
896
890
|
} catch (err) {
|
|
@@ -951,7 +945,7 @@
|
|
|
951
945
|
|
|
952
946
|
function fixUrl(url) {
|
|
953
947
|
try {
|
|
954
|
-
return url === '' && global
|
|
948
|
+
return url === '' && global.location.href ? global.location.href : url
|
|
955
949
|
} catch (e) {
|
|
956
950
|
return url
|
|
957
951
|
}
|
|
@@ -1004,11 +998,11 @@
|
|
|
1004
998
|
|
|
1005
999
|
fetch$1.polyfill = true;
|
|
1006
1000
|
|
|
1007
|
-
if (!global
|
|
1008
|
-
global
|
|
1009
|
-
global
|
|
1010
|
-
global
|
|
1011
|
-
global
|
|
1001
|
+
if (!global.fetch) {
|
|
1002
|
+
global.fetch = fetch$1;
|
|
1003
|
+
global.Headers = Headers$1;
|
|
1004
|
+
global.Request = Request$1;
|
|
1005
|
+
global.Response = Response;
|
|
1012
1006
|
}
|
|
1013
1007
|
|
|
1014
1008
|
// the whatwg-fetch polyfill installs the fetch() function
|
|
@@ -7603,7 +7597,7 @@
|
|
|
7603
7597
|
class CasinoTournamentsThumbnailGamesSlider extends SvelteElement {
|
|
7604
7598
|
constructor(options) {
|
|
7605
7599
|
super();
|
|
7606
|
-
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:#
|
|
7600
|
+
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}.items .item:first-child{margin-left:0}.items .item:last-child{margin-right:0}</style>`;
|
|
7607
7601
|
|
|
7608
7602
|
init(
|
|
7609
7603
|
this,
|
|
@@ -8109,7 +8103,7 @@
|
|
|
8109
8103
|
button = element("button");
|
|
8110
8104
|
button.textContent = "Details";
|
|
8111
8105
|
attr_dev(button, "class", "DetailsLargeButton");
|
|
8112
|
-
add_location(button, file$2, 249, 12,
|
|
8106
|
+
add_location(button, file$2, 249, 12, 8030);
|
|
8113
8107
|
},
|
|
8114
8108
|
m: function mount(target, anchor) {
|
|
8115
8109
|
insert_dev(target, button, anchor);
|
|
@@ -8308,6 +8302,7 @@
|
|
|
8308
8302
|
// (236:10) {:else}
|
|
8309
8303
|
function create_else_block_1$1(ctx) {
|
|
8310
8304
|
let button;
|
|
8305
|
+
let button_class_value;
|
|
8311
8306
|
let mounted;
|
|
8312
8307
|
let dispose;
|
|
8313
8308
|
|
|
@@ -8323,7 +8318,7 @@
|
|
|
8323
8318
|
c: function create() {
|
|
8324
8319
|
button = element("button");
|
|
8325
8320
|
if_block.c();
|
|
8326
|
-
attr_dev(button, "class", "JoinButton");
|
|
8321
|
+
attr_dev(button, "class", button_class_value = "JoinButton " + (/*fullsize*/ ctx[7] ? "JoinButtonFullSize" : ""));
|
|
8327
8322
|
button.disabled = /*errorJoin*/ ctx[11];
|
|
8328
8323
|
add_location(button, file$2, 236, 12, 7222);
|
|
8329
8324
|
},
|
|
@@ -8347,6 +8342,10 @@
|
|
|
8347
8342
|
}
|
|
8348
8343
|
}
|
|
8349
8344
|
|
|
8345
|
+
if (dirty[0] & /*fullsize*/ 128 && button_class_value !== (button_class_value = "JoinButton " + (/*fullsize*/ ctx[7] ? "JoinButtonFullSize" : ""))) {
|
|
8346
|
+
attr_dev(button, "class", button_class_value);
|
|
8347
|
+
}
|
|
8348
|
+
|
|
8350
8349
|
if (dirty[0] & /*errorJoin*/ 2048) {
|
|
8351
8350
|
prop_dev(button, "disabled", /*errorJoin*/ ctx[11]);
|
|
8352
8351
|
}
|
|
@@ -8435,20 +8434,20 @@
|
|
|
8435
8434
|
t2 = text(".a{fill:#fff;}");
|
|
8436
8435
|
g = svg_element("g");
|
|
8437
8436
|
path = svg_element("path");
|
|
8438
|
-
add_location(span, file$2, 242, 16,
|
|
8439
|
-
add_location(style, file$2, 243, 105,
|
|
8440
|
-
add_location(defs, file$2, 243, 99,
|
|
8437
|
+
add_location(span, file$2, 242, 16, 7558);
|
|
8438
|
+
add_location(style, file$2, 243, 105, 7681);
|
|
8439
|
+
add_location(defs, file$2, 243, 99, 7675);
|
|
8441
8440
|
attr_dev(path, "class", "a");
|
|
8442
8441
|
attr_dev(path, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z");
|
|
8443
8442
|
attr_dev(path, "transform", "translate(26 26) rotate(180)");
|
|
8444
|
-
add_location(path, file$2, 243, 185,
|
|
8443
|
+
add_location(path, file$2, 243, 185, 7761);
|
|
8445
8444
|
attr_dev(g, "transform", "translate(26 26) rotate(180)");
|
|
8446
|
-
add_location(g, file$2, 243, 141,
|
|
8445
|
+
add_location(g, file$2, 243, 141, 7717);
|
|
8447
8446
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
8448
8447
|
attr_dev(svg, "width", "26");
|
|
8449
8448
|
attr_dev(svg, "height", "26");
|
|
8450
8449
|
attr_dev(svg, "viewBox", "0 0 26 26");
|
|
8451
|
-
add_location(svg, file$2, 243, 16,
|
|
8450
|
+
add_location(svg, file$2, 243, 16, 7592);
|
|
8452
8451
|
},
|
|
8453
8452
|
m: function mount(target, anchor) {
|
|
8454
8453
|
insert_dev(target, span, anchor);
|
|
@@ -8490,9 +8489,9 @@
|
|
|
8490
8489
|
attr_dev(circle, "cx", "20");
|
|
8491
8490
|
attr_dev(circle, "cy", "20");
|
|
8492
8491
|
attr_dev(circle, "r", "18");
|
|
8493
|
-
add_location(circle, file$2, 239, 18,
|
|
8492
|
+
add_location(circle, file$2, 239, 18, 7456);
|
|
8494
8493
|
attr_dev(svg, "class", "spinner");
|
|
8495
|
-
add_location(svg, file$2, 238, 16,
|
|
8494
|
+
add_location(svg, file$2, 238, 16, 7416);
|
|
8496
8495
|
},
|
|
8497
8496
|
m: function mount(target, anchor) {
|
|
8498
8497
|
insert_dev(target, svg, anchor);
|
|
@@ -8557,7 +8556,7 @@
|
|
|
8557
8556
|
t0 = text("There was an error joining the tournament - ");
|
|
8558
8557
|
t1 = text(/*errorJoinText*/ ctx[12]);
|
|
8559
8558
|
attr_dev(span, "class", "ErrorText");
|
|
8560
|
-
add_location(span, file$2, 255, 6,
|
|
8559
|
+
add_location(span, file$2, 255, 6, 8200);
|
|
8561
8560
|
},
|
|
8562
8561
|
m: function mount(target, anchor) {
|
|
8563
8562
|
insert_dev(target, span, anchor);
|
|
@@ -8592,8 +8591,8 @@
|
|
|
8592
8591
|
casino_tournaments_thumbnail_games_slider = element("casino-tournaments-thumbnail-games-slider");
|
|
8593
8592
|
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "tournamenturl", /*tournamenturl*/ ctx[2]);
|
|
8594
8593
|
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "scrollby", "2");
|
|
8595
|
-
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "pagfactor", "
|
|
8596
|
-
add_location(casino_tournaments_thumbnail_games_slider, file$2, 258, 6,
|
|
8594
|
+
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "pagfactor", "130");
|
|
8595
|
+
add_location(casino_tournaments_thumbnail_games_slider, file$2, 258, 6, 8338);
|
|
8597
8596
|
},
|
|
8598
8597
|
m: function mount(target, anchor) {
|
|
8599
8598
|
insert_dev(target, casino_tournaments_thumbnail_games_slider, anchor);
|
|
@@ -9070,7 +9069,7 @@
|
|
|
9070
9069
|
class CasinoTournamentsThumbnailController extends SvelteElement {
|
|
9071
9070
|
constructor(options) {
|
|
9072
9071
|
super();
|
|
9073
|
-
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}button{cursor:pointer}.TournamentCard{position:relative;background:#
|
|
9072
|
+
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}button{cursor:pointer}.TournamentCard{position:relative;background:#0A0B19;color:#fff;border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize{width:100%}.CardMaxWidth{max-width:600px}.TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0 20px}.LoginButton{background:#0A0B19;width:50%;height:60px;border:solid #fff 1px;text-align:center;color:#fff;text-transform:uppercase;font-size:18px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:#0A0B19;width:50%;height:60px;text-align:center;color:#48952a;border:solid #48952a 1px;text-transform:uppercase;font-size:18px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:#0A0B19;width:40%;height:60px;border:solid #fff 1px;text-align:center;color:#fff;text-transform:uppercase;font-size:18px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:#0A0B19;width:100%;height:60px;border:solid #fff 1px;text-align:center;color:#fff;text-transform:uppercase;font-size:16px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:#2a2c5a;width:60%;height:60px;text-align:center;color:#aaaabe;border:0;text-transform:uppercase;font-size:18px;cursor:default}.JoinButton{background:#48952a;width:60%;height:60px;text-align:center;color:#fff;border:solid #48952a 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:18px}.JoinButton:hover{opacity:0.7}.JoinButton:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize{width:100%}.ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:#0A0B19;border:1px solid black;border-radius:2px}.ph-item,.ph-item *,.ph-item ::after,.ph-item ::before{box-sizing:border-box}.ph-item::before{position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;background:linear-gradient(to right, rgba(10, 11, 25, 0) 46%, rgba(10, 11, 25, 0.35) 50%, rgba(10, 11, 25, 0) 54%) 50% 50%;animation:phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{height:10px;margin-top:7.5px;background-color:#ced4da}.ph-row .big{height:20px}.ph-row .empty{background-color:rgba(10, 11, 25, 0)}.ph-col-4{flex:0 0 33.33333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.66667%}.ph-col-12{flex:0 0 100%}[class*="ph-col"]{direction:ltr}[class*="ph-col"]>*+.ph-row{margin-top:0}[class*="ph-col"]>*+*{margin-top:7.5px}.ph-picture{width:100%;height:120px;background-color:#ced4da}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.spinner circle{fill:transparent;stroke:#212121;stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}</style>`;
|
|
9074
9073
|
|
|
9075
9074
|
init(
|
|
9076
9075
|
this,
|
|
@@ -9262,8 +9261,6 @@
|
|
|
9262
9261
|
!customElements.get('casino-tournaments-thumbnail-controller') && customElements.define('casino-tournaments-thumbnail-controller', CasinoTournamentsThumbnailController);
|
|
9263
9262
|
|
|
9264
9263
|
/* ../casino-tournaments-table/src/CasinoTournamentsTable.svelte generated by Svelte v3.37.0 */
|
|
9265
|
-
|
|
9266
|
-
const { console: console_1 } = globals;
|
|
9267
9264
|
const file$1 = "../casino-tournaments-table/src/CasinoTournamentsTable.svelte";
|
|
9268
9265
|
|
|
9269
9266
|
function get_each_context_3(ctx, list, i) {
|
|
@@ -9290,7 +9287,7 @@
|
|
|
9290
9287
|
return child_ctx;
|
|
9291
9288
|
}
|
|
9292
9289
|
|
|
9293
|
-
// (
|
|
9290
|
+
// (223:4) {:else}
|
|
9294
9291
|
function create_else_block_5(ctx) {
|
|
9295
9292
|
let div;
|
|
9296
9293
|
let table;
|
|
@@ -9324,16 +9321,16 @@
|
|
|
9324
9321
|
tr1 = element("tr");
|
|
9325
9322
|
td = element("td");
|
|
9326
9323
|
td.textContent = "No winners for the time being. Be one of them!";
|
|
9327
|
-
add_location(tr0, file$1,
|
|
9328
|
-
add_location(thead, file$1,
|
|
9324
|
+
add_location(tr0, file$1, 226, 12, 7462);
|
|
9325
|
+
add_location(thead, file$1, 225, 10, 7442);
|
|
9329
9326
|
attr_dev(td, "colspan", "3");
|
|
9330
|
-
add_location(td, file$1,
|
|
9331
|
-
add_location(tr1, file$1,
|
|
9332
|
-
add_location(tbody, file$1,
|
|
9327
|
+
add_location(td, file$1, 242, 14, 7943);
|
|
9328
|
+
add_location(tr1, file$1, 241, 12, 7924);
|
|
9329
|
+
add_location(tbody, file$1, 240, 10, 7904);
|
|
9333
9330
|
attr_dev(table, "class", "LeftTable");
|
|
9334
|
-
add_location(table, file$1,
|
|
9331
|
+
add_location(table, file$1, 224, 8, 7406);
|
|
9335
9332
|
attr_dev(div, "class", "TournamentsTable");
|
|
9336
|
-
add_location(div, file$1,
|
|
9333
|
+
add_location(div, file$1, 223, 6, 7367);
|
|
9337
9334
|
},
|
|
9338
9335
|
m: function mount(target, anchor) {
|
|
9339
9336
|
insert_dev(target, div, anchor);
|
|
@@ -9385,14 +9382,14 @@
|
|
|
9385
9382
|
block,
|
|
9386
9383
|
id: create_else_block_5.name,
|
|
9387
9384
|
type: "else",
|
|
9388
|
-
source: "(
|
|
9385
|
+
source: "(223:4) {:else}",
|
|
9389
9386
|
ctx
|
|
9390
9387
|
});
|
|
9391
9388
|
|
|
9392
9389
|
return block;
|
|
9393
9390
|
}
|
|
9394
9391
|
|
|
9395
|
-
// (
|
|
9392
|
+
// (200:2) {#if isMobile(userAgent) == true}
|
|
9396
9393
|
function create_if_block_9(ctx) {
|
|
9397
9394
|
let div3;
|
|
9398
9395
|
let div0;
|
|
@@ -9426,13 +9423,13 @@
|
|
|
9426
9423
|
if (if_block1) if_block1.c();
|
|
9427
9424
|
if_block1_anchor = empty();
|
|
9428
9425
|
attr_dev(div0, "class", "Leaderboard");
|
|
9429
|
-
add_location(div0, file$1,
|
|
9426
|
+
add_location(div0, file$1, 201, 6, 6395);
|
|
9430
9427
|
attr_dev(div1, "class", "CollapseButton");
|
|
9431
|
-
add_location(div1, file$1,
|
|
9428
|
+
add_location(div1, file$1, 203, 8, 6523);
|
|
9432
9429
|
attr_dev(div2, "class", "RightButton " + (isMobile(/*userAgent*/ ctx[8]) ? "MobileClass" : ""));
|
|
9433
|
-
add_location(div2, file$1,
|
|
9430
|
+
add_location(div2, file$1, 202, 6, 6444);
|
|
9434
9431
|
attr_dev(div3, "class", "LeaderboardContainer");
|
|
9435
|
-
add_location(div3, file$1,
|
|
9432
|
+
add_location(div3, file$1, 200, 4, 6354);
|
|
9436
9433
|
},
|
|
9437
9434
|
m: function mount(target, anchor) {
|
|
9438
9435
|
insert_dev(target, div3, anchor);
|
|
@@ -9487,14 +9484,14 @@
|
|
|
9487
9484
|
block,
|
|
9488
9485
|
id: create_if_block_9.name,
|
|
9489
9486
|
type: "if",
|
|
9490
|
-
source: "(
|
|
9487
|
+
source: "(200:2) {#if isMobile(userAgent) == true}",
|
|
9491
9488
|
ctx
|
|
9492
9489
|
});
|
|
9493
9490
|
|
|
9494
9491
|
return block;
|
|
9495
9492
|
}
|
|
9496
9493
|
|
|
9497
|
-
// (
|
|
9494
|
+
// (84:0) {#if data.length > 0 || firstRowData}
|
|
9498
9495
|
function create_if_block$1(ctx) {
|
|
9499
9496
|
let if_block_anchor;
|
|
9500
9497
|
|
|
@@ -9528,14 +9525,14 @@
|
|
|
9528
9525
|
block,
|
|
9529
9526
|
id: create_if_block$1.name,
|
|
9530
9527
|
type: "if",
|
|
9531
|
-
source: "(
|
|
9528
|
+
source: "(84:0) {#if data.length > 0 || firstRowData}",
|
|
9532
9529
|
ctx
|
|
9533
9530
|
});
|
|
9534
9531
|
|
|
9535
9532
|
return block;
|
|
9536
9533
|
}
|
|
9537
9534
|
|
|
9538
|
-
// (
|
|
9535
|
+
// (234:18) {:else}
|
|
9539
9536
|
function create_else_block_6(ctx) {
|
|
9540
9537
|
let p;
|
|
9541
9538
|
let t_value = /*column*/ ctx[11] + "";
|
|
@@ -9546,7 +9543,7 @@
|
|
|
9546
9543
|
p = element("p");
|
|
9547
9544
|
t = text(t_value);
|
|
9548
9545
|
attr_dev(p, "data-sort", /*sort*/ ctx[7]);
|
|
9549
|
-
add_location(p, file$1,
|
|
9546
|
+
add_location(p, file$1, 234, 20, 7756);
|
|
9550
9547
|
},
|
|
9551
9548
|
m: function mount(target, anchor) {
|
|
9552
9549
|
insert_dev(target, p, anchor);
|
|
@@ -9568,14 +9565,14 @@
|
|
|
9568
9565
|
block,
|
|
9569
9566
|
id: create_else_block_6.name,
|
|
9570
9567
|
type: "else",
|
|
9571
|
-
source: "(
|
|
9568
|
+
source: "(234:18) {:else}",
|
|
9572
9569
|
ctx
|
|
9573
9570
|
});
|
|
9574
9571
|
|
|
9575
9572
|
return block;
|
|
9576
9573
|
}
|
|
9577
9574
|
|
|
9578
|
-
// (
|
|
9575
|
+
// (230:18) {#if sortable == 'true'}
|
|
9579
9576
|
function create_if_block_12(ctx) {
|
|
9580
9577
|
let button;
|
|
9581
9578
|
let t_value = /*column*/ ctx[11] + "";
|
|
@@ -9592,7 +9589,7 @@
|
|
|
9592
9589
|
button = element("button");
|
|
9593
9590
|
t = text(t_value);
|
|
9594
9591
|
attr_dev(button, "data-sort", /*sort*/ ctx[7]);
|
|
9595
|
-
add_location(button, file$1,
|
|
9592
|
+
add_location(button, file$1, 230, 20, 7591);
|
|
9596
9593
|
},
|
|
9597
9594
|
m: function mount(target, anchor) {
|
|
9598
9595
|
insert_dev(target, button, anchor);
|
|
@@ -9622,14 +9619,14 @@
|
|
|
9622
9619
|
block,
|
|
9623
9620
|
id: create_if_block_12.name,
|
|
9624
9621
|
type: "if",
|
|
9625
|
-
source: "(
|
|
9622
|
+
source: "(230:18) {#if sortable == 'true'}",
|
|
9626
9623
|
ctx
|
|
9627
9624
|
});
|
|
9628
9625
|
|
|
9629
9626
|
return block;
|
|
9630
9627
|
}
|
|
9631
9628
|
|
|
9632
|
-
// (
|
|
9629
|
+
// (228:14) {#each columns as column}
|
|
9633
9630
|
function create_each_block_3(ctx) {
|
|
9634
9631
|
let th;
|
|
9635
9632
|
let t;
|
|
@@ -9647,7 +9644,7 @@
|
|
|
9647
9644
|
th = element("th");
|
|
9648
9645
|
if_block.c();
|
|
9649
9646
|
t = space();
|
|
9650
|
-
add_location(th, file$1,
|
|
9647
|
+
add_location(th, file$1, 228, 16, 7523);
|
|
9651
9648
|
},
|
|
9652
9649
|
m: function mount(target, anchor) {
|
|
9653
9650
|
insert_dev(target, th, anchor);
|
|
@@ -9677,14 +9674,14 @@
|
|
|
9677
9674
|
block,
|
|
9678
9675
|
id: create_each_block_3.name,
|
|
9679
9676
|
type: "each",
|
|
9680
|
-
source: "(
|
|
9677
|
+
source: "(228:14) {#each columns as column}",
|
|
9681
9678
|
ctx
|
|
9682
9679
|
});
|
|
9683
9680
|
|
|
9684
9681
|
return block;
|
|
9685
9682
|
}
|
|
9686
9683
|
|
|
9687
|
-
// (
|
|
9684
|
+
// (209:10) {:else}
|
|
9688
9685
|
function create_else_block_4(ctx) {
|
|
9689
9686
|
let svg;
|
|
9690
9687
|
let path;
|
|
@@ -9694,7 +9691,7 @@
|
|
|
9694
9691
|
svg = svg_element("svg");
|
|
9695
9692
|
path = svg_element("path");
|
|
9696
9693
|
attr_dev(path, "d", "M6 9l6 6 6-6");
|
|
9697
|
-
add_location(path, file$1,
|
|
9694
|
+
add_location(path, file$1, 210, 14, 7082);
|
|
9698
9695
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
9699
9696
|
attr_dev(svg, "width", "24");
|
|
9700
9697
|
attr_dev(svg, "height", "24");
|
|
@@ -9704,7 +9701,7 @@
|
|
|
9704
9701
|
attr_dev(svg, "stroke-width", "2");
|
|
9705
9702
|
attr_dev(svg, "stroke-linecap", "round");
|
|
9706
9703
|
attr_dev(svg, "stroke-linejoin", "round");
|
|
9707
|
-
add_location(svg, file$1,
|
|
9704
|
+
add_location(svg, file$1, 209, 12, 6891);
|
|
9708
9705
|
},
|
|
9709
9706
|
m: function mount(target, anchor) {
|
|
9710
9707
|
insert_dev(target, svg, anchor);
|
|
@@ -9719,14 +9716,14 @@
|
|
|
9719
9716
|
block,
|
|
9720
9717
|
id: create_else_block_4.name,
|
|
9721
9718
|
type: "else",
|
|
9722
|
-
source: "(
|
|
9719
|
+
source: "(209:10) {:else}",
|
|
9723
9720
|
ctx
|
|
9724
9721
|
});
|
|
9725
9722
|
|
|
9726
9723
|
return block;
|
|
9727
9724
|
}
|
|
9728
9725
|
|
|
9729
|
-
// (
|
|
9726
|
+
// (205:10) {#if showTable}
|
|
9730
9727
|
function create_if_block_11(ctx) {
|
|
9731
9728
|
let svg;
|
|
9732
9729
|
let path;
|
|
@@ -9736,7 +9733,7 @@
|
|
|
9736
9733
|
svg = svg_element("svg");
|
|
9737
9734
|
path = svg_element("path");
|
|
9738
9735
|
attr_dev(path, "d", "M18 15l-6-6-6 6");
|
|
9739
|
-
add_location(path, file$1,
|
|
9736
|
+
add_location(path, file$1, 206, 14, 6814);
|
|
9740
9737
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
9741
9738
|
attr_dev(svg, "width", "24");
|
|
9742
9739
|
attr_dev(svg, "height", "24");
|
|
@@ -9746,7 +9743,7 @@
|
|
|
9746
9743
|
attr_dev(svg, "stroke-width", "2");
|
|
9747
9744
|
attr_dev(svg, "stroke-linecap", "round");
|
|
9748
9745
|
attr_dev(svg, "stroke-linejoin", "round");
|
|
9749
|
-
add_location(svg, file$1,
|
|
9746
|
+
add_location(svg, file$1, 205, 12, 6623);
|
|
9750
9747
|
},
|
|
9751
9748
|
m: function mount(target, anchor) {
|
|
9752
9749
|
insert_dev(target, svg, anchor);
|
|
@@ -9761,14 +9758,14 @@
|
|
|
9761
9758
|
block,
|
|
9762
9759
|
id: create_if_block_11.name,
|
|
9763
9760
|
type: "if",
|
|
9764
|
-
source: "(
|
|
9761
|
+
source: "(205:10) {#if showTable}",
|
|
9765
9762
|
ctx
|
|
9766
9763
|
});
|
|
9767
9764
|
|
|
9768
9765
|
return block;
|
|
9769
9766
|
}
|
|
9770
9767
|
|
|
9771
|
-
// (
|
|
9768
|
+
// (218:4) {#if showTable}
|
|
9772
9769
|
function create_if_block_10(ctx) {
|
|
9773
9770
|
let div1;
|
|
9774
9771
|
let div0;
|
|
@@ -9780,11 +9777,11 @@
|
|
|
9780
9777
|
div0 = element("div");
|
|
9781
9778
|
p = element("p");
|
|
9782
9779
|
p.textContent = "No winners for the time being. Be one of them!";
|
|
9783
|
-
add_location(p, file$1,
|
|
9780
|
+
add_location(p, file$1, 219, 31, 7266);
|
|
9784
9781
|
attr_dev(div0, "class", "TableUser");
|
|
9785
|
-
add_location(div0, file$1,
|
|
9782
|
+
add_location(div0, file$1, 219, 8, 7243);
|
|
9786
9783
|
attr_dev(div1, "class", "TableContent");
|
|
9787
|
-
add_location(div1, file$1,
|
|
9784
|
+
add_location(div1, file$1, 218, 6, 7208);
|
|
9788
9785
|
},
|
|
9789
9786
|
m: function mount(target, anchor) {
|
|
9790
9787
|
insert_dev(target, div1, anchor);
|
|
@@ -9800,14 +9797,14 @@
|
|
|
9800
9797
|
block,
|
|
9801
9798
|
id: create_if_block_10.name,
|
|
9802
9799
|
type: "if",
|
|
9803
|
-
source: "(
|
|
9800
|
+
source: "(218:4) {#if showTable}",
|
|
9804
9801
|
ctx
|
|
9805
9802
|
});
|
|
9806
9803
|
|
|
9807
9804
|
return block;
|
|
9808
9805
|
}
|
|
9809
9806
|
|
|
9810
|
-
// (
|
|
9807
|
+
// (147:2) {:else}
|
|
9811
9808
|
function create_else_block_1(ctx) {
|
|
9812
9809
|
let div2;
|
|
9813
9810
|
let table;
|
|
@@ -9860,17 +9857,17 @@
|
|
|
9860
9857
|
div1 = element("div");
|
|
9861
9858
|
div0 = element("div");
|
|
9862
9859
|
if_block2.c();
|
|
9863
|
-
add_location(tr, file$1,
|
|
9864
|
-
add_location(thead, file$1,
|
|
9865
|
-
add_location(tbody, file$1,
|
|
9860
|
+
add_location(tr, file$1, 150, 10, 4541);
|
|
9861
|
+
add_location(thead, file$1, 149, 8, 4523);
|
|
9862
|
+
add_location(tbody, file$1, 164, 8, 4955);
|
|
9866
9863
|
attr_dev(table, "class", "LeftTable");
|
|
9867
|
-
add_location(table, file$1,
|
|
9864
|
+
add_location(table, file$1, 148, 6, 4489);
|
|
9868
9865
|
attr_dev(div0, "class", "CollapseButton");
|
|
9869
|
-
add_location(div0, file$1,
|
|
9866
|
+
add_location(div0, file$1, 184, 8, 5640);
|
|
9870
9867
|
attr_dev(div1, "class", "RightButton");
|
|
9871
|
-
add_location(div1, file$1,
|
|
9868
|
+
add_location(div1, file$1, 183, 6, 5606);
|
|
9872
9869
|
attr_dev(div2, "class", "TournamentsTable");
|
|
9873
|
-
add_location(div2, file$1,
|
|
9870
|
+
add_location(div2, file$1, 147, 4, 4452);
|
|
9874
9871
|
},
|
|
9875
9872
|
m: function mount(target, anchor) {
|
|
9876
9873
|
insert_dev(target, div2, anchor);
|
|
@@ -9973,14 +9970,14 @@
|
|
|
9973
9970
|
block,
|
|
9974
9971
|
id: create_else_block_1.name,
|
|
9975
9972
|
type: "else",
|
|
9976
|
-
source: "(
|
|
9973
|
+
source: "(147:2) {:else}",
|
|
9977
9974
|
ctx
|
|
9978
9975
|
});
|
|
9979
9976
|
|
|
9980
9977
|
return block;
|
|
9981
9978
|
}
|
|
9982
9979
|
|
|
9983
|
-
// (
|
|
9980
|
+
// (85:2) {#if isMobile(userAgent) == true}
|
|
9984
9981
|
function create_if_block_1$1(ctx) {
|
|
9985
9982
|
let div3;
|
|
9986
9983
|
let div0;
|
|
@@ -10018,13 +10015,13 @@
|
|
|
10018
10015
|
if (if_block2) if_block2.c();
|
|
10019
10016
|
if_block2_anchor = empty();
|
|
10020
10017
|
attr_dev(div0, "class", "Leaderboard");
|
|
10021
|
-
add_location(div0, file$1,
|
|
10018
|
+
add_location(div0, file$1, 86, 6, 2464);
|
|
10022
10019
|
attr_dev(div1, "class", "CollapseButton");
|
|
10023
|
-
add_location(div1, file$1,
|
|
10020
|
+
add_location(div1, file$1, 88, 8, 2592);
|
|
10024
10021
|
attr_dev(div2, "class", "RightButton " + (isMobile(/*userAgent*/ ctx[8]) ? "MobileClass" : ""));
|
|
10025
|
-
add_location(div2, file$1,
|
|
10022
|
+
add_location(div2, file$1, 87, 6, 2513);
|
|
10026
10023
|
attr_dev(div3, "class", "LeaderboardContainer");
|
|
10027
|
-
add_location(div3, file$1,
|
|
10024
|
+
add_location(div3, file$1, 85, 4, 2423);
|
|
10028
10025
|
},
|
|
10029
10026
|
m: function mount(target, anchor) {
|
|
10030
10027
|
insert_dev(target, div3, anchor);
|
|
@@ -10098,14 +10095,14 @@
|
|
|
10098
10095
|
block,
|
|
10099
10096
|
id: create_if_block_1$1.name,
|
|
10100
10097
|
type: "if",
|
|
10101
|
-
source: "(
|
|
10098
|
+
source: "(85:2) {#if isMobile(userAgent) == true}",
|
|
10102
10099
|
ctx
|
|
10103
10100
|
});
|
|
10104
10101
|
|
|
10105
10102
|
return block;
|
|
10106
10103
|
}
|
|
10107
10104
|
|
|
10108
|
-
// (
|
|
10105
|
+
// (158:16) {:else}
|
|
10109
10106
|
function create_else_block_3(ctx) {
|
|
10110
10107
|
let p;
|
|
10111
10108
|
let t_value = /*column*/ ctx[11] + "";
|
|
@@ -10116,7 +10113,7 @@
|
|
|
10116
10113
|
p = element("p");
|
|
10117
10114
|
t = text(t_value);
|
|
10118
10115
|
attr_dev(p, "data-sort", /*sort*/ ctx[7]);
|
|
10119
|
-
add_location(p, file$1,
|
|
10116
|
+
add_location(p, file$1, 158, 18, 4819);
|
|
10120
10117
|
},
|
|
10121
10118
|
m: function mount(target, anchor) {
|
|
10122
10119
|
insert_dev(target, p, anchor);
|
|
@@ -10138,14 +10135,14 @@
|
|
|
10138
10135
|
block,
|
|
10139
10136
|
id: create_else_block_3.name,
|
|
10140
10137
|
type: "else",
|
|
10141
|
-
source: "(
|
|
10138
|
+
source: "(158:16) {:else}",
|
|
10142
10139
|
ctx
|
|
10143
10140
|
});
|
|
10144
10141
|
|
|
10145
10142
|
return block;
|
|
10146
10143
|
}
|
|
10147
10144
|
|
|
10148
|
-
// (
|
|
10145
|
+
// (154:16) {#if sortable == 'true'}
|
|
10149
10146
|
function create_if_block_8(ctx) {
|
|
10150
10147
|
let button;
|
|
10151
10148
|
let t_value = /*column*/ ctx[11] + "";
|
|
@@ -10162,7 +10159,7 @@
|
|
|
10162
10159
|
button = element("button");
|
|
10163
10160
|
t = text(t_value);
|
|
10164
10161
|
attr_dev(button, "data-sort", /*sort*/ ctx[7]);
|
|
10165
|
-
add_location(button, file$1,
|
|
10162
|
+
add_location(button, file$1, 154, 18, 4662);
|
|
10166
10163
|
},
|
|
10167
10164
|
m: function mount(target, anchor) {
|
|
10168
10165
|
insert_dev(target, button, anchor);
|
|
@@ -10192,14 +10189,14 @@
|
|
|
10192
10189
|
block,
|
|
10193
10190
|
id: create_if_block_8.name,
|
|
10194
10191
|
type: "if",
|
|
10195
|
-
source: "(
|
|
10192
|
+
source: "(154:16) {#if sortable == 'true'}",
|
|
10196
10193
|
ctx
|
|
10197
10194
|
});
|
|
10198
10195
|
|
|
10199
10196
|
return block;
|
|
10200
10197
|
}
|
|
10201
10198
|
|
|
10202
|
-
// (
|
|
10199
|
+
// (152:12) {#each columns as column}
|
|
10203
10200
|
function create_each_block_2(ctx) {
|
|
10204
10201
|
let th;
|
|
10205
10202
|
let t;
|
|
@@ -10217,7 +10214,7 @@
|
|
|
10217
10214
|
th = element("th");
|
|
10218
10215
|
if_block.c();
|
|
10219
10216
|
t = space();
|
|
10220
|
-
add_location(th, file$1,
|
|
10217
|
+
add_location(th, file$1, 152, 14, 4598);
|
|
10221
10218
|
},
|
|
10222
10219
|
m: function mount(target, anchor) {
|
|
10223
10220
|
insert_dev(target, th, anchor);
|
|
@@ -10247,14 +10244,14 @@
|
|
|
10247
10244
|
block,
|
|
10248
10245
|
id: create_each_block_2.name,
|
|
10249
10246
|
type: "each",
|
|
10250
|
-
source: "(
|
|
10247
|
+
source: "(152:12) {#each columns as column}",
|
|
10251
10248
|
ctx
|
|
10252
10249
|
});
|
|
10253
10250
|
|
|
10254
10251
|
return block;
|
|
10255
10252
|
}
|
|
10256
10253
|
|
|
10257
|
-
// (
|
|
10254
|
+
// (166:10) {#if firstrow == 'true' && firstRowData}
|
|
10258
10255
|
function create_if_block_7(ctx) {
|
|
10259
10256
|
let tr;
|
|
10260
10257
|
let td0;
|
|
@@ -10288,15 +10285,15 @@
|
|
|
10288
10285
|
td2 = element("td");
|
|
10289
10286
|
div = element("div");
|
|
10290
10287
|
t5 = text(t5_value);
|
|
10291
|
-
add_location(em, file$1,
|
|
10292
|
-
add_location(strong, file$1,
|
|
10293
|
-
add_location(td0, file$1,
|
|
10294
|
-
add_location(td1, file$1,
|
|
10288
|
+
add_location(em, file$1, 167, 26, 5075);
|
|
10289
|
+
add_location(strong, file$1, 167, 18, 5067);
|
|
10290
|
+
add_location(td0, file$1, 167, 14, 5063);
|
|
10291
|
+
add_location(td1, file$1, 168, 14, 5137);
|
|
10295
10292
|
attr_dev(div, "class", "Flex");
|
|
10296
|
-
add_location(div, file$1,
|
|
10297
|
-
add_location(td2, file$1,
|
|
10293
|
+
add_location(div, file$1, 169, 18, 5184);
|
|
10294
|
+
add_location(td2, file$1, 169, 14, 5180);
|
|
10298
10295
|
attr_dev(tr, "class", "FirstRow");
|
|
10299
|
-
add_location(tr, file$1,
|
|
10296
|
+
add_location(tr, file$1, 166, 12, 5026);
|
|
10300
10297
|
},
|
|
10301
10298
|
m: function mount(target, anchor) {
|
|
10302
10299
|
insert_dev(target, tr, anchor);
|
|
@@ -10327,14 +10324,14 @@
|
|
|
10327
10324
|
block,
|
|
10328
10325
|
id: create_if_block_7.name,
|
|
10329
10326
|
type: "if",
|
|
10330
|
-
source: "(
|
|
10327
|
+
source: "(166:10) {#if firstrow == 'true' && firstRowData}",
|
|
10331
10328
|
ctx
|
|
10332
10329
|
});
|
|
10333
10330
|
|
|
10334
10331
|
return block;
|
|
10335
10332
|
}
|
|
10336
10333
|
|
|
10337
|
-
// (
|
|
10334
|
+
// (173:10) {#if showTable}
|
|
10338
10335
|
function create_if_block_6(ctx) {
|
|
10339
10336
|
let each_1_anchor;
|
|
10340
10337
|
let each_value_1 = /*display*/ ctx[6];
|
|
@@ -10395,14 +10392,14 @@
|
|
|
10395
10392
|
block,
|
|
10396
10393
|
id: create_if_block_6.name,
|
|
10397
10394
|
type: "if",
|
|
10398
|
-
source: "(
|
|
10395
|
+
source: "(173:10) {#if showTable}",
|
|
10399
10396
|
ctx
|
|
10400
10397
|
});
|
|
10401
10398
|
|
|
10402
10399
|
return block;
|
|
10403
10400
|
}
|
|
10404
10401
|
|
|
10405
|
-
// (
|
|
10402
|
+
// (174:12) {#each display as row}
|
|
10406
10403
|
function create_each_block_1(ctx) {
|
|
10407
10404
|
let tr;
|
|
10408
10405
|
let td0;
|
|
@@ -10438,14 +10435,14 @@
|
|
|
10438
10435
|
div = element("div");
|
|
10439
10436
|
t5 = text(t5_value);
|
|
10440
10437
|
t6 = space();
|
|
10441
|
-
add_location(em, file$1,
|
|
10442
|
-
add_location(strong, file$1,
|
|
10443
|
-
add_location(td0, file$1,
|
|
10444
|
-
add_location(td1, file$1,
|
|
10438
|
+
add_location(em, file$1, 175, 28, 5376);
|
|
10439
|
+
add_location(strong, file$1, 175, 20, 5368);
|
|
10440
|
+
add_location(td0, file$1, 175, 16, 5364);
|
|
10441
|
+
add_location(td1, file$1, 176, 16, 5431);
|
|
10445
10442
|
attr_dev(div, "class", "Flex");
|
|
10446
|
-
add_location(div, file$1,
|
|
10447
|
-
add_location(td2, file$1,
|
|
10448
|
-
add_location(tr, file$1,
|
|
10443
|
+
add_location(div, file$1, 177, 20, 5471);
|
|
10444
|
+
add_location(td2, file$1, 177, 16, 5467);
|
|
10445
|
+
add_location(tr, file$1, 174, 14, 5343);
|
|
10449
10446
|
},
|
|
10450
10447
|
m: function mount(target, anchor) {
|
|
10451
10448
|
insert_dev(target, tr, anchor);
|
|
@@ -10477,14 +10474,14 @@
|
|
|
10477
10474
|
block,
|
|
10478
10475
|
id: create_each_block_1.name,
|
|
10479
10476
|
type: "each",
|
|
10480
|
-
source: "(
|
|
10477
|
+
source: "(174:12) {#each display as row}",
|
|
10481
10478
|
ctx
|
|
10482
10479
|
});
|
|
10483
10480
|
|
|
10484
10481
|
return block;
|
|
10485
10482
|
}
|
|
10486
10483
|
|
|
10487
|
-
// (
|
|
10484
|
+
// (190:10) {:else}
|
|
10488
10485
|
function create_else_block_2(ctx) {
|
|
10489
10486
|
let svg;
|
|
10490
10487
|
let path;
|
|
@@ -10494,7 +10491,7 @@
|
|
|
10494
10491
|
svg = svg_element("svg");
|
|
10495
10492
|
path = svg_element("path");
|
|
10496
10493
|
attr_dev(path, "d", "M6 9l6 6 6-6");
|
|
10497
|
-
add_location(path, file$1,
|
|
10494
|
+
add_location(path, file$1, 191, 14, 6199);
|
|
10498
10495
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10499
10496
|
attr_dev(svg, "width", "24");
|
|
10500
10497
|
attr_dev(svg, "height", "24");
|
|
@@ -10504,7 +10501,7 @@
|
|
|
10504
10501
|
attr_dev(svg, "stroke-width", "2");
|
|
10505
10502
|
attr_dev(svg, "stroke-linecap", "round");
|
|
10506
10503
|
attr_dev(svg, "stroke-linejoin", "round");
|
|
10507
|
-
add_location(svg, file$1,
|
|
10504
|
+
add_location(svg, file$1, 190, 12, 6008);
|
|
10508
10505
|
},
|
|
10509
10506
|
m: function mount(target, anchor) {
|
|
10510
10507
|
insert_dev(target, svg, anchor);
|
|
@@ -10519,14 +10516,14 @@
|
|
|
10519
10516
|
block,
|
|
10520
10517
|
id: create_else_block_2.name,
|
|
10521
10518
|
type: "else",
|
|
10522
|
-
source: "(
|
|
10519
|
+
source: "(190:10) {:else}",
|
|
10523
10520
|
ctx
|
|
10524
10521
|
});
|
|
10525
10522
|
|
|
10526
10523
|
return block;
|
|
10527
10524
|
}
|
|
10528
10525
|
|
|
10529
|
-
// (
|
|
10526
|
+
// (186:10) {#if showTable}
|
|
10530
10527
|
function create_if_block_5(ctx) {
|
|
10531
10528
|
let svg;
|
|
10532
10529
|
let path;
|
|
@@ -10536,7 +10533,7 @@
|
|
|
10536
10533
|
svg = svg_element("svg");
|
|
10537
10534
|
path = svg_element("path");
|
|
10538
10535
|
attr_dev(path, "d", "M18 15l-6-6-6 6");
|
|
10539
|
-
add_location(path, file$1,
|
|
10536
|
+
add_location(path, file$1, 187, 14, 5931);
|
|
10540
10537
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10541
10538
|
attr_dev(svg, "width", "24");
|
|
10542
10539
|
attr_dev(svg, "height", "24");
|
|
@@ -10546,7 +10543,7 @@
|
|
|
10546
10543
|
attr_dev(svg, "stroke-width", "2");
|
|
10547
10544
|
attr_dev(svg, "stroke-linecap", "round");
|
|
10548
10545
|
attr_dev(svg, "stroke-linejoin", "round");
|
|
10549
|
-
add_location(svg, file$1,
|
|
10546
|
+
add_location(svg, file$1, 186, 12, 5740);
|
|
10550
10547
|
},
|
|
10551
10548
|
m: function mount(target, anchor) {
|
|
10552
10549
|
insert_dev(target, svg, anchor);
|
|
@@ -10561,14 +10558,14 @@
|
|
|
10561
10558
|
block,
|
|
10562
10559
|
id: create_if_block_5.name,
|
|
10563
10560
|
type: "if",
|
|
10564
|
-
source: "(
|
|
10561
|
+
source: "(186:10) {#if showTable}",
|
|
10565
10562
|
ctx
|
|
10566
10563
|
});
|
|
10567
10564
|
|
|
10568
10565
|
return block;
|
|
10569
10566
|
}
|
|
10570
10567
|
|
|
10571
|
-
// (
|
|
10568
|
+
// (94:10) {:else}
|
|
10572
10569
|
function create_else_block$1(ctx) {
|
|
10573
10570
|
let svg;
|
|
10574
10571
|
let path;
|
|
@@ -10578,7 +10575,7 @@
|
|
|
10578
10575
|
svg = svg_element("svg");
|
|
10579
10576
|
path = svg_element("path");
|
|
10580
10577
|
attr_dev(path, "d", "M6 9l6 6 6-6");
|
|
10581
|
-
add_location(path, file$1,
|
|
10578
|
+
add_location(path, file$1, 95, 14, 3151);
|
|
10582
10579
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10583
10580
|
attr_dev(svg, "width", "24");
|
|
10584
10581
|
attr_dev(svg, "height", "24");
|
|
@@ -10588,7 +10585,7 @@
|
|
|
10588
10585
|
attr_dev(svg, "stroke-width", "2");
|
|
10589
10586
|
attr_dev(svg, "stroke-linecap", "round");
|
|
10590
10587
|
attr_dev(svg, "stroke-linejoin", "round");
|
|
10591
|
-
add_location(svg, file$1,
|
|
10588
|
+
add_location(svg, file$1, 94, 12, 2960);
|
|
10592
10589
|
},
|
|
10593
10590
|
m: function mount(target, anchor) {
|
|
10594
10591
|
insert_dev(target, svg, anchor);
|
|
@@ -10603,14 +10600,14 @@
|
|
|
10603
10600
|
block,
|
|
10604
10601
|
id: create_else_block$1.name,
|
|
10605
10602
|
type: "else",
|
|
10606
|
-
source: "(
|
|
10603
|
+
source: "(94:10) {:else}",
|
|
10607
10604
|
ctx
|
|
10608
10605
|
});
|
|
10609
10606
|
|
|
10610
10607
|
return block;
|
|
10611
10608
|
}
|
|
10612
10609
|
|
|
10613
|
-
// (
|
|
10610
|
+
// (90:10) {#if showTable}
|
|
10614
10611
|
function create_if_block_4$1(ctx) {
|
|
10615
10612
|
let svg;
|
|
10616
10613
|
let path;
|
|
@@ -10620,7 +10617,7 @@
|
|
|
10620
10617
|
svg = svg_element("svg");
|
|
10621
10618
|
path = svg_element("path");
|
|
10622
10619
|
attr_dev(path, "d", "M18 15l-6-6-6 6");
|
|
10623
|
-
add_location(path, file$1,
|
|
10620
|
+
add_location(path, file$1, 91, 14, 2883);
|
|
10624
10621
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10625
10622
|
attr_dev(svg, "width", "24");
|
|
10626
10623
|
attr_dev(svg, "height", "24");
|
|
@@ -10630,7 +10627,7 @@
|
|
|
10630
10627
|
attr_dev(svg, "stroke-width", "2");
|
|
10631
10628
|
attr_dev(svg, "stroke-linecap", "round");
|
|
10632
10629
|
attr_dev(svg, "stroke-linejoin", "round");
|
|
10633
|
-
add_location(svg, file$1,
|
|
10630
|
+
add_location(svg, file$1, 90, 12, 2692);
|
|
10634
10631
|
},
|
|
10635
10632
|
m: function mount(target, anchor) {
|
|
10636
10633
|
insert_dev(target, svg, anchor);
|
|
@@ -10645,14 +10642,14 @@
|
|
|
10645
10642
|
block,
|
|
10646
10643
|
id: create_if_block_4$1.name,
|
|
10647
10644
|
type: "if",
|
|
10648
|
-
source: "(
|
|
10645
|
+
source: "(90:10) {#if showTable}",
|
|
10649
10646
|
ctx
|
|
10650
10647
|
});
|
|
10651
10648
|
|
|
10652
10649
|
return block;
|
|
10653
10650
|
}
|
|
10654
10651
|
|
|
10655
|
-
// (
|
|
10652
|
+
// (103:4) {#if firstrow == 'true' && firstRowData}
|
|
10656
10653
|
function create_if_block_3$1(ctx) {
|
|
10657
10654
|
let div3;
|
|
10658
10655
|
let div0;
|
|
@@ -10687,17 +10684,17 @@
|
|
|
10687
10684
|
t4 = space();
|
|
10688
10685
|
p1 = element("p");
|
|
10689
10686
|
t5 = text(t5_value);
|
|
10690
|
-
add_location(span0, file$1,
|
|
10691
|
-
add_location(span1, file$1,
|
|
10687
|
+
add_location(span0, file$1, 104, 31, 3381);
|
|
10688
|
+
add_location(span1, file$1, 104, 67, 3417);
|
|
10692
10689
|
attr_dev(div0, "class", "TableUser");
|
|
10693
|
-
add_location(div0, file$1,
|
|
10694
|
-
add_location(p0, file$1,
|
|
10695
|
-
add_location(p1, file$1,
|
|
10696
|
-
add_location(div1, file$1,
|
|
10690
|
+
add_location(div0, file$1, 104, 8, 3358);
|
|
10691
|
+
add_location(p0, file$1, 108, 12, 3524);
|
|
10692
|
+
add_location(p1, file$1, 109, 12, 3549);
|
|
10693
|
+
add_location(div1, file$1, 107, 10, 3506);
|
|
10697
10694
|
attr_dev(div2, "class", "TableUserDetails");
|
|
10698
|
-
add_location(div2, file$1,
|
|
10695
|
+
add_location(div2, file$1, 106, 8, 3465);
|
|
10699
10696
|
attr_dev(div3, "class", "TableContent TableContentFirstRow");
|
|
10700
|
-
add_location(div3, file$1,
|
|
10697
|
+
add_location(div3, file$1, 103, 6, 3302);
|
|
10701
10698
|
},
|
|
10702
10699
|
m: function mount(target, anchor) {
|
|
10703
10700
|
insert_dev(target, div3, anchor);
|
|
@@ -10728,14 +10725,14 @@
|
|
|
10728
10725
|
block,
|
|
10729
10726
|
id: create_if_block_3$1.name,
|
|
10730
10727
|
type: "if",
|
|
10731
|
-
source: "(
|
|
10728
|
+
source: "(103:4) {#if firstrow == 'true' && firstRowData}",
|
|
10732
10729
|
ctx
|
|
10733
10730
|
});
|
|
10734
10731
|
|
|
10735
10732
|
return block;
|
|
10736
10733
|
}
|
|
10737
10734
|
|
|
10738
|
-
// (
|
|
10735
|
+
// (124:4) {#if showTable}
|
|
10739
10736
|
function create_if_block_2$1(ctx) {
|
|
10740
10737
|
let each_1_anchor;
|
|
10741
10738
|
let each_value = /*display*/ ctx[6];
|
|
@@ -10796,14 +10793,14 @@
|
|
|
10796
10793
|
block,
|
|
10797
10794
|
id: create_if_block_2$1.name,
|
|
10798
10795
|
type: "if",
|
|
10799
|
-
source: "(
|
|
10796
|
+
source: "(124:4) {#if showTable}",
|
|
10800
10797
|
ctx
|
|
10801
10798
|
});
|
|
10802
10799
|
|
|
10803
10800
|
return block;
|
|
10804
10801
|
}
|
|
10805
10802
|
|
|
10806
|
-
// (
|
|
10803
|
+
// (125:6) {#each display as row}
|
|
10807
10804
|
function create_each_block$1(ctx) {
|
|
10808
10805
|
let div3;
|
|
10809
10806
|
let div0;
|
|
@@ -10840,17 +10837,17 @@
|
|
|
10840
10837
|
p1 = element("p");
|
|
10841
10838
|
t5 = text(t5_value);
|
|
10842
10839
|
t6 = space();
|
|
10843
|
-
add_location(span0, file$1,
|
|
10844
|
-
add_location(span1, file$1,
|
|
10840
|
+
add_location(span0, file$1, 126, 33, 3964);
|
|
10841
|
+
add_location(span1, file$1, 126, 60, 3991);
|
|
10845
10842
|
attr_dev(div0, "class", "TableUser");
|
|
10846
|
-
add_location(div0, file$1,
|
|
10847
|
-
add_location(p0, file$1,
|
|
10848
|
-
add_location(p1, file$1,
|
|
10849
|
-
add_location(div1, file$1,
|
|
10843
|
+
add_location(div0, file$1, 126, 10, 3941);
|
|
10844
|
+
add_location(p0, file$1, 130, 14, 4095);
|
|
10845
|
+
add_location(p1, file$1, 131, 14, 4122);
|
|
10846
|
+
add_location(div1, file$1, 129, 12, 4075);
|
|
10850
10847
|
attr_dev(div2, "class", "TableUserDetails");
|
|
10851
|
-
add_location(div2, file$1,
|
|
10848
|
+
add_location(div2, file$1, 128, 10, 4032);
|
|
10852
10849
|
attr_dev(div3, "class", "TableContent");
|
|
10853
|
-
add_location(div3, file$1,
|
|
10850
|
+
add_location(div3, file$1, 125, 8, 3904);
|
|
10854
10851
|
},
|
|
10855
10852
|
m: function mount(target, anchor) {
|
|
10856
10853
|
insert_dev(target, div3, anchor);
|
|
@@ -10882,7 +10879,7 @@
|
|
|
10882
10879
|
block,
|
|
10883
10880
|
id: create_each_block$1.name,
|
|
10884
10881
|
type: "each",
|
|
10885
|
-
source: "(
|
|
10882
|
+
source: "(125:6) {#each display as row}",
|
|
10886
10883
|
ctx
|
|
10887
10884
|
});
|
|
10888
10885
|
|
|
@@ -11039,7 +11036,6 @@
|
|
|
11039
11036
|
|
|
11040
11037
|
onMount(() => {
|
|
11041
11038
|
window.addEventListener("message", messageHandler, false);
|
|
11042
|
-
console.log("first row data ", firstRowData);
|
|
11043
11039
|
|
|
11044
11040
|
return () => {
|
|
11045
11041
|
window.removeEventListener("message", messageHandler);
|
|
@@ -11049,7 +11045,7 @@
|
|
|
11049
11045
|
const writable_props = ["sortable", "firstrow"];
|
|
11050
11046
|
|
|
11051
11047
|
Object.keys($$props).forEach(key => {
|
|
11052
|
-
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$")
|
|
11048
|
+
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<undefined> was created with unknown prop '${key}'`);
|
|
11053
11049
|
});
|
|
11054
11050
|
|
|
11055
11051
|
const click_handler = () => collapseTable();
|
|
@@ -11204,7 +11200,7 @@
|
|
|
11204
11200
|
return child_ctx;
|
|
11205
11201
|
}
|
|
11206
11202
|
|
|
11207
|
-
// (
|
|
11203
|
+
// (156:0) {:else}
|
|
11208
11204
|
function create_else_block(ctx) {
|
|
11209
11205
|
let div5;
|
|
11210
11206
|
let div1;
|
|
@@ -11225,7 +11221,7 @@
|
|
|
11225
11221
|
let dispose;
|
|
11226
11222
|
let if_block0 = /*tournamentDetails*/ ctx[6] && create_if_block_4(ctx);
|
|
11227
11223
|
let if_block1 = /*tournamentDescription*/ ctx[5].length > 0 && create_if_block_3(ctx);
|
|
11228
|
-
let if_block2 = /*showleaderboard*/ ctx[
|
|
11224
|
+
let if_block2 = /*showleaderboard*/ ctx[0] == "true" && create_if_block_1(ctx);
|
|
11229
11225
|
|
|
11230
11226
|
const block = {
|
|
11231
11227
|
c: function create() {
|
|
@@ -11250,35 +11246,35 @@
|
|
|
11250
11246
|
attr_dev(path, "stroke-linejoin", "round");
|
|
11251
11247
|
attr_dev(path, "stroke-width", "2");
|
|
11252
11248
|
attr_dev(path, "d", "M15 19l-7-7 7-7");
|
|
11253
|
-
add_location(path, file,
|
|
11249
|
+
add_location(path, file, 161, 10, 5384);
|
|
11254
11250
|
attr_dev(svg, "fill", "none");
|
|
11255
11251
|
attr_dev(svg, "stroke", "currentColor");
|
|
11256
11252
|
attr_dev(svg, "width", "24");
|
|
11257
11253
|
attr_dev(svg, "height", "24");
|
|
11258
11254
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
|
11259
11255
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
11260
|
-
add_location(svg, file,
|
|
11261
|
-
add_location(p, file,
|
|
11256
|
+
add_location(svg, file, 160, 8, 5256);
|
|
11257
|
+
add_location(p, file, 163, 8, 5505);
|
|
11262
11258
|
attr_dev(div0, "class", "BackButton");
|
|
11263
|
-
add_location(div0, file,
|
|
11259
|
+
add_location(div0, file, 159, 6, 5197);
|
|
11264
11260
|
attr_dev(div1, "class", "TopButtons");
|
|
11265
|
-
add_location(div1, file,
|
|
11261
|
+
add_location(div1, file, 158, 4, 5166);
|
|
11266
11262
|
|
|
11267
|
-
attr_dev(div2, "class", div2_class_value = "" + ((isMobile(/*userAgent*/ ctx[8]) ? "MobileClass" : "") + (/*showleaderboard*/ ctx[
|
|
11263
|
+
attr_dev(div2, "class", div2_class_value = "" + ((isMobile(/*userAgent*/ ctx[8]) ? "MobileClass" : "") + (/*showleaderboard*/ ctx[0] == "true"
|
|
11268
11264
|
? "TournamentCardDetails"
|
|
11269
11265
|
: "FullSize")));
|
|
11270
11266
|
|
|
11271
|
-
add_location(div2, file,
|
|
11267
|
+
add_location(div2, file, 182, 6, 6313);
|
|
11272
11268
|
|
|
11273
|
-
attr_dev(div3, "class", div3_class_value = /*showleaderboard*/ ctx[
|
|
11269
|
+
attr_dev(div3, "class", div3_class_value = /*showleaderboard*/ ctx[0] == "true"
|
|
11274
11270
|
? "TournamentTableDetails "
|
|
11275
11271
|
: "DisplayNone");
|
|
11276
11272
|
|
|
11277
|
-
add_location(div3, file,
|
|
11273
|
+
add_location(div3, file, 203, 6, 7136);
|
|
11278
11274
|
attr_dev(div4, "class", "TournamentContentDetails " + (isMobile(/*userAgent*/ ctx[8]) ? "MobileClass" : ""));
|
|
11279
|
-
add_location(div4, file,
|
|
11275
|
+
add_location(div4, file, 181, 4, 6225);
|
|
11280
11276
|
attr_dev(div5, "class", "TournamentsPage");
|
|
11281
|
-
add_location(div5, file,
|
|
11277
|
+
add_location(div5, file, 156, 2, 5131);
|
|
11282
11278
|
},
|
|
11283
11279
|
m: function mount(target, anchor) {
|
|
11284
11280
|
insert_dev(target, div5, anchor);
|
|
@@ -11330,13 +11326,13 @@
|
|
|
11330
11326
|
if_block1 = null;
|
|
11331
11327
|
}
|
|
11332
11328
|
|
|
11333
|
-
if (dirty[0] & /*showleaderboard*/
|
|
11329
|
+
if (dirty[0] & /*showleaderboard*/ 1 && div2_class_value !== (div2_class_value = "" + ((isMobile(/*userAgent*/ ctx[8]) ? "MobileClass" : "") + (/*showleaderboard*/ ctx[0] == "true"
|
|
11334
11330
|
? "TournamentCardDetails"
|
|
11335
11331
|
: "FullSize")))) {
|
|
11336
11332
|
attr_dev(div2, "class", div2_class_value);
|
|
11337
11333
|
}
|
|
11338
11334
|
|
|
11339
|
-
if (/*showleaderboard*/ ctx[
|
|
11335
|
+
if (/*showleaderboard*/ ctx[0] == "true") {
|
|
11340
11336
|
if (if_block2) {
|
|
11341
11337
|
if_block2.p(ctx, dirty);
|
|
11342
11338
|
} else {
|
|
@@ -11349,7 +11345,7 @@
|
|
|
11349
11345
|
if_block2 = null;
|
|
11350
11346
|
}
|
|
11351
11347
|
|
|
11352
|
-
if (dirty[0] & /*showleaderboard*/
|
|
11348
|
+
if (dirty[0] & /*showleaderboard*/ 1 && div3_class_value !== (div3_class_value = /*showleaderboard*/ ctx[0] == "true"
|
|
11353
11349
|
? "TournamentTableDetails "
|
|
11354
11350
|
: "DisplayNone")) {
|
|
11355
11351
|
attr_dev(div3, "class", div3_class_value);
|
|
@@ -11369,14 +11365,14 @@
|
|
|
11369
11365
|
block,
|
|
11370
11366
|
id: create_else_block.name,
|
|
11371
11367
|
type: "else",
|
|
11372
|
-
source: "(
|
|
11368
|
+
source: "(156:0) {:else}",
|
|
11373
11369
|
ctx
|
|
11374
11370
|
});
|
|
11375
11371
|
|
|
11376
11372
|
return block;
|
|
11377
11373
|
}
|
|
11378
11374
|
|
|
11379
|
-
// (
|
|
11375
|
+
// (154:0) {#if isLoading}
|
|
11380
11376
|
function create_if_block(ctx) {
|
|
11381
11377
|
let p;
|
|
11382
11378
|
|
|
@@ -11384,7 +11380,7 @@
|
|
|
11384
11380
|
c: function create() {
|
|
11385
11381
|
p = element("p");
|
|
11386
11382
|
p.textContent = "Loading, please wait ...";
|
|
11387
|
-
add_location(p, file,
|
|
11383
|
+
add_location(p, file, 154, 2, 5089);
|
|
11388
11384
|
},
|
|
11389
11385
|
m: function mount(target, anchor) {
|
|
11390
11386
|
insert_dev(target, p, anchor);
|
|
@@ -11399,14 +11395,14 @@
|
|
|
11399
11395
|
block,
|
|
11400
11396
|
id: create_if_block.name,
|
|
11401
11397
|
type: "if",
|
|
11402
|
-
source: "(
|
|
11398
|
+
source: "(154:0) {#if isLoading}",
|
|
11403
11399
|
ctx
|
|
11404
11400
|
});
|
|
11405
11401
|
|
|
11406
11402
|
return block;
|
|
11407
11403
|
}
|
|
11408
11404
|
|
|
11409
|
-
// (
|
|
11405
|
+
// (184:8) {#if tournamentDetails}
|
|
11410
11406
|
function create_if_block_4(ctx) {
|
|
11411
11407
|
let casino_tournaments_thumbnail_controller;
|
|
11412
11408
|
let casino_tournaments_thumbnail_controller_tournamenturl_value;
|
|
@@ -11415,37 +11411,37 @@
|
|
|
11415
11411
|
const block = {
|
|
11416
11412
|
c: function create() {
|
|
11417
11413
|
casino_tournaments_thumbnail_controller = element("casino-tournaments-thumbnail-controller");
|
|
11418
|
-
set_custom_element_data(casino_tournaments_thumbnail_controller, "session", /*session*/ ctx[
|
|
11419
|
-
set_custom_element_data(casino_tournaments_thumbnail_controller, "userid", /*userid*/ ctx[
|
|
11420
|
-
set_custom_element_data(casino_tournaments_thumbnail_controller, "endpoint", /*endpoint*/ ctx[
|
|
11414
|
+
set_custom_element_data(casino_tournaments_thumbnail_controller, "session", /*session*/ ctx[1]);
|
|
11415
|
+
set_custom_element_data(casino_tournaments_thumbnail_controller, "userid", /*userid*/ ctx[2]);
|
|
11416
|
+
set_custom_element_data(casino_tournaments_thumbnail_controller, "endpoint", /*endpoint*/ ctx[3]);
|
|
11421
11417
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "tournamenturl", casino_tournaments_thumbnail_controller_tournamenturl_value = /*tournamentDetails*/ ctx[6].href);
|
|
11422
11418
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "showdetails", "false");
|
|
11423
11419
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "showslider", "true");
|
|
11424
11420
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "showenrolled", "true");
|
|
11425
|
-
set_custom_element_data(casino_tournaments_thumbnail_controller, "fullsize", casino_tournaments_thumbnail_controller_fullsize_value = !!/*showleaderboard*/ ctx[
|
|
11426
|
-
add_location(casino_tournaments_thumbnail_controller, file,
|
|
11421
|
+
set_custom_element_data(casino_tournaments_thumbnail_controller, "fullsize", casino_tournaments_thumbnail_controller_fullsize_value = !!/*showleaderboard*/ ctx[0]);
|
|
11422
|
+
add_location(casino_tournaments_thumbnail_controller, file, 184, 10, 6478);
|
|
11427
11423
|
},
|
|
11428
11424
|
m: function mount(target, anchor) {
|
|
11429
11425
|
insert_dev(target, casino_tournaments_thumbnail_controller, anchor);
|
|
11430
11426
|
},
|
|
11431
11427
|
p: function update(ctx, dirty) {
|
|
11432
|
-
if (dirty[0] & /*session*/
|
|
11433
|
-
set_custom_element_data(casino_tournaments_thumbnail_controller, "session", /*session*/ ctx[
|
|
11428
|
+
if (dirty[0] & /*session*/ 2) {
|
|
11429
|
+
set_custom_element_data(casino_tournaments_thumbnail_controller, "session", /*session*/ ctx[1]);
|
|
11434
11430
|
}
|
|
11435
11431
|
|
|
11436
|
-
if (dirty[0] & /*userid*/
|
|
11437
|
-
set_custom_element_data(casino_tournaments_thumbnail_controller, "userid", /*userid*/ ctx[
|
|
11432
|
+
if (dirty[0] & /*userid*/ 4) {
|
|
11433
|
+
set_custom_element_data(casino_tournaments_thumbnail_controller, "userid", /*userid*/ ctx[2]);
|
|
11438
11434
|
}
|
|
11439
11435
|
|
|
11440
|
-
if (dirty[0] & /*endpoint*/
|
|
11441
|
-
set_custom_element_data(casino_tournaments_thumbnail_controller, "endpoint", /*endpoint*/ ctx[
|
|
11436
|
+
if (dirty[0] & /*endpoint*/ 8) {
|
|
11437
|
+
set_custom_element_data(casino_tournaments_thumbnail_controller, "endpoint", /*endpoint*/ ctx[3]);
|
|
11442
11438
|
}
|
|
11443
11439
|
|
|
11444
11440
|
if (dirty[0] & /*tournamentDetails*/ 64 && casino_tournaments_thumbnail_controller_tournamenturl_value !== (casino_tournaments_thumbnail_controller_tournamenturl_value = /*tournamentDetails*/ ctx[6].href)) {
|
|
11445
11441
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "tournamenturl", casino_tournaments_thumbnail_controller_tournamenturl_value);
|
|
11446
11442
|
}
|
|
11447
11443
|
|
|
11448
|
-
if (dirty[0] & /*showleaderboard*/
|
|
11444
|
+
if (dirty[0] & /*showleaderboard*/ 1 && casino_tournaments_thumbnail_controller_fullsize_value !== (casino_tournaments_thumbnail_controller_fullsize_value = !!/*showleaderboard*/ ctx[0])) {
|
|
11449
11445
|
set_custom_element_data(casino_tournaments_thumbnail_controller, "fullsize", casino_tournaments_thumbnail_controller_fullsize_value);
|
|
11450
11446
|
}
|
|
11451
11447
|
},
|
|
@@ -11458,14 +11454,14 @@
|
|
|
11458
11454
|
block,
|
|
11459
11455
|
id: create_if_block_4.name,
|
|
11460
11456
|
type: "if",
|
|
11461
|
-
source: "(
|
|
11457
|
+
source: "(184:8) {#if tournamentDetails}",
|
|
11462
11458
|
ctx
|
|
11463
11459
|
});
|
|
11464
11460
|
|
|
11465
11461
|
return block;
|
|
11466
11462
|
}
|
|
11467
11463
|
|
|
11468
|
-
// (
|
|
11464
|
+
// (196:8) {#if tournamentDescription.length > 0}
|
|
11469
11465
|
function create_if_block_3(ctx) {
|
|
11470
11466
|
let each_1_anchor;
|
|
11471
11467
|
let each_value = /*tournamentDescription*/ ctx[5];
|
|
@@ -11526,14 +11522,14 @@
|
|
|
11526
11522
|
block,
|
|
11527
11523
|
id: create_if_block_3.name,
|
|
11528
11524
|
type: "if",
|
|
11529
|
-
source: "(
|
|
11525
|
+
source: "(196:8) {#if tournamentDescription.length > 0}",
|
|
11530
11526
|
ctx
|
|
11531
11527
|
});
|
|
11532
11528
|
|
|
11533
11529
|
return block;
|
|
11534
11530
|
}
|
|
11535
11531
|
|
|
11536
|
-
// (
|
|
11532
|
+
// (197:10) {#each tournamentDescription as desc}
|
|
11537
11533
|
function create_each_block(ctx) {
|
|
11538
11534
|
let casino_tournaments_details;
|
|
11539
11535
|
let casino_tournaments_details_title_value;
|
|
@@ -11544,7 +11540,7 @@
|
|
|
11544
11540
|
casino_tournaments_details = element("casino-tournaments-details");
|
|
11545
11541
|
set_custom_element_data(casino_tournaments_details, "title", casino_tournaments_details_title_value = /*desc*/ ctx[30].title);
|
|
11546
11542
|
set_custom_element_data(casino_tournaments_details, "text", casino_tournaments_details_text_value = /*desc*/ ctx[30].description);
|
|
11547
|
-
add_location(casino_tournaments_details, file,
|
|
11543
|
+
add_location(casino_tournaments_details, file, 197, 12, 6970);
|
|
11548
11544
|
},
|
|
11549
11545
|
m: function mount(target, anchor) {
|
|
11550
11546
|
insert_dev(target, casino_tournaments_details, anchor);
|
|
@@ -11567,14 +11563,14 @@
|
|
|
11567
11563
|
block,
|
|
11568
11564
|
id: create_each_block.name,
|
|
11569
11565
|
type: "each",
|
|
11570
|
-
source: "(
|
|
11566
|
+
source: "(197:10) {#each tournamentDescription as desc}",
|
|
11571
11567
|
ctx
|
|
11572
11568
|
});
|
|
11573
11569
|
|
|
11574
11570
|
return block;
|
|
11575
11571
|
}
|
|
11576
11572
|
|
|
11577
|
-
// (
|
|
11573
|
+
// (205:8) {#if showleaderboard == "true"}
|
|
11578
11574
|
function create_if_block_1(ctx) {
|
|
11579
11575
|
let if_block_anchor;
|
|
11580
11576
|
let if_block = /*showTable*/ ctx[7] == true && create_if_block_2(ctx);
|
|
@@ -11610,14 +11606,14 @@
|
|
|
11610
11606
|
block,
|
|
11611
11607
|
id: create_if_block_1.name,
|
|
11612
11608
|
type: "if",
|
|
11613
|
-
source: "(
|
|
11609
|
+
source: "(205:8) {#if showleaderboard == \\\"true\\\"}",
|
|
11614
11610
|
ctx
|
|
11615
11611
|
});
|
|
11616
11612
|
|
|
11617
11613
|
return block;
|
|
11618
11614
|
}
|
|
11619
11615
|
|
|
11620
|
-
// (
|
|
11616
|
+
// (206:10) {#if showTable == true}
|
|
11621
11617
|
function create_if_block_2(ctx) {
|
|
11622
11618
|
let casino_tournaments_table;
|
|
11623
11619
|
|
|
@@ -11626,7 +11622,7 @@
|
|
|
11626
11622
|
casino_tournaments_table = element("casino-tournaments-table");
|
|
11627
11623
|
set_custom_element_data(casino_tournaments_table, "firstrow", "true");
|
|
11628
11624
|
set_custom_element_data(casino_tournaments_table, "sortable", "false");
|
|
11629
|
-
add_location(casino_tournaments_table, file,
|
|
11625
|
+
add_location(casino_tournaments_table, file, 206, 12, 7308);
|
|
11630
11626
|
},
|
|
11631
11627
|
m: function mount(target, anchor) {
|
|
11632
11628
|
insert_dev(target, casino_tournaments_table, anchor);
|
|
@@ -11640,7 +11636,7 @@
|
|
|
11640
11636
|
block,
|
|
11641
11637
|
id: create_if_block_2.name,
|
|
11642
11638
|
type: "if",
|
|
11643
|
-
source: "(
|
|
11639
|
+
source: "(206:10) {#if showTable == true}",
|
|
11644
11640
|
ctx
|
|
11645
11641
|
});
|
|
11646
11642
|
|
|
@@ -11739,20 +11735,22 @@
|
|
|
11739
11735
|
|
|
11740
11736
|
if (data && data.length > 0) {
|
|
11741
11737
|
data.forEach(item => {
|
|
11742
|
-
if (item.
|
|
11743
|
-
|
|
11744
|
-
|
|
11745
|
-
|
|
11746
|
-
|
|
11747
|
-
|
|
11748
|
-
|
|
11749
|
-
|
|
11750
|
-
|
|
11751
|
-
|
|
11752
|
-
|
|
11753
|
-
|
|
11754
|
-
|
|
11755
|
-
|
|
11738
|
+
if (item.unqualified == false) {
|
|
11739
|
+
if (item.userID == playerID) {
|
|
11740
|
+
firstRowAvailable = true;
|
|
11741
|
+
|
|
11742
|
+
firstRowData = {
|
|
11743
|
+
Position: item.rank,
|
|
11744
|
+
Name: item.shortName,
|
|
11745
|
+
Score: item.score
|
|
11746
|
+
};
|
|
11747
|
+
} else {
|
|
11748
|
+
tableData.push({
|
|
11749
|
+
Position: item.rank,
|
|
11750
|
+
Name: item.shortName,
|
|
11751
|
+
Score: item.score
|
|
11752
|
+
});
|
|
11753
|
+
}
|
|
11756
11754
|
}
|
|
11757
11755
|
});
|
|
11758
11756
|
}
|
|
@@ -11770,6 +11768,10 @@
|
|
|
11770
11768
|
|
|
11771
11769
|
fetch(url, requestOptions).then(res => res.json()).then(res => {
|
|
11772
11770
|
$$invalidate(6, tournamentDetails = res.item);
|
|
11771
|
+
|
|
11772
|
+
if (res.state == "Unstarted") {
|
|
11773
|
+
$$invalidate(0, showleaderboard = false);
|
|
11774
|
+
}
|
|
11773
11775
|
});
|
|
11774
11776
|
};
|
|
11775
11777
|
|
|
@@ -11778,11 +11780,6 @@
|
|
|
11778
11780
|
let reqHeaders = new Headers();
|
|
11779
11781
|
reqHeaders.append("language", lang);
|
|
11780
11782
|
reqHeaders.append("platform", getDevice(userAgent));
|
|
11781
|
-
|
|
11782
|
-
if (isLoggedIn) {
|
|
11783
|
-
reqHeaders.append("X-SessionID", sessionID);
|
|
11784
|
-
}
|
|
11785
|
-
|
|
11786
11783
|
let requestOptions = { method: "GET", headers: reqHeaders };
|
|
11787
11784
|
|
|
11788
11785
|
fetch(url, requestOptions).then(res => res.json()).then(res => {
|
|
@@ -11885,11 +11882,11 @@
|
|
|
11885
11882
|
const click_handler = () => goBack();
|
|
11886
11883
|
|
|
11887
11884
|
$$self.$$set = $$props => {
|
|
11888
|
-
if ("session" in $$props) $$invalidate(
|
|
11889
|
-
if ("userid" in $$props) $$invalidate(
|
|
11885
|
+
if ("session" in $$props) $$invalidate(1, session = $$props.session);
|
|
11886
|
+
if ("userid" in $$props) $$invalidate(2, userid = $$props.userid);
|
|
11890
11887
|
if ("tourid" in $$props) $$invalidate(10, tourid = $$props.tourid);
|
|
11891
|
-
if ("endpoint" in $$props) $$invalidate(
|
|
11892
|
-
if ("showleaderboard" in $$props) $$invalidate(
|
|
11888
|
+
if ("endpoint" in $$props) $$invalidate(3, endpoint = $$props.endpoint);
|
|
11889
|
+
if ("showleaderboard" in $$props) $$invalidate(0, showleaderboard = $$props.showleaderboard);
|
|
11893
11890
|
if ("cmsendpoint" in $$props) $$invalidate(11, cmsendpoint = $$props.cmsendpoint);
|
|
11894
11891
|
if ("lang" in $$props) $$invalidate(12, lang = $$props.lang);
|
|
11895
11892
|
if ("navigationbackbutton" in $$props) $$invalidate(13, navigationbackbutton = $$props.navigationbackbutton);
|
|
@@ -11932,11 +11929,11 @@
|
|
|
11932
11929
|
});
|
|
11933
11930
|
|
|
11934
11931
|
$$self.$inject_state = $$props => {
|
|
11935
|
-
if ("session" in $$props) $$invalidate(
|
|
11936
|
-
if ("userid" in $$props) $$invalidate(
|
|
11932
|
+
if ("session" in $$props) $$invalidate(1, session = $$props.session);
|
|
11933
|
+
if ("userid" in $$props) $$invalidate(2, userid = $$props.userid);
|
|
11937
11934
|
if ("tourid" in $$props) $$invalidate(10, tourid = $$props.tourid);
|
|
11938
|
-
if ("endpoint" in $$props) $$invalidate(
|
|
11939
|
-
if ("showleaderboard" in $$props) $$invalidate(
|
|
11935
|
+
if ("endpoint" in $$props) $$invalidate(3, endpoint = $$props.endpoint);
|
|
11936
|
+
if ("showleaderboard" in $$props) $$invalidate(0, showleaderboard = $$props.showleaderboard);
|
|
11940
11937
|
if ("cmsendpoint" in $$props) $$invalidate(11, cmsendpoint = $$props.cmsendpoint);
|
|
11941
11938
|
if ("lang" in $$props) $$invalidate(12, lang = $$props.lang);
|
|
11942
11939
|
if ("navigationbackbutton" in $$props) $$invalidate(13, navigationbackbutton = $$props.navigationbackbutton);
|
|
@@ -11959,12 +11956,12 @@
|
|
|
11959
11956
|
}
|
|
11960
11957
|
|
|
11961
11958
|
$$self.$$.update = () => {
|
|
11962
|
-
if ($$self.$$.dirty[0] & /*session, userid*/
|
|
11959
|
+
if ($$self.$$.dirty[0] & /*session, userid*/ 6) {
|
|
11963
11960
|
session && userid && setSession();
|
|
11964
11961
|
}
|
|
11965
11962
|
|
|
11966
|
-
if ($$self.$$.dirty[0] & /*tourid, endpoint*/
|
|
11967
|
-
tourid && endpoint && initialLoad();
|
|
11963
|
+
if ($$self.$$.dirty[0] & /*tourid, endpoint, session*/ 1034) {
|
|
11964
|
+
tourid && endpoint && session && initialLoad();
|
|
11968
11965
|
}
|
|
11969
11966
|
|
|
11970
11967
|
if ($$self.$$.dirty[0] & /*tourid, cmsendpoint*/ 3072) {
|
|
@@ -11973,10 +11970,10 @@
|
|
|
11973
11970
|
};
|
|
11974
11971
|
|
|
11975
11972
|
return [
|
|
11973
|
+
showleaderboard,
|
|
11976
11974
|
session,
|
|
11977
11975
|
userid,
|
|
11978
11976
|
endpoint,
|
|
11979
|
-
showleaderboard,
|
|
11980
11977
|
isLoading,
|
|
11981
11978
|
tournamentDescription,
|
|
11982
11979
|
tournamentDetails,
|
|
@@ -12007,11 +12004,11 @@
|
|
|
12007
12004
|
create_fragment,
|
|
12008
12005
|
safe_not_equal,
|
|
12009
12006
|
{
|
|
12010
|
-
session:
|
|
12011
|
-
userid:
|
|
12007
|
+
session: 1,
|
|
12008
|
+
userid: 2,
|
|
12012
12009
|
tourid: 10,
|
|
12013
|
-
endpoint:
|
|
12014
|
-
showleaderboard:
|
|
12010
|
+
endpoint: 3,
|
|
12011
|
+
showleaderboard: 0,
|
|
12015
12012
|
cmsendpoint: 11,
|
|
12016
12013
|
lang: 12,
|
|
12017
12014
|
navigationbackbutton: 13
|
|
@@ -12045,7 +12042,7 @@
|
|
|
12045
12042
|
}
|
|
12046
12043
|
|
|
12047
12044
|
get session() {
|
|
12048
|
-
return this.$$.ctx[
|
|
12045
|
+
return this.$$.ctx[1];
|
|
12049
12046
|
}
|
|
12050
12047
|
|
|
12051
12048
|
set session(session) {
|
|
@@ -12054,7 +12051,7 @@
|
|
|
12054
12051
|
}
|
|
12055
12052
|
|
|
12056
12053
|
get userid() {
|
|
12057
|
-
return this.$$.ctx[
|
|
12054
|
+
return this.$$.ctx[2];
|
|
12058
12055
|
}
|
|
12059
12056
|
|
|
12060
12057
|
set userid(userid) {
|
|
@@ -12072,7 +12069,7 @@
|
|
|
12072
12069
|
}
|
|
12073
12070
|
|
|
12074
12071
|
get endpoint() {
|
|
12075
|
-
return this.$$.ctx[
|
|
12072
|
+
return this.$$.ctx[3];
|
|
12076
12073
|
}
|
|
12077
12074
|
|
|
12078
12075
|
set endpoint(endpoint) {
|
|
@@ -12081,7 +12078,7 @@
|
|
|
12081
12078
|
}
|
|
12082
12079
|
|
|
12083
12080
|
get showleaderboard() {
|
|
12084
|
-
return this.$$.ctx[
|
|
12081
|
+
return this.$$.ctx[0];
|
|
12085
12082
|
}
|
|
12086
12083
|
|
|
12087
12084
|
set showleaderboard(showleaderboard) {
|