@everymatrix/casino-categories-providers 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4852,11 +4852,11 @@
4852
4852
  }
4853
4853
 
4854
4854
  attr_dev(h40, "class", "CategoryTitle");
4855
- add_location(h40, file$2, 70, 4, 2630);
4855
+ add_location(h40, file$2, 70, 4, 2682);
4856
4856
  attr_dev(h41, "class", "CategoryTitle");
4857
- add_location(h41, file$2, 80, 4, 3112);
4857
+ add_location(h41, file$2, 80, 4, 3164);
4858
4858
  attr_dev(div, "class", "CasinoCategories");
4859
- add_location(div, file$2, 69, 2, 2595);
4859
+ add_location(div, file$2, 69, 2, 2647);
4860
4860
  },
4861
4861
  m: function mount(target, anchor) {
4862
4862
  insert_dev(target, div, anchor);
@@ -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, 67, 2, 2536);
4960
+ add_location(p, file$2, 67, 2, 2588);
4961
4961
  },
4962
4962
  m: function mount(target, anchor) {
4963
4963
  insert_dev(target, p, anchor);
@@ -5021,17 +5021,17 @@
5021
5021
  if (!src_url_equal(img.src, img_src_value = /*category*/ ctx[22].icon)) attr_dev(img, "src", img_src_value);
5022
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, 73, 6, 2816);
5025
- add_location(p0, file$2, 75, 8, 2984);
5026
- add_location(p1, file$2, 76, 8, 3015);
5024
+ add_location(img, file$2, 73, 6, 2868);
5025
+ add_location(p0, file$2, 75, 8, 3036);
5026
+ add_location(p1, file$2, 76, 8, 3067);
5027
5027
  attr_dev(div0, "class", "CategoryTextContainer");
5028
- add_location(div0, file$2, 74, 6, 2940);
5028
+ add_location(div0, file$2, 74, 6, 2992);
5029
5029
 
5030
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, 72, 4, 2738);
5034
+ add_location(div1, file$2, 72, 4, 2790);
5035
5035
  },
5036
5036
  m: function mount(target, anchor) {
5037
5037
  insert_dev(target, div1, anchor);
@@ -5134,17 +5134,17 @@
5134
5134
  if (!src_url_equal(img.src, img_src_value = /*category*/ ctx[22].icon)) attr_dev(img, "src", img_src_value);
5135
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, 83, 6, 3303);
5138
- add_location(p0, file$2, 85, 8, 3470);
5139
- add_location(p1, file$2, 86, 8, 3501);
5137
+ add_location(img, file$2, 83, 6, 3355);
5138
+ add_location(p0, file$2, 85, 8, 3522);
5139
+ add_location(p1, file$2, 86, 8, 3553);
5140
5140
  attr_dev(div0, "class", "CategoryTextContainer");
5141
- add_location(div0, file$2, 84, 6, 3426);
5141
+ add_location(div0, file$2, 84, 6, 3478);
5142
5142
 
5143
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, 82, 4, 3224);
5147
+ add_location(div1, file$2, 82, 4, 3276);
5148
5148
  },
5149
5149
  m: function mount(target, anchor) {
5150
5150
  insert_dev(target, div1, anchor);
@@ -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, 65, 0, 2475);
5223
+ add_location(div, file$2, 65, 0, 2527);
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");
@@ -5439,12 +5439,12 @@
5439
5439
  lang && setActiveLanguage();
5440
5440
  }
5441
5441
 
5442
- if ($$self.$$.dirty & /*clientstyling*/ 2048) {
5443
- clientstyling && setClientStyling();
5442
+ if ($$self.$$.dirty & /*clientstyling, customStylingContainer*/ 2050) {
5443
+ clientstyling && customStylingContainer && setClientStyling();
5444
5444
  }
5445
5445
 
5446
- if ($$self.$$.dirty & /*clientstylingurl*/ 4096) {
5447
- clientstylingurl && setClientStylingURL();
5446
+ if ($$self.$$.dirty & /*clientstylingurl, customStylingContainer*/ 4098) {
5447
+ clientstylingurl && customStylingContainer && setClientStylingURL();
5448
5448
  }
5449
5449
  };
5450
5450
 
@@ -5723,17 +5723,17 @@
5723
5723
 
5724
5724
  function get_each_context(ctx, list, i) {
5725
5725
  const child_ctx = ctx.slice();
5726
- child_ctx[20] = list[i];
5726
+ child_ctx[19] = list[i];
5727
5727
  return child_ctx;
5728
5728
  }
5729
5729
 
5730
5730
  function get_each_context_1(ctx, list, i) {
5731
5731
  const child_ctx = ctx.slice();
5732
- child_ctx[20] = list[i];
5732
+ child_ctx[19] = list[i];
5733
5733
  return child_ctx;
5734
5734
  }
5735
5735
 
5736
- // (71:4) {:else}
5736
+ // (67:4) {:else}
5737
5737
  function create_else_block(ctx) {
5738
5738
  let h40;
5739
5739
  let t0_value = /*$_*/ ctx[4]('Translations.popularProviders') + "";
@@ -5745,7 +5745,7 @@
5745
5745
  let t3;
5746
5746
  let t4;
5747
5747
  let each1_anchor;
5748
- let each_value_1 = /*topProviders*/ ctx[0];
5748
+ let each_value_1 = /*topProviders*/ ctx[1];
5749
5749
  validate_each_argument(each_value_1);
5750
5750
  let each_blocks_1 = [];
5751
5751
 
@@ -5753,7 +5753,7 @@
5753
5753
  each_blocks_1[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
5754
5754
  }
5755
5755
 
5756
- let each_value = /*otherProviders*/ ctx[1];
5756
+ let each_value = /*otherProviders*/ ctx[2];
5757
5757
  validate_each_argument(each_value);
5758
5758
  let each_blocks = [];
5759
5759
 
@@ -5782,9 +5782,9 @@
5782
5782
 
5783
5783
  each1_anchor = empty();
5784
5784
  attr_dev(h40, "class", "ProviderTitle");
5785
- add_location(h40, file$1, 71, 4, 2593);
5785
+ add_location(h40, file$1, 67, 4, 2507);
5786
5786
  attr_dev(h41, "class", "ProviderTitle");
5787
- add_location(h41, file$1, 81, 6, 3083);
5787
+ add_location(h41, file$1, 77, 6, 2997);
5788
5788
  },
5789
5789
  m: function mount(target, anchor) {
5790
5790
  insert_dev(target, h40, anchor);
@@ -5809,8 +5809,8 @@
5809
5809
  p: function update(ctx, dirty) {
5810
5810
  if (dirty & /*$_*/ 16 && t0_value !== (t0_value = /*$_*/ ctx[4]('Translations.popularProviders') + "")) set_data_dev(t0, t0_value);
5811
5811
 
5812
- if (dirty & /*openGameProviderPage, topProviders, $_*/ 49) {
5813
- each_value_1 = /*topProviders*/ ctx[0];
5812
+ if (dirty & /*openGameProviderPage, topProviders, $_*/ 50) {
5813
+ each_value_1 = /*topProviders*/ ctx[1];
5814
5814
  validate_each_argument(each_value_1);
5815
5815
  let i;
5816
5816
 
@@ -5835,8 +5835,8 @@
5835
5835
 
5836
5836
  if (dirty & /*$_*/ 16 && t3_value !== (t3_value = /*$_*/ ctx[4]('Translations.otherProviders') + "")) set_data_dev(t3, t3_value);
5837
5837
 
5838
- if (dirty & /*openGameProviderPage, otherProviders, $_*/ 50) {
5839
- each_value = /*otherProviders*/ ctx[1];
5838
+ if (dirty & /*openGameProviderPage, otherProviders, $_*/ 52) {
5839
+ each_value = /*otherProviders*/ ctx[2];
5840
5840
  validate_each_argument(each_value);
5841
5841
  let i;
5842
5842
 
@@ -5875,14 +5875,14 @@
5875
5875
  block,
5876
5876
  id: create_else_block.name,
5877
5877
  type: "else",
5878
- source: "(71:4) {:else}",
5878
+ source: "(67:4) {:else}",
5879
5879
  ctx
5880
5880
  });
5881
5881
 
5882
5882
  return block;
5883
5883
  }
5884
5884
 
5885
- // (69:4) {#if isLoading === true}
5885
+ // (65:4) {#if isLoading === true}
5886
5886
  function create_if_block(ctx) {
5887
5887
  let p;
5888
5888
  let t_value = /*$_*/ ctx[4]('Translations.loading') + "";
@@ -5893,7 +5893,7 @@
5893
5893
  p = element("p");
5894
5894
  t = text(t_value);
5895
5895
  attr_dev(p, "class", "Message");
5896
- add_location(p, file$1, 69, 6, 2523);
5896
+ add_location(p, file$1, 65, 6, 2437);
5897
5897
  },
5898
5898
  m: function mount(target, anchor) {
5899
5899
  insert_dev(target, p, anchor);
@@ -5911,14 +5911,14 @@
5911
5911
  block,
5912
5912
  id: create_if_block.name,
5913
5913
  type: "if",
5914
- source: "(69:4) {#if isLoading === true}",
5914
+ source: "(65:4) {#if isLoading === true}",
5915
5915
  ctx
5916
5916
  });
5917
5917
 
5918
5918
  return block;
5919
5919
  }
5920
5920
 
5921
- // (73:6) {#each topProviders as provider}
5921
+ // (69:6) {#each topProviders as provider}
5922
5922
  function create_each_block_1(ctx) {
5923
5923
  let div1;
5924
5924
  let img;
@@ -5927,11 +5927,11 @@
5927
5927
  let t0;
5928
5928
  let div0;
5929
5929
  let p0;
5930
- let t1_value = /*provider*/ ctx[20].name + "";
5930
+ let t1_value = /*provider*/ ctx[19].name + "";
5931
5931
  let t1;
5932
5932
  let t2;
5933
5933
  let p1;
5934
- let t3_value = /*provider*/ ctx[20].games.count + "";
5934
+ let t3_value = /*provider*/ ctx[19].games.count + "";
5935
5935
  let t3;
5936
5936
  let t4;
5937
5937
  let t5_value = /*$_*/ ctx[4]('Translations.games') + "";
@@ -5940,7 +5940,7 @@
5940
5940
  let dispose;
5941
5941
 
5942
5942
  function click_handler() {
5943
- return /*click_handler*/ ctx[11](/*provider*/ ctx[20]);
5943
+ return /*click_handler*/ ctx[11](/*provider*/ ctx[19]);
5944
5944
  }
5945
5945
 
5946
5946
  const block = {
@@ -5956,16 +5956,16 @@
5956
5956
  t3 = text(t3_value);
5957
5957
  t4 = space();
5958
5958
  t5 = text(t5_value);
5959
- if (!src_url_equal(img.src, img_src_value = /*provider*/ ctx[20].logo)) attr_dev(img, "src", img_src_value);
5960
- attr_dev(img, "alt", img_alt_value = /*provider*/ ctx[20].name);
5959
+ if (!src_url_equal(img.src, img_src_value = /*provider*/ ctx[19].logo)) attr_dev(img, "src", img_src_value);
5960
+ attr_dev(img, "alt", img_alt_value = /*provider*/ ctx[19].name);
5961
5961
  attr_dev(img, "class", "ProviderImage");
5962
- add_location(img, file$1, 74, 8, 2819);
5963
- add_location(p0, file$1, 76, 10, 2945);
5964
- add_location(p1, file$1, 77, 10, 2978);
5962
+ add_location(img, file$1, 70, 8, 2733);
5963
+ add_location(p0, file$1, 72, 10, 2859);
5964
+ add_location(p1, file$1, 73, 10, 2892);
5965
5965
  attr_dev(div0, "class", "ProviderTextContainer");
5966
- add_location(div0, file$1, 75, 8, 2899);
5966
+ add_location(div0, file$1, 71, 8, 2813);
5967
5967
  attr_dev(div1, "class", "Provider");
5968
- add_location(div1, file$1, 73, 6, 2707);
5968
+ add_location(div1, file$1, 69, 6, 2621);
5969
5969
  },
5970
5970
  m: function mount(target, anchor) {
5971
5971
  insert_dev(target, div1, anchor);
@@ -5988,16 +5988,16 @@
5988
5988
  p: function update(new_ctx, dirty) {
5989
5989
  ctx = new_ctx;
5990
5990
 
5991
- if (dirty & /*topProviders*/ 1 && !src_url_equal(img.src, img_src_value = /*provider*/ ctx[20].logo)) {
5991
+ if (dirty & /*topProviders*/ 2 && !src_url_equal(img.src, img_src_value = /*provider*/ ctx[19].logo)) {
5992
5992
  attr_dev(img, "src", img_src_value);
5993
5993
  }
5994
5994
 
5995
- if (dirty & /*topProviders*/ 1 && img_alt_value !== (img_alt_value = /*provider*/ ctx[20].name)) {
5995
+ if (dirty & /*topProviders*/ 2 && img_alt_value !== (img_alt_value = /*provider*/ ctx[19].name)) {
5996
5996
  attr_dev(img, "alt", img_alt_value);
5997
5997
  }
5998
5998
 
5999
- if (dirty & /*topProviders*/ 1 && t1_value !== (t1_value = /*provider*/ ctx[20].name + "")) set_data_dev(t1, t1_value);
6000
- if (dirty & /*topProviders*/ 1 && t3_value !== (t3_value = /*provider*/ ctx[20].games.count + "")) set_data_dev(t3, t3_value);
5999
+ if (dirty & /*topProviders*/ 2 && t1_value !== (t1_value = /*provider*/ ctx[19].name + "")) set_data_dev(t1, t1_value);
6000
+ if (dirty & /*topProviders*/ 2 && t3_value !== (t3_value = /*provider*/ ctx[19].games.count + "")) set_data_dev(t3, t3_value);
6001
6001
  if (dirty & /*$_*/ 16 && t5_value !== (t5_value = /*$_*/ ctx[4]('Translations.games') + "")) set_data_dev(t5, t5_value);
6002
6002
  },
6003
6003
  d: function destroy(detaching) {
@@ -6011,14 +6011,14 @@
6011
6011
  block,
6012
6012
  id: create_each_block_1.name,
6013
6013
  type: "each",
6014
- source: "(73:6) {#each topProviders as provider}",
6014
+ source: "(69:6) {#each topProviders as provider}",
6015
6015
  ctx
6016
6016
  });
6017
6017
 
6018
6018
  return block;
6019
6019
  }
6020
6020
 
6021
- // (83:6) {#each otherProviders as provider}
6021
+ // (79:6) {#each otherProviders as provider}
6022
6022
  function create_each_block(ctx) {
6023
6023
  let div1;
6024
6024
  let img;
@@ -6027,11 +6027,11 @@
6027
6027
  let t0;
6028
6028
  let div0;
6029
6029
  let p0;
6030
- let t1_value = /*provider*/ ctx[20].name + "";
6030
+ let t1_value = /*provider*/ ctx[19].name + "";
6031
6031
  let t1;
6032
6032
  let t2;
6033
6033
  let p1;
6034
- let t3_value = /*provider*/ ctx[20].games.count + "";
6034
+ let t3_value = /*provider*/ ctx[19].games.count + "";
6035
6035
  let t3;
6036
6036
  let t4;
6037
6037
  let t5_value = /*$_*/ ctx[4]('Translations.games') + "";
@@ -6041,7 +6041,7 @@
6041
6041
  let dispose;
6042
6042
 
6043
6043
  function click_handler_1() {
6044
- return /*click_handler_1*/ ctx[12](/*provider*/ ctx[20]);
6044
+ return /*click_handler_1*/ ctx[12](/*provider*/ ctx[19]);
6045
6045
  }
6046
6046
 
6047
6047
  const block = {
@@ -6058,16 +6058,16 @@
6058
6058
  t4 = space();
6059
6059
  t5 = text(t5_value);
6060
6060
  t6 = space();
6061
- if (!src_url_equal(img.src, img_src_value = /*provider*/ ctx[20].logo)) attr_dev(img, "src", img_src_value);
6062
- attr_dev(img, "alt", img_alt_value = /*provider*/ ctx[20].name);
6061
+ if (!src_url_equal(img.src, img_src_value = /*provider*/ ctx[19].logo)) attr_dev(img, "src", img_src_value);
6062
+ attr_dev(img, "alt", img_alt_value = /*provider*/ ctx[19].name);
6063
6063
  attr_dev(img, "class", "ProviderImage");
6064
- add_location(img, file$1, 84, 10, 3313);
6065
- add_location(p0, file$1, 86, 12, 3443);
6066
- add_location(p1, file$1, 87, 12, 3478);
6064
+ add_location(img, file$1, 80, 10, 3227);
6065
+ add_location(p0, file$1, 82, 12, 3357);
6066
+ add_location(p1, file$1, 83, 12, 3392);
6067
6067
  attr_dev(div0, "class", "ProviderTextContainer");
6068
- add_location(div0, file$1, 85, 10, 3395);
6068
+ add_location(div0, file$1, 81, 10, 3309);
6069
6069
  attr_dev(div1, "class", "Provider");
6070
- add_location(div1, file$1, 83, 8, 3199);
6070
+ add_location(div1, file$1, 79, 8, 3113);
6071
6071
  },
6072
6072
  m: function mount(target, anchor) {
6073
6073
  insert_dev(target, div1, anchor);
@@ -6091,16 +6091,16 @@
6091
6091
  p: function update(new_ctx, dirty) {
6092
6092
  ctx = new_ctx;
6093
6093
 
6094
- if (dirty & /*otherProviders*/ 2 && !src_url_equal(img.src, img_src_value = /*provider*/ ctx[20].logo)) {
6094
+ if (dirty & /*otherProviders*/ 4 && !src_url_equal(img.src, img_src_value = /*provider*/ ctx[19].logo)) {
6095
6095
  attr_dev(img, "src", img_src_value);
6096
6096
  }
6097
6097
 
6098
- if (dirty & /*otherProviders*/ 2 && img_alt_value !== (img_alt_value = /*provider*/ ctx[20].name)) {
6098
+ if (dirty & /*otherProviders*/ 4 && img_alt_value !== (img_alt_value = /*provider*/ ctx[19].name)) {
6099
6099
  attr_dev(img, "alt", img_alt_value);
6100
6100
  }
6101
6101
 
6102
- if (dirty & /*otherProviders*/ 2 && t1_value !== (t1_value = /*provider*/ ctx[20].name + "")) set_data_dev(t1, t1_value);
6103
- if (dirty & /*otherProviders*/ 2 && t3_value !== (t3_value = /*provider*/ ctx[20].games.count + "")) set_data_dev(t3, t3_value);
6102
+ if (dirty & /*otherProviders*/ 4 && t1_value !== (t1_value = /*provider*/ ctx[19].name + "")) set_data_dev(t1, t1_value);
6103
+ if (dirty & /*otherProviders*/ 4 && t3_value !== (t3_value = /*provider*/ ctx[19].games.count + "")) set_data_dev(t3, t3_value);
6104
6104
  if (dirty & /*$_*/ 16 && t5_value !== (t5_value = /*$_*/ ctx[4]('Translations.games') + "")) set_data_dev(t5, t5_value);
6105
6105
  },
6106
6106
  d: function destroy(detaching) {
@@ -6114,7 +6114,7 @@
6114
6114
  block,
6115
6115
  id: create_each_block.name,
6116
6116
  type: "each",
6117
- source: "(83:6) {#each otherProviders as provider}",
6117
+ source: "(79:6) {#each otherProviders as provider}",
6118
6118
  ctx
6119
6119
  });
6120
6120
 
@@ -6126,7 +6126,7 @@
6126
6126
  let div0;
6127
6127
 
6128
6128
  function select_block_type(ctx, dirty) {
6129
- if (/*isLoading*/ ctx[2] === true) return create_if_block;
6129
+ if (/*isLoading*/ ctx[3] === true) return create_if_block;
6130
6130
  return create_else_block;
6131
6131
  }
6132
6132
 
@@ -6140,8 +6140,8 @@
6140
6140
  if_block.c();
6141
6141
  this.c = noop;
6142
6142
  attr_dev(div0, "class", "CasinoProviders");
6143
- add_location(div0, file$1, 67, 2, 2458);
6144
- add_location(div1, file$1, 66, 0, 2415);
6143
+ add_location(div0, file$1, 63, 2, 2372);
6144
+ add_location(div1, file$1, 62, 0, 2329);
6145
6145
  },
6146
6146
  l: function claim(nodes) {
6147
6147
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -6201,24 +6201,23 @@
6201
6201
  let otherProviders = [];
6202
6202
  let isLoading = false;
6203
6203
  let customStylingContainer;
6204
- let displayNone = false;
6205
6204
 
6206
6205
  Object.keys(Translations).forEach(item => {
6207
6206
  addNewMessages(item, Translations[item]);
6208
6207
  });
6209
6208
 
6210
6209
  const getProviders = () => {
6211
- $$invalidate(2, isLoading = true);
6210
+ $$invalidate(3, isLoading = true);
6212
6211
  const url = new URL(`${endpoint}/casino/vendors`);
6213
6212
  url.searchParams.append("datasource", datasource);
6214
6213
  url.searchParams.append("language", lang);
6215
6214
  url.searchParams.append("fields", "id,name,displayName,subVendors,isTopVendor,logo,games");
6216
6215
 
6217
6216
  fetch(url).then(res => res.json()).then(data => {
6218
- $$invalidate(2, isLoading = false);
6217
+ $$invalidate(3, isLoading = false);
6219
6218
  providers = data.items.map(item => item);
6220
- $$invalidate(0, topProviders = providers.filter(provider => provider.isTopVendor === true));
6221
- $$invalidate(1, otherProviders = providers.filter(provider => provider.isTopVendor === false));
6219
+ $$invalidate(1, topProviders = providers.filter(provider => provider.isTopVendor === true));
6220
+ $$invalidate(2, otherProviders = providers.filter(provider => provider.isTopVendor === false));
6222
6221
  let allSubVendors = [];
6223
6222
  allSubVendors = providers.flatMap(item => item.subVendors);
6224
6223
  otherProviders.push(...allSubVendors.filter(subVendor => subVendor.games.count > 0));
@@ -6252,21 +6251,12 @@
6252
6251
  fetch(url.href).then(res => res.text()).then(data => {
6253
6252
  cssFile.innerHTML = data;
6254
6253
 
6255
- if (customStylingContainer) {
6256
- setTimeout(
6257
- () => {
6258
- customStylingContainer.appendChild(cssFile);
6259
- },
6260
- 1
6261
- );
6262
-
6263
- setTimeout(
6264
- () => {
6265
- displayNone = false;
6266
- },
6267
- 500
6268
- );
6269
- }
6254
+ setTimeout(
6255
+ () => {
6256
+ customStylingContainer.appendChild(cssFile);
6257
+ },
6258
+ 1
6259
+ );
6270
6260
  });
6271
6261
  };
6272
6262
 
@@ -6282,7 +6272,7 @@
6282
6272
  function div1_binding($$value) {
6283
6273
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
6284
6274
  customStylingContainer = $$value;
6285
- $$invalidate(3, customStylingContainer);
6275
+ $$invalidate(0, customStylingContainer);
6286
6276
  });
6287
6277
  }
6288
6278
 
@@ -6309,7 +6299,6 @@
6309
6299
  otherProviders,
6310
6300
  isLoading,
6311
6301
  customStylingContainer,
6312
- displayNone,
6313
6302
  getProviders,
6314
6303
  openGameProviderPage,
6315
6304
  setActiveLanguage,
@@ -6325,11 +6314,10 @@
6325
6314
  if ('clientstyling' in $$props) $$invalidate(9, clientstyling = $$props.clientstyling);
6326
6315
  if ('clientstylingurl' in $$props) $$invalidate(10, clientstylingurl = $$props.clientstylingurl);
6327
6316
  if ('providers' in $$props) providers = $$props.providers;
6328
- if ('topProviders' in $$props) $$invalidate(0, topProviders = $$props.topProviders);
6329
- if ('otherProviders' in $$props) $$invalidate(1, otherProviders = $$props.otherProviders);
6330
- if ('isLoading' in $$props) $$invalidate(2, isLoading = $$props.isLoading);
6331
- if ('customStylingContainer' in $$props) $$invalidate(3, customStylingContainer = $$props.customStylingContainer);
6332
- if ('displayNone' in $$props) displayNone = $$props.displayNone;
6317
+ if ('topProviders' in $$props) $$invalidate(1, topProviders = $$props.topProviders);
6318
+ if ('otherProviders' in $$props) $$invalidate(2, otherProviders = $$props.otherProviders);
6319
+ if ('isLoading' in $$props) $$invalidate(3, isLoading = $$props.isLoading);
6320
+ if ('customStylingContainer' in $$props) $$invalidate(0, customStylingContainer = $$props.customStylingContainer);
6333
6321
  };
6334
6322
 
6335
6323
  if ($$props && "$$inject" in $$props) {
@@ -6345,20 +6333,20 @@
6345
6333
  lang && setActiveLanguage();
6346
6334
  }
6347
6335
 
6348
- if ($$self.$$.dirty & /*clientstyling*/ 512) {
6349
- clientstyling && setClientStyling();
6336
+ if ($$self.$$.dirty & /*clientstyling, customStylingContainer*/ 513) {
6337
+ clientstyling && customStylingContainer && setClientStyling();
6350
6338
  }
6351
6339
 
6352
- if ($$self.$$.dirty & /*clientstylingurl*/ 1024) {
6353
- clientstylingurl && setClientStylingURL();
6340
+ if ($$self.$$.dirty & /*clientstylingurl, customStylingContainer*/ 1025) {
6341
+ clientstylingurl && customStylingContainer && setClientStylingURL();
6354
6342
  }
6355
6343
  };
6356
6344
 
6357
6345
  return [
6346
+ customStylingContainer,
6358
6347
  topProviders,
6359
6348
  otherProviders,
6360
6349
  isLoading,
6361
- customStylingContainer,
6362
6350
  $_,
6363
6351
  openGameProviderPage,
6364
6352
  endpoint,
@@ -6507,12 +6495,12 @@
6507
6495
  div2 = element("div");
6508
6496
  casino_providers = element("casino-providers");
6509
6497
  this.c = noop;
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);
6498
+ attr_dev(button0, "class", button0_class_value = "HeaderButton " + (/*activeTab*/ ctx[10] === 'categories' ? 'Active' : ''));
6499
+ add_location(button0, file, 55, 6, 1799);
6500
+ attr_dev(button1, "class", button1_class_value = "HeaderButton " + (/*activeTab*/ ctx[10] === 'providers' ? 'Active' : ''));
6501
+ add_location(button1, file, 58, 6, 1976);
6514
6502
  attr_dev(div0, "class", "Header");
6515
- add_location(div0, file, 54, 4, 1720);
6503
+ add_location(div0, file, 54, 4, 1772);
6516
6504
  set_custom_element_data(casino_categories, "endpoint", /*endpointcategories*/ ctx[0]);
6517
6505
  set_custom_element_data(casino_categories, "datasource", /*datasourcecategories*/ ctx[1]);
6518
6506
  set_custom_element_data(casino_categories, "activecategory", /*activecategory*/ ctx[2]);
@@ -6520,24 +6508,28 @@
6520
6508
  set_custom_element_data(casino_categories, "lang", /*lang*/ ctx[6]);
6521
6509
  set_custom_element_data(casino_categories, "clientstyling", /*clientstyling*/ ctx[7]);
6522
6510
  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);
6511
+ add_location(casino_categories, file, 64, 6, 2231);
6512
+
6513
+ attr_dev(div1, "class", div1_class_value = /*activeTab*/ ctx[10] === 'providers'
6514
+ ? 'NotVisible'
6515
+ : '');
6516
+
6517
+ add_location(div1, file, 63, 4, 2164);
6526
6518
  set_custom_element_data(casino_providers, "endpoint", /*endpointproviders*/ ctx[3]);
6527
6519
  set_custom_element_data(casino_providers, "datasource", /*datasourceproviders*/ ctx[4]);
6528
6520
  set_custom_element_data(casino_providers, "lang", /*lang*/ ctx[6]);
6529
6521
  set_custom_element_data(casino_providers, "clientstyling", /*clientstyling*/ ctx[7]);
6530
6522
  set_custom_element_data(casino_providers, "clientstylingurl", /*clientstylingurl*/ ctx[8]);
6531
- add_location(casino_providers, file, 75, 6, 2511);
6523
+ add_location(casino_providers, file, 75, 6, 2563);
6532
6524
 
6533
- attr_dev(div2, "class", div2_class_value = /*activeTab*/ ctx[9] === 'categories'
6525
+ attr_dev(div2, "class", div2_class_value = /*activeTab*/ ctx[10] === 'categories'
6534
6526
  ? 'NotVisible'
6535
6527
  : '');
6536
6528
 
6537
- add_location(div2, file, 74, 4, 2443);
6529
+ add_location(div2, file, 74, 4, 2495);
6538
6530
  attr_dev(div3, "class", "CasinoCategoriesProviders");
6539
- add_location(div3, file, 53, 2, 1676);
6540
- add_location(div4, file, 52, 0, 1633);
6531
+ add_location(div3, file, 53, 2, 1728);
6532
+ add_location(div4, file, 52, 0, 1685);
6541
6533
  },
6542
6534
  l: function claim(nodes) {
6543
6535
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -6571,13 +6563,13 @@
6571
6563
  p: function update(ctx, [dirty]) {
6572
6564
  if (dirty & /*$_*/ 2048 && t0_value !== (t0_value = /*$_*/ ctx[11]('Translations.categories') + "")) set_data_dev(t0, t0_value);
6573
6565
 
6574
- if (dirty & /*activeTab*/ 512 && button0_class_value !== (button0_class_value = "HeaderButton " + (/*activeTab*/ ctx[9] === 'categories' ? 'Active' : ''))) {
6566
+ if (dirty & /*activeTab*/ 1024 && button0_class_value !== (button0_class_value = "HeaderButton " + (/*activeTab*/ ctx[10] === 'categories' ? 'Active' : ''))) {
6575
6567
  attr_dev(button0, "class", button0_class_value);
6576
6568
  }
6577
6569
 
6578
6570
  if (dirty & /*$_*/ 2048 && t2_value !== (t2_value = /*$_*/ ctx[11]('Translations.providers') + "")) set_data_dev(t2, t2_value);
6579
6571
 
6580
- if (dirty & /*activeTab*/ 512 && button1_class_value !== (button1_class_value = "HeaderButton " + (/*activeTab*/ ctx[9] === 'providers' ? 'Active' : ''))) {
6572
+ if (dirty & /*activeTab*/ 1024 && button1_class_value !== (button1_class_value = "HeaderButton " + (/*activeTab*/ ctx[10] === 'providers' ? 'Active' : ''))) {
6581
6573
  attr_dev(button1, "class", button1_class_value);
6582
6574
  }
6583
6575
 
@@ -6609,7 +6601,9 @@
6609
6601
  set_custom_element_data(casino_categories, "clientstylingurl", /*clientstylingurl*/ ctx[8]);
6610
6602
  }
6611
6603
 
6612
- if (dirty & /*activeTab*/ 512 && div1_class_value !== (div1_class_value = /*activeTab*/ ctx[9] === 'providers' ? 'NotVisible' : '')) {
6604
+ if (dirty & /*activeTab*/ 1024 && div1_class_value !== (div1_class_value = /*activeTab*/ ctx[10] === 'providers'
6605
+ ? 'NotVisible'
6606
+ : '')) {
6613
6607
  attr_dev(div1, "class", div1_class_value);
6614
6608
  }
6615
6609
 
@@ -6633,7 +6627,7 @@
6633
6627
  set_custom_element_data(casino_providers, "clientstylingurl", /*clientstylingurl*/ ctx[8]);
6634
6628
  }
6635
6629
 
6636
- if (dirty & /*activeTab*/ 512 && div2_class_value !== (div2_class_value = /*activeTab*/ ctx[9] === 'categories'
6630
+ if (dirty & /*activeTab*/ 1024 && div2_class_value !== (div2_class_value = /*activeTab*/ ctx[10] === 'categories'
6637
6631
  ? 'NotVisible'
6638
6632
  : '')) {
6639
6633
  attr_dev(div2, "class", div2_class_value);
@@ -6685,7 +6679,7 @@
6685
6679
 
6686
6680
  const toggleTab = type => {
6687
6681
  if (activeTab === type) return;
6688
- $$invalidate(9, activeTab = type);
6682
+ $$invalidate(10, activeTab = type);
6689
6683
  };
6690
6684
 
6691
6685
  const setActiveLanguage = () => {
@@ -6746,7 +6740,7 @@
6746
6740
  function div4_binding($$value) {
6747
6741
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
6748
6742
  customStylingContainer = $$value;
6749
- $$invalidate(10, customStylingContainer);
6743
+ $$invalidate(9, customStylingContainer);
6750
6744
  });
6751
6745
  }
6752
6746
 
@@ -6796,8 +6790,8 @@
6796
6790
  if ('lang' in $$props) $$invalidate(6, lang = $$props.lang);
6797
6791
  if ('clientstyling' in $$props) $$invalidate(7, clientstyling = $$props.clientstyling);
6798
6792
  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);
6793
+ if ('activeTab' in $$props) $$invalidate(10, activeTab = $$props.activeTab);
6794
+ if ('customStylingContainer' in $$props) $$invalidate(9, customStylingContainer = $$props.customStylingContainer);
6801
6795
  if ('displayNone' in $$props) displayNone = $$props.displayNone;
6802
6796
  };
6803
6797
 
@@ -6810,12 +6804,12 @@
6810
6804
  lang && setActiveLanguage();
6811
6805
  }
6812
6806
 
6813
- if ($$self.$$.dirty & /*clientstyling*/ 128) {
6814
- clientstyling && setClientStyling();
6807
+ if ($$self.$$.dirty & /*clientstyling, customStylingContainer*/ 640) {
6808
+ clientstyling && customStylingContainer && setClientStyling();
6815
6809
  }
6816
6810
 
6817
- if ($$self.$$.dirty & /*clientstylingurl*/ 256) {
6818
- clientstylingurl && setClientStylingURL();
6811
+ if ($$self.$$.dirty & /*clientstylingurl, customStylingContainer*/ 768) {
6812
+ clientstylingurl && customStylingContainer && setClientStylingURL();
6819
6813
  }
6820
6814
  };
6821
6815
 
@@ -6829,8 +6823,8 @@
6829
6823
  lang,
6830
6824
  clientstyling,
6831
6825
  clientstylingurl,
6832
- activeTab,
6833
6826
  customStylingContainer,
6827
+ activeTab,
6834
6828
  $_,
6835
6829
  toggleTab,
6836
6830
  click_handler,