(()=>{function t(e,n){var i=this;_.assign(i,{$onDestroy:function(){n.clearTitleElement()},$onChanges:function(t){(t.title||t.subtitle)&&(i.title||i.subtitle)&&n.changeTitle(_.pick(i,"title","subtitle"))},$postLink:function(){var t=e.find(".transclude-container");t.contents().length&&n.setTitleElement(t)}})}t.$inject=["$element","c8yTitle"],angular.module("c8y.ui").component("c8yUiTitleSet",{transclude:!0,template:'<div class="transclude-container" style="display:none" ng-transclude></div>',bindings:{title:"<",subtitle:"<"},controllerAs:"vm",controller:t})})();