{"ast":null,"code":"\"use client\";\n\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nimport useStyle from './style';\nconst SkeletonAvatar = props => {\n  const {\n    prefixCls: customizePrefixCls,\n    className,\n    rootClassName,\n    active,\n    shape = 'circle',\n    size = 'default'\n  } = props;\n  const {\n    getPrefixCls\n  } = React.useContext(ConfigContext);\n  const prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n  const [wrapSSR, hashId] = useStyle(prefixCls);\n  const otherProps = omit(props, ['prefixCls', 'className']);\n  const cls = classNames(prefixCls, `${prefixCls}-element`, {\n    [`${prefixCls}-active`]: active\n  }, className, rootClassName, hashId);\n  return wrapSSR( /*#__PURE__*/React.createElement(\"div\", {\n    className: cls\n  }, /*#__PURE__*/React.createElement(Element, Object.assign({\n    prefixCls: `${prefixCls}-avatar`,\n    shape: shape,\n    size: size\n  }, otherProps))));\n};\nexport default SkeletonAvatar;","map":{"version":3,"names":["classNames","omit","React","ConfigContext","Element","useStyle","SkeletonAvatar","props","prefixCls","customizePrefixCls","className","rootClassName","active","shape","size","getPrefixCls","useContext","wrapSSR","hashId","otherProps","cls","createElement","Object","assign"],"sources":["/Users/chrishaack/UC_Trains_Voice/react-demo/node_modules/antd/es/skeleton/Avatar.js"],"sourcesContent":["\"use client\";\n\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport Element from './Element';\nimport useStyle from './style';\nconst SkeletonAvatar = props => {\n  const {\n    prefixCls: customizePrefixCls,\n    className,\n    rootClassName,\n    active,\n    shape = 'circle',\n    size = 'default'\n  } = props;\n  const {\n    getPrefixCls\n  } = React.useContext(ConfigContext);\n  const prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n  const [wrapSSR, hashId] = useStyle(prefixCls);\n  const otherProps = omit(props, ['prefixCls', 'className']);\n  const cls = classNames(prefixCls, `${prefixCls}-element`, {\n    [`${prefixCls}-active`]: active\n  }, className, rootClassName, hashId);\n  return wrapSSR( /*#__PURE__*/React.createElement(\"div\", {\n    className: cls\n  }, /*#__PURE__*/React.createElement(Element, Object.assign({\n    prefixCls: `${prefixCls}-avatar`,\n    shape: shape,\n    size: size\n  }, otherProps))));\n};\nexport default SkeletonAvatar;"],"mappings":"AAAA,YAAY;;AAEZ,OAAOA,UAAU,MAAM,YAAY;AACnC,OAAOC,IAAI,MAAM,iBAAiB;AAClC,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,aAAa,QAAQ,oBAAoB;AAClD,OAAOC,OAAO,MAAM,WAAW;AAC/B,OAAOC,QAAQ,MAAM,SAAS;AAC9B,MAAMC,cAAc,GAAGC,KAAK,IAAI;EAC9B,MAAM;IACJC,SAAS,EAAEC,kBAAkB;IAC7BC,SAAS;IACTC,aAAa;IACbC,MAAM;IACNC,KAAK,GAAG,QAAQ;IAChBC,IAAI,GAAG;EACT,CAAC,GAAGP,KAAK;EACT,MAAM;IACJQ;EACF,CAAC,GAAGb,KAAK,CAACc,UAAU,CAACb,aAAa,CAAC;EACnC,MAAMK,SAAS,GAAGO,YAAY,CAAC,UAAU,EAAEN,kBAAkB,CAAC;EAC9D,MAAM,CAACQ,OAAO,EAAEC,MAAM,CAAC,GAAGb,QAAQ,CAACG,SAAS,CAAC;EAC7C,MAAMW,UAAU,GAAGlB,IAAI,CAACM,KAAK,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;EAC1D,MAAMa,GAAG,GAAGpB,UAAU,CAACQ,SAAS,EAAG,GAAEA,SAAU,UAAS,EAAE;IACxD,CAAE,GAAEA,SAAU,SAAQ,GAAGI;EAC3B,CAAC,EAAEF,SAAS,EAAEC,aAAa,EAAEO,MAAM,CAAC;EACpC,OAAOD,OAAO,EAAE,aAAaf,KAAK,CAACmB,aAAa,CAAC,KAAK,EAAE;IACtDX,SAAS,EAAEU;EACb,CAAC,EAAE,aAAalB,KAAK,CAACmB,aAAa,CAACjB,OAAO,EAAEkB,MAAM,CAACC,MAAM,CAAC;IACzDf,SAAS,EAAG,GAAEA,SAAU,SAAQ;IAChCK,KAAK,EAAEA,KAAK;IACZC,IAAI,EAAEA;EACR,CAAC,EAAEK,UAAU,CAAC,CAAC,CAAC,CAAC;AACnB,CAAC;AACD,eAAeb,cAAc"},"metadata":{},"sourceType":"module","externalDependencies":[]}