(()=>{function n(e){return{filterAndExtendWithStoredProperties:function(n,r){return(n=_(n).map(function(t){var n=_.find(r,function(n){return n.id===t.id});return n?_.assign({},n,t):t}).value()).length?n:void 0},getAssetLink:function(n){var t=e.isGroup(n)?"group":"device",r="";return r=_.has(n,"id")?"#/".concat(t,"/").concat(n.id):r}}}n.$inject=["c8yGroups"],angular.module("c8y.assets").factory("assetsSvc",n)})();