try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`2ad9c441-422d-44da-ba07-d402c551809d`,e._sentryDebugIdIdentifier=`sentry-dbid-2ad9c441-422d-44da-ba07-d402c551809d`)}catch{}import{Fg as e,ag as t,cg as n,lh as r,og as i,ug as a}from"./entry.client-dr7r6s9a.js";import"./workspace-leaf-files-mc5sghv7.js";var o=e(),s=(e,s,c)=>{let l=(0,o.c)(8),u=s===void 0?Date.now():s,d=c===void 0?!1:c,{t:f,utils:p}=r(`DateTimeUtils`);if(!e)return null;let m=u-e,h=d?`narrow`:void 0,g,_;if(l[0]!==h||l[1]!==m||l[2]!==f||l[3]!==p){_=Symbol.for(`react.early_return_sentinel`);bb0:{let e={numeric:`auto`,style:h};if(m<0){_=null;break bb0}if(Math.floor(m/1e3)<45){let e;l[6]===f?e=l[7]:(e=f(`now`,{shortKey:`time_now`}),l[6]=f,l[7]=e),_=e;break bb0}let r=Math.floor(m/n);if(r<45){let t=Math.max(1,r);_=p.formatRelativeTime(-t,`minute`,e);break bb0}let o=Math.floor(m/i);if(o<22){let t=Math.max(1,o);_=p.formatRelativeTime(-t,`hour`,e);break bb0}let s=Math.floor(m/t);if(s<26){let t=Math.max(1,s);_=p.formatRelativeTime(-t,`day`,e);break bb0}if(s<320){let t=Math.floor(s/30),n=Math.max(1,t);_=p.formatRelativeTime(-n,`month`,e);break bb0}let c=Math.floor(m/a),u=Math.max(1,c);g=p.formatRelativeTime(-u,`year`,e)}l[0]=h,l[1]=m,l[2]=f,l[3]=p,l[4]=g,l[5]=_}else g=l[4],_=l[5];return _===Symbol.for(`react.early_return_sentinel`)?g:_};export{s as t};