(()=>{function e(e,t){e.when("/device/:deviceId",{templateUrl:":::PLUGIN_PATH:::/views/index.html",priority:900,name:t("Measurements"),icon:"line-chart",controller:i,showIf:n}),e.when("/service/:deviceId",{templateUrl:":::PLUGIN_PATH:::/views/index.html",priority:900,name:t("Measurements"),icon:"line-chart",controller:i})}function i(t,e,i){t.device={},i.detailCached(e.deviceId).then(function(e){e=e.data;t.device=e})}function n(e){return e.getFeatureStatePromise("ui.datapoint-explorer.v2").then(function(e){return!e})}n.$inject=["c8yFeatureCacheService"],i.$inject=["$scope","$routeParams","c8yDevices"],e.$inject=["c8yViewsProvider","gettext"],angular.module("c8y.parts.measurements",[]).config(e)})();