1"use strict";(globalThis.rspackChunknotion_next=globalThis.rspackChunknotion_next||[]).push([[10234],{86118(e,t,n){n.r(t),n(435368),n(730330),n(218043),n(159952);var i=n(635790),o=n(440302);function l(e){var t,l;let{rows:u,bodyElement:d,scrollContainerRef:s,fixedRowHeight:a}=e,c=JSON.stringify(null==(t=u[0])?void 0:t.getVisibleCells().map(e=>e.column.id)),[h,g]=(0,i.useState)(0),[v,m]=(0,i.useState)([]),[C,f]=(0,i.useState)(),x=(0,i.useMemo)(()=>void 0===C?-1:u.findIndex(e=>e.id===C),[u,C]),p=(0,i.useCallback)(e=>{let t=(0,n(513951).vp)(e);return x>=0&&!t.includes(x)&&(t.push(x),t.sort((e,t)=>e-t)),t},[x]),b=(0,i.useCallback)(e=>u[e].id,[u]),S=(0,i.useCallback)(()=>s.current,[s]),k=(0,n(190792).Te)({count:u.length,estimateSize:()=>a??37,overscan:e.overscan??10,getItemKey:b,rangeExtractor:p,getScrollElement:S,scrollMargin:h,enabled:null!==d});(0,i.useLayoutEffect)(()=>{k.measure()},[a,k]),(0,i.useLayoutEffect)(()=>{let e=s.current,t=null==d?void 0:d.parentElement;if(!e||!d||!t)return;let i=t.querySelectorAll("thead th"),o=()=>{if(g(d.getBoundingClientRect().top-e.getBoundingClientRect().top+e.scrollTop-e.clientTop),void 0!==a){let e=Array.from(i,e=>e.getBoundingClientRect().width);m(t=>(0,n(134542).bN)(t,e)?t:e)}};o();let l=new ResizeObserver(o);return l.observe(t),void 0!==a&&i.forEach(e=>l.observe(e)),()=>l.disconnect()},[d,s,a,c]);let w=k.getVirtualItems(),y=d?k.getTotalSize():37*u.length;return(0,o.jsxs)(o.Fragment,{children:[void 0!==a?(0,o.jsx)(r,{height:u.length*a,columnCount:e.columnCount}):void 0,w.map((t,l)=>{var d;let s=(null==(d=w[l-1])?void 0:d.end)??h;return(0,o.jsxs)(i.Fragment,{children:[void 0===a?(0,o.jsx)(r,{height:t.start-s,columnCount:e.columnCount}):void 0,(0,o.jsx)(n(202076).H,{row:u[t.index],rowIndex:t.index,measureElement:void 0===a?k.measureElement:void 0,fixedHeight:a,columnWidths:void 0===a?void 0:v,onActivate:f,getRowStyle:e.getRowStyle,isHighlighted:e.isHighlighted,onRowClick:e.onRowClick,hideVerticalDividers:e.hideVerticalDividers,verticalAlign:e.verticalAlign,frozenColumnIndex:e.frozenColumnIndex,frozenColumnOffsets:e.frozenColumnOffsets,hideBottomBorder:e.hideLastRowBorder&&t.index===u.length-1})]},u[t.index].id)}),void 0===a?(0,o.jsx)(r,{height:y-(((null==(l=w[w.length-1])?void 0:l.end)??h)-h),columnCount:e.columnCount}):void 0]})}function r(e){return e.height<=0?null:(0,o.jsx)("tr",{"aria-hidden":"true",children:(0,o.jsx)("td",{colSpan:e.columnCount,style:{height:e.height,padding:0}})})}n.d(t,{VirtualizedTBodyContent:()=>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.