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

const keyword = 'O([...';
let idx = 0;
const matches = [];
while ((idx = content.indexOf(keyword, idx)) !== -1) {
  matches.push(idx);
  idx += keyword.length;
}

console.log(`Found "${keyword}" occurrences: ${matches.length}`);
matches.forEach(m => {
  console.log(`At offset ${m}:`);
  console.log(content.substring(m - 100, m + 300));
});
