@everymatrix/casino-search 1.0.11 → 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 +513 -410
- 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,20 +12319,20 @@
|
|
|
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
|
-
let show_if = !isMobile(/*userAgent*/ ctx[36]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[
|
|
12335
|
+
let show_if = !isMobile(/*userAgent*/ ctx[36]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[14];
|
|
12336
12336
|
let if_block_anchor;
|
|
12337
12337
|
let if_block = show_if && create_if_block_13(ctx);
|
|
12338
12338
|
|
|
@@ -12346,7 +12346,7 @@
|
|
|
12346
12346
|
insert_dev(target, if_block_anchor, anchor);
|
|
12347
12347
|
},
|
|
12348
12348
|
p: function update(ctx, dirty) {
|
|
12349
|
-
if (dirty[0] & /*gamefavorite, isLoggedIn*/
|
|
12349
|
+
if (dirty[0] & /*gamefavorite, isLoggedIn*/ 16385) show_if = !isMobile(/*userAgent*/ ctx[36]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[14];
|
|
12350
12350
|
|
|
12351
12351
|
if (show_if) {
|
|
12352
12352
|
if (if_block) {
|
|
@@ -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,14 +12814,14 @@
|
|
|
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);
|
|
12821
12821
|
html_tag_1.m(raw1_value, div1);
|
|
12822
12822
|
},
|
|
12823
12823
|
p: function update(ctx, dirty) {
|
|
12824
|
-
if (dirty[0] & /*roulleteresults, isdouble*/
|
|
12824
|
+
if (dirty[0] & /*roulleteresults, isdouble*/ 536875008 | dirty[1] & /*renderSpan, colorsourcearray*/ 32769) {
|
|
12825
12825
|
each_value_1 = new Array(numberofdisplayedresults);
|
|
12826
12826
|
validate_each_argument(each_value_1);
|
|
12827
12827
|
let i;
|
|
@@ -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*/
|
|
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*/
|
|
13075
|
-
if (dirty[0] & /*roulleteresults*/
|
|
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[
|
|
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[
|
|
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
|
|
|
@@ -13392,14 +13392,14 @@
|
|
|
13392
13392
|
let div4_part_value;
|
|
13393
13393
|
let mounted;
|
|
13394
13394
|
let dispose;
|
|
13395
|
-
let if_block0 = /*fav*/ ctx[
|
|
13395
|
+
let if_block0 = /*fav*/ ctx[15] && create_if_block_12(ctx);
|
|
13396
13396
|
|
|
13397
13397
|
function select_block_type(ctx, dirty) {
|
|
13398
|
-
if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/
|
|
13399
|
-
if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/
|
|
13400
|
-
if (show_if_1 == null) show_if_1 = !!(!isMobile(/*userAgent*/ ctx[36]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[
|
|
13398
|
+
if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/ 16387) show_if_1 = null;
|
|
13399
|
+
if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/ 16387) show_if_2 = null;
|
|
13400
|
+
if (show_if_1 == null) show_if_1 = !!(!isMobile(/*userAgent*/ ctx[36]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[14] && /*favorites*/ ctx[1]);
|
|
13401
13401
|
if (show_if_1) return create_if_block_10;
|
|
13402
|
-
if (show_if_2 == null) show_if_2 = !!(isMobile(/*userAgent*/ ctx[36]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[
|
|
13402
|
+
if (show_if_2 == null) show_if_2 = !!(isMobile(/*userAgent*/ ctx[36]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[14] && /*favorites*/ ctx[1]);
|
|
13403
13403
|
if (show_if_2) return create_if_block_11;
|
|
13404
13404
|
}
|
|
13405
13405
|
|
|
@@ -13407,7 +13407,7 @@
|
|
|
13407
13407
|
let if_block1 = current_block_type && current_block_type(ctx);
|
|
13408
13408
|
let if_block2 = /*gameisnew*/ ctx[6] && create_if_block_9(ctx);
|
|
13409
13409
|
let if_block3 = show_if && create_if_block_8(ctx);
|
|
13410
|
-
let if_block4 = /*livegamedata*/ ctx[
|
|
13410
|
+
let if_block4 = /*livegamedata*/ ctx[11] && create_if_block_1$1(ctx);
|
|
13411
13411
|
let if_block5 = /*showgamename*/ ctx[9] && create_if_block$1(ctx);
|
|
13412
13412
|
|
|
13413
13413
|
const block = {
|
|
@@ -13441,43 +13441,43 @@
|
|
|
13441
13441
|
if (if_block5) if_block5.c();
|
|
13442
13442
|
this.c = noop$1;
|
|
13443
13443
|
if (!src_url_equal(img.src, img_src_value = /*gamethumbnail*/ ctx[2])) attr_dev(img, "src", img_src_value);
|
|
13444
|
-
attr_dev(img, "class", img_class_value = `GameBg GameBg-${/*gamecellsize*/ ctx[8]} ${/*hover*/ ctx[
|
|
13445
|
-
attr_dev(img, "part", img_part_value = "GameBg " + (/*hover*/ ctx[
|
|
13444
|
+
attr_dev(img, "class", img_class_value = `GameBg GameBg-${/*gamecellsize*/ ctx[8]} ${/*hover*/ ctx[16] ? 'GameContainerHovered' : ''} ${/*loaded*/ ctx[17] ? 'Loaded' : ''}`);
|
|
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,
|
|
13456
|
-
attr_dev(div0, "class", div0_class_value = "GameInfo " + (/*hover*/ ctx[
|
|
13457
|
-
attr_dev(div0, "part", div0_part_value = "GameInfo " + (/*hover*/ ctx[
|
|
13458
|
-
add_location(div0, file$1,
|
|
13455
|
+
add_location(button, file$1, 578, 8, 21271);
|
|
13456
|
+
attr_dev(div0, "class", div0_class_value = "GameInfo " + (/*hover*/ ctx[16] ? 'GameHovered' : ''));
|
|
13457
|
+
attr_dev(div0, "part", div0_part_value = "GameInfo " + (/*hover*/ ctx[16] ? 'GameHovered' : ''));
|
|
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
|
-
attr_dev(div3, "class", div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[
|
|
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'
|
|
13471
13471
|
: ''));
|
|
13472
13472
|
|
|
13473
|
-
attr_dev(div3, "part", div3_part_value = "GameInnerContainer " + (/*livegamedata*/ ctx[
|
|
13473
|
+
attr_dev(div3, "part", div3_part_value = "GameInnerContainer " + (/*livegamedata*/ ctx[11] && !/*isopen*/ ctx[22] || /*livegamedata*/ ctx[11] && /*istablefull*/ ctx[32]
|
|
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),
|
|
@@ -13530,15 +13530,15 @@
|
|
|
13530
13530
|
attr_dev(img, "src", img_src_value);
|
|
13531
13531
|
}
|
|
13532
13532
|
|
|
13533
|
-
if (dirty[0] & /*gamecellsize, hover, loaded*/
|
|
13533
|
+
if (dirty[0] & /*gamecellsize, hover, loaded*/ 196864 && img_class_value !== (img_class_value = `GameBg GameBg-${/*gamecellsize*/ ctx[8]} ${/*hover*/ ctx[16] ? 'GameContainerHovered' : ''} ${/*loaded*/ ctx[17] ? 'Loaded' : ''}`)) {
|
|
13534
13534
|
attr_dev(img, "class", img_class_value);
|
|
13535
13535
|
}
|
|
13536
13536
|
|
|
13537
|
-
if (dirty[0] & /*hover, loaded*/
|
|
13537
|
+
if (dirty[0] & /*hover, loaded*/ 196608 && img_part_value !== (img_part_value = "GameBg " + (/*hover*/ ctx[16] ? 'GameContainerHovered' : '') + " " + (/*loaded*/ ctx[17] ? 'Loaded' : ''))) {
|
|
13538
13538
|
attr_dev(img, "part", img_part_value);
|
|
13539
13539
|
}
|
|
13540
13540
|
|
|
13541
|
-
if (/*fav*/ ctx[
|
|
13541
|
+
if (/*fav*/ ctx[15]) {
|
|
13542
13542
|
if (if_block0) {
|
|
13543
13543
|
if_block0.p(ctx, dirty);
|
|
13544
13544
|
} else {
|
|
@@ -13559,11 +13559,11 @@
|
|
|
13559
13559
|
|
|
13560
13560
|
if (dirty[1] & /*$_*/ 16 && t4_value !== (t4_value = /*$_*/ ctx[35]('gameThumbnail.playNow') + "")) set_data_dev(t4, t4_value);
|
|
13561
13561
|
|
|
13562
|
-
if (dirty[0] & /*hover*/
|
|
13562
|
+
if (dirty[0] & /*hover*/ 65536 && div0_class_value !== (div0_class_value = "GameInfo " + (/*hover*/ ctx[16] ? 'GameHovered' : ''))) {
|
|
13563
13563
|
attr_dev(div0, "class", div0_class_value);
|
|
13564
13564
|
}
|
|
13565
13565
|
|
|
13566
|
-
if (dirty[0] & /*hover*/
|
|
13566
|
+
if (dirty[0] & /*hover*/ 65536 && div0_part_value !== (div0_part_value = "GameInfo " + (/*hover*/ ctx[16] ? 'GameHovered' : ''))) {
|
|
13567
13567
|
attr_dev(div0, "part", div0_part_value);
|
|
13568
13568
|
}
|
|
13569
13569
|
|
|
@@ -13609,7 +13609,7 @@
|
|
|
13609
13609
|
if_block3 = null;
|
|
13610
13610
|
}
|
|
13611
13611
|
|
|
13612
|
-
if (/*livegamedata*/ ctx[
|
|
13612
|
+
if (/*livegamedata*/ ctx[11]) {
|
|
13613
13613
|
if (if_block4) {
|
|
13614
13614
|
if_block4.p(ctx, dirty);
|
|
13615
13615
|
} else {
|
|
@@ -13622,13 +13622,13 @@
|
|
|
13622
13622
|
if_block4 = null;
|
|
13623
13623
|
}
|
|
13624
13624
|
|
|
13625
|
-
if (dirty[0] & /*livegamedata, isopen, openhours*/
|
|
13625
|
+
if (dirty[0] & /*livegamedata, isopen, openhours*/ 12584960 | dirty[1] & /*istablefull*/ 2 && div3_class_value !== (div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[11] && !/*isopen*/ ctx[22] && /*openhours*/ ctx[23].value || /*livegamedata*/ ctx[11] && /*istablefull*/ ctx[32]
|
|
13626
13626
|
? 'GameInnerContainerUnavailable'
|
|
13627
13627
|
: ''))) {
|
|
13628
13628
|
attr_dev(div3, "class", div3_class_value);
|
|
13629
13629
|
}
|
|
13630
13630
|
|
|
13631
|
-
if (dirty[0] & /*livegamedata, isopen*/
|
|
13631
|
+
if (dirty[0] & /*livegamedata, isopen*/ 4196352 | dirty[1] & /*istablefull*/ 2 && div3_part_value !== (div3_part_value = "GameInnerContainer " + (/*livegamedata*/ ctx[11] && !/*isopen*/ ctx[22] || /*livegamedata*/ ctx[11] && /*istablefull*/ ctx[32]
|
|
13632
13632
|
? 'GameInnerContainerUnavailable'
|
|
13633
13633
|
: ''))) {
|
|
13634
13634
|
attr_dev(div3, "part", div3_part_value);
|
|
@@ -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,16 +13818,28 @@
|
|
|
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
|
});
|
|
13823
13836
|
|
|
13824
13837
|
const enter = () => {
|
|
13825
|
-
$$invalidate(
|
|
13838
|
+
$$invalidate(16, hover = true);
|
|
13826
13839
|
};
|
|
13827
13840
|
|
|
13828
13841
|
const leave = () => {
|
|
13829
|
-
$$invalidate(
|
|
13842
|
+
$$invalidate(16, hover = false);
|
|
13830
13843
|
};
|
|
13831
13844
|
|
|
13832
13845
|
const messageHandler = e => {
|
|
@@ -13839,19 +13852,37 @@
|
|
|
13839
13852
|
}
|
|
13840
13853
|
|
|
13841
13854
|
if (e.data.type === 'UserSessionID') {
|
|
13842
|
-
$$invalidate(
|
|
13855
|
+
$$invalidate(14, isLoggedIn = true);
|
|
13843
13856
|
sessionID = e.data.session;
|
|
13844
13857
|
playerID = e.data.userID;
|
|
13845
13858
|
}
|
|
13846
13859
|
|
|
13847
13860
|
if (e.data.type === 'CategoryUpdate') {
|
|
13848
|
-
$$invalidate(
|
|
13861
|
+
$$invalidate(11, livegamedata = null);
|
|
13849
13862
|
}
|
|
13850
13863
|
};
|
|
13851
13864
|
|
|
13852
13865
|
const toggleGameFrame = gameId => {
|
|
13853
13866
|
if (searchitem) {
|
|
13854
13867
|
window.postMessage({ type: 'SearchedItemClicked', gameId }, window.location.href);
|
|
13868
|
+
|
|
13869
|
+
//Analytics event -- if game was searched
|
|
13870
|
+
if (typeof gtag == 'function') {
|
|
13871
|
+
gtag('event', 'OpenGame', {
|
|
13872
|
+
'context': 'GameThumbnail--Searched',
|
|
13873
|
+
'gameId': `${gameId}`,
|
|
13874
|
+
'userId': `${playerID ? playerID : 'Not logged in'}`
|
|
13875
|
+
});
|
|
13876
|
+
}
|
|
13877
|
+
} else {
|
|
13878
|
+
//Analytics event
|
|
13879
|
+
if (typeof gtag == 'function') {
|
|
13880
|
+
gtag('event', 'OpenGame', {
|
|
13881
|
+
'context': 'GameThumbnail',
|
|
13882
|
+
'gameId': `${gameId}`,
|
|
13883
|
+
'userId': `${playerID ? playerID : 'Not logged in'}`
|
|
13884
|
+
});
|
|
13885
|
+
}
|
|
13855
13886
|
}
|
|
13856
13887
|
|
|
13857
13888
|
if (isMobile(userAgent) && integratedgameframemobile == "true") {
|
|
@@ -13925,19 +13956,19 @@
|
|
|
13925
13956
|
};
|
|
13926
13957
|
|
|
13927
13958
|
const gameTouch = () => {
|
|
13928
|
-
window.postMessage({ type: '
|
|
13959
|
+
window.postMessage({ type: 'GameHoveredMobile' }, window.location.href);
|
|
13929
13960
|
};
|
|
13930
13961
|
|
|
13931
13962
|
const gameTouchEnd = () => {
|
|
13932
|
-
window.postMessage({ type: '
|
|
13963
|
+
window.postMessage({ type: 'GameBlurMobile' }, window.location.href);
|
|
13933
13964
|
};
|
|
13934
13965
|
|
|
13935
13966
|
const gameHover = () => {
|
|
13936
|
-
window.postMessage({ type: '
|
|
13967
|
+
window.postMessage({ type: 'GameHoveredPc' }, window.location.href);
|
|
13937
13968
|
};
|
|
13938
13969
|
|
|
13939
13970
|
const gameBlur = () => {
|
|
13940
|
-
window.postMessage({ type: '
|
|
13971
|
+
window.postMessage({ type: 'GameBlurPc' }, window.location.href);
|
|
13941
13972
|
};
|
|
13942
13973
|
|
|
13943
13974
|
const setActiveLanguage = () => {
|
|
@@ -13946,7 +13977,7 @@
|
|
|
13946
13977
|
// setLocale(lang);
|
|
13947
13978
|
|
|
13948
13979
|
const setSession = () => {
|
|
13949
|
-
$$invalidate(
|
|
13980
|
+
$$invalidate(14, isLoggedIn = true);
|
|
13950
13981
|
sessionID = session;
|
|
13951
13982
|
playerID = userid;
|
|
13952
13983
|
};
|
|
@@ -13954,9 +13985,9 @@
|
|
|
13954
13985
|
const setOnLoad = () => {
|
|
13955
13986
|
if (image) {
|
|
13956
13987
|
$$invalidate(
|
|
13957
|
-
|
|
13988
|
+
18,
|
|
13958
13989
|
image.onload = () => {
|
|
13959
|
-
$$invalidate(
|
|
13990
|
+
$$invalidate(17, loaded = true);
|
|
13960
13991
|
},
|
|
13961
13992
|
image
|
|
13962
13993
|
);
|
|
@@ -13982,34 +14013,12 @@
|
|
|
13982
14013
|
}
|
|
13983
14014
|
};
|
|
13984
14015
|
|
|
13985
|
-
const setClientStyling = () => {
|
|
13986
|
-
let sheet = document.createElement('style');
|
|
13987
|
-
sheet.innerHTML = clientstyling;
|
|
13988
|
-
|
|
13989
|
-
setTimeout(() => {
|
|
13990
|
-
customStylingContainer.appendChild(sheet);
|
|
13991
|
-
});
|
|
13992
|
-
};
|
|
13993
|
-
|
|
13994
14016
|
const setFavorites = () => {
|
|
13995
14017
|
if (favorites == 'true') {
|
|
13996
|
-
$$invalidate(
|
|
14018
|
+
$$invalidate(15, fav = true);
|
|
13997
14019
|
}
|
|
13998
14020
|
};
|
|
13999
14021
|
|
|
14000
|
-
const setClientStylingURL = () => {
|
|
14001
|
-
let url = new URL(clientstylingurl);
|
|
14002
|
-
let cssFile = document.createElement('style');
|
|
14003
|
-
|
|
14004
|
-
fetch(url.href).then(res => res.text()).then(data => {
|
|
14005
|
-
cssFile.innerHTML = data;
|
|
14006
|
-
|
|
14007
|
-
setTimeout(() => {
|
|
14008
|
-
customStylingContainer.appendChild(cssFile);
|
|
14009
|
-
});
|
|
14010
|
-
});
|
|
14011
|
-
};
|
|
14012
|
-
|
|
14013
14022
|
const liveLobbyMessageHandler = async event => {
|
|
14014
14023
|
const { type, data: rawData } = event;
|
|
14015
14024
|
let data;
|
|
@@ -14037,7 +14046,7 @@
|
|
|
14037
14046
|
{
|
|
14038
14047
|
if (Seats && Array.isArray(Seats)) {
|
|
14039
14048
|
$$invalidate(28, currentoccupiedseats = Seats);
|
|
14040
|
-
$$invalidate(
|
|
14049
|
+
$$invalidate(11, livegamedata.currentOccupiedSeats = Seats, livegamedata);
|
|
14041
14050
|
await tick();
|
|
14042
14051
|
}
|
|
14043
14052
|
|
|
@@ -14047,7 +14056,7 @@
|
|
|
14047
14056
|
{
|
|
14048
14057
|
if (Results && Array.isArray(Results)) {
|
|
14049
14058
|
currentroulettenumbers = Results;
|
|
14050
|
-
$$invalidate(
|
|
14059
|
+
$$invalidate(11, livegamedata.currentRouletteNumbers = Results, livegamedata);
|
|
14051
14060
|
await tick();
|
|
14052
14061
|
}
|
|
14053
14062
|
|
|
@@ -14057,7 +14066,7 @@
|
|
|
14057
14066
|
{
|
|
14058
14067
|
if (Results && Array.isArray(Results)) {
|
|
14059
14068
|
currentdoubleballroulettenumbers = Results;
|
|
14060
|
-
$$invalidate(
|
|
14069
|
+
$$invalidate(11, livegamedata.currentDoubleBallRouletteNumbers = Results, livegamedata);
|
|
14061
14070
|
await tick();
|
|
14062
14071
|
}
|
|
14063
14072
|
|
|
@@ -14066,14 +14075,14 @@
|
|
|
14066
14075
|
case 'TableOpened':
|
|
14067
14076
|
{
|
|
14068
14077
|
$$invalidate(22, isopen = Open);
|
|
14069
|
-
$$invalidate(
|
|
14078
|
+
$$invalidate(11, livegamedata.isOpen = Open, livegamedata);
|
|
14070
14079
|
await tick();
|
|
14071
14080
|
break;
|
|
14072
14081
|
}
|
|
14073
14082
|
case 'TableClosed':
|
|
14074
14083
|
{
|
|
14075
14084
|
$$invalidate(22, isopen = Open);
|
|
14076
|
-
$$invalidate(
|
|
14085
|
+
$$invalidate(11, livegamedata.isOpen = Open, livegamedata);
|
|
14077
14086
|
await tick();
|
|
14078
14087
|
break;
|
|
14079
14088
|
}
|
|
@@ -14091,7 +14100,7 @@
|
|
|
14091
14100
|
|
|
14092
14101
|
fetch(url).then(res => res.json()).then(data => {
|
|
14093
14102
|
const { details } = data[0];
|
|
14094
|
-
$$invalidate(
|
|
14103
|
+
$$invalidate(11, livegamedata = details);
|
|
14095
14104
|
});
|
|
14096
14105
|
};
|
|
14097
14106
|
|
|
@@ -14250,7 +14259,7 @@
|
|
|
14250
14259
|
vendorcategory = livegamedata.vendorCategory;
|
|
14251
14260
|
$$invalidate(29, isdouble = vendorcategory.toLowerCase() === DOUBLE_ROULETTE);
|
|
14252
14261
|
|
|
14253
|
-
$$invalidate(
|
|
14262
|
+
$$invalidate(12, roulleteresults = (isdouble
|
|
14254
14263
|
? currentdoubleballroulettenumbers
|
|
14255
14264
|
: currentroulettenumbers) || []);
|
|
14256
14265
|
|
|
@@ -14311,6 +14320,28 @@
|
|
|
14311
14320
|
}
|
|
14312
14321
|
};
|
|
14313
14322
|
|
|
14323
|
+
const setClientStyling = () => {
|
|
14324
|
+
let sheet = document.createElement('style');
|
|
14325
|
+
sheet.innerHTML = clientstyling;
|
|
14326
|
+
customStylingContainer.appendChild(sheet);
|
|
14327
|
+
};
|
|
14328
|
+
|
|
14329
|
+
const setClientStylingURL = () => {
|
|
14330
|
+
let url = new URL(clientstylingurl);
|
|
14331
|
+
let cssFile = document.createElement('style');
|
|
14332
|
+
|
|
14333
|
+
fetch(url.href).then(res => res.text()).then(data => {
|
|
14334
|
+
cssFile.innerHTML = data;
|
|
14335
|
+
|
|
14336
|
+
setTimeout(
|
|
14337
|
+
() => {
|
|
14338
|
+
customStylingContainer.appendChild(cssFile);
|
|
14339
|
+
},
|
|
14340
|
+
1
|
|
14341
|
+
);
|
|
14342
|
+
});
|
|
14343
|
+
};
|
|
14344
|
+
|
|
14314
14345
|
onMount(() => {
|
|
14315
14346
|
window.addEventListener('message', messageHandler, false);
|
|
14316
14347
|
|
|
@@ -14329,6 +14360,7 @@
|
|
|
14329
14360
|
'lang',
|
|
14330
14361
|
'clientstyling',
|
|
14331
14362
|
'clientstylingurl',
|
|
14363
|
+
'translationUrl',
|
|
14332
14364
|
'favorites',
|
|
14333
14365
|
'gamethumbnail',
|
|
14334
14366
|
'gamename',
|
|
@@ -14359,7 +14391,7 @@
|
|
|
14359
14391
|
function img_binding($$value) {
|
|
14360
14392
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
14361
14393
|
image = $$value;
|
|
14362
|
-
$$invalidate(
|
|
14394
|
+
$$invalidate(18, image);
|
|
14363
14395
|
});
|
|
14364
14396
|
}
|
|
14365
14397
|
|
|
@@ -14370,14 +14402,14 @@
|
|
|
14370
14402
|
function div0_binding($$value) {
|
|
14371
14403
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
14372
14404
|
roulletteref = $$value;
|
|
14373
|
-
$$invalidate(
|
|
14405
|
+
$$invalidate(13, roulletteref);
|
|
14374
14406
|
});
|
|
14375
14407
|
}
|
|
14376
14408
|
|
|
14377
14409
|
function div4_binding($$value) {
|
|
14378
14410
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
14379
14411
|
customStylingContainer = $$value;
|
|
14380
|
-
$$invalidate(
|
|
14412
|
+
$$invalidate(10, customStylingContainer);
|
|
14381
14413
|
});
|
|
14382
14414
|
}
|
|
14383
14415
|
|
|
@@ -14387,6 +14419,7 @@
|
|
|
14387
14419
|
if ('lang' in $$props) $$invalidate(49, lang = $$props.lang);
|
|
14388
14420
|
if ('clientstyling' in $$props) $$invalidate(50, clientstyling = $$props.clientstyling);
|
|
14389
14421
|
if ('clientstylingurl' in $$props) $$invalidate(51, clientstylingurl = $$props.clientstylingurl);
|
|
14422
|
+
if ('translationUrl' in $$props) $$invalidate(52, translationUrl = $$props.translationUrl);
|
|
14390
14423
|
if ('favorites' in $$props) $$invalidate(1, favorites = $$props.favorites);
|
|
14391
14424
|
if ('gamethumbnail' in $$props) $$invalidate(2, gamethumbnail = $$props.gamethumbnail);
|
|
14392
14425
|
if ('gamename' in $$props) $$invalidate(3, gamename = $$props.gamename);
|
|
@@ -14394,20 +14427,20 @@
|
|
|
14394
14427
|
if ('gameid' in $$props) $$invalidate(5, gameid = $$props.gameid);
|
|
14395
14428
|
if ('gameisnew' in $$props) $$invalidate(6, gameisnew = $$props.gameisnew);
|
|
14396
14429
|
if ('gamepopularity' in $$props) $$invalidate(7, gamepopularity = $$props.gamepopularity);
|
|
14397
|
-
if ('gamefunmode' in $$props) $$invalidate(
|
|
14398
|
-
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);
|
|
14399
14432
|
if ('gamefavorite' in $$props) $$invalidate(0, gamefavorite = $$props.gamefavorite);
|
|
14400
14433
|
if ('gamecellsize' in $$props) $$invalidate(8, gamecellsize = $$props.gamecellsize);
|
|
14401
|
-
if ('showfavoredcategory' in $$props) $$invalidate(
|
|
14434
|
+
if ('showfavoredcategory' in $$props) $$invalidate(55, showfavoredcategory = $$props.showfavoredcategory);
|
|
14402
14435
|
if ('showgamename' in $$props) $$invalidate(9, showgamename = $$props.showgamename);
|
|
14403
|
-
if ('currency' in $$props) $$invalidate(
|
|
14404
|
-
if ('gamepagemodalurl' in $$props) $$invalidate(
|
|
14405
|
-
if ('endpoint' in $$props) $$invalidate(
|
|
14406
|
-
if ('livelobbyendpoint' in $$props) $$invalidate(
|
|
14407
|
-
if ('connectlive' in $$props) $$invalidate(
|
|
14408
|
-
if ('visibilityconnect' in $$props) $$invalidate(
|
|
14409
|
-
if ('integratedgameframedesktop' in $$props) $$invalidate(
|
|
14410
|
-
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);
|
|
14411
14444
|
};
|
|
14412
14445
|
|
|
14413
14446
|
$$self.$capture_state = () => ({
|
|
@@ -14425,6 +14458,7 @@
|
|
|
14425
14458
|
lang,
|
|
14426
14459
|
clientstyling,
|
|
14427
14460
|
clientstylingurl,
|
|
14461
|
+
translationUrl,
|
|
14428
14462
|
favorites,
|
|
14429
14463
|
gamethumbnail,
|
|
14430
14464
|
gamename,
|
|
@@ -14492,6 +14526,7 @@
|
|
|
14492
14526
|
numberofdisplayedresults,
|
|
14493
14527
|
MONEY_WHEEL_COLOR_MAP,
|
|
14494
14528
|
ROULETTE_COLOR_MAP,
|
|
14529
|
+
setTranslationUrl,
|
|
14495
14530
|
enter,
|
|
14496
14531
|
leave,
|
|
14497
14532
|
messageHandler,
|
|
@@ -14507,9 +14542,7 @@
|
|
|
14507
14542
|
getLiveLobbyURL,
|
|
14508
14543
|
connectGameToLiveLobby,
|
|
14509
14544
|
disconnectGameFromLiveLobby,
|
|
14510
|
-
setClientStyling,
|
|
14511
14545
|
setFavorites,
|
|
14512
|
-
setClientStylingURL,
|
|
14513
14546
|
liveLobbyMessageHandler,
|
|
14514
14547
|
setLiveLobbyData,
|
|
14515
14548
|
numberWithSeparators,
|
|
@@ -14523,6 +14556,8 @@
|
|
|
14523
14556
|
updateComponent,
|
|
14524
14557
|
toggleConnect,
|
|
14525
14558
|
toggleVisibilityConnect,
|
|
14559
|
+
setClientStyling,
|
|
14560
|
+
setClientStylingURL,
|
|
14526
14561
|
$_
|
|
14527
14562
|
});
|
|
14528
14563
|
|
|
@@ -14532,6 +14567,7 @@
|
|
|
14532
14567
|
if ('lang' in $$props) $$invalidate(49, lang = $$props.lang);
|
|
14533
14568
|
if ('clientstyling' in $$props) $$invalidate(50, clientstyling = $$props.clientstyling);
|
|
14534
14569
|
if ('clientstylingurl' in $$props) $$invalidate(51, clientstylingurl = $$props.clientstylingurl);
|
|
14570
|
+
if ('translationUrl' in $$props) $$invalidate(52, translationUrl = $$props.translationUrl);
|
|
14535
14571
|
if ('favorites' in $$props) $$invalidate(1, favorites = $$props.favorites);
|
|
14536
14572
|
if ('gamethumbnail' in $$props) $$invalidate(2, gamethumbnail = $$props.gamethumbnail);
|
|
14537
14573
|
if ('gamename' in $$props) $$invalidate(3, gamename = $$props.gamename);
|
|
@@ -14539,30 +14575,30 @@
|
|
|
14539
14575
|
if ('gameid' in $$props) $$invalidate(5, gameid = $$props.gameid);
|
|
14540
14576
|
if ('gameisnew' in $$props) $$invalidate(6, gameisnew = $$props.gameisnew);
|
|
14541
14577
|
if ('gamepopularity' in $$props) $$invalidate(7, gamepopularity = $$props.gamepopularity);
|
|
14542
|
-
if ('gamefunmode' in $$props) $$invalidate(
|
|
14543
|
-
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);
|
|
14544
14580
|
if ('gamefavorite' in $$props) $$invalidate(0, gamefavorite = $$props.gamefavorite);
|
|
14545
14581
|
if ('gamecellsize' in $$props) $$invalidate(8, gamecellsize = $$props.gamecellsize);
|
|
14546
|
-
if ('showfavoredcategory' in $$props) $$invalidate(
|
|
14582
|
+
if ('showfavoredcategory' in $$props) $$invalidate(55, showfavoredcategory = $$props.showfavoredcategory);
|
|
14547
14583
|
if ('showgamename' in $$props) $$invalidate(9, showgamename = $$props.showgamename);
|
|
14548
|
-
if ('currency' in $$props) $$invalidate(
|
|
14549
|
-
if ('gamepagemodalurl' in $$props) $$invalidate(
|
|
14550
|
-
if ('endpoint' in $$props) $$invalidate(
|
|
14551
|
-
if ('livelobbyendpoint' in $$props) $$invalidate(
|
|
14552
|
-
if ('connectlive' in $$props) $$invalidate(
|
|
14553
|
-
if ('visibilityconnect' in $$props) $$invalidate(
|
|
14554
|
-
if ('integratedgameframedesktop' in $$props) $$invalidate(
|
|
14555
|
-
if ('integratedgameframemobile' in $$props) $$invalidate(
|
|
14556
|
-
if ('isLoggedIn' 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);
|
|
14592
|
+
if ('isLoggedIn' in $$props) $$invalidate(14, isLoggedIn = $$props.isLoggedIn);
|
|
14557
14593
|
if ('sessionID' in $$props) sessionID = $$props.sessionID;
|
|
14558
14594
|
if ('playerID' in $$props) playerID = $$props.playerID;
|
|
14559
|
-
if ('fav' in $$props) $$invalidate(
|
|
14560
|
-
if ('hover' in $$props) $$invalidate(
|
|
14561
|
-
if ('loaded' in $$props) $$invalidate(
|
|
14562
|
-
if ('image' in $$props) $$invalidate(
|
|
14595
|
+
if ('fav' in $$props) $$invalidate(15, fav = $$props.fav);
|
|
14596
|
+
if ('hover' in $$props) $$invalidate(16, hover = $$props.hover);
|
|
14597
|
+
if ('loaded' in $$props) $$invalidate(17, loaded = $$props.loaded);
|
|
14598
|
+
if ('image' in $$props) $$invalidate(18, image = $$props.image);
|
|
14563
14599
|
if ('userAgent' in $$props) $$invalidate(36, userAgent = $$props.userAgent);
|
|
14564
|
-
if ('customStylingContainer' in $$props) $$invalidate(
|
|
14565
|
-
if ('livegamedata' in $$props) $$invalidate(
|
|
14600
|
+
if ('customStylingContainer' in $$props) $$invalidate(10, customStylingContainer = $$props.customStylingContainer);
|
|
14601
|
+
if ('livegamedata' in $$props) $$invalidate(11, livegamedata = $$props.livegamedata);
|
|
14566
14602
|
if ('liveLobbyConnection' in $$props) liveLobbyConnection = $$props.liveLobbyConnection;
|
|
14567
14603
|
if ('displaytype' in $$props) $$invalidate(19, displaytype = $$props.displaytype);
|
|
14568
14604
|
if ('starttime' in $$props) $$invalidate(20, starttime = $$props.starttime);
|
|
@@ -14580,13 +14616,13 @@
|
|
|
14580
14616
|
if ('currentdoubleballroulettenumbers' in $$props) currentdoubleballroulettenumbers = $$props.currentdoubleballroulettenumbers;
|
|
14581
14617
|
if ('vendorcategory' in $$props) vendorcategory = $$props.vendorcategory;
|
|
14582
14618
|
if ('isdouble' in $$props) $$invalidate(29, isdouble = $$props.isdouble);
|
|
14583
|
-
if ('roulleteresults' in $$props) $$invalidate(
|
|
14619
|
+
if ('roulleteresults' in $$props) $$invalidate(12, roulleteresults = $$props.roulleteresults);
|
|
14584
14620
|
if ('roulettecontainerclassname' in $$props) $$invalidate(30, roulettecontainerclassname = $$props.roulettecontainerclassname);
|
|
14585
14621
|
if ('colorsourcearray' in $$props) $$invalidate(31, colorsourcearray = $$props.colorsourcearray);
|
|
14586
14622
|
if ('istablefull' in $$props) $$invalidate(32, istablefull = $$props.istablefull);
|
|
14587
14623
|
if ('oldistablefull' in $$props) oldistablefull = $$props.oldistablefull;
|
|
14588
14624
|
if ('extraclassname' in $$props) $$invalidate(33, extraclassname = $$props.extraclassname);
|
|
14589
|
-
if ('roulletteref' in $$props) $$invalidate(
|
|
14625
|
+
if ('roulletteref' in $$props) $$invalidate(13, roulletteref = $$props.roulletteref);
|
|
14590
14626
|
if ('dealername' in $$props) $$invalidate(34, dealername = $$props.dealername);
|
|
14591
14627
|
if ('numberofplayers' in $$props) numberofplayers = $$props.numberofplayers;
|
|
14592
14628
|
};
|
|
@@ -14596,17 +14632,17 @@
|
|
|
14596
14632
|
}
|
|
14597
14633
|
|
|
14598
14634
|
$$self.$$.update = () => {
|
|
14599
|
-
if ($$self.$$.dirty[1] & /*connectlive*/
|
|
14635
|
+
if ($$self.$$.dirty[1] & /*connectlive*/ 536870912) {
|
|
14600
14636
|
connectlive && toggleConnect();
|
|
14601
14637
|
}
|
|
14602
14638
|
|
|
14603
|
-
if ($$self.$$.dirty[1] & /*visibilityconnect*/
|
|
14639
|
+
if ($$self.$$.dirty[1] & /*visibilityconnect*/ 1073741824) {
|
|
14604
14640
|
visibilityconnect && toggleVisibilityConnect();
|
|
14605
14641
|
}
|
|
14606
14642
|
|
|
14607
14643
|
if ($$self.$$.dirty[1] & /*lang*/ 262144) ;
|
|
14608
14644
|
|
|
14609
|
-
if ($$self.$$.dirty[1] & /*session, userid, endpoint*/
|
|
14645
|
+
if ($$self.$$.dirty[1] & /*session, userid, endpoint*/ 134414336) {
|
|
14610
14646
|
session && userid && endpoint && setSession();
|
|
14611
14647
|
}
|
|
14612
14648
|
|
|
@@ -14614,27 +14650,35 @@
|
|
|
14614
14650
|
gamethumbnail && setOnLoad();
|
|
14615
14651
|
}
|
|
14616
14652
|
|
|
14617
|
-
if ($$self.$$.dirty[1] & /*clientstyling*/ 524288) {
|
|
14618
|
-
clientstyling && setClientStyling();
|
|
14653
|
+
if ($$self.$$.dirty[0] & /*customStylingContainer*/ 1024 | $$self.$$.dirty[1] & /*clientstyling*/ 524288) {
|
|
14654
|
+
clientstyling && customStylingContainer && setClientStyling();
|
|
14655
|
+
}
|
|
14656
|
+
|
|
14657
|
+
if ($$self.$$.dirty[0] & /*customStylingContainer*/ 1024 | $$self.$$.dirty[1] & /*clientstylingurl*/ 1048576) {
|
|
14658
|
+
clientstylingurl && customStylingContainer && setClientStylingURL();
|
|
14619
14659
|
}
|
|
14620
14660
|
|
|
14621
14661
|
if ($$self.$$.dirty[0] & /*favorites*/ 2) {
|
|
14622
14662
|
favorites && setFavorites();
|
|
14623
14663
|
}
|
|
14624
14664
|
|
|
14665
|
+
if ($$self.$$.dirty[1] & /*translationUrl*/ 2097152) {
|
|
14666
|
+
translationUrl && setTranslationUrl();
|
|
14667
|
+
}
|
|
14668
|
+
|
|
14625
14669
|
if ($$self.$$.dirty[0] & /*gamecellsize*/ 256 | $$self.$$.dirty[1] & /*clientstylingurl*/ 1048576) {
|
|
14626
14670
|
gamecellsize && clientstylingurl && setClientStylingURL();
|
|
14627
14671
|
}
|
|
14628
14672
|
|
|
14629
|
-
if ($$self.$$.dirty[1] & /*endpoint, livelobbyendpoint*/
|
|
14673
|
+
if ($$self.$$.dirty[1] & /*endpoint, livelobbyendpoint*/ 402653184) {
|
|
14630
14674
|
endpoint && livelobbyendpoint && setLiveLobbyData();
|
|
14631
14675
|
}
|
|
14632
14676
|
|
|
14633
|
-
if ($$self.$$.dirty[0] & /*livegamedata*/
|
|
14677
|
+
if ($$self.$$.dirty[0] & /*livegamedata*/ 2048) {
|
|
14634
14678
|
livegamedata && updateComponent();
|
|
14635
14679
|
}
|
|
14636
14680
|
|
|
14637
|
-
if ($$self.$$.dirty[0] & /*roulletteref, roulleteresults*/
|
|
14681
|
+
if ($$self.$$.dirty[0] & /*roulletteref, roulleteresults*/ 12288) {
|
|
14638
14682
|
roulletteref && roulleteresults && attachAnimations();
|
|
14639
14683
|
}
|
|
14640
14684
|
};
|
|
@@ -14650,6 +14694,7 @@
|
|
|
14650
14694
|
gamepopularity,
|
|
14651
14695
|
gamecellsize,
|
|
14652
14696
|
showgamename,
|
|
14697
|
+
customStylingContainer,
|
|
14653
14698
|
livegamedata,
|
|
14654
14699
|
roulleteresults,
|
|
14655
14700
|
roulletteref,
|
|
@@ -14658,7 +14703,6 @@
|
|
|
14658
14703
|
hover,
|
|
14659
14704
|
loaded,
|
|
14660
14705
|
image,
|
|
14661
|
-
customStylingContainer,
|
|
14662
14706
|
displaytype,
|
|
14663
14707
|
starttime,
|
|
14664
14708
|
timeformat,
|
|
@@ -14692,6 +14736,7 @@
|
|
|
14692
14736
|
lang,
|
|
14693
14737
|
clientstyling,
|
|
14694
14738
|
clientstylingurl,
|
|
14739
|
+
translationUrl,
|
|
14695
14740
|
gamefunmode,
|
|
14696
14741
|
searchitem,
|
|
14697
14742
|
showfavoredcategory,
|
|
@@ -14735,6 +14780,7 @@
|
|
|
14735
14780
|
lang: 49,
|
|
14736
14781
|
clientstyling: 50,
|
|
14737
14782
|
clientstylingurl: 51,
|
|
14783
|
+
translationUrl: 52,
|
|
14738
14784
|
favorites: 1,
|
|
14739
14785
|
gamethumbnail: 2,
|
|
14740
14786
|
gamename: 3,
|
|
@@ -14742,22 +14788,22 @@
|
|
|
14742
14788
|
gameid: 5,
|
|
14743
14789
|
gameisnew: 6,
|
|
14744
14790
|
gamepopularity: 7,
|
|
14745
|
-
gamefunmode:
|
|
14746
|
-
searchitem:
|
|
14791
|
+
gamefunmode: 53,
|
|
14792
|
+
searchitem: 54,
|
|
14747
14793
|
gamefavorite: 0,
|
|
14748
14794
|
gamecellsize: 8,
|
|
14749
|
-
showfavoredcategory:
|
|
14795
|
+
showfavoredcategory: 55,
|
|
14750
14796
|
showgamename: 9,
|
|
14751
|
-
currency:
|
|
14752
|
-
gamepagemodalurl:
|
|
14753
|
-
endpoint:
|
|
14754
|
-
livelobbyendpoint:
|
|
14755
|
-
connectlive:
|
|
14756
|
-
visibilityconnect:
|
|
14757
|
-
integratedgameframedesktop:
|
|
14758
|
-
integratedgameframemobile:
|
|
14759
|
-
MONEY_WHEEL_COLOR_MAP:
|
|
14760
|
-
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
|
|
14761
14807
|
},
|
|
14762
14808
|
null,
|
|
14763
14809
|
[-1, -1, -1, -1]
|
|
@@ -14782,6 +14828,7 @@
|
|
|
14782
14828
|
"lang",
|
|
14783
14829
|
"clientstyling",
|
|
14784
14830
|
"clientstylingurl",
|
|
14831
|
+
"translationUrl",
|
|
14785
14832
|
"favorites",
|
|
14786
14833
|
"gamethumbnail",
|
|
14787
14834
|
"gamename",
|
|
@@ -14853,6 +14900,15 @@
|
|
|
14853
14900
|
flush();
|
|
14854
14901
|
}
|
|
14855
14902
|
|
|
14903
|
+
get translationUrl() {
|
|
14904
|
+
return this.$$.ctx[52];
|
|
14905
|
+
}
|
|
14906
|
+
|
|
14907
|
+
set translationUrl(translationUrl) {
|
|
14908
|
+
this.$$set({ translationUrl });
|
|
14909
|
+
flush();
|
|
14910
|
+
}
|
|
14911
|
+
|
|
14856
14912
|
get favorites() {
|
|
14857
14913
|
return this.$$.ctx[1];
|
|
14858
14914
|
}
|
|
@@ -14917,7 +14973,7 @@
|
|
|
14917
14973
|
}
|
|
14918
14974
|
|
|
14919
14975
|
get gamefunmode() {
|
|
14920
|
-
return this.$$.ctx[
|
|
14976
|
+
return this.$$.ctx[53];
|
|
14921
14977
|
}
|
|
14922
14978
|
|
|
14923
14979
|
set gamefunmode(gamefunmode) {
|
|
@@ -14926,7 +14982,7 @@
|
|
|
14926
14982
|
}
|
|
14927
14983
|
|
|
14928
14984
|
get searchitem() {
|
|
14929
|
-
return this.$$.ctx[
|
|
14985
|
+
return this.$$.ctx[54];
|
|
14930
14986
|
}
|
|
14931
14987
|
|
|
14932
14988
|
set searchitem(searchitem) {
|
|
@@ -14953,7 +15009,7 @@
|
|
|
14953
15009
|
}
|
|
14954
15010
|
|
|
14955
15011
|
get showfavoredcategory() {
|
|
14956
|
-
return this.$$.ctx[
|
|
15012
|
+
return this.$$.ctx[55];
|
|
14957
15013
|
}
|
|
14958
15014
|
|
|
14959
15015
|
set showfavoredcategory(showfavoredcategory) {
|
|
@@ -14971,7 +15027,7 @@
|
|
|
14971
15027
|
}
|
|
14972
15028
|
|
|
14973
15029
|
get currency() {
|
|
14974
|
-
return this.$$.ctx[
|
|
15030
|
+
return this.$$.ctx[56];
|
|
14975
15031
|
}
|
|
14976
15032
|
|
|
14977
15033
|
set currency(currency) {
|
|
@@ -14980,7 +15036,7 @@
|
|
|
14980
15036
|
}
|
|
14981
15037
|
|
|
14982
15038
|
get gamepagemodalurl() {
|
|
14983
|
-
return this.$$.ctx[
|
|
15039
|
+
return this.$$.ctx[57];
|
|
14984
15040
|
}
|
|
14985
15041
|
|
|
14986
15042
|
set gamepagemodalurl(gamepagemodalurl) {
|
|
@@ -14989,7 +15045,7 @@
|
|
|
14989
15045
|
}
|
|
14990
15046
|
|
|
14991
15047
|
get endpoint() {
|
|
14992
|
-
return this.$$.ctx[
|
|
15048
|
+
return this.$$.ctx[58];
|
|
14993
15049
|
}
|
|
14994
15050
|
|
|
14995
15051
|
set endpoint(endpoint) {
|
|
@@ -14998,7 +15054,7 @@
|
|
|
14998
15054
|
}
|
|
14999
15055
|
|
|
15000
15056
|
get livelobbyendpoint() {
|
|
15001
|
-
return this.$$.ctx[
|
|
15057
|
+
return this.$$.ctx[59];
|
|
15002
15058
|
}
|
|
15003
15059
|
|
|
15004
15060
|
set livelobbyendpoint(livelobbyendpoint) {
|
|
@@ -15007,7 +15063,7 @@
|
|
|
15007
15063
|
}
|
|
15008
15064
|
|
|
15009
15065
|
get connectlive() {
|
|
15010
|
-
return this.$$.ctx[
|
|
15066
|
+
return this.$$.ctx[60];
|
|
15011
15067
|
}
|
|
15012
15068
|
|
|
15013
15069
|
set connectlive(connectlive) {
|
|
@@ -15016,7 +15072,7 @@
|
|
|
15016
15072
|
}
|
|
15017
15073
|
|
|
15018
15074
|
get visibilityconnect() {
|
|
15019
|
-
return this.$$.ctx[
|
|
15075
|
+
return this.$$.ctx[61];
|
|
15020
15076
|
}
|
|
15021
15077
|
|
|
15022
15078
|
set visibilityconnect(visibilityconnect) {
|
|
@@ -15025,7 +15081,7 @@
|
|
|
15025
15081
|
}
|
|
15026
15082
|
|
|
15027
15083
|
get integratedgameframedesktop() {
|
|
15028
|
-
return this.$$.ctx[
|
|
15084
|
+
return this.$$.ctx[62];
|
|
15029
15085
|
}
|
|
15030
15086
|
|
|
15031
15087
|
set integratedgameframedesktop(integratedgameframedesktop) {
|
|
@@ -15034,7 +15090,7 @@
|
|
|
15034
15090
|
}
|
|
15035
15091
|
|
|
15036
15092
|
get integratedgameframemobile() {
|
|
15037
|
-
return this.$$.ctx[
|
|
15093
|
+
return this.$$.ctx[63];
|
|
15038
15094
|
}
|
|
15039
15095
|
|
|
15040
15096
|
set integratedgameframemobile(integratedgameframemobile) {
|
|
@@ -15043,7 +15099,7 @@
|
|
|
15043
15099
|
}
|
|
15044
15100
|
|
|
15045
15101
|
get MONEY_WHEEL_COLOR_MAP() {
|
|
15046
|
-
return this.$$.ctx[
|
|
15102
|
+
return this.$$.ctx[64];
|
|
15047
15103
|
}
|
|
15048
15104
|
|
|
15049
15105
|
set MONEY_WHEEL_COLOR_MAP(value) {
|
|
@@ -15051,7 +15107,7 @@
|
|
|
15051
15107
|
}
|
|
15052
15108
|
|
|
15053
15109
|
get ROULETTE_COLOR_MAP() {
|
|
15054
|
-
return this.$$.ctx[
|
|
15110
|
+
return this.$$.ctx[65];
|
|
15055
15111
|
}
|
|
15056
15112
|
|
|
15057
15113
|
set ROULETTE_COLOR_MAP(value) {
|
|
@@ -15068,11 +15124,11 @@
|
|
|
15068
15124
|
|
|
15069
15125
|
function get_each_context(ctx, list, i) {
|
|
15070
15126
|
const child_ctx = ctx.slice();
|
|
15071
|
-
child_ctx[
|
|
15127
|
+
child_ctx[37] = list[i];
|
|
15072
15128
|
return child_ctx;
|
|
15073
15129
|
}
|
|
15074
15130
|
|
|
15075
|
-
// (
|
|
15131
|
+
// (224:4) {:else}
|
|
15076
15132
|
function create_else_block(ctx) {
|
|
15077
15133
|
let t0;
|
|
15078
15134
|
let div;
|
|
@@ -15080,14 +15136,14 @@
|
|
|
15080
15136
|
let div_class_value;
|
|
15081
15137
|
|
|
15082
15138
|
function select_block_type_1(ctx, dirty) {
|
|
15083
|
-
if (/*searchActive*/ ctx[
|
|
15084
|
-
if (/*searchArray*/ ctx[
|
|
15139
|
+
if (/*searchActive*/ ctx[11] == true && /*searchValue*/ ctx[6].length < 2) return create_if_block_3;
|
|
15140
|
+
if (/*searchArray*/ ctx[9].length != 0) return create_if_block_5;
|
|
15085
15141
|
}
|
|
15086
15142
|
|
|
15087
15143
|
let current_block_type = select_block_type_1(ctx);
|
|
15088
15144
|
let if_block0 = current_block_type && current_block_type(ctx);
|
|
15089
|
-
let if_block1 = /*searchCancelled*/ ctx[
|
|
15090
|
-
let if_block2 = /*searchValue*/ ctx[
|
|
15145
|
+
let if_block1 = /*searchCancelled*/ ctx[7] === false && create_if_block_2(ctx);
|
|
15146
|
+
let if_block2 = /*searchValue*/ ctx[6].length >= 2 && /*searchArray*/ ctx[9].length == 0 && create_if_block_1(ctx);
|
|
15091
15147
|
|
|
15092
15148
|
const block = {
|
|
15093
15149
|
c: function create() {
|
|
@@ -15097,8 +15153,8 @@
|
|
|
15097
15153
|
if (if_block1) if_block1.c();
|
|
15098
15154
|
t1 = space();
|
|
15099
15155
|
if (if_block2) if_block2.c();
|
|
15100
|
-
attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[
|
|
15101
|
-
add_location(div, file,
|
|
15156
|
+
attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[11] == true ? '' : 'NotVisible'));
|
|
15157
|
+
add_location(div, file, 234, 6, 8220);
|
|
15102
15158
|
},
|
|
15103
15159
|
m: function mount(target, anchor) {
|
|
15104
15160
|
if (if_block0) if_block0.m(target, anchor);
|
|
@@ -15121,7 +15177,7 @@
|
|
|
15121
15177
|
}
|
|
15122
15178
|
}
|
|
15123
15179
|
|
|
15124
|
-
if (/*searchCancelled*/ ctx[
|
|
15180
|
+
if (/*searchCancelled*/ ctx[7] === false) {
|
|
15125
15181
|
if (if_block1) {
|
|
15126
15182
|
if_block1.p(ctx, dirty);
|
|
15127
15183
|
} else {
|
|
@@ -15134,7 +15190,7 @@
|
|
|
15134
15190
|
if_block1 = null;
|
|
15135
15191
|
}
|
|
15136
15192
|
|
|
15137
|
-
if (/*searchValue*/ ctx[
|
|
15193
|
+
if (/*searchValue*/ ctx[6].length >= 2 && /*searchArray*/ ctx[9].length == 0) {
|
|
15138
15194
|
if (if_block2) {
|
|
15139
15195
|
if_block2.p(ctx, dirty);
|
|
15140
15196
|
} else {
|
|
@@ -15147,7 +15203,7 @@
|
|
|
15147
15203
|
if_block2 = null;
|
|
15148
15204
|
}
|
|
15149
15205
|
|
|
15150
|
-
if (dirty[0] & /*searchActive*/
|
|
15206
|
+
if (dirty[0] & /*searchActive*/ 2048 && div_class_value !== (div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[11] == true ? '' : 'NotVisible'))) {
|
|
15151
15207
|
attr_dev(div, "class", div_class_value);
|
|
15152
15208
|
}
|
|
15153
15209
|
},
|
|
@@ -15167,31 +15223,31 @@
|
|
|
15167
15223
|
block,
|
|
15168
15224
|
id: create_else_block.name,
|
|
15169
15225
|
type: "else",
|
|
15170
|
-
source: "(
|
|
15226
|
+
source: "(224:4) {:else}",
|
|
15171
15227
|
ctx
|
|
15172
15228
|
});
|
|
15173
15229
|
|
|
15174
15230
|
return block;
|
|
15175
15231
|
}
|
|
15176
15232
|
|
|
15177
|
-
// (
|
|
15233
|
+
// (222:4) {#if isLoading}
|
|
15178
15234
|
function create_if_block(ctx) {
|
|
15179
15235
|
let p;
|
|
15180
|
-
let t_value = /*$_*/ ctx[
|
|
15236
|
+
let t_value = /*$_*/ ctx[13]('Translations.loading') + "";
|
|
15181
15237
|
let t;
|
|
15182
15238
|
|
|
15183
15239
|
const block = {
|
|
15184
15240
|
c: function create() {
|
|
15185
15241
|
p = element("p");
|
|
15186
15242
|
t = text(t_value);
|
|
15187
|
-
add_location(p, file,
|
|
15243
|
+
add_location(p, file, 222, 6, 7712);
|
|
15188
15244
|
},
|
|
15189
15245
|
m: function mount(target, anchor) {
|
|
15190
15246
|
insert_dev(target, p, anchor);
|
|
15191
15247
|
append_dev(p, t);
|
|
15192
15248
|
},
|
|
15193
15249
|
p: function update(ctx, dirty) {
|
|
15194
|
-
if (dirty[0] & /*$_*/
|
|
15250
|
+
if (dirty[0] & /*$_*/ 8192 && t_value !== (t_value = /*$_*/ ctx[13]('Translations.loading') + "")) set_data_dev(t, t_value);
|
|
15195
15251
|
},
|
|
15196
15252
|
d: function destroy(detaching) {
|
|
15197
15253
|
if (detaching) detach_dev(p);
|
|
@@ -15202,17 +15258,17 @@
|
|
|
15202
15258
|
block,
|
|
15203
15259
|
id: create_if_block.name,
|
|
15204
15260
|
type: "if",
|
|
15205
|
-
source: "(
|
|
15261
|
+
source: "(222:4) {#if isLoading}",
|
|
15206
15262
|
ctx
|
|
15207
15263
|
});
|
|
15208
15264
|
|
|
15209
15265
|
return block;
|
|
15210
15266
|
}
|
|
15211
15267
|
|
|
15212
|
-
// (
|
|
15268
|
+
// (232:40)
|
|
15213
15269
|
function create_if_block_5(ctx) {
|
|
15214
15270
|
let p;
|
|
15215
|
-
let t_value = /*$_*/ ctx[
|
|
15271
|
+
let t_value = /*$_*/ ctx[13]('Translations.searchResult') + "";
|
|
15216
15272
|
let t;
|
|
15217
15273
|
|
|
15218
15274
|
const block = {
|
|
@@ -15220,14 +15276,14 @@
|
|
|
15220
15276
|
p = element("p");
|
|
15221
15277
|
t = text(t_value);
|
|
15222
15278
|
attr_dev(p, "class", "SearchMessage");
|
|
15223
|
-
add_location(p, file,
|
|
15279
|
+
add_location(p, file, 232, 8, 8138);
|
|
15224
15280
|
},
|
|
15225
15281
|
m: function mount(target, anchor) {
|
|
15226
15282
|
insert_dev(target, p, anchor);
|
|
15227
15283
|
append_dev(p, t);
|
|
15228
15284
|
},
|
|
15229
15285
|
p: function update(ctx, dirty) {
|
|
15230
|
-
if (dirty[0] & /*$_*/
|
|
15286
|
+
if (dirty[0] & /*$_*/ 8192 && t_value !== (t_value = /*$_*/ ctx[13]('Translations.searchResult') + "")) set_data_dev(t, t_value);
|
|
15231
15287
|
},
|
|
15232
15288
|
d: function destroy(detaching) {
|
|
15233
15289
|
if (detaching) detach_dev(p);
|
|
@@ -15238,21 +15294,21 @@
|
|
|
15238
15294
|
block,
|
|
15239
15295
|
id: create_if_block_5.name,
|
|
15240
15296
|
type: "if",
|
|
15241
|
-
source: "(
|
|
15297
|
+
source: "(232:40) ",
|
|
15242
15298
|
ctx
|
|
15243
15299
|
});
|
|
15244
15300
|
|
|
15245
15301
|
return block;
|
|
15246
15302
|
}
|
|
15247
15303
|
|
|
15248
|
-
// (
|
|
15304
|
+
// (225:6) {#if searchActive == true && searchValue.length < 2}
|
|
15249
15305
|
function create_if_block_3(ctx) {
|
|
15250
15306
|
let p;
|
|
15251
|
-
let t0_value = /*$_*/ ctx[
|
|
15307
|
+
let t0_value = /*$_*/ ctx[13]('Translations.recentSearch') + "";
|
|
15252
15308
|
let t0;
|
|
15253
15309
|
let t1;
|
|
15254
15310
|
let if_block_anchor;
|
|
15255
|
-
let if_block = /*searchArray*/ ctx[
|
|
15311
|
+
let if_block = /*searchArray*/ ctx[9].length == 0 && create_if_block_4(ctx);
|
|
15256
15312
|
|
|
15257
15313
|
const block = {
|
|
15258
15314
|
c: function create() {
|
|
@@ -15262,7 +15318,7 @@
|
|
|
15262
15318
|
if (if_block) if_block.c();
|
|
15263
15319
|
if_block_anchor = empty();
|
|
15264
15320
|
attr_dev(p, "class", "SearchMessage");
|
|
15265
|
-
add_location(p, file,
|
|
15321
|
+
add_location(p, file, 225, 8, 7827);
|
|
15266
15322
|
},
|
|
15267
15323
|
m: function mount(target, anchor) {
|
|
15268
15324
|
insert_dev(target, p, anchor);
|
|
@@ -15272,9 +15328,9 @@
|
|
|
15272
15328
|
insert_dev(target, if_block_anchor, anchor);
|
|
15273
15329
|
},
|
|
15274
15330
|
p: function update(ctx, dirty) {
|
|
15275
|
-
if (dirty[0] & /*$_*/
|
|
15331
|
+
if (dirty[0] & /*$_*/ 8192 && t0_value !== (t0_value = /*$_*/ ctx[13]('Translations.recentSearch') + "")) set_data_dev(t0, t0_value);
|
|
15276
15332
|
|
|
15277
|
-
if (/*searchArray*/ ctx[
|
|
15333
|
+
if (/*searchArray*/ ctx[9].length == 0) {
|
|
15278
15334
|
if (if_block) {
|
|
15279
15335
|
if_block.p(ctx, dirty);
|
|
15280
15336
|
} else {
|
|
@@ -15299,18 +15355,18 @@
|
|
|
15299
15355
|
block,
|
|
15300
15356
|
id: create_if_block_3.name,
|
|
15301
15357
|
type: "if",
|
|
15302
|
-
source: "(
|
|
15358
|
+
source: "(225:6) {#if searchActive == true && searchValue.length < 2}",
|
|
15303
15359
|
ctx
|
|
15304
15360
|
});
|
|
15305
15361
|
|
|
15306
15362
|
return block;
|
|
15307
15363
|
}
|
|
15308
15364
|
|
|
15309
|
-
// (
|
|
15365
|
+
// (227:10) {#if searchArray.length == 0}
|
|
15310
15366
|
function create_if_block_4(ctx) {
|
|
15311
15367
|
let div;
|
|
15312
15368
|
let p;
|
|
15313
|
-
let t_value = /*$_*/ ctx[
|
|
15369
|
+
let t_value = /*$_*/ ctx[13]('Translations.noRecentSearches') + "";
|
|
15314
15370
|
let t;
|
|
15315
15371
|
|
|
15316
15372
|
const block = {
|
|
@@ -15319,9 +15375,9 @@
|
|
|
15319
15375
|
p = element("p");
|
|
15320
15376
|
t = text(t_value);
|
|
15321
15377
|
attr_dev(p, "class", "SearchMessage");
|
|
15322
|
-
add_location(p, file,
|
|
15378
|
+
add_location(p, file, 228, 12, 7988);
|
|
15323
15379
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15324
|
-
add_location(div, file,
|
|
15380
|
+
add_location(div, file, 227, 10, 7940);
|
|
15325
15381
|
},
|
|
15326
15382
|
m: function mount(target, anchor) {
|
|
15327
15383
|
insert_dev(target, div, anchor);
|
|
@@ -15329,7 +15385,7 @@
|
|
|
15329
15385
|
append_dev(p, t);
|
|
15330
15386
|
},
|
|
15331
15387
|
p: function update(ctx, dirty) {
|
|
15332
|
-
if (dirty[0] & /*$_*/
|
|
15388
|
+
if (dirty[0] & /*$_*/ 8192 && t_value !== (t_value = /*$_*/ ctx[13]('Translations.noRecentSearches') + "")) set_data_dev(t, t_value);
|
|
15333
15389
|
},
|
|
15334
15390
|
d: function destroy(detaching) {
|
|
15335
15391
|
if (detaching) detach_dev(div);
|
|
@@ -15340,17 +15396,17 @@
|
|
|
15340
15396
|
block,
|
|
15341
15397
|
id: create_if_block_4.name,
|
|
15342
15398
|
type: "if",
|
|
15343
|
-
source: "(
|
|
15399
|
+
source: "(227:10) {#if searchArray.length == 0}",
|
|
15344
15400
|
ctx
|
|
15345
15401
|
});
|
|
15346
15402
|
|
|
15347
15403
|
return block;
|
|
15348
15404
|
}
|
|
15349
15405
|
|
|
15350
|
-
// (
|
|
15406
|
+
// (236:8) {#if searchCancelled === false}
|
|
15351
15407
|
function create_if_block_2(ctx) {
|
|
15352
15408
|
let each_1_anchor;
|
|
15353
|
-
let each_value = /*searchArray*/ ctx[
|
|
15409
|
+
let each_value = /*searchArray*/ ctx[9];
|
|
15354
15410
|
validate_each_argument(each_value);
|
|
15355
15411
|
let each_blocks = [];
|
|
15356
15412
|
|
|
@@ -15374,8 +15430,8 @@
|
|
|
15374
15430
|
insert_dev(target, each_1_anchor, anchor);
|
|
15375
15431
|
},
|
|
15376
15432
|
p: function update(ctx, dirty) {
|
|
15377
|
-
if (dirty[0] & /*lang, searchArray, endpoint, integratedgameframedesktop, integratedgameframemobile*/
|
|
15378
|
-
each_value = /*searchArray*/ ctx[
|
|
15433
|
+
if (dirty[0] & /*lang, searchArray, endpoint, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl*/ 575) {
|
|
15434
|
+
each_value = /*searchArray*/ ctx[9];
|
|
15379
15435
|
validate_each_argument(each_value);
|
|
15380
15436
|
let i;
|
|
15381
15437
|
|
|
@@ -15408,14 +15464,14 @@
|
|
|
15408
15464
|
block,
|
|
15409
15465
|
id: create_if_block_2.name,
|
|
15410
15466
|
type: "if",
|
|
15411
|
-
source: "(
|
|
15467
|
+
source: "(236:8) {#if searchCancelled === false}",
|
|
15412
15468
|
ctx
|
|
15413
15469
|
});
|
|
15414
15470
|
|
|
15415
15471
|
return block;
|
|
15416
15472
|
}
|
|
15417
15473
|
|
|
15418
|
-
// (
|
|
15474
|
+
// (237:10) {#each searchArray as game}
|
|
15419
15475
|
function create_each_block(ctx) {
|
|
15420
15476
|
let casino_game_thumbnail;
|
|
15421
15477
|
let casino_game_thumbnail_gamethumbnail_value;
|
|
@@ -15433,24 +15489,26 @@
|
|
|
15433
15489
|
c: function create() {
|
|
15434
15490
|
casino_game_thumbnail = element("casino-game-thumbnail");
|
|
15435
15491
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
15436
|
-
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[
|
|
15437
|
-
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[
|
|
15438
|
-
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[
|
|
15439
|
-
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[
|
|
15440
|
-
set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[
|
|
15441
|
-
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[
|
|
15442
|
-
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[
|
|
15443
|
-
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[
|
|
15444
|
-
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[
|
|
15445
|
-
|
|
15446
|
-
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[
|
|
15447
|
-
? /*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
|
|
15448
15504
|
: '');
|
|
15449
15505
|
|
|
15450
15506
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
15451
|
-
set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[
|
|
15452
|
-
set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[
|
|
15453
|
-
|
|
15507
|
+
set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[4]);
|
|
15508
|
+
set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[5]);
|
|
15509
|
+
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
|
|
15510
|
+
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
|
|
15511
|
+
add_location(casino_game_thumbnail, file, 237, 12, 8389);
|
|
15454
15512
|
},
|
|
15455
15513
|
m: function mount(target, anchor) {
|
|
15456
15514
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -15460,44 +15518,44 @@
|
|
|
15460
15518
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
15461
15519
|
}
|
|
15462
15520
|
|
|
15463
|
-
if (dirty[0] & /*searchArray*/
|
|
15521
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[37].thumbnail)) {
|
|
15464
15522
|
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
|
|
15465
15523
|
}
|
|
15466
15524
|
|
|
15467
|
-
if (dirty[0] & /*searchArray*/
|
|
15525
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[37].name)) {
|
|
15468
15526
|
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
|
|
15469
15527
|
}
|
|
15470
15528
|
|
|
15471
|
-
if (dirty[0] & /*searchArray*/
|
|
15529
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[37].vendor.name)) {
|
|
15472
15530
|
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
|
|
15473
15531
|
}
|
|
15474
15532
|
|
|
15475
|
-
if (dirty[0] & /*searchArray*/
|
|
15533
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[37].isNew)) {
|
|
15476
15534
|
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
|
|
15477
15535
|
}
|
|
15478
15536
|
|
|
15479
|
-
if (dirty[0] & /*searchArray*/
|
|
15537
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[37].popularity)) {
|
|
15480
15538
|
set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value);
|
|
15481
15539
|
}
|
|
15482
15540
|
|
|
15483
|
-
if (dirty[0] & /*searchArray*/
|
|
15541
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[37].cellSize)) {
|
|
15484
15542
|
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
|
|
15485
15543
|
}
|
|
15486
15544
|
|
|
15487
|
-
if (dirty[0] & /*searchArray*/
|
|
15545
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[37].id)) {
|
|
15488
15546
|
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
|
|
15489
15547
|
}
|
|
15490
15548
|
|
|
15491
|
-
if (dirty[0] & /*searchArray*/
|
|
15549
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[37].hasFunMode)) {
|
|
15492
15550
|
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
|
|
15493
15551
|
}
|
|
15494
15552
|
|
|
15495
|
-
if (dirty[0] & /*searchArray*/
|
|
15553
|
+
if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[37].isFavorite)) {
|
|
15496
15554
|
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
|
|
15497
15555
|
}
|
|
15498
15556
|
|
|
15499
|
-
if (dirty[0] & /*searchArray*/
|
|
15500
|
-
? /*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
|
|
15501
15559
|
: '')) {
|
|
15502
15560
|
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value);
|
|
15503
15561
|
}
|
|
@@ -15506,12 +15564,20 @@
|
|
|
15506
15564
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
15507
15565
|
}
|
|
15508
15566
|
|
|
15509
|
-
if (dirty[0] & /*integratedgameframedesktop*/
|
|
15510
|
-
set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[
|
|
15567
|
+
if (dirty[0] & /*integratedgameframedesktop*/ 16) {
|
|
15568
|
+
set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[4]);
|
|
15511
15569
|
}
|
|
15512
15570
|
|
|
15513
|
-
if (dirty[0] & /*integratedgameframemobile*/
|
|
15514
|
-
set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[
|
|
15571
|
+
if (dirty[0] & /*integratedgameframemobile*/ 32) {
|
|
15572
|
+
set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[5]);
|
|
15573
|
+
}
|
|
15574
|
+
|
|
15575
|
+
if (dirty[0] & /*clientstyling*/ 4) {
|
|
15576
|
+
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
|
|
15577
|
+
}
|
|
15578
|
+
|
|
15579
|
+
if (dirty[0] & /*clientstylingurl*/ 8) {
|
|
15580
|
+
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
|
|
15515
15581
|
}
|
|
15516
15582
|
},
|
|
15517
15583
|
d: function destroy(detaching) {
|
|
@@ -15523,22 +15589,22 @@
|
|
|
15523
15589
|
block,
|
|
15524
15590
|
id: create_each_block.name,
|
|
15525
15591
|
type: "each",
|
|
15526
|
-
source: "(
|
|
15592
|
+
source: "(237:10) {#each searchArray as game}",
|
|
15527
15593
|
ctx
|
|
15528
15594
|
});
|
|
15529
15595
|
|
|
15530
15596
|
return block;
|
|
15531
15597
|
}
|
|
15532
15598
|
|
|
15533
|
-
// (
|
|
15599
|
+
// (258:8) {#if searchValue.length >= 2 && searchArray.length == 0}
|
|
15534
15600
|
function create_if_block_1(ctx) {
|
|
15535
15601
|
let div;
|
|
15536
15602
|
let p0;
|
|
15537
|
-
let t0_value = /*$_*/ ctx[
|
|
15603
|
+
let t0_value = /*$_*/ ctx[13]('Translations.notFound') + "";
|
|
15538
15604
|
let t0;
|
|
15539
15605
|
let t1;
|
|
15540
15606
|
let p1;
|
|
15541
|
-
let t2_value = /*$_*/ ctx[
|
|
15607
|
+
let t2_value = /*$_*/ ctx[13]('Translations.notFoundText') + "";
|
|
15542
15608
|
let t2;
|
|
15543
15609
|
|
|
15544
15610
|
const block = {
|
|
@@ -15550,10 +15616,10 @@
|
|
|
15550
15616
|
p1 = element("p");
|
|
15551
15617
|
t2 = text(t2_value);
|
|
15552
15618
|
attr_dev(p0, "class", "SearchMessage");
|
|
15553
|
-
add_location(p0, file,
|
|
15554
|
-
add_location(p1, file,
|
|
15619
|
+
add_location(p0, file, 259, 12, 9253);
|
|
15620
|
+
add_location(p1, file, 260, 12, 9324);
|
|
15555
15621
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15556
|
-
add_location(div, file,
|
|
15622
|
+
add_location(div, file, 258, 10, 9205);
|
|
15557
15623
|
},
|
|
15558
15624
|
m: function mount(target, anchor) {
|
|
15559
15625
|
insert_dev(target, div, anchor);
|
|
@@ -15564,8 +15630,8 @@
|
|
|
15564
15630
|
append_dev(p1, t2);
|
|
15565
15631
|
},
|
|
15566
15632
|
p: function update(ctx, dirty) {
|
|
15567
|
-
if (dirty[0] & /*$_*/
|
|
15568
|
-
if (dirty[0] & /*$_*/
|
|
15633
|
+
if (dirty[0] & /*$_*/ 8192 && t0_value !== (t0_value = /*$_*/ ctx[13]('Translations.notFound') + "")) set_data_dev(t0, t0_value);
|
|
15634
|
+
if (dirty[0] & /*$_*/ 8192 && t2_value !== (t2_value = /*$_*/ ctx[13]('Translations.notFoundText') + "")) set_data_dev(t2, t2_value);
|
|
15569
15635
|
},
|
|
15570
15636
|
d: function destroy(detaching) {
|
|
15571
15637
|
if (detaching) detach_dev(div);
|
|
@@ -15576,7 +15642,7 @@
|
|
|
15576
15642
|
block,
|
|
15577
15643
|
id: create_if_block_1.name,
|
|
15578
15644
|
type: "if",
|
|
15579
|
-
source: "(
|
|
15645
|
+
source: "(258:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
|
|
15580
15646
|
ctx
|
|
15581
15647
|
});
|
|
15582
15648
|
|
|
@@ -15602,7 +15668,7 @@
|
|
|
15602
15668
|
let span_class_value;
|
|
15603
15669
|
let t2;
|
|
15604
15670
|
let small;
|
|
15605
|
-
let t3_value = /*$_*/ ctx[
|
|
15671
|
+
let t3_value = /*$_*/ ctx[13]('Translations.cancel') + "";
|
|
15606
15672
|
let t3;
|
|
15607
15673
|
let small_class_value;
|
|
15608
15674
|
let t4;
|
|
@@ -15610,7 +15676,7 @@
|
|
|
15610
15676
|
let dispose;
|
|
15611
15677
|
|
|
15612
15678
|
function select_block_type(ctx, dirty) {
|
|
15613
|
-
if (/*isLoading*/ ctx[
|
|
15679
|
+
if (/*isLoading*/ ctx[12]) return create_if_block;
|
|
15614
15680
|
return create_else_block;
|
|
15615
15681
|
}
|
|
15616
15682
|
|
|
@@ -15644,46 +15710,46 @@
|
|
|
15644
15710
|
attr_dev(path0, "stroke-linecap", "round");
|
|
15645
15711
|
attr_dev(path0, "stroke-linejoin", "round");
|
|
15646
15712
|
attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
|
|
15647
|
-
add_location(path0, file,
|
|
15713
|
+
add_location(path0, file, 205, 10, 6683);
|
|
15648
15714
|
attr_dev(circle, "cx", "6.5");
|
|
15649
15715
|
attr_dev(circle, "cy", "6.5");
|
|
15650
15716
|
attr_dev(circle, "r", "5.75");
|
|
15651
15717
|
attr_dev(circle, "stroke", "#212121");
|
|
15652
15718
|
attr_dev(circle, "stroke-width", "1.5");
|
|
15653
|
-
add_location(circle, file,
|
|
15719
|
+
add_location(circle, file, 206, 10, 6811);
|
|
15654
15720
|
attr_dev(svg0, "width", "14");
|
|
15655
15721
|
attr_dev(svg0, "height", "15");
|
|
15656
15722
|
attr_dev(svg0, "fill", "none");
|
|
15657
15723
|
attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
|
|
15658
|
-
add_location(svg0, file,
|
|
15724
|
+
add_location(svg0, file, 204, 8, 6597);
|
|
15659
15725
|
attr_dev(div0, "class", "SearchIcon");
|
|
15660
|
-
add_location(div0, file,
|
|
15726
|
+
add_location(div0, file, 203, 6, 6564);
|
|
15661
15727
|
attr_dev(input, "class", "SearchInput");
|
|
15662
15728
|
attr_dev(input, "type", "search");
|
|
15663
|
-
attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[
|
|
15664
|
-
add_location(input, file,
|
|
15729
|
+
attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[13]('Translations.placeHolderSearchGames'));
|
|
15730
|
+
add_location(input, file, 210, 8, 6956);
|
|
15665
15731
|
attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
|
|
15666
15732
|
attr_dev(path1, "stroke", "#717171");
|
|
15667
15733
|
attr_dev(path1, "stroke-width", "2");
|
|
15668
15734
|
attr_dev(path1, "stroke-linecap", "round");
|
|
15669
15735
|
attr_dev(path1, "stroke-linejoin", "round");
|
|
15670
|
-
add_location(path1, file,
|
|
15736
|
+
add_location(path1, file, 213, 12, 7343);
|
|
15671
15737
|
attr_dev(svg1, "width", "11");
|
|
15672
15738
|
attr_dev(svg1, "height", "11");
|
|
15673
15739
|
attr_dev(svg1, "fill", "none");
|
|
15674
15740
|
attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
|
|
15675
|
-
add_location(svg1, file,
|
|
15676
|
-
attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[
|
|
15677
|
-
add_location(span, file,
|
|
15741
|
+
add_location(svg1, file, 212, 10, 7255);
|
|
15742
|
+
attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[6].length != 0 ? '' : 'NotVisible'));
|
|
15743
|
+
add_location(span, file, 211, 8, 7134);
|
|
15678
15744
|
attr_dev(div1, "class", "SearchContainer");
|
|
15679
|
-
add_location(div1, file,
|
|
15680
|
-
attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[
|
|
15681
|
-
add_location(small, file,
|
|
15745
|
+
add_location(div1, file, 209, 6, 6918);
|
|
15746
|
+
attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[7] ? 'NotVisible' : ''));
|
|
15747
|
+
add_location(small, file, 217, 6, 7519);
|
|
15682
15748
|
attr_dev(div2, "class", "Search");
|
|
15683
|
-
add_location(div2, file,
|
|
15749
|
+
add_location(div2, file, 202, 4, 6537);
|
|
15684
15750
|
attr_dev(div3, "class", "CasinoSearch");
|
|
15685
|
-
add_location(div3, file,
|
|
15686
|
-
add_location(div4, file,
|
|
15751
|
+
add_location(div3, file, 201, 2, 6506);
|
|
15752
|
+
add_location(div4, file, 200, 0, 6463);
|
|
15687
15753
|
},
|
|
15688
15754
|
l: function claim(nodes) {
|
|
15689
15755
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -15699,8 +15765,8 @@
|
|
|
15699
15765
|
append_dev(div2, t0);
|
|
15700
15766
|
append_dev(div2, div1);
|
|
15701
15767
|
append_dev(div1, input);
|
|
15702
|
-
set_input_value(input, /*searchValue*/ ctx[
|
|
15703
|
-
/*input_binding*/ ctx[
|
|
15768
|
+
set_input_value(input, /*searchValue*/ ctx[6]);
|
|
15769
|
+
/*input_binding*/ ctx[20](input);
|
|
15704
15770
|
append_dev(div1, t1);
|
|
15705
15771
|
append_dev(div1, span);
|
|
15706
15772
|
append_dev(span, svg1);
|
|
@@ -15710,35 +15776,35 @@
|
|
|
15710
15776
|
append_dev(small, t3);
|
|
15711
15777
|
append_dev(div3, t4);
|
|
15712
15778
|
if_block.m(div3, null);
|
|
15713
|
-
/*div4_binding*/ ctx[
|
|
15779
|
+
/*div4_binding*/ ctx[23](div4);
|
|
15714
15780
|
|
|
15715
15781
|
if (!mounted) {
|
|
15716
15782
|
dispose = [
|
|
15717
|
-
listen_dev(input, "input", /*input_input_handler*/ ctx[
|
|
15718
|
-
listen_dev(input, "focus", /*onFocus*/ ctx[
|
|
15719
|
-
listen_dev(span, "click", /*click_handler*/ ctx[
|
|
15720
|
-
listen_dev(small, "click", /*click_handler_1*/ ctx[
|
|
15783
|
+
listen_dev(input, "input", /*input_input_handler*/ ctx[19]),
|
|
15784
|
+
listen_dev(input, "focus", /*onFocus*/ ctx[14], false, false, false),
|
|
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)
|
|
15721
15787
|
];
|
|
15722
15788
|
|
|
15723
15789
|
mounted = true;
|
|
15724
15790
|
}
|
|
15725
15791
|
},
|
|
15726
15792
|
p: function update(ctx, dirty) {
|
|
15727
|
-
if (dirty[0] & /*$_*/
|
|
15793
|
+
if (dirty[0] & /*$_*/ 8192 && input_placeholder_value !== (input_placeholder_value = /*$_*/ ctx[13]('Translations.placeHolderSearchGames'))) {
|
|
15728
15794
|
attr_dev(input, "placeholder", input_placeholder_value);
|
|
15729
15795
|
}
|
|
15730
15796
|
|
|
15731
|
-
if (dirty[0] & /*searchValue*/
|
|
15732
|
-
set_input_value(input, /*searchValue*/ ctx[
|
|
15797
|
+
if (dirty[0] & /*searchValue*/ 64) {
|
|
15798
|
+
set_input_value(input, /*searchValue*/ ctx[6]);
|
|
15733
15799
|
}
|
|
15734
15800
|
|
|
15735
|
-
if (dirty[0] & /*searchValue*/
|
|
15801
|
+
if (dirty[0] & /*searchValue*/ 64 && span_class_value !== (span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[6].length != 0 ? '' : 'NotVisible'))) {
|
|
15736
15802
|
attr_dev(span, "class", span_class_value);
|
|
15737
15803
|
}
|
|
15738
15804
|
|
|
15739
|
-
if (dirty[0] & /*$_*/
|
|
15805
|
+
if (dirty[0] & /*$_*/ 8192 && t3_value !== (t3_value = /*$_*/ ctx[13]('Translations.cancel') + "")) set_data_dev(t3, t3_value);
|
|
15740
15806
|
|
|
15741
|
-
if (dirty[0] & /*searchCancelled*/
|
|
15807
|
+
if (dirty[0] & /*searchCancelled*/ 128 && small_class_value !== (small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[7] ? 'NotVisible' : ''))) {
|
|
15742
15808
|
attr_dev(small, "class", small_class_value);
|
|
15743
15809
|
}
|
|
15744
15810
|
|
|
@@ -15758,9 +15824,9 @@
|
|
|
15758
15824
|
o: noop$1,
|
|
15759
15825
|
d: function destroy(detaching) {
|
|
15760
15826
|
if (detaching) detach_dev(div4);
|
|
15761
|
-
/*input_binding*/ ctx[
|
|
15827
|
+
/*input_binding*/ ctx[20](null);
|
|
15762
15828
|
if_block.d();
|
|
15763
|
-
/*div4_binding*/ ctx[
|
|
15829
|
+
/*div4_binding*/ ctx[23](null);
|
|
15764
15830
|
mounted = false;
|
|
15765
15831
|
run_all(dispose);
|
|
15766
15832
|
}
|
|
@@ -15780,7 +15846,7 @@
|
|
|
15780
15846
|
function instance($$self, $$props, $$invalidate) {
|
|
15781
15847
|
let $_;
|
|
15782
15848
|
validate_store(Y, '_');
|
|
15783
|
-
component_subscribe($$self, Y, $$value => $$invalidate(
|
|
15849
|
+
component_subscribe($$self, Y, $$value => $$invalidate(13, $_ = $$value));
|
|
15784
15850
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
15785
15851
|
validate_slots('undefined', slots, []);
|
|
15786
15852
|
let { endpoint = '' } = $$props;
|
|
@@ -15790,6 +15856,7 @@
|
|
|
15790
15856
|
let { clientstylingurl = '' } = $$props;
|
|
15791
15857
|
let { integratedgameframedesktop = 'false' } = $$props;
|
|
15792
15858
|
let { integratedgameframemobile = 'false' } = $$props;
|
|
15859
|
+
let { translationUrl = '' } = $$props;
|
|
15793
15860
|
let userAgent = window.navigator.userAgent;
|
|
15794
15861
|
let searchArray = [];
|
|
15795
15862
|
let searchedValues = [];
|
|
@@ -15801,6 +15868,18 @@
|
|
|
15801
15868
|
let isLoading = false;
|
|
15802
15869
|
let customStylingContainer;
|
|
15803
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
|
+
|
|
15804
15883
|
Object.keys(Translations).forEach(item => {
|
|
15805
15884
|
addNewMessages$1(item, Translations[item]);
|
|
15806
15885
|
});
|
|
@@ -15812,8 +15891,8 @@
|
|
|
15812
15891
|
};
|
|
15813
15892
|
|
|
15814
15893
|
const onFocus = () => {
|
|
15815
|
-
$$invalidate(
|
|
15816
|
-
$$invalidate(
|
|
15894
|
+
$$invalidate(7, searchCancelled = false);
|
|
15895
|
+
$$invalidate(11, searchActive = true);
|
|
15817
15896
|
|
|
15818
15897
|
if (endpoint && datasource && lang) {
|
|
15819
15898
|
if (searchValue.length < 2) {
|
|
@@ -15838,24 +15917,29 @@
|
|
|
15838
15917
|
}
|
|
15839
15918
|
|
|
15840
15919
|
Promise.all(promises).then(res => {
|
|
15841
|
-
$$invalidate(
|
|
15920
|
+
$$invalidate(9, searchArray = res);
|
|
15842
15921
|
});
|
|
15843
15922
|
}
|
|
15844
15923
|
}
|
|
15845
15924
|
}
|
|
15846
15925
|
|
|
15847
15926
|
sendSearchStatus(searchActive);
|
|
15927
|
+
|
|
15928
|
+
//Analytics event
|
|
15929
|
+
if (typeof gtag == 'function') {
|
|
15930
|
+
gtag('event', 'SearchInitialized', { 'context': 'SearchWidget' });
|
|
15931
|
+
}
|
|
15848
15932
|
};
|
|
15849
15933
|
|
|
15850
15934
|
const getGames = url => {
|
|
15851
15935
|
return new Promise((resolve, reject) => {
|
|
15852
|
-
$$invalidate(
|
|
15936
|
+
$$invalidate(12, isLoading = true);
|
|
15853
15937
|
|
|
15854
15938
|
fetch(url.href).then(res => res.json()).then(games => {
|
|
15855
|
-
$$invalidate(
|
|
15939
|
+
$$invalidate(12, isLoading = false);
|
|
15856
15940
|
resolve(games);
|
|
15857
15941
|
}).catch(err => {
|
|
15858
|
-
$$invalidate(
|
|
15942
|
+
$$invalidate(12, isLoading = false);
|
|
15859
15943
|
console.error(err);
|
|
15860
15944
|
reject(err);
|
|
15861
15945
|
});
|
|
@@ -15864,18 +15948,18 @@
|
|
|
15864
15948
|
|
|
15865
15949
|
const getGame = (url, gameId) => {
|
|
15866
15950
|
return new Promise((resolve, reject) => {
|
|
15867
|
-
$$invalidate(
|
|
15951
|
+
$$invalidate(12, isLoading = true);
|
|
15868
15952
|
|
|
15869
15953
|
if (gameId && Object.keys(gamesCache).indexOf(gameId) >= 0) {
|
|
15870
|
-
$$invalidate(
|
|
15954
|
+
$$invalidate(12, isLoading = false);
|
|
15871
15955
|
resolve(gamesCache[gameId]);
|
|
15872
15956
|
} else {
|
|
15873
15957
|
fetch(url).then(fetchRes => fetchRes.json()).then(gameData => {
|
|
15874
|
-
$$invalidate(
|
|
15958
|
+
$$invalidate(12, isLoading = false);
|
|
15875
15959
|
gamesCache[gameData[0].gameId] = gameData[0];
|
|
15876
15960
|
resolve(gameData[0]);
|
|
15877
15961
|
}).catch(err => {
|
|
15878
|
-
$$invalidate(
|
|
15962
|
+
$$invalidate(12, isLoading = false);
|
|
15879
15963
|
console.error(err);
|
|
15880
15964
|
reject(err);
|
|
15881
15965
|
});
|
|
@@ -15909,16 +15993,16 @@
|
|
|
15909
15993
|
};
|
|
15910
15994
|
|
|
15911
15995
|
const cancelSearch = () => {
|
|
15912
|
-
$$invalidate(
|
|
15913
|
-
$$invalidate(
|
|
15914
|
-
$$invalidate(
|
|
15915
|
-
$$invalidate(
|
|
15916
|
-
$$invalidate(
|
|
15996
|
+
$$invalidate(6, searchValue = '');
|
|
15997
|
+
$$invalidate(7, searchCancelled = true);
|
|
15998
|
+
$$invalidate(12, isLoading = false);
|
|
15999
|
+
$$invalidate(9, searchArray = []);
|
|
16000
|
+
$$invalidate(11, searchActive = false);
|
|
15917
16001
|
sendSearchStatus(searchActive);
|
|
15918
16002
|
};
|
|
15919
16003
|
|
|
15920
16004
|
const clearSearch = () => {
|
|
15921
|
-
$$invalidate(
|
|
16005
|
+
$$invalidate(6, searchValue = '');
|
|
15922
16006
|
searchElement.focus();
|
|
15923
16007
|
};
|
|
15924
16008
|
|
|
@@ -15949,14 +16033,12 @@
|
|
|
15949
16033
|
fetch(url.href).then(res => res.text()).then(data => {
|
|
15950
16034
|
cssFile.innerHTML = data;
|
|
15951
16035
|
|
|
15952
|
-
|
|
15953
|
-
|
|
15954
|
-
()
|
|
15955
|
-
|
|
15956
|
-
|
|
15957
|
-
|
|
15958
|
-
);
|
|
15959
|
-
}
|
|
16036
|
+
setTimeout(
|
|
16037
|
+
() => {
|
|
16038
|
+
customStylingContainer.appendChild(cssFile);
|
|
16039
|
+
},
|
|
16040
|
+
1
|
|
16041
|
+
);
|
|
15960
16042
|
});
|
|
15961
16043
|
};
|
|
15962
16044
|
|
|
@@ -15975,7 +16057,8 @@
|
|
|
15975
16057
|
'clientstyling',
|
|
15976
16058
|
'clientstylingurl',
|
|
15977
16059
|
'integratedgameframedesktop',
|
|
15978
|
-
'integratedgameframemobile'
|
|
16060
|
+
'integratedgameframemobile',
|
|
16061
|
+
'translationUrl'
|
|
15979
16062
|
];
|
|
15980
16063
|
|
|
15981
16064
|
Object_1.keys($$props).forEach(key => {
|
|
@@ -15984,13 +16067,13 @@
|
|
|
15984
16067
|
|
|
15985
16068
|
function input_input_handler() {
|
|
15986
16069
|
searchValue = this.value;
|
|
15987
|
-
$$invalidate(
|
|
16070
|
+
$$invalidate(6, searchValue);
|
|
15988
16071
|
}
|
|
15989
16072
|
|
|
15990
16073
|
function input_binding($$value) {
|
|
15991
16074
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
15992
16075
|
searchElement = $$value;
|
|
15993
|
-
$$invalidate(
|
|
16076
|
+
$$invalidate(10, searchElement);
|
|
15994
16077
|
});
|
|
15995
16078
|
}
|
|
15996
16079
|
|
|
@@ -16000,18 +16083,19 @@
|
|
|
16000
16083
|
function div4_binding($$value) {
|
|
16001
16084
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
16002
16085
|
customStylingContainer = $$value;
|
|
16003
|
-
$$invalidate(
|
|
16086
|
+
$$invalidate(8, customStylingContainer);
|
|
16004
16087
|
});
|
|
16005
16088
|
}
|
|
16006
16089
|
|
|
16007
16090
|
$$self.$$set = $$props => {
|
|
16008
16091
|
if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
|
|
16009
|
-
if ('datasource' in $$props) $$invalidate(
|
|
16092
|
+
if ('datasource' in $$props) $$invalidate(17, datasource = $$props.datasource);
|
|
16010
16093
|
if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
|
|
16011
|
-
if ('clientstyling' in $$props) $$invalidate(
|
|
16012
|
-
if ('clientstylingurl' in $$props) $$invalidate(
|
|
16013
|
-
if ('integratedgameframedesktop' in $$props) $$invalidate(
|
|
16014
|
-
if ('integratedgameframemobile' in $$props) $$invalidate(
|
|
16094
|
+
if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
|
|
16095
|
+
if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
|
|
16096
|
+
if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
16097
|
+
if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
16098
|
+
if ('translationUrl' in $$props) $$invalidate(18, translationUrl = $$props.translationUrl);
|
|
16015
16099
|
};
|
|
16016
16100
|
|
|
16017
16101
|
$$self.$capture_state = () => ({
|
|
@@ -16028,6 +16112,7 @@
|
|
|
16028
16112
|
clientstylingurl,
|
|
16029
16113
|
integratedgameframedesktop,
|
|
16030
16114
|
integratedgameframemobile,
|
|
16115
|
+
translationUrl,
|
|
16031
16116
|
userAgent,
|
|
16032
16117
|
searchArray,
|
|
16033
16118
|
searchedValues,
|
|
@@ -16038,6 +16123,7 @@
|
|
|
16038
16123
|
searchActive,
|
|
16039
16124
|
isLoading,
|
|
16040
16125
|
customStylingContainer,
|
|
16126
|
+
setTranslationUrl,
|
|
16041
16127
|
messageHandler,
|
|
16042
16128
|
onFocus,
|
|
16043
16129
|
getGames,
|
|
@@ -16055,22 +16141,23 @@
|
|
|
16055
16141
|
|
|
16056
16142
|
$$self.$inject_state = $$props => {
|
|
16057
16143
|
if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
|
|
16058
|
-
if ('datasource' in $$props) $$invalidate(
|
|
16144
|
+
if ('datasource' in $$props) $$invalidate(17, datasource = $$props.datasource);
|
|
16059
16145
|
if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
|
|
16060
|
-
if ('clientstyling' in $$props) $$invalidate(
|
|
16061
|
-
if ('clientstylingurl' in $$props) $$invalidate(
|
|
16062
|
-
if ('integratedgameframedesktop' in $$props) $$invalidate(
|
|
16063
|
-
if ('integratedgameframemobile' in $$props) $$invalidate(
|
|
16064
|
-
if ('
|
|
16065
|
-
if ('
|
|
16146
|
+
if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
|
|
16147
|
+
if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
|
|
16148
|
+
if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
16149
|
+
if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
16150
|
+
if ('translationUrl' in $$props) $$invalidate(18, translationUrl = $$props.translationUrl);
|
|
16151
|
+
if ('userAgent' in $$props) $$invalidate(26, userAgent = $$props.userAgent);
|
|
16152
|
+
if ('searchArray' in $$props) $$invalidate(9, searchArray = $$props.searchArray);
|
|
16066
16153
|
if ('searchedValues' in $$props) searchedValues = $$props.searchedValues;
|
|
16067
16154
|
if ('gamesCache' in $$props) gamesCache = $$props.gamesCache;
|
|
16068
|
-
if ('searchValue' in $$props) $$invalidate(
|
|
16069
|
-
if ('searchElement' in $$props) $$invalidate(
|
|
16070
|
-
if ('searchCancelled' in $$props) $$invalidate(
|
|
16071
|
-
if ('searchActive' in $$props) $$invalidate(
|
|
16072
|
-
if ('isLoading' in $$props) $$invalidate(
|
|
16073
|
-
if ('customStylingContainer' in $$props) $$invalidate(
|
|
16155
|
+
if ('searchValue' in $$props) $$invalidate(6, searchValue = $$props.searchValue);
|
|
16156
|
+
if ('searchElement' in $$props) $$invalidate(10, searchElement = $$props.searchElement);
|
|
16157
|
+
if ('searchCancelled' in $$props) $$invalidate(7, searchCancelled = $$props.searchCancelled);
|
|
16158
|
+
if ('searchActive' in $$props) $$invalidate(11, searchActive = $$props.searchActive);
|
|
16159
|
+
if ('isLoading' in $$props) $$invalidate(12, isLoading = $$props.isLoading);
|
|
16160
|
+
if ('customStylingContainer' in $$props) $$invalidate(8, customStylingContainer = $$props.customStylingContainer);
|
|
16074
16161
|
};
|
|
16075
16162
|
|
|
16076
16163
|
if ($$props && "$$inject" in $$props) {
|
|
@@ -16078,7 +16165,7 @@
|
|
|
16078
16165
|
}
|
|
16079
16166
|
|
|
16080
16167
|
$$self.$$.update = () => {
|
|
16081
|
-
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
16168
|
+
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 131267) {
|
|
16082
16169
|
if (searchValue.length >= 2) {
|
|
16083
16170
|
const searchUrl = new URL(`${endpoint}/casino/games`);
|
|
16084
16171
|
searchUrl.searchParams.append("datasource", datasource);
|
|
@@ -16089,7 +16176,7 @@
|
|
|
16089
16176
|
searchUrl.searchParams.append("filter", `name=${searchValue}`);
|
|
16090
16177
|
|
|
16091
16178
|
getGames(searchUrl).then(searchData => {
|
|
16092
|
-
$$invalidate(
|
|
16179
|
+
$$invalidate(9, searchArray = searchData.items.map(item => item));
|
|
16093
16180
|
});
|
|
16094
16181
|
} else {
|
|
16095
16182
|
if (!searchCancelled) {
|
|
@@ -16102,34 +16189,39 @@
|
|
|
16102
16189
|
lang && setActiveLanguage();
|
|
16103
16190
|
}
|
|
16104
16191
|
|
|
16105
|
-
if ($$self.$$.dirty[0] & /*
|
|
16106
|
-
|
|
16192
|
+
if ($$self.$$.dirty[0] & /*translationUrl*/ 262144) {
|
|
16193
|
+
translationUrl && setTranslationUrl();
|
|
16194
|
+
}
|
|
16195
|
+
|
|
16196
|
+
if ($$self.$$.dirty[0] & /*clientstyling, customStylingContainer*/ 260) {
|
|
16197
|
+
clientstyling && customStylingContainer && setClientStyling();
|
|
16107
16198
|
}
|
|
16108
16199
|
|
|
16109
|
-
if ($$self.$$.dirty[0] & /*clientstylingurl*/
|
|
16110
|
-
clientstylingurl && setClientStylingURL();
|
|
16200
|
+
if ($$self.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/ 264) {
|
|
16201
|
+
clientstylingurl && customStylingContainer && setClientStylingURL();
|
|
16111
16202
|
}
|
|
16112
16203
|
};
|
|
16113
16204
|
|
|
16114
16205
|
return [
|
|
16115
16206
|
endpoint,
|
|
16116
16207
|
lang,
|
|
16208
|
+
clientstyling,
|
|
16209
|
+
clientstylingurl,
|
|
16117
16210
|
integratedgameframedesktop,
|
|
16118
16211
|
integratedgameframemobile,
|
|
16119
16212
|
searchValue,
|
|
16120
16213
|
searchCancelled,
|
|
16214
|
+
customStylingContainer,
|
|
16121
16215
|
searchArray,
|
|
16122
16216
|
searchElement,
|
|
16123
16217
|
searchActive,
|
|
16124
16218
|
isLoading,
|
|
16125
|
-
customStylingContainer,
|
|
16126
16219
|
$_,
|
|
16127
16220
|
onFocus,
|
|
16128
16221
|
cancelSearch,
|
|
16129
16222
|
clearSearch,
|
|
16130
16223
|
datasource,
|
|
16131
|
-
|
|
16132
|
-
clientstylingurl,
|
|
16224
|
+
translationUrl,
|
|
16133
16225
|
input_input_handler,
|
|
16134
16226
|
input_binding,
|
|
16135
16227
|
click_handler,
|
|
@@ -16155,12 +16247,13 @@
|
|
|
16155
16247
|
safe_not_equal,
|
|
16156
16248
|
{
|
|
16157
16249
|
endpoint: 0,
|
|
16158
|
-
datasource:
|
|
16250
|
+
datasource: 17,
|
|
16159
16251
|
lang: 1,
|
|
16160
|
-
clientstyling:
|
|
16161
|
-
clientstylingurl:
|
|
16162
|
-
integratedgameframedesktop:
|
|
16163
|
-
integratedgameframemobile:
|
|
16252
|
+
clientstyling: 2,
|
|
16253
|
+
clientstylingurl: 3,
|
|
16254
|
+
integratedgameframedesktop: 4,
|
|
16255
|
+
integratedgameframemobile: 5,
|
|
16256
|
+
translationUrl: 18
|
|
16164
16257
|
},
|
|
16165
16258
|
null,
|
|
16166
16259
|
[-1, -1]
|
|
@@ -16186,7 +16279,8 @@
|
|
|
16186
16279
|
"clientstyling",
|
|
16187
16280
|
"clientstylingurl",
|
|
16188
16281
|
"integratedgameframedesktop",
|
|
16189
|
-
"integratedgameframemobile"
|
|
16282
|
+
"integratedgameframemobile",
|
|
16283
|
+
"translationUrl"
|
|
16190
16284
|
];
|
|
16191
16285
|
}
|
|
16192
16286
|
|
|
@@ -16200,7 +16294,7 @@
|
|
|
16200
16294
|
}
|
|
16201
16295
|
|
|
16202
16296
|
get datasource() {
|
|
16203
|
-
return this.$$.ctx[
|
|
16297
|
+
return this.$$.ctx[17];
|
|
16204
16298
|
}
|
|
16205
16299
|
|
|
16206
16300
|
set datasource(datasource) {
|
|
@@ -16218,7 +16312,7 @@
|
|
|
16218
16312
|
}
|
|
16219
16313
|
|
|
16220
16314
|
get clientstyling() {
|
|
16221
|
-
return this.$$.ctx[
|
|
16315
|
+
return this.$$.ctx[2];
|
|
16222
16316
|
}
|
|
16223
16317
|
|
|
16224
16318
|
set clientstyling(clientstyling) {
|
|
@@ -16227,7 +16321,7 @@
|
|
|
16227
16321
|
}
|
|
16228
16322
|
|
|
16229
16323
|
get clientstylingurl() {
|
|
16230
|
-
return this.$$.ctx[
|
|
16324
|
+
return this.$$.ctx[3];
|
|
16231
16325
|
}
|
|
16232
16326
|
|
|
16233
16327
|
set clientstylingurl(clientstylingurl) {
|
|
@@ -16236,7 +16330,7 @@
|
|
|
16236
16330
|
}
|
|
16237
16331
|
|
|
16238
16332
|
get integratedgameframedesktop() {
|
|
16239
|
-
return this.$$.ctx[
|
|
16333
|
+
return this.$$.ctx[4];
|
|
16240
16334
|
}
|
|
16241
16335
|
|
|
16242
16336
|
set integratedgameframedesktop(integratedgameframedesktop) {
|
|
@@ -16245,13 +16339,22 @@
|
|
|
16245
16339
|
}
|
|
16246
16340
|
|
|
16247
16341
|
get integratedgameframemobile() {
|
|
16248
|
-
return this.$$.ctx[
|
|
16342
|
+
return this.$$.ctx[5];
|
|
16249
16343
|
}
|
|
16250
16344
|
|
|
16251
16345
|
set integratedgameframemobile(integratedgameframemobile) {
|
|
16252
16346
|
this.$$set({ integratedgameframemobile });
|
|
16253
16347
|
flush();
|
|
16254
16348
|
}
|
|
16349
|
+
|
|
16350
|
+
get translationUrl() {
|
|
16351
|
+
return this.$$.ctx[18];
|
|
16352
|
+
}
|
|
16353
|
+
|
|
16354
|
+
set translationUrl(translationUrl) {
|
|
16355
|
+
this.$$set({ translationUrl });
|
|
16356
|
+
flush();
|
|
16357
|
+
}
|
|
16255
16358
|
}
|
|
16256
16359
|
|
|
16257
16360
|
!customElements.get('casino-search') && customElements.define('casino-search', CasinoSearch);
|