1import{f as X,r as B,j as e,L as D}from"./vendor-router-CFmQt7zv.js";import{J as Y,u as Z,n as w,B as c,m as n,i as ee,x as se,y as te,E as ae,z as le,F as M,aV as ne,b2 as L,D as re,q as ie,r as de,s as ce,t as oe,v as me,aI as xe,b5 as ue}from"./index-B1j2AiI_.js";import{T as pe,a as he,c as y,b as be}from"./tabs-DN4VTalt.js";import{b as ge,e as fe,g as je,h as Ne,i as ve}from"./use-outreach-BaZml-mi.js";import{S as we}from"./square-pen-Ceh2bcm0.js";import{P as ye}from"./play-DjJcfs3Q.js";import{M as U}from"./mail-open-D1nANFLM.js";import{S as ke}from"./send-NuWMgRx3.js";import{U as O}from"./user-minus-DTZyUZq2.js";import{C as Ce}from"./clock-Dtb363qw.js";import{R as H}from"./reply-CvKFPU9V.js";import{R as W}from"./refresh-cw-BYxnv9Ai.js";import{T as A}from"./triangle-alert-Dp0a_dz1.js";import{P as Se}from"./pencil-ClzVzHQ3.js";import{f as P}from"./formatDistanceToNow-DBb-slA0.js";import"./vendor-react-qkC6yhPU.js";import"./vendor-query-BSKXI886.js";import"./vendor-shiki-BYpP0sHd.js";import"./vendor-radix-BXY4_wtq.js";import"./en-US-B8tgjrRv.js";import"./endOfMonth-Bq1jtKGm.js";const De=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],ze=Y("pause",De),G="focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#3D83F6]",x="whitespace-nowrap px-3 py-2 text-left text-[11px] font-medium text-muted-foreground",u="px-3 py-2.5 align-middle",g="rounded-xl border bg-card shadow-[0_1px_4px_rgba(15,23,42,0.03)]",Te="h-9 rounded-lg bg-[#3D83F6] px-4 text-sm font-medium text-white shadow-none hover:bg-[#2f70d7]",f="h-9 rounded-lg bg-card px-3 text-sm shadow-none",I={active:{label:"Active",className:"bg-emerald-50 text-emerald-800 dark:bg-emerald-950 dark:text-emerald-300",dot:"bg-emerald-500"},paused:{label:"Paused",className:"bg-amber-50 text-amber-800 dark:bg-amber-950 dark:text-amber-300",dot:"bg-amber-500"},completed:{label:"Completed",className:"bg-[#eef4ff] text-[#245da8] dark:bg-blue-950 dark:text-blue-200",dot:"bg-[#3D83F6]"},draft:{label:"Draft",className:"bg-muted text-muted-foreground",dot:"bg-slate-400"}},F={active:{label:"In progress",chip:"In progress",className:"bg-[#eef4ff] text-[#245da8] dark:bg-blue-950 dark:text-blue-200"},replied:{label:"Replied",chip:"Replied",className:"bg-emerald-50 text-emerald-800 dark:bg-emerald-950 dark:text-emerald-300"},failed:{label:"Failed",chip:"Failed",className:"bg-red-50 text-red-700 dark:bg-red-950 dark:text-red-300"},bounced:{label:"Bounced",chip:"Bounced",className:"bg-amber-50 text-amber-800 dark:bg-amber-950 dark:text-amber-300"},unsubscribed:{label:"Unsubscribed",chip:"Unsubscribed",className:"bg-muted text-muted-foreground"},canceled:{label:"Canceled",chip:"Canceled",className:"bg-muted text-muted-foreground"},completed:{label:"Completed",chip:"Completed",className:"bg-muted text-foreground"}},Re=["active","replied","failed","bounced","unsubscribed","canceled","completed"];function Fe(l){return l.split(/\s+/).filter(Boolean).slice(0,2).map(r=>r[0]).join("").toUpperCase()||"?"}function Ae(l){return l.replace(/<br\s*\/?>/gi," ").replace(/<[^>]+>/g," ").replace(/ /g," ").replace(/\s+/g," ").trim()}function as(){const{currentWorkspace:l}=Z(),r=l?.slug||"",a=X({strict:!1}),{data:t,isLoading:d}=ge(a.id),o=fe(),$=je(),h=Ne(),z=ve(),[N,E]=B.useState("all"),[j,v]=B.useState(null),T=s=>e.jsx("main",{className:"-m-5 min-h-[calc(100dvh-3.5rem)] bg-[#fafafa] p-5 text-foreground sm:-m-8 sm:p-8 dark:bg-slate-950",children:e.jsx("div",{className:"max-w-[1180px]",children:s})});if(d)return T(e.jsxs("div",{className:"space-y-4",role:"status","aria-label":"Loading campaign",children:[e.jsx(w,{className:"h-4 w-28"}),e.jsx(w,{className:"h-8 w-72"}),e.jsx("div",{className:"grid grid-cols-3 gap-3 lg:grid-cols-6",children:Array.from({length:6}).map((s,m)=>e.jsx(w,{className:"h-16 rounded-xl"},m))}),e.jsx(w,{className:"h-64 rounded-xl"})]}));if(!t)return T(e.jsxs("div",{className:"rounded-xl border border-dashed bg-card px-6 py-14 text-center",children:[e.jsx("h1",{className:"text-sm font-semibold",children:"Campaign not found"}),e.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:"It may have been deleted, or it belongs to another workspace."}),e.jsx(c,{variant:"outline",asChild:!0,className:n(f,"mt-5"),children:e.jsx(D,{to:"/$slug/outreach",params:{slug:r},children:"Back to campaigns"})})]}));const i=t.metrics,V=t.enrollments.filter(s=>s.status==="active").length,R=I[t.status]??I.draft,p=t.enrollments.filter(s=>s.status==="failed"),q=s=>t.enrollments.filter(m=>m.status===s).length,J=Re.filter(s=>q(s)>0),K=N==="all"?t.enrollments:t.enrollments.filter(s=>s.status===N),Q=[t.description,t.mailbox&&`From ${t.mailbox}`,`${t.steps.length}
1-step sequence`].filter(Boolean).join(" · ");return T(e.jsxs(e.Fragment,{children:[e.jsxs(D,{to:"/$slug/outreach",params:{slug:r},className:n("inline-flex items-center gap-1 rounded-sm text-xs font-medium text-[#2563c7] hover:text-[#1f4fbf]",G),children:[e.jsx(ee,{className:"size-3.5"}),"Email Outreach"]}),e.jsxs("header",{className:"mt-2 flex flex-wrap items-start justify-between gap-4",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2.5",children:[e.jsx("h1",{className:"min-w-0 truncate text-[26px] font-semibold tracking-[-0.035em] sm:text-[30px]",children:t.name}),e.jsxs("span",{className:n("inline-flex items-center gap-1.5 whitespace-nowrap rounded-md px-2 py-1 text-[11px] font-medium",R.className),children:[e.jsx("span",{className:n("size-1.5 rounded-full",R.dot),"aria-hidden":"true"}),R.label]})]}),e.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:Q})]}),e.jsxs("div",{className:"flex shrink-0 gap-2",children:[t.status!=="completed"&&e.jsx(c,{variant:"outline",asChild:!0,className:f,children:e.jsxs(D,{to:"/$slug/outreach/$id/edit",params:{slug:r,id:t.id},children:[e.jsx(we,{className:"mr-1.5 size-4"}),"Edit sequence"]})}),(t.status==="draft"||t.status==="paused")&&e.jsxs(c,{className:Te,disabled:o.isPending,onClick:()=>o.mutate(t.id),children:[e.jsx(ye,{className:"mr-1.5 size-4"}),t.status==="draft"?"Activate":"Resume"]}),t.status==="active"&&e.jsxs(c,{variant:"outline",className:f,disabled:$.isPending,onClick:()=>$.mutate(t.id),children:[e.jsx(ze,{className:"mr-1.5 size-4"}),"Pause"]})]})]}),e.jsxs("div",{className:"mt-7 grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-6",children:[e.jsx(b,{label:"Sent",value:i.sent,sub:`of ${i.total}`}),e.jsx(b,{label:"Opened",value:i.opened,sub:i.sent>0?`${i.openRate}%`:void 0}),e.jsx(b,{label:"Replied",value:i.replied,sub:i.sent>0?`${i.replyRate}%`:void 0,tone:i.replied>0?"text-emerald-600 dark:text-emerald-400":void 0}),e.jsx(b,{label:"In sequence",value:V}),e.jsx(b,{label:"Failed",value:i.failed,tone:i.failed>0?"text-red-600 dark:text-red-400":void 0}),e.jsx(b,{label:"Bounced",value:i.bounced,tone:i.bounced>0?"text-amber-600 dark:text-amber-400":void 0})]}),e.jsx("div",{className:n(g,"mt-3 px-4 py-3"),children:e.jsx(Pe,{sent:i.sent,opened:i.opened,replied:i.replied,notSent:Math.max(i.total-i.sent,0)})}),e.jsxs(pe,{defaultValue:"candidates",className:"mt-6",children:[e.jsxs(he,{className:"h-auto gap-1 rounded-lg bg-[#f1f0ed] p-1 dark:bg-stone-800",children:[e.jsx(k,{value:"candidates",label:"Candidates",count:t.enrollments.length}),e.jsx(k,{value:"sequence",label:"Sequence",count:t.steps.length}),e.jsx(k,{value:"failed",label:"Failed",count:p.length,alert:p.length>0}),e.jsx(k,{value:"activity",label:"Activity"})]}),e.jsxs(y,{value:"candidates",className:"mt-4",children:[t.enrollments.length>0&&e.jsxs("div",{className:"mb-3 flex flex-wrap items-center gap-1.5",children:[e.jsx(_,{active:N==="all",onClick:()=>E("all"),label:"All",count:t.enrollments.length}),J.map(s=>e.jsx(_,{active:N===s,onClick:()=>E(s),label:F[s].chip,count:q(s)},s))]}),t.enrollments.length===0?e.jsx(S,{text:"No candidates in this campaign yet."}):e.jsx("div",{className:n(g,"overflow-hidden"),children:e.jsx("div",{className:"relative overflow-x-auto",children:e.jsxs("table",{className:"w-full min-w-[900px] table-fixed border-collapse",children:[e.jsxs("colgroup",{children:[e.jsx("col",{}),e.jsx("col",{className:"w-[26%]"}),e.jsx("col",{className:"w-[120px]"}),e.jsx("col",{className:"w-[64px]"}),e.jsx("col",{className:"w-[64px]"}),e.jsx("col",{className:"w-[120px]"}),e.jsx("col",{className:"w-[120px]"}),e.jsx("col",{className:"w-[52px]"})]}),e.jsx("thead",{className:"bg-[#fafaf9] dark:bg-stone-900",children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",className:x,children:"Candidate"}),e.jsx("th",{scope:"col",className:x,children:"Role · Company"}),e.jsx("th",{scope:"col",className:x,children:"Status"}),e.jsx("th",{scope:"col",className:n(x,"text-center"),children:"Step"}),e.jsx("th",{scope:"col",className:n(x,"text-center"),children:"Opened"}),e.jsx("th",{scope:"col",className:x,children:"Last sent"}),e.jsx("th",{scope:"col",className:x,children:"Next"}),e.jsx("th",{scope:"col",className:x,children:e.jsx("span",{className:"sr-only",children:"Actions"})})]})}),e.jsx("tbody",{children:K.map(s=>e.jsxs("tr",{className:"border-t transition-colors hover:bg-[#fafaf9] dark:hover:bg-stone-900/60",children:[e.jsx("td",{className:u,children:e.jsxs("div",{className:"flex min-w-0 items-center gap-2.5",children:[e.jsx("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-[#eef4ff] text-[11px] font-semibold text-[#356ec3] dark:bg-blue-950 dar
1k:text-blue-300","aria-hidden":"true",children:Fe(s.name)}),e.jsxs("div",{className:"min-w-0",children:[e.jsxs("div",{className:"flex min-w-0 items-center gap-1.5",children:[e.jsx("span",{className:"truncate text-[13px] font-semibold capitalize",children:s.name}),s.status==="active"&&s.currentStep===0&&e.jsx("span",{className:"shrink-0 rounded bg-[#eef4ff] px-1 py-0.5 text-[9px] font-semibold uppercase tracking-wide text-[#2563c7] dark:bg-blue-950 dark:text-blue-300",children:"New"})]}),s.email&&e.jsx("p",{className:"truncate text-xs text-muted-foreground",children:s.email})]})]})}),e.jsx("td",{className:n(u,"truncate text-xs text-muted-foreground"),children:[s.title,s.company].filter(Boolean).join(" · ")||"Not listed"}),e.jsx("td",{className:u,children:e.jsx("span",{className:n("inline-flex whitespace-nowrap rounded-md px-2 py-1 text-[11px] font-medium",F[s.status].className),children:F[s.status].label})}),e.jsxs("td",{className:n(u,"text-center text-xs tabular-nums text-muted-foreground"),children:[s.currentStep,"/",s.totalSteps]}),e.jsx("td",{className:n(u,"text-center"),children:s.opened?e.jsx(U,{className:"mx-auto size-4 text-sky-500","aria-label":"Opened"}):e.jsx("span",{className:"text-xs text-muted-foreground","aria-label":"Not opened",children:"-"})}),e.jsx("td",{className:n(u,"whitespace-nowrap text-xs text-muted-foreground"),children:P(new Date(s.lastActivity),{addSuffix:!0})}),e.jsx("td",{className:n(u,"whitespace-nowrap text-xs text-muted-foreground"),children:s.status==="active"?s.nextStepAt?P(new Date(s.nextStepAt),{addSuffix:!0}):"Awaiting review":"-"}),e.jsx("td",{className:n(u,"text-right"),children:(s.status==="active"||s.status==="failed")&&e.jsxs(se,{children:[e.jsx(te,{asChild:!0,children:e.jsx(c,{variant:"ghost",size:"icon",className:"size-8 rounded-lg text-muted-foreground","aria-label":`Actions for ${s.name}`,children:e.jsx(ae,{className:"size-4"})})}),e.jsxs(le,{align:"end",className:"w-52",children:[s.status==="active"&&e.jsxs(e.Fragment,{children:[e.jsxs(M,{disabled:h.isPending,onClick:()=>h.mutate(s.id),children:[e.jsx(ke,{className:"mr-2 size-3.5"}),"Send next step now"]}),e.jsx(ne,{})]}),e.jsxs(M,{className:"text-red-600 focus:text-red-600",onClick:()=>v(s),children:[e.jsx(O,{className:"mr-2 size-3.5"}),"Cancel sequence"]})]})]})})]},s.id))})]})})})]}),e.jsx(y,{value:"sequence",className:"mt-4",children:t.steps.length===0?e.jsx(S,{text:"This campaign has no steps yet."}):e.jsx("ol",{className:"max-w-2xl",children:t.steps.map((s,m)=>e.jsxs("li",{children:[m>0&&e.jsxs("div",{className:"flex items-center gap-2 py-2 pl-5 text-xs text-muted-foreground",children:[e.jsx("span",{className:"h-4 w-px bg-border","aria-hidden":"true"}),e.jsx(Ce,{className:"size-3","aria-hidden":"true"}),"Wait ",s.delayDays," business ",s.delayDays===1?"day":"days"]}),e.jsxs("div",{className:n(g,"p-4"),children:[e.jsxs("div",{className:"mb-2 flex items-center gap-2",children:[e.jsx("span",{className:"flex size-6 items-center justify-center rounded-md bg-[#eef4ff] text-[#3D83F6] dark:bg-blue-950",children:m===0?e.jsx(L,{className:"size-3.5"}):e.jsx(H,{className:"size-3.5"})}),e.jsx("span",{className:"text-xs font-medium text-muted-foreground",children:m===0?"Opening email":`Follow-up ${m}`})]}),e.jsx("p",{className:"text-sm font-semibold",children:s.subject||e.jsx("span",{className:"font-normal text-muted-foreground",children:"Same thread (Re: opening email)"})}),e.jsx("p",{className:"mt-1 line-clamp-2 text-sm leading-6 text-muted-foreground",children:Ae(s.bodyHtml)})]})]},s.id))})}),e.jsx(y,{value:"failed",className:"mt-4",children:p.length===0?e.jsx(S,{text:"No failed emails."}):e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[e.jsxs("p",{className:"text-sm text-muted-foreground",children:[p.length," ",p.length===1?"email":"emails"," failed to send."]}),e.jsxs(c,{variant:"outline",className:f,disabled:h.isPending,onClick:()=>p.filter(s=>s.retryable).forEach(s=>h.mutate(s.id)),children:[e.jsx(W,{className:"mr-1.5 size-4"}),"Retry all eligible"]})]}),e.jsx("div",{className:n(g,"divide-y"),children:p.map(s=>
1e.jsx(Ee,{enrollment:s,slug:r,campaignId:t.id,onRetry:()=>h.mutate(s.id),retrying:h.isPending},s.id))})]})}),e.jsx(y,{value:"activity",className:"mt-4",children:t.enrollments.length===0?e.jsx(S,{text:"No activity yet."}):e.jsx($e,{enrollments:t.enrollments})})]}),e.jsx(re,{open:!!j,onOpenChange:s=>!s&&v(null),children:e.jsxs(ie,{className:"sm:max-w-md",children:[e.jsxs(de,{children:[e.jsx(ce,{children:"Cancel sequence?"}),e.jsx(oe,{children:j&&e.jsxs(e.Fragment,{children:["No further emails will be sent to ",e.jsx("span",{className:"font-medium text-foreground",children:j.name}),". Emails already sent stay in the thread. This can't be undone."]})})]}),e.jsxs(me,{children:[e.jsx(c,{variant:"outline",onClick:()=>v(null),disabled:z.isPending,children:"Keep sequence"}),e.jsxs(c,{variant:"destructive",disabled:z.isPending,onClick:()=>{j&&z.mutate(j.id,{onSuccess:()=>v(null)})},children:[e.jsx(O,{className:"mr-1.5 size-4"}),"Cancel sequence"]})]})]})})]}))}function k({value:l,label:r,count:a,alert:t=!1}){return e.jsxs(be,{value:l,className:"h-8 gap-2 rounded-md px-3 text-xs font-medium text-muted-foreground shadow-none data-[state=active]:bg-card data-[state=active]:text-foreground data-[state=active]:shadow-[0_1px_3px_rgba(15,23,42,0.08)]",children:[r,a!==void 0&&a>0&&e.jsx("span",{className:n("min-w-5 rounded px-1 text-[11px] tabular-nums",t?"bg-red-50 text-red-700 dark:bg-red-950 dark:text-red-300":"bg-[#eef4ff] text-[#2563c7] dark:bg-blue-950 dark:text-blue-300"),children:a})]})}function b({label:l,value:r,sub:a,tone:t}){return e.jsxs("div",{className:n(g,"border-transparent px-3.5 py-2.5"),children:[e.jsx("p",{className:"truncate text-xs text-muted-foreground",children:l}),e.jsxs("p",{className:"mt-0.5 flex items-baseline gap-1.5",children:[e.jsx("span",{className:n("text-xl font-semibold tabular-nums tracking-[-0.02em]",t),children:r}),a&&e.jsx("span",{className:"text-xs tabular-nums text-muted-foreground",children:a})]})]})}function Pe({sent:l,opened:r,replied:a,notSent:t}){return l===0?e.jsx("div",{className:"flex h-7 items-center justify-center rounded-md bg-slate-100 text-xs text-muted-foreground dark:bg-slate-800",children:"Nothing sent yet"}):e.jsxs("div",{className:"flex items-end gap-1",children:[e.jsx(C,{label:"Sent",n:l,boxClass:"bg-slate-200 text-slate-700 dark:bg-slate-700 dark:text-slate-100"}),e.jsx(C,{label:"Opened",n:r,boxClass:"bg-sky-500 text-white"}),e.jsx(C,{label:"Replied",n:a,boxClass:"bg-emerald-500 text-white"}),t>0&&e.jsx(C,{label:"Not sent yet",n:t,boxClass:"bg-slate-100 text-muted-foreground dark:bg-slate-800"})]})}function C({label:l,n:r,boxClass:a}){return e.jsxs("div",{style:{flexGrow:Math.max(r,.4),flexBasis:0},className:"min-w-12",children:[e.jsx("div",{className:"mb-1 truncate text-center text-[9px] font-semibold uppercase tracking-wide text-muted-foreground",children:l}),e.jsx("div",{className:n("flex h-7 items-center justify-center rounded-md text-sm font-semibold tabular-nums",a),children:r})]})}function _({active:l,onClick:r,label:a,count:t}){return e.jsxs("button",{type:"button","aria-pressed":l,onClick:r,className:n("inline-flex h-7 items-center gap-1.5 rounded-md border px-2.5 text-xs font-medium transition-colors",l?"border-[#bdd4f8] bg-[#eef4ff] text-[#2563c7] dark:border-blue-900 dark:bg-blue-950 dark:text-blue-300":"border-transparent text-muted-foreground hover:bg-card hover:text-foreground",G),children:[a,e.jsx("span",{className:"tabular-nums opacity-70",children:t})]})}function $e({enrollments:l}){const r=[...l].sort((a,t)=>new Date(t.lastActivity).getTime()-new Date(a.lastActivity).getTime()).map(a=>{let t,d=xe,o="text-muted-foreground";switch(a.status){case"replied":t=`${a.name} replied to your email`,d=H,o="text-emerald-600";break;case"bounced":t=`Email to ${a.name} bounced`,d=A,o="text-amber-600";break;case"unsubscribed":t=`${a.name} unsubscribed`,d=ue;break;case"failed":t=`Sending to ${a.name} failed`,d=A,o="text-red-600";break;default:a.opened?(t=`${a.name} opened your email`,d=U,o="text-sky-500"):a.currentStep===0?(t=`${a.name} was added to the sequence`,d=L,o="text-[#3D83F6]"):t=`Email sent to ${a.name}`}return{id:a.id,text:t,Icon:d,tone:o,time:a.lastActivity}});return e.jsx("ul",{className:n(g,"divide-y"),children:r.map(a=>e.jsxs("li",{className:"flex items-center gap-3 px-4 py-2.5",children:[e.jsx(a.Icon,{className:n("size-4 shrink-0",a.tone),"aria-hidden":"true"}),e.jsx("span",{className:"min-w-0 flex-1 truncate text-sm",children:a.text}),e.jsx("span",{className:"shrink-0 text-xs text-muted-foreground",children:P(new Date(a.time),{addSuffix:!0})})]},a.id))})}function Ee({enrollment:l,slug:r,campaignId:a,onRetry:t,retrying:d}){return e.jsxs("div",{className:"flex items-center gap-3 px-4 py-3",children:[e.jsx("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-red-50 text-red-600 dark:bg-red-950",children:e.jsx(A,{className:"size-4"})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"truncate text-[13px] font-semibold capitalize",children:l.name}),l.errorType&&e.jsx("span",{className:"shrink-0 rounded bg-muted px-1.5 py-0.5 text-[10px] font-medium uppercase tracking-wide text-muted-foreground",children:l.errorType})]}),e.jsx("p",{className:"text-xs text-red-600 dark:text-red-400",children:l.errorReason})]}),l.retryable?e.jsxs(c,{variant:"outline",className:n(f,"shrink-0"),disabled:d,onClick:t,children:[e.jsx(W,{className:"mr-1.5 size-4"}),"Retry"]}):e.jsx(c,{variant:"outline",className:n(f,"shrink-0"),asChild:!0,children:e.jsxs(D,{to:"/$slug/outreach/$id/edit",params:{slug:r,id:a},children:[e.jsx(Se,{className:"mr-1.5 size-4"}),"Edit & retry"]})})]})}function S({text:l}){return e.jsx("div",{className:"rounded-xl border border-dashed bg-card px-6 py-12 text-center",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:l})})}export{as 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.