@everymatrix/casino-game-page 0.0.119 → 0.0.123
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 +478 -409
- package/dist/casino-game-page.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoGamePage.svelte +22 -19
package/dist/casino-game-page.js
CHANGED
@@ -10272,25 +10272,25 @@
|
|
10272
10272
|
const { Object: Object_1, console: console_1 } = globals;
|
10273
10273
|
const file = "src/CasinoGamePage.svelte";
|
10274
10274
|
|
10275
|
-
// (
|
10275
|
+
// (330:2) {:else}
|
10276
10276
|
function create_else_block(ctx) {
|
10277
10277
|
let div;
|
10278
|
-
let if_block = /*detailsObtained*/ ctx[
|
10278
|
+
let if_block = /*detailsObtained*/ ctx[7] && create_if_block_2(ctx);
|
10279
10279
|
|
10280
10280
|
const block = {
|
10281
10281
|
c: function create() {
|
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, 330, 4, 11373);
|
10286
10286
|
},
|
10287
10287
|
m: function mount(target, anchor) {
|
10288
10288
|
insert_dev(target, div, anchor);
|
10289
10289
|
if (if_block) if_block.m(div, null);
|
10290
|
-
/*div_binding*/ ctx[
|
10290
|
+
/*div_binding*/ ctx[64](div);
|
10291
10291
|
},
|
10292
10292
|
p: function update(ctx, dirty) {
|
10293
|
-
if (/*detailsObtained*/ ctx[
|
10293
|
+
if (/*detailsObtained*/ ctx[7]) {
|
10294
10294
|
if (if_block) {
|
10295
10295
|
if_block.p(ctx, dirty);
|
10296
10296
|
} else {
|
@@ -10306,7 +10306,7 @@
|
|
10306
10306
|
d: function destroy(detaching) {
|
10307
10307
|
if (detaching) detach_dev(div);
|
10308
10308
|
if (if_block) if_block.d();
|
10309
|
-
/*div_binding*/ ctx[
|
10309
|
+
/*div_binding*/ ctx[64](null);
|
10310
10310
|
}
|
10311
10311
|
};
|
10312
10312
|
|
@@ -10314,14 +10314,14 @@
|
|
10314
10314
|
block,
|
10315
10315
|
id: create_else_block.name,
|
10316
10316
|
type: "else",
|
10317
|
-
source: "(
|
10317
|
+
source: "(330:2) {:else}",
|
10318
10318
|
ctx
|
10319
10319
|
});
|
10320
10320
|
|
10321
10321
|
return block;
|
10322
10322
|
}
|
10323
10323
|
|
10324
|
-
// (
|
10324
|
+
// (328: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, 328, 4, 11295);
|
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: "(328:2) {#if hasErrors}",
|
10349
10349
|
ctx
|
10350
10350
|
});
|
10351
10351
|
|
10352
10352
|
return block;
|
10353
10353
|
}
|
10354
10354
|
|
10355
|
-
// (
|
10355
|
+
// (325: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, 325, 2, 11211);
|
10365
10365
|
},
|
10366
10366
|
m: function mount(target, anchor) {
|
10367
10367
|
insert_dev(target, p, anchor);
|
@@ -10376,21 +10376,21 @@
|
|
10376
10376
|
block,
|
10377
10377
|
id: create_if_block.name,
|
10378
10378
|
type: "if",
|
10379
|
-
source: "(
|
10379
|
+
source: "(325:0) {#if isLoading}",
|
10380
10380
|
ctx
|
10381
10381
|
});
|
10382
10382
|
|
10383
10383
|
return block;
|
10384
10384
|
}
|
10385
10385
|
|
10386
|
-
// (
|
10386
|
+
// (332:6) {#if detailsObtained}
|
10387
10387
|
function create_if_block_2(ctx) {
|
10388
10388
|
let if_block_anchor;
|
10389
10389
|
|
10390
10390
|
function select_block_type_1(ctx, dirty) {
|
10391
|
-
if (/*mobileView*/ ctx[
|
10392
|
-
if (/*isLoggedIn*/ ctx[
|
10393
|
-
if (/*funMode*/ ctx[
|
10391
|
+
if (/*mobileView*/ ctx[17]) return create_if_block_3;
|
10392
|
+
if (/*isLoggedIn*/ ctx[3]) return create_if_block_8;
|
10393
|
+
if (/*funMode*/ ctx[8]) return create_if_block_10;
|
10394
10394
|
return create_else_block_5;
|
10395
10395
|
}
|
10396
10396
|
|
@@ -10429,18 +10429,18 @@
|
|
10429
10429
|
block,
|
10430
10430
|
id: create_if_block_2.name,
|
10431
10431
|
type: "if",
|
10432
|
-
source: "(
|
10432
|
+
source: "(332:6) {#if detailsObtained}",
|
10433
10433
|
ctx
|
10434
10434
|
});
|
10435
10435
|
|
10436
10436
|
return block;
|
10437
10437
|
}
|
10438
10438
|
|
10439
|
-
// (
|
10439
|
+
// (433:12) {:else}
|
10440
10440
|
function create_else_block_5(ctx) {
|
10441
10441
|
let div1;
|
10442
10442
|
let h3;
|
10443
|
-
let t0_value = /*game*/ ctx[
|
10443
|
+
let t0_value = /*game*/ ctx[6].name + "";
|
10444
10444
|
let t0;
|
10445
10445
|
let t1;
|
10446
10446
|
let img;
|
@@ -10448,11 +10448,11 @@
|
|
10448
10448
|
let t2;
|
10449
10449
|
let div0;
|
10450
10450
|
let button0;
|
10451
|
-
let t3_value = /*$_*/ ctx[
|
10451
|
+
let t3_value = /*$_*/ ctx[19]("gamePage.signIn") + "";
|
10452
10452
|
let t3;
|
10453
10453
|
let t4;
|
10454
10454
|
let button1;
|
10455
|
-
let t5_value = /*$_*/ ctx[
|
10455
|
+
let t5_value = /*$_*/ ctx[19]("gamePage.register") + "";
|
10456
10456
|
let t5;
|
10457
10457
|
let t6;
|
10458
10458
|
let p;
|
@@ -10476,22 +10476,22 @@
|
|
10476
10476
|
t5 = text(t5_value);
|
10477
10477
|
t6 = space();
|
10478
10478
|
p = element("p");
|
10479
|
-
t7 = text(/*time*/ ctx[
|
10480
|
-
add_location(h3, file,
|
10481
|
-
if (img.src !== (img_src_value = /*game*/ ctx[
|
10479
|
+
t7 = text(/*time*/ ctx[1]);
|
10480
|
+
add_location(h3, file, 434, 16, 20417);
|
10481
|
+
if (img.src !== (img_src_value = /*game*/ ctx[6].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, 435, 16, 20454);
|
10486
10486
|
attr_dev(button0, "class", "LoginButton");
|
10487
|
-
add_location(button0, file,
|
10487
|
+
add_location(button0, file, 437, 18, 20607);
|
10488
10488
|
attr_dev(button1, "class", "RegisterButton");
|
10489
|
-
add_location(button1, file,
|
10489
|
+
add_location(button1, file, 438, 18, 20719);
|
10490
10490
|
attr_dev(div0, "class", "ButtonsContainer");
|
10491
|
-
add_location(div0, file,
|
10492
|
-
add_location(p, file,
|
10491
|
+
add_location(div0, file, 436, 16, 20558);
|
10492
|
+
add_location(p, file, 440, 16, 20860);
|
10493
10493
|
attr_dev(div1, "class", "GameDetails");
|
10494
|
-
add_location(div1, file,
|
10494
|
+
add_location(div1, file, 433, 14, 20375);
|
10495
10495
|
},
|
10496
10496
|
m: function mount(target, anchor) {
|
10497
10497
|
insert_dev(target, div1, anchor);
|
@@ -10512,23 +10512,23 @@
|
|
10512
10512
|
|
10513
10513
|
if (!mounted) {
|
10514
10514
|
dispose = [
|
10515
|
-
listen_dev(button0, "click", /*click_handler_16*/ ctx[
|
10516
|
-
listen_dev(button1, "click", /*click_handler_17*/ ctx[
|
10515
|
+
listen_dev(button0, "click", /*click_handler_16*/ ctx[62], false, false, false),
|
10516
|
+
listen_dev(button1, "click", /*click_handler_17*/ ctx[63], false, false, false)
|
10517
10517
|
];
|
10518
10518
|
|
10519
10519
|
mounted = true;
|
10520
10520
|
}
|
10521
10521
|
},
|
10522
10522
|
p: function update(ctx, dirty) {
|
10523
|
-
if (dirty[0] & /*game*/
|
10523
|
+
if (dirty[0] & /*game*/ 64 && t0_value !== (t0_value = /*game*/ ctx[6].name + "")) set_data_dev(t0, t0_value);
|
10524
10524
|
|
10525
|
-
if (dirty[0] & /*game*/
|
10525
|
+
if (dirty[0] & /*game*/ 64 && img.src !== (img_src_value = /*game*/ ctx[6].thumbnail)) {
|
10526
10526
|
attr_dev(img, "src", img_src_value);
|
10527
10527
|
}
|
10528
10528
|
|
10529
|
-
if (dirty[0] & /*$_*/
|
10530
|
-
if (dirty[0] & /*$_*/
|
10531
|
-
if (dirty[0] & /*time*/
|
10529
|
+
if (dirty[0] & /*$_*/ 524288 && t3_value !== (t3_value = /*$_*/ ctx[19]("gamePage.signIn") + "")) set_data_dev(t3, t3_value);
|
10530
|
+
if (dirty[0] & /*$_*/ 524288 && t5_value !== (t5_value = /*$_*/ ctx[19]("gamePage.register") + "")) set_data_dev(t5, t5_value);
|
10531
|
+
if (dirty[0] & /*time*/ 2) set_data_dev(t7, /*time*/ ctx[1]);
|
10532
10532
|
},
|
10533
10533
|
d: function destroy(detaching) {
|
10534
10534
|
if (detaching) detach_dev(div1);
|
@@ -10541,15 +10541,15 @@
|
|
10541
10541
|
block,
|
10542
10542
|
id: create_else_block_5.name,
|
10543
10543
|
type: "else",
|
10544
|
-
source: "(
|
10544
|
+
source: "(433:12) {:else}",
|
10545
10545
|
ctx
|
10546
10546
|
});
|
10547
10547
|
|
10548
10548
|
return block;
|
10549
10549
|
}
|
10550
10550
|
|
10551
|
-
// (
|
10552
|
-
function
|
10551
|
+
// (411:12) {#if funMode}
|
10552
|
+
function create_if_block_10(ctx) {
|
10553
10553
|
let div3;
|
10554
10554
|
let div2;
|
10555
10555
|
let iframe_1;
|
@@ -10558,11 +10558,11 @@
|
|
10558
10558
|
let div1;
|
10559
10559
|
let div0;
|
10560
10560
|
let button0;
|
10561
|
-
let t1_value = /*$_*/ ctx[
|
10561
|
+
let t1_value = /*$_*/ ctx[19]("gamePage.signIn") + "";
|
10562
10562
|
let t1;
|
10563
10563
|
let t2;
|
10564
10564
|
let button1;
|
10565
|
-
let t3_value = /*$_*/ ctx[
|
10565
|
+
let t3_value = /*$_*/ ctx[19]("gamePage.register") + "";
|
10566
10566
|
let t3;
|
10567
10567
|
let t4;
|
10568
10568
|
let p;
|
@@ -10573,7 +10573,7 @@
|
|
10573
10573
|
let dispose;
|
10574
10574
|
|
10575
10575
|
function select_block_type_5(ctx, dirty) {
|
10576
|
-
if (/*isFullscreen*/ ctx[
|
10576
|
+
if (/*isFullscreen*/ ctx[12]) return create_if_block_11;
|
10577
10577
|
return create_else_block_4;
|
10578
10578
|
}
|
10579
10579
|
|
@@ -10596,55 +10596,55 @@
|
|
10596
10596
|
t4 = space();
|
10597
10597
|
p = element("p");
|
10598
10598
|
span = element("span");
|
10599
|
-
t5 = text(/*time*/ ctx[
|
10599
|
+
t5 = text(/*time*/ ctx[1]);
|
10600
10600
|
t6 = space();
|
10601
10601
|
if_block.c();
|
10602
10602
|
attr_dev(iframe_1, "title", "Games");
|
10603
10603
|
attr_dev(iframe_1, "class", "GamesContainer");
|
10604
10604
|
attr_dev(iframe_1, "aria-hidden", "false");
|
10605
|
-
if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[
|
10606
|
-
add_location(iframe_1, file,
|
10605
|
+
if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[6].launchUrl)) attr_dev(iframe_1, "src", iframe_1_src_value);
|
10606
|
+
add_location(iframe_1, file, 413, 18, 18457);
|
10607
10607
|
attr_dev(button0, "class", "LoginButton");
|
10608
|
-
add_location(button0, file,
|
10608
|
+
add_location(button0, file, 416, 22, 18680);
|
10609
10609
|
attr_dev(button1, "class", "RegisterButton");
|
10610
|
-
add_location(button1, file,
|
10610
|
+
add_location(button1, file, 417, 22, 18796);
|
10611
10611
|
attr_dev(div0, "class", "ButtonsContainer");
|
10612
|
-
add_location(div0, file,
|
10613
|
-
add_location(span, file,
|
10612
|
+
add_location(div0, file, 415, 20, 18627);
|
10613
|
+
add_location(span, file, 419, 36, 18961);
|
10614
10614
|
attr_dev(p, "class", "Time");
|
10615
|
-
add_location(p, file,
|
10615
|
+
add_location(p, file, 419, 20, 18945);
|
10616
10616
|
attr_dev(div1, "class", "BottomGame");
|
10617
|
-
add_location(div1, file,
|
10617
|
+
add_location(div1, file, 414, 18, 18582);
|
10618
10618
|
attr_dev(div2, "id", "IframeGame");
|
10619
10619
|
|
10620
|
-
set_style(div2, "width", /*isFullscreen*/ ctx[
|
10620
|
+
set_style(div2, "width", /*isFullscreen*/ ctx[12]
|
10621
10621
|
? "100%"
|
10622
|
-
: /*definitiveIframeWidth*/ ctx[
|
10622
|
+
: /*definitiveIframeWidth*/ ctx[15]);
|
10623
10623
|
|
10624
|
-
set_style(div2, "height", /*isFullscreen*/ ctx[
|
10624
|
+
set_style(div2, "height", /*isFullscreen*/ ctx[12]
|
10625
10625
|
? "100%"
|
10626
|
-
: /*definitiveIframeHeight*/ ctx[
|
10626
|
+
: /*definitiveIframeHeight*/ ctx[16]);
|
10627
10627
|
|
10628
|
-
set_style(div2, "max-width", /*isFullscreen*/ ctx[
|
10628
|
+
set_style(div2, "max-width", /*isFullscreen*/ ctx[12]
|
10629
10629
|
? "none"
|
10630
|
-
: /*game*/ ctx[
|
10630
|
+
: /*game*/ ctx[6].width + "px");
|
10631
10631
|
|
10632
|
-
set_style(div2, "max-height", /*isFullscreen*/ ctx[
|
10632
|
+
set_style(div2, "max-height", /*isFullscreen*/ ctx[12]
|
10633
10633
|
? "none"
|
10634
|
-
: /*game*/ ctx[
|
10634
|
+
: /*game*/ ctx[6].height + 100 + "px");
|
10635
10635
|
|
10636
|
-
add_location(div2, file,
|
10636
|
+
add_location(div2, file, 412, 16, 18143);
|
10637
10637
|
attr_dev(div3, "id", "IframeContainer");
|
10638
|
-
set_style(div3, "width", /*modalFrameWidth*/ ctx[
|
10639
|
-
set_style(div3, "height", /*modalFrameHeight*/ ctx[
|
10640
|
-
toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[
|
10641
|
-
add_location(div3, file,
|
10638
|
+
set_style(div3, "width", /*modalFrameWidth*/ ctx[13]);
|
10639
|
+
set_style(div3, "height", /*modalFrameHeight*/ ctx[14]);
|
10640
|
+
toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[12]);
|
10641
|
+
add_location(div3, file, 411, 14, 17969);
|
10642
10642
|
},
|
10643
10643
|
m: function mount(target, anchor) {
|
10644
10644
|
insert_dev(target, div3, anchor);
|
10645
10645
|
append_dev(div3, div2);
|
10646
10646
|
append_dev(div2, iframe_1);
|
10647
|
-
/*iframe_1_binding_1*/ ctx[
|
10647
|
+
/*iframe_1_binding_1*/ ctx[55](iframe_1);
|
10648
10648
|
append_dev(div2, t0);
|
10649
10649
|
append_dev(div2, div1);
|
10650
10650
|
append_dev(div1, div0);
|
@@ -10659,26 +10659,26 @@
|
|
10659
10659
|
append_dev(span, t5);
|
10660
10660
|
append_dev(div1, t6);
|
10661
10661
|
if_block.m(div1, null);
|
10662
|
-
/*div2_binding_1*/ ctx[
|
10663
|
-
/*div3_binding*/ ctx[
|
10662
|
+
/*div2_binding_1*/ ctx[60](div2);
|
10663
|
+
/*div3_binding*/ ctx[61](div3);
|
10664
10664
|
|
10665
10665
|
if (!mounted) {
|
10666
10666
|
dispose = [
|
10667
|
-
listen_dev(button0, "click", /*click_handler_12*/ ctx[
|
10668
|
-
listen_dev(button1, "click", /*click_handler_13*/ ctx[
|
10667
|
+
listen_dev(button0, "click", /*click_handler_12*/ ctx[56], false, false, false),
|
10668
|
+
listen_dev(button1, "click", /*click_handler_13*/ ctx[57], false, false, false)
|
10669
10669
|
];
|
10670
10670
|
|
10671
10671
|
mounted = true;
|
10672
10672
|
}
|
10673
10673
|
},
|
10674
10674
|
p: function update(ctx, dirty) {
|
10675
|
-
if (dirty[0] & /*game*/
|
10675
|
+
if (dirty[0] & /*game*/ 64 && iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[6].launchUrl)) {
|
10676
10676
|
attr_dev(iframe_1, "src", iframe_1_src_value);
|
10677
10677
|
}
|
10678
10678
|
|
10679
|
-
if (dirty[0] & /*$_*/
|
10680
|
-
if (dirty[0] & /*$_*/
|
10681
|
-
if (dirty[0] & /*time*/
|
10679
|
+
if (dirty[0] & /*$_*/ 524288 && t1_value !== (t1_value = /*$_*/ ctx[19]("gamePage.signIn") + "")) set_data_dev(t1, t1_value);
|
10680
|
+
if (dirty[0] & /*$_*/ 524288 && t3_value !== (t3_value = /*$_*/ ctx[19]("gamePage.register") + "")) set_data_dev(t3, t3_value);
|
10681
|
+
if (dirty[0] & /*time*/ 2) set_data_dev(t5, /*time*/ ctx[1]);
|
10682
10682
|
|
10683
10683
|
if (current_block_type === (current_block_type = select_block_type_5(ctx)) && if_block) {
|
10684
10684
|
if_block.p(ctx, dirty);
|
@@ -10692,48 +10692,48 @@
|
|
10692
10692
|
}
|
10693
10693
|
}
|
10694
10694
|
|
10695
|
-
if (dirty[0] & /*isFullscreen, definitiveIframeWidth*/
|
10696
|
-
set_style(div2, "width", /*isFullscreen*/ ctx[
|
10695
|
+
if (dirty[0] & /*isFullscreen, definitiveIframeWidth*/ 36864) {
|
10696
|
+
set_style(div2, "width", /*isFullscreen*/ ctx[12]
|
10697
10697
|
? "100%"
|
10698
|
-
: /*definitiveIframeWidth*/ ctx[
|
10698
|
+
: /*definitiveIframeWidth*/ ctx[15]);
|
10699
10699
|
}
|
10700
10700
|
|
10701
|
-
if (dirty[0] & /*isFullscreen, definitiveIframeHeight*/
|
10702
|
-
set_style(div2, "height", /*isFullscreen*/ ctx[
|
10701
|
+
if (dirty[0] & /*isFullscreen, definitiveIframeHeight*/ 69632) {
|
10702
|
+
set_style(div2, "height", /*isFullscreen*/ ctx[12]
|
10703
10703
|
? "100%"
|
10704
|
-
: /*definitiveIframeHeight*/ ctx[
|
10704
|
+
: /*definitiveIframeHeight*/ ctx[16]);
|
10705
10705
|
}
|
10706
10706
|
|
10707
|
-
if (dirty[0] & /*isFullscreen, game*/
|
10708
|
-
set_style(div2, "max-width", /*isFullscreen*/ ctx[
|
10707
|
+
if (dirty[0] & /*isFullscreen, game*/ 4160) {
|
10708
|
+
set_style(div2, "max-width", /*isFullscreen*/ ctx[12]
|
10709
10709
|
? "none"
|
10710
|
-
: /*game*/ ctx[
|
10710
|
+
: /*game*/ ctx[6].width + "px");
|
10711
10711
|
}
|
10712
10712
|
|
10713
|
-
if (dirty[0] & /*isFullscreen, game*/
|
10714
|
-
set_style(div2, "max-height", /*isFullscreen*/ ctx[
|
10713
|
+
if (dirty[0] & /*isFullscreen, game*/ 4160) {
|
10714
|
+
set_style(div2, "max-height", /*isFullscreen*/ ctx[12]
|
10715
10715
|
? "none"
|
10716
|
-
: /*game*/ ctx[
|
10716
|
+
: /*game*/ ctx[6].height + 100 + "px");
|
10717
10717
|
}
|
10718
10718
|
|
10719
|
-
if (dirty[0] & /*modalFrameWidth*/
|
10720
|
-
set_style(div3, "width", /*modalFrameWidth*/ ctx[
|
10719
|
+
if (dirty[0] & /*modalFrameWidth*/ 8192) {
|
10720
|
+
set_style(div3, "width", /*modalFrameWidth*/ ctx[13]);
|
10721
10721
|
}
|
10722
10722
|
|
10723
|
-
if (dirty[0] & /*modalFrameHeight*/
|
10724
|
-
set_style(div3, "height", /*modalFrameHeight*/ ctx[
|
10723
|
+
if (dirty[0] & /*modalFrameHeight*/ 16384) {
|
10724
|
+
set_style(div3, "height", /*modalFrameHeight*/ ctx[14]);
|
10725
10725
|
}
|
10726
10726
|
|
10727
|
-
if (dirty[0] & /*isFullscreen*/
|
10728
|
-
toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[
|
10727
|
+
if (dirty[0] & /*isFullscreen*/ 4096) {
|
10728
|
+
toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[12]);
|
10729
10729
|
}
|
10730
10730
|
},
|
10731
10731
|
d: function destroy(detaching) {
|
10732
10732
|
if (detaching) detach_dev(div3);
|
10733
|
-
/*iframe_1_binding_1*/ ctx[
|
10733
|
+
/*iframe_1_binding_1*/ ctx[55](null);
|
10734
10734
|
if_block.d();
|
10735
|
-
/*div2_binding_1*/ ctx[
|
10736
|
-
/*div3_binding*/ ctx[
|
10735
|
+
/*div2_binding_1*/ ctx[60](null);
|
10736
|
+
/*div3_binding*/ ctx[61](null);
|
10737
10737
|
mounted = false;
|
10738
10738
|
run_all(dispose);
|
10739
10739
|
}
|
@@ -10741,17 +10741,17 @@
|
|
10741
10741
|
|
10742
10742
|
dispatch_dev("SvelteRegisterBlock", {
|
10743
10743
|
block,
|
10744
|
-
id:
|
10744
|
+
id: create_if_block_10.name,
|
10745
10745
|
type: "if",
|
10746
|
-
source: "(
|
10746
|
+
source: "(411:12) {#if funMode}",
|
10747
10747
|
ctx
|
10748
10748
|
});
|
10749
10749
|
|
10750
10750
|
return block;
|
10751
10751
|
}
|
10752
10752
|
|
10753
|
-
// (
|
10754
|
-
function
|
10753
|
+
// (391:10) {#if isLoggedIn}
|
10754
|
+
function create_if_block_8(ctx) {
|
10755
10755
|
let div2;
|
10756
10756
|
let div1;
|
10757
10757
|
let iframe_1;
|
@@ -10759,7 +10759,7 @@
|
|
10759
10759
|
let t0;
|
10760
10760
|
let div0;
|
10761
10761
|
let button;
|
10762
|
-
let t1_value = /*$_*/ ctx[
|
10762
|
+
let t1_value = /*$_*/ ctx[19]("gamePage.deposit") + "";
|
10763
10763
|
let t1;
|
10764
10764
|
let t2;
|
10765
10765
|
let p;
|
@@ -10770,7 +10770,7 @@
|
|
10770
10770
|
let dispose;
|
10771
10771
|
|
10772
10772
|
function select_block_type_4(ctx, dirty) {
|
10773
|
-
if (/*isFullscreen*/ ctx[
|
10773
|
+
if (/*isFullscreen*/ ctx[12]) return create_if_block_9;
|
10774
10774
|
return create_else_block_3;
|
10775
10775
|
}
|
10776
10776
|
|
@@ -10789,52 +10789,52 @@
|
|
10789
10789
|
t2 = space();
|
10790
10790
|
p = element("p");
|
10791
10791
|
span = element("span");
|
10792
|
-
t3 = text(/*time*/ ctx[
|
10792
|
+
t3 = text(/*time*/ ctx[1]);
|
10793
10793
|
t4 = space();
|
10794
10794
|
if_block.c();
|
10795
10795
|
attr_dev(iframe_1, "title", "Games");
|
10796
10796
|
attr_dev(iframe_1, "id", "IframeGame");
|
10797
10797
|
attr_dev(iframe_1, "class", "GamesContainer");
|
10798
10798
|
attr_dev(iframe_1, "aria-hidden", "false");
|
10799
|
-
if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[
|
10800
|
-
add_location(iframe_1, file,
|
10799
|
+
if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[6].launchUrl)) attr_dev(iframe_1, "src", iframe_1_src_value);
|
10800
|
+
add_location(iframe_1, file, 393, 16, 16162);
|
10801
10801
|
attr_dev(button, "class", "DepositButton");
|
10802
|
-
add_location(button, file,
|
10803
|
-
add_location(span, file,
|
10802
|
+
add_location(button, file, 395, 18, 16344);
|
10803
|
+
add_location(span, file, 396, 34, 16477);
|
10804
10804
|
attr_dev(p, "class", "Time");
|
10805
|
-
add_location(p, file,
|
10805
|
+
add_location(p, file, 396, 18, 16461);
|
10806
10806
|
attr_dev(div0, "class", "BottomGame");
|
10807
|
-
add_location(div0, file,
|
10807
|
+
add_location(div0, file, 394, 16, 16301);
|
10808
10808
|
attr_dev(div1, "id", "IframeGame");
|
10809
10809
|
|
10810
|
-
set_style(div1, "width", /*isFullscreen*/ ctx[
|
10810
|
+
set_style(div1, "width", /*isFullscreen*/ ctx[12]
|
10811
10811
|
? "100%"
|
10812
|
-
: /*definitiveIframeWidth*/ ctx[
|
10812
|
+
: /*definitiveIframeWidth*/ ctx[15]);
|
10813
10813
|
|
10814
|
-
set_style(div1, "height", /*isFullscreen*/ ctx[
|
10814
|
+
set_style(div1, "height", /*isFullscreen*/ ctx[12]
|
10815
10815
|
? "100%"
|
10816
|
-
: /*definitiveIframeHeight*/ ctx[
|
10816
|
+
: /*definitiveIframeHeight*/ ctx[16]);
|
10817
10817
|
|
10818
|
-
set_style(div1, "max-width", /*isFullscreen*/ ctx[
|
10818
|
+
set_style(div1, "max-width", /*isFullscreen*/ ctx[12]
|
10819
10819
|
? "none"
|
10820
|
-
: /*game*/ ctx[
|
10820
|
+
: /*game*/ ctx[6].width + "px");
|
10821
10821
|
|
10822
|
-
set_style(div1, "max-height", /*isFullscreen*/ ctx[
|
10822
|
+
set_style(div1, "max-height", /*isFullscreen*/ ctx[12]
|
10823
10823
|
? "none"
|
10824
|
-
: /*game*/ ctx[
|
10824
|
+
: /*game*/ ctx[6].height + 100 + "px");
|
10825
10825
|
|
10826
|
-
add_location(div1, file,
|
10826
|
+
add_location(div1, file, 392, 12, 15850);
|
10827
10827
|
attr_dev(div2, "id", "IframeContainer");
|
10828
|
-
set_style(div2, "width", /*modalFrameWidth*/ ctx[
|
10829
|
-
set_style(div2, "height", /*modalFrameHeight*/ ctx[
|
10830
|
-
toggle_class(div2, "FullsScreenLayout", /*isFullscreen*/ ctx[
|
10831
|
-
add_location(div2, file,
|
10828
|
+
set_style(div2, "width", /*modalFrameWidth*/ ctx[13]);
|
10829
|
+
set_style(div2, "height", /*modalFrameHeight*/ ctx[14]);
|
10830
|
+
toggle_class(div2, "FullsScreenLayout", /*isFullscreen*/ ctx[12]);
|
10831
|
+
add_location(div2, file, 391, 12, 15680);
|
10832
10832
|
},
|
10833
10833
|
m: function mount(target, anchor) {
|
10834
10834
|
insert_dev(target, div2, anchor);
|
10835
10835
|
append_dev(div2, div1);
|
10836
10836
|
append_dev(div1, iframe_1);
|
10837
|
-
/*iframe_1_binding*/ ctx[
|
10837
|
+
/*iframe_1_binding*/ ctx[49](iframe_1);
|
10838
10838
|
append_dev(div1, t0);
|
10839
10839
|
append_dev(div1, div0);
|
10840
10840
|
append_dev(div0, button);
|
@@ -10845,21 +10845,21 @@
|
|
10845
10845
|
append_dev(span, t3);
|
10846
10846
|
append_dev(div0, t4);
|
10847
10847
|
if_block.m(div0, null);
|
10848
|
-
/*div1_binding*/ ctx[
|
10849
|
-
/*div2_binding*/ ctx[
|
10848
|
+
/*div1_binding*/ ctx[53](div1);
|
10849
|
+
/*div2_binding*/ ctx[54](div2);
|
10850
10850
|
|
10851
10851
|
if (!mounted) {
|
10852
|
-
dispose = listen_dev(button, "click", /*click_handler_9*/ ctx[
|
10852
|
+
dispose = listen_dev(button, "click", /*click_handler_9*/ ctx[50], false, false, false);
|
10853
10853
|
mounted = true;
|
10854
10854
|
}
|
10855
10855
|
},
|
10856
10856
|
p: function update(ctx, dirty) {
|
10857
|
-
if (dirty[0] & /*game*/
|
10857
|
+
if (dirty[0] & /*game*/ 64 && iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[6].launchUrl)) {
|
10858
10858
|
attr_dev(iframe_1, "src", iframe_1_src_value);
|
10859
10859
|
}
|
10860
10860
|
|
10861
|
-
if (dirty[0] & /*$_*/
|
10862
|
-
if (dirty[0] & /*time*/
|
10861
|
+
if (dirty[0] & /*$_*/ 524288 && t1_value !== (t1_value = /*$_*/ ctx[19]("gamePage.deposit") + "")) set_data_dev(t1, t1_value);
|
10862
|
+
if (dirty[0] & /*time*/ 2) set_data_dev(t3, /*time*/ ctx[1]);
|
10863
10863
|
|
10864
10864
|
if (current_block_type === (current_block_type = select_block_type_4(ctx)) && if_block) {
|
10865
10865
|
if_block.p(ctx, dirty);
|
@@ -10873,48 +10873,48 @@
|
|
10873
10873
|
}
|
10874
10874
|
}
|
10875
10875
|
|
10876
|
-
if (dirty[0] & /*isFullscreen, definitiveIframeWidth*/
|
10877
|
-
set_style(div1, "width", /*isFullscreen*/ ctx[
|
10876
|
+
if (dirty[0] & /*isFullscreen, definitiveIframeWidth*/ 36864) {
|
10877
|
+
set_style(div1, "width", /*isFullscreen*/ ctx[12]
|
10878
10878
|
? "100%"
|
10879
|
-
: /*definitiveIframeWidth*/ ctx[
|
10879
|
+
: /*definitiveIframeWidth*/ ctx[15]);
|
10880
10880
|
}
|
10881
10881
|
|
10882
|
-
if (dirty[0] & /*isFullscreen, definitiveIframeHeight*/
|
10883
|
-
set_style(div1, "height", /*isFullscreen*/ ctx[
|
10882
|
+
if (dirty[0] & /*isFullscreen, definitiveIframeHeight*/ 69632) {
|
10883
|
+
set_style(div1, "height", /*isFullscreen*/ ctx[12]
|
10884
10884
|
? "100%"
|
10885
|
-
: /*definitiveIframeHeight*/ ctx[
|
10885
|
+
: /*definitiveIframeHeight*/ ctx[16]);
|
10886
10886
|
}
|
10887
10887
|
|
10888
|
-
if (dirty[0] & /*isFullscreen, game*/
|
10889
|
-
set_style(div1, "max-width", /*isFullscreen*/ ctx[
|
10888
|
+
if (dirty[0] & /*isFullscreen, game*/ 4160) {
|
10889
|
+
set_style(div1, "max-width", /*isFullscreen*/ ctx[12]
|
10890
10890
|
? "none"
|
10891
|
-
: /*game*/ ctx[
|
10891
|
+
: /*game*/ ctx[6].width + "px");
|
10892
10892
|
}
|
10893
10893
|
|
10894
|
-
if (dirty[0] & /*isFullscreen, game*/
|
10895
|
-
set_style(div1, "max-height", /*isFullscreen*/ ctx[
|
10894
|
+
if (dirty[0] & /*isFullscreen, game*/ 4160) {
|
10895
|
+
set_style(div1, "max-height", /*isFullscreen*/ ctx[12]
|
10896
10896
|
? "none"
|
10897
|
-
: /*game*/ ctx[
|
10897
|
+
: /*game*/ ctx[6].height + 100 + "px");
|
10898
10898
|
}
|
10899
10899
|
|
10900
|
-
if (dirty[0] & /*modalFrameWidth*/
|
10901
|
-
set_style(div2, "width", /*modalFrameWidth*/ ctx[
|
10900
|
+
if (dirty[0] & /*modalFrameWidth*/ 8192) {
|
10901
|
+
set_style(div2, "width", /*modalFrameWidth*/ ctx[13]);
|
10902
10902
|
}
|
10903
10903
|
|
10904
|
-
if (dirty[0] & /*modalFrameHeight*/
|
10905
|
-
set_style(div2, "height", /*modalFrameHeight*/ ctx[
|
10904
|
+
if (dirty[0] & /*modalFrameHeight*/ 16384) {
|
10905
|
+
set_style(div2, "height", /*modalFrameHeight*/ ctx[14]);
|
10906
10906
|
}
|
10907
10907
|
|
10908
|
-
if (dirty[0] & /*isFullscreen*/
|
10909
|
-
toggle_class(div2, "FullsScreenLayout", /*isFullscreen*/ ctx[
|
10908
|
+
if (dirty[0] & /*isFullscreen*/ 4096) {
|
10909
|
+
toggle_class(div2, "FullsScreenLayout", /*isFullscreen*/ ctx[12]);
|
10910
10910
|
}
|
10911
10911
|
},
|
10912
10912
|
d: function destroy(detaching) {
|
10913
10913
|
if (detaching) detach_dev(div2);
|
10914
|
-
/*iframe_1_binding*/ ctx[
|
10914
|
+
/*iframe_1_binding*/ ctx[49](null);
|
10915
10915
|
if_block.d();
|
10916
|
-
/*div1_binding*/ ctx[
|
10917
|
-
/*div2_binding*/ ctx[
|
10916
|
+
/*div1_binding*/ ctx[53](null);
|
10917
|
+
/*div2_binding*/ ctx[54](null);
|
10918
10918
|
mounted = false;
|
10919
10919
|
dispose();
|
10920
10920
|
}
|
@@ -10922,22 +10922,22 @@
|
|
10922
10922
|
|
10923
10923
|
dispatch_dev("SvelteRegisterBlock", {
|
10924
10924
|
block,
|
10925
|
-
id:
|
10925
|
+
id: create_if_block_8.name,
|
10926
10926
|
type: "if",
|
10927
|
-
source: "(
|
10927
|
+
source: "(391:10) {#if isLoggedIn}",
|
10928
10928
|
ctx
|
10929
10929
|
});
|
10930
10930
|
|
10931
10931
|
return block;
|
10932
10932
|
}
|
10933
10933
|
|
10934
|
-
// (
|
10934
|
+
// (333:8) {#if mobileView}
|
10935
10935
|
function create_if_block_3(ctx) {
|
10936
10936
|
let if_block_anchor;
|
10937
10937
|
|
10938
10938
|
function select_block_type_2(ctx, dirty) {
|
10939
|
-
if (/*isLoggedIn*/ ctx[
|
10940
|
-
if (/*anonymousFunMode*/ ctx[
|
10939
|
+
if (/*isLoggedIn*/ ctx[3]) return create_if_block_4;
|
10940
|
+
if (/*anonymousFunMode*/ ctx[9]) return create_if_block_7;
|
10941
10941
|
return create_else_block_2;
|
10942
10942
|
}
|
10943
10943
|
|
@@ -10976,14 +10976,14 @@
|
|
10976
10976
|
block,
|
10977
10977
|
id: create_if_block_3.name,
|
10978
10978
|
type: "if",
|
10979
|
-
source: "(
|
10979
|
+
source: "(333:8) {#if mobileView}",
|
10980
10980
|
ctx
|
10981
10981
|
});
|
10982
10982
|
|
10983
10983
|
return block;
|
10984
10984
|
}
|
10985
10985
|
|
10986
|
-
// (
|
10986
|
+
// (425: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, 426, 107, 19886);
|
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, 426, 24, 19803);
|
11006
11006
|
attr_dev(button, "class", "FullscreenButton");
|
11007
|
-
add_location(button, file,
|
11007
|
+
add_location(button, file, 425, 22, 19707);
|
11008
11008
|
},
|
11009
11009
|
m: function mount(target, anchor) {
|
11010
11010
|
insert_dev(target, button, anchor);
|
@@ -11012,7 +11012,7 @@
|
|
11012
11012
|
append_dev(svg, path);
|
11013
11013
|
|
11014
11014
|
if (!mounted) {
|
11015
|
-
dispose = listen_dev(button, "click", /*click_handler_15*/ ctx[
|
11015
|
+
dispose = listen_dev(button, "click", /*click_handler_15*/ ctx[59], false, false, false);
|
11016
11016
|
mounted = true;
|
11017
11017
|
}
|
11018
11018
|
},
|
@@ -11028,15 +11028,15 @@
|
|
11028
11028
|
block,
|
11029
11029
|
id: create_else_block_4.name,
|
11030
11030
|
type: "else",
|
11031
|
-
source: "(
|
11031
|
+
source: "(425:20) {:else}",
|
11032
11032
|
ctx
|
11033
11033
|
});
|
11034
11034
|
|
11035
11035
|
return block;
|
11036
11036
|
}
|
11037
11037
|
|
11038
|
-
// (
|
11039
|
-
function
|
11038
|
+
// (421:20) {#if isFullscreen}
|
11039
|
+
function create_if_block_11(ctx) {
|
11040
11040
|
let button;
|
11041
11041
|
let svg;
|
11042
11042
|
let polygon0;
|
@@ -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, 422, 72, 19190);
|
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, 422, 180, 19298);
|
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, 422, 286, 19404);
|
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, 422, 389, 19507);
|
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, 422, 24, 19142);
|
11073
11073
|
attr_dev(button, "class", "FullscreenButton");
|
11074
|
-
add_location(button, file,
|
11074
|
+
add_location(button, file, 421, 22, 19046);
|
11075
11075
|
},
|
11076
11076
|
m: function mount(target, anchor) {
|
11077
11077
|
insert_dev(target, button, anchor);
|
@@ -11082,7 +11082,7 @@
|
|
11082
11082
|
append_dev(svg, polygon3);
|
11083
11083
|
|
11084
11084
|
if (!mounted) {
|
11085
|
-
dispose = listen_dev(button, "click", /*click_handler_14*/ ctx[
|
11085
|
+
dispose = listen_dev(button, "click", /*click_handler_14*/ ctx[58], false, false, false);
|
11086
11086
|
mounted = true;
|
11087
11087
|
}
|
11088
11088
|
},
|
@@ -11096,16 +11096,16 @@
|
|
11096
11096
|
|
11097
11097
|
dispatch_dev("SvelteRegisterBlock", {
|
11098
11098
|
block,
|
11099
|
-
id:
|
11099
|
+
id: create_if_block_11.name,
|
11100
11100
|
type: "if",
|
11101
|
-
source: "(
|
11101
|
+
source: "(421:20) {#if isFullscreen}",
|
11102
11102
|
ctx
|
11103
11103
|
});
|
11104
11104
|
|
11105
11105
|
return block;
|
11106
11106
|
}
|
11107
11107
|
|
11108
|
-
// (
|
11108
|
+
// (402: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, 403, 105, 17466);
|
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, 403, 22, 17383);
|
11128
11128
|
attr_dev(button, "class", "FullscreenButton");
|
11129
|
-
add_location(button, file,
|
11129
|
+
add_location(button, file, 402, 20, 17289);
|
11130
11130
|
},
|
11131
11131
|
m: function mount(target, anchor) {
|
11132
11132
|
insert_dev(target, button, anchor);
|
@@ -11134,7 +11134,7 @@
|
|
11134
11134
|
append_dev(svg, path);
|
11135
11135
|
|
11136
11136
|
if (!mounted) {
|
11137
|
-
dispose = listen_dev(button, "click", /*click_handler_11*/ ctx[
|
11137
|
+
dispose = listen_dev(button, "click", /*click_handler_11*/ ctx[52], false, false, false);
|
11138
11138
|
mounted = true;
|
11139
11139
|
}
|
11140
11140
|
},
|
@@ -11150,15 +11150,15 @@
|
|
11150
11150
|
block,
|
11151
11151
|
id: create_else_block_3.name,
|
11152
11152
|
type: "else",
|
11153
|
-
source: "(
|
11153
|
+
source: "(402:18) {:else}",
|
11154
11154
|
ctx
|
11155
11155
|
});
|
11156
11156
|
|
11157
11157
|
return block;
|
11158
11158
|
}
|
11159
11159
|
|
11160
|
-
// (
|
11161
|
-
function
|
11160
|
+
// (398:18) {#if isFullscreen}
|
11161
|
+
function create_if_block_9(ctx) {
|
11162
11162
|
let button;
|
11163
11163
|
let svg;
|
11164
11164
|
let polygon0;
|
@@ -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, 399, 148, 16778);
|
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, 399, 256, 16886);
|
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, 399, 362, 16992);
|
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, 399, 465, 17095);
|
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, 399, 22, 16652);
|
11197
11197
|
attr_dev(button, "class", "FullscreenButton");
|
11198
|
-
add_location(button, file,
|
11198
|
+
add_location(button, file, 398, 20, 16558);
|
11199
11199
|
},
|
11200
11200
|
m: function mount(target, anchor) {
|
11201
11201
|
insert_dev(target, button, anchor);
|
@@ -11206,7 +11206,7 @@
|
|
11206
11206
|
append_dev(svg, polygon3);
|
11207
11207
|
|
11208
11208
|
if (!mounted) {
|
11209
|
-
dispose = listen_dev(button, "click", /*click_handler_10*/ ctx[
|
11209
|
+
dispose = listen_dev(button, "click", /*click_handler_10*/ ctx[51], false, false, false);
|
11210
11210
|
mounted = true;
|
11211
11211
|
}
|
11212
11212
|
},
|
@@ -11220,20 +11220,20 @@
|
|
11220
11220
|
|
11221
11221
|
dispatch_dev("SvelteRegisterBlock", {
|
11222
11222
|
block,
|
11223
|
-
id:
|
11223
|
+
id: create_if_block_9.name,
|
11224
11224
|
type: "if",
|
11225
|
-
source: "(
|
11225
|
+
source: "(398:18) {#if isFullscreen}",
|
11226
11226
|
ctx
|
11227
11227
|
});
|
11228
11228
|
|
11229
11229
|
return block;
|
11230
11230
|
}
|
11231
11231
|
|
11232
|
-
// (
|
11232
|
+
// (379:10) {:else}
|
11233
11233
|
function create_else_block_2(ctx) {
|
11234
11234
|
let div1;
|
11235
11235
|
let h3;
|
11236
|
-
let t0_value = /*game*/ ctx[
|
11236
|
+
let t0_value = /*game*/ ctx[6].name + "";
|
11237
11237
|
let t0;
|
11238
11238
|
let t1;
|
11239
11239
|
let img;
|
@@ -11241,11 +11241,11 @@
|
|
11241
11241
|
let t2;
|
11242
11242
|
let div0;
|
11243
11243
|
let button0;
|
11244
|
-
let t3_value = /*$_*/ ctx[
|
11244
|
+
let t3_value = /*$_*/ ctx[19]("gamePage.signIn") + "";
|
11245
11245
|
let t3;
|
11246
11246
|
let t4;
|
11247
11247
|
let button1;
|
11248
|
-
let t5_value = /*$_*/ ctx[
|
11248
|
+
let t5_value = /*$_*/ ctx[19]("gamePage.register") + "";
|
11249
11249
|
let t5;
|
11250
11250
|
let t6;
|
11251
11251
|
let p;
|
@@ -11269,22 +11269,22 @@
|
|
11269
11269
|
t5 = text(t5_value);
|
11270
11270
|
t6 = space();
|
11271
11271
|
p = element("p");
|
11272
|
-
t7 = text(/*time*/ ctx[
|
11273
|
-
add_location(h3, file,
|
11274
|
-
if (img.src !== (img_src_value = /*game*/ ctx[
|
11272
|
+
t7 = text(/*time*/ ctx[1]);
|
11273
|
+
add_location(h3, file, 380, 14, 15145);
|
11274
|
+
if (img.src !== (img_src_value = /*game*/ ctx[6].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, 381, 14, 15180);
|
11279
11279
|
attr_dev(button0, "class", "LoginButton");
|
11280
|
-
add_location(button0, file,
|
11280
|
+
add_location(button0, file, 383, 16, 15329);
|
11281
11281
|
attr_dev(button1, "class", "RegisterButton");
|
11282
|
-
add_location(button1, file,
|
11282
|
+
add_location(button1, file, 384, 16, 15439);
|
11283
11283
|
attr_dev(div0, "class", "ButtonsContainer");
|
11284
|
-
add_location(div0, file,
|
11285
|
-
add_location(p, file,
|
11284
|
+
add_location(div0, file, 382, 14, 15282);
|
11285
|
+
add_location(p, file, 386, 14, 15576);
|
11286
11286
|
attr_dev(div1, "class", "GameDetails");
|
11287
|
-
add_location(div1, file,
|
11287
|
+
add_location(div1, file, 379, 12, 15105);
|
11288
11288
|
},
|
11289
11289
|
m: function mount(target, anchor) {
|
11290
11290
|
insert_dev(target, div1, anchor);
|
@@ -11305,23 +11305,23 @@
|
|
11305
11305
|
|
11306
11306
|
if (!mounted) {
|
11307
11307
|
dispose = [
|
11308
|
-
listen_dev(button0, "click", /*click_handler_7*/ ctx[
|
11309
|
-
listen_dev(button1, "click", /*click_handler_8*/ ctx[
|
11308
|
+
listen_dev(button0, "click", /*click_handler_7*/ ctx[47], false, false, false),
|
11309
|
+
listen_dev(button1, "click", /*click_handler_8*/ ctx[48], false, false, false)
|
11310
11310
|
];
|
11311
11311
|
|
11312
11312
|
mounted = true;
|
11313
11313
|
}
|
11314
11314
|
},
|
11315
11315
|
p: function update(ctx, dirty) {
|
11316
|
-
if (dirty[0] & /*game*/
|
11316
|
+
if (dirty[0] & /*game*/ 64 && t0_value !== (t0_value = /*game*/ ctx[6].name + "")) set_data_dev(t0, t0_value);
|
11317
11317
|
|
11318
|
-
if (dirty[0] & /*game*/
|
11318
|
+
if (dirty[0] & /*game*/ 64 && img.src !== (img_src_value = /*game*/ ctx[6].thumbnail)) {
|
11319
11319
|
attr_dev(img, "src", img_src_value);
|
11320
11320
|
}
|
11321
11321
|
|
11322
|
-
if (dirty[0] & /*$_*/
|
11323
|
-
if (dirty[0] & /*$_*/
|
11324
|
-
if (dirty[0] & /*time*/
|
11322
|
+
if (dirty[0] & /*$_*/ 524288 && t3_value !== (t3_value = /*$_*/ ctx[19]("gamePage.signIn") + "")) set_data_dev(t3, t3_value);
|
11323
|
+
if (dirty[0] & /*$_*/ 524288 && t5_value !== (t5_value = /*$_*/ ctx[19]("gamePage.register") + "")) set_data_dev(t5, t5_value);
|
11324
|
+
if (dirty[0] & /*time*/ 2) set_data_dev(t7, /*time*/ ctx[1]);
|
11325
11325
|
},
|
11326
11326
|
d: function destroy(detaching) {
|
11327
11327
|
if (detaching) detach_dev(div1);
|
@@ -11334,18 +11334,18 @@
|
|
11334
11334
|
block,
|
11335
11335
|
id: create_else_block_2.name,
|
11336
11336
|
type: "else",
|
11337
|
-
source: "(
|
11337
|
+
source: "(379:10) {:else}",
|
11338
11338
|
ctx
|
11339
11339
|
});
|
11340
11340
|
|
11341
11341
|
return block;
|
11342
11342
|
}
|
11343
11343
|
|
11344
|
-
// (
|
11345
|
-
function
|
11344
|
+
// (367:37)
|
11345
|
+
function create_if_block_7(ctx) {
|
11346
11346
|
let div1;
|
11347
11347
|
let h3;
|
11348
|
-
let t0_value = /*game*/ ctx[
|
11348
|
+
let t0_value = /*game*/ ctx[6].name + "";
|
11349
11349
|
let t0;
|
11350
11350
|
let t1;
|
11351
11351
|
let img;
|
@@ -11353,15 +11353,15 @@
|
|
11353
11353
|
let t2;
|
11354
11354
|
let div0;
|
11355
11355
|
let button0;
|
11356
|
-
let t3_value = /*$_*/ ctx[
|
11356
|
+
let t3_value = /*$_*/ ctx[19]("gamePage.signIn") + "";
|
11357
11357
|
let t3;
|
11358
11358
|
let t4;
|
11359
11359
|
let button1;
|
11360
|
-
let t5_value = /*$_*/ ctx[
|
11360
|
+
let t5_value = /*$_*/ ctx[19]("gamePage.register") + "";
|
11361
11361
|
let t5;
|
11362
11362
|
let t6;
|
11363
11363
|
let button2;
|
11364
|
-
let t7_value = /*$_*/ ctx[
|
11364
|
+
let t7_value = /*$_*/ ctx[19]("gamePage.playForFun") + "";
|
11365
11365
|
let t7;
|
11366
11366
|
let t8;
|
11367
11367
|
let p;
|
@@ -11388,24 +11388,24 @@
|
|
11388
11388
|
t7 = text(t7_value);
|
11389
11389
|
t8 = space();
|
11390
11390
|
p = element("p");
|
11391
|
-
t9 = text(/*time*/ ctx[
|
11392
|
-
add_location(h3, file,
|
11393
|
-
if (img.src !== (img_src_value = /*game*/ ctx[
|
11391
|
+
t9 = text(/*time*/ ctx[1]);
|
11392
|
+
add_location(h3, file, 368, 14, 14485);
|
11393
|
+
if (img.src !== (img_src_value = /*game*/ ctx[6].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, 369, 14, 14520);
|
11398
11398
|
attr_dev(button0, "class", "LoginButton");
|
11399
|
-
add_location(button0, file,
|
11399
|
+
add_location(button0, file, 371, 16, 14669);
|
11400
11400
|
attr_dev(button1, "class", "RegisterButton");
|
11401
|
-
add_location(button1, file,
|
11401
|
+
add_location(button1, file, 372, 16, 14779);
|
11402
11402
|
attr_dev(div0, "class", "ButtonsContainer");
|
11403
|
-
add_location(div0, file,
|
11403
|
+
add_location(div0, file, 370, 14, 14622);
|
11404
11404
|
attr_dev(button2, "class", "FullWidthButton");
|
11405
|
-
add_location(button2, file,
|
11406
|
-
add_location(p, file,
|
11405
|
+
add_location(button2, file, 374, 14, 14916);
|
11406
|
+
add_location(p, file, 375, 14, 15041);
|
11407
11407
|
attr_dev(div1, "class", "GameDetails");
|
11408
|
-
add_location(div1, file,
|
11408
|
+
add_location(div1, file, 367, 12, 14445);
|
11409
11409
|
},
|
11410
11410
|
m: function mount(target, anchor) {
|
11411
11411
|
insert_dev(target, div1, anchor);
|
@@ -11429,25 +11429,25 @@
|
|
11429
11429
|
|
11430
11430
|
if (!mounted) {
|
11431
11431
|
dispose = [
|
11432
|
-
listen_dev(button0, "click", /*click_handler_4*/ ctx[
|
11433
|
-
listen_dev(button1, "click", /*click_handler_5*/ ctx[
|
11434
|
-
listen_dev(button2, "click", /*click_handler_6*/ ctx[
|
11432
|
+
listen_dev(button0, "click", /*click_handler_4*/ ctx[44], false, false, false),
|
11433
|
+
listen_dev(button1, "click", /*click_handler_5*/ ctx[45], false, false, false),
|
11434
|
+
listen_dev(button2, "click", /*click_handler_6*/ ctx[46], false, false, false)
|
11435
11435
|
];
|
11436
11436
|
|
11437
11437
|
mounted = true;
|
11438
11438
|
}
|
11439
11439
|
},
|
11440
11440
|
p: function update(ctx, dirty) {
|
11441
|
-
if (dirty[0] & /*game*/
|
11441
|
+
if (dirty[0] & /*game*/ 64 && t0_value !== (t0_value = /*game*/ ctx[6].name + "")) set_data_dev(t0, t0_value);
|
11442
11442
|
|
11443
|
-
if (dirty[0] & /*game*/
|
11443
|
+
if (dirty[0] & /*game*/ 64 && img.src !== (img_src_value = /*game*/ ctx[6].thumbnail)) {
|
11444
11444
|
attr_dev(img, "src", img_src_value);
|
11445
11445
|
}
|
11446
11446
|
|
11447
|
-
if (dirty[0] & /*$_*/
|
11448
|
-
if (dirty[0] & /*$_*/
|
11449
|
-
if (dirty[0] & /*$_*/
|
11450
|
-
if (dirty[0] & /*time*/
|
11447
|
+
if (dirty[0] & /*$_*/ 524288 && t3_value !== (t3_value = /*$_*/ ctx[19]("gamePage.signIn") + "")) set_data_dev(t3, t3_value);
|
11448
|
+
if (dirty[0] & /*$_*/ 524288 && t5_value !== (t5_value = /*$_*/ ctx[19]("gamePage.register") + "")) set_data_dev(t5, t5_value);
|
11449
|
+
if (dirty[0] & /*$_*/ 524288 && t7_value !== (t7_value = /*$_*/ ctx[19]("gamePage.playForFun") + "")) set_data_dev(t7, t7_value);
|
11450
|
+
if (dirty[0] & /*time*/ 2) set_data_dev(t9, /*time*/ ctx[1]);
|
11451
11451
|
},
|
11452
11452
|
d: function destroy(detaching) {
|
11453
11453
|
if (detaching) detach_dev(div1);
|
@@ -11458,21 +11458,21 @@
|
|
11458
11458
|
|
11459
11459
|
dispatch_dev("SvelteRegisterBlock", {
|
11460
11460
|
block,
|
11461
|
-
id:
|
11461
|
+
id: create_if_block_7.name,
|
11462
11462
|
type: "if",
|
11463
|
-
source: "(
|
11463
|
+
source: "(367:37) ",
|
11464
11464
|
ctx
|
11465
11465
|
});
|
11466
11466
|
|
11467
11467
|
return block;
|
11468
11468
|
}
|
11469
11469
|
|
11470
|
-
// (
|
11470
|
+
// (334:10) {#if isLoggedIn}
|
11471
11471
|
function create_if_block_4(ctx) {
|
11472
11472
|
let t0;
|
11473
11473
|
let div1;
|
11474
11474
|
let h3;
|
11475
|
-
let t1_value = /*game*/ ctx[
|
11475
|
+
let t1_value = /*game*/ ctx[6].name + "";
|
11476
11476
|
let t1;
|
11477
11477
|
let t2;
|
11478
11478
|
let img;
|
@@ -11480,29 +11480,22 @@
|
|
11480
11480
|
let t3;
|
11481
11481
|
let div0;
|
11482
11482
|
let button0;
|
11483
|
-
let t4_value = /*$_*/ ctx[
|
11483
|
+
let t4_value = /*$_*/ ctx[19]("gamePage.deposit") + "";
|
11484
11484
|
let t4;
|
11485
11485
|
let t5;
|
11486
11486
|
let button1;
|
11487
|
-
let t6_value = /*$_*/ ctx[
|
11487
|
+
let t6_value = /*$_*/ ctx[19]("gamePage.playNow") + "";
|
11488
11488
|
let t6;
|
11489
11489
|
let t7;
|
11490
11490
|
let p;
|
11491
11491
|
let t8;
|
11492
11492
|
let mounted;
|
11493
11493
|
let dispose;
|
11494
|
-
|
11495
|
-
function select_block_type_3(ctx, dirty) {
|
11496
|
-
if (/*game*/ ctx[5].isFavored) return create_if_block_5;
|
11497
|
-
return create_else_block_1;
|
11498
|
-
}
|
11499
|
-
|
11500
|
-
let current_block_type = select_block_type_3(ctx);
|
11501
|
-
let if_block = current_block_type(ctx);
|
11494
|
+
let if_block = /*favorites*/ ctx[0] == "true" && create_if_block_5(ctx);
|
11502
11495
|
|
11503
11496
|
const block = {
|
11504
11497
|
c: function create() {
|
11505
|
-
if_block.c();
|
11498
|
+
if (if_block) if_block.c();
|
11506
11499
|
t0 = space();
|
11507
11500
|
div1 = element("div");
|
11508
11501
|
h3 = element("h3");
|
@@ -11518,25 +11511,25 @@
|
|
11518
11511
|
t6 = text(t6_value);
|
11519
11512
|
t7 = space();
|
11520
11513
|
p = element("p");
|
11521
|
-
t8 = text(/*time*/ ctx[
|
11522
|
-
add_location(h3, file,
|
11523
|
-
if (img.src !== (img_src_value = /*game*/ ctx[
|
11514
|
+
t8 = text(/*time*/ ctx[1]);
|
11515
|
+
add_location(h3, file, 357, 14, 13921);
|
11516
|
+
if (img.src !== (img_src_value = /*game*/ ctx[6].thumbnail)) attr_dev(img, "src", img_src_value);
|
11524
11517
|
attr_dev(img, "class", "GameThumbnail");
|
11525
11518
|
attr_dev(img, "alt", "game thumbnail");
|
11526
11519
|
attr_dev(img, "loading", "lazy");
|
11527
|
-
add_location(img, file,
|
11520
|
+
add_location(img, file, 358, 14, 13956);
|
11528
11521
|
attr_dev(button0, "class", "DepositButton");
|
11529
|
-
add_location(button0, file,
|
11522
|
+
add_location(button0, file, 360, 16, 14105);
|
11530
11523
|
attr_dev(button1, "class", "PlayNowButton");
|
11531
|
-
add_location(button1, file,
|
11524
|
+
add_location(button1, file, 361, 16, 14220);
|
11532
11525
|
attr_dev(div0, "class", "ButtonsContainer");
|
11533
|
-
add_location(div0, file,
|
11534
|
-
add_location(p, file,
|
11526
|
+
add_location(div0, file, 359, 14, 14058);
|
11527
|
+
add_location(p, file, 363, 14, 14361);
|
11535
11528
|
attr_dev(div1, "class", "GameDetails");
|
11536
|
-
add_location(div1, file,
|
11529
|
+
add_location(div1, file, 356, 12, 13881);
|
11537
11530
|
},
|
11538
11531
|
m: function mount(target, anchor) {
|
11539
|
-
if_block.m(target, anchor);
|
11532
|
+
if (if_block) if_block.m(target, anchor);
|
11540
11533
|
insert_dev(target, t0, anchor);
|
11541
11534
|
insert_dev(target, div1, anchor);
|
11542
11535
|
append_dev(div1, h3);
|
@@ -11556,38 +11549,39 @@
|
|
11556
11549
|
|
11557
11550
|
if (!mounted) {
|
11558
11551
|
dispose = [
|
11559
|
-
listen_dev(button0, "click", /*click_handler_2*/ ctx[
|
11560
|
-
listen_dev(button1, "click", /*click_handler_3*/ ctx[
|
11552
|
+
listen_dev(button0, "click", /*click_handler_2*/ ctx[42], false, false, false),
|
11553
|
+
listen_dev(button1, "click", /*click_handler_3*/ ctx[43], false, false, false)
|
11561
11554
|
];
|
11562
11555
|
|
11563
11556
|
mounted = true;
|
11564
11557
|
}
|
11565
11558
|
},
|
11566
11559
|
p: function update(ctx, dirty) {
|
11567
|
-
if (
|
11568
|
-
if_block.p(ctx, dirty);
|
11569
|
-
} else {
|
11570
|
-
if_block.d(1);
|
11571
|
-
if_block = current_block_type(ctx);
|
11572
|
-
|
11560
|
+
if (/*favorites*/ ctx[0] == "true") {
|
11573
11561
|
if (if_block) {
|
11562
|
+
if_block.p(ctx, dirty);
|
11563
|
+
} else {
|
11564
|
+
if_block = create_if_block_5(ctx);
|
11574
11565
|
if_block.c();
|
11575
11566
|
if_block.m(t0.parentNode, t0);
|
11576
11567
|
}
|
11568
|
+
} else if (if_block) {
|
11569
|
+
if_block.d(1);
|
11570
|
+
if_block = null;
|
11577
11571
|
}
|
11578
11572
|
|
11579
|
-
if (dirty[0] & /*game*/
|
11573
|
+
if (dirty[0] & /*game*/ 64 && t1_value !== (t1_value = /*game*/ ctx[6].name + "")) set_data_dev(t1, t1_value);
|
11580
11574
|
|
11581
|
-
if (dirty[0] & /*game*/
|
11575
|
+
if (dirty[0] & /*game*/ 64 && img.src !== (img_src_value = /*game*/ ctx[6].thumbnail)) {
|
11582
11576
|
attr_dev(img, "src", img_src_value);
|
11583
11577
|
}
|
11584
11578
|
|
11585
|
-
if (dirty[0] & /*$_*/
|
11586
|
-
if (dirty[0] & /*$_*/
|
11587
|
-
if (dirty[0] & /*time*/
|
11579
|
+
if (dirty[0] & /*$_*/ 524288 && t4_value !== (t4_value = /*$_*/ ctx[19]("gamePage.deposit") + "")) set_data_dev(t4, t4_value);
|
11580
|
+
if (dirty[0] & /*$_*/ 524288 && t6_value !== (t6_value = /*$_*/ ctx[19]("gamePage.playNow") + "")) set_data_dev(t6, t6_value);
|
11581
|
+
if (dirty[0] & /*time*/ 2) set_data_dev(t8, /*time*/ ctx[1]);
|
11588
11582
|
},
|
11589
11583
|
d: function destroy(detaching) {
|
11590
|
-
if_block.d(detaching);
|
11584
|
+
if (if_block) if_block.d(detaching);
|
11591
11585
|
if (detaching) detach_dev(t0);
|
11592
11586
|
if (detaching) detach_dev(div1);
|
11593
11587
|
mounted = false;
|
@@ -11599,14 +11593,65 @@
|
|
11599
11593
|
block,
|
11600
11594
|
id: create_if_block_4.name,
|
11601
11595
|
type: "if",
|
11602
|
-
source: "(
|
11596
|
+
source: "(334:10) {#if isLoggedIn}",
|
11597
|
+
ctx
|
11598
|
+
});
|
11599
|
+
|
11600
|
+
return block;
|
11601
|
+
}
|
11602
|
+
|
11603
|
+
// (335:12) {#if favorites == 'true'}
|
11604
|
+
function create_if_block_5(ctx) {
|
11605
|
+
let if_block_anchor;
|
11606
|
+
|
11607
|
+
function select_block_type_3(ctx, dirty) {
|
11608
|
+
if (/*game*/ ctx[6].isFavored) return create_if_block_6;
|
11609
|
+
return create_else_block_1;
|
11610
|
+
}
|
11611
|
+
|
11612
|
+
let current_block_type = select_block_type_3(ctx);
|
11613
|
+
let if_block = current_block_type(ctx);
|
11614
|
+
|
11615
|
+
const block = {
|
11616
|
+
c: function create() {
|
11617
|
+
if_block.c();
|
11618
|
+
if_block_anchor = empty();
|
11619
|
+
},
|
11620
|
+
m: function mount(target, anchor) {
|
11621
|
+
if_block.m(target, anchor);
|
11622
|
+
insert_dev(target, if_block_anchor, anchor);
|
11623
|
+
},
|
11624
|
+
p: function update(ctx, dirty) {
|
11625
|
+
if (current_block_type === (current_block_type = select_block_type_3(ctx)) && if_block) {
|
11626
|
+
if_block.p(ctx, dirty);
|
11627
|
+
} else {
|
11628
|
+
if_block.d(1);
|
11629
|
+
if_block = current_block_type(ctx);
|
11630
|
+
|
11631
|
+
if (if_block) {
|
11632
|
+
if_block.c();
|
11633
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
11634
|
+
}
|
11635
|
+
}
|
11636
|
+
},
|
11637
|
+
d: function destroy(detaching) {
|
11638
|
+
if_block.d(detaching);
|
11639
|
+
if (detaching) detach_dev(if_block_anchor);
|
11640
|
+
}
|
11641
|
+
};
|
11642
|
+
|
11643
|
+
dispatch_dev("SvelteRegisterBlock", {
|
11644
|
+
block,
|
11645
|
+
id: create_if_block_5.name,
|
11646
|
+
type: "if",
|
11647
|
+
source: "(335:12) {#if favorites == 'true'}",
|
11603
11648
|
ctx
|
11604
11649
|
});
|
11605
11650
|
|
11606
11651
|
return block;
|
11607
11652
|
}
|
11608
11653
|
|
11609
|
-
// (
|
11654
|
+
// (342:14) {:else}
|
11610
11655
|
function create_else_block_1(ctx) {
|
11611
11656
|
let div;
|
11612
11657
|
let svg;
|
@@ -11620,8 +11665,8 @@
|
|
11620
11665
|
svg = svg_element("svg");
|
11621
11666
|
path = svg_element("path");
|
11622
11667
|
set_style(path, "fill", "white");
|
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
|
11624
|
-
add_location(path, file,
|
11668
|
+
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");
|
11669
|
+
add_location(path, file, 344, 116, 12693);
|
11625
11670
|
attr_dev(svg, "version", "1.1");
|
11626
11671
|
attr_dev(svg, "class", "UnfavoredIcon");
|
11627
11672
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
@@ -11631,9 +11676,9 @@
|
|
11631
11676
|
attr_dev(svg, "viewBox", "0 0 512.001 512.001");
|
11632
11677
|
set_style(svg, "enable-background", "new 0 0 512.001 512.001");
|
11633
11678
|
attr_dev(svg, "xml:space", "preserve");
|
11634
|
-
add_location(svg, file,
|
11679
|
+
add_location(svg, file, 343, 18, 12440);
|
11635
11680
|
attr_dev(div, "class", "FavIconContainer");
|
11636
|
-
add_location(div, file,
|
11681
|
+
add_location(div, file, 342, 16, 12344);
|
11637
11682
|
},
|
11638
11683
|
m: function mount(target, anchor) {
|
11639
11684
|
insert_dev(target, div, anchor);
|
@@ -11641,7 +11686,7 @@
|
|
11641
11686
|
append_dev(svg, path);
|
11642
11687
|
|
11643
11688
|
if (!mounted) {
|
11644
|
-
dispose = listen_dev(div, "click", /*click_handler_1*/ ctx[
|
11689
|
+
dispose = listen_dev(div, "click", /*click_handler_1*/ ctx[41], false, false, false);
|
11645
11690
|
mounted = true;
|
11646
11691
|
}
|
11647
11692
|
},
|
@@ -11657,15 +11702,15 @@
|
|
11657
11702
|
block,
|
11658
11703
|
id: create_else_block_1.name,
|
11659
11704
|
type: "else",
|
11660
|
-
source: "(
|
11705
|
+
source: "(342:14) {:else}",
|
11661
11706
|
ctx
|
11662
11707
|
});
|
11663
11708
|
|
11664
11709
|
return block;
|
11665
11710
|
}
|
11666
11711
|
|
11667
|
-
// (
|
11668
|
-
function
|
11712
|
+
// (336:14) {#if game.isFavored}
|
11713
|
+
function create_if_block_6(ctx) {
|
11669
11714
|
let div;
|
11670
11715
|
let svg;
|
11671
11716
|
let path;
|
@@ -11679,16 +11724,16 @@
|
|
11679
11724
|
path = svg_element("path");
|
11680
11725
|
set_style(path, "fill", "white");
|
11681
11726
|
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,
|
11727
|
+
add_location(path, file, 338, 20, 11919);
|
11683
11728
|
attr_dev(svg, "version", "1.1");
|
11684
11729
|
attr_dev(svg, "class", "FavoredIcon");
|
11685
11730
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
11686
11731
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
11687
11732
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
11688
11733
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
11689
|
-
add_location(svg, file,
|
11734
|
+
add_location(svg, file, 337, 18, 11711);
|
11690
11735
|
attr_dev(div, "class", "FavIconContainer");
|
11691
|
-
add_location(div, file,
|
11736
|
+
add_location(div, file, 336, 16, 11615);
|
11692
11737
|
},
|
11693
11738
|
m: function mount(target, anchor) {
|
11694
11739
|
insert_dev(target, div, anchor);
|
@@ -11696,7 +11741,7 @@
|
|
11696
11741
|
append_dev(svg, path);
|
11697
11742
|
|
11698
11743
|
if (!mounted) {
|
11699
|
-
dispose = listen_dev(div, "click", /*click_handler*/ ctx[
|
11744
|
+
dispose = listen_dev(div, "click", /*click_handler*/ ctx[40], false, false, false);
|
11700
11745
|
mounted = true;
|
11701
11746
|
}
|
11702
11747
|
},
|
@@ -11710,9 +11755,9 @@
|
|
11710
11755
|
|
11711
11756
|
dispatch_dev("SvelteRegisterBlock", {
|
11712
11757
|
block,
|
11713
|
-
id:
|
11758
|
+
id: create_if_block_6.name,
|
11714
11759
|
type: "if",
|
11715
|
-
source: "(
|
11760
|
+
source: "(336:14) {#if game.isFavored}",
|
11716
11761
|
ctx
|
11717
11762
|
});
|
11718
11763
|
|
@@ -11723,8 +11768,8 @@
|
|
11723
11768
|
let if_block_anchor;
|
11724
11769
|
|
11725
11770
|
function select_block_type(ctx, dirty) {
|
11726
|
-
if (/*isLoading*/ ctx[
|
11727
|
-
if (/*hasErrors*/ ctx[
|
11771
|
+
if (/*isLoading*/ ctx[5]) return create_if_block;
|
11772
|
+
if (/*hasErrors*/ ctx[4]) return create_if_block_1;
|
11728
11773
|
return create_else_block;
|
11729
11774
|
}
|
11730
11775
|
|
@@ -11779,7 +11824,7 @@
|
|
11779
11824
|
function instance($$self, $$props, $$invalidate) {
|
11780
11825
|
let $_;
|
11781
11826
|
validate_store(X, "_");
|
11782
|
-
component_subscribe($$self, X, $$value => $$invalidate(
|
11827
|
+
component_subscribe($$self, X, $$value => $$invalidate(19, $_ = $$value));
|
11783
11828
|
let { $$slots: slots = {}, $$scope } = $$props;
|
11784
11829
|
validate_slots("undefined", slots, []);
|
11785
11830
|
let { endpoint = "" } = $$props;
|
@@ -11789,6 +11834,7 @@
|
|
11789
11834
|
let { userid = "" } = $$props; // Value for UserID;
|
11790
11835
|
let { clientstyling = "" } = $$props;
|
11791
11836
|
let { clientstylingurl = "" } = $$props;
|
11837
|
+
let { favorites } = $$props;
|
11792
11838
|
let { loginurl = "" } = $$props;
|
11793
11839
|
let { registerurl = "" } = $$props;
|
11794
11840
|
let { depositurl = "" } = $$props;
|
@@ -11831,7 +11877,7 @@
|
|
11831
11877
|
|
11832
11878
|
// Maybe we should check if the session is valid, somehow?
|
11833
11879
|
if (sessionID && sessionID.length > 0) {
|
11834
|
-
$$invalidate(
|
11880
|
+
$$invalidate(3, isLoggedIn = true);
|
11835
11881
|
url.searchParams.append("_sid", sessionID);
|
11836
11882
|
url.searchParams.append("funMode", false);
|
11837
11883
|
url.searchParams.append("language", lang);
|
@@ -11848,26 +11894,26 @@
|
|
11848
11894
|
url.searchParams.append("language", lang);
|
11849
11895
|
fetch(url).then(res => res.json()).then(
|
11850
11896
|
data => {
|
11851
|
-
$$invalidate(
|
11897
|
+
$$invalidate(6, game = formatGameLaunchUrl(data[0]));
|
11852
11898
|
|
11853
11899
|
if (game.launchUrl) {
|
11854
|
-
$$invalidate(
|
11855
|
-
$$invalidate(
|
11856
|
-
$$invalidate(
|
11900
|
+
$$invalidate(7, detailsObtained = true);
|
11901
|
+
$$invalidate(8, funMode = game.hasFunMode);
|
11902
|
+
$$invalidate(9, anonymousFunMode = game.hasAnonymousFunMode);
|
11857
11903
|
let url = new URL(game.launchUrl);
|
11858
11904
|
|
11859
11905
|
if (sessionID && sessionID.length > 0) {
|
11860
|
-
$$invalidate(
|
11906
|
+
$$invalidate(3, isLoggedIn = true);
|
11861
11907
|
url.searchParams.append("_sid", sessionID);
|
11862
11908
|
url.searchParams.append("funMode", false);
|
11863
11909
|
url.searchParams.append("language", lang);
|
11864
|
-
$$invalidate(
|
11910
|
+
$$invalidate(6, game.launchUrl = url, game);
|
11865
11911
|
}
|
11866
11912
|
}
|
11867
11913
|
},
|
11868
11914
|
err => {
|
11869
11915
|
console.error("There was an error", err);
|
11870
|
-
$$invalidate(
|
11916
|
+
$$invalidate(4, hasErrors = true);
|
11871
11917
|
}
|
11872
11918
|
).then(() => {
|
11873
11919
|
if (gameFrameContainer) {
|
@@ -11882,7 +11928,7 @@
|
|
11882
11928
|
case "ModalClosed":
|
11883
11929
|
setTimeout(
|
11884
11930
|
() => {
|
11885
|
-
$$invalidate(
|
11931
|
+
$$invalidate(7, detailsObtained = false);
|
11886
11932
|
},
|
11887
11933
|
500
|
11888
11934
|
);
|
@@ -11891,7 +11937,7 @@
|
|
11891
11937
|
if (e.data.session.length > 0) {
|
11892
11938
|
sessionID = e.data.session;
|
11893
11939
|
playerID = e.data.userID;
|
11894
|
-
$$invalidate(
|
11940
|
+
$$invalidate(3, isLoggedIn = true);
|
11895
11941
|
|
11896
11942
|
let interval = setInterval(
|
11897
11943
|
() => {
|
@@ -11900,7 +11946,7 @@
|
|
11900
11946
|
url.searchParams.append("_sid", sessionID);
|
11901
11947
|
url.searchParams.append("funMode", false);
|
11902
11948
|
url.searchParams.append("language", lang);
|
11903
|
-
$$invalidate(
|
11949
|
+
$$invalidate(6, game.launchUrl = url, game);
|
11904
11950
|
clearInterval(interval);
|
11905
11951
|
}
|
11906
11952
|
},
|
@@ -11909,8 +11955,8 @@
|
|
11909
11955
|
}
|
11910
11956
|
break;
|
11911
11957
|
case "ModalSize":
|
11912
|
-
$$invalidate(
|
11913
|
-
$$invalidate(
|
11958
|
+
$$invalidate(13, modalFrameWidth = e.data.modalContainerSize.modalWidth);
|
11959
|
+
$$invalidate(14, modalFrameHeight = e.data.modalContainerSize.modalHeight);
|
11914
11960
|
break;
|
11915
11961
|
case "UpdateCategoryFavoriteGames":
|
11916
11962
|
if (e.data.receivedFavoriteResults) {
|
@@ -11941,7 +11987,7 @@
|
|
11941
11987
|
window.location.href
|
11942
11988
|
);
|
11943
11989
|
|
11944
|
-
$$invalidate(
|
11990
|
+
$$invalidate(6, game.isFavored = false, game);
|
11945
11991
|
} else {
|
11946
11992
|
window.postMessage(
|
11947
11993
|
{
|
@@ -11952,7 +11998,7 @@
|
|
11952
11998
|
window.location.href
|
11953
11999
|
);
|
11954
12000
|
|
11955
|
-
$$invalidate(
|
12001
|
+
$$invalidate(6, game.isFavored = true, game);
|
11956
12002
|
}
|
11957
12003
|
};
|
11958
12004
|
|
@@ -11961,13 +12007,13 @@
|
|
11961
12007
|
url.searchParams.append("language", lang);
|
11962
12008
|
|
11963
12009
|
fetch(url).then(res => res.json()).then(data => {
|
11964
|
-
$$invalidate(
|
12010
|
+
$$invalidate(6, game = formatGameLaunchUrl(data[0]));
|
11965
12011
|
|
11966
12012
|
if (game.launchUrl) {
|
11967
|
-
$$invalidate(
|
11968
|
-
$$invalidate(
|
11969
|
-
$$invalidate(
|
11970
|
-
$$invalidate(
|
12013
|
+
$$invalidate(9, anonymousFunMode = game.hasAnonymousFunMode);
|
12014
|
+
$$invalidate(8, funMode = gameFunMode);
|
12015
|
+
$$invalidate(7, detailsObtained = true);
|
12016
|
+
$$invalidate(6, game.isFavored = checkFavorite(game.id), game);
|
11971
12017
|
}
|
11972
12018
|
});
|
11973
12019
|
};
|
@@ -11991,8 +12037,8 @@
|
|
11991
12037
|
gameFrameHeight = gameContainerWidth / iframeRatio;
|
11992
12038
|
}
|
11993
12039
|
|
11994
|
-
$$invalidate(
|
11995
|
-
$$invalidate(
|
12040
|
+
$$invalidate(15, definitiveIframeWidth = Math.floor(gameFrameWidth) + "px");
|
12041
|
+
$$invalidate(16, definitiveIframeHeight = Math.floor(gameFrameHeight) + "px");
|
11996
12042
|
};
|
11997
12043
|
|
11998
12044
|
const openGameWindow = game => {
|
@@ -12064,7 +12110,7 @@
|
|
12064
12110
|
document.msExitFullscreen();
|
12065
12111
|
}
|
12066
12112
|
|
12067
|
-
$$invalidate(
|
12113
|
+
$$invalidate(12, isFullscreen = false);
|
12068
12114
|
} else {
|
12069
12115
|
if (gameFrameContainer.requestFullscreen) {
|
12070
12116
|
gameFrameContainer.requestFullscreen();
|
@@ -12076,16 +12122,16 @@
|
|
12076
12122
|
gameFrameContainer.msRequestFullscreen();
|
12077
12123
|
}
|
12078
12124
|
|
12079
|
-
$$invalidate(
|
12125
|
+
$$invalidate(12, isFullscreen = true);
|
12080
12126
|
}
|
12081
12127
|
}
|
12082
12128
|
};
|
12083
12129
|
|
12084
12130
|
const refreshTime = () => {
|
12085
12131
|
if (clockformat) {
|
12086
|
-
$$invalidate(
|
12132
|
+
$$invalidate(1, time = moment().format(clockformat));
|
12087
12133
|
} else {
|
12088
|
-
$$invalidate(
|
12134
|
+
$$invalidate(1, time = moment().format("LTS"));
|
12089
12135
|
}
|
12090
12136
|
};
|
12091
12137
|
|
@@ -12097,10 +12143,10 @@
|
|
12097
12143
|
);
|
12098
12144
|
|
12099
12145
|
const initialSetup = () => {
|
12100
|
-
$$invalidate(
|
12146
|
+
$$invalidate(5, isLoading = false);
|
12101
12147
|
|
12102
12148
|
if (isMobile(userAgent)) {
|
12103
|
-
$$invalidate(
|
12149
|
+
$$invalidate(17, mobileView = true);
|
12104
12150
|
}
|
12105
12151
|
};
|
12106
12152
|
|
@@ -12109,10 +12155,10 @@
|
|
12109
12155
|
res => {
|
12110
12156
|
sessionID = res.Guid;
|
12111
12157
|
playerID = res.UserID;
|
12112
|
-
$$invalidate(
|
12158
|
+
$$invalidate(3, isLoggedIn = true);
|
12113
12159
|
},
|
12114
12160
|
err => {
|
12115
|
-
$$invalidate(
|
12161
|
+
$$invalidate(3, isLoggedIn = false);
|
12116
12162
|
console.error("err on session", err);
|
12117
12163
|
}
|
12118
12164
|
);
|
@@ -12162,6 +12208,7 @@
|
|
12162
12208
|
"userid",
|
12163
12209
|
"clientstyling",
|
12164
12210
|
"clientstylingurl",
|
12211
|
+
"favorites",
|
12165
12212
|
"loginurl",
|
12166
12213
|
"registerurl",
|
12167
12214
|
"depositurl",
|
@@ -12196,7 +12243,7 @@
|
|
12196
12243
|
function iframe_1_binding($$value) {
|
12197
12244
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
12198
12245
|
iframe = $$value;
|
12199
|
-
$$invalidate(
|
12246
|
+
$$invalidate(2, iframe);
|
12200
12247
|
});
|
12201
12248
|
}
|
12202
12249
|
|
@@ -12207,21 +12254,21 @@
|
|
12207
12254
|
function div1_binding($$value) {
|
12208
12255
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
12209
12256
|
gameInnerContainer = $$value;
|
12210
|
-
$$invalidate(
|
12257
|
+
$$invalidate(11, gameInnerContainer);
|
12211
12258
|
});
|
12212
12259
|
}
|
12213
12260
|
|
12214
12261
|
function div2_binding($$value) {
|
12215
12262
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
12216
12263
|
gameFrameContainer = $$value;
|
12217
|
-
$$invalidate(
|
12264
|
+
$$invalidate(10, gameFrameContainer);
|
12218
12265
|
});
|
12219
12266
|
}
|
12220
12267
|
|
12221
12268
|
function iframe_1_binding_1($$value) {
|
12222
12269
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
12223
12270
|
iframe = $$value;
|
12224
|
-
$$invalidate(
|
12271
|
+
$$invalidate(2, iframe);
|
12225
12272
|
});
|
12226
12273
|
}
|
12227
12274
|
|
@@ -12233,14 +12280,14 @@
|
|
12233
12280
|
function div2_binding_1($$value) {
|
12234
12281
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
12235
12282
|
gameInnerContainer = $$value;
|
12236
|
-
$$invalidate(
|
12283
|
+
$$invalidate(11, gameInnerContainer);
|
12237
12284
|
});
|
12238
12285
|
}
|
12239
12286
|
|
12240
12287
|
function div3_binding($$value) {
|
12241
12288
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
12242
12289
|
gameFrameContainer = $$value;
|
12243
|
-
$$invalidate(
|
12290
|
+
$$invalidate(10, gameFrameContainer);
|
12244
12291
|
});
|
12245
12292
|
}
|
12246
12293
|
|
@@ -12250,25 +12297,26 @@
|
|
12250
12297
|
function div_binding($$value) {
|
12251
12298
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
12252
12299
|
customStylingContainer = $$value;
|
12253
|
-
$$invalidate(
|
12300
|
+
$$invalidate(18, customStylingContainer);
|
12254
12301
|
});
|
12255
12302
|
}
|
12256
12303
|
|
12257
12304
|
$$self.$$set = $$props => {
|
12258
|
-
if ("endpoint" in $$props) $$invalidate(
|
12259
|
-
if ("datasource" in $$props) $$invalidate(
|
12260
|
-
if ("lang" in $$props) $$invalidate(
|
12261
|
-
if ("session" in $$props) $$invalidate(
|
12262
|
-
if ("userid" in $$props) $$invalidate(
|
12263
|
-
if ("clientstyling" in $$props) $$invalidate(
|
12264
|
-
if ("clientstylingurl" in $$props) $$invalidate(
|
12265
|
-
if ("
|
12266
|
-
if ("
|
12267
|
-
if ("
|
12268
|
-
if ("
|
12269
|
-
if ("
|
12270
|
-
if ("
|
12271
|
-
if ("
|
12305
|
+
if ("endpoint" in $$props) $$invalidate(26, endpoint = $$props.endpoint);
|
12306
|
+
if ("datasource" in $$props) $$invalidate(27, datasource = $$props.datasource);
|
12307
|
+
if ("lang" in $$props) $$invalidate(28, lang = $$props.lang);
|
12308
|
+
if ("session" in $$props) $$invalidate(29, session = $$props.session);
|
12309
|
+
if ("userid" in $$props) $$invalidate(30, userid = $$props.userid);
|
12310
|
+
if ("clientstyling" in $$props) $$invalidate(31, clientstyling = $$props.clientstyling);
|
12311
|
+
if ("clientstylingurl" in $$props) $$invalidate(32, clientstylingurl = $$props.clientstylingurl);
|
12312
|
+
if ("favorites" in $$props) $$invalidate(0, favorites = $$props.favorites);
|
12313
|
+
if ("loginurl" in $$props) $$invalidate(33, loginurl = $$props.loginurl);
|
12314
|
+
if ("registerurl" in $$props) $$invalidate(34, registerurl = $$props.registerurl);
|
12315
|
+
if ("depositurl" in $$props) $$invalidate(35, depositurl = $$props.depositurl);
|
12316
|
+
if ("loginevent" in $$props) $$invalidate(36, loginevent = $$props.loginevent);
|
12317
|
+
if ("registerevent" in $$props) $$invalidate(37, registerevent = $$props.registerevent);
|
12318
|
+
if ("depositevent" in $$props) $$invalidate(38, depositevent = $$props.depositevent);
|
12319
|
+
if ("clockformat" in $$props) $$invalidate(39, clockformat = $$props.clockformat);
|
12272
12320
|
};
|
12273
12321
|
|
12274
12322
|
$$self.$capture_state = () => ({
|
@@ -12286,6 +12334,7 @@
|
|
12286
12334
|
userid,
|
12287
12335
|
clientstyling,
|
12288
12336
|
clientstylingurl,
|
12337
|
+
favorites,
|
12289
12338
|
loginurl,
|
12290
12339
|
registerurl,
|
12291
12340
|
depositurl,
|
@@ -12339,44 +12388,45 @@
|
|
12339
12388
|
});
|
12340
12389
|
|
12341
12390
|
$$self.$inject_state = $$props => {
|
12342
|
-
if ("endpoint" in $$props) $$invalidate(
|
12343
|
-
if ("datasource" in $$props) $$invalidate(
|
12344
|
-
if ("lang" in $$props) $$invalidate(
|
12345
|
-
if ("session" in $$props) $$invalidate(
|
12346
|
-
if ("userid" in $$props) $$invalidate(
|
12347
|
-
if ("clientstyling" in $$props) $$invalidate(
|
12348
|
-
if ("clientstylingurl" in $$props) $$invalidate(
|
12349
|
-
if ("
|
12350
|
-
if ("
|
12351
|
-
if ("
|
12352
|
-
if ("
|
12353
|
-
if ("
|
12354
|
-
if ("
|
12355
|
-
if ("
|
12356
|
-
if ("
|
12357
|
-
if ("
|
12358
|
-
if ("
|
12359
|
-
if ("
|
12360
|
-
if ("
|
12391
|
+
if ("endpoint" in $$props) $$invalidate(26, endpoint = $$props.endpoint);
|
12392
|
+
if ("datasource" in $$props) $$invalidate(27, datasource = $$props.datasource);
|
12393
|
+
if ("lang" in $$props) $$invalidate(28, lang = $$props.lang);
|
12394
|
+
if ("session" in $$props) $$invalidate(29, session = $$props.session);
|
12395
|
+
if ("userid" in $$props) $$invalidate(30, userid = $$props.userid);
|
12396
|
+
if ("clientstyling" in $$props) $$invalidate(31, clientstyling = $$props.clientstyling);
|
12397
|
+
if ("clientstylingurl" in $$props) $$invalidate(32, clientstylingurl = $$props.clientstylingurl);
|
12398
|
+
if ("favorites" in $$props) $$invalidate(0, favorites = $$props.favorites);
|
12399
|
+
if ("loginurl" in $$props) $$invalidate(33, loginurl = $$props.loginurl);
|
12400
|
+
if ("registerurl" in $$props) $$invalidate(34, registerurl = $$props.registerurl);
|
12401
|
+
if ("depositurl" in $$props) $$invalidate(35, depositurl = $$props.depositurl);
|
12402
|
+
if ("loginevent" in $$props) $$invalidate(36, loginevent = $$props.loginevent);
|
12403
|
+
if ("registerevent" in $$props) $$invalidate(37, registerevent = $$props.registerevent);
|
12404
|
+
if ("depositevent" in $$props) $$invalidate(38, depositevent = $$props.depositevent);
|
12405
|
+
if ("clockformat" in $$props) $$invalidate(39, clockformat = $$props.clockformat);
|
12406
|
+
if ("time" in $$props) $$invalidate(1, time = $$props.time);
|
12407
|
+
if ("iframe" in $$props) $$invalidate(2, iframe = $$props.iframe);
|
12408
|
+
if ("isLoggedIn" in $$props) $$invalidate(3, isLoggedIn = $$props.isLoggedIn);
|
12409
|
+
if ("hasErrors" in $$props) $$invalidate(4, hasErrors = $$props.hasErrors);
|
12410
|
+
if ("isLoading" in $$props) $$invalidate(5, isLoading = $$props.isLoading);
|
12361
12411
|
if ("playerID" in $$props) playerID = $$props.playerID;
|
12362
12412
|
if ("sessionID" in $$props) sessionID = $$props.sessionID;
|
12363
|
-
if ("game" in $$props) $$invalidate(
|
12364
|
-
if ("detailsObtained" in $$props) $$invalidate(
|
12365
|
-
if ("funMode" in $$props) $$invalidate(
|
12366
|
-
if ("anonymousFunMode" in $$props) $$invalidate(
|
12367
|
-
if ("gameFrameContainer" in $$props) $$invalidate(
|
12368
|
-
if ("gameInnerContainer" in $$props) $$invalidate(
|
12369
|
-
if ("isFullscreen" in $$props) $$invalidate(
|
12370
|
-
if ("modalFrameWidth" in $$props) $$invalidate(
|
12371
|
-
if ("modalFrameHeight" in $$props) $$invalidate(
|
12413
|
+
if ("game" in $$props) $$invalidate(6, game = $$props.game);
|
12414
|
+
if ("detailsObtained" in $$props) $$invalidate(7, detailsObtained = $$props.detailsObtained);
|
12415
|
+
if ("funMode" in $$props) $$invalidate(8, funMode = $$props.funMode);
|
12416
|
+
if ("anonymousFunMode" in $$props) $$invalidate(9, anonymousFunMode = $$props.anonymousFunMode);
|
12417
|
+
if ("gameFrameContainer" in $$props) $$invalidate(10, gameFrameContainer = $$props.gameFrameContainer);
|
12418
|
+
if ("gameInnerContainer" in $$props) $$invalidate(11, gameInnerContainer = $$props.gameInnerContainer);
|
12419
|
+
if ("isFullscreen" in $$props) $$invalidate(12, isFullscreen = $$props.isFullscreen);
|
12420
|
+
if ("modalFrameWidth" in $$props) $$invalidate(13, modalFrameWidth = $$props.modalFrameWidth);
|
12421
|
+
if ("modalFrameHeight" in $$props) $$invalidate(14, modalFrameHeight = $$props.modalFrameHeight);
|
12372
12422
|
if ("gameFrameWidth" in $$props) gameFrameWidth = $$props.gameFrameWidth;
|
12373
12423
|
if ("gameFrameHeight" in $$props) gameFrameHeight = $$props.gameFrameHeight;
|
12374
|
-
if ("definitiveIframeWidth" in $$props) $$invalidate(
|
12375
|
-
if ("definitiveIframeHeight" in $$props) $$invalidate(
|
12424
|
+
if ("definitiveIframeWidth" in $$props) $$invalidate(15, definitiveIframeWidth = $$props.definitiveIframeWidth);
|
12425
|
+
if ("definitiveIframeHeight" in $$props) $$invalidate(16, definitiveIframeHeight = $$props.definitiveIframeHeight);
|
12376
12426
|
if ("userAgent" in $$props) userAgent = $$props.userAgent;
|
12377
|
-
if ("mobileView" in $$props) $$invalidate(
|
12427
|
+
if ("mobileView" in $$props) $$invalidate(17, mobileView = $$props.mobileView);
|
12378
12428
|
if ("favoriteGames" in $$props) favoriteGames = $$props.favoriteGames;
|
12379
|
-
if ("customStylingContainer" in $$props) $$invalidate(
|
12429
|
+
if ("customStylingContainer" in $$props) $$invalidate(18, customStylingContainer = $$props.customStylingContainer);
|
12380
12430
|
if ("openGameFrame" in $$props) openGameFrame = $$props.openGameFrame;
|
12381
12431
|
if ("keepIframeRatio" in $$props) keepIframeRatio = $$props.keepIframeRatio;
|
12382
12432
|
};
|
@@ -12386,24 +12436,25 @@
|
|
12386
12436
|
}
|
12387
12437
|
|
12388
12438
|
$$self.$$.update = () => {
|
12389
|
-
if ($$self.$$.dirty[0] & /*endpoint, datasource, lang*/
|
12439
|
+
if ($$self.$$.dirty[0] & /*endpoint, datasource, lang*/ 469762048) {
|
12390
12440
|
endpoint && datasource && lang && initialSetup();
|
12391
12441
|
}
|
12392
12442
|
|
12393
|
-
if ($$self.$$.dirty[0] & /*session, userid, endpoint*/
|
12443
|
+
if ($$self.$$.dirty[0] & /*session, userid, endpoint*/ 1677721600) {
|
12394
12444
|
session && userid && endpoint && setSession();
|
12395
12445
|
}
|
12396
12446
|
|
12397
|
-
if ($$self.$$.dirty[
|
12447
|
+
if ($$self.$$.dirty[1] & /*clientstyling*/ 1) {
|
12398
12448
|
clientstyling && setClientStyling();
|
12399
12449
|
}
|
12400
12450
|
|
12401
|
-
if ($$self.$$.dirty[1] & /*clientstylingurl*/
|
12451
|
+
if ($$self.$$.dirty[1] & /*clientstylingurl*/ 2) {
|
12402
12452
|
clientstylingurl && setClientStylingURL();
|
12403
12453
|
}
|
12404
12454
|
};
|
12405
12455
|
|
12406
12456
|
return [
|
12457
|
+
favorites,
|
12407
12458
|
time,
|
12408
12459
|
iframe,
|
12409
12460
|
isLoggedIn,
|
@@ -12487,24 +12538,32 @@
|
|
12487
12538
|
create_fragment,
|
12488
12539
|
safe_not_equal,
|
12489
12540
|
{
|
12490
|
-
endpoint:
|
12491
|
-
datasource:
|
12492
|
-
lang:
|
12493
|
-
session:
|
12494
|
-
userid:
|
12495
|
-
clientstyling:
|
12496
|
-
clientstylingurl:
|
12497
|
-
|
12498
|
-
|
12499
|
-
|
12500
|
-
|
12501
|
-
|
12502
|
-
|
12503
|
-
|
12541
|
+
endpoint: 26,
|
12542
|
+
datasource: 27,
|
12543
|
+
lang: 28,
|
12544
|
+
session: 29,
|
12545
|
+
userid: 30,
|
12546
|
+
clientstyling: 31,
|
12547
|
+
clientstylingurl: 32,
|
12548
|
+
favorites: 0,
|
12549
|
+
loginurl: 33,
|
12550
|
+
registerurl: 34,
|
12551
|
+
depositurl: 35,
|
12552
|
+
loginevent: 36,
|
12553
|
+
registerevent: 37,
|
12554
|
+
depositevent: 38,
|
12555
|
+
clockformat: 39
|
12504
12556
|
},
|
12505
12557
|
[-1, -1, -1]
|
12506
12558
|
);
|
12507
12559
|
|
12560
|
+
const { ctx } = this.$$;
|
12561
|
+
const props = this.attributes;
|
12562
|
+
|
12563
|
+
if (/*favorites*/ ctx[0] === undefined && !("favorites" in props)) {
|
12564
|
+
console_1.warn("<undefined> was created without expected prop 'favorites'");
|
12565
|
+
}
|
12566
|
+
|
12508
12567
|
if (options) {
|
12509
12568
|
if (options.target) {
|
12510
12569
|
insert_dev(options.target, this, options.anchor);
|
@@ -12526,6 +12585,7 @@
|
|
12526
12585
|
"userid",
|
12527
12586
|
"clientstyling",
|
12528
12587
|
"clientstylingurl",
|
12588
|
+
"favorites",
|
12529
12589
|
"loginurl",
|
12530
12590
|
"registerurl",
|
12531
12591
|
"depositurl",
|
@@ -12537,7 +12597,7 @@
|
|
12537
12597
|
}
|
12538
12598
|
|
12539
12599
|
get endpoint() {
|
12540
|
-
return this.$$.ctx[
|
12600
|
+
return this.$$.ctx[26];
|
12541
12601
|
}
|
12542
12602
|
|
12543
12603
|
set endpoint(endpoint) {
|
@@ -12546,7 +12606,7 @@
|
|
12546
12606
|
}
|
12547
12607
|
|
12548
12608
|
get datasource() {
|
12549
|
-
return this.$$.ctx[
|
12609
|
+
return this.$$.ctx[27];
|
12550
12610
|
}
|
12551
12611
|
|
12552
12612
|
set datasource(datasource) {
|
@@ -12555,7 +12615,7 @@
|
|
12555
12615
|
}
|
12556
12616
|
|
12557
12617
|
get lang() {
|
12558
|
-
return this.$$.ctx[
|
12618
|
+
return this.$$.ctx[28];
|
12559
12619
|
}
|
12560
12620
|
|
12561
12621
|
set lang(lang) {
|
@@ -12564,7 +12624,7 @@
|
|
12564
12624
|
}
|
12565
12625
|
|
12566
12626
|
get session() {
|
12567
|
-
return this.$$.ctx[
|
12627
|
+
return this.$$.ctx[29];
|
12568
12628
|
}
|
12569
12629
|
|
12570
12630
|
set session(session) {
|
@@ -12573,7 +12633,7 @@
|
|
12573
12633
|
}
|
12574
12634
|
|
12575
12635
|
get userid() {
|
12576
|
-
return this.$$.ctx[
|
12636
|
+
return this.$$.ctx[30];
|
12577
12637
|
}
|
12578
12638
|
|
12579
12639
|
set userid(userid) {
|
@@ -12582,7 +12642,7 @@
|
|
12582
12642
|
}
|
12583
12643
|
|
12584
12644
|
get clientstyling() {
|
12585
|
-
return this.$$.ctx[
|
12645
|
+
return this.$$.ctx[31];
|
12586
12646
|
}
|
12587
12647
|
|
12588
12648
|
set clientstyling(clientstyling) {
|
@@ -12591,7 +12651,7 @@
|
|
12591
12651
|
}
|
12592
12652
|
|
12593
12653
|
get clientstylingurl() {
|
12594
|
-
return this.$$.ctx[
|
12654
|
+
return this.$$.ctx[32];
|
12595
12655
|
}
|
12596
12656
|
|
12597
12657
|
set clientstylingurl(clientstylingurl) {
|
@@ -12599,8 +12659,17 @@
|
|
12599
12659
|
flush();
|
12600
12660
|
}
|
12601
12661
|
|
12662
|
+
get favorites() {
|
12663
|
+
return this.$$.ctx[0];
|
12664
|
+
}
|
12665
|
+
|
12666
|
+
set favorites(favorites) {
|
12667
|
+
this.$set({ favorites });
|
12668
|
+
flush();
|
12669
|
+
}
|
12670
|
+
|
12602
12671
|
get loginurl() {
|
12603
|
-
return this.$$.ctx[
|
12672
|
+
return this.$$.ctx[33];
|
12604
12673
|
}
|
12605
12674
|
|
12606
12675
|
set loginurl(loginurl) {
|
@@ -12609,7 +12678,7 @@
|
|
12609
12678
|
}
|
12610
12679
|
|
12611
12680
|
get registerurl() {
|
12612
|
-
return this.$$.ctx[
|
12681
|
+
return this.$$.ctx[34];
|
12613
12682
|
}
|
12614
12683
|
|
12615
12684
|
set registerurl(registerurl) {
|
@@ -12618,7 +12687,7 @@
|
|
12618
12687
|
}
|
12619
12688
|
|
12620
12689
|
get depositurl() {
|
12621
|
-
return this.$$.ctx[
|
12690
|
+
return this.$$.ctx[35];
|
12622
12691
|
}
|
12623
12692
|
|
12624
12693
|
set depositurl(depositurl) {
|
@@ -12627,7 +12696,7 @@
|
|
12627
12696
|
}
|
12628
12697
|
|
12629
12698
|
get loginevent() {
|
12630
|
-
return this.$$.ctx[
|
12699
|
+
return this.$$.ctx[36];
|
12631
12700
|
}
|
12632
12701
|
|
12633
12702
|
set loginevent(loginevent) {
|
@@ -12636,7 +12705,7 @@
|
|
12636
12705
|
}
|
12637
12706
|
|
12638
12707
|
get registerevent() {
|
12639
|
-
return this.$$.ctx[
|
12708
|
+
return this.$$.ctx[37];
|
12640
12709
|
}
|
12641
12710
|
|
12642
12711
|
set registerevent(registerevent) {
|
@@ -12645,7 +12714,7 @@
|
|
12645
12714
|
}
|
12646
12715
|
|
12647
12716
|
get depositevent() {
|
12648
|
-
return this.$$.ctx[
|
12717
|
+
return this.$$.ctx[38];
|
12649
12718
|
}
|
12650
12719
|
|
12651
12720
|
set depositevent(depositevent) {
|
@@ -12654,7 +12723,7 @@
|
|
12654
12723
|
}
|
12655
12724
|
|
12656
12725
|
get clockformat() {
|
12657
|
-
return this.$$.ctx[
|
12726
|
+
return this.$$.ctx[39];
|
12658
12727
|
}
|
12659
12728
|
|
12660
12729
|
set clockformat(clockformat) {
|