14fe4e86fe7718327b57c9674d256ecc.json
5.84 KB
{"ast":null,"code":"import * as React from 'react';\nimport classNames from 'classnames';\nimport { ConfigConsumer } from '../config-provider';\nvar path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z';\n\nvar SkeletonImage = function SkeletonImage(props) {\n var renderSkeletonImage = function renderSkeletonImage(_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n style: style\n }, /*#__PURE__*/React.createElement(\"svg\", {\n viewBox: \"0 0 1098 1024\",\n xmlns: \"http://www.w3.org/2000/svg\",\n className: \"\".concat(prefixCls, \"-image-svg\")\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: path,\n className: \"\".concat(prefixCls, \"-image-path\")\n }))));\n };\n\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSkeletonImage);\n};\n\nexport default SkeletonImage;","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/antd/es/skeleton/Image.js"],"names":["React","classNames","ConfigConsumer","path","SkeletonImage","props","renderSkeletonImage","_ref","getPrefixCls","customizePrefixCls","prefixCls","className","style","cls","concat","createElement","viewBox","xmlns","d"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,SAASC,cAAT,QAA+B,oBAA/B;AACA,IAAIC,IAAI,GAAG,i3BAAX;;AAEA,IAAIC,aAAa,GAAG,SAASA,aAAT,CAAuBC,KAAvB,EAA8B;AAChD,MAAIC,mBAAmB,GAAG,SAASA,mBAAT,CAA6BC,IAA7B,EAAmC;AAC3D,QAAIC,YAAY,GAAGD,IAAI,CAACC,YAAxB;AACA,QAAIC,kBAAkB,GAAGJ,KAAK,CAACK,SAA/B;AAAA,QACIC,SAAS,GAAGN,KAAK,CAACM,SADtB;AAAA,QAEIC,KAAK,GAAGP,KAAK,CAACO,KAFlB;AAGA,QAAIF,SAAS,GAAGF,YAAY,CAAC,UAAD,EAAaC,kBAAb,CAA5B;AACA,QAAII,GAAG,GAAGZ,UAAU,CAACS,SAAD,EAAY,GAAGI,MAAH,CAAUJ,SAAV,EAAqB,UAArB,CAAZ,EAA8CC,SAA9C,CAApB;AACA,WAAO,aAAaX,KAAK,CAACe,aAAN,CAAoB,KAApB,EAA2B;AAC7CJ,MAAAA,SAAS,EAAEE;AADkC,KAA3B,EAEjB,aAAab,KAAK,CAACe,aAAN,CAAoB,KAApB,EAA2B;AACzCJ,MAAAA,SAAS,EAAEV,UAAU,CAAC,GAAGa,MAAH,CAAUJ,SAAV,EAAqB,QAArB,CAAD,EAAiCC,SAAjC,CADoB;AAEzCC,MAAAA,KAAK,EAAEA;AAFkC,KAA3B,EAGb,aAAaZ,KAAK,CAACe,aAAN,CAAoB,KAApB,EAA2B;AACzCC,MAAAA,OAAO,EAAE,eADgC;AAEzCC,MAAAA,KAAK,EAAE,4BAFkC;AAGzCN,MAAAA,SAAS,EAAE,GAAGG,MAAH,CAAUJ,SAAV,EAAqB,YAArB;AAH8B,KAA3B,EAIb,aAAaV,KAAK,CAACe,aAAN,CAAoB,MAApB,EAA4B;AAC1CG,MAAAA,CAAC,EAAEf,IADuC;AAE1CQ,MAAAA,SAAS,EAAE,GAAGG,MAAH,CAAUJ,SAAV,EAAqB,aAArB;AAF+B,KAA5B,CAJA,CAHA,CAFI,CAApB;AAaD,GApBD;;AAsBA,SAAO,aAAaV,KAAK,CAACe,aAAN,CAAoBb,cAApB,EAAoC,IAApC,EAA0CI,mBAA1C,CAApB;AACD,CAxBD;;AA0BA,eAAeF,aAAf","sourcesContent":["import * as React from 'react';\nimport classNames from 'classnames';\nimport { ConfigConsumer } from '../config-provider';\nvar path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z';\n\nvar SkeletonImage = function SkeletonImage(props) {\n var renderSkeletonImage = function renderSkeletonImage(_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n style: style\n }, /*#__PURE__*/React.createElement(\"svg\", {\n viewBox: \"0 0 1098 1024\",\n xmlns: \"http://www.w3.org/2000/svg\",\n className: \"\".concat(prefixCls, \"-image-svg\")\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: path,\n className: \"\".concat(prefixCls, \"-image-path\")\n }))));\n };\n\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSkeletonImage);\n};\n\nexport default SkeletonImage;"]},"metadata":{},"sourceType":"module"}