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,EAAAtJ,CAAA,CAAAuN,QAAA,EACKC,MAAA1C,CACL,EAAAzB,EAAAiE,aAAA,CAAAH,EAAA9Q,EAAAJ,GALA,EAQEoO,CAAe,EAAAhB,EAAA8D,SAAA,CA4DjB9C,CAAAA,EAAAoD,SAAA,IACApD,EAAAqD,YAAA,CA5KA,CACAN,UAAA,MACAC,aAAA,SAAAvD,CAAA,EACA,OAAAA,CACA,CACA,EAuK8B,IAAAb,EAAAoB,CAAA,YAAAvP,CAAA,EAAAA,EAAA6S,CAAA,wDAAA7S,EAAAA,EAAA8S,CAAA,SAAAC,KAAA/S,EAAA6S,CAAA","sources":["webpack://_N_E/?a42e","webpack://_N_E/./public/images/placeholders/product-placeholder.png","webpack://_N_E/./components/breadcrumbs.tsx","webpack://_N_E/./components/common/menu-link-buttons.tsx","webpack://_N_E/./public/images/rmr-loader.svg","webpack://_N_E/./components/loader.tsx","webpack://_N_E/./components/page-headers/listing-page-header.tsx","webpack://_N_E/./components/readerships-tile.tsx","webpack://_N_E/./lib/graphql-fragments/pageMeta.ts","webpack://_N_E/./lib/queries/readerships/getAllReaderships.ts","webpack://_N_E/./pages/readerships/index.tsx","webpack://_N_E/./styles/components/breadcrumbs.module.scss","webpack://_N_E/./styles/components/common/menu-link-buttons.module.scss","webpack://_N_E/./styles/components/loader.module.scss","webpack://_N_E/./styles/components/page-headers/listing-page-header.module.scss","webpack://_N_E/./styles/components/page-templates/readerships.module.scss","webpack://_N_E/./styles/components/readerships-tile.module.scss","webpack://_N_E/./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack://_N_E/./node_modules/react-transition-group/esm/utils/ChildMapping.js","webpack://_N_E/./node_modules/react-transition-group/esm/TransitionGroup.js","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/readerships\",\n function () {\n return require(\"private-next-pages/readerships/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/readerships\"])\n });\n }\n ","export default {\"src\":\"/_next/static/media/product-placeholder.474fe4bf.png\",\"height\":311,\"width\":448,\"blurDataURL\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAUVBMVEXn/P/m+/7k+fzf8/be8vXj9/re8vXo/v/n/P/m+/7k+fzj+Pvh9vnh9fjg9Pff8/be8vXe8fTd8fTX6+7X6u3W6ezS5efP4uTB0tWnt7mks7UIKa5TAAAAB3RSTlP9/f39/f7+UE8SuwAAADlJREFUeNoNxskBgCAQA8AoqBtRN95A/4XCvAZBp+SKmLfkh/uEMZf314qe+nz3BcSdXMwGhEQjiQZB1AI2cITenQAAAABJRU5ErkJggg==\",\"blurWidth\":8,\"blurHeight\":6};","import { Breadcrumb } from '../types/breadcrumb';\nimport styles from '../styles/components/breadcrumbs.module.scss';\nimport Link from 'next/link';\n\ninterface Props {\n details: Breadcrumb;\n}\n\nexport default function Breadcrumbs({ details }: Props): JSX.Element | null {\n let parentLinks = getLinks(details.parent);\n\n return (\n
\n {parentLinks.map((link, key) => (\n
\n {link}\n > \n
\n ))}\n
{details.title}
\n
\n );\n}\n\nfunction getLinks(item?: Breadcrumb): Array {\n if (!item) {\n return [getHomeLink()];\n }\n\n let parentLinks = getLinks(item?.parent);\n let parentUrl = parentLinks[parentLinks.length - 1].props.href;\n\n return [\n ...parentLinks,\n \n {item.title}\n ,\n ];\n}\n\nfunction getHomeLink() {\n return Home;\n}\n\nfunction pathJoin(parts: string[], separator: string = '/') {\n parts = parts.map((part, index) => {\n if (index) {\n part = part.replace(new RegExp('^' + separator), '');\n }\n if (index !== parts.length - 1) {\n part = part.replace(new RegExp(separator + '$'), '');\n }\n return part;\n });\n return parts.join(separator);\n}\n","import styles from '../../styles/components/common/menu-link-buttons.module.scss';\nimport type { MenuItem } from '../../types/blocks/menu-item';\n\ninterface Props {\n menuLinks?: Array;\n className?: string | '';\n}\n\nexport default function MenuLinkButtons({\n menuLinks,\n className\n}: Props): JSX.Element {\n \n return (\n
\n {menuLinks && menuLinks.length > 0 ? (\n menuLinks.map(function (menuLink, i) {\n return (\n \n );\n })\n ) : ''}\n
\n );\n}\n","export default {\"src\":\"/_next/static/media/rmr-loader.f55d834a.svg\",\"height\":204,\"width\":204};","import styles from '../styles/components/loader.module.scss';\nimport Image from 'next/image';\nimport classNames from 'classnames';\nimport rmrLoader from '../public/images/rmr-loader.svg';\n\nexport default function Loader({className}: {className?: string}): JSX.Element {\n return (\n
\n \n
\n );\n}\n","import styles from '../../styles/components/page-headers/listing-page-header.module.scss';\nimport MenuLinkButtons from '../common/menu-link-buttons';\nimport RequestACallbackButton from '../blocks/RequestACallbackButton';\nimport type { MenuItem } from '../../types/blocks/menu-item';\nimport type { Breadcrumb } from '../../types/breadcrumb';\nimport Container from '../container';\nimport Breadcrumbs from '../breadcrumbs';\n\ninterface Props {\n pageBreadcrumb: Breadcrumb;\n title: string;\n description: string | React.ReactNode;\n showMenuButtons?: boolean;\n showCallbackButton?: boolean;\n menuLinks?: Array;\n callbackButton?: {\n title?: string;\n buttonText: string;\n modalTitle: string;\n modalText: string;\n modalFormId: string;\n };\n showBackground: boolean;\n fullWidth?: boolean;\n}\n\nexport default function ListingPageHeader({\n pageBreadcrumb,\n title,\n description,\n showMenuButtons,\n showCallbackButton,\n menuLinks,\n callbackButton,\n showBackground,\n fullWidth,\n}: Props): JSX.Element {\n \n return (\n
\n \n
\n
\n \n
\n
\n

{title}

\n {typeof description === 'string' ? (\n \n ) : (\n
\n {description}\n
\n )}\n {showMenuButtons && (\n \n )} \n
\n {showCallbackButton && (\n
\n \n
\n )}\n
\n
\n
\n );\n}","import styles from '../styles/components/readerships-tile.module.scss';\nimport Link from 'next/link';\nimport rmrLogo from '../public/images/placeholders/product-placeholder.png';\nimport CickThroughLink from './click-through-link';\n\ninterface Props {\n title?: string;\n cardSubHeading?: string;\n featuredImage?: {\n node: {\n sourceUrl: string;\n mediaDetails: {\n height: number;\n width: number;\n }\n }\n } \n parentSlug?: string;\n slug?: string;\n excerpt?: string;\n}\n\nexport default function ReadershipTile({\n title,\n cardSubHeading,\n featuredImage,\n parentSlug,\n slug,\n excerpt,\n}: Props): JSX.Element {\n let image = rmrLogo;\n if (featuredImage?.node?.sourceUrl) {\n image = {\n src: featuredImage?.node?.sourceUrl,\n height: featuredImage?.node?.mediaDetails?.height,\n width: featuredImage?.node?.mediaDetails?.width,\n };\n }\n\n return (\n
\n
\n
{cardSubHeading ? cardSubHeading : \"Readership\"}
\n \n\n

{title}

\n\n \n
\n
\n \n\n \n\n \n\n
\n
{cardSubHeading ? cardSubHeading : \"Readership\"}
\n \n\n

{title}

\n\n \n
\n
\n \n
\n
\n
\n
\n );\n}\n","export const PAGE_META = `\n\tgeneralSettings {\n\t\ttitle\n\t}\n\tthemeSettings {\n\t\tthemeSettings {\n\t\t\tfooterLogo {\n\t\t\t\tmediaItemUrl\n\t\t\t}\n\t\t\theaderLogo {\n\t\t\t\tmediaItemUrl\n\t\t\t}\n\t\t\t\tnewsletter {\n\t\t\t\ttitle\n\t\t\t\tcontent\n\t\t\t}\n\t\t}\n\t}\n\ttopmenu: menu(id: \"Top Menu\", idType: NAME) {\n\t\tname\n\t\tmenuItems {\n\t\t\tnodes {\n\t\t\t\tpath\n\t\t\t\tlabel\n\t\t\t}\n\t\t}\n\t\tslug\n\t}\n menu: menu(id: \"Header Menu\", idType: NAME) {\n name\n menuItems(where: {parentId: 0}) {\n nodes {\n path\n label\n childItems(first: 50) {\n nodes {\n path\n label\n childItems(first: 50) {\n nodes {\n label\n path\n }\n }\n }\n }\n }\n }\n slug\n }\n\tfooterColOneMenu: menu(id: \"Footer Menu Col One\", idType: NAME) {\n\t\tname\n\t\tmenuItems {\n\t\t\tnodes {\n\t\t\t\tpath\n\t\t\t\tlabel\n\t\t\t\tdescription\n\t\t\t}\n\t\t}\n\t\tslug\n\t}\n\tfooterColTwoMenu: menu(id: \"Footer Menu Col Two\", idType: NAME) {\n\t\tname\n\t\tmenuItems {\n\t\t\tnodes {\n\t\t\t\tpath\n\t\t\t\tlabel\n\t\t\t}\n\t\t}\n\t\tslug\n\t}\n\tfooterColThreeMenu: menu(id: \"Footer Menu Col Three\", idType: NAME) {\n\t\tname\n\t\tmenuItems {\n\t\t\tnodes {\n\t\t\t\tpath\n\t\t\t\tlabel\n\t\t\t}\n\t\t}\n\t\tslug\n\t}\n footerConnectMenu: menu(id: \"Footer Menu Connect\", idType: NAME) {\n name\n menuItems {\n nodes {\n path\n label\n }\n }\n slug\n }\n`;\n\nexport const PAGE_META_FINDINGS = `\n\tgeneralSettings {\n\t\ttitle\n\t}\n\tthemeSettings {\n\t\tthemeSettings {\n\t\t\tfooterLogo {\n\t\t\t\tmediaItemUrl\n\t\t\t}\n\t\t\theaderLogo {\n\t\t\t\tmediaItemUrl\n\t\t\t}\n\t\t\tmarginOfError\n\t\t}\n\t}\n\ttopmenu: menu(id: \"Top Menu\", idType: NAME) {\n\t\tname\n\t\tmenuItems {\n\t\t\tnodes {\n\t\t\t\tpath\n\t\t\t\tlabel\n\t\t\t}\n\t\t}\n\t\tslug\n\t}\n menu: menu(id: \"Header Menu\", idType: NAME) {\n name\n menuItems(where: {parentId: 0}) {\n nodes {\n path\n label\n childItems(first: 50) {\n nodes {\n path\n label\n childItems(first: 50) {\n nodes {\n label\n path\n }\n }\n }\n }\n }\n }\n slug\n }\n\tfooterColOneMenu: menu(id: \"Footer Menu Col One\", idType: NAME) {\n\t\tname\n\t\tmenuItems {\n\t\t\tnodes {\n\t\t\t\tpath\n\t\t\t\tlabel\n\t\t\t\tdescription\n\t\t\t}\n\t\t}\n\t\tslug\n\t}\n\tfooterColTwoMenu: menu(id: \"Footer Menu Col Two\", idType: NAME) {\n\t\tname\n\t\tmenuItems {\n\t\t\tnodes {\n\t\t\t\tpath\n\t\t\t\tlabel\n\t\t\t}\n\t\t}\n\t\tslug\n\t}\n\tfooterColThreeMenu: menu(id: \"Footer Menu Col Three\", idType: NAME) {\n\t\tname\n\t\tmenuItems {\n\t\t\tnodes {\n\t\t\t\tpath\n\t\t\t\tlabel\n\t\t\t}\n\t\t}\n\t\tslug\n\t}\n footerConnectMenu: menu(id: \"Footer Menu Connect\", idType: NAME) {\n name\n menuItems {\n nodes {\n path\n label\n }\n }\n slug\n }\n`;\n\nexport const PAGE_META_LISTING = `\n\tgeneralSettings {\n\t\ttitle\n\t}\n\tthemeSettings {\n\t\tthemeSettings {\n\t\t\tfooterLogo {\n\t\t\t\tmediaItemUrl\n\t\t\t}\n\t\t\theaderLogo {\n\t\t\t\tmediaItemUrl\n\t\t\t}\n\t\t\tlistingPageHeaders {\n\t\t\t\tpage\n\t\t\t\ttitle\n\t\t\t\tcontent\n\t\t\t\tshowCallbackButton\n\t\t\t\trequestCallbackButton {\n\t\t\t\t\tbuttonText\n\t\t\t\t\tmodalFormId\n\t\t\t\t\tmodalText\n\t\t\t\t\tmodalTitle\n\t\t\t\t\ttitle\n\t\t\t\t}\n\t\t\t}\n\t\t\tlistingPageTestimonials {\n\t\t\t\tpage\n\t \tquote\n\t\t\t\tquoteSource\n\t\t\t\tclickThroughLink {\n\t\t\t\t\ttitle\n\t\t\t\t\turl\n\t\t\t\t}\n\t \timage {\n\t \tsourceUrl\n\t \tmediaDetails {\n\t\t \theight\n\t\t \twidth\n\t \t}\n\t \t}\n\t\t\t}\n\t\t\tnewsletter {\n\t\t\t\ttitle\n\t\t\t\tcontent\n\t\t\t}\n\t\t}\n\t}\n\ttopmenu: menu(id: \"Top Menu\", idType: NAME) {\n\t\tname\n\t\tmenuItems {\n\t\t\tnodes {\n\t\t\t\tpath\n\t\t\t\tlabel\n\t\t\t}\n\t\t}\n\t\tslug\n\t}\n menu: menu(id: \"Header Menu\", idType: NAME) {\n name\n menuItems(where: {parentId: 0}) {\n nodes {\n path\n label\n childItems(first: 50) {\n nodes {\n path\n label\n childItems(first: 50) {\n nodes {\n label\n path\n }\n }\n }\n }\n }\n }\n slug\n }\n\tfooterColOneMenu: menu(id: \"Footer Menu Col One\", idType: NAME) {\n\t\tname\n\t\tmenuItems {\n\t\t\tnodes {\n\t\t\t\tpath\n\t\t\t\tlabel\n\t\t\t\tdescription\n\t\t\t}\n\t\t}\n\t\tslug\n\t}\n\tfooterColTwoMenu: menu(id: \"Footer Menu Col Two\", idType: NAME) {\n\t\tname\n\t\tmenuItems {\n\t\t\tnodes {\n\t\t\t\tpath\n\t\t\t\tlabel\n\t\t\t}\n\t\t}\n\t\tslug\n\t}\n\tfooterColThreeMenu: menu(id: \"Footer Menu Col Three\", idType: NAME) {\n\t\tname\n\t\tmenuItems {\n\t\t\tnodes {\n\t\t\t\tpath\n\t\t\t\tlabel\n\t\t\t}\n\t\t}\n\t\tslug\n\t}\n footerConnectMenu: menu(id: \"Footer Menu Connect\", idType: NAME) {\n name\n menuItems {\n nodes {\n path\n label\n }\n }\n slug\n }\n`;\n","import { fetchAPI } from '../../api';\n\nimport { PAGE_META_LISTING } from '../../graphql-fragments/pageMeta';\n\nexport async function getAllReaderships(cursor: string | true | undefined) {\n const data = await fetchAPI(\n `\n query Readerships {\n readerships(first: 12) {\n edges {\n node {\n slug\n excerpt\n featuredImage {\n node {\n sourceUrl\n mediaDetails {\n height\n width\n }\n }\n }\n title\n date\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n }\n }\n generalSettings {\n title\n } \n ${PAGE_META_LISTING}\n }\n `,\n {}\n );\n return data;\n}\n","import styles from '../../styles/components/page-templates/readerships.module.scss';\nimport { useRouter } from 'next/router';\nimport ReadershipsTile from '../../components/readerships-tile';\nimport ListingPageHeader from '../../components/page-headers/listing-page-header';\nimport Layout from '../../components/layout';\nimport { getAllReaderships } from '../../lib/queries/readerships/getAllReaderships';\nimport Head from 'next/head';\nimport Loader from '../../components/loader';\nimport type { Header } from '../../types/header';\nimport type { Footer } from '../../types/footer';\nimport type { Category, Readership } from '../../types/api';\nimport { Menu } from '../../types/menu';\nimport { useState, useEffect } from 'react';\nimport { CSSTransition, TransitionGroup } from 'react-transition-group';\nimport Testimonial from '../../components/blocks/Testimonial';\nimport Newsletter from '../../components/blocks/Newsletter';\nimport { initAccount, loadAccount } from '../../lib/account';\nimport { Account } from '../../types/account';\n\ninterface Props {\n readershipsData: ReadershipData;\n}\n\ninterface ReadershipData {\n readerships?: Array<{ node: Readership }>;\n pageInfo?: {\n endCursor?: string;\n hasNextPage?: boolean;\n hasPreviousPage?: boolean;\n };\n header: Header;\n footer: Footer;\n}\n\nasync function loadPage(): Promise {\n const allReaderships = await getAllReaderships('');\n return {\n readerships: allReaderships?.readerships?.edges || [],\n pageInfo: allReaderships?.readerships?.pageInfo || {},\n header: {\n generalSettings: allReaderships?.generalSettings || {},\n themeSettings: allReaderships?.themeSettings?.themeSettings || null,\n menu: allReaderships?.menu || {}, \n topmenu: allReaderships?.topmenu || {}\n },\n footer: {\n footerColOneMenu: allReaderships?.footerColOneMenu || ({} as Menu),\n footerColTwoMenu: allReaderships?.footerColTwoMenu || ({} as Menu),\n footerColThreeMenu: allReaderships?.footerColThreeMenu || ({} as Menu),\n footerConnectMenu: allReaderships?.footerConnectMenu || ({} as Menu),\n themeSettings: allReaderships?.themeSettings?.themeSettings || null,\n },\n };\n}\n\nexport default function Readerships({ readershipsData }: Props): JSX.Element {\n const router = useRouter();\n const [data, setData] = useState(readershipsData);\n const [account, setAccount] = useState(undefined);\n\n useEffect(() => {\n setAccount(initAccount());\n async function fetchData() {\n const data = await loadPage();\n\n if (data) {\n setData(data);\n }\n\n const account = await loadAccount();\n setAccount(account);\n }\n fetchData();\n }, []);\n\n const readerships = data.readerships;\n\n const headerDetails = data.header.themeSettings?.listingPageHeaders\n ? data.header.themeSettings.listingPageHeaders.find(h => h.page === \"Readerships\")\n : null;\n\n const testimonial = data.header.themeSettings?.listingPageTestimonials\n ? data.header.themeSettings.listingPageTestimonials.find(h => h.page === \"Readerships\")\n : null;\n\n const newsletter = data.header.themeSettings?.newsletter;\n\n //ToDo: Is this the best way to pass in breadcrumbs? Should this come from CMS?\n const pageBreadcrumb = {\n slug: 'readership',\n title: headerDetails?.title || ''\n };\n var readershipObjects = readerships && Object.values(readerships);\n readershipObjects && readershipObjects.sort(function(a, b) {\n return a && b && a.node && a.node.title && b.node && b.node.title && a.node.title < b.node.title ? -1 :\n a && b && a.node && a.node.title && b.node && b.node.title && a.node.title > b.node.title ? 1 : 0;\n });\n return (\n \n
\n {router.isFallback ? (\n \n ) : (\n <>\n \n Readerships - {data.header?.generalSettings?.title}\n \n\n \n \n
\n \n {readerships && readerships.length > 0 ? (\n
\n {readershipObjects && readershipObjects.map(function (readership, i) {\n return (\n \n \n \n \n );\n })}\n
\n ) : (\n
No Readerships
\n )}\n
\n
\n {testimonial && \n
\n \n
\n }\n {newsletter && \n \n }\n \n )}\n
\n
\n );\n}\n\nexport async function getStaticProps(): Promise<{\n props: Props;\n revalidate: number;\n}> {\n const page = await loadPage();\n return {\n props: {\n readershipsData: page,\n },\n revalidate: 30,\n };\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"breadcrumbs__wrapper\":\"breadcrumbs_breadcrumbs__wrapper__heQ_p\",\"breadcrumbs__parent_page_wrapper\":\"breadcrumbs_breadcrumbs__parent_page_wrapper__8azEQ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menu_link_buttons__wrapper\":\"menu-link-buttons_menu_link_buttons__wrapper__I_mOC\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loader_wrapper\":\"loader_loader_wrapper__Mov1C\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"listing_page_header__wrapper\":\"listing-page-header_listing_page_header__wrapper__Tc2Fh\",\"background\":\"listing-page-header_background__6u_sx\",\"listing_page_header__inner\":\"listing-page-header_listing_page_header__inner__F1rBp\",\"no_action_button\":\"listing-page-header_no_action_button__D311r\",\"no_menu\":\"listing-page-header_no_menu__1BV5w\",\"no_background\":\"listing-page-header_no_background__6ELSX\",\"full_width\":\"listing-page-header_full_width__FHTgJ\",\"listing_page_header__col_breadcrumb\":\"listing-page-header_listing_page_header__col_breadcrumb__az0XI\",\"listing_page_header__col_left\":\"listing-page-header_listing_page_header__col_left__CrOAC\",\"listing_page_header__content\":\"listing-page-header_listing_page_header__content__nEvJn\",\"listing_page_header__col_right\":\"listing-page-header_listing_page_header__col_right__7u3il\",\"listing_page_header__menu\":\"listing-page-header_listing_page_header__menu__ZgZDv\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"readerships__wrapper\":\"readerships_readerships__wrapper__hvPnF\",\"readerships__no_readerships\":\"readerships_readerships__no_readerships__lstAg\",\"readerships__listing_testimonial\":\"readerships_readerships__listing_testimonial__68APJ\",\"readership_template__divider\":\"readerships_readership_template__divider__Iowkl\",\"readership_template__block_padding\":\"readerships_readership_template__block_padding__quTX9\",\"main_content\":\"readerships_main_content__rXJaV\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"readership_tile__row\":\"readerships-tile_readership_tile__row__5oxbO\",\"readership_tile__row_inner\":\"readerships-tile_readership_tile__row_inner__QLgAZ\",\"readership_tile__row_inner_tablet\":\"readerships-tile_readership_tile__row_inner_tablet__CT5p7\",\"readership_tile__image_link\":\"readerships-tile_readership_tile__image_link__3mkBG\",\"readership_tile__col_right\":\"readerships-tile_readership_tile__col_right__IE255\",\"readership_tile__clickthrough_link\":\"readerships-tile_readership_tile__clickthrough_link__Af5Jk\"};","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}","import { Children, cloneElement, isValidElement } from 'react';\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\n\nexport function getChildMapping(children, mapFn) {\n var mapper = function mapper(child) {\n return mapFn && isValidElement(child) ? mapFn(child) : child;\n };\n\n var result = Object.create(null);\n if (children) Children.map(children, function (c) {\n return c;\n }).forEach(function (child) {\n // run the map function here instead so that the key is the computed one\n result[child.key] = mapper(child);\n });\n return result;\n}\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n\nexport function mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n return key in next ? next[key] : prev[key];\n } // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n\n\n var nextKeysPending = Object.create(null);\n var pendingKeys = [];\n\n for (var prevKey in prev) {\n if (prevKey in next) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i;\n var childMapping = {};\n\n for (var nextKey in next) {\n if (nextKeysPending[nextKey]) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n\n childMapping[nextKey] = getValueForKey(nextKey);\n } // Finally, add the keys which didn't appear before any key in `next`\n\n\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}\n\nfunction getProp(child, prop, props) {\n return props[prop] != null ? props[prop] : child.props[prop];\n}\n\nexport function getInitialChildMapping(props, onExited) {\n return getChildMapping(props.children, function (child) {\n return cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n appear: getProp(child, 'appear', props),\n enter: getProp(child, 'enter', props),\n exit: getProp(child, 'exit', props)\n });\n });\n}\nexport function getNextChildMapping(nextProps, prevChildMapping, onExited) {\n var nextChildMapping = getChildMapping(nextProps.children);\n var children = mergeChildMappings(prevChildMapping, nextChildMapping);\n Object.keys(children).forEach(function (key) {\n var child = children[key];\n if (!isValidElement(child)) return;\n var hasPrev = (key in prevChildMapping);\n var hasNext = (key in nextChildMapping);\n var prevChild = prevChildMapping[key];\n var isLeaving = isValidElement(prevChild) && !prevChild.props.in; // item is new (entering)\n\n if (hasNext && (!hasPrev || isLeaving)) {\n // console.log('entering', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n } else if (!hasNext && hasPrev && !isLeaving) {\n // item is old (exiting)\n // console.log('leaving', key)\n children[key] = cloneElement(child, {\n in: false\n });\n } else if (hasNext && hasPrev && isValidElement(prevChild)) {\n // item hasn't changed transition states\n // copy over the last transition props;\n // console.log('unchanged', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: prevChild.props.in,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n }\n });\n return children;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `` component manages a set of transition components\n * (`` and ``) in a list. Like with the transition\n * components, `` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the ``.\n *\n * Note that `` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = _extends({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * `` renders a `
` by default. You can change this\n * behavior by providing a `component` prop.\n * If you use React v16+ and would like to avoid a wrapping `
` element\n * you can pass in `component={null}`. This is useful if the wrapping div\n * borks your css styles.\n */\n component: PropTypes.any,\n\n /**\n * A set of `` components, that are toggled `in` and out as they\n * leave. the `` will inject specific transition props, so\n * remember to spread them through if you are wrapping the `` as\n * with our `` example.\n *\n * While this component is meant for multiple `Transition` or `CSSTransition`\n * children, sometimes you may want to have a single transition child with\n * content that you want to be transitioned out and in when you change it\n * (e.g. routes, images etc.) In that case you can change the `key` prop of\n * the transition child as you change its content, this will cause\n * `TransitionGroup` to transition the child out and back in.\n */\n children: PropTypes.node,\n\n /**\n * A convenience prop that enables or disables appear animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n appear: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables enter animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables exit animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * You may need to apply reactive updates to a child as it is exiting.\n * This is generally done by using `cloneElement` however in the case of an exiting\n * child the element has already been removed and not accessible to the consumer.\n *\n * If you do need to update a child as it leaves you can provide a `childFactory`\n * to wrap every child, even the ones that are leaving.\n *\n * @type Function(child: ReactElement) -> ReactElement\n */\n childFactory: PropTypes.func\n} : {};\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;","(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[1],{\n\n/***/ 2818:\n/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {\n\n\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/readerships\",\n function () {\n return __webpack_require__(6294);\n }\n ]);\n if(false) {}\n \n\n/***/ }),\n\n/***/ 7626:\n/***/ (function(__unused_webpack_module, __webpack_exports__) {\n\n\"use strict\";\n/* harmony default export */ __webpack_exports__[\"Z\"] = ({\"src\":\"/_next/static/media/product-placeholder.474fe4bf.png\",\"height\":311,\"width\":448,\"blurDataURL\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAUVBMVEXn/P/m+/7k+fzf8/be8vXj9/re8vXo/v/n/P/m+/7k+fzj+Pvh9vnh9fjg9Pff8/be8vXe8fTd8fTX6+7X6u3W6ezS5efP4uTB0tWnt7mks7UIKa5TAAAAB3RSTlP9/f39/f7+UE8SuwAAADlJREFUeNoNxskBgCAQA8AoqBtRN95A/4XCvAZBp+SKmLfkh/uEMZf314qe+nz3BcSdXMwGhEQjiQZB1AI2cITenQAAAABJRU5ErkJggg==\",\"blurWidth\":8,\"blurHeight\":6});\n\n/***/ }),\n\n/***/ 772:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Z\": function() { return /* binding */ Breadcrumbs; }\n/* harmony export */ });\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5893);\n/* harmony import */ var _styles_components_breadcrumbs_module_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(408);\n/* harmony import */ var _styles_components_breadcrumbs_module_scss__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_styles_components_breadcrumbs_module_scss__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1664);\n/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_1__);\n\n\n\nfunction Breadcrumbs(param) {\n let { details } = param;\n let parentLinks = getLinks(details.parent);\n return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(\"div\", {\n className: (_styles_components_breadcrumbs_module_scss__WEBPACK_IMPORTED_MODULE_2___default().breadcrumbs__wrapper),\n children: [\n parentLinks.map((link, key)=>/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(\"div\", {\n className: (_styles_components_breadcrumbs_module_scss__WEBPACK_IMPORTED_MODULE_2___default().breadcrumbs__parent_page_wrapper),\n children: [\n link,\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"span\", {\n children: \" > \"\n })\n ]\n }, key)),\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"div\", {\n children: details.title\n })\n ]\n });\n}\nfunction getLinks(item) {\n if (!item) {\n return [\n getHomeLink()\n ];\n }\n let parentLinks = getLinks(item === null || item === void 0 ? void 0 : item.parent);\n let parentUrl = parentLinks[parentLinks.length - 1].props.href;\n return [\n ...parentLinks,\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)((next_link__WEBPACK_IMPORTED_MODULE_1___default()), {\n href: pathJoin([\n parentUrl,\n item.slug\n ]),\n legacyBehavior: true,\n children: item.title\n }, item.slug)\n ];\n}\nfunction getHomeLink() {\n return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)((next_link__WEBPACK_IMPORTED_MODULE_1___default()), {\n href: \"/\",\n children: \"Home\"\n });\n}\nfunction pathJoin(parts) {\n let separator = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : \"/\";\n parts = parts.map((part, index)=>{\n if (index) {\n part = part.replace(new RegExp(\"^\" + separator), \"\");\n }\n if (index !== parts.length - 1) {\n part = part.replace(new RegExp(separator + \"$\"), \"\");\n }\n return part;\n });\n return parts.join(separator);\n}\n\n\n/***/ }),\n\n/***/ 3258:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Z\": function() { return /* binding */ MenuLinkButtons; }\n/* harmony export */ });\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5893);\n/* harmony import */ var _styles_components_common_menu_link_buttons_module_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5860);\n/* harmony import */ var _styles_components_common_menu_link_buttons_module_scss__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_styles_components_common_menu_link_buttons_module_scss__WEBPACK_IMPORTED_MODULE_1__);\n\n\nfunction MenuLinkButtons(param) {\n let { menuLinks , className } = param;\n return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"div\", {\n className: \"\".concat((_styles_components_common_menu_link_buttons_module_scss__WEBPACK_IMPORTED_MODULE_1___default().menu_link_buttons__wrapper), \" \").concat(className),\n children: menuLinks && menuLinks.length > 0 ? menuLinks.map(function(menuLink, i) {\n return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"div\", {\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"a\", {\n href: menuLink.link.url,\n children: menuLink.link.title\n })\n }, \"menu-link-button\".concat(i));\n }) : \"\"\n });\n}\n\n\n/***/ }),\n\n/***/ 4807:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"Z\": function() { return /* binding */ Loader; }\n});\n\n// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js\nvar jsx_runtime = __webpack_require__(5893);\n// EXTERNAL MODULE: ./styles/components/loader.module.scss\nvar loader_module = __webpack_require__(5095);\nvar loader_module_default = /*#__PURE__*/__webpack_require__.n(loader_module);\n// EXTERNAL MODULE: ./node_modules/next/image.js\nvar next_image = __webpack_require__(5675);\nvar image_default = /*#__PURE__*/__webpack_require__.n(next_image);\n// EXTERNAL MODULE: ./node_modules/classnames/index.js\nvar classnames = __webpack_require__(4184);\nvar classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);\n;// CONCATENATED MODULE: ./public/images/rmr-loader.svg\n/* harmony default export */ var rmr_loader = ({\"src\":\"/_next/static/media/rmr-loader.f55d834a.svg\",\"height\":204,\"width\":204});\n;// CONCATENATED MODULE: ./components/loader.tsx\n\n\n\n\n\nfunction Loader(param) {\n let { className } = param;\n return /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: classnames_default()((loader_module_default()).loader_wrapper, className),\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)((image_default()), {\n src: rmr_loader.src,\n alt: \"Loading Graphic\",\n height: rmr_loader.height,\n width: rmr_loader.width\n })\n });\n}\n\n\n/***/ }),\n\n/***/ 9777:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Z\": function() { return /* binding */ ListingPageHeader; }\n/* harmony export */ });\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5893);\n/* harmony import */ var _styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1592);\n/* harmony import */ var _styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _common_menu_link_buttons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3258);\n/* harmony import */ var _blocks_RequestACallbackButton__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2063);\n/* harmony import */ var _container__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(959);\n/* harmony import */ var _breadcrumbs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(772);\n\n\n\n\n\n\nfunction ListingPageHeader(param) {\n let { pageBreadcrumb , title , description , showMenuButtons , showCallbackButton , menuLinks , callbackButton , showBackground , fullWidth } = param;\n return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"header\", {\n id: title,\n className: \"\\n \".concat((_styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5___default().listing_page_header__wrapper), \" \\n \").concat(showBackground ? (_styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5___default().background) : \"\", \"\\n \"),\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_container__WEBPACK_IMPORTED_MODULE_3__/* [\"default\"] */ .Z, {\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(\"div\", {\n className: \"\\n \".concat((_styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5___default().listing_page_header__inner), \" \\n \").concat(!showCallbackButton ? (_styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5___default().no_action_button) : \"\", \" \\n \").concat(!showMenuButtons ? (_styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5___default().no_menu) : \"\", \"\\n \").concat(!showBackground ? (_styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5___default().no_background) : \"\", \"\\n \").concat(fullWidth ? (_styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5___default().full_width) : \"\", \"\\n \"),\n children: [\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"div\", {\n className: (_styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5___default().listing_page_header__col_breadcrumb),\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_breadcrumbs__WEBPACK_IMPORTED_MODULE_4__/* [\"default\"] */ .Z, {\n details: pageBreadcrumb\n })\n }),\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(\"div\", {\n className: (_styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5___default().listing_page_header__col_left),\n children: [\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"h1\", {\n children: title\n }),\n typeof description === \"string\" ? /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"div\", {\n className: (_styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5___default().listing_page_header__content),\n dangerouslySetInnerHTML: {\n __html: description\n }\n }) : /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"div\", {\n className: (_styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5___default().listing_page_header__content),\n children: description\n }),\n showMenuButtons && /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_common_menu_link_buttons__WEBPACK_IMPORTED_MODULE_1__/* [\"default\"] */ .Z, {\n className: (_styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5___default().listing_page_header__menu),\n menuLinks: menuLinks\n })\n ]\n }),\n showCallbackButton && /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"div\", {\n className: (_styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5___default().listing_page_header__col_right),\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_blocks_RequestACallbackButton__WEBPACK_IMPORTED_MODULE_2__/* [\"default\"] */ .Z, {\n title: callbackButton === null || callbackButton === void 0 ? void 0 : callbackButton.title,\n button_text: callbackButton === null || callbackButton === void 0 ? void 0 : callbackButton.buttonText,\n modal_title: callbackButton === null || callbackButton === void 0 ? void 0 : callbackButton.modalTitle,\n modal_text: callbackButton === null || callbackButton === void 0 ? void 0 : callbackButton.modalText,\n modal_form_id: callbackButton === null || callbackButton === void 0 ? void 0 : callbackButton.modalFormId\n })\n })\n ]\n })\n })\n });\n}\n\n\n/***/ }),\n\n/***/ 6007:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Z\": function() { return /* binding */ ReadershipTile; }\n/* harmony export */ });\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5893);\n/* harmony import */ var _styles_components_readerships_tile_module_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4783);\n/* harmony import */ var _styles_components_readerships_tile_module_scss__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_styles_components_readerships_tile_module_scss__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1664);\n/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _public_images_placeholders_product_placeholder_png__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7626);\n/* harmony import */ var _click_through_link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2218);\n\n\n\n\n\nfunction ReadershipTile(param) {\n let { title , cardSubHeading , featuredImage , parentSlug , slug , excerpt } = param;\n var _featuredImage_node;\n let image = _public_images_placeholders_product_placeholder_png__WEBPACK_IMPORTED_MODULE_2__/* [\"default\"] */ .Z;\n if (featuredImage === null || featuredImage === void 0 ? void 0 : (_featuredImage_node = featuredImage.node) === null || _featuredImage_node === void 0 ? void 0 : _featuredImage_node.sourceUrl) {\n var _featuredImage_node1, _featuredImage_node2, _featuredImage_node_mediaDetails, _featuredImage_node3, _featuredImage_node_mediaDetails1;\n image = {\n src: featuredImage === null || featuredImage === void 0 ? void 0 : (_featuredImage_node1 = featuredImage.node) === null || _featuredImage_node1 === void 0 ? void 0 : _featuredImage_node1.sourceUrl,\n height: featuredImage === null || featuredImage === void 0 ? void 0 : (_featuredImage_node2 = featuredImage.node) === null || _featuredImage_node2 === void 0 ? void 0 : (_featuredImage_node_mediaDetails = _featuredImage_node2.mediaDetails) === null || _featuredImage_node_mediaDetails === void 0 ? void 0 : _featuredImage_node_mediaDetails.height,\n width: featuredImage === null || featuredImage === void 0 ? void 0 : (_featuredImage_node3 = featuredImage.node) === null || _featuredImage_node3 === void 0 ? void 0 : (_featuredImage_node_mediaDetails1 = _featuredImage_node3.mediaDetails) === null || _featuredImage_node_mediaDetails1 === void 0 ? void 0 : _featuredImage_node_mediaDetails1.width\n };\n }\n return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(\"div\", {\n className: (_styles_components_readerships_tile_module_scss__WEBPACK_IMPORTED_MODULE_4___default().readership_tile__row),\n children: [\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(\"div\", {\n className: (_styles_components_readerships_tile_module_scss__WEBPACK_IMPORTED_MODULE_4___default().readership_tile__row_inner_tablet),\n children: [\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"h6\", {\n children: cardSubHeading ? cardSubHeading : \"Readership\"\n }),\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)((next_link__WEBPACK_IMPORTED_MODULE_1___default()), {\n href: \"/\".concat(parentSlug, \"/\").concat(slug),\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"h3\", {\n children: title\n })\n })\n ]\n }),\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(\"div\", {\n className: (_styles_components_readerships_tile_module_scss__WEBPACK_IMPORTED_MODULE_4___default().readership_tile__row_inner),\n children: [\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)((next_link__WEBPACK_IMPORTED_MODULE_1___default()), {\n href: \"/\".concat(parentSlug, \"/\").concat(slug),\n className: (_styles_components_readerships_tile_module_scss__WEBPACK_IMPORTED_MODULE_4___default().readership_tile__image_link),\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"img\", {\n src: image.src,\n alt: \"RMR Logo\"\n })\n }),\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(\"div\", {\n className: (_styles_components_readerships_tile_module_scss__WEBPACK_IMPORTED_MODULE_4___default().readership_tile__col_right),\n children: [\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"h6\", {\n children: cardSubHeading ? cardSubHeading : \"Readership\"\n }),\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)((next_link__WEBPACK_IMPORTED_MODULE_1___default()), {\n href: \"/\".concat(parentSlug, \"/\").concat(slug),\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"h3\", {\n children: title\n })\n }),\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"div\", {\n dangerouslySetInnerHTML: {\n __html: excerpt || \"\"\n }\n }),\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"div\", {\n className: (_styles_components_readerships_tile_module_scss__WEBPACK_IMPORTED_MODULE_4___default().readership_tile__clickthrough_link),\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_click_through_link__WEBPACK_IMPORTED_MODULE_3__/* [\"default\"] */ .Z, {\n text: \"Learn more\",\n link: \"/\".concat(parentSlug, \"/\").concat(slug)\n })\n })\n ]\n })\n ]\n })\n ]\n });\n}\n\n\n/***/ }),\n\n/***/ 3572:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"mt\": function() { return /* binding */ PAGE_META_LISTING; },\n/* harmony export */ \"um\": function() { return /* binding */ PAGE_META; }\n/* harmony export */ });\n/* unused harmony export PAGE_META_FINDINGS */\nconst PAGE_META = '\\n\tgeneralSettings {\\n\t\ttitle\\n\t}\\n\tthemeSettings {\\n\t\tthemeSettings {\\n\t\t\tfooterLogo {\\n\t\t\t\tmediaItemUrl\\n\t\t\t}\\n\t\t\theaderLogo {\\n\t\t\t\tmediaItemUrl\\n\t\t\t}\\n\t\t\t\tnewsletter {\\n\t\t\t\ttitle\\n\t\t\t\tcontent\\n\t\t\t}\\n\t\t}\\n\t}\\n\ttopmenu: menu(id: \"Top Menu\", idType: NAME) {\\n\t\tname\\n\t\tmenuItems {\\n\t\t\tnodes {\\n\t\t\t\tpath\\n\t\t\t\tlabel\\n\t\t\t}\\n\t\t}\\n\t\tslug\\n\t}\\n menu: menu(id: \"Header Menu\", idType: NAME) {\\n name\\n menuItems(where: {parentId: 0}) {\\n nodes {\\n path\\n label\\n childItems(first: 50) {\\n nodes {\\n path\\n label\\n childItems(first: 50) {\\n nodes {\\n label\\n path\\n }\\n }\\n }\\n }\\n }\\n }\\n slug\\n }\\n\tfooterColOneMenu: menu(id: \"Footer Menu Col One\", idType: NAME) {\\n\t\tname\\n\t\tmenuItems {\\n\t\t\tnodes {\\n\t\t\t\tpath\\n\t\t\t\tlabel\\n\t\t\t\tdescription\\n\t\t\t}\\n\t\t}\\n\t\tslug\\n\t}\\n\tfooterColTwoMenu: menu(id: \"Footer Menu Col Two\", idType: NAME) {\\n\t\tname\\n\t\tmenuItems {\\n\t\t\tnodes {\\n\t\t\t\tpath\\n\t\t\t\tlabel\\n\t\t\t}\\n\t\t}\\n\t\tslug\\n\t}\\n\tfooterColThreeMenu: menu(id: \"Footer Menu Col Three\", idType: NAME) {\\n\t\tname\\n\t\tmenuItems {\\n\t\t\tnodes {\\n\t\t\t\tpath\\n\t\t\t\tlabel\\n\t\t\t}\\n\t\t}\\n\t\tslug\\n\t}\\n footerConnectMenu: menu(id: \"Footer Menu Connect\", idType: NAME) {\\n name\\n menuItems {\\n nodes {\\n path\\n label\\n }\\n }\\n slug\\n }\\n';\nconst PAGE_META_FINDINGS = '\\n\tgeneralSettings {\\n\t\ttitle\\n\t}\\n\tthemeSettings {\\n\t\tthemeSettings {\\n\t\t\tfooterLogo {\\n\t\t\t\tmediaItemUrl\\n\t\t\t}\\n\t\t\theaderLogo {\\n\t\t\t\tmediaItemUrl\\n\t\t\t}\\n\t\t\tmarginOfError\\n\t\t}\\n\t}\\n\ttopmenu: menu(id: \"Top Menu\", idType: NAME) {\\n\t\tname\\n\t\tmenuItems {\\n\t\t\tnodes {\\n\t\t\t\tpath\\n\t\t\t\tlabel\\n\t\t\t}\\n\t\t}\\n\t\tslug\\n\t}\\n menu: menu(id: \"Header Menu\", idType: NAME) {\\n name\\n menuItems(where: {parentId: 0}) {\\n nodes {\\n path\\n label\\n childItems(first: 50) {\\n nodes {\\n path\\n label\\n childItems(first: 50) {\\n nodes {\\n label\\n path\\n }\\n }\\n }\\n }\\n }\\n }\\n slug\\n }\\n\tfooterColOneMenu: menu(id: \"Footer Menu Col One\", idType: NAME) {\\n\t\tname\\n\t\tmenuItems {\\n\t\t\tnodes {\\n\t\t\t\tpath\\n\t\t\t\tlabel\\n\t\t\t\tdescription\\n\t\t\t}\\n\t\t}\\n\t\tslug\\n\t}\\n\tfooterColTwoMenu: menu(id: \"Footer Menu Col Two\", idType: NAME) {\\n\t\tname\\n\t\tmenuItems {\\n\t\t\tnodes {\\n\t\t\t\tpath\\n\t\t\t\tlabel\\n\t\t\t}\\n\t\t}\\n\t\tslug\\n\t}\\n\tfooterColThreeMenu: menu(id: \"Footer Menu Col Three\", idType: NAME) {\\n\t\tname\\n\t\tmenuItems {\\n\t\t\tnodes {\\n\t\t\t\tpath\\n\t\t\t\tlabel\\n\t\t\t}\\n\t\t}\\n\t\tslug\\n\t}\\n footerConnectMenu: menu(id: \"Footer Menu Connect\", idType: NAME) {\\n name\\n menuItems {\\n nodes {\\n path\\n label\\n }\\n }\\n slug\\n }\\n';\nconst PAGE_META_LISTING = '\\n\tgeneralSettings {\\n\t\ttitle\\n\t}\\n\tthemeSettings {\\n\t\tthemeSettings {\\n\t\t\tfooterLogo {\\n\t\t\t\tmediaItemUrl\\n\t\t\t}\\n\t\t\theaderLogo {\\n\t\t\t\tmediaItemUrl\\n\t\t\t}\\n\t\t\tlistingPageHeaders {\\n\t\t\t\tpage\\n\t\t\t\ttitle\\n\t\t\t\tcontent\\n\t\t\t\tshowCallbackButton\\n\t\t\t\trequestCallbackButton {\\n\t\t\t\t\tbuttonText\\n\t\t\t\t\tmodalFormId\\n\t\t\t\t\tmodalText\\n\t\t\t\t\tmodalTitle\\n\t\t\t\t\ttitle\\n\t\t\t\t}\\n\t\t\t}\\n\t\t\tlistingPageTestimonials {\\n\t\t\t\tpage\\n\t \tquote\\n\t\t\t\tquoteSource\\n\t\t\t\tclickThroughLink {\\n\t\t\t\t\ttitle\\n\t\t\t\t\turl\\n\t\t\t\t}\\n\t \timage {\\n\t \tsourceUrl\\n\t \tmediaDetails {\\n\t\t \theight\\n\t\t \twidth\\n\t \t}\\n\t \t}\\n\t\t\t}\\n\t\t\tnewsletter {\\n\t\t\t\ttitle\\n\t\t\t\tcontent\\n\t\t\t}\\n\t\t}\\n\t}\\n\ttopmenu: menu(id: \"Top Menu\", idType: NAME) {\\n\t\tname\\n\t\tmenuItems {\\n\t\t\tnodes {\\n\t\t\t\tpath\\n\t\t\t\tlabel\\n\t\t\t}\\n\t\t}\\n\t\tslug\\n\t}\\n menu: menu(id: \"Header Menu\", idType: NAME) {\\n name\\n menuItems(where: {parentId: 0}) {\\n nodes {\\n path\\n label\\n childItems(first: 50) {\\n nodes {\\n path\\n label\\n childItems(first: 50) {\\n nodes {\\n label\\n path\\n }\\n }\\n }\\n }\\n }\\n }\\n slug\\n }\\n\tfooterColOneMenu: menu(id: \"Footer Menu Col One\", idType: NAME) {\\n\t\tname\\n\t\tmenuItems {\\n\t\t\tnodes {\\n\t\t\t\tpath\\n\t\t\t\tlabel\\n\t\t\t\tdescription\\n\t\t\t}\\n\t\t}\\n\t\tslug\\n\t}\\n\tfooterColTwoMenu: menu(id: \"Footer Menu Col Two\", idType: NAME) {\\n\t\tname\\n\t\tmenuItems {\\n\t\t\tnodes {\\n\t\t\t\tpath\\n\t\t\t\tlabel\\n\t\t\t}\\n\t\t}\\n\t\tslug\\n\t}\\n\tfooterColThreeMenu: menu(id: \"Footer Menu Col Three\", idType: NAME) {\\n\t\tname\\n\t\tmenuItems {\\n\t\t\tnodes {\\n\t\t\t\tpath\\n\t\t\t\tlabel\\n\t\t\t}\\n\t\t}\\n\t\tslug\\n\t}\\n footerConnectMenu: menu(id: \"Footer Menu Connect\", idType: NAME) {\\n name\\n menuItems {\\n nodes {\\n path\\n label\\n }\\n }\\n slug\\n }\\n';\n\n\n/***/ }),\n\n/***/ 2418:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"b\": function() { return /* binding */ getAllReaderships; }\n/* harmony export */ });\n/* harmony import */ var _api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1895);\n/* harmony import */ var _graphql_fragments_pageMeta__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3572);\n\n\nasync function getAllReaderships(cursor) {\n const data = await (0,_api__WEBPACK_IMPORTED_MODULE_0__/* .fetchAPI */ .I)(\"\\n query Readerships {\\n readerships(first: 12) {\\n edges {\\n node {\\n slug\\n excerpt\\n featuredImage {\\n node {\\n sourceUrl\\n mediaDetails {\\n height\\n width\\n }\\n }\\n }\\n title\\n date\\n }\\n }\\n pageInfo {\\n endCursor\\n hasNextPage\\n hasPreviousPage\\n }\\n }\\n generalSettings {\\n title\\n } \\n \".concat(_graphql_fragments_pageMeta__WEBPACK_IMPORTED_MODULE_1__/* .PAGE_META_LISTING */ .mt, \"\\n }\\n \"), {});\n return data;\n}\n\n\n/***/ }),\n\n/***/ 6294:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"__N_SSG\": function() { return /* binding */ __N_SSG; },\n/* harmony export */ \"default\": function() { return /* binding */ Readerships; }\n/* harmony export */ });\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5893);\n/* harmony import */ var _styles_components_page_templates_readerships_module_scss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(2027);\n/* harmony import */ var _styles_components_page_templates_readerships_module_scss__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_styles_components_page_templates_readerships_module_scss__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1163);\n/* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _components_readerships_tile__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6007);\n/* harmony import */ var _components_page_headers_listing_page_header__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9777);\n/* harmony import */ var _components_layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9050);\n/* harmony import */ var _lib_queries_readerships_getAllReaderships__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2418);\n/* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9008);\n/* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(next_head__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _components_loader__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4807);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(7294);\n/* harmony import */ var react_transition_group__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(9747);\n/* harmony import */ var react_transition_group__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(5071);\n/* harmony import */ var _components_blocks_Testimonial__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(5217);\n/* harmony import */ var _components_blocks_Newsletter__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(1360);\n/* harmony import */ var _lib_account__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(3373);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nasync function loadPage() {\n var _allReaderships_readerships, _allReaderships_readerships1, _allReaderships_themeSettings, _allReaderships_themeSettings1;\n const allReaderships = await (0,_lib_queries_readerships_getAllReaderships__WEBPACK_IMPORTED_MODULE_5__/* .getAllReaderships */ .b)(\"\");\n return {\n readerships: (allReaderships === null || allReaderships === void 0 ? void 0 : (_allReaderships_readerships = allReaderships.readerships) === null || _allReaderships_readerships === void 0 ? void 0 : _allReaderships_readerships.edges) || [],\n pageInfo: (allReaderships === null || allReaderships === void 0 ? void 0 : (_allReaderships_readerships1 = allReaderships.readerships) === null || _allReaderships_readerships1 === void 0 ? void 0 : _allReaderships_readerships1.pageInfo) || {},\n header: {\n generalSettings: (allReaderships === null || allReaderships === void 0 ? void 0 : allReaderships.generalSettings) || {},\n themeSettings: (allReaderships === null || allReaderships === void 0 ? void 0 : (_allReaderships_themeSettings = allReaderships.themeSettings) === null || _allReaderships_themeSettings === void 0 ? void 0 : _allReaderships_themeSettings.themeSettings) || null,\n menu: (allReaderships === null || allReaderships === void 0 ? void 0 : allReaderships.menu) || {},\n topmenu: (allReaderships === null || allReaderships === void 0 ? void 0 : allReaderships.topmenu) || {}\n },\n footer: {\n footerColOneMenu: (allReaderships === null || allReaderships === void 0 ? void 0 : allReaderships.footerColOneMenu) || {},\n footerColTwoMenu: (allReaderships === null || allReaderships === void 0 ? void 0 : allReaderships.footerColTwoMenu) || {},\n footerColThreeMenu: (allReaderships === null || allReaderships === void 0 ? void 0 : allReaderships.footerColThreeMenu) || {},\n footerConnectMenu: (allReaderships === null || allReaderships === void 0 ? void 0 : allReaderships.footerConnectMenu) || {},\n themeSettings: (allReaderships === null || allReaderships === void 0 ? void 0 : (_allReaderships_themeSettings1 = allReaderships.themeSettings) === null || _allReaderships_themeSettings1 === void 0 ? void 0 : _allReaderships_themeSettings1.themeSettings) || null\n }\n };\n}\nvar __N_SSG = true;\nfunction Readerships(param) {\n let { readershipsData } = param;\n var _data_header_themeSettings, _data_header_themeSettings1, _data_header_themeSettings2, _data_header, _data_header_generalSettings;\n const router = (0,next_router__WEBPACK_IMPORTED_MODULE_1__.useRouter)();\n const [data, setData] = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(readershipsData);\n const [account, setAccount] = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(undefined);\n (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(()=>{\n setAccount((0,_lib_account__WEBPACK_IMPORTED_MODULE_11__/* .initAccount */ .Br)());\n async function fetchData() {\n const data = await loadPage();\n if (data) {\n setData(data);\n }\n const account = await (0,_lib_account__WEBPACK_IMPORTED_MODULE_11__/* .loadAccount */ .Mx)();\n setAccount(account);\n }\n fetchData();\n }, []);\n const readerships = data.readerships;\n const headerDetails = ((_data_header_themeSettings = data.header.themeSettings) === null || _data_header_themeSettings === void 0 ? void 0 : _data_header_themeSettings.listingPageHeaders) ? data.header.themeSettings.listingPageHeaders.find((h)=>h.page === \"Readerships\") : null;\n const testimonial = ((_data_header_themeSettings1 = data.header.themeSettings) === null || _data_header_themeSettings1 === void 0 ? void 0 : _data_header_themeSettings1.listingPageTestimonials) ? data.header.themeSettings.listingPageTestimonials.find((h)=>h.page === \"Readerships\") : null;\n const newsletter = (_data_header_themeSettings2 = data.header.themeSettings) === null || _data_header_themeSettings2 === void 0 ? void 0 : _data_header_themeSettings2.newsletter;\n //ToDo: Is this the best way to pass in breadcrumbs? Should this come from CMS?\n const pageBreadcrumb = {\n slug: \"readership\",\n title: (headerDetails === null || headerDetails === void 0 ? void 0 : headerDetails.title) || \"\"\n };\n var readershipObjects = readerships && Object.values(readerships);\n readershipObjects && readershipObjects.sort(function(a, b) {\n return a && b && a.node && a.node.title && b.node && b.node.title && a.node.title < b.node.title ? -1 : a && b && a.node && a.node.title && b.node && b.node.title && a.node.title > b.node.title ? 1 : 0;\n });\n return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_layout__WEBPACK_IMPORTED_MODULE_4__/* [\"default\"] */ .Z, {\n header: data.header,\n footer: data.footer,\n account: account,\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"div\", {\n children: router.isFallback ? /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_loader__WEBPACK_IMPORTED_MODULE_7__/* [\"default\"] */ .Z, {}) : /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n children: [\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)((next_head__WEBPACK_IMPORTED_MODULE_6___default()), {\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(\"title\", {\n children: [\n \"Readerships - \",\n (_data_header = data.header) === null || _data_header === void 0 ? void 0 : (_data_header_generalSettings = _data_header.generalSettings) === null || _data_header_generalSettings === void 0 ? void 0 : _data_header_generalSettings.title\n ]\n })\n }),\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_page_headers_listing_page_header__WEBPACK_IMPORTED_MODULE_3__/* [\"default\"] */ .Z, {\n pageBreadcrumb: pageBreadcrumb,\n title: (headerDetails === null || headerDetails === void 0 ? void 0 : headerDetails.title) || \"\",\n description: (headerDetails === null || headerDetails === void 0 ? void 0 : headerDetails.content) || \"\",\n showCallbackButton: headerDetails === null || headerDetails === void 0 ? void 0 : headerDetails.showCallbackButton,\n callbackButton: headerDetails === null || headerDetails === void 0 ? void 0 : headerDetails.requestCallbackButton,\n showMenuButtons: false,\n showBackground: false\n }),\n /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"div\", {\n className: \"container\",\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_transition_group__WEBPACK_IMPORTED_MODULE_12__/* [\"default\"] */ .Z, {\n children: readerships && readerships.length > 0 ? /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"div\", {\n className: (_styles_components_page_templates_readerships_module_scss__WEBPACK_IMPORTED_MODULE_13___default().readerships__wrapper),\n children: readershipObjects && readershipObjects.map(function(readership, i) {\n var _readership_node, _readership_node1, _readership_node2, _readership_node3;\n return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_transition_group__WEBPACK_IMPORTED_MODULE_14__/* [\"default\"] */ .Z, {\n timeout: 500,\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_readerships_tile__WEBPACK_IMPORTED_MODULE_2__/* [\"default\"] */ .Z, {\n title: readership === null || readership === void 0 ? void 0 : (_readership_node = readership.node) === null || _readership_node === void 0 ? void 0 : _readership_node.title,\n featuredImage: readership === null || readership === void 0 ? void 0 : (_readership_node1 = readership.node) === null || _readership_node1 === void 0 ? void 0 : _readership_node1.featuredImage,\n parentSlug: \"readerships\",\n slug: readership === null || readership === void 0 ? void 0 : (_readership_node2 = readership.node) === null || _readership_node2 === void 0 ? void 0 : _readership_node2.slug,\n excerpt: readership === null || readership === void 0 ? void 0 : (_readership_node3 = readership.node) === null || _readership_node3 === void 0 ? void 0 : _readership_node3.excerpt\n }, i)\n }, i);\n })\n }) : /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"div\", {\n className: (_styles_components_page_templates_readerships_module_scss__WEBPACK_IMPORTED_MODULE_13___default().readerships__no_readerships),\n children: \"No Readerships\"\n })\n })\n }),\n testimonial && /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"div\", {\n className: (_styles_components_page_templates_readerships_module_scss__WEBPACK_IMPORTED_MODULE_13___default().readerships__listing_testimonial),\n children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_blocks_Testimonial__WEBPACK_IMPORTED_MODULE_9__/* [\"default\"] */ .Z, {\n image: testimonial.image,\n quote: testimonial.quote || \"\",\n quote_source: testimonial.quoteSource,\n click_through_link: testimonial.clickThroughLink\n })\n }),\n newsletter && /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_components_blocks_Newsletter__WEBPACK_IMPORTED_MODULE_10__/* [\"default\"] */ .Z, {\n title: newsletter.title,\n content: newsletter.content\n })\n ]\n })\n })\n });\n}\n\n\n/***/ }),\n\n/***/ 408:\n/***/ (function(module) {\n\n// extracted by mini-css-extract-plugin\nmodule.exports = {\"breadcrumbs__wrapper\":\"breadcrumbs_breadcrumbs__wrapper__heQ_p\",\"breadcrumbs__parent_page_wrapper\":\"breadcrumbs_breadcrumbs__parent_page_wrapper__8azEQ\"};\n\n/***/ }),\n\n/***/ 5860:\n/***/ (function(module) {\n\n// extracted by mini-css-extract-plugin\nmodule.exports = {\"menu_link_buttons__wrapper\":\"menu-link-buttons_menu_link_buttons__wrapper__I_mOC\"};\n\n/***/ }),\n\n/***/ 5095:\n/***/ (function(module) {\n\n// extracted by mini-css-extract-plugin\nmodule.exports = {\"loader_wrapper\":\"loader_loader_wrapper__Mov1C\"};\n\n/***/ }),\n\n/***/ 1592:\n/***/ (function(module) {\n\n// extracted by mini-css-extract-plugin\nmodule.exports = {\"listing_page_header__wrapper\":\"listing-page-header_listing_page_header__wrapper__Tc2Fh\",\"background\":\"listing-page-header_background__6u_sx\",\"listing_page_header__inner\":\"listing-page-header_listing_page_header__inner__F1rBp\",\"no_action_button\":\"listing-page-header_no_action_button__D311r\",\"no_menu\":\"listing-page-header_no_menu__1BV5w\",\"no_background\":\"listing-page-header_no_background__6ELSX\",\"full_width\":\"listing-page-header_full_width__FHTgJ\",\"listing_page_header__col_breadcrumb\":\"listing-page-header_listing_page_header__col_breadcrumb__az0XI\",\"listing_page_header__col_left\":\"listing-page-header_listing_page_header__col_left__CrOAC\",\"listing_page_header__content\":\"listing-page-header_listing_page_header__content__nEvJn\",\"listing_page_header__col_right\":\"listing-page-header_listing_page_header__col_right__7u3il\",\"listing_page_header__menu\":\"listing-page-header_listing_page_header__menu__ZgZDv\"};\n\n/***/ }),\n\n/***/ 2027:\n/***/ (function(module) {\n\n// extracted by mini-css-extract-plugin\nmodule.exports = {\"readerships__wrapper\":\"readerships_readerships__wrapper__hvPnF\",\"readerships__no_readerships\":\"readerships_readerships__no_readerships__lstAg\",\"readerships__listing_testimonial\":\"readerships_readerships__listing_testimonial__68APJ\",\"readership_template__divider\":\"readerships_readership_template__divider__Iowkl\",\"readership_template__block_padding\":\"readerships_readership_template__block_padding__quTX9\",\"main_content\":\"readerships_main_content__rXJaV\"};\n\n/***/ }),\n\n/***/ 4783:\n/***/ (function(module) {\n\n// extracted by mini-css-extract-plugin\nmodule.exports = {\"readership_tile__row\":\"readerships-tile_readership_tile__row__5oxbO\",\"readership_tile__row_inner\":\"readerships-tile_readership_tile__row_inner__QLgAZ\",\"readership_tile__row_inner_tablet\":\"readerships-tile_readership_tile__row_inner_tablet__CT5p7\",\"readership_tile__image_link\":\"readerships-tile_readership_tile__image_link__3mkBG\",\"readership_tile__col_right\":\"readerships-tile_readership_tile__col_right__IE255\",\"readership_tile__clickthrough_link\":\"readerships-tile_readership_tile__clickthrough_link__Af5Jk\"};\n\n/***/ }),\n\n/***/ 9747:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"Z\": function() { return /* binding */ esm_TransitionGroup; }\n});\n\n// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js\nvar objectWithoutPropertiesLoose = __webpack_require__(3366);\n// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js\nvar esm_extends = __webpack_require__(7462);\n;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules\nvar inheritsLoose = __webpack_require__(5068);\n// EXTERNAL MODULE: ./node_modules/prop-types/index.js\nvar prop_types = __webpack_require__(5697);\n// EXTERNAL MODULE: ./node_modules/react/index.js\nvar react = __webpack_require__(7294);\n// EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroupContext.js\nvar TransitionGroupContext = __webpack_require__(220);\n;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/utils/ChildMapping.js\n\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\n\nfunction getChildMapping(children, mapFn) {\n var mapper = function mapper(child) {\n return mapFn && (0,react.isValidElement)(child) ? mapFn(child) : child;\n };\n\n var result = Object.create(null);\n if (children) react.Children.map(children, function (c) {\n return c;\n }).forEach(function (child) {\n // run the map function here instead so that the key is the computed one\n result[child.key] = mapper(child);\n });\n return result;\n}\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n\nfunction mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n return key in next ? next[key] : prev[key];\n } // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n\n\n var nextKeysPending = Object.create(null);\n var pendingKeys = [];\n\n for (var prevKey in prev) {\n if (prevKey in next) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i;\n var childMapping = {};\n\n for (var nextKey in next) {\n if (nextKeysPending[nextKey]) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n\n childMapping[nextKey] = getValueForKey(nextKey);\n } // Finally, add the keys which didn't appear before any key in `next`\n\n\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}\n\nfunction getProp(child, prop, props) {\n return props[prop] != null ? props[prop] : child.props[prop];\n}\n\nfunction getInitialChildMapping(props, onExited) {\n return getChildMapping(props.children, function (child) {\n return (0,react.cloneElement)(child, {\n onExited: onExited.bind(null, child),\n in: true,\n appear: getProp(child, 'appear', props),\n enter: getProp(child, 'enter', props),\n exit: getProp(child, 'exit', props)\n });\n });\n}\nfunction getNextChildMapping(nextProps, prevChildMapping, onExited) {\n var nextChildMapping = getChildMapping(nextProps.children);\n var children = mergeChildMappings(prevChildMapping, nextChildMapping);\n Object.keys(children).forEach(function (key) {\n var child = children[key];\n if (!(0,react.isValidElement)(child)) return;\n var hasPrev = (key in prevChildMapping);\n var hasNext = (key in nextChildMapping);\n var prevChild = prevChildMapping[key];\n var isLeaving = (0,react.isValidElement)(prevChild) && !prevChild.props.in; // item is new (entering)\n\n if (hasNext && (!hasPrev || isLeaving)) {\n // console.log('entering', key)\n children[key] = (0,react.cloneElement)(child, {\n onExited: onExited.bind(null, child),\n in: true,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n } else if (!hasNext && hasPrev && !isLeaving) {\n // item is old (exiting)\n // console.log('leaving', key)\n children[key] = (0,react.cloneElement)(child, {\n in: false\n });\n } else if (hasNext && hasPrev && (0,react.isValidElement)(prevChild)) {\n // item hasn't changed transition states\n // copy over the last transition props;\n // console.log('unchanged', key)\n children[key] = (0,react.cloneElement)(child, {\n onExited: onExited.bind(null, child),\n in: prevChild.props.in,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n }\n });\n return children;\n}\n;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/TransitionGroup.js\n\n\n\n\n\n\n\n\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `` component manages a set of transition components\n * (`` and ``) in a list. Like with the transition\n * components, `` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the ``.\n *\n * Note that `` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n (0,inheritsLoose/* default */.Z)(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = (0,esm_extends/* default */.Z)({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = (0,objectWithoutPropertiesLoose/* default */.Z)(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/react.createElement(TransitionGroupContext/* default.Provider */.Z.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/react.createElement(TransitionGroupContext/* default.Provider */.Z.Provider, {\n value: contextValue\n }, /*#__PURE__*/react.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(react.Component);\n\nTransitionGroup.propTypes = false ? 0 : {};\nTransitionGroup.defaultProps = defaultProps;\n/* harmony default export */ var esm_TransitionGroup = (TransitionGroup);\n\n/***/ })\n\n},\n/******/ function(__webpack_require__) { // webpackRuntimeModules\n/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }\n/******/ __webpack_require__.O(0, [477,34,71,426,58,844,774,888,179], function() { return __webpack_exec__(2818); });\n/******/ var __webpack_exports__ = __webpack_require__.O();\n/******/ _N_E = __webpack_exports__;\n/******/ }\n]);"],"names":["self","push","__unused_webpack_module","__unused_webpack_exports","__webpack_require__","window","__NEXT_P","__webpack_exports__","d","Breadcrumbs","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","_styles_components_breadcrumbs_module_scss__WEBPACK_IMPORTED_MODULE_2__","_styles_components_breadcrumbs_module_scss__WEBPACK_IMPORTED_MODULE_2___default","n","next_link__WEBPACK_IMPORTED_MODULE_1__","next_link__WEBPACK_IMPORTED_MODULE_1___default","param","details","parentLinks","getLinks","item","jsx","href","children","parent","parentUrl","length","props","pathJoin","parts","separator","arguments","map","part","index","replace","join","slug","legacyBehavior","title","jsxs","className","breadcrumbs__wrapper","link","key","breadcrumbs__parent_page_wrapper","MenuLinkButtons","_styles_components_common_menu_link_buttons_module_scss__WEBPACK_IMPORTED_MODULE_1__","_styles_components_common_menu_link_buttons_module_scss__WEBPACK_IMPORTED_MODULE_1___default","menuLinks","concat","menu_link_buttons__wrapper","menuLink","i","url","Loader","jsx_runtime","loader_module","loader_module_default","next_image","image_default","classnames","classnames_default","rmr_loader","loader_wrapper","src","alt","height","width","ListingPageHeader","_styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5__","_styles_components_page_headers_listing_page_header_module_scss__WEBPACK_IMPORTED_MODULE_5___default","_common_menu_link_buttons__WEBPACK_IMPORTED_MODULE_1__","_blocks_RequestACallbackButton__WEBPACK_IMPORTED_MODULE_2__","_container__WEBPACK_IMPORTED_MODULE_3__","_breadcrumbs__WEBPACK_IMPORTED_MODULE_4__","pageBreadcrumb","description","showMenuButtons","showCallbackButton","callbackButton","showBackground","fullWidth","id","listing_page_header__wrapper","background","Z","listing_page_header__inner","no_action_button","no_menu","no_background","full_width","listing_page_header__col_breadcrumb","listing_page_header__col_left","listing_page_header__content","dangerouslySetInnerHTML","__html","listing_page_header__menu","listing_page_header__col_right","button_text","buttonText","modal_title","modalTitle","modal_text","modalText","modal_form_id","modalFormId","ReadershipTile","_styles_components_readerships_tile_module_scss__WEBPACK_IMPORTED_MODULE_4__","_styles_components_readerships_tile_module_scss__WEBPACK_IMPORTED_MODULE_4___default","_public_images_placeholders_product_placeholder_png__WEBPACK_IMPORTED_MODULE_2__","_click_through_link__WEBPACK_IMPORTED_MODULE_3__","_featuredImage_node","_featuredImage_node1","_featuredImage_node2","_featuredImage_node_mediaDetails","_featuredImage_node3","_featuredImage_node_mediaDetails1","cardSubHeading","featuredImage","parentSlug","excerpt","image","node","sourceUrl","mediaDetails","readership_tile__row","readership_tile__row_inner_tablet","readership_tile__row_inner","readership_tile__image_link","readership_tile__col_right","readership_tile__clickthrough_link","text","PAGE_META_LISTING","PAGE_META","getAllReaderships","_api__WEBPACK_IMPORTED_MODULE_0__","_graphql_fragments_pageMeta__WEBPACK_IMPORTED_MODULE_1__","cursor","data","I","mt","r","__N_SSG","Readerships","_styles_components_page_templates_readerships_module_scss__WEBPACK_IMPORTED_MODULE_13__","_styles_components_page_templates_readerships_module_scss__WEBPACK_IMPORTED_MODULE_13___default","next_router__WEBPACK_IMPORTED_MODULE_1__","_components_readerships_tile__WEBPACK_IMPORTED_MODULE_2__","_components_page_headers_listing_page_header__WEBPACK_IMPORTED_MODULE_3__","_components_layout__WEBPACK_IMPORTED_MODULE_4__","_lib_queries_readerships_getAllReaderships__WEBPACK_IMPORTED_MODULE_5__","next_head__WEBPACK_IMPORTED_MODULE_6__","next_head__WEBPACK_IMPORTED_MODULE_6___default","_components_loader__WEBPACK_IMPORTED_MODULE_7__","react__WEBPACK_IMPORTED_MODULE_8__","react_transition_group__WEBPACK_IMPORTED_MODULE_12__","react_transition_group__WEBPACK_IMPORTED_MODULE_14__","_components_blocks_Testimonial__WEBPACK_IMPORTED_MODULE_9__","_components_blocks_Newsletter__WEBPACK_IMPORTED_MODULE_10__","_lib_account__WEBPACK_IMPORTED_MODULE_11__","loadPage","_allReaderships_readerships","_allReaderships_readerships1","_allReaderships_themeSettings","_allReaderships_themeSettings1","allReaderships","b","readerships","edges","pageInfo","header","generalSettings","themeSettings","menu","topmenu","footer","footerColOneMenu","footerColTwoMenu","footerColThreeMenu","footerConnectMenu","readershipsData","router","useRouter","setData","useState","account","setAccount","undefined","useEffect","Br","fetchData","Mx","headerDetails","_data_header_themeSettings","listingPageHeaders","find","h","page","testimonial","_data_header_themeSettings1","listingPageTestimonials","newsletter","_data_header_themeSettings2","_data_header","_data_header_generalSettings","readershipObjects","Object","values","sort","a","isFallback","Fragment","content","requestCallbackButton","readerships__wrapper","readership","_readership_node","_readership_node1","_readership_node2","_readership_node3","timeout","readerships__no_readerships","readerships__listing_testimonial","quote","quote_source","quoteSource","click_through_link","clickThroughLink","module","exports","esm_TransitionGroup","objectWithoutPropertiesLoose","esm_extends","inheritsLoose","react","TransitionGroupContext","getChildMapping","mapFn","result","create","Children","c","forEach","child","isValidElement","getProp","prop","obj","keys","k","TransitionGroup","_React$Component","context","_this","handleExited","call","bind","_assertThisInitialized","state","contextValue","isMounting","firstRender","_proto","prototype","componentDidMount","mounted","setState","componentWillUnmount","getDerivedStateFromProps","nextProps","_ref","nextChildMapping","prevChildMapping","cloneElement","onExited","in","appear","enter","exit","mergeChildMappings","prev","next","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","hasPrev","hasNext","prevChild","isLeaving","currentChildMapping","render","_this$props","Component","component","childFactory","createElement","Provider","value","propTypes","defaultProps","O","s","_N_E"],"sourceRoot":""}