1import{e as Z,aI as J,d as X,U as ee,f as re,bv as te,r as p,j as e,h,aM as P,o as ae,$ as T,L as N,E as se,bq as de,n as q,Z as K,be as ne}from"./index-sy1_3QS7.js";import{P as k}from"./PageHeader-CmmBonTW.js";import{a as w,c as oe}from"./useAssessments-D7akjgf5.js";import{b as C}from"./breadcrumbHelper-iVarpcvw.js";import{consolidateAssessment as le,getSurveyComparison as ie}from"./assessmentService-CqWiZtmS.js";import{G as b}from"./git-merge-DJ5IUTsX.js";import"./Breadcrumbs-qrbEhwT8.js";const _={all:["assessmentConsolidation"],comparison:r=>[..._.all,"comparison",r]};function ce(r){return Z({queryKey:_.comparison(r),queryFn:()=>ie(r),enabled:!!r,retry:(d,t)=>{var n;const o=(n=t==null?void 0:t.response)==null?void 0:n.status;return o===422||o===403||o===404?!1:d<2}})}function xe(){const r=J();return X({mutationFn:({assessmentId:d,request:t})=>le(d,t),onSuccess:(d,{assessmentId:t})=>{r.setQueryData(w.detail(d.id),d),r.invalidateQueries({queryKey:w.detail(t)}),r.invalidateQueries({queryKey:_.comparison(t)}),r.invalidateQueries({queryKey:w.lists()})}})}function be(r,d,t){if(d.length===0)return r;const o=d.reduce((n,s)=>n+s,0)/d.length;return t*r+(1-t)*o}function me(r,d){const t=[r,...d];return t.reduce((o,n)=>o+n,0)/t.length}function ue(r,d){const t=[r,...d].sort((n,s)=>n-s),o=Math.floor(t.length/2);return t.length%2!==0?t[o]:(t[o-1]+t[o])/2}function ge(r,d,t){switch(d){case"weighted_average":return be(r.expert_score,r.survey_scores,t);case"simple_average":return me(r.expert_score,r.survey_scores);case"median":return ue(r.expert_score,r.survey_scores)}}const Q=({score:r,maxScore:d=5,color:t,label:o})=>{const n=Math.round(r/d*100),s={blue:"bg-blue-500",green:"bg-green-500",purple:"bg-purple-500"};return e.jsx(e.Fragment,{children:e.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[e.jsx("span",{className:"text-xs text-brand-text-muted dark:text-brand-dark-text-muted w-20 shrink-0 text-right",children:o}),e.jsx("div",{className:"flex-1 bg-brand-bg-subtle dark:bg-brand-dark-bg-subtle rounded-full h-3 min-w-0",children:e.jsx("div",{className:`h-3 rounded-full transition-all ${s[t]}`,style:{width:`${n}%`}})}),e.jsx("span",{className:"text-xs font-medium text-brand-text-secondary dark:text-brand-dark-text-secondary w-8 shrink-0",children:r.toFixed(1)})]})})},pe=()=>e.jsxs("div",{className:"animate-pulse space-y-4",children:[e.jsx("div",{className:"h-8 bg-gray-200 dark:bg-gray-700 rounded w-1/3"}),e.jsx("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-1/2"}),e.jsx("div",{className:"space-y-3 mt-6",children:[1,2,3,4].map(r=>e.jsx("div",{className:"h-16 bg-gray-200 dark:bg-gray-700 rounded"},r))})]}),we=()=>{var F,B,R,L;const{assessmentId:r}=ee(),d=re(),{data:t,isLoading:o}=oe(r||null),{data:n}=te((t==null?void 0:t.organization_id)||null),{data:s,isLoading:A,error:y}=ce(r||null),g=xe(),[l,z]=p.useState("weighted_average"),[c,W]=p.useState(40),[D,O]=p.useState(""),$=t?`Consolidated: ${t.title}`:"",S=D||$,I=p.useMemo(()=>{if(!s)return[];const a=c/100;return s.dimensions.map(u=>({name:u.name,expert:u.expert_score,surveyAvg:u.survey_average,consolidated:ge(u,l,a)}))},[s,l,c]),U=o||A,V=async()=>{if(r)try{const a=await g.mutateAsync({assessmentId:r,request:{method:l,expert_weight:l==="weighted_average"?c/100:void 0,title:S||void 0}});d(`/assessments/${a.id}/report`)}catch(a){console.error("Consolidation failed:",a)}};if(U)return e.jsxs(e.Fragment,{children:[e.jsx("header",{className:"bg-white dark:bg-brand-dark-bg-card border-b border-gray-200 dark:border-brand-dark-border px-6 py-4",children:e.jsx(k,{title:"Compare & Consolidate",icon:e.jsx(b,{className:"w-8 h-8 text-brand-primary"}),subtitle:"Merge expert and survey scores",breadcrumbs:[]})}),e.jsx("main",{className:"flex-1 overflow-y-auto p-6",children:e.jsx("div",{className:"max-w-4xl mx-auto",children:e.jsx(pe,{})})})]});const v=(F=y==null?void 0:y.response)==null?void 0:F.status,G=v===422,M=v===403||v===404,x=(t==null?void 0:t.title)||"Assessment",j=(t==null?void 0:t.framework_name)||(s==null?void 0:s.framework_name)||"";if(G)return e.jsxs(e.Fragment,{children:[e.jsx("header",{className:"bg-white dark:bg-brand-dark-bg-card border-b border-gray-200 dark:border-brand-dark-border px-6 py-4",children:e.jsx(k,{title:`${x} â Compare & Consolidate`,icon:e.jsx(b,{className:"w-8 h-8 text-brand-primary"}),subtitle:j,breadcrumbs:n?[...C(n.id,n.name),{label:"Informal Assessments",href:"/assessments"}
1,{label:x,href:`/assessments/${r}`},{label:"Consolidate"}]:[],actions:e.jsxs("button",{onClick:()=>d(`/assessments/${r}/report`),className:"px-4 py-2 text-sm font-medium text-brand-text-secondary dark:text-brand-dark-text-secondary hover:bg-brand-bg-hover dark:hover:bg-brand-dark-bg-subtle rounded-lg flex items-center gap-2 transition-colors",children:[e.jsx(h,{className:"w-4 h-4"}),"Back to Report"]})})}),e.jsx("main",{className:"flex-1 overflow-y-auto p-6",children:e.jsx("div",{className:"max-w-4xl mx-auto",children:e.jsxs("div",{className:"bg-white dark:bg-brand-dark-bg-card rounded-lg border border-gray-200 dark:border-brand-dark-border p-12 text-center",children:[e.jsx(P,{className:"w-16 h-16 text-gray-400 dark:text-brand-dark-text-muted mx-auto mb-4"}),e.jsx("h2",{className:"text-xl font-semibold text-brand-text-primary dark:text-brand-dark-text-primary mb-2",children:"This assessment hasn't been sent as a survey yet"}),e.jsx("p",{className:"text-brand-text-muted dark:text-brand-dark-text-muted mb-6 max-w-md mx-auto",children:"To compare expert and stakeholder perspectives, first send this assessment as a survey to collect responses from your team."}),e.jsxs("button",{onClick:()=>d(`/assessments/${r}/report`),className:"px-6 py-3 bg-amber-700 dark:bg-ai-accent text-white dark:text-brand-dark-text-inverse rounded-lg hover:bg-amber-800 dark:hover:bg-ai-accent-hover transition-colors flex items-center gap-2 mx-auto",children:[e.jsx(h,{className:"w-5 h-5"}),"Return to Report to Send as Survey"]})]})})})]});if(M||!A&&!s&&!t)return e.jsx(e.Fragment,{children:e.jsxs("div",{className:"text-center",children:[e.jsx(ae,{className:"w-12 h-12 text-red-500 mx-auto mb-4"}),e.jsx("p",{className:"text-brand-text-muted dark:text-brand-dark-text-muted",children:M?"You do not have access to this assessment.":"Assessment not found."}),e.jsx("button",{onClick:()=>d("/assessments"),className:"mt-4 px-4 py-2 text-sm font-medium text-brand-primary hover:underline",children:"Back to Assessments"})]})});const m=(s==null?void 0:s.respondent_count)??0,Y=(s==null?void 0:s.can_consolidate)??!1,f=s==null?void 0:s.existing_consolidated_id;if(s&&m===0)return e.jsxs(e.Fragment,{children:[e.jsx("header",{className:"bg-white dark:bg-brand-dark-bg-card border-b border-gray-200 dark:border-brand-dark-border px-6 py-4",children:e.jsx(k,{title:`${x} â Compare & Consolidate`,icon:e.jsx(b,{className:"w-8 h-8 text-brand-primary"}),subtitle:j,breadcrumbs:n?[...C(n.id,n.name),{label:"Informal Assessments",href:"/assessments"},{label:x,href:`/assessments/${r}`},{label:"Consolidate"}]:[],actions:e.jsxs("button",{onClick:()=>d(`/assessments/${r}/report`),className:"px-4 py-2 text-sm font-medium text-brand-text-secondary dark:text-brand-dark-text-secondary hover:bg-brand-bg-hover dark:hover:bg-brand-dark-bg-subtle rounded-lg flex items-center gap-2 transition-colors",children:[e.jsx(h,{className:"w-4 h-4"}),"Back to Report"]})})}),e.jsx("main",{className:"flex-1 overflow-y-auto p-6",children:e.jsx("div",{className:"max-w-4xl mx-auto",children:e.jsxs("div",{className:"bg-white dark:bg-brand-dark-bg-card rounded-lg border border-gray-200 dark:border-brand-dark-border p-12 text-center",children:[e.jsx(T,{className:"w-16 h-16 text-amber-400 mx-auto mb-4"}),e.jsx("h2",{className:"text-xl font-semibold text-brand-text-primary dark:text-brand-dark-text-primary mb-2",children:"Survey is still collecting responses (0 so far)"}),e.jsx("p",{className:"text-brand-text-muted dark:text-brand-dark-text-muted mb-6 max-w-md mx-auto",children:"Share the survey access codes with respondents. Return here once responses arrive to compare and consolidate."}),e.jsxs("div",{className:"flex items-center justify-center gap-3",children:[e.jsxs(N,{to:`/polls/${s.poll_id}/results`,className:"px-5 py-2.5 text-sm font-medium text-white dark:text-brand-dark-text-inverse bg-amber-700 dark:bg-ai-accent rounded-lg hover:bg-amber-800 dark:hover:bg-ai-accent-hover transition-colors flex items-center gap-2",children:[e.jsx(se,{className:"w-4 h-4"}),"View Survey Results"]}),e.jsx("button",{onClick:()=>d(`/assessments/${r}/report`),className:"px-5 py-2.5 text-sm font-medium text-brand-text-secondary dark:text-brand-dark-text-secondary hover:bg-brand-bg-hover dark:hover:bg-brand-dark-bg-subtle border border-brand-border dark:border-brand-dark-border rounded-lg transition-colors",children:"Back to Report"})]})]})})})]});const i=!!f,E=(L=(R=(B=g.error)==null?void 0:B.response)==null?void 0:R.data)==null?void 0:L.detail;return e.jsxs(e.Fragment,{children:[e.jsx("header",{className:"bg-white dark:bg-brand-dark-bg-card border-b border-gray-200 dark:border-brand-dark-border px-6 py-4",children:e.jsx(k,{title:`${x} â Compare & Consolidate`,icon:e.jsx(b,{className:"w-8 h-8 text-brand-primary"}),subtitle:j,breadcrumbs:n?[...C(n.id,n.name),{label:"Informal Assessments",href:"/assessments"}
1,{label:x,href:`/assessments/${r}`},{label:"Consolidate"}]:[],actions:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(de,{variant:t!=null&&t.custom_rubric?"info":"default",size:"md",children:t!=null&&t.custom_rubric?"User-defined rubric":"System framework"}),s&&e.jsxs("span",{className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-blue-50 dark:bg-blue-900/30 text-blue-700 dark:text-blue-300 text-sm font-medium border border-blue-200 dark:border-blue-800",children:[e.jsx(T,{className:"w-3.5 h-3.5"}),m," ",m===1?"respondent":"respondents"]}),e.jsxs("button",{onClick:()=>d(`/assessments/${r}/report`),className:"px-4 py-2 text-sm font-medium text-brand-text-secondary dark:text-brand-dark-text-secondary hover:bg-brand-bg-hover dark:hover:bg-brand-dark-bg-subtle rounded-lg flex items-center gap-2 transition-colors",children:[e.jsx(h,{className:"w-4 h-4"}),"Back to Report"]})]})})}),e.jsx("main",{className:"flex-1 overflow-y-auto",children:e.jsxs("div",{className:"w-full px-6 py-6 space-y-6",children:[i&&e.jsxs("div",{className:"bg-green-50 dark:bg-green-900/20 border border-green-200 dark:border-green-800 rounded-lg p-4 flex items-start gap-3",children:[e.jsx(q,{className:"w-5 h-5 text-green-600 dark:text-green-400 shrink-0 mt-0.5"}),e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-green-800 dark:text-green-200",children:"A consolidated assessment already exists for this expert-survey pair."}),e.jsxs(N,{to:`/assessments/${f}/report`,className:"mt-1 inline-flex items-center gap-1 text-sm text-green-700 dark:text-green-300 hover:underline",children:["View Consolidated Assessment",e.jsx(K,{className:"w-3.5 h-3.5"})]})]})]}),s&&e.jsxs("div",{className:"bg-white dark:bg-brand-dark-bg-card rounded-lg border border-gray-200 dark:border-brand-dark-border p-6",children:[e.jsxs("h2",{className:"text-lg font-semibold text-brand-text-primary dark:text-brand-dark-text-primary mb-1 flex items-center gap-2",children:[e.jsx(P,{className:"w-5 h-5 text-brand-primary"}),"Expert vs. Survey Comparison"]}),e.jsxs("p",{className:"text-sm text-brand-text-muted dark:text-brand-dark-text-muted mb-5",children:["Blue bars show the expert score; green bars show the average across"," ",m," survey ",m===1?"respondent":"respondents",". Amber highlight indicates divergence >1 point."]}),e.jsx("div",{className:"space-y-4",children:s.dimensions.map(a=>e.jsxs("div",{className:`rounded-lg p-4 ${a.divergence_flag?"bg-amber-50 dark:bg-amber-900/20 border border-amber-200 dark:border-amber-800":"bg-gray-50 dark:bg-brand-dark-bg-subtle border border-transparent"}`,title:a.divergence_flag?"Expert and survey respondents disagree by more than 1 point on this dimension":void 0,children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("span",{className:"text-sm font-medium text-brand-text-primary dark:text-brand-dark-text-primary",children:a.name}),a.divergence_flag&&e.jsx("span",{className:"text-xs px-2 py-0.5 rounded-full bg-amber-100 dark:bg-amber-800/40 text-amber-800 dark:text-amber-200 border border-amber-300 dark:border-amber-700",children:"Divergent"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(Q,{score:a.expert_score,color:"blue",label:"Expert"}),e.jsx(Q,{score:a.survey_average,color:"green",label:"Survey avg"})]}),a.divergence_flag&&e.jsxs("p",{className:"mt-2 text-xs text-amber-700 dark:text-amber-300",children:["Divergence: ",a.divergence.toFixed(1)," points â review before consolidating."]})]},a.name))}),e.jsx("div",{className:"mt-5 pt-4 border-t border-gray-200 dark:border-brand-dark-border",children:e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl font-bold text-blue-600 dark:text-blue-400",children:s.overall_expert_score.toFixed(1)}),e.jsx("div",{className:"text-xs text-brand-text-muted dark:text-brand-dark-text-muted mt-0.5",children:"Overall Expert"})]}),e.jsx("div",{className:"text-gray-300 dark:text-brand-dark-text-muted text-lg font-light",children:"vs."}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-2xl font-bold text-green-600 dark:text-green-400",children:s.overall_survey_average.toFixed(1)}),e.jsx("div",{className:"text-xs text-brand-text-muted dark:text-brand-dark-text-muted mt-0.5",children:"Overall Survey Avg"})]})]})})]}),s&&e.jsxs("div",{className:"bg-white dark:bg-brand-dark-bg-card rounded-lg border border-gray-200 dark:border-brand-dark-border p-6",children:[e.jsxs("h2",{className:"text-lg font-semibold text-brand-text-primary dark:text-brand-dark-text-primary mb-4 flex items-center gap-2",children:[e.jsx(b,{className:"w-5 h-5 text-brand-primary"}),"Merge Method"]}),e.jsx("div",{className:"space-y-3 mb-6",children:[{value:"weighted_average",label:"Weighted Average",description:"Expert gets a configurable weight; survey respondents share the rest. Recommended when expert calibration matters."},{value:"simple_average",label:"Simple Average",description:"Expert and each respondent count equally. Best for peer assessments."},{value:"median",label:"Median",description:"Middle value across expert and respondents. Reduces impact of outliers."}].map(a=>e.jsxs("label",{className:`flex items-start gap-3 p-4 rounded-lg border cursor-pointer transition-colors ${l===a.value?"border-brand-primary bg-brand-primary/5 dark:bg-brand-primary/10":"border-gray-200 dark:border-brand-dark-border hover:border-gray-300 dark:hover:border-gray-500"} ${i?"opacity-50 cursor-not-allowed":""}`,children:[e.jsx("input",{type:"radio",name:"merge-method",value:a.value,checked:l===a.value,onChange:()=>z(a.value),disabled:i,className:"mt-0.5 shrink-0 accent-brand-primary"}),e.jsxs("div",{children:[e.jsx("div",{className:"text-sm font-medium text-brand-text-primary dark:text-brand-dark-text-primary",children:a.label}),e.jsx("div",{className:"text-xs text-brand-text-muted dark:text-brand-dark-text-muted mt-0.5",children:a.description})]})]},a.value))}),l==="weighted_average"&&e.jsxs("div",{className:`mb-6 p-4 bg-gray-50 dark:bg-brand-dark-bg-subtle rounded-lg border border-gray-200 dark:border-brand-dark-border ${i?"opacity-50":""}`,children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("label",{className:"text-sm font-medium text-brand-text-secondary dark:text-brand-dark-text-secondary",children:"Expert Weight"}),e.jsxs("span",{className:"text-sm font-semibold text-brand-primary",children:["Expert: ",c,"% | Survey: ",100-c,"%"]})]}),e.jsx("input",{type:"range",min:10,max:90,step:5,value:c,onChange:a=>W(Number(a.target.value)),disabled:i,className:"w-full accent-brand-primary"}),e.jsxs("div",{className:"flex justify-between text-xs text-gray-400 dark:text-brand-dark-text-muted mt-1",children:[e.jsx("span",{children:"10% Expert"}),e.jsx("span",{children:"90% Expert"})]})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-semibold text-brand-text-secondary dark:text-brand-dark-text-secondary mb-3",children:"Live Preview"}),e.jsx("div",{className:"rounded-lg border border-gray-200 dark:border-brand-dark-border overflow-hidden",children:e.jsxs("table",{className:"min-w-full text-sm",children:[e.jsx("thead",{className:"bg-gray-50 dark:bg-brand-dark-bg-subtle border-b border-gray-200 dark:border-brand-dark-border",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-4 py-2 text-left text-xs font-medium text-brand-text-muted dark:text-brand-dark-text-muted uppercase tracking-wider",children:"Dimension"}),e.jsx("th",{className:"px-4 py-2 text-center text-xs font-medium text-blue-600 dar
1k:text-blue-400 uppercase tracking-wider",children:"Expert"}),e.jsx("th",{className:"px-4 py-2 text-center text-xs font-medium text-green-600 dark:text-green-400 uppercase tracking-wider",children:"Survey Avg"}),e.jsx("th",{className:"px-4 py-2 text-center text-xs font-medium text-purple-600 dark:text-purple-400 uppercase tracking-wider",children:"Consolidated"})]})}),e.jsx("tbody",{className:"bg-white dark:bg-brand-dark-bg-card divide-y divide-brand-border-subtle dark:divide-brand-dark-border",children:I.map(a=>{const H=Math.abs(a.consolidated-a.expert)>.5;return e.jsxs("tr",{children:[e.jsx("td",{className:"px-4 py-2 text-brand-text-primary dark:text-brand-dark-text-primary font-medium text-xs",children:a.name}),e.jsx("td",{className:"px-4 py-2 text-center text-blue-600 dark:text-blue-400 font-medium",children:a.expert.toFixed(1)}),e.jsx("td",{className:"px-4 py-2 text-center text-green-600 dark:text-green-400 font-medium",children:a.surveyAvg.toFixed(1)}),e.jsx("td",{className:`px-4 py-2 text-center font-semibold ${H?"text-purple-700 dark:text-purple-300 bg-purple-50 dark:bg-purple-900/20":"text-purple-600 dark:text-purple-400"}`,children:a.consolidated.toFixed(1)})]},a.name)})})]})}),e.jsx("p",{className:"text-xs text-gray-400 dark:text-brand-dark-text-muted mt-2",children:"Purple cells with stronger shading indicate the consolidated score differs from the expert score by more than 0.5 points."})]})]}),s&&!i&&Y&&e.jsxs("div",{className:"bg-white dark:bg-brand-dark-bg-card rounded-lg border border-gray-200 dark:border-brand-dark-border p-6",children:[e.jsxs("h2",{className:"text-lg font-semibold text-brand-text-primary dark:text-brand-dark-text-primary mb-4 flex items-center gap-2",children:[e.jsx(q,{className:"w-5 h-5 text-brand-primary"}),"Create Consolidated Assessment"]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("label",{htmlFor:"consolidation-title",className:"block text-sm font-medium text-brand-text-secondary dark:text-brand-dark-text-secondary mb-1",children:"Assessment Title"}),e.jsx("input",{id:"consolidation-title",type:"text",value:S,onChange:a=>O(a.target.value),maxLength:200,placeholder:$,className:"w-full px-3 py-2 border border-gray-300 dark:border-brand-dark-border rounded-lg text-sm bg-white dark:bg-brand-dark-input text-brand-text-primary dark:text-brand-dark-text-primary focus:outline-none focus:ring-2 focus:ring-focus"}),e.jsx("p",{className:"text-xs text-gray-400 dark:text-brand-dark-text-muted mt-1",children:"The consolidated assessment will be a new record in your assessment list."})]}),E&&e.jsx("div",{className:"mb-4 p-3 bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg text-sm text-red-700 dark:text-red-300",children:E}),e.jsxs(ne,{variant:"primary",onClick:V,isLoading:g.isPending,disabled:g.isPending,children:[e.jsx(b,{className:"w-4 h-4 mr-2"}),"Create Consolidated Assessment"]})]}),i&&e.jsxs("div",{className:"bg-white dark:bg-brand-dark-bg-card rounded-lg border border-gray-200 dark:border-brand-dark-border p-6 text-center",children:[e.jsx("p",{className:"text-sm text-brand-text-muted dark:text-brand-dark-text-muted mb-3",children:"This expert assessment has already been consolidated. You can view the result or return to the assessment report."}),e.jsxs("div",{className:"flex items-center justify-center gap-3",children:[e.jsxs(N,{to:`/assessments/${f}/report`,className:"px-5 py-2.5 text-sm font-medium text-white dark:text-brand-dark-text-inverse bg-amber-700 dark:bg-ai-accent rounded-lg hover:bg-amber-800 dark:hover:bg-ai-accent-hover transition-colors flex items-center gap-2",children:["View Consolidated Assessment",e.jsx(K,{className:"w-4 h-4"})]}),e.jsx("button",{onClick:()=>d(`/assessments/${r}/report`),className:"px-5 py-2.5 text-sm font-medium text-brand-text-secondary dark:text-brand-dark-text-secondary hover:bg-brand-bg-hover dark:hover:bg-brand-dark-bg-subtle border border-brand-border dark:border-brand-dark-border rounded-lg transition-colors",children:"Back to Report"})]})]})]})})]})};export{we 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.