1import{A,D as z,L,N as T,P as Q,a as O,b as I,e as j,i as B,l as D,n as l,p as N,q as R,x as q}from"./chunk-WRA4FD3B.js";import"./chunk-4GMZBVGA.js";import{b as G}from"./chunk-D26SGMSW.js";import{c as V}from"./chunk-Z74FJPFR.js";import{e as _}from"./chunk-INNSHJOD.js";import{a as M}from"./chunk-BBYWTA5D.js";import{gb as E,h as C,hb as S,jb as p,mb as k,r as y}from"./chunk-F2DOYJOY.js";import{Dc as h,Ec as F,Fc as x,Jb as w,Jc as a,Qb as v,Yb as m,ic as r,jc as i,kc as d,na as c,sa as s,uc as P,wb as u,xb as b}from"./chunk-PXR2MR6T.js";import"./chunk-TSRGIXR5.js";var Z=(()=>{class t{constructor(e){this.httpService=e}getForgotPasswordResponse(e){return this.httpService.postRequest("/request-password-reset",e,!1,"\u041D\u0430 \u0412\u0430\u0448 \u0435\u043C\u0430\u0439\u043B \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043E \u043F\u0438\u0441\u044C\u043C\u043E \u0441 \u0441\u0441\u044B\u043B\u043A\u043E\u0439 \u0434\u043B\u044F \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044E \u043F\u0430\u0440\u043E\u043B\u044F")}static{this.\u0275fac=function(o){return new(o||t)(s(V))}}static{this.\u0275prov=c({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Y=(()=>{class t{constructor(e){this.formBuilder=e}getForm(){return this.formBuilder.group({email:["",[l.required,l.email,l.pattern("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$")]]})}static{this.\u0275fac=function(o){return new(o||t)(s(L))}}static{this.\u0275prov=c({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var H=(()=>{class t{constructor(e,o){this.forgotPasswordApi=e,this.forgotPasswordForm=o}getForm(){return this.forgotPasswordForm.getForm()}requestForgotPassword(e,o){this.forgotPasswordApi.getForgotPasswordResponse(e.getRawValue()).subscribe(n=>{o.resetForm()})}static{this.\u0275fac=function(o){return new(o||t)(s(Z),s(Y))}}static{this.\u0275prov=c({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var X=["formDirective"];function tt(t,K){t&1&&(r(0,"mat-error"),a(1," Email \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439 "),i())}function et(t,K){t&1&&(r(0,"mat-error"),a(1," \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u044B\u0439 \u0435\u043C\u0435\u0439\u043B "),i())}var ot=E("animate",[k("void => *",[p({opacity:0,transform:"translateY(100px)"}),S("300ms ease-out",p({opacity:1,transform:"translateY(0)"}))])]),dt=(()=>{class t{constructor(e){this.forgotPasswordService=e}ngOnInit(){this.forgotPasswordForm=this.forgotPasswordService.getForm()}onSubmit(){this.forgotPasswordService.requestForgotPassword(this.forgotPasswordForm,this.myForm)}static{this.\u0275fac=function(o){return new(o||t)(b(H))}}static{this.\u0275cmp=w({type:t,selectors:[["forgot-password"]],viewQuery:function(o,n){if(o&1&&h(X,5),o&2){let f;F(f=x())&&(n.myForm=f.first)}},decls:21,vars:6,consts:[[1,"flex","w-full","flex-col","items-center","justify-center","bg-signin","bg-cover"],[1,"flex","w-96","flex-col","items-center","justify-center","dark:bg-bg-form","bg-white","p-8"],[1,"vk-form","flex","w-full","flex-col","items-center"],[1,"mx-auto","my-8","h-32","w-24"],["alt","logo","height","123","ngSrc","/images/logo/vk-color.svg","priority","100","width","99"],[1,"mb-8","mt-4","text-center","text-2xl"],["name","loginForm","novalidate","",1,"w-full",3,"submit","formGroup"],["appearance","outline",1,"w-full"],["formControlName","email","matInput",""],["matSuffix",""],[4,"ngIf"],["aria-label","SEND RESET LINK","color","accent","mat-raised-button","","type","submit",1,"submit-button","dark:bg-[#353f53]","bg-[#039be5]","dark:disabled:bg-[#4e525e]","disabled:bg-[#e0e0e0]",3,"disabled"],[1,"flex","items-center","justify-center","font-bold","dark:text-white","text-[#039be5]"],[1,"link",3,"routerLink"]],template:function(o,n){o&1&&(r(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),d(4,"img",4),i(),r(5,"div",5),a(6,"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C"),i(),r(7,"form",6),P("submit",function(){return n.onSubmit()}),r(8,"mat-form-field",7)(9,"mat-label"),a(10,"Email"),i(),d(11,"input",8),r(12,"mat-icon",9),a(13,"mail"),i(),v(14,tt,2,0,"mat-error",10)(15,et,2,0,"mat-error",10),i(),r(16,"button",11),a(17," \u0412\u041E\u0421\u0421\u0422\u0410\u041D\u041E\u0412\u0418\u0422\u042C \u041F\u0410\u0420\u041E\u041B\u042C "),i()(),r(18,"div",12)(19,"a",13),a(20,"\u0412\u043E\u0439\u0442\u0438"),i()()()()()),o&2&&(u(2),m("@animate",void 0),u(5),m("formGroup",n.forgotPasswordForm),u(7),m("ngIf",n.forgotPasswordForm.get("email").hasError("required")),u(),m("ngIf",n.forgotPasswordForm.get("email").hasError("pattern")),u(),m("disabled",n.forgotPasswordForm.invali
1d),u(3),m("routerLink","/pages/auth/login"))},dependencies:[T,q,D,N,R,A,z,B,G,C,M,Q,O,I,_,y,j],styles:['.separator[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden;padding-top:1rem;padding-bottom:1rem;text-align:center;font-size:15px;font-weight:600;color:#ffffff1f}.separator[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{position:relative;display:inline-flex;padding-left:.5rem;padding-right:.5rem}.separator[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]:before, .separator[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]:after{content:"";display:block;width:30px;position:absolute;top:10px;border-top:1px solid}.separator[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]:before{right:100%}.separator[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]:after{left:100%}.submit-button[_ngcontent-%COMP%]{width:220px;margin:16px auto;display:block;color:#fff!important}button[_ngcontent-%COMP%]:disabled{color:#83868f!important}button[_ngcontent-%COMP%]{border-radius:4px!important}button.google[_ngcontent-%COMP%], button.facebook[_ngcontent-%COMP%], button.vk[_ngcontent-%COMP%]{width:192px;text-transform:none;color:#fff;font-size:13px}button.google[_ngcontent-%COMP%]{background-color:#d73d32;margin-bottom:8px}button.vk[_ngcontent-%COMP%]{background-color:#45668e;margin-bottom:8px}button.facebook[_ngcontent-%COMP%]{background-color:#3f5c9a}'],data:{animation:[ot]},changeDetection:0})}}return t})();export{dt as ForgotPasswordComponent};
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.