@everymatrix/general-player-login-form 0.0.118 → 0.0.122
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.
|
@@ -4425,10 +4425,10 @@
|
|
|
4425
4425
|
/* src/GeneralPlayerLoginForm.svelte generated by Svelte v3.37.0 */
|
|
4426
4426
|
const file = "src/GeneralPlayerLoginForm.svelte";
|
|
4427
4427
|
|
|
4428
|
-
// (
|
|
4428
|
+
// (133:0) {:else}
|
|
4429
4429
|
function create_else_block(ctx) {
|
|
4430
|
-
let
|
|
4431
|
-
let
|
|
4430
|
+
let div5;
|
|
4431
|
+
let div4;
|
|
4432
4432
|
let div0;
|
|
4433
4433
|
let h4;
|
|
4434
4434
|
let t1;
|
|
@@ -4436,7 +4436,7 @@
|
|
|
4436
4436
|
let t2;
|
|
4437
4437
|
let span0;
|
|
4438
4438
|
let t4;
|
|
4439
|
-
let
|
|
4439
|
+
let div3;
|
|
4440
4440
|
let div1;
|
|
4441
4441
|
let label0;
|
|
4442
4442
|
let t5;
|
|
@@ -4456,34 +4456,31 @@
|
|
|
4456
4456
|
let t14;
|
|
4457
4457
|
let div2_class_value;
|
|
4458
4458
|
let t15;
|
|
4459
|
-
let div4;
|
|
4460
|
-
let div3;
|
|
4461
4459
|
let t16;
|
|
4462
|
-
let t17;
|
|
4463
4460
|
let button0;
|
|
4464
|
-
let
|
|
4461
|
+
let t18;
|
|
4465
4462
|
let button1;
|
|
4466
|
-
let
|
|
4467
|
-
let
|
|
4463
|
+
let t20;
|
|
4464
|
+
let div5_class_value;
|
|
4468
4465
|
let mounted;
|
|
4469
4466
|
let dispose;
|
|
4470
4467
|
let if_block0 = /*invalidName*/ ctx[3] && create_if_block_5(ctx);
|
|
4471
4468
|
|
|
4472
4469
|
function select_block_type_1(ctx, dirty) {
|
|
4473
|
-
if (/*isPasswordVisible*/ ctx[
|
|
4470
|
+
if (/*isPasswordVisible*/ ctx[8]) return create_if_block_4;
|
|
4474
4471
|
return create_else_block_1;
|
|
4475
4472
|
}
|
|
4476
4473
|
|
|
4477
4474
|
let current_block_type = select_block_type_1(ctx);
|
|
4478
4475
|
let if_block1 = current_block_type(ctx);
|
|
4479
4476
|
let if_block2 = /*invalidPassword*/ ctx[4] && create_if_block_3(ctx);
|
|
4480
|
-
let if_block3 = /*errorMessage*/ ctx[
|
|
4477
|
+
let if_block3 = /*errorMessage*/ ctx[5] && create_if_block_2(ctx);
|
|
4481
4478
|
let if_block4 = !/*mobileView*/ ctx[0] && create_if_block_1(ctx);
|
|
4482
4479
|
|
|
4483
4480
|
const block = {
|
|
4484
4481
|
c: function create() {
|
|
4485
|
-
|
|
4486
|
-
|
|
4482
|
+
div5 = element("div");
|
|
4483
|
+
div4 = element("div");
|
|
4487
4484
|
div0 = element("div");
|
|
4488
4485
|
h4 = element("h4");
|
|
4489
4486
|
h4.textContent = "Welcome";
|
|
@@ -4493,7 +4490,7 @@
|
|
|
4493
4490
|
span0 = element("span");
|
|
4494
4491
|
span0.textContent = "Register now";
|
|
4495
4492
|
t4 = space();
|
|
4496
|
-
|
|
4493
|
+
div3 = element("div");
|
|
4497
4494
|
div1 = element("div");
|
|
4498
4495
|
label0 = element("label");
|
|
4499
4496
|
t5 = text("Username or Email:");
|
|
@@ -4516,72 +4513,64 @@
|
|
|
4516
4513
|
t14 = space();
|
|
4517
4514
|
if (if_block2) if_block2.c();
|
|
4518
4515
|
t15 = space();
|
|
4519
|
-
div4 = element("div");
|
|
4520
|
-
div3 = element("div");
|
|
4521
|
-
t16 = space();
|
|
4522
4516
|
if (if_block3) if_block3.c();
|
|
4523
|
-
|
|
4517
|
+
t16 = space();
|
|
4524
4518
|
button0 = element("button");
|
|
4525
4519
|
button0.textContent = "Sign In";
|
|
4526
|
-
|
|
4520
|
+
t18 = space();
|
|
4527
4521
|
button1 = element("button");
|
|
4528
4522
|
button1.textContent = "I forgot my password";
|
|
4529
|
-
|
|
4523
|
+
t20 = space();
|
|
4530
4524
|
if (if_block4) if_block4.c();
|
|
4531
4525
|
attr_dev(h4, "class", "FormHeaderTitle");
|
|
4532
|
-
add_location(h4, file,
|
|
4526
|
+
add_location(h4, file, 136, 8, 4462);
|
|
4533
4527
|
attr_dev(span0, "class", "FormRegisterCallToAction");
|
|
4534
|
-
add_location(span0, file,
|
|
4528
|
+
add_location(span0, file, 137, 65, 4568);
|
|
4535
4529
|
attr_dev(p, "class", "FormHeaderSubtitle");
|
|
4536
|
-
add_location(p, file,
|
|
4530
|
+
add_location(p, file, 137, 8, 4511);
|
|
4537
4531
|
attr_dev(div0, "class", "FormHeader");
|
|
4538
|
-
add_location(div0, file,
|
|
4532
|
+
add_location(div0, file, 135, 6, 4429);
|
|
4539
4533
|
attr_dev(span1, "class", "FormRequired");
|
|
4540
|
-
add_location(span1, file,
|
|
4534
|
+
add_location(span1, file, 141, 50, 4834);
|
|
4541
4535
|
attr_dev(label0, "for", "UserName");
|
|
4542
|
-
add_location(label0, file,
|
|
4536
|
+
add_location(label0, file, 141, 10, 4794);
|
|
4543
4537
|
attr_dev(input0, "type", "text");
|
|
4544
4538
|
attr_dev(input0, "id", "UserName");
|
|
4545
|
-
add_location(input0, file,
|
|
4539
|
+
add_location(input0, file, 142, 10, 4888);
|
|
4546
4540
|
attr_dev(div1, "class", div1_class_value = "UserContainer " + (/*invalidName*/ ctx[3] ? "InvalidField" : ""));
|
|
4547
|
-
add_location(div1, file,
|
|
4541
|
+
add_location(div1, file, 140, 8, 4720);
|
|
4548
4542
|
attr_dev(span2, "class", "FormRequired");
|
|
4549
|
-
add_location(span2, file,
|
|
4543
|
+
add_location(span2, file, 148, 41, 5325);
|
|
4550
4544
|
attr_dev(label1, "for", "Password");
|
|
4551
|
-
add_location(label1, file,
|
|
4545
|
+
add_location(label1, file, 148, 10, 5294);
|
|
4552
4546
|
attr_dev(input1, "type", "password");
|
|
4553
4547
|
attr_dev(input1, "id", "Password");
|
|
4554
|
-
add_location(input1, file,
|
|
4548
|
+
add_location(input1, file, 149, 10, 5379);
|
|
4555
4549
|
attr_dev(div2, "class", div2_class_value = "PasswordContainer " + (/*invalidPassword*/ ctx[4] ? "InvalidField" : ""));
|
|
4556
|
-
add_location(div2, file,
|
|
4557
|
-
attr_dev(div3, "id", "Recaptcha");
|
|
4558
|
-
attr_dev(div3, "class", "g-recaptcha");
|
|
4559
|
-
add_location(div3, file, 155, 10, 8410);
|
|
4560
|
-
attr_dev(div4, "class", "CaptchaContainer");
|
|
4561
|
-
add_location(div4, file, 154, 8, 8369);
|
|
4550
|
+
add_location(div2, file, 147, 8, 5212);
|
|
4562
4551
|
attr_dev(button0, "class", "SingInButton");
|
|
4563
|
-
add_location(button0, file,
|
|
4552
|
+
add_location(button0, file, 162, 8, 8720);
|
|
4564
4553
|
attr_dev(button1, "class", "ForgotPasswordButton");
|
|
4565
|
-
add_location(button1, file,
|
|
4566
|
-
attr_dev(
|
|
4567
|
-
add_location(
|
|
4568
|
-
attr_dev(
|
|
4569
|
-
add_location(
|
|
4570
|
-
attr_dev(
|
|
4571
|
-
add_location(
|
|
4554
|
+
add_location(button1, file, 163, 8, 8809);
|
|
4555
|
+
attr_dev(div3, "class", "FormContent");
|
|
4556
|
+
add_location(div3, file, 139, 6, 4686);
|
|
4557
|
+
attr_dev(div4, "class", "FormLeftSide");
|
|
4558
|
+
add_location(div4, file, 134, 4, 4396);
|
|
4559
|
+
attr_dev(div5, "class", div5_class_value = "FormContainer " + (/*mobileView*/ ctx[0] ? "FormMobileContainer" : ""));
|
|
4560
|
+
add_location(div5, file, 133, 2, 4322);
|
|
4572
4561
|
},
|
|
4573
4562
|
m: function mount(target, anchor) {
|
|
4574
|
-
insert_dev(target,
|
|
4575
|
-
append_dev(
|
|
4576
|
-
append_dev(
|
|
4563
|
+
insert_dev(target, div5, anchor);
|
|
4564
|
+
append_dev(div5, div4);
|
|
4565
|
+
append_dev(div4, div0);
|
|
4577
4566
|
append_dev(div0, h4);
|
|
4578
4567
|
append_dev(div0, t1);
|
|
4579
4568
|
append_dev(div0, p);
|
|
4580
4569
|
append_dev(p, t2);
|
|
4581
4570
|
append_dev(p, span0);
|
|
4582
|
-
append_dev(
|
|
4583
|
-
append_dev(
|
|
4584
|
-
append_dev(
|
|
4571
|
+
append_dev(div4, t4);
|
|
4572
|
+
append_dev(div4, div3);
|
|
4573
|
+
append_dev(div3, div1);
|
|
4585
4574
|
append_dev(div1, label0);
|
|
4586
4575
|
append_dev(label0, t5);
|
|
4587
4576
|
append_dev(label0, span1);
|
|
@@ -4590,41 +4579,37 @@
|
|
|
4590
4579
|
set_input_value(input0, /*userValue*/ ctx[1]);
|
|
4591
4580
|
append_dev(div1, t8);
|
|
4592
4581
|
if (if_block0) if_block0.m(div1, null);
|
|
4593
|
-
append_dev(
|
|
4594
|
-
append_dev(
|
|
4582
|
+
append_dev(div3, t9);
|
|
4583
|
+
append_dev(div3, div2);
|
|
4595
4584
|
append_dev(div2, label1);
|
|
4596
4585
|
append_dev(label1, t10);
|
|
4597
4586
|
append_dev(label1, span2);
|
|
4598
4587
|
append_dev(div2, t12);
|
|
4599
4588
|
append_dev(div2, input1);
|
|
4600
4589
|
set_input_value(input1, /*userPassword*/ ctx[2]);
|
|
4601
|
-
/*input1_binding*/ ctx[
|
|
4590
|
+
/*input1_binding*/ ctx[19](input1);
|
|
4602
4591
|
append_dev(div2, t13);
|
|
4603
4592
|
if_block1.m(div2, null);
|
|
4604
4593
|
append_dev(div2, t14);
|
|
4605
4594
|
if (if_block2) if_block2.m(div2, null);
|
|
4606
|
-
append_dev(
|
|
4607
|
-
|
|
4608
|
-
append_dev(
|
|
4609
|
-
|
|
4610
|
-
append_dev(
|
|
4611
|
-
|
|
4612
|
-
append_dev(div5,
|
|
4613
|
-
|
|
4614
|
-
append_dev(div5, t19);
|
|
4615
|
-
append_dev(div5, button1);
|
|
4616
|
-
append_dev(div7, t21);
|
|
4617
|
-
if (if_block4) if_block4.m(div7, null);
|
|
4595
|
+
append_dev(div3, t15);
|
|
4596
|
+
if (if_block3) if_block3.m(div3, null);
|
|
4597
|
+
append_dev(div3, t16);
|
|
4598
|
+
append_dev(div3, button0);
|
|
4599
|
+
append_dev(div3, t18);
|
|
4600
|
+
append_dev(div3, button1);
|
|
4601
|
+
append_dev(div5, t20);
|
|
4602
|
+
if (if_block4) if_block4.m(div5, null);
|
|
4618
4603
|
|
|
4619
4604
|
if (!mounted) {
|
|
4620
4605
|
dispose = [
|
|
4621
|
-
listen_dev(span0, "click", /*click_handler*/ ctx[
|
|
4622
|
-
listen_dev(input0, "input", /*input0_input_handler*/ ctx[
|
|
4623
|
-
listen_dev(input0, "blur", /*validateUserName*/ ctx[
|
|
4624
|
-
listen_dev(input1, "input", /*input1_input_handler*/ ctx[
|
|
4625
|
-
listen_dev(input1, "blur", /*validatePassword*/ ctx[
|
|
4626
|
-
listen_dev(button0, "click", /*click_handler_3*/ ctx[
|
|
4627
|
-
listen_dev(button1, "click", /*click_handler_4*/ ctx[
|
|
4606
|
+
listen_dev(span0, "click", /*click_handler*/ ctx[16], false, false, false),
|
|
4607
|
+
listen_dev(input0, "input", /*input0_input_handler*/ ctx[17]),
|
|
4608
|
+
listen_dev(input0, "blur", /*validateUserName*/ ctx[14], false, false, false),
|
|
4609
|
+
listen_dev(input1, "input", /*input1_input_handler*/ ctx[18]),
|
|
4610
|
+
listen_dev(input1, "blur", /*validatePassword*/ ctx[15], false, false, false),
|
|
4611
|
+
listen_dev(button0, "click", /*click_handler_3*/ ctx[22], false, false, false),
|
|
4612
|
+
listen_dev(button1, "click", /*click_handler_4*/ ctx[23], false, false, false)
|
|
4628
4613
|
];
|
|
4629
4614
|
|
|
4630
4615
|
mounted = true;
|
|
@@ -4681,13 +4666,13 @@
|
|
|
4681
4666
|
attr_dev(div2, "class", div2_class_value);
|
|
4682
4667
|
}
|
|
4683
4668
|
|
|
4684
|
-
if (/*errorMessage*/ ctx[
|
|
4669
|
+
if (/*errorMessage*/ ctx[5]) {
|
|
4685
4670
|
if (if_block3) {
|
|
4686
4671
|
if_block3.p(ctx, dirty);
|
|
4687
4672
|
} else {
|
|
4688
4673
|
if_block3 = create_if_block_2(ctx);
|
|
4689
4674
|
if_block3.c();
|
|
4690
|
-
if_block3.m(
|
|
4675
|
+
if_block3.m(div3, t16);
|
|
4691
4676
|
}
|
|
4692
4677
|
} else if (if_block3) {
|
|
4693
4678
|
if_block3.d(1);
|
|
@@ -4698,24 +4683,23 @@
|
|
|
4698
4683
|
if (if_block4) ; else {
|
|
4699
4684
|
if_block4 = create_if_block_1(ctx);
|
|
4700
4685
|
if_block4.c();
|
|
4701
|
-
if_block4.m(
|
|
4686
|
+
if_block4.m(div5, null);
|
|
4702
4687
|
}
|
|
4703
4688
|
} else if (if_block4) {
|
|
4704
4689
|
if_block4.d(1);
|
|
4705
4690
|
if_block4 = null;
|
|
4706
4691
|
}
|
|
4707
4692
|
|
|
4708
|
-
if (dirty[0] & /*mobileView*/ 1 &&
|
|
4709
|
-
attr_dev(
|
|
4693
|
+
if (dirty[0] & /*mobileView*/ 1 && div5_class_value !== (div5_class_value = "FormContainer " + (/*mobileView*/ ctx[0] ? "FormMobileContainer" : ""))) {
|
|
4694
|
+
attr_dev(div5, "class", div5_class_value);
|
|
4710
4695
|
}
|
|
4711
4696
|
},
|
|
4712
4697
|
d: function destroy(detaching) {
|
|
4713
|
-
if (detaching) detach_dev(
|
|
4698
|
+
if (detaching) detach_dev(div5);
|
|
4714
4699
|
if (if_block0) if_block0.d();
|
|
4715
|
-
/*input1_binding*/ ctx[
|
|
4700
|
+
/*input1_binding*/ ctx[19](null);
|
|
4716
4701
|
if_block1.d();
|
|
4717
4702
|
if (if_block2) if_block2.d();
|
|
4718
|
-
/*div3_binding*/ ctx[23](null);
|
|
4719
4703
|
if (if_block3) if_block3.d();
|
|
4720
4704
|
if (if_block4) if_block4.d();
|
|
4721
4705
|
mounted = false;
|
|
@@ -4727,14 +4711,14 @@
|
|
|
4727
4711
|
block,
|
|
4728
4712
|
id: create_else_block.name,
|
|
4729
4713
|
type: "else",
|
|
4730
|
-
source: "(
|
|
4714
|
+
source: "(133:0) {:else}",
|
|
4731
4715
|
ctx
|
|
4732
4716
|
});
|
|
4733
4717
|
|
|
4734
4718
|
return block;
|
|
4735
4719
|
}
|
|
4736
4720
|
|
|
4737
|
-
// (
|
|
4721
|
+
// (131:0) {#if isLoading}
|
|
4738
4722
|
function create_if_block(ctx) {
|
|
4739
4723
|
let div;
|
|
4740
4724
|
|
|
@@ -4742,7 +4726,7 @@
|
|
|
4742
4726
|
c: function create() {
|
|
4743
4727
|
div = element("div");
|
|
4744
4728
|
attr_dev(div, "class", "ModalLoader");
|
|
4745
|
-
add_location(div, file,
|
|
4729
|
+
add_location(div, file, 131, 2, 4280);
|
|
4746
4730
|
},
|
|
4747
4731
|
m: function mount(target, anchor) {
|
|
4748
4732
|
insert_dev(target, div, anchor);
|
|
@@ -4757,14 +4741,14 @@
|
|
|
4757
4741
|
block,
|
|
4758
4742
|
id: create_if_block.name,
|
|
4759
4743
|
type: "if",
|
|
4760
|
-
source: "(
|
|
4744
|
+
source: "(131:0) {#if isLoading}",
|
|
4761
4745
|
ctx
|
|
4762
4746
|
});
|
|
4763
4747
|
|
|
4764
4748
|
return block;
|
|
4765
4749
|
}
|
|
4766
4750
|
|
|
4767
|
-
// (
|
|
4751
|
+
// (144:10) {#if invalidName}
|
|
4768
4752
|
function create_if_block_5(ctx) {
|
|
4769
4753
|
let p;
|
|
4770
4754
|
|
|
@@ -4773,7 +4757,7 @@
|
|
|
4773
4757
|
p = element("p");
|
|
4774
4758
|
p.textContent = "Name must be at least 2 characters long, and contain no special characters. Email should contain '@' and a 2-3 letter long domain.";
|
|
4775
4759
|
attr_dev(p, "class", "InvalidInput");
|
|
4776
|
-
add_location(p, file,
|
|
4760
|
+
add_location(p, file, 144, 12, 5014);
|
|
4777
4761
|
},
|
|
4778
4762
|
m: function mount(target, anchor) {
|
|
4779
4763
|
insert_dev(target, p, anchor);
|
|
@@ -4787,14 +4771,14 @@
|
|
|
4787
4771
|
block,
|
|
4788
4772
|
id: create_if_block_5.name,
|
|
4789
4773
|
type: "if",
|
|
4790
|
-
source: "(
|
|
4774
|
+
source: "(144:10) {#if invalidName}",
|
|
4791
4775
|
ctx
|
|
4792
4776
|
});
|
|
4793
4777
|
|
|
4794
4778
|
return block;
|
|
4795
4779
|
}
|
|
4796
4780
|
|
|
4797
|
-
// (
|
|
4781
|
+
// (153:10) {:else}
|
|
4798
4782
|
function create_else_block_1(ctx) {
|
|
4799
4783
|
let svg;
|
|
4800
4784
|
let defs;
|
|
@@ -4815,26 +4799,26 @@
|
|
|
4815
4799
|
g = svg_element("g");
|
|
4816
4800
|
path = svg_element("path");
|
|
4817
4801
|
circle = svg_element("circle");
|
|
4818
|
-
add_location(style, file,
|
|
4819
|
-
add_location(defs, file,
|
|
4802
|
+
add_location(style, file, 153, 178, 7435);
|
|
4803
|
+
add_location(defs, file, 153, 172, 7429);
|
|
4820
4804
|
attr_dev(path, "class", "a");
|
|
4821
4805
|
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");
|
|
4822
4806
|
attr_dev(path, "transform", "translate(0)");
|
|
4823
|
-
add_location(path, file,
|
|
4807
|
+
add_location(path, file, 153, 259, 7516);
|
|
4824
4808
|
attr_dev(circle, "class", "a");
|
|
4825
4809
|
attr_dev(circle, "cx", "2.779");
|
|
4826
4810
|
attr_dev(circle, "cy", "2.779");
|
|
4827
4811
|
attr_dev(circle, "r", "2.779");
|
|
4828
4812
|
attr_dev(circle, "transform", "translate(20.827 30.303)");
|
|
4829
|
-
add_location(circle, file,
|
|
4813
|
+
add_location(circle, file, 153, 1029, 8286);
|
|
4830
4814
|
attr_dev(g, "transform", "translate(-14.185 -27.832)");
|
|
4831
|
-
add_location(g, file,
|
|
4815
|
+
add_location(g, file, 153, 217, 7474);
|
|
4832
4816
|
attr_dev(svg, "class", "TogglePasswordVisibility");
|
|
4833
4817
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
4834
4818
|
attr_dev(svg, "width", "18.843");
|
|
4835
4819
|
attr_dev(svg, "height", "10.5");
|
|
4836
4820
|
attr_dev(svg, "viewBox", "0 0 18.843 10.5");
|
|
4837
|
-
add_location(svg, file,
|
|
4821
|
+
add_location(svg, file, 153, 12, 7269);
|
|
4838
4822
|
},
|
|
4839
4823
|
m: function mount(target, anchor) {
|
|
4840
4824
|
insert_dev(target, svg, anchor);
|
|
@@ -4846,7 +4830,7 @@
|
|
|
4846
4830
|
append_dev(g, circle);
|
|
4847
4831
|
|
|
4848
4832
|
if (!mounted) {
|
|
4849
|
-
dispose = listen_dev(svg, "click", /*click_handler_2*/ ctx[
|
|
4833
|
+
dispose = listen_dev(svg, "click", /*click_handler_2*/ ctx[21], false, false, false);
|
|
4850
4834
|
mounted = true;
|
|
4851
4835
|
}
|
|
4852
4836
|
},
|
|
@@ -4862,14 +4846,14 @@
|
|
|
4862
4846
|
block,
|
|
4863
4847
|
id: create_else_block_1.name,
|
|
4864
4848
|
type: "else",
|
|
4865
|
-
source: "(
|
|
4849
|
+
source: "(153:10) {:else}",
|
|
4866
4850
|
ctx
|
|
4867
4851
|
});
|
|
4868
4852
|
|
|
4869
4853
|
return block;
|
|
4870
4854
|
}
|
|
4871
4855
|
|
|
4872
|
-
// (
|
|
4856
|
+
// (151:10) {#if isPasswordVisible}
|
|
4873
4857
|
function create_if_block_4(ctx) {
|
|
4874
4858
|
let svg;
|
|
4875
4859
|
let defs;
|
|
@@ -4902,48 +4886,48 @@
|
|
|
4902
4886
|
path2 = svg_element("path");
|
|
4903
4887
|
path3 = svg_element("path");
|
|
4904
4888
|
rect = svg_element("rect");
|
|
4905
|
-
add_location(style, file,
|
|
4906
|
-
add_location(defs, file,
|
|
4889
|
+
add_location(style, file, 151, 182, 5725);
|
|
4890
|
+
add_location(defs, file, 151, 176, 5719);
|
|
4907
4891
|
attr_dev(circle, "class", "a");
|
|
4908
4892
|
attr_dev(circle, "cx", "0.05");
|
|
4909
4893
|
attr_dev(circle, "cy", "0.05");
|
|
4910
4894
|
attr_dev(circle, "r", "0.05");
|
|
4911
4895
|
attr_dev(circle, "transform", "translate(121.017 31.148)");
|
|
4912
|
-
add_location(circle, file,
|
|
4896
|
+
add_location(circle, file, 151, 264, 5807);
|
|
4913
4897
|
attr_dev(path0, "class", "a");
|
|
4914
4898
|
attr_dev(path0, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z");
|
|
4915
4899
|
attr_dev(path0, "transform", "translate(-142.164 -39.123)");
|
|
4916
|
-
add_location(path0, file,
|
|
4900
|
+
add_location(path0, file, 151, 390, 5933);
|
|
4917
4901
|
attr_dev(path1, "class", "a");
|
|
4918
4902
|
attr_dev(path1, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z");
|
|
4919
4903
|
attr_dev(path1, "transform", "translate(-136.413 -42.068)");
|
|
4920
|
-
add_location(path1, file,
|
|
4904
|
+
add_location(path1, file, 151, 498, 6041);
|
|
4921
4905
|
attr_dev(g0, "transform", "translate(117.499 27.37)");
|
|
4922
|
-
add_location(g0, file,
|
|
4906
|
+
add_location(g0, file, 151, 350, 5893);
|
|
4923
4907
|
attr_dev(path2, "class", "a");
|
|
4924
4908
|
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");
|
|
4925
4909
|
attr_dev(path2, "transform", "translate(-110.856 -33.157)");
|
|
4926
|
-
add_location(path2, file,
|
|
4910
|
+
add_location(path2, file, 151, 649, 6192);
|
|
4927
4911
|
attr_dev(path3, "class", "a");
|
|
4928
4912
|
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");
|
|
4929
4913
|
attr_dev(path3, "transform", "translate(-130.743 -29.617)");
|
|
4930
|
-
add_location(path3, file,
|
|
4914
|
+
add_location(path3, file, 151, 1108, 6651);
|
|
4931
4915
|
attr_dev(g1, "transform", "translate(110.856 24.899)");
|
|
4932
|
-
add_location(g1, file,
|
|
4916
|
+
add_location(g1, file, 151, 608, 6151);
|
|
4933
4917
|
attr_dev(rect, "class", "a");
|
|
4934
4918
|
attr_dev(rect, "width", "0.972");
|
|
4935
4919
|
attr_dev(rect, "height", "15.861");
|
|
4936
4920
|
attr_dev(rect, "rx", "0.486");
|
|
4937
4921
|
attr_dev(rect, "transform", "translate(114.827 23.858) rotate(-39.315)");
|
|
4938
|
-
add_location(rect, file,
|
|
4922
|
+
add_location(rect, file, 151, 1573, 7116);
|
|
4939
4923
|
attr_dev(g2, "transform", "translate(-110.856 -23.242)");
|
|
4940
|
-
add_location(g2, file,
|
|
4924
|
+
add_location(g2, file, 151, 221, 5764);
|
|
4941
4925
|
attr_dev(svg, "class", "TogglePasswordVisibility");
|
|
4942
4926
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
4943
4927
|
attr_dev(svg, "width", "18.844");
|
|
4944
4928
|
attr_dev(svg, "height", "12.887");
|
|
4945
4929
|
attr_dev(svg, "viewBox", "0 0 18.844 12.887");
|
|
4946
|
-
add_location(svg, file,
|
|
4930
|
+
add_location(svg, file, 151, 12, 5555);
|
|
4947
4931
|
},
|
|
4948
4932
|
m: function mount(target, anchor) {
|
|
4949
4933
|
insert_dev(target, svg, anchor);
|
|
@@ -4961,7 +4945,7 @@
|
|
|
4961
4945
|
append_dev(g2, rect);
|
|
4962
4946
|
|
|
4963
4947
|
if (!mounted) {
|
|
4964
|
-
dispose = listen_dev(svg, "click", /*click_handler_1*/ ctx[
|
|
4948
|
+
dispose = listen_dev(svg, "click", /*click_handler_1*/ ctx[20], false, false, false);
|
|
4965
4949
|
mounted = true;
|
|
4966
4950
|
}
|
|
4967
4951
|
},
|
|
@@ -4977,14 +4961,14 @@
|
|
|
4977
4961
|
block,
|
|
4978
4962
|
id: create_if_block_4.name,
|
|
4979
4963
|
type: "if",
|
|
4980
|
-
source: "(
|
|
4964
|
+
source: "(151:10) {#if isPasswordVisible}",
|
|
4981
4965
|
ctx
|
|
4982
4966
|
});
|
|
4983
4967
|
|
|
4984
4968
|
return block;
|
|
4985
4969
|
}
|
|
4986
4970
|
|
|
4987
|
-
// (
|
|
4971
|
+
// (156:10) {#if invalidPassword}
|
|
4988
4972
|
function create_if_block_3(ctx) {
|
|
4989
4973
|
let p;
|
|
4990
4974
|
|
|
@@ -4993,7 +4977,7 @@
|
|
|
4993
4977
|
p = element("p");
|
|
4994
4978
|
p.textContent = "Password must be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.";
|
|
4995
4979
|
attr_dev(p, "class", "InvalidInput");
|
|
4996
|
-
add_location(p, file,
|
|
4980
|
+
add_location(p, file, 156, 12, 8445);
|
|
4997
4981
|
},
|
|
4998
4982
|
m: function mount(target, anchor) {
|
|
4999
4983
|
insert_dev(target, p, anchor);
|
|
@@ -5007,14 +4991,14 @@
|
|
|
5007
4991
|
block,
|
|
5008
4992
|
id: create_if_block_3.name,
|
|
5009
4993
|
type: "if",
|
|
5010
|
-
source: "(
|
|
4994
|
+
source: "(156:10) {#if invalidPassword}",
|
|
5011
4995
|
ctx
|
|
5012
4996
|
});
|
|
5013
4997
|
|
|
5014
4998
|
return block;
|
|
5015
4999
|
}
|
|
5016
5000
|
|
|
5017
|
-
// (
|
|
5001
|
+
// (160:8) {#if errorMessage}
|
|
5018
5002
|
function create_if_block_2(ctx) {
|
|
5019
5003
|
let p;
|
|
5020
5004
|
let t;
|
|
@@ -5022,16 +5006,16 @@
|
|
|
5022
5006
|
const block = {
|
|
5023
5007
|
c: function create() {
|
|
5024
5008
|
p = element("p");
|
|
5025
|
-
t = text(/*errorMessage*/ ctx[
|
|
5009
|
+
t = text(/*errorMessage*/ ctx[5]);
|
|
5026
5010
|
attr_dev(p, "class", "ErrorMessage");
|
|
5027
|
-
add_location(p, file,
|
|
5011
|
+
add_location(p, file, 160, 10, 8655);
|
|
5028
5012
|
},
|
|
5029
5013
|
m: function mount(target, anchor) {
|
|
5030
5014
|
insert_dev(target, p, anchor);
|
|
5031
5015
|
append_dev(p, t);
|
|
5032
5016
|
},
|
|
5033
5017
|
p: function update(ctx, dirty) {
|
|
5034
|
-
if (dirty[0] & /*errorMessage*/
|
|
5018
|
+
if (dirty[0] & /*errorMessage*/ 32) set_data_dev(t, /*errorMessage*/ ctx[5]);
|
|
5035
5019
|
},
|
|
5036
5020
|
d: function destroy(detaching) {
|
|
5037
5021
|
if (detaching) detach_dev(p);
|
|
@@ -5042,14 +5026,14 @@
|
|
|
5042
5026
|
block,
|
|
5043
5027
|
id: create_if_block_2.name,
|
|
5044
5028
|
type: "if",
|
|
5045
|
-
source: "(
|
|
5029
|
+
source: "(160:8) {#if errorMessage}",
|
|
5046
5030
|
ctx
|
|
5047
5031
|
});
|
|
5048
5032
|
|
|
5049
5033
|
return block;
|
|
5050
5034
|
}
|
|
5051
5035
|
|
|
5052
|
-
// (
|
|
5036
|
+
// (175:4) {#if !mobileView}
|
|
5053
5037
|
function create_if_block_1(ctx) {
|
|
5054
5038
|
let div;
|
|
5055
5039
|
|
|
@@ -5058,7 +5042,7 @@
|
|
|
5058
5042
|
div = element("div");
|
|
5059
5043
|
attr_dev(div, "class", "FormRightSide");
|
|
5060
5044
|
set_style(div, "background", "url('https://storage.googleapis.com/stateless-winmasters-one/2021/03/908d327e-em_welcome_promo.jpg') no-repeat");
|
|
5061
|
-
add_location(div, file,
|
|
5045
|
+
add_location(div, file, 175, 6, 9395);
|
|
5062
5046
|
},
|
|
5063
5047
|
m: function mount(target, anchor) {
|
|
5064
5048
|
insert_dev(target, div, anchor);
|
|
@@ -5072,7 +5056,7 @@
|
|
|
5072
5056
|
block,
|
|
5073
5057
|
id: create_if_block_1.name,
|
|
5074
5058
|
type: "if",
|
|
5075
|
-
source: "(
|
|
5059
|
+
source: "(175:4) {#if !mobileView}",
|
|
5076
5060
|
ctx
|
|
5077
5061
|
});
|
|
5078
5062
|
|
|
@@ -5082,11 +5066,13 @@
|
|
|
5082
5066
|
function create_fragment(ctx) {
|
|
5083
5067
|
let script;
|
|
5084
5068
|
let script_src_value;
|
|
5085
|
-
let
|
|
5069
|
+
let t0;
|
|
5070
|
+
let div;
|
|
5071
|
+
let t1;
|
|
5086
5072
|
let if_block_anchor;
|
|
5087
5073
|
|
|
5088
5074
|
function select_block_type(ctx, dirty) {
|
|
5089
|
-
if (/*isLoading*/ ctx[
|
|
5075
|
+
if (/*isLoading*/ ctx[6]) return create_if_block;
|
|
5090
5076
|
return create_else_block;
|
|
5091
5077
|
}
|
|
5092
5078
|
|
|
@@ -5096,19 +5082,28 @@
|
|
|
5096
5082
|
const block = {
|
|
5097
5083
|
c: function create() {
|
|
5098
5084
|
script = element("script");
|
|
5099
|
-
|
|
5085
|
+
t0 = space();
|
|
5086
|
+
div = element("div");
|
|
5087
|
+
t1 = space();
|
|
5100
5088
|
if_block.c();
|
|
5101
5089
|
if_block_anchor = empty();
|
|
5102
5090
|
this.c = noop$1;
|
|
5103
|
-
if (script.src !== (script_src_value = "//www.google.com/recaptcha/api.js?
|
|
5104
|
-
|
|
5091
|
+
if (script.src !== (script_src_value = "//www.google.com/recaptcha/api.js?render=" + captchaKey)) attr_dev(script, "src", script_src_value);
|
|
5092
|
+
script.async = true;
|
|
5093
|
+
script.defer = true;
|
|
5094
|
+
add_location(script, file, 126, 2, 4100);
|
|
5095
|
+
attr_dev(div, "class", "g-recaptcha");
|
|
5096
|
+
attr_dev(div, "data-sitekey", captchaKey);
|
|
5097
|
+
add_location(div, file, 129, 0, 4206);
|
|
5105
5098
|
},
|
|
5106
5099
|
l: function claim(nodes) {
|
|
5107
5100
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
5108
5101
|
},
|
|
5109
5102
|
m: function mount(target, anchor) {
|
|
5110
5103
|
append_dev(document.head, script);
|
|
5111
|
-
insert_dev(target,
|
|
5104
|
+
insert_dev(target, t0, anchor);
|
|
5105
|
+
insert_dev(target, div, anchor);
|
|
5106
|
+
insert_dev(target, t1, anchor);
|
|
5112
5107
|
if_block.m(target, anchor);
|
|
5113
5108
|
insert_dev(target, if_block_anchor, anchor);
|
|
5114
5109
|
},
|
|
@@ -5129,7 +5124,9 @@
|
|
|
5129
5124
|
o: noop$1,
|
|
5130
5125
|
d: function destroy(detaching) {
|
|
5131
5126
|
detach_dev(script);
|
|
5132
|
-
if (detaching) detach_dev(
|
|
5127
|
+
if (detaching) detach_dev(t0);
|
|
5128
|
+
if (detaching) detach_dev(div);
|
|
5129
|
+
if (detaching) detach_dev(t1);
|
|
5133
5130
|
if_block.d(detaching);
|
|
5134
5131
|
if (detaching) detach_dev(if_block_anchor);
|
|
5135
5132
|
}
|
|
@@ -5146,6 +5143,8 @@
|
|
|
5146
5143
|
return block;
|
|
5147
5144
|
}
|
|
5148
5145
|
|
|
5146
|
+
const captchaKey = "6Lc7w8YcAAAAAEMHc_VNN9bqfVnILoUOHSHyZ0yn";
|
|
5147
|
+
|
|
5149
5148
|
function instance($$self, $$props, $$invalidate) {
|
|
5150
5149
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
5151
5150
|
validate_slots("undefined", slots, []);
|
|
@@ -5193,6 +5192,7 @@
|
|
|
5193
5192
|
let loginFormData = { username: "", password: "" };
|
|
5194
5193
|
let invalidName = false;
|
|
5195
5194
|
let invalidPassword = false;
|
|
5195
|
+
let errorMessage = "";
|
|
5196
5196
|
|
|
5197
5197
|
const regexValidators = {
|
|
5198
5198
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){2})^[a-zA-Z\d]*$/,
|
|
@@ -5200,18 +5200,17 @@
|
|
|
5200
5200
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
5201
5201
|
};
|
|
5202
5202
|
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5203
|
+
const doRecaptcha = () => {
|
|
5204
|
+
return new Promise((resolve, reject) => {
|
|
5205
|
+
grecaptcha.ready(() => {
|
|
5206
|
+
grecaptcha.execute(captchaKey, { action: "submit" }).then(token => {
|
|
5207
|
+
resolve(token);
|
|
5208
|
+
});
|
|
5209
|
+
});
|
|
5210
|
+
});
|
|
5211
5211
|
};
|
|
5212
5212
|
|
|
5213
5213
|
onMount(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
5214
|
-
window.onloadCallback = onloadCallback;
|
|
5215
5214
|
window.addEventListener("message", messageHandler, false);
|
|
5216
5215
|
window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href);
|
|
5217
5216
|
|
|
@@ -5228,14 +5227,14 @@
|
|
|
5228
5227
|
if (e.data) {
|
|
5229
5228
|
switch (e.data.type) {
|
|
5230
5229
|
case "ModalLoader":
|
|
5231
|
-
$$invalidate(
|
|
5230
|
+
$$invalidate(6, isLoading = false);
|
|
5232
5231
|
break;
|
|
5233
5232
|
case "UserSessionID":
|
|
5234
|
-
$$invalidate(
|
|
5233
|
+
$$invalidate(6, isLoading = false);
|
|
5235
5234
|
break;
|
|
5236
5235
|
case "HasError":
|
|
5237
|
-
$$invalidate(
|
|
5238
|
-
$$invalidate(
|
|
5236
|
+
$$invalidate(5, errorMessage = e.data.error);
|
|
5237
|
+
$$invalidate(6, isLoading = false);
|
|
5239
5238
|
break;
|
|
5240
5239
|
}
|
|
5241
5240
|
}
|
|
@@ -5246,17 +5245,17 @@
|
|
|
5246
5245
|
let isPasswordVisible = false;
|
|
5247
5246
|
|
|
5248
5247
|
const showPassword = () => {
|
|
5249
|
-
$$invalidate(
|
|
5248
|
+
$$invalidate(8, isPasswordVisible = true);
|
|
5250
5249
|
togglePasswordVisibility();
|
|
5251
5250
|
};
|
|
5252
5251
|
|
|
5253
5252
|
const hidePassword = () => {
|
|
5254
|
-
$$invalidate(
|
|
5253
|
+
$$invalidate(8, isPasswordVisible = false);
|
|
5255
5254
|
togglePasswordVisibility();
|
|
5256
5255
|
};
|
|
5257
5256
|
|
|
5258
5257
|
const togglePasswordVisibility = () => {
|
|
5259
|
-
$$invalidate(
|
|
5258
|
+
$$invalidate(7, passwordVisibilityToggle.type = isPasswordVisible ? "text" : "password", passwordVisibilityToggle);
|
|
5260
5259
|
};
|
|
5261
5260
|
|
|
5262
5261
|
const switchToRegister = () => {
|
|
@@ -5268,22 +5267,25 @@
|
|
|
5268
5267
|
};
|
|
5269
5268
|
|
|
5270
5269
|
const submitLoginForm = () => {
|
|
5271
|
-
$$invalidate(
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5270
|
+
$$invalidate(6, isLoading = true);
|
|
5271
|
+
|
|
5272
|
+
doRecaptcha().then(token => {
|
|
5273
|
+
if (checkUserIdentifier(userValue) && checkUserPassword(userPassword)) {
|
|
5274
|
+
loginFormData = {
|
|
5275
|
+
username: userValue,
|
|
5276
|
+
password: userPassword,
|
|
5277
|
+
token
|
|
5278
|
+
};
|
|
5279
|
+
|
|
5280
|
+
window.postMessage(
|
|
5281
|
+
{
|
|
5282
|
+
type: "SubmitLoginForm",
|
|
5283
|
+
loginData: loginFormData
|
|
5284
|
+
},
|
|
5285
|
+
window.location.href
|
|
5286
|
+
);
|
|
5287
|
+
}
|
|
5288
|
+
});
|
|
5287
5289
|
};
|
|
5288
5290
|
|
|
5289
5291
|
const checkUserIdentifier = user => {
|
|
@@ -5331,20 +5333,12 @@
|
|
|
5331
5333
|
function input1_binding($$value) {
|
|
5332
5334
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
5333
5335
|
passwordVisibilityToggle = $$value;
|
|
5334
|
-
$$invalidate(
|
|
5336
|
+
$$invalidate(7, passwordVisibilityToggle);
|
|
5335
5337
|
});
|
|
5336
5338
|
}
|
|
5337
5339
|
|
|
5338
5340
|
const click_handler_1 = () => hidePassword();
|
|
5339
5341
|
const click_handler_2 = () => showPassword();
|
|
5340
|
-
|
|
5341
|
-
function div3_binding($$value) {
|
|
5342
|
-
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
5343
|
-
Recaptcha = $$value;
|
|
5344
|
-
$$invalidate(5, Recaptcha);
|
|
5345
|
-
});
|
|
5346
|
-
}
|
|
5347
|
-
|
|
5348
5342
|
const click_handler_3 = () => submitLoginForm();
|
|
5349
5343
|
const click_handler_4 = () => switchToForgotPassword();
|
|
5350
5344
|
|
|
@@ -5359,11 +5353,10 @@
|
|
|
5359
5353
|
loginFormData,
|
|
5360
5354
|
invalidName,
|
|
5361
5355
|
invalidPassword,
|
|
5362
|
-
regexValidators,
|
|
5363
|
-
captcha,
|
|
5364
|
-
Recaptcha,
|
|
5365
5356
|
errorMessage,
|
|
5366
|
-
|
|
5357
|
+
captchaKey,
|
|
5358
|
+
regexValidators,
|
|
5359
|
+
doRecaptcha,
|
|
5367
5360
|
messageHandler,
|
|
5368
5361
|
isLoading,
|
|
5369
5362
|
passwordVisibilityToggle,
|
|
@@ -5389,12 +5382,10 @@
|
|
|
5389
5382
|
if ("loginFormData" in $$props) loginFormData = $$props.loginFormData;
|
|
5390
5383
|
if ("invalidName" in $$props) $$invalidate(3, invalidName = $$props.invalidName);
|
|
5391
5384
|
if ("invalidPassword" in $$props) $$invalidate(4, invalidPassword = $$props.invalidPassword);
|
|
5392
|
-
if ("
|
|
5393
|
-
if ("
|
|
5394
|
-
if ("
|
|
5395
|
-
if ("
|
|
5396
|
-
if ("passwordVisibilityToggle" in $$props) $$invalidate(8, passwordVisibilityToggle = $$props.passwordVisibilityToggle);
|
|
5397
|
-
if ("isPasswordVisible" in $$props) $$invalidate(9, isPasswordVisible = $$props.isPasswordVisible);
|
|
5385
|
+
if ("errorMessage" in $$props) $$invalidate(5, errorMessage = $$props.errorMessage);
|
|
5386
|
+
if ("isLoading" in $$props) $$invalidate(6, isLoading = $$props.isLoading);
|
|
5387
|
+
if ("passwordVisibilityToggle" in $$props) $$invalidate(7, passwordVisibilityToggle = $$props.passwordVisibilityToggle);
|
|
5388
|
+
if ("isPasswordVisible" in $$props) $$invalidate(8, isPasswordVisible = $$props.isPasswordVisible);
|
|
5398
5389
|
};
|
|
5399
5390
|
|
|
5400
5391
|
if ($$props && "$$inject" in $$props) {
|
|
@@ -5407,7 +5398,6 @@
|
|
|
5407
5398
|
userPassword,
|
|
5408
5399
|
invalidName,
|
|
5409
5400
|
invalidPassword,
|
|
5410
|
-
Recaptcha,
|
|
5411
5401
|
errorMessage,
|
|
5412
5402
|
isLoading,
|
|
5413
5403
|
passwordVisibilityToggle,
|
|
@@ -5425,7 +5415,6 @@
|
|
|
5425
5415
|
input1_binding,
|
|
5426
5416
|
click_handler_1,
|
|
5427
5417
|
click_handler_2,
|
|
5428
|
-
div3_binding,
|
|
5429
5418
|
click_handler_3,
|
|
5430
5419
|
click_handler_4
|
|
5431
5420
|
];
|
|
@@ -5434,7 +5423,7 @@
|
|
|
5434
5423
|
class GeneralPlayerLoginForm extends SvelteElement {
|
|
5435
5424
|
constructor(options) {
|
|
5436
5425
|
super();
|
|
5437
|
-
this.shadowRoot.innerHTML = `<style>.FormContainer{display:inline-flex;width:100%}.FormLeftSide,.FormRightSide{flex:1 1 100%;padding:50px}.FormLeftSide{background:#F9F8F8}.FormHeaderTitle{color:#000000;font-size:28px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:#FD2839}.FormHeaderSubtitle{color:#58586B;font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:#D0046C;font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer
|
|
5426
|
+
this.shadowRoot.innerHTML = `<style>.FormContainer{display:inline-flex;width:100%}.FormLeftSide,.FormRightSide{flex:1 1 100%;padding:50px}.FormLeftSide{background:#F9F8F8}.FormHeaderTitle{color:#000000;font-size:28px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:#FD2839}.FormHeaderSubtitle{color:#58586B;font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:#D0046C;font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer{color:#58586B;display:flex;flex-direction:column;padding-bottom:20px;position:relative}.UserContainer label,.PasswordContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input{width:100%;height:44px;border:1px solid #D1D1D1;border-radius:5px;padding:5px;font-size:14px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input{border:1px solid #D0046C;background:#FBECF4;color:#D0046C}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:45px}.SingInButton{color:#fff;background:#D0046C;border:1px solid #D0046C;border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;font-family:'Helvetica Neue', 'Helvetica', sans-serif;color:#D0046C;margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:30px}.UserContainer .InvalidInput{bottom:-3px}.InvalidInput{color:#D0046C;font-size:10px;position:absolute;bottom:-3px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:#D0046C}.FormMobileContainer{height:100%}.FormMobileContainer .FormLeftSide{padding:40px 20px}.FormMobileContainer .SingInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input{max-width:unset}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid #D0046C;border-color:#D0046C transparent #D0046C transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>`;
|
|
5438
5427
|
|
|
5439
5428
|
init(
|
|
5440
5429
|
this,
|