<commit_before>import * as React from 'react';
import { alpha } from '@mui/material/styles';
import Box, { BoxProps } from '@mui/material/Box';
import Button from '@mui/material/Button';
import Container from '@mui/material/Container';
import Collapse from '@mui/material/Collapse';
import Divider from '@mui/material/Divider';
import Typography from '@mui/material/Typography';
import Tooltip from '@mui/material/Tooltip';
import InfoOutlinedIcon from '@mui/icons-material/InfoOutlined';
import KeyboardArrowRightRounded from '@mui/icons-material/KeyboardArrowRightRounded';
import Link from 'docs/src/modules/components/Link';
import IconImage, { IconImageProps } from 'docs/src/components/icon/IconImage';
import LaunchRounded from '@mui/icons-material/LaunchRounded';
import UnfoldMoreRounded from '@mui/icons-material/UnfoldMoreRounded';

const planInfo = {
  community: {
    color: 'green',
    title: 'Community',
    description:
      'Get started with the industry-standard UI library for building React user interfaces, MIT-licensed.',
  },
  pro: {
    color: 'blue',
    title: 'Pro',
    description: 'Best for professional developers building enterprise or data-rich applications.',
  },
  premium: {
    color: 'gold',
    title: 'Premium',
    description:
      'The most advanced features for handling data-rich applications, and the highest priority for support.',
  },
} as const;

export function PlanName({
  plan,
  centered = false,
  disableDescription = false,
}: {
  plan: 'community' | 'pro' | 'premium';
  centered?: boolean;
  disableDescription?: boolean;
}) {
  const { title, color, description } = planInfo[plan];<commit_msg>[website] Shorten the plan descriptions on the pricing page (#32984)<commit_after>import * as React from 'react';
import { alpha } from '@mui/material/styles';
import Box, { BoxProps } from '@mui/material/Box';
import Button from '@mui/material/Button';
import Container from '@mui/material/Container';
import Collapse from '@mui/material/Collapse';
import Divider from '@mui/material/Divider';
import Typography from '@mui/material/Typography';
import Tooltip from '@mui/material/Tooltip';
import InfoOutlinedIcon from '@mui/icons-material/InfoOutlined';
import KeyboardArrowRightRounded from '@mui/icons-material/KeyboardArrowRightRounded';
import Link from 'docs/src/modules/components/Link';
import IconImage, { IconImageProps } from 'docs/src/components/icon/IconImage';
import LaunchRounded from '@mui/icons-material/LaunchRounded';
import UnfoldMoreRounded from '@mui/icons-material/UnfoldMoreRounded';

const planInfo = {
  community: {
    color: 'green',
    title: 'Community',
    description: 'Get started with the industry-standard React UI library, MIT-licensed.',
  },
  pro: {
    color: 'blue',
    title: 'Pro',
    description: 'Best for professional developers building enterprise or data-rich applications.',
  },
  premium: {
    color: 'gold',
    title: 'Premium',
    description:
      'The most advanced features for data-rich applications, as well as the highest priority for support.',
  },
} as const;

export function PlanName({
  plan,
  centered = false,
  disableDescription = false,
}: {
  plan: 'community' | 'pro' | 'premium';
  centered?: boolean;
  disableDescription?: boolean;
}) {
  const { title, color, description } = planInfo[plan];
{'fraction_non_alphanumeric': 0.12305389221556887, 'fraction_numerical': 0.0014970059880239522, 'mean_word_length': 4.810434782608696, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4032520', 'n_tokens_mistral': 965, 'n_tokens_neox': 956, 'n_words': 289}