import{na as r}from"./chunk-GJDGQISV.js";var s=class e{offsetMs=0;updateFromHttpDate(o){try{let t=new Date(o).getTime();isNaN(t)||(this.offsetMs=t-Date.now())}catch(t){}}now(){return new Date(Date.now()+this.offsetMs)}getOffsetMs(){return this.offsetMs}static \u0275fac=function(t){return new(t||e)};static \u0275prov=r({token:e,factory:e.\u0275fac,providedIn:"root"})};export{s as a};
