1import{j as t}from"./mui-vendor-VQdbAdYu.js";import{u as d}from"./SignupParamsContext-CWCYXGGt.js";import{O as u,w as i,f as p}from"./index-6-vMk6j-.js";import{o as g,O as n,p as c}from"./react-vendor-WE1_8CxQ.js";import"./utils-BzAQUUeQ.js";const j=({requiredStep:m})=>{var o;const{signupParams:e,setSignupParams:l}=d(),a=g();let s=!1,r=p.signup;switch(m){case u.TeamSelected:s=e.userType===i.Team||e.userType===i.Independent;break;case u.GroupCodeValid:s=!!e.groupCode&&!!e.groupCodeValid,r=p.signupEmail;break;default:s=!0;break}return s?t.jsx(n,{}):(o=a.state)!=null&&o.signupParams&&!e.accountId?(l(a.state.signupParams),console.log("SignupFlowGuard state set:",a.state.signupParams),t.jsx(n,{})):t.jsx(c,{to:r,replace:!0})};export{j as SignupFlowGuard};
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.