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

const regex = /function Ve\(|const Ve\s*=|Ve\s*=\s*\(/g;
let match;
while ((match = regex.exec(content)) !== null) {
  console.log(`Found Ve at index ${match.index}:`);
  console.log(content.substring(match.index - 100, match.index + 400));
  console.log('-'.repeat(50));
}
// If not found as definition, find usages of Ve(
const idx = content.indexOf('Ve(');
if (idx !== -1) {
  console.log('First usage of Ve(:');
  console.log(content.substring(idx - 100, idx + 300));
}
