1import{j as e,r}from"./index-COU6hdy5.js";import{c as d,u as a,f as c,g as u}from"./index-CiGLiOfH.js";const x=[{id:2,pubkey:"In Relationship",influence:50},{id:3,pubkey:"In Relationship",influence:50},{id:4,pubkey:"In Relationship",influence:50}],i=d(),h=[i.accessor(s=>s.id,{id:"id",cell:s=>e.jsx("i",{children:s.getValue()}),header:()=>e.jsx("span",{children:"ID"}),footer:s=>s.column.id}),i.accessor(s=>s.pubkey,{id:"pubkey",cell:s=>e.jsx("i",{children:s.getValue()}),header:()=>e.jsx("span",{children:"pubkey"}),footer:s=>s.column.id}),i.accessor(s=>s.influence,{id:"influence",cell:s=>e.jsx("i",{children:s.getValue()}),header:()=>e.jsx("span",{children:"influence"}),footer:s=>s.column.id})],m=()=>{const[s,p]=r.useState(()=>[...x]),o=r.useReducer(()=>({}),{})[1],t=a({data:s,columns:h,getCoreRowModel:u()});return e.jsxs("div",{className:"p-2",children:[e.jsxs("table",{children:[e.jsx("thead",{children:t.getHeaderGroups().map(l=>e.jsx("tr",{children:l.headers.map(n=>e.jsx("th",{children:n.isPlaceholder?null:c(n.column.columnDef.header,n.getContext())},n.id))},l.id))}),e.jsx("tbody",{children:t.getRowModel().rows.map(l=>e.jsx("tr",{children:l.getVisibleCells().map(n=>e.jsx("td",{children:c(n.column.columnDef.cell,n.getContext())},n.id))},l.id))}),e.jsx("tfoot",{children:t.getFooterGroups().map(l=>e.jsx("tr",{children:l.headers.map(n=>e.jsx("th",{children:n.isPlaceholder?null:c(n.column.columnDef.footer,n.getContext())},n.id))},l.id))})]}),e.jsx("div",{className:"h-4"}),e.jsx("button",{onClick:()=>o(),className:"border p-2",children:"Rerender"})]})},g=()=>e.jsxs(e.Fragment,{children:[e.jsx("center",{children:e.jsx("h3",{children:"Test Page 12"})}),e.jsx(m,{})]});export{g 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.