{"version":3,"file":"958fc8f7763aedd878a3b75749bf39484bc07c86-61ec55270f042653ba99.js","mappings":"qLAkBA,IChBA,EDQoBA,IAAsC,IAArC,IAAEC,EAAG,KAAEC,EAAI,SAAEC,GAAiBH,EACjD,OAAOC,GAAOA,EAAIG,WAAW,QAC3BC,EAAAA,cAAA,KAAGC,UAAWH,EAAUI,KAAMN,EAAKO,OAAO,UAAUN,GAEpDG,EAAAA,cAACI,EAAAA,KAAI,CAACH,UAAWH,EAAUO,GAAIT,GAAMC,EACtC,C,qEEbI,MAAMS,EAAkBA,KAChBC,EAAAA,EAAAA,gBAAe,cAuBhBC,KAAKC,Y,qECVnB,ICbA,EDAyBC,IACdV,EAAAA,cAAAA,EAAAA,SAAA,KACHA,EAAAA,cAAA,WACAA,EAAAA,cAAA,KAAGC,UAAU,uBAAsBD,EAAAA,cAAA,cAAQ,8BAC3CA,EAAAA,cAAA,KAAGC,UAAU,uBAAsB,yEACnCD,EAAAA,cAAA,KAAGC,UAAU,uBACXD,EAAAA,cAAA,KAAGE,KAAK,WAAWD,UAAU,wIAAuI,kB,qBET9K,wlC,qBCAA,4wF,qBCAA,wtE,qBCAA,oyW,qBCAA,gmB,uBCAA,IAAe,IAA0B,2D","sources":["webpack://panmacmillan.co.za/./plugins/@panmacmillan/gatsby-theme-panmacmillan/src/components/LinkWrapper/LinkWrapper.tsx","webpack://panmacmillan.co.za/./plugins/@panmacmillan/gatsby-theme-panmacmillan/src/components/LinkWrapper/index.ts","webpack://panmacmillan.co.za/./plugins/@panmacmillan/gatsby-theme-panmacmillan/src/hooks/useSiteMetaData.ts","webpack://panmacmillan.co.za/./src/@panmacmillan/gatsby-theme-panmacmillan/components/NewsletterHelper/NewsletterHelper.tsx","webpack://panmacmillan.co.za/./src/@panmacmillan/gatsby-theme-panmacmillan/components/NewsletterHelper/index.ts","webpack://panmacmillan.co.za/./plugins/@panmacmillan/gatsby-theme-panmacmillan/src/images/icon--facebook.svg","webpack://panmacmillan.co.za/./plugins/@panmacmillan/gatsby-theme-panmacmillan/src/images/icon--instagram.svg","webpack://panmacmillan.co.za/./plugins/@panmacmillan/gatsby-theme-panmacmillan/src/images/icon--soundcloud.png","webpack://panmacmillan.co.za/./plugins/@panmacmillan/gatsby-theme-panmacmillan/src/images/icon--tiktok.png","webpack://panmacmillan.co.za/./plugins/@panmacmillan/gatsby-theme-panmacmillan/src/images/icon--twitter.svg","webpack://panmacmillan.co.za/./plugins/@panmacmillan/gatsby-theme-panmacmillan/src/images/icon--youtube.png"],"sourcesContent":["/* Global imports. */\nimport React from \"react\"\nimport { Link } from \"gatsby\"\n\ninterface Props {\n url: string;\n text?: string;\n cssClass?: string;\n}\n\nconst LinkWrapper = ({ url, text, cssClass }: Props) => {\n return url && url.startsWith(\"http\") ? ( \n {text}\n ) : (\n {text}\n )\n};\n\nexport default LinkWrapper;\n","import LinkWrapper from \"./LinkWrapper\";\n\nexport default LinkWrapper;\n","import { graphql, useStaticQuery } from \"gatsby\"\n\nexport const useSiteMetadata = () => {\n const data = useStaticQuery(\n graphql`\n query {\n site {\n siteMetadata {\n title\n description\n siteRoot\n author\n social {\n facebook\n twitter\n instagram\n soundcloud\n youtube\n tiktok\n }\n }\n }\n }\n `,\n );\n \n return data.site.siteMetadata\n}","/* eslint-disable react/function-component-definition */\nimport React from \"react\"\n\nconst NewsletterHelper = () => {\n return <>\n
Ready for your next read?
\nSign up to discover the best of our books, events and special offers.
\n\n Sign up here\n
\n