1import{j as s,b as d,r as h}from"./react-vendor-BwLrHRJ9.js";import{b as c}from"./main-BE1kiy6F.js";import"./_commonjsHelpers-D2PPOGi4.js";import"./db-D3MLFwuZ.js";import"./preload-helper-CriJorPb.js";import"./core-js-hPzI81eD.js";import"./route-contract-BvWnNmZo.js";const f=({progress:a})=>{const e=108;const t=4;const r=8;const l=Math.max(t,r);const o=e+l/2;const n=e*2+l;const i=2*Math.PI*e;return s.jsxs("div",{className:"relative w-56 h-56",children:[s.jsxs("svg",{className:"w-full h-full -rotate-90 transition-all",viewBox:`0 0 ${n} ${n}`,children:[s.jsx("circle",{cx:o,cy:o,r:e,fill:"none",strokeWidth:t,strokeLinecap:"round",stroke:"#E3DBFF"}),s.jsx("circle",{style:{transition:"stroke-dashoffset 1.5s cubic-bezier(0.29, 0.6, 0.42, 0.99)"},cx:o,cy:o,r:e,fill:"none",strokeWidth:r,strokeLinecap:"round",strokeDashoffset:i-i*a/100,strokeDasharray:i,stroke:"#7C83FD"})]}),s.jsxs("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-5xl text-theme-brand",children:[a,"%"]})]})};const u=({show:a,progress:e,mount:t})=>{if(!a){return null}const r=s.jsx("div",{className:"absolute z-[1000] w-full h-full left-0 top-0 backdrop-blur-sm flex justify-center items-center text-center",children:s.jsx("div",{className:"h-[80%] w-[80%] bg-surfaceHover border-theme-brand border-2 rounded-xl flex flex-col items-center justify-center",children:s.jsx(f,{progress:e})})});if(t===false){return r}return d.createPortal(r,t??document.body)};const j=()=>{const[a,e]=h.useState(0);const[t,r]=h.useState(false);h.useEffect(()=>{const l=n=>r(n??false);const o=n=>e(n??0);c.on("ChangeAnalysisModal:ChangeShow",l);c.on("ChangeAnalysisModal:ChangeProgress",o);return()=>{c.off("ChangeAnalysisModal:ChangeShow",l);c.off("ChangeAnalysisModal:ChangeProgress",o)}},[]);return s.jsx(u,{show:t,progress:a})};export{j 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.