@everymatrix/casino-header-controller 0.0.157 → 0.0.161

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.
@@ -123,9 +123,6 @@
123
123
  function children(element) {
124
124
  return Array.from(element.childNodes);
125
125
  }
126
- function set_style(node, key, value, important) {
127
- node.style.setProperty(key, value, important ? 'important' : '');
128
- }
129
126
  function select_option(select, value) {
130
127
  for (let i = 0; i < select.options.length; i += 1) {
131
128
  const option = select.options[i];
@@ -4817,24 +4814,46 @@
4817
4814
  );
4818
4815
  };
4819
4816
 
4817
+ /**
4818
+ * @name getDevice
4819
+ * @description A method that returns the type of the device
4820
+ * @param {String} userAgent window.navigator.userAgent
4821
+ * @returns {String} Android/iPhone/iPad/PC
4822
+ */
4823
+ const getDevice = (userAgent) => {
4824
+ if (userAgent.toLowerCase().match(/android/i)) {
4825
+ return 'Android';
4826
+ }
4827
+
4828
+ if (userAgent.toLowerCase().match(/iphone/i)) {
4829
+ return 'iPhone';
4830
+ }
4831
+
4832
+ if (userAgent.toLowerCase().match(/ipad|ipod/i)) {
4833
+ return 'iPad';
4834
+ }
4835
+
4836
+ return 'PC';
4837
+ };
4838
+
4820
4839
  /* ../casino-slider/src/CasinoSlider.svelte generated by Svelte v3.37.0 */
4821
4840
  const file$3 = "../casino-slider/src/CasinoSlider.svelte";
4822
4841
 
4823
4842
  function get_each_context$2(ctx, list, i) {
4824
4843
  const child_ctx = ctx.slice();
4825
- child_ctx[21] = list[i];
4826
- child_ctx[23] = i;
4844
+ child_ctx[24] = list[i];
4845
+ child_ctx[26] = i;
4827
4846
  return child_ctx;
4828
4847
  }
4829
4848
 
4830
- // (75:6) {#if sliderdata.length > 0}
4849
+ // (79:6) {#if sliderdata.length > 0}
4831
4850
  function create_if_block$3(ctx) {
4832
4851
  let each_blocks = [];
4833
4852
  let each_1_lookup = new Map();
4834
4853
  let each_1_anchor;
4835
4854
  let each_value = /*sliderdata*/ ctx[0];
4836
4855
  validate_each_argument(each_value);
4837
- const get_key = ctx => /*item*/ ctx[21].id;
4856
+ const get_key = ctx => /*item*/ ctx[24].id;
4838
4857
  validate_each_keys(ctx, each_value, get_each_context$2, get_key);
4839
4858
 
4840
4859
  for (let i = 0; i < each_value.length; i += 1) {
@@ -4859,7 +4878,7 @@
4859
4878
  insert_dev(target, each_1_anchor, anchor);
4860
4879
  },
4861
4880
  p: function update(ctx, dirty) {
4862
- if (dirty & /*active, sliderdata, handleClick, location, favoritesnumber*/ 87) {
4881
+ if (dirty & /*active, sliderdata, handleClick, location, favoritesnumber*/ 295) {
4863
4882
  each_value = /*sliderdata*/ ctx[0];
4864
4883
  validate_each_argument(each_value);
4865
4884
  validate_each_keys(ctx, each_value, get_each_context$2, get_key);
@@ -4879,20 +4898,20 @@
4879
4898
  block,
4880
4899
  id: create_if_block$3.name,
4881
4900
  type: "if",
4882
- source: "(75:6) {#if sliderdata.length > 0}",
4901
+ source: "(79:6) {#if sliderdata.length > 0}",
4883
4902
  ctx
4884
4903
  });
4885
4904
 
4886
4905
  return block;
4887
4906
  }
4888
4907
 
4889
- // (80:12) {:else}
4908
+ // (84:12) {:else}
4890
4909
  function create_else_block$1(ctx) {
4891
- let t0_value = /*item*/ ctx[21].name + "";
4910
+ let t0_value = /*item*/ ctx[24].name + "";
4892
4911
  let t0;
4893
4912
  let t1;
4894
4913
 
4895
- let t2_value = (/*item*/ ctx[21].id === "FAVORITES"
4914
+ let t2_value = (/*item*/ ctx[24].id === "FAVORITES"
4896
4915
  ? "(" + /*favoritesnumber*/ ctx[1] + ")"
4897
4916
  : "") + "";
4898
4917
 
@@ -4910,9 +4929,9 @@
4910
4929
  insert_dev(target, t2, anchor);
4911
4930
  },
4912
4931
  p: function update(ctx, dirty) {
4913
- if (dirty & /*sliderdata*/ 1 && t0_value !== (t0_value = /*item*/ ctx[21].name + "")) set_data_dev(t0, t0_value);
4932
+ if (dirty & /*sliderdata*/ 1 && t0_value !== (t0_value = /*item*/ ctx[24].name + "")) set_data_dev(t0, t0_value);
4914
4933
 
4915
- if (dirty & /*sliderdata, favoritesnumber*/ 3 && t2_value !== (t2_value = (/*item*/ ctx[21].id === "FAVORITES"
4934
+ if (dirty & /*sliderdata, favoritesnumber*/ 3 && t2_value !== (t2_value = (/*item*/ ctx[24].id === "FAVORITES"
4916
4935
  ? "(" + /*favoritesnumber*/ ctx[1] + ")"
4917
4936
  : "") + "")) set_data_dev(t2, t2_value);
4918
4937
  },
@@ -4927,17 +4946,17 @@
4927
4946
  block,
4928
4947
  id: create_else_block$1.name,
4929
4948
  type: "else",
4930
- source: "(80:12) {:else}",
4949
+ source: "(84:12) {:else}",
4931
4950
  ctx
4932
4951
  });
4933
4952
 
4934
4953
  return block;
4935
4954
  }
4936
4955
 
4937
- // (78:12) {#if location === 'headerMain'}
4956
+ // (82:12) {#if location === 'headerMain'}
4938
4957
  function create_if_block_1$2(ctx) {
4939
4958
  let a;
4940
- let t_value = /*item*/ ctx[21].label + "";
4959
+ let t_value = /*item*/ ctx[24].label + "";
4941
4960
  let t;
4942
4961
  let a_href_value;
4943
4962
 
@@ -4945,17 +4964,17 @@
4945
4964
  c: function create() {
4946
4965
  a = element("a");
4947
4966
  t = text(t_value);
4948
- attr_dev(a, "href", a_href_value = /*item*/ ctx[21].path);
4949
- add_location(a, file$3, 78, 14, 2741);
4967
+ attr_dev(a, "href", a_href_value = /*item*/ ctx[24].path);
4968
+ add_location(a, file$3, 82, 14, 3154);
4950
4969
  },
4951
4970
  m: function mount(target, anchor) {
4952
4971
  insert_dev(target, a, anchor);
4953
4972
  append_dev(a, t);
4954
4973
  },
4955
4974
  p: function update(ctx, dirty) {
4956
- if (dirty & /*sliderdata*/ 1 && t_value !== (t_value = /*item*/ ctx[21].label + "")) set_data_dev(t, t_value);
4975
+ if (dirty & /*sliderdata*/ 1 && t_value !== (t_value = /*item*/ ctx[24].label + "")) set_data_dev(t, t_value);
4957
4976
 
4958
- if (dirty & /*sliderdata*/ 1 && a_href_value !== (a_href_value = /*item*/ ctx[21].path)) {
4977
+ if (dirty & /*sliderdata*/ 1 && a_href_value !== (a_href_value = /*item*/ ctx[24].path)) {
4959
4978
  attr_dev(a, "href", a_href_value);
4960
4979
  }
4961
4980
  },
@@ -4968,14 +4987,14 @@
4968
4987
  block,
4969
4988
  id: create_if_block_1$2.name,
4970
4989
  type: "if",
4971
- source: "(78:12) {#if location === 'headerMain'}",
4990
+ source: "(82:12) {#if location === 'headerMain'}",
4972
4991
  ctx
4973
4992
  });
4974
4993
 
4975
4994
  return block;
4976
4995
  }
4977
4996
 
4978
- // (76:8) {#each sliderdata as item, index (item.id)}
4997
+ // (80:8) {#each sliderdata as item, index (item.id)}
4979
4998
  function create_each_block$2(key_1, ctx) {
4980
4999
  let li;
4981
5000
  let t;
@@ -4991,7 +5010,7 @@
4991
5010
  let if_block = current_block_type(ctx);
4992
5011
 
4993
5012
  function click_handler_1(...args) {
4994
- return /*click_handler_1*/ ctx[14](/*item*/ ctx[21], /*index*/ ctx[23], ...args);
5013
+ return /*click_handler_1*/ ctx[16](/*item*/ ctx[24], /*index*/ ctx[26], ...args);
4995
5014
  }
4996
5015
 
4997
5016
  const block = {
@@ -5002,8 +5021,8 @@
5002
5021
  if_block.c();
5003
5022
  t = space();
5004
5023
  attr_dev(li, "class", "CarouselItem");
5005
- toggle_class(li, "active", /*active*/ ctx[4] == /*index*/ ctx[23]);
5006
- add_location(li, file$3, 76, 10, 2582);
5024
+ toggle_class(li, "active", /*active*/ ctx[5] == /*index*/ ctx[26]);
5025
+ add_location(li, file$3, 80, 10, 2995);
5007
5026
  this.first = li;
5008
5027
  },
5009
5028
  m: function mount(target, anchor) {
@@ -5031,8 +5050,8 @@
5031
5050
  }
5032
5051
  }
5033
5052
 
5034
- if (dirty & /*active, sliderdata*/ 17) {
5035
- toggle_class(li, "active", /*active*/ ctx[4] == /*index*/ ctx[23]);
5053
+ if (dirty & /*active, sliderdata*/ 33) {
5054
+ toggle_class(li, "active", /*active*/ ctx[5] == /*index*/ ctx[26]);
5036
5055
  }
5037
5056
  },
5038
5057
  d: function destroy(detaching) {
@@ -5047,7 +5066,7 @@
5047
5066
  block,
5048
5067
  id: create_each_block$2.name,
5049
5068
  type: "each",
5050
- source: "(76:8) {#each sliderdata as item, index (item.id)}",
5069
+ source: "(80:8) {#each sliderdata as item, index (item.id)}",
5051
5070
  ctx
5052
5071
  });
5053
5072
 
@@ -5067,6 +5086,8 @@
5067
5086
  let svg1;
5068
5087
  let path1;
5069
5088
  let div2_class_value;
5089
+ let div2_style_value;
5090
+ let div3_class_value;
5070
5091
  let mounted;
5071
5092
  let dispose;
5072
5093
  let if_block = /*sliderdata*/ ctx[0].length > 0 && create_if_block$3(ctx);
@@ -5090,35 +5111,44 @@
5090
5111
  attr_dev(path0, "stroke-linejoin", "round");
5091
5112
  attr_dev(path0, "stroke-width", "2");
5092
5113
  attr_dev(path0, "d", "M15 19l-7-7 7-7");
5093
- add_location(path0, file$3, 69, 8, 2311);
5114
+ add_location(path0, file$3, 73, 8, 2724);
5094
5115
  attr_dev(svg0, "fill", "none");
5095
5116
  attr_dev(svg0, "stroke", "currentColor");
5096
5117
  attr_dev(svg0, "viewBox", "0 0 24 24");
5097
5118
  attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
5098
- add_location(svg0, file$3, 68, 6, 2208);
5119
+ add_location(svg0, file$3, 72, 6, 2621);
5099
5120
  attr_dev(div0, "class", "CarouselLeftArrow");
5100
- add_location(div0, file$3, 67, 4, 2138);
5121
+ add_location(div0, file$3, 71, 4, 2551);
5101
5122
  attr_dev(ul, "class", "CarouselItems");
5102
- add_location(ul, file$3, 73, 4, 2438);
5123
+ add_location(ul, file$3, 77, 4, 2851);
5103
5124
  attr_dev(path1, "stroke-linecap", "round");
5104
5125
  attr_dev(path1, "stroke-linejoin", "round");
5105
5126
  attr_dev(path1, "stroke-width", "2");
5106
5127
  attr_dev(path1, "d", "M9 5l7 7-7 7");
5107
- add_location(path1, file$3, 89, 8, 3137);
5128
+ add_location(path1, file$3, 93, 8, 3550);
5108
5129
  attr_dev(svg1, "fill", "none");
5109
5130
  attr_dev(svg1, "stroke", "currentColor");
5110
5131
  attr_dev(svg1, "viewBox", "0 0 24 24");
5111
5132
  attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
5112
- add_location(svg1, file$3, 88, 6, 3034);
5133
+ add_location(svg1, file$3, 92, 6, 3447);
5113
5134
  attr_dev(div1, "class", "CarouselRightArrow");
5114
- add_location(div1, file$3, 87, 4, 2962);
5135
+ add_location(div1, file$3, 91, 4, 3375);
5115
5136
 
5116
- attr_dev(div2, "class", div2_class_value = "CarouselContainer " + (/*location*/ ctx[2] === "headerMain"
5137
+ attr_dev(div2, "class", div2_class_value = "CarouselContainer " + (/*isMobile*/ ctx[7] ? "CarouselContainerMobile" : "") + " " + (/*location*/ ctx[2] === "headerMain"
5117
5138
  ? "CarouselContainerHeaderMain"
5118
5139
  : ""));
5119
5140
 
5120
- add_location(div2, file$3, 66, 2, 2033);
5121
- add_location(div3, file$3, 65, 0, 1990);
5141
+ attr_dev(div2, "style", div2_style_value = /*location*/ ctx[2] === "headerMain"
5142
+ ? "max-width: auto"
5143
+ : `max-width: ${/*containermaxwidth*/ ctx[3]}px`);
5144
+
5145
+ add_location(div2, file$3, 70, 2, 2304);
5146
+
5147
+ attr_dev(div3, "class", div3_class_value = "CarouselWrapper " + (/*location*/ ctx[2] === "headerMain"
5148
+ ? "CarouselWrapperHeaderMain"
5149
+ : ""));
5150
+
5151
+ add_location(div3, file$3, 69, 0, 2170);
5122
5152
  },
5123
5153
  l: function claim(nodes) {
5124
5154
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -5132,17 +5162,17 @@
5132
5162
  append_dev(div2, t0);
5133
5163
  append_dev(div2, ul);
5134
5164
  if (if_block) if_block.m(ul, null);
5135
- /*ul_binding*/ ctx[15](ul);
5165
+ /*ul_binding*/ ctx[17](ul);
5136
5166
  append_dev(div2, t1);
5137
5167
  append_dev(div2, div1);
5138
5168
  append_dev(div1, svg1);
5139
5169
  append_dev(svg1, path1);
5140
- /*div3_binding*/ ctx[17](div3);
5170
+ /*div3_binding*/ ctx[19](div3);
5141
5171
 
5142
5172
  if (!mounted) {
5143
5173
  dispose = [
5144
- listen_dev(div0, "click", /*click_handler*/ ctx[13], false, false, false),
5145
- listen_dev(div1, "click", /*click_handler_2*/ ctx[16], false, false, false)
5174
+ listen_dev(div0, "click", /*click_handler*/ ctx[15], false, false, false),
5175
+ listen_dev(div1, "click", /*click_handler_2*/ ctx[18], false, false, false)
5146
5176
  ];
5147
5177
 
5148
5178
  mounted = true;
@@ -5162,19 +5192,31 @@
5162
5192
  if_block = null;
5163
5193
  }
5164
5194
 
5165
- if (dirty & /*location*/ 4 && div2_class_value !== (div2_class_value = "CarouselContainer " + (/*location*/ ctx[2] === "headerMain"
5195
+ if (dirty & /*location*/ 4 && div2_class_value !== (div2_class_value = "CarouselContainer " + (/*isMobile*/ ctx[7] ? "CarouselContainerMobile" : "") + " " + (/*location*/ ctx[2] === "headerMain"
5166
5196
  ? "CarouselContainerHeaderMain"
5167
5197
  : ""))) {
5168
5198
  attr_dev(div2, "class", div2_class_value);
5169
5199
  }
5200
+
5201
+ if (dirty & /*location, containermaxwidth*/ 12 && div2_style_value !== (div2_style_value = /*location*/ ctx[2] === "headerMain"
5202
+ ? "max-width: auto"
5203
+ : `max-width: ${/*containermaxwidth*/ ctx[3]}px`)) {
5204
+ attr_dev(div2, "style", div2_style_value);
5205
+ }
5206
+
5207
+ if (dirty & /*location*/ 4 && div3_class_value !== (div3_class_value = "CarouselWrapper " + (/*location*/ ctx[2] === "headerMain"
5208
+ ? "CarouselWrapperHeaderMain"
5209
+ : ""))) {
5210
+ attr_dev(div3, "class", div3_class_value);
5211
+ }
5170
5212
  },
5171
5213
  i: noop$1,
5172
5214
  o: noop$1,
5173
5215
  d: function destroy(detaching) {
5174
5216
  if (detaching) detach_dev(div3);
5175
5217
  if (if_block) if_block.d();
5176
- /*ul_binding*/ ctx[15](null);
5177
- /*div3_binding*/ ctx[17](null);
5218
+ /*ul_binding*/ ctx[17](null);
5219
+ /*div3_binding*/ ctx[19](null);
5178
5220
  mounted = false;
5179
5221
  run_all(dispose);
5180
5222
  }
@@ -5201,6 +5243,9 @@
5201
5243
  let { clientstyling = "" } = $$props;
5202
5244
  let { clientstylingurl = "" } = $$props;
5203
5245
  let { identity = "" } = $$props;
5246
+ let { containermaxwidth = "" } = $$props;
5247
+ let userAgent = window.navigator.userAgent;
5248
+ let isMobile = getDevice(userAgent) === "PC" ? false : true;
5204
5249
  let carousel;
5205
5250
  let active;
5206
5251
  let customStylingContainer;
@@ -5208,13 +5253,13 @@
5208
5253
  // Clicking on the slider item will trigger this method and send a postmessage on window
5209
5254
  // @TODO itemId type fix
5210
5255
  let handleClick = (itemId, index) => {
5211
- $$invalidate(4, active = index);
5256
+ $$invalidate(5, active = index);
5212
5257
  window.postMessage({ type: onclickeventname, itemId, index }, window.location.href);
5213
5258
  };
5214
5259
 
5215
5260
  const messageHandler = e => {
5216
5261
  if (e.data && e.data.type == "SetSliderIndex") {
5217
- $$invalidate(4, active = e.data.categoryData
5262
+ $$invalidate(5, active = e.data.categoryData
5218
5263
  ? sliderdata.map(e => {
5219
5264
  return e.id;
5220
5265
  }).indexOf(e.data.categoryData.id)
@@ -5222,7 +5267,7 @@
5222
5267
  }
5223
5268
 
5224
5269
  if (e.data && e.data.type == `SetSliderIndex_${identity}`) {
5225
- $$invalidate(4, active = e.data.index);
5270
+ $$invalidate(5, active = e.data.index);
5226
5271
  }
5227
5272
  };
5228
5273
 
@@ -5275,7 +5320,8 @@
5275
5320
  "location",
5276
5321
  "clientstyling",
5277
5322
  "clientstylingurl",
5278
- "identity"
5323
+ "identity",
5324
+ "containermaxwidth"
5279
5325
  ];
5280
5326
 
5281
5327
  Object.keys($$props).forEach(key => {
@@ -5288,7 +5334,7 @@
5288
5334
  function ul_binding($$value) {
5289
5335
  binding_callbacks[$$value ? "unshift" : "push"](() => {
5290
5336
  carousel = $$value;
5291
- $$invalidate(3, carousel);
5337
+ $$invalidate(4, carousel);
5292
5338
  });
5293
5339
  }
5294
5340
 
@@ -5297,22 +5343,24 @@
5297
5343
  function div3_binding($$value) {
5298
5344
  binding_callbacks[$$value ? "unshift" : "push"](() => {
5299
5345
  customStylingContainer = $$value;
5300
- $$invalidate(5, customStylingContainer);
5346
+ $$invalidate(6, customStylingContainer);
5301
5347
  });
5302
5348
  }
5303
5349
 
5304
5350
  $$self.$$set = $$props => {
5305
5351
  if ("sliderdata" in $$props) $$invalidate(0, sliderdata = $$props.sliderdata);
5306
- if ("onclickeventname" in $$props) $$invalidate(9, onclickeventname = $$props.onclickeventname);
5352
+ if ("onclickeventname" in $$props) $$invalidate(11, onclickeventname = $$props.onclickeventname);
5307
5353
  if ("favoritesnumber" in $$props) $$invalidate(1, favoritesnumber = $$props.favoritesnumber);
5308
5354
  if ("location" in $$props) $$invalidate(2, location = $$props.location);
5309
- if ("clientstyling" in $$props) $$invalidate(10, clientstyling = $$props.clientstyling);
5310
- if ("clientstylingurl" in $$props) $$invalidate(11, clientstylingurl = $$props.clientstylingurl);
5311
- if ("identity" in $$props) $$invalidate(12, identity = $$props.identity);
5355
+ if ("clientstyling" in $$props) $$invalidate(12, clientstyling = $$props.clientstyling);
5356
+ if ("clientstylingurl" in $$props) $$invalidate(13, clientstylingurl = $$props.clientstylingurl);
5357
+ if ("identity" in $$props) $$invalidate(14, identity = $$props.identity);
5358
+ if ("containermaxwidth" in $$props) $$invalidate(3, containermaxwidth = $$props.containermaxwidth);
5312
5359
  };
5313
5360
 
5314
5361
  $$self.$capture_state = () => ({
5315
5362
  onMount,
5363
+ getDevice,
5316
5364
  sliderdata,
5317
5365
  onclickeventname,
5318
5366
  favoritesnumber,
@@ -5320,6 +5368,9 @@
5320
5368
  clientstyling,
5321
5369
  clientstylingurl,
5322
5370
  identity,
5371
+ containermaxwidth,
5372
+ userAgent,
5373
+ isMobile,
5323
5374
  carousel,
5324
5375
  active,
5325
5376
  customStylingContainer,
@@ -5333,18 +5384,21 @@
5333
5384
 
5334
5385
  $$self.$inject_state = $$props => {
5335
5386
  if ("sliderdata" in $$props) $$invalidate(0, sliderdata = $$props.sliderdata);
5336
- if ("onclickeventname" in $$props) $$invalidate(9, onclickeventname = $$props.onclickeventname);
5387
+ if ("onclickeventname" in $$props) $$invalidate(11, onclickeventname = $$props.onclickeventname);
5337
5388
  if ("favoritesnumber" in $$props) $$invalidate(1, favoritesnumber = $$props.favoritesnumber);
5338
5389
  if ("location" in $$props) $$invalidate(2, location = $$props.location);
5339
- if ("clientstyling" in $$props) $$invalidate(10, clientstyling = $$props.clientstyling);
5340
- if ("clientstylingurl" in $$props) $$invalidate(11, clientstylingurl = $$props.clientstylingurl);
5341
- if ("identity" in $$props) $$invalidate(12, identity = $$props.identity);
5342
- if ("carousel" in $$props) $$invalidate(3, carousel = $$props.carousel);
5343
- if ("active" in $$props) $$invalidate(4, active = $$props.active);
5344
- if ("customStylingContainer" in $$props) $$invalidate(5, customStylingContainer = $$props.customStylingContainer);
5345
- if ("handleClick" in $$props) $$invalidate(6, handleClick = $$props.handleClick);
5346
- if ("scrollLeft" in $$props) $$invalidate(7, scrollLeft = $$props.scrollLeft);
5347
- if ("scrollRight" in $$props) $$invalidate(8, scrollRight = $$props.scrollRight);
5390
+ if ("clientstyling" in $$props) $$invalidate(12, clientstyling = $$props.clientstyling);
5391
+ if ("clientstylingurl" in $$props) $$invalidate(13, clientstylingurl = $$props.clientstylingurl);
5392
+ if ("identity" in $$props) $$invalidate(14, identity = $$props.identity);
5393
+ if ("containermaxwidth" in $$props) $$invalidate(3, containermaxwidth = $$props.containermaxwidth);
5394
+ if ("userAgent" in $$props) userAgent = $$props.userAgent;
5395
+ if ("isMobile" in $$props) $$invalidate(7, isMobile = $$props.isMobile);
5396
+ if ("carousel" in $$props) $$invalidate(4, carousel = $$props.carousel);
5397
+ if ("active" in $$props) $$invalidate(5, active = $$props.active);
5398
+ if ("customStylingContainer" in $$props) $$invalidate(6, customStylingContainer = $$props.customStylingContainer);
5399
+ if ("handleClick" in $$props) $$invalidate(8, handleClick = $$props.handleClick);
5400
+ if ("scrollLeft" in $$props) $$invalidate(9, scrollLeft = $$props.scrollLeft);
5401
+ if ("scrollRight" in $$props) $$invalidate(10, scrollRight = $$props.scrollRight);
5348
5402
  };
5349
5403
 
5350
5404
  if ($$props && "$$inject" in $$props) {
@@ -5352,11 +5406,11 @@
5352
5406
  }
5353
5407
 
5354
5408
  $$self.$$.update = () => {
5355
- if ($$self.$$.dirty & /*clientstyling*/ 1024) {
5409
+ if ($$self.$$.dirty & /*clientstyling*/ 4096) {
5356
5410
  clientstyling && setClientStyling();
5357
5411
  }
5358
5412
 
5359
- if ($$self.$$.dirty & /*clientstylingurl*/ 2048) {
5413
+ if ($$self.$$.dirty & /*clientstylingurl*/ 8192) {
5360
5414
  clientstylingurl && setClientStylingURL();
5361
5415
  }
5362
5416
  };
@@ -5365,9 +5419,11 @@
5365
5419
  sliderdata,
5366
5420
  favoritesnumber,
5367
5421
  location,
5422
+ containermaxwidth,
5368
5423
  carousel,
5369
5424
  active,
5370
5425
  customStylingContainer,
5426
+ isMobile,
5371
5427
  handleClick,
5372
5428
  scrollLeft,
5373
5429
  scrollRight,
@@ -5386,7 +5442,7 @@
5386
5442
  class CasinoSlider extends SvelteElement {
5387
5443
  constructor(options) {
5388
5444
  super();
5389
- this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:'Helvetica Neue', 'Helvetica', sans-serif}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;background:#D0046C;background:-webkit-linear-gradient(to left, #FD2839, #D0046C);background:linear-gradient(to left, #FD2839, #D0046C);color:#ffffff}.CarouselContainer .CarouselItems{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;overflow-x:scroll;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselItems::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems .CarouselItem{display:flex;height:100%;align-items:center;padding:12.8px 19.2px;font-size:16px;text-align:center;line-height:25.6px;transition:all 150ms ease-in-out}.CarouselContainer .CarouselItems .CarouselItem:hover,.CarouselContainer .CarouselItems .CarouselItem.active{background:#07072a;cursor:pointer}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:38.4px}.CarouselContainer .CarouselLeftArrow:hover,.CarouselContainer .CarouselRightArrow:hover{cursor:pointer}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active{background:transparent}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a{border-top:1px solid #D0046C;color:#D0046C}.CarouselContainerHeaderMain{background:transparent}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:#fff;text-decoration:none}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>`;
5445
+ this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:'Helvetica Neue', 'Helvetica', sans-serif}.CarouselWrapper{background:#D0046C;background:-webkit-linear-gradient(to left, #FD2839, #D0046C);background:linear-gradient(to left, #FD2839, #D0046C)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;width:100%;color:#ffffff;margin:0 auto;padding:0 10px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;overflow-x:scroll;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselItems::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems .CarouselItem{display:flex;height:100%;align-items:center;padding:12.8px 19.2px;font-size:16px;text-align:center;line-height:25.6px;transition:all 150ms ease-in-out;white-space:nowrap}.CarouselContainer .CarouselItems .CarouselItem:hover,.CarouselContainer .CarouselItems .CarouselItem.active{background:#07072a;cursor:pointer}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:rgba(255, 255, 255, 0.3)}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:38.4px}.CarouselContainer .CarouselLeftArrow:hover,.CarouselContainer .CarouselRightArrow:hover{cursor:pointer}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active{background:transparent}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a{border-top:1px solid #D0046C;color:#D0046C}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:#fff;text-decoration:none}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}</style>`;
5390
5446
 
5391
5447
  init(
5392
5448
  this,
@@ -5400,12 +5456,13 @@
5400
5456
  safe_not_equal,
5401
5457
  {
5402
5458
  sliderdata: 0,
5403
- onclickeventname: 9,
5459
+ onclickeventname: 11,
5404
5460
  favoritesnumber: 1,
5405
5461
  location: 2,
5406
- clientstyling: 10,
5407
- clientstylingurl: 11,
5408
- identity: 12
5462
+ clientstyling: 12,
5463
+ clientstylingurl: 13,
5464
+ identity: 14,
5465
+ containermaxwidth: 3
5409
5466
  }
5410
5467
  );
5411
5468
 
@@ -5429,7 +5486,8 @@
5429
5486
  "location",
5430
5487
  "clientstyling",
5431
5488
  "clientstylingurl",
5432
- "identity"
5489
+ "identity",
5490
+ "containermaxwidth"
5433
5491
  ];
5434
5492
  }
5435
5493
 
@@ -5443,7 +5501,7 @@
5443
5501
  }
5444
5502
 
5445
5503
  get onclickeventname() {
5446
- return this.$$.ctx[9];
5504
+ return this.$$.ctx[11];
5447
5505
  }
5448
5506
 
5449
5507
  set onclickeventname(onclickeventname) {
@@ -5470,7 +5528,7 @@
5470
5528
  }
5471
5529
 
5472
5530
  get clientstyling() {
5473
- return this.$$.ctx[10];
5531
+ return this.$$.ctx[12];
5474
5532
  }
5475
5533
 
5476
5534
  set clientstyling(clientstyling) {
@@ -5479,7 +5537,7 @@
5479
5537
  }
5480
5538
 
5481
5539
  get clientstylingurl() {
5482
- return this.$$.ctx[11];
5540
+ return this.$$.ctx[13];
5483
5541
  }
5484
5542
 
5485
5543
  set clientstylingurl(clientstylingurl) {
@@ -5488,13 +5546,22 @@
5488
5546
  }
5489
5547
 
5490
5548
  get identity() {
5491
- return this.$$.ctx[12];
5549
+ return this.$$.ctx[14];
5492
5550
  }
5493
5551
 
5494
5552
  set identity(identity) {
5495
5553
  this.$set({ identity });
5496
5554
  flush();
5497
5555
  }
5556
+
5557
+ get containermaxwidth() {
5558
+ return this.$$.ctx[3];
5559
+ }
5560
+
5561
+ set containermaxwidth(containermaxwidth) {
5562
+ this.$set({ containermaxwidth });
5563
+ flush();
5564
+ }
5498
5565
  }
5499
5566
 
5500
5567
  !customElements.get('casino-slider') && customElements.define('casino-slider', CasinoSlider);
@@ -7910,29 +7977,80 @@
7910
7977
 
7911
7978
  function get_each_context_2(ctx, list, i) {
7912
7979
  const child_ctx = ctx.slice();
7913
- child_ctx[53] = list[i];
7980
+ child_ctx[57] = list[i];
7914
7981
  return child_ctx;
7915
7982
  }
7916
7983
 
7917
7984
  function get_each_context_3(ctx, list, i) {
7918
7985
  const child_ctx = ctx.slice();
7919
- child_ctx[4] = list[i];
7986
+ child_ctx[8] = list[i];
7920
7987
  return child_ctx;
7921
7988
  }
7922
7989
 
7923
7990
  function get_each_context(ctx, list, i) {
7924
7991
  const child_ctx = ctx.slice();
7925
- child_ctx[53] = list[i];
7992
+ child_ctx[57] = list[i];
7926
7993
  return child_ctx;
7927
7994
  }
7928
7995
 
7929
7996
  function get_each_context_1(ctx, list, i) {
7930
7997
  const child_ctx = ctx.slice();
7931
- child_ctx[4] = list[i];
7998
+ child_ctx[8] = list[i];
7932
7999
  return child_ctx;
7933
8000
  }
7934
8001
 
7935
- // (254:2) {:else}
8002
+ // (169:2) {#if bannermatrix}
8003
+ function create_if_block_6(ctx) {
8004
+ let link;
8005
+ let link_href_value;
8006
+ let t;
8007
+ let script;
8008
+ let script_src_value;
8009
+
8010
+ const block = {
8011
+ c: function create() {
8012
+ link = element("link");
8013
+ t = space();
8014
+ script = element("script");
8015
+ attr_dev(link, "rel", "import");
8016
+ attr_dev(link, "href", link_href_value = "" + (/*bannermatrix*/ ctx[4] + "/assets/widgets/0.11.3/index.html"));
8017
+ add_location(link, file, 169, 4, 6623);
8018
+ if (script.src !== (script_src_value = "" + (/*bannermatrix*/ ctx[4] + "/assets/widgets/0.11.3/bower_components/webcomponentsjs/webcomponents-lite.js"))) attr_dev(script, "src", script_src_value);
8019
+ add_location(script, file, 170, 4, 6702);
8020
+ },
8021
+ m: function mount(target, anchor) {
8022
+ insert_dev(target, link, anchor);
8023
+ insert_dev(target, t, anchor);
8024
+ insert_dev(target, script, anchor);
8025
+ },
8026
+ p: function update(ctx, dirty) {
8027
+ if (dirty[0] & /*bannermatrix*/ 16 && link_href_value !== (link_href_value = "" + (/*bannermatrix*/ ctx[4] + "/assets/widgets/0.11.3/index.html"))) {
8028
+ attr_dev(link, "href", link_href_value);
8029
+ }
8030
+
8031
+ if (dirty[0] & /*bannermatrix*/ 16 && script.src !== (script_src_value = "" + (/*bannermatrix*/ ctx[4] + "/assets/widgets/0.11.3/bower_components/webcomponentsjs/webcomponents-lite.js"))) {
8032
+ attr_dev(script, "src", script_src_value);
8033
+ }
8034
+ },
8035
+ d: function destroy(detaching) {
8036
+ if (detaching) detach_dev(link);
8037
+ if (detaching) detach_dev(t);
8038
+ if (detaching) detach_dev(script);
8039
+ }
8040
+ };
8041
+
8042
+ dispatch_dev("SvelteRegisterBlock", {
8043
+ block,
8044
+ id: create_if_block_6.name,
8045
+ type: "if",
8046
+ source: "(169:2) {#if bannermatrix}",
8047
+ ctx
8048
+ });
8049
+
8050
+ return block;
8051
+ }
8052
+
8053
+ // (266:2) {:else}
7936
8054
  function create_else_block_1(ctx) {
7937
8055
  let header;
7938
8056
  let div5;
@@ -7954,8 +8072,8 @@
7954
8072
  let ul;
7955
8073
  let mounted;
7956
8074
  let dispose;
7957
- let if_block = !/*isLoading*/ ctx[9] && create_if_block_6(ctx);
7958
- let each_value_3 = /*languagesArray*/ ctx[13];
8075
+ let if_block = !/*isLoading*/ ctx[13] && create_if_block_5(ctx);
8076
+ let each_value_3 = /*languagesArray*/ ctx[17];
7959
8077
  validate_each_argument(each_value_3);
7960
8078
  let each_blocks_1 = [];
7961
8079
 
@@ -7963,7 +8081,7 @@
7963
8081
  each_blocks_1[i] = create_each_block_3(get_each_context_3(ctx, each_value_3, i));
7964
8082
  }
7965
8083
 
7966
- let each_value_2 = /*secondaryMenuArray*/ ctx[6];
8084
+ let each_value_2 = /*secondaryMenuArray*/ ctx[10];
7967
8085
  validate_each_argument(each_value_2);
7968
8086
  let each_blocks = [];
7969
8087
 
@@ -8005,30 +8123,30 @@
8005
8123
 
8006
8124
  if (img.src !== (img_src_value = img$1)) attr_dev(img, "src", img_src_value);
8007
8125
  attr_dev(img, "alt", "Everymatrix logo");
8008
- add_location(img, file, 257, 10, 11655);
8126
+ add_location(img, file, 269, 10, 12040);
8009
8127
  attr_dev(div0, "class", "HeaderBranding");
8010
- add_location(div0, file, 256, 8, 11581);
8128
+ add_location(div0, file, 268, 8, 11966);
8011
8129
  attr_dev(nav0, "class", "HeaderMainNav");
8012
- add_location(nav0, file, 260, 8, 11730);
8130
+ add_location(nav0, file, 272, 8, 12115);
8013
8131
  attr_dev(div1, "class", "Item ItemLogin");
8014
- add_location(div1, file, 267, 12, 12040);
8132
+ add_location(div1, file, 279, 12, 12425);
8015
8133
  attr_dev(div2, "class", "Item ItemRegister");
8016
- add_location(div2, file, 268, 12, 12127);
8134
+ add_location(div2, file, 280, 12, 12512);
8017
8135
  attr_dev(select, "class", "Item ItemLanguage");
8018
- if (/*selectedLanguage*/ ctx[7] === void 0) add_render_callback(() => /*select_change_handler_1*/ ctx[35].call(select));
8019
- add_location(select, file, 269, 12, 12223);
8136
+ if (/*selectedLanguage*/ ctx[11] === void 0) add_render_callback(() => /*select_change_handler_1*/ ctx[39].call(select));
8137
+ add_location(select, file, 281, 12, 12608);
8020
8138
  attr_dev(div3, "class", "HeaderItemsMenu");
8021
- add_location(div3, file, 266, 10, 11998);
8139
+ add_location(div3, file, 278, 10, 12383);
8022
8140
  attr_dev(div4, "class", "HeaderTopActions");
8023
- add_location(div4, file, 265, 8, 11957);
8141
+ add_location(div4, file, 277, 8, 12342);
8024
8142
  attr_dev(div5, "class", "HeaderContainer");
8025
- add_location(div5, file, 255, 6, 11543);
8143
+ add_location(div5, file, 267, 6, 11928);
8026
8144
  attr_dev(ul, "class", "HeaderItemsMenuSecondary");
8027
- add_location(ul, file, 278, 8, 12571);
8145
+ add_location(ul, file, 290, 8, 12956);
8028
8146
  attr_dev(nav1, "class", "HeaderSecondaryNav");
8029
- add_location(nav1, file, 277, 6, 12530);
8147
+ add_location(nav1, file, 289, 6, 12915);
8030
8148
  attr_dev(header, "class", "HeaderWrapper");
8031
- add_location(header, file, 254, 4, 11506);
8149
+ add_location(header, file, 266, 4, 11891);
8032
8150
  },
8033
8151
  m: function mount(target, anchor) {
8034
8152
  insert_dev(target, header, anchor);
@@ -8051,7 +8169,7 @@
8051
8169
  each_blocks_1[i].m(select, null);
8052
8170
  }
8053
8171
 
8054
- select_option(select, /*selectedLanguage*/ ctx[7]);
8172
+ select_option(select, /*selectedLanguage*/ ctx[11]);
8055
8173
  append_dev(header, t6);
8056
8174
  append_dev(header, nav1);
8057
8175
  append_dev(nav1, ul);
@@ -8062,22 +8180,22 @@
8062
8180
 
8063
8181
  if (!mounted) {
8064
8182
  dispose = [
8065
- listen_dev(div0, "click", /*click_handler_11*/ ctx[32], false, false, false),
8066
- listen_dev(div1, "click", /*click_handler_12*/ ctx[33], false, false, false),
8067
- listen_dev(div2, "click", /*click_handler_13*/ ctx[34], false, false, false),
8068
- listen_dev(select, "change", /*select_change_handler_1*/ ctx[35]),
8069
- listen_dev(select, "change", /*change_handler_1*/ ctx[36], false, false, false)
8183
+ listen_dev(div0, "click", /*click_handler_11*/ ctx[36], false, false, false),
8184
+ listen_dev(div1, "click", /*click_handler_12*/ ctx[37], false, false, false),
8185
+ listen_dev(div2, "click", /*click_handler_13*/ ctx[38], false, false, false),
8186
+ listen_dev(select, "change", /*select_change_handler_1*/ ctx[39]),
8187
+ listen_dev(select, "change", /*change_handler_1*/ ctx[40], false, false, false)
8070
8188
  ];
8071
8189
 
8072
8190
  mounted = true;
8073
8191
  }
8074
8192
  },
8075
8193
  p: function update(ctx, dirty) {
8076
- if (!/*isLoading*/ ctx[9]) {
8194
+ if (!/*isLoading*/ ctx[13]) {
8077
8195
  if (if_block) {
8078
8196
  if_block.p(ctx, dirty);
8079
8197
  } else {
8080
- if_block = create_if_block_6(ctx);
8198
+ if_block = create_if_block_5(ctx);
8081
8199
  if_block.c();
8082
8200
  if_block.m(nav0, null);
8083
8201
  }
@@ -8086,8 +8204,8 @@
8086
8204
  if_block = null;
8087
8205
  }
8088
8206
 
8089
- if (dirty[0] & /*languagesArray*/ 8192) {
8090
- each_value_3 = /*languagesArray*/ ctx[13];
8207
+ if (dirty[0] & /*languagesArray*/ 131072) {
8208
+ each_value_3 = /*languagesArray*/ ctx[17];
8091
8209
  validate_each_argument(each_value_3);
8092
8210
  let i;
8093
8211
 
@@ -8110,12 +8228,12 @@
8110
8228
  each_blocks_1.length = each_value_3.length;
8111
8229
  }
8112
8230
 
8113
- if (dirty[0] & /*selectedLanguage, languagesArray*/ 8320) {
8114
- select_option(select, /*selectedLanguage*/ ctx[7]);
8231
+ if (dirty[0] & /*selectedLanguage, languagesArray*/ 133120) {
8232
+ select_option(select, /*selectedLanguage*/ ctx[11]);
8115
8233
  }
8116
8234
 
8117
- if (dirty[0] & /*secondaryMenuArray*/ 64) {
8118
- each_value_2 = /*secondaryMenuArray*/ ctx[6];
8235
+ if (dirty[0] & /*secondaryMenuArray*/ 1024) {
8236
+ each_value_2 = /*secondaryMenuArray*/ ctx[10];
8119
8237
  validate_each_argument(each_value_2);
8120
8238
  let i;
8121
8239
 
@@ -8152,15 +8270,15 @@
8152
8270
  block,
8153
8271
  id: create_else_block_1.name,
8154
8272
  type: "else",
8155
- source: "(254:2) {:else}",
8273
+ source: "(266:2) {:else}",
8156
8274
  ctx
8157
8275
  });
8158
8276
 
8159
8277
  return block;
8160
8278
  }
8161
8279
 
8162
- // (236:2) {#if mobileView}
8163
- function create_if_block_5(ctx) {
8280
+ // (248:2) {#if mobileView}
8281
+ function create_if_block_4(ctx) {
8164
8282
  let header;
8165
8283
  let div6;
8166
8284
  let div0;
@@ -8209,49 +8327,49 @@
8209
8327
  t4 = space();
8210
8328
  div3 = element("div");
8211
8329
  div3.textContent = "Register";
8212
- add_location(style, file, 239, 128, 10722);
8213
- add_location(defs, file, 239, 122, 10716);
8330
+ add_location(style, file, 251, 128, 11107);
8331
+ add_location(defs, file, 251, 122, 11101);
8214
8332
  attr_dev(rect0, "class", "a");
8215
8333
  attr_dev(rect0, "width", "18");
8216
8334
  attr_dev(rect0, "height", "2");
8217
8335
  attr_dev(rect0, "transform", "translate(14 13)");
8218
- add_location(rect0, file, 239, 198, 10792);
8336
+ add_location(rect0, file, 251, 198, 11177);
8219
8337
  attr_dev(rect1, "class", "a");
8220
8338
  attr_dev(rect1, "width", "22");
8221
8339
  attr_dev(rect1, "height", "2");
8222
8340
  attr_dev(rect1, "transform", "translate(14 20)");
8223
- add_location(rect1, file, 239, 266, 10860);
8341
+ add_location(rect1, file, 251, 266, 11245);
8224
8342
  attr_dev(rect2, "class", "a");
8225
8343
  attr_dev(rect2, "width", "22");
8226
8344
  attr_dev(rect2, "height", "2");
8227
8345
  attr_dev(rect2, "transform", "translate(14 27)");
8228
- add_location(rect2, file, 239, 334, 10928);
8346
+ add_location(rect2, file, 251, 334, 11313);
8229
8347
  attr_dev(g, "transform", "translate(-14 -13)");
8230
- add_location(g, file, 239, 164, 10758);
8348
+ add_location(g, file, 251, 164, 11143);
8231
8349
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
8232
8350
  attr_dev(svg, "width", "22");
8233
8351
  attr_dev(svg, "height", "16");
8234
8352
  attr_dev(svg, "viewBox", "0 0 22 16");
8235
- add_location(svg, file, 239, 10, 10604);
8353
+ add_location(svg, file, 251, 10, 10989);
8236
8354
  attr_dev(div0, "class", "HeaderMobileMainNav");
8237
- add_location(div0, file, 238, 8, 10560);
8355
+ add_location(div0, file, 250, 8, 10945);
8238
8356
  if (img.src !== (img_src_value = img$1)) attr_dev(img, "src", img_src_value);
8239
8357
  attr_dev(img, "alt", "Everymatrix logo");
8240
- add_location(img, file, 242, 10, 11104);
8358
+ add_location(img, file, 254, 10, 11489);
8241
8359
  attr_dev(div1, "class", "HeaderBranding");
8242
- add_location(div1, file, 241, 8, 11030);
8360
+ add_location(div1, file, 253, 8, 11415);
8243
8361
  attr_dev(div2, "class", "Item ItemLogin");
8244
- add_location(div2, file, 247, 12, 11262);
8362
+ add_location(div2, file, 259, 12, 11647);
8245
8363
  attr_dev(div3, "class", "Item ItemRegister");
8246
- add_location(div3, file, 248, 12, 11349);
8364
+ add_location(div3, file, 260, 12, 11734);
8247
8365
  attr_dev(div4, "class", "HeaderItemsMenu");
8248
- add_location(div4, file, 246, 10, 11220);
8366
+ add_location(div4, file, 258, 10, 11605);
8249
8367
  attr_dev(div5, "class", "HeaderTopActions");
8250
- add_location(div5, file, 245, 8, 11179);
8368
+ add_location(div5, file, 257, 8, 11564);
8251
8369
  attr_dev(div6, "class", "HeaderContainer");
8252
- add_location(div6, file, 237, 6, 10522);
8370
+ add_location(div6, file, 249, 6, 10907);
8253
8371
  attr_dev(header, "class", "HeaderWrapper HeaderMobileWrapper");
8254
- add_location(header, file, 236, 4, 10465);
8372
+ add_location(header, file, 248, 4, 10850);
8255
8373
  },
8256
8374
  m: function mount(target, anchor) {
8257
8375
  insert_dev(target, header, anchor);
@@ -8277,10 +8395,10 @@
8277
8395
 
8278
8396
  if (!mounted) {
8279
8397
  dispose = [
8280
- listen_dev(svg, "click", /*click_handler_7*/ ctx[28], false, false, false),
8281
- listen_dev(div1, "click", /*click_handler_8*/ ctx[29], false, false, false),
8282
- listen_dev(div2, "click", /*click_handler_9*/ ctx[30], false, false, false),
8283
- listen_dev(div3, "click", /*click_handler_10*/ ctx[31], false, false, false)
8398
+ listen_dev(svg, "click", /*click_handler_7*/ ctx[32], false, false, false),
8399
+ listen_dev(div1, "click", /*click_handler_8*/ ctx[33], false, false, false),
8400
+ listen_dev(div2, "click", /*click_handler_9*/ ctx[34], false, false, false),
8401
+ listen_dev(div3, "click", /*click_handler_10*/ ctx[35], false, false, false)
8284
8402
  ];
8285
8403
 
8286
8404
  mounted = true;
@@ -8296,21 +8414,21 @@
8296
8414
 
8297
8415
  dispatch_dev("SvelteRegisterBlock", {
8298
8416
  block,
8299
- id: create_if_block_5.name,
8417
+ id: create_if_block_4.name,
8300
8418
  type: "if",
8301
- source: "(236:2) {#if mobileView}",
8419
+ source: "(248:2) {#if mobileView}",
8302
8420
  ctx
8303
8421
  });
8304
8422
 
8305
8423
  return block;
8306
8424
  }
8307
8425
 
8308
- // (163:0) {#if isLoggedIn}
8309
- function create_if_block_1(ctx) {
8426
+ // (175:0) {#if isLoggedIn}
8427
+ function create_if_block(ctx) {
8310
8428
  let if_block_anchor;
8311
8429
 
8312
8430
  function select_block_type_1(ctx, dirty) {
8313
- if (/*mobileView*/ ctx[10]) return create_if_block_2;
8431
+ if (/*mobileView*/ ctx[14]) return create_if_block_1;
8314
8432
  return create_else_block;
8315
8433
  }
8316
8434
 
@@ -8347,35 +8465,35 @@
8347
8465
 
8348
8466
  dispatch_dev("SvelteRegisterBlock", {
8349
8467
  block,
8350
- id: create_if_block_1.name,
8468
+ id: create_if_block.name,
8351
8469
  type: "if",
8352
- source: "(163:0) {#if isLoggedIn}",
8470
+ source: "(175:0) {#if isLoggedIn}",
8353
8471
  ctx
8354
8472
  });
8355
8473
 
8356
8474
  return block;
8357
8475
  }
8358
8476
 
8359
- // (262:10) {#if !isLoading}
8360
- function create_if_block_6(ctx) {
8477
+ // (274:10) {#if !isLoading}
8478
+ function create_if_block_5(ctx) {
8361
8479
  let casino_slider;
8362
8480
 
8363
8481
  const block = {
8364
8482
  c: function create() {
8365
8483
  casino_slider = element("casino-slider");
8366
8484
  set_custom_element_data(casino_slider, "class", "HeaderItemsMenu");
8367
- set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[5]);
8485
+ set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[9]);
8368
8486
  set_custom_element_data(casino_slider, "identity", /*identity*/ ctx[3]);
8369
8487
  set_custom_element_data(casino_slider, "onclickeventname", "");
8370
8488
  set_custom_element_data(casino_slider, "location", "headerMain");
8371
- add_location(casino_slider, file, 262, 12, 11797);
8489
+ add_location(casino_slider, file, 274, 12, 12182);
8372
8490
  },
8373
8491
  m: function mount(target, anchor) {
8374
8492
  insert_dev(target, casino_slider, anchor);
8375
8493
  },
8376
8494
  p: function update(ctx, dirty) {
8377
- if (dirty[0] & /*mainMenuArray*/ 32) {
8378
- set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[5]);
8495
+ if (dirty[0] & /*mainMenuArray*/ 512) {
8496
+ set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[9]);
8379
8497
  }
8380
8498
 
8381
8499
  if (dirty[0] & /*identity*/ 8) {
@@ -8389,28 +8507,28 @@
8389
8507
 
8390
8508
  dispatch_dev("SvelteRegisterBlock", {
8391
8509
  block,
8392
- id: create_if_block_6.name,
8510
+ id: create_if_block_5.name,
8393
8511
  type: "if",
8394
- source: "(262:10) {#if !isLoading}",
8512
+ source: "(274:10) {#if !isLoading}",
8395
8513
  ctx
8396
8514
  });
8397
8515
 
8398
8516
  return block;
8399
8517
  }
8400
8518
 
8401
- // (271:14) {#each languagesArray as lang}
8519
+ // (283:14) {#each languagesArray as lang}
8402
8520
  function create_each_block_3(ctx) {
8403
8521
  let option;
8404
- let t_value = /*lang*/ ctx[4].code + "";
8522
+ let t_value = /*lang*/ ctx[8].code + "";
8405
8523
  let t;
8406
8524
 
8407
8525
  const block = {
8408
8526
  c: function create() {
8409
8527
  option = element("option");
8410
8528
  t = text(t_value);
8411
- option.__value = /*lang*/ ctx[4].code;
8529
+ option.__value = /*lang*/ ctx[8].code;
8412
8530
  option.value = option.__value;
8413
- add_location(option, file, 271, 16, 12388);
8531
+ add_location(option, file, 283, 16, 12773);
8414
8532
  },
8415
8533
  m: function mount(target, anchor) {
8416
8534
  insert_dev(target, option, anchor);
@@ -8426,18 +8544,18 @@
8426
8544
  block,
8427
8545
  id: create_each_block_3.name,
8428
8546
  type: "each",
8429
- source: "(271:14) {#each languagesArray as lang}",
8547
+ source: "(283:14) {#each languagesArray as lang}",
8430
8548
  ctx
8431
8549
  });
8432
8550
 
8433
8551
  return block;
8434
8552
  }
8435
8553
 
8436
- // (280:10) {#each secondaryMenuArray as secondaryItem}
8554
+ // (292:10) {#each secondaryMenuArray as secondaryItem}
8437
8555
  function create_each_block_2(ctx) {
8438
8556
  let li;
8439
8557
  let a;
8440
- let t_value = /*secondaryItem*/ ctx[53].label + "";
8558
+ let t_value = /*secondaryItem*/ ctx[57].label + "";
8441
8559
  let t;
8442
8560
  let a_href_value;
8443
8561
 
@@ -8446,10 +8564,10 @@
8446
8564
  li = element("li");
8447
8565
  a = element("a");
8448
8566
  t = text(t_value);
8449
- attr_dev(a, "href", a_href_value = /*secondaryItem*/ ctx[53].path);
8450
- add_location(a, file, 280, 38, 12701);
8567
+ attr_dev(a, "href", a_href_value = /*secondaryItem*/ ctx[57].path);
8568
+ add_location(a, file, 292, 38, 13086);
8451
8569
  attr_dev(li, "class", "ItemSecondary");
8452
- add_location(li, file, 280, 12, 12675);
8570
+ add_location(li, file, 292, 12, 13060);
8453
8571
  },
8454
8572
  m: function mount(target, anchor) {
8455
8573
  insert_dev(target, li, anchor);
@@ -8457,9 +8575,9 @@
8457
8575
  append_dev(a, t);
8458
8576
  },
8459
8577
  p: function update(ctx, dirty) {
8460
- if (dirty[0] & /*secondaryMenuArray*/ 64 && t_value !== (t_value = /*secondaryItem*/ ctx[53].label + "")) set_data_dev(t, t_value);
8578
+ if (dirty[0] & /*secondaryMenuArray*/ 1024 && t_value !== (t_value = /*secondaryItem*/ ctx[57].label + "")) set_data_dev(t, t_value);
8461
8579
 
8462
- if (dirty[0] & /*secondaryMenuArray*/ 64 && a_href_value !== (a_href_value = /*secondaryItem*/ ctx[53].path)) {
8580
+ if (dirty[0] & /*secondaryMenuArray*/ 1024 && a_href_value !== (a_href_value = /*secondaryItem*/ ctx[57].path)) {
8463
8581
  attr_dev(a, "href", a_href_value);
8464
8582
  }
8465
8583
  },
@@ -8472,14 +8590,14 @@
8472
8590
  block,
8473
8591
  id: create_each_block_2.name,
8474
8592
  type: "each",
8475
- source: "(280:10) {#each secondaryMenuArray as secondaryItem}",
8593
+ source: "(292:10) {#each secondaryMenuArray as secondaryItem}",
8476
8594
  ctx
8477
8595
  });
8478
8596
 
8479
8597
  return block;
8480
8598
  }
8481
8599
 
8482
- // (187:2) {:else}
8600
+ // (199:2) {:else}
8483
8601
  function create_else_block(ctx) {
8484
8602
  let header;
8485
8603
  let div5;
@@ -8509,8 +8627,8 @@
8509
8627
  let ul;
8510
8628
  let mounted;
8511
8629
  let dispose;
8512
- let if_block = !/*isLoading*/ ctx[9] && create_if_block_4(ctx);
8513
- let each_value_1 = /*languagesArray*/ ctx[13];
8630
+ let if_block = !/*isLoading*/ ctx[13] && create_if_block_3(ctx);
8631
+ let each_value_1 = /*languagesArray*/ ctx[17];
8514
8632
  validate_each_argument(each_value_1);
8515
8633
  let each_blocks_1 = [];
8516
8634
 
@@ -8518,7 +8636,7 @@
8518
8636
  each_blocks_1[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
8519
8637
  }
8520
8638
 
8521
- let each_value = /*secondaryMenuArray*/ ctx[6];
8639
+ let each_value = /*secondaryMenuArray*/ ctx[10];
8522
8640
  validate_each_argument(each_value);
8523
8641
  let each_blocks = [];
8524
8642
 
@@ -8567,47 +8685,47 @@
8567
8685
 
8568
8686
  if (img.src !== (img_src_value = img$1)) attr_dev(img, "src", img_src_value);
8569
8687
  attr_dev(img, "alt", "Everymatrix logo");
8570
- add_location(img, file, 190, 10, 8384);
8688
+ add_location(img, file, 202, 10, 8769);
8571
8689
  attr_dev(div0, "class", "HeaderBranding");
8572
- add_location(div0, file, 189, 8, 8310);
8690
+ add_location(div0, file, 201, 8, 8695);
8573
8691
  attr_dev(nav0, "class", "HeaderMainNav");
8574
- add_location(nav0, file, 193, 8, 8459);
8692
+ add_location(nav0, file, 205, 8, 8844);
8575
8693
  set_custom_element_data(player_account_balance_modal, "session", /*session*/ ctx[0]);
8576
8694
  set_custom_element_data(player_account_balance_modal, "userid", /*userid*/ ctx[1]);
8577
8695
  set_custom_element_data(player_account_balance_modal, "endpoint", /*endpoint*/ ctx[2]);
8578
- add_location(player_account_balance_modal, file, 200, 12, 8781);
8696
+ add_location(player_account_balance_modal, file, 212, 12, 9166);
8579
8697
  attr_dev(div1, "class", "Item ItemDeposit");
8580
- add_location(div1, file, 201, 12, 8856);
8581
- add_location(style, file, 205, 18, 9170);
8582
- add_location(defs, file, 204, 16, 9145);
8698
+ add_location(div1, file, 213, 12, 9241);
8699
+ add_location(style, file, 217, 18, 9555);
8700
+ add_location(defs, file, 216, 16, 9530);
8583
8701
  attr_dev(path, "class", "a");
8584
8702
  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");
8585
8703
  attr_dev(path, "transform", "translate(0 0)");
8586
- add_location(path, file, 211, 18, 9352);
8704
+ add_location(path, file, 223, 18, 9737);
8587
8705
  attr_dev(g, "transform", "translate(-8 -4)");
8588
- add_location(g, file, 210, 16, 9301);
8706
+ add_location(g, file, 222, 16, 9686);
8589
8707
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
8590
8708
  attr_dev(svg, "width", "15");
8591
8709
  attr_dev(svg, "height", "16.429");
8592
8710
  attr_dev(svg, "viewBox", "0 0 15 16.429");
8593
- add_location(svg, file, 203, 14, 9037);
8711
+ add_location(svg, file, 215, 14, 9422);
8594
8712
  attr_dev(div2, "class", "Item ItemAccount");
8595
- add_location(div2, file, 202, 12, 8951);
8713
+ add_location(div2, file, 214, 12, 9336);
8596
8714
  attr_dev(select, "class", "Item ItemLanguage");
8597
- if (/*selectedLanguage*/ ctx[7] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[26].call(select));
8598
- add_location(select, file, 217, 12, 9829);
8715
+ if (/*selectedLanguage*/ ctx[11] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[30].call(select));
8716
+ add_location(select, file, 229, 12, 10214);
8599
8717
  attr_dev(div3, "class", "HeaderItemsMenu PrimaryMenu");
8600
- add_location(div3, file, 199, 10, 8727);
8718
+ add_location(div3, file, 211, 10, 9112);
8601
8719
  attr_dev(div4, "class", "HeaderTopActions");
8602
- add_location(div4, file, 198, 8, 8686);
8720
+ add_location(div4, file, 210, 8, 9071);
8603
8721
  attr_dev(div5, "class", "HeaderContainer");
8604
- add_location(div5, file, 188, 6, 8272);
8722
+ add_location(div5, file, 200, 6, 8657);
8605
8723
  attr_dev(ul, "class", "HeaderItemsMenuSecondary");
8606
- add_location(ul, file, 226, 8, 10177);
8724
+ add_location(ul, file, 238, 8, 10562);
8607
8725
  attr_dev(nav1, "class", "HeaderSecondaryNav");
8608
- add_location(nav1, file, 225, 6, 10136);
8726
+ add_location(nav1, file, 237, 6, 10521);
8609
8727
  attr_dev(header, "class", "HeaderWrapper");
8610
- add_location(header, file, 187, 4, 8235);
8728
+ add_location(header, file, 199, 4, 8620);
8611
8729
  },
8612
8730
  m: function mount(target, anchor) {
8613
8731
  insert_dev(target, header, anchor);
@@ -8638,7 +8756,7 @@
8638
8756
  each_blocks_1[i].m(select, null);
8639
8757
  }
8640
8758
 
8641
- select_option(select, /*selectedLanguage*/ ctx[7]);
8759
+ select_option(select, /*selectedLanguage*/ ctx[11]);
8642
8760
  append_dev(header, t7);
8643
8761
  append_dev(header, nav1);
8644
8762
  append_dev(nav1, ul);
@@ -8649,22 +8767,22 @@
8649
8767
 
8650
8768
  if (!mounted) {
8651
8769
  dispose = [
8652
- listen_dev(div0, "click", /*click_handler_4*/ ctx[23], false, false, false),
8653
- listen_dev(div1, "click", /*click_handler_5*/ ctx[24], false, false, false),
8654
- listen_dev(div2, "click", /*click_handler_6*/ ctx[25], false, false, false),
8655
- listen_dev(select, "change", /*select_change_handler*/ ctx[26]),
8656
- listen_dev(select, "change", /*change_handler*/ ctx[27], false, false, false)
8770
+ listen_dev(div0, "click", /*click_handler_4*/ ctx[27], false, false, false),
8771
+ listen_dev(div1, "click", /*click_handler_5*/ ctx[28], false, false, false),
8772
+ listen_dev(div2, "click", /*click_handler_6*/ ctx[29], false, false, false),
8773
+ listen_dev(select, "change", /*select_change_handler*/ ctx[30]),
8774
+ listen_dev(select, "change", /*change_handler*/ ctx[31], false, false, false)
8657
8775
  ];
8658
8776
 
8659
8777
  mounted = true;
8660
8778
  }
8661
8779
  },
8662
8780
  p: function update(ctx, dirty) {
8663
- if (!/*isLoading*/ ctx[9]) {
8781
+ if (!/*isLoading*/ ctx[13]) {
8664
8782
  if (if_block) {
8665
8783
  if_block.p(ctx, dirty);
8666
8784
  } else {
8667
- if_block = create_if_block_4(ctx);
8785
+ if_block = create_if_block_3(ctx);
8668
8786
  if_block.c();
8669
8787
  if_block.m(nav0, null);
8670
8788
  }
@@ -8685,8 +8803,8 @@
8685
8803
  set_custom_element_data(player_account_balance_modal, "endpoint", /*endpoint*/ ctx[2]);
8686
8804
  }
8687
8805
 
8688
- if (dirty[0] & /*languagesArray*/ 8192) {
8689
- each_value_1 = /*languagesArray*/ ctx[13];
8806
+ if (dirty[0] & /*languagesArray*/ 131072) {
8807
+ each_value_1 = /*languagesArray*/ ctx[17];
8690
8808
  validate_each_argument(each_value_1);
8691
8809
  let i;
8692
8810
 
@@ -8709,12 +8827,12 @@
8709
8827
  each_blocks_1.length = each_value_1.length;
8710
8828
  }
8711
8829
 
8712
- if (dirty[0] & /*selectedLanguage, languagesArray*/ 8320) {
8713
- select_option(select, /*selectedLanguage*/ ctx[7]);
8830
+ if (dirty[0] & /*selectedLanguage, languagesArray*/ 133120) {
8831
+ select_option(select, /*selectedLanguage*/ ctx[11]);
8714
8832
  }
8715
8833
 
8716
- if (dirty[0] & /*secondaryMenuArray*/ 64) {
8717
- each_value = /*secondaryMenuArray*/ ctx[6];
8834
+ if (dirty[0] & /*secondaryMenuArray*/ 1024) {
8835
+ each_value = /*secondaryMenuArray*/ ctx[10];
8718
8836
  validate_each_argument(each_value);
8719
8837
  let i;
8720
8838
 
@@ -8751,15 +8869,15 @@
8751
8869
  block,
8752
8870
  id: create_else_block.name,
8753
8871
  type: "else",
8754
- source: "(187:2) {:else}",
8872
+ source: "(199:2) {:else}",
8755
8873
  ctx
8756
8874
  });
8757
8875
 
8758
8876
  return block;
8759
8877
  }
8760
8878
 
8761
- // (164:2) {#if mobileView}
8762
- function create_if_block_2(ctx) {
8879
+ // (176:2) {#if mobileView}
8880
+ function create_if_block_1(ctx) {
8763
8881
  let header;
8764
8882
  let div6;
8765
8883
  let div0;
@@ -8783,7 +8901,7 @@
8783
8901
  let path;
8784
8902
  let mounted;
8785
8903
  let dispose;
8786
- let if_block = !/*hamburgerMenuActive*/ ctx[12] && create_if_block_3(ctx);
8904
+ let if_block = !/*hamburgerMenuActive*/ ctx[16] && create_if_block_2(ctx);
8787
8905
 
8788
8906
  const block = {
8789
8907
  c: function create() {
@@ -8810,41 +8928,41 @@
8810
8928
  g = svg_element("g");
8811
8929
  path = svg_element("path");
8812
8930
  attr_dev(div0, "class", "HeaderMobileMainNav");
8813
- add_location(div0, file, 166, 8, 6592);
8931
+ add_location(div0, file, 178, 8, 6977);
8814
8932
  if (img.src !== (img_src_value = img$1)) attr_dev(img, "src", img_src_value);
8815
8933
  attr_dev(img, "alt", "Everymatrix logo");
8816
- add_location(img, file, 172, 10, 7190);
8934
+ add_location(img, file, 184, 10, 7575);
8817
8935
  attr_dev(div1, "class", "HeaderBranding");
8818
- add_location(div1, file, 171, 8, 7116);
8936
+ add_location(div1, file, 183, 8, 7501);
8819
8937
  set_custom_element_data(player_account_balance_modal, "session", /*session*/ ctx[0]);
8820
8938
  set_custom_element_data(player_account_balance_modal, "userid", /*userid*/ ctx[1]);
8821
8939
  set_custom_element_data(player_account_balance_modal, "endpoint", /*endpoint*/ ctx[2]);
8822
- add_location(player_account_balance_modal, file, 177, 12, 7360);
8940
+ add_location(player_account_balance_modal, file, 189, 12, 7745);
8823
8941
  attr_dev(div2, "class", "Item ItemDeposit");
8824
- add_location(div2, file, 178, 12, 7435);
8825
- add_location(style, file, 180, 111, 7709);
8826
- add_location(defs, file, 180, 105, 7703);
8942
+ add_location(div2, file, 190, 12, 7820);
8943
+ add_location(style, file, 192, 111, 8094);
8944
+ add_location(defs, file, 192, 105, 8088);
8827
8945
  attr_dev(path, "class", "a");
8828
8946
  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");
8829
8947
  attr_dev(path, "transform", "translate(0 0)");
8830
- add_location(path, file, 180, 179, 7777);
8948
+ add_location(path, file, 192, 179, 8162);
8831
8949
  attr_dev(g, "transform", "translate(-8 -4)");
8832
- add_location(g, file, 180, 147, 7745);
8950
+ add_location(g, file, 192, 147, 8130);
8833
8951
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
8834
8952
  attr_dev(svg, "width", "15");
8835
8953
  attr_dev(svg, "height", "16.429");
8836
8954
  attr_dev(svg, "viewBox", "0 0 15 16.429");
8837
- add_location(svg, file, 180, 14, 7612);
8955
+ add_location(svg, file, 192, 14, 7997);
8838
8956
  attr_dev(div3, "class", "Item ItemAccount");
8839
- add_location(div3, file, 179, 12, 7528);
8957
+ add_location(div3, file, 191, 12, 7913);
8840
8958
  attr_dev(div4, "class", "HeaderItemsMenu PrimaryMenu");
8841
- add_location(div4, file, 176, 10, 7306);
8959
+ add_location(div4, file, 188, 10, 7691);
8842
8960
  attr_dev(div5, "class", "HeaderTopActions");
8843
- add_location(div5, file, 175, 8, 7265);
8961
+ add_location(div5, file, 187, 8, 7650);
8844
8962
  attr_dev(div6, "class", "HeaderContainer");
8845
- add_location(div6, file, 165, 6, 6554);
8963
+ add_location(div6, file, 177, 6, 6939);
8846
8964
  attr_dev(header, "class", "HeaderWrapper HeaderMobileWrapper");
8847
- add_location(header, file, 164, 4, 6497);
8965
+ add_location(header, file, 176, 4, 6882);
8848
8966
  },
8849
8967
  m: function mount(target, anchor) {
8850
8968
  insert_dev(target, header, anchor);
@@ -8871,20 +8989,20 @@
8871
8989
 
8872
8990
  if (!mounted) {
8873
8991
  dispose = [
8874
- listen_dev(div1, "click", /*click_handler_1*/ ctx[20], false, false, false),
8875
- listen_dev(div2, "click", /*click_handler_2*/ ctx[21], false, false, false),
8876
- listen_dev(div3, "click", /*click_handler_3*/ ctx[22], false, false, false)
8992
+ listen_dev(div1, "click", /*click_handler_1*/ ctx[24], false, false, false),
8993
+ listen_dev(div2, "click", /*click_handler_2*/ ctx[25], false, false, false),
8994
+ listen_dev(div3, "click", /*click_handler_3*/ ctx[26], false, false, false)
8877
8995
  ];
8878
8996
 
8879
8997
  mounted = true;
8880
8998
  }
8881
8999
  },
8882
9000
  p: function update(ctx, dirty) {
8883
- if (!/*hamburgerMenuActive*/ ctx[12]) {
9001
+ if (!/*hamburgerMenuActive*/ ctx[16]) {
8884
9002
  if (if_block) {
8885
9003
  if_block.p(ctx, dirty);
8886
9004
  } else {
8887
- if_block = create_if_block_3(ctx);
9005
+ if_block = create_if_block_2(ctx);
8888
9006
  if_block.c();
8889
9007
  if_block.m(div0, null);
8890
9008
  }
@@ -8915,35 +9033,35 @@
8915
9033
 
8916
9034
  dispatch_dev("SvelteRegisterBlock", {
8917
9035
  block,
8918
- id: create_if_block_2.name,
9036
+ id: create_if_block_1.name,
8919
9037
  type: "if",
8920
- source: "(164:2) {#if mobileView}",
9038
+ source: "(176:2) {#if mobileView}",
8921
9039
  ctx
8922
9040
  });
8923
9041
 
8924
9042
  return block;
8925
9043
  }
8926
9044
 
8927
- // (195:10) {#if !isLoading}
8928
- function create_if_block_4(ctx) {
9045
+ // (207:10) {#if !isLoading}
9046
+ function create_if_block_3(ctx) {
8929
9047
  let casino_slider;
8930
9048
 
8931
9049
  const block = {
8932
9050
  c: function create() {
8933
9051
  casino_slider = element("casino-slider");
8934
9052
  set_custom_element_data(casino_slider, "class", "HeaderItemsMenu");
8935
- set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[5]);
9053
+ set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[9]);
8936
9054
  set_custom_element_data(casino_slider, "identity", /*identity*/ ctx[3]);
8937
9055
  set_custom_element_data(casino_slider, "onclickeventname", "");
8938
9056
  set_custom_element_data(casino_slider, "location", "headerMain");
8939
- add_location(casino_slider, file, 195, 12, 8526);
9057
+ add_location(casino_slider, file, 207, 12, 8911);
8940
9058
  },
8941
9059
  m: function mount(target, anchor) {
8942
9060
  insert_dev(target, casino_slider, anchor);
8943
9061
  },
8944
9062
  p: function update(ctx, dirty) {
8945
- if (dirty[0] & /*mainMenuArray*/ 32) {
8946
- set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[5]);
9063
+ if (dirty[0] & /*mainMenuArray*/ 512) {
9064
+ set_custom_element_data(casino_slider, "sliderdata", /*mainMenuArray*/ ctx[9]);
8947
9065
  }
8948
9066
 
8949
9067
  if (dirty[0] & /*identity*/ 8) {
@@ -8957,28 +9075,28 @@
8957
9075
 
8958
9076
  dispatch_dev("SvelteRegisterBlock", {
8959
9077
  block,
8960
- id: create_if_block_4.name,
9078
+ id: create_if_block_3.name,
8961
9079
  type: "if",
8962
- source: "(195:10) {#if !isLoading}",
9080
+ source: "(207:10) {#if !isLoading}",
8963
9081
  ctx
8964
9082
  });
8965
9083
 
8966
9084
  return block;
8967
9085
  }
8968
9086
 
8969
- // (219:14) {#each languagesArray as lang}
9087
+ // (231:14) {#each languagesArray as lang}
8970
9088
  function create_each_block_1(ctx) {
8971
9089
  let option;
8972
- let t_value = /*lang*/ ctx[4].code + "";
9090
+ let t_value = /*lang*/ ctx[8].code + "";
8973
9091
  let t;
8974
9092
 
8975
9093
  const block = {
8976
9094
  c: function create() {
8977
9095
  option = element("option");
8978
9096
  t = text(t_value);
8979
- option.__value = /*lang*/ ctx[4].code;
9097
+ option.__value = /*lang*/ ctx[8].code;
8980
9098
  option.value = option.__value;
8981
- add_location(option, file, 219, 16, 9994);
9099
+ add_location(option, file, 231, 16, 10379);
8982
9100
  },
8983
9101
  m: function mount(target, anchor) {
8984
9102
  insert_dev(target, option, anchor);
@@ -8994,18 +9112,18 @@
8994
9112
  block,
8995
9113
  id: create_each_block_1.name,
8996
9114
  type: "each",
8997
- source: "(219:14) {#each languagesArray as lang}",
9115
+ source: "(231:14) {#each languagesArray as lang}",
8998
9116
  ctx
8999
9117
  });
9000
9118
 
9001
9119
  return block;
9002
9120
  }
9003
9121
 
9004
- // (228:10) {#each secondaryMenuArray as secondaryItem}
9122
+ // (240:10) {#each secondaryMenuArray as secondaryItem}
9005
9123
  function create_each_block(ctx) {
9006
9124
  let li;
9007
9125
  let a;
9008
- let t_value = /*secondaryItem*/ ctx[53].label + "";
9126
+ let t_value = /*secondaryItem*/ ctx[57].label + "";
9009
9127
  let t;
9010
9128
  let a_href_value;
9011
9129
 
@@ -9014,10 +9132,10 @@
9014
9132
  li = element("li");
9015
9133
  a = element("a");
9016
9134
  t = text(t_value);
9017
- attr_dev(a, "href", a_href_value = /*secondaryItem*/ ctx[53].path);
9018
- add_location(a, file, 228, 38, 10307);
9135
+ attr_dev(a, "href", a_href_value = /*secondaryItem*/ ctx[57].path);
9136
+ add_location(a, file, 240, 38, 10692);
9019
9137
  attr_dev(li, "class", "ItemSecondary");
9020
- add_location(li, file, 228, 12, 10281);
9138
+ add_location(li, file, 240, 12, 10666);
9021
9139
  },
9022
9140
  m: function mount(target, anchor) {
9023
9141
  insert_dev(target, li, anchor);
@@ -9025,9 +9143,9 @@
9025
9143
  append_dev(a, t);
9026
9144
  },
9027
9145
  p: function update(ctx, dirty) {
9028
- if (dirty[0] & /*secondaryMenuArray*/ 64 && t_value !== (t_value = /*secondaryItem*/ ctx[53].label + "")) set_data_dev(t, t_value);
9146
+ if (dirty[0] & /*secondaryMenuArray*/ 1024 && t_value !== (t_value = /*secondaryItem*/ ctx[57].label + "")) set_data_dev(t, t_value);
9029
9147
 
9030
- if (dirty[0] & /*secondaryMenuArray*/ 64 && a_href_value !== (a_href_value = /*secondaryItem*/ ctx[53].path)) {
9148
+ if (dirty[0] & /*secondaryMenuArray*/ 1024 && a_href_value !== (a_href_value = /*secondaryItem*/ ctx[57].path)) {
9031
9149
  attr_dev(a, "href", a_href_value);
9032
9150
  }
9033
9151
  },
@@ -9040,15 +9158,15 @@
9040
9158
  block,
9041
9159
  id: create_each_block.name,
9042
9160
  type: "each",
9043
- source: "(228:10) {#each secondaryMenuArray as secondaryItem}",
9161
+ source: "(240:10) {#each secondaryMenuArray as secondaryItem}",
9044
9162
  ctx
9045
9163
  });
9046
9164
 
9047
9165
  return block;
9048
9166
  }
9049
9167
 
9050
- // (168:10) {#if !hamburgerMenuActive}
9051
- function create_if_block_3(ctx) {
9168
+ // (180:10) {#if !hamburgerMenuActive}
9169
+ function create_if_block_2(ctx) {
9052
9170
  let svg;
9053
9171
  let defs;
9054
9172
  let style;
@@ -9070,30 +9188,30 @@
9070
9188
  rect0 = svg_element("rect");
9071
9189
  rect1 = svg_element("rect");
9072
9190
  rect2 = svg_element("rect");
9073
- add_location(style, file, 168, 129, 6792);
9074
- add_location(defs, file, 168, 123, 6786);
9191
+ add_location(style, file, 180, 129, 7177);
9192
+ add_location(defs, file, 180, 123, 7171);
9075
9193
  attr_dev(rect0, "class", "a");
9076
9194
  attr_dev(rect0, "width", "18");
9077
9195
  attr_dev(rect0, "height", "2");
9078
9196
  attr_dev(rect0, "transform", "translate(14 13)");
9079
- add_location(rect0, file, 168, 199, 6862);
9197
+ add_location(rect0, file, 180, 199, 7247);
9080
9198
  attr_dev(rect1, "class", "a");
9081
9199
  attr_dev(rect1, "width", "22");
9082
9200
  attr_dev(rect1, "height", "2");
9083
9201
  attr_dev(rect1, "transform", "translate(14 20)");
9084
- add_location(rect1, file, 168, 267, 6930);
9202
+ add_location(rect1, file, 180, 267, 7315);
9085
9203
  attr_dev(rect2, "class", "a");
9086
9204
  attr_dev(rect2, "width", "22");
9087
9205
  attr_dev(rect2, "height", "2");
9088
9206
  attr_dev(rect2, "transform", "translate(14 27)");
9089
- add_location(rect2, file, 168, 335, 6998);
9207
+ add_location(rect2, file, 180, 335, 7383);
9090
9208
  attr_dev(g, "transform", "translate(-14 -13)");
9091
- add_location(g, file, 168, 165, 6828);
9209
+ add_location(g, file, 180, 165, 7213);
9092
9210
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
9093
9211
  attr_dev(svg, "width", "22");
9094
9212
  attr_dev(svg, "height", "16");
9095
9213
  attr_dev(svg, "viewBox", "0 0 22 16");
9096
- add_location(svg, file, 168, 12, 6675);
9214
+ add_location(svg, file, 180, 12, 7060);
9097
9215
  },
9098
9216
  m: function mount(target, anchor) {
9099
9217
  insert_dev(target, svg, anchor);
@@ -9106,7 +9224,7 @@
9106
9224
  append_dev(g, rect2);
9107
9225
 
9108
9226
  if (!mounted) {
9109
- dispose = listen_dev(svg, "click", /*click_handler*/ ctx[19], false, false, false);
9227
+ dispose = listen_dev(svg, "click", /*click_handler*/ ctx[23], false, false, false);
9110
9228
  mounted = true;
9111
9229
  }
9112
9230
  },
@@ -9120,45 +9238,9 @@
9120
9238
 
9121
9239
  dispatch_dev("SvelteRegisterBlock", {
9122
9240
  block,
9123
- id: create_if_block_3.name,
9124
- type: "if",
9125
- source: "(168:10) {#if !hamburgerMenuActive}",
9126
- ctx
9127
- });
9128
-
9129
- return block;
9130
- }
9131
-
9132
- // (289:0) {#if !mobileView}
9133
- function create_if_block(ctx) {
9134
- let div;
9135
- let div_class_value;
9136
-
9137
- const block = {
9138
- c: function create() {
9139
- div = element("div");
9140
- attr_dev(div, "class", div_class_value = "HeaderSlider " + (/*mobileView*/ ctx[10] ? "HeaderSliderMobile" : ""));
9141
- set_style(div, "background-image", "url(" + img + ")");
9142
- add_location(div, file, 289, 2, 12855);
9143
- },
9144
- m: function mount(target, anchor) {
9145
- insert_dev(target, div, anchor);
9146
- },
9147
- p: function update(ctx, dirty) {
9148
- if (dirty[0] & /*mobileView*/ 1024 && div_class_value !== (div_class_value = "HeaderSlider " + (/*mobileView*/ ctx[10] ? "HeaderSliderMobile" : ""))) {
9149
- attr_dev(div, "class", div_class_value);
9150
- }
9151
- },
9152
- d: function destroy(detaching) {
9153
- if (detaching) detach_dev(div);
9154
- }
9155
- };
9156
-
9157
- dispatch_dev("SvelteRegisterBlock", {
9158
- block,
9159
- id: create_if_block.name,
9241
+ id: create_if_block_2.name,
9160
9242
  type: "if",
9161
- source: "(289:0) {#if !mobileView}",
9243
+ source: "(180:10) {#if !hamburgerMenuActive}",
9162
9244
  ctx
9163
9245
  });
9164
9246
 
@@ -9166,79 +9248,107 @@
9166
9248
  }
9167
9249
 
9168
9250
  function create_fragment(ctx) {
9251
+ let if_block0_anchor;
9169
9252
  let t0;
9170
9253
  let t1;
9254
+ let bannermatrix_banner;
9255
+ let t2;
9171
9256
  let casino_hamburger_menu;
9257
+ let if_block0 = /*bannermatrix*/ ctx[4] && create_if_block_6(ctx);
9172
9258
 
9173
9259
  function select_block_type(ctx, dirty) {
9174
- if (/*isLoggedIn*/ ctx[11]) return create_if_block_1;
9175
- if (/*mobileView*/ ctx[10]) return create_if_block_5;
9260
+ if (/*isLoggedIn*/ ctx[15]) return create_if_block;
9261
+ if (/*mobileView*/ ctx[14]) return create_if_block_4;
9176
9262
  return create_else_block_1;
9177
9263
  }
9178
9264
 
9179
9265
  let current_block_type = select_block_type(ctx);
9180
- let if_block0 = current_block_type(ctx);
9181
- let if_block1 = !/*mobileView*/ ctx[10] && create_if_block(ctx);
9266
+ let if_block1 = current_block_type(ctx);
9182
9267
 
9183
9268
  const block = {
9184
9269
  c: function create() {
9185
- if_block0.c();
9270
+ if (if_block0) if_block0.c();
9271
+ if_block0_anchor = empty();
9186
9272
  t0 = space();
9187
- if (if_block1) if_block1.c();
9273
+ if_block1.c();
9188
9274
  t1 = space();
9275
+ bannermatrix_banner = element("bannermatrix-banner");
9276
+ t2 = space();
9189
9277
  casino_hamburger_menu = element("casino-hamburger-menu");
9190
9278
  this.c = noop$1;
9191
- set_custom_element_data(casino_hamburger_menu, "menuitemsurl", /*hamburgerURL*/ ctx[8]);
9192
- set_custom_element_data(casino_hamburger_menu, "language", /*language*/ ctx[14]);
9193
- add_location(casino_hamburger_menu, file, 292, 0, 12992);
9279
+ set_custom_element_data(bannermatrix_banner, "operator-id", /*operatorid*/ ctx[5]);
9280
+ set_custom_element_data(bannermatrix_banner, "page-tag", /*pagetag*/ ctx[6]);
9281
+ set_custom_element_data(bannermatrix_banner, "position-tag", /*positiontag*/ ctx[7]);
9282
+ add_location(bannermatrix_banner, file, 300, 0, 13220);
9283
+ set_custom_element_data(casino_hamburger_menu, "menuitemsurl", /*hamburgerURL*/ ctx[12]);
9284
+ set_custom_element_data(casino_hamburger_menu, "language", /*language*/ ctx[18]);
9285
+ add_location(casino_hamburger_menu, file, 302, 0, 13336);
9194
9286
  },
9195
9287
  l: function claim(nodes) {
9196
9288
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
9197
9289
  },
9198
9290
  m: function mount(target, anchor) {
9199
- if_block0.m(target, anchor);
9291
+ if (if_block0) if_block0.m(document.head, null);
9292
+ append_dev(document.head, if_block0_anchor);
9200
9293
  insert_dev(target, t0, anchor);
9201
- if (if_block1) if_block1.m(target, anchor);
9294
+ if_block1.m(target, anchor);
9202
9295
  insert_dev(target, t1, anchor);
9296
+ insert_dev(target, bannermatrix_banner, anchor);
9297
+ insert_dev(target, t2, anchor);
9203
9298
  insert_dev(target, casino_hamburger_menu, anchor);
9204
9299
  },
9205
9300
  p: function update(ctx, dirty) {
9206
- if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block0) {
9207
- if_block0.p(ctx, dirty);
9208
- } else {
9209
- if_block0.d(1);
9210
- if_block0 = current_block_type(ctx);
9211
-
9301
+ if (/*bannermatrix*/ ctx[4]) {
9212
9302
  if (if_block0) {
9303
+ if_block0.p(ctx, dirty);
9304
+ } else {
9305
+ if_block0 = create_if_block_6(ctx);
9213
9306
  if_block0.c();
9214
- if_block0.m(t0.parentNode, t0);
9307
+ if_block0.m(if_block0_anchor.parentNode, if_block0_anchor);
9215
9308
  }
9309
+ } else if (if_block0) {
9310
+ if_block0.d(1);
9311
+ if_block0 = null;
9216
9312
  }
9217
9313
 
9218
- if (!/*mobileView*/ ctx[10]) {
9314
+ if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block1) {
9315
+ if_block1.p(ctx, dirty);
9316
+ } else {
9317
+ if_block1.d(1);
9318
+ if_block1 = current_block_type(ctx);
9319
+
9219
9320
  if (if_block1) {
9220
- if_block1.p(ctx, dirty);
9221
- } else {
9222
- if_block1 = create_if_block(ctx);
9223
9321
  if_block1.c();
9224
9322
  if_block1.m(t1.parentNode, t1);
9225
9323
  }
9226
- } else if (if_block1) {
9227
- if_block1.d(1);
9228
- if_block1 = null;
9229
9324
  }
9230
9325
 
9231
- if (dirty[0] & /*hamburgerURL*/ 256) {
9232
- set_custom_element_data(casino_hamburger_menu, "menuitemsurl", /*hamburgerURL*/ ctx[8]);
9326
+ if (dirty[0] & /*operatorid*/ 32) {
9327
+ set_custom_element_data(bannermatrix_banner, "operator-id", /*operatorid*/ ctx[5]);
9328
+ }
9329
+
9330
+ if (dirty[0] & /*pagetag*/ 64) {
9331
+ set_custom_element_data(bannermatrix_banner, "page-tag", /*pagetag*/ ctx[6]);
9332
+ }
9333
+
9334
+ if (dirty[0] & /*positiontag*/ 128) {
9335
+ set_custom_element_data(bannermatrix_banner, "position-tag", /*positiontag*/ ctx[7]);
9336
+ }
9337
+
9338
+ if (dirty[0] & /*hamburgerURL*/ 4096) {
9339
+ set_custom_element_data(casino_hamburger_menu, "menuitemsurl", /*hamburgerURL*/ ctx[12]);
9233
9340
  }
9234
9341
  },
9235
9342
  i: noop$1,
9236
9343
  o: noop$1,
9237
9344
  d: function destroy(detaching) {
9238
- if_block0.d(detaching);
9345
+ if (if_block0) if_block0.d(detaching);
9346
+ detach_dev(if_block0_anchor);
9239
9347
  if (detaching) detach_dev(t0);
9240
- if (if_block1) if_block1.d(detaching);
9348
+ if_block1.d(detaching);
9241
9349
  if (detaching) detach_dev(t1);
9350
+ if (detaching) detach_dev(bannermatrix_banner);
9351
+ if (detaching) detach_dev(t2);
9242
9352
  if (detaching) detach_dev(casino_hamburger_menu);
9243
9353
  }
9244
9354
  };
@@ -9301,6 +9411,10 @@
9301
9411
  let { cmsenv = "stage" } = $$props;
9302
9412
  let { lang = "" } = $$props;
9303
9413
  let { identity = "" } = $$props;
9414
+ let { bannermatrix = "" } = $$props;
9415
+ let { operatorid = "" } = $$props;
9416
+ let { pagetag = "" } = $$props;
9417
+ let { positiontag = "" } = $$props;
9304
9418
 
9305
9419
  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"
9306
9420
  viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;" xml:space="preserve">
@@ -9380,7 +9494,7 @@
9380
9494
  };
9381
9495
 
9382
9496
  const toggleMenu = () => {
9383
- $$invalidate(12, hamburgerMenuActive = true);
9497
+ $$invalidate(16, hamburgerMenuActive = true);
9384
9498
  window.postMessage({ type: "OpenHamburgerMenuModal" }, window.location.href);
9385
9499
  };
9386
9500
 
@@ -9390,15 +9504,15 @@
9390
9504
  case "UserSessionID":
9391
9505
  playerID = e.data.userid;
9392
9506
  sessionID = e.data.session;
9393
- $$invalidate(11, isLoggedIn = true);
9507
+ $$invalidate(15, isLoggedIn = true);
9394
9508
  break;
9395
9509
  case "CloseHamburgerMenu":
9396
9510
  if (e.data.showhamburger) {
9397
- $$invalidate(12, hamburgerMenuActive = false);
9511
+ $$invalidate(16, hamburgerMenuActive = false);
9398
9512
  }
9399
9513
  break;
9400
9514
  case "LogoutSuccessfull":
9401
- $$invalidate(11, isLoggedIn = false);
9515
+ $$invalidate(15, isLoggedIn = false);
9402
9516
  break;
9403
9517
  case "LanguageChanged":
9404
9518
  createCMSUrls();
@@ -9409,13 +9523,13 @@
9409
9523
  };
9410
9524
 
9411
9525
  const setSession = () => {
9412
- $$invalidate(11, isLoggedIn = true);
9526
+ $$invalidate(15, isLoggedIn = true);
9413
9527
  sessionID = session;
9414
9528
  };
9415
9529
 
9416
9530
  const createCMSUrls = () => {
9417
9531
  headerURL = new URL(`${cmsendpoint}/${selectedLanguage.toLowerCase()}/menu`);
9418
- $$invalidate(8, hamburgerURL = new URL(`${cmsendpoint}/${selectedLanguage.toLowerCase()}/hamburger-menu`));
9532
+ $$invalidate(12, hamburgerURL = new URL(`${cmsendpoint}/${selectedLanguage.toLowerCase()}/hamburger-menu`));
9419
9533
  headerURL.searchParams.append("device", "dk");
9420
9534
  headerURL.searchParams.append("env", cmsenv);
9421
9535
  headerURL.searchParams.append("language", selectedLanguage.toLowerCase());
@@ -9427,24 +9541,24 @@
9427
9541
  };
9428
9542
 
9429
9543
  const initialLoad = () => {
9430
- $$invalidate(7, selectedLanguage = lang.toUpperCase());
9544
+ $$invalidate(11, selectedLanguage = lang.toUpperCase());
9431
9545
  createCMSUrls();
9432
9546
  getHeaderMenusData(headerURL);
9433
9547
  };
9434
9548
 
9435
9549
  const getHeaderMenusData = url => {
9436
- $$invalidate(9, isLoading = true);
9550
+ $$invalidate(13, isLoading = true);
9437
9551
 
9438
9552
  return new Promise((resolve, reject) => {
9439
9553
  fetch(url).then(res => res.json()).then(
9440
9554
  data => {
9441
- $$invalidate(5, mainMenuArray = data.desktop.primary);
9442
- $$invalidate(6, secondaryMenuArray = data.desktop.secondary);
9443
- $$invalidate(9, isLoading = false);
9555
+ $$invalidate(9, mainMenuArray = data.desktop.primary);
9556
+ $$invalidate(10, secondaryMenuArray = data.desktop.secondary);
9557
+ $$invalidate(13, isLoading = false);
9444
9558
  resolve(data);
9445
9559
  },
9446
9560
  err => {
9447
- $$invalidate(9, isLoading = false);
9561
+ $$invalidate(13, isLoading = false);
9448
9562
  console.error(err);
9449
9563
  reject(err);
9450
9564
  }
@@ -9456,7 +9570,7 @@
9456
9570
  window.addEventListener("message", messageHandler, false);
9457
9571
 
9458
9572
  if (isMobile(userAgent)) {
9459
- $$invalidate(10, mobileView = true);
9573
+ $$invalidate(14, mobileView = true);
9460
9574
  }
9461
9575
 
9462
9576
  return () => {
@@ -9464,7 +9578,19 @@
9464
9578
  };
9465
9579
  }));
9466
9580
 
9467
- const writable_props = ["session", "userid", "endpoint", "cmsendpoint", "cmsenv", "lang", "identity"];
9581
+ const writable_props = [
9582
+ "session",
9583
+ "userid",
9584
+ "endpoint",
9585
+ "cmsendpoint",
9586
+ "cmsenv",
9587
+ "lang",
9588
+ "identity",
9589
+ "bannermatrix",
9590
+ "operatorid",
9591
+ "pagetag",
9592
+ "positiontag"
9593
+ ];
9468
9594
 
9469
9595
  Object.keys($$props).forEach(key => {
9470
9596
  if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console_1.warn(`<undefined> was created with unknown prop '${key}'`);
@@ -9480,8 +9606,8 @@
9480
9606
 
9481
9607
  function select_change_handler() {
9482
9608
  selectedLanguage = select_value(this);
9483
- $$invalidate(7, selectedLanguage);
9484
- $$invalidate(13, languagesArray);
9609
+ $$invalidate(11, selectedLanguage);
9610
+ $$invalidate(17, languagesArray);
9485
9611
  }
9486
9612
 
9487
9613
  const change_handler = () => menuAction("language");
@@ -9495,8 +9621,8 @@
9495
9621
 
9496
9622
  function select_change_handler_1() {
9497
9623
  selectedLanguage = select_value(this);
9498
- $$invalidate(7, selectedLanguage);
9499
- $$invalidate(13, languagesArray);
9624
+ $$invalidate(11, selectedLanguage);
9625
+ $$invalidate(17, languagesArray);
9500
9626
  }
9501
9627
 
9502
9628
  const change_handler_1 = () => menuAction("language");
@@ -9505,10 +9631,14 @@
9505
9631
  if ("session" in $$props) $$invalidate(0, session = $$props.session);
9506
9632
  if ("userid" in $$props) $$invalidate(1, userid = $$props.userid);
9507
9633
  if ("endpoint" in $$props) $$invalidate(2, endpoint = $$props.endpoint);
9508
- if ("cmsendpoint" in $$props) $$invalidate(17, cmsendpoint = $$props.cmsendpoint);
9509
- if ("cmsenv" in $$props) $$invalidate(18, cmsenv = $$props.cmsenv);
9510
- if ("lang" in $$props) $$invalidate(4, lang = $$props.lang);
9634
+ if ("cmsendpoint" in $$props) $$invalidate(21, cmsendpoint = $$props.cmsendpoint);
9635
+ if ("cmsenv" in $$props) $$invalidate(22, cmsenv = $$props.cmsenv);
9636
+ if ("lang" in $$props) $$invalidate(8, lang = $$props.lang);
9511
9637
  if ("identity" in $$props) $$invalidate(3, identity = $$props.identity);
9638
+ if ("bannermatrix" in $$props) $$invalidate(4, bannermatrix = $$props.bannermatrix);
9639
+ if ("operatorid" in $$props) $$invalidate(5, operatorid = $$props.operatorid);
9640
+ if ("pagetag" in $$props) $$invalidate(6, pagetag = $$props.pagetag);
9641
+ if ("positiontag" in $$props) $$invalidate(7, positiontag = $$props.positiontag);
9512
9642
  };
9513
9643
 
9514
9644
  $$self.$capture_state = () => ({
@@ -9524,6 +9654,10 @@
9524
9654
  cmsenv,
9525
9655
  lang,
9526
9656
  identity,
9657
+ bannermatrix,
9658
+ operatorid,
9659
+ pagetag,
9660
+ positiontag,
9527
9661
  genericIcon,
9528
9662
  mainMenuArray,
9529
9663
  secondaryMenuArray,
@@ -9558,25 +9692,29 @@
9558
9692
  if ("session" in $$props) $$invalidate(0, session = $$props.session);
9559
9693
  if ("userid" in $$props) $$invalidate(1, userid = $$props.userid);
9560
9694
  if ("endpoint" in $$props) $$invalidate(2, endpoint = $$props.endpoint);
9561
- if ("cmsendpoint" in $$props) $$invalidate(17, cmsendpoint = $$props.cmsendpoint);
9562
- if ("cmsenv" in $$props) $$invalidate(18, cmsenv = $$props.cmsenv);
9563
- if ("lang" in $$props) $$invalidate(4, lang = $$props.lang);
9695
+ if ("cmsendpoint" in $$props) $$invalidate(21, cmsendpoint = $$props.cmsendpoint);
9696
+ if ("cmsenv" in $$props) $$invalidate(22, cmsenv = $$props.cmsenv);
9697
+ if ("lang" in $$props) $$invalidate(8, lang = $$props.lang);
9564
9698
  if ("identity" in $$props) $$invalidate(3, identity = $$props.identity);
9565
- if ("mainMenuArray" in $$props) $$invalidate(5, mainMenuArray = $$props.mainMenuArray);
9566
- if ("secondaryMenuArray" in $$props) $$invalidate(6, secondaryMenuArray = $$props.secondaryMenuArray);
9567
- if ("languagesArray" in $$props) $$invalidate(13, languagesArray = $$props.languagesArray);
9568
- if ("selectedLanguage" in $$props) $$invalidate(7, selectedLanguage = $$props.selectedLanguage);
9569
- if ("hamburgerURL" in $$props) $$invalidate(8, hamburgerURL = $$props.hamburgerURL);
9699
+ if ("bannermatrix" in $$props) $$invalidate(4, bannermatrix = $$props.bannermatrix);
9700
+ if ("operatorid" in $$props) $$invalidate(5, operatorid = $$props.operatorid);
9701
+ if ("pagetag" in $$props) $$invalidate(6, pagetag = $$props.pagetag);
9702
+ if ("positiontag" in $$props) $$invalidate(7, positiontag = $$props.positiontag);
9703
+ if ("mainMenuArray" in $$props) $$invalidate(9, mainMenuArray = $$props.mainMenuArray);
9704
+ if ("secondaryMenuArray" in $$props) $$invalidate(10, secondaryMenuArray = $$props.secondaryMenuArray);
9705
+ if ("languagesArray" in $$props) $$invalidate(17, languagesArray = $$props.languagesArray);
9706
+ if ("selectedLanguage" in $$props) $$invalidate(11, selectedLanguage = $$props.selectedLanguage);
9707
+ if ("hamburgerURL" in $$props) $$invalidate(12, hamburgerURL = $$props.hamburgerURL);
9570
9708
  if ("headerURL" in $$props) headerURL = $$props.headerURL;
9571
- if ("isLoading" in $$props) $$invalidate(9, isLoading = $$props.isLoading);
9572
- if ("mobileView" in $$props) $$invalidate(10, mobileView = $$props.mobileView);
9709
+ if ("isLoading" in $$props) $$invalidate(13, isLoading = $$props.isLoading);
9710
+ if ("mobileView" in $$props) $$invalidate(14, mobileView = $$props.mobileView);
9573
9711
  if ("userAgent" in $$props) userAgent = $$props.userAgent;
9574
- if ("isLoggedIn" in $$props) $$invalidate(11, isLoggedIn = $$props.isLoggedIn);
9712
+ if ("isLoggedIn" in $$props) $$invalidate(15, isLoggedIn = $$props.isLoggedIn);
9575
9713
  if ("playerID" in $$props) playerID = $$props.playerID;
9576
9714
  if ("sessionID" in $$props) sessionID = $$props.sessionID;
9577
9715
  if ("loginActive" in $$props) loginActive = $$props.loginActive;
9578
- if ("language" in $$props) $$invalidate(14, language = $$props.language);
9579
- if ("hamburgerMenuActive" in $$props) $$invalidate(12, hamburgerMenuActive = $$props.hamburgerMenuActive);
9716
+ if ("language" in $$props) $$invalidate(18, language = $$props.language);
9717
+ if ("hamburgerMenuActive" in $$props) $$invalidate(16, hamburgerMenuActive = $$props.hamburgerMenuActive);
9580
9718
  if ("totalBalance" in $$props) totalBalance = $$props.totalBalance;
9581
9719
  if ("cashBalance" in $$props) cashBalance = $$props.cashBalance;
9582
9720
  if ("bonusBalance" in $$props) bonusBalance = $$props.bonusBalance;
@@ -9592,7 +9730,7 @@
9592
9730
  session && setSession();
9593
9731
  }
9594
9732
 
9595
- if ($$self.$$.dirty[0] & /*cmsendpoint, lang*/ 131088) {
9733
+ if ($$self.$$.dirty[0] & /*cmsendpoint, lang*/ 2097408) {
9596
9734
  cmsendpoint && lang && initialLoad();
9597
9735
  }
9598
9736
  };
@@ -9602,6 +9740,10 @@
9602
9740
  userid,
9603
9741
  endpoint,
9604
9742
  identity,
9743
+ bannermatrix,
9744
+ operatorid,
9745
+ pagetag,
9746
+ positiontag,
9605
9747
  lang,
9606
9748
  mainMenuArray,
9607
9749
  secondaryMenuArray,
@@ -9641,7 +9783,7 @@
9641
9783
  class CasinoHeaderController extends SvelteElement {
9642
9784
  constructor(options) {
9643
9785
  super();
9644
- this.shadowRoot.innerHTML = `<style>.HeaderSlider{width:100%;height:400px}.HeaderWrapper{background:#050518}.HeaderContainer{max-width:1280px;display:flex;flex-direction:row;align-items:center;height:84px;margin:0 auto}.HeaderBranding{width:150px;cursor:pointer}.HeaderMainNav{text-align:left}.HeaderTopActions{text-align:right;margin-left:auto}.HeaderSecondaryNav{flex-direction:row;width:100%;background:#050518;border-top:1px solid #58586B}.HeaderItemsMenu{display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:#FFF;font-size:16px;align-items:center}.HeaderItemsMenu .Item{padding:0 15px;display:flex;align-items:center}.HeaderItemsMenu.PrimaryMenu{gap:10px}.ItemLogin{border-radius:5px;background:transparent;font-size:14px;border:solid 1px #FFF;height:44px;text-align:center;line-height:44px;margin-right:20px;cursor:pointer}.ItemRegister,.ItemDeposit{border-radius:5px;background:#E32D2C;font-size:14px;height:44px;text-align:center;line-height:44px;cursor:pointer}.ItemDeposit{background:#D0046C}.ItemLanguage{height:44px;width:68px;text-align:center;line-height:44px;background:transparent;color:#fff;border:none;cursor:pointer}.ItemLanguage option{color:#0a0c19}.ItemAccount{cursor:pointer}.ItemAccount svg{width:20px;height:20px}.HeaderItemsMenuSecondary{display:flex;flex-direction:row;align-content:flex-start;align-items:center;height:60px;list-style:none;text-transform:uppercase;color:#FFF;font-size:14px;max-width:1280px;margin:0 auto;overflow-y:hidden;overflow-x:auto;padding:0}.HeaderItemsMenuSecondary .ItemSecondary{padding:0 15px;cursor:pointer;transition-duration:0.15s}.HeaderItemsMenuSecondary .ItemSecondary a{color:#fff;text-decoration:none}.HeaderItemsMenuSecondary .ItemSecondary:hover a{color:#D0046C}.HeaderSliderMobile{background-position:bottom}.HeaderMobileWrapper .HeaderContainer{height:55px;padding:0 15px;gap:10px}.HeaderMobileWrapper .HeaderBranding{width:60px}.HeaderMobileWrapper .HeaderBranding img{width:100%}.HeaderMobileWrapper .HeaderItemsMenu .Item{display:block;width:unset}.HeaderMobileWrapper .HeaderItemsMenu .ItemAccount{padding:0}.HeaderMobileWrapper .ItemRegister,.HeaderMobileWrapper .ItemDeposit,.HeaderMobileWrapper .ItemLogin{height:30px;line-height:30px;font-size:12px}.HeaderMobileWrapper .ItemLogin{margin-right:10px}</style>`;
9786
+ this.shadowRoot.innerHTML = `<style>.HeaderWrapper{background:#050518}.HeaderContainer{max-width:1280px;display:flex;flex-direction:row;align-items:center;height:84px;margin:0 auto}.HeaderBranding{width:150px;cursor:pointer}.HeaderMainNav{text-align:left}.HeaderTopActions{text-align:right;margin-left:auto}.HeaderSecondaryNav{flex-direction:row;width:100%;background:#050518;border-top:1px solid #58586B}.HeaderItemsMenu{display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:#FFF;font-size:16px;align-items:center}.HeaderItemsMenu .Item{padding:0 15px;display:flex;align-items:center}.HeaderItemsMenu.PrimaryMenu{gap:10px}.ItemLogin{border-radius:5px;background:transparent;font-size:14px;border:solid 1px #FFF;height:44px;text-align:center;line-height:44px;margin-right:20px;cursor:pointer}.ItemRegister,.ItemDeposit{border-radius:5px;background:#E32D2C;font-size:14px;height:44px;text-align:center;line-height:44px;cursor:pointer}.ItemDeposit{background:#D0046C}.ItemLanguage{height:44px;width:68px;text-align:center;line-height:44px;background:transparent;color:#fff;border:none;cursor:pointer}.ItemLanguage option{color:#0a0c19}.ItemAccount{cursor:pointer}.ItemAccount svg{width:20px;height:20px}.HeaderItemsMenuSecondary{display:flex;flex-direction:row;align-content:flex-start;align-items:center;height:60px;list-style:none;text-transform:uppercase;color:#FFF;font-size:14px;max-width:1280px;margin:0 auto;overflow-y:hidden;overflow-x:auto;padding:0}.HeaderItemsMenuSecondary .ItemSecondary{padding:0 15px;cursor:pointer;transition-duration:0.15s}.HeaderItemsMenuSecondary .ItemSecondary a{color:#fff;text-decoration:none}.HeaderItemsMenuSecondary .ItemSecondary:hover a{color:#D0046C}.HeaderMobileWrapper .HeaderContainer{height:55px;padding:0 15px;gap:10px}.HeaderMobileWrapper .HeaderBranding{width:60px}.HeaderMobileWrapper .HeaderBranding img{width:100%}.HeaderMobileWrapper .HeaderItemsMenu .Item{display:block;width:unset}.HeaderMobileWrapper .HeaderItemsMenu .ItemAccount{padding:0}.HeaderMobileWrapper .ItemRegister,.HeaderMobileWrapper .ItemDeposit,.HeaderMobileWrapper .ItemLogin{height:30px;line-height:30px;font-size:12px}.HeaderMobileWrapper .ItemLogin{margin-right:10px}</style>`;
9645
9787
 
9646
9788
  init(
9647
9789
  this,
@@ -9657,12 +9799,16 @@
9657
9799
  session: 0,
9658
9800
  userid: 1,
9659
9801
  endpoint: 2,
9660
- cmsendpoint: 17,
9661
- cmsenv: 18,
9662
- lang: 4,
9663
- identity: 3
9802
+ cmsendpoint: 21,
9803
+ cmsenv: 22,
9804
+ lang: 8,
9805
+ identity: 3,
9806
+ bannermatrix: 4,
9807
+ operatorid: 5,
9808
+ pagetag: 6,
9809
+ positiontag: 7
9664
9810
  },
9665
- [-1, -1]
9811
+ [-1, -1, -1]
9666
9812
  );
9667
9813
 
9668
9814
  if (options) {
@@ -9678,7 +9824,19 @@
9678
9824
  }
9679
9825
 
9680
9826
  static get observedAttributes() {
9681
- return ["session", "userid", "endpoint", "cmsendpoint", "cmsenv", "lang", "identity"];
9827
+ return [
9828
+ "session",
9829
+ "userid",
9830
+ "endpoint",
9831
+ "cmsendpoint",
9832
+ "cmsenv",
9833
+ "lang",
9834
+ "identity",
9835
+ "bannermatrix",
9836
+ "operatorid",
9837
+ "pagetag",
9838
+ "positiontag"
9839
+ ];
9682
9840
  }
9683
9841
 
9684
9842
  get session() {
@@ -9709,7 +9867,7 @@
9709
9867
  }
9710
9868
 
9711
9869
  get cmsendpoint() {
9712
- return this.$$.ctx[17];
9870
+ return this.$$.ctx[21];
9713
9871
  }
9714
9872
 
9715
9873
  set cmsendpoint(cmsendpoint) {
@@ -9718,7 +9876,7 @@
9718
9876
  }
9719
9877
 
9720
9878
  get cmsenv() {
9721
- return this.$$.ctx[18];
9879
+ return this.$$.ctx[22];
9722
9880
  }
9723
9881
 
9724
9882
  set cmsenv(cmsenv) {
@@ -9727,7 +9885,7 @@
9727
9885
  }
9728
9886
 
9729
9887
  get lang() {
9730
- return this.$$.ctx[4];
9888
+ return this.$$.ctx[8];
9731
9889
  }
9732
9890
 
9733
9891
  set lang(lang) {
@@ -9743,6 +9901,42 @@
9743
9901
  this.$set({ identity });
9744
9902
  flush();
9745
9903
  }
9904
+
9905
+ get bannermatrix() {
9906
+ return this.$$.ctx[4];
9907
+ }
9908
+
9909
+ set bannermatrix(bannermatrix) {
9910
+ this.$set({ bannermatrix });
9911
+ flush();
9912
+ }
9913
+
9914
+ get operatorid() {
9915
+ return this.$$.ctx[5];
9916
+ }
9917
+
9918
+ set operatorid(operatorid) {
9919
+ this.$set({ operatorid });
9920
+ flush();
9921
+ }
9922
+
9923
+ get pagetag() {
9924
+ return this.$$.ctx[6];
9925
+ }
9926
+
9927
+ set pagetag(pagetag) {
9928
+ this.$set({ pagetag });
9929
+ flush();
9930
+ }
9931
+
9932
+ get positiontag() {
9933
+ return this.$$.ctx[7];
9934
+ }
9935
+
9936
+ set positiontag(positiontag) {
9937
+ this.$set({ positiontag });
9938
+ flush();
9939
+ }
9746
9940
  }
9747
9941
 
9748
9942
  !customElements.get('casino-header-controller') && customElements.define('casino-header-controller', CasinoHeaderController);