{"version":3,"sources":["webpack:///./src/assets/images/energy-efficient.jpeg","webpack:///./src/assets/images/coastal.jpeg","webpack:///./src/assets/HSBC_Pictogram_Internet Banking_Black.png","webpack:///./src/assets/download.inline.svg","webpack:///./src/assets/HSBC_Pictogram_Book Education_Black.png","webpack:///./node_modules/core-js/modules/es.string.trim.js","webpack:///./src/assets/HSBC_Pictogram_Sustainable Growth_Black.png","webpack:///./src/components/general-anchor/general-anchor.component.js","webpack:///./src/components/anchor-list/anchor-list.component.js","webpack:///./src/assets/images/green_hero.jpg","webpack:///./src/assets/images/hsbc-can.png","webpack:///./src/components/green-page/green-card.component.js","webpack:///./node_modules/core-js/modules/es.array.join.js","webpack:///./src/components/green-page/green-hero.component.js","webpack:///./src/components/green-page/green-resources.component.js","webpack:///./src/components/green-page/green-section-with-card.component.js","webpack:///./src/pages/green.js","webpack:///./src/assets/images/come-and-talk2.jpg","webpack:///./node_modules/core-js/internals/string-trim-forced.js"],"names":["module","exports","React","DownloadInline","props","createElement","defaultProps","default","$","$trim","trim","target","proto","forced","forcedStringTrimMethod","this","GeneralAnchor","_ref","children","isBlank","href","_ref$isLink","isLink","_ref$ariaLabel","ariaLabel","referrer","isRed","downloadTitle","onClick","additionalClass","_ref$noClass","noClass","menuContext","useContext","MenuContext","location","useLocation","_extractTextFromChildren","isValidElement","Array","isArray","map","join","handleClick","e","window","utag","textContent","commonData","tealiumEvent","pageUrl","eventCategory","pageType","events","eventAction","eventContent","concat","replace","pageName","pageSubCategory","rawDataLayer","includes","pathname","split","pop","eventData","triggerTealiumEvent","_objectSpread","Fragment","className","rel","undefined","download","aria-label","inert","isMenuOpen","Link","to","AnchorList","anchorItems","additionalClassName","isProductFinder","length","_ref2","index","isDownload","title","rest","_objectWithoutProperties","_excluded","key","_extends","DownloadIcon","src","alt","GreenCard","description","isExternal","LinkComponent","ExternalLink","width","height","viewBox","fill","d","IndexedObject","toIndexedObject","arrayMethodIsStrict","nativeJoin","ES3_STRINGS","Object","STRICT_METHOD","separator","call","GreenHero","_onClick","GreenHeroBanner","type","GeneralButton","open","GreenResources","useEffect","hash","slice","scrollTo","bottom","id","Leaf","GreenResourcesData","articles","Book","magazines","LAptop","links","GreenSectionWithCards","cards","additionalClasses","onlyText","_ref$isExternal","card","image","Green","sectionName","clickedText","isGreenPage","elem","document","querySelector","classList","add","remove","cardItems","EnergyEfficient","Coastal","cardItems2","ComeAndTalk2","HSBCCan","Layout","metaDescription","style","marginBottom","padding","color","textDecoration","fails","whitespaces","METHOD_NAME","name"],"mappings":"+EAAAA,EAAOC,QAAU,IAA0B,iE,uBCA3CD,EAAOC,QAAU,IAA0B,wD,qBCA3CD,EAAOC,QAAU,IAA0B,qF,qBCA3C,IAAIC,EAAQ,EAAQ,QAEpB,SAASC,EAAgBC,GACrB,OAAOF,EAAMG,cAAc,MAAMD,EAAMF,EAAMG,cAAc,OAAO,CAAC,EAAI,gHAAgH,KAAO,UAGlMF,EAAeG,aAAe,CAAC,MAAQ,KAAK,OAAS,KAAK,QAAU,YAAY,KAAO,OAAO,KAAO,MAAM,cAAc,OAAO,UAAY,SAE5IN,EAAOC,QAAUE,EAEjBA,EAAeI,QAAUJ,G,qBCVzBH,EAAOC,QAAU,IAA0B,mF,kCCC3C,IAAIO,EAAI,EAAQ,QACZC,EAAQ,EAAQ,QAA4BC,KAKhDF,EAAE,CAAEG,OAAQ,SAAUC,OAAO,EAAMC,OAJN,EAAQ,OAIMC,CAAuB,SAAW,CAC3EJ,KAAM,WACJ,OAAOD,EAAMM,U,qBCTjBf,EAAOC,QAAU,IAA0B,uF,mpGCsL5Be,IAhLO,SAAHC,GAaZ,IAZLC,EAAQD,EAARC,SACAC,EAAOF,EAAPE,QACAC,EAAIH,EAAJG,KAAIC,EAAAJ,EACJK,cAAM,IAAAD,GAAQA,EACdV,EAAMM,EAANN,OAAMY,EAAAN,EACNO,iBAAS,IAAAD,EAAG,GAAEA,EACdE,EAAQR,EAARQ,SACAC,EAAKT,EAALS,MACAC,EAAaV,EAAbU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,MAAyBD,EAAYC,GAAaC,OAASD","file":"component---src-pages-green-js-9a2513c0499af6e968ec.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/energy-efficient-d144022f5b526dbc05749073183dfecb.jpeg\";","module.exports = __webpack_public_path__ + \"static/coastal-49232185f4d149f23023761956d76a56.jpeg\";","module.exports = __webpack_public_path__ + \"static/HSBC_Pictogram_Internet Banking_Black-a3e25e691463b151a29792d1b787a809.png\";","var React = require('react');\n\nfunction DownloadInline (props) {\n return React.createElement(\"svg\",props,React.createElement(\"path\",{\"d\":\"M15.8 12V15.8H2.2V12H1V17H17V12H15.8ZM14 8.848V7.151L9.6 11.551V1H8.4V11.551L4 7.151V8.848L9 13.849L14 8.848Z\",\"fill\":\"#000\"}));\n}\n\nDownloadInline.defaultProps = {\"width\":\"18\",\"height\":\"18\",\"viewBox\":\"0 0 18 18\",\"fill\":\"none\",\"role\":\"img\",\"aria-hidden\":\"true\",\"focusable\":\"false\"};\n\nmodule.exports = DownloadInline;\n\nDownloadInline.default = DownloadInline;\n","module.exports = __webpack_public_path__ + \"static/HSBC_Pictogram_Book Education_Black-a1b96b8422b30bc8244b05bd1d9d33b4.png\";","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","module.exports = __webpack_public_path__ + \"static/HSBC_Pictogram_Sustainable Growth_Black-ec9747832aee045f86687c018612af71.png\";","import React, { useContext } from \"react\";\nimport { Link } from \"gatsby\";\nimport { triggerTealiumEvent } from \"../../utils/tealiumUtils\";\nimport { useLocation } from \"@reach/router\";\nimport { MenuContext } from \"../../context\";\n\nconst GeneralAnchor = ({\n children,\n isBlank,\n href,\n isLink = false,\n target,\n ariaLabel = \"\",\n referrer,\n isRed,\n downloadTitle,\n onClick,\n additionalClass,\n noClass = false,\n}) => {\n const menuContext = useContext(MenuContext);\n const location = useLocation();\n\n const extractTextFromChildren = (children) => {\n switch (true) {\n case typeof children === \"string\":\n return children;\n case React.isValidElement(children):\n return extractTextFromChildren(children.props.children);\n case Array.isArray(children):\n return children.map(extractTextFromChildren).join(\" \");\n default:\n return \"\";\n }\n };\n\n const handleClick = (e) => {\n if (typeof window === \"undefined\" || !window.utag) return;\n\n const textContent = extractTextFromChildren(children).trim();\n const commonData = {\n tealiumEvent: \"link\",\n pageUrl: location.href,\n eventCategory: \"content\",\n pageType: \"product information\",\n };\n\n const events = {\n \"/resources\": {\n eventAction: \"download\",\n eventContent: `download: ${textContent.replace(/\\s*\\(.*?\\)$/, \"\")}`,\n pageName: \"resources\",\n pageSubCategory: \"resources\",\n rawDataLayer: \"10451v51\",\n },\n \"/packaging-requirements\": isLink\n ? {\n eventAction: \"download\",\n eventContent: `download: ${textContent.replace(/\\s*\\(.*?\\)$/, \"\")}`,\n pageName: \"packaging requirements\",\n pageSubCategory: \"packaging requirements\",\n rawDataLayer: \"10451v77\",\n }\n : {\n eventAction: \"onsite\",\n eventContent: `contact us | packaging requirements : ${textContent}`,\n pageName: \"packaging requirements\",\n pageSubCategory: \"packaging requirements\",\n rawDataLayer: \"10451v75\",\n },\n \"/broker-support\": {\n eventAction: \"onsite\",\n eventContent: `support actions | broker support : ${textContent}`,\n pageName: \"broker support\",\n pageSubCategory: \"broker support\",\n rawDataLayer: \"10451v33\",\n },\n \"/placing-business\": href.includes(\"frequently-asked-questions\")\n ? {\n eventAction: \"offsite\",\n eventContent: `placing business : ${textContent}`,\n pageName: \"placing business\",\n pageSubCategory: \"placing business\",\n rawDataLayer: \"10451v56\",\n }\n : {\n eventAction: \"download\",\n eventContent: `download: ${textContent.replace(/\\s*\\(.*?\\)$/, \"\")}`,\n pageName: \"placing business\",\n pageSubCategory: \"placing business\",\n rawDataLayer: \"10451v55\",\n },\n \"/newsroom\": href.includes(\"pdfs\")\n ? {\n eventAction: \"onsite\",\n eventContent: `news : ${textContent}`,\n pageName: \"newsroom\",\n pageSubCategory: \"newsroom\",\n rawDataLayer: \"10451v24\",\n }\n : {\n eventAction: \"offsite\",\n eventContent: `news : ${textContent}`,\n pageName: \"newsroom\",\n pageSubCategory: \"newsroom\",\n rawDataLayer: \"10451v25\",\n },\n \"/green\": {\n eventAction: \"onsite\",\n eventContent: `resources | green : ${textContent}`,\n pageName: \"green\",\n pageSubCategory: \"green\",\n rawDataLayer: \"10451v86\",\n },\n \"/step-by-step-guide-to-hsbc-mortgages\": {\n eventAction: \"onsite\",\n eventContent: `contact us | step by step guide to hsbc mortgages : ${textContent}`,\n pageName: \"step by step guide to hsbc mortgages\",\n pageSubCategory: \"step by step guide to hsbc mortgages\",\n rawDataLayer: \"10451v81\",\n },\n };\n\n if (location.href.includes(\"essential-reading\")) {\n events[location.pathname] = {\n eventAction: \"onsite\",\n eventContent: `contact us | ${location.href.replace(/\\/$/, \"\").split(\"/\").pop()} : ${textContent}`,\n pageName: \"essential reading\",\n pageSubCategory: \"newsroom\",\n rawDataLayer: \"10451v29\",\n };\n }\n\n const eventData =\n events[location.pathname] || events[`${location.pathname}/`] || events[`${location.pathname.replace(/\\/$/, \"\")}`];\n\n if (eventData) {\n triggerTealiumEvent({ ...commonData, ...eventData });\n }\n\n if (onClick) {\n onClick(e);\n }\n };\n\n return (\n <>\n {isLink === true ? (\n \n {children}\n \n ) : (\n \n {children}\n \n )}\n \n );\n};\n\nexport default GeneralAnchor;\n","import React from \"react\";\n\nimport GeneralAnchor from \"../general-anchor/general-anchor.component\";\nimport DownloadIcon from \"../../assets/download.inline.svg\";\n\nconst AnchorList = ({ ariaLabel, anchorItems, additionalClassName, isLink, isBlank, isProductFinder }) => (\n \n);\n\nexport default AnchorList;\n","module.exports = __webpack_public_path__ + \"static/green_hero-f35b3cb9e24d35f9cc7aa9f1ea5d8f0b.jpg\";","module.exports = __webpack_public_path__ + \"static/hsbc-can-1195a094bd5cdedcd2ba86d094de1480.png\";","import React from \"react\";\nimport { Link } from \"gatsby\";\nimport ExternalLink from \"../external-link/external-link.component\";\n\nconst GreenCard = ({ title, description, href, additionalClass, isExternal, onClick }) => {\n const LinkComponent = isExternal ? ExternalLink : Link;\n\n return (\n \n
\n
\n

{title}

\n
\n

{description}

\n
\n \n \n \n \n \n \n );\n};\n\nexport default GreenCard;\n","'use strict';\nvar $ = require('../internals/export');\nvar IndexedObject = require('../internals/indexed-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeJoin = [].join;\n\nvar ES3_STRINGS = IndexedObject != Object;\nvar STRICT_METHOD = arrayMethodIsStrict('join', ',');\n\n// `Array.prototype.join` method\n// https://tc39.es/ecma262/#sec-array.prototype.join\n$({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {\n join: function join(separator) {\n return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});\n","import React from \"react\";\nimport GreenHeroBanner from \"../../assets/images/green_hero.jpg\";\nimport GeneralButton from \"../generalButton/generalButton.component\";\n\nconst GreenHero = ({ onClick }) => {\n return (\n
\n \"\"\n
\n
\n

\n Help your customers help the environment\n

\n

\n Energy efficiency measures and green home retrofit technologies are crucial to the transition to net-zero\n ready homes, as are the financial products and services which will facilitate their roll-out.
\n
\n The Broker’s Handbook created by Green Finance Institute seeks to inform brokers about different green home\n retrofit solutions and technologies by providing a profile of the options available and their associated\n opportunities and risks, as well as quality assurance standards.\n

\n {\n window.open(\"https://www.greenfinanceinstitute.co.uk/programmes/ceeb/brokers-handbook/\", \"_blank\");\n onClick(\"Brokers Handbook\");\n }}\n >\n Brokers Handbook\n \n
\n {/* \"\" */}\n
\n
\n );\n};\n\nexport default GreenHero;\n","import React, { useEffect } from \"react\";\nimport { useLocation } from \"@reach/router\";\nimport AnchorList from \"../anchor-list/anchor-list.component\";\nimport Leaf from \"../../assets/HSBC_Pictogram_Sustainable Growth_Black.png\";\nimport Book from \"../../assets/HSBC_Pictogram_Book Education_Black.png\";\nimport LAptop from \"../../assets/HSBC_Pictogram_Internet Banking_Black.png\";\nimport GreenResourcesData from \"../../data/green-resources-datas.json\";\n\nimport \"../../styles/app.scss\";\n\nexport default function GreenResources() {\n const location = useLocation();\n\n useEffect(() => {\n const hash = location.hash.slice(1);\n\n // Perform actions based on the hash value\n if (hash === \"resources\" && typeof window !== \"undefined\") {\n window.scrollTo({ bottom: 0 });\n }\n }, [location.hash]);\n\n return (\n
\n
\n

Resources

\n\n
\n
\n
\n \"Sustainability\n

Sustainability articles

\n
\n
\n \n
\n
\n
\n
\n \"E-magazines\"\n

E-magazines

\n
\n
\n \n
\n
\n
\n
\n \"Useful\n

Useful links

\n
\n
\n \n
\n
\n
\n
\n
\n );\n}\n","import React from \"react\";\nimport { Link } from \"gatsby\";\nimport ExternalLink from \"../external-link/external-link.component\";\n\nconst GreenSectionWithCards = ({\n title,\n description,\n cards,\n additionalClasses,\n onlyText,\n isExternal = false,\n onClick,\n}) => {\n const LinkComponent = isExternal ? ExternalLink : Link;\n\n return (\n
\n {title &&

{title}

}\n {description && (\n <>\n

{description}

\n {onlyText ? \"\" :
}\n \n )}\n \n {cards &&\n cards.map((card, index) => (\n
\n {card.title}\n {card.title && (\n onClick(card.title)}\n >\n

{card.title}

\n \n )}\n\n {card.description &&

{card.description}

}\n
\n ))}\n
\n \n );\n};\n\nexport default GreenSectionWithCards;\n","import React, { useEffect } from \"react\";\nimport { useLocation } from \"@reach/router\";\nimport Layout from \"../components/layout\";\nimport \"../styles/app.scss\";\nimport GreenHero from \"../components/green-page/green-hero.component\";\nimport GreenCard from \"../components/green-page/green-card.component\";\nimport GreenResources from \"../components/green-page/green-resources.component\";\nimport GreenSectionWithCards from \"../components/green-page/green-section-with-card.component\";\nimport Coastal from \"../assets/images/coastal.jpeg\";\nimport EnergyEfficient from \"../assets/images/energy-efficient.jpeg\";\nimport ComeAndTalk2 from \"../assets/images/come-and-talk2.jpg\";\nimport HSBCCan from \"../assets/images/hsbc-can.png\";\nimport { triggerTealiumEvent } from \"../utils/tealiumUtils\";\n\nexport default function Green() {\n const location = useLocation();\n if (typeof window !== \"undefined\" && window.utag) {\n triggerTealiumEvent({\n tealiumEvent: \"view\",\n pageUrl: location.href,\n pageName: \"green\",\n pageType: \"product information\",\n pageSubCategory: \"green\",\n rawDataLayer: \"10451v83\",\n });\n }\n\n const handleClick = ({ sectionName, clickedText }) => {\n if (typeof window !== \"undefined\" && window.utag) {\n triggerTealiumEvent({\n tealiumEvent: \"link\",\n pageUrl: location.href,\n pageName: \"green\",\n eventCategory: \"content\",\n eventAction: \"onsite\",\n eventContent: `${sectionName} | green : ${clickedText}`,\n pageType: \"product information\",\n pageSubCategory: \"green\",\n rawDataLayer: \"10451v86\",\n });\n }\n };\n\n useEffect(() => {\n const isGreenPage = location.pathname.includes(\"green\" || \"energy-performance-certificate\");\n const elem = document.querySelector(\".page\");\n\n if (elem) {\n if (isGreenPage) {\n elem.classList.add(\"page--grey\");\n } else {\n elem.classList.remove(\"page--grey\");\n }\n }\n }, [location]);\n\n const cardItems = [\n {\n image: EnergyEfficient,\n title: \"How to make homes more energy efficient\",\n description: \"Read our tips on how to help the planet while also lowering bills and saving money.\",\n href: \"https://www.hsbc.co.uk/financial-fitness/everyday-budgeting/how-to-make-your-home-energy-efficient/\",\n },\n {\n image: Coastal,\n title: \"What could climate change mean for mortgages?\",\n description:\n \"Learn how risks like flooding and coastal erosion could affect your customers mortgage application.\",\n href: \"https://www.hsbc.co.uk/mortgages/could-climate-change-impact-your-mortgage-application/\",\n },\n ];\n\n const cardItems2 = [\n {\n image: ComeAndTalk2,\n title: \"\",\n description: (\n <>\n Being green and helping the environment comes in many forms, and there are lots of ways that you can get\n involved.\n
\n
\n Members of our Intermediary Broker Support Admin Team recently spent time volunteering at Graves Park in\n Sheffield. The railings around the old boating lake hadn’t been painted in 20 years, and were in desperate\n need of some attention. As always, the team were more than happy to roll their sleeves up and get stuck in!\n
\n
\n After spending over 10 hours painting, the railings were restored and although the team ended up covered from\n head to toe in green paint, it was considered a job very well done. The park workers could not have been\n happier - in fact they were so impressed, they have been invited back again!\n \n ),\n },\n {\n image: HSBCCan,\n title: \"\",\n description: (\n <>\n HSBC UK's Climate Action Network recently worked with several colleagues to focus on a nationwide food drive,\n #1CAN.\n
\n
\n During the month of March, all staff were asked to donate one can of food at one of 10 participating offices\n to support their vulnerable local communities.\n
\n
\n Liz Kitney (Marketing Support Officer, HSBC UK Intermediary Mortgages) helped drive the #1CAN initiative at\n our Sheffield office. Liz also shared various ways to avoid food waste with staff, along with great\n eco-friendly plant-based recipes. Liz was key in collaborating with her local Trussell Trust food bank to\n collect donations, helping those who needed it the most.\n \n ),\n },\n ];\n\n return (\n \n
\n
\n {/* */}\n handleClick({ sectionName: \"green hero\", clickedText: clickedText })} />\n
\n
\n
\n

\n Today, HSBC finances a number of industries that significantly contribute to greenhouse gas emissions. We\n have a strategy to help our customers to reduce their emissions and to reduce our own. For more\n information visit \n handleClick({ sectionName: \"green\", clickedText: \"www.hsbc.com/sustainability\" })}\n style={{ textDecoration: \"underline\" }}\n >\n www.hsbc.com/sustainability\n \n .\n

\n
\n
\n
\n handleClick({ sectionName: \"green card\", clickedText: \"Energy performance certificate\" })}\n title=\"Energy performance certificate\"\n description=\"Information on EPC \"\n />\n \n handleClick({ sectionName: \"green card\", clickedText: \"How big is your environmental footprint?\" })\n }\n title=\"How big is your environmental footprint?\"\n description=\"WWF environmental footprint calculator\"\n isExternal={true}\n />\n
\n handleClick({ sectionName: \"sustainability at home\", clickedText: clickedText })}\n />\n handleClick({ sectionName: \"sustainability at home\", clickedText: clickedText })}\n />\n \n
\n
\n );\n}\n","module.exports = __webpack_public_path__ + \"static/come-and-talk2-ddf91dd9da0dd7fb0b60de2ece8c9f09.jpg\";","var fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;\n });\n};\n"],"sourceRoot":""}