import{e as r}from"./index-8Yb0GG_8.js";/**
 * @license lucide-react v1.16.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const c=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],h=r("refresh-cw",c);function d(o){const a=new Date,f=new Date(o),n=a.getTime()-f.getTime(),e=Math.floor(n/6e4);if(e<1)return"Ahora";if(e<60)return`Hace ${e} min`;const t=Math.floor(e/60);return t<24?`Hace ${t}h`:`Hace ${Math.floor(t/24)}d`}export{h as R,d as f};
