%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/154.ffb3cfc0.chunk.js

(this["webpackJsonpfuse-react-app"]=this["webpackJsonpfuse-react-app"]||[]).push([[154],{1165:function(e,a,t){"use strict";var c=t(2),o=t(7),r=t(0),s=t(8),l=t(228),n=t(85),i=Object(n.a)(r.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(n.a)(r.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(n.a)(r.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),u=t(11),p=r.createElement(d,null),h=r.createElement(i,null),f=r.createElement(b,null),x=r.forwardRef((function(e,a){var t=e.checkedIcon,n=void 0===t?p:t,i=e.classes,d=e.color,m=void 0===d?"secondary":d,b=e.icon,u=void 0===b?h:b,x=e.indeterminate,O=void 0!==x&&x,v=e.indeterminateIcon,y=void 0===v?f:v,w=e.inputProps,g=e.size,N=void 0===g?"medium":g,k=Object(o.a)(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps","size"]),z=O?y:u,E=O?y:n;return r.createElement(l.a,Object(c.a)({type:"checkbox",classes:{root:Object(s.a)(i.root,i["color".concat(Object(j.a)(m))],O&&i.indeterminate),checked:i.checked,disabled:i.disabled},color:m,inputProps:Object(c.a)({"data-indeterminate":O},w),icon:r.cloneElement(z,{fontSize:void 0===z.props.fontSize&&"small"===N?N:z.props.fontSize}),checkedIcon:r.cloneElement(E,{fontSize:void 0===E.props.fontSize&&"small"===N?N:E.props.fontSize}),ref:a},k))}));a.a=Object(u.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"})(x)},2648:function(e,a,t){"use strict";t.r(a);var c=t(131),o=t(1118),r=t(32),s=t(1098),l=t(1109),n=t(1116),i=t(1165),d=t(1108),m=t(1035),b=t(1094),j=t(1072),u=t(1096),p=t(194),h=t(5),f=t(28),x=t(57),O=t(10),v=t(1);const y=Object(j.a)((e=>({root:{}}))),w=x.d().shape({email:x.f().email("You must enter a valid email").required("You must enter a email"),password:x.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:x}=Object(r.f)({mode:"onChange",defaultValues:g,resolver:Object(c.a)(w)}),{isValid:N,dirtyFields:k,errors:z}=t;return Object(v.jsx)("div",{className:Object(h.a)(e.root,"flex flex-col flex-auto items-center justify-center p-16 sm:p-32"),children:Object(v.jsx)("div",{className:"flex flex-col items-center justify-center w-full",children:Object(v.jsx)(o.a.div,{initial:{opacity:0,scale:.6},animate:{opacity:1,scale:1},children:Object(v.jsx)(l.a,{className:"w-full max-w-384",children:Object(v.jsxs)(n.a,{className:"flex flex-col items-center justify-center p-16 sm:p-24 md:p-32",children:[Object(v.jsx)("img",{className:"w-128 m-32",src:"assets/images/logos/fuse.svg",alt:"logo"}),Object(v.jsx)(p.a,{variant:"h6",className:"mt-16 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(){x(g)})),children:[Object(v.jsx)(r.a,{name:"email",control:a,render:e=>{var a;let{field:t}=e;return Object(v.jsx)(u.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)(r.a,{name:"password",control:a,render:e=>{var a;let{field:t}=e;return Object(v.jsx)(u.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)(r.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)(f.a,{className:"font-normal",to:"/pages/auth/forgot-password",children:"Forgot Password?"})]}),Object(v.jsx)(s.a,{variant:"contained",color:"primary",className:"w-224 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)(s.a,{variant:"contained",color:"secondary",size:"small",className:"w-192 mb-8",children:"Log in with Google"}),Object(v.jsx)(s.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)(f.a,{className:"font-normal",to:"/pages/auth/register",children:"Create an account"})]})]})})})})})}}}]);

Zerion Mini Shell 1.0