<commit_before>import PropTypes from 'prop-types';

// components
import WidgetSidebar from './component';

export default function WidgetSidebarContainer({
  widgetIds,
  params,
  adapter,
}) {
  if (params.geostore_id) {
    return (
      <WidgetSidebar
        adapter={adapter}
        widgetIds={widgetIds}
        params={params}
      />
    );
  }

  return (
    <div className="widgets-sidebar">
      <h3
        style={{
          fontSize: 21,
          fontWeight: 'bold',
        }}
      >
        Select an area first
      </h3>
      <p>
        Lorem ipsum dolor sit, amet consectetur adipisicing elit. Debitis minima ut repellat,
        illo consequatur hic quod esse aspernatur ipsam necessitatibus asperiores eveniet, sit,
        ipsa alias maiores facilis libero.
      </p><commit_msg>updates styles for sidebar placeholder<commit_after>import PropTypes from 'prop-types';

// components
import CardPlaceholder from 'components/card-placeholder';
import WidgetSidebar from './component';

export default function WidgetSidebarContainer({
  widgetIds,
  params,
  adapter,
}) {
  if (params.geostore_id) {
    return (
      <WidgetSidebar
        adapter={adapter}
        widgetIds={widgetIds}
        params={params}
      />
    );
  }

  return (
    <div className="widgets-sidebar">
      <CardPlaceholder />
      <div
        style={{
          display: 'flex',
          flexDirection: 'column',
          justifyContent: 'center',
          padding: 25,
          textAlign: 'center',
        }}
      >
        <h4
          style={{
            fontWeight: 'bold',
          }}
        >
          Start by selecting an area
        </h4>
        <p>
          Get to know the details for the different zones selecting an area on the map
        </p>
      </div>
      <CardPlaceholder />
      <CardPlaceholder />
{'fraction_non_alphanumeric': 0.10021551724137931, 'fraction_numerical': 0.004310344827586207, 'mean_word_length': 2.0146103896103895, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3105108', 'n_tokens_mistral': 536, 'n_tokens_neox': 533, 'n_words': 143}