{"ast":null,"code":"\"use client\";\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nfunction notEmpty(val) {\n return val !== undefined && val !== null;\n}\nconst Cell = props => {\n const {\n itemPrefixCls,\n component,\n span,\n className,\n style,\n labelStyle,\n contentStyle,\n bordered,\n label,\n content,\n colon,\n type\n } = props;\n const Component = component;\n if (bordered) {\n return /*#__PURE__*/React.createElement(Component, {\n className: classNames({\n [`${itemPrefixCls}-item-label`]: type === 'label',\n [`${itemPrefixCls}-item-content`]: type === 'content'\n }, className),\n style: style,\n colSpan: span\n }, notEmpty(label) && /*#__PURE__*/React.createElement(\"span\", {\n style: labelStyle\n }, label), notEmpty(content) && /*#__PURE__*/React.createElement(\"span\", {\n style: contentStyle\n }, content));\n }\n return /*#__PURE__*/React.createElement(Component, {\n className: classNames(`${itemPrefixCls}-item`, className),\n style: style,\n colSpan: span\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: `${itemPrefixCls}-item-container`\n }, (label || label === 0) && ( /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(`${itemPrefixCls}-item-label`, {\n [`${itemPrefixCls}-item-no-colon`]: !colon\n }),\n style: labelStyle\n }, label)), (content || content === 0) && ( /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(`${itemPrefixCls}-item-content`),\n style: contentStyle\n }, content))));\n};\nexport default Cell;","map":{"version":3,"names":["React","classNames","notEmpty","val","undefined","Cell","props","itemPrefixCls","component","span","className","style","labelStyle","contentStyle","bordered","label","content","colon","type","Component","createElement","colSpan"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/descriptions/Cell.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nfunction notEmpty(val) {\n return val !== undefined && val !== null;\n}\nconst Cell = props => {\n const {\n itemPrefixCls,\n component,\n span,\n className,\n style,\n labelStyle,\n contentStyle,\n bordered,\n label,\n content,\n colon,\n type\n } = props;\n const Component = component;\n if (bordered) {\n return /*#__PURE__*/React.createElement(Component, {\n className: classNames({\n [`${itemPrefixCls}-item-label`]: type === 'label',\n [`${itemPrefixCls}-item-content`]: type === 'content'\n }, className),\n style: style,\n colSpan: span\n }, notEmpty(label) && /*#__PURE__*/React.createElement(\"span\", {\n style: labelStyle\n }, label), notEmpty(content) && /*#__PURE__*/React.createElement(\"span\", {\n style: contentStyle\n }, content));\n }\n return /*#__PURE__*/React.createElement(Component, {\n className: classNames(`${itemPrefixCls}-item`, className),\n style: style,\n colSpan: span\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: `${itemPrefixCls}-item-container`\n }, (label || label === 0) && ( /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(`${itemPrefixCls}-item-label`, {\n [`${itemPrefixCls}-item-no-colon`]: !colon\n }),\n style: labelStyle\n }, label)), (content || content === 0) && ( /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(`${itemPrefixCls}-item-content`),\n style: contentStyle\n }, content))));\n};\nexport default Cell;"],"mappings":"AAAA,YAAY;;AAEZ,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,UAAU,MAAM,YAAY;AACnC,SAASC,QAAQA,CAACC,GAAG,EAAE;EACrB,OAAOA,GAAG,KAAKC,SAAS,IAAID,GAAG,KAAK,IAAI;AAC1C;AACA,MAAME,IAAI,GAAGC,KAAK,IAAI;EACpB,MAAM;IACJC,aAAa;IACbC,SAAS;IACTC,IAAI;IACJC,SAAS;IACTC,KAAK;IACLC,UAAU;IACVC,YAAY;IACZC,QAAQ;IACRC,KAAK;IACLC,OAAO;IACPC,KAAK;IACLC;EACF,CAAC,GAAGZ,KAAK;EACT,MAAMa,SAAS,GAAGX,SAAS;EAC3B,IAAIM,QAAQ,EAAE;IACZ,OAAO,aAAad,KAAK,CAACoB,aAAa,CAACD,SAAS,EAAE;MACjDT,SAAS,EAAET,UAAU,CAAC;QACpB,CAAC,GAAGM,aAAa,aAAa,GAAGW,IAAI,KAAK,OAAO;QACjD,CAAC,GAAGX,aAAa,eAA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