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

const targetStr = 'Ve("vouchers"';
const idx = content.indexOf(targetStr);
if (idx !== -1) {
  console.log("Found Ve('vouchers') call:");
  console.log(content.substring(idx - 100, idx + 500));
} else {
  console.log("Ve('vouchers') call not found directly, searching 'Ve('");
  let pos = 0;
  let count = 0;
  while ((pos = content.indexOf('Ve(', pos)) !== -1 && count < 20) {
    console.log(content.substring(pos, content.indexOf(')', pos) + 1));
    pos += 3;
    count++;
  }
}
