(()=>{function t(t,e){var i=this;_.assign(i,{title:t("Certificate deactivation"),deactivateCertificate:function(){i.deactivationStarted=!0,e.deactivateCertificate().then(function(t){i.redirectUrl=_.get(t,"redirectUrl")}).catch(i.modalInstance.close)},deactivationStarted:!1})}t.$inject=["gettext","manageCertificateSvc"],angular.module("c8y.enterpriseEdition").component("c8yCertificateDeactivation",{templateUrl:":::PLUGIN_PATH:::/sslCertificate/certificateDeactivation.html",bindings:{modalInstance:"<"},controller:t,controllerAs:"vm"})})();