{"version":3,"file":"debounce.util-CkklCk5j.js","sources":["../../../Frontend/utils/debounce.util.ts"],"sourcesContent":["export const debounce = (func: (event: E) => void, wait: number): ((event: E) => void) => {\r\n let timeoutID: number | undefined\r\n\r\n return function (this: unknown, event: E): void {\r\n if (timeoutID !== undefined) {\r\n clearTimeout(timeoutID)\r\n }\r\n\r\n timeoutID = window.setTimeout(() => {\r\n func.call(this, event)\r\n }, wait)\r\n }\r\n}\r\n"],"names":["debounce","func","wait","timeoutID","event"],"mappings":"AAAa,MAAAA,EAAW,CAAkBC,EAA0BC,IAAuC,CACrG,IAAAC,EAEJ,OAAO,SAAyBC,EAAgB,CAC1CD,IAAc,QAChB,aAAaA,CAAS,EAGZA,EAAA,OAAO,WAAW,IAAM,CAC7BF,EAAA,KAAK,KAAMG,CAAK,GACpBF,CAAI,CACT,CACF"}