1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7616],{47805:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/signup",function(){return n(16700)}])},74907:function(e,s,n){"use strict";var r=n(85893),t=n(48641);n(67294);var a=n(52583),i=n(26273),l=function(e){var s=e.children;return e.title,(0,r.jsxs)("div",{children:[(0,r.jsx)(a.Z,{}),(0,r.jsx)(i.Z,{children:(0,r.jsx)(t.M5,{w:"full",bg:"gray.50",py:"10",children:s})})]})};s.Z=l},52583:function(e,s,n){"use strict";n.d(s,{Z:function(){return b},g:function(){return w}});var r=n(828),t=n(85893),a=n(41664),i=n.n(a),l=n(63750),c=n(8193),o=n(11163),d=n(48641),x=n(47741),u=n(3812),h=n(26273),m=n(39327),f=n(5434),p=n(67294),j=function(e){var s=e.openMenu,n=e.setOpenMenu,r=(0,o.useRouter)(),a=function(e){e.preventDefault(),n(function(e){return!e})};return(0,t.jsx)("div",{className:s?"lg:hidden fixed left-0 top-0 w-full h-screen bg-orange/20 z-80 ease-in-out duration-700":"lg:hidden fixed -left-[100%] top-0 w-full h-screen bg-sm8/60 z-80 ease-in-out duration-900",onClick:a,children:(0,t.jsxs)("div",{className:s?"fixed top-0 left-0 h-screen bg-gradient-to-r from-primary to-primary/90 shadow-xl shadow-orange w-[70%] md:w-[50%] ease-in duration-900 z-80 pt-3 px-3":"fixed -left-[100%] top-0 ease-in duration-700 bg-gradient-to-r from-primary to-primary/90 shadow-xl shadow-orange w-[75%] md:w-[55%] h-screen z-80 pt-3 px-3",onClick:function(e){return e.stopPropagation()},children:[(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)("div",{onClick:a,className:"flex items-center justify-center rounded-full w-7 h-7 bg-white",children:(0,t.jsx)(f.FU5,{className:"w-6 h-6 text-orange"})})}),(0,t.jsxs)("div",{className:" flex flex-col text-lg space-y-8 font-semibold",children:[(0,t.jsx)(i(),{href:"/",children:(0,t.jsx)("a",{className:"/"==r.pathname?"text-orange":"text-white",children:"Home"})}),(0,t.jsx)(i(),{href:"/about",children:(0,t.jsx)("a",{className:"/about"==r.pathname?"text-orange":"text-white",children:"Find Work"})}),(0,t.jsx)(i(),{href:"/about",children:(0,t.jsx)("a",{className:"#"==r.pathname?"text-orange":"text-white",children:"Find Freelancers"})}),(0,t.jsx)(i(),{href:"/about",children:(0,t.jsx)("a",{className:"#"==r.pathname?"text-orange":"text-white",children:"Courses"})})]})]})})},g=n(30987),w=function(e,s){var n;return null===(n=Object.entries(e).find(function(e){var n=(0,r.Z)(e,2),t=n[0];return n[1],t.startsWith(s)}))||void 0===n?void 0:n[1]},b=function(e){var s=(0,o.useRouter)(),n=(0,p.useState)(!1),r=n[0],a=n[1],b=(0,g.B)().isAuth;return(0,t.jsxs)("div",{children:[(0,t.jsx)(d.xu,{as:"header",children:(0,t.jsx)(h.Z,{children:(0,t.jsxs)("div",{className:"mx-auto flex flex-row items-start xl:items-center sticky top-0 py-3 border-b border-[#f3f4f6]",children:[(0,t.jsx)(i(),{href:"/",children:(0,t.jsxs)("h2",{className:"flex-1 text-sm cursor-pointer",children:[(0,t.jsx)("span",{className:"text-primary font-semibold",children:"Skill"}),(0,t.jsx)("span",{className:"text-orange font-semibold",children:"Pay"})]})}),(0,t.jsxs)("div",{className:"flex flex-row space-x-10",children:[(0,t.jsxs)("div",{className:"hidden sm:flex items-center sm:space-x-4 text-sm",children:[(0,t.jsx)(i(),{href:"/",children:(0,t.jsx)("a",{className:"/"==s.pathname?"text-orange":"",children:"Home"})}),(0,t.jsx)(i(),{href:"/jobs",children:(0,t.jsx)("a",{className:"/jobs"==s.pathname?"text-orange":"",children:"Find Work"})}),(0,t.jsx)(i(),{href:"/freelancers",children:(0,t.jsx)("a",{className:"/freelancers"==s.pathname?"text-orange":"",children:"Find Freelancers"})}),(0,t.jsx)(i(),{href:"/",children:(0,t.jsx)("a",{className:"/"==s.pathname?"text-orange":"",children:"Courses"})})]}),!b&&(0,t.jsxs)("div",{className:"flex flex-row items-center space-x-2",children:[(0,t.jsx)(i(),{href:"/selectaccount",children:(0,t.jsxs)("button",{className:"flex flex-row items-center bg-white border border-gray-400 px-2 py-1 space-x-1 text-sm rounded-sm md:rounded-md",children:[(0,t.jsx)(l.O5U,{className:"w-3 h-3"}),(0,t.jsx)("span",{className:"text-xs",children:"Sign Up"})]})}),(0,t.jsx)(i(),{href:"/signin",children:(0,t.jsxs)("button",{className:"flex flex-row items-center bg-orange text-white border border-orange px-2 py-1 space-x-1 text-sm rounded-sm md:rounded-md",children:[(0,t.jsx)(c.SPH,{className:"w-3 h-3"}),(0,t.jsx)("span",{className:"text-xs",children:"Login"})]})})]}),b&&(0,t.jsx)(i(),{href:"employer"===w(b,"custom:type")?"/employer":"/freelancer",children:(0,t.jsx)("a",{children:(0,t.jsxs)(x.zx,{rounded:"full",variant:"outline",colorScheme:"blue",borderColor:"#090d4d",leftIcon:(0,t.jsx)(u.qE,{size:"xs"}),textTransform:"capitalize",children:[" ",b.name.split(" ")[0]]})})}),(0,t.jsx)("div",{className:"sm:hidden duration-300 ease-in",onClick:function(){return a(function(e){return!e})},children:r?(0,t.jsx)(f.FU5,{className:"w-6 h-6 text-orange"}):(0,t.jsx)(m.QQh,{className:"w-6 h-6 text-orange"})})]})]})})}),(0,t.jsx)(j,{openMenu:r,setOpenMenu:a})]})}},26273:function(e,s,n){"use strict";var r=n(85893),t=n(48641);n(67294),s.Z=function(e){var s=e.children;return(0,r.jsx)(t.W2,{maxW:"container.lg",w:"full",px:8,mx:"auto",children:s})}},16700:function(e,s,n){"use strict";n.r(s),n.d(s,{default:function(){return v}});var r=n(85893),t=n(67294),a=n(74907),i=n(47568),l=n(14924),c=n(26042),o=n(69396),d=n(70655),x=n(48641),u=n(83234),h=n(20979),m=n(47741),f=n(41664),p=n.n(f),j=n(89583),g=n(29704),w=n(11163),b=n(30987),N=function(){var e,s=(0,w.useRouter)(),n=(0,t.useState)(!1),a=n[0],f=n[1],N=s.query.type,v=(0,b.B)().DisplayToast,y=(0,t.useState)({name:"",email:"",password:"",passwordTwo:""}),C=y[0],I=y[1],_=(e=(0,i.Z)(function(e){var s,n,r,t,a;return(0,d.__generator)(this,function(a){switch(a.label){case 0:f(!0),e.preventDefault(),s=N||"freelancer",a.label=1;case 1:return a.trys.push([1,3,,4]),n=C.email,r=C.password,t=C.name,[4,g.g.signUp({username:n,password:r,attributes:{name:t,"custom:type":s}})];case 2:return a.sent(),v("success","Sign up is successful","Proceed to sign in"),f(!1),[3,4];case 3:return v("error","Request failed",a.sent().message),f(!1),[3,4];case 4:return[2]}})}),function(s){return e.apply(this,arguments)}),k=function(e){var s=e.target,n=s.name,r=s.value;I(function(e){return(0,o.Z)((0,c.Z)({},e),(0,l.Z)({},n,r))})};return(0,r.jsxs)(x.Kq,{alignItems:"center",justifyContent:"center",spacing:"5",maxWidth:"600px",children:[(0,r.jsxs)(x.Kq,{spacing:"5",as:"form",onSubmit:_,children:[(0,r.jsxs)(x.M5,{flexDir:"column",children:[(0,r.jsx)(x.xv,{className:"text-primary font-bold",children:"Sign Up"}),(0,r.jsx)(x.xv,{className:"space-x-1 text-sm rounded-md",children:"Enter your information to create your account"})]}),(0,r.jsx)(u.NI,{isRequired:!0,children:(0,r.jsx)(h.II,{onChange:k,bg:"white",color:"brand.100",name:"name",placeholder:"enter full name"})}),(0,r.jsx)(u.NI,{isRequired:!0,children:(0,r.jsx)(h.II,{onChange:k,bg:"white",color:"brand.100",name:"email",placeholder:"enter email address"})}),(0,r.jsx)(u.NI,{isRequired:!0,children:(0,r.jsx)(h.II,{onChange:k,bg:"white",color:"brand.100",name:"password",type:"password",placeholder:"create password"})}),(0,r.jsxs)(u.NI,{isRequired:!0,children:[(0,r.jsx)(h.II,{onChange:k,bg:"white",color:"brand.100",name:"passwordTwo",type:"conf password",placeholder:"confirm password"}),C.passwordTwo!==C.password&&(0,r.jsx)(u.Q6,{children:"Passwords dont match"})]}),(0,r.jsx)(m.zx,{type:"submit",bg:"#F24726",isLoading:a,children:"Sign Up Now"}),(0,r.jsxs)(x.M5,{gap:5,justifyContent:"space-between",children:[(0,r.jsx)(x.xv,{children:" Already have an account? "}),(0,r.jsx)(x.xu,{color:"tomato",as:"span",children:(0,r.jsx)(p(),{href:"/signin",children:"Login"})})]}),(0,r.jsx)(x.M5,{children:(0,r.jsx)(x.xv,{className:" space-x-1 text-sm rounded-md",children:"Or"})})]}),(0,r.jsxs)(x.M5,{className:"space-y-4",flexDir:"column",width:"full",children:[(0,r.jsx)(m.zx,{width:"full",leftIcon:(0,r.jsx)(j.ldW,{}),bgColor:"white",border:"1px solid gray",children:"Connect with Google"}),(0,r.jsx)(m.zx,{width:"full",className:"flex flex-row items-center bg-blue border px-2 py-1 space-x-1 text-sm rounded-md",bg:"#1877F2",leftIcon:(0,r.jsx)(j.Am9,{}),children:"Connect with facebook"})]})]})},v=function(){return(0,r.jsx)(a.Z,{children:(0,r.jsx)(N,{})})}}}
1,function(e){e.O(0,[1228,4617,2013,4090,5445,4949,6879,9774,2888,179],function(){return e(e.s=47805)}),_N_E=e.O()}]);
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.