@everymatrix/casino-game-page 0.0.163 → 0.0.164
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 +688 -576
- package/dist/casino-game-page.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoGamePage.svelte +16 -11
package/dist/casino-game-page.js
CHANGED
@@ -10322,25 +10322,25 @@
|
|
10322
10322
|
const { Object: Object_1, console: console_1 } = globals;
|
10323
10323
|
const file = "src/CasinoGamePage.svelte";
|
10324
10324
|
|
10325
|
-
// (
|
10325
|
+
// (346:2) {:else}
|
10326
10326
|
function create_else_block(ctx) {
|
10327
10327
|
let div;
|
10328
|
-
let if_block = /*detailsObtained*/ ctx[
|
10328
|
+
let if_block = /*detailsObtained*/ ctx[8] && create_if_block_2(ctx);
|
10329
10329
|
|
10330
10330
|
const block = {
|
10331
10331
|
c: function create() {
|
10332
10332
|
div = element("div");
|
10333
10333
|
if (if_block) if_block.c();
|
10334
10334
|
attr_dev(div, "class", "CasinoGamePageContainer");
|
10335
|
-
add_location(div, file,
|
10335
|
+
add_location(div, file, 346, 4, 12056);
|
10336
10336
|
},
|
10337
10337
|
m: function mount(target, anchor) {
|
10338
10338
|
insert_dev(target, div, anchor);
|
10339
10339
|
if (if_block) if_block.m(div, null);
|
10340
|
-
/*div_binding*/ ctx[
|
10340
|
+
/*div_binding*/ ctx[68](div);
|
10341
10341
|
},
|
10342
10342
|
p: function update(ctx, dirty) {
|
10343
|
-
if (/*detailsObtained*/ ctx[
|
10343
|
+
if (/*detailsObtained*/ ctx[8]) {
|
10344
10344
|
if (if_block) {
|
10345
10345
|
if_block.p(ctx, dirty);
|
10346
10346
|
} else {
|
@@ -10356,7 +10356,7 @@
|
|
10356
10356
|
d: function destroy(detaching) {
|
10357
10357
|
if (detaching) detach_dev(div);
|
10358
10358
|
if (if_block) if_block.d();
|
10359
|
-
/*div_binding*/ ctx[
|
10359
|
+
/*div_binding*/ ctx[68](null);
|
10360
10360
|
}
|
10361
10361
|
};
|
10362
10362
|
|
@@ -10364,14 +10364,14 @@
|
|
10364
10364
|
block,
|
10365
10365
|
id: create_else_block.name,
|
10366
10366
|
type: "else",
|
10367
|
-
source: "(
|
10367
|
+
source: "(346:2) {:else}",
|
10368
10368
|
ctx
|
10369
10369
|
});
|
10370
10370
|
|
10371
10371
|
return block;
|
10372
10372
|
}
|
10373
10373
|
|
10374
|
-
// (
|
10374
|
+
// (344:2) {#if hasErrors}
|
10375
10375
|
function create_if_block_1(ctx) {
|
10376
10376
|
let p;
|
10377
10377
|
|
@@ -10380,7 +10380,7 @@
|
|
10380
10380
|
p = element("p");
|
10381
10381
|
p.textContent = "500 Error - Internal Server Error.";
|
10382
10382
|
attr_dev(p, "class", "SearchLoading");
|
10383
|
-
add_location(p, file,
|
10383
|
+
add_location(p, file, 344, 4, 11978);
|
10384
10384
|
},
|
10385
10385
|
m: function mount(target, anchor) {
|
10386
10386
|
insert_dev(target, p, anchor);
|
@@ -10395,14 +10395,14 @@
|
|
10395
10395
|
block,
|
10396
10396
|
id: create_if_block_1.name,
|
10397
10397
|
type: "if",
|
10398
|
-
source: "(
|
10398
|
+
source: "(344:2) {#if hasErrors}",
|
10399
10399
|
ctx
|
10400
10400
|
});
|
10401
10401
|
|
10402
10402
|
return block;
|
10403
10403
|
}
|
10404
10404
|
|
10405
|
-
// (
|
10405
|
+
// (341:0) {#if isLoading}
|
10406
10406
|
function create_if_block(ctx) {
|
10407
10407
|
let p;
|
10408
10408
|
|
@@ -10411,7 +10411,7 @@
|
|
10411
10411
|
p = element("p");
|
10412
10412
|
p.textContent = "Loading, please wait ...";
|
10413
10413
|
attr_dev(p, "class", "SearchLoading");
|
10414
|
-
add_location(p, file,
|
10414
|
+
add_location(p, file, 341, 2, 11894);
|
10415
10415
|
},
|
10416
10416
|
m: function mount(target, anchor) {
|
10417
10417
|
insert_dev(target, p, anchor);
|
@@ -10426,21 +10426,21 @@
|
|
10426
10426
|
block,
|
10427
10427
|
id: create_if_block.name,
|
10428
10428
|
type: "if",
|
10429
|
-
source: "(
|
10429
|
+
source: "(341:0) {#if isLoading}",
|
10430
10430
|
ctx
|
10431
10431
|
});
|
10432
10432
|
|
10433
10433
|
return block;
|
10434
10434
|
}
|
10435
10435
|
|
10436
|
-
// (
|
10436
|
+
// (348:6) {#if detailsObtained}
|
10437
10437
|
function create_if_block_2(ctx) {
|
10438
10438
|
let if_block_anchor;
|
10439
10439
|
|
10440
10440
|
function select_block_type_1(ctx, dirty) {
|
10441
|
-
if (/*mobileView*/ ctx[
|
10442
|
-
if (/*isLoggedIn*/ ctx[
|
10443
|
-
if (/*funMode*/ ctx[
|
10441
|
+
if (/*mobileView*/ ctx[18]) return create_if_block_3;
|
10442
|
+
if (/*isLoggedIn*/ ctx[4]) return create_if_block_9;
|
10443
|
+
if (/*funMode*/ ctx[9]) return create_if_block_12;
|
10444
10444
|
return create_else_block_5;
|
10445
10445
|
}
|
10446
10446
|
|
@@ -10479,18 +10479,18 @@
|
|
10479
10479
|
block,
|
10480
10480
|
id: create_if_block_2.name,
|
10481
10481
|
type: "if",
|
10482
|
-
source: "(
|
10482
|
+
source: "(348:6) {#if detailsObtained}",
|
10483
10483
|
ctx
|
10484
10484
|
});
|
10485
10485
|
|
10486
10486
|
return block;
|
10487
10487
|
}
|
10488
10488
|
|
10489
|
-
// (
|
10489
|
+
// (465:12) {:else}
|
10490
10490
|
function create_else_block_5(ctx) {
|
10491
10491
|
let div1;
|
10492
10492
|
let h3;
|
10493
|
-
let t0_value = /*game*/ ctx[
|
10493
|
+
let t0_value = /*game*/ ctx[7].name + "";
|
10494
10494
|
let t0;
|
10495
10495
|
let t1;
|
10496
10496
|
let img;
|
@@ -10498,11 +10498,11 @@
|
|
10498
10498
|
let t2;
|
10499
10499
|
let div0;
|
10500
10500
|
let button0;
|
10501
|
-
let t3_value = /*$_*/ ctx[
|
10501
|
+
let t3_value = /*$_*/ ctx[20]("gamePage.signIn") + "";
|
10502
10502
|
let t3;
|
10503
10503
|
let t4;
|
10504
10504
|
let button1;
|
10505
|
-
let t5_value = /*$_*/ ctx[
|
10505
|
+
let t5_value = /*$_*/ ctx[20]("gamePage.register") + "";
|
10506
10506
|
let t5;
|
10507
10507
|
let t6;
|
10508
10508
|
let p;
|
@@ -10526,22 +10526,22 @@
|
|
10526
10526
|
t5 = text(t5_value);
|
10527
10527
|
t6 = space();
|
10528
10528
|
p = element("p");
|
10529
|
-
t7 = text(/*time*/ ctx[
|
10530
|
-
add_location(h3, file,
|
10531
|
-
if (img.src !== (img_src_value = /*game*/ ctx[
|
10529
|
+
t7 = text(/*time*/ ctx[2]);
|
10530
|
+
add_location(h3, file, 466, 16, 22366);
|
10531
|
+
if (img.src !== (img_src_value = /*game*/ ctx[7].thumbnail)) attr_dev(img, "src", img_src_value);
|
10532
10532
|
attr_dev(img, "class", "GameThumbnail");
|
10533
10533
|
attr_dev(img, "alt", "game thumbnail");
|
10534
10534
|
attr_dev(img, "loading", "lazy");
|
10535
|
-
add_location(img, file,
|
10535
|
+
add_location(img, file, 467, 16, 22403);
|
10536
10536
|
attr_dev(button0, "class", "LoginButton");
|
10537
|
-
add_location(button0, file,
|
10537
|
+
add_location(button0, file, 469, 18, 22556);
|
10538
10538
|
attr_dev(button1, "class", "RegisterButton");
|
10539
|
-
add_location(button1, file,
|
10539
|
+
add_location(button1, file, 470, 18, 22668);
|
10540
10540
|
attr_dev(div0, "class", "ButtonsContainer");
|
10541
|
-
add_location(div0, file,
|
10542
|
-
add_location(p, file,
|
10541
|
+
add_location(div0, file, 468, 16, 22507);
|
10542
|
+
add_location(p, file, 472, 16, 22809);
|
10543
10543
|
attr_dev(div1, "class", "GameDetails");
|
10544
|
-
add_location(div1, file,
|
10544
|
+
add_location(div1, file, 465, 14, 22324);
|
10545
10545
|
},
|
10546
10546
|
m: function mount(target, anchor) {
|
10547
10547
|
insert_dev(target, div1, anchor);
|
@@ -10562,23 +10562,23 @@
|
|
10562
10562
|
|
10563
10563
|
if (!mounted) {
|
10564
10564
|
dispose = [
|
10565
|
-
listen_dev(button0, "click", /*click_handler_17*/ ctx[
|
10566
|
-
listen_dev(button1, "click", /*click_handler_18*/ ctx[
|
10565
|
+
listen_dev(button0, "click", /*click_handler_17*/ ctx[66], false, false, false),
|
10566
|
+
listen_dev(button1, "click", /*click_handler_18*/ ctx[67], false, false, false)
|
10567
10567
|
];
|
10568
10568
|
|
10569
10569
|
mounted = true;
|
10570
10570
|
}
|
10571
10571
|
},
|
10572
10572
|
p: function update(ctx, dirty) {
|
10573
|
-
if (dirty[0] & /*game*/
|
10573
|
+
if (dirty[0] & /*game*/ 128 && t0_value !== (t0_value = /*game*/ ctx[7].name + "")) set_data_dev(t0, t0_value);
|
10574
10574
|
|
10575
|
-
if (dirty[0] & /*game*/
|
10575
|
+
if (dirty[0] & /*game*/ 128 && img.src !== (img_src_value = /*game*/ ctx[7].thumbnail)) {
|
10576
10576
|
attr_dev(img, "src", img_src_value);
|
10577
10577
|
}
|
10578
10578
|
|
10579
|
-
if (dirty[0] & /*$_*/
|
10580
|
-
if (dirty[0] & /*$_*/
|
10581
|
-
if (dirty[0] & /*time*/
|
10579
|
+
if (dirty[0] & /*$_*/ 1048576 && t3_value !== (t3_value = /*$_*/ ctx[20]("gamePage.signIn") + "")) set_data_dev(t3, t3_value);
|
10580
|
+
if (dirty[0] & /*$_*/ 1048576 && t5_value !== (t5_value = /*$_*/ ctx[20]("gamePage.register") + "")) set_data_dev(t5, t5_value);
|
10581
|
+
if (dirty[0] & /*time*/ 4) set_data_dev(t7, /*time*/ ctx[2]);
|
10582
10582
|
},
|
10583
10583
|
d: function destroy(detaching) {
|
10584
10584
|
if (detaching) detach_dev(div1);
|
@@ -10591,15 +10591,15 @@
|
|
10591
10591
|
block,
|
10592
10592
|
id: create_else_block_5.name,
|
10593
10593
|
type: "else",
|
10594
|
-
source: "(
|
10594
|
+
source: "(465:12) {:else}",
|
10595
10595
|
ctx
|
10596
10596
|
});
|
10597
10597
|
|
10598
10598
|
return block;
|
10599
10599
|
}
|
10600
10600
|
|
10601
|
-
// (
|
10602
|
-
function
|
10601
|
+
// (443:12) {#if funMode}
|
10602
|
+
function create_if_block_12(ctx) {
|
10603
10603
|
let div3;
|
10604
10604
|
let div2;
|
10605
10605
|
let iframe_1;
|
@@ -10608,11 +10608,11 @@
|
|
10608
10608
|
let div1;
|
10609
10609
|
let div0;
|
10610
10610
|
let button0;
|
10611
|
-
let t1_value = /*$_*/ ctx[
|
10611
|
+
let t1_value = /*$_*/ ctx[20]("gamePage.signIn") + "";
|
10612
10612
|
let t1;
|
10613
10613
|
let t2;
|
10614
10614
|
let button1;
|
10615
|
-
let t3_value = /*$_*/ ctx[
|
10615
|
+
let t3_value = /*$_*/ ctx[20]("gamePage.register") + "";
|
10616
10616
|
let t3;
|
10617
10617
|
let t4;
|
10618
10618
|
let t5;
|
@@ -10623,7 +10623,7 @@
|
|
10623
10623
|
let dispose;
|
10624
10624
|
|
10625
10625
|
function select_block_type_5(ctx, dirty) {
|
10626
|
-
if (/*isFullscreen*/ ctx[
|
10626
|
+
if (/*isFullscreen*/ ctx[13]) return create_if_block_13;
|
10627
10627
|
return create_else_block_4;
|
10628
10628
|
}
|
10629
10629
|
|
@@ -10648,53 +10648,53 @@
|
|
10648
10648
|
t5 = space();
|
10649
10649
|
p = element("p");
|
10650
10650
|
span = element("span");
|
10651
|
-
t6 = text(/*time*/ ctx[
|
10651
|
+
t6 = text(/*time*/ ctx[2]);
|
10652
10652
|
attr_dev(iframe_1, "title", "Games");
|
10653
10653
|
attr_dev(iframe_1, "class", "GamesContainer");
|
10654
10654
|
attr_dev(iframe_1, "aria-hidden", "false");
|
10655
|
-
if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[
|
10656
|
-
add_location(iframe_1, file,
|
10655
|
+
if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[7].launchUrl)) attr_dev(iframe_1, "src", iframe_1_src_value);
|
10656
|
+
add_location(iframe_1, file, 445, 18, 20408);
|
10657
10657
|
attr_dev(button0, "class", "LoginButton");
|
10658
|
-
add_location(button0, file,
|
10658
|
+
add_location(button0, file, 448, 22, 20631);
|
10659
10659
|
attr_dev(button1, "class", "RegisterButton");
|
10660
|
-
add_location(button1, file,
|
10660
|
+
add_location(button1, file, 449, 22, 20747);
|
10661
10661
|
attr_dev(div0, "class", "ButtonsContainer");
|
10662
|
-
add_location(div0, file,
|
10662
|
+
add_location(div0, file, 447, 20, 20578);
|
10663
10663
|
attr_dev(div1, "class", "BottomGame");
|
10664
|
-
add_location(div1, file,
|
10665
|
-
add_location(span, file,
|
10664
|
+
add_location(div1, file, 446, 18, 20533);
|
10665
|
+
add_location(span, file, 461, 34, 22222);
|
10666
10666
|
attr_dev(p, "class", "Time");
|
10667
|
-
add_location(p, file,
|
10667
|
+
add_location(p, file, 461, 18, 22206);
|
10668
10668
|
attr_dev(div2, "id", "IframeGame");
|
10669
10669
|
|
10670
|
-
set_style(div2, "width", /*isFullscreen*/ ctx[
|
10670
|
+
set_style(div2, "width", /*isFullscreen*/ ctx[13]
|
10671
10671
|
? "100%"
|
10672
|
-
: /*definitiveIframeWidth*/ ctx[
|
10672
|
+
: /*definitiveIframeWidth*/ ctx[16]);
|
10673
10673
|
|
10674
|
-
set_style(div2, "height", /*isFullscreen*/ ctx[
|
10674
|
+
set_style(div2, "height", /*isFullscreen*/ ctx[13]
|
10675
10675
|
? "100%"
|
10676
|
-
: /*definitiveIframeHeight*/ ctx[
|
10676
|
+
: /*definitiveIframeHeight*/ ctx[17]);
|
10677
10677
|
|
10678
|
-
set_style(div2, "max-width", /*isFullscreen*/ ctx[
|
10678
|
+
set_style(div2, "max-width", /*isFullscreen*/ ctx[13]
|
10679
10679
|
? "none"
|
10680
|
-
: /*game*/ ctx[
|
10680
|
+
: /*game*/ ctx[7].width + "px");
|
10681
10681
|
|
10682
|
-
set_style(div2, "max-height", /*isFullscreen*/ ctx[
|
10682
|
+
set_style(div2, "max-height", /*isFullscreen*/ ctx[13]
|
10683
10683
|
? "none"
|
10684
|
-
: /*game*/ ctx[
|
10684
|
+
: /*game*/ ctx[7].height + 100 + "px");
|
10685
10685
|
|
10686
|
-
add_location(div2, file,
|
10686
|
+
add_location(div2, file, 444, 16, 20094);
|
10687
10687
|
attr_dev(div3, "id", "IframeContainer");
|
10688
|
-
set_style(div3, "width", /*modalFrameWidth*/ ctx[
|
10689
|
-
set_style(div3, "height", /*modalFrameHeight*/ ctx[
|
10690
|
-
toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[
|
10691
|
-
add_location(div3, file,
|
10688
|
+
set_style(div3, "width", /*modalFrameWidth*/ ctx[14]);
|
10689
|
+
set_style(div3, "height", /*modalFrameHeight*/ ctx[15]);
|
10690
|
+
toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[13]);
|
10691
|
+
add_location(div3, file, 443, 14, 19920);
|
10692
10692
|
},
|
10693
10693
|
m: function mount(target, anchor) {
|
10694
10694
|
insert_dev(target, div3, anchor);
|
10695
10695
|
append_dev(div3, div2);
|
10696
10696
|
append_dev(div2, iframe_1);
|
10697
|
-
/*iframe_1_binding_1*/ ctx[
|
10697
|
+
/*iframe_1_binding_1*/ ctx[59](iframe_1);
|
10698
10698
|
append_dev(div2, t0);
|
10699
10699
|
append_dev(div2, div1);
|
10700
10700
|
append_dev(div1, div0);
|
@@ -10709,25 +10709,25 @@
|
|
10709
10709
|
append_dev(div2, p);
|
10710
10710
|
append_dev(p, span);
|
10711
10711
|
append_dev(span, t6);
|
10712
|
-
/*div2_binding_1*/ ctx[
|
10713
|
-
/*
|
10712
|
+
/*div2_binding_1*/ ctx[64](div2);
|
10713
|
+
/*div3_binding*/ ctx[65](div3);
|
10714
10714
|
|
10715
10715
|
if (!mounted) {
|
10716
10716
|
dispose = [
|
10717
|
-
listen_dev(button0, "click", /*click_handler_13*/ ctx[
|
10718
|
-
listen_dev(button1, "click", /*click_handler_14*/ ctx[
|
10717
|
+
listen_dev(button0, "click", /*click_handler_13*/ ctx[60], false, false, false),
|
10718
|
+
listen_dev(button1, "click", /*click_handler_14*/ ctx[61], false, false, false)
|
10719
10719
|
];
|
10720
10720
|
|
10721
10721
|
mounted = true;
|
10722
10722
|
}
|
10723
10723
|
},
|
10724
10724
|
p: function update(ctx, dirty) {
|
10725
|
-
if (dirty[0] & /*game*/
|
10725
|
+
if (dirty[0] & /*game*/ 128 && iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[7].launchUrl)) {
|
10726
10726
|
attr_dev(iframe_1, "src", iframe_1_src_value);
|
10727
10727
|
}
|
10728
10728
|
|
10729
|
-
if (dirty[0] & /*$_*/
|
10730
|
-
if (dirty[0] & /*$_*/
|
10729
|
+
if (dirty[0] & /*$_*/ 1048576 && t1_value !== (t1_value = /*$_*/ ctx[20]("gamePage.signIn") + "")) set_data_dev(t1, t1_value);
|
10730
|
+
if (dirty[0] & /*$_*/ 1048576 && t3_value !== (t3_value = /*$_*/ ctx[20]("gamePage.register") + "")) set_data_dev(t3, t3_value);
|
10731
10731
|
|
10732
10732
|
if (current_block_type === (current_block_type = select_block_type_5(ctx)) && if_block) {
|
10733
10733
|
if_block.p(ctx, dirty);
|
@@ -10741,50 +10741,50 @@
|
|
10741
10741
|
}
|
10742
10742
|
}
|
10743
10743
|
|
10744
|
-
if (dirty[0] & /*time*/
|
10744
|
+
if (dirty[0] & /*time*/ 4) set_data_dev(t6, /*time*/ ctx[2]);
|
10745
10745
|
|
10746
|
-
if (dirty[0] & /*isFullscreen, definitiveIframeWidth*/
|
10747
|
-
set_style(div2, "width", /*isFullscreen*/ ctx[
|
10746
|
+
if (dirty[0] & /*isFullscreen, definitiveIframeWidth*/ 73728) {
|
10747
|
+
set_style(div2, "width", /*isFullscreen*/ ctx[13]
|
10748
10748
|
? "100%"
|
10749
|
-
: /*definitiveIframeWidth*/ ctx[
|
10749
|
+
: /*definitiveIframeWidth*/ ctx[16]);
|
10750
10750
|
}
|
10751
10751
|
|
10752
|
-
if (dirty[0] & /*isFullscreen, definitiveIframeHeight*/
|
10753
|
-
set_style(div2, "height", /*isFullscreen*/ ctx[
|
10752
|
+
if (dirty[0] & /*isFullscreen, definitiveIframeHeight*/ 139264) {
|
10753
|
+
set_style(div2, "height", /*isFullscreen*/ ctx[13]
|
10754
10754
|
? "100%"
|
10755
|
-
: /*definitiveIframeHeight*/ ctx[
|
10755
|
+
: /*definitiveIframeHeight*/ ctx[17]);
|
10756
10756
|
}
|
10757
10757
|
|
10758
|
-
if (dirty[0] & /*isFullscreen, game*/
|
10759
|
-
set_style(div2, "max-width", /*isFullscreen*/ ctx[
|
10758
|
+
if (dirty[0] & /*isFullscreen, game*/ 8320) {
|
10759
|
+
set_style(div2, "max-width", /*isFullscreen*/ ctx[13]
|
10760
10760
|
? "none"
|
10761
|
-
: /*game*/ ctx[
|
10761
|
+
: /*game*/ ctx[7].width + "px");
|
10762
10762
|
}
|
10763
10763
|
|
10764
|
-
if (dirty[0] & /*isFullscreen, game*/
|
10765
|
-
set_style(div2, "max-height", /*isFullscreen*/ ctx[
|
10764
|
+
if (dirty[0] & /*isFullscreen, game*/ 8320) {
|
10765
|
+
set_style(div2, "max-height", /*isFullscreen*/ ctx[13]
|
10766
10766
|
? "none"
|
10767
|
-
: /*game*/ ctx[
|
10767
|
+
: /*game*/ ctx[7].height + 100 + "px");
|
10768
10768
|
}
|
10769
10769
|
|
10770
|
-
if (dirty[0] & /*modalFrameWidth*/
|
10771
|
-
set_style(div3, "width", /*modalFrameWidth*/ ctx[
|
10770
|
+
if (dirty[0] & /*modalFrameWidth*/ 16384) {
|
10771
|
+
set_style(div3, "width", /*modalFrameWidth*/ ctx[14]);
|
10772
10772
|
}
|
10773
10773
|
|
10774
|
-
if (dirty[0] & /*modalFrameHeight*/
|
10775
|
-
set_style(div3, "height", /*modalFrameHeight*/ ctx[
|
10774
|
+
if (dirty[0] & /*modalFrameHeight*/ 32768) {
|
10775
|
+
set_style(div3, "height", /*modalFrameHeight*/ ctx[15]);
|
10776
10776
|
}
|
10777
10777
|
|
10778
|
-
if (dirty[0] & /*isFullscreen*/
|
10779
|
-
toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[
|
10778
|
+
if (dirty[0] & /*isFullscreen*/ 8192) {
|
10779
|
+
toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[13]);
|
10780
10780
|
}
|
10781
10781
|
},
|
10782
10782
|
d: function destroy(detaching) {
|
10783
10783
|
if (detaching) detach_dev(div3);
|
10784
|
-
/*iframe_1_binding_1*/ ctx[
|
10784
|
+
/*iframe_1_binding_1*/ ctx[59](null);
|
10785
10785
|
if_block.d();
|
10786
|
-
/*div2_binding_1*/ ctx[
|
10787
|
-
/*
|
10786
|
+
/*div2_binding_1*/ ctx[64](null);
|
10787
|
+
/*div3_binding*/ ctx[65](null);
|
10788
10788
|
mounted = false;
|
10789
10789
|
run_all(dispose);
|
10790
10790
|
}
|
@@ -10792,233 +10792,201 @@
|
|
10792
10792
|
|
10793
10793
|
dispatch_dev("SvelteRegisterBlock", {
|
10794
10794
|
block,
|
10795
|
-
id:
|
10795
|
+
id: create_if_block_12.name,
|
10796
10796
|
type: "if",
|
10797
|
-
source: "(
|
10797
|
+
source: "(443:12) {#if funMode}",
|
10798
10798
|
ctx
|
10799
10799
|
});
|
10800
10800
|
|
10801
10801
|
return block;
|
10802
10802
|
}
|
10803
10803
|
|
10804
|
-
// (
|
10805
|
-
function
|
10806
|
-
let div3;
|
10804
|
+
// (416:10) {#if isLoggedIn}
|
10805
|
+
function create_if_block_9(ctx) {
|
10807
10806
|
let div2;
|
10807
|
+
let div1;
|
10808
10808
|
let iframe_1;
|
10809
10809
|
let iframe_1_src_value;
|
10810
10810
|
let t0;
|
10811
|
-
let
|
10812
|
-
let
|
10813
|
-
let t1_value = /*$_*/ ctx[
|
10811
|
+
let div0;
|
10812
|
+
let button;
|
10813
|
+
let t1_value = /*$_*/ ctx[20]("gamePage.deposit") + "";
|
10814
10814
|
let t1;
|
10815
10815
|
let t2;
|
10816
|
-
let div0;
|
10817
|
-
let svg;
|
10818
|
-
let path;
|
10819
10816
|
let t3;
|
10820
|
-
let p0;
|
10821
|
-
let t4_value = /*$_*/ ctx[19]("gamePage.break") + "";
|
10822
10817
|
let t4;
|
10823
|
-
let
|
10824
|
-
let button1;
|
10825
|
-
let t6_value = /*$_*/ ctx[19]("gamePage.breakButton") + "";
|
10826
|
-
let t6;
|
10827
|
-
let t7;
|
10828
|
-
let t8;
|
10829
|
-
let p1;
|
10818
|
+
let p;
|
10830
10819
|
let span;
|
10831
|
-
let
|
10820
|
+
let t5;
|
10832
10821
|
let mounted;
|
10833
10822
|
let dispose;
|
10823
|
+
let if_block0 = /*haspanicbutton*/ ctx[1] === "true" && create_if_block_11(ctx);
|
10834
10824
|
|
10835
10825
|
function select_block_type_4(ctx, dirty) {
|
10836
|
-
if (/*isFullscreen*/ ctx[
|
10826
|
+
if (/*isFullscreen*/ ctx[13]) return create_if_block_10;
|
10837
10827
|
return create_else_block_3;
|
10838
10828
|
}
|
10839
10829
|
|
10840
10830
|
let current_block_type = select_block_type_4(ctx);
|
10841
|
-
let
|
10831
|
+
let if_block1 = current_block_type(ctx);
|
10842
10832
|
|
10843
10833
|
const block = {
|
10844
10834
|
c: function create() {
|
10845
|
-
div3 = element("div");
|
10846
10835
|
div2 = element("div");
|
10836
|
+
div1 = element("div");
|
10847
10837
|
iframe_1 = element("iframe");
|
10848
10838
|
t0 = space();
|
10849
|
-
|
10850
|
-
|
10839
|
+
div0 = element("div");
|
10840
|
+
button = element("button");
|
10851
10841
|
t1 = text(t1_value);
|
10852
10842
|
t2 = space();
|
10853
|
-
|
10854
|
-
svg = svg_element("svg");
|
10855
|
-
path = svg_element("path");
|
10843
|
+
if (if_block0) if_block0.c();
|
10856
10844
|
t3 = space();
|
10857
|
-
|
10858
|
-
t4 =
|
10859
|
-
|
10860
|
-
button1 = element("button");
|
10861
|
-
t6 = text(t6_value);
|
10862
|
-
t7 = space();
|
10863
|
-
if_block.c();
|
10864
|
-
t8 = space();
|
10865
|
-
p1 = element("p");
|
10845
|
+
if_block1.c();
|
10846
|
+
t4 = space();
|
10847
|
+
p = element("p");
|
10866
10848
|
span = element("span");
|
10867
|
-
|
10849
|
+
t5 = text(/*time*/ ctx[2]);
|
10868
10850
|
attr_dev(iframe_1, "title", "Games");
|
10869
10851
|
attr_dev(iframe_1, "id", "IframeGame");
|
10870
10852
|
attr_dev(iframe_1, "class", "GamesContainer");
|
10871
10853
|
attr_dev(iframe_1, "aria-hidden", "false");
|
10872
|
-
if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[
|
10873
|
-
add_location(iframe_1, file,
|
10874
|
-
attr_dev(
|
10875
|
-
add_location(
|
10876
|
-
attr_dev(
|
10877
|
-
|
10878
|
-
|
10879
|
-
attr_dev(
|
10880
|
-
add_location(
|
10881
|
-
attr_dev(
|
10882
|
-
attr_dev(svg, "fill", "none");
|
10883
|
-
attr_dev(svg, "stroke", "white");
|
10884
|
-
attr_dev(svg, "width", "34px");
|
10885
|
-
attr_dev(svg, "height", "34px");
|
10886
|
-
attr_dev(svg, "viewBox", "0 0 24 24");
|
10887
|
-
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
10888
|
-
add_location(svg, file, 419, 20, 17777);
|
10889
|
-
add_location(p0, file, 420, 20, 18059);
|
10890
|
-
attr_dev(button1, "class", "Button");
|
10891
|
-
add_location(button1, file, 421, 20, 18109);
|
10892
|
-
attr_dev(div0, "class", "PanicSection");
|
10893
|
-
add_location(div0, file, 418, 18, 17730);
|
10894
|
-
attr_dev(div1, "class", "BottomGame");
|
10895
|
-
add_location(div1, file, 416, 16, 17570);
|
10896
|
-
add_location(span, file, 433, 32, 19597);
|
10897
|
-
attr_dev(p1, "class", "Time");
|
10898
|
-
add_location(p1, file, 433, 16, 19581);
|
10899
|
-
attr_dev(div2, "id", "IframeGame");
|
10854
|
+
if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[7].launchUrl)) attr_dev(iframe_1, "src", iframe_1_src_value);
|
10855
|
+
add_location(iframe_1, file, 418, 16, 17548);
|
10856
|
+
attr_dev(button, "class", "DepositButton");
|
10857
|
+
add_location(button, file, 420, 18, 17730);
|
10858
|
+
attr_dev(div0, "class", "BottomGame");
|
10859
|
+
add_location(div0, file, 419, 16, 17687);
|
10860
|
+
add_location(span, file, 438, 32, 19798);
|
10861
|
+
attr_dev(p, "class", "Time");
|
10862
|
+
add_location(p, file, 438, 16, 19782);
|
10863
|
+
attr_dev(div1, "id", "IframeGame");
|
10900
10864
|
|
10901
|
-
set_style(
|
10865
|
+
set_style(div1, "width", /*isFullscreen*/ ctx[13]
|
10902
10866
|
? "100%"
|
10903
|
-
: /*definitiveIframeWidth*/ ctx[
|
10867
|
+
: /*definitiveIframeWidth*/ ctx[16]);
|
10904
10868
|
|
10905
|
-
set_style(
|
10869
|
+
set_style(div1, "height", /*isFullscreen*/ ctx[13]
|
10906
10870
|
? "100%"
|
10907
|
-
: /*definitiveIframeHeight*/ ctx[
|
10871
|
+
: /*definitiveIframeHeight*/ ctx[17]);
|
10908
10872
|
|
10909
|
-
set_style(
|
10873
|
+
set_style(div1, "max-width", /*isFullscreen*/ ctx[13]
|
10910
10874
|
? "none"
|
10911
|
-
: /*game*/ ctx[
|
10875
|
+
: /*game*/ ctx[7].width + "px");
|
10912
10876
|
|
10913
|
-
set_style(
|
10877
|
+
set_style(div1, "max-height", /*isFullscreen*/ ctx[13]
|
10914
10878
|
? "none"
|
10915
|
-
: /*game*/ ctx[
|
10916
|
-
|
10917
|
-
add_location(
|
10918
|
-
attr_dev(
|
10919
|
-
set_style(
|
10920
|
-
set_style(
|
10921
|
-
toggle_class(
|
10922
|
-
add_location(
|
10879
|
+
: /*game*/ ctx[7].height + 100 + "px");
|
10880
|
+
|
10881
|
+
add_location(div1, file, 417, 12, 17236);
|
10882
|
+
attr_dev(div2, "id", "IframeContainer");
|
10883
|
+
set_style(div2, "width", /*modalFrameWidth*/ ctx[14]);
|
10884
|
+
set_style(div2, "height", /*modalFrameHeight*/ ctx[15]);
|
10885
|
+
toggle_class(div2, "FullsScreenLayout", /*isFullscreen*/ ctx[13]);
|
10886
|
+
add_location(div2, file, 416, 12, 17066);
|
10923
10887
|
},
|
10924
10888
|
m: function mount(target, anchor) {
|
10925
|
-
insert_dev(target,
|
10926
|
-
append_dev(div3, div2);
|
10927
|
-
append_dev(div2, iframe_1);
|
10928
|
-
/*iframe_1_binding*/ ctx[52](iframe_1);
|
10929
|
-
append_dev(div2, t0);
|
10889
|
+
insert_dev(target, div2, anchor);
|
10930
10890
|
append_dev(div2, div1);
|
10931
|
-
append_dev(div1,
|
10932
|
-
|
10933
|
-
append_dev(div1,
|
10891
|
+
append_dev(div1, iframe_1);
|
10892
|
+
/*iframe_1_binding*/ ctx[53](iframe_1);
|
10893
|
+
append_dev(div1, t0);
|
10934
10894
|
append_dev(div1, div0);
|
10935
|
-
append_dev(div0,
|
10936
|
-
append_dev(
|
10895
|
+
append_dev(div0, button);
|
10896
|
+
append_dev(button, t1);
|
10897
|
+
append_dev(div0, t2);
|
10898
|
+
if (if_block0) if_block0.m(div0, null);
|
10937
10899
|
append_dev(div0, t3);
|
10938
|
-
|
10939
|
-
append_dev(
|
10940
|
-
append_dev(
|
10941
|
-
append_dev(
|
10942
|
-
append_dev(
|
10943
|
-
|
10944
|
-
|
10945
|
-
append_dev(div2, t8);
|
10946
|
-
append_dev(div2, p1);
|
10947
|
-
append_dev(p1, span);
|
10948
|
-
append_dev(span, t9);
|
10949
|
-
/*div2_binding*/ ctx[56](div2);
|
10950
|
-
/*div3_binding*/ ctx[57](div3);
|
10900
|
+
if_block1.m(div0, null);
|
10901
|
+
append_dev(div1, t4);
|
10902
|
+
append_dev(div1, p);
|
10903
|
+
append_dev(p, span);
|
10904
|
+
append_dev(span, t5);
|
10905
|
+
/*div1_binding*/ ctx[57](div1);
|
10906
|
+
/*div2_binding*/ ctx[58](div2);
|
10951
10907
|
|
10952
10908
|
if (!mounted) {
|
10953
|
-
dispose = listen_dev(
|
10909
|
+
dispose = listen_dev(button, "click", /*click_handler_10*/ ctx[54], false, false, false);
|
10954
10910
|
mounted = true;
|
10955
10911
|
}
|
10956
10912
|
},
|
10957
10913
|
p: function update(ctx, dirty) {
|
10958
|
-
if (dirty[0] & /*game*/
|
10914
|
+
if (dirty[0] & /*game*/ 128 && iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[7].launchUrl)) {
|
10959
10915
|
attr_dev(iframe_1, "src", iframe_1_src_value);
|
10960
10916
|
}
|
10961
10917
|
|
10962
|
-
if (dirty[0] & /*$_*/
|
10963
|
-
if (dirty[0] & /*$_*/ 524288 && t4_value !== (t4_value = /*$_*/ ctx[19]("gamePage.break") + "")) set_data_dev(t4, t4_value);
|
10964
|
-
if (dirty[0] & /*$_*/ 524288 && t6_value !== (t6_value = /*$_*/ ctx[19]("gamePage.breakButton") + "")) set_data_dev(t6, t6_value);
|
10918
|
+
if (dirty[0] & /*$_*/ 1048576 && t1_value !== (t1_value = /*$_*/ ctx[20]("gamePage.deposit") + "")) set_data_dev(t1, t1_value);
|
10965
10919
|
|
10966
|
-
if (
|
10967
|
-
|
10920
|
+
if (/*haspanicbutton*/ ctx[1] === "true") {
|
10921
|
+
if (if_block0) {
|
10922
|
+
if_block0.p(ctx, dirty);
|
10923
|
+
} else {
|
10924
|
+
if_block0 = create_if_block_11(ctx);
|
10925
|
+
if_block0.c();
|
10926
|
+
if_block0.m(div0, t3);
|
10927
|
+
}
|
10928
|
+
} else if (if_block0) {
|
10929
|
+
if_block0.d(1);
|
10930
|
+
if_block0 = null;
|
10931
|
+
}
|
10932
|
+
|
10933
|
+
if (current_block_type === (current_block_type = select_block_type_4(ctx)) && if_block1) {
|
10934
|
+
if_block1.p(ctx, dirty);
|
10968
10935
|
} else {
|
10969
|
-
|
10970
|
-
|
10936
|
+
if_block1.d(1);
|
10937
|
+
if_block1 = current_block_type(ctx);
|
10971
10938
|
|
10972
|
-
if (
|
10973
|
-
|
10974
|
-
|
10939
|
+
if (if_block1) {
|
10940
|
+
if_block1.c();
|
10941
|
+
if_block1.m(div0, null);
|
10975
10942
|
}
|
10976
10943
|
}
|
10977
10944
|
|
10978
|
-
if (dirty[0] & /*time*/
|
10945
|
+
if (dirty[0] & /*time*/ 4) set_data_dev(t5, /*time*/ ctx[2]);
|
10979
10946
|
|
10980
|
-
if (dirty[0] & /*isFullscreen, definitiveIframeWidth*/
|
10981
|
-
set_style(
|
10947
|
+
if (dirty[0] & /*isFullscreen, definitiveIframeWidth*/ 73728) {
|
10948
|
+
set_style(div1, "width", /*isFullscreen*/ ctx[13]
|
10982
10949
|
? "100%"
|
10983
|
-
: /*definitiveIframeWidth*/ ctx[
|
10950
|
+
: /*definitiveIframeWidth*/ ctx[16]);
|
10984
10951
|
}
|
10985
10952
|
|
10986
|
-
if (dirty[0] & /*isFullscreen, definitiveIframeHeight*/
|
10987
|
-
set_style(
|
10953
|
+
if (dirty[0] & /*isFullscreen, definitiveIframeHeight*/ 139264) {
|
10954
|
+
set_style(div1, "height", /*isFullscreen*/ ctx[13]
|
10988
10955
|
? "100%"
|
10989
|
-
: /*definitiveIframeHeight*/ ctx[
|
10956
|
+
: /*definitiveIframeHeight*/ ctx[17]);
|
10990
10957
|
}
|
10991
10958
|
|
10992
|
-
if (dirty[0] & /*isFullscreen, game*/
|
10993
|
-
set_style(
|
10959
|
+
if (dirty[0] & /*isFullscreen, game*/ 8320) {
|
10960
|
+
set_style(div1, "max-width", /*isFullscreen*/ ctx[13]
|
10994
10961
|
? "none"
|
10995
|
-
: /*game*/ ctx[
|
10962
|
+
: /*game*/ ctx[7].width + "px");
|
10996
10963
|
}
|
10997
10964
|
|
10998
|
-
if (dirty[0] & /*isFullscreen, game*/
|
10999
|
-
set_style(
|
10965
|
+
if (dirty[0] & /*isFullscreen, game*/ 8320) {
|
10966
|
+
set_style(div1, "max-height", /*isFullscreen*/ ctx[13]
|
11000
10967
|
? "none"
|
11001
|
-
: /*game*/ ctx[
|
10968
|
+
: /*game*/ ctx[7].height + 100 + "px");
|
11002
10969
|
}
|
11003
10970
|
|
11004
|
-
if (dirty[0] & /*modalFrameWidth*/
|
11005
|
-
set_style(
|
10971
|
+
if (dirty[0] & /*modalFrameWidth*/ 16384) {
|
10972
|
+
set_style(div2, "width", /*modalFrameWidth*/ ctx[14]);
|
11006
10973
|
}
|
11007
10974
|
|
11008
|
-
if (dirty[0] & /*modalFrameHeight*/
|
11009
|
-
set_style(
|
10975
|
+
if (dirty[0] & /*modalFrameHeight*/ 32768) {
|
10976
|
+
set_style(div2, "height", /*modalFrameHeight*/ ctx[15]);
|
11010
10977
|
}
|
11011
10978
|
|
11012
|
-
if (dirty[0] & /*isFullscreen*/
|
11013
|
-
toggle_class(
|
10979
|
+
if (dirty[0] & /*isFullscreen*/ 8192) {
|
10980
|
+
toggle_class(div2, "FullsScreenLayout", /*isFullscreen*/ ctx[13]);
|
11014
10981
|
}
|
11015
10982
|
},
|
11016
10983
|
d: function destroy(detaching) {
|
11017
|
-
if (detaching) detach_dev(
|
11018
|
-
/*iframe_1_binding*/ ctx[
|
11019
|
-
|
11020
|
-
|
11021
|
-
/*
|
10984
|
+
if (detaching) detach_dev(div2);
|
10985
|
+
/*iframe_1_binding*/ ctx[53](null);
|
10986
|
+
if (if_block0) if_block0.d();
|
10987
|
+
if_block1.d();
|
10988
|
+
/*div1_binding*/ ctx[57](null);
|
10989
|
+
/*div2_binding*/ ctx[58](null);
|
11022
10990
|
mounted = false;
|
11023
10991
|
dispose();
|
11024
10992
|
}
|
@@ -11026,22 +10994,22 @@
|
|
11026
10994
|
|
11027
10995
|
dispatch_dev("SvelteRegisterBlock", {
|
11028
10996
|
block,
|
11029
|
-
id:
|
10997
|
+
id: create_if_block_9.name,
|
11030
10998
|
type: "if",
|
11031
|
-
source: "(
|
10999
|
+
source: "(416:10) {#if isLoggedIn}",
|
11032
11000
|
ctx
|
11033
11001
|
});
|
11034
11002
|
|
11035
11003
|
return block;
|
11036
11004
|
}
|
11037
11005
|
|
11038
|
-
// (
|
11006
|
+
// (349:8) {#if mobileView}
|
11039
11007
|
function create_if_block_3(ctx) {
|
11040
11008
|
let if_block_anchor;
|
11041
11009
|
|
11042
11010
|
function select_block_type_2(ctx, dirty) {
|
11043
|
-
if (/*isLoggedIn*/ ctx[
|
11044
|
-
if (/*anonymousFunMode*/ ctx[
|
11011
|
+
if (/*isLoggedIn*/ ctx[4]) return create_if_block_4;
|
11012
|
+
if (/*anonymousFunMode*/ ctx[10]) return create_if_block_8;
|
11045
11013
|
return create_else_block_2;
|
11046
11014
|
}
|
11047
11015
|
|
@@ -11080,14 +11048,14 @@
|
|
11080
11048
|
block,
|
11081
11049
|
id: create_if_block_3.name,
|
11082
11050
|
type: "if",
|
11083
|
-
source: "(
|
11051
|
+
source: "(349:8) {#if mobileView}",
|
11084
11052
|
ctx
|
11085
11053
|
});
|
11086
11054
|
|
11087
11055
|
return block;
|
11088
11056
|
}
|
11089
11057
|
|
11090
|
-
// (
|
11058
|
+
// (456:20) {:else}
|
11091
11059
|
function create_else_block_4(ctx) {
|
11092
11060
|
let button;
|
11093
11061
|
let svg;
|
@@ -11101,14 +11069,14 @@
|
|
11101
11069
|
svg = svg_element("svg");
|
11102
11070
|
path = svg_element("path");
|
11103
11071
|
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");
|
11104
|
-
add_location(path, file,
|
11072
|
+
add_location(path, file, 457, 107, 21777);
|
11105
11073
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
11106
11074
|
attr_dev(svg, "width", "24");
|
11107
11075
|
attr_dev(svg, "height", "24");
|
11108
11076
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
11109
|
-
add_location(svg, file,
|
11077
|
+
add_location(svg, file, 457, 24, 21694);
|
11110
11078
|
attr_dev(button, "class", "FullscreenButton");
|
11111
|
-
add_location(button, file,
|
11079
|
+
add_location(button, file, 456, 22, 21598);
|
11112
11080
|
},
|
11113
11081
|
m: function mount(target, anchor) {
|
11114
11082
|
insert_dev(target, button, anchor);
|
@@ -11116,7 +11084,7 @@
|
|
11116
11084
|
append_dev(svg, path);
|
11117
11085
|
|
11118
11086
|
if (!mounted) {
|
11119
|
-
dispose = listen_dev(button, "click", /*click_handler_16*/ ctx[
|
11087
|
+
dispose = listen_dev(button, "click", /*click_handler_16*/ ctx[63], false, false, false);
|
11120
11088
|
mounted = true;
|
11121
11089
|
}
|
11122
11090
|
},
|
@@ -11132,15 +11100,15 @@
|
|
11132
11100
|
block,
|
11133
11101
|
id: create_else_block_4.name,
|
11134
11102
|
type: "else",
|
11135
|
-
source: "(
|
11103
|
+
source: "(456:20) {:else}",
|
11136
11104
|
ctx
|
11137
11105
|
});
|
11138
11106
|
|
11139
11107
|
return block;
|
11140
11108
|
}
|
11141
11109
|
|
11142
|
-
// (
|
11143
|
-
function
|
11110
|
+
// (452:20) {#if isFullscreen}
|
11111
|
+
function create_if_block_13(ctx) {
|
11144
11112
|
let button;
|
11145
11113
|
let svg;
|
11146
11114
|
let polygon0;
|
@@ -11160,22 +11128,22 @@
|
|
11160
11128
|
polygon3 = svg_element("polygon");
|
11161
11129
|
set_style(polygon0, "fill", "#fff");
|
11162
11130
|
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");
|
11163
|
-
add_location(polygon0, file,
|
11131
|
+
add_location(polygon0, file, 453, 72, 21081);
|
11164
11132
|
set_style(polygon1, "fill", "#fff");
|
11165
11133
|
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");
|
11166
|
-
add_location(polygon1, file,
|
11134
|
+
add_location(polygon1, file, 453, 180, 21189);
|
11167
11135
|
set_style(polygon2, "fill", "#fff");
|
11168
11136
|
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");
|
11169
|
-
add_location(polygon2, file,
|
11137
|
+
add_location(polygon2, file, 453, 286, 21295);
|
11170
11138
|
set_style(polygon3, "fill", "#fff");
|
11171
11139
|
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");
|
11172
|
-
add_location(polygon3, file,
|
11140
|
+
add_location(polygon3, file, 453, 389, 21398);
|
11173
11141
|
attr_dev(svg, "width", "24");
|
11174
11142
|
attr_dev(svg, "height", "24");
|
11175
11143
|
attr_dev(svg, "viewBox", "0 0 31 31");
|
11176
|
-
add_location(svg, file,
|
11144
|
+
add_location(svg, file, 453, 24, 21033);
|
11177
11145
|
attr_dev(button, "class", "FullscreenButton");
|
11178
|
-
add_location(button, file,
|
11146
|
+
add_location(button, file, 452, 22, 20937);
|
11179
11147
|
},
|
11180
11148
|
m: function mount(target, anchor) {
|
11181
11149
|
insert_dev(target, button, anchor);
|
@@ -11186,7 +11154,7 @@
|
|
11186
11154
|
append_dev(svg, polygon3);
|
11187
11155
|
|
11188
11156
|
if (!mounted) {
|
11189
|
-
dispose = listen_dev(button, "click", /*click_handler_15*/ ctx[
|
11157
|
+
dispose = listen_dev(button, "click", /*click_handler_15*/ ctx[62], false, false, false);
|
11190
11158
|
mounted = true;
|
11191
11159
|
}
|
11192
11160
|
},
|
@@ -11198,18 +11166,93 @@
|
|
11198
11166
|
}
|
11199
11167
|
};
|
11200
11168
|
|
11169
|
+
dispatch_dev("SvelteRegisterBlock", {
|
11170
|
+
block,
|
11171
|
+
id: create_if_block_13.name,
|
11172
|
+
type: "if",
|
11173
|
+
source: "(452:20) {#if isFullscreen}",
|
11174
|
+
ctx
|
11175
|
+
});
|
11176
|
+
|
11177
|
+
return block;
|
11178
|
+
}
|
11179
|
+
|
11180
|
+
// (422:18) {#if haspanicbutton === "true"}
|
11181
|
+
function create_if_block_11(ctx) {
|
11182
|
+
let div;
|
11183
|
+
let svg;
|
11184
|
+
let path;
|
11185
|
+
let t0;
|
11186
|
+
let p;
|
11187
|
+
let t1_value = /*$_*/ ctx[20]("gamePage.break") + "";
|
11188
|
+
let t1;
|
11189
|
+
let t2;
|
11190
|
+
let button;
|
11191
|
+
let t3_value = /*$_*/ ctx[20]("gamePage.breakButton") + "";
|
11192
|
+
let t3;
|
11193
|
+
|
11194
|
+
const block = {
|
11195
|
+
c: function create() {
|
11196
|
+
div = element("div");
|
11197
|
+
svg = svg_element("svg");
|
11198
|
+
path = svg_element("path");
|
11199
|
+
t0 = space();
|
11200
|
+
p = element("p");
|
11201
|
+
t1 = text(t1_value);
|
11202
|
+
t2 = space();
|
11203
|
+
button = element("button");
|
11204
|
+
t3 = text(t3_value);
|
11205
|
+
attr_dev(path, "stroke-linecap", "round");
|
11206
|
+
attr_dev(path, "stroke-linejoin", "round");
|
11207
|
+
attr_dev(path, "stroke-width", "2");
|
11208
|
+
attr_dev(path, "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z");
|
11209
|
+
add_location(path, file, 423, 152, 18078);
|
11210
|
+
attr_dev(svg, "class", "w-1 h-1");
|
11211
|
+
attr_dev(svg, "fill", "none");
|
11212
|
+
attr_dev(svg, "stroke", "white");
|
11213
|
+
attr_dev(svg, "width", "34px");
|
11214
|
+
attr_dev(svg, "height", "34px");
|
11215
|
+
attr_dev(svg, "viewBox", "0 0 24 24");
|
11216
|
+
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
11217
|
+
add_location(svg, file, 423, 22, 17948);
|
11218
|
+
add_location(p, file, 424, 22, 18232);
|
11219
|
+
attr_dev(button, "class", "Button");
|
11220
|
+
add_location(button, file, 425, 22, 18284);
|
11221
|
+
attr_dev(div, "class", "PanicSection");
|
11222
|
+
add_location(div, file, 422, 20, 17899);
|
11223
|
+
},
|
11224
|
+
m: function mount(target, anchor) {
|
11225
|
+
insert_dev(target, div, anchor);
|
11226
|
+
append_dev(div, svg);
|
11227
|
+
append_dev(svg, path);
|
11228
|
+
append_dev(div, t0);
|
11229
|
+
append_dev(div, p);
|
11230
|
+
append_dev(p, t1);
|
11231
|
+
append_dev(div, t2);
|
11232
|
+
append_dev(div, button);
|
11233
|
+
append_dev(button, t3);
|
11234
|
+
},
|
11235
|
+
p: function update(ctx, dirty) {
|
11236
|
+
if (dirty[0] & /*$_*/ 1048576 && t1_value !== (t1_value = /*$_*/ ctx[20]("gamePage.break") + "")) set_data_dev(t1, t1_value);
|
11237
|
+
if (dirty[0] & /*$_*/ 1048576 && t3_value !== (t3_value = /*$_*/ ctx[20]("gamePage.breakButton") + "")) set_data_dev(t3, t3_value);
|
11238
|
+
},
|
11239
|
+
d: function destroy(detaching) {
|
11240
|
+
if (detaching) detach_dev(div);
|
11241
|
+
}
|
11242
|
+
};
|
11243
|
+
|
11201
11244
|
dispatch_dev("SvelteRegisterBlock", {
|
11202
11245
|
block,
|
11203
11246
|
id: create_if_block_11.name,
|
11204
11247
|
type: "if",
|
11205
|
-
source: "(
|
11248
|
+
source: "(422:18) {#if haspanicbutton === \\\"true\\\"}",
|
11206
11249
|
ctx
|
11207
11250
|
});
|
11208
11251
|
|
11209
11252
|
return block;
|
11210
11253
|
}
|
11211
11254
|
|
11212
|
-
// (
|
11255
|
+
// (433:18) {:else}
|
11213
11256
|
function create_else_block_3(ctx) {
|
11214
11257
|
let button;
|
11215
11258
|
let svg;
|
@@ -11223,14 +11266,14 @@
|
|
11223
11266
|
svg = svg_element("svg");
|
11224
11267
|
path = svg_element("path");
|
11225
11268
|
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");
|
11226
|
-
add_location(path, file,
|
11269
|
+
add_location(path, file, 434, 105, 19361);
|
11227
11270
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
11228
11271
|
attr_dev(svg, "width", "24");
|
11229
11272
|
attr_dev(svg, "height", "24");
|
11230
11273
|
attr_dev(svg, "viewBox", "0 0 24 24");
|
11231
|
-
add_location(svg, file,
|
11274
|
+
add_location(svg, file, 434, 22, 19278);
|
11232
11275
|
attr_dev(button, "class", "FullscreenButton");
|
11233
|
-
add_location(button, file,
|
11276
|
+
add_location(button, file, 433, 20, 19184);
|
11234
11277
|
},
|
11235
11278
|
m: function mount(target, anchor) {
|
11236
11279
|
insert_dev(target, button, anchor);
|
@@ -11238,7 +11281,7 @@
|
|
11238
11281
|
append_dev(svg, path);
|
11239
11282
|
|
11240
11283
|
if (!mounted) {
|
11241
|
-
dispose = listen_dev(button, "click", /*click_handler_12*/ ctx[
|
11284
|
+
dispose = listen_dev(button, "click", /*click_handler_12*/ ctx[56], false, false, false);
|
11242
11285
|
mounted = true;
|
11243
11286
|
}
|
11244
11287
|
},
|
@@ -11254,15 +11297,15 @@
|
|
11254
11297
|
block,
|
11255
11298
|
id: create_else_block_3.name,
|
11256
11299
|
type: "else",
|
11257
|
-
source: "(
|
11300
|
+
source: "(433:18) {:else}",
|
11258
11301
|
ctx
|
11259
11302
|
});
|
11260
11303
|
|
11261
11304
|
return block;
|
11262
11305
|
}
|
11263
11306
|
|
11264
|
-
// (
|
11265
|
-
function
|
11307
|
+
// (429:18) {#if isFullscreen}
|
11308
|
+
function create_if_block_10(ctx) {
|
11266
11309
|
let button;
|
11267
11310
|
let svg;
|
11268
11311
|
let polygon0;
|
@@ -11282,24 +11325,24 @@
|
|
11282
11325
|
polygon3 = svg_element("polygon");
|
11283
11326
|
set_style(polygon0, "fill", "#fff");
|
11284
11327
|
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");
|
11285
|
-
add_location(polygon0, file,
|
11328
|
+
add_location(polygon0, file, 430, 148, 18673);
|
11286
11329
|
set_style(polygon1, "fill", "#fff");
|
11287
11330
|
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");
|
11288
|
-
add_location(polygon1, file,
|
11331
|
+
add_location(polygon1, file, 430, 256, 18781);
|
11289
11332
|
set_style(polygon2, "fill", "#fff");
|
11290
11333
|
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");
|
11291
|
-
add_location(polygon2, file,
|
11334
|
+
add_location(polygon2, file, 430, 362, 18887);
|
11292
11335
|
set_style(polygon3, "fill", "#fff");
|
11293
11336
|
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");
|
11294
|
-
add_location(polygon3, file,
|
11337
|
+
add_location(polygon3, file, 430, 465, 18990);
|
11295
11338
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
11296
11339
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
11297
11340
|
attr_dev(svg, "width", "24");
|
11298
11341
|
attr_dev(svg, "height", "24");
|
11299
11342
|
attr_dev(svg, "viewBox", "0 0 31 31");
|
11300
|
-
add_location(svg, file,
|
11343
|
+
add_location(svg, file, 430, 22, 18547);
|
11301
11344
|
attr_dev(button, "class", "FullscreenButton");
|
11302
|
-
add_location(button, file,
|
11345
|
+
add_location(button, file, 429, 20, 18453);
|
11303
11346
|
},
|
11304
11347
|
m: function mount(target, anchor) {
|
11305
11348
|
insert_dev(target, button, anchor);
|
@@ -11310,7 +11353,7 @@
|
|
11310
11353
|
append_dev(svg, polygon3);
|
11311
11354
|
|
11312
11355
|
if (!mounted) {
|
11313
|
-
dispose = listen_dev(button, "click", /*click_handler_11*/ ctx[
|
11356
|
+
dispose = listen_dev(button, "click", /*click_handler_11*/ ctx[55], false, false, false);
|
11314
11357
|
mounted = true;
|
11315
11358
|
}
|
11316
11359
|
},
|
@@ -11324,20 +11367,20 @@
|
|
11324
11367
|
|
11325
11368
|
dispatch_dev("SvelteRegisterBlock", {
|
11326
11369
|
block,
|
11327
|
-
id:
|
11370
|
+
id: create_if_block_10.name,
|
11328
11371
|
type: "if",
|
11329
|
-
source: "(
|
11372
|
+
source: "(429:18) {#if isFullscreen}",
|
11330
11373
|
ctx
|
11331
11374
|
});
|
11332
11375
|
|
11333
11376
|
return block;
|
11334
11377
|
}
|
11335
11378
|
|
11336
|
-
// (
|
11379
|
+
// (404:10) {:else}
|
11337
11380
|
function create_else_block_2(ctx) {
|
11338
11381
|
let div1;
|
11339
11382
|
let h3;
|
11340
|
-
let t0_value = /*game*/ ctx[
|
11383
|
+
let t0_value = /*game*/ ctx[7].name + "";
|
11341
11384
|
let t0;
|
11342
11385
|
let t1;
|
11343
11386
|
let img;
|
@@ -11345,11 +11388,11 @@
|
|
11345
11388
|
let t2;
|
11346
11389
|
let div0;
|
11347
11390
|
let button0;
|
11348
|
-
let t3_value = /*$_*/ ctx[
|
11391
|
+
let t3_value = /*$_*/ ctx[20]("gamePage.signIn") + "";
|
11349
11392
|
let t3;
|
11350
11393
|
let t4;
|
11351
11394
|
let button1;
|
11352
|
-
let t5_value = /*$_*/ ctx[
|
11395
|
+
let t5_value = /*$_*/ ctx[20]("gamePage.register") + "";
|
11353
11396
|
let t5;
|
11354
11397
|
let t6;
|
11355
11398
|
let p;
|
@@ -11373,22 +11416,22 @@
|
|
11373
11416
|
t5 = text(t5_value);
|
11374
11417
|
t6 = space();
|
11375
11418
|
p = element("p");
|
11376
|
-
t7 = text(/*time*/ ctx[
|
11377
|
-
add_location(h3, file,
|
11378
|
-
if (img.src !== (img_src_value = /*game*/ ctx[
|
11419
|
+
t7 = text(/*time*/ ctx[2]);
|
11420
|
+
add_location(h3, file, 405, 14, 16531);
|
11421
|
+
if (img.src !== (img_src_value = /*game*/ ctx[7].thumbnail)) attr_dev(img, "src", img_src_value);
|
11379
11422
|
attr_dev(img, "class", "GameThumbnail");
|
11380
11423
|
attr_dev(img, "alt", "game thumbnail");
|
11381
11424
|
attr_dev(img, "loading", "lazy");
|
11382
|
-
add_location(img, file,
|
11425
|
+
add_location(img, file, 406, 14, 16566);
|
11383
11426
|
attr_dev(button0, "class", "LoginButton");
|
11384
|
-
add_location(button0, file,
|
11427
|
+
add_location(button0, file, 408, 16, 16715);
|
11385
11428
|
attr_dev(button1, "class", "RegisterButton");
|
11386
|
-
add_location(button1, file,
|
11429
|
+
add_location(button1, file, 409, 16, 16825);
|
11387
11430
|
attr_dev(div0, "class", "ButtonsContainer");
|
11388
|
-
add_location(div0, file,
|
11389
|
-
add_location(p, file,
|
11431
|
+
add_location(div0, file, 407, 14, 16668);
|
11432
|
+
add_location(p, file, 411, 14, 16962);
|
11390
11433
|
attr_dev(div1, "class", "GameDetails");
|
11391
|
-
add_location(div1, file,
|
11434
|
+
add_location(div1, file, 404, 12, 16491);
|
11392
11435
|
},
|
11393
11436
|
m: function mount(target, anchor) {
|
11394
11437
|
insert_dev(target, div1, anchor);
|
@@ -11409,23 +11452,23 @@
|
|
11409
11452
|
|
11410
11453
|
if (!mounted) {
|
11411
11454
|
dispose = [
|
11412
|
-
listen_dev(button0, "click", /*click_handler_8*/ ctx[
|
11413
|
-
listen_dev(button1, "click", /*click_handler_9*/ ctx[
|
11455
|
+
listen_dev(button0, "click", /*click_handler_8*/ ctx[51], false, false, false),
|
11456
|
+
listen_dev(button1, "click", /*click_handler_9*/ ctx[52], false, false, false)
|
11414
11457
|
];
|
11415
11458
|
|
11416
11459
|
mounted = true;
|
11417
11460
|
}
|
11418
11461
|
},
|
11419
11462
|
p: function update(ctx, dirty) {
|
11420
|
-
if (dirty[0] & /*game*/
|
11463
|
+
if (dirty[0] & /*game*/ 128 && t0_value !== (t0_value = /*game*/ ctx[7].name + "")) set_data_dev(t0, t0_value);
|
11421
11464
|
|
11422
|
-
if (dirty[0] & /*game*/
|
11465
|
+
if (dirty[0] & /*game*/ 128 && img.src !== (img_src_value = /*game*/ ctx[7].thumbnail)) {
|
11423
11466
|
attr_dev(img, "src", img_src_value);
|
11424
11467
|
}
|
11425
11468
|
|
11426
|
-
if (dirty[0] & /*$_*/
|
11427
|
-
if (dirty[0] & /*$_*/
|
11428
|
-
if (dirty[0] & /*time*/
|
11469
|
+
if (dirty[0] & /*$_*/ 1048576 && t3_value !== (t3_value = /*$_*/ ctx[20]("gamePage.signIn") + "")) set_data_dev(t3, t3_value);
|
11470
|
+
if (dirty[0] & /*$_*/ 1048576 && t5_value !== (t5_value = /*$_*/ ctx[20]("gamePage.register") + "")) set_data_dev(t5, t5_value);
|
11471
|
+
if (dirty[0] & /*time*/ 4) set_data_dev(t7, /*time*/ ctx[2]);
|
11429
11472
|
},
|
11430
11473
|
d: function destroy(detaching) {
|
11431
11474
|
if (detaching) detach_dev(div1);
|
@@ -11438,18 +11481,18 @@
|
|
11438
11481
|
block,
|
11439
11482
|
id: create_else_block_2.name,
|
11440
11483
|
type: "else",
|
11441
|
-
source: "(
|
11484
|
+
source: "(404:10) {:else}",
|
11442
11485
|
ctx
|
11443
11486
|
});
|
11444
11487
|
|
11445
11488
|
return block;
|
11446
11489
|
}
|
11447
11490
|
|
11448
|
-
// (
|
11449
|
-
function
|
11491
|
+
// (392:37)
|
11492
|
+
function create_if_block_8(ctx) {
|
11450
11493
|
let div1;
|
11451
11494
|
let h3;
|
11452
|
-
let t0_value = /*game*/ ctx[
|
11495
|
+
let t0_value = /*game*/ ctx[7].name + "";
|
11453
11496
|
let t0;
|
11454
11497
|
let t1;
|
11455
11498
|
let img;
|
@@ -11457,15 +11500,15 @@
|
|
11457
11500
|
let t2;
|
11458
11501
|
let div0;
|
11459
11502
|
let button0;
|
11460
|
-
let t3_value = /*$_*/ ctx[
|
11503
|
+
let t3_value = /*$_*/ ctx[20]("gamePage.signIn") + "";
|
11461
11504
|
let t3;
|
11462
11505
|
let t4;
|
11463
11506
|
let button1;
|
11464
|
-
let t5_value = /*$_*/ ctx[
|
11507
|
+
let t5_value = /*$_*/ ctx[20]("gamePage.register") + "";
|
11465
11508
|
let t5;
|
11466
11509
|
let t6;
|
11467
11510
|
let button2;
|
11468
|
-
let t7_value = /*$_*/ ctx[
|
11511
|
+
let t7_value = /*$_*/ ctx[20]("gamePage.playForFun") + "";
|
11469
11512
|
let t7;
|
11470
11513
|
let t8;
|
11471
11514
|
let p;
|
@@ -11492,24 +11535,24 @@
|
|
11492
11535
|
t7 = text(t7_value);
|
11493
11536
|
t8 = space();
|
11494
11537
|
p = element("p");
|
11495
|
-
t9 = text(/*time*/ ctx[
|
11496
|
-
add_location(h3, file,
|
11497
|
-
if (img.src !== (img_src_value = /*game*/ ctx[
|
11538
|
+
t9 = text(/*time*/ ctx[2]);
|
11539
|
+
add_location(h3, file, 393, 14, 15871);
|
11540
|
+
if (img.src !== (img_src_value = /*game*/ ctx[7].thumbnail)) attr_dev(img, "src", img_src_value);
|
11498
11541
|
attr_dev(img, "class", "GameThumbnail");
|
11499
11542
|
attr_dev(img, "alt", "game thumbnail");
|
11500
11543
|
attr_dev(img, "loading", "lazy");
|
11501
|
-
add_location(img, file,
|
11544
|
+
add_location(img, file, 394, 14, 15906);
|
11502
11545
|
attr_dev(button0, "class", "LoginButton");
|
11503
|
-
add_location(button0, file,
|
11546
|
+
add_location(button0, file, 396, 16, 16055);
|
11504
11547
|
attr_dev(button1, "class", "RegisterButton");
|
11505
|
-
add_location(button1, file,
|
11548
|
+
add_location(button1, file, 397, 16, 16165);
|
11506
11549
|
attr_dev(div0, "class", "ButtonsContainer");
|
11507
|
-
add_location(div0, file,
|
11550
|
+
add_location(div0, file, 395, 14, 16008);
|
11508
11551
|
attr_dev(button2, "class", "FullWidthButton");
|
11509
|
-
add_location(button2, file,
|
11510
|
-
add_location(p, file,
|
11552
|
+
add_location(button2, file, 399, 14, 16302);
|
11553
|
+
add_location(p, file, 400, 14, 16427);
|
11511
11554
|
attr_dev(div1, "class", "GameDetails");
|
11512
|
-
add_location(div1, file,
|
11555
|
+
add_location(div1, file, 392, 12, 15831);
|
11513
11556
|
},
|
11514
11557
|
m: function mount(target, anchor) {
|
11515
11558
|
insert_dev(target, div1, anchor);
|
@@ -11533,25 +11576,25 @@
|
|
11533
11576
|
|
11534
11577
|
if (!mounted) {
|
11535
11578
|
dispose = [
|
11536
|
-
listen_dev(button0, "click", /*click_handler_5*/ ctx[
|
11537
|
-
listen_dev(button1, "click", /*click_handler_6*/ ctx[
|
11538
|
-
listen_dev(button2, "click", /*click_handler_7*/ ctx[
|
11579
|
+
listen_dev(button0, "click", /*click_handler_5*/ ctx[48], false, false, false),
|
11580
|
+
listen_dev(button1, "click", /*click_handler_6*/ ctx[49], false, false, false),
|
11581
|
+
listen_dev(button2, "click", /*click_handler_7*/ ctx[50], false, false, false)
|
11539
11582
|
];
|
11540
11583
|
|
11541
11584
|
mounted = true;
|
11542
11585
|
}
|
11543
11586
|
},
|
11544
11587
|
p: function update(ctx, dirty) {
|
11545
|
-
if (dirty[0] & /*game*/
|
11588
|
+
if (dirty[0] & /*game*/ 128 && t0_value !== (t0_value = /*game*/ ctx[7].name + "")) set_data_dev(t0, t0_value);
|
11546
11589
|
|
11547
|
-
if (dirty[0] & /*game*/
|
11590
|
+
if (dirty[0] & /*game*/ 128 && img.src !== (img_src_value = /*game*/ ctx[7].thumbnail)) {
|
11548
11591
|
attr_dev(img, "src", img_src_value);
|
11549
11592
|
}
|
11550
11593
|
|
11551
|
-
if (dirty[0] & /*$_*/
|
11552
|
-
if (dirty[0] & /*$_*/
|
11553
|
-
if (dirty[0] & /*$_*/
|
11554
|
-
if (dirty[0] & /*time*/
|
11594
|
+
if (dirty[0] & /*$_*/ 1048576 && t3_value !== (t3_value = /*$_*/ ctx[20]("gamePage.signIn") + "")) set_data_dev(t3, t3_value);
|
11595
|
+
if (dirty[0] & /*$_*/ 1048576 && t5_value !== (t5_value = /*$_*/ ctx[20]("gamePage.register") + "")) set_data_dev(t5, t5_value);
|
11596
|
+
if (dirty[0] & /*$_*/ 1048576 && t7_value !== (t7_value = /*$_*/ ctx[20]("gamePage.playForFun") + "")) set_data_dev(t7, t7_value);
|
11597
|
+
if (dirty[0] & /*time*/ 4) set_data_dev(t9, /*time*/ ctx[2]);
|
11555
11598
|
},
|
11556
11599
|
d: function destroy(detaching) {
|
11557
11600
|
if (detaching) detach_dev(div1);
|
@@ -11562,21 +11605,21 @@
|
|
11562
11605
|
|
11563
11606
|
dispatch_dev("SvelteRegisterBlock", {
|
11564
11607
|
block,
|
11565
|
-
id:
|
11608
|
+
id: create_if_block_8.name,
|
11566
11609
|
type: "if",
|
11567
|
-
source: "(
|
11610
|
+
source: "(392:37) ",
|
11568
11611
|
ctx
|
11569
11612
|
});
|
11570
11613
|
|
11571
11614
|
return block;
|
11572
11615
|
}
|
11573
11616
|
|
11574
|
-
// (
|
11617
|
+
// (350:10) {#if isLoggedIn}
|
11575
11618
|
function create_if_block_4(ctx) {
|
11576
11619
|
let t0;
|
11577
|
-
let
|
11620
|
+
let div1;
|
11578
11621
|
let h3;
|
11579
|
-
let t1_value = /*game*/ ctx[
|
11622
|
+
let t1_value = /*game*/ ctx[7].name + "";
|
11580
11623
|
let t1;
|
11581
11624
|
let t2;
|
11582
11625
|
let img;
|
@@ -11584,37 +11627,26 @@
|
|
11584
11627
|
let t3;
|
11585
11628
|
let div0;
|
11586
11629
|
let button0;
|
11587
|
-
let t4_value = /*$_*/ ctx[
|
11630
|
+
let t4_value = /*$_*/ ctx[20]("gamePage.deposit") + "";
|
11588
11631
|
let t4;
|
11589
11632
|
let t5;
|
11590
11633
|
let button1;
|
11591
|
-
let t6_value = /*$_*/ ctx[
|
11634
|
+
let t6_value = /*$_*/ ctx[20]("gamePage.playNow") + "";
|
11592
11635
|
let t6;
|
11593
11636
|
let t7;
|
11594
|
-
let div2;
|
11595
|
-
let div1;
|
11596
|
-
let svg;
|
11597
|
-
let path;
|
11598
11637
|
let t8;
|
11599
|
-
let
|
11600
|
-
let t9_value = /*$_*/ ctx[19]("gamePage.break") + "";
|
11638
|
+
let p;
|
11601
11639
|
let t9;
|
11602
|
-
let t10;
|
11603
|
-
let button2;
|
11604
|
-
let t11_value = /*$_*/ ctx[19]("gamePage.breakButton") + "";
|
11605
|
-
let t11;
|
11606
|
-
let t12;
|
11607
|
-
let p1;
|
11608
|
-
let t13;
|
11609
11640
|
let mounted;
|
11610
11641
|
let dispose;
|
11611
|
-
let
|
11642
|
+
let if_block0 = /*favorites*/ ctx[0] == "true" && create_if_block_6(ctx);
|
11643
|
+
let if_block1 = /*haspanicbutton*/ ctx[1] === "true" && create_if_block_5(ctx);
|
11612
11644
|
|
11613
11645
|
const block = {
|
11614
11646
|
c: function create() {
|
11615
|
-
if (
|
11647
|
+
if (if_block0) if_block0.c();
|
11616
11648
|
t0 = space();
|
11617
|
-
|
11649
|
+
div1 = element("div");
|
11618
11650
|
h3 = element("h3");
|
11619
11651
|
t1 = text(t1_value);
|
11620
11652
|
t2 = space();
|
@@ -11627,94 +11659,51 @@
|
|
11627
11659
|
button1 = element("button");
|
11628
11660
|
t6 = text(t6_value);
|
11629
11661
|
t7 = space();
|
11630
|
-
|
11631
|
-
div1 = element("div");
|
11632
|
-
svg = svg_element("svg");
|
11633
|
-
path = svg_element("path");
|
11662
|
+
if (if_block1) if_block1.c();
|
11634
11663
|
t8 = space();
|
11635
|
-
|
11636
|
-
t9 = text(
|
11637
|
-
|
11638
|
-
|
11639
|
-
t11 = text(t11_value);
|
11640
|
-
t12 = space();
|
11641
|
-
p1 = element("p");
|
11642
|
-
t13 = text(/*time*/ ctx[1]);
|
11643
|
-
add_location(h3, file, 372, 14, 14567);
|
11644
|
-
if (img.src !== (img_src_value = /*game*/ ctx[6].thumbnail)) attr_dev(img, "src", img_src_value);
|
11664
|
+
p = element("p");
|
11665
|
+
t9 = text(/*time*/ ctx[2]);
|
11666
|
+
add_location(h3, file, 373, 14, 14604);
|
11667
|
+
if (img.src !== (img_src_value = /*game*/ ctx[7].thumbnail)) attr_dev(img, "src", img_src_value);
|
11645
11668
|
attr_dev(img, "class", "GameThumbnail");
|
11646
11669
|
attr_dev(img, "alt", "game thumbnail");
|
11647
11670
|
attr_dev(img, "loading", "lazy");
|
11648
|
-
add_location(img, file,
|
11671
|
+
add_location(img, file, 374, 14, 14639);
|
11649
11672
|
attr_dev(button0, "class", "DepositButton");
|
11650
|
-
add_location(button0, file,
|
11673
|
+
add_location(button0, file, 376, 16, 14788);
|
11651
11674
|
attr_dev(button1, "class", "PlayNowButton");
|
11652
|
-
add_location(button1, file,
|
11675
|
+
add_location(button1, file, 377, 16, 14903);
|
11653
11676
|
attr_dev(div0, "class", "ButtonsContainer");
|
11654
|
-
add_location(div0, file,
|
11655
|
-
|
11656
|
-
attr_dev(
|
11657
|
-
|
11658
|
-
attr_dev(path, "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z");
|
11659
|
-
add_location(path, file, 380, 148, 15284);
|
11660
|
-
attr_dev(svg, "class", "w-1 h-1");
|
11661
|
-
attr_dev(svg, "fill", "none");
|
11662
|
-
attr_dev(svg, "stroke", "white");
|
11663
|
-
attr_dev(svg, "width", "34px");
|
11664
|
-
attr_dev(svg, "height", "34px");
|
11665
|
-
attr_dev(svg, "viewBox", "0 0 24 24");
|
11666
|
-
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
11667
|
-
add_location(svg, file, 380, 18, 15154);
|
11668
|
-
add_location(p0, file, 381, 18, 15434);
|
11669
|
-
attr_dev(div1, "class", "PanicText");
|
11670
|
-
add_location(div1, file, 379, 16, 15112);
|
11671
|
-
attr_dev(button2, "class", "Button");
|
11672
|
-
add_location(button2, file, 383, 16, 15503);
|
11673
|
-
|
11674
|
-
attr_dev(div2, "class", "PanicSection " + (getDevice(/*userAgent*/ ctx[20]) !== "PC"
|
11675
|
-
? "PanicSectionMobile"
|
11676
|
-
: ""));
|
11677
|
-
|
11678
|
-
add_location(div2, file, 378, 14, 15007);
|
11679
|
-
add_location(p1, file, 385, 14, 15630);
|
11680
|
-
attr_dev(div3, "class", "GameDetails");
|
11681
|
-
add_location(div3, file, 371, 12, 14527);
|
11677
|
+
add_location(div0, file, 375, 14, 14741);
|
11678
|
+
add_location(p, file, 388, 14, 15747);
|
11679
|
+
attr_dev(div1, "class", "GameDetails");
|
11680
|
+
add_location(div1, file, 372, 12, 14564);
|
11682
11681
|
},
|
11683
11682
|
m: function mount(target, anchor) {
|
11684
|
-
if (
|
11683
|
+
if (if_block0) if_block0.m(target, anchor);
|
11685
11684
|
insert_dev(target, t0, anchor);
|
11686
|
-
insert_dev(target,
|
11687
|
-
append_dev(
|
11685
|
+
insert_dev(target, div1, anchor);
|
11686
|
+
append_dev(div1, h3);
|
11688
11687
|
append_dev(h3, t1);
|
11689
|
-
append_dev(
|
11690
|
-
append_dev(
|
11691
|
-
append_dev(
|
11692
|
-
append_dev(
|
11688
|
+
append_dev(div1, t2);
|
11689
|
+
append_dev(div1, img);
|
11690
|
+
append_dev(div1, t3);
|
11691
|
+
append_dev(div1, div0);
|
11693
11692
|
append_dev(div0, button0);
|
11694
11693
|
append_dev(button0, t4);
|
11695
11694
|
append_dev(div0, t5);
|
11696
11695
|
append_dev(div0, button1);
|
11697
11696
|
append_dev(button1, t6);
|
11698
|
-
append_dev(
|
11699
|
-
|
11700
|
-
append_dev(div2, div1);
|
11701
|
-
append_dev(div1, svg);
|
11702
|
-
append_dev(svg, path);
|
11697
|
+
append_dev(div1, t7);
|
11698
|
+
if (if_block1) if_block1.m(div1, null);
|
11703
11699
|
append_dev(div1, t8);
|
11704
|
-
append_dev(div1,
|
11705
|
-
append_dev(
|
11706
|
-
append_dev(div2, t10);
|
11707
|
-
append_dev(div2, button2);
|
11708
|
-
append_dev(button2, t11);
|
11709
|
-
append_dev(div3, t12);
|
11710
|
-
append_dev(div3, p1);
|
11711
|
-
append_dev(p1, t13);
|
11700
|
+
append_dev(div1, p);
|
11701
|
+
append_dev(p, t9);
|
11712
11702
|
|
11713
11703
|
if (!mounted) {
|
11714
11704
|
dispose = [
|
11715
|
-
listen_dev(button0, "click", /*click_handler_2*/ ctx[
|
11716
|
-
listen_dev(button1, "click", /*click_handler_3*/ ctx[
|
11717
|
-
listen_dev(button2, "click", /*click_handler_4*/ ctx[46], false, false, false)
|
11705
|
+
listen_dev(button0, "click", /*click_handler_2*/ ctx[45], false, false, false),
|
11706
|
+
listen_dev(button1, "click", /*click_handler_3*/ ctx[46], false, false, false)
|
11718
11707
|
];
|
11719
11708
|
|
11720
11709
|
mounted = true;
|
@@ -11722,34 +11711,47 @@
|
|
11722
11711
|
},
|
11723
11712
|
p: function update(ctx, dirty) {
|
11724
11713
|
if (/*favorites*/ ctx[0] == "true") {
|
11725
|
-
if (
|
11726
|
-
|
11714
|
+
if (if_block0) {
|
11715
|
+
if_block0.p(ctx, dirty);
|
11727
11716
|
} else {
|
11728
|
-
|
11729
|
-
|
11730
|
-
|
11717
|
+
if_block0 = create_if_block_6(ctx);
|
11718
|
+
if_block0.c();
|
11719
|
+
if_block0.m(t0.parentNode, t0);
|
11731
11720
|
}
|
11732
|
-
} else if (
|
11733
|
-
|
11734
|
-
|
11721
|
+
} else if (if_block0) {
|
11722
|
+
if_block0.d(1);
|
11723
|
+
if_block0 = null;
|
11735
11724
|
}
|
11736
11725
|
|
11737
|
-
if (dirty[0] & /*game*/
|
11726
|
+
if (dirty[0] & /*game*/ 128 && t1_value !== (t1_value = /*game*/ ctx[7].name + "")) set_data_dev(t1, t1_value);
|
11738
11727
|
|
11739
|
-
if (dirty[0] & /*game*/
|
11728
|
+
if (dirty[0] & /*game*/ 128 && img.src !== (img_src_value = /*game*/ ctx[7].thumbnail)) {
|
11740
11729
|
attr_dev(img, "src", img_src_value);
|
11741
11730
|
}
|
11742
11731
|
|
11743
|
-
if (dirty[0] & /*$_*/
|
11744
|
-
if (dirty[0] & /*$_*/
|
11745
|
-
|
11746
|
-
if (
|
11747
|
-
|
11732
|
+
if (dirty[0] & /*$_*/ 1048576 && t4_value !== (t4_value = /*$_*/ ctx[20]("gamePage.deposit") + "")) set_data_dev(t4, t4_value);
|
11733
|
+
if (dirty[0] & /*$_*/ 1048576 && t6_value !== (t6_value = /*$_*/ ctx[20]("gamePage.playNow") + "")) set_data_dev(t6, t6_value);
|
11734
|
+
|
11735
|
+
if (/*haspanicbutton*/ ctx[1] === "true") {
|
11736
|
+
if (if_block1) {
|
11737
|
+
if_block1.p(ctx, dirty);
|
11738
|
+
} else {
|
11739
|
+
if_block1 = create_if_block_5(ctx);
|
11740
|
+
if_block1.c();
|
11741
|
+
if_block1.m(div1, t8);
|
11742
|
+
}
|
11743
|
+
} else if (if_block1) {
|
11744
|
+
if_block1.d(1);
|
11745
|
+
if_block1 = null;
|
11746
|
+
}
|
11747
|
+
|
11748
|
+
if (dirty[0] & /*time*/ 4) set_data_dev(t9, /*time*/ ctx[2]);
|
11748
11749
|
},
|
11749
11750
|
d: function destroy(detaching) {
|
11750
|
-
if (
|
11751
|
+
if (if_block0) if_block0.d(detaching);
|
11751
11752
|
if (detaching) detach_dev(t0);
|
11752
|
-
if (detaching) detach_dev(
|
11753
|
+
if (detaching) detach_dev(div1);
|
11754
|
+
if (if_block1) if_block1.d();
|
11753
11755
|
mounted = false;
|
11754
11756
|
run_all(dispose);
|
11755
11757
|
}
|
@@ -11759,19 +11761,19 @@
|
|
11759
11761
|
block,
|
11760
11762
|
id: create_if_block_4.name,
|
11761
11763
|
type: "if",
|
11762
|
-
source: "(
|
11764
|
+
source: "(350:10) {#if isLoggedIn}",
|
11763
11765
|
ctx
|
11764
11766
|
});
|
11765
11767
|
|
11766
11768
|
return block;
|
11767
11769
|
}
|
11768
11770
|
|
11769
|
-
// (
|
11770
|
-
function
|
11771
|
+
// (351:12) {#if favorites == 'true'}
|
11772
|
+
function create_if_block_6(ctx) {
|
11771
11773
|
let if_block_anchor;
|
11772
11774
|
|
11773
11775
|
function select_block_type_3(ctx, dirty) {
|
11774
|
-
if (/*game*/ ctx[
|
11776
|
+
if (/*game*/ ctx[7].isFavored) return create_if_block_7;
|
11775
11777
|
return create_else_block_1;
|
11776
11778
|
}
|
11777
11779
|
|
@@ -11808,16 +11810,16 @@
|
|
11808
11810
|
|
11809
11811
|
dispatch_dev("SvelteRegisterBlock", {
|
11810
11812
|
block,
|
11811
|
-
id:
|
11813
|
+
id: create_if_block_6.name,
|
11812
11814
|
type: "if",
|
11813
|
-
source: "(
|
11815
|
+
source: "(351:12) {#if favorites == 'true'}",
|
11814
11816
|
ctx
|
11815
11817
|
});
|
11816
11818
|
|
11817
11819
|
return block;
|
11818
11820
|
}
|
11819
11821
|
|
11820
|
-
// (
|
11822
|
+
// (358:14) {:else}
|
11821
11823
|
function create_else_block_1(ctx) {
|
11822
11824
|
let div;
|
11823
11825
|
let svg;
|
@@ -11832,7 +11834,7 @@
|
|
11832
11834
|
path = svg_element("path");
|
11833
11835
|
set_style(path, "fill", "white");
|
11834
11836
|
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");
|
11835
|
-
add_location(path, file,
|
11837
|
+
add_location(path, file, 360, 116, 13376);
|
11836
11838
|
attr_dev(svg, "version", "1.1");
|
11837
11839
|
attr_dev(svg, "class", "UnfavoredIcon");
|
11838
11840
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
@@ -11842,9 +11844,9 @@
|
|
11842
11844
|
attr_dev(svg, "viewBox", "0 0 512.001 512.001");
|
11843
11845
|
set_style(svg, "enable-background", "new 0 0 512.001 512.001");
|
11844
11846
|
attr_dev(svg, "xml:space", "preserve");
|
11845
|
-
add_location(svg, file,
|
11847
|
+
add_location(svg, file, 359, 18, 13123);
|
11846
11848
|
attr_dev(div, "class", "FavIconContainer");
|
11847
|
-
add_location(div, file,
|
11849
|
+
add_location(div, file, 358, 16, 13027);
|
11848
11850
|
},
|
11849
11851
|
m: function mount(target, anchor) {
|
11850
11852
|
insert_dev(target, div, anchor);
|
@@ -11852,7 +11854,7 @@
|
|
11852
11854
|
append_dev(svg, path);
|
11853
11855
|
|
11854
11856
|
if (!mounted) {
|
11855
|
-
dispose = listen_dev(div, "click", /*click_handler_1*/ ctx[
|
11857
|
+
dispose = listen_dev(div, "click", /*click_handler_1*/ ctx[44], false, false, false);
|
11856
11858
|
mounted = true;
|
11857
11859
|
}
|
11858
11860
|
},
|
@@ -11868,15 +11870,15 @@
|
|
11868
11870
|
block,
|
11869
11871
|
id: create_else_block_1.name,
|
11870
11872
|
type: "else",
|
11871
|
-
source: "(
|
11873
|
+
source: "(358:14) {:else}",
|
11872
11874
|
ctx
|
11873
11875
|
});
|
11874
11876
|
|
11875
11877
|
return block;
|
11876
11878
|
}
|
11877
11879
|
|
11878
|
-
// (
|
11879
|
-
function
|
11880
|
+
// (352:14) {#if game.isFavored}
|
11881
|
+
function create_if_block_7(ctx) {
|
11880
11882
|
let div;
|
11881
11883
|
let svg;
|
11882
11884
|
let path;
|
@@ -11890,16 +11892,16 @@
|
|
11890
11892
|
path = svg_element("path");
|
11891
11893
|
set_style(path, "fill", "white");
|
11892
11894
|
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");
|
11893
|
-
add_location(path, file,
|
11895
|
+
add_location(path, file, 354, 20, 12602);
|
11894
11896
|
attr_dev(svg, "version", "1.1");
|
11895
11897
|
attr_dev(svg, "class", "FavoredIcon");
|
11896
11898
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
11897
11899
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
11898
11900
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
11899
11901
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
11900
|
-
add_location(svg, file,
|
11902
|
+
add_location(svg, file, 353, 18, 12394);
|
11901
11903
|
attr_dev(div, "class", "FavIconContainer");
|
11902
|
-
add_location(div, file,
|
11904
|
+
add_location(div, file, 352, 16, 12298);
|
11903
11905
|
},
|
11904
11906
|
m: function mount(target, anchor) {
|
11905
11907
|
insert_dev(target, div, anchor);
|
@@ -11907,7 +11909,7 @@
|
|
11907
11909
|
append_dev(svg, path);
|
11908
11910
|
|
11909
11911
|
if (!mounted) {
|
11910
|
-
dispose = listen_dev(div, "click", /*click_handler*/ ctx[
|
11912
|
+
dispose = listen_dev(div, "click", /*click_handler*/ ctx[43], false, false, false);
|
11911
11913
|
mounted = true;
|
11912
11914
|
}
|
11913
11915
|
},
|
@@ -11921,9 +11923,102 @@
|
|
11921
11923
|
|
11922
11924
|
dispatch_dev("SvelteRegisterBlock", {
|
11923
11925
|
block,
|
11924
|
-
id:
|
11926
|
+
id: create_if_block_7.name,
|
11927
|
+
type: "if",
|
11928
|
+
source: "(352:14) {#if game.isFavored}",
|
11929
|
+
ctx
|
11930
|
+
});
|
11931
|
+
|
11932
|
+
return block;
|
11933
|
+
}
|
11934
|
+
|
11935
|
+
// (380:14) {#if haspanicbutton === "true"}
|
11936
|
+
function create_if_block_5(ctx) {
|
11937
|
+
let div1;
|
11938
|
+
let div0;
|
11939
|
+
let svg;
|
11940
|
+
let path;
|
11941
|
+
let t0;
|
11942
|
+
let p;
|
11943
|
+
let t1_value = /*$_*/ ctx[20]("gamePage.break") + "";
|
11944
|
+
let t1;
|
11945
|
+
let t2;
|
11946
|
+
let button;
|
11947
|
+
let t3_value = /*$_*/ ctx[20]("gamePage.breakButton") + "";
|
11948
|
+
let t3;
|
11949
|
+
let mounted;
|
11950
|
+
let dispose;
|
11951
|
+
|
11952
|
+
const block = {
|
11953
|
+
c: function create() {
|
11954
|
+
div1 = element("div");
|
11955
|
+
div0 = element("div");
|
11956
|
+
svg = svg_element("svg");
|
11957
|
+
path = svg_element("path");
|
11958
|
+
t0 = space();
|
11959
|
+
p = element("p");
|
11960
|
+
t1 = text(t1_value);
|
11961
|
+
t2 = space();
|
11962
|
+
button = element("button");
|
11963
|
+
t3 = text(t3_value);
|
11964
|
+
attr_dev(path, "stroke-linecap", "round");
|
11965
|
+
attr_dev(path, "stroke-linejoin", "round");
|
11966
|
+
attr_dev(path, "stroke-width", "2");
|
11967
|
+
attr_dev(path, "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z");
|
11968
|
+
add_location(path, file, 382, 150, 15373);
|
11969
|
+
attr_dev(svg, "class", "w-1 h-1");
|
11970
|
+
attr_dev(svg, "fill", "none");
|
11971
|
+
attr_dev(svg, "stroke", "white");
|
11972
|
+
attr_dev(svg, "width", "34px");
|
11973
|
+
attr_dev(svg, "height", "34px");
|
11974
|
+
attr_dev(svg, "viewBox", "0 0 24 24");
|
11975
|
+
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
11976
|
+
add_location(svg, file, 382, 20, 15243);
|
11977
|
+
add_location(p, file, 383, 20, 15525);
|
11978
|
+
attr_dev(div0, "class", "PanicText");
|
11979
|
+
add_location(div0, file, 381, 18, 15199);
|
11980
|
+
attr_dev(button, "class", "Button");
|
11981
|
+
add_location(button, file, 385, 18, 15598);
|
11982
|
+
|
11983
|
+
attr_dev(div1, "class", "PanicSection " + (getDevice(/*userAgent*/ ctx[21]) !== "PC"
|
11984
|
+
? "PanicSectionMobile"
|
11985
|
+
: ""));
|
11986
|
+
|
11987
|
+
add_location(div1, file, 380, 16, 15092);
|
11988
|
+
},
|
11989
|
+
m: function mount(target, anchor) {
|
11990
|
+
insert_dev(target, div1, anchor);
|
11991
|
+
append_dev(div1, div0);
|
11992
|
+
append_dev(div0, svg);
|
11993
|
+
append_dev(svg, path);
|
11994
|
+
append_dev(div0, t0);
|
11995
|
+
append_dev(div0, p);
|
11996
|
+
append_dev(p, t1);
|
11997
|
+
append_dev(div1, t2);
|
11998
|
+
append_dev(div1, button);
|
11999
|
+
append_dev(button, t3);
|
12000
|
+
|
12001
|
+
if (!mounted) {
|
12002
|
+
dispose = listen_dev(button, "click", /*click_handler_4*/ ctx[47], false, false, false);
|
12003
|
+
mounted = true;
|
12004
|
+
}
|
12005
|
+
},
|
12006
|
+
p: function update(ctx, dirty) {
|
12007
|
+
if (dirty[0] & /*$_*/ 1048576 && t1_value !== (t1_value = /*$_*/ ctx[20]("gamePage.break") + "")) set_data_dev(t1, t1_value);
|
12008
|
+
if (dirty[0] & /*$_*/ 1048576 && t3_value !== (t3_value = /*$_*/ ctx[20]("gamePage.breakButton") + "")) set_data_dev(t3, t3_value);
|
12009
|
+
},
|
12010
|
+
d: function destroy(detaching) {
|
12011
|
+
if (detaching) detach_dev(div1);
|
12012
|
+
mounted = false;
|
12013
|
+
dispose();
|
12014
|
+
}
|
12015
|
+
};
|
12016
|
+
|
12017
|
+
dispatch_dev("SvelteRegisterBlock", {
|
12018
|
+
block,
|
12019
|
+
id: create_if_block_5.name,
|
11925
12020
|
type: "if",
|
11926
|
-
source: "(
|
12021
|
+
source: "(380:14) {#if haspanicbutton === \\\"true\\\"}",
|
11927
12022
|
ctx
|
11928
12023
|
});
|
11929
12024
|
|
@@ -11934,8 +12029,8 @@
|
|
11934
12029
|
let if_block_anchor;
|
11935
12030
|
|
11936
12031
|
function select_block_type(ctx, dirty) {
|
11937
|
-
if (/*isLoading*/ ctx[
|
11938
|
-
if (/*hasErrors*/ ctx[
|
12032
|
+
if (/*isLoading*/ ctx[6]) return create_if_block;
|
12033
|
+
if (/*hasErrors*/ ctx[5]) return create_if_block_1;
|
11939
12034
|
return create_else_block;
|
11940
12035
|
}
|
11941
12036
|
|
@@ -11990,7 +12085,7 @@
|
|
11990
12085
|
function instance($$self, $$props, $$invalidate) {
|
11991
12086
|
let $_;
|
11992
12087
|
validate_store(X, "_");
|
11993
|
-
component_subscribe($$self, X, $$value => $$invalidate(
|
12088
|
+
component_subscribe($$self, X, $$value => $$invalidate(20, $_ = $$value));
|
11994
12089
|
let { $$slots: slots = {}, $$scope } = $$props;
|
11995
12090
|
validate_slots("undefined", slots, []);
|
11996
12091
|
let { endpoint = "" } = $$props;
|
@@ -12008,6 +12103,7 @@
|
|
12008
12103
|
let { registerevent = "" } = $$props;
|
12009
12104
|
let { depositevent = "" } = $$props;
|
12010
12105
|
let { clockformat = "" } = $$props;
|
12106
|
+
let { haspanicbutton = "false" } = $$props;
|
12011
12107
|
let time;
|
12012
12108
|
let iframe;
|
12013
12109
|
let isLoggedIn = false;
|
@@ -12044,7 +12140,7 @@
|
|
12044
12140
|
|
12045
12141
|
// Maybe we should check if the session is valid, somehow?
|
12046
12142
|
if (sessionID && sessionID.length > 0) {
|
12047
|
-
$$invalidate(
|
12143
|
+
$$invalidate(4, isLoggedIn = true);
|
12048
12144
|
url.searchParams.append("_sid", sessionID);
|
12049
12145
|
url.searchParams.append("funMode", false);
|
12050
12146
|
url.searchParams.append("language", lang);
|
@@ -12061,26 +12157,26 @@
|
|
12061
12157
|
url.searchParams.append("language", lang);
|
12062
12158
|
fetch(url).then(res => res.json()).then(
|
12063
12159
|
data => {
|
12064
|
-
$$invalidate(
|
12160
|
+
$$invalidate(7, game = formatGameLaunchUrl(data[0]));
|
12065
12161
|
|
12066
12162
|
if (game.launchUrl) {
|
12067
|
-
$$invalidate(
|
12068
|
-
$$invalidate(
|
12069
|
-
$$invalidate(
|
12163
|
+
$$invalidate(8, detailsObtained = true);
|
12164
|
+
$$invalidate(9, funMode = game.hasFunMode);
|
12165
|
+
$$invalidate(10, anonymousFunMode = game.hasAnonymousFunMode);
|
12070
12166
|
let url = new URL(game.launchUrl);
|
12071
12167
|
|
12072
12168
|
if (sessionID && sessionID.length > 0) {
|
12073
|
-
$$invalidate(
|
12169
|
+
$$invalidate(4, isLoggedIn = true);
|
12074
12170
|
url.searchParams.append("_sid", sessionID);
|
12075
12171
|
url.searchParams.append("funMode", false);
|
12076
12172
|
url.searchParams.append("language", lang);
|
12077
|
-
$$invalidate(
|
12173
|
+
$$invalidate(7, game.launchUrl = url, game);
|
12078
12174
|
}
|
12079
12175
|
}
|
12080
12176
|
},
|
12081
12177
|
err => {
|
12082
12178
|
console.error("There was an error", err);
|
12083
|
-
$$invalidate(
|
12179
|
+
$$invalidate(5, hasErrors = true);
|
12084
12180
|
}
|
12085
12181
|
).then(() => {
|
12086
12182
|
if (gameFrameContainer) {
|
@@ -12095,7 +12191,7 @@
|
|
12095
12191
|
case "ModalClosed":
|
12096
12192
|
setTimeout(
|
12097
12193
|
() => {
|
12098
|
-
$$invalidate(
|
12194
|
+
$$invalidate(8, detailsObtained = false);
|
12099
12195
|
},
|
12100
12196
|
500
|
12101
12197
|
);
|
@@ -12104,7 +12200,7 @@
|
|
12104
12200
|
if (e.data.session.length > 0) {
|
12105
12201
|
sessionID = e.data.session;
|
12106
12202
|
playerID = e.data.userID;
|
12107
|
-
$$invalidate(
|
12203
|
+
$$invalidate(4, isLoggedIn = true);
|
12108
12204
|
|
12109
12205
|
let interval = setInterval(
|
12110
12206
|
() => {
|
@@ -12113,7 +12209,7 @@
|
|
12113
12209
|
url.searchParams.append("_sid", sessionID);
|
12114
12210
|
url.searchParams.append("funMode", false);
|
12115
12211
|
url.searchParams.append("language", lang);
|
12116
|
-
$$invalidate(
|
12212
|
+
$$invalidate(7, game.launchUrl = url, game);
|
12117
12213
|
clearInterval(interval);
|
12118
12214
|
}
|
12119
12215
|
},
|
@@ -12122,8 +12218,8 @@
|
|
12122
12218
|
}
|
12123
12219
|
break;
|
12124
12220
|
case "ModalSize":
|
12125
|
-
$$invalidate(
|
12126
|
-
$$invalidate(
|
12221
|
+
$$invalidate(14, modalFrameWidth = e.data.modalContainerSize.modalWidth);
|
12222
|
+
$$invalidate(15, modalFrameHeight = e.data.modalContainerSize.modalHeight);
|
12127
12223
|
break;
|
12128
12224
|
case "UpdateCategoryFavoriteGames":
|
12129
12225
|
if (e.data.receivedFavoriteResults) {
|
@@ -12154,7 +12250,7 @@
|
|
12154
12250
|
window.location.href
|
12155
12251
|
);
|
12156
12252
|
|
12157
|
-
$$invalidate(
|
12253
|
+
$$invalidate(7, game.isFavored = false, game);
|
12158
12254
|
} else {
|
12159
12255
|
window.postMessage(
|
12160
12256
|
{
|
@@ -12165,7 +12261,7 @@
|
|
12165
12261
|
window.location.href
|
12166
12262
|
);
|
12167
12263
|
|
12168
|
-
$$invalidate(
|
12264
|
+
$$invalidate(7, game.isFavored = true, game);
|
12169
12265
|
}
|
12170
12266
|
};
|
12171
12267
|
|
@@ -12174,13 +12270,13 @@
|
|
12174
12270
|
url.searchParams.append("language", lang);
|
12175
12271
|
|
12176
12272
|
fetch(url).then(res => res.json()).then(data => {
|
12177
|
-
$$invalidate(
|
12273
|
+
$$invalidate(7, game = formatGameLaunchUrl(data[0]));
|
12178
12274
|
|
12179
12275
|
if (game.launchUrl) {
|
12180
|
-
$$invalidate(
|
12181
|
-
$$invalidate(
|
12182
|
-
$$invalidate(
|
12183
|
-
$$invalidate(
|
12276
|
+
$$invalidate(10, anonymousFunMode = game.hasAnonymousFunMode);
|
12277
|
+
$$invalidate(9, funMode = gameFunMode);
|
12278
|
+
$$invalidate(8, detailsObtained = true);
|
12279
|
+
$$invalidate(7, game.isFavored = checkFavorite(game.id), game);
|
12184
12280
|
}
|
12185
12281
|
});
|
12186
12282
|
};
|
@@ -12204,8 +12300,8 @@
|
|
12204
12300
|
gameFrameHeight = gameContainerWidth / iframeRatio;
|
12205
12301
|
}
|
12206
12302
|
|
12207
|
-
$$invalidate(
|
12208
|
-
$$invalidate(
|
12303
|
+
$$invalidate(16, definitiveIframeWidth = Math.floor(gameFrameWidth) + "px");
|
12304
|
+
$$invalidate(17, definitiveIframeHeight = Math.floor(gameFrameHeight) + "px");
|
12209
12305
|
};
|
12210
12306
|
|
12211
12307
|
const openGameWindow = game => {
|
@@ -12290,7 +12386,7 @@
|
|
12290
12386
|
document.msExitFullscreen();
|
12291
12387
|
}
|
12292
12388
|
|
12293
|
-
$$invalidate(
|
12389
|
+
$$invalidate(13, isFullscreen = false);
|
12294
12390
|
} else {
|
12295
12391
|
if (gameFrameContainer.requestFullscreen) {
|
12296
12392
|
gameFrameContainer.requestFullscreen();
|
@@ -12302,7 +12398,7 @@
|
|
12302
12398
|
gameFrameContainer.msRequestFullscreen();
|
12303
12399
|
}
|
12304
12400
|
|
12305
|
-
$$invalidate(
|
12401
|
+
$$invalidate(13, isFullscreen = true);
|
12306
12402
|
}
|
12307
12403
|
}
|
12308
12404
|
};
|
@@ -12313,9 +12409,9 @@
|
|
12313
12409
|
|
12314
12410
|
const refreshTime = () => {
|
12315
12411
|
if (clockformat) {
|
12316
|
-
$$invalidate(
|
12412
|
+
$$invalidate(2, time = moment().format(clockformat));
|
12317
12413
|
} else {
|
12318
|
-
$$invalidate(
|
12414
|
+
$$invalidate(2, time = moment().format("LTS"));
|
12319
12415
|
}
|
12320
12416
|
};
|
12321
12417
|
|
@@ -12327,10 +12423,10 @@
|
|
12327
12423
|
);
|
12328
12424
|
|
12329
12425
|
const initialSetup = () => {
|
12330
|
-
$$invalidate(
|
12426
|
+
$$invalidate(6, isLoading = false);
|
12331
12427
|
|
12332
12428
|
if (isMobile(userAgent)) {
|
12333
|
-
$$invalidate(
|
12429
|
+
$$invalidate(18, mobileView = true);
|
12334
12430
|
}
|
12335
12431
|
};
|
12336
12432
|
|
@@ -12339,10 +12435,10 @@
|
|
12339
12435
|
res => {
|
12340
12436
|
sessionID = res.Guid;
|
12341
12437
|
playerID = res.UserID;
|
12342
|
-
$$invalidate(
|
12438
|
+
$$invalidate(4, isLoggedIn = true);
|
12343
12439
|
},
|
12344
12440
|
err => {
|
12345
|
-
$$invalidate(
|
12441
|
+
$$invalidate(4, isLoggedIn = false);
|
12346
12442
|
console.error("err on session", err);
|
12347
12443
|
}
|
12348
12444
|
);
|
@@ -12399,7 +12495,8 @@
|
|
12399
12495
|
"loginevent",
|
12400
12496
|
"registerevent",
|
12401
12497
|
"depositevent",
|
12402
|
-
"clockformat"
|
12498
|
+
"clockformat",
|
12499
|
+
"haspanicbutton"
|
12403
12500
|
];
|
12404
12501
|
|
12405
12502
|
Object_1.keys($$props).forEach(key => {
|
@@ -12428,7 +12525,7 @@
|
|
12428
12525
|
function iframe_1_binding($$value) {
|
12429
12526
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
12430
12527
|
iframe = $$value;
|
12431
|
-
$$invalidate(
|
12528
|
+
$$invalidate(3, iframe);
|
12432
12529
|
});
|
12433
12530
|
}
|
12434
12531
|
|
@@ -12436,24 +12533,24 @@
|
|
12436
12533
|
const click_handler_11 = () => handleIframeSize();
|
12437
12534
|
const click_handler_12 = () => handleIframeSize();
|
12438
12535
|
|
12439
|
-
function
|
12536
|
+
function div1_binding($$value) {
|
12440
12537
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
12441
12538
|
gameInnerContainer = $$value;
|
12442
|
-
$$invalidate(
|
12539
|
+
$$invalidate(12, gameInnerContainer);
|
12443
12540
|
});
|
12444
12541
|
}
|
12445
12542
|
|
12446
|
-
function
|
12543
|
+
function div2_binding($$value) {
|
12447
12544
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
12448
12545
|
gameFrameContainer = $$value;
|
12449
|
-
$$invalidate(
|
12546
|
+
$$invalidate(11, gameFrameContainer);
|
12450
12547
|
});
|
12451
12548
|
}
|
12452
12549
|
|
12453
12550
|
function iframe_1_binding_1($$value) {
|
12454
12551
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
12455
12552
|
iframe = $$value;
|
12456
|
-
$$invalidate(
|
12553
|
+
$$invalidate(3, iframe);
|
12457
12554
|
});
|
12458
12555
|
}
|
12459
12556
|
|
@@ -12465,14 +12562,14 @@
|
|
12465
12562
|
function div2_binding_1($$value) {
|
12466
12563
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
12467
12564
|
gameInnerContainer = $$value;
|
12468
|
-
$$invalidate(
|
12565
|
+
$$invalidate(12, gameInnerContainer);
|
12469
12566
|
});
|
12470
12567
|
}
|
12471
12568
|
|
12472
|
-
function
|
12569
|
+
function div3_binding($$value) {
|
12473
12570
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
12474
12571
|
gameFrameContainer = $$value;
|
12475
|
-
$$invalidate(
|
12572
|
+
$$invalidate(11, gameFrameContainer);
|
12476
12573
|
});
|
12477
12574
|
}
|
12478
12575
|
|
@@ -12482,26 +12579,27 @@
|
|
12482
12579
|
function div_binding($$value) {
|
12483
12580
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
12484
12581
|
customStylingContainer = $$value;
|
12485
|
-
$$invalidate(
|
12582
|
+
$$invalidate(19, customStylingContainer);
|
12486
12583
|
});
|
12487
12584
|
}
|
12488
12585
|
|
12489
12586
|
$$self.$$set = $$props => {
|
12490
|
-
if ("endpoint" in $$props) $$invalidate(
|
12491
|
-
if ("datasource" in $$props) $$invalidate(
|
12492
|
-
if ("lang" in $$props) $$invalidate(
|
12493
|
-
if ("session" in $$props) $$invalidate(
|
12494
|
-
if ("userid" in $$props) $$invalidate(
|
12495
|
-
if ("clientstyling" in $$props) $$invalidate(
|
12496
|
-
if ("clientstylingurl" in $$props) $$invalidate(
|
12587
|
+
if ("endpoint" in $$props) $$invalidate(29, endpoint = $$props.endpoint);
|
12588
|
+
if ("datasource" in $$props) $$invalidate(30, datasource = $$props.datasource);
|
12589
|
+
if ("lang" in $$props) $$invalidate(31, lang = $$props.lang);
|
12590
|
+
if ("session" in $$props) $$invalidate(32, session = $$props.session);
|
12591
|
+
if ("userid" in $$props) $$invalidate(33, userid = $$props.userid);
|
12592
|
+
if ("clientstyling" in $$props) $$invalidate(34, clientstyling = $$props.clientstyling);
|
12593
|
+
if ("clientstylingurl" in $$props) $$invalidate(35, clientstylingurl = $$props.clientstylingurl);
|
12497
12594
|
if ("favorites" in $$props) $$invalidate(0, favorites = $$props.favorites);
|
12498
|
-
if ("loginurl" in $$props) $$invalidate(
|
12499
|
-
if ("registerurl" in $$props) $$invalidate(
|
12500
|
-
if ("depositurl" in $$props) $$invalidate(
|
12501
|
-
if ("loginevent" in $$props) $$invalidate(
|
12502
|
-
if ("registerevent" in $$props) $$invalidate(
|
12503
|
-
if ("depositevent" in $$props) $$invalidate(
|
12504
|
-
if ("clockformat" in $$props) $$invalidate(
|
12595
|
+
if ("loginurl" in $$props) $$invalidate(36, loginurl = $$props.loginurl);
|
12596
|
+
if ("registerurl" in $$props) $$invalidate(37, registerurl = $$props.registerurl);
|
12597
|
+
if ("depositurl" in $$props) $$invalidate(38, depositurl = $$props.depositurl);
|
12598
|
+
if ("loginevent" in $$props) $$invalidate(39, loginevent = $$props.loginevent);
|
12599
|
+
if ("registerevent" in $$props) $$invalidate(40, registerevent = $$props.registerevent);
|
12600
|
+
if ("depositevent" in $$props) $$invalidate(41, depositevent = $$props.depositevent);
|
12601
|
+
if ("clockformat" in $$props) $$invalidate(42, clockformat = $$props.clockformat);
|
12602
|
+
if ("haspanicbutton" in $$props) $$invalidate(1, haspanicbutton = $$props.haspanicbutton);
|
12505
12603
|
};
|
12506
12604
|
|
12507
12605
|
$$self.$capture_state = () => ({
|
@@ -12528,6 +12626,7 @@
|
|
12528
12626
|
registerevent,
|
12529
12627
|
depositevent,
|
12530
12628
|
clockformat,
|
12629
|
+
haspanicbutton,
|
12531
12630
|
time,
|
12532
12631
|
iframe,
|
12533
12632
|
isLoggedIn,
|
@@ -12577,46 +12676,47 @@
|
|
12577
12676
|
});
|
12578
12677
|
|
12579
12678
|
$$self.$inject_state = $$props => {
|
12580
|
-
if ("endpoint" in $$props) $$invalidate(
|
12581
|
-
if ("datasource" in $$props) $$invalidate(
|
12582
|
-
if ("lang" in $$props) $$invalidate(
|
12583
|
-
if ("session" in $$props) $$invalidate(
|
12584
|
-
if ("userid" in $$props) $$invalidate(
|
12585
|
-
if ("clientstyling" in $$props) $$invalidate(
|
12586
|
-
if ("clientstylingurl" in $$props) $$invalidate(
|
12679
|
+
if ("endpoint" in $$props) $$invalidate(29, endpoint = $$props.endpoint);
|
12680
|
+
if ("datasource" in $$props) $$invalidate(30, datasource = $$props.datasource);
|
12681
|
+
if ("lang" in $$props) $$invalidate(31, lang = $$props.lang);
|
12682
|
+
if ("session" in $$props) $$invalidate(32, session = $$props.session);
|
12683
|
+
if ("userid" in $$props) $$invalidate(33, userid = $$props.userid);
|
12684
|
+
if ("clientstyling" in $$props) $$invalidate(34, clientstyling = $$props.clientstyling);
|
12685
|
+
if ("clientstylingurl" in $$props) $$invalidate(35, clientstylingurl = $$props.clientstylingurl);
|
12587
12686
|
if ("favorites" in $$props) $$invalidate(0, favorites = $$props.favorites);
|
12588
|
-
if ("loginurl" in $$props) $$invalidate(
|
12589
|
-
if ("registerurl" in $$props) $$invalidate(
|
12590
|
-
if ("depositurl" in $$props) $$invalidate(
|
12591
|
-
if ("loginevent" in $$props) $$invalidate(
|
12592
|
-
if ("registerevent" in $$props) $$invalidate(
|
12593
|
-
if ("depositevent" in $$props) $$invalidate(
|
12594
|
-
if ("clockformat" in $$props) $$invalidate(
|
12595
|
-
if ("
|
12596
|
-
if ("
|
12597
|
-
if ("
|
12598
|
-
if ("
|
12599
|
-
if ("
|
12687
|
+
if ("loginurl" in $$props) $$invalidate(36, loginurl = $$props.loginurl);
|
12688
|
+
if ("registerurl" in $$props) $$invalidate(37, registerurl = $$props.registerurl);
|
12689
|
+
if ("depositurl" in $$props) $$invalidate(38, depositurl = $$props.depositurl);
|
12690
|
+
if ("loginevent" in $$props) $$invalidate(39, loginevent = $$props.loginevent);
|
12691
|
+
if ("registerevent" in $$props) $$invalidate(40, registerevent = $$props.registerevent);
|
12692
|
+
if ("depositevent" in $$props) $$invalidate(41, depositevent = $$props.depositevent);
|
12693
|
+
if ("clockformat" in $$props) $$invalidate(42, clockformat = $$props.clockformat);
|
12694
|
+
if ("haspanicbutton" in $$props) $$invalidate(1, haspanicbutton = $$props.haspanicbutton);
|
12695
|
+
if ("time" in $$props) $$invalidate(2, time = $$props.time);
|
12696
|
+
if ("iframe" in $$props) $$invalidate(3, iframe = $$props.iframe);
|
12697
|
+
if ("isLoggedIn" in $$props) $$invalidate(4, isLoggedIn = $$props.isLoggedIn);
|
12698
|
+
if ("hasErrors" in $$props) $$invalidate(5, hasErrors = $$props.hasErrors);
|
12699
|
+
if ("isLoading" in $$props) $$invalidate(6, isLoading = $$props.isLoading);
|
12600
12700
|
if ("playerID" in $$props) playerID = $$props.playerID;
|
12601
12701
|
if ("sessionID" in $$props) sessionID = $$props.sessionID;
|
12602
|
-
if ("game" in $$props) $$invalidate(
|
12603
|
-
if ("detailsObtained" in $$props) $$invalidate(
|
12604
|
-
if ("funMode" in $$props) $$invalidate(
|
12605
|
-
if ("anonymousFunMode" in $$props) $$invalidate(
|
12606
|
-
if ("gameFrameContainer" in $$props) $$invalidate(
|
12607
|
-
if ("gameInnerContainer" in $$props) $$invalidate(
|
12608
|
-
if ("isFullscreen" in $$props) $$invalidate(
|
12702
|
+
if ("game" in $$props) $$invalidate(7, game = $$props.game);
|
12703
|
+
if ("detailsObtained" in $$props) $$invalidate(8, detailsObtained = $$props.detailsObtained);
|
12704
|
+
if ("funMode" in $$props) $$invalidate(9, funMode = $$props.funMode);
|
12705
|
+
if ("anonymousFunMode" in $$props) $$invalidate(10, anonymousFunMode = $$props.anonymousFunMode);
|
12706
|
+
if ("gameFrameContainer" in $$props) $$invalidate(11, gameFrameContainer = $$props.gameFrameContainer);
|
12707
|
+
if ("gameInnerContainer" in $$props) $$invalidate(12, gameInnerContainer = $$props.gameInnerContainer);
|
12708
|
+
if ("isFullscreen" in $$props) $$invalidate(13, isFullscreen = $$props.isFullscreen);
|
12609
12709
|
if ("gameFrameCloseFullScreen" in $$props) gameFrameCloseFullScreen = $$props.gameFrameCloseFullScreen;
|
12610
|
-
if ("modalFrameWidth" in $$props) $$invalidate(
|
12611
|
-
if ("modalFrameHeight" in $$props) $$invalidate(
|
12710
|
+
if ("modalFrameWidth" in $$props) $$invalidate(14, modalFrameWidth = $$props.modalFrameWidth);
|
12711
|
+
if ("modalFrameHeight" in $$props) $$invalidate(15, modalFrameHeight = $$props.modalFrameHeight);
|
12612
12712
|
if ("gameFrameWidth" in $$props) gameFrameWidth = $$props.gameFrameWidth;
|
12613
12713
|
if ("gameFrameHeight" in $$props) gameFrameHeight = $$props.gameFrameHeight;
|
12614
|
-
if ("definitiveIframeWidth" in $$props) $$invalidate(
|
12615
|
-
if ("definitiveIframeHeight" in $$props) $$invalidate(
|
12616
|
-
if ("userAgent" in $$props) $$invalidate(
|
12617
|
-
if ("mobileView" in $$props) $$invalidate(
|
12714
|
+
if ("definitiveIframeWidth" in $$props) $$invalidate(16, definitiveIframeWidth = $$props.definitiveIframeWidth);
|
12715
|
+
if ("definitiveIframeHeight" in $$props) $$invalidate(17, definitiveIframeHeight = $$props.definitiveIframeHeight);
|
12716
|
+
if ("userAgent" in $$props) $$invalidate(21, userAgent = $$props.userAgent);
|
12717
|
+
if ("mobileView" in $$props) $$invalidate(18, mobileView = $$props.mobileView);
|
12618
12718
|
if ("favoriteGames" in $$props) favoriteGames = $$props.favoriteGames;
|
12619
|
-
if ("customStylingContainer" in $$props) $$invalidate(
|
12719
|
+
if ("customStylingContainer" in $$props) $$invalidate(19, customStylingContainer = $$props.customStylingContainer);
|
12620
12720
|
if ("openGameFrame" in $$props) openGameFrame = $$props.openGameFrame;
|
12621
12721
|
if ("keepIframeRatio" in $$props) keepIframeRatio = $$props.keepIframeRatio;
|
12622
12722
|
};
|
@@ -12626,25 +12726,26 @@
|
|
12626
12726
|
}
|
12627
12727
|
|
12628
12728
|
$$self.$$.update = () => {
|
12629
|
-
if ($$self.$$.dirty[0] & /*endpoint, datasource
|
12729
|
+
if ($$self.$$.dirty[0] & /*endpoint, datasource*/ 1610612736 | $$self.$$.dirty[1] & /*lang*/ 1) {
|
12630
12730
|
endpoint && datasource && lang && initialSetup();
|
12631
12731
|
}
|
12632
12732
|
|
12633
|
-
if ($$self.$$.dirty[0] & /*endpoint*/
|
12733
|
+
if ($$self.$$.dirty[0] & /*endpoint*/ 536870912 | $$self.$$.dirty[1] & /*session, userid*/ 6) {
|
12634
12734
|
session && userid && endpoint && setSession();
|
12635
12735
|
}
|
12636
12736
|
|
12637
|
-
if ($$self.$$.dirty[1] & /*clientstyling*/
|
12737
|
+
if ($$self.$$.dirty[1] & /*clientstyling*/ 8) {
|
12638
12738
|
clientstyling && setClientStyling();
|
12639
12739
|
}
|
12640
12740
|
|
12641
|
-
if ($$self.$$.dirty[1] & /*clientstylingurl*/
|
12741
|
+
if ($$self.$$.dirty[1] & /*clientstylingurl*/ 16) {
|
12642
12742
|
clientstylingurl && setClientStylingURL();
|
12643
12743
|
}
|
12644
12744
|
};
|
12645
12745
|
|
12646
12746
|
return [
|
12647
12747
|
favorites,
|
12748
|
+
haspanicbutton,
|
12648
12749
|
time,
|
12649
12750
|
iframe,
|
12650
12751
|
isLoggedIn,
|
@@ -12700,15 +12801,15 @@
|
|
12700
12801
|
click_handler_10,
|
12701
12802
|
click_handler_11,
|
12702
12803
|
click_handler_12,
|
12804
|
+
div1_binding,
|
12703
12805
|
div2_binding,
|
12704
|
-
div3_binding,
|
12705
12806
|
iframe_1_binding_1,
|
12706
12807
|
click_handler_13,
|
12707
12808
|
click_handler_14,
|
12708
12809
|
click_handler_15,
|
12709
12810
|
click_handler_16,
|
12710
12811
|
div2_binding_1,
|
12711
|
-
|
12812
|
+
div3_binding,
|
12712
12813
|
click_handler_17,
|
12713
12814
|
click_handler_18,
|
12714
12815
|
div_binding
|
@@ -12731,21 +12832,22 @@
|
|
12731
12832
|
create_fragment,
|
12732
12833
|
safe_not_equal,
|
12733
12834
|
{
|
12734
|
-
endpoint:
|
12735
|
-
datasource:
|
12736
|
-
lang:
|
12737
|
-
session:
|
12738
|
-
userid:
|
12739
|
-
clientstyling:
|
12740
|
-
clientstylingurl:
|
12835
|
+
endpoint: 29,
|
12836
|
+
datasource: 30,
|
12837
|
+
lang: 31,
|
12838
|
+
session: 32,
|
12839
|
+
userid: 33,
|
12840
|
+
clientstyling: 34,
|
12841
|
+
clientstylingurl: 35,
|
12741
12842
|
favorites: 0,
|
12742
|
-
loginurl:
|
12743
|
-
registerurl:
|
12744
|
-
depositurl:
|
12745
|
-
loginevent:
|
12746
|
-
registerevent:
|
12747
|
-
depositevent:
|
12748
|
-
clockformat:
|
12843
|
+
loginurl: 36,
|
12844
|
+
registerurl: 37,
|
12845
|
+
depositurl: 38,
|
12846
|
+
loginevent: 39,
|
12847
|
+
registerevent: 40,
|
12848
|
+
depositevent: 41,
|
12849
|
+
clockformat: 42,
|
12850
|
+
haspanicbutton: 1
|
12749
12851
|
},
|
12750
12852
|
[-1, -1, -1]
|
12751
12853
|
);
|
@@ -12778,12 +12880,13 @@
|
|
12778
12880
|
"loginevent",
|
12779
12881
|
"registerevent",
|
12780
12882
|
"depositevent",
|
12781
|
-
"clockformat"
|
12883
|
+
"clockformat",
|
12884
|
+
"haspanicbutton"
|
12782
12885
|
];
|
12783
12886
|
}
|
12784
12887
|
|
12785
12888
|
get endpoint() {
|
12786
|
-
return this.$$.ctx[
|
12889
|
+
return this.$$.ctx[29];
|
12787
12890
|
}
|
12788
12891
|
|
12789
12892
|
set endpoint(endpoint) {
|
@@ -12792,7 +12895,7 @@
|
|
12792
12895
|
}
|
12793
12896
|
|
12794
12897
|
get datasource() {
|
12795
|
-
return this.$$.ctx[
|
12898
|
+
return this.$$.ctx[30];
|
12796
12899
|
}
|
12797
12900
|
|
12798
12901
|
set datasource(datasource) {
|
@@ -12801,7 +12904,7 @@
|
|
12801
12904
|
}
|
12802
12905
|
|
12803
12906
|
get lang() {
|
12804
|
-
return this.$$.ctx[
|
12907
|
+
return this.$$.ctx[31];
|
12805
12908
|
}
|
12806
12909
|
|
12807
12910
|
set lang(lang) {
|
@@ -12810,7 +12913,7 @@
|
|
12810
12913
|
}
|
12811
12914
|
|
12812
12915
|
get session() {
|
12813
|
-
return this.$$.ctx[
|
12916
|
+
return this.$$.ctx[32];
|
12814
12917
|
}
|
12815
12918
|
|
12816
12919
|
set session(session) {
|
@@ -12819,7 +12922,7 @@
|
|
12819
12922
|
}
|
12820
12923
|
|
12821
12924
|
get userid() {
|
12822
|
-
return this.$$.ctx[
|
12925
|
+
return this.$$.ctx[33];
|
12823
12926
|
}
|
12824
12927
|
|
12825
12928
|
set userid(userid) {
|
@@ -12828,7 +12931,7 @@
|
|
12828
12931
|
}
|
12829
12932
|
|
12830
12933
|
get clientstyling() {
|
12831
|
-
return this.$$.ctx[
|
12934
|
+
return this.$$.ctx[34];
|
12832
12935
|
}
|
12833
12936
|
|
12834
12937
|
set clientstyling(clientstyling) {
|
@@ -12837,7 +12940,7 @@
|
|
12837
12940
|
}
|
12838
12941
|
|
12839
12942
|
get clientstylingurl() {
|
12840
|
-
return this.$$.ctx[
|
12943
|
+
return this.$$.ctx[35];
|
12841
12944
|
}
|
12842
12945
|
|
12843
12946
|
set clientstylingurl(clientstylingurl) {
|
@@ -12855,7 +12958,7 @@
|
|
12855
12958
|
}
|
12856
12959
|
|
12857
12960
|
get loginurl() {
|
12858
|
-
return this.$$.ctx[
|
12961
|
+
return this.$$.ctx[36];
|
12859
12962
|
}
|
12860
12963
|
|
12861
12964
|
set loginurl(loginurl) {
|
@@ -12864,7 +12967,7 @@
|
|
12864
12967
|
}
|
12865
12968
|
|
12866
12969
|
get registerurl() {
|
12867
|
-
return this.$$.ctx[
|
12970
|
+
return this.$$.ctx[37];
|
12868
12971
|
}
|
12869
12972
|
|
12870
12973
|
set registerurl(registerurl) {
|
@@ -12873,7 +12976,7 @@
|
|
12873
12976
|
}
|
12874
12977
|
|
12875
12978
|
get depositurl() {
|
12876
|
-
return this.$$.ctx[
|
12979
|
+
return this.$$.ctx[38];
|
12877
12980
|
}
|
12878
12981
|
|
12879
12982
|
set depositurl(depositurl) {
|
@@ -12882,7 +12985,7 @@
|
|
12882
12985
|
}
|
12883
12986
|
|
12884
12987
|
get loginevent() {
|
12885
|
-
return this.$$.ctx[
|
12988
|
+
return this.$$.ctx[39];
|
12886
12989
|
}
|
12887
12990
|
|
12888
12991
|
set loginevent(loginevent) {
|
@@ -12891,7 +12994,7 @@
|
|
12891
12994
|
}
|
12892
12995
|
|
12893
12996
|
get registerevent() {
|
12894
|
-
return this.$$.ctx[
|
12997
|
+
return this.$$.ctx[40];
|
12895
12998
|
}
|
12896
12999
|
|
12897
13000
|
set registerevent(registerevent) {
|
@@ -12900,7 +13003,7 @@
|
|
12900
13003
|
}
|
12901
13004
|
|
12902
13005
|
get depositevent() {
|
12903
|
-
return this.$$.ctx[
|
13006
|
+
return this.$$.ctx[41];
|
12904
13007
|
}
|
12905
13008
|
|
12906
13009
|
set depositevent(depositevent) {
|
@@ -12909,13 +13012,22 @@
|
|
12909
13012
|
}
|
12910
13013
|
|
12911
13014
|
get clockformat() {
|
12912
|
-
return this.$$.ctx[
|
13015
|
+
return this.$$.ctx[42];
|
12913
13016
|
}
|
12914
13017
|
|
12915
13018
|
set clockformat(clockformat) {
|
12916
13019
|
this.$set({ clockformat });
|
12917
13020
|
flush();
|
12918
13021
|
}
|
13022
|
+
|
13023
|
+
get haspanicbutton() {
|
13024
|
+
return this.$$.ctx[1];
|
13025
|
+
}
|
13026
|
+
|
13027
|
+
set haspanicbutton(haspanicbutton) {
|
13028
|
+
this.$set({ haspanicbutton });
|
13029
|
+
flush();
|
13030
|
+
}
|
12919
13031
|
}
|
12920
13032
|
|
12921
13033
|
!customElements.get('casino-game-page') && customElements.define('casino-game-page', CasinoGamePage);
|