PageSourceSearch

https://lygos.finance/_next/static/chunks/2168.5ada8ddb5ea96099.js

js lygos.finance collected 2026-10-05 08:04:09 UTC 36,601 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2168],{5287:(e,a,t)=>{t.d(a,{O:()=>r,v:()=>i});var s=t(12115),l=t(59557),n=t(2570);function i(e,a){let t=(0,s.useRef)(e);(0,s.useEffect)(()=>{t.current=e}),(0,s.useEffect)(()=>{let e=!1,s=()=>{(0,l.XF)().then(a=>{!e&&a&&t.current(a)})};if(s(),!a)return()=>{e=!0};let n=setInterval(s,a);return()=>{e=!0,clearInterval(n)}},[a])}function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.jV,a=arguments.length>1?arguments[1]:void 0,[t,l]=(0,s.useState)(e);return i(l,a),t}},32349:(e,a,t)=>{t.d(a,{A:()=>i});var s=t(95155),l=t(52987),n=t(91269);function i(e){let{prefix:a,analyticsSource:t,sub:i,secondaryHref:r,secondaryLabel:o}=e;return(0,s.jsxs)("div",{className:"".concat(a,"-cta"),children:[(0,s.jsxs)("div",{className:"tool-cta-stack",children:[(0,s.jsx)(n.default,{label:"Start Borrowing Now",analyticsSource:t,className:"group !h-auto gap-2 rounded-full border-0 px-7 py-3.5 text-[15px] font-semibold leading-none bg-[#00ACC1] hover:bg-[#00BED4] text-black shadow-none",children:(0,s.jsx)(l.A,{size:16})}),(0,s.jsx)("p",{className:"tool-cta-sub",children:i})]}),r&&o&&(0,s.jsxs)("a",{className:"".concat(a,"-btn-secondary"),href:r,children:[o,(0,s.jsx)(l.A,{size:16})]})]})}},45091:(e,a,t)=>{t.d(a,{A:()=>i});var s=t(95155),l=t(57775),n=t(93389);function i(e){let{model:a,onModelChange:t,linearPct:i,onLinearPctChange:r,currentPrice:o,yearsAhead:c,label:d="Bitcoin price model",slope:h,onSlopeChange:p}=e,x={model:a,linearPct:i,slope:h},u=(0,n.wi)(x,o,c),m=(0,n.Es)(x,o,c),g=Math.round(100*u),j=Math.max(0,Math.round(c));return(0,s.jsxs)("div",{children:[(0,s.jsx)(l.zM,{label:d,value:a,onChange:e=>t(e),options:[["powerlaw","Power law (decelerating)"],["linear","Linear (fixed %/yr)"]],tip:"Bitcoin's price has tracked a long-term power-law trend (Santostasi) for ~15 years; growth decelerates as the network matures."}),"linear"===a&&(0,s.jsx)(l.Kc,{label:"Annual growth",value:i,unit:"%/yr",min:0,max:50,step:1,onChange:r,lo:"0%",hi:"50%",editable:!0,tip:"Fixed compound annual BTC growth applied every year of the projection."}),"powerlaw"===a&&void 0!==h&&p&&(0,s.jsx)(l.Kc,{label:"Power Law slope",value:h.toFixed(1),min:4.5,max:6,step:.1,onChange:p,lo:"4.5",hi:"6.0",tip:"The power-law exponent. We default to a conservative 5.0; Santostasi's historical fit is ≈ 5.8. Higher = steeper long-term growth. Same knob as the Loan Calculator's advanced view."}),j>0&&o>0&&(0,s.jsxs)("p",{className:"lc-field-sub",style:{marginTop:"linear"===a?4:-6},children:["≈ ",g,"%/yr → ",function(e){let a=Math.abs(e),t=e<0?"-":"";return a>=1e9?t+"$"+(a/1e9).toFixed(1).replace(/\.0$/,"")+"B":a>=1e6?t+"$"+(a/1e6).toFixed(1).replace(/\.0$/,"")+"M":a>=1e3?t+"$"+Math.round(a/1e3)+"K":t+"$"+Math.round(a).toLocaleString()}(m),"/BTC by year ",j,"powerlaw"===a&&" (power-law slope, growth tapers over time)"]})]})}},45471:(e,a,t)=>{t.r(a),t.d(a,{default:()=>J});var s=t(95155),l=t(8967),n=t(94039),i=t(32349),r=t(12115),o=t(1524),c=t(29633),d=t(65993),h=t(23327),p=t(24033);let x=(0,t(71847).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);var u=t(92927),m=t(52987),g=t(26991),j=t(73850),b=t(68425),y=t(47734),v=t(73697),f=t(23508),w=t(77568),N=t(57775),A=t(53085),k=t(5287),M=t(51778),C=t(33772),S=t(93389);function B(e){let{btcAmount:a,costBasisPerBtc:t,currentBtcPrice:s,currentAge:l,lifeExpectancy:n,filing:i,stateCode:r,otherAssetsValue:o,growth:c,annualBorrowAmount:d}=e,h=Math.max(0,n-l),p=a,x=0,u=0,m=null,g=Math.max(1e-9,1e-9*a),j=[];for(let a=0;a<=h;a++){let n=l+a,h=(0,S.Es)(c,s,a);if(a>0&&p>0){var b;let a=null!=(b=e.taxableIncome)?b:2e5,s=(0,C.KH)({liquidityNeeded:d,currentBtcPrice:h,costBasisPerBtc:t,btcAmount:p,taxOnGain:e=>(0,C.iu)({taxableIncome:a,capitalGain:e,filing:i,stateCode:r,gainsType:"long-term"}).totalTax});u+=s.grossProceeds,p-=s.btcToSell,x+=s.tax,p<=g&&null===m&&(p=0,m=n)}let y=p*h,v=y+o;j.push({year:new Date().getFullYear()+a,age:n,btcRemaining:p,btcPrice:h,btcValue:y,cashFromS
1ales:u,cumulativeTaxPaid:x,netWorth:v})}let y=j[j.length-1].btcValue+o,v=Math.max(0,y-("married"===i?M.E8.exemptionMarried:M.E8.exemptionPerIndividual))*M.E8.topRate;return{totalTaxPaid:x,netInheritance:y-v,btcExhaustedAtAge:m,timeline:j}}let T=[{code:"AK",label:"Alaska",note:"Unlimited duration"},{code:"SD",label:"South Dakota",note:"Unlimited duration"},{code:"NV",label:"Nevada",note:"365 years"},{code:"WY",label:"Wyoming",note:"1,000 years"},{code:"DE",label:"Delaware",note:"Unlimited duration"},{code:"NH",label:"New Hampshire",note:"Unlimited duration"}];var E=t(45091),F=t(2771),P=t(9777),D=t(2570),I=t(36516),z=t(83393),$=t(96546),L=t(63908),W=t(1414),K=t(79079),O=t(71170);function _(e){let{onUnlock:a,onClose:t}=e;return(0,s.jsx)(O.A,{source:"estate-planner-advanced",headline:"What will your grandkids inherit?",subtitle:"You've seen the first generation. Unlock the multi-generational dynasty view — stepped-up basis at each transfer, estate tax impact, and how much your family keeps after 3 generations.",bullets:["Multi-generational dynasty projection","Stepped-up basis savings at each transfer","Estate tax impact across generations"],ctaLabel:"Show my dynasty plan",onUnlock:a,onClose:t})}var R=t(53619),U=t(83476);t(56630),t(52016);let H=D.HP.apr,G="#00FF88",Y="#FF6B6B",V=e=>{let a=Math.abs(e);return a>=1e9?(e<0?"-":"")+"$"+(a/1e9).toFixed(2).replace(/\.?0+$/,"")+"B":a>=1e6?(e<0?"-":"")+"$"+(a/1e6).toFixed(2).replace(/\.?0+$/,"")+"M":a>=1e3?(e<0?"-":"")+"$"+Math.round(a/1e3)+"K":(e<0?"-":"")+"$"+Math.round(a).toLocaleString()};function X(e){let{active:a,payload:t,label:l}=e;if(!a||!(null==t?void 0:t.length))return null;let n=e=>{var a,s;return null!=(s=null==(a=t.find(a=>a.dataKey===e))?void 0:a.value)?s:0};return(0,s.jsxs)("div",{style:{background:"#0c0c0c",border:"1px solid rgba(255,255,255,0.12)",borderRadius:10,padding:"8px 10px",fontSize:12},children:[(0,s.jsxs)("p",{style:{margin:0,color:"rgba(255,255,255,0.6)"},children:["Age ",l]}),(0,s.jsxs)("p",{style:{margin:"5px 0 0",color:G},children:["Borrow & hold ",(0,s.jsx)("b",{children:V(n("hold"))})]}),(0,s.jsxs)("p",{style:{margin:"2px 0 0",color:Y},children:["Sell ",(0,s.jsx)("b",{children:V(n("sell"))})]})]})}let q=[{id:"early",label:"Early holder",icon:o.A,color:"#00FF88",p:{btcAmount:10,costBasis:5e3,age:40,otherAssets:5e5}},{id:"mid",label:"Mid-career",icon:c.A,color:"#00D9FF",p:{btcAmount:5,costBasis:3e4,age:50,otherAssets:2e6}},{id:"whale",label:"Whale",icon:d.A,color:"#A78BFA",p:{btcAmount:50,costBasis:2e3,age:55,otherAssets:5e6}}];function J(){let e=(0,l.a)(),[a,t]=(0,r.useState)(10),[o,c]=(0,r.useState)(15e3),[d,D]=(0,r.useState)(15e4),[O,J]=(0,r.useState)(45),[Q,Z]=(0,r.useState)(85),[ee,ea]=(0,r.useState)(2e6),[et,es]=(0,r.useState)("CA"),[el,en]=(0,r.useState)("single"),[ei,er]=(0,r.useState)(2e5),[eo,ec]=(0,r.useState)("powerlaw"),[ed,eh]=(0,r.useState)(15),[ep,ex]=(0,r.useState)(S.Qt),[eu,em]=(0,r.useState)(1),eg=(0,k.O)(),{advOpen:ej,setAdvOpen:eb,unlocked:ey,setUnlocked:ev,showAdvanced:ef}=(0,I.j)(),[ew,eN]=(0,r.useState)("now"),[eA,ek]=(0,r.useState)(null),[eM,eC]=(0,r.useState)(null);(0,r.useEffect)(()=>{let e=new URLSearchParams(window.location.search),a=parseFloat(e.get("btc")||""),s=parseFloat(e.get("basis")||""),l=e.get("state"),n=e.get("filing"),i=parseFloat(e.get("income")||""),r=Number.isFinite(a)&&a>0,o=Number.isFinite(s)&&s>=0;if(r&&t(a),o&&c(s),l&&es(l.toUpperCase()),("single"===n||"married"===n||"trust"===n)&&en(n),Number.isFinite(i)&&i>0&&er(i),r||o||l){var d,h;eC({from:null!=(h=null==(d=(0,W.Fx)("/tools/".concat(e.get("from")||"")))?void 0:d.name)?h:null,btc:r?a:10,basis:o?s:15e3}),ek(null)}},[]);let eS=()=>ek(null),{markPreset:eB}=(0,z.K)("estate-planner",(0,r.useMemo)(()=>({btc_amount:a,cost_basis:o,annual_borrow:d,current_age:O,life_expectancy:Q,other_assets:ee,state:et,filing:el,income:ei,price_model:eo,linear_pct:ed,power_law_slope:ep,generations:eu}),[a,o,d,O,Q,ee,et,el,ei,eo,ed,ep,eu])),eT=(0,r.useMemo)(()=>({btcAmount:a,costBasisPerBtc:o,currentBtcPrice:eg,currentAge:O,lifeExpectancy:Q,filing:el,stateCode:et,otherAssetsValue:ee,growth:{model:eo,linearPct:ed,slope:ep},annualBorrowAmount:d,loanApr:H,taxableIncome:ei}),[a,o,eg,O,Q,el,et,ee,eo,ed,ep,d,ei]),eE=(0,r.useMemo)(()=>(function(e){var a;let{btcAmount:t,costBasisPerBtc:s,currentBtcPrice:l,currentAge:n,lifeExpectancy:i,filing:r,stateCode:o,otherAssetsValue:c,growth:d,annualBorrowAmount:h,loanApr:p}=e,x=Math.max(0,i-n),u=p/100,m=[],g=0,j=0;for(let e=0;e<=x;e++){let a=n+e,s=(0,S.Es)(d,l,e),i=t*s;if(e>0){let e=u/12;
1for(let a=0;a<12;a++)j+=g*e;g+=h}let r=i+c-g-j;m.push({year:new Date().getFullYear()+e,age:a,btcPrice:s,btcValue:i,cumulativeDebt:g,cumulativeInterest:j,netWorth:r})}let b=m[m.length-1],y=b.btcPrice,v=b.btcValue,f=v+c,w=t*Math.max(0,y-s),N=null!=(a=e.taxableIncome)?a:2e5,A=(0,C.iu)({taxableIncome:N,capitalGain:Math.max(0,w),filing:r,stateCode:o,gainsType:"long-term"}).totalTax,k="married"===r?M.E8.exemptionMarried:M.E8.exemptionPerIndividual,T=b.cumulativeInterest,E=b.cumulativeDebt,F=Math.max(0,Math.max(0,f-E-T)-k),P=F*M.E8.topRate,D=Math.max(0,f-E-T-P),I=B(e),z=D-I.netInheritance;return{timeline:m,projectedBtcPriceAtDeath:y,btcValueAtDeath:v,totalEstateValue:f,totalGainEliminated:w,capitalGainsTaxAvoided:A,estateExemption:k,taxableEstate:F,estateTaxOwed:P,totalBorrowed:h*x,totalInterestPaid:T,debtAtDeath:E,netInheritance:D,sellStrategyTaxPaid:I.totalTaxPaid,sellStrategyNetWorth:I.netInheritance,sellBtcExhaustedAtAge:I.btcExhaustedAtAge,bbdAdvantage:z}})(eT),[eT]),eF=(0,r.useMemo)(()=>B(eT),[eT]),eP=(0,r.useMemo)(()=>ef&&eu>1?function(e,a){let t=[],s=e.btcAmount,l=e.costBasisPerBtc,n=0;for(let r=1;r<=a;r++){var i;let a=1===r?e.currentAge:30,o=1===r?e.lifeExpectancy:85,c=Math.max(0,o-a),d=(0,S.Es)(e.growth,e.currentBtcPrice,n);n+=c;let h=(0,S.Es)(e.growth,e.currentBtcPrice,n),p=s*h+e.otherAssetsValue,x=s*Math.max(0,h-l),u=null!=(i=e.taxableIncome)?i:2e5,m=(0,C.iu)({taxableIncome:u,capitalGain:Math.max(0,x),filing:e.filing,stateCode:e.stateCode,gainsType:"long-term"}).totalTax,g=e.annualBorrowAmount*c,j=e.loanApr/100*e.annualBorrowAmount*(c*(c-1)/2),b=Math.max(0,Math.max(0,p-g-j)-("married"===e.filing?M.E8.exemptionMarried:M.E8.exemptionPerIndividual))*M.E8.topRate,y=Math.max(0,p-g-j-b);t.push({generation:r,startAge:a,deathAge:o,inheritedBtc:s,inheritedBasis:l,btcPriceAtInheritance:d,btcPriceAtDeath:h,estateValueAtDeath:p,gainEliminatedByStepUp:x,capitalGainsTaxAvoided:m,estateTaxOwed:b,debtAtDeath:g,netInheritance:y}),l=h}return t}(eT,eu):null,[ef,eT,eu]),eD=Math.max(1,Q-O),eI={btc:a,basis:o,state:et,filing:el,income:ei,country:"US"},ez=(0,r.useMemo)(()=>eE.timeline.map((e,a)=>{var t,s;return{age:e.age,hold:Math.max(0,e.netWorth),sell:Math.max(0,null!=(s=null==(t=eF.timeline[a])?void 0:t.netWorth)?s:0)}}),[eE,eF]),e$=(0,s.jsxs)("div",{className:"lc-card lc-chart-card",children:[(0,s.jsxs)("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between",gap:12,marginBottom:8},children:[(0,s.jsxs)("p",{style:{fontSize:12,fontWeight:600,letterSpacing:"0.08em",textTransform:"uppercase",color:"var(--text-secondary)",margin:0},children:["Net worth, age ",O,"–",Q]}),(0,s.jsxs)("span",{style:{fontSize:14,fontWeight:700,color:"#00D9FF",fontVariantNumeric:"tabular-nums"},children:["+",V(eE.bbdAdvantage)," to your heirs"]})]}),(0,s.jsx)(g.u,{width:"100%",height:230,children:(0,s.jsxs)(j.Q,{data:ez,margin:{top:8,right:6,bottom:0,left:6},children:[(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{id:"epHold",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,s.jsx)("stop",{offset:"0%",stopColor:G,stopOpacity:.22}),(0,s.jsx)("stop",{offset:"100%",stopColor:G,stopOpacity:.03})]})}),(0,s.jsx)(b.d,{stroke:"rgba(255,255,255,0.05)",vertical:!1}),(0,s.jsx)(y.W,{dataKey:"age",hide:!0}),(0,s.jsx)(v.h,{hide:!0,domain:[0,"dataMax"]}),(0,s.jsx)(f.m,{content:(0,s.jsx)(X,{}),cursor:{stroke:"rgba(255,255,255,0.2)"}}),(0,s.jsx)(w.G,{type:"monotone",dataKey:"hold",stroke:G,strokeWidth:2.5,fill:"url(#epHold)",isAnimationActive:!1}),(0,s.jsx)(w.G,{type:"monotone",dataKey:"sell",stroke:Y,strokeWidth:2,strokeDasharray:"5 4",fill:"transparent",isAnimationActive:!1})]})}),(0,s.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",marginTop:6,fontSize:11,color:"var(--text-muted)"},children:[(0,s.jsx)("span",{children:"now"}),(0,s.jsxs)("span",{children:["age ",Math.round((O+Q)/2)]}),(0,s.jsxs)("span",{children:["age ",Q]})]}),(0,s.jsxs)("div",{style:{display:"flex",gap:18,marginTop:12},children:[(0,s.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:7,fontSize:12.5,color:"var(--text-secondary)"},children:[(0,s.jsx)("i",{style:{width:11,height:11,borderRadius:3,background:G}}),"Borrow & hold (never sell)"]}),(0,s.jsxs)("span",{style:{display:"inline-flex",alignItems:"center",gap:7,fontSize:12.5,color:"var(--text-secondary)"},children:[(0,s.jsx)("i",{style:{width:11,height:3,background:Y}}),"Sell to fund the same lifestyle"]})]})]}),eL=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("p",{className:"ep-hero-cap",children:["Your heirs inherit",(0,s.jsx)(A.A,{text:"What your heirs receive at death under buy-borrow-die: your Bitcoin's value, minus loan debt, minus any estate tax. They inherit at a stepped-up basis, so the capital gain is erased."})]}),(0,s.jsx)("p",{className:"ep-hero-big",children:V(eE.netInheritance)}),(0,s.jsxs)("p",{className:"ep-hero-sub",children:["…and ",(0,s.jsxs)("b",{children:[V(eE.capitalGainsTaxAvoided)," in capital-gains tax erased"]})," at death — your heirs pay $0 on a lifetime of gains."]}),(0,s.jsxs)("div",{className:"ep-compare",children:[(0,s.jsxs)("div",{className:"ep-compare-col",children:[(0,s.jsx)("p",{className:"ep-compare-tag",style:{color:G},children:"Borrow & hold (die)"}),(0,s.jsx)("p",{className:"ep-compare-v",style:{color:G},children:V(eE.netInheritance)}),(0,s.jsx)("p",{className:"ep-compare-u",children:"heirs receive \xb7 $0 cap-gains tax"})]}),(0,s.jsxs)("div",{className:"ep-compare-col",children:[(0,s.jsx)("p",{className:"ep-compare-tag",style:{color:Y},children:"Sell yearly to fund the same lifestyle"}),(0,s.jsx)("p",{className:"ep-compare-v",style:{color:Y},children:V(eE.sellStrategyNetWorth)}),(0,s.jsxs)("p",{className:"ep-compare-u",children:["heirs get what's left \xb7 ",V(eE.sellStrategyTaxPaid)," tax paid over your lifetime"]}),null!==eE.sellBtcExhaustedAtAge&&(0,s.jsxs)("p",{className:"ep-compare-warn",children:["BTC fully sold by age ",eE.sellBtcExhaustedAtAge]})]})]}),(0,s.jsxs)("div",{className:"ep-infobox",children:[(0,s.jsx)(h.A,{size:16}),(0,s.jsxs)("span",{children:["Borrowing instead of selling leaves your heirs ",(0,s.jsxs)("b",{children:[V(eE.bbdAdvantage)," more"]})," — and the capital‑gains tax disappears entirely at death (stepped‑up basis)."]})]})]}),eW=(0,s.jsx)("div",{className:"lc-card ep-hero",children:eL}),eK=(0,s.jsxs)("div",{className:"lc-card lc-inputs-card",children:[(0,s.jsx)("h3",{className:"lc-card-label",children:"Your Bitcoin & you"}),(0,s.jsx)(n.A,{prefix:"ep",value:(0,N.xW)(Math.round(eg)),style:{marginBottom:18}}),(0,s.jsxs)("div",{className:"lc-field",children:[(0,s.jsx)("div",{className:"lc-field-top",children:(0,s.jsxs)("span",{className:"lc-field-label",children:["Bitcoin you hold",(0,s.jsx)(A.A,{text:"The Bitcoin you'll pass on. You borrow against it instead of selling, so it transfers to your heirs intact."})]})}),(0,s.jsxs)("div",{className:"lc-input-row",children:[(0,s.jsx)("span",{className:"lc-input-prefix",children:"₿"}),(0,s.jsx)(N.OA,{formatted:a.toFixed(2),ariaLabel:"Bitcoin you hold",onNumber:e=>{t(e),eS()}}),(0,s.jsx)("button",{className:"lc-step",onClick:()=>{t(Math.max(.1,+(a-.5).toFixed(2))),eS()},children:"–"}),(0,s.jsx)("button",{className:"lc-step",onClick:()=>{t(+(a+.5).toFixed(2)),eS()},children:"+"})]}),(0,s.jsxs)("p",{className:"lc-field-sub",children:["≈ ",(0,N.xW)(Math.round(a*eg))]})]}),(0,s.jsx)(N.oz,{label:"Cost basis / BTC",prefix:"$",value:Math.round(o),step:1e3,min:0,onChange:e=>{c(e),eS()},sub:"What you paid — the gain that gets erased at death."}),(0,s.jsx)(N.oz,{label:"Annual spending",prefix:"$",value:Math.round(d),step:1e4,min:0,onChange:D,sub:"What you borrow each year to live on, instead of selling."}),(0,s.jsx)(N.Kc,{label:"Your age",value:O,unit:"",min:18,max:90,step:1,onChange:e=>{J(e),eS()},lo:"18",hi:"90",tip:"Your age today — the start of the projection."}),(0,s.jsx)(N.Kc,{label:"Life expectancy",value:Q,unit:"",min:Math.max(O+1,60),max:110,step:1,onChange:Z,lo:"60",hi:"110",tip:"At death, your heirs inherit at a stepped-up basis — the whole capital gain is erased."}),(0,s.jsx)(E.A,{model:eo,onModelChange:ec,linearPct:ed,onLinearPctChange:eh,slope:ep,currentPrice:eg,yearsAhead:Q-O,label:"Bitcoin price model"})]}),eO=(0,s.jsxs)("div",{className:"lc-card",children:[(0,s.jsx)("h3",{className:"lc-card-label",children:"Fine-tune the plan"}),(0,s.jsx)(N.oz,{label:"Other (non-BTC) assets (optional)",prefix:"$",value:Math.round(ee),step:1e5,min:0,onChange:ea,sub:"Home, investments, etc. — counts toward your taxable estate."}
1),(0,s.jsx)(P.Ay,{region:et,onRegionChange:es,filing:el,onFilingChange:en,jurisdictionTip:"Drives the state share of the capital-gains tax your heirs avoid.",filingTip:"Sets your estate-tax exemption ($15M single / $30M married) and tax brackets."}),(0,s.jsx)(N.oz,{label:"Annual income",prefix:"$",value:Math.round(ei),step:1e4,min:0,onChange:er,sub:"Positions the erased gain in your tax brackets."}),"powerlaw"===eo&&(0,s.jsx)(N.Kc,{label:"Power Law slope",value:ep.toFixed(1),unit:"",min:4.5,max:6,step:.1,onChange:ex,lo:"4.5",hi:"6.0",tip:"The power-law exponent for the price model chosen above. We default to a conservative 5.0; Santostasi's historical fit is ≈ 5.8. Higher = steeper long-term growth."}),(0,s.jsx)("div",{style:{marginTop:22},children:(0,s.jsx)(N.zM,{label:"Generations",value:String(eu),onChange:e=>em(parseInt(e)),options:[["1","1 generation"],["2","2 generations"],["3","3 generations (dynasty)"]],tip:"Each generation inherits at a fresh stepped-up basis — the tax savings compound."})})]}),e_=(0,s.jsxs)("div",{className:"lc-card",children:[(0,s.jsxs)("h3",{className:"lc-card-label",children:["At death (age ",Q,")"]}),(0,s.jsxs)("div",{className:"ep-ledger",children:[(0,s.jsxs)("div",{className:"ep-ledger-row",children:[(0,s.jsx)("span",{children:"Projected BTC price"}),(0,s.jsx)("span",{children:V(eE.projectedBtcPriceAtDeath)})]}),(0,s.jsxs)("div",{className:"ep-ledger-row",children:[(0,s.jsxs)("span",{children:["Bitcoin value (",a.toFixed(2)," BTC)"]}),(0,s.jsx)("span",{children:V(eE.btcValueAtDeath)})]}),(0,s.jsxs)("div",{className:"ep-ledger-row",children:[(0,s.jsx)("span",{children:"Other assets"}),(0,s.jsx)("span",{children:V(ee)})]}),(0,s.jsxs)("div",{className:"ep-ledger-row total",children:[(0,s.jsx)("span",{children:"Total estate"}),(0,s.jsx)("span",{children:V(eE.totalEstateValue)})]}),(0,s.jsxs)("div",{className:"ep-ledger-row",children:[(0,s.jsx)("span",{children:"Total borrowed (principal) — repaid by estate"}),(0,s.jsxs)("span",{children:["−",V(eE.debtAtDeath)]})]}),(0,s.jsxs)("div",{className:"ep-ledger-row cost",children:[(0,s.jsx)("span",{children:"Interest paid over your life (a running cost paid monthly — not owed at death)"}),(0,s.jsx)("span",{children:V(eE.totalInterestPaid)})]}),(0,s.jsxs)("div",{className:"ep-ledger-row",children:[(0,s.jsx)("span",{children:"Estate tax owed"}),(0,s.jsxs)("span",{children:["−",V(eE.estateTaxOwed)]})]}),(0,s.jsx)("div",{className:"ep-ledger-div"}),(0,s.jsxs)("div",{className:"ep-ledger-row net",children:[(0,s.jsx)("span",{children:"Net to heirs"}),(0,s.jsx)("span",{children:V(eE.netInheritance)})]})]}),(0,s.jsxs)("p",{className:"ep-ledger-note",children:["Your estate repays the ",(0,s.jsx)("b",{children:V(eE.debtAtDeath)})," loan principal (interest was paid along the way), owes ",(0,s.jsx)("b",{children:V(eE.estateTaxOwed)})," estate tax, and your heirs inherit ",(0,s.jsx)("b",{children:V(eE.netInheritance)})," with the capital gain erased."]})]}),eR=(0,s.jsxs)("div",{className:"lc-card",children:[(0,s.jsx)("h3",{className:"lc-card-label",children:"How stepped-up basis works"}),(0,s.jsxs)("div",{className:"ep-steps",children:[(0,s.jsxs)("div",{className:"ep-step",children:[(0,s.jsx)("p",{className:"ep-step-l",children:"Your cost basis"}),(0,s.jsx)("p",{className:"ep-step-v",children:(0,N.xW)(Math.round(o))})]}),(0,s.jsx)(p.A,{className:"ep-step-arrow",size:18}),(0,s.jsxs)("div",{className:"ep-step",children:[(0,s.jsx)("p",{className:"ep-step-l",children:"Price at death"}),(0,s.jsx)("p",{className:"ep-step-v",children:V(eE.projectedBtcPriceAtDeath)})]}),(0,s.jsx)(p.A,{className:"ep-step-arrow",size:18}),(0,s.jsxs)("div",{className:"ep-step",children:[(0,s.jsx)("p",{className:"ep-step-l",children:"Heirs' new basis"}),(0,s.jsxs)("p",{className:"ep-step-v",style:{color:G},children:[(0,N.xW)(0)," gain"]})]})]}),(0,s.jsxs)("p",{className:"ep-cap",children:["At death your heirs' cost basis resets to the market price, so the entire lifetime gain — ",V(eE.totalGainEliminated)," — is wiped out. They could sell immediately and owe ",(0,s.jsx)("b",{style:{color:"#fff"},children:"$0"})," in capital-gains tax."]})]}),eU=eP&&(0,s.jsxs)("div",{className:"lc-card",children:[(0,s.jsx)("h3",{className:"lc-card-label",children:"Multi-generational transfer"}),eP.map(e=>(0,s.jsxs)("div",{className:"ep-gen",children:[(0,s.jsxs)("div",{className:"ep-gen-top",children:[(0,s.jsxs)("span",{className:"ep-gen-badge",children:[(0,s.jsx)(x,{size:12,style:{display:"inline",verticalAlign:"-1px",marginRight:4}}),"Gen ",e.generation," \xb7 age ",e.startAge,"–",e.deathAge]}),(0,s.jsx)("span",{className:"ep-gen-net",children:V(e.netInheritance)})]}),(0,s.jsxs)("div",{className:"ep-statgrid four",children:[(0,s.jsx)(N.Kk,{label:"Inherits at",value:V(e.btcPriceAtInheritance)}),(0,s.jsx)(N.Kk,{label:"BTC value at death",value:V(e.estateValueAtDeath)}),(0,s.jsx)(N.Kk,{label:"Gain erased",value:V(e.gainEliminatedByStepUp)}),(0,s.jsx)(N.Kk,{label:"Tax saved",value:V(e.capitalGainsTaxAvoided)})]})]},e.generation)),(0,s.jsxs)("p",{className:"ep-cap",children:["Each generation inherits at a fresh stepped-up basis, so the capital-gains tax never triggers. ",(0,s.jsx)("b",{style:{color:"#fff"},children:"Dynasty-trust states"})," (",T.map(e=>e.code).join(", "),") let this compound indefinitely with no rule against perpetuities."]})]}),eH=(0,s.jsxs)("div",{className:"lc-card",children:[(0,s.jsx)("h3",{className:"lc-card-label",children:"Estate-tax breakdown"}),(0,s.jsxs)("div",{className:"ep-statgrid four",children:[(0,s.jsx)(N.Kk,{label:"Exemption",value:V(eE.estateExemption)}),(0,s.jsx)(N.Kk,{label:"Taxable estate",value:V(eE.taxableEstate)}),(0,s.jsx)(N.Kk,{label:"Estate-tax rate",value:Math.round(100*F.E8.topRate)+"%"}),(0,s.jsx)(N.Kk,{label:"Annual gift exclusion",value:(0,N.xW)(F.E8.annualGiftExclusion)})]}),(0,s.jsxs)("p",{className:"ep-cap",children:["Estate tax (40%) applies only to the estate above the exemption. Under OBBBA the $15M ($30M married) exemption is permanent. Estate tax owed in your plan: ",(0,s.jsx)("b",{style:{color:"#fff"},children:V(eE.estateTaxOwed)}),"."]})]}),eG=(0,s.jsxs)(s.Fragment,{children:[e_,eR,eU,eH]}),eY=(0,s.jsxs)("div",{className:"ep-canvas",children:[(0,s.jsx)("div",{className:"lc-tabs",role:"tablist",children:[["now","Now"],["proj","Projection"],["plan","Plan"]].map(e=>{let[a,t]=e;return(0,s.jsx)("button",{role:"tab","aria-selected":ew===a,className:"lc-tab"+(ew===a?" on":""),onClick:()=>eN(a),children:t},a)})}
1),"now"===ew&&(0,s.jsx)("div",{className:"lc-tabpane",children:eW}),"proj"===ew&&(0,s.jsx)("div",{className:"lc-tabpane",children:e$}),"plan"===ew&&(0,s.jsxs)("div",{className:"lc-tabpane",children:[eO,eG]})]});return(0,s.jsx)("div",{className:"lc-root ep-root",children:(0,s.jsxs)("div",{className:"ep-wrap",children:[(0,s.jsx)($.A,{current:"estate-planner"}),(0,s.jsxs)("header",{className:"ep-head",children:[(0,s.jsxs)("div",{className:"ep-head-row",children:[(0,s.jsx)("div",{className:"ep-head-ic",children:(0,s.jsx)(u.A,{size:26})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"ep-h1",children:"Estate Planner"}),(0,s.jsx)("p",{className:"ep-eyebrow",children:"Buy \xb7 Borrow \xb7 Die"})]})]}),(0,s.jsx)("p",{className:"ep-sub",children:"Borrow against your Bitcoin instead of selling, and your heirs inherit it at a stepped-up basis — erasing a lifetime of capital-gains tax. See what they actually get."}),(0,s.jsxs)("span",{className:"ep-badge",children:[(0,s.jsx)("span",{className:"dot"}),"Borrowing modeled at ",(0,s.jsxs)("b",{children:[H,"% APR"]})," \xb7 ",eD,"-year projection"]}),(0,s.jsx)("div",{style:{marginTop:12},children:(0,s.jsx)("span",{style:{display:"inline-flex",alignItems:"center",gap:6,padding:"5px 12px",borderRadius:999,fontSize:12.5,fontWeight:700,color:"#34D8A0",border:"1px solid rgba(52,216,160,0.5)",background:"rgba(52,216,160,0.12)"},children:"\uD83C\uDDFA\uD83C\uDDF8 US residents only — models US federal estate tax"})})]}),eM&&(0,s.jsxs)("div",{className:"lc-handoff",role:"status",children:[(0,s.jsx)(m.A,{size:15,className:"lc-handoff-ic"}),(0,s.jsxs)("span",{children:[eM.from?(0,s.jsxs)(s.Fragment,{children:["Carried over from ",(0,s.jsx)("b",{children:eM.from})," — "]}):(0,s.jsx)(s.Fragment,{children:"Pre-filled — "}),"we started you with ",(0,s.jsxs)("b",{children:[eM.btc.toFixed(2)," BTC"]})," at a ",(0,s.jsx)("b",{children:(0,N.xW)(Math.round(eM.basis))}),"/BTC cost basis. Adjust anything below."]})]}),(0,s.jsxs)("div",{className:"ep-shortcuts",children:[(0,s.jsx)("p",{className:"ep-shortcuts-label",children:"Try a scenario"}),(0,s.jsx)("div",{className:"ep-shortcut-row",children:q.map(e=>{let a=e.icon;return(0,s.jsxs)("button",{className:"ep-shortcut"+(eA===e.id?" on":""),onClick:()=>{var a,s;return a=e.p,s=e.id,void(t(a.btcAmount),c(a.costBasis),J(a.age),ea(a.otherAssets),ek(s),eB(s))},children:[(0,s.jsx)(a,{size:15,style:{color:e.color}}),e.label]},e.id)})})]}),(0,s.jsxs)("div",{className:"ep-grid",children:[(0,s.jsxs)("div",{className:"ep-col",children:[eK,ef&&!e&&eO]}),(0,s.jsx)("div",{className:"ep-col",children:e&&ef?eY:(0,s.jsxs)(s.Fragment,{children:[eW,e$,ef&&!e&&eG]})})]}),ej&&!ey&&(0,s.jsx)(R.A,{className:"ep-band",gate:(0,s.jsx)(_,{onUnlock:()=>ev(!0),onClose:()=>eb(!1)}),children:eR}),ej?(0,s.jsx)(U.Z,{onClick:()=>eb(!1)}):(0,s.jsx)(U.z,{unlocked:ey,onOpen:()=>{eb(!0),eN("proj")},title:"See the full multi-generation dynasty plan",desc:"Stepped-up basis detail, your estate-tax breakdown, and the at-death ledger."}),(0,s.jsx)(i.A,{prefix:"ep",analyticsSource:"estate-planner",sub:"Your heirs inherit tax-free",secondaryHref:(0,K._)("/loan-calculator",eI,"estate-planner"),secondaryLabel:"Model your loan before you borrow"}),(0,s.jsxs)("p",{className:"ep-legal",children:[(0,s.jsx)(h.A,{size:12,style:{display:"inline",verticalAlign:"-1px",marginRight:4}}),"Illustrative, not tax, legal, or financial advice. US estate model (40% above a $15M/$30M exemption); borrowing at ",H,"% APR; Bitcoin price projected by the chosen model. Stepped-up basis and estate rules can change. Consult an estate attorney and tax professional."]}),(0,s.jsx)("div",{style:{marginTop:40},children:(0,s.jsx)(L.A,{current:"estate-planner",position:eI})})]})})}},50575:(e,a,t)=>{t.d(a,{A:()=>p});var s=t(95155),l=t(52619),n=t.n(l),i=t(35299),r=t(52987),o=t(39696),c=t(89843),d=t(83393);function h(e){let{accent:a}=e,{pending:t}=(0,l.useLinkStatus)();return t?(0,s.jsx)(i.A,{className:"h-4 w-4 shrink-0 animate-spin",style:{color:a}}):(0,s.jsx)(r.A,{className:"h-4 w-4 shrink-0 text-white/20 transition-all group-hover:translate-x-1 group-hover:text-white/50"})}function p(e){let{tool:a,accent:t,href:l}=e,i=a.icon;return(0,s.jsx)(n(),{href:null!=l?l:a.route,onClick:()=>(0,o.u4)(c.Jh.TOOL_NEXT_STEP_CLICKED,{[c.uR.FROM_TOOL]:(0,d.X)(),[c.uR.TO_TOOL]:a.id}),className:"group block min-w-0 rounded-2xl border border-white/[0.08] bg-white/[0.025] p-4 transition-all duration-200 hover:border-white/[0.16] hover:bg-white/[0.05] sm:p-5",children:(0,s.jsxs)("div",{className:"flex items-start gap-3 sm:gap-3.5",children:[(0,s.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl",style:{background:"color-mix(in srgb, ".concat(t," 13%, transparent)")},children:(0,s.jsx)(i,{className:"h-5 w-5",style:{color:t}})}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("h3",{className:"text-base font-semibold text-white",children:a.name}),a.popular&&(0,s.jsx)("span",{className:"rounded-full border px-1.5 py-px text-[9px] uppercase tracking-[0.06em]",style:{color:t,borderColor:t,o
1pacity:.9},children:"Popular"})]}),(0,s.jsx)("p",{className:"mt-1 line-clamp-1 text-[13.5px] leading-snug text-white/65 sm:mt-1.5 sm:line-clamp-none",children:a.blurb}),(a.tag||a.usOnly)&&(0,s.jsxs)("div",{className:"mt-2 flex flex-wrap items-center gap-1.5 sm:mt-2.5",children:[a.tag&&(0,s.jsx)("span",{className:"inline-block rounded-md px-2 py-0.5 text-[11px] font-semibold tabular-nums",style:{color:"color-mix(in srgb, ".concat(t," 80%, #fff)"),background:"color-mix(in srgb, ".concat(t," 12%, transparent)")},children:a.tag}),a.usOnly&&(0,s.jsx)("span",{className:"inline-flex items-center gap-1 rounded-md border px-2 py-0.5 text-[11px] font-semibold",style:{color:"#34D8A0",borderColor:"rgba(52,216,160,0.5)",background:"rgba(52,216,160,0.12)"},children:"\uD83C\uDDFA\uD83C\uDDF8 US residents only"})]})]}),(0,s.jsx)(h,{accent:t})]})})}},63908:(e,a,t)=>{t.d(a,{A:()=>d});var s=t(95155),l=t(52619),n=t.n(l),i=t(52987),r=t(1414),o=t(50575),c=t(79079);function d(e){let a,{current:t,show:l,count:d=3,position:h}=e,p=(0,r.JN)(t);if(l)a=l.map(e=>(0,r.JN)(e)).filter(e=>!!e);else if(0===(a=(0,r.lT)(t)).length&&p){let e=(0,r.X4)(p.cat).filter(e=>e.id!==t);a=[...e,...r.It.filter(e=>
1e.cat!==p.cat&&e.popular),...r.It.filter(e=>e.cat!==p.cat&&!e.popular)]}let x=a.filter(e=>e.id!==t).slice(0,d);return 0===x.length?null:(0,s.jsxs)("div",{className:"mt-10",children:[(0,s.jsxs)("div",{className:"mb-3.5 flex items-center gap-3",children:[(0,s.jsx)("span",{className:"text-[11px] uppercase tracking-[0.14em] text-white/30",children:"Popular next steps"}),(0,s.jsx)("div",{className:"h-px flex-1 bg-white/[0.06]"}),(0,s.jsxs)(n(),{href:"/tools",className:"flex items-center gap-1 text-xs text-white/45 hover:text-white/70 transition-colors",children:["All tools ",(0,s.jsx)(i.A,{className:"w-3 h-3"})]})]}),(0,s.jsx)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-3",children:x.map(e=>{var a,l;return(0,s.jsx)(o.A,{tool:e,accent:null!=(l=null==(a=(0,r.Hz)(e.cat))?void 0:a.accent)?l:"#00ACC1",href:h?(0,c._)(e.route,h,t):void 0},e.id)})})]})}},66630:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(71847).A)("SlidersHorizontal",[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]])},73850:(e,a,t)=>{t.d(a,{Q:()=>o});var s=t(30390),l=t(77568),n=t(47734),i=t(73697),r=t(36164),o=(0,s.gu)({chartName:"AreaChart",GraphicalChild:l.G,axisComponents:[{axisType:"xAxis",AxisComp:n.W},{axisType:"yAxis",AxisComp:i.h}],formatAxisMap:r.pr})},76324:(e,a,t)=>{t.d(a,{$x:()=>l,Ym:()=>n});let s=new Date("2009-01-03").getTime();function l(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5.8,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return 1e-17*Math.pow(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return(e.getTime()-s)/864e5}()+e,a)*Math.pow(2,.7*t)}function n(e,a){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:20;return e*Math.pow(1+t/100,a)}},93389:(e,a,t)=>{t.d(a,{Es:()=>n,Qt:()=>l,wi:()=>i});var s=t(76324);let l=5;function n(e,a,t){var n,i;if("linear"===e.model)return a*Math.pow(1+(null!=(n=e.linearPct)?n:0)/100,t);let r=null!=(i=e.slope)?i:l,o=(0,s.$x)(0,r),c=(0,s.$x)(365*t,r);return o>0?c/o*a:a}function i(e,a,t){return t<=0||a<=0?0:Math.pow(n(e,a,t)/a,1/t)-1}},94039:(e,a,t)=>{t.d(a,{A:()=>l});var s=t(95155);function l(e){let{prefix:a,value:t,style:l,flash:n=!1}=e;return(0,s.jsxs)("div",{className:"".concat(a,"-pricechip").concat(n?" flash":""),style:l,children:[(0,s.jsxs)("span",{className:"".concat(a,"-pricechip-l"),children:[(0,s.jsx)("span",{className:"".concat(a,"-pricechip-dot")}),"Live Bitcoin price"]}),(0,s.jsx)("span",{className:"".concat(a,"-pricechip-v"),children:t})]})}},95740:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(71847).A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},96546:(e,a,t)=>{t.d(a,{A:()=>h});var s=t(95155),l=t(12115),n=t(52619),i=t.n(n),r=t(27937),o=t(91456),c=t(24033),d=t(1414);function h(e){let{current:a}=e,t=(0,d.JN)(a);if(!t)return null;let l=(0,d.Hz)(t.cat);return(0,s.jsxs)("div",{className:"mb-6 flex flex-wrap items-center justify-between gap-3",children:[(0,s.jsxs)("nav",{"aria-label":"Breadcrumb",className:"flex items-center gap-2 text-[13px] text-white/45",children:[(0,s.jsx)(i(),{href:"/tools",className:"text-white/45 hover:text-white/70 transition-colors",children:"Tools"}),(0,s.jsx)(r.A,{className:"w-3.5 h-3.5 text-white/30"}),(0,s.jsx)(i(),{href:"/tools#cat-".concat(t.cat),className:"text-white/70 hover:text-white transition-colors",children:null==l?void 0:l.label}),(0,s.jsx)(r.A,{className:"w-3.5 h-3.5 text-white/30"}),(0,s.jsx)("span",{className:"text-white",children:t.name})]}),(0,s.jsx)(p,{current:a})]})}function p(e){let{current:a}=e,[t,n]=(0,l.useState)(!1),r=(0,l.useRef)(null),h=(0,l.useRef)(null);return(0,l.useEffect)(()=>
1{if(t)return document.addEventListener("mousedown",e),document.addEventListener("keydown",a),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",a)};function e(e){r.current&&!r.current.contains(e.target)&&n(!1)}function a(e){if("Escape"===e.key){var a;n(!1),null==(a=h.current)||a.focus()}}},[t]),(0,s.jsxs)("div",{ref:r,className:"relative",children:[(0,s.jsxs)("button",{ref:h,"aria-expanded":t,"aria-haspopup":"true",onClick:()=>n(e=>!e),className:"flex items-center gap-2 rounded-full px-3.5 py-2.5 text-[13px] font-medium text-white/70 border transition-colors ".concat(t?"bg-white/[0.07] border-white/[0.16]":"bg-white/[0.04] border-white/[0.08] hover:border-white/[0.16]"),children:[(0,s.jsx)(o.A,{className:"w-3.5 h-3.5 text-[#00ACC1]"}),"Switch tool",(0,s.jsx)(c.A,{className:"w-3.5 h-3.5 transition-transform duration-200 ".concat(t?"rotate-180":"")})]}),t&&(0,s.jsx)("div",{className:"absolute right-0 top-[calc(100%+8px)] z-[60] w-[min(300px,calc(100vw-2.5rem))]",children:(0,s.jsx)("div",{className:"no-scrollbar max-h-[380px] overflow-y-auto rounded-2xl border border-white/[0.14] p-2 shadow-2xl",style:{background:"rgba(12,12,12,0.97)",backdropFilter:"blur(20px)"},children:d.cF.map(e=>(0,s.jsxs)("div",{className:"mb-1.5",children:[(0,s.jsx)("p",{className:"px-2.5 py-1.5 text-[10px] font-bold uppercase tracking-[0.06em]",style:{color:e.accent},children:e.label}),(0,d.X4)(e.id).map(t=>{let l=t.icon,r=t.id===a;return(0,s.jsxs)(i(),{href:t.route,onClick:()=>n(!1),className:"flex items-center gap-2.5 rounded-lg px-2.5 py-2 text-[13px] transition-colors ".concat(r?"bg-white/[0.05] font-semibold text-white":"font-medium text-white/60 hover:bg-white/[0.04] hover:text-white/90"),children:[(0,s.jsx)(l,{className:"w-3.5 h-3.5 shrink-0",style:{color:e.accent}}),t.name]},t.id)})]},e.id))})})]})}},99708:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(71847).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])}}]);

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.