@everymatrix/casino-tournaments-thumbnail-controller 0.0.109 → 0.0.113
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.
|
@@ -6636,32 +6636,32 @@
|
|
|
6636
6636
|
attr_dev(path0, "stroke-linejoin", "round");
|
|
6637
6637
|
attr_dev(path0, "stroke-width", "2");
|
|
6638
6638
|
attr_dev(path0, "d", "M15 19l-7-7 7-7");
|
|
6639
|
-
add_location(path0, file$1, 113, 8,
|
|
6639
|
+
add_location(path0, file$1, 113, 8, 3428);
|
|
6640
6640
|
attr_dev(svg0, "fill", "none");
|
|
6641
6641
|
attr_dev(svg0, "stroke", "currentColor");
|
|
6642
6642
|
attr_dev(svg0, "viewBox", "0 0 24 24");
|
|
6643
6643
|
attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
|
|
6644
|
-
add_location(svg0, file$1, 112, 6,
|
|
6644
|
+
add_location(svg0, file$1, 112, 6, 3325);
|
|
6645
6645
|
attr_dev(div0, "class", "SliderNavButton");
|
|
6646
6646
|
toggle_class(div0, "disabled", /*atStart*/ ctx[5]);
|
|
6647
|
-
add_location(div0, file$1, 111, 4,
|
|
6647
|
+
add_location(div0, file$1, 111, 4, 3236);
|
|
6648
6648
|
attr_dev(div1, "class", "items");
|
|
6649
6649
|
set_style(div1, "transform", "translateX(" + /*offset*/ ctx[1] + "px)");
|
|
6650
|
-
add_location(div1, file$1, 117, 6,
|
|
6651
|
-
add_location(main, file$1, 116, 4,
|
|
6650
|
+
add_location(div1, file$1, 117, 6, 3567);
|
|
6651
|
+
add_location(main, file$1, 116, 4, 3554);
|
|
6652
6652
|
attr_dev(path1, "stroke-linecap", "round");
|
|
6653
6653
|
attr_dev(path1, "stroke-linejoin", "round");
|
|
6654
6654
|
attr_dev(path1, "stroke-width", "2");
|
|
6655
6655
|
attr_dev(path1, "d", "M9 5l7 7-7 7");
|
|
6656
|
-
add_location(path1, file$1, 128, 8,
|
|
6656
|
+
add_location(path1, file$1, 128, 8, 4245);
|
|
6657
6657
|
attr_dev(svg1, "fill", "none");
|
|
6658
6658
|
attr_dev(svg1, "stroke", "currentColor");
|
|
6659
6659
|
attr_dev(svg1, "viewBox", "0 0 24 24");
|
|
6660
6660
|
attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
|
|
6661
|
-
add_location(svg1, file$1, 127, 6,
|
|
6661
|
+
add_location(svg1, file$1, 127, 6, 4142);
|
|
6662
6662
|
attr_dev(div2, "class", "SliderNavButton");
|
|
6663
6663
|
toggle_class(div2, "disabled", /*atEnd*/ ctx[6]);
|
|
6664
|
-
add_location(div2, file$1, 126, 4,
|
|
6664
|
+
add_location(div2, file$1, 126, 4, 4056);
|
|
6665
6665
|
},
|
|
6666
6666
|
m: function mount(target, anchor) {
|
|
6667
6667
|
insert_dev(target, div0, anchor);
|
|
@@ -6785,15 +6785,15 @@
|
|
|
6785
6785
|
? "itemHover"
|
|
6786
6786
|
: ""));
|
|
6787
6787
|
|
|
6788
|
-
add_location(span, file$1, 120, 12,
|
|
6788
|
+
add_location(span, file$1, 120, 12, 3800);
|
|
6789
6789
|
if (img.src !== (img_src_value = /*game*/ ctx[34].thumbnail)) attr_dev(img, "src", img_src_value);
|
|
6790
6790
|
attr_dev(img, "width", "132px");
|
|
6791
6791
|
attr_dev(img, "height", "100px");
|
|
6792
6792
|
attr_dev(img, "alt", img_alt_value = /*game*/ ctx[34].name);
|
|
6793
6793
|
attr_dev(img, "title", img_title_value = /*game*/ ctx[34].name);
|
|
6794
|
-
add_location(img, file$1, 121, 12,
|
|
6794
|
+
add_location(img, file$1, 121, 12, 3903);
|
|
6795
6795
|
attr_dev(div, "class", "item");
|
|
6796
|
-
add_location(div, file$1, 119, 10,
|
|
6796
|
+
add_location(div, file$1, 119, 10, 3673);
|
|
6797
6797
|
},
|
|
6798
6798
|
m: function mount(target, anchor) {
|
|
6799
6799
|
insert_dev(target, div, anchor);
|
|
@@ -6862,7 +6862,7 @@
|
|
|
6862
6862
|
if (if_block) if_block.c();
|
|
6863
6863
|
this.c = noop$1;
|
|
6864
6864
|
attr_dev(div, "class", "TournamentsGamesSlider");
|
|
6865
|
-
add_location(div, file$1, 109, 0,
|
|
6865
|
+
add_location(div, file$1, 109, 0, 3162);
|
|
6866
6866
|
},
|
|
6867
6867
|
l: function claim(nodes) {
|
|
6868
6868
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -6992,7 +6992,7 @@
|
|
|
6992
6992
|
url.searchParams.append("expand", "games");
|
|
6993
6993
|
url.searchParams.append("pagination", `games(limit=${limit},offset=${offset})`);
|
|
6994
6994
|
url.searchParams.append("fields", "games(id,name,thumbnail)");
|
|
6995
|
-
|
|
6995
|
+
url.searchParams.append("language", lang);
|
|
6996
6996
|
reqHeaders.append("platform", getDevice(userAgent));
|
|
6997
6997
|
let requestOptions = { method: "GET", headers: reqHeaders };
|
|
6998
6998
|
|
|
@@ -7282,11 +7282,11 @@
|
|
|
7282
7282
|
set_custom_element_data(casino_tournaments_thumbnail, "userenrolled", /*userenrolled*/ ctx[19]);
|
|
7283
7283
|
set_custom_element_data(casino_tournaments_thumbnail, "showenrolled", /*showenrolled*/ ctx[5]);
|
|
7284
7284
|
set_custom_element_data(casino_tournaments_thumbnail, "gameurl", /*gameurl*/ ctx[23]);
|
|
7285
|
-
add_location(casino_tournaments_thumbnail, file, 194, 4,
|
|
7285
|
+
add_location(casino_tournaments_thumbnail, file, 194, 4, 5807);
|
|
7286
7286
|
attr_dev(div0, "class", "TournamentButtons");
|
|
7287
|
-
add_location(div0, file, 223, 4,
|
|
7287
|
+
add_location(div0, file, 223, 4, 6618);
|
|
7288
7288
|
attr_dev(div1, "class", div1_class_value = "TournamentCard " + (/*maxwidth*/ ctx[6] ? "CardMaxWidth" : "") + (/*fullsize*/ ctx[7] ? "CardFullSize" : ""));
|
|
7289
|
-
add_location(div1, file, 193, 2,
|
|
7289
|
+
add_location(div1, file, 193, 2, 5709);
|
|
7290
7290
|
},
|
|
7291
7291
|
m: function mount(target, anchor) {
|
|
7292
7292
|
insert_dev(target, div1, anchor);
|
|
@@ -7474,29 +7474,29 @@
|
|
|
7474
7474
|
t6 = space();
|
|
7475
7475
|
div7 = element("div");
|
|
7476
7476
|
attr_dev(div0, "class", "ph-picture");
|
|
7477
|
-
add_location(div0, file, 179, 10,
|
|
7477
|
+
add_location(div0, file, 179, 10, 5271);
|
|
7478
7478
|
attr_dev(div1, "class", "ph-col-6 big");
|
|
7479
|
-
add_location(div1, file, 181, 12,
|
|
7479
|
+
add_location(div1, file, 181, 12, 5345);
|
|
7480
7480
|
attr_dev(div2, "class", "ph-col-4 empty big");
|
|
7481
|
-
add_location(div2, file, 182, 12,
|
|
7481
|
+
add_location(div2, file, 182, 12, 5390);
|
|
7482
7482
|
attr_dev(div3, "class", "ph-col-4");
|
|
7483
|
-
add_location(div3, file, 183, 12,
|
|
7483
|
+
add_location(div3, file, 183, 12, 5441);
|
|
7484
7484
|
attr_dev(div4, "class", "ph-col-8 empty");
|
|
7485
|
-
add_location(div4, file, 184, 12,
|
|
7485
|
+
add_location(div4, file, 184, 12, 5482);
|
|
7486
7486
|
attr_dev(div5, "class", "ph-col-6");
|
|
7487
|
-
add_location(div5, file, 185, 12,
|
|
7487
|
+
add_location(div5, file, 185, 12, 5529);
|
|
7488
7488
|
attr_dev(div6, "class", "ph-col-6 empty");
|
|
7489
|
-
add_location(div6, file, 186, 12,
|
|
7489
|
+
add_location(div6, file, 186, 12, 5570);
|
|
7490
7490
|
attr_dev(div7, "class", "ph-col-12");
|
|
7491
|
-
add_location(div7, file, 187, 12,
|
|
7491
|
+
add_location(div7, file, 187, 12, 5617);
|
|
7492
7492
|
attr_dev(div8, "class", "ph-row");
|
|
7493
|
-
add_location(div8, file, 180, 10,
|
|
7493
|
+
add_location(div8, file, 180, 10, 5312);
|
|
7494
7494
|
attr_dev(div9, "class", "ph-col-12");
|
|
7495
|
-
add_location(div9, file, 178, 8,
|
|
7495
|
+
add_location(div9, file, 178, 8, 5237);
|
|
7496
7496
|
attr_dev(div10, "class", "ph-item");
|
|
7497
|
-
add_location(div10, file, 177, 6,
|
|
7497
|
+
add_location(div10, file, 177, 6, 5207);
|
|
7498
7498
|
attr_dev(div11, "class", div11_class_value = "TournamentCard " + (/*maxwidth*/ ctx[6] ? "CardMaxWidth" : "") + (/*fullsize*/ ctx[7] ? "CardFullSize" : ""));
|
|
7499
|
-
add_location(div11, file, 176, 2,
|
|
7499
|
+
add_location(div11, file, 176, 2, 5107);
|
|
7500
7500
|
},
|
|
7501
7501
|
m: function mount(target, anchor) {
|
|
7502
7502
|
insert_dev(target, div11, anchor);
|
|
@@ -7554,7 +7554,7 @@
|
|
|
7554
7554
|
set_custom_element_data(casino_tournaments_thumbnail_duration, "status", /*status*/ ctx[16]);
|
|
7555
7555
|
set_custom_element_data(casino_tournaments_thumbnail_duration, "startdate", /*startdate*/ ctx[14]);
|
|
7556
7556
|
set_custom_element_data(casino_tournaments_thumbnail_duration, "enddate", /*enddate*/ ctx[15]);
|
|
7557
|
-
add_location(casino_tournaments_thumbnail_duration, file, 217, 6,
|
|
7557
|
+
add_location(casino_tournaments_thumbnail_duration, file, 217, 6, 6437);
|
|
7558
7558
|
},
|
|
7559
7559
|
m: function mount(target, anchor) {
|
|
7560
7560
|
if (if_block) if_block.m(target, anchor);
|
|
@@ -7616,7 +7616,7 @@
|
|
|
7616
7616
|
c: function create() {
|
|
7617
7617
|
casino_tournaments_thumbnail_prizes = element("casino-tournaments-thumbnail-prizes");
|
|
7618
7618
|
set_custom_element_data(casino_tournaments_thumbnail_prizes, "tourid", /*tourid*/ ctx[17]);
|
|
7619
|
-
add_location(casino_tournaments_thumbnail_prizes, file, 211, 8,
|
|
7619
|
+
add_location(casino_tournaments_thumbnail_prizes, file, 211, 8, 6255);
|
|
7620
7620
|
},
|
|
7621
7621
|
m: function mount(target, anchor) {
|
|
7622
7622
|
insert_dev(target, casino_tournaments_thumbnail_prizes, anchor);
|
|
@@ -7662,7 +7662,7 @@
|
|
|
7662
7662
|
button = element("button");
|
|
7663
7663
|
button.textContent = "Details";
|
|
7664
7664
|
attr_dev(button, "class", "DetailsLargeButton");
|
|
7665
|
-
add_location(button, file, 250, 12,
|
|
7665
|
+
add_location(button, file, 250, 12, 8075);
|
|
7666
7666
|
},
|
|
7667
7667
|
m: function mount(target, anchor) {
|
|
7668
7668
|
insert_dev(target, button, anchor);
|
|
@@ -7779,9 +7779,9 @@
|
|
|
7779
7779
|
button1 = element("button");
|
|
7780
7780
|
button1.textContent = "Register";
|
|
7781
7781
|
attr_dev(button0, "class", "LoginButton");
|
|
7782
|
-
add_location(button0, file, 225, 8,
|
|
7782
|
+
add_location(button0, file, 225, 8, 6682);
|
|
7783
7783
|
attr_dev(button1, "class", "RegisterButton");
|
|
7784
|
-
add_location(button1, file, 226, 8,
|
|
7784
|
+
add_location(button1, file, 226, 8, 6765);
|
|
7785
7785
|
},
|
|
7786
7786
|
m: function mount(target, anchor) {
|
|
7787
7787
|
insert_dev(target, button0, anchor);
|
|
@@ -7829,7 +7829,7 @@
|
|
|
7829
7829
|
button = element("button");
|
|
7830
7830
|
button.textContent = "Details";
|
|
7831
7831
|
attr_dev(button, "class", "DetailsButton");
|
|
7832
|
-
add_location(button, file, 230, 12,
|
|
7832
|
+
add_location(button, file, 230, 12, 6968);
|
|
7833
7833
|
},
|
|
7834
7834
|
m: function mount(target, anchor) {
|
|
7835
7835
|
insert_dev(target, button, anchor);
|
|
@@ -7879,7 +7879,7 @@
|
|
|
7879
7879
|
if_block.c();
|
|
7880
7880
|
attr_dev(button, "class", button_class_value = "JoinButton " + (/*fullsize*/ ctx[7] ? "JoinButtonFullSize" : ""));
|
|
7881
7881
|
button.disabled = /*errorJoin*/ ctx[11];
|
|
7882
|
-
add_location(button, file, 237, 12,
|
|
7882
|
+
add_location(button, file, 237, 12, 7267);
|
|
7883
7883
|
},
|
|
7884
7884
|
m: function mount(target, anchor) {
|
|
7885
7885
|
insert_dev(target, button, anchor);
|
|
@@ -7993,20 +7993,20 @@
|
|
|
7993
7993
|
t2 = text(".a{fill:#fff;}");
|
|
7994
7994
|
g = svg_element("g");
|
|
7995
7995
|
path = svg_element("path");
|
|
7996
|
-
add_location(span, file, 243, 16,
|
|
7997
|
-
add_location(style, file, 244, 105,
|
|
7998
|
-
add_location(defs, file, 244, 99,
|
|
7996
|
+
add_location(span, file, 243, 16, 7603);
|
|
7997
|
+
add_location(style, file, 244, 105, 7726);
|
|
7998
|
+
add_location(defs, file, 244, 99, 7720);
|
|
7999
7999
|
attr_dev(path, "class", "a");
|
|
8000
8000
|
attr_dev(path, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z");
|
|
8001
8001
|
attr_dev(path, "transform", "translate(26 26) rotate(180)");
|
|
8002
|
-
add_location(path, file, 244, 185,
|
|
8002
|
+
add_location(path, file, 244, 185, 7806);
|
|
8003
8003
|
attr_dev(g, "transform", "translate(26 26) rotate(180)");
|
|
8004
|
-
add_location(g, file, 244, 141,
|
|
8004
|
+
add_location(g, file, 244, 141, 7762);
|
|
8005
8005
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
8006
8006
|
attr_dev(svg, "width", "26");
|
|
8007
8007
|
attr_dev(svg, "height", "26");
|
|
8008
8008
|
attr_dev(svg, "viewBox", "0 0 26 26");
|
|
8009
|
-
add_location(svg, file, 244, 16,
|
|
8009
|
+
add_location(svg, file, 244, 16, 7637);
|
|
8010
8010
|
},
|
|
8011
8011
|
m: function mount(target, anchor) {
|
|
8012
8012
|
insert_dev(target, span, anchor);
|
|
@@ -8048,9 +8048,9 @@
|
|
|
8048
8048
|
attr_dev(circle, "cx", "20");
|
|
8049
8049
|
attr_dev(circle, "cy", "20");
|
|
8050
8050
|
attr_dev(circle, "r", "18");
|
|
8051
|
-
add_location(circle, file, 240, 18,
|
|
8051
|
+
add_location(circle, file, 240, 18, 7501);
|
|
8052
8052
|
attr_dev(svg, "class", "spinner");
|
|
8053
|
-
add_location(svg, file, 239, 16,
|
|
8053
|
+
add_location(svg, file, 239, 16, 7461);
|
|
8054
8054
|
},
|
|
8055
8055
|
m: function mount(target, anchor) {
|
|
8056
8056
|
insert_dev(target, svg, anchor);
|
|
@@ -8082,7 +8082,7 @@
|
|
|
8082
8082
|
button.textContent = "Enrolled";
|
|
8083
8083
|
attr_dev(button, "class", "EnrolledButton");
|
|
8084
8084
|
button.disabled = true;
|
|
8085
|
-
add_location(button, file, 234, 14,
|
|
8085
|
+
add_location(button, file, 234, 14, 7161);
|
|
8086
8086
|
},
|
|
8087
8087
|
m: function mount(target, anchor) {
|
|
8088
8088
|
insert_dev(target, button, anchor);
|
|
@@ -8115,7 +8115,7 @@
|
|
|
8115
8115
|
t0 = text("There was an error joining the tournament - ");
|
|
8116
8116
|
t1 = text(/*errorJoinText*/ ctx[12]);
|
|
8117
8117
|
attr_dev(span, "class", "ErrorText");
|
|
8118
|
-
add_location(span, file, 256, 6,
|
|
8118
|
+
add_location(span, file, 256, 6, 8245);
|
|
8119
8119
|
},
|
|
8120
8120
|
m: function mount(target, anchor) {
|
|
8121
8121
|
insert_dev(target, span, anchor);
|
|
@@ -8151,7 +8151,7 @@
|
|
|
8151
8151
|
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "tournamenturl", /*tournamenturl*/ ctx[2]);
|
|
8152
8152
|
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "scrollby", "2");
|
|
8153
8153
|
set_custom_element_data(casino_tournaments_thumbnail_games_slider, "pagfactor", "130");
|
|
8154
|
-
add_location(casino_tournaments_thumbnail_games_slider, file, 259, 6,
|
|
8154
|
+
add_location(casino_tournaments_thumbnail_games_slider, file, 259, 6, 8383);
|
|
8155
8155
|
},
|
|
8156
8156
|
m: function mount(target, anchor) {
|
|
8157
8157
|
insert_dev(target, casino_tournaments_thumbnail_games_slider, anchor);
|
|
@@ -8329,7 +8329,7 @@
|
|
|
8329
8329
|
let joinUrl = new URL(`${endpoint}/bonus/claim`);
|
|
8330
8330
|
let reqHeaders = new Headers();
|
|
8331
8331
|
let body = {};
|
|
8332
|
-
|
|
8332
|
+
joinUrl.searchParams.append("language", lang);
|
|
8333
8333
|
reqHeaders.append("platform", getDevice(userAgent));
|
|
8334
8334
|
reqHeaders.append("Content-Type", "application/json");
|
|
8335
8335
|
reqHeaders.append("X-SessionID", sessionID);
|
|
@@ -8397,7 +8397,7 @@
|
|
|
8397
8397
|
$$invalidate(9, isLoading = true);
|
|
8398
8398
|
let tournamentUrl = new URL(url);
|
|
8399
8399
|
let reqHeaders = new Headers();
|
|
8400
|
-
|
|
8400
|
+
tournamentUrl.searchParams.append("language", lang);
|
|
8401
8401
|
reqHeaders.append("platform", getDevice(userAgent));
|
|
8402
8402
|
|
|
8403
8403
|
if (isLoggedIn) {
|