@everymatrix/casino-game-page 0.0.95 → 0.0.96
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.
- package/dist/casino-game-page.js +118 -123
- package/dist/casino-game-page.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoGamePage.svelte +10 -13
package/dist/casino-game-page.js
CHANGED
@@ -10272,7 +10272,7 @@
|
|
10272
10272
|
const { Object: Object_1, console: console_1 } = globals;
|
10273
10273
|
const file = "src/CasinoGamePage.svelte";
|
10274
10274
|
|
10275
|
-
// (
|
10275
|
+
// (324:2) {:else}
|
10276
10276
|
function create_else_block(ctx) {
|
10277
10277
|
let div;
|
10278
10278
|
let if_block = /*detailsObtained*/ ctx[6] && create_if_block_2(ctx);
|
@@ -10282,7 +10282,7 @@
|
|
10282
10282
|
div = element("div");
|
10283
10283
|
if (if_block) if_block.c();
|
10284
10284
|
attr_dev(div, "class", "CasinoGamePageContainer");
|
10285
|
-
add_location(div, file,
|
10285
|
+
add_location(div, file, 324, 4, 11279);
|
10286
10286
|
},
|
10287
10287
|
m: function mount(target, anchor) {
|
10288
10288
|
insert_dev(target, div, anchor);
|
@@ -10314,14 +10314,14 @@
|
|
10314
10314
|
block,
|
10315
10315
|
id: create_else_block.name,
|
10316
10316
|
type: "else",
|
10317
|
-
source: "(
|
10317
|
+
source: "(324:2) {:else}",
|
10318
10318
|
ctx
|
10319
10319
|
});
|
10320
10320
|
|
10321
10321
|
return block;
|
10322
10322
|
}
|
10323
10323
|
|
10324
|
-
// (
|
10324
|
+
// (322:2) {#if hasErrors}
|
10325
10325
|
function create_if_block_1(ctx) {
|
10326
10326
|
let p;
|
10327
10327
|
|
@@ -10330,7 +10330,7 @@
|
|
10330
10330
|
p = element("p");
|
10331
10331
|
p.textContent = "500 Error - Internal Server Error.";
|
10332
10332
|
attr_dev(p, "class", "SearchLoading");
|
10333
|
-
add_location(p, file,
|
10333
|
+
add_location(p, file, 322, 4, 11201);
|
10334
10334
|
},
|
10335
10335
|
m: function mount(target, anchor) {
|
10336
10336
|
insert_dev(target, p, anchor);
|
@@ -10345,14 +10345,14 @@
|
|
10345
10345
|
block,
|
10346
10346
|
id: create_if_block_1.name,
|
10347
10347
|
type: "if",
|
10348
|
-
source: "(
|
10348
|
+
source: "(322:2) {#if hasErrors}",
|
10349
10349
|
ctx
|
10350
10350
|
});
|
10351
10351
|
|
10352
10352
|
return block;
|
10353
10353
|
}
|
10354
10354
|
|
10355
|
-
// (
|
10355
|
+
// (319:0) {#if isLoading}
|
10356
10356
|
function create_if_block(ctx) {
|
10357
10357
|
let p;
|
10358
10358
|
|
@@ -10361,7 +10361,7 @@
|
|
10361
10361
|
p = element("p");
|
10362
10362
|
p.textContent = "Loading, please wait ...";
|
10363
10363
|
attr_dev(p, "class", "SearchLoading");
|
10364
|
-
add_location(p, file,
|
10364
|
+
add_location(p, file, 319, 2, 11117);
|
10365
10365
|
},
|
10366
10366
|
m: function mount(target, anchor) {
|
10367
10367
|
insert_dev(target, p, anchor);
|
@@ -10376,14 +10376,14 @@
|
|
10376
10376
|
block,
|
10377
10377
|
id: create_if_block.name,
|
10378
10378
|
type: "if",
|
10379
|
-
source: "(
|
10379
|
+
source: "(319:0) {#if isLoading}",
|
10380
10380
|
ctx
|
10381
10381
|
});
|
10382
10382
|
|
10383
10383
|
return block;
|
10384
10384
|
}
|
10385
10385
|
|
10386
|
-
// (
|
10386
|
+
// (326:6) {#if detailsObtained}
|
10387
10387
|
function create_if_block_2(ctx) {
|
10388
10388
|
let if_block_anchor;
|
10389
10389
|
|
@@ -10429,14 +10429,14 @@
|
|
10429
10429
|
block,
|
10430
10430
|
id: create_if_block_2.name,
|
10431
10431
|
type: "if",
|
10432
|
-
source: "(
|
10432
|
+
source: "(326:6) {#if detailsObtained}",
|
10433
10433
|
ctx
|
10434
10434
|
});
|
10435
10435
|
|
10436
10436
|
return block;
|
10437
10437
|
}
|
10438
10438
|
|
10439
|
-
// (
|
10439
|
+
// (425:12) {:else}
|
10440
10440
|
function create_else_block_5(ctx) {
|
10441
10441
|
let div1;
|
10442
10442
|
let h3;
|
@@ -10477,21 +10477,21 @@
|
|
10477
10477
|
t6 = space();
|
10478
10478
|
p = element("p");
|
10479
10479
|
t7 = text(/*time*/ ctx[0]);
|
10480
|
-
add_location(h3, file,
|
10480
|
+
add_location(h3, file, 426, 16, 20227);
|
10481
10481
|
if (img.src !== (img_src_value = /*game*/ ctx[5].thumbnail)) attr_dev(img, "src", img_src_value);
|
10482
10482
|
attr_dev(img, "class", "GameThumbnail");
|
10483
10483
|
attr_dev(img, "alt", "game thumbnail");
|
10484
10484
|
attr_dev(img, "loading", "lazy");
|
10485
|
-
add_location(img, file,
|
10485
|
+
add_location(img, file, 427, 16, 20264);
|
10486
10486
|
attr_dev(button0, "class", "LoginButton");
|
10487
|
-
add_location(button0, file,
|
10487
|
+
add_location(button0, file, 429, 18, 20417);
|
10488
10488
|
attr_dev(button1, "class", "RegisterButton");
|
10489
|
-
add_location(button1, file,
|
10489
|
+
add_location(button1, file, 430, 18, 20529);
|
10490
10490
|
attr_dev(div0, "class", "ButtonsContainer");
|
10491
|
-
add_location(div0, file,
|
10492
|
-
add_location(p, file,
|
10491
|
+
add_location(div0, file, 428, 16, 20368);
|
10492
|
+
add_location(p, file, 432, 16, 20670);
|
10493
10493
|
attr_dev(div1, "class", "GameDetails");
|
10494
|
-
add_location(div1, file,
|
10494
|
+
add_location(div1, file, 425, 14, 20185);
|
10495
10495
|
},
|
10496
10496
|
m: function mount(target, anchor) {
|
10497
10497
|
insert_dev(target, div1, anchor);
|
@@ -10541,14 +10541,14 @@
|
|
10541
10541
|
block,
|
10542
10542
|
id: create_else_block_5.name,
|
10543
10543
|
type: "else",
|
10544
|
-
source: "(
|
10544
|
+
source: "(425:12) {:else}",
|
10545
10545
|
ctx
|
10546
10546
|
});
|
10547
10547
|
|
10548
10548
|
return block;
|
10549
10549
|
}
|
10550
10550
|
|
10551
|
-
// (
|
10551
|
+
// (403:12) {#if funMode}
|
10552
10552
|
function create_if_block_9(ctx) {
|
10553
10553
|
let div3;
|
10554
10554
|
let div2;
|
@@ -10603,18 +10603,18 @@
|
|
10603
10603
|
attr_dev(iframe_1, "class", "GamesContainer");
|
10604
10604
|
attr_dev(iframe_1, "aria-hidden", "false");
|
10605
10605
|
if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[5].launchUrl)) attr_dev(iframe_1, "src", iframe_1_src_value);
|
10606
|
-
add_location(iframe_1, file,
|
10606
|
+
add_location(iframe_1, file, 405, 18, 18267);
|
10607
10607
|
attr_dev(button0, "class", "LoginButton");
|
10608
|
-
add_location(button0, file,
|
10608
|
+
add_location(button0, file, 408, 22, 18490);
|
10609
10609
|
attr_dev(button1, "class", "RegisterButton");
|
10610
|
-
add_location(button1, file,
|
10610
|
+
add_location(button1, file, 409, 22, 18606);
|
10611
10611
|
attr_dev(div0, "class", "ButtonsContainer");
|
10612
|
-
add_location(div0, file,
|
10613
|
-
add_location(span, file,
|
10612
|
+
add_location(div0, file, 407, 20, 18437);
|
10613
|
+
add_location(span, file, 411, 36, 18771);
|
10614
10614
|
attr_dev(p, "class", "Time");
|
10615
|
-
add_location(p, file,
|
10615
|
+
add_location(p, file, 411, 20, 18755);
|
10616
10616
|
attr_dev(div1, "class", "BottomGame");
|
10617
|
-
add_location(div1, file,
|
10617
|
+
add_location(div1, file, 406, 18, 18392);
|
10618
10618
|
attr_dev(div2, "id", "IframeGame");
|
10619
10619
|
|
10620
10620
|
set_style(div2, "width", /*isFullscreen*/ ctx[11]
|
@@ -10633,12 +10633,12 @@
|
|
10633
10633
|
? "none"
|
10634
10634
|
: /*game*/ ctx[5].height + 100 + "px");
|
10635
10635
|
|
10636
|
-
add_location(div2, file,
|
10636
|
+
add_location(div2, file, 404, 16, 17953);
|
10637
10637
|
attr_dev(div3, "id", "IframeContainer");
|
10638
10638
|
set_style(div3, "width", /*modalFrameWidth*/ ctx[12]);
|
10639
10639
|
set_style(div3, "height", /*modalFrameHeight*/ ctx[13]);
|
10640
10640
|
toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[11]);
|
10641
|
-
add_location(div3, file,
|
10641
|
+
add_location(div3, file, 403, 14, 17779);
|
10642
10642
|
},
|
10643
10643
|
m: function mount(target, anchor) {
|
10644
10644
|
insert_dev(target, div3, anchor);
|
@@ -10743,14 +10743,14 @@
|
|
10743
10743
|
block,
|
10744
10744
|
id: create_if_block_9.name,
|
10745
10745
|
type: "if",
|
10746
|
-
source: "(
|
10746
|
+
source: "(403:12) {#if funMode}",
|
10747
10747
|
ctx
|
10748
10748
|
});
|
10749
10749
|
|
10750
10750
|
return block;
|
10751
10751
|
}
|
10752
10752
|
|
10753
|
-
// (
|
10753
|
+
// (383:10) {#if isLoggedIn}
|
10754
10754
|
function create_if_block_7(ctx) {
|
10755
10755
|
let div2;
|
10756
10756
|
let div1;
|
@@ -10797,14 +10797,14 @@
|
|
10797
10797
|
attr_dev(iframe_1, "class", "GamesContainer");
|
10798
10798
|
attr_dev(iframe_1, "aria-hidden", "false");
|
10799
10799
|
if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[5].launchUrl)) attr_dev(iframe_1, "src", iframe_1_src_value);
|
10800
|
-
add_location(iframe_1, file,
|
10800
|
+
add_location(iframe_1, file, 385, 16, 15972);
|
10801
10801
|
attr_dev(button, "class", "DepositButton");
|
10802
|
-
add_location(button, file,
|
10803
|
-
add_location(span, file,
|
10802
|
+
add_location(button, file, 387, 18, 16154);
|
10803
|
+
add_location(span, file, 388, 34, 16287);
|
10804
10804
|
attr_dev(p, "class", "Time");
|
10805
|
-
add_location(p, file,
|
10805
|
+
add_location(p, file, 388, 18, 16271);
|
10806
10806
|
attr_dev(div0, "class", "BottomGame");
|
10807
|
-
add_location(div0, file,
|
10807
|
+
add_location(div0, file, 386, 16, 16111);
|
10808
10808
|
attr_dev(div1, "id", "IframeGame");
|
10809
10809
|
|
10810
10810
|
set_style(div1, "width", /*isFullscreen*/ ctx[11]
|
@@ -10823,12 +10823,12 @@
|
|
10823
10823
|
? "none"
|
10824
10824
|
: /*game*/ ctx[5].height + 100 + "px");
|
10825
10825
|
|
10826
|
-
add_location(div1, file,
|
10826
|
+
add_location(div1, file, 384, 12, 15660);
|
10827
10827
|
attr_dev(div2, "id", "IframeContainer");
|
10828
10828
|
set_style(div2, "width", /*modalFrameWidth*/ ctx[12]);
|
10829
10829
|
set_style(div2, "height", /*modalFrameHeight*/ ctx[13]);
|
10830
10830
|
toggle_class(div2, "FullsScreenLayout", /*isFullscreen*/ ctx[11]);
|
10831
|
-
add_location(div2, file,
|
10831
|
+
add_location(div2, file, 383, 12, 15490);
|
10832
10832
|
},
|
10833
10833
|
m: function mount(target, anchor) {
|
10834
10834
|
insert_dev(target, div2, anchor);
|
@@ -10924,14 +10924,14 @@
|
|
10924
10924
|
block,
|
10925
10925
|
id: create_if_block_7.name,
|
10926
10926
|
type: "if",
|
10927
|
-
source: "(
|
10927
|
+
source: "(383:10) {#if isLoggedIn}",
|
10928
10928
|
ctx
|
10929
10929
|
});
|
10930
10930
|
|
10931
10931
|
return block;
|
10932
10932
|
}
|
10933
10933
|
|
10934
|
-
// (
|
10934
|
+
// (327:8) {#if mobileView}
|
10935
10935
|
function create_if_block_3(ctx) {
|
10936
10936
|
let if_block_anchor;
|
10937
10937
|
|
@@ -10976,14 +10976,14 @@
|
|
10976
10976
|
block,
|
10977
10977
|
id: create_if_block_3.name,
|
10978
10978
|
type: "if",
|
10979
|
-
source: "(
|
10979
|
+
source: "(327:8) {#if mobileView}",
|
10980
10980
|
ctx
|
10981
10981
|
});
|
10982
10982
|
|
10983
10983
|
return block;
|
10984
10984
|
}
|
10985
10985
|
|
10986
|
-
// (
|
10986
|
+
// (417:20) {:else}
|
10987
10987
|
function create_else_block_4(ctx) {
|
10988
10988
|
let button;
|
10989
10989
|
let svg;
|
@@ -10997,14 +10997,14 @@
|
|
10997
10997
|
svg = svg_element("svg");
|
10998
10998
|
path = svg_element("path");
|
10999
10999
|
attr_dev(path, "d", "M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z");
|
11000
|
-
add_location(path, file,
|
11000
|
+
add_location(path, file, 418, 107, 19696);
|
11001
11001
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
11002
11002
|
attr_dev(svg, "width", "24");
|
11003
11003
|
attr_dev(svg, "height", "24");
|
11004
11004
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
11005
|
-
add_location(svg, file,
|
11005
|
+
add_location(svg, file, 418, 24, 19613);
|
11006
11006
|
attr_dev(button, "class", "FullscreenButton");
|
11007
|
-
add_location(button, file,
|
11007
|
+
add_location(button, file, 417, 22, 19517);
|
11008
11008
|
},
|
11009
11009
|
m: function mount(target, anchor) {
|
11010
11010
|
insert_dev(target, button, anchor);
|
@@ -11028,14 +11028,14 @@
|
|
11028
11028
|
block,
|
11029
11029
|
id: create_else_block_4.name,
|
11030
11030
|
type: "else",
|
11031
|
-
source: "(
|
11031
|
+
source: "(417:20) {:else}",
|
11032
11032
|
ctx
|
11033
11033
|
});
|
11034
11034
|
|
11035
11035
|
return block;
|
11036
11036
|
}
|
11037
11037
|
|
11038
|
-
// (
|
11038
|
+
// (413:20) {#if isFullscreen}
|
11039
11039
|
function create_if_block_10(ctx) {
|
11040
11040
|
let button;
|
11041
11041
|
let svg;
|
@@ -11056,22 +11056,22 @@
|
|
11056
11056
|
polygon3 = svg_element("polygon");
|
11057
11057
|
set_style(polygon0, "fill", "#fff");
|
11058
11058
|
attr_dev(polygon0, "points", "24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t");
|
11059
|
-
add_location(polygon0, file,
|
11059
|
+
add_location(polygon0, file, 414, 72, 19000);
|
11060
11060
|
set_style(polygon1, "fill", "#fff");
|
11061
11061
|
attr_dev(polygon1, "points", "0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t");
|
11062
|
-
add_location(polygon1, file,
|
11062
|
+
add_location(polygon1, file, 414, 180, 19108);
|
11063
11063
|
set_style(polygon2, "fill", "#fff");
|
11064
11064
|
attr_dev(polygon2, "points", "0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t");
|
11065
|
-
add_location(polygon2, file,
|
11065
|
+
add_location(polygon2, file, 414, 286, 19214);
|
11066
11066
|
set_style(polygon3, "fill", "#fff");
|
11067
11067
|
attr_dev(polygon3, "points", "20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t");
|
11068
|
-
add_location(polygon3, file,
|
11068
|
+
add_location(polygon3, file, 414, 389, 19317);
|
11069
11069
|
attr_dev(svg, "width", "24");
|
11070
11070
|
attr_dev(svg, "height", "24");
|
11071
11071
|
attr_dev(svg, "viewBox", "0 0 31 31");
|
11072
|
-
add_location(svg, file,
|
11072
|
+
add_location(svg, file, 414, 24, 18952);
|
11073
11073
|
attr_dev(button, "class", "FullscreenButton");
|
11074
|
-
add_location(button, file,
|
11074
|
+
add_location(button, file, 413, 22, 18856);
|
11075
11075
|
},
|
11076
11076
|
m: function mount(target, anchor) {
|
11077
11077
|
insert_dev(target, button, anchor);
|
@@ -11098,14 +11098,14 @@
|
|
11098
11098
|
block,
|
11099
11099
|
id: create_if_block_10.name,
|
11100
11100
|
type: "if",
|
11101
|
-
source: "(
|
11101
|
+
source: "(413:20) {#if isFullscreen}",
|
11102
11102
|
ctx
|
11103
11103
|
});
|
11104
11104
|
|
11105
11105
|
return block;
|
11106
11106
|
}
|
11107
11107
|
|
11108
|
-
// (
|
11108
|
+
// (394:18) {:else}
|
11109
11109
|
function create_else_block_3(ctx) {
|
11110
11110
|
let button;
|
11111
11111
|
let svg;
|
@@ -11119,14 +11119,14 @@
|
|
11119
11119
|
svg = svg_element("svg");
|
11120
11120
|
path = svg_element("path");
|
11121
11121
|
attr_dev(path, "d", "M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z");
|
11122
|
-
add_location(path, file,
|
11122
|
+
add_location(path, file, 395, 105, 17276);
|
11123
11123
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
11124
11124
|
attr_dev(svg, "width", "24");
|
11125
11125
|
attr_dev(svg, "height", "24");
|
11126
11126
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
11127
|
-
add_location(svg, file,
|
11127
|
+
add_location(svg, file, 395, 22, 17193);
|
11128
11128
|
attr_dev(button, "class", "FullscreenButton");
|
11129
|
-
add_location(button, file,
|
11129
|
+
add_location(button, file, 394, 20, 17099);
|
11130
11130
|
},
|
11131
11131
|
m: function mount(target, anchor) {
|
11132
11132
|
insert_dev(target, button, anchor);
|
@@ -11150,14 +11150,14 @@
|
|
11150
11150
|
block,
|
11151
11151
|
id: create_else_block_3.name,
|
11152
11152
|
type: "else",
|
11153
|
-
source: "(
|
11153
|
+
source: "(394:18) {:else}",
|
11154
11154
|
ctx
|
11155
11155
|
});
|
11156
11156
|
|
11157
11157
|
return block;
|
11158
11158
|
}
|
11159
11159
|
|
11160
|
-
// (
|
11160
|
+
// (390:18) {#if isFullscreen}
|
11161
11161
|
function create_if_block_8(ctx) {
|
11162
11162
|
let button;
|
11163
11163
|
let svg;
|
@@ -11178,24 +11178,24 @@
|
|
11178
11178
|
polygon3 = svg_element("polygon");
|
11179
11179
|
set_style(polygon0, "fill", "#fff");
|
11180
11180
|
attr_dev(polygon0, "points", "24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t");
|
11181
|
-
add_location(polygon0, file,
|
11181
|
+
add_location(polygon0, file, 391, 148, 16588);
|
11182
11182
|
set_style(polygon1, "fill", "#fff");
|
11183
11183
|
attr_dev(polygon1, "points", "0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t");
|
11184
|
-
add_location(polygon1, file,
|
11184
|
+
add_location(polygon1, file, 391, 256, 16696);
|
11185
11185
|
set_style(polygon2, "fill", "#fff");
|
11186
11186
|
attr_dev(polygon2, "points", "0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t");
|
11187
|
-
add_location(polygon2, file,
|
11187
|
+
add_location(polygon2, file, 391, 362, 16802);
|
11188
11188
|
set_style(polygon3, "fill", "#fff");
|
11189
11189
|
attr_dev(polygon3, "points", "20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t");
|
11190
|
-
add_location(polygon3, file,
|
11190
|
+
add_location(polygon3, file, 391, 465, 16905);
|
11191
11191
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
11192
11192
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
11193
11193
|
attr_dev(svg, "width", "24");
|
11194
11194
|
attr_dev(svg, "height", "24");
|
11195
11195
|
attr_dev(svg, "viewBox", "0 0 31 31");
|
11196
|
-
add_location(svg, file,
|
11196
|
+
add_location(svg, file, 391, 22, 16462);
|
11197
11197
|
attr_dev(button, "class", "FullscreenButton");
|
11198
|
-
add_location(button, file,
|
11198
|
+
add_location(button, file, 390, 20, 16368);
|
11199
11199
|
},
|
11200
11200
|
m: function mount(target, anchor) {
|
11201
11201
|
insert_dev(target, button, anchor);
|
@@ -11222,14 +11222,14 @@
|
|
11222
11222
|
block,
|
11223
11223
|
id: create_if_block_8.name,
|
11224
11224
|
type: "if",
|
11225
|
-
source: "(
|
11225
|
+
source: "(390:18) {#if isFullscreen}",
|
11226
11226
|
ctx
|
11227
11227
|
});
|
11228
11228
|
|
11229
11229
|
return block;
|
11230
11230
|
}
|
11231
11231
|
|
11232
|
-
// (
|
11232
|
+
// (371:10) {:else}
|
11233
11233
|
function create_else_block_2(ctx) {
|
11234
11234
|
let div1;
|
11235
11235
|
let h3;
|
@@ -11270,21 +11270,21 @@
|
|
11270
11270
|
t6 = space();
|
11271
11271
|
p = element("p");
|
11272
11272
|
t7 = text(/*time*/ ctx[0]);
|
11273
|
-
add_location(h3, file,
|
11273
|
+
add_location(h3, file, 372, 14, 14955);
|
11274
11274
|
if (img.src !== (img_src_value = /*game*/ ctx[5].thumbnail)) attr_dev(img, "src", img_src_value);
|
11275
11275
|
attr_dev(img, "class", "GameThumbnail");
|
11276
11276
|
attr_dev(img, "alt", "game thumbnail");
|
11277
11277
|
attr_dev(img, "loading", "lazy");
|
11278
|
-
add_location(img, file,
|
11278
|
+
add_location(img, file, 373, 14, 14990);
|
11279
11279
|
attr_dev(button0, "class", "LoginButton");
|
11280
|
-
add_location(button0, file,
|
11280
|
+
add_location(button0, file, 375, 16, 15139);
|
11281
11281
|
attr_dev(button1, "class", "RegisterButton");
|
11282
|
-
add_location(button1, file,
|
11282
|
+
add_location(button1, file, 376, 16, 15249);
|
11283
11283
|
attr_dev(div0, "class", "ButtonsContainer");
|
11284
|
-
add_location(div0, file,
|
11285
|
-
add_location(p, file,
|
11284
|
+
add_location(div0, file, 374, 14, 15092);
|
11285
|
+
add_location(p, file, 378, 14, 15386);
|
11286
11286
|
attr_dev(div1, "class", "GameDetails");
|
11287
|
-
add_location(div1, file,
|
11287
|
+
add_location(div1, file, 371, 12, 14915);
|
11288
11288
|
},
|
11289
11289
|
m: function mount(target, anchor) {
|
11290
11290
|
insert_dev(target, div1, anchor);
|
@@ -11334,14 +11334,14 @@
|
|
11334
11334
|
block,
|
11335
11335
|
id: create_else_block_2.name,
|
11336
11336
|
type: "else",
|
11337
|
-
source: "(
|
11337
|
+
source: "(371:10) {:else}",
|
11338
11338
|
ctx
|
11339
11339
|
});
|
11340
11340
|
|
11341
11341
|
return block;
|
11342
11342
|
}
|
11343
11343
|
|
11344
|
-
// (
|
11344
|
+
// (359:37)
|
11345
11345
|
function create_if_block_6(ctx) {
|
11346
11346
|
let div1;
|
11347
11347
|
let h3;
|
@@ -11389,23 +11389,23 @@
|
|
11389
11389
|
t8 = space();
|
11390
11390
|
p = element("p");
|
11391
11391
|
t9 = text(/*time*/ ctx[0]);
|
11392
|
-
add_location(h3, file,
|
11392
|
+
add_location(h3, file, 360, 14, 14295);
|
11393
11393
|
if (img.src !== (img_src_value = /*game*/ ctx[5].thumbnail)) attr_dev(img, "src", img_src_value);
|
11394
11394
|
attr_dev(img, "class", "GameThumbnail");
|
11395
11395
|
attr_dev(img, "alt", "game thumbnail");
|
11396
11396
|
attr_dev(img, "loading", "lazy");
|
11397
|
-
add_location(img, file,
|
11397
|
+
add_location(img, file, 361, 14, 14330);
|
11398
11398
|
attr_dev(button0, "class", "LoginButton");
|
11399
|
-
add_location(button0, file,
|
11399
|
+
add_location(button0, file, 363, 16, 14479);
|
11400
11400
|
attr_dev(button1, "class", "RegisterButton");
|
11401
|
-
add_location(button1, file,
|
11401
|
+
add_location(button1, file, 364, 16, 14589);
|
11402
11402
|
attr_dev(div0, "class", "ButtonsContainer");
|
11403
|
-
add_location(div0, file,
|
11403
|
+
add_location(div0, file, 362, 14, 14432);
|
11404
11404
|
attr_dev(button2, "class", "FullWidthButton");
|
11405
|
-
add_location(button2, file,
|
11406
|
-
add_location(p, file,
|
11405
|
+
add_location(button2, file, 366, 14, 14726);
|
11406
|
+
add_location(p, file, 367, 14, 14851);
|
11407
11407
|
attr_dev(div1, "class", "GameDetails");
|
11408
|
-
add_location(div1, file,
|
11408
|
+
add_location(div1, file, 359, 12, 14255);
|
11409
11409
|
},
|
11410
11410
|
m: function mount(target, anchor) {
|
11411
11411
|
insert_dev(target, div1, anchor);
|
@@ -11460,14 +11460,14 @@
|
|
11460
11460
|
block,
|
11461
11461
|
id: create_if_block_6.name,
|
11462
11462
|
type: "if",
|
11463
|
-
source: "(
|
11463
|
+
source: "(359:37) ",
|
11464
11464
|
ctx
|
11465
11465
|
});
|
11466
11466
|
|
11467
11467
|
return block;
|
11468
11468
|
}
|
11469
11469
|
|
11470
|
-
// (
|
11470
|
+
// (328:10) {#if isLoggedIn}
|
11471
11471
|
function create_if_block_4(ctx) {
|
11472
11472
|
let t0;
|
11473
11473
|
let div1;
|
@@ -11519,21 +11519,21 @@
|
|
11519
11519
|
t7 = space();
|
11520
11520
|
p = element("p");
|
11521
11521
|
t8 = text(/*time*/ ctx[0]);
|
11522
|
-
add_location(h3, file,
|
11522
|
+
add_location(h3, file, 349, 14, 13731);
|
11523
11523
|
if (img.src !== (img_src_value = /*game*/ ctx[5].thumbnail)) attr_dev(img, "src", img_src_value);
|
11524
11524
|
attr_dev(img, "class", "GameThumbnail");
|
11525
11525
|
attr_dev(img, "alt", "game thumbnail");
|
11526
11526
|
attr_dev(img, "loading", "lazy");
|
11527
|
-
add_location(img, file,
|
11527
|
+
add_location(img, file, 350, 14, 13766);
|
11528
11528
|
attr_dev(button0, "class", "DepositButton");
|
11529
|
-
add_location(button0, file,
|
11529
|
+
add_location(button0, file, 352, 16, 13915);
|
11530
11530
|
attr_dev(button1, "class", "PlayNowButton");
|
11531
|
-
add_location(button1, file,
|
11531
|
+
add_location(button1, file, 353, 16, 14030);
|
11532
11532
|
attr_dev(div0, "class", "ButtonsContainer");
|
11533
|
-
add_location(div0, file,
|
11534
|
-
add_location(p, file,
|
11533
|
+
add_location(div0, file, 351, 14, 13868);
|
11534
|
+
add_location(p, file, 355, 14, 14171);
|
11535
11535
|
attr_dev(div1, "class", "GameDetails");
|
11536
|
-
add_location(div1, file,
|
11536
|
+
add_location(div1, file, 348, 12, 13691);
|
11537
11537
|
},
|
11538
11538
|
m: function mount(target, anchor) {
|
11539
11539
|
if_block.m(target, anchor);
|
@@ -11599,14 +11599,14 @@
|
|
11599
11599
|
block,
|
11600
11600
|
id: create_if_block_4.name,
|
11601
11601
|
type: "if",
|
11602
|
-
source: "(
|
11602
|
+
source: "(328:10) {#if isLoggedIn}",
|
11603
11603
|
ctx
|
11604
11604
|
});
|
11605
11605
|
|
11606
11606
|
return block;
|
11607
11607
|
}
|
11608
11608
|
|
11609
|
-
// (
|
11609
|
+
// (335:12) {:else}
|
11610
11610
|
function create_else_block_1(ctx) {
|
11611
11611
|
let div;
|
11612
11612
|
let svg;
|
@@ -11621,7 +11621,7 @@
|
|
11621
11621
|
path = svg_element("path");
|
11622
11622
|
set_style(path, "fill", "white");
|
11623
11623
|
attr_dev(path, "d", "M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z");
|
11624
|
-
add_location(path, file,
|
11624
|
+
add_location(path, file, 337, 114, 12541);
|
11625
11625
|
attr_dev(svg, "version", "1.1");
|
11626
11626
|
attr_dev(svg, "class", "UnfavoredIcon");
|
11627
11627
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
@@ -11631,9 +11631,9 @@
|
|
11631
11631
|
attr_dev(svg, "viewBox", "0 0 512.001 512.001");
|
11632
11632
|
set_style(svg, "enable-background", "new 0 0 512.001 512.001");
|
11633
11633
|
attr_dev(svg, "xml:space", "preserve");
|
11634
|
-
add_location(svg, file,
|
11634
|
+
add_location(svg, file, 336, 16, 12290);
|
11635
11635
|
attr_dev(div, "class", "FavIconContainer");
|
11636
|
-
add_location(div, file,
|
11636
|
+
add_location(div, file, 335, 14, 12196);
|
11637
11637
|
},
|
11638
11638
|
m: function mount(target, anchor) {
|
11639
11639
|
insert_dev(target, div, anchor);
|
@@ -11657,14 +11657,14 @@
|
|
11657
11657
|
block,
|
11658
11658
|
id: create_else_block_1.name,
|
11659
11659
|
type: "else",
|
11660
|
-
source: "(
|
11660
|
+
source: "(335:12) {:else}",
|
11661
11661
|
ctx
|
11662
11662
|
});
|
11663
11663
|
|
11664
11664
|
return block;
|
11665
11665
|
}
|
11666
11666
|
|
11667
|
-
// (
|
11667
|
+
// (329:12) {#if game.isFavored}
|
11668
11668
|
function create_if_block_5(ctx) {
|
11669
11669
|
let div;
|
11670
11670
|
let svg;
|
@@ -11679,16 +11679,16 @@
|
|
11679
11679
|
path = svg_element("path");
|
11680
11680
|
set_style(path, "fill", "white");
|
11681
11681
|
attr_dev(path, "d", "m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z");
|
11682
|
-
add_location(path, file,
|
11682
|
+
add_location(path, file, 331, 18, 11779);
|
11683
11683
|
attr_dev(svg, "version", "1.1");
|
11684
11684
|
attr_dev(svg, "class", "FavoredIcon");
|
11685
11685
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
11686
11686
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
11687
11687
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
11688
11688
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
11689
|
-
add_location(svg, file,
|
11689
|
+
add_location(svg, file, 330, 16, 11573);
|
11690
11690
|
attr_dev(div, "class", "FavIconContainer");
|
11691
|
-
add_location(div, file,
|
11691
|
+
add_location(div, file, 329, 14, 11479);
|
11692
11692
|
},
|
11693
11693
|
m: function mount(target, anchor) {
|
11694
11694
|
insert_dev(target, div, anchor);
|
@@ -11712,7 +11712,7 @@
|
|
11712
11712
|
block,
|
11713
11713
|
id: create_if_block_5.name,
|
11714
11714
|
type: "if",
|
11715
|
-
source: "(
|
11715
|
+
source: "(329:12) {#if game.isFavored}",
|
11716
11716
|
ctx
|
11717
11717
|
});
|
11718
11718
|
|
@@ -11826,6 +11826,7 @@
|
|
11826
11826
|
|
11827
11827
|
const formatGameLaunchUrl = game => {
|
11828
11828
|
let url = new URL(game.launchUrl);
|
11829
|
+
url.searchParams.append("language", lang);
|
11829
11830
|
|
11830
11831
|
// Maybe we should check if the session is valid, somehow?
|
11831
11832
|
if (sessionID && sessionID.length > 0) {
|
@@ -12099,23 +12100,17 @@
|
|
12099
12100
|
};
|
12100
12101
|
|
12101
12102
|
const setSession = () => {
|
12102
|
-
|
12103
|
-
|
12104
|
-
|
12105
|
-
|
12106
|
-
|
12107
|
-
|
12108
|
-
|
12109
|
-
|
12110
|
-
|
12111
|
-
|
12112
|
-
|
12113
|
-
err => {
|
12114
|
-
$$invalidate(2, isLoggedIn = false);
|
12115
|
-
console.error("err on session", err);
|
12116
|
-
}
|
12117
|
-
);
|
12118
|
-
}
|
12103
|
+
checkSession(endpoint, session).then(
|
12104
|
+
res => {
|
12105
|
+
sessionID = res.Guid;
|
12106
|
+
playerID = res.UserID;
|
12107
|
+
$$invalidate(2, isLoggedIn = true);
|
12108
|
+
},
|
12109
|
+
err => {
|
12110
|
+
$$invalidate(2, isLoggedIn = false);
|
12111
|
+
console.error("err on session", err);
|
12112
|
+
}
|
12113
|
+
);
|
12119
12114
|
};
|
12120
12115
|
|
12121
12116
|
const setClientStyling = () => {
|