import{k as u}from"./DGQDO-VU.js";function f({visiblePages:a,firstPage:t,currentPage:l,lastPage:v}){const e=u(()=>Array.from(Array(v.value),(n,m)=>m+1)),o=u(()=>v.value<a.value?e.value:l.value<a.value-Math.floor(a.value/2)+1?e.value.slice(0,a.value):l.value>v.value-Math.floor(a.value/2)?e.value.slice(v.value-a.value):e.value.slice(l.value-Math.ceil(a.value/2),l.value+Math.floor(a.value/2))),r=u(()=>o.value[0]),h=u(()=>o.value[o.value.length-1]);return{limitedPageNumbers:o,pageNumbersList:e,previousPage:u(()=>Math.max(l.value-1,1)),nextPage:u(()=>Math.min(l.value+1,v.value)),showFirst:u(()=>r.value>t.value),showFirstDots:u(()=>r.value>t.value+1),showLast:u(()=>h.value<v.value),showLastDots:u(()=>h.value<v.value-1),canNavigateLeft:u(()=>l.value!==t.value),canNavigateRight:u(()=>l.value!==v.value)}}export{f as u};