@everymatrix/casino-page 0.0.160 → 0.0.164

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.
@@ -9096,17 +9096,17 @@
9096
9096
 
9097
9097
  function get_each_context(ctx, list, i) {
9098
9098
  const child_ctx = ctx.slice();
9099
- child_ctx[110] = list[i];
9100
- child_ctx[112] = i;
9099
+ child_ctx[111] = list[i];
9100
+ child_ctx[113] = i;
9101
9101
  return child_ctx;
9102
9102
  }
9103
9103
 
9104
- // (655:0) {:else}
9104
+ // (657:0) {:else}
9105
9105
  function create_else_block(ctx) {
9106
9106
  let section;
9107
- let show_if_1 = getDevice(/*userAgent*/ ctx[35]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[30];
9107
+ let show_if_1 = getDevice(/*userAgent*/ ctx[36]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[31];
9108
9108
  let t0;
9109
- let show_if = !/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && /*numberOfFilters*/ ctx[31] && getDevice(/*userAgent*/ ctx[35]) !== "PC";
9109
+ let show_if = !/*favoritesScreen*/ ctx[18] && !/*lobbyScreen*/ ctx[22] && !/*mobileSearchViewActive*/ ctx[31] && /*numberOfFilters*/ ctx[32] && getDevice(/*userAgent*/ ctx[36]) !== "PC";
9110
9110
  let t1;
9111
9111
  let t2;
9112
9112
  let t3;
@@ -9122,17 +9122,17 @@
9122
9122
  let if_block2 = current_block_type(ctx);
9123
9123
 
9124
9124
  function select_block_type_2(ctx, dirty) {
9125
- if (/*isLoading*/ ctx[12]) return create_if_block_2;
9126
- if (/*searched*/ ctx[19]) return create_if_block_3;
9127
- if (/*lobbyScreen*/ ctx[21]) return create_if_block_4;
9128
- if (/*favoritesScreen*/ ctx[17]) return create_if_block_5;
9129
- if (/*mostPlayedScreen*/ ctx[22]) return create_if_block_6;
9130
- if (!/*recentSearches*/ ctx[18]) return create_if_block_8;
9125
+ if (/*isLoading*/ ctx[13]) return create_if_block_2;
9126
+ if (/*searched*/ ctx[20]) return create_if_block_3;
9127
+ if (/*lobbyScreen*/ ctx[22]) return create_if_block_4;
9128
+ if (/*favoritesScreen*/ ctx[18]) return create_if_block_5;
9129
+ if (/*mostPlayedScreen*/ ctx[23]) return create_if_block_6;
9130
+ if (!/*recentSearches*/ ctx[19]) return create_if_block_8;
9131
9131
  }
9132
9132
 
9133
9133
  let current_block_type_1 = select_block_type_2(ctx);
9134
9134
  let if_block3 = current_block_type_1 && current_block_type_1(ctx);
9135
- let if_block4 = /*isLoggedIn*/ ctx[14] && create_if_block_1(ctx);
9135
+ let if_block4 = /*isLoggedIn*/ ctx[15] && /*haspanicbutton*/ ctx[11] === "true" && create_if_block_1(ctx);
9136
9136
 
9137
9137
  const block = {
9138
9138
  c: function create() {
@@ -9148,7 +9148,7 @@
9148
9148
  if (if_block4) if_block4.c();
9149
9149
  attr_dev(section, "class", "CategoriesLobby");
9150
9150
  set_style(section, "max-width", /*containermaxwidth*/ ctx[10] + "px");
9151
- add_location(section, file, 655, 2, 22522);
9151
+ add_location(section, file, 657, 2, 22600);
9152
9152
  },
9153
9153
  m: function mount(target, anchor) {
9154
9154
  insert_dev(target, section, anchor);
@@ -9161,10 +9161,10 @@
9161
9161
  if (if_block3) if_block3.m(section, null);
9162
9162
  append_dev(section, t3);
9163
9163
  if (if_block4) if_block4.m(section, null);
9164
- /*section_binding*/ ctx[65](section);
9164
+ /*section_binding*/ ctx[66](section);
9165
9165
  },
9166
9166
  p: function update(ctx, dirty) {
9167
- if (dirty[0] & /*alternativesearch, mobileSearchViewActive*/ 1073742080) show_if_1 = getDevice(/*userAgent*/ ctx[35]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[30];
9167
+ if (dirty[0] & /*alternativesearch*/ 256 | dirty[1] & /*mobileSearchViewActive*/ 1) show_if_1 = getDevice(/*userAgent*/ ctx[36]) !== "PC" && /*alternativesearch*/ ctx[8] === "false" && /*mobileSearchViewActive*/ ctx[31];
9168
9168
 
9169
9169
  if (show_if_1) {
9170
9170
  if (if_block0) ; else {
@@ -9177,7 +9177,7 @@
9177
9177
  if_block0 = null;
9178
9178
  }
9179
9179
 
9180
- if (dirty[0] & /*favoritesScreen, lobbyScreen, mobileSearchViewActive*/ 1075970048 | dirty[1] & /*numberOfFilters*/ 1) show_if = !/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && /*numberOfFilters*/ ctx[31] && getDevice(/*userAgent*/ ctx[35]) !== "PC";
9180
+ if (dirty[0] & /*favoritesScreen, lobbyScreen*/ 4456448 | dirty[1] & /*mobileSearchViewActive, numberOfFilters*/ 3) show_if = !/*favoritesScreen*/ ctx[18] && !/*lobbyScreen*/ ctx[22] && !/*mobileSearchViewActive*/ ctx[31] && /*numberOfFilters*/ ctx[32] && getDevice(/*userAgent*/ ctx[36]) !== "PC";
9181
9181
 
9182
9182
  if (show_if) {
9183
9183
  if (if_block1) {
@@ -9216,7 +9216,7 @@
9216
9216
  }
9217
9217
  }
9218
9218
 
9219
- if (/*isLoggedIn*/ ctx[14]) {
9219
+ if (/*isLoggedIn*/ ctx[15] && /*haspanicbutton*/ ctx[11] === "true") {
9220
9220
  if (if_block4) {
9221
9221
  if_block4.p(ctx, dirty);
9222
9222
  } else {
@@ -9244,7 +9244,7 @@
9244
9244
  }
9245
9245
 
9246
9246
  if (if_block4) if_block4.d();
9247
- /*section_binding*/ ctx[65](null);
9247
+ /*section_binding*/ ctx[66](null);
9248
9248
  }
9249
9249
  };
9250
9250
 
@@ -9252,14 +9252,14 @@
9252
9252
  block,
9253
9253
  id: create_else_block.name,
9254
9254
  type: "else",
9255
- source: "(655:0) {:else}",
9255
+ source: "(657:0) {:else}",
9256
9256
  ctx
9257
9257
  });
9258
9258
 
9259
9259
  return block;
9260
9260
  }
9261
9261
 
9262
- // (653:0) {#if hasErrors}
9262
+ // (655:0) {#if hasErrors}
9263
9263
  function create_if_block(ctx) {
9264
9264
  let p;
9265
9265
 
@@ -9268,7 +9268,7 @@
9268
9268
  p = element("p");
9269
9269
  p.textContent = "500 Error - Internal Server Error";
9270
9270
  attr_dev(p, "class", "SearchLoading");
9271
- add_location(p, file, 653, 2, 22449);
9271
+ add_location(p, file, 655, 2, 22527);
9272
9272
  },
9273
9273
  m: function mount(target, anchor) {
9274
9274
  insert_dev(target, p, anchor);
@@ -9283,14 +9283,14 @@
9283
9283
  block,
9284
9284
  id: create_if_block.name,
9285
9285
  type: "if",
9286
- source: "(653:0) {#if hasErrors}",
9286
+ source: "(655:0) {#if hasErrors}",
9287
9287
  ctx
9288
9288
  });
9289
9289
 
9290
9290
  return block;
9291
9291
  }
9292
9292
 
9293
- // (657:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}
9293
+ // (659:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}
9294
9294
  function create_if_block_23(ctx) {
9295
9295
  let div;
9296
9296
 
@@ -9298,7 +9298,7 @@
9298
9298
  c: function create() {
9299
9299
  div = element("div");
9300
9300
  attr_dev(div, "class", "SearchBarPlaceholder");
9301
- add_location(div, file, 657, 6, 22742);
9301
+ add_location(div, file, 659, 6, 22820);
9302
9302
  },
9303
9303
  m: function mount(target, anchor) {
9304
9304
  insert_dev(target, div, anchor);
@@ -9312,14 +9312,14 @@
9312
9312
  block,
9313
9313
  id: create_if_block_23.name,
9314
9314
  type: "if",
9315
- source: "(657:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}",
9315
+ source: "(659:4) {#if (getDevice(userAgent) !== 'PC') && (alternativesearch === 'false') && mobileSearchViewActive}",
9316
9316
  ctx
9317
9317
  });
9318
9318
 
9319
9319
  return block;
9320
9320
  }
9321
9321
 
9322
- // (660:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}
9322
+ // (662:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}
9323
9323
  function create_if_block_22(ctx) {
9324
9324
  let div1;
9325
9325
  let div0;
@@ -9340,7 +9340,7 @@
9340
9340
  polygon = svg_element("polygon");
9341
9341
  set_style(polygon, "fill", "#FD2839");
9342
9342
  attr_dev(polygon, "points", "378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 ");
9343
- add_location(polygon, file, 665, 14, 23346);
9343
+ add_location(polygon, file, 667, 14, 23424);
9344
9344
  attr_dev(svg, "version", "1.1");
9345
9345
  attr_dev(svg, "id", "Layer_1");
9346
9346
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
@@ -9350,13 +9350,13 @@
9350
9350
  attr_dev(svg, "viewBox", "0 0 378.303 378.303");
9351
9351
  set_style(svg, "enable-background", "new 0 0 378.303 378.303");
9352
9352
  attr_dev(svg, "xml:space", "preserve");
9353
- add_location(svg, file, 663, 12, 23091);
9353
+ add_location(svg, file, 665, 12, 23169);
9354
9354
  attr_dev(span, "class", "ClearIcon");
9355
- add_location(span, file, 662, 10, 23054);
9355
+ add_location(span, file, 664, 10, 23132);
9356
9356
  attr_dev(div0, "class", "ClearButton");
9357
- add_location(div0, file, 661, 8, 23013);
9357
+ add_location(div0, file, 663, 8, 23091);
9358
9358
  attr_dev(div1, "class", "ClearFilterMobileButtonWrapper");
9359
- add_location(div1, file, 660, 6, 22921);
9359
+ add_location(div1, file, 662, 6, 22999);
9360
9360
  },
9361
9361
  m: function mount(target, anchor) {
9362
9362
  insert_dev(target, div1, anchor);
@@ -9367,7 +9367,7 @@
9367
9367
  append_dev(svg, polygon);
9368
9368
 
9369
9369
  if (!mounted) {
9370
- dispose = listen_dev(div1, "click", /*click_handler*/ ctx[51], false, false, false);
9370
+ dispose = listen_dev(div1, "click", /*click_handler*/ ctx[52], false, false, false);
9371
9371
  mounted = true;
9372
9372
  }
9373
9373
  },
@@ -9383,14 +9383,14 @@
9383
9383
  block,
9384
9384
  id: create_if_block_22.name,
9385
9385
  type: "if",
9386
- source: "(660:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}",
9386
+ source: "(662:4) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && numberOfFilters && getDevice(userAgent) !== 'PC'}",
9387
9387
  ctx
9388
9388
  });
9389
9389
 
9390
9390
  return block;
9391
9391
  }
9392
9392
 
9393
- // (731:4) {:else}
9393
+ // (733:4) {:else}
9394
9394
  function create_else_block_2(ctx) {
9395
9395
  let div2;
9396
9396
  let div1;
@@ -9401,15 +9401,15 @@
9401
9401
  let input;
9402
9402
  let input_placeholder_value;
9403
9403
  let t3;
9404
- let show_if = getDevice(/*userAgent*/ ctx[35]) === "PC" && /*searchValue*/ ctx[11].length || getDevice(/*userAgent*/ ctx[35]) !== "PC";
9404
+ let show_if = getDevice(/*userAgent*/ ctx[36]) === "PC" && /*searchValue*/ ctx[12].length || getDevice(/*userAgent*/ ctx[36]) !== "PC";
9405
9405
  let div1_class_value;
9406
9406
  let t4;
9407
9407
  let div2_class_value;
9408
9408
  let mounted;
9409
9409
  let dispose;
9410
- let if_block0 = !/*mobileSearchViewActive*/ ctx[30] && create_if_block_21(ctx);
9410
+ let if_block0 = !/*mobileSearchViewActive*/ ctx[31] && create_if_block_21(ctx);
9411
9411
  let if_block1 = show_if && create_if_block_20(ctx);
9412
- let if_block2 = !/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && !/*mostPlayedScreen*/ ctx[22] && !/*recentSearches*/ ctx[18] && !/*searched*/ ctx[19] && !/*lobbyViewAux*/ ctx[20] && create_if_block_16(ctx);
9412
+ let if_block2 = !/*favoritesScreen*/ ctx[18] && !/*lobbyScreen*/ ctx[22] && !/*mobileSearchViewActive*/ ctx[31] && !/*mostPlayedScreen*/ ctx[23] && !/*recentSearches*/ ctx[19] && !/*searched*/ ctx[20] && !/*lobbyViewAux*/ ctx[21] && create_if_block_16(ctx);
9413
9413
 
9414
9414
  const block = {
9415
9415
  c: function create() {
@@ -9428,40 +9428,40 @@
9428
9428
  if (if_block2) if_block2.c();
9429
9429
  attr_dev(label, "for", "search");
9430
9430
  attr_dev(label, "class", "SrOnly");
9431
- add_location(label, file, 735, 10, 28697);
9431
+ add_location(label, file, 737, 10, 28775);
9432
9432
  attr_dev(input, "id", "SearchField");
9433
9433
  attr_dev(input, "class", "SearchInput");
9434
9434
 
9435
- attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[35]) === "PC"
9436
- ? /*$_*/ ctx[33]("casinoPage.search")
9437
- : /*$_*/ ctx[33]("casinoPage.searchMobile"));
9435
+ attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[36]) === "PC"
9436
+ ? /*$_*/ ctx[34]("casinoPage.search")
9437
+ : /*$_*/ ctx[34]("casinoPage.searchMobile"));
9438
9438
 
9439
9439
  attr_dev(input, "type", "search");
9440
- add_location(input, file, 744, 12, 29253);
9440
+ add_location(input, file, 746, 12, 29331);
9441
9441
  attr_dev(div0, "class", "SearchWrapper");
9442
- add_location(div0, file, 736, 10, 28770);
9442
+ add_location(div0, file, 738, 10, 28848);
9443
9443
 
9444
- attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[21] && !/*favoritesScreen*/ ctx[17] && !/*mostPlayedScreen*/ ctx[22] && !/*lobbyViewAux*/ ctx[20]
9444
+ attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[22] && !/*favoritesScreen*/ ctx[18] && !/*mostPlayedScreen*/ ctx[23] && !/*lobbyViewAux*/ ctx[21]
9445
9445
  ? "SearchTruncated"
9446
9446
  : ""));
9447
9447
 
9448
- add_location(div1, file, 734, 8, 28555);
9448
+ add_location(div1, file, 736, 8, 28633);
9449
9449
 
9450
- attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[35]) !== "PC"
9450
+ attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[36]) !== "PC"
9451
9451
  ? "CategoriesHeaderMobileSection"
9452
- : "") + " " + (/*mobileSearchViewActive*/ ctx[30]
9452
+ : "") + " " + (/*mobileSearchViewActive*/ ctx[31]
9453
9453
  ? "SearchMobileActive"
9454
- : "") + " " + (/*mobileSearchViewActive*/ ctx[30] || /*searched*/ ctx[19] && !(getDevice(/*userAgent*/ ctx[35]) === "PC") && !/*closeSearch*/ ctx[34]
9454
+ : "") + " " + (/*mobileSearchViewActive*/ ctx[31] || /*searched*/ ctx[20] && !(getDevice(/*userAgent*/ ctx[36]) === "PC") && !/*closeSearch*/ ctx[35]
9455
9455
  ? "CategoriesHeaderSearchActive"
9456
- : "") + (/*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
9456
+ : "") + (/*adjustingScroll*/ ctx[25] && /*mobileSearchViewActive*/ ctx[31]
9457
9457
  ? "SearchStickTop"
9458
9458
  : ""));
9459
9459
 
9460
- set_style(div2, "top", /*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
9460
+ set_style(div2, "top", /*adjustingScroll*/ ctx[25] && /*mobileSearchViewActive*/ ctx[31]
9461
9461
  ? scrollOffset + "px"
9462
9462
  : "");
9463
9463
 
9464
- add_location(div2, file, 732, 6, 28036);
9464
+ add_location(div2, file, 734, 6, 28114);
9465
9465
  },
9466
9466
  m: function mount(target, anchor) {
9467
9467
  insert_dev(target, div2, anchor);
@@ -9472,27 +9472,27 @@
9472
9472
  if (if_block0) if_block0.m(div0, null);
9473
9473
  append_dev(div0, t2);
9474
9474
  append_dev(div0, input);
9475
- /*input_binding_1*/ ctx[58](input);
9476
- set_input_value(input, /*searchValue*/ ctx[11]);
9475
+ /*input_binding_1*/ ctx[59](input);
9476
+ set_input_value(input, /*searchValue*/ ctx[12]);
9477
9477
  append_dev(div0, t3);
9478
9478
  if (if_block1) if_block1.m(div0, null);
9479
9479
  append_dev(div2, t4);
9480
9480
  if (if_block2) if_block2.m(div2, null);
9481
- /*div2_binding_1*/ ctx[63](div2);
9481
+ /*div2_binding_1*/ ctx[64](div2);
9482
9482
 
9483
9483
  if (!mounted) {
9484
9484
  dispose = [
9485
- listen_dev(input, "focus", /*onFocus*/ ctx[37], false, false, false),
9486
- listen_dev(input, "blur", /*onBlur*/ ctx[38], false, false, false),
9487
- listen_dev(input, "input", /*input_input_handler_1*/ ctx[59]),
9488
- listen_dev(input, "focus", /*searchActivated*/ ctx[39], false, false, false)
9485
+ listen_dev(input, "focus", /*onFocus*/ ctx[38], false, false, false),
9486
+ listen_dev(input, "blur", /*onBlur*/ ctx[39], false, false, false),
9487
+ listen_dev(input, "input", /*input_input_handler_1*/ ctx[60]),
9488
+ listen_dev(input, "focus", /*searchActivated*/ ctx[40], false, false, false)
9489
9489
  ];
9490
9490
 
9491
9491
  mounted = true;
9492
9492
  }
9493
9493
  },
9494
9494
  p: function update(ctx, dirty) {
9495
- if (!/*mobileSearchViewActive*/ ctx[30]) {
9495
+ if (!/*mobileSearchViewActive*/ ctx[31]) {
9496
9496
  if (if_block0) ; else {
9497
9497
  if_block0 = create_if_block_21(ctx);
9498
9498
  if_block0.c();
@@ -9503,17 +9503,17 @@
9503
9503
  if_block0 = null;
9504
9504
  }
9505
9505
 
9506
- if (dirty[1] & /*$_*/ 4 && input_placeholder_value !== (input_placeholder_value = getDevice(/*userAgent*/ ctx[35]) === "PC"
9507
- ? /*$_*/ ctx[33]("casinoPage.search")
9508
- : /*$_*/ ctx[33]("casinoPage.searchMobile"))) {
9506
+ if (dirty[1] & /*$_*/ 8 && input_placeholder_value !== (input_placeholder_value = getDevice(/*userAgent*/ ctx[36]) === "PC"
9507
+ ? /*$_*/ ctx[34]("casinoPage.search")
9508
+ : /*$_*/ ctx[34]("casinoPage.searchMobile"))) {
9509
9509
  attr_dev(input, "placeholder", input_placeholder_value);
9510
9510
  }
9511
9511
 
9512
- if (dirty[0] & /*searchValue*/ 2048) {
9513
- set_input_value(input, /*searchValue*/ ctx[11]);
9512
+ if (dirty[0] & /*searchValue*/ 4096) {
9513
+ set_input_value(input, /*searchValue*/ ctx[12]);
9514
9514
  }
9515
9515
 
9516
- if (dirty[0] & /*searchValue*/ 2048) show_if = getDevice(/*userAgent*/ ctx[35]) === "PC" && /*searchValue*/ ctx[11].length || getDevice(/*userAgent*/ ctx[35]) !== "PC";
9516
+ if (dirty[0] & /*searchValue*/ 4096) show_if = getDevice(/*userAgent*/ ctx[36]) === "PC" && /*searchValue*/ ctx[12].length || getDevice(/*userAgent*/ ctx[36]) !== "PC";
9517
9517
 
9518
9518
  if (show_if) {
9519
9519
  if (if_block1) {
@@ -9528,13 +9528,13 @@
9528
9528
  if_block1 = null;
9529
9529
  }
9530
9530
 
9531
- if (dirty[0] & /*lobbyScreen, favoritesScreen, mostPlayedScreen, lobbyViewAux*/ 7471104 && div1_class_value !== (div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[21] && !/*favoritesScreen*/ ctx[17] && !/*mostPlayedScreen*/ ctx[22] && !/*lobbyViewAux*/ ctx[20]
9531
+ if (dirty[0] & /*lobbyScreen, favoritesScreen, mostPlayedScreen, lobbyViewAux*/ 14942208 && div1_class_value !== (div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[22] && !/*favoritesScreen*/ ctx[18] && !/*mostPlayedScreen*/ ctx[23] && !/*lobbyViewAux*/ ctx[21]
9532
9532
  ? "SearchTruncated"
9533
9533
  : ""))) {
9534
9534
  attr_dev(div1, "class", div1_class_value);
9535
9535
  }
9536
9536
 
9537
- if (!/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && !/*mostPlayedScreen*/ ctx[22] && !/*recentSearches*/ ctx[18] && !/*searched*/ ctx[19] && !/*lobbyViewAux*/ ctx[20]) {
9537
+ if (!/*favoritesScreen*/ ctx[18] && !/*lobbyScreen*/ ctx[22] && !/*mobileSearchViewActive*/ ctx[31] && !/*mostPlayedScreen*/ ctx[23] && !/*recentSearches*/ ctx[19] && !/*searched*/ ctx[20] && !/*lobbyViewAux*/ ctx[21]) {
9538
9538
  if (if_block2) {
9539
9539
  if_block2.p(ctx, dirty);
9540
9540
  } else {
@@ -9547,20 +9547,20 @@
9547
9547
  if_block2 = null;
9548
9548
  }
9549
9549
 
9550
- if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/ 1091043328 && div2_class_value !== (div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[35]) !== "PC"
9550
+ if (dirty[0] & /*searched, adjustingScroll*/ 34603008 | dirty[1] & /*mobileSearchViewActive*/ 1 && div2_class_value !== (div2_class_value = "CategoriesHeaderSection CategoriesHeaderSectionAltDesign " + (getDevice(/*userAgent*/ ctx[36]) !== "PC"
9551
9551
  ? "CategoriesHeaderMobileSection"
9552
- : "") + " " + (/*mobileSearchViewActive*/ ctx[30]
9552
+ : "") + " " + (/*mobileSearchViewActive*/ ctx[31]
9553
9553
  ? "SearchMobileActive"
9554
- : "") + " " + (/*mobileSearchViewActive*/ ctx[30] || /*searched*/ ctx[19] && !(getDevice(/*userAgent*/ ctx[35]) === "PC") && !/*closeSearch*/ ctx[34]
9554
+ : "") + " " + (/*mobileSearchViewActive*/ ctx[31] || /*searched*/ ctx[20] && !(getDevice(/*userAgent*/ ctx[36]) === "PC") && !/*closeSearch*/ ctx[35]
9555
9555
  ? "CategoriesHeaderSearchActive"
9556
- : "") + (/*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
9556
+ : "") + (/*adjustingScroll*/ ctx[25] && /*mobileSearchViewActive*/ ctx[31]
9557
9557
  ? "SearchStickTop"
9558
9558
  : ""))) {
9559
9559
  attr_dev(div2, "class", div2_class_value);
9560
9560
  }
9561
9561
 
9562
- if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/ 1090519040) {
9563
- set_style(div2, "top", /*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
9562
+ if (dirty[0] & /*adjustingScroll*/ 33554432 | dirty[1] & /*mobileSearchViewActive*/ 1) {
9563
+ set_style(div2, "top", /*adjustingScroll*/ ctx[25] && /*mobileSearchViewActive*/ ctx[31]
9564
9564
  ? scrollOffset + "px"
9565
9565
  : "");
9566
9566
  }
@@ -9568,10 +9568,10 @@
9568
9568
  d: function destroy(detaching) {
9569
9569
  if (detaching) detach_dev(div2);
9570
9570
  if (if_block0) if_block0.d();
9571
- /*input_binding_1*/ ctx[58](null);
9571
+ /*input_binding_1*/ ctx[59](null);
9572
9572
  if (if_block1) if_block1.d();
9573
9573
  if (if_block2) if_block2.d();
9574
- /*div2_binding_1*/ ctx[63](null);
9574
+ /*div2_binding_1*/ ctx[64](null);
9575
9575
  mounted = false;
9576
9576
  run_all(dispose);
9577
9577
  }
@@ -9581,14 +9581,14 @@
9581
9581
  block,
9582
9582
  id: create_else_block_2.name,
9583
9583
  type: "else",
9584
- source: "(731:4) {:else}",
9584
+ source: "(733:4) {:else}",
9585
9585
  ctx
9586
9586
  });
9587
9587
 
9588
9588
  return block;
9589
9589
  }
9590
9590
 
9591
- // (674:4) {#if alternativesearch === 'false'}
9591
+ // (676:4) {#if alternativesearch === 'false'}
9592
9592
  function create_if_block_9(ctx) {
9593
9593
  let div2;
9594
9594
  let div1;
@@ -9599,15 +9599,15 @@
9599
9599
  let input;
9600
9600
  let input_placeholder_value;
9601
9601
  let t3;
9602
- let show_if = getDevice(/*userAgent*/ ctx[35]) === "PC" && /*searchValue*/ ctx[11].length || getDevice(/*userAgent*/ ctx[35]) !== "PC";
9602
+ let show_if = getDevice(/*userAgent*/ ctx[36]) === "PC" && /*searchValue*/ ctx[12].length || getDevice(/*userAgent*/ ctx[36]) !== "PC";
9603
9603
  let div1_class_value;
9604
9604
  let t4;
9605
9605
  let div2_class_value;
9606
9606
  let mounted;
9607
9607
  let dispose;
9608
- let if_block0 = !/*mobileSearchViewActive*/ ctx[30] && create_if_block_15(ctx);
9608
+ let if_block0 = !/*mobileSearchViewActive*/ ctx[31] && create_if_block_15(ctx);
9609
9609
  let if_block1 = show_if && create_if_block_14(ctx);
9610
- let if_block2 = !/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && !/*mostPlayedScreen*/ ctx[22] && !/*recentSearches*/ ctx[18] && !/*searched*/ ctx[19] && !/*lobbyViewAux*/ ctx[20] && create_if_block_10(ctx);
9610
+ let if_block2 = !/*favoritesScreen*/ ctx[18] && !/*lobbyScreen*/ ctx[22] && !/*mobileSearchViewActive*/ ctx[31] && !/*mostPlayedScreen*/ ctx[23] && !/*recentSearches*/ ctx[19] && !/*searched*/ ctx[20] && !/*lobbyViewAux*/ ctx[21] && create_if_block_10(ctx);
9611
9611
 
9612
9612
  const block = {
9613
9613
  c: function create() {
@@ -9626,40 +9626,40 @@
9626
9626
  if (if_block2) if_block2.c();
9627
9627
  attr_dev(label, "for", "search");
9628
9628
  attr_dev(label, "class", "SrOnly");
9629
- add_location(label, file, 678, 10, 24354);
9629
+ add_location(label, file, 680, 10, 24432);
9630
9630
  attr_dev(input, "id", "SearchField");
9631
9631
  attr_dev(input, "class", "SearchInput");
9632
9632
 
9633
- attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[35]) === "PC"
9634
- ? /*$_*/ ctx[33]("casinoPage.search")
9635
- : /*$_*/ ctx[33]("casinoPage.searchMobile"));
9633
+ attr_dev(input, "placeholder", input_placeholder_value = getDevice(/*userAgent*/ ctx[36]) === "PC"
9634
+ ? /*$_*/ ctx[34]("casinoPage.search")
9635
+ : /*$_*/ ctx[34]("casinoPage.searchMobile"));
9636
9636
 
9637
9637
  attr_dev(input, "type", "search");
9638
- add_location(input, file, 687, 12, 24910);
9638
+ add_location(input, file, 689, 12, 24988);
9639
9639
  attr_dev(div0, "class", "SearchWrapper");
9640
- add_location(div0, file, 679, 10, 24427);
9640
+ add_location(div0, file, 681, 10, 24505);
9641
9641
 
9642
- attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[21] && !/*favoritesScreen*/ ctx[17] && !/*mostPlayedScreen*/ ctx[22] && !/*lobbyViewAux*/ ctx[20]
9642
+ attr_dev(div1, "class", div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[22] && !/*favoritesScreen*/ ctx[18] && !/*mostPlayedScreen*/ ctx[23] && !/*lobbyViewAux*/ ctx[21]
9643
9643
  ? "SearchTruncated"
9644
9644
  : ""));
9645
9645
 
9646
- add_location(div1, file, 677, 8, 24212);
9646
+ add_location(div1, file, 679, 8, 24290);
9647
9647
 
9648
- attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[35]) !== "PC"
9648
+ attr_dev(div2, "class", div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[36]) !== "PC"
9649
9649
  ? "CategoriesHeaderMobileSection"
9650
- : "") + " " + (/*mobileSearchViewActive*/ ctx[30]
9650
+ : "") + " " + (/*mobileSearchViewActive*/ ctx[31]
9651
9651
  ? "SearchMobileActive"
9652
- : "") + " " + (/*mobileSearchViewActive*/ ctx[30] || /*searched*/ ctx[19] && !(getDevice(/*userAgent*/ ctx[35]) === "PC") && !/*closeSearch*/ ctx[34]
9652
+ : "") + " " + (/*mobileSearchViewActive*/ ctx[31] || /*searched*/ ctx[20] && !(getDevice(/*userAgent*/ ctx[36]) === "PC") && !/*closeSearch*/ ctx[35]
9653
9653
  ? "CategoriesHeaderSearchActive"
9654
- : "") + " " + (/*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
9654
+ : "") + " " + (/*adjustingScroll*/ ctx[25] && /*mobileSearchViewActive*/ ctx[31]
9655
9655
  ? "SearchStickTop"
9656
9656
  : ""));
9657
9657
 
9658
- set_style(div2, "top", /*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
9658
+ set_style(div2, "top", /*adjustingScroll*/ ctx[25] && /*mobileSearchViewActive*/ ctx[31]
9659
9659
  ? scrollOffset + "px"
9660
9660
  : "");
9661
9661
 
9662
- add_location(div2, file, 675, 6, 23725);
9662
+ add_location(div2, file, 677, 6, 23803);
9663
9663
  },
9664
9664
  m: function mount(target, anchor) {
9665
9665
  insert_dev(target, div2, anchor);
@@ -9670,27 +9670,27 @@
9670
9670
  if (if_block0) if_block0.m(div0, null);
9671
9671
  append_dev(div0, t2);
9672
9672
  append_dev(div0, input);
9673
- /*input_binding*/ ctx[52](input);
9674
- set_input_value(input, /*searchValue*/ ctx[11]);
9673
+ /*input_binding*/ ctx[53](input);
9674
+ set_input_value(input, /*searchValue*/ ctx[12]);
9675
9675
  append_dev(div0, t3);
9676
9676
  if (if_block1) if_block1.m(div0, null);
9677
9677
  append_dev(div2, t4);
9678
9678
  if (if_block2) if_block2.m(div2, null);
9679
- /*div2_binding*/ ctx[57](div2);
9679
+ /*div2_binding*/ ctx[58](div2);
9680
9680
 
9681
9681
  if (!mounted) {
9682
9682
  dispose = [
9683
- listen_dev(input, "focus", /*onFocus*/ ctx[37], false, false, false),
9684
- listen_dev(input, "blur", /*onBlur*/ ctx[38], false, false, false),
9685
- listen_dev(input, "input", /*input_input_handler*/ ctx[53]),
9686
- listen_dev(input, "focus", /*searchActivated*/ ctx[39], false, false, false)
9683
+ listen_dev(input, "focus", /*onFocus*/ ctx[38], false, false, false),
9684
+ listen_dev(input, "blur", /*onBlur*/ ctx[39], false, false, false),
9685
+ listen_dev(input, "input", /*input_input_handler*/ ctx[54]),
9686
+ listen_dev(input, "focus", /*searchActivated*/ ctx[40], false, false, false)
9687
9687
  ];
9688
9688
 
9689
9689
  mounted = true;
9690
9690
  }
9691
9691
  },
9692
9692
  p: function update(ctx, dirty) {
9693
- if (!/*mobileSearchViewActive*/ ctx[30]) {
9693
+ if (!/*mobileSearchViewActive*/ ctx[31]) {
9694
9694
  if (if_block0) ; else {
9695
9695
  if_block0 = create_if_block_15(ctx);
9696
9696
  if_block0.c();
@@ -9701,17 +9701,17 @@
9701
9701
  if_block0 = null;
9702
9702
  }
9703
9703
 
9704
- if (dirty[1] & /*$_*/ 4 && input_placeholder_value !== (input_placeholder_value = getDevice(/*userAgent*/ ctx[35]) === "PC"
9705
- ? /*$_*/ ctx[33]("casinoPage.search")
9706
- : /*$_*/ ctx[33]("casinoPage.searchMobile"))) {
9704
+ if (dirty[1] & /*$_*/ 8 && input_placeholder_value !== (input_placeholder_value = getDevice(/*userAgent*/ ctx[36]) === "PC"
9705
+ ? /*$_*/ ctx[34]("casinoPage.search")
9706
+ : /*$_*/ ctx[34]("casinoPage.searchMobile"))) {
9707
9707
  attr_dev(input, "placeholder", input_placeholder_value);
9708
9708
  }
9709
9709
 
9710
- if (dirty[0] & /*searchValue*/ 2048) {
9711
- set_input_value(input, /*searchValue*/ ctx[11]);
9710
+ if (dirty[0] & /*searchValue*/ 4096) {
9711
+ set_input_value(input, /*searchValue*/ ctx[12]);
9712
9712
  }
9713
9713
 
9714
- if (dirty[0] & /*searchValue*/ 2048) show_if = getDevice(/*userAgent*/ ctx[35]) === "PC" && /*searchValue*/ ctx[11].length || getDevice(/*userAgent*/ ctx[35]) !== "PC";
9714
+ if (dirty[0] & /*searchValue*/ 4096) show_if = getDevice(/*userAgent*/ ctx[36]) === "PC" && /*searchValue*/ ctx[12].length || getDevice(/*userAgent*/ ctx[36]) !== "PC";
9715
9715
 
9716
9716
  if (show_if) {
9717
9717
  if (if_block1) {
@@ -9726,13 +9726,13 @@
9726
9726
  if_block1 = null;
9727
9727
  }
9728
9728
 
9729
- if (dirty[0] & /*lobbyScreen, favoritesScreen, mostPlayedScreen, lobbyViewAux*/ 7471104 && div1_class_value !== (div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[21] && !/*favoritesScreen*/ ctx[17] && !/*mostPlayedScreen*/ ctx[22] && !/*lobbyViewAux*/ ctx[20]
9729
+ if (dirty[0] & /*lobbyScreen, favoritesScreen, mostPlayedScreen, lobbyViewAux*/ 14942208 && div1_class_value !== (div1_class_value = "SearchContainer " + (!/*lobbyScreen*/ ctx[22] && !/*favoritesScreen*/ ctx[18] && !/*mostPlayedScreen*/ ctx[23] && !/*lobbyViewAux*/ ctx[21]
9730
9730
  ? "SearchTruncated"
9731
9731
  : ""))) {
9732
9732
  attr_dev(div1, "class", div1_class_value);
9733
9733
  }
9734
9734
 
9735
- if (!/*favoritesScreen*/ ctx[17] && !/*lobbyScreen*/ ctx[21] && !/*mobileSearchViewActive*/ ctx[30] && !/*mostPlayedScreen*/ ctx[22] && !/*recentSearches*/ ctx[18] && !/*searched*/ ctx[19] && !/*lobbyViewAux*/ ctx[20]) {
9735
+ if (!/*favoritesScreen*/ ctx[18] && !/*lobbyScreen*/ ctx[22] && !/*mobileSearchViewActive*/ ctx[31] && !/*mostPlayedScreen*/ ctx[23] && !/*recentSearches*/ ctx[19] && !/*searched*/ ctx[20] && !/*lobbyViewAux*/ ctx[21]) {
9736
9736
  if (if_block2) {
9737
9737
  if_block2.p(ctx, dirty);
9738
9738
  } else {
@@ -9745,20 +9745,20 @@
9745
9745
  if_block2 = null;
9746
9746
  }
9747
9747
 
9748
- if (dirty[0] & /*mobileSearchViewActive, searched, adjustingScroll*/ 1091043328 && div2_class_value !== (div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[35]) !== "PC"
9748
+ if (dirty[0] & /*searched, adjustingScroll*/ 34603008 | dirty[1] & /*mobileSearchViewActive*/ 1 && div2_class_value !== (div2_class_value = "CategoriesHeaderSection " + (getDevice(/*userAgent*/ ctx[36]) !== "PC"
9749
9749
  ? "CategoriesHeaderMobileSection"
9750
- : "") + " " + (/*mobileSearchViewActive*/ ctx[30]
9750
+ : "") + " " + (/*mobileSearchViewActive*/ ctx[31]
9751
9751
  ? "SearchMobileActive"
9752
- : "") + " " + (/*mobileSearchViewActive*/ ctx[30] || /*searched*/ ctx[19] && !(getDevice(/*userAgent*/ ctx[35]) === "PC") && !/*closeSearch*/ ctx[34]
9752
+ : "") + " " + (/*mobileSearchViewActive*/ ctx[31] || /*searched*/ ctx[20] && !(getDevice(/*userAgent*/ ctx[36]) === "PC") && !/*closeSearch*/ ctx[35]
9753
9753
  ? "CategoriesHeaderSearchActive"
9754
- : "") + " " + (/*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
9754
+ : "") + " " + (/*adjustingScroll*/ ctx[25] && /*mobileSearchViewActive*/ ctx[31]
9755
9755
  ? "SearchStickTop"
9756
9756
  : ""))) {
9757
9757
  attr_dev(div2, "class", div2_class_value);
9758
9758
  }
9759
9759
 
9760
- if (dirty[0] & /*adjustingScroll, mobileSearchViewActive*/ 1090519040) {
9761
- set_style(div2, "top", /*adjustingScroll*/ ctx[24] && /*mobileSearchViewActive*/ ctx[30]
9760
+ if (dirty[0] & /*adjustingScroll*/ 33554432 | dirty[1] & /*mobileSearchViewActive*/ 1) {
9761
+ set_style(div2, "top", /*adjustingScroll*/ ctx[25] && /*mobileSearchViewActive*/ ctx[31]
9762
9762
  ? scrollOffset + "px"
9763
9763
  : "");
9764
9764
  }
@@ -9766,10 +9766,10 @@
9766
9766
  d: function destroy(detaching) {
9767
9767
  if (detaching) detach_dev(div2);
9768
9768
  if (if_block0) if_block0.d();
9769
- /*input_binding*/ ctx[52](null);
9769
+ /*input_binding*/ ctx[53](null);
9770
9770
  if (if_block1) if_block1.d();
9771
9771
  if (if_block2) if_block2.d();
9772
- /*div2_binding*/ ctx[57](null);
9772
+ /*div2_binding*/ ctx[58](null);
9773
9773
  mounted = false;
9774
9774
  run_all(dispose);
9775
9775
  }
@@ -9779,14 +9779,14 @@
9779
9779
  block,
9780
9780
  id: create_if_block_9.name,
9781
9781
  type: "if",
9782
- source: "(674:4) {#if alternativesearch === 'false'}",
9782
+ source: "(676:4) {#if alternativesearch === 'false'}",
9783
9783
  ctx
9784
9784
  });
9785
9785
 
9786
9786
  return block;
9787
9787
  }
9788
9788
 
9789
- // (738:12) {#if !mobileSearchViewActive}
9789
+ // (740:12) {#if !mobileSearchViewActive}
9790
9790
  function create_if_block_21(ctx) {
9791
9791
  let div;
9792
9792
  let svg;
@@ -9800,14 +9800,14 @@
9800
9800
  attr_dev(path, "fill-rule", "evenodd");
9801
9801
  attr_dev(path, "d", "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z");
9802
9802
  attr_dev(path, "clip-rule", "evenodd");
9803
- add_location(path, file, 740, 18, 29013);
9803
+ add_location(path, file, 742, 18, 29091);
9804
9804
  attr_dev(svg, "role", "presentation");
9805
9805
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
9806
9806
  attr_dev(svg, "viewBox", "0 0 20 20");
9807
9807
  attr_dev(svg, "aria-hidden", "true");
9808
- add_location(svg, file, 739, 16, 28895);
9808
+ add_location(svg, file, 741, 16, 28973);
9809
9809
  attr_dev(div, "class", "SearchIcon");
9810
- add_location(div, file, 738, 14, 28854);
9810
+ add_location(div, file, 740, 14, 28932);
9811
9811
  },
9812
9812
  m: function mount(target, anchor) {
9813
9813
  insert_dev(target, div, anchor);
@@ -9823,14 +9823,14 @@
9823
9823
  block,
9824
9824
  id: create_if_block_21.name,
9825
9825
  type: "if",
9826
- source: "(738:12) {#if !mobileSearchViewActive}",
9826
+ source: "(740:12) {#if !mobileSearchViewActive}",
9827
9827
  ctx
9828
9828
  });
9829
9829
 
9830
9830
  return block;
9831
9831
  }
9832
9832
 
9833
- // (746:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
9833
+ // (748:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
9834
9834
  function create_if_block_20(ctx) {
9835
9835
  let span;
9836
9836
  let div2;
@@ -9846,17 +9846,17 @@
9846
9846
  div1 = element("div");
9847
9847
  div0 = element("div");
9848
9848
  attr_dev(div0, "class", "CloseIcon");
9849
- add_location(div0, file, 749, 20, 29913);
9849
+ add_location(div0, file, 751, 20, 29991);
9850
9850
  attr_dev(div1, "class", "CloseIconWrapper");
9851
- add_location(div1, file, 748, 18, 29862);
9851
+ add_location(div1, file, 750, 18, 29940);
9852
9852
  attr_dev(div2, "class", "CloseIconContainer");
9853
- add_location(div2, file, 747, 16, 29811);
9853
+ add_location(div2, file, 749, 16, 29889);
9854
9854
 
9855
- attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[35]) === "PC"
9855
+ attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[36]) === "PC"
9856
9856
  ? "ClearSearchButton"
9857
9857
  : "ClearSearchButtonMobile") + " "));
9858
9858
 
9859
- add_location(span, file, 746, 14, 29659);
9859
+ add_location(span, file, 748, 14, 29737);
9860
9860
  },
9861
9861
  m: function mount(target, anchor) {
9862
9862
  insert_dev(target, span, anchor);
@@ -9865,7 +9865,7 @@
9865
9865
  append_dev(div1, div0);
9866
9866
 
9867
9867
  if (!mounted) {
9868
- dispose = listen_dev(span, "click", /*click_handler_4*/ ctx[60], false, false, false);
9868
+ dispose = listen_dev(span, "click", /*click_handler_4*/ ctx[61], false, false, false);
9869
9869
  mounted = true;
9870
9870
  }
9871
9871
  },
@@ -9881,19 +9881,19 @@
9881
9881
  block,
9882
9882
  id: create_if_block_20.name,
9883
9883
  type: "if",
9884
- source: "(746:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
9884
+ source: "(748:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
9885
9885
  ctx
9886
9886
  });
9887
9887
 
9888
9888
  return block;
9889
9889
  }
9890
9890
 
9891
- // (757:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
9891
+ // (759:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
9892
9892
  function create_if_block_16(ctx) {
9893
9893
  let div;
9894
9894
  let t;
9895
- let if_block0 = /*numberOfFilters*/ ctx[31] && create_if_block_19(ctx);
9896
- let if_block1 = (!/*searched*/ ctx[19] || !/*recentSearches*/ ctx[18]) && create_if_block_17(ctx);
9895
+ let if_block0 = /*numberOfFilters*/ ctx[32] && create_if_block_19(ctx);
9896
+ let if_block1 = (!/*searched*/ ctx[20] || !/*recentSearches*/ ctx[19]) && create_if_block_17(ctx);
9897
9897
 
9898
9898
  const block = {
9899
9899
  c: function create() {
@@ -9902,7 +9902,7 @@
9902
9902
  t = space();
9903
9903
  if (if_block1) if_block1.c();
9904
9904
  attr_dev(div, "class", "FiltersButtonsContainer");
9905
- add_location(div, file, 757, 10, 30217);
9905
+ add_location(div, file, 759, 10, 30295);
9906
9906
  },
9907
9907
  m: function mount(target, anchor) {
9908
9908
  insert_dev(target, div, anchor);
@@ -9911,7 +9911,7 @@
9911
9911
  if (if_block1) if_block1.m(div, null);
9912
9912
  },
9913
9913
  p: function update(ctx, dirty) {
9914
- if (/*numberOfFilters*/ ctx[31]) {
9914
+ if (/*numberOfFilters*/ ctx[32]) {
9915
9915
  if (if_block0) {
9916
9916
  if_block0.p(ctx, dirty);
9917
9917
  } else {
@@ -9924,7 +9924,7 @@
9924
9924
  if_block0 = null;
9925
9925
  }
9926
9926
 
9927
- if (!/*searched*/ ctx[19] || !/*recentSearches*/ ctx[18]) {
9927
+ if (!/*searched*/ ctx[20] || !/*recentSearches*/ ctx[19]) {
9928
9928
  if (if_block1) {
9929
9929
  if_block1.p(ctx, dirty);
9930
9930
  } else {
@@ -9948,14 +9948,14 @@
9948
9948
  block,
9949
9949
  id: create_if_block_16.name,
9950
9950
  type: "if",
9951
- source: "(757:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
9951
+ source: "(759:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
9952
9952
  ctx
9953
9953
  });
9954
9954
 
9955
9955
  return block;
9956
9956
  }
9957
9957
 
9958
- // (759:12) {#if numberOfFilters}
9958
+ // (761:12) {#if numberOfFilters}
9959
9959
  function create_if_block_19(ctx) {
9960
9960
  let div1;
9961
9961
  let div0;
@@ -9977,7 +9977,7 @@
9977
9977
  polygon = svg_element("polygon");
9978
9978
  set_style(polygon, "fill", "#FD2839");
9979
9979
  attr_dev(polygon, "points", "378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 ");
9980
- add_location(polygon, file, 764, 22, 30807);
9980
+ add_location(polygon, file, 766, 22, 30885);
9981
9981
  attr_dev(svg, "version", "1.1");
9982
9982
  attr_dev(svg, "id", "Layer_1");
9983
9983
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
@@ -9987,13 +9987,13 @@
9987
9987
  attr_dev(svg, "viewBox", "0 0 378.303 378.303");
9988
9988
  set_style(svg, "enable-background", "new 0 0 378.303 378.303");
9989
9989
  attr_dev(svg, "xml:space", "preserve");
9990
- add_location(svg, file, 762, 20, 30532);
9990
+ add_location(svg, file, 764, 20, 30610);
9991
9991
  attr_dev(span, "class", "ClearIcon");
9992
- add_location(span, file, 761, 18, 30487);
9992
+ add_location(span, file, 763, 18, 30565);
9993
9993
  attr_dev(div0, "class", "ClearButton");
9994
- add_location(div0, file, 760, 16, 30438);
9995
- attr_dev(div1, "class", div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[31] ? "FiltersActive" : ""));
9996
- add_location(div1, file, 759, 14, 30303);
9994
+ add_location(div0, file, 762, 16, 30516);
9995
+ attr_dev(div1, "class", div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[32] ? "FiltersActive" : ""));
9996
+ add_location(div1, file, 761, 14, 30381);
9997
9997
  },
9998
9998
  m: function mount(target, anchor) {
9999
9999
  insert_dev(target, div1, anchor);
@@ -10004,12 +10004,12 @@
10004
10004
  append_dev(svg, polygon);
10005
10005
 
10006
10006
  if (!mounted) {
10007
- dispose = listen_dev(div1, "click", /*click_handler_5*/ ctx[61], false, false, false);
10007
+ dispose = listen_dev(div1, "click", /*click_handler_5*/ ctx[62], false, false, false);
10008
10008
  mounted = true;
10009
10009
  }
10010
10010
  },
10011
10011
  p: function update(ctx, dirty) {
10012
- if (dirty[1] & /*numberOfFilters*/ 1 && div1_class_value !== (div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[31] ? "FiltersActive" : ""))) {
10012
+ if (dirty[1] & /*numberOfFilters*/ 2 && div1_class_value !== (div1_class_value = "ClearFilterButtonWrapper " + (/*numberOfFilters*/ ctx[32] ? "FiltersActive" : ""))) {
10013
10013
  attr_dev(div1, "class", div1_class_value);
10014
10014
  }
10015
10015
  },
@@ -10024,17 +10024,17 @@
10024
10024
  block,
10025
10025
  id: create_if_block_19.name,
10026
10026
  type: "if",
10027
- source: "(759:12) {#if numberOfFilters}",
10027
+ source: "(761:12) {#if numberOfFilters}",
10028
10028
  ctx
10029
10029
  });
10030
10030
 
10031
10031
  return block;
10032
10032
  }
10033
10033
 
10034
- // (772:12) {#if !searched || !recentSearches}
10034
+ // (774:12) {#if !searched || !recentSearches}
10035
10035
  function create_if_block_17(ctx) {
10036
10036
  let if_block_anchor;
10037
- let if_block = !/*mostPlayedScreen*/ ctx[22] && !/*numberOfFilters*/ ctx[31] && create_if_block_18(ctx);
10037
+ let if_block = !/*mostPlayedScreen*/ ctx[23] && !/*numberOfFilters*/ ctx[32] && create_if_block_18(ctx);
10038
10038
 
10039
10039
  const block = {
10040
10040
  c: function create() {
@@ -10046,7 +10046,7 @@
10046
10046
  insert_dev(target, if_block_anchor, anchor);
10047
10047
  },
10048
10048
  p: function update(ctx, dirty) {
10049
- if (!/*mostPlayedScreen*/ ctx[22] && !/*numberOfFilters*/ ctx[31]) {
10049
+ if (!/*mostPlayedScreen*/ ctx[23] && !/*numberOfFilters*/ ctx[32]) {
10050
10050
  if (if_block) {
10051
10051
  if_block.p(ctx, dirty);
10052
10052
  } else {
@@ -10069,14 +10069,14 @@
10069
10069
  block,
10070
10070
  id: create_if_block_17.name,
10071
10071
  type: "if",
10072
- source: "(772:12) {#if !searched || !recentSearches}",
10072
+ source: "(774:12) {#if !searched || !recentSearches}",
10073
10073
  ctx
10074
10074
  });
10075
10075
 
10076
10076
  return block;
10077
10077
  }
10078
10078
 
10079
- // (773:14) {#if !mostPlayedScreen && !numberOfFilters}
10079
+ // (775:14) {#if !mostPlayedScreen && !numberOfFilters}
10080
10080
  function create_if_block_18(ctx) {
10081
10081
  let div3;
10082
10082
  let div0;
@@ -10109,28 +10109,28 @@
10109
10109
  t3 = space();
10110
10110
  div1 = element("div");
10111
10111
  span = element("span");
10112
- t4 = text(/*numberOfFilters*/ ctx[31]);
10112
+ t4 = text(/*numberOfFilters*/ ctx[32]);
10113
10113
  attr_dev(div0, "class", "FilterButton");
10114
- add_location(div0, file, 774, 18, 31366);
10115
- add_location(style, file, 776, 109, 31567);
10116
- add_location(defs, file, 776, 103, 31561);
10114
+ add_location(div0, file, 776, 18, 31444);
10115
+ add_location(style, file, 778, 109, 31645);
10116
+ add_location(defs, file, 778, 103, 31639);
10117
10117
  attr_dev(path, "class", "a");
10118
10118
  attr_dev(path, "d", "M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z");
10119
10119
  attr_dev(path, "transform", "translate(-5 -6.2)");
10120
- add_location(path, file, 776, 145, 31603);
10120
+ add_location(path, file, 778, 145, 31681);
10121
10121
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
10122
10122
  attr_dev(svg, "width", "20");
10123
10123
  attr_dev(svg, "height", "20");
10124
10124
  attr_dev(svg, "viewBox", "0 0 26 26");
10125
- add_location(svg, file, 776, 20, 31478);
10125
+ add_location(svg, file, 778, 20, 31556);
10126
10126
  attr_dev(span, "class", "NumberOfFilters");
10127
- add_location(span, file, 778, 22, 32164);
10127
+ add_location(span, file, 780, 22, 32242);
10128
10128
  attr_dev(div1, "class", "NumberOfFiltersContainer");
10129
- add_location(div1, file, 777, 20, 32103);
10129
+ add_location(div1, file, 779, 20, 32181);
10130
10130
  attr_dev(div2, "class", "FilterIconContainer");
10131
- add_location(div2, file, 775, 18, 31424);
10131
+ add_location(div2, file, 777, 18, 31502);
10132
10132
  attr_dev(div3, "class", "FilterButtonWrapper");
10133
- add_location(div3, file, 773, 16, 31274);
10133
+ add_location(div3, file, 775, 16, 31352);
10134
10134
  },
10135
10135
  m: function mount(target, anchor) {
10136
10136
  insert_dev(target, div3, anchor);
@@ -10148,12 +10148,12 @@
10148
10148
  append_dev(span, t4);
10149
10149
 
10150
10150
  if (!mounted) {
10151
- dispose = listen_dev(div3, "click", /*click_handler_6*/ ctx[62], false, false, false);
10151
+ dispose = listen_dev(div3, "click", /*click_handler_6*/ ctx[63], false, false, false);
10152
10152
  mounted = true;
10153
10153
  }
10154
10154
  },
10155
10155
  p: function update(ctx, dirty) {
10156
- if (dirty[1] & /*numberOfFilters*/ 1) set_data_dev(t4, /*numberOfFilters*/ ctx[31]);
10156
+ if (dirty[1] & /*numberOfFilters*/ 2) set_data_dev(t4, /*numberOfFilters*/ ctx[32]);
10157
10157
  },
10158
10158
  d: function destroy(detaching) {
10159
10159
  if (detaching) detach_dev(div3);
@@ -10166,14 +10166,14 @@
10166
10166
  block,
10167
10167
  id: create_if_block_18.name,
10168
10168
  type: "if",
10169
- source: "(773:14) {#if !mostPlayedScreen && !numberOfFilters}",
10169
+ source: "(775:14) {#if !mostPlayedScreen && !numberOfFilters}",
10170
10170
  ctx
10171
10171
  });
10172
10172
 
10173
10173
  return block;
10174
10174
  }
10175
10175
 
10176
- // (681:12) {#if !mobileSearchViewActive}
10176
+ // (683:12) {#if !mobileSearchViewActive}
10177
10177
  function create_if_block_15(ctx) {
10178
10178
  let div;
10179
10179
  let svg;
@@ -10187,14 +10187,14 @@
10187
10187
  attr_dev(path, "fill-rule", "evenodd");
10188
10188
  attr_dev(path, "d", "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z");
10189
10189
  attr_dev(path, "clip-rule", "evenodd");
10190
- add_location(path, file, 683, 18, 24670);
10190
+ add_location(path, file, 685, 18, 24748);
10191
10191
  attr_dev(svg, "role", "presentation");
10192
10192
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
10193
10193
  attr_dev(svg, "viewBox", "0 0 20 20");
10194
10194
  attr_dev(svg, "aria-hidden", "true");
10195
- add_location(svg, file, 682, 16, 24552);
10195
+ add_location(svg, file, 684, 16, 24630);
10196
10196
  attr_dev(div, "class", "SearchIcon");
10197
- add_location(div, file, 681, 14, 24511);
10197
+ add_location(div, file, 683, 14, 24589);
10198
10198
  },
10199
10199
  m: function mount(target, anchor) {
10200
10200
  insert_dev(target, div, anchor);
@@ -10210,14 +10210,14 @@
10210
10210
  block,
10211
10211
  id: create_if_block_15.name,
10212
10212
  type: "if",
10213
- source: "(681:12) {#if !mobileSearchViewActive}",
10213
+ source: "(683:12) {#if !mobileSearchViewActive}",
10214
10214
  ctx
10215
10215
  });
10216
10216
 
10217
10217
  return block;
10218
10218
  }
10219
10219
 
10220
- // (689:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
10220
+ // (691:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }
10221
10221
  function create_if_block_14(ctx) {
10222
10222
  let span;
10223
10223
  let div2;
@@ -10233,17 +10233,17 @@
10233
10233
  div1 = element("div");
10234
10234
  div0 = element("div");
10235
10235
  attr_dev(div0, "class", "CloseIcon");
10236
- add_location(div0, file, 692, 20, 25570);
10236
+ add_location(div0, file, 694, 20, 25648);
10237
10237
  attr_dev(div1, "class", "CloseIconWrapper");
10238
- add_location(div1, file, 691, 18, 25519);
10238
+ add_location(div1, file, 693, 18, 25597);
10239
10239
  attr_dev(div2, "class", "CloseIconContainer");
10240
- add_location(div2, file, 690, 16, 25468);
10240
+ add_location(div2, file, 692, 16, 25546);
10241
10241
 
10242
- attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[35]) === "PC"
10242
+ attr_dev(span, "class", "" + ((getDevice(/*userAgent*/ ctx[36]) === "PC"
10243
10243
  ? "ClearSearchButton"
10244
10244
  : "ClearSearchButtonMobile") + " "));
10245
10245
 
10246
- add_location(span, file, 689, 14, 25316);
10246
+ add_location(span, file, 691, 14, 25394);
10247
10247
  },
10248
10248
  m: function mount(target, anchor) {
10249
10249
  insert_dev(target, span, anchor);
@@ -10252,7 +10252,7 @@
10252
10252
  append_dev(div1, div0);
10253
10253
 
10254
10254
  if (!mounted) {
10255
- dispose = listen_dev(span, "click", /*click_handler_1*/ ctx[54], false, false, false);
10255
+ dispose = listen_dev(span, "click", /*click_handler_1*/ ctx[55], false, false, false);
10256
10256
  mounted = true;
10257
10257
  }
10258
10258
  },
@@ -10268,19 +10268,19 @@
10268
10268
  block,
10269
10269
  id: create_if_block_14.name,
10270
10270
  type: "if",
10271
- source: "(689:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
10271
+ source: "(691:12) {#if ((getDevice(userAgent) === 'PC') && searchValue.length) || (getDevice(userAgent) !== 'PC') }",
10272
10272
  ctx
10273
10273
  });
10274
10274
 
10275
10275
  return block;
10276
10276
  }
10277
10277
 
10278
- // (700:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
10278
+ // (702:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
10279
10279
  function create_if_block_10(ctx) {
10280
10280
  let div;
10281
10281
  let t;
10282
- let if_block0 = /*numberOfFilters*/ ctx[31] && create_if_block_13(ctx);
10283
- let if_block1 = (!/*searched*/ ctx[19] || !/*recentSearches*/ ctx[18]) && create_if_block_11(ctx);
10282
+ let if_block0 = /*numberOfFilters*/ ctx[32] && create_if_block_13(ctx);
10283
+ let if_block1 = (!/*searched*/ ctx[20] || !/*recentSearches*/ ctx[19]) && create_if_block_11(ctx);
10284
10284
 
10285
10285
  const block = {
10286
10286
  c: function create() {
@@ -10289,7 +10289,7 @@
10289
10289
  t = space();
10290
10290
  if (if_block1) if_block1.c();
10291
10291
  attr_dev(div, "class", "FiltersButtonsContainer");
10292
- add_location(div, file, 700, 10, 25874);
10292
+ add_location(div, file, 702, 10, 25952);
10293
10293
  },
10294
10294
  m: function mount(target, anchor) {
10295
10295
  insert_dev(target, div, anchor);
@@ -10298,7 +10298,7 @@
10298
10298
  if (if_block1) if_block1.m(div, null);
10299
10299
  },
10300
10300
  p: function update(ctx, dirty) {
10301
- if (/*numberOfFilters*/ ctx[31]) {
10301
+ if (/*numberOfFilters*/ ctx[32]) {
10302
10302
  if (if_block0) {
10303
10303
  if_block0.p(ctx, dirty);
10304
10304
  } else {
@@ -10311,7 +10311,7 @@
10311
10311
  if_block0 = null;
10312
10312
  }
10313
10313
 
10314
- if (!/*searched*/ ctx[19] || !/*recentSearches*/ ctx[18]) {
10314
+ if (!/*searched*/ ctx[20] || !/*recentSearches*/ ctx[19]) {
10315
10315
  if (if_block1) {
10316
10316
  if_block1.p(ctx, dirty);
10317
10317
  } else {
@@ -10335,14 +10335,14 @@
10335
10335
  block,
10336
10336
  id: create_if_block_10.name,
10337
10337
  type: "if",
10338
- source: "(700:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
10338
+ source: "(702:8) {#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}",
10339
10339
  ctx
10340
10340
  });
10341
10341
 
10342
10342
  return block;
10343
10343
  }
10344
10344
 
10345
- // (702:12) {#if numberOfFilters}
10345
+ // (704:12) {#if numberOfFilters}
10346
10346
  function create_if_block_13(ctx) {
10347
10347
  let div1;
10348
10348
  let div0;
@@ -10363,7 +10363,7 @@
10363
10363
  polygon = svg_element("polygon");
10364
10364
  set_style(polygon, "fill", "#FD2839");
10365
10365
  attr_dev(polygon, "points", "378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 ");
10366
- add_location(polygon, file, 707, 22, 26423);
10366
+ add_location(polygon, file, 709, 22, 26501);
10367
10367
  attr_dev(svg, "version", "1.1");
10368
10368
  attr_dev(svg, "id", "Layer_1");
10369
10369
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
@@ -10373,13 +10373,13 @@
10373
10373
  attr_dev(svg, "viewBox", "0 0 378.303 378.303");
10374
10374
  set_style(svg, "enable-background", "new 0 0 378.303 378.303");
10375
10375
  attr_dev(svg, "xml:space", "preserve");
10376
- add_location(svg, file, 705, 20, 26148);
10376
+ add_location(svg, file, 707, 20, 26226);
10377
10377
  attr_dev(span, "class", "ClearIcon");
10378
- add_location(span, file, 704, 18, 26103);
10378
+ add_location(span, file, 706, 18, 26181);
10379
10379
  attr_dev(div0, "class", "ClearButton");
10380
- add_location(div0, file, 703, 16, 26054);
10380
+ add_location(div0, file, 705, 16, 26132);
10381
10381
  attr_dev(div1, "class", "ClearFilterButtonWrapper");
10382
- add_location(div1, file, 702, 14, 25960);
10382
+ add_location(div1, file, 704, 14, 26038);
10383
10383
  },
10384
10384
  m: function mount(target, anchor) {
10385
10385
  insert_dev(target, div1, anchor);
@@ -10390,7 +10390,7 @@
10390
10390
  append_dev(svg, polygon);
10391
10391
 
10392
10392
  if (!mounted) {
10393
- dispose = listen_dev(div1, "click", /*click_handler_2*/ ctx[55], false, false, false);
10393
+ dispose = listen_dev(div1, "click", /*click_handler_2*/ ctx[56], false, false, false);
10394
10394
  mounted = true;
10395
10395
  }
10396
10396
  },
@@ -10406,17 +10406,17 @@
10406
10406
  block,
10407
10407
  id: create_if_block_13.name,
10408
10408
  type: "if",
10409
- source: "(702:12) {#if numberOfFilters}",
10409
+ source: "(704:12) {#if numberOfFilters}",
10410
10410
  ctx
10411
10411
  });
10412
10412
 
10413
10413
  return block;
10414
10414
  }
10415
10415
 
10416
- // (715:12) {#if !searched || !recentSearches}
10416
+ // (717:12) {#if !searched || !recentSearches}
10417
10417
  function create_if_block_11(ctx) {
10418
10418
  let if_block_anchor;
10419
- let if_block = !/*mostPlayedScreen*/ ctx[22] && create_if_block_12(ctx);
10419
+ let if_block = !/*mostPlayedScreen*/ ctx[23] && create_if_block_12(ctx);
10420
10420
 
10421
10421
  const block = {
10422
10422
  c: function create() {
@@ -10428,7 +10428,7 @@
10428
10428
  insert_dev(target, if_block_anchor, anchor);
10429
10429
  },
10430
10430
  p: function update(ctx, dirty) {
10431
- if (!/*mostPlayedScreen*/ ctx[22]) {
10431
+ if (!/*mostPlayedScreen*/ ctx[23]) {
10432
10432
  if (if_block) {
10433
10433
  if_block.p(ctx, dirty);
10434
10434
  } else {
@@ -10451,14 +10451,14 @@
10451
10451
  block,
10452
10452
  id: create_if_block_11.name,
10453
10453
  type: "if",
10454
- source: "(715:12) {#if !searched || !recentSearches}",
10454
+ source: "(717:12) {#if !searched || !recentSearches}",
10455
10455
  ctx
10456
10456
  });
10457
10457
 
10458
10458
  return block;
10459
10459
  }
10460
10460
 
10461
- // (716:14) {#if !mostPlayedScreen}
10461
+ // (718:14) {#if !mostPlayedScreen}
10462
10462
  function create_if_block_12(ctx) {
10463
10463
  let div3;
10464
10464
  let div0;
@@ -10491,28 +10491,28 @@
10491
10491
  t3 = space();
10492
10492
  div1 = element("div");
10493
10493
  span = element("span");
10494
- t4 = text(/*numberOfFilters*/ ctx[31]);
10494
+ t4 = text(/*numberOfFilters*/ ctx[32]);
10495
10495
  attr_dev(div0, "class", "FilterButton");
10496
- add_location(div0, file, 717, 18, 26962);
10497
- add_location(style, file, 719, 109, 27163);
10498
- add_location(defs, file, 719, 103, 27157);
10496
+ add_location(div0, file, 719, 18, 27040);
10497
+ add_location(style, file, 721, 109, 27241);
10498
+ add_location(defs, file, 721, 103, 27235);
10499
10499
  attr_dev(path, "class", "a");
10500
10500
  attr_dev(path, "d", "M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z");
10501
10501
  attr_dev(path, "transform", "translate(-5 -6.2)");
10502
- add_location(path, file, 719, 145, 27199);
10502
+ add_location(path, file, 721, 145, 27277);
10503
10503
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
10504
10504
  attr_dev(svg, "width", "20");
10505
10505
  attr_dev(svg, "height", "20");
10506
10506
  attr_dev(svg, "viewBox", "0 0 26 26");
10507
- add_location(svg, file, 719, 20, 27074);
10507
+ add_location(svg, file, 721, 20, 27152);
10508
10508
  attr_dev(span, "class", "NumberOfFilters");
10509
- add_location(span, file, 721, 22, 27760);
10509
+ add_location(span, file, 723, 22, 27838);
10510
10510
  attr_dev(div1, "class", "NumberOfFiltersContainer");
10511
- add_location(div1, file, 720, 20, 27699);
10511
+ add_location(div1, file, 722, 20, 27777);
10512
10512
  attr_dev(div2, "class", "FilterIconContainer");
10513
- add_location(div2, file, 718, 18, 27020);
10513
+ add_location(div2, file, 720, 18, 27098);
10514
10514
  attr_dev(div3, "class", "FilterButtonWrapper");
10515
- add_location(div3, file, 716, 16, 26870);
10515
+ add_location(div3, file, 718, 16, 26948);
10516
10516
  },
10517
10517
  m: function mount(target, anchor) {
10518
10518
  insert_dev(target, div3, anchor);
@@ -10530,12 +10530,12 @@
10530
10530
  append_dev(span, t4);
10531
10531
 
10532
10532
  if (!mounted) {
10533
- dispose = listen_dev(div3, "click", /*click_handler_3*/ ctx[56], false, false, false);
10533
+ dispose = listen_dev(div3, "click", /*click_handler_3*/ ctx[57], false, false, false);
10534
10534
  mounted = true;
10535
10535
  }
10536
10536
  },
10537
10537
  p: function update(ctx, dirty) {
10538
- if (dirty[1] & /*numberOfFilters*/ 1) set_data_dev(t4, /*numberOfFilters*/ ctx[31]);
10538
+ if (dirty[1] & /*numberOfFilters*/ 2) set_data_dev(t4, /*numberOfFilters*/ ctx[32]);
10539
10539
  },
10540
10540
  d: function destroy(detaching) {
10541
10541
  if (detaching) detach_dev(div3);
@@ -10548,14 +10548,14 @@
10548
10548
  block,
10549
10549
  id: create_if_block_12.name,
10550
10550
  type: "if",
10551
- source: "(716:14) {#if !mostPlayedScreen}",
10551
+ source: "(718:14) {#if !mostPlayedScreen}",
10552
10552
  ctx
10553
10553
  });
10554
10554
 
10555
10555
  return block;
10556
10556
  }
10557
10557
 
10558
- // (862:10) {#if !recentSearches}
10558
+ // (864:10) {#if !recentSearches}
10559
10559
  function create_if_block_8(ctx) {
10560
10560
  let casino_games_category_section;
10561
10561
 
@@ -10568,12 +10568,12 @@
10568
10568
  set_custom_element_data(casino_games_category_section, "favorites", /*favorites*/ ctx[9]);
10569
10569
  set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
10570
10570
  set_custom_element_data(casino_games_category_section, "session", /*session*/ ctx[3]);
10571
- set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[27]);
10571
+ set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[28]);
10572
10572
  set_custom_element_data(casino_games_category_section, "categorygames", "9");
10573
10573
  set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
10574
10574
  set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
10575
10575
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
10576
- add_location(casino_games_category_section, file, 862, 12, 34811);
10576
+ add_location(casino_games_category_section, file, 864, 12, 34889);
10577
10577
  },
10578
10578
  m: function mount(target, anchor) {
10579
10579
  insert_dev(target, casino_games_category_section, anchor);
@@ -10603,8 +10603,8 @@
10603
10603
  set_custom_element_data(casino_games_category_section, "session", /*session*/ ctx[3]);
10604
10604
  }
10605
10605
 
10606
- if (dirty[0] & /*activeCategory*/ 134217728) {
10607
- set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[27]);
10606
+ if (dirty[0] & /*activeCategory*/ 268435456) {
10607
+ set_custom_element_data(casino_games_category_section, "categoryid", /*activeCategory*/ ctx[28]);
10608
10608
  }
10609
10609
 
10610
10610
  if (dirty[0] & /*clientstyling*/ 32) {
@@ -10624,19 +10624,19 @@
10624
10624
  block,
10625
10625
  id: create_if_block_8.name,
10626
10626
  type: "if",
10627
- source: "(862:10) {#if !recentSearches}",
10627
+ source: "(864:10) {#if !recentSearches}",
10628
10628
  ctx
10629
10629
  });
10630
10630
 
10631
10631
  return block;
10632
10632
  }
10633
10633
 
10634
- // (842:35)
10634
+ // (844:35)
10635
10635
  function create_if_block_6(ctx) {
10636
10636
  let if_block_anchor;
10637
10637
 
10638
10638
  function select_block_type_3(ctx, dirty) {
10639
- if (/*mostPlayedEmpty*/ ctx[23]) return create_if_block_7;
10639
+ if (/*mostPlayedEmpty*/ ctx[24]) return create_if_block_7;
10640
10640
  return create_else_block_1;
10641
10641
  }
10642
10642
 
@@ -10675,14 +10675,14 @@
10675
10675
  block,
10676
10676
  id: create_if_block_6.name,
10677
10677
  type: "if",
10678
- source: "(842:35) ",
10678
+ source: "(844:35) ",
10679
10679
  ctx
10680
10680
  });
10681
10681
 
10682
10682
  return block;
10683
10683
  }
10684
10684
 
10685
- // (828:34)
10685
+ // (830:34)
10686
10686
  function create_if_block_5(ctx) {
10687
10687
  let casino_games_category_section;
10688
10688
  let showFavoriteGames_action;
@@ -10702,13 +10702,13 @@
10702
10702
  set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
10703
10703
  set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
10704
10704
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
10705
- add_location(casino_games_category_section, file, 828, 10, 33684);
10705
+ add_location(casino_games_category_section, file, 830, 10, 33762);
10706
10706
  },
10707
10707
  m: function mount(target, anchor) {
10708
10708
  insert_dev(target, casino_games_category_section, anchor);
10709
10709
 
10710
10710
  if (!mounted) {
10711
- dispose = action_destroyer(showFavoriteGames_action = /*showFavoriteGames*/ ctx[36].call(null, casino_games_category_section, (`${/*endpoint*/ ctx[0]}/player/${/*playerID*/ ctx[15]}/favorites/`, /*sessionID*/ ctx[16], /*playerID*/ ctx[15])));
10711
+ dispose = action_destroyer(showFavoriteGames_action = /*showFavoriteGames*/ ctx[37].call(null, casino_games_category_section, (`${/*endpoint*/ ctx[0]}/player/${/*playerID*/ ctx[16]}/favorites/`, /*sessionID*/ ctx[17], /*playerID*/ ctx[16])));
10712
10712
  mounted = true;
10713
10713
  }
10714
10714
  },
@@ -10745,7 +10745,7 @@
10745
10745
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
10746
10746
  }
10747
10747
 
10748
- if (showFavoriteGames_action && is_function(showFavoriteGames_action.update) && dirty[0] & /*endpoint, playerID, sessionID*/ 98305) showFavoriteGames_action.update.call(null, (`${/*endpoint*/ ctx[0]}/player/${/*playerID*/ ctx[15]}/favorites/`, /*sessionID*/ ctx[16], /*playerID*/ ctx[15]));
10748
+ if (showFavoriteGames_action && is_function(showFavoriteGames_action.update) && dirty[0] & /*endpoint, playerID, sessionID*/ 196609) showFavoriteGames_action.update.call(null, (`${/*endpoint*/ ctx[0]}/player/${/*playerID*/ ctx[16]}/favorites/`, /*sessionID*/ ctx[17], /*playerID*/ ctx[16]));
10749
10749
  },
10750
10750
  d: function destroy(detaching) {
10751
10751
  if (detaching) detach_dev(casino_games_category_section);
@@ -10758,17 +10758,17 @@
10758
10758
  block,
10759
10759
  id: create_if_block_5.name,
10760
10760
  type: "if",
10761
- source: "(828:34) ",
10761
+ source: "(830:34) ",
10762
10762
  ctx
10763
10763
  });
10764
10764
 
10765
10765
  return block;
10766
10766
  }
10767
10767
 
10768
- // (809:8) {#if lobbyScreen}
10768
+ // (811:8) {#if lobbyScreen}
10769
10769
  function create_if_block_4(ctx) {
10770
10770
  let each_1_anchor;
10771
- let each_value = /*shownCategories*/ ctx[26];
10771
+ let each_value = /*shownCategories*/ ctx[27];
10772
10772
  validate_each_argument(each_value);
10773
10773
  let each_blocks = [];
10774
10774
 
@@ -10792,8 +10792,8 @@
10792
10792
  insert_dev(target, each_1_anchor, anchor);
10793
10793
  },
10794
10794
  p: function update(ctx, dirty) {
10795
- if (dirty[0] & /*session, userid, endpoint, datasource, lang, shownCategories, favorites, categorybackground, clientstyling, clientstylingurl*/ 67109631) {
10796
- each_value = /*shownCategories*/ ctx[26];
10795
+ if (dirty[0] & /*session, userid, endpoint, datasource, lang, shownCategories, favorites, categorybackground, clientstyling, clientstylingurl*/ 134218495) {
10796
+ each_value = /*shownCategories*/ ctx[27];
10797
10797
  validate_each_argument(each_value);
10798
10798
  let i;
10799
10799
 
@@ -10826,14 +10826,14 @@
10826
10826
  block,
10827
10827
  id: create_if_block_4.name,
10828
10828
  type: "if",
10829
- source: "(809:8) {#if lobbyScreen}",
10829
+ source: "(811:8) {#if lobbyScreen}",
10830
10830
  ctx
10831
10831
  });
10832
10832
 
10833
10833
  return block;
10834
10834
  }
10835
10835
 
10836
- // (794:6) {#if searched}
10836
+ // (796:6) {#if searched}
10837
10837
  function create_if_block_3(ctx) {
10838
10838
  let casino_games_category_section;
10839
10839
  let sendSearchData_action;
@@ -10853,13 +10853,13 @@
10853
10853
  set_custom_element_data(casino_games_category_section, "categoryindex", "0");
10854
10854
  set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
10855
10855
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
10856
- add_location(casino_games_category_section, file, 794, 8, 32554);
10856
+ add_location(casino_games_category_section, file, 796, 8, 32632);
10857
10857
  },
10858
10858
  m: function mount(target, anchor) {
10859
10859
  insert_dev(target, casino_games_category_section, anchor);
10860
10860
 
10861
10861
  if (!mounted) {
10862
- dispose = action_destroyer(sendSearchData_action = /*sendSearchData*/ ctx[44].call(null, casino_games_category_section, /*searchArray*/ ctx[25]));
10862
+ dispose = action_destroyer(sendSearchData_action = /*sendSearchData*/ ctx[45].call(null, casino_games_category_section, /*searchArray*/ ctx[26]));
10863
10863
  mounted = true;
10864
10864
  }
10865
10865
  },
@@ -10896,7 +10896,7 @@
10896
10896
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
10897
10897
  }
10898
10898
 
10899
- if (sendSearchData_action && is_function(sendSearchData_action.update) && dirty[0] & /*searchArray*/ 33554432) sendSearchData_action.update.call(null, /*searchArray*/ ctx[25]);
10899
+ if (sendSearchData_action && is_function(sendSearchData_action.update) && dirty[0] & /*searchArray*/ 67108864) sendSearchData_action.update.call(null, /*searchArray*/ ctx[26]);
10900
10900
  },
10901
10901
  d: function destroy(detaching) {
10902
10902
  if (detaching) detach_dev(casino_games_category_section);
@@ -10909,17 +10909,17 @@
10909
10909
  block,
10910
10910
  id: create_if_block_3.name,
10911
10911
  type: "if",
10912
- source: "(794:6) {#if searched}",
10912
+ source: "(796:6) {#if searched}",
10913
10913
  ctx
10914
10914
  });
10915
10915
 
10916
10916
  return block;
10917
10917
  }
10918
10918
 
10919
- // (791:4) {#if isLoading}
10919
+ // (793:4) {#if isLoading}
10920
10920
  function create_if_block_2(ctx) {
10921
10921
  let p;
10922
- let t_value = /*$_*/ ctx[33]("casinoPage.loading") + "";
10922
+ let t_value = /*$_*/ ctx[34]("casinoPage.loading") + "";
10923
10923
  let t;
10924
10924
 
10925
10925
  const block = {
@@ -10927,14 +10927,14 @@
10927
10927
  p = element("p");
10928
10928
  t = text(t_value);
10929
10929
  attr_dev(p, "class", "SearchLoading");
10930
- add_location(p, file, 791, 6, 32457);
10930
+ add_location(p, file, 793, 6, 32535);
10931
10931
  },
10932
10932
  m: function mount(target, anchor) {
10933
10933
  insert_dev(target, p, anchor);
10934
10934
  append_dev(p, t);
10935
10935
  },
10936
10936
  p: function update(ctx, dirty) {
10937
- if (dirty[1] & /*$_*/ 4 && t_value !== (t_value = /*$_*/ ctx[33]("casinoPage.loading") + "")) set_data_dev(t, t_value);
10937
+ if (dirty[1] & /*$_*/ 8 && t_value !== (t_value = /*$_*/ ctx[34]("casinoPage.loading") + "")) set_data_dev(t, t_value);
10938
10938
  },
10939
10939
  d: function destroy(detaching) {
10940
10940
  if (detaching) detach_dev(p);
@@ -10945,14 +10945,14 @@
10945
10945
  block,
10946
10946
  id: create_if_block_2.name,
10947
10947
  type: "if",
10948
- source: "(791:4) {#if isLoading}",
10948
+ source: "(793:4) {#if isLoading}",
10949
10949
  ctx
10950
10950
  });
10951
10951
 
10952
10952
  return block;
10953
10953
  }
10954
10954
 
10955
- // (845:10) {:else}
10955
+ // (847:10) {:else}
10956
10956
  function create_else_block_1(ctx) {
10957
10957
  let casino_games_category_section;
10958
10958
 
@@ -10971,7 +10971,7 @@
10971
10971
  set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
10972
10972
  set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
10973
10973
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
10974
- add_location(casino_games_category_section, file, 845, 12, 34288);
10974
+ add_location(casino_games_category_section, file, 847, 12, 34366);
10975
10975
  },
10976
10976
  m: function mount(target, anchor) {
10977
10977
  insert_dev(target, casino_games_category_section, anchor);
@@ -11018,14 +11018,14 @@
11018
11018
  block,
11019
11019
  id: create_else_block_1.name,
11020
11020
  type: "else",
11021
- source: "(845:10) {:else}",
11021
+ source: "(847:10) {:else}",
11022
11022
  ctx
11023
11023
  });
11024
11024
 
11025
11025
  return block;
11026
11026
  }
11027
11027
 
11028
- // (843:10) {#if mostPlayedEmpty}
11028
+ // (845:10) {#if mostPlayedEmpty}
11029
11029
  function create_if_block_7(ctx) {
11030
11030
  let p;
11031
11031
 
@@ -11034,7 +11034,7 @@
11034
11034
  p = element("p");
11035
11035
  p.textContent = "You have no games played!";
11036
11036
  attr_dev(p, "class", "SearchLoading");
11037
- add_location(p, file, 843, 12, 34203);
11037
+ add_location(p, file, 845, 12, 34281);
11038
11038
  },
11039
11039
  m: function mount(target, anchor) {
11040
11040
  insert_dev(target, p, anchor);
@@ -11049,14 +11049,14 @@
11049
11049
  block,
11050
11050
  id: create_if_block_7.name,
11051
11051
  type: "if",
11052
- source: "(843:10) {#if mostPlayedEmpty}",
11052
+ source: "(845:10) {#if mostPlayedEmpty}",
11053
11053
  ctx
11054
11054
  });
11055
11055
 
11056
11056
  return block;
11057
11057
  }
11058
11058
 
11059
- // (810:10) {#each shownCategories as category, index}
11059
+ // (812:10) {#each shownCategories as category, index}
11060
11060
  function create_each_block(ctx) {
11061
11061
  let casino_games_category_section;
11062
11062
  let casino_games_category_section_categoryid_value;
@@ -11072,25 +11072,25 @@
11072
11072
  set_custom_element_data(casino_games_category_section, "endpoint", /*endpoint*/ ctx[0]);
11073
11073
  set_custom_element_data(casino_games_category_section, "datasource", /*datasource*/ ctx[1]);
11074
11074
  set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
11075
- set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value = /*category*/ ctx[110]);
11076
- set_custom_element_data(casino_games_category_section, "categoryindex", /*index*/ ctx[112]);
11075
+ set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value = /*category*/ ctx[111]);
11076
+ set_custom_element_data(casino_games_category_section, "categoryindex", /*index*/ ctx[113]);
11077
11077
  set_custom_element_data(casino_games_category_section, "categorygames", "9");
11078
11078
  set_custom_element_data(casino_games_category_section, "favorites", /*favorites*/ ctx[9]);
11079
11079
  set_custom_element_data(casino_games_category_section, "class", "CategoryContainer");
11080
11080
 
11081
- set_style(casino_games_category_section, "background-color", /*index*/ ctx[112] % 2 !== 0
11081
+ set_style(casino_games_category_section, "background-color", /*index*/ ctx[113] % 2 !== 0
11082
11082
  ? /*categorybackground*/ ctx[7]
11083
11083
  : "transparent");
11084
11084
 
11085
11085
  set_custom_element_data(casino_games_category_section, "clientstyling", /*clientstyling*/ ctx[5]);
11086
11086
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
11087
- add_location(casino_games_category_section, file, 810, 12, 33029);
11087
+ add_location(casino_games_category_section, file, 812, 12, 33107);
11088
11088
  },
11089
11089
  m: function mount(target, anchor) {
11090
11090
  insert_dev(target, casino_games_category_section, anchor);
11091
11091
 
11092
11092
  if (!mounted) {
11093
- dispose = action_destroyer(sendCategoryData_action = /*sendCategoryData*/ ctx[43].call(null, casino_games_category_section, /*category*/ ctx[110]));
11093
+ dispose = action_destroyer(sendCategoryData_action = /*sendCategoryData*/ ctx[44].call(null, casino_games_category_section, /*category*/ ctx[111]));
11094
11094
  mounted = true;
11095
11095
  }
11096
11096
  },
@@ -11117,7 +11117,7 @@
11117
11117
  set_custom_element_data(casino_games_category_section, "lang", /*lang*/ ctx[2]);
11118
11118
  }
11119
11119
 
11120
- if (dirty[0] & /*shownCategories*/ 67108864 && casino_games_category_section_categoryid_value !== (casino_games_category_section_categoryid_value = /*category*/ ctx[110])) {
11120
+ if (dirty[0] & /*shownCategories*/ 134217728 && casino_games_category_section_categoryid_value !== (casino_games_category_section_categoryid_value = /*category*/ ctx[111])) {
11121
11121
  set_custom_element_data(casino_games_category_section, "categoryid", casino_games_category_section_categoryid_value);
11122
11122
  }
11123
11123
 
@@ -11126,7 +11126,7 @@
11126
11126
  }
11127
11127
 
11128
11128
  if (dirty[0] & /*categorybackground*/ 128) {
11129
- set_style(casino_games_category_section, "background-color", /*index*/ ctx[112] % 2 !== 0
11129
+ set_style(casino_games_category_section, "background-color", /*index*/ ctx[113] % 2 !== 0
11130
11130
  ? /*categorybackground*/ ctx[7]
11131
11131
  : "transparent");
11132
11132
  }
@@ -11139,7 +11139,7 @@
11139
11139
  set_custom_element_data(casino_games_category_section, "clientstylingurl", /*clientstylingurl*/ ctx[6]);
11140
11140
  }
11141
11141
 
11142
- if (sendCategoryData_action && is_function(sendCategoryData_action.update) && dirty[0] & /*shownCategories*/ 67108864) sendCategoryData_action.update.call(null, /*category*/ ctx[110]);
11142
+ if (sendCategoryData_action && is_function(sendCategoryData_action.update) && dirty[0] & /*shownCategories*/ 134217728) sendCategoryData_action.update.call(null, /*category*/ ctx[111]);
11143
11143
  },
11144
11144
  d: function destroy(detaching) {
11145
11145
  if (detaching) detach_dev(casino_games_category_section);
@@ -11152,14 +11152,14 @@
11152
11152
  block,
11153
11153
  id: create_each_block.name,
11154
11154
  type: "each",
11155
- source: "(810:10) {#each shownCategories as category, index}",
11155
+ source: "(812:10) {#each shownCategories as category, index}",
11156
11156
  ctx
11157
11157
  });
11158
11158
 
11159
11159
  return block;
11160
11160
  }
11161
11161
 
11162
- // (880:4) {#if isLoggedIn}
11162
+ // (882:4) {#if isLoggedIn && haspanicbutton === "true"}
11163
11163
  function create_if_block_1(ctx) {
11164
11164
  let div1;
11165
11165
  let div0;
@@ -11167,11 +11167,11 @@
11167
11167
  let path;
11168
11168
  let t0;
11169
11169
  let p;
11170
- let t1_value = /*$_*/ ctx[33]("casinoPage.break") + "";
11170
+ let t1_value = /*$_*/ ctx[34]("casinoPage.break") + "";
11171
11171
  let t1;
11172
11172
  let t2;
11173
11173
  let button;
11174
- let t3_value = /*$_*/ ctx[33]("casinoPage.breakButton") + "";
11174
+ let t3_value = /*$_*/ ctx[34]("casinoPage.breakButton") + "";
11175
11175
  let t3;
11176
11176
  let mounted;
11177
11177
  let dispose;
@@ -11192,7 +11192,7 @@
11192
11192
  attr_dev(path, "stroke-linejoin", "round");
11193
11193
  attr_dev(path, "stroke-width", "2");
11194
11194
  attr_dev(path, "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z");
11195
- add_location(path, file, 882, 140, 35570);
11195
+ add_location(path, file, 884, 140, 35677);
11196
11196
  attr_dev(svg, "class", "w-1 h-1");
11197
11197
  attr_dev(svg, "fill", "none");
11198
11198
  attr_dev(svg, "stroke", "white");
@@ -11200,18 +11200,18 @@
11200
11200
  attr_dev(svg, "height", "34px");
11201
11201
  attr_dev(svg, "viewBox", "0 0 24 24");
11202
11202
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11203
- add_location(svg, file, 882, 10, 35440);
11204
- add_location(p, file, 883, 10, 35712);
11203
+ add_location(svg, file, 884, 10, 35547);
11204
+ add_location(p, file, 885, 10, 35819);
11205
11205
  attr_dev(div0, "class", "PanicText");
11206
- add_location(div0, file, 881, 8, 35406);
11206
+ add_location(div0, file, 883, 8, 35513);
11207
11207
  attr_dev(button, "class", "PanicButton");
11208
- add_location(button, file, 885, 8, 35767);
11208
+ add_location(button, file, 887, 8, 35874);
11209
11209
 
11210
- attr_dev(div1, "class", "PanicSection " + (getDevice(/*userAgent*/ ctx[35]) !== "PC"
11210
+ attr_dev(div1, "class", "PanicSection " + (getDevice(/*userAgent*/ ctx[36]) !== "PC"
11211
11211
  ? "PanicSectionMobile"
11212
11212
  : ""));
11213
11213
 
11214
- add_location(div1, file, 880, 6, 35309);
11214
+ add_location(div1, file, 882, 6, 35416);
11215
11215
  },
11216
11216
  m: function mount(target, anchor) {
11217
11217
  insert_dev(target, div1, anchor);
@@ -11226,13 +11226,13 @@
11226
11226
  append_dev(button, t3);
11227
11227
 
11228
11228
  if (!mounted) {
11229
- dispose = listen_dev(button, "click", /*click_handler_7*/ ctx[64], false, false, false);
11229
+ dispose = listen_dev(button, "click", /*click_handler_7*/ ctx[65], false, false, false);
11230
11230
  mounted = true;
11231
11231
  }
11232
11232
  },
11233
11233
  p: function update(ctx, dirty) {
11234
- if (dirty[1] & /*$_*/ 4 && t1_value !== (t1_value = /*$_*/ ctx[33]("casinoPage.break") + "")) set_data_dev(t1, t1_value);
11235
- if (dirty[1] & /*$_*/ 4 && t3_value !== (t3_value = /*$_*/ ctx[33]("casinoPage.breakButton") + "")) set_data_dev(t3, t3_value);
11234
+ if (dirty[1] & /*$_*/ 8 && t1_value !== (t1_value = /*$_*/ ctx[34]("casinoPage.break") + "")) set_data_dev(t1, t1_value);
11235
+ if (dirty[1] & /*$_*/ 8 && t3_value !== (t3_value = /*$_*/ ctx[34]("casinoPage.breakButton") + "")) set_data_dev(t3, t3_value);
11236
11236
  },
11237
11237
  d: function destroy(detaching) {
11238
11238
  if (detaching) detach_dev(div1);
@@ -11245,7 +11245,7 @@
11245
11245
  block,
11246
11246
  id: create_if_block_1.name,
11247
11247
  type: "if",
11248
- source: "(880:4) {#if isLoggedIn}",
11248
+ source: "(882:4) {#if isLoggedIn && haspanicbutton === \\\"true\\\"}",
11249
11249
  ctx
11250
11250
  });
11251
11251
 
@@ -11256,7 +11256,7 @@
11256
11256
  let if_block_anchor;
11257
11257
 
11258
11258
  function select_block_type(ctx, dirty) {
11259
- if (/*hasErrors*/ ctx[13]) return create_if_block;
11259
+ if (/*hasErrors*/ ctx[14]) return create_if_block;
11260
11260
  return create_else_block;
11261
11261
  }
11262
11262
 
@@ -11313,7 +11313,7 @@
11313
11313
  function instance($$self, $$props, $$invalidate) {
11314
11314
  let $_;
11315
11315
  validate_store(X, "_");
11316
- component_subscribe($$self, X, $$value => $$invalidate(33, $_ = $$value));
11316
+ component_subscribe($$self, X, $$value => $$invalidate(34, $_ = $$value));
11317
11317
  let { $$slots: slots = {}, $$scope } = $$props;
11318
11318
  validate_slots("undefined", slots, []);
11319
11319
 
@@ -11331,6 +11331,7 @@
11331
11331
  let { mostplayed = "" } = $$props;
11332
11332
  let { lobbyid = "casinodefault" } = $$props; // identifier for recent searched
11333
11333
  let { containermaxwidth = "" } = $$props;
11334
+ let { haspanicbutton = "false" } = $$props;
11334
11335
 
11335
11336
  // CasinoPage loading state
11336
11337
  let isLoading = false;
@@ -11391,33 +11392,33 @@
11391
11392
  });
11392
11393
 
11393
11394
  const CategoryChangeHandler = categoryEvent => {
11394
- $$invalidate(19, searched = false);
11395
- $$invalidate(11, searchValue = "");
11395
+ $$invalidate(20, searched = false);
11396
+ $$invalidate(12, searchValue = "");
11396
11397
 
11397
11398
  switch (categoryEvent.data.itemId) {
11398
11399
  case "LOBBY":
11399
- $$invalidate(21, lobbyScreen = true);
11400
- $$invalidate(17, favoritesScreen = false);
11401
- $$invalidate(27, activeCategory = "");
11402
- $$invalidate(22, mostPlayedScreen = false);
11400
+ $$invalidate(22, lobbyScreen = true);
11401
+ $$invalidate(18, favoritesScreen = false);
11402
+ $$invalidate(28, activeCategory = "");
11403
+ $$invalidate(23, mostPlayedScreen = false);
11403
11404
  scrollTop = true;
11404
11405
  break;
11405
11406
  case "FAVORITES":
11406
- $$invalidate(21, lobbyScreen = false);
11407
- $$invalidate(17, favoritesScreen = true);
11408
- $$invalidate(22, mostPlayedScreen = false);
11409
- $$invalidate(27, activeCategory = "");
11407
+ $$invalidate(22, lobbyScreen = false);
11408
+ $$invalidate(18, favoritesScreen = true);
11409
+ $$invalidate(23, mostPlayedScreen = false);
11410
+ $$invalidate(28, activeCategory = "");
11410
11411
  break;
11411
11412
  case "MOSTPLAYED":
11412
11413
  if (mostplayed == "true") {
11413
- $$invalidate(12, isLoading = true);
11414
+ $$invalidate(13, isLoading = true);
11414
11415
 
11415
11416
  getMostPlayedGames({
11416
11417
  limit: 100,
11417
11418
  device: getDevice(userAgent),
11418
11419
  rounds: 10
11419
11420
  }).then(res => {
11420
- $$invalidate(12, isLoading = false);
11421
+ $$invalidate(13, isLoading = false);
11421
11422
 
11422
11423
  if (res.count > 0) {
11423
11424
  let promises = [];
@@ -11433,20 +11434,21 @@
11433
11434
  window.postMessage({ type: "MostPlayedData", mostPlayedGames }, window.location.href);
11434
11435
  });
11435
11436
  } else {
11436
- $$invalidate(23, mostPlayedEmpty = true);
11437
+ $$invalidate(24, mostPlayedEmpty = true);
11437
11438
  }
11438
11439
  });
11439
11440
 
11440
- $$invalidate(27, activeCategory = "");
11441
- $$invalidate(21, lobbyScreen = false);
11442
- $$invalidate(22, mostPlayedScreen = true);
11441
+ $$invalidate(28, activeCategory = "");
11442
+ $$invalidate(22, lobbyScreen = false);
11443
+ $$invalidate(18, favoritesScreen = false);
11444
+ $$invalidate(23, mostPlayedScreen = true);
11443
11445
  }
11444
11446
  break;
11445
11447
  default:
11446
- $$invalidate(21, lobbyScreen = false);
11447
- $$invalidate(17, favoritesScreen = false);
11448
- $$invalidate(22, mostPlayedScreen = false);
11449
- $$invalidate(27, activeCategory = categoryEvent.data.itemId);
11448
+ $$invalidate(22, lobbyScreen = false);
11449
+ $$invalidate(18, favoritesScreen = false);
11450
+ $$invalidate(23, mostPlayedScreen = false);
11451
+ $$invalidate(28, activeCategory = categoryEvent.data.itemId);
11450
11452
  setTimeout(() => {
11451
11453
  window.postMessage(
11452
11454
  {
@@ -11468,8 +11470,8 @@
11468
11470
  CategoryChangeHandler(e);
11469
11471
  break;
11470
11472
  case "UserSessionID":
11471
- $$invalidate(16, sessionID = e.data.session);
11472
- $$invalidate(15, playerID = e.data.userID);
11473
+ $$invalidate(17, sessionID = e.data.session);
11474
+ $$invalidate(16, playerID = e.data.userID);
11473
11475
  if (playerID && playerID.length && sessionID && sessionID.length > 0) {
11474
11476
  getFavoredGames(endpoint, sessionID, playerID);
11475
11477
  }
@@ -11715,14 +11717,14 @@
11715
11717
  //
11716
11718
  const getCategories = url => {
11717
11719
  return new Promise((resolve, reject) => {
11718
- $$invalidate(12, isLoading = true);
11720
+ $$invalidate(13, isLoading = true);
11719
11721
 
11720
11722
  fetch(url).then(res => res.json()).then(data => {
11721
- $$invalidate(12, isLoading = false);
11723
+ $$invalidate(13, isLoading = false);
11722
11724
  resolve(data);
11723
11725
  }).catch(err => {
11724
- $$invalidate(13, hasErrors = true);
11725
- $$invalidate(12, isLoading = false);
11726
+ $$invalidate(14, hasErrors = true);
11727
+ $$invalidate(13, isLoading = false);
11726
11728
  console.error(err);
11727
11729
  reject(err);
11728
11730
  });
@@ -11731,14 +11733,14 @@
11731
11733
 
11732
11734
  const getGames = url => {
11733
11735
  return new Promise((resolve, reject) => {
11734
- $$invalidate(12, isLoading = true);
11736
+ $$invalidate(13, isLoading = true);
11735
11737
 
11736
11738
  fetch(url).then(res => res.json()).then(categoryData => {
11737
- $$invalidate(12, isLoading = false);
11739
+ $$invalidate(13, isLoading = false);
11738
11740
  resolve(categoryData);
11739
11741
  }).catch(err => {
11740
- $$invalidate(13, hasErrors = true);
11741
- $$invalidate(12, isLoading = false);
11742
+ $$invalidate(14, hasErrors = true);
11743
+ $$invalidate(13, isLoading = false);
11742
11744
  console.error(err);
11743
11745
  reject(err);
11744
11746
  });
@@ -11747,14 +11749,14 @@
11747
11749
 
11748
11750
  const getGame = url => {
11749
11751
  return new Promise((resolve, reject) => {
11750
- $$invalidate(12, isLoading = true);
11752
+ $$invalidate(13, isLoading = true);
11751
11753
 
11752
11754
  fetch(url).then(res => res.json()).then(categoryData => {
11753
- $$invalidate(12, isLoading = false);
11755
+ $$invalidate(13, isLoading = false);
11754
11756
  resolve(categoryData[0]);
11755
11757
  }).catch(err => {
11756
- $$invalidate(13, hasErrors = true);
11757
- $$invalidate(12, isLoading = false);
11758
+ $$invalidate(14, hasErrors = true);
11759
+ $$invalidate(13, isLoading = false);
11758
11760
  console.error(err);
11759
11761
  reject(err);
11760
11762
  });
@@ -11782,8 +11784,8 @@
11782
11784
  }
11783
11785
 
11784
11786
  if (lobbyScreen == true && !initialLoaded) {
11785
- $$invalidate(20, lobbyViewAux = lobbyScreen);
11786
- $$invalidate(21, lobbyScreen = false);
11787
+ $$invalidate(21, lobbyViewAux = lobbyScreen);
11788
+ $$invalidate(22, lobbyScreen = false);
11787
11789
  }
11788
11790
 
11789
11791
  let promises = [];
@@ -11800,7 +11802,7 @@
11800
11802
  }
11801
11803
 
11802
11804
  Promise.all(promises).then(res => {
11803
- $$invalidate(25, searchArray = res);
11805
+ $$invalidate(26, searchArray = res);
11804
11806
  sendRecentSearchData({}, searchArray);
11805
11807
  });
11806
11808
  } else {
@@ -11814,11 +11816,11 @@
11814
11816
  searchFocus = false;
11815
11817
 
11816
11818
  if (searchValue.length < 2 && !gameFocus) {
11817
- $$invalidate(19, searched = false);
11818
- $$invalidate(25, searchArray = []);
11819
- $$invalidate(18, recentSearches = false);
11820
- $$invalidate(21, lobbyScreen = lobbyViewAux);
11821
- $$invalidate(20, lobbyViewAux = false);
11819
+ $$invalidate(20, searched = false);
11820
+ $$invalidate(26, searchArray = []);
11821
+ $$invalidate(19, recentSearches = false);
11822
+ $$invalidate(22, lobbyScreen = lobbyViewAux);
11823
+ $$invalidate(21, lobbyViewAux = false);
11822
11824
 
11823
11825
  if (lobbyScreen === false) {
11824
11826
  window.postMessage(
@@ -11854,9 +11856,9 @@
11854
11856
  // @TODO let's do some small changes around here in order to have this search functionality pretty written, 'cuz right now is kinda shitty
11855
11857
  const searchValueChanged = () => {
11856
11858
  if (searchValue.length >= 2) {
11857
- $$invalidate(50, searchBarCleared = true);
11859
+ $$invalidate(51, searchBarCleared = true);
11858
11860
  } else {
11859
- $$invalidate(50, searchBarCleared = false);
11861
+ $$invalidate(51, searchBarCleared = false);
11860
11862
  }
11861
11863
  };
11862
11864
 
@@ -11866,9 +11868,9 @@
11866
11868
  if (vendors) {
11867
11869
  if (currentCategoryId) {
11868
11870
  if (vendors[currentCategoryId]) {
11869
- $$invalidate(31, numberOfFilters = vendors[currentCategoryId].length);
11871
+ $$invalidate(32, numberOfFilters = vendors[currentCategoryId].length);
11870
11872
  } else {
11871
- $$invalidate(31, numberOfFilters = 0);
11873
+ $$invalidate(32, numberOfFilters = 0);
11872
11874
  }
11873
11875
  }
11874
11876
  }
@@ -11879,10 +11881,10 @@
11879
11881
  };
11880
11882
 
11881
11883
  const clearSearchbar = () => {
11882
- $$invalidate(50, searchBarCleared = true);
11883
- $$invalidate(11, searchValue = "");
11884
- $$invalidate(25, searchArray = []);
11885
- $$invalidate(18, recentSearches = false);
11884
+ $$invalidate(51, searchBarCleared = true);
11885
+ $$invalidate(12, searchValue = "");
11886
+ $$invalidate(26, searchArray = []);
11887
+ $$invalidate(19, recentSearches = false);
11886
11888
  onBlur();
11887
11889
  };
11888
11890
 
@@ -11960,31 +11962,31 @@
11960
11962
  }
11961
11963
 
11962
11964
  if (document.documentElement.scrollTop > searchPositionTop || searchPositionTop > 130) {
11963
- $$invalidate(24, adjustingScroll = true);
11965
+ $$invalidate(25, adjustingScroll = true);
11964
11966
  } else {
11965
- $$invalidate(24, adjustingScroll = false);
11967
+ $$invalidate(25, adjustingScroll = false);
11966
11968
  }
11967
11969
  };
11968
11970
 
11969
11971
  const checkAttrs = () => {
11970
11972
  if (!endpoint) {
11971
11973
  error = "Endpoint is missing! Please provide a valid endpointURL.";
11972
- $$invalidate(13, hasErrors = true);
11973
- $$invalidate(12, isLoading = false);
11974
+ $$invalidate(14, hasErrors = true);
11975
+ $$invalidate(13, isLoading = false);
11974
11976
  console.error(error);
11975
11977
  }
11976
11978
 
11977
11979
  if (!datasource) {
11978
11980
  error = "Datasource is missing! Please provide a valid datasource.";
11979
- $$invalidate(13, hasErrors = true);
11980
- $$invalidate(12, isLoading = false);
11981
+ $$invalidate(14, hasErrors = true);
11982
+ $$invalidate(13, isLoading = false);
11981
11983
  console.error(error);
11982
11984
  }
11983
11985
 
11984
11986
  if (!lang || lang.length != 2) {
11985
11987
  error = "Language is missing! Please provide a valid language (alpha2code)";
11986
- $$invalidate(13, hasErrors = true);
11987
- $$invalidate(12, isLoading = false);
11988
+ $$invalidate(14, hasErrors = true);
11989
+ $$invalidate(13, isLoading = false);
11988
11990
  console.error(error);
11989
11991
  }
11990
11992
 
@@ -11993,7 +11995,7 @@
11993
11995
 
11994
11996
  const initialSetup = () => {
11995
11997
  if (!checkAttrs()) {
11996
- $$invalidate(12, isLoading = true);
11998
+ $$invalidate(13, isLoading = true);
11997
11999
 
11998
12000
  if (favorites == "true") {
11999
12001
  getFavoredGames(endpoint, sessionID, playerID);
@@ -12009,21 +12011,21 @@
12009
12011
  return item.games.total > 0;
12010
12012
  });
12011
12013
 
12012
- $$invalidate(26, shownCategories = categories = categoriesData.map(item => {
12014
+ $$invalidate(27, shownCategories = categories = categoriesData.map(item => {
12013
12015
  return item.id;
12014
12016
  }));
12015
12017
 
12016
- $$invalidate(12, isLoading = false);
12018
+ $$invalidate(13, isLoading = false);
12017
12019
  }
12018
12020
  });
12019
12021
 
12020
12022
  if (getDevice(userAgent) !== "PC") {
12021
12023
  searchElement.addEventListener("focusin", event => {
12022
- $$invalidate(30, mobileSearchViewActive = true);
12024
+ $$invalidate(31, mobileSearchViewActive = true);
12023
12025
  });
12024
12026
 
12025
12027
  searchElement.addEventListener("focusout", event => {
12026
- $$invalidate(30, mobileSearchViewActive = false);
12028
+ $$invalidate(31, mobileSearchViewActive = false);
12027
12029
  });
12028
12030
  }
12029
12031
 
@@ -12037,9 +12039,9 @@
12037
12039
  };
12038
12040
 
12039
12041
  const setSession = () => {
12040
- $$invalidate(14, isLoggedIn = true);
12041
- $$invalidate(16, sessionID = session);
12042
- $$invalidate(15, playerID = userid);
12042
+ $$invalidate(15, isLoggedIn = true);
12043
+ $$invalidate(17, sessionID = session);
12044
+ $$invalidate(16, playerID = userid);
12043
12045
  };
12044
12046
 
12045
12047
  const setClientStyling = () => {
@@ -12089,7 +12091,8 @@
12089
12091
  "favorites",
12090
12092
  "mostplayed",
12091
12093
  "lobbyid",
12092
- "containermaxwidth"
12094
+ "containermaxwidth",
12095
+ "haspanicbutton"
12093
12096
  ];
12094
12097
 
12095
12098
  Object_1.keys($$props).forEach(key => {
@@ -12101,13 +12104,13 @@
12101
12104
  function input_binding($$value) {
12102
12105
  binding_callbacks[$$value ? "unshift" : "push"](() => {
12103
12106
  searchElement = $$value;
12104
- $$invalidate(29, searchElement);
12107
+ $$invalidate(30, searchElement);
12105
12108
  });
12106
12109
  }
12107
12110
 
12108
12111
  function input_input_handler() {
12109
12112
  searchValue = this.value;
12110
- $$invalidate(11, searchValue);
12113
+ $$invalidate(12, searchValue);
12111
12114
  }
12112
12115
 
12113
12116
  const click_handler_1 = () => clearSearchbar();
@@ -12120,20 +12123,20 @@
12120
12123
  function div2_binding($$value) {
12121
12124
  binding_callbacks[$$value ? "unshift" : "push"](() => {
12122
12125
  searchWrapper = $$value;
12123
- $$invalidate(28, searchWrapper);
12126
+ $$invalidate(29, searchWrapper);
12124
12127
  });
12125
12128
  }
12126
12129
 
12127
12130
  function input_binding_1($$value) {
12128
12131
  binding_callbacks[$$value ? "unshift" : "push"](() => {
12129
12132
  searchElement = $$value;
12130
- $$invalidate(29, searchElement);
12133
+ $$invalidate(30, searchElement);
12131
12134
  });
12132
12135
  }
12133
12136
 
12134
12137
  function input_input_handler_1() {
12135
12138
  searchValue = this.value;
12136
- $$invalidate(11, searchValue);
12139
+ $$invalidate(12, searchValue);
12137
12140
  }
12138
12141
 
12139
12142
  const click_handler_4 = () => clearSearchbar();
@@ -12146,7 +12149,7 @@
12146
12149
  function div2_binding_1($$value) {
12147
12150
  binding_callbacks[$$value ? "unshift" : "push"](() => {
12148
12151
  searchWrapper = $$value;
12149
- $$invalidate(28, searchWrapper);
12152
+ $$invalidate(29, searchWrapper);
12150
12153
  });
12151
12154
  }
12152
12155
 
@@ -12155,7 +12158,7 @@
12155
12158
  function section_binding($$value) {
12156
12159
  binding_callbacks[$$value ? "unshift" : "push"](() => {
12157
12160
  customStylingContainer = $$value;
12158
- $$invalidate(32, customStylingContainer);
12161
+ $$invalidate(33, customStylingContainer);
12159
12162
  });
12160
12163
  }
12161
12164
 
@@ -12168,12 +12171,13 @@
12168
12171
  if ("clientstyling" in $$props) $$invalidate(5, clientstyling = $$props.clientstyling);
12169
12172
  if ("clientstylingurl" in $$props) $$invalidate(6, clientstylingurl = $$props.clientstylingurl);
12170
12173
  if ("categorybackground" in $$props) $$invalidate(7, categorybackground = $$props.categorybackground);
12171
- if ("visiblegames" in $$props) $$invalidate(46, visiblegames = $$props.visiblegames);
12174
+ if ("visiblegames" in $$props) $$invalidate(47, visiblegames = $$props.visiblegames);
12172
12175
  if ("alternativesearch" in $$props) $$invalidate(8, alternativesearch = $$props.alternativesearch);
12173
12176
  if ("favorites" in $$props) $$invalidate(9, favorites = $$props.favorites);
12174
- if ("mostplayed" in $$props) $$invalidate(47, mostplayed = $$props.mostplayed);
12175
- if ("lobbyid" in $$props) $$invalidate(48, lobbyid = $$props.lobbyid);
12177
+ if ("mostplayed" in $$props) $$invalidate(48, mostplayed = $$props.mostplayed);
12178
+ if ("lobbyid" in $$props) $$invalidate(49, lobbyid = $$props.lobbyid);
12176
12179
  if ("containermaxwidth" in $$props) $$invalidate(10, containermaxwidth = $$props.containermaxwidth);
12180
+ if ("haspanicbutton" in $$props) $$invalidate(11, haspanicbutton = $$props.haspanicbutton);
12177
12181
  };
12178
12182
 
12179
12183
  $$self.$capture_state = () => ({
@@ -12196,6 +12200,7 @@
12196
12200
  mostplayed,
12197
12201
  lobbyid,
12198
12202
  containermaxwidth,
12203
+ haspanicbutton,
12199
12204
  isLoading,
12200
12205
  hasErrors,
12201
12206
  isLoggedIn,
@@ -12289,57 +12294,58 @@
12289
12294
  if ("clientstyling" in $$props) $$invalidate(5, clientstyling = $$props.clientstyling);
12290
12295
  if ("clientstylingurl" in $$props) $$invalidate(6, clientstylingurl = $$props.clientstylingurl);
12291
12296
  if ("categorybackground" in $$props) $$invalidate(7, categorybackground = $$props.categorybackground);
12292
- if ("visiblegames" in $$props) $$invalidate(46, visiblegames = $$props.visiblegames);
12297
+ if ("visiblegames" in $$props) $$invalidate(47, visiblegames = $$props.visiblegames);
12293
12298
  if ("alternativesearch" in $$props) $$invalidate(8, alternativesearch = $$props.alternativesearch);
12294
12299
  if ("favorites" in $$props) $$invalidate(9, favorites = $$props.favorites);
12295
- if ("mostplayed" in $$props) $$invalidate(47, mostplayed = $$props.mostplayed);
12296
- if ("lobbyid" in $$props) $$invalidate(48, lobbyid = $$props.lobbyid);
12300
+ if ("mostplayed" in $$props) $$invalidate(48, mostplayed = $$props.mostplayed);
12301
+ if ("lobbyid" in $$props) $$invalidate(49, lobbyid = $$props.lobbyid);
12297
12302
  if ("containermaxwidth" in $$props) $$invalidate(10, containermaxwidth = $$props.containermaxwidth);
12298
- if ("isLoading" in $$props) $$invalidate(12, isLoading = $$props.isLoading);
12299
- if ("hasErrors" in $$props) $$invalidate(13, hasErrors = $$props.hasErrors);
12300
- if ("isLoggedIn" in $$props) $$invalidate(14, isLoggedIn = $$props.isLoggedIn);
12303
+ if ("haspanicbutton" in $$props) $$invalidate(11, haspanicbutton = $$props.haspanicbutton);
12304
+ if ("isLoading" in $$props) $$invalidate(13, isLoading = $$props.isLoading);
12305
+ if ("hasErrors" in $$props) $$invalidate(14, hasErrors = $$props.hasErrors);
12306
+ if ("isLoggedIn" in $$props) $$invalidate(15, isLoggedIn = $$props.isLoggedIn);
12301
12307
  if ("error" in $$props) error = $$props.error;
12302
- if ("playerID" in $$props) $$invalidate(15, playerID = $$props.playerID);
12303
- if ("sessionID" in $$props) $$invalidate(16, sessionID = $$props.sessionID);
12304
- if ("favoritesScreen" in $$props) $$invalidate(17, favoritesScreen = $$props.favoritesScreen);
12305
- if ("recentSearches" in $$props) $$invalidate(18, recentSearches = $$props.recentSearches);
12306
- if ("initialLoaded" in $$props) $$invalidate(49, initialLoaded = $$props.initialLoaded);
12307
- if ("searched" in $$props) $$invalidate(19, searched = $$props.searched);
12308
+ if ("playerID" in $$props) $$invalidate(16, playerID = $$props.playerID);
12309
+ if ("sessionID" in $$props) $$invalidate(17, sessionID = $$props.sessionID);
12310
+ if ("favoritesScreen" in $$props) $$invalidate(18, favoritesScreen = $$props.favoritesScreen);
12311
+ if ("recentSearches" in $$props) $$invalidate(19, recentSearches = $$props.recentSearches);
12312
+ if ("initialLoaded" in $$props) $$invalidate(50, initialLoaded = $$props.initialLoaded);
12313
+ if ("searched" in $$props) $$invalidate(20, searched = $$props.searched);
12308
12314
  if ("gameFocus" in $$props) gameFocus = $$props.gameFocus;
12309
- if ("lobbyViewAux" in $$props) $$invalidate(20, lobbyViewAux = $$props.lobbyViewAux);
12310
- if ("closeSearch" in $$props) $$invalidate(34, closeSearch = $$props.closeSearch);
12315
+ if ("lobbyViewAux" in $$props) $$invalidate(21, lobbyViewAux = $$props.lobbyViewAux);
12316
+ if ("closeSearch" in $$props) $$invalidate(35, closeSearch = $$props.closeSearch);
12311
12317
  if ("searchFocus" in $$props) searchFocus = $$props.searchFocus;
12312
- if ("lobbyScreen" in $$props) $$invalidate(21, lobbyScreen = $$props.lobbyScreen);
12313
- if ("mostPlayedScreen" in $$props) $$invalidate(22, mostPlayedScreen = $$props.mostPlayedScreen);
12314
- if ("mostPlayedEmpty" in $$props) $$invalidate(23, mostPlayedEmpty = $$props.mostPlayedEmpty);
12315
- if ("adjustingScroll" in $$props) $$invalidate(24, adjustingScroll = $$props.adjustingScroll);
12316
- if ("searchBarCleared" in $$props) $$invalidate(50, searchBarCleared = $$props.searchBarCleared);
12318
+ if ("lobbyScreen" in $$props) $$invalidate(22, lobbyScreen = $$props.lobbyScreen);
12319
+ if ("mostPlayedScreen" in $$props) $$invalidate(23, mostPlayedScreen = $$props.mostPlayedScreen);
12320
+ if ("mostPlayedEmpty" in $$props) $$invalidate(24, mostPlayedEmpty = $$props.mostPlayedEmpty);
12321
+ if ("adjustingScroll" in $$props) $$invalidate(25, adjustingScroll = $$props.adjustingScroll);
12322
+ if ("searchBarCleared" in $$props) $$invalidate(51, searchBarCleared = $$props.searchBarCleared);
12317
12323
  if ("gamesArray" in $$props) gamesArray = $$props.gamesArray;
12318
- if ("searchArray" in $$props) $$invalidate(25, searchArray = $$props.searchArray);
12324
+ if ("searchArray" in $$props) $$invalidate(26, searchArray = $$props.searchArray);
12319
12325
  if ("categories" in $$props) categories = $$props.categories;
12320
- if ("shownCategories" in $$props) $$invalidate(26, shownCategories = $$props.shownCategories);
12321
- if ("activeCategory" in $$props) $$invalidate(27, activeCategory = $$props.activeCategory);
12322
- if ("searchValue" in $$props) $$invalidate(11, searchValue = $$props.searchValue);
12323
- if ("searchWrapper" in $$props) $$invalidate(28, searchWrapper = $$props.searchWrapper);
12326
+ if ("shownCategories" in $$props) $$invalidate(27, shownCategories = $$props.shownCategories);
12327
+ if ("activeCategory" in $$props) $$invalidate(28, activeCategory = $$props.activeCategory);
12328
+ if ("searchValue" in $$props) $$invalidate(12, searchValue = $$props.searchValue);
12329
+ if ("searchWrapper" in $$props) $$invalidate(29, searchWrapper = $$props.searchWrapper);
12324
12330
  if ("searchElementWrapper" in $$props) searchElementWrapper = $$props.searchElementWrapper;
12325
12331
  if ("searchPositionTop" in $$props) searchPositionTop = $$props.searchPositionTop;
12326
- if ("userAgent" in $$props) $$invalidate(35, userAgent = $$props.userAgent);
12332
+ if ("userAgent" in $$props) $$invalidate(36, userAgent = $$props.userAgent);
12327
12333
  if ("scrollTop" in $$props) scrollTop = $$props.scrollTop;
12328
12334
  if ("mostPlayedGames" in $$props) mostPlayedGames = $$props.mostPlayedGames;
12329
12335
  if ("favoredGamesCollection" in $$props) favoredGamesCollection = $$props.favoredGamesCollection;
12330
12336
  if ("categoriesData" in $$props) categoriesData = $$props.categoriesData;
12331
12337
  if ("receivedFavoriteResults" in $$props) receivedFavoriteResults = $$props.receivedFavoriteResults;
12332
12338
  if ("updatedFavoriteResultsIds" in $$props) updatedFavoriteResultsIds = $$props.updatedFavoriteResultsIds;
12333
- if ("searchElement" in $$props) $$invalidate(29, searchElement = $$props.searchElement);
12334
- if ("mobileSearchViewActive" in $$props) $$invalidate(30, mobileSearchViewActive = $$props.mobileSearchViewActive);
12339
+ if ("searchElement" in $$props) $$invalidate(30, searchElement = $$props.searchElement);
12340
+ if ("mobileSearchViewActive" in $$props) $$invalidate(31, mobileSearchViewActive = $$props.mobileSearchViewActive);
12335
12341
  if ("searchedValues" in $$props) searchedValues = $$props.searchedValues;
12336
12342
  if ("mostPlayedValues" in $$props) mostPlayedValues = $$props.mostPlayedValues;
12337
12343
  if ("filterVendorsArray" in $$props) filterVendorsArray = $$props.filterVendorsArray;
12338
- if ("numberOfFilters" in $$props) $$invalidate(31, numberOfFilters = $$props.numberOfFilters);
12344
+ if ("numberOfFilters" in $$props) $$invalidate(32, numberOfFilters = $$props.numberOfFilters);
12339
12345
  if ("filteredGamesArray" in $$props) filteredGamesArray = $$props.filteredGamesArray;
12340
12346
  if ("currentCategoryId" in $$props) currentCategoryId = $$props.currentCategoryId;
12341
12347
  if ("activeCategoryAux" in $$props) activeCategoryAux = $$props.activeCategoryAux;
12342
- if ("customStylingContainer" in $$props) $$invalidate(32, customStylingContainer = $$props.customStylingContainer);
12348
+ if ("customStylingContainer" in $$props) $$invalidate(33, customStylingContainer = $$props.customStylingContainer);
12343
12349
  if ("getFavoredGames" in $$props) getFavoredGames = $$props.getFavoredGames;
12344
12350
  if ("updateFavoredList" in $$props) updateFavoredList = $$props.updateFavoredList;
12345
12351
  if ("addFavoredGame" in $$props) addFavoredGame = $$props.addFavoredGame;
@@ -12350,13 +12356,13 @@
12350
12356
  }
12351
12357
 
12352
12358
  $$self.$$.update = () => {
12353
- if ($$self.$$.dirty[0] & /*searchValue*/ 2048) {
12359
+ if ($$self.$$.dirty[0] & /*searchValue*/ 4096) {
12354
12360
  searchValue && searchValueChanged();
12355
12361
  }
12356
12362
 
12357
- if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource*/ 2051 | $$self.$$.dirty[1] & /*searchBarCleared, initialLoaded*/ 786432) {
12363
+ if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource*/ 4099 | $$self.$$.dirty[1] & /*searchBarCleared, initialLoaded*/ 1572864) {
12358
12364
  if (searchValue.length >= 2) {
12359
- $$invalidate(19, searched = true);
12365
+ $$invalidate(20, searched = true);
12360
12366
  let searchUrl = new URL(`${endpoint}/casino/games`);
12361
12367
  searchUrl.searchParams.append("datasource", datasource);
12362
12368
  searchUrl.searchParams.append("expand", "vendor");
@@ -12367,7 +12373,7 @@
12367
12373
  searchUrl.searchParams.append("filter", `name=${searchValue}`);
12368
12374
 
12369
12375
  getGames(searchUrl).then(searchData => {
12370
- $$invalidate(25, searchArray = searchData);
12376
+ $$invalidate(26, searchArray = searchData);
12371
12377
  sendSearchData({}, searchData);
12372
12378
  });
12373
12379
  } else {
@@ -12376,7 +12382,7 @@
12376
12382
  }
12377
12383
 
12378
12384
  if (initialLoaded) {
12379
- $$invalidate(49, initialLoaded = false);
12385
+ $$invalidate(50, initialLoaded = false);
12380
12386
  }
12381
12387
  }
12382
12388
  }
@@ -12410,6 +12416,7 @@
12410
12416
  alternativesearch,
12411
12417
  favorites,
12412
12418
  containermaxwidth,
12419
+ haspanicbutton,
12413
12420
  searchValue,
12414
12421
  isLoading,
12415
12422
  hasErrors,
@@ -12492,12 +12499,13 @@
12492
12499
  clientstyling: 5,
12493
12500
  clientstylingurl: 6,
12494
12501
  categorybackground: 7,
12495
- visiblegames: 46,
12502
+ visiblegames: 47,
12496
12503
  alternativesearch: 8,
12497
12504
  favorites: 9,
12498
- mostplayed: 47,
12499
- lobbyid: 48,
12500
- containermaxwidth: 10
12505
+ mostplayed: 48,
12506
+ lobbyid: 49,
12507
+ containermaxwidth: 10,
12508
+ haspanicbutton: 11
12501
12509
  },
12502
12510
  [-1, -1, -1, -1]
12503
12511
  );
@@ -12529,7 +12537,8 @@
12529
12537
  "favorites",
12530
12538
  "mostplayed",
12531
12539
  "lobbyid",
12532
- "containermaxwidth"
12540
+ "containermaxwidth",
12541
+ "haspanicbutton"
12533
12542
  ];
12534
12543
  }
12535
12544
 
@@ -12606,7 +12615,7 @@
12606
12615
  }
12607
12616
 
12608
12617
  get visiblegames() {
12609
- return this.$$.ctx[46];
12618
+ return this.$$.ctx[47];
12610
12619
  }
12611
12620
 
12612
12621
  set visiblegames(visiblegames) {
@@ -12633,7 +12642,7 @@
12633
12642
  }
12634
12643
 
12635
12644
  get mostplayed() {
12636
- return this.$$.ctx[47];
12645
+ return this.$$.ctx[48];
12637
12646
  }
12638
12647
 
12639
12648
  set mostplayed(mostplayed) {
@@ -12642,7 +12651,7 @@
12642
12651
  }
12643
12652
 
12644
12653
  get lobbyid() {
12645
- return this.$$.ctx[48];
12654
+ return this.$$.ctx[49];
12646
12655
  }
12647
12656
 
12648
12657
  set lobbyid(lobbyid) {
@@ -12658,6 +12667,15 @@
12658
12667
  this.$set({ containermaxwidth });
12659
12668
  flush();
12660
12669
  }
12670
+
12671
+ get haspanicbutton() {
12672
+ return this.$$.ctx[11];
12673
+ }
12674
+
12675
+ set haspanicbutton(haspanicbutton) {
12676
+ this.$set({ haspanicbutton });
12677
+ flush();
12678
+ }
12661
12679
  }
12662
12680
 
12663
12681
  !customElements.get('casino-page') && customElements.define('casino-page', CasinoPage);