PageSourceSearch

https://www.byblack.us/assets/registration_signup-B0UGQMlS.js

js byblack.us collected 2026-10-01 15:26:52 UTC 3,119 bytes, 1 lines download raw bytes

1import{j as e}from"./vendor-react-uJJ-sCZi.js";import{u as N}from"./vendor-forms-cc_8dO4Q.js";import{a as u,u as y,L as S}from"./input-group-CHV9rPUN.js";import{i as w}from"./app-Din040zV.js";import{g as B,a as k,m as F}from"./utils-Bby0PJEI.js";import{l as Z}from"./utils-Bby0PJEI.js";import{R,T as v,S as g,a as C,F as E,I as p,b as T}from"./reset-password-Dw6v8tj8.js";import{w as L}from"./oauth-signin-sjbXUHSy.js";import"./vendor-state-f0PB_cmY.js";import"./painted-dots-D9gMCW4K.js";import"./vendor-logrocket-oGyAbWQ1.js";import"./vendor-maps-DP291Pe7.js";import"./vendor-sanity-c4zigSsd.js";import"./resend-verification-BkoTyEdW.js";import"./classification-DYEyzU0w.js";const U=t=>{const a={};return w(t.email)||(a.email="Invalid email"),Object.entries(t).forEach(([o,c])=>{c||(a[o]="Required")}),a},P=({firstName:t,lastName:a})=>{const o=y(),c=({email:l,firstName:x,lastName:f,password:b})=>{const{createAccount:j}=F(o);return j({email:l?.trim(),firstName:x?.trim(),lastName:f?.trim(),password:b})},{errors:r,handleBlur:i,handleChange:n,handleSubmit:h,touched:m,values:s}=N({initialValues:{email:"",firstName:t??"",lastName:a??"",password:""},onSubmit:c,validate:U});return e.jsxs(E,{onSubmit:h,children:[e.jsx(p,{placeholder:"e.g. Marcus",error:r.firstName,label:"First Name",name:"firstName",onBlur:i,onChange:n,touched:m.firstName,type:"text",value:s.firstName}),e.jsx(p,{placeholder:"e.g. Garvey",error:r.lastName,label:"Last Name",name:"lastName",onBlur:i,onChange:n,touched:m.lastName,type:"text",value:s.lastName}),e.jsx(p,{placeholder:"e.g. [email protected]",error:r.email,label:"Email Address",name:"email",onBlur:i,onChange:n,touched:m.email,type:"email",value:s.email}),e.jsx(p,{placeholder:"*****",error:r.password,label:"Password",name:"password",onBlur:i,onChange:n,touched:m.password,type:"password",value:s.password}),e.jsx(T,{disabled:Object.keys(s).some(l=>r[l]||!s[l]),subtext:e.jsxs("span",{children:["Already have an account? ",e.jsx(S,{to:"/login",children:"Login here."})]}),children:"Join now"})]})},d="Create your free business listing to reach thousands of people & companies looking for enterprises just like yours.",I=({error:t})=>{const a=u(B),o=u(k);return e.jsxs(e.Fragment,{children:[e.jsx("title",{children:"Join The Platform for Free Today!"}),e.jsx("meta",{name:"description",content:d}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:title",content:"Join the ByBlack Platform Today"}),e.jsx("meta",{property:"og:description",content:d}),e.jsx("meta",{property:"og:image",content:"https://storage.googleapis.com/byblack-609b5.appspot.com/public/assets/og-images/signup_ogimage.png"}),e.jsxs(R,{theme:v.BLUE,breadcrumb:"Sign Up",description:d,imageUrl:"https://storage.googleapis.com/byblack-609b5.appspot.com/public/assets/images/woman-thinking.png",title:a?`Hey ${a}, Let’s get started.`:"Join our directory of Black-owned businesses.",children:[e.jsx(g,{children:"Social Sign Up"}),e.jsx(C,{}),e.jsx(g,{children:"Email Sign Up"}),e.jsx(P,{firstName:a,lastName:o,error:t})]})]})},W=L(I);export{W as default,Z as loadPersonalizedReferral};

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.