PageSourceSearch

https://portal.navfundservices.com/navportalcore/static/js/4202.1aa30a90.chunk.js

js navfundservices.com collected 2026-10-02 15:26:54 UTC 48,003 bytes, 1 lines download raw bytes

1(self.webpackChunkNavPortal=self.webpackChunkNavPortal||[]).push([[4065,4202,4613],{2233:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var r=s(89379),a=s(9950),i=s(98341),o=s(41397),n=s(34046),l=s(44414);class p extends a.Component{constructor(){super(...arguments),this.getClientDisclaimer=()=>{const e=(0,o.find)(this.props.userAttributes,(e=>e.attributeID==n.w_I.ClientDisclaimer));return(0,o.get)(e,"value","")}}render(){const{isReportDisclaimerDisabled:e,isAnalyticsReport:t,isForDashboardSection:s}=(0,r.A)({},this.props),i=this.getClientDisclaimer();return!e&&i?(0,l.jsx)("div",{className:"common-report-disclaimer text-justify p-1",children:(0,l.jsxs)("small",{children:[(0,l.jsx)("strong",{children:s?"":"Disclaimer: "}),s?"":(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:i}}),t&&(0,l.jsx)(a.Fragment,{children:"All the calculations in Analytics section are based on monthly or higher (in case monthly ROR data is not available) granularity."}),s?" Investments with zero balance are not displayed on the Dashboard.":""]})}):""}}const c=(0,i.Ng)((e=>({isReportDisclaimerDisabled:(0,o.get)(e.loginDetails,"isReportDisclaimerDisabled",!1),clientDisclaimer:(0,o.get)(e.loginDetails,"clientDisclaimer",""),userAttributes:(0,o.get)(e.loginDetails,"userAttributes",[])})),null)(p)},15668:(e,t,s)=>{"use strict";s.d(t,{A:()=>g});var r=s(58168),a=s(98587),i=s(9950),o=s(11942),n=s.n(o),l=s(48738),p=s.n(l),c=s(44208),d=["className","cssModule","valid","tooltip","tag"],h={children:n().node,tag:c.Wx,className:n().string,cssModule:n().object,valid:n().bool,tooltip:n().bool},u={tag:"div",valid:void 0},m=function(e){var t=e.className,s=e.cssModule,o=e.valid,n=e.tooltip,l=e.tag,h=(0,a.A)(e,d),u=n?"tooltip":"feedback",m=(0,c.qO)(p()(t,o?"valid-"+u:"invalid-"+u),s);return i.createElement(l,(0,r.A)({},h,{className:m}))};m.propTypes=h,m.defaultProps=u;const g=m},19459:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>re});var r=s(9950),a=s(76115),i=s(98341),o=s(89379),n=s(41397),l=s.n(n),p=s(35933),c=s(19247),d=s(70349),h=s(23931),u=s(76152),m=s(79586),g=s(80292),D=s(70038),S=s(28211),F=s(90723),I=s(59418),b=s.n(I),f=s(79666),v=s(34046),y=s(81832),A=s(92880),x=s(92872),C=s(93814),R=s(31389),T=s(42651),L=s(36383);const k="/api/BenchmarkReport/",N=(e,t)=>function(s,r){s({type:C.OJ.GET_SEARCH_FILTER_DATA}),void 0===e&&(e=r().loginDetails.currencyID),y.A.get(k+"getBenchmarkReportSearchFilterData",{params:{currencyID:e,reportID:t}}).then((async e=>{const{data:a}=e;let i=(0,o.A)({},r().globalSearchFilterData.benchmarkSearchFilterData);i.searchFilterData=a;let{reportingFrequency:n}=a,{frequencySegments:l,minDate:p,maxDate:c}=(0,m.B$)(a),d={};if(r().loginDetails.isViewReportAcrossFund){const{selectedFunds:e,selectedInvestors:t,fundStatus:s,selectedDataList:i}=(0,T.iD)(a,r());d={selectedFunds:e,selectedInvestors:t,fundStatus:s,selectedDataList:i,fromDate:p,toDate:c,selectedSubItems:t,reportingFrequency:n}}else d=await(0,T.W4)(a.fundsList,a.investorsList,v.VXW.BENCHMARK),d.reportingFrequency=n,c=d.toDate,p=d.fromDate,d.frequencySegments&&d.frequencySegments.length>0&&(l=d.frequencySegments);let h=v.b6t;i.searchFilterData=Object.assign({},i.searchFilterData,{maxDate:c,minDate:p,groupFilter:[[],v.e5M],filterItems:h,reportingFrequency:n,frequencySegments:l});const u=(0,x.JS)(a.indexesList);let g={selectedFunds:d.selectedFunds,selectedInvestors:d.selectedInvestors,fromDate:{date:d.fromDate,month:(0,m.IL)(d.fromDate,"M"),year:(0,m.IL)(d.fromDate,"yyyy")},toDate:{date:d.toDate,month:(0,m.IL)(d.toDate,"M"),year:(0,m.IL)(d.toDate,"yyyy")},selectedIndices:u,fundStatus:d.fundStatus,reportID:t,selectedDataList:d.selectedDataList,selectedGroupFilter:(0,T.xu)(),selectedSearchType:v.MNG[0],selectedSubItems:d.selectedSubItems,selectedTab:v.Gdm.Fund,reportingFrequency:n,frequencySegments:l};i.currentSelectedFilterValues=g,i.reportID=v.VXW.BENCHMARK;let S=(0,T.AG)(r().globalSearchFilterData,i,v.VXW.BENCHMARK);var F;return s((F=S,{type:C.OJ.SET_SEARCH_FILTER_DATA_SUCCESS,filterData:F})),s((0,D.mx)(g)),g})).then((e=>{const t={benchmarkReport:null,filter:e};(0,x.pc)(r().router)?s(V(t)):s(w(t))})).catch((function(){var e;s((e={success:!1},{type:C.OJ.SET_SEARCH_FILTER_DATA_FAILURE,filterData:e}))}))},w=e=>{return function(s){s({type:C.Ay.GET_BENCHMARK_REPORT});const r=G(e.filter);if(e.filter=(0,T.LF)(e.filter),(0,x.w2)(r)&&""!==r.indices)y.A.post(k+"GetBenchmarkAnalysisReport",r).then((function(t){const{data:r}=t;let a=r.data,i=r.config;const n=l().cloneDeep(e);let p=i;
1p=(0,x.Zx)({benchmark_analysis:a},p,e),p=function(e){if(null!==e){let t=e.components[0].columns.length;4===t?(e.components[0].columns[1].width=280,e.components[0].columns[2].width=280,e.components[0].columns[3].width=280):3===t?(e.components[0].columns[1].width=280,e.components[0].columns[2].width=280):2===t&&(e.components[0].columns[1].width=280)}return e}(p),p=function(e,t){const s=l().get(e,"benchmark.components[0].columns",[]),r=l().get(t,"components[0].columns",[]);let a=[];l().forEach(r,(e=>{let t=l().find(s,{field:e.field});a.push((0,o.A)((0,o.A)({},e),t))}));return(0,o.A)((0,o.A)({},t),{},{components:[(0,o.A)((0,o.A)({},l().get(t,"components[0]",{})),{},{columns:a})]})}(n,p);let c={};p.components.forEach((t=>{let s={component:t,filterConfig:e,componentIndex:t.id,report:p},r=function(e,t){let{component:s,report:r}=t,a=[],i=s.pivotColumnConfig.length>0?r.pivotDataSet[s.field]:e[s.dataSourceName];if(s.pivotColumnConfig.length>0)return i.forEach((t=>{let r=e[s.dataSourceName].find((e=>e.tag===t.tag));if(void 0!==r&&void 0!==r.tag){let e=v.hIQ[r.tag.trim()];a.push(Object.assign({},t,{tagOrder:e}))}})),l().orderBy(a,["tagOrder"],["asc"]);return i}({benchmark_analysis:a},s),i=R.A.setTreeDataMobile(r,t);l().map(i,((e,t)=>(e.dataTree=0===t,e))),c[t.field]=i})),p.mobileDataSet=c,p.dataSet=a,p.success=!0,s(j(p))})).catch((function(e){let r={message:(0,m.gl)(e),success:!1};s(t(r))}));else{let e={message:A.BC.NoDataFound,success:!1};s(t(e))}};function t(e){return{type:C.Ay.SET_BENCHMARK_REPORT_FAILURE,investorReport:e}}},V=e=>{return function(s){s({type:C.Ay.GET_BENCHMARK_REPORT});const r=G(e.filter);if(e.filter=(0,T.LF)(e.filter),(0,x.w2)(r))y.A.post(k+"GetBenchmarkRORReport",r).then((function(t){const{data:r}=t;let a=r.data,i=r.config;const n=l().cloneDeep(e);let p=i;p=(0,x.Zx)({benchmark_analysis:a},p,e),p=function(e){if(null!==e){let t=e.components[0].columns.length;4===t?(e.components[0].columns[1].width=280,e.components[0].columns[2].width=280,e.components[0].columns[3].width=280):3===t?(e.components[0].columns[1].width=280,e.components[0].columns[2].width=280):2===t&&(e.components[0].columns[1].width=280)}return e}(p),p=function(e,t){const s=l().get(e,"benchmark.components[0].columns",[]),r=l().get(t,"components[0].columns",[]);let a=[];l().forEach(r,(e=>{let t=l().find(s,{field:e.field});a.push((0,o.A)((0,o.A)({},e),t))}));return(0,o.A)((0,o.A)({},t),{},{components:[(0,o.A)((0,o.A)({},l().get(t,"components[0]",{})),{},{columns:a})]})}(n,p);let c={},d=p.pivotDataSet.benchmark_analysis||[];d&&(d=l().orderBy(d,(e=>(0,m.Bk)(e.endDate,v.ow2.Date_MonthName_Year)),"desc"),p.pivotDataSet.benchmark_analysis=d),p.components.forEach((e=>{let t=d,s=R.A.setTreeDataMobile(t,e);l().map(s,((e,t)=>(e.dataTree=0===t,e))),c[e.field]=s})),p.mobileDataSet=c,p.dataSet=a,p.success=!0,s(j(p))})).catch((function(e){let r={message:(0,m.gl)(e),success:!1};s(t(r))}));else{let e={message:A.BC.NoDataFound,success:!1};s(t(e))}};function t(e){return{type:C.Ay.SET_BENCHMARK_REPORT_FAILURE,investorReport:e}}},j=e=>({type:C.Ay.SET_BENCHMARK_REPORT_CONFIG,config:e}),O=(e,t,s)=>function(r,a){r({type:C.OJ.GET_SEARCH_FILTER_DATA});const i=(0,o.A)({},a().globalSearchFilterData.benchmarkSearchFilterData),n=l().get(i,"currentSelectedFilterValues.selectedFunds",[]),p=(0,L.k0)(n);y.A.post("/api/filter/GetDatePeriodByInvestorID",{investorIDs:e,reportingFrequency:p}).then((async function(t){const{frequencySegments:o,minDate:n,maxDate:l}=(0,m.B$)(t.data);let c=[];const d=await M(e);200===d.status&&(c=d.data);const h=(0,x.JS)(c),u=Object.assign({},i.searchFilterData,{maxDate:l,minDate:n,indexesList:c,frequencySegments:o}),g=Object.assign({},i.currentSelectedFilterValues,{reportID:s,selectedIndices:h,fromDate:{date:n,month:(0,m.IL)(n,"M"),year:(0,m.IL)(n,"yyyy")},toDate:{date:l,month:(0,m.IL)(l,"M"),year:(0,m.IL)(l,"yyyy")},reportingFrequency:p,frequencySegments:o}),D={searchFilterData:u,currentSelectedFilterValues:g},S=(0,T.AG)(a().globalSearchFilterData,D,v.VXW.BENCHMARK);var F;return r((F=S,{type:C.OJ.SET_DATE_PERIOD_BY_INVESTORID_SUCCESS,data:F})),g})).then((e=>{const s={benchmarkReport:t,filter:e};r((0,D.mx)(e)),(0,x.pc)(a().router)?r(V(s)):r(w(s))})).catch((function(){r(function(e){return{type:C.OJ.SET_DATE_PERIOD_BY_INVESTORID_FAILURE,data:e}}({success:!1}))}
1))},M=async e=>await y.A.post("/api/filter/GetIndexesOfInvestors",{investorIDs:e}),G=e=>{const t=l().get(e,"isGroupfilter",!1),s=l().get(e,"fromDate.month",0),r=l().get(e,"fromDate.year",0),a=l().get(e,"toDate.month",0),i=l().get(e,"toDate.year",0),o=l().get(e,"selectedIndices",[]).map((e=>e.value)).join(","),n=e.reportID;if(t){let t=l().get(e,"selectedFunds",[]);return{fromMonth:s,fromYear:r,toMonth:a,toYear:i,investmentIDs:l().get(e,"selectedInvestors",[]).map((e=>e.value)).join(","),indices:o,reportID:n,fundIDs:t}}return{fromMonth:s,fromYear:r,toMonth:a,toYear:i,investmentIDs:l().get(e,"selectedInvestors",[]).map((e=>e.value)).join(","),indices:o,reportID:n}},E=e=>function(t,s){t({type:C.OJ.GET_SEARCH_FILTER_DATA});let{fundIDs:r,investorGropIDs:a,reportConfig:i,selectedDataList:n}=e,p=s(),c=(0,T.Ad)(e.reportID,s().globalSearchFilterData),d=v.to[e.reportID];const h=l().get(c,"currentSelectedFilterValues.selectedFunds",[]),u=(0,L.k0)(h);y.A.post("/api/filter/GetInvestmentListByInvestorGroupIDs",{selectedFunds:r,selectedGroups:a,ReportIDEnum:v.VXW.BENCHMARK,reportingFrequency:u}).then((async function(s){const{frequencySegments:a,minDate:i,maxDate:h}=(0,m.B$)(s.data);let g=h,S=i,F=s.data.investorList,I="";F&&F.length>0&&(I=F.map((e=>e.value)).join(","));let b=[];const f=await M(I);200===f.status&&(b=f.data);const v=(0,x.JS)(b);g={date:g,month:(0,m.IL)(g,"M"),year:(0,m.IL)(g,"yyyy")},S={date:S,month:(0,m.IL)(S,"M"),year:(0,m.IL)(S,"yyyy")};let y=Object.assign({},c,{currentSelectedFilterValues:(0,o.A)((0,o.A)({},c.currentSelectedFilterValues),{},{toDate:g,fromDate:S,selectedSubItems:F,subItemHeaderVisible:e.subItemHeaderVisible,selectedIndices:v,frequencySegments:a})}).currentSelectedFilterValues;y.selectedDataList=n,y.reportingFrequency=u;let A=Object.assign({},c,{searchFilterData:(0,o.A)((0,o.A)({},c.searchFilterData),{},{subItemsList:F,indexesList:b,frequencySegments:a})}).searchFilterData;l().isEmpty(n)||(A=(0,o.A)((0,o.A)({},A),{},{dataList:n,minDate:i,maxDate:h})),c.searchFilterData=A,c.currentSelectedFilterValues=y;let R=(0,o.A)((0,o.A)({},p.globalSearchFilterData),{},{[d]:c}),T={isGroupfilter:!0,toDate:g,fromDate:S,selectedFunds:r,selectedInvestors:F,reportID:e.componentReportID,selectedTab:y.selectedTab,selectedIndices:y.selectedIndices};return t(function(e){return{type:C.OJ.SET_ADVISOR_FILTER,updatedState:e}}(R)),t((0,D.mx)(y)),T})).then((e=>{const r={benchmarkReport:i,filter:e};(0,x.pc)(s().router)?t(V(r)):t(w(r))})).catch((function(){t(function(e){return{type:C.OJ.SET_ADVISOR_FILTER_FAILURE,data:e}}({success:!1}))}))};var _=s(29865),B=s(87946),P=s.n(B),H=s(64528),Y=s(44414);class q extends r.Component{constructor(e){super(e),this.resetState=()=>{this.setState({validateFund:"",validateFromDate:"",validateToDate:"",validateIndex:""})},this.restrictDateRange=e=>{const t=P()(this.props,"currentSelectedFilterValues.frequencySegments",[]);return!!(t&&t.length>0)&&(0,m.NQ)(e,t,this.props.fiscalYear)},this.handleFundChange=e=>{this.props.setSelectedFundsAndInvestors(e)},this.handleInvestorChange=e=>{this.props.setSelectedInvestors(e)},this.handleChangeFromDate=e=>{let t=this;const s=P()(t.props,"currentSelectedFilterValues.reportingFrequency","")===v.CET.YEARLY?4:8;if(e.toString().length>=s)if((0,m.r_)(e._d,this.props.filterData.minDate,this.props.filterData.maxDate)){let s={month:(0,m.IL)(e._d,"M"),year:(0,m.IL)(e._d,"yyyy"),date:(0,m.IL)(e._d)},r={reportID:t.reportName,from:s};t.props.setSelectedFromDate(r),t.state.validateFromDate.length>0&&t.setState({validateFromDate:""})}else t.resetFromDateAndShowValidationMessage();else t.resetFromDateAndShowValidationMessage()},this.handleChangeToDate=e=>{let t=this;const s=P()(t.props,"currentSelectedFilterValues.reportingFrequency","")===v.CET.YEARLY?4:8;if(e.toString().length>=s)if((0,m.r_)(e._d,this.props.filterData.minDate,this.props.filterData.maxDate)){let s={month:(0,m.IL)(e._d,"M"),year:(0,m.IL)(e._d,"yyyy"),date:(0,m.IL)(e._d)},r={reportID:t.reportName,to:s};t.props.setSelectedToDate(r),t.state.validateToDate.length>0&&t.setState({validateToDate:""})}else t.resetToDateAndShowValidationMessage();else t.resetToDateAndShowValidationMessage()},this.resetFromDateAndShowValidationMessage=()=>{let e={reportID:this.reportName,from:{}};this.props.setSelectedFromDate(e),this.setState({validateFromDate:"border border-danger"})},this.resetToDateAndShowValidationMessage=()=>{let e={reportID:this.reportName,to:{}};this.props.setSelectedToDate(e),this.setState({validateToDate:"border border-danger"})},this.handleIndicesChangeOptions=e=>{e.length<=v.g2z&&this.setState({validateMaxIndexCount:""});let t={reportID:this.reportName,selectedIndices:e};this.props.setSelectedIndices(t)},this.handleViewReportClick=e=>{e.preventDefault();let t=this,s=t.props.currentSelectedFilterValues.selectedFunds,r=t.props.currentSelectedFilterValues.selectedInvestors;if(this.props.selectedTab===v.Gdm.Investor){s=(0,T.lq)({selectedDataList:t.props.currentSelectedFilterValues.selectedDataList}).selectedFunds.join(),r=this.props.currentSelectedFilterValues.selectedSubItems}let a={selectedFunds:s,selectedInvestors:r,selectedIndices:this.props.currentSelectedFilterValues.selectedIndices,fromDate:this.props.currentSelectedFilterValues.fromDate,fromMonth:this.props.currentSelectedFilterValues.fromDate.month,fromYear:this.props.currentSelectedFilterValues.fromDate.year,toDate:this.props.currentSelectedFilterValues.toDate,toMonth:this.props.currentSelectedFilterValues.toDate.month,toYear:this.props.currentSelectedFilterValues.toDate.year,reportID:this.props.reportID,selectedTab:this.props.selectedTab,isGroupfilter:this.props.selectedTab===v.Gdm.Investor,reportingFrequency:this.props.currentSelectedFilterValues.reportingFrequency};this.validateFilter(a)&&(this.props.setGlobalFilterValues(a),this.props.loadData(a))},this.validateFilter=e=>{const{fromDate:{date:t},toDate:{date:s}}=e,r=(0,m.Xf)(t,s),a=(0,m.Qd)(t,s);return 0===e.selectedFunds.length?(this.setState({validateFund:"border border-danger",validateFromDate:"",validateToDate:""}),!1):t?s?r?a?this.props.isBenchmarkRORReport||0!==e.selectedIndices.length?e.selectedIndices.length>v.g2z?(this.setState({validateFund:"",validateFromDate:"",validateToDate:"",validateIndex:"",validateMaxIndexCount:"border border-danger"}),!1):(this.setState({validateFund:"",validateFromDate:"",validateToDate:"",validateIndex:"",validateMaxIndexCount:""}),!0):(this.setState({validateFund:"",validateFromDate:"",validateToDate:"",validateIndex:"border border-danger"}),!1):(this.setState({validateFromDate:"",validateToDate:"border border-danger",validateFund:""}),!1):(this.setState({validateFromDate:"border border-danger",validateToDate:"",validateFund:""}),!1):(this.setState({validateFromDate:"",validateToDate:"border border-danger",validateFund:""}),!1):(this.setState({validateFromDate:"border border-danger",validateToDate:"",validateFund:""}),!1)},this.onApplyFilter=e=>{const t=e&&e.length>0;if(this.setState({validateFund:t?"":"border border-danger"}),t){const t=e.map((e=>{let{value:t}=e;return t})).join();this.props.getBenchmarkDatePeriodByInvestorID(t,this.props.reportConfig,this.props.reportID)}this.resetState()},this.onApplyGroupTabFilter=e=>{const t=e&&""!==e.selectedChildrens&&""!==e.selectedParents;if(this.setState({validateFund:t?"":"border border-danger"}),t){let t={reportID:this.reportName,fundIDs:e.selectedChildrens,investorGropIDs:e.selectedParents,reportConfig:this.props.reportConfig,componentReportID:this.props.reportID,selectedDataList:e.selectedDataList};this.props.getDatePeriodByInvestorGroupID(t)}this.resetState()},this.setReportSelectedType=e=>{let t={reportID:this.reportName,selectedTabFilter:e,selectedTab:e.value,componentReportID:this.props.reportID};this.props.setFilterValInSearchFilterObject(t)},this.handleSelectedDataChange=(e,t)=>
1{let s={reportID:this.reportName,selectedDataList:e,searchKeyword:t.searchKeyword,selectedGroupFilter:t.selectedGroupFilter,selectedTab:t.selectedTab,componentReportID:this.props.reportID};this.props.setFilterValInSearchFilterObject(s)},this.handleGroupSearchOptions=e=>{let t={reportID:this.reportName,selectedSearchType:e,componentReportID:this.props.reportID};this.props.setFilterValInSearchFilterObject(t)},this.handleSubItemChange=e=>{let t={reportID:this.reportName,selectedInvestors:e,componentReportID:this.props.reportID};this.props.setFilterValInSearchFilterObject(t),this.props.getInvestorGropDatePeriodByInvestmentID(t)},this.toggleSubItemsList=(e,t)=>{let s={reportID:this.reportName,selectedDataList:t,subItemHeaderVisible:e,componentReportID:this.props.reportID};this.props.getInvestorSubItemsList(s)},this.onApplyFilterSubItems=(e,t)=>{let s=t.map((e=>e.parentID)).join(),r={filter:{fromDate:P()(this.props,"currentSelectedFilterValues.fromDate",null),toDate:P()(this.props,"currentSelectedFilterValues.toDate",null),selectedFunds:s,selectedInvestors:t,isGroupfilter:!0,selectedIndices:P()(this.props,"currentSelectedFilterValues.selectedIndices",null),selectedTab:v.Gdm.Investor}};this.props.getBenchmarkReport(r)},this.applyGroupFilter=e=>{e.reportID=this.reportName,e.isRedeemed=P()(e,"selectedGroupFilter[1].value",null),this.props.getInvestorGropDataBySearchFilters(e)},this.handleSearchGroup=e=>{e.reportID=this.reportName,e.isRedeemed=P()(e,"selectedGroupFilter[1].value",null),this.props.getInvestorGropDataBySearchFilters(e)},this.getErrorOnIndicesValidation=()=>{const{validateIndex:e,validateMaxIndexCount:t}=this.state;return e?(0,Y.jsx)("span",{className:"text-danger",children:"Please select valid index"}):t?(0,Y.jsxs)("span",{className:"text-danger",children:["Indexes cannot be greater than ",v.g2z]}):""},this.state={validateFund:"",validateFromDate:"",validateToDate:"",validateIndex:"",activePage:1,searchKeyword:"",validateMaxIndexCount:""},this.reportName=v.VXW.BENCHMARK}componentDidMount(){if(0===this.props.filterData.fundsList.length)this.props.getBenchmarkReportSearchFilterAndReportData(this.props.currencyID,this.props.reportID);else{let{currentSelectedFilterValues:e}=this.props;if(this.props.getAppliedFilterValues(this.reportName),this.props.selectedTab===v.Gdm.Investor){let t=(0,T.lq)({selectedDataList:this.props.currentSelectedFilterValues.selectedDataList}).selectedFunds.join(),s=this.props.currentSelectedFilterValues.selectedSubItems;e=(0,o.A)((0,o.A)({},e),{},{selectedFunds:t,selectedInvestors:s,isGroupfilter:!0})}e.reportID=this.props.reportID,this.props.loadData(e)}}componentDidUpdate(e){!b()(e.currencyID,this.props.currencyID)&&(this.props.clearFilterData(),this.props.clearFilterValues(),this.resetState(),this.props.getBenchmarkReportSearchFilterAndReportData(this.props.currencyID,this.props.reportID))}render(){let e=this.props.filterData.indexesList&&this.props.filterData.indexesList.length>0?this.props.filterData.indexesList:[],t=P()(this.props,"dataList.length",0),s=P()(this.props,"currentSelectedFilterValues.selectedGroupFilter",[]),r=P()(this.props,"currentSelectedFilterValues.reportingFrequency","");const a=P()(this.props,"currentSelectedFilterValues.frequencySegments",[]),i=(0,m.Qx)(a,r),o=i?"YYYY":"MMM-yyyy",n=i?"years":"months";return(0,Y.jsxs)("div",{className:"search-filter",children:[(0,Y.jsx)(S.I1,{isOpen:this.props.showLoading}),(0,Y.jsx)(c.A,{children:(0,Y.jsxs)(d.A,{form:!0,className:"align-items-top pt-2 mb-0",children:[(0,Y.jsx)(h.A,{lg:4,md:12,sm:12,children:(0,Y.jsxs)(u.A,{children:[(0,Y.jsx)(h.A,{className:"px-0",children:this.props.isAdvisorLogin?(0,Y.jsx)(H.A,{id:"combinedFilter",reportID:this.reportName,isSharClassGroupingAllowed:this.props.isSharClassGroupingAllowed,isMultipleFundSelectionAllowed:this.props.isViewReportAcrossFund,fundList:this.props.filterData.fundsList,investorList:this.props.filterData.investorsList,selectedFunds:this.props.currentSelectedFilterValues.selectedFunds,selectedInvestors:this.props.currentSelectedFilterValues.selectedInvestors,handleFundChange:this.handleFundChange,handleInvestorChange:this.handleInvestorChange,onApplyFilter:this.onApplyFilter,setReportSelectedType:this.setReportSelectedType,selectedTabFilter:this.props.currentSelectedFilterValues.selectedTabFilter,dataList:P()(this.props,"dataList",[]),selectedDataList:this.props.currentSelectedFilterValues.selectedDataList||[],totalDataCount:t,itemsCountPerPage:v.sqC.DefaultReportsFilterPageSize,handleSelectedDataChange:this.handleSelectedDataChange,isSelectAllEnabled:!0,isViewAllEnabled:!0,handleGroupSearchOptions:this.handleGroupSearchOptions,subItemHeaderText:"Select Investment",subItemHeaderVisible:P()(this.props,"currentSelectedFilterValues.subItemHeaderVisible",!0),subItemsList:P()(this.props,"filterData.subItemsList",[]),subSelectedItems:P()(this.props,"currentSelectedFilterValues.selectedSubItems",[]),onApplyFilterSubItems:this.onApplyFilterSubItems,searchInvestorString:this.props.searchInvestorString,errorMessage:this.props.errorMessageForSubItemFilter,isSingleSelectionWithCheckbox:this.props.isSingleSelectionWithCheckbox,toggleSubItemsList:this.toggleSubItemsList,handleSubItemChange:this.handleSubItemChange,filterList:P()(this.props,"filterData.groupFilter",[]),filterItems:P()(this.props,"filterData.filterItems",[]),selectedGroupFilters:s,applyGroupFilter:this.applyGroupFilter,selectedSearchType:P()(this.props,"currentSelectedFilterValues.selectedSearchType",{}),isLocalStateOverrideGropFilter:!0,handleSearchGroup:this.handleSearchGroup,onApplyGroupTabFilter:this.onApplyGroupTabFilter,selectedTab:this.props.selectedTab}):(0,Y.jsx)(f.A,{reportID:this.reportName,isMultipleFundSelectionAllowed:this.props.isViewReportAcrossFund,fundList:this.props.filterData.fundsList,investorList:this.props.filterData.investorsList,selectedFunds:this.props.currentSelectedFilterValues.selectedFunds,selectedInvestors:this.props.currentSelectedFilterValues.selectedInvestors,handleFundChange:this.handleFundChange,handleInvestorChange:this.handleInvestorChange,onApplyFilter:this.onApplyFilter})}),(0,Y.jsx)(h.A,{md:12,className:"px-0",children:(0,Y.jsx)("div",{children:this.state.validateFund?(0,Y.jsx)("span",{className:"text-danger",children:"Please select ".concat(this.props.selectedTab===v.Gdm.Investor?"Investor Group":"Fund")}):""})})]})}),(0,Y.jsx)(h.A,{xl:2,lg:2,md:12,sm:12,children:(0,Y.jsxs)(u.A,{children:[(0,Y.jsx)(h.A,{className:"px-0",children:(0,Y.jsx)(p.A,{id:"fromDate",value:P()(this.props,"currentSelectedFilterValues.fromDate.date",""),viewMode:n,dateFormat:o,onChange:this.handleChangeFromDate,isValidDate:this.restrictDateRange,placeholder:"From:",closeOnSelect:0===this.state.validateFromDate.length,className:this.state.validateFromDate,isQuarterOnly:!1,fiscalYear:this.props.fiscalYear})}),(0,Y.jsx)(h.A,{className:"px-0",md:12,children:(0,Y.jsx)("div",{children:this.state.validateFromDate?(0,Y.jsx)("span",{className:"text-danger",children:"Invalid from date"}):""})})]})}),(0,Y.jsx)(h.A,{xl:2,lg:2,md:12,sm:12,children:(0,Y.jsxs)(u.A,{children:[(0,Y.jsx)(h.A,{className:"px-0",children:(0,Y.jsx)(p.A,{id:"toDate",value:P()(this.props,"currentSelectedFilterValues.toDate.date",""),viewMode:n,dateFormat:o,onChange:this.handleChangeToDate,isValidDate:this.restrictDateRange,placeholder:"To:",closeOnSelect:0===this.state.validateToDate.length,className:this.state.validateToDate,isQuarterOnly:!1,fiscalYear:this.props.fiscalYear})}),(0,Y.jsx)(h.A,{className:"px-0",md:12,children:(0,Y.jsx)("div",{children:this.state.validateToDate?(0,Y.jsx)("span",{className:"text-danger",children:"Invalid to date"}):""})})]})}),(0,Y.jsx)(h.A,{lg:2,md:12,sm:12,children:(0,Y.jsxs)(u.A,{children:[(0,Y.jsx)(h.A,{className:"px-0","data-tip":"","data-for":"indicesList",children:(0,Y.jsx)(_.A,{isMultipleSelectionAllowed:!0,showSearch:!0,searchMaxLength:180,searchMinLength:3,itemsList:e,itemsCountPerPage:v.sqC.DefaultReportsFilterPageSize,selectedItems:l().get(this.props,"currentSelectedFilterValues.selectedIndices",[]),text:"Index",keyword:"",handleItem
1Change:this.handleIndicesChangeOptions,totalPages:1,itemId:"value",itemName:"text"})}),(0,Y.jsx)(h.A,{md:12,className:"px-0",children:(0,Y.jsx)("div",{children:this.getErrorOnIndicesValidation()})})]})}),(0,Y.jsx)(h.A,{lg:1,md:12,sm:12,children:(0,Y.jsx)(u.A,{children:(0,Y.jsx)(h.A,{className:"px-0",children:(0,Y.jsx)(F.A,{outline:!0,color:"primary",className:"view-report-btn",onClick:this.handleViewReportClick,children:"View Report"})})})})]})})]})}}const J=(0,i.Ng)((e=>{const t=e.investorGroupReport.benchmarkReport,s=e.loginDetails.currencyID,r=e.loginDetails.fiscalYear,a="benchmarkReport";let i=!1,o=P()(e,"globalSearchFilterData.benchmarkSearchFilterData.currentSelectedFilterValues.selectedTab",v.Gdm.Fund);const n=P()(e,"loginDetails.showShareClassName",v.S$X.INVESTOR_No)===v.S$X.GLOBAL_SHARE_CLASS_GROUP_NAME,l=P()(e,"globalSearchFilterData.benchmarkSearchFilterData.searchFilterData.dataList",{});if(null!==e.globalSearchFilterData.benchmarkSearchFilterData.searchFilterData){const p=e.globalSearchFilterData.benchmarkSearchFilterData.searchFilterData,c=e.globalSearchFilterData.benchmarkSearchFilterData.currentSelectedFilterValues,d=e.loginDetails.isViewReportAcrossFund;return i=P()(e,"globalSearchFilterData.benchmarkSearchFilterData.searchFilterData.isAdvisorLogin",!1),{filterData:p,currentSelectedFilterValues:c,showLoading:e.globalSearchFilterData.loading,currencyID:s,isViewReportAcrossFund:d,reportConfig:t,reportName:a,dataList:l,isAdvisorLogin:i,selectedTab:o,isSharClassGroupingAllowed:n,fiscalYear:r}}return{filterData:{fundsList:[],investorsList:[],maxDate:null,minDate:null},currentSelectedFilterValues:{selectedFunds:[],selectedInvestors:[],fromDate:{},toDate:{}},showLoading:!0,currencyID:s,isViewReportAcrossFund:!1,reportConfig:t,reportName:a,dataList:l,isAdvisorLogin:i,selectedTab:o,isSharClassGroupingAllowed:n,fiscalYear:r}}),(e=>({setSelectedFundsAndInvestors:t=>{e((0,g.S2)(t))},setSelectedInvestors:t=>{e((0,g.VB)(t))},getBenchmarkDatePeriodByInvestorID:(t,s,r)=>{e(O(t,s,r))},getBenchmarkReportSearchFilterAndReportData:(t,s)=>{e(N(t,s))},getAppliedFilterValues:t=>{e((0,g.MB)(t))},setSelectedFromDate:t=>{e((0,g.QI)(t))},setSelectedToDate:t=>{e((0,g.lD)(t))},setSelectedIndices:t=>{e((0,g.RN)(t))},setGlobalFilterValues:t=>{e((0,D.mx)(t))},clearFilterData:()=>{e((0,g.WY)())},clearFilterValues:()=>{e((0,D.On)())},setFilterValInSearchFilterObject:t=>{e((0,g.Io)(t))},getInvestorSubItemsList:t=>{e((0,g.vB)(t))},getBenchmarkReport:t=>{e(w(t))},getInvestorGropDatePeriodByInvestmentID:t=>{e((0,g.p6)(t))},getInvestorGropDataBySearchFilters:t=>{e((0,g.FR)(t))},getDatePeriodByInvestorGroupID:t=>{e(E(t))}})))(q);var K=s(12516),W=s(21656),Q=s(24644),z=s(50838),U=s(59642),X=s(54344);class $ extends r.Component{constructor(e){super(e),this.benchmarkAnalysisTableID="benchmark_analysis",this.rowMouseEnter=(e,t)=>{e.preventDefault();let s=[],r="",a=this.props.benchmarkReport.pivotDataSet.benchmark_analysis.find((e=>e.tag===t.getData().tag));r="benchmarkAnalysis_"+a.tag.trim().replace(/ /g,"_"),s.push({id:r,data:v.A0s[a.tag.trim()]}),this.setState({tooltipData:s})},this.rowMouseOut=(e,t)=>{e.preventDefault();this.setState({tooltipData:[]})},this.setcolumConfig=e=>{let t=this,s=Object.assign({},[],t.props.benchmarkReport);void 0!==s&&null!==s&&s.components.forEach((function(s){s.field===t.benchmarkAnalysisTableID&&s.columns.length>0&&(s.columns=e)})),t.props.setBenchmarkReportConfig(s)},this.reorderData=e=>{let t=[],s=this;return e.forEach((e=>{let r=s.props.benchmarkReport.pivotDataSet.benchmark_analysis.find((t=>t.tag===e.tag));if(void 0!==r&&void 0!==r.tag){let s=v.hIQ[r.tag.trim()];t.push(Object.assign({},e,{tagOrder:s}))}})),l().orderBy(t,["tagOrder"],["asc"])},this.rowClick=e=>{const{breakpoints:t,currentBreakpoint:s}=this.props;t[s]<t.desktop&&e.treeToggle()},this.downloadDataFormatter=e=>{let t=JSON.parse(JSON.stringify(this.props.benchmarkReport.pivotDataSet.benchmark_analysis));return Object.assign({},e,{data:t})},this.getCurrentDatePeriod=()=>{const e=l().get(this.props,"benchmarkSearchFilterData.searchFilterData",null),t=l().get(this.props,"benchmarkReportFilterValues",null);let s="";if(null!==t){const{fromDate:e,toDate:r}=t;s=(0,x.sQ)(e.date,r.date)}else if(null!==e){const{minDate:t,maxDate:r}=e;s=(0,x.sQ)(t,r)}return s},this.getExportReportSubTitle=e=>{let t=l().get(e,"subTitle",[]),s=[];const r=this.getCurrentDatePeriod();return s.push("(".concat(r,")")),t.length>0&&(s=s.concat(t)),s},this.exportReportTitle=()=>{let e=l().get(this.props,"benchmarkReport.components[0].title",[]);const t=this.props.clientName;let s=[];return e&&e.length>0&&t&&s.push(e[0]+" - "+t),s},this.loadReport=()=>{let e=this,t=l().get(e.props,"benchmarkReport.components[0].title",[]),s=null,r=this.props.isBenchmarkRORReport;if(e.props.benchmarkReport.pivotDataSet&&void 0!==e.props.benchmarkReport.pivotDataSet.benchmark_anal
1ysis){const{breakpoints:a,currentBreakpoint:i}=this.props;let o=a[i]<a.desktop,n=function(t,s){e.rowMouseOut(t,s)},p=function(t,s){e.rowMouseEnter(t,s)},c=JSON.parse(JSON.stringify(e.props.benchmarkReport.pivotDataSet.benchmark_analysis)),u=l().find(JSON.parse(JSON.stringify(e.props.benchmarkReport.components)),(t=>t.field===e.benchmarkAnalysisTableID)),m=r?"comparative_ror":u.field,g=u.columns,D=l().orderBy(g,["displayOrder"],["asc"]),S=JSON.parse(JSON.stringify(D)),F=R.A.getColumns(S,{isMobile:o});o||(F=l().map(F,(function(e){return"tag"===e.field&&(e=Object.assign({},e,{cellMouseLeave:n,cellMouseEnter:p})),e})));let I=[];I=r?o?JSON.parse(JSON.stringify(e.props.benchmarkReport.mobileDataSet.benchmark_analysis)):c:o?JSON.parse(JSON.stringify(e.props.benchmarkReport.mobileDataSet.benchmark_analysis)):e.reorderData(c);let b=Object.assign({},R.A.getTableComponentConfig(u,o),{exportReport:{title:this.exportReportTitle(),subTitle:this.getExportReportSubTitle(u)},rawData:c,columnsConfig:F,mobileColumnConfig:F.filter((e=>e.isGroupColumn))}),f=o?R.A.setColumnForMobile(b.dataTreeMobileColumnDefault):F;if(o&&r){let e=R.A.benmarkRorColumnNameFormatter(F,o,this.props.currentSelectedFilterValues.selectedIndices);b.columnsConfig=e}f=r?R.A.benmarkRorColumnNameFormatter(f,o,this.props.currentSelectedFilterValues.selectedIndices):f,r&&(u.columns=R.A.benmarkRorColumnNameFormatter(u.columns,o,this.props.currentSelectedFilterValues.selectedIndices)),I.length<=u.paginationSize&&(b.pagination=""),b.height={height:"100%"},s=(0,Y.jsx)(d.A,{children:(0,Y.jsx)(h.A,{lg:"12",children:(0,Y.jsx)(z.A,{columns:f,data:I,config:b,columnConfig:u,exportTableTitle:t,tableID:m,setcolumConfig:this.setcolumConfig,reportID:this.props.reportID,downloadDataFormatter:this.downloadDataFormatter,rowClick:this.rowClick})})})}return{tableBenchmarkAnalysis:s}},this.state={tooltipData:[]}}render(){var e=this.loadReport();return(0,Y.jsxs)(r.Fragment,{children:[e.tableBenchmarkAnalysis,(0,Y.jsx)("div",{children:this.state.tooltipData&&this.state.tooltipData.length>0?(0,Y.jsx)(X.A,{place:"bottom",className:"tooltip-item",id:this.state.tooltipData[0].id,children:this.state.tooltipData[0].data}):""})]})}}const Z=(0,i.Ng)((e=>({benchmarkReport:l().get(e,"investorGroupReport.benchmarkReport",{}),benchmarkSearchFilterData:e.globalSearchFilterData.benchmarkSearchFilterData,benchmarkReportFilterValues:e.globalSearchFilter.benchmarkReportFilterValues,clientName:l().get(e,"loginDetails.clientName",""),currentSelectedFilterValues:l().get(e,"globalSearchFilterData.benchmarkSearchFilterData.currentSelectedFilterValues",{})})),(e=>({setBenchmarkReportConfig:t=>{e(j(t))}})))((0,U.A)($));var ee=s(2233),te=s(75358);class se extends r.Component{constructor(e){super(e),this.filterClick=e=>{if(e){let t={benchmark:this.props.benchmarkReport,filter:e};(0,x.pc)(this.props)?this.props.getBenchmarkRORReport(t):this.props.getBenchmarkReport(t)}},this.columns=[]}render(){let e=null;return this.props.benchmarkReport&&this.props.benchmarkReport.components&&this.props.benchmarkReport.components.length>0&&(e=this.props.benchmarkReport.components[0]),(0,Y.jsxs)(r.Fragment,{children:[(0,Y.jsx)(S.I1,{isOpen:!(null!==e||!this.props.benchmarkReport.success)}),(0,Y.jsx)(K.A,{title:this.props.reportTitle,reportID:v.VXW.BENCHMARK,isShowThemeOptions:!0,isShowCurrencySwitcher:!0,currencyList:this.props.currenciesList}),(0,Y.jsx)(J,{loadData:this.filterClick,reportID:this.props.componentReportID,isBenchmarkRORReport:(0,x.pc)(this.props)}),null!==e&this.props.benchmarkReport.success?(0,Y.jsxs)("div",{className:"report-container",children:[(0,Y.jsx)(S.I1,{isOpen:this.props.isLoading}),(0,Y.jsx)(Q.A,{title:e?e.title:[""],subTitle:e?e.subTitle:[""],hasMinimized:!e||e.hasMinimized,collapse:!e||e.isMinimized,reportID:"benchmarkReport",component:0,children:(0,Y.jsx)(Z,{componentReportID:this.props.componentReportID,isBenchmarkRORReport:(0,x.pc)(this.props)})}),(0,Y.jsx)(ee.A,{})]}):this.props.benchmarkReport.success?"":(0,Y.jsxs)(r.Fragment,{children:[(0,Y.jsx)(a.A,{color:"danger",children:(0,Y.jsx)("div",{dangerouslySetInnerHTML:{__html:this.props.benchmarkReport.message}})}),(0,Y.jsx)(S.I1,{isOpen:this.props.isLoading})]})]})}}const re=(0,W.A)((0,i.Ng)((e=>{const t=P()(e,"investorGroupReport.benchmarkReport",{}),s=P()(e,"globalSearchFilterData.benchmarkSearchFilterData.searchFilterData.currenciesList",[]),r=P()(e,"sidebarNavigations.investorSelectedReport.name","");return{isLoading:e.investorGroupReport.loading,benchmarkReport:t,currenciesList:s,reportTitle:r}}
1),(e=>({getBenchmarkReport:t=>{e(w(t))},getBenchmarkRORReport:t=>{e(V(t))}})))((0,te.A)(se)))},34378:(e,t,s)=>{var r=s(14759);e.exports=function(){return r.Date.now()}},35933:(e,t,s)=>{"use strict";s.d(t,{A:()=>x});var r=s(89379),a=(s(90315),s(9950)),i=s(54344),o=s(42166),n=s.n(o),l=s(20030),p=s(39324),c=s(59642),d=s(79586),h=s(87946),u=s.n(h),m=s(95491),g=s.n(m),D=s(59051),S=s.n(D),F=s(87861),I=s(62162),b=s(53169),f=s(41397),v=s(34046),y=s(44414);class A extends a.Component{constructor(e){super(e),this.applyCalendarNavigation=()=>{const{viewMode:e}=this.props;if(!e)return;const t=this.datetimeRef.current;t&&"function"===typeof t.navigate&&t.navigate(e)},this.handleDatetimeOpen=e=>{this.applyCalendarNavigation(),this.props.onOpen&&this.props.onOpen(e)},this.renderInput=(e,t,s,a,i,o)=>(0,y.jsxs)("div",{className:"d-flex",children:[(0,y.jsx)("div",{className:"flex-grow-1 w-75",children:(0,f.isEmpty)(a)?(0,y.jsx)("input",(0,r.A)((0,r.A)({autoComplete:"off",id:"".concat(this.props.id,"-picker")},e),{},{className:"form-control flex-grow-1 date-picker-input disabled-input ".concat(this.props.showBgTransparent?"bg-transparent":""," ").concat(u()(this.props,"disabledClass","")," ").concat(o),"data-tip":"","data-for":this.props.id,maxLength:void 0===this.props.maxLength?v.Zf_:this.props.maxLength,onKeyPress:e=>"Enter"===e.key?s():t()})):(0,y.jsx)("input",(0,r.A)((0,r.A)({autoComplete:"off",id:"".concat(this.props.id,"-picker")},e),{},{value:(0,d.IL)(i,a),className:"form-control flex-grow-1 date-picker-input ".concat(this.props.showBgTransparent?"bg-transparent":""," ").concat(u()(this.props,"disabledClass","")," ").concat(o),"data-tip":"","data-for":this.props.id,maxLength:void 0===this.props.maxLength?v.Zf_:this.props.maxLength,onKeyPress:e=>"Enter"===e.key?s():t()}))}),(0,y.jsx)("div",{className:"ripple px-1 icon-wrapper ".concat(""===u()(this.props,"disabledClass","")?"cursor-pointer":this.props.disabledClass," "),children:(0,y.jsx)(l.g,{icon:p.faCalendar,onClick:this.props.readOnly?()=>{}:t,className:"calender-icon",size:"2x"})})]}),this.getPlaceholder=()=>{let e=this.props.value;if(""!==e){return this.props.isDisplayTime?(0,d.Ib)(e):(0,d.IL)(e,"YYYY"===this.props.dateFormat?"yyyy":this.props.dateFormat)}return""},this.handleChange=e=>{if("years"===this.props.viewMode&&(e="string"===typeof e?S()({year:e,month:11,day:31}):S()({year:e.year(),month:11,day:31})),e&&("object"===typeof e._d||"string"===typeof e._i&&e._i.length===this.props.dateFormat.length))if(this.props.isEnableWeekends||"days"!==this.props.viewMode)if(this.props.isQuarterOnly){const t=(0,d._5)(this.props.fiscalYear);let s=(0,I.A)(t),r=(0,d.Kj)(e._d,s).lastDayOfQuarter;(0,I.A)(r)===(0,I.A)(e._d)?this.props.onChange(e):this.props.onChange(null)}else this.props.viewMode,this.props.onChange(e);else(0,F.A)(e._d)?this.props.onChange(null):this.props.onChange(e)},this.handleBlur=e=>{if("string"===typeof e){const t="YYYY"===this.props.dateFormat?S()({year:e,month:11,day:31}):S()(e);t.isValid()&&this.props.onChange(t)}},this.handleInputBlur=e=>{var t,s;const r=null!==(t=null===e||void 0===e||null===(s=e.target)||void 0===s?void 0:s.value)&&void 0!==t?t:e;this.handleBlur(r)},this.renderDay=(e,t,s)=>{if(this.props.renderCustomDay)return this.props.renderCustomDay(e,t,s)},this.handleChange=g()(this.handleChange,300),this.datetimeRef=a.createRef()}componentDidUpdate(e){e.viewMode!==this.props.viewMode&&this.applyCalendarNavigation()}render(){const{readOnly:e=!1,value:t,viewMode:s,isValidDate:a,closeOnSelect:o,className:l,dateFormat:p,placeholder:c,isDisplayTime:h=!1,id:u,externalInputDateFormat:m,open:g,datetimeResetKey:D}=this.props,{isMobile:S}=(0,d.Gt)(this.props.currentBreakpoint),F=(0,d.vA)(D)?"".concat(u):"".concat(u,"-").concat(D);let f=h?t?new Date(t):"":(0,d._5)(t);return"months"===s&&f?f=new Date((0,b.A)(f),(0,I.A)(f),1):"years"===s&&f&&(f=new Date((0,b.A)(f),(0,I.A)(f),31)),(0,y.jsxs)("div",{className:"date-picker ".concat(this.props.shadow?"shadow-none":""),children:[(0,y.jsx)(n(),(0,r.A)((0,r.A)({ref:this.datetimeRef,value:f,initialViewMode:s,dateFormat:p?p.replace(/dd/g,"DD"):p,renderInput:(e,s,r)=>this.renderInput(e,s,r,m,t,l),onChange:this.handleChange,onOpen:this.handleDatetimeOpen,onClose:this.handleInputBlur,isValidDate:a,inputProps:{placeholder:c,disabled:e}
1,closeOnSelect:o},void 0!==g&&null!==g&&{open:g}),{},{className:l,closeOnTab:!0,strictParsing:!0,timeFormat:h,renderDay:this.props.renderCustomDay?this.renderDay:void 0}),F),(0,y.jsx)(i.A,{place:"top",id:this.props.id,eventOff:"onscroll",disable:S,children:this.getPlaceholder()})]})}}const x=(0,c.A)(A)},64528:(e,t,s)=>{"use strict";s.d(t,{A:()=>f});var r=s(41397),a=s(9950),i=s(59642),o=s(79586),n=s(48918),l=s(85077),p=s(30038),c=s(99121),d=s(47914),h=s(64594),u=s(20030),m=s(39324),g=s(54344),D=s(34046),S=s(79666),F=s(99182),I=s(44414);class b extends a.Component{constructor(e){super(e),this.placeHolderTexts="",this.childTwo=a.createRef(),this.outSideClickCombinedFilter=(e,t)=>{let s=!!(e.target.parentNode.getAttribute("class")&&e.target.parentNode.getAttribute("class").indexOf("drp-caret")>-1);if(!e.target.classList.contains("btn-multitab-filter")&&!e.target.classList.contains("drp-multifilter")){if(this.state.collapse){if((0,r.isEmpty)(t)||(0,r.isEmpty)(t.selectedChildrens))return!1;let{selectedTabFilter:e}=this.props;(0,r.get)(e,"value",1)===D.Gdm.Investor?this.props.subItemHeaderVisible&&this.props.onApplyGroupTabFilter&&this.props.onApplyGroupTabFilter(t):this.props.onApplyFilter(t)}s||this.setState({collapse:!1})}},this.toggleCollapse=(e,t)=>{t&&(0,o.vA)(this.state.keyword)||this.setState((e=>({collapse:!e.collapse})))},this.handlePlaceholderText=()=>{let e=this.placeHolderTexts;return this.props.selectedTab===D.Gdm.Investor?this.parentChildFilterRef&&this.parentChildFilterRef.handlePlaceholderText&&(e=this.parentChildFilterRef.handlePlaceholderText()):e=this.getSelectedFundInvestmentsText(!1),e},this.onApplyFilter=e=>{this.props.onApplyFilter(e),this.setState({collapse:!1})},this.setParentPlaceHolder=e=>{this.placeHolderTexts=e},this.setGroupParentPlaceHolder=e=>{this.placeHolderGroupTexts=e},this.onApplyFilterSubItems=(e,t)=>{t.length<=0?this.setState({errorMessageForSubItemFilter:"Please Select Investor"}):(this.props.onApplyFilterSubItems&&this.props.onApplyFilterSubItems(e,t),this.setState({errorMessageForSubItemFilter:"",collapse:!1}))},this.toggleSubItemsList=(e,t)=>{this.setState({errorMessageForSubItemFilter:""}),this.props.toggleSubItemsList&&this.props.toggleSubItemsList(e,t)},this.onApplyGroupTabFilter=e=>{this.props.onApplyGroupTabFilter&&this.props.onApplyGroupTabFilter(e),this.setState({collapse:!1})},this.getSelectedState=()=>({selectedFundsData:(0,r.get)(this.props,"selectedFunds",[]),selectedInvestorData:(0,r.get)(this.props,"selectedInvestors",[])}),this.getSelectedFundInvestmentsText=e=>{let{selectedFundsData:t,selectedInvestorData:s}=this.getSelectedState(),r=[...t],a=[...s];if(this.props.investorList.length===a.length)return"All Investments";if(1===r.length){let t;if(a.length>10){if(t=a.slice(0,10).map((function(e){return e.text.trim()})).join(e?"<br/>":","),e){t+="<br/> + "+(a.length-10)+" more investments"}}else{if(a.length>1)return a.length+" Investments across "+r.length+" Funds";t=a.map((function(e){return e.text.trim()}))}return t}return 0===r.length&&0===a.length?"Select Funds/Investments":a.length+" Investments across "+r.length+" Funds"},this.state={keyword:e.keyword||"",tooltipData:[],isAllItemsChecked:!1,itemsList:e.itemsList,selectedItems:e.selectedItems,selectedItemsChunk:[],collapse:!1,isViewSelected:!1,activePage:1,isSearchboxFocused:!1,subItemHeaderVisible:!0,subItemList:[],errorMessageForSubItemFilter:"",selectedDataList:e.selectedDataList},this.parentChildFilterRef=a.createRef()}componentDidUpdate(e){e.selectedDataList!==this.props.selectedDataList&&this.setState({selectedDataList:this.props.selectedDataList})}render(){let e=this,{tabFilter:t,selectedTabFilter:s,isDisable:i,customCssClass:b,selectedTab:f,isShar
1ClassGroupingAllowed:v,isSingleInvestorSelection:y=!1}=e.props,A=(0,r.get)(s,"value",1);(0,r.isEmpty)(t)&&(t=v?[{text:"Fund",value:1}]:[{text:"Fund",value:1},{text:"Investor Groups",value:2}]),f&&(A=f);const{isMobile:x}=(0,o.Gt)(this.props.currentBreakpoint);return(0,I.jsx)(a.Fragment,{children:(0,I.jsxs)("div",{"data-matomo-mask":"true",className:"combined-dropdownlist-filter",children:[(0,I.jsxs)(n.A,{disabled:i,className:"select-fund-investor combined-generic-filter ".concat(i?"cursor-not-allowed":""),onClick:t=>e.toggleCollapse(t,i),children:[(0,I.jsx)(l.A,{placeholder:e.handlePlaceholderText(),className:"cursor-pointer border-0 text-truncate drp-multifilter  shadow-focus-none ".concat(i?"cursor-not-allowed":""),"data-tip":"","data-for":this.props.id||"selectItemData",readOnly:!0}),(0,I.jsx)(p.A,{addonType:"append",children:(0,I.jsxs)(c.A,{className:"border-0 select-fund-investor-icon",children:[" ",(0,I.jsx)(u.g,{className:"drp-caret",icon:m.faCaretDown})," "]})}),!this.state.collapse&&(0,I.jsx)(g.A,{place:"bottom",className:"tooltip-funds-investments",id:this.props.id,children:e.handlePlaceholderText()})]}),(0,I.jsxs)(d.A,{isOpen:this.state.collapse&&!i,className:"".concat(b||"w-100"," bg-custom dropdown-list position-absolute dropdown-collapse fund-investor-filter-container"),children:[(0,I.jsx)(h.A,{className:"w-100  border-bottom",children:t.map(((t,s)=>(0,I.jsx)("span",{onClick:()=>e.props.setReportSelectedType(t),className:"py-2 justify-content-start category-box w-50 text-center cursor-pointer btn-multitab-filter ".concat(A===t.value?"btn-primary-active-tabs":"btn-primary-inactive-tabs"),children:t.text},s)))}),A===D.Gdm.Fund&&(0,I.jsx)("div",{className:A===D.Gdm.Investor?"d-none dl-0":"",children:(0,I.jsx)(S.A,{ref:this.childOne,reportID:this.props.reportID,isMultipleFundSelectionAllowed:this.props.isMultipleFundSelectionAllowed,fundList:this.props.fundList,investorList:this.props.investorList,selectedFunds:this.props.selectedFunds,selectedInvestors:this.props.selectedInvestors,handleFundChange:this.props.handleFundChange,handleInvestorChange:this.props.handleInvestorChange,onApplyFilter:this.onApplyFilter,showInline:!0,isSingleInvestorSelection:y})}),A===D.Gdm.Investor&&(0,I.jsx)("div",{className:A==D.Gdm.Fund?"d-none dl-1":"",children:(0,I.jsx)(F.A,{isCombinedFilter:!0,isMobile:x,reportID:this.props.reportName,dataList:this.props.dataList||[],selectedDataList:this.props.selectedDataList||[],handleSelectedDataChange:this.props.handleSelectedDataChange,handleSearch:this.props.handleSearch,handlePageChange:this.props.handlePageChange,updateDatePeriod:this.props.updateDatePeriod,onApplyFilter:this.onApplyGroupTabFilter,itemsCountPerPage:this.props.itemsCountPerPage,currencyID:(0,r.get)(this.props,"currencyID",0),searchKeyword:this.props.searchKeyword,totalDataCount:this.props.totalDataCount,showLoading:this.props.showLoading,searchMaxLength:this.props.searchMaxLength,searchMinLength:this.props.searchMinLength,searchString:(0,r.get)(this.props,"searchString",""),isLocalPaging:!0,showInline:!1,handleDoneClick:this.props.handleDoneClick,outSideClickCombinedFilter:this.outSideClickCombinedFilter,filterList:this.props.filterList,filterItems:this.props.filterItems,selectedGroupFilters:this.props.selectedGroupFilters,applyGroupFilter:this.props.applyGroupFilter,reduxKey:this.props.reduxKey,closeFilterOption:this.props.closeFilterOption,ref:e=>{this.parentChildFilterRef=e},handleGroupSearchOptions:this.props.handleGroupSearchOptions,selectedSearchType:this.props.selectedSearchType,isSingleSelect:this.props.isSingleSelect,tabFilter:(0,r.get)(this.props,"tabFilter",[]),selectedTabFilter:(0,r.get)(this.props,"selectedTabFilter",{}),setReportSelectedType:this.props.setReportSelectedType,selectedFilterTypeIDs:A,searchType:this.props.searchType,isSelectAllEnabled:!!this.props.isMultipleFundSelectionAllowed&&this.props.isSelectAllEnabled,isViewAllEnabled:this.props.isViewAllEnabled,subItemHeaderVisible:this.props.subItemHeaderVisible,subItemHeaderText:this.props.subItemHeaderText,subItemsList:this.props.subItemsList,subSelectedItems:this.props.subSelectedItems,onApplyFilterSubItems:this.onApplyFilterSubItems,searchInvestorString:this.props.searchInvestorString,errorMessageForSubItemFilter:this.state.errorMessageForSubItemFilter,isSingleSelectionWithCheckbox:this.props.isSingleSelectionWithCheckbox,toggleSubItemsList:this.toggleSubItemsList,handleSubItemChange:this.props.handleSubItemChange,isLocalStateOverride:this.props.isLocalStateOverride,isLocalStateOverrideGropFilter:this.props.isLocalStateOverrideGropFilter,handleSearchGroup:this.props.handleSearchGroup,setParentPlaceHolder:this.setGroupParentPlaceHolder,totalPages:(0,r.get)(this.props,"subItemsList.length",0),isSingleParentFilterSelectWithAllChild:!this.props.isMultipleFundSelectionAllowed})})]})]})})}}const f=(0,i.A)(b)},95491:(e,t,s)=>{var r=s(24567),a=s(34378),i=s(72588),o=Math.max,n=Math.min;e.exports=function(e,t,s){var l,p,c,d,h,u,m=0,g=!1,D=!1,S=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function F(t){var s=l,r=p;return l=p=void 0,m=t,d=e.apply(r,s)}function I(e){var s=e-u;return void 0===u||s>=t||s<0||D&&e-m>=c}function b(){var e=a();if(I(e))return f(e);h=setTimeout(b,function(e){var s=t-(e-u);return D?n(s,c-(e-m)):s}(e))}function f(e){return h=void 0,S&&l?F(e):(l=p=void 0,d)}function v(){var e=a(),s=I(e);if(l=arguments,p=this,u=e,s){if(void 0===h)return function(e){return m=e,h=setTimeout(b,t),g?F(e):d}(u);if(D)return clearTimeout(h),h=setTimeout(b,t),F(u)}return void 0===h&&(h=setTimeout(b,t)),d}return t=i(t)||0,r(s)&&(g=!!s.leading,c=(D="maxWait"in s)?o(i(s.maxWait)||0,t):c,S="trailing"in s?!!s.trailing:S),v.cancel=function(){void 0!==h&&clearTimeout(h),m=0,l=u=p=h=void 0},v.flush=function(){return void 0===h?d:f(a())},v}}}]);

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.