1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5732],{27602:function(n,e,t){t.d(e,{U2:function(){return b},sQ:function(){return Z}});var i=t(85893),r=t(67294),o=t(66177),a=t(40022),c=t(32536),s=t(24750),d=t(68878),l=function(n){var e=n.chartData,t=n.onClickChartSlice,r=n.checkColorToRender;return(0,i.jsx)(c.Y2,{data:e,margin:{top:24,bottom:48,right:-36,left:0},colors:function(n){return r(n.data)},innerRadius:.5,padAngle:.75,cornerRadius:3,activeOuterRadiusOffset:8,borderWidth:1,arcLabelsTextColor:"#fff",arcLabel:function(n){return"".concat(n.value,"%")},arcLinkLabel:function(n){return"".concat(n.label)},arcLabelsSkipAngle:10,arcLinkLabelsTextColor:"white",borderColor:{from:"color",modifiers:[["darker",.85]]},onClick:function(n){return t(n)},theme:d.ui,tooltip:function(n){var e=n.datum,t=e.value,r=e.color,o=e.label;return(0,i.jsx)(s.Ef,{color:r,value:t,label:o,customValue:"".concat(t,"%")})}})},u=function(n){var e=n.chartData,t=n.onClickChartSlice,r=n.checkColorToRender;return(0,i.jsx)(c.Y2,{data:e,margin:{top:24,bottom:56,right:-140,left:0},colors:function(n){return r(n.data)},innerRadius:.5,padAngle:.75,cornerRadius:3,activeOuterRadiusOffset:15,borderWidth:1,arcLabelsTextColor:"#fff",arcLabel:function(n){return"".concat(n.value,"%")},arcLabelsSkipAngle:15,enableArcLinkLabels:!1,borderColor:{from:"color",modifiers:[["darker",.85]]},onClick:function(n){return t(n)},theme:d.ui,tooltip:function(n){var e=n.datum,t=e.value,r=e.color,o=e.label;return(0,i.jsx)(s.Ef,{color:r,value:t,label:o,customValue:"".concat(t,"%")})},legends:[{anchor:"top-left",direction:"column",justify:!1,translateX:0,translateY:0,itemsSpacing:0,itemWidth:100,itemHeight:16,itemTextColor:"#fff",itemDirection:"left-to-right",itemOpacity:1,symbolSize:12,symbolShape:"square"}]})},h=t(7297),f=t(186),m=t(55545);function p(){var n=(0,h.Z)(["\n width: 100%;\n margin: 24px 0;\n display: flex;\n padding: 16px;\n flex-direction: column;\n\n .chart-disclaimer {\n margin-bottom: 24px;\n width: 100%;\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n > p {\n max-width: 70%;\n font-weight: ",";\n }\n\n p {\n }\n }\n\n .chart-wrapper {\n width: 100%;\n height: 40vh;\n }\n\n .chart-sm {\n display: inherit;\n height: 30vh;\n }\n\n .chart-md {\n display: none;\n }\n\n path {\n cursor: pointer;\n }\n\n @media screen and (min-width: 768px) {\n .chart-wrapper {\n height: 35vh;\n }\n\n .chart-sm {\n display: none;\n }\n .chart-md {\n display: inherit;\n }\n }\n\n @media screen and (min-width: 1024px) {\n flex-direction: row;\n padding: 32px;\n\n .chart-wrapper {\n height: 50vh;\n }\n }\n"]);return p=function(){return n},n}function x(){var n=(0,h.Z)(["\n width: 100%;\n display: flex;\n flex-direction: column;\n gap: 8px;\n\n h3 {\n font-weight: ",";\n font-size: ",";\n }\n\n p {\n line-height: 150%;\n }\n\n @media screen and (min-width: 1024px) {\n max-width: 30%;\n padding-left: 24px;\n border-left: 1px solid ",";\n }\n"]);return x=function(){return n},n}var g=(0,f.ZP)(m.Xe).withConfig({componentId:"sc-3cbcaf9a-0"})(p(),(function(n){return n.theme.weights.semiBold})),v=f.ZP.div.withConfig({componentId:"sc-3cbcaf9a-1"})(x(),(function(n){return n.theme.weights.bold}),(function(n){return n.theme.sizes.bigger}),(function(n){return n.theme.colors.black100})),b=function(n){var e=n.chartData,t=n.labelChartType,c=(0,r.useState)("macro"===t?a.Ee.macro["renda vari\xe1vel"]:a.Ee.micro["a\xe7\xf5es"]),s=c[0],d=c[1],h=function(n){return"bonds"===n.type?(0,o.uj)("renda fixa"):"funds"===n.type?(0,o.uj)("fundos de investimento"):"reits"===n.type?(0,o.uj)("fundos imobili\xe1rios"):"stocks"===n.type?(0,o.uj)("renda vari\xe1vel"):n.color},f=function(n){var e=a.Ee["".concat(t)]["".concat(String(n.label).toLowerCase())];d(e)};return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(g,{children:[(0,i.jsx)("div",{className:"chart-wrapper chart-sm",children:(0,i.jsx)(u,{chartData:e,onClickChartSlice:f,checkColorToRender:h})}),(0,i.jsx)("div",{className:"chart-wrapper chart-md",children:(0,i.jsx)(l,{chartData:e,onClickChartSlice:f,checkColorToRender:h})}),(0,i.jsxs)(v,{children:[(0,i.jsx)("h3",{children:null===s||void 0===s?void 0:s.label}),(0,i.jsx)("p",{children:null===s||void 0===s?void 0:s.text})]})]})})},w=t(55551),j=t(78057),y=t(6758);function k(){var n=(0,h.Z)(["\n width: 100%;\n height: 35vh;\n margin: 8px 0 36px;\n\n @media screen and (min-width: 768px) {\n height: 40vh;\n }\n\n @media screen and (min-width: 1024px) {\n height: 45vh;\n }\n"]);return k=function(){return n},n}var C=f.ZP.div.withConfig({componentId:"sc-e56b6d13-0"})(k()),S={default:{strokeWidth:1}},R={"Gastar tudo":{strokeDasharray:"12, 6",strokeWidth:.75},"Viver de renda":{strokeDasharray:"12, 6",strokeWidth:.75},default:{strokeWidth:1.25}},Z=function(n){var e=n.chartData,t=n.chartStep,a=n.retirement,c=null===e||void 0===e?void 0:e.map((function(n){return n.color})),l=(0,r.useState)([]),u=l[0],h=l[1];(0,r.useEffect)((function(){return h(e),function(){return h(null)}}),[e]);var f=1===t?S:R;return(0,i.jsx)(C,{children:(0,i.jsx)(w.fH,{data:u,margin:{top:24,right:8,bottom:28,left:80},colors:c,animate:!1,enablePoints:!1,enableSlices:"x",useMesh:!0,curve:"basis",xScale:{type:"linear",max:"auto",min:"auto"},yScale:{type:"linear",max:"auto",min:1},axisBottom:{tickSize:10,tickPadding:5,tickRotation:0,legendOffset:10},axisLeft:{tickSize:5,tickPadding:5,tickRotation:0,legendOffset:10,legendPosition:"end",format:function(n){return"".concat((0,o.Ri)(Number(n),!0,0))}},layers:["areas","slices",function(n){var e=n.series,t=n.lineGenerator,r=n.xScale,o=n.yScale;return e.map((function(n){var e=n.id,a=n.data,c=n.color;return(0,i.jsx)("path",{d:t(a.map((function(n){return{x:r(n.data.x),y:o(n.data.y)}}))),fill:"none",stroke:c,style:f[e]||f.default},e)}))},"points","axes","legends","crosshair"],theme:d.B$,sliceTooltip:function(n){var e=n.slice;return(0,i.jsx)(s.vT,{filterType:"$",slice:e,isAge:!0})},markers:[{axis:"x",value:a,lineStyle:{stroke:y.r.colors.gray300,strokeWidth:.5,color:"#fff",strokeDasharray:"3"},legend:String((0,j.dy)({html:!0,set:"apple",emoji:":triangular_flag_on_post:",size:18})).split("aria-label='")[1].split(",")[0],legendOrientation:"horizontal",legendPosition:"top"}]})})}},6984:function(n,e,t){t.d(e,{nd:function(){return f},OF:function(){return C},Tn:function(){return Z}});var i=t(85893),r=(t(67294),t(66177)),o=t(7297),a=t(186);function c(){var n=(0,o.Z)([""]);return c=function(){return n},n}function s(){var n=(0,o.Z)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 24px;\n background-color: ",";\n margin-bottom: 24px;\n border-radius: ",";\n\n h3 {\n font-weight: ",";\n }\n\n p {\n margin-top: 4px;\n }\n"]);return s=function(){return n},n}function d(){var n=(0,o.Z)(["\n width: 100%;\n height: 0.5px;\n opacity: 0.2;\n margin: 12px 0px;\n"]);return d=function(){return n},n}var l=a.ZP.div.withConfig({componentId:"sc-e24a1b48-0"})(c()),u=a.ZP.div.withConfig({componentId:"sc-e24a1b48-1"})(s(),(function(n){return n.theme.colors.blackDarker}),(function(n){return n.theme.borders.minimal}),(function(n){return n.theme.weights.bold})),h=a.ZP.hr.withConfig({componentId:"sc-e24a1b48-2"})(d()),f=function(n){var e=n.legends,t=n.informations;return(0,i.jsx)(l,{children:t.map((function(n,t){return(0,i.jsxs)(u,{children:[(0,i.jsx)("h3",{style:{color:"".concat(n.color?n.color:"#fff")},children:n.label}),(0,i.jsx)(h,{}),(0,i.jsx)("h4",{children:e[0]}),(0,i.jsx)("p",{children:n.monthlyContributions}),(0,i.jsx)(h,{}),(0,i.jsx)("h4",{children:e[1]}),(0,i.jsx)("p",{children:(0,r.Ri)(n.conqueredPatrimony)}),(0,i.jsx)(h,{}),(0,i.jsx)("h4",{children:e[2]}),(0,i.jsx)("p",{children:n.age}),n.afterRetirement&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(h,{}),(0,i.jsx)("h4",{children:e[3]}),(0,i.jsx)("p",{children:(0,r.Ri)(n.afterRetirement)})]})]},t)}))})},m=t(35282),p=t(19781);function x(){var n=(0,o.Z)(["\n width: 100%;\n /* overflow-x: auto; */\n margin-bottom: 36px;\n color: ",";\n\n @media screen and (min-width: 1024px) {\n display: flex;\n justify-content: center;\n }\n"]);return x=function(){return n},n}function g(){var n=(0,o.Z)([""]);return g=function(){return n},n}function v(){var n=(0,o.Z)(["\n padding: 12px;\n min-width: 200px;\n font-weight: ",";\n border-bottom: 0.5px solid ",";\n\n @media screen and (min-width: 768px) {\n min-width: 160px;\n }\n"]);return v=function(){return n},n}function b(){var n=(0,o.Z)(["\n min-width: 220px;\n border-bottom: 0.5px solid ",";\n padding: 12px;\n align-items: center;\n text-align: center;\n\n @media screen and (min-width: 768px) {\n min-width: 160px;\n }\n"]);return b=function(){return n},n}var w=a.ZP.div.withConfig({componentId:"sc-482472d4-0"})(x(),(function(n){return n.theme.colors.white}
1)),j=a.ZP.table.withConfig({componentId:"sc-482472d4-1"})(g()),y=a.ZP.th.withConfig({componentId:"sc-482472d4-2"})(v(),(function(n){return n.theme.weights.semiBold}),(function(n){return n.theme.colors.gray})),k=a.ZP.td.withConfig({componentId:"sc-482472d4-3"})(b(),(function(n){return n.theme.colors.gray})),C=function(n){var e=n.legends,t=n.informations,o=n.projectionInfos,a=(0,p.Eu)().user,c=function(n){return"viver de renda"===n.toLowerCase()?"Na linha verde, voc\xea precisa aportar cerca de ".concat((0,r.Ri)(o.eternalIncome.monthlyContribution||0,!0)," por m\xeas, at\xe9 seus ").concat(null===a||void 0===a?void 0:a.ageToRetire," anos. A partir de ent\xe3o, voc\xea ter\xe1 cerca de ").concat((0,r.Ri)((null===a||void 0===a?void 0:a.desiredIncome)||0,!0)," por m\xeas, apenas atrav\xe9s dos seus investimentos."):"gastar tudo"===n.toLowerCase()?"Na linha azul, voc\xea precisa aportar um pouco menos, cerca de ".concat((0,r.Ri)((null===o||void 0===o||null===(e=o.limitedIncome)||void 0===e?void 0:e.monthlyContribution)||0,!0)," por m\xeas. Voc\xea poder\xe1 desfrutar o mesmo valor da aposentadoria, mas ir\xe1 consumir todo seus investimentos at\xe9 completar 100 anos."):"Essa proje\xe7\xe3o \xe9 feita por uma an\xe1lise hist\xf3rica de indicadores econ\xf4micos passados, dentro da metodologia MundoInvest, junto com o seu perfil de investidor. \xc9 apenas uma previs\xe3o. Rentabilidade passada n\xe3o \xe9 garantia de rentabilidade futura.";var e};return(0,i.jsx)(w,{children:(0,i.jsx)(j,{children:(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)(y,{children:" "}),null===e||void 0===e?void 0:e.map((function(n,e){return(0,i.jsx)(y,{children:n},e)}))]}),null===t||void 0===t?void 0:t.map((function(n,e){return(0,i.jsxs)("tr",{children:[(0,i.jsxs)(k,{style:{color:"".concat(n.color?n.color:"#fff"),display:"flex",gap:"8px"},children:[(0,i.jsx)(m.u,{id:n.label,text:c(n.label)}),n.label]}),(0,i.jsx)(k,{children:n.monthlyContributions}),(0,i.jsx)(k,{children:(0,r.Ri)(n.conqueredPatrimony)}),(0,i.jsx)(k,{children:n.age}),n.afterRetirement&&(0,i.jsx)(k,{children:(0,r.Ri)(n.afterRetirement)})]},e)}))]})})})};function S(){var n=(0,o.Z)(["\n display: flex;\n justify-content: space-between;\n border-bottom: 1px solid rgba(105, 105, 105, 0.5);\n margin-bottom: 12px;\n\n p {\n line-height: 150%;\n }\n\n p + p {\n font-weight: ",";\n }\n"]);return S=function(){return n},n}var R=a.ZP.div.withConfig({componentId:"sc-abfadea9-0"})(S(),(function(n){return n.theme.weights.semiBold})),Z=function(n){var e=n.label,t=n.value;return(0,i.jsxs)(R,{children:[(0,i.jsx)("p",{children:e}),(0,i.jsx)("p",{children:(0,r.Ri)(t)})]})}},42487:function(n,e,t){t.d(e,{w:function(){return x}});var i=t(85893),r=(t(67294),t(53854)),o=t(1853),a=t(7297),c=t(186);function s(){var n=(0,a.Z)(["\n width: 100%;\n\n display: flex;\n flex-direction: column;\n gap: 12px;\n\n .go-back-button {\n > svg {\n margin-right: 12px;\n }\n }\n\n .go-next-button {\n > svg {\n margin-left: 12px;\n }\n }\n\n button {\n & + button {\n order: -1;\n }\n }\n\n > button {\n padding: 12px 24px;\n }\n\n @media screen and (min-width: 768px) {\n flex-direction: row;\n /* max-width: 90%; */\n\n > button {\n width: 100%;\n padding: 14px 28px;\n }\n\n button {\n & + button {\n order: inherit;\n }\n }\n }\n"]);return s=function(){return n},n}var d=c.ZP.div.withConfig({componentId:"sc-ee71ec19-0"})(s()),l=function(n){var e=n.currentStep,t=n.onClickSecondary;return(0,i.jsxs)(d,{children:[1!==e&&(0,i.jsxs)(o.kq,{className:"go-back-button",type:"button",onClick:t,children:[(0,i.jsx)(r.Gjm,{size:20}),"Anterior"]}),(0,i.jsxs)(o.KM,{className:"go-next-button",type:"submit",children:["Pr\xf3ximo",(0,i.jsx)(r.nq,{size:20})]})]})},u={hidden:{opacity:0,x:10},visible:{opacity:1,x:0,transition:{duration:.2,ease:"easeInOut"}},exit:{opacity:0,x:-10}},h={hidden:{opacity:0,x:100},visible:{opacity:1,x:0,transition:{duration:.5,ease:"easeIn"}},exit:{opacity:0,x:-120,transition:{duration:.5,ease:"easeIn"}}},f=t(55545);function m(){var n=(0,a.Z)(["\n padding: 24px;\n text-align: center;\n width: 100%;\n max-width: 678px;\n\n h2 {\n font-size: ",";\n font-weight: ",";\n line-height: 120%;\n }\n\n > form {\n display: flex;\n flex-direction: column;
1\n align-items: center;\n justify-content: center;\n\n input {\n width: 100%;\n }\n\n > p {\n font-weight: ",";\n color: ",";\n line-height: 150%;\n margin-top: 16px;\n }\n }\n\n @media screen and (min-width: 768px) {\n h2 {\n max-width: 100%;\n }\n }\n"]);return m=function(){return n},n}var p=(0,c.ZP)(f.Xe).withConfig({componentId:"sc-10a6f56c-0"})(m(),(function(n){return n.theme.sizes.big}),(function(n){return n.theme.weights.bold}),(function(n){return n.theme.weights.medium}),(function(n){return n.theme.colors.gray200})),x=function(n){var e=n.children,t=n.currentStep,r=n.onSubmit,o=n.onClickAltButton,a=n.animationKey,c=n.isSmallScreen,s=void 0===c||c,d=n.styles;return(0,i.jsx)(p,{variants:s?u:h,initial:"hidden",animate:"visible",exit:"exit",style:d,children:(0,i.jsxs)("form",{onSubmit:r,children:[e,(0,i.jsx)(l,{onClickSecondary:o,currentStep:t})]})},a)}}}]);
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.