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CjFjC8G,EAAOC,QAAU,CACfzF,yBAtBgCG,KACvBA,GAAW,CAAC,KAAM,SAASV,SAASU,EAAQC,eAsBrDL,mBA3B0BI,KACjBA,GAAW,CAAC,KAAM,SAASV,SAASU,EAAQC,eA2BrDoB,sBApB4BA,CAACC,EAAeC,EAAOC,KACnD,IAAI+D,EAaJ,OAVEA,EADE/D,EACK,OAAOF,IACLC,EACF,QAAQD,IAER,SAASA,IAGbiE,EAAKC,SAAS,OACjBD,EAAO,GAAGA,MAELA,CAAI,E,qxBC1BN,IAEIE,EAAO,6BACPvZ,EAAa,mCACbwZ,EAAkB,wCAClBC,EAAsB,4CAGtBC,EAA0B,gDAG1BC,EAAoB,0CACpBC,EAAa,mCACbC,EAAsB,4CACtBC,EAAU,gCACVC,EAAgB,sCAChBC,EAAW,iCACXC,EAAiB,uCAIjBC,EAA6B,mDAC7BC,EAAa,mCAEbC,EAAwB,8CACxBC,EAAyB,+CACzBC,EAAY,kCACZC,EAAiB,uCACjBC,EAAkB,wCAClBC,EAAiB,uCACjBC,EAAc,oCACdC,EAAqB,2CAErBC,EAAU,gCACVC,EAAc,oCACdC,EAAa,mCACbC,EAAW,iCACXC,EAAa,mCACbC,EAAa,mCACbC,EAAW,iCACXC,EAAW,iCACXC,EAAY,iC","sources":["webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/CalculateButton/CalculateButton.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/CalculateButton/CalculateButton.module.scss","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/CurrencyPrefix/CurrencyPrefix.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/CurrencyPrefix/CurrencyPrefix.module.scss","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/InputContainer/InputContainer.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/InputContainer/InputContainer.module.scss","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/LICalc.validator.ts","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/utils/stepUtils.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/reducers/stepReducers.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/store/state/stepState.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/Footer/Footer.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/Header/Header.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/Header/Header.module.scss","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/MasterForm/MasterForm.module.scss","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/MasterForm/MasterForm.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/utils/LICalcFormUtils.ts","webpack://woodmenlife-ui/./src/images/missing-headshot-repcard.png","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/RepCard/RepCard.module.scss","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/RepCard/RepCard.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/Steps/ContactRep/ContactRep.module.scss","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/Steps/ContactRep/ContactRep.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/Steps/CurrentAssets/CurrentAssets.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/Steps/Debt/Debt.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/Steps/EducationExpenses/EducationExpenses.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/Steps/FinalExpenses/FinalExpenses.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/Steps/GettingStarted/GettingStarted.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/Steps/GettingStarted/GettingStarted.module.scss","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/Steps/LivingExpenses/LivingExpenses.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/Steps/Mortgage/Mortgage.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/components/Steps/Thankyou/Thankyou.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/store/constants/formFieldConstants.ts","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/store/constants/stepConstants.tsx","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/utils/stepperUtils.tsx","webpack://woodmenlife-ui/./src/constants/states.ts","webpack://woodmenlife-ui/./src/hooks/useRepSearch.ts","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/utils/inputMap.ts","webpack://woodmenlife-ui/./src/utils/mixpanelUtils.tsx","webpack://woodmenlife-ui/./src/utils/representative.utils.ts","webpack://woodmenlife-ui/./src/utils/validation.utils.ts","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/utils/utils.js","webpack://woodmenlife-ui/./src/utils/rep-utils.basic.js","webpack://woodmenlife-ui/./src/components/LifeInsuranceCalculatorV2/global.module.scss"],"sourcesContent":["import React from 'react';\r\n\r\nimport * as Styles from './CalculateButton.module.scss';\r\n\r\nexport default function CalculateButton(props: any) {\r\n const { onClick, type } = props;\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n}\r\n","// extracted by mini-css-extract-plugin\nexport var CalculateButton = \"CalculateButton-module--CalculateButton--90c5a\";","import * as React from 'react';\r\n\r\nimport * as Styles from './CurrencyPrefix.module.scss';\r\n\r\nexport default function CurrencyPrefix(props: any) {\r\n return (\r\n \r\n $\r\n \r\n );\r\n}\r\n","// extracted by mini-css-extract-plugin\nexport var CurrencyPrefix = \"CurrencyPrefix-module--CurrencyPrefix--61c75\";","import { Stack } from '@chakra-ui/react';\r\nimport React from 'react';\r\n\r\nimport * as Globals from '../../global.module.scss';\r\nimport * as Styles from './InputContainer.module.scss';\r\n\r\nexport default function InputContainer(props: any) {\r\n return (\r\n
\r\n \r\n {props.children}\r\n
\r\n \r\n );\r\n}\r\n","// extracted by mini-css-extract-plugin\nexport var InputContainer = \"InputContainer-module--InputContainer--0d35d\";\nexport var InputWrapper = \"InputContainer-module--InputWrapper--b46d3\";","import { FormikErrors } from 'formik';\r\n\r\nimport {\r\n isAvailableZipCode,\r\n isValidEmail,\r\n isValidPhoneNumber,\r\n isValidZipCode\r\n} from '../../utils/validation.utils';\r\nimport { MasterFormValues } from './Interface/types';\r\nimport utils from './utils/utils';\r\n\r\nconst LICalcValidator = async (\r\n values: MasterFormValues\r\n): Promise> => {\r\n const errors: FormikErrors = {};\r\n if (!values.firstName) {\r\n errors.firstName = 'Required';\r\n } else if (values.firstName.length > 50) {\r\n errors.firstName = 'Please enter no more than 50 characters';\r\n }\r\n\r\n if (!values.lastName) {\r\n errors.lastName = 'Required';\r\n } else if (values.lastName.length > 50) {\r\n errors.lastName = 'Please enter no more than 50 characters';\r\n }\r\n\r\n if (!values.age) {\r\n errors.age = 'Required';\r\n } else if (!utils.isNumeric(values.age)) {\r\n errors.age = 'Please provide a valid age';\r\n errors.gettingStarted = 'Please enter no more than 50 characters';\r\n }\r\n\r\n if (values.debt) {\r\n if (!utils.isNumeric(values.debt)) {\r\n errors.debt = 'Please provide a valid number for debt';\r\n }\r\n }\r\n\r\n if (values.mortgage) {\r\n if (!utils.isNumeric(values.mortgage)) {\r\n errors.mortgage = 'Please provide a valid number for mortgage';\r\n errors.gettingStarted = 'Please enter no more than 50 characters';\r\n }\r\n }\r\n\r\n if (values.monthlyLivingExpenses) {\r\n if (!utils.isNumeric(values.monthlyLivingExpenses)) {\r\n errors.monthlyLivingExpenses =\r\n 'Please provide a valid number for monthly living expenses';\r\n errors.livingExpenses =\r\n 'Please provide a valid number for monthly living expenses';\r\n }\r\n }\r\n\r\n if (values.yearsNeeded) {\r\n if (!utils.isNumeric(values.yearsNeeded)) {\r\n errors.yearsNeeded = 'Please provide a valid number for years needed';\r\n errors.livingExpenses = 'Please provide a valid number for years needed';\r\n }\r\n }\r\n\r\n if (values.currentAssets) {\r\n if (!utils.isNumeric(values.currentAssets)) {\r\n errors.currentAssets = 'Please provide a valid number for current assets';\r\n }\r\n }\r\n\r\n if (values.educationExpenses) {\r\n if (!utils.isNumeric(values.educationExpenses)) {\r\n errors.educationExpenses =\r\n 'Please provide a valid number for education expenses';\r\n }\r\n }\r\n\r\n if (values.debtAutoLoans) {\r\n if (!utils.isNumeric(values.debtAutoLoans)) {\r\n errors.debtAutoLoans = 'Please provide a valid amount.';\r\n }\r\n }\r\n\r\n if (values.debtCreditCards) {\r\n if (!utils.isNumeric(values.debtCreditCards)) {\r\n errors.debtCreditCards = 'Please provide a valid amount.';\r\n }\r\n }\r\n\r\n if (values.debtPersonalLoans) {\r\n if (!utils.isNumeric(values.debtPersonalLoans)) {\r\n errors.debtPersonalLoans = 'Please provide a valid amount.';\r\n }\r\n }\r\n\r\n if (values.debtOther) {\r\n if (!utils.isNumeric(values.debtOther)) {\r\n errors.debtOther = 'Please provide a valid amount.';\r\n }\r\n }\r\n if (values.currentAssetsLifeInsurance) {\r\n if (!utils.isNumeric(values.currentAssetsLifeInsurance)) {\r\n errors.currentAssetsLifeInsurance = 'Please provide a valid amount.';\r\n }\r\n }\r\n if (values.currentAssetsRetirement) {\r\n if (!utils.isNumeric(values.currentAssetsRetirement)) {\r\n errors.currentAssetsRetirement = 'Please provide a valid amount.';\r\n }\r\n }\r\n if (values.currentAssetsSavingsChecking) {\r\n if (!utils.isNumeric(values.currentAssetsSavingsChecking)) {\r\n errors.currentAssetsSavingsChecking = 'Please provide a valid amount.';\r\n }\r\n }\r\n if (values.currentAssetsStocksBonds) {\r\n if (!utils.isNumeric(values.currentAssetsStocksBonds)) {\r\n errors.currentAssetsStocksBonds = 'Please provide a valid amount.';\r\n }\r\n }\r\n if (values.currentAssetsAnnuities) {\r\n if (!utils.isNumeric(values.currentAssetsAnnuities)) {\r\n errors.currentAssetsAnnuities = 'Please provide a valid amount.';\r\n }\r\n }\r\n if (values.currentAssetsOther) {\r\n if (!utils.isNumeric(values.currentAssetsOther)) {\r\n errors.currentAssetsOther = 'Please provide a valid amount.';\r\n }\r\n }\r\n\r\n if (values['child-1']) {\r\n if (!utils.isNumeric(values['child-1'])) {\r\n errors['child-1'] = 'Please provide a valid amount.';\r\n }\r\n }\r\n if (values['child-2']) {\r\n if (!utils.isNumeric(values['child-2'])) {\r\n errors['child-2'] = 'Please provide a valid amount.';\r\n }\r\n }\r\n if (values['child-3']) {\r\n if (!utils.isNumeric(values['child-3'])) {\r\n errors['child-3'] = 'Please provide a valid amount.';\r\n }\r\n }\r\n if (values['child-4']) {\r\n if (!utils.isNumeric(values['child-4'])) {\r\n errors['child-4'] = 'Please provide a valid amount.';\r\n }\r\n }\r\n if (values['child-5']) {\r\n if (!utils.isNumeric(values['child-5'])) {\r\n errors['child-5'] = 'Please provide a valid amount.';\r\n }\r\n }\r\n if (values['child-6']) {\r\n if (!utils.isNumeric(values['child-6'])) {\r\n errors['child-6'] = 'Please provide a valid amount.';\r\n }\r\n }\r\n if (values['child-7']) {\r\n if (!utils.isNumeric(values['child-7'])) {\r\n errors['child-7'] = 'Please provide a valid amount.';\r\n }\r\n }\r\n if (values['child-8']) {\r\n if (!utils.isNumeric(values['child-8'])) {\r\n errors['child-8'] = 'Please provide a valid amount.';\r\n }\r\n }\r\n if (values['child-9']) {\r\n if (!utils.isNumeric(values['child-9'])) {\r\n errors['child-9'] = 'Please provide a valid amount.';\r\n }\r\n }\r\n if (values['child-10']) {\r\n if (!utils.isNumeric(values['child-10'])) {\r\n errors['child-10'] = 'Please provide a valid amount.';\r\n }\r\n }\r\n\r\n if (!values.zipCode) {\r\n errors.zipCode = 'Required';\r\n } else if (!isValidZipCode(values.zipCode)) {\r\n errors.zipCode = 'Please provide a valid 5-digit zip code';\r\n } else if ((await isAvailableZipCode(values.zipCode)) === false) {\r\n errors.zipCode =\r\n 'Life insurance and annuity products are currently not available in your state. If you are a current member in need of assistance, please contact our Customer Service team at 833-WOODMEN (833-966-3636).';\r\n }\r\n\r\n if (!values.gender) {\r\n errors.gender = 'Please provide gender.';\r\n }\r\n\r\n if (!values.phone) {\r\n errors.phone = 'Required';\r\n } else if (!isValidPhoneNumber(values.phone)) {\r\n errors.phone = 'Please provide a valid phone number';\r\n }\r\n\r\n if (values.email && !isValidEmail(values.email)) {\r\n errors.email = 'Please provide a valid email address';\r\n } else if (values.email.length > 150) {\r\n errors.email = 'Please enter no more than 150 characters';\r\n }\r\n\r\n return errors;\r\n};\r\n\r\nexport default LICalcValidator;\r\n","import React from 'react';\r\n\r\nimport {\r\n ContactRep,\r\n CurrentAssets,\r\n Debt,\r\n EducationExpenses,\r\n FinalExpenses,\r\n GettingStarted,\r\n LivingExpenses,\r\n Mortgage,\r\n Thankyou\r\n} from '../components/Steps/index';\r\nimport { STEP_NAMES } from '../store/constants/stepConstants';\r\nimport utils from './utils';\r\n\r\nexport const updateLivingExpenses = function (\r\n monthly: number,\r\n yearsNeeded: number\r\n) {\r\n let livingExpenses;\r\n if (\r\n !utils.isEmpty(monthly) &&\r\n utils.isNumeric(monthly) &&\r\n !utils.isEmpty(yearsNeeded) &&\r\n utils.isNumeric(yearsNeeded)\r\n ) {\r\n // FV = PV * (1 + CPI) ** YRS\r\n // FV = Future Value\r\n // PV = Present Value\r\n // CPI = Consumer Price Index\r\n // YRS = Number of Years\r\n\r\n let fv = 0;\r\n let pv = monthly * 12; // Calculate annual living expenses.\r\n let cpi = 0.029;\r\n let yrs = yearsNeeded;\r\n for (let i = 1; i <= yrs; i++) {\r\n fv += pv * (1 + cpi) ** i;\r\n }\r\n livingExpenses = Math.round(fv);\r\n } else {\r\n livingExpenses = 0;\r\n }\r\n return livingExpenses;\r\n};\r\n\r\nexport const displaySteps = function (\r\n steps: [{ name: string }],\r\n activeStep: number,\r\n totalIdx: number,\r\n onChange: (e: React.ChangeEvent) => void\r\n) {\r\n switch (steps[activeStep].name) {\r\n case STEP_NAMES.GETTING_STARTED:\r\n return ;\r\n case STEP_NAMES.FINAL_EXPENSES:\r\n return ;\r\n case STEP_NAMES.MORTGAGE:\r\n return ;\r\n case STEP_NAMES.DEBT:\r\n return ;\r\n case STEP_NAMES.EDUCATION_EXPENSES:\r\n return ;\r\n case STEP_NAMES.LIVING_EXPENSES:\r\n return ;\r\n case STEP_NAMES.CURRENT_ASSETS:\r\n return ;\r\n case STEP_NAMES.CONTACT_REP:\r\n return (\r\n \r\n );\r\n case STEP_NAMES.THANKYOU:\r\n return ;\r\n default:\r\n break;\r\n }\r\n};\r\n","import { STEP_NAMES } from '../store/constants/stepConstants';\r\nimport stepperUtils from '../utils/stepperUtils';\r\nimport { updateLivingExpenses } from '../utils/stepUtils';\r\nimport utils from '../utils/utils';\r\n\r\nexport enum ACTIONS {\r\n REMOVE_STEP = 'remove-step',\r\n ADD_STEP = 'add-step',\r\n ACTIVATE_STEP = 'activate-step',\r\n DEACTIVATE_STEP = 'deactivate-step',\r\n ADD_STEP_VISIBLE = 'add-step-visible',\r\n REMOVE_STEP_VISIBLE = 'remove-step-visible',\r\n ADD_STEP_VISITED = 'add-step-visited',\r\n REMOVE_STEP_VISITED = 'remove-step-visited',\r\n UPDATE_STEP_VALUE = 'update-step-value',\r\n UPDATE_TOTAL_NEED = 'update-total-need',\r\n UPDATE_LIVING_EXPENSES = 'update-living-expenses'\r\n}\r\n\r\nexport interface ActionTypes {\r\n type: ACTIONS;\r\n payload: {\r\n stepName?: string;\r\n fieldName?: string;\r\n value?: string;\r\n activeStep?: number | string;\r\n };\r\n}\r\n\r\nexport function stepReducer(steps: any, action: ActionTypes) {\r\n const { type, payload } = action;\r\n switch (type) {\r\n case ACTIONS.ADD_STEP:\r\n if (payload.stepName === STEP_NAMES.MORTGAGE) {\r\n steps.forEach((step: { name: string }, idx: number) => {\r\n if (idx === 2 && step.name !== STEP_NAMES.MORTGAGE) {\r\n steps.splice(idx, 0, {\r\n name: 'mortgage',\r\n heading: 'Mortgage',\r\n label: 'Morgage',\r\n active: false,\r\n enabled: true,\r\n visible: true,\r\n visited: false,\r\n valid: true,\r\n hasLine: true,\r\n showValue: true,\r\n details: false,\r\n value: '',\r\n fields: [],\r\n format: 'usd'\r\n });\r\n }\r\n });\r\n return steps;\r\n }\r\n if (payload.stepName === STEP_NAMES.EDUCATION_EXPENSES) {\r\n // living expenses exists do nothing\r\n let livingExists: boolean = false;\r\n let mortgageExists: boolean = false;\r\n let edExists: boolean = false;\r\n let insertIdx: number = 0;\r\n\r\n steps.forEach((step: { name: string }, idx: number) => {\r\n if (step.name === STEP_NAMES.EDUCATION_EXPENSES) {\r\n edExists = true;\r\n return step;\r\n }\r\n\r\n if (step.name === STEP_NAMES.MORTGAGE) {\r\n mortgageExists = true;\r\n }\r\n });\r\n\r\n if (edExists) {\r\n return steps;\r\n }\r\n\r\n if (mortgageExists) {\r\n insertIdx = 4;\r\n }\r\n\r\n if (!mortgageExists) {\r\n insertIdx = 3;\r\n }\r\n\r\n if (insertIdx) {\r\n steps.splice(insertIdx, 0, {\r\n name: 'educationExpenses',\r\n heading: 'Education Expenses',\r\n label: 'Education Expenses',\r\n description:\r\n 'When you pass away, life insurance could help your family members pay for college, university or trade school.',\r\n active: false,\r\n enabled: true,\r\n visible: true,\r\n visited: false,\r\n valid: true,\r\n hasLine: true,\r\n showValue: true,\r\n details: false,\r\n value: '',\r\n fields: [],\r\n format: 'usd'\r\n });\r\n return steps;\r\n }\r\n return steps;\r\n }\r\n if (payload.stepName === STEP_NAMES.LIVING_EXPENSES) {\r\n // living expenses exists do nothing\r\n let livingExists: boolean = false;\r\n let mortgageExists: boolean = false;\r\n let edExists: boolean = false;\r\n let insertIdx: number = 0;\r\n\r\n steps.forEach((step: { name: string }, idx: number) => {\r\n if (step.name === STEP_NAMES.LIVING_EXPENSES) {\r\n livingExists = true;\r\n return step;\r\n }\r\n\r\n if (step.name === STEP_NAMES.MORTGAGE) {\r\n mortgageExists = true;\r\n }\r\n\r\n if (step.name === STEP_NAMES.EDUCATION_EXPENSES) {\r\n edExists = true;\r\n }\r\n });\r\n\r\n if (livingExists) {\r\n return steps;\r\n }\r\n\r\n if (mortgageExists && !edExists) {\r\n insertIdx = 4;\r\n }\r\n\r\n if (!mortgageExists && edExists) {\r\n insertIdx = 4;\r\n }\r\n\r\n if (!mortgageExists && !edExists) {\r\n insertIdx = 3;\r\n }\r\n\r\n if (mortgageExists && edExists) {\r\n insertIdx = 5;\r\n }\r\n\r\n if (insertIdx) {\r\n steps.splice(insertIdx, 0, {\r\n name: 'livingExpenses',\r\n heading: 'Living Expenses',\r\n label: 'Living Expenses',\r\n description:\r\n 'Your loved ones may need help covering monthly expenses, as they will not have the income you currently bring into the household. Monthly living expenses include items like groceries, utilities, vehicle or transportation costs, clothing, and entertainment.',\r\n active: false,\r\n enabled: true,\r\n visible: true,\r\n visited: false,\r\n valid: true,\r\n hasLine: true,\r\n showValue: true,\r\n details: false,\r\n value: '',\r\n doNotList: false,\r\n fields: [\r\n {\r\n name: 'monthlyLivingExpenses',\r\n label: 'Monthly Living Expenses',\r\n valid: true,\r\n format: 'usd',\r\n type: 'text',\r\n value: '',\r\n doNotList: true,\r\n options: []\r\n },\r\n {\r\n name: 'yearsNeeded',\r\n label: 'Number Of Years Needed',\r\n valid: true,\r\n format: 'text',\r\n type: 'text',\r\n value: '',\r\n doNotList: true,\r\n options: []\r\n }\r\n ],\r\n format: 'usd'\r\n });\r\n return steps;\r\n }\r\n return steps;\r\n }\r\n case ACTIONS.REMOVE_STEP:\r\n return steps.filter(\r\n (step: { name: string }) => step.name !== payload.stepName\r\n );\r\n case ACTIONS.ACTIVATE_STEP:\r\n return steps.map((step: { name: string }) => {\r\n if (step.name === payload.stepName) {\r\n return { ...step, enabled: true, active: true };\r\n }\r\n return step;\r\n });\r\n case ACTIONS.DEACTIVATE_STEP:\r\n return steps.map((step: { name: string }) => {\r\n if (step.name === payload.stepName) {\r\n return { ...step, enabled: false, active: false };\r\n }\r\n return step;\r\n });\r\n case ACTIONS.ADD_STEP_VISIBLE:\r\n return steps.map((step: { name: string }) => {\r\n if (step.name === payload.stepName) {\r\n return { ...step, visible: true };\r\n }\r\n return step;\r\n });\r\n case ACTIONS.REMOVE_STEP_VISIBLE:\r\n return steps.map((step: { name: string }) => {\r\n if (step.name === payload.stepName) {\r\n return { ...step, visible: false };\r\n }\r\n return step;\r\n });\r\n case ACTIONS.ADD_STEP_VISITED:\r\n return steps.map((step: { name: string }) => {\r\n if (step.name === payload.stepName) {\r\n return { ...step, visited: true };\r\n }\r\n return step;\r\n });\r\n case ACTIONS.REMOVE_STEP_VISITED:\r\n return steps.map((step: { name: string }) => {\r\n if (step.name === payload.stepName) {\r\n return { ...step, visited: false };\r\n }\r\n return step;\r\n });\r\n case ACTIONS.UPDATE_STEP_VALUE:\r\n return steps.map((step: any, idx: number) => {\r\n if (step.name === payload.stepName && step.fields.length) {\r\n step.fields.map((field: any, idx: number) => {\r\n if (field.name === payload.fieldName) {\r\n field.value = payload.value;\r\n }\r\n return field;\r\n });\r\n if (step.name === STEP_NAMES.LIVING_EXPENSES) {\r\n let monthly;\r\n let yearsNeeded;\r\n step.fields.forEach((field: any, idx: number) => {\r\n if (field.name === 'monthlyLivingExpenses') {\r\n monthly = isNaN(parseInt(field.value))\r\n ? 0\r\n : parseInt(field.value);\r\n }\r\n if (field.name === 'yearsNeeded') {\r\n yearsNeeded = isNaN(parseInt(field.value))\r\n ? 0\r\n : parseInt(field.value);\r\n }\r\n });\r\n if (monthly && yearsNeeded) {\r\n step.value = updateLivingExpenses(monthly, yearsNeeded);\r\n } else {\r\n step.value = 0;\r\n }\r\n return step;\r\n }\r\n }\r\n if (step.name === payload.stepName && !step.fields.length) {\r\n step.value = payload.value;\r\n }\r\n return step;\r\n });\r\n case ACTIONS.UPDATE_TOTAL_NEED:\r\n let tempSum = 0;\r\n let totalIndex = steps.findIndex((step: any) => step.name === 'total');\r\n steps.forEach((step: any) => {\r\n if (\r\n !utils.isEmpty(step.value) &&\r\n utils.isNumeric(String(step.value).replace('$', '').replace(',', ''))\r\n ) {\r\n if (step.name === STEP_NAMES.CURRENT_ASSETS) {\r\n tempSum -= Number(\r\n String(step.value).replace('$', '').replace(',', '')\r\n );\r\n } else {\r\n tempSum += Number(\r\n String(step.value).replace('$', '').replace(',', '')\r\n );\r\n }\r\n } else {\r\n step.value = 0;\r\n tempSum += 0;\r\n }\r\n });\r\n if (tempSum < 0) {\r\n tempSum = 0;\r\n }\r\n steps[totalIndex].total = Math.round(tempSum);\r\n return steps;\r\n default:\r\n return steps;\r\n }\r\n}\r\n","export const stepState = [\r\n {\r\n name: 'Getting Started',\r\n label: 'Getting Started',\r\n heading: \"Let's get started on your customized estimate\",\r\n active: true,\r\n enabled: true,\r\n visible: true,\r\n visited: true,\r\n valid: true,\r\n hasLine: false,\r\n showValue: false,\r\n details: true,\r\n fields: [\r\n {\r\n name: 'age',\r\n label: 'Age',\r\n valid: true,\r\n required: true,\r\n format: 'text',\r\n type: 'input',\r\n value: '',\r\n doNotList: false\r\n },\r\n {\r\n name: 'gender',\r\n label: 'Gender',\r\n valid: true,\r\n format: 'text',\r\n type: 'select',\r\n value: '',\r\n doNotList: false,\r\n options: []\r\n },\r\n {\r\n name: 'maritalStatus',\r\n label: 'Marital Status',\r\n valid: true,\r\n format: 'text',\r\n type: 'select',\r\n value: '',\r\n doNotList: false,\r\n options: []\r\n },\r\n {\r\n name: 'numberOfChildren',\r\n label: 'Number of Children',\r\n valid: true,\r\n format: 'text',\r\n type: 'select',\r\n value: '',\r\n doNotList: {\r\n value: '0'\r\n },\r\n // doNotList: {\r\n // value: '0'\r\n // },\r\n options: []\r\n },\r\n {\r\n name: 'livingSituation',\r\n label: 'Home Ownership',\r\n valid: true,\r\n format: 'text',\r\n type: 'select',\r\n value: '',\r\n doNotList: false,\r\n options: []\r\n },\r\n {\r\n name: 'state',\r\n label: 'State',\r\n valid: true,\r\n format: 'text',\r\n type: 'select',\r\n value: '',\r\n doNotList: false,\r\n options: []\r\n }\r\n ]\r\n },\r\n {\r\n name: 'finalExpenses',\r\n label: 'Final Expenses',\r\n heading: 'Final Expenses',\r\n description:\r\n 'The average funeral costs up to $10,000*. Life insurance can be used to pay for funeral services, but also items like medical bills and legal fees.',\r\n active: false,\r\n enabled: true,\r\n visible: true,\r\n visited: false,\r\n valid: true,\r\n hasLine: true,\r\n showValue: true,\r\n details: false,\r\n value: '',\r\n fields: [],\r\n format: 'usd'\r\n },\r\n {\r\n name: 'mortgage',\r\n heading: 'Mortgage',\r\n label: 'Mortgage',\r\n description:\r\n 'Enter the current outstanding principal balance on your mortgage.',\r\n active: false,\r\n enabled: true,\r\n visible: true,\r\n visited: false,\r\n valid: true,\r\n hasLine: true,\r\n showValue: true,\r\n details: false,\r\n value: '',\r\n fields: [],\r\n format: 'usd'\r\n },\r\n {\r\n name: 'debt',\r\n heading: 'Debt',\r\n label: 'Debt',\r\n description:\r\n 'When you pass away, your family will need to pay any debts, including credit cards and loans.',\r\n active: false,\r\n enabled: true,\r\n visible: true,\r\n visited: false,\r\n valid: true,\r\n hasLine: true,\r\n showValue: true,\r\n details: false,\r\n value: '',\r\n fields: [],\r\n format: 'usd'\r\n },\r\n {\r\n name: 'educationExpenses',\r\n heading: 'Education Expenses',\r\n label: 'Education Expenses',\r\n description:\r\n 'When you pass away, life insurance could help your family members pay for college, university or trade school.',\r\n active: false,\r\n enabled: true,\r\n visible: true,\r\n visited: false,\r\n valid: true,\r\n hasLine: true,\r\n showValue: true,\r\n details: false,\r\n value: '',\r\n fields: [],\r\n format: 'usd'\r\n },\r\n {\r\n name: 'livingExpenses',\r\n heading: 'Living Expenses',\r\n label: 'Living Expenses',\r\n description:\r\n 'Your loved ones may need help covering monthly expenses, as they will not have the income you currently bring into the household. Monthly living expenses include items like groceries, utilities, vehicle or transportation costs, clothing, and entertainment.',\r\n active: false,\r\n enabled: true,\r\n visible: true,\r\n visited: false,\r\n valid: true,\r\n hasLine: true,\r\n showValue: true,\r\n details: false,\r\n value: '',\r\n doNotList: false,\r\n fields: [\r\n {\r\n name: 'monthlyLivingExpenses',\r\n label: 'Monthly Living Expenses',\r\n valid: true,\r\n format: 'usd',\r\n type: 'text',\r\n value: '',\r\n doNotList: true,\r\n options: []\r\n },\r\n {\r\n name: 'yearsNeeded',\r\n label: 'Number Of Years Needed',\r\n valid: true,\r\n format: 'text',\r\n type: 'text',\r\n value: '',\r\n doNotList: true,\r\n options: []\r\n }\r\n ],\r\n format: 'usd'\r\n },\r\n {\r\n name: 'currentAssets',\r\n label: 'Current Assets',\r\n heading: 'Current Assets',\r\n active: false,\r\n enabled: true,\r\n visible: true,\r\n visited: false,\r\n valid: true,\r\n hasLine: true,\r\n showValue: true,\r\n details: false,\r\n value: '',\r\n fields: [],\r\n format: 'usd'\r\n },\r\n {\r\n name: 'contactRep',\r\n label: 'Contact a Representative',\r\n heading: \"Let's Talk\",\r\n active: false,\r\n enabled: true,\r\n visible: true,\r\n visited: false,\r\n valid: true,\r\n hasLine: true,\r\n showValue: false,\r\n details: true,\r\n value: '',\r\n doNotList: true,\r\n fields: [\r\n {\r\n name: 'firstName',\r\n label: 'First Name',\r\n valid: true,\r\n required: true,\r\n format: 'text',\r\n type: 'input',\r\n value: '',\r\n doNotList: false\r\n },\r\n {\r\n name: 'lastName',\r\n label: 'Last Name',\r\n valid: true,\r\n required: true,\r\n format: 'text',\r\n type: 'input',\r\n value: '',\r\n doNotList: false\r\n },\r\n {\r\n name: 'phone',\r\n label: 'Phone Number',\r\n valid: true,\r\n required: true,\r\n format: 'text',\r\n type: 'input',\r\n value: '',\r\n doNotList: false\r\n },\r\n {\r\n name: 'zipCode',\r\n label: 'ZIP Code',\r\n valid: true,\r\n required: true,\r\n format: 'text',\r\n type: 'input',\r\n value: '',\r\n doNotList: false\r\n },\r\n {\r\n name: 'email',\r\n label: 'Email Address',\r\n valid: true,\r\n required: true,\r\n format: 'text',\r\n type: 'input',\r\n value: '',\r\n doNotList: false\r\n }\r\n ]\r\n },\r\n {\r\n name: 'thankYou',\r\n active: false,\r\n visible: false,\r\n doNotList: true\r\n },\r\n {\r\n name: 'total',\r\n visible: false,\r\n total: '',\r\n doNotList: true\r\n }\r\n];\r\n","import React from 'react';\r\n\r\nimport * as Globals from '../../global.module.scss';\r\nimport * as Styles from './Footer.module.scss';\r\n\r\nexport default function Footer(props: any) {\r\n return (\r\n
\r\n
\r\n {!props.repData && (\r\n \r\n Have questions?{' '}\r\n \r\n Connect with a Rep.\r\n \r\n

\r\n )}\r\n
\r\n
\r\n \r\n \r\n Disclosures\r\n \r\n

\r\n *Rate based on 10-year term life insurance, 35-year-old\r\n Female, preferred status, nonsmoker.\r\n

\r\n \r\n All products may not be available in all states.\r\n \r\n

\r\n Form ICC16 8648 1-16 & Form 8648 1-16 (XX). Premiums are\r\n applicable during the 10-Year Level Term period only. Premiums are\r\n based on monthly PAC premium payments. Qualification for the premium\r\n shown is dependent upon underwriting and approval by WoodmenLife.\r\n Premiums for 10, 15, 20 or 30-year term are guaranteed not to\r\n increase during the initial policy term. Once the initial policy\r\n term ends, your premiums will increase on an annual basis until age\r\n 95. Any increase in premium will not increase the certificate\r\n benefits. These certificates have exceptions, limitations and\r\n restrictions. For cost and complete details in coverage, contact\r\n your WoodmenLife representative. Products are not available in New\r\n York and all products may not be available in all states.\r\n

\r\n

\r\n This is an estimate only and not an offer of insurance coverage.\r\n Please consult with your insurance professional to determine the\r\n amount of life insurance protection that may be appropriate for you.\r\n Information and interactive calculators are hypothetical and for\r\n illustrative use only. This analysis is based solely on the\r\n information you provide. This content is for general educational\r\n purposes only. It is not intended to provide fiduciary, tax, or\r\n legal advice.\r\n

\r\n \r\n Web 30 R-3/23\r\n

\r\n \r\n
\r\n
\r\n );\r\n}\r\n","import React from 'react';\r\n\r\nimport * as Styles from './Header.module.scss';\r\n\r\nexport default function Header(props: any) {\r\n return (\r\n
\r\n
\r\n

\r\n How Much Life Insurance Do I Need?\r\n

\r\n
\r\n
\r\n );\r\n}\r\n","// extracted by mini-css-extract-plugin\nexport var RightColumnHeader = \"Header-module--RightColumnHeader--8d257\";\nexport var RightColumnHeaderText = \"Header-module--RightColumnHeaderText--43656\";","// extracted by mini-css-extract-plugin\nexport var ButtonBlue = \"MasterForm-module--ButtonBlue--54a39\";\nexport var ButtonContainer = \"MasterForm-module--ButtonContainer--0e4e8\";\nexport var ButtonContainerFlex = \"MasterForm-module--ButtonContainerFlex--1870a\";\nexport var ButtonRed = \"MasterForm-module--ButtonRed--d46a1\";\nexport var ButtonTransparent = \"MasterForm-module--ButtonTransparent--01d49\";\nexport var CardShadow = \"MasterForm-module--CardShadow--fa5ee\";\nexport var HeadlineDivider = \"MasterForm-module--HeadlineDivider--52045\";\nexport var HeadlineDividerItem = \"MasterForm-module--HeadlineDividerItem--3ab43\";\nexport var HeadlineDividerItemLine = \"MasterForm-module--HeadlineDividerItemLine--cea6f\";\nexport var HeadlineDividerItemText = \"MasterForm-module--HeadlineDividerItemText--60ff1\";\nexport var InputWrapper = \"MasterForm-module--InputWrapper--b9d05\";\nexport var LeftColumn = \"MasterForm-module--LeftColumn--c5758\";\nexport var LeftColumnGray = \"MasterForm-module--LeftColumnGray--b9cdd\";\nexport var LeftColumnHeader = \"MasterForm-module--LeftColumnHeader--7be42\";\nexport var MasterForm = \"MasterForm-module--MasterForm--ac0cf\";\nexport var RightColumn = \"MasterForm-module--RightColumn--0f3c0\";\nexport var RightColumnContent = \"MasterForm-module--RightColumnContent--560af\";\nexport var RightColumnHasBorder = \"MasterForm-module--RightColumnHasBorder--471c3\";\nexport var StepDescription = \"MasterForm-module--StepDescription--dddc4\";\nexport var StepHeading = \"MasterForm-module--StepHeading--45533\";","import { Box } from '@chakra-ui/react';\r\nimport { Form, FormikProps, withFormik } from 'formik';\r\nimport { useMixpanel } from 'gatsby-plugin-mixpanel';\r\nimport React, { startTransition, Suspense, useReducer, useState } from 'react';\r\n\r\nimport { Gender, HomeStatus } from '../../../../apis';\r\nimport { ApiConfiguration, LifeInsuranceCalculatorApi } from '../../../../apis';\r\nimport { WLButton, WLText } from '../../../../design-library';\r\nimport { useRepSearch } from '../../../../hooks/useRepSearch';\r\nimport { trackMixpanel } from '../../../../utils/mixpanelUtils';\r\nimport { isZipValidationError } from '../../../../utils/validation.utils';\r\nimport * as Globals from '../../global.module.scss';\r\nimport { MasterFormValues } from '../../Interface/types';\r\nimport LICalcValidator from '../../LICalc.validator';\r\nimport { ACTIONS, stepReducer } from '../../reducers/stepReducers';\r\nimport { STEP_NAMES } from '../../store/constants/stepConstants';\r\nimport { stepState } from '../../store/state/stepState';\r\nimport { mapToCalculatorRequest } from '../../utils/LICalcFormUtils';\r\nimport stepperUtils from '../../utils/stepperUtils';\r\nimport { updateLivingExpenses } from '../../utils/stepUtils';\r\nimport Footer from '../Footer/Footer';\r\nimport Header from '../Header/Header';\r\nimport * as Styles from '../MasterForm/MasterForm.module.scss';\r\n\r\nconst Ad = React.lazy(() => import('../Ad/Ad'));\r\nconst Fader = React.lazy(() => import('../Fader/Fader'));\r\nconst ItemizeFlyout = React.lazy(\r\n () => import('../ItemizeFlyout/ItemizeFlyout'),\r\n);\r\nconst Stepper = React.lazy(() => import('../Stepper/Stepper'));\r\n\r\nconst ContactRep = React.lazy(() => import('../Steps/ContactRep/ContactRep'));\r\nconst CurrentAssets = React.lazy(\r\n () => import('../Steps/CurrentAssets/CurrentAssets'),\r\n);\r\nconst Debt = React.lazy(() => import('../Steps/Debt/Debt'));\r\nconst EducationExpenses = React.lazy(\r\n () => import('../Steps/EducationExpenses/EducationExpenses'),\r\n);\r\nconst FinalExpenses = React.lazy(\r\n () => import('../Steps/FinalExpenses/FinalExpenses'),\r\n);\r\nconst GettingStarted = React.lazy(\r\n () => import('../Steps/GettingStarted/GettingStarted'),\r\n);\r\nconst LivingExpenses = React.lazy(\r\n () => import('../Steps/LivingExpenses/LivingExpenses'),\r\n);\r\nconst Mortgage = React.lazy(() => import('../Steps/Mortgage/Mortgage'));\r\nconst Thankyou = React.lazy(() => import('../Steps/Thankyou/Thankyou'));\r\n\r\ninterface MasterFormProps {\r\n utmParameters: string | null;\r\n custom1: string | null;\r\n total: string | null;\r\n}\r\n\r\nconst MasterForm: React.FC> = ({\r\n values,\r\n touched,\r\n dirty,\r\n errors,\r\n handleChange,\r\n handleBlur,\r\n handleSubmit,\r\n isSubmitting,\r\n setFieldValue,\r\n setFieldTouched,\r\n validateField,\r\n setStatus,\r\n setFieldError,\r\n isValid,\r\n status,\r\n utmParameters,\r\n custom1,\r\n total,\r\n}) => {\r\n const mixpanel = useMixpanel();\r\n const [activeStep, setActiveStep] = useState(0);\r\n const [steps, dispatch] = useReducer(stepReducer, stepState);\r\n const [showItemizeFlyout, setshowItemizeFlyout] = useState(false);\r\n const [itemizeForm, setItemizeForm] = useState('');\r\n const [repLookupComplete, repData] = useRepSearch();\r\n\r\n React.useEffect(() => {\r\n setFieldValue('utmParameters', utmParameters);\r\n }, [utmParameters]);\r\n\r\n React.useEffect(() => {\r\n setFieldValue('custom1', repData?.producerId);\r\n }, [repData]);\r\n\r\n React.useEffect(() => {\r\n setFieldValue('total', steps[steps.length - 1].total);\r\n }, [steps[steps.length - 1].total]);\r\n\r\n React.useEffect(() => {\r\n if (status === 'success' && isSubmitting === false) {\r\n window.dataLayer.push({\r\n event: 'generate_lead_sales',\r\n status: 'success',\r\n formType: 'salesLeadGenForm',\r\n formLocation: 'Life Insurance Calculator',\r\n });\r\n\r\n mixpanel.track('Contact a Representative - Submit', {\r\n Clicked: true,\r\n });\r\n handleIncrementStep();\r\n }\r\n }, [status, isSubmitting]);\r\n\r\n React.useEffect(() => {\r\n let expenses = isNaN(parseInt(values.monthlyLivingExpenses))\r\n ? 0\r\n : parseInt(values.monthlyLivingExpenses);\r\n let yearsNeeded = isNaN(parseInt(values.yearsNeeded))\r\n ? 0\r\n : parseInt(values.yearsNeeded);\r\n if (\r\n parseInt(values.yearsNeeded) > 0 &&\r\n parseInt(values.monthlyLivingExpenses) > 0\r\n ) {\r\n setFieldValue(\r\n 'livingExpenses',\r\n updateLivingExpenses(expenses, yearsNeeded),\r\n );\r\n }\r\n }, [values.yearsNeeded, values.monthlyLivingExpenses]);\r\n\r\n React.useEffect(() => {\r\n if (\r\n values.livingSituation &&\r\n values.livingSituation.toLowerCase() === 'own'\r\n ) {\r\n dispatch({\r\n type: ACTIONS.ADD_STEP,\r\n payload: { stepName: STEP_NAMES.MORTGAGE },\r\n });\r\n } else if (\r\n values.livingSituation &&\r\n values.livingSituation.toLowerCase() === 'rent'\r\n ) {\r\n dispatch({\r\n type: ACTIONS.REMOVE_STEP,\r\n payload: { stepName: STEP_NAMES.MORTGAGE },\r\n });\r\n }\r\n\r\n dispatch({\r\n type: ACTIONS.UPDATE_TOTAL_NEED,\r\n payload: {\r\n stepName: STEP_NAMES.MORTGAGE,\r\n value: '',\r\n activeStep,\r\n },\r\n });\r\n setFieldValue('mortgage', '');\r\n }, [values.livingSituation]);\r\n\r\n React.useEffect(() => {\r\n if (parseInt(values.numberOfChildren) > 0) {\r\n // create child fields in formik state to be passed\r\n dispatch({\r\n type: ACTIONS.ADD_STEP,\r\n payload: { stepName: STEP_NAMES.EDUCATION_EXPENSES },\r\n });\r\n dispatch({\r\n type: ACTIONS.ADD_STEP,\r\n payload: { stepName: STEP_NAMES.LIVING_EXPENSES },\r\n });\r\n } else {\r\n dispatch({\r\n type: ACTIONS.REMOVE_STEP,\r\n payload: { stepName: STEP_NAMES.EDUCATION_EXPENSES },\r\n });\r\n if (\r\n values.maritalStatus.toLowerCase() === 'single' ||\r\n values.maritalStatus.toLowerCase() === 'unknown'\r\n ) {\r\n dispatch({\r\n type: ACTIONS.REMOVE_STEP,\r\n payload: { stepName: STEP_NAMES.LIVING_EXPENSES },\r\n });\r\n\r\n dispatch({\r\n type: ACTIONS.UPDATE_TOTAL_NEED,\r\n payload: {\r\n stepName: STEP_NAMES.LIVING_EXPENSES,\r\n value: '',\r\n activeStep,\r\n },\r\n });\r\n setFieldValue('monthlyLivingExpenses', '');\r\n setFieldValue('yearsNeeded', '');\r\n }\r\n }\r\n dispatch({\r\n type: ACTIONS.UPDATE_TOTAL_NEED,\r\n payload: {\r\n stepName: STEP_NAMES.EDUCATION_EXPENSES,\r\n value: '',\r\n activeStep,\r\n },\r\n });\r\n setFieldValue('educationExpenses', '');\r\n for (let i = 1; i <= parseInt(values.numberOfChildren); i++) {\r\n setFieldValue(`child-${i}`, '');\r\n }\r\n }, [values.numberOfChildren]);\r\n\r\n React.useEffect(() => {\r\n let children = isNaN(parseInt(values.numberOfChildren))\r\n ? 0\r\n : parseInt(values.numberOfChildren);\r\n if (\r\n (values.maritalStatus.toLowerCase() === 'single' ||\r\n values.maritalStatus.toLowerCase() === 'unknown') &&\r\n children === 0\r\n ) {\r\n dispatch({\r\n type: ACTIONS.REMOVE_STEP,\r\n payload: { stepName: STEP_NAMES.LIVING_EXPENSES },\r\n });\r\n\r\n dispatch({\r\n type: ACTIONS.UPDATE_TOTAL_NEED,\r\n payload: {\r\n stepName: STEP_NAMES.LIVING_EXPENSES,\r\n value: '',\r\n activeStep,\r\n },\r\n });\r\n setFieldValue('monthlyLivingExpenses', '');\r\n setFieldValue('yearsNeeded', '');\r\n } else if (\r\n values.maritalStatus.toLowerCase() === 'married' ||\r\n (values.maritalStatus.toLowerCase() === 'partner' && children === 0)\r\n ) {\r\n dispatch({\r\n type: ACTIONS.ADD_STEP,\r\n payload: { stepName: STEP_NAMES.LIVING_EXPENSES },\r\n });\r\n\r\n dispatch({\r\n type: ACTIONS.UPDATE_TOTAL_NEED,\r\n payload: {\r\n stepName: STEP_NAMES.LIVING_EXPENSES,\r\n value: '',\r\n activeStep,\r\n },\r\n });\r\n setFieldValue('livingExpenses', '');\r\n setFieldValue('yearsNeeded', '');\r\n }\r\n }, [values.maritalStatus, values.numberOfChildren]);\r\n\r\n const onBlur = (e: React.ChangeEvent, stepName: string) => {\r\n handleBlur(e);\r\n\r\n trackMixpanel(e, stepName, 'blur', mixpanel);\r\n };\r\n\r\n const onFocus = (\r\n e: React.ChangeEvent,\r\n stepName: string,\r\n ) => {\r\n handleBlur(e);\r\n\r\n trackMixpanel(e, stepName, 'focus', mixpanel);\r\n };\r\n\r\n const handleItemizeChange = (e: React.ChangeEvent) => {\r\n setFieldTouched(e.target.name);\r\n handleChange(e);\r\n };\r\n\r\n const handleAddChildren = (values: { [key: string]: any }) => {\r\n let childArray = [];\r\n for (let i = 1; i <= parseInt(values.numberOfChildren); i++) {\r\n childArray.push({ [`child-${i}`]: values[`child-${i}`] });\r\n }\r\n setFieldValue('children', childArray);\r\n };\r\n\r\n const onChange = (e: React.ChangeEvent) => {\r\n setFieldTouched(e.target.name);\r\n // call formik handle change\r\n handleChange(e);\r\n\r\n // call dispatch function or updating value in step state\r\n dispatch({\r\n type: ACTIONS.UPDATE_STEP_VALUE,\r\n payload: {\r\n stepName: steps[activeStep].name,\r\n fieldName: e.target.name,\r\n value: e.target.value,\r\n activeStep,\r\n },\r\n });\r\n dispatch({\r\n type: ACTIONS.UPDATE_TOTAL_NEED,\r\n payload: {\r\n stepName: steps[activeStep].name,\r\n fieldName: e.target.name,\r\n value: e.target.value,\r\n activeStep,\r\n },\r\n });\r\n };\r\n\r\n const handleStepOneValidation = () => {\r\n if (\r\n !values.age ||\r\n errors.age ||\r\n !values.gender ||\r\n errors.gender ||\r\n !values.livingSituation ||\r\n errors.livingSituation ||\r\n values.livingSituation.toLowerCase() === 'unknown' ||\r\n !values.maritalStatus ||\r\n errors.maritalStatus ||\r\n !values.state ||\r\n errors.state\r\n ) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n };\r\n\r\n const handleItemizeTotals = (\r\n stepName: string,\r\n fieldName: string,\r\n total: string,\r\n ) => {\r\n setFieldValue(fieldName, total, true);\r\n dispatch({\r\n type: ACTIONS.UPDATE_STEP_VALUE,\r\n payload: {\r\n stepName: stepName,\r\n value: total,\r\n activeStep,\r\n },\r\n });\r\n dispatch({\r\n type: ACTIONS.UPDATE_TOTAL_NEED,\r\n payload: {\r\n stepName: stepName,\r\n value: total,\r\n activeStep,\r\n },\r\n });\r\n handleCloseFlyout();\r\n };\r\n\r\n const handleFlyout = (showFlyout: boolean, form: string) => {\r\n setshowItemizeFlyout(() => showFlyout);\r\n setItemizeForm(() => form);\r\n };\r\n\r\n const handleCloseFlyout = (form?: string) => {\r\n if (form) {\r\n mixpanel.track(`${form} - Itemization Close`, {\r\n Clicked: true,\r\n });\r\n }\r\n setshowItemizeFlyout(false);\r\n if (window) {\r\n window.scrollTo({ top: 0, left: 0, behavior: 'smooth' });\r\n }\r\n };\r\n\r\n const handleIncrementStep = () => {\r\n mixpanel.track('Life Insurance Calculator - Next', {\r\n 'Current Step': steps[activeStep].name,\r\n 'Destination Step': steps[activeStep + 1].name,\r\n Clicked: true,\r\n });\r\n\r\n if (window) {\r\n window.scrollTo({ top: 0, left: 0, behavior: 'smooth' });\r\n }\r\n dispatch({\r\n type: ACTIONS.DEACTIVATE_STEP,\r\n payload: {\r\n stepName: steps[activeStep].name,\r\n },\r\n });\r\n dispatch({\r\n type: ACTIONS.ADD_STEP_VISITED,\r\n payload: {\r\n stepName: steps[activeStep].name,\r\n },\r\n });\r\n\r\n dispatch({\r\n type: ACTIONS.ACTIVATE_STEP,\r\n payload: {\r\n stepName: steps[activeStep + 1].name,\r\n },\r\n });\r\n startTransition(() => {\r\n setActiveStep((prevStep) => prevStep + 1);\r\n });\r\n };\r\n\r\n const handleDecrementStep = () => {\r\n mixpanel.track('Life Insurance Calculator - Previous', {\r\n 'Current Step': steps[activeStep].name,\r\n 'Destination Step': steps[activeStep - 1].name,\r\n Clicked: true,\r\n });\r\n\r\n if (window) {\r\n window.scrollTo({ top: 0, left: 0, behavior: 'smooth' });\r\n }\r\n dispatch({\r\n type: ACTIONS.DEACTIVATE_STEP,\r\n payload: {\r\n stepName: steps[activeStep].name,\r\n },\r\n });\r\n dispatch({\r\n type: ACTIONS.ADD_STEP_VISITED,\r\n payload: {\r\n stepName: steps[activeStep].name,\r\n },\r\n });\r\n\r\n dispatch({\r\n type: ACTIONS.ACTIVATE_STEP,\r\n payload: {\r\n stepName: steps[activeStep - 1].name,\r\n },\r\n });\r\n setActiveStep((prevStep) => prevStep - 1);\r\n };\r\n\r\n const handleStepClick = (e: any, idx: number) => {\r\n if (window) {\r\n window.scrollTo({ top: 0, left: 0, behavior: 'smooth' });\r\n }\r\n // close any open flyouts\r\n handleCloseFlyout();\r\n // deactivate previously active step\r\n dispatch({\r\n type: ACTIONS.DEACTIVATE_STEP,\r\n payload: {\r\n stepName: steps[activeStep].name,\r\n },\r\n });\r\n // set previous step to visited\r\n dispatch({\r\n type: ACTIONS.ADD_STEP_VISITED,\r\n payload: {\r\n stepName: steps[activeStep].name,\r\n },\r\n });\r\n // activate clicked step\r\n dispatch({\r\n type: ACTIONS.ACTIVATE_STEP,\r\n payload: {\r\n stepName: steps[idx].name,\r\n },\r\n });\r\n // set clicked step to the active step in state\r\n setActiveStep(() => {\r\n return idx;\r\n });\r\n };\r\n\r\n const displaySteps = (\r\n steps: [{ name: string }],\r\n activeStep: number,\r\n totalIdx: number,\r\n onChange: (e: React.ChangeEvent) => void,\r\n ) => {\r\n switch (steps[activeStep].name) {\r\n case STEP_NAMES.GETTING_STARTED:\r\n return (\r\n \r\n );\r\n\r\n case STEP_NAMES.FINAL_EXPENSES:\r\n return (\r\n \r\n );\r\n case STEP_NAMES.MORTGAGE:\r\n return (\r\n \r\n );\r\n case STEP_NAMES.DEBT:\r\n return (\r\n \r\n );\r\n case STEP_NAMES.EDUCATION_EXPENSES:\r\n return (\r\n \r\n );\r\n case STEP_NAMES.LIVING_EXPENSES:\r\n return (\r\n \r\n );\r\n case STEP_NAMES.CURRENT_ASSETS:\r\n return (\r\n \r\n );\r\n case STEP_NAMES.CONTACT_REP:\r\n return (\r\n \r\n );\r\n case STEP_NAMES.THANKYOU:\r\n return (\r\n \r\n );\r\n default:\r\n break;\r\n }\r\n };\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

\r\n Life Insurance Calculator\r\n

\r\n
\r\n
\r\n
\r\n {activeStep === 0 && }\r\n {activeStep > 0 && (\r\n \r\n \r\n \r\n )}\r\n
\r\n \r\n {activeStep !== 0 &&
}\r\n
\r\n \r\n }>\r\n \r\n }>\r\n {displaySteps(\r\n steps,\r\n activeStep,\r\n steps.length - 1,\r\n onChange,\r\n )}\r\n \r\n \r\n \r\n\r\n \r\n \r\n {handleStepOneValidation() ? (\r\n `Please complete all required fields above.`\r\n ) : (\r\n <>\r\n )}\r\n \r\n \r\n {activeStep === 0 && (\r\n \r\n Begin\r\n \r\n )}\r\n {activeStep >= 1 &&\r\n activeStep < stepperUtils.visibibleSteps(steps).length && (\r\n <>\r\n \r\n Previous\r\n \r\n \r\n Next\r\n \r\n \r\n )}\r\n {activeStep === stepperUtils.visibibleSteps(steps).length && (\r\n <>\r\n \r\n Previous\r\n \r\n \r\n Submit\r\n \r\n \r\n )}\r\n \r\n \r\n\r\n {steps[activeStep].name === STEP_NAMES.GETTING_STARTED ? (\r\n <>\r\n

\r\n How does this work?\r\n

\r\n \r\n
\r\n

\r\n We'll ask for some basic financial information to\r\n calculate an estimate of your life insurance need. You\r\n can use this number as a starting point, then discuss\r\n your life insurance options with{' '}\r\n {repData && repData.alias\r\n ? `your WoodmenLife Representative, ${repData.alias} ${repData.lastName}.`\r\n : repData\r\n ? `your WoodmenLife Representative, ${repData.firstName} ${repData.lastName}.`\r\n : `a WoodmenLife Representative.`}\r\n

\r\n
\r\n
\r\n

\r\n This is not an official application for life insurance.\r\n No medical information is needed at this time.\r\n

\r\n
\r\n \r\n \r\n ) : steps[activeStep].name === STEP_NAMES.CONTACT_REP ? (\r\n <>\r\n

\r\n This is a solicitation of insurance and an agent may contact\r\n you. By submitting the above request, I consent to receive\r\n phone calls from a licensed insurance producer on behalf of\r\n Woodmen of the World Life Insurance Society (WoodmenLife)\r\n and its affiliates at the phone number(s) above regarding\r\n WoodmenLife products and services. I understand that I can\r\n contact a Sales Representative directly to make a purchase.\r\n

\r\n \r\n ) : (\r\n ''\r\n )}\r\n \r\n \r\n \r\n \r\n