@everymatrix/casino-search 1.5.2 → 1.5.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.
@@ -15177,7 +15177,7 @@
15177
15177
  return child_ctx;
15178
15178
  }
15179
15179
 
15180
- // (288:4) {:else}
15180
+ // (291:4) {:else}
15181
15181
  function create_else_block(ctx) {
15182
15182
  let t0;
15183
15183
  let div;
@@ -15203,7 +15203,7 @@
15203
15203
  t1 = space();
15204
15204
  if (if_block2) if_block2.c();
15205
15205
  attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[13] == true ? '' : 'NotVisible'));
15206
- add_location(div, file, 298, 6, 10738);
15206
+ add_location(div, file, 301, 6, 10571);
15207
15207
  },
15208
15208
  m: function mount(target, anchor) {
15209
15209
  if (if_block0) if_block0.m(target, anchor);
@@ -15272,14 +15272,14 @@
15272
15272
  block,
15273
15273
  id: create_else_block.name,
15274
15274
  type: "else",
15275
- source: "(288:4) {:else}",
15275
+ source: "(291:4) {:else}",
15276
15276
  ctx
15277
15277
  });
15278
15278
 
15279
15279
  return block;
15280
15280
  }
15281
15281
 
15282
- // (286:4) {#if isLoading}
15282
+ // (289:4) {#if isLoading}
15283
15283
  function create_if_block(ctx) {
15284
15284
  let p;
15285
15285
  let t_value = /*$_*/ ctx[17]('Translations.loading') + "";
@@ -15289,7 +15289,7 @@
15289
15289
  c: function create() {
15290
15290
  p = element("p");
15291
15291
  t = text(t_value);
15292
- add_location(p, file, 286, 6, 10056);
15292
+ add_location(p, file, 289, 6, 10063);
15293
15293
  },
15294
15294
  m: function mount(target, anchor) {
15295
15295
  insert_dev(target, p, anchor);
@@ -15307,14 +15307,14 @@
15307
15307
  block,
15308
15308
  id: create_if_block.name,
15309
15309
  type: "if",
15310
- source: "(286:4) {#if isLoading}",
15310
+ source: "(289:4) {#if isLoading}",
15311
15311
  ctx
15312
15312
  });
15313
15313
 
15314
15314
  return block;
15315
15315
  }
15316
15316
 
15317
- // (296:40)
15317
+ // (299:40)
15318
15318
  function create_if_block_5(ctx) {
15319
15319
  let p;
15320
15320
  let t_value = /*$_*/ ctx[17]('Translations.searchResult') + "";
@@ -15324,12 +15324,8 @@
15324
15324
  c: function create() {
15325
15325
  p = element("p");
15326
15326
  t = text(t_value);
15327
-
15328
- attr_dev(p, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
15329
- ? 'SearchMessage'
15330
- : 'SearchMessagePc');
15331
-
15332
- add_location(p, file, 296, 8, 10598);
15327
+ attr_dev(p, "class", "SearchMessage");
15328
+ add_location(p, file, 299, 8, 10489);
15333
15329
  },
15334
15330
  m: function mount(target, anchor) {
15335
15331
  insert_dev(target, p, anchor);
@@ -15347,14 +15343,14 @@
15347
15343
  block,
15348
15344
  id: create_if_block_5.name,
15349
15345
  type: "if",
15350
- source: "(296:40) ",
15346
+ source: "(299:40) ",
15351
15347
  ctx
15352
15348
  });
15353
15349
 
15354
15350
  return block;
15355
15351
  }
15356
15352
 
15357
- // (289:6) {#if searchActive == true && searchValue.length < 2}
15353
+ // (292:6) {#if searchActive == true && searchValue.length < 2}
15358
15354
  function create_if_block_3(ctx) {
15359
15355
  let p;
15360
15356
  let t0_value = /*$_*/ ctx[17]('Translations.recentSearch') + "";
@@ -15370,12 +15366,8 @@
15370
15366
  t1 = space();
15371
15367
  if (if_block) if_block.c();
15372
15368
  if_block_anchor = empty();
15373
-
15374
- attr_dev(p, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
15375
- ? 'SearchMessage'
15376
- : 'SearchMessagePc');
15377
-
15378
- add_location(p, file, 289, 8, 10171);
15369
+ attr_dev(p, "class", "SearchMessage");
15370
+ add_location(p, file, 292, 8, 10178);
15379
15371
  },
15380
15372
  m: function mount(target, anchor) {
15381
15373
  insert_dev(target, p, anchor);
@@ -15412,14 +15404,14 @@
15412
15404
  block,
15413
15405
  id: create_if_block_3.name,
15414
15406
  type: "if",
15415
- source: "(289:6) {#if searchActive == true && searchValue.length < 2}",
15407
+ source: "(292:6) {#if searchActive == true && searchValue.length < 2}",
15416
15408
  ctx
15417
15409
  });
15418
15410
 
15419
15411
  return block;
15420
15412
  }
15421
15413
 
15422
- // (291:10) {#if searchArray.length == 0}
15414
+ // (294:10) {#if searchArray.length == 0}
15423
15415
  function create_if_block_4(ctx) {
15424
15416
  let div;
15425
15417
  let p;
@@ -15431,14 +15423,10 @@
15431
15423
  div = element("div");
15432
15424
  p = element("p");
15433
15425
  t = text(t_value);
15434
-
15435
- attr_dev(p, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
15436
- ? 'SearchMessage'
15437
- : 'SearchMessagePc');
15438
-
15439
- add_location(p, file, 292, 12, 10390);
15426
+ attr_dev(p, "class", "SearchMessage");
15427
+ add_location(p, file, 295, 12, 10339);
15440
15428
  attr_dev(div, "class", "ResultsContainerError");
15441
- add_location(div, file, 291, 10, 10342);
15429
+ add_location(div, file, 294, 10, 10291);
15442
15430
  },
15443
15431
  m: function mount(target, anchor) {
15444
15432
  insert_dev(target, div, anchor);
@@ -15457,14 +15445,14 @@
15457
15445
  block,
15458
15446
  id: create_if_block_4.name,
15459
15447
  type: "if",
15460
- source: "(291:10) {#if searchArray.length == 0}",
15448
+ source: "(294:10) {#if searchArray.length == 0}",
15461
15449
  ctx
15462
15450
  });
15463
15451
 
15464
15452
  return block;
15465
15453
  }
15466
15454
 
15467
- // (300:8) {#if searchCancelled === false}
15455
+ // (303:8) {#if searchCancelled === false}
15468
15456
  function create_if_block_2(ctx) {
15469
15457
  let each_1_anchor;
15470
15458
  let each_value = /*searchArray*/ ctx[11];
@@ -15525,14 +15513,14 @@
15525
15513
  block,
15526
15514
  id: create_if_block_2.name,
15527
15515
  type: "if",
15528
- source: "(300:8) {#if searchCancelled === false}",
15516
+ source: "(303:8) {#if searchCancelled === false}",
15529
15517
  ctx
15530
15518
  });
15531
15519
 
15532
15520
  return block;
15533
15521
  }
15534
15522
 
15535
- // (301:10) {#each searchArray as game}
15523
+ // (304:10) {#each searchArray as game}
15536
15524
  function create_each_block(ctx) {
15537
15525
  let casino_game_thumbnail;
15538
15526
  let casino_game_thumbnail_gamethumbnail_value;
@@ -15573,7 +15561,7 @@
15573
15561
  set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
15574
15562
  set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
15575
15563
  set_custom_element_data(casino_game_thumbnail, "gamepagemodalurl", /*gamepagemodalurl*/ ctx[6]);
15576
- add_location(casino_game_thumbnail, file, 301, 12, 10907);
15564
+ add_location(casino_game_thumbnail, file, 304, 12, 10740);
15577
15565
  },
15578
15566
  m: function mount(target, anchor) {
15579
15567
  insert_dev(target, casino_game_thumbnail, anchor);
@@ -15670,14 +15658,14 @@
15670
15658
  block,
15671
15659
  id: create_each_block.name,
15672
15660
  type: "each",
15673
- source: "(301:10) {#each searchArray as game}",
15661
+ source: "(304:10) {#each searchArray as game}",
15674
15662
  ctx
15675
15663
  });
15676
15664
 
15677
15665
  return block;
15678
15666
  }
15679
15667
 
15680
- // (326:8) {#if searchValue.length >= 2 && searchArray.length == 0}
15668
+ // (329:8) {#if searchValue.length >= 2 && searchArray.length == 0}
15681
15669
  function create_if_block_1(ctx) {
15682
15670
  let div;
15683
15671
  let p0;
@@ -15696,15 +15684,11 @@
15696
15684
  t1 = space();
15697
15685
  p1 = element("p");
15698
15686
  t2 = text(t2_value);
15699
-
15700
- attr_dev(p0, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
15701
- ? 'SearchMessage'
15702
- : 'SearchMessagePc');
15703
-
15704
- add_location(p0, file, 327, 12, 11956);
15705
- add_location(p1, file, 328, 12, 12085);
15687
+ attr_dev(p0, "class", "SearchMessage");
15688
+ add_location(p0, file, 330, 12, 11789);
15689
+ add_location(p1, file, 331, 12, 11860);
15706
15690
  attr_dev(div, "class", "ResultsContainerError");
15707
- add_location(div, file, 326, 10, 11908);
15691
+ add_location(div, file, 329, 10, 11741);
15708
15692
  },
15709
15693
  m: function mount(target, anchor) {
15710
15694
  insert_dev(target, div, anchor);
@@ -15727,7 +15711,7 @@
15727
15711
  block,
15728
15712
  id: create_if_block_1.name,
15729
15713
  type: "if",
15730
- source: "(326:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
15714
+ source: "(329:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
15731
15715
  ctx
15732
15716
  });
15733
15717
 
@@ -15735,15 +15719,15 @@
15735
15719
  }
15736
15720
 
15737
15721
  function create_fragment(ctx) {
15738
- let div3;
15739
15722
  let div2;
15723
+ let div1;
15740
15724
  let div0;
15741
15725
  let svg0;
15742
15726
  let path0;
15743
15727
  let circle;
15744
15728
  let t0;
15745
- let div1;
15746
15729
  let input;
15730
+ let input_class_value;
15747
15731
  let input_placeholder_value;
15748
15732
  let t1;
15749
15733
  let span;
@@ -15769,14 +15753,13 @@
15769
15753
 
15770
15754
  const block = {
15771
15755
  c: function create() {
15772
- div3 = element("div");
15773
15756
  div2 = element("div");
15757
+ div1 = element("div");
15774
15758
  div0 = element("div");
15775
15759
  svg0 = svg_element("svg");
15776
15760
  path0 = svg_element("path");
15777
15761
  circle = svg_element("circle");
15778
15762
  t0 = space();
15779
- div1 = element("div");
15780
15763
  input = element("input");
15781
15764
  t1 = space();
15782
15765
  span = element("span");
@@ -15793,74 +15776,59 @@
15793
15776
  attr_dev(path0, "stroke-linecap", "round");
15794
15777
  attr_dev(path0, "stroke-linejoin", "round");
15795
15778
  attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
15796
- add_location(path0, file, 269, 10, 8967);
15779
+ add_location(path0, file, 274, 10, 9040);
15797
15780
  attr_dev(circle, "cx", "6.5");
15798
15781
  attr_dev(circle, "cy", "6.5");
15799
15782
  attr_dev(circle, "r", "5.75");
15800
15783
  attr_dev(circle, "stroke", "#212121");
15801
15784
  attr_dev(circle, "stroke-width", "1.5");
15802
- add_location(circle, file, 270, 10, 9095);
15785
+ add_location(circle, file, 275, 10, 9168);
15803
15786
  attr_dev(svg0, "width", "14");
15804
15787
  attr_dev(svg0, "height", "15");
15805
15788
  attr_dev(svg0, "fill", "none");
15806
15789
  attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
15807
- add_location(svg0, file, 268, 8, 8881);
15808
-
15809
- attr_dev(div0, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
15810
- ? 'SearchIcon'
15811
- : 'SearchIconPc');
15812
-
15813
- add_location(div0, file, 267, 6, 8793);
15814
- attr_dev(input, "class", "SearchInput");
15790
+ add_location(svg0, file, 273, 8, 8954);
15791
+ attr_dev(div0, "class", "SearchIcon");
15792
+ add_location(div0, file, 272, 6, 8921);
15793
+ attr_dev(input, "class", input_class_value = "SearchInput " + (/*searchCancelled*/ ctx[9] ? '' : 'SearchAnimation'));
15815
15794
  attr_dev(input, "type", "search");
15816
15795
  attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[17]('Translations.placeHolderSearchGames'));
15817
- add_location(input, file, 274, 8, 9300);
15796
+ add_location(input, file, 278, 8, 9277);
15818
15797
  attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
15819
15798
  attr_dev(path1, "stroke", "#717171");
15820
15799
  attr_dev(path1, "stroke-width", "2");
15821
15800
  attr_dev(path1, "stroke-linecap", "round");
15822
15801
  attr_dev(path1, "stroke-linejoin", "round");
15823
- add_location(path1, file, 277, 12, 9687);
15802
+ add_location(path1, file, 281, 12, 9707);
15824
15803
  attr_dev(svg1, "width", "11");
15825
15804
  attr_dev(svg1, "height", "11");
15826
15805
  attr_dev(svg1, "fill", "none");
15827
15806
  attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
15828
- add_location(svg1, file, 276, 10, 9599);
15807
+ add_location(svg1, file, 280, 10, 9619);
15829
15808
  attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[8].length != 0 ? '' : 'NotVisible'));
15830
- add_location(span, file, 275, 8, 9478);
15831
-
15832
- attr_dev(div1, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
15833
- ? 'SearchContainer'
15834
- : 'SearchContainerPc');
15835
-
15836
- add_location(div1, file, 273, 6, 9202);
15809
+ add_location(span, file, 279, 8, 9498);
15837
15810
  attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[9] ? 'NotVisible' : ''));
15838
- add_location(small, file, 281, 6, 9863);
15839
-
15840
- attr_dev(div2, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
15841
- ? 'Search'
15842
- : 'SearchPc');
15843
-
15844
- add_location(div2, file, 266, 4, 8715);
15811
+ add_location(small, file, 284, 6, 9870);
15812
+ attr_dev(div1, "class", "Search");
15813
+ add_location(div1, file, 271, 4, 8894);
15845
15814
 
15846
- attr_dev(div3, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
15847
- ? 'CasinoSearch'
15848
- : 'CasinoSearchPc');
15815
+ attr_dev(div2, "class", "" + ((getDevice(/*userAgent*/ ctx[18]) !== 'PC'
15816
+ ? ''
15817
+ : 'Desktop') + " CasinoSearch"));
15849
15818
 
15850
- add_location(div3, file, 265, 2, 8592);
15819
+ add_location(div2, file, 270, 2, 8777);
15851
15820
  },
15852
15821
  l: function claim(nodes) {
15853
15822
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
15854
15823
  },
15855
15824
  m: function mount(target, anchor) {
15856
- insert_dev(target, div3, anchor);
15857
- append_dev(div3, div2);
15858
- append_dev(div2, div0);
15825
+ insert_dev(target, div2, anchor);
15826
+ append_dev(div2, div1);
15827
+ append_dev(div1, div0);
15859
15828
  append_dev(div0, svg0);
15860
15829
  append_dev(svg0, path0);
15861
15830
  append_dev(svg0, circle);
15862
- append_dev(div2, t0);
15863
- append_dev(div2, div1);
15831
+ append_dev(div1, t0);
15864
15832
  append_dev(div1, input);
15865
15833
  set_input_value(input, /*searchValue*/ ctx[8]);
15866
15834
  /*input_binding*/ ctx[29](input);
@@ -15868,12 +15836,12 @@
15868
15836
  append_dev(div1, span);
15869
15837
  append_dev(span, svg1);
15870
15838
  append_dev(svg1, path1);
15871
- append_dev(div2, t2);
15872
- append_dev(div2, small);
15839
+ append_dev(div1, t2);
15840
+ append_dev(div1, small);
15873
15841
  append_dev(small, t3);
15874
- append_dev(div3, t4);
15875
- if_block.m(div3, null);
15876
- /*div3_binding*/ ctx[32](div3);
15842
+ append_dev(div2, t4);
15843
+ if_block.m(div2, null);
15844
+ /*div2_binding*/ ctx[32](div2);
15877
15845
 
15878
15846
  if (!mounted) {
15879
15847
  dispose = [
@@ -15887,6 +15855,10 @@
15887
15855
  }
15888
15856
  },
15889
15857
  p: function update(ctx, dirty) {
15858
+ if (dirty[0] & /*searchCancelled*/ 512 && input_class_value !== (input_class_value = "SearchInput " + (/*searchCancelled*/ ctx[9] ? '' : 'SearchAnimation'))) {
15859
+ attr_dev(input, "class", input_class_value);
15860
+ }
15861
+
15890
15862
  if (dirty[0] & /*$_*/ 131072 && input_placeholder_value !== (input_placeholder_value = /*$_*/ ctx[17]('Translations.placeHolderSearchGames'))) {
15891
15863
  attr_dev(input, "placeholder", input_placeholder_value);
15892
15864
  }
@@ -15913,17 +15885,17 @@
15913
15885
 
15914
15886
  if (if_block) {
15915
15887
  if_block.c();
15916
- if_block.m(div3, null);
15888
+ if_block.m(div2, null);
15917
15889
  }
15918
15890
  }
15919
15891
  },
15920
15892
  i: noop$1,
15921
15893
  o: noop$1,
15922
15894
  d: function destroy(detaching) {
15923
- if (detaching) detach_dev(div3);
15895
+ if (detaching) detach_dev(div2);
15924
15896
  /*input_binding*/ ctx[29](null);
15925
15897
  if_block.d();
15926
- /*div3_binding*/ ctx[32](null);
15898
+ /*div2_binding*/ ctx[32](null);
15927
15899
  mounted = false;
15928
15900
  run_all(dispose);
15929
15901
  }
@@ -16029,6 +16001,10 @@
16029
16001
  }
16030
16002
 
16031
16003
  Promise.all(promises).then(res => {
16004
+ res = res.filter(function (element) {
16005
+ return !!element;
16006
+ });
16007
+
16032
16008
  $$invalidate(11, searchArray = res.map(item => {
16033
16009
  item.isFavorite = checkFavorite(item.id);
16034
16010
  return item;
@@ -16071,7 +16047,11 @@
16071
16047
  } else {
16072
16048
  fetch(url).then(fetchRes => fetchRes.json()).then(gameData => {
16073
16049
  $$invalidate(14, isLoading = false);
16074
- gamesCache[gameData[0].gameId] = gameData[0];
16050
+
16051
+ if (!gameData.error) {
16052
+ gamesCache[gameData[0].gameId] = gameData[0];
16053
+ }
16054
+
16075
16055
  resolve(gameData[0]);
16076
16056
  }).catch(err => {
16077
16057
  $$invalidate(14, isLoading = false);
@@ -16244,7 +16224,7 @@
16244
16224
  const click_handler = () => clearSearch();
16245
16225
  const click_handler_1 = () => cancelSearch();
16246
16226
 
16247
- function div3_binding($$value) {
16227
+ function div2_binding($$value) {
16248
16228
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
16249
16229
  customStylingContainer = $$value;
16250
16230
  $$invalidate(10, customStylingContainer);
@@ -16434,14 +16414,14 @@
16434
16414
  input_binding,
16435
16415
  click_handler,
16436
16416
  click_handler_1,
16437
- div3_binding
16417
+ div2_binding
16438
16418
  ];
16439
16419
  }
16440
16420
 
16441
16421
  class CasinoSearch extends SvelteElement {
16442
16422
  constructor(options) {
16443
16423
  super();
16444
- this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoSearchPc{margin:30px 16px}.CasinoSearch{margin:30px 16px}.SearchPc{display:flex;align-items:center;position:relative;margin-bottom:20px;left:19%}.Search{display:flex;align-items:center;position:relative;justify-content:space-between;margin-bottom:20px}.SearchIconPc{position:absolute;left:20px;z-index:1}.SearchIconPc svg{height:14px;width:13px}.SearchIcon{position:absolute;left:5%;z-index:1}.SearchIcon svg{height:14px;width:13px}.SearchContainerPc{width:60%;position:relative}.SearchContainer{width:100%;position:relative}.SearchInput{border-radius:4px;border:1px solid #cacaca;color:#717171;display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:#717171;font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid #d9d7d7}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:15px;cursor:pointer}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px;cursor:pointer}.SearchMessagePc{font-size:18px;font-weight:600;margin:24px 0;color:#FFFFFF;margin-top:90px}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:#212121}.SearchResultsContainer{display:grid;gap:8px;grid-template-columns:repeat(auto-fill, minmax(min(167px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 167px);grid-auto-rows:167px;grid-auto-columns:167px;grid-auto-flow:row dense}.ResultsContainerError{text-align:center;width:300px;color:#717171;font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.NotVisible{display:none}</style>`;
16424
+ this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoSearch{margin:30px 16px}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid #cacaca;color:#717171;display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:#717171;font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid #d9d7d7}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:#212121}.SearchResultsContainer{display:grid;gap:8px;grid-template-columns:repeat(auto-fill, minmax(min(167px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 167px);grid-auto-rows:167px;grid-auto-columns:167px;grid-auto-flow:row dense}.ResultsContainerError{text-align:center;width:300px;color:#717171;font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop.CasinoSearch{margin:30px 16px}.Desktop .Search{display:flex;align-items:center;justify-content:center}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchInput{width:50%;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03);margin-left:20px}.Desktop .SearchAnimation{width:60%;outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}</style>`;
16445
16425
 
16446
16426
  init(
16447
16427
  this,