define(["jquery","Marionette","underscore","./home/HomeCtrl","./process/ProcessCtrl","region/RegionManager","dictionary/Dictionary","utils/component/ComponentUtils","events/CtrlEvents"],function(a,b,c,d,e,f,g,h,i){return b.Application.extend({onStart:function(){window.CtrlEvents=i,window.componentUtils=h,window.dictionary=g,window.dictionary.init("en","en"),window.dictionaryGet=g.get,window.regionManager=f,window.processCtrl=new e,this.homeCtrl&&this.homeCtrl.close&&this.homeCtrl.close(),this.homeCtrl=new d,this.homeCtrl.show(),window.processCtrl.hideEl()},close:function(){this.homeCtrl&&this.homeCtrl.destroy&&this.homeCtrl.destroy(),window.processCtrl&&window.processCtrl.hideEl&&window.processCtrl.hideEl(),window.processCtrl&&window.processCtrl.destroy&&window.processCtrl.destroy()}})});