!function(t){var e;"object"==typeof module&&"object"==typeof module.exports?void 0!==(e=t(require,exports))&&(module.exports=e):"function"==typeof define&&define.amd&&define(["require","exports","angularAnimate","angular"],t)}(function(l,t){var u=l("angular");return function(t,e,n){var o=!1,s=this,i={stack:{},ready:{bootstrap:!1},on:function(t,e){this.ready[t]?e():(this.stack[t]||(this.stack[t]=[]),this.stack[t].push(e))},trigger:function(t){if(this.stack[t])for(var e in this.stack[t]){e=this.stack[t][e];try{e()}catch(t){}}this.ready[t]||(this.ready[t]=!0)}},r=(this.eventBind=function(t,e){i.on(t,e)},this.eventTrigger=function(t){i.trigger(t)},{}),c=(this.data=function(t,e){return e?("delete"==e?delete r[t]:r[t]=e,s):r[t]||!1},{}),a={};this.registerScope=function(t,e,n){if(c[t]={scope:e,args:n||[]},a[t])for(var o in a[t])a[t][o]&&u.isFunction(a[t][o])&&(a[t][o].apply(c[t].scope,c[t].args),a[t][o].prototype.once&&delete a[t][o])},this.whenScope=function(t,e,n){a[t]||(a[t]=[]),n&&(e.prototype.once=!0),a[t].indexOf(e)<0&&a[t].push(e)},this.forScope=function(e,t){if(c[e])try{c[e].scope.$applyAsync(function(){t.apply(c[e].scope,c[e].args)})}catch(t){console.log("$scope "+e+" not available, action ignored."),console.log(t)}else console.log("$scope "+e+" not available, action ignored.")},this.offScope=function(t,e){e?a[t]&&-1<a[t].indexOf(e)&&a[t].splice(a[t].indexOf(e),1):a[t]&&delete a[t]},this.scopeApply=function(t,e){e=e||function(){},t.$applyAsync(function(){e.call(t)})},this.moduleLoad=null,this.pageInjector=null,this.register=null,this.bootstrap=null,this.angular=u.module(t,e.concat(["ngAnimate"])),this.angular.factory("$locationParams",function(){var n,o;return{params:{get from_url(){return n},get to_url(){return o}},setParams:function(t,e){n=e,o=t}}}).run(["$rootScope","$templateCache","$q","$http","$injector",function(t,a,e,n,o){s.moduleLoad=function(t,e){var n={js:(e=e||{}).js||"js/modules/"+t,html:void 0!==e.html?e.html:"views/modules/"+t,css:void 0!==e.css?e.css:"css/modules/"+t,success:e.success||u.noop,failed:e.failed||u.noop,skiptemplatecache:e.skiptemplatecache||!1},o={css:!1,html:!1,js:!1,ctrl:null},i=t+".mode",r=function(t){u.extend(o,t),o.js&&o.css&&o.html&&(n.html?c(n.skiptemplatecache||a.get(i)?i:null,o.ctrl,n.skiptemplatecache?t.htmltpl:null):c(o.ctrl))},c=n.success||u.noop,s=n.failed||u.noop;l([n.js],function(t){var e;r({js:!0,ctrl:t||null}),a.get(i)&&!n.skiptemplatecache||!n.html?r({html:!0}):((t=n.html).indexOf(".html")!==t.length-".html".length&&(t+=".html"),((e=requirejs.s.contexts._.config).map["*"]&&e.map["*"][n.html]||e.paths[n.html])&&!l.specified("text!"+t)&&(t=n.html),l(["text!"+t],function(t){n.skiptemplatecache||a.put(i,t),r({html:!0,htmltpl:n.skiptemplatecache?t:null})},function(t){r({html:!0}),console.error(t)}))},function(t){console.error(t),s(t.xhr)}),n.css?l(["css!"+n.css],function(t){r({css:!0})},function(t){r({css:!0})}):r({css:!0})},s.pageInjector=o}]).config(["$controllerProvider","$compileProvider","$filterProvider","$animateProvider","$provide",function(n,o,i,r,c){s.register={controller:function(t,e){return n.register(t,e),s},directive:function(t,e){return o.directive(t,e),s},filter:function(t,e){return i.register(t,e),s},factory:function(t,e){return c.factory(t,e),s},service:function(t,e){return c.service(t,e),s},constant:function(t,e){return c.constant(t,e),s},value:function(t,e){return c.value(t,e),s},animation:function(t,e){return r.register(t,e),s},provider:function(t,e){return c.provider(t,e),s}}}]).config(["$animateProvider",function(t){t.classNameFilter(/ng-animate-enabled/)}]),s.bootstrap=function(){o||(u.bootstrap(document,[t]),i.trigger("bootstrap"),o=!0)},n||o||s.bootstrap()}});