import{_ as i}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277711.js";import{r as n,j as e}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a2777.js";const c=n.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277764.js")),[]));function l({status:s,days:t=NaN}){return e.jsx(n.Suspense,{fallback:e.jsx(e.Fragment,{}),children:e.jsx(c,{days:t,status:s})})}const d=s=>{const t=new Date(s+"T00:00:00");t.setFullYear(t.getFullYear()+1);const a=new Date;a.setHours(0,0,0,0);const o=t.getTime()-a.getTime(),r=1440*60*1e3;return Math.ceil(o/r)};export{l as S,d};
