@everymatrix/casino-game-page 0.0.92 → 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 +185 -136
- package/dist/casino-game-page.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoGamePage.svelte +10 -13
- package/src/translations.js +67 -13
package/dist/casino-game-page.js
CHANGED
@@ -4477,29 +4477,29 @@
|
|
4477
4477
|
const GamePageTranslations = {
|
4478
4478
|
en: {
|
4479
4479
|
gamePage: {
|
4480
|
-
signIn: '
|
4480
|
+
signIn: 'Log in',
|
4481
4481
|
register: 'REGISTER',
|
4482
|
-
deposit: '
|
4483
|
-
playForFun: '
|
4484
|
-
playNow: '
|
4482
|
+
deposit: 'Deposit',
|
4483
|
+
playForFun: 'Play for fun',
|
4484
|
+
playNow: 'Start now!'
|
4485
4485
|
}
|
4486
4486
|
},
|
4487
4487
|
de: {
|
4488
4488
|
gamePage: {
|
4489
|
-
signIn: '
|
4489
|
+
signIn: 'Einloggen',
|
4490
4490
|
register: 'REGISTRIEREN',
|
4491
|
-
deposit: '
|
4492
|
-
playForFun: '
|
4493
|
-
playNow: '
|
4491
|
+
deposit: 'Einzahlung',
|
4492
|
+
playForFun: 'Play for fun',
|
4493
|
+
playNow: 'Jetzt starten!'
|
4494
4494
|
}
|
4495
4495
|
},
|
4496
4496
|
it: {
|
4497
4497
|
gamePage: {
|
4498
|
-
signIn: '
|
4499
|
-
register: '
|
4500
|
-
deposit: '
|
4501
|
-
playForFun: '
|
4502
|
-
playNow: '
|
4498
|
+
signIn: 'Login',
|
4499
|
+
register: 'REGISTRATI',
|
4500
|
+
deposit: 'Deposito',
|
4501
|
+
playForFun: 'Play for fun',
|
4502
|
+
playNow: 'Inizia ora!'
|
4503
4503
|
}
|
4504
4504
|
},
|
4505
4505
|
fr: {
|
@@ -4546,6 +4546,60 @@
|
|
4546
4546
|
playForFun: 'JOACĂ PENTRU DISTRACTIE',
|
4547
4547
|
playNow: 'JOACĂ ACUM'
|
4548
4548
|
}
|
4549
|
+
},
|
4550
|
+
hr: {
|
4551
|
+
gamePage: {
|
4552
|
+
signIn: 'Prijavite se',
|
4553
|
+
register: 'REGISTRACIJA',
|
4554
|
+
deposit: 'Uplata',
|
4555
|
+
playForFun: 'Igraj za zabavu',
|
4556
|
+
playNow: 'Započnite sada!'
|
4557
|
+
}
|
4558
|
+
},
|
4559
|
+
hu: {
|
4560
|
+
gamePage: {
|
4561
|
+
signIn: 'Bejelentkezés',
|
4562
|
+
register: 'REGISZTRÁCIÓ',
|
4563
|
+
deposit: 'Befizetés',
|
4564
|
+
playForFun: 'Play for fun',
|
4565
|
+
playNow: 'Játsszon most!'
|
4566
|
+
}
|
4567
|
+
},
|
4568
|
+
pl: {
|
4569
|
+
gamePage: {
|
4570
|
+
signIn: 'Zaloguj się',
|
4571
|
+
register: 'REJESTRACJA',
|
4572
|
+
deposit: 'Wpłata',
|
4573
|
+
playForFun: 'Graj dla zabawy',
|
4574
|
+
playNow: 'Rozpocznij teraz!'
|
4575
|
+
}
|
4576
|
+
},
|
4577
|
+
pt: {
|
4578
|
+
gamePage: {
|
4579
|
+
signIn: 'Login',
|
4580
|
+
register: 'REGISTAR',
|
4581
|
+
deposit: 'Depósito',
|
4582
|
+
playForFun: 'Play for fun',
|
4583
|
+
playNow: 'Comece agora!'
|
4584
|
+
}
|
4585
|
+
},
|
4586
|
+
sl: {
|
4587
|
+
gamePage: {
|
4588
|
+
signIn: 'Prijavite se',
|
4589
|
+
register: 'REGISTRACIJA',
|
4590
|
+
deposit: 'Vplačilo',
|
4591
|
+
playForFun: 'Igrajte za zabavo',
|
4592
|
+
playNow: 'Začnite zdaj!'
|
4593
|
+
}
|
4594
|
+
},
|
4595
|
+
sr: {
|
4596
|
+
gamePage: {
|
4597
|
+
signIn: 'Prijavi se',
|
4598
|
+
register: 'REGISTRACIJA',
|
4599
|
+
deposit: 'Uplata',
|
4600
|
+
playForFun: 'Igraj za zabavu',
|
4601
|
+
playNow: 'Započnite sada!'
|
4602
|
+
}
|
4549
4603
|
}
|
4550
4604
|
};
|
4551
4605
|
|
@@ -10218,7 +10272,7 @@
|
|
10218
10272
|
const { Object: Object_1, console: console_1 } = globals;
|
10219
10273
|
const file = "src/CasinoGamePage.svelte";
|
10220
10274
|
|
10221
|
-
// (
|
10275
|
+
// (324:2) {:else}
|
10222
10276
|
function create_else_block(ctx) {
|
10223
10277
|
let div;
|
10224
10278
|
let if_block = /*detailsObtained*/ ctx[6] && create_if_block_2(ctx);
|
@@ -10228,7 +10282,7 @@
|
|
10228
10282
|
div = element("div");
|
10229
10283
|
if (if_block) if_block.c();
|
10230
10284
|
attr_dev(div, "class", "CasinoGamePageContainer");
|
10231
|
-
add_location(div, file,
|
10285
|
+
add_location(div, file, 324, 4, 11279);
|
10232
10286
|
},
|
10233
10287
|
m: function mount(target, anchor) {
|
10234
10288
|
insert_dev(target, div, anchor);
|
@@ -10260,14 +10314,14 @@
|
|
10260
10314
|
block,
|
10261
10315
|
id: create_else_block.name,
|
10262
10316
|
type: "else",
|
10263
|
-
source: "(
|
10317
|
+
source: "(324:2) {:else}",
|
10264
10318
|
ctx
|
10265
10319
|
});
|
10266
10320
|
|
10267
10321
|
return block;
|
10268
10322
|
}
|
10269
10323
|
|
10270
|
-
// (
|
10324
|
+
// (322:2) {#if hasErrors}
|
10271
10325
|
function create_if_block_1(ctx) {
|
10272
10326
|
let p;
|
10273
10327
|
|
@@ -10276,7 +10330,7 @@
|
|
10276
10330
|
p = element("p");
|
10277
10331
|
p.textContent = "500 Error - Internal Server Error.";
|
10278
10332
|
attr_dev(p, "class", "SearchLoading");
|
10279
|
-
add_location(p, file,
|
10333
|
+
add_location(p, file, 322, 4, 11201);
|
10280
10334
|
},
|
10281
10335
|
m: function mount(target, anchor) {
|
10282
10336
|
insert_dev(target, p, anchor);
|
@@ -10291,14 +10345,14 @@
|
|
10291
10345
|
block,
|
10292
10346
|
id: create_if_block_1.name,
|
10293
10347
|
type: "if",
|
10294
|
-
source: "(
|
10348
|
+
source: "(322:2) {#if hasErrors}",
|
10295
10349
|
ctx
|
10296
10350
|
});
|
10297
10351
|
|
10298
10352
|
return block;
|
10299
10353
|
}
|
10300
10354
|
|
10301
|
-
// (
|
10355
|
+
// (319:0) {#if isLoading}
|
10302
10356
|
function create_if_block(ctx) {
|
10303
10357
|
let p;
|
10304
10358
|
|
@@ -10307,7 +10361,7 @@
|
|
10307
10361
|
p = element("p");
|
10308
10362
|
p.textContent = "Loading, please wait ...";
|
10309
10363
|
attr_dev(p, "class", "SearchLoading");
|
10310
|
-
add_location(p, file,
|
10364
|
+
add_location(p, file, 319, 2, 11117);
|
10311
10365
|
},
|
10312
10366
|
m: function mount(target, anchor) {
|
10313
10367
|
insert_dev(target, p, anchor);
|
@@ -10322,14 +10376,14 @@
|
|
10322
10376
|
block,
|
10323
10377
|
id: create_if_block.name,
|
10324
10378
|
type: "if",
|
10325
|
-
source: "(
|
10379
|
+
source: "(319:0) {#if isLoading}",
|
10326
10380
|
ctx
|
10327
10381
|
});
|
10328
10382
|
|
10329
10383
|
return block;
|
10330
10384
|
}
|
10331
10385
|
|
10332
|
-
// (
|
10386
|
+
// (326:6) {#if detailsObtained}
|
10333
10387
|
function create_if_block_2(ctx) {
|
10334
10388
|
let if_block_anchor;
|
10335
10389
|
|
@@ -10375,14 +10429,14 @@
|
|
10375
10429
|
block,
|
10376
10430
|
id: create_if_block_2.name,
|
10377
10431
|
type: "if",
|
10378
|
-
source: "(
|
10432
|
+
source: "(326:6) {#if detailsObtained}",
|
10379
10433
|
ctx
|
10380
10434
|
});
|
10381
10435
|
|
10382
10436
|
return block;
|
10383
10437
|
}
|
10384
10438
|
|
10385
|
-
// (
|
10439
|
+
// (425:12) {:else}
|
10386
10440
|
function create_else_block_5(ctx) {
|
10387
10441
|
let div1;
|
10388
10442
|
let h3;
|
@@ -10423,21 +10477,21 @@
|
|
10423
10477
|
t6 = space();
|
10424
10478
|
p = element("p");
|
10425
10479
|
t7 = text(/*time*/ ctx[0]);
|
10426
|
-
add_location(h3, file,
|
10480
|
+
add_location(h3, file, 426, 16, 20227);
|
10427
10481
|
if (img.src !== (img_src_value = /*game*/ ctx[5].thumbnail)) attr_dev(img, "src", img_src_value);
|
10428
10482
|
attr_dev(img, "class", "GameThumbnail");
|
10429
10483
|
attr_dev(img, "alt", "game thumbnail");
|
10430
10484
|
attr_dev(img, "loading", "lazy");
|
10431
|
-
add_location(img, file,
|
10485
|
+
add_location(img, file, 427, 16, 20264);
|
10432
10486
|
attr_dev(button0, "class", "LoginButton");
|
10433
|
-
add_location(button0, file,
|
10487
|
+
add_location(button0, file, 429, 18, 20417);
|
10434
10488
|
attr_dev(button1, "class", "RegisterButton");
|
10435
|
-
add_location(button1, file,
|
10489
|
+
add_location(button1, file, 430, 18, 20529);
|
10436
10490
|
attr_dev(div0, "class", "ButtonsContainer");
|
10437
|
-
add_location(div0, file,
|
10438
|
-
add_location(p, file,
|
10491
|
+
add_location(div0, file, 428, 16, 20368);
|
10492
|
+
add_location(p, file, 432, 16, 20670);
|
10439
10493
|
attr_dev(div1, "class", "GameDetails");
|
10440
|
-
add_location(div1, file,
|
10494
|
+
add_location(div1, file, 425, 14, 20185);
|
10441
10495
|
},
|
10442
10496
|
m: function mount(target, anchor) {
|
10443
10497
|
insert_dev(target, div1, anchor);
|
@@ -10487,14 +10541,14 @@
|
|
10487
10541
|
block,
|
10488
10542
|
id: create_else_block_5.name,
|
10489
10543
|
type: "else",
|
10490
|
-
source: "(
|
10544
|
+
source: "(425:12) {:else}",
|
10491
10545
|
ctx
|
10492
10546
|
});
|
10493
10547
|
|
10494
10548
|
return block;
|
10495
10549
|
}
|
10496
10550
|
|
10497
|
-
// (
|
10551
|
+
// (403:12) {#if funMode}
|
10498
10552
|
function create_if_block_9(ctx) {
|
10499
10553
|
let div3;
|
10500
10554
|
let div2;
|
@@ -10549,18 +10603,18 @@
|
|
10549
10603
|
attr_dev(iframe_1, "class", "GamesContainer");
|
10550
10604
|
attr_dev(iframe_1, "aria-hidden", "false");
|
10551
10605
|
if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[5].launchUrl)) attr_dev(iframe_1, "src", iframe_1_src_value);
|
10552
|
-
add_location(iframe_1, file,
|
10606
|
+
add_location(iframe_1, file, 405, 18, 18267);
|
10553
10607
|
attr_dev(button0, "class", "LoginButton");
|
10554
|
-
add_location(button0, file,
|
10608
|
+
add_location(button0, file, 408, 22, 18490);
|
10555
10609
|
attr_dev(button1, "class", "RegisterButton");
|
10556
|
-
add_location(button1, file,
|
10610
|
+
add_location(button1, file, 409, 22, 18606);
|
10557
10611
|
attr_dev(div0, "class", "ButtonsContainer");
|
10558
|
-
add_location(div0, file,
|
10559
|
-
add_location(span, file,
|
10612
|
+
add_location(div0, file, 407, 20, 18437);
|
10613
|
+
add_location(span, file, 411, 36, 18771);
|
10560
10614
|
attr_dev(p, "class", "Time");
|
10561
|
-
add_location(p, file,
|
10615
|
+
add_location(p, file, 411, 20, 18755);
|
10562
10616
|
attr_dev(div1, "class", "BottomGame");
|
10563
|
-
add_location(div1, file,
|
10617
|
+
add_location(div1, file, 406, 18, 18392);
|
10564
10618
|
attr_dev(div2, "id", "IframeGame");
|
10565
10619
|
|
10566
10620
|
set_style(div2, "width", /*isFullscreen*/ ctx[11]
|
@@ -10579,12 +10633,12 @@
|
|
10579
10633
|
? "none"
|
10580
10634
|
: /*game*/ ctx[5].height + 100 + "px");
|
10581
10635
|
|
10582
|
-
add_location(div2, file,
|
10636
|
+
add_location(div2, file, 404, 16, 17953);
|
10583
10637
|
attr_dev(div3, "id", "IframeContainer");
|
10584
10638
|
set_style(div3, "width", /*modalFrameWidth*/ ctx[12]);
|
10585
10639
|
set_style(div3, "height", /*modalFrameHeight*/ ctx[13]);
|
10586
10640
|
toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[11]);
|
10587
|
-
add_location(div3, file,
|
10641
|
+
add_location(div3, file, 403, 14, 17779);
|
10588
10642
|
},
|
10589
10643
|
m: function mount(target, anchor) {
|
10590
10644
|
insert_dev(target, div3, anchor);
|
@@ -10689,14 +10743,14 @@
|
|
10689
10743
|
block,
|
10690
10744
|
id: create_if_block_9.name,
|
10691
10745
|
type: "if",
|
10692
|
-
source: "(
|
10746
|
+
source: "(403:12) {#if funMode}",
|
10693
10747
|
ctx
|
10694
10748
|
});
|
10695
10749
|
|
10696
10750
|
return block;
|
10697
10751
|
}
|
10698
10752
|
|
10699
|
-
// (
|
10753
|
+
// (383:10) {#if isLoggedIn}
|
10700
10754
|
function create_if_block_7(ctx) {
|
10701
10755
|
let div2;
|
10702
10756
|
let div1;
|
@@ -10743,14 +10797,14 @@
|
|
10743
10797
|
attr_dev(iframe_1, "class", "GamesContainer");
|
10744
10798
|
attr_dev(iframe_1, "aria-hidden", "false");
|
10745
10799
|
if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[5].launchUrl)) attr_dev(iframe_1, "src", iframe_1_src_value);
|
10746
|
-
add_location(iframe_1, file,
|
10800
|
+
add_location(iframe_1, file, 385, 16, 15972);
|
10747
10801
|
attr_dev(button, "class", "DepositButton");
|
10748
|
-
add_location(button, file,
|
10749
|
-
add_location(span, file,
|
10802
|
+
add_location(button, file, 387, 18, 16154);
|
10803
|
+
add_location(span, file, 388, 34, 16287);
|
10750
10804
|
attr_dev(p, "class", "Time");
|
10751
|
-
add_location(p, file,
|
10805
|
+
add_location(p, file, 388, 18, 16271);
|
10752
10806
|
attr_dev(div0, "class", "BottomGame");
|
10753
|
-
add_location(div0, file,
|
10807
|
+
add_location(div0, file, 386, 16, 16111);
|
10754
10808
|
attr_dev(div1, "id", "IframeGame");
|
10755
10809
|
|
10756
10810
|
set_style(div1, "width", /*isFullscreen*/ ctx[11]
|
@@ -10769,12 +10823,12 @@
|
|
10769
10823
|
? "none"
|
10770
10824
|
: /*game*/ ctx[5].height + 100 + "px");
|
10771
10825
|
|
10772
|
-
add_location(div1, file,
|
10826
|
+
add_location(div1, file, 384, 12, 15660);
|
10773
10827
|
attr_dev(div2, "id", "IframeContainer");
|
10774
10828
|
set_style(div2, "width", /*modalFrameWidth*/ ctx[12]);
|
10775
10829
|
set_style(div2, "height", /*modalFrameHeight*/ ctx[13]);
|
10776
10830
|
toggle_class(div2, "FullsScreenLayout", /*isFullscreen*/ ctx[11]);
|
10777
|
-
add_location(div2, file,
|
10831
|
+
add_location(div2, file, 383, 12, 15490);
|
10778
10832
|
},
|
10779
10833
|
m: function mount(target, anchor) {
|
10780
10834
|
insert_dev(target, div2, anchor);
|
@@ -10870,14 +10924,14 @@
|
|
10870
10924
|
block,
|
10871
10925
|
id: create_if_block_7.name,
|
10872
10926
|
type: "if",
|
10873
|
-
source: "(
|
10927
|
+
source: "(383:10) {#if isLoggedIn}",
|
10874
10928
|
ctx
|
10875
10929
|
});
|
10876
10930
|
|
10877
10931
|
return block;
|
10878
10932
|
}
|
10879
10933
|
|
10880
|
-
// (
|
10934
|
+
// (327:8) {#if mobileView}
|
10881
10935
|
function create_if_block_3(ctx) {
|
10882
10936
|
let if_block_anchor;
|
10883
10937
|
|
@@ -10922,14 +10976,14 @@
|
|
10922
10976
|
block,
|
10923
10977
|
id: create_if_block_3.name,
|
10924
10978
|
type: "if",
|
10925
|
-
source: "(
|
10979
|
+
source: "(327:8) {#if mobileView}",
|
10926
10980
|
ctx
|
10927
10981
|
});
|
10928
10982
|
|
10929
10983
|
return block;
|
10930
10984
|
}
|
10931
10985
|
|
10932
|
-
// (
|
10986
|
+
// (417:20) {:else}
|
10933
10987
|
function create_else_block_4(ctx) {
|
10934
10988
|
let button;
|
10935
10989
|
let svg;
|
@@ -10943,14 +10997,14 @@
|
|
10943
10997
|
svg = svg_element("svg");
|
10944
10998
|
path = svg_element("path");
|
10945
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");
|
10946
|
-
add_location(path, file,
|
11000
|
+
add_location(path, file, 418, 107, 19696);
|
10947
11001
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
10948
11002
|
attr_dev(svg, "width", "24");
|
10949
11003
|
attr_dev(svg, "height", "24");
|
10950
11004
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
10951
|
-
add_location(svg, file,
|
11005
|
+
add_location(svg, file, 418, 24, 19613);
|
10952
11006
|
attr_dev(button, "class", "FullscreenButton");
|
10953
|
-
add_location(button, file,
|
11007
|
+
add_location(button, file, 417, 22, 19517);
|
10954
11008
|
},
|
10955
11009
|
m: function mount(target, anchor) {
|
10956
11010
|
insert_dev(target, button, anchor);
|
@@ -10974,14 +11028,14 @@
|
|
10974
11028
|
block,
|
10975
11029
|
id: create_else_block_4.name,
|
10976
11030
|
type: "else",
|
10977
|
-
source: "(
|
11031
|
+
source: "(417:20) {:else}",
|
10978
11032
|
ctx
|
10979
11033
|
});
|
10980
11034
|
|
10981
11035
|
return block;
|
10982
11036
|
}
|
10983
11037
|
|
10984
|
-
// (
|
11038
|
+
// (413:20) {#if isFullscreen}
|
10985
11039
|
function create_if_block_10(ctx) {
|
10986
11040
|
let button;
|
10987
11041
|
let svg;
|
@@ -11002,22 +11056,22 @@
|
|
11002
11056
|
polygon3 = svg_element("polygon");
|
11003
11057
|
set_style(polygon0, "fill", "#fff");
|
11004
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");
|
11005
|
-
add_location(polygon0, file,
|
11059
|
+
add_location(polygon0, file, 414, 72, 19000);
|
11006
11060
|
set_style(polygon1, "fill", "#fff");
|
11007
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");
|
11008
|
-
add_location(polygon1, file,
|
11062
|
+
add_location(polygon1, file, 414, 180, 19108);
|
11009
11063
|
set_style(polygon2, "fill", "#fff");
|
11010
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");
|
11011
|
-
add_location(polygon2, file,
|
11065
|
+
add_location(polygon2, file, 414, 286, 19214);
|
11012
11066
|
set_style(polygon3, "fill", "#fff");
|
11013
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");
|
11014
|
-
add_location(polygon3, file,
|
11068
|
+
add_location(polygon3, file, 414, 389, 19317);
|
11015
11069
|
attr_dev(svg, "width", "24");
|
11016
11070
|
attr_dev(svg, "height", "24");
|
11017
11071
|
attr_dev(svg, "viewBox", "0 0 31 31");
|
11018
|
-
add_location(svg, file,
|
11072
|
+
add_location(svg, file, 414, 24, 18952);
|
11019
11073
|
attr_dev(button, "class", "FullscreenButton");
|
11020
|
-
add_location(button, file,
|
11074
|
+
add_location(button, file, 413, 22, 18856);
|
11021
11075
|
},
|
11022
11076
|
m: function mount(target, anchor) {
|
11023
11077
|
insert_dev(target, button, anchor);
|
@@ -11044,14 +11098,14 @@
|
|
11044
11098
|
block,
|
11045
11099
|
id: create_if_block_10.name,
|
11046
11100
|
type: "if",
|
11047
|
-
source: "(
|
11101
|
+
source: "(413:20) {#if isFullscreen}",
|
11048
11102
|
ctx
|
11049
11103
|
});
|
11050
11104
|
|
11051
11105
|
return block;
|
11052
11106
|
}
|
11053
11107
|
|
11054
|
-
// (
|
11108
|
+
// (394:18) {:else}
|
11055
11109
|
function create_else_block_3(ctx) {
|
11056
11110
|
let button;
|
11057
11111
|
let svg;
|
@@ -11065,14 +11119,14 @@
|
|
11065
11119
|
svg = svg_element("svg");
|
11066
11120
|
path = svg_element("path");
|
11067
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");
|
11068
|
-
add_location(path, file,
|
11122
|
+
add_location(path, file, 395, 105, 17276);
|
11069
11123
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
11070
11124
|
attr_dev(svg, "width", "24");
|
11071
11125
|
attr_dev(svg, "height", "24");
|
11072
11126
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
11073
|
-
add_location(svg, file,
|
11127
|
+
add_location(svg, file, 395, 22, 17193);
|
11074
11128
|
attr_dev(button, "class", "FullscreenButton");
|
11075
|
-
add_location(button, file,
|
11129
|
+
add_location(button, file, 394, 20, 17099);
|
11076
11130
|
},
|
11077
11131
|
m: function mount(target, anchor) {
|
11078
11132
|
insert_dev(target, button, anchor);
|
@@ -11096,14 +11150,14 @@
|
|
11096
11150
|
block,
|
11097
11151
|
id: create_else_block_3.name,
|
11098
11152
|
type: "else",
|
11099
|
-
source: "(
|
11153
|
+
source: "(394:18) {:else}",
|
11100
11154
|
ctx
|
11101
11155
|
});
|
11102
11156
|
|
11103
11157
|
return block;
|
11104
11158
|
}
|
11105
11159
|
|
11106
|
-
// (
|
11160
|
+
// (390:18) {#if isFullscreen}
|
11107
11161
|
function create_if_block_8(ctx) {
|
11108
11162
|
let button;
|
11109
11163
|
let svg;
|
@@ -11124,24 +11178,24 @@
|
|
11124
11178
|
polygon3 = svg_element("polygon");
|
11125
11179
|
set_style(polygon0, "fill", "#fff");
|
11126
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");
|
11127
|
-
add_location(polygon0, file,
|
11181
|
+
add_location(polygon0, file, 391, 148, 16588);
|
11128
11182
|
set_style(polygon1, "fill", "#fff");
|
11129
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");
|
11130
|
-
add_location(polygon1, file,
|
11184
|
+
add_location(polygon1, file, 391, 256, 16696);
|
11131
11185
|
set_style(polygon2, "fill", "#fff");
|
11132
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");
|
11133
|
-
add_location(polygon2, file,
|
11187
|
+
add_location(polygon2, file, 391, 362, 16802);
|
11134
11188
|
set_style(polygon3, "fill", "#fff");
|
11135
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");
|
11136
|
-
add_location(polygon3, file,
|
11190
|
+
add_location(polygon3, file, 391, 465, 16905);
|
11137
11191
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
11138
11192
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
11139
11193
|
attr_dev(svg, "width", "24");
|
11140
11194
|
attr_dev(svg, "height", "24");
|
11141
11195
|
attr_dev(svg, "viewBox", "0 0 31 31");
|
11142
|
-
add_location(svg, file,
|
11196
|
+
add_location(svg, file, 391, 22, 16462);
|
11143
11197
|
attr_dev(button, "class", "FullscreenButton");
|
11144
|
-
add_location(button, file,
|
11198
|
+
add_location(button, file, 390, 20, 16368);
|
11145
11199
|
},
|
11146
11200
|
m: function mount(target, anchor) {
|
11147
11201
|
insert_dev(target, button, anchor);
|
@@ -11168,14 +11222,14 @@
|
|
11168
11222
|
block,
|
11169
11223
|
id: create_if_block_8.name,
|
11170
11224
|
type: "if",
|
11171
|
-
source: "(
|
11225
|
+
source: "(390:18) {#if isFullscreen}",
|
11172
11226
|
ctx
|
11173
11227
|
});
|
11174
11228
|
|
11175
11229
|
return block;
|
11176
11230
|
}
|
11177
11231
|
|
11178
|
-
// (
|
11232
|
+
// (371:10) {:else}
|
11179
11233
|
function create_else_block_2(ctx) {
|
11180
11234
|
let div1;
|
11181
11235
|
let h3;
|
@@ -11216,21 +11270,21 @@
|
|
11216
11270
|
t6 = space();
|
11217
11271
|
p = element("p");
|
11218
11272
|
t7 = text(/*time*/ ctx[0]);
|
11219
|
-
add_location(h3, file,
|
11273
|
+
add_location(h3, file, 372, 14, 14955);
|
11220
11274
|
if (img.src !== (img_src_value = /*game*/ ctx[5].thumbnail)) attr_dev(img, "src", img_src_value);
|
11221
11275
|
attr_dev(img, "class", "GameThumbnail");
|
11222
11276
|
attr_dev(img, "alt", "game thumbnail");
|
11223
11277
|
attr_dev(img, "loading", "lazy");
|
11224
|
-
add_location(img, file,
|
11278
|
+
add_location(img, file, 373, 14, 14990);
|
11225
11279
|
attr_dev(button0, "class", "LoginButton");
|
11226
|
-
add_location(button0, file,
|
11280
|
+
add_location(button0, file, 375, 16, 15139);
|
11227
11281
|
attr_dev(button1, "class", "RegisterButton");
|
11228
|
-
add_location(button1, file,
|
11282
|
+
add_location(button1, file, 376, 16, 15249);
|
11229
11283
|
attr_dev(div0, "class", "ButtonsContainer");
|
11230
|
-
add_location(div0, file,
|
11231
|
-
add_location(p, file,
|
11284
|
+
add_location(div0, file, 374, 14, 15092);
|
11285
|
+
add_location(p, file, 378, 14, 15386);
|
11232
11286
|
attr_dev(div1, "class", "GameDetails");
|
11233
|
-
add_location(div1, file,
|
11287
|
+
add_location(div1, file, 371, 12, 14915);
|
11234
11288
|
},
|
11235
11289
|
m: function mount(target, anchor) {
|
11236
11290
|
insert_dev(target, div1, anchor);
|
@@ -11280,14 +11334,14 @@
|
|
11280
11334
|
block,
|
11281
11335
|
id: create_else_block_2.name,
|
11282
11336
|
type: "else",
|
11283
|
-
source: "(
|
11337
|
+
source: "(371:10) {:else}",
|
11284
11338
|
ctx
|
11285
11339
|
});
|
11286
11340
|
|
11287
11341
|
return block;
|
11288
11342
|
}
|
11289
11343
|
|
11290
|
-
// (
|
11344
|
+
// (359:37)
|
11291
11345
|
function create_if_block_6(ctx) {
|
11292
11346
|
let div1;
|
11293
11347
|
let h3;
|
@@ -11335,23 +11389,23 @@
|
|
11335
11389
|
t8 = space();
|
11336
11390
|
p = element("p");
|
11337
11391
|
t9 = text(/*time*/ ctx[0]);
|
11338
|
-
add_location(h3, file,
|
11392
|
+
add_location(h3, file, 360, 14, 14295);
|
11339
11393
|
if (img.src !== (img_src_value = /*game*/ ctx[5].thumbnail)) attr_dev(img, "src", img_src_value);
|
11340
11394
|
attr_dev(img, "class", "GameThumbnail");
|
11341
11395
|
attr_dev(img, "alt", "game thumbnail");
|
11342
11396
|
attr_dev(img, "loading", "lazy");
|
11343
|
-
add_location(img, file,
|
11397
|
+
add_location(img, file, 361, 14, 14330);
|
11344
11398
|
attr_dev(button0, "class", "LoginButton");
|
11345
|
-
add_location(button0, file,
|
11399
|
+
add_location(button0, file, 363, 16, 14479);
|
11346
11400
|
attr_dev(button1, "class", "RegisterButton");
|
11347
|
-
add_location(button1, file,
|
11401
|
+
add_location(button1, file, 364, 16, 14589);
|
11348
11402
|
attr_dev(div0, "class", "ButtonsContainer");
|
11349
|
-
add_location(div0, file,
|
11403
|
+
add_location(div0, file, 362, 14, 14432);
|
11350
11404
|
attr_dev(button2, "class", "FullWidthButton");
|
11351
|
-
add_location(button2, file,
|
11352
|
-
add_location(p, file,
|
11405
|
+
add_location(button2, file, 366, 14, 14726);
|
11406
|
+
add_location(p, file, 367, 14, 14851);
|
11353
11407
|
attr_dev(div1, "class", "GameDetails");
|
11354
|
-
add_location(div1, file,
|
11408
|
+
add_location(div1, file, 359, 12, 14255);
|
11355
11409
|
},
|
11356
11410
|
m: function mount(target, anchor) {
|
11357
11411
|
insert_dev(target, div1, anchor);
|
@@ -11406,14 +11460,14 @@
|
|
11406
11460
|
block,
|
11407
11461
|
id: create_if_block_6.name,
|
11408
11462
|
type: "if",
|
11409
|
-
source: "(
|
11463
|
+
source: "(359:37) ",
|
11410
11464
|
ctx
|
11411
11465
|
});
|
11412
11466
|
|
11413
11467
|
return block;
|
11414
11468
|
}
|
11415
11469
|
|
11416
|
-
// (
|
11470
|
+
// (328:10) {#if isLoggedIn}
|
11417
11471
|
function create_if_block_4(ctx) {
|
11418
11472
|
let t0;
|
11419
11473
|
let div1;
|
@@ -11465,21 +11519,21 @@
|
|
11465
11519
|
t7 = space();
|
11466
11520
|
p = element("p");
|
11467
11521
|
t8 = text(/*time*/ ctx[0]);
|
11468
|
-
add_location(h3, file,
|
11522
|
+
add_location(h3, file, 349, 14, 13731);
|
11469
11523
|
if (img.src !== (img_src_value = /*game*/ ctx[5].thumbnail)) attr_dev(img, "src", img_src_value);
|
11470
11524
|
attr_dev(img, "class", "GameThumbnail");
|
11471
11525
|
attr_dev(img, "alt", "game thumbnail");
|
11472
11526
|
attr_dev(img, "loading", "lazy");
|
11473
|
-
add_location(img, file,
|
11527
|
+
add_location(img, file, 350, 14, 13766);
|
11474
11528
|
attr_dev(button0, "class", "DepositButton");
|
11475
|
-
add_location(button0, file,
|
11529
|
+
add_location(button0, file, 352, 16, 13915);
|
11476
11530
|
attr_dev(button1, "class", "PlayNowButton");
|
11477
|
-
add_location(button1, file,
|
11531
|
+
add_location(button1, file, 353, 16, 14030);
|
11478
11532
|
attr_dev(div0, "class", "ButtonsContainer");
|
11479
|
-
add_location(div0, file,
|
11480
|
-
add_location(p, file,
|
11533
|
+
add_location(div0, file, 351, 14, 13868);
|
11534
|
+
add_location(p, file, 355, 14, 14171);
|
11481
11535
|
attr_dev(div1, "class", "GameDetails");
|
11482
|
-
add_location(div1, file,
|
11536
|
+
add_location(div1, file, 348, 12, 13691);
|
11483
11537
|
},
|
11484
11538
|
m: function mount(target, anchor) {
|
11485
11539
|
if_block.m(target, anchor);
|
@@ -11545,14 +11599,14 @@
|
|
11545
11599
|
block,
|
11546
11600
|
id: create_if_block_4.name,
|
11547
11601
|
type: "if",
|
11548
|
-
source: "(
|
11602
|
+
source: "(328:10) {#if isLoggedIn}",
|
11549
11603
|
ctx
|
11550
11604
|
});
|
11551
11605
|
|
11552
11606
|
return block;
|
11553
11607
|
}
|
11554
11608
|
|
11555
|
-
// (
|
11609
|
+
// (335:12) {:else}
|
11556
11610
|
function create_else_block_1(ctx) {
|
11557
11611
|
let div;
|
11558
11612
|
let svg;
|
@@ -11567,7 +11621,7 @@
|
|
11567
11621
|
path = svg_element("path");
|
11568
11622
|
set_style(path, "fill", "white");
|
11569
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");
|
11570
|
-
add_location(path, file,
|
11624
|
+
add_location(path, file, 337, 114, 12541);
|
11571
11625
|
attr_dev(svg, "version", "1.1");
|
11572
11626
|
attr_dev(svg, "class", "UnfavoredIcon");
|
11573
11627
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
@@ -11577,9 +11631,9 @@
|
|
11577
11631
|
attr_dev(svg, "viewBox", "0 0 512.001 512.001");
|
11578
11632
|
set_style(svg, "enable-background", "new 0 0 512.001 512.001");
|
11579
11633
|
attr_dev(svg, "xml:space", "preserve");
|
11580
|
-
add_location(svg, file,
|
11634
|
+
add_location(svg, file, 336, 16, 12290);
|
11581
11635
|
attr_dev(div, "class", "FavIconContainer");
|
11582
|
-
add_location(div, file,
|
11636
|
+
add_location(div, file, 335, 14, 12196);
|
11583
11637
|
},
|
11584
11638
|
m: function mount(target, anchor) {
|
11585
11639
|
insert_dev(target, div, anchor);
|
@@ -11603,14 +11657,14 @@
|
|
11603
11657
|
block,
|
11604
11658
|
id: create_else_block_1.name,
|
11605
11659
|
type: "else",
|
11606
|
-
source: "(
|
11660
|
+
source: "(335:12) {:else}",
|
11607
11661
|
ctx
|
11608
11662
|
});
|
11609
11663
|
|
11610
11664
|
return block;
|
11611
11665
|
}
|
11612
11666
|
|
11613
|
-
// (
|
11667
|
+
// (329:12) {#if game.isFavored}
|
11614
11668
|
function create_if_block_5(ctx) {
|
11615
11669
|
let div;
|
11616
11670
|
let svg;
|
@@ -11625,16 +11679,16 @@
|
|
11625
11679
|
path = svg_element("path");
|
11626
11680
|
set_style(path, "fill", "white");
|
11627
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");
|
11628
|
-
add_location(path, file,
|
11682
|
+
add_location(path, file, 331, 18, 11779);
|
11629
11683
|
attr_dev(svg, "version", "1.1");
|
11630
11684
|
attr_dev(svg, "class", "FavoredIcon");
|
11631
11685
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
11632
11686
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
11633
11687
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
11634
11688
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
11635
|
-
add_location(svg, file,
|
11689
|
+
add_location(svg, file, 330, 16, 11573);
|
11636
11690
|
attr_dev(div, "class", "FavIconContainer");
|
11637
|
-
add_location(div, file,
|
11691
|
+
add_location(div, file, 329, 14, 11479);
|
11638
11692
|
},
|
11639
11693
|
m: function mount(target, anchor) {
|
11640
11694
|
insert_dev(target, div, anchor);
|
@@ -11658,7 +11712,7 @@
|
|
11658
11712
|
block,
|
11659
11713
|
id: create_if_block_5.name,
|
11660
11714
|
type: "if",
|
11661
|
-
source: "(
|
11715
|
+
source: "(329:12) {#if game.isFavored}",
|
11662
11716
|
ctx
|
11663
11717
|
});
|
11664
11718
|
|
@@ -11772,6 +11826,7 @@
|
|
11772
11826
|
|
11773
11827
|
const formatGameLaunchUrl = game => {
|
11774
11828
|
let url = new URL(game.launchUrl);
|
11829
|
+
url.searchParams.append("language", lang);
|
11775
11830
|
|
11776
11831
|
// Maybe we should check if the session is valid, somehow?
|
11777
11832
|
if (sessionID && sessionID.length > 0) {
|
@@ -12045,23 +12100,17 @@
|
|
12045
12100
|
};
|
12046
12101
|
|
12047
12102
|
const setSession = () => {
|
12048
|
-
|
12049
|
-
|
12050
|
-
|
12051
|
-
|
12052
|
-
|
12053
|
-
|
12054
|
-
|
12055
|
-
|
12056
|
-
|
12057
|
-
|
12058
|
-
|
12059
|
-
err => {
|
12060
|
-
$$invalidate(2, isLoggedIn = false);
|
12061
|
-
console.error("err on session", err);
|
12062
|
-
}
|
12063
|
-
);
|
12064
|
-
}
|
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
|
+
);
|
12065
12114
|
};
|
12066
12115
|
|
12067
12116
|
const setClientStyling = () => {
|