((e,t,l)=>{const{items:a,lastVisitedIndex:n}=t;return(n>0?a[n].offset:0)>=l?om(e,t,0,n,l):im(e,t,Math.max(0,n),l)})(e,l,t),getStopIndexForStartIndex:(e,t,l,a)=>{const{height:n,total:o,layout:i,width:r}=e,s=Gv(i)?r:n,u=nm(e,t,a),d=l+s;let c=u.offset+u.size,p=t;for(;p {const a=mm(e,t,l,\"column\");return[a.size,a.offset]},getRowPosition:(e,t,l)=>{const a=mm(e,t,l,\"row\");return[a.size,a.offset]},getColumnOffset:(e,t,l,a,n,o)=>xm(e,t,l,a,n,\"column\",o),getRowOffset:(e,t,l,a,n,o)=>xm(e,t,l,a,n,\"row\",o),getColumnStartIndexForOffset:(e,t,l)=>gm(e,l,t,\"column\"),getColumnStopIndexForStartIndex:(e,t,l,a)=>{const n=mm(e,t,a,\"column\"),o=l+e.width;let i=n.offset+n.size,r=t;for(;r