import{a as e,n as t}from"./jsx-runtime-CutOxEx1.js";import{a as n,d as r,i,l as a,m as o}from"./taskStore-B6nkxJKo.js";var s=e(t(),1);function c(){return(0,s.useSyncExternalStore)(o,r,r)}function l(e){return(0,s.useSyncExternalStore)(o,()=>a(e),()=>void 0)}function u(){return(0,s.useSyncExternalStore)(o,()=>{let e=n(),t=i();return d.unseenDone===e&&d.running===t?d:d={unseenDone:e,running:t}},()=>d)}var d={unseenDone:0,running:0};export{u as n,l as r,c as t};