1import{ax as o,ay as m,aP as l,j as a,cw as u,cx as x,cy as d,B as h,L as j,c8 as g,Y as p,cN as f,S as N,cz as C,cP as y,K as B,O as L}from"./main-DngGJsB2.js";function b({orgSlug:s,candidateId:t}){const i=o(),{data:e,isLoading:r}=m({...i.candidate.getCandidateWithAttachments.queryOptions({id:t})}),n=r&&!e;if(!n&&!e)throw l();const c=e?.firstName&&e?.lastName?`${e.firstName} ${e.lastName}`:e?.email||"Unnamed Candidate";return a.jsx("div",{children:a.jsx(u,{children:a.jsxs(x,{className:"flex items-center gap-1.5 text-foreground",children:[a.jsx(d,{children:a.jsx(h,{variant:"ghost",size:"xs",className:"font-medium text-muted-foreground text-sm",asChild:!0,children:a.jsx(j,{to:"/o/$orgSlug/candidates",params:{orgSlug:s},children:a.jsx(g,{icon:a.jsx(p,{}),className:"pl-0",children:"Candidates"})})})}),a.jsx(f,{className:"font-light text-muted-foreground/40",children:"/"}),a.jsx(d,{children:a.jsx("div",{className:"flex items-center gap-2",children:n?a.jsx(N,{className:"h-5 w-32"}):e?a.jsx(C,{className:"px-1.5 py-0.5 font-medium",children:c}):null})})]})})})}function S(){const{orgSlug:s,candidateId:t}=y.useParams();return a.jsxs(a.Fragment,{children:[a.jsx(B,{children:a.jsx(b,{orgSlug:s,candidateId:t})}),a.jsx(L,{})]})}export{S 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.