1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1913],{51913:(e,t,r)=>{r.d(t,{Qn:()=>L,nt:()=>R,XI:()=>i,BF:()=>d,nA:()=>x,K3:()=>n,g9:()=>m,nd:()=>o,M_:()=>c,xN:()=>w,Hj:()=>h,x_:()=>v});var a=r(95155),l=r(12115),s=r(40980);let n=(0,l.forwardRef)((e,t)=>{let{children:r,className:l,maxHeight:n,bordered:i=!0,surface:o=!0,...c}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("relative overflow-hidden rounded-lg",o&&"bg-[#111111]",i&&"border border-white/[0.08]",l),...c,children:(0,a.jsx)("div",{className:"overflow-auto",style:{maxHeight:n||"none"},children:r})})});n.displayName="TableContainer";let i=(0,l.forwardRef)((e,t)=>{let{children:r,className:l,fixed:n=!1,...i}=e;return(0,a.jsx)("table",{ref:t,className:(0,s.cn)("w-full text-sm",n&&"table-fixed",l),...i,children:r})});i.displayName="Table";let o=(0,l.forwardRef)((e,t)=>{let{children:r,className:l,sticky:n=!0,stickyOffset:i=0,...o}=e;return(0,a.jsx)("thead",{ref:t,className:(0,s.cn)("bg-[#171717]",n&&"sticky z-10",l),style:n?{top:i}:void 0,...o,children:r})});o.displayName="TableHead";let c=(0,l.forwardRef)((e,t)=>{let{children:r,className:l,sortable:n=!1,sortDirection:i,sorted:o=!1,align:c="left",stickyLeft:d=!1,onClick:h,...x}=e;return(0,a.jsx)("th",{ref:t,className:(0,s.cn)("px-3 py-2.5 h-9","text-xs font-semibold uppercase tracking-wide","text-white/60",{left:"text-left",center:"text-center",right:"text-right"}[c],"border-b border-white/[0.08]",d&&"sticky left-0 z-20 bg-[#171717]",n&&"cursor-pointer select-none hover:text-white/70 transition-colors duration-150",o&&"text-white/70",l),onClick:n?h:void 0,...x,children:(0,a.jsxs)("div",{className:(0,s.cn)("flex items-center gap-1.5","right"===c&&"justify-end"),children:[r,n&&o&&(0,a.jsx)("span",{className:"text-[10px]",children:"asc"===i?"â":"â"})]})})});c.displayName="TableHeaderCell";let d=(0,l.forwardRef)((e,t)=>{let{children:r,className:l,...n}=e;return(0,a.jsx)("tbody",{ref:t,className:(0,s.cn)("divide-y divide-white/[0.06]",l),...n,children:r})});d.displayName="TableBody";let h=(0,l.forwardRef)((e,t)=>{let{children:r,className:l,selected:n=!1,clickable:i=!1,index:o,onClick:c,...d}=e;return(0,a.jsx)("tr",{ref:t,className:(0,s.cn)("h-11","hover:bg-[#1a1a1a] transition-colors duration-150",i&&"cursor-pointer",n&&"bg-[#1a1a1a] border-l-2 border-l-brand-primary",l),onClick:i?c:void 0,...d,children:r})});h.displayName="TableRow";let x=(0,l.forwardRef)((e,t)=>{let{children:r,className:l,align:n="left",truncate:i=!1,stickyLeft:o=!1,mono:c=!1,...d}=e;return(0,a.jsx)("td",{ref:t,className:(0,s.cn)("px-3 py-2.5","text-sm text-white/90",c&&"font-mono",{left:"text-left",center:"text-center",right:"text-right"}[n],i&&"max-w-0 truncate",o&&["sticky left-0 z-10 bg-[#111111]","after:absolute after:inset-y-0 after:right-0 after:w-px after:bg-white/[0.06]"],l),...d,children:r})});function m(e){let{icon:t,title:r="No data",description:l,colSpan:s=1,action:n}=e;return(0,a.jsx)("tr",{children:(0,a.jsx)("td",{colSpan:s,className:"py-16",children:(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center text-center",children:[t&&(0,a.jsx)("div",{className:"mb-4 text-white/20",children:t}),(0,a.jsx)("p",{className:"text-white/70 font-medium",children:r}),l&&(0,a.jsx)("p",{className:"mt-1 text-sm text-white/55 max-w-sm",children:l}),n&&(0,a.jsx)("div",{className:"mt-4",children:n})]})})})}x.displayName="TableCell";var u=r(73684),p=r(41641),b=r(21362),f=r(41437);function w(e){let{currentPage:t,totalPages:r,totalItems:n,pageSize:i,pageSizeOptions:o=[25,50,100],onPageChange:c,onPageSizeChange:d,showPageSize:h=!0,showTotal:x=!0,enableKeyboardNav:m=!0,className:w,loading:v=!1}=e,j=(0,l.useCallback)(e=>{if(m&&!(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement))switch(e.key){case"j":case"ArrowRight":t<r&&(e.preventDefault(),c(t+1));break;case"k":case"ArrowLeft":t>1&&(e.preventDefault(),c(t-1))}},[t,r,c,m]);(0,l.useEffect)(()=>{if(m)return document.addEventListener("keydown",j),()=>document.removeEventListener("keydown",j)},[j,m]);let y=(t-1)*i+1,N=Math.min(t*i,n||0),k=t>1,C=t<r;return(0,a.jsxs)("div",{className:(0,s.cn)("flex flex-col sm:flex-row items-center justify-between gap-4 py-3 px-4","border-t border-white/[0.06]","bg-[#0a0a0a]",w),children:[(0,a.jsxs)("div",{className:"flex items-center gap-4 text-sm text-white/60",children:[x&&void 0!==n&&(0,a.jsx)("span",{children:v?(0,a.jsx)("span",{className:"animate-pulse",children:"Loading..."}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"text-white/70",children:y.toLocaleStr
1ing()})," - ",(0,a.jsx)("span",{className:"text-white/70",children:N.toLocaleString()})," of ",(0,a.jsx)("span",{className:"text-white/70",children:n.toLocaleString()})]})}),h&&d&&(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{children:"Show"}),(0,a.jsx)("select",{value:i,onChange:e=>d(Number(e.target.value)),className:(0,s.cn)("px-2 py-1 rounded","bg-[#171717] border border-white/[0.08]","text-white text-sm","hover:border-white/[0.12] hover:bg-[#1a1a1a]","focus:outline-none focus:border-white/[0.16]","transition-colors duration-150","cursor-pointer"),disabled:v,children:o.map(e=>(0,a.jsx)("option",{value:e,children:e},e))})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(g,{onClick:()=>c(1),disabled:!k||v,title:"First page",children:(0,a.jsx)(u.A,{className:"w-4 h-4"})}),(0,a.jsx)(g,{onClick:()=>c(t-1),disabled:!k||v,title:"Previous page (k)",children:(0,a.jsx)(p.A,{className:"w-4 h-4"})}),(0,a.jsx)("div",{className:"hidden sm:flex items-center gap-1 mx-1",children:(()=>{let e=[];
1if(r<=7)for(let t=1;t<=r;t++)e.push(t);else{e.push(1),t>3&&e.push("ellipsis");let a=Math.max(2,t-1),l=Math.min(r-1,t+1);for(let t=a;t<=l;t++)e.push(t);t<r-2&&e.push("ellipsis"),e.push(r)}return e})().map((e,r)=>"ellipsis"===e?(0,a.jsx)("span",{className:"px-2 text-white/55",children:"..."},`ellipsis-${r}`):(0,a.jsx)(g,{onClick:()=>c(e),active:e===t,disabled:v,children:e},e))}),(0,a.jsxs)("div",{className:"sm:hidden px-3 text-sm text-white/70",children:[t," / ",r]}),(0,a.jsx)(g,{onClick:()=>c(t+1),disabled:!C||v,title:"Next page (j)",children:(0,a.jsx)(b.A,{className:"w-4 h-4"})}),(0,a.jsx)(g,{onClick:()=>c(r),disabled:!C||v,title:"Last page",children:(0,a.jsx)(f.A,{className:"w-4 h-4"})})]})]})}function g(e){let{children:t,onClick:r,disabled:l=!1,active:n=!1,title:i}=e;return(0,a.jsx)("button",{type:"button",onClick:r,disabled:l,title:i,className:(0,s.cn)("min-w-[32px] h-8 px-2","rounded","text-sm font-medium","transition-all duration-150","flex items-center justify-center",!n&&!l&&["text-white/60","hover:text-white/70 hover:bg-white/[0.06]"],n&&["bg-brand-primary/15 text-brand-primary","border border-brand-primary/30"],l&&["text-white/20 cursor-not-allowed"],"focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--brand-primary)]/50"),children:t})}function v(e){let{rows:t=10,columns:r=6,showHeader:l=!0,columnWidths:n,className:i}=e,o=n||["w-1/4","w-1/6","w-1/6","w-1/6","w-1/6","w-1/6"];return(0,a.jsx)("div",{className:(0,s.cn)("bg-[#111111] border border-white/[0.08] rounded-lg overflow-hidden",i),children:(0,a.jsxs)("table",{className:"w-full",children:[l&&(0,a.jsx)("thead",{className:"bg-[#171717]",children:(0,a.jsx)("tr",{className:"h-9 border-b border-white/[0.08]",children:Array.from({length:r}).map((e,t)=>(0,a.jsx)("th",{className:"px-3 py-2.5",children:(0,a.jsx)(y,{className:(0,s.cn)("h-3",o[t%o.length])})},`header-${t}`))})}),(0,a.jsx)("tbody",{className:"divide-y divide-white/[0.06]",children:Array.from({length:t}).map((e,t)=>(0,a.jsx)(j,{columns:r,widths:o,delay:50*t},`row-${t}`))})]})})}function j(e){let{columns:t,widths:r,delay:l=0}=e;return(0,a.jsx)("tr",{className:"h-11",style:{animationDelay:`${l}ms`},children:Array.from({length:t}).map((e,t)=>(0,a.jsx)("td",{className:"px-3 py-2.5",children:(0,a.jsx)(y,{className:(0,s.cn)("h-4",0===t?"w-3/4":r[t%r.length]),delay:l+25*t})},`cell-${t}`))})}function y(e){let{className:t,delay:r=0}=e;return(0,a.jsx)("div",{className:(0,s.cn)("rounded bg-white/[0.06] animate-skeleton relative overflow-hidden",t),style:{animationDelay:`${r}ms`},children:(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/[0.03] to-transparent animate-skeleton-shimmer",style:{animationDelay:`${r}ms`}})})}var N=r(61878),k=r(6296),C=r(33210),A=r(66088);function L(e){let{searchValue:t,onSearchChange:r,searchPlaceholder:n="Search...",filters:i=[],activeFilters:o={},onFilterChange:c,onResetFilters:d,isSearching:h=!1,enableSearchShortcut:x=!0,actions:m,className:u,showActiveCount:p=!0}=e,b=(0,l.useRef)(null),f=Object.entries(o).filter(e=>{let[t,r]=e;return r&&"all"!==r}).length,w=(0,l.useCallback)(e=>{!x||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||"/"===e.key&&(e.preventDefault(),b.current?.focus())},[x]);(0,l.useEffect)(()=>{if(x)return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[w,x]);let g=t||f>0;return(0,a.jsxs)("div",{className:(0,s.cn)("space-y-2",u),children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsxs)("div",{className:"relative flex-1 min-w-0",children:[(0,a.jsx)(N.A,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-white/55"}),(0,a.jsx)("input",{ref:b,type:"text",value:t,onChange:e=>r(e.target.value),placeholder:n,"aria-label":n,className:(0,s.cn)("w-full pl-10 pr-10 py-2.5 h-11","bg-[#111111] border border-white/[0.08] rounded-lg","text-white text-sm placeholder-white/55","focus:outline-none focus:border-white/[0.16] focus:bg-[#171717]","hover:border-white/[0.12] hover:bg-[#171717]","transition-all duration-150")}),(0,a.jsx)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:h?(0,a.jsx)(k.A,{className:"w-4 h-4 text-white/55 animate-spin"}):t?(0,a.jsx)("button",{type:"button",onClick:()=>r(""),"aria-label":"Clear search",className:"-m-2 inline-flex min-h-[44px] min-w-[44px] items-center justify-center rounded-md p-2 text-white/55 transition-colors hover:text-white/70 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--brand-deep)]",children:(0,a.jsx)(C.A,{className:"w-4 h-4"})}):x?(0,a.jsx)("kbd",{className:"hidden sm:inline-flex items-center px-1.5 py-0.5 text-[10px] font-mono text-white/55 bg-white/[0.04] rounded border border-white/[0.08]",children:"/"}):null})]}),m&&0===i.length&&(0,a.jsx)("div",{className:"flex items-center gap-2 flex-shrink-0",children:m})]}),i.length>0&&(0,a.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,a.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:i.map(e=>(0,a.jsx)(T,{config:e,value:o[e.key]||e.defaultValue||"all",onChange:t=>c?.(e.key,t)},e.key))}),m&&(0,a.jsx)("div",{className:"flex items-center gap-2 flex-shrink-0",children:m})]}),g&&p&&(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[t&&(0,a.jsx)(E,{label:`Search: "${t}"`,onRemove:()=>r("")}),i.map(e=>
1{let t=o[e.key];if(!t||"all"===t)return null;let r=e.options.find(e=>e.value===t);return r?(0,a.jsx)(E,{label:`${e.label}: ${r.label}`,onRemove:()=>c?.(e.key,"all")},e.key):null}),(t||f>0)&&d&&(0,a.jsx)("button",{type:"button",onClick:d,className:(0,s.cn)("min-h-[44px] px-3 py-2 rounded-lg","text-xs font-medium text-white/60","hover:text-white/70 hover:bg-white/[0.04]","transition-colors duration-150"),children:"Clear all"})]})]})}function T(e){let{config:t,value:r,onChange:l}=e,n=r&&"all"!==r&&r!==t.defaultValue;return(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)("select",{value:r,onChange:e=>l(e.target.value),"aria-label":t.label,className:(0,s.cn)("appearance-none","pl-3 pr-8 py-2.5 h-11","rounded-lg","text-sm font-medium","cursor-pointer","transition-all duration-150",!n&&["bg-[#171717] border border-white/[0.08]","text-white/70","hover:border-white/[0.12] hover:bg-[#1a1a1a]"],n&&["bg-brand-primary/15 border border-brand-primary/30","text-brand-primary","hover:bg-brand-primary/20"],"focus:outline-none focus:ring-2 focus:ring-brand-primary/30"),children:[(0,a.jsx)("option",{value:"all",children:t.placeholder||`All ${t.label}`}),t.options.map(e=>(0,a.jsxs)("option",{value:e.value,children:[e.label,void 0!==e.count&&` (${e.count})`]},e.value))]}),(0,a.jsx)(A.A,{className:(0,s.cn)("absolute right-2.5 top-1/2 -translate-y-1/2","w-4 h-4 pointer-events-none",n?"text-brand-primary":"text-white/55")})]})}function E(e){let{label:t,onRemove:r}=e;return(0,a.jsxs)("span",{className:(0,s.cn)("inline-flex items-center gap-1.5","px-2.5 py-1 rounded-full","bg-[#171717] border border-white/[0.08]","text-xs text-white/70","group"),children:[t,(0,a.jsx)("button",{type:"button",onClick:r,className:(0,s.cn)("p-0.5 -mr-1 rounded-full","text-white/55 hover:text-white/70","hover:bg-white/[0.06]","transition-colors duration-150"),children:(0,a.jsx)(C.A,{className:"w-3 h-3"})})]})}function R(e){let{label:t,active:r,direction:l,onClick:n,className:i}=e;return(0,a.jsxs)("button",{type:"button",onClick:n,className:(0,s.cn)("px-3 py-2 rounded-lg","text-xs font-medium","transition-all duration-150","flex items-center gap-1.5",!r&&["bg-[#171717] border border-white/[0.08]","text-white/60","hover:border-white/[0.12] hover:text-white/70"],r&&["bg-brand-primary/15 border border-brand-primary/30","text-brand-primary"],i),children:[t,r&&l&&(0,a.jsx)("span",{className:"text-[10px]",children:"asc"===l?"â":"â"})]})}}}]);
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.