@everymatrix/casino-search 1.0.13 → 1.0.14
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 +292 -220
- package/dist/casino-search.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoSearch.svelte +15 -0
package/dist/casino-search.js
CHANGED
|
@@ -12319,18 +12319,18 @@
|
|
|
12319
12319
|
|
|
12320
12320
|
function get_each_context_1(ctx, list, i) {
|
|
12321
12321
|
const child_ctx = ctx.slice();
|
|
12322
|
-
child_ctx[
|
|
12323
|
-
child_ctx[
|
|
12322
|
+
child_ctx[109] = list[i];
|
|
12323
|
+
child_ctx[111] = i;
|
|
12324
12324
|
return child_ctx;
|
|
12325
12325
|
}
|
|
12326
12326
|
|
|
12327
12327
|
function get_each_context$1(ctx, list, i) {
|
|
12328
12328
|
const child_ctx = ctx.slice();
|
|
12329
|
-
child_ctx[
|
|
12329
|
+
child_ctx[106] = list[i];
|
|
12330
12330
|
return child_ctx;
|
|
12331
12331
|
}
|
|
12332
12332
|
|
|
12333
|
-
// (
|
|
12333
|
+
// (562:8) {#if fav}
|
|
12334
12334
|
function create_if_block_12(ctx) {
|
|
12335
12335
|
let show_if = !isMobile(/*userAgent*/ ctx[36]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[14];
|
|
12336
12336
|
let if_block_anchor;
|
|
@@ -12371,14 +12371,14 @@
|
|
|
12371
12371
|
block,
|
|
12372
12372
|
id: create_if_block_12.name,
|
|
12373
12373
|
type: "if",
|
|
12374
|
-
source: "(
|
|
12374
|
+
source: "(562:8) {#if fav}",
|
|
12375
12375
|
ctx
|
|
12376
12376
|
});
|
|
12377
12377
|
|
|
12378
12378
|
return block;
|
|
12379
12379
|
}
|
|
12380
12380
|
|
|
12381
|
-
// (
|
|
12381
|
+
// (563:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
|
|
12382
12382
|
function create_if_block_13(ctx) {
|
|
12383
12383
|
let div;
|
|
12384
12384
|
let svg;
|
|
@@ -12393,7 +12393,7 @@
|
|
|
12393
12393
|
path = svg_element("path");
|
|
12394
12394
|
set_style(path, "fill", "white");
|
|
12395
12395
|
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");
|
|
12396
|
-
add_location(path, file$1,
|
|
12396
|
+
add_location(path, file$1, 565, 112, 20045);
|
|
12397
12397
|
attr_dev(svg, "version", "1.1");
|
|
12398
12398
|
attr_dev(svg, "class", "UnfavoredIcon");
|
|
12399
12399
|
attr_dev(svg, "part", "UnfavoredIcon");
|
|
@@ -12404,10 +12404,10 @@
|
|
|
12404
12404
|
attr_dev(svg, "viewBox", "0 0 512.001 512.001");
|
|
12405
12405
|
set_style(svg, "enable-background", "new 0 0 512.001 512.001");
|
|
12406
12406
|
attr_dev(svg, "xml:space", "preserve");
|
|
12407
|
-
add_location(svg, file$1,
|
|
12407
|
+
add_location(svg, file$1, 564, 14, 19775);
|
|
12408
12408
|
attr_dev(div, "class", "FavIconContainer");
|
|
12409
12409
|
attr_dev(div, "part", "FavIconContainer");
|
|
12410
|
-
add_location(div, file$1,
|
|
12410
|
+
add_location(div, file$1, 563, 12, 19660);
|
|
12411
12411
|
},
|
|
12412
12412
|
m: function mount(target, anchor) {
|
|
12413
12413
|
insert_dev(target, div, anchor);
|
|
@@ -12415,7 +12415,7 @@
|
|
|
12415
12415
|
append_dev(svg, path);
|
|
12416
12416
|
|
|
12417
12417
|
if (!mounted) {
|
|
12418
|
-
dispose = listen_dev(div, "click", /*click_handler*/ ctx[
|
|
12418
|
+
dispose = listen_dev(div, "click", /*click_handler*/ ctx[67], false, false, false);
|
|
12419
12419
|
mounted = true;
|
|
12420
12420
|
}
|
|
12421
12421
|
},
|
|
@@ -12431,14 +12431,14 @@
|
|
|
12431
12431
|
block,
|
|
12432
12432
|
id: create_if_block_13.name,
|
|
12433
12433
|
type: "if",
|
|
12434
|
-
source: "(
|
|
12434
|
+
source: "(563:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}",
|
|
12435
12435
|
ctx
|
|
12436
12436
|
});
|
|
12437
12437
|
|
|
12438
12438
|
return block;
|
|
12439
12439
|
}
|
|
12440
12440
|
|
|
12441
|
-
// (
|
|
12441
|
+
// (591:77)
|
|
12442
12442
|
function create_if_block_11(ctx) {
|
|
12443
12443
|
let div;
|
|
12444
12444
|
let svg;
|
|
@@ -12451,7 +12451,7 @@
|
|
|
12451
12451
|
path = svg_element("path");
|
|
12452
12452
|
set_style(path, "fill", "white");
|
|
12453
12453
|
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");
|
|
12454
|
-
add_location(path, file$1,
|
|
12454
|
+
add_location(path, file$1, 593, 10, 22674);
|
|
12455
12455
|
attr_dev(svg, "version", "1.1");
|
|
12456
12456
|
attr_dev(svg, "class", "FavoredIcon");
|
|
12457
12457
|
attr_dev(svg, "part", "FavoredIcon");
|
|
@@ -12459,10 +12459,10 @@
|
|
|
12459
12459
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
|
12460
12460
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
12461
12461
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
|
12462
|
-
add_location(svg, file$1,
|
|
12462
|
+
add_location(svg, file$1, 592, 8, 22457);
|
|
12463
12463
|
attr_dev(div, "class", "FavIconContainer");
|
|
12464
12464
|
attr_dev(div, "part", "FavIconContainer");
|
|
12465
|
-
add_location(div, file$1,
|
|
12465
|
+
add_location(div, file$1, 591, 6, 22394);
|
|
12466
12466
|
},
|
|
12467
12467
|
m: function mount(target, anchor) {
|
|
12468
12468
|
insert_dev(target, div, anchor);
|
|
@@ -12479,14 +12479,14 @@
|
|
|
12479
12479
|
block,
|
|
12480
12480
|
id: create_if_block_11.name,
|
|
12481
12481
|
type: "if",
|
|
12482
|
-
source: "(
|
|
12482
|
+
source: "(591:77) ",
|
|
12483
12483
|
ctx
|
|
12484
12484
|
});
|
|
12485
12485
|
|
|
12486
12486
|
return block;
|
|
12487
12487
|
}
|
|
12488
12488
|
|
|
12489
|
-
// (
|
|
12489
|
+
// (585:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
|
|
12490
12490
|
function create_if_block_10(ctx) {
|
|
12491
12491
|
let div;
|
|
12492
12492
|
let svg;
|
|
@@ -12501,7 +12501,7 @@
|
|
|
12501
12501
|
path = svg_element("path");
|
|
12502
12502
|
set_style(path, "fill", "white");
|
|
12503
12503
|
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");
|
|
12504
|
-
add_location(path, file$1,
|
|
12504
|
+
add_location(path, file$1, 587, 10, 21943);
|
|
12505
12505
|
attr_dev(svg, "version", "1.1");
|
|
12506
12506
|
attr_dev(svg, "class", "FavoredIcon");
|
|
12507
12507
|
attr_dev(svg, "part", "FavoredIcon");
|
|
@@ -12509,10 +12509,10 @@
|
|
|
12509
12509
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
|
12510
12510
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
12511
12511
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
|
12512
|
-
add_location(svg, file$1,
|
|
12512
|
+
add_location(svg, file$1, 586, 8, 21726);
|
|
12513
12513
|
attr_dev(div, "class", "FavIconContainer");
|
|
12514
12514
|
attr_dev(div, "part", "FavIconContainer");
|
|
12515
|
-
add_location(div, file$1,
|
|
12515
|
+
add_location(div, file$1, 585, 6, 21617);
|
|
12516
12516
|
},
|
|
12517
12517
|
m: function mount(target, anchor) {
|
|
12518
12518
|
insert_dev(target, div, anchor);
|
|
@@ -12520,7 +12520,7 @@
|
|
|
12520
12520
|
append_dev(svg, path);
|
|
12521
12521
|
|
|
12522
12522
|
if (!mounted) {
|
|
12523
|
-
dispose = listen_dev(div, "click", /*click_handler_2*/ ctx[
|
|
12523
|
+
dispose = listen_dev(div, "click", /*click_handler_2*/ ctx[69], false, false, false);
|
|
12524
12524
|
mounted = true;
|
|
12525
12525
|
}
|
|
12526
12526
|
},
|
|
@@ -12536,14 +12536,14 @@
|
|
|
12536
12536
|
block,
|
|
12537
12537
|
id: create_if_block_10.name,
|
|
12538
12538
|
type: "if",
|
|
12539
|
-
source: "(
|
|
12539
|
+
source: "(585:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}",
|
|
12540
12540
|
ctx
|
|
12541
12541
|
});
|
|
12542
12542
|
|
|
12543
12543
|
return block;
|
|
12544
12544
|
}
|
|
12545
12545
|
|
|
12546
|
-
// (
|
|
12546
|
+
// (599:6) {#if gameisnew}
|
|
12547
12547
|
function create_if_block_9(ctx) {
|
|
12548
12548
|
let span;
|
|
12549
12549
|
let t_value = /*$_*/ ctx[35]('gameThumbnail.new') + "";
|
|
@@ -12555,7 +12555,7 @@
|
|
|
12555
12555
|
t = text(t_value);
|
|
12556
12556
|
attr_dev(span, "class", "GameExtraInfoLabel NewGameTag");
|
|
12557
12557
|
attr_dev(span, "part", "GameExtraInfoLabel NewGameTag");
|
|
12558
|
-
add_location(span, file$1,
|
|
12558
|
+
add_location(span, file$1, 599, 8, 23134);
|
|
12559
12559
|
},
|
|
12560
12560
|
m: function mount(target, anchor) {
|
|
12561
12561
|
insert_dev(target, span, anchor);
|
|
@@ -12573,14 +12573,14 @@
|
|
|
12573
12573
|
block,
|
|
12574
12574
|
id: create_if_block_9.name,
|
|
12575
12575
|
type: "if",
|
|
12576
|
-
source: "(
|
|
12576
|
+
source: "(599:6) {#if gameisnew}",
|
|
12577
12577
|
ctx
|
|
12578
12578
|
});
|
|
12579
12579
|
|
|
12580
12580
|
return block;
|
|
12581
12581
|
}
|
|
12582
12582
|
|
|
12583
|
-
// (
|
|
12583
|
+
// (602:6) {#if (parseInt(gamepopularity) > 0)}
|
|
12584
12584
|
function create_if_block_8(ctx) {
|
|
12585
12585
|
let span;
|
|
12586
12586
|
let t_value = /*$_*/ ctx[35]('gameThumbnail.hot') + "";
|
|
@@ -12592,7 +12592,7 @@
|
|
|
12592
12592
|
t = text(t_value);
|
|
12593
12593
|
attr_dev(span, "class", "GameExtraInfoLabel PopularGameTag");
|
|
12594
12594
|
attr_dev(span, "part", "GameExtraInfoLabel PopularGameTag");
|
|
12595
|
-
add_location(span, file$1,
|
|
12595
|
+
add_location(span, file$1, 602, 8, 23311);
|
|
12596
12596
|
},
|
|
12597
12597
|
m: function mount(target, anchor) {
|
|
12598
12598
|
insert_dev(target, span, anchor);
|
|
@@ -12610,14 +12610,14 @@
|
|
|
12610
12610
|
block,
|
|
12611
12611
|
id: create_if_block_8.name,
|
|
12612
12612
|
type: "if",
|
|
12613
|
-
source: "(
|
|
12613
|
+
source: "(602:6) {#if (parseInt(gamepopularity) > 0)}",
|
|
12614
12614
|
ctx
|
|
12615
12615
|
});
|
|
12616
12616
|
|
|
12617
12617
|
return block;
|
|
12618
12618
|
}
|
|
12619
12619
|
|
|
12620
|
-
// (
|
|
12620
|
+
// (605:6) {#if livegamedata}
|
|
12621
12621
|
function create_if_block_1$1(ctx) {
|
|
12622
12622
|
let t;
|
|
12623
12623
|
let if_block1_anchor;
|
|
@@ -12686,14 +12686,14 @@
|
|
|
12686
12686
|
block,
|
|
12687
12687
|
id: create_if_block_1$1.name,
|
|
12688
12688
|
type: "if",
|
|
12689
|
-
source: "(
|
|
12689
|
+
source: "(605:6) {#if livegamedata}",
|
|
12690
12690
|
ctx
|
|
12691
12691
|
});
|
|
12692
12692
|
|
|
12693
12693
|
return block;
|
|
12694
12694
|
}
|
|
12695
12695
|
|
|
12696
|
-
// (
|
|
12696
|
+
// (606:8) {#if !isopen && starttime && timeformat}
|
|
12697
12697
|
function create_if_block_7(ctx) {
|
|
12698
12698
|
let div1;
|
|
12699
12699
|
let div0;
|
|
@@ -12722,15 +12722,15 @@
|
|
|
12722
12722
|
html_tag = new HtmlTag(false);
|
|
12723
12723
|
t4 = space();
|
|
12724
12724
|
html_tag_1 = new HtmlTag(false);
|
|
12725
|
-
add_location(span, file$1,
|
|
12725
|
+
add_location(span, file$1, 609, 14, 23699);
|
|
12726
12726
|
attr_dev(div0, "class", "ClosedGame");
|
|
12727
12727
|
attr_dev(div0, "part", "ClosedGame");
|
|
12728
|
-
add_location(div0, file$1,
|
|
12728
|
+
add_location(div0, file$1, 607, 12, 23600);
|
|
12729
12729
|
html_tag.a = t4;
|
|
12730
12730
|
html_tag_1.a = null;
|
|
12731
12731
|
attr_dev(div1, "class", "GameProp LiveProps");
|
|
12732
12732
|
attr_dev(div1, "part", "GameProp LiveProps");
|
|
12733
|
-
add_location(div1, file$1,
|
|
12733
|
+
add_location(div1, file$1, 606, 10, 23529);
|
|
12734
12734
|
},
|
|
12735
12735
|
m: function mount(target, anchor) {
|
|
12736
12736
|
insert_dev(target, div1, anchor);
|
|
@@ -12759,14 +12759,14 @@
|
|
|
12759
12759
|
block,
|
|
12760
12760
|
id: create_if_block_7.name,
|
|
12761
12761
|
type: "if",
|
|
12762
|
-
source: "(
|
|
12762
|
+
source: "(606:8) {#if !isopen && starttime && timeformat}",
|
|
12763
12763
|
ctx
|
|
12764
12764
|
});
|
|
12765
12765
|
|
|
12766
12766
|
return block;
|
|
12767
12767
|
}
|
|
12768
12768
|
|
|
12769
|
-
// (
|
|
12769
|
+
// (639:68)
|
|
12770
12770
|
function create_if_block_4$1(ctx) {
|
|
12771
12771
|
let div1;
|
|
12772
12772
|
let div0;
|
|
@@ -12799,12 +12799,12 @@
|
|
|
12799
12799
|
html_tag_1 = new HtmlTag(false);
|
|
12800
12800
|
attr_dev(div0, "class", "LiveIcons");
|
|
12801
12801
|
attr_dev(div0, "part", "LiveIcons");
|
|
12802
|
-
add_location(div0, file$1,
|
|
12802
|
+
add_location(div0, file$1, 640, 12, 25659);
|
|
12803
12803
|
html_tag.a = t1;
|
|
12804
12804
|
html_tag_1.a = null;
|
|
12805
12805
|
attr_dev(div1, "class", /*roulettecontainerclassname*/ ctx[30]);
|
|
12806
12806
|
attr_dev(div1, "part", /*roulettecontainerclassname*/ ctx[30]);
|
|
12807
|
-
add_location(div1, file$1,
|
|
12807
|
+
add_location(div1, file$1, 639, 10, 25568);
|
|
12808
12808
|
},
|
|
12809
12809
|
m: function mount(target, anchor) {
|
|
12810
12810
|
insert_dev(target, div1, anchor);
|
|
@@ -12814,7 +12814,7 @@
|
|
|
12814
12814
|
each_blocks[i].m(div0, null);
|
|
12815
12815
|
}
|
|
12816
12816
|
|
|
12817
|
-
/*div0_binding*/ ctx[
|
|
12817
|
+
/*div0_binding*/ ctx[70](div0);
|
|
12818
12818
|
append_dev(div1, t0);
|
|
12819
12819
|
html_tag.m(raw0_value, div1);
|
|
12820
12820
|
append_dev(div1, t1);
|
|
@@ -12859,7 +12859,7 @@
|
|
|
12859
12859
|
d: function destroy(detaching) {
|
|
12860
12860
|
if (detaching) detach_dev(div1);
|
|
12861
12861
|
destroy_each(each_blocks, detaching);
|
|
12862
|
-
/*div0_binding*/ ctx[
|
|
12862
|
+
/*div0_binding*/ ctx[70](null);
|
|
12863
12863
|
}
|
|
12864
12864
|
};
|
|
12865
12865
|
|
|
@@ -12867,14 +12867,14 @@
|
|
|
12867
12867
|
block,
|
|
12868
12868
|
id: create_if_block_4$1.name,
|
|
12869
12869
|
type: "if",
|
|
12870
|
-
source: "(
|
|
12870
|
+
source: "(639:68) ",
|
|
12871
12871
|
ctx
|
|
12872
12872
|
});
|
|
12873
12873
|
|
|
12874
12874
|
return block;
|
|
12875
12875
|
}
|
|
12876
12876
|
|
|
12877
|
-
// (
|
|
12877
|
+
// (618:8) {#if isopen && displaytype && displaytype === BLACKJACK}
|
|
12878
12878
|
function create_if_block_2$1(ctx) {
|
|
12879
12879
|
let div1;
|
|
12880
12880
|
let div0;
|
|
@@ -12904,12 +12904,12 @@
|
|
|
12904
12904
|
html_tag_1 = new HtmlTag(false);
|
|
12905
12905
|
attr_dev(div0, "class", "LiveIcons");
|
|
12906
12906
|
attr_dev(div0, "part", "LiveIcons");
|
|
12907
|
-
add_location(div0, file$1,
|
|
12907
|
+
add_location(div0, file$1, 619, 12, 24136);
|
|
12908
12908
|
html_tag.a = t1;
|
|
12909
12909
|
html_tag_1.a = null;
|
|
12910
12910
|
attr_dev(div1, "class", "GameProp LiveProps BlackjackDisplay");
|
|
12911
12911
|
attr_dev(div1, "part", "GameProp LiveProps BlackjackDisplay");
|
|
12912
|
-
add_location(div1, file$1,
|
|
12912
|
+
add_location(div1, file$1, 618, 10, 24031);
|
|
12913
12913
|
},
|
|
12914
12914
|
m: function mount(target, anchor) {
|
|
12915
12915
|
insert_dev(target, div1, anchor);
|
|
@@ -12946,14 +12946,14 @@
|
|
|
12946
12946
|
block,
|
|
12947
12947
|
id: create_if_block_2$1.name,
|
|
12948
12948
|
type: "if",
|
|
12949
|
-
source: "(
|
|
12949
|
+
source: "(618:8) {#if isopen && displaytype && displaytype === BLACKJACK}",
|
|
12950
12950
|
ctx
|
|
12951
12951
|
});
|
|
12952
12952
|
|
|
12953
12953
|
return block;
|
|
12954
12954
|
}
|
|
12955
12955
|
|
|
12956
|
-
// (
|
|
12956
|
+
// (643:16) {#if roulleteresults && roulleteresults[i]}
|
|
12957
12957
|
function create_if_block_5$1(ctx) {
|
|
12958
12958
|
let if_block_anchor;
|
|
12959
12959
|
|
|
@@ -12997,17 +12997,17 @@
|
|
|
12997
12997
|
block,
|
|
12998
12998
|
id: create_if_block_5$1.name,
|
|
12999
12999
|
type: "if",
|
|
13000
|
-
source: "(
|
|
13000
|
+
source: "(643:16) {#if roulleteresults && roulleteresults[i]}",
|
|
13001
13001
|
ctx
|
|
13002
13002
|
});
|
|
13003
13003
|
|
|
13004
13004
|
return block;
|
|
13005
13005
|
}
|
|
13006
13006
|
|
|
13007
|
-
// (
|
|
13007
|
+
// (649:18) {:else}
|
|
13008
13008
|
function create_else_block_1(ctx) {
|
|
13009
13009
|
let html_tag;
|
|
13010
|
-
let raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13010
|
+
let raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[111] === 0 ? 'First' : ''}`, /*i*/ ctx[111], /*roulleteresults*/ ctx[12][/*i*/ ctx[111]], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[111]]]) + "";
|
|
13011
13011
|
let html_anchor;
|
|
13012
13012
|
|
|
13013
13013
|
const block = {
|
|
@@ -13021,7 +13021,7 @@
|
|
|
13021
13021
|
insert_dev(target, html_anchor, anchor);
|
|
13022
13022
|
},
|
|
13023
13023
|
p: function update(ctx, dirty) {
|
|
13024
|
-
if (dirty[0] & /*roulleteresults*/ 4096 | dirty[1] & /*colorsourcearray*/ 1 && raw_value !== (raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13024
|
+
if (dirty[0] & /*roulleteresults*/ 4096 | dirty[1] & /*colorsourcearray*/ 1 && raw_value !== (raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[111] === 0 ? 'First' : ''}`, /*i*/ ctx[111], /*roulleteresults*/ ctx[12][/*i*/ ctx[111]], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[111]]]) + "")) html_tag.p(raw_value);
|
|
13025
13025
|
},
|
|
13026
13026
|
d: function destroy(detaching) {
|
|
13027
13027
|
if (detaching) detach_dev(html_anchor);
|
|
@@ -13033,21 +13033,21 @@
|
|
|
13033
13033
|
block,
|
|
13034
13034
|
id: create_else_block_1.name,
|
|
13035
13035
|
type: "else",
|
|
13036
|
-
source: "(
|
|
13036
|
+
source: "(649:18) {:else}",
|
|
13037
13037
|
ctx
|
|
13038
13038
|
});
|
|
13039
13039
|
|
|
13040
13040
|
return block;
|
|
13041
13041
|
}
|
|
13042
13042
|
|
|
13043
|
-
// (
|
|
13043
|
+
// (644:18) {#if isdouble}
|
|
13044
13044
|
function create_if_block_6(ctx) {
|
|
13045
13045
|
let div;
|
|
13046
13046
|
let html_tag;
|
|
13047
|
-
let raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13047
|
+
let raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[111] === 0 ? 'First' : ''}`, `first${/*i*/ ctx[111]}${/*roulleteresults*/ ctx[12][/*i*/ ctx[111]][0]}`, /*roulleteresults*/ ctx[12][/*i*/ ctx[111]][0], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[111]][0]]) + "";
|
|
13048
13048
|
let t0;
|
|
13049
13049
|
let html_tag_1;
|
|
13050
|
-
let raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13050
|
+
let raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[111] === 0 ? 'First' : ''}`, `second${/*i*/ ctx[111]}${/*roulleteresults*/ ctx[12][/*i*/ ctx[111]][1]}`, /*roulleteresults*/ ctx[12][/*i*/ ctx[111]][1], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[111]][1]]) + "";
|
|
13051
13051
|
let t1;
|
|
13052
13052
|
|
|
13053
13053
|
const block = {
|
|
@@ -13061,7 +13061,7 @@
|
|
|
13061
13061
|
html_tag_1.a = t1;
|
|
13062
13062
|
attr_dev(div, "class", "Double");
|
|
13063
13063
|
attr_dev(div, "part", "Double");
|
|
13064
|
-
add_location(div, file$1,
|
|
13064
|
+
add_location(div, file$1, 644, 20, 25910);
|
|
13065
13065
|
},
|
|
13066
13066
|
m: function mount(target, anchor) {
|
|
13067
13067
|
insert_dev(target, div, anchor);
|
|
@@ -13071,8 +13071,8 @@
|
|
|
13071
13071
|
append_dev(div, t1);
|
|
13072
13072
|
},
|
|
13073
13073
|
p: function update(ctx, dirty) {
|
|
13074
|
-
if (dirty[0] & /*roulleteresults*/ 4096 | dirty[1] & /*colorsourcearray*/ 1 && raw0_value !== (raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13075
|
-
if (dirty[0] & /*roulleteresults*/ 4096 | dirty[1] & /*colorsourcearray*/ 1 && raw1_value !== (raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[
|
|
13074
|
+
if (dirty[0] & /*roulleteresults*/ 4096 | dirty[1] & /*colorsourcearray*/ 1 && raw0_value !== (raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[111] === 0 ? 'First' : ''}`, `first${/*i*/ ctx[111]}${/*roulleteresults*/ ctx[12][/*i*/ ctx[111]][0]}`, /*roulleteresults*/ ctx[12][/*i*/ ctx[111]][0], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[111]][0]]) + "")) html_tag.p(raw0_value);
|
|
13075
|
+
if (dirty[0] & /*roulleteresults*/ 4096 | dirty[1] & /*colorsourcearray*/ 1 && raw1_value !== (raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[111] === 0 ? 'First' : ''}`, `second${/*i*/ ctx[111]}${/*roulleteresults*/ ctx[12][/*i*/ ctx[111]][1]}`, /*roulleteresults*/ ctx[12][/*i*/ ctx[111]][1], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[111]][1]]) + "")) html_tag_1.p(raw1_value);
|
|
13076
13076
|
},
|
|
13077
13077
|
d: function destroy(detaching) {
|
|
13078
13078
|
if (detaching) detach_dev(div);
|
|
@@ -13083,17 +13083,17 @@
|
|
|
13083
13083
|
block,
|
|
13084
13084
|
id: create_if_block_6.name,
|
|
13085
13085
|
type: "if",
|
|
13086
|
-
source: "(
|
|
13086
|
+
source: "(644:18) {#if isdouble}",
|
|
13087
13087
|
ctx
|
|
13088
13088
|
});
|
|
13089
13089
|
|
|
13090
13090
|
return block;
|
|
13091
13091
|
}
|
|
13092
13092
|
|
|
13093
|
-
// (
|
|
13093
|
+
// (642:14) {#each new Array(numberofdisplayedresults) as garbage, i}
|
|
13094
13094
|
function create_each_block_1(ctx) {
|
|
13095
13095
|
let if_block_anchor;
|
|
13096
|
-
let if_block = /*roulleteresults*/ ctx[12] && /*roulleteresults*/ ctx[12][/*i*/ ctx[
|
|
13096
|
+
let if_block = /*roulleteresults*/ ctx[12] && /*roulleteresults*/ ctx[12][/*i*/ ctx[111]] && create_if_block_5$1(ctx);
|
|
13097
13097
|
|
|
13098
13098
|
const block = {
|
|
13099
13099
|
c: function create() {
|
|
@@ -13105,7 +13105,7 @@
|
|
|
13105
13105
|
insert_dev(target, if_block_anchor, anchor);
|
|
13106
13106
|
},
|
|
13107
13107
|
p: function update(ctx, dirty) {
|
|
13108
|
-
if (/*roulleteresults*/ ctx[12] && /*roulleteresults*/ ctx[12][/*i*/ ctx[
|
|
13108
|
+
if (/*roulleteresults*/ ctx[12] && /*roulleteresults*/ ctx[12][/*i*/ ctx[111]]) {
|
|
13109
13109
|
if (if_block) {
|
|
13110
13110
|
if_block.p(ctx, dirty);
|
|
13111
13111
|
} else {
|
|
@@ -13128,14 +13128,14 @@
|
|
|
13128
13128
|
block,
|
|
13129
13129
|
id: create_each_block_1.name,
|
|
13130
13130
|
type: "each",
|
|
13131
|
-
source: "(
|
|
13131
|
+
source: "(642:14) {#each new Array(numberofdisplayedresults) as garbage, i}",
|
|
13132
13132
|
ctx
|
|
13133
13133
|
});
|
|
13134
13134
|
|
|
13135
13135
|
return block;
|
|
13136
13136
|
}
|
|
13137
13137
|
|
|
13138
|
-
// (
|
|
13138
|
+
// (625:14) {:else}
|
|
13139
13139
|
function create_else_block$1(ctx) {
|
|
13140
13140
|
let each_1_anchor;
|
|
13141
13141
|
let each_value = /*seats*/ ctx[24];
|
|
@@ -13196,14 +13196,14 @@
|
|
|
13196
13196
|
block,
|
|
13197
13197
|
id: create_else_block$1.name,
|
|
13198
13198
|
type: "else",
|
|
13199
|
-
source: "(
|
|
13199
|
+
source: "(625:14) {:else}",
|
|
13200
13200
|
ctx
|
|
13201
13201
|
});
|
|
13202
13202
|
|
|
13203
13203
|
return block;
|
|
13204
13204
|
}
|
|
13205
13205
|
|
|
13206
|
-
// (
|
|
13206
|
+
// (621:14) {#if istablefull}
|
|
13207
13207
|
function create_if_block_3$1(ctx) {
|
|
13208
13208
|
let span;
|
|
13209
13209
|
let t_value = /*$_*/ ctx[35]('gameThumbnail.full') + "";
|
|
@@ -13215,7 +13215,7 @@
|
|
|
13215
13215
|
t = text(t_value);
|
|
13216
13216
|
attr_dev(span, "class", "FullTable");
|
|
13217
13217
|
attr_dev(span, "part", "FullTable");
|
|
13218
|
-
add_location(span, file$1,
|
|
13218
|
+
add_location(span, file$1, 621, 16, 24225);
|
|
13219
13219
|
},
|
|
13220
13220
|
m: function mount(target, anchor) {
|
|
13221
13221
|
insert_dev(target, span, anchor);
|
|
@@ -13233,14 +13233,14 @@
|
|
|
13233
13233
|
block,
|
|
13234
13234
|
id: create_if_block_3$1.name,
|
|
13235
13235
|
type: "if",
|
|
13236
|
-
source: "(
|
|
13236
|
+
source: "(621:14) {#if istablefull}",
|
|
13237
13237
|
ctx
|
|
13238
13238
|
});
|
|
13239
13239
|
|
|
13240
13240
|
return block;
|
|
13241
13241
|
}
|
|
13242
13242
|
|
|
13243
|
-
// (
|
|
13243
|
+
// (626:16) {#each seats as seatData}
|
|
13244
13244
|
function create_each_block$1(ctx) {
|
|
13245
13245
|
let span;
|
|
13246
13246
|
let svg;
|
|
@@ -13258,24 +13258,24 @@
|
|
|
13258
13258
|
path1 = svg_element("path");
|
|
13259
13259
|
t = space();
|
|
13260
13260
|
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");
|
|
13261
|
-
add_location(path0, file$1,
|
|
13261
|
+
add_location(path0, file$1, 628, 22, 24726);
|
|
13262
13262
|
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");
|
|
13263
|
-
add_location(path1, file$1,
|
|
13263
|
+
add_location(path1, file$1, 629, 22, 25102);
|
|
13264
13264
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
13265
13265
|
attr_dev(svg, "width", "13");
|
|
13266
13266
|
attr_dev(svg, "height", "14");
|
|
13267
13267
|
attr_dev(svg, "viewBox", "0 0 13 14");
|
|
13268
|
-
add_location(svg, file$1,
|
|
13268
|
+
add_location(svg, file$1, 627, 20, 24620);
|
|
13269
13269
|
|
|
13270
|
-
attr_dev(span, "class", span_class_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[
|
|
13270
|
+
attr_dev(span, "class", span_class_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[106].toString())
|
|
13271
13271
|
? 'ClosedSeat'
|
|
13272
13272
|
: 'OpenSeat');
|
|
13273
13273
|
|
|
13274
|
-
attr_dev(span, "part", span_part_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[
|
|
13274
|
+
attr_dev(span, "part", span_part_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[106].toString())
|
|
13275
13275
|
? 'ClosedSeat'
|
|
13276
13276
|
: 'OpenSeat');
|
|
13277
13277
|
|
|
13278
|
-
add_location(span, file$1,
|
|
13278
|
+
add_location(span, file$1, 626, 18, 24418);
|
|
13279
13279
|
},
|
|
13280
13280
|
m: function mount(target, anchor) {
|
|
13281
13281
|
insert_dev(target, span, anchor);
|
|
@@ -13285,13 +13285,13 @@
|
|
|
13285
13285
|
append_dev(span, t);
|
|
13286
13286
|
},
|
|
13287
13287
|
p: function update(ctx, dirty) {
|
|
13288
|
-
if (dirty[0] & /*currentoccupiedseats, seats*/ 285212672 && span_class_value !== (span_class_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[
|
|
13288
|
+
if (dirty[0] & /*currentoccupiedseats, seats*/ 285212672 && span_class_value !== (span_class_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[106].toString())
|
|
13289
13289
|
? 'ClosedSeat'
|
|
13290
13290
|
: 'OpenSeat')) {
|
|
13291
13291
|
attr_dev(span, "class", span_class_value);
|
|
13292
13292
|
}
|
|
13293
13293
|
|
|
13294
|
-
if (dirty[0] & /*currentoccupiedseats, seats*/ 285212672 && span_part_value !== (span_part_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[
|
|
13294
|
+
if (dirty[0] & /*currentoccupiedseats, seats*/ 285212672 && span_part_value !== (span_part_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[106].toString())
|
|
13295
13295
|
? 'ClosedSeat'
|
|
13296
13296
|
: 'OpenSeat')) {
|
|
13297
13297
|
attr_dev(span, "part", span_part_value);
|
|
@@ -13306,14 +13306,14 @@
|
|
|
13306
13306
|
block,
|
|
13307
13307
|
id: create_each_block$1.name,
|
|
13308
13308
|
type: "each",
|
|
13309
|
-
source: "(
|
|
13309
|
+
source: "(626:16) {#each seats as seatData}",
|
|
13310
13310
|
ctx
|
|
13311
13311
|
});
|
|
13312
13312
|
|
|
13313
13313
|
return block;
|
|
13314
13314
|
}
|
|
13315
13315
|
|
|
13316
|
-
// (
|
|
13316
|
+
// (662:2) {#if showgamename}
|
|
13317
13317
|
function create_if_block$1(ctx) {
|
|
13318
13318
|
let p;
|
|
13319
13319
|
let t;
|
|
@@ -13325,7 +13325,7 @@
|
|
|
13325
13325
|
attr_dev(p, "class", "GameNameBelow");
|
|
13326
13326
|
attr_dev(p, "part", "GameNameBelow");
|
|
13327
13327
|
attr_dev(p, "title", /*gamename*/ ctx[3]);
|
|
13328
|
-
add_location(p, file$1,
|
|
13328
|
+
add_location(p, file$1, 662, 4, 26795);
|
|
13329
13329
|
},
|
|
13330
13330
|
m: function mount(target, anchor) {
|
|
13331
13331
|
insert_dev(target, p, anchor);
|
|
@@ -13347,7 +13347,7 @@
|
|
|
13347
13347
|
block,
|
|
13348
13348
|
id: create_if_block$1.name,
|
|
13349
13349
|
type: "if",
|
|
13350
|
-
source: "(
|
|
13350
|
+
source: "(662:2) {#if showgamename}",
|
|
13351
13351
|
ctx
|
|
13352
13352
|
});
|
|
13353
13353
|
|
|
@@ -13445,26 +13445,26 @@
|
|
|
13445
13445
|
attr_dev(img, "part", img_part_value = "GameBg " + (/*hover*/ ctx[16] ? 'GameContainerHovered' : '') + " " + (/*loaded*/ ctx[17] ? 'Loaded' : ''));
|
|
13446
13446
|
attr_dev(img, "alt", "");
|
|
13447
13447
|
attr_dev(img, "loading", "lazy");
|
|
13448
|
-
add_location(img, file$1,
|
|
13448
|
+
add_location(img, file$1, 558, 4, 19152);
|
|
13449
13449
|
attr_dev(p, "class", "GameInfoName");
|
|
13450
13450
|
attr_dev(p, "part", "GameInfoName");
|
|
13451
13451
|
attr_dev(p, "title", /*gamename*/ ctx[3]);
|
|
13452
|
-
add_location(p, file$1,
|
|
13452
|
+
add_location(p, file$1, 577, 8, 21185);
|
|
13453
13453
|
attr_dev(button, "class", "GameInfoBtn");
|
|
13454
13454
|
attr_dev(button, "part", "GameInfoBtn");
|
|
13455
|
-
add_location(button, file$1,
|
|
13455
|
+
add_location(button, file$1, 578, 8, 21271);
|
|
13456
13456
|
attr_dev(div0, "class", div0_class_value = "GameInfo " + (/*hover*/ ctx[16] ? 'GameHovered' : ''));
|
|
13457
13457
|
attr_dev(div0, "part", div0_part_value = "GameInfo " + (/*hover*/ ctx[16] ? 'GameHovered' : ''));
|
|
13458
|
-
add_location(div0, file$1,
|
|
13458
|
+
add_location(div0, file$1, 560, 6, 19465);
|
|
13459
13459
|
attr_dev(span, "class", "GameInfoVendor");
|
|
13460
13460
|
attr_dev(span, "part", "GameInfoVendor");
|
|
13461
|
-
add_location(span, file$1,
|
|
13461
|
+
add_location(span, file$1, 580, 6, 21419);
|
|
13462
13462
|
attr_dev(div1, "class", "GameInfoWrapper");
|
|
13463
13463
|
attr_dev(div1, "part", "GameInfoWrapper");
|
|
13464
|
-
add_location(div1, file$1,
|
|
13464
|
+
add_location(div1, file$1, 559, 4, 19406);
|
|
13465
13465
|
attr_dev(div2, "class", "GameExtraInfo");
|
|
13466
13466
|
attr_dev(div2, "part", "GameExtraInfo");
|
|
13467
|
-
add_location(div2, file$1,
|
|
13467
|
+
add_location(div2, file$1, 597, 4, 23055);
|
|
13468
13468
|
|
|
13469
13469
|
attr_dev(div3, "class", div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[11] && !/*isopen*/ ctx[22] && /*openhours*/ ctx[23].value || /*livegamedata*/ ctx[11] && /*istablefull*/ ctx[32]
|
|
13470
13470
|
? 'GameInnerContainerUnavailable'
|
|
@@ -13474,10 +13474,10 @@
|
|
|
13474
13474
|
? 'GameInnerContainerUnavailable'
|
|
13475
13475
|
: ''));
|
|
13476
13476
|
|
|
13477
|
-
add_location(div3, file$1,
|
|
13477
|
+
add_location(div3, file$1, 557, 2, 18764);
|
|
13478
13478
|
attr_dev(div4, "class", div4_class_value = `GameContainer ${/*extraclassname*/ ctx[33]}`);
|
|
13479
13479
|
attr_dev(div4, "part", div4_part_value = `GameContainer ${/*extraclassname*/ ctx[33]}`);
|
|
13480
|
-
add_location(div4, file$1,
|
|
13480
|
+
add_location(div4, file$1, 556, 0, 18638);
|
|
13481
13481
|
},
|
|
13482
13482
|
l: function claim(nodes) {
|
|
13483
13483
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -13486,7 +13486,7 @@
|
|
|
13486
13486
|
insert_dev(target, div4, anchor);
|
|
13487
13487
|
append_dev(div4, div3);
|
|
13488
13488
|
append_dev(div3, img);
|
|
13489
|
-
/*img_binding*/ ctx[
|
|
13489
|
+
/*img_binding*/ ctx[66](img);
|
|
13490
13490
|
append_dev(div3, t0);
|
|
13491
13491
|
append_dev(div3, div1);
|
|
13492
13492
|
append_dev(div1, div0);
|
|
@@ -13511,11 +13511,11 @@
|
|
|
13511
13511
|
if (if_block4) if_block4.m(div2, null);
|
|
13512
13512
|
append_dev(div4, t11);
|
|
13513
13513
|
if (if_block5) if_block5.m(div4, null);
|
|
13514
|
-
/*div4_binding*/ ctx[
|
|
13514
|
+
/*div4_binding*/ ctx[71](div4);
|
|
13515
13515
|
|
|
13516
13516
|
if (!mounted) {
|
|
13517
13517
|
dispose = [
|
|
13518
|
-
listen_dev(button, "click", /*click_handler_1*/ ctx[
|
|
13518
|
+
listen_dev(button, "click", /*click_handler_1*/ ctx[68], false, false, false),
|
|
13519
13519
|
listen_dev(div3, "mouseenter", /*gameHover*/ ctx[41], false, false, false),
|
|
13520
13520
|
listen_dev(div3, "mouseleave", /*gameBlur*/ ctx[42], false, false, false),
|
|
13521
13521
|
listen_dev(div3, "touchstart", /*gameTouch*/ ctx[39], { passive: true }, false, false),
|
|
@@ -13659,7 +13659,7 @@
|
|
|
13659
13659
|
o: noop$1,
|
|
13660
13660
|
d: function destroy(detaching) {
|
|
13661
13661
|
if (detaching) detach_dev(div4);
|
|
13662
|
-
/*img_binding*/ ctx[
|
|
13662
|
+
/*img_binding*/ ctx[66](null);
|
|
13663
13663
|
if (if_block0) if_block0.d();
|
|
13664
13664
|
|
|
13665
13665
|
if (if_block1) {
|
|
@@ -13670,7 +13670,7 @@
|
|
|
13670
13670
|
if (if_block3) if_block3.d();
|
|
13671
13671
|
if (if_block4) if_block4.d();
|
|
13672
13672
|
if (if_block5) if_block5.d();
|
|
13673
|
-
/*div4_binding*/ ctx[
|
|
13673
|
+
/*div4_binding*/ ctx[71](null);
|
|
13674
13674
|
mounted = false;
|
|
13675
13675
|
run_all(dispose);
|
|
13676
13676
|
}
|
|
@@ -13705,6 +13705,7 @@
|
|
|
13705
13705
|
let { lang = '' } = $$props;
|
|
13706
13706
|
let { clientstyling = '' } = $$props;
|
|
13707
13707
|
let { clientstylingurl = '' } = $$props;
|
|
13708
|
+
let { translationUrl = '' } = $$props;
|
|
13708
13709
|
let { favorites = '' } = $$props;
|
|
13709
13710
|
let { gamethumbnail = '' } = $$props;
|
|
13710
13711
|
let { gamename = '' } = $$props;
|
|
@@ -13817,6 +13818,18 @@
|
|
|
13817
13818
|
'00': 'Green'
|
|
13818
13819
|
};
|
|
13819
13820
|
|
|
13821
|
+
const setTranslationUrl = () => {
|
|
13822
|
+
let url = translationUrl;
|
|
13823
|
+
|
|
13824
|
+
fetch(url).then(res => res.json()).then(res => {
|
|
13825
|
+
Object.keys(res).forEach(item => {
|
|
13826
|
+
addNewMessages(item, res[item]);
|
|
13827
|
+
});
|
|
13828
|
+
}).catch(err => {
|
|
13829
|
+
console.log(err);
|
|
13830
|
+
});
|
|
13831
|
+
};
|
|
13832
|
+
|
|
13820
13833
|
Object.keys(GameThumbnailTranslations).forEach(item => {
|
|
13821
13834
|
addNewMessages(item, GameThumbnailTranslations[item]);
|
|
13822
13835
|
});
|
|
@@ -14347,6 +14360,7 @@
|
|
|
14347
14360
|
'lang',
|
|
14348
14361
|
'clientstyling',
|
|
14349
14362
|
'clientstylingurl',
|
|
14363
|
+
'translationUrl',
|
|
14350
14364
|
'favorites',
|
|
14351
14365
|
'gamethumbnail',
|
|
14352
14366
|
'gamename',
|
|
@@ -14405,6 +14419,7 @@
|
|
|
14405
14419
|
if ('lang' in $$props) $$invalidate(49, lang = $$props.lang);
|
|
14406
14420
|
if ('clientstyling' in $$props) $$invalidate(50, clientstyling = $$props.clientstyling);
|
|
14407
14421
|
if ('clientstylingurl' in $$props) $$invalidate(51, clientstylingurl = $$props.clientstylingurl);
|
|
14422
|
+
if ('translationUrl' in $$props) $$invalidate(52, translationUrl = $$props.translationUrl);
|
|
14408
14423
|
if ('favorites' in $$props) $$invalidate(1, favorites = $$props.favorites);
|
|
14409
14424
|
if ('gamethumbnail' in $$props) $$invalidate(2, gamethumbnail = $$props.gamethumbnail);
|
|
14410
14425
|
if ('gamename' in $$props) $$invalidate(3, gamename = $$props.gamename);
|
|
@@ -14412,20 +14427,20 @@
|
|
|
14412
14427
|
if ('gameid' in $$props) $$invalidate(5, gameid = $$props.gameid);
|
|
14413
14428
|
if ('gameisnew' in $$props) $$invalidate(6, gameisnew = $$props.gameisnew);
|
|
14414
14429
|
if ('gamepopularity' in $$props) $$invalidate(7, gamepopularity = $$props.gamepopularity);
|
|
14415
|
-
if ('gamefunmode' in $$props) $$invalidate(
|
|
14416
|
-
if ('searchitem' in $$props) $$invalidate(
|
|
14430
|
+
if ('gamefunmode' in $$props) $$invalidate(53, gamefunmode = $$props.gamefunmode);
|
|
14431
|
+
if ('searchitem' in $$props) $$invalidate(54, searchitem = $$props.searchitem);
|
|
14417
14432
|
if ('gamefavorite' in $$props) $$invalidate(0, gamefavorite = $$props.gamefavorite);
|
|
14418
14433
|
if ('gamecellsize' in $$props) $$invalidate(8, gamecellsize = $$props.gamecellsize);
|
|
14419
|
-
if ('showfavoredcategory' in $$props) $$invalidate(
|
|
14434
|
+
if ('showfavoredcategory' in $$props) $$invalidate(55, showfavoredcategory = $$props.showfavoredcategory);
|
|
14420
14435
|
if ('showgamename' in $$props) $$invalidate(9, showgamename = $$props.showgamename);
|
|
14421
|
-
if ('currency' in $$props) $$invalidate(
|
|
14422
|
-
if ('gamepagemodalurl' in $$props) $$invalidate(
|
|
14423
|
-
if ('endpoint' in $$props) $$invalidate(
|
|
14424
|
-
if ('livelobbyendpoint' in $$props) $$invalidate(
|
|
14425
|
-
if ('connectlive' in $$props) $$invalidate(
|
|
14426
|
-
if ('visibilityconnect' in $$props) $$invalidate(
|
|
14427
|
-
if ('integratedgameframedesktop' in $$props) $$invalidate(
|
|
14428
|
-
if ('integratedgameframemobile' in $$props) $$invalidate(
|
|
14436
|
+
if ('currency' in $$props) $$invalidate(56, currency = $$props.currency);
|
|
14437
|
+
if ('gamepagemodalurl' in $$props) $$invalidate(57, gamepagemodalurl = $$props.gamepagemodalurl);
|
|
14438
|
+
if ('endpoint' in $$props) $$invalidate(58, endpoint = $$props.endpoint);
|
|
14439
|
+
if ('livelobbyendpoint' in $$props) $$invalidate(59, livelobbyendpoint = $$props.livelobbyendpoint);
|
|
14440
|
+
if ('connectlive' in $$props) $$invalidate(60, connectlive = $$props.connectlive);
|
|
14441
|
+
if ('visibilityconnect' in $$props) $$invalidate(61, visibilityconnect = $$props.visibilityconnect);
|
|
14442
|
+
if ('integratedgameframedesktop' in $$props) $$invalidate(62, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
14443
|
+
if ('integratedgameframemobile' in $$props) $$invalidate(63, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
14429
14444
|
};
|
|
14430
14445
|
|
|
14431
14446
|
$$self.$capture_state = () => ({
|
|
@@ -14443,6 +14458,7 @@
|
|
|
14443
14458
|
lang,
|
|
14444
14459
|
clientstyling,
|
|
14445
14460
|
clientstylingurl,
|
|
14461
|
+
translationUrl,
|
|
14446
14462
|
favorites,
|
|
14447
14463
|
gamethumbnail,
|
|
14448
14464
|
gamename,
|
|
@@ -14510,6 +14526,7 @@
|
|
|
14510
14526
|
numberofdisplayedresults,
|
|
14511
14527
|
MONEY_WHEEL_COLOR_MAP,
|
|
14512
14528
|
ROULETTE_COLOR_MAP,
|
|
14529
|
+
setTranslationUrl,
|
|
14513
14530
|
enter,
|
|
14514
14531
|
leave,
|
|
14515
14532
|
messageHandler,
|
|
@@ -14550,6 +14567,7 @@
|
|
|
14550
14567
|
if ('lang' in $$props) $$invalidate(49, lang = $$props.lang);
|
|
14551
14568
|
if ('clientstyling' in $$props) $$invalidate(50, clientstyling = $$props.clientstyling);
|
|
14552
14569
|
if ('clientstylingurl' in $$props) $$invalidate(51, clientstylingurl = $$props.clientstylingurl);
|
|
14570
|
+
if ('translationUrl' in $$props) $$invalidate(52, translationUrl = $$props.translationUrl);
|
|
14553
14571
|
if ('favorites' in $$props) $$invalidate(1, favorites = $$props.favorites);
|
|
14554
14572
|
if ('gamethumbnail' in $$props) $$invalidate(2, gamethumbnail = $$props.gamethumbnail);
|
|
14555
14573
|
if ('gamename' in $$props) $$invalidate(3, gamename = $$props.gamename);
|
|
@@ -14557,20 +14575,20 @@
|
|
|
14557
14575
|
if ('gameid' in $$props) $$invalidate(5, gameid = $$props.gameid);
|
|
14558
14576
|
if ('gameisnew' in $$props) $$invalidate(6, gameisnew = $$props.gameisnew);
|
|
14559
14577
|
if ('gamepopularity' in $$props) $$invalidate(7, gamepopularity = $$props.gamepopularity);
|
|
14560
|
-
if ('gamefunmode' in $$props) $$invalidate(
|
|
14561
|
-
if ('searchitem' in $$props) $$invalidate(
|
|
14578
|
+
if ('gamefunmode' in $$props) $$invalidate(53, gamefunmode = $$props.gamefunmode);
|
|
14579
|
+
if ('searchitem' in $$props) $$invalidate(54, searchitem = $$props.searchitem);
|
|
14562
14580
|
if ('gamefavorite' in $$props) $$invalidate(0, gamefavorite = $$props.gamefavorite);
|
|
14563
14581
|
if ('gamecellsize' in $$props) $$invalidate(8, gamecellsize = $$props.gamecellsize);
|
|
14564
|
-
if ('showfavoredcategory' in $$props) $$invalidate(
|
|
14582
|
+
if ('showfavoredcategory' in $$props) $$invalidate(55, showfavoredcategory = $$props.showfavoredcategory);
|
|
14565
14583
|
if ('showgamename' in $$props) $$invalidate(9, showgamename = $$props.showgamename);
|
|
14566
|
-
if ('currency' in $$props) $$invalidate(
|
|
14567
|
-
if ('gamepagemodalurl' in $$props) $$invalidate(
|
|
14568
|
-
if ('endpoint' in $$props) $$invalidate(
|
|
14569
|
-
if ('livelobbyendpoint' in $$props) $$invalidate(
|
|
14570
|
-
if ('connectlive' in $$props) $$invalidate(
|
|
14571
|
-
if ('visibilityconnect' in $$props) $$invalidate(
|
|
14572
|
-
if ('integratedgameframedesktop' in $$props) $$invalidate(
|
|
14573
|
-
if ('integratedgameframemobile' in $$props) $$invalidate(
|
|
14584
|
+
if ('currency' in $$props) $$invalidate(56, currency = $$props.currency);
|
|
14585
|
+
if ('gamepagemodalurl' in $$props) $$invalidate(57, gamepagemodalurl = $$props.gamepagemodalurl);
|
|
14586
|
+
if ('endpoint' in $$props) $$invalidate(58, endpoint = $$props.endpoint);
|
|
14587
|
+
if ('livelobbyendpoint' in $$props) $$invalidate(59, livelobbyendpoint = $$props.livelobbyendpoint);
|
|
14588
|
+
if ('connectlive' in $$props) $$invalidate(60, connectlive = $$props.connectlive);
|
|
14589
|
+
if ('visibilityconnect' in $$props) $$invalidate(61, visibilityconnect = $$props.visibilityconnect);
|
|
14590
|
+
if ('integratedgameframedesktop' in $$props) $$invalidate(62, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
14591
|
+
if ('integratedgameframemobile' in $$props) $$invalidate(63, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
14574
14592
|
if ('isLoggedIn' in $$props) $$invalidate(14, isLoggedIn = $$props.isLoggedIn);
|
|
14575
14593
|
if ('sessionID' in $$props) sessionID = $$props.sessionID;
|
|
14576
14594
|
if ('playerID' in $$props) playerID = $$props.playerID;
|
|
@@ -14614,17 +14632,17 @@
|
|
|
14614
14632
|
}
|
|
14615
14633
|
|
|
14616
14634
|
$$self.$$.update = () => {
|
|
14617
|
-
if ($$self.$$.dirty[1] & /*connectlive*/
|
|
14635
|
+
if ($$self.$$.dirty[1] & /*connectlive*/ 536870912) {
|
|
14618
14636
|
connectlive && toggleConnect();
|
|
14619
14637
|
}
|
|
14620
14638
|
|
|
14621
|
-
if ($$self.$$.dirty[1] & /*visibilityconnect*/
|
|
14639
|
+
if ($$self.$$.dirty[1] & /*visibilityconnect*/ 1073741824) {
|
|
14622
14640
|
visibilityconnect && toggleVisibilityConnect();
|
|
14623
14641
|
}
|
|
14624
14642
|
|
|
14625
14643
|
if ($$self.$$.dirty[1] & /*lang*/ 262144) ;
|
|
14626
14644
|
|
|
14627
|
-
if ($$self.$$.dirty[1] & /*session, userid, endpoint*/
|
|
14645
|
+
if ($$self.$$.dirty[1] & /*session, userid, endpoint*/ 134414336) {
|
|
14628
14646
|
session && userid && endpoint && setSession();
|
|
14629
14647
|
}
|
|
14630
14648
|
|
|
@@ -14644,7 +14662,15 @@
|
|
|
14644
14662
|
favorites && setFavorites();
|
|
14645
14663
|
}
|
|
14646
14664
|
|
|
14647
|
-
if ($$self.$$.dirty[1] & /*
|
|
14665
|
+
if ($$self.$$.dirty[1] & /*translationUrl*/ 2097152) {
|
|
14666
|
+
translationUrl && setTranslationUrl();
|
|
14667
|
+
}
|
|
14668
|
+
|
|
14669
|
+
if ($$self.$$.dirty[0] & /*gamecellsize*/ 256 | $$self.$$.dirty[1] & /*clientstylingurl*/ 1048576) {
|
|
14670
|
+
gamecellsize && clientstylingurl && setClientStylingURL();
|
|
14671
|
+
}
|
|
14672
|
+
|
|
14673
|
+
if ($$self.$$.dirty[1] & /*endpoint, livelobbyendpoint*/ 402653184) {
|
|
14648
14674
|
endpoint && livelobbyendpoint && setLiveLobbyData();
|
|
14649
14675
|
}
|
|
14650
14676
|
|
|
@@ -14710,6 +14736,7 @@
|
|
|
14710
14736
|
lang,
|
|
14711
14737
|
clientstyling,
|
|
14712
14738
|
clientstylingurl,
|
|
14739
|
+
translationUrl,
|
|
14713
14740
|
gamefunmode,
|
|
14714
14741
|
searchitem,
|
|
14715
14742
|
showfavoredcategory,
|
|
@@ -14753,6 +14780,7 @@
|
|
|
14753
14780
|
lang: 49,
|
|
14754
14781
|
clientstyling: 50,
|
|
14755
14782
|
clientstylingurl: 51,
|
|
14783
|
+
translationUrl: 52,
|
|
14756
14784
|
favorites: 1,
|
|
14757
14785
|
gamethumbnail: 2,
|
|
14758
14786
|
gamename: 3,
|
|
@@ -14760,22 +14788,22 @@
|
|
|
14760
14788
|
gameid: 5,
|
|
14761
14789
|
gameisnew: 6,
|
|
14762
14790
|
gamepopularity: 7,
|
|
14763
|
-
gamefunmode:
|
|
14764
|
-
searchitem:
|
|
14791
|
+
gamefunmode: 53,
|
|
14792
|
+
searchitem: 54,
|
|
14765
14793
|
gamefavorite: 0,
|
|
14766
14794
|
gamecellsize: 8,
|
|
14767
|
-
showfavoredcategory:
|
|
14795
|
+
showfavoredcategory: 55,
|
|
14768
14796
|
showgamename: 9,
|
|
14769
|
-
currency:
|
|
14770
|
-
gamepagemodalurl:
|
|
14771
|
-
endpoint:
|
|
14772
|
-
livelobbyendpoint:
|
|
14773
|
-
connectlive:
|
|
14774
|
-
visibilityconnect:
|
|
14775
|
-
integratedgameframedesktop:
|
|
14776
|
-
integratedgameframemobile:
|
|
14777
|
-
MONEY_WHEEL_COLOR_MAP:
|
|
14778
|
-
ROULETTE_COLOR_MAP:
|
|
14797
|
+
currency: 56,
|
|
14798
|
+
gamepagemodalurl: 57,
|
|
14799
|
+
endpoint: 58,
|
|
14800
|
+
livelobbyendpoint: 59,
|
|
14801
|
+
connectlive: 60,
|
|
14802
|
+
visibilityconnect: 61,
|
|
14803
|
+
integratedgameframedesktop: 62,
|
|
14804
|
+
integratedgameframemobile: 63,
|
|
14805
|
+
MONEY_WHEEL_COLOR_MAP: 64,
|
|
14806
|
+
ROULETTE_COLOR_MAP: 65
|
|
14779
14807
|
},
|
|
14780
14808
|
null,
|
|
14781
14809
|
[-1, -1, -1, -1]
|
|
@@ -14800,6 +14828,7 @@
|
|
|
14800
14828
|
"lang",
|
|
14801
14829
|
"clientstyling",
|
|
14802
14830
|
"clientstylingurl",
|
|
14831
|
+
"translationUrl",
|
|
14803
14832
|
"favorites",
|
|
14804
14833
|
"gamethumbnail",
|
|
14805
14834
|
"gamename",
|
|
@@ -14871,6 +14900,15 @@
|
|
|
14871
14900
|
flush();
|
|
14872
14901
|
}
|
|
14873
14902
|
|
|
14903
|
+
get translationUrl() {
|
|
14904
|
+
return this.$$.ctx[52];
|
|
14905
|
+
}
|
|
14906
|
+
|
|
14907
|
+
set translationUrl(translationUrl) {
|
|
14908
|
+
this.$$set({ translationUrl });
|
|
14909
|
+
flush();
|
|
14910
|
+
}
|
|
14911
|
+
|
|
14874
14912
|
get favorites() {
|
|
14875
14913
|
return this.$$.ctx[1];
|
|
14876
14914
|
}
|
|
@@ -14935,7 +14973,7 @@
|
|
|
14935
14973
|
}
|
|
14936
14974
|
|
|
14937
14975
|
get gamefunmode() {
|
|
14938
|
-
return this.$$.ctx[
|
|
14976
|
+
return this.$$.ctx[53];
|
|
14939
14977
|
}
|
|
14940
14978
|
|
|
14941
14979
|
set gamefunmode(gamefunmode) {
|
|
@@ -14944,7 +14982,7 @@
|
|
|
14944
14982
|
}
|
|
14945
14983
|
|
|
14946
14984
|
get searchitem() {
|
|
14947
|
-
return this.$$.ctx[
|
|
14985
|
+
return this.$$.ctx[54];
|
|
14948
14986
|
}
|
|
14949
14987
|
|
|
14950
14988
|
set searchitem(searchitem) {
|
|
@@ -14971,7 +15009,7 @@
|
|
|
14971
15009
|
}
|
|
14972
15010
|
|
|
14973
15011
|
get showfavoredcategory() {
|
|
14974
|
-
return this.$$.ctx[
|
|
15012
|
+
return this.$$.ctx[55];
|
|
14975
15013
|
}
|
|
14976
15014
|
|
|
14977
15015
|
set showfavoredcategory(showfavoredcategory) {
|
|
@@ -14989,7 +15027,7 @@
|
|
|
14989
15027
|
}
|
|
14990
15028
|
|
|
14991
15029
|
get currency() {
|
|
14992
|
-
return this.$$.ctx[
|
|
15030
|
+
return this.$$.ctx[56];
|
|
14993
15031
|
}
|
|
14994
15032
|
|
|
14995
15033
|
set currency(currency) {
|
|
@@ -14998,7 +15036,7 @@
|
|
|
14998
15036
|
}
|
|
14999
15037
|
|
|
15000
15038
|
get gamepagemodalurl() {
|
|
15001
|
-
return this.$$.ctx[
|
|
15039
|
+
return this.$$.ctx[57];
|
|
15002
15040
|
}
|
|
15003
15041
|
|
|
15004
15042
|
set gamepagemodalurl(gamepagemodalurl) {
|
|
@@ -15007,7 +15045,7 @@
|
|
|
15007
15045
|
}
|
|
15008
15046
|
|
|
15009
15047
|
get endpoint() {
|
|
15010
|
-
return this.$$.ctx[
|
|
15048
|
+
return this.$$.ctx[58];
|
|
15011
15049
|
}
|
|
15012
15050
|
|
|
15013
15051
|
set endpoint(endpoint) {
|
|
@@ -15016,7 +15054,7 @@
|
|
|
15016
15054
|
}
|
|
15017
15055
|
|
|
15018
15056
|
get livelobbyendpoint() {
|
|
15019
|
-
return this.$$.ctx[
|
|
15057
|
+
return this.$$.ctx[59];
|
|
15020
15058
|
}
|
|
15021
15059
|
|
|
15022
15060
|
set livelobbyendpoint(livelobbyendpoint) {
|
|
@@ -15025,7 +15063,7 @@
|
|
|
15025
15063
|
}
|
|
15026
15064
|
|
|
15027
15065
|
get connectlive() {
|
|
15028
|
-
return this.$$.ctx[
|
|
15066
|
+
return this.$$.ctx[60];
|
|
15029
15067
|
}
|
|
15030
15068
|
|
|
15031
15069
|
set connectlive(connectlive) {
|
|
@@ -15034,7 +15072,7 @@
|
|
|
15034
15072
|
}
|
|
15035
15073
|
|
|
15036
15074
|
get visibilityconnect() {
|
|
15037
|
-
return this.$$.ctx[
|
|
15075
|
+
return this.$$.ctx[61];
|
|
15038
15076
|
}
|
|
15039
15077
|
|
|
15040
15078
|
set visibilityconnect(visibilityconnect) {
|
|
@@ -15043,7 +15081,7 @@
|
|
|
15043
15081
|
}
|
|
15044
15082
|
|
|
15045
15083
|
get integratedgameframedesktop() {
|
|
15046
|
-
return this.$$.ctx[
|
|
15084
|
+
return this.$$.ctx[62];
|
|
15047
15085
|
}
|
|
15048
15086
|
|
|
15049
15087
|
set integratedgameframedesktop(integratedgameframedesktop) {
|
|
@@ -15052,7 +15090,7 @@
|
|
|
15052
15090
|
}
|
|
15053
15091
|
|
|
15054
15092
|
get integratedgameframemobile() {
|
|
15055
|
-
return this.$$.ctx[
|
|
15093
|
+
return this.$$.ctx[63];
|
|
15056
15094
|
}
|
|
15057
15095
|
|
|
15058
15096
|
set integratedgameframemobile(integratedgameframemobile) {
|
|
@@ -15061,7 +15099,7 @@
|
|
|
15061
15099
|
}
|
|
15062
15100
|
|
|
15063
15101
|
get MONEY_WHEEL_COLOR_MAP() {
|
|
15064
|
-
return this.$$.ctx[
|
|
15102
|
+
return this.$$.ctx[64];
|
|
15065
15103
|
}
|
|
15066
15104
|
|
|
15067
15105
|
set MONEY_WHEEL_COLOR_MAP(value) {
|
|
@@ -15069,7 +15107,7 @@
|
|
|
15069
15107
|
}
|
|
15070
15108
|
|
|
15071
15109
|
get ROULETTE_COLOR_MAP() {
|
|
15072
|
-
return this.$$.ctx[
|
|
15110
|
+
return this.$$.ctx[65];
|
|
15073
15111
|
}
|
|
15074
15112
|
|
|
15075
15113
|
set ROULETTE_COLOR_MAP(value) {
|
|
@@ -15086,11 +15124,11 @@
|
|
|
15086
15124
|
|
|
15087
15125
|
function get_each_context(ctx, list, i) {
|
|
15088
15126
|
const child_ctx = ctx.slice();
|
|
15089
|
-
child_ctx[
|
|
15127
|
+
child_ctx[37] = list[i];
|
|
15090
15128
|
return child_ctx;
|
|
15091
15129
|
}
|
|
15092
15130
|
|
|
15093
|
-
// (
|
|
15131
|
+
// (224:4) {:else}
|
|
15094
15132
|
function create_else_block(ctx) {
|
|
15095
15133
|
let t0;
|
|
15096
15134
|
let div;
|
|
@@ -15116,7 +15154,7 @@
|
|
|
15116
15154
|
t1 = space();
|
|
15117
15155
|
if (if_block2) if_block2.c();
|
|
15118
15156
|
attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[11] == true ? '' : 'NotVisible'));
|
|
15119
|
-
add_location(div, file,
|
|
15157
|
+
add_location(div, file, 234, 6, 8220);
|
|
15120
15158
|
},
|
|
15121
15159
|
m: function mount(target, anchor) {
|
|
15122
15160
|
if (if_block0) if_block0.m(target, anchor);
|
|
@@ -15185,14 +15223,14 @@
|
|
|
15185
15223
|
block,
|
|
15186
15224
|
id: create_else_block.name,
|
|
15187
15225
|
type: "else",
|
|
15188
|
-
source: "(
|
|
15226
|
+
source: "(224:4) {:else}",
|
|
15189
15227
|
ctx
|
|
15190
15228
|
});
|
|
15191
15229
|
|
|
15192
15230
|
return block;
|
|
15193
15231
|
}
|
|
15194
15232
|
|
|
15195
|
-
// (
|
|
15233
|
+
// (222:4) {#if isLoading}
|
|
15196
15234
|
function create_if_block(ctx) {
|
|
15197
15235
|
let p;
|
|
15198
15236
|
let t_value = /*$_*/ ctx[13]('Translations.loading') + "";
|
|
@@ -15202,7 +15240,7 @@
|
|
|
15202
15240
|
c: function create() {
|
|
15203
15241
|
p = element("p");
|
|
15204
15242
|
t = text(t_value);
|
|
15205
|
-
add_location(p, file,
|
|
15243
|
+
add_location(p, file, 222, 6, 7712);
|
|
15206
15244
|
},
|
|
15207
15245
|
m: function mount(target, anchor) {
|
|
15208
15246
|
insert_dev(target, p, anchor);
|
|
@@ -15220,14 +15258,14 @@
|
|
|
15220
15258
|
block,
|
|
15221
15259
|
id: create_if_block.name,
|
|
15222
15260
|
type: "if",
|
|
15223
|
-
source: "(
|
|
15261
|
+
source: "(222:4) {#if isLoading}",
|
|
15224
15262
|
ctx
|
|
15225
15263
|
});
|
|
15226
15264
|
|
|
15227
15265
|
return block;
|
|
15228
15266
|
}
|
|
15229
15267
|
|
|
15230
|
-
// (
|
|
15268
|
+
// (232:40)
|
|
15231
15269
|
function create_if_block_5(ctx) {
|
|
15232
15270
|
let p;
|
|
15233
15271
|
let t_value = /*$_*/ ctx[13]('Translations.searchResult') + "";
|
|
@@ -15238,7 +15276,7 @@
|
|
|
15238
15276
|
p = element("p");
|
|
15239
15277
|
t = text(t_value);
|
|
15240
15278
|
attr_dev(p, "class", "SearchMessage");
|
|
15241
|
-
add_location(p, file,
|
|
15279
|
+
add_location(p, file, 232, 8, 8138);
|
|
15242
15280
|
},
|
|
15243
15281
|
m: function mount(target, anchor) {
|
|
15244
15282
|
insert_dev(target, p, anchor);
|
|
@@ -15256,14 +15294,14 @@
|
|
|
15256
15294
|
block,
|
|
15257
15295
|
id: create_if_block_5.name,
|
|
15258
15296
|
type: "if",
|
|
15259
|
-
source: "(
|
|
15297
|
+
source: "(232:40) ",
|
|
15260
15298
|
ctx
|
|
15261
15299
|
});
|
|
15262
15300
|
|
|
15263
15301
|
return block;
|
|
15264
15302
|
}
|
|
15265
15303
|
|
|
15266
|
-
// (
|
|
15304
|
+
// (225:6) {#if searchActive == true && searchValue.length < 2}
|
|
15267
15305
|
function create_if_block_3(ctx) {
|
|
15268
15306
|
let p;
|
|
15269
15307
|
let t0_value = /*$_*/ ctx[13]('Translations.recentSearch') + "";
|
|
@@ -15280,7 +15318,7 @@
|
|
|
15280
15318
|
if (if_block) if_block.c();
|
|
15281
15319
|
if_block_anchor = empty();
|
|
15282
15320
|
attr_dev(p, "class", "SearchMessage");
|
|
15283
|
-
add_location(p, file,
|
|
15321
|
+
add_location(p, file, 225, 8, 7827);
|
|
15284
15322
|
},
|
|
15285
15323
|
m: function mount(target, anchor) {
|
|
15286
15324
|
insert_dev(target, p, anchor);
|
|
@@ -15317,14 +15355,14 @@
|
|
|
15317
15355
|
block,
|
|
15318
15356
|
id: create_if_block_3.name,
|
|
15319
15357
|
type: "if",
|
|
15320
|
-
source: "(
|
|
15358
|
+
source: "(225:6) {#if searchActive == true && searchValue.length < 2}",
|
|
15321
15359
|
ctx
|
|
15322
15360
|
});
|
|
15323
15361
|
|
|
15324
15362
|
return block;
|
|
15325
15363
|
}
|
|
15326
15364
|
|
|
15327
|
-
// (
|
|
15365
|
+
// (227:10) {#if searchArray.length == 0}
|
|
15328
15366
|
function create_if_block_4(ctx) {
|
|
15329
15367
|
let div;
|
|
15330
15368
|
let p;
|
|
@@ -15337,9 +15375,9 @@
|
|
|
15337
15375
|
p = element("p");
|
|
15338
15376
|
t = text(t_value);
|
|
15339
15377
|
attr_dev(p, "class", "SearchMessage");
|
|
15340
|
-
add_location(p, file,
|
|
15378
|
+
add_location(p, file, 228, 12, 7988);
|
|
15341
15379
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15342
|
-
add_location(div, file,
|
|
15380
|
+
add_location(div, file, 227, 10, 7940);
|
|
15343
15381
|
},
|
|
15344
15382
|
m: function mount(target, anchor) {
|
|
15345
15383
|
insert_dev(target, div, anchor);
|
|
@@ -15358,14 +15396,14 @@
|
|
|
15358
15396
|
block,
|
|
15359
15397
|
id: create_if_block_4.name,
|
|
15360
15398
|
type: "if",
|
|
15361
|
-
source: "(
|
|
15399
|
+
source: "(227:10) {#if searchArray.length == 0}",
|
|
15362
15400
|
ctx
|
|
15363
15401
|
});
|
|
15364
15402
|
|
|
15365
15403
|
return block;
|
|
15366
15404
|
}
|
|
15367
15405
|
|
|
15368
|
-
// (
|
|
15406
|
+
// (236:8) {#if searchCancelled === false}
|
|
15369
15407
|
function create_if_block_2(ctx) {
|
|
15370
15408
|
let each_1_anchor;
|
|
15371
15409
|
let each_value = /*searchArray*/ ctx[9];
|
|
@@ -15426,14 +15464,14 @@
|
|
|
15426
15464
|
block,
|
|
15427
15465
|
id: create_if_block_2.name,
|
|
15428
15466
|
type: "if",
|
|
15429
|
-
source: "(
|
|
15467
|
+
source: "(236:8) {#if searchCancelled === false}",
|
|
15430
15468
|
ctx
|
|
15431
15469
|
});
|
|
15432
15470
|
|
|
15433
15471
|
return block;
|
|
15434
15472
|
}
|
|
15435
15473
|
|
|
15436
|
-
// (
|
|
15474
|
+
// (237:10) {#each searchArray as game}
|
|
15437
15475
|
function create_each_block(ctx) {
|
|
15438
15476
|
let casino_game_thumbnail;
|
|
15439
15477
|
let casino_game_thumbnail_gamethumbnail_value;
|
|
@@ -15451,18 +15489,18 @@
|
|
|
15451
15489
|
c: function create() {
|
|
15452
15490
|
casino_game_thumbnail = element("casino-game-thumbnail");
|
|
15453
15491
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
15454
|
-
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[
|
|
15455
|
-
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[
|
|
15456
|
-
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[
|
|
15457
|
-
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[
|
|
15458
|
-
set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[
|
|
15459
|
-
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[
|
|
15460
|
-
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[
|
|
15461
|
-
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[
|
|
15462
|
-
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[
|
|
15463
|
-
|
|
15464
|
-
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[
|
|
15465
|
-
? /*game*/ ctx[
|
|
15492
|
+
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[37].thumbnail);
|
|
15493
|
+
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[37].name);
|
|
15494
|
+
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[37].vendor.name);
|
|
15495
|
+
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[37].isNew);
|
|
15496
|
+
set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[37].popularity);
|
|
15497
|
+
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[37].cellSize);
|
|
15498
|
+
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[37].id);
|
|
15499
|
+
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[37].hasFunMode);
|
|
15500
|
+
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[37].isFavorite);
|
|
15501
|
+
|
|
15502
|
+
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[37].details
|
|
15503
|
+
? /*game*/ ctx[37].launchUrl
|
|
15466
15504
|
: '');
|
|
15467
15505
|
|
|
15468
15506
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
@@ -15470,7 +15508,7 @@
|
|
|
15470
15508
|
set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[5]);
|
|
15471
15509
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
|
|
15472
15510
|
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
|
|
15473
|
-
add_location(casino_game_thumbnail, file,
|
|
15511
|
+
add_location(casino_game_thumbnail, file, 237, 12, 8389);
|
|
15474
15512
|
},
|
|
15475
15513
|
m: function mount(target, anchor) {
|
|
15476
15514
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -15480,44 +15518,44 @@
|
|
|
15480
15518
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
15481
15519
|
}
|
|
15482
15520
|
|
|
15483
|
-
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[
|
|
15521
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[37].thumbnail)) {
|
|
15484
15522
|
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
|
|
15485
15523
|
}
|
|
15486
15524
|
|
|
15487
|
-
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[
|
|
15525
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[37].name)) {
|
|
15488
15526
|
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
|
|
15489
15527
|
}
|
|
15490
15528
|
|
|
15491
|
-
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[
|
|
15529
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[37].vendor.name)) {
|
|
15492
15530
|
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
|
|
15493
15531
|
}
|
|
15494
15532
|
|
|
15495
|
-
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[
|
|
15533
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[37].isNew)) {
|
|
15496
15534
|
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
|
|
15497
15535
|
}
|
|
15498
15536
|
|
|
15499
|
-
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[
|
|
15537
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[37].popularity)) {
|
|
15500
15538
|
set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value);
|
|
15501
15539
|
}
|
|
15502
15540
|
|
|
15503
|
-
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[
|
|
15541
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[37].cellSize)) {
|
|
15504
15542
|
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
|
|
15505
15543
|
}
|
|
15506
15544
|
|
|
15507
|
-
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[
|
|
15545
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[37].id)) {
|
|
15508
15546
|
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
|
|
15509
15547
|
}
|
|
15510
15548
|
|
|
15511
|
-
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[
|
|
15549
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[37].hasFunMode)) {
|
|
15512
15550
|
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
|
|
15513
15551
|
}
|
|
15514
15552
|
|
|
15515
|
-
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[
|
|
15553
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[37].isFavorite)) {
|
|
15516
15554
|
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
|
|
15517
15555
|
}
|
|
15518
15556
|
|
|
15519
|
-
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[
|
|
15520
|
-
? /*game*/ ctx[
|
|
15557
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[37].details
|
|
15558
|
+
? /*game*/ ctx[37].launchUrl
|
|
15521
15559
|
: '')) {
|
|
15522
15560
|
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value);
|
|
15523
15561
|
}
|
|
@@ -15551,14 +15589,14 @@
|
|
|
15551
15589
|
block,
|
|
15552
15590
|
id: create_each_block.name,
|
|
15553
15591
|
type: "each",
|
|
15554
|
-
source: "(
|
|
15592
|
+
source: "(237:10) {#each searchArray as game}",
|
|
15555
15593
|
ctx
|
|
15556
15594
|
});
|
|
15557
15595
|
|
|
15558
15596
|
return block;
|
|
15559
15597
|
}
|
|
15560
15598
|
|
|
15561
|
-
// (
|
|
15599
|
+
// (258:8) {#if searchValue.length >= 2 && searchArray.length == 0}
|
|
15562
15600
|
function create_if_block_1(ctx) {
|
|
15563
15601
|
let div;
|
|
15564
15602
|
let p0;
|
|
@@ -15578,10 +15616,10 @@
|
|
|
15578
15616
|
p1 = element("p");
|
|
15579
15617
|
t2 = text(t2_value);
|
|
15580
15618
|
attr_dev(p0, "class", "SearchMessage");
|
|
15581
|
-
add_location(p0, file,
|
|
15582
|
-
add_location(p1, file,
|
|
15619
|
+
add_location(p0, file, 259, 12, 9253);
|
|
15620
|
+
add_location(p1, file, 260, 12, 9324);
|
|
15583
15621
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15584
|
-
add_location(div, file,
|
|
15622
|
+
add_location(div, file, 258, 10, 9205);
|
|
15585
15623
|
},
|
|
15586
15624
|
m: function mount(target, anchor) {
|
|
15587
15625
|
insert_dev(target, div, anchor);
|
|
@@ -15604,7 +15642,7 @@
|
|
|
15604
15642
|
block,
|
|
15605
15643
|
id: create_if_block_1.name,
|
|
15606
15644
|
type: "if",
|
|
15607
|
-
source: "(
|
|
15645
|
+
source: "(258:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
|
|
15608
15646
|
ctx
|
|
15609
15647
|
});
|
|
15610
15648
|
|
|
@@ -15672,46 +15710,46 @@
|
|
|
15672
15710
|
attr_dev(path0, "stroke-linecap", "round");
|
|
15673
15711
|
attr_dev(path0, "stroke-linejoin", "round");
|
|
15674
15712
|
attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
|
|
15675
|
-
add_location(path0, file,
|
|
15713
|
+
add_location(path0, file, 205, 10, 6683);
|
|
15676
15714
|
attr_dev(circle, "cx", "6.5");
|
|
15677
15715
|
attr_dev(circle, "cy", "6.5");
|
|
15678
15716
|
attr_dev(circle, "r", "5.75");
|
|
15679
15717
|
attr_dev(circle, "stroke", "#212121");
|
|
15680
15718
|
attr_dev(circle, "stroke-width", "1.5");
|
|
15681
|
-
add_location(circle, file,
|
|
15719
|
+
add_location(circle, file, 206, 10, 6811);
|
|
15682
15720
|
attr_dev(svg0, "width", "14");
|
|
15683
15721
|
attr_dev(svg0, "height", "15");
|
|
15684
15722
|
attr_dev(svg0, "fill", "none");
|
|
15685
15723
|
attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
|
|
15686
|
-
add_location(svg0, file,
|
|
15724
|
+
add_location(svg0, file, 204, 8, 6597);
|
|
15687
15725
|
attr_dev(div0, "class", "SearchIcon");
|
|
15688
|
-
add_location(div0, file,
|
|
15726
|
+
add_location(div0, file, 203, 6, 6564);
|
|
15689
15727
|
attr_dev(input, "class", "SearchInput");
|
|
15690
15728
|
attr_dev(input, "type", "search");
|
|
15691
15729
|
attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[13]('Translations.placeHolderSearchGames'));
|
|
15692
|
-
add_location(input, file,
|
|
15730
|
+
add_location(input, file, 210, 8, 6956);
|
|
15693
15731
|
attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
|
|
15694
15732
|
attr_dev(path1, "stroke", "#717171");
|
|
15695
15733
|
attr_dev(path1, "stroke-width", "2");
|
|
15696
15734
|
attr_dev(path1, "stroke-linecap", "round");
|
|
15697
15735
|
attr_dev(path1, "stroke-linejoin", "round");
|
|
15698
|
-
add_location(path1, file,
|
|
15736
|
+
add_location(path1, file, 213, 12, 7343);
|
|
15699
15737
|
attr_dev(svg1, "width", "11");
|
|
15700
15738
|
attr_dev(svg1, "height", "11");
|
|
15701
15739
|
attr_dev(svg1, "fill", "none");
|
|
15702
15740
|
attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
|
|
15703
|
-
add_location(svg1, file,
|
|
15741
|
+
add_location(svg1, file, 212, 10, 7255);
|
|
15704
15742
|
attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[6].length != 0 ? '' : 'NotVisible'));
|
|
15705
|
-
add_location(span, file,
|
|
15743
|
+
add_location(span, file, 211, 8, 7134);
|
|
15706
15744
|
attr_dev(div1, "class", "SearchContainer");
|
|
15707
|
-
add_location(div1, file,
|
|
15745
|
+
add_location(div1, file, 209, 6, 6918);
|
|
15708
15746
|
attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[7] ? 'NotVisible' : ''));
|
|
15709
|
-
add_location(small, file,
|
|
15747
|
+
add_location(small, file, 217, 6, 7519);
|
|
15710
15748
|
attr_dev(div2, "class", "Search");
|
|
15711
|
-
add_location(div2, file,
|
|
15749
|
+
add_location(div2, file, 202, 4, 6537);
|
|
15712
15750
|
attr_dev(div3, "class", "CasinoSearch");
|
|
15713
|
-
add_location(div3, file,
|
|
15714
|
-
add_location(div4, file,
|
|
15751
|
+
add_location(div3, file, 201, 2, 6506);
|
|
15752
|
+
add_location(div4, file, 200, 0, 6463);
|
|
15715
15753
|
},
|
|
15716
15754
|
l: function claim(nodes) {
|
|
15717
15755
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -15728,7 +15766,7 @@
|
|
|
15728
15766
|
append_dev(div2, div1);
|
|
15729
15767
|
append_dev(div1, input);
|
|
15730
15768
|
set_input_value(input, /*searchValue*/ ctx[6]);
|
|
15731
|
-
/*input_binding*/ ctx[
|
|
15769
|
+
/*input_binding*/ ctx[20](input);
|
|
15732
15770
|
append_dev(div1, t1);
|
|
15733
15771
|
append_dev(div1, span);
|
|
15734
15772
|
append_dev(span, svg1);
|
|
@@ -15738,14 +15776,14 @@
|
|
|
15738
15776
|
append_dev(small, t3);
|
|
15739
15777
|
append_dev(div3, t4);
|
|
15740
15778
|
if_block.m(div3, null);
|
|
15741
|
-
/*div4_binding*/ ctx[
|
|
15779
|
+
/*div4_binding*/ ctx[23](div4);
|
|
15742
15780
|
|
|
15743
15781
|
if (!mounted) {
|
|
15744
15782
|
dispose = [
|
|
15745
|
-
listen_dev(input, "input", /*input_input_handler*/ ctx[
|
|
15783
|
+
listen_dev(input, "input", /*input_input_handler*/ ctx[19]),
|
|
15746
15784
|
listen_dev(input, "focus", /*onFocus*/ ctx[14], false, false, false),
|
|
15747
|
-
listen_dev(span, "click", /*click_handler*/ ctx[
|
|
15748
|
-
listen_dev(small, "click", /*click_handler_1*/ ctx[
|
|
15785
|
+
listen_dev(span, "click", /*click_handler*/ ctx[21], false, false, false),
|
|
15786
|
+
listen_dev(small, "click", /*click_handler_1*/ ctx[22], false, false, false)
|
|
15749
15787
|
];
|
|
15750
15788
|
|
|
15751
15789
|
mounted = true;
|
|
@@ -15786,9 +15824,9 @@
|
|
|
15786
15824
|
o: noop$1,
|
|
15787
15825
|
d: function destroy(detaching) {
|
|
15788
15826
|
if (detaching) detach_dev(div4);
|
|
15789
|
-
/*input_binding*/ ctx[
|
|
15827
|
+
/*input_binding*/ ctx[20](null);
|
|
15790
15828
|
if_block.d();
|
|
15791
|
-
/*div4_binding*/ ctx[
|
|
15829
|
+
/*div4_binding*/ ctx[23](null);
|
|
15792
15830
|
mounted = false;
|
|
15793
15831
|
run_all(dispose);
|
|
15794
15832
|
}
|
|
@@ -15818,6 +15856,7 @@
|
|
|
15818
15856
|
let { clientstylingurl = '' } = $$props;
|
|
15819
15857
|
let { integratedgameframedesktop = 'false' } = $$props;
|
|
15820
15858
|
let { integratedgameframemobile = 'false' } = $$props;
|
|
15859
|
+
let { translationUrl = '' } = $$props;
|
|
15821
15860
|
let userAgent = window.navigator.userAgent;
|
|
15822
15861
|
let searchArray = [];
|
|
15823
15862
|
let searchedValues = [];
|
|
@@ -15829,6 +15868,18 @@
|
|
|
15829
15868
|
let isLoading = false;
|
|
15830
15869
|
let customStylingContainer;
|
|
15831
15870
|
|
|
15871
|
+
const setTranslationUrl = () => {
|
|
15872
|
+
let url = translationUrl;
|
|
15873
|
+
|
|
15874
|
+
fetch(url).then(res => res.json()).then(res => {
|
|
15875
|
+
Object.keys(res).forEach(item => {
|
|
15876
|
+
addNewMessages$1(item, res[item]);
|
|
15877
|
+
});
|
|
15878
|
+
}).catch(err => {
|
|
15879
|
+
console.log(err);
|
|
15880
|
+
});
|
|
15881
|
+
};
|
|
15882
|
+
|
|
15832
15883
|
Object.keys(Translations).forEach(item => {
|
|
15833
15884
|
addNewMessages$1(item, Translations[item]);
|
|
15834
15885
|
});
|
|
@@ -16006,7 +16057,8 @@
|
|
|
16006
16057
|
'clientstyling',
|
|
16007
16058
|
'clientstylingurl',
|
|
16008
16059
|
'integratedgameframedesktop',
|
|
16009
|
-
'integratedgameframemobile'
|
|
16060
|
+
'integratedgameframemobile',
|
|
16061
|
+
'translationUrl'
|
|
16010
16062
|
];
|
|
16011
16063
|
|
|
16012
16064
|
Object_1.keys($$props).forEach(key => {
|
|
@@ -16043,6 +16095,7 @@
|
|
|
16043
16095
|
if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
|
|
16044
16096
|
if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
16045
16097
|
if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
16098
|
+
if ('translationUrl' in $$props) $$invalidate(18, translationUrl = $$props.translationUrl);
|
|
16046
16099
|
};
|
|
16047
16100
|
|
|
16048
16101
|
$$self.$capture_state = () => ({
|
|
@@ -16059,6 +16112,7 @@
|
|
|
16059
16112
|
clientstylingurl,
|
|
16060
16113
|
integratedgameframedesktop,
|
|
16061
16114
|
integratedgameframemobile,
|
|
16115
|
+
translationUrl,
|
|
16062
16116
|
userAgent,
|
|
16063
16117
|
searchArray,
|
|
16064
16118
|
searchedValues,
|
|
@@ -16069,6 +16123,7 @@
|
|
|
16069
16123
|
searchActive,
|
|
16070
16124
|
isLoading,
|
|
16071
16125
|
customStylingContainer,
|
|
16126
|
+
setTranslationUrl,
|
|
16072
16127
|
messageHandler,
|
|
16073
16128
|
onFocus,
|
|
16074
16129
|
getGames,
|
|
@@ -16092,7 +16147,8 @@
|
|
|
16092
16147
|
if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
|
|
16093
16148
|
if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
16094
16149
|
if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
16095
|
-
if ('
|
|
16150
|
+
if ('translationUrl' in $$props) $$invalidate(18, translationUrl = $$props.translationUrl);
|
|
16151
|
+
if ('userAgent' in $$props) $$invalidate(26, userAgent = $$props.userAgent);
|
|
16096
16152
|
if ('searchArray' in $$props) $$invalidate(9, searchArray = $$props.searchArray);
|
|
16097
16153
|
if ('searchedValues' in $$props) searchedValues = $$props.searchedValues;
|
|
16098
16154
|
if ('gamesCache' in $$props) gamesCache = $$props.gamesCache;
|
|
@@ -16133,6 +16189,10 @@
|
|
|
16133
16189
|
lang && setActiveLanguage();
|
|
16134
16190
|
}
|
|
16135
16191
|
|
|
16192
|
+
if ($$self.$$.dirty[0] & /*translationUrl*/ 262144) {
|
|
16193
|
+
translationUrl && setTranslationUrl();
|
|
16194
|
+
}
|
|
16195
|
+
|
|
16136
16196
|
if ($$self.$$.dirty[0] & /*clientstyling, customStylingContainer*/ 260) {
|
|
16137
16197
|
clientstyling && customStylingContainer && setClientStyling();
|
|
16138
16198
|
}
|
|
@@ -16161,6 +16221,7 @@
|
|
|
16161
16221
|
cancelSearch,
|
|
16162
16222
|
clearSearch,
|
|
16163
16223
|
datasource,
|
|
16224
|
+
translationUrl,
|
|
16164
16225
|
input_input_handler,
|
|
16165
16226
|
input_binding,
|
|
16166
16227
|
click_handler,
|
|
@@ -16191,7 +16252,8 @@
|
|
|
16191
16252
|
clientstyling: 2,
|
|
16192
16253
|
clientstylingurl: 3,
|
|
16193
16254
|
integratedgameframedesktop: 4,
|
|
16194
|
-
integratedgameframemobile: 5
|
|
16255
|
+
integratedgameframemobile: 5,
|
|
16256
|
+
translationUrl: 18
|
|
16195
16257
|
},
|
|
16196
16258
|
null,
|
|
16197
16259
|
[-1, -1]
|
|
@@ -16217,7 +16279,8 @@
|
|
|
16217
16279
|
"clientstyling",
|
|
16218
16280
|
"clientstylingurl",
|
|
16219
16281
|
"integratedgameframedesktop",
|
|
16220
|
-
"integratedgameframemobile"
|
|
16282
|
+
"integratedgameframemobile",
|
|
16283
|
+
"translationUrl"
|
|
16221
16284
|
];
|
|
16222
16285
|
}
|
|
16223
16286
|
|
|
@@ -16283,6 +16346,15 @@
|
|
|
16283
16346
|
this.$$set({ integratedgameframemobile });
|
|
16284
16347
|
flush();
|
|
16285
16348
|
}
|
|
16349
|
+
|
|
16350
|
+
get translationUrl() {
|
|
16351
|
+
return this.$$.ctx[18];
|
|
16352
|
+
}
|
|
16353
|
+
|
|
16354
|
+
set translationUrl(translationUrl) {
|
|
16355
|
+
this.$$set({ translationUrl });
|
|
16356
|
+
flush();
|
|
16357
|
+
}
|
|
16286
16358
|
}
|
|
16287
16359
|
|
|
16288
16360
|
!customElements.get('casino-search') && customElements.define('casino-search', CasinoSearch);
|