{"version":3,"file":"index-C5knTGoL.js","sources":["../../../app/javascript/entrypoints/pages/DisclosuresPage/FinancialInformationTable/index.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport {\n FinancialInformationDisclosure,\n FinancialInformationDisclosureTypeEnum,\n} from '../../../output/models/FinancialInformationDisclosure';\n\nimport { ResultsForecastRows } from './ResultsForecastRows';\nimport { SummaryRows } from './SummaryRows';\n\ninterface Props {\n data: FinancialInformationDisclosure[];\n}\n\nexport const FinancialInformationTable: React.FC = ({ data }) => {\n return (\n <>\n {data.map((datum, index) => (\n \n {index === 0 ? (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ) : (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n {renderRows(datum)}\n \n ))}\n \n );\n};\n\nconst renderRows = (datum: FinancialInformationDisclosure): JSX.Element | undefined => {\n if (datum.type === FinancialInformationDisclosureTypeEnum.Summary) {\n return ;\n } else if (datum.type === FinancialInformationDisclosureTypeEnum.ResultsForecast) {\n return ;\n } else {\n <>;\n }\n};\n"],"names":["FinancialInformationTable","data","jsx","Fragment","datum","index","jsxs","renderRows","FinancialInformationDisclosureTypeEnum","SummaryRows","ResultsForecastRows"],"mappings":"mhCAcO,MAAMA,EAA6C,CAAC,CAAE,KAAAC,KAEzDC,EAAA,IAAAC,EAAA,SAAA,CACG,WAAK,IAAI,CAACC,EAAOC,IAChBC,EAAA,KAAC,QAAM,CAAA,UAAU,sDACd,SAAA,CAAAD,IAAU,EACRH,MAAA,QAAA,CACC,SAACI,EAAA,KAAA,KAAA,CAAG,UAAU,6BACZ,SAAA,CAACJ,EAAA,IAAA,KAAA,CAAG,UAAU,2CAA2C,SAAE,KAAA,EAC1DA,EAAA,IAAA,KAAA,CAAG,UAAU,4CAA4C,SAAG,MAAA,EAC5DA,EAAA,IAAA,KAAA,CAAG,UAAU,2CAA2C,SAAG,MAAA,EAC3DA,EAAA,IAAA,KAAA,CAAG,UAAU,6CAA6C,SAAG,MAAA,EAC7D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