@everymatrix/player-change-password 0.0.166 → 0.0.170

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.
@@ -354,6 +354,13 @@
354
354
  else
355
355
  dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value });
356
356
  }
357
+ function set_data_dev(text, data) {
358
+ data = '' + data;
359
+ if (text.wholeText === data)
360
+ return;
361
+ dispatch_dev('SvelteDOMSetData', { node: text, data });
362
+ text.data = data;
363
+ }
357
364
  function validate_slots(name, slot, keys) {
358
365
  for (const slot_key of Object.keys(slot)) {
359
366
  if (!~keys.indexOf(slot_key)) {
@@ -4425,7 +4432,7 @@
4425
4432
  /* src/PlayerChangePassword.svelte generated by Svelte v3.37.0 */
4426
4433
  const file = "src/PlayerChangePassword.svelte";
4427
4434
 
4428
- // (119:0) {:else}
4435
+ // (125:0) {:else}
4429
4436
  function create_else_block(ctx) {
4430
4437
  let form;
4431
4438
 
@@ -4442,13 +4449,13 @@
4442
4449
  form = element("form");
4443
4450
  if_block.c();
4444
4451
 
4445
- attr_dev(form, "class", "PlayerChangePasswordWrapper " + (/*isMobile*/ ctx[16]
4452
+ attr_dev(form, "class", "PlayerChangePasswordWrapper " + (/*isMobile*/ ctx[18]
4446
4453
  ? "PlayerChangePasswordWrapperMobile"
4447
- : "") + " " + (/*mediaQuery*/ ctx[17].matches && /*isMobile*/ ctx[16]
4454
+ : "") + " " + (/*mediaQuery*/ ctx[19].matches && /*isMobile*/ ctx[18]
4448
4455
  ? "PlayerChangePasswordWrapperTablet"
4449
4456
  : ""));
4450
4457
 
4451
- add_location(form, file, 119, 2, 3858);
4458
+ add_location(form, file, 125, 2, 4139);
4452
4459
  },
4453
4460
  m: function mount(target, anchor) {
4454
4461
  insert_dev(target, form, anchor);
@@ -4477,14 +4484,14 @@
4477
4484
  block,
4478
4485
  id: create_else_block.name,
4479
4486
  type: "else",
4480
- source: "(119:0) {:else}",
4487
+ source: "(125:0) {:else}",
4481
4488
  ctx
4482
4489
  });
4483
4490
 
4484
4491
  return block;
4485
4492
  }
4486
4493
 
4487
- // (117:0) {#if isLoading}
4494
+ // (123:0) {#if isLoading}
4488
4495
  function create_if_block(ctx) {
4489
4496
  let div;
4490
4497
 
@@ -4492,7 +4499,7 @@
4492
4499
  c: function create() {
4493
4500
  div = element("div");
4494
4501
  attr_dev(div, "class", "ModalLoader");
4495
- add_location(div, file, 117, 2, 3816);
4502
+ add_location(div, file, 123, 2, 4097);
4496
4503
  },
4497
4504
  m: function mount(target, anchor) {
4498
4505
  insert_dev(target, div, anchor);
@@ -4507,14 +4514,14 @@
4507
4514
  block,
4508
4515
  id: create_if_block.name,
4509
4516
  type: "if",
4510
- source: "(117:0) {#if isLoading}",
4517
+ source: "(123:0) {#if isLoading}",
4511
4518
  ctx
4512
4519
  });
4513
4520
 
4514
4521
  return block;
4515
4522
  }
4516
4523
 
4517
- // (183:4) {:else}
4524
+ // (194:4) {:else}
4518
4525
  function create_else_block_4(ctx) {
4519
4526
  let t0;
4520
4527
  let div0;
@@ -4533,7 +4540,7 @@
4533
4540
  let div5;
4534
4541
  let mounted;
4535
4542
  let dispose;
4536
- let if_block = /*isMobile*/ ctx[16] && create_if_block_10(ctx);
4543
+ let if_block = /*isMobile*/ ctx[18] && create_if_block_11(ctx);
4537
4544
 
4538
4545
  const block = {
4539
4546
  c: function create() {
@@ -4557,23 +4564,23 @@
4557
4564
  t7 = space();
4558
4565
  div5 = element("div");
4559
4566
  div5.textContent = "Back to Casino";
4560
- add_location(h30, file, 197, 8, 17308);
4567
+ add_location(h30, file, 208, 8, 17736);
4561
4568
  attr_dev(div0, "class", "PlayerChangePasswordHeader");
4562
- add_location(div0, file, 196, 6, 17259);
4569
+ add_location(div0, file, 207, 6, 17687);
4563
4570
  attr_dev(div1, "class", "Checkmark");
4564
- add_location(div1, file, 202, 12, 17481);
4571
+ add_location(div1, file, 213, 12, 17909);
4565
4572
  attr_dev(div2, "class", "IconContainer");
4566
- add_location(div2, file, 201, 10, 17441);
4567
- add_location(h31, file, 205, 12, 17578);
4568
- add_location(p, file, 206, 12, 17614);
4573
+ add_location(div2, file, 212, 10, 17869);
4574
+ add_location(h31, file, 216, 12, 18006);
4575
+ add_location(p, file, 217, 12, 18042);
4569
4576
  attr_dev(div3, "class", "TextContainer");
4570
- add_location(div3, file, 204, 10, 17538);
4577
+ add_location(div3, file, 215, 10, 17966);
4571
4578
  attr_dev(div4, "class", "SuccessWrapper");
4572
- add_location(div4, file, 200, 8, 17402);
4579
+ add_location(div4, file, 211, 8, 17830);
4573
4580
  attr_dev(div5, "class", "PlayerChangePasswordBackButton");
4574
- add_location(div5, file, 209, 8, 17704);
4581
+ add_location(div5, file, 220, 8, 18132);
4575
4582
  attr_dev(div6, "class", "ChangedPasswordSuccessfully");
4576
- add_location(div6, file, 199, 6, 17352);
4583
+ add_location(div6, file, 210, 6, 17780);
4577
4584
  },
4578
4585
  m: function mount(target, anchor) {
4579
4586
  if (if_block) if_block.m(target, anchor);
@@ -4594,12 +4601,12 @@
4594
4601
  append_dev(div6, div5);
4595
4602
 
4596
4603
  if (!mounted) {
4597
- dispose = listen_dev(div5, "click", /*click_handler_9*/ ctx[38], false, false, false);
4604
+ dispose = listen_dev(div5, "click", /*click_handler_9*/ ctx[40], false, false, false);
4598
4605
  mounted = true;
4599
4606
  }
4600
4607
  },
4601
4608
  p: function update(ctx, dirty) {
4602
- if (/*isMobile*/ ctx[16]) if_block.p(ctx, dirty);
4609
+ if (/*isMobile*/ ctx[18]) if_block.p(ctx, dirty);
4603
4610
  },
4604
4611
  d: function destroy(detaching) {
4605
4612
  if (if_block) if_block.d(detaching);
@@ -4616,14 +4623,14 @@
4616
4623
  block,
4617
4624
  id: create_else_block_4.name,
4618
4625
  type: "else",
4619
- source: "(183:4) {:else}",
4626
+ source: "(194:4) {:else}",
4620
4627
  ctx
4621
4628
  });
4622
4629
 
4623
4630
  return block;
4624
4631
  }
4625
4632
 
4626
- // (121:4) {#if !passwordChanged}
4633
+ // (127:4) {#if !passwordChanged}
4627
4634
  function create_if_block_1(ctx) {
4628
4635
  let t0;
4629
4636
  let h2;
@@ -4654,26 +4661,27 @@
4654
4661
  let t16;
4655
4662
  let div2_class_value;
4656
4663
  let t17;
4664
+ let t18;
4657
4665
  let section1;
4658
4666
  let div3;
4659
- let t18;
4667
+ let t19;
4660
4668
  let div3_class_value;
4661
4669
  let div3_disabled_value;
4662
4670
  let mounted;
4663
4671
  let dispose;
4664
- let if_block0 = /*isMobile*/ ctx[16] && create_if_block_9(ctx);
4672
+ let if_block0 = /*isMobile*/ ctx[18] && create_if_block_10(ctx);
4665
4673
 
4666
4674
  function select_block_type_2(ctx, dirty) {
4667
- if (/*isCurrentPasswordVisible*/ ctx[8]) return create_if_block_8;
4675
+ if (/*isCurrentPasswordVisible*/ ctx[8]) return create_if_block_9;
4668
4676
  return create_else_block_3;
4669
4677
  }
4670
4678
 
4671
4679
  let current_block_type = select_block_type_2(ctx);
4672
4680
  let if_block1 = current_block_type(ctx);
4673
- let if_block2 = /*invalidCurrentPassword*/ ctx[2] && create_if_block_7(ctx);
4681
+ let if_block2 = /*invalidCurrentPassword*/ ctx[2] && create_if_block_8(ctx);
4674
4682
 
4675
4683
  function select_block_type_3(ctx, dirty) {
4676
- if (/*isNewPasswordVisible*/ ctx[9]) return create_if_block_6;
4684
+ if (/*isNewPasswordVisible*/ ctx[9]) return create_if_block_7;
4677
4685
  return create_else_block_2;
4678
4686
  }
4679
4687
 
@@ -4681,21 +4689,22 @@
4681
4689
  let if_block3 = current_block_type_1(ctx);
4682
4690
 
4683
4691
  function select_block_type_4(ctx, dirty) {
4684
- if (/*oldPasswordSameAsNew*/ ctx[11]) return create_if_block_4;
4685
- if (/*invalidNewPassword*/ ctx[3]) return create_if_block_5;
4692
+ if (/*oldPasswordSameAsNew*/ ctx[11]) return create_if_block_5;
4693
+ if (/*invalidNewPassword*/ ctx[3]) return create_if_block_6;
4686
4694
  }
4687
4695
 
4688
4696
  let current_block_type_2 = select_block_type_4(ctx);
4689
4697
  let if_block4 = current_block_type_2 && current_block_type_2(ctx);
4690
4698
 
4691
4699
  function select_block_type_5(ctx, dirty) {
4692
- if (/*isConfirmPasswordVisible*/ ctx[10]) return create_if_block_3;
4700
+ if (/*isConfirmPasswordVisible*/ ctx[10]) return create_if_block_4;
4693
4701
  return create_else_block_1;
4694
4702
  }
4695
4703
 
4696
4704
  let current_block_type_3 = select_block_type_5(ctx);
4697
4705
  let if_block5 = current_block_type_3(ctx);
4698
- let if_block6 = /*invalidConfirmPassword*/ ctx[4] && create_if_block_2(ctx);
4706
+ let if_block6 = /*invalidConfirmPassword*/ ctx[4] && create_if_block_3(ctx);
4707
+ let if_block7 = /*showErrorPasswordChanged*/ ctx[16] && create_if_block_2(ctx);
4699
4708
 
4700
4709
  const block = {
4701
4710
  c: function create() {
@@ -4735,39 +4744,41 @@
4735
4744
  t16 = space();
4736
4745
  if (if_block6) if_block6.c();
4737
4746
  t17 = space();
4747
+ if (if_block7) if_block7.c();
4748
+ t18 = space();
4738
4749
  section1 = element("section");
4739
4750
  div3 = element("div");
4740
- t18 = text("Change Password");
4741
- attr_dev(h2, "class", "ChangePasswordTitle " + (/*isMobile*/ ctx[16] ? "ChangePasswordTitleNone" : ""));
4742
- add_location(h2, file, 132, 6, 4665);
4751
+ t19 = text("Change Password");
4752
+ attr_dev(h2, "class", "ChangePasswordTitle " + (/*isMobile*/ ctx[18] ? "ChangePasswordTitleNone" : ""));
4753
+ add_location(h2, file, 138, 6, 4946);
4743
4754
  attr_dev(label0, "for", "CurrentPassword");
4744
- add_location(label0, file, 136, 10, 4920);
4755
+ add_location(label0, file, 142, 10, 5201);
4745
4756
  attr_dev(input0, "id", "CurrentPassword");
4746
4757
  attr_dev(input0, "type", "password");
4747
- add_location(input0, file, 137, 10, 4985);
4758
+ add_location(input0, file, 143, 10, 5266);
4748
4759
  attr_dev(div0, "class", div0_class_value = "PlayerChangePasswordBox " + (/*invalidCurrentPassword*/ ctx[2] ? "InvalidField" : ""));
4749
- add_location(div0, file, 135, 8, 4823);
4760
+ add_location(div0, file, 141, 8, 5104);
4750
4761
  attr_dev(label1, "for", "NewPassword");
4751
- add_location(label1, file, 148, 10, 8580);
4762
+ add_location(label1, file, 154, 10, 8861);
4752
4763
  attr_dev(input1, "id", "NewPassword");
4753
4764
  attr_dev(input1, "type", "password");
4754
- add_location(input1, file, 149, 10, 8637);
4765
+ add_location(input1, file, 155, 10, 8918);
4755
4766
  attr_dev(div1, "class", div1_class_value = "PlayerChangePasswordBox " + (/*invalidNewPassword*/ ctx[3] ? "InvalidField" : ""));
4756
- add_location(div1, file, 147, 8, 8487);
4767
+ add_location(div1, file, 153, 8, 8768);
4757
4768
  attr_dev(label2, "for", "ConfirmPassword");
4758
- add_location(label2, file, 162, 10, 12331);
4769
+ add_location(label2, file, 168, 10, 12612);
4759
4770
  attr_dev(input2, "id", "ConfirmPassword");
4760
4771
  attr_dev(input2, "type", "password");
4761
- add_location(input2, file, 163, 10, 12396);
4772
+ add_location(input2, file, 169, 10, 12677);
4762
4773
  attr_dev(div2, "class", div2_class_value = "PlayerChangePasswordBox " + (/*invalidConfirmPassword*/ ctx[4] ? "InvalidField" : ""));
4763
- add_location(div2, file, 161, 8, 12234);
4774
+ add_location(div2, file, 167, 8, 12515);
4764
4775
  attr_dev(section0, "class", "PlayerChangePasswordContent");
4765
- add_location(section0, file, 134, 6, 4769);
4776
+ add_location(section0, file, 140, 6, 5050);
4766
4777
  attr_dev(div3, "class", div3_class_value = "PlayerChangePasswordSaveButton " + (/*activateSubmit*/ ctx[1] ? "" : "ButtonInactive"));
4767
4778
  attr_dev(div3, "disabled", div3_disabled_value = !/*activateSubmit*/ ctx[1]);
4768
- add_location(div3, file, 175, 8, 15920);
4779
+ add_location(div3, file, 186, 8, 16348);
4769
4780
  attr_dev(section1, "class", "PlayerChangePasswordButtonsArea");
4770
- add_location(section1, file, 174, 6, 15862);
4781
+ add_location(section1, file, 185, 6, 16290);
4771
4782
  },
4772
4783
  m: function mount(target, anchor) {
4773
4784
  if (if_block0) if_block0.m(target, anchor);
@@ -4781,7 +4792,7 @@
4781
4792
  append_dev(div0, t4);
4782
4793
  append_dev(div0, input0);
4783
4794
  set_input_value(input0, /*userCurrentPassword*/ ctx[12]);
4784
- /*input0_binding*/ ctx[25](input0);
4795
+ /*input0_binding*/ ctx[27](input0);
4785
4796
  append_dev(div0, t5);
4786
4797
  if_block1.m(div0, null);
4787
4798
  append_dev(div0, t6);
@@ -4792,7 +4803,7 @@
4792
4803
  append_dev(div1, t9);
4793
4804
  append_dev(div1, input1);
4794
4805
  set_input_value(input1, /*userNewPassword*/ ctx[13]);
4795
- /*input1_binding*/ ctx[29](input1);
4806
+ /*input1_binding*/ ctx[31](input1);
4796
4807
  append_dev(div1, t10);
4797
4808
  if_block3.m(div1, null);
4798
4809
  append_dev(div1, t11);
@@ -4803,52 +4814,54 @@
4803
4814
  append_dev(div2, t14);
4804
4815
  append_dev(div2, input2);
4805
4816
  set_input_value(input2, /*userConfirmPassword*/ ctx[14]);
4806
- /*input2_binding*/ ctx[33](input2);
4817
+ /*input2_binding*/ ctx[35](input2);
4807
4818
  append_dev(div2, t15);
4808
4819
  if_block5.m(div2, null);
4809
4820
  append_dev(div2, t16);
4810
4821
  if (if_block6) if_block6.m(div2, null);
4811
4822
  insert_dev(target, t17, anchor);
4823
+ if (if_block7) if_block7.m(target, anchor);
4824
+ insert_dev(target, t18, anchor);
4812
4825
  insert_dev(target, section1, anchor);
4813
4826
  append_dev(section1, div3);
4814
- append_dev(div3, t18);
4827
+ append_dev(div3, t19);
4815
4828
 
4816
4829
  if (!mounted) {
4817
4830
  dispose = [
4818
- listen_dev(input0, "input", /*input0_input_handler*/ ctx[24]),
4831
+ listen_dev(input0, "input", /*input0_input_handler*/ ctx[26]),
4819
4832
  listen_dev(
4820
4833
  input0,
4821
4834
  "blur",
4822
4835
  function () {
4823
- if (is_function(/*validatePassword*/ ctx[19](/*invalidCurrentPassword*/ ctx[2], /*userCurrentPassword*/ ctx[12], /*currentPasswordVisibilityToggle*/ ctx[5]))) /*validatePassword*/ ctx[19](/*invalidCurrentPassword*/ ctx[2], /*userCurrentPassword*/ ctx[12], /*currentPasswordVisibilityToggle*/ ctx[5]).apply(this, arguments);
4836
+ if (is_function(/*validatePassword*/ ctx[21](/*invalidCurrentPassword*/ ctx[2], /*userCurrentPassword*/ ctx[12], /*currentPasswordVisibilityToggle*/ ctx[5]))) /*validatePassword*/ ctx[21](/*invalidCurrentPassword*/ ctx[2], /*userCurrentPassword*/ ctx[12], /*currentPasswordVisibilityToggle*/ ctx[5]).apply(this, arguments);
4824
4837
  },
4825
4838
  false,
4826
4839
  false,
4827
4840
  false
4828
4841
  ),
4829
- listen_dev(input1, "input", /*input1_input_handler*/ ctx[28]),
4842
+ listen_dev(input1, "input", /*input1_input_handler*/ ctx[30]),
4830
4843
  listen_dev(
4831
4844
  input1,
4832
4845
  "blur",
4833
4846
  function () {
4834
- if (is_function(/*validatePassword*/ ctx[19](/*invalidNewPassword*/ ctx[3], /*userNewPassword*/ ctx[13], /*newPasswordVisibilityToggle*/ ctx[6]))) /*validatePassword*/ ctx[19](/*invalidNewPassword*/ ctx[3], /*userNewPassword*/ ctx[13], /*newPasswordVisibilityToggle*/ ctx[6]).apply(this, arguments);
4847
+ if (is_function(/*validatePassword*/ ctx[21](/*invalidNewPassword*/ ctx[3], /*userNewPassword*/ ctx[13], /*newPasswordVisibilityToggle*/ ctx[6]))) /*validatePassword*/ ctx[21](/*invalidNewPassword*/ ctx[3], /*userNewPassword*/ ctx[13], /*newPasswordVisibilityToggle*/ ctx[6]).apply(this, arguments);
4835
4848
  },
4836
4849
  false,
4837
4850
  false,
4838
4851
  false
4839
4852
  ),
4840
- listen_dev(input2, "input", /*input2_input_handler*/ ctx[32]),
4853
+ listen_dev(input2, "input", /*input2_input_handler*/ ctx[34]),
4841
4854
  listen_dev(
4842
4855
  input2,
4843
4856
  "blur",
4844
4857
  function () {
4845
- if (is_function(/*validatePassword*/ ctx[19](/*invalidConfirmPassword*/ ctx[4], /*userConfirmPassword*/ ctx[14], /*confirmPasswordVisibilityToggle*/ ctx[7]))) /*validatePassword*/ ctx[19](/*invalidConfirmPassword*/ ctx[4], /*userConfirmPassword*/ ctx[14], /*confirmPasswordVisibilityToggle*/ ctx[7]).apply(this, arguments);
4858
+ if (is_function(/*validatePassword*/ ctx[21](/*invalidConfirmPassword*/ ctx[4], /*userConfirmPassword*/ ctx[14], /*confirmPasswordVisibilityToggle*/ ctx[7]))) /*validatePassword*/ ctx[21](/*invalidConfirmPassword*/ ctx[4], /*userConfirmPassword*/ ctx[14], /*confirmPasswordVisibilityToggle*/ ctx[7]).apply(this, arguments);
4846
4859
  },
4847
4860
  false,
4848
4861
  false,
4849
4862
  false
4850
4863
  ),
4851
- listen_dev(div3, "click", /*click_handler_7*/ ctx[36], false, false, false)
4864
+ listen_dev(div3, "click", /*click_handler_7*/ ctx[38], false, false, false)
4852
4865
  ];
4853
4866
 
4854
4867
  mounted = true;
@@ -4856,7 +4869,7 @@
4856
4869
  },
4857
4870
  p: function update(new_ctx, dirty) {
4858
4871
  ctx = new_ctx;
4859
- if (/*isMobile*/ ctx[16]) if_block0.p(ctx, dirty);
4872
+ if (/*isMobile*/ ctx[18]) if_block0.p(ctx, dirty);
4860
4873
 
4861
4874
  if (dirty[0] & /*userCurrentPassword*/ 4096 && input0.value !== /*userCurrentPassword*/ ctx[12]) {
4862
4875
  set_input_value(input0, /*userCurrentPassword*/ ctx[12]);
@@ -4876,7 +4889,7 @@
4876
4889
 
4877
4890
  if (/*invalidCurrentPassword*/ ctx[2]) {
4878
4891
  if (if_block2) ; else {
4879
- if_block2 = create_if_block_7(ctx);
4892
+ if_block2 = create_if_block_8(ctx);
4880
4893
  if_block2.c();
4881
4894
  if_block2.m(div0, null);
4882
4895
  }
@@ -4937,7 +4950,7 @@
4937
4950
 
4938
4951
  if (/*invalidConfirmPassword*/ ctx[4]) {
4939
4952
  if (if_block6) ; else {
4940
- if_block6 = create_if_block_2(ctx);
4953
+ if_block6 = create_if_block_3(ctx);
4941
4954
  if_block6.c();
4942
4955
  if_block6.m(div2, null);
4943
4956
  }
@@ -4950,6 +4963,19 @@
4950
4963
  attr_dev(div2, "class", div2_class_value);
4951
4964
  }
4952
4965
 
4966
+ if (/*showErrorPasswordChanged*/ ctx[16]) {
4967
+ if (if_block7) {
4968
+ if_block7.p(ctx, dirty);
4969
+ } else {
4970
+ if_block7 = create_if_block_2(ctx);
4971
+ if_block7.c();
4972
+ if_block7.m(t18.parentNode, t18);
4973
+ }
4974
+ } else if (if_block7) {
4975
+ if_block7.d(1);
4976
+ if_block7 = null;
4977
+ }
4978
+
4953
4979
  if (dirty[0] & /*activateSubmit*/ 2 && div3_class_value !== (div3_class_value = "PlayerChangePasswordSaveButton " + (/*activateSubmit*/ ctx[1] ? "" : "ButtonInactive"))) {
4954
4980
  attr_dev(div3, "class", div3_class_value);
4955
4981
  }
@@ -4964,20 +4990,22 @@
4964
4990
  if (detaching) detach_dev(h2);
4965
4991
  if (detaching) detach_dev(t2);
4966
4992
  if (detaching) detach_dev(section0);
4967
- /*input0_binding*/ ctx[25](null);
4993
+ /*input0_binding*/ ctx[27](null);
4968
4994
  if_block1.d();
4969
4995
  if (if_block2) if_block2.d();
4970
- /*input1_binding*/ ctx[29](null);
4996
+ /*input1_binding*/ ctx[31](null);
4971
4997
  if_block3.d();
4972
4998
 
4973
4999
  if (if_block4) {
4974
5000
  if_block4.d();
4975
5001
  }
4976
5002
 
4977
- /*input2_binding*/ ctx[33](null);
5003
+ /*input2_binding*/ ctx[35](null);
4978
5004
  if_block5.d();
4979
5005
  if (if_block6) if_block6.d();
4980
5006
  if (detaching) detach_dev(t17);
5007
+ if (if_block7) if_block7.d(detaching);
5008
+ if (detaching) detach_dev(t18);
4981
5009
  if (detaching) detach_dev(section1);
4982
5010
  mounted = false;
4983
5011
  run_all(dispose);
@@ -4988,15 +5016,15 @@
4988
5016
  block,
4989
5017
  id: create_if_block_1.name,
4990
5018
  type: "if",
4991
- source: "(121:4) {#if !passwordChanged}",
5019
+ source: "(127:4) {#if !passwordChanged}",
4992
5020
  ctx
4993
5021
  });
4994
5022
 
4995
5023
  return block;
4996
5024
  }
4997
5025
 
4998
- // (184:6) {#if isMobile}
4999
- function create_if_block_10(ctx) {
5026
+ // (195:6) {#if isMobile}
5027
+ function create_if_block_11(ctx) {
5000
5028
  let div;
5001
5029
  let svg;
5002
5030
  let g;
@@ -5017,8 +5045,8 @@
5017
5045
  span.textContent = "Return to menu";
5018
5046
  attr_dev(path, "id", "Chevron_Right");
5019
5047
  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");
5020
- add_location(path, file, 188, 14, 16837);
5021
- add_location(g, file, 187, 12, 16819);
5048
+ add_location(path, file, 199, 14, 17265);
5049
+ add_location(g, file, 198, 12, 17247);
5022
5050
  attr_dev(svg, "version", "1.1");
5023
5051
  attr_dev(svg, "id", "Capa_1");
5024
5052
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
@@ -5030,10 +5058,10 @@
5030
5058
  attr_dev(svg, "xml:space", "preserve");
5031
5059
  attr_dev(svg, "width", "18px");
5032
5060
  attr_dev(svg, "fill", "#58586B");
5033
- add_location(svg, file, 185, 10, 16539);
5034
- add_location(span, file, 193, 10, 17198);
5061
+ add_location(svg, file, 196, 10, 16967);
5062
+ add_location(span, file, 204, 10, 17626);
5035
5063
  attr_dev(div, "class", "MenuReturnButton");
5036
- add_location(div, file, 184, 8, 16466);
5064
+ add_location(div, file, 195, 8, 16894);
5037
5065
  },
5038
5066
  m: function mount(target, anchor) {
5039
5067
  insert_dev(target, div, anchor);
@@ -5044,7 +5072,7 @@
5044
5072
  append_dev(div, span);
5045
5073
 
5046
5074
  if (!mounted) {
5047
- dispose = listen_dev(div, "click", /*click_handler_8*/ ctx[37], false, false, false);
5075
+ dispose = listen_dev(div, "click", /*click_handler_8*/ ctx[39], false, false, false);
5048
5076
  mounted = true;
5049
5077
  }
5050
5078
  },
@@ -5058,17 +5086,17 @@
5058
5086
 
5059
5087
  dispatch_dev("SvelteRegisterBlock", {
5060
5088
  block,
5061
- id: create_if_block_10.name,
5089
+ id: create_if_block_11.name,
5062
5090
  type: "if",
5063
- source: "(184:6) {#if isMobile}",
5091
+ source: "(195:6) {#if isMobile}",
5064
5092
  ctx
5065
5093
  });
5066
5094
 
5067
5095
  return block;
5068
5096
  }
5069
5097
 
5070
- // (123:6) {#if isMobile}
5071
- function create_if_block_9(ctx) {
5098
+ // (129:6) {#if isMobile}
5099
+ function create_if_block_10(ctx) {
5072
5100
  let div;
5073
5101
  let svg;
5074
5102
  let defs;
@@ -5095,25 +5123,25 @@
5095
5123
  t1 = space();
5096
5124
  h2 = element("h2");
5097
5125
  h2.textContent = "Change Password";
5098
- add_location(style, file, 124, 99, 4252);
5099
- add_location(defs, file, 124, 93, 4246);
5126
+ add_location(style, file, 130, 99, 4533);
5127
+ add_location(defs, file, 130, 93, 4527);
5100
5128
  attr_dev(path, "class", "aaa");
5101
5129
  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");
5102
5130
  attr_dev(path, "transform", "translate(15 15) rotate(180)");
5103
- add_location(path, file, 126, 14, 4389);
5131
+ add_location(path, file, 132, 14, 4670);
5104
5132
  attr_dev(g0, "transform", "translate(20 158)");
5105
- add_location(g0, file, 125, 12, 4341);
5133
+ add_location(g0, file, 131, 12, 4622);
5106
5134
  attr_dev(g1, "transform", "translate(-20 -158)");
5107
- add_location(g1, file, 124, 140, 4293);
5135
+ add_location(g1, file, 130, 140, 4574);
5108
5136
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
5109
5137
  attr_dev(svg, "width", "15");
5110
5138
  attr_dev(svg, "height", "15");
5111
5139
  attr_dev(svg, "viewBox", "0 0 15 15");
5112
- add_location(svg, file, 124, 10, 4163);
5140
+ add_location(svg, file, 130, 10, 4444);
5113
5141
  attr_dev(h2, "class", "ChangePasswordTitleMobile");
5114
- add_location(h2, file, 129, 10, 4573);
5142
+ add_location(h2, file, 135, 10, 4854);
5115
5143
  attr_dev(div, "class", "MenuReturnButton");
5116
- add_location(div, file, 123, 8, 4090);
5144
+ add_location(div, file, 129, 8, 4371);
5117
5145
  },
5118
5146
  m: function mount(target, anchor) {
5119
5147
  insert_dev(target, div, anchor);
@@ -5128,7 +5156,7 @@
5128
5156
  append_dev(div, h2);
5129
5157
 
5130
5158
  if (!mounted) {
5131
- dispose = listen_dev(div, "click", /*click_handler*/ ctx[23], false, false, false);
5159
+ dispose = listen_dev(div, "click", /*click_handler*/ ctx[25], false, false, false);
5132
5160
  mounted = true;
5133
5161
  }
5134
5162
  },
@@ -5142,16 +5170,16 @@
5142
5170
 
5143
5171
  dispatch_dev("SvelteRegisterBlock", {
5144
5172
  block,
5145
- id: create_if_block_9.name,
5173
+ id: create_if_block_10.name,
5146
5174
  type: "if",
5147
- source: "(123:6) {#if isMobile}",
5175
+ source: "(129:6) {#if isMobile}",
5148
5176
  ctx
5149
5177
  });
5150
5178
 
5151
5179
  return block;
5152
5180
  }
5153
5181
 
5154
- // (141:10) {:else}
5182
+ // (147:10) {:else}
5155
5183
  function create_else_block_3(ctx) {
5156
5184
  let svg;
5157
5185
  let defs;
@@ -5173,26 +5201,26 @@
5173
5201
  g = svg_element("g");
5174
5202
  path = svg_element("path");
5175
5203
  circle = svg_element("circle");
5176
- add_location(style, file, 141, 249, 7286);
5177
- add_location(defs, file, 141, 243, 7280);
5204
+ add_location(style, file, 147, 249, 7567);
5205
+ add_location(defs, file, 147, 243, 7561);
5178
5206
  attr_dev(path, "class", "a");
5179
5207
  attr_dev(path, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z");
5180
5208
  attr_dev(path, "transform", "translate(0)");
5181
- add_location(path, file, 141, 327, 7364);
5209
+ add_location(path, file, 147, 327, 7645);
5182
5210
  attr_dev(circle, "class", "a");
5183
5211
  attr_dev(circle, "cx", "2.779");
5184
5212
  attr_dev(circle, "cy", "2.779");
5185
5213
  attr_dev(circle, "r", "2.779");
5186
5214
  attr_dev(circle, "transform", "translate(20.827 30.303)");
5187
- add_location(circle, file, 141, 1097, 8134);
5215
+ add_location(circle, file, 147, 1097, 8415);
5188
5216
  attr_dev(g, "transform", "translate(-14.185 -27.832)");
5189
- add_location(g, file, 141, 285, 7322);
5217
+ add_location(g, file, 147, 285, 7603);
5190
5218
  attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidCurrentPassword*/ ctx[2] ? "InvalidToggle" : ""));
5191
5219
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
5192
5220
  attr_dev(svg, "width", "18.843");
5193
5221
  attr_dev(svg, "height", "10.5");
5194
5222
  attr_dev(svg, "viewBox", "0 0 18.843 10.5");
5195
- add_location(svg, file, 141, 12, 7049);
5223
+ add_location(svg, file, 147, 12, 7330);
5196
5224
  },
5197
5225
  m: function mount(target, anchor) {
5198
5226
  insert_dev(target, svg, anchor);
@@ -5204,7 +5232,7 @@
5204
5232
  append_dev(g, circle);
5205
5233
 
5206
5234
  if (!mounted) {
5207
- dispose = listen_dev(svg, "click", /*click_handler_2*/ ctx[27], false, false, false);
5235
+ dispose = listen_dev(svg, "click", /*click_handler_2*/ ctx[29], false, false, false);
5208
5236
  mounted = true;
5209
5237
  }
5210
5238
  },
@@ -5224,15 +5252,15 @@
5224
5252
  block,
5225
5253
  id: create_else_block_3.name,
5226
5254
  type: "else",
5227
- source: "(141:10) {:else}",
5255
+ source: "(147:10) {:else}",
5228
5256
  ctx
5229
5257
  });
5230
5258
 
5231
5259
  return block;
5232
5260
  }
5233
5261
 
5234
- // (139:10) {#if isCurrentPasswordVisible}
5235
- function create_if_block_8(ctx) {
5262
+ // (145:10) {#if isCurrentPasswordVisible}
5263
+ function create_if_block_9(ctx) {
5236
5264
  let svg;
5237
5265
  let defs;
5238
5266
  let style;
@@ -5265,48 +5293,48 @@
5265
5293
  path2 = svg_element("path");
5266
5294
  path3 = svg_element("path");
5267
5295
  rect = svg_element("rect");
5268
- add_location(style, file, 139, 253, 5508);
5269
- add_location(defs, file, 139, 247, 5502);
5296
+ add_location(style, file, 145, 253, 5789);
5297
+ add_location(defs, file, 145, 247, 5783);
5270
5298
  attr_dev(circle, "class", "a");
5271
5299
  attr_dev(circle, "cx", "0.05");
5272
5300
  attr_dev(circle, "cy", "0.05");
5273
5301
  attr_dev(circle, "r", "0.05");
5274
5302
  attr_dev(circle, "transform", "translate(121.017 31.148)");
5275
- add_location(circle, file, 139, 332, 5587);
5303
+ add_location(circle, file, 145, 332, 5868);
5276
5304
  attr_dev(path0, "class", "a");
5277
5305
  attr_dev(path0, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z");
5278
5306
  attr_dev(path0, "transform", "translate(-142.164 -39.123)");
5279
- add_location(path0, file, 139, 458, 5713);
5307
+ add_location(path0, file, 145, 458, 5994);
5280
5308
  attr_dev(path1, "class", "a");
5281
5309
  attr_dev(path1, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z");
5282
5310
  attr_dev(path1, "transform", "translate(-136.413 -42.068)");
5283
- add_location(path1, file, 139, 566, 5821);
5311
+ add_location(path1, file, 145, 566, 6102);
5284
5312
  attr_dev(g0, "transform", "translate(117.499 27.37)");
5285
- add_location(g0, file, 139, 418, 5673);
5313
+ add_location(g0, file, 145, 418, 5954);
5286
5314
  attr_dev(path2, "class", "a");
5287
5315
  attr_dev(path2, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z");
5288
5316
  attr_dev(path2, "transform", "translate(-110.856 -33.157)");
5289
- add_location(path2, file, 139, 717, 5972);
5317
+ add_location(path2, file, 145, 717, 6253);
5290
5318
  attr_dev(path3, "class", "a");
5291
5319
  attr_dev(path3, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z");
5292
5320
  attr_dev(path3, "transform", "translate(-130.743 -29.617)");
5293
- add_location(path3, file, 139, 1176, 6431);
5321
+ add_location(path3, file, 145, 1176, 6712);
5294
5322
  attr_dev(g1, "transform", "translate(110.856 24.899)");
5295
- add_location(g1, file, 139, 676, 5931);
5323
+ add_location(g1, file, 145, 676, 6212);
5296
5324
  attr_dev(rect, "class", "a");
5297
5325
  attr_dev(rect, "width", "0.972");
5298
5326
  attr_dev(rect, "height", "15.861");
5299
5327
  attr_dev(rect, "rx", "0.486");
5300
5328
  attr_dev(rect, "transform", "translate(114.827 23.858) rotate(-39.315)");
5301
- add_location(rect, file, 139, 1641, 6896);
5329
+ add_location(rect, file, 145, 1641, 7177);
5302
5330
  attr_dev(g2, "transform", "translate(-110.856 -23.242)");
5303
- add_location(g2, file, 139, 289, 5544);
5331
+ add_location(g2, file, 145, 289, 5825);
5304
5332
  attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidCurrentPassword*/ ctx[2] ? "InvalidToggle" : ""));
5305
5333
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
5306
5334
  attr_dev(svg, "width", "18.844");
5307
5335
  attr_dev(svg, "height", "12.887");
5308
5336
  attr_dev(svg, "viewBox", "0 0 18.844 12.887");
5309
- add_location(svg, file, 139, 12, 5267);
5337
+ add_location(svg, file, 145, 12, 5548);
5310
5338
  },
5311
5339
  m: function mount(target, anchor) {
5312
5340
  insert_dev(target, svg, anchor);
@@ -5324,7 +5352,7 @@
5324
5352
  append_dev(g2, rect);
5325
5353
 
5326
5354
  if (!mounted) {
5327
- dispose = listen_dev(svg, "click", /*click_handler_1*/ ctx[26], false, false, false);
5355
+ dispose = listen_dev(svg, "click", /*click_handler_1*/ ctx[28], false, false, false);
5328
5356
  mounted = true;
5329
5357
  }
5330
5358
  },
@@ -5342,17 +5370,17 @@
5342
5370
 
5343
5371
  dispatch_dev("SvelteRegisterBlock", {
5344
5372
  block,
5345
- id: create_if_block_8.name,
5373
+ id: create_if_block_9.name,
5346
5374
  type: "if",
5347
- source: "(139:10) {#if isCurrentPasswordVisible}",
5375
+ source: "(145:10) {#if isCurrentPasswordVisible}",
5348
5376
  ctx
5349
5377
  });
5350
5378
 
5351
5379
  return block;
5352
5380
  }
5353
5381
 
5354
- // (144:10) {#if invalidCurrentPassword}
5355
- function create_if_block_7(ctx) {
5382
+ // (150:10) {#if invalidCurrentPassword}
5383
+ function create_if_block_8(ctx) {
5356
5384
  let p;
5357
5385
 
5358
5386
  const block = {
@@ -5360,7 +5388,7 @@
5360
5388
  p = element("p");
5361
5389
  p.textContent = "The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.";
5362
5390
  attr_dev(p, "class", "InvalidInput");
5363
- add_location(p, file, 144, 12, 8300);
5391
+ add_location(p, file, 150, 12, 8581);
5364
5392
  },
5365
5393
  m: function mount(target, anchor) {
5366
5394
  insert_dev(target, p, anchor);
@@ -5372,16 +5400,16 @@
5372
5400
 
5373
5401
  dispatch_dev("SvelteRegisterBlock", {
5374
5402
  block,
5375
- id: create_if_block_7.name,
5403
+ id: create_if_block_8.name,
5376
5404
  type: "if",
5377
- source: "(144:10) {#if invalidCurrentPassword}",
5405
+ source: "(150:10) {#if invalidCurrentPassword}",
5378
5406
  ctx
5379
5407
  });
5380
5408
 
5381
5409
  return block;
5382
5410
  }
5383
5411
 
5384
- // (153:10) {:else}
5412
+ // (159:10) {:else}
5385
5413
  function create_else_block_2(ctx) {
5386
5414
  let svg;
5387
5415
  let defs;
@@ -5403,26 +5431,26 @@
5403
5431
  g = svg_element("g");
5404
5432
  path = svg_element("path");
5405
5433
  circle = svg_element("circle");
5406
- add_location(style, file, 153, 241, 10894);
5407
- add_location(defs, file, 153, 235, 10888);
5434
+ add_location(style, file, 159, 241, 11175);
5435
+ add_location(defs, file, 159, 235, 11169);
5408
5436
  attr_dev(path, "class", "a");
5409
5437
  attr_dev(path, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z");
5410
5438
  attr_dev(path, "transform", "translate(0)");
5411
- add_location(path, file, 153, 319, 10972);
5439
+ add_location(path, file, 159, 319, 11253);
5412
5440
  attr_dev(circle, "class", "a");
5413
5441
  attr_dev(circle, "cx", "2.779");
5414
5442
  attr_dev(circle, "cy", "2.779");
5415
5443
  attr_dev(circle, "r", "2.779");
5416
5444
  attr_dev(circle, "transform", "translate(20.827 30.303)");
5417
- add_location(circle, file, 153, 1089, 11742);
5445
+ add_location(circle, file, 159, 1089, 12023);
5418
5446
  attr_dev(g, "transform", "translate(-14.185 -27.832)");
5419
- add_location(g, file, 153, 277, 10930);
5447
+ add_location(g, file, 159, 277, 11211);
5420
5448
  attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidNewPassword*/ ctx[3] ? "InvalidToggle" : ""));
5421
5449
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
5422
5450
  attr_dev(svg, "width", "18.843");
5423
5451
  attr_dev(svg, "height", "10.5");
5424
5452
  attr_dev(svg, "viewBox", "0 0 18.843 10.5");
5425
- add_location(svg, file, 153, 12, 10665);
5453
+ add_location(svg, file, 159, 12, 10946);
5426
5454
  },
5427
5455
  m: function mount(target, anchor) {
5428
5456
  insert_dev(target, svg, anchor);
@@ -5434,7 +5462,7 @@
5434
5462
  append_dev(g, circle);
5435
5463
 
5436
5464
  if (!mounted) {
5437
- dispose = listen_dev(svg, "click", /*click_handler_4*/ ctx[31], false, false, false);
5465
+ dispose = listen_dev(svg, "click", /*click_handler_4*/ ctx[33], false, false, false);
5438
5466
  mounted = true;
5439
5467
  }
5440
5468
  },
@@ -5454,15 +5482,15 @@
5454
5482
  block,
5455
5483
  id: create_else_block_2.name,
5456
5484
  type: "else",
5457
- source: "(153:10) {:else}",
5485
+ source: "(159:10) {:else}",
5458
5486
  ctx
5459
5487
  });
5460
5488
 
5461
5489
  return block;
5462
5490
  }
5463
5491
 
5464
- // (151:10) {#if isNewPasswordVisible}
5465
- function create_if_block_6(ctx) {
5492
+ // (157:10) {#if isNewPasswordVisible}
5493
+ function create_if_block_7(ctx) {
5466
5494
  let svg;
5467
5495
  let defs;
5468
5496
  let style;
@@ -5495,48 +5523,48 @@
5495
5523
  path2 = svg_element("path");
5496
5524
  path3 = svg_element("path");
5497
5525
  rect = svg_element("rect");
5498
- add_location(style, file, 151, 245, 9124);
5499
- add_location(defs, file, 151, 239, 9118);
5526
+ add_location(style, file, 157, 245, 9405);
5527
+ add_location(defs, file, 157, 239, 9399);
5500
5528
  attr_dev(circle, "class", "a");
5501
5529
  attr_dev(circle, "cx", "0.05");
5502
5530
  attr_dev(circle, "cy", "0.05");
5503
5531
  attr_dev(circle, "r", "0.05");
5504
5532
  attr_dev(circle, "transform", "translate(121.017 31.148)");
5505
- add_location(circle, file, 151, 324, 9203);
5533
+ add_location(circle, file, 157, 324, 9484);
5506
5534
  attr_dev(path0, "class", "a");
5507
5535
  attr_dev(path0, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z");
5508
5536
  attr_dev(path0, "transform", "translate(-142.164 -39.123)");
5509
- add_location(path0, file, 151, 450, 9329);
5537
+ add_location(path0, file, 157, 450, 9610);
5510
5538
  attr_dev(path1, "class", "a");
5511
5539
  attr_dev(path1, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z");
5512
5540
  attr_dev(path1, "transform", "translate(-136.413 -42.068)");
5513
- add_location(path1, file, 151, 558, 9437);
5541
+ add_location(path1, file, 157, 558, 9718);
5514
5542
  attr_dev(g0, "transform", "translate(117.499 27.37)");
5515
- add_location(g0, file, 151, 410, 9289);
5543
+ add_location(g0, file, 157, 410, 9570);
5516
5544
  attr_dev(path2, "class", "a");
5517
5545
  attr_dev(path2, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z");
5518
5546
  attr_dev(path2, "transform", "translate(-110.856 -33.157)");
5519
- add_location(path2, file, 151, 709, 9588);
5547
+ add_location(path2, file, 157, 709, 9869);
5520
5548
  attr_dev(path3, "class", "a");
5521
5549
  attr_dev(path3, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z");
5522
5550
  attr_dev(path3, "transform", "translate(-130.743 -29.617)");
5523
- add_location(path3, file, 151, 1168, 10047);
5551
+ add_location(path3, file, 157, 1168, 10328);
5524
5552
  attr_dev(g1, "transform", "translate(110.856 24.899)");
5525
- add_location(g1, file, 151, 668, 9547);
5553
+ add_location(g1, file, 157, 668, 9828);
5526
5554
  attr_dev(rect, "class", "a");
5527
5555
  attr_dev(rect, "width", "0.972");
5528
5556
  attr_dev(rect, "height", "15.861");
5529
5557
  attr_dev(rect, "rx", "0.486");
5530
5558
  attr_dev(rect, "transform", "translate(114.827 23.858) rotate(-39.315)");
5531
- add_location(rect, file, 151, 1633, 10512);
5559
+ add_location(rect, file, 157, 1633, 10793);
5532
5560
  attr_dev(g2, "transform", "translate(-110.856 -23.242)");
5533
- add_location(g2, file, 151, 281, 9160);
5561
+ add_location(g2, file, 157, 281, 9441);
5534
5562
  attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidNewPassword*/ ctx[3] ? "InvalidToggle" : ""));
5535
5563
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
5536
5564
  attr_dev(svg, "width", "18.844");
5537
5565
  attr_dev(svg, "height", "12.887");
5538
5566
  attr_dev(svg, "viewBox", "0 0 18.844 12.887");
5539
- add_location(svg, file, 151, 12, 8891);
5567
+ add_location(svg, file, 157, 12, 9172);
5540
5568
  },
5541
5569
  m: function mount(target, anchor) {
5542
5570
  insert_dev(target, svg, anchor);
@@ -5554,7 +5582,7 @@
5554
5582
  append_dev(g2, rect);
5555
5583
 
5556
5584
  if (!mounted) {
5557
- dispose = listen_dev(svg, "click", /*click_handler_3*/ ctx[30], false, false, false);
5585
+ dispose = listen_dev(svg, "click", /*click_handler_3*/ ctx[32], false, false, false);
5558
5586
  mounted = true;
5559
5587
  }
5560
5588
  },
@@ -5572,17 +5600,17 @@
5572
5600
 
5573
5601
  dispatch_dev("SvelteRegisterBlock", {
5574
5602
  block,
5575
- id: create_if_block_6.name,
5603
+ id: create_if_block_7.name,
5576
5604
  type: "if",
5577
- source: "(151:10) {#if isNewPasswordVisible}",
5605
+ source: "(157:10) {#if isNewPasswordVisible}",
5578
5606
  ctx
5579
5607
  });
5580
5608
 
5581
5609
  return block;
5582
5610
  }
5583
5611
 
5584
- // (158:39)
5585
- function create_if_block_5(ctx) {
5612
+ // (164:39)
5613
+ function create_if_block_6(ctx) {
5586
5614
  let p;
5587
5615
 
5588
5616
  const block = {
@@ -5590,7 +5618,7 @@
5590
5618
  p = element("p");
5591
5619
  p.textContent = "The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.";
5592
5620
  attr_dev(p, "class", "InvalidInput");
5593
- add_location(p, file, 158, 12, 12047);
5621
+ add_location(p, file, 164, 12, 12328);
5594
5622
  },
5595
5623
  m: function mount(target, anchor) {
5596
5624
  insert_dev(target, p, anchor);
@@ -5602,17 +5630,17 @@
5602
5630
 
5603
5631
  dispatch_dev("SvelteRegisterBlock", {
5604
5632
  block,
5605
- id: create_if_block_5.name,
5633
+ id: create_if_block_6.name,
5606
5634
  type: "if",
5607
- source: "(158:39) ",
5635
+ source: "(164:39) ",
5608
5636
  ctx
5609
5637
  });
5610
5638
 
5611
5639
  return block;
5612
5640
  }
5613
5641
 
5614
- // (156:10) {#if oldPasswordSameAsNew}
5615
- function create_if_block_4(ctx) {
5642
+ // (162:10) {#if oldPasswordSameAsNew}
5643
+ function create_if_block_5(ctx) {
5616
5644
  let p;
5617
5645
 
5618
5646
  const block = {
@@ -5620,7 +5648,7 @@
5620
5648
  p = element("p");
5621
5649
  p.textContent = "The new password must be different from the old password.";
5622
5650
  attr_dev(p, "class", "InvalidInputNew");
5623
- add_location(p, file, 156, 12, 11906);
5651
+ add_location(p, file, 162, 12, 12187);
5624
5652
  },
5625
5653
  m: function mount(target, anchor) {
5626
5654
  insert_dev(target, p, anchor);
@@ -5632,16 +5660,16 @@
5632
5660
 
5633
5661
  dispatch_dev("SvelteRegisterBlock", {
5634
5662
  block,
5635
- id: create_if_block_4.name,
5663
+ id: create_if_block_5.name,
5636
5664
  type: "if",
5637
- source: "(156:10) {#if oldPasswordSameAsNew}",
5665
+ source: "(162:10) {#if oldPasswordSameAsNew}",
5638
5666
  ctx
5639
5667
  });
5640
5668
 
5641
5669
  return block;
5642
5670
  }
5643
5671
 
5644
- // (167:10) {:else}
5672
+ // (173:10) {:else}
5645
5673
  function create_else_block_1(ctx) {
5646
5674
  let svg;
5647
5675
  let defs;
@@ -5663,26 +5691,26 @@
5663
5691
  g = svg_element("g");
5664
5692
  path = svg_element("path");
5665
5693
  circle = svg_element("circle");
5666
- add_location(style, file, 167, 249, 14697);
5667
- add_location(defs, file, 167, 243, 14691);
5694
+ add_location(style, file, 173, 249, 14978);
5695
+ add_location(defs, file, 173, 243, 14972);
5668
5696
  attr_dev(path, "class", "a");
5669
5697
  attr_dev(path, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z");
5670
5698
  attr_dev(path, "transform", "translate(0)");
5671
- add_location(path, file, 167, 327, 14775);
5699
+ add_location(path, file, 173, 327, 15056);
5672
5700
  attr_dev(circle, "class", "a");
5673
5701
  attr_dev(circle, "cx", "2.779");
5674
5702
  attr_dev(circle, "cy", "2.779");
5675
5703
  attr_dev(circle, "r", "2.779");
5676
5704
  attr_dev(circle, "transform", "translate(20.827 30.303)");
5677
- add_location(circle, file, 167, 1097, 15545);
5705
+ add_location(circle, file, 173, 1097, 15826);
5678
5706
  attr_dev(g, "transform", "translate(-14.185 -27.832)");
5679
- add_location(g, file, 167, 285, 14733);
5707
+ add_location(g, file, 173, 285, 15014);
5680
5708
  attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidConfirmPassword*/ ctx[4] ? "InvalidToggle" : ""));
5681
5709
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
5682
5710
  attr_dev(svg, "width", "18.843");
5683
5711
  attr_dev(svg, "height", "10.5");
5684
5712
  attr_dev(svg, "viewBox", "0 0 18.843 10.5");
5685
- add_location(svg, file, 167, 12, 14460);
5713
+ add_location(svg, file, 173, 12, 14741);
5686
5714
  },
5687
5715
  m: function mount(target, anchor) {
5688
5716
  insert_dev(target, svg, anchor);
@@ -5694,7 +5722,7 @@
5694
5722
  append_dev(g, circle);
5695
5723
 
5696
5724
  if (!mounted) {
5697
- dispose = listen_dev(svg, "click", /*click_handler_6*/ ctx[35], false, false, false);
5725
+ dispose = listen_dev(svg, "click", /*click_handler_6*/ ctx[37], false, false, false);
5698
5726
  mounted = true;
5699
5727
  }
5700
5728
  },
@@ -5714,15 +5742,15 @@
5714
5742
  block,
5715
5743
  id: create_else_block_1.name,
5716
5744
  type: "else",
5717
- source: "(167:10) {:else}",
5745
+ source: "(173:10) {:else}",
5718
5746
  ctx
5719
5747
  });
5720
5748
 
5721
5749
  return block;
5722
5750
  }
5723
5751
 
5724
- // (165:10) {#if isConfirmPasswordVisible}
5725
- function create_if_block_3(ctx) {
5752
+ // (171:10) {#if isConfirmPasswordVisible}
5753
+ function create_if_block_4(ctx) {
5726
5754
  let svg;
5727
5755
  let defs;
5728
5756
  let style;
@@ -5755,48 +5783,48 @@
5755
5783
  path2 = svg_element("path");
5756
5784
  path3 = svg_element("path");
5757
5785
  rect = svg_element("rect");
5758
- add_location(style, file, 165, 253, 12919);
5759
- add_location(defs, file, 165, 247, 12913);
5786
+ add_location(style, file, 171, 253, 13200);
5787
+ add_location(defs, file, 171, 247, 13194);
5760
5788
  attr_dev(circle, "class", "a");
5761
5789
  attr_dev(circle, "cx", "0.05");
5762
5790
  attr_dev(circle, "cy", "0.05");
5763
5791
  attr_dev(circle, "r", "0.05");
5764
5792
  attr_dev(circle, "transform", "translate(121.017 31.148)");
5765
- add_location(circle, file, 165, 332, 12998);
5793
+ add_location(circle, file, 171, 332, 13279);
5766
5794
  attr_dev(path0, "class", "a");
5767
5795
  attr_dev(path0, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z");
5768
5796
  attr_dev(path0, "transform", "translate(-142.164 -39.123)");
5769
- add_location(path0, file, 165, 458, 13124);
5797
+ add_location(path0, file, 171, 458, 13405);
5770
5798
  attr_dev(path1, "class", "a");
5771
5799
  attr_dev(path1, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z");
5772
5800
  attr_dev(path1, "transform", "translate(-136.413 -42.068)");
5773
- add_location(path1, file, 165, 566, 13232);
5801
+ add_location(path1, file, 171, 566, 13513);
5774
5802
  attr_dev(g0, "transform", "translate(117.499 27.37)");
5775
- add_location(g0, file, 165, 418, 13084);
5803
+ add_location(g0, file, 171, 418, 13365);
5776
5804
  attr_dev(path2, "class", "a");
5777
5805
  attr_dev(path2, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z");
5778
5806
  attr_dev(path2, "transform", "translate(-110.856 -33.157)");
5779
- add_location(path2, file, 165, 717, 13383);
5807
+ add_location(path2, file, 171, 717, 13664);
5780
5808
  attr_dev(path3, "class", "a");
5781
5809
  attr_dev(path3, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z");
5782
5810
  attr_dev(path3, "transform", "translate(-130.743 -29.617)");
5783
- add_location(path3, file, 165, 1176, 13842);
5811
+ add_location(path3, file, 171, 1176, 14123);
5784
5812
  attr_dev(g1, "transform", "translate(110.856 24.899)");
5785
- add_location(g1, file, 165, 676, 13342);
5813
+ add_location(g1, file, 171, 676, 13623);
5786
5814
  attr_dev(rect, "class", "a");
5787
5815
  attr_dev(rect, "width", "0.972");
5788
5816
  attr_dev(rect, "height", "15.861");
5789
5817
  attr_dev(rect, "rx", "0.486");
5790
5818
  attr_dev(rect, "transform", "translate(114.827 23.858) rotate(-39.315)");
5791
- add_location(rect, file, 165, 1641, 14307);
5819
+ add_location(rect, file, 171, 1641, 14588);
5792
5820
  attr_dev(g2, "transform", "translate(-110.856 -23.242)");
5793
- add_location(g2, file, 165, 289, 12955);
5821
+ add_location(g2, file, 171, 289, 13236);
5794
5822
  attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidConfirmPassword*/ ctx[4] ? "InvalidToggle" : ""));
5795
5823
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
5796
5824
  attr_dev(svg, "width", "18.844");
5797
5825
  attr_dev(svg, "height", "12.887");
5798
5826
  attr_dev(svg, "viewBox", "0 0 18.844 12.887");
5799
- add_location(svg, file, 165, 12, 12678);
5827
+ add_location(svg, file, 171, 12, 12959);
5800
5828
  },
5801
5829
  m: function mount(target, anchor) {
5802
5830
  insert_dev(target, svg, anchor);
@@ -5814,7 +5842,7 @@
5814
5842
  append_dev(g2, rect);
5815
5843
 
5816
5844
  if (!mounted) {
5817
- dispose = listen_dev(svg, "click", /*click_handler_5*/ ctx[34], false, false, false);
5845
+ dispose = listen_dev(svg, "click", /*click_handler_5*/ ctx[36], false, false, false);
5818
5846
  mounted = true;
5819
5847
  }
5820
5848
  },
@@ -5832,17 +5860,17 @@
5832
5860
 
5833
5861
  dispatch_dev("SvelteRegisterBlock", {
5834
5862
  block,
5835
- id: create_if_block_3.name,
5863
+ id: create_if_block_4.name,
5836
5864
  type: "if",
5837
- source: "(165:10) {#if isConfirmPasswordVisible}",
5865
+ source: "(171:10) {#if isConfirmPasswordVisible}",
5838
5866
  ctx
5839
5867
  });
5840
5868
 
5841
5869
  return block;
5842
5870
  }
5843
5871
 
5844
- // (170:10) {#if invalidConfirmPassword}
5845
- function create_if_block_2(ctx) {
5872
+ // (176:10) {#if invalidConfirmPassword}
5873
+ function create_if_block_3(ctx) {
5846
5874
  let p;
5847
5875
 
5848
5876
  const block = {
@@ -5850,7 +5878,7 @@
5850
5878
  p = element("p");
5851
5879
  p.textContent = "Password must match the new password and must follow the same rules.";
5852
5880
  attr_dev(p, "class", "InvalidInput");
5853
- add_location(p, file, 170, 12, 15711);
5881
+ add_location(p, file, 176, 12, 15992);
5854
5882
  },
5855
5883
  m: function mount(target, anchor) {
5856
5884
  insert_dev(target, p, anchor);
@@ -5860,11 +5888,50 @@
5860
5888
  }
5861
5889
  };
5862
5890
 
5891
+ dispatch_dev("SvelteRegisterBlock", {
5892
+ block,
5893
+ id: create_if_block_3.name,
5894
+ type: "if",
5895
+ source: "(176:10) {#if invalidConfirmPassword}",
5896
+ ctx
5897
+ });
5898
+
5899
+ return block;
5900
+ }
5901
+
5902
+ // (181:6) {#if showErrorPasswordChanged}
5903
+ function create_if_block_2(ctx) {
5904
+ let div;
5905
+ let p;
5906
+ let t;
5907
+
5908
+ const block = {
5909
+ c: function create() {
5910
+ div = element("div");
5911
+ p = element("p");
5912
+ t = text(/*errorPasswordChanged*/ ctx[15]);
5913
+ attr_dev(p, "class", "PasswordChangedError");
5914
+ add_location(p, file, 182, 10, 16198);
5915
+ add_location(div, file, 181, 8, 16182);
5916
+ },
5917
+ m: function mount(target, anchor) {
5918
+ insert_dev(target, div, anchor);
5919
+ append_dev(div, p);
5920
+ append_dev(p, t);
5921
+ },
5922
+ p: function update(ctx, dirty) {
5923
+ if (dirty[0] & /*errorPasswordChanged*/ 32768) set_data_dev(t, /*errorPasswordChanged*/ ctx[15]);
5924
+ },
5925
+ d: function destroy(detaching) {
5926
+ if (detaching) detach_dev(div);
5927
+ }
5928
+ };
5929
+
5863
5930
  dispatch_dev("SvelteRegisterBlock", {
5864
5931
  block,
5865
5932
  id: create_if_block_2.name,
5866
5933
  type: "if",
5867
- source: "(170:10) {#if invalidConfirmPassword}",
5934
+ source: "(181:6) {#if showErrorPasswordChanged}",
5868
5935
  ctx
5869
5936
  });
5870
5937
 
@@ -5875,7 +5942,7 @@
5875
5942
  let if_block_anchor;
5876
5943
 
5877
5944
  function select_block_type(ctx, dirty) {
5878
- if (/*isLoading*/ ctx[15]) return create_if_block;
5945
+ if (/*isLoading*/ ctx[17]) return create_if_block;
5879
5946
  return create_else_block;
5880
5947
  }
5881
5948
 
@@ -5944,6 +6011,8 @@
5944
6011
  let userNewPassword = "";
5945
6012
  let userConfirmPassword = "";
5946
6013
  let passwordChanged = false;
6014
+ let errorPasswordChanged = "";
6015
+ let showErrorPasswordChanged = false;
5947
6016
 
5948
6017
  const togglePassword = field => {
5949
6018
  switch (field) {
@@ -6036,6 +6105,10 @@
6036
6105
  case "PasswordChangedSuccessfully":
6037
6106
  $$invalidate(0, passwordChanged = true);
6038
6107
  break;
6108
+ case "ShowPasswordChangedError":
6109
+ $$invalidate(16, showErrorPasswordChanged = e.data.showErrorPasswordChanged);
6110
+ $$invalidate(15, errorPasswordChanged = e.data.errorPasswordChanged);
6111
+ break;
6039
6112
  }
6040
6113
  }
6041
6114
  };
@@ -6127,6 +6200,8 @@
6127
6200
  userNewPassword,
6128
6201
  userConfirmPassword,
6129
6202
  passwordChanged,
6203
+ errorPasswordChanged,
6204
+ showErrorPasswordChanged,
6130
6205
  togglePassword,
6131
6206
  validatePassword,
6132
6207
  checkUserPassword,
@@ -6139,9 +6214,9 @@
6139
6214
  });
6140
6215
 
6141
6216
  $$self.$inject_state = $$props => {
6142
- if ("isLoading" in $$props) $$invalidate(15, isLoading = $$props.isLoading);
6217
+ if ("isLoading" in $$props) $$invalidate(17, isLoading = $$props.isLoading);
6143
6218
  if ("userAgent" in $$props) userAgent = $$props.userAgent;
6144
- if ("isMobile" in $$props) $$invalidate(16, isMobile = $$props.isMobile);
6219
+ if ("isMobile" in $$props) $$invalidate(18, isMobile = $$props.isMobile);
6145
6220
  if ("activateSubmit" in $$props) $$invalidate(1, activateSubmit = $$props.activateSubmit);
6146
6221
  if ("invalidCurrentPassword" in $$props) $$invalidate(2, invalidCurrentPassword = $$props.invalidCurrentPassword);
6147
6222
  if ("invalidNewPassword" in $$props) $$invalidate(3, invalidNewPassword = $$props.invalidNewPassword);
@@ -6157,6 +6232,8 @@
6157
6232
  if ("userNewPassword" in $$props) $$invalidate(13, userNewPassword = $$props.userNewPassword);
6158
6233
  if ("userConfirmPassword" in $$props) $$invalidate(14, userConfirmPassword = $$props.userConfirmPassword);
6159
6234
  if ("passwordChanged" in $$props) $$invalidate(0, passwordChanged = $$props.passwordChanged);
6235
+ if ("errorPasswordChanged" in $$props) $$invalidate(15, errorPasswordChanged = $$props.errorPasswordChanged);
6236
+ if ("showErrorPasswordChanged" in $$props) $$invalidate(16, showErrorPasswordChanged = $$props.showErrorPasswordChanged);
6160
6237
  };
6161
6238
 
6162
6239
  if ($$props && "$$inject" in $$props) {
@@ -6183,6 +6260,8 @@
6183
6260
  userCurrentPassword,
6184
6261
  userNewPassword,
6185
6262
  userConfirmPassword,
6263
+ errorPasswordChanged,
6264
+ showErrorPasswordChanged,
6186
6265
  isLoading,
6187
6266
  isMobile,
6188
6267
  mediaQuery,
@@ -6213,7 +6292,7 @@
6213
6292
  class PlayerChangePassword extends SvelteElement {
6214
6293
  constructor(options) {
6215
6294
  super();
6216
- this.shadowRoot.innerHTML = `<style>.PlayerChangePasswordWrapper{color:#07072A;padding:50px;max-width:400px}.ChangePasswordTitle{font-size:26px;color:#D0046C;font-weight:400}.ChangePasswordTitleMobile{font-size:16px;color:#D0046C}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px}.PlayerChangePasswordSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordSaveButton{background:#D0046C;border:1px solid #D0046C;color:#fff}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerChangePasswordBox input{font-size:14px;font-weight:300;color:#07072A;padding:10px;line-height:16px;border:1px solid #D1D1D1;background:#FFFFFF;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox.InvalidField input{border:1px solid #D0046C;background:#FBECF4;color:#D0046C}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:19px;position:absolute;right:8px;top:34px;cursor:pointer}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:#D0046C}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:#58586B}.InvalidInput,.InvalidInputNew{color:#D0046C;font-size:10px;position:absolute;bottom:-25px;margin:0;line-height:10px}.InvalidInputNew{bottom:-24px}.ChangedPasswordSuccessfully{color:#fff;position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid #16CE16;border-radius:50px;display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:solid #16CE16;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:20px;font-weight:400;margin:10px 0;color:#16CE16}.ChangedPasswordSuccessfully p{margin:0;font-size:14px;font-weight:300}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid #D0046C;background:#D0046C;max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:#D0046C;background:#fff}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;height:100%}.PlayerChangePasswordWrapperMobile:after{content:'';position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:#D0046C;font-size:14px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{color:#58586B;font-size:12px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{color:#58586B;font-size:12px;font-weight:300}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-size:12px;height:44px;color:#58586B}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:#58586B}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:40px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{height:30px;font-size:20px;line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{font-size:18px;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:#58586B}</style>`;
6295
+ this.shadowRoot.innerHTML = `<style>.PlayerChangePasswordWrapper{color:#07072A;padding:50px;max-width:400px}.ChangePasswordTitle{font-size:26px;color:#D0046C;font-weight:400}.ChangePasswordTitleMobile{font-size:16px;color:#D0046C}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px}.PlayerChangePasswordSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordSaveButton{background:#D0046C;border:1px solid #D0046C;color:#fff}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerChangePasswordBox input{font-size:14px;font-weight:300;color:#07072A;padding:10px;line-height:16px;border:1px solid #D1D1D1;background:#FFFFFF;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox.InvalidField input{border:1px solid #D0046C;background:#FBECF4;color:#D0046C}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:19px;position:absolute;right:8px;top:34px;cursor:pointer}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:#D0046C}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:#58586B}.InvalidInput,.InvalidInputNew{color:#D0046C;font-size:10px;position:absolute;bottom:-25px;margin:0;line-height:10px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:#FD2839;font-size:16px;line-height:19.2px;margin-top:0}.ChangedPasswordSuccessfully{color:#fff;position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid #16CE16;border-radius:50px;display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:solid #16CE16;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:20px;font-weight:400;margin:10px 0;color:#16CE16}.ChangedPasswordSuccessfully p{margin:0;font-size:14px;font-weight:300}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid #D0046C;background:#D0046C;max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:#D0046C;background:#fff}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;height:100%}.PlayerChangePasswordWrapperMobile:after{content:'';position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:#D0046C;font-size:14px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{color:#58586B;font-size:12px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{color:#58586B;font-size:12px;font-weight:300}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-size:12px;height:44px;color:#58586B}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:#58586B}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:40px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{height:30px;font-size:20px;line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{font-size:18px;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:#58586B}</style>`;
6217
6296
 
6218
6297
  init(
6219
6298
  this,