nnerHTML = `Error: ${error.message}`;
        console.error(error);
    }
}

async function extractFiles(arrayBuffer, url) {
    const files = [];
    const zip = await JSZip.loadAsync(arrayBuffer);
    for (const [name, file] of Object.entries(zip.files)) {
        const content = await file.async('text');
        files.push({ name, content });
    }
    return files;
}
</script>
</body>
</html>
