!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("buildbot-wsgi-dashboards",[],r):"object"==typeof exports?exports["buildbot-wsgi-dashboards"]=r():e["buildbot-wsgi-dashboards"]=r()}("undefined"!=typeof self?self:this,function(){return function(e){var r={};function o(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=e,o.c=r,o.d=function(e,r,t){o.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,r){if(1&r&&(e=o(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)o.d(t,n,function(r){return e[r]}.bind(null,n));return t},o.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(r,"a",r),r},o.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},o.p="",o(o.s=0)}([function(e,r,o){angular.module("wsgi_dashboards",new class WsgiDashboards{constructor(){return["ui.router","buildbot_config","guanlecoja.ui"]}}),o(1)},function(e,r){angular.module("wsgi_dashboards").config(["$stateProvider","glMenuServiceProvider","config",class WsgiDashboardsState{constructor(e,r,o){for(var t=0,n=Array.from(o.plugins.wsgi_dashboards);t<n.length;t++){var a=n[t],i=a.name,s=a.caption;null==s&&(s=_.capitalize(i)),null==a.order&&(a.order=5),r.addGroup({name:i,caption:s,icon:a.icon,order:a.order});var u={group:i,caption:s},l={controller:"wsgiDashboardsController",templateUrl:"wsgi_dashboards/".concat(i,"/index.html"),name:i,url:"/".concat(i),data:u};e.state(l)}}}]).controller("wsgiDashboardsController",["$scope","$state",class WsgiDashboardsController{constructor(e,r){}}])}])});
//# sourceMappingURL=scripts.js.map