1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[10619,11619,83209,89238],{10619:(e,t,a)=>{a.r(t),a.d(t,{default:()=>E});var s=a(95155),n=a(12115),i=a(83209),l=a(97003),r=a(55850),o=a(87060),c=a(33789),d=a(25016),m=a(8198),u=a(42024),h=a(30814),x=a(96489),f=a(90007),p=a(40725),b=a(25276),y=a(74474),g=a(91761),v=a(95740),j=a(17666),w=a(78874),N=a(6132),k=a(61362),I=a(1524),A=a(20639),C=a(83457),S=a(6613),F=a(56154),M=a(52987),R=a(89559),T=a(71708);function E(){let[e,t]=(0,n.useState)(0),[a,E]=(0,n.useState)({}),[W,B]=(0,n.useState)(!1),[D,Y]=(0,n.useState)(0),[$,z]=(0,n.useState)(void 0),[L,H]=(0,n.useState)(null),[O,P]=(0,n.useState)(""),[Z,_]=(0,n.useState)({debt:0,savings:0,cashflow:0,mindset:0,habits:0}),[U,Q]=(0,n.useState)(!1),[q,J]=(0,n.useState)(!1),V=[{id:1,text:"How would you describe your current debt situation?",description:"Be honest! We're here to help, not to judge.",type:"multiple-choice",category:"debt",emoji:(0,s.jsx)(m.A,{className:"h-6 w-6 text-red-500"}),explanation:"Your debt situation is a key indicator of your financial health and affects how quickly you can achieve financial freedom.",options:[{value:1,label:"Drowning in debt. Send help! \uD83C\uDD98",description:"I'm barely making minimum payments and constantly stressed about money."},{value:2,label:"Treading water, but barely",description:"I make my payments, but I'm not making much progress on the principal."},{value:3,label:"Slowly swimming to shore",description:"I'm making progress, but it feels like a long journey ahead."},{value:4,label:"Almost at the beach!",description:"I can see the light at the end of the tunnel and have a solid plan."},{value:5,label:"What debt? I'm sunbathing! \uD83D\uDE0E",description:"I'm debt-free or very close to it."}]},{id:2,text:"How much of your monthly income goes toward debt payments?",type:"slider",category:"debt",min:0,max:100,step:5,emoji:(0,s.jsx)(u.A,{className:"h-6 w-6 text-purple-500"}),explanation:"Financial experts recommend keeping your debt-to-income ratio below 36%. Above 43% can make it difficult to qualify for new loans.",valueFormatter:e=>"".concat(e,"%")},{id:3,text:"Do you have a budget that you actually stick to?",type:"multiple-choice",category:"habits",emoji:(0,s.jsx)(h.A,{className:"h-6 w-6 text-blue-500"}),explanation:"A budget is like a fitness plan for your money. The more consistently you follow it, the better your financial health becomes.",options:[{value:1,label:"Budget? That's cute. I wing it!",icon:(0,s.jsx)(x.A,{className:"h-5 w-5 text-red-500"})},{value:2,label:"I have a vague idea of where my money goes",icon:(0,s.jsx)(f.A,{className:"h-5 w-5 text-yellow-500"})},{value:3,label:"I have a budget but cheat on it regularly",icon:(0,s.jsx)(f.A,{className:"h-5 w-5 text-yellow-500"})},{value:4,label:"My budget and I are in a committed relationship",icon:(0,s.jsx)(p.A,{className:"h-5 w-5 text-green-500"})},{value:5,label:"My budget game is STRONG! Every dollar has a job",icon:(0,s.jsx)(b.A,{className:"h-5 w-5 text-green-500"})}]},{id:4,text:"How's your emergency fund looking?",type:"multiple-choice",category:"savings",emoji:(0,s.jsx)(y.A,{className:"h-6 w-6 text-pink-500"}),explanation:"An emergency fund is your financial shock absorber. Without it, even small emergencies can derail your debt payoff journey.",options:[{value:1,label:"Emergency fund? My emergency plan is panic!",description:"I have less than $500 saved for emergencies."},{value:2,label:"I could handle a small crisis (like $1,000)",description:"I have about 1 month of expenses saved."},{value:3,label:"I've got a decent cushion (2-3 months)",description:"I'm working on building it up more."},{value:4,label:"Solid safety net (4-6 months of expenses)",description:"I sleep pretty well at night knowing this is in place."},{value:5,label:"Fort Knox level prepared (6+ months)",description:"My emergency fund is fully funded and ready for anything."}]},{id:5,text:"How much extra money could you put toward debt each month?",type:"slider",category:"cashflow",min:0,max:1e3,step:50,emoji:(0,s.jsx)(g.A,{className:"h-6 w-6 text-green-500"}),explanation:"Even small extra payments can dramatically reduce your debt payoff timeline. An extra $100/month can save years of payments on large debts.",valueFormatter:d.vv},{id:6,text:"When you get unexpected money (tax refund, gift, bonus), you usually:",type:"multiple-choice",category:"habits",emoji:(0,s.jsx)(v.A,{className:"h-6 w-6 text-yellow-500"}),explanation:"How you handle windfalls is a strong indicator of your financial priorities and discipline.",options:[{value:1,label:"TREAT YO'SELF!
1Life is short!",description:"It's already spent before it hits my account."},{value:2,label:"Spend most of it, save a little",description:"I deserve some fun money, but I'll be a little responsible too."},{value:3,label:"Split it 50/50 between fun and financial goals",description:"Balance is important to me."},{value:4,label:"Put most toward debt or savings, small treat",description:"I prioritize my financial goals but still reward myself a little."},{value:5,label:"Immediately throw it at debt or investments",description:"Financial freedom is my biggest treat!"}]},{id:7,text:"How would you rate your financial knowledge?",type:"multiple-choice",category:"mindset",emoji:(0,s.jsx)(j.A,{className:"h-6 w-6 text-amber-500"}),explanation:"Financial education is one of the highest-return investments you can make. The more you know, the better decisions you'll make.",options:[{value:1,label:"I avoid financial topics because they confuse me",icon:(0,s.jsx)(w.A,{className:"h-5 w-5 text-red-500"})},{value:2,label:"I know the basics but get lost in the details",icon:(0,s.jsx)(N.A,{className:"h-5 w-5 text-yellow-500"})},{value:3,label:"I'm comfortable with personal finance fundamentals",icon:(0,s.jsx)(k.A,{className:"h-5 w-5 text-green-500"})},{value:4,label:"I actively educate myself about money management",icon:(0,s.jsx)(k.A,{className:"h-5 w-5 text-green-500"})},{value:5,label:"Friends come to ME for financial advice",icon:(0,s.jsx)(k.A,{className:"h-5 w-5 text-green-500"})}]},{id:8,text:"How consistent are you with tracking your spending?",type:"multiple-choice",category:"habits",emoji:(0,s.jsx)(I.A,{className:"h-6 w-6 text-indigo-500"}),explanation:"You can't manage what you don't measure. Tracking spending is the foundation of financial control.",options:[{value:1,label:"I have no idea where my money goes",description:"It's like it has legs and runs away from me."},{value:2,label:"I check my accounts when I remember to",description:"Usually when I'm worried I've overspent."},{value:3,label:"I review my spending monthly",description:"I have a general system but it's not perfect."},{value:4,label:"I track most purchases and review weekly",description:"I'm pretty diligent about knowing where my money goes."},{value:5,label:"I track every dollar in real-time",description:"My tracking system is air-tight and up-to-date."}]},{id:9,text:"How motivated are you to become debt-free?",type:"slider",category:"mindset",min:1,max:10,step:1,emoji:(0,s.jsx)(A.A,{className:"h-6 w-6 text-orange-500"}),explanation:"Motivation is the fuel for your debt-free journey. The stronger your 'why,' the more likely you are to succeed.",valueFormatter:e=>e<=3?"".concat(e,"/10 - Meh, whatever"):e<=6?"".concat(e,"/10 - I'm interested"):e<=8?"".concat(e,"/10 - Pretty motivated!"):"".concat(e,"/10 - EXTREMELY motivated!")},{id:10,text:"What's your relationship with saving money?",type:"multiple-choice",category:"savings",emoji:(0,s.jsx)(C.A,{className:"h-6 w-6 text-red-500"}),explanation:"Your saving habits reveal a lot about your financial discipline and priorities.",options:[{value:1,label:"We're estranged - saving and I don't talk",description:"I spend everything I make (or more)."},{value:2,label:"We're casual acquaintances - I save if there's money left",description:"But there's rarely money left..."},{value:3,label:"We're friends - I save somewhat regularly",description:"But not as consistently as I should."},{value:4,label:"We're good friends - I save before I spend",description:"I pay myself first most of the time."},{value:5,label:"We're in a committed relationship - saving is automatic",description:"Saving is non-negotiable in my financial life."}]}],X=[{min:10,max:20,title:"Financial Freshman",description:"You're just starting your debt-free journey. The good news? There's nowhere to go but up, and we've got your back!",icon:(0,s.jsx)(A.A,{className:"h-8 w-8 text-blue-500"}),emoji:"\uD83C\uDF31",recommendations:["Start with a simple budget tracking your income and expenses","Build a small emergency fund of $1,000 before focusing on other goals","Learn about the debt snowball method to gain momentum","Cut one unnecessary expense and redirect that money to debt","Find an accountability partner who can cheer you on"],color:"bg-blue-500"},{min:21,max:30,title:"Money Apprentice",description:"You've got some basics down, but there's still plenty to learn about making your money work harder for you.",icon:(0,s.jsx)(I.A,{className:"h-8 w-8 text-yellow-500"}),emoji:"\uD83C\uDF3F",recommendations:["Increase your emergency fund to cover 3 months of expenses","Create a debt repayment plan using either the snowball or avalanche method","Automate your savings to remove temptation","Review and cancel unused subscriptions and memberships","Consider a side hustle to accelerate your debt payoff"],color:"bg-yellow-500"},{min:31,max:40,title:"Finance Journeyman",description:"You're making solid progress! You understand many financial concepts and are applying them in your life.",icon:(0,s.jsx)(h.A,{className:"h-8 w-8 text-green-500"}),emoji:"\uD83C\uDF33",recommendations:["Optimize your debt payoff strategy to save on interest","Consider balance transfers or consolidation if it will save money","Increase your debt payments by finding additional savings in your budget","Start thinking about investing once high-interest debt is paid off","Create specific financial goals with timelines and action plans"],color:"bg-green-500"},{min:41,max:50,title:"Money Master",description:"Impressive! You've developed sophisticated financial habits that will serve you well on your debt-free journey.",icon:(0,s.jsx)(S.A,{className:"h-8 w-8 text-purple-500"}),emoji:"\uD83C\uDFC6",celebration:!0,recommendations:["Maximize retirement contributions while paying down debt","Consider advanced strategies like debt consolidation or refinancing","Help others by sharing your financial knowledge","Plan for wealth building after becoming debt-free","Set ambitious but achievable financial freedom goals"],color:"bg-purple-500"}],G=e=>{let t=Object.entries(e).reduce((e,t)=>
1{let[a,s]=t;return e+s},0),a={debt:0,savings:0,cashflow:0,mindset:0,habits:0},s={debt:0,savings:0,cashflow:0,mindset:0,habits:0};V.forEach(t=>{let n=e[t.id];n&&(a[t.category]+=n,s[t.category]++)}),Object.keys(a).forEach(e=>{let t=s[e];t>0&&(a[e]=Math.round(a[e]/t*100)/100)}),_(a),Y(t),B(!0);let n=X.find(e=>t>=e.min&&t<=e.max);(null==n?void 0:n.celebration)&&(Q(!0),K())},K=()=>{(0,T.A)({particleCount:100,spread:70,origin:{y:.6}})},ee=V[e],et=e/V.length*100;return(0,n.useEffect)(()=>{W&&z(X.find(e=>D>=e.min&&D<=e.max))},[W,D]),(0,n.useEffect)(()=>{if(U){let e=setTimeout(()=>{Q(!1)},3e3);return()=>clearTimeout(e)}},[U]),(0,s.jsx)("div",{className:"max-w-2xl mx-auto mt-8",children:(0,s.jsxs)(i.Zp,{className:"w-full max-w-3xl mx-auto",children:[(0,s.jsx)(i.aR,{className:"bg-gradient-to-r from-blue-50 to-indigo-50 border-b",children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"p-2 bg-blue-100 rounded-full",children:(0,s.jsx)(F.A,{className:"h-6 w-6 text-blue-600"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)(i.ZB,{className:"text-2xl text-blue-800",children:"Debt Freedom Readiness Quiz"}),(0,s.jsx)(i.BT,{className:"text-blue-600",children:"Find out if you're ready to crush your debt and build a solid financial future"})]})]})}),(0,s.jsx)(i.Wu,{className:"pt-6",children:W?(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("div",{className:"text-center mb-6",children:[(0,s.jsx)("div",{className:"inline-flex p-3 rounded-full bg-blue-100 mb-4",children:(null==$?void 0:$.icon)||(0,s.jsx)(S.A,{className:"h-8 w-8 text-blue-600"})}),(0,s.jsxs)("h3",{className:"text-2xl font-bold text-gray-900 flex items-center justify-center gap-2",children:[null==$?void 0:$.title," ",(0,s.jsx)("span",{className:"text-3xl",children:null==$?void 0:$.emoji})]}),(0,s.jsx)("p",{className:"text-gray-600 mt-2",children:null==$?void 0:$.description}),(0,s.jsxs)("div",{className:"mt-6 mb-8",children:[(0,s.jsxs)("div",{className:"flex justify-between text-sm text-gray-500 mb-2",children:[(0,s.jsx)("span",{children:"Beginner"}),(0,s.jsx)("span",{children:"Expert"})]}),(0,s.jsx)("div",{className:"h-3 w-full bg-gray-200 rounded-full overflow-hidden",children:(0,s.jsx)("div",{className:"h-full ".concat((null==$?void 0:$.color)||"bg-blue-500"),style:{width:"".concat(D/50*100,"%")}})}),(0,s.jsx)("div",{className:"text-center mt-2",children:(0,s.jsxs)("span",{className:"font-semibold text-lg",children:[D," / 50"]})})]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-6",children:[(0,s.jsxs)(i.Zp,{children:[(0,s.jsx)(i.aR,{className:"pb-2",children:(0,s.jsx)(i.ZB,{className:"text-lg",children:"Your Strengths"})}),(0,s.jsx)(i.Wu,{children:(0,s.jsx)("div",{className:"space-y-3",children:Object.entries(Z).sort((e,t)=>{let[,a]=e,[,s]=t;return s-a}).slice(0,2).map(e=>{let[t,a]=e;return(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center",children:[(0,s.jsx)("span",{className:"capitalize text-sm font-medium",children:t}),(0,s.jsxs)("span",{className:"text-sm font-bold",children:[a.toFixed(1),"/5"]})]}),(0,s.jsx)(r.k,{value:a/5*100,className:"h-2"})]},t)})})})]}),(0,s.jsxs)(i.Zp,{children:[(0,s.jsx)(i.aR,{className:"pb-2",children:(0,s.jsx)(i.ZB,{className:"text-lg",children:"Areas to Improve"})}),(0,s.jsx)(i.Wu,{children:(0,s.jsx)("div",{className:"space-y-3",children:Object.entries(Z).sort((e,t)=>{let[,a]=e,[,s]=t;return a-s}).slice(0,2).map(e=>{let[t,a]=e;return(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center",children:[(0,s.jsx)("span",{className:"capitalize text-sm font-medium",children:t}),(0,s.jsxs)("span",{className:"text-sm font-bold",children:[a.toFixed(1),"/5"]})]}),(0,s.jsx)(r.k,{value:a/5*100,className:"h-2"})]},t)})})})]})]}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("h4",{className:"font-semibold text-gray-900",children:"Your Action Plan:"}),(0,s.jsx)("ul",{className:"space-y-2",children:null==$?void 0:$.recommendations.map((e,t)=>(0,s.jsxs)("li",{className:"flex gap-2",children:[(0,s.jsx)(M.A,{className:"h-5 w-5 text-blue-500 flex-shrink-0 mt-0.5"}),(0,s.jsx)("span",{children:e})]},t))})]}),(0,s.jsxs)("div",{className:"bg-blue-50 p-4 rounded-md mt-6",children:[(0,s.jsx)("h4",{className:"font-semibold text-blue-800 mb-2",children:"Next Steps on Your Debt-Free Journey:"}),(0,s.jsxs)("ul",{className:"space-y-2 text-blue-700",children:[(0,s.jsxs)("li",{className:"flex gap-2",children:[(0,s.jsx)(h.A,{className:"h-5 w-5 flex-shrink-0 mt-0.5"}),(0,s.jsx)("span",{children:"Use our Debt Snowball Calculator to create your personalized payoff plan"})]}),(0,s.jsxs)("li",{className:"flex gap-2",children:[(0,s.jsx)(y.A,{className:"h-5 w-5 flex-shrink-0 mt-0.5"}),(0,s.jsx)("span",{children:"Set up automatic transfers to build your emergency fund"})]}),(0,s.jsxs)("li",{className:"flex gap-2",children:[(0,s.jsx)(j.A,{className:"h-5 w-5 flex-shrink-0 mt-0.5"}),(0,s.jsx)("span",{children:"Subscribe to our newsletter for weekly financial tips and motivation"})]})]})]})]}):(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("div",{className:"mb-4",children:[(0,s.jsxs)("div",{className:"flex justify-between text-sm text-gray-500 mb-2",children:[(0,s.jsxs)("span",{children:["Question ",e+1," of ",V.length]}),(0,s.jsxs)("span",{children:[Math.round(et),"% Complete"]})]}),(0,s.jsx)(r.k,{value:et,className:"h-2"})]}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[ee.emoji,(0,s.jsx)("h3",{className:"text-xl font-semibold text-gray-800",children:ee.text})]}),ee.description&&(0,s.jsx)("p",{className:"text-sm text-gray-600",children:ee.description}),"multiple-choice"===ee.type&&ee.options&&(0,s.jsx)("div",{className:"grid gap-3",children:ee.options.map(n=>(0,s.jsx)(l.$,{variant:a[ee.id]===n.value?"default":"outline",className:"justify-start h-auto py-3 px-4 text-left",onClick:()=>((s,n)=>{let i={...a,[s]:n};E(i),e<V.length-1?(t(e+1),H(null),P(""),J(!1)):G(i)}
1)(ee.id,n.value),children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"flex-shrink-0 w-6 h-6 rounded-full bg-blue-100 text-blue-600 flex items-center justify-center text-sm font-medium",children:n.value}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[n.icon&&(0,s.jsx)("span",{children:n.icon}),(0,s.jsx)("span",{children:n.label})]})]})},n.value))}),"slider"===ee.type&&(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("div",{className:"pt-4",children:[(0,s.jsx)(o.A,{min:ee.min||0,max:ee.max||100,step:ee.step||1,value:null!==L?[L]:[ee.min||0],onValueChange:e=>H(e[0]),className:"mb-6"}),(0,s.jsx)("div",{className:"text-center font-medium text-xl text-blue-600",children:ee.valueFormatter?ee.valueFormatter(L||0):L||0})]}),(0,s.jsx)(l.$,{onClick:()=>{if(null===L)return;let s=V[e],n=1;2===s.id?n=L<=15?5:L<=30?4:L<=45?3:L<=60?2:1:5===s.id?n=L>=500?5:L>=300?4:L>=150?3:L>=50?2:1:9===s.id&&(n=Math.ceil(L/2));let i={...a,[s.id]:n};E(i),e<V.length-1?(t(e+1),H(null),P(""),J(!1)):G(i)},className:"w-full",disabled:null===L,children:"Continue"})]}),"input"===ee.type&&(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)(c.p,{value:O,onChange:e=>P(e.target.value),placeholder:"Type your answer here...",className:"w-full"}),(0,s.jsx)(l.$,{onClick:()=>{e<V.length-1&&(t(e+1),P(""))},className:"w-full",disabled:!O.trim(),children:"Continue"})]}),ee.explanation&&(0,s.jsxs)("div",{className:"mt-4",children:[(0,s.jsxs)(l.$,{variant:"ghost",size:"sm",className:"text-amber-600 hover:text-amber-700 hover:bg-amber-50 flex items-center gap-1",onClick:()=>J(!q),children:[(0,s.jsx)(j.A,{className:"h-4 w-4"}),(0,s.jsx)("span",{children:q?"Hide Tip":"Show Tip"})]}),q&&(0,s.jsx)("div",{className:"bg-amber-50 border-l-4 border-amber-400 p-4 rounded-r-md mt-2",children:(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)(j.A,{className:"h-5 w-5 text-amber-500 flex-shrink-0 mt-0.5"}),(0,s.jsx)("p",{className:"text-sm text-amber-800",children:ee.explanation})]})})]})]})]})}),(0,s.jsx)(i.wL,{className:"flex justify-between border-t pt-6",children:W?(0,s.jsxs)("div",{className:"w-full flex flex-col sm:flex-row gap-3",children:[(0,s.jsxs)(l.$,{onClick:()=>{t(0),E({}),B(!1),Y(0),H(null),P(""),_({debt:0,savings:0,cashflow:0,mindset:0,habits:0}),J(!1)},variant:"outline",className:"flex-1",children:[(0,s.jsx)(R.A,{className:"mr-2 h-4 w-4"}),"Retake Quiz"]}),(0,s.jsxs)(l.$,{className:"flex-1 bg-blue-600 hover:bg-blue-700",children:["Create Your Debt Payoff Plan",(0,s.jsx)(M.A,{className:"ml-2 h-4 w-4"})]})]}):(0,s.jsxs)("div",{className:"w-full flex justify-between",children:[(0,s.jsx)(l.$,{variant:"outline",onClick:()=>e>0&&t(e-1),disabled:0===e,children:"Previous"}),"multiple-choice"===ee.type&&(0,s.jsxs)("div",{className:"text-center text-sm text-gray-500",children:[Object.keys(a).length," of ",V.length," answered"]}),"multiple-choice"===ee.type&&(0,s.jsx)(l.$,{variant:"outline",onClick:()=>{e<V.length-1?(t(e+1),J(!1)):Object.keys(a).length===V.length&&G(a)},disabled:!a[ee.id],children:e===V.length-1?"See Results":"Next"})]})})]})})}},25016:(e,t,a)=>{a.d(t,{Ee:()=>r,QN:()=>u,Wc:()=>o,_j:()=>c,cn:()=>i,tg:()=>m,vv:()=>l});var s=a(2821),n=a(75889);function i(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,n.QP)((0,s.$)(t))}let l=e=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(e),r=e=>new Intl.NumberFormat("en-US",{style:"percent",minimumFractionDigits:1,maximumFractionDigits:1}).format(e/100);function o(e){return new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2}).format(e)}function c(e,t){return t/d(e)}function d(e){return({72:27.4,73:26.5,74:25.5,75:24.6,76:23.7,77:22.9,78:22,79:21.1,80:20.2,81:19.4,82:18.5,83:17.7,84:16.8,85:16,86:15.2,87:14.4,88:13.7,89:12.9,90:12.2,91:11.5,92:10.8,93:10.1,94:9.5,95:8.9,96:8.4,97:7.8,98:7.3,99:6.8,100:6.4,101:6,102:5.6,103:5.2,104:4.9,105:4.6,106:4.3,107:4.1,108:3.9,109:3.7,110:3.5,111:3.4,112:3.3,113:3.1,114:3,115:2.9,116:2.8,117:2.7,118:2.5,119:2.3,120:2})[Math.max(72,Math.min(120,e))]||2}function m(e,t,a,s){let n=[],i=t,l=e;for(let e=0;e<s;e++){if(l>=72){let e=i/d(l);n.push({age:l,rmd:e,balance:i}),i=Math.max(0,i*(1+a/100)-e)}else n.push({age:l,rmd:0,balance:i}),i*=1+a/100;l++}return n}function u(e,t,a){return e<=0?0:"Credit Card"===a?Math.max(.02*e+t/100/12*e,25):"Personal Loan"===a?Math.max(.02*e,50):"Student Loan"===a?Math.max(.01*e,50):"Auto Loan"===a?Math.max(.015*e,100):"Medical Debt"===a?Math.max(.01*e,25):Math.max(.02*e,25)}},33789:(e,t,a)=>{a.d(t,{p:()=>l});var s=a(95155),n=a(12115),i=a(25016);let l=n.forwardRef((e,t)=>
1{let{className:a,type:n,...l}=e;return(0,s.jsx)("input",{type:n,className:(0,i.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:t,...l})});l.displayName="Input"},55850:(e,t,a)=>{a.d(t,{k:()=>r});var s=a(95155),n=a(12115),i=a(9484),l=a(25016);let r=n.forwardRef((e,t)=>{let{className:a,value:n,...r}=e;return(0,s.jsx)(i.bL,{ref:t,className:(0,l.cn)("relative h-4 w-full overflow-hidden rounded-full bg-secondary",a),...r,children:(0,s.jsx)(i.C1,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:"translateX(-".concat(100-(n||0),"%)")}})})});r.displayName=i.bL.displayName},83209:(e,t,a)=>{a.d(t,{BT:()=>c,Wu:()=>d,ZB:()=>o,Zp:()=>l,aR:()=>r,wL:()=>m});var s=a(95155),n=a(12115),i=a(25016);let l=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,i.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",a),...n})});l.displayName="Card";let r=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",a),...n})});r.displayName="CardHeader";let o=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,i.cn)("text-2xl font-semibold leading-none tracking-tight",a),...n})});o.displayName="CardTitle";let c=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",a),...n})});c.displayName="CardDescription";let d=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,i.cn)("p-6 pt-0",a),...n})});d.displayName="CardContent";let m=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center p-6 pt-0",a),...n})});m.displayName="CardFooter"},87060:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(95155),n=a(12115),i=a(83026),l=a(25016);let r=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsxs)(i.bL,{ref:t,className:(0,l.cn)("relative flex w-full touch-none select-none items-center",a),...n,children:[(0,s.jsx)(i.CC,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:(0,s.jsx)(i.Q6,{className:"absolute h-full bg-primary"})}),(0,s.jsx)(i.zi,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]})});r.displayName=i.bL.displayName},97003:(e,t,a)=>{a.d(t,{$:()=>c,r:()=>o});var s=a(95155),n=a(12115),i=a(32467),l=a(83101),r=a(25016);let o=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,t)=>{let{className:a,variant:n,size:l,asChild:c=!1,...d}=e,m=c?i.Slot:"button";return(0,s.jsx)(m,{className:(0,r.cn)(o({variant:n,size:l,className:a})),ref:t,...d})});c.displayName="Button"}}]);
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.