1"use strict";(self.webpackChunkNioLandReact=self.webpackChunkNioLandReact||[]).push([[5300],{2525:(s,e,a)=>{a.d(e,{A:()=>n});var t=a(5043),r=a(7497),l=a(135),i=a(579);const n=function(s){let{title:e="Page Title Goes Here",layoutClass:a="layout-1",children:n}=s;return(0,t.useEffect)((()=>{document.title=`${e} - Weathersafe`}),[e]),(0,t.useEffect)((()=>{const s=document.querySelector("body");return a&&s.classList.add(a),()=>{a&&s.classList.remove(a)}}),[a]),(0,i.jsxs)(l.Ay,{children:[(0,i.jsxs)("div",{className:"nl-split-page flex-column flex-xl-row",children:[(0,i.jsx)("div",{className:"nl-split-col nl-auth-col justify-content-center",children:n}),(0,i.jsx)("div",{className:"nl-split-col nl-auth-col nl-auth-col-content bg-primary-gradient ",children:(0,i.jsx)("div",{className:"nl-auth-content mx-md-9 mx-xl-auto",children:(0,i.jsxs)("div",{className:"nl-auth-content-inner",children:[(0,i.jsx)(r.VN,{size:"xl",variant:"info",rounded:"circle",icon:"quote-left",className:"mb-5"}),(0,i.jsx)("h1",{className:"text-white mb-5",children:"We\u2019re building a better application now"}),(0,i.jsx)("div",{className:"nl-auth-quote ms-sm-5",children:(0,i.jsxs)("div",{className:"nl-auth-quote-inner pb-0",children:[(0,i.jsx)("p",{className:"text-white fs-8 opacity-75 mb-5",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Venenatis magna massa semper tristique. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Venenatis magna massa semper tristique dotset."}),(0,i.jsxs)("div",{className:"d-flex align-items-center gap-2",children:[(0,i.jsx)(r.VN,{size:"md",rounded:"circle",img:"../images/avatar/a.webp"}),(0,i.jsxs)("div",{children:[(0,i.jsx)("h5",{className:"text-white mb-0",children:"Wade Warren"}),(0,i.jsx)("span",{className:"fs-8 d-block text-white opacity-75",children:"3 months ago"})]})]})]})})]})})})]}),(0,i.jsx)(r.Zq,{})]})}},5300:(s,e,a)=>{a.r(e),a.d(e,{default:()=>u});var t=a(5043),r=a(3814),l=a(1072),i=a(8602),n=a(3216),c=a(5475),d=a(7497),o=a(4858),m=a(2525),x=a(8686),h=a(579);function u(){const s=(0,n.Zp)(),[e,a]=(0,t.useState)(!1),{register:u,handleSubmit:p,reset:j,formState:{errors:w}}=(0,o.mN)({mode:"onSubmit",defaultValues:{password:"",cpassword:""}});return(0,t.useEffect)((()=>{if(e){const s=setTimeout((()=>{a(!1)}),3e3);return()=>clearTimeout(s)}}),[e]),(0,h.jsx)(m.A,{title:"Reset Password",children:(0,h.jsx)(d.XI,{className:"nl-auth-form-card mx-md-9 mx-xl-auto",children:(0,h.jsxs)(d.XI.Body,{className:"p-lg-7",children:[(0,h.jsxs)("div",{className:"text-center pb-5",children:[(0,h.jsx)("div",{className:"mb-3",children:(0,h.jsx)(d.gs,{logo:"s1",variant:"dark"})}),(0,h.jsx)("h3",{children:"Reset Password"}),(0,h.jsxs)("p",{className:"fs-7",children:["Shouldn't Be Here? ",(0,h.jsx)(c.N_,{to:"/auth/login",className:"btn-link text-primary",children:"Login"}),"."]})]}),(0,h.jsx)(r.A,{onSubmit:p((e=>{const{password:t,cpassword:r}=e;t===r?(j(),s("/")):a(!0)})),children:(0,h.jsxs)(l.A,{className:"gy-4",children:[(0,h.jsxs)(i.A,{xs:"12",children:[(0,h.jsx)(d.xT.Label,{htmlFor:"password",label:"Password"}),(0,h.jsxs)(d.xT,{children:[(0,h.jsx)(d.xT.Input,{id:"password",type:"password",isInvalid:!!w.password,icon:"eye-fill after text-primary",placeholder:"At Least 8 Characters",...u("password",{required:"Password is required"})}),w.password&&(0,h.jsx)(r.A.Control.Feedback,{type:"invalid",children:w.password.message})]})]}),(0,h.jsxs)(i.A,{xs:"12",children:[(0,h.jsx)(d.xT.Label,{htmlFor:"cpassword",label:"Confirm Password"}),(0,h.jsxs)(d.xT,{children:[(0,h.jsx)(d.xT.Input,{id:"cpassword",type:"password",icon:"eye-fill after text-primary",placeholder:"Password Must Match",isInvalid:!!w.cpassword,...u("cpassword",{required:"Confirm Password is required"})}),w.cpassword&&(0,h.jsx)(r.A.Control.Feedback,{type:"invalid",children:w.cpassword.message})]})]}),(0,h.jsx)(i.A,{xs:"12",children:(0,h.jsx)("div",{className:"form-group",children:(0,h.jsx)(d.Hl,{label:"Reset Password",className:"btn-block btn-primary",type:"submit"})})})]})}),(0,h.jsxs)(x.A,{show:e,setShow:a,variant:"error",children:[(0,h.jsx)("div",{children:(0,h.jsx)("span",{className:"nl-toast-icon",children:(0,h.jsx)(d.GG,{name:"check"})})}),(0,h.jsxs)("div",{className:"nl-toast-info w-100 text-start",children:[(0,h.jsx)("h6",{className:"fs-7 mb-0",children:"ERROR"}),(0,h.jsx)("p",{className:"fs-9",children:"Passwords didn't match."})]})]})]})})})}}}]); 2//# sourceMappingURL=5300.6a310978.chunk.js.map
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.