const fs = require('fs');
const content = fs.readFileSync('./dist/server.cjs', 'utf8');

const targetIdx = content.indexOf('function parseProfileMetadata');
if (targetIdx !== -1) {
    console.log("Found parseProfileMetadata at index:", targetIdx);
    console.log(content.substring(targetIdx, targetIdx + 2000));
} else {
    console.log("Not found");
}
