PageSourceSearch

https://app.orchly.ai/_next/static/chunks/48034-4b1130b1c6ce3e0c.js

js orchly.ai collected 2026-10-05 12:22:39 UTC 19,711 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[48034,53018],{247:(e,t,n)=>{n.d(t,{N:()=>s,y:()=>a});var l=n(68987),r=n(39656);n(2315);var i=n(49405);let s=({onClick:e,title:t="Export CSV"})=>(0,l.jsxs)(i.$,{variant:"secondary",onClick:e,title:t,children:[(0,l.jsx)(r.A,{})," Export"]});function a(e,t,n){let l=e=>{let t=null==e?"":String(e);return/[",\n]/.test(t)?`"${t.replace(/"/g,'""')}"`:t},r=new Blob([t.map(e=>l(e.label)).join(",")+"\n"+n.map(e=>t.map(t=>l(e[t.key])).join(",")).join("\n")],{type:"text/csv;charset=utf-8;"}),i=URL.createObjectURL(r),s=document.createElement("a");s.href=i,s.download=e.endsWith(".csv")?e:`${e}.csv`,s.click(),URL.revokeObjectURL(i)}},47860:(e,t,n)=>{n.d(t,{x:()=>o});var l=n(68987),r=n(64402),i=n(64094),s=n(47366),a=n(93210);function o({credits:e,hint:t,condition:n,variant:c="neutral",bare:d=!1,className:u}){let g=`${e.toLocaleString()} ${1===e?"credit":"credits"}`,m=(0,l.jsxs)(i.E,{size:"sm",variant:"spend"===c?"outline":"default",className:(0,a.cn)("tabular-nums",u),children:[(0,l.jsx)(r.A,{"aria-hidden":!0}),e.toLocaleString()]});return d?m:(0,l.jsx)(s.Bc,{delayDuration:200,children:(0,l.jsxs)(s.m_,{children:[(0,l.jsx)(s.k$,{asChild:!0,children:m}),(0,l.jsxs)(s.ZI,{side:"top",className:"max-w-60",children:[t??`Costs ${g}.`,n?` ${n}`:""]})]})})}},48034:(e,t,n)=>{n.d(t,{q8:()=>O,bQ:()=>L,NV:()=>G.N,IS:()=>W,C1:()=>U,y6:()=>E,md:()=>q,yR:()=>G.y});var l=n(68987),r=n(64418),i=n(1630),s=n(88705),a=n(80742),o=n(88915),c=n(46487),d=n(2315),u=n(47860),g=n(41616),m=n(48180),h=n(1370),x=n(94298),p=n(57734),f=n(24082),b=n(69770),j=n(49405),v=n(80444),y=n(42934),w=n(51374),S=n(72961),N=n(34997),C=n(24520),k=n(82320),z=n(15409),R=n(93210),A=n(76843),D=n(3913),$=n(53018),P=n(72599),M=n(39075);let I=e=>e.columnDef.meta?.align==="right",_=e=>e.columnDef.meta?.align==="center",E="__select";function L(e){let t,{columns:n,rows:s,loading:o,getRowId:c,pagination:u="client",pageSize:b=25,pageSizeOptions:j=[10,25,50,100],onPageSizeChange:v,page:y,total:k,onPageChange:z,onSortChange:D,initialSort:L,enableReorder:H=!0,enableHideColumns:B=!0,pinFirstColumn:K=!1,toolbar:U,toolbarRight:W,subToolbar:q,className:G,height:Q,bordered:Y=!0,empty:Z,virtualize:J,onTableReady:X,onRowClick:ee,renderSubRow:et,onRowExpand:en,rowHeight:el=52,enableRowSelection:er=!1,rowActions:ei,actionsLabel:es="Actions",actionsPlacement:ea="toolbar",searchable:eo,searchPlaceholder:ec="Search…",searchAlign:ed="left",onSearchChange:eu,initialSearch:eg,stickyHeader:em,stickyHeaderOffset:eh=260,initialColumnVisibility:ex,refreshing:ep}=e,ef=!!o&&!s?.length,eb=!ef&&(!!ep||!!o),ej="server"===u,[ev,ey]=(0,d.useState)(L?[{id:L.colId,desc:"desc"===L.dir}]:[]),[ew,eS]=(0,d.useState)(ex??{}),[eN,eC]=(0,d.useState)([]),[ek,ez]=(0,d.useState)({pageIndex:0,pageSize:b}),[eR,eA]=(0,d.useState)(b),[eD,e$]=(0,d.useState)(eg??""),eP=d.useDeferredValue(eD),eM=eD.trim().length>0,eI=d.useCallback(()=>{e$(""),e.empty?.onClear?.()},[e.empty]),e_=(0,d.useRef)(eg??"");(0,d.useEffect)(()=>{eP!==e_.current&&(e_.current=eP,"client"===u&&ez(e=>0===e.pageIndex?e:{...e,pageIndex:0}),eu?.(eP))},[eP]);let[eE,eL]=(0,d.useState)({}),eF=(0,d.useMemo)(()=>er?[{id:E,size:44,minSize:44,enableSorting:!1,enableHiding:!1,enableResizing:!1,meta:{align:"center",label:"Select"},header:({table:e})=>(0,l.jsx)("div",{className:"flex items-center justify-center",onClick:e=>e.stopPropagation(),children:(0,l.jsx)(w.S,{checked:!!e.getIsAllPageRowsSelected()||!!e.getIsSomePageRowsSelected()&&"indeterminate",onCheckedChange:t=>e.toggleAllPageRowsSelected(!!t),"aria-label":"Select all rows on this page"})}),cell:({row:e})=>(0,l.jsx)("div",{className:"flex items-center justify-center",onClick:e=>e.stopPropagation(),children:(0,l.jsx)(w.S,{checked:e.getIsSelected(),onCheckedChange:t=>e.toggleSelected(!!t),"aria-label":"Select row"})})},...n]:n,[n,er]),[eH,eV]=(0,d.useState)(new Set),eT=(0,g.N4)({data:s,columns:eF,state:{sorting:ev,columnVisibility:ew,columnOrder:eN,globalFilter:eu?"":eP,rowSelection:eE,..."client"===u?{pagination:ek}:{}},getRowId:c?e=>c(e):void 0,enableRowSelection:er,onRowSelectionChange:eL,onSortingChange:e=>{let t="function"==typeof e?e(ev):e;if(ey(t),ej&&D){let e=t[0];D(e?{colId:e.id,dir:e.desc?"desc":"asc"}:null)}},onColumnVisibilityChange:eS,onColumnOrderChange:eC,onPaginationChange:"client"===u?ez:void 0,getCoreRowModel:(0,m.HT)(),getSortedRowModel:ej?void 0:(0,m.h5)(),getFilteredRowModel:eo&&!eu?(0,m.hM)():void 0,getPaginationRowModel:"
1client"===u?(0,m.kW)():void 0,manualSorting:ej,manualPagination:"client"!==u,enableSortingRemoval:!0,enableColumnResizing:!0,columnResizeMode:"onChange",defaultColumn:{minSize:64,size:160}}),eO=(0,d.useMemo)(()=>new Set(eF.filter(e=>e.meta?.trailing).map(e=>e.id??e.accessorKey)),[eF]),eB=d.useCallback(e=>{let t=e.includes(E)?[E]:[],n=e.filter(e=>eO.has(e));return[...t,...e.filter(e=>e!==E&&!eO.has(e)),...n]},[eO]),eK=eF.map(e=>e.id??e.accessorKey).join("|");(0,d.useEffect)(()=>{let e=eT.getAllLeafColumns().map(e=>e.id);eC(t=>{let n=t.filter(t=>e.includes(t)),l=n.length?[...n,...e.filter(e=>!n.includes(e))]:e,r=eB(er?[E,...l.filter(e=>e!==E)]:l);return r.length===t.length&&r.every((e,n)=>e===t[n])?t:r})},[eT,eK,er,eB]),(0,d.useEffect)(()=>{X?.(eT)},[eT,X]);let eU=eT.getHeaderGroups(),eW=eU.length>1,eq=H&&!eW,eG=eT.getVisibleLeafColumns(),eQ=(0,d.useMemo)(()=>{let e=new Map;if(!K)return e;let t=eG[0]?.id===E?[eG[0],eG[1]].filter(Boolean):[eG[0]].filter(Boolean),n=0;for(let l of t)e.set(l.id,n),n+=l.getSize();return e},[K,eG]),eY=K?[...eQ.keys()].pop():void 0,eZ=eG.length,[eJ,eX]=(0,d.useState)(null),[e0,e1]=(0,d.useState)(null),e4=(0,x.FR)((0,x.MS)(x.AN,{activationConstraint:{distance:6}})),e2=()=>{eX(null),e1(null)},e5=v?b:"client"===u?ek.pageSize:eR,e3=!1===u?null:ej?{current:y??0,totalRows:k??0}:{current:ek.pageIndex,totalRows:eT.getFilteredRowModel().rows.length},e6=eT.getRowModel().rows,e8=er?eT.getSelectedRowModel().rows.map(e=>e.original):[],e7=U||W||B||eo,e9=(0,l.jsx)(A.p,{icon:r.A,value:eD,onChange:e=>e$(e.target.value),placeholder:ec,className:"w-56"}),te=!et&&(J??(!1===u&&e6.length>100)),tt=(0,d.useRef)(null),tn=(0,h.Te)({count:e6.length,getScrollElement:()=>tt.current,estimateSize:()=>el,overscan:10,enabled:te}),tl=te?tn.getVirtualItems():[],tr=tl.length?tl[0].start:0,ti=tl.length?tn.getTotalSize()-tl[tl.length-1].end:0,ts=Q??(te?600:em?`calc(100vh - ${eh}px)`:void 0),ta=(e,t,n)=>{let r=eH.has(e.id);return(0,l.jsxs)(d.Fragment,{children:[(0,l.jsx)("tr",{ref:t,"data-index":n,onClick:et?()=>{var t,n;return t=e.id,n=e.original,void eV(e=>{let l=new Set(e);return l.has(t)?l.delete(t):(l.add(t),en?.(n)),l})}:ee?()=>ee(e.original):void 0,"data-state":e.getIsSelected()||r?"selected":void 0,className:(0,R.cn)("group/row transition-colors hover:bg-hover data-[state=selected]:bg-active",(!!ee||!!et)&&"cursor-pointer"),children:e.getVisibleCells().map((e,t)=>{let n,s=I(e.column),o=eQ.get(e.column.id),c=void 0!==o,d=e0===e.column.id&&eJ!==e.column.id;return(0,l.jsx)("td",{style:{width:e.column.getSize(),maxWidth:e.column.getSize(),height:el,...c?{left:o}:{}},className:(0,R.cn)(P.Bw,(n=e.column,n.columnDef.meta?.wrap===!0)?"overflow-hidden":"truncate","border-b border-border transition-colors",s&&"text-right",_(e.column)&&"text-center",c&&"sticky z-10",e.column.id===eY&&"shadow-[1px_0_0_0_var(--color-border)]",d?"bg-selected":c?"bg-background group-hover/row:bg-subtle group-data-[state=selected]/row:bg-active":""),children:et&&t===+!!er?(0,l.jsxs)("div",{className:"flex items-center gap-2 min-w-0",children:[(0,l.jsx)("span",{className:"shrink-0 text-muted-foreground",children:r?(0,l.jsx)(a.A,{className:"size-4 text-foreground"}):(0,l.jsx)(i.A,{className:"size-4"})}),(0,l.jsx)("div",{className:"min-w-0 flex-1",children:(0,g.Kv)(e.column.columnDef.cell,e.getContext())})]}):(0,g.Kv)(e.column.columnDef.cell,e.getContext())},e.id)})}),et&&r&&(0,l.jsx)("tr",{children:(0,l.jsx)("td",{colSpan:eZ,className:"border-b border-border bg-subtle p-0",children:et(e.original)})})]},e.id)},to=(0,l.jsx)("thead",{children:eU.map((e,t)=>{let n=t===eU.length-1,r=e.headers.map(e=>(0,l.jsx)(F,{header:e,draggable:eq&&n&&e.column.id!==E,pinnedLeft:eQ.get(e.column.id),lastPinned:e.column.id===eY,sticky:!!ts,active:eJ===e.column.id,over:e0===e.column.id&&eJ!==e.column.id},e.id));return(0,l.jsx)("tr",{children:eq&&n?(0,l.jsx)(f.gB,{items:e.headers.map(e=>e.column.id),strategy:f.m$,children:r}):r},e.id)})});return(0,l.jsxs)("div",{className:(0,R.cn)("w-full",G),children:[e7&&(0,l.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-2",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[eo&&"left"===ed&&e9,U]}),(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[eo&&"right"===ed&&e9,W,B&&(0,l.jsx)(O,{table:eT}),er&&!!ei?.length&&"toolbar"===ea&&(0,l.jsx)(V,{label:es,actions:ei,rows:e8,onDone:()=>eT.resetRowSelection()})]})]}),q&&(0,l.jsx)("div",{className:"mb-2 flex items-center gap-2",children:q}),(0,l.jsxs)("div",{className:(0,R.cn)("relative overflow-hidden",Y&&"rounded-xl border border-border"),children:[eb&&(0,l.jsx)("div",{role:"progressbar","aria-label":"Updating",className:"absolute inset-x-0 top-0 z-30 h-0.5 bg-foreground
1/25 motion-safe:animate-pulse"}),(0,l.jsx)("div",{ref:tt,className:"overflow-x-auto",style:ts?{maxHeight:ts,overflowY:"auto"}:void 0,children:(0,l.jsxs)(x.Mp,{sensors:e4,collisionDetection:x.fp,modifiers:[p.dU],onDragStart:e=>eX(e.active.id),onDragOver:e=>e1(e.over?.id??null),onDragEnd:e=>{e2();let{active:t,over:n}=e;n&&t.id!==n.id&&eC(e=>{let l=e.length?e:eT.getAllLeafColumns().map(e=>e.id);return eB((0,f.be)(l,l.indexOf(t.id),l.indexOf(n.id)))})},onDragCancel:e2,children:[(0,l.jsxs)("table",{className:"table-fixed border-collapse text-sm",style:{width:eT.getTotalSize(),minWidth:"100%"},children:[to,(0,l.jsx)("tbody",{className:(0,R.cn)("transition-opacity",eb&&"opacity-60"),"aria-busy":eb||void 0,children:ef?Array.from({length:10}).map((e,t)=>(0,l.jsx)("tr",{children:eG.map((e,t)=>(0,l.jsx)("td",{className:"border-b border-border px-3 py-3",children:(0,l.jsx)(C.E,{className:(0,R.cn)("h-4",I(e)?"ml-auto w-12":"w-full")})},e.id))},t)):0===e6.length?(0,l.jsx)("tr",{children:(0,l.jsx)("td",{colSpan:eZ,className:"p-0",children:(0,l.jsx)(N.pp,{variant:"table",title:Z?.title??"Nothing here yet",description:Z?.description,action:Z?.action,filtered:eM||Z?.filtered,onClearFilters:eM||Z?.onClear?eI:void 0})})}):te?(0,l.jsxs)(l.Fragment,{children:[tr>0&&(0,l.jsx)("tr",{"aria-hidden":!0,children:(0,l.jsx)("td",{colSpan:eZ,style:{height:tr,padding:0,border:0}})}),tl.map(e=>ta(e6[e.index],tn.measureElement,e.index)),ti>0&&(0,l.jsx)("tr",{"aria-hidden":!0,children:(0,l.jsx)("td",{colSpan:eZ,style:{height:ti,padding:0,border:0}})})]}):e6.map(e=>ta(e))})]}),(0,l.jsx)(x.Hd,{dropAnimation:null,children:eJ?(0,l.jsx)("div",{className:(0,R.cn)(M.LP,"inline-flex h-10 items-center rounded-lg px-3 text-xs font-ui"),children:(t=eT.getColumn(eJ)?.columnDef,t?.meta?.label??("string"==typeof t?.header?t.header:eJ))}):null})]})})]}),e3&&(0,l.jsxs)("div",{className:"mt-1 flex items-center justify-end gap-3 px-1 py-3",children:[(0,l.jsxs)(S.l6,{value:String(e5),onValueChange:e=>{var t;return t=Number(e),void(ej?(v?.(t),z?.(0)):"client"===u?eT.setPageSize(t):eA(t))},children:[(0,l.jsx)(S.bq,{className:"w-36",children:(0,l.jsx)(S.yv,{})}),(0,l.jsx)(S.gC,{children:[...new Set([...j,e5])].sort((e,t)=>e-t).map(e=>(0,l.jsxs)(S.eb,{value:String(e),children:[e," per page"]},e))})]}),(0,l.jsx)($.i,{page:e3.current+1,pageSize:e5,total:e3.totalRows,onPage:e=>{var t;return t=e-1,void(ej?z?.(t):eT.setPageIndex(t))},disabled:o,always:!0})]}),er&&!!ei?.length&&"footer"===ea&&e8.length>0&&(0,l.jsx)("div",{"aria-hidden":!0,className:"h-12"}),er&&!!ei?.length&&"footer"===ea&&(0,l.jsx)(T,{actions:ei,rows:e8,onDone:()=>eT.resetRowSelection(),onClear:()=>eT.resetRowSelection()})]})}function F({header:e,draggable:t,pinnedLeft:n,lastPinned:r,sticky:i,active:s,over:d}){let u=void 0!==n,m=(0,f.gl)({id:e.column.id,disabled:!t}),h=I(e.column),x=e.column.getCanSort(),p=e.column.getIsSorted(),j=e.column.getIsResizing(),v=e.column.columnDef.meta?.info,y="string"==typeof v?{body:v}:v?.body?v:null,w="string"==typeof e.column.columnDef.header?e.column.columnDef.header:e.column.columnDef.meta?.label??"",S={width:e.getSize(),maxWidth:e.getSize(),...u?{left:n}:{},...t?{transform:b.Ks.Translate.toString(m.transform),transition:m.transition}:{}};return(0,l.jsxs)("th",{ref:t?m.setNodeRef:void 0,colSpan:e.colSpan,style:S,onClick:x&&!j?e.column.getToggleSortingHandler():void 0,className:(0,R.cn)(P.vS,"group relative border-b border-border select-none transition-colors",h?"text-right":_(e.column)?"text-center":"text-left",i&&"sticky top-0 z-20",u&&"sticky z-30",r&&"shadow-[1px_0_0_0_var(--color-border)]",t?"cursor-grab active:cursor-grabbing":x&&"cursor-pointer",x&&"hover:text-foreground",s&&"opacity-40",d?"bg-selected":"bg-background"),...t?{...m.attributes,...m.listeners}:{},children:[e.isPlaceholder?null:(0,l.jsxs)("div",{className:(0,R.cn)("flex items-center gap-1",h&&"justify-end",_(e.column)&&"justify-center"),children:[(0,g.Kv)(e.column.columnDef.header,e.getContext()),y&&(0,l.jsx)(D.q,{title:w,formula:y.formula,children:y.body}),x&&("asc"===p?(0,l.jsx)(o.A,{className:"size-4 text-foreground-secondary"}):"desc"===p?(0,l.jsx)(a.A,{className:"size-4 text-foreground-secondary"}):(0,l.jsx)(c.A,{className:"size-4 text-muted-foreground opacity-0 transition-opacity group-hover:opacity-100"}))]}),e.column.getCanResize()&&(0,l.jsx)("div",{onPointerDown:e=>e.stopPropagation(),onMouseDown:e.getResizeHandler(),onTouchStart:e.getResizeHandler(),onClick:e=>e.stopPropagation(),className:(0,R.cn)("absolute top-0 right-0 h-full w-1 cursor-col-resize touch-none select-none",j?"bg-primary":"opacity-0 group-hover:opacity-100 bg-border-emphasis hover:bg-primary")})]})}function H(e,t){let[n,l]=(0,d.useState)(!1),r=(0,k.S)(),i=async n=>{l(!0);try{await n.onSelect(e),t?.()}finally{l(!1)}},s=1===e.length?"item":"items",a=(t,n)=>"function"==typeof t?t(e):t??n;return{run:async t=>{if(t.confirm){let n=!0===t.confirm?{}:t.confirm;if(!await r({title:a(n.title,`${t.label} ${e.length} ${s}?`),description:a(n.description,t.destructive?`This permanently removes ${e.length} ${s}
1 and can't be undone.`:`This applies to ${e.length} selected ${s}.`),action:n.confirmLabel??t.label,destructive:!!t.destructive}))return}await i(t)},busy:n}}function V({label:e="Actions",actions:t,rows:n,onDone:r}){let{run:i,busy:s}=H(n,r),o=0===n.length;return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(y.rI,{children:[(0,l.jsx)(y.ty,{asChild:!0,children:(0,l.jsxs)(j.$,{disabled:s,title:o?"Select rows to act on them":void 0,children:[e,!o&&(0,l.jsx)("span",{className:"rounded-md bg-background/20 px-1.5 text-xs tabular-nums",children:n.length}),(0,l.jsx)(a.A,{})]})}),(0,l.jsxs)(y.SQ,{align:"end",className:"w-52",children:[o&&(0,l.jsx)("div",{className:M.Gy,children:"Select rows to act on them"}),t.filter(e=>o||!e.hidden?.(n)).map(e=>{let t=e.icon;return(0,l.jsxs)(y._2,{disabled:o||e.disabled?.(n),onSelect:()=>void i(e),destructive:e.destructive,children:[t&&(0,l.jsx)(t,{}),e.label]},e.label)})]})]})})}function T({actions:e,rows:t,onDone:n,onClear:r}){let{run:i,busy:s}=H(t,n);return 0===t.length?null:(0,l.jsx)(z.E,{label:`${t.length} ${1===t.length?"row":"rows"} selected`,onClear:r,children:e.filter(e=>!e.hidden?.(t)).map(e=>{let n=e.icon,r=e.cost?.(t);return(0,l.jsxs)(j.$,{variant:"approve"===e.decision?"approve":"reject"===e.decision?"destructive-secondary":e.destructive?"destructive":"secondary",size:"sm",disabled:s||e.disabled?.(t),onClick:()=>void i(e),children:[n&&(0,l.jsx)(n,{}),e.label,r?(0,l.jsx)(u.x,{credits:r,variant:e.enrich?"spend":void 0,hint:e.costHint?.(t)}):null]},e.label)})})}function O({table:e}){let t=e.getAllLeafColumns().filter(e=>e.getCanHide());return(0,l.jsxs)(v.AM,{children:[(0,l.jsx)(v.Wv,{asChild:!0,children:(0,l.jsxs)(j.$,{variant:"secondary",children:[(0,l.jsx)(s.A,{}),"Columns"]})}),(0,l.jsxs)(v.hl,{align:"end",className:"w-56 p-1",children:[(0,l.jsx)("div",{className:M.Gy,children:"Show columns"}),(0,l.jsx)("div",{className:"max-h-72 overflow-auto",children:t.map(e=>{let t=e.columnDef.meta?.label??("string"==typeof e.columnDef.header?e.columnDef.header:e.id);return(0,l.jsxs)("label",{className:(0,R.cn)((0,M.j$)(),"cursor-pointer hover:bg-accent"),children:[(0,l.jsx)(w.S,{checked:e.getIsVisible(),onCheckedChange:t=>e.toggleVisibility(!!t)}),t]},e.id)})})]})]})}var B=n(44585),K=n(77805);function U({href:e,onExpand:t,expandLabel:n="Expand",openLabel:r="Open page"}){return(0,l.jsxs)("span",{className:"ml-auto flex shrink-0 items-center gap-0.5 pl-2 opacity-0 transition-opacity group-hover/row:opacity-100 group-focus-within/row:opacity-100",children:[e&&(0,l.jsx)("a",{href:e,target:"_blank",rel:"noreferrer",onClick:e=>e.stopPropagation(),title:r,"aria-label":r,className:(0,j.r)({variant:"ghost",size:"icon-xs"}),children:(0,l.jsx)(B.A,{})}),(0,l.jsxs)("button",{type:"button",onClick:e=>{e.stopPropagation(),t()},title:n,className:(0,j.r)({variant:"secondary",size:"xs"}),children:[(0,l.jsx)(K.A,{}),n]})]})}function W({label:e,secondary:t,leading:n,href:r,onExpand:i,openLabel:s,expandLabel:a,title:o}){return(0,l.jsxs)("span",{className:"flex min-w-0 items-center gap-2",children:[n,(0,l.jsxs)("span",{className:"flex min-w-0 flex-col",children:[null!=t&&(0,l.jsx)("span",{className:"truncate text-xs text-muted-foreground",children:t}),r?(0,l.jsx)("a",{href:r,target:"_blank",rel:"noreferrer",onClick:e=>e.stopPropagation(),className:"min-w-0 truncate hover:underline",title:o??("string"==typeof e?e:void 0),children:e}):(0,l.jsx)("span",{className:"min-w-0 truncate",title:o??("string"==typeof e?e:void 0),children:e})]}),i&&(0,l.jsx)(U,{href:r,onExpand:i,openLabel:s,expandLabel:a})]})}function q({tone:e,children:t}){return(0,l.jsxs)("span",{className:"inline-flex items-center gap-1.5 whitespace-nowrap text-foreground",children:[(0,l.jsx)("span",{className:(0,R.cn)("size-2 shrink-0 rounded-full","green"===e?"tone-green bg-tone-solid":"red"===e?"tone-red bg-tone-solid":"amber"===e?"tone-amber bg-tone-solid":"tone-gray bg-tone-solid")}),t]})}var G=n(247)},53018:(e,t,n)=>{n.d(t,{i:()=>a});var l=n(68987),r=n(74155),i=n(1630);n(2315);var s=n(93210);function a({page:e,pageSize:t,total:n,hasNext:c,onPage:d,noun:u,disabled:g,always:m,className:h}){let x=null!=n&&null!=t,p=x?Math.max(1,Math.ceil(n/t)):void 0;if(x&&p<=1&&!m)return null;let f=x?e<p&&n>0:!!c,b=x?0===n?"0 results":(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("span",{className:"font-medium text-foreground",children:[(e-1)*t+1,"-",Math.min(e*t,n)]}
1)," of ",n.toLocaleString(),u?` ${u}`:""]}):(0,l.jsxs)(l.Fragment,{children:["Page ",(0,l.jsx)("span",{className:"font-medium text-foreground",children:e})]});return(0,l.jsx)("div",{className:(0,s.cn)("flex items-center justify-end",h),children:(0,l.jsxs)("div",{className:"inline-flex h-9 items-center overflow-hidden rounded-field border border-input",children:[(0,l.jsx)("span",{className:"border-r border-input px-3 text-sm whitespace-nowrap text-foreground-secondary",children:b}),(0,l.jsx)("button",{type:"button","aria-label":"Previous page",disabled:g||e<=1,onClick:()=>d(Math.max(1,e-1)),className:(0,s.cn)(o,"border-r border-input"),children:(0,l.jsx)(r.A,{})}),(0,l.jsx)("button",{type:"button","aria-label":"Next page",disabled:g||!f,onClick:()=>d(e+1),className:o,children:(0,l.jsx)(i.A,{})})]})})}let o=(0,s.cn)("flex h-full w-9 items-center justify-center text-foreground-secondary transition-colors [&_svg]:size-4","hover:bg-hover hover:text-foreground disabled:opacity-50 disabled:hover:bg-transparent")}}]);

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.