mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-28 03:15:16 +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 className: PropTypes.string,\n cssModule: PropTypes.object,\n innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.string, PropTypes.func])\n};\nvar defaultProps = {\n tag: 'div'\n};\n\nvar ToastBody = function ToastBody(props) {\n var className = props.className,\n cssModule = props.cssModule,\n innerRef = props.innerRef,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"innerRef\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, 'toast-body'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n ref: innerRef\n }));\n};\n\nToastBody.propTypes = propTypes;\nToastBody.defaultProps = defaultProps;\nexport default ToastBody;","map":{"version":3,"sources":["/app/node_modules/reactstrap/es/ToastBody.js"],"names":["_extends","_objectWithoutPropertiesLoose","React","PropTypes","classNames","mapToCssModules","tagPropType","propTypes","tag","className","string","cssModule","object","innerRef","oneOfType","func","defaultProps","ToastBody","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,SAAS,EAAEN,SAAS,CAACO,MAFP;AAGdC,EAAAA,SAAS,EAAER,SAAS,CAACS,MAHP;AAIdC,EAAAA,QAAQ,EAAEV,SAAS,CAACW,SAAV,CAAoB,CAACX,SAAS,CAACS,MAAX,EAAmBT,SAAS,CAACO,MAA7B,EAAqCP,SAAS,CAACY,IAA/C,CAApB;AAJI,CAAhB;AAMA,IAAIC,YAAY,GAAG;AACjBR,EAAAA,GAAG,EAAE;AADY,CAAnB;;AAIA,IAAIS,SAAS,GAAG,SAASA,SAAT,CAAmBC,KAAnB,EAA0B;AACxC,MAAIT,SAAS,GAAGS,KAAK,CAACT,SAAtB;AAAA,MACIE,SAAS,GAAGO,KAAK,CAACP,SADtB;AAAA,MAEIE,QAAQ,GAAGK,KAAK,CAACL,QAFrB;AAAA,MAGIM,GAAG,GAAGD,KAAK,CAACV,GAHhB;AAAA,MAIIY,UAAU,GAAGnB,6BAA6B,CAACiB,KAAD,EAAQ,CAAC,WAAD,EAAc,WAAd,EAA2B,UAA3B,EAAuC,KAAvC,CAAR,CAJ9C;;AAMA,MAAIG,OAAO,GAAGhB,eAAe,CAACD,UAAU,CAACK,SAAD,EAAY,YAAZ,CAAX,EAAsCE,SAAtC,CAA7B;AACA,SAAO,aAAaT,KAAK,CAACoB,aAAN,CAAoBH,GAApB,EAAyBnB,QAAQ,CAAC,EAAD,EAAKoB,UAAL,EAAiB;AACpEX,IAAAA,SAAS,EAAEY,OADyD;AAEpEE,IAAAA,GAAG,EAAEV;AAF+D,GAAjB,CAAjC,CAApB;AAID,CAZD;;AAcAI,SAAS,CAACV,SAAV,GAAsBA,SAAtB;AACAU,SAAS,CAACD,YAAV,GAAyBA,YAAzB;AACA,eAAeC,SAAf","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 className: PropTypes.string,\n cssModule: PropTypes.object,\n innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.string, PropTypes.func])\n};\nvar defaultProps = {\n tag: 'div'\n};\n\nvar ToastBody = function ToastBody(props) {\n var className = props.className,\n cssModule = props.cssModule,\n innerRef = props.innerRef,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"innerRef\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, 'toast-body'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n ref: innerRef\n }));\n};\n\nToastBody.propTypes = propTypes;\nToastBody.defaultProps = defaultProps;\nexport default ToastBody;"]},"metadata":{},"sourceType":"module"}
|