$(document).ready((function(){let e=!1,t=!1,o=[];if(!document.getElementById("group-required-holder")||!document.getElementById("label-validation-groups"))return;o=JSON.parse($("#group-required-holder").attr("data-required-groups"));let n=document.getElementById("label-validation-groups"),d=document.getElementById("label-validation-icon");function i(){e=t=Object.keys(o).filter((function(e){return!1!==o[e]})).length>0,t?(n.classList.remove("chat-closed"),d.style.display="none"):(n.classList.add("chat-closed"),d.style.display="inline"),e?($("#save-button-action").prop("disabled",!1),$("#update-button-action").prop("disabled",!1)):($("#save-button-action").prop("disabled",!0),$("#update-button-action").prop("disabled",!0))}$('#group-required-holder input[type="checkbox"]').change((function(){$('#group-required-holder input[type="checkbox"]').each((function(){o[$(this).val()]=$(this).is(":checked")})),i()})),i()}));
//# sourceMappingURL=4e69374c693a965e67d622d710baa8c1.js.map
