<commit_before>import React from 'react';
import { connect } from 'react-redux';
import { Link } from 'react-router';
import ActionSearch from 'material-ui/svg-icons/action/search';
import { Toolbar, ToolbarGroup } from 'material-ui/Toolbar';
import IconButton from 'material-ui/IconButton';
import ActionSettings from 'material-ui/svg-icons/action/settings';
// import FlatButton from 'material-ui/FlatButton';
// import IconButton from 'material-ui/IconButton/IconButton';
// import MoreVertIcon from 'material-ui/svg-icons/navigation/more-vert';
// import MenuItem from 'material-ui/MenuItem';
// import IconMenu from 'material-ui/IconMenu';
// import AppBar from 'material-ui/AppBar';
import Bug from 'material-ui/svg-icons/action/bug-report';
import strings from 'lang';
import { LocalizationMenu } from 'components/Localization';
import Dropdown from 'components/Header/Dropdown';
import Announce from 'components/Announce';
import AccountWidget from '../AccountWidget';
import styles from './Header.css';
import SearchForm from '../Search/SearchForm';
import AppLogo from '../App/AppLogo';
import BurgerMenu from '../BurgerMenu';

const tablet = 864;
const mobile = 425;

const REPORT_BUG_PATH = '//github.com/odota/ui/issues';

const navbarPages = [
  <Link key={strings.header_matches} to="/matches">{strings.header_matches}</Link>,
  <Link key={strings.header_heroes} to="/heroes">{strings.header_heroes}</Link>,
  <Link key={strings.header_distributions} to="/distributions">{strings.header_distributions}</Link>,
  <Link key={strings.header_explorer} to="/explorer">{strings.header_explorer}</Link>,
];

const burgerItems = width => [
  {
    component: <AccountWidget key={0} />,
    close: true,
  },
  {
    component: width <= mobile ? <LocalizationMenu /> : null,
  },
  ...navbarPages.map(item => ({
    component: item,<commit_msg>add assistant to navbar<commit_after>import React from 'react';
import { connect } from 'react-redux';
import { Link } from 'react-router';
import ActionSearch from 'material-ui/svg-icons/action/search';
import { Toolbar, ToolbarGroup } from 'material-ui/Toolbar';
import IconButton from 'material-ui/IconButton';
import ActionSettings from 'material-ui/svg-icons/action/settings';
// import FlatButton from 'material-ui/FlatButton';
// import IconButton from 'material-ui/IconButton/IconButton';
// import MoreVertIcon from 'material-ui/svg-icons/navigation/more-vert';
// import MenuItem from 'material-ui/MenuItem';
// import IconMenu from 'material-ui/IconMenu';
// import AppBar from 'material-ui/AppBar';
import Bug from 'material-ui/svg-icons/action/bug-report';
import strings from 'lang';
import { LocalizationMenu } from 'components/Localization';
import Dropdown from 'components/Header/Dropdown';
import Announce from 'components/Announce';
import AccountWidget from '../AccountWidget';
import styles from './Header.css';
import SearchForm from '../Search/SearchForm';
import AppLogo from '../App/AppLogo';
import BurgerMenu from '../BurgerMenu';

const tablet = 864;
const mobile = 425;

const REPORT_BUG_PATH = '//github.com/odota/ui/issues';

const navbarPages = [
  <Link key={strings.header_matches} to="/matches">{strings.header_matches}</Link>,
  <Link key={strings.header_heroes} to="/heroes">{strings.header_heroes}</Link>,
  <Link key={strings.header_distributions} to="/distributions">{strings.header_distributions}</Link>,
  <Link key={strings.header_explorer} to="/explorer">{strings.header_explorer}</Link>,
  <Link key="Assistant" to="/assistant">Assistant</Link>,
];

const burgerItems = width => [
  {
    component: <AccountWidget key={0} />,
    close: true,
  },
  {
    component: width <= mobile ? <LocalizationMenu /> : null,
  },
  ...navbarPages.map(item => ({
    component: item,
{'fraction_non_alphanumeric': 0.1515392781316348, 'fraction_numerical': 0.0037154989384288748, 'mean_word_length': 5.108589951377634, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6119365', 'n_tokens_mistral': 1132, 'n_tokens_neox': 1113, 'n_words': 269}