PageSourceSearch

https://downundervisa.com/assets/Pagination-DVpyy6RE.js

js downundervisa.com collected 2026-10-09 05:15:11 UTC 2,349 bytes, 1 lines download raw bytes

1import{j as e,L as d}from"./main-Bo0oayNO.js";import{g as c}from"./ui-utils-CNoARbDA.js";function m({currentPage:o,totalPages:s,basePath:i,searchParams:l={}}){if(s<=1)return null;const n=r=>{const t={...l,page:r===1?void 0:r};return{to:i,search:t}},a=c(o,s);return e.jsxs("nav",{className:"flex items-center justify-center gap-2","aria-label":"Pagination",children:[o>1?e.jsxs(d,{...n(o-1),className:"px-4 py-2 border border-border rounded-theme text-foreground-muted hover:bg-background-alt hover:text-foreground transition-colors",children:[e.jsx("span",{className:"sr-only",children:"Previous"}),e.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})]}):e.jsx("span",{className:"px-4 py-2 border border-border rounded-theme text-foreground-muted/50 cursor-not-allowed",children:e.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),e.jsx("div",{className:"hidden sm:flex items-center gap-1",children:a.map((r,t)=>r==="..."?e.jsx("span",{className:"px-3 py-2 text-foreground-muted",children:"..."},`ellipsis-${t}`):e.jsx(d,{...n(r),className:`px-4 py-2 rounded-theme transition-colors ${r===o?"bg-primary text-white font-medium":"text-foreground-muted hover:bg-background-alt hover:text-foreground"}`,children:r},r))}),e.jsxs("span",{className:"sm:hidden px-4 py-2 text-foreground-muted",children:[o," / ",s]}),o<s?e.jsxs(d,{...n(o+1),className:"px-4 py-2 border border-border rounded-theme text-foreground-muted hover:bg-background-alt hover:text-foreground transition-colors",children:[e.jsx("span",{className:"sr-only",children:"Next"}),e.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]}):e.jsx("span",{className:"px-4 py-2 border border-border rounded-theme text-foreground-muted/50 cursor-not-allowed",children:e.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]})}export{m as P};

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.