@everymatrix/player-profile-info 0.0.159 → 0.0.163

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.
@@ -4460,7 +4460,7 @@
4460
4460
  return child_ctx;
4461
4461
  }
4462
4462
 
4463
- // (11300:0) {:else}
4463
+ // (11298:0) {:else}
4464
4464
  function create_else_block(ctx) {
4465
4465
  let form;
4466
4466
  let t0;
@@ -4741,112 +4741,112 @@
4741
4741
  t63 = space();
4742
4742
  if (if_block1) if_block1.c();
4743
4743
  attr_dev(h2, "class", "ProfileInfoTitle " + (/*isMobile*/ ctx[24] ? "ProfileInfoTitleNone" : ""));
4744
- add_location(h2, file, 11313, 2, 328164);
4745
- add_location(h30, file, 11316, 4, 328299);
4744
+ add_location(h2, file, 11311, 2, 327980);
4745
+ add_location(h30, file, 11314, 4, 328115);
4746
4746
  attr_dev(div0, "class", "PlayerNotificationsHeader");
4747
- add_location(div0, file, 11315, 2, 328255);
4748
- add_location(label0, file, 11320, 6, 328413);
4747
+ add_location(div0, file, 11313, 2, 328071);
4748
+ add_location(label0, file, 11318, 6, 328229);
4749
4749
  attr_dev(input0, "type", "text");
4750
4750
  attr_dev(input0, "class", "FieldDisabled");
4751
4751
  input0.value = /*username*/ ctx[22];
4752
4752
  input0.readOnly = true;
4753
- add_location(input0, file, 11321, 6, 328445);
4753
+ add_location(input0, file, 11319, 6, 328261);
4754
4754
  attr_dev(div1, "class", "PlayerInfoBox");
4755
- add_location(div1, file, 11319, 4, 328379);
4756
- add_location(label1, file, 11324, 6, 328564);
4755
+ add_location(div1, file, 11317, 4, 328195);
4756
+ add_location(label1, file, 11322, 6, 328380);
4757
4757
  if (/*playerPrefix*/ ctx[8] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[37].call(select));
4758
- add_location(select, file, 11326, 8, 328632);
4758
+ add_location(select, file, 11324, 8, 328448);
4759
4759
  attr_dev(input1, "type", "text");
4760
4760
  attr_dev(input1, "oninput", "this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');");
4761
4761
  attr_dev(input1, "placeholder", input1_placeholder_value = /*noPlayerData*/ ctx[0] ? /*mobile*/ ctx[17].number : "");
4762
- add_location(input1, file, 11335, 6, 329002);
4762
+ add_location(input1, file, 11333, 6, 328818);
4763
4763
  attr_dev(div2, "class", "PlayerPhoneNumber");
4764
- add_location(div2, file, 11325, 6, 328592);
4764
+ add_location(div2, file, 11323, 6, 328408);
4765
4765
  attr_dev(div3, "class", "PlayerInfoBox");
4766
- add_location(div3, file, 11323, 4, 328530);
4767
- add_location(label2, file, 11339, 6, 329311);
4766
+ add_location(div3, file, 11321, 4, 328346);
4767
+ add_location(label2, file, 11337, 6, 329127);
4768
4768
  attr_dev(input2, "type", "email");
4769
4769
  attr_dev(input2, "class", "FieldDisabled");
4770
4770
  input2.value = /*email*/ ctx[18];
4771
4771
  input2.readOnly = true;
4772
- add_location(input2, file, 11340, 6, 329339);
4772
+ add_location(input2, file, 11338, 6, 329155);
4773
4773
  attr_dev(div4, "class", "PlayerInfoBox");
4774
- add_location(div4, file, 11338, 4, 329277);
4775
- add_location(label3, file, 11343, 6, 329456);
4774
+ add_location(div4, file, 11336, 4, 329093);
4775
+ add_location(label3, file, 11341, 6, 329272);
4776
4776
  attr_dev(input3, "type", "text");
4777
4777
 
4778
4778
  attr_dev(input3, "placeholder", input3_placeholder_value = /*noPlayerData*/ ctx[0]
4779
4779
  ? /*securityQuestion*/ ctx[31]
4780
4780
  : "");
4781
4781
 
4782
- add_location(input3, file, 11344, 6, 329496);
4782
+ add_location(input3, file, 11342, 6, 329312);
4783
4783
  attr_dev(div5, "class", "PlayerInfoBox");
4784
- add_location(div5, file, 11342, 4, 329422);
4785
- add_location(label4, file, 11347, 6, 329681);
4784
+ add_location(div5, file, 11340, 4, 329238);
4785
+ add_location(label4, file, 11345, 6, 329497);
4786
4786
  attr_dev(input4, "type", "text");
4787
4787
  attr_dev(input4, "class", "FieldDisabled");
4788
4788
  input4.value = /*firstname*/ ctx[19];
4789
4789
  input4.readOnly = true;
4790
- add_location(input4, file, 11348, 6, 329714);
4790
+ add_location(input4, file, 11346, 6, 329530);
4791
4791
  attr_dev(div6, "class", "PlayerInfoBox");
4792
- add_location(div6, file, 11346, 4, 329647);
4793
- add_location(label5, file, 11351, 6, 329834);
4792
+ add_location(div6, file, 11344, 4, 329463);
4793
+ add_location(label5, file, 11349, 6, 329650);
4794
4794
  attr_dev(input5, "type", "text");
4795
4795
 
4796
4796
  attr_dev(input5, "placeholder", input5_placeholder_value = /*noPlayerData*/ ctx[0]
4797
4797
  ? /*securityAnswer*/ ctx[30]
4798
4798
  : "");
4799
4799
 
4800
- add_location(input5, file, 11352, 6, 329872);
4800
+ add_location(input5, file, 11350, 6, 329688);
4801
4801
  attr_dev(div7, "class", "PlayerInfoBox");
4802
- add_location(div7, file, 11350, 4, 329800);
4803
- add_location(label6, file, 11355, 6, 330053);
4802
+ add_location(div7, file, 11348, 4, 329616);
4803
+ add_location(label6, file, 11353, 6, 329869);
4804
4804
  attr_dev(input6, "type", "text");
4805
4805
  attr_dev(input6, "class", "FieldDisabled");
4806
4806
  input6.value = /*lastname*/ ctx[21];
4807
4807
  input6.readOnly = true;
4808
- add_location(input6, file, 11356, 6, 330085);
4808
+ add_location(input6, file, 11354, 6, 329901);
4809
4809
  attr_dev(div8, "class", "PlayerInfoBox");
4810
- add_location(div8, file, 11354, 4, 330019);
4811
- add_location(label7, file, 11359, 6, 330204);
4810
+ add_location(div8, file, 11352, 4, 329835);
4811
+ add_location(label7, file, 11357, 6, 330020);
4812
4812
  attr_dev(input7, "type", "text");
4813
4813
  attr_dev(input7, "class", "FieldDisabled");
4814
4814
  input7.value = /*birth*/ ctx[14];
4815
4815
  input7.readOnly = true;
4816
- add_location(input7, file, 11360, 4, 330238);
4816
+ add_location(input7, file, 11358, 4, 330054);
4817
4817
  attr_dev(div9, "class", "PlayerInfoBox");
4818
- add_location(div9, file, 11358, 4, 330170);
4819
- add_location(label8, file, 11363, 6, 330354);
4818
+ add_location(div9, file, 11356, 4, 329986);
4819
+ add_location(label8, file, 11361, 6, 330170);
4820
4820
  attr_dev(input8, "type", "text");
4821
4821
  attr_dev(input8, "class", "FieldDisabled");
4822
4822
  input8.value = /*currency*/ ctx[16];
4823
4823
  input8.readOnly = true;
4824
- add_location(input8, file, 11364, 6, 330385);
4824
+ add_location(input8, file, 11362, 6, 330201);
4825
4825
  attr_dev(div10, "class", "PlayerInfoBox");
4826
- add_location(div10, file, 11362, 4, 330320);
4827
- add_location(label9, file, 11367, 6, 330504);
4826
+ add_location(div10, file, 11360, 4, 330136);
4827
+ add_location(label9, file, 11365, 6, 330320);
4828
4828
  attr_dev(input9, "type", "text");
4829
4829
  attr_dev(input9, "class", "FieldDisabled");
4830
4830
  input9.value = /*gender*/ ctx[20];
4831
4831
  input9.readOnly = true;
4832
- add_location(input9, file, 11368, 6, 330533);
4832
+ add_location(input9, file, 11366, 6, 330349);
4833
4833
  attr_dev(div11, "class", "PlayerInfoBox");
4834
- add_location(div11, file, 11366, 4, 330470);
4834
+ add_location(div11, file, 11364, 4, 330286);
4835
4835
  attr_dev(section0, "class", "PlayerDetailsContent");
4836
- add_location(section0, file, 11318, 2, 328336);
4837
- add_location(h31, file, 11373, 4, 330667);
4836
+ add_location(section0, file, 11316, 2, 328152);
4837
+ add_location(h31, file, 11371, 4, 330483);
4838
4838
  attr_dev(div12, "class", "PlayerLocationHeader");
4839
- add_location(div12, file, 11372, 2, 330628);
4840
- add_location(label10, file, 11377, 6, 330782);
4839
+ add_location(div12, file, 11370, 2, 330444);
4840
+ add_location(label10, file, 11375, 6, 330598);
4841
4841
  attr_dev(input10, "type", "text");
4842
4842
  attr_dev(input10, "class", "PlayerCountry FieldDisabled");
4843
4843
  attr_dev(input10, "placeholder", /*country*/ ctx[15]);
4844
4844
  input10.value = input10_value_value = /*selectedCountry*/ ctx[11].name;
4845
4845
  input10.readOnly = true;
4846
- add_location(input10, file, 11378, 6, 330812);
4846
+ add_location(input10, file, 11376, 6, 330628);
4847
4847
  attr_dev(div13, "class", "PlayerInfoBox");
4848
- add_location(div13, file, 11376, 4, 330748);
4849
- add_location(label11, file, 11381, 6, 330979);
4848
+ add_location(div13, file, 11374, 4, 330564);
4849
+ add_location(label11, file, 11379, 6, 330795);
4850
4850
  attr_dev(input11, "type", "text");
4851
4851
  attr_dev(input11, "placeholder", input11_placeholder_value = /*noPlayerData*/ ctx[0] ? /*city*/ ctx[28] : "");
4852
4852
 
@@ -4854,10 +4854,10 @@
4854
4854
  ? ""
4855
4855
  : /*initialValuesArray*/ ctx[13].city;
4856
4856
 
4857
- add_location(input11, file, 11382, 4, 331004);
4857
+ add_location(input11, file, 11380, 4, 330820);
4858
4858
  attr_dev(div14, "class", "PlayerInfoBox");
4859
- add_location(div14, file, 11380, 4, 330945);
4860
- add_location(label12, file, 11385, 6, 331224);
4859
+ add_location(div14, file, 11378, 4, 330761);
4860
+ add_location(label12, file, 11383, 6, 331040);
4861
4861
  attr_dev(input12, "placeholder", /*address1*/ ctx[27]);
4862
4862
  attr_dev(input12, "type", "text");
4863
4863
 
@@ -4865,10 +4865,10 @@
4865
4865
  ? ""
4866
4866
  : /*initialValuesArray*/ ctx[13].address;
4867
4867
 
4868
- add_location(input12, file, 11386, 4, 331252);
4868
+ add_location(input12, file, 11384, 4, 331068);
4869
4869
  attr_dev(div15, "class", "PlayerInfoBox");
4870
- add_location(div15, file, 11384, 4, 331190);
4871
- add_location(label13, file, 11389, 6, 331462);
4870
+ add_location(div15, file, 11382, 4, 331006);
4871
+ add_location(label13, file, 11387, 6, 331278);
4872
4872
  attr_dev(input13, "type", "number");
4873
4873
  attr_dev(input13, "placeholder", input13_placeholder_value = /*noPlayerData*/ ctx[0] ? /*postalCode*/ ctx[29] : "");
4874
4874
 
@@ -4876,62 +4876,62 @@
4876
4876
  ? ""
4877
4877
  : /*initialValuesArray*/ ctx[13].postalCode;
4878
4878
 
4879
- add_location(input13, file, 11390, 6, 331496);
4879
+ add_location(input13, file, 11388, 6, 331312);
4880
4880
  attr_dev(div16, "class", "PlayerInfoBox");
4881
- add_location(div16, file, 11388, 4, 331428);
4881
+ add_location(div16, file, 11386, 4, 331244);
4882
4882
  attr_dev(section1, "class", "PlayerLocationContent");
4883
- add_location(section1, file, 11375, 2, 330704);
4884
- add_location(h32, file, 11395, 4, 331758);
4883
+ add_location(section1, file, 11373, 2, 330520);
4884
+ add_location(h32, file, 11393, 4, 331574);
4885
4885
  attr_dev(div17, "class", "PlayerNotificationsHeader");
4886
- add_location(div17, file, 11394, 2, 331714);
4886
+ add_location(div17, file, 11392, 2, 331530);
4887
4887
  attr_dev(input14, "type", "checkbox");
4888
4888
  attr_dev(input14, "id", "SMSNotification");
4889
4889
  attr_dev(input14, "name", "Enable SMS notifications");
4890
- add_location(input14, file, 11400, 8, 331926);
4890
+ add_location(input14, file, 11398, 8, 331742);
4891
4891
  attr_dev(span0, "class", "Checkmark");
4892
- add_location(span0, file, 11401, 8, 332072);
4893
- add_location(span1, file, 11402, 8, 332112);
4892
+ add_location(span0, file, 11399, 8, 331888);
4893
+ add_location(span1, file, 11400, 8, 331928);
4894
4894
  attr_dev(label14, "for", "SMSNotification");
4895
- add_location(label14, file, 11399, 6, 331888);
4895
+ add_location(label14, file, 11397, 6, 331704);
4896
4896
  attr_dev(div18, "class", "PlayerNotificationBox");
4897
- add_location(div18, file, 11398, 4, 331846);
4897
+ add_location(div18, file, 11396, 4, 331662);
4898
4898
  attr_dev(input15, "type", "checkbox");
4899
4899
  attr_dev(input15, "id", "EmailNotification");
4900
4900
  attr_dev(input15, "name", "Enable Emails");
4901
- add_location(input15, file, 11407, 8, 332262);
4901
+ add_location(input15, file, 11405, 8, 332078);
4902
4902
  attr_dev(span2, "class", "Checkmark");
4903
- add_location(span2, file, 11408, 8, 332400);
4904
- add_location(span3, file, 11409, 8, 332440);
4903
+ add_location(span2, file, 11406, 8, 332216);
4904
+ add_location(span3, file, 11407, 8, 332256);
4905
4905
  attr_dev(label15, "for", "EmailNotification");
4906
- add_location(label15, file, 11406, 6, 332222);
4906
+ add_location(label15, file, 11404, 6, 332038);
4907
4907
  attr_dev(div19, "class", "PlayerNotificationBox");
4908
- add_location(div19, file, 11405, 4, 332180);
4908
+ add_location(div19, file, 11403, 4, 331996);
4909
4909
  attr_dev(section2, "class", "PlayerNotificationsCheckboxArea");
4910
- add_location(section2, file, 11397, 2, 331792);
4910
+ add_location(section2, file, 11395, 2, 331608);
4911
4911
 
4912
4912
  attr_dev(div20, "class", div20_class_value = "PlayerDetailsSaveButton " + (/*differencesExist*/ ctx[10]
4913
4913
  ? ""
4914
4914
  : "PlayerButtonDisabled"));
4915
4915
 
4916
- add_location(div20, file, 11414, 4, 332606);
4916
+ add_location(div20, file, 11412, 4, 332422);
4917
4917
 
4918
4918
  attr_dev(div21, "class", div21_class_value = "PlayerDetailsCancelButton " + (/*differencesExist*/ ctx[10]
4919
4919
  ? ""
4920
4920
  : "PlayerButtonDisabled"));
4921
4921
 
4922
- add_location(div21, file, 11415, 4, 332751);
4922
+ add_location(div21, file, 11413, 4, 332567);
4923
4923
 
4924
4924
  attr_dev(section3, "class", "PlayerDetailsButtonsArea " + (/*isMobile*/ ctx[24]
4925
4925
  ? "PlayerDetailsButtonsAreaMobile"
4926
4926
  : ""));
4927
4927
 
4928
- add_location(section3, file, 11413, 2, 332508);
4928
+ add_location(section3, file, 11411, 2, 332324);
4929
4929
 
4930
4930
  attr_dev(form, "class", "PlayerInfoWrapper " + (/*isMobile*/ ctx[24] ? "PlayerInfoWrapperMobile" : "") + " " + (/*mediaQuery*/ ctx[25].matches && /*isMobile*/ ctx[24]
4931
4931
  ? "PlayerInfoWrapperTablet"
4932
4932
  : ""));
4933
4933
 
4934
- add_location(form, file, 11300, 0, 327465);
4934
+ add_location(form, file, 11298, 0, 327281);
4935
4935
  },
4936
4936
  m: function mount(target, anchor) {
4937
4937
  insert_dev(target, form, anchor);
@@ -5257,14 +5257,14 @@
5257
5257
  block,
5258
5258
  id: create_else_block.name,
5259
5259
  type: "else",
5260
- source: "(11300:0) {:else}",
5260
+ source: "(11298:0) {:else}",
5261
5261
  ctx
5262
5262
  });
5263
5263
 
5264
5264
  return block;
5265
5265
  }
5266
5266
 
5267
- // (11298:0) {#if isLoading}
5267
+ // (11296:0) {#if isLoading}
5268
5268
  function create_if_block(ctx) {
5269
5269
  let div;
5270
5270
 
@@ -5272,7 +5272,7 @@
5272
5272
  c: function create() {
5273
5273
  div = element("div");
5274
5274
  attr_dev(div, "class", "ModalLoader");
5275
- add_location(div, file, 11298, 2, 327425);
5275
+ add_location(div, file, 11296, 2, 327241);
5276
5276
  },
5277
5277
  m: function mount(target, anchor) {
5278
5278
  insert_dev(target, div, anchor);
@@ -5287,14 +5287,14 @@
5287
5287
  block,
5288
5288
  id: create_if_block.name,
5289
5289
  type: "if",
5290
- source: "(11298:0) {#if isLoading}",
5290
+ source: "(11296:0) {#if isLoading}",
5291
5291
  ctx
5292
5292
  });
5293
5293
 
5294
5294
  return block;
5295
5295
  }
5296
5296
 
5297
- // (11303:2) {#if isMobile}
5297
+ // (11301:2) {#if isMobile}
5298
5298
  function create_if_block_3(ctx) {
5299
5299
  let div;
5300
5300
  let svg;
@@ -5322,25 +5322,25 @@
5322
5322
  t1 = space();
5323
5323
  h2 = element("h2");
5324
5324
  h2.textContent = "Profile Info";
5325
- add_location(style, file, 11304, 95, 327788);
5326
- add_location(defs, file, 11304, 89, 327782);
5325
+ add_location(style, file, 11302, 95, 327604);
5326
+ add_location(defs, file, 11302, 89, 327598);
5327
5327
  attr_dev(path, "class", "aaa");
5328
5328
  attr_dev(path, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z");
5329
5329
  attr_dev(path, "transform", "translate(15 15) rotate(180)");
5330
- add_location(path, file, 11306, 10, 327917);
5330
+ add_location(path, file, 11304, 10, 327733);
5331
5331
  attr_dev(g0, "transform", "translate(20 158)");
5332
- add_location(g0, file, 11305, 8, 327873);
5332
+ add_location(g0, file, 11303, 8, 327689);
5333
5333
  attr_dev(g1, "transform", "translate(-20 -158)");
5334
- add_location(g1, file, 11304, 136, 327829);
5334
+ add_location(g1, file, 11302, 136, 327645);
5335
5335
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
5336
5336
  attr_dev(svg, "width", "15");
5337
5337
  attr_dev(svg, "height", "15");
5338
5338
  attr_dev(svg, "viewBox", "0 0 15 15");
5339
- add_location(svg, file, 11304, 6, 327699);
5339
+ add_location(svg, file, 11302, 6, 327515);
5340
5340
  attr_dev(h2, "class", "ProfileInfoTitleMobile");
5341
- add_location(h2, file, 11309, 6, 328089);
5341
+ add_location(h2, file, 11307, 6, 327905);
5342
5342
  attr_dev(div, "class", "MenuReturnButton");
5343
- add_location(div, file, 11303, 4, 327630);
5343
+ add_location(div, file, 11301, 4, 327446);
5344
5344
  },
5345
5345
  m: function mount(target, anchor) {
5346
5346
  insert_dev(target, div, anchor);
@@ -5371,14 +5371,14 @@
5371
5371
  block,
5372
5372
  id: create_if_block_3.name,
5373
5373
  type: "if",
5374
- source: "(11303:2) {#if isMobile}",
5374
+ source: "(11301:2) {#if isMobile}",
5375
5375
  ctx
5376
5376
  });
5377
5377
 
5378
5378
  return block;
5379
5379
  }
5380
5380
 
5381
- // (11331:12) {:else}
5381
+ // (11329:12) {:else}
5382
5382
  function create_else_block_1(ctx) {
5383
5383
  let option;
5384
5384
  let t_value = /*pref*/ ctx[64].callingCode + "";
@@ -5390,7 +5390,7 @@
5390
5390
  t = text(t_value);
5391
5391
  option.__value = /*pref*/ ctx[64].callingCode;
5392
5392
  option.value = option.__value;
5393
- add_location(option, file, 11331, 14, 328906);
5393
+ add_location(option, file, 11329, 14, 328722);
5394
5394
  },
5395
5395
  m: function mount(target, anchor) {
5396
5396
  insert_dev(target, option, anchor);
@@ -5406,14 +5406,14 @@
5406
5406
  block,
5407
5407
  id: create_else_block_1.name,
5408
5408
  type: "else",
5409
- source: "(11331:12) {:else}",
5409
+ source: "(11329:12) {:else}",
5410
5410
  ctx
5411
5411
  });
5412
5412
 
5413
5413
  return block;
5414
5414
  }
5415
5415
 
5416
- // (11329:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}
5416
+ // (11327:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}
5417
5417
  function create_if_block_2(ctx) {
5418
5418
  let option;
5419
5419
  let t_value = /*pref*/ ctx[64].callingCode + "";
@@ -5426,7 +5426,7 @@
5426
5426
  option.selected = true;
5427
5427
  option.__value = /*pref*/ ctx[64].callingCode;
5428
5428
  option.value = option.__value;
5429
- add_location(option, file, 11329, 14, 328827);
5429
+ add_location(option, file, 11327, 14, 328643);
5430
5430
  },
5431
5431
  m: function mount(target, anchor) {
5432
5432
  insert_dev(target, option, anchor);
@@ -5442,14 +5442,14 @@
5442
5442
  block,
5443
5443
  id: create_if_block_2.name,
5444
5444
  type: "if",
5445
- source: "(11329:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}",
5445
+ source: "(11327:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}",
5446
5446
  ctx
5447
5447
  });
5448
5448
 
5449
5449
  return block;
5450
5450
  }
5451
5451
 
5452
- // (11328:10) {#each prefixesArray as pref}
5452
+ // (11326:10) {#each prefixesArray as pref}
5453
5453
  function create_each_block(ctx) {
5454
5454
  let if_block_anchor;
5455
5455
 
@@ -5493,14 +5493,14 @@
5493
5493
  block,
5494
5494
  id: create_each_block.name,
5495
5495
  type: "each",
5496
- source: "(11328:10) {#each prefixesArray as pref}",
5496
+ source: "(11326:10) {#each prefixesArray as pref}",
5497
5497
  ctx
5498
5498
  });
5499
5499
 
5500
5500
  return block;
5501
5501
  }
5502
5502
 
5503
- // (11418:2) {#if showConfirmSave}
5503
+ // (11416:2) {#if showConfirmSave}
5504
5504
  function create_if_block_1(ctx) {
5505
5505
  let section;
5506
5506
  let p;
@@ -5511,9 +5511,9 @@
5511
5511
  p = element("p");
5512
5512
  p.textContent = "Your changes have been saved!";
5513
5513
  attr_dev(p, "class", "PlayerDetailsConfirmSaveText");
5514
- add_location(p, file, 11419, 6, 332977);
5514
+ add_location(p, file, 11417, 6, 332793);
5515
5515
  attr_dev(section, "class", "PlayerDetailsConfirmSave");
5516
- add_location(section, file, 11418, 4, 332928);
5516
+ add_location(section, file, 11416, 4, 332744);
5517
5517
  },
5518
5518
  m: function mount(target, anchor) {
5519
5519
  insert_dev(target, section, anchor);
@@ -5528,7 +5528,7 @@
5528
5528
  block,
5529
5529
  id: create_if_block_1.name,
5530
5530
  type: "if",
5531
- source: "(11418:2) {#if showConfirmSave}",
5531
+ source: "(11416:2) {#if showConfirmSave}",
5532
5532
  ctx
5533
5533
  });
5534
5534
 
@@ -18030,48 +18030,40 @@
18030
18030
  if (e.data) {
18031
18031
  switch (e.data.type) {
18032
18032
  case "ProfileDetailsData":
18033
- if (e.data) {
18034
- $$invalidate(0, noPlayerData = false);
18035
- profileDetails = e.data.profileDetails;
18036
-
18037
- // readonly field values
18038
- $$invalidate(22, username = profileDetails.username);
18039
-
18040
- $$invalidate(17, mobile = profileDetails.mobile);
18041
- $$invalidate(18, email = profileDetails.email);
18042
- $$invalidate(19, firstname = profileDetails.firstname);
18043
- $$invalidate(21, lastname = profileDetails.lastname);
18044
- language = profileDetails.language;
18045
- $$invalidate(14, birth = profileDetails.birth.day + "/" + profileDetails.birth.month + "/" + profileDetails.birth.year);
18046
- $$invalidate(16, currency = profileDetails.currency);
18047
- $$invalidate(20, gender = profileDetails.gender);
18048
- $$invalidate(15, country = profileDetails.country);
18049
-
18050
- // match country code to country name
18051
- $$invalidate(11, selectedCountry = countriesArray.find(country => country.code === profileDetails.country));
18052
-
18053
- // editable field values used for bindings
18054
- $$invalidate(4, giveConsentSMS = profileDetails.consents.acceptSMSOffers);
18055
-
18056
- $$invalidate(5, giveConsentEmail = profileDetails.consents.acceptNewsEmail);
18057
- $$invalidate(6, playerQuestion = profileDetails.securityQuestion);
18058
- $$invalidate(7, playerAnswer = profileDetails.securityAnswer);
18059
- $$invalidate(8, playerPrefix = profileDetails.mobile.prefix);
18060
- $$invalidate(9, playerMobileNumber = profileDetails.mobile.number);
18061
-
18062
- // set values for the initial editable values object
18063
- $$invalidate(13, initialValuesArray = {
18064
- address: profileDetails.address1,
18065
- city: profileDetails.city,
18066
- acceptNewsEmail: profileDetails.consents.acceptNewsEmail,
18067
- acceptSMSOffers: profileDetails.consents.acceptSMSOffers,
18068
- mobilePrefix: mobile.prefix,
18069
- mobileNumber: mobile.number,
18070
- postalCode: profileDetails.postalCode,
18071
- securityAnswer: profileDetails.securityAnswer,
18072
- securityQuestion: profileDetails.securityQuestion
18073
- });
18074
- }
18033
+ $$invalidate(0, noPlayerData = false);
18034
+ profileDetails = e.data.profileDetails;
18035
+ // readonly field values
18036
+ $$invalidate(22, username = profileDetails.username);
18037
+ $$invalidate(17, mobile = profileDetails.mobile);
18038
+ $$invalidate(18, email = profileDetails.email);
18039
+ $$invalidate(19, firstname = profileDetails.firstname);
18040
+ $$invalidate(21, lastname = profileDetails.lastname);
18041
+ language = profileDetails.language;
18042
+ $$invalidate(14, birth = profileDetails.birth.day + "/" + profileDetails.birth.month + "/" + profileDetails.birth.year);
18043
+ $$invalidate(16, currency = profileDetails.currency);
18044
+ $$invalidate(20, gender = profileDetails.gender);
18045
+ $$invalidate(15, country = profileDetails.country);
18046
+ // match country code to country name
18047
+ $$invalidate(11, selectedCountry = countriesArray.find(country => country.code === profileDetails.country));
18048
+ // editable field values used for bindings
18049
+ $$invalidate(4, giveConsentSMS = profileDetails.consents.acceptSMSOffers);
18050
+ $$invalidate(5, giveConsentEmail = profileDetails.consents.acceptNewsEmail);
18051
+ $$invalidate(6, playerQuestion = profileDetails.securityQuestion);
18052
+ $$invalidate(7, playerAnswer = profileDetails.securityAnswer);
18053
+ $$invalidate(8, playerPrefix = profileDetails.mobile.prefix);
18054
+ $$invalidate(9, playerMobileNumber = profileDetails.mobile.number);
18055
+ // set values for the initial editable values object
18056
+ $$invalidate(13, initialValuesArray = {
18057
+ address: profileDetails.address1,
18058
+ city: profileDetails.city,
18059
+ acceptNewsEmail: profileDetails.consents.acceptNewsEmail,
18060
+ acceptSMSOffers: profileDetails.consents.acceptSMSOffers,
18061
+ mobilePrefix: mobile.prefix,
18062
+ mobileNumber: mobile.number,
18063
+ postalCode: profileDetails.postalCode,
18064
+ securityAnswer: profileDetails.securityAnswer,
18065
+ securityQuestion: profileDetails.securityQuestion
18066
+ });
18075
18067
  break;
18076
18068
  case "ConfirmProfileInfoSave":
18077
18069
  $$invalidate(10, differencesExist = false);