File size: 240 Bytes
3bb8d79 |
1 2 |
import{e as a,g as c,s as n,r as u,u as f,i as t,q as o}from"./BYqqIqIr.js";function m(i){let e=0,r=n(0),s;return()=>{a()&&(c(r),u(()=>(e===0&&(s=f(()=>i(()=>t(r)))),e+=1,()=>{o(()=>{e-=1,e===0&&(s?.(),s=void 0,t(r))})})))}}export{m as c};
|