PageSourceSearch

https://toldst.dk/_next/static/chunks/5503.1126967c7a308810.js

js toldst.dk collected 2026-10-02 05:27:04 UTC 31,232 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5503],{5503:function(e,t,n){"use strict";n.d(t,{a:function(){return C},Y:function(){return W}});var r=n(85893),l=n(67294),a=n(47083),i=n(43208),o=n.n(i),s=n(26680),d=n(94894),m=n(23082),c=n(22634),u=n(11319),_=n(43419);let h=e=>t=>""===t||"0"===t?e:"",y=e=>t=>/^-?(?:\d{1,3}(?:\.\d{3})*|\d+)?$/g.test(t)?"":e,b=(e,t)=>n=>(0,a.mc)(n)<e?t:"",p=(e,t)=>n=>(0,a.mc)(n)<e?t+Math.ceil(e)+"kr":"";var g=n(69278),x=n.n(g);let f=e=>!!e.match(/\./),v=(e,t)=>!!e.match("^-?\\d{0,3}(\\.\\d{3})*(,\\d{1,".concat(t,"})?$")),I=(e,t)=>!!e.match("^-?[0-9]+(,\\d{1,".concat(t,"})?$")),P=e=>{let{language:t,onChangeForm:n,onSubmit:i,input:o,interestRate:g,callback:P}=e,[S,j]=(0,l.useState)(!1),[M,z]=(0,l.useState)(!1),[D,k]=(0,l.useState)(),[B,F]=(0,l.useState)([]),[N,C]=(0,l.useState)([]),[w,L]=(0,l.useState)(),G=e=>{n("debtSize",e),L(g/1200*(0,a.mc)(o.debtSize))},W=e=>{n("monthlyPayment",e)},T=(e,t,n,r)=>{let l=t.map(t=>t(e)).filter(e=>""!==e);n(l),l&&0!==l.length||r(A(e))},A=e=>H(e)?e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,"."):e,H=e=>{let t=f(e);return t?v(e,"2"):t||I(e,"2")},O=e=>{e.preventDefault();let n=e.target;if(w>(0,a.mc)(o.monthlyPayment)&&0==N.length){C([t.errorMonthlyPaymentAmount+(0,a.DM)(Math.ceil(w))]),P("form_step");return}if(n.checkValidity()&&0===B.length&&0===N.length)i(),P("form_step"),P("form_step_complete");else{let e=document.getElementById("debtSize"),t=document.getElementById("monthlyPayment");e.checkValidity()?t.focus():e.focus(),B.length>0&&P("form_error",{fieldName:"debtSizeInput",values:B}),N.length>0&&P("form_error",{fieldName:"monthlyPaymentInput",values:N})}},E=(e,t)=>{if(e.target instanceof HTMLElement){switch(k(e.target),t){case"debtSize":j(!0);break;case"monthlyPayment":z(!0)}e.preventDefault()}},R=e=>{switch(e){case"debtSize":j(!1);break;case"monthlyPayment":z(!1)}setTimeout(()=>null==D?void 0:D.focus(),0)};return(0,r.jsxs)("div",{className:x().DebtForm,children:[(0,r.jsxs)("form",{onSubmit:null==O?void 0:O.bind(void 0),noValidate:!0,children:[(0,r.jsx)(d.X,{className:x().DebtForm_heading,headingLevel:"h2",children:t.formTitle}),(0,r.jsxs)(_.m,{className:x().DebtForm_grid,full:!0,children:[(0,r.jsx)(_.r,{className:x().DebtForm_cell,children:(0,r.jsxs)(_.m,{className:x().DebtForm_inputGrid,container:!0,children:[(0,r.jsx)(_.r,{desktopWidth:"50",mobileWidth:"100",children:(0,r.jsxs)("label",{htmlFor:"debtSize",className:x().DebtForm_label,"aria-describedby":"debtSize-help",children:[t.debtSizeLabel,(0,r.jsx)(m.M,{describedById:"debtSize-help",onClick:e=>(E(e,"debtSize"),P("modal_click",{fieldName:"debt_size_info"})),ariaLabel:t.srDebtSizeInfo,helpText:t.debtSizeButtonTitle})]})}),(0,r.jsx)(_.r,{desktopWidth:"50",mobileWidth:"100",children:(0,r.jsx)("div",{className:x().DebtForm_field,children:(0,r.jsx)(c.I,{id:"debtSize",name:"debtSizeInput",type:"text",placeholder:t.phDebtSize,pattern:"^[0-9.]*$",required:!0,onChange:e=>G(e.target.value),value:o.debtSize,appendText:t.localisedCurrency,onBlur:e=>T(e.target.value,[h(t.errorDebtSize),y(t.errorIntegerOnly)],F,G),errors:B})})})]})}),(0,r.jsx)(_.r,{className:x().DebtForm_cell,children:(0,r.jsxs)(_.m,{className:x().DebtForm_inputGrid,container:!0,children:[(0,r.jsx)(_.r,{className:x().DebtForm_field,desktopWidth:"50",mobileWidth:"100",children:(0,r.jsxs)("label",{htmlFor:"monthlyPayment",className:x().DebtForm_label,"aria-describedby":"monthlyPayment-help",children:[t.monthlyPaymentLabel,(0,r.jsx)(m.M,{describedById:"monthlyPayment-help",onClick:e=>(E(e,"monthlyPayment"),P("modal_click",{fieldName:"debt_size_info"})),ariaLabel:t.srMonthlyPayment,helpText:t.monthlyPaymentButtonTitle})]})}),(0,r.jsx)(_.r,{desktopWidth:"50",mobileWidth:"100",children:(0,r.jsx)("div",{className:x().DebtForm_field,children:(0,r.jsx)(c.I,{id:"monthlyPayment",name:"monthlyPaymentInput",type:"text",placeholder:t.monthlyPaymentPlaceholder,pattern:"^[0-9.]*$",min:200,required:!0,onChange:e=>W(e.target.value),value:o.monthlyPayment,appendText:t.localisedCurrency,onBlur:e=>T(e.target.value,[b(200,t.errorMinimumPaymentSize),p(w,t.errorMonthlyPaymentAmount),h(t.errorMinimumPaymentSize),y(t.errorIntegerOnly)],C,W),errors:N})})})]})}),(0,r.jsx)(_.r,{className:x().DebtForm_submit,children:(0,r.jsx)(s.zx,{type:"submit",buttonStyle:"primary-dark",children:t.calculateButton})})]})]}),(0,r.jsx)(u.u,{ariaLabelClose:t.modalCloseButton,ariaLabel:"debtSizeInfo",show:S,onClose:()=>R("debtSize"),children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:t.modalDebtSizeContent}})}),(0,r.jsx)(u.u,{ariaLabelClose:t.modalCloseButton,ariaLabel:"monthlyPaymentInfo",show:M,onClose:()=>R("monthlyPayment"),children:t.modalMonthlyPaymentContent})]})};var S=n(94184),j=n.n(S),M=n(18045),z=n(43974),D=n(52384),k=n.n(D);let B=e=>{let{language:t,monthlyState:n,yearlyInterest:l,onResetForm:a,browserLang:i}=e,o=e=>
1"en"===i?e.toLocaleString("en-us"):e.toLocaleString("da-dk");return(0,r.jsxs)("div",{className:k().Payment,children:[(0,r.jsx)(d.X,{className:k().Payment_heading,headingLevel:"h2",children:t.resultHeader}),(0,r.jsxs)(_.m,{className:k().Payment_grid,full:!0,children:[(0,r.jsx)(_.r,{children:(0,r.jsxs)(_.m,{className:k().Payment_result,container:!0,children:[(0,r.jsx)(_.r,{desktopWidth:"50",mobileWidth:"50",className:"u-font-bold",children:(0,r.jsx)("label",{children:t.resultMonthlyPaymentLabel})}),(0,r.jsx)(_.r,{desktopWidth:"50",mobileWidth:"50",className:"u-font-bold u-align-textRight",children:(0,r.jsxs)("span",{className:"input-group-sum",children:[o(n.monthlyPayment)+" ",t.localisedCurrency]})})]})}),(0,r.jsx)(_.r,{className:k().Payment_spacing,children:(0,r.jsxs)(_.m,{className:k().Payment_result,container:!0,children:[(0,r.jsx)(_.r,{desktopWidth:"50",mobileWidth:"50",className:"u-font-bold",children:(0,r.jsxs)("span",{children:[t.resultDebtFreeBy," "]})}),(0,r.jsx)(_.r,{desktopWidth:"50",mobileWidth:"50",className:"u-font-bold u-align-textRight",children:(0,r.jsx)("span",{className:"input-group-sum",children:function(e){let n=Math.floor(e/12),r=e%12;return"\n    ".concat(0!==n?n:"","\n    ").concat(0===n?"":n>1?t.resultMultipleYears:t.resultSingleYear,"\n    ").concat(0!==n&&0!==r?t.resultAnd:"","\n    ").concat(0!==r?r:"","\n    ").concat(0===r?"":r>1?t.resultMultipleMonths:t.resultSingleMonth)}(n.noOfPayments)})})]})}),(0,r.jsx)(_.r,{children:(0,r.jsx)(z.U,{headingLevel:"h3",header:t.resultCollapseTitle,children:(0,r.jsxs)(_.m,{full:!0,container:!0,children:[(0,r.jsx)(_.r,{className:k().Payment_result,children:(0,r.jsx)(M.n,{text:t.resultCalculationExplainer})}),(0,r.jsx)(_.r,{children:(0,r.jsxs)(_.m,{className:k().Payment_result,container:!0,children:[(0,r.jsx)(_.r,{desktopWidth:"66",mobileWidth:"66",children:(0,r.jsx)(M.n,{text:t.resultYearlyInterestLabel})}),(0,r.jsx)(_.r,{desktopWidth:"33",mobileWidth:"33",className:"u-align-textRight",children:(0,r.jsx)(M.n,{text:"".concat((()=>{let e=l.toString();return"da-dk"===i?e.replace(".",","):e})(),"%")})})]})}),(0,r.jsx)(_.r,{children:(0,r.jsxs)(_.m,{className:k().Payment_result,container:!0,children:[(0,r.jsx)(_.r,{desktopWidth:"66",mobileWidth:"66",children:(0,r.jsx)(M.n,{text:t.resultMonthlyInterestLabel})}),(0,r.jsx)(_.r,{desktopWidth:"33",mobileWidth:"33",className:"u-align-textRight",children:(0,r.jsx)(M.n,{text:"".concat(o(n.monthlyAvgInterest)," ").concat(t.localisedCurrency)})})]})}),(0,r.jsx)(_.r,{children:(0,r.jsxs)(_.m,{className:k().Payment_result,container:!0,children:[(0,r.jsx)(_.r,{desktopWidth:"66",mobileWidth:"66",children:(0,r.jsx)(M.n,{text:t.resultTotalInterestLabel})}),(0,r.jsx)(_.r,{desktopWidth:"33",mobileWidth:"33",className:"u-align-textRight",children:(0,r.jsx)(M.n,{text:"".concat(o(n.accumInterest)," ").concat(t.localisedCurrency)})})]})}),(0,r.jsx)(_.r,{children:(0,r.jsxs)(_.m,{className:j()(k().Payment_result,k().Payment_result___final),container:!0,children:[(0,r.jsx)(_.r,{desktopWidth:"66",mobileWidth:"66",children:(0,r.jsx)(M.n,{text:t.resultTotalCostOfDebt})}),(0,r.jsx)(_.r,{desktopWidth:"33",mobileWidth:"33",className:"u-align-textRight",children:(0,r.jsx)(M.n,{text:"".concat(o(n.accumInterest+n.initialPrincipal)," ").concat(t.localisedCurrency)})})]})})]})})}),(0,r.jsx)(_.r,{className:k().Payment_reset,children:(0,r.jsx)(s.zx,{buttonStyle:"primary-dark",onClick:a,children:t.resetFormButton})})]})]})},F={debtSize:"",monthlyPayment:"",debtFreeByMonth:"",debtFreeByYear:""},N={monthlyPayment:0,noOfPayments:0,accumInterest:0,monthlyAvgInterest:0,initialPrincipal:0},C=e=>{let{locale:t,interestRate:i,callback:s}=e,d=(0,l.useRef)(null),[m,c]=(0,l.useState)(F),[u,_]=(0,l.useState)(N),[h,y]=(0,l.useState)(!1),b=t.toLowerCase()||"da-dk",p="en-us"===b?n(82248):n(7515),g=parseFloat(i.replace(/,/g,".")),x=(e,t)=>{c({...m,[e]:t})},f=e=>{if(""!==e.debtSize&&""!==e.monthlyPayment){let t=g/1200,n=0,r=0,l=(0,a.mc)(e.debtSize),i=(0,a.mc)(e.monthlyPayment),o=t*l;if(!(o>i)){for(;l>0&&o<i;)l+=o-i,n+=o,o=t*l,r+=1;_({monthlyPayment:i,noOfPayments:r,accumInterest:Math.ceil(n),monthlyAvgInterest:Math.ceil(n/r),initialPrincipal:(0,a.mc)(e.debtSize)})}}},v=()=>{c({...F}),_({...N}),y(!1),requestAnimationFrame(()=>{var e;return null===(e=d.current)||void 0===e?void 0:e.scrollIntoView({behavior:"smooth",block:"start"})})};return(0,r.jsx)("div",{className:"App",children:(0,r.jsxs)("div",{ref:d,className:o().DebtApplication,children:[(0,r.jsx)(P,{language:p,onSubmit:()=>{s("form_step_complete"),f(m),y(!0)},onChangeForm:(e,t)=>
1x(e,t),input:m,interestRate:g,callback:s}),h&&(0,r.jsx)(B,{language:p,monthlyState:u,yearlyInterest:g,onResetForm:()=>(v(),s("back_button_click")),browserLang:b})]})})},w=e=>{let{language:t,onChangeForm:n,onSubmit:i,input:o,interestRate:g,formTitle:P,callback:S}=e,[j,M]=(0,l.useState)(!1),[z,D]=(0,l.useState)(!1),[k,B]=(0,l.useState)(),[F,N]=(0,l.useState)([]),[C,w]=(0,l.useState)([]),[L,G]=(0,l.useState)(),W=e=>{n("debtSize",e),G(g/1200*(0,a.mc)(o.debtSize))},T=e=>{n("monthlyPayment",e)},A=(e,t,n,r)=>{let l=t.map(t=>t(e)).filter(e=>""!==e);n(l),l&&0!==l.length||r(H(e))},H=e=>O(e)?e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,"."):e,O=e=>{let t=f(e);return t?v(e,"2"):t||I(e,"2")},E=e=>{e.preventDefault();let n=e.target;if(L>(0,a.mc)(o.monthlyPayment)&&0==C.length){w([t.errorMonthlyPaymentAmount+(0,a.DM)(Math.ceil(L))]),S("form_step");return}if(n.checkValidity()&&0===F.length&&0===C.length)i(),S("form_step"),S("form_step_complete");else{let e=document.getElementById("debtSize"),t=document.getElementById("monthlyPayment");e.checkValidity()?t.focus():e.focus(),F.length>0&&S("form_error",{fieldName:"debtSizeInput",values:F}),C.length>0&&S("form_error",{fieldName:"monthlyPaymentInput",values:C})}},R=(e,t)=>{if(e.target instanceof HTMLElement){switch(B(e.target),t){case"debtSize":M(!0);break;case"monthlyPayment":D(!0)}e.preventDefault()}},Y=e=>{switch(e){case"debtSize":M(!1);break;case"monthlyPayment":D(!1)}setTimeout(()=>
1null==k?void 0:k.focus(),0)};return(0,r.jsxs)("div",{className:x().DebtForm,children:[(0,r.jsxs)("form",{onSubmit:null==E?void 0:E.bind(void 0),noValidate:!0,children:[(0,r.jsx)(d.X,{className:x().DebtForm_heading,headingLevel:"h2",children:P}),(0,r.jsxs)(_.m,{className:x().DebtForm_grid,full:!0,children:[(0,r.jsx)(_.r,{className:x().DebtForm_cell,children:(0,r.jsxs)(_.m,{className:x().DebtForm_inputGrid,container:!0,children:[(0,r.jsx)(_.r,{desktopWidth:"50",mobileWidth:"100",children:(0,r.jsxs)("label",{htmlFor:"debtSize",className:x().DebtForm_label,"aria-describedby":"debtSize-help",children:[t.debtSizeLabel,(0,r.jsx)(m.M,{describedById:"debtSize-help",onClick:e=>(R(e,"debtSize"),S("modal_click",{fieldName:"debt_size_info"})),ariaLabel:t.srDebtSizeInfo,helpText:t.debtSizeButtonTitle})]})}),(0,r.jsx)(_.r,{desktopWidth:"50",mobileWidth:"100",children:(0,r.jsx)("div",{className:x().DebtForm_field,children:(0,r.jsx)(c.I,{id:"debtSize",name:"debtSizeInput",type:"text",placeholder:t.phDebtSize,pattern:"^[0-9.]*$",required:!0,onChange:e=>W(e.target.value),value:o.debtSize,appendText:t.localisedCurrency,onBlur:e=>A(e.target.value,[h(t.errorDebtSize),y(t.errorIntegerOnly)],N,W),errors:F})})})]})}),(0,r.jsx)(_.r,{className:x().DebtForm_cell,children:(0,r.jsxs)(_.m,{className:x().DebtForm_inputGrid,container:!0,children:[(0,r.jsx)(_.r,{className:x().DebtForm_field,desktopWidth:"50",mobileWidth:"100",children:(0,r.jsxs)("label",{htmlFor:"monthlyPayment",className:x().DebtForm_label,"aria-describedby":"monthlyPayment-help",children:[t.monthlyPaymentLabel,(0,r.jsx)(m.M,{describedById:"monthlyPayment-help",onClick:e=>(R(e,"monthlyPayment"),S("modal_click",{fieldName:"debt_size_info"})),ariaLabel:t.srMonthlyPayment,helpText:t.monthlyPaymentButtonTitle})]})}),(0,r.jsx)(_.r,{desktopWidth:"50",mobileWidth:"100",children:(0,r.jsx)("div",{className:x().DebtForm_field,children:(0,r.jsx)(c.I,{id:"monthlyPayment",name:"monthlyPaymentInput",type:"text",placeholder:t.monthlyPaymentPlaceholder,pattern:"^[0-9.]*$",min:200,required:!0,onChange:e=>T(e.target.value),value:o.monthlyPayment,appendText:t.localisedCurrency,onBlur:e=>A(e.target.value,[b(200,t.errorMinimumPaymentSize),p(L,t.errorMonthlyPaymentAmount),h(t.errorMinimumPaymentSize),y(t.errorIntegerOnly)],w,T),errors:C})})})]})}),(0,r.jsx)(_.r,{className:x().DebtForm_submit,children:(0,r.jsx)(s.zx,{type:"submit",buttonStyle:"primary-dark",children:t.calculateButton})})]})]}),(0,r.jsx)(u.u,{ariaLabelClose:t.modalCloseButton,ariaLabel:"debtSizeInfo",show:j,onClose:()=>Y("debtSize"),children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:t.modalDebtSizeContent}})}),(0,r.jsx)(u.u,{ariaLabelClose:t.modalCloseButton,ariaLabel:"monthlyPaymentInfo",show:z,onClose:()=>Y("monthlyPayment"),children:t.modalMonthlyPaymentContent})]})},L={debtSize:"",monthlyPayment:"",debtFreeByMonth:"",debtFreeByYear:""},G={monthlyPayment:0,noOfPayments:0,accumInterest:0,monthlyAvgInterest:0,initialPrincipal:0},W=e=>{let{locale:t,interestRate:i,formTitle:s,callback:d}=e,m=(0,l.useRef)(null),[c,u]=(0,l.useState)(L),[_,h]=(0,l.useState)(G),[y,b]=(0,l.useState)(!1),p=t.toLowerCase()||"da-dk",g="en-us"===p?n(82248):n(7515),x=parseFloat(i.replace(/,/g,".")),f=(e,t)=>{u({...c,[e]:t})},v=e=>{if(""!==e.debtSize&&""!==e.monthlyPayment){let t=x/1200,n=0,r=0,l=(0,a.mc)(e.debtSize),i=(0,a.mc)(e.monthlyPayment),o=t*l;if(!(o>i)){for(;l>0&&o<i;)l+=o-i,n+=o,o=t*l,r+=1;h({monthlyPayment:i,noOfPayments:r,accumInterest:Math.ceil(n),monthlyAvgInterest:Math.ceil(n/r),initialPrincipal:(0,a.mc)(e.debtSize)})}}},I=()=>{u({...L}),h({...G}),b(!1),requestAnimationFrame(()=>{var e;return null===(e=m.current)||void 0===e?void 0:e.scrollIntoView({behavior:"smooth",block:"start"})})};return(0,r.jsx)("div",{className:"App",children:(0,r.jsxs)("div",{ref:m,className:o().DebtApplication,children:[(0,r.jsx)(w,{language:g,onSubmit:()=>{d("form_step_complete"),v(c),b(!0)},onChangeForm:(e,t)=>f(e,t),input:c,interestRate:x,formTitle:s,callback:d}),y&&(0,r.jsx)(B,{language:g,monthlyState:_,yearlyInterest:x,onResetForm:()=>(I(),d("back_button_click")),browserLang:p})]})})}},9133:function(e,t,n){"use strict";n.d(t,{B:function(){return s}});var r=n(85893),l=n(94184),a=n.n(l),i=n(56815),o=n.n(i);let s=e=>{let{className:t,id:n,children:l}=e;return(0,r.jsx)("div",{id:n,className:a()(o().ErrorMessage,t),children:l})}},53228:function(e,t,n){"use strict";n.d(t,{B:function(){return r.B}});var r=n(9133)},22634:function(e,t,n){"use strict";n.d(t,{I:function(){return M}});var r,l,a,i,o=n(85893),s=n(94184),d=n.n(s),m=n(67294),c=n(60401),u=n.n(c);let _=e=>{let{className:t,textLeft:n=!1,hasErrors:r=!1,disabled:l=!1,formRegister:a,...i}=e;return(0,o.jsx)("input",{className:d()(u().BaseInput,t,n?"":u().BaseInput___textRight,r?u().BaseInput___isInvalid:"",l?u().BaseInput___disabled:""),disabled:l,...null==a?void 0:a.register(a.fieldName,a.options),...i})};var h=n(26680),y=n(53228),b=n(74800),p=n(43620);function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var x=function(e){return m.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,fill:"
1currentColor"},e),r||(r=m.createElement("path",{d:"M2.56 7.44h26.96V29.2H2.56zM.48 2.32v29.04H31.6V2.32h-4.16v4.16h-5.2V2.32H9.84v4.16h-5.2V2.32z"})),l||(l=m.createElement("path",{d:"M5.68.24H8.8v5.2H5.68zM23.36.24h3.12v5.2h-3.12zM3.6 8.48h4.16v4.16H3.6zM8.8 8.48h4.16v4.16H8.8zM14 8.48h4.16v4.16H14zM19.2 8.48h4.16v4.16H19.2zM24.4 8.48h4.16v4.16H24.4zM3.6 13.68h4.16v4.16H3.6zM8.8 13.68h4.16v4.16H8.8zM14 13.68h4.16v4.16H14zM19.2 13.68h4.16v4.16H19.2zM24.4 13.68h4.16v4.16H24.4zM3.6 18.88h4.16v4.16H3.6zM8.8 18.88h4.16v4.16H8.8zM14 18.88h4.16v4.16H14zM19.2 18.88h4.16v4.16H19.2zM24.4 18.88h4.16v4.16H24.4zM8.8 24.08h4.16v4.16H8.8z"})))};function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var v=function(e){return m.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},e),a||(a=m.createElement("path",{d:"M2.8 13.2c0-5.84 4.8-10.64 10.64-10.64s10.64 4.8 10.64 10.64-4.8 10.64-10.64 10.64S2.8 19.12 2.8 13.2m28.24 14.32-6.96-6.96c1.44-2.08 2.32-4.64 2.32-7.36C26.4 6.08 20.64.24 13.44.24S.56 6.08.56 13.2s5.76 12.96 12.96 12.96c2.72 0 5.28-.88 7.36-2.32l6.96 6.96c.48.48 1.04.64 1.6.64s1.2-.24 1.6-.64c.88-.88.88-2.32 0-3.28"})))};function I(){return(I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var P=function(e){return m.createElement("svg",I({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},e),i||(i=m.createElement("path",{d:"M31.92 14.56c0-.24-.08-.48-.16-.72-.08-.48-.56-.8-1.04-.8h-1.76c-.32 0-.56-.24-.64-.56-.32-.96-.72-1.92-1.2-2.8 0 .08.08.08.08.16-.16-.24-.16-.64.08-.88 0 0 0-.08.08-.08l.96-.96.16-.16c.32-.4.4-.96.16-1.36-.4-.64-.8-1.2-1.28-1.68l-.16-.16c-.32-.32-.64-.56-.96-.88-.24-.16-.4-.32-.64-.4-.4-.24-.96-.16-1.28.16l-.16.16-.96.96s0 .08-.08.08c-.24.24-.64.24-.88.08l.16.16c-.88-.48-1.84-.96-2.88-1.2-.32-.08-.56-.32-.56-.72v-1.6c0-.48-.4-.88-.8-1.04C17.52.08 16.8 0 16.08 0h-.16c-.4 0-.88 0-1.28.08-.24 0-.48.08-.72.16-.48.08-.8.56-.8 1.04v1.76c0 .32-.24.56-.56.72h.08c-.96.24-1.92.64-2.72 1.12-.24.16-.64.16-.88-.08 0 0-.08 0-.08-.08L7.84 3.6l-.16-.16c-.32-.24-.88-.32-1.28-.08-.64.4-1.2.8-1.68 1.28 0 .08-.08.08-.16.16-.24.32-.56.64-.8.96-.16.24-.32.4-.4.64-.24.4-.24.96.08 1.28l.16.16.96.96.08.08c.24.24.24.64.08.88.08 0 .08-.08.16-.16-.48.88-.88 1.84-1.2 2.8-.08.32-.32.56-.64.56H1.36c-.48 0-.88.4-1.04.8-.24.72-.32 1.44-.32 2.16v.16c0 .4 0 .88.08 1.28 0 .24.08.48.16.72.08.48.56.8 1.04.8h1.76c.32 0 .56.24.64.56.24.96.64 1.84 1.12 2.72 0 0 0-.08-.08-.08.16.24.16.64-.08.88 0 0 0 .08-.08.08L3.6 24l-.16.16c-.24.48-.32 1.04-.08 1.44.4.64.8 1.2 1.28 1.68l.16.16c.32.32.64.56.96.88.24.16.4.32.64.4.4.24.96.16 1.28-.16l.16-.16.96-.96s.08 0 .08-.08c.24-.24.64-.24.88-.08.8.48 1.68.8 2.64 1.12.32.08.56.32.56.64v1.68c0 .48.4.88.8 1.04.72.16 1.36.24 2.08.24H16c.4 0 .88 0 1.28-.08.24 0 .48-.08.72-.16.48-.08.8-.56.8-1.04v-1.76c0-.32.24-.56.56-.64-.08 0-.16 0-.16.08 1.04-.24 1.92-.64 2.8-1.12.24-.16.64-.16.88.08 0 0 .08 0 .08.08l.96.96.16.16c.32.32.88.4 1.28.16.64-.4 1.2-.8 1.68-1.28l.16-.16c.32-.32.56-.64.88-.96.16-.24.32-.4.4-.64.24-.4.16-.96-.16-1.28l-.16-.16-.96-.96s0-.08-.08-.08c-.24-.24-.24-.64-.08-.88 0 .08-.08.08-.08.16.56-.96.96-1.92 1.2-2.96 0 .08 0 .16-.08.24.08-.32.32-.56.64-.56h1.68c.48 0 .88-.32 1.04-.8.16-.72.24-1.36.24-2.08v-.16c.32-.72.32-1.12.24-1.6M16 23.6c-4.24 0-7.6-3.44-7.6-7.6s3.44-7.6 7.6-7.6 7.6 3.44 7.6 7.6-3.36 7.6-7.6 7.6"})))},S=n(90623),j=n.n(S);let M=e=>{let{className:t,appendText:n,shortAppendText:r,button:l,disabled:a,errors:i,errorIcon:s,formRegister:m,...c}=e;return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:d()(j().Input,t),children:[(0,o.jsxs)("div",{className:d()(j().Input_container,((null==l?void 0:l.icon)||n)&&j().Input_container___withButtonOrAppendtext),children:[l&&(0,o.jsx)("div",{className:d()(j().Input_extend,l.append?j().Input_extend___append:j().Input_extend___prepend),children:(null==l?void 0:l.icon)&&(0,o.jsx)(h.zx,{ariaLabel:l.ariaLabel,onClick:l.onClick,type:l.type,buttonSize:"small",children:(0,o.jsx)(b.JO,{className:j().Input_extend___icon,size:"kalender"===l.icon?"md":"sm",children:(e=>{switch(e){case"beregn":return(0,o.jsx)(p.Z,{});case"indstillinger":return(0,o.jsx)(P,{});case"soeg":return(0,o.jsx)(v,{});case"kalender":return(0,o.jsx)(x,{});default:return null}})(l.icon)})})}),(0,o.jsx)(_,{className:d()(j().Input_input,j().Input_input___withButtonIcon),disabled:a,hasErrors:i&&i.length>0,formRegister:m,...c}),n&&(0,o.jsx)("div",{className:d()(j().Input_extend,j().Input_extend___append),children:(0,o.jsx)("span",{className:d()(j().Input_extend___text,r&&j().Input_extend___shortAppendText,a?j().Input_extend___disabled:"",i&&i.length>0&&j().Input_extend___hasError),children:n})})]}),(0,o.jsx)("div",{children:i&&i.length>0&&i.map((e,t)=>(0,o.jsxs)("div",{className:j().Input_errorMessage,children:[s&&(0,o.jsx)(b.JO,{className:j().Input_helpButton,...s}),(0,o.jsx)(y.B,{className:j().Input_errorText,children:e})]},e+t))})]})})}},43419:function(e,t,n){"use strict";n.d(t,{m:function(){return d},r:function(){return i}});var r=n(85893),l=n(94184),a=n.n(l);let i=e=>
1{let{className:t,mobileWidth:n="100",desktopWidth:l="100",children:i,borderLeft:o,borderRight:s,padded:d}=e;return(0,r.jsx)("div",{className:a()("u-grid__cell","u-grid__cell--width-".concat(n),"u-grid__cell--width-".concat(l,"@md"),o&&"u-grid__cell--borderLeft",s&&"u-grid__cell--borderRight",d&&"u-grid__cell--padded",t),children:i})};n(67294);var o=n(56547),s=n.n(o);let d=e=>{let{className:t,wrap:n,container:l,nogutter:i,full:o,spaceBetween:d,children:m}=e;return(0,r.jsx)("div",{className:a()(s().Grid,{[s().Grid___wrap]:n},{[s().Grid___container]:l},{[s().Grid___noGutter]:i},{[s().Grid___full]:o},{[s().Grid___spaceBetween]:d},t),children:m})}},47083:function(e,t,n){"use strict";n.d(t,{DM:function(){return a},JX:function(){return i},mc:function(){return r}});let r=e=>{var t;return Number(null===(t=e.match(/\d/g))||void 0===t?void 0:t.join(""))},l=e=>{switch(e){case"DKK":return"da-DK";case"GBP":return"en-UK";case"USD":return"en-US";default:return}},a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"DKK",n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;return new Intl.NumberFormat(l(t),{style:"currency",currency:t,currencyDisplay:n,minimumFractionDigits:r}).format(e)},i=e=>new Intl.NumberFormat("default",{style:"percent",minimumFractionDigits:0,maximumFractionDigits:2}).format(e)},43208:function(e){e.exports={DebtApplication:"DebtApplication_DebtApplication___zyHe"}},69278:function(e){e.exports={DebtForm:"DebtForm_DebtForm__vJWuA",DebtForm_heading:"DebtForm_DebtForm_heading__nOjdQ",DebtForm_grid:"DebtForm_DebtForm_grid__4PqVc",DebtForm_cell:"DebtForm_DebtForm_cell__7oRRc",DebtForm_inputGrid:"DebtForm_DebtForm_inputGrid__9Uexm",DebtForm_field:"DebtForm_DebtForm_field__9RdVX",DebtForm_label:"DebtForm_DebtForm_label__5UI_x",DebtForm_submit:"DebtForm_DebtForm_submit__eZwy8"}},52384:function(e){e.exports={Payment:"ResultFixedMonthlyPayment_Payment__i38ah",Payment_heading:"ResultFixedMonthlyPayment_Payment_heading__rlKEs",Payment_grid:"ResultFixedMonthlyPayment_Payment_grid__DZ8ye",Payment_result:"ResultFixedMonthlyPayment_Payment_result___8XJO",Payment_result___final:"ResultFixedMonthlyPayment_Payment_result___final__xsDfh",Payment_cell:"ResultFixedMonthlyPayment_Payment_cell__9j2u3",Payment_reset:"ResultFixedMonthlyPayment_Payment_reset___EV0o",Payment_spacing:"ResultFixedMonthlyPayment_Payment_spacing__HAkNd"}},60401:function(e){e.exports={BaseInput:"BaseInput_BaseInput__QR2Ct",BaseInput___textRight:"BaseInput_BaseInput___textRight__vCIbm",BaseInput___isInvalid:"BaseInput_BaseInput___isInvalid__JBkED",BaseInput___disabled:"BaseInput_BaseInput___disabled__Lh15Y"}},56815:function(e){e.exports={ErrorMessage:"ErrorMessage_ErrorMessage__6cnos"}},90623:function(e){e.exports={Input:"Input_Input__W9i4z",Input_container:"Input_Input_container__g_tJl",Input_container___withButtonOrAppendtext:"Input_Input_container___withButtonOrAppendtext__hknh0",Input_input:"Input_Input_input__wublj",Input_input___withButtonIcon:"Input_Input_input___withButtonIcon__S82PK",Input_extend:"Input_Input_extend__f4Qws",Input_extend___prepend:"Input_Input_extend___prepend__Rmxlf",Input_extend___append:"Input_Input_extend___append__4QuLe",Input_extend___icon:"Input_Input_extend___icon__Go_aj",Input_extend___text:"Input_Input_extend___text___9iml",Input_extend___hasError:"Input_Input_extend___hasError__s7Gcf",Input_extend___disabled:"Input_Input_extend___disabled__ZjCDY",Input_helpButton:"Input_Input_helpButton__nJiMr",Input_errorText:"Input_Input_errorText__vZFVW",Input_errorMessage:"Input_Input_errorMessage___r0np"}},56547:function(e){e.exports={Grid:"Grid_Grid__1fJeJ",Grid___right:"Grid_Grid___right__KmABr",Grid___left:"Grid_Grid___left__WXx93",Grid___wrap:"Grid_Grid___wrap__Ocn5J",Grid___top:"Grid_Grid___top__z9_IN",Grid___center:"Grid_Grid___center__frT5C",Grid___horizontalCenter:"Grid_Grid___horizontalCenter__2bYmJ",Grid___bottom:"Grid_Grid___bottom__ZPP1b",Grid___full:"Grid_Grid___full__CRdoF",Grid___noGutter:"Grid_Grid___noGutter__DZB4v",Grid___rowGap:"Grid_Grid___rowGap__XlIvb",Grid___spaceBetween:"Grid_Grid___spaceBetween__xX08g",Grid___stretch:"Grid_Grid___stretch__XHkZq",Grid___container:"Grid_Grid___container__nDdWo"}},7515:function(e){"use strict";e.exports=JSON.parse('{"monthArrayLabel":"V\xe6lg en m\xe5ned","yearArrayLabel":"V\xe6lg et \xe5r","formTitle":"Beregn betaling af din g\xe6ld","debtSizeLabel":"Samlet g\xe6ld","debtSizeButtonTitle":"Info om din g\xe6ld","srDebtSizeInfo":"Info om g\xe6ldens st\xf8rrelse","phDebtSize":"Indtast g\xe6ld","debtSizeInfo":"Indtast st\xf8rrelsen p\xe5 din g\xe6ld i dette felt","selectLegend":"Beregn ud fra","selectFirstLabel":"Hvad du har r\xe5d til at betale hver m\xe5ned","selectSecondLabel":"Hvorn\xe5r du \xf8nsker at v\xe6re g\xe6ldfri","monthlyPaymentLabel":"Bel\xf8b hver m\xe5ned (min. 200 kr.)","monthlyPaymentButtonTitle":"Info om afdrag","srMonthlyPayment":"Info om fast m\xe5nedlig bel\xf8b","monthlyPaymentPlaceholder":"Afdragsbel\xf8b","selectMonthLabel":"V\xe6lg m\xe5ned","srSelectMonth":"Info om valg af m\xe5ned","selectMonthButtonTitle":"Info om valg af m\xe5ned","selectYearLabel":"V\xe6lg \xe5r","srSelectYear":"Info om valg af \xe5r","selectYearButtonTitle":"Info om valg af \xe5r","calculateButton":"Beregn","resetFormButton":"Lav ny beregning","modalDebtSizeContent":"Har du f\xe5et et brev fra os, kan du der se, hvad du skylder. Du kan l\xe6se mere om, hvor du finder oplysninger om din g\xe6lds st\xf8rrelse, p\xe5 <a href=\\"https://www.gaeldst.dk/borger/overblik-over-din-gaeld/\\">G\xe6ldsstyrelsens side om g\xe6ldsoverblik.</a>","modalMonthlyPaymentContent":"Skriv det bel\xf8b du kan betale hver m\xe5ned (minimum 200 kr.). Jo mere du kan betale, jo f\xe6rre renter betaler du.","modalSelectMonthContent":"","modalSelectYearContent":"","modalCloseButton":"Luk","resultSingleMonth":"m\xe5ned","resultMultipleMonths":"m\xe5neder","resultAnd":"og","resultSingleYear":"\xe5r","resultMultipleYears":"\xe5r","resultHeader":"S\xe5dan kan din \xf8konomi se ud","resultMonthlyPaymentLabel":"Betaling hver m\xe5ned:","resultDebtFreeBy":"Du er g\xe6ldfri om:","resultCollapseTitle":"S\xe5dan har vi beregnet din g\xe6ld","resultCalculationExplainer":"Beregningen er lavet ud fra, at du betaler den 1. i hver m\xe5ned","resultYearlyInterestLabel":"\xc5rlig rentesats","resultMonthlyInterestLabel":"Dine renteomkostninger hver m\xe5ned","resultTotalInterestLabel":"Dine samlede renteomkostninger","resultTotalCostOfDebt":"I alt skal du betale (din g\xe6ld plus renter):","errorDebtSize":"Indtast venligst g\xe6ldens st\xf8rrelse","errorIntegerOnly":"Indtast kun som heltal","errorMonthlyPayment":"Indtast venligst det m\xe5nedlige bel\xf8b du vil afdrage","errorMonthlyPaymentAmount":"Bel\xf8bet skal v\xe6re st\xf8rre end din m\xe5nedlige rente p\xe5 ","errorSelectMonth":"V\xe6lg venligst en m\xe5ned","errorSelectYear":"V\xe6lg venligst et \xe5rstal","errorDateOutOfBounds":"V\xe6lg venligst en m\xe5ned der ligger i fremtiden","errorMinimumPaymentSize":"Minimum 200 kr.","localisedCurrency":"kr."}')},82248:function(e){"use strict";e.exports=JSON.parse('{"monthArrayLabel":"Choose month","yearArrayLabel":"Choose year","formTitle":"Calculate payment of your debt","debtSizeLabel":"Size of the debt","debtSizeButtonTitle":"How to find the size of your debt","srDebtSizeInfo":"Info on debt size","phDebtSize":"Enter debt amount","debtSizeInfo":"Enter the size of your debt in this field","selectLegend":"Calculate the repayment of your debt by","selectFirstLabel":"What you can afford to pay on a monthly basis","selectSecondLabel":"When you want to be free of debt","monthlyPaymentLabel":"Amount per month (min. 200 kr.)","monthlyPaymentButtonTitle":"Info on monthly installments","srMonthlyPayment":"Info on monthly payment","monthlyPaymentPlaceholder":"Amount","selectMonthLabel":"Choose month","srSelectMonth":"Cho
1ose month info","selectMonthButtonTitle":"Info on choosing month","selectYearLabel":"Choose year","srSelectYear":"Choose year info","selectYearButtonTitle":"Info on choosing year","calculateButton":"Calculate","resetFormButton":"Make a new calculation","modalDebtSizeContent":"If you have received a letter from us, it will state how much you owe. You can find more information about the size of your debt, on our <a href=\\"https://www.gaeldst.dk/borger/overblik-over-din-gaeld/\\">page about debt overview.</a>","modalMonthlyPaymentContent":"Enter the amount you can pay each month (minimum 200 kr.). The more you can pay, the less interest you will have to pay.","modalSelectMonthContent":"","modalSelectYearContent":"","modalCloseButton":"Close","resultSingleMonth":"month","resultMultipleMonths":"months","resultAnd":"and","resultSingleYear":"year","resultMultipleYears":"years","resultHeader":"What your finances will look like","resultMonthlyPaymentLabel":"Payment per month:","resultDebtFreeBy":"You will be free of debt in:","resultCollapseTitle":"How we have calculated your debt (closed accordion)","resultCalculationExplainer":"The calculation is based on monthly payments ","resultYearlyInterestLabel":"Annual interest rate","resultMonthlyInterestLabel":"Your interest costs per month","resultTotalInterestLabel":"Your total interest costs","resultTotalCostOfDebt":"In total, you have to pay (your debt plus interest):","errorDebtSize":"Please enter the size of your debt","errorIntegerOnly":"Use only integers","errorMonthlyPayment":"Enter the monthly amount you wish to repay","errorMonthlyPaymentAmount":"The amount must be larger than your monthly interest of ","errorSelectMonth":"Select month","errorSelectYear":"Select year","errorDateOutOfBounds":"You must choose a future month","errorMinimumPaymentSize":"Minimum 200 kr.","localisedCurrency":"DKK"}')}}]);

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.