import{jsxs as e,jsx as s}from"react/jsx-runtime";import{B as o}from"./button-BvFBRYHq.js";import{ChevronLeft as r,ChevronRight as l}from"lucide-react";import"@radix-ui/react-slot";import"class-variance-authority";import"./utils-CMbmcP35.js";import"clsx";import"tailwind-merge";function b({totalFactions:n,currentPage:i,hasMore:a,loadingAll:t,onPageChange:m}){return e("div",{className:"mb-4 p-3 bg-muted rounded-lg flex items-center justify-between",children:[e("span",{className:"text-sm font-medium",children:["Showing ",n," factions (Page ",i,")"]}),e("div",{className:"flex items-center gap-2",children:[s(o,{variant:"outline",size:"sm",onClick:()=>m(i-1),disabled:i<=1||t,children:s(r,{className:"h-4 w-4"})}),e("span",{className:"text-sm",children:["Page ",i]}),s(o,{variant:"outline",size:"sm",onClick:()=>m(i+1),disabled:!a||t,children:s(l,{className:"h-4 w-4"})})]})]})}export{b as PaginationInfo};
