{"version":3,"sources":["webpack:///./src/templates/newsAndMedia.js","webpack:///./src/components/Archive/List/index.js","webpack:///./src/components/NumberedPagination/index.js","webpack:///./src/components/Archive/Link/index.js","webpack:///./src/components/Archive/Tease/index.js","webpack:///./src/components/ArticleTease/index.js","webpack:///./node_modules/core-js/modules/es6.number.parse-int.js","webpack:///./node_modules/core-js/modules/_parse-int.js"],"names":["NewsAndMediaListing","_ref","data","location","pageContext","stickyArticles","prismic","stickyPress","edges","articles","allPresss","pressArchive","slice","pop","seo","node","lastChar","Number","parseInt","slug","currentPage","isNaN","react__WEBPACK_IMPORTED_MODULE_2___default","a","createElement","Fragment","_components_SEO__WEBPACK_IMPORTED_MODULE_4__","title","description","undefined","image","href","_components_BasicPage_Header__WEBPACK_IMPORTED_MODULE_5__","header_image","sharpImage","header_imageSharp","overline","breadcrumb_title","_components_Wrapper__WEBPACK_IMPORTED_MODULE_6__","length","_components_Archive_List__WEBPACK_IMPORTED_MODULE_7__","map","_ref2","article","_components_ArticleTease__WEBPACK_IMPORTED_MODULE_8__","key","_meta","id","_ref3","sticky","_components_NumberedPagination__WEBPACK_IMPORTED_MODULE_11__","numPages","onPageChange","e","activePage","navigate","_components_Footer__WEBPACK_IMPORTED_MODULE_9__","cta","fragments","footerCtaFragment","linkFragmentQuery","query","source","toString","this","react__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","react__WEBPACK_IMPORTED_MODULE_0___default","n","_utils__WEBPACK_IMPORTED_MODULE_1__","_List_module_scss__WEBPACK_IMPORTED_MODULE_2__","_List_module_scss__WEBPACK_IMPORTED_MODULE_2___default","ArchiveList","customClassName","className","children","styles","list","semantic_ui_react__WEBPACK_IMPORTED_MODULE_1__","_svgs_Arrow__WEBPACK_IMPORTED_MODULE_2__","_NumberedPagination_module_scss__WEBPACK_IMPORTED_MODULE_3__","_NumberedPagination_module_scss__WEBPACK_IMPORTED_MODULE_3___default","_utils__WEBPACK_IMPORTED_MODULE_4__","NumberedPagination","isMobile","useMediaQuery","container","wrapper","content","ellipsisItem","icon","firstItem","lastItem","prevItem","text","arrow","arrowLeft","arrowLabel","disabled","nextItem","totalPages","siblingRange","TeaseLink","url","external","extraClasses","react_default","tease__wrapper","Object","assign","gatsby_browser_entry","to","graphic__wrapper","graphic","ButtonCircle","circle__svg","Arrow","arrow__svg","defaultProps","Tease","aside","link","externalLink","TagWrapper","tag","markup","source__details","Link","tease__content","tease__title","top__border","ArticleLink","isExternal","ArticleTeaser","featured_image","featured_imageSharp","publishDate","sourceAuthor","source_logo_image","source_logo_imageSharp","isInternal","tags","linkResolver","featured__image__wrapper","ArticleTease_ArticleLink","Image","featured__image","alt","source__logo","source__info","source__info__text","source__info__mobile","moment","format","Archive_Tease","RichText","asText","$export","$parseInt","S","F","$trim","trim","ws","hex","module","exports","str","radix","string","String","test"],"mappings":"wPAcMA,EAAsB,SAAAC,GAAqC,IAAlCC,EAAkCD,EAAlCC,KAAMC,EAA4BF,EAA5BE,SAAUC,EAAkBH,EAAlBG,YACvCC,EAAiBH,EAAKI,QAAQC,YAAYC,MAC1CC,EAAWP,EAAKI,QAAQI,UAAUF,MAClCG,EAAeT,EAAKI,QAAQK,aAAaH,MAAMI,MAAM,EAAG,GAAGC,MAEzDC,EAAQH,EAAaI,KAArBD,IAEFE,EAAWC,OAAOC,SAASd,EAAYe,KAAKP,OAAO,IACnDQ,EAAcC,MAAML,GAAY,EAAIA,GAAY,EAEtD,OACEM,EAAAC,EAAAC,cAAAF,EAAAC,EAAAE,SAAA,KACEH,EAAAC,EAAAC,cAACE,EAAA,EAAD,CACEC,MAAM,QACNC,YAAad,GAAOA,EAAIc,YAAcd,EAAIc,iBAAcC,EACxDC,MAAOhB,GAAOA,EAAIgB,MAAQhB,EAAIgB,WAAQD,EACtCE,KAAM5B,EAAS4B,OAGhBpB,GACCW,EAAAC,EAAAC,cAACQ,EAAA,EAAD,CACEF,MAAOnB,EAAaI,KAAKkB,aACzBC,WAAYvB,EAAaI,KAAKoB,kBAC9BC,SAAUzB,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ent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { graphql, navigate } from 'gatsby';\n\nimport SEO from '../components/SEO';\nimport Header from '../components/BasicPage/Header';\nimport Wrapper from '../components/Wrapper';\nimport ArchiveList from '../components/Archive/List';\nimport ArticleTease from '../components/ArticleTease';\nimport Footer, { footerCtaFragment } from '../components/Footer';\nimport { linkFragmentQuery } from './page';\n\nimport NumberedPagination from '../components/NumberedPagination';\n\nconst NewsAndMediaListing = ({ data, location, pageContext }) => {\n const stickyArticles = data.prismic.stickyPress.edges;\n const articles = data.prismic.allPresss.edges;\n const pressArchive = data.prismic.pressArchive.edges.slice(0, 1).pop();\n\n const { seo } = pressArchive.node;\n\n const lastChar = Number.parseInt(pageContext.slug.slice(-1));\n const currentPage = isNaN(lastChar) ? 1 : lastChar || 1;\n\n return (\n <>\n \n\n {pressArchive && (\n \n )}\n\n \n {articles.length > 0 ? (\n \n {/* Render sticky article(s) */}\n {stickyArticles.map(({ node: article }) => {\n {\n /* Only render sticky article(s) on Page 1 */\n }\n if (currentPage === 1) {\n return ;\n }\n })}\n\n {/*\n Render the rest of the articles. Only render sticky articles here\n if we're not on Page 1.\n */}\n {articles.map(({ node: article }) => {\n if (currentPage !== 1 || !article.sticky) {\n return ;\n }\n })}\n \n ) : (\n

No articles

\n )}\n
\n\n {\n // eslint-disable-next-line react/prop-types\n if (data.activePage === 1) {\n navigate('/news-and-media');\n return;\n }\n\n // eslint-disable-next-line react/prop-types\n navigate(`/news-and-media/${data.activePage}`);\n }}\n />\n\n