const fs = require('fs');
const lines = fs.readFileSync('d:/برنامج مخازن/app_final.js', 'utf8').split(/\r?\n/);

for (let i = 700; i < 1500; i++) {
    if (lines[i].includes('window.') && lines[i].includes('= function') || lines[i].includes('= async function')) {
        console.log(`Line ${i}: ${lines[i].trim()}`);
    }
}
