/*!
 * Built by Revolist OU ❤️
 */
import{d as i}from"./debounce.js";import{c as n}from"./toNumber.js";function r(r,t,o){var e=!0,a=!0;if("function"!=typeof r)throw new TypeError("Expected a function");return n(o)&&(e="leading"in o?!!o.leading:e,a="trailing"in o?!!o.trailing:a),i(r,t,{leading:e,maxWait:t,trailing:a})}export{r as t}