@everymatrix/casino-search 0.0.381 → 0.0.382
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-search.js +253 -366
- package/dist/casino-search.js.map +1 -1
- package/package.json +2 -2
package/dist/casino-search.js
CHANGED
|
@@ -12317,18 +12317,18 @@
|
|
|
12317
12317
|
|
|
12318
12318
|
function get_each_context_1(ctx, list, i) {
|
|
12319
12319
|
const child_ctx = ctx.slice();
|
|
12320
|
-
child_ctx[
|
|
12321
|
-
child_ctx[
|
|
12320
|
+
child_ctx[105] = list[i];
|
|
12321
|
+
child_ctx[107] = i;
|
|
12322
12322
|
return child_ctx;
|
|
12323
12323
|
}
|
|
12324
12324
|
|
|
12325
12325
|
function get_each_context$1(ctx, list, i) {
|
|
12326
12326
|
const child_ctx = ctx.slice();
|
|
12327
|
-
child_ctx[
|
|
12327
|
+
child_ctx[102] = list[i];
|
|
12328
12328
|
return child_ctx;
|
|
12329
12329
|
}
|
|
12330
12330
|
|
|
12331
|
-
// (
|
|
12331
|
+
// (522:8) {#if fav}
|
|
12332
12332
|
function create_if_block_12(ctx) {
|
|
12333
12333
|
let show_if = !isMobile(/*userAgent*/ ctx[36]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[13];
|
|
12334
12334
|
let if_block_anchor;
|
|
@@ -12369,14 +12369,14 @@
|
|
|
12369
12369
|
block,
|
|
12370
12370
|
id: create_if_block_12.name,
|
|
12371
12371
|
type: "if",
|
|
12372
|
-
source: "(
|
|
12372
|
+
source: "(522:8) {#if fav}",
|
|
12373
12373
|
ctx
|
|
12374
12374
|
});
|
|
12375
12375
|
|
|
12376
12376
|
return block;
|
|
12377
12377
|
}
|
|
12378
12378
|
|
|
12379
|
-
// (
|
|
12379
|
+
// (523:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
|
|
12380
12380
|
function create_if_block_13(ctx) {
|
|
12381
12381
|
let div;
|
|
12382
12382
|
let svg;
|
|
@@ -12391,7 +12391,7 @@
|
|
|
12391
12391
|
path = svg_element("path");
|
|
12392
12392
|
set_style(path, "fill", "white");
|
|
12393
12393
|
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");
|
|
12394
|
-
add_location(path, file$1,
|
|
12394
|
+
add_location(path, file$1, 525, 112, 18313);
|
|
12395
12395
|
attr_dev(svg, "version", "1.1");
|
|
12396
12396
|
attr_dev(svg, "class", "UnfavoredIcon");
|
|
12397
12397
|
attr_dev(svg, "part", "UnfavoredIcon");
|
|
@@ -12402,10 +12402,10 @@
|
|
|
12402
12402
|
attr_dev(svg, "viewBox", "0 0 512.001 512.001");
|
|
12403
12403
|
set_style(svg, "enable-background", "new 0 0 512.001 512.001");
|
|
12404
12404
|
attr_dev(svg, "xml:space", "preserve");
|
|
12405
|
-
add_location(svg, file$1,
|
|
12405
|
+
add_location(svg, file$1, 524, 14, 18043);
|
|
12406
12406
|
attr_dev(div, "class", "FavIconContainer");
|
|
12407
12407
|
attr_dev(div, "part", "FavIconContainer");
|
|
12408
|
-
add_location(div, file$1,
|
|
12408
|
+
add_location(div, file$1, 523, 12, 17928);
|
|
12409
12409
|
},
|
|
12410
12410
|
m: function mount(target, anchor) {
|
|
12411
12411
|
insert_dev(target, div, anchor);
|
|
@@ -12413,7 +12413,7 @@
|
|
|
12413
12413
|
append_dev(svg, path);
|
|
12414
12414
|
|
|
12415
12415
|
if (!mounted) {
|
|
12416
|
-
dispose = listen_dev(div, "click", /*click_handler*/ ctx[
|
|
12416
|
+
dispose = listen_dev(div, "click", /*click_handler*/ ctx[64], false, false, false);
|
|
12417
12417
|
mounted = true;
|
|
12418
12418
|
}
|
|
12419
12419
|
},
|
|
@@ -12429,14 +12429,14 @@
|
|
|
12429
12429
|
block,
|
|
12430
12430
|
id: create_if_block_13.name,
|
|
12431
12431
|
type: "if",
|
|
12432
|
-
source: "(
|
|
12432
|
+
source: "(523:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}",
|
|
12433
12433
|
ctx
|
|
12434
12434
|
});
|
|
12435
12435
|
|
|
12436
12436
|
return block;
|
|
12437
12437
|
}
|
|
12438
12438
|
|
|
12439
|
-
// (
|
|
12439
|
+
// (551:77)
|
|
12440
12440
|
function create_if_block_11(ctx) {
|
|
12441
12441
|
let div;
|
|
12442
12442
|
let svg;
|
|
@@ -12449,7 +12449,7 @@
|
|
|
12449
12449
|
path = svg_element("path");
|
|
12450
12450
|
set_style(path, "fill", "white");
|
|
12451
12451
|
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");
|
|
12452
|
-
add_location(path, file$1,
|
|
12452
|
+
add_location(path, file$1, 553, 10, 20942);
|
|
12453
12453
|
attr_dev(svg, "version", "1.1");
|
|
12454
12454
|
attr_dev(svg, "class", "FavoredIcon");
|
|
12455
12455
|
attr_dev(svg, "part", "FavoredIcon");
|
|
@@ -12457,10 +12457,10 @@
|
|
|
12457
12457
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
|
12458
12458
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
12459
12459
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
|
12460
|
-
add_location(svg, file$1,
|
|
12460
|
+
add_location(svg, file$1, 552, 8, 20725);
|
|
12461
12461
|
attr_dev(div, "class", "FavIconContainer");
|
|
12462
12462
|
attr_dev(div, "part", "FavIconContainer");
|
|
12463
|
-
add_location(div, file$1,
|
|
12463
|
+
add_location(div, file$1, 551, 6, 20662);
|
|
12464
12464
|
},
|
|
12465
12465
|
m: function mount(target, anchor) {
|
|
12466
12466
|
insert_dev(target, div, anchor);
|
|
@@ -12477,14 +12477,14 @@
|
|
|
12477
12477
|
block,
|
|
12478
12478
|
id: create_if_block_11.name,
|
|
12479
12479
|
type: "if",
|
|
12480
|
-
source: "(
|
|
12480
|
+
source: "(551:77) ",
|
|
12481
12481
|
ctx
|
|
12482
12482
|
});
|
|
12483
12483
|
|
|
12484
12484
|
return block;
|
|
12485
12485
|
}
|
|
12486
12486
|
|
|
12487
|
-
// (
|
|
12487
|
+
// (545:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
|
|
12488
12488
|
function create_if_block_10(ctx) {
|
|
12489
12489
|
let div;
|
|
12490
12490
|
let svg;
|
|
@@ -12499,7 +12499,7 @@
|
|
|
12499
12499
|
path = svg_element("path");
|
|
12500
12500
|
set_style(path, "fill", "white");
|
|
12501
12501
|
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");
|
|
12502
|
-
add_location(path, file$1,
|
|
12502
|
+
add_location(path, file$1, 547, 10, 20211);
|
|
12503
12503
|
attr_dev(svg, "version", "1.1");
|
|
12504
12504
|
attr_dev(svg, "class", "FavoredIcon");
|
|
12505
12505
|
attr_dev(svg, "part", "FavoredIcon");
|
|
@@ -12507,10 +12507,10 @@
|
|
|
12507
12507
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
|
12508
12508
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
12509
12509
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
|
12510
|
-
add_location(svg, file$1,
|
|
12510
|
+
add_location(svg, file$1, 546, 8, 19994);
|
|
12511
12511
|
attr_dev(div, "class", "FavIconContainer");
|
|
12512
12512
|
attr_dev(div, "part", "FavIconContainer");
|
|
12513
|
-
add_location(div, file$1,
|
|
12513
|
+
add_location(div, file$1, 545, 6, 19885);
|
|
12514
12514
|
},
|
|
12515
12515
|
m: function mount(target, anchor) {
|
|
12516
12516
|
insert_dev(target, div, anchor);
|
|
@@ -12518,7 +12518,7 @@
|
|
|
12518
12518
|
append_dev(svg, path);
|
|
12519
12519
|
|
|
12520
12520
|
if (!mounted) {
|
|
12521
|
-
dispose = listen_dev(div, "click", /*click_handler_2*/ ctx[
|
|
12521
|
+
dispose = listen_dev(div, "click", /*click_handler_2*/ ctx[66], false, false, false);
|
|
12522
12522
|
mounted = true;
|
|
12523
12523
|
}
|
|
12524
12524
|
},
|
|
@@ -12534,14 +12534,14 @@
|
|
|
12534
12534
|
block,
|
|
12535
12535
|
id: create_if_block_10.name,
|
|
12536
12536
|
type: "if",
|
|
12537
|
-
source: "(
|
|
12537
|
+
source: "(545:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}",
|
|
12538
12538
|
ctx
|
|
12539
12539
|
});
|
|
12540
12540
|
|
|
12541
12541
|
return block;
|
|
12542
12542
|
}
|
|
12543
12543
|
|
|
12544
|
-
// (
|
|
12544
|
+
// (559:6) {#if gameisnew}
|
|
12545
12545
|
function create_if_block_9(ctx) {
|
|
12546
12546
|
let span;
|
|
12547
12547
|
let t_value = /*$_*/ ctx[35]('gameThumbnail.new') + "";
|
|
@@ -12553,7 +12553,7 @@
|
|
|
12553
12553
|
t = text(t_value);
|
|
12554
12554
|
attr_dev(span, "class", "GameExtraInfoLabel NewGameTag");
|
|
12555
12555
|
attr_dev(span, "part", "GameExtraInfoLabel NewGameTag");
|
|
12556
|
-
add_location(span, file$1,
|
|
12556
|
+
add_location(span, file$1, 559, 8, 21402);
|
|
12557
12557
|
},
|
|
12558
12558
|
m: function mount(target, anchor) {
|
|
12559
12559
|
insert_dev(target, span, anchor);
|
|
@@ -12571,14 +12571,14 @@
|
|
|
12571
12571
|
block,
|
|
12572
12572
|
id: create_if_block_9.name,
|
|
12573
12573
|
type: "if",
|
|
12574
|
-
source: "(
|
|
12574
|
+
source: "(559:6) {#if gameisnew}",
|
|
12575
12575
|
ctx
|
|
12576
12576
|
});
|
|
12577
12577
|
|
|
12578
12578
|
return block;
|
|
12579
12579
|
}
|
|
12580
12580
|
|
|
12581
|
-
// (
|
|
12581
|
+
// (562:6) {#if (parseInt(gamepopularity) > 0)}
|
|
12582
12582
|
function create_if_block_8(ctx) {
|
|
12583
12583
|
let span;
|
|
12584
12584
|
let t_value = /*$_*/ ctx[35]('gameThumbnail.hot') + "";
|
|
@@ -12590,7 +12590,7 @@
|
|
|
12590
12590
|
t = text(t_value);
|
|
12591
12591
|
attr_dev(span, "class", "GameExtraInfoLabel PopularGameTag");
|
|
12592
12592
|
attr_dev(span, "part", "GameExtraInfoLabel PopularGameTag");
|
|
12593
|
-
add_location(span, file$1,
|
|
12593
|
+
add_location(span, file$1, 562, 8, 21579);
|
|
12594
12594
|
},
|
|
12595
12595
|
m: function mount(target, anchor) {
|
|
12596
12596
|
insert_dev(target, span, anchor);
|
|
@@ -12608,14 +12608,14 @@
|
|
|
12608
12608
|
block,
|
|
12609
12609
|
id: create_if_block_8.name,
|
|
12610
12610
|
type: "if",
|
|
12611
|
-
source: "(
|
|
12611
|
+
source: "(562:6) {#if (parseInt(gamepopularity) > 0)}",
|
|
12612
12612
|
ctx
|
|
12613
12613
|
});
|
|
12614
12614
|
|
|
12615
12615
|
return block;
|
|
12616
12616
|
}
|
|
12617
12617
|
|
|
12618
|
-
// (
|
|
12618
|
+
// (565:6) {#if livegamedata}
|
|
12619
12619
|
function create_if_block_1$1(ctx) {
|
|
12620
12620
|
let t;
|
|
12621
12621
|
let if_block1_anchor;
|
|
@@ -12684,14 +12684,14 @@
|
|
|
12684
12684
|
block,
|
|
12685
12685
|
id: create_if_block_1$1.name,
|
|
12686
12686
|
type: "if",
|
|
12687
|
-
source: "(
|
|
12687
|
+
source: "(565:6) {#if livegamedata}",
|
|
12688
12688
|
ctx
|
|
12689
12689
|
});
|
|
12690
12690
|
|
|
12691
12691
|
return block;
|
|
12692
12692
|
}
|
|
12693
12693
|
|
|
12694
|
-
// (
|
|
12694
|
+
// (566:8) {#if !isopen && starttime && timeformat}
|
|
12695
12695
|
function create_if_block_7(ctx) {
|
|
12696
12696
|
let div1;
|
|
12697
12697
|
let div0;
|
|
@@ -12720,15 +12720,15 @@
|
|
|
12720
12720
|
html_tag = new HtmlTag(false);
|
|
12721
12721
|
t4 = space();
|
|
12722
12722
|
html_tag_1 = new HtmlTag(false);
|
|
12723
|
-
add_location(span, file$1,
|
|
12723
|
+
add_location(span, file$1, 569, 14, 21967);
|
|
12724
12724
|
attr_dev(div0, "class", "ClosedGame");
|
|
12725
12725
|
attr_dev(div0, "part", "ClosedGame");
|
|
12726
|
-
add_location(div0, file$1,
|
|
12726
|
+
add_location(div0, file$1, 567, 12, 21868);
|
|
12727
12727
|
html_tag.a = t4;
|
|
12728
12728
|
html_tag_1.a = null;
|
|
12729
12729
|
attr_dev(div1, "class", "GameProp LiveProps");
|
|
12730
12730
|
attr_dev(div1, "part", "GameProp LiveProps");
|
|
12731
|
-
add_location(div1, file$1,
|
|
12731
|
+
add_location(div1, file$1, 566, 10, 21797);
|
|
12732
12732
|
},
|
|
12733
12733
|
m: function mount(target, anchor) {
|
|
12734
12734
|
insert_dev(target, div1, anchor);
|
|
@@ -12757,14 +12757,14 @@
|
|
|
12757
12757
|
block,
|
|
12758
12758
|
id: create_if_block_7.name,
|
|
12759
12759
|
type: "if",
|
|
12760
|
-
source: "(
|
|
12760
|
+
source: "(566:8) {#if !isopen && starttime && timeformat}",
|
|
12761
12761
|
ctx
|
|
12762
12762
|
});
|
|
12763
12763
|
|
|
12764
12764
|
return block;
|
|
12765
12765
|
}
|
|
12766
12766
|
|
|
12767
|
-
// (
|
|
12767
|
+
// (599:68)
|
|
12768
12768
|
function create_if_block_4$1(ctx) {
|
|
12769
12769
|
let div1;
|
|
12770
12770
|
let div0;
|
|
@@ -12797,12 +12797,12 @@
|
|
|
12797
12797
|
html_tag_1 = new HtmlTag(false);
|
|
12798
12798
|
attr_dev(div0, "class", "LiveIcons");
|
|
12799
12799
|
attr_dev(div0, "part", "LiveIcons");
|
|
12800
|
-
add_location(div0, file$1,
|
|
12800
|
+
add_location(div0, file$1, 600, 12, 23927);
|
|
12801
12801
|
html_tag.a = t1;
|
|
12802
12802
|
html_tag_1.a = null;
|
|
12803
12803
|
attr_dev(div1, "class", /*roulettecontainerclassname*/ ctx[30]);
|
|
12804
12804
|
attr_dev(div1, "part", /*roulettecontainerclassname*/ ctx[30]);
|
|
12805
|
-
add_location(div1, file$1,
|
|
12805
|
+
add_location(div1, file$1, 599, 10, 23836);
|
|
12806
12806
|
},
|
|
12807
12807
|
m: function mount(target, anchor) {
|
|
12808
12808
|
insert_dev(target, div1, anchor);
|
|
@@ -12812,7 +12812,7 @@
|
|
|
12812
12812
|
each_blocks[i].m(div0, null);
|
|
12813
12813
|
}
|
|
12814
12814
|
|
|
12815
|
-
/*div0_binding*/ ctx[
|
|
12815
|
+
/*div0_binding*/ ctx[67](div0);
|
|
12816
12816
|
append_dev(div1, t0);
|
|
12817
12817
|
html_tag.m(raw0_value, div1);
|
|
12818
12818
|
append_dev(div1, t1);
|
|
@@ -12857,7 +12857,7 @@
|
|
|
12857
12857
|
d: function destroy(detaching) {
|
|
12858
12858
|
if (detaching) detach_dev(div1);
|
|
12859
12859
|
destroy_each(each_blocks, detaching);
|
|
12860
|
-
/*div0_binding*/ ctx[
|
|
12860
|
+
/*div0_binding*/ ctx[67](null);
|
|
12861
12861
|
}
|
|
12862
12862
|
};
|
|
12863
12863
|
|
|
@@ -12865,14 +12865,14 @@
|
|
|
12865
12865
|
block,
|
|
12866
12866
|
id: create_if_block_4$1.name,
|
|
12867
12867
|
type: "if",
|
|
12868
|
-
source: "(
|
|
12868
|
+
source: "(599:68) ",
|
|
12869
12869
|
ctx
|
|
12870
12870
|
});
|
|
12871
12871
|
|
|
12872
12872
|
return block;
|
|
12873
12873
|
}
|
|
12874
12874
|
|
|
12875
|
-
// (
|
|
12875
|
+
// (578:8) {#if isopen && displaytype && displaytype === BLACKJACK}
|
|
12876
12876
|
function create_if_block_2$1(ctx) {
|
|
12877
12877
|
let div1;
|
|
12878
12878
|
let div0;
|
|
@@ -12902,12 +12902,12 @@
|
|
|
12902
12902
|
html_tag_1 = new HtmlTag(false);
|
|
12903
12903
|
attr_dev(div0, "class", "LiveIcons");
|
|
12904
12904
|
attr_dev(div0, "part", "LiveIcons");
|
|
12905
|
-
add_location(div0, file$1,
|
|
12905
|
+
add_location(div0, file$1, 579, 12, 22404);
|
|
12906
12906
|
html_tag.a = t1;
|
|
12907
12907
|
html_tag_1.a = null;
|
|
12908
12908
|
attr_dev(div1, "class", "GameProp LiveProps BlackjackDisplay");
|
|
12909
12909
|
attr_dev(div1, "part", "GameProp LiveProps BlackjackDisplay");
|
|
12910
|
-
add_location(div1, file$1,
|
|
12910
|
+
add_location(div1, file$1, 578, 10, 22299);
|
|
12911
12911
|
},
|
|
12912
12912
|
m: function mount(target, anchor) {
|
|
12913
12913
|
insert_dev(target, div1, anchor);
|
|
@@ -12944,14 +12944,14 @@
|
|
|
12944
12944
|
block,
|
|
12945
12945
|
id: create_if_block_2$1.name,
|
|
12946
12946
|
type: "if",
|
|
12947
|
-
source: "(
|
|
12947
|
+
source: "(578:8) {#if isopen && displaytype && displaytype === BLACKJACK}",
|
|
12948
12948
|
ctx
|
|
12949
12949
|
});
|
|
12950
12950
|
|
|
12951
12951
|
return block;
|
|
12952
12952
|
}
|
|
12953
12953
|
|
|
12954
|
-
// (
|
|
12954
|
+
// (603:16) {#if roulleteresults && roulleteresults[i]}
|
|
12955
12955
|
function create_if_block_5$1(ctx) {
|
|
12956
12956
|
let if_block_anchor;
|
|
12957
12957
|
|
|
@@ -12995,17 +12995,17 @@
|
|
|
12995
12995
|
block,
|
|
12996
12996
|
id: create_if_block_5$1.name,
|
|
12997
12997
|
type: "if",
|
|
12998
|
-
source: "(
|
|
12998
|
+
source: "(603:16) {#if roulleteresults && roulleteresults[i]}",
|
|
12999
12999
|
ctx
|
|
13000
13000
|
});
|
|
13001
13001
|
|
|
13002
13002
|
return block;
|
|
13003
13003
|
}
|
|
13004
13004
|
|
|
13005
|
-
// (
|
|
13005
|
+
// (609:18) {:else}
|
|
13006
13006
|
function create_else_block_1(ctx) {
|
|
13007
13007
|
let html_tag;
|
|
13008
|
-
let raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13008
|
+
let raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[107] === 0 ? 'First' : ''}`, /*i*/ ctx[107], /*roulleteresults*/ ctx[11][/*i*/ ctx[107]], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[107]]]) + "";
|
|
13009
13009
|
let html_anchor;
|
|
13010
13010
|
|
|
13011
13011
|
const block = {
|
|
@@ -13019,7 +13019,7 @@
|
|
|
13019
13019
|
insert_dev(target, html_anchor, anchor);
|
|
13020
13020
|
},
|
|
13021
13021
|
p: function update(ctx, dirty) {
|
|
13022
|
-
if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw_value !== (raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13022
|
+
if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw_value !== (raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[107] === 0 ? 'First' : ''}`, /*i*/ ctx[107], /*roulleteresults*/ ctx[11][/*i*/ ctx[107]], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[107]]]) + "")) html_tag.p(raw_value);
|
|
13023
13023
|
},
|
|
13024
13024
|
d: function destroy(detaching) {
|
|
13025
13025
|
if (detaching) detach_dev(html_anchor);
|
|
@@ -13031,21 +13031,21 @@
|
|
|
13031
13031
|
block,
|
|
13032
13032
|
id: create_else_block_1.name,
|
|
13033
13033
|
type: "else",
|
|
13034
|
-
source: "(
|
|
13034
|
+
source: "(609:18) {:else}",
|
|
13035
13035
|
ctx
|
|
13036
13036
|
});
|
|
13037
13037
|
|
|
13038
13038
|
return block;
|
|
13039
13039
|
}
|
|
13040
13040
|
|
|
13041
|
-
// (
|
|
13041
|
+
// (604:18) {#if isdouble}
|
|
13042
13042
|
function create_if_block_6(ctx) {
|
|
13043
13043
|
let div;
|
|
13044
13044
|
let html_tag;
|
|
13045
|
-
let raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13045
|
+
let raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[107] === 0 ? 'First' : ''}`, `first${/*i*/ ctx[107]}${/*roulleteresults*/ ctx[11][/*i*/ ctx[107]][0]}`, /*roulleteresults*/ ctx[11][/*i*/ ctx[107]][0], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[107]][0]]) + "";
|
|
13046
13046
|
let t0;
|
|
13047
13047
|
let html_tag_1;
|
|
13048
|
-
let raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13048
|
+
let raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[107] === 0 ? 'First' : ''}`, `second${/*i*/ ctx[107]}${/*roulleteresults*/ ctx[11][/*i*/ ctx[107]][1]}`, /*roulleteresults*/ ctx[11][/*i*/ ctx[107]][1], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[107]][1]]) + "";
|
|
13049
13049
|
let t1;
|
|
13050
13050
|
|
|
13051
13051
|
const block = {
|
|
@@ -13059,7 +13059,7 @@
|
|
|
13059
13059
|
html_tag_1.a = t1;
|
|
13060
13060
|
attr_dev(div, "class", "Double");
|
|
13061
13061
|
attr_dev(div, "part", "Double");
|
|
13062
|
-
add_location(div, file$1,
|
|
13062
|
+
add_location(div, file$1, 604, 20, 24178);
|
|
13063
13063
|
},
|
|
13064
13064
|
m: function mount(target, anchor) {
|
|
13065
13065
|
insert_dev(target, div, anchor);
|
|
@@ -13069,8 +13069,8 @@
|
|
|
13069
13069
|
append_dev(div, t1);
|
|
13070
13070
|
},
|
|
13071
13071
|
p: function update(ctx, dirty) {
|
|
13072
|
-
if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw0_value !== (raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13073
|
-
if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw1_value !== (raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13072
|
+
if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw0_value !== (raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[107] === 0 ? 'First' : ''}`, `first${/*i*/ ctx[107]}${/*roulleteresults*/ ctx[11][/*i*/ ctx[107]][0]}`, /*roulleteresults*/ ctx[11][/*i*/ ctx[107]][0], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[107]][0]]) + "")) html_tag.p(raw0_value);
|
|
13073
|
+
if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw1_value !== (raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[107] === 0 ? 'First' : ''}`, `second${/*i*/ ctx[107]}${/*roulleteresults*/ ctx[11][/*i*/ ctx[107]][1]}`, /*roulleteresults*/ ctx[11][/*i*/ ctx[107]][1], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[107]][1]]) + "")) html_tag_1.p(raw1_value);
|
|
13074
13074
|
},
|
|
13075
13075
|
d: function destroy(detaching) {
|
|
13076
13076
|
if (detaching) detach_dev(div);
|
|
@@ -13081,17 +13081,17 @@
|
|
|
13081
13081
|
block,
|
|
13082
13082
|
id: create_if_block_6.name,
|
|
13083
13083
|
type: "if",
|
|
13084
|
-
source: "(
|
|
13084
|
+
source: "(604:18) {#if isdouble}",
|
|
13085
13085
|
ctx
|
|
13086
13086
|
});
|
|
13087
13087
|
|
|
13088
13088
|
return block;
|
|
13089
13089
|
}
|
|
13090
13090
|
|
|
13091
|
-
// (
|
|
13091
|
+
// (602:14) {#each new Array(numberofdisplayedresults) as garbage, i}
|
|
13092
13092
|
function create_each_block_1(ctx) {
|
|
13093
13093
|
let if_block_anchor;
|
|
13094
|
-
let if_block = /*roulleteresults*/ ctx[11] && /*roulleteresults*/ ctx[11][/*i*/ ctx[
|
|
13094
|
+
let if_block = /*roulleteresults*/ ctx[11] && /*roulleteresults*/ ctx[11][/*i*/ ctx[107]] && create_if_block_5$1(ctx);
|
|
13095
13095
|
|
|
13096
13096
|
const block = {
|
|
13097
13097
|
c: function create() {
|
|
@@ -13103,7 +13103,7 @@
|
|
|
13103
13103
|
insert_dev(target, if_block_anchor, anchor);
|
|
13104
13104
|
},
|
|
13105
13105
|
p: function update(ctx, dirty) {
|
|
13106
|
-
if (/*roulleteresults*/ ctx[11] && /*roulleteresults*/ ctx[11][/*i*/ ctx[
|
|
13106
|
+
if (/*roulleteresults*/ ctx[11] && /*roulleteresults*/ ctx[11][/*i*/ ctx[107]]) {
|
|
13107
13107
|
if (if_block) {
|
|
13108
13108
|
if_block.p(ctx, dirty);
|
|
13109
13109
|
} else {
|
|
@@ -13126,14 +13126,14 @@
|
|
|
13126
13126
|
block,
|
|
13127
13127
|
id: create_each_block_1.name,
|
|
13128
13128
|
type: "each",
|
|
13129
|
-
source: "(
|
|
13129
|
+
source: "(602:14) {#each new Array(numberofdisplayedresults) as garbage, i}",
|
|
13130
13130
|
ctx
|
|
13131
13131
|
});
|
|
13132
13132
|
|
|
13133
13133
|
return block;
|
|
13134
13134
|
}
|
|
13135
13135
|
|
|
13136
|
-
// (
|
|
13136
|
+
// (585:14) {:else}
|
|
13137
13137
|
function create_else_block$1(ctx) {
|
|
13138
13138
|
let each_1_anchor;
|
|
13139
13139
|
let each_value = /*seats*/ ctx[24];
|
|
@@ -13194,14 +13194,14 @@
|
|
|
13194
13194
|
block,
|
|
13195
13195
|
id: create_else_block$1.name,
|
|
13196
13196
|
type: "else",
|
|
13197
|
-
source: "(
|
|
13197
|
+
source: "(585:14) {:else}",
|
|
13198
13198
|
ctx
|
|
13199
13199
|
});
|
|
13200
13200
|
|
|
13201
13201
|
return block;
|
|
13202
13202
|
}
|
|
13203
13203
|
|
|
13204
|
-
// (
|
|
13204
|
+
// (581:14) {#if istablefull}
|
|
13205
13205
|
function create_if_block_3$1(ctx) {
|
|
13206
13206
|
let span;
|
|
13207
13207
|
let t_value = /*$_*/ ctx[35]('gameThumbnail.full') + "";
|
|
@@ -13213,7 +13213,7 @@
|
|
|
13213
13213
|
t = text(t_value);
|
|
13214
13214
|
attr_dev(span, "class", "FullTable");
|
|
13215
13215
|
attr_dev(span, "part", "FullTable");
|
|
13216
|
-
add_location(span, file$1,
|
|
13216
|
+
add_location(span, file$1, 581, 16, 22493);
|
|
13217
13217
|
},
|
|
13218
13218
|
m: function mount(target, anchor) {
|
|
13219
13219
|
insert_dev(target, span, anchor);
|
|
@@ -13231,14 +13231,14 @@
|
|
|
13231
13231
|
block,
|
|
13232
13232
|
id: create_if_block_3$1.name,
|
|
13233
13233
|
type: "if",
|
|
13234
|
-
source: "(
|
|
13234
|
+
source: "(581:14) {#if istablefull}",
|
|
13235
13235
|
ctx
|
|
13236
13236
|
});
|
|
13237
13237
|
|
|
13238
13238
|
return block;
|
|
13239
13239
|
}
|
|
13240
13240
|
|
|
13241
|
-
// (
|
|
13241
|
+
// (586:16) {#each seats as seatData}
|
|
13242
13242
|
function create_each_block$1(ctx) {
|
|
13243
13243
|
let span;
|
|
13244
13244
|
let svg;
|
|
@@ -13256,24 +13256,24 @@
|
|
|
13256
13256
|
path1 = svg_element("path");
|
|
13257
13257
|
t = space();
|
|
13258
13258
|
attr_dev(path0, "d", "M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z");
|
|
13259
|
-
add_location(path0, file$1,
|
|
13259
|
+
add_location(path0, file$1, 588, 22, 22994);
|
|
13260
13260
|
attr_dev(path1, "d", "M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z");
|
|
13261
|
-
add_location(path1, file$1,
|
|
13261
|
+
add_location(path1, file$1, 589, 22, 23370);
|
|
13262
13262
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
13263
13263
|
attr_dev(svg, "width", "13");
|
|
13264
13264
|
attr_dev(svg, "height", "14");
|
|
13265
13265
|
attr_dev(svg, "viewBox", "0 0 13 14");
|
|
13266
|
-
add_location(svg, file$1,
|
|
13266
|
+
add_location(svg, file$1, 587, 20, 22888);
|
|
13267
13267
|
|
|
13268
|
-
attr_dev(span, "class", span_class_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[
|
|
13268
|
+
attr_dev(span, "class", span_class_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[102].toString())
|
|
13269
13269
|
? 'ClosedSeat'
|
|
13270
13270
|
: 'OpenSeat');
|
|
13271
13271
|
|
|
13272
|
-
attr_dev(span, "part", span_part_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[
|
|
13272
|
+
attr_dev(span, "part", span_part_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[102].toString())
|
|
13273
13273
|
? 'ClosedSeat'
|
|
13274
13274
|
: 'OpenSeat');
|
|
13275
13275
|
|
|
13276
|
-
add_location(span, file$1,
|
|
13276
|
+
add_location(span, file$1, 586, 18, 22686);
|
|
13277
13277
|
},
|
|
13278
13278
|
m: function mount(target, anchor) {
|
|
13279
13279
|
insert_dev(target, span, anchor);
|
|
@@ -13283,13 +13283,13 @@
|
|
|
13283
13283
|
append_dev(span, t);
|
|
13284
13284
|
},
|
|
13285
13285
|
p: function update(ctx, dirty) {
|
|
13286
|
-
if (dirty[0] & /*currentoccupiedseats, seats*/ 285212672 && span_class_value !== (span_class_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[
|
|
13286
|
+
if (dirty[0] & /*currentoccupiedseats, seats*/ 285212672 && span_class_value !== (span_class_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[102].toString())
|
|
13287
13287
|
? 'ClosedSeat'
|
|
13288
13288
|
: 'OpenSeat')) {
|
|
13289
13289
|
attr_dev(span, "class", span_class_value);
|
|
13290
13290
|
}
|
|
13291
13291
|
|
|
13292
|
-
if (dirty[0] & /*currentoccupiedseats, seats*/ 285212672 && span_part_value !== (span_part_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[
|
|
13292
|
+
if (dirty[0] & /*currentoccupiedseats, seats*/ 285212672 && span_part_value !== (span_part_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[102].toString())
|
|
13293
13293
|
? 'ClosedSeat'
|
|
13294
13294
|
: 'OpenSeat')) {
|
|
13295
13295
|
attr_dev(span, "part", span_part_value);
|
|
@@ -13304,14 +13304,14 @@
|
|
|
13304
13304
|
block,
|
|
13305
13305
|
id: create_each_block$1.name,
|
|
13306
13306
|
type: "each",
|
|
13307
|
-
source: "(
|
|
13307
|
+
source: "(586:16) {#each seats as seatData}",
|
|
13308
13308
|
ctx
|
|
13309
13309
|
});
|
|
13310
13310
|
|
|
13311
13311
|
return block;
|
|
13312
13312
|
}
|
|
13313
13313
|
|
|
13314
|
-
// (
|
|
13314
|
+
// (622:2) {#if showgamename}
|
|
13315
13315
|
function create_if_block$1(ctx) {
|
|
13316
13316
|
let p;
|
|
13317
13317
|
let t;
|
|
@@ -13323,7 +13323,7 @@
|
|
|
13323
13323
|
attr_dev(p, "class", "GameNameBelow");
|
|
13324
13324
|
attr_dev(p, "part", "GameNameBelow");
|
|
13325
13325
|
attr_dev(p, "title", /*gamename*/ ctx[3]);
|
|
13326
|
-
add_location(p, file$1,
|
|
13326
|
+
add_location(p, file$1, 622, 4, 25063);
|
|
13327
13327
|
},
|
|
13328
13328
|
m: function mount(target, anchor) {
|
|
13329
13329
|
insert_dev(target, p, anchor);
|
|
@@ -13345,7 +13345,7 @@
|
|
|
13345
13345
|
block,
|
|
13346
13346
|
id: create_if_block$1.name,
|
|
13347
13347
|
type: "if",
|
|
13348
|
-
source: "(
|
|
13348
|
+
source: "(622:2) {#if showgamename}",
|
|
13349
13349
|
ctx
|
|
13350
13350
|
});
|
|
13351
13351
|
|
|
@@ -13443,26 +13443,26 @@
|
|
|
13443
13443
|
attr_dev(img, "part", img_part_value = "GameBg " + (/*hover*/ ctx[15] ? 'GameContainerHovered' : '') + " " + (/*loaded*/ ctx[16] ? 'Loaded' : ''));
|
|
13444
13444
|
attr_dev(img, "alt", "");
|
|
13445
13445
|
attr_dev(img, "loading", "lazy");
|
|
13446
|
-
add_location(img, file$1,
|
|
13446
|
+
add_location(img, file$1, 518, 4, 17420);
|
|
13447
13447
|
attr_dev(p, "class", "GameInfoName");
|
|
13448
13448
|
attr_dev(p, "part", "GameInfoName");
|
|
13449
13449
|
attr_dev(p, "title", /*gamename*/ ctx[3]);
|
|
13450
|
-
add_location(p, file$1,
|
|
13450
|
+
add_location(p, file$1, 537, 8, 19453);
|
|
13451
13451
|
attr_dev(button, "class", "GameInfoBtn");
|
|
13452
13452
|
attr_dev(button, "part", "GameInfoBtn");
|
|
13453
|
-
add_location(button, file$1,
|
|
13453
|
+
add_location(button, file$1, 538, 8, 19539);
|
|
13454
13454
|
attr_dev(div0, "class", div0_class_value = "GameInfo " + (/*hover*/ ctx[15] ? 'GameHovered' : ''));
|
|
13455
13455
|
attr_dev(div0, "part", div0_part_value = "GameInfo " + (/*hover*/ ctx[15] ? 'GameHovered' : ''));
|
|
13456
|
-
add_location(div0, file$1,
|
|
13456
|
+
add_location(div0, file$1, 520, 6, 17733);
|
|
13457
13457
|
attr_dev(span, "class", "GameInfoVendor");
|
|
13458
13458
|
attr_dev(span, "part", "GameInfoVendor");
|
|
13459
|
-
add_location(span, file$1,
|
|
13459
|
+
add_location(span, file$1, 540, 6, 19687);
|
|
13460
13460
|
attr_dev(div1, "class", "GameInfoWrapper");
|
|
13461
13461
|
attr_dev(div1, "part", "GameInfoWrapper");
|
|
13462
|
-
add_location(div1, file$1,
|
|
13462
|
+
add_location(div1, file$1, 519, 4, 17674);
|
|
13463
13463
|
attr_dev(div2, "class", "GameExtraInfo");
|
|
13464
13464
|
attr_dev(div2, "part", "GameExtraInfo");
|
|
13465
|
-
add_location(div2, file$1,
|
|
13465
|
+
add_location(div2, file$1, 557, 4, 21323);
|
|
13466
13466
|
|
|
13467
13467
|
attr_dev(div3, "class", div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[10] && !/*isopen*/ ctx[22] && /*openhours*/ ctx[23].value || /*livegamedata*/ ctx[10] && /*istablefull*/ ctx[32]
|
|
13468
13468
|
? 'GameInnerContainerUnavailable'
|
|
@@ -13472,10 +13472,10 @@
|
|
|
13472
13472
|
? 'GameInnerContainerUnavailable'
|
|
13473
13473
|
: ''));
|
|
13474
13474
|
|
|
13475
|
-
add_location(div3, file$1,
|
|
13475
|
+
add_location(div3, file$1, 517, 2, 17032);
|
|
13476
13476
|
attr_dev(div4, "class", div4_class_value = `GameContainer ${/*extraclassname*/ ctx[33]}`);
|
|
13477
13477
|
attr_dev(div4, "part", div4_part_value = `GameContainer ${/*extraclassname*/ ctx[33]}`);
|
|
13478
|
-
add_location(div4, file$1,
|
|
13478
|
+
add_location(div4, file$1, 516, 0, 16906);
|
|
13479
13479
|
},
|
|
13480
13480
|
l: function claim(nodes) {
|
|
13481
13481
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -13484,7 +13484,7 @@
|
|
|
13484
13484
|
insert_dev(target, div4, anchor);
|
|
13485
13485
|
append_dev(div4, div3);
|
|
13486
13486
|
append_dev(div3, img);
|
|
13487
|
-
/*img_binding*/ ctx[
|
|
13487
|
+
/*img_binding*/ ctx[63](img);
|
|
13488
13488
|
append_dev(div3, t0);
|
|
13489
13489
|
append_dev(div3, div1);
|
|
13490
13490
|
append_dev(div1, div0);
|
|
@@ -13509,11 +13509,11 @@
|
|
|
13509
13509
|
if (if_block4) if_block4.m(div2, null);
|
|
13510
13510
|
append_dev(div4, t11);
|
|
13511
13511
|
if (if_block5) if_block5.m(div4, null);
|
|
13512
|
-
/*div4_binding*/ ctx[
|
|
13512
|
+
/*div4_binding*/ ctx[68](div4);
|
|
13513
13513
|
|
|
13514
13514
|
if (!mounted) {
|
|
13515
13515
|
dispose = [
|
|
13516
|
-
listen_dev(button, "click", /*click_handler_1*/ ctx[
|
|
13516
|
+
listen_dev(button, "click", /*click_handler_1*/ ctx[65], false, false, false),
|
|
13517
13517
|
listen_dev(div3, "mouseenter", /*gameHover*/ ctx[41], false, false, false),
|
|
13518
13518
|
listen_dev(div3, "mouseleave", /*gameBlur*/ ctx[42], false, false, false),
|
|
13519
13519
|
listen_dev(div3, "touchstart", /*gameTouch*/ ctx[39], { passive: true }, false, false),
|
|
@@ -13657,7 +13657,7 @@
|
|
|
13657
13657
|
o: noop$1,
|
|
13658
13658
|
d: function destroy(detaching) {
|
|
13659
13659
|
if (detaching) detach_dev(div4);
|
|
13660
|
-
/*img_binding*/ ctx[
|
|
13660
|
+
/*img_binding*/ ctx[63](null);
|
|
13661
13661
|
if (if_block0) if_block0.d();
|
|
13662
13662
|
|
|
13663
13663
|
if (if_block1) {
|
|
@@ -13668,7 +13668,7 @@
|
|
|
13668
13668
|
if (if_block3) if_block3.d();
|
|
13669
13669
|
if (if_block4) if_block4.d();
|
|
13670
13670
|
if (if_block5) if_block5.d();
|
|
13671
|
-
/*div4_binding*/ ctx[
|
|
13671
|
+
/*div4_binding*/ ctx[68](null);
|
|
13672
13672
|
mounted = false;
|
|
13673
13673
|
run_all(dispose);
|
|
13674
13674
|
}
|
|
@@ -13722,8 +13722,6 @@
|
|
|
13722
13722
|
let { livelobbyendpoint = '' } = $$props;
|
|
13723
13723
|
let { connectlive = '' } = $$props;
|
|
13724
13724
|
let { visibilityconnect = '' } = $$props;
|
|
13725
|
-
let { integratedgameframedesktop = 'false' } = $$props;
|
|
13726
|
-
let { integratedgameframemobile = 'false' } = $$props;
|
|
13727
13725
|
let isLoggedIn = false;
|
|
13728
13726
|
let sessionID;
|
|
13729
13727
|
let playerID;
|
|
@@ -13852,30 +13850,7 @@
|
|
|
13852
13850
|
window.postMessage({ type: 'SearchedItemClicked', gameId }, window.location.href);
|
|
13853
13851
|
}
|
|
13854
13852
|
|
|
13855
|
-
if (isMobile(userAgent)
|
|
13856
|
-
window.postMessage(
|
|
13857
|
-
{
|
|
13858
|
-
type: 'OpenGameFrame',
|
|
13859
|
-
gameId,
|
|
13860
|
-
gamefunmode,
|
|
13861
|
-
gamepagemodalurl,
|
|
13862
|
-
isMobile: isMobile(userAgent),
|
|
13863
|
-
source: 'GameThumbnail'
|
|
13864
|
-
},
|
|
13865
|
-
window.location.href
|
|
13866
|
-
);
|
|
13867
|
-
} else if (isMobile(userAgent) && integratedgameframemobile == "false") {
|
|
13868
|
-
window.postMessage(
|
|
13869
|
-
{
|
|
13870
|
-
type: 'ShowGameModal',
|
|
13871
|
-
gameId,
|
|
13872
|
-
isMobile: isMobile(userAgent)
|
|
13873
|
-
},
|
|
13874
|
-
window.location.href
|
|
13875
|
-
);
|
|
13876
|
-
}
|
|
13877
|
-
|
|
13878
|
-
if (!isMobile(userAgent) && integratedgameframedesktop == "true") {
|
|
13853
|
+
if (!isMobile(userAgent)) {
|
|
13879
13854
|
window.postMessage(
|
|
13880
13855
|
{
|
|
13881
13856
|
type: 'OpenGameFrame',
|
|
@@ -13886,7 +13861,7 @@
|
|
|
13886
13861
|
},
|
|
13887
13862
|
window.location.href
|
|
13888
13863
|
);
|
|
13889
|
-
} else
|
|
13864
|
+
} else {
|
|
13890
13865
|
window.postMessage(
|
|
13891
13866
|
{
|
|
13892
13867
|
type: 'ShowGameModal',
|
|
@@ -14345,9 +14320,7 @@
|
|
|
14345
14320
|
'endpoint',
|
|
14346
14321
|
'livelobbyendpoint',
|
|
14347
14322
|
'connectlive',
|
|
14348
|
-
'visibilityconnect'
|
|
14349
|
-
'integratedgameframedesktop',
|
|
14350
|
-
'integratedgameframemobile'
|
|
14323
|
+
'visibilityconnect'
|
|
14351
14324
|
];
|
|
14352
14325
|
|
|
14353
14326
|
Object_1$1.keys($$props).forEach(key => {
|
|
@@ -14404,8 +14377,6 @@
|
|
|
14404
14377
|
if ('livelobbyendpoint' in $$props) $$invalidate(58, livelobbyendpoint = $$props.livelobbyendpoint);
|
|
14405
14378
|
if ('connectlive' in $$props) $$invalidate(59, connectlive = $$props.connectlive);
|
|
14406
14379
|
if ('visibilityconnect' in $$props) $$invalidate(60, visibilityconnect = $$props.visibilityconnect);
|
|
14407
|
-
if ('integratedgameframedesktop' in $$props) $$invalidate(61, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
14408
|
-
if ('integratedgameframemobile' in $$props) $$invalidate(62, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
14409
14380
|
};
|
|
14410
14381
|
|
|
14411
14382
|
$$self.$capture_state = () => ({
|
|
@@ -14442,8 +14413,6 @@
|
|
|
14442
14413
|
livelobbyendpoint,
|
|
14443
14414
|
connectlive,
|
|
14444
14415
|
visibilityconnect,
|
|
14445
|
-
integratedgameframedesktop,
|
|
14446
|
-
integratedgameframemobile,
|
|
14447
14416
|
isLoggedIn,
|
|
14448
14417
|
sessionID,
|
|
14449
14418
|
playerID,
|
|
@@ -14549,8 +14518,6 @@
|
|
|
14549
14518
|
if ('livelobbyendpoint' in $$props) $$invalidate(58, livelobbyendpoint = $$props.livelobbyendpoint);
|
|
14550
14519
|
if ('connectlive' in $$props) $$invalidate(59, connectlive = $$props.connectlive);
|
|
14551
14520
|
if ('visibilityconnect' in $$props) $$invalidate(60, visibilityconnect = $$props.visibilityconnect);
|
|
14552
|
-
if ('integratedgameframedesktop' in $$props) $$invalidate(61, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
14553
|
-
if ('integratedgameframemobile' in $$props) $$invalidate(62, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
14554
14521
|
if ('isLoggedIn' in $$props) $$invalidate(13, isLoggedIn = $$props.isLoggedIn);
|
|
14555
14522
|
if ('sessionID' in $$props) sessionID = $$props.sessionID;
|
|
14556
14523
|
if ('playerID' in $$props) playerID = $$props.playerID;
|
|
@@ -14699,8 +14666,6 @@
|
|
|
14699
14666
|
livelobbyendpoint,
|
|
14700
14667
|
connectlive,
|
|
14701
14668
|
visibilityconnect,
|
|
14702
|
-
integratedgameframedesktop,
|
|
14703
|
-
integratedgameframemobile,
|
|
14704
14669
|
MONEY_WHEEL_COLOR_MAP,
|
|
14705
14670
|
ROULETTE_COLOR_MAP,
|
|
14706
14671
|
img_binding,
|
|
@@ -14752,10 +14717,8 @@
|
|
|
14752
14717
|
livelobbyendpoint: 58,
|
|
14753
14718
|
connectlive: 59,
|
|
14754
14719
|
visibilityconnect: 60,
|
|
14755
|
-
|
|
14756
|
-
|
|
14757
|
-
MONEY_WHEEL_COLOR_MAP: 63,
|
|
14758
|
-
ROULETTE_COLOR_MAP: 64
|
|
14720
|
+
MONEY_WHEEL_COLOR_MAP: 61,
|
|
14721
|
+
ROULETTE_COLOR_MAP: 62
|
|
14759
14722
|
},
|
|
14760
14723
|
null,
|
|
14761
14724
|
[-1, -1, -1, -1]
|
|
@@ -14799,8 +14762,6 @@
|
|
|
14799
14762
|
"livelobbyendpoint",
|
|
14800
14763
|
"connectlive",
|
|
14801
14764
|
"visibilityconnect",
|
|
14802
|
-
"integratedgameframedesktop",
|
|
14803
|
-
"integratedgameframemobile",
|
|
14804
14765
|
"MONEY_WHEEL_COLOR_MAP",
|
|
14805
14766
|
"ROULETTE_COLOR_MAP"
|
|
14806
14767
|
];
|
|
@@ -15022,26 +14983,8 @@
|
|
|
15022
14983
|
flush();
|
|
15023
14984
|
}
|
|
15024
14985
|
|
|
15025
|
-
get integratedgameframedesktop() {
|
|
15026
|
-
return this.$$.ctx[61];
|
|
15027
|
-
}
|
|
15028
|
-
|
|
15029
|
-
set integratedgameframedesktop(integratedgameframedesktop) {
|
|
15030
|
-
this.$$set({ integratedgameframedesktop });
|
|
15031
|
-
flush();
|
|
15032
|
-
}
|
|
15033
|
-
|
|
15034
|
-
get integratedgameframemobile() {
|
|
15035
|
-
return this.$$.ctx[62];
|
|
15036
|
-
}
|
|
15037
|
-
|
|
15038
|
-
set integratedgameframemobile(integratedgameframemobile) {
|
|
15039
|
-
this.$$set({ integratedgameframemobile });
|
|
15040
|
-
flush();
|
|
15041
|
-
}
|
|
15042
|
-
|
|
15043
14986
|
get MONEY_WHEEL_COLOR_MAP() {
|
|
15044
|
-
return this.$$.ctx[
|
|
14987
|
+
return this.$$.ctx[61];
|
|
15045
14988
|
}
|
|
15046
14989
|
|
|
15047
14990
|
set MONEY_WHEEL_COLOR_MAP(value) {
|
|
@@ -15049,7 +14992,7 @@
|
|
|
15049
14992
|
}
|
|
15050
14993
|
|
|
15051
14994
|
get ROULETTE_COLOR_MAP() {
|
|
15052
|
-
return this.$$.ctx[
|
|
14995
|
+
return this.$$.ctx[62];
|
|
15053
14996
|
}
|
|
15054
14997
|
|
|
15055
14998
|
set ROULETTE_COLOR_MAP(value) {
|
|
@@ -15066,11 +15009,11 @@
|
|
|
15066
15009
|
|
|
15067
15010
|
function get_each_context(ctx, list, i) {
|
|
15068
15011
|
const child_ctx = ctx.slice();
|
|
15069
|
-
child_ctx[
|
|
15012
|
+
child_ctx[33] = list[i];
|
|
15070
15013
|
return child_ctx;
|
|
15071
15014
|
}
|
|
15072
15015
|
|
|
15073
|
-
// (
|
|
15016
|
+
// (205:4) {:else}
|
|
15074
15017
|
function create_else_block(ctx) {
|
|
15075
15018
|
let t0;
|
|
15076
15019
|
let div;
|
|
@@ -15078,14 +15021,14 @@
|
|
|
15078
15021
|
let div_class_value;
|
|
15079
15022
|
|
|
15080
15023
|
function select_block_type_1(ctx, dirty) {
|
|
15081
|
-
if (/*searchActive*/ ctx[
|
|
15082
|
-
if (/*searchArray*/ ctx[
|
|
15024
|
+
if (/*searchActive*/ ctx[6] == true && /*searchValue*/ ctx[2].length < 2) return create_if_block_3;
|
|
15025
|
+
if (/*searchArray*/ ctx[4].length != 0) return create_if_block_5;
|
|
15083
15026
|
}
|
|
15084
15027
|
|
|
15085
15028
|
let current_block_type = select_block_type_1(ctx);
|
|
15086
15029
|
let if_block0 = current_block_type && current_block_type(ctx);
|
|
15087
|
-
let if_block1 = /*searchCancelled*/ ctx[
|
|
15088
|
-
let if_block2 = /*searchValue*/ ctx[
|
|
15030
|
+
let if_block1 = /*searchCancelled*/ ctx[3] === false && create_if_block_2(ctx);
|
|
15031
|
+
let if_block2 = /*searchValue*/ ctx[2].length >= 2 && /*searchArray*/ ctx[4].length == 0 && create_if_block_1(ctx);
|
|
15089
15032
|
|
|
15090
15033
|
const block = {
|
|
15091
15034
|
c: function create() {
|
|
@@ -15095,8 +15038,8 @@
|
|
|
15095
15038
|
if (if_block1) if_block1.c();
|
|
15096
15039
|
t1 = space();
|
|
15097
15040
|
if (if_block2) if_block2.c();
|
|
15098
|
-
attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[
|
|
15099
|
-
add_location(div, file,
|
|
15041
|
+
attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[6] == true ? '' : 'NotVisible'));
|
|
15042
|
+
add_location(div, file, 215, 6, 7569);
|
|
15100
15043
|
},
|
|
15101
15044
|
m: function mount(target, anchor) {
|
|
15102
15045
|
if (if_block0) if_block0.m(target, anchor);
|
|
@@ -15119,7 +15062,7 @@
|
|
|
15119
15062
|
}
|
|
15120
15063
|
}
|
|
15121
15064
|
|
|
15122
|
-
if (/*searchCancelled*/ ctx[
|
|
15065
|
+
if (/*searchCancelled*/ ctx[3] === false) {
|
|
15123
15066
|
if (if_block1) {
|
|
15124
15067
|
if_block1.p(ctx, dirty);
|
|
15125
15068
|
} else {
|
|
@@ -15132,7 +15075,7 @@
|
|
|
15132
15075
|
if_block1 = null;
|
|
15133
15076
|
}
|
|
15134
15077
|
|
|
15135
|
-
if (/*searchValue*/ ctx[
|
|
15078
|
+
if (/*searchValue*/ ctx[2].length >= 2 && /*searchArray*/ ctx[4].length == 0) {
|
|
15136
15079
|
if (if_block2) {
|
|
15137
15080
|
if_block2.p(ctx, dirty);
|
|
15138
15081
|
} else {
|
|
@@ -15145,7 +15088,7 @@
|
|
|
15145
15088
|
if_block2 = null;
|
|
15146
15089
|
}
|
|
15147
15090
|
|
|
15148
|
-
if (dirty[0] & /*searchActive*/
|
|
15091
|
+
if (dirty[0] & /*searchActive*/ 64 && div_class_value !== (div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[6] == true ? '' : 'NotVisible'))) {
|
|
15149
15092
|
attr_dev(div, "class", div_class_value);
|
|
15150
15093
|
}
|
|
15151
15094
|
},
|
|
@@ -15165,31 +15108,31 @@
|
|
|
15165
15108
|
block,
|
|
15166
15109
|
id: create_else_block.name,
|
|
15167
15110
|
type: "else",
|
|
15168
|
-
source: "(
|
|
15111
|
+
source: "(205:4) {:else}",
|
|
15169
15112
|
ctx
|
|
15170
15113
|
});
|
|
15171
15114
|
|
|
15172
15115
|
return block;
|
|
15173
15116
|
}
|
|
15174
15117
|
|
|
15175
|
-
// (
|
|
15118
|
+
// (203:4) {#if isLoading}
|
|
15176
15119
|
function create_if_block(ctx) {
|
|
15177
15120
|
let p;
|
|
15178
|
-
let t_value = /*$_*/ ctx[
|
|
15121
|
+
let t_value = /*$_*/ ctx[9]('Translations.loading') + "";
|
|
15179
15122
|
let t;
|
|
15180
15123
|
|
|
15181
15124
|
const block = {
|
|
15182
15125
|
c: function create() {
|
|
15183
15126
|
p = element("p");
|
|
15184
15127
|
t = text(t_value);
|
|
15185
|
-
add_location(p, file,
|
|
15128
|
+
add_location(p, file, 203, 6, 7061);
|
|
15186
15129
|
},
|
|
15187
15130
|
m: function mount(target, anchor) {
|
|
15188
15131
|
insert_dev(target, p, anchor);
|
|
15189
15132
|
append_dev(p, t);
|
|
15190
15133
|
},
|
|
15191
15134
|
p: function update(ctx, dirty) {
|
|
15192
|
-
if (dirty[0] & /*$_*/
|
|
15135
|
+
if (dirty[0] & /*$_*/ 512 && t_value !== (t_value = /*$_*/ ctx[9]('Translations.loading') + "")) set_data_dev(t, t_value);
|
|
15193
15136
|
},
|
|
15194
15137
|
d: function destroy(detaching) {
|
|
15195
15138
|
if (detaching) detach_dev(p);
|
|
@@ -15200,17 +15143,17 @@
|
|
|
15200
15143
|
block,
|
|
15201
15144
|
id: create_if_block.name,
|
|
15202
15145
|
type: "if",
|
|
15203
|
-
source: "(
|
|
15146
|
+
source: "(203:4) {#if isLoading}",
|
|
15204
15147
|
ctx
|
|
15205
15148
|
});
|
|
15206
15149
|
|
|
15207
15150
|
return block;
|
|
15208
15151
|
}
|
|
15209
15152
|
|
|
15210
|
-
// (
|
|
15153
|
+
// (213:40)
|
|
15211
15154
|
function create_if_block_5(ctx) {
|
|
15212
15155
|
let p;
|
|
15213
|
-
let t_value = /*$_*/ ctx[
|
|
15156
|
+
let t_value = /*$_*/ ctx[9]('Translations.searchResult') + "";
|
|
15214
15157
|
let t;
|
|
15215
15158
|
|
|
15216
15159
|
const block = {
|
|
@@ -15218,14 +15161,14 @@
|
|
|
15218
15161
|
p = element("p");
|
|
15219
15162
|
t = text(t_value);
|
|
15220
15163
|
attr_dev(p, "class", "SearchMessage");
|
|
15221
|
-
add_location(p, file,
|
|
15164
|
+
add_location(p, file, 213, 8, 7487);
|
|
15222
15165
|
},
|
|
15223
15166
|
m: function mount(target, anchor) {
|
|
15224
15167
|
insert_dev(target, p, anchor);
|
|
15225
15168
|
append_dev(p, t);
|
|
15226
15169
|
},
|
|
15227
15170
|
p: function update(ctx, dirty) {
|
|
15228
|
-
if (dirty[0] & /*$_*/
|
|
15171
|
+
if (dirty[0] & /*$_*/ 512 && t_value !== (t_value = /*$_*/ ctx[9]('Translations.searchResult') + "")) set_data_dev(t, t_value);
|
|
15229
15172
|
},
|
|
15230
15173
|
d: function destroy(detaching) {
|
|
15231
15174
|
if (detaching) detach_dev(p);
|
|
@@ -15236,21 +15179,21 @@
|
|
|
15236
15179
|
block,
|
|
15237
15180
|
id: create_if_block_5.name,
|
|
15238
15181
|
type: "if",
|
|
15239
|
-
source: "(
|
|
15182
|
+
source: "(213:40) ",
|
|
15240
15183
|
ctx
|
|
15241
15184
|
});
|
|
15242
15185
|
|
|
15243
15186
|
return block;
|
|
15244
15187
|
}
|
|
15245
15188
|
|
|
15246
|
-
// (
|
|
15189
|
+
// (206:6) {#if searchActive == true && searchValue.length < 2}
|
|
15247
15190
|
function create_if_block_3(ctx) {
|
|
15248
15191
|
let p;
|
|
15249
|
-
let t0_value = /*$_*/ ctx[
|
|
15192
|
+
let t0_value = /*$_*/ ctx[9]('Translations.recentSearch') + "";
|
|
15250
15193
|
let t0;
|
|
15251
15194
|
let t1;
|
|
15252
15195
|
let if_block_anchor;
|
|
15253
|
-
let if_block = /*searchArray*/ ctx[
|
|
15196
|
+
let if_block = /*searchArray*/ ctx[4].length == 0 && create_if_block_4(ctx);
|
|
15254
15197
|
|
|
15255
15198
|
const block = {
|
|
15256
15199
|
c: function create() {
|
|
@@ -15260,7 +15203,7 @@
|
|
|
15260
15203
|
if (if_block) if_block.c();
|
|
15261
15204
|
if_block_anchor = empty();
|
|
15262
15205
|
attr_dev(p, "class", "SearchMessage");
|
|
15263
|
-
add_location(p, file,
|
|
15206
|
+
add_location(p, file, 206, 8, 7176);
|
|
15264
15207
|
},
|
|
15265
15208
|
m: function mount(target, anchor) {
|
|
15266
15209
|
insert_dev(target, p, anchor);
|
|
@@ -15270,9 +15213,9 @@
|
|
|
15270
15213
|
insert_dev(target, if_block_anchor, anchor);
|
|
15271
15214
|
},
|
|
15272
15215
|
p: function update(ctx, dirty) {
|
|
15273
|
-
if (dirty[0] & /*$_*/
|
|
15216
|
+
if (dirty[0] & /*$_*/ 512 && t0_value !== (t0_value = /*$_*/ ctx[9]('Translations.recentSearch') + "")) set_data_dev(t0, t0_value);
|
|
15274
15217
|
|
|
15275
|
-
if (/*searchArray*/ ctx[
|
|
15218
|
+
if (/*searchArray*/ ctx[4].length == 0) {
|
|
15276
15219
|
if (if_block) {
|
|
15277
15220
|
if_block.p(ctx, dirty);
|
|
15278
15221
|
} else {
|
|
@@ -15297,18 +15240,18 @@
|
|
|
15297
15240
|
block,
|
|
15298
15241
|
id: create_if_block_3.name,
|
|
15299
15242
|
type: "if",
|
|
15300
|
-
source: "(
|
|
15243
|
+
source: "(206:6) {#if searchActive == true && searchValue.length < 2}",
|
|
15301
15244
|
ctx
|
|
15302
15245
|
});
|
|
15303
15246
|
|
|
15304
15247
|
return block;
|
|
15305
15248
|
}
|
|
15306
15249
|
|
|
15307
|
-
// (
|
|
15250
|
+
// (208:10) {#if searchArray.length == 0}
|
|
15308
15251
|
function create_if_block_4(ctx) {
|
|
15309
15252
|
let div;
|
|
15310
15253
|
let p;
|
|
15311
|
-
let t_value = /*$_*/ ctx[
|
|
15254
|
+
let t_value = /*$_*/ ctx[9]('Translations.noRecentSearches') + "";
|
|
15312
15255
|
let t;
|
|
15313
15256
|
|
|
15314
15257
|
const block = {
|
|
@@ -15317,9 +15260,9 @@
|
|
|
15317
15260
|
p = element("p");
|
|
15318
15261
|
t = text(t_value);
|
|
15319
15262
|
attr_dev(p, "class", "SearchMessage");
|
|
15320
|
-
add_location(p, file,
|
|
15263
|
+
add_location(p, file, 209, 12, 7337);
|
|
15321
15264
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15322
|
-
add_location(div, file,
|
|
15265
|
+
add_location(div, file, 208, 10, 7289);
|
|
15323
15266
|
},
|
|
15324
15267
|
m: function mount(target, anchor) {
|
|
15325
15268
|
insert_dev(target, div, anchor);
|
|
@@ -15327,7 +15270,7 @@
|
|
|
15327
15270
|
append_dev(p, t);
|
|
15328
15271
|
},
|
|
15329
15272
|
p: function update(ctx, dirty) {
|
|
15330
|
-
if (dirty[0] & /*$_*/
|
|
15273
|
+
if (dirty[0] & /*$_*/ 512 && t_value !== (t_value = /*$_*/ ctx[9]('Translations.noRecentSearches') + "")) set_data_dev(t, t_value);
|
|
15331
15274
|
},
|
|
15332
15275
|
d: function destroy(detaching) {
|
|
15333
15276
|
if (detaching) detach_dev(div);
|
|
@@ -15338,17 +15281,17 @@
|
|
|
15338
15281
|
block,
|
|
15339
15282
|
id: create_if_block_4.name,
|
|
15340
15283
|
type: "if",
|
|
15341
|
-
source: "(
|
|
15284
|
+
source: "(208:10) {#if searchArray.length == 0}",
|
|
15342
15285
|
ctx
|
|
15343
15286
|
});
|
|
15344
15287
|
|
|
15345
15288
|
return block;
|
|
15346
15289
|
}
|
|
15347
15290
|
|
|
15348
|
-
// (
|
|
15291
|
+
// (217:8) {#if searchCancelled === false}
|
|
15349
15292
|
function create_if_block_2(ctx) {
|
|
15350
15293
|
let each_1_anchor;
|
|
15351
|
-
let each_value = /*searchArray*/ ctx[
|
|
15294
|
+
let each_value = /*searchArray*/ ctx[4];
|
|
15352
15295
|
validate_each_argument(each_value);
|
|
15353
15296
|
let each_blocks = [];
|
|
15354
15297
|
|
|
@@ -15372,8 +15315,8 @@
|
|
|
15372
15315
|
insert_dev(target, each_1_anchor, anchor);
|
|
15373
15316
|
},
|
|
15374
15317
|
p: function update(ctx, dirty) {
|
|
15375
|
-
if (dirty[0] & /*lang, searchArray, endpoint
|
|
15376
|
-
each_value = /*searchArray*/ ctx[
|
|
15318
|
+
if (dirty[0] & /*lang, searchArray, endpoint*/ 19) {
|
|
15319
|
+
each_value = /*searchArray*/ ctx[4];
|
|
15377
15320
|
validate_each_argument(each_value);
|
|
15378
15321
|
let i;
|
|
15379
15322
|
|
|
@@ -15406,14 +15349,14 @@
|
|
|
15406
15349
|
block,
|
|
15407
15350
|
id: create_if_block_2.name,
|
|
15408
15351
|
type: "if",
|
|
15409
|
-
source: "(
|
|
15352
|
+
source: "(217:8) {#if searchCancelled === false}",
|
|
15410
15353
|
ctx
|
|
15411
15354
|
});
|
|
15412
15355
|
|
|
15413
15356
|
return block;
|
|
15414
15357
|
}
|
|
15415
15358
|
|
|
15416
|
-
// (
|
|
15359
|
+
// (218:10) {#each searchArray as game}
|
|
15417
15360
|
function create_each_block(ctx) {
|
|
15418
15361
|
let casino_game_thumbnail;
|
|
15419
15362
|
let casino_game_thumbnail_gamethumbnail_value;
|
|
@@ -15431,24 +15374,22 @@
|
|
|
15431
15374
|
c: function create() {
|
|
15432
15375
|
casino_game_thumbnail = element("casino-game-thumbnail");
|
|
15433
15376
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
15434
|
-
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[
|
|
15435
|
-
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[
|
|
15436
|
-
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[
|
|
15437
|
-
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[
|
|
15438
|
-
set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[
|
|
15439
|
-
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[
|
|
15440
|
-
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[
|
|
15441
|
-
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[
|
|
15442
|
-
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[
|
|
15443
|
-
|
|
15444
|
-
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[
|
|
15445
|
-
? /*game*/ ctx[
|
|
15377
|
+
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[33].thumbnail);
|
|
15378
|
+
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[33].name);
|
|
15379
|
+
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[33].vendor.name);
|
|
15380
|
+
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[33].isNew);
|
|
15381
|
+
set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[33].popularity);
|
|
15382
|
+
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[33].cellSize);
|
|
15383
|
+
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[33].id);
|
|
15384
|
+
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[33].hasFunMode);
|
|
15385
|
+
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[33].isFavorite);
|
|
15386
|
+
|
|
15387
|
+
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[33].details
|
|
15388
|
+
? /*game*/ ctx[33].launchUrl
|
|
15446
15389
|
: '');
|
|
15447
15390
|
|
|
15448
15391
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
15449
|
-
|
|
15450
|
-
set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[3]);
|
|
15451
|
-
add_location(casino_game_thumbnail, file, 220, 12, 7835);
|
|
15392
|
+
add_location(casino_game_thumbnail, file, 218, 12, 7738);
|
|
15452
15393
|
},
|
|
15453
15394
|
m: function mount(target, anchor) {
|
|
15454
15395
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -15458,44 +15399,44 @@
|
|
|
15458
15399
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
15459
15400
|
}
|
|
15460
15401
|
|
|
15461
|
-
if (dirty[0] & /*searchArray*/
|
|
15402
|
+
if (dirty[0] & /*searchArray*/ 16 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[33].thumbnail)) {
|
|
15462
15403
|
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
|
|
15463
15404
|
}
|
|
15464
15405
|
|
|
15465
|
-
if (dirty[0] & /*searchArray*/
|
|
15406
|
+
if (dirty[0] & /*searchArray*/ 16 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[33].name)) {
|
|
15466
15407
|
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
|
|
15467
15408
|
}
|
|
15468
15409
|
|
|
15469
|
-
if (dirty[0] & /*searchArray*/
|
|
15410
|
+
if (dirty[0] & /*searchArray*/ 16 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[33].vendor.name)) {
|
|
15470
15411
|
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
|
|
15471
15412
|
}
|
|
15472
15413
|
|
|
15473
|
-
if (dirty[0] & /*searchArray*/
|
|
15414
|
+
if (dirty[0] & /*searchArray*/ 16 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[33].isNew)) {
|
|
15474
15415
|
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
|
|
15475
15416
|
}
|
|
15476
15417
|
|
|
15477
|
-
if (dirty[0] & /*searchArray*/
|
|
15418
|
+
if (dirty[0] & /*searchArray*/ 16 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[33].popularity)) {
|
|
15478
15419
|
set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value);
|
|
15479
15420
|
}
|
|
15480
15421
|
|
|
15481
|
-
if (dirty[0] & /*searchArray*/
|
|
15422
|
+
if (dirty[0] & /*searchArray*/ 16 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[33].cellSize)) {
|
|
15482
15423
|
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
|
|
15483
15424
|
}
|
|
15484
15425
|
|
|
15485
|
-
if (dirty[0] & /*searchArray*/
|
|
15426
|
+
if (dirty[0] & /*searchArray*/ 16 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[33].id)) {
|
|
15486
15427
|
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
|
|
15487
15428
|
}
|
|
15488
15429
|
|
|
15489
|
-
if (dirty[0] & /*searchArray*/
|
|
15430
|
+
if (dirty[0] & /*searchArray*/ 16 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[33].hasFunMode)) {
|
|
15490
15431
|
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
|
|
15491
15432
|
}
|
|
15492
15433
|
|
|
15493
|
-
if (dirty[0] & /*searchArray*/
|
|
15434
|
+
if (dirty[0] & /*searchArray*/ 16 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[33].isFavorite)) {
|
|
15494
15435
|
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
|
|
15495
15436
|
}
|
|
15496
15437
|
|
|
15497
|
-
if (dirty[0] & /*searchArray*/
|
|
15498
|
-
? /*game*/ ctx[
|
|
15438
|
+
if (dirty[0] & /*searchArray*/ 16 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[33].details
|
|
15439
|
+
? /*game*/ ctx[33].launchUrl
|
|
15499
15440
|
: '')) {
|
|
15500
15441
|
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value);
|
|
15501
15442
|
}
|
|
@@ -15503,14 +15444,6 @@
|
|
|
15503
15444
|
if (dirty[0] & /*endpoint*/ 1) {
|
|
15504
15445
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
15505
15446
|
}
|
|
15506
|
-
|
|
15507
|
-
if (dirty[0] & /*integratedgameframedesktop*/ 4) {
|
|
15508
|
-
set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[2]);
|
|
15509
|
-
}
|
|
15510
|
-
|
|
15511
|
-
if (dirty[0] & /*integratedgameframemobile*/ 8) {
|
|
15512
|
-
set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[3]);
|
|
15513
|
-
}
|
|
15514
15447
|
},
|
|
15515
15448
|
d: function destroy(detaching) {
|
|
15516
15449
|
if (detaching) detach_dev(casino_game_thumbnail);
|
|
@@ -15521,22 +15454,22 @@
|
|
|
15521
15454
|
block,
|
|
15522
15455
|
id: create_each_block.name,
|
|
15523
15456
|
type: "each",
|
|
15524
|
-
source: "(
|
|
15457
|
+
source: "(218:10) {#each searchArray as game}",
|
|
15525
15458
|
ctx
|
|
15526
15459
|
});
|
|
15527
15460
|
|
|
15528
15461
|
return block;
|
|
15529
15462
|
}
|
|
15530
15463
|
|
|
15531
|
-
// (
|
|
15464
|
+
// (235:8) {#if searchValue.length >= 2 && searchArray.length == 0}
|
|
15532
15465
|
function create_if_block_1(ctx) {
|
|
15533
15466
|
let div;
|
|
15534
15467
|
let p0;
|
|
15535
|
-
let t0_value = /*$_*/ ctx[
|
|
15468
|
+
let t0_value = /*$_*/ ctx[9]('Translations.notFound') + "";
|
|
15536
15469
|
let t0;
|
|
15537
15470
|
let t1;
|
|
15538
15471
|
let p1;
|
|
15539
|
-
let t2_value = /*$_*/ ctx[
|
|
15472
|
+
let t2_value = /*$_*/ ctx[9]('Translations.notFoundText') + "";
|
|
15540
15473
|
let t2;
|
|
15541
15474
|
|
|
15542
15475
|
const block = {
|
|
@@ -15548,10 +15481,10 @@
|
|
|
15548
15481
|
p1 = element("p");
|
|
15549
15482
|
t2 = text(t2_value);
|
|
15550
15483
|
attr_dev(p0, "class", "SearchMessage");
|
|
15551
|
-
add_location(p0, file,
|
|
15552
|
-
add_location(p1, file,
|
|
15484
|
+
add_location(p0, file, 236, 12, 8454);
|
|
15485
|
+
add_location(p1, file, 237, 12, 8525);
|
|
15553
15486
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15554
|
-
add_location(div, file,
|
|
15487
|
+
add_location(div, file, 235, 10, 8406);
|
|
15555
15488
|
},
|
|
15556
15489
|
m: function mount(target, anchor) {
|
|
15557
15490
|
insert_dev(target, div, anchor);
|
|
@@ -15562,8 +15495,8 @@
|
|
|
15562
15495
|
append_dev(p1, t2);
|
|
15563
15496
|
},
|
|
15564
15497
|
p: function update(ctx, dirty) {
|
|
15565
|
-
if (dirty[0] & /*$_*/
|
|
15566
|
-
if (dirty[0] & /*$_*/
|
|
15498
|
+
if (dirty[0] & /*$_*/ 512 && t0_value !== (t0_value = /*$_*/ ctx[9]('Translations.notFound') + "")) set_data_dev(t0, t0_value);
|
|
15499
|
+
if (dirty[0] & /*$_*/ 512 && t2_value !== (t2_value = /*$_*/ ctx[9]('Translations.notFoundText') + "")) set_data_dev(t2, t2_value);
|
|
15567
15500
|
},
|
|
15568
15501
|
d: function destroy(detaching) {
|
|
15569
15502
|
if (detaching) detach_dev(div);
|
|
@@ -15574,7 +15507,7 @@
|
|
|
15574
15507
|
block,
|
|
15575
15508
|
id: create_if_block_1.name,
|
|
15576
15509
|
type: "if",
|
|
15577
|
-
source: "(
|
|
15510
|
+
source: "(235:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
|
|
15578
15511
|
ctx
|
|
15579
15512
|
});
|
|
15580
15513
|
|
|
@@ -15599,7 +15532,7 @@
|
|
|
15599
15532
|
let span_class_value;
|
|
15600
15533
|
let t2;
|
|
15601
15534
|
let small;
|
|
15602
|
-
let t3_value = /*$_*/ ctx[
|
|
15535
|
+
let t3_value = /*$_*/ ctx[9]('Translations.cancel') + "";
|
|
15603
15536
|
let t3;
|
|
15604
15537
|
let small_class_value;
|
|
15605
15538
|
let t4;
|
|
@@ -15607,7 +15540,7 @@
|
|
|
15607
15540
|
let dispose;
|
|
15608
15541
|
|
|
15609
15542
|
function select_block_type(ctx, dirty) {
|
|
15610
|
-
if (/*isLoading*/ ctx[
|
|
15543
|
+
if (/*isLoading*/ ctx[7]) return create_if_block;
|
|
15611
15544
|
return create_else_block;
|
|
15612
15545
|
}
|
|
15613
15546
|
|
|
@@ -15641,46 +15574,46 @@
|
|
|
15641
15574
|
attr_dev(path0, "stroke-linecap", "round");
|
|
15642
15575
|
attr_dev(path0, "stroke-linejoin", "round");
|
|
15643
15576
|
attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
|
|
15644
|
-
add_location(path0, file,
|
|
15577
|
+
add_location(path0, file, 186, 10, 6059);
|
|
15645
15578
|
attr_dev(circle, "cx", "6.5");
|
|
15646
15579
|
attr_dev(circle, "cy", "6.5");
|
|
15647
15580
|
attr_dev(circle, "r", "5.75");
|
|
15648
15581
|
attr_dev(circle, "stroke", "#212121");
|
|
15649
15582
|
attr_dev(circle, "stroke-width", "1.5");
|
|
15650
|
-
add_location(circle, file,
|
|
15583
|
+
add_location(circle, file, 187, 10, 6187);
|
|
15651
15584
|
attr_dev(svg0, "width", "14");
|
|
15652
15585
|
attr_dev(svg0, "height", "15");
|
|
15653
15586
|
attr_dev(svg0, "fill", "none");
|
|
15654
15587
|
attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
|
|
15655
|
-
add_location(svg0, file,
|
|
15588
|
+
add_location(svg0, file, 185, 8, 5973);
|
|
15656
15589
|
attr_dev(div0, "class", "SearchIcon");
|
|
15657
|
-
add_location(div0, file,
|
|
15590
|
+
add_location(div0, file, 184, 6, 5940);
|
|
15658
15591
|
attr_dev(input, "class", "SearchInput");
|
|
15659
15592
|
attr_dev(input, "type", "search");
|
|
15660
15593
|
attr_dev(input, "placeholder", "Search for Games");
|
|
15661
|
-
add_location(input, file,
|
|
15594
|
+
add_location(input, file, 191, 8, 6332);
|
|
15662
15595
|
attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
|
|
15663
15596
|
attr_dev(path1, "stroke", "#717171");
|
|
15664
15597
|
attr_dev(path1, "stroke-width", "2");
|
|
15665
15598
|
attr_dev(path1, "stroke-linecap", "round");
|
|
15666
15599
|
attr_dev(path1, "stroke-linejoin", "round");
|
|
15667
|
-
add_location(path1, file,
|
|
15600
|
+
add_location(path1, file, 194, 12, 6692);
|
|
15668
15601
|
attr_dev(svg1, "width", "11");
|
|
15669
15602
|
attr_dev(svg1, "height", "11");
|
|
15670
15603
|
attr_dev(svg1, "fill", "none");
|
|
15671
15604
|
attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
|
|
15672
|
-
add_location(svg1, file,
|
|
15673
|
-
attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[
|
|
15674
|
-
add_location(span, file,
|
|
15605
|
+
add_location(svg1, file, 193, 10, 6604);
|
|
15606
|
+
attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[2].length != 0 ? '' : 'NotVisible'));
|
|
15607
|
+
add_location(span, file, 192, 8, 6483);
|
|
15675
15608
|
attr_dev(div1, "class", "SearchContainer");
|
|
15676
|
-
add_location(div1, file,
|
|
15677
|
-
attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[
|
|
15678
|
-
add_location(small, file,
|
|
15609
|
+
add_location(div1, file, 190, 6, 6294);
|
|
15610
|
+
attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[3] ? 'NotVisible' : ''));
|
|
15611
|
+
add_location(small, file, 198, 6, 6868);
|
|
15679
15612
|
attr_dev(div2, "class", "Search");
|
|
15680
|
-
add_location(div2, file,
|
|
15613
|
+
add_location(div2, file, 183, 4, 5913);
|
|
15681
15614
|
attr_dev(div3, "class", "CasinoSearch");
|
|
15682
|
-
add_location(div3, file,
|
|
15683
|
-
add_location(div4, file,
|
|
15615
|
+
add_location(div3, file, 182, 2, 5882);
|
|
15616
|
+
add_location(div4, file, 181, 0, 5839);
|
|
15684
15617
|
},
|
|
15685
15618
|
l: function claim(nodes) {
|
|
15686
15619
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -15696,8 +15629,8 @@
|
|
|
15696
15629
|
append_dev(div2, t0);
|
|
15697
15630
|
append_dev(div2, div1);
|
|
15698
15631
|
append_dev(div1, input);
|
|
15699
|
-
set_input_value(input, /*searchValue*/ ctx[
|
|
15700
|
-
/*input_binding*/ ctx[
|
|
15632
|
+
set_input_value(input, /*searchValue*/ ctx[2]);
|
|
15633
|
+
/*input_binding*/ ctx[17](input);
|
|
15701
15634
|
append_dev(div1, t1);
|
|
15702
15635
|
append_dev(div1, span);
|
|
15703
15636
|
append_dev(span, svg1);
|
|
@@ -15707,31 +15640,31 @@
|
|
|
15707
15640
|
append_dev(small, t3);
|
|
15708
15641
|
append_dev(div3, t4);
|
|
15709
15642
|
if_block.m(div3, null);
|
|
15710
|
-
/*div4_binding*/ ctx[
|
|
15643
|
+
/*div4_binding*/ ctx[20](div4);
|
|
15711
15644
|
|
|
15712
15645
|
if (!mounted) {
|
|
15713
15646
|
dispose = [
|
|
15714
|
-
listen_dev(input, "input", /*input_input_handler*/ ctx[
|
|
15715
|
-
listen_dev(input, "focus", /*onFocus*/ ctx[
|
|
15716
|
-
listen_dev(span, "click", /*click_handler*/ ctx[
|
|
15717
|
-
listen_dev(small, "click", /*click_handler_1*/ ctx[
|
|
15647
|
+
listen_dev(input, "input", /*input_input_handler*/ ctx[16]),
|
|
15648
|
+
listen_dev(input, "focus", /*onFocus*/ ctx[10], false, false, false),
|
|
15649
|
+
listen_dev(span, "click", /*click_handler*/ ctx[18], false, false, false),
|
|
15650
|
+
listen_dev(small, "click", /*click_handler_1*/ ctx[19], false, false, false)
|
|
15718
15651
|
];
|
|
15719
15652
|
|
|
15720
15653
|
mounted = true;
|
|
15721
15654
|
}
|
|
15722
15655
|
},
|
|
15723
15656
|
p: function update(ctx, dirty) {
|
|
15724
|
-
if (dirty[0] & /*searchValue*/
|
|
15725
|
-
set_input_value(input, /*searchValue*/ ctx[
|
|
15657
|
+
if (dirty[0] & /*searchValue*/ 4) {
|
|
15658
|
+
set_input_value(input, /*searchValue*/ ctx[2]);
|
|
15726
15659
|
}
|
|
15727
15660
|
|
|
15728
|
-
if (dirty[0] & /*searchValue*/
|
|
15661
|
+
if (dirty[0] & /*searchValue*/ 4 && span_class_value !== (span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[2].length != 0 ? '' : 'NotVisible'))) {
|
|
15729
15662
|
attr_dev(span, "class", span_class_value);
|
|
15730
15663
|
}
|
|
15731
15664
|
|
|
15732
|
-
if (dirty[0] & /*$_*/
|
|
15665
|
+
if (dirty[0] & /*$_*/ 512 && t3_value !== (t3_value = /*$_*/ ctx[9]('Translations.cancel') + "")) set_data_dev(t3, t3_value);
|
|
15733
15666
|
|
|
15734
|
-
if (dirty[0] & /*searchCancelled*/
|
|
15667
|
+
if (dirty[0] & /*searchCancelled*/ 8 && small_class_value !== (small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[3] ? 'NotVisible' : ''))) {
|
|
15735
15668
|
attr_dev(small, "class", small_class_value);
|
|
15736
15669
|
}
|
|
15737
15670
|
|
|
@@ -15751,9 +15684,9 @@
|
|
|
15751
15684
|
o: noop$1,
|
|
15752
15685
|
d: function destroy(detaching) {
|
|
15753
15686
|
if (detaching) detach_dev(div4);
|
|
15754
|
-
/*input_binding*/ ctx[
|
|
15687
|
+
/*input_binding*/ ctx[17](null);
|
|
15755
15688
|
if_block.d();
|
|
15756
|
-
/*div4_binding*/ ctx[
|
|
15689
|
+
/*div4_binding*/ ctx[20](null);
|
|
15757
15690
|
mounted = false;
|
|
15758
15691
|
run_all(dispose);
|
|
15759
15692
|
}
|
|
@@ -15773,7 +15706,7 @@
|
|
|
15773
15706
|
function instance($$self, $$props, $$invalidate) {
|
|
15774
15707
|
let $_;
|
|
15775
15708
|
validate_store(Y, '_');
|
|
15776
|
-
component_subscribe($$self, Y, $$value => $$invalidate(
|
|
15709
|
+
component_subscribe($$self, Y, $$value => $$invalidate(9, $_ = $$value));
|
|
15777
15710
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
15778
15711
|
validate_slots('undefined', slots, []);
|
|
15779
15712
|
let { endpoint = '' } = $$props;
|
|
@@ -15781,8 +15714,6 @@
|
|
|
15781
15714
|
let { lang = 'en' } = $$props;
|
|
15782
15715
|
let { clientstyling = '' } = $$props;
|
|
15783
15716
|
let { clientstylingurl = '' } = $$props;
|
|
15784
|
-
let { integratedgameframedesktop = 'false' } = $$props;
|
|
15785
|
-
let { integratedgameframemobile = 'false' } = $$props;
|
|
15786
15717
|
let userAgent = window.navigator.userAgent;
|
|
15787
15718
|
let searchArray = [];
|
|
15788
15719
|
let searchedValues = [];
|
|
@@ -15805,8 +15736,8 @@
|
|
|
15805
15736
|
};
|
|
15806
15737
|
|
|
15807
15738
|
const onFocus = () => {
|
|
15808
|
-
$$invalidate(
|
|
15809
|
-
$$invalidate(
|
|
15739
|
+
$$invalidate(3, searchCancelled = false);
|
|
15740
|
+
$$invalidate(6, searchActive = true);
|
|
15810
15741
|
|
|
15811
15742
|
if (endpoint && datasource && lang) {
|
|
15812
15743
|
if (searchValue.length < 2) {
|
|
@@ -15831,7 +15762,7 @@
|
|
|
15831
15762
|
}
|
|
15832
15763
|
|
|
15833
15764
|
Promise.all(promises).then(res => {
|
|
15834
|
-
$$invalidate(
|
|
15765
|
+
$$invalidate(4, searchArray = res);
|
|
15835
15766
|
});
|
|
15836
15767
|
}
|
|
15837
15768
|
}
|
|
@@ -15842,13 +15773,13 @@
|
|
|
15842
15773
|
|
|
15843
15774
|
const getGames = url => {
|
|
15844
15775
|
return new Promise((resolve, reject) => {
|
|
15845
|
-
$$invalidate(
|
|
15776
|
+
$$invalidate(7, isLoading = true);
|
|
15846
15777
|
|
|
15847
15778
|
fetch(url.href).then(res => res.json()).then(games => {
|
|
15848
|
-
$$invalidate(
|
|
15779
|
+
$$invalidate(7, isLoading = false);
|
|
15849
15780
|
resolve(games);
|
|
15850
15781
|
}).catch(err => {
|
|
15851
|
-
$$invalidate(
|
|
15782
|
+
$$invalidate(7, isLoading = false);
|
|
15852
15783
|
console.error(err);
|
|
15853
15784
|
reject(err);
|
|
15854
15785
|
});
|
|
@@ -15857,18 +15788,18 @@
|
|
|
15857
15788
|
|
|
15858
15789
|
const getGame = (url, gameId) => {
|
|
15859
15790
|
return new Promise((resolve, reject) => {
|
|
15860
|
-
$$invalidate(
|
|
15791
|
+
$$invalidate(7, isLoading = true);
|
|
15861
15792
|
|
|
15862
15793
|
if (gameId && Object.keys(gamesCache).indexOf(gameId) >= 0) {
|
|
15863
|
-
$$invalidate(
|
|
15794
|
+
$$invalidate(7, isLoading = false);
|
|
15864
15795
|
resolve(gamesCache[gameId]);
|
|
15865
15796
|
} else {
|
|
15866
15797
|
fetch(url).then(fetchRes => fetchRes.json()).then(gameData => {
|
|
15867
|
-
$$invalidate(
|
|
15798
|
+
$$invalidate(7, isLoading = false);
|
|
15868
15799
|
gamesCache[gameData[0].gameId] = gameData[0];
|
|
15869
15800
|
resolve(gameData[0]);
|
|
15870
15801
|
}).catch(err => {
|
|
15871
|
-
$$invalidate(
|
|
15802
|
+
$$invalidate(7, isLoading = false);
|
|
15872
15803
|
console.error(err);
|
|
15873
15804
|
reject(err);
|
|
15874
15805
|
});
|
|
@@ -15902,16 +15833,16 @@
|
|
|
15902
15833
|
};
|
|
15903
15834
|
|
|
15904
15835
|
const cancelSearch = () => {
|
|
15905
|
-
$$invalidate(
|
|
15906
|
-
$$invalidate(
|
|
15907
|
-
$$invalidate(
|
|
15908
|
-
$$invalidate(
|
|
15909
|
-
$$invalidate(
|
|
15836
|
+
$$invalidate(2, searchValue = '');
|
|
15837
|
+
$$invalidate(3, searchCancelled = true);
|
|
15838
|
+
$$invalidate(7, isLoading = false);
|
|
15839
|
+
$$invalidate(4, searchArray = []);
|
|
15840
|
+
$$invalidate(6, searchActive = false);
|
|
15910
15841
|
sendSearchStatus(searchActive);
|
|
15911
15842
|
};
|
|
15912
15843
|
|
|
15913
15844
|
const clearSearch = () => {
|
|
15914
|
-
$$invalidate(
|
|
15845
|
+
$$invalidate(2, searchValue = '');
|
|
15915
15846
|
searchElement.focus();
|
|
15916
15847
|
};
|
|
15917
15848
|
|
|
@@ -15961,15 +15892,7 @@
|
|
|
15961
15892
|
};
|
|
15962
15893
|
});
|
|
15963
15894
|
|
|
15964
|
-
const writable_props = [
|
|
15965
|
-
'endpoint',
|
|
15966
|
-
'datasource',
|
|
15967
|
-
'lang',
|
|
15968
|
-
'clientstyling',
|
|
15969
|
-
'clientstylingurl',
|
|
15970
|
-
'integratedgameframedesktop',
|
|
15971
|
-
'integratedgameframemobile'
|
|
15972
|
-
];
|
|
15895
|
+
const writable_props = ['endpoint', 'datasource', 'lang', 'clientstyling', 'clientstylingurl'];
|
|
15973
15896
|
|
|
15974
15897
|
Object_1.keys($$props).forEach(key => {
|
|
15975
15898
|
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console_1.warn(`<undefined> was created with unknown prop '${key}'`);
|
|
@@ -15977,13 +15900,13 @@
|
|
|
15977
15900
|
|
|
15978
15901
|
function input_input_handler() {
|
|
15979
15902
|
searchValue = this.value;
|
|
15980
|
-
$$invalidate(
|
|
15903
|
+
$$invalidate(2, searchValue);
|
|
15981
15904
|
}
|
|
15982
15905
|
|
|
15983
15906
|
function input_binding($$value) {
|
|
15984
15907
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
15985
15908
|
searchElement = $$value;
|
|
15986
|
-
$$invalidate(
|
|
15909
|
+
$$invalidate(5, searchElement);
|
|
15987
15910
|
});
|
|
15988
15911
|
}
|
|
15989
15912
|
|
|
@@ -15993,18 +15916,16 @@
|
|
|
15993
15916
|
function div4_binding($$value) {
|
|
15994
15917
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
15995
15918
|
customStylingContainer = $$value;
|
|
15996
|
-
$$invalidate(
|
|
15919
|
+
$$invalidate(8, customStylingContainer);
|
|
15997
15920
|
});
|
|
15998
15921
|
}
|
|
15999
15922
|
|
|
16000
15923
|
$$self.$$set = $$props => {
|
|
16001
15924
|
if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
|
|
16002
|
-
if ('datasource' in $$props) $$invalidate(
|
|
15925
|
+
if ('datasource' in $$props) $$invalidate(13, datasource = $$props.datasource);
|
|
16003
15926
|
if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
|
|
16004
|
-
if ('clientstyling' in $$props) $$invalidate(
|
|
16005
|
-
if ('clientstylingurl' in $$props) $$invalidate(
|
|
16006
|
-
if ('integratedgameframedesktop' in $$props) $$invalidate(2, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
16007
|
-
if ('integratedgameframemobile' in $$props) $$invalidate(3, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
15927
|
+
if ('clientstyling' in $$props) $$invalidate(14, clientstyling = $$props.clientstyling);
|
|
15928
|
+
if ('clientstylingurl' in $$props) $$invalidate(15, clientstylingurl = $$props.clientstylingurl);
|
|
16008
15929
|
};
|
|
16009
15930
|
|
|
16010
15931
|
$$self.$capture_state = () => ({
|
|
@@ -16019,8 +15940,6 @@
|
|
|
16019
15940
|
lang,
|
|
16020
15941
|
clientstyling,
|
|
16021
15942
|
clientstylingurl,
|
|
16022
|
-
integratedgameframedesktop,
|
|
16023
|
-
integratedgameframemobile,
|
|
16024
15943
|
userAgent,
|
|
16025
15944
|
searchArray,
|
|
16026
15945
|
searchedValues,
|
|
@@ -16048,22 +15967,20 @@
|
|
|
16048
15967
|
|
|
16049
15968
|
$$self.$inject_state = $$props => {
|
|
16050
15969
|
if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
|
|
16051
|
-
if ('datasource' in $$props) $$invalidate(
|
|
15970
|
+
if ('datasource' in $$props) $$invalidate(13, datasource = $$props.datasource);
|
|
16052
15971
|
if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
|
|
16053
|
-
if ('clientstyling' in $$props) $$invalidate(
|
|
16054
|
-
if ('clientstylingurl' in $$props) $$invalidate(
|
|
16055
|
-
if ('
|
|
16056
|
-
if ('
|
|
16057
|
-
if ('userAgent' in $$props) $$invalidate(25, userAgent = $$props.userAgent);
|
|
16058
|
-
if ('searchArray' in $$props) $$invalidate(6, searchArray = $$props.searchArray);
|
|
15972
|
+
if ('clientstyling' in $$props) $$invalidate(14, clientstyling = $$props.clientstyling);
|
|
15973
|
+
if ('clientstylingurl' in $$props) $$invalidate(15, clientstylingurl = $$props.clientstylingurl);
|
|
15974
|
+
if ('userAgent' in $$props) $$invalidate(23, userAgent = $$props.userAgent);
|
|
15975
|
+
if ('searchArray' in $$props) $$invalidate(4, searchArray = $$props.searchArray);
|
|
16059
15976
|
if ('searchedValues' in $$props) searchedValues = $$props.searchedValues;
|
|
16060
15977
|
if ('gamesCache' in $$props) gamesCache = $$props.gamesCache;
|
|
16061
|
-
if ('searchValue' in $$props) $$invalidate(
|
|
16062
|
-
if ('searchElement' in $$props) $$invalidate(
|
|
16063
|
-
if ('searchCancelled' in $$props) $$invalidate(
|
|
16064
|
-
if ('searchActive' in $$props) $$invalidate(
|
|
16065
|
-
if ('isLoading' in $$props) $$invalidate(
|
|
16066
|
-
if ('customStylingContainer' in $$props) $$invalidate(
|
|
15978
|
+
if ('searchValue' in $$props) $$invalidate(2, searchValue = $$props.searchValue);
|
|
15979
|
+
if ('searchElement' in $$props) $$invalidate(5, searchElement = $$props.searchElement);
|
|
15980
|
+
if ('searchCancelled' in $$props) $$invalidate(3, searchCancelled = $$props.searchCancelled);
|
|
15981
|
+
if ('searchActive' in $$props) $$invalidate(6, searchActive = $$props.searchActive);
|
|
15982
|
+
if ('isLoading' in $$props) $$invalidate(7, isLoading = $$props.isLoading);
|
|
15983
|
+
if ('customStylingContainer' in $$props) $$invalidate(8, customStylingContainer = $$props.customStylingContainer);
|
|
16067
15984
|
};
|
|
16068
15985
|
|
|
16069
15986
|
if ($$props && "$$inject" in $$props) {
|
|
@@ -16071,7 +15988,7 @@
|
|
|
16071
15988
|
}
|
|
16072
15989
|
|
|
16073
15990
|
$$self.$$.update = () => {
|
|
16074
|
-
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
15991
|
+
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 8207) {
|
|
16075
15992
|
if (searchValue.length >= 2) {
|
|
16076
15993
|
const searchUrl = new URL(`${endpoint}/casino/games`);
|
|
16077
15994
|
searchUrl.searchParams.append("datasource", datasource);
|
|
@@ -16082,7 +15999,7 @@
|
|
|
16082
15999
|
searchUrl.searchParams.append("filter", `name=${searchValue}`);
|
|
16083
16000
|
|
|
16084
16001
|
getGames(searchUrl).then(searchData => {
|
|
16085
|
-
$$invalidate(
|
|
16002
|
+
$$invalidate(4, searchArray = searchData.items.map(item => item));
|
|
16086
16003
|
});
|
|
16087
16004
|
} else {
|
|
16088
16005
|
if (!searchCancelled) {
|
|
@@ -16095,11 +16012,11 @@
|
|
|
16095
16012
|
lang && setActiveLanguage();
|
|
16096
16013
|
}
|
|
16097
16014
|
|
|
16098
|
-
if ($$self.$$.dirty[0] & /*clientstyling*/
|
|
16015
|
+
if ($$self.$$.dirty[0] & /*clientstyling*/ 16384) {
|
|
16099
16016
|
clientstyling && setClientStyling();
|
|
16100
16017
|
}
|
|
16101
16018
|
|
|
16102
|
-
if ($$self.$$.dirty[0] & /*clientstylingurl*/
|
|
16019
|
+
if ($$self.$$.dirty[0] & /*clientstylingurl*/ 32768) {
|
|
16103
16020
|
clientstylingurl && setClientStylingURL();
|
|
16104
16021
|
}
|
|
16105
16022
|
};
|
|
@@ -16107,8 +16024,6 @@
|
|
|
16107
16024
|
return [
|
|
16108
16025
|
endpoint,
|
|
16109
16026
|
lang,
|
|
16110
|
-
integratedgameframedesktop,
|
|
16111
|
-
integratedgameframemobile,
|
|
16112
16027
|
searchValue,
|
|
16113
16028
|
searchCancelled,
|
|
16114
16029
|
searchArray,
|
|
@@ -16148,12 +16063,10 @@
|
|
|
16148
16063
|
safe_not_equal,
|
|
16149
16064
|
{
|
|
16150
16065
|
endpoint: 0,
|
|
16151
|
-
datasource:
|
|
16066
|
+
datasource: 13,
|
|
16152
16067
|
lang: 1,
|
|
16153
|
-
clientstyling:
|
|
16154
|
-
clientstylingurl:
|
|
16155
|
-
integratedgameframedesktop: 2,
|
|
16156
|
-
integratedgameframemobile: 3
|
|
16068
|
+
clientstyling: 14,
|
|
16069
|
+
clientstylingurl: 15
|
|
16157
16070
|
},
|
|
16158
16071
|
null,
|
|
16159
16072
|
[-1, -1]
|
|
@@ -16172,15 +16085,7 @@
|
|
|
16172
16085
|
}
|
|
16173
16086
|
|
|
16174
16087
|
static get observedAttributes() {
|
|
16175
|
-
return [
|
|
16176
|
-
"endpoint",
|
|
16177
|
-
"datasource",
|
|
16178
|
-
"lang",
|
|
16179
|
-
"clientstyling",
|
|
16180
|
-
"clientstylingurl",
|
|
16181
|
-
"integratedgameframedesktop",
|
|
16182
|
-
"integratedgameframemobile"
|
|
16183
|
-
];
|
|
16088
|
+
return ["endpoint", "datasource", "lang", "clientstyling", "clientstylingurl"];
|
|
16184
16089
|
}
|
|
16185
16090
|
|
|
16186
16091
|
get endpoint() {
|
|
@@ -16193,7 +16098,7 @@
|
|
|
16193
16098
|
}
|
|
16194
16099
|
|
|
16195
16100
|
get datasource() {
|
|
16196
|
-
return this.$$.ctx[
|
|
16101
|
+
return this.$$.ctx[13];
|
|
16197
16102
|
}
|
|
16198
16103
|
|
|
16199
16104
|
set datasource(datasource) {
|
|
@@ -16211,7 +16116,7 @@
|
|
|
16211
16116
|
}
|
|
16212
16117
|
|
|
16213
16118
|
get clientstyling() {
|
|
16214
|
-
return this.$$.ctx[
|
|
16119
|
+
return this.$$.ctx[14];
|
|
16215
16120
|
}
|
|
16216
16121
|
|
|
16217
16122
|
set clientstyling(clientstyling) {
|
|
@@ -16220,31 +16125,13 @@
|
|
|
16220
16125
|
}
|
|
16221
16126
|
|
|
16222
16127
|
get clientstylingurl() {
|
|
16223
|
-
return this.$$.ctx[
|
|
16128
|
+
return this.$$.ctx[15];
|
|
16224
16129
|
}
|
|
16225
16130
|
|
|
16226
16131
|
set clientstylingurl(clientstylingurl) {
|
|
16227
16132
|
this.$$set({ clientstylingurl });
|
|
16228
16133
|
flush();
|
|
16229
16134
|
}
|
|
16230
|
-
|
|
16231
|
-
get integratedgameframedesktop() {
|
|
16232
|
-
return this.$$.ctx[2];
|
|
16233
|
-
}
|
|
16234
|
-
|
|
16235
|
-
set integratedgameframedesktop(integratedgameframedesktop) {
|
|
16236
|
-
this.$$set({ integratedgameframedesktop });
|
|
16237
|
-
flush();
|
|
16238
|
-
}
|
|
16239
|
-
|
|
16240
|
-
get integratedgameframemobile() {
|
|
16241
|
-
return this.$$.ctx[3];
|
|
16242
|
-
}
|
|
16243
|
-
|
|
16244
|
-
set integratedgameframemobile(integratedgameframemobile) {
|
|
16245
|
-
this.$$set({ integratedgameframemobile });
|
|
16246
|
-
flush();
|
|
16247
|
-
}
|
|
16248
16135
|
}
|
|
16249
16136
|
|
|
16250
16137
|
!customElements.get('casino-search') && customElements.define('casino-search', CasinoSearch);
|