function n(n,t){return Math.ceil(n/t)}function t(n,t){if(n<=7)return Array.from({length:n},((n,t)=>t+1));const r=[1];return t<=4?r.push(2,3,4,5,"…"):t>=n-3?r.push("…",n-4,n-3,n-2,n-1):r.push("…",t-1,t,t+1,"…"),r.push(n),r}function r(n,t,r,e){if(n<=7)return[];const o=Array.from({length:n},((n,t)=>t+1)),u=t.filter((n=>"number"==typeof n)),f=o.filter((n=>!u.includes(n)));if("left"===e){const n=u[1];return f.filter((t=>t<n))}{const n=u[u.length-2];return f.filter((t=>t>n))}}function e(n,t,r){return`Showing ${(r-1)*t+1}–${Math.min(r*t,n)} of ${n}`}export{r as a,t as b,n as c,e as g};
