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

// Let's search for pattern like "useState" where "k" is the state
let idx = 0;
while ((idx = content.indexOf('useState', idx)) !== -1) {
  const substring = content.substring(idx - 100, idx + 100);
  if (substring.includes('k,') || substring.includes(',k')) {
    console.log(`Found 'useState' with 'k' at index ${idx}:`);
    console.log(substring);
    console.log('------------------------------------------------');
  }
  idx += 8;
}
