(()=>{function e(e){var n={};return n.convertToSeconds=function(e,n){return e*n.multiplier},n.getTimeUnits=function(){return[{label:e("seconds"),value:"seconds",multiplier:1},{label:e("minutes"),value:"minutes",multiplier:60},{label:e("hours"),value:"hours",multiplier:3600}]},n.convertToUnits=function(e,n,t){return _.ceil(e*t/n.multiplier)},n}e.$inject=["gettext"],angular.module("c8y.trackerConfiguration").factory("UnitConversionHelperSvc",e)})();