1import{at as d,q as m,m as i,j as e,H as n,G as l,F as x}from"./index-DUiXJ36l.js";import{C as c}from"./CompareTable-zmgbRYRS.js";import{g as h}from"./shortlist.functions-BcLdcZ4t.js";function j(){const{token:r}=d.useParams(),t=m(h),{data:s,isLoading:o,error:a}=i({queryKey:["shared-shortlist",r],queryFn:()=>t({data:{token:r}})});return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(n,{}),e.jsxs("main",{className:"mx-auto max-w-7xl px-4 py-8 sm:px-6",children:[e.jsxs("div",{className:"mb-6",children:[e.jsxs("h1",{className:"flex items-center gap-2 text-3xl font-bold text-foreground",children:[e.jsx(l,{className:"size-7 text-primary"})," Shared shortlist"]}),e.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:"A read-only comparison shared with you."})]}),o?e.jsx("p",{className:"text-sm text-muted-foreground",children:"Loadingâ¦"}):a?e.jsxs("div",{className:"rounded-2xl border border-dashed border-border bg-card p-12 text-center",children:[e.jsx("h2",{className:"text-lg font-semibold",children:"Link unavailable"}),e.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:a.message||"This share link is invalid or has expired."})]}):!s||s.items.length===0?e.jsx("p",{className:"text-sm text-muted-foreground",children:"None of these properties are available any more."}):e.jsx(c,{items:s.items})]}),e.jsx(x,{})]})}export{j as component};
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.