import {BrowserModule} from '@angular/platform-browser';
import {FormsModule} from '@angular/forms';
import {HashLocationStrategy, LocationStrategy} from '@angular/common';
import {NgModule} from '@angular/core';
import {NgbCollapseModule} from '@ng-bootstrap/ng-bootstrap';

import {AppComponent} from './app.component';

import {AboutRuralAttractivenessExplorerComponent} from './pages/about-rural-attractiveness-explorer/about-rural-attractiveness-explorer.component';
import {AppRoutingModule} from './app-routing.module';
import {ComparingRuralAttractivenessComponent} from './pages/comparing-rural-attractiveness/comparing-rural-attractiveness.component';
import {DiscsModule} from './discs-chart/discs.module';
import {DotsModule} from './dots-chart/dots.module';
import {ExploringDynamicsComponent} from './pages/exploring-dynamics/exploring-dynamics.component';
import {ExploringImpactComponent} from './pages/exploring-impact/exploring-impact.component';
import {LandingPageComponent} from './pages/landing-page/landing-page.component';
import {MapModule} from './map-chart/map.module';
import {PolicyOptionsExplorerComponent} from './pages/policy-options-explorer/policy-options-explorer.component';
import {RegionalForesightComponent} from './pages/regional-foresight/regional-foresight.component';
import {RuralAttractivenessExplorerComponent} from './pages/rural-attractiveness-explorer/rural-attractiveness-explorer.component';
import {SystemDynamicsModellingComponent} from './pages/system-dynamics-modelling/system-dynamics-modelling.component';
import {TextMiningComponent} from './pages/text-mining/text-mining.component';

@NgModule({
  declarations: [
    AboutRuralAttractivenessExplorerComponent,
    AppComponent,
    ComparingRuralAttractivenessComponent,
    ExploringDynamicsComponent,
    ExploringImpactComponent,
    LandingPageComponent,
    PolicyOptionsExplorerComponent,
    RegionalForesightComponent,
    RuralAttractivenessExplorerComponent,
    SystemDynamicsModellingComponent,
    TextMiningComponent,
  ],
  imports: [
    AppRoutingModule,
    BrowserModule,
    FormsModule,
    DiscsModule,
    DotsModule,
    MapModule,
    NgbCollapseModule,
  ],
  providers: [{provide: LocationStrategy, useClass: HashLocationStrategy}],
  bootstrap: [AppComponent],
})
export class AppModule {}
