(()=>{function e(t,e,r,i,n,c,s){function a(e){return _.filter(e,function(e){return e.c8y_IsDeviceGroup||n.isProbablyDevice(e)})}function o(e){t.items=e}var l;e.s&&(l=e.s,i.list({text:l,pageSize:1e3}).then(a).then(o),i=e.s,r.changeTitle({title:c("Search all"),subtitle:s.getString('searching "{{expression}}"',{expression:i})})),t.hideAddAsset=!0,t.inSearchMode=!0}e.$inject=["$scope","$routeParams","c8yTitle","c8yInventory","c8yDevices","gettext","gettextCatalog"],angular.module("c8y.groupsHierarchy").controller("assetSearchCtrl",e)})();