CoreFiles by mySites.guru
admin-system-loader.min.js1 lines, 1,110 bytes, from Joomla_4.2.7-Stable-Full_Package.zip
Raw History Compare with 4.2.6
md5
43ff080a05c656dedc3d31763cd2f115
sha1
a21ca1e60b6547cdd2335229558a46b3cd535b7f
sha256
a606eb5142f7964f09790354f33a7642e61269a5e9ddc4d2c05fc625c2a3e0c4
((e,s)=>{const t=()=>{window.removeEventListener("load",t);const a=[].slice.call(e.querySelectorAll(".system-counter"));a.length&&a.forEach((t=>{const a=t.getAttribute("data-url");a&&s&&s.request&&"function"==typeof s.request&&s.enqueueRequest({url:a,method:"POST",promise:!0}).then((a=>{const n=a.responseText;let c;try{c=JSON.parse(n)}catch(e){throw new Error("Failed to parse JSON")}if(c.error||!c.success)t.classList.remove("icon-spin"),t.classList.remove("icon-spinner"),t.classList.add("text-danger"),t.classList.add("icon-remove");else if(c.data){const a=e.createElement("span");a.classList.add("float-end"),a.classList.add("badge"),a.classList.add("bg-warning","text-dark"),a.innerHTML=s.sanitizeHtml(c.data),t.parentNode.replaceChild(a,t)}else t.classList.remove("icon-spin"),t.classList.remove("icon-spinner"),t.classList.add("icon-check"),t.classList.add("text-success")})).catch((()=>{t.classList.remove("icon-spin"),t.classList.remove("icon-spinner"),t.classList.add("text-danger"),t.classList.add("icon-remove")}))}))};window.addEventListener("load",(()=>{setTimeout(t,300)}))})(document,Joomla);

The same content is in 56 releases, Joomla 4.2.0-rc1 to 5.0.0. See them all, or every version of this file.