{"version":3,"sources":["webpack:///./node_modules/@material-ui/core/esm/Table/TableContext.js","webpack:///./node_modules/@material-ui/core/esm/Table/Table.js","webpack:///./node_modules/@material-ui/core/esm/Table/Tablelvl2Context.js","webpack:///./node_modules/@material-ui/core/esm/TableBody/TableBody.js","webpack:///./node_modules/@material-ui/core/esm/TableCell/TableCell.js","webpack:///./node_modules/@material-ui/core/esm/TableContainer/TableContainer.js","webpack:///./node_modules/@material-ui/core/esm/TableHead/TableHead.js","webpack:///./node_modules/@material-ui/core/esm/TableRow/TableRow.js","webpack:///./src/common/components/organisms/TextWithTable/TextWithTable.tsx","webpack:///./src/common/components/organisms/Alerts/Alert.tsx","webpack:///./src/common/components/organisms/Alerts/Alerts.tsx","webpack:///./src/common/components/organisms/TemplateButton/TemplateButton.tsx","webpack:///./src/common/components/templates/IncomeTaxRelief.tsx","webpack:///./src/common/pages/IncomeTaxReliefPage.tsx"],"names":["props","ref","classes","className","_props$component","component","Component","_props$padding","padding","_props$size","size","_props$stickyHeader","stickyHeader","other","table","Provider","value","role","root","withStyles","theme","display","width","borderCollapse","borderSpacing","typography","body2","spacing","color","palette","text","secondary","textAlign","captionSide","name","variant","_props$align","align","paddingProp","scopeProp","scope","sizeProp","sortDirection","variantProp","tablelvl2","isHeadCell","ariaSort","concat","capitalize","verticalAlign","borderBottom","type","divider","head","primary","lineHeight","pxToRem","fontWeight","fontWeightMedium","body","footer","fontSize","sizeSmall","paddingRight","paddingLeft","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","flexDirection","alignJustify","position","top","left","zIndex","backgroundColor","background","default","overflowX","_props$hover","hover","_props$selected","selected","outline","action","main","selectedOpacity","StyledTableCell","createStyles","border","TableCell","StyledTableRow","TableRow","useStyles","makeStyles","createData","column1","column2","populateTableData","page","TextWithTable","title","codeName","Grid","data-testid","container","item","xs","md","Text","box","mb","label","html","Hidden","smDown","aria-label","style","map","row","Alert","margin","Alerts","alerts","Wrapper","alert","TemplateButton","Box","justifyContent","JumbotronCallToAction","IncomeTaxRelief","benefits","button","jumbotron","layout","textWithTable","resources","Layout","Jumbotron","Spacer","Resources","Benefits","IncomeTaxReliefPage","pageContext","getIncomeTaxReliefData","data","getLayoutData","alerts__alerts","threecards__cards","subtitle","threecards__subtitle","threecards__title","analyticsId","button_c9ad60e__analytics_id","endIcon","button_c9ad60e__icon","button_c9ad60e__text","url","button_c9ad60e__url","resources__title","resources__text","resources__subtitle","downloads","resources__downloads","getJumbotronData","codename"],"mappings":"4PAWe,MANiB,kBCwB5B,EAAqB,cAAiB,SAAeA,EAAOC,GAC9D,IAAIC,EAAUF,EAAME,QAChBC,EAAYH,EAAMG,UAClBC,EAAmBJ,EAAMK,UACzBC,OAAiC,IAArBF,EALK,QAK4CA,EAC7DG,EAAiBP,EAAMQ,QACvBA,OAA6B,IAAnBD,EAA4B,UAAYA,EAClDE,EAAcT,EAAMU,KACpBA,OAAuB,IAAhBD,EAAyB,SAAWA,EAC3CE,EAAsBX,EAAMY,aAC5BA,OAAuC,IAAxBD,GAAyCA,EACxDE,EAAQ,YAAyBb,EAAO,CAAC,UAAW,YAAa,YAAa,UAAW,OAAQ,iBAEjGc,EAAQ,WAAc,WACxB,MAAO,CACLN,QAASA,EACTE,KAAMA,EACNE,aAAcA,KAEf,CAACJ,EAASE,EAAME,IACnB,OAAoB,gBAAoB,EAAaG,SAAU,CAC7DC,MAAOF,GACO,gBAAoBR,EAAW,YAAS,CACtDW,KAxBmB,UAwBbX,EAAiC,KAAO,QAC9CL,IAAKA,EACLE,UAAW,YAAKD,EAAQgB,KAAMf,EAAWS,GAAgBV,EAAQU,eAChEC,QAGU,SAAAM,EAAA,IApDK,SAAgBC,GAClC,MAAO,CAELF,KAAM,CACJG,QAAS,QACTC,MAAO,OACPC,eAAgB,WAChBC,cAAe,EACf,YAAa,YAAS,GAAIJ,EAAMK,WAAWC,MAAO,CAChDlB,QAASY,EAAMO,QAAQ,GACvBC,MAAOR,EAAMS,QAAQC,KAAKC,UAC1BC,UAAW,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tsx-236631e60239bca66e2f.js","sourcesContent":["import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar TableContext = /*#__PURE__*/React.createContext();\n\nif (process.env.NODE_ENV !== 'production') {\n TableContext.displayName = 'TableContext';\n}\n\nexport default TableContext;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport TableContext from './TableContext';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'table',\n width: '100%',\n borderCollapse: 'collapse',\n borderSpacing: 0,\n '& caption': _extends({}, theme.typography.body2, {\n padding: theme.spacing(2),\n color: theme.palette.text.secondary,\n textAlign: 'left',\n captionSide: 'bottom'\n })\n },\n\n /* Styles applied to the root element if `stickyHeader={true}`. */\n stickyHeader: {\n borderCollapse: 'separate'\n }\n };\n};\nvar defaultComponent = 'table';\nvar Table = /*#__PURE__*/React.forwardRef(function Table(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? defaultComponent : _props$component,\n _props$padding = props.padding,\n padding = _props$padding === void 0 ? 'default' : _props$padding,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n _props$stickyHeader = props.stickyHeader,\n stickyHeader = _props$stickyHeader === void 0 ? false : _props$stickyHeader,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"padding\", \"size\", \"stickyHeader\"]);\n\n var table = React.useMemo(function () {\n return {\n padding: padding,\n size: size,\n stickyHeader: stickyHeader\n };\n }, [padding, size, stickyHeader]);\n return /*#__PURE__*/React.createElement(TableContext.Provider, {\n value: table\n }, /*#__PURE__*/React.createElement(Component, _extends({\n role: Component === defaultComponent ? null : 'table',\n ref: ref,\n className: clsx(classes.root, className, stickyHeader && classes.stickyHeader)\n }, other)));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n name: 'MuiTable'\n})(Table);","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar Tablelvl2Context = /*#__PURE__*/React.createContext();\n\nif (process.env.NODE_ENV !== 'production') {\n Tablelvl2Context.displayName = 'Tablelvl2Context';\n}\n\nexport default Tablelvl2Context;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'table-row-group'\n }\n};\nvar tablelvl2 = {\n variant: 'body'\n};\nvar defaultComponent = 'tbody';\nvar TableBody = /*#__PURE__*/React.forwardRef(function TableBody(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? defaultComponent : _props$component,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\"]);\n\n return /*#__PURE__*/React.createElement(Tablelvl2Context.Provider, {\n value: tablelvl2\n }, /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n ref: ref,\n role: Component === defaultComponent ? null : 'rowgroup'\n }, other)));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableBody'\n})(TableBody);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nimport { darken, fade, lighten } from '../styles/colorManipulator';\nimport TableContext from '../Table/TableContext';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: _extends({}, theme.typography.body2, {\n display: 'table-cell',\n verticalAlign: 'inherit',\n // Workaround for a rendering bug with spanned columns in Chrome 62.0.\n // Removes the alpha (sets it to 1), and lightens or darkens the theme color.\n borderBottom: \"1px solid\\n \".concat(theme.palette.type === 'light' ? lighten(fade(theme.palette.divider, 1), 0.88) : darken(fade(theme.palette.divider, 1), 0.68)),\n textAlign: 'left',\n padding: 16\n }),\n\n /* Styles applied to the root element if `variant=\"head\"` or `context.table.head`. */\n head: {\n color: theme.palette.text.primary,\n lineHeight: theme.typography.pxToRem(24),\n fontWeight: theme.typography.fontWeightMedium\n },\n\n /* Styles applied to the root element if `variant=\"body\"` or `context.table.body`. */\n body: {\n color: theme.palette.text.primary\n },\n\n /* Styles applied to the root element if `variant=\"footer\"` or `context.table.footer`. */\n footer: {\n color: theme.palette.text.secondary,\n lineHeight: theme.typography.pxToRem(21),\n fontSize: theme.typography.pxToRem(12)\n },\n\n /* Styles applied to the root element if `size=\"small\"`. */\n sizeSmall: {\n padding: '6px 24px 6px 16px',\n '&:last-child': {\n paddingRight: 16\n },\n '&$paddingCheckbox': {\n width: 24,\n // prevent the checkbox column from growing\n padding: '0 12px 0 16px',\n '&:last-child': {\n paddingLeft: 12,\n paddingRight: 16\n },\n '& > *': {\n padding: 0\n }\n }\n },\n\n /* Styles applied to the root element if `padding=\"checkbox\"`. */\n paddingCheckbox: {\n width: 48,\n // prevent the checkbox column from growing\n padding: '0 0 0 4px',\n '&:last-child': {\n paddingLeft: 0,\n paddingRight: 4\n }\n },\n\n /* Styles applied to the root element if `padding=\"none\"`. */\n paddingNone: {\n padding: 0,\n '&:last-child': {\n padding: 0\n }\n },\n\n /* Styles applied to the root element if `align=\"left\"`. */\n alignLeft: {\n textAlign: 'left'\n },\n\n /* Styles applied to the root element if `align=\"center\"`. */\n alignCenter: {\n textAlign: 'center'\n },\n\n /* Styles applied to the root element if `align=\"right\"`. */\n alignRight: {\n textAlign: 'right',\n flexDirection: 'row-reverse'\n },\n\n /* Styles applied to the root element if `align=\"justify\"`. */\n alignJustify: {\n textAlign: 'justify'\n },\n\n /* Styles applied to the root element if `context.table.stickyHeader={true}`. */\n stickyHeader: {\n position: 'sticky',\n top: 0,\n left: 0,\n zIndex: 2,\n backgroundColor: theme.palette.background.default\n }\n };\n};\n/**\n * The component renders a `` element when the parent context is a header\n * or otherwise a `` element.\n */\n\nvar TableCell = /*#__PURE__*/React.forwardRef(function TableCell(props, ref) {\n var _props$align = props.align,\n align = _props$align === void 0 ? 'inherit' : _props$align,\n classes = props.classes,\n className = props.className,\n component = props.component,\n paddingProp = props.padding,\n scopeProp = props.scope,\n sizeProp = props.size,\n sortDirection = props.sortDirection,\n variantProp = props.variant,\n other = _objectWithoutProperties(props, [\"align\", \"classes\", \"className\", \"component\", \"padding\", \"scope\", \"size\", \"sortDirection\", \"variant\"]);\n\n var table = React.useContext(TableContext);\n var tablelvl2 = React.useContext(Tablelvl2Context);\n var isHeadCell = tablelvl2 && tablelvl2.variant === 'head';\n var role;\n var Component;\n\n if (component) {\n Component = component;\n role = isHeadCell ? 'columnheader' : 'cell';\n } else {\n Component = isHeadCell ? 'th' : 'td';\n }\n\n var scope = scopeProp;\n\n if (!scope && isHeadCell) {\n scope = 'col';\n }\n\n var padding = paddingProp || (table && table.padding ? table.padding : 'default');\n var size = sizeProp || (table && table.size ? table.size : 'medium');\n var variant = variantProp || tablelvl2 && tablelvl2.variant;\n var ariaSort = null;\n\n if (sortDirection) {\n ariaSort = sortDirection === 'asc' ? 'ascending' : 'descending';\n }\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n ref: ref,\n className: clsx(classes.root, classes[variant], className, align !== 'inherit' && classes[\"align\".concat(capitalize(align))], padding !== 'default' && classes[\"padding\".concat(capitalize(padding))], size !== 'medium' && classes[\"size\".concat(capitalize(size))], variant === 'head' && table && table.stickyHeader && classes.stickyHeader),\n \"aria-sort\": ariaSort,\n role: role,\n scope: scope\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableCell'\n})(TableCell);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n width: '100%',\n overflowX: 'auto'\n }\n};\nvar TableContainer = /*#__PURE__*/React.forwardRef(function TableContainer(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n ref: ref,\n className: clsx(classes.root, className)\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableContainer'\n})(TableContainer);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'table-header-group'\n }\n};\nvar tablelvl2 = {\n variant: 'head'\n};\nvar defaultComponent = 'thead';\nvar TableHead = /*#__PURE__*/React.forwardRef(function TableHead(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? defaultComponent : _props$component,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\"]);\n\n return /*#__PURE__*/React.createElement(Tablelvl2Context.Provider, {\n value: tablelvl2\n }, /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n ref: ref,\n role: Component === defaultComponent ? null : 'rowgroup'\n }, other)));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableHead'\n})(TableHead);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nimport { fade } from '../styles/colorManipulator';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n color: 'inherit',\n display: 'table-row',\n verticalAlign: 'middle',\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n '&$hover:hover': {\n backgroundColor: theme.palette.action.hover\n },\n '&$selected, &$selected:hover': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.selectedOpacity)\n }\n },\n\n /* Pseudo-class applied to the root element if `selected={true}`. */\n selected: {},\n\n /* Pseudo-class applied to the root element if `hover={true}`. */\n hover: {},\n\n /* Styles applied to the root element if table variant=\"head\". */\n head: {},\n\n /* Styles applied to the root element if table variant=\"footer\". */\n footer: {}\n };\n};\nvar defaultComponent = 'tr';\n/**\n * Will automatically set dynamic row height\n * based on the material table element parent (head, body, etc).\n */\n\nvar TableRow = /*#__PURE__*/React.forwardRef(function TableRow(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? defaultComponent : _props$component,\n _props$hover = props.hover,\n hover = _props$hover === void 0 ? false : _props$hover,\n _props$selected = props.selected,\n selected = _props$selected === void 0 ? false : _props$selected,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"hover\", \"selected\"]);\n\n var tablelvl2 = React.useContext(Tablelvl2Context);\n return /*#__PURE__*/React.createElement(Component, _extends({\n ref: ref,\n className: clsx(classes.root, className, tablelvl2 && {\n 'head': classes.head,\n 'footer': classes.footer\n }[tablelvl2.variant], hover && classes.hover, selected && classes.selected),\n role: Component === defaultComponent ? null : 'row'\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableRow'\n})(TableRow);","import { Grid, Hidden } from '@material-ui/core'\nimport {\n createStyles,\n makeStyles,\n Theme,\n withStyles\n} from '@material-ui/core/styles'\nimport Table from '@material-ui/core/Table'\nimport TableBody from '@material-ui/core/TableBody'\nimport TableCell from '@material-ui/core/TableCell'\nimport TableContainer from '@material-ui/core/TableContainer'\nimport TableHead from '@material-ui/core/TableHead'\nimport TableRow from '@material-ui/core/TableRow'\nimport { Text } from 'common/components/molecules/Text'\nimport React from 'react'\n\nconst StyledTableCell = withStyles((theme: Theme) =>\n createStyles({\n head: {\n backgroundColor: '#F7F8FB',\n color: '#3A3160',\n border: '0px'\n },\n body: {\n fontSize: 14\n }\n })\n)(TableCell)\n\nconst StyledTableRow = withStyles((theme: Theme) =>\n createStyles({\n root: {\n '&:nth-of-type(odd)': {\n backgroundColor: '#F0F3FD',\n color: '#766F90'\n }\n }\n })\n)(TableRow)\n\nconst useStyles = makeStyles({\n table: {}\n})\n\nfunction createData(column1: string, column2: string) {\n return { column1, column2 }\n}\n\nconst populateTableData = (page: string) => {\n switch (page) {\n case 'smart_invest':\n return [\n createData('Between the ages of 18 and 69', 'A U.S. citizen'),\n createData(\n 'Living in the Republic of Ireland',\n 'A politically exposed person (“PEP”)'\n ),\n createData(\n 'A tax resident only in the Republic of Ireland',\n 'A relative or a close associate of a PEP'\n )\n ]\n default:\n return [\n createData('Under age 30', '15%'),\n createData('30 to 39', '20%'),\n createData('40 to 49', '25%'),\n createData('50 to 54', '30%'),\n createData('55 to 59', '35%'),\n createData('60 and above', '40%')\n ]\n }\n}\n\nexport interface TextWithTableProps {\n title: string\n text: string\n codeName: string\n}\n\nexport const TextWithTable: React.FC = ({\n text,\n title,\n codeName\n}) => {\n const classes = useStyles()\n\n return (\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {codeName === 'smart_invest'\n ? 'You Must Be'\n : 'Age'}\n \n \n {codeName === 'smart_invest'\n ? 'You Must Not Be'\n : 'Percentage of earnings you can contribute'}\n \n \n \n \n {populateTableData(codeName).map(row => (\n \n \n \n \n\n \n \n \n \n ))}\n \n \n \n \n \n
\n )\n}\n","import { Box } from '@material-ui/core'\nimport React from 'react'\n\nexport interface AlertProps {\n text: string\n}\n\nexport const Alert: React.FC = ({ text }) => {\n return (\n \n {text}\n \n )\n}\n","import { Grid } from '@material-ui/core'\nimport { Wrapper } from 'common/components/molecules/Wrapper'\nimport React from 'react'\nimport { Alert } from './Alert'\n\nexport interface AlertsProps {\n alerts: string[]\n}\n\nexport const Alerts: React.FC = ({ alerts = [] }) => {\n return (\n \n \n {alerts.map(alert => (\n \n \n \n ))}\n \n \n )\n}\n","import React from 'react'\nimport { Box } from '@material-ui/core'\nimport {\n JumbotronCallToActionProps,\n JumbotronCallToAction\n} from '../Jumbotron/JumbotronCallToAction'\n\nexport interface TemplateButtonProps\n extends Omit {}\n\nexport const TemplateButton: React.FC = props => {\n return (\n \n \n \n )\n}\n","import { Spacer } from 'common/components/molecules/Spacer'\nimport { Wrapper } from 'common/components/molecules/Wrapper'\nimport { Alerts, AlertsProps } from 'common/components/organisms/Alerts'\nimport { Benefits, BenefitsProps } from 'common/components/organisms/Benefits'\nimport {\n Jumbotron,\n JumbotronProps\n} from 'common/components/organisms/Jumbotron'\nimport { Layout, LayoutProps } from 'common/components/organisms/Layout'\nimport {\n Resources,\n ResourcesProps\n} from 'common/components/organisms/Resources'\nimport {\n TemplateButton,\n TemplateButtonProps\n} from 'common/components/organisms/TemplateButton'\nimport {\n TextWithTable,\n TextWithTableProps\n} from 'common/components/organisms/TextWithTable'\nimport React from 'react'\n\nexport interface IncomeTaxReliefProps {\n alerts: AlertsProps\n benefits: BenefitsProps\n button: TemplateButtonProps\n jumbotron: JumbotronProps\n layout: LayoutProps\n textWithTable: TextWithTableProps\n resources: ResourcesProps\n}\n\nexport const IncomeTaxRelief: React.FC = ({\n alerts,\n benefits,\n button,\n jumbotron,\n layout,\n textWithTable,\n resources\n}) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n","import { getJumbotronData } from 'common/components/organisms/Jumbotron'\nimport { IncomeTaxRelief } from 'common/components/templates/IncomeTaxRelief'\nimport { getLayoutData } from 'common/utils/getLayoutData'\nimport React from 'react'\n\nexport interface IncomeTaxReliefPageProps {\n pageContext: any\n}\n\nexport const IncomeTaxReliefPage: React.FC = ({\n pageContext\n}) => {\n return \n}\nexport default IncomeTaxReliefPage\n\nexport const getIncomeTaxReliefData = (data: any) => ({\n layout: getLayoutData(data),\n alerts: {\n alerts: (data.alerts__alerts || []).map((alert: any) => alert.text)\n },\n benefits: {\n benefits: data.threecards__cards,\n subtitle: data.threecards__subtitle,\n title: data.threecards__title\n },\n button: {\n analyticsId: data.button_c9ad60e__analytics_id,\n endIcon: data.button_c9ad60e__icon,\n label: data.button_c9ad60e__text,\n url: data.button_c9ad60e__url\n },\n resources: {\n title: data.resources__title,\n text: data.resources__text,\n subtitle: data.resources__subtitle,\n downloads: data.resources__downloads\n },\n jumbotron: getJumbotronData(data),\n textWithTable: {\n text: data.text,\n title: data.title,\n codeName: data.codename\n }\n})\n"],"sourceRoot":""}