const fs = require('fs');
const content = fs.readFileSync('dist/assets/index-D9sWWWv_.js', 'utf8');

let idx = 0;
let count = 0;
while ((idx = content.indexOf('setTimeout', idx)) !== -1) {
  count++;
  console.log(`\n[setTimeout #${count}] Index: ${idx}`);
  console.log(content.substring(idx - 100, idx + 400).replace(/\n/g, ' '));
  idx += 'setTimeout'.length;
}
