1import{j as t}from"./vendor-dotlottie-CKWLB76h.js";import{u as n}from"./vendor-query-Cq2FYR_1.js";import{A as c,c as u,I as l,b as d}from"./app-ZGxtfi_0.js";import{R as f}from"./index-BjfEbQZt.js";import{n as x}from"./vendor-react-CCzXVbVA.js";import{F as s,T as g,a5 as h}from"./vendor-chakra-z2eW50qa.js";import"./vendor-analytics-kxESroPO.js";import"./vendor-victory-2uYGyQN6.js";import"./vendor-monaco-CiJro7ev.js";import"./SolidityScoreProgress-nGrh_wmi.js";import"./index.esm-Ds02zZ7m.js";import"./ReportTag-CSqGGrUl.js";import"./vulnDistribution-C0Sar6g3.js";import"./UnverifiedContract-BFdZDnXq.js";import"./vendor-nivo-DiDy6rd6.js";import"./index.esm-C221wYgj.js";import"./PaymentModal-CqHdZ8ad.js";import"./ModalBlurOverlay-CoS6iLx6.js";import"./react-select.esm-f8TJ4I6W.js";import"./assertThisInitialized-DtB8HoZg.js";import"./stylesForCustomSelect-_IRGt3_J.js";import"./FormatOptionLabel-2vVxqozM.js";import"./AddEmailModal-DFRV1IeX.js";import"./TurnstileComponent-DGwBZ16v.js";import"./confirmActionForm-DVkExoKW.js";import"./smallMessageModal-B0XVKEMH.js";import"./PublishReport-D9pFpp_1.js";import"./NameInput-DO5rzGo1.js";import"./debounce-CxjSGMPP.js";import"./EmailInput-CIk9kp1G.js";import"./index.esm-DOW5uEmc.js";import"./index.esm-DvnQRwk9.js";import"./threatMeter-CrBiLMFN.js";import"./ThreatCheckIcon-D8bOiwEM.js";const j=async(r,o,i)=>{const{data:e}=await c.post(u.API_GET_REPORT,{project_id:r,report_id:o,scan_type:i});return e},y=(r,o,i)=>n(["report",r,o,i],()=>j(r,o,i));function tt(){const{reportId:r,projectId:o,projectType:i}=x(),{data:e,isLoading:a}=y(o,r,i),{data:p,isLoading:m}=l(!0);return t.jsxs(t.Fragment,{children:[t.jsx(s,{sx:{w:"100%",justifyContent:"center",py:1,bg:"#ff715e"},children:t.jsx(g,{fontSize:"12px",color:"white",fontWeight:700,children:"You are viewing this report in private mode, accessible only using an authenticated account. This is not a public report."})}),a||m?t.jsx(h,{py:12,h:"100vh",maxW:"100vw",bg:"black",children:t.jsx(s,{as:"div",w:"100%",h:"100%",alignItems:"center",justifyContent:"center",flexDir:"row",textAlign:["left","left"],mb:10,children:t.jsx(d,{})})}):e&&p&&t.jsx(f,{summary_report:e.summary_report,profile:p,restrictedReport:["ondemand","individual","trial"].includes(p.current_package),isPublicReport:!1})]})}export{tt 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.