1import{a as x,b as O}from"./chunk-TSRGIXR5.js";var W=Math.pow(10,8)*24*60*60*1e3,H=-W,d=6048e5,I=864e5,_=6e4,b=36e5;var T=3600;var D=T*24,z=D*7,h=D*365.2425,M=h/12,C=M*3,m=Symbol.for("constructDateFrom");var w={};function y(){return w}function a(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&m in e?e[m](t):e instanceof Date?new e.constructor(t):new Date(t)}function s(e,t){return a(t||e,e)}function S(e,t){let o=y(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,n=s(e,t?.in),i=n.getDay(),c=(i<r?7:0)+i-r;return n.setDate(n.getDate()-c),n.setHours(0,0,0,0),n}function f(e,t){return S(e,O(x({},t),{weekStartsOn:1}))}function g(e,t){let o=s(e,t?.in),r=o.getFullYear(),n=a(o,0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);let i=f(n),c=a(o,0);c.setFullYear(r,0,4),c.setHours(0,0,0,0);let u=f(c);return o.getTime()>=i.getTime()?r+1:o.getTime()>=u.getTime()?r:r-1}function k(e,t){let o=g(e,t),r=a(t?.in||e,0);return r.setFullYear(o,0,4),r.setHours(0,0,0,0),f(r)}function st(e,t){let o=s(e,t?.in),r=+f(o)-+k(o);return Math.round(r/d)+1}function Y(e,...t){let o=a.bind(null,e||t.find(r=>typeof r=="object"));return t.map(o)}function p(e,t){let o=s(e,t?.in);return o.setHours(0,0,0,0),o}function l(e){let t=s(e),o=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return o.setUTCFullYear(t.getFullYear()),+e-+o}function It(e,t,o){let[r,n]=Y(o?.in,e,t),i=p(r),c=p(n),u=+i-l(i),F=+c-l(c);return Math.round((u-F)/I)}export{d as a,_ as b,b as c,a as d,s as e,y as f,S as g,g as h,Y as i,p as j,It as k,st as l};
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.