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U,OACVC,OAAOP,EAAAA,EAAAA,IAAiB,kCAG5Bf,KAAM,CAAC,EACPqB,SAAU,cAGdrB,KAAM,CAAC,EACPqB,SAAU,YAEZK,cAAe,gBAOnB7B,UAAAA,ID/HMC,WACR,OACE6B,EAAAA,EAAAA,GAACC,EAAAA,GAAsB,CACrBC,MAAM,QACNC,UAAU,WACVC,gBAAc,EACdC,SAAS,OACTlC,WAAYA,GAGlB,CAEAL,EAAiBwC,UAAY,CAC3BtC,KAAMuC,IAAAA","sources":["webpack:///./components/FooterCtaSection/index.js","webpack:///./components/FooterCtaSection/__utils__.js"],"sourcesContent":["import React from 'react'\nimport { CardContentSectionType } from '@paypalcorp/pp-com-components'\nimport generateProps from './__utils__'\nimport Proptypes from 'prop-types'\n\nexport default function FooterCtaSection({ page }) {\n const { collection } = generateProps(page)\n return (\n \n )\n}\n\nFooterCtaSection.propTypes = {\n page: Proptypes.string,\n}\n","import { getLocalizedText } from 'ppbl/utils/locale-helper'\nimport { trackClick } from 'ppbl/utils/fpti-helper'\nimport serverData from 'ppbl/utils/server-data'\n\nexport default function generateProps(page) {\n const {\n data: { checkEligibilityURI },\n } = serverData\n\n const fptiClick = () => {\n const fptiData = {\n page,\n component: 'FooterCtaSection',\n link: 'FooterCtaSection_checkEligibility_button',\n }\n\n trackClick(fptiData)\n }\n\n const collection = [\n {\n textGroup: {\n alignment: 'Center',\n actionGroup: {\n alignment: 'Center',\n legalPosition: 'Bottom',\n button: [\n {\n buttonStyle: 'ppreact',\n clickEventName: 'Button_CTA',\n onClick: fptiClick,\n target: '_self',\n type: 'Primary',\n text: getLocalizedText('common.checkEligibility'),\n url: checkEligibilityURI,\n },\n ],\n },\n disclosureType: {\n paragraph: {\n content: [\n {\n content: [\n {\n data: {},\n marks: [],\n nodeType: 'text',\n value: getLocalizedText(\n 'components.footerCTA.disclosure1Text',\n ),\n },\n ],\n data: {},\n nodeType: 'paragraph',\n },\n {\n content: [\n {\n data: {},\n marks: [],\n nodeType: 'text',\n value: getLocalizedText(\n 'components.footerCTA.disclosure2Text',\n ),\n },\n ],\n data: {},\n nodeType: 'paragraph',\n },\n {\n content: [\n {\n data: {},\n marks: [],\n nodeType: 'text',\n value: getLocalizedText(\n 'components.footerCTA.disclosure3Text',\n ),\n },\n ],\n data: {},\n nodeType: 'paragraph',\n },\n ],\n data: {},\n nodeType: 'document',\n },\n },\n headline: {\n content: [\n {\n content: [\n {\n data: {},\n marks: [],\n nodeType: 'text',\n value: getLocalizedText('components.footerCTA.headingText'),\n },\n ],\n data: {},\n nodeType: 'paragraph',\n },\n ],\n data: {},\n nodeType: 'document',\n },\n headlineSize: 'Headline 3',\n headlineTag: 'h3',\n paragraph: {\n content: [\n {\n content: [\n {\n data: {},\n marks: [],\n nodeType: 'text',\n value: getLocalizedText('components.footerCTA.subText'),\n },\n ],\n data: {},\n nodeType: 'paragraph',\n },\n ],\n data: {},\n nodeType: 'document',\n },\n paragraphSize: 'Body Large',\n },\n },\n ]\n\n return {\n collection,\n fptiClick,\n }\n}\n"],"names":["FooterCtaSection","_ref","page","checkEligibilityURI","fptiClick","collection","serverData","data","textGroup","alignment","actionGroup","legalPosition","button","buttonStyle","clickEventName","onClick","trackClick","component","link","target","type","text","getLocalizedText","url","disclosureType","paragraph","content","marks","nodeType","value","headline","headlineSize","headlineTag","paragraphSize","___EmotionJSX","CardContentSectionType","theme","cardTheme","isImageFlushed","renderAs","propTypes","Proptypes"],"sourceRoot":""}