@everymatrix/casino-search 1.19.5 → 1.20.0
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 +607 -286
- package/dist/casino-search.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoSearch.svelte +123 -28
package/dist/casino-search.js
CHANGED
|
@@ -12832,10 +12832,10 @@
|
|
|
12832
12832
|
div2 = element("div");
|
|
12833
12833
|
div0 = element("div");
|
|
12834
12834
|
div1 = element("div");
|
|
12835
|
-
add_location(div0, file$1, 553, 38,
|
|
12836
|
-
add_location(div1, file$1, 553, 49,
|
|
12835
|
+
add_location(div0, file$1, 553, 38, 20265);
|
|
12836
|
+
add_location(div1, file$1, 553, 49, 20276);
|
|
12837
12837
|
attr_dev(div2, "class", "LoaderRipple");
|
|
12838
|
-
add_location(div2, file$1, 553, 12,
|
|
12838
|
+
add_location(div2, file$1, 553, 12, 20239);
|
|
12839
12839
|
},
|
|
12840
12840
|
m: function mount(target, anchor) {
|
|
12841
12841
|
insert_dev(target, div2, anchor);
|
|
@@ -12874,7 +12874,7 @@
|
|
|
12874
12874
|
path = svg_element("path");
|
|
12875
12875
|
set_style(path, "fill", "var(--emfe-w-color-white, #FFFFFF)");
|
|
12876
12876
|
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");
|
|
12877
|
-
add_location(path, file$1, 542, 116,
|
|
12877
|
+
add_location(path, file$1, 542, 116, 19077);
|
|
12878
12878
|
attr_dev(svg, "version", "1.1");
|
|
12879
12879
|
attr_dev(svg, "class", "UnfavoredIcon");
|
|
12880
12880
|
attr_dev(svg, "part", "UnfavoredIcon");
|
|
@@ -12885,9 +12885,9 @@
|
|
|
12885
12885
|
attr_dev(svg, "viewBox", "0 0 512.001 512.001");
|
|
12886
12886
|
set_style(svg, "enable-background", "new 0 0 512.001 512.001");
|
|
12887
12887
|
attr_dev(svg, "xml:space", "preserve");
|
|
12888
|
-
add_location(svg, file$1, 541, 14,
|
|
12888
|
+
add_location(svg, file$1, 541, 14, 18803);
|
|
12889
12889
|
attr_dev(div, "class", "FavIconContainer");
|
|
12890
|
-
add_location(div, file$1, 540, 12,
|
|
12890
|
+
add_location(div, file$1, 540, 12, 18712);
|
|
12891
12891
|
},
|
|
12892
12892
|
m: function mount(target, anchor) {
|
|
12893
12893
|
insert_dev(target, div, anchor);
|
|
@@ -12931,7 +12931,7 @@
|
|
|
12931
12931
|
button = element("button");
|
|
12932
12932
|
t = text(t_value);
|
|
12933
12933
|
attr_dev(button, "class", "GameInfoBtn");
|
|
12934
|
-
add_location(button, file$1, 558, 10,
|
|
12934
|
+
add_location(button, file$1, 558, 10, 20419);
|
|
12935
12935
|
},
|
|
12936
12936
|
m: function mount(target, anchor) {
|
|
12937
12937
|
insert_dev(target, button, anchor);
|
|
@@ -12976,16 +12976,16 @@
|
|
|
12976
12976
|
path = svg_element("path");
|
|
12977
12977
|
set_style(path, "fill", "var(--emfe-w-color-white, #FFFFFF)");
|
|
12978
12978
|
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");
|
|
12979
|
-
add_location(path, file$1, 574, 10,
|
|
12979
|
+
add_location(path, file$1, 574, 10, 21725);
|
|
12980
12980
|
attr_dev(svg, "version", "1.1");
|
|
12981
12981
|
attr_dev(svg, "class", "FavoredIcon");
|
|
12982
12982
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
12983
12983
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
|
12984
12984
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
12985
12985
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
|
12986
|
-
add_location(svg, file$1, 573, 8,
|
|
12986
|
+
add_location(svg, file$1, 573, 8, 21527);
|
|
12987
12987
|
attr_dev(div, "class", "FavIconContainer");
|
|
12988
|
-
add_location(div, file$1, 572, 6,
|
|
12988
|
+
add_location(div, file$1, 572, 6, 21488);
|
|
12989
12989
|
},
|
|
12990
12990
|
m: function mount(target, anchor) {
|
|
12991
12991
|
insert_dev(target, div, anchor);
|
|
@@ -13024,16 +13024,16 @@
|
|
|
13024
13024
|
path = svg_element("path");
|
|
13025
13025
|
set_style(path, "fill", "var(--emfe-w-color-white, #FFFFFF)");
|
|
13026
13026
|
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");
|
|
13027
|
-
add_location(path, file$1, 568, 10,
|
|
13027
|
+
add_location(path, file$1, 568, 10, 21007);
|
|
13028
13028
|
attr_dev(svg, "version", "1.1");
|
|
13029
13029
|
attr_dev(svg, "class", "FavoredIcon");
|
|
13030
13030
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
13031
13031
|
attr_dev(svg, "viewBox", "0 0 19.481 19.481");
|
|
13032
13032
|
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
13033
13033
|
attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
|
|
13034
|
-
add_location(svg, file$1, 567, 8,
|
|
13034
|
+
add_location(svg, file$1, 567, 8, 20809);
|
|
13035
13035
|
attr_dev(div, "class", "FavIconContainer");
|
|
13036
|
-
add_location(div, file$1, 566, 6,
|
|
13036
|
+
add_location(div, file$1, 566, 6, 20724);
|
|
13037
13037
|
},
|
|
13038
13038
|
m: function mount(target, anchor) {
|
|
13039
13039
|
insert_dev(target, div, anchor);
|
|
@@ -13075,7 +13075,7 @@
|
|
|
13075
13075
|
span = element("span");
|
|
13076
13076
|
t = text(t_value);
|
|
13077
13077
|
attr_dev(span, "class", "GameExtraInfoLabel NewGameTag");
|
|
13078
|
-
add_location(span, file$1, 580, 8,
|
|
13078
|
+
add_location(span, file$1, 580, 8, 22194);
|
|
13079
13079
|
},
|
|
13080
13080
|
m: function mount(target, anchor) {
|
|
13081
13081
|
insert_dev(target, span, anchor);
|
|
@@ -13101,7 +13101,7 @@
|
|
|
13101
13101
|
}
|
|
13102
13102
|
|
|
13103
13103
|
// (583:6) {#if gametag}
|
|
13104
|
-
function create_if_block_8(ctx) {
|
|
13104
|
+
function create_if_block_8$1(ctx) {
|
|
13105
13105
|
let span;
|
|
13106
13106
|
let t;
|
|
13107
13107
|
|
|
@@ -13110,7 +13110,7 @@
|
|
|
13110
13110
|
span = element("span");
|
|
13111
13111
|
t = text(/*gametag*/ ctx[8]);
|
|
13112
13112
|
attr_dev(span, "class", "GameExtraInfoLabel PopularGameTag");
|
|
13113
|
-
add_location(span, file$1, 583, 8,
|
|
13113
|
+
add_location(span, file$1, 583, 8, 22297);
|
|
13114
13114
|
},
|
|
13115
13115
|
m: function mount(target, anchor) {
|
|
13116
13116
|
insert_dev(target, span, anchor);
|
|
@@ -13126,7 +13126,7 @@
|
|
|
13126
13126
|
|
|
13127
13127
|
dispatch_dev("SvelteRegisterBlock", {
|
|
13128
13128
|
block,
|
|
13129
|
-
id: create_if_block_8.name,
|
|
13129
|
+
id: create_if_block_8$1.name,
|
|
13130
13130
|
type: "if",
|
|
13131
13131
|
source: "(583:6) {#if gametag}",
|
|
13132
13132
|
ctx
|
|
@@ -13139,7 +13139,7 @@
|
|
|
13139
13139
|
function create_if_block_1$1(ctx) {
|
|
13140
13140
|
let t;
|
|
13141
13141
|
let if_block1_anchor;
|
|
13142
|
-
let if_block0 = !/*isopen*/ ctx[23] && /*starttime*/ ctx[21] && /*timeformat*/ ctx[22] && create_if_block_7(ctx);
|
|
13142
|
+
let if_block0 = !/*isopen*/ ctx[23] && /*starttime*/ ctx[21] && /*timeformat*/ ctx[22] && create_if_block_7$1(ctx);
|
|
13143
13143
|
|
|
13144
13144
|
function select_block_type_2(ctx, dirty) {
|
|
13145
13145
|
if (/*isopen*/ ctx[23] && /*displaytype*/ ctx[20] && /*displaytype*/ ctx[20] === BLACKJACK) return create_if_block_2$1;
|
|
@@ -13167,7 +13167,7 @@
|
|
|
13167
13167
|
if (if_block0) {
|
|
13168
13168
|
if_block0.p(ctx, dirty);
|
|
13169
13169
|
} else {
|
|
13170
|
-
if_block0 = create_if_block_7(ctx);
|
|
13170
|
+
if_block0 = create_if_block_7$1(ctx);
|
|
13171
13171
|
if_block0.c();
|
|
13172
13172
|
if_block0.m(t.parentNode, t);
|
|
13173
13173
|
}
|
|
@@ -13212,7 +13212,7 @@
|
|
|
13212
13212
|
}
|
|
13213
13213
|
|
|
13214
13214
|
// (587:8) {#if !isopen && starttime && timeformat}
|
|
13215
|
-
function create_if_block_7(ctx) {
|
|
13215
|
+
function create_if_block_7$1(ctx) {
|
|
13216
13216
|
let div1;
|
|
13217
13217
|
let div0;
|
|
13218
13218
|
let t0_value = /*$_*/ ctx[36]('opens') + "";
|
|
@@ -13240,13 +13240,13 @@
|
|
|
13240
13240
|
html_tag = new HtmlTag(false);
|
|
13241
13241
|
t4 = space();
|
|
13242
13242
|
html_tag_1 = new HtmlTag(false);
|
|
13243
|
-
add_location(span, file$1, 590, 14,
|
|
13243
|
+
add_location(span, file$1, 590, 14, 22570);
|
|
13244
13244
|
attr_dev(div0, "class", "ClosedGame");
|
|
13245
|
-
add_location(div0, file$1, 588, 12,
|
|
13245
|
+
add_location(div0, file$1, 588, 12, 22503);
|
|
13246
13246
|
html_tag.a = t4;
|
|
13247
13247
|
html_tag_1.a = null;
|
|
13248
13248
|
attr_dev(div1, "class", "GameProp LiveProps");
|
|
13249
|
-
add_location(div1, file$1, 587, 10,
|
|
13249
|
+
add_location(div1, file$1, 587, 10, 22458);
|
|
13250
13250
|
},
|
|
13251
13251
|
m: function mount(target, anchor) {
|
|
13252
13252
|
insert_dev(target, div1, anchor);
|
|
@@ -13273,7 +13273,7 @@
|
|
|
13273
13273
|
|
|
13274
13274
|
dispatch_dev("SvelteRegisterBlock", {
|
|
13275
13275
|
block,
|
|
13276
|
-
id: create_if_block_7.name,
|
|
13276
|
+
id: create_if_block_7$1.name,
|
|
13277
13277
|
type: "if",
|
|
13278
13278
|
source: "(587:8) {#if !isopen && starttime && timeformat}",
|
|
13279
13279
|
ctx
|
|
@@ -13314,11 +13314,11 @@
|
|
|
13314
13314
|
t1 = space();
|
|
13315
13315
|
html_tag_1 = new HtmlTag(false);
|
|
13316
13316
|
attr_dev(div0, "class", "LiveIcons");
|
|
13317
|
-
add_location(div0, file$1, 621, 12,
|
|
13317
|
+
add_location(div0, file$1, 621, 12, 24359);
|
|
13318
13318
|
html_tag.a = t1;
|
|
13319
13319
|
html_tag_1.a = null;
|
|
13320
13320
|
attr_dev(div1, "class", /*roulettecontainerclassname*/ ctx[31]);
|
|
13321
|
-
add_location(div1, file$1, 620, 10,
|
|
13321
|
+
add_location(div1, file$1, 620, 10, 24304);
|
|
13322
13322
|
},
|
|
13323
13323
|
m: function mount(target, anchor) {
|
|
13324
13324
|
insert_dev(target, div1, anchor);
|
|
@@ -13415,12 +13415,12 @@
|
|
|
13415
13415
|
t1 = space();
|
|
13416
13416
|
html_tag_1 = new HtmlTag(false);
|
|
13417
13417
|
attr_dev(div0, "class", "LiveIcons");
|
|
13418
|
-
add_location(div0, file$1, 600, 12,
|
|
13418
|
+
add_location(div0, file$1, 600, 12, 23007);
|
|
13419
13419
|
html_tag.a = t1;
|
|
13420
13420
|
html_tag_1.a = null;
|
|
13421
13421
|
attr_dev(div1, "class", "GameProp LiveProps BlackjackDisplay");
|
|
13422
13422
|
attr_dev(div1, "part", "GameProp LiveProps BlackjackDisplay");
|
|
13423
|
-
add_location(div1, file$1, 599, 10,
|
|
13423
|
+
add_location(div1, file$1, 599, 10, 22902);
|
|
13424
13424
|
},
|
|
13425
13425
|
m: function mount(target, anchor) {
|
|
13426
13426
|
insert_dev(target, div1, anchor);
|
|
@@ -13469,7 +13469,7 @@
|
|
|
13469
13469
|
let if_block_anchor;
|
|
13470
13470
|
|
|
13471
13471
|
function select_block_type_4(ctx, dirty) {
|
|
13472
|
-
if (/*isdouble*/ ctx[30]) return create_if_block_6;
|
|
13472
|
+
if (/*isdouble*/ ctx[30]) return create_if_block_6$1;
|
|
13473
13473
|
return create_else_block_1;
|
|
13474
13474
|
}
|
|
13475
13475
|
|
|
@@ -13552,7 +13552,7 @@
|
|
|
13552
13552
|
}
|
|
13553
13553
|
|
|
13554
13554
|
// (625:18) {#if isdouble}
|
|
13555
|
-
function create_if_block_6(ctx) {
|
|
13555
|
+
function create_if_block_6$1(ctx) {
|
|
13556
13556
|
let div;
|
|
13557
13557
|
let html_tag;
|
|
13558
13558
|
let raw0_value = /*renderSpan*/ ctx[43](`LatestResult ${/*i*/ ctx[104] === 0 ? 'First' : ''}`, `first${/*i*/ ctx[104]}${/*roulleteresults*/ ctx[14][/*i*/ ctx[104]][0]}`, /*roulleteresults*/ ctx[14][/*i*/ ctx[104]][0], /*colorsourcearray*/ ctx[32][/*roulleteresults*/ ctx[14][/*i*/ ctx[104]][0]]) + "";
|
|
@@ -13571,7 +13571,7 @@
|
|
|
13571
13571
|
html_tag.a = t0;
|
|
13572
13572
|
html_tag_1.a = t1;
|
|
13573
13573
|
attr_dev(div, "class", "Double");
|
|
13574
|
-
add_location(div, file$1, 625, 20,
|
|
13574
|
+
add_location(div, file$1, 625, 20, 24593);
|
|
13575
13575
|
},
|
|
13576
13576
|
m: function mount(target, anchor) {
|
|
13577
13577
|
insert_dev(target, div, anchor);
|
|
@@ -13591,7 +13591,7 @@
|
|
|
13591
13591
|
|
|
13592
13592
|
dispatch_dev("SvelteRegisterBlock", {
|
|
13593
13593
|
block,
|
|
13594
|
-
id: create_if_block_6.name,
|
|
13594
|
+
id: create_if_block_6$1.name,
|
|
13595
13595
|
type: "if",
|
|
13596
13596
|
source: "(625:18) {#if isdouble}",
|
|
13597
13597
|
ctx
|
|
@@ -13726,7 +13726,7 @@
|
|
|
13726
13726
|
span = element("span");
|
|
13727
13727
|
t = text(t_value);
|
|
13728
13728
|
attr_dev(span, "class", "FullTable");
|
|
13729
|
-
add_location(span, file$1, 602, 16,
|
|
13729
|
+
add_location(span, file$1, 602, 16, 23079);
|
|
13730
13730
|
},
|
|
13731
13731
|
m: function mount(target, anchor) {
|
|
13732
13732
|
insert_dev(target, span, anchor);
|
|
@@ -13768,20 +13768,20 @@
|
|
|
13768
13768
|
path1 = svg_element("path");
|
|
13769
13769
|
t = space();
|
|
13770
13770
|
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");
|
|
13771
|
-
add_location(path0, file$1, 609, 22,
|
|
13771
|
+
add_location(path0, file$1, 609, 22, 23462);
|
|
13772
13772
|
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");
|
|
13773
|
-
add_location(path1, file$1, 610, 22,
|
|
13773
|
+
add_location(path1, file$1, 610, 22, 23838);
|
|
13774
13774
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
13775
13775
|
attr_dev(svg, "width", "13");
|
|
13776
13776
|
attr_dev(svg, "height", "14");
|
|
13777
13777
|
attr_dev(svg, "viewBox", "0 0 13 14");
|
|
13778
|
-
add_location(svg, file$1, 608, 20,
|
|
13778
|
+
add_location(svg, file$1, 608, 20, 23356);
|
|
13779
13779
|
|
|
13780
13780
|
attr_dev(span, "class", span_class_value = /*contains*/ ctx[40](/*currentoccupiedseats*/ ctx[29], /*seatData*/ ctx[99].toString())
|
|
13781
13781
|
? 'ClosedSeat'
|
|
13782
13782
|
: 'OpenSeat');
|
|
13783
13783
|
|
|
13784
|
-
add_location(span, file$1, 607, 18,
|
|
13784
|
+
add_location(span, file$1, 607, 18, 23241);
|
|
13785
13785
|
},
|
|
13786
13786
|
m: function mount(target, anchor) {
|
|
13787
13787
|
insert_dev(target, span, anchor);
|
|
@@ -13824,7 +13824,7 @@
|
|
|
13824
13824
|
t = text(/*gamename*/ ctx[4]);
|
|
13825
13825
|
attr_dev(p, "class", "GameNameBelow");
|
|
13826
13826
|
attr_dev(p, "title", /*gamename*/ ctx[4]);
|
|
13827
|
-
add_location(p, file$1, 643, 4,
|
|
13827
|
+
add_location(p, file$1, 643, 4, 25464);
|
|
13828
13828
|
},
|
|
13829
13829
|
m: function mount(target, anchor) {
|
|
13830
13830
|
insert_dev(target, p, anchor);
|
|
@@ -13896,7 +13896,7 @@
|
|
|
13896
13896
|
let current_block_type = select_block_type_1(ctx, [-1, -1, -1, -1]);
|
|
13897
13897
|
let if_block2 = current_block_type && current_block_type(ctx);
|
|
13898
13898
|
let if_block3 = /*gameisnew*/ ctx[7] && create_if_block_9(ctx);
|
|
13899
|
-
let if_block4 = /*gametag*/ ctx[8] && create_if_block_8(ctx);
|
|
13899
|
+
let if_block4 = /*gametag*/ ctx[8] && create_if_block_8$1(ctx);
|
|
13900
13900
|
let if_block5 = /*livegamedata*/ ctx[13] && create_if_block_1$1(ctx);
|
|
13901
13901
|
let if_block6 = /*showgamename*/ ctx[10] && create_if_block$1(ctx);
|
|
13902
13902
|
|
|
@@ -13933,30 +13933,30 @@
|
|
|
13933
13933
|
attr_dev(img, "class", img_class_value = `GameBg GameBg-${/*gamecellsize*/ ctx[9]} ${/*loaded*/ ctx[18] ? 'Loaded' : ''}`);
|
|
13934
13934
|
attr_dev(img, "alt", "");
|
|
13935
13935
|
attr_dev(img, "loading", "lazy");
|
|
13936
|
-
add_location(img, file$1, 535, 4,
|
|
13936
|
+
add_location(img, file$1, 535, 4, 18417);
|
|
13937
13937
|
attr_dev(p, "class", "GameInfoName");
|
|
13938
13938
|
attr_dev(p, "title", /*gamename*/ ctx[4]);
|
|
13939
|
-
add_location(p, file$1, 556, 8,
|
|
13939
|
+
add_location(p, file$1, 556, 8, 20332);
|
|
13940
13940
|
attr_dev(div0, "class", "GameInfo");
|
|
13941
|
-
add_location(div0, file$1, 537, 6,
|
|
13941
|
+
add_location(div0, file$1, 537, 6, 18591);
|
|
13942
13942
|
attr_dev(span, "class", "GameInfoVendor");
|
|
13943
|
-
add_location(span, file$1, 561, 6,
|
|
13943
|
+
add_location(span, file$1, 561, 6, 20548);
|
|
13944
13944
|
attr_dev(div1, "class", "GameInfoWrapper");
|
|
13945
|
-
add_location(div1, file$1, 536, 4,
|
|
13945
|
+
add_location(div1, file$1, 536, 4, 18555);
|
|
13946
13946
|
attr_dev(div2, "class", "GameExtraInfo");
|
|
13947
|
-
add_location(div2, file$1, 578, 4,
|
|
13947
|
+
add_location(div2, file$1, 578, 4, 22136);
|
|
13948
13948
|
|
|
13949
13949
|
attr_dev(div3, "class", div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[13] && !/*isopen*/ ctx[23] && /*openhours*/ ctx[24].value || /*livegamedata*/ ctx[13] && /*istablefull*/ ctx[33]
|
|
13950
13950
|
? 'GameInnerContainerUnavailable'
|
|
13951
13951
|
: ''));
|
|
13952
13952
|
|
|
13953
|
-
add_location(div3, file$1, 534, 2,
|
|
13953
|
+
add_location(div3, file$1, 534, 2, 18260);
|
|
13954
13954
|
|
|
13955
13955
|
attr_dev(div4, "class", div4_class_value = `GameContainer ${/*extraclassname*/ ctx[34]} ${/*casinogamesgridslider*/ ctx[11] == 'true'
|
|
13956
13956
|
? 'CasinoGamesGridSlider'
|
|
13957
13957
|
: ''}`);
|
|
13958
13958
|
|
|
13959
|
-
add_location(div4, file$1, 533, 0,
|
|
13959
|
+
add_location(div4, file$1, 533, 0, 18105);
|
|
13960
13960
|
},
|
|
13961
13961
|
l: function claim(nodes) {
|
|
13962
13962
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -14065,7 +14065,7 @@
|
|
|
14065
14065
|
if (if_block4) {
|
|
14066
14066
|
if_block4.p(ctx, dirty);
|
|
14067
14067
|
} else {
|
|
14068
|
-
if_block4 = create_if_block_8(ctx);
|
|
14068
|
+
if_block4 = create_if_block_8$1(ctx);
|
|
14069
14069
|
if_block4.c();
|
|
14070
14070
|
if_block4.m(div2, t9);
|
|
14071
14071
|
}
|
|
@@ -14418,7 +14418,7 @@
|
|
|
14418
14418
|
};
|
|
14419
14419
|
|
|
14420
14420
|
const getLiveLobbyURL = (vendorName, id) => {
|
|
14421
|
-
return `${endpoint}/encoder/lobby/updates/${vendorName}/${id}`;
|
|
14421
|
+
return `${endpoint}/v1/encoder/lobby/updates/${vendorName}/${id}`;
|
|
14422
14422
|
};
|
|
14423
14423
|
|
|
14424
14424
|
const connectGameToLiveLobby = () => {
|
|
@@ -15544,11 +15544,61 @@
|
|
|
15544
15544
|
|
|
15545
15545
|
function get_each_context(ctx, list, i) {
|
|
15546
15546
|
const child_ctx = ctx.slice();
|
|
15547
|
-
child_ctx[
|
|
15547
|
+
child_ctx[53] = list[i];
|
|
15548
15548
|
return child_ctx;
|
|
15549
15549
|
}
|
|
15550
15550
|
|
|
15551
|
-
// (
|
|
15551
|
+
// (311:10) {#if cancelbutton === 'true'}
|
|
15552
|
+
function create_if_block_8(ctx) {
|
|
15553
|
+
let small;
|
|
15554
|
+
let t_value = /*$_*/ ctx[19]('cancel') + "";
|
|
15555
|
+
let t;
|
|
15556
|
+
let small_class_value;
|
|
15557
|
+
let mounted;
|
|
15558
|
+
let dispose;
|
|
15559
|
+
|
|
15560
|
+
const block = {
|
|
15561
|
+
c: function create() {
|
|
15562
|
+
small = element("small");
|
|
15563
|
+
t = text(t_value);
|
|
15564
|
+
attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[11] ? 'NotVisible' : ''));
|
|
15565
|
+
add_location(small, file, 311, 10, 10881);
|
|
15566
|
+
},
|
|
15567
|
+
m: function mount(target, anchor) {
|
|
15568
|
+
insert_dev(target, small, anchor);
|
|
15569
|
+
append_dev(small, t);
|
|
15570
|
+
|
|
15571
|
+
if (!mounted) {
|
|
15572
|
+
dispose = listen_dev(small, "click", /*click_handler_1*/ ctx[35], false, false, false, false);
|
|
15573
|
+
mounted = true;
|
|
15574
|
+
}
|
|
15575
|
+
},
|
|
15576
|
+
p: function update(ctx, dirty) {
|
|
15577
|
+
if (dirty[0] & /*$_*/ 524288 && t_value !== (t_value = /*$_*/ ctx[19]('cancel') + "")) set_data_dev(t, t_value);
|
|
15578
|
+
|
|
15579
|
+
if (dirty[0] & /*searchCancelled*/ 2048 && small_class_value !== (small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[11] ? 'NotVisible' : ''))) {
|
|
15580
|
+
attr_dev(small, "class", small_class_value);
|
|
15581
|
+
}
|
|
15582
|
+
},
|
|
15583
|
+
d: function destroy(detaching) {
|
|
15584
|
+
if (detaching) detach_dev(small);
|
|
15585
|
+
mounted = false;
|
|
15586
|
+
dispose();
|
|
15587
|
+
}
|
|
15588
|
+
};
|
|
15589
|
+
|
|
15590
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
15591
|
+
block,
|
|
15592
|
+
id: create_if_block_8.name,
|
|
15593
|
+
type: "if",
|
|
15594
|
+
source: "(311:10) {#if cancelbutton === 'true'}",
|
|
15595
|
+
ctx
|
|
15596
|
+
});
|
|
15597
|
+
|
|
15598
|
+
return block;
|
|
15599
|
+
}
|
|
15600
|
+
|
|
15601
|
+
// (321:4) {:else}
|
|
15552
15602
|
function create_else_block(ctx) {
|
|
15553
15603
|
let t0;
|
|
15554
15604
|
let div;
|
|
@@ -15556,14 +15606,14 @@
|
|
|
15556
15606
|
let div_class_value;
|
|
15557
15607
|
|
|
15558
15608
|
function select_block_type_1(ctx, dirty) {
|
|
15559
|
-
if (/*searchActive*/ ctx[
|
|
15560
|
-
if (/*searchArray*/ ctx[
|
|
15609
|
+
if (/*searchActive*/ ctx[15] == true && /*searchValue*/ ctx[10].length < 2) return create_if_block_4;
|
|
15610
|
+
if (/*searchArray*/ ctx[13].length != 0) return create_if_block_7;
|
|
15561
15611
|
}
|
|
15562
15612
|
|
|
15563
15613
|
let current_block_type = select_block_type_1(ctx);
|
|
15564
15614
|
let if_block0 = current_block_type && current_block_type(ctx);
|
|
15565
|
-
let if_block1 = /*searchCancelled*/ ctx[
|
|
15566
|
-
let if_block2 = /*searchValue*/ ctx[
|
|
15615
|
+
let if_block1 = /*searchCancelled*/ ctx[11] === false && create_if_block_3(ctx);
|
|
15616
|
+
let if_block2 = /*searchValue*/ ctx[10].length >= 2 && /*searchArray*/ ctx[13].length == 0 && create_if_block_1(ctx);
|
|
15567
15617
|
|
|
15568
15618
|
const block = {
|
|
15569
15619
|
c: function create() {
|
|
@@ -15573,8 +15623,8 @@
|
|
|
15573
15623
|
if (if_block1) if_block1.c();
|
|
15574
15624
|
t1 = space();
|
|
15575
15625
|
if (if_block2) if_block2.c();
|
|
15576
|
-
attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[
|
|
15577
|
-
add_location(div, file,
|
|
15626
|
+
attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[15] == true ? '' : 'NotVisible'));
|
|
15627
|
+
add_location(div, file, 341, 6, 12816);
|
|
15578
15628
|
},
|
|
15579
15629
|
m: function mount(target, anchor) {
|
|
15580
15630
|
if (if_block0) if_block0.m(target, anchor);
|
|
@@ -15597,11 +15647,11 @@
|
|
|
15597
15647
|
}
|
|
15598
15648
|
}
|
|
15599
15649
|
|
|
15600
|
-
if (/*searchCancelled*/ ctx[
|
|
15650
|
+
if (/*searchCancelled*/ ctx[11] === false) {
|
|
15601
15651
|
if (if_block1) {
|
|
15602
15652
|
if_block1.p(ctx, dirty);
|
|
15603
15653
|
} else {
|
|
15604
|
-
if_block1 =
|
|
15654
|
+
if_block1 = create_if_block_3(ctx);
|
|
15605
15655
|
if_block1.c();
|
|
15606
15656
|
if_block1.m(div, t1);
|
|
15607
15657
|
}
|
|
@@ -15610,7 +15660,7 @@
|
|
|
15610
15660
|
if_block1 = null;
|
|
15611
15661
|
}
|
|
15612
15662
|
|
|
15613
|
-
if (/*searchValue*/ ctx[
|
|
15663
|
+
if (/*searchValue*/ ctx[10].length >= 2 && /*searchArray*/ ctx[13].length == 0) {
|
|
15614
15664
|
if (if_block2) {
|
|
15615
15665
|
if_block2.p(ctx, dirty);
|
|
15616
15666
|
} else {
|
|
@@ -15623,7 +15673,7 @@
|
|
|
15623
15673
|
if_block2 = null;
|
|
15624
15674
|
}
|
|
15625
15675
|
|
|
15626
|
-
if (dirty[0] & /*searchActive*/
|
|
15676
|
+
if (dirty[0] & /*searchActive*/ 32768 && div_class_value !== (div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[15] == true ? '' : 'NotVisible'))) {
|
|
15627
15677
|
attr_dev(div, "class", div_class_value);
|
|
15628
15678
|
}
|
|
15629
15679
|
},
|
|
@@ -15643,17 +15693,17 @@
|
|
|
15643
15693
|
block,
|
|
15644
15694
|
id: create_else_block.name,
|
|
15645
15695
|
type: "else",
|
|
15646
|
-
source: "(
|
|
15696
|
+
source: "(321:4) {:else}",
|
|
15647
15697
|
ctx
|
|
15648
15698
|
});
|
|
15649
15699
|
|
|
15650
15700
|
return block;
|
|
15651
15701
|
}
|
|
15652
15702
|
|
|
15653
|
-
// (
|
|
15703
|
+
// (319:4) {#if isLoading}
|
|
15654
15704
|
function create_if_block(ctx) {
|
|
15655
15705
|
let p;
|
|
15656
|
-
let t_value = /*$_*/ ctx[
|
|
15706
|
+
let t_value = /*$_*/ ctx[19]('loading') + "";
|
|
15657
15707
|
let t;
|
|
15658
15708
|
|
|
15659
15709
|
const block = {
|
|
@@ -15661,14 +15711,14 @@
|
|
|
15661
15711
|
p = element("p");
|
|
15662
15712
|
t = text(t_value);
|
|
15663
15713
|
attr_dev(p, "class", "LoadingContent");
|
|
15664
|
-
add_location(p, file,
|
|
15714
|
+
add_location(p, file, 319, 6, 11189);
|
|
15665
15715
|
},
|
|
15666
15716
|
m: function mount(target, anchor) {
|
|
15667
15717
|
insert_dev(target, p, anchor);
|
|
15668
15718
|
append_dev(p, t);
|
|
15669
15719
|
},
|
|
15670
15720
|
p: function update(ctx, dirty) {
|
|
15671
|
-
if (dirty[0] & /*$_*/
|
|
15721
|
+
if (dirty[0] & /*$_*/ 524288 && t_value !== (t_value = /*$_*/ ctx[19]('loading') + "")) set_data_dev(t, t_value);
|
|
15672
15722
|
},
|
|
15673
15723
|
d: function destroy(detaching) {
|
|
15674
15724
|
if (detaching) detach_dev(p);
|
|
@@ -15679,17 +15729,17 @@
|
|
|
15679
15729
|
block,
|
|
15680
15730
|
id: create_if_block.name,
|
|
15681
15731
|
type: "if",
|
|
15682
|
-
source: "(
|
|
15732
|
+
source: "(319:4) {#if isLoading}",
|
|
15683
15733
|
ctx
|
|
15684
15734
|
});
|
|
15685
15735
|
|
|
15686
15736
|
return block;
|
|
15687
15737
|
}
|
|
15688
15738
|
|
|
15689
|
-
// (
|
|
15690
|
-
function
|
|
15739
|
+
// (339:40)
|
|
15740
|
+
function create_if_block_7(ctx) {
|
|
15691
15741
|
let p;
|
|
15692
|
-
let t_value = /*$_*/ ctx[
|
|
15742
|
+
let t_value = /*$_*/ ctx[19]('searchResult') + "";
|
|
15693
15743
|
let t;
|
|
15694
15744
|
|
|
15695
15745
|
const block = {
|
|
@@ -15697,14 +15747,14 @@
|
|
|
15697
15747
|
p = element("p");
|
|
15698
15748
|
t = text(t_value);
|
|
15699
15749
|
attr_dev(p, "class", "SearchMessage");
|
|
15700
|
-
add_location(p, file,
|
|
15750
|
+
add_location(p, file, 339, 8, 12747);
|
|
15701
15751
|
},
|
|
15702
15752
|
m: function mount(target, anchor) {
|
|
15703
15753
|
insert_dev(target, p, anchor);
|
|
15704
15754
|
append_dev(p, t);
|
|
15705
15755
|
},
|
|
15706
15756
|
p: function update(ctx, dirty) {
|
|
15707
|
-
if (dirty[0] & /*$_*/
|
|
15757
|
+
if (dirty[0] & /*$_*/ 524288 && t_value !== (t_value = /*$_*/ ctx[19]('searchResult') + "")) set_data_dev(t, t_value);
|
|
15708
15758
|
},
|
|
15709
15759
|
d: function destroy(detaching) {
|
|
15710
15760
|
if (detaching) detach_dev(p);
|
|
@@ -15713,23 +15763,23 @@
|
|
|
15713
15763
|
|
|
15714
15764
|
dispatch_dev("SvelteRegisterBlock", {
|
|
15715
15765
|
block,
|
|
15716
|
-
id:
|
|
15766
|
+
id: create_if_block_7.name,
|
|
15717
15767
|
type: "if",
|
|
15718
|
-
source: "(
|
|
15768
|
+
source: "(339:40) ",
|
|
15719
15769
|
ctx
|
|
15720
15770
|
});
|
|
15721
15771
|
|
|
15722
15772
|
return block;
|
|
15723
15773
|
}
|
|
15724
15774
|
|
|
15725
|
-
// (
|
|
15726
|
-
function
|
|
15775
|
+
// (322:6) {#if searchActive == true && searchValue.length < 2}
|
|
15776
|
+
function create_if_block_4(ctx) {
|
|
15727
15777
|
let p;
|
|
15728
|
-
let t0_value = /*$_*/ ctx[
|
|
15778
|
+
let t0_value = /*$_*/ ctx[19]('recentSearch') + "";
|
|
15729
15779
|
let t0;
|
|
15730
15780
|
let t1;
|
|
15731
15781
|
let if_block_anchor;
|
|
15732
|
-
let if_block = /*searchArray*/ ctx[
|
|
15782
|
+
let if_block = /*searchArray*/ ctx[13].length == 0 && create_if_block_5(ctx);
|
|
15733
15783
|
|
|
15734
15784
|
const block = {
|
|
15735
15785
|
c: function create() {
|
|
@@ -15739,7 +15789,7 @@
|
|
|
15739
15789
|
if (if_block) if_block.c();
|
|
15740
15790
|
if_block_anchor = empty();
|
|
15741
15791
|
attr_dev(p, "class", "SearchMessage");
|
|
15742
|
-
add_location(p, file,
|
|
15792
|
+
add_location(p, file, 322, 8, 11314);
|
|
15743
15793
|
},
|
|
15744
15794
|
m: function mount(target, anchor) {
|
|
15745
15795
|
insert_dev(target, p, anchor);
|
|
@@ -15749,13 +15799,13 @@
|
|
|
15749
15799
|
insert_dev(target, if_block_anchor, anchor);
|
|
15750
15800
|
},
|
|
15751
15801
|
p: function update(ctx, dirty) {
|
|
15752
|
-
if (dirty[0] & /*$_*/
|
|
15802
|
+
if (dirty[0] & /*$_*/ 524288 && t0_value !== (t0_value = /*$_*/ ctx[19]('recentSearch') + "")) set_data_dev(t0, t0_value);
|
|
15753
15803
|
|
|
15754
|
-
if (/*searchArray*/ ctx[
|
|
15804
|
+
if (/*searchArray*/ ctx[13].length == 0) {
|
|
15755
15805
|
if (if_block) {
|
|
15756
15806
|
if_block.p(ctx, dirty);
|
|
15757
15807
|
} else {
|
|
15758
|
-
if_block =
|
|
15808
|
+
if_block = create_if_block_5(ctx);
|
|
15759
15809
|
if_block.c();
|
|
15760
15810
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
15761
15811
|
}
|
|
@@ -15774,60 +15824,157 @@
|
|
|
15774
15824
|
|
|
15775
15825
|
dispatch_dev("SvelteRegisterBlock", {
|
|
15776
15826
|
block,
|
|
15777
|
-
id:
|
|
15827
|
+
id: create_if_block_4.name,
|
|
15778
15828
|
type: "if",
|
|
15779
|
-
source: "(
|
|
15829
|
+
source: "(322:6) {#if searchActive == true && searchValue.length < 2}",
|
|
15780
15830
|
ctx
|
|
15781
15831
|
});
|
|
15782
15832
|
|
|
15783
15833
|
return block;
|
|
15784
15834
|
}
|
|
15785
15835
|
|
|
15786
|
-
// (
|
|
15787
|
-
function
|
|
15836
|
+
// (324:10) {#if searchArray.length == 0}
|
|
15837
|
+
function create_if_block_5(ctx) {
|
|
15788
15838
|
let div;
|
|
15839
|
+
let t0;
|
|
15789
15840
|
let p;
|
|
15790
|
-
let
|
|
15791
|
-
let
|
|
15841
|
+
let t1_value = /*$_*/ ctx[19]('noRecentSearches') + "";
|
|
15842
|
+
let t1;
|
|
15843
|
+
let div_class_value;
|
|
15844
|
+
let if_block = /*notfoundicon*/ ctx[9] === 'true' && create_if_block_6(ctx);
|
|
15792
15845
|
|
|
15793
15846
|
const block = {
|
|
15794
15847
|
c: function create() {
|
|
15795
15848
|
div = element("div");
|
|
15849
|
+
if (if_block) if_block.c();
|
|
15850
|
+
t0 = space();
|
|
15796
15851
|
p = element("p");
|
|
15797
|
-
|
|
15852
|
+
t1 = text(t1_value);
|
|
15798
15853
|
attr_dev(p, "class", "SearchMessage");
|
|
15799
|
-
add_location(p, file,
|
|
15800
|
-
attr_dev(div, "class", "ResultsContainerError");
|
|
15801
|
-
add_location(div, file,
|
|
15854
|
+
add_location(p, file, 335, 12, 12610);
|
|
15855
|
+
attr_dev(div, "class", div_class_value = "ResultsContainerError " + (/*notfoundicon*/ ctx[9] == 'true' ? 'WithIcon' : ''));
|
|
15856
|
+
add_location(div, file, 324, 10, 11414);
|
|
15802
15857
|
},
|
|
15803
15858
|
m: function mount(target, anchor) {
|
|
15804
15859
|
insert_dev(target, div, anchor);
|
|
15860
|
+
if (if_block) if_block.m(div, null);
|
|
15861
|
+
append_dev(div, t0);
|
|
15805
15862
|
append_dev(div, p);
|
|
15806
|
-
append_dev(p,
|
|
15863
|
+
append_dev(p, t1);
|
|
15807
15864
|
},
|
|
15808
15865
|
p: function update(ctx, dirty) {
|
|
15809
|
-
if (
|
|
15866
|
+
if (/*notfoundicon*/ ctx[9] === 'true') {
|
|
15867
|
+
if (if_block) ; else {
|
|
15868
|
+
if_block = create_if_block_6(ctx);
|
|
15869
|
+
if_block.c();
|
|
15870
|
+
if_block.m(div, t0);
|
|
15871
|
+
}
|
|
15872
|
+
} else if (if_block) {
|
|
15873
|
+
if_block.d(1);
|
|
15874
|
+
if_block = null;
|
|
15875
|
+
}
|
|
15876
|
+
|
|
15877
|
+
if (dirty[0] & /*$_*/ 524288 && t1_value !== (t1_value = /*$_*/ ctx[19]('noRecentSearches') + "")) set_data_dev(t1, t1_value);
|
|
15878
|
+
|
|
15879
|
+
if (dirty[0] & /*notfoundicon*/ 512 && div_class_value !== (div_class_value = "ResultsContainerError " + (/*notfoundicon*/ ctx[9] == 'true' ? 'WithIcon' : ''))) {
|
|
15880
|
+
attr_dev(div, "class", div_class_value);
|
|
15881
|
+
}
|
|
15810
15882
|
},
|
|
15811
15883
|
d: function destroy(detaching) {
|
|
15812
15884
|
if (detaching) detach_dev(div);
|
|
15885
|
+
if (if_block) if_block.d();
|
|
15813
15886
|
}
|
|
15814
15887
|
};
|
|
15815
15888
|
|
|
15816
15889
|
dispatch_dev("SvelteRegisterBlock", {
|
|
15817
15890
|
block,
|
|
15818
|
-
id:
|
|
15891
|
+
id: create_if_block_5.name,
|
|
15819
15892
|
type: "if",
|
|
15820
|
-
source: "(
|
|
15893
|
+
source: "(324:10) {#if searchArray.length == 0}",
|
|
15821
15894
|
ctx
|
|
15822
15895
|
});
|
|
15823
15896
|
|
|
15824
15897
|
return block;
|
|
15825
15898
|
}
|
|
15826
15899
|
|
|
15827
|
-
// (
|
|
15828
|
-
function
|
|
15900
|
+
// (326:12) {#if notfoundicon === 'true'}
|
|
15901
|
+
function create_if_block_6(ctx) {
|
|
15902
|
+
let div;
|
|
15903
|
+
let svg;
|
|
15904
|
+
let rect;
|
|
15905
|
+
let path0;
|
|
15906
|
+
let path1;
|
|
15907
|
+
let path2;
|
|
15908
|
+
|
|
15909
|
+
const block = {
|
|
15910
|
+
c: function create() {
|
|
15911
|
+
div = element("div");
|
|
15912
|
+
svg = svg_element("svg");
|
|
15913
|
+
rect = svg_element("rect");
|
|
15914
|
+
path0 = svg_element("path");
|
|
15915
|
+
path1 = svg_element("path");
|
|
15916
|
+
path2 = svg_element("path");
|
|
15917
|
+
attr_dev(rect, "x", "40");
|
|
15918
|
+
attr_dev(rect, "width", "160");
|
|
15919
|
+
attr_dev(rect, "height", "160");
|
|
15920
|
+
attr_dev(rect, "rx", "80");
|
|
15921
|
+
attr_dev(rect, "fill", "var(--emfe-w-color-contrast, #E6E6E6)");
|
|
15922
|
+
attr_dev(rect, "fill-opacity", "0.6");
|
|
15923
|
+
add_location(rect, file, 328, 16, 11700);
|
|
15924
|
+
attr_dev(path0, "d", "M152 112L136 96");
|
|
15925
|
+
attr_dev(path0, "stroke", "var(--emfe-w-color-contrast, #131313)");
|
|
15926
|
+
attr_dev(path0, "stroke-width", "3");
|
|
15927
|
+
attr_dev(path0, "stroke-linecap", "square");
|
|
15928
|
+
attr_dev(path0, "stroke-linejoin", "round");
|
|
15929
|
+
add_location(path0, file, 329, 16, 11828);
|
|
15930
|
+
attr_dev(path1, "d", "M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z");
|
|
15931
|
+
attr_dev(path1, "stroke", "var(--emfe-w-color-contrast, #131313)");
|
|
15932
|
+
attr_dev(path1, "stroke-width", "3");
|
|
15933
|
+
attr_dev(path1, "stroke-linecap", "round");
|
|
15934
|
+
attr_dev(path1, "stroke-linejoin", "round");
|
|
15935
|
+
add_location(path1, file, 330, 16, 11984);
|
|
15936
|
+
attr_dev(path2, "fill-rule", "evenodd");
|
|
15937
|
+
attr_dev(path2, "clip-rule", "evenodd");
|
|
15938
|
+
attr_dev(path2, "d", "M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z");
|
|
15939
|
+
attr_dev(path2, "fill", "var(--emfe-w-color-contrast, #131313)");
|
|
15940
|
+
add_location(path2, file, 331, 16, 12249);
|
|
15941
|
+
attr_dev(svg, "width", "");
|
|
15942
|
+
attr_dev(svg, "height", "");
|
|
15943
|
+
attr_dev(svg, "viewBox", "0 0 240 160");
|
|
15944
|
+
attr_dev(svg, "fill", "none");
|
|
15945
|
+
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
15946
|
+
add_location(svg, file, 327, 14, 11590);
|
|
15947
|
+
attr_dev(div, "class", "SearchErrorIcon");
|
|
15948
|
+
add_location(div, file, 326, 12, 11546);
|
|
15949
|
+
},
|
|
15950
|
+
m: function mount(target, anchor) {
|
|
15951
|
+
insert_dev(target, div, anchor);
|
|
15952
|
+
append_dev(div, svg);
|
|
15953
|
+
append_dev(svg, rect);
|
|
15954
|
+
append_dev(svg, path0);
|
|
15955
|
+
append_dev(svg, path1);
|
|
15956
|
+
append_dev(svg, path2);
|
|
15957
|
+
},
|
|
15958
|
+
d: function destroy(detaching) {
|
|
15959
|
+
if (detaching) detach_dev(div);
|
|
15960
|
+
}
|
|
15961
|
+
};
|
|
15962
|
+
|
|
15963
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
15964
|
+
block,
|
|
15965
|
+
id: create_if_block_6.name,
|
|
15966
|
+
type: "if",
|
|
15967
|
+
source: "(326:12) {#if notfoundicon === 'true'}",
|
|
15968
|
+
ctx
|
|
15969
|
+
});
|
|
15970
|
+
|
|
15971
|
+
return block;
|
|
15972
|
+
}
|
|
15973
|
+
|
|
15974
|
+
// (343:8) {#if searchCancelled === false}
|
|
15975
|
+
function create_if_block_3(ctx) {
|
|
15829
15976
|
let each_1_anchor;
|
|
15830
|
-
let each_value = /*searchArray*/ ctx[
|
|
15977
|
+
let each_value = /*searchArray*/ ctx[13];
|
|
15831
15978
|
validate_each_argument(each_value);
|
|
15832
15979
|
let each_blocks = [];
|
|
15833
15980
|
|
|
@@ -15853,8 +16000,8 @@
|
|
|
15853
16000
|
insert_dev(target, each_1_anchor, anchor);
|
|
15854
16001
|
},
|
|
15855
16002
|
p: function update(ctx, dirty) {
|
|
15856
|
-
if (dirty[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
|
|
15857
|
-
each_value = /*searchArray*/ ctx[
|
|
16003
|
+
if (dirty[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/ 17178879) {
|
|
16004
|
+
each_value = /*searchArray*/ ctx[13];
|
|
15858
16005
|
validate_each_argument(each_value);
|
|
15859
16006
|
let i;
|
|
15860
16007
|
|
|
@@ -15885,16 +16032,16 @@
|
|
|
15885
16032
|
|
|
15886
16033
|
dispatch_dev("SvelteRegisterBlock", {
|
|
15887
16034
|
block,
|
|
15888
|
-
id:
|
|
16035
|
+
id: create_if_block_3.name,
|
|
15889
16036
|
type: "if",
|
|
15890
|
-
source: "(
|
|
16037
|
+
source: "(343:8) {#if searchCancelled === false}",
|
|
15891
16038
|
ctx
|
|
15892
16039
|
});
|
|
15893
16040
|
|
|
15894
16041
|
return block;
|
|
15895
16042
|
}
|
|
15896
16043
|
|
|
15897
|
-
// (
|
|
16044
|
+
// (344:10) {#each searchArray as game}
|
|
15898
16045
|
function create_each_block(ctx) {
|
|
15899
16046
|
let casino_game_thumbnail;
|
|
15900
16047
|
let casino_game_thumbnail_gamethumbnail_value;
|
|
@@ -15912,22 +16059,22 @@
|
|
|
15912
16059
|
c: function create() {
|
|
15913
16060
|
casino_game_thumbnail = element("casino-game-thumbnail");
|
|
15914
16061
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
15915
|
-
set_custom_element_data(casino_game_thumbnail, "session", /*sessionID*/ ctx[
|
|
15916
|
-
set_custom_element_data(casino_game_thumbnail, "userid", /*playerID*/ ctx[
|
|
16062
|
+
set_custom_element_data(casino_game_thumbnail, "session", /*sessionID*/ ctx[17]);
|
|
16063
|
+
set_custom_element_data(casino_game_thumbnail, "userid", /*playerID*/ ctx[18]);
|
|
15917
16064
|
set_custom_element_data(casino_game_thumbnail, "favorites", /*showfavorites*/ ctx[7]);
|
|
15918
16065
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
15919
|
-
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[
|
|
15920
|
-
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[
|
|
15921
|
-
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[
|
|
15922
|
-
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[
|
|
15923
|
-
set_custom_element_data(casino_game_thumbnail, "gametag", casino_game_thumbnail_gametag_value = /*game*/ ctx[
|
|
15924
|
-
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[
|
|
15925
|
-
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[
|
|
15926
|
-
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[
|
|
15927
|
-
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[
|
|
15928
|
-
|
|
15929
|
-
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[
|
|
15930
|
-
? /*game*/ ctx[
|
|
16066
|
+
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[53].thumbnail);
|
|
16067
|
+
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[53].name);
|
|
16068
|
+
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[53].vendor.name);
|
|
16069
|
+
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[53].isNew);
|
|
16070
|
+
set_custom_element_data(casino_game_thumbnail, "gametag", casino_game_thumbnail_gametag_value = /*game*/ ctx[53].advancedTags?.length > 0 && /*addGameTag*/ ctx[24](/*game*/ ctx[53].advancedTags));
|
|
16071
|
+
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[53].cellSize);
|
|
16072
|
+
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[53].id);
|
|
16073
|
+
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[53].hasFunMode);
|
|
16074
|
+
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[53].isFavorite);
|
|
16075
|
+
|
|
16076
|
+
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[53].details
|
|
16077
|
+
? /*game*/ ctx[53].launchUrl
|
|
15931
16078
|
: '');
|
|
15932
16079
|
|
|
15933
16080
|
set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[4]);
|
|
@@ -15935,7 +16082,7 @@
|
|
|
15935
16082
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
|
|
15936
16083
|
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
|
|
15937
16084
|
set_custom_element_data(casino_game_thumbnail, "gamepagemodalurl", /*gamepagemodalurl*/ ctx[6]);
|
|
15938
|
-
add_location(casino_game_thumbnail, file,
|
|
16085
|
+
add_location(casino_game_thumbnail, file, 344, 12, 12985);
|
|
15939
16086
|
},
|
|
15940
16087
|
m: function mount(target, anchor) {
|
|
15941
16088
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -15945,12 +16092,12 @@
|
|
|
15945
16092
|
set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
|
|
15946
16093
|
}
|
|
15947
16094
|
|
|
15948
|
-
if (dirty[0] & /*sessionID*/
|
|
15949
|
-
set_custom_element_data(casino_game_thumbnail, "session", /*sessionID*/ ctx[
|
|
16095
|
+
if (dirty[0] & /*sessionID*/ 131072) {
|
|
16096
|
+
set_custom_element_data(casino_game_thumbnail, "session", /*sessionID*/ ctx[17]);
|
|
15950
16097
|
}
|
|
15951
16098
|
|
|
15952
|
-
if (dirty[0] & /*playerID*/
|
|
15953
|
-
set_custom_element_data(casino_game_thumbnail, "userid", /*playerID*/ ctx[
|
|
16099
|
+
if (dirty[0] & /*playerID*/ 262144) {
|
|
16100
|
+
set_custom_element_data(casino_game_thumbnail, "userid", /*playerID*/ ctx[18]);
|
|
15954
16101
|
}
|
|
15955
16102
|
|
|
15956
16103
|
if (dirty[0] & /*showfavorites*/ 128) {
|
|
@@ -15961,44 +16108,44 @@
|
|
|
15961
16108
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
15962
16109
|
}
|
|
15963
16110
|
|
|
15964
|
-
if (dirty[0] & /*searchArray*/
|
|
16111
|
+
if (dirty[0] & /*searchArray*/ 8192 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[53].thumbnail)) {
|
|
15965
16112
|
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
|
|
15966
16113
|
}
|
|
15967
16114
|
|
|
15968
|
-
if (dirty[0] & /*searchArray*/
|
|
16115
|
+
if (dirty[0] & /*searchArray*/ 8192 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[53].name)) {
|
|
15969
16116
|
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
|
|
15970
16117
|
}
|
|
15971
16118
|
|
|
15972
|
-
if (dirty[0] & /*searchArray*/
|
|
16119
|
+
if (dirty[0] & /*searchArray*/ 8192 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[53].vendor.name)) {
|
|
15973
16120
|
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
|
|
15974
16121
|
}
|
|
15975
16122
|
|
|
15976
|
-
if (dirty[0] & /*searchArray*/
|
|
16123
|
+
if (dirty[0] & /*searchArray*/ 8192 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[53].isNew)) {
|
|
15977
16124
|
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
|
|
15978
16125
|
}
|
|
15979
16126
|
|
|
15980
|
-
if (dirty[0] & /*searchArray*/
|
|
16127
|
+
if (dirty[0] & /*searchArray*/ 8192 && casino_game_thumbnail_gametag_value !== (casino_game_thumbnail_gametag_value = /*game*/ ctx[53].advancedTags?.length > 0 && /*addGameTag*/ ctx[24](/*game*/ ctx[53].advancedTags))) {
|
|
15981
16128
|
set_custom_element_data(casino_game_thumbnail, "gametag", casino_game_thumbnail_gametag_value);
|
|
15982
16129
|
}
|
|
15983
16130
|
|
|
15984
|
-
if (dirty[0] & /*searchArray*/
|
|
16131
|
+
if (dirty[0] & /*searchArray*/ 8192 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[53].cellSize)) {
|
|
15985
16132
|
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
|
|
15986
16133
|
}
|
|
15987
16134
|
|
|
15988
|
-
if (dirty[0] & /*searchArray*/
|
|
16135
|
+
if (dirty[0] & /*searchArray*/ 8192 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[53].id)) {
|
|
15989
16136
|
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
|
|
15990
16137
|
}
|
|
15991
16138
|
|
|
15992
|
-
if (dirty[0] & /*searchArray*/
|
|
16139
|
+
if (dirty[0] & /*searchArray*/ 8192 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[53].hasFunMode)) {
|
|
15993
16140
|
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
|
|
15994
16141
|
}
|
|
15995
16142
|
|
|
15996
|
-
if (dirty[0] & /*searchArray*/
|
|
16143
|
+
if (dirty[0] & /*searchArray*/ 8192 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[53].isFavorite)) {
|
|
15997
16144
|
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
|
|
15998
16145
|
}
|
|
15999
16146
|
|
|
16000
|
-
if (dirty[0] & /*searchArray*/
|
|
16001
|
-
? /*game*/ ctx[
|
|
16147
|
+
if (dirty[0] & /*searchArray*/ 8192 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[53].details
|
|
16148
|
+
? /*game*/ ctx[53].launchUrl
|
|
16002
16149
|
: '')) {
|
|
16003
16150
|
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value);
|
|
16004
16151
|
}
|
|
@@ -16032,52 +16179,75 @@
|
|
|
16032
16179
|
block,
|
|
16033
16180
|
id: create_each_block.name,
|
|
16034
16181
|
type: "each",
|
|
16035
|
-
source: "(
|
|
16182
|
+
source: "(344:10) {#each searchArray as game}",
|
|
16036
16183
|
ctx
|
|
16037
16184
|
});
|
|
16038
16185
|
|
|
16039
16186
|
return block;
|
|
16040
16187
|
}
|
|
16041
16188
|
|
|
16042
|
-
// (
|
|
16189
|
+
// (369:8) {#if searchValue.length >= 2 && searchArray.length == 0}
|
|
16043
16190
|
function create_if_block_1(ctx) {
|
|
16044
16191
|
let div;
|
|
16045
|
-
let p0;
|
|
16046
|
-
let t0_value = /*$_*/ ctx[17]('notFound') + "";
|
|
16047
16192
|
let t0;
|
|
16193
|
+
let p0;
|
|
16194
|
+
let t1_value = /*$_*/ ctx[19]('notFound') + "";
|
|
16048
16195
|
let t1;
|
|
16049
|
-
let p1;
|
|
16050
|
-
let t2_value = /*$_*/ ctx[17]('notFoundText') + "";
|
|
16051
16196
|
let t2;
|
|
16197
|
+
let p1;
|
|
16198
|
+
let t3_value = /*$_*/ ctx[19]('notFoundText') + "";
|
|
16199
|
+
let t3;
|
|
16200
|
+
let div_class_value;
|
|
16201
|
+
let if_block = /*notfoundicon*/ ctx[9] === 'true' && create_if_block_2(ctx);
|
|
16052
16202
|
|
|
16053
16203
|
const block = {
|
|
16054
16204
|
c: function create() {
|
|
16055
16205
|
div = element("div");
|
|
16206
|
+
if (if_block) if_block.c();
|
|
16207
|
+
t0 = space();
|
|
16056
16208
|
p0 = element("p");
|
|
16057
|
-
|
|
16058
|
-
|
|
16209
|
+
t1 = text(t1_value);
|
|
16210
|
+
t2 = space();
|
|
16059
16211
|
p1 = element("p");
|
|
16060
|
-
|
|
16212
|
+
t3 = text(t3_value);
|
|
16061
16213
|
attr_dev(p0, "class", "SearchMessage");
|
|
16062
|
-
add_location(p0, file,
|
|
16063
|
-
add_location(p1, file,
|
|
16064
|
-
attr_dev(div, "class", "ResultsContainerError");
|
|
16065
|
-
add_location(div, file,
|
|
16214
|
+
add_location(p0, file, 380, 12, 15198);
|
|
16215
|
+
add_location(p1, file, 381, 12, 15256);
|
|
16216
|
+
attr_dev(div, "class", div_class_value = "ResultsContainerError " + (/*notfoundicon*/ ctx[9] == 'true' ? 'WithIcon' : ''));
|
|
16217
|
+
add_location(div, file, 369, 10, 13986);
|
|
16066
16218
|
},
|
|
16067
16219
|
m: function mount(target, anchor) {
|
|
16068
16220
|
insert_dev(target, div, anchor);
|
|
16221
|
+
if (if_block) if_block.m(div, null);
|
|
16222
|
+
append_dev(div, t0);
|
|
16069
16223
|
append_dev(div, p0);
|
|
16070
|
-
append_dev(p0,
|
|
16071
|
-
append_dev(div,
|
|
16224
|
+
append_dev(p0, t1);
|
|
16225
|
+
append_dev(div, t2);
|
|
16072
16226
|
append_dev(div, p1);
|
|
16073
|
-
append_dev(p1,
|
|
16227
|
+
append_dev(p1, t3);
|
|
16074
16228
|
},
|
|
16075
16229
|
p: function update(ctx, dirty) {
|
|
16076
|
-
if (
|
|
16077
|
-
|
|
16230
|
+
if (/*notfoundicon*/ ctx[9] === 'true') {
|
|
16231
|
+
if (if_block) ; else {
|
|
16232
|
+
if_block = create_if_block_2(ctx);
|
|
16233
|
+
if_block.c();
|
|
16234
|
+
if_block.m(div, t0);
|
|
16235
|
+
}
|
|
16236
|
+
} else if (if_block) {
|
|
16237
|
+
if_block.d(1);
|
|
16238
|
+
if_block = null;
|
|
16239
|
+
}
|
|
16240
|
+
|
|
16241
|
+
if (dirty[0] & /*$_*/ 524288 && t1_value !== (t1_value = /*$_*/ ctx[19]('notFound') + "")) set_data_dev(t1, t1_value);
|
|
16242
|
+
if (dirty[0] & /*$_*/ 524288 && t3_value !== (t3_value = /*$_*/ ctx[19]('notFoundText') + "")) set_data_dev(t3, t3_value);
|
|
16243
|
+
|
|
16244
|
+
if (dirty[0] & /*notfoundicon*/ 512 && div_class_value !== (div_class_value = "ResultsContainerError " + (/*notfoundicon*/ ctx[9] == 'true' ? 'WithIcon' : ''))) {
|
|
16245
|
+
attr_dev(div, "class", div_class_value);
|
|
16246
|
+
}
|
|
16078
16247
|
},
|
|
16079
16248
|
d: function destroy(detaching) {
|
|
16080
16249
|
if (detaching) detach_dev(div);
|
|
16250
|
+
if (if_block) if_block.d();
|
|
16081
16251
|
}
|
|
16082
16252
|
};
|
|
16083
16253
|
|
|
@@ -16085,7 +16255,81 @@
|
|
|
16085
16255
|
block,
|
|
16086
16256
|
id: create_if_block_1.name,
|
|
16087
16257
|
type: "if",
|
|
16088
|
-
source: "(
|
|
16258
|
+
source: "(369:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
|
|
16259
|
+
ctx
|
|
16260
|
+
});
|
|
16261
|
+
|
|
16262
|
+
return block;
|
|
16263
|
+
}
|
|
16264
|
+
|
|
16265
|
+
// (371:12) {#if notfoundicon === 'true'}
|
|
16266
|
+
function create_if_block_2(ctx) {
|
|
16267
|
+
let div;
|
|
16268
|
+
let svg;
|
|
16269
|
+
let rect;
|
|
16270
|
+
let path0;
|
|
16271
|
+
let path1;
|
|
16272
|
+
let path2;
|
|
16273
|
+
|
|
16274
|
+
const block = {
|
|
16275
|
+
c: function create() {
|
|
16276
|
+
div = element("div");
|
|
16277
|
+
svg = svg_element("svg");
|
|
16278
|
+
rect = svg_element("rect");
|
|
16279
|
+
path0 = svg_element("path");
|
|
16280
|
+
path1 = svg_element("path");
|
|
16281
|
+
path2 = svg_element("path");
|
|
16282
|
+
attr_dev(rect, "x", "40");
|
|
16283
|
+
attr_dev(rect, "width", "160");
|
|
16284
|
+
attr_dev(rect, "height", "160");
|
|
16285
|
+
attr_dev(rect, "rx", "80");
|
|
16286
|
+
attr_dev(rect, "fill", "var(--emfe-w-color-contrast, #E6E6E6)");
|
|
16287
|
+
attr_dev(rect, "fill-opacity", "0.6");
|
|
16288
|
+
add_location(rect, file, 373, 18, 14278);
|
|
16289
|
+
attr_dev(path0, "d", "M152 112L136 96");
|
|
16290
|
+
attr_dev(path0, "stroke", "var(--emfe-w-color-contrast, #131313)");
|
|
16291
|
+
attr_dev(path0, "stroke-width", "3");
|
|
16292
|
+
attr_dev(path0, "stroke-linecap", "square");
|
|
16293
|
+
attr_dev(path0, "stroke-linejoin", "round");
|
|
16294
|
+
add_location(path0, file, 374, 18, 14408);
|
|
16295
|
+
attr_dev(path1, "d", "M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z");
|
|
16296
|
+
attr_dev(path1, "stroke", "var(--emfe-w-color-contrast, #131313)");
|
|
16297
|
+
attr_dev(path1, "stroke-width", "3");
|
|
16298
|
+
attr_dev(path1, "stroke-linecap", "round");
|
|
16299
|
+
attr_dev(path1, "stroke-linejoin", "round");
|
|
16300
|
+
add_location(path1, file, 375, 18, 14566);
|
|
16301
|
+
attr_dev(path2, "fill-rule", "evenodd");
|
|
16302
|
+
attr_dev(path2, "clip-rule", "evenodd");
|
|
16303
|
+
attr_dev(path2, "d", "M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z");
|
|
16304
|
+
attr_dev(path2, "fill", "var(--emfe-w-color-contrast, #131313)");
|
|
16305
|
+
add_location(path2, file, 376, 18, 14833);
|
|
16306
|
+
attr_dev(svg, "width", "");
|
|
16307
|
+
attr_dev(svg, "height", "");
|
|
16308
|
+
attr_dev(svg, "viewBox", "0 0 240 160");
|
|
16309
|
+
attr_dev(svg, "fill", "none");
|
|
16310
|
+
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
16311
|
+
add_location(svg, file, 372, 16, 14166);
|
|
16312
|
+
attr_dev(div, "class", "SearchErrorIcon");
|
|
16313
|
+
add_location(div, file, 371, 14, 14120);
|
|
16314
|
+
},
|
|
16315
|
+
m: function mount(target, anchor) {
|
|
16316
|
+
insert_dev(target, div, anchor);
|
|
16317
|
+
append_dev(div, svg);
|
|
16318
|
+
append_dev(svg, rect);
|
|
16319
|
+
append_dev(svg, path0);
|
|
16320
|
+
append_dev(svg, path1);
|
|
16321
|
+
append_dev(svg, path2);
|
|
16322
|
+
},
|
|
16323
|
+
d: function destroy(detaching) {
|
|
16324
|
+
if (detaching) detach_dev(div);
|
|
16325
|
+
}
|
|
16326
|
+
};
|
|
16327
|
+
|
|
16328
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
16329
|
+
block,
|
|
16330
|
+
id: create_if_block_2.name,
|
|
16331
|
+
type: "if",
|
|
16332
|
+
source: "(371:12) {#if notfoundicon === 'true'}",
|
|
16089
16333
|
ctx
|
|
16090
16334
|
});
|
|
16091
16335
|
|
|
@@ -16093,6 +16337,7 @@
|
|
|
16093
16337
|
}
|
|
16094
16338
|
|
|
16095
16339
|
function create_fragment(ctx) {
|
|
16340
|
+
let div4;
|
|
16096
16341
|
let div2;
|
|
16097
16342
|
let div1;
|
|
16098
16343
|
let div0;
|
|
@@ -16108,25 +16353,26 @@
|
|
|
16108
16353
|
let path1;
|
|
16109
16354
|
let span_class_value;
|
|
16110
16355
|
let t2;
|
|
16111
|
-
let small;
|
|
16112
|
-
let t3_value = /*$_*/ ctx[17]('cancel') + "";
|
|
16113
|
-
let t3;
|
|
16114
|
-
let small_class_value;
|
|
16115
16356
|
let div1_class_value;
|
|
16357
|
+
let t3;
|
|
16358
|
+
let div3;
|
|
16359
|
+
let div3_class_value;
|
|
16116
16360
|
let t4;
|
|
16117
16361
|
let mounted;
|
|
16118
16362
|
let dispose;
|
|
16363
|
+
let if_block0 = /*cancelbutton*/ ctx[8] === 'true' && create_if_block_8(ctx);
|
|
16119
16364
|
|
|
16120
16365
|
function select_block_type(ctx, dirty) {
|
|
16121
|
-
if (/*isLoading*/ ctx[
|
|
16366
|
+
if (/*isLoading*/ ctx[16]) return create_if_block;
|
|
16122
16367
|
return create_else_block;
|
|
16123
16368
|
}
|
|
16124
16369
|
|
|
16125
16370
|
let current_block_type = select_block_type(ctx);
|
|
16126
|
-
let
|
|
16371
|
+
let if_block1 = current_block_type(ctx);
|
|
16127
16372
|
|
|
16128
16373
|
const block = {
|
|
16129
16374
|
c: function create() {
|
|
16375
|
+
div4 = element("div");
|
|
16130
16376
|
div2 = element("div");
|
|
16131
16377
|
div1 = element("div");
|
|
16132
16378
|
div0 = element("div");
|
|
@@ -16140,64 +16386,68 @@
|
|
|
16140
16386
|
svg1 = svg_element("svg");
|
|
16141
16387
|
path1 = svg_element("path");
|
|
16142
16388
|
t2 = space();
|
|
16143
|
-
|
|
16144
|
-
t3 =
|
|
16389
|
+
if (if_block0) if_block0.c();
|
|
16390
|
+
t3 = space();
|
|
16391
|
+
div3 = element("div");
|
|
16145
16392
|
t4 = space();
|
|
16146
|
-
|
|
16393
|
+
if_block1.c();
|
|
16147
16394
|
this.c = noop$1;
|
|
16148
16395
|
attr_dev(path0, "stroke", "#212121");
|
|
16149
16396
|
attr_dev(path0, "stroke-width", "2");
|
|
16150
16397
|
attr_dev(path0, "stroke-linecap", "round");
|
|
16151
16398
|
attr_dev(path0, "stroke-linejoin", "round");
|
|
16152
16399
|
attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
|
|
16153
|
-
add_location(path0, file,
|
|
16400
|
+
add_location(path0, file, 300, 10, 9969);
|
|
16154
16401
|
attr_dev(circle, "cx", "6.5");
|
|
16155
16402
|
attr_dev(circle, "cy", "6.5");
|
|
16156
16403
|
attr_dev(circle, "r", "5.75");
|
|
16157
16404
|
attr_dev(circle, "stroke", "#212121");
|
|
16158
16405
|
attr_dev(circle, "stroke-width", "1.5");
|
|
16159
|
-
add_location(circle, file,
|
|
16406
|
+
add_location(circle, file, 301, 10, 10097);
|
|
16160
16407
|
attr_dev(svg0, "width", "14");
|
|
16161
16408
|
attr_dev(svg0, "height", "15");
|
|
16162
16409
|
attr_dev(svg0, "fill", "none");
|
|
16163
16410
|
attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
|
|
16164
|
-
add_location(svg0, file,
|
|
16411
|
+
add_location(svg0, file, 299, 8, 9883);
|
|
16165
16412
|
attr_dev(div0, "class", "SearchIcon");
|
|
16166
|
-
add_location(div0, file,
|
|
16413
|
+
add_location(div0, file, 298, 6, 9850);
|
|
16167
16414
|
attr_dev(input, "class", "SearchInput");
|
|
16168
16415
|
attr_dev(input, "type", "search");
|
|
16169
|
-
attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[
|
|
16170
|
-
attr_dev(input, "maxlength", /*searchInputMaxLength*/ ctx[
|
|
16171
|
-
add_location(input, file,
|
|
16416
|
+
attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[19]('placeHolderSearchGames'));
|
|
16417
|
+
attr_dev(input, "maxlength", /*searchInputMaxLength*/ ctx[21]);
|
|
16418
|
+
add_location(input, file, 304, 10, 10208);
|
|
16172
16419
|
attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
|
|
16173
16420
|
attr_dev(path1, "stroke", "#717171");
|
|
16174
16421
|
attr_dev(path1, "stroke-width", "2");
|
|
16175
16422
|
attr_dev(path1, "stroke-linecap", "round");
|
|
16176
16423
|
attr_dev(path1, "stroke-linejoin", "round");
|
|
16177
|
-
add_location(path1, file,
|
|
16424
|
+
add_location(path1, file, 307, 14, 10670);
|
|
16178
16425
|
attr_dev(svg1, "width", "11");
|
|
16179
16426
|
attr_dev(svg1, "height", "11");
|
|
16180
16427
|
attr_dev(svg1, "fill", "none");
|
|
16181
16428
|
attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
|
|
16182
|
-
add_location(svg1, file,
|
|
16183
|
-
attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*
|
|
16184
|
-
add_location(span, file,
|
|
16185
|
-
attr_dev(
|
|
16186
|
-
add_location(
|
|
16187
|
-
attr_dev(
|
|
16188
|
-
add_location(
|
|
16189
|
-
|
|
16190
|
-
|
|
16429
|
+
add_location(svg1, file, 306, 12, 10580);
|
|
16430
|
+
attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*cancelbutton*/ ctx[8] != 'true' ? 'WithoutCancel' : '') + " " + (/*searchValue*/ ctx[10].length != 0 ? '' : 'NotVisible'));
|
|
16431
|
+
add_location(span, file, 305, 10, 10408);
|
|
16432
|
+
attr_dev(div1, "class", div1_class_value = "Search " + (/*searchCancelled*/ ctx[11] ? '' : 'SearchAnimation'));
|
|
16433
|
+
add_location(div1, file, 297, 4, 9779);
|
|
16434
|
+
attr_dev(div2, "class", "SearchWrap");
|
|
16435
|
+
add_location(div2, file, 296, 2, 9750);
|
|
16436
|
+
attr_dev(div3, "class", div3_class_value = /*cancelbutton*/ ctx[8] != 'true' ? 'OverlayCancel' : '');
|
|
16437
|
+
add_location(div3, file, 317, 2, 11068);
|
|
16438
|
+
|
|
16439
|
+
attr_dev(div4, "class", "" + ((getDevice(/*userAgent*/ ctx[20]) !== 'PC'
|
|
16191
16440
|
? ''
|
|
16192
16441
|
: 'Desktop') + " CasinoSearch"));
|
|
16193
16442
|
|
|
16194
|
-
add_location(
|
|
16443
|
+
add_location(div4, file, 295, 0, 9635);
|
|
16195
16444
|
},
|
|
16196
16445
|
l: function claim(nodes) {
|
|
16197
16446
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
16198
16447
|
},
|
|
16199
16448
|
m: function mount(target, anchor) {
|
|
16200
|
-
insert_dev(target,
|
|
16449
|
+
insert_dev(target, div4, anchor);
|
|
16450
|
+
append_dev(div4, div2);
|
|
16201
16451
|
append_dev(div2, div1);
|
|
16202
16452
|
append_dev(div1, div0);
|
|
16203
16453
|
append_dev(div0, svg0);
|
|
@@ -16205,72 +16455,85 @@
|
|
|
16205
16455
|
append_dev(svg0, circle);
|
|
16206
16456
|
append_dev(div1, t0);
|
|
16207
16457
|
append_dev(div1, input);
|
|
16208
|
-
set_input_value(input, /*searchValue*/ ctx[
|
|
16209
|
-
/*input_binding*/ ctx[
|
|
16458
|
+
set_input_value(input, /*searchValue*/ ctx[10]);
|
|
16459
|
+
/*input_binding*/ ctx[33](input);
|
|
16210
16460
|
append_dev(div1, t1);
|
|
16211
16461
|
append_dev(div1, span);
|
|
16212
16462
|
append_dev(span, svg1);
|
|
16213
16463
|
append_dev(svg1, path1);
|
|
16214
16464
|
append_dev(div1, t2);
|
|
16215
|
-
|
|
16216
|
-
append_dev(
|
|
16217
|
-
append_dev(
|
|
16218
|
-
|
|
16219
|
-
|
|
16465
|
+
if (if_block0) if_block0.m(div1, null);
|
|
16466
|
+
append_dev(div4, t3);
|
|
16467
|
+
append_dev(div4, div3);
|
|
16468
|
+
append_dev(div4, t4);
|
|
16469
|
+
if_block1.m(div4, null);
|
|
16470
|
+
/*div4_binding*/ ctx[36](div4);
|
|
16220
16471
|
|
|
16221
16472
|
if (!mounted) {
|
|
16222
16473
|
dispose = [
|
|
16223
|
-
listen_dev(input, "input", /*input_input_handler*/ ctx[
|
|
16224
|
-
listen_dev(input, "focus", /*onFocus*/ ctx[
|
|
16225
|
-
listen_dev(span, "click", /*click_handler*/ ctx[
|
|
16226
|
-
listen_dev(
|
|
16474
|
+
listen_dev(input, "input", /*input_input_handler*/ ctx[32]),
|
|
16475
|
+
listen_dev(input, "focus", /*onFocus*/ ctx[22], false, false, false, false),
|
|
16476
|
+
listen_dev(span, "click", /*click_handler*/ ctx[34], false, false, false, false),
|
|
16477
|
+
listen_dev(div3, "click", /*handleOverlay*/ ctx[23], false, false, false, false)
|
|
16227
16478
|
];
|
|
16228
16479
|
|
|
16229
16480
|
mounted = true;
|
|
16230
16481
|
}
|
|
16231
16482
|
},
|
|
16232
16483
|
p: function update(ctx, dirty) {
|
|
16233
|
-
if (dirty[0] & /*$_*/
|
|
16484
|
+
if (dirty[0] & /*$_*/ 524288 && input_placeholder_value !== (input_placeholder_value = /*$_*/ ctx[19]('placeHolderSearchGames'))) {
|
|
16234
16485
|
attr_dev(input, "placeholder", input_placeholder_value);
|
|
16235
16486
|
}
|
|
16236
16487
|
|
|
16237
|
-
if (dirty[0] & /*searchValue*/
|
|
16238
|
-
set_input_value(input, /*searchValue*/ ctx[
|
|
16488
|
+
if (dirty[0] & /*searchValue*/ 1024 && input.value !== /*searchValue*/ ctx[10]) {
|
|
16489
|
+
set_input_value(input, /*searchValue*/ ctx[10]);
|
|
16239
16490
|
}
|
|
16240
16491
|
|
|
16241
|
-
if (dirty[0] & /*searchValue*/
|
|
16492
|
+
if (dirty[0] & /*cancelbutton, searchValue*/ 1280 && span_class_value !== (span_class_value = "SearchClearButton " + (/*cancelbutton*/ ctx[8] != 'true' ? 'WithoutCancel' : '') + " " + (/*searchValue*/ ctx[10].length != 0 ? '' : 'NotVisible'))) {
|
|
16242
16493
|
attr_dev(span, "class", span_class_value);
|
|
16243
16494
|
}
|
|
16244
16495
|
|
|
16245
|
-
if (
|
|
16246
|
-
|
|
16247
|
-
|
|
16248
|
-
|
|
16496
|
+
if (/*cancelbutton*/ ctx[8] === 'true') {
|
|
16497
|
+
if (if_block0) {
|
|
16498
|
+
if_block0.p(ctx, dirty);
|
|
16499
|
+
} else {
|
|
16500
|
+
if_block0 = create_if_block_8(ctx);
|
|
16501
|
+
if_block0.c();
|
|
16502
|
+
if_block0.m(div1, null);
|
|
16503
|
+
}
|
|
16504
|
+
} else if (if_block0) {
|
|
16505
|
+
if_block0.d(1);
|
|
16506
|
+
if_block0 = null;
|
|
16249
16507
|
}
|
|
16250
16508
|
|
|
16251
|
-
if (dirty[0] & /*searchCancelled*/
|
|
16509
|
+
if (dirty[0] & /*searchCancelled*/ 2048 && div1_class_value !== (div1_class_value = "Search " + (/*searchCancelled*/ ctx[11] ? '' : 'SearchAnimation'))) {
|
|
16252
16510
|
attr_dev(div1, "class", div1_class_value);
|
|
16253
16511
|
}
|
|
16254
16512
|
|
|
16255
|
-
if (
|
|
16256
|
-
|
|
16513
|
+
if (dirty[0] & /*cancelbutton*/ 256 && div3_class_value !== (div3_class_value = /*cancelbutton*/ ctx[8] != 'true' ? 'OverlayCancel' : '')) {
|
|
16514
|
+
attr_dev(div3, "class", div3_class_value);
|
|
16515
|
+
}
|
|
16516
|
+
|
|
16517
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block1) {
|
|
16518
|
+
if_block1.p(ctx, dirty);
|
|
16257
16519
|
} else {
|
|
16258
|
-
|
|
16259
|
-
|
|
16520
|
+
if_block1.d(1);
|
|
16521
|
+
if_block1 = current_block_type(ctx);
|
|
16260
16522
|
|
|
16261
|
-
if (
|
|
16262
|
-
|
|
16263
|
-
|
|
16523
|
+
if (if_block1) {
|
|
16524
|
+
if_block1.c();
|
|
16525
|
+
if_block1.m(div4, null);
|
|
16264
16526
|
}
|
|
16265
16527
|
}
|
|
16266
16528
|
},
|
|
16267
16529
|
i: noop$1,
|
|
16268
16530
|
o: noop$1,
|
|
16269
16531
|
d: function destroy(detaching) {
|
|
16270
|
-
if (detaching) detach_dev(
|
|
16271
|
-
/*input_binding*/ ctx[
|
|
16272
|
-
|
|
16273
|
-
|
|
16532
|
+
if (detaching) detach_dev(div4);
|
|
16533
|
+
/*input_binding*/ ctx[33](null);
|
|
16534
|
+
if (if_block0) if_block0.d();
|
|
16535
|
+
if_block1.d();
|
|
16536
|
+
/*div4_binding*/ ctx[36](null);
|
|
16274
16537
|
mounted = false;
|
|
16275
16538
|
run_all(dispose);
|
|
16276
16539
|
}
|
|
@@ -16290,7 +16553,7 @@
|
|
|
16290
16553
|
function instance($$self, $$props, $$invalidate) {
|
|
16291
16554
|
let $_;
|
|
16292
16555
|
validate_store($format, '_');
|
|
16293
|
-
component_subscribe($$self, $format, $$value => $$invalidate(
|
|
16556
|
+
component_subscribe($$self, $format, $$value => $$invalidate(19, $_ = $$value));
|
|
16294
16557
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
16295
16558
|
validate_slots('undefined', slots, []);
|
|
16296
16559
|
let { endpoint = '' } = $$props;
|
|
@@ -16305,6 +16568,8 @@
|
|
|
16305
16568
|
let { gamepagemodalurl = 'true' } = $$props;
|
|
16306
16569
|
let { translationurl = '' } = $$props;
|
|
16307
16570
|
let { showfavorites = '' } = $$props;
|
|
16571
|
+
let { cancelbutton = 'true' } = $$props;
|
|
16572
|
+
let { notfoundicon = 'false' } = $$props;
|
|
16308
16573
|
let userAgent = window.navigator.userAgent;
|
|
16309
16574
|
let searchArray = [];
|
|
16310
16575
|
let searchedValues = [];
|
|
@@ -16343,9 +16608,9 @@
|
|
|
16343
16608
|
}
|
|
16344
16609
|
|
|
16345
16610
|
if (e.data.type == 'UserSessionID') {
|
|
16346
|
-
$$invalidate(
|
|
16347
|
-
$$invalidate(
|
|
16348
|
-
$$invalidate(
|
|
16611
|
+
$$invalidate(17, sessionID = e.data.session);
|
|
16612
|
+
$$invalidate(18, playerID = e.data.userid);
|
|
16613
|
+
$$invalidate(31, isLoggedIn = true);
|
|
16349
16614
|
}
|
|
16350
16615
|
|
|
16351
16616
|
if (e.data.type == 'CategoryChange') {
|
|
@@ -16354,12 +16619,12 @@
|
|
|
16354
16619
|
};
|
|
16355
16620
|
|
|
16356
16621
|
const onFocus = () => {
|
|
16357
|
-
$$invalidate(
|
|
16358
|
-
$$invalidate(
|
|
16622
|
+
$$invalidate(11, searchCancelled = false);
|
|
16623
|
+
$$invalidate(15, searchActive = true);
|
|
16359
16624
|
|
|
16360
16625
|
if (endpoint && datasource && lang) {
|
|
16361
16626
|
if (searchValue.length < 2) {
|
|
16362
|
-
$$invalidate(
|
|
16627
|
+
$$invalidate(13, searchArray = []);
|
|
16363
16628
|
let recentSearchedGames = localStorage.getItem(`searchedGamesWds_casino`);
|
|
16364
16629
|
let recentSearchedGamesArray = [];
|
|
16365
16630
|
|
|
@@ -16373,7 +16638,7 @@
|
|
|
16373
16638
|
|
|
16374
16639
|
if (length > 0) {
|
|
16375
16640
|
for (index = 0; index < length; index++) {
|
|
16376
|
-
let url = new URL(`${endpoint}/casino/games/${recentSearchedGamesArray[index]}`);
|
|
16641
|
+
let url = new URL(`${endpoint}/v1/casino/games/${recentSearchedGamesArray[index]}`);
|
|
16377
16642
|
url.searchParams.append('language', lang);
|
|
16378
16643
|
url.searchParams.append('datasource', datasource);
|
|
16379
16644
|
url.searchParams.append('platform', getDevice(userAgent));
|
|
@@ -16385,32 +16650,53 @@
|
|
|
16385
16650
|
return !!element;
|
|
16386
16651
|
});
|
|
16387
16652
|
|
|
16388
|
-
$$invalidate(
|
|
16653
|
+
$$invalidate(13, searchArray = res.map(item => {
|
|
16389
16654
|
item.isFavorite = checkFavorite(item.id);
|
|
16390
16655
|
return item;
|
|
16391
16656
|
}));
|
|
16657
|
+
|
|
16658
|
+
if (searchArray.length) {
|
|
16659
|
+
handleGtag('searchSuccess', 'SearchWidget');
|
|
16660
|
+
} else {
|
|
16661
|
+
handleGtag('searchFail', 'SearchWidget');
|
|
16662
|
+
}
|
|
16663
|
+
}).catch(e => {
|
|
16664
|
+
handleGtag('searchError', 'SearchWidget');
|
|
16392
16665
|
});
|
|
16393
16666
|
}
|
|
16394
16667
|
}
|
|
16395
16668
|
}
|
|
16396
16669
|
|
|
16397
16670
|
sendSearchStatus(searchActive);
|
|
16671
|
+
handleGtag('searchAttempt', 'SearchWidget');
|
|
16398
16672
|
|
|
16399
16673
|
//Analytics event
|
|
16674
|
+
handleGtag('SearchInitialized', 'SearchWidget');
|
|
16675
|
+
};
|
|
16676
|
+
|
|
16677
|
+
// function handle for google Analytics
|
|
16678
|
+
const handleGtag = (event, context) => {
|
|
16400
16679
|
if (typeof gtag == 'function') {
|
|
16401
|
-
gtag('event',
|
|
16680
|
+
gtag('event', event, { context });
|
|
16681
|
+
}
|
|
16682
|
+
};
|
|
16683
|
+
|
|
16684
|
+
// function handle for overlay onClick to cancleSearch
|
|
16685
|
+
const handleOverlay = () => {
|
|
16686
|
+
if (cancelbutton != 'true') {
|
|
16687
|
+
cancelSearch();
|
|
16402
16688
|
}
|
|
16403
16689
|
};
|
|
16404
16690
|
|
|
16405
16691
|
const getGames = url => {
|
|
16406
16692
|
return new Promise((resolve, reject) => {
|
|
16407
|
-
$$invalidate(
|
|
16693
|
+
$$invalidate(16, isLoading = true);
|
|
16408
16694
|
|
|
16409
16695
|
fetch(url.href).then(res => res.json()).then(games => {
|
|
16410
|
-
$$invalidate(
|
|
16696
|
+
$$invalidate(16, isLoading = false);
|
|
16411
16697
|
resolve(games);
|
|
16412
16698
|
}).catch(err => {
|
|
16413
|
-
$$invalidate(
|
|
16699
|
+
$$invalidate(16, isLoading = false);
|
|
16414
16700
|
console.error(err);
|
|
16415
16701
|
reject(err);
|
|
16416
16702
|
});
|
|
@@ -16419,14 +16705,14 @@
|
|
|
16419
16705
|
|
|
16420
16706
|
const getGame = (url, gameId) => {
|
|
16421
16707
|
return new Promise((resolve, reject) => {
|
|
16422
|
-
$$invalidate(
|
|
16708
|
+
$$invalidate(16, isLoading = true);
|
|
16423
16709
|
|
|
16424
16710
|
if (gameId && Object.keys(gamesCache).indexOf(gameId) >= 0) {
|
|
16425
|
-
$$invalidate(
|
|
16711
|
+
$$invalidate(16, isLoading = false);
|
|
16426
16712
|
resolve(gamesCache[gameId]);
|
|
16427
16713
|
} else {
|
|
16428
16714
|
fetch(url).then(fetchRes => fetchRes.json()).then(gameData => {
|
|
16429
|
-
$$invalidate(
|
|
16715
|
+
$$invalidate(16, isLoading = false);
|
|
16430
16716
|
|
|
16431
16717
|
if (!gameData.error) {
|
|
16432
16718
|
gamesCache[gameData[0].gameId] = gameData[0];
|
|
@@ -16434,7 +16720,7 @@
|
|
|
16434
16720
|
|
|
16435
16721
|
resolve(gameData[0]);
|
|
16436
16722
|
}).catch(err => {
|
|
16437
|
-
$$invalidate(
|
|
16723
|
+
$$invalidate(16, isLoading = false);
|
|
16438
16724
|
console.error(err);
|
|
16439
16725
|
reject(err);
|
|
16440
16726
|
});
|
|
@@ -16443,8 +16729,8 @@
|
|
|
16443
16729
|
};
|
|
16444
16730
|
|
|
16445
16731
|
const getFavoriteGames = () => {
|
|
16446
|
-
const url = new URL(`${endpoint}/player/${playerID}/favorites/`);
|
|
16447
|
-
$$invalidate(
|
|
16732
|
+
const url = new URL(`${endpoint}/v1/player/${playerID}/favorites/`);
|
|
16733
|
+
$$invalidate(16, isLoading = true);
|
|
16448
16734
|
|
|
16449
16735
|
let options = {
|
|
16450
16736
|
method: "GET",
|
|
@@ -16452,15 +16738,15 @@
|
|
|
16452
16738
|
};
|
|
16453
16739
|
|
|
16454
16740
|
fetch(url.href, options).then(res => res.json()).then(favoriteGames => {
|
|
16455
|
-
$$invalidate(
|
|
16741
|
+
$$invalidate(16, isLoading = false);
|
|
16456
16742
|
favoriteGamesIds = favoriteGames.items.map(favoriteGame => favoriteGame.id);
|
|
16457
16743
|
});
|
|
16458
16744
|
};
|
|
16459
16745
|
|
|
16460
16746
|
const setSession = () => {
|
|
16461
|
-
$$invalidate(
|
|
16462
|
-
$$invalidate(
|
|
16463
|
-
$$invalidate(
|
|
16747
|
+
$$invalidate(31, isLoggedIn = true);
|
|
16748
|
+
$$invalidate(17, sessionID = session);
|
|
16749
|
+
$$invalidate(18, playerID = userid);
|
|
16464
16750
|
};
|
|
16465
16751
|
|
|
16466
16752
|
const checkFavorite = gameId => {
|
|
@@ -16513,16 +16799,16 @@
|
|
|
16513
16799
|
};
|
|
16514
16800
|
|
|
16515
16801
|
const cancelSearch = () => {
|
|
16516
|
-
$$invalidate(
|
|
16517
|
-
$$invalidate(
|
|
16518
|
-
$$invalidate(
|
|
16519
|
-
$$invalidate(
|
|
16520
|
-
$$invalidate(
|
|
16802
|
+
$$invalidate(10, searchValue = '');
|
|
16803
|
+
$$invalidate(11, searchCancelled = true);
|
|
16804
|
+
$$invalidate(16, isLoading = false);
|
|
16805
|
+
$$invalidate(13, searchArray = []);
|
|
16806
|
+
$$invalidate(15, searchActive = false);
|
|
16521
16807
|
sendSearchStatus(searchActive);
|
|
16522
16808
|
};
|
|
16523
16809
|
|
|
16524
16810
|
const clearSearch = () => {
|
|
16525
|
-
$$invalidate(
|
|
16811
|
+
$$invalidate(10, searchValue = '');
|
|
16526
16812
|
searchElement.focus();
|
|
16527
16813
|
};
|
|
16528
16814
|
|
|
@@ -16585,7 +16871,9 @@
|
|
|
16585
16871
|
'integratedgameframemobile',
|
|
16586
16872
|
'gamepagemodalurl',
|
|
16587
16873
|
'translationurl',
|
|
16588
|
-
'showfavorites'
|
|
16874
|
+
'showfavorites',
|
|
16875
|
+
'cancelbutton',
|
|
16876
|
+
'notfoundicon'
|
|
16589
16877
|
];
|
|
16590
16878
|
|
|
16591
16879
|
Object_1.keys($$props).forEach(key => {
|
|
@@ -16594,39 +16882,41 @@
|
|
|
16594
16882
|
|
|
16595
16883
|
function input_input_handler() {
|
|
16596
16884
|
searchValue = this.value;
|
|
16597
|
-
$$invalidate(
|
|
16885
|
+
$$invalidate(10, searchValue);
|
|
16598
16886
|
}
|
|
16599
16887
|
|
|
16600
16888
|
function input_binding($$value) {
|
|
16601
16889
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
16602
16890
|
searchElement = $$value;
|
|
16603
|
-
$$invalidate(
|
|
16891
|
+
$$invalidate(14, searchElement);
|
|
16604
16892
|
});
|
|
16605
16893
|
}
|
|
16606
16894
|
|
|
16607
16895
|
const click_handler = () => clearSearch();
|
|
16608
16896
|
const click_handler_1 = () => cancelSearch();
|
|
16609
16897
|
|
|
16610
|
-
function
|
|
16898
|
+
function div4_binding($$value) {
|
|
16611
16899
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
16612
16900
|
customStylingContainer = $$value;
|
|
16613
|
-
$$invalidate(
|
|
16901
|
+
$$invalidate(12, customStylingContainer);
|
|
16614
16902
|
});
|
|
16615
16903
|
}
|
|
16616
16904
|
|
|
16617
16905
|
$$self.$$set = $$props => {
|
|
16618
16906
|
if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
|
|
16619
|
-
if ('datasource' in $$props) $$invalidate(
|
|
16620
|
-
if ('session' in $$props) $$invalidate(
|
|
16621
|
-
if ('userid' in $$props) $$invalidate(
|
|
16907
|
+
if ('datasource' in $$props) $$invalidate(27, datasource = $$props.datasource);
|
|
16908
|
+
if ('session' in $$props) $$invalidate(28, session = $$props.session);
|
|
16909
|
+
if ('userid' in $$props) $$invalidate(29, userid = $$props.userid);
|
|
16622
16910
|
if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
|
|
16623
16911
|
if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
|
|
16624
16912
|
if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
|
|
16625
16913
|
if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
16626
16914
|
if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
16627
16915
|
if ('gamepagemodalurl' in $$props) $$invalidate(6, gamepagemodalurl = $$props.gamepagemodalurl);
|
|
16628
|
-
if ('translationurl' in $$props) $$invalidate(
|
|
16916
|
+
if ('translationurl' in $$props) $$invalidate(30, translationurl = $$props.translationurl);
|
|
16629
16917
|
if ('showfavorites' in $$props) $$invalidate(7, showfavorites = $$props.showfavorites);
|
|
16918
|
+
if ('cancelbutton' in $$props) $$invalidate(8, cancelbutton = $$props.cancelbutton);
|
|
16919
|
+
if ('notfoundicon' in $$props) $$invalidate(9, notfoundicon = $$props.notfoundicon);
|
|
16630
16920
|
};
|
|
16631
16921
|
|
|
16632
16922
|
$$self.$capture_state = () => ({
|
|
@@ -16649,6 +16939,8 @@
|
|
|
16649
16939
|
gamepagemodalurl,
|
|
16650
16940
|
translationurl,
|
|
16651
16941
|
showfavorites,
|
|
16942
|
+
cancelbutton,
|
|
16943
|
+
notfoundicon,
|
|
16652
16944
|
userAgent,
|
|
16653
16945
|
searchArray,
|
|
16654
16946
|
searchedValues,
|
|
@@ -16667,6 +16959,8 @@
|
|
|
16667
16959
|
setTranslationUrl,
|
|
16668
16960
|
messageHandler,
|
|
16669
16961
|
onFocus,
|
|
16962
|
+
handleGtag,
|
|
16963
|
+
handleOverlay,
|
|
16670
16964
|
getGames,
|
|
16671
16965
|
getGame,
|
|
16672
16966
|
getFavoriteGames,
|
|
@@ -16685,31 +16979,33 @@
|
|
|
16685
16979
|
|
|
16686
16980
|
$$self.$inject_state = $$props => {
|
|
16687
16981
|
if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
|
|
16688
|
-
if ('datasource' in $$props) $$invalidate(
|
|
16689
|
-
if ('session' in $$props) $$invalidate(
|
|
16690
|
-
if ('userid' in $$props) $$invalidate(
|
|
16982
|
+
if ('datasource' in $$props) $$invalidate(27, datasource = $$props.datasource);
|
|
16983
|
+
if ('session' in $$props) $$invalidate(28, session = $$props.session);
|
|
16984
|
+
if ('userid' in $$props) $$invalidate(29, userid = $$props.userid);
|
|
16691
16985
|
if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
|
|
16692
16986
|
if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
|
|
16693
16987
|
if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
|
|
16694
16988
|
if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
16695
16989
|
if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
16696
16990
|
if ('gamepagemodalurl' in $$props) $$invalidate(6, gamepagemodalurl = $$props.gamepagemodalurl);
|
|
16697
|
-
if ('translationurl' in $$props) $$invalidate(
|
|
16991
|
+
if ('translationurl' in $$props) $$invalidate(30, translationurl = $$props.translationurl);
|
|
16698
16992
|
if ('showfavorites' in $$props) $$invalidate(7, showfavorites = $$props.showfavorites);
|
|
16699
|
-
if ('
|
|
16700
|
-
if ('
|
|
16993
|
+
if ('cancelbutton' in $$props) $$invalidate(8, cancelbutton = $$props.cancelbutton);
|
|
16994
|
+
if ('notfoundicon' in $$props) $$invalidate(9, notfoundicon = $$props.notfoundicon);
|
|
16995
|
+
if ('userAgent' in $$props) $$invalidate(20, userAgent = $$props.userAgent);
|
|
16996
|
+
if ('searchArray' in $$props) $$invalidate(13, searchArray = $$props.searchArray);
|
|
16701
16997
|
if ('searchedValues' in $$props) searchedValues = $$props.searchedValues;
|
|
16702
16998
|
if ('gamesCache' in $$props) gamesCache = $$props.gamesCache;
|
|
16703
|
-
if ('searchValue' in $$props) $$invalidate(
|
|
16704
|
-
if ('searchElement' in $$props) $$invalidate(
|
|
16705
|
-
if ('searchCancelled' in $$props) $$invalidate(
|
|
16706
|
-
if ('searchActive' in $$props) $$invalidate(
|
|
16707
|
-
if ('searchInputMaxLength' in $$props) $$invalidate(
|
|
16708
|
-
if ('isLoading' in $$props) $$invalidate(
|
|
16709
|
-
if ('customStylingContainer' in $$props) $$invalidate(
|
|
16710
|
-
if ('isLoggedIn' in $$props) $$invalidate(
|
|
16711
|
-
if ('sessionID' in $$props) $$invalidate(
|
|
16712
|
-
if ('playerID' in $$props) $$invalidate(
|
|
16999
|
+
if ('searchValue' in $$props) $$invalidate(10, searchValue = $$props.searchValue);
|
|
17000
|
+
if ('searchElement' in $$props) $$invalidate(14, searchElement = $$props.searchElement);
|
|
17001
|
+
if ('searchCancelled' in $$props) $$invalidate(11, searchCancelled = $$props.searchCancelled);
|
|
17002
|
+
if ('searchActive' in $$props) $$invalidate(15, searchActive = $$props.searchActive);
|
|
17003
|
+
if ('searchInputMaxLength' in $$props) $$invalidate(21, searchInputMaxLength = $$props.searchInputMaxLength);
|
|
17004
|
+
if ('isLoading' in $$props) $$invalidate(16, isLoading = $$props.isLoading);
|
|
17005
|
+
if ('customStylingContainer' in $$props) $$invalidate(12, customStylingContainer = $$props.customStylingContainer);
|
|
17006
|
+
if ('isLoggedIn' in $$props) $$invalidate(31, isLoggedIn = $$props.isLoggedIn);
|
|
17007
|
+
if ('sessionID' in $$props) $$invalidate(17, sessionID = $$props.sessionID);
|
|
17008
|
+
if ('playerID' in $$props) $$invalidate(18, playerID = $$props.playerID);
|
|
16713
17009
|
if ('favoriteGamesIds' in $$props) favoriteGamesIds = $$props.favoriteGamesIds;
|
|
16714
17010
|
};
|
|
16715
17011
|
|
|
@@ -16718,9 +17014,9 @@
|
|
|
16718
17014
|
}
|
|
16719
17015
|
|
|
16720
17016
|
$$self.$$.update = () => {
|
|
16721
|
-
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
17017
|
+
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 134220803) {
|
|
16722
17018
|
if (searchValue.length >= 2) {
|
|
16723
|
-
const searchUrl = new URL(`${endpoint}/casino/games`);
|
|
17019
|
+
const searchUrl = new URL(`${endpoint}/v1/casino/games`);
|
|
16724
17020
|
searchUrl.searchParams.append("datasource", datasource);
|
|
16725
17021
|
searchUrl.searchParams.append("expand", "vendor");
|
|
16726
17022
|
searchUrl.searchParams.append("platform", getDevice(userAgent));
|
|
@@ -16729,7 +17025,7 @@
|
|
|
16729
17025
|
searchUrl.searchParams.append("filter", `name=${searchValue}`);
|
|
16730
17026
|
|
|
16731
17027
|
getGames(searchUrl).then(searchData => {
|
|
16732
|
-
$$invalidate(
|
|
17028
|
+
$$invalidate(13, searchArray = searchData.items.map(item => {
|
|
16733
17029
|
item.isFavorite = checkFavorite(item.id);
|
|
16734
17030
|
return item;
|
|
16735
17031
|
}));
|
|
@@ -16745,23 +17041,23 @@
|
|
|
16745
17041
|
lang && setActiveLanguage();
|
|
16746
17042
|
}
|
|
16747
17043
|
|
|
16748
|
-
if ($$self.$$.dirty[0] & /*translationurl*/
|
|
17044
|
+
if ($$self.$$.dirty[0] & /*translationurl*/ 1073741824) {
|
|
16749
17045
|
translationurl && setTranslationUrl();
|
|
16750
17046
|
}
|
|
16751
17047
|
|
|
16752
|
-
if ($$self.$$.dirty[0] & /*session, userid*/
|
|
17048
|
+
if ($$self.$$.dirty[0] & /*session, userid*/ 805306368) {
|
|
16753
17049
|
session && userid && setSession();
|
|
16754
17050
|
}
|
|
16755
17051
|
|
|
16756
|
-
if ($$self.$$.dirty[0] & /*showfavorites
|
|
17052
|
+
if ($$self.$$.dirty[0] & /*showfavorites*/ 128 | $$self.$$.dirty[1] & /*isLoggedIn*/ 1) {
|
|
16757
17053
|
showfavorites && isLoggedIn && getFavoriteGames();
|
|
16758
17054
|
}
|
|
16759
17055
|
|
|
16760
|
-
if ($$self.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
17056
|
+
if ($$self.$$.dirty[0] & /*clientstyling, customStylingContainer*/ 4100) {
|
|
16761
17057
|
clientstyling && customStylingContainer && setClientStyling();
|
|
16762
17058
|
}
|
|
16763
17059
|
|
|
16764
|
-
if ($$self.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
17060
|
+
if ($$self.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/ 4104) {
|
|
16765
17061
|
clientstylingurl && customStylingContainer && setClientStylingURL();
|
|
16766
17062
|
}
|
|
16767
17063
|
};
|
|
@@ -16775,6 +17071,8 @@
|
|
|
16775
17071
|
integratedgameframemobile,
|
|
16776
17072
|
gamepagemodalurl,
|
|
16777
17073
|
showfavorites,
|
|
17074
|
+
cancelbutton,
|
|
17075
|
+
notfoundicon,
|
|
16778
17076
|
searchValue,
|
|
16779
17077
|
searchCancelled,
|
|
16780
17078
|
customStylingContainer,
|
|
@@ -16788,6 +17086,7 @@
|
|
|
16788
17086
|
userAgent,
|
|
16789
17087
|
searchInputMaxLength,
|
|
16790
17088
|
onFocus,
|
|
17089
|
+
handleOverlay,
|
|
16791
17090
|
addGameTag,
|
|
16792
17091
|
cancelSearch,
|
|
16793
17092
|
clearSearch,
|
|
@@ -16800,7 +17099,7 @@
|
|
|
16800
17099
|
input_binding,
|
|
16801
17100
|
click_handler,
|
|
16802
17101
|
click_handler_1,
|
|
16803
|
-
|
|
17102
|
+
div4_binding
|
|
16804
17103
|
];
|
|
16805
17104
|
}
|
|
16806
17105
|
|
|
@@ -16808,7 +17107,7 @@
|
|
|
16808
17107
|
constructor(options) {
|
|
16809
17108
|
super();
|
|
16810
17109
|
const style = document.createElement('style');
|
|
16811
|
-
style.textContent = `*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input{font-family:inherit}.CasinoSearch{margin:30px 16px}.LoadingContent{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:var(--emfe-w-color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emfe-w-color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchCancelButton{color:var(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-color-contrast, #000000)}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop.CasinoSearch{margin:30px auto}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .
|
|
17110
|
+
style.textContent = `*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input{font-family:inherit}.CasinoSearch{margin:30px 16px}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100%;position:absolute;translate:0 -100px}.LoadingContent{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:var(--emfe-w-color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emfe-w-color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:-1}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:-1}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:100%}`;
|
|
16812
17111
|
this.shadowRoot.appendChild(style);
|
|
16813
17112
|
|
|
16814
17113
|
init(
|
|
@@ -16823,17 +17122,19 @@
|
|
|
16823
17122
|
safe_not_equal,
|
|
16824
17123
|
{
|
|
16825
17124
|
endpoint: 0,
|
|
16826
|
-
datasource:
|
|
16827
|
-
session:
|
|
16828
|
-
userid:
|
|
17125
|
+
datasource: 27,
|
|
17126
|
+
session: 28,
|
|
17127
|
+
userid: 29,
|
|
16829
17128
|
lang: 1,
|
|
16830
17129
|
clientstyling: 2,
|
|
16831
17130
|
clientstylingurl: 3,
|
|
16832
17131
|
integratedgameframedesktop: 4,
|
|
16833
17132
|
integratedgameframemobile: 5,
|
|
16834
17133
|
gamepagemodalurl: 6,
|
|
16835
|
-
translationurl:
|
|
16836
|
-
showfavorites: 7
|
|
17134
|
+
translationurl: 30,
|
|
17135
|
+
showfavorites: 7,
|
|
17136
|
+
cancelbutton: 8,
|
|
17137
|
+
notfoundicon: 9
|
|
16837
17138
|
},
|
|
16838
17139
|
null,
|
|
16839
17140
|
[-1, -1]
|
|
@@ -16864,7 +17165,9 @@
|
|
|
16864
17165
|
"integratedgameframemobile",
|
|
16865
17166
|
"gamepagemodalurl",
|
|
16866
17167
|
"translationurl",
|
|
16867
|
-
"showfavorites"
|
|
17168
|
+
"showfavorites",
|
|
17169
|
+
"cancelbutton",
|
|
17170
|
+
"notfoundicon"
|
|
16868
17171
|
];
|
|
16869
17172
|
}
|
|
16870
17173
|
|
|
@@ -16878,7 +17181,7 @@
|
|
|
16878
17181
|
}
|
|
16879
17182
|
|
|
16880
17183
|
get datasource() {
|
|
16881
|
-
return this.$$.ctx[
|
|
17184
|
+
return this.$$.ctx[27];
|
|
16882
17185
|
}
|
|
16883
17186
|
|
|
16884
17187
|
set datasource(datasource) {
|
|
@@ -16887,7 +17190,7 @@
|
|
|
16887
17190
|
}
|
|
16888
17191
|
|
|
16889
17192
|
get session() {
|
|
16890
|
-
return this.$$.ctx[
|
|
17193
|
+
return this.$$.ctx[28];
|
|
16891
17194
|
}
|
|
16892
17195
|
|
|
16893
17196
|
set session(session) {
|
|
@@ -16896,7 +17199,7 @@
|
|
|
16896
17199
|
}
|
|
16897
17200
|
|
|
16898
17201
|
get userid() {
|
|
16899
|
-
return this.$$.ctx[
|
|
17202
|
+
return this.$$.ctx[29];
|
|
16900
17203
|
}
|
|
16901
17204
|
|
|
16902
17205
|
set userid(userid) {
|
|
@@ -16959,7 +17262,7 @@
|
|
|
16959
17262
|
}
|
|
16960
17263
|
|
|
16961
17264
|
get translationurl() {
|
|
16962
|
-
return this.$$.ctx[
|
|
17265
|
+
return this.$$.ctx[30];
|
|
16963
17266
|
}
|
|
16964
17267
|
|
|
16965
17268
|
set translationurl(translationurl) {
|
|
@@ -16975,6 +17278,24 @@
|
|
|
16975
17278
|
this.$$set({ showfavorites });
|
|
16976
17279
|
flush$1();
|
|
16977
17280
|
}
|
|
17281
|
+
|
|
17282
|
+
get cancelbutton() {
|
|
17283
|
+
return this.$$.ctx[8];
|
|
17284
|
+
}
|
|
17285
|
+
|
|
17286
|
+
set cancelbutton(cancelbutton) {
|
|
17287
|
+
this.$$set({ cancelbutton });
|
|
17288
|
+
flush$1();
|
|
17289
|
+
}
|
|
17290
|
+
|
|
17291
|
+
get notfoundicon() {
|
|
17292
|
+
return this.$$.ctx[9];
|
|
17293
|
+
}
|
|
17294
|
+
|
|
17295
|
+
set notfoundicon(notfoundicon) {
|
|
17296
|
+
this.$$set({ notfoundicon });
|
|
17297
|
+
flush$1();
|
|
17298
|
+
}
|
|
16978
17299
|
}
|
|
16979
17300
|
|
|
16980
17301
|
!customElements.get('casino-search') && customElements.define('casino-search', CasinoSearch);
|