(()=>{function t(t,n,e){var o=[];function i(t){return-1<o.indexOf(t)}_.assign(this,{toggle:function(t){{var n;i(t)?(n=o.indexOf(t),o.splice(n,1)):o.push(t)}},isOpen:i,statusClass:function(t){return t&&e.getStyle(t)&&e.getStyle(t).cls},statusIcon:function(t){return t&&e.getStyle(t)&&e.getStyle(t).icon},getTextAreaRows:function(t){return Math.min(10,t?t.split(/\r\n|\r|\n/).length:1)},cancel:e.cancel,getStandardKeys:e.getStandardKeys,getNonStandardKeys:function(t){return _.without(e.getNonStandardKeys(t),"c8y_Command")}})}t.$inject=["$routeParams","$location","c8yDeviceControl"],angular.module("c8y.ui").component("c8yUiOperationsTimeline",{templateUrl:":::PLUGIN_PATH:::/ui/operations/operations-timeline.html",controllerAs:"vm",controller:t,bindings:{operations:"<"}})})();