1import{d as o}from"./CsH2WSr4.js";import{c as u,g as c}from"./BosuxZz1.js";import{u as f}from"./CYJ9_6i6.js";var d={exports:{}};(function(t,r){(function(s,e){t.exports=e()})(u,function(){return function(s,e,n){e.prototype.isToday=function(){var a="YYYY-MM-DD",i=n();return this.format(a)===i.format(a)}}})})(d);var l=d.exports;const m=c(l);var y={exports:{}};(function(t,r){(function(s,e){t.exports=e()})(u,function(){return function(s,e,n){e.prototype.isYesterday=function(){var a="YYYY-MM-DD",i=n().subtract(1,"day");return this.format(a)===i.format(a)}}})})(y);var p=y.exports;const D=c(p);o.extend(m);o.extend(D);const M=(t,r)=>{if(f(),!r||!t)return!1;const s=o(t);return o(r).diff(s,"day")<=10},v=t=>{const{t:r,locale:s}=f(),e=o(t);return e.isToday()?r("global.today"):e.isYesterday()?r("global.yesterday"):e.format((s==null?void 0:s.value)==="en"?"MM/DD":"MMæDDæ¥")},b=(t,r)=>{let s=null;const e=()=>{t(),s=setTimeout(e,r)};return setTimeout(e,r),{cancel:()=>{clearTimeout(s)}}},h=t=>o(t)>o(),w=(t,r)=>t?o(t).format(r):"",g=(t,r)=>{if(!t||!r)return"";const{t:s}=f(),e=o(t),n=o(r);return e.isSame(n,"day")?s("talent.today_line"):e.isSame(n.subtract(1,"day"),"day")?s("talent.two_line"):s("talent.three_line")},j=(t,r)=>{if(!t||!r)return!1;const s=o(t),e=o(r);return s.isBefore(e)};export{h as a,g as c,w as d,v as f,j as i,b as m,M as w};
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.