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

// Find occurrences of "custom_profiles"
let idx = 0;
while (true) {
    idx = content.indexOf("custom_profiles", idx);
    if (idx === -1) break;
    console.log(`Found "custom_profiles" at index ${idx}:`);
    console.log(content.substring(idx - 100, idx + 400));
    console.log("-----------------------");
    idx += "custom_profiles".length;
}
