{"version":3,"file":"js/scripts_libraries__utilities_throttle_js.js?_t=02e070e7633d527613c2","mappings":";;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAEA;AACA;AACA;AACA;AAAA;AAAA;AAEA","sources":["webpack://@mlssoccer/netcore/./scripts/libraries/_utilities/throttle.js"],"sourcesContent":["export const debounce = (fn, wait, immediate, context) => {\n let timeout;\n return (...args) => {\n const later = () => {\n timeout = null;\n if (!immediate) fn.apply(context, args);\n };\n const callNow = immediate && !timeout;\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n if (callNow) fn.apply(context, args);\n };\n};\n"],"names":[],"sourceRoot":""}