PageSourceSearch

https://www.byblack.us/assets/oauth-signin-CGZx4198.js

js byblack.us collected 2026-09-24 12:07:57 UTC 1,676 bytes, 1 lines download raw bytes

1import{y as S,v as j,z as x,A as R,s as P,j as e,B as I,u as E,r as i}from"./vendor-react-CogcpAn1.js";import{b as m,c as b,u as L}from"./resend-verification-h9iGy4IH.js";import{z as v,A as p,C as d,D,J as O,K as _,N as w}from"./change-email-BdRlB1zt.js";import{S as y}from"./isEmail-DsTyjUNz.js";import{b as B,e as C}from"./utils-Dh-H25mp.js";import{s as N}from"./components.module-7CIAQ2Hn.js";function g({code:t=301,reason:s,relative:r,to:o}){const n=S(o,{relative:r}),c=j(),u=x(n.pathname,c),a=R(P({...n,pathname:u})),l=s?{reason:s}:void 0;return e.jsxs(v,{code:t,to:a,children:[e.jsx(p,{}),e.jsx(I,{replace:!0,to:a,state:l})]})}const f=t=>t?.signin?.error||t?.createProfile?.error,T=t=>t?.signin?.loading||t?.createProfile?.loading,z=D({error:f,isBusinessOwner:C,isLoading:T,isLoggedIn:B}),A=t=>({onClearError:()=>{t(O()),t(_())}}),F=b(z,A),M=({children:t=null,error:s,isBusinessOwner:r,isLoading:o,isLoggedIn:n,onClearError:c})=>{const u=E(),a=i.useRef(!1);if(i.useEffect(()=>{a.current=!0},[]),n){const l=u.pathname.includes("recertification");return r&&!l?e.jsx(g,{to:"/profile/business-information"}):e.jsx(g,{to:"/onboard"})}return o?e.jsx(p,{}):e.jsxs(i.Fragment,{children:[s&&e.jsx(y,{className:N.errorBanner,autoDismissTimeout:7500,onClearStatus:c,statusMessage:s||null,status:s?d.FAILED:d.UNSET}),t]})},h=F(M),G=t=>{function s(r){const o=m(f);return e.jsx(h,{children:e.jsx(t,{...r,error:o})})}return s};function W(){const t=m(f),s=L();return i.useEffect(()=>{s(w({oauth:!0}))},[s]),e.jsx(h,{children:t&&e.jsx(g,{to:"/signup"})})}const Q=Object.freeze(Object.defineProperty({__proto__:null,default:W},Symbol.toStringTag,{value:"Module"}));export{Q as o,G as w};

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.