PageSourceSearch

https://tokenstocks.ai/assets/LitigationPanel-BobCHNAU.js

js tokenstocks.ai collected 2026-10-05 15:26:24 UTC 4,570 bytes, 1 lines download raw bytes

1import{j as e,C as t,d as a,b as d,p as n,z as h,a as i,e as m,q as j,aw as b}from"./index-CT3mG8No.js";import{S as p}from"./scale-4ZGSKKpy.js";function N({data:r}){var o,c,x;return r?e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-4",children:[e.jsxs(t,{className:"bg-card border-border/50",children:[e.jsx(d,{className:"pb-2",children:e.jsxs(n,{className:"text-sm flex items-center gap-2",children:[e.jsx(h,{className:"w-4 h-4 text-amber-500"}),"Legal Risk Summary"]})}),e.jsxs(a,{children:[e.jsx("div",{className:"text-center mb-4",children:e.jsxs(i,{variant:r.legalRiskScore<40?"default":r.legalRiskScore<60?"secondary":"destructive",className:"text-lg px-4 py-1",children:["Risk: ",r.legalRiskScore,"/100"]})}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"p-3 rounded bg-loss/10 border border-loss/30",children:[e.jsx("p",{className:"text-xs text-muted-foreground",children:"Total Potential Liability"}),e.jsx("p",{className:"text-xl font-mono font-bold text-loss",children:r.totalPotentialLiability})]}),e.jsxs("div",{className:"p-2 rounded bg-secondary/20 border border-border/30",children:[e.jsx("p",{className:"text-xs text-muted-foreground",children:"Contingent Reserve"}),e.jsx("p",{className:"font-mono text-sm text-foreground",children:r.contingentLiabilityReserve})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsxs("div",{className:"p-2 rounded bg-secondary/20 border border-border/30 text-center",children:[e.jsx("p",{className:"text-lg font-mono font-bold text-foreground",children:((o=r.activeCases)==null?void 0:o.length)||0}),e.jsx("p",{className:"text-[10px] text-muted-foreground",children:"Active Cases"})]}),e.jsxs("div",{className:"p-2 rounded bg-secondary/20 border border-border/30 text-center",children:[e.jsx("p",{className:"text-lg font-mono font-bold text-foreground",children:r.regulatoryInvestigations}),e.jsx("p",{className:"text-[10px] text-muted-foreground",children:"Investigations"})]})]})]})]})]}),e.jsxs(t,{className:"bg-card border-border/50",children:[e.jsx(d,{className:"pb-2",children:e.jsxs(n,{className:"text-sm flex items-center gap-2",children:[e.jsx(p,{className:"w-4 h-4 text-primary"}),"Active Cases"]})}),e.jsx(a,{children:e.jsx(m,{className:"h-[320px]",children:e.jsx("div",{className:"space-y-3",children:(c=r.activeCases)==null?void 0:c.map((s,l)=>e.jsxs("div",{className:"p-3 rounded border border-border/50 bg-secondary/20",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx(i,{variant:s.status==="TRIAL"?"destructive":s.status==="DISCOVERY"?"secondary":"outline",className:"text-[10px]",children:s.status}),e.jsx("span",{className:"text-[10px] text-muted-foreground",children:s.court})]}),e.jsx("p",{className:"text-xs text-foreground mb-2",children:s.title}),e.jsxs("div",{className:"grid grid-cols-2 gap-2 text-xs",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-muted-foreground",children:"Liability"}),e.jsx("p",{className:"font-mono text-loss",children:s.potentialLiability})]}),e.jsxs("div",{children:[e.jsx("span",{className:"text-muted-foreground",children:"Probability"}),e.jsx("p",{className:"font-mono text-foreground",children:s.probability})]})]}),e.jsxs("div",{className:"mt-2 pt-2 border-t border-border/30 flex items-center gap-1 text-[10px] text-muted-foreground",children:[e.jsx(j,{className:"w-3 h-3"}),"Next: ",s.nextDate]})]},l))})})})]}),e.jsxs(t,{className:"bg-card border-border/50",children:[e.jsx(d,{className:"pb-2",children:e.jsxs(n,{className:"text-sm flex items-center gap-2",children:[e.jsx(b,{className:"w-4 h-4 text-profit"}),"Resolved Cases"]})}),e.jsx(a,{children:e.jsx(m,{className:"h-[320px]",children:e.jsx("div",{className:"space-y-2",children:(x=r.resolvedCases)==null?void 0:x.map((s,l)=>e.jsxs("div",{className:"p-2 rounded border border-border/50 bg-secondary/20",children:[e.jsxs("div",{className:"flex items-center justify-between mb-1",children:[e.jsx(i,{variant:s.resolution==="DISMISSED"?"default":"secondary",className:"text-[10px]",children:s.resolution}),e.jsx("span",{className:"text-[10px] text-muted-foreground",children:s.date})]}),e.jsx("p",{className:"text-xs text-foreground",children:s.title}),e.jsxs("p",{className:"text-xs font-mono text-muted-foreground mt-1",children:["Amount: ",s.amount]})]},l))})})})]})]}):e.jsx(t,{className:"bg-card border-border/50",children:e.jsx(a,{className:"py-12 text-center",children:e.jsx("p",{className:"text-muted-foreground",children:"Litigation data not available"})})})}export{N as LitigationPanel};

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.