function u(a,t){var t=t||1e3;let e;return function(){let l=arguments;e&&clearTimeout(e),e=setTimeout(()=>{e=null,a.apply(this,l)},t)}}function o(a,l){let t,e;var l=l||1e3;return function(){let n=this,i=arguments,r=+new Date;t&&r-t<l?(clearTimeout(e),e=setTimeout(()=>{t=r,a.apply(n,i)},l)):(t=r,a.apply(n,i))}}export{u as d,o as t};
