@everymatrix/player-account-controller 0.0.120 → 0.0.124

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.
@@ -4901,10 +4901,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
4901
4901
  let t5;
4902
4902
  let div1;
4903
4903
  let t6;
4904
- let t7;
4905
- let if_block3_anchor;
4906
- let if_block0 = /*isMobile*/ ctx[6] && create_if_block_5$2(ctx);
4907
- let if_block1 = /*isMobile*/ ctx[6] && create_if_block_4$2(ctx);
4904
+ let if_block0 = /*isMobile*/ ctx[6] && create_if_block_4$2(ctx);
4905
+ let if_block1 = /*isMobile*/ ctx[6] && create_if_block_3$2(ctx);
4908
4906
  let each_value = /*availableMenuItemsArray*/ ctx[2];
4909
4907
  validate_each_argument(each_value);
4910
4908
  let each_blocks = [];
@@ -4913,8 +4911,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
4913
4911
  each_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i));
4914
4912
  }
4915
4913
 
4916
- let if_block2 = !/*isMobile*/ ctx[6] && create_if_block_2$3(ctx);
4917
- let if_block3 = !/*isMobile*/ ctx[6] && create_if_block_1$4(ctx);
4914
+ let if_block2 = !/*isMobile*/ ctx[6] && create_if_block_1$4(ctx);
4918
4915
 
4919
4916
  const block = {
4920
4917
  c: function create() {
@@ -4938,9 +4935,6 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
4938
4935
 
4939
4936
  t6 = space();
4940
4937
  if (if_block2) if_block2.c();
4941
- t7 = space();
4942
- if (if_block3) if_block3.c();
4943
- if_block3_anchor = empty();
4944
4938
  attr_dev(p0, "class", "PlayerAccountMenuUser");
4945
4939
  add_location(p0, file$7, 81, 6, 2799);
4946
4940
  attr_dev(p1, "class", "PlayerAccountMenuEmail");
@@ -4977,9 +4971,6 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
4977
4971
 
4978
4972
  append_dev(div2, t6);
4979
4973
  if (if_block2) if_block2.m(div2, null);
4980
- insert_dev(target, t7, anchor);
4981
- if (if_block3) if_block3.m(target, anchor);
4982
- insert_dev(target, if_block3_anchor, anchor);
4983
4974
  },
4984
4975
  p: function update(ctx, dirty) {
4985
4976
  if (/*isMobile*/ ctx[6]) if_block1.p(ctx, dirty);
@@ -5008,7 +4999,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
5008
4999
  each_blocks.length = each_value.length;
5009
5000
  }
5010
5001
 
5011
- if (!/*isMobile*/ ctx[6]) if_block3.p(ctx, dirty);
5002
+ if (!/*isMobile*/ ctx[6]) if_block2.p(ctx, dirty);
5012
5003
  },
5013
5004
  d: function destroy(detaching) {
5014
5005
  if (detaching) detach_dev(div2);
@@ -5016,9 +5007,6 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
5016
5007
  if (if_block1) if_block1.d();
5017
5008
  destroy_each(each_blocks, detaching);
5018
5009
  if (if_block2) if_block2.d();
5019
- if (detaching) detach_dev(t7);
5020
- if (if_block3) if_block3.d(detaching);
5021
- if (detaching) detach_dev(if_block3_anchor);
5022
5010
  }
5023
5011
  };
5024
5012
 
@@ -5064,7 +5052,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
5064
5052
  }
5065
5053
 
5066
5054
  // (79:6) {#if isMobile}
5067
- function create_if_block_5$2(ctx) {
5055
+ function create_if_block_4$2(ctx) {
5068
5056
  let h3;
5069
5057
 
5070
5058
  const block = {
@@ -5084,7 +5072,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
5084
5072
 
5085
5073
  dispatch_dev("SvelteRegisterBlock", {
5086
5074
  block,
5087
- id: create_if_block_5$2.name,
5075
+ id: create_if_block_4$2.name,
5088
5076
  type: "if",
5089
5077
  source: "(79:6) {#if isMobile}",
5090
5078
  ctx
@@ -5094,7 +5082,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
5094
5082
  }
5095
5083
 
5096
5084
  // (84:6) {#if isMobile}
5097
- function create_if_block_4$2(ctx) {
5085
+ function create_if_block_3$2(ctx) {
5098
5086
  let div;
5099
5087
  let general_logout;
5100
5088
 
@@ -5129,7 +5117,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
5129
5117
 
5130
5118
  dispatch_dev("SvelteRegisterBlock", {
5131
5119
  block,
5132
- id: create_if_block_4$2.name,
5120
+ id: create_if_block_3$2.name,
5133
5121
  type: "if",
5134
5122
  source: "(84:6) {#if isMobile}",
5135
5123
  ctx
@@ -5175,7 +5163,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
5175
5163
  }
5176
5164
 
5177
5165
  // (94:12) {#if switchToDefaultDataSets}
5178
- function create_if_block_3$2(ctx) {
5166
+ function create_if_block_2$3(ctx) {
5179
5167
  let span;
5180
5168
  let raw_value = /*menuItem*/ ctx[18].menu_item_icon + "";
5181
5169
 
@@ -5206,7 +5194,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
5206
5194
 
5207
5195
  dispatch_dev("SvelteRegisterBlock", {
5208
5196
  block,
5209
- id: create_if_block_3$2.name,
5197
+ id: create_if_block_2$3.name,
5210
5198
  type: "if",
5211
5199
  source: "(94:12) {#if switchToDefaultDataSets}",
5212
5200
  ctx
@@ -5229,7 +5217,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
5229
5217
  let dispose;
5230
5218
 
5231
5219
  function select_block_type_1(ctx, dirty) {
5232
- if (/*switchToDefaultDataSets*/ ctx[4]) return create_if_block_3$2;
5220
+ if (/*switchToDefaultDataSets*/ ctx[4]) return create_if_block_2$3;
5233
5221
  return create_else_block_1$3;
5234
5222
  }
5235
5223
 
@@ -5317,40 +5305,6 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
5317
5305
  }
5318
5306
 
5319
5307
  // (104:4) {#if !isMobile}
5320
- function create_if_block_2$3(ctx) {
5321
- let div;
5322
- let p;
5323
-
5324
- const block = {
5325
- c: function create() {
5326
- div = element("div");
5327
- p = element("p");
5328
- attr_dev(p, "class", "PlayerAccountMenuItemBox");
5329
- add_location(p, file$7, 105, 6, 4020);
5330
- attr_dev(div, "class", "PlayerAccountLogOutAreaPlaceholder");
5331
- add_location(div, file$7, 104, 4, 3965);
5332
- },
5333
- m: function mount(target, anchor) {
5334
- insert_dev(target, div, anchor);
5335
- append_dev(div, p);
5336
- },
5337
- d: function destroy(detaching) {
5338
- if (detaching) detach_dev(div);
5339
- }
5340
- };
5341
-
5342
- dispatch_dev("SvelteRegisterBlock", {
5343
- block,
5344
- id: create_if_block_2$3.name,
5345
- type: "if",
5346
- source: "(104:4) {#if !isMobile}",
5347
- ctx
5348
- });
5349
-
5350
- return block;
5351
- }
5352
-
5353
- // (110:2) {#if !isMobile}
5354
5308
  function create_if_block_1$4(ctx) {
5355
5309
  let div;
5356
5310
  let general_logout;
@@ -5362,9 +5316,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
5362
5316
  set_custom_element_data(general_logout, "endpoint", /*endpoint*/ ctx[0]);
5363
5317
  set_custom_element_data(general_logout, "session", /*session*/ ctx[1]);
5364
5318
  set_custom_element_data(general_logout, "buttonlocation", "PlayerAccountMenu");
5365
- add_location(general_logout, file$7, 111, 4, 4153);
5319
+ add_location(general_logout, file$7, 105, 8, 4013);
5366
5320
  attr_dev(div, "class", "PlayerAccountLogOutArea");
5367
- add_location(div, file$7, 110, 2, 4111);
5321
+ add_location(div, file$7, 104, 6, 3967);
5368
5322
  },
5369
5323
  m: function mount(target, anchor) {
5370
5324
  insert_dev(target, div, anchor);
@@ -5388,7 +5342,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
5388
5342
  block,
5389
5343
  id: create_if_block_1$4.name,
5390
5344
  type: "if",
5391
- source: "(110:2) {#if !isMobile}",
5345
+ source: "(104:4) {#if !isMobile}",
5392
5346
  ctx
5393
5347
  });
5394
5348
 
@@ -5617,7 +5571,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
5617
5571
  class PlayerAccountMenu extends SvelteElement {
5618
5572
  constructor(options) {
5619
5573
  super();
5620
- this.shadowRoot.innerHTML = `<style>.PlayerAccountMenuContainer{color:#fff;position:relative;height:calc(100% - 92px);overflow:scroll}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid #FFFFFF4A}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:24px}.PlayerAccountLogOutArea{position:sticky;bottom:0;background:#58586B;color:#fff;border-radius:5px;width:100%}.PlayerAccountMenuActiveItemBox{background:#07072A;border-bottom:1px solid #07072A}.PlayerAccountMobileContainer{height:unset;color:#07072A}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin-top:0;font-weight:400}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid #FFFFFF4A;border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:#D0046C;border-bottom:1px solid #D0046C}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:40px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:center;flex-flow:column;gap:10px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:14px;padding:0 5px;word-break:break-word;text-align:center}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}</style>`;
5574
+ this.shadowRoot.innerHTML = `<style>.PlayerAccountMenuContainer{color:#fff;position:relative;height:100vh;display:flex;flex-direction:column}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid #FFFFFF4A}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:24px}.PlayerAccountMenuList{flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c9c9c9 #58586B}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:#58586B}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:#c9c9c9}.PlayerAccountLogOutArea{background:#58586B;color:#fff;width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:#07072A;border-bottom:1px solid #07072A}.PlayerAccountMobileContainer{height:unset;color:#07072A}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin-top:0;font-weight:400}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid #FFFFFF4A;border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:#D0046C;border-bottom:1px solid #D0046C}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:40px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:center;flex-flow:column;gap:10px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:14px;padding:0 5px;word-break:break-word;text-align:center}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}</style>`;
5621
5575
 
5622
5576
  init(
5623
5577
  this,
@@ -6033,7 +5987,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
6033
5987
  class PlayerAccountNotifications extends SvelteElement {
6034
5988
  constructor(options) {
6035
5989
  super();
6036
- this.shadowRoot.innerHTML = `<style>.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:#58586B;color:#fff;box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}</style>`;
5990
+ this.shadowRoot.innerHTML = `<style>.PlayerAccountNotificationsContainer{padding:0 5.008px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:#58586B;color:#fff;box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}</style>`;
6037
5991
 
6038
5992
  init(
6039
5993
  this,
@@ -6092,7 +6046,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
6092
6046
  return child_ctx;
6093
6047
  }
6094
6048
 
6095
- // (11289:0) {:else}
6049
+ // (11292:0) {:else}
6096
6050
  function create_else_block$2(ctx) {
6097
6051
  let form;
6098
6052
  let t0;
@@ -6361,111 +6315,111 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
6361
6315
  t59 = space();
6362
6316
  div21 = element("div");
6363
6317
  t60 = text("Cancel");
6364
- add_location(h30, file$5, 11304, 4, 328067);
6318
+ add_location(h30, file$5, 11307, 4, 328178);
6365
6319
  attr_dev(div0, "class", "PlayerDetailsHeader");
6366
- add_location(div0, file$5, 11303, 2, 328029);
6367
- add_location(label0, file$5, 11308, 6, 328181);
6320
+ add_location(div0, file$5, 11306, 2, 328140);
6321
+ add_location(label0, file$5, 11311, 6, 328292);
6368
6322
  attr_dev(input0, "type", "text");
6369
6323
  attr_dev(input0, "class", "FieldDisabled");
6370
6324
  input0.value = /*username*/ ctx[21];
6371
6325
  input0.readOnly = true;
6372
- add_location(input0, file$5, 11309, 6, 328213);
6326
+ add_location(input0, file$5, 11312, 6, 328324);
6373
6327
  attr_dev(div1, "class", "PlayerInfoBox");
6374
- add_location(div1, file$5, 11307, 4, 328147);
6375
- add_location(label1, file$5, 11312, 6, 328332);
6328
+ add_location(div1, file$5, 11310, 4, 328258);
6329
+ add_location(label1, file$5, 11315, 6, 328443);
6376
6330
  if (/*playerPrefix*/ ctx[8] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[36].call(select));
6377
- add_location(select, file$5, 11314, 8, 328400);
6331
+ add_location(select, file$5, 11317, 8, 328511);
6378
6332
  attr_dev(input1, "type", "text");
6379
6333
  attr_dev(input1, "oninput", "this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');");
6380
6334
  attr_dev(input1, "placeholder", input1_placeholder_value = /*noPlayerData*/ ctx[0] ? /*mobile*/ ctx[16].number : "");
6381
- add_location(input1, file$5, 11323, 6, 328770);
6335
+ add_location(input1, file$5, 11326, 6, 328881);
6382
6336
  attr_dev(div2, "class", "PlayerPhoneNumber");
6383
- add_location(div2, file$5, 11313, 6, 328360);
6337
+ add_location(div2, file$5, 11316, 6, 328471);
6384
6338
  attr_dev(div3, "class", "PlayerInfoBox");
6385
- add_location(div3, file$5, 11311, 4, 328298);
6386
- add_location(label2, file$5, 11327, 6, 329079);
6339
+ add_location(div3, file$5, 11314, 4, 328409);
6340
+ add_location(label2, file$5, 11330, 6, 329190);
6387
6341
  attr_dev(input2, "type", "email");
6388
6342
  attr_dev(input2, "class", "FieldDisabled");
6389
6343
  input2.value = /*email*/ ctx[17];
6390
6344
  input2.readOnly = true;
6391
- add_location(input2, file$5, 11328, 6, 329107);
6345
+ add_location(input2, file$5, 11331, 6, 329218);
6392
6346
  attr_dev(div4, "class", "PlayerInfoBox");
6393
- add_location(div4, file$5, 11326, 4, 329045);
6394
- add_location(label3, file$5, 11331, 6, 329224);
6347
+ add_location(div4, file$5, 11329, 4, 329156);
6348
+ add_location(label3, file$5, 11334, 6, 329335);
6395
6349
  attr_dev(input3, "type", "text");
6396
6350
 
6397
6351
  attr_dev(input3, "placeholder", input3_placeholder_value = /*noPlayerData*/ ctx[0]
6398
6352
  ? /*securityQuestion*/ ctx[30]
6399
6353
  : "");
6400
6354
 
6401
- add_location(input3, file$5, 11332, 6, 329264);
6355
+ add_location(input3, file$5, 11335, 6, 329375);
6402
6356
  attr_dev(div5, "class", "PlayerInfoBox");
6403
- add_location(div5, file$5, 11330, 4, 329190);
6404
- add_location(label4, file$5, 11335, 6, 329449);
6357
+ add_location(div5, file$5, 11333, 4, 329301);
6358
+ add_location(label4, file$5, 11338, 6, 329560);
6405
6359
  attr_dev(input4, "type", "text");
6406
6360
  attr_dev(input4, "class", "FieldDisabled");
6407
6361
  input4.value = /*firstname*/ ctx[18];
6408
6362
  input4.readOnly = true;
6409
- add_location(input4, file$5, 11336, 6, 329482);
6363
+ add_location(input4, file$5, 11339, 6, 329593);
6410
6364
  attr_dev(div6, "class", "PlayerInfoBox");
6411
- add_location(div6, file$5, 11334, 4, 329415);
6412
- add_location(label5, file$5, 11339, 6, 329602);
6365
+ add_location(div6, file$5, 11337, 4, 329526);
6366
+ add_location(label5, file$5, 11342, 6, 329713);
6413
6367
  attr_dev(input5, "type", "text");
6414
6368
 
6415
6369
  attr_dev(input5, "placeholder", input5_placeholder_value = /*noPlayerData*/ ctx[0]
6416
6370
  ? /*securityAnswer*/ ctx[29]
6417
6371
  : "");
6418
6372
 
6419
- add_location(input5, file$5, 11340, 6, 329640);
6373
+ add_location(input5, file$5, 11343, 6, 329751);
6420
6374
  attr_dev(div7, "class", "PlayerInfoBox");
6421
- add_location(div7, file$5, 11338, 4, 329568);
6422
- add_location(label6, file$5, 11343, 6, 329821);
6375
+ add_location(div7, file$5, 11341, 4, 329679);
6376
+ add_location(label6, file$5, 11346, 6, 329932);
6423
6377
  attr_dev(input6, "type", "text");
6424
6378
  attr_dev(input6, "class", "FieldDisabled");
6425
6379
  input6.value = /*lastname*/ ctx[20];
6426
6380
  input6.readOnly = true;
6427
- add_location(input6, file$5, 11344, 6, 329853);
6381
+ add_location(input6, file$5, 11347, 6, 329964);
6428
6382
  attr_dev(div8, "class", "PlayerInfoBox");
6429
- add_location(div8, file$5, 11342, 4, 329787);
6430
- add_location(label7, file$5, 11347, 6, 329972);
6383
+ add_location(div8, file$5, 11345, 4, 329898);
6384
+ add_location(label7, file$5, 11350, 6, 330083);
6431
6385
  attr_dev(input7, "type", "text");
6432
6386
  attr_dev(input7, "class", "FieldDisabled");
6433
6387
  input7.value = /*birth*/ ctx[13];
6434
6388
  input7.readOnly = true;
6435
- add_location(input7, file$5, 11348, 4, 330006);
6389
+ add_location(input7, file$5, 11351, 4, 330117);
6436
6390
  attr_dev(div9, "class", "PlayerInfoBox");
6437
- add_location(div9, file$5, 11346, 4, 329938);
6438
- add_location(label8, file$5, 11351, 6, 330122);
6391
+ add_location(div9, file$5, 11349, 4, 330049);
6392
+ add_location(label8, file$5, 11354, 6, 330233);
6439
6393
  attr_dev(input8, "type", "text");
6440
6394
  attr_dev(input8, "class", "FieldDisabled");
6441
6395
  input8.value = /*currency*/ ctx[15];
6442
6396
  input8.readOnly = true;
6443
- add_location(input8, file$5, 11352, 6, 330153);
6397
+ add_location(input8, file$5, 11355, 6, 330264);
6444
6398
  attr_dev(div10, "class", "PlayerInfoBox");
6445
- add_location(div10, file$5, 11350, 4, 330088);
6446
- add_location(label9, file$5, 11355, 6, 330272);
6399
+ add_location(div10, file$5, 11353, 4, 330199);
6400
+ add_location(label9, file$5, 11358, 6, 330383);
6447
6401
  attr_dev(input9, "type", "text");
6448
6402
  attr_dev(input9, "class", "FieldDisabled");
6449
6403
  input9.value = /*gender*/ ctx[19];
6450
6404
  input9.readOnly = true;
6451
- add_location(input9, file$5, 11356, 6, 330301);
6405
+ add_location(input9, file$5, 11359, 6, 330412);
6452
6406
  attr_dev(div11, "class", "PlayerInfoBox");
6453
- add_location(div11, file$5, 11354, 4, 330238);
6407
+ add_location(div11, file$5, 11357, 4, 330349);
6454
6408
  attr_dev(section0, "class", "PlayerDetailsContent");
6455
- add_location(section0, file$5, 11306, 2, 328104);
6456
- add_location(h31, file$5, 11361, 4, 330435);
6409
+ add_location(section0, file$5, 11309, 2, 328215);
6410
+ add_location(h31, file$5, 11364, 4, 330546);
6457
6411
  attr_dev(div12, "class", "PlayerLocationHeader");
6458
- add_location(div12, file$5, 11360, 2, 330396);
6459
- add_location(label10, file$5, 11365, 6, 330550);
6412
+ add_location(div12, file$5, 11363, 2, 330507);
6413
+ add_location(label10, file$5, 11368, 6, 330661);
6460
6414
  attr_dev(input10, "type", "text");
6461
6415
  attr_dev(input10, "class", "PlayerCountry FieldDisabled");
6462
6416
  attr_dev(input10, "placeholder", /*country*/ ctx[14]);
6463
6417
  input10.value = input10_value_value = /*selectedCountry*/ ctx[11].name;
6464
6418
  input10.readOnly = true;
6465
- add_location(input10, file$5, 11366, 6, 330580);
6419
+ add_location(input10, file$5, 11369, 6, 330691);
6466
6420
  attr_dev(div13, "class", "PlayerInfoBox");
6467
- add_location(div13, file$5, 11364, 4, 330516);
6468
- add_location(label11, file$5, 11369, 6, 330747);
6421
+ add_location(div13, file$5, 11367, 4, 330627);
6422
+ add_location(label11, file$5, 11372, 6, 330858);
6469
6423
  attr_dev(input11, "type", "text");
6470
6424
  attr_dev(input11, "placeholder", input11_placeholder_value = /*noPlayerData*/ ctx[0] ? /*city*/ ctx[27] : "");
6471
6425
 
@@ -6473,10 +6427,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
6473
6427
  ? ""
6474
6428
  : /*initialValuesArray*/ ctx[12].city;
6475
6429
 
6476
- add_location(input11, file$5, 11370, 4, 330772);
6430
+ add_location(input11, file$5, 11373, 4, 330883);
6477
6431
  attr_dev(div14, "class", "PlayerInfoBox");
6478
- add_location(div14, file$5, 11368, 4, 330713);
6479
- add_location(label12, file$5, 11373, 6, 330992);
6432
+ add_location(div14, file$5, 11371, 4, 330824);
6433
+ add_location(label12, file$5, 11376, 6, 331103);
6480
6434
  attr_dev(input12, "placeholder", /*address1*/ ctx[26]);
6481
6435
  attr_dev(input12, "type", "text");
6482
6436
 
@@ -6484,10 +6438,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
6484
6438
  ? ""
6485
6439
  : /*initialValuesArray*/ ctx[12].address;
6486
6440
 
6487
- add_location(input12, file$5, 11374, 4, 331020);
6441
+ add_location(input12, file$5, 11377, 4, 331131);
6488
6442
  attr_dev(div15, "class", "PlayerInfoBox");
6489
- add_location(div15, file$5, 11372, 4, 330958);
6490
- add_location(label13, file$5, 11377, 6, 331230);
6443
+ add_location(div15, file$5, 11375, 4, 331069);
6444
+ add_location(label13, file$5, 11380, 6, 331341);
6491
6445
  attr_dev(input13, "type", "number");
6492
6446
  attr_dev(input13, "placeholder", input13_placeholder_value = /*noPlayerData*/ ctx[0] ? /*postalCode*/ ctx[28] : "");
6493
6447
 
@@ -6495,62 +6449,62 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
6495
6449
  ? ""
6496
6450
  : /*initialValuesArray*/ ctx[12].postalCode;
6497
6451
 
6498
- add_location(input13, file$5, 11378, 6, 331264);
6452
+ add_location(input13, file$5, 11381, 6, 331375);
6499
6453
  attr_dev(div16, "class", "PlayerInfoBox");
6500
- add_location(div16, file$5, 11376, 4, 331196);
6454
+ add_location(div16, file$5, 11379, 4, 331307);
6501
6455
  attr_dev(section1, "class", "PlayerLocationContent");
6502
- add_location(section1, file$5, 11363, 2, 330472);
6503
- add_location(h32, file$5, 11383, 4, 331526);
6456
+ add_location(section1, file$5, 11366, 2, 330583);
6457
+ add_location(h32, file$5, 11386, 4, 331637);
6504
6458
  attr_dev(div17, "class", "PlayerNotificationsHeader");
6505
- add_location(div17, file$5, 11382, 2, 331482);
6459
+ add_location(div17, file$5, 11385, 2, 331593);
6506
6460
  attr_dev(input14, "type", "checkbox");
6507
6461
  attr_dev(input14, "id", "SMSNotification");
6508
6462
  attr_dev(input14, "name", "Enable SMS notifications");
6509
- add_location(input14, file$5, 11388, 8, 331694);
6463
+ add_location(input14, file$5, 11391, 8, 331805);
6510
6464
  attr_dev(span0, "class", "Checkmark");
6511
- add_location(span0, file$5, 11389, 8, 331840);
6512
- add_location(span1, file$5, 11390, 8, 331880);
6465
+ add_location(span0, file$5, 11392, 8, 331951);
6466
+ add_location(span1, file$5, 11393, 8, 331991);
6513
6467
  attr_dev(label14, "for", "SMSNotification");
6514
- add_location(label14, file$5, 11387, 6, 331656);
6468
+ add_location(label14, file$5, 11390, 6, 331767);
6515
6469
  attr_dev(div18, "class", "PlayerNotificationBox");
6516
- add_location(div18, file$5, 11386, 4, 331614);
6470
+ add_location(div18, file$5, 11389, 4, 331725);
6517
6471
  attr_dev(input15, "type", "checkbox");
6518
6472
  attr_dev(input15, "id", "EmailNotification");
6519
6473
  attr_dev(input15, "name", "Enable Emails");
6520
- add_location(input15, file$5, 11395, 8, 332030);
6474
+ add_location(input15, file$5, 11398, 8, 332141);
6521
6475
  attr_dev(span2, "class", "Checkmark");
6522
- add_location(span2, file$5, 11396, 8, 332168);
6523
- add_location(span3, file$5, 11397, 8, 332208);
6476
+ add_location(span2, file$5, 11399, 8, 332279);
6477
+ add_location(span3, file$5, 11400, 8, 332319);
6524
6478
  attr_dev(label15, "for", "EmailNotification");
6525
- add_location(label15, file$5, 11394, 6, 331990);
6479
+ add_location(label15, file$5, 11397, 6, 332101);
6526
6480
  attr_dev(div19, "class", "PlayerNotificationBox");
6527
- add_location(div19, file$5, 11393, 4, 331948);
6481
+ add_location(div19, file$5, 11396, 4, 332059);
6528
6482
  attr_dev(section2, "class", "PlayerNotificationsCheckboxArea");
6529
- add_location(section2, file$5, 11385, 2, 331560);
6483
+ add_location(section2, file$5, 11388, 2, 331671);
6530
6484
 
6531
6485
  attr_dev(div20, "class", div20_class_value = "PlayerDetailsSaveButton " + (/*differencesExist*/ ctx[10]
6532
6486
  ? ""
6533
6487
  : "PlayerButtonDisabled"));
6534
6488
 
6535
- add_location(div20, file$5, 11402, 4, 332374);
6489
+ add_location(div20, file$5, 11405, 4, 332485);
6536
6490
 
6537
6491
  attr_dev(div21, "class", div21_class_value = "PlayerDetailsCancelButton " + (/*differencesExist*/ ctx[10]
6538
6492
  ? ""
6539
6493
  : "PlayerButtonDisabled"));
6540
6494
 
6541
- add_location(div21, file$5, 11403, 4, 332519);
6495
+ add_location(div21, file$5, 11406, 4, 332630);
6542
6496
 
6543
6497
  attr_dev(section3, "class", "PlayerDetailsButtonsArea " + (/*isMobile*/ ctx[23]
6544
6498
  ? "PlayerDetailsButtonsAreaMobile"
6545
6499
  : ""));
6546
6500
 
6547
- add_location(section3, file$5, 11401, 2, 332276);
6501
+ add_location(section3, file$5, 11404, 2, 332387);
6548
6502
 
6549
6503
  attr_dev(form, "class", "PlayerInfoWrapper " + (/*isMobile*/ ctx[23] ? "PlayerInfoWrapperMobile" : "") + " " + (/*mediaQuery*/ ctx[24].matches && /*isMobile*/ ctx[23]
6550
6504
  ? "PlayerInfoWrapperTablet"
6551
6505
  : ""));
6552
6506
 
6553
- add_location(form, file$5, 11289, 0, 327120);
6507
+ add_location(form, file$5, 11292, 0, 327231);
6554
6508
  },
6555
6509
  m: function mount(target, anchor) {
6556
6510
  insert_dev(target, form, anchor);
@@ -6859,14 +6813,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
6859
6813
  block,
6860
6814
  id: create_else_block$2.name,
6861
6815
  type: "else",
6862
- source: "(11289:0) {:else}",
6816
+ source: "(11292:0) {:else}",
6863
6817
  ctx
6864
6818
  });
6865
6819
 
6866
6820
  return block;
6867
6821
  }
6868
6822
 
6869
- // (11287:0) {#if isLoading}
6823
+ // (11290:0) {#if isLoading}
6870
6824
  function create_if_block$5(ctx) {
6871
6825
  let div;
6872
6826
 
@@ -6874,7 +6828,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
6874
6828
  c: function create() {
6875
6829
  div = element("div");
6876
6830
  attr_dev(div, "class", "ModalLoader");
6877
- add_location(div, file$5, 11287, 2, 327080);
6831
+ add_location(div, file$5, 11290, 2, 327191);
6878
6832
  },
6879
6833
  m: function mount(target, anchor) {
6880
6834
  insert_dev(target, div, anchor);
@@ -6889,14 +6843,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
6889
6843
  block,
6890
6844
  id: create_if_block$5.name,
6891
6845
  type: "if",
6892
- source: "(11287:0) {#if isLoading}",
6846
+ source: "(11290:0) {#if isLoading}",
6893
6847
  ctx
6894
6848
  });
6895
6849
 
6896
6850
  return block;
6897
6851
  }
6898
6852
 
6899
- // (11291:2) {#if isMobile}
6853
+ // (11294:2) {#if isMobile}
6900
6854
  function create_if_block_2$2(ctx) {
6901
6855
  let div;
6902
6856
  let svg;
@@ -6918,8 +6872,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
6918
6872
  span.textContent = "Return to menu";
6919
6873
  attr_dev(path, "id", "Chevron_Right");
6920
6874
  attr_dev(path, "d", "M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179\n l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816\n C52.942,116.507,52.942,124.327,57.633,129.007z");
6921
- add_location(path, file$5, 11295, 10, 327639);
6922
- add_location(g, file$5, 11294, 8, 327625);
6875
+ add_location(path, file$5, 11298, 10, 327750);
6876
+ add_location(g, file$5, 11297, 8, 327736);
6923
6877
  attr_dev(svg, "version", "1.1");
6924
6878
  attr_dev(svg, "id", "Capa_1");
6925
6879
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
@@ -6931,10 +6885,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
6931
6885
  attr_dev(svg, "xml:space", "preserve");
6932
6886
  attr_dev(svg, "width", "18px");
6933
6887
  attr_dev(svg, "fill", "#58586B");
6934
- add_location(svg, file$5, 11292, 6, 327353);
6935
- add_location(span, file$5, 11300, 6, 327980);
6888
+ add_location(svg, file$5, 11295, 6, 327464);
6889
+ add_location(span, file$5, 11303, 6, 328091);
6936
6890
  attr_dev(div, "class", "MenuReturnButton");
6937
- add_location(div, file$5, 11291, 4, 327284);
6891
+ add_location(div, file$5, 11294, 4, 327395);
6938
6892
  },
6939
6893
  m: function mount(target, anchor) {
6940
6894
  insert_dev(target, div, anchor);
@@ -6961,14 +6915,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
6961
6915
  block,
6962
6916
  id: create_if_block_2$2.name,
6963
6917
  type: "if",
6964
- source: "(11291:2) {#if isMobile}",
6918
+ source: "(11294:2) {#if isMobile}",
6965
6919
  ctx
6966
6920
  });
6967
6921
 
6968
6922
  return block;
6969
6923
  }
6970
6924
 
6971
- // (11319:12) {:else}
6925
+ // (11322:12) {:else}
6972
6926
  function create_else_block_1$2(ctx) {
6973
6927
  let option;
6974
6928
  let t_value = /*pref*/ ctx[62].callingCode + "";
@@ -6980,7 +6934,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
6980
6934
  t = text(t_value);
6981
6935
  option.__value = /*pref*/ ctx[62].callingCode;
6982
6936
  option.value = option.__value;
6983
- add_location(option, file$5, 11319, 14, 328674);
6937
+ add_location(option, file$5, 11322, 14, 328785);
6984
6938
  },
6985
6939
  m: function mount(target, anchor) {
6986
6940
  insert_dev(target, option, anchor);
@@ -6996,14 +6950,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
6996
6950
  block,
6997
6951
  id: create_else_block_1$2.name,
6998
6952
  type: "else",
6999
- source: "(11319:12) {:else}",
6953
+ source: "(11322:12) {:else}",
7000
6954
  ctx
7001
6955
  });
7002
6956
 
7003
6957
  return block;
7004
6958
  }
7005
6959
 
7006
- // (11317:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}
6960
+ // (11320:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}
7007
6961
  function create_if_block_1$2(ctx) {
7008
6962
  let option;
7009
6963
  let t_value = /*pref*/ ctx[62].callingCode + "";
@@ -7016,7 +6970,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
7016
6970
  option.selected = true;
7017
6971
  option.__value = /*pref*/ ctx[62].callingCode;
7018
6972
  option.value = option.__value;
7019
- add_location(option, file$5, 11317, 14, 328595);
6973
+ add_location(option, file$5, 11320, 14, 328706);
7020
6974
  },
7021
6975
  m: function mount(target, anchor) {
7022
6976
  insert_dev(target, option, anchor);
@@ -7032,14 +6986,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
7032
6986
  block,
7033
6987
  id: create_if_block_1$2.name,
7034
6988
  type: "if",
7035
- source: "(11317:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}",
6989
+ source: "(11320:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}",
7036
6990
  ctx
7037
6991
  });
7038
6992
 
7039
6993
  return block;
7040
6994
  }
7041
6995
 
7042
- // (11316:10) {#each prefixesArray as pref}
6996
+ // (11319:10) {#each prefixesArray as pref}
7043
6997
  function create_each_block$2(ctx) {
7044
6998
  let if_block_anchor;
7045
6999
 
@@ -7083,7 +7037,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
7083
7037
  block,
7084
7038
  id: create_each_block$2.name,
7085
7039
  type: "each",
7086
- source: "(11316:10) {#each prefixesArray as pref}",
7040
+ source: "(11319:10) {#each prefixesArray as pref}",
7087
7041
  ctx
7088
7042
  });
7089
7043
 
@@ -19627,6 +19581,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
19627
19581
  });
19628
19582
  }
19629
19583
  break;
19584
+ case "DisableProfileInfoButtons":
19585
+ $$invalidate(10, differencesExist = false);
19586
+ break;
19630
19587
  }
19631
19588
  }
19632
19589
  };
@@ -22818,7 +22775,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
22818
22775
  const { console: console_1 } = globals;
22819
22776
  const file = "src/PlayerAccountController.svelte";
22820
22777
 
22821
- // (233:0) {:else}
22778
+ // (237:0) {:else}
22822
22779
  function create_else_block(ctx) {
22823
22780
  let section;
22824
22781
 
@@ -22835,7 +22792,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
22835
22792
  section = element("section");
22836
22793
  if_block.c();
22837
22794
  attr_dev(section, "class", "PlayerAccountPage " + (/*isMobile*/ ctx[6] ? "PlayerAccountMobilePage" : ""));
22838
- add_location(section, file, 233, 0, 8632);
22795
+ add_location(section, file, 237, 0, 8819);
22839
22796
  },
22840
22797
  m: function mount(target, anchor) {
22841
22798
  insert_dev(target, section, anchor);
@@ -22854,14 +22811,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
22854
22811
  block,
22855
22812
  id: create_else_block.name,
22856
22813
  type: "else",
22857
- source: "(233:0) {:else}",
22814
+ source: "(237:0) {:else}",
22858
22815
  ctx
22859
22816
  });
22860
22817
 
22861
22818
  return block;
22862
22819
  }
22863
22820
 
22864
- // (231:0) {#if isLoading}
22821
+ // (235:0) {#if isLoading}
22865
22822
  function create_if_block(ctx) {
22866
22823
  let div;
22867
22824
 
@@ -22869,7 +22826,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
22869
22826
  c: function create() {
22870
22827
  div = element("div");
22871
22828
  attr_dev(div, "class", "ModalLoader");
22872
- add_location(div, file, 231, 2, 8592);
22829
+ add_location(div, file, 235, 2, 8779);
22873
22830
  },
22874
22831
  m: function mount(target, anchor) {
22875
22832
  insert_dev(target, div, anchor);
@@ -22884,14 +22841,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
22884
22841
  block,
22885
22842
  id: create_if_block.name,
22886
22843
  type: "if",
22887
- source: "(231:0) {#if isLoading}",
22844
+ source: "(235:0) {#if isLoading}",
22888
22845
  ctx
22889
22846
  });
22890
22847
 
22891
22848
  return block;
22892
22849
  }
22893
22850
 
22894
- // (254:4) {:else}
22851
+ // (258:4) {:else}
22895
22852
  function create_else_block_1(ctx) {
22896
22853
  let nav;
22897
22854
  let player_account_menu;
@@ -22924,12 +22881,12 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
22924
22881
  player_account_notifications = element("player-account-notifications");
22925
22882
  set_custom_element_data(player_account_menu, "endpoint", /*endpoint*/ ctx[2]);
22926
22883
  set_custom_element_data(player_account_menu, "session", /*session*/ ctx[1]);
22927
- add_location(player_account_menu, file, 255, 8, 9673);
22928
- add_location(nav, file, 254, 6, 9659);
22929
- add_location(main, file, 257, 6, 9757);
22884
+ add_location(player_account_menu, file, 259, 8, 9860);
22885
+ add_location(nav, file, 258, 6, 9846);
22886
+ add_location(main, file, 261, 6, 9944);
22930
22887
  set_custom_element_data(player_account_notifications, "customnotif", /*customnotifications*/ ctx[0]);
22931
- add_location(player_account_notifications, file, 271, 8, 10419);
22932
- add_location(aside, file, 270, 6, 10403);
22888
+ add_location(player_account_notifications, file, 275, 8, 10606);
22889
+ add_location(aside, file, 274, 6, 10590);
22933
22890
  },
22934
22891
  m: function mount(target, anchor) {
22935
22892
  insert_dev(target, nav, anchor);
@@ -22982,14 +22939,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
22982
22939
  block,
22983
22940
  id: create_else_block_1.name,
22984
22941
  type: "else",
22985
- source: "(254:4) {:else}",
22942
+ source: "(258:4) {:else}",
22986
22943
  ctx
22987
22944
  });
22988
22945
 
22989
22946
  return block;
22990
22947
  }
22991
22948
 
22992
- // (235:4) {#if isMobile}
22949
+ // (239:4) {#if isMobile}
22993
22950
  function create_if_block_1(ctx) {
22994
22951
  let if_block_anchor;
22995
22952
 
@@ -23040,21 +22997,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
23040
22997
  block,
23041
22998
  id: create_if_block_1.name,
23042
22999
  type: "if",
23043
- source: "(235:4) {#if isMobile}",
23000
+ source: "(239:4) {#if isMobile}",
23044
23001
  ctx
23045
23002
  });
23046
23003
 
23047
23004
  return block;
23048
23005
  }
23049
23006
 
23050
- // (267:63)
23007
+ // (271:63)
23051
23008
  function create_if_block_12(ctx) {
23052
23009
  let player_account_closure;
23053
23010
 
23054
23011
  const block = {
23055
23012
  c: function create() {
23056
23013
  player_account_closure = element("player-account-closure");
23057
- add_location(player_account_closure, file, 267, 10, 10319);
23014
+ add_location(player_account_closure, file, 271, 10, 10506);
23058
23015
  },
23059
23016
  m: function mount(target, anchor) {
23060
23017
  insert_dev(target, player_account_closure, anchor);
@@ -23068,21 +23025,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
23068
23025
  block,
23069
23026
  id: create_if_block_12.name,
23070
23027
  type: "if",
23071
- source: "(267:63) ",
23028
+ source: "(271:63) ",
23072
23029
  ctx
23073
23030
  });
23074
23031
 
23075
23032
  return block;
23076
23033
  }
23077
23034
 
23078
- // (265:63)
23035
+ // (269:63)
23079
23036
  function create_if_block_11(ctx) {
23080
23037
  let player_account_timeout;
23081
23038
 
23082
23039
  const block = {
23083
23040
  c: function create() {
23084
23041
  player_account_timeout = element("player-account-timeout");
23085
- add_location(player_account_timeout, file, 265, 10, 10195);
23042
+ add_location(player_account_timeout, file, 269, 10, 10382);
23086
23043
  },
23087
23044
  m: function mount(target, anchor) {
23088
23045
  insert_dev(target, player_account_timeout, anchor);
@@ -23096,21 +23053,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
23096
23053
  block,
23097
23054
  id: create_if_block_11.name,
23098
23055
  type: "if",
23099
- source: "(265:63) ",
23056
+ source: "(269:63) ",
23100
23057
  ctx
23101
23058
  });
23102
23059
 
23103
23060
  return block;
23104
23061
  }
23105
23062
 
23106
- // (263:63)
23063
+ // (267:63)
23107
23064
  function create_if_block_10(ctx) {
23108
23065
  let player_reality_check;
23109
23066
 
23110
23067
  const block = {
23111
23068
  c: function create() {
23112
23069
  player_reality_check = element("player-reality-check");
23113
- add_location(player_reality_check, file, 263, 10, 10075);
23070
+ add_location(player_reality_check, file, 267, 10, 10262);
23114
23071
  },
23115
23072
  m: function mount(target, anchor) {
23116
23073
  insert_dev(target, player_reality_check, anchor);
@@ -23124,21 +23081,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
23124
23081
  block,
23125
23082
  id: create_if_block_10.name,
23126
23083
  type: "if",
23127
- source: "(263:63) ",
23084
+ source: "(267:63) ",
23128
23085
  ctx
23129
23086
  });
23130
23087
 
23131
23088
  return block;
23132
23089
  }
23133
23090
 
23134
- // (261:63)
23091
+ // (265:63)
23135
23092
  function create_if_block_9(ctx) {
23136
23093
  let player_profile_info;
23137
23094
 
23138
23095
  const block = {
23139
23096
  c: function create() {
23140
23097
  player_profile_info = element("player-profile-info");
23141
- add_location(player_profile_info, file, 261, 10, 9957);
23098
+ add_location(player_profile_info, file, 265, 10, 10144);
23142
23099
  },
23143
23100
  m: function mount(target, anchor) {
23144
23101
  insert_dev(target, player_profile_info, anchor);
@@ -23152,21 +23109,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
23152
23109
  block,
23153
23110
  id: create_if_block_9.name,
23154
23111
  type: "if",
23155
- source: "(261:63) ",
23112
+ source: "(265:63) ",
23156
23113
  ctx
23157
23114
  });
23158
23115
 
23159
23116
  return block;
23160
23117
  }
23161
23118
 
23162
- // (259:8) {#if switchContent && pageName === widgetTitle[1]}
23119
+ // (263:8) {#if switchContent && pageName === widgetTitle[1]}
23163
23120
  function create_if_block_8(ctx) {
23164
23121
  let player_change_password;
23165
23122
 
23166
23123
  const block = {
23167
23124
  c: function create() {
23168
23125
  player_change_password = element("player-change-password");
23169
- add_location(player_change_password, file, 259, 10, 9833);
23126
+ add_location(player_change_password, file, 263, 10, 10020);
23170
23127
  },
23171
23128
  m: function mount(target, anchor) {
23172
23129
  insert_dev(target, player_change_password, anchor);
@@ -23180,21 +23137,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
23180
23137
  block,
23181
23138
  id: create_if_block_8.name,
23182
23139
  type: "if",
23183
- source: "(259:8) {#if switchContent && pageName === widgetTitle[1]}",
23140
+ source: "(263:8) {#if switchContent && pageName === widgetTitle[1]}",
23184
23141
  ctx
23185
23142
  });
23186
23143
 
23187
23144
  return block;
23188
23145
  }
23189
23146
 
23190
- // (250:63)
23147
+ // (254:63)
23191
23148
  function create_if_block_7(ctx) {
23192
23149
  let player_account_closure;
23193
23150
 
23194
23151
  const block = {
23195
23152
  c: function create() {
23196
23153
  player_account_closure = element("player-account-closure");
23197
- add_location(player_account_closure, file, 250, 10, 9565);
23154
+ add_location(player_account_closure, file, 254, 10, 9752);
23198
23155
  },
23199
23156
  m: function mount(target, anchor) {
23200
23157
  insert_dev(target, player_account_closure, anchor);
@@ -23209,21 +23166,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
23209
23166
  block,
23210
23167
  id: create_if_block_7.name,
23211
23168
  type: "if",
23212
- source: "(250:63) ",
23169
+ source: "(254:63) ",
23213
23170
  ctx
23214
23171
  });
23215
23172
 
23216
23173
  return block;
23217
23174
  }
23218
23175
 
23219
- // (248:63)
23176
+ // (252:63)
23220
23177
  function create_if_block_6(ctx) {
23221
23178
  let player_account_timeout;
23222
23179
 
23223
23180
  const block = {
23224
23181
  c: function create() {
23225
23182
  player_account_timeout = element("player-account-timeout");
23226
- add_location(player_account_timeout, file, 248, 10, 9441);
23183
+ add_location(player_account_timeout, file, 252, 10, 9628);
23227
23184
  },
23228
23185
  m: function mount(target, anchor) {
23229
23186
  insert_dev(target, player_account_timeout, anchor);
@@ -23238,21 +23195,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
23238
23195
  block,
23239
23196
  id: create_if_block_6.name,
23240
23197
  type: "if",
23241
- source: "(248:63) ",
23198
+ source: "(252:63) ",
23242
23199
  ctx
23243
23200
  });
23244
23201
 
23245
23202
  return block;
23246
23203
  }
23247
23204
 
23248
- // (246:63)
23205
+ // (250:63)
23249
23206
  function create_if_block_5(ctx) {
23250
23207
  let player_reality_check;
23251
23208
 
23252
23209
  const block = {
23253
23210
  c: function create() {
23254
23211
  player_reality_check = element("player-reality-check");
23255
- add_location(player_reality_check, file, 246, 10, 9321);
23212
+ add_location(player_reality_check, file, 250, 10, 9508);
23256
23213
  },
23257
23214
  m: function mount(target, anchor) {
23258
23215
  insert_dev(target, player_reality_check, anchor);
@@ -23267,21 +23224,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
23267
23224
  block,
23268
23225
  id: create_if_block_5.name,
23269
23226
  type: "if",
23270
- source: "(246:63) ",
23227
+ source: "(250:63) ",
23271
23228
  ctx
23272
23229
  });
23273
23230
 
23274
23231
  return block;
23275
23232
  }
23276
23233
 
23277
- // (244:63)
23234
+ // (248:63)
23278
23235
  function create_if_block_4(ctx) {
23279
23236
  let player_profile_info;
23280
23237
 
23281
23238
  const block = {
23282
23239
  c: function create() {
23283
23240
  player_profile_info = element("player-profile-info");
23284
- add_location(player_profile_info, file, 244, 10, 9203);
23241
+ add_location(player_profile_info, file, 248, 10, 9390);
23285
23242
  },
23286
23243
  m: function mount(target, anchor) {
23287
23244
  insert_dev(target, player_profile_info, anchor);
@@ -23296,21 +23253,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
23296
23253
  block,
23297
23254
  id: create_if_block_4.name,
23298
23255
  type: "if",
23299
- source: "(244:63) ",
23256
+ source: "(248:63) ",
23300
23257
  ctx
23301
23258
  });
23302
23259
 
23303
23260
  return block;
23304
23261
  }
23305
23262
 
23306
- // (242:8) {#if switchContent && pageName === widgetTitle[1]}
23263
+ // (246:8) {#if switchContent && pageName === widgetTitle[1]}
23307
23264
  function create_if_block_3(ctx) {
23308
23265
  let player_change_password;
23309
23266
 
23310
23267
  const block = {
23311
23268
  c: function create() {
23312
23269
  player_change_password = element("player-change-password");
23313
- add_location(player_change_password, file, 242, 10, 9079);
23270
+ add_location(player_change_password, file, 246, 10, 9266);
23314
23271
  },
23315
23272
  m: function mount(target, anchor) {
23316
23273
  insert_dev(target, player_change_password, anchor);
@@ -23325,14 +23282,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
23325
23282
  block,
23326
23283
  id: create_if_block_3.name,
23327
23284
  type: "if",
23328
- source: "(242:8) {#if switchContent && pageName === widgetTitle[1]}",
23285
+ source: "(246:8) {#if switchContent && pageName === widgetTitle[1]}",
23329
23286
  ctx
23330
23287
  });
23331
23288
 
23332
23289
  return block;
23333
23290
  }
23334
23291
 
23335
- // (236:6) {#if !switchContent}
23292
+ // (240:6) {#if !switchContent}
23336
23293
  function create_if_block_2(ctx) {
23337
23294
  let nav;
23338
23295
  let player_account_menu;
@@ -23347,11 +23304,11 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
23347
23304
  player_account_notifications = element("player-account-notifications");
23348
23305
  set_custom_element_data(player_account_menu, "endpoint", /*endpoint*/ ctx[2]);
23349
23306
  set_custom_element_data(player_account_menu, "session", /*session*/ ctx[1]);
23350
- add_location(player_account_menu, file, 237, 10, 8810);
23307
+ add_location(player_account_menu, file, 241, 10, 8997);
23351
23308
  set_custom_element_data(player_account_notifications, "customnotif", /*customnotifications*/ ctx[0]);
23352
- add_location(player_account_notifications, file, 238, 10, 8885);
23309
+ add_location(player_account_notifications, file, 242, 10, 9072);
23353
23310
  attr_dev(nav, "class", "PlayerAccountMobile");
23354
- add_location(nav, file, 236, 8, 8766);
23311
+ add_location(nav, file, 240, 8, 8953);
23355
23312
  },
23356
23313
  m: function mount(target, anchor) {
23357
23314
  insert_dev(target, nav, anchor);
@@ -23381,7 +23338,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
23381
23338
  block,
23382
23339
  id: create_if_block_2.name,
23383
23340
  type: "if",
23384
- source: "(236:6) {#if !switchContent}",
23341
+ source: "(240:6) {#if !switchContent}",
23385
23342
  ctx
23386
23343
  });
23387
23344
 
@@ -23515,8 +23472,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
23515
23472
  },
23516
23473
  body: JSON.stringify(sentData)
23517
23474
  };
23518
- fetch(`${profileUrl}${userId}/profile`, options).then(data => {
23519
-
23475
+ fetch(`${profileUrl}${userId}/profile`, options).then(res => {
23476
+ if (res.status == 200) {
23477
+ window.postMessage({ type: "DisableProfileInfoButtons" }, window.location.href);
23478
+ }
23520
23479
  });
23521
23480
  break;
23522
23481
  case "ChangePassword":
@@ -23785,7 +23744,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
23785
23744
  class PlayerAccountController extends SvelteElement {
23786
23745
  constructor(options) {
23787
23746
  super();
23788
- this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:'Helvetica Neue', 'Helvetica', sans-serif}.PlayerAccountPage{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:250px 1fr 220px;background:#F9F8F8}.PlayerAccountPage.PlayerAccountMobilePage{display:block}.PlayerAccountPage>nav{grid-area:nav;background:#58586B;border-radius:5px}.PlayerAccountPage>nav.PlayerAccountMobile{background:transparent;color:#07072A}.PlayerAccountPage>main{grid-area:main}.PlayerAccountPage>aside{grid-area:aside}</style>`;
23747
+ this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:'Helvetica Neue', 'Helvetica', sans-serif}.PlayerAccountPage{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:250px 1fr 230px;background:#F9F8F8}.PlayerAccountPage.PlayerAccountMobilePage{display:block}.PlayerAccountPage>nav{grid-area:nav;background:#58586B}.PlayerAccountPage>nav.PlayerAccountMobile{background:transparent;color:#07072A}.PlayerAccountPage>main{grid-area:main}.PlayerAccountPage>aside{grid-area:aside}</style>`;
23789
23748
 
23790
23749
  init(
23791
23750
  this,