-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path11.1794af6b24ce8c487096.js
1 lines (1 loc) · 23 KB
/
11.1794af6b24ce8c487096.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{"f+ep":function(l,n,u){"use strict";u.r(n);var s=u("CcnG"),r=function(){return function(){}}(),e=u("9AJC"),o=u("pMnS"),t=u("4GxJ"),i=u("gIcY"),a=u("A7o+"),b=u("Ip0R"),c=u("GrIV"),d=u("u93f"),g=function(){function l(l,n,u,s){this.router=l,this.translate=n,this.loginService=u,this.appConfigService=s,this.model={username:"",password:""},this.errMsg=""}return l.prototype.ngOnInit=function(){this.loginService.logout(),this.appConfigService.getConfig().subscribe()},l.prototype.login=function(){var l=this;this.loginService.login(this.model.username,this.model.password).subscribe(function(){return l.loginProcessor()},function(n){return l.loginFailure(n)})},l.prototype.resetPassword=function(){var l=this;this.loginService.resetPassword(this.model.username).subscribe(function(){l.router.navigate(["/account/resetpassword"])},function(n){return l.loginFailure(n)})},l.prototype.loginProcessor=function(){this.router.navigate(["/home"]),this.closeAlert()},l.prototype.loginFailure=function(l){var n=this;this.closeAlert(),"USER_NOT_FOUND"===l.reason||401===l.status?this.translate.get("LOGIN.USER_NOT_FOUND").subscribe(function(l){n.errMsg=l}):"USER_NOT_CONFORM_POLICY"===l.reason?this.translate.get("LOGIN.USER_NOT_CONFORM_POLICY").subscribe(function(l){n.errMsg=l}):"PASSWORD_NOT_CONFORM_POLICY"===l.reason||"FORCE_CHANGE_PASSWORD"===l.reason?this.router.navigate(["/account/changepassword"]):"RESET_PASSWORD"===l.reason?this.loginService.resetPassword(this.model.username).subscribe(function(){},function(l){return n.loginFailure(l)}):this.router.navigate(["/error/server"])},l.prototype.closeAlert=function(){this.errMsg=""},l}(),p=u("ZYCi"),m=s.pb({encapsulation:0,styles:[[""]],data:{}});function f(l){return s.Kb(0,[(l()(),s.rb(0,0,null,null,3,"ngb-alert",[["class","alert"],["role","alert"],["type","danger"]],[[2,"alert-dismissible",null]],[[null,"close"]],function(l,n,u){var s=!0;return"close"===n&&(s=!1!==l.component.closeAlert()&&s),s},e.e,e.c)),s.qb(1,638976,null,0,t.e,[t.f,s.E,s.k],{dismissible:[0,"dismissible"],type:[1,"type"]},{close:"close"}),(l()(),s.rb(2,0,null,0,1,"span",[["id","login-failure-message"]],null,null,null,null,null)),(l()(),s.Ib(3,null,["",""]))],function(l,n){l(n,1,0,!0,"danger")},function(l,n){var u=n.component;l(n,0,0,s.Bb(n,1).dismissible),l(n,3,0,u.errMsg)})}function h(l){return s.Kb(0,[(l()(),s.rb(0,0,null,null,45,"div",[["class","login-content bg"]],null,null,null,null,null)),(l()(),s.rb(1,0,null,null,44,"div",[["class","container pt-5"]],null,null,null,null,null)),(l()(),s.rb(2,0,null,null,43,"div",[["class","container login-sub-content"]],null,null,null,null,null)),(l()(),s.rb(3,0,null,null,38,"form",[["id","formLogin"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],function(l,n,u){var r=!0,e=l.component;return"submit"===n&&(r=!1!==s.Bb(l,5).onSubmit(u)&&r),"reset"===n&&(r=!1!==s.Bb(l,5).onReset()&&r),"ngSubmit"===n&&(r=!1!==e.login()&&r),r},null,null)),s.qb(4,16384,null,0,i.y,[],null,null),s.qb(5,4210688,[["formLogin",4]],0,i.n,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),s.Fb(2048,null,i.b,null,[i.n]),s.qb(7,16384,null,0,i.m,[[4,i.b]],null,null),(l()(),s.rb(8,0,null,null,3,"h3",[],null,null,null,null,null)),(l()(),s.rb(9,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),s.Ib(10,null,["",""])),s.Db(131072,a.i,[a.j,s.h]),(l()(),s.rb(12,0,null,null,29,"div",[["class",""]],null,null,null,null,null)),(l()(),s.hb(16777216,null,null,1,null,f)),s.qb(14,16384,null,0,b.k,[s.P,s.M],{ngIf:[0,"ngIf"]},null),(l()(),s.rb(15,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),s.rb(16,0,null,null,2,"label",[["class","field"],["for","username"]],null,null,null,null,null)),(l()(),s.Ib(17,null,["",""])),s.Db(131072,a.i,[a.j,s.h]),(l()(),s.rb(19,0,null,null,7,"input",[["autocomplete","OFF"],["class","form-control"],["id","username"],["name","username"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var r=!0,e=l.component;return"input"===n&&(r=!1!==s.Bb(l,20)._handleInput(u.target.value)&&r),"blur"===n&&(r=!1!==s.Bb(l,20).onTouched()&&r),"compositionstart"===n&&(r=!1!==s.Bb(l,20)._compositionStart()&&r),"compositionend"===n&&(r=!1!==s.Bb(l,20)._compositionEnd(u.target.value)&&r),"ngModelChange"===n&&(r=!1!==(e.model.username=u)&&r),r},null,null)),s.qb(20,16384,null,0,i.c,[s.E,s.k,[2,i.a]],null,null),s.qb(21,16384,null,0,i.r,[],{required:[0,"required"]},null),s.Fb(1024,null,i.i,function(l){return[l]},[i.r]),s.Fb(1024,null,i.j,function(l){return[l]},[i.c]),s.qb(24,671744,[["username",4]],0,i.o,[[2,i.b],[6,i.i],[8,null],[6,i.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),s.Fb(2048,null,i.k,null,[i.o]),s.qb(26,16384,null,0,i.l,[[4,i.k]],null,null),(l()(),s.rb(27,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),s.rb(28,0,null,null,2,"label",[["class","field"],["for","password"]],null,null,null,null,null)),(l()(),s.Ib(29,null,["",""])),s.Db(131072,a.i,[a.j,s.h]),(l()(),s.rb(31,0,null,null,7,"input",[["class","form-control"],["id","password"],["name","password"],["required",""],["type","password"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var r=!0,e=l.component;return"input"===n&&(r=!1!==s.Bb(l,32)._handleInput(u.target.value)&&r),"blur"===n&&(r=!1!==s.Bb(l,32).onTouched()&&r),"compositionstart"===n&&(r=!1!==s.Bb(l,32)._compositionStart()&&r),"compositionend"===n&&(r=!1!==s.Bb(l,32)._compositionEnd(u.target.value)&&r),"ngModelChange"===n&&(r=!1!==(e.model.password=u)&&r),r},null,null)),s.qb(32,16384,null,0,i.c,[s.E,s.k,[2,i.a]],null,null),s.qb(33,16384,null,0,i.r,[],{required:[0,"required"]},null),s.Fb(1024,null,i.i,function(l){return[l]},[i.r]),s.Fb(1024,null,i.j,function(l){return[l]},[i.c]),s.qb(36,671744,[["password",4]],0,i.o,[[2,i.b],[6,i.i],[8,null],[6,i.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),s.Fb(2048,null,i.k,null,[i.o]),s.qb(38,16384,null,0,i.l,[[4,i.k]],null,null),(l()(),s.rb(39,0,null,null,2,"button",[["class","btn btn-primary btn-block"],["type","submit"]],[[8,"disabled",0]],null,null,null,null)),(l()(),s.Ib(40,null,["",""])),s.Db(131072,a.i,[a.j,s.h]),(l()(),s.rb(42,0,null,null,3,"div",[["class","login-forgot-password"]],null,null,null,null,null)),(l()(),s.rb(43,0,null,null,2,"button",[["class","btn btn-link"],["id","rest-password-link"]],null,[[null,"click"]],function(l,n,u){var s=!0;return"click"===n&&(s=!1!==l.component.resetPassword()&&s),s},null,null)),(l()(),s.Ib(44,null,["",""])),s.Db(131072,a.i,[a.j,s.h])],function(l,n){var u=n.component;l(n,14,0,u.errMsg),l(n,21,0,""),l(n,24,0,"username",u.model.username),l(n,33,0,""),l(n,36,0,"password",u.model.password)},function(l,n){l(n,3,0,s.Bb(n,7).ngClassUntouched,s.Bb(n,7).ngClassTouched,s.Bb(n,7).ngClassPristine,s.Bb(n,7).ngClassDirty,s.Bb(n,7).ngClassValid,s.Bb(n,7).ngClassInvalid,s.Bb(n,7).ngClassPending),l(n,10,0,s.Jb(n,10,0,s.Bb(n,11).transform("LOGIN.TITLE"))),l(n,17,0,s.Jb(n,17,0,s.Bb(n,18).transform("LOGIN.LOGIN"))),l(n,19,0,s.Bb(n,21).required?"":null,s.Bb(n,26).ngClassUntouched,s.Bb(n,26).ngClassTouched,s.Bb(n,26).ngClassPristine,s.Bb(n,26).ngClassDirty,s.Bb(n,26).ngClassValid,s.Bb(n,26).ngClassInvalid,s.Bb(n,26).ngClassPending),l(n,29,0,s.Jb(n,29,0,s.Bb(n,30).transform("LOGIN.PASSWORD"))),l(n,31,0,s.Bb(n,33).required?"":null,s.Bb(n,38).ngClassUntouched,s.Bb(n,38).ngClassTouched,s.Bb(n,38).ngClassPristine,s.Bb(n,38).ngClassDirty,s.Bb(n,38).ngClassValid,s.Bb(n,38).ngClassInvalid,s.Bb(n,38).ngClassPending),l(n,39,0,!s.Bb(n,5).valid),l(n,40,0,s.Jb(n,40,0,s.Bb(n,41).transform("LOGIN.SUBMIT"))),l(n,44,0,s.Jb(n,44,0,s.Bb(n,45).transform("LOGIN.FORGOT_PASSWORD")))})}function v(l){return s.Kb(0,[(l()(),s.rb(0,0,null,null,1,"app-login",[],null,null,null,h,m)),s.qb(1,114688,null,0,g,[p.k,a.j,c.a,d.a],null,null)],function(l,n){l(n,1,0)},null)}var C=s.nb("app-login",g,v,{},{},[]),B=u("YTe2"),w=function(){function l(l,n,u,s,r,e){this.route=l,this.router=n,this.sessionService=u,this.translate=s,this.loginService=r,this.formBuilder=e,this.errMsg="",this.resetPassword=!1}return l.prototype.ngOnInit=function(){var l=this;this.route.data.subscribe(function(n){l.resetPassword=n.isResetPassword}),this.formChangePassword=this.formBuilder.group({username:[this.sessionService.getUserInfo()?this.sessionService.getUserInfo().username:"",[i.t.required]],oldpassword:["",[i.t.required]],passwords:this.formBuilder.group({newpassword:["",[i.t.required]],confirmpassword:["",[i.t.required]]},{validator:this.passwordConfirming})})},l.prototype.passwordConfirming=function(l){if(l.get("newpassword").value!==l.get("confirmpassword").value)return{invalid:!0}},l.prototype.changePassword=function(){var l=this;this.loginService.changePassword(this.formChangePassword.value.username,this.formChangePassword.value.oldpassword,this.formChangePassword.value.passwords.newpassword).subscribe(function(){return l.messageProcessor()},function(n){return l.changePasswordError(n)})},l.prototype.changePasswordError=function(l){var n=this;this.closeAlert(),"USER_NOT_FOUND"===l.reason?this.translate.get("LOGIN.USER_NOT_FOUND").subscribe(function(l){n.errMsg=l}):"PASSWORD_NOT_CONFORM_POLICY"===l.reason&&this.translate.get("LOGIN.PASSWORD_NOT_CONFORM_POLICY").subscribe(function(l){n.errMsg=l})},l.prototype.messageProcessor=function(){var l=this;this.closeAlert(),this.loginService.getUserDetails().subscribe(function(){return l.router.navigate(["/"])},function(){return l.translate.get("LOGIN.USER_NOT_FOUND").subscribe(function(n){l.errMsg=n})})},l.prototype.closeAlert=function(){this.errMsg=""},l}(),S=s.pb({encapsulation:0,styles:[[""]],data:{}});function P(l){return s.Kb(0,[(l()(),s.rb(0,0,null,null,4,"ngb-alert",[["class","alert"],["role","alert"],["type","info"]],[[2,"alert-dismissible",null]],[[null,"close"]],function(l,n,u){var s=!0;return"close"===n&&(s=!1!==l.component.closeAlert()&&s),s},e.e,e.c)),s.qb(1,638976,null,0,t.e,[t.f,s.E,s.k],{dismissible:[0,"dismissible"],type:[1,"type"]},{close:"close"}),(l()(),s.rb(2,0,null,0,2,"span",[["id","reset-password-message"]],null,null,null,null,null)),(l()(),s.Ib(3,null,["",""])),s.Db(131072,a.i,[a.j,s.h])],function(l,n){l(n,1,0,!0,"info")},function(l,n){l(n,0,0,s.Bb(n,1).dismissible),l(n,3,0,s.Jb(n,3,0,s.Bb(n,4).transform("CHANGE_PASSWORD.RESET_PASSWORD_SENT")))})}function O(l){return s.Kb(0,[(l()(),s.rb(0,0,null,null,2,"ngb-alert",[["class","alert"],["role","alert"],["type","danger"]],[[2,"alert-dismissible",null]],[[null,"close"]],function(l,n,u){var s=!0;return"close"===n&&(s=!1!==l.component.closeAlert()&&s),s},e.e,e.c)),s.qb(1,638976,null,0,t.e,[t.f,s.E,s.k],{dismissible:[0,"dismissible"],type:[1,"type"]},{close:"close"}),(l()(),s.Ib(2,0,["",""]))],function(l,n){l(n,1,0,!0,"danger")},function(l,n){var u=n.component;l(n,0,0,s.Bb(n,1).dismissible),l(n,2,0,u.errMsg)})}function I(l){return s.Kb(0,[(l()(),s.rb(0,0,null,null,2,"label",[["class","field"],["for","oldpassword"]],null,null,null,null,null)),(l()(),s.Ib(1,null,["",""])),s.Db(131072,a.i,[a.j,s.h])],null,function(l,n){l(n,1,0,s.Jb(n,1,0,s.Bb(n,2).transform("CHANGE_PASSWORD.OLD_PASSWORD")))})}function _(l){return s.Kb(0,[(l()(),s.rb(0,0,null,null,2,"label",[["class","field"],["for","oldpassword"]],null,null,null,null,null)),(l()(),s.Ib(1,null,["",""])),s.Db(131072,a.i,[a.j,s.h])],null,function(l,n){l(n,1,0,s.Jb(n,1,0,s.Bb(n,2).transform("CHANGE_PASSWORD.VERIFICATION_CODE")))})}function y(l){return s.Kb(0,[(l()(),s.rb(0,0,null,null,2,"div",[["style","color:#ff7355"]],null,null,null,null,null)),(l()(),s.Ib(1,null,[" "," "])),s.Db(131072,a.i,[a.j,s.h])],null,function(l,n){l(n,1,0,s.Jb(n,1,0,s.Bb(n,2).transform("CHANGE_PASSWORD.CONFIRM_PASSWORD_DO_NOT_MATCH_NEW_PASSWORD")))})}function N(l){return s.Kb(0,[(l()(),s.rb(0,0,null,null,69,"div",[["class","changepassword-content bg"]],null,null,null,null,null)),(l()(),s.rb(1,0,null,null,68,"div",[["class","container pt-5"]],null,null,null,null,null)),(l()(),s.rb(2,0,null,null,67,"div",[["class","container changepassword-sub-content pb-4"]],null,null,null,null,null)),(l()(),s.rb(3,0,null,null,66,"form",[["id","formChangePassword"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],function(l,n,u){var r=!0,e=l.component;return"submit"===n&&(r=!1!==s.Bb(l,5).onSubmit(u)&&r),"reset"===n&&(r=!1!==s.Bb(l,5).onReset()&&r),"ngSubmit"===n&&(r=!1!==e.changePassword()&&r),r},null,null)),s.qb(4,16384,null,0,i.y,[],null,null),s.qb(5,540672,null,0,i.f,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),s.Fb(2048,null,i.b,null,[i.f]),s.qb(7,16384,null,0,i.m,[[4,i.b]],null,null),(l()(),s.rb(8,0,null,null,3,"div",[],null,null,null,null,null)),(l()(),s.rb(9,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),s.Ib(10,null,["",""])),s.Db(131072,a.i,[a.j,s.h]),(l()(),s.rb(12,0,null,null,57,"div",[["class","pt-1"]],null,null,null,null,null)),(l()(),s.hb(16777216,null,null,1,null,P)),s.qb(14,16384,null,0,b.k,[s.P,s.M],{ngIf:[0,"ngIf"]},null),(l()(),s.hb(16777216,null,null,1,null,O)),s.qb(16,16384,null,0,b.k,[s.P,s.M],{ngIf:[0,"ngIf"]},null),(l()(),s.rb(17,0,null,null,9,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),s.rb(18,0,null,null,2,"label",[["class","field"],["for","username"]],null,null,null,null,null)),(l()(),s.Ib(19,null,["",""])),s.Db(131072,a.i,[a.j,s.h]),(l()(),s.rb(21,0,null,null,5,"input",[["autocomplete","OFF"],["class","form-control"],["formControlName","username"],["id","username"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var r=!0;return"input"===n&&(r=!1!==s.Bb(l,22)._handleInput(u.target.value)&&r),"blur"===n&&(r=!1!==s.Bb(l,22).onTouched()&&r),"compositionstart"===n&&(r=!1!==s.Bb(l,22)._compositionStart()&&r),"compositionend"===n&&(r=!1!==s.Bb(l,22)._compositionEnd(u.target.value)&&r),r},null,null)),s.qb(22,16384,null,0,i.c,[s.E,s.k,[2,i.a]],null,null),s.Fb(1024,null,i.j,function(l){return[l]},[i.c]),s.qb(24,671744,null,0,i.e,[[3,i.b],[8,null],[8,null],[6,i.j],[2,i.w]],{name:[0,"name"]},null),s.Fb(2048,null,i.k,null,[i.e]),s.qb(26,16384,null,0,i.l,[[4,i.k]],null,null),(l()(),s.rb(27,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),s.hb(16777216,null,null,1,null,I)),s.qb(29,16384,null,0,b.k,[s.P,s.M],{ngIf:[0,"ngIf"]},null),(l()(),s.hb(16777216,null,null,1,null,_)),s.qb(31,16384,null,0,b.k,[s.P,s.M],{ngIf:[0,"ngIf"]},null),(l()(),s.rb(32,0,null,null,5,"input",[["class","form-control"],["formControlName","oldpassword"],["id","oldpassword"],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var r=!0;return"input"===n&&(r=!1!==s.Bb(l,33)._handleInput(u.target.value)&&r),"blur"===n&&(r=!1!==s.Bb(l,33).onTouched()&&r),"compositionstart"===n&&(r=!1!==s.Bb(l,33)._compositionStart()&&r),"compositionend"===n&&(r=!1!==s.Bb(l,33)._compositionEnd(u.target.value)&&r),r},null,null)),s.qb(33,16384,null,0,i.c,[s.E,s.k,[2,i.a]],null,null),s.Fb(1024,null,i.j,function(l){return[l]},[i.c]),s.qb(35,671744,null,0,i.e,[[3,i.b],[8,null],[8,null],[6,i.j],[2,i.w]],{name:[0,"name"]},null),s.Fb(2048,null,i.k,null,[i.e]),s.qb(37,16384,null,0,i.l,[[4,i.k]],null,null),(l()(),s.rb(38,0,null,null,28,"div",[["formGroupName","passwords"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),s.qb(39,212992,null,0,i.g,[[3,i.b],[8,null],[8,null]],{name:[0,"name"]},null),s.Fb(2048,null,i.b,null,[i.g]),s.qb(41,16384,null,0,i.m,[[4,i.b]],null,null),(l()(),s.rb(42,0,null,null,9,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),s.rb(43,0,null,null,2,"label",[["class","field"],["for","newpassword"]],null,null,null,null,null)),(l()(),s.Ib(44,null,["",""])),s.Db(131072,a.i,[a.j,s.h]),(l()(),s.rb(46,0,null,null,5,"input",[["class","form-control"],["formControlName","newpassword"],["id","newpassword"],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var r=!0;return"input"===n&&(r=!1!==s.Bb(l,47)._handleInput(u.target.value)&&r),"blur"===n&&(r=!1!==s.Bb(l,47).onTouched()&&r),"compositionstart"===n&&(r=!1!==s.Bb(l,47)._compositionStart()&&r),"compositionend"===n&&(r=!1!==s.Bb(l,47)._compositionEnd(u.target.value)&&r),r},null,null)),s.qb(47,16384,null,0,i.c,[s.E,s.k,[2,i.a]],null,null),s.Fb(1024,null,i.j,function(l){return[l]},[i.c]),s.qb(49,671744,null,0,i.e,[[3,i.b],[8,null],[8,null],[6,i.j],[2,i.w]],{name:[0,"name"]},null),s.Fb(2048,null,i.k,null,[i.e]),s.qb(51,16384,null,0,i.l,[[4,i.k]],null,null),(l()(),s.rb(52,0,null,null,14,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),s.rb(53,0,null,null,2,"label",[["class","field"],["for","confirmpassword"]],null,null,null,null,null)),(l()(),s.Ib(54,null,["",""])),s.Db(131072,a.i,[a.j,s.h]),(l()(),s.rb(56,0,null,null,5,"input",[["class","form-control"],["formControlName","confirmpassword"],["id","confirmpassword"],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(l,n,u){var r=!0;return"input"===n&&(r=!1!==s.Bb(l,57)._handleInput(u.target.value)&&r),"blur"===n&&(r=!1!==s.Bb(l,57).onTouched()&&r),"compositionstart"===n&&(r=!1!==s.Bb(l,57)._compositionStart()&&r),"compositionend"===n&&(r=!1!==s.Bb(l,57)._compositionEnd(u.target.value)&&r),r},null,null)),s.qb(57,16384,null,0,i.c,[s.E,s.k,[2,i.a]],null,null),s.Fb(1024,null,i.j,function(l){return[l]},[i.c]),s.qb(59,671744,null,0,i.e,[[3,i.b],[8,null],[8,null],[6,i.j],[2,i.w]],{name:[0,"name"]},null),s.Fb(2048,null,i.k,null,[i.e]),s.qb(61,16384,null,0,i.l,[[4,i.k]],null,null),(l()(),s.hb(16777216,null,null,4,null,y)),s.qb(63,16384,null,0,b.k,[s.P,s.M],{ngIf:[0,"ngIf"]},null),s.Cb(64,2),s.Cb(65,2),s.Cb(66,2),(l()(),s.rb(67,0,null,null,2,"button",[["class","btn btn-primary btn-block"],["type","submit"]],[[8,"disabled",0]],null,null,null,null)),(l()(),s.Ib(68,null,["",""])),s.Db(131072,a.i,[a.j,s.h])],function(l,n){var u=n.component;l(n,5,0,u.formChangePassword),l(n,14,0,u.resetPassword),l(n,16,0,u.errMsg),l(n,24,0,"username"),l(n,29,0,!u.resetPassword),l(n,31,0,u.resetPassword),l(n,35,0,"oldpassword"),l(n,39,0,"passwords"),l(n,49,0,"newpassword"),l(n,59,0,"confirmpassword");var s=u.formChangePassword.get(l(n,64,0,"passwords","newpassword")).value!=u.formChangePassword.get(l(n,65,0,"passwords","confirmpassword")).value&&""!=u.formChangePassword.get(l(n,66,0,"passwords","confirmpassword")).value;l(n,63,0,s)},function(l,n){var u=n.component;l(n,3,0,s.Bb(n,7).ngClassUntouched,s.Bb(n,7).ngClassTouched,s.Bb(n,7).ngClassPristine,s.Bb(n,7).ngClassDirty,s.Bb(n,7).ngClassValid,s.Bb(n,7).ngClassInvalid,s.Bb(n,7).ngClassPending),l(n,10,0,s.Jb(n,10,0,s.Bb(n,11).transform("CHANGE_PASSWORD.TITLE"))),l(n,19,0,s.Jb(n,19,0,s.Bb(n,20).transform("CHANGE_PASSWORD.LOGIN"))),l(n,21,0,s.Bb(n,26).ngClassUntouched,s.Bb(n,26).ngClassTouched,s.Bb(n,26).ngClassPristine,s.Bb(n,26).ngClassDirty,s.Bb(n,26).ngClassValid,s.Bb(n,26).ngClassInvalid,s.Bb(n,26).ngClassPending),l(n,32,0,s.Bb(n,37).ngClassUntouched,s.Bb(n,37).ngClassTouched,s.Bb(n,37).ngClassPristine,s.Bb(n,37).ngClassDirty,s.Bb(n,37).ngClassValid,s.Bb(n,37).ngClassInvalid,s.Bb(n,37).ngClassPending),l(n,38,0,s.Bb(n,41).ngClassUntouched,s.Bb(n,41).ngClassTouched,s.Bb(n,41).ngClassPristine,s.Bb(n,41).ngClassDirty,s.Bb(n,41).ngClassValid,s.Bb(n,41).ngClassInvalid,s.Bb(n,41).ngClassPending),l(n,44,0,s.Jb(n,44,0,s.Bb(n,45).transform("CHANGE_PASSWORD.NEW_PASSWORD"))),l(n,46,0,s.Bb(n,51).ngClassUntouched,s.Bb(n,51).ngClassTouched,s.Bb(n,51).ngClassPristine,s.Bb(n,51).ngClassDirty,s.Bb(n,51).ngClassValid,s.Bb(n,51).ngClassInvalid,s.Bb(n,51).ngClassPending),l(n,54,0,s.Jb(n,54,0,s.Bb(n,55).transform("CHANGE_PASSWORD.CONFIRM_PASSWORD"))),l(n,56,0,s.Bb(n,61).ngClassUntouched,s.Bb(n,61).ngClassTouched,s.Bb(n,61).ngClassPristine,s.Bb(n,61).ngClassDirty,s.Bb(n,61).ngClassValid,s.Bb(n,61).ngClassInvalid,s.Bb(n,61).ngClassPending),l(n,67,0,!u.formChangePassword.valid),l(n,68,0,s.Jb(n,68,0,s.Bb(n,69).transform("CHANGE_PASSWORD.SUBMIT")))})}function q(l){return s.Kb(0,[(l()(),s.rb(0,0,null,null,1,"app-change-password",[],null,null,null,N,S)),s.qb(1,114688,null,0,w,[p.a,p.k,B.a,a.j,c.a,i.d],null,null)],function(l,n){l(n,1,0)},null)}var D=s.nb("app-change-password",w,q,{},{},[]),E=u("jSB3"),A=u("ouEH"),R=u("t/Na"),k=u("ZIhg"),z=u("biaL"),T=u("2+jN"),F=u("yj9e"),M=u("M1ve"),j=u("6hn5"),G=u("foBm"),U=u("PCNd"),L={isChangePassword:!0},W={isResetPassword:!0},J=function(){return function(){}}();u.d(n,"LoginModuleNgFactory",function(){return V});var V=s.ob(r,[],function(l){return s.yb([s.zb(512,s.j,s.cb,[[8,[e.a,e.b,e.j,e.k,e.g,e.h,e.i,o.a,C,D]],[3,s.j],s.y]),s.zb(4608,b.m,b.l,[s.v,[2,b.B]]),s.zb(4608,i.v,i.v,[]),s.zb(4608,t.v,t.v,[s.j,s.r,t.hb,t.w]),s.zb(4608,i.d,i.d,[]),s.zb(4608,E.a,E.a,[d.a,A.a]),s.zb(4608,B.a,B.a,[E.a]),s.zb(4608,c.a,c.a,[R.c,p.k,B.a,E.a]),s.zb(4608,k.a,k.a,[s.A,p.k,c.a,B.a]),s.zb(4608,z.a,z.a,[B.a]),s.zb(4608,T.a,T.a,[p.k,z.a]),s.zb(4608,F.a,F.a,[p.k,z.a]),s.zb(4608,M.a,M.a,[R.c]),s.zb(4608,j.a,j.a,[]),s.zb(4608,t.n,t.o,[]),s.zb(1073742336,a.g,a.g,[]),s.zb(1073742336,b.b,b.b,[]),s.zb(1073742336,i.u,i.u,[]),s.zb(1073742336,i.h,i.h,[]),s.zb(1073742336,t.c,t.c,[]),s.zb(1073742336,t.g,t.g,[]),s.zb(1073742336,t.h,t.h,[]),s.zb(1073742336,t.l,t.l,[]),s.zb(1073742336,t.m,t.m,[]),s.zb(1073742336,t.s,t.s,[]),s.zb(1073742336,t.t,t.t,[]),s.zb(1073742336,t.x,t.x,[]),s.zb(1073742336,t.B,t.B,[]),s.zb(1073742336,t.G,t.G,[]),s.zb(1073742336,t.J,t.J,[]),s.zb(1073742336,t.M,t.M,[]),s.zb(1073742336,t.P,t.P,[]),s.zb(1073742336,t.T,t.T,[]),s.zb(1073742336,t.U,t.U,[]),s.zb(1073742336,t.V,t.V,[]),s.zb(1073742336,t.y,t.y,[]),s.zb(1073742336,p.m,p.m,[[2,p.r],[2,p.k]]),s.zb(1073742336,G.a,G.a,[]),s.zb(1073742336,i.q,i.q,[]),s.zb(1073742336,U.a,U.a,[]),s.zb(1073742336,J,J,[]),s.zb(1073742336,r,r,[]),s.zb(1024,p.i,function(){return[[{path:"login",component:g},{path:"logout",component:g},{path:"changepassword",component:w,data:L},{path:"resetpassword",component:w,data:W},{path:"**",redirectTo:"/error/404"}]]},[])])})}}]);