@everymatrix/casino-categories-providers 0.0.411 → 0.0.412

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.
@@ -4793,17 +4793,17 @@
4793
4793
 
4794
4794
  function get_each_context$1(ctx, list, i) {
4795
4795
  const child_ctx = ctx.slice();
4796
- child_ctx[21] = list[i];
4796
+ child_ctx[22] = list[i];
4797
4797
  return child_ctx;
4798
4798
  }
4799
4799
 
4800
4800
  function get_each_context_1$1(ctx, list, i) {
4801
4801
  const child_ctx = ctx.slice();
4802
- child_ctx[21] = list[i];
4802
+ child_ctx[22] = list[i];
4803
4803
  return child_ctx;
4804
4804
  }
4805
4805
 
4806
- // (65:2) {:else}
4806
+ // (69:2) {:else}
4807
4807
  function create_else_block$1(ctx) {
4808
4808
  let div;
4809
4809
  let h40;
@@ -4852,11 +4852,11 @@
4852
4852
  }
4853
4853
 
4854
4854
  attr_dev(h40, "class", "CategoryTitle");
4855
- add_location(h40, file$2, 66, 4, 2208);
4855
+ add_location(h40, file$2, 70, 4, 2630);
4856
4856
  attr_dev(h41, "class", "CategoryTitle");
4857
- add_location(h41, file$2, 76, 4, 2690);
4857
+ add_location(h41, file$2, 80, 4, 3112);
4858
4858
  attr_dev(div, "class", "CasinoCategories");
4859
- add_location(div, file$2, 65, 2, 2173);
4859
+ add_location(div, file$2, 69, 2, 2595);
4860
4860
  },
4861
4861
  m: function mount(target, anchor) {
4862
4862
  insert_dev(target, div, anchor);
@@ -4941,14 +4941,14 @@
4941
4941
  block,
4942
4942
  id: create_else_block$1.name,
4943
4943
  type: "else",
4944
- source: "(65:2) {:else}",
4944
+ source: "(69:2) {:else}",
4945
4945
  ctx
4946
4946
  });
4947
4947
 
4948
4948
  return block;
4949
4949
  }
4950
4950
 
4951
- // (63:2) {#if isLoading}
4951
+ // (67:2) {#if isLoading}
4952
4952
  function create_if_block$1(ctx) {
4953
4953
  let p;
4954
4954
 
@@ -4957,7 +4957,7 @@
4957
4957
  p = element("p");
4958
4958
  p.textContent = "Loading, please wait...";
4959
4959
  attr_dev(p, "class", "Message");
4960
- add_location(p, file$2, 63, 2, 2114);
4960
+ add_location(p, file$2, 67, 2, 2536);
4961
4961
  },
4962
4962
  m: function mount(target, anchor) {
4963
4963
  insert_dev(target, p, anchor);
@@ -4972,14 +4972,14 @@
4972
4972
  block,
4973
4973
  id: create_if_block$1.name,
4974
4974
  type: "if",
4975
- source: "(63:2) {#if isLoading}",
4975
+ source: "(67:2) {#if isLoading}",
4976
4976
  ctx
4977
4977
  });
4978
4978
 
4979
4979
  return block;
4980
4980
  }
4981
4981
 
4982
- // (68:4) {#each topCategories as category}
4982
+ // (72:4) {#each topCategories as category}
4983
4983
  function create_each_block_1$1(ctx) {
4984
4984
  let div1;
4985
4985
  let img;
@@ -4988,11 +4988,11 @@
4988
4988
  let t0;
4989
4989
  let div0;
4990
4990
  let p0;
4991
- let t1_value = /*category*/ ctx[21].name + "";
4991
+ let t1_value = /*category*/ ctx[22].name + "";
4992
4992
  let t1;
4993
4993
  let t2;
4994
4994
  let p1;
4995
- let t3_value = /*category*/ ctx[21].games.count + "";
4995
+ let t3_value = /*category*/ ctx[22].games.count + "";
4996
4996
  let t3;
4997
4997
  let t4;
4998
4998
  let t5_value = /*$_*/ ctx[5]('Translations.games') + "";
@@ -5002,7 +5002,7 @@
5002
5002
  let dispose;
5003
5003
 
5004
5004
  function click_handler() {
5005
- return /*click_handler*/ ctx[12](/*category*/ ctx[21]);
5005
+ return /*click_handler*/ ctx[13](/*category*/ ctx[22]);
5006
5006
  }
5007
5007
 
5008
5008
  const block = {
@@ -5018,20 +5018,20 @@
5018
5018
  t3 = text(t3_value);
5019
5019
  t4 = space();
5020
5020
  t5 = text(t5_value);
5021
- if (!src_url_equal(img.src, img_src_value = /*category*/ ctx[21].icon)) attr_dev(img, "src", img_src_value);
5022
- attr_dev(img, "alt", img_alt_value = /*category*/ ctx[21].name);
5021
+ if (!src_url_equal(img.src, img_src_value = /*category*/ ctx[22].icon)) attr_dev(img, "src", img_src_value);
5022
+ attr_dev(img, "alt", img_alt_value = /*category*/ ctx[22].name);
5023
5023
  attr_dev(img, "class", "CategoryImage");
5024
- add_location(img, file$2, 69, 6, 2394);
5025
- add_location(p0, file$2, 71, 8, 2562);
5026
- add_location(p1, file$2, 72, 8, 2593);
5024
+ add_location(img, file$2, 73, 6, 2816);
5025
+ add_location(p0, file$2, 75, 8, 2984);
5026
+ add_location(p1, file$2, 76, 8, 3015);
5027
5027
  attr_dev(div0, "class", "CategoryTextContainer");
5028
- add_location(div0, file$2, 70, 6, 2518);
5028
+ add_location(div0, file$2, 74, 6, 2940);
5029
5029
 
5030
- attr_dev(div1, "class", div1_class_value = "Category " + (/*activecategory*/ ctx[0] === /*category*/ ctx[21].id
5030
+ attr_dev(div1, "class", div1_class_value = "Category " + (/*activecategory*/ ctx[0] === /*category*/ ctx[22].id
5031
5031
  ? "Active"
5032
5032
  : ""));
5033
5033
 
5034
- add_location(div1, file$2, 68, 4, 2316);
5034
+ add_location(div1, file$2, 72, 4, 2738);
5035
5035
  },
5036
5036
  m: function mount(target, anchor) {
5037
5037
  insert_dev(target, div1, anchor);
@@ -5054,19 +5054,19 @@
5054
5054
  p: function update(new_ctx, dirty) {
5055
5055
  ctx = new_ctx;
5056
5056
 
5057
- if (dirty & /*topCategories*/ 8 && !src_url_equal(img.src, img_src_value = /*category*/ ctx[21].icon)) {
5057
+ if (dirty & /*topCategories*/ 8 && !src_url_equal(img.src, img_src_value = /*category*/ ctx[22].icon)) {
5058
5058
  attr_dev(img, "src", img_src_value);
5059
5059
  }
5060
5060
 
5061
- if (dirty & /*topCategories*/ 8 && img_alt_value !== (img_alt_value = /*category*/ ctx[21].name)) {
5061
+ if (dirty & /*topCategories*/ 8 && img_alt_value !== (img_alt_value = /*category*/ ctx[22].name)) {
5062
5062
  attr_dev(img, "alt", img_alt_value);
5063
5063
  }
5064
5064
 
5065
- if (dirty & /*topCategories*/ 8 && t1_value !== (t1_value = /*category*/ ctx[21].name + "")) set_data_dev(t1, t1_value);
5066
- if (dirty & /*topCategories*/ 8 && t3_value !== (t3_value = /*category*/ ctx[21].games.count + "")) set_data_dev(t3, t3_value);
5065
+ if (dirty & /*topCategories*/ 8 && t1_value !== (t1_value = /*category*/ ctx[22].name + "")) set_data_dev(t1, t1_value);
5066
+ if (dirty & /*topCategories*/ 8 && t3_value !== (t3_value = /*category*/ ctx[22].games.count + "")) set_data_dev(t3, t3_value);
5067
5067
  if (dirty & /*$_*/ 32 && t5_value !== (t5_value = /*$_*/ ctx[5]('Translations.games') + "")) set_data_dev(t5, t5_value);
5068
5068
 
5069
- if (dirty & /*activecategory, topCategories*/ 9 && div1_class_value !== (div1_class_value = "Category " + (/*activecategory*/ ctx[0] === /*category*/ ctx[21].id
5069
+ if (dirty & /*activecategory, topCategories*/ 9 && div1_class_value !== (div1_class_value = "Category " + (/*activecategory*/ ctx[0] === /*category*/ ctx[22].id
5070
5070
  ? "Active"
5071
5071
  : ""))) {
5072
5072
  attr_dev(div1, "class", div1_class_value);
@@ -5083,14 +5083,14 @@
5083
5083
  block,
5084
5084
  id: create_each_block_1$1.name,
5085
5085
  type: "each",
5086
- source: "(68:4) {#each topCategories as category}",
5086
+ source: "(72:4) {#each topCategories as category}",
5087
5087
  ctx
5088
5088
  });
5089
5089
 
5090
5090
  return block;
5091
5091
  }
5092
5092
 
5093
- // (78:4) {#each otherCategories as category}
5093
+ // (82:4) {#each otherCategories as category}
5094
5094
  function create_each_block$1(ctx) {
5095
5095
  let div1;
5096
5096
  let img;
@@ -5099,11 +5099,11 @@
5099
5099
  let t0;
5100
5100
  let div0;
5101
5101
  let p0;
5102
- let t1_value = /*category*/ ctx[21].name + "";
5102
+ let t1_value = /*category*/ ctx[22].name + "";
5103
5103
  let t1;
5104
5104
  let t2;
5105
5105
  let p1;
5106
- let t3_value = /*category*/ ctx[21].games.count + "";
5106
+ let t3_value = /*category*/ ctx[22].games.count + "";
5107
5107
  let t3;
5108
5108
  let t4;
5109
5109
  let t5_value = /*$_*/ ctx[5]('Translations.games') + "";
@@ -5114,7 +5114,7 @@
5114
5114
  let dispose;
5115
5115
 
5116
5116
  function click_handler_1() {
5117
- return /*click_handler_1*/ ctx[13](/*category*/ ctx[21]);
5117
+ return /*click_handler_1*/ ctx[14](/*category*/ ctx[22]);
5118
5118
  }
5119
5119
 
5120
5120
  const block = {
@@ -5131,20 +5131,20 @@
5131
5131
  t4 = space();
5132
5132
  t5 = text(t5_value);
5133
5133
  t6 = space();
5134
- if (!src_url_equal(img.src, img_src_value = /*category*/ ctx[21].icon)) attr_dev(img, "src", img_src_value);
5135
- attr_dev(img, "alt", img_alt_value = /*category*/ ctx[21].name);
5134
+ if (!src_url_equal(img.src, img_src_value = /*category*/ ctx[22].icon)) attr_dev(img, "src", img_src_value);
5135
+ attr_dev(img, "alt", img_alt_value = /*category*/ ctx[22].name);
5136
5136
  attr_dev(img, "class", "CategoryImage");
5137
- add_location(img, file$2, 79, 6, 2881);
5138
- add_location(p0, file$2, 81, 8, 3048);
5139
- add_location(p1, file$2, 82, 8, 3079);
5137
+ add_location(img, file$2, 83, 6, 3303);
5138
+ add_location(p0, file$2, 85, 8, 3470);
5139
+ add_location(p1, file$2, 86, 8, 3501);
5140
5140
  attr_dev(div0, "class", "CategoryTextContainer");
5141
- add_location(div0, file$2, 80, 6, 3004);
5141
+ add_location(div0, file$2, 84, 6, 3426);
5142
5142
 
5143
- attr_dev(div1, "class", div1_class_value = "Category " + (/*activecategory*/ ctx[0] === /*category*/ ctx[21].id
5143
+ attr_dev(div1, "class", div1_class_value = "Category " + (/*activecategory*/ ctx[0] === /*category*/ ctx[22].id
5144
5144
  ? "Active"
5145
5145
  : ""));
5146
5146
 
5147
- add_location(div1, file$2, 78, 4, 2802);
5147
+ add_location(div1, file$2, 82, 4, 3224);
5148
5148
  },
5149
5149
  m: function mount(target, anchor) {
5150
5150
  insert_dev(target, div1, anchor);
@@ -5168,19 +5168,19 @@
5168
5168
  p: function update(new_ctx, dirty) {
5169
5169
  ctx = new_ctx;
5170
5170
 
5171
- if (dirty & /*otherCategories*/ 16 && !src_url_equal(img.src, img_src_value = /*category*/ ctx[21].icon)) {
5171
+ if (dirty & /*otherCategories*/ 16 && !src_url_equal(img.src, img_src_value = /*category*/ ctx[22].icon)) {
5172
5172
  attr_dev(img, "src", img_src_value);
5173
5173
  }
5174
5174
 
5175
- if (dirty & /*otherCategories*/ 16 && img_alt_value !== (img_alt_value = /*category*/ ctx[21].name)) {
5175
+ if (dirty & /*otherCategories*/ 16 && img_alt_value !== (img_alt_value = /*category*/ ctx[22].name)) {
5176
5176
  attr_dev(img, "alt", img_alt_value);
5177
5177
  }
5178
5178
 
5179
- if (dirty & /*otherCategories*/ 16 && t1_value !== (t1_value = /*category*/ ctx[21].name + "")) set_data_dev(t1, t1_value);
5180
- if (dirty & /*otherCategories*/ 16 && t3_value !== (t3_value = /*category*/ ctx[21].games.count + "")) set_data_dev(t3, t3_value);
5179
+ if (dirty & /*otherCategories*/ 16 && t1_value !== (t1_value = /*category*/ ctx[22].name + "")) set_data_dev(t1, t1_value);
5180
+ if (dirty & /*otherCategories*/ 16 && t3_value !== (t3_value = /*category*/ ctx[22].games.count + "")) set_data_dev(t3, t3_value);
5181
5181
  if (dirty & /*$_*/ 32 && t5_value !== (t5_value = /*$_*/ ctx[5]('Translations.games') + "")) set_data_dev(t5, t5_value);
5182
5182
 
5183
- if (dirty & /*activecategory, otherCategories*/ 17 && div1_class_value !== (div1_class_value = "Category " + (/*activecategory*/ ctx[0] === /*category*/ ctx[21].id
5183
+ if (dirty & /*activecategory, otherCategories*/ 17 && div1_class_value !== (div1_class_value = "Category " + (/*activecategory*/ ctx[0] === /*category*/ ctx[22].id
5184
5184
  ? "Active"
5185
5185
  : ""))) {
5186
5186
  attr_dev(div1, "class", div1_class_value);
@@ -5197,7 +5197,7 @@
5197
5197
  block,
5198
5198
  id: create_each_block$1.name,
5199
5199
  type: "each",
5200
- source: "(78:4) {#each otherCategories as category}",
5200
+ source: "(82:4) {#each otherCategories as category}",
5201
5201
  ctx
5202
5202
  });
5203
5203
 
@@ -5220,7 +5220,7 @@
5220
5220
  div = element("div");
5221
5221
  if_block.c();
5222
5222
  this.c = noop;
5223
- add_location(div, file$2, 61, 0, 2053);
5223
+ add_location(div, file$2, 65, 0, 2475);
5224
5224
  },
5225
5225
  l: function claim(nodes) {
5226
5226
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -5228,7 +5228,7 @@
5228
5228
  m: function mount(target, anchor) {
5229
5229
  insert_dev(target, div, anchor);
5230
5230
  if_block.m(div, null);
5231
- /*div_binding*/ ctx[14](div);
5231
+ /*div_binding*/ ctx[15](div);
5232
5232
  },
5233
5233
  p: function update(ctx, [dirty]) {
5234
5234
  if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
@@ -5248,7 +5248,7 @@
5248
5248
  d: function destroy(detaching) {
5249
5249
  if (detaching) detach_dev(div);
5250
5250
  if_block.d();
5251
- /*div_binding*/ ctx[14](null);
5251
+ /*div_binding*/ ctx[15](null);
5252
5252
  }
5253
5253
  };
5254
5254
 
@@ -5273,6 +5273,7 @@
5273
5273
  let { datasource = '' } = $$props;
5274
5274
  let { lang = 'en' } = $$props;
5275
5275
  let { activecategory = '' } = $$props;
5276
+ let { excludedflags = '' } = $$props;
5276
5277
  let { clientstyling = '' } = $$props;
5277
5278
  let { clientstylingurl = '' } = $$props;
5278
5279
  let customStylingContainer;
@@ -5293,9 +5294,20 @@
5293
5294
 
5294
5295
  fetch(url).then(res => res.json()).then(data => {
5295
5296
  $$invalidate(2, isLoading = false);
5297
+ const excludedFlagsArray = excludedflags.split(',').map(flag => flag.trim());
5296
5298
  categories.push(...data.items);
5297
- $$invalidate(3, topCategories = categories.filter(category => category.isTopCategory === true));
5298
- $$invalidate(4, otherCategories = categories.filter(category => category.isTopCategory === false));
5299
+
5300
+ // remove those items which have a flag matching the excluded flags
5301
+ const itemsAfterFlagExclusion = categories.filter(item => !excludedFlagsArray.some(flag => {
5302
+ var _a;
5303
+
5304
+ return ((_a = item.flags) === null || _a === void 0
5305
+ ? void 0
5306
+ : _a.indexOf(flag)) >= 0;
5307
+ }));
5308
+
5309
+ $$invalidate(3, topCategories = itemsAfterFlagExclusion.filter(category => category.isTopCategory === true));
5310
+ $$invalidate(4, otherCategories = itemsAfterFlagExclusion.filter(category => category.isTopCategory === false));
5299
5311
  });
5300
5312
  };
5301
5313
 
@@ -5344,6 +5356,7 @@
5344
5356
  'datasource',
5345
5357
  'lang',
5346
5358
  'activecategory',
5359
+ 'excludedflags',
5347
5360
  'clientstyling',
5348
5361
  'clientstylingurl'
5349
5362
  ];
@@ -5367,8 +5380,9 @@
5367
5380
  if ('datasource' in $$props) $$invalidate(8, datasource = $$props.datasource);
5368
5381
  if ('lang' in $$props) $$invalidate(9, lang = $$props.lang);
5369
5382
  if ('activecategory' in $$props) $$invalidate(0, activecategory = $$props.activecategory);
5370
- if ('clientstyling' in $$props) $$invalidate(10, clientstyling = $$props.clientstyling);
5371
- if ('clientstylingurl' in $$props) $$invalidate(11, clientstylingurl = $$props.clientstylingurl);
5383
+ if ('excludedflags' in $$props) $$invalidate(10, excludedflags = $$props.excludedflags);
5384
+ if ('clientstyling' in $$props) $$invalidate(11, clientstyling = $$props.clientstyling);
5385
+ if ('clientstylingurl' in $$props) $$invalidate(12, clientstylingurl = $$props.clientstylingurl);
5372
5386
  };
5373
5387
 
5374
5388
  $$self.$capture_state = () => ({
@@ -5380,6 +5394,7 @@
5380
5394
  datasource,
5381
5395
  lang,
5382
5396
  activecategory,
5397
+ excludedflags,
5383
5398
  clientstyling,
5384
5399
  clientstylingurl,
5385
5400
  customStylingContainer,
@@ -5401,8 +5416,9 @@
5401
5416
  if ('datasource' in $$props) $$invalidate(8, datasource = $$props.datasource);
5402
5417
  if ('lang' in $$props) $$invalidate(9, lang = $$props.lang);
5403
5418
  if ('activecategory' in $$props) $$invalidate(0, activecategory = $$props.activecategory);
5404
- if ('clientstyling' in $$props) $$invalidate(10, clientstyling = $$props.clientstyling);
5405
- if ('clientstylingurl' in $$props) $$invalidate(11, clientstylingurl = $$props.clientstylingurl);
5419
+ if ('excludedflags' in $$props) $$invalidate(10, excludedflags = $$props.excludedflags);
5420
+ if ('clientstyling' in $$props) $$invalidate(11, clientstyling = $$props.clientstyling);
5421
+ if ('clientstylingurl' in $$props) $$invalidate(12, clientstylingurl = $$props.clientstylingurl);
5406
5422
  if ('customStylingContainer' in $$props) $$invalidate(1, customStylingContainer = $$props.customStylingContainer);
5407
5423
  if ('displayNone' in $$props) displayNone = $$props.displayNone;
5408
5424
  if ('isLoading' in $$props) $$invalidate(2, isLoading = $$props.isLoading);
@@ -5423,11 +5439,11 @@
5423
5439
  lang && setActiveLanguage();
5424
5440
  }
5425
5441
 
5426
- if ($$self.$$.dirty & /*clientstyling*/ 1024) {
5442
+ if ($$self.$$.dirty & /*clientstyling*/ 2048) {
5427
5443
  clientstyling && setClientStyling();
5428
5444
  }
5429
5445
 
5430
- if ($$self.$$.dirty & /*clientstylingurl*/ 2048) {
5446
+ if ($$self.$$.dirty & /*clientstylingurl*/ 4096) {
5431
5447
  clientstylingurl && setClientStylingURL();
5432
5448
  }
5433
5449
  };
@@ -5443,6 +5459,7 @@
5443
5459
  endpoint,
5444
5460
  datasource,
5445
5461
  lang,
5462
+ excludedflags,
5446
5463
  clientstyling,
5447
5464
  clientstylingurl,
5448
5465
  click_handler,
@@ -5471,8 +5488,9 @@
5471
5488
  datasource: 8,
5472
5489
  lang: 9,
5473
5490
  activecategory: 0,
5474
- clientstyling: 10,
5475
- clientstylingurl: 11
5491
+ excludedflags: 10,
5492
+ clientstyling: 11,
5493
+ clientstylingurl: 12
5476
5494
  },
5477
5495
  null
5478
5496
  );
@@ -5495,6 +5513,7 @@
5495
5513
  "datasource",
5496
5514
  "lang",
5497
5515
  "activecategory",
5516
+ "excludedflags",
5498
5517
  "clientstyling",
5499
5518
  "clientstylingurl"
5500
5519
  ];
@@ -5536,17 +5555,26 @@
5536
5555
  flush();
5537
5556
  }
5538
5557
 
5539
- get clientstyling() {
5558
+ get excludedflags() {
5540
5559
  return this.$$.ctx[10];
5541
5560
  }
5542
5561
 
5562
+ set excludedflags(excludedflags) {
5563
+ this.$$set({ excludedflags });
5564
+ flush();
5565
+ }
5566
+
5567
+ get clientstyling() {
5568
+ return this.$$.ctx[11];
5569
+ }
5570
+
5543
5571
  set clientstyling(clientstyling) {
5544
5572
  this.$$set({ clientstyling });
5545
5573
  flush();
5546
5574
  }
5547
5575
 
5548
5576
  get clientstylingurl() {
5549
- return this.$$.ctx[11];
5577
+ return this.$$.ctx[12];
5550
5578
  }
5551
5579
 
5552
5580
  set clientstylingurl(clientstylingurl) {
@@ -6443,12 +6471,12 @@
6443
6471
  let div3;
6444
6472
  let div0;
6445
6473
  let button0;
6446
- let t0_value = /*$_*/ ctx[10]('Translations.categories') + "";
6474
+ let t0_value = /*$_*/ ctx[11]('Translations.categories') + "";
6447
6475
  let t0;
6448
6476
  let button0_class_value;
6449
6477
  let t1;
6450
6478
  let button1;
6451
- let t2_value = /*$_*/ ctx[10]('Translations.providers') + "";
6479
+ let t2_value = /*$_*/ ctx[11]('Translations.providers') + "";
6452
6480
  let t2;
6453
6481
  let button1_class_value;
6454
6482
  let t3;
@@ -6479,36 +6507,37 @@
6479
6507
  div2 = element("div");
6480
6508
  casino_providers = element("casino-providers");
6481
6509
  this.c = noop;
6482
- attr_dev(button0, "class", button0_class_value = "HeaderButton " + (/*activeTab*/ ctx[8] === 'categories' ? 'Active' : ''));
6483
- add_location(button0, file, 54, 6, 1716);
6484
- attr_dev(button1, "class", button1_class_value = "HeaderButton " + (/*activeTab*/ ctx[8] === 'providers' ? 'Active' : ''));
6485
- add_location(button1, file, 57, 6, 1893);
6510
+ attr_dev(button0, "class", button0_class_value = "HeaderButton " + (/*activeTab*/ ctx[9] === 'categories' ? 'Active' : ''));
6511
+ add_location(button0, file, 55, 6, 1747);
6512
+ attr_dev(button1, "class", button1_class_value = "HeaderButton " + (/*activeTab*/ ctx[9] === 'providers' ? 'Active' : ''));
6513
+ add_location(button1, file, 58, 6, 1924);
6486
6514
  attr_dev(div0, "class", "Header");
6487
- add_location(div0, file, 53, 4, 1689);
6515
+ add_location(div0, file, 54, 4, 1720);
6488
6516
  set_custom_element_data(casino_categories, "endpoint", /*endpointcategories*/ ctx[0]);
6489
6517
  set_custom_element_data(casino_categories, "datasource", /*datasourcecategories*/ ctx[1]);
6490
6518
  set_custom_element_data(casino_categories, "activecategory", /*activecategory*/ ctx[2]);
6491
- set_custom_element_data(casino_categories, "lang", /*lang*/ ctx[5]);
6492
- set_custom_element_data(casino_categories, "clientstyling", /*clientstyling*/ ctx[6]);
6493
- set_custom_element_data(casino_categories, "clientstylingurl", /*clientstylingurl*/ ctx[7]);
6494
- add_location(casino_categories, file, 63, 6, 2148);
6495
- attr_dev(div1, "class", div1_class_value = /*activeTab*/ ctx[8] === 'providers' ? 'NotVisible' : '');
6496
- add_location(div1, file, 62, 4, 2081);
6519
+ set_custom_element_data(casino_categories, "excludedflags", /*excludedflags*/ ctx[5]);
6520
+ set_custom_element_data(casino_categories, "lang", /*lang*/ ctx[6]);
6521
+ set_custom_element_data(casino_categories, "clientstyling", /*clientstyling*/ ctx[7]);
6522
+ set_custom_element_data(casino_categories, "clientstylingurl", /*clientstylingurl*/ ctx[8]);
6523
+ add_location(casino_categories, file, 64, 6, 2179);
6524
+ attr_dev(div1, "class", div1_class_value = /*activeTab*/ ctx[9] === 'providers' ? 'NotVisible' : '');
6525
+ add_location(div1, file, 63, 4, 2112);
6497
6526
  set_custom_element_data(casino_providers, "endpoint", /*endpointproviders*/ ctx[3]);
6498
6527
  set_custom_element_data(casino_providers, "datasource", /*datasourceproviders*/ ctx[4]);
6499
- set_custom_element_data(casino_providers, "lang", /*lang*/ ctx[5]);
6500
- set_custom_element_data(casino_providers, "clientstyling", /*clientstyling*/ ctx[6]);
6501
- set_custom_element_data(casino_providers, "clientstylingurl", /*clientstylingurl*/ ctx[7]);
6502
- add_location(casino_providers, file, 73, 6, 2458);
6528
+ set_custom_element_data(casino_providers, "lang", /*lang*/ ctx[6]);
6529
+ set_custom_element_data(casino_providers, "clientstyling", /*clientstyling*/ ctx[7]);
6530
+ set_custom_element_data(casino_providers, "clientstylingurl", /*clientstylingurl*/ ctx[8]);
6531
+ add_location(casino_providers, file, 75, 6, 2511);
6503
6532
 
6504
- attr_dev(div2, "class", div2_class_value = /*activeTab*/ ctx[8] === 'categories'
6533
+ attr_dev(div2, "class", div2_class_value = /*activeTab*/ ctx[9] === 'categories'
6505
6534
  ? 'NotVisible'
6506
6535
  : '');
6507
6536
 
6508
- add_location(div2, file, 72, 4, 2390);
6537
+ add_location(div2, file, 74, 4, 2443);
6509
6538
  attr_dev(div3, "class", "CasinoCategoriesProviders");
6510
- add_location(div3, file, 52, 2, 1645);
6511
- add_location(div4, file, 51, 0, 1602);
6539
+ add_location(div3, file, 53, 2, 1676);
6540
+ add_location(div4, file, 52, 0, 1633);
6512
6541
  },
6513
6542
  l: function claim(nodes) {
6514
6543
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -6528,27 +6557,27 @@
6528
6557
  append_dev(div3, t4);
6529
6558
  append_dev(div3, div2);
6530
6559
  append_dev(div2, casino_providers);
6531
- /*div4_binding*/ ctx[14](div4);
6560
+ /*div4_binding*/ ctx[15](div4);
6532
6561
 
6533
6562
  if (!mounted) {
6534
6563
  dispose = [
6535
- listen_dev(button0, "click", /*click_handler*/ ctx[12], false, false, false),
6536
- listen_dev(button1, "click", /*click_handler_1*/ ctx[13], false, false, false)
6564
+ listen_dev(button0, "click", /*click_handler*/ ctx[13], false, false, false),
6565
+ listen_dev(button1, "click", /*click_handler_1*/ ctx[14], false, false, false)
6537
6566
  ];
6538
6567
 
6539
6568
  mounted = true;
6540
6569
  }
6541
6570
  },
6542
6571
  p: function update(ctx, [dirty]) {
6543
- if (dirty & /*$_*/ 1024 && t0_value !== (t0_value = /*$_*/ ctx[10]('Translations.categories') + "")) set_data_dev(t0, t0_value);
6572
+ if (dirty & /*$_*/ 2048 && t0_value !== (t0_value = /*$_*/ ctx[11]('Translations.categories') + "")) set_data_dev(t0, t0_value);
6544
6573
 
6545
- if (dirty & /*activeTab*/ 256 && button0_class_value !== (button0_class_value = "HeaderButton " + (/*activeTab*/ ctx[8] === 'categories' ? 'Active' : ''))) {
6574
+ if (dirty & /*activeTab*/ 512 && button0_class_value !== (button0_class_value = "HeaderButton " + (/*activeTab*/ ctx[9] === 'categories' ? 'Active' : ''))) {
6546
6575
  attr_dev(button0, "class", button0_class_value);
6547
6576
  }
6548
6577
 
6549
- if (dirty & /*$_*/ 1024 && t2_value !== (t2_value = /*$_*/ ctx[10]('Translations.providers') + "")) set_data_dev(t2, t2_value);
6578
+ if (dirty & /*$_*/ 2048 && t2_value !== (t2_value = /*$_*/ ctx[11]('Translations.providers') + "")) set_data_dev(t2, t2_value);
6550
6579
 
6551
- if (dirty & /*activeTab*/ 256 && button1_class_value !== (button1_class_value = "HeaderButton " + (/*activeTab*/ ctx[8] === 'providers' ? 'Active' : ''))) {
6580
+ if (dirty & /*activeTab*/ 512 && button1_class_value !== (button1_class_value = "HeaderButton " + (/*activeTab*/ ctx[9] === 'providers' ? 'Active' : ''))) {
6552
6581
  attr_dev(button1, "class", button1_class_value);
6553
6582
  }
6554
6583
 
@@ -6564,19 +6593,23 @@
6564
6593
  set_custom_element_data(casino_categories, "activecategory", /*activecategory*/ ctx[2]);
6565
6594
  }
6566
6595
 
6567
- if (dirty & /*lang*/ 32) {
6568
- set_custom_element_data(casino_categories, "lang", /*lang*/ ctx[5]);
6596
+ if (dirty & /*excludedflags*/ 32) {
6597
+ set_custom_element_data(casino_categories, "excludedflags", /*excludedflags*/ ctx[5]);
6598
+ }
6599
+
6600
+ if (dirty & /*lang*/ 64) {
6601
+ set_custom_element_data(casino_categories, "lang", /*lang*/ ctx[6]);
6569
6602
  }
6570
6603
 
6571
- if (dirty & /*clientstyling*/ 64) {
6572
- set_custom_element_data(casino_categories, "clientstyling", /*clientstyling*/ ctx[6]);
6604
+ if (dirty & /*clientstyling*/ 128) {
6605
+ set_custom_element_data(casino_categories, "clientstyling", /*clientstyling*/ ctx[7]);
6573
6606
  }
6574
6607
 
6575
- if (dirty & /*clientstylingurl*/ 128) {
6576
- set_custom_element_data(casino_categories, "clientstylingurl", /*clientstylingurl*/ ctx[7]);
6608
+ if (dirty & /*clientstylingurl*/ 256) {
6609
+ set_custom_element_data(casino_categories, "clientstylingurl", /*clientstylingurl*/ ctx[8]);
6577
6610
  }
6578
6611
 
6579
- if (dirty & /*activeTab*/ 256 && div1_class_value !== (div1_class_value = /*activeTab*/ ctx[8] === 'providers' ? 'NotVisible' : '')) {
6612
+ if (dirty & /*activeTab*/ 512 && div1_class_value !== (div1_class_value = /*activeTab*/ ctx[9] === 'providers' ? 'NotVisible' : '')) {
6580
6613
  attr_dev(div1, "class", div1_class_value);
6581
6614
  }
6582
6615
 
@@ -6588,19 +6621,19 @@
6588
6621
  set_custom_element_data(casino_providers, "datasource", /*datasourceproviders*/ ctx[4]);
6589
6622
  }
6590
6623
 
6591
- if (dirty & /*lang*/ 32) {
6592
- set_custom_element_data(casino_providers, "lang", /*lang*/ ctx[5]);
6624
+ if (dirty & /*lang*/ 64) {
6625
+ set_custom_element_data(casino_providers, "lang", /*lang*/ ctx[6]);
6593
6626
  }
6594
6627
 
6595
- if (dirty & /*clientstyling*/ 64) {
6596
- set_custom_element_data(casino_providers, "clientstyling", /*clientstyling*/ ctx[6]);
6628
+ if (dirty & /*clientstyling*/ 128) {
6629
+ set_custom_element_data(casino_providers, "clientstyling", /*clientstyling*/ ctx[7]);
6597
6630
  }
6598
6631
 
6599
- if (dirty & /*clientstylingurl*/ 128) {
6600
- set_custom_element_data(casino_providers, "clientstylingurl", /*clientstylingurl*/ ctx[7]);
6632
+ if (dirty & /*clientstylingurl*/ 256) {
6633
+ set_custom_element_data(casino_providers, "clientstylingurl", /*clientstylingurl*/ ctx[8]);
6601
6634
  }
6602
6635
 
6603
- if (dirty & /*activeTab*/ 256 && div2_class_value !== (div2_class_value = /*activeTab*/ ctx[8] === 'categories'
6636
+ if (dirty & /*activeTab*/ 512 && div2_class_value !== (div2_class_value = /*activeTab*/ ctx[9] === 'categories'
6604
6637
  ? 'NotVisible'
6605
6638
  : '')) {
6606
6639
  attr_dev(div2, "class", div2_class_value);
@@ -6610,7 +6643,7 @@
6610
6643
  o: noop,
6611
6644
  d: function destroy(detaching) {
6612
6645
  if (detaching) detach_dev(div4);
6613
- /*div4_binding*/ ctx[14](null);
6646
+ /*div4_binding*/ ctx[15](null);
6614
6647
  mounted = false;
6615
6648
  run_all(dispose);
6616
6649
  }
@@ -6630,7 +6663,7 @@
6630
6663
  function instance($$self, $$props, $$invalidate) {
6631
6664
  let $_;
6632
6665
  validate_store(Y, '_');
6633
- component_subscribe($$self, Y, $$value => $$invalidate(10, $_ = $$value));
6666
+ component_subscribe($$self, Y, $$value => $$invalidate(11, $_ = $$value));
6634
6667
  let { $$slots: slots = {}, $$scope } = $$props;
6635
6668
  validate_slots('undefined', slots, []);
6636
6669
  let { endpointcategories = '' } = $$props;
@@ -6638,6 +6671,7 @@
6638
6671
  let { activecategory = '' } = $$props;
6639
6672
  let { endpointproviders = '' } = $$props;
6640
6673
  let { datasourceproviders = '' } = $$props;
6674
+ let { excludedflags = '' } = $$props;
6641
6675
  let { lang = 'en' } = $$props;
6642
6676
  let { clientstyling = '' } = $$props;
6643
6677
  let { clientstylingurl = '' } = $$props;
@@ -6651,7 +6685,7 @@
6651
6685
 
6652
6686
  const toggleTab = type => {
6653
6687
  if (activeTab === type) return;
6654
- $$invalidate(8, activeTab = type);
6688
+ $$invalidate(9, activeTab = type);
6655
6689
  };
6656
6690
 
6657
6691
  const setActiveLanguage = () => {
@@ -6696,6 +6730,7 @@
6696
6730
  'activecategory',
6697
6731
  'endpointproviders',
6698
6732
  'datasourceproviders',
6733
+ 'excludedflags',
6699
6734
  'lang',
6700
6735
  'clientstyling',
6701
6736
  'clientstylingurl'
@@ -6711,7 +6746,7 @@
6711
6746
  function div4_binding($$value) {
6712
6747
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
6713
6748
  customStylingContainer = $$value;
6714
- $$invalidate(9, customStylingContainer);
6749
+ $$invalidate(10, customStylingContainer);
6715
6750
  });
6716
6751
  }
6717
6752
 
@@ -6721,9 +6756,10 @@
6721
6756
  if ('activecategory' in $$props) $$invalidate(2, activecategory = $$props.activecategory);
6722
6757
  if ('endpointproviders' in $$props) $$invalidate(3, endpointproviders = $$props.endpointproviders);
6723
6758
  if ('datasourceproviders' in $$props) $$invalidate(4, datasourceproviders = $$props.datasourceproviders);
6724
- if ('lang' in $$props) $$invalidate(5, lang = $$props.lang);
6725
- if ('clientstyling' in $$props) $$invalidate(6, clientstyling = $$props.clientstyling);
6726
- if ('clientstylingurl' in $$props) $$invalidate(7, clientstylingurl = $$props.clientstylingurl);
6759
+ if ('excludedflags' in $$props) $$invalidate(5, excludedflags = $$props.excludedflags);
6760
+ if ('lang' in $$props) $$invalidate(6, lang = $$props.lang);
6761
+ if ('clientstyling' in $$props) $$invalidate(7, clientstyling = $$props.clientstyling);
6762
+ if ('clientstylingurl' in $$props) $$invalidate(8, clientstylingurl = $$props.clientstylingurl);
6727
6763
  };
6728
6764
 
6729
6765
  $$self.$capture_state = () => ({
@@ -6736,6 +6772,7 @@
6736
6772
  activecategory,
6737
6773
  endpointproviders,
6738
6774
  datasourceproviders,
6775
+ excludedflags,
6739
6776
  lang,
6740
6777
  clientstyling,
6741
6778
  clientstylingurl,
@@ -6755,11 +6792,12 @@
6755
6792
  if ('activecategory' in $$props) $$invalidate(2, activecategory = $$props.activecategory);
6756
6793
  if ('endpointproviders' in $$props) $$invalidate(3, endpointproviders = $$props.endpointproviders);
6757
6794
  if ('datasourceproviders' in $$props) $$invalidate(4, datasourceproviders = $$props.datasourceproviders);
6758
- if ('lang' in $$props) $$invalidate(5, lang = $$props.lang);
6759
- if ('clientstyling' in $$props) $$invalidate(6, clientstyling = $$props.clientstyling);
6760
- if ('clientstylingurl' in $$props) $$invalidate(7, clientstylingurl = $$props.clientstylingurl);
6761
- if ('activeTab' in $$props) $$invalidate(8, activeTab = $$props.activeTab);
6762
- if ('customStylingContainer' in $$props) $$invalidate(9, customStylingContainer = $$props.customStylingContainer);
6795
+ if ('excludedflags' in $$props) $$invalidate(5, excludedflags = $$props.excludedflags);
6796
+ if ('lang' in $$props) $$invalidate(6, lang = $$props.lang);
6797
+ if ('clientstyling' in $$props) $$invalidate(7, clientstyling = $$props.clientstyling);
6798
+ if ('clientstylingurl' in $$props) $$invalidate(8, clientstylingurl = $$props.clientstylingurl);
6799
+ if ('activeTab' in $$props) $$invalidate(9, activeTab = $$props.activeTab);
6800
+ if ('customStylingContainer' in $$props) $$invalidate(10, customStylingContainer = $$props.customStylingContainer);
6763
6801
  if ('displayNone' in $$props) displayNone = $$props.displayNone;
6764
6802
  };
6765
6803
 
@@ -6768,15 +6806,15 @@
6768
6806
  }
6769
6807
 
6770
6808
  $$self.$$.update = () => {
6771
- if ($$self.$$.dirty & /*lang*/ 32) {
6809
+ if ($$self.$$.dirty & /*lang*/ 64) {
6772
6810
  lang && setActiveLanguage();
6773
6811
  }
6774
6812
 
6775
- if ($$self.$$.dirty & /*clientstyling*/ 64) {
6813
+ if ($$self.$$.dirty & /*clientstyling*/ 128) {
6776
6814
  clientstyling && setClientStyling();
6777
6815
  }
6778
6816
 
6779
- if ($$self.$$.dirty & /*clientstylingurl*/ 128) {
6817
+ if ($$self.$$.dirty & /*clientstylingurl*/ 256) {
6780
6818
  clientstylingurl && setClientStylingURL();
6781
6819
  }
6782
6820
  };
@@ -6787,6 +6825,7 @@
6787
6825
  activecategory,
6788
6826
  endpointproviders,
6789
6827
  datasourceproviders,
6828
+ excludedflags,
6790
6829
  lang,
6791
6830
  clientstyling,
6792
6831
  clientstylingurl,
@@ -6821,9 +6860,10 @@
6821
6860
  activecategory: 2,
6822
6861
  endpointproviders: 3,
6823
6862
  datasourceproviders: 4,
6824
- lang: 5,
6825
- clientstyling: 6,
6826
- clientstylingurl: 7
6863
+ excludedflags: 5,
6864
+ lang: 6,
6865
+ clientstyling: 7,
6866
+ clientstylingurl: 8
6827
6867
  },
6828
6868
  null
6829
6869
  );
@@ -6847,6 +6887,7 @@
6847
6887
  "activecategory",
6848
6888
  "endpointproviders",
6849
6889
  "datasourceproviders",
6890
+ "excludedflags",
6850
6891
  "lang",
6851
6892
  "clientstyling",
6852
6893
  "clientstylingurl"
@@ -6898,17 +6939,26 @@
6898
6939
  flush();
6899
6940
  }
6900
6941
 
6901
- get lang() {
6942
+ get excludedflags() {
6902
6943
  return this.$$.ctx[5];
6903
6944
  }
6904
6945
 
6946
+ set excludedflags(excludedflags) {
6947
+ this.$$set({ excludedflags });
6948
+ flush();
6949
+ }
6950
+
6951
+ get lang() {
6952
+ return this.$$.ctx[6];
6953
+ }
6954
+
6905
6955
  set lang(lang) {
6906
6956
  this.$$set({ lang });
6907
6957
  flush();
6908
6958
  }
6909
6959
 
6910
6960
  get clientstyling() {
6911
- return this.$$.ctx[6];
6961
+ return this.$$.ctx[7];
6912
6962
  }
6913
6963
 
6914
6964
  set clientstyling(clientstyling) {
@@ -6917,7 +6967,7 @@
6917
6967
  }
6918
6968
 
6919
6969
  get clientstylingurl() {
6920
- return this.$$.ctx[7];
6970
+ return this.$$.ctx[8];
6921
6971
  }
6922
6972
 
6923
6973
  set clientstylingurl(clientstylingurl) {