mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
3.8 KiB
JSON
1 line
3.8 KiB
JSON
|
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n tag: tagPropType,\n innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.func, PropTypes.string]),\n className: PropTypes.string,\n cssModule: PropTypes.object\n};\nvar defaultProps = {\n tag: 'a'\n};\n\nvar CardLink = function CardLink(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n innerRef = props.innerRef,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"tag\", \"innerRef\"]);\n\n var classes = mapToCssModules(classNames(className, 'card-link'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n ref: innerRef,\n className: classes\n }));\n};\n\nCardLink.propTypes = propTypes;\nCardLink.defaultProps = defaultProps;\nexport default CardLink;","map":{"version":3,"sources":["/app/node_modules/reactstrap/es/CardLink.js"],"names":["_extends","_objectWithoutPropertiesLoose","React","PropTypes","classNames","mapToCssModules","tagPropType","propTypes","tag","innerRef","oneOfType","object","func","string","className","cssModule","defaultProps","CardLink","props","Tag","attributes","classes","createElement","ref"],"mappings":"AAAA,OAAOA,QAAP,MAAqB,oCAArB;AACA,OAAOC,6BAAP,MAA0C,yDAA1C;AACA,OAAOC,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,SAASC,eAAT,EAA0BC,WAA1B,QAA6C,SAA7C;AACA,IAAIC,SAAS,GAAG;AACdC,EAAAA,GAAG,EAAEF,WADS;AAEdG,EAAAA,QAAQ,EAAEN,SAAS,CAACO,SAAV,CAAoB,CAACP,SAAS,CAACQ,MAAX,EAAmBR,SAAS,CAACS,IAA7B,EAAmCT,SAAS,CAACU,MAA7C,CAApB,CAFI;AAGdC,EAAAA,SAAS,EAAEX,SAAS,CAACU,MAHP;AAIdE,EAAAA,SAAS,EAAEZ,SAAS,CAACQ;AAJP,CAAhB;AAMA,IAAIK,YAAY,GAAG;AACjBR,EAAAA,GAAG,EAAE;AADY,CAAnB;;AAIA,IAAIS,QAAQ,GAAG,SAASA,QAAT,CAAkBC,KAAlB,EAAyB;AACtC,MAAIJ,SAAS,GAAGI,KAAK,CAACJ,SAAtB;AAAA,MACIC,SAAS,GAAGG,KAAK,CAACH,SADtB;AAAA,MAEII,GAAG,GAAGD,KAAK,CAACV,GAFhB;AAAA,MAGIC,QAAQ,GAAGS,KAAK,CAACT,QAHrB;AAAA,MAIIW,UAAU,GAAGnB,6BAA6B,CAACiB,KAAD,EAAQ,CAAC,WAAD,EAAc,WAAd,EAA2B,KAA3B,EAAkC,UAAlC,CAAR,CAJ9C;;AAMA,MAAIG,OAAO,GAAGhB,eAAe,CAACD,UAAU,CAACU,SAAD,EAAY,WAAZ,CAAX,EAAqCC,SAArC,CAA7B;AACA,SAAO,aAAab,KAAK,CAACoB,aAAN,CAAoBH,GAApB,EAAyBnB,QAAQ,CAAC,EAAD,EAAKoB,UAAL,EAAiB;AACpEG,IAAAA,GAAG,EAAEd,QAD+D;AAEpEK,IAAAA,SAAS,EAAEO;AAFyD,GAAjB,CAAjC,CAApB;AAID,CAZD;;AAcAJ,QAAQ,CAACV,SAAT,GAAqBA,SAArB;AACAU,QAAQ,CAACD,YAAT,GAAwBA,YAAxB;AACA,eAAeC,QAAf","sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n tag: tagPropType,\n innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.func, PropTypes.string]),\n className: PropTypes.string,\n cssModule: PropTypes.object\n};\nvar defaultProps = {\n tag: 'a'\n};\n\nvar CardLink = function CardLink(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n innerRef = props.innerRef,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"tag\", \"innerRef\"]);\n\n var classes = mapToCssModules(classNames(className, 'card-link'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n ref: innerRef,\n className: classes\n }));\n};\n\nCardLink.propTypes = propTypes;\nCardLink.defaultProps = defaultProps;\nexport default CardLink;"]},"metadata":{},"sourceType":"module"}
|