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

const startIdx = 1286622; // index of n==="settings"
const sub = content.substring(startIdx + 8000, startIdx + 25000);

// Find headers
let idx = 0;
while ((idx = sub.indexOf('</h3>', idx)) !== -1) {
  console.log(`Found h3 end at relative ${idx}:`);
  console.log(sub.substring(idx - 150, idx + 100));
  console.log('---------------------------');
  idx += 5;
}
