{"ast":null,"code":"// Corresponds to 10 frames at 60 Hz.\n// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.\nexport default function debounce(func, wait = 166) {\n  let timeout;\n\n  function debounced(...args) {\n    const later = () => {\n      func.apply(this, args);\n    };\n\n    clearTimeout(timeout);\n    timeout = setTimeout(later, wait);\n  }\n\n  debounced.clear = () => {\n    clearTimeout(timeout);\n  };\n\n  return debounced;\n}","map":{"version":3,"sources":["C:/laragon/www/iot.mksolusi/DriverOPCDA/frontend/node_modules/@material-ui/data-grid/node_modules/@material-ui/utils/esm/debounce.js"],"names":["debounce","func","wait","timeout","debounced","args","later","apply","clearTimeout","setTimeout","clear"],"mappings":"AAAA;AACA;AACA,eAAe,SAASA,QAAT,CAAkBC,IAAlB,EAAwBC,IAAI,GAAG,GAA/B,EAAoC;AACjD,MAAIC,OAAJ;;AAEA,WAASC,SAAT,CAAmB,GAAGC,IAAtB,EAA4B;AAC1B,UAAMC,KAAK,GAAG,MAAM;AAClBL,MAAAA,IAAI,CAACM,KAAL,CAAW,IAAX,EAAiBF,IAAjB;AACD,KAFD;;AAIAG,IAAAA,YAAY,CAACL,OAAD,CAAZ;AACAA,IAAAA,OAAO,GAAGM,UAAU,CAACH,KAAD,EAAQJ,IAAR,CAApB;AACD;;AAEDE,EAAAA,SAAS,CAACM,KAAV,GAAkB,MAAM;AACtBF,IAAAA,YAAY,CAACL,OAAD,CAAZ;AACD,GAFD;;AAIA,SAAOC,SAAP;AACD","sourcesContent":["// Corresponds to 10 frames at 60 Hz.\n// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.\nexport default function debounce(func, wait = 166) {\n  let timeout;\n\n  function debounced(...args) {\n    const later = () => {\n      func.apply(this, args);\n    };\n\n    clearTimeout(timeout);\n    timeout = setTimeout(later, wait);\n  }\n\n  debounced.clear = () => {\n    clearTimeout(timeout);\n  };\n\n  return debounced;\n}"]},"metadata":{},"sourceType":"module"}