import t from"moment";var e=function(e,l){return t(e).startOf("day").add(l,"seconds").toDate()},l={date:"DD MMM YYYY",dateTime:"DD MMM YYYY hh:mm A",month:"MMMM YYYY"},Y={date:"DD/MM/YYYY",dateTime:"DD/MM/YYYY hh:mm A",month:"MMM YYYY"},i=function(t,e){return(e?Y:l)[t]},u={month:["MMMM YYYY","MMM YYYY"],date:["DD/MM/YYYY","D/M/YYYY"],dateTime:["DD/MM/YYYY hh:mm A","D/M/YYYY hh:mm A"]},M=function(t,e){return!!t&&!!e&&t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()},n=function(t,e){return M(t,e)&&(null==t?void 0:t.getDate())===(null==e?void 0:e.getDate())},r=function(t,e){return t&&e?t<e?t:e:t||e},d=function(t,e){return t&&e?t>e?t:e:t||e},a=[{id:1,title:"Jan",fullTitle:"January"},{id:2,title:"Feb",fullTitle:"February"},{id:3,title:"Mar",fullTitle:"March"},{id:4,title:"Apr",fullTitle:"April"},{id:5,title:"May",fullTitle:"May"},{id:6,title:"Jun",fullTitle:"June"},{id:7,title:"Jul",fullTitle:"July"},{id:8,title:"Aug",fullTitle:"August"},{id:9,title:"Sep",fullTitle:"September"},{id:10,title:"Oct",fullTitle:"October"},{id:11,title:"Nov",fullTitle:"November"},{id:12,title:"Dec",fullTitle:"December"}];export{l as DefaultFormatByType,Y as DefaultFormatByTypeRange,u as FallbackInputFormats,a as MonthOptions,e as applyOffsetSeconds,i as getDefaultFormat,d as getMaxDate,r as getMinDate,n as isSameDay,M as isSameMonth};
//# sourceMappingURL=utils.js.map
