{"version":3,"sources":["webpack://elevations-credit-union/./src/containers/calculators/auto/constants.js","webpack://elevations-credit-union/./src/containers/calculators/auto/how-much-can-afford.js","webpack://elevations-credit-union/./src/pages/calculators/auto/how-much-can-afford.en-US.js"],"names":["anchorLinkSections","t","useTranslation","title","defaultValue","anchorLinks","to","name","CrossSellTout","richHeadline","nodeType","data","content","marks","value","buttonUrl","buttonCta","buttonAlt","AutoAffordPage","pageContext","location","usePages","calculatorsPage","autoPage","pageData","sectionTitle","richBody","navMenus","pathname","urlPath","menu","subnav","showSubnav","language","langKey","pageTitle","sections","calculator"],"mappings":"sOAGMA,EAAqB,WACzB,IAAOC,GAAKC,SAAZ,GAmCA,MAlCa,CACX,CACEC,MAAOF,EAAE,mCAAoC,CAC3CG,aAAc,gBAEhBC,YAAa,CACX,CACEC,GAAI,oBACJC,KAAMN,EAAE,kCAAmC,CACzCG,aAAc,mCAGlB,CACEE,GAAI,wCACJC,KAAMN,EAAE,kCAAmC,CACzCG,aAAc,kCAGlB,CACEE,GAAI,sCACJC,KAAMN,EAAE,kCAAmC,CACzCG,aAAc,kCAGlB,CACEE,GAAI,mCACJC,KAAMN,EAAE,kCAAmC,CACzCG,aAAc,yCAapBI,EAAgB,WACpB,IAAOP,GAAKC,SAAZ,GAEMO,EAAe,CACnBC,SAAU,WACVC,KAAM,GACNC,QAAS,CACP,CACEF,SAAU,YACVE,QAAS,CACP,CACEF,SAAU,OACVG,MAAO,GACPC,MAAOb,EAAE,iCAAkC,CACzCG,aACE,kFAEJO,KAAM,KAGVA,KAAM,MAKZ,OACE,SAAC,IAAD,CACEF,aAAcA,EACdM,UAAU,oBACVC,UAAWf,EAAE,+BAAgC,CAC3CG,aAAc,eAEhBa,UAAWhB,EAAE,kCAAmC,CAC9CG,aAAc,oC,0KCpEhBc,EAAiB,SAAC,GAA+B,IAA7BC,EAA4B,EAA5BA,YAAaC,EAAe,EAAfA,SAC9BnB,GAAKC,SAAZ,GACA,GAAsCmB,SAA9BC,EAAR,EAAQA,gBAAiBC,EAAzB,EAAyBA,SAEnBC,EAAW,CACf,CACEC,aAAcxB,EAAE,0BAA2B,CACzCG,aAAc,iCAEhBsB,SAAU,CACRhB,SAAU,WACVC,KAAM,GACNC,QAAS,CACP,CACEF,SAAU,YACVE,QAAS,CACP,CACEF,SAAU,OACVG,MAAO,GACPC,MAAOb,EAAE,6BAA8B,CACrCG,aACE,0MAEJO,KAAM,KAGVA,KAAM,QAOhB,OACE,SAAC,IAAD,CAAgBQ,YAAaA,EAA7B,SACG,gBAAGQ,EAAH,EAAGA,SAAH,OACC,UAAC,IAAD,CACEP,SAAUA,EACVD,YAAW,iBAAOA,EAAP,CAAoBS,SAAUL,EAASM,UAClDC,KAAI,iBAAOH,EAAP,CAAiBI,OAAQ,CAACT,KAC9BU,YAAU,EAJZ,WAME,SAAC,IAAD,CACEC,SAAUd,EAAYe,QACtB/B,MAAOF,EAAE,2BAA4B,CACnCG,aAAc,kCAEhBwB,SAAS,2CAEX,SAAC,IAAD,CACEO,UAAWlC,EAAE,uBAAwB,CACnCG,aAAc,qBAEhBgC,SAAUZ,EACVa,YAAY,SAAC,KAAD,IACZrC,oBAAoBA,aAEtB,SAAC,KAAD,Y,yDCjEV,UAAekB,EAAf","file":"component---src-pages-calculators-auto-how-much-can-afford-en-us-js-84f126df7996c87df83a.js","sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { ElevatedTitleCentered } from '../../../components/modules/ElevatedTitleCentered'\n\nconst anchorLinkSections = () => {\n const [t] = useTranslation()\n const data = [\n {\n title: t('CalculatorPageAuto.sidebarHeader', {\n defaultValue: 'Calculators',\n }),\n anchorLinks: [\n {\n to: '/calculators/auto',\n name: t('CalculatorPageAuto.sidebarLink1', {\n defaultValue: 'What will my car payments be?',\n }),\n },\n {\n to: '/calculators/auto/how-much-can-afford',\n name: t('CalculatorPageAuto.sidebarLink2', {\n defaultValue: 'What price car can I afford?',\n }),\n },\n {\n to: '/calculators/auto/lease-or-purchase',\n name: t('CalculatorPageAuto.sidebarLink3', {\n defaultValue: 'Should I buy or lease a car?',\n }),\n },\n {\n to: '/calculators/auto/refinance-auto',\n name: t('CalculatorPageAuto.sidebarLink4', {\n defaultValue: 'Should I refinance my car loan?',\n }),\n },\n ],\n },\n ]\n\n return data\n}\n\nexport { anchorLinkSections }\nexport default anchorLinkSections\n\nconst CrossSellTout = () => {\n const [t] = useTranslation()\n\n const richHeadline = {\n nodeType: 'document',\n data: {},\n content: [\n {\n nodeType: 'paragraph',\n content: [\n {\n nodeType: 'text',\n marks: [],\n value: t('CalculatorPageAuto.ctaHeadline', {\n defaultValue:\n \"You've crunched the numbers. Now see how we can help you with your auto loan.\",\n }),\n data: {},\n },\n ],\n data: {},\n },\n ],\n }\n\n return (\n \n )\n}\n\nexport { CrossSellTout }\n","import PropTypes from 'prop-types'\nimport { useTranslation } from 'react-i18next'\nimport { StaticTemplate } from '../../../templates/staticTemplate'\nimport { Layout } from '../../../components/layouts/layout'\nimport { PageMeta } from '../../../components/page-meta'\nimport { CalculatorSectionModule } from '../../../components/modules/CalculatorSectionModule'\nimport { AutoAffordCalculator } from '../../../components/calculators'\nimport { anchorLinkSections, CrossSellTout } from './constants'\nimport { usePages } from '../constants'\n\nconst AutoAffordPage = ({ pageContext, location }) => {\n const [t] = useTranslation()\n const { calculatorsPage, autoPage } = usePages()\n\n const pageData = [\n {\n sectionTitle: t('AutoAffordPage.subTitle', {\n defaultValue: 'What price car can I afford?',\n }),\n richBody: {\n nodeType: 'document',\n data: {},\n content: [\n {\n nodeType: 'paragraph',\n content: [\n {\n nodeType: 'text',\n marks: [],\n value: t('AutoAffordPage.textContent', {\n defaultValue:\n 'If you have an idea of how much you want to pay upfront and monthly for your next ride, this car payment calculator is for you. Fill in the blanks to get an idea of your budget for your car search.',\n }),\n data: {},\n },\n ],\n data: {},\n },\n ],\n },\n },\n ]\n\n return (\n \n {({ navMenus }) => (\n \n \n }\n anchorLinkSections={anchorLinkSections()}\n />\n \n \n )}\n \n )\n}\n\nAutoAffordPage.propTypes = {\n children: PropTypes.node,\n location: PropTypes.object,\n pageContext: PropTypes.object,\n}\n\nexport { AutoAffordPage }\nexport default AutoAffordPage\n","import { AutoAffordPage } from '../../../containers/calculators/auto/how-much-can-afford'\n\nexport default AutoAffordPage\n\n// This should work but doesn't in prod build\n// https://github.com/gatsbyjs/gatsby/issues/12384\n// import { default } from '../../../containers/calculators/auto/how-much-can-afford'\n"],"sourceRoot":""}