@everymatrix/casino-tournaments-limited-controller 1.38.0 → 1.39.1
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.
@@ -1146,6 +1146,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
1146
1146
|
|
1147
1147
|
Response.error = function() {
|
1148
1148
|
var response = new Response(null, {status: 200, statusText: ''});
|
1149
|
+
response.ok = false;
|
1149
1150
|
response.status = 0;
|
1150
1151
|
response.type = 'error';
|
1151
1152
|
return response
|
@@ -1196,7 +1197,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
1196
1197
|
};
|
1197
1198
|
// This check if specifically for when a user fetches a file locally from the file system
|
1198
1199
|
// Only if the status is out of a normal range
|
1199
|
-
if (request.url.
|
1200
|
+
if (request.url.indexOf('file://') === 0 && (xhr.status < 200 || xhr.status > 599)) {
|
1200
1201
|
options.status = 200;
|
1201
1202
|
} else {
|
1202
1203
|
options.status = xhr.status;
|
@@ -1330,7 +1331,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
1330
1331
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
1331
1332
|
PERFORMANCE OF THIS SOFTWARE.
|
1332
1333
|
***************************************************************************** */
|
1333
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
1334
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
1334
1335
|
|
1335
1336
|
var extendStatics$1 = function(d, b) {
|
1336
1337
|
extendStatics$1 = Object.setPrototypeOf ||
|
@@ -2387,7 +2388,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
2387
2388
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
2388
2389
|
PERFORMANCE OF THIS SOFTWARE.
|
2389
2390
|
***************************************************************************** */
|
2390
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
2391
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
2391
2392
|
|
2392
2393
|
var extendStatics = function(d, b) {
|
2393
2394
|
extendStatics = Object.setPrototypeOf ||
|
@@ -6749,7 +6750,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
6749
6750
|
}
|
6750
6751
|
};
|
6751
6752
|
|
6752
|
-
const TRANSLATIONS
|
6753
|
+
const TRANSLATIONS = {
|
6753
6754
|
"en": {
|
6754
6755
|
"tournamentsLimitedController": {
|
6755
6756
|
"500": "500 - Internal server error",
|
@@ -6931,8 +6932,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
6931
6932
|
|
6932
6933
|
setupI18n({ withLocale: 'en', translations: {}});
|
6933
6934
|
|
6934
|
-
Object.keys(TRANSLATIONS
|
6935
|
-
addNewMessages(item, TRANSLATIONS
|
6935
|
+
Object.keys(TRANSLATIONS).forEach((item) => {
|
6936
|
+
addNewMessages(item, TRANSLATIONS[item]);
|
6936
6937
|
});
|
6937
6938
|
};
|
6938
6939
|
|
@@ -8553,190 +8554,31 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8553
8554
|
|
8554
8555
|
!customElements.get('casino-tournaments-tab') && customElements.define('casino-tournaments-tab', CasinoTournamentsTab);
|
8555
8556
|
|
8556
|
-
const TRANSLATIONS = {
|
8557
|
-
"en": {
|
8558
|
-
"tournamentsLimitedController": {
|
8559
|
-
"500": "500 - Internal server error",
|
8560
|
-
"Scheduled": "Upcoming",
|
8561
|
-
"Ongoing": "Running",
|
8562
|
-
"Finished": "Closed",
|
8563
|
-
"last": "last",
|
8564
|
-
"loading": "Loading, please wait ...",
|
8565
|
-
"noTournaments": "No tournaments found",
|
8566
|
-
"nothing": "Nothing to show here.",
|
8567
|
-
"name": "Name",
|
8568
|
-
"rank": "Rank",
|
8569
|
-
"enddate": "End Date",
|
8570
|
-
"prize": "Prize",
|
8571
|
-
"myTournaments": "My Tournaments"
|
8572
|
-
}
|
8573
|
-
},
|
8574
|
-
"hr": {
|
8575
|
-
"tournamentsLimitedController": {
|
8576
|
-
"500": "500 - Interna pogreška poslužitelja",
|
8577
|
-
"Scheduled": "Planirano",
|
8578
|
-
"Ongoing": "U tijeku",
|
8579
|
-
"Finished": "Završeno",
|
8580
|
-
"last": "zadnje",
|
8581
|
-
"loading": "Učitavanje, molimo pričekajte ...",
|
8582
|
-
"noTournaments": "Nema pronađenih turnira",
|
8583
|
-
"nothing": "Nema ničega za prikazati ovdje.",
|
8584
|
-
"name": "Ime",
|
8585
|
-
"rank": "Poredak",
|
8586
|
-
"enddate": "Datum završetka",
|
8587
|
-
"prize": "Nagrada",
|
8588
|
-
"myTournaments": "Moji turniri"
|
8589
|
-
}
|
8590
|
-
},
|
8591
|
-
"zh-hk": {
|
8592
|
-
"tournamentsLimitedController": {
|
8593
|
-
"500": "500内部服务器错误",
|
8594
|
-
"Scheduled": "即将到来",
|
8595
|
-
"Ongoing": "跑步",
|
8596
|
-
"Finished": "关闭",
|
8597
|
-
"last": "最后的",
|
8598
|
-
"loading": "加载请稍候 ...",
|
8599
|
-
"noTournaments": "没有找到比赛",
|
8600
|
-
"nothing": "这里没有什么可显示的。",
|
8601
|
-
"name": "姓名",
|
8602
|
-
"rank": "秩",
|
8603
|
-
"enddate": "结束日期",
|
8604
|
-
"prize": "奖",
|
8605
|
-
"myTournaments": "我的锦标赛"
|
8606
|
-
}
|
8607
|
-
},
|
8608
|
-
"fr": {
|
8609
|
-
"tournamentsLimitedController": {
|
8610
|
-
"500": "500 - Erreur interne du serveur",
|
8611
|
-
"Scheduled": "A venir",
|
8612
|
-
"Ongoing": "Fonctionnement",
|
8613
|
-
"Finished": "Fermé",
|
8614
|
-
"last": "dernière",
|
8615
|
-
"loading": "Chargement, veuillez patienter ...",
|
8616
|
-
"noTournaments": "Aucun tournoi trouvé",
|
8617
|
-
"nothing": "Rien à montrer ici.",
|
8618
|
-
"name": "Nom",
|
8619
|
-
"rank": "Rang",
|
8620
|
-
"enddate": "Date de fin",
|
8621
|
-
"prize": "Prix",
|
8622
|
-
"myTournaments": "Mes tournois"
|
8623
|
-
}
|
8624
|
-
},
|
8625
|
-
"ro": {
|
8626
|
-
"tournamentsLimitedController": {
|
8627
|
-
"500": "500 - Eroare internă de server",
|
8628
|
-
"Scheduled": "Urmează",
|
8629
|
-
"Ongoing": "Rulează",
|
8630
|
-
"Finished": "Închis",
|
8631
|
-
"last": "ultimul",
|
8632
|
-
"loading": "Se încarcă...",
|
8633
|
-
"noTournaments": "Niciun turneu",
|
8634
|
-
"nothing": "Niciun turneu disponibil aici",
|
8635
|
-
"name": "Nume",
|
8636
|
-
"rank": "Poziție",
|
8637
|
-
"enddate": "Data finalizării",
|
8638
|
-
"prize": "Premiu",
|
8639
|
-
"myTournaments": "Turneele Mele"
|
8640
|
-
}
|
8641
|
-
},
|
8642
|
-
"tr": {
|
8643
|
-
"tournamentsLimitedController": {
|
8644
|
-
"500": "500 - Dahili sunucu hatası",
|
8645
|
-
"Scheduled": "Yaklaşan",
|
8646
|
-
"Ongoing": "Devam eden",
|
8647
|
-
"Finished": "Kapalı",
|
8648
|
-
"last": "son",
|
8649
|
-
"loading": "Yükleniyor, lütfen bekleyin ...",
|
8650
|
-
"noTournaments": "Turnuva bulunamadı",
|
8651
|
-
"nothing": "Burada gösterilecek bir şey yok.",
|
8652
|
-
"prizes": "Ödüller",
|
8653
|
-
"name": "Ad",
|
8654
|
-
"rank": "Sıra",
|
8655
|
-
"enddate": "Bitiş Tarihi",
|
8656
|
-
"prize": "Ödül",
|
8657
|
-
"myTournaments": "Turnuvalarım"
|
8658
|
-
}
|
8659
|
-
},
|
8660
|
-
"el": {
|
8661
|
-
"tournamentsLimitedController": {
|
8662
|
-
"500": "500 - Σφάλμα Διακομιστή",
|
8663
|
-
"showMore": "Περισσότερα",
|
8664
|
-
"Scheduled": "Προγραμματισμένα",
|
8665
|
-
"Ongoing": "Τρέχοντα",
|
8666
|
-
"Finished": "Ολοκληρωμένα",
|
8667
|
-
"last": "τελευταίος",
|
8668
|
-
"loading": "Φορτώνει, παρακαλούμε περιμένετε ...",
|
8669
|
-
"noTournaments": "Δεν βρέθηκαν τουρνουά",
|
8670
|
-
"nothing": "Δεν υπάρχει τίποτα εδώ.",
|
8671
|
-
"prizes": "Έπαθλα",
|
8672
|
-
"name": "Ονομα",
|
8673
|
-
"rank": "Τάξη",
|
8674
|
-
"enddate": "Ημερομηνία λήξης",
|
8675
|
-
"prize": "Βραβείο",
|
8676
|
-
"myTournaments": "Τα τουρνουά μου"
|
8677
|
-
}
|
8678
|
-
},
|
8679
|
-
"es": {
|
8680
|
-
"tournamentsLimitedController": {
|
8681
|
-
"500": "500 - Error servidor interno",
|
8682
|
-
"Scheduled": "Próximamente",
|
8683
|
-
"Ongoing": "En vivo",
|
8684
|
-
"Finished": "Cerrado",
|
8685
|
-
"last": "último",
|
8686
|
-
"loading": "Cargando…",
|
8687
|
-
"noTournaments": "No se encontraron Torneos",
|
8688
|
-
"nothing": "Nada que mostrar aquí.",
|
8689
|
-
"name": "Nombre",
|
8690
|
-
"rank": "Ranking",
|
8691
|
-
"enddate": "Fecha fin",
|
8692
|
-
"prize": "Premio",
|
8693
|
-
"myTournaments": "Mis Torneos"
|
8694
|
-
}
|
8695
|
-
},
|
8696
|
-
"hu": {
|
8697
|
-
"tournamentsLimitedController": {
|
8698
|
-
"500": "500 - Belső szerver hiba",
|
8699
|
-
"Scheduled": "Közelgő",
|
8700
|
-
"Ongoing": "Jelenleg folyó",
|
8701
|
-
"Finished": "Lezárt",
|
8702
|
-
"last": "Legutóbbi",
|
8703
|
-
"loading": "Betöltés, kérjük várjon...",
|
8704
|
-
"noTournaments": "Verseny nem található",
|
8705
|
-
"nothing": "Nincs megjelenítendő adat.",
|
8706
|
-
"name": "Név",
|
8707
|
-
"rank": "rangsor",
|
8708
|
-
"enddate": "Befejezés dátuma",
|
8709
|
-
"prize": "Díj",
|
8710
|
-
"myTournaments": "Versenyeim"
|
8711
|
-
}
|
8712
|
-
}
|
8713
|
-
};
|
8714
|
-
|
8715
8557
|
/* src/CasinoTournamentsLimitedController.svelte generated by Svelte v3.59.2 */
|
8716
8558
|
|
8717
|
-
const { Object: Object_1 } = globals;
|
8559
|
+
const { Object: Object_1, console: console_1 } = globals;
|
8718
8560
|
const file = "src/CasinoTournamentsLimitedController.svelte";
|
8719
8561
|
|
8720
8562
|
function get_each_context(ctx, list, i) {
|
8721
8563
|
const child_ctx = ctx.slice();
|
8722
|
-
child_ctx[
|
8723
|
-
child_ctx[
|
8564
|
+
child_ctx[33] = list[i];
|
8565
|
+
child_ctx[35] = i;
|
8724
8566
|
return child_ctx;
|
8725
8567
|
}
|
8726
8568
|
|
8727
8569
|
function get_each_context_1(ctx, list, i) {
|
8728
8570
|
const child_ctx = ctx.slice();
|
8729
|
-
child_ctx[
|
8571
|
+
child_ctx[36] = list[i];
|
8730
8572
|
return child_ctx;
|
8731
8573
|
}
|
8732
8574
|
|
8733
8575
|
function get_each_context_2(ctx, list, i) {
|
8734
8576
|
const child_ctx = ctx.slice();
|
8735
|
-
child_ctx[
|
8577
|
+
child_ctx[33] = list[i];
|
8736
8578
|
return child_ctx;
|
8737
8579
|
}
|
8738
8580
|
|
8739
|
-
// (
|
8581
|
+
// (163:10) {#if href}
|
8740
8582
|
function create_if_block_3(ctx) {
|
8741
8583
|
let image;
|
8742
8584
|
|
@@ -8747,7 +8589,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8747
8589
|
attr_dev(image, "width", "512");
|
8748
8590
|
attr_dev(image, "height", "512");
|
8749
8591
|
xlink_attr(image, "xlink:href", /*href*/ ctx[7]);
|
8750
|
-
add_location(image, file,
|
8592
|
+
add_location(image, file, 163, 10, 6190);
|
8751
8593
|
},
|
8752
8594
|
m: function mount(target, anchor) {
|
8753
8595
|
insert_dev(target, image, anchor);
|
@@ -8762,14 +8604,14 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8762
8604
|
block,
|
8763
8605
|
id: create_if_block_3.name,
|
8764
8606
|
type: "if",
|
8765
|
-
source: "(
|
8607
|
+
source: "(163:10) {#if href}",
|
8766
8608
|
ctx
|
8767
8609
|
});
|
8768
8610
|
|
8769
8611
|
return block;
|
8770
8612
|
}
|
8771
8613
|
|
8772
|
-
// (
|
8614
|
+
// (190:2) {:else}
|
8773
8615
|
function create_else_block(ctx) {
|
8774
8616
|
let section;
|
8775
8617
|
let casino_tournaments_tab;
|
@@ -8791,8 +8633,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8791
8633
|
if_block.c();
|
8792
8634
|
set_custom_element_data(casino_tournaments_tab, "tabs", /*states*/ ctx[1]);
|
8793
8635
|
set_custom_element_data(casino_tournaments_tab, "tab", /*state*/ ctx[0]);
|
8794
|
-
add_location(casino_tournaments_tab, file,
|
8795
|
-
add_location(section, file,
|
8636
|
+
add_location(casino_tournaments_tab, file, 191, 6, 6805);
|
8637
|
+
add_location(section, file, 190, 4, 6789);
|
8796
8638
|
},
|
8797
8639
|
m: function mount(target, anchor) {
|
8798
8640
|
insert_dev(target, section, anchor);
|
@@ -8831,14 +8673,14 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8831
8673
|
block,
|
8832
8674
|
id: create_else_block.name,
|
8833
8675
|
type: "else",
|
8834
|
-
source: "(
|
8676
|
+
source: "(190:2) {:else}",
|
8835
8677
|
ctx
|
8836
8678
|
});
|
8837
8679
|
|
8838
8680
|
return block;
|
8839
8681
|
}
|
8840
8682
|
|
8841
|
-
// (
|
8683
|
+
// (186:2) {#if isLoading}
|
8842
8684
|
function create_if_block(ctx) {
|
8843
8685
|
let div;
|
8844
8686
|
let casino_tournaments_limited_controller_loader;
|
@@ -8847,9 +8689,9 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8847
8689
|
c: function create() {
|
8848
8690
|
div = element("div");
|
8849
8691
|
casino_tournaments_limited_controller_loader = element("casino-tournaments-limited-controller-loader");
|
8850
|
-
add_location(casino_tournaments_limited_controller_loader, file,
|
8692
|
+
add_location(casino_tournaments_limited_controller_loader, file, 187, 6, 6715);
|
8851
8693
|
attr_dev(div, "class", "Loading");
|
8852
|
-
add_location(div, file,
|
8694
|
+
add_location(div, file, 186, 4, 6687);
|
8853
8695
|
},
|
8854
8696
|
m: function mount(target, anchor) {
|
8855
8697
|
insert_dev(target, div, anchor);
|
@@ -8865,14 +8707,14 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8865
8707
|
block,
|
8866
8708
|
id: create_if_block.name,
|
8867
8709
|
type: "if",
|
8868
|
-
source: "(
|
8710
|
+
source: "(186:2) {#if isLoading}",
|
8869
8711
|
ctx
|
8870
8712
|
});
|
8871
8713
|
|
8872
8714
|
return block;
|
8873
8715
|
}
|
8874
8716
|
|
8875
|
-
// (
|
8717
|
+
// (237:6) {:else}
|
8876
8718
|
function create_else_block_1(ctx) {
|
8877
8719
|
let div;
|
8878
8720
|
|
@@ -8880,7 +8722,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8880
8722
|
c: function create() {
|
8881
8723
|
div = element("div");
|
8882
8724
|
attr_dev(div, "class", "NoContent");
|
8883
|
-
add_location(div, file,
|
8725
|
+
add_location(div, file, 237, 8, 8183);
|
8884
8726
|
},
|
8885
8727
|
m: function mount(target, anchor) {
|
8886
8728
|
insert_dev(target, div, anchor);
|
@@ -8895,14 +8737,14 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8895
8737
|
block,
|
8896
8738
|
id: create_else_block_1.name,
|
8897
8739
|
type: "else",
|
8898
|
-
source: "(
|
8740
|
+
source: "(237:6) {:else}",
|
8899
8741
|
ctx
|
8900
8742
|
});
|
8901
8743
|
|
8902
8744
|
return block;
|
8903
8745
|
}
|
8904
8746
|
|
8905
|
-
// (
|
8747
|
+
// (197:6) {#if list}
|
8906
8748
|
function create_if_block_1(ctx) {
|
8907
8749
|
let table;
|
8908
8750
|
let thead;
|
@@ -8947,9 +8789,9 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
8947
8789
|
each_blocks[i].c();
|
8948
8790
|
}
|
8949
8791
|
|
8950
|
-
add_location(tr, file,
|
8951
|
-
add_location(thead, file,
|
8952
|
-
add_location(table, file,
|
8792
|
+
add_location(tr, file, 199, 10, 6938);
|
8793
|
+
add_location(thead, file, 198, 8, 6920);
|
8794
|
+
add_location(table, file, 197, 6, 6904);
|
8953
8795
|
},
|
8954
8796
|
m: function mount(target, anchor) {
|
8955
8797
|
insert_dev(target, table, anchor);
|
@@ -9034,31 +8876,31 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9034
8876
|
block,
|
9035
8877
|
id: create_if_block_1.name,
|
9036
8878
|
type: "if",
|
9037
|
-
source: "(
|
8879
|
+
source: "(197:6) {#if list}",
|
9038
8880
|
ctx
|
9039
8881
|
});
|
9040
8882
|
|
9041
8883
|
return block;
|
9042
8884
|
}
|
9043
8885
|
|
9044
|
-
// (
|
8886
|
+
// (201:12) {#each [ $_('tournamentsLimitedController.name'), $_('tournamentsLimitedController.rank'), $_('tournamentsLimitedController.enddate'), $_('tournamentsLimitedController.prize') ] as item}
|
9045
8887
|
function create_each_block_2(ctx) {
|
9046
8888
|
let th;
|
9047
|
-
let t_value = /*item*/ ctx[
|
8889
|
+
let t_value = /*item*/ ctx[33] + "";
|
9048
8890
|
let t;
|
9049
8891
|
|
9050
8892
|
const block = {
|
9051
8893
|
c: function create() {
|
9052
8894
|
th = element("th");
|
9053
8895
|
t = text(t_value);
|
9054
|
-
add_location(th, file,
|
8896
|
+
add_location(th, file, 206, 14, 7227);
|
9055
8897
|
},
|
9056
8898
|
m: function mount(target, anchor) {
|
9057
8899
|
insert_dev(target, th, anchor);
|
9058
8900
|
append_dev(th, t);
|
9059
8901
|
},
|
9060
8902
|
p: function update(ctx, dirty) {
|
9061
|
-
if (dirty[0] & /*$_*/ 64 && t_value !== (t_value = /*item*/ ctx[
|
8903
|
+
if (dirty[0] & /*$_*/ 64 && t_value !== (t_value = /*item*/ ctx[33] + "")) set_data_dev(t, t_value);
|
9062
8904
|
},
|
9063
8905
|
d: function destroy(detaching) {
|
9064
8906
|
if (detaching) detach_dev(th);
|
@@ -9069,36 +8911,36 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9069
8911
|
block,
|
9070
8912
|
id: create_each_block_2.name,
|
9071
8913
|
type: "each",
|
9072
|
-
source: "(
|
8914
|
+
source: "(201:12) {#each [ $_('tournamentsLimitedController.name'), $_('tournamentsLimitedController.rank'), $_('tournamentsLimitedController.enddate'), $_('tournamentsLimitedController.prize') ] as item}",
|
9073
8915
|
ctx
|
9074
8916
|
});
|
9075
8917
|
|
9076
8918
|
return block;
|
9077
8919
|
}
|
9078
8920
|
|
9079
|
-
// (
|
8921
|
+
// (214:12) {#if item}
|
9080
8922
|
function create_if_block_2(ctx) {
|
9081
8923
|
let td0;
|
9082
|
-
let t0_value = /*item*/ ctx[
|
8924
|
+
let t0_value = /*item*/ ctx[33].title + "";
|
9083
8925
|
let t0;
|
9084
8926
|
let t1;
|
9085
8927
|
let td1;
|
9086
|
-
let t2_value = (/*item*/ ctx[
|
8928
|
+
let t2_value = (/*item*/ ctx[33].rank || ' -') + "";
|
9087
8929
|
let t2;
|
9088
8930
|
let t3;
|
9089
8931
|
let td2;
|
9090
8932
|
let t4;
|
9091
8933
|
let td3;
|
9092
|
-
let t5_value = (/*item*/ ctx[
|
8934
|
+
let t5_value = (/*item*/ ctx[33].prize || ' -') + "";
|
9093
8935
|
let t5;
|
9094
8936
|
let mounted;
|
9095
8937
|
let dispose;
|
9096
8938
|
|
9097
8939
|
function click_handler_1() {
|
9098
|
-
return /*click_handler_1*/ ctx[
|
8940
|
+
return /*click_handler_1*/ ctx[20](/*item*/ ctx[33]);
|
9099
8941
|
}
|
9100
8942
|
|
9101
|
-
let each_value_1 = formatDate$1(/*item*/ ctx[
|
8943
|
+
let each_value_1 = formatDate$1(/*item*/ ctx[33].enddate);
|
9102
8944
|
validate_each_argument(each_value_1);
|
9103
8945
|
let each_blocks = [];
|
9104
8946
|
|
@@ -9125,17 +8967,17 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9125
8967
|
t5 = text(t5_value);
|
9126
8968
|
attr_dev(td0, "class", "Title");
|
9127
8969
|
attr_dev(td0, "part", "Title");
|
9128
|
-
add_location(td0, file,
|
8970
|
+
add_location(td0, file, 215, 14, 7397);
|
9129
8971
|
attr_dev(td1, "class", "Rank");
|
9130
|
-
toggle_class(td1, "active", /*item*/ ctx[
|
9131
|
-
add_location(td1, file,
|
8972
|
+
toggle_class(td1, "active", /*item*/ ctx[33].prize);
|
8973
|
+
add_location(td1, file, 224, 14, 7743);
|
9132
8974
|
attr_dev(td2, "class", "EndDate");
|
9133
8975
|
attr_dev(td2, "part", "EndDate");
|
9134
8976
|
attr_dev(td2, "nowrap", "");
|
9135
|
-
add_location(td2, file,
|
8977
|
+
add_location(td2, file, 225, 14, 7825);
|
9136
8978
|
attr_dev(td3, "class", "Prize");
|
9137
|
-
toggle_class(td3, "active", /*item*/ ctx[
|
9138
|
-
add_location(td3, file,
|
8979
|
+
toggle_class(td3, "active", /*item*/ ctx[33].prize);
|
8980
|
+
add_location(td3, file, 230, 14, 8009);
|
9139
8981
|
},
|
9140
8982
|
m: function mount(target, anchor) {
|
9141
8983
|
insert_dev(target, td0, anchor);
|
@@ -9163,15 +9005,15 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9163
9005
|
},
|
9164
9006
|
p: function update(new_ctx, dirty) {
|
9165
9007
|
ctx = new_ctx;
|
9166
|
-
if (dirty[0] & /*list*/ 32 && t0_value !== (t0_value = /*item*/ ctx[
|
9167
|
-
if (dirty[0] & /*list*/ 32 && t2_value !== (t2_value = (/*item*/ ctx[
|
9008
|
+
if (dirty[0] & /*list*/ 32 && t0_value !== (t0_value = /*item*/ ctx[33].title + "")) set_data_dev(t0, t0_value);
|
9009
|
+
if (dirty[0] & /*list*/ 32 && t2_value !== (t2_value = (/*item*/ ctx[33].rank || ' -') + "")) set_data_dev(t2, t2_value);
|
9168
9010
|
|
9169
9011
|
if (dirty[0] & /*list*/ 32) {
|
9170
|
-
toggle_class(td1, "active", /*item*/ ctx[
|
9012
|
+
toggle_class(td1, "active", /*item*/ ctx[33].prize);
|
9171
9013
|
}
|
9172
9014
|
|
9173
9015
|
if (dirty[0] & /*list*/ 32) {
|
9174
|
-
each_value_1 = formatDate$1(/*item*/ ctx[
|
9016
|
+
each_value_1 = formatDate$1(/*item*/ ctx[33].enddate);
|
9175
9017
|
validate_each_argument(each_value_1);
|
9176
9018
|
let i;
|
9177
9019
|
|
@@ -9194,10 +9036,10 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9194
9036
|
each_blocks.length = each_value_1.length;
|
9195
9037
|
}
|
9196
9038
|
|
9197
|
-
if (dirty[0] & /*list*/ 32 && t5_value !== (t5_value = (/*item*/ ctx[
|
9039
|
+
if (dirty[0] & /*list*/ 32 && t5_value !== (t5_value = (/*item*/ ctx[33].prize || ' -') + "")) set_data_dev(t5, t5_value);
|
9198
9040
|
|
9199
9041
|
if (dirty[0] & /*list*/ 32) {
|
9200
|
-
toggle_class(td3, "active", /*item*/ ctx[
|
9042
|
+
toggle_class(td3, "active", /*item*/ ctx[33].prize);
|
9201
9043
|
}
|
9202
9044
|
},
|
9203
9045
|
d: function destroy(detaching) {
|
@@ -9218,31 +9060,31 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9218
9060
|
block,
|
9219
9061
|
id: create_if_block_2.name,
|
9220
9062
|
type: "if",
|
9221
|
-
source: "(
|
9063
|
+
source: "(214:12) {#if item}",
|
9222
9064
|
ctx
|
9223
9065
|
});
|
9224
9066
|
|
9225
9067
|
return block;
|
9226
9068
|
}
|
9227
9069
|
|
9228
|
-
// (
|
9070
|
+
// (227:16) {#each formatDate(item.enddate) as s}
|
9229
9071
|
function create_each_block_1(ctx) {
|
9230
9072
|
let p;
|
9231
|
-
let t_value = /*s*/ ctx[
|
9073
|
+
let t_value = /*s*/ ctx[36] + "";
|
9232
9074
|
let t;
|
9233
9075
|
|
9234
9076
|
const block = {
|
9235
9077
|
c: function create() {
|
9236
9078
|
p = element("p");
|
9237
9079
|
t = text(t_value);
|
9238
|
-
add_location(p, file,
|
9080
|
+
add_location(p, file, 227, 18, 7940);
|
9239
9081
|
},
|
9240
9082
|
m: function mount(target, anchor) {
|
9241
9083
|
insert_dev(target, p, anchor);
|
9242
9084
|
append_dev(p, t);
|
9243
9085
|
},
|
9244
9086
|
p: function update(ctx, dirty) {
|
9245
|
-
if (dirty[0] & /*list*/ 32 && t_value !== (t_value = /*s*/ ctx[
|
9087
|
+
if (dirty[0] & /*list*/ 32 && t_value !== (t_value = /*s*/ ctx[36] + "")) set_data_dev(t, t_value);
|
9246
9088
|
},
|
9247
9089
|
d: function destroy(detaching) {
|
9248
9090
|
if (detaching) detach_dev(p);
|
@@ -9253,19 +9095,19 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9253
9095
|
block,
|
9254
9096
|
id: create_each_block_1.name,
|
9255
9097
|
type: "each",
|
9256
|
-
source: "(
|
9098
|
+
source: "(227:16) {#each formatDate(item.enddate) as s}",
|
9257
9099
|
ctx
|
9258
9100
|
});
|
9259
9101
|
|
9260
9102
|
return block;
|
9261
9103
|
}
|
9262
9104
|
|
9263
|
-
// (
|
9105
|
+
// (211:8) {#each list as item, i}
|
9264
9106
|
function create_each_block(ctx) {
|
9265
9107
|
let tbody;
|
9266
9108
|
let tr;
|
9267
9109
|
let t;
|
9268
|
-
let if_block = /*item*/ ctx[
|
9110
|
+
let if_block = /*item*/ ctx[33] && create_if_block_2(ctx);
|
9269
9111
|
|
9270
9112
|
const block = {
|
9271
9113
|
c: function create() {
|
@@ -9273,8 +9115,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9273
9115
|
tr = element("tr");
|
9274
9116
|
if (if_block) if_block.c();
|
9275
9117
|
t = space();
|
9276
|
-
add_location(tr, file,
|
9277
|
-
add_location(tbody, file,
|
9118
|
+
add_location(tr, file, 212, 10, 7354);
|
9119
|
+
add_location(tbody, file, 211, 8, 7336);
|
9278
9120
|
},
|
9279
9121
|
m: function mount(target, anchor) {
|
9280
9122
|
insert_dev(target, tbody, anchor);
|
@@ -9283,7 +9125,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9283
9125
|
append_dev(tbody, t);
|
9284
9126
|
},
|
9285
9127
|
p: function update(ctx, dirty) {
|
9286
|
-
if (/*item*/ ctx[
|
9128
|
+
if (/*item*/ ctx[33]) {
|
9287
9129
|
if (if_block) {
|
9288
9130
|
if_block.p(ctx, dirty);
|
9289
9131
|
} else {
|
@@ -9306,7 +9148,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9306
9148
|
block,
|
9307
9149
|
id: create_each_block.name,
|
9308
9150
|
type: "each",
|
9309
|
-
source: "(
|
9151
|
+
source: "(211:8) {#each list as item, i}",
|
9310
9152
|
ctx
|
9311
9153
|
});
|
9312
9154
|
|
@@ -9366,36 +9208,36 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9366
9208
|
attr_dev(rect, "width", /*svgSize*/ ctx[3]);
|
9367
9209
|
attr_dev(rect, "height", /*svgSize*/ ctx[3]);
|
9368
9210
|
attr_dev(rect, "fill", "url(#pattern0)");
|
9369
|
-
add_location(rect, file,
|
9211
|
+
add_location(rect, file, 157, 8, 5886);
|
9370
9212
|
xlink_attr(use, "xlink:href", "#image0_2606_356");
|
9371
9213
|
attr_dev(use, "transform", "scale(0.00195312)");
|
9372
|
-
add_location(use, file,
|
9214
|
+
add_location(use, file, 160, 12, 6071);
|
9373
9215
|
attr_dev(pattern, "id", "pattern0");
|
9374
9216
|
attr_dev(pattern, "patternContentUnits", "objectBoundingBox");
|
9375
9217
|
attr_dev(pattern, "width", "1");
|
9376
9218
|
attr_dev(pattern, "height", "1");
|
9377
|
-
add_location(pattern, file,
|
9378
|
-
add_location(defs, file,
|
9219
|
+
add_location(pattern, file, 159, 10, 5974);
|
9220
|
+
add_location(defs, file, 158, 8, 5957);
|
9379
9221
|
attr_dev(svg, "width", /*svgSize*/ ctx[3]);
|
9380
9222
|
attr_dev(svg, "height", /*svgSize*/ ctx[3]);
|
9381
9223
|
attr_dev(svg, "viewBox", svg_viewBox_value = `0 0 ${/*svgSize*/ ctx[3]} ${/*svgSize*/ ctx[3]}`);
|
9382
9224
|
attr_dev(svg, "fill", "none");
|
9383
9225
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
9384
9226
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
9385
|
-
add_location(svg, file,
|
9227
|
+
add_location(svg, file, 156, 6, 5711);
|
9386
9228
|
attr_dev(div0, "class", "svg");
|
9387
|
-
add_render_callback(() => /*div0_elementresize_handler*/ ctx[
|
9388
|
-
add_location(div0, file,
|
9229
|
+
add_render_callback(() => /*div0_elementresize_handler*/ ctx[18].call(div0));
|
9230
|
+
add_location(div0, file, 155, 4, 5660);
|
9389
9231
|
attr_dev(div1, "class", "text");
|
9390
|
-
add_location(div1, file,
|
9232
|
+
add_location(div1, file, 174, 4, 6387);
|
9391
9233
|
attr_dev(div2, "class", "CloseButton");
|
9392
9234
|
attr_dev(div2, "part", "CloseButton");
|
9393
|
-
add_location(div2, file,
|
9235
|
+
add_location(div2, file, 178, 4, 6483);
|
9394
9236
|
attr_dev(div3, "class", "top-wrapper");
|
9395
|
-
add_location(div3, file,
|
9237
|
+
add_location(div3, file, 154, 2, 5630);
|
9396
9238
|
attr_dev(div4, "class", "Root");
|
9397
9239
|
attr_dev(div4, "part", "Root");
|
9398
|
-
add_location(div4, file,
|
9240
|
+
add_location(div4, file, 152, 0, 5560);
|
9399
9241
|
},
|
9400
9242
|
l: function claim(nodes) {
|
9401
9243
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
@@ -9410,7 +9252,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9410
9252
|
append_dev(defs, pattern);
|
9411
9253
|
append_dev(pattern, use);
|
9412
9254
|
if (if_block0) if_block0.m(defs, null);
|
9413
|
-
div0_resize_listener = add_iframe_resize_listener(div0, /*div0_elementresize_handler*/ ctx[
|
9255
|
+
div0_resize_listener = add_iframe_resize_listener(div0, /*div0_elementresize_handler*/ ctx[18].bind(div0));
|
9414
9256
|
append_dev(div3, t0);
|
9415
9257
|
append_dev(div3, div1);
|
9416
9258
|
append_dev(div1, t1);
|
@@ -9418,10 +9260,10 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9418
9260
|
append_dev(div3, div2);
|
9419
9261
|
append_dev(div4, t4);
|
9420
9262
|
if_block1.m(div4, null);
|
9421
|
-
/*div4_binding*/ ctx[
|
9263
|
+
/*div4_binding*/ ctx[21](div4);
|
9422
9264
|
|
9423
9265
|
if (!mounted) {
|
9424
|
-
dispose = listen_dev(div2, "click", /*click_handler*/ ctx[
|
9266
|
+
dispose = listen_dev(div2, "click", /*click_handler*/ ctx[19], false, false, false, false);
|
9425
9267
|
mounted = true;
|
9426
9268
|
}
|
9427
9269
|
},
|
@@ -9469,7 +9311,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9469
9311
|
if (if_block0) if_block0.d();
|
9470
9312
|
div0_resize_listener();
|
9471
9313
|
if_block1.d();
|
9472
|
-
/*div4_binding*/ ctx[
|
9314
|
+
/*div4_binding*/ ctx[21](null);
|
9473
9315
|
mounted = false;
|
9474
9316
|
dispose();
|
9475
9317
|
}
|
@@ -9504,6 +9346,22 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9504
9346
|
let { filter = '' } = $$props;
|
9505
9347
|
let { clientstyling = '' } = $$props;
|
9506
9348
|
let { clientstylingurl = '' } = $$props;
|
9349
|
+
let { translationurl = '' } = $$props;
|
9350
|
+
|
9351
|
+
const setTranslationUrl = () => {
|
9352
|
+
let url = translationurl;
|
9353
|
+
|
9354
|
+
fetch(url).then(res => res.json()).then(res => {
|
9355
|
+
Object.keys(res).forEach(item => {
|
9356
|
+
addNewMessages(item, res[item]);
|
9357
|
+
});
|
9358
|
+
|
9359
|
+
setTabTexts();
|
9360
|
+
}).catch(err => {
|
9361
|
+
console.log(err);
|
9362
|
+
});
|
9363
|
+
};
|
9364
|
+
|
9507
9365
|
let customStylingContainer;
|
9508
9366
|
let displayNone = false;
|
9509
9367
|
let eventSource = undefined;
|
@@ -9536,7 +9394,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9536
9394
|
_tournamentsMatrix[matchStatusFromApiToView(_item.tournament.state)].push(tournamentComposed);
|
9537
9395
|
});
|
9538
9396
|
|
9539
|
-
$$invalidate(
|
9397
|
+
$$invalidate(15, tournamentsMatrix = _tournamentsMatrix);
|
9540
9398
|
};
|
9541
9399
|
|
9542
9400
|
const eventSourceHandler = composeEventSourceMessageHandler({
|
@@ -9552,7 +9410,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9552
9410
|
const tournament = data.item;
|
9553
9411
|
let _state = matchStatusFromApiToView(tournament.state);
|
9554
9412
|
|
9555
|
-
$$invalidate(
|
9413
|
+
$$invalidate(15, tournamentsMatrix = Object.assign(Object.assign({}, tournamentsMatrix), {
|
9556
9414
|
[_state]: tournamentsMatrix[_state].map(t => {
|
9557
9415
|
if (t.id === tournament.id) {
|
9558
9416
|
return Object.assign(Object.assign({}, t), {
|
@@ -9626,10 +9484,10 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9626
9484
|
const setTabTexts = () => {
|
9627
9485
|
setTimeout(
|
9628
9486
|
() => {
|
9629
|
-
const
|
9630
|
-
postMessageTabLocaleTextUpdate('Scheduled',
|
9631
|
-
postMessageTabLocaleTextUpdate('Ongoing',
|
9632
|
-
postMessageTabLocaleTextUpdate('Finished', `${
|
9487
|
+
const getText = key => $_(`tournamentsLimitedController.${key}`);
|
9488
|
+
postMessageTabLocaleTextUpdate('Scheduled', getText('Scheduled'));
|
9489
|
+
postMessageTabLocaleTextUpdate('Ongoing', getText('Ongoing'));
|
9490
|
+
postMessageTabLocaleTextUpdate('Finished', `${getText(`Finished`)} (${getText('last')} 48h)`);
|
9633
9491
|
},
|
9634
9492
|
1
|
9635
9493
|
);
|
@@ -9644,7 +9502,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9644
9502
|
});
|
9645
9503
|
|
9646
9504
|
onMountMessageLifeCycle$1({
|
9647
|
-
TournamentsTabSwitch: async data => $$invalidate(
|
9505
|
+
TournamentsTabSwitch: async data => $$invalidate(16, __state = data.tab)
|
9648
9506
|
});
|
9649
9507
|
|
9650
9508
|
const writable_props = [
|
@@ -9655,11 +9513,12 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9655
9513
|
'states',
|
9656
9514
|
'filter',
|
9657
9515
|
'clientstyling',
|
9658
|
-
'clientstylingurl'
|
9516
|
+
'clientstylingurl',
|
9517
|
+
'translationurl'
|
9659
9518
|
];
|
9660
9519
|
|
9661
9520
|
Object_1.keys($$props).forEach(key => {
|
9662
|
-
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot')
|
9521
|
+
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console_1.warn(`<undefined> was created with unknown prop '${key}'`);
|
9663
9522
|
});
|
9664
9523
|
|
9665
9524
|
function div0_elementresize_handler() {
|
@@ -9696,6 +9555,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9696
9555
|
if ('filter' in $$props) $$invalidate(11, filter = $$props.filter);
|
9697
9556
|
if ('clientstyling' in $$props) $$invalidate(12, clientstyling = $$props.clientstyling);
|
9698
9557
|
if ('clientstylingurl' in $$props) $$invalidate(13, clientstylingurl = $$props.clientstylingurl);
|
9558
|
+
if ('translationurl' in $$props) $$invalidate(14, translationurl = $$props.translationurl);
|
9699
9559
|
};
|
9700
9560
|
|
9701
9561
|
$$self.$capture_state = () => ({
|
@@ -9706,13 +9566,13 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9706
9566
|
setLocale,
|
9707
9567
|
setLocaleWhenInit,
|
9708
9568
|
_: $format,
|
9569
|
+
addNewMessages,
|
9709
9570
|
onMountMessageLifeCycle: onMountMessageLifeCycle$1,
|
9710
9571
|
updateEventSourceLifeCycle,
|
9711
9572
|
composeEventSourceMessageHandler,
|
9712
9573
|
postMessageTabLocaleTextUpdate,
|
9713
9574
|
postMessageTabTotalUpdate,
|
9714
9575
|
createEventSource,
|
9715
|
-
TRANSLATIONS,
|
9716
9576
|
endpoint,
|
9717
9577
|
lang,
|
9718
9578
|
session,
|
@@ -9721,6 +9581,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9721
9581
|
filter,
|
9722
9582
|
clientstyling,
|
9723
9583
|
clientstylingurl,
|
9584
|
+
translationurl,
|
9585
|
+
setTranslationUrl,
|
9724
9586
|
customStylingContainer,
|
9725
9587
|
displayNone,
|
9726
9588
|
eventSource,
|
@@ -9751,16 +9613,17 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9751
9613
|
if ('filter' in $$props) $$invalidate(11, filter = $$props.filter);
|
9752
9614
|
if ('clientstyling' in $$props) $$invalidate(12, clientstyling = $$props.clientstyling);
|
9753
9615
|
if ('clientstylingurl' in $$props) $$invalidate(13, clientstylingurl = $$props.clientstylingurl);
|
9616
|
+
if ('translationurl' in $$props) $$invalidate(14, translationurl = $$props.translationurl);
|
9754
9617
|
if ('customStylingContainer' in $$props) $$invalidate(2, customStylingContainer = $$props.customStylingContainer);
|
9755
9618
|
if ('displayNone' in $$props) displayNone = $$props.displayNone;
|
9756
9619
|
if ('eventSource' in $$props) eventSource = $$props.eventSource;
|
9757
9620
|
if ('svgSize' in $$props) $$invalidate(3, svgSize = $$props.svgSize);
|
9758
9621
|
if ('href' in $$props) $$invalidate(7, href = $$props.href);
|
9759
9622
|
if ('isLoading' in $$props) $$invalidate(4, isLoading = $$props.isLoading);
|
9760
|
-
if ('tournamentsMatrix' in $$props) $$invalidate(
|
9761
|
-
if ('__state' in $$props) $$invalidate(
|
9623
|
+
if ('tournamentsMatrix' in $$props) $$invalidate(15, tournamentsMatrix = $$props.tournamentsMatrix);
|
9624
|
+
if ('__state' in $$props) $$invalidate(16, __state = $$props.__state);
|
9762
9625
|
if ('list' in $$props) $$invalidate(5, list = $$props.list);
|
9763
|
-
if ('__states' in $$props) $$invalidate(
|
9626
|
+
if ('__states' in $$props) $$invalidate(17, __states = $$props.__states);
|
9764
9627
|
if ('statesNeedSubscribe' in $$props) statesNeedSubscribe = $$props.statesNeedSubscribe;
|
9765
9628
|
};
|
9766
9629
|
|
@@ -9770,18 +9633,18 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9770
9633
|
|
9771
9634
|
$$self.$$.update = () => {
|
9772
9635
|
if ($$self.$$.dirty[0] & /*state*/ 1) {
|
9773
|
-
$$invalidate(
|
9636
|
+
$$invalidate(16, __state = state);
|
9774
9637
|
}
|
9775
9638
|
|
9776
9639
|
if ($$self.$$.dirty[0] & /*states*/ 2) {
|
9777
|
-
$$invalidate(
|
9640
|
+
$$invalidate(17, __states = states.split(','));
|
9778
9641
|
}
|
9779
9642
|
|
9780
|
-
if ($$self.$$.dirty[0] & /*__states*/
|
9643
|
+
if ($$self.$$.dirty[0] & /*__states*/ 131072) {
|
9781
9644
|
statesNeedSubscribe = __states.filter(s => s !== 'Finished');
|
9782
9645
|
}
|
9783
9646
|
|
9784
|
-
if ($$self.$$.dirty[0] & /*tournamentsMatrix, __state*/
|
9647
|
+
if ($$self.$$.dirty[0] & /*tournamentsMatrix, __state*/ 98304) {
|
9785
9648
|
$$invalidate(5, list = tournamentsMatrix[__state]);
|
9786
9649
|
}
|
9787
9650
|
|
@@ -9797,11 +9660,15 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9797
9660
|
clientstylingurl && customStylingContainer && setClientStylingURL();
|
9798
9661
|
}
|
9799
9662
|
|
9663
|
+
if ($$self.$$.dirty[0] & /*translationurl*/ 16384) {
|
9664
|
+
translationurl && setTranslationUrl();
|
9665
|
+
}
|
9666
|
+
|
9800
9667
|
if ($$self.$$.dirty[0] & /*lang*/ 512) {
|
9801
9668
|
lang && setTabTexts();
|
9802
9669
|
}
|
9803
9670
|
|
9804
|
-
if ($$self.$$.dirty[0] & /*tournamentsMatrix*/
|
9671
|
+
if ($$self.$$.dirty[0] & /*tournamentsMatrix*/ 32768) {
|
9805
9672
|
Object.keys(tournamentsMatrix).length && (() => {
|
9806
9673
|
$$invalidate(4, isLoading = false);
|
9807
9674
|
setTabTexts();
|
@@ -9824,6 +9691,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9824
9691
|
filter,
|
9825
9692
|
clientstyling,
|
9826
9693
|
clientstylingurl,
|
9694
|
+
translationurl,
|
9827
9695
|
tournamentsMatrix,
|
9828
9696
|
__state,
|
9829
9697
|
__states,
|
@@ -9859,7 +9727,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9859
9727
|
states: 1,
|
9860
9728
|
filter: 11,
|
9861
9729
|
clientstyling: 12,
|
9862
|
-
clientstylingurl: 13
|
9730
|
+
clientstylingurl: 13,
|
9731
|
+
translationurl: 14
|
9863
9732
|
},
|
9864
9733
|
null,
|
9865
9734
|
[-1, -1]
|
@@ -9886,7 +9755,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9886
9755
|
"states",
|
9887
9756
|
"filter",
|
9888
9757
|
"clientstyling",
|
9889
|
-
"clientstylingurl"
|
9758
|
+
"clientstylingurl",
|
9759
|
+
"translationurl"
|
9890
9760
|
];
|
9891
9761
|
}
|
9892
9762
|
|
@@ -9961,6 +9831,15 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICA
|
|
9961
9831
|
this.$$set({ clientstylingurl });
|
9962
9832
|
flush$1();
|
9963
9833
|
}
|
9834
|
+
|
9835
|
+
get translationurl() {
|
9836
|
+
return this.$$.ctx[14];
|
9837
|
+
}
|
9838
|
+
|
9839
|
+
set translationurl(translationurl) {
|
9840
|
+
this.$$set({ translationurl });
|
9841
|
+
flush$1();
|
9842
|
+
}
|
9964
9843
|
}
|
9965
9844
|
|
9966
9845
|
!customElements.get('casino-tournaments-limited-controller') && customElements.define('casino-tournaments-limited-controller', CasinoTournamentsLimitedController);
|