1import{R as o,aP as i,dB as m}from"../../vendors/vendor-YUfIzhZH-1791218974056.js";import{f as c}from"../../onboardingFlowConfig-Bvk52W2j-1791218975692.js";import{F as f}from"../../index-BqcUo8yk-1791218901832.js";import{r as l,F as d}from"../../FounderRunContainer-BSHd8WQQ-1791218975701.js";import{F as R,e as F,i as j}from"../../founderRunHttpTransport-aHyKfqmF-1791218975701.js";import"../../sprint-planning/sprint-planning-core-D8DFNeL2-1791218975454.js";import"../../useMediaQuery-gR512Mbq-1791218975701.js";import"../../useViewportMatch-EYZJUNbO-1791218975701.js";import"../../useOnboardingV2-BaJC-1WO-1791218975691.js";import"../../DocumentUploadZone-BZs7hgzx-1791218975701.js";import"../../founder-run-entry-CnqzgYiQ-1791218975692.js";import"../../csrfFetch-CqTJ1di2-1791218975701.js";import"../founder/BlueOceanCanvasPanel-B9vYOQRZ-1791218975701.js";import"../../usageCredit-qfbiNRjQ-1791218975691.js";j();const x="/signup";function G({flowOverride:t,...n}){const[s,u]=o.useState(t),r=o.useMemo(()=>{const e=n.jobId?null:l(n.flow??f);if(e)for(const[a,p]of Object.entries(e.stepData))R[a]&&F({jobId:e.jobId,screenId:a,data:p});return e},[]);if(o.useEffect(()=>{t&&u(t)},[t]),o.useEffect(()=>{if(t)return;let e=!1;return c("FounderRunFlowGate").then(a=>{e||u(a)}),()=>{e=!0}},[t]),s===void 0)return i.jsx("div",{"data-testid":"founder-run-gate-pending",className:"flex min-h-screen items-center justify-center bg-deepwind-surface px-6 dark:bg-deepwind-bg",children:i.jsx("p",{role:"status","aria-live":"polite",className:"text-sm text-deepwind-text-muted",children:"Setting up your run"})});if(s==="legacy"){const e=typeof window>"u"?"":window.location.search;return i.jsx(m,{to:`${x}${e}`,replace:!0})}return r?i.jsx(d,{...n,jobId:r.jobId,initialScreen:r.initialScreen,initialStepData:{...n.initialStepData,...r.stepData}}):i.jsx(d,{...n})}export{x as FOUNDER_RUN_LEGACY_DESTINATION,G as FounderRunFlowGate,G 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.