"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const i=(s,e)=>Math.ceil(s/e),d=(s,e,r)=>{const f=n(s,e,r),c=u(f,r),t=l(Math.min(r,e),c);return t.includes(1)||(t.includes(2)||t.unshift(-1),t.unshift(1)),t.includes(e)||(t.includes(e-1)||t.push(-1),t.push(e)),t},n=(s,e,r)=>{const f=Math.floor(r/2),c=f;return s+c>e?e:s+f<=r?r:s+c},u=(s,e)=>s-e+1>0?s-e+1:1,l=(s,e=0)=>new Array(s).fill(null).map((r,f)=>f+e);exports.getNumberOfPages=i;exports.getPageRangeList=d;
