!function(){"use strict";Joomla=window.Joomla||{},function(t){document.addEventListener("DOMContentLoaded",(function(){t.submitbutton=function(e){if("groups.delete"===e)for(var n=document.getElementsByName("cid[]"),o=0;o<n.length;o+=1)if(n[o].checked&&"0"!==n[o].parentNode.getAttribute("data-usercount"))return window.confirm(t.Text._("COM_USERS_GROUPS_CONFIRM_DELETE"))&&t.submitform(e),!1;return t.submitform(e),!1}}))}(Joomla)}();