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

const target = "Aktivasi Pembayaran";
let idx = 0;
while ((idx = content.indexOf(target, idx)) !== -1) {
  console.log(`\n--- Match at ${idx} ---`);
  // Print some context around the match to see if there's any setTimeout/setInterval or other triggers
  console.log(content.substring(idx - 1000, idx + 1000));
  idx += target.length;
}
