%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/156.da0a37ef.chunk.js

(this["webpackJsonpfuse-react-app"]=this["webpackJsonpfuse-react-app"]||[]).push([[156],{1165:function(e,t,a){"use strict";var r=a(2),o=a(7),c=a(0),i=a(8),n=a(228),l=a(85),s=Object(l.a)(c.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(l.a)(c.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=a(31),u=Object(l.a)(c.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"),p=a(15),j=a(11),b=c.createElement(d,null),h=c.createElement(s,null),f=c.createElement(u,null),x=c.forwardRef((function(e,t){var a=e.checkedIcon,l=void 0===a?b:a,s=e.classes,d=e.color,m=void 0===d?"secondary":d,u=e.icon,j=void 0===u?h:u,x=e.indeterminate,v=void 0!==x&&x,O=e.indeterminateIcon,y=void 0===O?f:O,w=e.inputProps,g=e.size,k=void 0===g?"medium":g,C=Object(o.a)(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps","size"]),N=v?y:j,S=v?y:l;return c.createElement(n.a,Object(r.a)({type:"checkbox",classes:{root:Object(i.a)(s.root,s["color".concat(Object(p.a)(m))],v&&s.indeterminate),checked:s.checked,disabled:s.disabled},color:m,inputProps:Object(r.a)({"data-indeterminate":v},w),icon:c.cloneElement(N,{fontSize:void 0===N.props.fontSize&&"small"===k?k:N.props.fontSize}),checkedIcon:c.cloneElement(S,{fontSize:void 0===S.props.fontSize&&"small"===k?k:S.props.fontSize}),ref:t},C))}));t.a=Object(j.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)},2653:function(e,t,a){"use strict";a.r(t);var r=a(131),o=a(1039),c=a(1118),i=a(32),n=a(1098),l=a(1109),s=a(1116),d=a(1165),m=a(1035),u=a(1094),p=a(1072),j=a(65),b=a(1096),h=a(194),f=a(5),x=a(28),v=a(57),O=a(10),y=a(1);const w=Object(p.a)((e=>({root:{},leftSection:{},rightSection:{background:"linear-gradient(to right, ".concat(e.palette.primary.dark," 0%, ").concat(Object(j.darken)(e.palette.primary.dark,.5)," 100%)"),color:e.palette.primary.contrastText}}))),g=v.d().shape({name:v.f().required("You must enter your name"),email:v.f().email("You must enter a valid email").required("You must enter a email"),password:v.f().required("Please enter your password.").min(8,"Password is too short - should be 8 chars minimum."),passwordConfirm:v.f().oneOf([v.e("password"),null],"Passwords must match"),acceptTermsConditions:v.c().oneOf([!0],"The terms and conditions must be accepted.")}),k={name:"",email:"",password:"",passwordConfirm:"",acceptTermsConditions:!1};t.default=function(){const e=w(),{control:t,formState:a,handleSubmit:p,reset:j}=Object(i.f)({mode:"onChange",defaultValues:k,resolver:Object(r.a)(g)}),{isValid:v,dirtyFields:C,errors:N}=a;return Object(y.jsx)("div",{className:Object(f.a)(e.root,"flex flex-col flex-auto items-center justify-center flex-shrink-0 p-16 md:p-24"),children:Object(y.jsxs)(c.a.div,{initial:{opacity:0,scale:.6},animate:{opacity:1,scale:1},className:"flex w-full max-w-400 md:max-w-3xl rounded-20 shadow-2xl overflow-hidden",children:[Object(y.jsxs)(l.a,{className:Object(f.a)(e.leftSection,"flex flex-col w-full max-w-sm items-center justify-center shadow-0"),square:!0,children:[Object(y.jsxs)(s.a,{className:"flex flex-col items-center justify-center w-full py-96 max-w-320",children:[Object(y.jsx)(c.a.div,{initial:{opacity:0},animate:{opacity:1,transition:{delay:.2}},children:Object(y.jsxs)("div",{className:"flex items-center mb-48",children:[Object(y.jsx)("img",{className:"logo-icon w-48",src:"assets/images/logos/fuse.svg",alt:"logo"}),Object(y.jsx)("div",{className:"border-l-1 mr-4 w-1 h-40"}),Object(y.jsxs)("div",{children:[Object(y.jsx)(h.a,{className:"text-24 font-semibold logo-text",color:"inherit",children:"FUSE"}),Object(y.jsx)(h.a,{className:"text-16 tracking-widest -mt-8 font-700",color:"textSecondary",children:"REACT"})]})]})}),Object(y.jsxs)("form",{name:"registerForm",noValidate:!0,className:"flex flex-col justify-center w-full",onSubmit:p((function(){j(k)})),children:[Object(y.jsx)(i.a,{name:"name",control:t,render:e=>{var t;let{field:a}=e;return Object(y.jsx)(b.a,{...a,className:"mb-16",label:"Name",autoFocus:!0,type:"name",error:!!N.name,helperText:null===N||void 0===N||null===(t=N.name)||void 0===t?void 0:t.message,variant:"outlined",required:!0,fullWidth:!0})}}),Object(y.jsx)(i.a,{name:"email",control:t,render:e=>{var t;let{field:a}=e;return Object(y.jsx)(b.a,{...a,className:"mb-16",label:"Email",type:"email",error:!!N.email,helperText:null===N||void 0===N||null===(t=N.email)||void 0===t?void 0:t.message,variant:"outlined",required:!0,fullWidth:!0})}}),Object(y.jsx)(i.a,{name:"password",control:t,render:e=>{var t;let{field:a}=e;return Object(y.jsx)(b.a,{...a,className:"mb-16",label:"Password",type:"password",error:!!N.password,helperText:null===N||void 0===N||null===(t=N.password)||void 0===t?void 0:t.message,variant:"outlined",required:!0,fullWidth:!0})}}),Object(y.jsx)(i.a,{name:"passwordConfirm",control:t,render:e=>{var t;let{field:a}=e;return Object(y.jsx)(b.a,{...a,className:"mb-16",label:"Password (Confirm)",type:"password",error:!!N.passwordConfirm,helperText:null===N||void 0===N||null===(t=N.passwordConfirm)||void 0===t?void 0:t.message,variant:"outlined",required:!0,fullWidth:!0})}}),Object(y.jsx)(i.a,{name:"acceptTermsConditions",control:t,render:e=>{var t;let{field:a}=e;return Object(y.jsxs)(m.a,{className:"items-center",error:!!N.acceptTermsConditions,children:[Object(y.jsx)(u.a,{label:"I read and accept terms and conditions",control:Object(y.jsx)(d.a,{...a})}),Object(y.jsx)(o.a,{children:null===N||void 0===N||null===(t=N.acceptTermsConditions)||void 0===t?void 0:t.message})]})}}),Object(y.jsx)(n.a,{variant:"contained",color:"primary",className:"w-full mx-auto mt-16","aria-label":"Register",disabled:O.a.isEmpty(C)||!v,type:"submit",children:"Create an account"})]})]}),Object(y.jsxs)("div",{className:"flex flex-col items-center justify-center pb-32",children:[Object(y.jsx)("span",{className:"font-normal",children:"Already have an account?"}),Object(y.jsx)(x.a,{className:"font-normal",to:"/pages/auth/login-3",children:"Login"})]})]}),Object(y.jsx)("div",{className:Object(f.a)(e.rightSection,"hidden md:flex flex-1 items-center justify-center p-64"),children:Object(y.jsxs)("div",{className:"max-w-320",children:[Object(y.jsx)(c.a.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0,transition:{delay:.2}},children:Object(y.jsxs)(h.a,{color:"inherit",className:"text-32 sm:text-44 font-semibold leading-tight",children:["Welcome ",Object(y.jsx)("br",{}),"to the ",Object(y.jsx)("br",{})," FUSE React!"]})}),Object(y.jsx)(c.a.div,{initial:{opacity:0},animate:{opacity:1,transition:{delay:.3}},children:Object(y.jsx)(h.a,{variant:"subtitle1",color:"inherit",className:"mt-32 font-medium",children:"Powerful and professional admin template for Web Applications, CRM, CMS, Admin Panels and more."})})]})})]})})}}}]);

Zerion Mini Shell 1.0