ment.getElementById(`bar-${index}`).style.width = percent + "%";
                }
            };

            xhr.onload = () => {
                filesUploaded++;
                if (xhr.status === 200) {
                    try {
                        const data = JSON.parse(xhr.responseText);
                        uploadResponses.push(data);
                    } catch (e) {
                        alert("ÂìçÂ∫îÊ†ºÂºèÈîôËØØÔºö" + xhr.responseText);
                    }
      