{"ast":null,"code":"\"use client\";\n\nimport * as React from 'react';\nimport Tooltip from '../../tooltip';\nconst EllipsisTooltip = _ref => {\n let {\n enableEllipsis,\n isEllipsis,\n children,\n tooltipProps\n } = _ref;\n if (!(tooltipProps === null || tooltipProps === void 0 ? void 0 : tooltipProps.title) || !enableEllipsis) {\n return children;\n }\n return /*#__PURE__*/React.createElement(Tooltip, Object.assign({\n open: isEllipsis ? undefined : false\n }, tooltipProps), children);\n};\nif (process.env.NODE_ENV !== 'production') {\n EllipsisTooltip.displayName = 'EllipsisTooltip';\n}\nexport default EllipsisTooltip;","map":{"version":3,"names":["React","Tooltip","EllipsisTooltip","_ref","enableEllipsis","isEllipsis","children","tooltipProps","title","createElement","Object","assign","open","undefined","process","env","NODE_ENV","displayName"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/typography/Base/EllipsisTooltip.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport Tooltip from '../../tooltip';\nconst EllipsisTooltip = _ref => {\n let {\n enableEllipsis,\n isEllipsis,\n children,\n tooltipProps\n } = _ref;\n if (!(tooltipProps === null || tooltipProps === void 0 ? void 0 : tooltipProps.title) || !enableEllipsis) {\n return children;\n }\n return /*#__PURE__*/React.createElement(Tooltip, Object.assign({\n open: isEllipsis ? undefined : false\n }, tooltipProps), children);\n};\nif (process.env.NODE_ENV !== 'production') {\n EllipsisTooltip.displayName = 'EllipsisTooltip';\n}\nexport default EllipsisTooltip;"],"mappings":"AAAA,YAAY;;AAEZ,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,OAAO,MAAM,eAAe;AACnC,MAAMC,eAAe,GAAGC,IAAI,IAAI;EAC9B,IAAI;IACFC,cAAc;IACdC,UAAU;IACVC,QAAQ;IACRC;EACF,CAAC,GAAGJ,IAAI;EACR,IAAI,EAAEI,YAAY,KAAK,IAAI,IAAIA,YAAY,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,YAAY,CAACC,KAAK,CAAC,IAAI,CAACJ,cAAc,EAAE;IACxG,OAAOE,QAAQ;EACjB;EACA,OAAO,aAAaN,KAAK,CAACS,aAAa,CAACR,OAAO,EAAES,MAAM,CAACC,MAAM,CAAC;IAC7DC,IAAI,EAAEP,UAAU,GAAGQ,SAAS,GAAG;EACjC,CAAC,EAAEN,YAAY,CAAC,EAAED,QAAQ,CAAC;AAC7B,CAAC;AACD,IAAIQ,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,EAAE;EACzCd,eAAe,CAACe,WAAW,GAAG,iBAAiB;AACjD;AACA,eAAef,eAAe","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}