1import{e as t}from"./chunk-CJ4CE3GE.js";import{a as u}from"./chunk-WHLMSHX5.js";function T(l,a){let e=u(l);if(isNaN(e.getTime()))throw new RangeError("Invalid time value");let i=a?.format??"extended",c=a?.representation??"complete",o="",s="",f=i==="extended"?"-":"",g=i==="extended"?":":"";if(c!=="time"){let n=t(e.getDate(),2),r=t(e.getMonth()+1,2);o=`${t(e.getFullYear(),4)}${f}${r}${f}${n}`}if(c!=="date"){let n=e.getTimezoneOffset();if(n!==0){let d=Math.abs(n),O=t(Math.trunc(d/60),2),x=t(d%60,2);s=`${n<0?"+":"-"}${O}:${x}`}else s="Z";let r=t(e.getHours(),2),m=t(e.getMinutes(),2),$=t(e.getSeconds(),2),h=o===""?"":"T",p=[r,m,$].join(g);o=`${o}${h}${p}${s}`}return o}export{T as a};
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.