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

// Find keywords like Laporan, Statistik, Pendapatan, Komisi
const keywords = ["Pendapatan", "Laporan", "Statistik", "Komisi", "used", "active", "expired"];
keywords.forEach(kw => {
  let idx = 0;
  console.log(`=== Keyword: ${kw} ===`);
  while ((idx = content.indexOf(kw, idx)) !== -1) {
    if (idx !== -1) {
      console.log(`Found at index ${idx}:`);
      console.log(content.substring(idx - 100, idx + 200));
      idx += kw.length;
    }
  }
});
