<commit_before>import {Component, OnInit} from '@angular/core';
import {Routes, Router, ROUTER_DIRECTIVES} from '@angular/router';
import {HTTP_PROVIDERS} from '@angular/http';

import {MD_SIDENAV_DIRECTIVES} from '@angular2-material/sidenav/sidenav';
import {MD_LIST_DIRECTIVES} from '@angular2-material/list/list';
import {MD_CARD_DIRECTIVES} from '@angular2-material/card/card';
import {MdToolbar} from '@angular2-material/toolbar/toolbar';
import {MdButton} from '@angular2-material/button/button';
import {MdInput} from '@angular2-material/input/input';
import {MdCheckbox} from '@angular2-material/checkbox/checkbox';
import {MdRadioButton, MdRadioGroup, MdRadioDispatcher} from '@angular2-material/radio/radio';
import {MdIcon, MdIconRegistry} from '@angular2-material/icon/icon';

import {HomeComponent} from './+home/home.component';
import {AboutComponent} from './+about/about.component';
import {ProfileComponent} from './+profile/profile.component';
import {LoginComponent} from './+login/login.component';

import {Event, Session} from  './shared/backend.service';;
import {EventComponent} from './+sessions/event/event.component';
import {SessionListComponent} from './+sessions/session-list/session-list.component';
import {BackendService} from './shared/backend.service';
import {API_BASE_URL} from './shared/backend.service';
import {BackendMockService} from './shared/backendmock.service';
import {AuthService} from './shared/auth.service';
import {LoggerService} from './shared/logger.service';

@Component({
  //moduleId: module.id,
  selector: 'sd-app',
  templateUrl: '<%= ENV %>' === 'dev' ? './app/app.component.html': 'app.component.html', //FIX: remove ./app/ for PROD build
  styleUrls: [ '<%= ENV %>' === 'dev' ? './app/app.component.css': 'app.component.css'],  //FIX: remove ./app/ for PROD build
  directives: [
    ROUTER_DIRECTIVES,
    MD_SIDENAV_DIRECTIVES, MD_LIST_DIRECTIVES,
    MD_CARD_DIRECTIVES, MdToolbar, MdButton, MdInput,
    MdCheckbox, MdRadioGroup, MdRadioButton, MdIcon,
    EventComponent, SessionListComponent
  ],
  providers: [
    HTTP_PROVIDERS,
    MdIconRegistry, MdRadioDispatcher,
    BackendMockService, BackendService, AuthService, LoggerService,
    {provide: API_BASE_URL, useValue: '<%= ENV %>' === 'dev' ? 'http://localhost:6003': window.location.href}]
})
@Routes([
  { path: '/home', component: HomeComponent },
  { path: '/about', component: AboutComponent },
  { path: '/profile', component: ProfileComponent },<commit_msg>www2 route<commit_after>import {Component, OnInit} from '@angular/core';
import {Routes, Router, ROUTER_DIRECTIVES} from '@angular/router';
import {HTTP_PROVIDERS} from '@angular/http';

import {MD_SIDENAV_DIRECTIVES} from '@angular2-material/sidenav/sidenav';
import {MD_LIST_DIRECTIVES} from '@angular2-material/list/list';
import {MD_CARD_DIRECTIVES} from '@angular2-material/card/card';
import {MdToolbar} from '@angular2-material/toolbar/toolbar';
import {MdButton} from '@angular2-material/button/button';
import {MdInput} from '@angular2-material/input/input';
import {MdCheckbox} from '@angular2-material/checkbox/checkbox';
import {MdRadioButton, MdRadioGroup, MdRadioDispatcher} from '@angular2-material/radio/radio';
import {MdIcon, MdIconRegistry} from '@angular2-material/icon/icon';

import {HomeComponent} from './+home/home.component';
import {AboutComponent} from './+about/about.component';
import {ProfileComponent} from './+profile/profile.component';
import {LoginComponent} from './+login/login.component';

import {Event, Session} from  './shared/backend.service';;
import {EventComponent} from './+sessions/event/event.component';
import {SessionListComponent} from './+sessions/session-list/session-list.component';
import {BackendService} from './shared/backend.service';
import {API_BASE_URL} from './shared/backend.service';
import {BackendMockService} from './shared/backendmock.service';
import {AuthService} from './shared/auth.service';
import {LoggerService} from './shared/logger.service';

@Component({
  //moduleId: module.id,
  selector: 'sd-app',
  templateUrl: '<%= ENV %>' === 'dev' ? './app/app.component.html': 'app.component.html', //FIX: remove ./app/ for PROD build
  styleUrls: [ '<%= ENV %>' === 'dev' ? './app/app.component.css': 'app.component.css'],  //FIX: remove ./app/ for PROD build
  directives: [
    ROUTER_DIRECTIVES,
    MD_SIDENAV_DIRECTIVES, MD_LIST_DIRECTIVES,
    MD_CARD_DIRECTIVES, MdToolbar, MdButton, MdInput,
    MdCheckbox, MdRadioGroup, MdRadioButton, MdIcon,
    EventComponent, SessionListComponent
  ],
  providers: [
    HTTP_PROVIDERS,
    MdIconRegistry, MdRadioDispatcher,
    BackendMockService, BackendService, AuthService, LoggerService,
    {provide: API_BASE_URL, useValue: '<%= ENV %>' === 'dev' ? 'http://localhost:6003': window.location.href}]
})
@Routes([
  { path: '/www2', component: HomeComponent },
  { path: '/home', component: HomeComponent },
  { path: '/about', component: AboutComponent },
  { path: '/profile', component: ProfileComponent },
{'fraction_non_alphanumeric': 0.1596421471172962, 'fraction_numerical': 0.005566600397614314, 'mean_word_length': 5.645970937912813, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7544475', 'n_tokens_mistral': 1605, 'n_tokens_neox': 1580, 'n_words': 349}