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

const keyword = 'custom_profiles';
let idx = 0;
while ((idx = content.indexOf(keyword, idx)) !== -1) {
  console.log(`=== Found ${keyword} at ${idx} ===`);
  console.log(content.substring(idx - 200, idx + 300));
  idx += keyword.length;
}
