name : privacycheck-es5.min.js
(function(){"use strict";/**
 * @copyright  (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */(function(e){var p=function(){var c=Joomla.getOptions("js-privacy-check"),u=c.plg_quickicon_privacycheck_ajax_url,v=c.plg_quickicon_privacycheck_url,t=c.plg_quickicon_privacycheck_text,a=e.getElementById("plg_quickicon_privacycheck"),r=a.querySelector("span.j-links-link");Joomla.enqueueRequest({url:u,method:"GET",promise:!0}).then(function(_){var E=_.responseText,i=JSON.parse(E);if(i.data.number_urgent_requests){var l=e.createElement("span");l.classList.add("badge","text-dark","bg-light"),l.textContent=i.data.number_urgent_requests,r.textContent=t.REQUESTFOUND+" ",r.appendChild(l),a.classList.add("danger");var o=e.createElement("span");o.classList.add("label","label-important"),o.textContent=t.REQUESTFOUND_MESSAGE.replace("%s",i.data.number_urgent_requests)+" ";var s=e.createElement("button");s.classList.add("btn","btn-primary","btn-sm"),s.setAttribute("onclick","document.location='"+v+"'"),s.textContent=t.REQUESTFOUND_BUTTON;var n=e.createElement("div");n.classList.add("alert","alert-error","alert-joomlaupdate"),n.appendChild(o),n.appendChild(s);var d=e.querySelector("#system-message-container");d.insertBefore(n,d.firstChild)}else a.classList.add("success"),r.textContent=t.NOREQUEST}).catch(function(){a.classList.add("danger"),r.textContent=t.ERROR})};window.addEventListener("load",function(){setTimeout(p,360)})})(document)})();

© 2025 Cubjrnet7