PageSourceSearch

https://mundadafinserve.com/_next/static/chunks/8443.32d94147e49ad45f.js

js mundadafinserve.com collected 2026-10-02 01:39:02 UTC 14,632 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8443],{18399:(e,a,t)=>{t.d(a,{r:()=>x});var l=t(95155),r=t(53190),s=t(79142),o=t(90492),i=t(60399),n=t(57002),c=(0,r.gu)({chartName:"BarChart",GraphicalChild:s.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:o.W},{axisType:"yAxis",AxisComp:i.h}],formatAxisMap:n.pr}),u=t(57307),d=t(24164),m=t(63106);let p={investedAmount:{label:"Invested Amount",color:"var(--rv-chart-invested, var(--rv-primary))"},growth:{label:"Growth",color:"var(--rv-chart-growth, var(--rv-secondary))"}},v=e=>{let a=Number(e)||0,t=Math.abs(a);if(t>=1e7){let e=a/1e7;return"".concat(Number.isInteger(e)?e:e.toFixed(1).replace(/\.0$/,""),"Cr")}if(t>=1e5){let e=a/1e5;return"".concat(Number.isInteger(e)?e:e.toFixed(1).replace(/\.0$/,""),"L")}if(t>=1e3){let e=a/1e3;return"".concat(Number.isInteger(e)?e:e.toFixed(1).replace(/\.0$/,""),"K")}return a.toString()};function x(e){let{data:a,title:t,chartConfig1:r,stacked:n=!1}=e,x={investedAmount:{...(null==r?void 0:r.investedAmount)||p.investedAmount,color:"var(--rv-chart-invested, var(--rv-primary))"},growth:{...(null==r?void 0:r.growth)||p.growth,color:"var(--rv-chart-growth, var(--rv-secondary))"}};return(0,l.jsxs)(d.Zp,{className:"border border-[var(--rv-primary)] bg-[var(--rv-bg-surface)] text-[var(--rv-text)] shadow-md",children:[(0,l.jsx)(d.aR,{children:(0,l.jsxs)(d.ZB,{children:[t," Projected Value"]})}),(0,l.jsx)(d.Wu,{children:(0,l.jsx)(m.at,{config:x,className:"h-full w-full",children:(0,l.jsxs)(c,{data:a,height:200,barCategoryGap:"20%",barGap:4,margin:{top:0,right:0,bottom:0,left:10},children:[(0,l.jsx)(u.d,{vertical:!1,stroke:"var(--rv-border)"}),(0,l.jsx)(o.W,{dataKey:"year",tickLine:!1,tickMargin:10,axisLine:!1,minTickGap:30,tick:{fill:"var(--rv-text)",stroke:"var(--rv-text)",fontSize:12,fontWeight:500}}),(0,l.jsx)(i.h,{tick:{fill:"var(--rv-text)",stroke:"var(--rv-text)",fontSize:12,fontWeight:500},domain:[0,"dataMax * 1.1"],tickCount:8,tickFormatter:v}),(0,l.jsx)(m.II,{content:(0,l.jsx)(m.Nt,{hideLabel:!0})}),(0,l.jsx)(m._3,{content:(0,l.jsx)(m.Hm,{})}),(0,l.jsx)(s.y,{dataKey:"investedAmount",stackId:n?"a":void 0,fill:"var(--rv-chart-invested, var(--rv-primary))",radius:n?[0,0,4,4]:4}),(0,l.jsx)(s.y,{dataKey:"growth",stackId:n?"a":void 0,fill:"var(--rv-chart-growth, var(--rv-secondary))",radius:n?[4,4,0,0]:4})]})})})]})}},46469:(e,a,t)=>{t.d(a,{A:()=>d});var l=t(95155),r=t(88661),s=t.n(r);t(12115);var o=t(49498);let i=["","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],n=["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"],c=e=>0===e?"":e<20?i[e]:e<100?"".concat(n[Math.floor(e/10)]).concat(e%10?" ".concat(i[e%10]):""):"".concat(i[Math.floor(e/100)]," hundred").concat(e%100?" ".concat(c(e%100)):""),u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/₹|amount|investment|cost|expense|wealth|savings|emi|sip|lumpsum/i.test(e)},d=e=>{let{label:a,min:t,max:r,step:i,value:n,setValue:d,className:m}=e,p=e=>e||0===e?e.toLocaleString("en-IN"):"",v=e=>Math.min(Math.max(e,"number"==typeof t?t:0),"number"==typeof r?r:Number.MAX_SAFE_INTEGER),x="number"==typeof t?t:0,h=u(a)&&Number(n)<x,g=v(isNaN(n)?x:n),f=u(a)?(e=>{let a=Math.floor(Math.abs(Number(e)));if(!Number.isFinite(a))return"";if(0===a)return"zero";let t=[],l=Math.floor(a/1e7),r=Math.floor(a%1e7/1e5),s=Math.floor(a%1e5/1e3),o=a%1e3;return l&&t.push("".concat(c(l)," crore")),r&&t.push("".concat(c(r)," lakh")),s&&t.push("".concat(c(s)," thousand")),o&&t.push(c(o)),t.join(" ")})(n):"";return(0,l.jsxs)("div",{className:"jsx-dd67dc0c9c4b29ba "+((0,o.cn)("mt-5",m)||""),children:[(0,l.jsxs)("div",{className:"jsx-dd67dc0c9c4b29ba grid grid-cols-3 items-start gap-4 mb-2",children:[(0,l.jsx)("div",{className:"jsx-dd67dc0c9c4b29ba min-w-0 col-span-2",children:(0,l.jsx)("span",{className:"jsx-dd67dc0c9c4b29ba block text-[var(--rv-text)] font-medium",children:a})}),(0,l.jsx)("input",{type:"text",value:p(n),onChange:e=>{let a=parseFloat(e.target.value.replace(/,/g,"").replace(/[^\d.]/g,""));isNaN(a)?d(0):d(Math.min(Math.max(a,0),"number"==typeof r?r:Number.MAX_SAFE_INTEGER))},className:"jsx-dd67dc0c9c4b29ba font-semibold bg-[var(--rv-bg-page)] text-[var(--rv-text)] w-auto border border-[var(--rv-border-light)] px-2 py-2 rounded-lg text-right focus:outline-none focus:ring-1 focus:ring-[var(--rv-primary)] col-span-1"}),(0,l.jsx)("div",{className:"jsx-dd67dc0c9c4b29ba col-span-3 flex flex-col items-end",children:h?(0,l.jsxs)("p",{className:"jsx-dd67dc0c9c4b29ba text-xs leading-5 capitalize text-red-600 text-right",children:["Minimum amount to be ",p(x)]}):f?(0,l.jsx)("p",{className:"jsx-dd67dc0c9c4b29ba  text-xs capitalize leading-5 text-[var(--rv-text)] text-right",children:f}):null})]}),(0,l.jsx)("input",{type:"range",min:t,max:r,step:i,value:g,onChange:e=>d(v(parseFloat(e.target.value))),style:{"--progress":"".concat((g-t)/(r-t)*100,"%")},className:"jsx-dd67dc0c9c4b29ba customRange w-full"}),(0,l.jsx)(s(),{id:"dd67dc0c9c4b29ba",children:".customRange.jsx-dd67dc0c9c4b29ba{-webkit-appearance:none;height:6px;background:var(--rv-gray);border-radius:5px;background-image:linear-gradient(var(--rv-primary),var(--rv-primary));background-size:var(--progress)100%;background-repeat:no-repeat}.customRange.jsx-dd67dc0c9c4b29ba::-webkit-slider-thumb{-webkit-appearance:none;height:18px;width:18px;border-radius:50%;background:var(--rv-primary);cursor:pointer;box-shadow:0 0 2px 0 rgba(0,0,0,.5);transition:background.3s ease-in-out}.customRange.jsx-dd67dc0c9c4b29ba::-webkit-slider-runnable-track{-webkit-appearance:none;box-shadow:none;border:none;background:transparent}"})]})}},48443:(e,a,t)=>{t.r(a),t.d(a,{default:()=>d});
1var l=t(95155),r=t(12115),s=t(37065),o=t(18399),i=t(15330),n=t(73394),c=t(20063),u=t(46469);function d(){var e,a,t,d;let m=(0,c.useRouter)(),[p,v]=(0,r.useState)(1e4),[x,h]=(0,r.useState)(5),[g,f]=(0,r.useState)(5),[b,j]=(0,r.useState)(5),[y,N]=(0,r.useState)(null),[w,C]=(0,r.useState)([]);(0,r.useEffect)(()=>{(async()=>{try{let e=await i.A.get("".concat("https://shared.redvisionassets.com","/api/calculators/house-calculator?currentHouseCost=").concat(p,"&planHouseInYears=").concat(x,"&expectedReturn=").concat(g,"&inflationRate=").concat(b));if(200===e.status){let a=e.data,t=a.futureHouseCost,l=a.totalInvestment,r=a.lumpsumInvestment,s=a.sipInvestment,o=a.yearlyData;N({totalInvestment:l,futureValue:Math.round(t),lumpsumInvestment:Math.round(r),sipInvestment:Math.round(s)}),C(o)}}catch(e){console.log(e)}})()},[p,x,g,b]);let k=[{label:"Current Cost (₹)",min:1e6,max:1e9,step:1e3,value:p,setValue:v,unit:"₹"},{label:"After How Many Years Do You Wish To Plan Your Dream House",min:1,max:100,step:1,value:x,setValue:h},{label:"Rate of Return (%)",min:1,max:100,step:1,value:g,setValue:f,unit:"%"},{label:"Inflation Rate (%)",min:1,max:30,step:1,value:b,setValue:j,unit:"%"}];return(0,l.jsx)("div",{className:"",children:(0,l.jsx)("div",{className:"section main-section",children:(0,l.jsx)("div",{className:"max-w-screen-xl mx-auto p-2 md:p-0",children:(0,l.jsxs)("div",{className:" ",children:[(0,l.jsxs)("div",{className:"mb-5 flex flex-col md:flex-row justify-between",children:[(0,l.jsx)("div",{className:"",children:(0,l.jsx)("span",{className:"text-2xl md:text-3xl font-bold uppercase",children:"House Planning Calculator"})}),(0,l.jsxs)("div",{className:"flex flex-col md:flex-row justify-between gap-4",children:[(0,l.jsx)("span",{children:"Explore other calculators"}),(0,l.jsxs)("select",{className:"w-full border border-gray-500 rounded-lg p-2",onChange:e=>{let a=e.target.value;a&&m.push(a)},defaultValue:"",children:[(0,l.jsx)("option",{value:"",disabled:!0,children:"Select"}),n.Ix.map(e=>(0,l.jsx)("option",{value:e.route,children:e.title},e.title))]})]})]}),(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)("div",{className:"grid lg:grid-cols-2 grid-cols-1 gap-4 mb-4",children:[(0,l.jsx)("div",{className:"col-span-1 border border-gray-200 rounded-2xl bg-white p-0 md:p-5",children:(0,l.jsxs)("div",{className:"sip-calculator container mx-auto p-3 sticky top-0 z-10",children:[(0,l.jsx)("div",{className:"input-fields mt-5 mb-10",children:k.map((e,a)=>(0,l.jsx)(u.A,{label:e.label,min:e.min,max:e.max,step:e.step,value:e.value,setValue:e.setValue,unit:e.unit},a))}),y&&(0,l.jsxs)("div",{className:"mt-5",children:[(0,l.jsxs)("div",{className:"flex flex-col md:flex-row justify-between px-5 mb-3",children:[(0,l.jsx)("p",{children:"Current Cost of House"}),(0,l.jsxs)("p",{className:"font-bold text-lg",children:["₹",null==y||null==(e=y.totalInvestment)?void 0:e.toLocaleString("en-IN",{minimumFractionDigits:2,maximumFractionDigits:2})]})]}),(0,l.jsx)("hr",{className:"mb-3"}),(0,l.jsxs)("div",{className:"flex flex-col md:flex-row justify-between px-5 mb-3",children:[(0,l.jsx)("p",{children:"Future Cost of House"}),(0,l.jsxs)("p",{className:"font-bold text-lg",children:["₹",null==y||null==(a=y.futureValue)?void 0:a.toLocaleString("en-IN",{minimumFractionDigits:2,maximumFractionDigits:2})]})]}),(0,l.jsx)("hr",{className:"mb-3"}),(0,l.jsxs)("div",{className:"flex flex-col md:flex-row justify-between px-5 mb-3",children:[(0,l.jsx)("p",{children:"Planning Through SIP"}),(0,l.jsxs)("p",{className:"font-bold text-lg",children:["₹",null==y||null==(t=y.sipInvestment)?void 0:t.toLocaleString("en-IN",{minimumFractionDigits:2,maximumFractionDigits:2})]})]}),(0,l.jsx)("hr",{className:"mb-3"}),(0,l.jsxs)("div",{className:"flex flex-col md:flex-row justify-between px-5 mb-3",children:[(0,l.jsx)("p",{children:"Planning Through Lump Sum"}),(0,l.jsxs)("p",{className:"font-bold text-lg",children:["₹",null==y||null==(d=y.lumpsumInvestment)?void 0:d.toLocaleString("en-IN",{minimumFractionDigits:2,maximumFractionDigits:2})]})]}),(0,l.jsx)("hr",{})]})]})}),(0,l.jsxs)("div",{className:"col-span-1",children:[(0,l.jsx)(s.F,{piedata:y,title:"Current & Future Cost Of House Breakup",chartConfig:{invested:{label:"Current Cost of House",color:"var(--rv-primary)"},return:{label:"Future Cost of House",color:"var(--rv-secondary)"}}}),(0,l.jsx)("div",{className:"mt-4",children:(0,l.jsx)(o.r,{data:w,title:"House Planning",chartConfig:{investedAmount:{label:"Current Cost of House",color:"var(--rv-primary)"},growth:{label:"Future Cost of House",color:"var(--rv-secondary)"}}})})]})]})})})]})})})})}},73394:(e,a,t)=>{t.d(a,{Ix:()=>r,Wv:()=>l});let l=[{title:"SIP Calculator",route:"/tools/calculators/sip-calculator",image:"/api/uploads?section=calculator-icons&filename=1761975219214-sip-calc.svg",desc:"Estimate the potential value of regular monthly SIP investments over a chosen period."},{title:"Step Up SIP Calculator",route:"/tools/calculators/step-up-sip-calculator",image:"/api/uploads?section=calculator-icons&filename=1761975237951-stp-clc.svg",desc:"Estimate SIP growth when your investment amount increases gradually at regular intervals."},{title:"Lumpsum Calculator",route:"/tools/calculators/lumpsum-calculator",image:"/api/uploads?section=calculator-icons&filename=1761975247064-lumpsum-calc.svg",desc:"Estimate the potential value of a one-time investment over a selected period."},{title:"Crorepati Calculator",route:"/tools/calculators/crorepati-calculator",image:"/api/uploads?section=calculator-icons&filename=1761975261729-cororepati-clc.svg",desc:"Estimate the monthly investment required to work towards a ₹1 crore target."},{title:"SWP Calculator",route:"/tools/calculators/swp-calculator",image:"/api/uploads?section=calculator-icons&filename=1761975272714-swp-clc.svg",desc:"Estimate periodic withdrawals and the remaining investment value over a selected period."},{title:"STP Calculator",route:"/tools/calculators/stp-calculator",image:"/api/uploads?section=calculator-icons&filename=1761975284638-stp-clc.svg",desc:"Estimate systematic transfers between investment schemes over a chosen time period."},{title:"EMI Calculator",route:"/tools/calculators/emi-calculator",image:"/api/uploads?section=calculator-icons&filename=1761975298973-emi-clc.svg",desc:"Calculate estimated monthly loan instalments based on amount, interest rate, and tenure."},{title:"Tax Calculator",route:"/tools/calculators/tax-calculator",image:"/api/uploads?section=calculator-icons&filename=1761975383303-calculator-form.svg",desc:"Estimate your tax liability based on applicable income and tax-related inputs."}],r=[{title:"Retirement Planning Calculator",route:"/tools/calculators/retirement-planning-calculator",image:"/api/uploads?section=calculator-icons&filename=1761975395645-retire-clc.svg",desc:"Estimate the amount required to build a corpus for your retirement needs."},{title:"Delay Planning Calculator",route:"/tools/calculators/delay-planning-calculator",image:"/api/uploads?section=calculator-icons&filename=1761975431645-delay-clc.svg",desc:"Understand how delaying investments may affect the amount needed for your financial goal."},{title:"Life Insurance Calculator",route:"/tools/calculators/life-insurance-calculator",image:"/api/uploads?section=calculator-icons&filename=1761975564473-delay-clc.svg",desc:"Estimate the life cover required based on income, liabilities, and family needs."},{title:"Marriage Planning Calculator",route:"/tools/calculators/marriage-planning-calculator",image:"/api/uploads?section=calculator-icons&filename=1761975572637-marriage-clc.svg",desc:"Estimate the investment required to plan for future marriage-related expenses."},{title:"Education Planning Calculator",route:"/tools/calculators/education-
1planning-calculator",image:"/api/uploads?section=calculator-icons&filename=1761975578951-education-clc.svg",desc:"Estimate the amount required to fund your child’s future education expenses."},{title:"House Planning Calculator",route:"/tools/calculators/house-planning-calculator",image:"/api/uploads?section=calculator-icons&filename=1761975589197-house-clc.svg",desc:"Estimate how much you may need to invest towards purchasing a home."},{title:"Car Planning Calculator",route:"/tools/calculators/car-planning-calculator",image:"/api/uploads?section=calculator-icons&filename=1761975596261-car-clc.svg",desc:"Estimate the monthly investment required to plan for a future car purchase."},{title:"Vacation Planning Calculator",route:"/tools/calculators/vacation-planning-calculator",image:"/api/uploads?section=calculator-icons&filename=1761975606822-vacation-clc.svg",desc:"Estimate the investment needed to plan for your desired travel expenses."}]}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.