import{yesterday as e,today as r,lastXDays as s,getRangeToNow as t}from"./date-range.js";function n(n){switch(n.type){case"custom":return{since:n.since,until:n.until};case"live":return{since:t(6e5).since};case"predefined":switch(n.def){case"lastHour":return t(36e5);case"last4Hours":return t(144e5);case"last7Days":return s(7);case"today":return r();case"yesterday":return e()}}}export{n as dateRangeSelectionToDateRange};
//# sourceMappingURL=date-range-selection.js.map
