@everymatrix/casino-search 1.2.1 → 1.2.2

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.
@@ -12334,7 +12334,7 @@
12334
12334
  return child_ctx;
12335
12335
  }
12336
12336
 
12337
- // (562:8) {#if fav}
12337
+ // (568:8) {#if fav}
12338
12338
  function create_if_block_13(ctx) {
12339
12339
  let show_if = !isMobile(/*userAgent*/ ctx[37]) && !/*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[15];
12340
12340
  let if_block_anchor;
@@ -12375,14 +12375,14 @@
12375
12375
  block,
12376
12376
  id: create_if_block_13.name,
12377
12377
  type: "if",
12378
- source: "(562:8) {#if fav}",
12378
+ source: "(568:8) {#if fav}",
12379
12379
  ctx
12380
12380
  });
12381
12381
 
12382
12382
  return block;
12383
12383
  }
12384
12384
 
12385
- // (563:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
12385
+ // (569:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
12386
12386
  function create_if_block_14(ctx) {
12387
12387
  let div;
12388
12388
  let svg;
@@ -12397,7 +12397,7 @@
12397
12397
  path = svg_element("path");
12398
12398
  set_style(path, "fill", "white");
12399
12399
  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");
12400
- add_location(path, file$1, 565, 112, 20034);
12400
+ add_location(path, file$1, 571, 112, 20322);
12401
12401
  attr_dev(svg, "version", "1.1");
12402
12402
  attr_dev(svg, "class", "UnfavoredIcon");
12403
12403
  attr_dev(svg, "part", "UnfavoredIcon");
@@ -12408,10 +12408,10 @@
12408
12408
  attr_dev(svg, "viewBox", "0 0 512.001 512.001");
12409
12409
  set_style(svg, "enable-background", "new 0 0 512.001 512.001");
12410
12410
  attr_dev(svg, "xml:space", "preserve");
12411
- add_location(svg, file$1, 564, 14, 19764);
12411
+ add_location(svg, file$1, 570, 14, 20052);
12412
12412
  attr_dev(div, "class", "FavIconContainer");
12413
12413
  attr_dev(div, "part", "FavIconContainer");
12414
- add_location(div, file$1, 563, 12, 19649);
12414
+ add_location(div, file$1, 569, 12, 19937);
12415
12415
  },
12416
12416
  m: function mount(target, anchor) {
12417
12417
  insert_dev(target, div, anchor);
@@ -12435,14 +12435,14 @@
12435
12435
  block,
12436
12436
  id: create_if_block_14.name,
12437
12437
  type: "if",
12438
- source: "(563:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}",
12438
+ source: "(569:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}",
12439
12439
  ctx
12440
12440
  });
12441
12441
 
12442
12442
  return block;
12443
12443
  }
12444
12444
 
12445
- // (579:8) {#if lang}
12445
+ // (585:8) {#if lang}
12446
12446
  function create_if_block_12(ctx) {
12447
12447
  let button;
12448
12448
  let t_value = /*$_*/ ctx[36]('gameThumbnail.playNow') + "";
@@ -12456,7 +12456,7 @@
12456
12456
  t = text(t_value);
12457
12457
  attr_dev(button, "class", "GameInfoBtn");
12458
12458
  attr_dev(button, "part", "GameInfoBtn");
12459
- add_location(button, file$1, 579, 8, 21279);
12459
+ add_location(button, file$1, 585, 8, 21567);
12460
12460
  },
12461
12461
  m: function mount(target, anchor) {
12462
12462
  insert_dev(target, button, anchor);
@@ -12481,14 +12481,14 @@
12481
12481
  block,
12482
12482
  id: create_if_block_12.name,
12483
12483
  type: "if",
12484
- source: "(579:8) {#if lang}",
12484
+ source: "(585:8) {#if lang}",
12485
12485
  ctx
12486
12486
  });
12487
12487
 
12488
12488
  return block;
12489
12489
  }
12490
12490
 
12491
- // (593:77)
12491
+ // (599:77)
12492
12492
  function create_if_block_11(ctx) {
12493
12493
  let div;
12494
12494
  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, 595, 10, 22696);
12504
+ add_location(path, file$1, 601, 10, 22984);
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, 594, 8, 22479);
12512
+ add_location(svg, file$1, 600, 8, 22767);
12513
12513
  attr_dev(div, "class", "FavIconContainer");
12514
12514
  attr_dev(div, "part", "FavIconContainer");
12515
- add_location(div, file$1, 593, 6, 22416);
12515
+ add_location(div, file$1, 599, 6, 22704);
12516
12516
  },
12517
12517
  m: function mount(target, anchor) {
12518
12518
  insert_dev(target, div, anchor);
@@ -12529,14 +12529,14 @@
12529
12529
  block,
12530
12530
  id: create_if_block_11.name,
12531
12531
  type: "if",
12532
- source: "(593:77) ",
12532
+ source: "(599:77) ",
12533
12533
  ctx
12534
12534
  });
12535
12535
 
12536
12536
  return block;
12537
12537
  }
12538
12538
 
12539
- // (587:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
12539
+ // (593:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
12540
12540
  function create_if_block_10(ctx) {
12541
12541
  let div;
12542
12542
  let svg;
@@ -12551,7 +12551,7 @@
12551
12551
  path = svg_element("path");
12552
12552
  set_style(path, "fill", "white");
12553
12553
  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");
12554
- add_location(path, file$1, 589, 10, 21965);
12554
+ add_location(path, file$1, 595, 10, 22253);
12555
12555
  attr_dev(svg, "version", "1.1");
12556
12556
  attr_dev(svg, "class", "FavoredIcon");
12557
12557
  attr_dev(svg, "part", "FavoredIcon");
@@ -12559,10 +12559,10 @@
12559
12559
  attr_dev(svg, "viewBox", "0 0 19.481 19.481");
12560
12560
  attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
12561
12561
  attr_dev(svg, "enable-background", "new 0 0 19.481 19.481");
12562
- add_location(svg, file$1, 588, 8, 21748);
12562
+ add_location(svg, file$1, 594, 8, 22036);
12563
12563
  attr_dev(div, "class", "FavIconContainer");
12564
12564
  attr_dev(div, "part", "FavIconContainer");
12565
- add_location(div, file$1, 587, 6, 21639);
12565
+ add_location(div, file$1, 593, 6, 21927);
12566
12566
  },
12567
12567
  m: function mount(target, anchor) {
12568
12568
  insert_dev(target, div, anchor);
@@ -12586,14 +12586,14 @@
12586
12586
  block,
12587
12587
  id: create_if_block_10.name,
12588
12588
  type: "if",
12589
- source: "(587:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}",
12589
+ source: "(593:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}",
12590
12590
  ctx
12591
12591
  });
12592
12592
 
12593
12593
  return block;
12594
12594
  }
12595
12595
 
12596
- // (601:6) {#if gameisnew}
12596
+ // (607:6) {#if gameisnew}
12597
12597
  function create_if_block_9(ctx) {
12598
12598
  let span;
12599
12599
  let t_value = /*$_*/ ctx[36]('gameThumbnail.new') + "";
@@ -12605,7 +12605,7 @@
12605
12605
  t = text(t_value);
12606
12606
  attr_dev(span, "class", "GameExtraInfoLabel NewGameTag");
12607
12607
  attr_dev(span, "part", "GameExtraInfoLabel NewGameTag");
12608
- add_location(span, file$1, 601, 8, 23156);
12608
+ add_location(span, file$1, 607, 8, 23444);
12609
12609
  },
12610
12610
  m: function mount(target, anchor) {
12611
12611
  insert_dev(target, span, anchor);
@@ -12623,33 +12623,32 @@
12623
12623
  block,
12624
12624
  id: create_if_block_9.name,
12625
12625
  type: "if",
12626
- source: "(601:6) {#if gameisnew}",
12626
+ source: "(607:6) {#if gameisnew}",
12627
12627
  ctx
12628
12628
  });
12629
12629
 
12630
12630
  return block;
12631
12631
  }
12632
12632
 
12633
- // (604:6) {#if (parseInt(gamepopularity) > 0)}
12633
+ // (610:6) {#if gametag}
12634
12634
  function create_if_block_8(ctx) {
12635
12635
  let span;
12636
- let t_value = /*$_*/ ctx[36]('gameThumbnail.hot') + "";
12637
12636
  let t;
12638
12637
 
12639
12638
  const block = {
12640
12639
  c: function create() {
12641
12640
  span = element("span");
12642
- t = text(t_value);
12641
+ t = text(/*gametag*/ ctx[8]);
12643
12642
  attr_dev(span, "class", "GameExtraInfoLabel PopularGameTag");
12644
12643
  attr_dev(span, "part", "GameExtraInfoLabel PopularGameTag");
12645
- add_location(span, file$1, 604, 8, 23333);
12644
+ add_location(span, file$1, 610, 8, 23598);
12646
12645
  },
12647
12646
  m: function mount(target, anchor) {
12648
12647
  insert_dev(target, span, anchor);
12649
12648
  append_dev(span, t);
12650
12649
  },
12651
12650
  p: function update(ctx, dirty) {
12652
- if (dirty[1] & /*$_*/ 32 && t_value !== (t_value = /*$_*/ ctx[36]('gameThumbnail.hot') + "")) set_data_dev(t, t_value);
12651
+ if (dirty[0] & /*gametag*/ 256) set_data_dev(t, /*gametag*/ ctx[8]);
12653
12652
  },
12654
12653
  d: function destroy(detaching) {
12655
12654
  if (detaching) detach_dev(span);
@@ -12660,14 +12659,14 @@
12660
12659
  block,
12661
12660
  id: create_if_block_8.name,
12662
12661
  type: "if",
12663
- source: "(604:6) {#if (parseInt(gamepopularity) > 0)}",
12662
+ source: "(610:6) {#if gametag}",
12664
12663
  ctx
12665
12664
  });
12666
12665
 
12667
12666
  return block;
12668
12667
  }
12669
12668
 
12670
- // (607:6) {#if livegamedata}
12669
+ // (613:6) {#if livegamedata}
12671
12670
  function create_if_block_1$1(ctx) {
12672
12671
  let t;
12673
12672
  let if_block1_anchor;
@@ -12736,14 +12735,14 @@
12736
12735
  block,
12737
12736
  id: create_if_block_1$1.name,
12738
12737
  type: "if",
12739
- source: "(607:6) {#if livegamedata}",
12738
+ source: "(613:6) {#if livegamedata}",
12740
12739
  ctx
12741
12740
  });
12742
12741
 
12743
12742
  return block;
12744
12743
  }
12745
12744
 
12746
- // (608:8) {#if !isopen && starttime && timeformat}
12745
+ // (614:8) {#if !isopen && starttime && timeformat}
12747
12746
  function create_if_block_7(ctx) {
12748
12747
  let div1;
12749
12748
  let div0;
@@ -12772,15 +12771,15 @@
12772
12771
  html_tag = new HtmlTag(false);
12773
12772
  t4 = space();
12774
12773
  html_tag_1 = new HtmlTag(false);
12775
- add_location(span, file$1, 611, 14, 23721);
12774
+ add_location(span, file$1, 617, 14, 23970);
12776
12775
  attr_dev(div0, "class", "ClosedGame");
12777
12776
  attr_dev(div0, "part", "ClosedGame");
12778
- add_location(div0, file$1, 609, 12, 23622);
12777
+ add_location(div0, file$1, 615, 12, 23871);
12779
12778
  html_tag.a = t4;
12780
12779
  html_tag_1.a = null;
12781
12780
  attr_dev(div1, "class", "GameProp LiveProps");
12782
12781
  attr_dev(div1, "part", "GameProp LiveProps");
12783
- add_location(div1, file$1, 608, 10, 23551);
12782
+ add_location(div1, file$1, 614, 10, 23800);
12784
12783
  },
12785
12784
  m: function mount(target, anchor) {
12786
12785
  insert_dev(target, div1, anchor);
@@ -12809,14 +12808,14 @@
12809
12808
  block,
12810
12809
  id: create_if_block_7.name,
12811
12810
  type: "if",
12812
- source: "(608:8) {#if !isopen && starttime && timeformat}",
12811
+ source: "(614:8) {#if !isopen && starttime && timeformat}",
12813
12812
  ctx
12814
12813
  });
12815
12814
 
12816
12815
  return block;
12817
12816
  }
12818
12817
 
12819
- // (641:68)
12818
+ // (647:68)
12820
12819
  function create_if_block_4$1(ctx) {
12821
12820
  let div1;
12822
12821
  let div0;
@@ -12849,12 +12848,12 @@
12849
12848
  html_tag_1 = new HtmlTag(false);
12850
12849
  attr_dev(div0, "class", "LiveIcons");
12851
12850
  attr_dev(div0, "part", "LiveIcons");
12852
- add_location(div0, file$1, 642, 12, 25681);
12851
+ add_location(div0, file$1, 648, 12, 25930);
12853
12852
  html_tag.a = t1;
12854
12853
  html_tag_1.a = null;
12855
12854
  attr_dev(div1, "class", /*roulettecontainerclassname*/ ctx[31]);
12856
12855
  attr_dev(div1, "part", /*roulettecontainerclassname*/ ctx[31]);
12857
- add_location(div1, file$1, 641, 10, 25590);
12856
+ add_location(div1, file$1, 647, 10, 25839);
12858
12857
  },
12859
12858
  m: function mount(target, anchor) {
12860
12859
  insert_dev(target, div1, anchor);
@@ -12917,14 +12916,14 @@
12917
12916
  block,
12918
12917
  id: create_if_block_4$1.name,
12919
12918
  type: "if",
12920
- source: "(641:68) ",
12919
+ source: "(647:68) ",
12921
12920
  ctx
12922
12921
  });
12923
12922
 
12924
12923
  return block;
12925
12924
  }
12926
12925
 
12927
- // (620:8) {#if isopen && displaytype && displaytype === BLACKJACK}
12926
+ // (626:8) {#if isopen && displaytype && displaytype === BLACKJACK}
12928
12927
  function create_if_block_2$1(ctx) {
12929
12928
  let div1;
12930
12929
  let div0;
@@ -12954,12 +12953,12 @@
12954
12953
  html_tag_1 = new HtmlTag(false);
12955
12954
  attr_dev(div0, "class", "LiveIcons");
12956
12955
  attr_dev(div0, "part", "LiveIcons");
12957
- add_location(div0, file$1, 621, 12, 24158);
12956
+ add_location(div0, file$1, 627, 12, 24407);
12958
12957
  html_tag.a = t1;
12959
12958
  html_tag_1.a = null;
12960
12959
  attr_dev(div1, "class", "GameProp LiveProps BlackjackDisplay");
12961
12960
  attr_dev(div1, "part", "GameProp LiveProps BlackjackDisplay");
12962
- add_location(div1, file$1, 620, 10, 24053);
12961
+ add_location(div1, file$1, 626, 10, 24302);
12963
12962
  },
12964
12963
  m: function mount(target, anchor) {
12965
12964
  insert_dev(target, div1, anchor);
@@ -12996,14 +12995,14 @@
12996
12995
  block,
12997
12996
  id: create_if_block_2$1.name,
12998
12997
  type: "if",
12999
- source: "(620:8) {#if isopen && displaytype && displaytype === BLACKJACK}",
12998
+ source: "(626:8) {#if isopen && displaytype && displaytype === BLACKJACK}",
13000
12999
  ctx
13001
13000
  });
13002
13001
 
13003
13002
  return block;
13004
13003
  }
13005
13004
 
13006
- // (645:16) {#if roulleteresults && roulleteresults[i]}
13005
+ // (651:16) {#if roulleteresults && roulleteresults[i]}
13007
13006
  function create_if_block_5$1(ctx) {
13008
13007
  let if_block_anchor;
13009
13008
 
@@ -13047,14 +13046,14 @@
13047
13046
  block,
13048
13047
  id: create_if_block_5$1.name,
13049
13048
  type: "if",
13050
- source: "(645:16) {#if roulleteresults && roulleteresults[i]}",
13049
+ source: "(651:16) {#if roulleteresults && roulleteresults[i]}",
13051
13050
  ctx
13052
13051
  });
13053
13052
 
13054
13053
  return block;
13055
13054
  }
13056
13055
 
13057
- // (651:18) {:else}
13056
+ // (657:18) {:else}
13058
13057
  function create_else_block_1(ctx) {
13059
13058
  let html_tag;
13060
13059
  let raw_value = /*renderSpan*/ ctx[47](`LatestResult ${/*i*/ ctx[111] === 0 ? 'First' : ''}`, /*i*/ ctx[111], /*roulleteresults*/ ctx[13][/*i*/ ctx[111]], /*colorsourcearray*/ ctx[32][/*roulleteresults*/ ctx[13][/*i*/ ctx[111]]]) + "";
@@ -13083,14 +13082,14 @@
13083
13082
  block,
13084
13083
  id: create_else_block_1.name,
13085
13084
  type: "else",
13086
- source: "(651:18) {:else}",
13085
+ source: "(657:18) {:else}",
13087
13086
  ctx
13088
13087
  });
13089
13088
 
13090
13089
  return block;
13091
13090
  }
13092
13091
 
13093
- // (646:18) {#if isdouble}
13092
+ // (652:18) {#if isdouble}
13094
13093
  function create_if_block_6(ctx) {
13095
13094
  let div;
13096
13095
  let html_tag;
@@ -13111,7 +13110,7 @@
13111
13110
  html_tag_1.a = t1;
13112
13111
  attr_dev(div, "class", "Double");
13113
13112
  attr_dev(div, "part", "Double");
13114
- add_location(div, file$1, 646, 20, 25932);
13113
+ add_location(div, file$1, 652, 20, 26181);
13115
13114
  },
13116
13115
  m: function mount(target, anchor) {
13117
13116
  insert_dev(target, div, anchor);
@@ -13133,14 +13132,14 @@
13133
13132
  block,
13134
13133
  id: create_if_block_6.name,
13135
13134
  type: "if",
13136
- source: "(646:18) {#if isdouble}",
13135
+ source: "(652:18) {#if isdouble}",
13137
13136
  ctx
13138
13137
  });
13139
13138
 
13140
13139
  return block;
13141
13140
  }
13142
13141
 
13143
- // (644:14) {#each new Array(numberofdisplayedresults) as garbage, i}
13142
+ // (650:14) {#each new Array(numberofdisplayedresults) as garbage, i}
13144
13143
  function create_each_block_1(ctx) {
13145
13144
  let if_block_anchor;
13146
13145
  let if_block = /*roulleteresults*/ ctx[13] && /*roulleteresults*/ ctx[13][/*i*/ ctx[111]] && create_if_block_5$1(ctx);
@@ -13178,14 +13177,14 @@
13178
13177
  block,
13179
13178
  id: create_each_block_1.name,
13180
13179
  type: "each",
13181
- source: "(644:14) {#each new Array(numberofdisplayedresults) as garbage, i}",
13180
+ source: "(650:14) {#each new Array(numberofdisplayedresults) as garbage, i}",
13182
13181
  ctx
13183
13182
  });
13184
13183
 
13185
13184
  return block;
13186
13185
  }
13187
13186
 
13188
- // (627:14) {:else}
13187
+ // (633:14) {:else}
13189
13188
  function create_else_block$1(ctx) {
13190
13189
  let each_1_anchor;
13191
13190
  let each_value = /*seats*/ ctx[25];
@@ -13246,14 +13245,14 @@
13246
13245
  block,
13247
13246
  id: create_else_block$1.name,
13248
13247
  type: "else",
13249
- source: "(627:14) {:else}",
13248
+ source: "(633:14) {:else}",
13250
13249
  ctx
13251
13250
  });
13252
13251
 
13253
13252
  return block;
13254
13253
  }
13255
13254
 
13256
- // (623:14) {#if istablefull}
13255
+ // (629:14) {#if istablefull}
13257
13256
  function create_if_block_3$1(ctx) {
13258
13257
  let span;
13259
13258
  let t_value = /*$_*/ ctx[36]('gameThumbnail.full') + "";
@@ -13265,7 +13264,7 @@
13265
13264
  t = text(t_value);
13266
13265
  attr_dev(span, "class", "FullTable");
13267
13266
  attr_dev(span, "part", "FullTable");
13268
- add_location(span, file$1, 623, 16, 24247);
13267
+ add_location(span, file$1, 629, 16, 24496);
13269
13268
  },
13270
13269
  m: function mount(target, anchor) {
13271
13270
  insert_dev(target, span, anchor);
@@ -13283,14 +13282,14 @@
13283
13282
  block,
13284
13283
  id: create_if_block_3$1.name,
13285
13284
  type: "if",
13286
- source: "(623:14) {#if istablefull}",
13285
+ source: "(629:14) {#if istablefull}",
13287
13286
  ctx
13288
13287
  });
13289
13288
 
13290
13289
  return block;
13291
13290
  }
13292
13291
 
13293
- // (628:16) {#each seats as seatData}
13292
+ // (634:16) {#each seats as seatData}
13294
13293
  function create_each_block$1(ctx) {
13295
13294
  let span;
13296
13295
  let svg;
@@ -13308,14 +13307,14 @@
13308
13307
  path1 = svg_element("path");
13309
13308
  t = space();
13310
13309
  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");
13311
- add_location(path0, file$1, 630, 22, 24748);
13310
+ add_location(path0, file$1, 636, 22, 24997);
13312
13311
  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");
13313
- add_location(path1, file$1, 631, 22, 25124);
13312
+ add_location(path1, file$1, 637, 22, 25373);
13314
13313
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
13315
13314
  attr_dev(svg, "width", "13");
13316
13315
  attr_dev(svg, "height", "14");
13317
13316
  attr_dev(svg, "viewBox", "0 0 13 14");
13318
- add_location(svg, file$1, 629, 20, 24642);
13317
+ add_location(svg, file$1, 635, 20, 24891);
13319
13318
 
13320
13319
  attr_dev(span, "class", span_class_value = /*contains*/ ctx[44](/*currentoccupiedseats*/ ctx[29], /*seatData*/ ctx[106].toString())
13321
13320
  ? 'ClosedSeat'
@@ -13325,7 +13324,7 @@
13325
13324
  ? 'ClosedSeat'
13326
13325
  : 'OpenSeat');
13327
13326
 
13328
- add_location(span, file$1, 628, 18, 24440);
13327
+ add_location(span, file$1, 634, 18, 24689);
13329
13328
  },
13330
13329
  m: function mount(target, anchor) {
13331
13330
  insert_dev(target, span, anchor);
@@ -13356,14 +13355,14 @@
13356
13355
  block,
13357
13356
  id: create_each_block$1.name,
13358
13357
  type: "each",
13359
- source: "(628:16) {#each seats as seatData}",
13358
+ source: "(634:16) {#each seats as seatData}",
13360
13359
  ctx
13361
13360
  });
13362
13361
 
13363
13362
  return block;
13364
13363
  }
13365
13364
 
13366
- // (664:2) {#if showgamename}
13365
+ // (670:2) {#if showgamename}
13367
13366
  function create_if_block$1(ctx) {
13368
13367
  let p;
13369
13368
  let t;
@@ -13375,7 +13374,7 @@
13375
13374
  attr_dev(p, "class", "GameNameBelow");
13376
13375
  attr_dev(p, "part", "GameNameBelow");
13377
13376
  attr_dev(p, "title", /*gamename*/ ctx[4]);
13378
- add_location(p, file$1, 664, 4, 26817);
13377
+ add_location(p, file$1, 670, 4, 27066);
13379
13378
  },
13380
13379
  m: function mount(target, anchor) {
13381
13380
  insert_dev(target, p, anchor);
@@ -13397,7 +13396,7 @@
13397
13396
  block,
13398
13397
  id: create_if_block$1.name,
13399
13398
  type: "if",
13400
- source: "(664:2) {#if showgamename}",
13399
+ source: "(670:2) {#if showgamename}",
13401
13400
  ctx
13402
13401
  });
13403
13402
 
@@ -13425,12 +13424,11 @@
13425
13424
  let t5_value = (/*gamevendor*/ ctx[5] ? /*gamevendor*/ ctx[5] : '-') + "";
13426
13425
  let t5;
13427
13426
  let t6;
13427
+ let show_if;
13428
13428
  let show_if_1;
13429
- let show_if_2;
13430
13429
  let t7;
13431
13430
  let div2;
13432
13431
  let t8;
13433
- let show_if = parseInt(/*gamepopularity*/ ctx[8]) > 0;
13434
13432
  let t9;
13435
13433
  let div3_class_value;
13436
13434
  let div3_part_value;
@@ -13443,18 +13441,18 @@
13443
13441
  let if_block1 = /*lang*/ ctx[1] && create_if_block_12(ctx);
13444
13442
 
13445
13443
  function select_block_type(ctx, dirty) {
13444
+ if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/ 32773) show_if = null;
13446
13445
  if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/ 32773) show_if_1 = null;
13447
- if (dirty[0] & /*gamefavorite, isLoggedIn, favorites*/ 32773) show_if_2 = null;
13448
- if (show_if_1 == null) show_if_1 = !!(!isMobile(/*userAgent*/ ctx[37]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[15] && /*favorites*/ ctx[2]);
13449
- if (show_if_1) return create_if_block_10;
13450
- if (show_if_2 == null) show_if_2 = !!(isMobile(/*userAgent*/ ctx[37]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[15] && /*favorites*/ ctx[2]);
13451
- if (show_if_2) return create_if_block_11;
13446
+ if (show_if == null) show_if = !!(!isMobile(/*userAgent*/ ctx[37]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[15] && /*favorites*/ ctx[2]);
13447
+ if (show_if) return create_if_block_10;
13448
+ if (show_if_1 == null) show_if_1 = !!(isMobile(/*userAgent*/ ctx[37]) && /*gamefavorite*/ ctx[0] && /*isLoggedIn*/ ctx[15] && /*favorites*/ ctx[2]);
13449
+ if (show_if_1) return create_if_block_11;
13452
13450
  }
13453
13451
 
13454
13452
  let current_block_type = select_block_type(ctx, [-1, -1, -1, -1]);
13455
13453
  let if_block2 = current_block_type && current_block_type(ctx);
13456
13454
  let if_block3 = /*gameisnew*/ ctx[7] && create_if_block_9(ctx);
13457
- let if_block4 = show_if && create_if_block_8(ctx);
13455
+ let if_block4 = /*gametag*/ ctx[8] && create_if_block_8(ctx);
13458
13456
  let if_block5 = /*livegamedata*/ ctx[12] && create_if_block_1$1(ctx);
13459
13457
  let if_block6 = /*showgamename*/ ctx[10] && create_if_block$1(ctx);
13460
13458
 
@@ -13492,23 +13490,23 @@
13492
13490
  attr_dev(img, "part", img_part_value = "GameBg " + (/*hover*/ ctx[17] ? 'GameContainerHovered' : '') + " " + (/*loaded*/ ctx[18] ? 'Loaded' : ''));
13493
13491
  attr_dev(img, "alt", "");
13494
13492
  attr_dev(img, "loading", "lazy");
13495
- add_location(img, file$1, 558, 4, 19141);
13493
+ add_location(img, file$1, 564, 4, 19429);
13496
13494
  attr_dev(p, "class", "GameInfoName");
13497
13495
  attr_dev(p, "part", "GameInfoName");
13498
13496
  attr_dev(p, "title", /*gamename*/ ctx[4]);
13499
- add_location(p, file$1, 577, 8, 21174);
13497
+ add_location(p, file$1, 583, 8, 21462);
13500
13498
  attr_dev(div0, "class", div0_class_value = "GameInfo " + (/*hover*/ ctx[17] ? 'GameHovered' : ''));
13501
13499
  attr_dev(div0, "part", div0_part_value = "GameInfo " + (/*hover*/ ctx[17] ? 'GameHovered' : ''));
13502
- add_location(div0, file$1, 560, 6, 19454);
13500
+ add_location(div0, file$1, 566, 6, 19742);
13503
13501
  attr_dev(span, "class", "GameInfoVendor");
13504
13502
  attr_dev(span, "part", "GameInfoVendor");
13505
- add_location(span, file$1, 582, 6, 21441);
13503
+ add_location(span, file$1, 588, 6, 21729);
13506
13504
  attr_dev(div1, "class", "GameInfoWrapper");
13507
13505
  attr_dev(div1, "part", "GameInfoWrapper");
13508
- add_location(div1, file$1, 559, 4, 19395);
13506
+ add_location(div1, file$1, 565, 4, 19683);
13509
13507
  attr_dev(div2, "class", "GameExtraInfo");
13510
13508
  attr_dev(div2, "part", "GameExtraInfo");
13511
- add_location(div2, file$1, 599, 4, 23077);
13509
+ add_location(div2, file$1, 605, 4, 23365);
13512
13510
 
13513
13511
  attr_dev(div3, "class", div3_class_value = "GameInnerContainer " + (/*livegamedata*/ ctx[12] && !/*isopen*/ ctx[23] && /*openhours*/ ctx[24].value || /*livegamedata*/ ctx[12] && /*istablefull*/ ctx[33]
13514
13512
  ? 'GameInnerContainerUnavailable'
@@ -13518,10 +13516,10 @@
13518
13516
  ? 'GameInnerContainerUnavailable'
13519
13517
  : ''));
13520
13518
 
13521
- add_location(div3, file$1, 557, 2, 18753);
13519
+ add_location(div3, file$1, 563, 2, 19041);
13522
13520
  attr_dev(div4, "class", div4_class_value = `GameContainer ${/*extraclassname*/ ctx[34]}`);
13523
13521
  attr_dev(div4, "part", div4_part_value = `GameContainer ${/*extraclassname*/ ctx[34]}`);
13524
- add_location(div4, file$1, 556, 0, 18627);
13522
+ add_location(div4, file$1, 562, 0, 18915);
13525
13523
  },
13526
13524
  l: function claim(nodes) {
13527
13525
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -13647,9 +13645,7 @@
13647
13645
  if_block3 = null;
13648
13646
  }
13649
13647
 
13650
- if (dirty[0] & /*gamepopularity*/ 256) show_if = parseInt(/*gamepopularity*/ ctx[8]) > 0;
13651
-
13652
- if (show_if) {
13648
+ if (/*gametag*/ ctx[8]) {
13653
13649
  if (if_block4) {
13654
13650
  if_block4.p(ctx, dirty);
13655
13651
  } else {
@@ -13759,14 +13755,14 @@
13759
13755
  let { lang = 'en' } = $$props;
13760
13756
  let { clientstyling = '' } = $$props;
13761
13757
  let { clientstylingurl = '' } = $$props;
13762
- let { translationUrl = '' } = $$props;
13758
+ let { translationurl = '' } = $$props;
13763
13759
  let { favorites = '' } = $$props;
13764
13760
  let { gamethumbnail = '' } = $$props;
13765
13761
  let { gamename = '' } = $$props;
13766
13762
  let { gamevendor = '' } = $$props;
13767
13763
  let { gameid = '' } = $$props;
13768
13764
  let { gameisnew = '' } = $$props;
13769
- let { gamepopularity = '' } = $$props;
13765
+ let { gametag = '' } = $$props;
13770
13766
  let { gamefunmode = false } = $$props;
13771
13767
  let { searchitem = false } = $$props;
13772
13768
  let { gamefavorite = false } = $$props;
@@ -13873,7 +13869,7 @@
13873
13869
  };
13874
13870
 
13875
13871
  const setTranslationUrl = () => {
13876
- let url = translationUrl;
13872
+ let url = translationurl;
13877
13873
 
13878
13874
  fetch(url).then(res => res.json()).then(res => {
13879
13875
  Object.keys(res).forEach(item => {
@@ -14146,16 +14142,21 @@
14146
14142
  } // default case
14147
14143
  };
14148
14144
 
14145
+ //Revert manually, commented changes are the current ones, will undo after deploy
14149
14146
  const setLiveLobbyData = () => {
14150
14147
  let url = new URL(`${livelobbyendpoint.split('?')[0]}`);
14151
14148
  url.searchParams.append("platform", getDevice(userAgent));
14152
14149
  url.searchParams.append('language', lang);
14153
14150
 
14151
+ // let url:URL = new URL(`${endpoint}${livelobbyendpoint}`);
14154
14152
  fetch(url).then(res => res.json()).then(data => {
14155
14153
  const { details } = data[0];
14156
14154
  $$invalidate(12, livegamedata = details);
14157
14155
  });
14158
- };
14156
+ }; // .then(res => res.json())
14157
+ // .then(data => {
14158
+ // livegamedata = data.items.find(gameDetails => gameDetails.id == gameid);
14159
+ // });
14159
14160
 
14160
14161
  const numberWithSeparators = (value, sep = DEFAULT_AMOUNT_SEPARATOR) => {
14161
14162
  if (value !== undefined && value !== null) {
@@ -14413,14 +14414,14 @@
14413
14414
  'lang',
14414
14415
  'clientstyling',
14415
14416
  'clientstylingurl',
14416
- 'translationUrl',
14417
+ 'translationurl',
14417
14418
  'favorites',
14418
14419
  'gamethumbnail',
14419
14420
  'gamename',
14420
14421
  'gamevendor',
14421
14422
  'gameid',
14422
14423
  'gameisnew',
14423
- 'gamepopularity',
14424
+ 'gametag',
14424
14425
  'gamefunmode',
14425
14426
  'searchitem',
14426
14427
  'gamefavorite',
@@ -14472,14 +14473,14 @@
14472
14473
  if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
14473
14474
  if ('clientstyling' in $$props) $$invalidate(50, clientstyling = $$props.clientstyling);
14474
14475
  if ('clientstylingurl' in $$props) $$invalidate(51, clientstylingurl = $$props.clientstylingurl);
14475
- if ('translationUrl' in $$props) $$invalidate(52, translationUrl = $$props.translationUrl);
14476
+ if ('translationurl' in $$props) $$invalidate(52, translationurl = $$props.translationurl);
14476
14477
  if ('favorites' in $$props) $$invalidate(2, favorites = $$props.favorites);
14477
14478
  if ('gamethumbnail' in $$props) $$invalidate(3, gamethumbnail = $$props.gamethumbnail);
14478
14479
  if ('gamename' in $$props) $$invalidate(4, gamename = $$props.gamename);
14479
14480
  if ('gamevendor' in $$props) $$invalidate(5, gamevendor = $$props.gamevendor);
14480
14481
  if ('gameid' in $$props) $$invalidate(6, gameid = $$props.gameid);
14481
14482
  if ('gameisnew' in $$props) $$invalidate(7, gameisnew = $$props.gameisnew);
14482
- if ('gamepopularity' in $$props) $$invalidate(8, gamepopularity = $$props.gamepopularity);
14483
+ if ('gametag' in $$props) $$invalidate(8, gametag = $$props.gametag);
14483
14484
  if ('gamefunmode' in $$props) $$invalidate(53, gamefunmode = $$props.gamefunmode);
14484
14485
  if ('searchitem' in $$props) $$invalidate(54, searchitem = $$props.searchitem);
14485
14486
  if ('gamefavorite' in $$props) $$invalidate(0, gamefavorite = $$props.gamefavorite);
@@ -14512,14 +14513,14 @@
14512
14513
  lang,
14513
14514
  clientstyling,
14514
14515
  clientstylingurl,
14515
- translationUrl,
14516
+ translationurl,
14516
14517
  favorites,
14517
14518
  gamethumbnail,
14518
14519
  gamename,
14519
14520
  gamevendor,
14520
14521
  gameid,
14521
14522
  gameisnew,
14522
- gamepopularity,
14523
+ gametag,
14523
14524
  gamefunmode,
14524
14525
  searchitem,
14525
14526
  gamefavorite,
@@ -14621,14 +14622,14 @@
14621
14622
  if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
14622
14623
  if ('clientstyling' in $$props) $$invalidate(50, clientstyling = $$props.clientstyling);
14623
14624
  if ('clientstylingurl' in $$props) $$invalidate(51, clientstylingurl = $$props.clientstylingurl);
14624
- if ('translationUrl' in $$props) $$invalidate(52, translationUrl = $$props.translationUrl);
14625
+ if ('translationurl' in $$props) $$invalidate(52, translationurl = $$props.translationurl);
14625
14626
  if ('favorites' in $$props) $$invalidate(2, favorites = $$props.favorites);
14626
14627
  if ('gamethumbnail' in $$props) $$invalidate(3, gamethumbnail = $$props.gamethumbnail);
14627
14628
  if ('gamename' in $$props) $$invalidate(4, gamename = $$props.gamename);
14628
14629
  if ('gamevendor' in $$props) $$invalidate(5, gamevendor = $$props.gamevendor);
14629
14630
  if ('gameid' in $$props) $$invalidate(6, gameid = $$props.gameid);
14630
14631
  if ('gameisnew' in $$props) $$invalidate(7, gameisnew = $$props.gameisnew);
14631
- if ('gamepopularity' in $$props) $$invalidate(8, gamepopularity = $$props.gamepopularity);
14632
+ if ('gametag' in $$props) $$invalidate(8, gametag = $$props.gametag);
14632
14633
  if ('gamefunmode' in $$props) $$invalidate(53, gamefunmode = $$props.gamefunmode);
14633
14634
  if ('searchitem' in $$props) $$invalidate(54, searchitem = $$props.searchitem);
14634
14635
  if ('gamefavorite' in $$props) $$invalidate(0, gamefavorite = $$props.gamefavorite);
@@ -14718,8 +14719,8 @@
14718
14719
  favorites && setFavorites();
14719
14720
  }
14720
14721
 
14721
- if ($$self.$$.dirty[1] & /*translationUrl*/ 2097152) {
14722
- translationUrl && setTranslationUrl();
14722
+ if ($$self.$$.dirty[1] & /*translationurl*/ 2097152) {
14723
+ translationurl && setTranslationUrl();
14723
14724
  }
14724
14725
 
14725
14726
  if ($$self.$$.dirty[0] & /*gamecellsize*/ 512 | $$self.$$.dirty[1] & /*clientstylingurl*/ 1048576) {
@@ -14748,7 +14749,7 @@
14748
14749
  gamevendor,
14749
14750
  gameid,
14750
14751
  gameisnew,
14751
- gamepopularity,
14752
+ gametag,
14752
14753
  gamecellsize,
14753
14754
  showgamename,
14754
14755
  customStylingContainer,
@@ -14792,7 +14793,7 @@
14792
14793
  userid,
14793
14794
  clientstyling,
14794
14795
  clientstylingurl,
14795
- translationUrl,
14796
+ translationurl,
14796
14797
  gamefunmode,
14797
14798
  searchitem,
14798
14799
  showfavoredcategory,
@@ -14836,14 +14837,14 @@
14836
14837
  lang: 1,
14837
14838
  clientstyling: 50,
14838
14839
  clientstylingurl: 51,
14839
- translationUrl: 52,
14840
+ translationurl: 52,
14840
14841
  favorites: 2,
14841
14842
  gamethumbnail: 3,
14842
14843
  gamename: 4,
14843
14844
  gamevendor: 5,
14844
14845
  gameid: 6,
14845
14846
  gameisnew: 7,
14846
- gamepopularity: 8,
14847
+ gametag: 8,
14847
14848
  gamefunmode: 53,
14848
14849
  searchitem: 54,
14849
14850
  gamefavorite: 0,
@@ -14884,14 +14885,14 @@
14884
14885
  "lang",
14885
14886
  "clientstyling",
14886
14887
  "clientstylingurl",
14887
- "translationUrl",
14888
+ "translationurl",
14888
14889
  "favorites",
14889
14890
  "gamethumbnail",
14890
14891
  "gamename",
14891
14892
  "gamevendor",
14892
14893
  "gameid",
14893
14894
  "gameisnew",
14894
- "gamepopularity",
14895
+ "gametag",
14895
14896
  "gamefunmode",
14896
14897
  "searchitem",
14897
14898
  "gamefavorite",
@@ -14956,12 +14957,12 @@
14956
14957
  flush();
14957
14958
  }
14958
14959
 
14959
- get translationUrl() {
14960
+ get translationurl() {
14960
14961
  return this.$$.ctx[52];
14961
14962
  }
14962
14963
 
14963
- set translationUrl(translationUrl) {
14964
- this.$$set({ translationUrl });
14964
+ set translationurl(translationurl) {
14965
+ this.$$set({ translationurl });
14965
14966
  flush();
14966
14967
  }
14967
14968
 
@@ -15019,12 +15020,12 @@
15019
15020
  flush();
15020
15021
  }
15021
15022
 
15022
- get gamepopularity() {
15023
+ get gametag() {
15023
15024
  return this.$$.ctx[8];
15024
15025
  }
15025
15026
 
15026
- set gamepopularity(gamepopularity) {
15027
- this.$$set({ gamepopularity });
15027
+ set gametag(gametag) {
15028
+ this.$$set({ gametag });
15028
15029
  flush();
15029
15030
  }
15030
15031
 
@@ -15180,11 +15181,11 @@
15180
15181
 
15181
15182
  function get_each_context(ctx, list, i) {
15182
15183
  const child_ctx = ctx.slice();
15183
- child_ctx[45] = list[i];
15184
+ child_ctx[49] = list[i];
15184
15185
  return child_ctx;
15185
15186
  }
15186
15187
 
15187
- // (267:4) {:else}
15188
+ // (296:4) {:else}
15188
15189
  function create_else_block(ctx) {
15189
15190
  let t0;
15190
15191
  let div;
@@ -15210,7 +15211,7 @@
15210
15211
  t1 = space();
15211
15212
  if (if_block2) if_block2.c();
15212
15213
  attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[13] == true ? '' : 'NotVisible'));
15213
- add_location(div, file, 277, 6, 9538);
15214
+ add_location(div, file, 306, 6, 10555);
15214
15215
  },
15215
15216
  m: function mount(target, anchor) {
15216
15217
  if (if_block0) if_block0.m(target, anchor);
@@ -15279,31 +15280,31 @@
15279
15280
  block,
15280
15281
  id: create_else_block.name,
15281
15282
  type: "else",
15282
- source: "(267:4) {:else}",
15283
+ source: "(296:4) {:else}",
15283
15284
  ctx
15284
15285
  });
15285
15286
 
15286
15287
  return block;
15287
15288
  }
15288
15289
 
15289
- // (265:4) {#if isLoading}
15290
+ // (294:4) {#if isLoading}
15290
15291
  function create_if_block(ctx) {
15291
15292
  let p;
15292
- let t_value = /*$_*/ ctx[15]('Translations.loading') + "";
15293
+ let t_value = /*$_*/ ctx[17]('Translations.loading') + "";
15293
15294
  let t;
15294
15295
 
15295
15296
  const block = {
15296
15297
  c: function create() {
15297
15298
  p = element("p");
15298
15299
  t = text(t_value);
15299
- add_location(p, file, 265, 6, 9030);
15300
+ add_location(p, file, 294, 6, 10047);
15300
15301
  },
15301
15302
  m: function mount(target, anchor) {
15302
15303
  insert_dev(target, p, anchor);
15303
15304
  append_dev(p, t);
15304
15305
  },
15305
15306
  p: function update(ctx, dirty) {
15306
- if (dirty[0] & /*$_*/ 32768 && t_value !== (t_value = /*$_*/ ctx[15]('Translations.loading') + "")) set_data_dev(t, t_value);
15307
+ if (dirty[0] & /*$_*/ 131072 && t_value !== (t_value = /*$_*/ ctx[17]('Translations.loading') + "")) set_data_dev(t, t_value);
15307
15308
  },
15308
15309
  d: function destroy(detaching) {
15309
15310
  if (detaching) detach_dev(p);
@@ -15314,17 +15315,17 @@
15314
15315
  block,
15315
15316
  id: create_if_block.name,
15316
15317
  type: "if",
15317
- source: "(265:4) {#if isLoading}",
15318
+ source: "(294:4) {#if isLoading}",
15318
15319
  ctx
15319
15320
  });
15320
15321
 
15321
15322
  return block;
15322
15323
  }
15323
15324
 
15324
- // (275:40)
15325
+ // (304:40)
15325
15326
  function create_if_block_5(ctx) {
15326
15327
  let p;
15327
- let t_value = /*$_*/ ctx[15]('Translations.searchResult') + "";
15328
+ let t_value = /*$_*/ ctx[17]('Translations.searchResult') + "";
15328
15329
  let t;
15329
15330
 
15330
15331
  const block = {
@@ -15332,14 +15333,14 @@
15332
15333
  p = element("p");
15333
15334
  t = text(t_value);
15334
15335
  attr_dev(p, "class", "SearchMessage");
15335
- add_location(p, file, 275, 8, 9456);
15336
+ add_location(p, file, 304, 8, 10473);
15336
15337
  },
15337
15338
  m: function mount(target, anchor) {
15338
15339
  insert_dev(target, p, anchor);
15339
15340
  append_dev(p, t);
15340
15341
  },
15341
15342
  p: function update(ctx, dirty) {
15342
- if (dirty[0] & /*$_*/ 32768 && t_value !== (t_value = /*$_*/ ctx[15]('Translations.searchResult') + "")) set_data_dev(t, t_value);
15343
+ if (dirty[0] & /*$_*/ 131072 && t_value !== (t_value = /*$_*/ ctx[17]('Translations.searchResult') + "")) set_data_dev(t, t_value);
15343
15344
  },
15344
15345
  d: function destroy(detaching) {
15345
15346
  if (detaching) detach_dev(p);
@@ -15350,17 +15351,17 @@
15350
15351
  block,
15351
15352
  id: create_if_block_5.name,
15352
15353
  type: "if",
15353
- source: "(275:40) ",
15354
+ source: "(304:40) ",
15354
15355
  ctx
15355
15356
  });
15356
15357
 
15357
15358
  return block;
15358
15359
  }
15359
15360
 
15360
- // (268:6) {#if searchActive == true && searchValue.length < 2}
15361
+ // (297:6) {#if searchActive == true && searchValue.length < 2}
15361
15362
  function create_if_block_3(ctx) {
15362
15363
  let p;
15363
- let t0_value = /*$_*/ ctx[15]('Translations.recentSearch') + "";
15364
+ let t0_value = /*$_*/ ctx[17]('Translations.recentSearch') + "";
15364
15365
  let t0;
15365
15366
  let t1;
15366
15367
  let if_block_anchor;
@@ -15374,7 +15375,7 @@
15374
15375
  if (if_block) if_block.c();
15375
15376
  if_block_anchor = empty();
15376
15377
  attr_dev(p, "class", "SearchMessage");
15377
- add_location(p, file, 268, 8, 9145);
15378
+ add_location(p, file, 297, 8, 10162);
15378
15379
  },
15379
15380
  m: function mount(target, anchor) {
15380
15381
  insert_dev(target, p, anchor);
@@ -15384,7 +15385,7 @@
15384
15385
  insert_dev(target, if_block_anchor, anchor);
15385
15386
  },
15386
15387
  p: function update(ctx, dirty) {
15387
- if (dirty[0] & /*$_*/ 32768 && t0_value !== (t0_value = /*$_*/ ctx[15]('Translations.recentSearch') + "")) set_data_dev(t0, t0_value);
15388
+ if (dirty[0] & /*$_*/ 131072 && t0_value !== (t0_value = /*$_*/ ctx[17]('Translations.recentSearch') + "")) set_data_dev(t0, t0_value);
15388
15389
 
15389
15390
  if (/*searchArray*/ ctx[11].length == 0) {
15390
15391
  if (if_block) {
@@ -15411,18 +15412,18 @@
15411
15412
  block,
15412
15413
  id: create_if_block_3.name,
15413
15414
  type: "if",
15414
- source: "(268:6) {#if searchActive == true && searchValue.length < 2}",
15415
+ source: "(297:6) {#if searchActive == true && searchValue.length < 2}",
15415
15416
  ctx
15416
15417
  });
15417
15418
 
15418
15419
  return block;
15419
15420
  }
15420
15421
 
15421
- // (270:10) {#if searchArray.length == 0}
15422
+ // (299:10) {#if searchArray.length == 0}
15422
15423
  function create_if_block_4(ctx) {
15423
15424
  let div;
15424
15425
  let p;
15425
- let t_value = /*$_*/ ctx[15]('Translations.noRecentSearches') + "";
15426
+ let t_value = /*$_*/ ctx[17]('Translations.noRecentSearches') + "";
15426
15427
  let t;
15427
15428
 
15428
15429
  const block = {
@@ -15431,9 +15432,9 @@
15431
15432
  p = element("p");
15432
15433
  t = text(t_value);
15433
15434
  attr_dev(p, "class", "SearchMessage");
15434
- add_location(p, file, 271, 12, 9306);
15435
+ add_location(p, file, 300, 12, 10323);
15435
15436
  attr_dev(div, "class", "ResultsContainerError");
15436
- add_location(div, file, 270, 10, 9258);
15437
+ add_location(div, file, 299, 10, 10275);
15437
15438
  },
15438
15439
  m: function mount(target, anchor) {
15439
15440
  insert_dev(target, div, anchor);
@@ -15441,7 +15442,7 @@
15441
15442
  append_dev(p, t);
15442
15443
  },
15443
15444
  p: function update(ctx, dirty) {
15444
- if (dirty[0] & /*$_*/ 32768 && t_value !== (t_value = /*$_*/ ctx[15]('Translations.noRecentSearches') + "")) set_data_dev(t, t_value);
15445
+ if (dirty[0] & /*$_*/ 131072 && t_value !== (t_value = /*$_*/ ctx[17]('Translations.noRecentSearches') + "")) set_data_dev(t, t_value);
15445
15446
  },
15446
15447
  d: function destroy(detaching) {
15447
15448
  if (detaching) detach_dev(div);
@@ -15452,14 +15453,14 @@
15452
15453
  block,
15453
15454
  id: create_if_block_4.name,
15454
15455
  type: "if",
15455
- source: "(270:10) {#if searchArray.length == 0}",
15456
+ source: "(299:10) {#if searchArray.length == 0}",
15456
15457
  ctx
15457
15458
  });
15458
15459
 
15459
15460
  return block;
15460
15461
  }
15461
15462
 
15462
- // (279:8) {#if searchCancelled === false}
15463
+ // (308:8) {#if searchCancelled === false}
15463
15464
  function create_if_block_2(ctx) {
15464
15465
  let each_1_anchor;
15465
15466
  let each_value = /*searchArray*/ ctx[11];
@@ -15486,7 +15487,7 @@
15486
15487
  insert_dev(target, each_1_anchor, anchor);
15487
15488
  },
15488
15489
  p: function update(ctx, dirty) {
15489
- if (dirty[0] & /*endpoint, showfavorites, lang, searchArray, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/ 2303) {
15490
+ if (dirty[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/ 624895) {
15490
15491
  each_value = /*searchArray*/ ctx[11];
15491
15492
  validate_each_argument(each_value);
15492
15493
  let i;
@@ -15520,21 +15521,21 @@
15520
15521
  block,
15521
15522
  id: create_if_block_2.name,
15522
15523
  type: "if",
15523
- source: "(279:8) {#if searchCancelled === false}",
15524
+ source: "(308:8) {#if searchCancelled === false}",
15524
15525
  ctx
15525
15526
  });
15526
15527
 
15527
15528
  return block;
15528
15529
  }
15529
15530
 
15530
- // (280:10) {#each searchArray as game}
15531
+ // (309:10) {#each searchArray as game}
15531
15532
  function create_each_block(ctx) {
15532
15533
  let casino_game_thumbnail;
15533
15534
  let casino_game_thumbnail_gamethumbnail_value;
15534
15535
  let casino_game_thumbnail_gamename_value;
15535
15536
  let casino_game_thumbnail_gamevendor_value;
15536
15537
  let casino_game_thumbnail_gameisnew_value;
15537
- let casino_game_thumbnail_gamepopularity_value;
15538
+ let casino_game_thumbnail_gametag_value;
15538
15539
  let casino_game_thumbnail_gamecellsize_value;
15539
15540
  let casino_game_thumbnail_gameid_value;
15540
15541
  let casino_game_thumbnail_gamefunmode_value;
@@ -15545,20 +15546,22 @@
15545
15546
  c: function create() {
15546
15547
  casino_game_thumbnail = element("casino-game-thumbnail");
15547
15548
  set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
15549
+ set_custom_element_data(casino_game_thumbnail, "session", /*sessionID*/ ctx[15]);
15550
+ set_custom_element_data(casino_game_thumbnail, "userid", /*playerID*/ ctx[16]);
15548
15551
  set_custom_element_data(casino_game_thumbnail, "favorites", /*showfavorites*/ ctx[7]);
15549
15552
  set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
15550
- set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[45].thumbnail);
15551
- set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[45].name);
15552
- set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[45].vendor.name);
15553
- set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[45].isNew);
15554
- set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[45].popularity);
15555
- set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[45].cellSize);
15556
- set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[45].id);
15557
- set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[45].hasFunMode);
15558
- set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[45].isFavorite);
15559
-
15560
- set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[45].details
15561
- ? /*game*/ ctx[45].launchUrl
15553
+ set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[49].thumbnail);
15554
+ set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[49].name);
15555
+ set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[49].vendor.name);
15556
+ set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[49].isNew);
15557
+ set_custom_element_data(casino_game_thumbnail, "gametag", casino_game_thumbnail_gametag_value = /*game*/ ctx[49].advancedTags?.length > 0 && /*addGameTag*/ ctx[19](/*game*/ ctx[49].advancedTags));
15558
+ set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[49].cellSize);
15559
+ set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[49].id);
15560
+ set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[49].hasFunMode);
15561
+ set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[49].isFavorite);
15562
+
15563
+ set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[49].details
15564
+ ? /*game*/ ctx[49].launchUrl
15562
15565
  : '');
15563
15566
 
15564
15567
  set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[4]);
@@ -15566,7 +15569,7 @@
15566
15569
  set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
15567
15570
  set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
15568
15571
  set_custom_element_data(casino_game_thumbnail, "gamepagemodalurl", /*gamepagemodalurl*/ ctx[6]);
15569
- add_location(casino_game_thumbnail, file, 280, 12, 9707);
15572
+ add_location(casino_game_thumbnail, file, 309, 12, 10724);
15570
15573
  },
15571
15574
  m: function mount(target, anchor) {
15572
15575
  insert_dev(target, casino_game_thumbnail, anchor);
@@ -15576,6 +15579,14 @@
15576
15579
  set_custom_element_data(casino_game_thumbnail, "endpoint", /*endpoint*/ ctx[0]);
15577
15580
  }
15578
15581
 
15582
+ if (dirty[0] & /*sessionID*/ 32768) {
15583
+ set_custom_element_data(casino_game_thumbnail, "session", /*sessionID*/ ctx[15]);
15584
+ }
15585
+
15586
+ if (dirty[0] & /*playerID*/ 65536) {
15587
+ set_custom_element_data(casino_game_thumbnail, "userid", /*playerID*/ ctx[16]);
15588
+ }
15589
+
15579
15590
  if (dirty[0] & /*showfavorites*/ 128) {
15580
15591
  set_custom_element_data(casino_game_thumbnail, "favorites", /*showfavorites*/ ctx[7]);
15581
15592
  }
@@ -15584,44 +15595,44 @@
15584
15595
  set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
15585
15596
  }
15586
15597
 
15587
- if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[45].thumbnail)) {
15598
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[49].thumbnail)) {
15588
15599
  set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
15589
15600
  }
15590
15601
 
15591
- if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[45].name)) {
15602
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[49].name)) {
15592
15603
  set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
15593
15604
  }
15594
15605
 
15595
- if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[45].vendor.name)) {
15606
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[49].vendor.name)) {
15596
15607
  set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
15597
15608
  }
15598
15609
 
15599
- if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[45].isNew)) {
15610
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[49].isNew)) {
15600
15611
  set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
15601
15612
  }
15602
15613
 
15603
- if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamepopularity_value !== (casino_game_thumbnail_gamepopularity_value = /*game*/ ctx[45].popularity)) {
15604
- set_custom_element_data(casino_game_thumbnail, "gamepopularity", casino_game_thumbnail_gamepopularity_value);
15614
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gametag_value !== (casino_game_thumbnail_gametag_value = /*game*/ ctx[49].advancedTags?.length > 0 && /*addGameTag*/ ctx[19](/*game*/ ctx[49].advancedTags))) {
15615
+ set_custom_element_data(casino_game_thumbnail, "gametag", casino_game_thumbnail_gametag_value);
15605
15616
  }
15606
15617
 
15607
- if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[45].cellSize)) {
15618
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[49].cellSize)) {
15608
15619
  set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
15609
15620
  }
15610
15621
 
15611
- if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[45].id)) {
15622
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[49].id)) {
15612
15623
  set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
15613
15624
  }
15614
15625
 
15615
- if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[45].hasFunMode)) {
15626
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[49].hasFunMode)) {
15616
15627
  set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
15617
15628
  }
15618
15629
 
15619
- if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[45].isFavorite)) {
15630
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[49].isFavorite)) {
15620
15631
  set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
15621
15632
  }
15622
15633
 
15623
- if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[45].details
15624
- ? /*game*/ ctx[45].launchUrl
15634
+ if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[49].details
15635
+ ? /*game*/ ctx[49].launchUrl
15625
15636
  : '')) {
15626
15637
  set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value);
15627
15638
  }
@@ -15655,22 +15666,22 @@
15655
15666
  block,
15656
15667
  id: create_each_block.name,
15657
15668
  type: "each",
15658
- source: "(280:10) {#each searchArray as game}",
15669
+ source: "(309:10) {#each searchArray as game}",
15659
15670
  ctx
15660
15671
  });
15661
15672
 
15662
15673
  return block;
15663
15674
  }
15664
15675
 
15665
- // (303:8) {#if searchValue.length >= 2 && searchArray.length == 0}
15676
+ // (334:8) {#if searchValue.length >= 2 && searchArray.length == 0}
15666
15677
  function create_if_block_1(ctx) {
15667
15678
  let div;
15668
15679
  let p0;
15669
- let t0_value = /*$_*/ ctx[15]('Translations.notFound') + "";
15680
+ let t0_value = /*$_*/ ctx[17]('Translations.notFound') + "";
15670
15681
  let t0;
15671
15682
  let t1;
15672
15683
  let p1;
15673
- let t2_value = /*$_*/ ctx[15]('Translations.notFoundText') + "";
15684
+ let t2_value = /*$_*/ ctx[17]('Translations.notFoundText') + "";
15674
15685
  let t2;
15675
15686
 
15676
15687
  const block = {
@@ -15682,10 +15693,10 @@
15682
15693
  p1 = element("p");
15683
15694
  t2 = text(t2_value);
15684
15695
  attr_dev(p0, "class", "SearchMessage");
15685
- add_location(p0, file, 304, 12, 10646);
15686
- add_location(p1, file, 305, 12, 10717);
15696
+ add_location(p0, file, 335, 12, 11773);
15697
+ add_location(p1, file, 336, 12, 11844);
15687
15698
  attr_dev(div, "class", "ResultsContainerError");
15688
- add_location(div, file, 303, 10, 10598);
15699
+ add_location(div, file, 334, 10, 11725);
15689
15700
  },
15690
15701
  m: function mount(target, anchor) {
15691
15702
  insert_dev(target, div, anchor);
@@ -15696,8 +15707,8 @@
15696
15707
  append_dev(p1, t2);
15697
15708
  },
15698
15709
  p: function update(ctx, dirty) {
15699
- if (dirty[0] & /*$_*/ 32768 && t0_value !== (t0_value = /*$_*/ ctx[15]('Translations.notFound') + "")) set_data_dev(t0, t0_value);
15700
- if (dirty[0] & /*$_*/ 32768 && t2_value !== (t2_value = /*$_*/ ctx[15]('Translations.notFoundText') + "")) set_data_dev(t2, t2_value);
15710
+ if (dirty[0] & /*$_*/ 131072 && t0_value !== (t0_value = /*$_*/ ctx[17]('Translations.notFound') + "")) set_data_dev(t0, t0_value);
15711
+ if (dirty[0] & /*$_*/ 131072 && t2_value !== (t2_value = /*$_*/ ctx[17]('Translations.notFoundText') + "")) set_data_dev(t2, t2_value);
15701
15712
  },
15702
15713
  d: function destroy(detaching) {
15703
15714
  if (detaching) detach_dev(div);
@@ -15708,7 +15719,7 @@
15708
15719
  block,
15709
15720
  id: create_if_block_1.name,
15710
15721
  type: "if",
15711
- source: "(303:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
15722
+ source: "(334:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
15712
15723
  ctx
15713
15724
  });
15714
15725
 
@@ -15733,7 +15744,7 @@
15733
15744
  let span_class_value;
15734
15745
  let t2;
15735
15746
  let small;
15736
- let t3_value = /*$_*/ ctx[15]('Translations.cancel') + "";
15747
+ let t3_value = /*$_*/ ctx[17]('Translations.cancel') + "";
15737
15748
  let t3;
15738
15749
  let small_class_value;
15739
15750
  let t4;
@@ -15774,45 +15785,45 @@
15774
15785
  attr_dev(path0, "stroke-linecap", "round");
15775
15786
  attr_dev(path0, "stroke-linejoin", "round");
15776
15787
  attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
15777
- add_location(path0, file, 248, 10, 8001);
15788
+ add_location(path0, file, 277, 10, 9018);
15778
15789
  attr_dev(circle, "cx", "6.5");
15779
15790
  attr_dev(circle, "cy", "6.5");
15780
15791
  attr_dev(circle, "r", "5.75");
15781
15792
  attr_dev(circle, "stroke", "#212121");
15782
15793
  attr_dev(circle, "stroke-width", "1.5");
15783
- add_location(circle, file, 249, 10, 8129);
15794
+ add_location(circle, file, 278, 10, 9146);
15784
15795
  attr_dev(svg0, "width", "14");
15785
15796
  attr_dev(svg0, "height", "15");
15786
15797
  attr_dev(svg0, "fill", "none");
15787
15798
  attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
15788
- add_location(svg0, file, 247, 8, 7915);
15799
+ add_location(svg0, file, 276, 8, 8932);
15789
15800
  attr_dev(div0, "class", "SearchIcon");
15790
- add_location(div0, file, 246, 6, 7882);
15801
+ add_location(div0, file, 275, 6, 8899);
15791
15802
  attr_dev(input, "class", "SearchInput");
15792
15803
  attr_dev(input, "type", "search");
15793
- attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[15]('Translations.placeHolderSearchGames'));
15794
- add_location(input, file, 253, 8, 8274);
15804
+ attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[17]('Translations.placeHolderSearchGames'));
15805
+ add_location(input, file, 282, 8, 9291);
15795
15806
  attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
15796
15807
  attr_dev(path1, "stroke", "#717171");
15797
15808
  attr_dev(path1, "stroke-width", "2");
15798
15809
  attr_dev(path1, "stroke-linecap", "round");
15799
15810
  attr_dev(path1, "stroke-linejoin", "round");
15800
- add_location(path1, file, 256, 12, 8661);
15811
+ add_location(path1, file, 285, 12, 9678);
15801
15812
  attr_dev(svg1, "width", "11");
15802
15813
  attr_dev(svg1, "height", "11");
15803
15814
  attr_dev(svg1, "fill", "none");
15804
15815
  attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
15805
- add_location(svg1, file, 255, 10, 8573);
15816
+ add_location(svg1, file, 284, 10, 9590);
15806
15817
  attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[8].length != 0 ? '' : 'NotVisible'));
15807
- add_location(span, file, 254, 8, 8452);
15818
+ add_location(span, file, 283, 8, 9469);
15808
15819
  attr_dev(div1, "class", "SearchContainer");
15809
- add_location(div1, file, 252, 6, 8236);
15820
+ add_location(div1, file, 281, 6, 9253);
15810
15821
  attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[9] ? 'NotVisible' : ''));
15811
- add_location(small, file, 260, 6, 8837);
15822
+ add_location(small, file, 289, 6, 9854);
15812
15823
  attr_dev(div2, "class", "Search");
15813
- add_location(div2, file, 245, 4, 7855);
15824
+ add_location(div2, file, 274, 4, 8872);
15814
15825
  attr_dev(div3, "class", "CasinoSearch");
15815
- add_location(div3, file, 244, 2, 7789);
15826
+ add_location(div3, file, 273, 2, 8806);
15816
15827
  },
15817
15828
  l: function claim(nodes) {
15818
15829
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -15828,7 +15839,7 @@
15828
15839
  append_dev(div2, div1);
15829
15840
  append_dev(div1, input);
15830
15841
  set_input_value(input, /*searchValue*/ ctx[8]);
15831
- /*input_binding*/ ctx[23](input);
15842
+ /*input_binding*/ ctx[28](input);
15832
15843
  append_dev(div1, t1);
15833
15844
  append_dev(div1, span);
15834
15845
  append_dev(span, svg1);
@@ -15838,21 +15849,21 @@
15838
15849
  append_dev(small, t3);
15839
15850
  append_dev(div3, t4);
15840
15851
  if_block.m(div3, null);
15841
- /*div3_binding*/ ctx[26](div3);
15852
+ /*div3_binding*/ ctx[31](div3);
15842
15853
 
15843
15854
  if (!mounted) {
15844
15855
  dispose = [
15845
- listen_dev(input, "input", /*input_input_handler*/ ctx[22]),
15846
- listen_dev(input, "focus", /*onFocus*/ ctx[16], false, false, false),
15847
- listen_dev(span, "click", /*click_handler*/ ctx[24], false, false, false),
15848
- listen_dev(small, "click", /*click_handler_1*/ ctx[25], false, false, false)
15856
+ listen_dev(input, "input", /*input_input_handler*/ ctx[27]),
15857
+ listen_dev(input, "focus", /*onFocus*/ ctx[18], false, false, false),
15858
+ listen_dev(span, "click", /*click_handler*/ ctx[29], false, false, false),
15859
+ listen_dev(small, "click", /*click_handler_1*/ ctx[30], false, false, false)
15849
15860
  ];
15850
15861
 
15851
15862
  mounted = true;
15852
15863
  }
15853
15864
  },
15854
15865
  p: function update(ctx, dirty) {
15855
- if (dirty[0] & /*$_*/ 32768 && input_placeholder_value !== (input_placeholder_value = /*$_*/ ctx[15]('Translations.placeHolderSearchGames'))) {
15866
+ if (dirty[0] & /*$_*/ 131072 && input_placeholder_value !== (input_placeholder_value = /*$_*/ ctx[17]('Translations.placeHolderSearchGames'))) {
15856
15867
  attr_dev(input, "placeholder", input_placeholder_value);
15857
15868
  }
15858
15869
 
@@ -15864,7 +15875,7 @@
15864
15875
  attr_dev(span, "class", span_class_value);
15865
15876
  }
15866
15877
 
15867
- if (dirty[0] & /*$_*/ 32768 && t3_value !== (t3_value = /*$_*/ ctx[15]('Translations.cancel') + "")) set_data_dev(t3, t3_value);
15878
+ if (dirty[0] & /*$_*/ 131072 && t3_value !== (t3_value = /*$_*/ ctx[17]('Translations.cancel') + "")) set_data_dev(t3, t3_value);
15868
15879
 
15869
15880
  if (dirty[0] & /*searchCancelled*/ 512 && small_class_value !== (small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[9] ? 'NotVisible' : ''))) {
15870
15881
  attr_dev(small, "class", small_class_value);
@@ -15886,9 +15897,9 @@
15886
15897
  o: noop$1,
15887
15898
  d: function destroy(detaching) {
15888
15899
  if (detaching) detach_dev(div3);
15889
- /*input_binding*/ ctx[23](null);
15900
+ /*input_binding*/ ctx[28](null);
15890
15901
  if_block.d();
15891
- /*div3_binding*/ ctx[26](null);
15902
+ /*div3_binding*/ ctx[31](null);
15892
15903
  mounted = false;
15893
15904
  run_all(dispose);
15894
15905
  }
@@ -15908,18 +15919,20 @@
15908
15919
  function instance($$self, $$props, $$invalidate) {
15909
15920
  let $_;
15910
15921
  validate_store(Y, '_');
15911
- component_subscribe($$self, Y, $$value => $$invalidate(15, $_ = $$value));
15922
+ component_subscribe($$self, Y, $$value => $$invalidate(17, $_ = $$value));
15912
15923
  let { $$slots: slots = {}, $$scope } = $$props;
15913
15924
  validate_slots('undefined', slots, []);
15914
15925
  let { endpoint = '' } = $$props;
15915
15926
  let { datasource = '' } = $$props;
15927
+ let { session = '' } = $$props;
15928
+ let { userid = '' } = $$props;
15916
15929
  let { lang = 'en' } = $$props;
15917
15930
  let { clientstyling = '' } = $$props;
15918
15931
  let { clientstylingurl = '' } = $$props;
15919
15932
  let { integratedgameframedesktop = 'false' } = $$props;
15920
15933
  let { integratedgameframemobile = 'false' } = $$props;
15921
15934
  let { gamepagemodalurl = 'true' } = $$props;
15922
- let { translationUrl = '' } = $$props;
15935
+ let { translationurl = '' } = $$props;
15923
15936
  let { showfavorites = '' } = $$props;
15924
15937
  let userAgent = window.navigator.userAgent;
15925
15938
  let searchArray = [];
@@ -15937,7 +15950,7 @@
15937
15950
  let favoriteGamesIds = [];
15938
15951
 
15939
15952
  const setTranslationUrl = () => {
15940
- let url = translationUrl;
15953
+ let url = translationurl;
15941
15954
 
15942
15955
  fetch(url).then(res => res.json()).then(res => {
15943
15956
  Object.keys(res).forEach(item => {
@@ -15961,10 +15974,10 @@
15961
15974
  addSearchedItem(e.data.gameId);
15962
15975
  }
15963
15976
 
15964
- if (e.data.type === 'UserSessionID') {
15965
- sessionID = e.data.session;
15966
- playerID = e.data.userid;
15967
- $$invalidate(21, isLoggedIn = true);
15977
+ if (e.data.type == 'UserSessionID') {
15978
+ $$invalidate(15, sessionID = e.data.session);
15979
+ $$invalidate(16, playerID = e.data.userid);
15980
+ $$invalidate(26, isLoggedIn = true);
15968
15981
  }
15969
15982
  };
15970
15983
 
@@ -16063,6 +16076,12 @@
16063
16076
  });
16064
16077
  };
16065
16078
 
16079
+ const setSession = () => {
16080
+ $$invalidate(26, isLoggedIn = true);
16081
+ $$invalidate(15, sessionID = session);
16082
+ $$invalidate(16, playerID = userid);
16083
+ };
16084
+
16066
16085
  const checkFavorite = gameId => {
16067
16086
  if (favoriteGamesIds.findIndex(favGameId => favGameId == gameId) !== -1) {
16068
16087
  return true;
@@ -16071,6 +16090,30 @@
16071
16090
  }
16072
16091
  };
16073
16092
 
16093
+ const addGameTag = tags => {
16094
+ if ((tags === null || tags === void 0 ? void 0 : tags.length) === 0) return '';
16095
+ let tagName;
16096
+ let differenceOfTime = 99999999999;
16097
+ let firstToExpire;
16098
+ const currentDate = new Date(Date.now());
16099
+
16100
+ tags.forEach((tag, index) => {
16101
+ const startDateOfTag = new Date(tag.schedules[0].startTime);
16102
+ const endDateOfTag = new Date(tag.schedules[0].endTime);
16103
+
16104
+ if (moment(endDateOfTag).diff(currentDate) < differenceOfTime) {
16105
+ differenceOfTime = moment(endDateOfTag).diff(currentDate);
16106
+ firstToExpire = index;
16107
+ }
16108
+
16109
+ if (moment(currentDate).isAfter(startDateOfTag) && moment(currentDate).isBefore(endDateOfTag)) {
16110
+ tagName = tags[firstToExpire].name;
16111
+ }
16112
+ });
16113
+
16114
+ return tagName;
16115
+ };
16116
+
16074
16117
  const addSearchedItem = gameID => {
16075
16118
  searchedValues = getCookieValue(`searchedGamesWds_casino`);
16076
16119
 
@@ -16157,13 +16200,15 @@
16157
16200
  const writable_props = [
16158
16201
  'endpoint',
16159
16202
  'datasource',
16203
+ 'session',
16204
+ 'userid',
16160
16205
  'lang',
16161
16206
  'clientstyling',
16162
16207
  'clientstylingurl',
16163
16208
  'integratedgameframedesktop',
16164
16209
  'integratedgameframemobile',
16165
16210
  'gamepagemodalurl',
16166
- 'translationUrl',
16211
+ 'translationurl',
16167
16212
  'showfavorites'
16168
16213
  ];
16169
16214
 
@@ -16195,14 +16240,16 @@
16195
16240
 
16196
16241
  $$self.$$set = $$props => {
16197
16242
  if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
16198
- if ('datasource' in $$props) $$invalidate(19, datasource = $$props.datasource);
16243
+ if ('datasource' in $$props) $$invalidate(22, datasource = $$props.datasource);
16244
+ if ('session' in $$props) $$invalidate(23, session = $$props.session);
16245
+ if ('userid' in $$props) $$invalidate(24, userid = $$props.userid);
16199
16246
  if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
16200
16247
  if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
16201
16248
  if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
16202
16249
  if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
16203
16250
  if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
16204
16251
  if ('gamepagemodalurl' in $$props) $$invalidate(6, gamepagemodalurl = $$props.gamepagemodalurl);
16205
- if ('translationUrl' in $$props) $$invalidate(20, translationUrl = $$props.translationUrl);
16252
+ if ('translationurl' in $$props) $$invalidate(25, translationurl = $$props.translationurl);
16206
16253
  if ('showfavorites' in $$props) $$invalidate(7, showfavorites = $$props.showfavorites);
16207
16254
  };
16208
16255
 
@@ -16213,15 +16260,18 @@
16213
16260
  Translations,
16214
16261
  getDevice,
16215
16262
  onMount,
16263
+ moment,
16216
16264
  endpoint,
16217
16265
  datasource,
16266
+ session,
16267
+ userid,
16218
16268
  lang,
16219
16269
  clientstyling,
16220
16270
  clientstylingurl,
16221
16271
  integratedgameframedesktop,
16222
16272
  integratedgameframemobile,
16223
16273
  gamepagemodalurl,
16224
- translationUrl,
16274
+ translationurl,
16225
16275
  showfavorites,
16226
16276
  userAgent,
16227
16277
  searchArray,
@@ -16243,7 +16293,9 @@
16243
16293
  getGames,
16244
16294
  getGame,
16245
16295
  getFavoriteGames,
16296
+ setSession,
16246
16297
  checkFavorite,
16298
+ addGameTag,
16247
16299
  addSearchedItem,
16248
16300
  getCookieValue,
16249
16301
  cancelSearch,
@@ -16257,16 +16309,18 @@
16257
16309
 
16258
16310
  $$self.$inject_state = $$props => {
16259
16311
  if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
16260
- if ('datasource' in $$props) $$invalidate(19, datasource = $$props.datasource);
16312
+ if ('datasource' in $$props) $$invalidate(22, datasource = $$props.datasource);
16313
+ if ('session' in $$props) $$invalidate(23, session = $$props.session);
16314
+ if ('userid' in $$props) $$invalidate(24, userid = $$props.userid);
16261
16315
  if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
16262
16316
  if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
16263
16317
  if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
16264
16318
  if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
16265
16319
  if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
16266
16320
  if ('gamepagemodalurl' in $$props) $$invalidate(6, gamepagemodalurl = $$props.gamepagemodalurl);
16267
- if ('translationUrl' in $$props) $$invalidate(20, translationUrl = $$props.translationUrl);
16321
+ if ('translationurl' in $$props) $$invalidate(25, translationurl = $$props.translationurl);
16268
16322
  if ('showfavorites' in $$props) $$invalidate(7, showfavorites = $$props.showfavorites);
16269
- if ('userAgent' in $$props) $$invalidate(32, userAgent = $$props.userAgent);
16323
+ if ('userAgent' in $$props) $$invalidate(35, userAgent = $$props.userAgent);
16270
16324
  if ('searchArray' in $$props) $$invalidate(11, searchArray = $$props.searchArray);
16271
16325
  if ('searchedValues' in $$props) searchedValues = $$props.searchedValues;
16272
16326
  if ('gamesCache' in $$props) gamesCache = $$props.gamesCache;
@@ -16276,9 +16330,9 @@
16276
16330
  if ('searchActive' in $$props) $$invalidate(13, searchActive = $$props.searchActive);
16277
16331
  if ('isLoading' in $$props) $$invalidate(14, isLoading = $$props.isLoading);
16278
16332
  if ('customStylingContainer' in $$props) $$invalidate(10, customStylingContainer = $$props.customStylingContainer);
16279
- if ('isLoggedIn' in $$props) $$invalidate(21, isLoggedIn = $$props.isLoggedIn);
16280
- if ('sessionID' in $$props) sessionID = $$props.sessionID;
16281
- if ('playerID' in $$props) playerID = $$props.playerID;
16333
+ if ('isLoggedIn' in $$props) $$invalidate(26, isLoggedIn = $$props.isLoggedIn);
16334
+ if ('sessionID' in $$props) $$invalidate(15, sessionID = $$props.sessionID);
16335
+ if ('playerID' in $$props) $$invalidate(16, playerID = $$props.playerID);
16282
16336
  if ('favoriteGamesIds' in $$props) favoriteGamesIds = $$props.favoriteGamesIds;
16283
16337
  };
16284
16338
 
@@ -16287,7 +16341,7 @@
16287
16341
  }
16288
16342
 
16289
16343
  $$self.$$.update = () => {
16290
- if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 525059) {
16344
+ if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 4195075) {
16291
16345
  if (searchValue.length >= 2) {
16292
16346
  const searchUrl = new URL(`${endpoint}/casino/games`);
16293
16347
  searchUrl.searchParams.append("datasource", datasource);
@@ -16314,11 +16368,15 @@
16314
16368
  lang && setActiveLanguage();
16315
16369
  }
16316
16370
 
16317
- if ($$self.$$.dirty[0] & /*translationUrl*/ 1048576) {
16318
- translationUrl && setTranslationUrl();
16371
+ if ($$self.$$.dirty[0] & /*translationurl*/ 33554432) {
16372
+ translationurl && setTranslationUrl();
16319
16373
  }
16320
16374
 
16321
- if ($$self.$$.dirty[0] & /*showfavorites, isLoggedIn*/ 2097280) {
16375
+ if ($$self.$$.dirty[0] & /*session, userid*/ 25165824) {
16376
+ session && userid && setSession();
16377
+ }
16378
+
16379
+ if ($$self.$$.dirty[0] & /*showfavorites, isLoggedIn*/ 67108992) {
16322
16380
  showfavorites && isLoggedIn && getFavoriteGames();
16323
16381
  }
16324
16382
 
@@ -16347,12 +16405,17 @@
16347
16405
  searchElement,
16348
16406
  searchActive,
16349
16407
  isLoading,
16408
+ sessionID,
16409
+ playerID,
16350
16410
  $_,
16351
16411
  onFocus,
16412
+ addGameTag,
16352
16413
  cancelSearch,
16353
16414
  clearSearch,
16354
16415
  datasource,
16355
- translationUrl,
16416
+ session,
16417
+ userid,
16418
+ translationurl,
16356
16419
  isLoggedIn,
16357
16420
  input_input_handler,
16358
16421
  input_binding,
@@ -16379,14 +16442,16 @@
16379
16442
  safe_not_equal,
16380
16443
  {
16381
16444
  endpoint: 0,
16382
- datasource: 19,
16445
+ datasource: 22,
16446
+ session: 23,
16447
+ userid: 24,
16383
16448
  lang: 1,
16384
16449
  clientstyling: 2,
16385
16450
  clientstylingurl: 3,
16386
16451
  integratedgameframedesktop: 4,
16387
16452
  integratedgameframemobile: 5,
16388
16453
  gamepagemodalurl: 6,
16389
- translationUrl: 20,
16454
+ translationurl: 25,
16390
16455
  showfavorites: 7
16391
16456
  },
16392
16457
  null,
@@ -16409,13 +16474,15 @@
16409
16474
  return [
16410
16475
  "endpoint",
16411
16476
  "datasource",
16477
+ "session",
16478
+ "userid",
16412
16479
  "lang",
16413
16480
  "clientstyling",
16414
16481
  "clientstylingurl",
16415
16482
  "integratedgameframedesktop",
16416
16483
  "integratedgameframemobile",
16417
16484
  "gamepagemodalurl",
16418
- "translationUrl",
16485
+ "translationurl",
16419
16486
  "showfavorites"
16420
16487
  ];
16421
16488
  }
@@ -16430,7 +16497,7 @@
16430
16497
  }
16431
16498
 
16432
16499
  get datasource() {
16433
- return this.$$.ctx[19];
16500
+ return this.$$.ctx[22];
16434
16501
  }
16435
16502
 
16436
16503
  set datasource(datasource) {
@@ -16438,6 +16505,24 @@
16438
16505
  flush();
16439
16506
  }
16440
16507
 
16508
+ get session() {
16509
+ return this.$$.ctx[23];
16510
+ }
16511
+
16512
+ set session(session) {
16513
+ this.$$set({ session });
16514
+ flush();
16515
+ }
16516
+
16517
+ get userid() {
16518
+ return this.$$.ctx[24];
16519
+ }
16520
+
16521
+ set userid(userid) {
16522
+ this.$$set({ userid });
16523
+ flush();
16524
+ }
16525
+
16441
16526
  get lang() {
16442
16527
  return this.$$.ctx[1];
16443
16528
  }
@@ -16492,12 +16577,12 @@
16492
16577
  flush();
16493
16578
  }
16494
16579
 
16495
- get translationUrl() {
16496
- return this.$$.ctx[20];
16580
+ get translationurl() {
16581
+ return this.$$.ctx[25];
16497
16582
  }
16498
16583
 
16499
- set translationUrl(translationUrl) {
16500
- this.$$set({ translationUrl });
16584
+ set translationurl(translationurl) {
16585
+ this.$$set({ translationurl });
16501
16586
  flush();
16502
16587
  }
16503
16588