%PDF- %PDF-
Direktori : /home/opti/public_html/ezone-accounting.optisoft.com.ng/static/js/ |
Current File : /home/opti/public_html/ezone-accounting.optisoft.com.ng/static/js/152.75922625.chunk.js |
(this["webpackJsonpfuse-react-app"]=this["webpackJsonpfuse-react-app"]||[]).push([[152],{1165:function(e,a,t){"use strict";var o=t(2),c=t(7),l=t(0),n=t(8),s=t(228),r=t(85),i=Object(r.a)(l.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),d=Object(r.a)(l.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),m=t(31),b=Object(r.a)(l.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),j=t(15),p=t(11),u=l.createElement(d,null),x=l.createElement(i,null),h=l.createElement(b,null),f=l.forwardRef((function(e,a){var t=e.checkedIcon,r=void 0===t?u:t,i=e.classes,d=e.color,m=void 0===d?"secondary":d,b=e.icon,p=void 0===b?x:b,f=e.indeterminate,O=void 0!==f&&f,v=e.indeterminateIcon,y=void 0===v?h:v,w=e.inputProps,g=e.size,N=void 0===g?"medium":g,k=Object(c.a)(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps","size"]),z=O?y:p,C=O?y:r;return l.createElement(s.a,Object(o.a)({type:"checkbox",classes:{root:Object(n.a)(i.root,i["color".concat(Object(j.a)(m))],O&&i.indeterminate),checked:i.checked,disabled:i.disabled},color:m,inputProps:Object(o.a)({"data-indeterminate":O},w),icon:l.cloneElement(z,{fontSize:void 0===z.props.fontSize&&"small"===N?N:z.props.fontSize}),checkedIcon:l.cloneElement(C,{fontSize:void 0===C.props.fontSize&&"small"===N?N:C.props.fontSize}),ref:a},k))}));a.a=Object(p.a)((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:Object(m.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:Object(m.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiCheckbox"})(f)},2649:function(e,a,t){"use strict";t.r(a);var o=t(1118),c=t(32),l=t(131),n=t(1098),s=t(1109),r=t(1116),i=t(1165),d=t(1108),m=t(1035),b=t(1094),j=t(1072),p=t(1096),u=t(194),x=t(5),h=t(28),f=t(57),O=t(10),v=t(1);const y=Object(j.a)((e=>({root:{}}))),w=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.")}),g={email:"",password:"",remember:!0};a.default=function(){const e=y(),{control:a,formState:t,handleSubmit:j,reset:f}=Object(c.f)({mode:"onChange",defaultValues:g,resolver:Object(l.a)(w)}),{isValid:N,dirtyFields:k,errors:z}=t;return Object(v.jsxs)("div",{className:Object(x.a)(e.root,"flex flex-col flex-auto p-16 sm:p-24 md:flex-row md:p-0 overflow-hidden"),children:[Object(v.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(v.jsx)(o.a.div,{initial:{opacity:0,scale:.6},animate:{opacity:1,scale:1,transition:{delay:.1}},children:Object(v.jsx)("img",{className:"w-128 mb-32",src:"assets/images/logos/fuse.svg",alt:"logo"})}),Object(v.jsx)(o.a.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0,transition:{delay:.2}},children:Object(v.jsxs)(u.a,{className:"text-32 sm:text-44 font-semibold leading-tight",children:["Welcome ",Object(v.jsx)("br",{}),"to the ",Object(v.jsx)("br",{})," FUSE React!"]})}),Object(v.jsx)(o.a.div,{initial:{opacity:0},animate:{opacity:1,transition:{delay:.3}},children:Object(v.jsx)(u.a,{variant:"subtitle1",className:"mt-32 font-medium",children:"Powerful and professional admin template for Web Applications, CRM, CMS, Admin Panels and more."})})]}),Object(v.jsx)(s.a,{component:o.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(v.jsxs)(r.a,{className:"flex flex-col items-center justify-center p-16 sm:p-32 md:p-48 md:pt-128 ",children:[Object(v.jsx)(u.a,{variant:"h6",className:"mb-24 font-semibold text-18 sm:text-24",children:"Login to your account"}),Object(v.jsxs)("form",{name:"loginForm",noValidate:!0,className:"flex flex-col justify-center w-full",onSubmit:j((function(){f(g)})),children:[Object(v.jsx)(c.a,{name:"email",control:a,render:e=>{var a;let{field:t}=e;return Object(v.jsx)(p.a,{...t,className:"mb-16",label:"Email",autoFocus:!0,type:"email",error:!!z.email,helperText:null===z||void 0===z||null===(a=z.email)||void 0===a?void 0:a.message,variant:"outlined",required:!0,fullWidth:!0})}}),Object(v.jsx)(c.a,{name:"password",control:a,render:e=>{var a;let{field:t}=e;return Object(v.jsx)(p.a,{...t,className:"mb-16",label:"Password",type:"password",error:!!z.password,helperText:null===z||void 0===z||null===(a=z.password)||void 0===a?void 0:a.message,variant:"outlined",required:!0,fullWidth:!0})}}),Object(v.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center sm:justify-between",children:[Object(v.jsx)(c.a,{name:"remember",control:a,render:e=>{let{field:a}=e;return Object(v.jsx)(m.a,{children:Object(v.jsx)(b.a,{label:"Remember Me",control:Object(v.jsx)(i.a,{...a})})})}}),Object(v.jsx)(h.a,{className:"font-normal",to:"/pages/auth/forgot-password-2",children:"Forgot Password?"})]}),Object(v.jsx)(n.a,{variant:"contained",color:"primary",className:"w-full mx-auto mt-16","aria-label":"LOG IN",disabled:O.a.isEmpty(k)||!N,type:"submit",children:"Login"})]}),Object(v.jsxs)("div",{className:"my-24 flex items-center justify-center",children:[Object(v.jsx)(d.a,{className:"w-32"}),Object(v.jsx)("span",{className:"mx-8 font-semibold",children:"OR"}),Object(v.jsx)(d.a,{className:"w-32"})]}),Object(v.jsx)(n.a,{variant:"contained",color:"secondary",size:"small",className:"w-192 mb-8",children:"Log in with Google"}),Object(v.jsx)(n.a,{variant:"contained",color:"primary",size:"small",className:"w-192",children:"Log in with Facebook"}),Object(v.jsxs)("div",{className:"flex flex-col items-center justify-center pt-32 pb-24",children:[Object(v.jsx)("span",{className:"font-normal",children:"Don't have an account?"}),Object(v.jsx)(h.a,{className:"font-normal",to:"/pages/auth/register-2",children:"Create an account"})]})]})})]})}}}]);