function c(e, i, l = !1) {
  let t;
  return function(...o) {
    const n = () => {
      t = null, l || e.apply(this, o);
    }, u = l && !t;
    t && clearTimeout(t), t = setTimeout(n, i), u && e.apply(this, o);
  };
}
export {
  c as d
};
//# sourceMappingURL=debounce-972af544.mjs.map
