1import{r as R,j as h}from"./index-B8s1t9mF.js";import{an as v,e as w,f as E,A as b}from"./Sidebar-L2t4LkD5.js";import"./Button-3LVxfEaG.js";import"./useSettingsQuery-DT00IV6e.js";import"./OmniaIcon-CIQShHLx.js";import"./LogoutIcon-CXF9B4F-.js";import"./MessageSquareIcon-QLpXG9Kb.js";function L({analysisId:n,isFullscreen:o=!1,onToggleFullscreen:r}){const[l,p]=R.useState("overview"),{openedResources:a,setOpenedResources:f,setCurrentFile:c,setIsEditorOpen:m}=v(),{analysis:e,isLoading:y,error:s}=w(n),{children:d}=E(n||"",e==null?void 0:e.status),A=s instanceof Error?s.message:typeof s=="string"?s:null,C=(i,x)=>{const u=a.find(t=>t.id===i);if(u)c(u);else{const t={id:i,filename:"Analysis: "+x,filetype:"analysis",content:i};f([...a,t]),c(t)}m(!0),o&&r&&r()};return h.jsx(b,{analysis:e,analysisChildren:d,isLoading:y,error:A,activeTab:l,onTabChange:p,isFullscreen:o,onToggleFullscreen:r,isPanel:!0,onChildAnalysisClick:C})}export{L 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.