const fs = require('fs');
const files = [
  'dist/assets/index-D9sWWWv_.js.bak-before-deploy-card-removal',
  'dist/assets/index-D9sWWWv_.js.bak-before-owner-mode-fix'
];

files.forEach(file => {
  if (fs.existsSync(file)) {
    const content = fs.readFileSync(file, 'utf8');
    const idx = content.indexOf('exList');
    if (idx !== -1) {
      console.log(`Found exList in ${file} at ${idx}:`);
      console.log(content.substring(idx - 100, idx + 800));
    } else {
      console.log(`exList not found in ${file}`);
    }
  }
});
