{"version":3,"file":"modern.badges.Bk_b1r5d.js","names":["PropTypes","config","require_react","__toESM","t","require_client","Badge","config_default","require_prop_types","import_client","import_react","import_prop_types","import_jsx_runtime","require_jsx_runtime","App","badges","a","b","badge","index","social","assets","renderApp","container"],"sources":["../../src/modern/features/badges/App.js","../../src/modern/features/badges/index.js"],"sourcesContent":["import React from 'react'\nimport PropTypes from 'prop-types'\n\nimport { t } from '@owl-nest/localize'\nimport { Badge } from '@ulule/owl-kit-components/next'\n\nclass App extends React.Component {\n render() {\n //immutable way to sort an array\n const badges = [...this.props.badges].sort((a, b) => {\n return a.position - b.position\n })\n const { social = { facebook: 'ulule' }, assets } = this.props\n\n return (\n
\n {t('Badges to celebrate and discover Ululers that make good things happen!')}\n
\n