import{_ as i}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab11.js";import{r as n,j as e}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab.js";const c=n.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab65.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};
