1import{aw as c,bH as h,by as e,Z as y,_ as g,f as d,K as l,g as s,b2 as j}from"./index-y28yOZmh.js";import{B as m}from"./badge-CqeKbgE-.js";import{S as b}from"./separator-DL7VqvUk.js";import{C as v}from"./company-logo-gIlJGz5H.js";import{P as N}from"./pro-feature-gate-miZ77sLd.js";import{S as p}from"./send-CYktdU3S.js";import{S as w}from"./shield-check-GsjQsiHQ.js";import"./analytics-DHjWvoTs.js";import"./external-link-D52W_z44.js";import"./zap-D6gqNXAa.js";const S=["Find verified email addresses for founders and recruiting leads","AI-crafted cold intros tailored to your background and each company","Send directly from your own email inbox with reply tracking","Organized outreach dashboard with status badges (Draft, Sent, Replied)","Access to recently funded startups feed and unlimited applications"],E=[{id:"preview-1",companyName:"Linear",contactEmail:"[email protected]",contactType:"role",verified:!0,subject:"Senior Full Stack Engineer â Passion for craft & fast UI",status:"replied",sentAt:Date.now()-2*864e5},{id:"preview-2",companyName:"Anthropic",contactEmail:"[email protected]",contactType:"role",verified:!0,subject:"Full Stack Systems Engineer â AI Tooling & Evaluation",status:"sent",sentAt:Date.now()-5*864e5},{id:"preview-3",companyName:"Stripe",contactEmail:"[email protected]",contactType:"role",verified:!0,subject:"Product Engineer â Developer Experience & Platform",status:"draft",sentAt:null},{id:"preview-4",companyName:"Perplexity",contactEmail:"[email protected]",contactType:"inferred",verified:!1,subject:"Frontend Engineer â Real-time Answer Engine UI",status:"sent",sentAt:Date.now()-8*864e5}],A={draft:{label:"Draft",variant:"secondary"},sent:{label:"Sent",variant:"default"},replied:{label:"Replied",variant:"success"},skipped:{label:"Skipped",variant:"secondary"}};function U(){const{items:r}=c.useLoaderData(),{user:u,subscription:a,plans:f}=c.useRouteContext(),n=h(a?.planId??null,"recruiter_outreach"),i=!n&&r.length===0?E:r;return e.jsx(N,{isPro:n,user:u,subscription:a,plans:f,featureTitle:"Recruiter & Founder Outreach",featureKey:"recruiter_outreach",featureTagline:`Your current plan is ${a?.planId?a.planId.toUpperCase():"STARTER"}. Upgrade to Pro to send direct, personalized cold emails to founders and talent teams.`,benefits:S,children:e.jsxs(y,{children:[e.jsx(g,{title:"Outreach",description:"Cold intros you've sent - tracked. Reach out from a funded startup or a job.",actions:e.jsx(d,{asChild:!0,children:e.jsxs(l,{to:"/app/startups",children:[e.jsx(p,{className:"size-4"})," Find companies"]})})}),e.jsxs(s,{className:"border-primary/20 bg-primary/5 mt-4 flex-row items-start gap-3 p-4",children:[e.jsx(w,{className:"text-primary mt-0.5 size-4 shrink-0"}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"Good cold outreach is one genuine, personalized message - not a blast. We draft it and you send it from your own inbox. Prefer role inboxes (careers@/talent@); treat guessed addresses as unverified, and always respect a no."})]}),i.length===0?e.jsxs(s,{className:"mt-4 items-center gap-3 border-dashed py-16 text-center",children:[e.jsx("span",{className:"bg-primary/10 text-primary grid size-14 place-items-center rounded-2xl",children:e.jsx(p,{className:"size-7"})}),e.jsx("p",{className:"font-medium",children:"No outreach yet"}),e.jsx("p",{className:"text-muted-foreground max-w-sm text-sm",children:"Open âFunded startupsâ, pick a company, and hit âReach outâ."}),e.jsx(d,{asChild:!0,children:e.jsx(l,{to:"/app/startups",children:"Browse funded startups"})})]}):e.jsx(s,{className:"mt-4",children:e.jsx("div",{className:"flex flex-col",children:i.map((t,x)=>{const o=A[t.status]??{label:t.status,variant:"secondary"};return e.jsxs("div",{children:[x>0&&e.jsx(b,{className:"my-1"}),e.jsxs("div",{className:"flex items-center gap-3 px-4 py-3",children:[e.jsx(v,{name:t.companyName,size:"sm"}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("p",{className:"truncate font-medium",children:[t.companyName," ",e.jsxs("span",{className:"text-muted-foreground",children:["· ",t.contactEmail]})]}),e.jsxs("p",{className:"text-muted-foreground truncate text-xs",children:[t.subject??"-",t.sentAt&&` · ${new Date(t.sentAt).toLocaleDateString()}`]})]}),!t.verified&&t.contactType==="inferred"&&e.jsx(m,{variant:"warning",className:j("shrink-0"),children:"unverified"}),e.jsx(m,{variant:o.variant,className:"shrink-0",children:o.label})]})]},t.id)})})})]})})}export{U as component};
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.