(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3993],{13571:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/forgot",function(){return t(43842)}])},23875:(e,a,t)=>{"use strict";t.d(a,{Bs:()=>s,DT:()=>i,Oj:()=>l});let s=e=>{let a=!1,t=!!parseInt(e);return""!==e&&(t&&""!==e?a=!!(8===e.length&&/^\d+\.?\d*$/.test(e)):""!==e&&(a=!!e.toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)),a)},l=e=>/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*])(?=.*[a-zA-Z]).{8,}$/g.test(e),i=e=>e.match(/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)},38580:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s={src:"/_next/static/media/lokmanya-logo.ed39e4b9.webp",height:462,width:2348,blurDataURL:"data:image/webp;base64,UklGRmQAAABXRUJQVlA4WAoAAAAQAAAABwAAAQAAQUxQSBEAAAAAbD9hiHKHd3lRQGFkVFRhPQBWUDggLAAAAPABAJ0BKggAAgACQDglpAJ0fwAYS+WOAAD+9rM/qXkmSEPxjqofBDXnYAAA",blurWidth:8,blurHeight:2}},43842:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>o});var s=t(37876),l=t(14232),i=t(38580),r=t(23875),n=t(99186),A=t(31777),d=t(1785),c=t(48230),h=t.n(c),u=t(3945);let o=()=>{let e=(0,A.wA)(),a=(0,l.useRef)(null),[t,c]=(0,l.useState)(""),[o,g]=(0,l.useState)(2),m=async e=>{let a=e.target.value.trim();return(c(a),a.length)?(0,r.Bs)(a)?g(2):g(0):g(2)},p=async s=>{if(s.preventDefault(),!(0,r.DT)(t))return(0,d.Ax)("Invalid email address. Please check your input and try again.");let l=await (0,d.R_)(e((0,n.BD)({email:t})),"validating...");if(null==l?void 0:l.error)return g(0);c(""),a.current.click()};return(0,s.jsx)("div",{className:"login-wrapper sidespace",children:(0,s.jsxs)("div",{className:"login-outer",children:[(0,s.jsxs)("div",{className:"login-inner",children:[(0,s.jsx)("div",{className:"login-logo",children:(0,s.jsx)("img",{src:i.A.src,height:"100",width:"100px"})}),(0,s.jsxs)("form",{className:"input-fields",onSubmit:p,children:[(0,s.jsx)(u.FO,{id:"email",type:"email",label:"Enter Email ID ",value:t,onChange:m,valid:o,placeholder:"Type your email",required:!0}),(0,s.jsx)(u.jn,{type:"submit",children:"Submit"})]}),(0,s.jsx)("div",{className:"forget-pass",children:(0,s.jsx)(h(),{href:"/adminpanel",ref:a,children:"Back To Login"})})]}),(0,s.jsx)("div",{className:"copyright",children:(0,s.jsxs)("span",{children:["\xa9 ",new Date().getFullYear()," Lokmanya Hospital. All Right Reserved. Powered by ",(0,s.jsx)("a",{href:"https://www.hatsoffdigital.com/",target:"blank",children:" Hats-Off"})]})})]})})}}},e=>{var a=a=>e(e.s=a);e.O(0,[636,6593,8792],()=>a(13571)),_N_E=e.O()}]);
//# sourceMappingURL=forgot-eb14c135cded7696.js.map