{"version":3,"sources":["webpack://elevations-credit-union/./src/containers/calculators/auto/constants.js","webpack://elevations-credit-union/./src/containers/calculators/auto/payments.js","webpack://elevations-credit-union/./src/pages/calculators/auto/index.en-US.js"],"names":["anchorLinkSections","t","useTranslation","title","defaultValue","anchorLinks","to","name","CrossSellTout","richHeadline","nodeType","data","content","marks","value","buttonUrl","buttonCta","buttonAlt","AutoPaymentsPage","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,EAAmB,SAAC,GAA+B,IAA7BC,EAA4B,EAA5BA,YAAaC,EAAe,EAAfA,SAChCnB,GAAKC,SAAZ,GACA,GAAsCmB,SAA9BC,EAAR,EAAQA,gBAAiBC,EAAzB,EAAyBA,SAEnBC,EAAW,CACf,CACEC,aAAcxB,EAAE,4BAA6B,CAC3CG,aAAc,kCAEhBsB,SAAU,CACRhB,SAAU,WACVC,KAAM,GACNC,QAAS,CACP,CACEF,SAAU,YACVE,QAAS,CACP,CACEF,SAAU,OACVG,MAAO,GACPC,MAAOb,EAAE,+BAAgC,CACvCG,aACE,qMAEJO,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,6BAA8B,CACrCG,aAAc,4BAEhBwB,SAAS,uBAEX,SAAC,IAAD,CACEO,UAAWlC,EAAE,yBAA0B,CACrCG,aAAc,qBAEhBgC,SAAUZ,EACVa,YAAY,SAAC,KAAD,IACZrC,oBAAoBA,aAEtB,SAAC,KAAD,Y,yDCjEV,UAAekB,EAAf","file":"component---src-pages-calculators-auto-index-en-us-js-a0509b17c8fdc0d73609.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 { AutoMonthlyPaymentCalculator } from '../../../components/calculators'\nimport { anchorLinkSections, CrossSellTout } from './constants'\nimport { usePages } from '../constants'\n\nconst AutoPaymentsPage = ({ pageContext, location }) => {\n const [t] = useTranslation()\n const { calculatorsPage, autoPage } = usePages()\n\n const pageData = [\n {\n sectionTitle: t('AutoPaymentsPage.subTitle', {\n defaultValue: 'What will my car payments be?',\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('AutoPaymentsPage.textContent', {\n defaultValue:\n 'Got your eye on a new car? A truck? Maybe a sensible sedan or a rocking off-roader? Complete the fields below with your best estimates to find out your monthly car payments and total interest.',\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\nAutoPaymentsPage.propTypes = {\n children: PropTypes.node,\n location: PropTypes.object,\n pageContext: PropTypes.object,\n}\n\nexport { AutoPaymentsPage }\nexport default AutoPaymentsPage\n","import { AutoPaymentsPage } from '../../../containers/calculators/auto/payments'\n\nexport default AutoPaymentsPage\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/payments'\n"],"sourceRoot":""}