@everymatrix/casino-integrated-game-page 0.0.290 → 0.0.291

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.
@@ -10399,12 +10399,12 @@
10399
10399
  const { Object: Object_1, console: console_1 } = globals;
10400
10400
  const file = "src/CasinoIntegratedGamePage.svelte";
10401
10401
 
10402
- // (320:2) {:else}
10402
+ // (327:2) {:else}
10403
10403
  function create_else_block(ctx) {
10404
10404
  let div;
10405
10405
 
10406
10406
  function select_block_type_1(ctx, dirty) {
10407
- if (/*isLoggedIn*/ ctx[4]) return create_if_block_2;
10407
+ if (/*isLoggedIn*/ ctx[5]) return create_if_block_2;
10408
10408
  if (/*funMode*/ ctx[10]) return create_if_block_6;
10409
10409
  }
10410
10410
 
@@ -10417,7 +10417,7 @@
10417
10417
  if (if_block) if_block.c();
10418
10418
  attr_dev(div, "class", "CasinoIntegratedGamePage");
10419
10419
  attr_dev(div, "part", "CasinoIntegratedGamePage");
10420
- add_location(div, file, 320, 4, 11630);
10420
+ add_location(div, file, 327, 4, 11828);
10421
10421
  },
10422
10422
  m: function mount(target, anchor) {
10423
10423
  insert_dev(target, div, anchor);
@@ -10452,14 +10452,14 @@
10452
10452
  block,
10453
10453
  id: create_else_block.name,
10454
10454
  type: "else",
10455
- source: "(320:2) {:else}",
10455
+ source: "(327:2) {:else}",
10456
10456
  ctx
10457
10457
  });
10458
10458
 
10459
10459
  return block;
10460
10460
  }
10461
10461
 
10462
- // (318:2) {#if hasErrors}
10462
+ // (325:2) {#if hasErrors}
10463
10463
  function create_if_block_1(ctx) {
10464
10464
  let p;
10465
10465
 
@@ -10469,7 +10469,7 @@
10469
10469
  p.textContent = "500 Error - Internal Server Error.";
10470
10470
  attr_dev(p, "class", "SearchLoading");
10471
10471
  attr_dev(p, "part", "SearchLoading");
10472
- add_location(p, file, 318, 4, 11531);
10472
+ add_location(p, file, 325, 4, 11729);
10473
10473
  },
10474
10474
  m: function mount(target, anchor) {
10475
10475
  insert_dev(target, p, anchor);
@@ -10484,14 +10484,14 @@
10484
10484
  block,
10485
10485
  id: create_if_block_1.name,
10486
10486
  type: "if",
10487
- source: "(318:2) {#if hasErrors}",
10487
+ source: "(325:2) {#if hasErrors}",
10488
10488
  ctx
10489
10489
  });
10490
10490
 
10491
10491
  return block;
10492
10492
  }
10493
10493
 
10494
- // (315:0) {#if isLoading}
10494
+ // (322:0) {#if isLoading}
10495
10495
  function create_if_block(ctx) {
10496
10496
  let p;
10497
10497
 
@@ -10501,7 +10501,7 @@
10501
10501
  p.textContent = "Loading, please wait ...";
10502
10502
  attr_dev(p, "class", "SearchLoading");
10503
10503
  attr_dev(p, "part", "SearchLoading");
10504
- add_location(p, file, 315, 2, 11426);
10504
+ add_location(p, file, 322, 2, 11624);
10505
10505
  },
10506
10506
  m: function mount(target, anchor) {
10507
10507
  insert_dev(target, p, anchor);
@@ -10516,14 +10516,14 @@
10516
10516
  block,
10517
10517
  id: create_if_block.name,
10518
10518
  type: "if",
10519
- source: "(315:0) {#if isLoading}",
10519
+ source: "(322:0) {#if isLoading}",
10520
10520
  ctx
10521
10521
  });
10522
10522
 
10523
10523
  return block;
10524
10524
  }
10525
10525
 
10526
- // (359:8) {#if funMode}
10526
+ // (366:8) {#if funMode}
10527
10527
  function create_if_block_6(ctx) {
10528
10528
  let div1;
10529
10529
  let button0;
@@ -10579,7 +10579,7 @@
10579
10579
  t1 = space();
10580
10580
  p = element("p");
10581
10581
  span = element("span");
10582
- t2 = text(/*time*/ ctx[2]);
10582
+ t2 = text(/*time*/ ctx[3]);
10583
10583
  t3 = space();
10584
10584
  div0 = element("div");
10585
10585
  t4 = space();
@@ -10598,44 +10598,44 @@
10598
10598
  if_block0.c();
10599
10599
  t10 = space();
10600
10600
  if (if_block1) if_block1.c();
10601
- add_location(style, file, 361, 80, 15925);
10602
- add_location(defs, file, 361, 74, 15919);
10601
+ add_location(style, file, 368, 80, 16123);
10602
+ add_location(defs, file, 368, 74, 16117);
10603
10603
  attr_dev(path, "class", "a");
10604
10604
  attr_dev(path, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z");
10605
10605
  attr_dev(path, "transform", "translate(24 24) rotate(180)");
10606
- add_location(path, file, 361, 148, 15993);
10606
+ add_location(path, file, 368, 148, 16191);
10607
10607
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
10608
10608
  attr_dev(svg, "viewBox", "0 0 24 24");
10609
- add_location(svg, file, 361, 14, 15859);
10609
+ add_location(svg, file, 368, 14, 16057);
10610
10610
  attr_dev(button0, "class", "backButton");
10611
10611
  attr_dev(button0, "part", "backButton");
10612
- add_location(button0, file, 360, 12, 15767);
10613
- add_location(span, file, 363, 66, 16217);
10612
+ add_location(button0, file, 367, 12, 15965);
10613
+ add_location(span, file, 370, 66, 16415);
10614
10614
  attr_dev(p, "class", "Time");
10615
10615
  attr_dev(p, "part", "Time");
10616
- add_location(p, file, 363, 12, 16163);
10617
- add_location(div0, file, 364, 12, 16253);
10616
+ add_location(p, file, 370, 12, 16361);
10617
+ add_location(div0, file, 371, 12, 16451);
10618
10618
  attr_dev(div1, "class", "GamePageIntegratedTopSection");
10619
10619
  attr_dev(div1, "part", "GamePageIntegratedTopSection");
10620
- add_location(div1, file, 359, 10, 15676);
10620
+ add_location(div1, file, 366, 10, 15874);
10621
10621
  attr_dev(iframe_1, "title", "Games");
10622
10622
  attr_dev(iframe_1, "class", "GamesContainer");
10623
10623
  attr_dev(iframe_1, "part", "GamesContainer");
10624
10624
  attr_dev(iframe_1, "aria-hidden", "false");
10625
10625
  if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[9].launchUrl)) attr_dev(iframe_1, "src", iframe_1_src_value);
10626
- add_location(iframe_1, file, 368, 14, 16942);
10626
+ add_location(iframe_1, file, 375, 14, 17140);
10627
10627
  attr_dev(button1, "class", "LoginButton");
10628
10628
  attr_dev(button1, "part", "LoginButton");
10629
- add_location(button1, file, 371, 18, 17294);
10629
+ add_location(button1, file, 378, 18, 17492);
10630
10630
  attr_dev(button2, "class", "RegisterButton");
10631
10631
  attr_dev(button2, "part", "RegisterButton");
10632
- add_location(button2, file, 372, 18, 17423);
10632
+ add_location(button2, file, 379, 18, 17621);
10633
10633
  attr_dev(div2, "class", "ButtonsContainer ButtonsContainerFunMode");
10634
10634
  attr_dev(div2, "part", "ButtonsContainer ButtonsContainerFunMode");
10635
- add_location(div2, file, 370, 16, 17173);
10635
+ add_location(div2, file, 377, 16, 17371);
10636
10636
  attr_dev(div3, "class", "BottomGame");
10637
10637
  attr_dev(div3, "part", "BottomGame");
10638
- add_location(div3, file, 369, 14, 17085);
10638
+ add_location(div3, file, 376, 14, 17283);
10639
10639
  attr_dev(div4, "id", "IframeGame");
10640
10640
  attr_dev(div4, "part", "IframeGame");
10641
10641
 
@@ -10659,11 +10659,11 @@
10659
10659
  ? Math.floor(/*game*/ ctx[9].height) + 100 + "px"
10660
10660
  : "720px");
10661
10661
 
10662
- add_location(div4, file, 367, 12, 16514);
10662
+ add_location(div4, file, 374, 12, 16712);
10663
10663
  attr_dev(div5, "id", "IframeContainer");
10664
10664
  attr_dev(div5, "part", "IframeContainer");
10665
10665
  toggle_class(div5, "FullsScreenLayout", /*isFullscreen*/ ctx[16]);
10666
- add_location(div5, file, 366, 10, 16382);
10666
+ add_location(div5, file, 373, 10, 16580);
10667
10667
  },
10668
10668
  m: function mount(target, anchor) {
10669
10669
  insert_dev(target, div1, anchor);
@@ -10712,7 +10712,7 @@
10712
10712
  }
10713
10713
  },
10714
10714
  p: function update(ctx, dirty) {
10715
- if (dirty[0] & /*time*/ 4) set_data_dev(t2, /*time*/ ctx[2]);
10715
+ if (dirty[0] & /*time*/ 8) set_data_dev(t2, /*time*/ ctx[3]);
10716
10716
 
10717
10717
  if (dirty[0] & /*game*/ 512 && iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[9].launchUrl)) {
10718
10718
  attr_dev(iframe_1, "src", iframe_1_src_value);
@@ -10796,14 +10796,14 @@
10796
10796
  block,
10797
10797
  id: create_if_block_6.name,
10798
10798
  type: "if",
10799
- source: "(359:8) {#if funMode}",
10799
+ source: "(366:8) {#if funMode}",
10800
10800
  ctx
10801
10801
  });
10802
10802
 
10803
10803
  return block;
10804
10804
  }
10805
10805
 
10806
- // (322:6) {#if isLoggedIn}
10806
+ // (329:6) {#if isLoggedIn}
10807
10807
  function create_if_block_2(ctx) {
10808
10808
  let div0;
10809
10809
  let button0;
@@ -10856,7 +10856,7 @@
10856
10856
  t1 = space();
10857
10857
  p = element("p");
10858
10858
  span = element("span");
10859
- t2 = text(/*time*/ ctx[2]);
10859
+ t2 = text(/*time*/ ctx[3]);
10860
10860
  t3 = space();
10861
10861
  button1 = element("button");
10862
10862
  t4 = text(t4_value);
@@ -10871,28 +10871,28 @@
10871
10871
  if_block1.c();
10872
10872
  t8 = space();
10873
10873
  if (if_block2) if_block2.c();
10874
- add_location(style, file, 324, 78, 12012);
10875
- add_location(defs, file, 324, 72, 12006);
10874
+ add_location(style, file, 331, 78, 12210);
10875
+ add_location(defs, file, 331, 72, 12204);
10876
10876
  attr_dev(path, "class", "a");
10877
10877
  attr_dev(path, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z");
10878
10878
  attr_dev(path, "transform", "translate(24 24) rotate(180)");
10879
- add_location(path, file, 324, 143, 12077);
10879
+ add_location(path, file, 331, 143, 12275);
10880
10880
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
10881
10881
  attr_dev(svg, "viewBox", "0 0 24 24");
10882
- add_location(svg, file, 324, 12, 11946);
10882
+ add_location(svg, file, 331, 12, 12144);
10883
10883
  attr_dev(button0, "class", "backButton");
10884
10884
  attr_dev(button0, "part", "backButton");
10885
- add_location(button0, file, 323, 10, 11856);
10886
- add_location(span, file, 326, 64, 12297);
10885
+ add_location(button0, file, 330, 10, 12054);
10886
+ add_location(span, file, 333, 64, 12495);
10887
10887
  attr_dev(p, "class", "Time");
10888
10888
  attr_dev(p, "part", "Time");
10889
- add_location(p, file, 326, 10, 12243);
10889
+ add_location(p, file, 333, 10, 12441);
10890
10890
  attr_dev(button1, "class", "DepositButton");
10891
10891
  attr_dev(button1, "part", "DepositButton");
10892
- add_location(button1, file, 327, 10, 12331);
10892
+ add_location(button1, file, 334, 10, 12529);
10893
10893
  attr_dev(div0, "class", "GamePageIntegratedTopSection");
10894
10894
  attr_dev(div0, "part", "GamePageIntegratedTopSection");
10895
- add_location(div0, file, 322, 8, 11767);
10895
+ add_location(div0, file, 329, 8, 11965);
10896
10896
  attr_dev(iframe_1, "title", "Games");
10897
10897
  attr_dev(iframe_1, "id", "IframeGame");
10898
10898
  attr_dev(iframe_1, "class", "GamesContainer");
@@ -10901,10 +10901,10 @@
10901
10901
  if (iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[9].launchUrl)) attr_dev(iframe_1, "src", iframe_1_src_value);
10902
10902
  attr_dev(iframe_1, "width", iframe_1_width_value = /*gameContainerWidth*/ ctx[13] + "px");
10903
10903
  attr_dev(iframe_1, "height", iframe_1_height_value = /*gameContainerHeight*/ ctx[14] + "px");
10904
- add_location(iframe_1, file, 331, 12, 12992);
10904
+ add_location(iframe_1, file, 338, 12, 13190);
10905
10905
  attr_dev(div1, "class", "BottomGame BottomGameLoggedin");
10906
10906
  attr_dev(div1, "part", "BottomGame BottomGameLoggedin");
10907
- add_location(div1, file, 332, 12, 13220);
10907
+ add_location(div1, file, 339, 12, 13418);
10908
10908
  attr_dev(div2, "id", "IframeGame");
10909
10909
  attr_dev(div2, "part", "IframeGame");
10910
10910
 
@@ -10928,11 +10928,11 @@
10928
10928
  ? Math.floor(/*game*/ ctx[9].height) + 100 + "px"
10929
10929
  : "720px");
10930
10930
 
10931
- add_location(div2, file, 330, 10, 12602);
10931
+ add_location(div2, file, 337, 10, 12800);
10932
10932
  attr_dev(div3, "id", "IframeContainer");
10933
10933
  attr_dev(div3, "part", "IframeContainer");
10934
10934
  toggle_class(div3, "FullsScreenLayout", /*isFullscreen*/ ctx[16]);
10935
- add_location(div3, file, 329, 8, 12472);
10935
+ add_location(div3, file, 336, 8, 12670);
10936
10936
  },
10937
10937
  m: function mount(target, anchor) {
10938
10938
  insert_dev(target, div0, anchor);
@@ -10976,7 +10976,7 @@
10976
10976
  }
10977
10977
  },
10978
10978
  p: function update(ctx, dirty) {
10979
- if (dirty[0] & /*time*/ 4) set_data_dev(t2, /*time*/ ctx[2]);
10979
+ if (dirty[0] & /*time*/ 8) set_data_dev(t2, /*time*/ ctx[3]);
10980
10980
  if (dirty[0] & /*$_*/ 4194304 && t4_value !== (t4_value = /*$_*/ ctx[22]("gamePage.deposit") + "")) set_data_dev(t4, t4_value);
10981
10981
 
10982
10982
  if (dirty[0] & /*game*/ 512 && iframe_1.src !== (iframe_1_src_value = /*game*/ ctx[9].launchUrl)) {
@@ -11080,14 +11080,14 @@
11080
11080
  block,
11081
11081
  id: create_if_block_2.name,
11082
11082
  type: "if",
11083
- source: "(322:6) {#if isLoggedIn}",
11083
+ source: "(329:6) {#if isLoggedIn}",
11084
11084
  ctx
11085
11085
  });
11086
11086
 
11087
11087
  return block;
11088
11088
  }
11089
11089
 
11090
- // (379:16) {:else}
11090
+ // (386:16) {:else}
11091
11091
  function create_else_block_2(ctx) {
11092
11092
  let button;
11093
11093
  let svg;
@@ -11101,15 +11101,15 @@
11101
11101
  svg = svg_element("svg");
11102
11102
  path = svg_element("path");
11103
11103
  attr_dev(path, "d", "M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z");
11104
- add_location(path, file, 380, 103, 18485);
11104
+ add_location(path, file, 387, 103, 18683);
11105
11105
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11106
11106
  attr_dev(svg, "width", "24");
11107
11107
  attr_dev(svg, "height", "24");
11108
11108
  attr_dev(svg, "viewBox", "0 0 24 24");
11109
- add_location(svg, file, 380, 20, 18402);
11109
+ add_location(svg, file, 387, 20, 18600);
11110
11110
  attr_dev(button, "class", "FullscreenButton");
11111
11111
  attr_dev(button, "part", "FullscreenButton");
11112
- add_location(button, file, 379, 18, 18288);
11112
+ add_location(button, file, 386, 18, 18486);
11113
11113
  },
11114
11114
  m: function mount(target, anchor) {
11115
11115
  insert_dev(target, button, anchor);
@@ -11133,14 +11133,14 @@
11133
11133
  block,
11134
11134
  id: create_else_block_2.name,
11135
11135
  type: "else",
11136
- source: "(379:16) {:else}",
11136
+ source: "(386:16) {:else}",
11137
11137
  ctx
11138
11138
  });
11139
11139
 
11140
11140
  return block;
11141
11141
  }
11142
11142
 
11143
- // (375:16) {#if isFullscreen}
11143
+ // (382:16) {#if isFullscreen}
11144
11144
  function create_if_block_8(ctx) {
11145
11145
  let button;
11146
11146
  let svg;
@@ -11161,23 +11161,23 @@
11161
11161
  polygon3 = svg_element("polygon");
11162
11162
  set_style(polygon0, "fill", "#fff");
11163
11163
  attr_dev(polygon0, "points", "24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t");
11164
- add_location(polygon0, file, 376, 68, 17783);
11164
+ add_location(polygon0, file, 383, 68, 17981);
11165
11165
  set_style(polygon1, "fill", "#fff");
11166
11166
  attr_dev(polygon1, "points", "0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t");
11167
- add_location(polygon1, file, 376, 176, 17891);
11167
+ add_location(polygon1, file, 383, 176, 18089);
11168
11168
  set_style(polygon2, "fill", "#fff");
11169
11169
  attr_dev(polygon2, "points", "0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t");
11170
- add_location(polygon2, file, 376, 282, 17997);
11170
+ add_location(polygon2, file, 383, 282, 18195);
11171
11171
  set_style(polygon3, "fill", "#fff");
11172
11172
  attr_dev(polygon3, "points", "20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t");
11173
- add_location(polygon3, file, 376, 385, 18100);
11173
+ add_location(polygon3, file, 383, 385, 18298);
11174
11174
  attr_dev(svg, "width", "24");
11175
11175
  attr_dev(svg, "height", "24");
11176
11176
  attr_dev(svg, "viewBox", "0 0 31 31");
11177
- add_location(svg, file, 376, 20, 17735);
11177
+ add_location(svg, file, 383, 20, 17933);
11178
11178
  attr_dev(button, "class", "FullscreenButton");
11179
11179
  attr_dev(button, "part", "FullscreenButton");
11180
- add_location(button, file, 375, 18, 17621);
11180
+ add_location(button, file, 382, 18, 17819);
11181
11181
  },
11182
11182
  m: function mount(target, anchor) {
11183
11183
  insert_dev(target, button, anchor);
@@ -11204,14 +11204,14 @@
11204
11204
  block,
11205
11205
  id: create_if_block_8.name,
11206
11206
  type: "if",
11207
- source: "(375:16) {#if isFullscreen}",
11207
+ source: "(382:16) {#if isFullscreen}",
11208
11208
  ctx
11209
11209
  });
11210
11210
 
11211
11211
  return block;
11212
11212
  }
11213
11213
 
11214
- // (386:12) {#if gamebanneractive == 'true' && !isFullscreen}
11214
+ // (393:12) {#if gamebanneractive == 'true' && !isFullscreen}
11215
11215
  function create_if_block_7(ctx) {
11216
11216
  let div;
11217
11217
  let h3;
@@ -11221,10 +11221,10 @@
11221
11221
  div = element("div");
11222
11222
  h3 = element("h3");
11223
11223
  h3.textContent = "Your banner here";
11224
- add_location(h3, file, 387, 16, 19044);
11224
+ add_location(h3, file, 394, 16, 19242);
11225
11225
  attr_dev(div, "class", "BannerSection");
11226
11226
  attr_dev(div, "part", "BannerSection");
11227
- add_location(div, file, 386, 14, 18979);
11227
+ add_location(div, file, 393, 14, 19177);
11228
11228
  },
11229
11229
  m: function mount(target, anchor) {
11230
11230
  insert_dev(target, div, anchor);
@@ -11239,14 +11239,14 @@
11239
11239
  block,
11240
11240
  id: create_if_block_7.name,
11241
11241
  type: "if",
11242
- source: "(386:12) {#if gamebanneractive == 'true' && !isFullscreen}",
11242
+ source: "(393:12) {#if gamebanneractive == 'true' && !isFullscreen}",
11243
11243
  ctx
11244
11244
  });
11245
11245
 
11246
11246
  return block;
11247
11247
  }
11248
11248
 
11249
- // (334:14) {#if haspanicbutton === "true"}
11249
+ // (341:14) {#if haspanicbutton === "true"}
11250
11250
  function create_if_block_5(ctx) {
11251
11251
  let div;
11252
11252
  let svg;
@@ -11277,7 +11277,7 @@
11277
11277
  attr_dev(path, "stroke-linejoin", "round");
11278
11278
  attr_dev(path, "stroke-width", "2");
11279
11279
  attr_dev(path, "d", "M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z");
11280
- add_location(path, file, 335, 163, 13602);
11280
+ add_location(path, file, 342, 163, 13800);
11281
11281
  attr_dev(svg, "class", "w-1 h-1");
11282
11282
  attr_dev(svg, "part", "w-1 h-1");
11283
11283
  attr_dev(svg, "fill", "none");
@@ -11286,15 +11286,15 @@
11286
11286
  attr_dev(svg, "height", "34px");
11287
11287
  attr_dev(svg, "viewBox", "0 0 24 24");
11288
11288
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11289
- add_location(svg, file, 335, 18, 13457);
11290
- add_location(p, file, 336, 18, 13752);
11289
+ add_location(svg, file, 342, 18, 13655);
11290
+ add_location(p, file, 343, 18, 13950);
11291
11291
  attr_dev(button, "class", "PanicButton");
11292
11292
  attr_dev(button, "part", "PanicButton");
11293
11293
  toggle_class(button, "PanicButtonAnimation", /*panicLoading*/ ctx[8]);
11294
- add_location(button, file, 337, 18, 13800);
11294
+ add_location(button, file, 344, 18, 13998);
11295
11295
  attr_dev(div, "class", "PanicSection");
11296
11296
  attr_dev(div, "part", "PanicSection");
11297
- add_location(div, file, 334, 16, 13392);
11297
+ add_location(div, file, 341, 16, 13590);
11298
11298
  },
11299
11299
  m: function mount(target, anchor) {
11300
11300
  insert_dev(target, div, anchor);
@@ -11333,14 +11333,14 @@
11333
11333
  block,
11334
11334
  id: create_if_block_5.name,
11335
11335
  type: "if",
11336
- source: "(334:14) {#if haspanicbutton === \\\"true\\\"}",
11336
+ source: "(341:14) {#if haspanicbutton === \\\"true\\\"}",
11337
11337
  ctx
11338
11338
  });
11339
11339
 
11340
11340
  return block;
11341
11341
  }
11342
11342
 
11343
- // (345:14) {:else}
11343
+ // (352:14) {:else}
11344
11344
  function create_else_block_1(ctx) {
11345
11345
  let button;
11346
11346
  let svg;
@@ -11354,15 +11354,15 @@
11354
11354
  svg = svg_element("svg");
11355
11355
  path = svg_element("path");
11356
11356
  attr_dev(path, "d", "M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z");
11357
- add_location(path, file, 346, 101, 15009);
11357
+ add_location(path, file, 353, 101, 15207);
11358
11358
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11359
11359
  attr_dev(svg, "width", "24");
11360
11360
  attr_dev(svg, "height", "24");
11361
11361
  attr_dev(svg, "viewBox", "0 0 24 24");
11362
- add_location(svg, file, 346, 18, 14926);
11362
+ add_location(svg, file, 353, 18, 15124);
11363
11363
  attr_dev(button, "class", "FullscreenButton");
11364
11364
  attr_dev(button, "part", "FullscreenButton");
11365
- add_location(button, file, 345, 16, 14814);
11365
+ add_location(button, file, 352, 16, 15012);
11366
11366
  },
11367
11367
  m: function mount(target, anchor) {
11368
11368
  insert_dev(target, button, anchor);
@@ -11386,14 +11386,14 @@
11386
11386
  block,
11387
11387
  id: create_else_block_1.name,
11388
11388
  type: "else",
11389
- source: "(345:14) {:else}",
11389
+ source: "(352:14) {:else}",
11390
11390
  ctx
11391
11391
  });
11392
11392
 
11393
11393
  return block;
11394
11394
  }
11395
11395
 
11396
- // (341:14) {#if isFullscreen}
11396
+ // (348:14) {#if isFullscreen}
11397
11397
  function create_if_block_4(ctx) {
11398
11398
  let button;
11399
11399
  let svg;
@@ -11414,25 +11414,25 @@
11414
11414
  polygon3 = svg_element("polygon");
11415
11415
  set_style(polygon0, "fill", "#fff");
11416
11416
  attr_dev(polygon0, "points", "24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t");
11417
- add_location(polygon0, file, 342, 144, 14315);
11417
+ add_location(polygon0, file, 349, 144, 14513);
11418
11418
  set_style(polygon1, "fill", "#fff");
11419
11419
  attr_dev(polygon1, "points", "0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t");
11420
- add_location(polygon1, file, 342, 252, 14423);
11420
+ add_location(polygon1, file, 349, 252, 14621);
11421
11421
  set_style(polygon2, "fill", "#fff");
11422
11422
  attr_dev(polygon2, "points", "0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t");
11423
- add_location(polygon2, file, 342, 358, 14529);
11423
+ add_location(polygon2, file, 349, 358, 14727);
11424
11424
  set_style(polygon3, "fill", "#fff");
11425
11425
  attr_dev(polygon3, "points", "20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t");
11426
- add_location(polygon3, file, 342, 461, 14632);
11426
+ add_location(polygon3, file, 349, 461, 14830);
11427
11427
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
11428
11428
  attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
11429
11429
  attr_dev(svg, "width", "24");
11430
11430
  attr_dev(svg, "height", "24");
11431
11431
  attr_dev(svg, "viewBox", "0 0 31 31");
11432
- add_location(svg, file, 342, 18, 14189);
11432
+ add_location(svg, file, 349, 18, 14387);
11433
11433
  attr_dev(button, "class", "FullscreenButton");
11434
11434
  attr_dev(button, "part", "FullscreenButton");
11435
- add_location(button, file, 341, 16, 14077);
11435
+ add_location(button, file, 348, 16, 14275);
11436
11436
  },
11437
11437
  m: function mount(target, anchor) {
11438
11438
  insert_dev(target, button, anchor);
@@ -11459,14 +11459,14 @@
11459
11459
  block,
11460
11460
  id: create_if_block_4.name,
11461
11461
  type: "if",
11462
- source: "(341:14) {#if isFullscreen}",
11462
+ source: "(348:14) {#if isFullscreen}",
11463
11463
  ctx
11464
11464
  });
11465
11465
 
11466
11466
  return block;
11467
11467
  }
11468
11468
 
11469
- // (352:10) {#if gamebanneractive == 'true' && !isFullscreen}
11469
+ // (359:10) {#if gamebanneractive == 'true' && !isFullscreen}
11470
11470
  function create_if_block_3(ctx) {
11471
11471
  let div;
11472
11472
  let h3;
@@ -11476,10 +11476,10 @@
11476
11476
  div = element("div");
11477
11477
  h3 = element("h3");
11478
11478
  h3.textContent = "Your banner here";
11479
- add_location(h3, file, 353, 14, 15554);
11479
+ add_location(h3, file, 360, 14, 15752);
11480
11480
  attr_dev(div, "class", "BannerSection");
11481
11481
  attr_dev(div, "part", "BannerSection");
11482
- add_location(div, file, 352, 12, 15491);
11482
+ add_location(div, file, 359, 12, 15689);
11483
11483
  },
11484
11484
  m: function mount(target, anchor) {
11485
11485
  insert_dev(target, div, anchor);
@@ -11494,7 +11494,7 @@
11494
11494
  block,
11495
11495
  id: create_if_block_3.name,
11496
11496
  type: "if",
11497
- source: "(352:10) {#if gamebanneractive == 'true' && !isFullscreen}",
11497
+ source: "(359:10) {#if gamebanneractive == 'true' && !isFullscreen}",
11498
11498
  ctx
11499
11499
  });
11500
11500
 
@@ -11505,8 +11505,8 @@
11505
11505
  let if_block_anchor;
11506
11506
 
11507
11507
  function select_block_type(ctx, dirty) {
11508
- if (/*isLoading*/ ctx[6]) return create_if_block;
11509
- if (/*hasErrors*/ ctx[5]) return create_if_block_1;
11508
+ if (/*isLoading*/ ctx[7]) return create_if_block;
11509
+ if (/*hasErrors*/ ctx[6]) return create_if_block_1;
11510
11510
  return create_else_block;
11511
11511
  }
11512
11512
 
@@ -11628,7 +11628,7 @@
11628
11628
  // @TODO wtf? session check or go home
11629
11629
  // Maybe we should check if the session is valid, somehow?
11630
11630
  if (sessionID && sessionID.length > 0) {
11631
- $$invalidate(4, isLoggedIn = true);
11631
+ $$invalidate(5, isLoggedIn = true);
11632
11632
  url.searchParams.append("_sid", sessionID);
11633
11633
  url.searchParams.append("funMode", "false");
11634
11634
  }
@@ -11656,7 +11656,7 @@
11656
11656
  },
11657
11657
  err => {
11658
11658
  console.error("There was an error", err);
11659
- $$invalidate(5, hasErrors = true);
11659
+ $$invalidate(6, hasErrors = true);
11660
11660
  }
11661
11661
  ).then(() => {
11662
11662
  if (gameFrameContainer) {
@@ -11813,9 +11813,9 @@
11813
11813
 
11814
11814
  const refreshTime = () => {
11815
11815
  if (clockformat) {
11816
- $$invalidate(2, time = moment().format(clockformat));
11816
+ $$invalidate(3, time = moment().format(clockformat));
11817
11817
  } else {
11818
- $$invalidate(2, time = moment().format("LTS"));
11818
+ $$invalidate(3, time = moment().format("LTS"));
11819
11819
  }
11820
11820
  };
11821
11821
 
@@ -11828,7 +11828,7 @@
11828
11828
 
11829
11829
  const setActiveLanguage = () => {
11830
11830
  setLocale(lang);
11831
- $$invalidate(6, isLoading = false);
11831
+ $$invalidate(7, isLoading = false);
11832
11832
  };
11833
11833
 
11834
11834
  const setSession = () => {
@@ -11837,10 +11837,10 @@
11837
11837
  res => {
11838
11838
  sessionID = res.Guid;
11839
11839
  playerID = res.UserID;
11840
- $$invalidate(4, isLoggedIn = true);
11840
+ $$invalidate(5, isLoggedIn = true);
11841
11841
  },
11842
11842
  err => {
11843
- $$invalidate(4, isLoggedIn = false);
11843
+ $$invalidate(5, isLoggedIn = false);
11844
11844
  console.error("err on session", err);
11845
11845
  }
11846
11846
  );
@@ -11906,10 +11906,7 @@
11906
11906
  clearInterval(timerInterval);
11907
11907
  };
11908
11908
 
11909
- onMount(() => {
11910
- window.addEventListener("resize", resizeHandler, false);
11911
- isOnNative = !!jsNativeBridge.isNative(userAgent);
11912
-
11909
+ const addEventsToDisplayedElements = () => {
11913
11910
  panicButton === null || panicButton === void 0
11914
11911
  ? void 0
11915
11912
  : panicButton.addEventListener("mousedown", startInterval, false);
@@ -11926,27 +11923,37 @@
11926
11923
  panicButton === null || panicButton === void 0
11927
11924
  ? void 0
11928
11925
  : panicButton.addEventListener("touchend", endInterval, false);
11926
+ };
11929
11927
 
11930
- return () => {
11931
- window.removeEventListener("resize", resizeHandler);
11932
- clearInterval(timeInterval);
11928
+ const removeEventsToDisplayedElements = () => {
11929
+ $$invalidate(8, panicLoading = false);
11933
11930
 
11934
- panicButton === null || panicButton === void 0
11935
- ? void 0
11936
- : panicButton.removeEventListener("mousedown", startInterval);
11931
+ panicButton === null || panicButton === void 0
11932
+ ? void 0
11933
+ : panicButton.removeEventListener("mousedown", startInterval);
11934
+
11935
+ panicButton === null || panicButton === void 0
11936
+ ? void 0
11937
+ : panicButton.removeEventListener("touchstart", startInterval);
11938
+
11939
+ // on mouseup stop interval count
11940
+ panicButton === null || panicButton === void 0
11941
+ ? void 0
11942
+ : panicButton.removeEventListener("mouseup", endInterval);
11937
11943
 
11938
- panicButton === null || panicButton === void 0
11939
- ? void 0
11940
- : panicButton.removeEventListener("touchstart", startInterval);
11944
+ panicButton === null || panicButton === void 0
11945
+ ? void 0
11946
+ : panicButton.removeEventListener("touchend", endInterval);
11947
+ };
11941
11948
 
11942
- // on mouseup stop interval count
11943
- panicButton === null || panicButton === void 0
11944
- ? void 0
11945
- : panicButton.removeEventListener("mouseup", endInterval);
11949
+ onMount(() => {
11950
+ window.addEventListener("resize", resizeHandler, false);
11951
+ isOnNative = !!jsNativeBridge.isNative(userAgent);
11946
11952
 
11947
- panicButton === null || panicButton === void 0
11948
- ? void 0
11949
- : panicButton.removeEventListener("touchend", endInterval);
11953
+ return () => {
11954
+ removeEventsToDisplayedElements();
11955
+ window.removeEventListener("resize", resizeHandler);
11956
+ clearInterval(timeInterval);
11950
11957
  };
11951
11958
  });
11952
11959
 
@@ -11990,14 +11997,14 @@
11990
11997
  function iframe_1_binding($$value) {
11991
11998
  binding_callbacks[$$value ? "unshift" : "push"](() => {
11992
11999
  iframe = $$value;
11993
- $$invalidate(3, iframe);
12000
+ $$invalidate(4, iframe);
11994
12001
  });
11995
12002
  }
11996
12003
 
11997
12004
  function button_binding($$value) {
11998
12005
  binding_callbacks[$$value ? "unshift" : "push"](() => {
11999
12006
  panicButton = $$value;
12000
- $$invalidate(7, panicButton);
12007
+ $$invalidate(2, panicButton);
12001
12008
  });
12002
12009
  }
12003
12010
 
@@ -12038,7 +12045,7 @@
12038
12045
  function iframe_1_binding_1($$value) {
12039
12046
  binding_callbacks[$$value ? "unshift" : "push"](() => {
12040
12047
  iframe = $$value;
12041
- $$invalidate(3, iframe);
12048
+ $$invalidate(4, iframe);
12042
12049
  });
12043
12050
  }
12044
12051
 
@@ -12179,6 +12186,8 @@
12179
12186
  previousPage,
12180
12187
  startInterval,
12181
12188
  endInterval,
12189
+ addEventsToDisplayedElements,
12190
+ removeEventsToDisplayedElements,
12182
12191
  $_
12183
12192
  });
12184
12193
 
@@ -12202,14 +12211,14 @@
12202
12211
  if ("integratedgameframe" in $$props) $$invalidate(44, integratedgameframe = $$props.integratedgameframe);
12203
12212
  if ("gamebanneractive" in $$props) $$invalidate(1, gamebanneractive = $$props.gamebanneractive);
12204
12213
  if ("gameid" in $$props) $$invalidate(45, gameid = $$props.gameid);
12205
- if ("time" in $$props) $$invalidate(2, time = $$props.time);
12206
- if ("iframe" in $$props) $$invalidate(3, iframe = $$props.iframe);
12207
- if ("isLoggedIn" in $$props) $$invalidate(4, isLoggedIn = $$props.isLoggedIn);
12208
- if ("hasErrors" in $$props) $$invalidate(5, hasErrors = $$props.hasErrors);
12209
- if ("isLoading" in $$props) $$invalidate(6, isLoading = $$props.isLoading);
12214
+ if ("time" in $$props) $$invalidate(3, time = $$props.time);
12215
+ if ("iframe" in $$props) $$invalidate(4, iframe = $$props.iframe);
12216
+ if ("isLoggedIn" in $$props) $$invalidate(5, isLoggedIn = $$props.isLoggedIn);
12217
+ if ("hasErrors" in $$props) $$invalidate(6, hasErrors = $$props.hasErrors);
12218
+ if ("isLoading" in $$props) $$invalidate(7, isLoading = $$props.isLoading);
12210
12219
  if ("playerID" in $$props) playerID = $$props.playerID;
12211
12220
  if ("sessionID" in $$props) sessionID = $$props.sessionID;
12212
- if ("panicButton" in $$props) $$invalidate(7, panicButton = $$props.panicButton);
12221
+ if ("panicButton" in $$props) $$invalidate(2, panicButton = $$props.panicButton);
12213
12222
  if ("panicLoading" in $$props) $$invalidate(8, panicLoading = $$props.panicLoading);
12214
12223
  if ("timer" in $$props) timer = $$props.timer;
12215
12224
  if ("timerInterval" in $$props) timerInterval = $$props.timerInterval;
@@ -12259,17 +12268,21 @@
12259
12268
  if ($$self.$$.dirty[1] & /*clientstylingurl*/ 8) {
12260
12269
  clientstylingurl && setClientStylingURL();
12261
12270
  }
12271
+
12272
+ if ($$self.$$.dirty[0] & /*panicButton*/ 4) {
12273
+ panicButton && addEventsToDisplayedElements();
12274
+ }
12262
12275
  };
12263
12276
 
12264
12277
  return [
12265
12278
  haspanicbutton,
12266
12279
  gamebanneractive,
12280
+ panicButton,
12267
12281
  time,
12268
12282
  iframe,
12269
12283
  isLoggedIn,
12270
12284
  hasErrors,
12271
12285
  isLoading,
12272
- panicButton,
12273
12286
  panicLoading,
12274
12287
  game,
12275
12288
  funMode,
@@ -12369,7 +12382,7 @@
12369
12382
  gamebanneractive: 1,
12370
12383
  gameid: 45
12371
12384
  },
12372
- [-1, -1, -1]
12385
+ [-1, -1, -1, -1]
12373
12386
  );
12374
12387
 
12375
12388
  if (options) {