PageSourceSearch

https://www.syfe.com/_next/static/chunks/pages/dashboard/portfolio/[id]/[section]/detail-1f6029201ca58074.js

js syfe.com collected 2026-10-01 12:00:20 UTC 10,415 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1b07fc6b-3caf-4d6a-94b9-7074dac87e33",e._sentryDebugIdIdentifier="sentry-dbid-1b07fc6b-3caf-4d6a-94b9-7074dac87e33")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6567],{28769:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var i=r(48048),s=r(99109),n=r(23624);function a(e,t){(0,s.A)(2,arguments);var r=(0,n.A)(t);return(0,i.default)(e,-r)}},32797:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var i=r(41235),s=r(99109);function n(e){return(0,s.A)(1,arguments),(0,i.A)(e).getHours()}},37269:(e,t,r)=>{"use strict";r.d(t,{A:()=>I});var i=r(37876),s=r(14232),n=r(89099),a=r(87423),o=r(2965),l=r(93004),d=r(85081),c=r(95118),p=r(53918),h=r(55494),u=r(73356),m=r(66941),_=r(44610),v=r(60233),x=r(82167),f=r(21651),A=r(26445);let j=(0,x.Ay)(_.pT).withConfig({componentId:"sc-78aa1d57-0"})(["border-radius:","px;"],(0,f.y)("radii.2")),y=e=>{let t=(0,A.Kb)();return(0,i.jsx)(j,{alignItems:"center",bg:"B.3",justifyContent:"center",left:"fixed"===e.position&&0,minWidth:"4rem",my:1,position:"fixed"===e.position&&"absolute",px:1,py:"2px",top:"fixed"===e.position&&"1rem",children:(0,i.jsx)(_.EY,{color:"BT.2",mb:0,variant:{_:"h6",md:"caption1"},children:t.portfolioLabel[e.tag]||e.tag})})};y.defaultProps={position:"relative"};var g=r(11893),E=r(29116),b=r.n(E),N=r(64440);let T={src:"/_next/static/media/delete.24b090ec.svg",height:42,width:42,blurWidth:0,blurHeight:0};var C=r(94739);class D extends s.Component{render(){var e,t,r,n,a,m;let{interpolate:x,strings:{general:f,dashboard_home_page:{reinvest_risk_mgmt_text:A,payout_risk_mgmt_text:j,reinvest_reit_text:g,payout_reit_text:E,reinvest_enhance_text:T,payout_enhance_text:D,reinvest_preserve_text:I,payout_preserve_text:w,reinvest_max_text:S,payout_max_text:k},portfolio_report_page:{portfolio_report_header_section:R,recurring_transfer_page:P}}}=this.props.locale;if((null==(e=this.props.portfolio)?void 0:e.informationScope)==="overview")return(0,i.jsx)(h.k,{showLoader:!0});let O=l.WDt;if([O.FUTURE_VALUE,O.CASH_INSTANT_WITHDRAWAL_EDUCATION,O.WITHDRAWAL_STATUS].includes(this.props.router.query.section))return null;let L=(0,c.V8)(this.props.searchQuery,"recID"),Y=(0,c.V8)(this.props.searchQuery,"entryPoint"),M=(0,c.V8)(this.props.searchQuery,"source"),W=Y&&"home"===Y?l.akO:"/dashboard/portfolio/".concat(this.props.router.query.id,"/overview"),F=this.props.portfolio,V=F&&("REIT"===F.type||"REIT_RISK_MANAGED"===F.type),B=F&&(0,u.IC)(F.type);if(!F)return null;let H=(null==F||null==(t=F.guaranteedPortfolioDetails)?void 0:t.investedOnMessage)&&(0,i.jsxs)(_.EY,{as:"div",color:{_:"BT.2",md:"BT.3"},mr:{_:0,md:1},mt:{_:1,md:0},variant:"caption1",children:[null==F||null==(r=F.guaranteedPortfolioDetails)?void 0:r.investedOnMessage,this.props.responsiveUtility.isPhone?null:" |"]}),U=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(_.EY,{color:"BT.2",variant:"caption1",children:x(R.id_text,{id:F.id})}),!!F.inceptionDate&&(0,i.jsx)(_.EY,{color:"BT.2",variant:"caption1",children:x(R.created_on_text,{date:(0,N.default)(new Date(F.inceptionDate),o.DX)})})]}),$=(0,i.jsxs)(_.pT,{mt:4,children:[(0,i.jsx)(p.A,{renderOn:"desktop",children:H}),(0,i.jsx)(_.EY,{as:"div",color:"BT.3",variant:"caption1",children:null==F||null==(n=F.guaranteedPortfolioDetails)?void 0:n.maturityStateMessage})]}),G=(0,i.jsx)("div",{className:b()["portrpt-header__currency-info"],children:(0,i.jsx)(_.EY,{color:"BT.2",variant:"caption1",children:x(R.currency_text,{currency:F.currency})})}),Q=F.fundSource===o.Cr.SRS,X=(V||B)&&"active"===F.status&&(0,i.jsxs)(_.EY,{as:"div",color:"B.1",mb:Q?{_:2,md:4}:void 0,ml:{_:0,md:2*!Q},mt:Q?4:void 0,variant:"caption1",children:["REIT_RISK_MANAGED"===F.type&&("REINVEST"===F.dividendOption?A:j),"REIT"===F.type&&("REINVEST"===F.dividendOption?g:E),F.type===o.jv.INCOME_ENHANCE&&("REINVEST"===F.dividendOption?T:D),F.type===o.jv.INCOME_PRESERVE&&("REINVEST"===F.dividendOption?I:w),F.type===o.jv.INCOME_MAX_USD&&("REINVEST"===F.dividendOption?S:k),F.type===o.jv.SRS_INCOME_ENHANCED&&T,F.type===o.jv.SRS_INCOME_PRESERVE&&I]}),q=Q&&(0,i.jsx)(_.pT,{alignItems:"center",bg:"AT.4",borderRadius:2,justifyContent:"center",mb:{_:2,md:1},ml:{_:0,md:2},mt:{_:2,md:1},px:{_:1,md:3},py:{_:0,md:"2px"},width:"fit-content",children:(0,i.jsx)(_.EY,{color:"BT.1",mb:0,variant:{_:"caption3",md:"caption1"},children:R.srs_investment_text})}),K=(0,i.jsxs)("div",{className:b()["portrpt-header__name-row"]+" align-items-center d-flex",children:[(0,i.jsxs)(_.pT,{inline:!0,alignItems:"center",children:[(0,i.jsx)("span",{className:"".concat(b()["portrpt-header__status-sign"]," ").concat(b()["portrpt-header__status-sign--".concat(F.status)])}),(0,i.jsx)(_.EY,{color:"primary.3",mb:0,mr:2,variant:{_:"subtitle1",md:"h4"},children:F.name})]}),(0,i.jsx)(y,{tag:F.theme||(null==(a=F.guaranteedPortfolioDetails)?void 0:a.portfolioLabel)||F.type}),(0,i.jsxs)(p.A,{renderOn:"desktop",children:[q,!Q&&X]})]}
1),Z=(0,u.L$)(F.type)&&!(null==F||null==(m=F.guaranteedPortfolioDetails)?void 0:m.lockedInRequired),z="dormant"===F.status||"inactive"===F.status||(0,d.k0)(F.template)&&"active"===F.status||(0,d.vL)(F.type,F.cutoffDate),J=(0,i.jsxs)(s.Fragment,{children:[(0,i.jsx)("div",{className:b()["portrpt-header__cell"],children:!z&&(0,i.jsx)(_.$n,{disabled:Z,type:"primary",onClick:()=>{this.trackClick("Manage funds"),this.props.navigate(l.Zg4(F.id,O.MANAGE_FUNDS))},children:R.manage_funds_cta})}),("active"===F.status||"inactive"===F.status&&(0,u.L$)(F.type))&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:b()["portrpt-header__cell"],children:(0,i.jsx)(_.$n,{disabled:!!L,icon:(0,i.jsx)(_.C0,{name:"edit",stroke:"currentColor"}),type:"primary",onClick:()=>{this.trackClick("Edit portfolio"),this.props.navigate(l.Zg4(F.id,O.EDIT_PORTFOLIO))}})})}),!!L&&(0,i.jsx)("div",{className:b()["portrpt-header__cell"],children:(0,i.jsx)(_.$n,{icon:(0,i.jsx)(_.C0,{name:"delete",stroke:"#E4667E"}),onClick:this.showDeleteConfirmPopup,type:"primary"})})]}),ee=(0,u.rt)(F.type)&&F.withdrawableAmounts[C.S.SGD]>0&&(0,i.jsx)(v.A,{hideWhenLimitExhausted:!1,maxWidth:"340px",mt:3,onClick:this.handleCashInstantWithdrawalClick,showIcon:!1,textProps:{as:"div"},variant:"secondary"}),et=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:b()["portrpt-header"],children:(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:"row justify-content-between",children:[(0,i.jsxs)(p.A,{renderOn:["desktop","tablet"],children:[(0,i.jsxs)("div",{className:"col-md-7 col-lg-8",children:[K,!!Q&&X,(0,i.jsxs)("div",{className:b()["portrpt-header__details-row"],children:[U,(0,u.L$)(F.type)&&$,G,ee]})]}),(0,i.jsx)("div",{className:"col-md-5 col-lg-4 d-flex ".concat(b()["portrpt-header__actions"]),children:J})]}),(0,i.jsxs)(p.A,{renderOn:["phone"],children:[(0,i.jsx)("div",{className:"col-1 align-self-center",children:(0,i.jsx)(_.C0,{className:b()["portrpt-header__back-button"],height:"16",name:"caret",onClick:()=>this.props.navigate(l.PhV),rotation:"90deg",width:"16"})}),(0,i.jsx)("div",{className:"col-11",children:K}),(0,i.jsxs)("div",{className:"col-11 offset-1",children:[(0,i.jsxs)("div",{className:b()["portrpt-header__details-row"],children:[q,X,(0,u.L$)(F.type)&&$,(0,u.L$)(F.type)&&H,G,ee]}),(0,i.jsx)("div",{className:b()["portrpt-header__actions"],children:J})]})]})]})})}),!!this.state.showDeletePopup&&(0,i.jsx)(_.QQ,{onCancel:this.hideDeleteConfirmPopup,primaryActionLabel:(0,i.jsx)(_.EY,{color:"R.2",children:"Delete"}),onPrimaryAction:this.handleDeleteTransfer.bind(this,L,W,P),children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(_.EY,{color:"N.2",variant:"subtitle1",children:P.delete_transfer_confirm_popup.title}),(0,i.jsx)(_.EY,{color:"BT.2",mt:4,variant:"body2",children:P.delete_transfer_confirm_popup.delete_transfer_content_text})]})})]});return"home"!==M&&et}constructor(e){super(e),this.trackClick=(0,a.Xv)(this.props.userId,this.props.pathname,this.props.isPhone)("Portfolio details header"),this.handleDeleteTransfer=(e,t,r)=>{this.props.deleteRecurringTransfer(Number(e),!0,r.delete_transfer_success_text,t,T),this.setState({showDeletePopup:!1})},this.showDeleteConfirmPopup=()=>this.setState({showDeletePopup:!0}),this.hideDeleteConfirmPopup=()=>this.setState({showDeletePopup:!1}),this.handleCashInstantWithdrawalClick=()=>{this.props.navigate(l.Zg4(this.props.portfolio.id,l.WDt.CASH_INSTANT_WITHDRAWAL))},this.state={showDeletePopup:!1}}}let I=(0,n.withRouter)((0,m.GD)((0,g.A)(D)))},45907:(e,t,r)=>{"use strict";r.d(t,{b:()=>l});var i=r(29761),s=r(54955),n=r(40570),a=r(25493),o=r(70908),l=(0,i.gu)({chartName:"LineChart",GraphicalChild:s.N,axisComponents:[{axisType:"xAxis",AxisComp:n.W},{axisType:"yAxis",AxisComp:a.h}],formatAxisMap:o.pr})},65974:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var i=r(23624),s=r(96185),n=r(99109);function a(e,t){(0,n.A)(2,arguments);var r=(0,i.A)(t);return(0,s.default)(e,-r)}},68296:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var i=r(23624),s=r(41235),n=r(99109);function a(e,t){(0,n.A)(2,arguments);var r=(0,s.A)(e),a=(0,i.A)(t);return r.setDate(a),r}},73845:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var i=r(41235),s=r(99109);function n(e){(0,s.A)(1,arguments);var t=(0,i.A)(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(0,0,0,0),t}},80802:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/portfolio/[id]/[section]/detail",function(){return r(84285)}])},84285:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var i=r(37876);r(14232);var s=r(52373),n=r(36815),a=r(89775),o=r(37269);function l(){return(0,i.jsx)(a.Hb,{})}l.getLayout=function(e){return(0,i.jsx)(s.A,{children:(0,i.jsx)(n.A,{header:(0,i.jsx)(o.A,{}),children:e})})}},88677:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var i=r(41235),s=r(99109),n=r(80026);function a(e,t){(0,s.A)(2,arguments);var r=(0,i.A)(e),a=(0,i.A)(t),o=(0,n.A)(r,a),l=Math.abs(function(e,t){(0,s.A)(2,arguments);var r=(0,i.A)(e),n=(0,i.A)(t);return r.getFullYear()-n.getFullYear()}(r,a));r.setFullYear(1584),a.setFullYear(1584);var d=(0,n.A)(r,a)===-o,c=o*(l-Number(d));return 0===c?0:c}}},e=>{e.O(0,[4031,5912,6340,1854,1394,3907,3690,5421,3673,8998,2965,6277,6031,2373,4628,9805,7323,9926,4289,841,6859,7115,8884,7793,1894,636,6593,8792],()=>e(e.s=80802)),_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.