{"version":3,"file":"specialised_information_search.js","sources":["../../../../../src/components/SpecialisedInformation/SpecialisedInformationResult.jsx","../../../../../src/components/SpecialisedInformation/SpecialisedInformationSearch.jsx","../../../../../src/components/SpecialisedInformation/SpecialisedInformationFilter.jsx","../../../../../src/specialised_information_search.js"],"sourcesContent":["import {Modal} from \"../Modal.jsx\";\nimport {useState} from \"react\";\nimport {getTranslations} from \"../../services/language.service.js\";\n\nconst LANG = getTranslations()\n\nexport const SpecialisedInformationResult = (props) => {\n const [showModal,setShowModal] = useState(false)\n const getTeaser = () => {\n const teaser =
\n\n if (props.result.locked) {\n return teaser\n }\n\n return {teaser}\n }\n\n const onClick = (e) => {\n if (showModal) {\n return\n }\n e.preventDefault()\n setShowModal(true)\n }\n\n let download = false;\n if (props.result.specialisedInformationType === 'download') {\n download = props.result.filename;\n }\n\n return (\n \n {props.result.image !== '' &&{LANG.noResults}
}\n {isLoading && }\n