import{_ as o}from"./@babel-7fd5df1e.js";function r(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function n(e){r(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||o(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function i(e,t){r(2,arguments);var a=n(e),s=n(t);return a.getFullYear()===s.getFullYear()}function f(e){return r(1,arguments),i(e,Date.now())}export{f as i};
