1"use strict";(window.webpackChunksdc_neos=window.webpackChunksdc_neos||[]).push([[2745],{20637:(e,n,t)=>{t.d(n,{R8:()=>r});var a=t(88767),o=t(2344);function i(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var r=function(e){var n=(0,o.h_)();return(0,a.useQuery)(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){i(e,n,t[n])})}return e}({},function(e){var n={queryFn:function(){return function(e){return e.getCreatedAtPensionInfo()}(e)},queryKey:["getCreatedAtPensionInfo"]};return n}(n),e))}},72745:(e,n,t)=>{t.d(n,{d2:()=>X,lx:()=>Q,ai:()=>U});var a=t(67294),o=t(57709),i=t(94277),r=t(20637),c=t(78977),s=t(11054),l=t(14578),u=t(27484),m=t.n(u);const d=function(e){var n=e.text;return a.createElement("div",{className:"recommendation"},n)};var p,_,v=t(94184),f=t.n(v),E=t(72798),y=t(81449);(_=p||(p={})).GREEN="GREEN",_.RED="RED",_.YELLOW="YELLOW";const O=function(e){var n=e.status,t=(0,o.f)(),i=function(e){var n={};switch(e){case p.RED:n.icon="icon_16_exclamation-mark",n.iconColor="color-recommendation-negative",n.color="red",n.text=t.farBelowRecommendation;break;case p.YELLOW:n.icon="icon_16_exclamation-mark",n.iconColor="color-recommendation-warning",n.color="yellow",n.text=t.belowRecommendation;break;case p.GREEN:n.icon="icon_16_checkmark",n.iconColor="color-recommendation-positive",n.color="green",n.text=t.withinRecommendation}return n}(n);return a.createElement("div",{className:f()("recommendation-status","recommendation-status__color--".concat(i.color))},a.createElement("div",{className:"recommendation-status__icon"},a.createElement(E.Z,{size:"tiny",color:i.iconColor,borderColor:i.iconColor},a.createElement(y.Z,{iconId:i.icon}))),a.createElement("div",{className:"recommendation-status__text"},i.text))};var C,L,b,N;function h(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}(L=C||(C={})).GREEN="GREEN",L.RED="RED",L.YELLOW="YELLOW",(N=b||(b={})).AT_ONCE="At once",N.A_NUMBER_OF_YEARS="A number of years",N.AS_LONG_AS_YOU_LIVE="As long as you live";var A,g=function(e){var n,t=(0,o.f)();return a.createElement(a.Fragment,null,null===(n=e.data)||void 0===n?void 0:n.map(function(n,o){return a.createElement("div",{className:f()("pension-and-insurances-calculation-card",{"pension-and-insurances-calculation-card__pension":!e.isInsurance,"pension-and-insurances-calculation-card__insurance":e.isInsurance," pension-and-insurances-calculation-card__insurance__margin--top":n.statusRecommendation&&e.isInsurance,"pension-and-insurances-calculation-card__margin--top":n.statusRecommendation&&!e.isInsurance}),key:o},n.statusRecommendation&&a.createElement(O,{status:I(n.statusRecommendation)}),a.createElement("div",{className:f()("pension-and-insurances-calculation-card__type",{"pension-and-insurances-calculation-card__type--margin--bottom":!n.recommendation})},a.createElement("div",{className:"pension-and-insurances-calculation-card__type--label"},function(e){switch(e){case b.AT_ONCE:return t.atOnce;case b.A_NUMBER_OF_YEARS:return t.aNumberOfYears;case b.AS_LONG_AS_YOU_LIVE:return t.asLongAsYouLive}}(n.type)),a.createElement("div",{className:"pension-and-insurances-calculation-card__type--value"},n.value)),n.recommendation&&a.createElement("div",{className:f()({"pension-and-insurances-calculation-card__recommendation":e.isInsurance})},a.createElement(d,{text:n.recommendation})))}))},I=function(e){return(h(A={},C.RED,p.RED),h(A,C.YELLOW,p.YELLOW),h(A,C.GREEN,p.GREEN),A)[e]},P=t(96967),R=t(93463);const S=function(e){var n,t,o=e.icon,i=e.title,r=e.tootltipText,c=(n=(0,a.useState)(window.innerWidth),t=2,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t=[],a=!0,o=!1,i=void 0;try{for(var r,c=e[Symbol.iterator]();!(a=(r=c.next()).done)&&(t.push(r.value),!n||t.length!==n);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==c.return||c.return()}finally{if(o)throw i}}return t}
1(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),s=c[0],l=c[1];return(0,a.useEffect)(function(){var e=function(){l(window.innerWidth)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[]),a.createElement("div",{className:"pension-and-insurances-calculation-pension-header"},a.createElement("div",{className:"pension-and-insurances-calculation-pension-header__icon"},a.createElement(E.Z,{size:"".concat(s<=768?"extra-large":"medium-2"),color:"white",bgColor:"color-muted-2",borderColor:"color-muted-2"},a.createElement(y.Z,{iconId:o,className:"icon--large icon--black"}))),a.createElement("h1",{className:"pension-and-insurances-calculation-pension-header__title"},i),r&&a.createElement("div",{className:"pension-and-insurances-calculation-pension-header__tooltip--container"},a.createElement(R.Z,{className:"pension-and-insurances-calculation-pension-header__tooltip",labels:{tooltip:r}},a.createElement(P.Z,{iconId:"icon_16_info-circle"}))))};var w=t(90062),M=t(1822),k=function(e){return M.H.formatCurrency(Number(e),w.NE.DKK,{showCurrencyDisplay:!0,intl:{maximumFractionDigits:0,minimumFractionDigits:0}})},D=function(e,n,t){switch(n){case C.GREEN:var a;return null!==(a=null==e?void 0:e.payoutMeetsRecommendation)&&void 0!==a?a:"";case C.YELLOW:case C.RED:var o;return null!==(o=(0,c.Z)(null==e?void 0:e.recommendationIncrease,{value:k(null!=t?t:0)}))&&void 0!==o?o:"";default:return""}},T=function(e){var n,t,i,r,c,s,l,u,m,d=e.pensionData,p=(0,o.f)(),_={payoutMeetsRecommendation:p.payoutMeetsRecommendations,recommendationIncrease:p.recommendationPayment},v={payoutMeetsRecommendation:p.payoutMeetsRecommendations,recommendationIncrease:p.recommendationPaymentPerMonth};return a.createElement("div",{className:"pension-and-insurances-calculation-pension"},a.createElement(S,{icon:"icon_16_umbrella",title:p.pension}),a.createElement("div",{className:"pension-and-insurances-calculation-pension__content"},a.createElement("div",{className:"pension-and-insurances-calculation-pension__infos"},a.createElement("div",{className:"pension-and-insurances-calculation-pension__infos__total"},a.createElement("div",{className:"pension-and-insurances-calculation-pension__infos__total--text"},p.totalPensionSavings),a.createElement("div",{className:"pension-and-insurances-calculation-pension__infos__total--value"},k(d.retirementPension.value))),a.createElement("div",{className:"pension-and-insurances-calculation-pension__infos__age"},a.createElement("div",{className:"pension-and-insurances-calculation-pension__infos__age--text"},p.ageAtPayout),a.createElement("div",{className:"pension-and-insurances-calculation-pension__infos__age--value"},"".concat(d.pensionAge.value," ").concat(p.global.years.toLowerCase()))),a.createElement("div",{className:"pension-and-insurances-calculation-pension__infos__blank"})),a.createElement("div",{className:"pension-and-insurances-calculation-pension__cards"},a.createElement(g,{data:[{type:b.AT_ONCE,value:k(d.pensionLumpSumPayout.value),recommendation:D(_,null===(n=d.pensionLumpSumPayout.recommendation)||void 0===n?void 0:n.result,null===(t=d.pensionLumpSumPayout.recommendation)||void 0===t?void 0:t.resultValue),statusRecommendation:null===(i=d.pensionLumpSumPayout.recommendation)||void 0===i?void 0:i.result}]}),a.createElement(g,{data:[{type:b.A_NUMBER_OF_YEARS,value:"".concat(k(d.pensionLimitedContinuousPayout.value),"/").concat(p.global.month.toLowerCase()),recommendation:D(v,null===(r=d.pensionLimitedContinuousPayout.recommendation)||void 0===r?void 0:r.result,null===(c=d.pensionLimitedContinuousPayout.recommendation)||void 0===c?void 0:c.resultValue),statusRecommendation:null===(s=d.pensionLimitedContinuousPayout.recommendation)||void 0===s?void 0:s.result}]}),a.createElement(g,{data:[{type:b.AS_LONG_AS_YOU_LIVE,value:"".concat(k(d.pensionLifelongContinuousPayout.value),"/").concat(p.global.month.toLowerCase()),recommendation:D(v,null===(l=d.pensionLifelongContinuousPayout.recommendation)||void 0===l?void 0:l.result,null===(u=d.pensionLifelongContinuousPayout.recommendation)||void 0===u?void 0:u.resultValue),statusRecommendation:null===(m=d.pensionLifelongContinuousPayout.recommendation)||void 0===m?void 0:m.result}]})),a.createElement("div",{className:"pension-and-insurances-calculation-pension__inform"},p.payoutWarning)))};const B=function(e){var n=e.icon,t=e.title,o=e.tootltipText,i=e.isInsurance;return a.createElement("div",{className:"pension-and-insurances-calculation-insurances-header"},a.createElement("div",{className:"pension-and-insurances-calculation-insurances-header__icon"},a.createElement(E.Z,{size:"medium-2",color:"white",bgColor:"color-muted-2",borderColor:"color-muted-2"},a.createElement(y.Z,{iconId:n,className:"icon--large"}))),a.createElement("h1",{className:f()("pension-and-insurances-calculation-insurances-header__title",{"pension-and-insurances-calculation-insurances-header__title--small":i}
1)},t),o&&a.createElement("div",{className:"pension-and-insurances-calculation-insurances-header__tooltip--container"},a.createElement(R.Z,{className:"pension-and-insurances-calculation-insurances-header__tooltip",labels:{tooltip:o}},a.createElement(P.Z,{iconId:"icon_16_info-circle"}))))};var F,x;(x=F||(F={})).DEATH="DEATH",x.LOSS_CAPACITY="LOSS_CAPACITY",x.CRITICAL_ILLNESS="CRITICAL_ILLNESS";var Z=function(e){var n=e.insurancesData,t=(0,o.f)(),i={payoutMeetsRecommendation:t.payoutMeetsRecommendations,recommendationIncrease:t.recommendationPayment},r={payoutMeetsRecommendation:t.payoutMeetsRecommendations,recommendationIncrease:t.recommendationPaymentPerMonth},c=function(e){switch(e){case F.DEATH:var a,o,c,s,l,u;return[{type:b.AT_ONCE,value:k(n.insuranceDeathLumpSumPayout.value),recommendation:D(i,null===(a=n.insuranceDeathLumpSumPayout.recommendation)||void 0===a?void 0:a.result,null===(o=n.insuranceDeathLumpSumPayout.recommendation)||void 0===o?void 0:o.resultValue),statusRecommendation:null===(c=n.insuranceDeathLumpSumPayout.recommendation)||void 0===c?void 0:c.result},{type:b.A_NUMBER_OF_YEARS,value:"".concat(k(n.insuranceDeathContinuousPayout.value),"/").concat(t.global.month.toLowerCase()),recommendation:D(r,null===(s=n.insuranceDeathContinuousPayout.recommendation)||void 0===s?void 0:s.result,null===(l=n.insuranceDeathContinuousPayout.recommendation)||void 0===l?void 0:l.resultValue),statusRecommendation:null===(u=n.insuranceDeathContinuousPayout.recommendation)||void 0===u?void 0:u.result}];case F.LOSS_CAPACITY:var m,d,p,_,v,f;return[{type:b.AT_ONCE,value:k(n.insuranceLossOfEarningCapacityLumpSumPayout.value),recommendation:D(i,null===(m=n.insuranceLossOfEarningCapacityLumpSumPayout.recommendation)||void 0===m?void 0:m.result,null===(d=n.insuranceLossOfEarningCapacityLumpSumPayout.recommendation)||void 0===d?void 0:d.resultValue),statusRecommendation:null===(p=n.insuranceLossOfEarningCapacityLumpSumPayout.recommendation)||void 0===p?void 0:p.result},{type:b.A_NUMBER_OF_YEARS,value:"".concat(k(n.insuranceLossOfEarningCapacityContinuousPayout.value),"/").concat(t.global.month.toLowerCase()),recommendation:D(r,null===(_=n.insuranceLossOfEarningCapacityContinuousPayout.recommendation)||void 0===_?void 0:_.result,null===(v=n.insuranceLossOfEarningCapacityContinuousPayout.recommendation)||void 0===v?void 0:v.resultValue),statusRecommendation:null===(f=n.insuranceLossOfEarningCapacityContinuousPayout.recommendation)||void 0===f?void 0:f.result}];case F.CRITICAL_ILLNESS:var E,y,O;return[{type:b.AT_ONCE,value:k(n.insuranceCriticalIllnessesLumpSumPayout.value),recommendation:D(i,null===(E=n.insuranceCriticalIllnessesLumpSumPayout.recommendation)||void 0===E?void 0:E.result,null===(y=n.insuranceCriticalIllnessesLumpSumPayout.recommendation)||void 0===y?void 0:y.resultValue),statusRecommendation:null===(O=n.insuranceCriticalIllnessesLumpSumPayout.recommendation)||void 0===O?void 0:O.result}]}};return a.createElement("div",{className:"pension-and-insurances-calculation-insurances"},a.createElement("h1",{className:"pension-and-insurances-calculation-insurances__title"},t.yourInsurances),a.createElement("div",{className:"pension-and-insurances-calculation-insurances__container"},a.createElement("div",{className:"pension-and-insurances-calculation-insurances__card"},a.createElement(B,{icon:"icon_16_death",title:t.death,tootltipText:t.deathTooltip,isInsurance:!0}),a.createElement(g,{data:c(F.DEATH),isInsurance:!0}),a.createElement("div",{className:"pension-and-insurances-calculation-insurances__inform"},t.payoutWarning)),a.createElement("div",{className:"pension-and-insurances-calculation-insurances__card"},a.createElement(B,{icon:"icon_16_work",title:t.lossOfEarningCapacity,tootltipText:t.lostEarningCapacityTooltip,isInsurance:!0}),a.createElement(g,{data:c(F.LOSS_CAPACITY),isInsurance:!0}),a.createElement("div",{className:"pension-and-insurances-calculation-insurances__inform"},t.payoutWarning)),a.createElement("div",{className:"pension-and-insurances-calculation-insurances__card"},a.createElement(B,{icon:"icon_16_critical-illness",title:t.criticalIllness,tootltipText:t.criticalIllnessTooltip,isInsurance:!0}),a.createElement(g,{data:c(F.CRITICAL_ILLNESS),isInsurance:!0}),a.createElement("div",{className:"pension-and-insurances-calculation-insurances__inform"},t.payoutWarning))))},Y=t(56996),W=t(27086),j=t(80449),V=t(12902),K=t(88767),H=t(79922),q=t(2344);function G(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function z(e){return["getPensionInfoCalculation",e]}var U=function(){$();var e=(0,j.EH)("monthlySalaryRate"),n=0;e&&(n=parseFloat(e));var t,u,d,p=(0,o.f)(),_=(0,l.Z)(),v=J(),f=v.confirmationModalOpened,E=v.setConfirmationModalOpened,y=(0,r.R8)(),O=y.data,C=y.isLoading,L=y.error,b=(t={monthlySalaryRate:n},d=(0,q.h_)(),(0,K.useQuery)(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){G(e,n,t[n])})}return e}({},function(e,n){var t={queryFn:function(){return function(e,n){return e.getPensionInfoCalculation(n)}(e,(0,H.Z)(n,"Expected payload"))},queryKey:z(n),enabled:!!n};return t}(d,t),u))),N=b.data,h=b.isLoading,A=b.error,g=null,I=null;N&&(g={retirementPension:N.retirementPension,pensionAge:N.pensionAge,pensionLimitedContinuousPayout:N.pensionLimitedContinuousPayout,pensionLifelongContinuousPayout:N.pensionLifelongContinuousPayout,pensionLumpSumPayout:N.pensionLumpSumPayout},I={insuranceLossOfEarningCapacityLumpSumPayout:N.insuranceLossOfEarningCapacityLumpSumPayout,insuranceLossOfEarningCapacityContinuousPayout:N.insuranceLossOfEarningCapacityContinuousPayout,insuranceDeathLumpSumPayout:N.insuranceDeathLumpSumPayout,insuranceDeathContinuousPayout:N.insuranceDeathContinuousPayout,insuranceCriticalIllnessesLumpSumPayout:N.insuranceCriticalIllnessesLumpSumPayout});var P=A||L;return P&&_.dismissable(P),C||h?a.createElement(s.Z,{fillHeight:!0}):a.createElement(a.Fragment,null,a.createElement("div",{className:"pension-and-insurances-calculation-top"},a.createElement("div",{className:"pension-and-insurances-calculation-top-hero-section"},a.createElement(i.V,{title:p.futureCheck,description:a.createElement(a.Fragment,null,p.viewYourPensionAssets,a.createElement("br",{key:"br1"}),a.createElement("br",{key:"br2"}),O?(0,c.Z)(p.informationPensionsInfoFrom,{createdAt:m()(O.createdAt).format("DD.MM.YYYY HH:mm")}
1):""),backButton:{text:p.backPensionAndInsurances,handler:function(){return E(!0)}},hasContactAdvisorBtn:!0,tooltipText:"".concat(p.futureCheckTooltip1,"<br />\n ").concat(p.futureCheckTooltip2,"<br />\n <ul>\n <li>").concat(p.futureCheckTooltip3,"</li>\n <li>").concat(p.futureCheckTooltip4,"</li>\n <li>").concat(p.futureCheckTooltip5,"</li>\n <li>").concat(p.futureCheckTooltip6,"</li>\n <li>").concat(p.futureCheckTooltip7,"</li>\n <li>").concat(p.futureCheckTooltip8,"</li> \n <li>").concat(p.futureCheckTooltip9,"</li>\n <li>").concat(p.futureCheckTooltip10,"</li>\n <li>").concat(p.futureCheckTooltip11,"</li>\n </ul>")}))),a.createElement("div",{className:"pension-and-insurances-calculation-bottom"}
1,g?a.createElement(T,{pensionData:g}):null,I?a.createElement(Z,{insurancesData:I}):null),a.createElement(V.c,{labels:{primaryButton:p.global.yesLeave,secondaryButton:p.global.noContinue,headline:p.global.areYouSureYouWantToLeave,description:p.theFutureCheckWillBeLost},primaryButtonAction:function(){return(0,j.uX)(Q)},secondaryButtonAction:function(){return E(!1)},isOpen:f,onRequestClose:function(){return E(!1)},narrow:!0,primaryButtonColor:"delete"}))},Q="".concat(Y.vc.sitecore.endpoints.ebankRoot,"/pension-and-insurances/pension-and-futurecheck"),X="pensionAndInsurancesCalculated",$=function(){(0,a.useEffect)(function(){(0,W.Io)(X),(0,W.$b)(X)},[])},J=function(){var e,n,t=(e=(0,a.useState)(!1),n=2,function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=[],a=!0,o=!1,i=void 0;try{for(var r,c=e[Symbol.iterator]();!(a=(r=c.next()).done)&&(t.push(r.value),!n||t.length!==n);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==c.return||c.return()}finally{if(o)throw i}}return t}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),o=t[0],i=t[1];return(0,a.useEffect)(function(){var e=function(e){if(o)return!0;e.preventDefault()};return window.addEventListener("beforeunload",e),function(){return window.removeEventListener("beforeunload",e)}},[o]),{confirmationModalOpened:o,setConfirmationModalOpened:i}}},94277:(e,n,t)=>{t.d(n,{V:()=>A});var a=t(67294),o=t(57709),i=t(28968),r=t(88767),c=t(2344),s=t(14578),l=t(12902),u=t(94184),m=t.n(u),d=t(69189),p=t(59137),_=t(17249),v=function(e){var n=e.labels,t=e.isOpen,o=e.onRequestClose,i=e.className,r=e.narrow,c=m()("information-modal",i);return a.createElement(_.Z,{isOpen:t,onRequestClose:o,shouldCloseOnOverlayClick:!0,ariaHideApp:!1,narrow:r,contentLabel:n.headline},a.createElement(d.Z,{shadow:!0},a.createElement(p.Z,{className:"information-modal__card-body"},a.createElement("div",{className:c},a.createElement("span",{className:"information-modal__headline"},n.headline),n.description&&a.createElement("span",{className:"information-modal__description"},n.description)))))},f=t(78977),E=t(93463),y=t(96967);function O(e,n,t,a,o,i,r){try{var c=e[i](r),s=c.value}catch(e){return void t(e)}c.done?n(s):Promise.resolve(s).then(a,o)}function C(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function L(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){C(e,n,t[n])})}return e}var b,N,h=t(35666),A=function(e){var n,t,u,m,d=e.title,p=e.description,_=e.backButton,C=e.hasContactAdvisorBtn,L=e.tooltipText,N=(0,o.f)(),A=(0,s.Z)(),P=(u=(0,a.useReducer)(I,g),m=2,function(e){if(Array.isArray(e))return e}(u)||function(e,n){var t=[],a=!0,o=!1,i=void 0;try{for(var r,c=e[Symbol.iterator]();!(a=(r=c.next()).done)&&(t.push(r.value),!n||t.length!==n);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==c.return||c.return()}finally{if(o)throw i}}return t}(u,m)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),R=P[0],S=P[1],w=R.confirmBookModalOpened,M=R.informationModalOpened,k=(n=(0,c.h_)(),(0,r.useMutation)(function(){return n.bookMeetingPensionInfo()},void 0)),D=k.mutateAsync,T=k.isLoading,B=(t=h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,D();case 3:S({type:b.CLOSE_CONFIRM_BOOK_MODAL}),S({type:b.OPEN_INFORMATIONAL_MODAL}),e.next=11;break;case 7:e.prev=7,e.t0=e.catch(0),S({type:b.CLOSE_CONFIRM_BOOK_MODAL}),A.dismissable(e.t0);case 11:case"end":return e.stop()}},e,null,[[0,7]])}),function(){var e=this,n=arguments;return new Promise(function(a,o){var i=t.apply(e,n);function r(e){O(i,a,o,r,c,"next",e)}function c(e){O(i,a,o,r,c,"throw",e)}r(void 0)})});return a.createElement("div",{className:"pension-and-insurances-hero-section"},_?a.createElement(i.Z,{className:"pension-and-insurances-hero-section__back-btn",iconId:"icon_16_arrow-left",onClick:_.handler,type:"button",small:!0,color:"transparent"},_.text):null,a.createElement("div",{className:"pension-and-insurances-hero-section__title"},a.createElement("h1",{className:"pension-and-insurances-hero-section__title--label"},d),L&&a.createElement("div",{className:"pension-and-insurances-hero-section__title--tooltip"},a.createElement(E.Z,{richTextTooltip:!0,labels:{tooltip:L}},a.createElement(y.Z,{iconId:"icon_16_info-circle"})))),a.createElement("p",{className:"pension-and-insurances-hero-section__description"},p),C?a.createElement(i.Z,{className:"pension-and-insurances-hero-section__advisor-btn",iconId:"icon_16_arrow-line-right",onClick:function(){return S({type:b.OPEN_CONFIRM_BOOK_MODAL})},type:"button",color:"default",large:!0,noBorder:!0,trailingIcon:!0},N.global.contactAdvisor):null,a.createElement(l.c,{labels:{primaryButton:N.global.contactAdvisor,secondaryButton:N.global.cancel,headline:N.getPensionAdvice,description:a.createElement(a.Fragment,null,N.futureCheckCannotStandAlone,a.createElement("br",{key:"br1"}),a.createElement("br",{key:"br2"}),(0,f.Z)(N.pressButtonStartDialogue,{bankName:N.bankInformation.bankName}))},primaryButtonAction:B,secondaryButtonAction:function(){return S({type:b.CLOSE_CONFIRM_BOOK_MODAL})},isOpen:w,onRequestClose:function(){return S({type:b.CLOSE_CONFIRM_BOOK_MODAL})},loading:T,narrow:!0}),a.createElement(v,{labels:{headline:N.global.theRequestWasSent,description:N.youWillBeNotifiedWhenBanks},isOpen:M,onRequestClose:function(){return S({type:b.CLOSE_INFORMATIONAL_MODAL})},narrow:!0}))};(N=b||(b={})).OPEN_CONFIRM_BOOK_MODAL="OPEN_CONFIRM_BOOK_MODAL",N.CLOSE_CONFIRM_BOOK_MODAL="CLOSE_CONFIRM_BOOK_MODAL",N.OPEN_INFORMATIONAL_MODAL="OPEN_INFORMATIONAL_MODAL",N.CLOSE_INFORMATIONAL_MODAL="CLOSE_INFORMATIONAL_MODAL",N.OPEN_CONFIRM_LEAVE_MODAL="OPEN_CONFIRM_LEAVE_MODAL",N.CLOSE_CONFIRM_LEAVE_MODAL="CLOSE_CONFIRM_LEAVE_MODAL";var g={confirmBookModalOpened:!1,informationModalOpened:!1},I=function(e,n){switch(n.type){case b.OPEN_CONFIRM_BOOK_MODAL:return L({},e,{confirmBookModalOpened:!0});case b.CLOSE_CONFIRM_BOOK_MODAL:return L({},e,{confirmBookModalOpened:!1});case b.OPEN_INFORMATIONAL_MODAL:return L({},e,{informationModalOpened:!0});case b.CLOSE_INFORMATIONAL_MODAL:return L({},e,{informationModalOpened:!1});default:return e}}},59137:(e,n,t)=>{t.d(n,{Z:()=>r});var a=t(94184),o=t.n(a),i=t(67294);const r=function(e){var n=e.className,t=e.border,a=e.children;return i.createElement("div",{className:o()("card__body",n,{"card__body--has-border":t})},a)}},81449:(e,n,t)=>{t.d(n,{Z:()=>i});var a=t(67294),o=t(96967);const i=function(e){var n=e.iconId,t=e.className;return a.createElement("div",{className:"circle__icon"},a.createElement(o.Z,{iconId:n,className:t}))}},72798:(e,n,t)=>{t.d(n,{Z:()=>l});var a,o=t(94184),i=t.n(o),r=t(67294),c=t(96967);function s(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}const l=function(e){var n=i()("circle",(s(a={},"circle--color-".concat(e.color),!!e.color),s(a,"circle--bg-color-".concat(e.bgColor),!!e.bgColor),s(a,"circle--border-color-".concat(e.borderColor),!!e.borderColor),s(a,"circle--size-".concat(e.size),!!e.size),s(a,"circle--with-box-sha
1dow",!!e.withBoxShadow),s(a,"".concat(e.className),!!e.className),a));return r.createElement("span",{className:n},e.withCheckmark&&r.createElement(c.Z,{className:"circle__checkmark",iconId:"icon_16_checkmark"}),e.children)}},12902:(e,n,t)=>{t.d(n,{c:()=>u});var a=t(94184),o=t.n(a),i=t(67294),r=t(69189),c=t(59137),s=t(82825),l=t(17249),u=function(e){var n=e.labels,t=e.primaryButtonAction,a=e.secondaryButtonAction,u=e.isOpen,m=e.onRequestClose,d=e.className,p=e.loading,_=e.disabled,v=e.children,f=e.narrow,E=e.primaryButtonColor,y=o()("confirmation-modal",d);return i.createElement(l.Z,{isOpen:u,onRequestClose:m,shouldCloseOnOverlayClick:!0,ariaHideApp:!1,narrow:f},i.createElement(r.Z,{shadow:!0},i.createElement(c.Z,{className:"confirmation-modal__card-body"},i.createElement("div",{className:y,"data-testid":"confirmation-modal"},i.createElement("span",{className:"confirmation-modal__headline"},n.headline),n.description&&i.createElement("span",{className:"confirmation-modal__description"},n.description),v)),i.createElement(s.O,{buttonHeight:"medium",actionList:[{label:n.secondaryButton,onClick:a,color:"white",noBorder:!0},{label:n.primaryButton,onClick:t,disabled:_,color:E||"default",noBorder:!0,loading:p}]})))}},82825:(e,n,t)=>{t.d(n,{O:()=>c});var a=t(94184),o=t.n(a),i=t(67294),r=t(28968),c=function(e){return i.createElement("div",{className:"modal-action-buttons"},e.actionList.map(function(n){var t;return i.createElement(r.Z,{key:n.label,onClick:n.onClick,className:o()("modal-action-buttons__button ".concat(n.className),{"modal-action-buttons__button-small":"small"===e.buttonHeight,"modal-action-buttons__button-medium":"medium"===e.buttonHeight}),color:null!==(t=n.color)&&void 0!==t?t:"invert",disabled:n.disabled,fullWidth:!0,noBorder:n.noBorder,loading:n.loading,iconId:n.iconId,iconCenter:!0,trailingIcon:n.trailingIcon},n.label)}))}}}]); 2//# sourceMappingURL=2745.22c6bd9eb3f314e75f80.js.map
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.