<commit_before>import React from 'react';
import PropTypes from 'prop-types';
import {
  fontFamily,
  fontSizeMini,
} from '../style/font';
import {
  white,
  curiousBlue,
  outerSpace,
} from '../style/color';
import DayPicker from 'react-day-picker';
import NavBar from './InputDateNavBar';
import Weekday from './InputDateWeekday';
import Caption from './InputDateCaption';
import Text from '../Text';
import moment from 'moment';

/* eslint-disable react/prop-types */
const datepickerStyles = {
  display: 'flex',
  flexWrap: 'wrap',
  justifyContent: 'center',
  position: 'relative',
  userSelect: 'none',
  fontFamily: fontFamily,
  minWidth: '336px',
};

const modifierStyles = {
  cell: {
    display: 'inline-block',
    padding: '.6rem 0rem',
    width: '3rem',
    textAlign: 'center',
    cursor: 'pointer',
    verticalAlign: 'middle',
    overflow: 'hidden',
    color: 'black',
    fontSize: fontSizeMini,
    border: '0.5px solid #eff1f1',
    outline: '0.5px solid #eff1f1',
    boxSizing: 'border-box',
  },
  today: {
    color: curiousBlue,
  },
  outside: {
    color: '#dce0e0',
    cursor: 'default',
  },
  disabled: {
    color: '#dce0e0',
    cursor: 'default',
    backgroundColor: '#f8f8f8',
  },
  selected: {
    color: white,
    backgroundColor: outerSpace,
    border: 'none',
    outline: 'none',
  }
};

const modifiers = {
  cell: { daysOfWeek: [0, 1, 2, 3, 4, 5, 6] },
};

const renderError = ({ error, touched }) => (
  error && touched ? (
    <div
      style={{
        marginTop: '1rem',<commit_msg>Fix styles selected day in calendar<commit_after>import React from 'react';
import PropTypes from 'prop-types';
import {
  fontFamily,
  fontSizeMini,
} from '../style/font';
import {
  white,
  curiousBlue,
  outerSpace,
} from '../style/color';
import DayPicker from 'react-day-picker';
import NavBar from './InputDateNavBar';
import Weekday from './InputDateWeekday';
import Caption from './InputDateCaption';
import Text from '../Text';
import moment from 'moment';

/* eslint-disable react/prop-types */
const datepickerStyles = {
  display: 'flex',
  flexWrap: 'wrap',
  justifyContent: 'center',
  position: 'relative',
  userSelect: 'none',
  fontFamily: fontFamily,
  minWidth: '336px',
};

const modifierStyles = {
  cell: {
    display: 'inline-block',
    padding: '.6rem 0rem',
    width: '3rem',
    textAlign: 'center',
    cursor: 'pointer',
    verticalAlign: 'middle',
    overflow: 'hidden',
    color: 'black',
    fontSize: fontSizeMini,
    border: '0.5px solid #eff1f1',
    outline: '0.5px solid #eff1f1',
    boxSizing: 'border-box',
  },
  today: {
    color: curiousBlue,
  },
  outside: {
    color: '#dce0e0',
    cursor: 'default',
  },
  disabled: {
    color: '#dce0e0',
    cursor: 'default',
    backgroundColor: '#f8f8f8',
  },
  selected: {
    color: white,
    backgroundColor: outerSpace,
    width: 'calc(100% / 7)',
  }
};

const modifiers = {
  cell: { daysOfWeek: [0, 1, 2, 3, 4, 5, 6] },
};

const renderError = ({ error, touched }) => (
  error && touched ? (
    <div
      style={{
        marginTop: '1rem',
{'fraction_non_alphanumeric': 0.16129032258064516, 'fraction_numerical': 0.02, 'mean_word_length': 3.289073305670816, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3783219', 'n_tokens_mistral': 1081, 'n_tokens_neox': 1070, 'n_words': 279}