{"version":3,"file":"components-slpWelcomeSectionList-slpWelcomeSectionList-f156829212c676613ccb.js","mappings":"mNASA,MAAMA,EAAwBC,IAAsB,IAADC,EAAAC,EAAAC,EAAAC,EAAA,IAApB,YAAEC,GAAaL,EAC5C,MAAMM,EAAmB,CACvBC,WAAY,CACV,CAACC,EAAAA,OAAOC,WAAY,CAACC,EAAMC,IACzBC,EAAAA,cAACC,EAAAA,SAAe,CAACC,UAAU,QAAQH,GAErC,CAACH,EAAAA,OAAOO,WAAY,CAACL,EAAMC,IACzBC,EAAAA,cAACC,EAAAA,SAAe,CAACC,UAAU,QAAQH,GAErC,CAACH,EAAAA,OAAOQ,WAAY,CAACN,EAAMC,IACzBC,EAAAA,cAACC,EAAAA,UAAgB,KAAEF,GAErB,CAACH,EAAAA,OAAOS,WAAY,CAACP,EAAMC,IACzBC,EAAAA,cAACC,EAAAA,SAAe,KAAEF,GAEpB,CAACH,EAAAA,OAAOU,SAAU,CAACR,EAAMC,IACvBC,EAAAA,cAACC,EAAAA,cAAoB,KAAEF,GAEzB,CAACH,EAAAA,OAAOW,WAAY,CAACT,EAAMC,IACzBC,EAAAA,cAACC,EAAAA,SAAe,KAAEF,GAEpB,CAACS,EAAAA,QAAQC,WAAY,CAACX,EAAMC,KAAQ,IAAAW,EAAAC,EAAAC,EAAA,OAClCZ,EAAAA,cAACC,EAAAA,UAAgB,CACfY,MACEC,EAAAA,EAAAA,IAAkBhB,SAAU,QAANY,EAAJZ,EAAMiB,YAAI,IAAAL,OAAN,EAAJA,EAAYM,KAC1BlB,SAAU,QAANa,EAAJb,EAAMiB,YAAI,IAAAJ,OAAN,EAAJA,EAAYK,KACZC,EAAAA,EAAAA,IACEC,8BAAgCpB,SAAU,QAANc,EAAJd,EAAMiB,YAAI,IAAAH,OAAN,EAAJA,EAAYI,OAInDjB,EACgB,GAGvBoB,WAAaC,GACXA,EAAKC,MAAM,MAAMC,SAAQ,CAACF,EAAMG,IAAM,CAACA,EAAI,GAAKvB,EAAAA,c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yBzBe,EAAYf,EAAAA,QAAOgB,GAAEd,WAAA,CAAAC,YAAA,yCAAAC,YAAA,eAATJ,CAAS,+VAoBrBiB,EAAWjB,EAAAA,QAAOkB,EAAChB,WAAA,CAAAC,YAAA,wCAAAC,YAAA,eAARJ,CAAQ,2SA0BnBmB,EAAcnB,EAAAA,QAAOoB,GAAElB,WAAA,CAAAC,YAAA,2CAAAC,YAAA,eAATJ,CAAS,sFAMvBqB,EAAWrB,EAAAA,QAAOsB,GAAEpB,WAAA,CAAAC,YAAA,wCAAAC,YAAA,gBAATJ,CAAS,6LAapBuB,EAAYvB,EAAAA,QAAOwB,EAACtB,WAAA,CAAAC,YAAA,yCAAAC,YAAA,gBAARJ,CAAQ,mEAKpByB,EAAgBzB,EAAAA,QAAO0B,GAAExB,WAAA,CAAAC,YAAA,6CAAAC,YAAA,gBAATJ,CAAS,kCAKzB2B,EAAmB3B,EAAAA,QAAOC,IAAGC,WAAA,CAAAC,YAAA,gDAAAC,YAAA,gBAAVJ,CAAU,6GAU7B4B,GAAW5B,EAAAA,EAAAA,SAAO6B,EAAAA,GAAI3B,WAAA,CAAAC,YAAA,wCAAAC,YAAA,gBAAXJ,CAAW,uI","sources":["webpack://islandpetro/./src/components/slpWelcomeSectionList/slpWelcomeSectionList.js","webpack://islandpetro/./src/components/slpWelcomeSectionList/slpWelcomeSectionListStyles.js"],"sourcesContent":["import React from 'react';\nimport { documentToReactComponents } from '@contentful/rich-text-react-renderer';\nimport { BLOCKS, INLINES } from '@contentful/rich-text-types';\nimport { Row } from 'react-bootstrap';\nimport { sectionList } from '../../constants/queryFragments';\nimport loadable from '@loadable/component';\nimport * as Styled from './slpWelcomeSectionListStyles';\nimport { addTrailingSlash, isExternalUrlhref } from '../../utils';\n\nconst SlpWelcomeSectionList = ({ sectionData }) => {\n const optionsMainStyle = {\n renderNode: {\n [BLOCKS.HEADING_2]: (node, children) => (\n {children}\n ),\n [BLOCKS.HEADING_3]: (node, children) => (\n {children}\n ),\n [BLOCKS.HEADING_4]: (node, children) => (\n {children}\n ),\n [BLOCKS.PARAGRAPH]: (node, children) => (\n {children}\n ),\n [BLOCKS.UL_LIST]: (node, children) => (\n {children}\n ),\n [BLOCKS.LIST_ITEM]: (node, children) => (\n {children}\n ),\n [INLINES.HYPERLINK]: (node, children) => (\n \n {children}\n \n ),\n },\n renderText: (text) =>\n text.split('\\n').flatMap((text, i) => [i > 0 &&
, text]),\n };\n\n return (\n \n \n \n {sectionData?.header?.trim() && (\n \n {sectionData?.header}\n \n )}\n {sectionData?.subtext?.trim() && (\n \n {sectionData?.subtext}\n \n )}\n \n {sectionData?.listDetails &&\n documentToReactComponents(\n JSON.parse(sectionData?.listDetails?.raw),\n optionsMainStyle\n )}\n\n {sectionData && (\n <>\n \n {sectionData?.list &&\n sectionData?.list?.map((section, index) => {\n if (section?.type && sectionList?.includes(section?.type)) {\n // const sectionData = sectionData.list[section.type];\n const SectionComponent = loadable(() =>\n import(\n `../../components/${section?.type}/${section?.type}`\n )\n );\n return (\n \n \n \n );\n }\n })}\n \n \n )}\n \n \n );\n};\nexport default SlpWelcomeSectionList;\n","import styled from 'styled-components';\nimport { Col, Row } from 'react-bootstrap';\n\nexport const SLPMainContainer = styled.div`\n color: #00483b;\n font-family: 'Figtree-Regular', arial, sans-serif;\n font-size: 18px;\n line-height: 130%;\n letter-spacing: 0.02em;\n width: 100%;\n @media (max-width: 991px) {\n font-size: 16px;\n }\n`;\n\nexport const InnerBody = styled.div`\n width: 700px;\n margin: 0 auto;\n padding: 60px 0;\n @media (max-width: 991px) {\n width: 100%;\n padding: 35px;\n }\n`;\nexport const HeaderH2 = styled.h2`\n text-align: center;\n position: relative;\n color: #00493b;\n font-size: 36px;\n line-height: 46px;\n margin: 0 0 35px 0;\n padding: 0;\n font-weight: normal !important;\n @media (max-width: 991px) {\n margin-bottom: 20px;\n font-size: 26px;\n line-height: 33px;\n }\n`;\nexport const HeaderH3 = styled.h3`\n text-align: ${(props) => props.textAlign};\n position: relative;\n margin: 0 0 35px 0;\n font-family: 'Figtree-Regular', arial, sans-serif;\n font-size: 32px;\n line-height: 37px;\n font-weight: normal !important;\n color: #00a6e8;\n @media (max-width: 991px) {\n font-size: 25px;\n line-height: 30px;\n }\n`;\n\nexport const Columns = styled.div`\n :after {\n visibility: hidden;\n display: block;\n font-size: 0;\n content: ' ';\n clear: both;\n height: 0;\n }\n`;\n\nexport const HorizontalBreak = styled.hr`\n height: 1px;\n border: none;\n background: rgba(0, 0, 0, 0.15);\n margin: 30px 0;\n clear: both;\n @media (max-width: 991px) {\n margin: 25px 0;\n }\n`;\nexport const ColumnThird = styled(Col)`\n width: 30%;\n text-align: center;\n position: relative;\n border-right: 1px solid #ededed;\n padding: 7px 25px 3px 25px !important;\n :last-child {\n border: none;\n }\n p {\n margin: 0 !important;\n }\n @media (max-width: 991px) {\n padding: 15px 0 !important;\n width: 100%;\n max-width: 320px;\n margin: 0 auto;\n border: none;\n border-bottom: 1px solid #ededed;\n ul:first-child {\n margin-top: -30px !important;\n }\n }\n`;\n\nexport const HeadingH4 = styled.h4`\n padding: 0 0 15px 0;\n margin: 0 0 35px 0;\n font-family: 'Figtree-Regular', arial, sans-serif;\n font-size: 24px;\n line-height: 29px;\n color: rgba(0, 0, 0, 0.6);\n border-bottom: 1px solid rgba(0, 0, 0, 0.15);\n font-weight: normal !important;\n @media (max-width: 1399px) {\n font-size: 22px;\n line-height: 27px;\n margin-bottom: 30px;\n }\n @media (max-width: 767px) {\n font-size: 20px;\n line-height: 25px;\n }\n`;\n\nexport const ParaText = styled.p`\n margin-bottom: 0;\n @media (max-width: 1399px) {\n margin-bottom: 30px;\n }\n i {\n font-style: italic;\n margin-bottom: 0;\n font-size: 16px;\n line-height: 24px;\n @media (max-width: 1399px) {\n font-size: 15px;\n line-height: 22px;\n }\n @media (max-width: 767px) {\n font-size: 13px;\n line-height: 20px;\n }\n }\n a {\n margin-bottom: 0 !important;\n }\n code {\n margin: 0;\n }\n`;\nexport const OrderedList = styled.ol`\n margin: 0 0 30px 0;\n padding: 0;\n list-style-type: none;\n counter-reset: standard-counter;\n`;\nexport const ListItem = styled.li`\n padding: 0 0 15px 50px;\n\n background-size: 30px auto;\n list-style: none;\n margin: 0;\n @media (max-width: 767px) {\n padding-top: 1px;\n padding-left: 40px;\n background-position: 0 0;\n background-size: 25px auto;\n }\n`;\nexport const LinkStyle = styled.a`\n text-decoration: none;\n color: #00a6e8;\n transition: 0.25s ease-out;\n`;\nexport const UnorderedList = styled.ul`\n margin: 0 0 30px 0;\n padding: 0;\n`;\n\nexport const HeadingContainer = styled.div`\n width: 580px;\n margin: 0 auto;\n text-align: center;\n letter-spacing: 0.02em;\n @media (max-width: 991px) {\n width: 100%;\n }\n`;\n\nexport const RowStyle = styled(Row)`\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: center;\n align-items: stretch;\n @media (max-width: 991px) {\n display: block;\n }\n`;\n"],"names":["SlpWelcomeSectionList","_ref","_sectionData$header","_sectionData$subtext","_sectionData$listDeta","_sectionData$list","sectionData","optionsMainStyle","renderNode","BLOCKS","HEADING_2","node","children","React","Styled","textAlign","HEADING_3","HEADING_4","PARAGRAPH","UL_LIST","LIST_ITEM","INLINES","HYPERLINK","_node$data","_node$data2","_node$data3","href","isExternalUrlhref","data","uri","addTrailingSlash","process","renderText","text","split","flatMap","i","key","header","trim","subtext","listDetails","documentToReactComponents","JSON","parse","raw","className","list","map","section","index","type","sectionList","includes","SectionComponent","loadable","resolved","chunkName","replace","isReady","props","resolve","__webpack_modules__","importAsync","requireAsync","then","requireSync","id","__webpack_require__","xs","lg","SLPMainContainer","styled","div","withConfig","displayName","componentId","InnerBody","HeaderH2","h2","HeaderH3","h3","Columns","HorizontalBreak","hr","ColumnThird","Col","HeadingH4","h4","ParaText","p","OrderedList","ol","ListItem","li","LinkStyle","a","UnorderedList","ul","HeadingContainer","RowStyle","Row"],"sourceRoot":""}