{"version":3,"sources":["webpack://elevations-credit-union/./src/containers/calculators/auto/constants.js","webpack://elevations-credit-union/./src/containers/calculators/auto/refinance-auto.js","webpack://elevations-credit-union/./src/pages/calculators/auto/refinance-auto.es-US.js"],"names":["anchorLinkSections","t","useTranslation","title","defaultValue","anchorLinks","to","name","CrossSellTout","richHeadline","nodeType","data","content","marks","value","buttonUrl","buttonCta","buttonAlt","AutoRefinancePage","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,yKCpEhBc,EAAoB,SAAC,GAA+B,IAA7BC,EAA4B,EAA5BA,YAAaC,EAAe,EAAfA,SACjCnB,GAAKC,SAAZ,GACA,GAAsCmB,SAA9BC,EAAR,EAAQA,gBAAiBC,EAAzB,EAAyBA,SAEnBC,EAAW,CACf,CACEC,aAAcxB,EAAE,6BAA8B,CAC5CG,aAAc,oCAEhBsB,SAAU,CACRhB,SAAU,WACVC,KAAM,GACNC,QAAS,CACP,CACEF,SAAU,YACVE,QAAS,CACP,CACEF,SAAU,OACVG,MAAO,GACPC,MAAOb,EAAE,gCAAiC,CACxCG,aACE,0NAEJO,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,8BAA+B,CACtCG,aAAc,8BAEhBwB,SAAS,sCAEX,SAAC,IAAD,CACEO,UAAWlC,EAAE,0BAA2B,CACtCG,aAAc,qBAEhBgC,SAAUZ,EACVa,YAAY,SAAC,KAAD,IACZrC,oBAAoBA,aAEtB,SAAC,KAAD,Y,wDCjEV,UAAekB,EAAf","file":"component---src-pages-calculators-auto-refinance-auto-es-us-js-01681402274e2c7ba1dc.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 { AutoRefinanceCalculator } from '../../../components/calculators'\nimport { anchorLinkSections, CrossSellTout } from './constants'\nimport { usePages } from '../constants'\n\nconst AutoRefinancePage = ({ pageContext, location }) => {\n const [t] = useTranslation()\n const { calculatorsPage, autoPage } = usePages()\n\n const pageData = [\n {\n sectionTitle: t('AutoRefinancePage.subTitle', {\n defaultValue: 'Should I refinance my car loan?',\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('AutoRefinancePage.textContent', {\n defaultValue:\n 'By keeping your loan term at what it is today, check out the savings you can achieve with a lower interest rate. Use our refinance calculator to see the impact of different interest rates on your monthly payments.',\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\nAutoRefinancePage.propTypes = {\n children: PropTypes.node,\n location: PropTypes.object,\n pageContext: PropTypes.object,\n}\n\nexport { AutoRefinancePage }\nexport default AutoRefinancePage\n","import { AutoRefinancePage } from '../../../containers/calculators/auto/refinance-auto'\n\nexport default AutoRefinancePage\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/refinance-auto'\n"],"sourceRoot":""}