import{e as n}from"./chunk-DfTn_VfD.js";import{m as r,z as u,x as s,y as a}from"./chunk-DhYw-kuD.js";function f(){let e;const o=r();function t(){e=void 0}return u(t),s(t),{removeTick:t,registerTick(i){e=i,a(()=>{e===i&&(n(o)===!1&&e(),e=void 0)})}}}function T(){let e=null;const o=r();function t(){e!==null&&(clearTimeout(e),e=null)}return u(t),s(t),{removeTimeout:t,registerTimeout(i,m){t(),n(o)===!1&&(e=setTimeout(()=>{e=null,i()},m))}}}export{T as a,f as u};
