%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/public_html/ezone-accounting.optisoft.com.ng/static/js/
Upload File :
Create Path :
Current File : /home/opti/public_html/ezone-accounting.optisoft.com.ng/static/js/197.614ee963.chunk.js

(this["webpackJsonpfuse-react-app"]=this["webpackJsonpfuse-react-app"]||[]).push([[197],{2655:function(e,a,s){"use strict";s.r(a);var t=s(131),l=s(1118),r=s(32),i=s(1098),o=s(1109),n=s(1116),d=s(1072),m=s(1096),c=s(194),u=s(5),p=s(28),f=s(57),j=s(10),b=s(1);const x=Object(d.a)((e=>({root:{}}))),h=f.d().shape({email:f.f().email("You must enter a valid email").required("You must enter a email"),password:f.f().required("Please enter your password.").min(8,"Password is too short - should be 8 chars minimum."),passwordConfirm:f.f().oneOf([f.e("password"),null],"Passwords must match")}),w={email:"",password:"",passwordConfirm:""};a.default=function(){const e=x(),{control:a,formState:s,handleSubmit:d,reset:f}=Object(r.f)({mode:"onChange",defaultValues:w,resolver:Object(t.a)(h)}),{isValid:v,dirtyFields:O,errors:y}=s;return Object(b.jsxs)("div",{className:Object(u.a)(e.root,"flex flex-col flex-auto p-16 sm:p-24 md:flex-row md:p-0 overflow-hidden"),children:[Object(b.jsxs)("div",{className:"flex flex-col flex-grow-0 items-center  p-16 text-center md:p-128 md:items-start md:flex-shrink-0 md:flex-1 md:text-left",children:[Object(b.jsx)(l.a.div,{initial:{opacity:0,scale:.6},animate:{opacity:1,scale:1,transition:{delay:.1}},children:Object(b.jsx)("img",{className:"w-128 mb-32",src:"assets/images/logos/fuse.svg",alt:"logo"})}),Object(b.jsx)(l.a.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0,transition:{delay:.2}},children:Object(b.jsxs)(c.a,{className:"text-32 sm:text-44 font-semibold leading-tight",children:["Welcome ",Object(b.jsx)("br",{}),"to the ",Object(b.jsx)("br",{})," FUSE React!"]})}),Object(b.jsx)(l.a.div,{initial:{opacity:0},animate:{opacity:1,transition:{delay:.3}},children:Object(b.jsx)(c.a,{variant:"subtitle1",className:"mt-32 font-medium",children:"Powerful and professional admin template for Web Applications, CRM, CMS, Admin Panels and more."})})]}),Object(b.jsx)(o.a,{component:l.a.div,initial:{x:200},animate:{x:0},transition:{bounceDamping:0},className:"w-full max-w-400 mx-auto m-16 md:m-0 rounded-20 md:rounded-none",square:!0,layout:!0,children:Object(b.jsxs)(n.a,{className:"flex flex-col items-center justify-center p-16 sm:p-32 md:p-48 md:pt-128 ",children:[Object(b.jsx)(c.a,{variant:"h6",className:"mb-24 font-semibold text-18 sm:text-24",children:"Reset your password"}),Object(b.jsxs)("form",{name:"resetForm",noValidate:!0,className:"flex flex-col justify-center w-full",onSubmit:d((function(){f(w)})),children:[Object(b.jsx)(r.a,{name:"email",control:a,render:e=>{var a;let{field:s}=e;return Object(b.jsx)(m.a,{...s,className:"mb-16",label:"Email",autoFocus:!0,type:"email",error:!!y.email,helperText:null===y||void 0===y||null===(a=y.email)||void 0===a?void 0:a.message,variant:"outlined",required:!0,fullWidth:!0})}}),Object(b.jsx)(r.a,{name:"password",control:a,render:e=>{var a;let{field:s}=e;return Object(b.jsx)(m.a,{...s,className:"mb-16",label:"Password",type:"password",name:"password",error:!!y.password,helperText:null===y||void 0===y||null===(a=y.password)||void 0===a?void 0:a.message,variant:"outlined",required:!0,fullWidth:!0})}}),Object(b.jsx)(r.a,{name:"passwordConfirm",control:a,render:e=>{var a;let{field:s}=e;return Object(b.jsx)(m.a,{...s,className:"mb-16",label:"Password (Confirm)",type:"password",error:!!y.passwordConfirm,helperText:null===y||void 0===y||null===(a=y.passwordConfirm)||void 0===a?void 0:a.message,variant:"outlined",required:!0,fullWidth:!0})}}),Object(b.jsx)(i.a,{variant:"contained",color:"primary",className:"w-224 mx-auto mt-16","aria-label":"Reset",disabled:j.a.isEmpty(O)||!v,type:"submit",children:"Reset my password"})]}),Object(b.jsx)("div",{className:"flex flex-col items-center justify-center pt-32 pb-24",children:Object(b.jsx)(p.a,{className:"font-normal",to:"/pages/auth/login-2",children:"Go back to login"})})]})})]})}}}]);

Zerion Mini Shell 1.0