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

let idx = 0;
while (true) {
    idx = content.indexOf("hotspot-profiles", idx);
    if (idx === -1) break;
    console.log(`Found "hotspot-profiles" at index ${idx}:`);
    console.log(content.substring(idx - 200, idx + 500));
    console.log("-----------------------");
    idx += "hotspot-profiles".length;
}
