@everymatrix/casino-header-controller 0.0.131 → 0.0.135

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.
@@ -4806,19 +4806,19 @@
4806
4806
 
4807
4807
  function get_each_context$2(ctx, list, i) {
4808
4808
  const child_ctx = ctx.slice();
4809
- child_ctx[20] = list[i];
4810
- child_ctx[22] = i;
4809
+ child_ctx[21] = list[i];
4810
+ child_ctx[23] = i;
4811
4811
  return child_ctx;
4812
4812
  }
4813
4813
 
4814
- // (71:6) {#if sliderdata.length > 0}
4814
+ // (75:6) {#if sliderdata.length > 0}
4815
4815
  function create_if_block$3(ctx) {
4816
4816
  let each_blocks = [];
4817
4817
  let each_1_lookup = new Map();
4818
4818
  let each_1_anchor;
4819
4819
  let each_value = /*sliderdata*/ ctx[0];
4820
4820
  validate_each_argument(each_value);
4821
- const get_key = ctx => /*item*/ ctx[20].id;
4821
+ const get_key = ctx => /*item*/ ctx[21].id;
4822
4822
  validate_each_keys(ctx, each_value, get_each_context$2, get_key);
4823
4823
 
4824
4824
  for (let i = 0; i < each_value.length; i += 1) {
@@ -4863,20 +4863,20 @@
4863
4863
  block,
4864
4864
  id: create_if_block$3.name,
4865
4865
  type: "if",
4866
- source: "(71:6) {#if sliderdata.length > 0}",
4866
+ source: "(75:6) {#if sliderdata.length > 0}",
4867
4867
  ctx
4868
4868
  });
4869
4869
 
4870
4870
  return block;
4871
4871
  }
4872
4872
 
4873
- // (76:12) {:else}
4873
+ // (80:12) {:else}
4874
4874
  function create_else_block$1(ctx) {
4875
- let t0_value = /*item*/ ctx[20].name + "";
4875
+ let t0_value = /*item*/ ctx[21].name + "";
4876
4876
  let t0;
4877
4877
  let t1;
4878
4878
 
4879
- let t2_value = (/*item*/ ctx[20].id === "FAVORITES"
4879
+ let t2_value = (/*item*/ ctx[21].id === "FAVORITES"
4880
4880
  ? "(" + /*favoritesnumber*/ ctx[1] + ")"
4881
4881
  : "") + "";
4882
4882
 
@@ -4894,9 +4894,9 @@
4894
4894
  insert_dev(target, t2, anchor);
4895
4895
  },
4896
4896
  p: function update(ctx, dirty) {
4897
- if (dirty & /*sliderdata*/ 1 && t0_value !== (t0_value = /*item*/ ctx[20].name + "")) set_data_dev(t0, t0_value);
4897
+ if (dirty & /*sliderdata*/ 1 && t0_value !== (t0_value = /*item*/ ctx[21].name + "")) set_data_dev(t0, t0_value);
4898
4898
 
4899
- if (dirty & /*sliderdata, favoritesnumber*/ 3 && t2_value !== (t2_value = (/*item*/ ctx[20].id === "FAVORITES"
4899
+ if (dirty & /*sliderdata, favoritesnumber*/ 3 && t2_value !== (t2_value = (/*item*/ ctx[21].id === "FAVORITES"
4900
4900
  ? "(" + /*favoritesnumber*/ ctx[1] + ")"
4901
4901
  : "") + "")) set_data_dev(t2, t2_value);
4902
4902
  },
@@ -4911,17 +4911,17 @@
4911
4911
  block,
4912
4912
  id: create_else_block$1.name,
4913
4913
  type: "else",
4914
- source: "(76:12) {:else}",
4914
+ source: "(80:12) {:else}",
4915
4915
  ctx
4916
4916
  });
4917
4917
 
4918
4918
  return block;
4919
4919
  }
4920
4920
 
4921
- // (74:12) {#if location === 'headerMain'}
4921
+ // (78:12) {#if location === 'headerMain'}
4922
4922
  function create_if_block_1$2(ctx) {
4923
4923
  let a;
4924
- let t_value = /*item*/ ctx[20].label + "";
4924
+ let t_value = /*item*/ ctx[21].label + "";
4925
4925
  let t;
4926
4926
  let a_href_value;
4927
4927
 
@@ -4929,17 +4929,17 @@
4929
4929
  c: function create() {
4930
4930
  a = element("a");
4931
4931
  t = text(t_value);
4932
- attr_dev(a, "href", a_href_value = /*item*/ ctx[20].path);
4933
- add_location(a, file$3, 74, 14, 2613);
4932
+ attr_dev(a, "href", a_href_value = /*item*/ ctx[21].path);
4933
+ add_location(a, file$3, 78, 14, 2741);
4934
4934
  },
4935
4935
  m: function mount(target, anchor) {
4936
4936
  insert_dev(target, a, anchor);
4937
4937
  append_dev(a, t);
4938
4938
  },
4939
4939
  p: function update(ctx, dirty) {
4940
- if (dirty & /*sliderdata*/ 1 && t_value !== (t_value = /*item*/ ctx[20].label + "")) set_data_dev(t, t_value);
4940
+ if (dirty & /*sliderdata*/ 1 && t_value !== (t_value = /*item*/ ctx[21].label + "")) set_data_dev(t, t_value);
4941
4941
 
4942
- if (dirty & /*sliderdata*/ 1 && a_href_value !== (a_href_value = /*item*/ ctx[20].path)) {
4942
+ if (dirty & /*sliderdata*/ 1 && a_href_value !== (a_href_value = /*item*/ ctx[21].path)) {
4943
4943
  attr_dev(a, "href", a_href_value);
4944
4944
  }
4945
4945
  },
@@ -4952,14 +4952,14 @@
4952
4952
  block,
4953
4953
  id: create_if_block_1$2.name,
4954
4954
  type: "if",
4955
- source: "(74:12) {#if location === 'headerMain'}",
4955
+ source: "(78:12) {#if location === 'headerMain'}",
4956
4956
  ctx
4957
4957
  });
4958
4958
 
4959
4959
  return block;
4960
4960
  }
4961
4961
 
4962
- // (72:8) {#each sliderdata as item, index (item.id)}
4962
+ // (76:8) {#each sliderdata as item, index (item.id)}
4963
4963
  function create_each_block$2(key_1, ctx) {
4964
4964
  let li;
4965
4965
  let t;
@@ -4975,7 +4975,7 @@
4975
4975
  let if_block = current_block_type(ctx);
4976
4976
 
4977
4977
  function click_handler_1(...args) {
4978
- return /*click_handler_1*/ ctx[13](/*item*/ ctx[20], /*index*/ ctx[22], ...args);
4978
+ return /*click_handler_1*/ ctx[14](/*item*/ ctx[21], /*index*/ ctx[23], ...args);
4979
4979
  }
4980
4980
 
4981
4981
  const block = {
@@ -4986,8 +4986,8 @@
4986
4986
  if_block.c();
4987
4987
  t = space();
4988
4988
  attr_dev(li, "class", "CarouselItem");
4989
- toggle_class(li, "active", /*active*/ ctx[4] == /*index*/ ctx[22]);
4990
- add_location(li, file$3, 72, 10, 2454);
4989
+ toggle_class(li, "active", /*active*/ ctx[4] == /*index*/ ctx[23]);
4990
+ add_location(li, file$3, 76, 10, 2582);
4991
4991
  this.first = li;
4992
4992
  },
4993
4993
  m: function mount(target, anchor) {
@@ -5016,7 +5016,7 @@
5016
5016
  }
5017
5017
 
5018
5018
  if (dirty & /*active, sliderdata*/ 17) {
5019
- toggle_class(li, "active", /*active*/ ctx[4] == /*index*/ ctx[22]);
5019
+ toggle_class(li, "active", /*active*/ ctx[4] == /*index*/ ctx[23]);
5020
5020
  }
5021
5021
  },
5022
5022
  d: function destroy(detaching) {
@@ -5031,7 +5031,7 @@
5031
5031
  block,
5032
5032
  id: create_each_block$2.name,
5033
5033
  type: "each",
5034
- source: "(72:8) {#each sliderdata as item, index (item.id)}",
5034
+ source: "(76:8) {#each sliderdata as item, index (item.id)}",
5035
5035
  ctx
5036
5036
  });
5037
5037
 
@@ -5074,35 +5074,35 @@
5074
5074
  attr_dev(path0, "stroke-linejoin", "round");
5075
5075
  attr_dev(path0, "stroke-width", "2");
5076
5076
  attr_dev(path0, "d", "M15 19l-7-7 7-7");
5077
- add_location(path0, file$3, 65, 8, 2183);
5077
+ add_location(path0, file$3, 69, 8, 2311);
5078
5078
  attr_dev(svg0, "fill", "none");
5079
5079
  attr_dev(svg0, "stroke", "currentColor");
5080
5080
  attr_dev(svg0, "viewBox", "0 0 24 24");
5081
5081
  attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
5082
- add_location(svg0, file$3, 64, 6, 2080);
5082
+ add_location(svg0, file$3, 68, 6, 2208);
5083
5083
  attr_dev(div0, "class", "CarouselLeftArrow");
5084
- add_location(div0, file$3, 63, 4, 2010);
5084
+ add_location(div0, file$3, 67, 4, 2138);
5085
5085
  attr_dev(ul, "class", "CarouselItems");
5086
- add_location(ul, file$3, 69, 4, 2310);
5086
+ add_location(ul, file$3, 73, 4, 2438);
5087
5087
  attr_dev(path1, "stroke-linecap", "round");
5088
5088
  attr_dev(path1, "stroke-linejoin", "round");
5089
5089
  attr_dev(path1, "stroke-width", "2");
5090
5090
  attr_dev(path1, "d", "M9 5l7 7-7 7");
5091
- add_location(path1, file$3, 85, 8, 3009);
5091
+ add_location(path1, file$3, 89, 8, 3137);
5092
5092
  attr_dev(svg1, "fill", "none");
5093
5093
  attr_dev(svg1, "stroke", "currentColor");
5094
5094
  attr_dev(svg1, "viewBox", "0 0 24 24");
5095
5095
  attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
5096
- add_location(svg1, file$3, 84, 6, 2906);
5096
+ add_location(svg1, file$3, 88, 6, 3034);
5097
5097
  attr_dev(div1, "class", "CarouselRightArrow");
5098
- add_location(div1, file$3, 83, 4, 2834);
5098
+ add_location(div1, file$3, 87, 4, 2962);
5099
5099
 
5100
5100
  attr_dev(div2, "class", div2_class_value = "CarouselContainer " + (/*location*/ ctx[2] === "headerMain"
5101
5101
  ? "CarouselContainerHeaderMain"
5102
5102
  : ""));
5103
5103
 
5104
- add_location(div2, file$3, 62, 2, 1905);
5105
- add_location(div3, file$3, 61, 0, 1862);
5104
+ add_location(div2, file$3, 66, 2, 2033);
5105
+ add_location(div3, file$3, 65, 0, 1990);
5106
5106
  },
5107
5107
  l: function claim(nodes) {
5108
5108
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -5116,17 +5116,17 @@
5116
5116
  append_dev(div2, t0);
5117
5117
  append_dev(div2, ul);
5118
5118
  if (if_block) if_block.m(ul, null);
5119
- /*ul_binding*/ ctx[14](ul);
5119
+ /*ul_binding*/ ctx[15](ul);
5120
5120
  append_dev(div2, t1);
5121
5121
  append_dev(div2, div1);
5122
5122
  append_dev(div1, svg1);
5123
5123
  append_dev(svg1, path1);
5124
- /*div3_binding*/ ctx[16](div3);
5124
+ /*div3_binding*/ ctx[17](div3);
5125
5125
 
5126
5126
  if (!mounted) {
5127
5127
  dispose = [
5128
- listen_dev(div0, "click", /*click_handler*/ ctx[12], false, false, false),
5129
- listen_dev(div1, "click", /*click_handler_2*/ ctx[15], false, false, false)
5128
+ listen_dev(div0, "click", /*click_handler*/ ctx[13], false, false, false),
5129
+ listen_dev(div1, "click", /*click_handler_2*/ ctx[16], false, false, false)
5130
5130
  ];
5131
5131
 
5132
5132
  mounted = true;
@@ -5157,8 +5157,8 @@
5157
5157
  d: function destroy(detaching) {
5158
5158
  if (detaching) detach_dev(div3);
5159
5159
  if (if_block) if_block.d();
5160
- /*ul_binding*/ ctx[14](null);
5161
- /*div3_binding*/ ctx[16](null);
5160
+ /*ul_binding*/ ctx[15](null);
5161
+ /*div3_binding*/ ctx[17](null);
5162
5162
  mounted = false;
5163
5163
  run_all(dispose);
5164
5164
  }
@@ -5184,6 +5184,7 @@
5184
5184
  let { location = "" } = $$props;
5185
5185
  let { clientstyling = "" } = $$props;
5186
5186
  let { clientstylingurl = "" } = $$props;
5187
+ let { identify = "" } = $$props;
5187
5188
  let carousel;
5188
5189
  let active;
5189
5190
  let customStylingContainer;
@@ -5203,6 +5204,10 @@
5203
5204
  }).indexOf(e.data.categoryData.id)
5204
5205
  : 0);
5205
5206
  }
5207
+
5208
+ if (e.data && e.data.type == `SetSliderIndex_${identify}`) {
5209
+ $$invalidate(4, active = e.data.index);
5210
+ }
5206
5211
  };
5207
5212
 
5208
5213
  let scrollLeft = () => {
@@ -5253,7 +5258,8 @@
5253
5258
  "favoritesnumber",
5254
5259
  "location",
5255
5260
  "clientstyling",
5256
- "clientstylingurl"
5261
+ "clientstylingurl",
5262
+ "identify"
5257
5263
  ];
5258
5264
 
5259
5265
  Object.keys($$props).forEach(key => {
@@ -5286,6 +5292,7 @@
5286
5292
  if ("location" in $$props) $$invalidate(2, location = $$props.location);
5287
5293
  if ("clientstyling" in $$props) $$invalidate(10, clientstyling = $$props.clientstyling);
5288
5294
  if ("clientstylingurl" in $$props) $$invalidate(11, clientstylingurl = $$props.clientstylingurl);
5295
+ if ("identify" in $$props) $$invalidate(12, identify = $$props.identify);
5289
5296
  };
5290
5297
 
5291
5298
  $$self.$capture_state = () => ({
@@ -5296,6 +5303,7 @@
5296
5303
  location,
5297
5304
  clientstyling,
5298
5305
  clientstylingurl,
5306
+ identify,
5299
5307
  carousel,
5300
5308
  active,
5301
5309
  customStylingContainer,
@@ -5314,6 +5322,7 @@
5314
5322
  if ("location" in $$props) $$invalidate(2, location = $$props.location);
5315
5323
  if ("clientstyling" in $$props) $$invalidate(10, clientstyling = $$props.clientstyling);
5316
5324
  if ("clientstylingurl" in $$props) $$invalidate(11, clientstylingurl = $$props.clientstylingurl);
5325
+ if ("identify" in $$props) $$invalidate(12, identify = $$props.identify);
5317
5326
  if ("carousel" in $$props) $$invalidate(3, carousel = $$props.carousel);
5318
5327
  if ("active" in $$props) $$invalidate(4, active = $$props.active);
5319
5328
  if ("customStylingContainer" in $$props) $$invalidate(5, customStylingContainer = $$props.customStylingContainer);
@@ -5349,6 +5358,7 @@
5349
5358
  onclickeventname,
5350
5359
  clientstyling,
5351
5360
  clientstylingurl,
5361
+ identify,
5352
5362
  click_handler,
5353
5363
  click_handler_1,
5354
5364
  ul_binding,
@@ -5378,7 +5388,8 @@
5378
5388
  favoritesnumber: 1,
5379
5389
  location: 2,
5380
5390
  clientstyling: 10,
5381
- clientstylingurl: 11
5391
+ clientstylingurl: 11,
5392
+ identify: 12
5382
5393
  }
5383
5394
  );
5384
5395
 
@@ -5401,7 +5412,8 @@
5401
5412
  "favoritesnumber",
5402
5413
  "location",
5403
5414
  "clientstyling",
5404
- "clientstylingurl"
5415
+ "clientstylingurl",
5416
+ "identify"
5405
5417
  ];
5406
5418
  }
5407
5419
 
@@ -5458,6 +5470,15 @@
5458
5470
  this.$set({ clientstylingurl });
5459
5471
  flush();
5460
5472
  }
5473
+
5474
+ get identify() {
5475
+ return this.$$.ctx[12];
5476
+ }
5477
+
5478
+ set identify(identify) {
5479
+ this.$set({ identify });
5480
+ flush();
5481
+ }
5461
5482
  }
5462
5483
 
5463
5484
  !customElements.get('casino-slider') && customElements.define('casino-slider', CasinoSlider);
@@ -6775,29 +6796,29 @@
6775
6796
 
6776
6797
  function get_each_context_2(ctx, list, i) {
6777
6798
  const child_ctx = ctx.slice();
6778
- child_ctx[47] = list[i];
6799
+ child_ctx[50] = list[i];
6779
6800
  return child_ctx;
6780
6801
  }
6781
6802
 
6782
6803
  function get_each_context_3(ctx, list, i) {
6783
6804
  const child_ctx = ctx.slice();
6784
- child_ctx[50] = list[i];
6805
+ child_ctx[1] = list[i];
6785
6806
  return child_ctx;
6786
6807
  }
6787
6808
 
6788
6809
  function get_each_context(ctx, list, i) {
6789
6810
  const child_ctx = ctx.slice();
6790
- child_ctx[47] = list[i];
6811
+ child_ctx[50] = list[i];
6791
6812
  return child_ctx;
6792
6813
  }
6793
6814
 
6794
6815
  function get_each_context_1(ctx, list, i) {
6795
6816
  const child_ctx = ctx.slice();
6796
- child_ctx[50] = list[i];
6817
+ child_ctx[1] = list[i];
6797
6818
  return child_ctx;
6798
6819
  }
6799
6820
 
6800
- // (230:2) {:else}
6821
+ // (244:2) {:else}
6801
6822
  function create_else_block_2(ctx) {
6802
6823
  let header;
6803
6824
  let div5;
@@ -6820,7 +6841,7 @@
6820
6841
  let ul;
6821
6842
  let mounted;
6822
6843
  let dispose;
6823
- let each_value_3 = /*languagesArray*/ ctx[10];
6844
+ let each_value_3 = /*languagesArray*/ ctx[11];
6824
6845
  validate_each_argument(each_value_3);
6825
6846
  let each_blocks_1 = [];
6826
6847
 
@@ -6870,35 +6891,36 @@
6870
6891
 
6871
6892
  if (img.src !== (img_src_value = img$1)) attr_dev(img, "src", img_src_value);
6872
6893
  attr_dev(img, "alt", "Everymatrix logo");
6873
- add_location(img, file, 233, 10, 10743);
6894
+ add_location(img, file, 247, 10, 11418);
6874
6895
  attr_dev(div0, "class", "HeaderBranding");
6875
- add_location(div0, file, 232, 8, 10669);
6896
+ add_location(div0, file, 246, 8, 11344);
6876
6897
  set_custom_element_data(casino_slider, "class", "HeaderItemsMenu");
6877
6898
  set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[2]);
6899
+ set_custom_element_data(casino_slider, "identify", identify);
6878
6900
  set_custom_element_data(casino_slider, "onclickeventname", "");
6879
6901
  set_custom_element_data(casino_slider, "location", "headerMain");
6880
- add_location(casino_slider, file, 237, 10, 10856);
6902
+ add_location(casino_slider, file, 251, 10, 11531);
6881
6903
  attr_dev(nav0, "class", "HeaderMainNav");
6882
- add_location(nav0, file, 236, 8, 10818);
6904
+ add_location(nav0, file, 250, 8, 11493);
6883
6905
  attr_dev(div1, "class", "Item ItemLogin");
6884
- add_location(div1, file, 241, 12, 11072);
6906
+ add_location(div1, file, 255, 12, 11758);
6885
6907
  attr_dev(div2, "class", "Item ItemRegister");
6886
- add_location(div2, file, 242, 12, 11159);
6908
+ add_location(div2, file, 256, 12, 11845);
6887
6909
  attr_dev(select, "class", "Item ItemLanguage");
6888
- if (/*selectedLanguage*/ ctx[4] === void 0) add_render_callback(() => /*select_change_handler_1*/ ctx[33].call(select));
6889
- add_location(select, file, 243, 12, 11255);
6910
+ if (/*selectedLanguage*/ ctx[4] === void 0) add_render_callback(() => /*select_change_handler_1*/ ctx[36].call(select));
6911
+ add_location(select, file, 257, 12, 11941);
6890
6912
  attr_dev(div3, "class", "HeaderItemsMenu");
6891
- add_location(div3, file, 240, 10, 11030);
6913
+ add_location(div3, file, 254, 10, 11716);
6892
6914
  attr_dev(div4, "class", "HeaderTopActions");
6893
- add_location(div4, file, 239, 8, 10989);
6915
+ add_location(div4, file, 253, 8, 11675);
6894
6916
  attr_dev(div5, "class", "HeaderContainer");
6895
- add_location(div5, file, 231, 6, 10631);
6917
+ add_location(div5, file, 245, 6, 11306);
6896
6918
  attr_dev(ul, "class", "HeaderItemsMenuSecondary");
6897
- add_location(ul, file, 256, 8, 11757);
6919
+ add_location(ul, file, 270, 8, 12443);
6898
6920
  attr_dev(nav1, "class", "HeaderSecondaryNav");
6899
- add_location(nav1, file, 255, 6, 11716);
6921
+ add_location(nav1, file, 269, 6, 12402);
6900
6922
  attr_dev(header, "class", "HeaderWrapper");
6901
- add_location(header, file, 230, 4, 10594);
6923
+ add_location(header, file, 244, 4, 11269);
6902
6924
  },
6903
6925
  m: function mount(target, anchor) {
6904
6926
  insert_dev(target, header, anchor);
@@ -6932,11 +6954,11 @@
6932
6954
 
6933
6955
  if (!mounted) {
6934
6956
  dispose = [
6935
- listen_dev(div0, "click", /*click_handler_11*/ ctx[30], false, false, false),
6936
- listen_dev(div1, "click", /*click_handler_12*/ ctx[31], false, false, false),
6937
- listen_dev(div2, "click", /*click_handler_13*/ ctx[32], false, false, false),
6938
- listen_dev(select, "change", /*select_change_handler_1*/ ctx[33]),
6939
- listen_dev(select, "change", /*change_handler_1*/ ctx[34], false, false, false)
6957
+ listen_dev(div0, "click", /*click_handler_11*/ ctx[33], false, false, false),
6958
+ listen_dev(div1, "click", /*click_handler_12*/ ctx[34], false, false, false),
6959
+ listen_dev(div2, "click", /*click_handler_13*/ ctx[35], false, false, false),
6960
+ listen_dev(select, "change", /*select_change_handler_1*/ ctx[36]),
6961
+ listen_dev(select, "change", /*change_handler_1*/ ctx[37], false, false, false)
6940
6962
  ];
6941
6963
 
6942
6964
  mounted = true;
@@ -6947,8 +6969,8 @@
6947
6969
  set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[2]);
6948
6970
  }
6949
6971
 
6950
- if (dirty[0] & /*languagesArray*/ 1024) {
6951
- each_value_3 = /*languagesArray*/ ctx[10];
6972
+ if (dirty[0] & /*languagesArray*/ 2048) {
6973
+ each_value_3 = /*languagesArray*/ ctx[11];
6952
6974
  validate_each_argument(each_value_3);
6953
6975
  let i;
6954
6976
 
@@ -6971,7 +6993,7 @@
6971
6993
  each_blocks_1.length = each_value_3.length;
6972
6994
  }
6973
6995
 
6974
- if (dirty[0] & /*selectedLanguage, languagesArray*/ 1040) {
6996
+ if (dirty[0] & /*selectedLanguage, languagesArray*/ 2064) {
6975
6997
  select_option(select, /*selectedLanguage*/ ctx[4]);
6976
6998
  }
6977
6999
 
@@ -7012,14 +7034,14 @@
7012
7034
  block,
7013
7035
  id: create_else_block_2.name,
7014
7036
  type: "else",
7015
- source: "(230:2) {:else}",
7037
+ source: "(244:2) {:else}",
7016
7038
  ctx
7017
7039
  });
7018
7040
 
7019
7041
  return block;
7020
7042
  }
7021
7043
 
7022
- // (212:2) {#if mobileView}
7044
+ // (226:2) {#if mobileView}
7023
7045
  function create_if_block_5(ctx) {
7024
7046
  let header;
7025
7047
  let div6;
@@ -7069,49 +7091,49 @@
7069
7091
  t4 = space();
7070
7092
  div3 = element("div");
7071
7093
  div3.textContent = "Register";
7072
- add_location(style, file, 215, 128, 9810);
7073
- add_location(defs, file, 215, 122, 9804);
7094
+ add_location(style, file, 229, 128, 10485);
7095
+ add_location(defs, file, 229, 122, 10479);
7074
7096
  attr_dev(rect0, "class", "a");
7075
7097
  attr_dev(rect0, "width", "18");
7076
7098
  attr_dev(rect0, "height", "2");
7077
7099
  attr_dev(rect0, "transform", "translate(14 13)");
7078
- add_location(rect0, file, 215, 198, 9880);
7100
+ add_location(rect0, file, 229, 198, 10555);
7079
7101
  attr_dev(rect1, "class", "a");
7080
7102
  attr_dev(rect1, "width", "22");
7081
7103
  attr_dev(rect1, "height", "2");
7082
7104
  attr_dev(rect1, "transform", "translate(14 20)");
7083
- add_location(rect1, file, 215, 266, 9948);
7105
+ add_location(rect1, file, 229, 266, 10623);
7084
7106
  attr_dev(rect2, "class", "a");
7085
7107
  attr_dev(rect2, "width", "22");
7086
7108
  attr_dev(rect2, "height", "2");
7087
7109
  attr_dev(rect2, "transform", "translate(14 27)");
7088
- add_location(rect2, file, 215, 334, 10016);
7110
+ add_location(rect2, file, 229, 334, 10691);
7089
7111
  attr_dev(g, "transform", "translate(-14 -13)");
7090
- add_location(g, file, 215, 164, 9846);
7112
+ add_location(g, file, 229, 164, 10521);
7091
7113
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
7092
7114
  attr_dev(svg, "width", "22");
7093
7115
  attr_dev(svg, "height", "16");
7094
7116
  attr_dev(svg, "viewBox", "0 0 22 16");
7095
- add_location(svg, file, 215, 10, 9692);
7117
+ add_location(svg, file, 229, 10, 10367);
7096
7118
  attr_dev(div0, "class", "HeaderMobileMainNav");
7097
- add_location(div0, file, 214, 8, 9648);
7119
+ add_location(div0, file, 228, 8, 10323);
7098
7120
  if (img.src !== (img_src_value = img$1)) attr_dev(img, "src", img_src_value);
7099
7121
  attr_dev(img, "alt", "Everymatrix logo");
7100
- add_location(img, file, 218, 10, 10192);
7122
+ add_location(img, file, 232, 10, 10867);
7101
7123
  attr_dev(div1, "class", "HeaderBranding");
7102
- add_location(div1, file, 217, 8, 10118);
7124
+ add_location(div1, file, 231, 8, 10793);
7103
7125
  attr_dev(div2, "class", "Item ItemLogin");
7104
- add_location(div2, file, 223, 12, 10350);
7126
+ add_location(div2, file, 237, 12, 11025);
7105
7127
  attr_dev(div3, "class", "Item ItemRegister");
7106
- add_location(div3, file, 224, 12, 10437);
7128
+ add_location(div3, file, 238, 12, 11112);
7107
7129
  attr_dev(div4, "class", "HeaderItemsMenu");
7108
- add_location(div4, file, 222, 10, 10308);
7130
+ add_location(div4, file, 236, 10, 10983);
7109
7131
  attr_dev(div5, "class", "HeaderTopActions");
7110
- add_location(div5, file, 221, 8, 10267);
7132
+ add_location(div5, file, 235, 8, 10942);
7111
7133
  attr_dev(div6, "class", "HeaderContainer");
7112
- add_location(div6, file, 213, 6, 9610);
7134
+ add_location(div6, file, 227, 6, 10285);
7113
7135
  attr_dev(header, "class", "HeaderWrapper HeaderMobileWrapper");
7114
- add_location(header, file, 212, 4, 9553);
7136
+ add_location(header, file, 226, 4, 10228);
7115
7137
  },
7116
7138
  m: function mount(target, anchor) {
7117
7139
  insert_dev(target, header, anchor);
@@ -7137,10 +7159,10 @@
7137
7159
 
7138
7160
  if (!mounted) {
7139
7161
  dispose = [
7140
- listen_dev(svg, "click", /*click_handler_7*/ ctx[26], false, false, false),
7141
- listen_dev(div1, "click", /*click_handler_8*/ ctx[27], false, false, false),
7142
- listen_dev(div2, "click", /*click_handler_9*/ ctx[28], false, false, false),
7143
- listen_dev(div3, "click", /*click_handler_10*/ ctx[29], false, false, false)
7162
+ listen_dev(svg, "click", /*click_handler_7*/ ctx[29], false, false, false),
7163
+ listen_dev(div1, "click", /*click_handler_8*/ ctx[30], false, false, false),
7164
+ listen_dev(div2, "click", /*click_handler_9*/ ctx[31], false, false, false),
7165
+ listen_dev(div3, "click", /*click_handler_10*/ ctx[32], false, false, false)
7144
7166
  ];
7145
7167
 
7146
7168
  mounted = true;
@@ -7158,19 +7180,19 @@
7158
7180
  block,
7159
7181
  id: create_if_block_5.name,
7160
7182
  type: "if",
7161
- source: "(212:2) {#if mobileView}",
7183
+ source: "(226:2) {#if mobileView}",
7162
7184
  ctx
7163
7185
  });
7164
7186
 
7165
7187
  return block;
7166
7188
  }
7167
7189
 
7168
- // (137:0) {#if isLoggedIn}
7190
+ // (151:0) {#if isLoggedIn}
7169
7191
  function create_if_block_1(ctx) {
7170
7192
  let if_block_anchor;
7171
7193
 
7172
7194
  function select_block_type_1(ctx, dirty) {
7173
- if (/*mobileView*/ ctx[5]) return create_if_block_2;
7195
+ if (/*mobileView*/ ctx[6]) return create_if_block_2;
7174
7196
  return create_else_block;
7175
7197
  }
7176
7198
 
@@ -7209,26 +7231,26 @@
7209
7231
  block,
7210
7232
  id: create_if_block_1.name,
7211
7233
  type: "if",
7212
- source: "(137:0) {#if isLoggedIn}",
7234
+ source: "(151:0) {#if isLoggedIn}",
7213
7235
  ctx
7214
7236
  });
7215
7237
 
7216
7238
  return block;
7217
7239
  }
7218
7240
 
7219
- // (248:16) {:else}
7241
+ // (262:16) {:else}
7220
7242
  function create_else_block_3(ctx) {
7221
7243
  let option;
7222
- let t_value = /*lang*/ ctx[50].code + "";
7244
+ let t_value = /*lang*/ ctx[1].code + "";
7223
7245
  let t;
7224
7246
 
7225
7247
  const block = {
7226
7248
  c: function create() {
7227
7249
  option = element("option");
7228
7250
  t = text(t_value);
7229
- option.__value = /*lang*/ ctx[50].code;
7251
+ option.__value = /*lang*/ ctx[1].code;
7230
7252
  option.value = option.__value;
7231
- add_location(option, file, 248, 18, 11552);
7253
+ add_location(option, file, 262, 18, 12238);
7232
7254
  },
7233
7255
  m: function mount(target, anchor) {
7234
7256
  insert_dev(target, option, anchor);
@@ -7244,26 +7266,26 @@
7244
7266
  block,
7245
7267
  id: create_else_block_3.name,
7246
7268
  type: "else",
7247
- source: "(248:16) {:else}",
7269
+ source: "(262:16) {:else}",
7248
7270
  ctx
7249
7271
  });
7250
7272
 
7251
7273
  return block;
7252
7274
  }
7253
7275
 
7254
- // (246:16) {#if lang.code === 'EN'}
7276
+ // (260:16) {#if lang.code === 'EN'}
7255
7277
  function create_if_block_6(ctx) {
7256
7278
  let option;
7257
- let t_value = /*lang*/ ctx[50].code + "";
7279
+ let t_value = /*lang*/ ctx[1].code + "";
7258
7280
  let t;
7259
7281
 
7260
7282
  const block = {
7261
7283
  c: function create() {
7262
7284
  option = element("option");
7263
7285
  t = text(t_value);
7264
- option.__value = /*lang*/ ctx[50].code;
7286
+ option.__value = /*lang*/ ctx[1].code;
7265
7287
  option.value = option.__value;
7266
- add_location(option, file, 246, 18, 11463);
7288
+ add_location(option, file, 260, 18, 12149);
7267
7289
  },
7268
7290
  m: function mount(target, anchor) {
7269
7291
  insert_dev(target, option, anchor);
@@ -7279,19 +7301,19 @@
7279
7301
  block,
7280
7302
  id: create_if_block_6.name,
7281
7303
  type: "if",
7282
- source: "(246:16) {#if lang.code === 'EN'}",
7304
+ source: "(260:16) {#if lang.code === 'EN'}",
7283
7305
  ctx
7284
7306
  });
7285
7307
 
7286
7308
  return block;
7287
7309
  }
7288
7310
 
7289
- // (245:14) {#each languagesArray as lang}
7311
+ // (259:14) {#each languagesArray as lang}
7290
7312
  function create_each_block_3(ctx) {
7291
7313
  let if_block_anchor;
7292
7314
 
7293
7315
  function select_block_type_3(ctx, dirty) {
7294
- if (/*lang*/ ctx[50].code === "EN") return create_if_block_6;
7316
+ if (/*lang*/ ctx[1].code === "EN") return create_if_block_6;
7295
7317
  return create_else_block_3;
7296
7318
  }
7297
7319
 
@@ -7320,18 +7342,18 @@
7320
7342
  block,
7321
7343
  id: create_each_block_3.name,
7322
7344
  type: "each",
7323
- source: "(245:14) {#each languagesArray as lang}",
7345
+ source: "(259:14) {#each languagesArray as lang}",
7324
7346
  ctx
7325
7347
  });
7326
7348
 
7327
7349
  return block;
7328
7350
  }
7329
7351
 
7330
- // (258:10) {#each secondaryMenuArray as secondaryItem}
7352
+ // (272:10) {#each secondaryMenuArray as secondaryItem}
7331
7353
  function create_each_block_2(ctx) {
7332
7354
  let li;
7333
7355
  let a;
7334
- let t_value = /*secondaryItem*/ ctx[47].label + "";
7356
+ let t_value = /*secondaryItem*/ ctx[50].label + "";
7335
7357
  let t;
7336
7358
  let a_href_value;
7337
7359
 
@@ -7340,10 +7362,10 @@
7340
7362
  li = element("li");
7341
7363
  a = element("a");
7342
7364
  t = text(t_value);
7343
- attr_dev(a, "href", a_href_value = /*secondaryItem*/ ctx[47].path);
7344
- add_location(a, file, 258, 38, 11887);
7365
+ attr_dev(a, "href", a_href_value = /*secondaryItem*/ ctx[50].path);
7366
+ add_location(a, file, 272, 38, 12573);
7345
7367
  attr_dev(li, "class", "ItemSecondary");
7346
- add_location(li, file, 258, 12, 11861);
7368
+ add_location(li, file, 272, 12, 12547);
7347
7369
  },
7348
7370
  m: function mount(target, anchor) {
7349
7371
  insert_dev(target, li, anchor);
@@ -7351,9 +7373,9 @@
7351
7373
  append_dev(a, t);
7352
7374
  },
7353
7375
  p: function update(ctx, dirty) {
7354
- if (dirty[0] & /*secondaryMenuArray*/ 8 && t_value !== (t_value = /*secondaryItem*/ ctx[47].label + "")) set_data_dev(t, t_value);
7376
+ if (dirty[0] & /*secondaryMenuArray*/ 8 && t_value !== (t_value = /*secondaryItem*/ ctx[50].label + "")) set_data_dev(t, t_value);
7355
7377
 
7356
- if (dirty[0] & /*secondaryMenuArray*/ 8 && a_href_value !== (a_href_value = /*secondaryItem*/ ctx[47].path)) {
7378
+ if (dirty[0] & /*secondaryMenuArray*/ 8 && a_href_value !== (a_href_value = /*secondaryItem*/ ctx[50].path)) {
7357
7379
  attr_dev(a, "href", a_href_value);
7358
7380
  }
7359
7381
  },
@@ -7366,14 +7388,14 @@
7366
7388
  block,
7367
7389
  id: create_each_block_2.name,
7368
7390
  type: "each",
7369
- source: "(258:10) {#each secondaryMenuArray as secondaryItem}",
7391
+ source: "(272:10) {#each secondaryMenuArray as secondaryItem}",
7370
7392
  ctx
7371
7393
  });
7372
7394
 
7373
7395
  return block;
7374
7396
  }
7375
7397
 
7376
- // (161:2) {:else}
7398
+ // (175:2) {:else}
7377
7399
  function create_else_block(ctx) {
7378
7400
  let header;
7379
7401
  let div5;
@@ -7404,7 +7426,7 @@
7404
7426
  let ul;
7405
7427
  let mounted;
7406
7428
  let dispose;
7407
- let each_value_1 = /*languagesArray*/ ctx[10];
7429
+ let each_value_1 = /*languagesArray*/ ctx[11];
7408
7430
  validate_each_argument(each_value_1);
7409
7431
  let each_blocks_1 = [];
7410
7432
 
@@ -7461,52 +7483,53 @@
7461
7483
 
7462
7484
  if (img.src !== (img_src_value = img$1)) attr_dev(img, "src", img_src_value);
7463
7485
  attr_dev(img, "alt", "Everymatrix logo");
7464
- add_location(img, file, 164, 10, 7353);
7486
+ add_location(img, file, 178, 10, 8017);
7465
7487
  attr_dev(div0, "class", "HeaderBranding");
7466
- add_location(div0, file, 163, 8, 7279);
7488
+ add_location(div0, file, 177, 8, 7943);
7467
7489
  set_custom_element_data(casino_slider, "class", "HeaderItemsMenu");
7468
7490
  set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[2]);
7491
+ set_custom_element_data(casino_slider, "identify", identify);
7469
7492
  set_custom_element_data(casino_slider, "onclickeventname", "");
7470
7493
  set_custom_element_data(casino_slider, "location", "headerMain");
7471
- add_location(casino_slider, file, 168, 10, 7466);
7494
+ add_location(casino_slider, file, 182, 10, 8130);
7472
7495
  attr_dev(nav0, "class", "HeaderMainNav");
7473
- add_location(nav0, file, 167, 8, 7428);
7474
- set_custom_element_data(player_account_balance_modal, "sessionid", /*sessionID*/ ctx[8]);
7475
- set_custom_element_data(player_account_balance_modal, "playerid", /*playerID*/ ctx[7]);
7476
- set_custom_element_data(player_account_balance_modal, "profileurl", /*profileurl*/ ctx[1]);
7477
- add_location(player_account_balance_modal, file, 172, 12, 7694);
7496
+ add_location(nav0, file, 181, 8, 8092);
7497
+ set_custom_element_data(player_account_balance_modal, "sessionid", /*sessionID*/ ctx[9]);
7498
+ set_custom_element_data(player_account_balance_modal, "playerid", /*playerID*/ ctx[8]);
7499
+ set_custom_element_data(player_account_balance_modal, "profileurl", /*profileurl*/ ctx[0]);
7500
+ add_location(player_account_balance_modal, file, 186, 12, 8369);
7478
7501
  attr_dev(div1, "class", "Item ItemDeposit");
7479
- add_location(div1, file, 173, 12, 7794);
7480
- add_location(style, file, 177, 18, 8104);
7481
- add_location(defs, file, 176, 16, 8079);
7502
+ add_location(div1, file, 187, 12, 8469);
7503
+ add_location(style, file, 191, 18, 8779);
7504
+ add_location(defs, file, 190, 16, 8754);
7482
7505
  attr_dev(path, "class", "a");
7483
7506
  attr_dev(path, "d", "M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z");
7484
7507
  attr_dev(path, "transform", "translate(0 0)");
7485
- add_location(path, file, 183, 18, 8286);
7508
+ add_location(path, file, 197, 18, 8961);
7486
7509
  attr_dev(g, "transform", "translate(-8 -4)");
7487
- add_location(g, file, 182, 16, 8235);
7510
+ add_location(g, file, 196, 16, 8910);
7488
7511
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
7489
7512
  attr_dev(svg, "width", "15");
7490
7513
  attr_dev(svg, "height", "16.429");
7491
7514
  attr_dev(svg, "viewBox", "0 0 15 16.429");
7492
- add_location(svg, file, 175, 14, 7971);
7515
+ add_location(svg, file, 189, 14, 8646);
7493
7516
  attr_dev(div2, "class", "Item ItemAccount");
7494
- add_location(div2, file, 174, 12, 7887);
7517
+ add_location(div2, file, 188, 12, 8562);
7495
7518
  attr_dev(select, "class", "Item ItemLanguage");
7496
- if (/*selectedLanguage*/ ctx[4] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[24].call(select));
7497
- add_location(select, file, 189, 12, 8763);
7519
+ if (/*selectedLanguage*/ ctx[4] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[27].call(select));
7520
+ add_location(select, file, 203, 12, 9438);
7498
7521
  attr_dev(div3, "class", "HeaderItemsMenu PrimaryMenu");
7499
- add_location(div3, file, 171, 10, 7640);
7522
+ add_location(div3, file, 185, 10, 8315);
7500
7523
  attr_dev(div4, "class", "HeaderTopActions");
7501
- add_location(div4, file, 170, 8, 7599);
7524
+ add_location(div4, file, 184, 8, 8274);
7502
7525
  attr_dev(div5, "class", "HeaderContainer");
7503
- add_location(div5, file, 162, 6, 7241);
7526
+ add_location(div5, file, 176, 6, 7905);
7504
7527
  attr_dev(ul, "class", "HeaderItemsMenuSecondary");
7505
- add_location(ul, file, 202, 8, 9265);
7528
+ add_location(ul, file, 216, 8, 9940);
7506
7529
  attr_dev(nav1, "class", "HeaderSecondaryNav");
7507
- add_location(nav1, file, 201, 6, 9224);
7530
+ add_location(nav1, file, 215, 6, 9899);
7508
7531
  attr_dev(header, "class", "HeaderWrapper");
7509
- add_location(header, file, 161, 4, 7204);
7532
+ add_location(header, file, 175, 4, 7868);
7510
7533
  },
7511
7534
  m: function mount(target, anchor) {
7512
7535
  insert_dev(target, header, anchor);
@@ -7548,11 +7571,11 @@
7548
7571
 
7549
7572
  if (!mounted) {
7550
7573
  dispose = [
7551
- listen_dev(div0, "click", /*click_handler_4*/ ctx[21], false, false, false),
7552
- listen_dev(div1, "click", /*click_handler_5*/ ctx[22], false, false, false),
7553
- listen_dev(div2, "click", /*click_handler_6*/ ctx[23], false, false, false),
7554
- listen_dev(select, "change", /*select_change_handler*/ ctx[24]),
7555
- listen_dev(select, "change", /*change_handler*/ ctx[25], false, false, false)
7574
+ listen_dev(div0, "click", /*click_handler_4*/ ctx[24], false, false, false),
7575
+ listen_dev(div1, "click", /*click_handler_5*/ ctx[25], false, false, false),
7576
+ listen_dev(div2, "click", /*click_handler_6*/ ctx[26], false, false, false),
7577
+ listen_dev(select, "change", /*select_change_handler*/ ctx[27]),
7578
+ listen_dev(select, "change", /*change_handler*/ ctx[28], false, false, false)
7556
7579
  ];
7557
7580
 
7558
7581
  mounted = true;
@@ -7563,20 +7586,20 @@
7563
7586
  set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[2]);
7564
7587
  }
7565
7588
 
7566
- if (dirty[0] & /*sessionID*/ 256) {
7567
- set_custom_element_data(player_account_balance_modal, "sessionid", /*sessionID*/ ctx[8]);
7589
+ if (dirty[0] & /*sessionID*/ 512) {
7590
+ set_custom_element_data(player_account_balance_modal, "sessionid", /*sessionID*/ ctx[9]);
7568
7591
  }
7569
7592
 
7570
- if (dirty[0] & /*playerID*/ 128) {
7571
- set_custom_element_data(player_account_balance_modal, "playerid", /*playerID*/ ctx[7]);
7593
+ if (dirty[0] & /*playerID*/ 256) {
7594
+ set_custom_element_data(player_account_balance_modal, "playerid", /*playerID*/ ctx[8]);
7572
7595
  }
7573
7596
 
7574
- if (dirty[0] & /*profileurl*/ 2) {
7575
- set_custom_element_data(player_account_balance_modal, "profileurl", /*profileurl*/ ctx[1]);
7597
+ if (dirty[0] & /*profileurl*/ 1) {
7598
+ set_custom_element_data(player_account_balance_modal, "profileurl", /*profileurl*/ ctx[0]);
7576
7599
  }
7577
7600
 
7578
- if (dirty[0] & /*languagesArray*/ 1024) {
7579
- each_value_1 = /*languagesArray*/ ctx[10];
7601
+ if (dirty[0] & /*languagesArray*/ 2048) {
7602
+ each_value_1 = /*languagesArray*/ ctx[11];
7580
7603
  validate_each_argument(each_value_1);
7581
7604
  let i;
7582
7605
 
@@ -7599,7 +7622,7 @@
7599
7622
  each_blocks_1.length = each_value_1.length;
7600
7623
  }
7601
7624
 
7602
- if (dirty[0] & /*selectedLanguage, languagesArray*/ 1040) {
7625
+ if (dirty[0] & /*selectedLanguage, languagesArray*/ 2064) {
7603
7626
  select_option(select, /*selectedLanguage*/ ctx[4]);
7604
7627
  }
7605
7628
 
@@ -7640,14 +7663,14 @@
7640
7663
  block,
7641
7664
  id: create_else_block.name,
7642
7665
  type: "else",
7643
- source: "(161:2) {:else}",
7666
+ source: "(175:2) {:else}",
7644
7667
  ctx
7645
7668
  });
7646
7669
 
7647
7670
  return block;
7648
7671
  }
7649
7672
 
7650
- // (138:2) {#if mobileView}
7673
+ // (152:2) {#if mobileView}
7651
7674
  function create_if_block_2(ctx) {
7652
7675
  let header;
7653
7676
  let div6;
@@ -7672,7 +7695,7 @@
7672
7695
  let path;
7673
7696
  let mounted;
7674
7697
  let dispose;
7675
- let if_block = !/*hamburgerMenuActive*/ ctx[9] && create_if_block_3(ctx);
7698
+ let if_block = !/*hamburgerMenuActive*/ ctx[10] && create_if_block_3(ctx);
7676
7699
 
7677
7700
  const block = {
7678
7701
  c: function create() {
@@ -7699,41 +7722,41 @@
7699
7722
  g = svg_element("g");
7700
7723
  path = svg_element("path");
7701
7724
  attr_dev(div0, "class", "HeaderMobileMainNav");
7702
- add_location(div0, file, 140, 8, 5536);
7725
+ add_location(div0, file, 154, 8, 6200);
7703
7726
  if (img.src !== (img_src_value = img$1)) attr_dev(img, "src", img_src_value);
7704
7727
  attr_dev(img, "alt", "Everymatrix logo");
7705
- add_location(img, file, 146, 10, 6134);
7728
+ add_location(img, file, 160, 10, 6798);
7706
7729
  attr_dev(div1, "class", "HeaderBranding");
7707
- add_location(div1, file, 145, 8, 6060);
7708
- set_custom_element_data(player_account_balance_modal, "sessionid", /*sessionID*/ ctx[8]);
7709
- set_custom_element_data(player_account_balance_modal, "playerid", /*playerID*/ ctx[7]);
7710
- set_custom_element_data(player_account_balance_modal, "profileurl", /*profileurl*/ ctx[1]);
7711
- add_location(player_account_balance_modal, file, 151, 12, 6304);
7730
+ add_location(div1, file, 159, 8, 6724);
7731
+ set_custom_element_data(player_account_balance_modal, "sessionid", /*sessionID*/ ctx[9]);
7732
+ set_custom_element_data(player_account_balance_modal, "playerid", /*playerID*/ ctx[8]);
7733
+ set_custom_element_data(player_account_balance_modal, "profileurl", /*profileurl*/ ctx[0]);
7734
+ add_location(player_account_balance_modal, file, 165, 12, 6968);
7712
7735
  attr_dev(div2, "class", "Item ItemDeposit");
7713
- add_location(div2, file, 152, 12, 6404);
7714
- add_location(style, file, 154, 111, 6678);
7715
- add_location(defs, file, 154, 105, 6672);
7736
+ add_location(div2, file, 166, 12, 7068);
7737
+ add_location(style, file, 168, 111, 7342);
7738
+ add_location(defs, file, 168, 105, 7336);
7716
7739
  attr_dev(path, "class", "a");
7717
7740
  attr_dev(path, "d", "M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z");
7718
7741
  attr_dev(path, "transform", "translate(0 0)");
7719
- add_location(path, file, 154, 179, 6746);
7742
+ add_location(path, file, 168, 179, 7410);
7720
7743
  attr_dev(g, "transform", "translate(-8 -4)");
7721
- add_location(g, file, 154, 147, 6714);
7744
+ add_location(g, file, 168, 147, 7378);
7722
7745
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
7723
7746
  attr_dev(svg, "width", "15");
7724
7747
  attr_dev(svg, "height", "16.429");
7725
7748
  attr_dev(svg, "viewBox", "0 0 15 16.429");
7726
- add_location(svg, file, 154, 14, 6581);
7749
+ add_location(svg, file, 168, 14, 7245);
7727
7750
  attr_dev(div3, "class", "Item ItemAccount");
7728
- add_location(div3, file, 153, 12, 6497);
7751
+ add_location(div3, file, 167, 12, 7161);
7729
7752
  attr_dev(div4, "class", "HeaderItemsMenu PrimaryMenu");
7730
- add_location(div4, file, 150, 10, 6250);
7753
+ add_location(div4, file, 164, 10, 6914);
7731
7754
  attr_dev(div5, "class", "HeaderTopActions");
7732
- add_location(div5, file, 149, 8, 6209);
7755
+ add_location(div5, file, 163, 8, 6873);
7733
7756
  attr_dev(div6, "class", "HeaderContainer");
7734
- add_location(div6, file, 139, 6, 5498);
7757
+ add_location(div6, file, 153, 6, 6162);
7735
7758
  attr_dev(header, "class", "HeaderWrapper HeaderMobileWrapper");
7736
- add_location(header, file, 138, 4, 5441);
7759
+ add_location(header, file, 152, 4, 6105);
7737
7760
  },
7738
7761
  m: function mount(target, anchor) {
7739
7762
  insert_dev(target, header, anchor);
@@ -7760,16 +7783,16 @@
7760
7783
 
7761
7784
  if (!mounted) {
7762
7785
  dispose = [
7763
- listen_dev(div1, "click", /*click_handler_1*/ ctx[18], false, false, false),
7764
- listen_dev(div2, "click", /*click_handler_2*/ ctx[19], false, false, false),
7765
- listen_dev(div3, "click", /*click_handler_3*/ ctx[20], false, false, false)
7786
+ listen_dev(div1, "click", /*click_handler_1*/ ctx[21], false, false, false),
7787
+ listen_dev(div2, "click", /*click_handler_2*/ ctx[22], false, false, false),
7788
+ listen_dev(div3, "click", /*click_handler_3*/ ctx[23], false, false, false)
7766
7789
  ];
7767
7790
 
7768
7791
  mounted = true;
7769
7792
  }
7770
7793
  },
7771
7794
  p: function update(ctx, dirty) {
7772
- if (!/*hamburgerMenuActive*/ ctx[9]) {
7795
+ if (!/*hamburgerMenuActive*/ ctx[10]) {
7773
7796
  if (if_block) {
7774
7797
  if_block.p(ctx, dirty);
7775
7798
  } else {
@@ -7782,16 +7805,16 @@
7782
7805
  if_block = null;
7783
7806
  }
7784
7807
 
7785
- if (dirty[0] & /*sessionID*/ 256) {
7786
- set_custom_element_data(player_account_balance_modal, "sessionid", /*sessionID*/ ctx[8]);
7808
+ if (dirty[0] & /*sessionID*/ 512) {
7809
+ set_custom_element_data(player_account_balance_modal, "sessionid", /*sessionID*/ ctx[9]);
7787
7810
  }
7788
7811
 
7789
- if (dirty[0] & /*playerID*/ 128) {
7790
- set_custom_element_data(player_account_balance_modal, "playerid", /*playerID*/ ctx[7]);
7812
+ if (dirty[0] & /*playerID*/ 256) {
7813
+ set_custom_element_data(player_account_balance_modal, "playerid", /*playerID*/ ctx[8]);
7791
7814
  }
7792
7815
 
7793
- if (dirty[0] & /*profileurl*/ 2) {
7794
- set_custom_element_data(player_account_balance_modal, "profileurl", /*profileurl*/ ctx[1]);
7816
+ if (dirty[0] & /*profileurl*/ 1) {
7817
+ set_custom_element_data(player_account_balance_modal, "profileurl", /*profileurl*/ ctx[0]);
7795
7818
  }
7796
7819
  },
7797
7820
  d: function destroy(detaching) {
@@ -7806,26 +7829,26 @@
7806
7829
  block,
7807
7830
  id: create_if_block_2.name,
7808
7831
  type: "if",
7809
- source: "(138:2) {#if mobileView}",
7832
+ source: "(152:2) {#if mobileView}",
7810
7833
  ctx
7811
7834
  });
7812
7835
 
7813
7836
  return block;
7814
7837
  }
7815
7838
 
7816
- // (194:16) {:else}
7839
+ // (208:16) {:else}
7817
7840
  function create_else_block_1(ctx) {
7818
7841
  let option;
7819
- let t_value = /*lang*/ ctx[50].code + "";
7842
+ let t_value = /*lang*/ ctx[1].code + "";
7820
7843
  let t;
7821
7844
 
7822
7845
  const block = {
7823
7846
  c: function create() {
7824
7847
  option = element("option");
7825
7848
  t = text(t_value);
7826
- option.__value = /*lang*/ ctx[50].code;
7849
+ option.__value = /*lang*/ ctx[1].code;
7827
7850
  option.value = option.__value;
7828
- add_location(option, file, 194, 18, 9060);
7851
+ add_location(option, file, 208, 18, 9735);
7829
7852
  },
7830
7853
  m: function mount(target, anchor) {
7831
7854
  insert_dev(target, option, anchor);
@@ -7841,26 +7864,26 @@
7841
7864
  block,
7842
7865
  id: create_else_block_1.name,
7843
7866
  type: "else",
7844
- source: "(194:16) {:else}",
7867
+ source: "(208:16) {:else}",
7845
7868
  ctx
7846
7869
  });
7847
7870
 
7848
7871
  return block;
7849
7872
  }
7850
7873
 
7851
- // (192:16) {#if lang.code === 'EN'}
7874
+ // (206:16) {#if lang.code === 'EN'}
7852
7875
  function create_if_block_4(ctx) {
7853
7876
  let option;
7854
- let t_value = /*lang*/ ctx[50].code + "";
7877
+ let t_value = /*lang*/ ctx[1].code + "";
7855
7878
  let t;
7856
7879
 
7857
7880
  const block = {
7858
7881
  c: function create() {
7859
7882
  option = element("option");
7860
7883
  t = text(t_value);
7861
- option.__value = /*lang*/ ctx[50].code;
7884
+ option.__value = /*lang*/ ctx[1].code;
7862
7885
  option.value = option.__value;
7863
- add_location(option, file, 192, 18, 8971);
7886
+ add_location(option, file, 206, 18, 9646);
7864
7887
  },
7865
7888
  m: function mount(target, anchor) {
7866
7889
  insert_dev(target, option, anchor);
@@ -7876,19 +7899,19 @@
7876
7899
  block,
7877
7900
  id: create_if_block_4.name,
7878
7901
  type: "if",
7879
- source: "(192:16) {#if lang.code === 'EN'}",
7902
+ source: "(206:16) {#if lang.code === 'EN'}",
7880
7903
  ctx
7881
7904
  });
7882
7905
 
7883
7906
  return block;
7884
7907
  }
7885
7908
 
7886
- // (191:14) {#each languagesArray as lang}
7909
+ // (205:14) {#each languagesArray as lang}
7887
7910
  function create_each_block_1(ctx) {
7888
7911
  let if_block_anchor;
7889
7912
 
7890
7913
  function select_block_type_2(ctx, dirty) {
7891
- if (/*lang*/ ctx[50].code === "EN") return create_if_block_4;
7914
+ if (/*lang*/ ctx[1].code === "EN") return create_if_block_4;
7892
7915
  return create_else_block_1;
7893
7916
  }
7894
7917
 
@@ -7917,18 +7940,18 @@
7917
7940
  block,
7918
7941
  id: create_each_block_1.name,
7919
7942
  type: "each",
7920
- source: "(191:14) {#each languagesArray as lang}",
7943
+ source: "(205:14) {#each languagesArray as lang}",
7921
7944
  ctx
7922
7945
  });
7923
7946
 
7924
7947
  return block;
7925
7948
  }
7926
7949
 
7927
- // (204:10) {#each secondaryMenuArray as secondaryItem}
7950
+ // (218:10) {#each secondaryMenuArray as secondaryItem}
7928
7951
  function create_each_block(ctx) {
7929
7952
  let li;
7930
7953
  let a;
7931
- let t_value = /*secondaryItem*/ ctx[47].label + "";
7954
+ let t_value = /*secondaryItem*/ ctx[50].label + "";
7932
7955
  let t;
7933
7956
  let a_href_value;
7934
7957
 
@@ -7937,10 +7960,10 @@
7937
7960
  li = element("li");
7938
7961
  a = element("a");
7939
7962
  t = text(t_value);
7940
- attr_dev(a, "href", a_href_value = /*secondaryItem*/ ctx[47].path);
7941
- add_location(a, file, 204, 38, 9395);
7963
+ attr_dev(a, "href", a_href_value = /*secondaryItem*/ ctx[50].path);
7964
+ add_location(a, file, 218, 38, 10070);
7942
7965
  attr_dev(li, "class", "ItemSecondary");
7943
- add_location(li, file, 204, 12, 9369);
7966
+ add_location(li, file, 218, 12, 10044);
7944
7967
  },
7945
7968
  m: function mount(target, anchor) {
7946
7969
  insert_dev(target, li, anchor);
@@ -7948,9 +7971,9 @@
7948
7971
  append_dev(a, t);
7949
7972
  },
7950
7973
  p: function update(ctx, dirty) {
7951
- if (dirty[0] & /*secondaryMenuArray*/ 8 && t_value !== (t_value = /*secondaryItem*/ ctx[47].label + "")) set_data_dev(t, t_value);
7974
+ if (dirty[0] & /*secondaryMenuArray*/ 8 && t_value !== (t_value = /*secondaryItem*/ ctx[50].label + "")) set_data_dev(t, t_value);
7952
7975
 
7953
- if (dirty[0] & /*secondaryMenuArray*/ 8 && a_href_value !== (a_href_value = /*secondaryItem*/ ctx[47].path)) {
7976
+ if (dirty[0] & /*secondaryMenuArray*/ 8 && a_href_value !== (a_href_value = /*secondaryItem*/ ctx[50].path)) {
7954
7977
  attr_dev(a, "href", a_href_value);
7955
7978
  }
7956
7979
  },
@@ -7963,14 +7986,14 @@
7963
7986
  block,
7964
7987
  id: create_each_block.name,
7965
7988
  type: "each",
7966
- source: "(204:10) {#each secondaryMenuArray as secondaryItem}",
7989
+ source: "(218:10) {#each secondaryMenuArray as secondaryItem}",
7967
7990
  ctx
7968
7991
  });
7969
7992
 
7970
7993
  return block;
7971
7994
  }
7972
7995
 
7973
- // (142:10) {#if !hamburgerMenuActive}
7996
+ // (156:10) {#if !hamburgerMenuActive}
7974
7997
  function create_if_block_3(ctx) {
7975
7998
  let svg;
7976
7999
  let defs;
@@ -7993,30 +8016,30 @@
7993
8016
  rect0 = svg_element("rect");
7994
8017
  rect1 = svg_element("rect");
7995
8018
  rect2 = svg_element("rect");
7996
- add_location(style, file, 142, 129, 5736);
7997
- add_location(defs, file, 142, 123, 5730);
8019
+ add_location(style, file, 156, 129, 6400);
8020
+ add_location(defs, file, 156, 123, 6394);
7998
8021
  attr_dev(rect0, "class", "a");
7999
8022
  attr_dev(rect0, "width", "18");
8000
8023
  attr_dev(rect0, "height", "2");
8001
8024
  attr_dev(rect0, "transform", "translate(14 13)");
8002
- add_location(rect0, file, 142, 199, 5806);
8025
+ add_location(rect0, file, 156, 199, 6470);
8003
8026
  attr_dev(rect1, "class", "a");
8004
8027
  attr_dev(rect1, "width", "22");
8005
8028
  attr_dev(rect1, "height", "2");
8006
8029
  attr_dev(rect1, "transform", "translate(14 20)");
8007
- add_location(rect1, file, 142, 267, 5874);
8030
+ add_location(rect1, file, 156, 267, 6538);
8008
8031
  attr_dev(rect2, "class", "a");
8009
8032
  attr_dev(rect2, "width", "22");
8010
8033
  attr_dev(rect2, "height", "2");
8011
8034
  attr_dev(rect2, "transform", "translate(14 27)");
8012
- add_location(rect2, file, 142, 335, 5942);
8035
+ add_location(rect2, file, 156, 335, 6606);
8013
8036
  attr_dev(g, "transform", "translate(-14 -13)");
8014
- add_location(g, file, 142, 165, 5772);
8037
+ add_location(g, file, 156, 165, 6436);
8015
8038
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
8016
8039
  attr_dev(svg, "width", "22");
8017
8040
  attr_dev(svg, "height", "16");
8018
8041
  attr_dev(svg, "viewBox", "0 0 22 16");
8019
- add_location(svg, file, 142, 12, 5619);
8042
+ add_location(svg, file, 156, 12, 6283);
8020
8043
  },
8021
8044
  m: function mount(target, anchor) {
8022
8045
  insert_dev(target, svg, anchor);
@@ -8029,7 +8052,7 @@
8029
8052
  append_dev(g, rect2);
8030
8053
 
8031
8054
  if (!mounted) {
8032
- dispose = listen_dev(svg, "click", /*click_handler*/ ctx[17], false, false, false);
8055
+ dispose = listen_dev(svg, "click", /*click_handler*/ ctx[20], false, false, false);
8033
8056
  mounted = true;
8034
8057
  }
8035
8058
  },
@@ -8045,14 +8068,14 @@
8045
8068
  block,
8046
8069
  id: create_if_block_3.name,
8047
8070
  type: "if",
8048
- source: "(142:10) {#if !hamburgerMenuActive}",
8071
+ source: "(156:10) {#if !hamburgerMenuActive}",
8049
8072
  ctx
8050
8073
  });
8051
8074
 
8052
8075
  return block;
8053
8076
  }
8054
8077
 
8055
- // (267:0) {#if !mobileView}
8078
+ // (281:0) {#if !mobileView}
8056
8079
  function create_if_block(ctx) {
8057
8080
  let div;
8058
8081
  let div_class_value;
@@ -8060,15 +8083,15 @@
8060
8083
  const block = {
8061
8084
  c: function create() {
8062
8085
  div = element("div");
8063
- attr_dev(div, "class", div_class_value = "HeaderSlider " + (/*mobileView*/ ctx[5] ? "HeaderSliderMobile" : ""));
8086
+ attr_dev(div, "class", div_class_value = "HeaderSlider " + (/*mobileView*/ ctx[6] ? "HeaderSliderMobile" : ""));
8064
8087
  set_style(div, "background-image", "url(" + img + ")");
8065
- add_location(div, file, 267, 2, 12041);
8088
+ add_location(div, file, 281, 2, 12727);
8066
8089
  },
8067
8090
  m: function mount(target, anchor) {
8068
8091
  insert_dev(target, div, anchor);
8069
8092
  },
8070
8093
  p: function update(ctx, dirty) {
8071
- if (dirty[0] & /*mobileView*/ 32 && div_class_value !== (div_class_value = "HeaderSlider " + (/*mobileView*/ ctx[5] ? "HeaderSliderMobile" : ""))) {
8094
+ if (dirty[0] & /*mobileView*/ 64 && div_class_value !== (div_class_value = "HeaderSlider " + (/*mobileView*/ ctx[6] ? "HeaderSliderMobile" : ""))) {
8072
8095
  attr_dev(div, "class", div_class_value);
8073
8096
  }
8074
8097
  },
@@ -8081,7 +8104,7 @@
8081
8104
  block,
8082
8105
  id: create_if_block.name,
8083
8106
  type: "if",
8084
- source: "(267:0) {#if !mobileView}",
8107
+ source: "(281:0) {#if !mobileView}",
8085
8108
  ctx
8086
8109
  });
8087
8110
 
@@ -8094,14 +8117,14 @@
8094
8117
  let casino_hamburger_menu;
8095
8118
 
8096
8119
  function select_block_type(ctx, dirty) {
8097
- if (/*isLoggedIn*/ ctx[6]) return create_if_block_1;
8098
- if (/*mobileView*/ ctx[5]) return create_if_block_5;
8120
+ if (/*isLoggedIn*/ ctx[7]) return create_if_block_1;
8121
+ if (/*mobileView*/ ctx[6]) return create_if_block_5;
8099
8122
  return create_else_block_2;
8100
8123
  }
8101
8124
 
8102
8125
  let current_block_type = select_block_type(ctx);
8103
8126
  let if_block0 = current_block_type(ctx);
8104
- let if_block1 = !/*mobileView*/ ctx[5] && create_if_block(ctx);
8127
+ let if_block1 = !/*mobileView*/ ctx[6] && create_if_block(ctx);
8105
8128
 
8106
8129
  const block = {
8107
8130
  c: function create() {
@@ -8111,9 +8134,9 @@
8111
8134
  t1 = space();
8112
8135
  casino_hamburger_menu = element("casino-hamburger-menu");
8113
8136
  this.c = noop$1;
8114
- set_custom_element_data(casino_hamburger_menu, "menuitemsurl", /*cmshamburgermenuurl*/ ctx[0]);
8115
- set_custom_element_data(casino_hamburger_menu, "language", /*language*/ ctx[11]);
8116
- add_location(casino_hamburger_menu, file, 270, 0, 12178);
8137
+ set_custom_element_data(casino_hamburger_menu, "menuitemsurl", /*hamburgerURL*/ ctx[5]);
8138
+ set_custom_element_data(casino_hamburger_menu, "language", /*language*/ ctx[12]);
8139
+ add_location(casino_hamburger_menu, file, 284, 0, 12864);
8117
8140
  },
8118
8141
  l: function claim(nodes) {
8119
8142
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -8138,7 +8161,7 @@
8138
8161
  }
8139
8162
  }
8140
8163
 
8141
- if (!/*mobileView*/ ctx[5]) {
8164
+ if (!/*mobileView*/ ctx[6]) {
8142
8165
  if (if_block1) {
8143
8166
  if_block1.p(ctx, dirty);
8144
8167
  } else {
@@ -8151,8 +8174,8 @@
8151
8174
  if_block1 = null;
8152
8175
  }
8153
8176
 
8154
- if (dirty[0] & /*cmshamburgermenuurl*/ 1) {
8155
- set_custom_element_data(casino_hamburger_menu, "menuitemsurl", /*cmshamburgermenuurl*/ ctx[0]);
8177
+ if (dirty[0] & /*hamburgerURL*/ 32) {
8178
+ set_custom_element_data(casino_hamburger_menu, "menuitemsurl", /*hamburgerURL*/ ctx[5]);
8156
8179
  }
8157
8180
  },
8158
8181
  i: noop$1,
@@ -8219,9 +8242,11 @@
8219
8242
 
8220
8243
  let { session = "" } = $$props;
8221
8244
  let { userid = "" } = $$props;
8222
- let { cmsmenuurl = "" } = $$props;
8223
- let { cmshamburgermenuurl = "" } = $$props;
8245
+ let { cmsendpoint = "" } = $$props;
8246
+ let { cmsenv = "stage" } = $$props;
8224
8247
  let { profileurl = "" } = $$props;
8248
+ let { lang = "" } = $$props;
8249
+ let { idenfity = "" } = $$props;
8225
8250
 
8226
8251
  const genericIcon = `<svg version="1.1" fill="#fff" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="width: 30px; color: #fff;" x="0px" y="0px"
8227
8252
  viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;" xml:space="preserve">
@@ -8237,6 +8262,7 @@
8237
8262
  let secondaryMenuArray = [];
8238
8263
  let languagesArray = [{ code: "EN" }, { code: "TR" }, { code: "RO" }];
8239
8264
  let selectedLanguage = "";
8265
+ let hamburgerURL;
8240
8266
  let mobileView = false;
8241
8267
  let userAgent = window.navigator.userAgent;
8242
8268
  let isLoggedIn = false;
@@ -8298,7 +8324,7 @@
8298
8324
  };
8299
8325
 
8300
8326
  const toggleMenu = () => {
8301
- $$invalidate(9, hamburgerMenuActive = true);
8327
+ $$invalidate(10, hamburgerMenuActive = true);
8302
8328
  window.postMessage({ type: "OpenHamburgerMenuModal" }, window.location.href);
8303
8329
  };
8304
8330
 
@@ -8306,29 +8332,40 @@
8306
8332
  if (e.data) {
8307
8333
  switch (e.data.type) {
8308
8334
  case "UserSessionID":
8309
- $$invalidate(7, playerID = e.data.userid);
8310
- $$invalidate(8, sessionID = e.data.session);
8311
- $$invalidate(6, isLoggedIn = true);
8335
+ $$invalidate(8, playerID = e.data.userid);
8336
+ $$invalidate(9, sessionID = e.data.session);
8337
+ $$invalidate(7, isLoggedIn = true);
8312
8338
  break;
8313
8339
  case "CloseHamburgerMenu":
8314
8340
  if (e.data.showhamburger) {
8315
- $$invalidate(9, hamburgerMenuActive = false);
8341
+ $$invalidate(10, hamburgerMenuActive = false);
8316
8342
  }
8317
8343
  break;
8318
8344
  case "LogoutSuccessfull":
8319
- $$invalidate(6, isLoggedIn = false);
8345
+ $$invalidate(7, isLoggedIn = false);
8320
8346
  break;
8321
8347
  }
8322
8348
  }
8323
8349
  };
8324
8350
 
8325
8351
  const setSession = () => {
8326
- $$invalidate(6, isLoggedIn = true);
8327
- $$invalidate(8, sessionID = session);
8352
+ $$invalidate(7, isLoggedIn = true);
8353
+ $$invalidate(9, sessionID = session);
8328
8354
  };
8329
8355
 
8330
8356
  const initialLoad = () => {
8331
- getHeaderMenusData(cmsmenuurl);
8357
+ let headerURL = new URL(`${cmsendpoint}/${lang}/menu`);
8358
+ $$invalidate(5, hamburgerURL = new URL(`${cmsendpoint}/${lang}/hamburger-menu`));
8359
+ headerURL.searchParams.append("device", "dk");
8360
+ headerURL.searchParams.append("env", cmsenv);
8361
+ headerURL.searchParams.append("language", lang);
8362
+ headerURL.searchParams.append("platform", "dk");
8363
+ hamburgerURL.searchParams.append("device", "dk");
8364
+ hamburgerURL.searchParams.append("env", cmsenv);
8365
+ hamburgerURL.searchParams.append("language", lang);
8366
+ hamburgerURL.searchParams.append("platform", "dk");
8367
+ console.log("headerURL", headerURL.href, hamburgerURL.href);
8368
+ getHeaderMenusData(headerURL);
8332
8369
  };
8333
8370
 
8334
8371
  const getHeaderMenusData = url => {
@@ -8351,7 +8388,7 @@
8351
8388
  window.addEventListener("message", messageHandler, false);
8352
8389
 
8353
8390
  if (isMobile(userAgent)) {
8354
- $$invalidate(5, mobileView = true);
8391
+ $$invalidate(6, mobileView = true);
8355
8392
  }
8356
8393
 
8357
8394
  return () => {
@@ -8359,7 +8396,7 @@
8359
8396
  };
8360
8397
  }));
8361
8398
 
8362
- const writable_props = ["session", "userid", "cmsmenuurl", "cmshamburgermenuurl", "profileurl"];
8399
+ const writable_props = ["session", "userid", "cmsendpoint", "cmsenv", "profileurl", "lang", "idenfity"];
8363
8400
 
8364
8401
  Object.keys($$props).forEach(key => {
8365
8402
  if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console_1.warn(`<undefined> was created with unknown prop '${key}'`);
@@ -8376,7 +8413,7 @@
8376
8413
  function select_change_handler() {
8377
8414
  selectedLanguage = select_value(this);
8378
8415
  $$invalidate(4, selectedLanguage);
8379
- $$invalidate(10, languagesArray);
8416
+ $$invalidate(11, languagesArray);
8380
8417
  }
8381
8418
 
8382
8419
  const change_handler = () => menuAction("language");
@@ -8391,17 +8428,19 @@
8391
8428
  function select_change_handler_1() {
8392
8429
  selectedLanguage = select_value(this);
8393
8430
  $$invalidate(4, selectedLanguage);
8394
- $$invalidate(10, languagesArray);
8431
+ $$invalidate(11, languagesArray);
8395
8432
  }
8396
8433
 
8397
8434
  const change_handler_1 = () => menuAction("language");
8398
8435
 
8399
8436
  $$self.$$set = $$props => {
8400
- if ("session" in $$props) $$invalidate(14, session = $$props.session);
8401
- if ("userid" in $$props) $$invalidate(15, userid = $$props.userid);
8402
- if ("cmsmenuurl" in $$props) $$invalidate(16, cmsmenuurl = $$props.cmsmenuurl);
8403
- if ("cmshamburgermenuurl" in $$props) $$invalidate(0, cmshamburgermenuurl = $$props.cmshamburgermenuurl);
8404
- if ("profileurl" in $$props) $$invalidate(1, profileurl = $$props.profileurl);
8437
+ if ("session" in $$props) $$invalidate(15, session = $$props.session);
8438
+ if ("userid" in $$props) $$invalidate(16, userid = $$props.userid);
8439
+ if ("cmsendpoint" in $$props) $$invalidate(17, cmsendpoint = $$props.cmsendpoint);
8440
+ if ("cmsenv" in $$props) $$invalidate(18, cmsenv = $$props.cmsenv);
8441
+ if ("profileurl" in $$props) $$invalidate(0, profileurl = $$props.profileurl);
8442
+ if ("lang" in $$props) $$invalidate(1, lang = $$props.lang);
8443
+ if ("idenfity" in $$props) $$invalidate(19, idenfity = $$props.idenfity);
8405
8444
  };
8406
8445
 
8407
8446
  $$self.$capture_state = () => ({
@@ -8412,14 +8451,17 @@
8412
8451
  sliderPlaceholderImage: img,
8413
8452
  session,
8414
8453
  userid,
8415
- cmsmenuurl,
8416
- cmshamburgermenuurl,
8454
+ cmsendpoint,
8455
+ cmsenv,
8417
8456
  profileurl,
8457
+ lang,
8458
+ idenfity,
8418
8459
  genericIcon,
8419
8460
  mainMenuArray,
8420
8461
  secondaryMenuArray,
8421
8462
  languagesArray,
8422
8463
  selectedLanguage,
8464
+ hamburgerURL,
8423
8465
  mobileView,
8424
8466
  userAgent,
8425
8467
  isLoggedIn,
@@ -8442,23 +8484,26 @@
8442
8484
 
8443
8485
  $$self.$inject_state = $$props => {
8444
8486
  if ("__awaiter" in $$props) __awaiter = $$props.__awaiter;
8445
- if ("session" in $$props) $$invalidate(14, session = $$props.session);
8446
- if ("userid" in $$props) $$invalidate(15, userid = $$props.userid);
8447
- if ("cmsmenuurl" in $$props) $$invalidate(16, cmsmenuurl = $$props.cmsmenuurl);
8448
- if ("cmshamburgermenuurl" in $$props) $$invalidate(0, cmshamburgermenuurl = $$props.cmshamburgermenuurl);
8449
- if ("profileurl" in $$props) $$invalidate(1, profileurl = $$props.profileurl);
8487
+ if ("session" in $$props) $$invalidate(15, session = $$props.session);
8488
+ if ("userid" in $$props) $$invalidate(16, userid = $$props.userid);
8489
+ if ("cmsendpoint" in $$props) $$invalidate(17, cmsendpoint = $$props.cmsendpoint);
8490
+ if ("cmsenv" in $$props) $$invalidate(18, cmsenv = $$props.cmsenv);
8491
+ if ("profileurl" in $$props) $$invalidate(0, profileurl = $$props.profileurl);
8492
+ if ("lang" in $$props) $$invalidate(1, lang = $$props.lang);
8493
+ if ("idenfity" in $$props) $$invalidate(19, idenfity = $$props.idenfity);
8450
8494
  if ("mainMenuArray" in $$props) $$invalidate(2, mainMenuArray = $$props.mainMenuArray);
8451
8495
  if ("secondaryMenuArray" in $$props) $$invalidate(3, secondaryMenuArray = $$props.secondaryMenuArray);
8452
- if ("languagesArray" in $$props) $$invalidate(10, languagesArray = $$props.languagesArray);
8496
+ if ("languagesArray" in $$props) $$invalidate(11, languagesArray = $$props.languagesArray);
8453
8497
  if ("selectedLanguage" in $$props) $$invalidate(4, selectedLanguage = $$props.selectedLanguage);
8454
- if ("mobileView" in $$props) $$invalidate(5, mobileView = $$props.mobileView);
8498
+ if ("hamburgerURL" in $$props) $$invalidate(5, hamburgerURL = $$props.hamburgerURL);
8499
+ if ("mobileView" in $$props) $$invalidate(6, mobileView = $$props.mobileView);
8455
8500
  if ("userAgent" in $$props) userAgent = $$props.userAgent;
8456
- if ("isLoggedIn" in $$props) $$invalidate(6, isLoggedIn = $$props.isLoggedIn);
8457
- if ("playerID" in $$props) $$invalidate(7, playerID = $$props.playerID);
8458
- if ("sessionID" in $$props) $$invalidate(8, sessionID = $$props.sessionID);
8501
+ if ("isLoggedIn" in $$props) $$invalidate(7, isLoggedIn = $$props.isLoggedIn);
8502
+ if ("playerID" in $$props) $$invalidate(8, playerID = $$props.playerID);
8503
+ if ("sessionID" in $$props) $$invalidate(9, sessionID = $$props.sessionID);
8459
8504
  if ("loginActive" in $$props) loginActive = $$props.loginActive;
8460
- if ("language" in $$props) $$invalidate(11, language = $$props.language);
8461
- if ("hamburgerMenuActive" in $$props) $$invalidate(9, hamburgerMenuActive = $$props.hamburgerMenuActive);
8505
+ if ("language" in $$props) $$invalidate(12, language = $$props.language);
8506
+ if ("hamburgerMenuActive" in $$props) $$invalidate(10, hamburgerMenuActive = $$props.hamburgerMenuActive);
8462
8507
  if ("totalBalance" in $$props) totalBalance = $$props.totalBalance;
8463
8508
  if ("cashBalance" in $$props) cashBalance = $$props.cashBalance;
8464
8509
  if ("bonusBalance" in $$props) bonusBalance = $$props.bonusBalance;
@@ -8470,21 +8515,22 @@
8470
8515
  }
8471
8516
 
8472
8517
  $$self.$$.update = () => {
8473
- if ($$self.$$.dirty[0] & /*session*/ 16384) {
8518
+ if ($$self.$$.dirty[0] & /*session*/ 32768) {
8474
8519
  session && setSession();
8475
8520
  }
8476
8521
 
8477
- if ($$self.$$.dirty[0] & /*cmsmenuurl, cmshamburgermenuurl, profileurl*/ 65539) {
8478
- cmsmenuurl && cmshamburgermenuurl && profileurl && initialLoad();
8522
+ if ($$self.$$.dirty[0] & /*cmsendpoint, lang, profileurl*/ 131075) {
8523
+ cmsendpoint && lang && profileurl && initialLoad();
8479
8524
  }
8480
8525
  };
8481
8526
 
8482
8527
  return [
8483
- cmshamburgermenuurl,
8484
8528
  profileurl,
8529
+ lang,
8485
8530
  mainMenuArray,
8486
8531
  secondaryMenuArray,
8487
8532
  selectedLanguage,
8533
+ hamburgerURL,
8488
8534
  mobileView,
8489
8535
  isLoggedIn,
8490
8536
  playerID,
@@ -8496,7 +8542,9 @@
8496
8542
  toggleMenu,
8497
8543
  session,
8498
8544
  userid,
8499
- cmsmenuurl,
8545
+ cmsendpoint,
8546
+ cmsenv,
8547
+ idenfity,
8500
8548
  click_handler,
8501
8549
  click_handler_1,
8502
8550
  click_handler_2,
@@ -8534,11 +8582,13 @@
8534
8582
  create_fragment,
8535
8583
  safe_not_equal,
8536
8584
  {
8537
- session: 14,
8538
- userid: 15,
8539
- cmsmenuurl: 16,
8540
- cmshamburgermenuurl: 0,
8541
- profileurl: 1
8585
+ session: 15,
8586
+ userid: 16,
8587
+ cmsendpoint: 17,
8588
+ cmsenv: 18,
8589
+ profileurl: 0,
8590
+ lang: 1,
8591
+ idenfity: 19
8542
8592
  },
8543
8593
  [-1, -1]
8544
8594
  );
@@ -8556,11 +8606,19 @@
8556
8606
  }
8557
8607
 
8558
8608
  static get observedAttributes() {
8559
- return ["session", "userid", "cmsmenuurl", "cmshamburgermenuurl", "profileurl"];
8609
+ return [
8610
+ "session",
8611
+ "userid",
8612
+ "cmsendpoint",
8613
+ "cmsenv",
8614
+ "profileurl",
8615
+ "lang",
8616
+ "idenfity"
8617
+ ];
8560
8618
  }
8561
8619
 
8562
8620
  get session() {
8563
- return this.$$.ctx[14];
8621
+ return this.$$.ctx[15];
8564
8622
  }
8565
8623
 
8566
8624
  set session(session) {
@@ -8569,7 +8627,7 @@
8569
8627
  }
8570
8628
 
8571
8629
  get userid() {
8572
- return this.$$.ctx[15];
8630
+ return this.$$.ctx[16];
8573
8631
  }
8574
8632
 
8575
8633
  set userid(userid) {
@@ -8577,32 +8635,50 @@
8577
8635
  flush();
8578
8636
  }
8579
8637
 
8580
- get cmsmenuurl() {
8581
- return this.$$.ctx[16];
8638
+ get cmsendpoint() {
8639
+ return this.$$.ctx[17];
8582
8640
  }
8583
8641
 
8584
- set cmsmenuurl(cmsmenuurl) {
8585
- this.$set({ cmsmenuurl });
8642
+ set cmsendpoint(cmsendpoint) {
8643
+ this.$set({ cmsendpoint });
8586
8644
  flush();
8587
8645
  }
8588
8646
 
8589
- get cmshamburgermenuurl() {
8590
- return this.$$.ctx[0];
8647
+ get cmsenv() {
8648
+ return this.$$.ctx[18];
8591
8649
  }
8592
8650
 
8593
- set cmshamburgermenuurl(cmshamburgermenuurl) {
8594
- this.$set({ cmshamburgermenuurl });
8651
+ set cmsenv(cmsenv) {
8652
+ this.$set({ cmsenv });
8595
8653
  flush();
8596
8654
  }
8597
8655
 
8598
8656
  get profileurl() {
8599
- return this.$$.ctx[1];
8657
+ return this.$$.ctx[0];
8600
8658
  }
8601
8659
 
8602
8660
  set profileurl(profileurl) {
8603
8661
  this.$set({ profileurl });
8604
8662
  flush();
8605
8663
  }
8664
+
8665
+ get lang() {
8666
+ return this.$$.ctx[1];
8667
+ }
8668
+
8669
+ set lang(lang) {
8670
+ this.$set({ lang });
8671
+ flush();
8672
+ }
8673
+
8674
+ get idenfity() {
8675
+ return this.$$.ctx[19];
8676
+ }
8677
+
8678
+ set idenfity(idenfity) {
8679
+ this.$set({ idenfity });
8680
+ flush();
8681
+ }
8606
8682
  }
8607
8683
 
8608
8684
  !customElements.get('casino-header-controller') && customElements.define('casino-header-controller', CasinoHeaderController);