1import{j as e,d as i}from"./app-belrbPXN.js";import{ChevronIcon as t}from"./ChevronIcon-AIKhNuKN.js";import{u as x,P as o}from"./chunk-TNTFQBEK-SFGRqfrY.js";import"./index-taukuCH3.js";import"./chunk-2PIR7DFM-PKNoTa34.js";import"./chunk-3TAVD5Y3-JLEfvKNw.js";import"./chunk-XHQUSKIE-9yTKuk0T.js";import"./chunk-6BQDBGF4-B566eCa_.js";import"./chunk-MCFSCOSB--WO4Tv9A.js";const g=({total:a,from:n,currentPage:s,lastPage:r})=>{const{range:m}=x({total:r,showControls:!0,siblings:a,boundaries:a});return e.jsx("div",{className:"flex flex-col gap-2",children:e.jsx("ul",{className:"flex gap-2 items-center",children:m.map((l,d)=>l===o.NEXT?e.jsx("li",{"aria-label":"next page",className:"w-4 h-4",children:e.jsx(i,{href:`?page=${r>s+1?s+1:r}`,className:"w-full h-full bg-default-200 rounded-full",children:e.jsx(t,{className:"rotate-180"})})},l):l===o.PREV?e.jsx("li",{"aria-label":"previous page",className:"w-4 h-4",children:e.jsx(i,{href:`?page=${n<s-1?s-1:1}`,className:"w-full h-full bg-default-200 rounded-full",children:e.jsx(t,{})})},l):e.jsx("li",{children:e.jsx(i,{href:`?page=${l}`,className:`${s===l?"bg-neutral-400 text-white":"bg-white text-black"} px-4 py-2 rounded-md`,children:l})},d))})})};export{g as Paginated};
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.