text: "use strict";
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  Object.defineProperty(exports, "__esModule", { value: true });
  var core_1 = require("@angular/core");
  var platform_browser_1 = require("@angular/platform-browser");
  var forms_1 = require("@angular/forms");
  var platform_browser_dynamic_1 = require("@angular/platform-browser-dynamic");
  var http_1 = require("@angular/http");
  var http_2 = require("@angular/common/http");
  var router_1 = require("@angular/router");
  var common_1 = require("@angular/common");
  var ng_bootstrap_1 = require("@ng-bootstrap/ng-bootstrap");
  // forms handling and validation
  var Svogv = require("svogv");
  // components
  var directives = require("./directives/index");
  var components = require("./components/index");
  var siteroot_component_1 = require("./pages/siteroot.component");
  var page_dashboard_component_1 = require("./pages/dashboard/page-dashboard.component");
  var page_options_component_1 = require("./pages/options/page-options.component");
  var registration_form_component_1 = require("./pages/registration-form/registration-form.component");
  var login_form_component_1 = require("./pages/login/login-form.component");
  // bootstrap 
  var Ng = require("@ng-bootstrap/ng-bootstrap");
  // services
  var services = require("./services/index");
  // routers and guards
  var routes_1 = require("./configurations/routes");
  var index_1 = require("./guards/index");
  var AppRoot = (function () {
      function AppRoot() {
      }
      AppRoot = __decorate([
          core_1.NgModule({
              declarations: [
                  siteroot_component_1.SiteRootComponent,
                  page_dashboard_component_1.PageDashboardComponent,
                  page_options_component_1.PageOptionsComponent,
                  registration_form_component_1.PageRegistrationComponent,
                  login_form_component_1.PageLoginComponent,
                  components.SiteHeaderComponent,
                  components.SiteSidebarComponent,
                  components.SitePageHeaderComponent,
                  components.SiteStatComponent,
                  components.ModalComponent,
                  components.PaginationComponent,
                  components.PopOverComponent,
                  components.ProgressbarComponent,
                  components.AlertComponent,
                  components.ButtonsComponent,
                  components.CollapseComponent,
                  components.DropdownComponent,
                  components.TableComponent,
                  components.TabsComponent,
                  components.TimepickerComponent,
                  components.TooltipComponent,
                  components.SiteChartComponent,
                  Svogv.AcDataGridPagination,
                  Svogv.AcAutoForm,
                  Svogv.AcAnalogClock,
                  Svogv.AcEditor,
                  Svogv.AcInfoBox,
                  directives.RemoveHostDirective,
                  Ng.NgbAccordion,
                  Ng.NgbAlert,
                  Ng.NgbCarousel,
                  Ng.NgbCheckBox,
                  Ng.NgbCollapse,
                  Ng.NgbPanelContent,
                  Ng.NgbTooltip,
                  Ng.NgbTab,
                  Ng.NgbRating,
                  Ng.NgbPagination,
                  Ng.NgbProgressbar,
                  Ng.NgbTabset,
                  Ng.NgbTimepicker
              ],
              providers: [
                  services.ApiService,
                  services.EmitterService,
                  services.AccountService,
                  services.UserService,
                  services.ConfigService,
                  { provide: common_1.LocationStrategy, useClass: common_1.HashLocationStrategy },
                  { provide: http_1.XHRBackend, useClass: services.AuthenticateXHRBackend },
                  { provide: http_2.HTTP_INTERCEPTORS, useClass: services.TokenInterceptorService, multi: true },
                  Svogv.FormValidatorService,
                  Ng.NgbCarouselConfig,
                  Ng.NgbAlertConfig,
                  index_1.AuthGuard
              ],
              imports: [
                  platform_browser_1.BrowserModule,
                  forms_1.FormsModule,
                  forms_1.ReactiveFormsModule,
                  http_1.HttpModule,
                  router_1.RouterModule.forRoot(routes_1.default),
                  ng_bootstrap_1.NgbDropdownModule.forRoot()
              ],
              bootstrap: [siteroot_component_1.SiteRootComponent]
          }) // {} == new object()
      ], AppRoot);
      return AppRoot;
  }());
  platform_browser_dynamic_1.platformBrowserDynamic().bootstrapModule(AppRoot);
  //# sourceMappingURL=main.js.map