{"version":3,"file":"index.c8055ecd.js","sources":["../../../frontend/features/common/components/Spinner/index.js"],"sourcesContent":["// Libraries\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { withTranslation } from 'react-i18next';\n\nexport const Spinner = ({ label, t }) => (\n  <div tabIndex={0} aria-label=\"loading\" className=\"spinner\">\n    <span className=\"spinner__icon\">\n      <i className=\"fas fa-sync-alt fa-spin\" />\n    </span>\n    <span className=\"spinner__label\">{label || t('common.loading')}</span>\n  </div>\n);\n\nSpinner.propTypes = {\n  label: PropTypes.string,\n  t: PropTypes.func.isRequired,\n};\n\nSpinner.defaultProps = {\n  label: null,\n};\n\nexport default withTranslation()(Spinner);\n"],"names":["Spinner","label","t","React","PropTypes","Spinner$1","withTranslation"],"mappings":"8eAKO,MAAMA,EAAU,CAAC,CAAE,MAAAC,EAAO,EAAAC,KAC9BC,EAAA,cAAA,MAAA,CAAI,SAAU,EAAG,aAAW,UAAU,UAAU,SAAA,EAC9CA,EAAA,cAAA,OAAA,CAAK,UAAU,eAAA,EACbA,EAAA,cAAA,IAAA,CAAE,UAAU,yBAAA,CAA0B,CACzC,EACCA,EAAA,cAAA,OAAA,CAAK,UAAU,gBAAA,EAAkBF,GAASC,EAAE,gBAAgB,CAAE,CACjE,EAGFF,EAAQ,UAAY,CAClB,MAAOI,EAAU,QAAA,OACjB,EAAGA,EAAAA,QAAU,KAAK,UACpB,EAEAJ,EAAQ,aAAe,CACrB,MAAO,IACT,EAEA,MAAAK,EAAeC,EAAA,EAAkBN,CAAO"}