<commit_before>import React from 'react';
import { BrowserRouter as Router, Route } from 'react-router-dom';
import  { Breakpoint, BreakpointProvider } from 'react-socks';
import './App.css';
import AddWordsPage from './addWords/AddWordsPage';
import { TranslationsPageWithRouter } from './translations/TranslationsPage';
import ContributionsPage from './contributions/ContributionsPage';
import ThemePage from './theme/ThemePage';
import AuthUtils from './utils/AuthUtils';
import SharingPage from './sharing/SharingPage';
import ManagementPage from './management/ManagementPage';
import Header from './header/Header';
import NavMenu from './navmenu/NavMenu';
import Button from "@material-ui/core/Button";

const ROUTES = {
  ADD_WORDS: '/add-words',
  TRANSLATIONS: '/',
  CONTRIBUTIONS: '/user-contributions',
  THEME: '/theme',
  SHARING: '/sharing',
  MANAGEMENT: '/management',
};

//Note: When SIGNIN_ASSET is an external URL, it may not show up on browsers in content blocking mode (tracking protection)

const SIGNIN_ASSET = "https://developers.google.com/identity/images/btn_google_signin_light_normal_web.png";
const WOOLAROO_URL = "https://experiments.withgoogle.com/woolaroo"
const WOOLAROO_IMG = "https://storage.googleapis.com/barnard-public-assets/woolaroo_logo.png";
const LANDING_IMG = WOOLAROO_IMG;


class App extends React.Component {
  constructor(props) {
    super(props);

    this.authUtils_ = new AuthUtils();

    this.state = {<commit_msg>Make Woolaroo redirection url go to base url<commit_after>import React from 'react';
import { BrowserRouter as Router, Route } from 'react-router-dom';
import  { Breakpoint, BreakpointProvider } from 'react-socks';
import './App.css';
import AddWordsPage from './addWords/AddWordsPage';
import { TranslationsPageWithRouter } from './translations/TranslationsPage';
import ContributionsPage from './contributions/ContributionsPage';
import ThemePage from './theme/ThemePage';
import AuthUtils from './utils/AuthUtils';
import SharingPage from './sharing/SharingPage';
import ManagementPage from './management/ManagementPage';
import Header from './header/Header';
import NavMenu from './navmenu/NavMenu';
import Button from "@material-ui/core/Button";

const ROUTES = {
  ADD_WORDS: '/add-words',
  TRANSLATIONS: '/',
  CONTRIBUTIONS: '/user-contributions',
  THEME: '/theme',
  SHARING: '/sharing',
  MANAGEMENT: '/management',
};

//Note: When SIGNIN_ASSET is an external URL, it may not show up on browsers in content blocking mode (tracking protection)

const SIGNIN_ASSET = "https://developers.google.com/identity/images/btn_google_signin_light_normal_web.png";
const WOOLAROO_URL = "/";
const WOOLAROO_IMG = "https://storage.googleapis.com/barnard-public-assets/woolaroo_logo.png";
const LANDING_IMG = WOOLAROO_IMG;


class App extends React.Component {
  constructor(props) {
    super(props);

    this.authUtils_ = new AuthUtils();

    this.state = {
{'fraction_non_alphanumeric': 0.12568306010928962, 'fraction_numerical': 0.0, 'mean_word_length': 5.1533613445378155, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, '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': '6216788', 'n_tokens_mistral': 930, 'n_tokens_neox': 879, 'n_words': 232}