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,iBAlEuDA,uCAqBoBA,0rBGtBhEyJ,GAAb,GDgBQJ,KAAM,kBAER,CACED,UAAWtB,GACXuB,KAAM,qCAER,CACED,UAAWnJ,EACXoJ,KAAM,SAER,CACED,UE3BR,MAAM,QAKJlJ,YACUC,EACAC,GADAG,mBACAA,aALVA,gBAAqB,EACrBA,cAAmB,GAOnBgC,WACEhC,KAAKmJ,cAGPA,cACE,MAAQC,WAAUC,qBAAsBrJ,KAAKH,MAAMwB,SAAS8C,OACxDiF,GAAYC,GACdrJ,KAAKJ,YACJuJ,YAAYC,EAAUC,GACtBvI,UAAU,CACTmF,KAAMjG,KAAKsJ,sBAAsBnD,KAAKnG,MACtC0B,MAAO1B,KAAKuJ,oBAAoBpD,KAAKnG,QAKnCsJ,sBAAsBvI,GAC5Bf,KAAKwJ,WAAY,EACZzI,EAASC,KACZhB,KAAKyJ,SAAW,yBAIZF,oBAAoBxI,GAC1Bf,KAAKwJ,WAAY,EACjBxJ,KAAKyJ,SAAW,sEAnCPC,GAAsBjK,iDAAtBiK,EAAsB/H,0VHTnClC,iBAAyD,WAErDA,iBAEAA,iBACEA,wBAIAA,wBAMAA,wBASFA,mBAnBQA,mCAIAA,kCAMAA,0TGNCiK,GAAb,GF4BQZ,KAAM,kDAUP,IAAMa,GAAb,MAAM,sDAAOA,4DAHF,CAACC,cAAsBhB,KACtBgB,QAECD,GAAb,+BGHO,IAAME,GAAb,MAAM,sDAAOA,6DARA,CACTC,KACA,CACEC,QAASC,KACTC,SAAU,CAAEC,QAASrG,wBAExBsG,SAjBQ,CACPR,GACAS,KACAC,KACAC,KACAC,KACAC,KACAD,KACAE,IACAC,SAUSb,GAAb,EAAaA","names":["i0","LoginComponent","constructor","authService","route","userService","storeService","this","onSubmit","loginForm","invalid","emailError","controls","email","undefined","passwordError","password","loading","clearUser","clearStore","login","subscribe","response","ok","setTimeout","window","location","href","snapshot","queryParams","redirectTo","o","status","error","selectors","ctx","RedirectComponent","router","authTokenService","ngOnInit","checkForBetaLogin","token","t","refresh","r","setTokens","show","setUser","navigateByUrl","FooterOnlyLayoutComponent","modalService","user","getSource","getValue","store","navigate","link","logout","onChangeStore","storeId","currentStoreId","update","openChangeStore","content","open","ctx_r15","oxw","RegisterComponent","environment","starter","id","name","growth","createForm","params","plan","upgradablePlans","upgrading","upgradePlan","signupForm","FormGroup","FormControl","Validators","MINIMUM_PASSWORD_LENGTH","website","value","disabled","recaptchaReactive","isProd","clearValidators","get","changeEmail","moreInfo","emailSent","submittedForm","resendEmail","markAllAsTouched","setValue","formatStoreUrl","valid","showLoadingAnimation","register","store_url","password_confirmation","next","handleRegistrationResponse","bind","handleRegistrationError","url","regex","test","urlObject","URL","protocol","hostname","console","_a","signupAttempts","arePlusAndNumberIncluded","plusIndex","indexOf","Number","isNaN","parseInt","ctx_r8","ctx_r25","VerifyComponent","formBuilder","broadcastService","registrationToken","method","userRegistration","passwordReset","verifyRegistration","passwordForm","group","resetPassword","publish","type","payload","verified","goToDash","registrationSuccess","ctx_r6","_r10","MAs","ctx_r16","routes","component","path","children","resetSuccess","sendPasswordResetToken","PasswordResetComponent","verifyEmail","recordId","confirmationToken","handleSuccessResponse","handleErrorResponse","verifying","errorMsg","EmailVerifiedComponent","AuthRoutes","RouterModule","AuthModule","RegistrationParamsService","provide","RECAPTCHA_SETTINGS","useValue","siteKey","imports","CommonModule","FormsModule","ReactiveFormsModule","FontAwesomeModule","SharedModule","RecaptchaModule","RecaptchaFormsModule"],"sourceRoot":"webpack:///","sources":["./src/app/auth/components/login/login.component.html","./src/app/auth/components/login/login.component.ts","./src/app/auth/components/redirect/redirect.component.ts","./src/app/auth/components/redirect/redirect.component.html","./src/app/shared/components/layouts/footer_only/footer_only.component.ts","./src/app/shared/components/layouts/footer_only/footer_only.component.html","./src/app/auth/components/register/register.component.html","./src/app/auth/components/register/register.component.ts","./src/app/auth/components/verify/verify.component.html","./src/app/auth/components/verify/verify.component.ts","./src/app/auth/components/password_reset/password_reset.component.html","./src/app/auth/components/email_verified/email_verified.component.html","./src/app/auth/auth.routes.ts","./src/app/auth/components/password_reset/password_reset.component.ts","./src/app/auth/components/email_verified/email_verified.component.ts","./src/app/auth/auth.module.ts"],"sourcesContent":["
\n
\n \n\n

Welcome back!

\n
Need an account? Sign up for free.
\n\n
\n
{{ error }}
\n
\n
\n
\n \n
\n {{ emailError }}\n
\n
\n\n
\n
\n \n
\n {{ passwordError }}\n
\n
\n\n Forgot Password?\n \n
\n
\n
\n\n
\n \n

Grow your audience with Springbot.

\n
Reach your customers with email campaigns, sign up forms,\n abandoned cart emails, and more.\n
\n
\n
\n","import { Component } from \"@angular/core\";\nimport { AuthService } from \"@app/auth/services/auth.service\";\nimport { NgForm } from \"@angular/forms\";\nimport { ActivatedRoute, Router } from \"@angular/router\";\nimport { UserService } from \"@app/shared/services/user.service\";\nimport { StoreService } from \"@app/shared/services/store.service\";\n\n@Component({\n selector: \"app-login\",\n templateUrl: \"./login.component.html\",\n styleUrls: [\"./login.component.scss\"],\n})\nexport class LoginComponent {\n error: string | undefined;\n passwordError: string | undefined;\n emailError: string | undefined;\n email: string;\n password: string;\n loading: boolean = false;\n\n constructor(\n private authService: AuthService,\n private route: ActivatedRoute,\n private userService: UserService,\n private storeService: StoreService,\n ) {}\n\n onSubmit(loginForm: NgForm) {\n if (loginForm.invalid) {\n this.emailError = loginForm.controls.email.invalid ? \"Please enter your email address.\" : undefined;\n this.passwordError = loginForm.controls.password.invalid ? \"Please enter your password.\" : undefined;\n return;\n }\n this.loading = true;\n\n this.userService.clearUser();\n this.storeService.clearStore();\n\n this.authService\n .login(this.email, this.password)\n .subscribe((response) => {\n if (response.ok) {\n setTimeout(() => {\n const redirectTo = this.route.snapshot.queryParams.redirectTo;\n window.location.href = redirectTo || \"/\";\n }, 1000);\n } else if (response.status === 403) {\n this.error = \"Client blocked by server.\";\n } else if (response.status === 429) {\n this.loading = false;\n this.passwordError = \"Too many attempts. Try again later.\";\n } else if (response.status === 401) {\n this.loading = false;\n this.passwordError = \"That's not the right email or password.\";\n } else {\n this.loading = false;\n this.passwordError = \"An unknown error has occurred.\";\n }\n }, () => {\n this.loading = false;\n this.passwordError = \"That's not the right email or password..\";\n });\n }\n}\n","import { Component, OnInit } from \"@angular/core\";\nimport { AuthService } from \"@app/auth/services/auth.service\";\nimport { ActivatedRoute, Router } from \"@angular/router\";\nimport { AuthTokenService } from \"@app/auth/services/auth-token.service\";\nimport * as FullStory from \"@fullstory/browser\";\nimport { UserService } from \"@app/shared/services/user.service\";\nimport { StoreService } from \"@app/shared/services/store.service\";\n\n@Component({\n selector: \"beta-redirect\",\n templateUrl: \"./redirect.component.html\",\n styleUrls: [\"./redirect.component.scss\"],\n})\nexport class RedirectComponent implements OnInit {\n error: string | undefined;\n passwordError: string | undefined;\n emailError: string | undefined;\n email: string;\n password: string;\n\n constructor(\n private authService: AuthService,\n private route: ActivatedRoute,\n private router: Router,\n private authTokenService: AuthTokenService,\n private userService: UserService,\n ) {}\n\n ngOnInit(): void {\n this.checkForBetaLogin();\n }\n\n checkForBetaLogin() {\n const token = this.route.snapshot.queryParams.t;\n const refresh = this.route.snapshot.queryParams.r;\n\n if (!!token && !!refresh) {\n this.authTokenService.setTokens(token, refresh);\n this.userService.show().subscribe((response) => {\n const user = response;\n this.userService.setUser(user);\n this.router.navigateByUrl(\"/dashboard\");\n }, (error) => {\n this.router.navigateByUrl(\"/login\");\n });\n } else {\n this.router.navigateByUrl(\"/login\");\n }\n }\n}\n","
\n
\n \n

\n Redirecting to your marketing dashboard.\n

\n \n
\n
\n","import { Component, TemplateRef, ViewEncapsulation } from \"@angular/core\";\n\nimport { Location } from \"@angular/common\";\nimport { StoreService } from \"@app/shared/services/store.service\";\nimport { UserService } from \"@app/shared/services/user.service\";\nimport { Store } from \"@models/store\";\nimport { User } from \"@models/user\";\nimport { NgbModal } from \"@ng-bootstrap/ng-bootstrap\";\nimport { Router } from \"@angular/router\";\nimport { AuthService } from \"@app/auth/services/auth.service\";\n\n@Component({\n encapsulation: ViewEncapsulation.None,\n selector: \"footer-only-layout\",\n styleUrls: [\"./footer_only.component.scss\"],\n templateUrl: \"./footer_only.component.html\",\n})\nexport class FooterOnlyLayoutComponent {\n menuButtons: TemplateRef;\n\n user: User;\n store: Store;\n\n hover: string;\n links: any;\n showNavbar: boolean;\n showMobileNav = false;\n\n linkPath = [];\n\n constructor(\n private userService: UserService,\n protected modalService: NgbModal,\n protected location: Location,\n private storeService: StoreService,\n private router: Router,\n private authService: AuthService\n ) {}\n\n ngOnInit() {\n this.user = this.userService.getSource().getValue();\n this.store = this.storeService.getSource().getValue();\n }\n\n navigate(link): void {\n this.router.navigateByUrl(link);\n }\n\n logout(): void {\n this.authService.logout().subscribe((response) => {\n this.router.navigateByUrl('/login');\n });\n }\n\n onChangeStore(storeId: number) {\n this.user.currentStoreId = storeId;\n this.userService.update(this.user).subscribe(() => {\n this.router.navigateByUrl('/dashboard');\n });\n }\n\n openChangeStore(content: TemplateRef): void {\n this.user = this.userService.getSource().getValue();\n this.modalService.open(content);\n }\n}\n","
\n \n
\n\n\n","
\n
\n \n \n \n

\n Unlock the Full Potential of Your Ecommerce Marketing\n

\n

\n Manage all your marketing channels effortlessly in one place!\n

\n\n
\n
\n \n

Building your dashboard

\n
\n
\n\n
\n
\n
\n
\n
\n \n
\n \n Required\n \n \n Email address is invalid\n \n
\n
\n\n
\n
\n \n
\n \n Required\n \n \n Password must be at least {{ MINIMUM_PASSWORD_LENGTH }} characters.\n \n
\n
\n\n
\n
\n \n\n
\n
\n Don't forget to add your company website.\n
\n
\n Please enter a valid URL.\n
\n
\n
\n\n
\n \n
\n \n reCAPTCHA is required\n \n
\n
\n\n \n\n
\n
Already have an account? Sign in
\n \n
\n
\n
\n
\n
\n","import { Component } from \"@angular/core\";\nimport { AuthService } from \"@app/auth/services/auth.service\";\nimport { FormGroup, Validators, FormControl } from \"@angular/forms\";\nimport { ActivatedRoute, Router } from \"@angular/router\";\nimport { environment } from \"@environments/environment\";\nimport { UserService } from \"@app/shared/services/user.service\";\nimport { StoreService } from \"@app/shared/services/store.service\";\n\n@Component({\n selector: \"app-registration\",\n templateUrl: \"./register.component.html\",\n styleUrls: [\"./register.component.scss\"],\n})\nexport class RegisterComponent {\n MINIMUM_PASSWORD_LENGTH = 8;\n error: string | undefined;\n signupForm: FormGroup;\n moreInfo: boolean = true;\n emailSent: boolean = false;\n signupAttempts = 0;\n submittedForm = false;\n loading = false;\n showLoadingAnimation = false;\n isProd = environment.production;\n\n upgrading: boolean;\n upgradePlan: any;\n upgradablePlans = {\n 'starter': { id: 'springbot-starter', name: 'Springbot Starter'},\n 'growth': { id: 'springbot-growth', name: 'Springbot Growth'},\n }\n\n constructor(\n private authService: AuthService,\n private router: Router,\n private route: ActivatedRoute,\n private userService: UserService,\n private storeService: StoreService,\n ) {}\n\n ngOnInit() {\n this.createForm();\n\n this.route.queryParams.subscribe(params => {\n if (!!params['plan'] && this.upgradablePlans[params['plan']]) {\n this.upgrading = true;\n this.upgradePlan = params['plan'];\n }\n });\n }\n\n createForm(): void {\n this.signupForm = new FormGroup({\n email: new FormControl(\n \"\",\n [Validators.required, Validators.maxLength(100), Validators.email]\n ),\n password: new FormControl(\n \"\", [Validators.required, Validators.minLength(this.MINIMUM_PASSWORD_LENGTH)]\n ),\n website: new FormControl({\n value: \"\", disabled: false,\n }, [Validators.required, Validators.maxLength(255),\n Validators.pattern(/^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$/)\n ]),\n recaptchaReactive: new FormControl(null, [Validators.required]),\n });\n if (!this.isProd) {\n this.recaptchaReactive.clearValidators();\n }\n }\n\n get email(): FormControl {\n return this.signupForm.get(\"email\") as FormControl;\n }\n\n get recaptchaReactive(): FormControl {\n return this.signupForm.get(\"recaptchaReactive\") as FormControl;\n }\n\n get password() {\n return this.signupForm.get(\"password\");\n }\n\n get website() {\n return this.signupForm.get(\"website\");\n }\n\n changeEmail() {\n this.moreInfo = true;\n this.emailSent = false;\n this.submittedForm = false;\n }\n\n resendEmail() {\n this.emailSent = true;\n this.onSubmit();\n }\n\n onSubmit() {\n this.submittedForm = true;\n this.signupForm.markAllAsTouched();\n this.website.setValue(this.formatStoreUrl(this.website.value));\n this.error = \"\";\n\n this.userService.clearUser();\n this.storeService.clearStore();\n\n if (this.signupForm.valid) {\n this.loading = true;\n setTimeout(() => {\n this.showLoadingAnimation = true;\n }, 500);\n const params = {\n email: this.email.value,\n store_url: this.website.value,\n password: this.password.value,\n password_confirmation: this.password.value\n };\n this.authService\n .register(params)\n .subscribe({\n next: this.handleRegistrationResponse.bind(this),\n error: this.handleRegistrationError.bind(this)\n });\n }\n }\n\n private formatStoreUrl(url: string): string {\n try {\n // Check if the URL starts with a protocol (http or https)\n const regex = /^https?:\\/\\//i;\n if (!regex.test(url)) {\n url = `https://${url}`; // Prepend \"https://\" if no protocol\n }\n\n // Create a URL object and extract protocol and hostname\n const urlObject = new URL(url);\n return `${urlObject.protocol}//${urlObject.hostname}`;\n\n } catch (error) {\n console.error('Invalid URL');\n return url; // Return the original URL if it's invalid, or handle error as you see fit\n }\n }\n\n private handleRegistrationResponse(response) {\n if (response.ok && this.upgrading) {\n this.router.navigateByUrl('/upgrade_billing?plan=' + this.upgradePlan);\n } else if (response.ok) {\n window.location.href = '/';\n } else {\n this.loading = false;\n this.showLoadingAnimation = false;\n if (response.error?.error === \"email already exists\") {\n if (this.signupAttempts >= 3) {\n this.router.navigateByUrl(\"/login\");\n } else {\n this.error = \"Are you trying to sign in?\";\n this.signupAttempts++;\n }\n } else if (response.status === 403) {\n this.error = \"Registration invalid. Check your store website and try again.\";\n } else if (response.status === 429) {\n this.error = \"Too many attempts. Try again later.\";\n } else if (response.status === 401) {\n this.error = response.error.error;\n } else {\n this.error = \"An unknown error has occurred.\";\n }\n }\n }\n\n private handleRegistrationError(response) {\n this.loading = false;\n this.showLoadingAnimation = false;\n this.error = \"An unexpected error has occurred.\"\n }\n\n private arePlusAndNumberIncluded(email: string) {\n const plusIndex = email.indexOf(\"+\");\n return plusIndex > 0 && !Number.isNaN(parseInt(email[plusIndex + 1], 10));\n }\n}\n","
\n
\n \n

\n Your email is verified!\n

\n\n

\n Welcome to Springbot!\n

\n\n

\n Password Reset\n

\n\n \n\n
\n
\n Oops! Something went wrong.\n
\n\n
{{ error }}
\n try again\n
\n\n

\n Enter a new password below to get started.\n

\n\n
\n
{{ error }}
\n
\n\n
\n
\n\n
\n \n\n
\n \n \n
\n
\n\n
\n \n Required\n \n \n Must be at least 8 characters\n \n
\n
\n\n \n
\n
\n\n
\n \n
\n\n
\n
\n","import { Component } from \"@angular/core\";\nimport { AuthService } from \"@app/auth/services/auth.service\";\nimport { ActivatedRoute, Router } from \"@angular/router\";\nimport { FormGroup, FormBuilder, Validators } from \"@angular/forms\";\nimport { BroadcastService } from \"@app/shared/services/broadcast.service\";\n\n@Component({\n selector: \"app-registration\",\n templateUrl: \"./verify.component.html\",\n styleUrls: [\"./verify.component.scss\"],\n})\nexport class VerifyComponent {\n MINIMUM_PASSWORD_LENGTH = 8;\n passwordForm: FormGroup;\n showPassword: boolean = false;\n loading: boolean = false;\n verified: boolean = false;\n registrationSuccess = false;\n moreInfo: boolean = true;\n emailSent: boolean = false;\n\n error: string = \"\";\n registrationToken: string;\n passwordReset: boolean;\n userRegistration: boolean;\n\n constructor(\n private authService: AuthService,\n private route: ActivatedRoute,\n private router: Router,\n private formBuilder: FormBuilder,\n private broadcastService: BroadcastService,\n ) {}\n\n ngOnInit() {\n const { registrationToken, method } = this.route.snapshot.params;\n this.registrationToken = registrationToken;\n this.userRegistration = method == \"registration\"\n this.passwordReset = (method == \"reset_password\") || this.userRegistration;\n if (!this.passwordReset) {\n this.verifyRegistration();\n } else {\n this.createForm();\n }\n }\n\n createForm(): void {\n const password = \"\";\n this.passwordForm = this.formBuilder.group({\n password: [password, [Validators.required, Validators.minLength(this.MINIMUM_PASSWORD_LENGTH)]]\n });\n }\n\n get password() {\n return this.passwordForm.get(\"password\");\n }\n\n onSubmit() {\n this.loading = true;\n this.error = \"\";\n if (!this.passwordForm.valid) {\n return;\n }\n\n if (this.passwordReset || this.userRegistration) {\n this.resetPassword();\n } else {\n this.verifyRegistration();\n }\n }\n\n verifyRegistration(): void {\n this.loading = true;\n this.authService\n .verifyRegistration(this.registrationToken)\n .subscribe((response) => {\n if (response.ok) {\n this.broadcastService.publish({ type: \"emailVerification\", payload: { verified: true }});\n setTimeout(() => {\n this.loading = false;\n this.verified = true;\n }, 1000);\n } else {\n this.error = response.error?.error || \"An unexpected error has occurred.\";\n this.loading = false;\n }\n });\n }\n\n resetPassword(): void {\n this.authService\n .resetPassword(this.registrationToken, this.password.value, this.password.value)\n .subscribe((response) => {\n if (response.ok) {\n setTimeout(() => {\n window.location.href = '/dashboard';\n }, 1000);\n } else {\n this.error = response.error?.error || \"An unexpected error has occurred.\";\n this.loading = false;\n }\n });\n }\n\n goToDash(): void {\n window.location.href = '/dashboard';\n }\n\n changeEmail() {\n this.registrationSuccess = false;\n this.moreInfo = true;\n this.emailSent = false;\n }\n\n resendEmail() {\n this.emailSent = true;\n this.onSubmit();\n }\n}\n","
\n
\n \n

\n Forgot your password?\n

\n

\n No problem, it happens all the time. Tell us the email address associated with your account, and we will send you some instructions to reset your password.\n

\n\n
\n
\n
\n
\n
\n \n
\n \n Required\n \n \n Email address is invalid\n \n
\n
\n\n \n
\n
\n\n
\n \n

\n Password Reset\n

\n

Almost there!

\n
\n Now just click the verification link in the email sent to\n \n {{ email.value }}\n \n
\n

\n I didn't receive the email\n \n \n

\n\n
\n
\n
\n
    \n
  • \n \n
  • \n
  • \n \n . Sent \n
  • \n
  • \n Search your inbox and spam/junk folders for an email from\n support@springbot.com
  • \n\n
  • \n Look for an email with the subject line \"Welcome to Springbot!\"\n
  • \n
\n
\n
\n
\n
\n
\n
\n","
\n
\n \n\n
\n
\n \n
\n\n
\n

\n {{ errorMsg }}\n

\n
\n\n
\n

\n Your email is verified!\n

\n\n

\n You can close this window.\n

\n
\n
\n
\n
\n","import { RouterModule, Routes } from \"@angular/router\";\nimport { LoginComponent } from \"@app/auth/components/login/login.component\";\nimport { RedirectComponent } from \"@app/auth/components/redirect/redirect.component\";\nimport { NgModule } from \"@angular/core\";\nimport { FooterOnlyLayoutComponent } from \"@app/shared/components/layouts/footer_only/footer_only.component\";\nimport { RegisterComponent } from \"@app/auth/components/register/register.component\";\nimport { VerifyComponent } from \"@app/auth/components/verify/verify.component\";\nimport { PasswordResetComponent } from \"@app/auth/components/password_reset/password_reset.component\";\nimport { EmailVerifiedComponent } from \"@app/auth/components/email_verified/email_verified.component\";\n\nconst routes: Routes = [\n {\n component: FooterOnlyLayoutComponent,\n path: \"\",\n children: [\n {\n component: RedirectComponent,\n path: \"redirect\",\n },\n {\n component: RegisterComponent,\n path: \"register\",\n },\n {\n component: PasswordResetComponent,\n path: \"password_reset\",\n },\n {\n component: VerifyComponent,\n path: \"verify/:registrationToken/:method\",\n },\n {\n component: LoginComponent,\n path: \"login\",\n },\n {\n component: EmailVerifiedComponent,\n path: \"email_verified/:recordId/:confirmationToken\",\n },\n ]\n }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class AuthRoutes {}\n","import { Component } from \"@angular/core\";\nimport { AuthService } from \"@app/auth/services/auth.service\";\nimport { FormBuilder, FormGroup, Validators } from \"@angular/forms\";\n\n@Component({\n selector: \"app-login\",\n templateUrl: \"./password_reset.component.html\",\n styleUrls: [\"./password_reset.component.scss\"],\n})\nexport class PasswordResetComponent {\n error: string | undefined;\n resetSuccess = false;\n signupForm: FormGroup;\n moreInfo: boolean = true;\n emailSent: boolean = false;\n signupAttempts = 0;\n\n constructor(\n private authService: AuthService,\n private formBuilder: FormBuilder,\n ) {}\n\n ngOnInit() {\n this.createForm();\n }\n\n createForm(): void {\n const email = \"\";\n this.signupForm = this.formBuilder.group({\n email: [email, [Validators.required, Validators.maxLength(100), Validators.email]]\n });\n }\n\n get email() {\n return this.signupForm.get(\"email\");\n }\n\n changeEmail() {\n this.resetSuccess = false;\n this.moreInfo = true;\n this.emailSent = false;\n }\n\n resendEmail() {\n this.emailSent = true;\n this.onSubmit();\n }\n\n onSubmit() {\n this.error = \"\";\n if (this.signupForm.valid) {\n this.authService\n .sendPasswordResetToken({ email: this.email.value })\n .subscribe((response) => {\n if (response.ok) {\n this.resetSuccess = true;\n this.signupAttempts= 0;\n } else {\n this.error = response.error?.error || \"An unexpected error has occurred.\";\n }\n }, () => {\n this.error = \"An unexpected error has occurred.\"\n });\n }\n }\n}\n","import { Component } from \"@angular/core\";\nimport { ActivatedRoute, Router } from \"@angular/router\";\nimport { AuthService } from \"@app/auth/services/auth.service\";\n\n@Component({\n selector: \"app-email-verified\",\n templateUrl: \"./email_verified.component.html\",\n styleUrls: [\"./email_verified.component.scss\"],\n})\nexport class EmailVerifiedComponent {\n\n verifying: boolean = true;\n errorMsg: string = \"\";\n\n constructor(\n private authService: AuthService,\n private route: ActivatedRoute,\n ) {}\n\n ngOnInit() {\n this.verifyEmail();\n }\n\n verifyEmail() {\n const { recordId, confirmationToken } = this.route.snapshot.params;\n if (recordId && confirmationToken) {\n this.authService\n .verifyEmail(recordId, confirmationToken)\n .subscribe({\n next: this.handleSuccessResponse.bind(this),\n error: this.handleErrorResponse.bind(this)\n });\n }\n }\n\n private handleSuccessResponse(response) {\n this.verifying = false;\n if (!response.ok) {\n this.errorMsg = \"Something went wrong.\";\n }\n }\n\n private handleErrorResponse(response) {\n this.verifying = false;\n this.errorMsg = \"Something went wrong.\";\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { LoginComponent } from \"./components/login/login.component\";\nimport { FormsModule, ReactiveFormsModule } from \"@angular/forms\";\nimport { AuthRoutes } from \"./auth.routes\";\nimport { SharedModule } from \"@sharedModule\";\nimport { RedirectComponent } from \"@app/auth/components/redirect/redirect.component\";\nimport { RegisterComponent } from \"@app/auth/components/register/register.component\";\nimport { VerifyComponent } from \"@app/auth/components/verify/verify.component\";\nimport { EmailVerifiedComponent } from \"@app/auth/components/email_verified/email_verified.component\";\nimport { FontAwesomeModule } from \"@fortawesome/angular-fontawesome\";\nimport { RegistrationParamsService } from \"@app/brand_scraping/services/RegistrationParamsService\";\nimport { PasswordResetComponent } from \"@app/auth/components/password_reset/password_reset.component\";\nimport { RECAPTCHA_V3_SITE_KEY, RecaptchaFormsModule, RecaptchaModule, RecaptchaSettings, RECAPTCHA_SETTINGS } from \"ng-recaptcha\";\nimport { environment } from \"@environments/environment\";\n\n@NgModule({\n declarations: [\n RedirectComponent,\n LoginComponent,\n PasswordResetComponent,\n RegisterComponent,\n VerifyComponent,\n EmailVerifiedComponent\n ],\n imports: [\n AuthRoutes,\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n FontAwesomeModule,\n SharedModule,\n FontAwesomeModule,\n RecaptchaModule,\n RecaptchaFormsModule,\n ],\n providers: [\n RegistrationParamsService,\n {\n provide: RECAPTCHA_SETTINGS,\n useValue: { siteKey: environment.reCAPTCHASiteKey } as RecaptchaSettings,\n },\n ]\n})\nexport class AuthModule {}\n"]}