{"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 * as React from 'react';\nimport EyeOutlined from \"@ant-design/icons/es/icons/EyeOutlined\";\nimport classNames from 'classnames';\nimport RcImage from 'rc-image';\nimport { getTransitionName } from '../_util/motion';\nimport { ConfigContext } from '../config-provider';\nimport defaultLocale from '../locale/en_US';\n// CSSINJS\nimport PreviewGroup, { icons } from './PreviewGroup';\nimport useStyle from './style';\nconst Image = props => {\n  const {\n      prefixCls: customizePrefixCls,\n      preview,\n      className,\n      rootClassName,\n      style\n    } = props,\n    otherProps = __rest(props, [\"prefixCls\", \"preview\", \"className\", \"rootClassName\", \"style\"]);\n  const {\n    getPrefixCls,\n    locale: contextLocale = defaultLocale,\n    getPopupContainer: getContextPopupContainer,\n    image\n  } = React.useContext(ConfigContext);\n  const prefixCls = getPrefixCls('image', customizePrefixCls);\n  const rootPrefixCls = getPrefixCls();\n  const imageLocale = contextLocale.Image || defaultLocale.Image;\n  // Style\n  const [wrapSSR, hashId] = useStyle(prefixCls);\n  const mergedRootClassName = classNames(rootClassName, hashId);\n  const mergedClassName = classNames(className, hashId, image === null || image === void 0 ? void 0 : image.className);\n  const mergedPreview = React.useMemo(() => {\n    if (preview === false) {\n      return preview;\n    }\n    const _preview = typeof preview === 'object' ? preview : {};\n    const {\n        getContainer\n      } = _preview,\n      restPreviewProps = __rest(_preview, [\"getContainer\"]);\n    return Object.assign(Object.assign({\n      mask: /*#__PURE__*/React.createElement(\"div\", {\n        className: `${prefixCls}-mask-info`\n      }, /*#__PURE__*/React.createElement(EyeOutlined, null), imageLocale === null || imageLocale === void 0 ? void 0 : imageLocale.preview),\n      icons\n    }, restPreviewProps), {\n      getContainer: getContainer || getContextPopupContainer,\n      transitionName: getTransitionName(rootPrefixCls, 'zoom', _preview.transitionName),\n      maskTransitionName: getTransitionName(rootPrefixCls, 'fade', _preview.maskTransitionName)\n    });\n  }, [preview, imageLocale]);\n  const mergedStyle = Object.assign(Object.assign({}, image === null || image === void 0 ? void 0 : image.style), style);\n  return wrapSSR( /*#__PURE__*/React.createElement(RcImage, Object.assign({\n    prefixCls: prefixCls,\n    preview: mergedPreview,\n    rootClassName: mergedRootClassName,\n    className: mergedClassName,\n    style: mergedStyle\n  }, otherProps)));\n};\nImage.PreviewGroup = PreviewGroup;\nif (process.env.NODE_ENV !== 'production') {\n  Image.displayName = 'Image';\n}\nexport default Image;","map":{"version":3,"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","React","EyeOutlined","classNames","RcImage","getTransitionName","ConfigContext","defaultLocale","PreviewGroup","icons","useStyle","Image","props","prefixCls","customizePrefixCls","preview","className","rootClassName","style","otherProps","getPrefixCls","locale","contextLocale","getPopupContainer","getContextPopupContainer","image","useContext","rootPrefixCls","imageLocale","wrapSSR","hashId","mergedRootClassName","mergedClassName","mergedPreview","useMemo","_preview","getContainer","restPreviewProps","assign","mask","createElement","transitionName","maskTransitionName","mergedStyle","process","env","NODE_ENV","displayName"],"sources":["/Users/chrishaack/UC_Trains_Voice/react-demo/node_modules/antd/es/image/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 * as React from 'react';\nimport EyeOutlined from \"@ant-design/icons/es/icons/EyeOutlined\";\nimport classNames from 'classnames';\nimport RcImage from 'rc-image';\nimport { getTransitionName } from '../_util/motion';\nimport { ConfigContext } from '../config-provider';\nimport defaultLocale from '../locale/en_US';\n// CSSINJS\nimport PreviewGroup, { icons } from './PreviewGroup';\nimport useStyle from './style';\nconst Image = props => {\n  const {\n      prefixCls: customizePrefixCls,\n      preview,\n      className,\n      rootClassName,\n      style\n    } = props,\n    otherProps = __rest(props, [\"prefixCls\", \"preview\", \"className\", \"rootClassName\", \"style\"]);\n  const {\n    getPrefixCls,\n    locale: contextLocale = defaultLocale,\n    getPopupContainer: getContextPopupContainer,\n    image\n  } = React.useContext(ConfigContext);\n  const prefixCls = getPrefixCls('image', customizePrefixCls);\n  const rootPrefixCls = getPrefixCls();\n  const imageLocale = contextLocale.Image || defaultLocale.Image;\n  // Style\n  const [wrapSSR, hashId] = useStyle(prefixCls);\n  const mergedRootClassName = classNames(rootClassName, hashId);\n  const mergedClassName = classNames(className, hashId, image === null || image === void 0 ? void 0 : image.className);\n  const mergedPreview = React.useMemo(() => {\n    if (preview === false) {\n      return preview;\n    }\n    const _preview = typeof preview === 'object' ? preview : {};\n    const {\n        getContainer\n      } = _preview,\n      restPreviewProps = __rest(_preview, [\"getContainer\"]);\n    return Object.assign(Object.assign({\n      mask: /*#__PURE__*/React.createElement(\"div\", {\n        className: `${prefixCls}-mask-info`\n      }, /*#__PURE__*/React.createElement(EyeOutlined, null), imageLocale === null || imageLocale === void 0 ? void 0 : imageLocale.preview),\n      icons\n    }, restPreviewProps), {\n      getContainer: getContainer || getContextPopupContainer,\n      transitionName: getTransitionName(rootPrefixCls, 'zoom', _preview.transitionName),\n      maskTransitionName: getTransitionName(rootPrefixCls, 'fade', _preview.maskTransitionName)\n    });\n  }, [preview, imageLocale]);\n  const mergedStyle = Object.assign(Object.assign({}, image === null || image === void 0 ? void 0 : image.style), style);\n  return wrapSSR( /*#__PURE__*/React.createElement(RcImage, Object.assign({\n    prefixCls: prefixCls,\n    preview: mergedPreview,\n    rootClassName: mergedRootClassName,\n    className: mergedClassName,\n    style: mergedStyle\n  }, otherProps)));\n};\nImage.PreviewGroup = PreviewGroup;\nif (process.env.NODE_ENV !== 'production') {\n  Image.displayName = 'Image';\n}\nexport default Image;"],"mappings":"AAAA,YAAY;;AAEZ,IAAIA,MAAM,GAAG,IAAI,IAAI,IAAI,CAACA,MAAM,IAAI,UAAUC,CAAC,EAAEC,CAAC,EAAE;EAClD,IAAIC,CAAC,GAAG,CAAC,CAAC;EACV,KAAK,IAAIC,CAAC,IAAIH,CAAC,EAAE,IAAII,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAACP,CAAC,EAAEG,CAAC,CAAC,IAAIF,CAAC,CAACO,OAAO,CAACL,CAAC,CAAC,GAAG,CAAC,EAAED,CAAC,CAACC,CAAC,CAAC,GAAGH,CAAC,CAACG,CAAC,CAAC;EAChG,IAAIH,CAAC,IAAI,IAAI,IAAI,OAAOI,MAAM,CAACK,qBAAqB,KAAK,UAAU,EAAE,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEP,CAAC,GAAGC,MAAM,CAACK,qBAAqB,CAACT,CAAC,CAAC,EAAEU,CAAC,GAAGP,CAAC,CAACQ,MAAM,EAAED,CAAC,EAAE,EAAE;IAC3I,IAAIT,CAAC,CAACO,OAAO,CAACL,CAAC,CAACO,CAAC,CAAC,CAAC,GAAG,CAAC,IAAIN,MAAM,CAACC,SAAS,CAACO,oBAAoB,CAACL,IAAI,CAACP,CAAC,EAAEG,CAAC,CAACO,CAAC,CAAC,CAAC,EAAER,CAAC,CAACC,CAAC,CAACO,CAAC,CAAC,CAAC,GAAGV,CAAC,CAACG,CAAC,CAACO,CAAC,CAAC,CAAC;EACnG;EACA,OAAOR,CAAC;AACV,CAAC;AACD,OAAO,KAAKW,KAAK,MAAM,OAAO;AAC9B,OAAOC,WAAW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