"use strict";(globalThis.webpackChunkinfinity_hitab_client=globalThis.webpackChunkinfinity_hitab_client||[]).push([[9042],{79042:(t,e,a)=>{a.r(e),a.d(e,{useCalcHomeLoanStore:()=>n});const n=(0,a(10435).Q_)("calc-components-homeloan",{state:()=>({activeIndex:0,loanType:"1",step:1,businessFormData:{amount:100,years:30,rate:4.9},fundFormData:{amount:60,years:20,rate:3.25},groupFormData:{years:30,bus_amount:50,bus_rate:4.9,fund_amount:50,fund_rate:3.25}}),getters:{getSelectData(){switch(this.activeIndex){case 0:default:return this.businessFormData;case 1:return this.fundFormData;case 2:return this.groupFormData}},getActiveIndex(){return this.activeIndex}},actions:{changeActive(t){this.activeIndex=t},changeStep(t){this.step=t}}})}}]);