1import{t as e}from"./format-local-date-B3BRaDP1.js";var t=[`this_month`,`last_month`,`this_year`,`last_year`],n=`this_month`;function r(t,n=new Date){let r=e(n);switch(t){case`last_month`:{let t=new Date(n.getFullYear(),n.getMonth()-1,1),r=new Date(n.getFullYear(),n.getMonth(),0);return{from:e(t),to:e(r)}}case`this_year`:return{from:`${n.getFullYear()}-01-01`,to:r};case`last_year`:{let e=n.getFullYear()-1;return{from:`${e}-01-01`,to:`${e}-12-31`}}default:return{from:e(new Date(n.getFullYear(),n.getMonth(),1)),to:r}}}function i(e,t=new Date){let{from:n,to:i}=r(e,t),a=i.slice(0,7),o=[],s=n.slice(0,7);for(;s<=a;){o.push(s);let e=Number(s.slice(0,4)),t=Number(s.slice(5,7));s=t===12?`${e+1}-01`:`${e}-${String(t+1).padStart(2,`0`)}`}return o}export{r as i,n,i as r,t};
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.