/* COPYRIGHT ANSYS. ALL RIGHTS RESERVED */
define("jqx/closePopups",["jquery","jqx/jqxcheckbox","jqx/jqxdropdownlist"],function(n){var t=n.fn.jqxCheckBox,i=n.fn.jqxDropDownList;n.fn.jqxCheckBox=function(){var n=this[0];return n.__aim||(n.__aim=!0,n.addEventListener("mousedown",function(){var n=document.createEvent("Events");n.initEvent("closePopups",!0,!1);document.dispatchEvent(n)},!1)),t.apply(this,arguments)};n.fn.jqxDropDownList=function(){return this.attr("data-aim-dropdownlist",!0),i.apply(this,arguments)};n(document).on("closePopups",function(){n("[data-aim-dropdownlist]").jqxDropDownList("close")})})