mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
1 line
3.9 KiB
JSON
1 line
3.9 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 active: PropTypes.bool,\n className: PropTypes.string,\n cssModule: PropTypes.object\n};\nvar defaultProps = {\n tag: 'li'\n};\n\nvar BreadcrumbItem = function BreadcrumbItem(props) {\n var className = props.className,\n cssModule = props.cssModule,\n active = props.active,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"active\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, active ? 'active' : false, 'breadcrumb-item'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n \"aria-current\": active ? 'page' : undefined\n }));\n};\n\nBreadcrumbItem.propTypes = propTypes;\nBreadcrumbItem.defaultProps = defaultProps;\nexport default BreadcrumbItem;","map":{"version":3,"sources":["/app/node_modules/reactstrap/es/BreadcrumbItem.js"],"names":["_extends","_objectWithoutPropertiesLoose","React","PropTypes","classNames","mapToCssModules","tagPropType","propTypes","tag","active","bool","className","string","cssModule","object","defaultProps","BreadcrumbItem","props","Tag","attributes","classes","createElement","undefined"],"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,MAAM,EAAEN,SAAS,CAACO,IAFJ;AAGdC,EAAAA,SAAS,EAAER,SAAS,CAACS,MAHP;AAIdC,EAAAA,SAAS,EAAEV,SAAS,CAACW;AAJP,CAAhB;AAMA,IAAIC,YAAY,GAAG;AACjBP,EAAAA,GAAG,EAAE;AADY,CAAnB;;AAIA,IAAIQ,cAAc,GAAG,SAASA,cAAT,CAAwBC,KAAxB,EAA+B;AAClD,MAAIN,SAAS,GAAGM,KAAK,CAACN,SAAtB;AAAA,MACIE,SAAS,GAAGI,KAAK,CAACJ,SADtB;AAAA,MAEIJ,MAAM,GAAGQ,KAAK,CAACR,MAFnB;AAAA,MAGIS,GAAG,GAAGD,KAAK,CAACT,GAHhB;AAAA,MAIIW,UAAU,GAAGlB,6BAA6B,CAACgB,KAAD,EAAQ,CAAC,WAAD,EAAc,WAAd,EAA2B,QAA3B,EAAqC,KAArC,CAAR,CAJ9C;;AAMA,MAAIG,OAAO,GAAGf,eAAe,CAACD,UAAU,CAACO,SAAD,EAAYF,MAAM,GAAG,QAAH,GAAc,KAAhC,EAAuC,iBAAvC,CAAX,EAAsEI,SAAtE,CAA7B;AACA,SAAO,aAAaX,KAAK,CAACmB,aAAN,CAAoBH,GAApB,EAAyBlB,QAAQ,CAAC,EAAD,EAAKmB,UAAL,EAAiB;AACpER,IAAAA,SAAS,EAAES,OADyD;AAEpE,oBAAgBX,MAAM,GAAG,MAAH,GAAYa;AAFkC,GAAjB,CAAjC,CAApB;AAID,CAZD;;AAcAN,cAAc,CAACT,SAAf,GAA2BA,SAA3B;AACAS,cAAc,CAACD,YAAf,GAA8BA,YAA9B;AACA,eAAeC,cAAf","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 active: PropTypes.bool,\n className: PropTypes.string,\n cssModule: PropTypes.object\n};\nvar defaultProps = {\n tag: 'li'\n};\n\nvar BreadcrumbItem = function BreadcrumbItem(props) {\n var className = props.className,\n cssModule = props.cssModule,\n active = props.active,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"active\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, active ? 'active' : false, 'breadcrumb-item'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n \"aria-current\": active ? 'page' : undefined\n }));\n};\n\nBreadcrumbItem.propTypes = propTypes;\nBreadcrumbItem.defaultProps = defaultProps;\nexport default BreadcrumbItem;"]},"metadata":{},"sourceType":"module"} |