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

const keywords = [
  "Daftar Secret",
  "Pelanggan PPPoE",
  "Secret PPPoE",
  "Profil PPPoE",
  "PPPoE Active",
  "pppoe_profiles",
  "pppoe-profiles",
  "sync-pppoe-secrets",
  "auto_billing_config",
  "gracePeriod"
];

keywords.forEach(keyword => {
  let idx = 0;
  let offsets = [];
  while ((idx = content.indexOf(keyword, idx)) !== -1) {
    offsets.push(idx);
    idx += keyword.length;
  }
  console.log(`Keyword "${keyword}": found ${offsets.length} times at offsets:`, offsets);
});
