/**
* This is a generated file. Do not modify it manually.
*
* @script packages/icon/scripts/prebuild/index.ts
* @checksum 6618e7834f98f848d25dff98c9e6585f
*/
import * as React from "react";
import { css, cx } from '@leafygreen-ui/emotion';
import { useIdAllocator } from '@leafygreen-ui/hooks';
import { generateAccessibleProps, sizeMap } from '../glyphCommon';
import { LGGlyph } from '../types';
export interface AIModelProps extends LGGlyph.ComponentProps {}
const AIModel = ({
  className,
  size = 16,
  title,
  ['aria-label']: ariaLabel,
  ['aria-labelledby']: ariaLabelledby,
  fill,
  role = 'img',
  ...props
}: AIModelProps) => {
  const titleId = useIdAllocator({
    prefix: 'icon-title'
  });
  const fillStyle = css`
        color: ${fill};
      `;
  const noFlexShrink = css`
        flex-shrink: 0;
      `;
  const accessibleProps = generateAccessibleProps(role, 'AIModel', {
    title,
    titleId,
    ['aria-label']: ariaLabel,
    ['aria-labelledby']: ariaLabelledby
  });
  return <svg className={cx({
    [fillStyle]: fill != null
  }, noFlexShrink, className)} height={typeof size === 'number' ? size : sizeMap[size]} width={typeof size === 'number' ? size : sizeMap[size]} role={role} {...accessibleProps} {...props} viewBox="0 0 16 16">{title && <title id={titleId}>{title}</title>}<path fillRule="evenodd" clipRule="evenodd" d="M6.5 0C7.4665 0 8.25 0.783502 8.25 1.75C8.25 1.8343 8.24199 1.91693 8.23047 1.99805L9.85938 2.93848C10.1792 2.52019 10.6828 2.25 11.25 2.25C12.2165 2.25 13 3.0335 13 4C13 4.81198 12.4462 5.49188 11.6963 5.68945V8.05957C12.4463 8.25706 13 8.93793 13 9.75C13 10.7165 12.2165 11.5 11.25 11.5C10.7615 11.5 10.3204 11.2993 10.0029 10.9766L8.23047 12C8.24217 12.0817 8.25 12.165 8.25 12.25C8.25 13.2165 7.4665 14 6.5 14C5.5335 14 4.75 13.2165 4.75 12.25C4.75 12.1651 4.75686 12.0817 4.76855 12L2.99609 10.9766C2.67867 11.299 2.23822 11.5 1.75 11.5C0.783502 11.5 0 10.7165 0 9.75C0 8.93793 0.553657 8.25706 1.30371 8.05957V5.68945C0.553779 5.49188 0 4.81198 0 4C0 3.0335 0.783502 2.25 1.75 2.25C2.31696 2.25 2.81985 2.52046 3.13965 2.93848L4.76855 1.99805C4.75704 1.91697 4.75 1.83426 4.75 1.75C4.75 0.783502 5.5335 0 6.5 0ZM3.36914 9.08789C3.4528 9.29225 3.5 9.51552 3.5 9.75C3.5 9.86702 3.48773 9.98121 3.46582 10.0918L5.19238 11.0889C5.46062 10.787 5.83101 10.5795 6.25 10.5195V8.72949C5.78109 8.66231 5.37343 8.41073 5.10156 8.04883L3.36914 9.08789ZM7.80957 8.15723C7.54115 8.46075 7.17039 8.66926 6.75 8.72949V10.5195C7.16876 10.5795 7.53844 10.7873 7.80664 11.0889L9.5332 10.0918C9.51132 9.98126 9.5 9.86696 9.5 9.75C9.5 9.56512 9.5289 9.38701 9.58203 9.21973L7.80957 8.15723ZM8.08301 6.25879C8.1887 6.48413 8.25 6.73464 8.25 7C8.25 7.26458 8.1891 7.51442 8.08398 7.73926L9.7998 8.76855C10.0134 8.45352 10.3282 8.21359 10.6963 8.09082V5.6582C10.3976 5.5585 10.1352 5.38146 9.93262 5.14941L8.08301 6.25879ZM2.96973 5.25293C2.78312 5.43462 2.55638 5.57387 2.30371 5.6582V8.09082C2.62655 8.19851 2.9069 8.39729 3.11523 8.65723L4.86133 7.60938C4.79065 7.4194 4.75 7.21459 4.75 7C4.75 6.78476 4.79025 6.57912 4.86133 6.38867L2.96973 5.25293ZM3.49414 3.88867C3.49646 3.92553 3.5 3.96255 3.5 4C3.5 4.31053 3.41821 4.60166 3.27637 4.85449L5.10156 5.94922C5.37346 5.58794 5.78157 5.3366 6.25 5.26953V3.47949C5.83011 3.41934 5.45878 3.21212 5.19043 2.90918L3.49414 3.88867ZM7.80762 2.90918C7.53934 3.21159 7.16944 3.4194 6.75 3.47949V5.26953C7.16972 5.32963 7.54025 5.53811 7.80859 5.84082L9.66016 4.72949C9.55804 4.5073 9.5 4.26055 9.5 4C9.5 3.96258 9.50257 3.92551 9.50488 3.88867L7.80762 2.90918Z" fill={'currentColor'} /></svg>;
};
AIModel.displayName = 'AIModel';
AIModel.isGlyph = true;
export default AIModel;