@everymatrix/casino-search 1.0.3 → 1.0.4

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.
@@ -12330,9 +12330,9 @@
12330
12330
  return child_ctx;
12331
12331
  }
12332
12332
 
12333
- // (530:8) {#if fav}
12333
+ // (548:8) {#if fav}
12334
12334
  function create_if_block_12(ctx) {
12335
- let show_if = !isMobile(/*userAgent*/ ctx[36]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[13];
12335
+ let show_if = !isMobile(/*userAgent*/ ctx[36]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[14];
12336
12336
  let if_block_anchor;
12337
12337
  let if_block = show_if && create_if_block_13(ctx);
12338
12338
 
@@ -12346,7 +12346,7 @@
12346
12346
  insert_dev(target, if_block_anchor, anchor);
12347
12347
  },
12348
12348
  p: function update(ctx, dirty) {
12349
- if (dirty[0] & /*gamefavorite, isLoggedIn*/ 8193) show_if = !isMobile(/*userAgent*/ ctx[36]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[13];
12349
+ if (dirty[0] & /*gamefavorite, isLoggedIn*/ 16385) show_if = !isMobile(/*userAgent*/ ctx[36]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[14];
12350
12350
 
12351
12351
  if (show_if) {
12352
12352
  if (if_block) {
@@ -12371,14 +12371,14 @@
12371
12371
  block,
12372
12372
  id: create_if_block_12.name,
12373
12373
  type: "if",
12374
- source: "(530:8) {#if fav}",
12374
+ source: "(548:8) {#if fav}",
12375
12375
  ctx
12376
12376
  });
12377
12377
 
12378
12378
  return block;
12379
12379
  }
12380
12380
 
12381
- // (531:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
12381
+ // (549:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
12382
12382
  function create_if_block_13(ctx) {
12383
12383
  let div;
12384
12384
  let svg;
@@ -12393,7 +12393,7 @@
12393
12393
  path = svg_element("path");
12394
12394
  set_style(path, "fill", "white");
12395
12395
  attr_dev(path, "d", "M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z");
12396
- add_location(path, file$1, 533, 112, 18963);
12396
+ add_location(path, file$1, 551, 112, 19616);
12397
12397
  attr_dev(svg, "version", "1.1");
12398
12398
  attr_dev(svg, "class", "UnfavoredIcon");
12399
12399
  attr_dev(svg, "part", "UnfavoredIcon");
@@ -12404,10 +12404,10 @@
12404
12404
  attr_dev(svg, "viewBox", "0 0 512.001 512.001");
12405
12405
  set_style(svg, "enable-background", "new 0 0 512.001 512.001");
12406
12406
  attr_dev(svg, "xml:space", "preserve");
12407
- add_location(svg, file$1, 532, 14, 18693);
12407
+ add_location(svg, file$1, 550, 14, 19346);
12408
12408
  attr_dev(div, "class", "FavIconContainer");
12409
12409
  attr_dev(div, "part", "FavIconContainer");
12410
- add_location(div, file$1, 531, 12, 18578);
12410
+ add_location(div, file$1, 549, 12, 19231);
12411
12411
  },
12412
12412
  m: function mount(target, anchor) {
12413
12413
  insert_dev(target, div, anchor);
@@ -12431,14 +12431,14 @@
12431
12431
  block,
12432
12432
  id: create_if_block_13.name,
12433
12433
  type: "if",
12434
- source: "(531:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}",
12434
+ source: "(549:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}",
12435
12435
  ctx
12436
12436
  });
12437
12437
 
12438
12438
  return block;
12439
12439
  }
12440
12440
 
12441
- // (559:77)
12441
+ // (577:77)
12442
12442
  function create_if_block_11(ctx) {
12443
12443
  let div;
12444
12444
  let svg;
@@ -12451,7 +12451,7 @@
12451
12451
  path = svg_element("path");
12452
12452
  set_style(path, "fill", "white");
12453
12453
  attr_dev(path, "d", "m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z");
12454
- add_location(path, file$1, 561, 10, 21592);
12454
+ add_location(path, file$1, 579, 10, 22245);
12455
12455
  attr_dev(svg, "version", "1.1");
12456
12456
  attr_dev(svg, "class", "FavoredIcon");
12457
12457
  attr_dev(svg, "part", "FavoredIcon");
@@ -12459,10 +12459,10 @@
12459
12459
  attr_dev(svg, "viewBox", "0 0 19.481 19.481");
12460
12460
  attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
12461
12461
  attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
12462
- add_location(svg, file$1, 560, 8, 21375);
12462
+ add_location(svg, file$1, 578, 8, 22028);
12463
12463
  attr_dev(div, "class", "FavIconContainer");
12464
12464
  attr_dev(div, "part", "FavIconContainer");
12465
- add_location(div, file$1, 559, 6, 21312);
12465
+ add_location(div, file$1, 577, 6, 21965);
12466
12466
  },
12467
12467
  m: function mount(target, anchor) {
12468
12468
  insert_dev(target, div, anchor);
@@ -12479,14 +12479,14 @@
12479
12479
  block,
12480
12480
  id: create_if_block_11.name,
12481
12481
  type: "if",
12482
- source: "(559:77) ",
12482
+ source: "(577:77) ",
12483
12483
  ctx
12484
12484
  });
12485
12485
 
12486
12486
  return block;
12487
12487
  }
12488
12488
 
12489
- // (553:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
12489
+ // (571:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
12490
12490
  function create_if_block_10(ctx) {
12491
12491
  let div;
12492
12492
  let svg;
@@ -12501,7 +12501,7 @@
12501
12501
  path = svg_element("path");
12502
12502
  set_style(path, "fill", "white");
12503
12503
  attr_dev(path, "d", "m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z");
12504
- add_location(path, file$1, 555, 10, 20861);
12504
+ add_location(path, file$1, 573, 10, 21514);
12505
12505
  attr_dev(svg, "version", "1.1");
12506
12506
  attr_dev(svg, "class", "FavoredIcon");
12507
12507
  attr_dev(svg, "part", "FavoredIcon");
@@ -12509,10 +12509,10 @@
12509
12509
  attr_dev(svg, "viewBox", "0 0 19.481 19.481");
12510
12510
  attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
12511
12511
  attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
12512
- add_location(svg, file$1, 554, 8, 20644);
12512
+ add_location(svg, file$1, 572, 8, 21297);
12513
12513
  attr_dev(div, "class", "FavIconContainer");
12514
12514
  attr_dev(div, "part", "FavIconContainer");
12515
- add_location(div, file$1, 553, 6, 20535);
12515
+ add_location(div, file$1, 571, 6, 21188);
12516
12516
  },
12517
12517
  m: function mount(target, anchor) {
12518
12518
  insert_dev(target, div, anchor);
@@ -12536,14 +12536,14 @@
12536
12536
  block,
12537
12537
  id: create_if_block_10.name,
12538
12538
  type: "if",
12539
- source: "(553:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}",
12539
+ source: "(571:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}",
12540
12540
  ctx
12541
12541
  });
12542
12542
 
12543
12543
  return block;
12544
12544
  }
12545
12545
 
12546
- // (567:6) {#if gameisnew}
12546
+ // (585:6) {#if gameisnew}
12547
12547
  function create_if_block_9(ctx) {
12548
12548
  let span;
12549
12549
  let t_value = /*$_*/ ctx[35]('gameThumbnail.new') + "";
@@ -12555,7 +12555,7 @@
12555
12555
  t = text(t_value);
12556
12556
  attr_dev(span, "class", "GameExtraInfoLabel NewGameTag");
12557
12557
  attr_dev(span, "part", "GameExtraInfoLabel NewGameTag");
12558
- add_location(span, file$1, 567, 8, 22052);
12558
+ add_location(span, file$1, 585, 8, 22705);
12559
12559
  },
12560
12560
  m: function mount(target, anchor) {
12561
12561
  insert_dev(target, span, anchor);
@@ -12573,14 +12573,14 @@
12573
12573
  block,
12574
12574
  id: create_if_block_9.name,
12575
12575
  type: "if",
12576
- source: "(567:6) {#if gameisnew}",
12576
+ source: "(585:6) {#if gameisnew}",
12577
12577
  ctx
12578
12578
  });
12579
12579
 
12580
12580
  return block;
12581
12581
  }
12582
12582
 
12583
- // (570:6) {#if (parseInt(gamepopularity) > 0)}
12583
+ // (588:6) {#if (parseInt(gamepopularity) > 0)}
12584
12584
  function create_if_block_8(ctx) {
12585
12585
  let span;
12586
12586
  let t_value = /*$_*/ ctx[35]('gameThumbnail.hot') + "";
@@ -12592,7 +12592,7 @@
12592
12592
  t = text(t_value);
12593
12593
  attr_dev(span, "class", "GameExtraInfoLabel PopularGameTag");
12594
12594
  attr_dev(span, "part", "GameExtraInfoLabel PopularGameTag");
12595
- add_location(span, file$1, 570, 8, 22229);
12595
+ add_location(span, file$1, 588, 8, 22882);
12596
12596
  },
12597
12597
  m: function mount(target, anchor) {
12598
12598
  insert_dev(target, span, anchor);
@@ -12610,14 +12610,14 @@
12610
12610
  block,
12611
12611
  id: create_if_block_8.name,
12612
12612
  type: "if",
12613
- source: "(570:6) {#if (parseInt(gamepopularity) > 0)}",
12613
+ source: "(588:6) {#if (parseInt(gamepopularity) > 0)}",
12614
12614
  ctx
12615
12615
  });
12616
12616
 
12617
12617
  return block;
12618
12618
  }
12619
12619
 
12620
- // (573:6) {#if livegamedata}
12620
+ // (591:6) {#if livegamedata}
12621
12621
  function create_if_block_1$1(ctx) {
12622
12622
  let t;
12623
12623
  let if_block1_anchor;
@@ -12686,14 +12686,14 @@
12686
12686
  block,
12687
12687
  id: create_if_block_1$1.name,
12688
12688
  type: "if",
12689
- source: "(573:6) {#if livegamedata}",
12689
+ source: "(591:6) {#if livegamedata}",
12690
12690
  ctx
12691
12691
  });
12692
12692
 
12693
12693
  return block;
12694
12694
  }
12695
12695
 
12696
- // (574:8) {#if !isopen && starttime && timeformat}
12696
+ // (592:8) {#if !isopen && starttime && timeformat}
12697
12697
  function create_if_block_7(ctx) {
12698
12698
  let div1;
12699
12699
  let div0;
@@ -12722,15 +12722,15 @@
12722
12722
  html_tag = new HtmlTag(false);
12723
12723
  t4 = space();
12724
12724
  html_tag_1 = new HtmlTag(false);
12725
- add_location(span, file$1, 577, 14, 22617);
12725
+ add_location(span, file$1, 595, 14, 23270);
12726
12726
  attr_dev(div0, "class", "ClosedGame");
12727
12727
  attr_dev(div0, "part", "ClosedGame");
12728
- add_location(div0, file$1, 575, 12, 22518);
12728
+ add_location(div0, file$1, 593, 12, 23171);
12729
12729
  html_tag.a = t4;
12730
12730
  html_tag_1.a = null;
12731
12731
  attr_dev(div1, "class", "GameProp LiveProps");
12732
12732
  attr_dev(div1, "part", "GameProp LiveProps");
12733
- add_location(div1, file$1, 574, 10, 22447);
12733
+ add_location(div1, file$1, 592, 10, 23100);
12734
12734
  },
12735
12735
  m: function mount(target, anchor) {
12736
12736
  insert_dev(target, div1, anchor);
@@ -12759,14 +12759,14 @@
12759
12759
  block,
12760
12760
  id: create_if_block_7.name,
12761
12761
  type: "if",
12762
- source: "(574:8) {#if !isopen && starttime && timeformat}",
12762
+ source: "(592:8) {#if !isopen && starttime && timeformat}",
12763
12763
  ctx
12764
12764
  });
12765
12765
 
12766
12766
  return block;
12767
12767
  }
12768
12768
 
12769
- // (607:68)
12769
+ // (625:68)
12770
12770
  function create_if_block_4$1(ctx) {
12771
12771
  let div1;
12772
12772
  let div0;
@@ -12799,12 +12799,12 @@
12799
12799
  html_tag_1 = new HtmlTag(false);
12800
12800
  attr_dev(div0, "class", "LiveIcons");
12801
12801
  attr_dev(div0, "part", "LiveIcons");
12802
- add_location(div0, file$1, 608, 12, 24577);
12802
+ add_location(div0, file$1, 626, 12, 25230);
12803
12803
  html_tag.a = t1;
12804
12804
  html_tag_1.a = null;
12805
12805
  attr_dev(div1, "class", /*roulettecontainerclassname*/ ctx[30]);
12806
12806
  attr_dev(div1, "part", /*roulettecontainerclassname*/ ctx[30]);
12807
- add_location(div1, file$1, 607, 10, 24486);
12807
+ add_location(div1, file$1, 625, 10, 25139);
12808
12808
  },
12809
12809
  m: function mount(target, anchor) {
12810
12810
  insert_dev(target, div1, anchor);
@@ -12821,7 +12821,7 @@
12821
12821
  html_tag_1.m(raw1_value, div1);
12822
12822
  },
12823
12823
  p: function update(ctx, dirty) {
12824
- if (dirty[0] & /*roulleteresults, isdouble*/ 536872960 | dirty[1] & /*renderSpan, colorsourcearray*/ 32769) {
12824
+ if (dirty[0] & /*roulleteresults, isdouble*/ 536875008 | dirty[1] & /*renderSpan, colorsourcearray*/ 32769) {
12825
12825
  each_value_1 = new Array(numberofdisplayedresults);
12826
12826
  validate_each_argument(each_value_1);
12827
12827
  let i;
@@ -12867,14 +12867,14 @@
12867
12867
  block,
12868
12868
  id: create_if_block_4$1.name,
12869
12869
  type: "if",
12870
- source: "(607:68) ",
12870
+ source: "(625:68) ",
12871
12871
  ctx
12872
12872
  });
12873
12873
 
12874
12874
  return block;
12875
12875
  }
12876
12876
 
12877
- // (586:8) {#if isopen && displaytype && displaytype === BLACKJACK}
12877
+ // (604:8) {#if isopen && displaytype && displaytype === BLACKJACK}
12878
12878
  function create_if_block_2$1(ctx) {
12879
12879
  let div1;
12880
12880
  let div0;
@@ -12904,12 +12904,12 @@
12904
12904
  html_tag_1 = new HtmlTag(false);
12905
12905
  attr_dev(div0, "class", "LiveIcons");
12906
12906
  attr_dev(div0, "part", "LiveIcons");
12907
- add_location(div0, file$1, 587, 12, 23054);
12907
+ add_location(div0, file$1, 605, 12, 23707);
12908
12908
  html_tag.a = t1;
12909
12909
  html_tag_1.a = null;
12910
12910
  attr_dev(div1, "class", "GameProp LiveProps BlackjackDisplay");
12911
12911
  attr_dev(div1, "part", "GameProp LiveProps BlackjackDisplay");
12912
- add_location(div1, file$1, 586, 10, 22949);
12912
+ add_location(div1, file$1, 604, 10, 23602);
12913
12913
  },
12914
12914
  m: function mount(target, anchor) {
12915
12915
  insert_dev(target, div1, anchor);
@@ -12946,14 +12946,14 @@
12946
12946
  block,
12947
12947
  id: create_if_block_2$1.name,
12948
12948
  type: "if",
12949
- source: "(586:8) {#if isopen && displaytype && displaytype === BLACKJACK}",
12949
+ source: "(604:8) {#if isopen && displaytype && displaytype === BLACKJACK}",
12950
12950
  ctx
12951
12951
  });
12952
12952
 
12953
12953
  return block;
12954
12954
  }
12955
12955
 
12956
- // (611:16) {#if roulleteresults && roulleteresults[i]}
12956
+ // (629:16) {#if roulleteresults && roulleteresults[i]}
12957
12957
  function create_if_block_5$1(ctx) {
12958
12958
  let if_block_anchor;
12959
12959
 
@@ -12997,17 +12997,17 @@
12997
12997
  block,
12998
12998
  id: create_if_block_5$1.name,
12999
12999
  type: "if",
13000
- source: "(611:16) {#if roulleteresults && roulleteresults[i]}",
13000
+ source: "(629:16) {#if roulleteresults && roulleteresults[i]}",
13001
13001
  ctx
13002
13002
  });
13003
13003
 
13004
13004
  return block;
13005
13005
  }
13006
13006
 
13007
- // (617:18) {:else}
13007
+ // (635:18) {:else}
13008
13008
  function create_else_block_1(ctx) {
13009
13009
  let html_tag;
13010
- let raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, /*i*/ ctx[109], /*roulleteresults*/ ctx[11][/*i*/ ctx[109]], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]]]) + "";
13010
+ let raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, /*i*/ ctx[109], /*roulleteresults*/ ctx[12][/*i*/ ctx[109]], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[109]]]) + "";
13011
13011
  let html_anchor;
13012
13012
 
13013
13013
  const block = {
@@ -13021,7 +13021,7 @@
13021
13021
  insert_dev(target, html_anchor, anchor);
13022
13022
  },
13023
13023
  p: function update(ctx, dirty) {
13024
- if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw_value !== (raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, /*i*/ ctx[109], /*roulleteresults*/ ctx[11][/*i*/ ctx[109]], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]]]) + "")) html_tag.p(raw_value);
13024
+ if (dirty[0] & /*roulleteresults*/ 4096 | dirty[1] & /*colorsourcearray*/ 1 && raw_value !== (raw_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, /*i*/ ctx[109], /*roulleteresults*/ ctx[12][/*i*/ ctx[109]], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[109]]]) + "")) html_tag.p(raw_value);
13025
13025
  },
13026
13026
  d: function destroy(detaching) {
13027
13027
  if (detaching) detach_dev(html_anchor);
@@ -13033,21 +13033,21 @@
13033
13033
  block,
13034
13034
  id: create_else_block_1.name,
13035
13035
  type: "else",
13036
- source: "(617:18) {:else}",
13036
+ source: "(635:18) {:else}",
13037
13037
  ctx
13038
13038
  });
13039
13039
 
13040
13040
  return block;
13041
13041
  }
13042
13042
 
13043
- // (612:18) {#if isdouble}
13043
+ // (630:18) {#if isdouble}
13044
13044
  function create_if_block_6(ctx) {
13045
13045
  let div;
13046
13046
  let html_tag;
13047
- let raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `first${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0]}`, /*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0]]) + "";
13047
+ let raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `first${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[12][/*i*/ ctx[109]][0]}`, /*roulleteresults*/ ctx[12][/*i*/ ctx[109]][0], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[109]][0]]) + "";
13048
13048
  let t0;
13049
13049
  let html_tag_1;
13050
- let raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `second${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1]}`, /*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1]]) + "";
13050
+ let raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `second${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[12][/*i*/ ctx[109]][1]}`, /*roulleteresults*/ ctx[12][/*i*/ ctx[109]][1], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[109]][1]]) + "";
13051
13051
  let t1;
13052
13052
 
13053
13053
  const block = {
@@ -13061,7 +13061,7 @@
13061
13061
  html_tag_1.a = t1;
13062
13062
  attr_dev(div, "class", "Double");
13063
13063
  attr_dev(div, "part", "Double");
13064
- add_location(div, file$1, 612, 20, 24828);
13064
+ add_location(div, file$1, 630, 20, 25481);
13065
13065
  },
13066
13066
  m: function mount(target, anchor) {
13067
13067
  insert_dev(target, div, anchor);
@@ -13071,8 +13071,8 @@
13071
13071
  append_dev(div, t1);
13072
13072
  },
13073
13073
  p: function update(ctx, dirty) {
13074
- if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw0_value !== (raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `first${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0]}`, /*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][0]]) + "")) html_tag.p(raw0_value);
13075
- if (dirty[0] & /*roulleteresults*/ 2048 | dirty[1] & /*colorsourcearray*/ 1 && raw1_value !== (raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `second${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1]}`, /*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[11][/*i*/ ctx[109]][1]]) + "")) html_tag_1.p(raw1_value);
13074
+ if (dirty[0] & /*roulleteresults*/ 4096 | dirty[1] & /*colorsourcearray*/ 1 && raw0_value !== (raw0_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `first${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[12][/*i*/ ctx[109]][0]}`, /*roulleteresults*/ ctx[12][/*i*/ ctx[109]][0], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[109]][0]]) + "")) html_tag.p(raw0_value);
13075
+ if (dirty[0] & /*roulleteresults*/ 4096 | dirty[1] & /*colorsourcearray*/ 1 && raw1_value !== (raw1_value = /*renderSpan*/ ctx[46](`LatestResult ${/*i*/ ctx[109] === 0 ? 'First' : ''}`, `second${/*i*/ ctx[109]}${/*roulleteresults*/ ctx[12][/*i*/ ctx[109]][1]}`, /*roulleteresults*/ ctx[12][/*i*/ ctx[109]][1], /*colorsourcearray*/ ctx[31][/*roulleteresults*/ ctx[12][/*i*/ ctx[109]][1]]) + "")) html_tag_1.p(raw1_value);
13076
13076
  },
13077
13077
  d: function destroy(detaching) {
13078
13078
  if (detaching) detach_dev(div);
@@ -13083,17 +13083,17 @@
13083
13083
  block,
13084
13084
  id: create_if_block_6.name,
13085
13085
  type: "if",
13086
- source: "(612:18) {#if isdouble}",
13086
+ source: "(630:18) {#if isdouble}",
13087
13087
  ctx
13088
13088
  });
13089
13089
 
13090
13090
  return block;
13091
13091
  }
13092
13092
 
13093
- // (610:14) {#each new Array(numberofdisplayedresults) as garbage, i}
13093
+ // (628:14) {#each new Array(numberofdisplayedresults) as garbage, i}
13094
13094
  function create_each_block_1(ctx) {
13095
13095
  let if_block_anchor;
13096
- let if_block = /*roulleteresults*/ ctx[11] && /*roulleteresults*/ ctx[11][/*i*/ ctx[109]] && create_if_block_5$1(ctx);
13096
+ let if_block = /*roulleteresults*/ ctx[12] && /*roulleteresults*/ ctx[12][/*i*/ ctx[109]] && create_if_block_5$1(ctx);
13097
13097
 
13098
13098
  const block = {
13099
13099
  c: function create() {
@@ -13105,7 +13105,7 @@
13105
13105
  insert_dev(target, if_block_anchor, anchor);
13106
13106
  },
13107
13107
  p: function update(ctx, dirty) {
13108
- if (/*roulleteresults*/ ctx[11] && /*roulleteresults*/ ctx[11][/*i*/ ctx[109]]) {
13108
+ if (/*roulleteresults*/ ctx[12] && /*roulleteresults*/ ctx[12][/*i*/ ctx[109]]) {
13109
13109
  if (if_block) {
13110
13110
  if_block.p(ctx, dirty);
13111
13111
  } else {
@@ -13128,14 +13128,14 @@
13128
13128
  block,
13129
13129
  id: create_each_block_1.name,
13130
13130
  type: "each",
13131
- source: "(610:14) {#each new Array(numberofdisplayedresults) as garbage, i}",
13131
+ source: "(628:14) {#each new Array(numberofdisplayedresults) as garbage, i}",
13132
13132
  ctx
13133
13133
  });
13134
13134
 
13135
13135
  return block;
13136
13136
  }
13137
13137
 
13138
- // (593:14) {:else}
13138
+ // (611:14) {:else}
13139
13139
  function create_else_block$1(ctx) {
13140
13140
  let each_1_anchor;
13141
13141
  let each_value = /*seats*/ ctx[24];
@@ -13196,14 +13196,14 @@
13196
13196
  block,
13197
13197
  id: create_else_block$1.name,
13198
13198
  type: "else",
13199
- source: "(593:14) {:else}",
13199
+ source: "(611:14) {:else}",
13200
13200
  ctx
13201
13201
  });
13202
13202
 
13203
13203
  return block;
13204
13204
  }
13205
13205
 
13206
- // (589:14) {#if istablefull}
13206
+ // (607:14) {#if istablefull}
13207
13207
  function create_if_block_3$1(ctx) {
13208
13208
  let span;
13209
13209
  let t_value = /*$_*/ ctx[35]('gameThumbnail.full') + "";
@@ -13215,7 +13215,7 @@
13215
13215
  t = text(t_value);
13216
13216
  attr_dev(span, "class", "FullTable");
13217
13217
  attr_dev(span, "part", "FullTable");
13218
- add_location(span, file$1, 589, 16, 23143);
13218
+ add_location(span, file$1, 607, 16, 23796);
13219
13219
  },
13220
13220
  m: function mount(target, anchor) {
13221
13221
  insert_dev(target, span, anchor);
@@ -13233,14 +13233,14 @@
13233
13233
  block,
13234
13234
  id: create_if_block_3$1.name,
13235
13235
  type: "if",
13236
- source: "(589:14) {#if istablefull}",
13236
+ source: "(607:14) {#if istablefull}",
13237
13237
  ctx
13238
13238
  });
13239
13239
 
13240
13240
  return block;
13241
13241
  }
13242
13242
 
13243
- // (594:16) {#each seats as seatData}
13243
+ // (612:16) {#each seats as seatData}
13244
13244
  function create_each_block$1(ctx) {
13245
13245
  let span;
13246
13246
  let svg;
@@ -13258,14 +13258,14 @@
13258
13258
  path1 = svg_element("path");
13259
13259
  t = space();
13260
13260
  attr_dev(path0, "d", "M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z");
13261
- add_location(path0, file$1, 596, 22, 23644);
13261
+ add_location(path0, file$1, 614, 22, 24297);
13262
13262
  attr_dev(path1, "d", "M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z");
13263
- add_location(path1, file$1, 597, 22, 24020);
13263
+ add_location(path1, file$1, 615, 22, 24673);
13264
13264
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
13265
13265
  attr_dev(svg, "width", "13");
13266
13266
  attr_dev(svg, "height", "14");
13267
13267
  attr_dev(svg, "viewBox", "0 0 13 14");
13268
- add_location(svg, file$1, 595, 20, 23538);
13268
+ add_location(svg, file$1, 613, 20, 24191);
13269
13269
 
13270
13270
  attr_dev(span, "class", span_class_value = /*contains*/ ctx[43](/*currentoccupiedseats*/ ctx[28], /*seatData*/ ctx[104].toString())
13271
13271
  ? 'ClosedSeat'
@@ -13275,7 +13275,7 @@
13275
13275
  ? 'ClosedSeat'
13276
13276
  : 'OpenSeat');
13277
13277
 
13278
- add_location(span, file$1, 594, 18, 23336);
13278
+ add_location(span, file$1, 612, 18, 23989);
13279
13279
  },
13280
13280
  m: function mount(target, anchor) {
13281
13281
  insert_dev(target, span, anchor);
@@ -13306,14 +13306,14 @@
13306
13306
  block,
13307
13307
  id: create_each_block$1.name,
13308
13308
  type: "each",
13309
- source: "(594:16) {#each seats as seatData}",
13309
+ source: "(612:16) {#each seats as seatData}",
13310
13310
  ctx
13311
13311
  });
13312
13312
 
13313
13313
  return block;
13314
13314
  }
13315
13315
 
13316
- // (630:2) {#if showgamename}
13316
+ // (648:2) {#if showgamename}
13317
13317
  function create_if_block$1(ctx) {
13318
13318
  let p;
13319
13319
  let t;
@@ -13325,7 +13325,7 @@
13325
13325
  attr_dev(p, "class", "GameNameBelow");
13326
13326
  attr_dev(p, "part", "GameNameBelow");
13327
13327
  attr_dev(p, "title", /*gamename*/ ctx[3]);
13328
- add_location(p, file$1, 630, 4, 25713);
13328
+ add_location(p, file$1, 648, 4, 26366);
13329
13329
  },
13330
13330
  m: function mount(target, anchor) {
13331
13331
  insert_dev(target, p, anchor);
@@ -13347,7 +13347,7 @@
13347
13347
  block,
13348
13348
  id: create_if_block$1.name,
13349
13349
  type: "if",
13350
- source: "(630:2) {#if showgamename}",
13350
+ source: "(648:2) {#if showgamename}",
13351
13351
  ctx
13352
13352
  });
13353
13353
 
@@ -13392,14 +13392,14 @@
13392
13392
  let div4_part_value;
13393
13393
  let mounted;
13394
13394
  let dispose;
13395
- let if_block0 = /*fav*/ ctx[14] && create_if_block_12(ctx);
13395
+ let if_block0 = /*fav*/ ctx[15] && create_if_block_12(ctx);
13396
13396
 
13397
13397
  function select_block_type(ctx, dirty) {
13398
- if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/ 8195) show_if_1 = null;
13399
- if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/ 8195) show_if_2 = null;
13400
- if (show_if_1 == null) show_if_1 = !!(!isMobile(/*userAgent*/ ctx[36]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[13] && /*favorites*/ ctx[1]);
13398
+ if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/ 16387) show_if_1 = null;
13399
+ if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/ 16387) show_if_2 = null;
13400
+ if (show_if_1 == null) show_if_1 = !!(!isMobile(/*userAgent*/ ctx[36]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[14] && /*favorites*/ ctx[1]);
13401
13401
  if (show_if_1) return create_if_block_10;
13402
- if (show_if_2 == null) show_if_2 = !!(isMobile(/*userAgent*/ ctx[36]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[13] && /*favorites*/ ctx[1]);
13402
+ if (show_if_2 == null) show_if_2 = !!(isMobile(/*userAgent*/ ctx[36]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[14] && /*favorites*/ ctx[1]);
13403
13403
  if (show_if_2) return create_if_block_11;
13404
13404
  }
13405
13405
 
@@ -13407,7 +13407,7 @@
13407
13407
  let if_block1 = current_block_type && current_block_type(ctx);
13408
13408
  let if_block2 = /*gameisnew*/ ctx[6] && create_if_block_9(ctx);
13409
13409
  let if_block3 = show_if && create_if_block_8(ctx);
13410
- let if_block4 = /*livegamedata*/ ctx[10] && create_if_block_1$1(ctx);
13410
+ let if_block4 = /*livegamedata*/ ctx[11] && create_if_block_1$1(ctx);
13411
13411
  let if_block5 = /*showgamename*/ ctx[9] && create_if_block$1(ctx);
13412
13412
 
13413
13413
  const block = {
@@ -13441,43 +13441,43 @@
13441
13441
  if (if_block5) if_block5.c();
13442
13442
  this.c = noop$1;
13443
13443
  if (!src_url_equal(img.src, img_src_value = /*gamethumbnail*/ ctx[2])) attr_dev(img, "src", img_src_value);
13444
- attr_dev(img, "class", img_class_value = `GameBg GameBg-${/*gamecellsize*/ ctx[8]} ${/*hover*/ ctx[15] ? 'GameContainerHovered' : ''} ${/*loaded*/ ctx[16] ? 'Loaded' : ''}`);
13445
- attr_dev(img, "part", img_part_value = "GameBg " + (/*hover*/ ctx[15] ? 'GameContainerHovered' : '') + " " + (/*loaded*/ ctx[16] ? 'Loaded' : ''));
13444
+ attr_dev(img, "class", img_class_value = `GameBg GameBg-${/*gamecellsize*/ ctx[8]} ${/*hover*/ ctx[16] ? 'GameContainerHovered' : ''} ${/*loaded*/ ctx[17] ? 'Loaded' : ''}`);
13445
+ attr_dev(img, "part", img_part_value = "GameBg " + (/*hover*/ ctx[16] ? 'GameContainerHovered' : '') + " " + (/*loaded*/ ctx[17] ? 'Loaded' : ''));
13446
13446
  attr_dev(img, "alt", "");
13447
13447
  attr_dev(img, "loading", "lazy");
13448
- add_location(img, file$1, 526, 4, 18070);
13448
+ add_location(img, file$1, 544, 4, 18723);
13449
13449
  attr_dev(p, "class", "GameInfoName");
13450
13450
  attr_dev(p, "part", "GameInfoName");
13451
13451
  attr_dev(p, "title", /*gamename*/ ctx[3]);
13452
- add_location(p, file$1, 545, 8, 20103);
13452
+ add_location(p, file$1, 563, 8, 20756);
13453
13453
  attr_dev(button, "class", "GameInfoBtn");
13454
13454
  attr_dev(button, "part", "GameInfoBtn");
13455
- add_location(button, file$1, 546, 8, 20189);
13456
- attr_dev(div0, "class", div0_class_value = "GameInfo " + (/*hover*/ ctx[15] ? 'GameHovered' : ''));
13457
- attr_dev(div0, "part", div0_part_value = "GameInfo " + (/*hover*/ ctx[15] ? 'GameHovered' : ''));
13458
- add_location(div0, file$1, 528, 6, 18383);
13455
+ add_location(button, file$1, 564, 8, 20842);
13456
+ attr_dev(div0, "class", div0_class_value = "GameInfo " + (/*hover*/ ctx[16] ? 'GameHovered' : ''));
13457
+ attr_dev(div0, "part", div0_part_value = "GameInfo " + (/*hover*/ ctx[16] ? 'GameHovered' : ''));
13458
+ add_location(div0, file$1, 546, 6, 19036);
13459
13459
  attr_dev(span, "class", "GameInfoVendor");
13460
13460
  attr_dev(span, "part", "GameInfoVendor");
13461
- add_location(span, file$1, 548, 6, 20337);
13461
+ add_location(span, file$1, 566, 6, 20990);
13462
13462
  attr_dev(div1, "class", "GameInfoWrapper");
13463
13463
  attr_dev(div1, "part", "GameInfoWrapper");
13464
- add_location(div1, file$1, 527, 4, 18324);
13464
+ add_location(div1, file$1, 545, 4, 18977);
13465
13465
  attr_dev(div2, "class", "GameExtraInfo");
13466
13466
  attr_dev(div2, "part", "GameExtraInfo");
13467
- add_location(div2, file$1, 565, 4, 21973);
13467
+ add_location(div2, file$1, 583, 4, 22626);
13468
13468
 
13469
- attr_dev(div3, "class", div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[10] && !/*isopen*/ ctx[22] && /*openhours*/ ctx[23].value || /*livegamedata*/ ctx[10] && /*istablefull*/ ctx[32]
13469
+ attr_dev(div3, "class", div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[11] && !/*isopen*/ ctx[22] && /*openhours*/ ctx[23].value || /*livegamedata*/ ctx[11] && /*istablefull*/ ctx[32]
13470
13470
  ? 'GameInnerContainerUnavailable'
13471
13471
  : ''));
13472
13472
 
13473
- attr_dev(div3, "part", div3_part_value = "GameInnerContainer " + (/*livegamedata*/ ctx[10] && !/*isopen*/ ctx[22] || /*livegamedata*/ ctx[10] && /*istablefull*/ ctx[32]
13473
+ attr_dev(div3, "part", div3_part_value = "GameInnerContainer " + (/*livegamedata*/ ctx[11] && !/*isopen*/ ctx[22] || /*livegamedata*/ ctx[11] && /*istablefull*/ ctx[32]
13474
13474
  ? 'GameInnerContainerUnavailable'
13475
13475
  : ''));
13476
13476
 
13477
- add_location(div3, file$1, 525, 2, 17682);
13477
+ add_location(div3, file$1, 543, 2, 18335);
13478
13478
  attr_dev(div4, "class", div4_class_value = `GameContainer ${/*extraclassname*/ ctx[33]}`);
13479
13479
  attr_dev(div4, "part", div4_part_value = `GameContainer ${/*extraclassname*/ ctx[33]}`);
13480
- add_location(div4, file$1, 524, 0, 17556);
13480
+ add_location(div4, file$1, 542, 0, 18209);
13481
13481
  },
13482
13482
  l: function claim(nodes) {
13483
13483
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -13530,15 +13530,15 @@
13530
13530
  attr_dev(img, "src", img_src_value);
13531
13531
  }
13532
13532
 
13533
- if (dirty[0] & /*gamecellsize, hover, loaded*/ 98560 && img_class_value !== (img_class_value = `GameBg GameBg-${/*gamecellsize*/ ctx[8]} ${/*hover*/ ctx[15] ? 'GameContainerHovered' : ''} ${/*loaded*/ ctx[16] ? 'Loaded' : ''}`)) {
13533
+ if (dirty[0] & /*gamecellsize, hover, loaded*/ 196864 && img_class_value !== (img_class_value = `GameBg GameBg-${/*gamecellsize*/ ctx[8]} ${/*hover*/ ctx[16] ? 'GameContainerHovered' : ''} ${/*loaded*/ ctx[17] ? 'Loaded' : ''}`)) {
13534
13534
  attr_dev(img, "class", img_class_value);
13535
13535
  }
13536
13536
 
13537
- if (dirty[0] & /*hover, loaded*/ 98304 && img_part_value !== (img_part_value = "GameBg " + (/*hover*/ ctx[15] ? 'GameContainerHovered' : '') + " " + (/*loaded*/ ctx[16] ? 'Loaded' : ''))) {
13537
+ if (dirty[0] & /*hover, loaded*/ 196608 && img_part_value !== (img_part_value = "GameBg " + (/*hover*/ ctx[16] ? 'GameContainerHovered' : '') + " " + (/*loaded*/ ctx[17] ? 'Loaded' : ''))) {
13538
13538
  attr_dev(img, "part", img_part_value);
13539
13539
  }
13540
13540
 
13541
- if (/*fav*/ ctx[14]) {
13541
+ if (/*fav*/ ctx[15]) {
13542
13542
  if (if_block0) {
13543
13543
  if_block0.p(ctx, dirty);
13544
13544
  } else {
@@ -13559,11 +13559,11 @@
13559
13559
 
13560
13560
  if (dirty[1] & /*$_*/ 16 && t4_value !== (t4_value = /*$_*/ ctx[35]('gameThumbnail.playNow') + "")) set_data_dev(t4, t4_value);
13561
13561
 
13562
- if (dirty[0] & /*hover*/ 32768 && div0_class_value !== (div0_class_value = "GameInfo " + (/*hover*/ ctx[15] ? 'GameHovered' : ''))) {
13562
+ if (dirty[0] & /*hover*/ 65536 && div0_class_value !== (div0_class_value = "GameInfo " + (/*hover*/ ctx[16] ? 'GameHovered' : ''))) {
13563
13563
  attr_dev(div0, "class", div0_class_value);
13564
13564
  }
13565
13565
 
13566
- if (dirty[0] & /*hover*/ 32768 && div0_part_value !== (div0_part_value = "GameInfo " + (/*hover*/ ctx[15] ? 'GameHovered' : ''))) {
13566
+ if (dirty[0] & /*hover*/ 65536 && div0_part_value !== (div0_part_value = "GameInfo " + (/*hover*/ ctx[16] ? 'GameHovered' : ''))) {
13567
13567
  attr_dev(div0, "part", div0_part_value);
13568
13568
  }
13569
13569
 
@@ -13609,7 +13609,7 @@
13609
13609
  if_block3 = null;
13610
13610
  }
13611
13611
 
13612
- if (/*livegamedata*/ ctx[10]) {
13612
+ if (/*livegamedata*/ ctx[11]) {
13613
13613
  if (if_block4) {
13614
13614
  if_block4.p(ctx, dirty);
13615
13615
  } else {
@@ -13622,13 +13622,13 @@
13622
13622
  if_block4 = null;
13623
13623
  }
13624
13624
 
13625
- if (dirty[0] & /*livegamedata, isopen, openhours*/ 12583936 | dirty[1] & /*istablefull*/ 2 && div3_class_value !== (div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[10] && !/*isopen*/ ctx[22] && /*openhours*/ ctx[23].value || /*livegamedata*/ ctx[10] && /*istablefull*/ ctx[32]
13625
+ if (dirty[0] & /*livegamedata, isopen, openhours*/ 12584960 | dirty[1] & /*istablefull*/ 2 && div3_class_value !== (div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[11] && !/*isopen*/ ctx[22] && /*openhours*/ ctx[23].value || /*livegamedata*/ ctx[11] && /*istablefull*/ ctx[32]
13626
13626
  ? 'GameInnerContainerUnavailable'
13627
13627
  : ''))) {
13628
13628
  attr_dev(div3, "class", div3_class_value);
13629
13629
  }
13630
13630
 
13631
- if (dirty[0] & /*livegamedata, isopen*/ 4195328 | dirty[1] & /*istablefull*/ 2 && div3_part_value !== (div3_part_value = "GameInnerContainer " + (/*livegamedata*/ ctx[10] && !/*isopen*/ ctx[22] || /*livegamedata*/ ctx[10] && /*istablefull*/ ctx[32]
13631
+ if (dirty[0] & /*livegamedata, isopen*/ 4196352 | dirty[1] & /*istablefull*/ 2 && div3_part_value !== (div3_part_value = "GameInnerContainer " + (/*livegamedata*/ ctx[11] && !/*isopen*/ ctx[22] || /*livegamedata*/ ctx[11] && /*istablefull*/ ctx[32]
13632
13632
  ? 'GameInnerContainerUnavailable'
13633
13633
  : ''))) {
13634
13634
  attr_dev(div3, "part", div3_part_value);
@@ -13822,11 +13822,11 @@
13822
13822
  });
13823
13823
 
13824
13824
  const enter = () => {
13825
- $$invalidate(15, hover = true);
13825
+ $$invalidate(16, hover = true);
13826
13826
  };
13827
13827
 
13828
13828
  const leave = () => {
13829
- $$invalidate(15, hover = false);
13829
+ $$invalidate(16, hover = false);
13830
13830
  };
13831
13831
 
13832
13832
  const messageHandler = e => {
@@ -13839,19 +13839,37 @@
13839
13839
  }
13840
13840
 
13841
13841
  if (e.data.type === 'UserSessionID') {
13842
- $$invalidate(13, isLoggedIn = true);
13842
+ $$invalidate(14, isLoggedIn = true);
13843
13843
  sessionID = e.data.session;
13844
13844
  playerID = e.data.userID;
13845
13845
  }
13846
13846
 
13847
13847
  if (e.data.type === 'CategoryUpdate') {
13848
- $$invalidate(10, livegamedata = null);
13848
+ $$invalidate(11, livegamedata = null);
13849
13849
  }
13850
13850
  };
13851
13851
 
13852
13852
  const toggleGameFrame = gameId => {
13853
13853
  if (searchitem) {
13854
13854
  window.postMessage({ type: 'SearchedItemClicked', gameId }, window.location.href);
13855
+
13856
+ //Analytics event -- if game was searched
13857
+ if (typeof gtag == 'function') {
13858
+ gtag('event', 'OpenGame', {
13859
+ 'context': 'GameThumbnail--Searched',
13860
+ 'gameId': `${gameId}`,
13861
+ 'userId': `${playerID ? playerID : 'Not logged in'}`
13862
+ });
13863
+ }
13864
+ } else {
13865
+ //Analytics event
13866
+ if (typeof gtag == 'function') {
13867
+ gtag('event', 'OpenGame', {
13868
+ 'context': 'GameThumbnail',
13869
+ 'gameId': `${gameId}`,
13870
+ 'userId': `${playerID ? playerID : 'Not logged in'}`
13871
+ });
13872
+ }
13855
13873
  }
13856
13874
 
13857
13875
  if (isMobile(userAgent) && integratedgameframemobile == "true") {
@@ -13925,19 +13943,19 @@
13925
13943
  };
13926
13944
 
13927
13945
  const gameTouch = () => {
13928
- window.postMessage({ type: 'GameHovered' }, window.location.href);
13946
+ window.postMessage({ type: 'GameHoveredMobile' }, window.location.href);
13929
13947
  };
13930
13948
 
13931
13949
  const gameTouchEnd = () => {
13932
- window.postMessage({ type: 'GameBlur' }, window.location.href);
13950
+ window.postMessage({ type: 'GameBlurMobile' }, window.location.href);
13933
13951
  };
13934
13952
 
13935
13953
  const gameHover = () => {
13936
- window.postMessage({ type: 'GameHovered' }, window.location.href);
13954
+ window.postMessage({ type: 'GameHoveredPc' }, window.location.href);
13937
13955
  };
13938
13956
 
13939
13957
  const gameBlur = () => {
13940
- window.postMessage({ type: 'GameBlur' }, window.location.href);
13958
+ window.postMessage({ type: 'GameBlurPc' }, window.location.href);
13941
13959
  };
13942
13960
 
13943
13961
  const setActiveLanguage = () => {
@@ -13946,7 +13964,7 @@
13946
13964
  // setLocale(lang);
13947
13965
 
13948
13966
  const setSession = () => {
13949
- $$invalidate(13, isLoggedIn = true);
13967
+ $$invalidate(14, isLoggedIn = true);
13950
13968
  sessionID = session;
13951
13969
  playerID = userid;
13952
13970
  };
@@ -13954,9 +13972,9 @@
13954
13972
  const setOnLoad = () => {
13955
13973
  if (image) {
13956
13974
  $$invalidate(
13957
- 17,
13975
+ 18,
13958
13976
  image.onload = () => {
13959
- $$invalidate(16, loaded = true);
13977
+ $$invalidate(17, loaded = true);
13960
13978
  },
13961
13979
  image
13962
13980
  );
@@ -13982,34 +14000,12 @@
13982
14000
  }
13983
14001
  };
13984
14002
 
13985
- const setClientStyling = () => {
13986
- let sheet = document.createElement('style');
13987
- sheet.innerHTML = clientstyling;
13988
-
13989
- setTimeout(() => {
13990
- customStylingContainer.appendChild(sheet);
13991
- });
13992
- };
13993
-
13994
14003
  const setFavorites = () => {
13995
14004
  if (favorites == 'true') {
13996
- $$invalidate(14, fav = true);
14005
+ $$invalidate(15, fav = true);
13997
14006
  }
13998
14007
  };
13999
14008
 
14000
- const setClientStylingURL = () => {
14001
- let url = new URL(clientstylingurl);
14002
- let cssFile = document.createElement('style');
14003
-
14004
- fetch(url.href).then(res => res.text()).then(data => {
14005
- cssFile.innerHTML = data;
14006
-
14007
- setTimeout(() => {
14008
- customStylingContainer.appendChild(cssFile);
14009
- });
14010
- });
14011
- };
14012
-
14013
14009
  const liveLobbyMessageHandler = async event => {
14014
14010
  const { type, data: rawData } = event;
14015
14011
  let data;
@@ -14037,7 +14033,7 @@
14037
14033
  {
14038
14034
  if (Seats && Array.isArray(Seats)) {
14039
14035
  $$invalidate(28, currentoccupiedseats = Seats);
14040
- $$invalidate(10, livegamedata.currentOccupiedSeats = Seats, livegamedata);
14036
+ $$invalidate(11, livegamedata.currentOccupiedSeats = Seats, livegamedata);
14041
14037
  await tick();
14042
14038
  }
14043
14039
 
@@ -14047,7 +14043,7 @@
14047
14043
  {
14048
14044
  if (Results && Array.isArray(Results)) {
14049
14045
  currentroulettenumbers = Results;
14050
- $$invalidate(10, livegamedata.currentRouletteNumbers = Results, livegamedata);
14046
+ $$invalidate(11, livegamedata.currentRouletteNumbers = Results, livegamedata);
14051
14047
  await tick();
14052
14048
  }
14053
14049
 
@@ -14057,7 +14053,7 @@
14057
14053
  {
14058
14054
  if (Results && Array.isArray(Results)) {
14059
14055
  currentdoubleballroulettenumbers = Results;
14060
- $$invalidate(10, livegamedata.currentDoubleBallRouletteNumbers = Results, livegamedata);
14056
+ $$invalidate(11, livegamedata.currentDoubleBallRouletteNumbers = Results, livegamedata);
14061
14057
  await tick();
14062
14058
  }
14063
14059
 
@@ -14066,14 +14062,14 @@
14066
14062
  case 'TableOpened':
14067
14063
  {
14068
14064
  $$invalidate(22, isopen = Open);
14069
- $$invalidate(10, livegamedata.isOpen = Open, livegamedata);
14065
+ $$invalidate(11, livegamedata.isOpen = Open, livegamedata);
14070
14066
  await tick();
14071
14067
  break;
14072
14068
  }
14073
14069
  case 'TableClosed':
14074
14070
  {
14075
14071
  $$invalidate(22, isopen = Open);
14076
- $$invalidate(10, livegamedata.isOpen = Open, livegamedata);
14072
+ $$invalidate(11, livegamedata.isOpen = Open, livegamedata);
14077
14073
  await tick();
14078
14074
  break;
14079
14075
  }
@@ -14091,7 +14087,7 @@
14091
14087
 
14092
14088
  fetch(url).then(res => res.json()).then(data => {
14093
14089
  const { details } = data[0];
14094
- $$invalidate(10, livegamedata = details);
14090
+ $$invalidate(11, livegamedata = details);
14095
14091
  });
14096
14092
  };
14097
14093
 
@@ -14250,7 +14246,7 @@
14250
14246
  vendorcategory = livegamedata.vendorCategory;
14251
14247
  $$invalidate(29, isdouble = vendorcategory.toLowerCase() === DOUBLE_ROULETTE);
14252
14248
 
14253
- $$invalidate(11, roulleteresults = (isdouble
14249
+ $$invalidate(12, roulleteresults = (isdouble
14254
14250
  ? currentdoubleballroulettenumbers
14255
14251
  : currentroulettenumbers) || []);
14256
14252
 
@@ -14311,6 +14307,28 @@
14311
14307
  }
14312
14308
  };
14313
14309
 
14310
+ const setClientStyling = () => {
14311
+ let sheet = document.createElement('style');
14312
+ sheet.innerHTML = clientstyling;
14313
+ customStylingContainer.appendChild(sheet);
14314
+ };
14315
+
14316
+ const setClientStylingURL = () => {
14317
+ let url = new URL(clientstylingurl);
14318
+ let cssFile = document.createElement('style');
14319
+
14320
+ fetch(url.href).then(res => res.text()).then(data => {
14321
+ cssFile.innerHTML = data;
14322
+
14323
+ setTimeout(
14324
+ () => {
14325
+ customStylingContainer.appendChild(cssFile);
14326
+ },
14327
+ 1
14328
+ );
14329
+ });
14330
+ };
14331
+
14314
14332
  onMount(() => {
14315
14333
  window.addEventListener('message', messageHandler, false);
14316
14334
 
@@ -14359,7 +14377,7 @@
14359
14377
  function img_binding($$value) {
14360
14378
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
14361
14379
  image = $$value;
14362
- $$invalidate(17, image);
14380
+ $$invalidate(18, image);
14363
14381
  });
14364
14382
  }
14365
14383
 
@@ -14370,14 +14388,14 @@
14370
14388
  function div0_binding($$value) {
14371
14389
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
14372
14390
  roulletteref = $$value;
14373
- $$invalidate(12, roulletteref);
14391
+ $$invalidate(13, roulletteref);
14374
14392
  });
14375
14393
  }
14376
14394
 
14377
14395
  function div4_binding($$value) {
14378
14396
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
14379
14397
  customStylingContainer = $$value;
14380
- $$invalidate(18, customStylingContainer);
14398
+ $$invalidate(10, customStylingContainer);
14381
14399
  });
14382
14400
  }
14383
14401
 
@@ -14507,9 +14525,7 @@
14507
14525
  getLiveLobbyURL,
14508
14526
  connectGameToLiveLobby,
14509
14527
  disconnectGameFromLiveLobby,
14510
- setClientStyling,
14511
14528
  setFavorites,
14512
- setClientStylingURL,
14513
14529
  liveLobbyMessageHandler,
14514
14530
  setLiveLobbyData,
14515
14531
  numberWithSeparators,
@@ -14523,6 +14539,8 @@
14523
14539
  updateComponent,
14524
14540
  toggleConnect,
14525
14541
  toggleVisibilityConnect,
14542
+ setClientStyling,
14543
+ setClientStylingURL,
14526
14544
  $_
14527
14545
  });
14528
14546
 
@@ -14553,16 +14571,16 @@
14553
14571
  if ('visibilityconnect' in $$props) $$invalidate(60, visibilityconnect = $$props.visibilityconnect);
14554
14572
  if ('integratedgameframedesktop' in $$props) $$invalidate(61, integratedgameframedesktop = $$props.integratedgameframedesktop);
14555
14573
  if ('integratedgameframemobile' in $$props) $$invalidate(62, integratedgameframemobile = $$props.integratedgameframemobile);
14556
- if ('isLoggedIn' in $$props) $$invalidate(13, isLoggedIn = $$props.isLoggedIn);
14574
+ if ('isLoggedIn' in $$props) $$invalidate(14, isLoggedIn = $$props.isLoggedIn);
14557
14575
  if ('sessionID' in $$props) sessionID = $$props.sessionID;
14558
14576
  if ('playerID' in $$props) playerID = $$props.playerID;
14559
- if ('fav' in $$props) $$invalidate(14, fav = $$props.fav);
14560
- if ('hover' in $$props) $$invalidate(15, hover = $$props.hover);
14561
- if ('loaded' in $$props) $$invalidate(16, loaded = $$props.loaded);
14562
- if ('image' in $$props) $$invalidate(17, image = $$props.image);
14577
+ if ('fav' in $$props) $$invalidate(15, fav = $$props.fav);
14578
+ if ('hover' in $$props) $$invalidate(16, hover = $$props.hover);
14579
+ if ('loaded' in $$props) $$invalidate(17, loaded = $$props.loaded);
14580
+ if ('image' in $$props) $$invalidate(18, image = $$props.image);
14563
14581
  if ('userAgent' in $$props) $$invalidate(36, userAgent = $$props.userAgent);
14564
- if ('customStylingContainer' in $$props) $$invalidate(18, customStylingContainer = $$props.customStylingContainer);
14565
- if ('livegamedata' in $$props) $$invalidate(10, livegamedata = $$props.livegamedata);
14582
+ if ('customStylingContainer' in $$props) $$invalidate(10, customStylingContainer = $$props.customStylingContainer);
14583
+ if ('livegamedata' in $$props) $$invalidate(11, livegamedata = $$props.livegamedata);
14566
14584
  if ('liveLobbyConnection' in $$props) liveLobbyConnection = $$props.liveLobbyConnection;
14567
14585
  if ('displaytype' in $$props) $$invalidate(19, displaytype = $$props.displaytype);
14568
14586
  if ('starttime' in $$props) $$invalidate(20, starttime = $$props.starttime);
@@ -14580,13 +14598,13 @@
14580
14598
  if ('currentdoubleballroulettenumbers' in $$props) currentdoubleballroulettenumbers = $$props.currentdoubleballroulettenumbers;
14581
14599
  if ('vendorcategory' in $$props) vendorcategory = $$props.vendorcategory;
14582
14600
  if ('isdouble' in $$props) $$invalidate(29, isdouble = $$props.isdouble);
14583
- if ('roulleteresults' in $$props) $$invalidate(11, roulleteresults = $$props.roulleteresults);
14601
+ if ('roulleteresults' in $$props) $$invalidate(12, roulleteresults = $$props.roulleteresults);
14584
14602
  if ('roulettecontainerclassname' in $$props) $$invalidate(30, roulettecontainerclassname = $$props.roulettecontainerclassname);
14585
14603
  if ('colorsourcearray' in $$props) $$invalidate(31, colorsourcearray = $$props.colorsourcearray);
14586
14604
  if ('istablefull' in $$props) $$invalidate(32, istablefull = $$props.istablefull);
14587
14605
  if ('oldistablefull' in $$props) oldistablefull = $$props.oldistablefull;
14588
14606
  if ('extraclassname' in $$props) $$invalidate(33, extraclassname = $$props.extraclassname);
14589
- if ('roulletteref' in $$props) $$invalidate(12, roulletteref = $$props.roulletteref);
14607
+ if ('roulletteref' in $$props) $$invalidate(13, roulletteref = $$props.roulletteref);
14590
14608
  if ('dealername' in $$props) $$invalidate(34, dealername = $$props.dealername);
14591
14609
  if ('numberofplayers' in $$props) numberofplayers = $$props.numberofplayers;
14592
14610
  };
@@ -14614,27 +14632,27 @@
14614
14632
  gamethumbnail && setOnLoad();
14615
14633
  }
14616
14634
 
14617
- if ($$self.$$.dirty[1] & /*clientstyling*/ 524288) {
14618
- clientstyling && setClientStyling();
14635
+ if ($$self.$$.dirty[0] & /*customStylingContainer*/ 1024 | $$self.$$.dirty[1] & /*clientstyling*/ 524288) {
14636
+ clientstyling && customStylingContainer && setClientStyling();
14619
14637
  }
14620
14638
 
14621
- if ($$self.$$.dirty[0] & /*favorites*/ 2) {
14622
- favorites && setFavorites();
14639
+ if ($$self.$$.dirty[0] & /*customStylingContainer*/ 1024 | $$self.$$.dirty[1] & /*clientstylingurl*/ 1048576) {
14640
+ clientstylingurl && customStylingContainer && setClientStylingURL();
14623
14641
  }
14624
14642
 
14625
- if ($$self.$$.dirty[0] & /*gamecellsize*/ 256 | $$self.$$.dirty[1] & /*clientstylingurl*/ 1048576) {
14626
- gamecellsize && clientstylingurl && setClientStylingURL();
14643
+ if ($$self.$$.dirty[0] & /*favorites*/ 2) {
14644
+ favorites && setFavorites();
14627
14645
  }
14628
14646
 
14629
14647
  if ($$self.$$.dirty[1] & /*endpoint, livelobbyendpoint*/ 201326592) {
14630
14648
  endpoint && livelobbyendpoint && setLiveLobbyData();
14631
14649
  }
14632
14650
 
14633
- if ($$self.$$.dirty[0] & /*livegamedata*/ 1024) {
14651
+ if ($$self.$$.dirty[0] & /*livegamedata*/ 2048) {
14634
14652
  livegamedata && updateComponent();
14635
14653
  }
14636
14654
 
14637
- if ($$self.$$.dirty[0] & /*roulletteref, roulleteresults*/ 6144) {
14655
+ if ($$self.$$.dirty[0] & /*roulletteref, roulleteresults*/ 12288) {
14638
14656
  roulletteref && roulleteresults && attachAnimations();
14639
14657
  }
14640
14658
  };
@@ -14650,6 +14668,7 @@
14650
14668
  gamepopularity,
14651
14669
  gamecellsize,
14652
14670
  showgamename,
14671
+ customStylingContainer,
14653
14672
  livegamedata,
14654
14673
  roulleteresults,
14655
14674
  roulletteref,
@@ -14658,7 +14677,6 @@
14658
14677
  hover,
14659
14678
  loaded,
14660
14679
  image,
14661
- customStylingContainer,
14662
14680
  displaytype,
14663
14681
  starttime,
14664
14682
  timeformat,
@@ -15072,7 +15090,7 @@
15072
15090
  return child_ctx;
15073
15091
  }
15074
15092
 
15075
- // (207:4) {:else}
15093
+ // (211:4) {:else}
15076
15094
  function create_else_block(ctx) {
15077
15095
  let t0;
15078
15096
  let div;
@@ -15080,14 +15098,14 @@
15080
15098
  let div_class_value;
15081
15099
 
15082
15100
  function select_block_type_1(ctx, dirty) {
15083
- if (/*searchActive*/ ctx[8] == true && /*searchValue*/ ctx[4].length < 2) return create_if_block_3;
15084
- if (/*searchArray*/ ctx[6].length != 0) return create_if_block_5;
15101
+ if (/*searchActive*/ ctx[11] == true && /*searchValue*/ ctx[6].length < 2) return create_if_block_3;
15102
+ if (/*searchArray*/ ctx[9].length != 0) return create_if_block_5;
15085
15103
  }
15086
15104
 
15087
15105
  let current_block_type = select_block_type_1(ctx);
15088
15106
  let if_block0 = current_block_type && current_block_type(ctx);
15089
- let if_block1 = /*searchCancelled*/ ctx[5] === false && create_if_block_2(ctx);
15090
- let if_block2 = /*searchValue*/ ctx[4].length >= 2 && /*searchArray*/ ctx[6].length == 0 && create_if_block_1(ctx);
15107
+ let if_block1 = /*searchCancelled*/ ctx[7] === false && create_if_block_2(ctx);
15108
+ let if_block2 = /*searchValue*/ ctx[6].length >= 2 && /*searchArray*/ ctx[9].length == 0 && create_if_block_1(ctx);
15091
15109
 
15092
15110
  const block = {
15093
15111
  c: function create() {
@@ -15097,8 +15115,8 @@
15097
15115
  if (if_block1) if_block1.c();
15098
15116
  t1 = space();
15099
15117
  if (if_block2) if_block2.c();
15100
- attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[8] == true ? '' : 'NotVisible'));
15101
- add_location(div, file, 217, 6, 7693);
15118
+ attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[11] == true ? '' : 'NotVisible'));
15119
+ add_location(div, file, 221, 6, 7853);
15102
15120
  },
15103
15121
  m: function mount(target, anchor) {
15104
15122
  if (if_block0) if_block0.m(target, anchor);
@@ -15121,7 +15139,7 @@
15121
15139
  }
15122
15140
  }
15123
15141
 
15124
- if (/*searchCancelled*/ ctx[5] === false) {
15142
+ if (/*searchCancelled*/ ctx[7] === false) {
15125
15143
  if (if_block1) {
15126
15144
  if_block1.p(ctx, dirty);
15127
15145
  } else {
@@ -15134,7 +15152,7 @@
15134
15152
  if_block1 = null;
15135
15153
  }
15136
15154
 
15137
- if (/*searchValue*/ ctx[4].length >= 2 && /*searchArray*/ ctx[6].length == 0) {
15155
+ if (/*searchValue*/ ctx[6].length >= 2 && /*searchArray*/ ctx[9].length == 0) {
15138
15156
  if (if_block2) {
15139
15157
  if_block2.p(ctx, dirty);
15140
15158
  } else {
@@ -15147,7 +15165,7 @@
15147
15165
  if_block2 = null;
15148
15166
  }
15149
15167
 
15150
- if (dirty[0] & /*searchActive*/ 256 && div_class_value !== (div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[8] == true ? '' : 'NotVisible'))) {
15168
+ if (dirty[0] & /*searchActive*/ 2048 && div_class_value !== (div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[11] == true ? '' : 'NotVisible'))) {
15151
15169
  attr_dev(div, "class", div_class_value);
15152
15170
  }
15153
15171
  },
@@ -15167,31 +15185,31 @@
15167
15185
  block,
15168
15186
  id: create_else_block.name,
15169
15187
  type: "else",
15170
- source: "(207:4) {:else}",
15188
+ source: "(211:4) {:else}",
15171
15189
  ctx
15172
15190
  });
15173
15191
 
15174
15192
  return block;
15175
15193
  }
15176
15194
 
15177
- // (205:4) {#if isLoading}
15195
+ // (209:4) {#if isLoading}
15178
15196
  function create_if_block(ctx) {
15179
15197
  let p;
15180
- let t_value = /*$_*/ ctx[11]('Translations.loading') + "";
15198
+ let t_value = /*$_*/ ctx[13]('Translations.loading') + "";
15181
15199
  let t;
15182
15200
 
15183
15201
  const block = {
15184
15202
  c: function create() {
15185
15203
  p = element("p");
15186
15204
  t = text(t_value);
15187
- add_location(p, file, 205, 6, 7185);
15205
+ add_location(p, file, 209, 6, 7345);
15188
15206
  },
15189
15207
  m: function mount(target, anchor) {
15190
15208
  insert_dev(target, p, anchor);
15191
15209
  append_dev(p, t);
15192
15210
  },
15193
15211
  p: function update(ctx, dirty) {
15194
- if (dirty[0] & /*$_*/ 2048 && t_value !== (t_value = /*$_*/ ctx[11]('Translations.loading') + "")) set_data_dev(t, t_value);
15212
+ if (dirty[0] & /*$_*/ 8192 && t_value !== (t_value = /*$_*/ ctx[13]('Translations.loading') + "")) set_data_dev(t, t_value);
15195
15213
  },
15196
15214
  d: function destroy(detaching) {
15197
15215
  if (detaching) detach_dev(p);
@@ -15202,17 +15220,17 @@
15202
15220
  block,
15203
15221
  id: create_if_block.name,
15204
15222
  type: "if",
15205
- source: "(205:4) {#if isLoading}",
15223
+ source: "(209:4) {#if isLoading}",
15206
15224
  ctx
15207
15225
  });
15208
15226
 
15209
15227
  return block;
15210
15228
  }
15211
15229
 
15212
- // (215:40)
15230
+ // (219:40)
15213
15231
  function create_if_block_5(ctx) {
15214
15232
  let p;
15215
- let t_value = /*$_*/ ctx[11]('Translations.searchResult') + "";
15233
+ let t_value = /*$_*/ ctx[13]('Translations.searchResult') + "";
15216
15234
  let t;
15217
15235
 
15218
15236
  const block = {
@@ -15220,14 +15238,14 @@
15220
15238
  p = element("p");
15221
15239
  t = text(t_value);
15222
15240
  attr_dev(p, "class", "SearchMessage");
15223
- add_location(p, file, 215, 8, 7611);
15241
+ add_location(p, file, 219, 8, 7771);
15224
15242
  },
15225
15243
  m: function mount(target, anchor) {
15226
15244
  insert_dev(target, p, anchor);
15227
15245
  append_dev(p, t);
15228
15246
  },
15229
15247
  p: function update(ctx, dirty) {
15230
- if (dirty[0] & /*$_*/ 2048 && t_value !== (t_value = /*$_*/ ctx[11]('Translations.searchResult') + "")) set_data_dev(t, t_value);
15248
+ if (dirty[0] & /*$_*/ 8192 && t_value !== (t_value = /*$_*/ ctx[13]('Translations.searchResult') + "")) set_data_dev(t, t_value);
15231
15249
  },
15232
15250
  d: function destroy(detaching) {
15233
15251
  if (detaching) detach_dev(p);
@@ -15238,21 +15256,21 @@
15238
15256
  block,
15239
15257
  id: create_if_block_5.name,
15240
15258
  type: "if",
15241
- source: "(215:40) ",
15259
+ source: "(219:40) ",
15242
15260
  ctx
15243
15261
  });
15244
15262
 
15245
15263
  return block;
15246
15264
  }
15247
15265
 
15248
- // (208:6) {#if searchActive == true && searchValue.length < 2}
15266
+ // (212:6) {#if searchActive == true && searchValue.length < 2}
15249
15267
  function create_if_block_3(ctx) {
15250
15268
  let p;
15251
- let t0_value = /*$_*/ ctx[11]('Translations.recentSearch') + "";
15269
+ let t0_value = /*$_*/ ctx[13]('Translations.recentSearch') + "";
15252
15270
  let t0;
15253
15271
  let t1;
15254
15272
  let if_block_anchor;
15255
- let if_block = /*searchArray*/ ctx[6].length == 0 && create_if_block_4(ctx);
15273
+ let if_block = /*searchArray*/ ctx[9].length == 0 && create_if_block_4(ctx);
15256
15274
 
15257
15275
  const block = {
15258
15276
  c: function create() {
@@ -15262,7 +15280,7 @@
15262
15280
  if (if_block) if_block.c();
15263
15281
  if_block_anchor = empty();
15264
15282
  attr_dev(p, "class", "SearchMessage");
15265
- add_location(p, file, 208, 8, 7300);
15283
+ add_location(p, file, 212, 8, 7460);
15266
15284
  },
15267
15285
  m: function mount(target, anchor) {
15268
15286
  insert_dev(target, p, anchor);
@@ -15272,9 +15290,9 @@
15272
15290
  insert_dev(target, if_block_anchor, anchor);
15273
15291
  },
15274
15292
  p: function update(ctx, dirty) {
15275
- if (dirty[0] & /*$_*/ 2048 && t0_value !== (t0_value = /*$_*/ ctx[11]('Translations.recentSearch') + "")) set_data_dev(t0, t0_value);
15293
+ if (dirty[0] & /*$_*/ 8192 && t0_value !== (t0_value = /*$_*/ ctx[13]('Translations.recentSearch') + "")) set_data_dev(t0, t0_value);
15276
15294
 
15277
- if (/*searchArray*/ ctx[6].length == 0) {
15295
+ if (/*searchArray*/ ctx[9].length == 0) {
15278
15296
  if (if_block) {
15279
15297
  if_block.p(ctx, dirty);
15280
15298
  } else {
@@ -15299,18 +15317,18 @@
15299
15317
  block,
15300
15318
  id: create_if_block_3.name,
15301
15319
  type: "if",
15302
- source: "(208:6) {#if searchActive == true && searchValue.length < 2}",
15320
+ source: "(212:6) {#if searchActive == true && searchValue.length < 2}",
15303
15321
  ctx
15304
15322
  });
15305
15323
 
15306
15324
  return block;
15307
15325
  }
15308
15326
 
15309
- // (210:10) {#if searchArray.length == 0}
15327
+ // (214:10) {#if searchArray.length == 0}
15310
15328
  function create_if_block_4(ctx) {
15311
15329
  let div;
15312
15330
  let p;
15313
- let t_value = /*$_*/ ctx[11]('Translations.noRecentSearches') + "";
15331
+ let t_value = /*$_*/ ctx[13]('Translations.noRecentSearches') + "";
15314
15332
  let t;
15315
15333
 
15316
15334
  const block = {
@@ -15319,9 +15337,9 @@
15319
15337
  p = element("p");
15320
15338
  t = text(t_value);
15321
15339
  attr_dev(p, "class", "SearchMessage");
15322
- add_location(p, file, 211, 12, 7461);
15340
+ add_location(p, file, 215, 12, 7621);
15323
15341
  attr_dev(div, "class", "ResultsContainerError");
15324
- add_location(div, file, 210, 10, 7413);
15342
+ add_location(div, file, 214, 10, 7573);
15325
15343
  },
15326
15344
  m: function mount(target, anchor) {
15327
15345
  insert_dev(target, div, anchor);
@@ -15329,7 +15347,7 @@
15329
15347
  append_dev(p, t);
15330
15348
  },
15331
15349
  p: function update(ctx, dirty) {
15332
- if (dirty[0] & /*$_*/ 2048 && t_value !== (t_value = /*$_*/ ctx[11]('Translations.noRecentSearches') + "")) set_data_dev(t, t_value);
15350
+ if (dirty[0] & /*$_*/ 8192 && t_value !== (t_value = /*$_*/ ctx[13]('Translations.noRecentSearches') + "")) set_data_dev(t, t_value);
15333
15351
  },
15334
15352
  d: function destroy(detaching) {
15335
15353
  if (detaching) detach_dev(div);
@@ -15340,17 +15358,17 @@
15340
15358
  block,
15341
15359
  id: create_if_block_4.name,
15342
15360
  type: "if",
15343
- source: "(210:10) {#if searchArray.length == 0}",
15361
+ source: "(214:10) {#if searchArray.length == 0}",
15344
15362
  ctx
15345
15363
  });
15346
15364
 
15347
15365
  return block;
15348
15366
  }
15349
15367
 
15350
- // (219:8) {#if searchCancelled === false}
15368
+ // (223:8) {#if searchCancelled === false}
15351
15369
  function create_if_block_2(ctx) {
15352
15370
  let each_1_anchor;
15353
- let each_value = /*searchArray*/ ctx[6];
15371
+ let each_value = /*searchArray*/ ctx[9];
15354
15372
  validate_each_argument(each_value);
15355
15373
  let each_blocks = [];
15356
15374
 
@@ -15374,8 +15392,8 @@
15374
15392
  insert_dev(target, each_1_anchor, anchor);
15375
15393
  },
15376
15394
  p: function update(ctx, dirty) {
15377
- if (dirty[0] & /*lang, searchArray, endpoint, integratedgameframedesktop, integratedgameframemobile*/ 79) {
15378
- each_value = /*searchArray*/ ctx[6];
15395
+ if (dirty[0] & /*lang, searchArray, endpoint, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl*/ 575) {
15396
+ each_value = /*searchArray*/ ctx[9];
15379
15397
  validate_each_argument(each_value);
15380
15398
  let i;
15381
15399
 
@@ -15408,14 +15426,14 @@
15408
15426
  block,
15409
15427
  id: create_if_block_2.name,
15410
15428
  type: "if",
15411
- source: "(219:8) {#if searchCancelled === false}",
15429
+ source: "(223:8) {#if searchCancelled === false}",
15412
15430
  ctx
15413
15431
  });
15414
15432
 
15415
15433
  return block;
15416
15434
  }
15417
15435
 
15418
- // (220:10) {#each searchArray as game}
15436
+ // (224:10) {#each searchArray as game}
15419
15437
  function create_each_block(ctx) {
15420
15438
  let casino_game_thumbnail;
15421
15439
  let casino_game_thumbnail_gamethumbnail_value;
@@ -15448,9 +15466,11 @@
15448
15466
  : '');
15449
15467
 
15450
15468
  set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
15451
- set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[2]);
15452
- set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[3]);
15453
- add_location(casino_game_thumbnail, file, 220, 12, 7862);
15469
+ set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[4]);
15470
+ set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[5]);
15471
+ set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
15472
+ set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
15473
+ add_location(casino_game_thumbnail, file, 224, 12, 8022);
15454
15474
  },
15455
15475
  m: function mount(target, anchor) {
15456
15476
  insert_dev(target, casino_game_thumbnail, anchor);
@@ -15460,43 +15480,43 @@
15460
15480
  set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
15461
15481
  }
15462
15482
 
15463
- if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[35].thumbnail)) {
15483
+ if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[35].thumbnail)) {
15464
15484
  set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
15465
15485
  }
15466
15486
 
15467
- if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[35].name)) {
15487
+ if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[35].name)) {
15468
15488
  set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
15469
15489
  }
15470
15490
 
15471
- if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[35].vendor.name)) {
15491
+ if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[35].vendor.name)) {
15472
15492
  set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
15473
15493
  }
15474
15494
 
15475
- if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[35].isNew)) {
15495
+ if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[35].isNew)) {
15476
15496
  set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
15477
15497
  }
15478
15498
 
15479
- if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[35].popularity)) {
15499
+ if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[35].popularity)) {
15480
15500
  set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value);
15481
15501
  }
15482
15502
 
15483
- if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[35].cellSize)) {
15503
+ if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[35].cellSize)) {
15484
15504
  set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
15485
15505
  }
15486
15506
 
15487
- if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[35].id)) {
15507
+ if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[35].id)) {
15488
15508
  set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
15489
15509
  }
15490
15510
 
15491
- if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[35].hasFunMode)) {
15511
+ if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[35].hasFunMode)) {
15492
15512
  set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
15493
15513
  }
15494
15514
 
15495
- if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[35].isFavorite)) {
15515
+ if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[35].isFavorite)) {
15496
15516
  set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
15497
15517
  }
15498
15518
 
15499
- if (dirty[0] & /*searchArray*/ 64 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[35].details
15519
+ if (dirty[0] & /*searchArray*/ 512 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[35].details
15500
15520
  ? /*game*/ ctx[35].launchUrl
15501
15521
  : '')) {
15502
15522
  set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value);
@@ -15506,12 +15526,20 @@
15506
15526
  set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
15507
15527
  }
15508
15528
 
15509
- if (dirty[0] & /*integratedgameframedesktop*/ 4) {
15510
- set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[2]);
15529
+ if (dirty[0] & /*integratedgameframedesktop*/ 16) {
15530
+ set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[4]);
15531
+ }
15532
+
15533
+ if (dirty[0] & /*integratedgameframemobile*/ 32) {
15534
+ set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[5]);
15511
15535
  }
15512
15536
 
15513
- if (dirty[0] & /*integratedgameframemobile*/ 8) {
15514
- set_custom_element_data(casino_game_thumbnail, "integratedgameframemobile", /*integratedgameframemobile*/ ctx[3]);
15537
+ if (dirty[0] & /*clientstyling*/ 4) {
15538
+ set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
15539
+ }
15540
+
15541
+ if (dirty[0] & /*clientstylingurl*/ 8) {
15542
+ set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
15515
15543
  }
15516
15544
  },
15517
15545
  d: function destroy(detaching) {
@@ -15523,22 +15551,22 @@
15523
15551
  block,
15524
15552
  id: create_each_block.name,
15525
15553
  type: "each",
15526
- source: "(220:10) {#each searchArray as game}",
15554
+ source: "(224:10) {#each searchArray as game}",
15527
15555
  ctx
15528
15556
  });
15529
15557
 
15530
15558
  return block;
15531
15559
  }
15532
15560
 
15533
- // (239:8) {#if searchValue.length >= 2 && searchArray.length == 0}
15561
+ // (245:8) {#if searchValue.length >= 2 && searchArray.length == 0}
15534
15562
  function create_if_block_1(ctx) {
15535
15563
  let div;
15536
15564
  let p0;
15537
- let t0_value = /*$_*/ ctx[11]('Translations.notFound') + "";
15565
+ let t0_value = /*$_*/ ctx[13]('Translations.notFound') + "";
15538
15566
  let t0;
15539
15567
  let t1;
15540
15568
  let p1;
15541
- let t2_value = /*$_*/ ctx[11]('Translations.notFoundText') + "";
15569
+ let t2_value = /*$_*/ ctx[13]('Translations.notFoundText') + "";
15542
15570
  let t2;
15543
15571
 
15544
15572
  const block = {
@@ -15550,10 +15578,10 @@
15550
15578
  p1 = element("p");
15551
15579
  t2 = text(t2_value);
15552
15580
  attr_dev(p0, "class", "SearchMessage");
15553
- add_location(p0, file, 240, 12, 8663);
15554
- add_location(p1, file, 241, 12, 8734);
15581
+ add_location(p0, file, 246, 12, 8886);
15582
+ add_location(p1, file, 247, 12, 8957);
15555
15583
  attr_dev(div, "class", "ResultsContainerError");
15556
- add_location(div, file, 239, 10, 8615);
15584
+ add_location(div, file, 245, 10, 8838);
15557
15585
  },
15558
15586
  m: function mount(target, anchor) {
15559
15587
  insert_dev(target, div, anchor);
@@ -15564,8 +15592,8 @@
15564
15592
  append_dev(p1, t2);
15565
15593
  },
15566
15594
  p: function update(ctx, dirty) {
15567
- if (dirty[0] & /*$_*/ 2048 && t0_value !== (t0_value = /*$_*/ ctx[11]('Translations.notFound') + "")) set_data_dev(t0, t0_value);
15568
- if (dirty[0] & /*$_*/ 2048 && t2_value !== (t2_value = /*$_*/ ctx[11]('Translations.notFoundText') + "")) set_data_dev(t2, t2_value);
15595
+ if (dirty[0] & /*$_*/ 8192 && t0_value !== (t0_value = /*$_*/ ctx[13]('Translations.notFound') + "")) set_data_dev(t0, t0_value);
15596
+ if (dirty[0] & /*$_*/ 8192 && t2_value !== (t2_value = /*$_*/ ctx[13]('Translations.notFoundText') + "")) set_data_dev(t2, t2_value);
15569
15597
  },
15570
15598
  d: function destroy(detaching) {
15571
15599
  if (detaching) detach_dev(div);
@@ -15576,7 +15604,7 @@
15576
15604
  block,
15577
15605
  id: create_if_block_1.name,
15578
15606
  type: "if",
15579
- source: "(239:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
15607
+ source: "(245:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
15580
15608
  ctx
15581
15609
  });
15582
15610
 
@@ -15602,7 +15630,7 @@
15602
15630
  let span_class_value;
15603
15631
  let t2;
15604
15632
  let small;
15605
- let t3_value = /*$_*/ ctx[11]('Translations.cancel') + "";
15633
+ let t3_value = /*$_*/ ctx[13]('Translations.cancel') + "";
15606
15634
  let t3;
15607
15635
  let small_class_value;
15608
15636
  let t4;
@@ -15610,7 +15638,7 @@
15610
15638
  let dispose;
15611
15639
 
15612
15640
  function select_block_type(ctx, dirty) {
15613
- if (/*isLoading*/ ctx[9]) return create_if_block;
15641
+ if (/*isLoading*/ ctx[12]) return create_if_block;
15614
15642
  return create_else_block;
15615
15643
  }
15616
15644
 
@@ -15644,46 +15672,46 @@
15644
15672
  attr_dev(path0, "stroke-linecap", "round");
15645
15673
  attr_dev(path0, "stroke-linejoin", "round");
15646
15674
  attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
15647
- add_location(path0, file, 188, 10, 6156);
15675
+ add_location(path0, file, 192, 10, 6316);
15648
15676
  attr_dev(circle, "cx", "6.5");
15649
15677
  attr_dev(circle, "cy", "6.5");
15650
15678
  attr_dev(circle, "r", "5.75");
15651
15679
  attr_dev(circle, "stroke", "#212121");
15652
15680
  attr_dev(circle, "stroke-width", "1.5");
15653
- add_location(circle, file, 189, 10, 6284);
15681
+ add_location(circle, file, 193, 10, 6444);
15654
15682
  attr_dev(svg0, "width", "14");
15655
15683
  attr_dev(svg0, "height", "15");
15656
15684
  attr_dev(svg0, "fill", "none");
15657
15685
  attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
15658
- add_location(svg0, file, 187, 8, 6070);
15686
+ add_location(svg0, file, 191, 8, 6230);
15659
15687
  attr_dev(div0, "class", "SearchIcon");
15660
- add_location(div0, file, 186, 6, 6037);
15688
+ add_location(div0, file, 190, 6, 6197);
15661
15689
  attr_dev(input, "class", "SearchInput");
15662
15690
  attr_dev(input, "type", "search");
15663
- attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[11]('Translations.placeHolderSearchGames'));
15664
- add_location(input, file, 193, 8, 6429);
15691
+ attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[13]('Translations.placeHolderSearchGames'));
15692
+ add_location(input, file, 197, 8, 6589);
15665
15693
  attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
15666
15694
  attr_dev(path1, "stroke", "#717171");
15667
15695
  attr_dev(path1, "stroke-width", "2");
15668
15696
  attr_dev(path1, "stroke-linecap", "round");
15669
15697
  attr_dev(path1, "stroke-linejoin", "round");
15670
- add_location(path1, file, 196, 12, 6816);
15698
+ add_location(path1, file, 200, 12, 6976);
15671
15699
  attr_dev(svg1, "width", "11");
15672
15700
  attr_dev(svg1, "height", "11");
15673
15701
  attr_dev(svg1, "fill", "none");
15674
15702
  attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
15675
- add_location(svg1, file, 195, 10, 6728);
15676
- attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[4].length != 0 ? '' : 'NotVisible'));
15677
- add_location(span, file, 194, 8, 6607);
15703
+ add_location(svg1, file, 199, 10, 6888);
15704
+ attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[6].length != 0 ? '' : 'NotVisible'));
15705
+ add_location(span, file, 198, 8, 6767);
15678
15706
  attr_dev(div1, "class", "SearchContainer");
15679
- add_location(div1, file, 192, 6, 6391);
15680
- attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[5] ? 'NotVisible' : ''));
15681
- add_location(small, file, 200, 6, 6992);
15707
+ add_location(div1, file, 196, 6, 6551);
15708
+ attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[7] ? 'NotVisible' : ''));
15709
+ add_location(small, file, 204, 6, 7152);
15682
15710
  attr_dev(div2, "class", "Search");
15683
- add_location(div2, file, 185, 4, 6010);
15711
+ add_location(div2, file, 189, 4, 6170);
15684
15712
  attr_dev(div3, "class", "CasinoSearch");
15685
- add_location(div3, file, 184, 2, 5979);
15686
- add_location(div4, file, 183, 0, 5936);
15713
+ add_location(div3, file, 188, 2, 6139);
15714
+ add_location(div4, file, 187, 0, 6096);
15687
15715
  },
15688
15716
  l: function claim(nodes) {
15689
15717
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -15699,7 +15727,7 @@
15699
15727
  append_dev(div2, t0);
15700
15728
  append_dev(div2, div1);
15701
15729
  append_dev(div1, input);
15702
- set_input_value(input, /*searchValue*/ ctx[4]);
15730
+ set_input_value(input, /*searchValue*/ ctx[6]);
15703
15731
  /*input_binding*/ ctx[19](input);
15704
15732
  append_dev(div1, t1);
15705
15733
  append_dev(div1, span);
@@ -15715,7 +15743,7 @@
15715
15743
  if (!mounted) {
15716
15744
  dispose = [
15717
15745
  listen_dev(input, "input", /*input_input_handler*/ ctx[18]),
15718
- listen_dev(input, "focus", /*onFocus*/ ctx[12], false, false, false),
15746
+ listen_dev(input, "focus", /*onFocus*/ ctx[14], false, false, false),
15719
15747
  listen_dev(span, "click", /*click_handler*/ ctx[20], false, false, false),
15720
15748
  listen_dev(small, "click", /*click_handler_1*/ ctx[21], false, false, false)
15721
15749
  ];
@@ -15724,21 +15752,21 @@
15724
15752
  }
15725
15753
  },
15726
15754
  p: function update(ctx, dirty) {
15727
- if (dirty[0] & /*$_*/ 2048 && input_placeholder_value !== (input_placeholder_value = /*$_*/ ctx[11]('Translations.placeHolderSearchGames'))) {
15755
+ if (dirty[0] & /*$_*/ 8192 && input_placeholder_value !== (input_placeholder_value = /*$_*/ ctx[13]('Translations.placeHolderSearchGames'))) {
15728
15756
  attr_dev(input, "placeholder", input_placeholder_value);
15729
15757
  }
15730
15758
 
15731
- if (dirty[0] & /*searchValue*/ 16) {
15732
- set_input_value(input, /*searchValue*/ ctx[4]);
15759
+ if (dirty[0] & /*searchValue*/ 64) {
15760
+ set_input_value(input, /*searchValue*/ ctx[6]);
15733
15761
  }
15734
15762
 
15735
- if (dirty[0] & /*searchValue*/ 16 && span_class_value !== (span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[4].length != 0 ? '' : 'NotVisible'))) {
15763
+ if (dirty[0] & /*searchValue*/ 64 && span_class_value !== (span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[6].length != 0 ? '' : 'NotVisible'))) {
15736
15764
  attr_dev(span, "class", span_class_value);
15737
15765
  }
15738
15766
 
15739
- if (dirty[0] & /*$_*/ 2048 && t3_value !== (t3_value = /*$_*/ ctx[11]('Translations.cancel') + "")) set_data_dev(t3, t3_value);
15767
+ if (dirty[0] & /*$_*/ 8192 && t3_value !== (t3_value = /*$_*/ ctx[13]('Translations.cancel') + "")) set_data_dev(t3, t3_value);
15740
15768
 
15741
- if (dirty[0] & /*searchCancelled*/ 32 && small_class_value !== (small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[5] ? 'NotVisible' : ''))) {
15769
+ if (dirty[0] & /*searchCancelled*/ 128 && small_class_value !== (small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[7] ? 'NotVisible' : ''))) {
15742
15770
  attr_dev(small, "class", small_class_value);
15743
15771
  }
15744
15772
 
@@ -15780,7 +15808,7 @@
15780
15808
  function instance($$self, $$props, $$invalidate) {
15781
15809
  let $_;
15782
15810
  validate_store(Y, '_');
15783
- component_subscribe($$self, Y, $$value => $$invalidate(11, $_ = $$value));
15811
+ component_subscribe($$self, Y, $$value => $$invalidate(13, $_ = $$value));
15784
15812
  let { $$slots: slots = {}, $$scope } = $$props;
15785
15813
  validate_slots('undefined', slots, []);
15786
15814
  let { endpoint = '' } = $$props;
@@ -15812,8 +15840,8 @@
15812
15840
  };
15813
15841
 
15814
15842
  const onFocus = () => {
15815
- $$invalidate(5, searchCancelled = false);
15816
- $$invalidate(8, searchActive = true);
15843
+ $$invalidate(7, searchCancelled = false);
15844
+ $$invalidate(11, searchActive = true);
15817
15845
 
15818
15846
  if (endpoint && datasource && lang) {
15819
15847
  if (searchValue.length < 2) {
@@ -15838,24 +15866,29 @@
15838
15866
  }
15839
15867
 
15840
15868
  Promise.all(promises).then(res => {
15841
- $$invalidate(6, searchArray = res);
15869
+ $$invalidate(9, searchArray = res);
15842
15870
  });
15843
15871
  }
15844
15872
  }
15845
15873
  }
15846
15874
 
15847
15875
  sendSearchStatus(searchActive);
15876
+
15877
+ //Analytics event
15878
+ if (typeof gtag == 'function') {
15879
+ gtag('event', 'SearchInitialized', { 'context': 'SearchWidget' });
15880
+ }
15848
15881
  };
15849
15882
 
15850
15883
  const getGames = url => {
15851
15884
  return new Promise((resolve, reject) => {
15852
- $$invalidate(9, isLoading = true);
15885
+ $$invalidate(12, isLoading = true);
15853
15886
 
15854
15887
  fetch(url.href).then(res => res.json()).then(games => {
15855
- $$invalidate(9, isLoading = false);
15888
+ $$invalidate(12, isLoading = false);
15856
15889
  resolve(games);
15857
15890
  }).catch(err => {
15858
- $$invalidate(9, isLoading = false);
15891
+ $$invalidate(12, isLoading = false);
15859
15892
  console.error(err);
15860
15893
  reject(err);
15861
15894
  });
@@ -15864,18 +15897,18 @@
15864
15897
 
15865
15898
  const getGame = (url, gameId) => {
15866
15899
  return new Promise((resolve, reject) => {
15867
- $$invalidate(9, isLoading = true);
15900
+ $$invalidate(12, isLoading = true);
15868
15901
 
15869
15902
  if (gameId && Object.keys(gamesCache).indexOf(gameId) >= 0) {
15870
- $$invalidate(9, isLoading = false);
15903
+ $$invalidate(12, isLoading = false);
15871
15904
  resolve(gamesCache[gameId]);
15872
15905
  } else {
15873
15906
  fetch(url).then(fetchRes => fetchRes.json()).then(gameData => {
15874
- $$invalidate(9, isLoading = false);
15907
+ $$invalidate(12, isLoading = false);
15875
15908
  gamesCache[gameData[0].gameId] = gameData[0];
15876
15909
  resolve(gameData[0]);
15877
15910
  }).catch(err => {
15878
- $$invalidate(9, isLoading = false);
15911
+ $$invalidate(12, isLoading = false);
15879
15912
  console.error(err);
15880
15913
  reject(err);
15881
15914
  });
@@ -15909,16 +15942,16 @@
15909
15942
  };
15910
15943
 
15911
15944
  const cancelSearch = () => {
15912
- $$invalidate(4, searchValue = '');
15913
- $$invalidate(5, searchCancelled = true);
15914
- $$invalidate(9, isLoading = false);
15915
- $$invalidate(6, searchArray = []);
15916
- $$invalidate(8, searchActive = false);
15945
+ $$invalidate(6, searchValue = '');
15946
+ $$invalidate(7, searchCancelled = true);
15947
+ $$invalidate(12, isLoading = false);
15948
+ $$invalidate(9, searchArray = []);
15949
+ $$invalidate(11, searchActive = false);
15917
15950
  sendSearchStatus(searchActive);
15918
15951
  };
15919
15952
 
15920
15953
  const clearSearch = () => {
15921
- $$invalidate(4, searchValue = '');
15954
+ $$invalidate(6, searchValue = '');
15922
15955
  searchElement.focus();
15923
15956
  };
15924
15957
 
@@ -15949,14 +15982,12 @@
15949
15982
  fetch(url.href).then(res => res.text()).then(data => {
15950
15983
  cssFile.innerHTML = data;
15951
15984
 
15952
- if (customStylingContainer) {
15953
- setTimeout(
15954
- () => {
15955
- customStylingContainer.appendChild(cssFile);
15956
- },
15957
- 1
15958
- );
15959
- }
15985
+ setTimeout(
15986
+ () => {
15987
+ customStylingContainer.appendChild(cssFile);
15988
+ },
15989
+ 1
15990
+ );
15960
15991
  });
15961
15992
  };
15962
15993
 
@@ -15984,13 +16015,13 @@
15984
16015
 
15985
16016
  function input_input_handler() {
15986
16017
  searchValue = this.value;
15987
- $$invalidate(4, searchValue);
16018
+ $$invalidate(6, searchValue);
15988
16019
  }
15989
16020
 
15990
16021
  function input_binding($$value) {
15991
16022
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
15992
16023
  searchElement = $$value;
15993
- $$invalidate(7, searchElement);
16024
+ $$invalidate(10, searchElement);
15994
16025
  });
15995
16026
  }
15996
16027
 
@@ -16000,18 +16031,18 @@
16000
16031
  function div4_binding($$value) {
16001
16032
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
16002
16033
  customStylingContainer = $$value;
16003
- $$invalidate(10, customStylingContainer);
16034
+ $$invalidate(8, customStylingContainer);
16004
16035
  });
16005
16036
  }
16006
16037
 
16007
16038
  $$self.$$set = $$props => {
16008
16039
  if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
16009
- if ('datasource' in $$props) $$invalidate(15, datasource = $$props.datasource);
16040
+ if ('datasource' in $$props) $$invalidate(17, datasource = $$props.datasource);
16010
16041
  if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
16011
- if ('clientstyling' in $$props) $$invalidate(16, clientstyling = $$props.clientstyling);
16012
- if ('clientstylingurl' in $$props) $$invalidate(17, clientstylingurl = $$props.clientstylingurl);
16013
- if ('integratedgameframedesktop' in $$props) $$invalidate(2, integratedgameframedesktop = $$props.integratedgameframedesktop);
16014
- if ('integratedgameframemobile' in $$props) $$invalidate(3, integratedgameframemobile = $$props.integratedgameframemobile);
16042
+ if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
16043
+ if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
16044
+ if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
16045
+ if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
16015
16046
  };
16016
16047
 
16017
16048
  $$self.$capture_state = () => ({
@@ -16055,22 +16086,22 @@
16055
16086
 
16056
16087
  $$self.$inject_state = $$props => {
16057
16088
  if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
16058
- if ('datasource' in $$props) $$invalidate(15, datasource = $$props.datasource);
16089
+ if ('datasource' in $$props) $$invalidate(17, datasource = $$props.datasource);
16059
16090
  if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
16060
- if ('clientstyling' in $$props) $$invalidate(16, clientstyling = $$props.clientstyling);
16061
- if ('clientstylingurl' in $$props) $$invalidate(17, clientstylingurl = $$props.clientstylingurl);
16062
- if ('integratedgameframedesktop' in $$props) $$invalidate(2, integratedgameframedesktop = $$props.integratedgameframedesktop);
16063
- if ('integratedgameframemobile' in $$props) $$invalidate(3, integratedgameframemobile = $$props.integratedgameframemobile);
16091
+ if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
16092
+ if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
16093
+ if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
16094
+ if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
16064
16095
  if ('userAgent' in $$props) $$invalidate(25, userAgent = $$props.userAgent);
16065
- if ('searchArray' in $$props) $$invalidate(6, searchArray = $$props.searchArray);
16096
+ if ('searchArray' in $$props) $$invalidate(9, searchArray = $$props.searchArray);
16066
16097
  if ('searchedValues' in $$props) searchedValues = $$props.searchedValues;
16067
16098
  if ('gamesCache' in $$props) gamesCache = $$props.gamesCache;
16068
- if ('searchValue' in $$props) $$invalidate(4, searchValue = $$props.searchValue);
16069
- if ('searchElement' in $$props) $$invalidate(7, searchElement = $$props.searchElement);
16070
- if ('searchCancelled' in $$props) $$invalidate(5, searchCancelled = $$props.searchCancelled);
16071
- if ('searchActive' in $$props) $$invalidate(8, searchActive = $$props.searchActive);
16072
- if ('isLoading' in $$props) $$invalidate(9, isLoading = $$props.isLoading);
16073
- if ('customStylingContainer' in $$props) $$invalidate(10, customStylingContainer = $$props.customStylingContainer);
16099
+ if ('searchValue' in $$props) $$invalidate(6, searchValue = $$props.searchValue);
16100
+ if ('searchElement' in $$props) $$invalidate(10, searchElement = $$props.searchElement);
16101
+ if ('searchCancelled' in $$props) $$invalidate(7, searchCancelled = $$props.searchCancelled);
16102
+ if ('searchActive' in $$props) $$invalidate(11, searchActive = $$props.searchActive);
16103
+ if ('isLoading' in $$props) $$invalidate(12, isLoading = $$props.isLoading);
16104
+ if ('customStylingContainer' in $$props) $$invalidate(8, customStylingContainer = $$props.customStylingContainer);
16074
16105
  };
16075
16106
 
16076
16107
  if ($$props && "$$inject" in $$props) {
@@ -16078,7 +16109,7 @@
16078
16109
  }
16079
16110
 
16080
16111
  $$self.$$.update = () => {
16081
- if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 32819) {
16112
+ if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 131267) {
16082
16113
  if (searchValue.length >= 2) {
16083
16114
  const searchUrl = new URL(`${endpoint}/casino/games`);
16084
16115
  searchUrl.searchParams.append("datasource", datasource);
@@ -16089,7 +16120,7 @@
16089
16120
  searchUrl.searchParams.append("filter", `name=${searchValue}`);
16090
16121
 
16091
16122
  getGames(searchUrl).then(searchData => {
16092
- $$invalidate(6, searchArray = searchData.items.map(item => item));
16123
+ $$invalidate(9, searchArray = searchData.items.map(item => item));
16093
16124
  });
16094
16125
  } else {
16095
16126
  if (!searchCancelled) {
@@ -16102,34 +16133,34 @@
16102
16133
  lang && setActiveLanguage();
16103
16134
  }
16104
16135
 
16105
- if ($$self.$$.dirty[0] & /*clientstyling*/ 65536) {
16106
- clientstyling && setClientStyling();
16136
+ if ($$self.$$.dirty[0] & /*clientstyling, customStylingContainer*/ 260) {
16137
+ clientstyling && customStylingContainer && setClientStyling();
16107
16138
  }
16108
16139
 
16109
- if ($$self.$$.dirty[0] & /*clientstylingurl*/ 131072) {
16110
- clientstylingurl && setClientStylingURL();
16140
+ if ($$self.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/ 264) {
16141
+ clientstylingurl && customStylingContainer && setClientStylingURL();
16111
16142
  }
16112
16143
  };
16113
16144
 
16114
16145
  return [
16115
16146
  endpoint,
16116
16147
  lang,
16148
+ clientstyling,
16149
+ clientstylingurl,
16117
16150
  integratedgameframedesktop,
16118
16151
  integratedgameframemobile,
16119
16152
  searchValue,
16120
16153
  searchCancelled,
16154
+ customStylingContainer,
16121
16155
  searchArray,
16122
16156
  searchElement,
16123
16157
  searchActive,
16124
16158
  isLoading,
16125
- customStylingContainer,
16126
16159
  $_,
16127
16160
  onFocus,
16128
16161
  cancelSearch,
16129
16162
  clearSearch,
16130
16163
  datasource,
16131
- clientstyling,
16132
- clientstylingurl,
16133
16164
  input_input_handler,
16134
16165
  input_binding,
16135
16166
  click_handler,
@@ -16155,12 +16186,12 @@
16155
16186
  safe_not_equal,
16156
16187
  {
16157
16188
  endpoint: 0,
16158
- datasource: 15,
16189
+ datasource: 17,
16159
16190
  lang: 1,
16160
- clientstyling: 16,
16161
- clientstylingurl: 17,
16162
- integratedgameframedesktop: 2,
16163
- integratedgameframemobile: 3
16191
+ clientstyling: 2,
16192
+ clientstylingurl: 3,
16193
+ integratedgameframedesktop: 4,
16194
+ integratedgameframemobile: 5
16164
16195
  },
16165
16196
  null,
16166
16197
  [-1, -1]
@@ -16200,7 +16231,7 @@
16200
16231
  }
16201
16232
 
16202
16233
  get datasource() {
16203
- return this.$$.ctx[15];
16234
+ return this.$$.ctx[17];
16204
16235
  }
16205
16236
 
16206
16237
  set datasource(datasource) {
@@ -16218,7 +16249,7 @@
16218
16249
  }
16219
16250
 
16220
16251
  get clientstyling() {
16221
- return this.$$.ctx[16];
16252
+ return this.$$.ctx[2];
16222
16253
  }
16223
16254
 
16224
16255
  set clientstyling(clientstyling) {
@@ -16227,7 +16258,7 @@
16227
16258
  }
16228
16259
 
16229
16260
  get clientstylingurl() {
16230
- return this.$$.ctx[17];
16261
+ return this.$$.ctx[3];
16231
16262
  }
16232
16263
 
16233
16264
  set clientstylingurl(clientstylingurl) {
@@ -16236,7 +16267,7 @@
16236
16267
  }
16237
16268
 
16238
16269
  get integratedgameframedesktop() {
16239
- return this.$$.ctx[2];
16270
+ return this.$$.ctx[4];
16240
16271
  }
16241
16272
 
16242
16273
  set integratedgameframedesktop(integratedgameframedesktop) {
@@ -16245,7 +16276,7 @@
16245
16276
  }
16246
16277
 
16247
16278
  get integratedgameframemobile() {
16248
- return this.$$.ctx[3];
16279
+ return this.$$.ctx[5];
16249
16280
  }
16250
16281
 
16251
16282
  set integratedgameframemobile(integratedgameframemobile) {