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

const regex = /\[[a-zA-Z0-9_]+,[a-zA-Z0-9_]+\]\s*=\s*[a-zA-Z0-9_]+\.useState\(\{\s*name:\s*""/g;
let match;
while ((match = regex.exec(content)) !== null) {
  console.log(`Found declaration at index ${match.index}:`);
  console.log(content.substring(match.index, match.index + 500));
}
