PageSourceSearch

https://piehost.com/build/assets/SignupSourcePieChart-BxSmlB9n.js

js piehost.com collected 2026-10-03 19:14:01 UTC 957 bytes, 1 lines download raw bytes

1import{r as s,j as e}from"./app-2BJCe-iC.js";import{l as c}from"./Utilities-DQNgwcwj.js";import{P as x}from"./index-BWzUrYuI.js";function b({name:t,barColor:p,chartData:a}){const[l,o]=s.useState(!1);s.useEffect(()=>{c(o)},[]);const[r,u]=s.useState(["red","green","blue","yellow"]);if(!l)return e.jsx(e.Fragment,{});const i={maintainAspectRatio:!1,responsive:!0,plugins:{legend:{display:!1},title:{display:!1,text:t},datalabels:{align:"top",formatter:n=>n,color:"white",font:{weight:"bold"}}}},d={labels:Object.keys(a),datasets:[{label:t,data:Object.values(a),backgroundColor:r}]};return e.jsxs("div",{className:"bg-white dark:bg-gray-800 px-2 rounded w-full",children:[e.jsx("h2",{className:"text-lg px-4 font-semibold my-6 text-gray-900 dark:text-gray-50",children:t}),e.jsx("div",{className:"flex",children:e.jsx("div",{className:"rounded",style:{width:"100%",height:"200px"},children:e.jsx(x,{options:i,data:d})})})]})}export{b as SignupSourcePieChart};

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.