��多媒体缓存数据...</p>
    </div>
</div>

<script>
    let mediaCacheData = {};
    const mediaListDiv = document.getElementById('mediaList');
    const saveButton = document.getElementById('saveButton');

    saveButton.addEventListener('click', handleSave);

    function guessMimeType(base64String) {
        if (base64String.startsWith('/9j/')) return 'image/jpeg';
        if (base64String.startsWith('iVBOR')) return 'image/png';
        if (base64String.startsWith('R0lGOD')) return 