1function a(t) { 2 const e = Object.prototype.toString.call(t); 3 return t instanceof Date || typeof t == "object" && e === "[object Date]" ? new t.constructor(+t) : typeof t == "number" || e === "[object Number]" || typeof t == "string" || e === "[object String]" ? new Date(t) : /* @__PURE__ */ new Date(NaN); 4} 5const l = 6048e5, f = 864e5; 6function o(t) { 7 const e = a(t); 8 return e.setHours(0, 0, 0, 0), e; 9} 10function c(t) { 11 const e = new Date( 12 Date.UTC( 13 t.getFullYear(), 14 t.getMonth(), 15 t.getDate(), 16 t.getHours(), 17 t.getMinutes(), 18 t.getSeconds(), 19 t.getMilliseconds() 20 ) 21 ); 22 return e.setUTCFullYear(t.getFullYear()), t.getTime() - e.getTime(); 23} 24function u(t, e) { 25 const n = o(t), s = o(e), i = n.getTime() - c(n), r = s.getTime() - c(s); 26 return Math.round((i - r) / f); 27} 28export { 29 u as d, 30 l as m, 31 o as s, 32 a as t 33}; 34//# sourceMappingURL=differenceInCalendarDays-D0oSghL6.js.map
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.