PageSourceSearch

https://chathome.lu/_next/static/chunks/62761.88cb3f292fb478e1.js

js chathome.lu collected 2026-10-08 03:22:35 UTC 20,053 bytes, 9 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[62761],{1073:(e,t,r)=>{r.d(t,{O:()=>l});var n=r(54568),a=r(7620),s=r(49518),o=r(78328),i=r(17021);let l=({children:e,initial:t,isPresent:r,onExitComplete:l,custom:m,presenceAffectsLayout:u,mode:c,anchorX:x,root:p})=>{let h=(0,o.M)(d),f=(0,a.useId)(),b=!0,g=(0,a.useMemo)(()=>(b=!1,{id:f,initial:t,isPresent:r,custom:m,onExitComplete:e=>{for(let t of(h.set(e,!0),h.values()))if(!t)return;l&&l()},register:e=>(h.set(e,!1),()=>h.delete(e))}),[r,h,l]);return u&&b&&(g={...g}),(0,a.useMemo)(()=>{h.forEach((e,t)=>h.set(t,!1))},[r]),a.useEffect(()=>{r||h.size||!l||l()},[r]),"popLayout"===c&&(e=(0,n.jsx)(i.C,{isPresent:r,anchorX:x,root:p,children:e})),(0,n.jsx)(s.t.Provider,{value:g,children:e})};function d(){return new Map}},17021:(e,t,r)=>{r.d(t,{C:()=>d});var n=r(54568),a=r(35362),s=r(7620),o=r(72543),i=r(29856);class l extends s.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,r=(0,a.s)(e)&&e.offsetWidth||0,n=this.props.sizeRef.current;n.height=t.offsetHeight||0,n.width=t.offsetWidth||0,n.top=t.offsetTop,n.left=t.offsetLeft,n.right=r-n.width-n.left}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:t,anchorX:r,root:a}){let d=(0,s.useId)(),m=(0,s.useRef)(null),u=(0,s.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:c}=(0,s.useContext)(o.Q),x=(0,i.s)(m,e?.ref);return(0,s.useInsertionEffect)(()=>{let{width:e,height:n,top:s,left:o,right:i}=u.current;if(t||!m.current||!e||!n)return;let l="left"===r?`left: ${o}`:`right: ${i}`;m.current.dataset.motionPopId=d;let x=document.createElement("style");c&&(x.nonce=c);let p=a??document.head;return p.appendChild(x),x.sheet&&x.sheet.insertRule(`
2          [data-motion-pop-id="${d}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${n}px !important;
6            ${l}px !important;
7            top: ${s}px !important;
8          }
9        `),()=>{p.contains(x)&&p.removeChild(x)}},[t]),(0,n.jsx)(l,{isPresent:t,childRef:m,sizeRef:u,children:s.cloneElement(e,{ref:x})})}},26577:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(81007).A)("trending-down",[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]])},29856:(e,t,r)=>{r.d(t,{s:()=>s});var n=r(7620);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(...e){return n.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():a(e[t],null)}}}}(...e),e)}},34041:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(81007).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},35362:(e,t,r)=>{r.d(t,{s:()=>a});var n=r(72606);function a(e){return(0,n.G)(e)&&"offsetHeight"in e}},40873:(e,t,r)=>{r.d(t,{tF:()=>o,xQ:()=>s});var n=r(7620),a=r(49518);function s(e=!0){let t=(0,n.useContext)(a.t);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:o,register:i}=t,l=(0,n.useId)();(0,n.useEffect)(()=>{if(e)return i(l)},[e]);let d=(0,n.useCallback)(()=>e&&o&&o(l),[l,o,e]);return!r&&o?[!1,d]:[!0]}function o(){var e;return null===(e=(0,n.useContext)(a.t))||e.isPresent}},62761:(e,t,r)=>{r.r(t),r.d(t,{default:()=>I});var n=r(54568),a=r(7620),s=r(78128),o=r(65197),i=r(34041),l=r(24930),d=r(26577),m=r(80647),u=r(33724),c=r(34952),x=r(51594),p=r(42195),h=r(66588),f=r(2622),b=r(94633),g=r(97312),y=r(24636),j=(0,u.gu)({chartName:"ComposedCh
9art",GraphicalChild:[p.N,c.G,x.y,h.X],axisComponents:[{axisType:"xAxis",AxisComp:f.W},{axisType:"yAxis",AxisComp:b.h},{axisType:"zAxis",AxisComp:g.K}],formatAxisMap:y.pr}),N=r(54097),v=r(83829),k=r(3144),w=r(66748),C=r(64318);function z(e,t,r,n=0){if(e<=0||r<=0)return[];let a=t/100/12,s=12*r,o=a<=0?e/s:e*a/(1-Math.pow(1+a,-s)),i=[],l=e,d=0;for(let e=1;l>.01&&e<=2*s;e++){let t=l*a,r=Math.min(l+t,o+n),s=r-t;if(l=Math.max(0,l-s),d+=t,i.push({month:e,payment:Number(r.toFixed(2)),principal:Number(s.toFixed(2)),interest:Number(t.toFixed(2)),balance:Number(l.toFixed(2)),totalInterestPaid:Number(d.toFixed(2))}),l<=.01)break}return i}function _({principal:e,annualRatePct:t,loanTermYears:r}){let u,{language:x,t:h}=(0,k.o)(),g=(0,a.useMemo)(()=>e=>(0,w.$g)(e,"EUR",x),[x]),y=h.financial_tools,_=y?.mortgage??{},[M,I]=(0,a.useState)(!1),[S,E]=(0,a.useState)("amortized"),[A,P]=(0,a.useState)(0),L=(0,a.useMemo)(()=>e<=0||r<=0?[]:"bullet"===S?function(e,t,r){if(e<=0||r<=0)return[];let n=12*r,a=t/100/12*e,s=[],o=0;for(let t=1;t<=n;t++){o+=a;let r=t===n;
9s.push({month:t,payment:Number((a+(r?e:0)).toFixed(2)),principal:Number((r?e:0).toFixed(2)),interest:Number(a.toFixed(2)),balance:Number((r?0:e).toFixed(2)),totalInterestPaid:Number(o.toFixed(2))})}return s}(e,t,r):z(e,t,r,A),[e,t,r,S,A]),G=(0,a.useMemo)(()=>{let n,a,s,o;return"amortized"!==S||A<=0?null:(n=z(e,t,r,0),a=z(e,t,r,A),s=n.length>0?n[n.length-1].totalInterestPaid:0,o=a.length>0?a[a.length-1].totalInterestPaid:0,{monthsSaved:n.length-a.length,interestSaved:Number((s-o).toFixed(2)),newTotalMonths:a.length,newTotalInterest:Number(o.toFixed(2))})},[e,t,r,S,A]),$=(0,a.useMemo)(()=>(function(e){let t=[],r=0,n=0;for(let a of e)r+=a.principal,n+=a.interest,(a.month%12==0||a.month===e.length)&&(t.push({year:Math.ceil(a.month/12),principal:Number(r.toFixed(0)),interest:Number(n.toFixed(0)),balance:a.balance}),r=0,n=0);return t})(L),[L]),R=L.length>0?L[L.length-1].totalInterestPaid:0,U=e+R,D=L.length;return e<=0||r<=0||t<0?null:(0,n.jsxs)("div",{className:"rounded-2xl border border-border/60 bg-card/80 p-4",children:[(0,n.jsxs)("button",{type:"button",onClick:()=>I(e=>!e),className:"group flex w-full items-center justify-between text-left",children:[(0,n.jsx)("span",{className:"text-sm font-semibold text-foreground",children:_.amortization_title??"Amortization Schedule"}),(0,n.jsx)(s.m.span,{animate:{rotate:180*!!M},transition:{duration:.25},children:(0,n.jsx)(i.A,{className:"h-4 w-4 text-muted-foreground transition-colors group-hover:text-foreground"})})]}),(0,n.jsx)(o.N,{initial:!1,children:M&&(0,n.jsx)(s.m.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.35,ease:[.4,0,.2,1]},className:"overflow-hidden",children:(0,n.jsxs)("div",{className:"mt-4 space-y-4",children:[(0,n.jsx)("div",{className:"flex flex-wrap gap-2",children:["amortized","bullet"].map(e=>(0,n.jsx)("button",{type:"button",onClick:()=>{E(e),"bullet"===e&&P(0)},className:(0,C.cn)("rounded-full border px-3 py-1 text-xs font-semibold transition-colors",S===e?"border-primary bg-primary text-primary-foreground":"border-border/60 bg-card/70 text-foreground hover:bg-accent/40"),children:"amortized"===e?_.amortized_loan??"Standard (amortized)":_.bullet_loan??"Interest-only (bullet)"},e))}),"amortized"===S&&(0,n.jsxs)("label",{className:"block space-y-1 text-xs",children:[(0,n.jsx)("span",{className:"text-muted-foreground",children:_.extra_payment??"Extra monthly payment"}),(0,n.jsx)("input",{type:"range",min:0,max:Math.round(e/(12*r)/2),step:25,value:A,onChange:e=>P(Number(e.target.value)),className:"w-full"}),(0,n.jsx)("span",{className:"font-semibold text-foreground",children:g(A)})]}),G&&G.interestSaved>0&&(0,n.jsxs)(s.m.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},className:"flex items-start gap-3 rounded-xl border border-green-500/30 bg-green-500/10 p-3 text-xs",children:[(0,n.jsx)(l.A,{className:"mt-0.5 h-4 w-4 shrink-0 text-green-600"}),(0,n.jsxs)("div",{className:"space-y-0.5",children:[(0,n.jsxs)("p",{className:"font-semibold text-green-700 dark:text-green-400",children:[_.interest_saved??"Interest saved",":"," ",g(G.interestSaved)]}),(0,n.jsxs)("p",{className:"text-green-600 dark:text-green-400/80",children:[_.months_saved??"Months saved",": ",G.monthsSaved]})]})]}),"bullet"===S&&(0,n.jsxs)(s.m.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},className:"flex items-start gap-3 rounded-xl border border-amber-500/30 bg-amber-500/10 p-3 text-xs",children:[(0,n.jsx)(d.A,{className:"mt-0.5 h-4 w-4 shrink-0 text-amber-600"}),(0,n.jsxs)("p",{className:"text-amber-700 dark:text-amber-400",children:[_.lump_sum_at_end??"Lump sum at end of term",":"," ",(0,n.jsx)("span",{className:"font-semibold",children:g(e)})]})]}),(0,n.jsxs)("div",{className:"grid gap-3 sm:grid-cols-3",children:[(0,n.jsxs)("div",{className:"rounded-xl border border-border/60 bg-card/70 p-3 text-sm",children:[(0,n.jsx)("p",{className:"text-xs text-muted-foreground",children:_.total_interest??"Total interest"}),(0,n.jsx)("p",{className:"mt-1 font-semibold text-foreground",children:g(R)})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border/60 bg-card/70 p-3 text-sm",children:[(0,n.jsx)("p",{className:"text-xs text-muted-foreground",children:_.total_cost??"Total cost"}),(0,n.jsx)("p",{className:"mt-1 font-semibold text-foreground",children:g(U)})]}),(0,n.jsxs)("div",{className:"rounded-xl border border-border/60 bg-card/70 p-3 text-sm",children:[(0,n.jsx)("p",{className:"text-xs text-muted-foreground",children:_.payoff_date??"Payoff date"}),(0,n.jsx)("p",{className:"mt-1 font-semibold text-foreground",children:new Date((u=new Date).getFullYear(),u.getMonth()+D).toLocaleDateString(`${x}-LU`,{month:"long",year:"numeric"})})]})]}),(0,n.jsx)("div",{className:"h-72 w-full rounded-2xl border border-border/60 bg-background/60 p-2",children:(0,n.jsx)(m.u,{width:"100%",height:"100%",children:(0,n.jsxs)(j,{data:$,children:[(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"principalGrad",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,n.jsx)("stop",{offset:"5%",
9stopColor:"#16a34a",stopOpacity:.4}),(0,n.jsx)("stop",{offset:"95%",stopColor:"#16a34a",stopOpacity:0})]}),(0,n.jsxs)("linearGradient",{id:"interestGrad",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,n.jsx)("stop",{offset:"5%",stopColor:"#f59e0b",stopOpacity:.4}),(0,n.jsx)("stop",{offset:"95%",stopColor:"#f59e0b",stopOpacity:0})]})]}),(0,n.jsx)(N.d,{strokeDasharray:"3 3",strokeOpacity:.25}),(0,n.jsx)(f.W,{dataKey:"year",tick:{fontSize:11},tickFormatter:e=>`${e}`}),(0,n.jsx)(b.h,{yAxisId:"left",tickFormatter:e=>`\u20AC${Math.round(e/1e3)}k`,tick:{fontSize:11}}),(0,n.jsx)(b.h,{yAxisId:"right",orientation:"right",tickFormatter:e=>`\u20AC${Math.round(e/1e3)}k`,tick:{fontSize:11}}),(0,n.jsx)(v.m,{formatter:(e,t)=>[g(e),"principal"===t?_.principal_portion??"Principal":"interest"===t?_.interest_portion??"Interest":_.remaining_balance??"Balance"],labelFormatter:e=>`Year ${e}`}),(0,n.jsx)(c.G,{yAxisId:"left",type:"monotone",dataKey:"principal",stroke:"#16a34a",fill:"url(#principalGrad)",strokeWidth:2}),(0,n.jsx)(c.G,{yAxisId:"left",type:"monotone",dataKey:"interest",stroke:"#f59e0b",fill:"url(#interestGrad)",strokeWidth:2}),(0,n.jsx)(p.N,{yAxisId:"right",type:"monotone",dataKey:"balance",stroke:"#6366f1",strokeWidth:2,dot:!1})]})})}),(0,n.jsxs)("div",{className:"flex flex-wrap gap-4 text-xs text-muted-foreground",children:[(0,n.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,n.jsx)("span",{className:"inline-block h-2.5 w-2.5 rounded-full bg-green-600"}),_.principal_portion??"Principal"]}),(0,n.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,n.jsx)("span",{className:"inline-block h-2.5 w-2.5 rounded-full bg-amber-500"}),_.interest_portion??"Interest"]}),(0,n.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,n.jsx)("span",{className:"inline-block h-2.5 w-2.5 rounded-full bg-indigo-500"}),_.remaining_balance??"Balance"]})]}),L.length>0&&(0,n.jsx)(F,{rows:L,currency:g,principalLabel:_.principal_portion??"Principal",interestLabel:_.interest_portion??"Interest",balanceLabel:_.remaining_balance??"Balance"})]})},"amortization-body")})]})}function F({rows:e,currency:t,principalLabel:r,interestLabel:a,balanceLabel:s}){let o=e.slice(0,12),i=e.length>24?e.slice(-12):e.length>12?e.slice(12):[],l=e.length>24;return(0,n.jsx)("div",{className:"overflow-x-auto rounded-xl border border-border/60",children:(0,n.jsxs)("table",{className:"w-full text-xs",children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{className:"border-b border-border/40 bg-muted/30",children:[(0,n.jsx)("th",{className:"px-3 py-2 text-left font-medium text-muted-foreground",children:"#"}),(0,n.jsx)("th",{className:"px-3 py-2 text-right font-medium text-muted-foreground",children:r}),(0,n.jsx)("th",{className:"px-3 py-2 text-right font-medium text-muted-foreground",children:a}),(0,n.jsx)("th",{className:"px-3 py-2 text-right font-medium text-muted-foreground",children:s})]})}),(0,n.jsxs)("tbody",{children:[o.map(e=>(0,n.jsxs)("tr",{className:"border-b border-border/20 transition-colors hover:bg-muted/20",children:[(0,n.jsx)("td",{className:"px-3 py-1.5 text-muted-foreground",children:e.month}),(0,n.jsx)("td",{className:"px-3 py-1.5 text-right font-medium text-green-600",children:t(e.principal)}),(0,n.jsx)("td",{className:"px-3 py-1.5 text-right text-amber-600",children:t(e.interest)}),(0,n.jsx)("td",{className:"px-3 py-1.5 text-right text-foreground",children:t(e.balance)})]},e.month)),l&&(0,n.jsx)("tr",{className:"border-b border-border/20",children:(0,n.jsx)("td",{colSpan:4,className:"px-3 py-2 text-center text-muted-foreground/60",children:"..."})}),i.map(e=>(0,n.jsxs)("tr",{className:"border-b border-border/20 transition-colors hover:bg-muted/20",children:[(0,n.jsx)("td",{className:"px-3 py-1.5 text-muted-foreground",children:e.month}),(0,n.jsx)("td",{className:"px-3 py-1.5 text-right font-medium text-green-600",children:t(e.principal)}),(0,n.jsx)("td",{className:"px-3 py-1.5 text-right text-amber-600",children:t(e.interest)}),(0,n.jsx)("td",{className:"px-3 py-1.5 text-right text-foreground",children:t(e.balance)})]},e.month))]})]})})}let M={en:{amount:"Enter a loan amount greater than zero.",rate:"Enter an interest rate of zero or more.",term:"Enter a loan term from 1 to 50 years."},fr:{amount:"Saisissez un montant de pr\xeat sup\xe9rieur \xe0 z\xe9ro.",rate:"Saisissez un taux d'int\xe9r\xeat sup\xe9rieur ou \xe9gal \xe0 z\xe9ro.",term:"Saisissez une dur\xe9e de pr\xeat de 1 \xe0 50 ans."},de:{amount:"Geben Sie einen Darlehensbetrag \xfcber null ein.",rate:"Geben Sie einen Zinssatz von null oder mehr ein.",term:"Geben Sie eine Laufzeit von 1 bis 50 Jahren ein."},lu:{amount:"Gitt e Pr\xeatbetrag iwwer null an.",rate:"Gitt en Z\xebnssaz vun null oder m\xe9i an.",term:"Gitt eng Lafz\xe4it vun 1 bis 50 Joer an."},pt:{amount:"Introduza um montante de empr\xe9stimo superior a zero.",rate:"Introduza uma taxa de juro igual ou superior a zero.",term:"Introduza um prazo de empr\xe9stimo entre 1 e 50 anos."}};function I(){let{t:e,language:t}=(0,k.o)(),r=e.financial_tools,o=r?.mortgage,[i,l]=(0,a.useState)("600000"),[d,m]=(0,a.useState)("3.5"),[u,c]=(0,a.useState)("25"),x=Number(i),p=Number(d),h=Number(u),f=""!==i.trim()&&Number.isFinite(x)&&x>0,b=""!==d.trim()&&Number.isFinite(p)&&p>=0,g=""!==u.trim()&&Number.isFinite(h)&&h>=1&&h<=50,y=f&&b&&g,j=M[t]??M.en,N=o?.loan_amount??"Loan amount",v=o?.mortgage_rate??"Mortgage rate %",C=o?.loan_term??"Loan term (years)",z=(0,a.useMemo)(()=>
9{if(!y)return null;let e=p/100/12,t=12*h;return 0===e?x/t:x*e*Math.pow(1+e,t)/(Math.pow(1+e,t)-1)},[y,x,p,h]);return(0,n.jsxs)("div",{className:"space-y-6",children:[(0,n.jsxs)(s.m.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.35},className:"rounded-2xl border border-border/60 bg-card/80 p-4",children:[(0,n.jsxs)("div",{className:"grid gap-4 sm:grid-cols-3",children:[(0,n.jsxs)("label",{className:"space-y-1.5",children:[(0,n.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:N}),(0,n.jsx)("input",{type:"number",min:0,step:1e4,value:i,onChange:e=>l(e.target.value),"aria-invalid":!f,"aria-describedby":f?void 0:"mortgage-principal-error",className:"w-full rounded-xl border border-border/60 bg-background px-3 py-2 text-sm font-medium text-foreground focus:border-primary/50 focus:outline-none focus:ring-2 focus:ring-primary/20"}),!f&&(0,n.jsx)("span",{id:"mortgage-principal-error",role:"alert",className:"mt-1 block text-xs font-medium text-red-600 dark:text-red-400",children:j.amount})]}),(0,n.jsxs)("label",{className:"space-y-1.5",children:[(0,n.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:v}),(0,n.jsx)("input",{type:"number",min:0,step:.1,value:d,onChange:e=>m(e.target.value),"aria-invalid":!b,"aria-describedby":b?void 0:"mortgage-rate-error",className:"w-full rounded-xl border border-border/60 bg-background px-3 py-2 text-sm font-medium text-foreground focus:border-primary/50 focus:outline-none focus:ring-2 focus:ring-primary/20"}),!b&&(0,n.jsx)("span",{id:"mortgage-rate-error",role:"alert",className:"mt-1 block text-xs font-medium text-red-600 dark:text-red-400",children:j.rate})]}),(0,n.jsxs)("label",{className:"space-y-1.5",children:[(0,n.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:C}),(0,n.jsx)("input",{type:"number",min:1,max:50,step:1,value:u,onChange:e=>c(e.target.value),"aria-invalid":!g,"aria-describedby":g?void 0:"mortgage-term-error",className:"w-full rounded-xl border border-border/60 bg-background px-3 py-2 text-sm font-medium text-foreground focus:border-primary/50 focus:outline-none focus:ring-2 focus:ring-primary/20"}),!g&&(0,n.jsx)("span",{id:"mortgage-term-error",role:"alert",className:"mt-1 block text-xs font-medium text-red-600 dark:text-red-400",children:j.term})]})]}),null!==z&&(0,n.jsxs)("div",{className:"mt-4 flex items-center gap-3 rounded-xl border border-primary/20 bg-primary/5 px-4 py-3",children:[(0,n.jsx)("span",{className:"text-xs text-muted-foreground",children:o?.monthly_payment??"Monthly payment"}),(0,n.jsx)("span",{className:"text-lg font-bold text-primary",children:(0,w.$g)(z,"EUR",t)})]})]}),y&&(0,n.jsx)(_,{principal:x,annualRatePct:p,loanTermYears:h})]})}},64318:(e,t,r)=>{r.d(t,{cn:()=>s});var n=r(9917),a=r(2809);function s(...e){return(0,a.QP)((0,n.$)(e))}},65197:(e,t,r)=>{r.d(t,{N:()=>c});var n=r(54568),a=r(7620),s=r(82576),o=r(78328),i=r(96529),l=r(1073),d=r(40873);let m=e=>e.key||"";function u(e){let t=[];return a.Children.forEach(e,e=>{(0,a.isValidElement)(e)&&t.push(e)}),t}let c=({children:e,custom:t,initial:r=!0,onExitComplete:c,presenceAffectsLayout:x=!0,mode:p="sync",propagate:h=!1,anchorX:f="left",root:b})=>{let[g,y]=(0,d.xQ)(h),j=(0,a.useMemo)(()=>u(e),[e]),N=h&&!g?[]:j.map(m),v=(0,a.useRef)(!0),k=(0,a.useRef)(j),w=(0,o.M)(()=>new Map),[C,z]=(0,a.useState)(j),[_,F]=(0,a.useState)(j);(0,i.E)(()=>{v.current=!1,k.current=j;for(let e=0;e<_.length;e++){let t=m(_[e]);N.includes(t)?w.delete(t):!0!==w.get(t)&&w.set(t,!1)}},[_,N.length,N.join("-")]);let M=[];if(j!==C){let e=[...j];for(let t=0;t<_.length;t++){let r=_[t],n=m(r);N.includes(n)||(e.splice(t,0,r),M.push(r))}return"wait"===p&&M.length&&(e=M),F(u(e)),z(j),null}let{forceRender:I}=(0,a.useContext)(s.L);return(0,n.jsx)(n.Fragment,{children:_.map(e=>{let a=m(e),s=(!h||!!g)&&(j===_||N.includes(a));return(0,n.jsx)(l.O,{isPresent:s,initial:(!v.current||!!r)&&void 0,custom:t,presenceAffectsLayout:x,mode:p,root:b,onExitComplete:s?void 0:()=>{if(!w.has(a))return;w.set(a,!0);let e=!0;w.forEach(t=>{t||(e=!1)}),e&&(I?.(),F(k.current),h&&y?.(),c&&c())},anchorX:f,children:e},a)})})}},66748:(e,t,r)=>{function n(e,t){let r=t?.currency??"EUR",n=t?.locale??"fr-LU";return new Intl.NumberFormat(n,{style:"currency",currency:r,minimumFractionDigits:0,maximumFractionDigits:0,currencyDisplay:"symbol"}).format(e).replace(/\s/g,"\xa0")}r.d(t,{$g:()=>s,D8:()=>i,Kq:()=>o,vv:()=>n});let a={en:"en-IE",fr:"fr-LU",de:"de-LU",lu:"fr-LU",lb:"fr-LU",pt:"pt-PT"},s=(e,t="EUR",r)=>n(e,{currency:t,locale:r?a[r]:void 0}),o=(e,t,r="EUR")=>{let n=(t?a[t]:void 0)??"fr-LU";return new Intl.NumberFormat(n,{style:"currency",currency:r,notation:"compact",maximumFractionDigits:1}).format(e).replace(/\s/g,"\xa0")},i=e=>e?a[e]:void 0},72606:(e,t,r)=>{r.d(t,{G:()=>n});function n(e){return"object"==typeof e&&null!==e}}}]);

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.