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

const targetStr = 'n==="reports"';
const idx = content.indexOf(targetStr);
if (idx !== -1) {
  console.log("Found n==='reports' at index", idx);
  // Let's print 12,000 characters before this index
  console.log(content.substring(idx - 12000, idx));
} else {
  console.log("n==='reports' not found");
}
