(()=>{function e(p,g,r){return function(e){var t,n,a,i;return e?(t=p.get("gettextCatalog"),n=e,i=p.get("c8yApplication").parseAppName,a=g("humanize"),n=(e=>_.find(e,_.negate(_.isUndefined)))([_.get(n,"name"),_.get(n,"contextPath"),"string"==typeof n?n:void 0,r("<no name>")]),a=a(i(n)),i=Boolean(_.get(e,"public"))?r("{{ appName | translate }} (public)"):a,t.getString(i,{appName:a})):""}}e.$inject=["$injector","$filter","gettext"],angular.module("c8y.ui").filter("humanizeAppName",e)})();