PageSourceSearch

https://candor.co/_next/static/chunks/pages/dashboard/plan/portfolio-select-dc41a4e013852ddb.js

js candor.co collected 2026-09-24 21:46:57 UTC 51,686 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4524],{1991:e=>{e.exports={pageContainer:"RecommendedPortfolioStep_pageContainer___3nz5",section:"RecommendedPortfolioStep_section__4_Qra",recommendation:"RecommendedPortfolioStep_recommendation__vhCU2",investmentStyle:"RecommendedPortfolioStep_investmentStyle__XD7pV",portfolio:"RecommendedPortfolioStep_portfolio__39b09",actions:"RecommendedPortfolioStep_actions__S3c4h",cancel:"RecommendedPortfolioStep_cancel__jOdFD",faq:"RecommendedPortfolioStep_faq__rLxnq",faqTitle:"RecommendedPortfolioStep_faqTitle__Cv53u",faqRowText:"RecommendedPortfolioStep_faqRowText__7_5y8",stepLayout:"RecommendedPortfolioStep_stepLayout__job_k"}},11386:(e,t,n)=>{"use strict";n.d(t,{z:()=>s});var a=n(62021),o=n(3638),i=n(74361),r=n(75361),l=n.n(r);let s=e=>{let{active:t,progress:n,height:r,disabled:s,gradientVersion:c,transformTime:d,insideText:_,outsideText:u,containerClass:p,barClass:m,waitingForDependencies:h=!1,maxProgressWhenWaiting:g=95}=e,[f,v]=(0,i.useState)("0");(0,i.useEffect)(()=>{let e=setTimeout(()=>{d&&!h?v("100"):d&&h?v(g.toString()):v("100")},10);return()=>clearTimeout(e)},[d,h,g]),(0,i.useEffect)(()=>{d&&!h&&"100"!==f&&v("100")},[h,d,f]);let x=n&&n<101||0===n?n:"100",y=d?f:x;return(0,a.jsxs)("div",{className:(0,o.A)(function(e){if(e)switch(e){case"rainbow":return(0,o.A)(l().container,l().containerRainbow);case"dark":return(0,o.A)(l().container,l().containerDark);case"gradientOnboarding":case"greenOnboarding":default:break;case"greenDashboard":return(0,o.A)(l().container,l().containerGreenDashboard)}return(0,o.A)(l().container)}(c),p),children:[(0,a.jsx)("div",{className:function(e,t,n,a,i){if(n)return(0,o.A)(l().bar,l().disabled,i);if(a)switch(a){case"rainbow":return(0,o.A)(l().bar,l().rainbow,i);case"dark":return(0,o.A)(l().bar,l().dark,i);case"gradientOnboarding":return(0,o.A)(l().bar,l().gradientOnboarding,i);case"greenOnboarding":return(0,o.A)(l().bar,l().greenOnboarding,i);case"greenDashboard":return(0,o.A)(l().bar,l().greenDashboard,i)}return e?100===t?(0,o.A)(l().bar,l().activeFull,i):(0,o.A)(l().bar,l().active,i):(0,o.A)(l().bar,i)}(t,n,s,c,m),style:{width:"".concat(y,"%"),height:r||void 0,"--transform-time":"".concat(d,"ms")},children:_&&(0,a.jsx)("span",{className:l().insideText,children:_})}),u&&(0,a.jsx)("span",{className:n>0?l().outsideTextAlt:l().outsideText,children:u})]})}},12417:e=>{e.exports={container:"InvestingStyleCard_container__8mzFZ",titleContainer:"InvestingStyleCard_titleContainer__h1nDf",inflationBadge:"InvestingStyleCard_inflationBadge__EyjRM",description:"InvestingStyleCard_description__3TH6y",cashStrategyDetailsContainer:"InvestingStyleCard_cashStrategyDetailsContainer__OqI_J",textWrapper:"InvestingStyleCard_textWrapper__kxWow",cashTitle:"InvestingStyleCard_cashTitle__GpL_1",disclaimer:"InvestingStyleCard_disclaimer__9onPb",keepAsCashButton:"InvestingStyleCard_keepAsCashButton__Sx03_"}},12929:(e,t,n)=>{"use strict";n.d(t,{a:()=>g});var a,o=n(62021),i=n(74361),r=n(38290),l=n.n(r),s=n(59463),c=n.n(s),d=n(3638);function _(){return(_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}let u=function(e){return i.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 15"},e),a||(a=i.createElement("path",{fill:"#959595",d:"m8.143 7.334 5.67-5.847A.82.82 0 0 0 13.773.4a.763.763 0 0 0-1.056-.042l-5.67 5.846L1.376.35A.763.763 0 0 0 .32.39.818.818 0 0 0 .28 1.48l5.67 5.854-5.678 5.847a.8.8 0 0 0-.271.578.83.83 0 0 0 .227.598.78.78 0 0 0 .58.234.76.76 0 0 0 .56-.28l5.678-5.846 5.67 5.846a.763.763 0 0 0 1.056-.042.818.818 0 0 0 .04-1.089z"})))};var p=n(96458),m=n.n(p),h=n(22112);let g=e=>{let{title:t,closeUrl:n,onRequestClose:a,CTA:i,altCTA:r,illustration:s,illustrationStyle:_,icon:p,titleStyle:g,hideCloseIcon:f,contentStyle:v,className:x,closeIconStyle:y,contentWidth:C,contentHeight:w,modalOverlayClassName:S,showAnimation:j=!0,...b}=e;return(0,o.jsxs)(l(),{...b,onRequestClose:a,overlayClassName:{base
1:(0,d.A)(m().modalOverlay,b.overlayClassName,j&&m().showAnimation),beforeClose:m().modalOverlayBeforeClose,afterOpen:(0,d.A)(m().modalOverlayAfterOpen,S)},className:{base:(0,d.A)("modal",m().modal,j&&m().showAnimation,x),beforeClose:m().modalBeforeClose,afterOpen:m().modalAfterOpen},closeTimeoutMS:j?201:void 0,children:[!f&&!n&&(0,o.jsx)(u,{className:(0,d.A)(y,m().closeButton),onClick:a,"data-cy":"modal-close-button"}),n&&(0,o.jsx)(c(),{href:n,children:(0,o.jsx)(u,{className:(0,d.A)(y,m().closeButton),"data-cy":"modal-close-button"})}),t&&(0,o.jsx)("div",{className:m().titleContainer,children:(0,o.jsxs)("span",{className:m().title,children:[!!p&&p," ",(0,o.jsx)("span",{className:g,children:t})]})}),(0,o.jsxs)("div",{className:(0,d.A)(m().content,v),style:{width:C,height:w},children:[s&&("string"==typeof s?(0,o.jsx)("img",{src:String(s),alt:"Illustration",className:(0,d.A)(m().illustration,_)}):(0,o.jsx)(s,{className:(0,d.A)(m().illustration,_)})),b.children,i&&(0,o.jsxs)("div",{className:m().ctaContainer,children:[r&&(0,o.jsx)("span",{className:m().altCTA,onClick:r.onClick,"data-cy":"".concat(r.title,"-button"),children:r.title}),i&&(0,o.jsx)(h.$,{...i,shape:"round",type:"primary",size:"slim",dataCy:"".concat(i.title,"-button")})]})]})]})}},20142:e=>{e.exports={container:"RiskProfileStep_container__F6BuT",answers:"RiskProfileStep_answers__PHH7i",answer:"RiskProfileStep_answer__qKzWh",continueButton:"RiskProfileStep_continueButton__bbRSz",answerTitle:"RiskProfileStep_answerTitle__D6w9N",answersContainer:"RiskProfileStep_answersContainer__dKfB2",stepLayout:"RiskProfileStep_stepLayout__BMMTU"}},22112:(e,t,n)=>{"use strict";n.d(t,{$:()=>c});var a=n(62021);n(74361);var o=n(59463),i=n.n(o),r=n(3638),l=n(63119),s=n.n(l);let c=e=>{let{disabled:t,loading:n,onClick:o,href:l,target:c,iconLeft:d,iconRight:_,title:u,dataCy:p,id:m,htmlButtonType:h}=e,g=(e=>{let{danger:t,shape:n="round",size:a="default",type:o="primary",className:i,upperCase:l,title:c,iconLeft:d,iconRight:_,loading:u}=e,p=[s().button,i];if(p.push(s()[n]),u&&p.push(s().loading),l&&p.push(s().upperCase),c&&(d||_)&&(d&&p.push(s().iconLeft),_&&p.push(s().iconRight)),!e.title&&(e.iconLeft||e.iconRight)?(p.push(s()[a+"Icon"]),e.disabled&&"text"===e.type&&p.push(s().disabledText)):p.push(s()[a]),t)switch(o){case"primary":p.push(s().dangerPrimary);break;case"outline":p.push(s().dangerOutline);break;default:console.error(Error("Danger button can only be primary or outline. Received ".concat(e.type))),p.push(s().dangerPrimary)}else p.push(s()[o]);return(0,r.A)(p)})(e),f=(0,a.jsxs)(a.Fragment,{children:[d||null,n?(0,a.jsx)("span",{className:s().loadingContainer,children:(0,a.jsx)("div",{className:s().loader})}):null,null!=u?u:null,_||null]});return l?(0,a.jsx)(i(),{className:g,"data-cy":p,id:m,style:e.style,href:l,target:c,children:f}):(0,a.jsx)("button",{className:g,disabled:t||n,onClick:e=>{n||t?(e.preventDefault(),e.stopPropagation()):o&&o(e)},"data-cy":p,id:m,style:e.style,type:h,children:f})}},23894:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a,o=n(74361);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 a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}let r=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"},e),a||(a=o.createElement("path",{d:"M84 46H54V16a4 4 0 0 0-8 0v30H16a4 4 0 0 0 0 8h30v30a4 4 0 0 0 8 0V54h30a4 4 0 0 0 0-8"})))}},26668:(e,t,n)=>{"use strict";n.d(t,{DL:()=>r,J:()=>l,MX:()=>i,YP:()=>o,vC:()=>a});let a={START_A_FAMILY:"start-a-family",BUY_A_HOUSE:"buy-a-house",SEND_KID_TO_COLLEGE:"send-kid-to-college",GET_DEGREE:"get-degree",TRAVEL:"travel",BUSINESS:"business",RETIRE:"retire",SUPPORT_FAMILY:"support-family",FINANCIAL_INDEPENDENCE:"financial-independence",WEALTH:"wealth"},o={SELL_ALL:"sell-all",SELL_SOME:"sell-some",HOLD:"hold",INVEST:"invest"},i={IMMEDIATELY:"immediately",IN_1_2_YEARS:"in-1-2-years",IN_2_5_YEARS:"in-2-5-years",IN_5_10_YEARS:"in-5-10-years"},r={DEFAULT:"50_000-150_000",NONE:"0-0",TO_75K:"0-75_000",TO_150K:"75_000-150_000",TO_500K:"150_000-500_000",TO_1M:"500_000-1_000_000",MORE:"1_000_000-10_000_000"},l={DEFAULT:"100_000-200_000",TO_50K:"0-50_000",TO_100K:"50_000-100_000",TO_200K:"100_000-200_000",TO_500K:"200_000-500_000",MORE:"500_000-10_000_000"}}
1,34746:e=>{e.exports={container:"InvestmentPortfolioQuiz_container__SoaWK",header:"InvestmentPortfolioQuiz_header__bNINq",info:"InvestmentPortfolioQuiz_info__l8EgG",backButton:"InvestmentPortfolioQuiz_backButton__kjzps",backIcon:"InvestmentPortfolioQuiz_backIcon__o_woV",exit:"InvestmentPortfolioQuiz_exit__d8hW_",wizardContainer:"InvestmentPortfolioQuiz_wizardContainer__nl6Wy",stepWrapper:"InvestmentPortfolioQuiz_stepWrapper__ONzH1",step:"InvestmentPortfolioQuiz_step__8lzVz",stepActive:"InvestmentPortfolioQuiz_stepActive__UtRGe",progressBar:"InvestmentPortfolioQuiz_progressBar__k__Sf"}},36778:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>eH});var a,o,i,r,l,s,c,d,_,u,p,m,h,g,f,v=n(62021),x=n(91735),y=n(74361),C=n(16874),w=n(22763),S=n(32865),j=n(3638),b=n(95408),N=n.n(b);let k=e=>{let{showProgressBar:t=!1,stepNumber:n,totalSteps:a,className:o}=e;return t?(0,v.jsx)("div",{className:(0,j.A)(N().content,o),children:(0,v.jsx)("div",{className:N().progress,children:(0,v.jsx)("div",{style:{width:"".concat(n/a*100,"%")}})})}):null};var R=n(68963),L=n(35602),B=n(34746),A=n.n(B),P=n(22112),T=n(9433),E=n(33307),O=n(55699),M=n.n(O);let D=e=>{let{isActive:t,onContinue:n}=e,a=(0,y.useCallback)(()=>{n()},[n]);return(0,v.jsxs)(T.l,{className:M().stepLayout,header:"RSU proceeds strategy",title:"Let's find the right investment strategy for your RSU proceeds",description:"Investing is highly personal. Based on your goals, timeline, and risk preferences, we'll recommend the right portfolio for you.",children:[(0,v.jsx)("div",{className:M().container,children:(0,v.jsx)(P.$,{shape:"round",title:"Let's begin →",size:"large",type:"primary",onClick:a})}),t&&(0,v.jsx)(E.X,{eventName:"Started Portfolio quiz"})]})};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 a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}function q(){return(q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}function z(){return(z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}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 a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}function W(){return(W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}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 a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}function Y(){return(Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}function U(){return(U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}function V(){return(V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}function H(){return(H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var Q=n(26668),X=n(66253),K=n.n(X);let $=[{id:Q.vC.START_A_FAMILY,icon:(0,v.jsx)(function(e){return y.createElement("svg",q({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 36 36"},e),o||(o=y.createElement("path",{fill:"#D3D2C4",d:"M16.607 16.19a1.946 1.946 0 1 1 3.892-.001 1.946 1.946 0 0 1-3.892 0"})),i||(i=y.createElement("path",{fill:"#D3D2C4",d:"M19.229 32.709a1.17 1.17 0 0 1-1.351 0l-.013-.01-.033-.023-.124-.09a59.936 59.936 0 0 1-6.993-6.06c-1.787-1.819-3.604-3.944-4.98-6.198-1.37-2.242-2.36-4.707-2.36-7.18 0-4.916 3.767-9.024 8.562-9.024 2.684 0 5.056 1.297 6.616 3.296 1.56-2 3.93-3.296 6.616-3.296 2.273 0 4.437.693 6.04 2.24 1.612 1.557 2.522 3.85 2.522 6.784 0 2.473-.991 4.937-2.3
16 7.18-1.376 2.254-3.193 4.38-4.98 6.199a60 60 0 0 1-6.993 6.059l-.073.053-.051.037-.033.023zm-.676-20.801a4.28 4.28 0 0 0-3.129 7.203q-.445.255-.84.594c-1.143.98-1.869 2.434-1.869 4.267a1.168 1.168 0 0 0 2.335 0c0-1.17.443-1.97 1.053-2.495.635-.545 1.52-.845 2.45-.845s1.815.3 2.45.845c.61.524 1.053 1.323 1.053 2.495a1.168 1.168 0 0 0 2.335 0c0-1.834-.726-3.288-1.868-4.267a5.6 5.6 0 0 0-.84-.594 4.282 4.282 0 0 0-3.13-7.203"})))},{}),title:"Start a family"},{id:Q.vC.BUY_A_HOUSE,icon:(0,v.jsx)(function(e){return y.createElement("svg",z({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 33"},e),r||(r=y.createElement("path",{fill:"#D3D2C4",d:"M15.804.975a3 3 0 0 0-3.6 0L1.704 8.85a3 3 0 0 0-1.2 2.4V25.5a3 3 0 0 0 3 3h5.85a1.65 1.65 0 0 0 1.65-1.65V19.5a3 3 0 0 1 6 0v7.35a1.65 1.65 0 0 0 1.65 1.65h5.85a3 3 0 0 0 3-3V11.25a3 3 0 0 0-1.2-2.4z"})))},{className:K().houseIcon}),title:"Buy a house"},{id:Q.vC.SEND_KID_TO_COLLEGE,icon:(0,v.jsx)(function(e){return y.createElement("svg",V({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 36 36"},e),m||(m=y.createElement("path",{fill:"#D3D2C4",fillRule:"evenodd",d:"M5.625 18.962v4.906a4.13 4.13 0 0 0 2.355 3.726l7.5 3.561a4.13 4.13 0 0 0 3.54 0l7.5-3.56a4.13 4.13 0 0 0 2.355-3.727v-4.905l-9.712 4.856a4.28 4.28 0 0 1-3.825 0z",clipRule:"evenodd"})),h||(h=y.createElement("path",{fill:"#D3D2C4",fillRule:"evenodd",d:"M16.345 5.196a2.03 2.03 0 0 1 1.812 0l12.987 6.494c1.492.745 1.492 2.875 0 3.622l-12.987 6.495a2.03 2.03 0 0 1-1.812 0L3.358 15.312c-1.493-.747-1.493-2.877 0-3.622z",clipRule:"evenodd"})),g||(g=y.createElement("path",{fill:"#D3D2C4",fillRule:"evenodd",d:"M29.745 12.248a1.125 1.125 0 0 1 1.509-.505l3 1.5a1.13 1.13 0 0 1 .621 1.007v5.25a1.125 1.125 0 0 1-2.25 0v-4.554l-2.378-1.19a1.125 1.125 0 0 1-.502-1.508",clipRule:"evenodd"})))},{}),title:"Send a kid to college"},{id:Q.vC.GET_DEGREE,icon:(0,v.jsx)(function(e){return y.createElement("svg",H({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 36 36"},e),f||(f=y.createElement("path",{fill:"#D3D2C4",fillRule:"evenodd",d:"M15.879 3.15a3 3 0 0 1 4.05-.174l.192.175L22.97 6H27a3 3 0 0 1 2.99 2.775L30 9v4.029l2.85 2.85a3 3 0 0 1 .173 4.051l-.175.19-2.85 2.85V27a3 3 0 0 1-2.775 2.992L27 30h-4.028l-2.85 2.85a3 3 0 0 1-4.052.174l-.19-.174L13.03 30H9a3 3 0 0 1-2.993-2.775L5.999 27v-4.03l-2.85-2.85a3 3 0 0 1-.174-4.05l.174-.191L6 13.029v-4.03a3 3 0 0 1 2.775-2.99L9 5.999h4.03zm6.739 10.324-6.366 6.366-2.652-2.652a1.5 1.5 0 0 0-2.121 2.123l3.606 3.606a1.65 1.65 0 0 0 2.334 0l7.32-7.322a1.5 1.5 0 0 0-2.121-2.12",clipRule:"evenodd"})))},{}),title:"Get another degree"},{id:Q.vC.TRAVEL,icon:(0,v.jsx)(function(e){return y.createElement("svg",U({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 36 36"},e),p||(p=y.createElement("path",{fill:"#D3D2C4",d:"M31.403 4.597a4.174 4.174 0 0 0-5.903 0l-4.668 4.668L7.707 6.628c-.83-.166-1.614.125-2.193.5a4.65 4.65 0 0 0-1.468 1.54c-.345.59-.61 1.358-.482 2.147.14.879.726 1.566 1.637 1.92l8.75 3.41L10.3 19.8c-1.245-.1-2.311-.155-3.298.088-1.196.294-2.163.983-3.296 2.115a1.125 1.125 0 0 0 .216 1.761l5.2 3.116 3.12 5.197a1.123 1.123 0 0 0 1.759.216c1.132-1.132 1.82-2.1 2.115-3.295.243-.987.189-2.052.088-3.299l3.653-3.652 3.41 8.752c.355.91 1.043 1.497 1.92 1.635.791.128 1.558-.135 2.149-.481a4.65 4.65 0 0 0 1.539-1.469c.375-.579.666-1.362.5-2.191l-2.638-13.125 4.667-4.668a4.17 4.17 0 0 0 0-5.903"})))},{}),title:"Travel for a year"},{id:Q.vC.BUSINESS,icon:(0,v.jsx)(function(e){return y.createElement("svg",F({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 36 36"},e),l||(l=y.createElement("path",{fill:"#D3D2C4",d:"M16.244 10.665c3.357-3.784 8.58-5.415 13.38-5.415a1.125 1.125 0 0 1 1.125 1.125c0 4.8-1.63 10.023-5.415 13.38-.091 1.524-.562 3.05-1.236 4.389-.75 1.491-1.792 2.83-2.96 3.717-1.14.867-2.617 1.444-4.075.901-1.38-.514-2.31-1.875-2.85-3.806l-3.17-3.171c-1.931-.539-3.292-1.469-3.806-2.849-.543-1.458.034-2.934.901-4.075.887-1.168 2.226-2.21 3.717-2.96 1.34-.674 2.865-1.144 4.388-1.235m-1.994 2.672q-.712.237-1.383.575c-1.254.631-2.3 1.473-2.935 2.31-.656.864-.74 1.515-.585 1.928.124.34.528.836 1.64 1.255a50 50 0 0 1 1.076-2.256 41 41 0 0 1 2.187-3.812m2.346 11.678c.417 1.113.915 1.515 1.254 1.642.413.153 1.065.069 1.93-.585.836-.637 1.678-1.683 2.31-2.937q.34-.677.574-1.383a41 41 0 0 1-3.81 2.187c-.903.457-1.69.822-2.258 1.075m-9.043-1.008a3.216 3.216 0 0 1 4.272.132l.013.014c1.199 1.186 1.18 3.081.155 4.298-.443.528-1.047.909-1.616 1.188-.58.285-1.206.5-1.762.66q-1.006.285-2.037.442l-.036.005-.012.002h-.005
1a1.125 1.125 0 0 1-1.264-1.264v-.004l.001-.012.006-.036q.041-.293.1-.584c.07-.376.18-.893.341-1.456q.254-.912.659-1.767c.277-.57.658-1.173 1.185-1.619M23.53 12.33a1.125 1.125 0 0 0-1.59 0l-1.06 1.06a1.125 1.125 0 0 0 1.59 1.59l1.06-1.06a1.125 1.125 0 0 0 0-1.59"})))},{}),title:"Start my own business"},{id:Q.vC.RETIRE,icon:(0,v.jsx)(function(e){return y.createElement("svg",G({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 36 36"},e),c||(c=y.createElement("path",{fill:"#D3D2C4",stroke:"#D3D2C4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.667,d:"m8.25 11.25-4.5.75C4.973 6.363 8.523 4.504 12 4.5c2.248-.004 4.464.769 6 1.5 1.536-.731 3.75-1.5 6-1.5 3.458 0 7.028 1.864 8.25 7.5l-4.5-.75c.42 1.574 1.341 4.343 0 6.75-2.235-2.005-7.402-5.033-9.75-6.75-2.347 1.717-7.515 4.745-9.75 6.75-1.341-2.406-.42-5.176 0-6.75"})),d||(d=y.createElement("path",{stroke:"#D3D2C4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.667,d:"M18 11.25c-.566 2.917-1.358 10.15 0 15.75"})),_||(_=y.createElement("path",{fill:"#D3D2C4",stroke:"#D3D2C4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.667,d:"M9 31.5h18c-3.59-3.439-5.25-4.496-9-4.5s-7.581 2.537-9 4.5"})))},{}),title:"Retire",withStroke:!0},{id:Q.vC.SUPPORT_FAMILY,icon:(0,v.jsx)(function(e){return y.createElement("svg",I({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 36 36"},e),a||(a=y.createElement("path",{fill:"#D3D2C4",d:"M13.5 19.5c-2.873 0-5.405 1.448-7.188 3.367-1.773 1.91-2.937 4.422-2.937 6.758 0 .621.504 1.125 1.125 1.125h18a1.125 1.125 0 0 0 1.125-1.125c0-2.337-1.163-4.848-2.937-6.757-1.785-1.92-4.315-3.368-7.188-3.368m12.306.451a1.125 1.125 0 1 0-.612 2.166c1.4.396 2.701 1.529 3.675 3.021.97 1.493 1.506 3.183 1.506 4.485a1.125 1.125 0 1 0 2.25 0c0-1.83-.717-3.94-1.872-5.712-1.154-1.771-2.85-3.366-4.947-3.96M13.5 5.25a5.625 5.625 0 1 0 0 11.25 5.625 5.625 0 0 0 0-11.25m9 0a1.125 1.125 0 0 0-1.125 1.125v9c0 .621.504 1.125 1.125 1.125a5.625 5.625 0 0 0 0-11.25"})))},{}),title:"Support my family"},{id:Q.vC.FINANCIAL_INDEPENDENCE,icon:(0,v.jsx)(function(e){return y.createElement("svg",W({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 36 36"},e),s||(s=y.createElement("path",{fill:"#D3D2C4",d:"M12.375 11.25a5.625 5.625 0 1 1 11.25 0 5.625 5.625 0 0 1-11.25 0m17.999 19.443C29.98 22.971 23.913 19.125 18 19.125S6.02 22.97 5.626 30.693a1.125 1.125 0 0 0 1.065 1.18c5.048.257 19.497.16 22.616 0a1.125 1.125 0 0 0 1.067-1.18m-9.103-7.98a1.125 1.125 0 0 1 .254 1.57l-3.15 4.361a1.46 1.46 0 0 1-2.283.108l-1.551-1.773a1.125 1.125 0 0 1 1.693-1.482l.897 1.026 2.57-3.556a1.125 1.125 0 0 1 1.57-.254"})))},{}),title:"Build financial independence"},{id:Q.vC.WEALTH,icon:(0,v.jsx)(function(e){return y.createElement("svg",Y({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 36 36"},e),u||(u=y.createElement("path",{fill:"#D3D2C4",d:"M31.496 4.5v3a10.5 10.5 0 0 1-10.5 10.5h-1.5v1.5h7.5V30a3 3 0 0 1-3 3h-12a3 3 0 0 1-3-3V19.5h7.5V15a10.5 10.5 0 0 1 10.5-10.5zM8.246 3a11.24 11.24 0 0 1 9.186 4.754A11.94 11.94 0 0 0 14.996 15v1.5h-.75A11.25 11.25 0 0 1 2.996 5.25V3z"})))},{}),title:"General wealth building"}],J=e=>{let{onContinue:t,isActive:n,isLoading:a}=e,[o,i]=(0,y.useState)(null),r=(0,y.useCallback)(e=>{a||i(e)},[a]),l=(0,y.useCallback)(()=>{o&&t({goalSelection:o})},[t,o]);return(0,v.jsxs)(T.l,{headerColor:"green",header:"Your rsu goal",title:"What are you trying to achieve with your RSUs?",description:"We’ll create an RSU plan that helps you get closer to your financial goal.",className:(0,j.A)(K().stepLayout,"card"),portfolioChange:!0,children:[(0,v.jsxs)("div",{className:K().content,children:[(0,v.jsx)("div",{className:K().cardsContainer,children:$.map(e=>(0,v.jsxs)("div",{className:(0,j.A)(K().goalCard,o===e.id&&K().goalCardSelected,a&&K().goalCardLoading,e.withStroke&&K().withStroke),onClick:()=>r(e.id),"data-cy":e.id,children:[(0,v.jsx)("div",{className:K().iconContainer,children:e.icon}),(0,v.jsx)("h3",{className:K().goalTitle,children:e.title})]},e.id))}),(0,v.jsx)(P.$,{shape:"round",title:"Continue →",size:"large",type:"primary",disabled:!o,loading:a,onClick:l})]}),n&&(0,v.jsx)(E.X,{eventName:"Portfolio quiz step viewed - goal selection step"})]})};var Z=n(64537),ee=n(64984),et=n.n(ee);let en=[{id:Q.MX.IMMEDIATELY,value:"Immediately"},{id:Q.MX.IN_1_2_YEARS,value:"In 1-2 years"},{id:Q.MX.IN_2_5_YEARS,value:"In 2-5 years"},{id:Q.MX.IN_5_10_YEARS,value:"5-10 years"}],ea=e=>{let{onContinue:t,isActive:n,isLoading:a}=e,[o,i]=(0,y.useState)(null),r=(0,y.useCallback)(()=>{o&&t({goalTimeline:o})},[t,o]);return(0,v.jsxs)(T.l,{headerColor:"green",header:"Your RSU Goal timeline",title:"When do you hope to achieve your goal?",description:"Pick the closest answer.",className:(0,j.A)(et().stepLayout,"card"),portfolioChange:!0,children:[(0,v.jsxs)("div",{className:et().container,children:[(0,v.jsx)("div",{className:et().answersContainer,children:en.map(e=>{let{id:t,value:n,secondaryValue:r}=e,l=(0,v.jsxs)("span",{className:et().answerTitle,children:[n,r&&(0,v.jsxs)(v.Fragment,{children:[" ",(0,v.jsx)("em",{children:r})]})]});return(0,v.jsx)(Z.u,{isActive:t===o,title:l,className:et().answer,disabled:a,onClick:()=>i(e.id)},t)})}),(0,v.jsx)(P.$,{shape:"round",title:"Continue →",size:"large",type:"primary",disabled:!o,loading:a,onClick:r})]}),n&&(0,v.jsx)(E.X,{eventName:"Portfolio quiz step viewed - goal timeline step"})]})};var eo=n(20142),ei=n.n(eo);let er=[{id:Q.YP.SELL_ALL,value:"Sell all",secondaryValue:"of my investments."},{id:Q.YP.SELL_SOME,value:"Sell some",secondaryValue:"of my investments."},{id:Q.YP.HOLD,value:"Hold",secondaryValue:"my investments and wait it out."},{id:Q.YP.INVEST,value:"Invest more",secondaryValue:"to take advantage of lower prices."}],el=e=>{let{onContinue:t,isActive:n,isLoading:a}=e,[o,i]=(0,y.useState)(null),r=(0,y.useCallback)(()=>{o&&t({riskProfile:o})},[t,o]);return(0,v.jsxs)(T.l,{headerColor:"green",header:"Your risk profile",title:"Imagine the stock market falls 20% over a short period. What would you do?",description:"We ask to understand how you feel about risk so we can recommend a strategy for you.",className:(0,j.A)(ei().stepLayout,"card"),portfolioChange:!0,children:[(0,v.jsxs)("div",{className:ei().container,children:[(0,v.jsx)("div",{className:ei().answersContainer,children:er.map(e=>{let{id:t,value:n,secondaryValue:r}=e,l=(0,v.jsxs)("span",{className:ei().answerTitle,children:[n,r&&(0,v.jsxs)(v.Fragment,{children:[" ",(0,v.jsx)("em",{children:r})]})]});return(0,v.jsx)(Z.u,{isActive:t===o,title:l,className:ei().answer,disabled:a,onClick:()=>i(e.id)},t)})}),(0,v.jsx)(P.$,{shape:"round",title:"Continue →",size:"large",type:"primary",disabled:!o,loading:a,onClick:r})]}),n&&(0,v.jsx)(E.X,{eventName:"Portfolio quiz step viewed - risk profile step"})]})};var es=n(5328),ec=n(68818),ed=n(91653),e_=n(12417),eu=n.n(e_),ep=n(67610),em=n(12929),eh=n(64366),eg=n.n(eh),ef=n(89743),ev=n(23433);let ex=e=>{var t;let{onRequestClose:n,onConfirm:a,portfolioID:o,myPlan:i,loading:r}=e,{data:l}=(0,ed.M)({url:ed.H.DASHBOARD.STRATEGIES}),s=(0,y.useMemo)(()=>null==l?void 0:l.strategies,[l]),c=null==i||null==(t=i.portfolios)?void 0:t.find(e=>e.id===o),d=!1;return!c&&(null==i?void 0:i.portfolios)&&(c=null==s?void 0:s.find(e=>e.id===o),d=!0),(0,v.jsxs)(em.a,{isOpen:!!o,onRequestClose:n,contentStyle:eg().container,children:[(0,v.jsxs)("div",{className:eg().title,children:["Warning: ",d?"holding cash is risky":"changing portfolios frequently will reduce returns"]}),(0,v.jsx)("div",{className:eg().portfolioContainer,children:(0,v.jsxs)("div",{className:eg().portfolioContent,children:[(0,v.jsx)(ev.A,{level:d?ep.N.Cash:(0,es.k)(null==c?void 0:c.riskLevel)}),(0,v.jsx)("div",{children:d?"Keep all proceeds as cash":null==c?void 0:c.name})]})}),(0,v.jsxs)("div",{className:eg().content,children:[(0,v.jsx)(ef.A,{}),d?"Inflation is high. Keeping all proceeds as cash is risky in this market environment.":"Advisors recommended only changing your portfolio if your risk tolerance or need for cash has changed. Changing portfolio frequently will reduce your returns."]}),(0,v.jsx)(P.$,{shape:"round",type:"primary",title:"Stay in current portfolio",onClick:n,size:"default",loading:r,upperCase:!0}),(0,v.jsx)("div",{className:(0,j.A)(eg().cancel,r&&eg().cancelLoading),onClick:r?void 0:()=>a(o),"data-cy":"confirm-change-portfolio-modal",children:"Confirm change"})]})};var ey=n(50224),eC=n.n(ey),ew=n(41083);let eS=e=>{var t;let{isOpen:n,onClose:a,isCash:o,myPlan:i}=e,r=(null==i||null==(t=i.holdings)?void 0:t.totalInvestments)>0,l=(0,C.useRouter)();return(0,v.jsxs)(em.a,{isOpen:n,onRequestClose:a,contentStyle:eC().container,children:[(0,v.jsxs)("div",{className:eC().title,children:[(0,v.jsx)(ew.A,{}),"Portfolio changed!"]}),o?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("div",{className:eC().cashContent,children:"Your RSU sale proceeds will now be kept as cash. Remember to withdraw the cash to your bank account when the trades settle."}),r&&(0,v.jsxs)("div",{className:eC().cashNoteContainer,children:[(0,v.jsx)("div",{className:eC().cashNoteTitle,children:"Note"}),(0,v.jsx)("div",{className:eC().cashNoteContent,children:"This change only affects RSU sales going forward. If you already have investments, you can liquidate those investments in the investment page."})]})]}):(0,v.jsx)(v.Fragment,{children:(0,v.jsx)("div",{className:eC().content,children:"Your change has been saved and will start to take effect with your next RSU sale."})}),(0,v.jsx)(P.$,{shape:"round",size:"default",type:"primary",className:eC().button,title:"done",onClick:a,dataCy:"change-portfolio-success-done",upperCase:!0}),o&&r&&(0,v.jsx)("div",{className:eC().liquidate,onClick:()=>{l.push("/dashboard/assets")},children:"Liquidate my investments"})]})};var ej=n(92531);let eb=e=>{let{investingType:t,onConfirm:n,isLoading:a,newPortfolioID:o}=e,i=(0,C.useRouter)(),{myPlan:r}=(0,L.u)(),{data:l}=(0,ed.M)({url:ed.H.DASHBOARD.STRATEGIES}),s=(0,y.useMemo)(()=>null==l?void 0:l.strategies,[l]),[c,d]=(0,y.useState)(""),[_,u]=(0,y.useState)(!1),p=null==s?void 0:s.find(e=>0===e.risk_level);return(0,v.jsxs)("div",{className:eu().container,children:[(0,v.jsxs)("div",{className:eu().titleContainer,children:[t===ep.N.Cash?"Keep proceeds from sold RSUs as cash":"My investment style",t===ep.N.Cash&&(0,v.jsx)("span",{className:eu().inflationBadge,children:"Inflation risk"})]}),t!==ep.N.Cash&&(0,v.jsx)(ej.g,{investingType:t}),(0,v.jsx)("div",{className:eu().description,children:(e=>{switch(e){case ep.N.Saver:return"A conservative investor wants to minimize risk of loss in favor of consistent, reliable returns.";case ep.N.Balanced:return"A moderate investor seeks to balance returns with minimizing the risk of big or sudden losses.";case ep.N.Core:return"A moderately aggressive investor seeks to maximize returns, with some tolerance for occasional fluctuations in value.";case ep.N.Alpha:return"An aggressive investor seeks to maximize returns over the long-term, even if that includes some bumps along the road.";case ep.N.Cash:case ep.N.SAndP500:case ep.N.VGT:return null}})(t)}),t===ep.N.Cash&&(0,v.jsxs)("div",{className:eu().cashStrategyDetailsContainer,"data-cy":"no-portfolio-selected-box",children:[(0,v.jsxs)("div",{className:eu().textWrapper,children:[(0,v.jsx)("div",{className:eu().cashTitle,children:"Be careful about keeping too much cash — it c
1ontinuously loses value with inflation"}),(0,v.jsx)("div",{className:eu().disclaimer,children:"Since you don’t have a portfolio selected, your proceeds will be kept as cash. Be careful about keeping too much cash, it loses value with inflation. Re-investing helps outpace inflation so you can reach your goals faster."})]}),(0,v.jsxs)("div",{className:eu().textWrapper,children:[(0,v.jsx)("div",{className:eu().cashTitle,children:"Who this is for"}),(0,v.jsx)("div",{className:eu().disclaimer,children:"This option is best for people that have an immediate need for a large amount of cash, like buying a house."})]}),(0,v.jsxs)("div",{className:eu().textWrapper,children:[(0,v.jsx)(P.$,{shape:"round",type:"primary",title:"Keep as cash",size:"default",onClick:e=>{e.stopPropagation(),d(null==p?void 0:p.id)},loading:a,dataCy:"portfolio-pick-portfolio",className:eu().keepAsCashButton}),(0,v.jsx)("div",{className:eu().disclaimer,children:"You can always invest the cash into a portfolio later."})]})]}),(0,v.jsx)(ex,{onRequestClose:()=>{d("")},onConfirm:n,portfolioID:c,myPlan:r,loading:a}),(0,v.jsx)(eS,{isOpen:_,onClose:()=>{u(!1),i.push("/dashboard/plan/portfolio")},isCash:(null==p?void 0:p.id)===o,myPlan:r})]})};var eN=n(22746),ek=n(83434),eR=n(88005),eL=n(78214),eB=n(1991),eA=n.n(eB);let eP=[{title:"How was this portfolio recommendation calculated?",content:(0,v.jsx)("p",{className:eA().faqRowText,children:"Different portfolios are suitable for people with different risk tolerance. Before we can recommend a portfolio that’s right for you, we’ll ask you a few questions about your risk tolerance and review your RSUs to determine which portfolio is best suited for you. You can always make changes to this later."})},{title:"How much does Candor cost?",content:(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)("p",{children:[(0,v.jsx)("strong",{children:"$250/year flat fee"})," ",(0,v.jsx)("span",{className:eA().faqRowText,children:"—only charged after your first trade."})]}),(0,v.jsx)("p",{className:eA().faqRowText,children:"AUM fees apply for re-investing in BlackRock portfolios (optional)."})]})},{title:"What results can I expect from using Candor?",content:(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("p",{className:eA().faqRowText,children:"Our users have automated their way to:"}),(0,v.jsxs)("ul",{children:[(0,v.jsx)("li",{className:eA().faqRowText,children:"Startup funding without liquidating everything (M1 Engineer at FAANG)"}),(0,v.jsx)("li",{className:eA().faqRowText,children:"Stanford MBA paid with optimized RSU sales (L6 Engineer at FAANG)"}),(0,v.jsx)("li",{className:eA().faqRowText,children:"Monthly family support sent internationally (L6 at FAANG)"}),(0,v.jsx)("li",{className:eA().faqRowText,children:"Special needs trust for daughter (L7 Engineer at Bloomberg)"}),(0,v.jsx)("li",{className:eA().faqRowText,children:"$4M charitable donation with tax optimization (CEO, $15B company)"})]}),(0,v.jsxs)("p",{className:eA().faqRowText,children:["From engineers to C-suite executives, Candor users are transforming RSUs into life-changing wealth—",(0,v.jsx)("em",{children:"automatically"}),"."]})]})},{title:"Is Candor right for me if I just started receiving RSUs?",content:(0,v.jsxs)("p",{children:[(0,v.jsx)("strong",{children:"Perfect timing."})," Starting early maximizes your advantage. Set up your plan now—we’ll handle everything automatically when your first vest arrives.No charges until your first trade."]})}],eT=e=>{let{onContinue:t,onCancel:n,previousStep:a,isActive:o,isLoading:i,recommendedPortfolio:r}=e;(0,y.useEffect)(()=>{!r&&o&&a()},[o,a,r]);let l=(0,y.useCallback)(()=>{i||t()},[i,t]),s=(0,y.useCallback)(()=>{i||n()},[i,n]),c=(0,y.useMemo)(()=>0==+(null==r?void 0:r.riskLevel),[null==r?void 0:r.riskLevel]),d=(0,y.useMemo)(()=>{if(r)return(0,es.k)(r.riskLevel)},[r]),_=(0,y.useMemo)(()=>{if(!r)return{};let e="We got you",t=eA().stepLayout;return c?{header:e,className:t,title:"Keep proceed from sold RSUs as cash",description:"You can always change this later."}:{header:e,className:t,title:"Your recommended portfolio",description:"Based on your goals, timeline, and risk preferences, we recommend reinvesting your RSU proceeds in ".concat(r.name," Portfolio.")}},[r,c]),u=(0,y.useMemo)(()=>!r||c?null:(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("div",{className:eA().investmentStyle,children:(0,v.jsx)(eb,{newPortfolioID:r.id,investingType:d,isLoading:i,onConfirm:()=>{}})}),(0,v.jsx)("div",{className:eA().portfolio,children:(0,v.jsx)(ec.A,{expanded:!0,portfolioID:r.id,title:r.name,portfolioAllocations:r.wealthPortfolioAllocations,portfolioType:r.portfolioType,riskLevel:d,isCash:!1})})]}),[c,i,d,r]),p=(0,y.useMemo)(()=>r&&c?(0,v.jsx)(eN.w,{topContent:(0,v.jsx)(eR.mh,{riskLevel:+r.riskLevel}),bottomContent:(0,v.jsx)(ek.i,{}),isLoading:!1}):null,[r,c]);return r?(0,v.jsxs)("div",{className:eA().pageContainer,children:[(0,v.jsxs)("div",{className:eA().section,children:[(0,v.jsx)(T.l,{headerColor:"green",..._}),(0,v.jsx)("div",{className:eA().recommendation,children:c?p:u}),(0,v.jsxs)("div",{className:eA().actions,children:[(0,v.jsx)(P.$,{shape:"round",title:"Accept and continue",size:"large",type:"primary",disabled:i,loading:i,onClick:l}),(0,v.jsx)("div",{className:eA().cancel,onClick:s,children:"Cancel"})]})]}),!c&&o&&(0,v.jsxs)("div",{className:(0,j.A)(eA().section,eA().faq),children:[(0,v.jsx)("div",{className:eA().faqTitle,children:"Frequently asked questions"}),(0,v.jsx)(eL.Y,{FAQs:eP})]}),o&&(0,v.jsx)(E.X,{eventName:"Portfolio quiz step viewed - recommended portfolio step"})]}):null};var eE=n(39893),eO=n(64854),eM=n.n(eO);let eD=e=>{let{onContinue:t,isActive:n,isLoading:a,recommendedPortfolio:o}=e,i=0==+(null==o?void 0:o.riskLevel),r=(null==o?void 0:o.name)||"your portfolio";return(0,v.jsx)(T.l,{headerColor:"green",header:null,title:null,description:null,className:"card",children:(0,v.jsxs)("div",{className:eM().container,children:[(0,v.jsx)(eE.A,{className:eM().icon}),(0,v.jsxs)("div",{className:eM().info,children:[(0,v.jsx)("h2",{children:i?"RSU proceeds will be held in cash":"Portfolio changed"}),(0,v.jsx)("p",{children:i?"Funds are ready to withdraw after trade settlement."
1:"Your sold RSUs will be automatically invested into the ".concat(r," Portfolio")})]}),(0,v.jsx)(P.$,{shape:"round",title:"View my plan →",size:"large",type:"primary",loading:a,onClick:t}),n&&(0,v.jsx)(E.X,{eventName:"Portfolio quiz step viewed - portfolio changed step"})]})})};var eI=n(14662),eq=n(44290),ez=n(11386),eF=n(64006),eW=n.n(eF);let eG=()=>(0,v.jsxs)("div",{className:eW().whiteCardLoadingContainer,children:[(0,v.jsx)("div",{className:eW().row,children:(0,v.jsx)(eq.a,{isLoading:!0,className:eW().rect})}),(0,v.jsxs)("div",{className:eW().row,children:[(0,v.jsx)(eq.a,{isLoading:!0,className:eW().rectBigWider}),(0,v.jsx)(eq.a,{isLoading:!0,className:eW().circle})]})]}),eY=["Analyzing your responses..."],eU=e=>{let{onContinue:t,isActive:n,isLoading:a}=e,o=(0,eI.rd)(),i=(0,y.useRef)(null),r=(0,y.useMemo)(()=>!a,[a]),[l,s]=(0,y.useState)(!1);return((0,y.useEffect)(()=>{(!l||n)&&s(!1)},[n,l]),(0,y.useEffect)(()=>{l&&r&&n&&t()},[r,n,l,t,o]),(0,y.useEffect)(()=>{n&&(i.current&&clearTimeout(i.current),i.current=setTimeout(()=>{s(!0)},6300))},[n]),n)?(0,v.jsxs)("div",{className:eW().container,children:[(0,v.jsxs)("div",{className:eW().content,children:[(0,v.jsxs)("div",{className:eW().columnsContainer,children:[(0,v.jsx)("div",{className:eW().leftColumn,children:(0,v.jsx)("div",{className:eW().leftTitle,children:"We’re determining your optimal portfolio..."})}),(0,v.jsx)("div",{className:(0,j.A)(eW().rightColumn,eW().hiddenMobile),children:(0,v.jsx)(eG,{})})]}),(0,v.jsx)("div",{className:eW().progressBarContainer,children:(0,v.jsx)(ez.z,{active:!0,gradientVersion:"gradientOnboarding",transformTime:6300})}),eY.length>1&&(0,v.jsx)(w.A,{isLazyMount:!0,children:eY.map((e,t)=>(0,v.jsx)("div",{className:eW().progressBarSubtitle,children:e},t))}),1===eY.length&&(0,v.jsx)("div",{className:eW().progressBarSubtitle,children:eY[0]}),(0,v.jsx)("div",{className:(0,j.A)(eW().columnsContainer,eW().hiddenDesktop),children:(0,v.jsx)("div",{className:eW().rightColumn,children:(0,v.jsx)(eG,{})})})]}),n&&(0,v.jsx)(E.X,{eventName:"Portfolio quiz step viewed - recommendations loading step"})]}):null},eV=()=>{let e=(0,C.useRouter)(),{mutate:t}=(0,L.u)(),[n,a]=(0,y.useState)(null),[o,i]=(0,y.useState)({}),[r,l]=(0,y.useState)(null),[s,c]=(0,y.useState)(!1),d=(0,y.useCallback)(()=>{if(!n)return;let{currentStep:e,goToStep:t}=n;t(6===e?e-2:e-1)},[n]),_=(0,y.useCallback)(()=>{e.push("/dashboard/plan")},[e]),u=(0,y.useMemo)(()=>{if(!n)return null;let{currentStep:e,totalSteps:t}=n;return 1===e?(0,v.jsx)("span",{children:"Portfolio quiz"}):5===e?null:(0,v.jsxs)("div",{className:A().backButton,onClick:d,children:[(0,v.jsx)(S.A,{className:A().backIcon}),(0,v.jsxs)("span",{children:[e-(e>5?2:1),"/",t-2]})]})},[d,n]),p=(0,y.useCallback)(async e=>{if(n&&e){c(!0),n.nextStep();try{let t=await fetch("/api/onboarding/generate-recommendations",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({portfolioAnswers:e})});if(t.ok){let{fullRecommendedPortfolio:e}=await t.json();l(e),n.nextStep()}else{let e=await t.json();(0,R.c)({message:"Failed to generate recommendation",details:{errorData:e}})}}catch(e){(0,R.c)({message:"Something went wrong",details:{err:e}})}finally{c(!1)}}},[n]),m=(0,y.useCallback)(async()=>{if(!n||!r)return;let e=0==+(null==r?void 0:r.riskLevel),a={cashSelected:e,portfolioId:e?null:r.id};c(!0);try{let e=await fetch("/api/onboarding/portfolios/select-portfolio",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(e.ok)await t(),n.nextStep();else{let t=await e.json();(0,R.c)({message:"Failed to confirm portfolio selection",details:{errorData:t}})}}catch(e){(0,R.c)({message:"Something went wrong",details:{err:e}})}finally{c(!1)}},[t,r,n]),h=(0,y.useCallback)(e=>{if(!n)return;let{currentStep:t,nextStep:a}=n,r={...o,...e};return(i(r),4===t&&3===Object.keys(r).length)?void p(r):6===t?void m():7===t?void _():void a()},[o,m,p,_,n]),g=(0,y.useMemo)(()=>({onContinue:h,isLoading:s}),[s,h]),f=(0,y.useMemo)(()=>!!n&&n.currentStep>1,[n]);return(0,v.jsxs)("div",{className:A().container,children:[(0,v.jsxs)("div",{className:A().header,children:[(0,v.jsx)("div",{className:A().info,children:u}),(0,v.jsx)("div",{className:A().exit,onClick:_,children:"Exit"})]}),f&&(0,v.jsx)(k,{showProgressBar:f,stepNumber:(null==n?void 0:n.currentStep)-1,totalSteps:(null==n?void 0:n.totalSteps)-1,className:A().progressBar}),(0,v.jsxs)(w.A,{instance:a,initialStep:1,className:A().wizardContainer,stepWrapperClassName:A().stepWrapper,stepClassName:A().step,stepActiveClassName:A().stepActive,withoutTransitions:!0,children:[(0,v.jsx)(D,{...g}),(0,v.jsx)(J,{...g}),(0,v.jsx)(ea,{...g}),(0,v.jsx)(el,{...g}),(0,v.jsx)(eU,{...g}),(0,v.jsx)(eT,{...g,recommendedPortfolio:r,onCancel:_}),(0,v.jsx)(eD,{...g,recommendedPortfolio:r})]})]})};n(76299);let eH=()=>(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(x.A,{title:"Dashboard",disallowRobots:!0}),(0,v.jsx)(eV,{}),(0,v.jsx)(E.X,{eventName:"Opened Plan Portfolio Select page"}),!1]})}
1,39893:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a,o,i=n(74361);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}let l=function(e){return i.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 73 73"},e),a||(a=i.createElement("ellipse",{cx:36.792,cy:36.157,fill:"#000",rx:36.078,ry:36.101})),o||(o=i.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:4,d:"m20.999 36 12 12 20-24"})))}},41083:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a,o,i=n(74361);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}let l=function(e){return i.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32"},e),a||(a=i.createElement("path",{stroke:"#9CECA7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M30.418 14.72v1.288a13.87 13.87 0 0 1-2.828 8.375 14.2 14.2 0 0 1-7.352 5.043 14.4 14.4 0 0 1-8.953-.294 14.17 14.17 0 0 1-6.996-5.512 13.84 13.84 0 0 1-2.258-8.541 13.9 13.9 0 0 1 3.377-8.175 14.25 14.25 0 0 1 7.67-4.56 14.4 14.4 0 0 1 8.914.868",opacity:.2})),o||(o=i.createElement("path",{stroke:"#7AF2CF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M30.418 4.805 16.21 18.819l-4.263-4.2"})))}},44290:(e,t,n)=>{"use strict";n.d(t,{a:()=>l});var a=n(62021),o=n(3638);n(74361);var i=n(45477),r=n.n(i);let l=e=>{let{isLoading:t,children:n,className:i="",inline:l,width:s,height:c,flex:d=!1,noRenderWhileLoading:_=!1,solid:u=!1,onClick:p=null,display:m}=e,h=(0,o.A)(t&&r().loaderWrapper,t&&u&&r().solid,i,d&&r().flex);return(0,a.jsx)("div",{className:h,style:{display:m||(l?"inline-flex":"flex"),width:t?s:void 0,height:t?c:void 0},onClick:()=>t||!p?null:p(),"data-cy":e["data-cy"],children:(!_||!t)&&n})}},45317:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/plan/portfolio-select",function(){return n(36778)}])},45477:e=>{e.exports={loaderWrapper:"LoadingWrapper_loaderWrapper__13lqr",shimmer:"LoadingWrapper_shimmer__xGygv",flex:"LoadingWrapper_flex__yan4U",solid:"LoadingWrapper_solid__yPVzY"}},50224:e=>{e.exports={container:"ChangePortfolioSuccessModal_container__koIJ_",content:"ChangePortfolioSuccessModal_content__oMFOm",title:"ChangePortfolioSuccessModal_title__CPf_t",cashContent:"ChangePortfolioSuccessModal_cashContent__cIX7W",cashNoteContainer:"ChangePortfolioSuccessModal_cashNoteContainer__dzu5b",cashNoteTitle:"ChangePortfolioSuccessModal_cashNoteTitle__cWCIj",cashNoteContent:"ChangePortfolioSuccessModal_cashNoteContent__1v9FQ",liquidate:"ChangePortfolioSuccessModal_liquidate__jrjPF",button:"ChangePortfolioSuccessModal_button__d4Qhm"}},55699:e=>{e.exports={stepWrapper:"StartQuizStep_stepWrapper__FbHl3",title:"StartQuizStep_title__1qQM9",paragraph:"StartQuizStep_paragraph__tJKQz",button:"StartQuizStep_button__VVYzH",container:"StartQuizStep_container__RDt0S",stepLayout:"StartQuizStep_stepLayout___g453"}},61663:e=>{e.exports={container:"FaqSection_container__616on",faqRow:"FaqSection_faqRow__j6sxz",faqRowTitleContainer:"FaqSection_faqRowTitleContainer__VpSl_",faqRowTitle:"FaqSection_faqRowTitle__MHuIl",iconContainer:"FaqSection_iconContainer__PPmlR",expanded:"FaqSection_expanded__VrQwU",icon:"FaqSection_icon__A_yvv",faqRowContent:"FaqSection_faqRowContent__dUiY4",collapsed:"FaqSection_collapsed__F9wk_",stepLayout:"FaqSection_stepLayout__Hk_qL",section:"FaqSection_section__jmns5"}},63119:e=>{e.exports={button:"Button_button__inHl_",loading:"Button_loading__EdImY","icon-primary":"Button_icon-primary__f4FLW","icon-outline":"Button_icon-outline__rQQfU","icon-plain":"Button_icon-plain__NGjcR",primary:"Button_primary__gvjwt",green:"Button_green__5N6WD","icon-green":"Button_icon-green__Ja7p_","primary-light":"Button_primary-light__kykxw","icon-primary-light":"Button_icon-primary-light__DrBAX","primary-landing":"Button_primary-landing__57YhX","icon-primary-landing":"Button_icon-primary-landing__DV_fI",secondary:"Button_secondary__Y23GU",outline:"Button_outline__aYs0G",text:"Button_text__HSfGv",plain:"Button_plain__SRm6M",monochrome:"Button_monochrome__DoRIf",marketing:"Button_marketing__IWmad",dangerPrimary:"Button_dangerPrimary__0vcXW",dangerOutline:"Button_dangerOutline__cpF_F",underline:"Button_underline__FZ2wr",olive:"Button_olive__qTSAn","landing-light":"Button_landing-light__UylcY","landing-medium":"Button_landing-medium__QVcuH","landing-dark":"Button_landing-dark__R_4np",square:"Button_square__b4wB1",round:"Button_round__aI0LC",slim:"Button_slim__J46cd",default:"Button_default__K1PG5",large:"Button_large__ocsLs",slimIcon:"Button_slimIcon__lO7Vf",defaultIcon:"Button_defaultIcon__nhW48",largeIcon:"Button_largeIcon__SgNj3",iconLeft:"Button_iconLeft__6StiO",iconRight:"Button_iconRight__DrtJM",disabledText:"Button_disabledText__RfxeT",upperCase:"Button_upperCase__hQof9",loadingContainer:"Button_loadingContainer__NWrpD",loader:"Button_loader__uj5DM",load8:"Button_load8__isG4p"}},64006:e=>{e.exports={container:"RecommendationsLoadingStep_container__V8rhj",content:"RecommendationsLoadingStep_content__tIkOG",columnsContainer:"RecommendationsLoadingStep_columnsContainer__5ie3w",leftColumn:"RecommendationsLoadingStep_leftColumn__Ag9uT",leftTitle:"RecommendationsLoadingStep_leftTitle__DCYN8",leftSubtitle:"RecommendationsLoadingStep_leftSubtitle__xqo7W",rightColumn:"RecommendationsLoadingStep_rightColumn___BEEH",progressBarContainer:"RecommendationsLoadingStep_progressBarContainer___0csl",progressBarSubtitle:"RecommendationsLoadingStep_progressBarSubtitle__MXgiS",hiddenMobile:"RecommendationsLoadingStep_hiddenMobile__4iRH1",hiddenDesktop:"RecommendationsLoadingStep_hiddenDesktop__3TC0p",whiteCardLoadingContainer:"RecommendationsLoadingStep_whiteCardLoadingContainer__hZvGK",border:"RecommendationsLoadingStep_border__VBCFF",row:"RecommendationsLoadingStep_row__SoNhT",rect:"RecommendationsLoadingStep_rect__r3_YB",rectMid:"RecommendationsLoadingStep_rectMid__R12be",rectBig:"RecommendationsLoadingStep_rectBig__S49W9",rectBigWider:"RecommendationsLoadingStep_rectBigWider__QMH1L",cylinder:"RecommendationsLoadingStep_cylinder__vyqx6",circle:"RecommendationsLoadingStep_circle__g1Z7o",fullSlim:"RecommendationsLoadingStep_fullSlim__I42bu",fullFat:"RecommendationsLoadingStep_fullFat__90LJa"}},64366:e=>{e.exports={container:"ChangePortfolioConfirmationModal_container__XzlG7",title:"ChangePortfolioConfirmationModal_title__ZDwQP",content:"ChangePortfolioConfirmationModal_content__Mrr7y",cancel:"ChangePortfolioConfirmationModal_cancel__drfWm",cancelLoading:"ChangePortfolioConfirmationModal_cancelLoading__QXDH8",portfolioContainer:"ChangePortfolioConfirmationModal_portfolioContainer__8lV9p",portfolioContent:"ChangePortfolioConfirmationModal_portfolioContent__0utpP"}},64854:e=>{e.exports={container:"PortfolioChangedStep_container__MXfbQ",icon:"PortfolioChangedStep_icon__lEcct",info:"PortfolioChangedStep_info__XiQH_"}},64984:e=>{e.exports={container:"GoalTimelineSelectionStep_container__UFEMr",answers:"GoalTimelineSelectionStep_answers__gp9OW",answer:"GoalTimelineSelectionStep_answer__yA_oo",continueButton:"GoalTimelineSelectionStep_continueButton__Va_5l",answerTitle:"GoalTimelineSelectionStep_answerTitle__gp_sL",answersContainer:"GoalTimelineSelectionStep_answersContainer__uXs7x",stepLayout:"GoalTimelineSelectionStep_stepLayout__mPyvh"}},66253:e=>{e.exports={content:"GoalSelectionStep_content__7hC2u",cardsContainer:"GoalSelectionStep_cardsContainer__Bj3Hx",goalCard:"Goal
1SelectionStep_goalCard__X_a6e",goalCardSelected:"GoalSelectionStep_goalCardSelected__lwUnA",iconContainer:"GoalSelectionStep_iconContainer__2VHTq",houseIcon:"GoalSelectionStep_houseIcon___xuNv",withStroke:"GoalSelectionStep_withStroke__5RXrx",goalCardDisabled:"GoalSelectionStep_goalCardDisabled__XaNE8",goalCardLoading:"GoalSelectionStep_goalCardLoading__x_A8D",goalIcon:"GoalSelectionStep_goalIcon__IchLQ",goalTitle:"GoalSelectionStep_goalTitle__inFVs",stepLayout:"GoalSelectionStep_stepLayout__fxp6f"}},75361:e=>{e.exports={container:"ProgressBar_container__tc3xQ",containerRainbow:"ProgressBar_containerRainbow__tR8o5",containerDark:"ProgressBar_containerDark__o9sRD",bar:"ProgressBar_bar__QYXKX",insideText:"ProgressBar_insideText__gj3_o",outsideTextAlt:"ProgressBar_outsideTextAlt__ewuxl",outsideText:"ProgressBar_outsideText__r8W9i",active:"ProgressBar_active__dnHr4",activeFull:"ProgressBar_activeFull__UNMoy",rainbow:"ProgressBar_rainbow__BFcuX",dark:"ProgressBar_dark__KonVF",gradientOnboarding:"ProgressBar_gradientOnboarding__mCZg9",greenOnboarding:"ProgressBar_greenOnboarding__y6abG",greenDashboard:"ProgressBar_greenDashboard__iS5Wd",containerGreenDashboard:"ProgressBar_containerGreenDashboard__EP36O",disabled:"ProgressBar_disabled__lX3Zg"}},78214:(e,t,n)=>{"use strict";n.d(t,{Y:()=>d});var a=n(62021),o=n(74361),i=n(3638),r=n(23894),l=n(61663),s=n.n(l);let c=e=>{let{title:t,content:n}=e,[l,c]=(0,o.useState)(!0),d=(0,o.useRef)(null),[_,u]=(0,o.useState)(0);return(0,o.useEffect)(()=>{d.current&&u(d.current.scrollHeight)},[n]),(0,a.jsxs)("div",{className:s().faqRow,children:[(0,a.jsxs)("div",{className:s().faqRowTitleContainer,onClick:()=>c(!l),children:[(0,a.jsx)("span",{className:s().faqRowTitle,children:t}),(0,a.jsx)("div",{className:(0,i.A)(s().iconContainer,!l&&s().expanded),children:(0,a.jsx)(r.A,{className:s().icon})})]}),(0,a.jsx)("div",{className:(0,i.A)(s().faqRowContent,l&&s().collapsed),style:{height:l?0:_},children:(0,a.jsx)("div",{ref:d,children:n})})]})},d=e=>{let{FAQs:t}=e;return(0,a.jsx)("div",{className:s().container,children:null==t?void 0:t.map(e=>(0,a.jsx)(c,{title:e.title,content:e.content},e.title))})}},89743:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a,o=n(74361);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 a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}let r=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 19 16"},e),a||(a=o.createElement("path",{fill:"#FF6B6B",d:"m18.143 12.043-6.459-10.71a2.887 2.887 0 0 0-4.866 0L.36 12.043a2.53 2.53 0 0 0-.042 2.526 2.84 2.84 0 0 0 2.475 1.43H15.71a2.84 2.84 0 0 0 2.476-1.397 2.53 2.53 0 0 0-.043-2.56m-8.892.589a.842.842 0 1 1 0-1.684.842.842 0 0 1 0 1.684m.842-3.368a.842.842 0 1 1-1.684 0V5.896a.842.842 0 0 1 1.684 0z"})))}},95408:e=>{e.exports={content:"ProgressBar_content__2wmUD",progress:"ProgressBar_progress__lTg4M"}},96458:e=>{e.exports={modal:"Modal_modal__mi_CW",showAnimation:"Modal_showAnimation__WdwYC",modalAfterOpen:"Modal_modalAfterOpen__hgB4u",modalBeforeClose:"Modal_modalBeforeClose__LMMp1",modalOverlay:"Modal_modalOverlay__C1LSz",modalOverlayAfterOpen:"Modal_modalOverlayAfterOpen__CwoJz",modalOverlayBeforeClose:"Modal_modalOverlayBeforeClose__HbOVy",titleContainer:"Modal_titleContainer__VG_Mk",title:"Modal_title__2N35L",content:"Modal_content__sUhbc",illustration:"Modal_illustration__BgbTS",ctaContainer:"Modal_ctaContainer__YhFYU",altCTA:"Modal_altCTA__6ES5s",closeButton:"Modal_closeButton__6Ig7m",heading:"Modal_heading__8PuBp"}}},e=>{e.O(0,[4095,2347,9510,9854,4662,5259,9742,5403,3309,636,6593,8792],()=>e(e.s=45317)),_N_E=e.O()}]);

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.