<commit_before>import React, { PureComponent, createElement } from 'react';
import Proptypes from 'prop-types';
import { connect } from 'react-redux';
import { withRouter } from 'react-router';
import { isCountryIncluded } from 'app/utils';
import { isPageContained, isPageNdcp } from 'utils/navigation';
import { handleAnalytics } from 'utils/analytics';

import actions from './countries-select-actions';
import reducers, { initialState } from './countries-select-reducers';
import CountrySelectComponent from './countries-select-component';
import {
  getFilterUpper,
  getPreSelect,
  getISOCountries,
  getFilteredCountriesWithPath,
  getPathsWithStyles
} from './countries-select-selectors';

const mapStateToProps = (state, { location }) => {
  const { countrySelect, countries } = state;
  const stateWithFilters = {
    ...countrySelect,
    query: countrySelect.query,
    countries: countries.data
  };
  return {
    paths: getPathsWithStyles(stateWithFilters),
    query: getFilterUpper(stateWithFilters),
    preSelect: getPreSelect(stateWithFilters),
    isoCountries: getISOCountries(stateWithFilters),
    countriesList: getFilteredCountriesWithPath(stateWithFilters),
    isCompareVisible: !isPageNdcp(location) && !isPageContained
  };
};

class CountrySelectContainer extends PureComponent {<commit_msg>Fix wrong export name<commit_after>import React, { PureComponent, createElement } from 'react';
import Proptypes from 'prop-types';
import { connect } from 'react-redux';
import { withRouter } from 'react-router';
import { isCountryIncluded } from 'app/utils';
import { isPageContained, isPageNdcp } from 'utils/navigation';
import { handleAnalytics } from 'utils/analytics';

import actions from './countries-select-actions';
import reducers, { initialState } from './countries-select-reducers';
import CountrySelectComponent from './countries-select-component';
import {
  getFilter,
  getPreSelect,
  getISOCountries,
  getFilteredCountriesWithPath,
  getPathsWithStyles
} from './countries-select-selectors';

const mapStateToProps = (state, { location }) => {
  const { countrySelect, countries } = state;
  const stateWithFilters = {
    ...countrySelect,
    query: countrySelect.query,
    countries: countries.data
  };
  return {
    paths: getPathsWithStyles(stateWithFilters),
    query: getFilter(stateWithFilters),
    preSelect: getPreSelect(stateWithFilters),
    isoCountries: getISOCountries(stateWithFilters),
    countriesList: getFilteredCountriesWithPath(stateWithFilters),
    isCompareVisible: !isPageNdcp(location) && !isPageContained
  };
};

class CountrySelectContainer extends PureComponent {
{'fraction_non_alphanumeric': 0.10741301059001512, 'fraction_numerical': 0.0, 'mean_word_length': 5.482843137254902, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1792465', 'n_tokens_mistral': 750, 'n_tokens_neox': 767, 'n_words': 173}