{"ast":null,"code":"\"use client\";\n\nimport * as React from 'react';\nimport DotChartOutlined from \"@ant-design/icons/es/icons/DotChartOutlined\";\nimport classNames from 'classnames';\nimport { ConfigContext } from '../config-provider';\nimport useStyle from './style';\nconst SkeletonNode = props => {\n const {\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n style,\n active,\n children\n } = props;\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls);\n const cls = classNames(prefixCls, `${prefixCls}-element`, {\n [`${prefixCls}-active`]: active\n }, hashId, className, rootClassName, cssVarCls);\n const content = children !== null && children !== void 0 ? children : /*#__PURE__*/React.createElement(DotChartOutlined, null);\n return wrapCSSVar( /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(`${prefixCls}-image`, className),\n style: style\n }, content)));\n};\nexport default SkeletonNode;","map":{"version":3,"names":["React","DotChartOutlined","classNames","ConfigContext","useStyle","SkeletonNode","props","prefixCls","customizePrefixCls","className","rootClassName","style","active","children","getPrefixCls","useContext","wrapCSSVar","hashId","cssVarCls","cls","content","createElement"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/skeleton/Node.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport DotChartOutlined from \"@ant-design/icons/es/icons/DotChartOutlined\";\nimport classNames from 'classnames';\nimport { ConfigContext } from '../config-provider';\nimport useStyle from './style';\nconst SkeletonNode = props => {\n const {\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n style,\n active,\n children\n } = props;\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls);\n const cls = classNames(prefixCls, `${prefixCls}-element`, {\n [`${prefixCls}-active`]: active\n }, hashId, className, rootClassName, cssVarCls);\n const content = children !== null && children !== void 0 ? children : /*#__PURE__*/React.createElement(DotChartOutlined, null);\n return wrapCSSVar( /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(`${prefixCls}-image`, className),\n style: style\n }, content)));\n};\nexport default SkeletonNode;"],"mappings":"AAAA,YAAY;;AAEZ,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,gBAAgB,MAAM,6CAA6C;AAC1E,OAAOC,UAAU,MAAM,YAAY;AACnC,SAASC,aAAa,QAAQ,oBAAoB;AAClD,OAAOC,QAAQ,MAAM,SAAS;AAC9B,MAAMC,YAAY,GAAGC,KAAK,IAAI;EAC5B,MAAM;IACJC,SAAS,EAAEC,kBAAkB;IAC7BC,SAAS;IACTC,aAAa;IACbC,KAAK;IACLC,MAAM;IACNC;EACF,CAAC,GAAGP,KAAK;EACT,MAAM;IACJQ;EACF,CAAC,GAAGd,KAAK,CAACe,UAAU,CAACZ,aAAa,CAAC;EACnC,MAAMI,SAAS,GAAGO,YAAY,CAAC,UAAU,EAAEN,kBAAkB,CAAC;EAC9D,MAAM,CAACQ,UAAU,EAAEC,MAAM,EAAEC,SAAS,CAAC,GAAGd,QAAQ,CAACG,SAAS,CAAC;EAC3D,MAAMY,GAAG,GAAGjB,UAAU,CAACK,SAAS,EAAE,GAAGA,SAAS,UAAU,EAAE;IACxD,CAAC,GAAGA,SAAS,SAAS,GAAGK;EAC3B,CAAC,EAAEK,MAAM,EAAER,SAAS,EAAEC,aAAa,EAAEQ,SAAS,CAAC;EAC/C,MAAME,OAAO,GAAGP,QAAQ,KAAK,IAAI,IAAIA,QAAQ,KAAK,KAAK,CAAC,GAAGA,QAAQ,GAAG,aAAab,KAAK,CAACqB,aAAa,CAACpB,gBAAgB,EAAE,IAAI,CAAC;EAC9H,OAAOe,UAAU,EAAE,aAAahB,KAAK,CAACqB,aAAa,CAAC,KAAK,EAAE;IACzDZ,SAAS,EAAEU;EACb,CAAC,EAAE,aAAanB,KAAK,CAACqB,aAAa,CAAC,KAAK,EAAE;IACzCZ,SAAS,EAAEP,UAAU,CAAC,GAAGK,SAAS,QAAQ,EAAEE,SAAS,CAAC;IACtDE,KAAK,EAAEA;EACT,CAAC,EAAES,OAAO,CAAC,CAAC,CAAC;AACf,CAAC;AACD,eAAef,YAAY","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}