1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-DuGXNumw.js","assets/index-DEXPCKZH.css"])))=>i.map(i=>d[i]); 2import{u as fe,a as ge,r as a,G as be,M as V,j as e,L as je,b as ye,d as _e,h as we,m as ve,z as Ce,s as se,_ as ae}from"./index-DuGXNumw.js";import{P as Se}from"./lib-z1GgFbTu.js";import{p as Ne}from"./parsePhoneNumber-A5pStKbZ.js";import{i as Fe}from"./isValidPhoneNumber-C7nIeWrR.js";function He(){const z=[_e,we,ve,Ce],y=fe(),l=ge(),[B,k]=a.useState(!1),[n,_]=a.useState(""),[ie,w]=a.useState(!1),[m,O]=a.useState(""),[re,T]=a.useState(!1),[v,h]=a.useState(30),[W,f]=a.useState(!1),[p,C]=a.useState(""),[H,J]=a.useState(""),[R,Y]=a.useState(""),[oe,I]=a.useState(!0),[o,ne]=a.useState("client"),[d,K]=a.useState(""),[le,Q]=a.useState(!1),[u,x]=a.useState(!1),{setGlobalUser:X}=a.useContext(be)||{},de=t=>t?/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(String(t).toLowerCase()):!1,ce=t=>t?t.replace(/\D/g,"").length>=10:!1,L=de(n),A=ce(d),P=ie&&n.length>0&&!L,xe=le&&d.length>0&&!A,S=o==="client"?A:L,pe=(t,s,c,g)=>{K(t);const i=s?.dialCode?`+${s.dialCode}`:"";J(i);const F=t.replace(/\D/g,""),b=s?.dialCode?F.slice(s.dialCode.length):F;Y(b);const E=i+b,r=Ne(E);I(r?Fe(E):!1)},ee=t=>{ne(t),_(""),K(""),J(""),Y(""),I(!0),w(!1),Q(!1),f(!1),C("")},N=(t=>/^\d{6}$/.test(t))(m),D=re&&m.length>0&&!N;a.useEffect(()=>{n!==p&&f(!1)},[n,p]),a.useEffect(()=>{const t=localStorage.getItem("login_email")||"";t&&!n&&_(t)},[]),a.useEffect(()=>{const t=localStorage.getItem("login_email")||"";t&&_(t)},[B]),a.useEffect(()=>{if(v<=0)return;const t=setTimeout(()=>h(s=>Math.max(0,s-1)),1e3);return()=>clearTimeout(t)},[v]);const ue=a.useCallback(async()=>{try{const t=o==="client"?d:n;let s={};if(o==="client"?s={mobile_country_code:H,mobile_number:R}:s={email_id:t.trim()},!(await V.post("v2/send-otp",s))?.success)return;l.success("OTP send"),h(30)}catch(t){console.log(t);const s={title:"Something went wrong.",message:t?.response?.data?.message,status:t?.status};l.error(s)}},[o,d,n,y,30,l]),me=async t=>{t.preventDefault();try{if(o==="client"){if(Q(!0),!A){l.error("Enter a valid phone number");return}const s={mobile_country_code:H,mobile_number:R};if(x(!0),!(await V.post("v2/send-otp",s))?.success){x(!1);return}k(!0),O(""),localStorage.setItem("login_email",d.trim()),f(!1),C(d.trim()),h(30),l.success({title:"Verification Code Sent",message:"Verification code sent. Please check your phone to continue."}),x(!1)}else{if(w(!0),!L){l.error("Enter a valid email");return}const s={email_id:n?.trim()};if(x(!0),!(await V.post("v2/send-otp",s))?.success){x(!1);return}k(!0),O(""),localStorage.setItem("login_email",n.trim()),f(!1),C(n.trim()),h(30),l.success({title:"Verification Code Sent",message:"Verification code sent. Please check your Email to continue."}),x(!1)}}catch(s){console.log("err: ",s);const c=s?.response?.data?.message||"Invalid credentials";c=="This email address is not registered. Sign up to create a new account."||c=="This mobile number is not registered. Sign up to create a new account."?(f(!0),C(""),l.error({title:"Something went wrong.",message:s?.response?.data?.message,status:s?.response?.data?.statusCode})):l.error({title:"Something went wrong.",message:s?.response?.data?.message,status:s?.response?.data?.statusCode}),x(!1)}},te=()=>{localStorage.clear(),X({}),y("/")},he=async t=>{t.preventDefault();try{if(T(!0),!N){l.error("Enter the 6-digit code");return}const s=o==="client"?d:n;let c={};o==="client"?c={mobile_country_code:H,mobile_number:R,code:m}:c={email_id:s?.trim(),code:m};const g=await V.postWithResponse("v2/verify-otp",c);if(g?.status!=200)return;const i=g?.data?.data;try{const r=g?.headers?.authorization||g?.headers?.Authorization;if(r){const j=r.startsWith("Bearer ")?r.substring(7):r;se("token",j)}}catch{}localStorage.removeItem("login_email"),se("userDetails",{...i,is_user_verified:!0}),X({...i,is_user_verified:!0}),localStorage.setItem("userType",i?.user_type),l.success({title:"Login",message:i?.onboarding_status?"Welcome back to your dashboard.":"OTP Verified Successfully."});const{onboarding_status:F,user_type:b,account_setup:E}=i||{};if(h(0),F)b=="company"?window.location.replace("/agency/new-requirements/list"):window.location.replace("/agency/my-requirements/list");else if(b=="company")y(E?"/onboard/agency":"/onboard/agency/account/user-info");else if(i?.account_setup==!1)y("/onboard/client/account/user-info");else{let r;if(i.status==="submitted")r="/client/my-requirements/list";else if(i.status==="draft"){if(i?.project_hiring_type==="staffing"){const{clientOnboardingStaffingRoutes:j,getLinkByStep:M,base64Encode:U}=await ae(async()=>{const{clientOnboardingStaffingRoutes:$,getLinkByStep:G,base64Encode:Z}=await import("./index-DuGXNumw.js").then(q=>q.b2);return{clientOnboardingStaffingRoutes:$,getLinkByStep:G,base64Encode:Z}},__vite__mapDeps([0,1]));r=M(j,i.steps_completed_new),r=`${r}/${U(i.request_id)}`}else if(i?.project_hiring_type==="fixed"){const{clientOnboardingFixedRoutes:j,getLinkByStep:M,base64Encode:U}=await ae(async()=>{const{clientOnboardingFixedRoutes:$,getLinkByStep:G,base64Encode:Z}=await import("./index-DuGXNumw.js").then(q=>q.b2);return{clientOnboardingFixedRoutes:$,getLinkByStep:G,base64Encode:Z}},__vite__mapDeps([0,1]));r=M(j,i.steps_completed_new),r=`${r}/${U(i.request_id)}`}}else i.account_setup===!0&&(r="/onboard/client/requirement/select-type");r&&(window.location.href=r)}}catch(s){l.error({title:"Something went wrong.",message:s?.response?.data?.message,status:s?.status})}};return e.jsxs("div",{className:"min-h-screen flex flex-col md:flex-row overflow-hidden",children:[e.jsx("style",{jsx:!0,children:` 3 input::placeholder { 4 color: rgba(19, 38, 68, 0.6) !important; 5 } 6 `}),e.jsx("div",{className:"bg-gradient-to-br from-[#FCFAFF] to-[#EAEDFE] hidden lg:flex lg:basis-[37%] relative overflow-hidden m-4 p-6 rounded-[12px] h-[95vh]",children:e.jsxs("div",{className:"w-full",children:[e.jsxs("svg",{width:"42px",height:"42px",viewBox:"0 0 64 64",f
vendor: 4,049 bytes, line 6
6ill:"none",xmlns:"http://www.w3.org/2000/svg",className:"cursor-pointer",onClick:te,children:[e.jsxs("g",{filter:"url(#filter0_i_3543_17282)",children:[e.jsx("path",{d:"M56.8894 32.0256V56.8896H31.8846C18.2046 56.8896 7.1123 45.7752 7.1123 32.0622C7.1123 18.2838 18.2569 7.11182 32.0074 7.11182V19.5425C25.1295 19.5425 19.5546 25.1298 19.5546 32.0229C19.5546 38.8899 25.1086 44.4537 31.9578 44.4537H44.4471V32.0229H56.8868L56.8894 32.0256Z",fill:"url(#paint0_linear_3543_17282)"}),e.jsx("path",{d:"M44.4509 7.13965V12.7318C44.4509 16.5305 41.375 19.6102 37.5811 19.6102H32.0117V32.0782H44.4509V26.4861C44.4509 22.6874 47.5267 19.6102 51.3206 19.6102H56.89V7.13965H44.4509ZM53.2032 15.9161H50.4824C50.049 15.9344 49.6208 16.0181 49.2161 16.1645C48.7513 16.3318 48.3179 16.5802 47.934 16.8991L47.9053 16.9227C45.6728 18.7763 43.6153 20.8338 41.7615 23.0665L41.751 23.0795C41.1322 23.8272 40.7823 24.7606 40.764 25.7305V28.3841H35.6986V23.3018H38.2287V23.2965H38.2522C39.2522 23.2965 40.2235 22.9462 40.9912 22.3057C43.2263 20.4468 45.2838 18.3841 47.1377 16.1462L47.1507 16.1305C47.7878 15.3593 48.1377 14.3893 48.1377 13.388V13.3776H48.1403V10.8338H53.2032V15.9161Z",fill:"url(#paint1_linear_3543_17282)"})]}),e.jsxs("defs",{children:[e.jsxs("filter",{id:"filter0_i_3543_17282",x:"0",y:"0",width:"64",height:"64.9771",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dy:"0.977099"}),e.jsx("feGaussianBlur",{stdDeviation:"4.75114"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.jsx("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_3543_17282"})]}),e.jsxs("linearGradient",{id:"paint0_linear_3543_17282",x1:"32.0008",y1:"7.11182",x2:"32.0008",y2:"56.8896",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#0062FF"}),e.jsx("stop",{offset:"1",stopColor:"#3B86FF"})]}),e.jsxs("linearGradient",{id:"paint1_linear_3543_17282",x1:"44.4509",y1:"7.13965",x2:"44.4509",y2:"32.0782",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#0062FF"}),e.jsx("stop",{offset:"1",stopColor:"#3B86FF"})]})]})]}),e.jsx("p",{className:"mt-7 text-[22px] lg:text-[36px] leading-tight font-bold text-[#132644] font-geist",children:"The marketplace that doesnât take a cut."}),e.jsx("p",{className:"mt-4 text-[14px] lg:text-[18px] leading-[26px] font-normal text-[#132644] font-geist",children:"Find trusted projects and vetted partners without paying a single commission. We make the match, the rest is all yours."}),e.jsx("div",{className:"absolute bottom-[34%] right-[16%]",children:e.jsx("img",{src:"/assets/common/logoshadow.svg",alt:"Logo",className:"w-[220px]"})}),e.jsxs("div",{className:"absolute bottom-[18%] bg-[#FAFCFF] rounded-[10px] border border-[#E5E5E5] font-geist w-[67%] shadow-[0px_4px_10px_10px_#0000000D]",children:[e.jsxs("div",{className:"p-5 z-2",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between mb-4 gap-2",children:[e.jsx("p",{className:"border border-[#E5E5E5] rounded-[8px] px-2 pt-[4px] text-[#0D9488] bg-white text-sm",children:"Fixed-Price Project"}),e.jsxs("p",{className:"flex items-center gap-1 text-sm",children:[e.jsxs("svg",{width:"16px",height:"16px",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("g",{filter:"url(#filter0_i_3543_17282)",children:[e.jsx("path",{d:"M56.8894 32.0256V56.8896H31.8846C18.2046 56.8896 7.1123 45.7752 7.1123 32.0622C7.1123 18.2838 18.2569 7.11182 32.0074 7.11182V19.5425C25.1295 19.5425 19.5546 25.1298 19.5546 32.0229C19.5546 38.8899 25.1086 44.4537 31.9578 44.4537H44.4471V32.0229H56.8868L56.8894 32.0256Z",fill:"url(#paint0_linear_3543_17282)"}
6),e.jsx("path",{d:"M44.4509 7.13965V12.7318C44.4509 16.5305 41.375 19.6102 37.5811 19.6102H32.0117V32.0782H44.4509V26.4861C44.4509 22.6874 47.5267 19.6102 51.3206 19.6102H56.89V7.13965H44.4509ZM53.2032 15.9161H50.4824C50.049 15.9344 49.6208 16.0181 49.2161 16.1645C48.7513 16.3318 48.3179 16.5802 47.934 16.8991L47.9053 16.9227C45.6728 18.7763 43.6153 20.8338 41.7615 23.0665L41.751 23.0795C41.1322 23.8272 40.7823 24.7606 40.764 25.7305V28.3841H35.6986V23.3018H38.2287V23.2965H38.2522C39.2522 23.2965 40.2235 22.9462 40.9912 22.3057C43.2263 20.4468 45.2838 18.3841 47.1377 16.1462L47.1507 16.1305C47.7878 15.3593 48.1377 14.3893 48.1377 13.388V13.3776H48.1403V10.8338H53.2032V15.9161Z",fill:"url(#paint1_linear_3543_17282)"})]}),e.jsxs("defs",{children:[e.jsxs("filter",{id:"filter0_i_3543_17282",x:"0",y:"0",width:"64",height:"64.9771",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dy:"0.977099"}),e.jsx("feGaussianBlur",{stdDeviation:"4.75114"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.jsx("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_3543_17282"})]}),e.jsxs("linearGradient",{id:"paint0_linear_3543_17282",x1:"32.0008",y1:"7.11182",x2:"32.0008",y2:"56.8896",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#0062FF"}),e.jsx("stop",{offset:"1",stopColor:"#3B86FF"})]}),e.jsxs("linearGradient",{id:"paint1_linear_3543_17282",x1:"44.4509",y1:"7.13965",x2:"44.4509",y2:"32.0782",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#0062FF"}),e.jsx("stop",{offset:"1",stopColor:"#3B86FF"})]})]})]}),"Verified"]})]}),e.jsx("p",{className:"mb-1 text-[#1566F1] font-semibold text-lg lg:text-[20px]",children:"$5,000 - $10,000"}),e.jsx("p",{className:"mb-3 text-[15px] lg:text-[16px] font-medium text-[#132644]",children:"AI-first food delivery app"}),e.jsx("p",{className:"mb-3 text-xs text-[#6B778B]",children:"ID: SS-120 ⢠12th Aug 2025 ⢠4:40 PM"}),e.jsxs("p",{className:"text-sm text-[#6B778B]",children:["To build a AI driven food delivery app across both platforms which will help users by matching their current food mood accordi...",e.jsx("span",{className:"text-[#1566F1] cursor-pointer",children:"see more"})]})]}),e.jsx("div",{className:"absolute top-[62%] -right-[10px] z-3 bg-[#3B82F6] rounded-[100%] w-[45px] h-[45px] p-2 flex items-center justify-center shadow-[0_0_20px_0_#00000080]",children:e.jsx(je,{className:"text-[#F5F5F5] w-[24px] h-[24px]"})}),e.jsx("div",{className:"absolute font-geist w-[90%] bg-[#FAFCFF] border border-[#E5E5E5] rounded-[10px] left-[40%] bottom-[-36%] shadow-[0px_4px_10px_10px_#0000000D]",children:e.jsxs("div",{className:"p-5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx("img",{src:"/assets/common/loginpagedummy.svg",alt:"Logo",width:"40",height:"40"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[#132644]",children:"Ralabs Technologies"}),e.jsxs("p",{className:"flex items-center gap-1 text-[#2563EB] text-sm",children:[e.jsxs("svg",{width:"16px",height:"16px",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("g",{filter:"url(#filter0_i_3543_17282)",children:[e.jsx("path",{d:"M56.8894 32.0256V56.8896H31.8846C18.2046 56.8896 7.1123 45.7752 7.1123 32.0622C7.1123 18.2838 18.2569 7.11182 32.0074 7.11182V19.5425C25.1295 19.5425 19.5546 25.1298 19.5546 32.0229C19.5546 38.8899 25.1086 44.4537 31.9578 44.4537H44.4471V32.0229H56.8868L56.8894 32.0256Z",fill:"url(#paint0_linear_3543_17282)"}
6),e.jsx("path",{d:"M44.4509 7.13965V12.7318C44.4509 16.5305 41.375 19.6102 37.5811 19.6102H32.0117V32.0782H44.4509V26.4861C44.4509 22.6874 47.5267 19.6102 51.3206 19.6102H56.89V7.13965H44.4509ZM53.2032 15.9161H50.4824C50.049 15.9344 49.6208 16.0181 49.2161 16.1645C48.7513 16.3318 48.3179 16.5802 47.934 16.8991L47.9053 16.9227C45.6728 18.7763 43.6153 20.8338 41.7615 23.0665L41.751 23.0795C41.1322 23.8272 40.7823 24.7606 40.764 25.7305V28.3841H35.6986V23.3018H38.2287V23.2965H38.2522C39.2522 23.2965 40.2235 22.9462 40.9912 22.3057C43.2263 20.4468 45.2838 18.3841 47.1377 16.1462L47.1507 16.1305C47.7878 15.3593 48.1377 14.3893 48.1377 13.388V13.3776H48.1403V10.8338H53.2032V15.9161Z",fill:"url(#paint1_linear_3543_17282)"})]}),e.jsxs("defs",{children:[e.jsxs("filter",{id:"filter0_i_3543_17282",x:"0",y:"0",width:"64",height:"64.9771",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dy:"0.977099"}),e.jsx("feGaussianBlur",{stdDeviation:"4.75114"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),e.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.jsx("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_3543_17282"})]}),e.jsxs("linearGradient",{id:"paint0_linear_3543_17282",x1:"32.0008",y1:"7.11182",x2:"32.0008",y2:"56.8896",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#0062FF"}),e.jsx("stop",{offset:"1",stopColor:"#3B86FF"})]}),e.jsxs("linearGradient",{id:"paint1_linear_3543_17282",x1:"44.4509",y1:"7.13965",x2:"44.4509",y2:"32.0782",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#0062FF"}),e.jsx("stop",{offset:"1",stopColor:"#3B86FF"})]})]})]}),"Verified"]})]})]}),e.jsx("p",{className:"text-sm text-[#6B778B]",children:"Ralabs specializing in custom web apps, enterprise software, AI/ML solutions, and solutions for healthcare and fintech."})]})})]})]})}),e.jsx("div",{className:"right-bar flex items-start justify-center md:mt-6 lg:mt-[45px] w-full lg:basis-[63%] p-4",children:e.jsxs("div",{className:"w-full max-w-sm",children:[e.jsx("h2",{className:"text-[32px] font-semibold leading-[38px] mb-[12px] text-[#0A0A0A] font-tasa-display",children:"Welcome Back!"}),e.jsx("p",{className:"font-inter font-normal text-[14px] leading-[20px] text-[#6D788B] mb-[24px]",children:"Connect with verified partners and real opportunities â all in one place."}),!B&&e.jsxs("div",{children:[e.jsxs("div",{className:"flex mb-6 bg-gray-100 rounded-lg p-1",children:[e.jsx("button",{type:"button",onClick:()=>ee("client"),className:`flex-1 py-2 px-4 text-sm font-medium rounded-md transition-colors ${o==="client"?"bg-white text-[#132644] shadow-sm":"text-gray-600 hover:text-gray-800"}`,children:"Post a Project"}),e.jsx("button",{type:"button",onClick:()=>ee("agency"),className:`flex-1 py-2 px-4 text-sm font-medium rounded-md transition-colors ${o==="agency"?"bg-white text-[#132644] shadow-sm":"text-gray-600 hover:text-gray-800"}`,children:"Get a Project"})]}),e.jsxs("form",{onSubmit:me,children:[o==="client"&&e.jsxs("div",{children:[e.jsx("div",{className:"flex justify-between mb-[10px] font-geist",children:e.jsx("label",{htmlFor:"phone",className:"block text-sm font-[500]",children:"Mobile Number"})}),e.jsx(Se,{country:"in",value:d,onChange:pe,countryCodeEditable:!1,enableSearch:!0,inputProps:{name:"phone",required:!0,autoFocus:!0},containerStyle:{width:"100%",borderRadius:"8px",border:oe?"1px solid #E5E5E5":"1px solid #EF4444",boxShadow:"0px 1px 2px 0px #0000000D"},buttonStyle:{border:"none",backgroundColor:"transparent",padding:"0 10px",borderRadius:"8px"},inputStyle:{width:"100%",border:"none",height:"42px",paddingLeft:"50px",fontSize:"14px",borderRadius:"8px",outline:"none"}}),e.jsx("div",{id:"phone-error",role:"alert",className:`text-[#EF4444] text-[12px] leading-[18px] font-geist transition-all duration-200 ease-out overflow-hidden ${xe?"max-h-6 opacity-100 translate-y-0":"max-h-0 opacity-0 -translate-y-1"}`,children:"Enter a valid phone number"})]}),o==="agency"&&e.jsxs("div",{children:[e.jsx("div",{className:"flex justify-between mb-[10px] font-geist",children:e.jsx("label",{htmlFor:"email",className:"block text-sm font-[500]",children:"Work Email"})}),e.jsx("input",{id:"email",type:"email",placeholder:"[email protected]",value:n,onChange:t=>{_(t.target.value),w(!1)},onBlur:()=>w(!0),"aria-invalid":P,"aria-describedby":"email-error",className:`w-full border rounded px-3 py-2 mb-2 focus:outline-none text-sm shadow-[0px_1px_2px_0px_#0000000D] rounded-[8px] ${P?"border-[#
6EF4444] focus:ring-2 focus:ring-red-100":"border-[var(--base-input,#E5E5E5)]"}`}),e.jsx("div",{id:"email-error",role:"alert",className:`text-[#EF4444] text-[12px] leading-[18px] font-geist transition-all duration-200 ease-out overflow-hidden ${P?"max-h-6 opacity-100 translate-y-0":"max-h-0 opacity-0 -translate-y-1"}`,children:"Valid email address required"})]}),e.jsxs("div",{id:"email-already-exists-error",role:"alert",className:`text-[#EF4444] text-[12px] leading-[18px] font-geist transition-all duration-200 ease-out ${W?"max-h-6 opacity-100 translate-y-0":"max-h-0 opacity-0 -translate-y-1"}`,children:["This ",o==="client"?"phone number":"email address"," is not registered. Sign up to create a new account."]}),W?e.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 items-center w-full",children:[e.jsx("button",{type:"submit",disabled:u||!S||(o==="client"?d===p:n===p),className:`w-full sm:w-[56%] mt-[16px] sm:mt-[24px] text-white py-2 rounded-[8px] ${!u&&S&&(o==="client"?d!==p:n!==p)?"bg-[#132644] cursor-pointer":"bg-[#132644]/50 cursor-not-allowed"}`,children:u?"Sending...":"Send sign-in code"}),e.jsx(ye,{to:"/",className:"flex items-center justify-center w-full sm:w-[40%] mt-[12px] sm:mt-[24px] text-white py-2 px-4 rounded-[8px] bg-[#1566F1] cursor-pointer",children:"Join Network"})]}):e.jsx("button",{type:"submit",disabled:u||!S,className:`w-full mt-[24px] text-white py-2 rounded-[8px] ${!u&&S?"bg-[#132644] cursor-pointer":"bg-[#132644]/50 cursor-not-allowed"}`,children:u?"Sending...":"Get Code"})]})]}),B&&e.jsxs("form",{onSubmit:he,children:[e.jsxs("div",{className:"flex justify-between mb-[10px] font-geist",children:[e.jsx("label",{htmlFor:"email",className:"block text-sm font-[500]",children:"Work Email or Mobile"}),e.jsx("button",{type:"button",className:"block text-sm text-blue-500 font-[400] underline cursor-pointer",onClick:()=>{k(!1)},children:"Change Email or Mobile"})]}),e.jsx("input",{id:"email",type:"text",value:o==="client"?"+"+d:n,readOnly:!0,placeholder:o==="client"?"+1 234 567 8900":"[email protected]",className:"w-full border rounded px-3 py-2 mb-2 focus:outline-none text-sm shadow-[0px_1px_2px_0px_#0000000D] rounded-[8px] border-gray-300 bg-gray-100 cursor-not-allowed"}),e.jsx("span",{className:"font-normal text-[14px] leading-[20px] text-[#737373] mb-[24px]",children:"Code sent to your email/mobile."}),e.jsxs("div",{className:"flex justify-between mt-[24px] mb-[10px] font-geist",children:[e.jsx("label",{className:"block text-sm font-medium",children:"Verify Code"}),v>0?e.jsxs("span",{className:"text-[#B9B9B9] text-sm font-[400]",children:[" Re-send in ",v?.toString().padStart(2,"0"),"s "]}):e.jsx("button",{type:"button",onClick:ue,className:"block text-sm text-blue-500 font-[400] underline cursor-pointer",children:"Resend Code"})]}),e.jsx("input",{id:"otp",type:"text",inputMode:"numeric",pattern:"[0-9]*",maxLength:"6",placeholder:"Enter 6-digit OTP",value:m,onChange:t=>{const s=t.target.value.replace(/\D/g,"").slice(0,6);O(s),T(!1)},onBlur:()=>T(!0),"aria-invalid":D,"aria-describedby":"otp-error",className:`w-full border rounded px-3 py-2 mb-2 focus:outline-none text-sm shadow-[0px_1px_2px_0px_#0000000D] rounded-[8px] ${D?"border-[#EF4444] focus:ring-2 focus:ring-red-100":"border-[var(--base-input,#E5E5E5)]"}`}),e.jsx("div",{id:"otp-error",role:"alert",className:`text-[#EF4444] text-[12px] leading-[18px] font-geist transition-all duration-200 ease-out overflow-hidden ${D?"max-h-6 opacity-100 translate-y-0":"max-h-0 opacity-0 -translate-y-1"}`,children:"Enter 6 digit code."}),e.jsx("button",{type:"submit",disabled:!N,className:`w-full mt-[24px] text-white py-2 rounded-[8px] ${N?"bg-[#132644] cursor-pointer":"bg-[#132644]/50 cursor-not-allowed"}`,children:"Verify Code"})]}),e.jsxs("p",{className:"text-[14px] font-[400] text-[#556378] mt-4",children:["By continuing, you agree to Getprojects",e.jsx("a",{href:"https://getprojects.ai/privacy-policy",target:"_blank",className:"text-[#5791F5]",children:" Privacy Policy"}),"."]}),e.jsxs("div",{className:"flex items-center justify-center my-[30px]",children:[e.jsx("div",{className:"h-px w-30 bg-gradient-to-r from-cyan-400 to-blue-500 rounded-[12px]"}),e.jsx("div",{className:"mx-4 text-blue-400",children:e.jsx("img",{src:"/assets/common/dividergradient.svg",alt:"Logo",className:"w-[18px] h-[26px]"})}),e.jsx("div",{className:"h-px w-30 bg-gradient-to-l from-cyan-400 to-blue-500 rounded-[12px]"})]}),e.jsx("div",{className:"flex justify-center mb-4 font-[500] text-[12px] leading-[18px]",children:"TRUSTED BY TOP BRANDS"}),e.jsx("div",{className:"relative overflow-hidden w-full py-4",children:e.jsxs("div",{className:"slider-track",children:[e.jsx("div",{className:"slider-row",children:z.map((t,s)=>e.jsx("img",{src:t,alt:`Brand-${s}`,className:"h-8 flex-shrink-0"},`a-${s}`))}),e.jsx("div",{className:"slider-row","aria-hidden":"true",children:z.map((t,s)=>e.jsx("img",{src:t,alt:"",className:"h-8 flex-shrink-0"},`b-${s}`))})]})}),e.jsxs("p",{className:"text-center text-[14px] font-[400] mt-6 text-[#556378] font-geist",children:["Donât have an account?",e.jsx("button",{onClick:te,className:"text-[#5590F4] ms-1 font-[700] text-[14px] underline cursor-pointer",children:" Sign up"})]})]})})]})}export{He as default};
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.