PageSourceSearch

https://convergeapp.co/1337.e8f7ccf30e9a1b5e.js

js convergeapp.co collected 2026-10-07 19:38:37 UTC 72,191 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdemo1_app=self.webpackChunkdemo1_app||[]).push([[1337],{21337:(nt,T,c)=>{c.d(T,{G:()=>Ke});var m=c(93075),w=c(8929),g=c(4854),e=c(5e3),x=c(74202),C=c(29015),y=c(90089),k=c(70900),I=c(66398),L=c(25977);let P=(()=>{class i{constructor(){this.otpRequests=0,this.blockExpirationTime=0,this.isBlocked=!1,this.loadFromLocalStorage()}requestOtp(){this.isBlocked||(this.otpRequests++,this.otpRequests>=10&&(this.isBlocked=!0,this.blockExpirationTime=Date.now()+18e5,this.saveToLocalStorage()))}isUserBlocked(){return!!(this.isBlocked&&Date.now()<this.blockExpirationTime)||(this.isBlocked=!1,this.otpRequests=0,this.blockExpirationTime=0,this.saveToLocalStorage(),!1)}loadFromLocalStorage(){const t=localStorage.getItem("loginServiceData");if(t){const n=JSON.parse(t);this.otpRequests=n.otpRequests||0,this.isBlocked=n.isBlocked||!1,this.blockExpirationTime=n.blockExpirationTime||0}}saveToLocalStorage(){localStorage.setItem("loginServiceData",JSON.stringify({otpRequests:this.otpRequests,isBlocked:this.isBlocked,blockExpirationTime:this.blockExpirationTime}))}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=e.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();var M=c(57201),v=c(69808),N=c(69544),b=c(21223),F=c(38161),V=c(59482),U=c(26808),R=c(17061),E=c(98017),D=c(59722),q=c(83482),A=c(26201),B=c(31279),J=c(22313);let z=(()=>{class i{constructor(t){this._sanitizer=t}transform(t,n){switch(n){case"html":default:return this._sanitizer.bypassSecurityTrustHtml(t);case"style":return this._sanitizer.bypassSecurityTrustStyle(t);case"script":return this._sanitizer.bypassSecurityTrustScript(t);case"url":return this._sanitizer.bypassSecurityTrustUrl(t);case"resourceUrl":return this._sanitizer.bypassSecurityTrustResourceUrl(t)}}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(J.DomSanitizer,16))},i.\u0275pipe=e.\u0275\u0275definePipe({name:"safe",type:i,pure:!0}),i})();const G=["registrations"],j=["termsCondition"],$=["termsConditionConfirmation"];function Q(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",5),e.\u0275\u0275elementStart(1,"div",6),e.\u0275\u0275elementStart(2,"div",7),e.\u0275\u0275elementStart(3,"div",8),e.\u0275\u0275elementStart(4,"div",6),e.\u0275\u0275elementStart(5,"div",5),e.\u0275\u0275element(6,"img",9),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"div",10),e.\u0275\u0275elementStart(8,"div",11),e.\u0275\u0275element(9,"div",12),e.\u0275\u0275elementStart(10,"div",13),e.\u0275\u0275elementStart(11,"button",14),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().cancelLogOutRedirect()}),e.\u0275\u0275element(12,"span",15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"div",6),e.\u0275\u0275elementStart(14,"div",5),e.\u0275\u0275elementStart(15,"div",16),e.\u0275\u0275elementStart(16,"div",17),e.\u0275\u0275elementStart(17,"h2",18),e.\u0275\u0275text(18,"Log Out"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"p"),e.\u0275\u0275text(20,"You are currently logged in to the admin portal. Do you want to log out from the admin portal and login to the student portal?"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(21,"h5",19),e.\u0275\u0275elementStart(22,"div",20),e.\u0275\u0275elementStart(23,"div",21),e.\u0275\u0275elementStart(24,"button",22),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().cancelLogOutRedirect()}),e.\u0275\u0275text(25,"No"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(26,"button",23),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().logOut()}),e.\u0275\u0275text(27," Yes"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}2&i&&(e.\u0275\u0275advance(12),e.\u0275\u0275property("inlineSVG","./assets/media/svg/icons/General/register-close.svg"))}function W(i,a){1&i&&e.\u0275\u0275element(0,"img",40)}function Y(i,a){1&i&&e.\u0275\u0275element(0,"img",41)}function H(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"button",42),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const o=e.\u0275\u0275nextContext(2);return o.backStep(o.formStep)}),e.\u0275\u0275element(1,"i",43),e.\u0275\u0275elementEnd()}}function K(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",44),e.\u0275\u0275elementStart(1,"div",45),e.\u0275\u0275element(2,"img",46),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=a.src;e.\u0275\u0275advance(2),e.\u0275\u0275propertyInterpolate("src",t,e.\u0275\u0275sanitizeUrl)}}function X(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",47),e.\u0275\u0275elementStart(1,"div",45),e.\u0275\u0275elementStart(2,"button",48),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).selectStep(2)}),e.\u0275\u0275text(3," Sign Up "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"button",48),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).selectStep(1)}),e.\u0275\u0275text(5," Login "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275classProp("active",2==t.formStep),e.\u0275\u0275advance(2),e.\u0275\u0275classProp("active",1==t.formStep)}}function Z(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Please Enter Mobile Number "),e.\u0275\u0275elementEnd())}function ee(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Invalid Mobile Number "),e.\u0275\u0275elementEnd())}const O=function(){return["in"]};function te(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",5),e.\u0275\u0275elementStart(1,"mat-form-field",62),e.\u0275\u0275elementStart(2,"ngx-mat-intl-tel-input",63,64),e.\u0275\u0275listener("countryChanged",function(o){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(3).onMobileCountryChange(o,1)})("keyup.enter",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(3).loginSendToOTP()}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(4,Z,2,0,"mat-error",39),e.\u0275\u0275template(5,ee,2,0,"mat-error",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275property("preferredCountries",e.\u0275\u0275pureFunction0(5,O))("enablePlaceholder",!0)("enableSearch",!0),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",t.formSubmitted&&(null==t.loginControls.mobile_no.errors?null:t.loginControls.mobile_no.errors.required)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.formSubmitted&&(null==t.loginControls.mobile_no.errors?null:t.loginControls.mobile_no.errors.validatePhoneNumber))}}function ne(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Please Enter Email ID "),e.\u0275\u0275elementEnd())}function ie(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Invalid Email ID "),e.\u0275\u0275elementEnd())}function oe(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",5),e.\u0275\u0275elementStart(1,"mat-form-field",62),e.\u0275\u0275element(2,"input",65),e.\u0275\u0275template(3,ne,2,0,"mat-error",39),e.\u0275\u0275template(4,ie,2,0,"mat-error",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",t.formSubmitted&&(null==t.loginControls.email.errors?null:t.loginControls.email.errors.required)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",t.formSubmitted&&(null==t.loginControls.email.errors?null:t.loginControls.email.errors.email))}}function re(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"a",66),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(3).changeLoginType("email")}),e.\u0275\u0275text(1,"Login By Email ID"),e.\u0275\u0275elementEnd()}}function ae(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"a",66),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(3).changeLoginType("mobile")}),e.\u0275\u0275text(1,"Login By Mobile Number"),e.\u0275\u0275elementEnd()}}function me(i,a){1&i&&(e.\u0275\u0275elementStart(0,"div",59),e.\u0275\u0275elementStart(1,"mat-error"),e.\u0275\u0275text(2," You've requested too many times "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd())}function le(i,a){1&i&&e.\u0275\u0275element(0,"mat-spinner",67)}const f=function(){return{src:"assets/media/images/converge-form-logo.png"}};function se(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"form",49),e.\u0275\u0275listener("ngSubmit",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).loginSendToOTP()}),e.\u0275\u0275elementStart(1,"div",50),e.\u0275\u0275elementContainer(2,51),e.\u0275\u0275elementContainer(3,52),e.\u0275\u0275elementStart(4,"div",53),e.\u0275\u0275template(5,te,6,6,"div",54),e.\u0275\u0275template(6,oe,5,2,"div",54),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"div",55),e.\u0275\u0275elementStart(8,"div",17),e.\u0275\u0275template(9,re,2,0,"a",56),e.\u0275\u0275template(10,ae,2,0,"a",56),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",57),e.\u0275\u0275template(12,me,3,0,"div",58),e.\u0275\u0275elementStart(13,"div",59),e.\u0275\u0275elementStart(14,"button",60),e.\u0275\u0275text(15," Request Code "),e.\u0275\u0275template(16,le,1,0,"mat-spinner",61),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){e.\u0275\u0275nextContext();const t=e.\u0275\u0275reference(30),n=e.\u0275\u0275reference(32),o=e.\u0275\u0275nextContext();e.\u0275\u0275property("formGroup",o.loginForm),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngTemplateOutlet",t)("ngTemplateOutletContext",e.\u0275\u0275pureFunction0(11,f)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngTemplateOutlet",n),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf","mobile"==o.loginControls.login_by.value),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","email"==o.loginControls.login_by.value),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf","mobile"==o.loginControls.login_by.value),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","email"==o.loginControls.login_by.value),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",o.otpLoginService.isUserBlocked()),e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",o.httpSubmit||o.otpLoginService.isUserBlocked()),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",o.httpSubmit)}}function ce(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"p",74),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1("Resend OTP in ",t.otpRemain," Sec")}}function pe(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"p",74),e.\u0275\u0275elementStart(1,"a",75),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(3).loginSendToOTP()}
1),e.\u0275\u0275text(2,"Resend OTP"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext(3);e.\u0275\u0275classProp("cursor-event-none",t.httpSubmit||t.otpLoginService.isUserBlocked())}}function _e(i,a){1&i&&(e.\u0275\u0275elementStart(0,"div",59),e.\u0275\u0275elementStart(1,"mat-error"),e.\u0275\u0275text(2," You've requested too many times "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd())}function de(i,a){1&i&&e.\u0275\u0275element(0,"mat-spinner",67)}const h=function(){return{length:6,allowNumbersOnly:!0}};function ge(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"form",49),e.\u0275\u0275listener("ngSubmit",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).loginVerifyOTP()}),e.\u0275\u0275elementStart(1,"div"),e.\u0275\u0275elementContainer(2,51),e.\u0275\u0275elementStart(3,"div",6),e.\u0275\u0275elementStart(4,"div",17),e.\u0275\u0275elementStart(5,"h1"),e.\u0275\u0275text(6,"Login Verification"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"p"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"div",20),e.\u0275\u0275elementStart(10,"div",45),e.\u0275\u0275elementStart(11,"ng-otp-input",68),e.\u0275\u0275listener("onInputChange",function(o){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).onOtpChange(o)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"div",69),e.\u0275\u0275elementStart(13,"div",70),e.\u0275\u0275template(14,ce,2,1,"p",71),e.\u0275\u0275template(15,pe,3,2,"p",72),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"div",6),e.\u0275\u0275template(17,_e,3,0,"div",58),e.\u0275\u0275elementStart(18,"div",73),e.\u0275\u0275elementStart(19,"button",60),e.\u0275\u0275text(20," Submit "),e.\u0275\u0275template(21,de,1,0,"mat-spinner",61),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){e.\u0275\u0275nextContext();const t=e.\u0275\u0275reference(30),n=e.\u0275\u0275nextContext();e.\u0275\u0275property("formGroup",n.loginOtpForm),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngTemplateOutlet",t)("ngTemplateOutletContext",e.\u0275\u0275pureFunction0(11,f)),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate2("Enter the OTP sent to ","mobile"==n.user_data.login_by?"mobile":"email"," ",n.user_data.otp_user_name,""),e.\u0275\u0275advance(3),e.\u0275\u0275property("config",e.\u0275\u0275pureFunction0(12,h)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",0!=n.otpRemain),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==n.otpRemain),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",n.otpLoginService.isUserBlocked()),e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",n.httpSubmit||n.loginOtpForm.invalid||n.otpLoginService.isUserBlocked()),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",n.httpSubmit)}}function ue(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Enter First Name "),e.\u0275\u0275elementEnd())}function fe(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Enter Last Name "),e.\u0275\u0275elementEnd())}function he(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Enter Email ID "),e.\u0275\u0275elementEnd())}function ve(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Invalid Email ID "),e.\u0275\u0275elementEnd())}function be(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Please Enter Mobile Number "),e.\u0275\u0275elementEnd())}function Se(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Invalid Mobile Number "),e.\u0275\u0275elementEnd())}function xe(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"mat-option",96),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275property("value",t),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t.location," ")}}function Ce(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Select City, State, Country "),e.\u0275\u0275elementEnd())}function ye(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"mat-option",96
1),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=a.$implicit;e.\u0275\u0275property("value",t),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1(" ",t," ")}}function Ee(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Please select Intake "),e.\u0275\u0275elementEnd())}function Oe(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-error"),e.\u0275\u0275text(1," Agree Terms of Service & Privacy Policy "),e.\u0275\u0275elementEnd())}function Te(i,a){1&i&&e.\u0275\u0275element(0,"mat-spinner",67)}const we=function(){return["/terms-conditions"]},ke=function(){return["/privacy-policy"]};function Ie(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"form",49),e.\u0275\u0275listener("ngSubmit",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).signUp()}),e.\u0275\u0275elementStart(1,"div",50),e.\u0275\u0275elementContainer(2,51),e.\u0275\u0275elementContainer(3,52),e.\u0275\u0275elementStart(4,"div",76),e.\u0275\u0275elementStart(5,"div",77),e.\u0275\u0275elementStart(6,"mat-form-field",62),e.\u0275\u0275elementStart(7,"input",78),e.\u0275\u0275listener("input",function(o){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).restrictSpecialChars(o)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(8,ue,2,0,"mat-error",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"div",79),e.\u0275\u0275elementStart(10,"mat-form-field",62),e.\u0275\u0275elementStart(11,"input",80),e.\u0275\u0275listener("input",function(o){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).restrictSpecialChars(o)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(12,fe,2,0,"mat-error",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"div",76),e.\u0275\u0275elementStart(14,"div",77),e.\u0275\u0275elementStart(15,"mat-form-field",62),e.\u0275\u0275element(16,"input",81),e.\u0275\u0275template(17,he,2,0,"mat-error",39),e.\u0275\u0275template(18,ve,2,0,"mat-error",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"div",79),e.\u0275\u0275elementStart(20,"mat-form-field",62),e.\u0275\u0275elementStart(21,"ngx-mat-intl-tel-input",82,64),e.\u0275\u0275listener("countryChanged",function(o){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).onMobileCountryChange(o,2)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(23,be,2,0,"mat-error",39),e.\u0275\u0275template(24,Se,2,0,"mat-error",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(25,"div",69),e.\u0275\u0275elementStart(26,"div",83),e.\u0275\u0275elementStart(27,"mat-form-field",62),e.\u0275\u0275elementStart(28,"mat-label"),e.\u0275\u0275text(29,"City, State, Country"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(30,"input",84),e.\u0275\u0275listener("input",function(o){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).loadCityValues(o.target.value)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(31,"mat-autocomplete",85,86),e.\u0275\u0275listener("optionSelected",function(o){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).selectedLocation(o)}),e.\u0275\u0275template(33,xe,2,2,"mat-option",87),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(34,Ce,2,0,"mat-error",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"div",83),e.\u0275\u0275elementStart(36,"mat-form-field",62),e.\u0275\u0275elementStart(37,"mat-label"),e.\u0275\u0275text(38,"Intake"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(39,"mat-select",88),e.\u0275\u0275template(40,ye,2,2,"mat-option",87),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(41,Ee,2,0,"mat-error",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(42,"div",89),e.\u0275\u0275elementStart(43,"div",90),e.\u0275\u0275elementStart(44,"mat-checkbox",91),e.\u0275\u0275text(45,"By clicking on signup you agree to the "),e.\u0275\u0275elementStart(46,"a",92),e.\u0275\u0275text(47,"Terms of Service"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(48," and "),e.\u0275\u0275elementStart(49,"a",92),e.\u0275\u0275text(50,"Privacy Policy"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(51,Oe,2,0,"mat-error",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(52,"div",6),e.\u0275\u0275elementStart(53,"div",21),e.\u0275\u0275elementStart(54,"button",60),e.\u0275\u0275text(55," Request Code "),e.\u0275\u0275template(56,Te,1,0,"mat-spinner",61),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(57,"div",93),e.\u0275\u0275elementStart(58,"div",17),e.\u0275\u0275elementStart(59,"span",94),e.\u0275\u0275text(60,"\xa0"),e.\u0275\u0275elementEnd(),e.\u0275\u0275text(61," Have Questions? "),e.\u0275\u0275elementStart(62,"a",95),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).getHelp()}),e.\u0275\u0275text(63,"Get Help"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275reference(32);e.\u0275\u0275nextContext();const n=e.\u0275\u0275reference(30),o=e.\u0275\u0275reference(32),r=e.\u0275\u0275nextContext();e.\u0275\u0275property("formGroup",r.signForm),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngTemplateOutlet",n)("ngTemplateOutletContext",e.\u0275\u0275pureFunction0(25,f)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngTemplateOutlet",o),e.\u0275\u0275advance(4),e.\u0275\u0275property("maxlength",r.name_limit),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",r.formSubmitted&&(null==r.signUpControl.first_name.errors?null:r.signUpControl.first_name.errors.required)),e.\u0275\u0275advance(3),e.\u0275\u0275property("maxlength",r.name_limit),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",r.formSubmitted&&(null==r.signUpControl.last_name.errors?null:r.signUpControl.last_name.errors.required)),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",r.formSubmitted&&(null==r.signUpControl.email.errors?null:r.signUpControl.email.errors.required)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",r.formSubmitted&&(null==r.signUpControl.email.errors?null:r.signUpControl.email.errors.email)),e.\u0275\u0275advance(3),e.\u0275\u0275property("preferredCountries",e.\u0275\u0275pureFunction0(26,O))("enablePlaceholder",!0)("enableSearch",!0),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",r.formSubmitted&&(null==r.signUpControl.mobile_no.errors?null:r.signUpControl.mobile_no.errors.required)),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",r.formSubmitted&&(null==r.signUpControl.mobile_no.errors?null:r.signUpControl.mobile_no.errors.validatePhoneNumber)),e.\u0275\u0275advance(6),e.\u0275\u0275property("matAutocomplete",t),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",r.cityList),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",r.formSubmitted&&(null==r.signUpControl.city.errors?null:r.signUpControl.city.errors.required)),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngForOf",r.application_years),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",r.formSubmitted&&(null==r.signUpControl.application_year.errors?null:r.signUpControl.application_year.errors.required)),e.\u0275\u0275advance(5),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(27,we)),e.\u0275\u0275advance(3),e.\u0275\u0275property("routerLink",e.\u0275\u0275pureFunction0(28,ke)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",r.formSubmitted&&(null==r.signUpControl.terms_agree.errors?null:r.signUpControl.terms_agree.errors.required)),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",r.httpSubmit),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",r.httpSubmit)}}function Le(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-icon",102),e.\u0275\u0275text(1,"check_circle_outline"),e.\u0275\u0275elementEnd())}function Pe(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"p"),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1("Enter the OTP sent to Mobile Number ",t.verify_data.otp_m_user_name,"")}}function Me(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",20),e.\u0275\u0275elementStart(1,"div",45),e.\u0275\u0275elementStart(2,"ng-otp-input",68),e.\u0275\u0275listener("onInputChange",function(o){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(3).onSignUpOtpChange(o,"mobile_input_1")}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}2&i&&(e.\u0275\u0275advance(2),e.\u0275\u0275property("config",e.\u0275\u0275pureFunction0(1,h)))}function Ne(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"p",74),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1("Resend OTP in ",t.mobileOtpRemain," Sec")}}function Fe(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"p",74),e.\u0275\u0275elementStart(1,"a",75),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const o=e.\u0275\u0275nextContext(4);return o.sendOtp("",o.verify_data.mobile_no,o.verify_data.phone_code,o.verify_data.id)}),e.\u0275\u0275text(2," Resend OTP"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext(4);e.\u0275\u0275classProp("cursor-event-none",t.httpSubmit||t.otpLoginService.isUserBlocked())}}function Ve(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",6),e.\u0275\u0275elementStart(1,"div",70),e.\u0275\u0275template(2,Ne,2,1,"p",71),e.\u0275\u0275template(3,Fe,3,2,"p",72),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",0!=t.mobileOtpRemain&&"0"==t.verify_data.mobile_verified),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==t.mobileOtpRemain&&"0"==t.verify_data.mobile_verified)}}function Ue(i,a){1&i&&(e.\u0275\u0275elementStart(0,"mat-icon",102),e.\u0275\u0275text(1,"check_circle_outline"),e.\u0275\u0275elementEnd())}function Re(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"p"),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1("Enter the OTP sent to Email ID ",t.verify_data.otp_e_user_name,"")}}function De(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",20),e.\u0275\u0275elementStart(1,"div",45),e.\u0275\u0275elementStart(2,"ng-otp-input",68),e.\u0275\u0275listener("onInputChange",function(o){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(3).onSignUpOtpChange(o,"email_input_1")}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}2&i&&(e.\u0275\u0275advance(2),e.\u0275\u0275property("config",e.\u0275\u0275pureFunction0(1,h)))}function qe(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"p",74),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1("Resend OTP in ",t.emailOtpRemain," Sec")}}function Ae(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"p",74),e.\u0275\u0275elementStart(1,"a",75),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const o=e.\u0275\u0275nextContext(4);return o.sendOtp(o.verify_data.email,"","",o.verify_data.id)}),e.\u0275\u0275text(2," Resend OTP"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext(4);e.\u0275\u0275classProp("cursor-event-none",t.httpSubmit||t.otpLoginService.isUserBlocked())}}function Be(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"div",6),e.\u0275\u0275elementStart(1,"div",70),e.\u0275\u0275template(2,qe,2,1,"p",71),e.\u0275\u0275template(3,Ae,3,2,"p",72),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",0!=t.emailOtpRemain&&"0"==t.verify_data.email_verified),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==t.emailOtpRemain&&"0"==t.verify_data.email_verified)}}function Je(i,a){1&i&&(e.\u0275\u0275elementStart(0,"div",59),e.\u0275\u0275elementStart(1,"mat-error"),e.\u0275\u0275text(2," You've requested too many times "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd())}function ze(i,a){1&i&&e.\u0275\u0275element(0,"mat-spinner",67)}function Ge(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div"),e.\u0275\u0275elementStart(1,"form",49),e.\u0275\u0275listener("ngSubmit",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).submitVerifyAccount()}),e.\u0275\u0275elementStart(2,"div",50),e.\u0275\u0275elementContainer(3,51),e.\u0275\u0275elementStart(4,"div",6),e.\u0275\u0275elementStart(5,"div",17),e.\u0275\u0275elementStart(6,"h1",97),e.\u0275\u0275elementStart(7,"strong"),e.\u0275\u0275text(8,"OTP Verification"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"p"),e.\u0275\u0275text(10,"Please enter the OTP we have sent to your Mobile Number and Email ID."),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",6),e.\u0275\u0275elementStart(12,"div",17),e.\u0275\u0275elementStart(13,"h3",98),e.\u0275\u0275elementStart(14,"strong"),e.\u0275\u0275text(15,"Mobile Number Verification "),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(16,Le,2,0,"mat-icon",99),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(17,Pe,2,1,"p",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(18,Me,3,2,"div",100),e.\u0275\u0275template(19,Ve,4,2,"div",2),e.\u0275\u0275elementStart(20,"div",6),e.\u0275\u0275elementStart(21,"div",17),e.\u0275\u0275elementStart(22,"h3",98),e.\u0275\u0275elementStart(23,"strong"),e.\u0275\u0275text(24,"Email ID Verification "),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(25,Ue,2,0,"mat-icon",99),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(26,Re,2,1,"p",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(27,De,3,2,"div",100),e.\u0275\u0275template(28,Be,4,2,"div",2),e.\u0275\u0275elementStart(29,"div",6),e.\u0275\u0275template(30,Je,3,0,"div",58),e.\u0275\u0275elementStart(31,"div",101),e.\u0275\u0275elementStart(32,"button",60),e.\u0275\u0275text(33," Submit "),e.\u0275\u0275template(34,ze,1,0,"mat-spinner",61),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){e.\u0275\u0275nextContext();const t=e.\u0275\u0275reference(30),n=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("formGroup",n.signUpOtpForm),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngTemplateOutlet",t)("ngTemplateOutletContext",e.\u0275\u0275pureFunction0(14,f)),e.\u0275\u0275advance(13),e.\u0275\u0275property("ngIf","1"==n.verify_data.mobile_verified),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","0"==n.verify_data.mobile_verified),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","0"==n.verify_data.mobile_verified),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","0"==n.verify_data.mobile_verified),e.\u0275\u0275advance(6),e.\u0275\u0275property("ngIf","1"==n.verify_data.email_verified),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","0"==n.verify_data.email_verified),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","0"==n.verify_data.email_verified),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf","0"==n.verify_data.email_verified),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",n.otpLoginService.isUserBlocked()),e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",n.httpSubmit||n.otpLoginService.isUserBlocked()),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",n.httpSubmit)}}function je(i,a){if(1&i){const
1 t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",6),e.\u0275\u0275elementStart(1,"div",5),e.\u0275\u0275elementStart(2,"div",6),e.\u0275\u0275elementStart(3,"div",24),e.\u0275\u0275elementStart(4,"div",8),e.\u0275\u0275elementStart(5,"div",25),e.\u0275\u0275elementStart(6,"div",5),e.\u0275\u0275elementStart(7,"button",26),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().onCancel()}),e.\u0275\u0275element(8,"span",15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"div",6),e.\u0275\u0275elementStart(10,"div",5),e.\u0275\u0275template(11,W,1,0,"img",27),e.\u0275\u0275template(12,Y,1,0,"img",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"div",29),e.\u0275\u0275elementStart(14,"div"),e.\u0275\u0275elementStart(15,"h1",30),e.\u0275\u0275text(16,"Download the app"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"p",31),e.\u0275\u0275text(18," Scan the QR code"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(19,"img",32),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"div",33),e.\u0275\u0275elementStart(21,"div",34),e.\u0275\u0275elementStart(22,"div",12),e.\u0275\u0275template(23,H,2,0,"button",35),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(24,"div",13),e.\u0275\u0275elementStart(25,"button",14),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().onCancel()}),e.\u0275\u0275element(26,"span",15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(27,"div",6),e.\u0275\u0275elementStart(28,"div",5),e.\u0275\u0275template(29,K,3,1,"ng-template",null,36,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275template(31,X,6,4,"ng-template",null,37,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275template(33,se,17,12,"form",38),e.\u0275\u0275template(34,ge,22,13,"form",38),e.\u0275\u0275template(35,Ie,64,29,"form",38),e.\u0275\u0275template(36,Ge,35,15,"div",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(8),e.\u0275\u0275property("inlineSVG","./assets/media/svg/icons/General/register-close.svg"),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",2==t.formStep||2==t.prev_step),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",1==t.formStep||1==t.prev_step),e.\u0275\u0275advance(11),e.\u0275\u0275property("ngIf",1==t.prev_step&&(3==t.formStep||13==t.formStep)),e.\u0275\u0275advance(3),e.\u0275\u0275property("inlineSVG","./assets/media/svg/icons/General/register-close.svg"),e.\u0275\u0275advance(7),e.\u0275\u0275property("ngIf",1==t.formStep),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",13==t.formStep),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",2==t.formStep),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",3==t.formStep)}}function $e(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",103),e.\u0275\u0275element(1,"h3",104),e.\u0275\u0275elementStart(2,"button",105),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t).dismiss("Cross click")}),e.\u0275\u0275element(3,"i",106),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div",107),e.\u0275\u0275elementStart(5,"div",108),e.\u0275\u0275elementStart(6,"div",109),e.\u0275\u0275elementStart(7,"div",6),e.\u0275\u0275elementStart(8,"div",17),e.\u0275\u0275element(9,"iframe",110),e.\u0275\u0275pipe(10,"safe"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"div",111),e.\u0275\u0275elementStart(12,"div",112),e.\u0275\u0275elementStart(13,"div",17),e.\u0275\u0275elementStart(14,"mat-checkbox",113),e.\u0275\u0275listener("ngModelChange",function(o){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().terms_and_condition=o}),e.\u0275\u0275elementStart(15,"span",114),e.\u0275\u0275text(16,"By clicking here, I state that I have read and understood the terms and conditions."),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"div",6),e.\u0275\u0275elementStart(18,"div",115),e.\u0275\u0275elementStart(19,"button",116),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().showConfirmationPopUp()}),e.\u0275\u0275text(20," Accept & Continue "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(9),e.\u0275\u0275property("src",e.\u0275\u0275pipeBind2(10,3,t.payment_login_agreement_link,"resourceUrl"),e.\u0275\u0275sanitizeResourceUrl),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngModel",t.terms_and_condition),e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",!t.terms_and_condition)}}function Qe(i,a){if(1&i&&(e.\u0275\u0275elementStart(0,"p",74),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate1("Resend OTP in ",t.termsConfirmationControls.otp_time.value," Sec")}}function We(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"p",74),e.\u0275\u0275elementStart(1,"a",75),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext(2).sendConfirmationOtp()}
1),e.\u0275\u0275text(2,"Resend OTP"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext(2);e.\u0275\u0275classProp("cursor-event-none",t.submit_form)}}function Ye(i,a){1&i&&e.\u0275\u0275element(0,"mat-spinner",67)}function He(i,a){if(1&i){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",103),e.\u0275\u0275element(1,"h3",104),e.\u0275\u0275elementStart(2,"button",105),e.\u0275\u0275listener("click",function(){return e.\u0275\u0275restoreView(t).dismiss("Cross click")}),e.\u0275\u0275element(3,"i",106),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div",107),e.\u0275\u0275elementStart(5,"form",49),e.\u0275\u0275listener("ngSubmit",function(){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().saveAgreementConfirmation()}),e.\u0275\u0275elementStart(6,"div",6),e.\u0275\u0275elementStart(7,"div",117),e.\u0275\u0275elementStart(8,"p"),e.\u0275\u0275text(9,"Enter OTP you have received on"),e.\u0275\u0275element(10,"br"),e.\u0275\u0275text(11),e.\u0275\u0275element(12,"br"),e.\u0275\u0275text(13," validate and confirm"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"div",20),e.\u0275\u0275elementStart(15,"div",45),e.\u0275\u0275elementStart(16,"ng-otp-input",118),e.\u0275\u0275listener("onInputChange",function(o){return e.\u0275\u0275restoreView(t),e.\u0275\u0275nextContext().confirmationOtpChange(o)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"div",69),e.\u0275\u0275elementStart(18,"div",119),e.\u0275\u0275template(19,Qe,2,1,"p",71),e.\u0275\u0275template(20,We,3,2,"p",72),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(21,"div",6),e.\u0275\u0275elementStart(22,"div",120),e.\u0275\u0275elementStart(23,"button",121),e.\u0275\u0275text(24," Confirm "),e.\u0275\u0275template(25,Ye,1,0,"mat-spinner",61),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementEnd()}if(2&i){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(5),e.\u0275\u0275property("formGroup",t.termsConfirmationForm),e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" mobile/WhatsApp ",t.termsConfirmationControls.otp_user_name.value," to"),e.\u0275\u0275advance(5),e.\u0275\u0275property("config",e.\u0275\u0275pureFunction0(7,h)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",0!=t.termsConfirmationControls.otp_time.value),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",0==t.termsConfirmationControls.otp_time.value),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",t.submit_form||t.termsConfirmationForm.invalid),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",t.submit_form)}}let Ke=(()=>{class i{constructor(t,n,o,r,l,s,p,d,_,u,S){this.router=t,this.modalService=n,this.authService=o,this.apiService=r,this.userService=l,this.fb=s,this.activeModal=p,this.subheader=d,this.chat=_,this.otpLoginService=u,this.moengageService=S,this.formSubmitted=!1,this.mobile_input=!1,this.application_years=[],this.cityList=[],this.httpSubmit=!1,this.is_sign_up=0,this.genders=g.$.gender,this.already_sign_in="",this.today=new Date,this.countryList={data:[],search:[]},this.prev_step=0,this.name_limit=30,this.payment_login_agreement=0,this.payment_login_agreement_link="p",this.terms_and_condition=!1,this.student_id="",this.submit_api="",this.submit_form=!1,this.otp_user_name="",this.resultData="",this.is_converge=0}logOut(){this.authService.logout()}cancelLogOutRedirect(){if(localStorage.getItem("user_data"))this.onConfirm();else if(localStorage.getItem("admin_user_data")){let t=JSON.parse(localStorage.getItem("admin_user_data")),n=[];t&&t.modules&&(n=t.modules.filter(r=>"1"!=r.status));let o=[];for(let r in o){let l=n.find(s=>s.machine_name.toLowerCase()===o[r].title.split(" ").join("_").toLowerCase());if(l){const s=o[r].page.split("/")[0];this.apiService.setMenuDetails(l,s),this.router.navigate([s+"/dashboard"]).then(p=>{window.location.reload()});break}}}}ngOnInit(){this.onClose=new w.xQ,this.already_sign_in=null!=localStorage.getItem("user_data")?"1":(localStorage.getItem("admin_user_data"),""),this.setLoginForm(),this.setSignUpForm(),this.getApplicationYear()}setLoginForm(){this.loginForm=new m.cw({mobile_no:new m.NI("",[m.kI.required]),phone_code:new m.NI(""),email:new m.NI(""),login_by:new m.NI("mobile")})}get loginControls(){return this.loginForm.controls}changeLoginType(t){this.loginForm=new m.cw("mobile"==t?{mobile_no:new m.NI("",[m.kI.required]),phone_code:new m.NI(""),email:new m.NI(""),login_by:new m.NI("mobile")}:{mobile_no:new m.NI(""),phone_code:new m.NI(""),email:new m.NI("",[m.kI.required,m.kI.email]),login_by:new m.NI("email")})}onMobileCountryChange(t,n){1==n?this.loginForm.patchValue({phone_code:t.dialCode}):this.signForm.patchValue({country_code:t.dialCode})}
1loginSendToOTP(){if(this.formSubmitted=!0,this.loginForm.invalid)return!1;const t=JSON.parse(JSON.stringify(this.loginForm.value));let n="";"mobile"==t.login_by?t.mobile_no&&(n=t.mobile_no.replace(/\s/g,"").slice(t.phone_code.length+1)):n=t.email;let o={username:n,request_from:"web",logintype:"converge",phone_code:"",mobile_no:""};"mobile"==t.login_by?(o.mobile_no=n,o.phone_code=t.phone_code):(delete o.phone_code,delete o.mobile_no),this.httpSubmit=!0,this.apiService.post_oauth2("ClientCredentials/getAccesstoken",{}).subscribe(r=>{r.error?this.httpSubmit=!1:(this.token=r.access_token,this.apiService.postWithoutLoginToken("Login/signinotp",this.token,o).subscribe(l=>{if(this.httpSubmit=!1,l.status){if(l.data){this.student_id=l.data.id,this.is_converge=l.data.is_converge,this.payment_login_agreement=l.data.payment_login_agreement,this.payment_login_agreement_link=l.data.payment_login_agreement_link;const s=l.data.mobile_no,d=s.slice(-4).padStart(s.length,"*");this.otp_user_name="+"+l.data.phone_code+" "+d}this.prev_step=1,this.otpLoginService.requestOtp(),this.otpLoginService.isUserBlocked()||(this.moengageService.setUserDetails(l.data.id,l.data.first_name,l.data.last_name,l.data.email,l.data.mobile_no),this.moengageService.updateData("LoginOtpRequested","mobile"===t.login_by?{mobile_no:n,type:t.login_by}:{email:n,type:t.login_by}),13==this.formStep?(this.apiService.toastMsg("OTP sent successfully","success"),this.otpRemain=60,this.setLoginOTPForm(),this.StartTimer()):"0"!=l.data.mobile_verified&&"0"!=l.data.email_verified?this.nextToOtpScreen(l,t):(this.verify_data=l.data,this.nextToVerifyEmailMobileScreen(t)))}else this.apiService.toastMsg(l.message,"error")},l=>{this.httpSubmit=!1,this.apiService.toastErrorMsg(l)}))})}nextToOtpScreen(t,n){if(this.formStep=13,this.user_data=t.data,this.user_data.login_by=n.login_by,this.otpRemain=60,"mobile"==n.login_by){const o=t.data.mobile_no,l=o.slice(-4).padStart(o.length,"*");this.user_data.otp_user_name="+"+n.phone_code+" "+l}else this.user_data.otp_user_name=t.data.email.replace(/(\w{3})[\w.-]+@([\w.]+\w)/,"$1***@$2");this.setLoginOTPForm(),this.StartTimer()}StartTimer(){setTimeout(t=>{this.otpRemain=0==this.otpRemain?0:this.otpRemain-1,this.otpRemain>0&&this.StartTimer()},1e3)}setLoginOTPForm(){this.loginOtpForm=new m.cw({input_1:new m.NI("",[m.kI.required])})}onOtpChange(t){t&&this.loginOtpForm.patchValue(6==t.length?{input_1:t}:{input_1:""})}get loginOTPControls(){return this.loginOtpForm.controls}trackInputChangeFocus(t,n,o=""){"Backspace"===t.key||"Delete"===t.key||1==n.length&&o&&o.focus()}loginVerifyOTP(){if(this.formSubmitted=!0,this.loginOtpForm.invalid)return!1;const t=JSON.parse(JSON.stringify(this.loginForm.value));let o=JSON.parse(JSON.stringify(this.loginOtpForm.value)).input_1,r="";"mobile"==t.login_by?t.mobile_no&&(r=t.mobile_no.replace(/\s/g,"").slice(t.phone_code.length+1)):r=t.email;let l={username:r,verification_code:o};l.user_group=this.user_data.user_group,this.httpSubmit=!0,this.apiService.post_oauth2("ClientCredentials/getAccesstoken",{}).subscribe(s=>{s.error?this.httpSubmit=!1:(this.token=s.access_token,this.apiService.postWithoutLoginToken("Login/verifiyLoginOtp",this.token,l).subscribe(p=>{this.httpSubmit=!1,this.resultData=p,p.status?(this.moengageService.updateData("Logged in",{type:t.login_by}),this.moengageService.updateData("mobile"===t.login_by?"Number verified":"Email verified",{}),1==this.user_data.is_admin_access?(localStorage.setItem("user_data",JSON.stringify(this.user_data)),this.apiService.toastMsg(p.message,"success"),this.getAccessToken(1)):0==this.payment_login_agreement&&1==this.is_converge?this.showTermsAndCondition():(localStorage.setItem("user_data",JSON.stringify(this.user_data)),this.apiService.toastMsg(p.message,"success"),this.getAccessToken(1))):this.apiService.toastMsg(p.message,"error")},p=>{this.httpSubmit=!1,this.apiService.toastErrorMsg(p)}))})}setSignUpForm(){this.signForm=new m.cw({first_name:new m.NI("",[m.kI.required]),last_name:new m.NI("",[m.kI.required]),email:new m.NI("",[m.kI.required,m.kI.email]),mobile_no:new m.NI("",[m.kI.required]),city:new m.NI("",[m.kI.required]),location:new m.NI("",[m.kI.required]),country_code:new m.NI("91",[m.kI.required]),terms_agree:new m.NI(!0,[m.kI.requiredTrue]),application_year:new m.NI("",[m.kI.required])})}get signUpControl(){return this.signForm.controls}signUp(){if(this.is_sign_up=1,this.formSubmitted=!0,this.signForm.invali
1d)return!1;const t=JSON.parse(JSON.stringify(this.signForm.value));let n=t.mobile_no;t.mobile_no&&(n=t.mobile_no.replace(/\s/g,"").slice(t.country_code.length+1));let o={first_name:t.first_name,last_name:t.last_name,email:t.email,mobile_no:n,phone_code:t.country_code,user_group:g.$.STUDENT_GROUP,logintype:"converge",country:t.city.country,state:t.city.state,city:t.city.city,application_year:t.application_year,is_unidirect:1,is_loan_model:1,request_type:"website",request_from:"web",password:""};this.is_unidirect||delete o.is_unidirect,this.is_loan_model||delete o.is_loan_model,this.httpSubmit=!0,this.apiService.post_oauth2("ClientCredentials/getAccesstoken",{}).subscribe(r=>{r.error?this.httpSubmit=!1:(this.token=r.access_token,this.apiService.postWithoutLoginToken("Login/signUp",this.token,o).subscribe(l=>{if(this.httpSubmit=!1,1==l.status){this.prev_step=2,this.user_id=l.data,this.student_id=l.data,this.payment_login_agreement_link=l.payment_login_agreement_link,this.is_converge=1;const s=n,d=s.slice(-4).padStart(s.length,"*"),_="+"+t.country_code+" "+d,u=t.email.replace(/(\w{3})[\w.-]+@([\w.]+\w)/,"$1***@$2");this.verify_data={id:l.data,mobile_no:n,phone_code:t.country_code,email:t.email,email_verified:"0",mobile_verified:"0",isInterestProfileFilled:"0",otp_m_user_name:_,otp_e_user_name:u},this.moengageService.setUserDetails(this.user_id,o.first_name,o.last_name,o.email,o.mobile_no),this.moengageService.updateData("SignupOtpRequested",{mobile_no:o.mobile_no,email:o.email,first_name:o.first_name,last_name:o.last_name}),this.apiService.toastMsg(l.message,"success"),this.setSignUpOTPForm(),this.startEmailOtpTimer(),this.startMobileOtpTimer(),this.formStep=3}else this.apiService.toastMsg(l.message,"error")},l=>{this.httpSubmit=!1,this.apiService.toastErrorMsg(l)}))},r=>{this.apiService.toastErrorMsg(r),this.httpSubmit=!1})}nextToVerifyEmailMobileScreen(t){if(this.setSignUpOTPForm(),this.startEmailOtpTimer(),this.startMobileOtpTimer(),"0"!=this.verify_data.email_verified)for(let _ of["email_input_1"])this.signUpOtpForm.get(_).setValidators(null),this.signUpOtpForm.get(_).setErrors(null);if("0"!=this.verify_data.mobile_verified)for(let _ of["mobile_input_1"])this.signUpOtpForm.get(_).setValidators(null),this.signUpOtpForm.get(_).setErrors(null);this.formStep=3,this.email_otp="0"!=this.verify_data.email_verified?this.verify_data.email_verification_code:"",this.mobile_otp="0"!=this.verify_data.mobile_verified?this.verify_data.mobile_verification_code:"";let n="0"==this.verify_data.mobile_verified?this.verify_data.mobile_no:"",o="0"==this.verify_data.email_verified?this.verify_data.email:"";const r=n,s=r.slice(-4).padStart(r.length,"*"),p="+"+this.verify_data.phone_code+" "+s,d=t.email.replace(/(\w{3})[\w.-]+@([\w.]+\w)/,"$1***@$2");this.verify_data.otp_m_user_name=p,this.verify_data.otp_e_user_name=d,""!=o&&(this.emailOtpRemain=60,this.startEmailOtpTimer()),""!=n&&(this.mobileOtpRemain=60,this.startMobileOtpTimer())}setSignUpOTPForm(){this.mobileOtpRemain=60,this.emailOtpRemain=60,this.signUpOtpForm=new m.cw({mobile_input_1:new m.NI("",[m.kI.required]),email_input_1:new m.NI("",[m.kI.required])})}onSignUpOtpChange(t,n){t&&this.signUpOtpForm.patchValue(6==t.length?{[n]:t}:{[n]:""})}get signUpOTPControls(){return this.signUpOtpForm.controls}startEmailOtpTimer(){setTimeout(t=>{this.emailOtpRemain=0==this.emailOtpRemain?0:this.emailOtpRemain-1,this.emailOtpRemain>0&&this.startEmailOtpTimer()},1e3)}startMobileOtpTimer(){setTimeout(t=>{this.mobileOtpRemain=0==this.mobileOtpRemain?0:this.mobileOtpRemain-1,this.mobileOtpRemain>0&&this.startMobileOtpTimer()},1e3)}sendOtp(t,n,o,r){if(this.otpLoginService.isUserBlocked)return!1;const l=new FormData;""!=t&&l.append("email",t),""!=n&&(l.append("mobile_no",n),l.append("phone_code",o)),l.append("user_id",r),l.append("user_group",this.verify_data.user_group),l.append("request_from","web"),this.apiService.post_without_token("Login/getResendVerifyCode",l).subscribe(s=>{1==s.status?(this.otpLoginService.requestOtp(),this.verification_code={email_verification_code:s.data.email_verification_code,mobile_verification_code:s.data.mobile_verification_code},""!=t&&(this.emailOtpRemain=60,this.startEmailOtpTimer()),""!=n&&(this.mobileOtpRemain=60,this.startMobileOtpTimer()),this.moengageService.updateData("Resend OTP",{}),this.otpLoginService.requestOtp(),this.apiService.toastMsg(s.message,"success")):this.apiService.toastMsg(s.message,"error")},s=>{this.apiService.toastErrorMsg(s)})}submitVerifyAccount(){const t=JSON.parse(JSON.stringify(this.signUpOtpForm.value));this.VerifyAccount(t.mobile_input_1,t.email_input_1)}VerifyAccount(t,n){if("0"==this.verify_data.mobile_verified&&"0"==this.verify_data.email_verified&&(""==t||null==t||""==n||null==n))return this.apiService.toastMsg("Please enter mobile & email OTP","warning"),!1;if("0"==this.verify_data.mobile_verified&&(""==t||null==t))return this.apiService.toastMsg("Enter mobile otp","warning"),!1;if("0"==this.verify_data.email_verified&&(""==n||null==n))return this.apiService.toastMsg("Enter email otp","warning"),!1;let o={user_id:this.verify_data.id,email:this.verify_data.email,mobile_no:this.verify_data.mobile_no,email_verification_code:n,mobile_verification_code:t,request_from:"web"};o.user_group=this.verify_data.user_group,""==n&&delete o.email_verification_code,""==t&&delete o.mobile_verification_code,this.httpSubmit=!0,this.apiService.post_oauth2("ClientCredentials/getAccesstoken",{}).subscribe(r=>{r.error||(this.token=r.access_token,this.apiService.postWithoutLoginToken("Login/verifyEmailMobile",this.token,o).subscribe(l=>{if(this.httpSubmit=!1,this.resultData=l,1==l.status){this.user_data=l.data;let s=l.message.replace("<br>","");this.moengageService.updateData("Number verified",{}),this.moengageService.updateData("Email verified",{}),this.moengageService.updateData("Signed Up",{}),this.apiService.toastMsg(s,"success");let p=l.data;p.user_group=g.$.STUDENT_GROUP,0==this.payment_login_agreement&&1==this.is_converge?(this.resultData.is_signup=1,this.showTermsAndCondition()):(localStorage.setItem("user_data",JSON.stringify(p)),this.getAccessToken(1))}else{let s=l.message.replace("<br>","");this.apiService.toastMsg(s,"error")}},l=>{this.httpSubmit=!1,this.apiService.toastErrorMsg(l)}))},r=>{this.httpSubmit=!1,this.apiService.toastErrorMsg(r)})}selectStep(t){this.formStep=t,this.prev_step=t,this.formSubmitted=!1,1==this.formStep?(this.setLoginForm(),this.otpRemain=60):2==this.formStep&&this.setSignUpForm()}backStep(t){this.formStep=1,this.otpRemain=60}afterConfirm(){if(this.resultData.is_signup){let t=this.resultData.data;t.user_group=g.$.STUDENT_GROUP,localStorage.setItem("user_data",JSON.stringify(t)),this.getAccessToken(1)}else localStorage.setItem("user_data",JSON.stringify(this.user_data)),this.apiService.toastMsg(this.resultData.message,"success"),this.getAccessToken(1)}showTermsAndCondition(){this.refTermsCondition=this.modalService.open(this.termsCondition,{centered:!0,size:"xl"})}showConfirmationPopUp(){this.setTermsConfirmationForm(),this.sendConfirmationOtp(),this.refTermsConditionConfirmation=this.modalService.open(this.termsConditionConfirmation,{centered:!0,size:"sm"})}setTermsConfirmationForm(){this.termsConfirmationForm=new m.cw({mobile_input
1:new m.NI("",[m.kI.required]),otp_user_name:new m.NI(this.otp_user_name),otp_time:new m.NI(60)})}get termsConfirmationControls(){return this.termsConfirmationForm.controls}confirmationOtpChange(t){t&&this.termsConfirmationForm.patchValue(6==t.length?{mobile_input:t}:{mobile_input:""})}sendConfirmationOtp(){let t={student_id:this.student_id,user_group:g.$.STUDENT_GROUP,request_from:"web",logintype:"converge"};this.submit_form=!0,null!=this.submit_api&&""!=this.submit_api&&this.submit_api.unsubscribe(),this.submit_api=this.apiService.postWithoutLoginToken("Login/sendAgreementOtp",this.token,t).subscribe(n=>{this.submit_form=!1,1==n.status?(this.termsConfirmationForm.patchValue({otp_time:60}),this.startTermsConfirmationOtpTimer(),this.apiService.toastMsg(n.message,"success")):this.apiService.toastMsg(n.message,"error")},n=>{this.submit_form=!1})}startTermsConfirmationOtpTimer(){setTimeout(t=>{let n=this.termsConfirmationForm.value,o=0==n.otp_time?0:n.otp_time-1;this.termsConfirmationForm.patchValue({otp_time:o}),o>0&&this.startTermsConfirmationOtpTimer()},1e3)}saveAgreementConfirmation(){const t=JSON.parse(JSON.stringify(this.termsConfirmationForm.value));let n={student_id:this.student_id,otp:t.mobile_input,user_group:g.$.STUDENT_GROUP,request_from:"web",logintype:"converge"};this.submit_form=!0,null!=this.submit_api&&""!=this.submit_api&&this.submit_api.unsubscribe(),this.submit_api=this.apiService.postWithoutLoginToken("Login/paymentLoginAgreement",this.token,n).subscribe(o=>{this.submit_form=!1,1==o.status?(this.payment_login_agreement=1,this.apiService.toastMsg(o.message,"success"),this.refTermsCondition&&this.refTermsCondition.dismiss(),this.refTermsConditionConfirmation&&this.refTermsConditionConfirmation.dismiss(),this.afterConfirm()):this.apiService.toastMsg(o.message,"error")},o=>{this.submit_form=!1,this.apiService.toastErrorMsg(o)})}getApplicationYear(){const t=new FormData;t.append("req_from","crm"),this.apiService.post_without_token("Login/applicationYr",t).subscribe(n=>{this.application_years=n},n=>{this.apiService.toastErrorMsg(n)})}getNumber(t){this.signForm.get("mobile_no").setValue(t)}telInputObject(t){this.signForm.patchValue({country_code:t.dialCode})}hasError(t){t?this.signForm.get("mobile_no").setErrors(null):this.signForm.get("mobile_no").setErrors({invalid:!0})}onConfirm(){this.activeModal.close(!0)}onCancel(){this.activeModal.close(!1)}getHelp(){this.router.navigate(["/contact-us"]).then(n=>{if(n){const o=document.getElementById("maincontact").offsetTop;window.scrollTo({top:o+400,behavior:"smooth"})}})}getAccessToken(t){let n;2==t?n=this.user_data:(n=localStorage.getItem("user_data")?JSON.parse(localStorage.getItem("user_data")):"",this.chat.updateCurrentUserName(n.first_name+" "+n.last_name,n.profile_image?n.profile_image:"",n.email)),this.apiService.post_oauth2("ClientCredentials/getAccesstoken",{email_id:n.email}).subscribe(o=>{o.error||(this.token=o.access_token,n.token_detail=o,this.user_data=n,1==t?(localStorage.setItem("user_data",JSON.stringify(n)),this.authService.login(n),this.onConfirm()):(this.loadTestValues(),this.getCountry()))},o=>{this.apiService.toastErrorMsg(o)})}loadTestValues(){this.apiService.getWithoutLoginToken("Profile/loadTestValues",this.token,{}).subscribe(t=>{t.error||(this.testValues=t,this.filteredFieldOfStudyList=t.field_of_study)},t=>{this.apiService.toastErrorMsg(t)})}loadCityValues(t){if(t.length>3){const n=new FormData;n.append("search",t),this.apiService.post_without_token("Login/getCityList",n).subscribe(o=>{o.error||(this.cityList=o.data)},o=>{this.apiService.toastErrorMsg(o)})}}selectedLocation(t){const n=t.option.value;this.signForm.patchValue({city:n}),this.signForm.patchValue({location:n.location})}getCountry(){this.apiService.postWithoutLoginToken("Unidirect/loadCountry",this.token,{}).subscribe(t=>{t.status&&t.data?(this.countryList.data=t.data,this.countryList.search=t.data):(this.countryList.data=[],this.countryList.search=[])},t=>{this.apiService.toastErrorMsg(t)})}omit_special_char(t){var n;return(n=t.charCode)>64&&n<91||n>96&&n<123||8==n||32==n||n>=48&&n<=57}restrictSpecialChars(t){t.target.value=t.target.value.replace(/[^a-zA-Z\s]/g,"")}}return i.\u0275fac=function(t){return new(t||i)(e.\u0275\u0275directiveInject(x.F0),e.\u0275\u0275directiveInject(C.FF),e.\u0275\u0275directiveInject(y.e),e.\u0275\u0275directiveInject(k.s),e.\u0275\u0275directiveInject(y.e),e.\u0275\u0275directiveInject(m.qu),e.\u0275\u0275directiveInject(C.Kz),e.\u0275\u0275directiveInject(I.b),e.\u0275\u0275directiveInject(L.e),e.\u0275\u0275directiveInject(P),e.\u0275\u0275directiveInject(M._))},i.\u0275cmp=e.\u0275\u0275defineComponent({type:i,selectors:[["app-login"]],viewQuery:function(t,n){if(1&t&&(e.\u0275\u0275viewQuery(G,5),e.\u0275\u0275viewQuery(j,5),e.\u0275\u0275viewQuery($,5)),2&t){let o;e.\u0275\u0275queryRefresh(o=e.\u0275\u0275loadQuery())&&(n.registrations=o.first),e.\u0275\u0275queryRefresh(o=e.\u0275\u0275loadQuery())&&(n.termsCondition=o.first),e.\u0275\u0275queryRefresh(o=e.\u0275\u0275loadQuery())&&(n.termsConditionConfirmation=o.first)}},inputs:{formStep:"formStep",is_unidirect:"is_unidirect",is_loan_model:"is_loan_model"},decls:7,vars:2,consts:[[1,"modal-body","user-inteaction-page"],["class","col-12 ",4,"ngIf"],["class","row ",4,"ngIf"],["termsCondition",""],["termsConditionConfirmation",""],[1,"col-12"],[1,"row"],[1,"col-lg-5","col-md-12","col-12","d-flex","align-items-center","bg-primary","custom-radius","registratin-bg"],[1,"d-flex","flex-column","text-center","w-100"],["alt","Registration Process","
1src","assets/media/images/registration-process.png",1,"registration-process"],[1,"col-lg-7","col-md-12","col-12","form-paddings"],[1,"row","mb-7"],[1,"col-3"],[1,"col-9"],["type","button","aria-label","Close",1,"close","mr-minus15",3,"click"],["cacheSVG","true",1,"register-close",3,"inlineSVG"],[1,"row","mb-lg-6","mb-4"],[1,"col-md-12"],[1,"mb-4","font-25"],[1,"text-center","mt-3","mb-3"],[1,"row","mb-2"],[1,"col-xl-12","ml-auto","mr-auto","mt-lg-5","mt-3","text-center","mb-5"],["type","button",1,"btn","btn-primary","btn-skyblue","custom-btn-1","mr-3",3,"click"],["type","button",1,"btn","btn-primary","custom-btn-1","mr-2",3,"click"],[1,"col-lg-5","col-md-12","col-12","d-flex","align-items-center","custom-radius","registratin-bg","signup-forms"],[1,"row","mt-6","show-hide-resp"],["type","button","aria-label","Close",1,"close","mr-minus15","float-right",3,"click"],["class","registration-process signup-gif","alt","Registration Process","src","assets/media/images/sign-up-gif.gif",4,"ngIf"],["class","registration-process signup-gif","alt","Registration Process","src","assets/media/images/login-gif.gif",4,"ngIf"],[1,"d-flex","align-items-center","app-btmbg","btm-form-section","disp-none"],[1,"whitetxt"],[1,"mb-0","whitetxt"],["src","assets/media/images/app-qr-code.png",1,"app-qr-code"],[1,"col-lg-7","col-12","form-paddings"],[1,"row","mb-7","action-mob-none"],["type","button","class","close back-arrows",3,"click",4,"ngIf"],["topLogo",""],["sigINSignUpTab",""],[3,"formGroup","ngSubmit",4,"ngIf"],[4,"ngIf"],["alt","Registration Process","src","assets/media/images/sign-up-gif.gif",1,"registration-process","signup-gif"],["alt","Registration Process","src","assets/media/images/login-gif.gif",1,"registration-process","signup-gif"],["type","button",1,"close","back-arrows",3,"click"],[1,"flaticon2-left-arrow-1"],[1,"row","mb-9","pullrow-tp"],[1,"col-md-12","d-flex","justify-content-center"],[1,"converge-form-logo",3,"src"],[1,"row","mb-8"],["type","button",1,"btn","signlogin-tab",3,"click"],[3,"formGroup","ngSubmit"],[1,""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngTemplateOutlet"],[1,"row","mb-lg-4","mb-3"],["class","col-12",4,"ngIf"],[1,"row","mb-6"],["class","textlinks",3,"click",4,"ngIf"],[1,"row","mb-3"],["class","col-xl-12 ml-auto mr-auto mt-lg-3 mt-3 text-center mb-5",4,"ngIf"],[1,"col-xl-12","ml-auto","mr-auto","mt-lg-3","mt-3","text-center","mb-5"],["type","submit",1,"btn","btn-primary","custom-btn-1","custom-wdth-btn","w-100","requestcode",3,"disabled"],["diameter","20",4,"ngIf"],[1,"example-full-width"],["placeholder","Mobile Number*","formControlName","mobile_no","name","phone",3,"preferredCountries","enablePlaceholder","enableSearch","countryChanged","keyup.enter"],["phone",""],["type","email","matInput","","placeholder","Email ID*","formControlName","email","autocomplete","new-email"],[1,"textlinks",3,"click"],["diameter","20"],[3,"config","onInputChange"],[1,"row","mb-4"],[1,"col-md-12","text-right","pr-7"],["class","mb-0",4,"ngIf"],["class","mb-0",3,"cursor-event-none",4,"ngIf"],[1,"col-xl-12","ml-auto","mr-auto","mt-lg-5","mt-3","text-center"],[1,"mb-0"],[1,"bluetxt","cursor-pointer",3,"click"],[1,"row","mb-lg-4","mb-6"],[1,"col-lg-6","col-md-6","col-12","mb-lg-0","mb-md-0","mb-3"],["matInput","","placeholder","First Name","formControlName","first_name","autocomplete","new-first_name",3,"maxlength","input"],[1,"col-lg-6","col-md-6","col-12"],["matInput","","placeholder","Last Name","formControlName","last_name","autocomplete","new-last_name",3,"maxlength","input"],["type","email","matInput","","placeholder","Email ID","formControlName","email","autocomplete","new-email"],["placeholder","Mobile Number*","formControlName","mobile_no","name","phone",3,"preferredCountries","enablePlaceholder","enableSearch","countryChanged"],[1,"col-lg-6","col-md-6","col-12","mb-lg-0","mb-md-0","mb-3","error-select"],["type","text","matInput","","formControlName","location","autocomplete","off",3,"matAutocomplete","input"],[3,"optionSelected"],["location","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["formControlName","application_year"],[1,"row","mt-6","mb-1"],[1,"col-md-12","r-forms","agrree-tick"],["formControlName","terms_agree",1,"d-block"],["target","_blank",1,"login-form",3,"routerLink"],[1,"row","text-center"],[1,"mr-5","brk-mob-txt"],[1,"textlinks","pl-1",3,"click"],[3,"value"],[1,"font-18"],[1,"font-16"],["color","accent",4,"ngIf"],["class","row mb-2",4,"ngIf"],[1,"col-xl-12","ml-auto","mr-auto","mt-4","text-center"],["color","accent"],[1,"modal-header","pt-7","pl-7","pr-4","pb-0","border-0"],[1,"bluetxt","text-center","w-100","font-20","mb-0"],["type","button","aria-label","Close",1,"close","mts-tp15",3,"click"],[1,"fas","fa-times"],[1,"modal-body","pt-0","pb-2"],[1,"mt-2","mb-6"],["
1id","terms_condition_confirmation",1,"scroll","termscondition","packages-content"],["loading","lazy",3,"src"],[1,"pl-8","pr-5"],[1,"row","mt-4"],[1,"",3,"ngModel","ngModelChange"],[1,"pt-2","pl-2"],[1,"col-12","mt-2","mb-6","text-right"],["type","button",1,"btn","border-radius-20","btn-primary","mr-3",3,"disabled","click"],[1,"col-md-12","text-center"],[1,"confirmation-otp-input",3,"config","onInputChange"],[1,"col-md-12","text-right","pr-4"],[1,"col-xl-12","mb-5","ml-auto","mr-auto","mt-lg-5","mt-3","text-center"],["type","submit",1,"btn","btn-primary","custom-btn-1","w-100","requestcode",3,"disabled"]],template:function(t,n){1&t&&(e.\u0275\u0275elementStart(0,"div",0),e.\u0275\u0275template(1,Q,28,1,"div",1),e.\u0275\u0275template(2,je,37,9,"div",2),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(3,$e,21,6,"ng-template",null,3,e.\u0275\u0275templateRefExtractor),e.\u0275\u0275template(5,He,26,8,"ng-template",null,4,e.\u0275\u0275templateRefExtractor)),2&t&&(e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",""!=n.already_sign_in),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",""==n.already_sign_in))},directives:[v.NgIf,N.d$,m._Y,m.JL,m.sg,v.NgTemplateOutlet,b.KE,F.dK,m.JJ,m.u,b.TO,V.Nt,m.Fj,U.$g,R.df,m.nD,b.hX,E.ZL,E.XC,v.NgForOf,D.gD,q.oG,x.yS,A.ey,B.Hw,m.On],pipes:[z],styles:['.form-paddings[_ngcontent-%COMP%]   .register-close[_ngcontent-%COMP%]{margin-top:-21px;position:absolute;right:-3px}.form-paddings[_ngcontent-%COMP%]{padding-bottom:20px!important}.otp-input[_ngcontent-%COMP%]{margin:0 8px;text-align:center;font-size:18px}.form-paddings[_ngcontent-%COMP%]   .fa-times[_ngcontent-%COMP%]:before{margin-top:-35px;position:absolute;right:0px}.form-paddings[_ngcontent-%COMP%]   .flaticon2-left-arrow-1[_ngcontent-%COMP%]:before{margin-top:-16px;position:absolute;left:0px}.btm-form-section[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0}.sign-login[_ngcontent-%COMP%]   .mat-error[_ngcontent-%COMP%]{margin-bottom:5px}.pullrow-tp[_ngcontent-%COMP%]{margin-top:-30px}.error-select[_ngcontent-%COMP%]   .mat-error[_ngcontent-%COMP%]{font-size:11px;margin-top:2px;font-weight:400}.requestcode[_ngcontent-%COMP%]{background:#145899!important;border-color:#145899!important}.error-select[_ngcontent-%COMP%]   .mat-error[_ngcontent-%COMP%]{margin-top:-10px}.wrap-select[_ngcontent-%COMP%]   .mat-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:0!important}.sign-login[_ngcontent-%COMP%]   .mat-form-field-appearance-outline[_ngcontent-%COMP%]   .mat-form-field-wrapper[_ngcontent-%COMP%]{margin:.25em 0 0!important}.sign-login[_ngcontent-%COMP%]   .iti__selected-flag[_ngcontent-%COMP%]{margin-top:-6px!important}.sign-login[_ngcontent-%COMP%]   .mat-form-field-appearance-outline[_ngcontent-%COMP%]   .mat-form-field-infix[_ngcontent-%COMP%]{padding:.5em 0 0!important}.sign-login[_ngcontent-%COMP%]   .mat-form-field-appearance-outline[_ngcontent-%COMP%]   .mat-form-field-infix[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .sign-login[_ngcontent-%COMP%]   .mat-select[_ngcontent-%COMP%]{margin-bottom:12px!important}.signlogin-tab.active[_ngcontent-%COMP%]{background:#14589A;color:#fff}.signlogin-tab[_ngcontent-%COMP%]{background:#f7f7f7;color:#000;border:0px;display:inline-block;padding:7px 40px;font-size:15px;border-radius:5px}.converge-form-logo[_ngcontent-%COMP%]{width:155px}.signup-gif[_ngcontent-%COMP%]{width:250px;margin-bottom:85px}.app-btmbg[_ngcontent-%COMP%]{background:#021943;padding:20px;border-bottom-right-radius:25px;justify-content:space-between;width:100%;border-bottom-left-radius:12px}.qr-code[_ngcontent-%COMP%]{position:absolute;content:"";z-index:9;top:65px;left:-75px;width:300px;background:#fff;padding:20px;box-shadow:0 0 50px #523f6926;border-radius:.42rem}.qr-code-item[_ngcontent-%COMP%]{position:relative}.radio-custom[_ngcontent-%COMP%]{opacity:0;position:absolute}.radio-custom[_ngcontent-%COMP%], .radio-custom-label[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin:5px;cursor:pointer}.checkbox-custom-label[_ngcontent-%COMP%], .radio-custom-label[_ngcontent-%COMP%]{position:relative}.radio-custom[_ngcontent-%COMP%] + .radio-custom-label[_ngcontent-%COMP%]:before{content:"";background:#fff;border:1px solid #ccc;display:inline-block;vertical-align:middle;width:20px;height:20px;padding:2px;margin-right:10px;text-align:center}.radio-custom[_ngcontent-%COMP%] + .radio-custom-label[_ngcontent-%COMP%]:before{border-radius:50%}.radio-custom[_ngcontent-%COMP%]:checked + .radio-custom-label[_ngcontent-%COMP%]:before{content:"";background:#3699FF url(/assets/media/images/checkmark.png) 4px center no-repeat;display:inline-block;vertical-align:middle;width:20px;height:20px;padding:2px;margin-right:10px;text-align:center}.date-icon[_ngcontent-%COMP%]{position:absolute;padding:10px;min-width:40px;right:9px;top:-5px}mat-spinner[_ngcontent-%COMP%]{display:inline-block}
1.mat-progress-spinner[_ngcontent-%COMP%]   circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%]   circle[_ngcontent-%COMP%]{stroke:#fff}.list-style-none[_ngcontent-%COMP%]{list-style:none!important}.list-style-none[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#4f5661}.termscondition[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{border:none;width:100%;height:65vh}  .confirmation-otp-input .ng-otp-input-wrapper .otp-input{width:36px!important}  .confirmation-otp-input .ng-otp-input-wrapper .otp-input:not(:last-child){margin-right:7px!important}.border-radius-20[_ngcontent-%COMP%]{border-radius:20px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px;cursor:pointer;height:6px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#e4e6ef;width:10px;cursor:pointer;height:6px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#e4e6ef;width:10px;cursor:pointer;height:6px}[_ngcontent-%COMP%]::-moz-scrollbar{width:5px;cursor:pointer;height:5px}[_ngcontent-%COMP%]::-moz-scrollbar-thumb{background:#e4e6ef;width:10px;cursor:pointer;height:6px}[_ngcontent-%COMP%]::-moz-scrollbar-thumb:hover{background:#e4e6ef;width:10px;cursor:pointer;height:6px}[_ngcontent-%COMP%]::scrollbar{width:5px;cursor:pointer}[_ngcontent-%COMP%]::scrollbar-thumb{background:#e4e6ef;width:10px;cursor:pointer;height:6px}[_ngcontent-%COMP%]::scrollbar-thumb:hover{background:#e4e6ef;width:10px;cursor:pointer;height:6px}@-moz-document url-prefix(){::-scrollbar{width:10px;cursor:pointer;height:6px}::-scrollbar-thumb{background:#e4e6ef;width:10px;cursor:pointer;height:6px}::-scrollbar-thumb:hover{background:#e4e6ef;width:10px;cursor:pointer;height:6px}}']}),i})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.