{"ast":null,"code":"\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { getRenderPropValue } from '../_util/getRenderPropValue';\nimport { getTransitionName } from '../_util/motion';\nimport { ConfigContext } from '../config-provider';\nimport Tooltip from '../tooltip';\nimport PurePanel from './PurePanel';\n// CSSINJS\nimport useStyle from './style';\nconst Overlay = _ref => {\n  let {\n    title,\n    content,\n    prefixCls\n  } = _ref;\n  return /*#__PURE__*/React.createElement(React.Fragment, null, title && /*#__PURE__*/React.createElement(\"div\", {\n    className: `${prefixCls}-title`\n  }, getRenderPropValue(title)), /*#__PURE__*/React.createElement(\"div\", {\n    className: `${prefixCls}-inner-content`\n  }, getRenderPropValue(content)));\n};\nconst Popover = /*#__PURE__*/React.forwardRef((props, ref) => {\n  const {\n      prefixCls: customizePrefixCls,\n      title,\n      content,\n      overlayClassName,\n      placement = 'top',\n      trigger = 'hover',\n      mouseEnterDelay = 0.1,\n      mouseLeaveDelay = 0.1,\n      overlayStyle = {}\n    } = props,\n    otherProps = __rest(props, [\"prefixCls\", \"title\", \"content\", \"overlayClassName\", \"placement\", \"trigger\", \"mouseEnterDelay\", \"mouseLeaveDelay\", \"overlayStyle\"]);\n  const {\n    getPrefixCls\n  } = React.useContext(ConfigContext);\n  const prefixCls = getPrefixCls('popover', customizePrefixCls);\n  const [wrapSSR, hashId] = useStyle(prefixCls);\n  const rootPrefixCls = getPrefixCls();\n  const overlayCls = classNames(overlayClassName, hashId);\n  return wrapSSR( /*#__PURE__*/React.createElement(Tooltip, Object.assign({\n    placement: placement,\n    trigger: trigger,\n    mouseEnterDelay: mouseEnterDelay,\n    mouseLeaveDelay: mouseLeaveDelay,\n    overlayStyle: overlayStyle\n  }, otherProps, {\n    prefixCls: prefixCls,\n    overlayClassName: overlayCls,\n    ref: ref,\n    overlay: title || content ? /*#__PURE__*/React.createElement(Overlay, {\n      prefixCls: prefixCls,\n      title: title,\n      content: content\n    }) : null,\n    transitionName: getTransitionName(rootPrefixCls, 'zoom-big', otherProps.transitionName),\n    \"data-popover-inject\": true\n  })));\n});\nif (process.env.NODE_ENV !== 'production') {\n  Popover.displayName = 'Popover';\n}\nPopover._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nexport default Popover;","map":{"version":3,"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","classNames","React","getRenderPropValue","getTransitionName","ConfigContext","Tooltip","PurePanel","useStyle","Overlay","_ref","title","content","prefixCls","createElement","Fragment","className","Popover","forwardRef","props","ref","customizePrefixCls","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","otherProps","getPrefixCls","useContext","wrapSSR","hashId","rootPrefixCls","overlayCls","assign","overlay","transitionName","process","env","NODE_ENV","displayName","_InternalPanelDoNotUseOrYouWillBeFired"],"sources":["/var/www/gavt/node_modules/antd/es/popover/index.js"],"sourcesContent":["\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { getRenderPropValue } from '../_util/getRenderPropValue';\nimport { getTransitionName } from '../_util/motion';\nimport { ConfigContext } from '../config-provider';\nimport Tooltip from '../tooltip';\nimport PurePanel from './PurePanel';\n// CSSINJS\nimport useStyle from './style';\nconst Overlay = _ref => {\n  let {\n    title,\n    content,\n    prefixCls\n  } = _ref;\n  return /*#__PURE__*/React.createElement(React.Fragment, null, title && /*#__PURE__*/React.createElement(\"div\", {\n    className: `${prefixCls}-title`\n  }, getRenderPropValue(title)), /*#__PURE__*/React.createElement(\"div\", {\n    className: `${prefixCls}-inner-content`\n  }, getRenderPropValue(content)));\n};\nconst Popover = /*#__PURE__*/React.forwardRef((props, ref) => {\n  const {\n      prefixCls: customizePrefixCls,\n      title,\n      content,\n      overlayClassName,\n      placement = 'top',\n      trigger = 'hover',\n      mouseEnterDelay = 0.1,\n      mouseLeaveDelay = 0.1,\n      overlayStyle = {}\n    } = props,\n    otherProps = __rest(props, [\"prefixCls\", \"title\", \"content\", \"overlayClassName\", \"placement\", \"trigger\", \"mouseEnterDelay\", \"mouseLeaveDelay\", \"overlayStyle\"]);\n  const {\n    getPrefixCls\n  } = React.useContext(ConfigContext);\n  const prefixCls = getPrefixCls('popover', customizePrefixCls);\n  const [wrapSSR, hashId] = useStyle(prefixCls);\n  const rootPrefixCls = getPrefixCls();\n  const overlayCls = classNames(overlayClassName, hashId);\n  return wrapSSR( /*#__PURE__*/React.createElement(Tooltip, Object.assign({\n    placement: placement,\n    trigger: trigger,\n    mouseEnterDelay: mouseEnterDelay,\n    mouseLeaveDelay: mouseLeaveDelay,\n    overlayStyle: overlayStyle\n  }, otherProps, {\n    prefixCls: prefixCls,\n    overlayClassName: overlayCls,\n    ref: ref,\n    overlay: title || content ? /*#__PURE__*/React.createElement(Overlay, {\n      prefixCls: prefixCls,\n      title: title,\n      content: content\n    }) : null,\n    transitionName: getTransitionName(rootPrefixCls, 'zoom-big', otherProps.transitionName),\n    \"data-popover-inject\": true\n  })));\n});\nif (process.env.NODE_ENV !== 'production') {\n  Popover.displayName = 'Popover';\n}\nPopover._InternalPanelDoN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