1(self.webpackChunkcore_web=self.webpackChunkcore_web||[]).push([["default-dist_libs_ng_ui-products_fesm2022_frk-ng-ui-products_mjs"],{2959:(ft,nt,T)=>{"use strict";T.r(nt),T.d(nt,{AssetAllocationComponent:()=>Zb,AssetPositionsStatisticsComponent:()=>ex,AverageAnnualTotalReturnsComponent:()=>Kn,AvgAnnualTotalReturnsComponent:()=>Yb,AvgMonthlyReturnsTableComponent:()=>aa,BenchmarkLabelTextMapping:()=>ge,CalendarYearComponent:()=>jb,CapitalGainsEstimatesComponent:()=>k2,CouponRateComponent:()=>nx,CreditQualityComponent:()=>ax,CumulativePerformanceTimeSeriesType:()=>Jt,CumulativeTotalReturnsComponent:()=>Bb,CurrencyExposureComponent:()=>ox,DigitalAssetAllocationComponent:()=>ix,DiscreteAnnualReturnsComponent:()=>Xb,DistributionComponent:()=>cb,FullHoldingsComponent:()=>dx,FundAttributionComponent:()=>bb,FundFactsComponent:()=>Fb,FundPressReleasesComponent:()=>ub,FundSummaryDetailsComponent:()=>ea,GeographyAllocationComponent:()=>ux,IndustryAllocationComponent:()=>px,ManagerAllocationComponent:()=>mx,MarketCapitalizationComponent:()=>hx,MaturityComponent:()=>fx,MonthlyTotalReturnComponent:()=>Hb,MorningstarRatingComponent:()=>Ub,MorningstarRatingsTableComponent:()=>Mb,NavHighLowComponent:()=>$x,OverviewPerformanceComponent:()=>Kn,PerformanceAllShareClassComponent:()=>Kt,PerformanceChartCardComponent:()=>DD,PerformanceSummaryComponent:()=>zb,PopSalesChargeComponent:()=>Ax,PortfolioExposuresComponent:()=>_x,PortfolioManagersComponent:()=>bx,PremiumDiscountComponent:()=>Px,PremiumDiscountHistoryComponent:()=>Xx,PremiumDiscountTableComponent:()=>Hx,PriceYtdCardComponent:()=>rD,PricingChartComponent:()=>Ux,PricingHistoricalComponent:()=>Qx,PricingShadowNavLiquidityComponent:()=>Jx,ProductCardComponent:()=>aD,ProductInfoCardComponent:()=>dD,ProductInformationPanelComponent:()=>Pb,ProductSummaryComponent:()=>eD,ProductTitleComponent:()=>nD,RiskMeasuresComponent:()=>qb,RiskReturnProfileComponent:()=>Qb,SectionHeaderComponent:()=>_t,SectorAllocationComponent:()=>xx,SecurityExposureComponent:()=>Dx,SharePricesComponent:()=>Kx,SummaryDetailsSectionStandardListValues:()=>ta,TaxComponent:()=>mb,TopFiveSectorsComponent:()=>wb,TopLongShortExposuresComponent:()=>vx,TopTenHoldingsComponent:()=>Tx,TopTenHoldingsMoneyFundComponent:()=>Sx,TrackingBasketComponent:()=>yx,TradingInformationComponent:()=>Rx,VintageYearComponent:()=>Ex,WeekRangeComponent:()=>tD,downloadHoldingExcel:()=>kn});var C=T(42733),h=T(11629),j=T(85005),t=T(71326),H=T(58257),d=T(92201),w=T(19376),B=T(20358),u=T(64193),ot=T(7700),et=T(50467),q=T(77234),xt=T(70828),at=T(15834),vt=T(29892),dt=T(77179),ct=T(99039),F=T(20383),g=T(63047),v=T(61651),x=T(38327),A=T(59918),R=T(4364),V=T(39687),b=T(64759),M=T(29721),N=T(76631),K=T(36859),X=T(9021),P=T(89801);const Bt=["inputRef"],oe=["toggleButtonRef"],ie=n=>({"text-sc4-800":n}),Nt=n=>({"text-sc4-800 outline-sc4-800":n});function ve(n,s){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.SpI(" ",e.toggleButtonLabel," ")}}function en(n,s){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.JRh(e.toggleButtonChangeLabel)}}let Te=(()=>{class n{formattedValue="";value;placeholder;name="date";label;isReadonly=!1;isDisabled=!1;toggleButtonLabel;toggleButtonChangeLabel;errorMessage;errorLabelId;identifier="calendar-input-"+(0,N.A)();inputRef;toggleButtonRef;toggleClicked=new t.bkB;inputChange=new t.bkB;toggleOpen(e){e.preventDefault(),this.toggleClicked.emit()}returnFocusToToggle(){this.toggleButtonRef?.nativeElement.focus()}handleValueChange(e){this.inputChange.emit(e.target.value)}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-calendar-input"]],viewQuery:function(a,o){if(1&a&&(t.GBs(Bt,5),t.GBs(oe,5)),2&a){let i;t.mGM(i=t.lsd())&&(o.inputRef=i.first),t.mGM(i=t.lsd())&&(o.toggleButtonRef=i.first)}},hostAttrs:["data-gtm-component","calendar-input"],inputs:{formattedValue:"formattedValue",value:"value",placeholder:"placeholder",name:"name",label:"label",isReadonly:"isReadonly",isDisabled:"isDisabled",toggleButtonLabel:"toggleButtonLabel",toggleButtonChangeLabel:"toggleButtonChangeLabel",errorMessage:"errorMessage",errorLabelId:"errorLabelId"},outputs:{toggleClicked:"toggleClicked",inputChange:"inputChange"},decls:14,vars:26,consts:[["inputRef",""],["toggleButtonRef",""],[1,"text-nc1-950","focus-visible:outline-pc1-600","relative","m-0","box-border","block","w-full","text-left","font-normal"],[1,"text-nc1-950","absolute","left-4","top-2","z-10","text-base",3,"for","ngClass"],[1,"relative","block","w-full","sm:inline-block","sm:w-auto"],["aria-autocomplete","none","autoComplete","off",1,"border-nc1-600","focus-visible:outline-pc1-600","invali
1d:outline-sc4-800","relative","h-16","w-full","rounded-lg","border","p-3.5","pt-8","focus-within:bg-transparent","focus-within:shadow-none","sm:w-[10.5rem]",3,"input","ngClass","value","placeholder","id","disabled","readonly","tabIndex"],["type","hidden",3,"name","value"],["type","button","aria-haspopup","dialog",1,"text-nc1-950","focus-within:border-pc1-600","focus-visible:outline-pc1-600","absolute","right-0","top-0","z-10","flex","w-12","cursor-default","select-none","appearance-none","items-center","justify-center","rounded-none","border-0","bg-transparent","p-0","shadow-none","focus-within:border","sm:left-28","sm:right-auto",3,"click","disabled"],["aria-hidden","true",1,"mr-[8px]","flex","h-[70px]","w-full","basis-full","items-center","justify-end","sm:w-auto","sm:justify-center"],["name","heroChevronDown","aria-hidden","true",3,"size"],[1,"sr-only"]],template:function(a,o){if(1&a){const i=t.RV6();t.j41(0,"div",2)(1,"label",3),t.EFF(2),t.k0s(),t.j41(3,"div",4)(4,"input",5,0),t.bIt("input",function(l){return t.eBV(i),t.Njj(o.handleValueChange(l))}),t.k0s(),t.nrm(6,"input",6),t.j41(7,"button",7,1),t.bIt("click",function(l){return t.eBV(i),t.Njj(o.toggleOpen(l))}),t.j41(9,"span",8),t.nrm(10,"frk-heroicon",9),t.k0s(),t.j41(11,"span",10),t.DNE(12,ve,2,1,"span")(13,en,2,1,"span"),t.k0s()()()()}2&a&&(t.R7$(),t.Y8G("for",o.identifier)("ngClass",t.eq3(22,ie,o.errorMessage)),t.R7$(),t.JRh(o.label),t.R7$(2),t.Y8G("ngClass",t.eq3(24,Nt,o.errorMessage))("value",o.formattedValue)("placeholder",o.placeholder)("id",o.identifier)("disabled",o.isDisabled)("readonly",o.isReadonly)("tabIndex",o.isReadonly?"-1":"0"),t.BMQ("aria-describedby",o.errorMessage?o.errorLabelId:null)("aria-haspopup","dialog")("aria-invalid",o.errorMessage?"true":"false")("aria-label",o.label+(o.errorMessage?", "+o.errorMessage:"")),t.R7$(2),t.Y8G("name",o.name)("value",o.value),t.R7$(),t.Y8G("disabled",o.isDisabled),t.BMQ("aria-label",o.toggleButtonLabel)("aria-describedby",o.errorMessage?o.errorLabelId:null),t.R7$(3),t.Y8G("size",16),t.R7$(2),t.vxM(!o.formattedValue||o.errorMessage?12:-1),t.R7$(),t.vxM(o.formattedValue||!o.errorMessage?13:-1))},dependencies:[C.MD,C.YU,R.zq],encapsulation:2,changeDetection:0})}return n})();var se=T(16691),nn=T(31693);const Se=["navigationAnnouncer"],an=["listButton"],ye=(n,s)=>null==s?null:s.month;function Re(n,s){if(1&n){const e=t.RV6();t.j41(0,"li",5)(1,"button",7,1),t.bIt("click",function(o){const i=t.eBV(e).$implicit,r=t.XpG
1();return t.Njj(r.handleClick(o,i))})("keydown",function(o){const i=t.eBV(e).$implicit,r=t.XpG();return t.Njj(r.handleKeyboardNavigation(o,i))}),t.j41(3,"span",8),t.EFF(4),t.k0s(),t.j41(5,"span",9),t.EFF(6),t.k0s()()()}if(2&n){const e=s.$implicit;t.R7$(),t.AVh("month-selector__list-item--disabled",null==e?null:e.isDisabled),t.Y8G("tabindex",null==e?null:e.tabIndex)("activeTabIndex",null==e?null:e.tabIndex)("isFocused",e.focused)("disabled",null==e?null:e.isDisabled),t.BMQ("type","button")("aria-disabled",null!=e&&e.isDisabled?"true":void 0)("aria-label",null==e?null:e.monthName),t.R7$(3),t.JRh(null==e?null:e.monthNameShort),t.R7$(2),t.JRh((null==e?null:e.monthName)+(null!=e&&e.isDisabled?" (disabled)":"")+(0===(null==e?null:e.tabIndex)?" (selected)":""))}}let Vt=(()=>{class n{monthData;keyBoardNavigated=new t.bkB;monthClicked=new t.bkB;buttons;navigationAnnouncer;selectedYear;hasCursorChanged=!1;handleClick(e,a){e.preventDefault(),e.stopPropagation(),a.isDisabled||this.monthClicked.emit(a)}handleKeyboardNavigation(e,a){this.keyBoardNavigated.emit({event:e,month:a})}focusOnCurrentMonth(){const e=this.buttons?.toArray();for(const a of e)if("0"===a.nativeElement.attributes.getNamedItem("tabIndex")?.value){a.nativeElement.focus();break}}announceNavigation(e,a){const o=e.year();let i="";this.selectedYear!==o&&(this.selectedYear=o,i=` ${o}`),this.hasCursorChanged||(i="",this.hasCursorChanged=!0);let l="";a&&(l=`Navigating ${a}. `),l=`${l}${e.format("MMMM")}${i} is now selected.`,this.navigationAnnouncer?.nativeElement&&(this.navigationAnnouncer.nativeElement.textContent=l)}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-month"]],viewQuery:function(a,o){if(1&a&&(t.GBs(Se,5),t.GBs(an,5)),2&a){let i;t.mGM(i=t.lsd())&&(o.navigationAnnouncer=i.first),t.mGM(i=t.lsd())&&(o.buttons=i)}},hostAttrs:["data-gtm-component","month"],inputs:{monthData:"monthData"},outputs:{keyBoardNavigated:"keyBoardNavigated",monthClicked:"monthClicked"},decls:7,vars:0,consts:[["navigationAnnouncer",""],["listButton",""],["role","group","aria-label","Month selection",1,"text-nc1-950","py-2","text-base","font-normal"],["role","grid","aria-label","Available months"],[1,"mb-0","grid","list-none","grid-cols-3","gap-2","p-0"],[1,"ml-0.5","list-none","p-0"],["aria-live","polite","aria-atomic","true",1,"sr-only"],["frkCalendarFocusable","","role","gridcell",1,"month-selector__list-item","text-pc1-600","bg-nc1-0","border-nc1-300","hover:bg-pc1-100","hover:text-nc1-950","hover:border-pc1-600","disabled:text-nc1-300","disabled:bg-nc1-0","disabled:border-nc1-300","hover:borderdisabled:border","flex","h-11","w-full","items-center","justify-center","border","py-3","text-center",3,"click","keydown","tabindex","activeTabIndex","isFocused","disabled"],["aria-hidden","true"],[1,"sr-only"]],template:function(a,o){1&a&&(t.j41(0,"div",2)(1,"div",3)(2,"ul",4),t.Z7z(3,Re,7,11,"li",5,ye),t.k0s()()(),t.nrm(5,"div",6,0)),2&a&&(t.R7$(3),t.Dyx(null==o.monthData?null:o.monthData.months))},dependencies:[C.MD,nn.Q],styles:['.month-selector__list-item[_ngcontent-%COMP%]:active, .month-selector__list-item[tabindex="0"][_ngcontent-%COMP%]{border-width:1px;border-color:var(--color-std-pc1-600);background-color:var(--color-std-pc1-100);color:var(--color-std-nc1-950)}.month-selector__list-item[_ngcontent-%COMP%]:active:focus-within, .month-selector__list-item[tabindex="0"][_ngcontent-%COMP%]:focus-within{outline-color:var(--color-std-pc1-600)}.month-selector__list-item[_ngcontent-%COMP%]:active, .month-selector__list-item[tabindex="-1"][_ngcontent-%COMP%]{border-width:1px;border-color:var(--color-std-nc1-200);background-color:var(--color-std-nc1-0);color:var(--color-std-pc1-600)}.month-selector__list-item[_ngcontent-%COMP%]:active:focus-within, .month-selector__list-item[tabindex="-1"][_ngcontent-%COMP%]:focus-within{outline-color:var(--color-std-nc1-200)}.month-selector__list-item--disabled[_ngcontent-%COMP%]{color:var(--color-std-nc1-700)!important}'],changeDetection:0})}return n})();var It=T(14369);function ke(n,s){if(1&n&&(t.j41(0,"span",5),t.EFF(1),t.k0s()),2&n){const e=t.XpG();
1t.Y8G("id",e.invalidDateErrorId),t.R7$(),t.SpI(" ",e.errorMessage()," ")}}let Ee=(()=>{class n{calendarService;isRequired=!1;isDialogOpen=(0,t.vPA)(!1);formattedValue=(0,t.vPA)("");minDate=(0,t.vPA)(null);maxDate=(0,t.vPA)(null);selectedValue=(0,t.vPA)(null);selectedDateMessage=(0,t.vPA)("");invalidDateErrorId="calendar-error-"+(0,N.A)();calendarState;errorMessage=(0,t.vPA)("");value;min;max;label;placeholder;format="MM/YYYY";isDisabled=!1;isReadonly=!1;opens="right";calendarHeading;closeLabel;prevButtonLabel;nextButtonLabel;toggleButtonLabel;toggleButtonChangeLabel;selectedDateLabel;errorMsgObj;calendarModalComponent;calendarInputComponent;monthComponent;selected=new t.bkB;closePanel=new t.bkB;openPanel=new t.bkB;constructor(e){this.calendarService=e}ngOnChanges(e){e.min&&this.minDate.set(this.calendarService.convertToDayJs(this.min,P.Fj)),e.max&&this.maxDate.set(this.calendarService.convertToDayJs(this.max,P.Fj)),e.value&&this.changeMonthValue(),this.initCalendar()}initCalendar(){const e=this.selectedValue()||b().startOf("month");this.refreshCalenderState(e)}changeMonthValue(){if(this.value){this.selectedValue.set(this.calendarService.convertToDayJs(this.value,P.Fj)),this.setFormattedValue();const e=b(this.selectedValue(),this.format,!0);e.isValid()&&this.setMonthDate(e,!1)}}onGlobalClick(e){!this.calendarModalComponent.dialogContentRef?.nativeElement.contains(e.target)&&!this.calendarInputComponent.toggleButtonRef?.nativeElement.contains(e.target)&&this.isDialogOpen()&&this.closeModal()}refreshCalenderState(e,a=!1){this.calendarState=this.calendarService.buildDataForMonth(e,this.minDate(),this.maxDate(),a)}setFormattedValue(){this.selectedValue()?(this.formattedValue.set(this.selectedValue().format(this.format)),this.selectedDateMessage.set(`${this.selectedDateLabel} ${this.selectedValue()?.format("MMMM")} ${this.selectedValue()?.format("YYYY")}`)):(this.formattedValue.set(""),this.selectedDateMessage.set(""))}openModal(){this.isDialogOpen.set(!0),this.initCalendar(),this.openPanel.emit("open")}closeModal(e=!1){this.isDialogOpen.set(!1),this.closePanel.emit("close"),e&&this.calendarInputComponent.returnFocusToToggle()}setMonthDate(e,a=!0){this.selectedValue.set(e),e?(this.selectedValue.set(e),a&&this.selected.emit(this.selectedValue()?.format(P.Fj))):(this.selectedValue.set(null),this.selected.emit(null),this.initCalendar()),this.setFormattedValue(),this.errorMessage.set("")}handleToggleClicked(){this.isDialogOpen()?this.closeModal():this.openModal()}handleCloseModal(){this.isDialogOpen()&&this.closeModal(!0)}handleYearSelected(e){const{activeDate:a}=this.calendarState;this.refreshCalenderState(this.calculateDateForYearChange(a,e))}handleInputChange(e){const a=b(e,this.format,!0),{hasValidity:o,errorMsg:i}=this.calendarService.parseDateWithMessage(a,this.minDate(),this.maxDate(),e,this.errorMsgObj,this.format,this.isRequired);o?(this.errorMessage.set(i),this.formattedValue.set(e)):this.setMonthDate(a.isValid()?a:null)}handleKeyboardNavigation(e){const{event:a,month:o}=e,{activeDate:i}=this.calendarState;if(a.key===X.OC.TAB&&!a.shiftKey)return a.preventDefault(),void this.calendarModalComponent.focusCloseButton();let r=!0;switch(a.code){case X.OC.RIGHT:this.addMonths(i,1,!0);break;case X.OC.LEFT:this.addMonths(i,-1,!0);break;case X.OC.DOWN:this.addMonths(i,3,!0);break;case X.OC.UP:this.addMonths(i,-3,!0);break;case X.OC.PAGE_UP:this.handleAddYear(-1,!0);break;case X.OC.PAGE_DOWN:this.handleAddYear(1,!0);break;case X.OC.HOME:this.startOfYear(this.calendarState.activeDate,!0);break;case X.OC.END:this.endOfYear(this.calendarState.activeDate,!0);break;case X.OC.ENTER:case X.OC.SPACE:this.handleMonthSelected(o);break;default:r=!1}r&&a.preventDefault()}addMonths(e,a,o,i){o=o??!1;const r=e.add(a,"month");this.calendarService.isDateOutOfRange(r,this.minDate(),this.maxDate())||(this.refreshCalenderState(r,o),this.monthComponent.announceNavigation(r,i))}selectMonthValue(e){this.setMonthDate(e),this.closeModal(!0)}handleMonthSelected(e){if(!e.isDisabled){const{activeDate:a}=this.calendarState;this.selectMonthValue(a)}}handleMonthClicked(e){if(!e.isDisabled){const{activeDate:a}=this.calendarState,o=a?.month(e.month);this.refreshCalenderState(o),this.selectMonthValue(o)}}startOfYear(e,a=!1){const i=e.startOf("year").endOf("year"),r=e.startOf("year"),l=this.calendarService.clampDateForMonth(r,this.minDate(
1),i);e.isSame(l)||this.refreshCalenderState(l,a)}endOfYear(e,a=!1){const o=e.startOf("year"),i=e.endOf("year"),r=this.calendarService.clampDateForMonth(i,o,this.maxDate());e.isSame(r)||this.refreshCalenderState(r,a)}handleAddYear(e,a=!1){const o=this.calendarService.clampDateForMonth(this.addYears(e),this.minDate(),this.maxDate());(e===X.um.NEXT?!this.calendarState.isNextButtonNavigatorDisabled:!this.calendarState.isPrevButtonNavigatorDisabled)&&this.refreshCalenderState(o,a)}handleNavigatorSelection(e){this.handleAddYear(e)}calculateDateForYearChange(e,a){const o=e.year(a);return this.calendarService.clampDateForMonth(o,this.minDate(),this.maxDate())}addYears(e){const{activeDate:a}=this.calendarState,o=a.year()+e;return this.calculateDateForYearChange(a,o)}handleFocusOnCalendar(){this.monthComponent.focusOnCurrentMonth()}static \u0275fac=function(a){return new(a||n)(t.rXU(It.I))};static \u0275cmp=t.VBU({type:n,selectors:[["frk-month-picker"]],viewQuery:function(a,o){if(1&a&&(t.GBs(se.H,5),t.GBs(Te,5),t.GBs(Vt,5)),2&a){let i;t.mGM(i=t.lsd())&&(o.calendarModalComponent=i.first),t.mGM(i=t.lsd())&&(o.calendarInputComponent=i.first),t.mGM(i=t.lsd())&&(o.monthComponent=i.first)}},hostAttrs:["data-gtm-component","month-picker"],hostBindings:function(a,o){1&a&&t.bIt("click",function(r){return o.onGlobalClick(r)},!1,t.EBC)},inputs:{isRequired:"isRequired",value:"value",min:"min",max:"max",label:"label",placeholder:"placeholder",format:"format",isDisabled:"isDisabled",isReadonly:"isReadonly",opens:"opens",calendarHeading:"calendarHeading",closeLabel:"closeLabel",prevButtonLabel:"prevButtonLabel",nextButtonLabel:"nextButtonLabel",toggleButtonLabel:"toggleButtonLabel",toggleButtonChangeLabel:"toggleButtonChangeLabel",selectedDateLabel:"selectedDateLabel",errorMsgObj:"errorMsgObj"},outputs:{selected:"selected",closePanel:"closePanel",openPanel:"openPanel"},features:[t.OA$],decls:9,vars:25,consts:[[1,"w-full","sm:w-40"],[3,"toggleClicked","inputChange","value","formattedValue","isDisabled","label","placeholder","isReadonly","toggleButtonLabel","errorMessage","toggleButtonChangeLabel","errorLabelId"],[3,"yearSelected","navigatorSelected","closeModal","focusOnCalendar","monthData","yearData","activeDate","isOpen","direction","isPrevButtonDisabled","isNextButtonDisabled","nextButtonLabel","prevButtonLabel","closeLabel","calendarHeading","hideMonth"],[3,"keyBoardNavigated","monthClicked","monthData"],["aria-live","polite",1,"sr-only"],["role","alert",1,"text-sc4-800","z-10","inline-block","text-sm",3,"id"]],template:function(a,o){1&a&&(t.j41(0,"div",0)(1,"frk-calendar-input",1),t.bIt("toggleClicked",function(){return o.handleToggleClicked()})("inputChange",function(r){return o.handleInputChange(r)}),t.k0s(),t.j41(2,"div")(3,"frk-calendar-modal",2),t.bIt("yearSelected",function(r){return o.handleYearSelected(r)})("navigatorSelected",function(r){return o.handleNavigatorSelection(r)})("closeModal",function(){return o.handleCloseModal()})("focusOnCalendar",function(){return o.handleFocusOnCalendar()}),t.j41(4,"frk-month",3),t.bIt("keyBoardNavigated",function(r){return o.handleKeyboardNavigation(r)})("monthClicked",function(r){return o.handleMonthClicked(r)}),t.k0s()()(),t.j41(5,"div",4)(6,"span"),t.EFF(7),t.k0s()(),t.DNE(8,ke,2,2,"span",5),t.k0s()),2&a&&(t.R7$(),t.Y8G("value",o.value)("formattedValue",o.formattedValue())("isDisabled",o.isDisabled)("label",o.label)("placeholder",o.placeholder)("isReadonly",o.isReadonly)("toggleButtonLabel",o.toggleButtonLabel)("errorMessage",o.errorMessage())("toggleButtonChangeLabel",o.toggleButtonChangeLabel)("errorLabelId",o.invalidDateErrorId),t.R7$(2),t.Y8G("monthData",o.calendarState.monthData)("yearData",o.calendarState.yearData)("activeDate",o.calendarState.activeDate)("isOpen",o.isDialogOpen())("direction",o.opens)("isPrevButtonDisabled",o.calendarState.isPrevButtonNavigatorDisabled)("isNextButtonDisabled",o.calendarState.isNextButtonNavigatorDisabled)("nextButtonLabel",o.nextButtonLabel)("prevButtonLabel",o.prevButtonLabel)("closeLabel",o.closeLabel)("calendarHeading",o.calendarHeading)("hideMonth",!0),t.R7$(),t.Y8G("monthData",o.calendarState.monthData),t.R7$(3),t.JRh(o.selectedDateMessage()),t.R7$(),t.vxM(o.errorMessage()?8:-1))},dependencies:[C.MD,Te,se.H,Vt],encapsulation:2,changeDetection:0})}return n})();var Tt=T(23186);var $e=T(43498),Ae=T(13203),on=T(76786),Me=T(97612);const Pe=(n,s)=>({"duet-picker-wrapper--error":n,"duet-picker-wrapper--no-margin":s});
1function re(n,s){if(1&n&&(t.j41(0,"span",4),t.EFF(1),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.JRh(e.errorMsg)}}b.extend(on),b.extend(Me),b.extend(Ae);let le=(()=>{class n{calendarService;cdr;windowRef;duetDateAdapter;duetDateConfig;minDateStd;maxDateStd;selectedDateStd;isDatePickerOpen=!1;errorMsg;id;dateFormat=P.VF;defaultDateFormat="MM/DD/YYYY";value;min;max;placeholder;isDisabled;firstDayOfWeek=0;label;isWeekEnding;tooltip;shouldRemoveMargin=!1;shouldRemoveBG=!0;buttonLabel;opens="right";selectedDateMessage;prevMonthLabel;nextMonthLabel;monthSelectLabel;yearSelectLabel;closeLabel;calendarHeading;errorMsgObj;format=this.defaultDateFormat;disableDates;datePickerBlured=new t.bkB;selectedFormatted=new t.bkB;selected=new t.bkB;datePickerFocused=new t.bkB;datePickerOpened=new t.bkB;datePickerClosed=new t.bkB;constructor(e,a,o){this.calendarService=e,this.cdr=a,this.windowRef=o,this.id="datepicker-input-"+(0,N.A)()}ngOnChanges(e){e.format&&(this.initLocalization(),this.createDateAdapter()),e.min&&this.min&&(this.minDateStd=this.convertToStd(this.min)),e.max&&this.max&&(this.maxDateStd=this.convertToStd(this.max)),e.value&&this.value&&(this.selectedDateStd=this.convertToStd(this.value))}ngOnInit(){var s;typeof window>"u"?Promise.resolve():(Tt.C&&Tt.C.supports&&Tt.C.supports("color","var(--c)")?(0,Tt.a)():T.e("polyfills-css-shim").then(T.t.bind(T,73789,23)).then(()=>(Tt.p.$cssShim$=Tt.w.__cssshim)?Tt.p.$cssShim$.i():0)).then(()=>(0,Tt.b)([["duet-date-picker",[[0,"duet-date-picker",{name:[1],identifier:[1],disabled:[516],role:[1],direction:[1],required:[4],value:[1537],min:[1],max:[1],firstDayOfWeek:[2,"first-day-of-week"],localization:[16],dateAdapter:[16],isDateDisabled:[16],activeFocus:[32],focusedDay:[32],open:[32],setFocus:[64],show:[64],hide:[64]},[[6,"click","handleDocumentClick"]]]]]],s)),this.initLocalization(),this.createDateAdapter(),this.isWeekEnding&&(this.disableDates=e=>5===e.getDay())}createDateAdapter(){this.duetDateAdapter={format:e=>b(e).format(this.dateFormat),parse:(e,a)=>{const o=b(e,this.dateFormat,!0);if(o.isValid())return a(o.year().toString(),(o.month()+1).toString(),o.date().toString());this.errorMsg=this.calendarService.parseDateWithMessage(o,void 0,void 0,void 0,this.errorMsgObj,this.dateFormat).errorMsg,this.cdr.detectChanges()}}}convertToStd(e){return"string"==typeof e&&b(e,P.VF).isValid()?e:""}initLocalization(){const e={...this.duetDateConfig};e.locale=b.locale(),e.placeholder=this.isDateFormatValid(this.format)?this.format:this.defaultDateFormat,this.dateFormat=this.isDateFormatValid(this.format)?this.format:this.defaultDateFormat,e.monthNames=b.months(),e.monthNamesShort=b.monthsShort(),e.dayNames=b.weekdays(),e.buttonLabel=this.buttonLabel||"",e.selectedDateMessage=this.selectedDateMessage||"",e.prevMonthLabel=this.prevMonthLabel||"",e.nextMonthLabel=this.nextMonthLabel||"",e.monthSelectLabel=this.monthSelectLabel||"",e.yearSelectLabel=this.yearSelectLabel||"",e.closeLabel=this.closeLabel||"",e.calendarHeading=this.calendarHeading||"",this.duetDateConfig={...e}}handleDuetBlur(e){this.datePickerBlured.emit(e)}isDateFormatValid(e){return b(b("1970-12-10").format(e)).isValid()}handleDuetChange(e){const a=e.detail.value;this.errorMsg=this.calendarService.parseDateWithMessage(b(a),b(this.minDateStd,P.VF),b(this.maxDateStd,P.VF),a,this.errorMsgObj,this.dateFormat,!0).errorMsg,this.selectedFormatted.emit(b(a).format(this.format)),this.selected.emit(a)}handleDuetFocus(e){this.datePickerFocused.emit(e)}handleDuetOpen(e){this.isDatePickerOpen=!0,this.datePickerOpened.emit(e)}handleDuetClose(e){this.isDatePickerOpen=!1,this.datePickerClosed.emit(e)}static \u0275fac=function(a){return new(a||n)(t.rXU(It.I),t.rXU(t.gRc),t.rXU($e.Qc))};static \u0275cmp=t.VBU({type:n,selectors:[["frk-date-picker"]],hostAttrs:["data-gtm-component","frk-date-picker"],inputs:{value:"value",min:"min",max:"max",placeholder:"placeholder",isDisabled:"isDisabled",firstDayOfWeek:"firstDayOfWeek",label:"label",isWeekEnding:"isWeekEnding",tooltip:"tooltip",shouldRemoveMargin:"shouldRemoveMargin",shouldRemoveBG:"shouldRemoveBG",buttonLabel:"buttonLabel",opens:"opens",selectedDateMessage:"selectedDateMessage",prevMonthLabel:"prevMonthLabel",nextMonthLabel:"nextMonthLabel",monthSelectLabel:"monthSelectLabel",yearSelectLabel:"yearSelectLabel",closeLabel:"closeLabel",calendarHeading:"calendarHeading",errorMsgObj:"errorMsgObj",format:"format",disableDates:"disableDates"},outputs:{datePickerBlured:"datePickerBlured",selectedFormatted:"selectedFormatted",selected:"selected",datePickerFocused:"datePickerFocused",datePickerOpened:"datePickerOpened",datePickerClosed:"datePickerClosed"},features:[t.OA$],decls:6,vars:16,consts:[["duetDatePickerRef",""],[1,"duet-picker-wrapper",3,"ngClass"],[1,"duet-picker-wrapper__label",3,"for"],[3,"duetBlur","duetChange","duetFocus","duetOpen","duetClose","identifier","min","max","value","firstDayOfWeek","disabled","direction","dateAdapter","localization"],[1,"duet-picker-wrapper__val
1idation-text"]],template:function(a,o){if(1&a){const i=t.RV6();t.j41(0,"div",1)(1,"label",2),t.EFF(2),t.k0s(),t.j41(3,"duet-date-picker",3,0),t.bIt("duetBlur",function(l){return t.eBV(i),t.Njj(o.handleDuetBlur(l))})("duetChange",function(l){return t.eBV(i),t.Njj(o.handleDuetChange(l))})("duetFocus",function(l){return t.eBV(i),t.Njj(o.handleDuetFocus(l))})("duetOpen",function(l){return t.eBV(i),t.Njj(o.handleDuetOpen(l))})("duetClose",function(l){return t.eBV(i),t.Njj(o.handleDuetClose(l))}),t.k0s(),t.DNE(5,re,2,1,"span",4),t.k0s()}2&a&&(t.Y8G("ngClass",t.l_i(13,Pe,o.errorMsg,o.shouldRemoveMargin)),t.R7$(),t.Y8G("for",o.id),t.R7$(),t.JRh(o.label),t.R7$(),t.Y8G("identifier",o.id)("min",o.min)("max",o.max)("value",o.value)("firstDayOfWeek",o.firstDayOfWeek)("disabled",o.isDisabled)("direction",o.opens)("dateAdapter",o.duetDateAdapter)("localization",o.duetDateConfig),t.R7$(2),t.vxM(o.errorMsg&&!o.isDatePickerOpen?5:-1))},dependencies:[C.MD,C.YU],styles:[':root{--duet-color-primary: var(--color-std-pc1-600);--duet-color-text: var(--color-std-nc1-950);--duet-color-text-active: var(--color-std-nc1-0);--duet-color-button: var(--color-std-ac1-30);--duet-color-surface: var(--color-std-nc1-0);--duet-color-placeholder: unset;--duet-color-overlay: unset;--duet-color-border: var(--duet-color-primary);--duet-font: "Univers LT Pro 45 Light", "Helvetica", sans-serif;--duet-font-normal: 400;--duet-font-bold: 500;--duet-radius: 0;--duet-z-index: 600;--duet-border-not-active: var(--color-std-nc1-0);--duet--input-color: var(--color-std-ac1-30);--duet-box-shadow: 0 0 0 2px var(--duet-color-primary)}.duet-picker-wrapper{position:relative;margin:1rem;width:12rem}.duet-picker-wrapper--no-margin{margin:0!important}.duet-picker-wrapper__validation-text{color:var(--color-std-sc4-800);font-size:small}.duet-picker-wrapper--error .duet-date__input,.duet-picker-wrapper--error .duet-picker-wrapper__label{border-color:var(--color-std-sc4-800);color:var(--color-std-sc4-800)}.duet-picker-wrapper--error:hover .duet-picker-wrapper__label,.duet-picker-wrapper--error:focus-within .duet-picker-wrapper__label,.duet-picker-wrapper--error:focus .duet-picker-wrapper__label{color:var(--color-std-sc4-800)}.duet-picker-wrapper .duet-date__dialog{min-width:0}.duet-picker-wrapper .duet-date__dialog-content{max-width:12rem;margin-left:-98px;border-radius:10px}.duet-picker-wrapper .duet-date__toggle{background-color:var(--color-std-pc1-100);height:95%;top:1px;right:1.5px;border-radius:0 2px 2px 0}@media(max-width:640px){.duet-picker-wrapper .duet-date__toggle{width:44px}}.duet-picker-wrapper .duet-date__toggle-icon{content:url(\'data:image/svg+xml,<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M12.75 13.1392C12.75 13.5534 12.4142 13.8892 12 13.8892C11.5858 13.8892 11.25 13.5534 11.25 13.1392C11.25 12.7249 11.5858 12.3892 12 12.3892C12.4142 12.3892 12.75 12.7249 12.75 13.1392Z" fill="%231446e1"/>%0A<path d="M7.5 16.1392C7.91421 16.1392 8.25 15.8034 8.25 15.3892C8.25 14.9749 7.91421 14.6392 7.5 14.6392C7.08579 14.6392 6.75 14.9749 6.75 15.3892C6.75 15.8034 7.08579 16.1392 7.5 16.1392Z" fill="%231446e1"/>%0A<path d="M8.25 17.6392C8.25 18.0534 7.91421 18.3892 7.5 18.3892C7.08579 18.3892 6.75 18.0534 6.75 17.6392C6.75 17.2249 7.08579 16.8892 7.5 16.8892C7.91421 16.8892 8.25 17.2249 8.25 17.6392Z" fill="%231446e1"/>%0A<path d="M9.75 16.1392C10.1642 16.1392 10.5 15.8034 10.5 15.3892C10.5 14.9749 10.1642 14.6392 9.75 14.6392C9.33579 14.6392 9 14.9749 9 15.3892C9 15.8034 9.33579 16.1392 9.75 16.1392Z" fill="%231446e1"/>%0A<path d="M10.5 17.6392C10.5 18.0534 10.1642 18.3892 9.75 18.3892C9.33579 18.3892 9 18.0534 9 17.6392C9 17.2249 9.33579 16.8892 9.75 16.8892C10.1642 16.8892 10.5 17.2249 10.5 17.6392Z" fill="%231446e1"/>%0A<path d="M12 16.1392C12.4142 16.1392 12.75 15.8034 12.75 15.3892C12.75 14.9749 12.4142 14.6392 12 14.6392C11.5858 14.6392 11.25 14.9749 11.25 15.3892C11.25 15.8034 11.5858 16.1392 12 16.1392Z" fill="%231446e1"/>%0A<path d="M12.75 17.6392C12.75 18.0534 12.4142 18.3892 12 18.3892C11.5858 18.3892 11.25 18.0534 11.25 17.6392C11.25 17.2249 11.5858 16.8892 12 16.8892C12.4142 16.8892 12.75 17.2249 12.75 17.6392Z" fill="%231446e1"/>
1%0A<path d="M14.25 16.1392C14.6642 16.1392 15 15.8034 15 15.3892C15 14.9749 14.6642 14.6392 14.25 14.6392C13.8358 14.6392 13.5 14.9749 13.5 15.3892C13.5 15.8034 13.8358 16.1392 14.25 16.1392Z" fill="%231446e1"/>%0A<path d="M15 17.6392C15 18.0534 14.6642 18.3892 14.25 18.3892C13.8358 18.3892 13.5 18.0534 13.5 17.6392C13.5 17.2249 13.8358 16.8892 14.25 16.8892C14.6642 16.8892 15 17.2249 15 17.6392Z" fill="%231446e1"/>%0A<path d="M16.5 16.1392C16.9142 16.1392 17.25 15.8034 17.25 15.3892C17.25 14.9749 16.9142 14.6392 16.5 14.6392C16.0858 14.6392 15.75 14.9749 15.75 15.3892C15.75 15.8034 16.0858 16.1392 16.5 16.1392Z" fill="%231446e1"/>%0A<path d="M15 13.1392C15 13.5534 14.6642 13.8892 14.25 13.8892C13.8358 13.8892 13.5 13.5534 13.5 13.1392C13.5 12.7249 13.8358 12.3892 14.25 12.3892C14.6642 12.3892 15 12.7249 15 13.1392Z" fill="%231446e1"/>%0A<path d="M16.5 13.8892C16.9142 13.8892 17.25 13.5534 17.25 13.1392C17.25 12.7249 16.9142 12.3892 16.5 12.3892C16.0858 12.3892 15.75 12.7249 15.75 13.1392C15.75 13.5534 16.0858 13.8892 16.5 13.8892Z" fill="%231446e1"/>%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M6.75 2.63916C7.16421 2.63916 7.5 2.97495 7.5 3.38916V4.88916H16.5V3.38916C16.5 2.97495 16.8358 2.63916 17.25 2.63916C17.6642 2.63916 18 2.97495 18 3.38916V4.88916H18.75C20.4069 4.88916 21.75 6.23231 21.75 7.88916V19.1392C21.75 20.796 20.4069 22.1392 18.75 22.1392H5.25C3.59315 22.1392 2.25 20.796 2.25 19.1392V7.88916C2.25 6.23231 3.59315 4.88916 5.25 4.88916H6V3.38916C6 2.97495 6.33579 2.63916 6.75 2.63916ZM20.25 11.6392C20.25 10.8107 19.5784 10.1392 18.75 10.1392H5.25C4.42157 10.1392 3.75 10.8107 3.75 11.6392V19.1392C3.75 19.9676 4.42157 20.6392 5.25 20.6392H18.75C19.5784 20.6392 20.25 19.9676 20.25 19.1392V11.6392Z" fill="%231446e1"/>%0A</svg>%0A\');width:24px;height:24px}.duet-picker-wrapper .duet-date__input-wrapper input{border:1.5px solid var(--color-std-nc1-300);border-radius:4px}.duet-picker-wrapper .duet-date__select:focus,.duet-picker-wrapper .duet-date__select:focus-within,.duet-picker-wrapper .duet-date__select:active,.duet-picker-wrapper .duet-date__select select:focus,.duet-picker-wrapper .duet-date__select select:focus-within,.duet-picker-wrapper .duet-date__select select:active,.duet-picker-wrapper .duet-date__select:hover{background-color:var(--color-std-pc1-50)}.duet-picker-wrapper .duet-date__day.is-today{box-shadow:none}.duet-picker-wrapper .duet-date__nav button{border-radius:50%;background-color:var(--color-std-nc1-100)}.duet-picker-wrapper .duet-date__nav button:hover{border:1px solid var(--color-std-nc1-500)}.duet-picker-wrapper .duet-date__table{margin-left:-.6rem}.duet-picker-wrapper .duet-date__table .duet-date__day{background-color:var(--color-std-nc1-0);border-radius:0;color:var(--color-std-pc1-600)}.duet-picker-wrapper .duet-date__table .duet-date__day[tabindex="0"],.duet-picker-wrapper .duet-date__table .duet-date__day:hover{background-color:var(--color-std-pc1-50);border-radius:50%}.duet-picker-wrapper .duet-date__table .duet-date__day[tabindex="0"]{border:1px solid var(--color-std-pc1-500);color:var(--color-std-nc1-950)}.duet-picker-wrapper .duet-date__table .duet-date__day:focus{color:unset;background-color:var(--color-std-pc1-50);border-radius:150px;border:2px solid var(--color-std-pc1-600)}.duet-picker-wrapper .duet-date__table .is-outside{color:var(--color-std-nc1-700)}.duet-picker-wrapper .duet-date__table td{padding:.1rem}@media(max-width:640px){.duet-picker-wrapper .duet-date__table td{padding:.2rem}}.duet-picker-wrapper .duet-date__input{padding:7px 60px 7px 7px}@media(max-width:640px){.duet-picker-wrapper .duet-date__input{padding:7px 60px 7px 7px}.duet-picker-wrapper{width:100%}.duet-picker-wrapper .duet-date__dialog-content{margin-left:0;width:100%;min-width:100%;padding:10px}.duet-picker-wrapper .duet-date__dialog-content__mobile{width:115%}}.duet-date__mobile-heading{visibility:hidden}\n'],encapsulation:2,changeDetection:0})}return n})();var sn=T(18642);var ce=T(49703),yt=T(69406),Ut=T(86475),Ie=T(91107),cn=T(19411);const zt=function de(n,s,e){for(var a=-1,o=n.length;++a<o;){var i=n[a],r=s(i);if(null!=r&&(void 0===l?r==r&&!(0,cn.A)(r):e(r,l)))var l=r,c=i}return c},un=function dn(n,s){return n>s};var we=T(84218);const mn=function Ge(n,s){return n<s};var W=T(62478),J=T(63582),Oe=T(30227),Ye=T(93143),wt=T(35684),Ot=T(57836),st=T(32229),_n=T(21241),Wt=T(76606),ue=T(71978);const m=(n,s)=>s.key,f=(n,s)=>s.filterKey+s.value;function S(n,s){if(1&n){const e=t.RV6();t.j41(0,"button",16),t.nI1(1,"translate"),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.onClearSearch())}),t.nrm(2,"frk-heroicon",17),t.k0s()}2&n&&(t.BMQ("aria-label",t.bMT(1,2,"products.ppss-clear-filters")),t.R7$(2),t.Y8G("size",14))}function D(n,s){if(1&n){const e=t.RV6();t.j41(0,"frk-multiselect-dropdown",18),t.bIt("selectionChange",function(o){t.eBV(e);const i=t.XpG();return t.Njj(i.onMultiselectChange(o))}),t.k0s()}2&n&&t.Y8G("config",s.$implicit)}
1function $(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",14)(1,"div",19)(2,"span",20),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"frk-toggle",21),t.bIt("toggleActive",function(o){t.eBV(e);const i=t.XpG();return t.Njj(i.onMyInvestmentsToggle(o))}),t.k0s()(),t.j41(6,"div",22)(7,"span",23),t.EFF(8),t.nI1(9,"translate"),t.k0s(),t.j41(10,"frk-toggle",24),t.bIt("toggleActive",function(o){t.eBV(e);const i=t.XpG();return t.Njj(i.onMyWatchlistToggle(o))}),t.k0s()()()}if(2&n){const e=t.XpG();t.R7$(3),t.JRh(t.bMT(4,4,"products.show-investments-toggle")),t.R7$(2),t.Y8G("toggleButtons",e.myInvestmentsToggleButtons()),t.R7$(3),t.JRh(t.bMT(9,6,"products.show-watchlist-toggle")),t.R7$(2),t.Y8G("toggleButtons",e.myWatchlistToggleButtons())}}function k(n,s){if(1&n){const e=t.RV6();t.j41(0,"span",27)(1,"span",28),t.EFF(2),t.k0s(),t.j41(3,"button",29),t.bIt("click",function(){const o=t.eBV(e).$implicit,i=t.XpG(2);return t.Njj(i.onRemoveFilterChip(o.filterKey,o.value))}),t.nrm(4,"frk-heroicon",30),t.k0s()()}if(2&n){const e=s.$implicit;t.R7$(2),t.SpI(" ",e.label," "),t.R7$(),t.BMQ("aria-label","Remove "+e.label+" filter"),t.R7$(),t.Y8G("size",16)}}function I(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",15)(1,"button",25),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.onResetFilters())}),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",26),t.Z7z(5,k,5,3,"span",27,f),t.k0s()()}if(2&n){const e=t.XpG();t.R7$(2),t.SpI(" ",t.bMT(3,1,"products.ppss-clear-filters")," "),t.R7$(3),t.Dyx(e.selectedFilterChips())}}function O(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",1)(1,"p"),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"button",2),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.onReset())}),t.EFF(5),t.nI1(6,"translate"),t.k0s()()}2&n&&(t.R7$(2),t.SpI(" ",t.bMT(3,2,"products.capgains-estimates-no-filter-result-message")," "),t.R7$(3),t.SpI(" ",t.bMT(6,4,"products.capgains-table-reset-filters")," "))}function Y(n,s){if(1&n&&(t.j41(0,"option",9),t.EFF(1),t.k0s()),2&n){const e=s.$implicit;t.Y8G("value",e),t.R7$(),t.JRh(e)}}function G(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",6)(1,"label",7)(2,"span"),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"select",8),t.bIt("change",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onPageSizeChanged(o))}),t.Z7z(6,Y,2,2,"option",9,t.fX1),t.k0s()(),t.j41(8,"frk-pagination",10),t.bIt("pageChanged",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onPageChanged(o))}),t.k0s()()}if(2&n){const e=t.XpG(2);t.R7$(3),t.SpI("",t.bMT(4,4,"products.items-per-page")," "),t.R7$(2),t.Y8G("value",e.pageState().pageSize),t.R7$(),t.Dyx(e.pageSizeOptions),t.R7$(2),t.Y8G("pages",e.totalPages())("activePage",e.pageState().pageIndex+1)}}function Q(n,s){if(1&n&&(t.j41(0,"p",3),t.EFF(1),t.nI1(2,"translate"),t.j41(3,"b"),t.EFF(4),t.k0s(),t.EFF(5),t.nI1(6,"translate"),t.j41(7,"b"),t.EFF(8),t.k0s(),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.j41(11,"div",4)(12,"div"),t.nrm(13,"frk-dynamic-table",5),t.nI1(14,"translate"),t.nI1(15,"translate"),t.k0s()(),t.DNE(16,G,9,6,"div",6)),2&n){const e=t.XpG();t.R7$(),t.SpI(" ",t.bMT(2,20,"products.ppss-listing-shows")," "),t.R7$(3),t.JRh(e.filteredTotal()),t.R7$(),t.SpI(" ",t.bMT(6,22,"products.ppss-listing-of")," "),t.R7$(3),t.JRh(e.totalRecords()),t.R7$(),t.SpI(" ",t.bMT(10,24,"products.ppss-listing-items")," "),t.R7$(2),t.AVh("overflow-x-auto",!e.isMobile())("overflow-hidden",e.isMobile()),t.R7$(),t.AVh("min-w-max",!e.isMobile()),t.R7$(),t.Y8G("rowData",e.tableRows())("colDefs",e.columnConfig())("showPagination",!1)("isCardView",e.isCardView())("isMobile",e.isMobile())("expandedByDefault",!1)("showMoreTxt",t.bMT(14,26,"products.ppss-show-more"))("showLessTxt",t.bMT(15,28,"products.ppss-show-less")),t.R7$(3),t.vxM(e.totalPages()>1?16:-1)}}function tt(n,s){if(1&n){const e=t.RV6();t.j41(0,"frk-sticky-footer",14),t.bIt("buttonAction",function(o){t.eBV(e);const i=t.XpG();return t.Njj(i.onStickyFooterAction(o))}),t.k0s()}if(2&n){const e=t.XpG();t.Y8G("stickyConfig",e.stickyFooterConfig())("buttons",e.stickyFooterButtons())}}function rt(n,s){if(1&n&&(t.j41(0,"div",1),t.nrm(1,"frk-highcharts",2),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.Y8G("chartConfig",e.chartConfig)("chartData",e.chartData())}}const it=(n,s)=>s.value;function Dt(n,s){1&n&&(t.j41(0,"small",14),t.EFF(1),t.nI1(2,"tooltip"),t.k0s(),t.j41(3,"frk-tooltip",15),t.nI1(4,"translate"),t.nrm(5,"p",16),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,3,"products.distribution-estimate-label")),t.R7$(2),t.Y8G("ariaLabel",t.bMT(4,5,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",s,t.npT))}
1function Ft(n,s){if(1&n&&(t.j41(0,"option",17),t.EFF(1),t.k0s()),2&n){const e=s.$implicit;t.Y8G("value",e.value),t.R7$(),t.SpI(" ",e.label," ")}}function gn(n,s){if(1&n&&t.Z7z(0,Ft,2,2,"option",17,it),2&n){const e=t.XpG(3);t.Dyx(e.yearOptionList)}}function pe(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",3)(1,"h3",5),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"frk-footnote",6),t.j41(5,"div"),t.DNE(6,Dt,6,7),t.nI1(7,"tooltip"),t.k0s()(),t.j41(8,"div",7)(9,"div",8)(10,"select",9),t.mxI("ngModelChange",function(o){t.eBV(e);const i=t.XpG(2);return t.DH7(i.selectedYear,o)||(i.selectedYear=o),t.Njj(o)}),t.bIt("change",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.filterRecords())}),t.DNE(11,gn,2,0),t.k0s()(),t.j41(12,"button",10),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.downloadDistribution())}),t.j41(13,"span",11)(14,"span",12),t.nrm(15,"frk-heroicon",13),t.k0s(),t.EFF(16),t.nI1(17,"translate"),t.k0s()()()()}if(2&n){let e,a;const o=t.XpG(2);t.R7$(2),t.SpI(" ",t.bMT(3,9,null!==(e=null==(e=o.config())?null:e.distributionHeadingKey)&&void 0!==e?e:"products.dist-distributions-per-share-and-nav")," "),t.R7$(4),t.vxM((a=t.bMT(7,11,"products.distribution-estimate-content"))?6:-1,a),t.R7$(4),t.Y8G("name",o.dropdownId)("id",o.dropdownId),t.R50("ngModel",o.selectedYear),t.R7$(),t.vxM(o.yearOptionList?11:-1),t.R7$(),t.Y8G("id",o.downloadId),t.R7$(3),t.Y8G("size",16),t.R7$(),t.SpI(" ",t.bMT(17,13,"products.xls-file-extension")," ")}}function Ca(n,s){1&n&&(t.j41(0,"small",14),t.EFF(1),t.nI1(2,"tooltip"),t.k0s(),t.j41(3,"frk-tooltip",15),t.nI1(4,"translate"),t.nrm(5,"p",16),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,3,"products.distribution-estimate-label")),t.R7$(2),t.Y8G("ariaLabel",t.bMT(4,5,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",s,t.npT))}function ba(n,s){if(1&n&&(t.j41(0,"option",17),t.EFF(1),t.k0s()),2&n){const e=s.$implicit;t.Y8G("value",e.value),t.R7$(),t.SpI(" ",e.label," ")}}function xa(n,s){if(1&n&&t.Z7z(0,ba,2,2,"option",17,it),2&n){const e=t.XpG(3);t.Dyx(e.yearOptionList)}}function Da(n,s){if(1&n&&(t.j41(0,"small",25),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(3);t.R7$(),t.Lme("",t.bMT(2,2,"products.as-of")," ",e.asOfDate,"")}}function va(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",3)(1,"h3",5),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"frk-footnote",6),t.j41(5,"div"),t.DNE(6,Ca,6,7),t.nI1(7,"tooltip"),t.k0s()(),t.j41(8,"div",18)(9,"frk-toggle",19),t.bIt("toggleActive",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onToggleActive(o))}),t.k0s(),t.j41(10,"button",10),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.downloadDistribution())}),t.j41(11,"span",11)(12,"span",12),t.nrm(13,"frk-heroicon",13),t.k0s(),t.EFF(14),t.nI1(15,"translate"),t.k0s()()()(),t.j41(16,"label",20),t.EFF(17),t.nI1(18,"translate"),t.k0s(),t.j41(19,"div",21)(20,"div",22)(21,"div",23)(22,"select",24),t.mxI("ngModelChange",function(o){t.eBV(e);const i=t.XpG(2);return t.DH7(i.selectedYear,o)||(i.selectedYear=o),t.Njj(o)}),t.bIt("change",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.filterRecords())}),t.DNE(23,xa,2,0),t.k0s()()(),t.DNE(24,Da,3,4,"small",25),t.k0s()}if(2&n){let e,a;const o=t.XpG(2);t.R7$(2),t.SpI(" ",t.bMT(3,13,null!==(e=null==(e=o.config())?null:e.distributionHeadingKey)&&void 0!==e?e:"products.dist-distributions-per-share-and-nav")," "),t.R7$(4),t.vxM((a=t.bMT(7,15,"products.distribution-estimate-content"))?6:-1,a),t.R7$(3),t.Y8G("toggleButtons",o.toggleButtons),t.R7$(),t.Y8G("id",o.downloadId),t.R7$(3),t.Y8G("size",16),t.R7$(),t.SpI(" ",t.bMT(15,17,"products.xls-file-extension")," "),t.R7$(2),t.Y8G("for",o.dropdownId),t.R7$(),t.JRh(t.bMT(18,19,"products.TIME_PERIOD")),t.R7$(5),t.Y8G("name",o.dropdownId)("id",o.dropdownId),t.R50("ngModel",o.selectedYear),t.R7$(),t.vxM(o.yearOptionList?23:-1),t.R7$(),t.vxM(o.asOfDate?24:-1)}}function Ta(n,s){if(1&n&&(t.j41(0,"div",0),t.nrm(1,"frk-distribution-chart",26),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Y8G("distributionRecords",e.distributionRecords)}}function Sa(n,s){if(1&n&&(t.j41(0,"div",27),t.nrm(1,"frk-dynamic-table",28),t.nI1(2,"translate"),t.nI1(3,"translate"),t.k0s()),2&n){let e;const a=t.XpG(3);t.R7$(),t.Y8G("colDefs",a.colDefs)("rowData",a.distributionRecords)("showPagination",!1)("isCardView",null!==(e=null==(e=a.config())?null:e.isCardView)&&void 0!==e&&e)("showMoreTxt",t.bMT(2,6,"products.more-details"))("showLessTxt",t.bMT(3,8,"products.less-detail
1s"))}}function ya(n,s){if(1&n&&t.DNE(0,Sa,4,10,"div",27),2&n){const e=t.XpG(2);t.vxM(e.colDefs.length?0:-1)}}function Ra(n,s){if(1&n&&(t.j41(0,"div",0),t.nrm(1,"frk-proximal",1),t.k0s(),t.j41(2,"div",2),t.DNE(3,pe,18,15,"div",3)(4,va,25,21)(5,Ta,2,1,"div",0)(6,ya,1,1),t.k0s(),t.nrm(7,"frk-proximal",4)),2&n){const e=t.XpG();t.R7$(3),t.vxM(e.isChartEnabled?-1:3),t.R7$(),t.vxM(e.isChartEnabled?4:-1),t.R7$(),t.vxM(e.isChartEnabled&&e.isChartViewActive?5:6)}}const z=(n,s)=>s.label;function ka(n,s){if(1&n&&(t.EFF(0," \xa0"),t.nrm(1,"frk-footnote",17)),2&n){const e=t.XpG(6);t.R7$(),t.Y8G("componentId",e.componentId())}}function Ea(n,s){if(1&n&&(t.j41(0,"div",14)(1,"span",15),t.EFF(2),t.DNE(3,ka,2,1),t.k0s(),t.j41(4,"span",16),t.EFF(5),t.k0s()()),2&n){const e=s.$implicit,a=s.$index,o=t.XpG(3).$index;t.AVh("mb-0",0!==a),t.R7$(2),t.SpI("",e.label," "),t.R7$(),t.vxM(1===o&&0===a?3:-1),t.R7$(2),t.JRh(e.val)}}function Fa(n,s){if(1&n&&(t.j41(0,"div",8)(1,"div",9)(2,"p",10),t.EFF(3),t.nrm(4,"frk-footnote",11),t.k0s(),t.j41(5,"small"),t.EFF(6),t.k0s()(),t.j41(7,"div",12),t.Z7z(8,Ea,6,5,"div",13,z),t.k0s()()),2&n){const e=t.XpG().$implicit,a=t.XpG(3);t.R7$(3),t.SpI(" ",e.label,"\xa0"),t.R7$(),t.Y8G("placement",null==e?null:e.caveatPlacement)("componentId",a.componentId()),t.R7$(2),t.E5c(" ",e.asOfLabel," ",e.asOfDate," ",e.updateFrequency," "),t.R7$(2),t.Dyx(e.values)}}function $a(n,s){if(1&n&&(t.j41(0,"div",18)(1,"p",10),t.EFF(2),t.nrm(3,"frk-footnote",11),t.k0s(),t.j41(4,"small"),t.EFF(5),t.k0s()(),t.j41(6,"div",19)(7,"span",20),t.EFF(8),t.k0s()()),2&n){const e=t.XpG().$implicit,a=t.XpG(3);t.R7$(2),t.SpI(" ",e.label,"\xa0"),t.R7$(),t.Y8G("placement",null==e?null:e.caveatPlacement)("componentId",a.componentId()),t.R7$(2),t.E5c(" ",e.asOfLabel," ",e.asOfDate," ",e.updateFrequency," "),t.R7$(3),t.JRh(e.val)}}function Aa(n,s){if(1&n&&(t.j41(0,"div",7),t.DNE(1,Fa,10,6,"div",8)(2,$a,9,7),t.k0s()),2&n){const e=s.$implicit;t.AVh("flex-col",e.values),t.R7$(),t.vxM(e.values?1:2)}}function Ma(n,s){1&n&&t.Z7z(0,Aa,3,3,"div",6,t.fX1),2&n&&t.Dyx(s.$implicit)}function Pa(n,s){if(1&n&&(t.j41(0,"section",0),t.nrm(1,"frk-proximal",1),t.j41(2,"div")(3,"h3",2),t.EFF(4),t.nI1(5,"translate"),t.nrm(6,"frk-footnote",3),t.j41(7,"small",4),t.EFF(8),t.nI1(9,"translate"),t.k0s()(),t.Z7z(10,Ma,2,0,null,null,t.fX1),t.k0s(),t.nrm(12,"frk-proximal",5),t.k0s()),2&n){const e=t.XpG();t.R7$(4),t.SpI(" ",t.bMT(5,3,"products.distribution-rates-and-yields-title"),"\xa0"),t.R7$(2),t.Y8G("componentId",e.componentId()),t.R7$(2),t.JRh(t.bMT(9,5,"products.distribution-rates-and-yields-desc")),t.R7$(2),t.Dyx(e.rateAndYieldBreakpoints)}}function Ia(n,s){1&n&&(t.j41(0,"frk-tooltip",10),t.nI1(1,"translate"),t.nrm(2,"p",14),t.k0s()),2&n&&(t.Y8G("ariaLabel",t.bMT(1,2,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",s,t.npT))}function wa(n,s){if(1&n&&(t.j41(0,"div")(1,"dt",8),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"frk-footnote",15),t.k0s(),t.j41(5,"dd")(6,"span",11),t.EFF(7),t.k0s()()()),2&n){let e;const a=t.XpG(4);t.R7$(2),t.SpI(" ",t.bMT(3,3,"pds.CAPITAL_GAIN_DISTRIBUTIONS")," "),t.R7$(2),t.Y8G("componentId",a.config().componentId),t.R7$(3),t.JRh(null==(e=a.distribution())?null:e.capgainFrequency)}}function Na(n,s){if(1&n&&(t.j41(0,"section",4),t.nrm(1,"frk-proximal",6),t.j41(2,"dl",7)(3,"div")(4,"dt",8),t.EFF(5),t.nI1(6,"translate"),t.nrm(7,"frk-footnote",9),t.DNE(8,Ia,3,4,"frk-tooltip",10),t.nI1(9,"tooltip"),t.k0s(),t.j41(10,"dd")(11,"span",11),t.EFF(12),t.k0s(),t.j41(13,"small",12),t.EFF(14),t.nI1(15,"translate"),t.nI1(16,"translate"),t.k0s()()(),t.DNE(17,wa,8,5,"div"),t.k0s(),t.nrm(18,"frk-proximal",13),t.k0s()),2&n){let e,a,o,i;const r=t.XpG(3);t.R7$(5),t.SpI(" ",t.bMT(6,6,"pds.DIVIDEND_FREQUENCY")," "),t.R7$(2),t.Y8G("componentId",r.config().componentId),t.R7$(),t.vxM((e=t.bMT(9,8,"products.distribution-schedules-exdiv-content"))?8:-1,e),t.R7$(4),t.JRh(null==(a=r.distribution())?null:a.dividendFrequency),t.R7$(2),t.JRh("acc"===(null==(o=r.distribution())?null:o.distributionIndicator)?t.bMT(15,10,"products.distribution-schedules-explanatory-accrual"):t.bMT(16,12,"products.distribution-schedules-explanatory-ex-dividend")),t.R7$(3),t.vxM(null!=(i=r.distribution())&&i.capgainFrequency?17:-1)}}function Ga(n,s){if(1&n&&(t.j41(0,"section",5),t.nrm(1,"frk-rates-yields",16),t.k0s()),2&n){let e;const a=t.XpG(3);t.R7$(),t.Y8G("ratesandYields",null==(e=a.distribution())?null:e.ratesandYields)("componentId",a.config().componentId)("productType",a.commonData.productType)("config",a.config())}}function Oa(n,s){if(1&n&&(t.j41(0,"div",2),t.DNE(1,Na,19,14,"section",4)(2,Ga,2,4,"section",5),t.k0s()),2&n){let e;const a=t.XpG(2);t.R7$(),t.vxM(null!=(e=a.config())&&e.hideDistributionFrequency?-1:1),t.R7$(),t.vxM(a.showRatesAndYields()?2:-1)}}function Ya(n,s){if(1&n&&t.nrm(0,"frk-distribution-table",3),2&n){let e;const a=t.XpG(2);t.Y8G("colIds",a.colIds())("distributionHistoryRecords",null==(e=a.distribution())?null:e.distributionHistoryRecords)("commonData",a.commonData)("config",a.config())("suppressionCEF",a.suppressionCEF)}}function ja(n,s){if(1&n&&(t.j41(0,"div",1),t.DNE(1,Oa,3,2,"div",2)(2,Ya,1,5,"frk-distribution-table",3),t.k0s()),2&n){let e,a;const o=t.XpG();t.R7$(),t.vxM(null==(e=o.config())||!e.hideDistributionFrequency||o.showRatesAndYields()?1:-1),t.R7$(),t.vxM(null!=(a=o.distribution())&&null!=a.distributionHistoryRecords&&a.distributionHistoryRecords.data?2:-1)}}function La(n,s){if(1&n&&(t.j41(0,"a",0)(1,"span",2),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"span",3),t.nrm(5,"frk-heroicon",4),t.k0s()()()),2&n){const e=t.XpG();t.Y8G("href",null==e.params||null==e.params.rowData?null:e.params.rowData.pdfLink,t.B4B),t.R7$(2),t.SpI(" ",t.bMT(3,3,"products.press-releases_download-pdf")," "),t.R7$(3),t.Y8G("size",16)}}function Ba(n,s){if(1&n&&(t.j41(0,"a",1),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG();t.Y8G("href",null==e.params||null==e.params.rowData?null:e.params.rowData.pageLink,t.B4B),t.R7$(),t.SpI(" ",t.bMT(2,2,"products.press-releases_view")," ")}}function Va(n,s){if(1&n&&(t.j41(0,"div",3),t.nrm(1,"frk-dynamic-table",5),t.nI1(2,"translate"),t.nI1(3,"translate"),t.k0s()),2&n){let e;t.XpG();const a=t.sdS(5),o=t.XpG();t.R7$(),t.Y8G("isCardView",null!==(e=o.config().isCardView)&&void 0!==e&&e)("colDefs",o.gridColDef())("rowData",o.rowData())("rowTemplate",a)("pageSize",10)("showPagination",o.rowData().length>9)("showMoreTxt",t.bMT(2,8,"products.more-details"))("showLessTxt",t.bMT(3,10,"products.less-detail
1s"))}}function Xa(n,s){if(1&n&&(t.j41(0,"a",8),t.nrm(1,"frk-heroicon",10),t.k0s()),2&n){const e=t.XpG().$implicit;t.Y8G("href",null==e?null:e.pdfLink,t.B4B),t.R7$(),t.Y8G("size",16)}}function Ha(n,s){if(1&n&&(t.j41(0,"a",9),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG().$implicit;t.Y8G("href",null==e?null:e.pageLink,t.B4B),t.R7$(),t.SpI(" ",t.bMT(2,2,"products.press-releases_view")," ")}}function Ua(n,s){if(1&n&&(t.j41(0,"tr")(1,"td")(2,"div",6),t.EFF(3),t.k0s()(),t.j41(4,"td")(5,"div",6),t.EFF(6),t.k0s()(),t.j41(7,"td")(8,"div",6),t.EFF(9),t.k0s()(),t.j41(10,"td",7)(11,"div"),t.DNE(12,Xa,2,2,"a",8)(13,Ha,3,4,"a",9),t.k0s()()()),2&n){const e=s.$implicit;t.R7$(3),t.SpI(" ",null==e?null:e.publicationDate," "),t.R7$(3),t.SpI(" ",null==e?null:e.releaseTitle," "),t.R7$(3),t.SpI(" ",null==e?null:e.releaseType," "),t.R7$(3),t.vxM(null!=e&&e.pdfLink?12:null!=e&&e.pageLink?13:-1)}}function za(n,s){if(1&n&&(t.j41(0,"div"),t.nrm(1,"frk-proximal",2),t.DNE(2,Va,4,12,"div",3),t.nrm(3,"frk-proximal",4),t.k0s(),t.DNE(4,Ua,14,4,"ng-template",null,0,t.C5r)),2&n){const e=t.XpG();t.R7$(2),t.vxM(e.rowData()?2:-1)}}const lt=n=>({tooltipText:n}),Wa=(n,s)=>({"gap-4 lg:grid-cols-2":n,"lg:grid-cols-1":s}),qa=n=>({"lg:w-1/2":n}),Qa=(n,s)=>({"md:columns-2":n,"md:columns-3":s}),me=(n,s)=>s.id;function Za(n,s){1&n&&(t.j41(0,"frk-tooltip",8),t.nI1(1,"translate"),t.nrm(2,"p",18),t.k0s()),2&n&&(t.Y8G("ariaLabel",t.bMT(1,2,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",s,t.npT))}function Ja(n,s){if(1&n&&(t.j41(0,"option",14),t.EFF(1),t.k0s()),2&n){const e=s.$implicit;t.Y8G("value",e.value),t.R7$(),t.JRh(e.value)}}function Ka(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",15)(1,"button",19),t.bIt("click",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.downloadTaxData(o))}),t.j41(2,"span",20)(3,"span",21),t.nrm(4,"frk-heroicon",22),t.k0s(),t.EFF(5),t.nI1(6,"translate"),t.j41(7,"span",23),t.EFF(8),t.nI1(9,"translate"),t.k0s()()()()}if(2&n){const e=t.XpG(2);t.R7$(),t.Y8G("id",e.downloadId),t.R7$(3),t.Y8G("size",16),t.R7$(),t.SpI(" ",t.bMT(6,4,"products.xls-file-extension")," "),t.R7$(3),t.SpI(" ",t.bMT(9,6,"products.xls-file-extension"),"")}}function to(n,s){1&n&&(t.j41(0,"div",16)(1,"div",24),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n&&(t.R7$(2),t.SpI(" ",t.bMT(3,1,"products.notification.no-data")," "))}function eo(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",42),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"td",42),t.EFF(5),t.k0s(),t.j41(6,"td",42),t.EFF(7),t.k0s(),t.j41(8,"td",42),t.EFF(9),t.k0s(),t.j41(10,"td",42),t.EFF(11),t.k0s(),t.j41(12,"td",42),t.EFF(13),t.k0s(),t.j41(14,"td",42),t.EFF(15),t.k0s(),t.j41(16,"td",42),t.EFF(17),t.k0s(),t.j41(18,"td",42),t.EFF(19),t.k0s(),t.j41(20,"td",42),t.EFF(21),t.k0s()()),2&n){const e=s.$implicit;t.R7$(2),t.SpI(" ","Detail"===e.recordType?e.recordDate:t.bMT(3,10,"products.us-tax-total")," "),t.R7$(3),t.SpI(" ",e.ordinaryDividends," "),t.R7$(2),t.SpI(" ",e.qualifiedDividends," "),t.R7$(2),t.SpI(" ",e.capGainDistributions," "),t.R7$(2),t.SpI(" ",e.unrec
1apturedSection1250Gain," "),t.R7$(2),t.SpI(" ",e.nonTaxableReturnOfCapital," "),t.R7$(2),t.SpI(" ",e.section199aDividends," "),t.R7$(2),t.SpI(" ",e.foreignTaxPaid," "),t.R7$(2),t.SpI(" ",e.exemptInterestDividends," "),t.R7$(2),t.SpI(" ",e.interestTaxReclaimRefund," ")}}function no(n,s){if(1&n&&(t.j41(0,"div",25)(1,"table",26)(2,"caption",27),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"thead")(6,"tr")(7,"th",28),t.EFF(8),t.nI1(9,"translate"),t.nrm(10,"frk-footnote",29),t.eu8(11,30),t.nI1(12,"tooltip"),t.k0s(),t.j41(13,"th",31),t.EFF(14),t.nI1(15,"translate"),t.nrm(16,"frk-footnote",32),t.eu8(17,30),t.nI1(18,"tooltip"),t.k0s(),t.j41(19,"th",31),t.EFF(20),t.nI1(21,"translate"),t.nrm(22,"frk-footnote",33),t.eu8(23,30),t.nI1(24,"tooltip"),t.k0s(),t.j41(25,"th",31),t.EFF(26),t.nI1(27,"translate"),t.nrm(28,"frk-footnote",34),t.eu8(29,30),t.nI1(30,"tooltip"),t.k0s(),t.j41(31,"th",31),t.EFF(32),t.nI1(33,"translate"),t.nrm(34,"frk-footnote",35),t.eu8(35,30),t.nI1(36,"tooltip"),t.k0s(),t.j41(37,"th",31),t.EFF(38),t.nI1(39,"translate"),t.nrm(40,"frk-footnote",36),t.eu8(41,30),t.nI1(42,"tooltip"),t.k0s(),t.j41(43,"th",31),t.EFF(44),t.nI1(45,"translate"),t.nrm(46,"frk-footnote",37),t.eu8(47,30),t.nI1(48,"tooltip"),t.k0s(),t.j41(49,"th",31),t.EFF(50),t.nI1(51,"translate"),t.nrm(52,"frk-footnote",38),t.eu8(53,30),t.nI1(54,"tooltip"),t.k0s(),t.j41(55,"th",31),t.EFF(56),t.nI1(57,"translate"),t.nrm(58,"frk-footnote",39),t.eu8(59,30),t.nI1(60,"tooltip"),t.k0s(),t.j41(61,"th",31),t.EFF(62),t.nI1(63,"translate"),t.nrm(64,"frk-footnote",40),t.eu8(65,30),t.nI1(66,"tooltip"),t.k0s()()(),t.j41(67,"tbody"),t.Z7z(68,eo,22,12,"tr",null,me),t.k0s()()(),t.nrm(70,"frk-proximal",41)),2&n){const e=t.XpG(2),a=t.sdS(3);t.R7$(3),t.SpI(" ",t.bMT(4,41,"products.us-tax-information")," "),t.R7$(5),t.SpI(" ",t.bMT(9,43,"products.us-tax-record-date")," "),t.R7$(2),t.Y8G("componentId",e.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.eq3(83,lt,t.bMT(12,45,"products.us-tax-record-date"))),t.R7$(3),t.SpI(" ",t.bMT(15,47,"products.us-tax-ordinary-dividends")," "),t.R7$(2),t.Y8G("componentId",e.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.eq3(85,lt,t.bMT(18,49,"products.us-tax-ordinary-dividends"))),t.R7$(3),t.SpI(" ",t.bMT(21,51,"products.us-tax-qualified-dividends")," "),t.R7$(2),t.Y8G("componentId",e.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.eq3(87,lt,t.bMT(24,53,"products.us-tax-qualified-dividends"))),t.R7$(3),t.SpI(" ",t.bMT(27,55,"products.us-tax-cap-gain-distributions")," "),t.R7$(2),t.Y8G("componentId",e.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.eq3(89,lt,t.bMT(30,57,"products.us-tax-cap-gain-distributions"))),t.R7$(3),t.SpI(" ",t.bMT(33,59,"products.us-tax-unrecaptured-section-1250-gain")," "),t.R7$(2),t.Y8G("componentId",e.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.eq3(91,lt,t.bMT(36,61,"products.us-tax-unrecaptured-section-1250-gain"))),t.R7$(3),t.SpI(" ",t.bMT(39,63,"products.us-tax-nontaxable-return-of-capital")," "),t.R7$(2),t.Y8G("componentId",e.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.eq3(93,lt,t.bMT(42,65,"products.us-tax-nontaxable-return-of-capital"))),t.R7$(3),t.SpI(" ",t.bMT(45,67,"products.us-tax-section-199a-dividends")," "),t.R7$(2),t.Y8G("componentId",e.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.eq3(95,lt,t.bMT(48,69,"products.us-tax-section-199a-dividends"))),t.R7$(3),t.SpI(" ",t.bMT(51,71,"products.us-tax-foreign-tax-paid")," "),t.R7$(2),t.Y8G("componentId",e.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.eq3(97,lt,t.bMT(54,73,"products.us-tax-foreign-tax-paid"))),t.R7$(3),t.SpI(" ",t.bMT(57,75,"products.us-tax-exempt-interest-dividends")," "),t.R7$(2),t.Y8G("componentId",e.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.eq3(99,lt,t.bMT(60,77,"products.us-tax-exempt-interest-dividends"))),t.R7$(3),t.SpI(" ",t.bMT(63,79,"products.interest-on-tax-reclaim-refunds")," "),t.R7$(2),t.Y8G("componentId",e.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.eq3(101,lt,t.bMT(66,81,"products.interest-on-tax-reclaim-refunds"))),t.R7$(3),t.Dyx(e.distributionPerShare())}}function ao(n,s){if(1&n&&(t.j41(0,"dl",46)(1,"div",48)(2,"dt",49)(3,"div",50),t.EFF(4),t.nI1(5,"translate"),t.nrm(6,"frk-footnote",32),t.eu8(7,30),t.nI1(8,"tooltip"),t.k0s()(),t.j41(9,"dd",51)(10,"div",52),t.EFF(11),t.k0s()()(),t.j41(12,"div",48)(13,"dt",49)(14,"div",50),t.EFF(15),t.nI1(16,"translate"),t.nrm(17,"frk-footnote",33),t.eu8(18,30),t.nI1(19,"tooltip"),t.k0s()(),t.j41(20,"dd",51)(21,"div",52),t.EFF(22),t.k0s()()(),t.j41(23,"div",48)(24,"dt",49)(25,"div",50),t.EFF(26),t.nI1(27,"translate"),t.nrm(28,"frk-footnote",34),t.eu8(29,30),t.nI1(30,"tooltip"),t.k0s()(),t.j41(31,"dd",51)(32,"div",52),t.EFF(33),t.k0s()()(),t.j41(34,"div",48)(35,"dt",49)(36,"div",50),t.EFF(37),t.nI1(38,"translate"),t.nrm(39,"frk-footnote",35),t.eu8(40,30),t.nI1(41,"tooltip"),t.k0s()(),t.j41(42,"dd",51)(43,"div",52),t.EFF(44),t.k0s()()(),t.j41(45,"div",48)(46,"dt",49)(47,"div",50),t.EFF(48),t.nI1(49,"translate"),t.nrm(50,"frk-footnote",36),t.eu8(51,30),t.nI1(52,"tooltip"),t.k0s()(),t.j41(53,"dd",51)(54,"div",52),t.EFF(55),t.k0s()()(),t.j41(56,"div",48)(57,"dt",49)(58,"div",50),t.EFF(59),t.nI1(60,"translate"),t.nrm(61,"frk-footnote",37),t.eu8(62,30),t.nI1(63,"tooltip"),t.k0s()(),t.j41(64,"dd",51)(65,"div",52),t.EFF(66),t.k0s()()(),t.j41(67,"div",48)(68,"dt",49)(69,"div",50),t.EFF(70),t.nI1(71,"translate"),t.nrm(72,"frk-footnote",38),t.eu8(73,30),t.nI1(74,"tooltip"),t.k0s()(),t.j41(75,"dd",51)(76,"div",52),t.EFF(77),t.k0s()()(),t.j41(78,"div",48)(79,"dt",49)(80,"div",50),t.EFF(81),t.nI1(82,"translate"),t.nrm(83,"frk-footnote",39),t.eu8(84,30),t.nI1(85,"tooltip"),t.k0s()(),t.j41(86,"dd",51)(87,"div",52),t.EFF(88),t.k0s()()(),t.j41(89,"div",48)(90,"dt",49)(91,"div",50),t.EFF(92),t.nI1(93,"translate"),t.nrm(94,"frk-footnote",40),t.eu8(95,30),t.nI1(96,"tooltip"),t.k0s()(),t.j41(97,"dd",51)(98,"div",52),t.EFF(99),t.k0s()()()()),2&n){const e=t.XpG(),a=e.$implicit,o=e.$index,i=t.XpG(3),r=t.sdS(3);t.BMQ("aria-labelledby","table-card-header"+o),t.R7$(4),t.SpI(" ",t.bMT(5,46,"products.us-tax-ordinary-dividends")," "),t.R7$(2),t.Y8G("componentId",i.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",r)("ngTemplateOutletContext",t.eq3(82,lt,t.bMT(8,48,"products.us-tax-ordinary-dividends"))),t.R7$(4),t.SpI(" ",a.ordinaryDividends," "),t.R7$(4),t.SpI(" ",t.bMT(16,50,"products.us-tax-qualified-dividends")," "),t.R7$(2),t.Y8G("componentId",i.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",r)("ngTemplateOutletContext",t.eq3(84,lt,t.bMT(19,52,"products.us-tax-qualified-dividends"))),t.R7$(4),t.SpI(" ",a.qualifiedDividends," "),t.R7$(4),t.SpI(" ",t.bMT(27,54,"products.us-tax-cap-gain-distributions")," "),t.R7$(2),t.Y8G("componentId",i.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",r)("ngTemplateOutletContext",t.eq3(86,lt,t.bMT(30,56,"products.us-tax-cap-gain-distributions"))),t.R7$(4),t.SpI(" ",a.capGainDistributions," "),t.R7$(4),t.SpI(" ",t.bMT(38,58,"products.us-tax-unrecaptured-section-1250-gain")," "),t.R7$(2),t.Y8G("componentId",i.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",r)("ngTemplateOutletContext",t.eq3(88,lt,t.bMT(41,60,"products.us-tax-unrecaptured-section-1250-gain"))),t.R7$(4),t.SpI(" ",a.unrecapturedSection1250Gain," "),t.R7$(4),t.SpI(" ",t.bMT(49,62,"products.us-tax-nontaxable-return-of-capital")," "),t.R7$(2),t.Y8G("componentId",i.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",r)("ngTemplateOutletContext",t.eq3(90,lt,t.bMT(52,64,"products.us-tax-nontaxable-return-of-capital"))),t.R7$(4),t.SpI(" ",a.nonTaxableReturnOfCapital," "),t.R7$(4),t.SpI(" ",t.bMT(60,66,"products.us-tax-section-199a-dividends")," "),t.R7$(2),t.Y8G("componentId",i.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",r)("ngTemplateOutletContext",t.eq3(92,lt,t.bMT(63,68,"products.us-tax-section-199a-dividends"))),t.R7$(4),t.SpI(" ",a.section199aDividends," "),t.R7$(4),t.SpI(" ",t.bMT(71,70,"products.us-tax-foreign-tax-paid")," "),t.R7$(2),t.Y8G("componentId",i.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",r)("ngTemplateOutletContext",t.eq3(94,lt,t.bMT(74,72,"products.us-tax-foreign-tax-paid"))),t.R7$(4),t.SpI(" ",a.foreignTaxPaid," "),t.R7$(4),t.SpI(" ",t.bMT(82,74,"products.us-tax-exempt-interest-dividends")," "),t.R7$(2),t.Y8G("componentId",i.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",r)("ngTemplateOutletContext",t.eq3(96,lt,t.bMT(85,76,"products.us-tax-exempt-interest-dividends"))),t.R7$(4),t.SpI(" ",a.exemptInterestDividends," "),t.R7$(4),t.SpI(" ",t.bMT(93,78,"products.interest-on-tax-reclaim-refunds")," "),t.R7$(2),t.Y8G("componentId",i.config().componentId),t.R7$(),t.Y8G("ngTemplateOutlet",r)("ngTemplateOutletContext",t.eq3(98,lt,t.bMT(96,80,"products.interest-on-tax-reclaim-refunds"))),t.R7$(4),t.SpI(" ",a.interestTaxReclaimRefund," ")}}function oo(n,s){1&n&&(t.j41(0,"div",53),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",54),t.j41(4,"span",23),t.EFF(5),t.nI1(6,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,3,"products.less-detail
1s")," "),t.R7$(2),t.Y8G("size",16),t.R7$(2),t.JRh(t.bMT(6,5,"products.less-details")))}function io(n,s){1&n&&(t.j41(0,"div",53),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",55),t.j41(4,"span",23),t.EFF(5),t.nI1(6,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,3,"products.more-details")," "),t.R7$(2),t.Y8G("size",16),t.R7$(2),t.JRh(t.bMT(6,5,"products.more-details")))}function so(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",43)(1,"header",44)(2,"div",45),t.EFF(3),t.nI1(4,"titlecase"),t.nI1(5,"translate"),t.k0s()(),t.DNE(6,ao,100,100,"dl",46),t.j41(7,"button",47),t.bIt("click",function(){const o=t.eBV(e).$implicit,i=t.XpG(3);return t.Njj(i.toggleCard(o))}),t.DNE(8,oo,7,7)(9,io,7,7),t.k0s()()}if(2&n){const e=s.$implicit,a=s.$index;t.R7$(),t.AVh("bg-nc1-100",e.isClosed)("text-nc1-950",e.isClosed)("bg-pc1-800",!e.isClosed)("text-nc1-0",!e.isClosed),t.Y8G("id","table-card-header"+a),t.R7$(2),t.SpI(" ","Detail"===e.recordType?t.bMT(4,18,e.recordDate):t.bMT(5,20,"products.us-tax-total")," "),t.R7$(3),t.vxM(e.isClosed?-1:6),t.R7$(),t.AVh("bg-pc1-500",e.isClosed)("bg-pc1-800",!e.isClosed),t.BMQ("aria-controls","table-card-header"+a),t.R7$(),t.vxM(e.isClosed?-1:8),t.R7$(),t.vxM(e.isClosed?9:-1)}}function ro(n,s){if(1&n&&(t.j41(0,"div",17),t.Z7z(1,so,10,22,"article",43,me),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Dyx(e.distributionPerShare())}}function lo(n,s){if(1&n&&(t.j41(0,"div",57)(1,"header")(2,"h3",60),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"dl",61)(6,"div",62)(7,"dt")(8,"span",63),t.EFF(9),t.nI1(10,"translate"),t.eu8(11,30),t.nI1(12,"tooltip"),t.k0s()(),t.j41(13,"dd",64),t.EFF(14),t.k0s()(),t.j41(15,"div",65)(16,"dt")(17,"span",63),t.EFF(18),t.nI1(19,"translate"),t.eu8(20,30),t.nI1(21,"tooltip"),t.k0s()(),t.j41(22,"dd",64),t.EFF(23),t.k0s()(),t.j41(24,"div",65)(25,"dt")(26,"span",63),t.EFF(27),t.nI1(28,"translate"),t.eu8(29,30),t.nI1(30,"tooltip"),t.k0s()(),t.j41(31,"dd",64),t.EFF(32),t.k0s()(),t.j41(33,"div",65)(34,"dt")(35,"span",63),t.EFF(36),t.nI1(37,"translate"),t.eu8(38,30),t.nI1(39,"tooltip"),t.k0s()(),t.j41(40,"dd",64),t.EFF(41),t.k0s()(),t.j41(42,"div",65)(43,"dt")(44,"span",63),t.EFF(45),t.nI1(46,"translate"),t.eu8(47,30),t.nI1(48,"tooltip"),t.k0s()(),t.j41(49,"dd",64),t.EFF(50),t.k0s()(),t.j41(51,"div",65)(52,"dt")(53,"span",63),t.EFF(54),t.nI1(55,"translate"),t.eu8(56,30),t.nI1(57,"tooltip"),t.k0s()(),t.j41(58,"dd",64),t.EFF(59),t.k0s()(),t.j41(60,"div",65)(61,"dt")(62,"span",63),t.EFF(63),t.nI1(64,"translate"),t.eu8(65,30),t.nI1(66,"tooltip"),t.k0s()(),t.j41(67,"dd",64),t.EFF(68),t.k0s()(),t.j41(69,"div",66)(70,"dt")(71,"span",63),t.EFF(72),t.nI1(73,"translate"),t.eu8(74,30),t.nI1(75,"tooltip"),t.k0s()(),t.j41(76,"dd",64),t.EFF(77),t.k0s()()()()),2&n){let e,a,o,i,r,l,c,p;const _=t.XpG(3),E=t.sdS(3);t.Y8G("ngClass",t.eq3(68,qa,_.stateTaxInfo().length>12)),t.R7$(3),t.SpI(" ",t.bMT(4,34,"products.us-tax-additional-section-title")," "),t.R7$(6),t.SpI("",t.bMT(10,36,"products.us-tax-foreign-source-income")," "),t.R7$(2),t.Y8G("ngTemplateOutlet",E)("ngTemplateOutletContext",t.eq3(70,lt,t.bMT(12,38,"products.us-tax-foreign-source-income"))),t.R7$(3),t.SpI(" ",null==(e=_.supplementalTaxInfo())?null:e.foreignSourceIncome," "),t.R7$(4),t.SpI("",t.bMT(19,40,"products.us-tax-foreign-source-qualified-dividends")," "),t.R7$(2),t.Y8G("ngTemplateOutlet",E)("ngTemplateOutletContext",t.eq3(72,lt,t.bMT(21,42,"products.us-tax-foreign-source-qualified-dividends"))),t.R7$(3),t.SpI(" ",null==(a=_.supplementalTaxInfo())?null:a.foreignSourceQualifiedDividends," "),t.R7$(4),t.SpI("",t.bMT(28,44,"products.us-tax-direct-us-govt-obligations")," "),t.R7$(2),t.Y8G("ngTemplateOutlet",E)("ngTemplateOutletContext",t.eq3(74,lt,t.bMT(30,46,"products.us-tax-direct-us-govt-obligations"))),t.R7$(3),t.SpI(" ",null==(o=_.supplementalTaxInfo())?null:o.directUSGovernmentObligations," "),t.R7$(4),t.SpI("",t.bMT(37,48,"products.us-tax-specified-private-activity-bond-interest")," "),t.R7$(2),t.Y8G("ngTemplateOutlet",E)("ngTemplateOutletContext",t.eq3(76,lt,t.bMT(39,50,"products.us-tax-specified-private-activity-bond-interest"))),t.R7$(3),t.SpI(" ",null==(i=_.supplementalTaxInfo())?null:i.specifiedPvtActivityBondInterest," "),t.R7$(4),t.SpI("",t.bMT(46,52,"products.us-tax-dividends-received-reduction")," "),t.R7$(2),t.Y8G("ngTemplateOutlet",E)("ngTemplateOutletContext",t.eq3(78,lt,t.bMT(48,54,"products.us-tax-dividends-received-reduction"))),t.R7$(3),t.SpI(" ",null==(r=_.supplementalTaxInfo())?null:r.dividendsReceivedDeduction," "),t.R7$(4),t.SpI("",t.bMT(55,56,"products.us-tax-section-163")," "),t.R7$(2),t.Y8G("ngTemplateOutlet",E)("ngTemplateOutletContext",t.eq3(80,lt,t.bMT(57,58,"products.us-tax-section-163"))),t.R7$(3),t.SpI(" ",null==(l=_.supplementalTaxInfo())?null:l.section163," "),t.R7$(4),t.SpI("",t.bMT(64,60,"products.us-tax-indiana-resident-taxable-income")," "),t.R7$(2),t.Y8G("ngTemplateOutlet",E)("ngTemplateOutletContext",t.eq3(82,lt,t.bMT(66,62,"products.us-tax-indiana-resident-taxable-income"))),t.R7$(3),t.SpI(" ",null==(c=_.supplementalTaxInfo())?null:c.indianaResidentTaxableIncome," "),t.R7$(4),t.SpI("",t.bMT(73,64,"products.us-tax-utah-resident-taxable-income")," "),t.R7$(2),t.Y8G("ngTemplateOutlet",E)("ngTemplateOutletContext",t.eq3(84,lt,t.bMT(75,66,"products.us-tax-utah-resident-taxable-income"))),t.R7$(3),t.SpI(" ",null==(p=_.supplementalTaxInfo())?null:p.utahResidentTaxableIncome," ")}}function co(n,s){1&n&&(t.j41(0,"frk-tooltip",8),t.nI1(1,"translate"),t.nrm(2,"p",18),t.k0s()),2&n&&(t.Y8G("ariaLabel",t.bMT(1,2,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",s,t.npT))}function uo(n,s){if(1&n&&(t.j41(0,"dl",69)(1,"div",70)(2,"dt",71)(3,"span"),t.EFF(4),t.k0s()(),t.j41(5,"dd",72),t.EFF(6),t.k0s()()()),2&n){const e=s.$implicit;t.R7$(4),t.JRh(e.statename),t.R7$(2),t.SpI(" ",e.statevalue," ")}}function po(n,s){if(1&n&&(t.j41(0,"div",58)(1,"header")(2,"h3",67),t.EFF(3),t.nI1(4,"translate"),t.DNE(5,co,3,4,"frk-tooltip",8),t.nI1(6,"tooltip"),t.k0s()(),t.j41(7,"div",68),t.Z7z(8,uo,7,2,"dl",69,t.fX1),t.k0s()()),2&n){let e;const a=t.XpG(3);t.R7$(3),t.SpI(" ",t.bMT(4,3,"products.us-tax-states-section-title")," "),t.R7$(2),t.vxM((e=t.bMT(6,5,"products.us-tax-states-section-title"))?5:-1,e),t.R7$(2),t.Y8G("ngClass",t.l_i(7,Qa,a.stateTaxInfo().length>12&&a.stateTaxInfo().length<20,a.stateTaxInfo().length>20)),t.R7$(),t.Dyx(a.stateTaxInfo())}}function mo(n,s){1&n&&t.nrm(0,"frk-proximal",59)}function ho(n,s){if(1&n&&(t.j41(0,"div",56),t.DNE(1,lo,78,86,"div",57)(2,po,10,10,"div",58),t.k0s(),t.DNE(3,mo,1,0,"frk-proximal",59)),2&n){let e;const a=t.XpG(2);t.Y8G("ngClass",t.l_i(4,Wa,a.stateTaxInfo().length<12,a.stateTaxInfo().length>12)),t.R7$(),t.vxM(a.supplementalTaxInfo()?1:-1),t.R7$(),t.vxM(a.stateTaxInfo().length?2:-1),t.R7$(),t.vxM(a.supplementalTaxInfo()||null!=(e=a.stateTaxInfo())&&e.length?3:-1)}}function fo(n,s){if(1&n){const e=t.RV6();t.j41(0,"h4",2),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.j41(3,"small",3),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.nrm(6,"frk-proximal",4),t.j41(7,"p",5),t.EFF(8),t.nI1(9,"translate"),t.k0s(),t.j41(10,"div",6)(11,"h3",7),t.EFF(12),t.nI1(13,"translate"),t.DNE(14,Za,3,4,"frk-tooltip",8),t.nI1(15,"tooltip"),t.k0s(),t.j41(16,"div",9)(17,"div",10)(18,"label",11),t.EFF(19),t.nI1(20,"translate"),t.k0s(),t.j41(21,"div",12)(22,"select",13),t.mxI("ngModelChange",function(o){t.eBV(e);const i=t.XpG();return t.DH7(i.currentYearSignal,o)||(i.currentYearSignal=o),t.Njj(o)}),t.bIt("ngModelChange",function(o){t.eBV(e);const i=t.XpG();
1return t.Njj(i.onPeriodDateChange(o))}),t.Z7z(23,Ja,2,2,"option",14,it),t.k0s()()(),t.DNE(25,Ka,10,8,"div",15),t.k0s()(),t.DNE(26,to,4,3,"div",16)(27,no,71,103)(28,ro,3,0,"div",17)(29,ho,4,7)}if(2&n){let e,a,o,i;const r=t.XpG();t.R7$(),t.Lme(" ",t.bMT(2,15,"products.us-tax-federal-id-number")," ",r.federalTaxId()," "),t.R7$(3),t.SpI(" ",t.bMT(5,17,"products.us-tax-year-message")," "),t.R7$(4),t.SpI(" ",t.bMT(9,19,"products.us-tax-distributions-description")," "),t.R7$(4),t.SpI(" ",t.bMT(13,21,"products.us-tax-distributions-per-share")," "),t.R7$(2),t.vxM((e=t.bMT(15,23,"products.distribution-estimate-content"))?14:-1,e),t.R7$(4),t.Y8G("for",r.dateRangeSelectorId),t.R7$(),t.JRh(t.bMT(20,25,"products.year")),t.R7$(3),t.Y8G("id",r.dateRangeSelectorId),t.R50("ngModel",r.currentYearSignal),t.R7$(),t.Dyx(r.yearOptions()),t.R7$(2),t.vxM(null!=(a=r.distributionPerShare())&&a.length?25:-1),t.R7$(),t.vxM(r.hasNoData()?26:-1),t.R7$(),t.vxM(null!=(o=r.distributionPerShare())&&o.length?27:-1),t.R7$(),t.vxM(null!=(i=r.distributionPerShare())&&i.length?28:-1),t.R7$(),t.vxM(r.hasNoData()?-1:29)}}function _o(n,s){if(1&n&&(t.j41(0,"div",73)(1,"frk-tooltip",74),t.nI1(2,"translate"),t.nrm(3,"p",75),t.k0s()()),2&n){const e=t.XpG().tooltipText,a=t.XpG();t.R7$(),t.Y8G("placement",a.taxTooltipPlacement)("ariaLabel",t.bMT(2,3,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",e,t.npT)}}function go(n,s){1&n&&t.DNE(0,_o,4,5,"div",73),2&n&&t.vxM(s.tooltipText?0:-1)}const Mn=(n,s)=>({"text-left text-base font-bold":n,"text-right":s}),Co=(n,s)=>s.sectorName,bo=(n,s)=>s.industryName,xo=(n,s)=>s.regionName,Do=(n,s)=>s.countryName;function vo(n,s){1&n&&(t.j41(0,"th",8),t.EFF(1),t.nI1(2,"translate"),t.j41(3,"p",20),t.EFF(4),t.nI1(5,"translate"),t.k0s()()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.attribution-currency-header-title")," (%) "),t.R7$(3),t.SpI(" ",t.bMT(5,4,"products.attribution-currency-header-sub-title")," "))}function To(n,s){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.k0s(),t.j41(4,"th",17),t.EFF(5),t.nI1(6,"translate"),t.nI1(7,"translate"),t.k0s(),t.j41(8,"th",17),t.EFF(9),t.nI1(10,"translate"),t.nI1(11,"translate"),t.k0s(),t.j41(12,"th",17),t.EFF(13),t.nI1(14,"translate"),t.nI1(15,"translate"),t.k0s(),t.j41(16,"th",17),t.EFF(17),t.nI1(18,"translate"),t.nI1(19,"translate"),t.k0s()),2&n&&(t.R7$(),t.Lme(" ",t.bMT(2,10,"pds.ALLOC_EFFECT")," ",t.bMT(3,12,"products.attribution-currency-local")," "),t.R7$(4),t.Lme(" ",t.bMT(6,14,"pds.SELECT_EFFECT")," ",t.bMT(7,16,"products.attribution-currency-local")," "),t.R7$(4),t.Lme(" ",t.bMT(10,18,"pds.INTERACT_EFFECT")," ",t.bMT(11,20,"products.attribution-currency-local")," "),t.R7$(4),t.Lme(" ",t.bMT(14,22,"pds.TOTAL_EFFECT")," ",t.bMT(15,24,"products.attribution-currency-local")," "),t.R7$(4),t.Lme(" ",t.bMT(18,26,"pds.CURRENCY_EFFECT")," ",t.bMT(19,28,"products.attribution-currency-local")," "))}function So(n,s){if(1&n&&(t.j41(0,"td",19),t.EFF(1),t.k0s()),2&n){const e=s.$implicit,a=s.$index;t.Y8G("ngClass",t.l_i(2,Mn,0===a,0!==a)),t.R7$(),t.SpI(" ",e," ")}}function yo(n,s){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.k0s(),t.j41(2,"td",26),t.EFF(3),t.k0s(),t.j41(4,"td",26),t.EFF(5),t.k0s(),t.j41(6,"td",26),t.EFF(7),t.k0s(),t.j41(8,"td",26),t.EFF(9),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.sectorData.currency.allocationEffect," "),t.R7$(2),t.SpI(" ",e.sectorData.currency.selectionEffect," "),t.R7$(2),t.SpI(" ",e.sectorData.currency.interactionEffect," "),t.R7$(2),t.SpI(" ",e.sectorData.currency.totalEffect," "),t.R7$(2),t.SpI(" ",e.sectorData.currency.totalCurrencyEffect," ")}}function Ro(n,s){if(1&n&&(t.j41(0,"td",29),t.EFF(1),t.k0s(),t.j41(2,"td",29),t.EFF(3),t.k0s(),t.j41(4,"td",29),t.EFF(5),t.k0s(),t.j41(6,"td",29),t.EFF(7),t.k0s(),t.j41(8,"td",29),t.EFF(9),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.industryData.currency.allocationEffect," "),t.R7$(2),t.SpI(" ",e.industryData.currency.selectionEffect," "),t.R7$(2),t.SpI(" ",e.industryData.currency.interactionEffect," "),t.R7$(2),t.SpI(" ",e.industryData.currency.totalEffect," "),t.R7$(2),t.SpI(" ",e.industryData.currency.totalCurrencyEffect," ")}}function ko(n,s){if(1&n&&(t.j41(0,"tr",27)(1,"td",28),t.EFF(2),t.k0s(),t.j41(3,"td",29),t.EFF(4),t.k0s(),t.j41(5,"td",29),t.EFF(6),t.k0s(),t.j41(7,"td",29),t.EFF(8),t.k0s(),t.j41(9,"td",29),t.EFF(10),t.k0s(),t.j41(11,"td",29),t.EFF(12),t.k0s(),t.j41(13,"td",29),t.EFF(14),t.k0s(),t.j41(15,"td",29),t.EFF(16),t.k0s(),t.j41(17,"td",29),t.EFF(18),t.k0s(),t.j41(19,"td",29),t.EFF(20),t.k0s(),t.DNE(21,Ro,10,5),t.j41(22,"td",29),t.EFF(23),t.k0s(),t.j41(24,"td",29),t.EFF(25),t.k0s(),t.j41(26,"td",29),t.EFF(27),t.k0s(),t.j41(28,"td",29),t.EFF(29),t.k0s()()),2&n){const e=s.$implicit,a=t.XpG(4);t.Y8G("id",e.id),t.R7$(2),t.SpI(" ",e.industryName," "),t.R7$(2),t.SpI(" ",e.industryData.portfolio.averageWeight," "),t.R7$(2),t.SpI(" ",e.industryData.portfolio.totalReturn," "),t.R7$(2),t.SpI(" ",e.industryData.portfolio.contributionToReturn," "),t.R7$(2),t.SpI(" ",e.industryData.benchmark.averageWeight," "),t.R7$(2),t.SpI(" ",e.industryData.benchmark.totalReturn," "),t.R7$(2),t.SpI(" ",e.industryData.benchmark.contributionToReturn," "),t.R7$(2),t.SpI(" ",e.industryData.variation.averageWeight," "),t.R7$(2),t.SpI(" ",e.industryData.variation.totalReturn," "),t.R7$(2),t.SpI(" ",e.industryData.variation.contributionToReturn," "),t.R7$(),t.vxM(a.showCurrencyAttribution()?21:-1),t.R7$(2),t.SpI(" ",e.industryData.attribution.allocationEffect," "),t.R7$(2),t.SpI(" ",e.industryData.attribution.selectionEffect," "),t.R7$(2),t.SpI(" ",e.industryData.attribution.interactionEffect," "),t.R7$(2),t.SpI(" ",e.industryData.attribution.totalEffect," ")}}function Eo(n,s){if(1&n){const e=t.RV6();t.j41(0,"tr",21)(1,"th",22)(2,"div",23)(3,"button",24),t.bIt("click",function(o){t.eBV(e);const i=t.XpG(3);return t.Njj(i.toggleRow(o))}),t.nrm(4,"frk-heroicon",14),t.j41(5,"span",15),t.EFF(6),t.nI1(7,"translate"),t.nI1(8,"translate"),t.k0s()(),t.j41(9,"p",25),t.EFF(10),t.k0s()()(),t.j41(11,"td",26),t.EFF(12),t.k0s(),t.j41(13,"td",26),t.EFF(14),t.k0s(),t.j41(15,"td",26),t.EFF(16),t.k0s(),t.j41(17,"td",26),t.EFF(18),t.k0s(),t.j41(19,"td",26),t.EFF(20),t.k0s(),t.j41(21,"td",26),t.EFF(22),t.k0s(),t.j41(23,"td",26),t.EFF(24),t.k0s(),t.j41(25,"td",26),t.EFF(26),t.k0s(),t.j41(27,"td",26),t.EFF(28),t.k0s(),t.DNE(29,yo,10,5),t.j41(30,"td",26),t.EFF(31),t.k0s(),t.j41(32,"td",26),t.EFF(33),t.k0s(),t.j41(34,"td",26),t.EFF(35),t.k0s(),t.j41(36,"td",26),t.EFF(37),t.k0s()(),t.Z7z(38,ko,30,16,"tr",27,bo)}if(2&n){const e=s.$implicit,a=t.XpG(3);t.Y8G("id",e.id),t.R7$(3),t.BMQ("aria-controls",null==e.ariaOwns?null:e.ariaOwns.join(" ")),t.R7$(3),t.Lme("",t.bMT(7,19,"products.expand")," ",t.bMT(8,21,e.sectorName),""),t.R7$(4),t.JRh(e.sectorName),t.R7$(2),t.SpI(" ",e.sectorData.portfolio.averageWeight," "),t.R7$(2),t.SpI(" ",e.sectorData.portfolio.totalReturn," "),t.R7$(2),t.SpI(" ",e.sectorData.portfolio.contributionToReturn," "),t.R7$(2),t.SpI(" ",e.sectorData.benchmark.averageWeight," "),t.R7$(2),t.SpI(" ",e.sectorData.benchmark.totalReturn," "),t.R7$(2),t.SpI(" ",e.sectorData.benchmark.contributionToReturn," "),t.R7$(2),t.SpI(" ",e.sectorData.variation.averageWeight," "),t.R7$(2),t.SpI(" ",e.sectorData.variation.totalReturn," "),t.R7$(2),t.SpI(" ",e.sectorData.variation.contributionToReturn," "),t.R7$(),t.vxM(a.showCurrencyAttribution()?29:-1),t.R7$(2),t.SpI(" ",e.sectorData.attribution.allocationEffect," "),t.R7$(2),t.SpI(" ",e.sectorData.attribution.selectionEffect," "),t.R7$(2),t.SpI(" ",e.sectorData.attribution.interactionEffect," "),t.R7$(2),t.SpI(" ",e.sectorData.attribution.totalEffect," "),t.R7$(),t.Dyx(e.industries)}}function Fo(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",0)(1,"table",1)(2,"caption",2),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"colgroup"),t.nrm(6,"col",3)(7,"col"),t.k0s(),t.j41(8,"thead",4)(9,"tr",5)(10,"th",6),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.j41(13,"th",7),t.EFF(14),t.k0s(),t.j41(15,"th",7),t.EFF(16),t.k0s(),t.j41(17,"th",7),t.EFF(18),t.nI1(19,"translate"),t.k0s(),t.DNE(20,vo,6,6,"th",8),t.j41(21,"th",9),t.EFF(22),t.nI1(23,"translate"),t.k0s()(),t.j41(24,"tr")(25,"th",10)(26,"div",11)(27,"button",12),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.toggleAll())}),t.j41(28,"span",13),t.nrm(29,"frk-heroicon",14),t.j41(30,"span",15),t.EFF(31),t.nI1(32,"translate"),t.k0s()(),t.j41(33,"p",16),t.EFF(34),t.nI1(35,"translate"),t.k0s()()()(),t.j41(36,"th",17),t.EFF(37),t.nI1(38,"translate"),t.k0s(),t.j41(39,"th",17),t.EFF(40),t.nI1(41,"translate"),t.k0s(),t.j41(42,"th",17),t.EFF(43),t.nI1(44,"translate"),t.k0s(),t.j41(45,"th",17),t.EFF(46),t.nI1(47,"translate"),t.k0s(),t.j41(48,"th",17),t.EFF(49),t.nI1(50,"translate"),t.k0s(),t.j41(51,"th",17),t.EFF(52),t.nI1(53,"translate"),t.k0s(),t.j41(54,"th",17),t.EFF(55),t.nI1(56,"translate"),t.k0s(),t.j41(57,"th",17),t.EFF(58),t.nI1(59,"translate"),t.k0s(),t.j41(60,"th",17),t.EFF(61),t.nI1(62,"translate"),t.k0s(),t.DNE(63,To,20,30),t.j41(64,"th",17),t.EFF(65),t.nI1(66,"translate"),t.k0s(),t.j41(67,"th",17),t.EFF(68),t.nI1(69,"translate"),t.k0s(),t.j41(70,"th",17),t.EFF(71),t.nI1(72,"translate"),t.k0s(),t.j41(73,"th",17),t.EFF(74),t.nI1(75,"translate"),t.k0s()()(),t.j41(76,"tbody",18)(77,"tr"),t.Z7z(78,So,2,5,"td",19,t.Vm6),t.k0s(),t.Z7z(80,Eo,40,23,null,null,Co),t.k0s()()()}if(2&n){let e,a,o;const i=t.XpG(2);t.R7$(3),t.SpI(" ",t.bMT(4,25,"products.attribution-attribution-header-title")," "),t.R7$(8),t.Lme(" ",t.bMT(12,27,"products.as-of")," ",i.selectedAsOfDate()," "),t.R7$(3),t.SpI(" ",null==(e=i.labels())?null:e.fundName," (%) "),t.R7$(2),t.SpI(" ",null==(a=i.labels())?null:a.benchmarkName," (%) "),t.R7$(2),t.SpI(" ",t.bMT(19,29,"products.attribution-variation-header-title")," (%) "),t.R7$(2),t.vxM(i.showCurrencyAttribution()?20:-1),t.R7$(2),t.SpI(" ",t.bMT(23,31,"products.attribution-attribution-header-title")," (%) "),t.R7$(5),t.BMQ("aria-controls",i.ariaControl
1sList),t.R7$(4),t.SpI(" ",t.bMT(32,33,i.collapseExpandText())," "),t.R7$(3),t.SpI(" ",t.bMT(35,35,i.collapseExpandText())," "),t.R7$(3),t.SpI(" ",t.bMT(38,37,"pds.PORT_AVG_WEIGHT")," "),t.R7$(3),t.SpI(" ",t.bMT(41,39,"pds.PORT_RETURN")," "),t.R7$(3),t.SpI(" ",t.bMT(44,41,"pds.PORT_CONTRIBUTION")," "),t.R7$(3),t.SpI(" ",t.bMT(47,43,"pds.PORT_AVG_WEIGHT")," "),t.R7$(3),t.SpI(" ",t.bMT(50,45,"pds.PORT_RETURN")," "),t.R7$(3),t.SpI(" ",t.bMT(53,47,"pds.PORT_CONTRIBUTION")," "),t.R7$(3),t.SpI(" ",t.bMT(56,49,"pds.PORT_AVG_WEIGHT")," "),t.R7$(3),t.SpI(" ",t.bMT(59,51,"pds.PORT_RETURN")," "),t.R7$(3),t.SpI(" ",t.bMT(62,53,"pds.PORT_CONTRIBUTION")," "),t.R7$(2),t.vxM(i.showCurrencyAttribution()?63:-1),t.R7$(2),t.SpI(" ",t.bMT(66,55,"pds.ALLOC_EFFECT")," "),t.R7$(3),t.SpI(" ",t.bMT(69,57,"pds.SELECT_EFFECT")," "),t.R7$(3),t.SpI(" ",t.bMT(72,59,"pds.INTERACT_EFFECT")," "),t.R7$(3),t.SpI(" ",t.bMT(75,61,"pds.TOTAL_EFFECT")," "),t.R7$(4),t.Dyx(i.firstLevelSectorData()),t.R7$(2),t.Dyx(null==(o=i.tableData())||null==o.sector?null:o.sector.sectors)}}function $o(n,s){if(1&n&&t.DNE(0,Fo,82,63,"div",0),2&n){const e=t.XpG();t.vxM(e.showAttributionSector()?0:-1)}}function Ao(n,s){1&n&&(t.j41(0,"p"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.k0s()),2&n&&(t.R7$(),t.Lme(" ",t.bMT(2,2,"products.attribution-sector-industry"),", ",t.bMT(3,4,"products.attribution-no-data-for-selected-date")," "))}function Mo(n,s){if(1&n&&t.DNE(0,Ao,4,6,"p"),2&n){const e=t.XpG();t.vxM(e.showAttributionSector()?0:-1)}}function Po(n,s){1&n&&(t.j41(0,"th",8),t.EFF(1),t.nI1(2,"translate"),t.j41(3,"p",32),t.EFF(4),t.nI1(5,"translate"),t.k0s()()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.attribution-currency-header-title")," (%) "),t.R7$(3),t.SpI(" ",t.bMT(5,4,"products.attribution-currency-header-sub-title")," "))}function Io(n,s){1&n&&(t.j41(0,"th",17),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.k0s(),t.j41(4,"th",17),t.EFF(5),t.nI1(6,"translate"),t.nI1(7,"translate"),t.k0s(),t.j41(8,"th",17),t.EFF(9),t.nI1(10,"translate"),t.nI1(11,"translate"),t.k0s(),t.j41(12,"th",17),t.EFF(13),t.nI1(14,"translate"),t.nI1(15,"translate"),t.k0s(),t.j41(16,"th",17),t.EFF(17),t.nI1(18,"translate"),t.nI1(19,"translate"),t.k0s()),2&n&&(t.R7$(),t.Lme(" ",t.bMT(2,10,"pds.ALLOC_EFFECT")," ",t.bMT(3,12,"products.attribution-currency-local")," "),t.R7$(4),t.Lme(" ",t.bMT(6,14,"pds.SELECT_EFFECT")," ",t.bMT(7,16,"products.attribution-currency-local")," "),t.R7$(4),t.Lme(" ",t.bMT(10,18,"pds.INTERACT_EFFECT")," ",t.bMT(11,20,"products.attribution-currency-local")," "),t.R7$(4),t.Lme(" ",t.bMT(14,22,"pds.TOTAL_EFFECT")," ",t.bMT(15,24,"products.attribution-currency-local")," "),t.R7$(4),t.Lme(" ",t.bMT(18,26,"pds.CURRENCY_EFFECT")," ",t.bMT(19,28,"products.attribution-currency-local")," "))}function wo(n,s){if(1&n&&(t.j41(0,"td",19),t.EFF(1),t.k0s()),2&n){const e=s.$implicit,a=s.$index;t.Y8G("ngClass",t.l_i(2,Mn,0===a,0!==a)),t.R7$(),t.SpI(" ",e," ")}}function No(n,s){if(1&n&&(t.j41(0,"td",26),t.EFF(1),t.k0s(),t.j41(2,"td",26),t.EFF(3),t.k0s(),t.j41(4,"td",26),t.EFF(5),t.k0s(),t.j41(6,"td",26),t.EFF(7),t.k0s(),t.j41(8,"td",26),t.EFF(9),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.regionData.currency.allocationEffect," "),t.R7$(2),t.SpI(" ",e.regionData.currency.selectionEffect," "),t.R7$(2),t.SpI(" ",e.regionData.currency.interactionEffect," "),t.R7$(2),t.SpI(" ",e.regionData.currency.totalEffect," "),t.R7$(2),t.SpI(" ",e.regionData.currency.totalCurrencyEffect," ")}}function Go(n,s){if(1&n&&(t.j41(0,"td",29),t.EFF(1),t.k0s(),t.j41(2,"td",29),t.EFF(3),t.k0s(),t.j41(4,"td",29),t.EFF(5),t.k0s(),t.j41(6,"td",29),t.EFF(7),t.k0s(),t.j41(8,"td",29),t.EFF(9),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.countryData.currency.allocationEffect," "),t.R7$(2),t.SpI(" ",e.countryData.currency.selectionEffect," "),t.R7$(2),t.SpI(" ",e.countryData.currency.interactionEffect," "),t.R7$(2),t.SpI(" ",e.countryData.currency.totalEffect," "),t.R7$(2),t.SpI(" ",e.countryData.currency.totalCurrencyEffect," ")}}function Oo(n,s){if(1&n&&(t.j41(0,"tr",34)(1,"td",28),t.EFF(2),t.k0s(),t.j41(3,"td",29),t.EFF(4),t.k0s(),t.j41(5,"td",29),t.EFF(6),t.k0s(),t.j41(7,"td",29),t.EFF(8),t.k0s(),t.j41(9,"td",29),t.EFF(10),t.k0s(),t.j41(11,"td",29),t.EFF(12),t.k0s(),t.j41(13,"td",29),t.EFF(14),t.k0s(),t.j41(15,"td",29),t.EFF(16),t.k0s(),t.j41(17,"td",29),t.EFF(18),t.k0s(),t.j41(19,"td",29),t.EFF(20),t.k0s(),t.DNE(21,Go,10,5),t.j41(22,"td",29),t.EFF(23),t.k0s(),t.j41(24,"td",29),t.EFF(25),t.k0s(),t.j41(26,"td",29),t.EFF(27),t.k0s(),t.j41(28,"td",29),t.EFF(29),t.k0s()()),2&n){const e=s.$implicit,a=t.XpG(4);t.Y8G("id",e.id),t.R7$(2),t.SpI(" ",e.countryName," "),t.R7$(2),t.SpI(" ",e.countryData.portfolio.averageWeight," "),t.R7$(2),t.SpI(" ",e.countryData.portfolio.totalReturn," "),t.R7$(2),t.SpI(" ",e.countryData.portfolio.contributionToReturn," "),t.R7$(2),t.SpI(" ",e.countryData.benchmark.averageWeight," "),t.R7$(2),t.SpI(" ",e.countryData.benchmark.totalReturn," "),t.R7$(2),t.SpI(" ",e.countryData.benchmark.contributionToReturn," "),t.R7$(2),t.SpI(" ",e.countryData.variation.averageWeight," "),t.R7$(2),t.SpI(" ",e.countryData.variation.totalReturn," "),t.R7$(2),t.SpI(" ",e.countryData.variation.contributionToReturn," "),t.R7$(),t.vxM(a.showCurrencyAttribution()?21:-1),t.R7$(2),t.SpI(" ",e.countryData.attribution.allocationEffect," "),t.R7$(2),t.SpI(" ",e.countryData.attribution.selectionEffect," "),t.R7$(2),t.SpI(" ",e.countryData.attribution.interactionEffect," "),t.R7$(2),t.SpI(" ",e.countryData.attribution.totalEffect," ")}}function Yo(n,s){if(1&n){const e=t.RV6();t.j41(0,"tr",21)(1,"th",33)(2,"div",23)(3,"button",24),t.bIt("click",function(o){t.eBV(e);const i=t.XpG(3);return t.Njj(i.toggleRow(o))}),t.nrm(4,"frk-heroicon",14),t.j41(5,"span",15),t.EFF(6),t.nI1(7,"translate"),t.nI1(8,"translate"),t.k0s()(),t.j41(9,"p",25),t.EFF(10),t.k0s()()(),t.j41(11,"td",26),t.EFF(12),t.k0s(),t.j41(13,"td",26),t.EFF(14),t.k0s(),t.j41(15,"td",26),t.EFF(16),t.k0s(),t.j41(17,"td",26),t.EFF(18),t.k0s(),t.j41(19,"td",26),t.EFF(20),t.k0s(),t.j41(21,"td",26),t.EFF(22),t.k0s(),t.j41(23,"td",26),t.EFF(24),t.k0s(),t.j41(25,"td",26),t.EFF(26),t.k0s(),t.j41(27,"td",26),t.EFF(28),t.k0s(),t.DNE(29,No,10,5),t.j41(30,"td",26),t.EFF(31),t.k0s(),t.j41(32,"td",26),t.EFF(33),t.k0s(),t.j41(34,"td",26),t.EFF(35),t.k0s(),t.j41(36,"td",26),t.EFF(37),t.k0s()(),t.Z7z(38,Oo,30,16,"tr",34,Do)}if(2&n){const e=s.$implicit,a=t.XpG(3);t.Y8G("id",e.id),t.R7$(3),t.BMQ("aria-controls",null==e.ariaOwns?null:e.ariaOwns.join(" ")),t.R7$(3),t.Lme("",t.bMT(7,19,"products.expand")," ",t.bMT(8,21,e.regi
1onName),""),t.R7$(4),t.JRh(e.regionName),t.R7$(2),t.SpI(" ",e.regionData.portfolio.averageWeight," "),t.R7$(2),t.SpI(" ",e.regionData.portfolio.totalReturn," "),t.R7$(2),t.SpI(" ",e.regionData.portfolio.contributionToReturn," "),t.R7$(2),t.SpI(" ",e.regionData.benchmark.averageWeight," "),t.R7$(2),t.SpI(" ",e.regionData.benchmark.totalReturn," "),t.R7$(2),t.SpI(" ",e.regionData.benchmark.contributionToReturn," "),t.R7$(2),t.SpI(" ",e.regionData.variation.averageWeight," "),t.R7$(2),t.SpI(" ",e.regionData.variation.totalReturn," "),t.R7$(2),t.SpI(" ",e.regionData.variation.contributionToReturn," "),t.R7$(),t.vxM(a.showCurrencyAttribution()?29:-1),t.R7$(2),t.SpI(" ",e.regionData.attribution.allocationEffect," "),t.R7$(2),t.SpI(" ",e.regionData.attribution.selectionEffect," "),t.R7$(2),t.SpI(" ",e.regionData.attribution.interactionEffect," "),t.R7$(2),t.SpI(" ",e.regionData.attribution.totalEffect," "),t.R7$(),t.Dyx(e.countries)}}function jo(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",0)(1,"table",1)(2,"caption",2),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"colgroup"),t.nrm(6,"col",3)(7,"col"),t.k0s(),t.j41(8,"thead",4)(9,"tr",5)(10,"th",30),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.j41(13,"th",7),t.EFF(14),t.k0s(),t.j41(15,"th",7),t.EFF(16),t.k0s(),t.j41(17,"th",7),t.EFF(18),t.nI1(19,"translate"),t.k0s(),t.DNE(20,Po,6,6,"th",8),t.j41(21,"th",9),t.EFF(22),t.nI1(23,"translate"),t.k0s()(),t.j41(24,"tr")(25,"th",31)(26,"div",11)(27,"button",12),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.toggleAll())}),t.j41(28,"span",13),t.nrm(29,"frk-heroicon",14),t.j41(30,"span",15),t.EFF(31),t.nI1(32,"translate"),t.k0s()(),t.j41(33,"p",16),t.EFF(34),t.nI1(35,"translate"),t.k0s()()()(),t.j41(36,"th",17),t.EFF(37),t.nI1(38,"translate"),t.k0s(),t.j41(39,"th",17),t.EFF(40),t.nI1(41,"translate"),t.k0s(),t.j41(42,"th",17),t.EFF(43),t.nI1(44,"translate"),t.k0s(),t.j41(45,"th",17),t.EFF(46),t.nI1(47,"translate"),t.k0s(),t.j41(48,"th",17),t.EFF(49),t.nI1(50,"translate"),t.k0s(),t.j41(51,"th",17),t.EFF(52),t.nI1(53,"translate"),t.k0s(),t.j41(54,"th",17),t.EFF(55),t.nI1(56,"translate"),t.k0s(),t.j41(57,"th",17),t.EFF(58),t.nI1(59,"translate"),t.k0s(),t.j41(60,"th",17),t.EFF(61),t.nI1(62,"translate"),t.k0s(),t.DNE(63,Io,20,30),t.j41(64,"th",17),t.EFF(65),t.nI1(66,"translate"),t.k0s(),t.j41(67,"th",17),t.EFF(68),t.nI1(69,"translate"),t.k0s(),t.j41(70,"th",17),t.EFF(71),t.nI1(72,"translate"),t.k0s(),t.j41(73,"th",17),t.EFF(74),t.nI1(75,"translate"),t.k0s()()(),t.j41(76,"tbody",18)(77,"tr"),t.Z7z(78,wo,2,5,"td",19,t.Vm6),t.k0s(),t.Z7z(80,Yo,40,23,null,null,xo),t.k0s()()()}if(2&n){let e,a,o;const i=t.XpG(2);t.R7$(3),t.SpI(" ",t.bMT(4,25,"products.attribution-attribution-header-title")," "),t.R7$(8),t.Lme(" ",t.bMT(12,27,"products.as-of")," ",i.selectedAsOfDate()," "),t.R7$(3),t.SpI(" ",null==(e=i.labels())?null:e.fundName," (%) "),t.R7$(2),t.SpI(" ",null==(a=i.labels())?null:a.benchmarkName," (%) "),t.R7$(2),t.SpI(" ",t.bMT(19,29,"products.attribution-variation-header-title")," (%) "),t.R7$(2),t.vxM(i.showCurrencyAttribution()?20:-1),t.R7$(2),t.SpI(" ",t.bMT(23,31,"products.attribution-attribution-header-title")," (%) "),t.R7$(5),t.BMQ("aria-controls",i.ariaControlsList),t.R7$(4),t.JRh(t.bMT(32,33,"products.expand-all")),t.R7$(3),t.SpI(" ",t.bMT(35,35,"products.expand-all")," "),t.R7$(3),t.SpI(" ",t.bMT(38,37,"pds.PORT_AVG_WEIGHT")," "),t.R7$(3),t.SpI(" ",t.bMT(41,39,"pds.PORT_RETURN")," "),t.R7$(3),t.SpI(" ",t.bMT(44,41,"pds.PORT_CONTRIBUTION")," "),t.R7$(3),t.SpI(" ",t.bMT(47,43,"pds.PORT_AVG_WEIGHT")," "),t.R7$(3),t.SpI(" ",t.bMT(50,45,"pds.PORT_RETURN")," "),t.R7$(3),t.SpI(" ",t.bMT(53,47,"pds.PORT_CONTRIBUTION")," "),t.R7$(3),t.SpI(" ",t.bMT(56,49,"pds.PORT_AVG_WEIGHT")," "),t.R7$(3),t.SpI(" ",t.bMT(59,51,"pds.PORT_RETURN")," "),t.R7$(3),t.SpI(" ",t.bMT(62,53,"pds.PORT_CONTRIBUTION")," "),t.R7$(2),t.vxM(i.showCurrencyAttribution()?63:-1),t.R7$(2),t.SpI(" ",t.bMT(66,55,"pds.ALLOC_EFFECT")," "),t.R7$(3),t.SpI(" ",t.bMT(69,57,"pds.SELECT_EFFECT")," "),t.R7$(3),t.SpI(" ",t.bMT(72,59,"pds.INTERACT_EFFECT")," "),t.R7$(3),t.SpI(" ",t.bMT(75,61,"pds.TOTAL_EFFECT")," "),t.R7$(4),t.Dyx(i.firstLevelCountryData()),t.R7$(2),t.Dyx(null==(o=i.tableData())||null==o.country?null:o.country.regions)}}function Lo(n,s){if(1&n&&t.DNE(0,jo,82,63,"div",0),2&n){const e=t.XpG();t.vxM(e.showAttributionCountry()?0:-1)}}function Bo(n,s){1&n&&(t.j41(0,"p"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.k0s()),2&n&&(t.R7$(),t.Lme(" ",t.bMT(2,2,"products.attribution-region-country"),", ",t.bMT(3,4,"products.attribution-no-data-for-selected-date")," "))}function Vo(n,s){if(1&n&&t.DNE(0,Bo,4,6,"p"),2&n){const e=t.XpG();t.vxM(e.showAttributionCountry()?0:-1)}}const Xo=(n,s)=>({fundName:n,benchmarkName:s}),Pn=(n,s)=>s.asOfDate;function Ho(n,s){if(1&n&&t.EFF(0),2&n){const e=t.XpG().$implicit;t.SpI(" ",e.year," ")}}function Uo(n,s){if(1&n&&t.EFF(0),2&n){const e=t.XpG().$implicit;t.SpI(" ",e.asOfDate," ")}}function zo(n,s){if(1&n&&(t.j41(0,"option",3),t.DNE(1,Ho,1,1)(2,Uo,1,1),t.k0s()),2&n){const e=s.$implicit,a=t.XpG();t.Y8G("value",e.asOfDateStd),t.R7$(),t.vxM("year"===a.calendarView()?1:2)}}function Wo(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",5)(1,"label",6),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",7)(5,"input",8),t.bIt("change",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.onCurrencyToggleChanged())}),t.k0s(),t.nrm(6,"div",9)(7,"div",10),t.k0s()()(),t.j41(8,"div",11)(9,"div",12)(10,"frk-toggle",13),t.bIt("toggleActive",function(o){t.eBV(e);const i=t.XpG();return t.Njj(i.onFilterToggle(o))}),t.k0s()(),t.j41(11,"div",14)(12,"button",15),t.bIt("click",function(o){t.eBV(e);const i=t.XpG();return t.Njj(i.downloadAttribution(o))}),t.j41(13,"span",16)(14,"span",17),t.nrm(15,"frk-heroicon",18),t.k0s(),t.EFF(16),t.nI1(17,"translate"),t.k0s()()()(),t.nrm(18,"frk-attribution-table",19)}if(2&n){let e;const a=t.XpG();t.R7$(),t.Y8G("for",a.toggleId),t.R7$(),t.SpI(" ",t.bMT(3,17,"products.attribution-currency-toggle-label")," "),t.R7$(3),t.Y8G("checked",a.showCurrencyAttribution())("id",a.toggleId),t.R7$(5),t.Y8G("toggleButtons",a.toggleButtons),t.R7$(2),t.Y8G("id",a.downloadId),t.R7$(3),t.Y8G("size",16),t.R7$(),t.SpI(" ",t.bMT(17,19,"products.xls-file-extension")," "),t.R7$(2),t.Y8G("fields",a.fields)("labels",t.l_i(21,Xo,null==(e=a.commonAttributionData())?null:e.fundName,null==(e=a.commonAttributionData())?null:e.benchmarkName))("tableData",a.attributionTableData())("firstLevelSectorData",a.firstLevelSectorData)("firstLevelCountryData",a.firstLevelCountryData)("showCurrencyAttribution",a.showCurrencyAttribution())("showAttributionCountry",a.showAttributionCountry)("showAttributionSector",a.showAttributionSector)("selectedAsOfDate",a.selectedAsOfDate())}}const In=()=>["PerformanceAnnualizedProximalTop","PerformanceAnnualizedChartProximalTop"],qo=()=>["PerformanceAnnualizedProximalBottom","PerformanceAnnualizedChartProximalBottom"];function Qo(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.section-headings.performance")," ")}function Zo(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.section-headings.average-annual-total-returns")," ")}function Jo(n,s){if(1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n){let e;const a=t.XpG(2);t.Lme(" ",t.bMT(1,2,"products.as-of")," ",null==(e=a.tableData())?null:e.asOfDate," ")}}function Ko(n,s){if(1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n){let e;const a=t.XpG(2);t.Lme(" ",t.bMT(1,2,"products.as-of")," ",null==(e=a.tableData())?null:e.asOfDate," ")}}function ti(n,s){if(1&n){const e=t.RV6();t.j41(0,"frk-toggle",16),t.bIt("toggleActive",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onChangePerformanceView(o))}),t.k0s()}if(2&n){const e=t.XpG(2);t.Y8G("toggleButtons",e.performanceViewToggle())}}function ei(n,s){if(1&n&&(t.j41(0,"h3",12),t.EFF(1),t.k0s()),2&n){let e;const a=t.XpG(2);t.R7$(),t.SpI(" ",null==(e=a.tableData())?null:e.shareClassName," ")}}function ni(n,s){if(1&n){const e=t.RV6();t.j41(0,"frk-toggle",16),t.bIt("toggleActive",function(o){t.eBV(e);const i=t.XpG(3);return t.Njj(i.onChangeCalculation(o))}),t.k0s()}if(2&n){const e=t.XpG(3);t.Y8G("toggleButtons",e.calculationType())}}function ai(n,s){if(1&n&&t.DNE(0,ni,1,1,"frk-toggle",10),2&n){const e=t.XpG(2);t.vxM(e.calculationType().length>1?0:-1)}}function oi(n,s){if(1&n&&t.EFF(0),2&n){const e=t.XpG().$implicit;t.SpI(" ",null==e?null:e.subLabel," ")}}function ii(n,s){if(1&n&&(t.j41(0,"li",14),t.EFF(1),t.j41(2,"small",17),t.EFF(3),t.nrm(4,"br"),t.DNE(5,oi,1,1),t.k0s()()),2&n){const e=s.$implicit;t.R7$(),t.SpI(" ",null==e?null:e.value,""),t.R7$(2),t.JRh(null==e?null:e.label),t.R7$(2),t.vxM(null!=e&&e.subLabel?5:-1)}}function si(n,s){if(1&n&&(t.j41(0,"header",2)(1,"h3",3),t.DNE(2,Qo,2,3)(3,Zo,2,3),t.j41(4,"small",4),t.DNE(5,Jo,2,4),t.k0s()(),t.j41(6,"a",5),t.nI1(7,"fragmentLink"),t.nrm(8,"frk-heroicon",6),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.j41(11,"small",7),t.DNE(12,Ko,2,4),t.k0s()(),t.j41(13,"div",8),t.nrm(14,"frk-proximal",9),t.DNE(15,ti,1,1,"frk-toggle",10),t.k0s(),t.j41(16,"div",11),t.DNE(17,ei,2,1,"h3",12)(18,ai,1,1),t.k0s(),t.j41(19,"ul",13),t.Z7z(20,ii,6,3,"li",14,z),t.k0s(),t.nrm(22,"frk-proximal",15)),2&n){let e,a,o,i,r,l;const c=t.XpG();t.R7$(2),t.vxM(c.isInternational()?2:3),t.R7$(3),t.vxM(null!=(e=c.tableData())&&e.asOfDate?5:-1),t.R7$(),t.Y8G("href",t.bMT(7,17,"performance"),t.B4B),t.R7$(2),t.Y8G("size",16),t.R7$(),t.SpI(" ",t.bMT(10,19,"products.section-links.performance")," "),t.R7$(3),t.vxM(null!=(a=c.tableData())&&a.asOfDate?12:-1),t.R7$(2),t.Y8G("ngClass",c.isInternational()?"mt-4":"")("placement",t.lJ4(21,In)),t.R7$(),t.vxM(c.showPerformanceViewToggle()?15:-1),t.R7$(),t.AVh("justify-between",(null==(o=c.tableData())?null:o.shareClassName)&&"N/A"!==(null==(o=c.tableData())?null:o.shareClassName)&&!c.shouldHideShareClassName())("justify-end",!(null!=(i=c.tableData())&&i.shareClassName)||"N/A"===(null==(i=c.tableData())?null:i.shareClassName)||c.shouldHideShareClassName()),t.R7$(),t.vxM(null!=(r=c.tableData())&&r.shareClassName&&"N/A"!==(null==(r=c.tableData())?null:r.shareClassName)&&!c.shouldHideShareClassName()?17:-1),t.R7$(),t.vxM(c.showCalcTypeToggle()?18:-1),t.R7$(),t.Y8G("ngClass",c.isInternational()?"mb-4":"mb-0"),t.R7$(),t.Dyx(null==(l=c.tableData())?null:l.tableData),t.R7$(2),t.Y8G("placement",t.lJ4(22,qo))}}function ri(n,s){if(1&n&&(t.j41(0,"small",4),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(e.headerSubLabel())}}function li(n,s){if(1&n&&t.nrm(0,"frk-footnote",5),2&n){const e=t.XpG().$implicit,a=t.XpG(2);t.Y8G("placement",e.footnote)("componentId",a.config().componentId)}}function ci(n,s){if(1&n&&(t.j41(0,"div",9)(1,"frk-tooltip",11),t.nI1(2,"translate"),t.nrm(3,"p",12),t.k0s()()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Y8G("ariaLabel",t.bMT(2,2,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",e.tooltip,t.npT)}}function di(n,s){if(1&n&&(t.j41(0,"dt")(1,"div",7)(2,"span",8)(3,"span"),t.EFF(4),t.k0s(),t.DNE(5,li,1,2,"frk-footnote",5),t.k0s(),t.DNE(6,ci,4,4,"div",9),t.k0s()(),t.j41(7,"dd",10),t.EFF(8),t.k0s()),2&n){const e=s.$implicit;t.R7$(4),t.JRh(e.label),t.R7$(),t.vxM(e.footnote?5:-1),t.R7$(),t.vxM(e.tooltip?6:-1),t.R7$(2),t.JRh(e.value)}}function ui(n,s){if(1&n&&(t.j41(0,"div",2)(1,"div")(2,"h3",3),t.EFF(3),t.k0s(),t.DNE(4,ri,2,1,"small",4),t.k0s(),t.nrm(5,"frk-footnote",5),t.k0s(),t.j41(6,"dl",6),t.Z7z(7,di,9,4,null,null,t.Vm6),t.k0s()),2&n){let e,a,o;const i=t.XpG();t.R7$(3),t.SpI(" ",null==(e=i.summarySection())?null:e.label," "),t.R7$(),t.vxM(i.headerSubLabel()?4:-1),t.R7$(),t.Y8G("placement",null==(a=i.summarySection())?null:a.footnote)("componentId",i.config().componentId),t.R7$(2),t.Dyx(null==(o=i.summarySection())?null:o.rows)}}function pi(n,s){if(1&n&&(t.j41(0,"div",6)(1,"h3",9),t.EFF(2),t.nrm(3,"frk-footnote",4),t.k0s(),t.nrm(4,"p",10),t.k0s()),2&n){const e=t.XpG(2);
1t.R7$(2),t.SpI(" ",e.descriptionLabel()," "),t.R7$(),t.Y8G("placement",e.descriptionFootnote())("componentId",e.config().componentId),t.R7$(),t.Y8G("innerHTML",e.fundDescription,t.npT)}}function mi(n,s){if(1&n&&(t.j41(0,"frk-tooltip",14),t.nI1(1,"translate"),t.nI1(2,"translate"),t.nrm(3,"p",17),t.k0s()),2&n){const e=t.XpG().$implicit;t.Y8G("a11yPretext",t.bMT(1,3,"products.overview-fund-summary-section-row-tooltip-pretext"))("ariaLabel",t.bMT(2,5,"common.aria-label.tooltip")),t.R7$(3),t.Y8G("innerHTML",e.tooltip,t.npT)}}function hi(n,s){if(1&n&&(t.j41(0,"div",11)(1,"dt",12)(2,"span",13)(3,"span"),t.EFF(4),t.k0s(),t.nrm(5,"frk-footnote",4),t.k0s(),t.DNE(6,mi,4,7,"frk-tooltip",14),t.j41(7,"small",15),t.EFF(8),t.k0s()(),t.j41(9,"dd")(10,"span",16),t.EFF(11),t.k0s()()()),2&n){const e=s.$implicit,a=t.XpG(2);t.AVh("sm:col-span-2",a.isBenchmarkRow(e)),t.R7$(4),t.JRh(e.label),t.R7$(),t.Y8G("placement",e.footnote)("componentId",a.config().componentId),t.R7$(),t.vxM(e.tooltip?6:-1),t.R7$(2),t.JRh(e.subLabel),t.R7$(3),t.JRh(e.value)}}function fi(n,s){if(1&n&&(t.j41(0,"header",2)(1,"h3",3),t.EFF(2),t.k0s(),t.nrm(3,"frk-footnote",4),t.k0s(),t.j41(4,"small",5),t.EFF(5),t.k0s(),t.DNE(6,pi,5,4,"div",6),t.j41(7,"dl",7),t.Z7z(8,hi,12,8,"div",8,t.Vm6),t.k0s()),2&n){let e,a,o,i;const r=t.XpG();t.R7$(2),t.SpI(" ",null==(e=r.summarySection())?null:e.label," "),t.R7$(),t.Y8G("placement",null==(a=r.summarySection())?null:a.footnote)("componentId",r.config().componentId),t.R7$(2),t.JRh("FUNDFACTS"!==r.section?null==(o=r.summarySection())?null:o.subLabel:""),t.R7$(),t.vxM(r.fundDescription?6:-1),t.R7$(2),t.Dyx(null==(i=r.summarySection())?null:i.rows)}}function _i(n,s){1&n&&(t.qSk(),t.j41(0,"svg",4),t.nrm(1,"polyline",6),t.k0s())}function gi(n,s){1&n&&(t.qSk(),t.j41(0,"svg",5),t.nrm(1,"polyline",6),t.k0s())}function Ci(n,s){if(1&n&&(t.j41(0,"span",1),t.DNE(1,_i,2,0,":svg:svg",4)(2,gi,2,0,":svg:svg",5),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.vxM(e.isHollowStar()?1:2)}}function bi(n,s){1&n&&(t.j41(0,"p",2),t.nrm(1,"frk-tooltip",7),t.nI1(2,"translate"),t.nI1(3,"translate"),t.k0s()),2&n&&(t.R7$(),t.Y8G("tooltipTitle",t.bMT(2,2,"products.morningstar-tooltip"))("ariaLabel",t.bMT(3,4,"common.aria-label.tooltip")))}function xi(n,s){if(1&n&&(t.j41(0,"div",0),t.Z7z(1,Ci,3,1,"span",1,t.Vm6),t.DNE(3,bi,4,6,"p",2),t.k0s(),t.j41(4,"div",3),t.EFF(5),t.nI1(6,"translate"),t.k0s()),2&n){const e=t.XpG();t.AVh("justify-end",null==e.params?null:e.params.isCardView),t.R7$(),t.Dyx(e.stars()),t.R7$(2),t.vxM(e.isHollowStar()?3:-1),t.R7$(2),t.SpI(" ",t.bMT(6,4,e.ratingLabel())," ")}}function Di(n,s){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.JRh(e.emdash)}}function vi(n,s){if(1&n&&t.EFF(0),2&n){const e=t.XpG();t.SpI(" (",e.shareClassName(),") ")}}function Ti(n,s){if(1&n&&(t.j41(0,"span",1),t.EFF(1),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.JRh(e.headerName)}}function Si(n,s){if(1&n&&(t.j41(0,"span",2),t.EFF(1),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.SpI(" ",e.subHeaderName," ")}}function yi(n,s){if(1&n&&(t.j41(0,"h3",1),t.EFF(1),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.Lme(" ",e.morningstarCategoryTitle," ",s," ")}}function Ri(n,s){if(1&n&&(t.nrm(0,"frk-dynamic-table",2),t.nI1(1,"async"),t.nI1(2,"async"),t.nI1(3,"translate"),t.nI1(4,"translate")),2&n){const e=t.XpG(),a=t.XpG();t.Y8G("rowData",e)("colDefs",a.colDefs())("isStickyHeader",!0)("isCardView",!0===t.bMT(1,7,a.isCardView$))("isMobile",!0===t.bMT(2,9,a.isHandheld$))("showMoreTxt",t.bMT(3,11,"products.ppss-show-more"))("showLessTxt",t.bMT(4,13,"products.ppss-show-less"))}}function ki(n,s){if(1&n&&(t.j41(0,"div",3),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.SpI(" ",e.noDataText," ")}}function Ei(n,s){1&n&&t.DNE(0,Ri,5,15,"frk-dynamic-table",2)(1,ki,2,1,"div",3),2&n&&t.vxM(s.length>0?0:1)}function Fi(n,s){if(1&n&&(t.j41(0,"div")(1,"dt",7),t.EFF(2),t.k0s(),t.j41(3,"dd")(4,"span",8),t.EFF(5),t.k0s(),t.j41(6,"small"),t.EFF(7),t.k0s()()()),2&n){const e=s.$implicit;t.R7$(2),t.SpI(" ",e.label," "),t.R7$(3),t.JRh(e.val),t.R7$(2),t.JRh(e.labelSmallText)}}function $i(n,s){if(1&n&&(t.j41(0,"header",1)(1,"h2",2),t.EFF(2,"Fund facts"),t.k0s(),t.j41(3,"a",3),t.EFF(4),t.k0s()(),t.j41(5,"h3",4),t.EFF(6," Fund description "),t.k0s(),t.j41(7,"p",5),t.EFF(8," The fund seeks to maximize income, while maintaining prospects for capital appreciation, by investing in a diversified portfolio of stocks and bonds. "),t.k0s(),t.j41(9,"dl",6),t.Z7z(10,Fi,8,3,"div",null,z),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.Y8G("href",e.config().linkURL,t.B4B),t.R7$(),t.JRh(e.config().linkTitle),t.R7$(6),t.Dyx(e.items())}}const qt=(n,s)=>[n,s],Mt=n=>[n];function Ai(n,s){1&n&&(t.j41(0,"a",10),t.nI1(1,"fragmentLink"),t.nrm(2,"frk-heroicon",13),t.EFF(3),t.nI1(4,"translate"),t.k0s()),2&n&&(t.Y8G("href",t.bMT(1,3,"portfolio"),t.B4B),t.R7$(2),t.Y8G("size",12),t.R7$(),t.SpI(" ",t.bMT(4,5,"products.section-links.portfolio")," "))}function Mi(n,s){if(1&n&&t.nrm(0,"div",27),2&n){const e=t.XpG(),o=e.$index;t.xc7("width",e.$implicit.widthPercent,"%"),t.Y8G("ngClass","bg-chart-color"+o)}}function Pi(n,s){if(1&n&&t.nrm(0,"div",28),2&n){const e=t.XpG(),o=e.$index;t.xc7("width",e.$implicit.widthPercent,"%"),t.Y8G("ngClass","bg-chart-color"+o)}}function Ii(n,s){if(1&n&&(t.j41(0,"div",16)(1,"div",17)(2,"span",18),t.EFF(3),t.k0s(),t.j41(4,"span",19),t.EFF(5),t.k0s()(),t.j41(6,"div",20),t.nrm(7,"div",21),t.j41(8,"div",22)(9,"div",23),t.DNE(10,Mi,1,3,"div",24),t.k0s(),t.j41(11,"div",25),t.DNE(12,Pi,1,3,"div",26),t.k0s()()()()),2&n){const e=s.$implicit;t.R7$(3),t.JRh(e.label),t.R7$(2),t.JRh(e.value),t.R7$(5),t.vxM(e.roundedPercent<0?10:-1),t.R7$(2),t.vxM(e.roundedPercent>=0?12:-1)}}function wi(n,s){if(1&n&&(t.j41(0,"div",14)(1,"div",15),t.Z7z(2,Ii,13,4,"div",16,z),t.k0s()()),2&n){const e=t.XpG(2);t.R7$(2),t.Dyx(e.tableRows())}}function Ni(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",31)(2,"div",17)(3,"span",18),t.EFF(4),t.k0s(),t.j41(5,"span",19),t.EFF(6),t.k0s()(),t.j41(7,"div",32),t.nrm(8,"div",33),t.k0s()()()),2&n){const e=s.$implicit,a=s.$index;t.R7$(4),t.JRh(e.label),t.R7$(2),t.JRh(e.value),t.R7$(2),t.xc7("width",e.widthPercent,"%"),t.Y8G("ngClass",t.eq3(5,Mt,"bg-chart-color"+a))}}function Gi(n,s){if(1&n&&(t.j41(0,"div",14)(1,"table",29)(2,"caption",30),t.EFF(3),t.k0s(),t.j41(4,"tbody"),t.Z7z(5,Ni,9,7,"tr",null,z),t.k0s()()()),2&n){const e=t.XpG(2);t.R7$(3),t.SpI(" ",e.heading()," "),t.R7$(2),t.Dyx(e.tableRows())}}function Oi(n,s){1&n&&t.eu8(0)}
1function Yi(n,s){if(1&n&&t.DNE(0,Oi,1,0,"ng-container",34),2&n){t.XpG();const e=t.sdS(14),a=t.sdS(16),o=t.XpG();t.Y8G("ngTemplateOutlet",o.isNegativeValueExist()?e:a)}}function ji(n,s){if(1&n&&(t.j41(0,"div",4)(1,"div",5)(2,"h2",6),t.EFF(3),t.k0s(),t.nrm(4,"frk-footnote",7),t.j41(5,"frk-tooltip",8),t.nI1(6,"translate"),t.nrm(7,"p",9),t.nI1(8,"translate"),t.k0s()(),t.DNE(9,Ai,5,7,"a",10),t.k0s(),t.j41(10,"p",11),t.EFF(11),t.k0s(),t.nrm(12,"frk-proximal",12),t.DNE(13,wi,4,0,"ng-template",null,0,t.C5r)(15,Gi,7,1,"ng-template",null,1,t.C5r)(17,Yi,1,1,"ng-container"),t.nrm(18,"frk-proximal",12)),2&n){let e,a,o;const i=t.XpG();t.R7$(3),t.SpI(" ",i.heading()," "),t.R7$(),t.Y8G("componentId",i.config().componentId),t.R7$(),t.Y8G("ariaLabel",t.bMT(6,9,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",t.bMT(8,11,"products.portfolio-quality-allocation-with-derivatives-yes-cash-yes-calc-basis-mv-heading-tooltip"),t.npT),t.R7$(2),t.vxM(i.showNavLink()?9:-1),t.R7$(2),t.SpI(" ",i.asOfLabel()," "),t.R7$(),t.Y8G("placement",t.l_i(13,qt,null==(e=i.proximals())?null:e.proximalTopPlacement,null==(e=i.proximals())?null:e.secondaryProximalTopPlacement)),t.R7$(5),t.vxM(null!=(a=i.tableRows())&&a.length?17:-1),t.R7$(),t.Y8G("placement",t.l_i(16,qt,null==(o=i.proximals())?null:o.proximalBottomPlacement,null==(o=i.proximals())?null:o.secondaryProximalBottomPlacement))}}function Li(n,s){1&n&&(t.j41(0,"th",4),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"products.benchmark")," "))}function Bi(n,s){if(1&n&&(t.j41(0,"td",6),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.benchmarkReturn)}}function Vi(n,s){if(1&n&&(t.j41(0,"tr")(1,"td"),t.EFF(2),t.k0s(),t.j41(3,"td",6),t.EFF(4),t.k0s(),t.DNE(5,Bi,2,1,"td",6),t.k0s()),2&n){const e=s.$implicit,a=t.XpG(2);t.R7$(2),t.JRh(e.formattedDate),t.R7$(2),t.JRh(e.fundReturn),t.R7$(),t.vxM(a.showBenchmark()?5:-1)}}function Xi(n,s){if(1&n){const e=t.RV6();t.j41(0,"frk-pagination",7),t.bIt("pageChanged",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onPaginationChanged(o))}),t.k0s()}if(2&n){const e=t.XpG(2);t.Y8G("pages",e.totalPages())("activePage",e.currentPage()+1)}}function Hi(n,s){if(1&n&&(t.j41(0,"div")(1,"div",0)(2,"table",1)(3,"caption",2),t.EFF(4),t.nI1(5,"translate"),t.nI1(6,"translate"),t.k0s(),t.j41(7,"thead")(8,"tr")(9,"th",3),t.EFF(10),t.nI1(11,"translate"),t.nI1(12,"translate"),t.k0s(),t.j41(13,"th",4),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.DNE(16,Li,3,3,"th",4),t.k0s()(),t.j41(17,"tbody"),t.Z7z(18,Vi,6,3,"tr",null,Pn),t.k0s()()(),t.DNE(20,Xi,1,2,"frk-pagination",5),t.k0s()),2&n){const e=t.XpG();t.R7$(4),t.Lme(" ",t.bMT(5,8,"products.monthly-returns")," ",t.bMT(6,10,"products.distribution-table-tab")," "),t.R7$(6),t.E5c(" ",t.bMT(11,12,"products.monthly-returns")," (",t.bMT(12,14,"products.up-to")," ",e.asOfDate(),") "),t.R7$(4),t.SpI(" ",t.bMT(15,16,"products.ETF")," "),t.R7$(2),t.vxM(e.showBenchmark()?16:-1),t.R7$(2),t.Dyx(e.pageRows()),t.R7$(2),t.vxM(e.totalPages()>1?20:-1)}}const Qt=(n,s)=>({"text-left":n,"text-right":s}),Yt=(n,s)=>s[0];function Ui(n,s){1&n&&t.nrm(0,"div",6)}function zi(n,s){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.subLabel)}}function Wi(n,s){if(1&n&&(t.j41(0,"th",14)(1,"span"),t.EFF(2),t.k0s(),t.nrm(3,"br"),t.DNE(4,zi,2,1,"span"),t.k0s()),2&n){const e=s.$implicit,a=s.$index;t.Y8G("ngClass",t.l_i(3,Qt,0===a,0!==a)),t.R7$(2),t.JRh(e.label),t.R7$(2),t.vxM(e.subLabel?4:-1)}}function qi(n,s){if(1&n&&(t.j41(0,"a",16),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.Y8G("href",e.linkUrl||"#",t.B4B),t.R7$(),t.JRh(e.value)}}function Qi(n,s){if(1&n&&t.EFF(0),2&n){const e=t.XpG().$implicit;t.SpI(" ",e.value," ")}}function Zi(n,s){if(1&n&&t.nrm(0,"frk-footnote",17),2&n){const e=t.XpG().$implicit,a=t.XpG(6);t.Y8G("placement",t.eq3(2,Mt,e.footnote))("componentId",a.config().componentId)}}function Ji(n,s){if(1&n&&(t.j41(0,"td",15)(1,"div"),t.DNE(2,qi,2,2,"a",16)(3,Qi,1,1)(4,Zi,1,4,"frk-footnote",17),t.k0s()()),2&n){const e=s.$implicit,a=s.$index;t.Y8G("ngClass",t.l_i(3,Qt,0===a,0!==a)),t.R7$(2),t.vxM(e.isLink?2:3),t.R7$(2),t.vxM(0===a?4:-1)}}function Ki(n,s){if(1&n&&(t.j41(0,"tr"),t.Z7z(1,Ji,5,6,"td",15,t.fX1),t.k0s()),2&n){const e=s.$implicit;t.R7$(),t.Dyx(e)}}function ts(n,s){if(1&n&&(t.j41(0,"table",11)(1,"caption",13),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"thead")(5,"tr"),t.Z7z(6,Wi,5,6,"th",14,z),t.k0s()(),t.j41(8,"tbody"),t.Z7z(9,Ki,3,0,"tr",null,Yt),t.k0s()()),2&n){let e,a;const o=t.XpG(4);t.R7$(2),t.SpI(" ",t.bMT(3,1,"products.view-all-class-perf")," "),t.R7$(4),t.Dyx(null==(e=o.tableData())?null:e.cols),t.R7$(3),t.Dyx(null==(a=o.tableData())?null:a.rows)}}function es(n,s){1&n&&(t.j41(0,"div",12)(1,"div",18),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n&&(t.R7$(2),t.SpI(" ",t.bMT(3,1,"products.no-performance-data")," "))}function ns(n,s){if(1&n&&(t.j41(0,"div",10),t.DNE(1,ts,11,3,"table",11)(2,es,4,3,"div",12),t.k0s()),2&n){let e;const a=t.XpG(3);t.R7$(),t.vxM(null!=(e=a.tableData())&&e.rows&&a.tableData().rows.length>0?1:2)}}function as(n,s){1&n&&t.eu8(0)}function os(n,s){if(1&n&&t.DNE(0,as,1,0,"ng-container",19),2&n){t.XpG(4);const e=t.sdS(3);t.Y8G("ngTemplateOutlet",e)}}function is(n,s){1&n&&(t.j41(0,"div",12)(1,"div",18),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n&&(t.R7$(2),t.SpI(" ",t.bMT(3,1,"products.no-performance-data")," "))}function ss(n,s){if(1&n&&t.DNE(0,os,1,1,"ng-container")(1,is,4,3,"div",12),2&n){let e;const a=t.XpG(3);t.vxM(null!=(e=a.tableData())&&e.rows&&a.tableData().rows.length>0?0:1)}}function rs(n,s){if(1&n&&(t.j41(0,"div",9),t.DNE(1,ns,3,1,"div",10)(2,
1ss,2,1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.vxM(e.isCardView()?2:1)}}function ls(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",2)(1,"button",3),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.toggleExpanded())}),t.j41(2,"h3",4),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.nrm(5,"frk-heroicon",5),t.k0s(),t.DNE(6,Ui,1,0,"div",6),t.j41(7,"div",7)(8,"div",8),t.DNE(9,rs,3,1,"div",9),t.k0s()()()}if(2&n){const e=t.XpG();t.R7$(),t.AVh("rounded-lg",!e.isExpanded())("rounded-t-lg",e.isExpanded()),t.BMQ("aria-expanded",e.isExpanded().toString()),t.R7$(2),t.SpI(" ",t.bMT(4,22,"products.view-all-class-perf")," "),t.R7$(2),t.Y8G("name",e.isExpanded()?"heroChevronUp":"heroChevronDown")("size",20),t.R7$(),t.vxM(e.isExpanded()?6:-1),t.R7$(),t.AVh("overflow-hidden",!e.isExpanded())("overflow-visible",e.isExpanded())("max-h-0",!e.isExpanded())("max-h-none",e.isExpanded())("opacity-0",!e.isExpanded())("opacity-100",e.isExpanded()),t.R7$(2),t.vxM(e.isExpanded()?9:-1)}}function cs(n,s){if(1&n&&(t.j41(0,"header",24)(1,"div",25),t.EFF(2),t.nrm(3,"frk-footnote",17),t.k0s()()),2&n){let e,a,o,i;const r=t.XpG().$implicit,l=t.XpG().$index,c=t.XpG(2);t.AVh("bg-nc1-100",null==(e=c.cardClosedState())?null:e[l])("text-nc1-950",null==(a=c.cardClosedState())?null:a[l])("bg-pc1-800",!(null!=(o=c.cardClosedState())&&o[l]))("text-nc1-0",!(null!=(i=c.cardClosedState())&&i[l])),t.Y8G("id","table-card-header-allshare-class"+l),t.R7$(2),t.SpI(" ",r.value," "),t.R7$(),t.Y8G("placement",t.eq3(12,Mt,r.footnote))("componentId",c.config().componentId)}}function ds(n,s){if(1&n&&(t.j41(0,"dl",26)(1,"div",27)(2,"dt",28)(3,"div",29),t.EFF(4),t.k0s()(),t.j41(5,"dd",30)(6,"div",31),t.EFF(7),t.k0s()()()()),2&n){let e;const a=t.XpG(2),o=a.$implicit,i=a.$index,r=t.XpG(3);t.Y8G("id","table-card-content-allshare-class"+i),t.BMQ("aria-labelledby","table-card-content-allshare-class"+i),t.R7$(4),t.SpI(" ",null==(e=r.tableData())||null==e.cols||null==e.cols[i]?null:e.cols[i].label," "),t.R7$(3),t.SpI(" ",o.value," ")}}function us(n,s){if(1&n&&t.DNE(0,ds,8,4,"dl",26),2&n){let e;const a=t.XpG(2).$index,o=t.XpG(2);t.vxM(null!=(e=o.cardClosedState())&&e[a]?-1:0)}}function ps(n,s){1&n&&t.DNE(0,cs,4,14,"header",23)(1,us,1,1),2&n&&t.vxM(0===s.$index?0:1)}function ms(n,s){1&n&&(t.j41(0,"div",32),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",33)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.less-details")," "),t.R7$(2),t.Y8G("size",16))}function hs(n,s){1&n&&(t.j41(0,"div",32),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",34)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.more-details")," "),t.R7$(2),t.Y8G("size",16))}function fs(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",21),t.Z7z(1,ps,2,1,null,null,t.fX1),t.j41(3,"button",22),t.bIt("click",function(){const o=t.eBV(e).$index,i=t.XpG(2);return t.Njj(i.toggleCard(o))}),t.DNE(4,ms,4,4)(5,hs,4,4),t.k0s()()}if(2&n){let e,a,o,i,r;const l=s.$implicit,c=s.$index,p=t.XpG(2);t.R7$(),t.Dyx(l),t.R7$(2),t.AVh("bg-pc1-500",null==(e=p.cardClosedState())?null:e[c])("bg-pc1-800",!(null!=(a=p.cardClosedState())&&a[c])),t.BMQ("aria-expanded",(!(null!=(o=p.cardClosedState())&&o[c])).toString())("aria-controls","table-card-content-allshare-class-"+c),t.R7$(),t.vxM(null!=(i=p.cardClosedState())&&i[c]?-1:4),t.R7$(),t.vxM(null!=(r=p.cardClosedState())&&r[c]?5:-1)}}function _s(n,s){if(1&n&&(t.j41(0,"div",20),t.Z7z(1,fs,6,8,"article",21,Yt),t.k0s()),2&n){let e;const a=t.XpG();t.R7$(),t.Dyx(null==(e=a.tableData())?null:e.rows)}}const je=(n,s)=>({"flex items-center gap-2":n,"text-right":s});function gs(n,s){if(1&n&&(t.j41(0,"h3",3),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.SpI(" ",t.i5U(2,1,"products.section-headings.average-annual-total-returns",e.productId())," ")}}function Cs(n,s){if(1&n&&(t.j41(0,"p",5),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Lme(" ",t.bMT(2,2,"products.as-of")," ",e.asOfDate()," ")}}function bs(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",8)(1,"frk-toggle",12),t.bIt("toggleActive",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onPeriodEndChange(o))}),t.k0s()()}if(2&n){const e=t.XpG(2);t.R7$(),t.Y8G("toggleButtons",e.periodEnds())}}function xs(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",9)(1,"frk-month-picker",13),t.nI1(2,"translate"),t.nI1(3,"translate"),t.nI1(4,"translate"),t.nI1(5,"translate"),t.bIt("selected",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onCustomDateRangeInput(o))}),t.k0s()()}if(2&n){const e=t.XpG(2);t.R7$(),t.Y8G("label",t.bMT(2,9,"products.as-of"))("id",e.elementIdList.fromDate)("calendarHeading",t.bMT(3,11,"common.month-calendar-heading"))("min",e.customDateRangeLimit.min)("max",e.customDateRangeLimit.max)("value",e.calendarFromDate)("selectedDateLabel",t.bMT(4,13,"common.month-selected-date"))("toggleButtonLabel",t.bMT(5,15,"common.month-change-button"))("errorMsgObj",e.errorMsgObj)}}function Ds(n,s){if(1&n&&t.nrm(0,"frk-highcharts",14)(1,"frk-proximal",6),2&n){const e=t.XpG(2);t.Y8G("chartConfig",e.chartConfig())("chartData",e.chartData()),t.R7$(),t.Y8G("placement",e.chartBottomProximalPlacement())}}function vs(n,s){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.subLabel)}}function Ts(n,s){if(1&n&&(t.j41(0,"th",18)(1,"span"),t.EFF(2),t.k0s(),t.nrm(3,"br"),t.DNE(4,vs,2,1,"span"),t.k0s()),2&n){const e=s.$implicit,a=s.$index;t.Y8G("ngClass",t.l_i(3,Qt,0===a,0!==a)),t.R7$(2),t.JRh(e.label),t.R7$(2),t.vxM(e.subLabel?4:-1)}}function Ss(n,s){if(1&n&&t.nrm(0,"span",20),2&n){let e;const a=t.XpG(3).$index,o=t.XpG(4);t.Y8G("ngClass","bg-benchmark-color"+((null!==(e=null==(e=o.chartConfig().colors)?null:e.length)&&void 0!==e?e:0)>0?a%(null!==(e=null==(e=o.chartConfig().colors)?null:e.length)&&void 0!==e?e:1):a))}}function ys(n,s){if(1&n&&t.nrm(0,"frk-footnote",21),2&n){const e=t.XpG().$implicit,a=t.XpG(6);t.Y8G("placement",t.eq3(2,Mt,e.footnote))("componentId",a.config().componentId)}}function Rs(n,s){if(1&n&&(t.j41(0,"td",19),t.DNE(1,Ss,1,1,"span",20),t.j41(2,"div"),t.EFF(3),t.DNE(4,ys,1,4,"frk-footnote",21),t.k0s()()),2&n){const e=s.$implicit,a=s.$index;t.Y8G("ngClass",t.l_i(4,je,0===a,0!==a)),t.R7$(),t.vxM(0===a?1:-1),t.R7$(2),t.SpI(" ",e.value," "),t.R7$(),t.vxM(0===a?4:-1)}}function ks(n,s){if(1&n&&(t.j41(0,"tr"),t.Z7z(1,Rs,5,7,"td",19,t.fX1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Dyx(e)}}function Es(n,s){1&n&&t.DNE(0,ks,3,0,"tr"),2&n&&t.vxM(s.$implicit.length?0:-1)}function Fs(n,s){if(1&n&&(t.j41(0,"table",15)(1,"caption",17),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"thead")(5,"tr"),t.Z7z(6,Ts,5,6,"th",18,z),t.k0s()(),t.j41(8,"tbody"),t.Z7z(9,Es,1,1,null,null,Yt),t.k0s()()),2&n){let e,a;const o=t.XpG(3);t.R7$(2),t.SpI(" ",t.bMT(3,1,"products.performance-annualized-heading")," "),t.R7$(4),t.Dyx(null==(e=o.tableData())?null:e.cols),t.R7$(3),t.Dyx(null==(a=o.tableData())?null:a.rows)}}function $s(n,s){1&n&&(t.j41(0,"div",16)(1,"h4",22),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n&&(t.R7$(2),t.SpI(" ",t.bMT(3,1,"products.no-performance-hist-data")," "))}function As(n,s){if(1&n&&t.DNE(0,Fs,11,3,"table",15)(1,$s,4,3,"div",16),2&n){let e;const a=t.XpG(2);t.vxM(null!==(e=null==(e=a.tableData())||null==e.rows?null:e.rows.length)&&void 0!==e&&e?0:1)}}function Ms(n,s){1&n&&t.eu8(0)}function Ps(n,s){if(1&n&&t.DNE(0,Ms,1,0,"ng-container",23),2&n){t.XpG(2);const e=t.sdS(3);t.Y8G("ngTemplateOutlet",e)}}function Is(n,s){if(1&n&&t.nrm(0,"frk-avg-monthly-returns-table",11),2&n){let e;const a=t.XpG(2);t.Y8G("rows",a.monthlyReturnRows())("asOfDate",a.monthlyReturnAsOfDate())("showBenchmark",null!==(e=a.config().showBenchmark)&&void 0!==e&&e)}}function ws(n,s){if(1&n&&(t.j41(0,"div",10),t.nrm(1,"frk-performace-all-shareclass",24),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Y8G("config",e.allShareClassConfig())("isCardView",e.isCardView())}}function Ns(n,s){if(1&n&&t.nrm(0,"frk-proximal",25),2&n){const e=t.XpG(3);t.Y8G("placement",e.sectionBottomSecondaryPlacement())("bottomProximalHref",e.config().sectionBottomProximalBottomHref)("bottomProximalFragment",e.config().sectionBottomProximalBottomFragment)}}function Gs(n,s){if(1&n&&(t.nrm(0,"frk-proximal",6),t.DNE(1,Ns,1,3,"frk-proximal",25)),2&n){const e=t.XpG(2);t.Y8G("placement",e.sectionBottomBasePlacement()),t.R7$(),t.vxM(e.sectionBottomSecondaryPlacement()?1:-1)}}function Os(n,s){if(1&n&&(t.j41(0,"div")(1,"div",2),t.DNE(2,gs,3,4,"h3",3),t.nrm(3,"frk-footnote",4),t.k0s(),t.DNE(4,Cs,3,4,"p",5),t.k0s(),t.nrm(5,"frk-proximal",6),t.j41(6,"div",7),t.DNE(7,bs,2,1,"div",8)(8,xs,6,17,"div",9),t.k0s(),t.j41(9,"div",10),t.DNE(10,Ds,2,3),t.k0s(),t.DNE(11,As,2,1)(12,Ps,1,1,"ng-container")(13,Is,1,3,"frk-avg-monthly-returns-table",11)(14,ws,2,2,"div",10)(15,Gs,2,2)),2&n){let e,a,o;const i=t.XpG();t.R7$(2),t.vxM(!1!==i.config().showSectionTitle?2:-1),t.R7$(),t.Y8G("componentId",i.config().componentId),t.R7$(),t.vxM(null!==(e=null==(e=i.tableData())||null==e.rows?null:e.rows.length)&&void 0!==e&&e?4:-1),t.R7$(),t.Y8G("placement",i.topProximalPlacement()),t.R7$(2),t.vxM(i.periodEnds().length>1?7:-1),t.R7$(),t.vxM(!1!==i.config().showCalendarInput?8:-1),t.R7$(2),t.vxM((null!==(a=null==(a=i.tableData())||null==a.rows?null:a.rows.length)&&void 0!==a?a:0)>0&&(null==(a=i.config().suppressionSets)||!a.includes("Annualized"))&&i.isFundOneYearOld()?10:-1),t.R7$(),t.vxM(i.isCardView()?12:11),t.R7$(2),t.vxM(i.monthlyReturnRows().length>0?13:-1),t.R7$(),t.vxM(i.showAllShareClassesComponent()?14:-1),t.R7$(),t.vxM(null!==(o=null==(o=i.tableData())||null==o.rows?null:o.rows.length)&&void 0!==o&&o?15:-1)}}function Ys(n,s){if(1&n&&(t.j41(0,"header",30)(1,"div",31),t.nrm(2,"span",20),t.EFF(3),t.nrm(4,"frk-footnote",21),t.k0s(),t.j41(5,"div",32),t.EFF(6),t.k0s(),t.j41(7,"div",33),t.EFF(8),t.nI1(9,"translate"),t.k0s()()),2&n){let e,a,o,i,r,l,c,p;const _=t.XpG().$implicit,E=t.XpG(2).$index,y=t.XpG(3);t.AVh("bg-nc1-100",null==(e=y.cardClosedState())?null:e[E])("text-nc1-950",null==(a=y.cardClosedState())?null:a[E])("bg-pc1-800",!(null!=(o=y.cardClosedState())&&o[E]))("text-nc1-0",!(null!=(i=y.cardClosedState())&&i[E])),t.Y8G("id",`table-card-header-avg-annual-total-returns${E}`),t.R7$(2),t.Y8G("ngClass",t.l_i(22,qt,`bg-benchmark-color${E}`,null!=(r=y.cardClosedState())&&r[E]?"":"border-[2px] border-white")),t.R7$(),t.SpI(" ",_.value," "),t.R7$(),t.Y8G("placement",t.eq3(25,Mt,_.footnote))("componentId",y.config().componentId),t.R7$(),t.AVh("text-nc1-0",!(null!=(l=y.cardClosedState())&&l[E])),t.R7$(),t.SpI(" ",null==(c=y.tableData())||null==c.cols||null==c.cols[0]?null:c.
1cols[0].periodEnd," "),t.R7$(),t.AVh("text-nc1-0",!(null!=(p=y.cardClosedState())&&p[E])),t.R7$(),t.Lme(" ",t.bMT(9,20,"products.as-of")," ",y.asOfDate()," ")}}function js(n,s){if(1&n&&(t.j41(0,"span",38),t.EFF(1),t.k0s()),2&n){t.XpG();const e=t.r8f(3);t.R7$(),t.JRh(null==e?null:e.subLabel)}}function Ls(n,s){if(1&n&&(t.j41(0,"dl",34)(1,"div",35)(2,"dt",36),t.SS7(3),t.j41(4,"div",37)(5,"span"),t.EFF(6),t.k0s(),t.DNE(7,js,2,1,"span",38),t.k0s()(),t.j41(8,"dd",39)(9,"div",40),t.EFF(10),t.k0s()()()()),2&n){let e;const a=t.XpG(2),o=a.$implicit,i=a.$index;t.Y8G("id",`table-card-content-avg-annual-total-returns${i}`),t.BMQ("aria-labelledby",`table-card-content-avg-annual-total-returns${i}`),t.R7$(3);const r=t.bH3(null==(e=t.XpG(5).tableData())||null==e.cols?null:e.cols[i]);t.R7$(3),t.JRh(null==r?null:r.label),t.R7$(),t.vxM(null!=r&&r.subLabel?7:-1),t.R7$(3),t.SpI(" ",o.value," ")}}function Bs(n,s){if(1&n&&t.DNE(0,Ls,11,6,"dl",34),2&n){let e;const a=t.XpG(3).$index,o=t.XpG(3);t.vxM(null!=(e=o.cardClosedState())&&e[a]?-1:0)}}function Vs(n,s){1&n&&t.DNE(0,Ys,10,27,"header",29)(1,Bs,1,1),2&n&&t.vxM(0===s.$index?0:1)}function Xs(n,s){1&n&&(t.j41(0,"div",41),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",42)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.less-details")," "),t.R7$(2),t.Y8G("size",16))}function Hs(n,s){1&n&&(t.j41(0,"div",41),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",43)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.more-details")," "),t.R7$(2),t.Y8G("size",16))}function Us(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",27),t.Z7z(1,Vs,2,1,null,null,t.fX1),t.j41(3,"button",28),t.bIt("click",function(){t.eBV(e);const o=t.XpG().$index,i=t.XpG(3);return t.Njj(i.toggleCard(o))}),t.DNE(4,Xs,4,4)(5,Hs,4,4),t.k0s()()}if(2&n){let e,a,o,i,r;const l=t.XpG(),c=l.$implicit,p=l.$index,_=t.XpG(3);t.R7$(),t.Dyx(c),t.R7$(2),t.AVh("bg-pc1-500",null==(e=_.cardClosedState())?null:e[p])("bg-pc1-800",!(null!=(a=_.cardClosedState())&&a[p])),t.BMQ("aria-expanded",(!(null!=(o=_.cardClosedState())&&o[p])).toString())("aria-controls","table-card-content-avg-annual-total-returns"+p),t.R7$(),t.vxM(null!=(i=_.cardClosedState())&&i[p]?-1:4),t.R7$(),t.vxM(null!=(r=_.cardClosedState())&&r[p]?5:-1)}}function zs(n,s){1&n&&t.DNE(0,Us,6,8,"article",27),2&n&&t.vxM(s.$implicit.length?0:-1)}function Ws(n,s){if(1&n&&(t.j41(0,"div",26),t.Z7z(1,zs,1,1,null,null,Yt),t.k0s()),2&n){let e;const a=t.XpG(2);t.R7$(),t.Dyx(null==(e=a.tableData())?null:e.rows)}}function qs(n,s){1&n&&(t.j41(0,"div",16)(1,"h4",22),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n&&(t.R7$(2),t.SpI(" ",t.bMT(3,1,"products.no-performance-hist-data")," "))}function Qs(n,s){if(1&n&&t.DNE(0,Ws,3,0,"div",26)(1,qs,4,3,"div",16),2&n){let e;const a=t.XpG();t.vxM(null!==(e=null==(e=a.tableData())||null==e.rows?null:e.rows.length)&&void 0!==e&&e?0:1)}}const Rt=(n,s)=>({label:n,value:s});function Zs(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",7)(1,"frk-toggle",12),t.bIt("toggleActive",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onPeriodEndChange(o))}),t.k0s()()}if(2&n){const e=t.XpG(2);t.R7$(),t.Y8G("toggleButtons",e.periodEnds())}}function Js(n,s){if(1&n&&t.nrm(0,"frk-proximal",13)(1,"frk-highcharts",14)(2,"frk-proximal",15),2&n){let e,a;const o=t.XpG(2);t.R7$(),t.Y8G("chartConfig",null==(e=o.selectedPeriod())?null:e.chartConfig)("chartData",null==(a=o.selectedPeriod())?null:a.chartData)}}function Ks(n,s){1&n&&(t.qex(0),t.j41(1,"p"),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.bVm()),2&n&&(t.R7$(2),t.JRh(t.bMT(3,1,"products.no-chart-data-found")))}function tr(n,s){1&n&&(t.j41(0,"th",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"products.currency")," "))}function er(n,s){if(1&n&&(t.j41(0,"th",23),t.EFF(1),t.k0s()),2&n){const e=s.$implicit;t.R7$(),t.SpI(" ",e," ")}}function nr(n,s){if(1&n&&(t.j41(0,"td",27),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.currencyCode)}}
1function ar(n,s){if(1&n&&(t.j41(0,"td",27),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.data.yearToDate)}}function or(n,s){if(1&n&&(t.j41(0,"td",27),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.data.oneYear)}}function ir(n,s){if(1&n&&(t.j41(0,"td",27),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.data.twoYear)}}function sr(n,s){if(1&n&&(t.j41(0,"td",27),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.data.threeYear)}}function rr(n,s){if(1&n&&(t.j41(0,"td",27),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.data.fourYear)}}function lr(n,s){if(1&n&&(t.j41(0,"td",27),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.data.fiveYear)}}function cr(n,s){if(1&n&&(t.j41(0,"td",27),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.data.sixYear)}}function dr(n,s){if(1&n&&(t.j41(0,"td",27),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.data.sevenYear)}}function ur(n,s){if(1&n&&(t.j41(0,"td",27),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.data.eightYear)}}function pr(n,s){if(1&n&&(t.j41(0,"td",27),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.data.nineYear)}}function mr(n,s){if(1&n&&(t.j41(0,"td",27),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.data.tenYear)}}function hr(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",24),t.nrm(2,"span",25),t.j41(3,"div"),t.EFF(4),t.nrm(5,"frk-footnote",26),t.k0s()(),t.DNE(6,nr,2,1,"td",27)(7,ar,2,1,"td",27)(8,or,2,1,"td",27)(9,ir,2,1,"td",27)(10,sr,2,1,"td",27)(11,rr,2,1,"td",27)(12,lr,2,1,"td",27)(13,cr,2,1,"td",27)(14,dr,2,1,"td",27)(15,ur,2,1,"td",27)(16,pr,2,1,"td",27)(17,mr,2,1,"td",27),t.j41(18,"td",27),t.EFF(19),t.k0s()()),2&n){let e;const a=s.$implicit,o=s.$index,i=t.XpG(4);t.R7$(2),t.Y8G("ngClass","bg-benchmark-color"+ +(null!=(e=i.selectedPeriod())&&null!=e.chartConfig&&null!=e.chartConfig.colors&&e.chartConfig.colors.length?o%(null==(e=i.selectedPeriod())||null==e.chartConfig||null==e.chartConfig.colors?null:e.chartConfig.colors.length):o)),t.R7$(2),t.SpI(" ",a.label," "),t.R7$(),t.Y8G("placement",t.eq3(17,Mt,a.footnote))("componentId",i.config().componentId),t.R7$(),t.vxM(a.currencyCode?6:-1),t.R7$(),t.vxM(a.data.yearToDate?7:-1),t.R7$(),t.vxM(a.data.oneYear?8:-1),t.R7$(),t.vxM(a.data.twoYear?9:-1),t.R7$(),t.vxM(a.data.threeYear?10:-1),t.R7$(),t.vxM(a.data.fourYear?11:-1),t.R7$(),t.vxM(a.data.fiveYear?12:-1),t.R7$(),t.vxM(a.data.sixYear?13:-1),t.R7$(),t.vxM(a.data.sevenYear?14:-1),t.R7$(),t.vxM(a.data.eightYear?15:-1),t.R7$(),t.vxM(a.data.nineYear?16:-1),t.R7$(),t.vxM(a.data.tenYear?17:-1),t.R7$(2),t.JRh(a.inceptionDate)}}function fr(n,s){if(1&n&&t.Z7z(0,hr,20,19,"tr",null,t.Vm6),2&n){let e;const a=t.XpG(3);t.Dyx(null==(e=a.selectedPeriod())?null:e.tableRows)}}function _r(n,s){if(1&n&&(t.j41(0,"div",9)(1,"table",16)(2,"caption",17),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"thead")(6,"tr")(7,"th",18)(8,"div",19)(9,"div",20)(10,"span",21),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.j41(13,"span",22),t.EFF(14),t.nI1(15,"translate"),t.k0s()()()(),t.DNE(16,tr,3,3,"th",23),t.Z7z(17,er,2,1,"th",23,t.Vm6),t.k0s()(),t.j41(19,"tbody"),t.DNE(20,fr,2,0),t.k0s()()()),2&n){let e,a;const o=t.XpG(2);t.R7$(3),t.SpI(" ",t.bMT(4,6,"products.performance-calendar-year-heading")," "),t.R7$(8),t.JRh(t.bMT(12,8,o.selectedPeriodEndLabel())),t.R7$(3),t.Lme("",t.bMT(15,10,"pds.AS_OF_DATE")," ",o.asOfDate(),""),t.R7$(2),t.vxM(o.config().showCurrency?16:-1),t.R7$(),t.Dyx(null==(e=o.selectedPeriod())?null:e.tableCols),t.R7$(3),t.vxM(null!=(a=o.selectedPeriod())&&a.tableRows?20:-1)}}function gr(n,s){1&n&&t.eu8(0)}function Cr(n,s){if(1&n&&t.DNE(0,gr,1,0,"ng-container",28),2&n){t.XpG(2);const e=t.sdS(3);t.Y8G("ngTemplateOutlet",e)}}function br(n,s){if(1&n&&(t.j41(0,"h6"),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.E5c(" ",t.bMT(2,3,"products.perf-inception-mifid")," ",e.inceptionDate()," ",t.bMT(3,5,"products.perf-inception-mifid-end")," ")}}function xr(n,s){if(1&n&&(t.j41(0,"div",10),t.nrm(1,"frk-performace-all-shareclass",29),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Y8G("config",e.allShareClassConfig())("isCardView",e.isCardView())("showYearColumns",!0)}}function Dr(n,s){1&n&&t.nrm(0,"frk-proximal",11)}
1function vr(n,s){if(1&n&&(t.j41(0,"div",3)(1,"h3",4),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.nrm(4,"frk-footnote",5),t.k0s(),t.j41(5,"p",6),t.EFF(6),t.nI1(7,"translate"),t.k0s(),t.DNE(8,Zs,2,1,"div",7),t.nrm(9,"frk-proximal",8),t.DNE(10,Js,3,2)(11,Ks,4,3,"ng-container")(12,_r,21,12,"div",9)(13,Cr,1,1,"ng-container")(14,br,4,7,"h6")(15,xr,2,3,"div",10)(16,Dr,1,0,"frk-proximal",11)),2&n){let e;const a=t.XpG();t.R7$(2),t.SpI(" ",t.bMT(3,10,"products.performance-calendar-year-heading")," "),t.R7$(2),t.Y8G("componentId",a.config().componentId),t.R7$(2),t.Lme(" ",t.bMT(7,12,"pds.PERF_AS_OF_DATE")," ",a.asOfDate()," "),t.R7$(2),t.vxM(a.periodEnds().length>1?8:-1),t.R7$(2),t.vxM(a.showCalendarYearHighChart()?10:11),t.R7$(2),t.vxM(a.isCardView()?13:12),t.R7$(2),t.vxM(a.config().showMifid?14:-1),t.R7$(),t.vxM(a.showAllShareClassesComponent()?15:-1),t.R7$(),t.vxM(null!=(e=a.selectedPeriod())&&null!=e.tableRows&&e.tableRows.length?16:-1)}}function Tr(n,s){if(1&n&&t.eu8(0,34),2&n){let e;const a=t.XpG(2).$implicit,o=t.XpG(3),i=t.sdS(5);t.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.l_i(2,Rt,null==(e=o.selectedPeriod())||null==e.tableCols?null:e.tableCols[0],a.data.yearToDate))}}function Sr(n,s){if(1&n&&t.eu8(0,34),2&n){let e;const a=t.XpG(2).$implicit,o=t.XpG(3),i=t.sdS(5);t.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.l_i(2,Rt,null==(e=o.selectedPeriod())||null==e.tableCols?null:e.tableCols[1],a.data.oneYear))}}function yr(n,s){if(1&n&&t.eu8(0,34),2&n){let e;const a=t.XpG(2).$implicit,o=t.XpG(3),i=t.sdS(5);t.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.l_i(2,Rt,null==(e=o.selectedPeriod())||null==e.tableCols?null:e.tableCols[2],a.data.twoYear))}}
1function Rr(n,s){if(1&n&&t.eu8(0,34),2&n){let e;const a=t.XpG(2).$implicit,o=t.XpG(3),i=t.sdS(5);t.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.l_i(2,Rt,null==(e=o.selectedPeriod())||null==e.tableCols?null:e.tableCols[3],a.data.threeYear))}}function kr(n,s){if(1&n&&t.eu8(0,34),2&n){let e;const a=t.XpG(2).$implicit,o=t.XpG(3),i=t.sdS(5);t.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.l_i(2,Rt,null==(e=o.selectedPeriod())||null==e.tableCols?null:e.tableCols[4],a.data.fourYear))}}function Er(n,s){if(1&n&&t.eu8(0,34),2&n){let e;const a=t.XpG(2).$implicit,o=t.XpG(3),i=t.sdS(5);t.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.l_i(2,Rt,null==(e=o.selectedPeriod())||null==e.tableCols?null:e.tableCols[5],a.data.fiveYear))}}function Fr(n,s){if(1&n&&t.eu8(0,34),2&n){let e;const a=t.XpG(2).$implicit,o=t.XpG(3),i=t.sdS(5);t.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.l_i(2,Rt,null==(e=o.selectedPeriod())||null==e.tableCols?null:e.tableCols[6],a.data.sixYear))}}function $r(n,s){if(1&n&&t.eu8(0,34),2&n){let e;const a=t.XpG(2).$implicit,o=t.XpG(3),i=t.sdS(5);t.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.l_i(2,Rt,null==(e=o.selectedPeriod())||null==e.tableCols?null:e.tableCols[7],a.data.sevenYear))}}function Ar(n,s){if(1&n&&t.eu8(0,34),2&n){let e;const a=t.XpG(2).$implicit,o=t.XpG(3),i=t.sdS(5);t.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.l_i(2,Rt,null==(e=o.selectedPeriod())||null==e.tableCols?null:e.tableCols[8],a.data.eightYear))}}function Mr(n,s){if(1&n&&t.eu8(0,34),2&n){let e;const a=t.XpG(2).$implicit,o=t.XpG(3),i=t.sdS(5);t.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.l_i(2,Rt,null==(e=o.selectedPeriod())||null==e.tableCols?null:e.tableCols[9],a.data.nineYear))}}function Pr(n,s){if(1&n&&t.eu8(0,34),2&n){let e;const a=t.XpG(2).$implicit,o=t.XpG(3),i=t.sdS(5);t.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.l_i(2,Rt,null==(e=o.selectedPeriod())||null==e.tableCols?null:e.tableCols[10],a.data.tenYear))}}function Ir(n,s){if(1&n&&(t.DNE(0,Tr,1,5,"ng-container",34)(1,Sr,1,5,"ng-container",34)(2,yr,1,5,"ng-container",34)(3,Rr,1,5,"ng-container",34)(4,kr,1,5,"ng-container",34)(5,Er,1,5,"ng-container",34)(6,Fr,1,5,"ng-container",34)(7,$r,1,5,"ng-container",34)(8,Ar,1,5,"ng-container",34)(9,Mr,1,5,"ng-container",34)(10,Pr,1,5,"ng-container",34),t.eu8(11,34)),2&n){let e;const a=t.XpG().$implicit,o=t.XpG(3),i=t.sdS(5);t.vxM(a.data.yearToDate?0:-1),t.R7$(),t.vxM(a.data.oneYear?1:-1),t.R7$(),t.vxM(a.data.twoYear?2:-1),t.R7$(),t.vxM(a.data.threeYear?3:-1),t.R7$(),t.vxM(a.data.fourYear?4:-1),t.R7$(),t.vxM(a.data.fiveYear?5:-1),t.R7$(),t.vxM(a.data.sixYear?6:-1),t.R7$(),t.vxM(a.data.sevenYear?7:-1),t.R7$(),t.vxM(a.data.eightYear?8:-1),t.R7$(),t.vxM(a.data.nineYear?9:-1),t.R7$(),t.vxM(a.data.tenYear?10:-1),t.R7$(),t.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.l_i(13,Rt,null==(e=o.selectedPeriod())||null==e.tableCols?null:e.tableCols[11],a.data.asOfDate))}}function wr(n,s){1&n&&(t.j41(0,"div",35),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",36)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.less-details")," "),t.R7$(2),t.Y8G("size",16))}function Nr(n,s){1&n&&(t.j41(0,"div",35),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",37)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.more-details")," "),t.R7$(2),t.Y8G("size",16))}function Gr(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",30)(1,"header",31)(2,"div")(3,"div",32),t.nrm(4,"span",25),t.EFF(5),t.k0s()()(),t.DNE(6,Ir,12,16),t.j41(7,"button",33),t.bIt("click",function(){const o=t.eBV(e).$index,i=t.XpG(3);return t.Njj(i.toggleCard(o))}),t.DNE(8,wr,4,4)(9,Nr,4,4),t.k0s()()}if(2&n){let e,a,o,i,r,l,c,p,_,E,y;const L=s.$implicit,Z=s.$index,pt=t.XpG(3);t.R7$(),t.AVh("bg-nc1-100",null==(e=pt.cardClosedState())?null:e[Z])("text-nc1-950",null==(a=pt.cardClosedState())?null:a[Z])("bg-pc1-800",!(null!=(o=pt.cardClosedState())&&o[Z]))("text-nc1-0",!(null!=(i=pt.cardClosedState())&&i[Z])),t.Y8G("id","table-card-header-calendar-year"+Z),t.R7$(3),t.Y8G("ngClass",t.l_i(20,qt,`bg-benchmark-color${Z}`,null!=(r=pt.cardClosedState())&&r[Z]?"":"border-[2px] border-white")),t.R7$(),t.SpI(" ",L.label," "),t.R7$(),t.vxM(null!=(l=pt.cardClosedState())&&l[Z]?-1:6),t.R7$(),t.AVh("bg-pc1-500",null==(c=pt.cardClosedState())?null:c[Z])("bg-pc1-800",!(null!=(p=pt.cardClosedState())&&p[Z])),t.BMQ("aria-expanded",null!=(_=pt.cardClosedState())&&_[Z]?"false":"true")("aria-controls","table-card-content-calendar-year"+Z),t.R7$(),t.vxM(null!=(E=pt.cardClosedState())&&E[Z]?-1:8),t.R7$(),t.vxM(null!=(y=pt.cardClosedState())&&y[Z]?9:-1)}}
1function Or(n,s){if(1&n&&t.Z7z(0,Gr,10,23,"article",30,t.Vm6),2&n){let e;const a=t.XpG(2);t.Dyx(null==(e=a.selectedPeriod())?null:e.tableRows)}}function Yr(n,s){if(1&n&&t.DNE(0,Or,2,0),2&n){let e;const a=t.XpG();t.vxM(null!=(e=a.selectedPeriod())&&e.tableRows?0:-1)}}function jr(n,s){if(1&n&&(t.j41(0,"dl",38)(1,"div",39)(2,"dt",40)(3,"div",41),t.EFF(4),t.k0s()(),t.j41(5,"dd",42)(6,"div",43),t.EFF(7),t.k0s()()()()),2&n){const e=s.label,a=s.value;t.R7$(4),t.JRh(e),t.R7$(3),t.JRh(a)}}const Lr=(n,s)=>({"lg:w-3/4":n,"lg:w-1/2":s}),Br=(n,s)=>({"lg:w-1/4":n,"lg:w-1/2":s});function Vr(n,s){if(1&n&&(t.j41(0,"frk-tooltip",5),t.nI1(1,"translate"),t.nI1(2,"translate"),t.nrm(3,"p",15),t.nI1(4,"translate"),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("a11yPretext",t.bMT(1,4,"products.performance-cumulative-section-header-tooltip-pretext"))("placement",e.tooltipPlacement)("ariaLabel",t.bMT(2,6,"common.aria-label.tooltip")),t.R7$(3),t.Y8G("innerHTML",t.bMT(4,8,"products.cumulative-total-returns-section-tooltip"),t.npT)}}function Xr(n,s){if(1&n&&t.nrm(0,"div",16),2&n){const a=s.$index;t.Y8G("innerHTML",s.$implicit,t.npT),t.BMQ("data-testid","chart-proximal-top-"+a)}}function Hr(n,s){if(1&n&&t.Z7z(0,Xr,1,2,"div",16,t.Vm6),2&n){const e=t.XpG(2);t.Dyx(e.chartProximalTop())}}function Ur(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",10)(1,"frk-toggle",17),t.bIt("toggleActive",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onChartCalculationUpdate(o))}),t.k0s()()}if(2&n){const e=t.XpG(2);t.R7$(),t.Y8G("toggleButtons",e.chartCalculationToggle())}}function zr(n,s){if(1&n&&(t.j41(0,"option",22),t.EFF(1),t.k0s()),2&n){const e=s.$implicit,a=t.XpG(4);t.Y8G("value",e.value)("selected",e.value===a.selectedPeriodEnd()),t.R7$(),t.SpI(" ",e.text," ")}}function Wr(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",18),t.nrm(1,"label",19),t.j41(2,"div",20)(3,"select",21),t.nI1(4,"translate"),t.nI1(5,"translate"),t.bIt("change",function(o){t.eBV(e);const i=t.XpG(3);return t.Njj(i.onPeriodEndSelectChange(o))}),t.Z7z(6,zr,2,3,"option",22,it),t.k0s()()()}if(2&n){const e=t.XpG(3);t.R7$(),t.Y8G("for",e.elementIdList.periodEnd),t.R7$(2),t.Y8G("id",e.elementIdList.periodEnd),t.BMQ("name",t.bMT(4,4,"products.period-end-label"))("aria-label",t.bMT(5,6,"products.period-end-label")),t.R7$(3),t.Dyx(e.periodEnds())}}function qr(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",10)(1,"frk-toggle",17),t.bIt("toggleActive",function(o){t.eBV(e);const i=t.XpG(3);return t.Njj(i.onPeriodEndChange(o))}),t.k0s()()}if(2&n){const e=t.XpG(3);t.R7$(),t.Y8G("toggleButtons",e.periodEnds())}}function Qr(n,s){if(1&n&&t.DNE(0,Wr,8,8,"div",18)(1,qr,2,1,"div",10),2&n){const e=t.XpG(2);t.vxM(e.usePeriodEndDropdown()?0:1)}}function Zr(n,s){if(1&n&&(t.j41(0,"option",22),t.EFF(1),t.k0s()),2&n){const e=s.$implicit,a=t.XpG(3);t.Y8G("value",e.value)("selected",e.value===a.selectedTimeperiod()),t.R7$(),t.SpI(" ",e.label," ")}}function Jr(n,s){if(1&n){const e=t.RV6();t.j41(0,"div")(1,"label",19),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",20)(5,"select",21),t.nI1(6,"translate"),t.nI1(7,"translate"),t.bIt("change",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onTimeperiodChange(o))}),t.Z7z(8,Zr,2,3,"option",22,z),t.k0s()()()}if(2&n){const e=t.XpG(2);t.R7$(),t.Y8G("for",e.elementIdList.select),t.R7$(),t.JRh(t.bMT(3,5,"products.TIME_PERIOD")),t.R7$(3),t.Y8G("id",e.elementIdList.select),t.BMQ("name",t.bMT(6,7,"products.performance-select-timeperiod-name"))("aria-label",t.bMT(7,9,"products.performance-select-timeperiod-label")),t.R7$(3),t.Dyx(e.timeperiods())}}function Kr(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",11)(1,"div",23)(2,"frk-month-picker",24),t.nI1(3,"translate"),t.nI1(4,"translate"),t.nI1(5,"translate"),t.bIt("selected",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onCustomDateRangeInput("fromDate",o))}),t.k0s()(),t.j41(6,"div",23)(7,"frk-month-picker",24),t.nI1(8,"translate"),t.nI1(9,"translate"),t.nI1(10,"translate"),t.bIt("selected",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onCustomDateRangeInput("toDate",o))}),t.k0s()()()}if(2&n){const e=t.XpG(2);t.Y8G("ngClass",t.l_i(31,Br,e.showTimePeriod()&&e.chartCalculationToggle(
1).length>1,!e.showTimePeriod()||0===e.chartCalculationToggle().length)),t.R7$(2),t.Y8G("id",e.elementIdList.fromDate)("label",t.bMT(3,19,"products.calendar-from"))("min",e.customDateRangeLimit.min)("max",(null==e.customDateRangeSelection?null:e.customDateRangeSelection.toDate)||e.customDateRangeLimit.max)("value",null==e.customDateRangeSelection?null:e.customDateRangeSelection.fromDate)("placeholder",e.datePlaceholder)("selectedDateLabel",t.bMT(4,21,"common.month-selected-date"))("toggleButtonLabel",t.bMT(5,23,"common.month-change-button"))("errorMsgObj",e.errorMsgObj),t.R7$(5),t.Y8G("id",e.elementIdList.toDate)("label",t.bMT(8,25,"products.calendar-to"))("min",(null==e.customDateRangeSelection?null:e.customDateRangeSelection.fromDate)||e.customDateRangeLimit.min)("max",e.customDateRangeLimit.max)("value",null==e.customDateRangeSelection?null:e.customDateRangeSelection.toDate)("placeholder",e.datePlaceholder)("selectedDateLabel",t.bMT(9,27,"common.month-selected-date"))("toggleButtonLabel",t.bMT(10,29,"common.month-change-button"))("errorMsgObj",e.errorMsgObj)}}
1function tl(n,s){if(1&n&&(t.j41(0,"div",25),t.nrm(1,"frk-highcharts",27),t.k0s()),2&n){const e=t.XpG(3);t.R7$(),t.Y8G("chartConfig",e.chartConfig)("chartData",e.chartData())}}function el(n,s){if(1&n&&(t.DNE(0,tl,2,2,"div",25),t.nrm(1,"frk-proximal",26)),2&n){let e;const a=t.XpG(2);t.vxM(!a.showCummChart()||null!=(e=a.config().suppressionSets)&&e.includes("Cumulative")?-1:0)}}function nl(n,s){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.subLabel)}}function al(n,s){if(1&n&&(t.j41(0,"th",30)(1,"span"),t.EFF(2),t.k0s(),t.nrm(3,"br"),t.DNE(4,nl,2,1,"span"),t.k0s()),2&n){const e=s.$implicit,a=s.$index;t.Y8G("ngClass",t.l_i(3,Qt,0===a,0!==a)),t.R7$(2),t.JRh(e.label),t.R7$(2),t.vxM(e.subLabel?4:-1)}}function ol(n,s){if(1&n&&t.nrm(0,"span",32),2&n){const e=t.XpG(2).$index,a=t.XpG(3);t.Y8G("ngClass","bg-benchmark-color"+a.pointColorIndexList[e])}}function il(n,s){if(1&n&&t.nrm(0,"frk-footnote",33),2&n){const e=t.XpG().$implicit,a=t.XpG(4);t.Y8G("placement",t.eq3(2,Mt,e.footnote))("componentId",a.config().componentId)}}function sl(n,s){if(1&n&&(t.j41(0,"td",31),t.DNE(1,ol,1,1,"span",32),t.j41(2,"div"),t.EFF(3),t.DNE(4,il,1,4,"frk-footnote",33),t.k0s()()),2&n){const e=s.$implicit,a=s.$index;t.Y8G("ngClass",t.l_i(4,je,0===a,0!==a)),t.R7$(),t.vxM(0===a?1:-1),t.R7$(2),t.SpI(" ",e.value," "),t.R7$(),t.vxM(0===a?4:-1)}}function rl(n,s){if(1&n&&(t.j41(0,"tr"),t.Z7z(1,sl,5,7,"td",31,t.fX1),t.k0s()),2&n){const e=s.$implicit;t.R7$(),t.Dyx(e)}}function ll(n,s){if(1&n&&(t.j41(0,"div",12)(1,"table",28)(2,"caption",29),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"thead")(6,"tr"),t.Z7z(7,al,5,6,"th",30,z),t.k0s()(),t.j41(9,"tbody"),t.Z7z(10,rl,3,0,"tr",null,Yt),t.k0s()()()),2&n){let e,a;const o=t.XpG(2);t.R7$(3),t.SpI(" ",t.bMT(4,1,"products.performance-cumulative-heading")," "),t.R7$(4),t.Dyx(null==(e=o.tableData())?null:e.cols),t.R7$(3),t.Dyx(null==(a=o.tableData())?null:a.rows)}}function cl(n,s){1&n&&t.eu8(0)}function dl(n,s){if(1&n&&t.DNE(0,cl,1,0,"ng-container",34),2&n){t.XpG(2);const e=t.sdS(3);t.Y8G("ngTemplateOutlet",e)}}function ul(n,s){if(1&n&&t.nrm(0,"frk-performace-all-shareclass",13),2&n){const e=t.XpG(2);t.Y8G("config",e.allShareClassConfig())("isCardView",e.isCardView())}}function pl(n,s){if(1&n&&(t.j41(0,"div")(1,"div",2)(2,"h3",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.nrm(5,"frk-footnote",4),t.DNE(6,Vr,5,10,"frk-tooltip",5),t.k0s(),t.j41(7,"p",6),t.EFF(8),t.nI1(9,"translate"),t.k0s()(),t.nrm(10,"frk-proximal",7),t.DNE(11,Hr,2,0),t.j41(12,"div",8)(13,"div",9),t.DNE(14,Ur,2,1,"div",10)(15,Qr,2,1)(16,Jr,10,11,"div"),t.k0s(),t.DNE(17,Kr,11,34,"div",11),t.k0s(),t.DNE(18,el,2,1)(19,ll,12,3,"div",12)(20,dl,1,1,"ng-container")(21,ul,1,2,"frk-performace-all-shareclass",13),t.nrm(22,"frk-proximal",14)),2&n){let e;const a=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,14,"products.performance-cumulative-heading")," "),t.R7$(2),t.Y8G("componentId",a.config().componentId),t.R7$(),t.vxM(a.showToolTipForCumulative()?6:-1),t.R7$(2),t.Lme(" ",t.bMT(9,16,"products.as-of")," ",a.asOfDate()," "),t.R7$(3),t.vxM(a.showCumulativeChart()&&null!=(e=a.chartProximalTop())&&e.length?11:-1),t.R7$(2),t.Y8G("ngClass",t.l_i(18,Lr,a.showTimePeriod()&&a.chartCalculationToggle().length>1,!a.showTimePeriod()||0===a.chartCalculationToggle().length)),t.R7$(),t.vxM(a.chartCalculationToggle().length>1?14:-1),t.R7$(),t.vxM(a.periodEnds().length>1?15:-1),t.R7$(),t.vxM(a.showCumulativeChart()&&a.showTimePeriod()?16:-1),t.R7$(),t.vxM(a.showCumulativeChart()?17:-1),t.R7$(),t.vxM(a.showCumulativeChart()?18:-1),t.R7$(),t.vxM(a.isCardView()?20:19),t.R7$(2),t.vxM(a.showAllShareClassesComponent()?21:-1)}}function ml(n,s){if(1&n&&(t.j41(0,"header",39)(1,"div",40),t.nrm(2,"span",32),t.EFF(3),t.nrm(4,"frk-footnote",33),t.k0s()()),2&n){let e,a,o,i,r;const l=t.XpG().$implicit,c=t.XpG().$index,p=t.XpG(2);t.AVh("bg-nc1-100",null==(e=p.cardClosedState())?null:e[c])("text-nc1-950",null==(a=p.cardClosedState())?null:a[c])("bg-pc1-800",!(null!=(o=p.cardClosedState())&&o[c]))("text-nc1-0",!(null!=(i=p.cardClosedState())&&i[c])),t.Y8G("id",`table-card-header-cumulative-total-returns${c}`),t.R7$(2),t.Y8G("ngClass",t.l_i(13,qt,`bg-benchmark-color${c}`,null!=(r=p.cardClosedState())&&r[c]?"":"border-[2px] border-white")),t.R7$(),t.SpI(" ",l.value," "),t.R7$(),t.Y8G("placement",t.eq3(16,Mt,l.footnote))("componentId",p.config().componentId)}}
1function hl(n,s){if(1&n&&(t.j41(0,"dl",41)(1,"div",42)(2,"dt",43)(3,"div",44),t.EFF(4),t.k0s()(),t.j41(5,"dd",45)(6,"div",46),t.EFF(7),t.k0s()()()()),2&n){let e;const a=t.XpG(2),o=a.$implicit,i=a.$index,r=t.XpG(3);t.Y8G("id",`table-card-content-cumulative-total-returns${i}`),t.BMQ("aria-labelledby",`table-card-content-cumulative-total-returns${i}`),t.R7$(4),t.SpI(" ",null==(e=r.tableData())||null==e.cols||null==e.cols[i]?null:e.cols[i].label," "),t.R7$(3),t.SpI(" ",o.value," ")}}function fl(n,s){if(1&n&&t.DNE(0,hl,8,4,"dl",41),2&n){let e;const a=t.XpG(2).$index,o=t.XpG(2);t.vxM(null!=(e=o.cardClosedState())&&e[a]?-1:0)}}function _l(n,s){1&n&&t.DNE(0,ml,5,18,"header",38)(1,fl,1,1),2&n&&t.vxM(0===s.$index?0:1)}function gl(n,s){1&n&&(t.j41(0,"div",47),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",48)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.less-details")," "),t.R7$(2),t.Y8G("size",16))}function Cl(n,s){1&n&&(t.j41(0,"div",47),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",49)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.more-details")," "),t.R7$(2),t.Y8G("size",16))}function bl(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",36),t.Z7z(1,_l,2,1,null,null,t.fX1),t.j41(3,"button",37),t.bIt("click",function(){const o=t.eBV(e).$index,i=t.XpG(2);return t.Njj(i.toggleCard(o))}),t.DNE(4,gl,4,4)(5,Cl,4,4),t.k0s()()}if(2&n){let e,a,o,i,r;const l=s.$implicit,c=s.$index,p=t.XpG(2);t.R7$(),t.Dyx(l),t.R7$(2),t.AVh("bg-pc1-500",null==(e=p.cardClosedState())?null:e[c])("bg-pc1-800",!(null!=(a=p.cardClosedState())&&a[c])),t.BMQ("aria-expanded",(!(null!=(o=p.cardClosedState())&&o[c])).toString())("aria-controls","table-card-content-cumulative-total-returns-"+c),t.R7$(),t.vxM(null!=(i=p.cardClosedState())&&i[c]?-1:4),t.R7$(),t.vxM(null!=(r=p.cardClosedState())&&r[c]?5:-1)}}function xl(n,s){if(1&n&&(t.j41(0,"div",35),t.Z7z(1,bl,6,8,"article",36,Yt),t.k0s()),2&n){let e;const a=t.XpG();t.R7$(),t.Dyx(null==(e=a.tableData())?null:e.rows)}}function Dl(n,s){if(1&n&&(t.j41(0,"p",5),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Lme(" ",t.bMT(2,2,"products.as-of")," ",e.asOfDate()," ")}}function vl(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",8)(1,"frk-toggle",11),t.bIt("toggleActive",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onPeriodEndChange(o))}),t.k0s()()}if(2&n){const e=t.XpG(2);t.R7$(),t.Y8G("toggleButtons",e.periodEnds())}}function Tl(n,s){if(1&n&&t.nrm(0,"frk-highcharts",12)(1,"frk-proximal",13),2&n){const e=t.XpG(2);t.Y8G("chartConfig",e.chartConfig)("chartData",e.chartData())}}function Sl(n,s){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.subLabel)}}function yl(n,s){if(1&n&&(t.j41(0,"th",17)(1,"span"),t.EFF(2),t.k0s(),t.nrm(3,"br"),t.DNE(4,Sl,2,1,"span"),t.k0s()),2&n){const e=s.$implicit,a=s.$index;t.Y8G("ngClass",t.l_i(3,Qt,0===a,0!==a)),t.R7$(2),t.JRh(e.label),t.R7$(2),t.vxM(e.subLabel?4:-1)}}function Rl(n,s){if(1&n&&t.nrm(0,"span",19),2&n){const e=t.XpG(3).$index,a=t.XpG(4);t.Y8G("ngClass","bg-benchmark-color"+(a.chartConfig.colors?e%a.chartConfig.colors.length:e))}}function kl(n,s){if(1&n&&t.nrm(0,"frk-footnote",20),2&n){const e=t.XpG().$implicit,a=t.XpG(6);t.Y8G("placement",t.eq3(2,Mt,e.footnote))("componentId",a.config().componentId)}}function El(n,s){if(1&n&&(t.j41(0,"td",18),t.DNE(1,Rl,1,1,"span",19),t.j41(2,"div"),t.EFF(3),t.DNE(4,kl,1,4,"frk-footnote",20),t.k0s()()),2&n){const e=s.$implicit,a=s.$index;t.Y8G("ngClass",t.l_i(4,je,0===a,0!==a)),t.R7$(),t.vxM(0===a?1:-1),t.R7$(2),t.SpI(" ",e.value," "),t.R7$(),t.vxM(0===a?4:-1)}}function Fl(n,s){if(1&n&&(t.j41(0,"tr"),t.Z7z(1,El,5,7,"td",18,t.fX1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Dyx(e)}}function $l(n,s){1&n&&t.DNE(0,Fl,3,0,"tr"),2&n&&t.vxM(s.$implicit.length?0:-1)}function Al(n,s){if(1&n&&(t.j41(0,"table",14)(1,"caption",16),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"thead")(5,"tr"),t.Z7z(6,yl,5,6,"th",17,z),t.k0s()(),t.j41(8,"tbody"),t.Z7z(9,$l,1,1,null,null,Yt),t.k0s()()),2&n){let e,a;const o=t.XpG(3);t.R7$(2),t.SpI(" ",t.bMT(3,1,"products.performance-annualized-heading")," "),t.R7$(4),t.Dyx(null==(e=o.tableData())?null:e.cols),t.R7$(3),t.Dyx(null==(a=o.tableData())?null:a.rows)}}function Ml(n,s){1&n&&(t.j41(0,"div",15)(1,"h4",21),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n&&(t.R7$(2),t.SpI(" ",t.bMT(3,1,"products.no-performance-hist-data")," "))}
1function Pl(n,s){if(1&n&&t.DNE(0,Al,11,3,"table",14)(1,Ml,4,3,"div",15),2&n){let e;const a=t.XpG(2);t.vxM(null!==(e=null==(e=a.tableData())||null==e.rows?null:e.rows.length)&&void 0!==e&&e?0:1)}}function Il(n,s){1&n&&t.eu8(0)}function wl(n,s){if(1&n&&t.DNE(0,Il,1,0,"ng-container",22),2&n){t.XpG(2);const e=t.sdS(3);t.Y8G("ngTemplateOutlet",e)}}function Nl(n,s){if(1&n&&(t.j41(0,"div",9),t.nrm(1,"frk-performace-all-shareclass",23),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Y8G("config",e.allShareClassConfig())("isCardView",e.isCardView())}}function Gl(n,s){1&n&&t.nrm(0,"frk-proximal",10)}function Ol(n,s){if(1&n&&(t.j41(0,"div")(1,"div",2)(2,"h3",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.nrm(5,"frk-footnote",4),t.k0s(),t.DNE(6,Dl,3,4,"p",5),t.k0s(),t.nrm(7,"frk-proximal",6),t.j41(8,"div",7),t.DNE(9,vl,2,1,"div",8),t.k0s(),t.j41(10,"div",9),t.DNE(11,Tl,2,2),t.k0s(),t.DNE(12,Pl,2,1)(13,wl,1,1,"ng-container")(14,Nl,2,2,"div",9)(15,Gl,1,0,"frk-proximal",10)),2&n){let e,a,o;const i=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,9,"products.performance-discrete-returns-heading")," "),t.R7$(2),t.Y8G("componentId",i.config().componentId),t.R7$(),t.vxM(null!==(e=null==(e=i.tableData())||null==e.rows?null:e.rows.length)&&void 0!==e&&e?6:-1),t.R7$(),t.Y8G("placement",t.lJ4(11,In)),t.R7$(2),t.vxM(i.periodEnds().length>1?9:-1),t.R7$(2),t.vxM((null!==(a=null==(a=i.tableData())||null==a.rows?null:a.rows.length)&&void 0!==a?a:0)>0&&(null==(a=i.config().suppressionSets)||!a.includes("Annualized"))&&i.isFundOneYearOld()?11:-1),t.R7$(),t.vxM(i.isCardView()?13:12),t.R7$(2),t.vxM(i.showAllShareClassesComponent()?14:-1),t.R7$(),t.vxM(null!==(o=null==(o=i.tableData())||null==o.rows?null:o.rows.length)&&void 0!==o&&o?15:-1)}}function Yl(n,s){if(1&n&&(t.j41(0,"header",28)(1,"div",29),t.nrm(2,"span",19),t.EFF(3),t.nrm(4,"frk-footnote",20),t.k0s(),t.j41(5,"div",30),t.EFF(6),t.k0s(),t.j41(7,"div",31),t.EFF(8),t.nI1(9,"translate"),t.k0s()()),2&n){let e,a,o,i,r,l,c,p;const _=t.XpG().$implicit,E=t.XpG(2).$index,y=t.XpG(3);t.AVh("bg-nc1-100",null==(e=y.cardClosedState())?null:e[E])("text-nc1-950",null==(a=y.cardClosedState())?null:a[E])("bg-pc1-800",!(null!=(o=y.cardClosedState())&&o[E]))("text-nc1-0",!(null!=(i=y.cardClosedState())&&i[E])),t.Y8G("id",`table-card-header-avg-annual-total-returns${E}`),t.R7$(2),t.Y8G("ngClass",t.l_i(22,qt,`bg-benchmark-color${E}`,null!=(r=y.cardClosedState())&&r[E]?"":"border-[2px] border-white")),t.R7$(),t.SpI(" ",_.value," "),t.R7$(),t.Y8G("placement",t.eq3(25,Mt,_.footnote))("componentId",y.config().componentId),t.R7$(),t.AVh("text-nc1-0",!(null!=(l=y.cardClosedState())&&l[E])),t.R7$(),t.SpI(" ",null==(c=y.tableData())||null==c.cols||null==c.cols[0]?null:c.cols[0].periodEnd," "),t.R7$(),t.AVh("text-nc1-0",!(null!=(p=y.cardClosedState())&&p[E])),t.R7$(),t.Lme(" ",t.bMT(9,20,"products.as-of")," ",y.asOfDate()," ")}}function jl(n,s){if(1&n&&(t.j41(0,"dl",32)(1,"div",33)(2,"dt",34)(3,"div",35),t.EFF(4),t.k0s()(),t.j41(5,"dd",36)(6,"div",37),t.EFF(7),t.k0s()()()()),2&n){let e;const a=t.XpG(2),o=a.$implicit,i=a.$index,r=t.XpG(5);t.Y8G("id",`table-card-content-avg-annual-total-returns${i}`),t.BMQ("aria-labelledby",`table-card-content-avg-annual-total-returns${i}`),t.R7$(4),t.SpI(" ",null==(e=r.tableData())||null==e.cols||null==e.cols[i]?null:e.cols[i].label," "),t.R7$(3),t.SpI(" ",o.value," ")}}function Ll(n,s){if(1&n&&t.DNE(0,jl,8,4,"dl",32),2&n){let e;const a=t.XpG(3).$index,o=t.XpG(3);t.vxM(null!=(e=o.cardClosedState())&&e[a]?-1:0)}}function Bl(n,s){1&n&&t.DNE(0,Yl,10,27,"header",27)(1,Ll,1,1),2&n&&t.vxM(0===s.$index?0:1)}function Vl(n,s){1&n&&(t.j41(0,"div",38),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",39)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.less-details")," "),t.R7$(2),t.Y8G("size",16))}function Xl(n,s){1&n&&(t.j41(0,"div",38),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",40)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.more-details")," "),t.R7$(2),t.Y8G("size",16))}function Hl(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",25),t.Z7z(1,Bl,2,1,null,null,t.fX1),t.j41(3,"button",26),t.bIt("click",function(){t.eBV(e);const o=t.XpG().$index,i=t.XpG(3);return t.Njj(i.toggleCard(o))}),t.DNE(4,Vl,4,4)(5,Xl,4,4),t.k0s()()}if(2&n){let e,a,o,i,r;const l=t.XpG(),c=l.$implicit,p=l.$index,_=t.XpG(3);t.R7$(),t.Dyx(c),t.R7$(2),t.AVh("bg-pc1-500",null==(e=_.cardClosedState())?null:e[p])("bg-pc1-800",!(null!=(a=_.cardClosedState())&&a[p])),t.BMQ("aria-expanded",(!(null!=(o=_.cardClosedState())&&o[p])).toString())("aria-controls","table-card-content-avg-annual-total-returns"+p),t.R7$(),t.vxM(null!=(i=_.cardClosedState())&&i[p]?-1:4),t.R7$(),t.vxM(null!=(r=_.cardClosedState())&&r[p]?5:-1)}}function Ul(n,s){1&n&&t.DNE(0,Hl,6,8,"article",25),2&n&&t.vxM(s.$implicit.length?0:-1)}
1function zl(n,s){if(1&n&&(t.j41(0,"div",24),t.Z7z(1,Ul,1,1,null,null,Yt),t.k0s()),2&n){let e;const a=t.XpG(2);t.R7$(),t.Dyx(null==(e=a.tableData())?null:e.rows)}}function Wl(n,s){1&n&&(t.j41(0,"div",15)(1,"h4",21),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n&&(t.R7$(2),t.SpI(" ",t.bMT(3,1,"products.no-performance-hist-data")," "))}function ql(n,s){if(1&n&&t.DNE(0,zl,3,0,"div",24)(1,Wl,4,3,"div",15),2&n){let e;const a=t.XpG();t.vxM(null!==(e=null==(e=a.tableData())||null==e.rows?null:e.rows.length)&&void 0!==e&&e?0:1)}}function Ql(n,s){1&n&&t.nrm(0,"frk-proximal",6)}function Zl(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",7)(1,"div",11)(2,"div",12)(3,"frk-toggle",13),t.bIt("toggleActive",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onViewToggleChanged(o))}),t.k0s()()()()}if(2&n){const e=t.XpG(2);t.R7$(3),t.Y8G("toggleButtons",e.toggleButtons)}}function Jl(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",8)(1,"frk-toggle",14),t.bIt("toggleActive",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onPeriodEndChange(o))}),t.k0s()()}if(2&n){const e=t.XpG(2);t.R7$(),t.Y8G("toggleButtons",e.periodEnds())}}function Kl(n,s){1&n&&t.eu8(0)}function tc(n,s){if(1&n&&t.DNE(0,Kl,1,0,"ng-container",15),2&n){t.XpG(2);const e=t.sdS(3);t.Y8G("ngTemplateOutlet",e)}}function ec(n,s){if(1&n&&(t.nrm(0,"frk-proximal",16),t.j41(1,"div",17),t.nrm(2,"frk-highcharts",18),t.k0s(),t.nrm(3,"frk-proximal",19)),2&n){const e=t.XpG(2);t.R7$(2),t.Y8G("chartConfig",e.chartConfig)("chartData",e.chartData())}}function nc(n,s){if(1&n&&t.nrm(0,"frk-performace-all-shareclass",9),2&n){const e=t.XpG(2);t.Y8G("config",e.allShareClassConfig())("showYearColumns",!0)("isCardView",e.isCardView())}}function ac(n,s){1&n&&t.nrm(0,"frk-proximal",10)}function oc(n,s){if(1&n&&(t.j41(0,"div")(1,"div",3)(2,"h3",4),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"p",5),t.EFF(6),t.nI1(7,"translate"),t.k0s()(),t.DNE(8,Ql,1,0,"frk-proximal",6)(9,Zl,4,1,"div",7)(10,Jl,2,1,"div",8)(11,tc,1,1,"ng-container")(12,ec,4,2)(13,nc,1,3,"frk-performace-all-shareclass",9)(14,ac,1,0,"frk-proximal",10)),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.i5U(4,9,"products.performance-tab-monthly-total-returns",e.productId())," "),t.R7$(3),t.Lme(" ",t.bMT(7,12,"products.as-of")," ",e.asOfDate()," "),t.R7$(2),t.vxM(e.displayTableData()?8:-1),t.R7$(),t.vxM(e.showViewToggle()?9:-1),t.R7$(),t.vxM(e.showPeriodEnd()?10:-1),t.R7$(),t.vxM("table"===e.selectedTab()?11:12),t.R7$(2),t.vxM(e.showAllShareClassesComponent()?13:-1),t.R7$(),t.vxM(e.displayTableData()?14:-1)}}function ic(n,s){if(1&n&&(t.j41(0,"th",23)(1,"span"),t.EFF(2),t.k0s()()),2&n){const e=s.$implicit,a=s.$index;t.Y8G("ngClass",t.l_i(2,Qt,0===a,0!==a)),t.R7$(2),t.JRh(e.label)}}function sc(n,s){if(1&n&&(t.j41(0,"td",24)(1,"div"),t.EFF(2),t.k0s()()),2&n){const e=s.$implicit,a=s.$index;t.Y8G("ngClass",t.l_i(2,je,0===a,0!==a)),t.R7$(2),t.SpI(" ",e.value," ")}}function rc(n,s){if(1&n&&(t.j41(0,"tr"),t.Z7z(1,sc,3,5,"td",24,t.fX1),t.k0s()),2&n){const e=s.$implicit;t.R7$(),t.Dyx(e)}}function lc(n,s){if(1&n&&(t.j41(0,"div",20)(1,"table",21)(2,"caption",22),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"thead")(6,"tr"),t.Z7z(7,ic,3,5,"th",23,z),t.k0s()(),t.j41(9,"tbody"),t.Z7z(10,rc,3,0,"tr",null,t.fX1),t.k0s()()()),2&n){let e,a;const o=t.XpG(2);t.R7$(3),t.SpI(" ",t.bMT(4,1,"products.performance-monthly-total-returns")," "),t.R7$(4),t.Dyx(null==(e=o.displayTableData())?null:e.cols),t.R7$(3),t.Dyx(null==(a=o.displayTableData())?null:a.rows)}}function cc(n,s){1&n&&t.eu8(0)}function dc(n,s){if(1&n&&t.DNE(0,cc,1,0,"ng-container",15),2&n){t.XpG(2);const e=t.sdS(5);t.Y8G("ngTemplateOutlet",e)}}function uc(n,s){if(1&n&&t.DNE(0,lc,12,3,"div",20)(1,dc,1,1,"ng-container"),2&n){const e=t.XpG();t.vxM(e.isCardView()?1:0)}}function pc(n,s){if(1&n&&(t.j41(0,"header",29)(1,"div",30),t.EFF(2),t.k0s()()),2&n){let e,a,o,i;const r=t.XpG().$implicit,l=t.XpG().$index,c=t.XpG(2);t.AVh("bg-nc1-100",null==(e=c.cardClosedState())?null:e[l])("text-nc1-950",null==(a=c.cardClosedState())?null:a[l])("bg-pc1-800",!(null!=(o=c.cardClosedState())&&o[l]))("text-nc1-0",!(null!=(i=c.cardClosedState())&&i[l])),t.Y8G("id","table-card-header-monthly-total-returns"+l),t.R7$(2),t.SpI(" ",r.value," ")}}function mc(n,s){if(1&n&&(t.j41(0,"dl",31)(1,"div",32)(2,"dt",33)(3,"div",34),t.EFF(4),t.k0s()(),t.j41(5,"dd",35)(6,"div",36),t.EFF(7),t.k0s()()()()),2&n){let e;const a=t.XpG(2),o=a.$implicit,i=a.$index,r=t.XpG(3);t.Y8G("id","table-card-content-monthly-total-returns"+i),t.BMQ("aria-labelledby","table-card-content-monthly-total-returns"+i),t.R7$(4),t.SpI(" ",null==(e=r.displayTableData())||null==e.cols||null==e.cols[i]?null:e.cols[i].label," "),t.R7$(3),t.SpI(" ",o.value," ")}}function hc(n,s){if(1&n&&t.DNE(0,mc,8,4,"dl",31),2&n){let e;const a=t.XpG(2).$index,o=t.XpG(2);t.vxM(null!=(e=o.cardClosedState())&&e[a]?-1:0)}}function fc(n,s){1&n&&t.DNE(0,pc,3,10,"header",28)(1,hc,1,1),2&n&&t.vxM(0===s.$index?0:1)}function _c(n,s){1&n&&(t.j41(0,"div",37),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",38)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.less-detail
1s")," "),t.R7$(2),t.Y8G("size",16))}function gc(n,s){1&n&&(t.j41(0,"div",37),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",39)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.more-details")," "),t.R7$(2),t.Y8G("size",16))}function Cc(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",26),t.Z7z(1,fc,2,1,null,null,t.fX1),t.j41(3,"button",27),t.bIt("click",function(){const o=t.eBV(e).$index,i=t.XpG(2);return t.Njj(i.toggleCard(o))}),t.DNE(4,_c,4,4)(5,gc,4,4),t.k0s()()}if(2&n){let e,a,o,i;const r=s.$implicit,l=s.$index,c=t.XpG(2);t.R7$(),t.Dyx(r),t.R7$(2),t.AVh("bg-pc1-500",null==(e=c.cardClosedState())?null:e[l])("bg-pc1-800",!(null!=(a=c.cardClosedState())&&a[l])),t.BMQ("aria-controls","table-card-header"+l),t.R7$(),t.vxM(null!=(o=c.cardClosedState())&&o[l]?-1:4),t.R7$(),t.vxM(null!=(i=c.cardClosedState())&&i[l]?5:-1)}}function bc(n,s){if(1&n&&(t.j41(0,"div",25),t.Z7z(1,Cc,6,7,"article",26,t.fX1),t.k0s()),2&n){let e;const a=t.XpG();t.R7$(),t.Dyx(null==(e=a.displayTableData())?null:e.rows)}}const xc=(n,s,e,a)=>({asOfDate:n,ratingPeriod:s,starCount:e,isHollowStar:a}),Le=n=>({ratingPeriod:n,empty:!0}),wn=(n,s,e,a,o)=>({asOfDate:n,ratingPeriod:s,ratingNoOfFunds:e,starCount:a,isHollowStar:o}),Dc=(n,s,e,a,o)=>({asOfDate:n,ratingPeriod:s,starCount:e,ratingNoOfFunds:a,isHollowStar:o}),Cn=(n,s)=>({historical:n,current:s}),St=(n,s)=>s.morningstar;function vc(n,s){if(1&n&&(t.eu8(0,20),t.nI1(1,"translate")),2&n){const e=t.XpG().$implicit,a=t.XpG(3),o=t.sdS(5);t.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.ziG(4,xc,e.morningstar.asOfDate,t.bMT(1,2,"products.section-headings.overall-morningstar-rating"),e.morningstar.morningStarRatingOverall,a.isHollowStar(a.OVERALL_RATING_MIN_YEARS)))}}function Tc(n,s){if(1&n&&(t.eu8(0,20),t.nI1(1,"translate")),2&n){t.XpG(4);const e=t.sdS(5);t.Y8G("ngTemplateOutlet",e)("ngTemplateOutletContext",t.eq3(4,Le,t.bMT(1,2,"products.section-headings.overall-morningstar-rating")))}}function Sc(n,s){if(1&n&&(t.eu8(0,20),t.nI1(1,"translate")),2&n){const e=t.XpG().$implicit,a=t.XpG(3),o=t.sdS(5);t.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.s1E(4,wn,e.morningstar.asOfDate,t.bMT(1,2,"products.timeframes.3-years"),e.morningstar.monthEndNoOfFunds3yr,e.morningstar.morningStarRating3yr,a.isHollowStar(3)))}}function yc(n,s){if(1&n&&(t.eu8(0,20),t.nI1(1,"translate")),2&n){t.XpG(4);const e=t.sdS(5);t.Y8G("ngTemplateOutlet",e)("ngTemplateOutletContext",t.eq3(4,Le,t.bMT(1,2,"products.timeframes.3-years")))}}function Rc(n,s){if(1&n&&(t.eu8(0,20),t.nI1(1,"translate")),2&n){const e=t.XpG().$implicit,a=t.XpG(3),o=t.sdS(5);t.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.s1E(4,wn,e.morningstar.asOfDate,t.bMT(1,2,"products.timeframes.5-years"),e.morningstar.monthEndNoOfFunds5yr,e.morningstar.morningStarRating5yr,a.isHollowStar(5)))}}function kc(n,s){if(1&n&&(t.eu8(0,20),t.nI1(1,"translate")),2&n){t.XpG(4);const e=t.sdS(5);t.Y8G("ngTemplateOutlet",e)("ngTemplateOutletContext",t.eq3(4,Le,t.bMT(1,2,"products.timeframes.5-years")))}}function Ec(n,s){if(1&n&&(t.eu8(0,20),t.nI1(1,"translate")),2&n){const e=t.XpG().$implicit,a=t.XpG(3),o=t.sdS(5);t.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.s1E(4,Dc,e.morningstar.asOfDate,t.bMT(1,2,"products.timeframes.10-years"),e.morningstar.morningStarRating10yr,e.morningstar.monthEndNoOfFunds10yr,a.isHollowStar(10)))}}function Fc(n,s){if(1&n&&(t.eu8(0,20),t.nI1(1,"translate")),2&n){t.XpG(4);const e=t.sdS(5);t.Y8G("ngTemplateOutlet",e)("ngTemplateOutletContext",t.eq3(4,Le,t.bMT(1,2,"products.timeframes.10-years")))}}function $c(n,s){if(1&n&&t.DNE(0,vc,2,9,"ng-container",20)(1,Tc,2,6,"ng-container",20)(2,Sc,2,10,"ng-container",20)(3,yc,2,6,"ng-container",20)(4,Rc,2,10,"ng-container",20)(5,kc,2,6,"ng-container",20)(6,Ec,2,10,"ng-container",20)(7,Fc,2,6,"ng-container",20),2&n){const e=s.$implicit;t.vxM(e.morningstar.morningStarRatingOverall?0:1),t.R7$(2),t.vxM(e.morningstar.morningStarRating3yr?2:3),t.R7$(2),t.vxM(e.morningstar.morningStarRating5yr?4:5),t.R7$(2),t.vxM(e.morningstar.morningStarRating10yr?6:7)}}function Ac(n,s){1&n&&t.EFF(0),2&n&&t.SpI(" ",s.$implicit.morningstar.morningStarCategory," ")}function Mc(n,s){1&n&&t.EFF(0),2&n&&t.SpI(" ",s.$implicit.morningstar.asOfDate," ")}function Pc(n,s){if(1&n&&t.eu8(0,20),2&n){const e=s.$index,a=t.XpG().$implicit;t.XpG(4);const o=t.sdS(3);t.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.l_i(2,Cn,null==a.morningstar.morningStarStyleboxHist?null:a.morningstar.morningStarStyleboxHist.match((e+1).toString()),(e+1).toString()===a.morningstar.agnosticStyleBox))}}function Ic(n,s){if(1&n&&t.Z7z(0,Pc,1,5,"ng-container",20,t.fX1),2&n){const e=t.XpG(4);t.Dyx(e.styleboxArray)}}function wc(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.large")," ")}function Nc(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.high")," ")}function Gc(n,s){1&n&&t.DNE(0,wc,2,3)(1,Nc,2,3),2&n&&t.vxM("Equity"===s.$implicit.morningstar.morningStarStyleboxType?0:1)}function Oc(n,s){if(1&n&&t.eu8(0,20),2&n){const e=s.$index,a=t.XpG().$implicit;t.XpG(4);const o=t.sdS(3);t.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.l_i(2,Cn,null==a.morningstar.morningStarStyleboxHist?null:a.morningstar.morningStarStyleboxHist.match((e+4).toString()),(e+4).toString()===a.morningstar.agnosticStyleBox))}}function Yc(n,s){if(1&n&&t.Z7z(0,Oc,1,5,"ng-container",20,t.fX1),2&n){const e=t.XpG(4);t.Dyx(e.styleboxArray)}}function jc(n,s){if(1&n&&t.eu8(0,20),2&n){const e=s.$index,a=t.XpG().$implicit;t.XpG(4);const o=t.sdS(3);t.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.l_i(2,Cn,null==a.morningstar.morningStarStyleboxHist?null:a.morningstar.morningStarStyleboxHist.match((e+7).toString()),(e+7).toString()===a.morningstar.agnosticStyleBox))}}function Lc(n,s){if(1&n&&t.Z7z(0,jc,1,5,"ng-container",20,t.fX1),2&n){const e=t.XpG(4);t.Dyx(e.styleboxArray)}}function Bc(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.small")," ")}function Vc(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.low")," ")}function Xc(n,s){1&n&&t.DNE(0,Bc,2,3)(1,Vc,2,3),2&n&&t.vxM("Equity"===s.$implicit.morningstar.morningStarStyleboxType?0:1)}function Hc(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.value")," ")}function Uc(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.ltd")," ")}function zc(n,s){1&n&&t.DNE(0,Hc,2,3)(1,Uc,2,3),2&n&&t.vxM("Equity"===s.$implicit.morningstar.morningStarStyleboxType?0:1)}function Wc(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.blend")," ")}function qc(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.mod")," ")}function Qc(n,s){1&n&&t.DNE(0,Wc,2,3)(1,qc,2,3),2&n&&t.vxM("Equity"===s.$implicit.morningstar.morningStarStyleboxType?0:1)}function Zc(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.growth")," ")}
1function Jc(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.ext")," ")}function Kc(n,s){1&n&&t.DNE(0,Zc,2,3)(1,Jc,2,3),2&n&&t.vxM("Equity"===s.$implicit.morningstar.morningStarStyleboxType?0:1)}function td(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.morningstar-stylebox-style")," ")}function ed(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.morningstar-stylebox-duration")," ")}function nd(n,s){1&n&&t.DNE(0,td,2,3)(1,ed,2,3),2&n&&t.vxM("Equity"===s.$implicit.morningstar.morningStarStyleboxType?0:1)}function ad(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.morningstar-stylebox-size")," ")}function od(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.morningstar-stylebox-quality")," ")}function id(n,s){1&n&&t.DNE(0,ad,2,3)(1,od,2,3),2&n&&t.vxM("Equity"===s.$implicit.morningstar.morningStarStyleboxType?0:1)}function sd(n,s){if(1&n&&(t.j41(0,"dl",19)(1,"dt",15)(2,"span",16),t.EFF(3),t.nI1(4,"translate"),t.nrm(5,"frk-footnote",21),t.k0s()(),t.j41(6,"dd",22)(7,"small",23),t.Z7z(8,Mc,1,1,null,null,St),t.k0s(),t.j41(10,"div",24)(11,"table",25)(12,"caption",26)(13,"span",27),t.nrm(14,"span",28),t.EFF(15),t.nI1(16,"translate"),t.k0s(),t.j41(17,"span",27),t.nrm(18,"span",29),t.EFF(19),t.nI1(20,"translate"),t.k0s()(),t.j41(21,"tbody")(22,"tr"),t.Z7z(23,Ic,2,0,null,null,St),t.j41(25,"th",30),t.Z7z(26,Gc,2,1,null,null,St),t.k0s()(),t.j41(28,"tr"),t.Z7z(29,Yc,2,0,null,null,St),t.j41(31,"th",30),t.EFF(32),t.nI1(33,"translate"),t.k0s()(),t.j41(34,"tr"),t.Z7z(35,Lc,2,0,null,null,St),t.j41(37,"th",30),t.Z7z(38,Xc,2,1,null,null,St),t.k0s()(),t.j41(40,"tr")(41,"th",31),t.Z7z(42,zc,2,1,null,null,St),t.k0s(),t.j41(44,"th",31),t.Z7z(45,Qc,2,1,null,null,St),t.k0s(),t.j41(47,"th",31),t.Z7z(48,Kc,2,1,null,null,St),t.k0s(),t.nrm(50,"td"),t.k0s()(),t.j41(51,"tfoot")(52,"tr")(53,"td",32)(54,"span",33),t.Z7z(55,nd,2,1,null,null,St),t.k0s()()()()(),t.j41(57,"div",34),t.Z7z(58,id,2,1,null,null,St),t.k0s()(),t.nrm(60,"frk-proximal",35),t.k0s()()),2&n){const e=t.XpG(3);t.R7$(3),t.SpI(" ",t.bMT(4,5,"products.section-headings.morningstar-style-box")," "),t.R7$(2),t.Y8G("componentId",e.config().componentId),t.R7$(3),t.Dyx(e.morningstarInfo()),t.R7$(7),t.SpI(" ",t.bMT(16,7,"products.morningstar-stylebox-current")," "),t.R7$(4),t.SpI(" ",t.bMT(20,9,"products.morningstar-stylebox-historical")," "),t.R7$(4),t.Dyx(e.morningstarInfo()),t.R7$(3),t.Dyx(e.morningstarInfo()),t.R7$(3),t.Dyx(e.morningstarInfo()),t.R7$(3),t.SpI(" ",t.bMT(33,11,"products.medium")," "),t.R7$(3),t.Dyx(e.morningstarInfo()),t.R7$(3),t.Dyx(e.morningstarInfo()),t.R7$(4),t.Dyx(e.morningstarInfo()),t.R7$(3),t.Dyx(e.morningstarInfo()),t.R7$(3),t.Dyx(e.morningstarInfo()),t.R7$(7),t.Dyx(e.morningstarInfo()),t.R7$(3),t.Dyx(e.morningstarInfo())}}function rd(n,s){if(1&n&&(t.j41(0,"div",8)(1,"div",12),t.Z7z(2,$c,8,4,null,null,St),t.j41(4,"div",13)(5,"dl",14)(6,"dt",15)(7,"span",16),t.EFF(8),t.nI1(9,"translate"),t.k0s()(),t.j41(10,"dd",17),t.Z7z(11,Ac,1,1,null,null,St),t.k0s()(),t.j41(13,"div"),t.nrm(14,"frk-proximal",18),t.k0s()(),t.DNE(15,sd,61,13,"dl",19),t.k0s()()),2&n){const e=t.XpG(2);t.R7$(2),t.Dyx(e.morningstarInfo()),t.R7$(6),t.JRh(t.bMT(9,2,"products.section-headings.rating-category")),t.R7$(3),t.Dyx(e.morningstarInfo()),t.R7$(4),t.vxM(e.hasStyleBoxData()&&e.showMorningStarBox()?15:-1)}}function ld(n,s){1&n&&(t.j41(0,"div",9),t.nrm(1,"frk-heroicon",36),t.j41(2,"span",37),t.EFF(3),t.nI1(4,"translate"),t.k0s()()),2&n&&(t.R7$(),t.Y8G("size",14),t.R7$(2),t.JRh(t.bMT(4,2,"products.notification.no-data")))}function cd(n,s){if(1&n&&(t.j41(0,"div",3)(1,"div",4)(2,"h2",5),t.EFF(3),t.nI1(4,"translate"),t.nrm(5,"frk-footnote",6),t.k0s(),t.nrm(6,"img",7),t.k0s(),t.DNE(7,rd,16,4,"div",8)(8,ld,5,4,"div",9),t.k0s(),t.j41(9,"div",10),t.nrm(10,"frk-proximal",11),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,4,"products.section-headings.ratings")," "),t.R7$(2),t.Y8G("componentId",e.config().componentId),t.R7$(),t.Y8G("ngSrc",e.morningstarLogoUrl()),t.R7$(),t.vxM(e.morningstarInfo()?7:8)}}function dd(n,s){1&n&&t.nrm(0,"span",39)}function ud(n,s){if(1&n&&(t.j41(0,"td",38),t.DNE(1,dd,1,0,"span",39),t.k0s()),2&n){const a=s.current;t.AVh("bg-pc1-100",s.historical),t.R7$(),t.vxM(a?1:-1)}}function pd(n,s){if(1&n&&(t.j41(0,"frk-tooltip",42),t.nI1(1,"translate"),t.nI1(2,"translate"),t.nrm(3,"p",43),t.nI1(4,"translate"),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("placement",e.tooltipPlacement)("tooltipTitle",t.bMT(1,4,"products.ratings-title-tooltip-title"))("ariaLabel",t.bMT(2,6,"common.aria-label.tooltip")),t.R7$(3),t.Y8G("innerHTML",t.bMT(4,8,"products.ratings-title-tooltip-desc"),t.npT)}}function md(n,s){1&n&&t.EFF(0," \u2014 ")}function hd(n,s){1&n&&(t.qSk(),t.j41(0,"svg",48),t.nrm(1,"polyline",50),t.k0s())}function fd(n,s){1&n&&(t.qSk(),t.j41(0,"svg",49),t.nrm(1,"polyline",50),t.k0s())}function _d(n,s){if(1&n&&t.DNE(0,hd,2,0,":svg:svg",48)(1,fd,2,0,":svg:svg",49),2&n){const e=t.XpG(3).isHollowStar;t.vxM(e?0:1)}}function gd(n,s){if(1&n&&(t.j41(0,"span",46),t.DNE(1,_d,2,1),t.k0s()),2&n){const e=s.$index,a=t.XpG(2).starCount;t.R7$(),t.vxM(e<a?1:-1)}}function Cd(n,s){if(1&n&&(t.j41(0,"frk-tooltip",47),t.nI1(1,"translate"),t.nI1(2,"translate"),t.nrm(3,"p",43),t.nI1(4,"translate"),t.k0s()),2&n){const e=t.XpG(3);t.Y8G("a11yPretext",t.bMT(1,4,"products.morningstar-tooltip"))("placement",e.tooltipPlacement)("ariaLabel",t.bMT(2,6,"common.aria-label.tooltip")),t.R7$(3),t.Y8G("innerHTML",t.bMT(4,8,"products.morningstar-tooltip"),t.npT)}}function bd(n,s){if(1&n&&(t.j41(0,"small"),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).asOfDate;t.R7$(),t.SpI(" ",e," ")}}function xd(n,s){if(1&n&&(t.j41(0,"small"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(3).ratingNoOfFunds;t.R7$(),t.Lme("",e," ",t.bMT(2,2,"products.funds-in-category"),"")}}function Dd(n,s){if(1&n&&t.DNE(0,xd,3,4,"small"),2&n){const e=t.XpG(2).ratingNoOfFunds;t.vxM(e?0:-1)}}function vd(n,s){if(1&n&&(t.j41(0,"div",44)(1,"span",45),t.EFF(2),t.k0s(),t.Z7z(3,gd,2,1,"span",46,t.fX1),t.DNE(5,Cd,5,10,"frk-tooltip",47),t.k0s(),t.DNE(6,bd,2,1,"small")(7,Dd,1,1)),2&n){const e=t.XpG(),a=e.ratingPeriod,o=e.starCount,i=e.isHollowStar,r=t.XpG
1();t.R7$(2),t.E5c("",a,": ",o," out of ",r.maxStarsArray.length," stars \xa0"),t.R7$(),t.Dyx(r.maxStarsArray),t.R7$(2),t.vxM(i?5:-1),t.R7$(),t.vxM("Overall Morningstar Rating"===a?6:7)}}function Td(n,s){if(1&n&&(t.j41(0,"dl",40)(1,"dt",41)(2,"span",16),t.EFF(3),t.k0s(),t.DNE(4,pd,5,10,"frk-tooltip",42),t.k0s(),t.j41(5,"dd"),t.DNE(6,md,1,0)(7,vd,8,5),t.k0s()()),2&n){const e=s.ratingPeriod,a=s.empty;t.R7$(3),t.SpI(" ",e," "),t.R7$(),t.vxM("Overall Rating"===e?4:-1),t.R7$(2),t.vxM(a?6:7)}}function Sd(n,s){if(1&n&&(t.j41(0,"dd")(1,"span",6),t.EFF(2),t.k0s(),t.j41(3,"small"),t.EFF(4),t.k0s()()),2&n){const e=s.$implicit;t.R7$(2),t.JRh(e.val),t.R7$(2),t.JRh(e.label)}}function yd(n,s){if(1&n&&(t.j41(0,"header",1)(1,"h2",2),t.EFF(2,"Performance"),t.k0s(),t.j41(3,"a",3),t.EFF(4),t.k0s()(),t.j41(5,"h3",4),t.EFF(6),t.j41(7,"small"),t.EFF(8),t.k0s()(),t.j41(9,"dl",5),t.Z7z(10,Sd,5,2,"dd",null,z),t.k0s(),t.j41(12,"p"),t.EFF(13," The performance data featured represents past performance, which is no guarantee of future results. Investment return and principal value of an investment will fluctuate; therefore, you may have a gain or loss when you sell your shares. Current performance may be higher or lower than the performance data quoted. "),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.Y8G("href",e.config().linkURL,t.B4B),t.R7$(),t.JRh(e.config().linkTitle),t.R7$(2),t.Lme(" ",e.config().performanceView," ",e.config().periodEnd," "),t.R7$(2),t.SpI("As of ",e.asOfDate(),""),t.R7$(2),t.Dyx(e.items())}}const Rd=n=>({$implicit:n,index:0}),kd=(n,s)=>({$implicit:n,index:s}),Zt=(n,s)=>s.rmName;function Ed(n,s){1&n&&t.eu8(0)}function Fd(n,s){if(1&n&&(t.j41(0,"div",7),t.DNE(1,Ed,1,0,"ng-container",11),t.k0s()),2&n){let e;t.XpG(2);const a=t.sdS(16),o=t.XpG();t.R7$(),t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.eq3(2,Rd,null==(e=o.stdDev())?null:e[0]))}}function $d(n,s){if(1&n&&t.DNE(0,Fd,2,4,"div",7),2&n){let e;const a=t.XpG(2);t.vxM(null!=(e=a.stdDev())&&e.length?0:-1)}}function Ad(n,s){if(1&n&&(t.j41(0,"div",7),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Lme(" ",t.bMT(2,2,"products.performance-risk-measures-benchmark")," ",e.benchmarkName()," ")}}function Md(n,s){1&n&&(t.j41(0,"th",19),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"products.timeframes.1-year")," "))}function Pd(n,s){1&n&&(t.j41(0,"th",19),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"products.timeframes.10-years")," "))}function Id(n,s){1&n&&(t.j41(0,"th",19),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"products.timeframes.since-inception")," "))}function wd(n,s){if(1&n&&(t.j41(0,"div",20)(1,"frk-tooltip",23),t.nI1(2,"translate"),t.nrm(3,"p",24),t.k0s()()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Y8G("ariaLabel",t.bMT(2,2,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",e.tooltip,t.npT)}}function Nd(n,s){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.year1Val," ")}}function Gd(n,s){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.year10Val," ")}}function Od(n,s){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.valueSinceInception," ")}}function Yd(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",20)(2,"div",21),t.EFF(3),t.DNE(4,wd,4,4,"div",20),t.k0s()(),t.DNE(5,Nd,2,1,"td",22),t.j41(6,"td",22),t.EFF(7),t.k0s(),t.j41(8,"td",22),t.EFF(9),t.k0s(),t.DNE(10,Gd,2,1,"td",22)(11,Od,2,1,"td",22),t.k0s()),2&n){const e=s.$implicit,a=t.XpG(4);t.R7$(3),t.SpI(" ",e.rmName," "),t.R7$(),t.vxM(e.tooltip?4:-1),t.R7$(),t.vxM(a.show1YrPerformance()?5:-1),t.R7$(2),t.SpI(" ",e.year3Val," "),t.R7$(2),t.SpI(" ",e.year5Val," "),t.R7$(),t.vxM(a.isFundOlderThan10Yrs()?10:-1),t.R7$(),t.vxM(a.showSinceInception()?11:-1)}}function jd(n,s){if(1&n&&(t.j41(0,"div",12)(1,"table",15)(2,"caption",16),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"thead",17)(6,"tr")(7,"th",18),t.EFF(8),t.nI1(9,"translate"),t.k0s(),t.DNE(10,Md,3,3,"th",19),t.j41(11,"th",19),t.EFF(12),t.nI1(13,"translate"),t.k0s(),t.j41(14,"th",19),t.EFF(15),t.nI1(16,"translate"),t.k0s(),t.DNE(17,Pd,3,3,"th",19)(18,Id,3,3,"th",19),t.k0s()(),t.j41(19,"tbody"),t.Z7z(20,Yd,12,7,"tr",null,Zt),t.k0s()()()),2&n){const e=t.XpG(3);t.R7$(3),t.SpI(" ",t.bMT(4,7,"products.performance-risk-measures")," "),t.R7$(5),t.SpI(" ",t.bMT(9,9,"products.statistics")," "),t.R7$(2),t.vxM(e.show1YrPerformance()?10:-1),t.R7$(2),t.SpI(" ",t.bMT(13,11,"products.timeframes.3-years")," "),t.R7$(3),t.SpI(" ",t.bMT(16,13,"products.timeframes.5-years")," "),t.R7$(2),t.vxM(e.isFundOlderThan10Yrs()?17:-1),t.R7$(),t.vxM(e.showSinceInception()?18:-1),t.R7$(2),t.Dyx(e.summaryTable())}}function Ld(n,s){1&n&&(t.j41(0,"th",22),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"products.timeframes.1-year")," "))}function Bd(n,s){1&n&&(t.j41(0,"th",22),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"products.timeframes.10-years")," "))}function Vd(n,s){1&n&&(t.j41(0,"th",22),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"products.timeframes.since-inception")," "))}function Xd(n,s){1&n&&t.eu8(0)}function Hd(n,s){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.year1Val," ")}}function Ud(n,s){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.year10Val," ")}}function zd(n,s){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.valueSinceInception," ")}}function Wd(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",20),t.DNE(2,Xd,1,0,"ng-container",11),t.k0s(),t.DNE(3,Hd,2,1,"td",22),t.j41(4,"td",22),t.EFF(5),t.k0s(),t.j41(6,"td",22),t.EFF(7),t.k0s(),t.DNE(8,Ud,2,1,"td",22)(9,zd,2,1,"td",22),t.k0s()),2&n){const e=s.$implicit,a=s.$index;t.XpG(3);const o=t.sdS(16),i=t.XpG();t.R7$(2),t.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.l_i(7,kd,e,a)),t.R7$(),t.vxM(i.show1YrPerformance()?3:-1),t.R7$(2),t.SpI(" ",e.year3Val," "),t.R7$(2),t.SpI(" ",e.year5Val," "),t.R7$(),t.vxM(i.isFundOlderThan10Yrs()?8:-1),t.R7$(),t.vxM(i.showSinceInception()?9:-1)}}function qd(n,s){if(1&n&&(t.j41(0,"div",13)(1,"table",15)(2,"caption",16),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"thead",17)(6,"tr")(7,"th",25)(8,"div",21),t.EFF(9),t.nI1(10,"translate"),t.j41(11,"div",26)(12,"frk-tooltip",23),t.nI1(13,"translate"),t.nrm(14,"p",24),t.nI1(15,"translate"),t.k0s()()()(),t.DNE(16,Ld,3,3,"th",22),t.j41(17,"th",22),t.EFF(18),t.nI1(19,"translate"),t.k0s(),t.j41(20,"th",22),t.EFF(21),t.nI1(22,"translate"),t.k0s(),t.DNE(23,Bd,3,3,"th",22)(24,Vd,3,3,"th",22),t.k0s()(),t.j41(25,"tbody"),t.Z7z(26,Wd,10,10,"tr",null,Zt),t.k0s()()()),2&n){const e=t.XpG(3);t.R7$(3),t.SpI(" ",t.bMT(4,9,"products.stdDev")," "),t.R7$(6),t.SpI(" ",t.bMT(10,11,"products.stdDev")," "),t.R7$(3),t.Y8G("ariaLabel",t.bMT(13,13,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",t.bMT(15,15,"products.risk-measures-standard-deviation-tooltip"),t.npT),t.R7$(2),t.vxM(e.show1YrPerformance()?16:-1),t.R7$(2),t.SpI(" ",t.bMT(19,17,"products.timeframes.3-years")," "),t.R7$(3),t.SpI(" ",t.bMT(22,19,"products.timeframes.5-years")," "),t.R7$(2),t.vxM(e.isFundOlderThan10Yrs()?23:-1),t.R7$(),t.vxM(e.showSinceInception()?24:-1),t.R7$(2),t.Dyx(e.stdDev())}}function Qd(n,s){1&n&&(t.j41(0,"th",22),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"products.timeframes.1-year")," "))}function Zd(n,s){1&n&&(t.j41(0,"th",22),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"products.timeframes.10-years")," "))}function Jd(n,s){1&n&&(t.j41(0,"th",22),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"products.timeframes.since-inception")," "))}function Kd(n,s){if(1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n){const e=t.XpG().$implicit;t.SpI(" ",t.bMT(1,1,e.calcTypeLabel)," ")}}
1function tu(n,s){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.year1Val," ")}}function eu(n,s){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.year10Val," ")}}function nu(n,s){if(1&n&&(t.j41(0,"td",22),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.valueSinceInception," ")}}function au(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",20),t.EFF(2),t.DNE(3,Kd,2,3),t.k0s(),t.DNE(4,tu,2,1,"td",22),t.j41(5,"td",22),t.EFF(6),t.k0s(),t.j41(7,"td",22),t.EFF(8),t.k0s(),t.DNE(9,eu,2,1,"td",22)(10,nu,2,1,"td",22),t.k0s()),2&n){const e=s.$implicit,a=t.XpG(4);t.R7$(2),t.SpI(" ",e.rmName," "),t.R7$(),t.vxM(void 0!==(null==e?null:e.calcTypeLabel)?3:-1),t.R7$(),t.vxM(a.show1YrPerformance()?4:-1),t.R7$(2),t.SpI(" ",e.year3Val," "),t.R7$(2),t.SpI(" ",e.year5Val," "),t.R7$(),t.vxM(a.isFundOlderThan10Yrs()?9:-1),t.R7$(),t.vxM(a.showSinceInception()?10:-1)}}function ou(n,s){if(1&n&&(t.j41(0,"div",14)(1,"table",15)(2,"caption",16),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"thead",17)(6,"tr")(7,"th",25)(8,"div",21),t.EFF(9),t.nI1(10,"translate"),t.j41(11,"div",26)(12,"frk-tooltip",23),t.nI1(13,"translate"),t.nrm(14,"p",24),t.nI1(15,"translate"),t.k0s()()()(),t.DNE(16,Qd,3,3,"th",22),t.j41(17,"th",22),t.EFF(18),t.nI1(19,"translate"),t.k0s(),t.j41(20,"th",22),t.EFF(21),t.nI1(22,"translate"),t.k0s(),t.DNE(23,Zd,3,3,"th",22)(24,Jd,3,3,"th",22),t.k0s()(),t.j41(25,"tbody"),t.Z7z(26,au,11,7,"tr",null,Zt),t.k0s()()()),2&n){const e=t.XpG(3);t.R7$(3),t.SpI(" ",t.bMT(4,9,"products.sharpe-ratio")," "),t.R7$(6),t.SpI(" ",t.bMT(10,11,"products.sharpe-ratio")," "),t.R7$(3),t.Y8G("ariaLabel",t.bMT(13,13,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",t.bMT(15,15,"products.risk-measures-sharpe-ratio-tooltip"),t.npT),t.R7$(2),t.vxM(e.show1YrPerformance()?16:-1),t.R7$(2),t.SpI(" ",t.bMT(19,17,"products.timeframes.3-years")," "),t.R7$(3),t.SpI(" ",t.bMT(22,19,"products.timeframes.5-years")," "),t.R7$(2),t.vxM(e.isFundOlderThan10Yrs()?23:-1),t.R7$(),t.vxM(e.showSinceInception()?24:-1),t.R7$(2),t.Dyx(e.sharpeRatio())}}function iu(n,s){if(1&n&&(t.j41(0,"div",8),t.DNE(1,jd,22,15,"div",12)(2,qd,28,21,"div",13)(3,ou,28,21,"div",14),t.k0s()),2&n){let e,a,o;const i=t.XpG(2);t.R7$(),t.vxM(null!=(e=i.summaryTable())&&e.length?1:-1),t.R7$(),t.vxM(null!=(a=i.stdDev())&&a.length?2:-1),t.R7$(),t.vxM(null!=(o=i.sharpeRatio())&&o.length?3:-1)}}function su(n,s){if(1&n&&(t.j41(0,"div",33)(1,"dt",34)(2,"div",35),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"dd",36)(6,"div",37),t.EFF(7),t.k0s()()()),2&n){const e=t.XpG(2).$implicit;t.R7$(3),t.SpI(" ",t.bMT(4,2,"products.timeframes.1-year")," "),t.R7$(4),t.SpI(" ",e.year1Val," ")}}
1function ru(n,s){if(1&n&&(t.j41(0,"div",33)(1,"dt",34)(2,"div",35),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"dd",36)(6,"div",37),t.EFF(7),t.k0s()()()),2&n){const e=t.XpG(2).$implicit;t.R7$(3),t.SpI(" ",t.bMT(4,2,"products.timeframes.10-years")," "),t.R7$(4),t.SpI(" ",e.year10Val," ")}}function lu(n,s){if(1&n&&(t.j41(0,"div",33)(1,"dt",34)(2,"div",35),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"dd",36)(6,"div",37),t.EFF(7),t.k0s()()()),2&n){const e=t.XpG(2).$implicit;t.R7$(3),t.SpI(" ",t.bMT(4,2,"products.timeframes.since-inception")," "),t.R7$(4),t.SpI(" ",e.valueSinceInception," ")}}function cu(n,s){if(1&n&&(t.j41(0,"dl",31),t.DNE(1,su,8,4,"div",33),t.j41(2,"div",33)(3,"dt",34)(4,"div",35),t.EFF(5),t.nI1(6,"translate"),t.k0s()(),t.j41(7,"dd",36)(8,"div",37),t.EFF(9),t.k0s()()(),t.j41(10,"div",33)(11,"dt",34)(12,"div",35),t.EFF(13),t.nI1(14,"translate"),t.k0s()(),t.j41(15,"dd",36)(16,"div",37),t.EFF(17),t.k0s()()(),t.DNE(18,ru,8,4,"div",33)(19,lu,8,4,"div",33),t.k0s()),2&n){const e=t.XpG(),a=e.$implicit,o=e.$index,i=t.XpG(4);t.Y8G("id","summaryTableCardContent"+o),t.BMQ("aria-labelledby","summaryTableCardHeader"+o),t.R7$(),t.vxM(i.show1YrPerformance()?1:-1),t.R7$(4),t.SpI(" ",t.bMT(6,9,"products.timeframes.3-years")," "),t.R7$(4),t.SpI(" ",a.year3Val," "),t.R7$(4),t.SpI(" ",t.bMT(14,11,"products.timeframes.5-years")," "),t.R7$(4),t.SpI(" ",a.year5Val," "),t.R7$(),t.vxM(i.isFundOlderThan10Yrs()?18:-1),t.R7$(),t.vxM(i.showSinceInception()?19:-1)}}function du(n,s){1&n&&(t.j41(0,"div",38),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",39)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.less-details")," "),t.R7$(2),t.Y8G("size",16))}function uu(n,s){1&n&&(t.j41(0,"div",38),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",40)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.more-details")," "),t.R7$(2),t.Y8G("size",16))}function pu(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",28)(1,"header",29)(2,"div",30),t.EFF(3),t.j41(4,"div",20)(5,"frk-tooltip",23),t.nI1(6,"translate"),t.nrm(7,"p",24),t.k0s()()()(),t.DNE(8,cu,20,13,"dl",31),t.j41(9,"button",32),t.bIt("click",function(){const o=t.eBV(e).$implicit,i=t.XpG(4);return t.Njj(i.toggleCard(o))}),t.DNE(10,du,4,4)(11,uu,4,4),t.k0s()()}if(2&n){const e=s.$implicit,a=s.$index;t.R7$(),t.AVh("bg-nc1-100",e.isClosed)("text-nc1-950",e.isClosed)("bg-pc1-800",!e.isClosed)("text-nc1-0",!e.isClosed),t.Y8G("id","summaryTableCardHeader"+a),t.R7$(2),t.SpI(" ",e.rmName," "),t.R7$(2),t.Y8G("ariaLabel",t.bMT(6,20,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",e.elementNameLabel,t.npT),t.R7$(),t.vxM(e.isClosed?-1:8),t.R7$(),t.AVh("bg-pc1-500",e.isClosed)("bg-pc1-800",!e.isClosed),t.BMQ("aria-controls","summaryTableCardHeader"+a),t.R7$(),t.vxM(e.isClosed?-1:10),t.R7$(),t.vxM(e.isClosed?11:-1)}}function mu(n,s){if(1&n&&(t.j41(0,"div",27),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.Z7z(3,pu,12,22,"article",28,Zt)),2&n){const e=t.XpG(3);t.R7$(),t.SpI(" ",t.bMT(2,1,"products.statistics")," "),t.R7$(2),t.Dyx(e.summaryTable())}}function hu(n,s){if(1&n&&(t.j41(0,"div",33)(1,"dt",34)(2,"div",35),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"dd",36)(6,"div",37),t.EFF(7),t.k0s()()()),2&n){const e=t.XpG(2).$implicit;t.R7$(3),t.SpI(" ",t.bMT(4,2,"products.timeframes.1-year")," "),t.R7$(4),t.SpI(" ",e.year1Val," ")}}function fu(n,s){if(1&n&&(t.j41(0,"div",33)(1,"dt",34)(2,"div",35),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"dd",36)(6,"div",37),t.EFF(7),t.k0s()()()),2&n){const e=t.XpG(2).$implicit;t.R7$(3),t.SpI(" ",t.bMT(4,2,"products.timeframes.10-years")," "),t.R7$(4),t.SpI(" ",e.year10Val," ")}}function _u(n,s){if(1&n&&(t.j41(0,"div",33)(1,"dt",34)(2,"div",35),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"dd",36)(6,"div",37),t.EFF(7),t.k0s()()()),2&n){const e=t.XpG(2).$implicit;t.R7$(3),t.SpI(" ",t.bMT(4,2,"products.timeframes.since-inception")," "),t.R7$(4),t.SpI(" ",e.valueSinceInception," ")}}function gu(n,s){if(1&n&&(t.j41(0,"dl",31),t.DNE(1,hu,8,4,"div",33),t.j41(2,"div",33)(3,"dt",34)(4,"div",35),t.EFF(5),t.nI1(6,"translate"),t.k0s()(),t.j41(7,"dd",36)(8,"div",37),t.EFF(9),t.k0s()()(),t.j41(10,"div",33)(11,"dt",34)(12,"div",35),t.EFF(13),t.nI1(14,"translate"),t.k0s()(),t.j41(15,"dd",3
16)(16,"div",37),t.EFF(17),t.k0s()()(),t.DNE(18,fu,8,4,"div",33)(19,_u,8,4,"div",33),t.k0s()),2&n){const e=t.XpG(),a=e.$implicit,o=e.$index,i=t.XpG(4);t.Y8G("id","stdDevCardContent"+o),t.BMQ("aria-labelledby","stdDevCardHeader"+o),t.R7$(),t.vxM(i.show1YrPerformance()?1:-1),t.R7$(4),t.SpI(" ",t.bMT(6,9,"products.timeframes.3-years")," "),t.R7$(4),t.SpI(" ",a.year3Val," "),t.R7$(4),t.SpI(" ",t.bMT(14,11,"products.timeframes.5-years")," "),t.R7$(4),t.SpI(" ",a.year5Val," "),t.R7$(),t.vxM(i.isFundOlderThan10Yrs()?18:-1),t.R7$(),t.vxM(i.showSinceInception()?19:-1)}}function Cu(n,s){1&n&&(t.j41(0,"div",38),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",39)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.less-details")," "),t.R7$(2),t.Y8G("size",16))}function bu(n,s){1&n&&(t.j41(0,"div",38),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",40)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.more-details")," "),t.R7$(2),t.Y8G("size",16))}function xu(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",28)(1,"header",29)(2,"div",30),t.EFF(3),t.k0s()(),t.DNE(4,gu,20,13,"dl",31),t.j41(5,"button",32),t.bIt("click",function(){const o=t.eBV(e).$implicit,i=t.XpG(4);return t.Njj(i.toggleCard(o))}),t.DNE(6,Cu,4,4)(7,bu,4,4),t.k0s()()}if(2&n){const e=s.$implicit,a=s.$index;t.R7$(),t.AVh("bg-nc1-100",e.isClosed)("text-nc1-950",e.isClosed)("bg-pc1-800",!e.isClosed)("text-nc1-0",!e.isClosed),t.Y8G("id","stdDevCardHeader"+a),t.R7$(2),t.SpI(" ",e.rmName," "),t.R7$(),t.vxM(e.isClosed?-1:4),t.R7$(),t.AVh("bg-pc1-500",e.isClosed)("bg-pc1-800",!e.isClosed),t.BMQ("aria-controls","stdDevCardHeader"+a),t.R7$(),t.vxM(e.isClosed?-1:6),t.R7$(),t.vxM(e.isClosed?7:-1)}}function Du(n,s){if(1&n&&(t.j41(0,"div",41),t.EFF(1),t.nI1(2,"translate"),t.j41(3,"div",26)(4,"frk-tooltip",23),t.nI1(5,"translate"),t.nrm(6,"p",24),t.nI1(7,"translate"),t.k0s()()(),t.Z7z(8,xu,8,18,"article",28,Zt)),2&n){const e=t.XpG(3);t.R7$(),t.SpI(" ",t.bMT(2,3,"products.stdDev")," "),t.R7$(3),t.Y8G("ariaLabel",t.bMT(5,5,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",t.bMT(7,7,"products.risk-measures-standard-deviation-tooltip"),t.npT),t.R7$(2),t.Dyx(e.stdDev())}}function vu(n,s){if(1&n&&(t.j41(0,"div",33)(1,"dt",34)(2,"div",35),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"dd",36)(6,"div",37),t.EFF(7),t.k0s()()()),2&n){const e=t.XpG(2).$implicit;t.R7$(3),t.SpI(" ",t.bMT(4,2,"products.timeframes.1-year")," "),t.R7$(4),t.SpI(" ",e.year1Val," ")}}function Tu(n,s){if(1&n&&(t.j41(0,"div",33)(1,"dt",34)(2,"div",35),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"dd",36)(6,"div",37),t.EFF(7),t.k0s()()()),2&n){const e=t.XpG(2).$implicit;t.R7$(3),t.SpI(" ",t.bMT(4,2,"products.timeframes.10-years")," "),t.R7$(4),t.SpI(" ",e.year10Val," ")}}function Su(n,s){if(1&n&&(t.j41(0,"div",33)(1,"dt",34)(2,"div",35),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"dd",36)(6,"div",37),t.EFF(7),t.k0s()()()),2&n){const e=t.XpG(2).$implicit;t.R7$(3),t.SpI(" ",t.bMT(4,2,"products.timeframes.since-inception")," "),t.R7$(4),t.SpI(" ",e.valueSinceInception," ")}}function yu(n,s){if(1&n&&(t.j41(0,"dl",31),t.DNE(1,vu,8,4,"div",33),t.j41(2,"div",33)(3,"dt",34)(4,"div",35),t.EFF(5),t.nI1(6,"translate"),t.k0s()(),t.j41(7,"dd",36)(8,"div",37),t.EFF(9),t.k0s()()(),t.j41(10,"div",33)(11,"dt",34)(12,"div",35),t.EFF(13),t.nI1(14,"translate"),t.k0s()(),t.j41(15,"dd",36)(16,"div",37),t.EFF(17),t.k0s()()(),t.DNE(18,Tu,8,4,"div",33)(19,Su,8,4,"div",33),t.k0s()),2&n){const e=t.XpG(),a=e.$implicit,o=e.$index,i=t.XpG(4);t.Y8G("id","sharpeRatioCardContent"+o),t.BMQ("aria-labelledby","sharpeRatioCardHeader"+o),t.R7$(),t.vxM(i.show1YrPerformance()?1:-1),t.R7$(4),t.SpI(" ",t.bMT(6,9,"products.timeframes.3-years")," "),t.R7$(4),t.SpI(" ",a.year3Val," "),t.R7$(4),t.SpI(" ",t.bMT(14,11,"products.timeframes.5-years")," "),t.R7$(4),t.SpI(" ",a.year5Val," "),t.R7$(),t.vxM(i.isFundOlderThan10Yrs()?18:-1),t.R7$(),t.vxM(i.showSinceInception()?19:-1)}}function Ru(n,s){1&n&&(t.j41(0,"div",38),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",39)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.less-details")," "),t.R7$(2),t.Y8G("size",16))}function ku(n,s){1&n&&(t.j41(0,"div",38),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",40)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.more-details")," "),t.R7$(2),t.Y8G("size",16))}
1function Eu(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",28)(1,"header",29)(2,"div",30),t.EFF(3),t.k0s()(),t.DNE(4,yu,20,13,"dl",31),t.j41(5,"button",32),t.bIt("click",function(){const o=t.eBV(e).$implicit,i=t.XpG(4);return t.Njj(i.toggleCard(o))}),t.DNE(6,Ru,4,4)(7,ku,4,4),t.k0s()()}if(2&n){const e=s.$implicit,a=s.$index;t.R7$(),t.AVh("bg-nc1-100",e.isClosed)("text-nc1-950",e.isClosed)("bg-pc1-800",!e.isClosed)("text-nc1-0",!e.isClosed),t.Y8G("id","sharpeRatioCardHeader"+a),t.R7$(2),t.SpI(" ",e.rmName," "),t.R7$(),t.vxM(e.isClosed?-1:4),t.R7$(),t.AVh("bg-pc1-500",e.isClosed)("bg-pc1-800",!e.isClosed),t.BMQ("aria-controls","sharpeRatioCardHeader"+a),t.R7$(),t.vxM(e.isClosed?-1:6),t.R7$(),t.vxM(e.isClosed?7:-1)}}function Fu(n,s){if(1&n&&(t.j41(0,"div",41),t.EFF(1),t.nI1(2,"translate"),t.j41(3,"div",26)(4,"frk-tooltip",23),t.nI1(5,"translate"),t.nrm(6,"p",24),t.nI1(7,"translate"),t.k0s()()(),t.Z7z(8,Eu,8,18,"article",28,Zt)),2&n){const e=t.XpG(3);t.R7$(),t.SpI(" ",t.bMT(2,3,"products.sharpe-ratio")," "),t.R7$(3),t.Y8G("ariaLabel",t.bMT(5,5,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",t.bMT(7,7,"products.risk-measures-sharpe-ratio-tooltip"),t.npT),t.R7$(2),t.Dyx(e.sharpeRatio())}}function $u(n,s){if(1&n&&(t.j41(0,"div",9),t.DNE(1,mu,5,3)(2,Du,10,9)(3,Fu,10,9),t.k0s()),2&n){let e,a,o;const i=t.XpG(2);t.R7$(),t.vxM(null!=(e=i.summaryTable())&&e.length?1:-1),t.R7$(),t.vxM(null!=(a=i.stdDev())&&a.length?2:-1),t.R7$(),t.vxM(null!=(o=i.sharpeRatio())&&o.length?3:-1)}}function Au(n,s){if(1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n){const e=t.XpG().$implicit;t.SpI(" ",t.bMT(1,1,e.calcTypeLabel)," ")}}function Mu(n,s){1&n&&t.nrm(0,"frk-footnote",42)}function Pu(n,s){1&n&&t.nrm(0,"frk-footnote",43)}function Iu(n,s){if(1&n&&(t.EFF(0),t.DNE(1,Au,2,3)(2,Mu,1,0,"frk-footnote",42)(3,Pu,1,0,"frk-footnote",43)),2&n){const e=s.$implicit,a=s.index;t.SpI(" ",e.rmName," "),t.R7$(),t.vxM(void 0!==(null==e?null:e.calcTypeLabel)?1:-1),t.R7$(),t.vxM(1===a?2:-1),t.R7$(),t.vxM(2===a?3:-1)}}function wu(n,s){if(1&n&&(t.j41(0,"div")(1,"h3",2),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"frk-footnote",3),t.k0s(),t.j41(5,"p",4),t.EFF(6),t.nI1(7,"translate"),t.k0s()(),t.j41(8,"div",5),t.nrm(9,"frk-proximal",6),t.k0s(),t.DNE(10,$d,1,1)(11,Ad,3,4,"div",7)(12,iu,4,3,"div",8)(13,$u,4,3,"div",9),t.nrm(14,"frk-proximal",10),t.DNE(15,Iu,4,4,"ng-template",null,0,t.C5r)),2&n){const e=t.XpG();t.R7$(2),t.SpI(" ",t.bMT(3,7,"products.performance-risk-measures")," "),t.R7$(4),t.Lme(" ",t.bMT(7,9,"products.as-of")," ",e.asOfDate," "),t.R7$(4),t.vxM(e.isSMA()?-1:10),t.R7$(),t.vxM(e.benchmarkName()?11:-1),t.R7$(),t.vxM(e.isCardView()?-1:12),t.R7$(),t.vxM(e.isCardView()?13:-1)}}const Nu=()=>["performance-risk-return-proximal-top","performance-risk-return-chart-proximal-top"];function Gu(n,s){if(1&n&&(t.j41(0,"div",1)(1,"div",2)(2,"h2",3),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"p",4),t.EFF(6),t.k0s()(),t.nrm(7,"frk-proximal",5),t.j41(8,"div",6),t.nrm(9,"frk-highcharts",7),t.k0s(),t.nrm(10,"frk-proximal",8)),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,5,"products.section-headings.risk-return-profile")," "),t.R7$(3),t.SpI(" ",e.subtitle()," "),t.R7$(),t.Y8G("placement",t.lJ4(7,Nu)),t.R7$(2),t.Y8G("chartConfig",e.chartConfig)("chartData",e.chartData())}}
1function Ou(n,s){if(1&n&&t.nrm(0,"frk-footnote",3),2&n){const e=t.XpG(),a=t.XpG();t.Y8G("placement",e.caveatPlacement)("componentId",a.componentId)}}function Yu(n,s){if(1&n&&t.nrm(0,"frk-footnote",3),2&n){const e=t.XpG(),a=t.XpG();t.Y8G("placement",e.secondaryCaveatPlacement)("componentId",a.componentId)}}function ju(n,s){if(1&n&&t.DNE(0,Ou,1,2,"frk-footnote",3)(1,Yu,1,2,"frk-footnote",3),2&n){const e=s;t.vxM(e.caveatPlacement?0:-1),t.R7$(),t.vxM(e.secondaryCaveatPlacement?1:-1)}}function Lu(n,s){if(1&n&&(t.j41(0,"frk-tooltip",2),t.nI1(1,"translate"),t.nrm(2,"p",4),t.k0s()),2&n){const e=s;t.Y8G("placement",e.placement)("tooltipTitle",e.tooltipTitle)("ariaLabel",t.bMT(1,4,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",e.tooltipDescription,t.npT)}}function Bu(n,s){if(1&n&&(t.EFF(0),t.DNE(1,ju,2,2)(2,Lu,3,6,"frk-tooltip",2)),2&n){let e,a;const o=s;t.SpI(" ",o.allocationHeading," "),t.R7$(),t.vxM((e=o.caveat)?1:-1,e),t.R7$(),t.vxM((a=o.tooltip)?2:-1,a)}}function Vu(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" (",t.bMT(1,1,s),") ")}function Xu(n,s){if(1&n&&(t.EFF(0),t.nI1(1,"translate"),t.DNE(2,Vu,2,3)),2&n){let e;const a=s,o=t.XpG();t.SjE(" ",t.bMT(1,6,"pds.PERF_AS_OF_DATE")," ",a.asOfDate,"",a.calculationBasis?" - ":""," ",a.calculationBasis," ",a.calculationType," "),t.R7$(2),t.vxM((e=o.updateFrequencyTranslationKey())?2:-1,e)}}function Hu(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.proximals())?null:e.proximalTopPlacement)}}function Uu(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.proximals())?null:e.secondaryProximalTopPlacement)}}function zu(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",14),t.EFF(2),t.k0s(),t.j41(3,"td",15),t.EFF(4),t.k0s(),t.j41(5,"td",15),t.EFF(6),t.k0s()()),2&n){const e=s.$implicit;t.R7$(2),t.JRh(e.label),t.R7$(2),t.JRh(e.grossExposure),t.R7$(2),t.JRh(e.netExposure)}}function Wu(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.proximals())?null:e.proximalBottomPlacement)}}function qu(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.proximals())?null:e.secondaryProximalBottomPlacement)}}function Qu(n,s){if(1&n&&(t.nrm(0,"frk-section-header",2),t.DNE(1,Hu,1,1,"frk-proximal",3)(2,Uu,1,1,"frk-proximal",3),t.j41(3,"div",4)(4,"div",5)(5,"table",6)(6,"caption",7),t.EFF(7),t.k0s(),t.j41(8,"thead")(9,"tr",8)(10,"th",9),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.j41(13,"th",10),t.EFF(14),t.nI1(15,"translate"),t.j41(16,"p",11),t.EFF(17),t.k0s()(),t.j41(18,"th",10),t.EFF(19),t.nI1(20,"translate"),t.j41(21,"p",11),t.EFF(22),t.k0s()()()(),t.j41(23,"tbody"),t.Z7z(24,zu,7,3,"tr",null,z),t.k0s()()(),t.j41(26,"div",12),t.nrm(27,"frk-highcharts",13),t.k0s()(),t.DNE(28,Wu,1,1,"frk-proximal",3)(29,qu,1,1,"frk-proximal",3)),2&n){let e,a,o,i,r,l,c,p;const _=t.XpG(2);t.Y8G("sectionHeader",_.exposureSectionHeader()),t.R7$(),t.vxM(null!=(e=_.proximals())&&e.proximalTopPlacement?1:-1),t.R7$(),t.vxM(null!=(a=_.proximals())&&a.secondaryProximalTopPlacement?2:-1),t.R7$(5),t.SpI(" ",null==(o=_.exposureSectionHeader())?null:o.allocationHeading," "),t.R7$(4),t.SpI(" ",t.bMT(12,13,"products.portfolio-holdings")," "),t.R7$(3),t.SpI(" ",t.bMT(15,15,"products.gross-exposure")," "),t.R7$(3),t.SpI(" ",null==(i=_.assetExposure())?null:i.calculationType," "),t.R7$(2),t.SpI(" ",t.bMT(20,17,"products.net-exposure")," "),t.R7$(3),t.SpI(" ",null==(r=_.assetExposure())?null:r.calculationType," "),t.R7$(2),t.Dyx(null==(l=_.assetExposure())?null:l.data),t.R7$(3),t.Y8G("chartConfig",_.assetExposureChart().chartConfig)("chartData",_.assetExposureChart().chartData),t.R7$(),t.vxM(null!=(c=_.proximals())&&c.proximalBottomPlacement?28:-1),t.R7$(),t.vxM(null!=(p=_.proximals())&&p.secondaryProximalBottomPlacement?29:-1)}}function Zu(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.proximals())?null:e.proximalTopPlacement)}}function Ju(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.proximals())?null:e.secondaryProximalTopPlacement)}}function Ku(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.asset-type")," ")}function tp(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.portfolio-holdings")," ")}function ep(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.fund-tab-portfolio")," ")}function np(n,s){if(1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n){const e=t.XpG(3);t.SpI(" ",t.i5U(1,1,"products.fund",e.config().productId)," ")}}function ap(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",14)(2,"div",18),t.nrm(3,"span",19),t.EFF(4),t.k0s()(),t.j41(5,"td",15),t.EFF(6),t.k0s()()),2&n){const e=s.$implicit,a=s.$index,o=t.XpG(3);t.R7$(3),t.Y8G("ngClass","bg-chart-color"+a%o.chartColors.length),t.R7$(),t.SpI("",e.label," "),t.R7$(2),t.JRh(e.breakdown)}}function op(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.proximals())?null:e.proximalBottomPlacement)}}function ip(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.proximals())?null:e.secondaryProximalBottomPlacement)}}function sp(n,s){if(1&n&&(t.nrm(0,"frk-section-header",2),t.DNE(1,Zu,1,1,"frk-proximal",3)(2,Ju,1,1,"frk-proximal",3),t.j41(3,"div",4)(4,"table",16)(5,"caption",7),t.EFF(6),t.k0s(),t.j41(7,"thead")(8,"tr",8)(9,"th",9),t.DNE(10,Ku,2,3)(11,tp,2,3),t.k0s(),t.j41(12,"th",10),t.DNE(13,ep,2,3)(14,np,2,4),t.k0s()()(),t.j41(15,"tbody"),t.Z7z(16,ap,7,3,"tr",null,z),t.k0s()(),t.nrm(18,"frk-highcharts",17),t.k0s(),t.DNE(19,op,1,1,"frk-proximal",3)(20,ip,1,1,"frk-proximal",3)),2&n){let e,a,o,i,r,l;const c=t.XpG(2);t.Y8G("sectionHeader",c.allocationSectionHeader()),t.R7$(),t.vxM(null!=(e=c.proximals())&&e.proximalTopPlacement?1:-1),t.R7$(),t.vxM(null!=(a=c.proximals())&&a.secondaryProximalTopPlacement?2:-1),t.R7$(4),t.SpI(" ",null==(o=c.allocationSectionHeader())?null:o.allocationHeading," "),t.R7$(4),t.vxM(c.assetAllocationSMAFlag()?10:11),t.R7$(3),t.vxM(c.assetAllocationSMAFlag()?13:14),t.R7$(3),t.Dyx(null==(i=c.assetAllocation())?null:i.data),t.R7$(2),t.Y8G("chartConfig",c.assetAllocationChart().chartConfig)("chartData",c.assetAllocationChart().chartData),t.R7$(),t.vxM(null!=(r=c.proximals())&&r.proximalBottomPlacement?19:-1),t.R7$(),t.vxM(null!=(l=c.proximals())&&l.secondaryProximalBottomPlacement?20:-1)}}function rp(n,s){if(1&n&&(t.j41(0,"div",1),t.DNE(1,Qu,30,19)(2,sp,21,10),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.vxM(e.assetExposure()?1:-1),t.R7$(),t.vxM(e.assetAllocation()?2:-1)}}const lp=(n,s)=>({"w-full max-w-full":n,"w-auto max-w-fit":s}),cp=n=>({"sr-only":n});function dp(n,s){if(1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n){let e;const a=t.XpG(6);t.Lme(" ",t.bMT(1,2,"products.as-of")," ",null==(e=a.assetsFreq())?null:e.asOfDate," ")}}function up(n,s){if(1&n&&(t.j41(0,"frk-tooltip",17),t.nI1(1,"translate"),t.nrm(2,"p",19),t.k0s()),2&n){const e=t.XpG().$implicit,a=t.XpG(6);t.Y8G("placement",a.tooltipPlacement)("ariaLabel",t.bMT(1,3,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",e.tooltip,t.npT)}}function pp(n,s){if(1&n&&(t.j41(0,"div",13)(1,"dt")(2,"span",15),t.EFF(3),t.nrm(4,"frk-footnote",16)(5,"frk-footnote",16),t.DNE(6,up,3,5,"frk-tooltip",17),t.k0s()(),t.j41(7,"dd",18),t.EFF(8),t.k0s()()),2&n){const e=s.$implicit,a=t.XpG(6);t.R7$(3),t.SpI("",e.label," "),t.R7$(),t.Y8G("placement",e.caveatPlacement)("componentId",a.config().componentId),t.R7$(),t.Y8G("placement",e.secondaryCaveatPlacement)("componentId",a.config().componentId),t.R7$(),t.vxM(e.tooltip?6:-1),t.R7$(2),t.JRh(e.val)}}function mp(n,s){if(1&n&&(t.nrm(0,"frk-proximal",7),t.j41(1,"header",8)(2,"h3",9),t.EFF(3),t.nI1(4,"translate"),t.nrm(5,"frk-footnote",10),t.k0s(),t.j41(6,"p",11),t.DNE(7,dp,2,4),t.EFF(8),t.nI1(9,"translate"),t.k0s()(),t.j41(10,"dl",12),t.Z7z(11,pp,9,7,"div",13,z),t.k0s(),t.nrm(13,"frk-proximal",14)),2&n){let e,a;const o=t.XpG(5);t.R7$(3),t.SpI(" ",t.bMT(4,4,"products.section-headings.assets")," "),t.R7$(2),t.Y8G("componentId",o.config().componentId),t.R7$(2),t.vxM(o.assetsFreq()&&null!=(e=o.assetsFreq())&&e.asOfDate?7:-1),t.R7$(),t.SpI(" (",t.bMT(9,6,"products.updated-"+(null==(a=o.assetsFreq())?null:a.updateFrequency)),") "),t.R7$(3),t.Dyx(o.assetsDataSignal())}}function hp(n,s){if(1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n){let e;const a=t.XpG(7);t.Lme(" ",t.bMT(1,2,"products.as-of")," ",null==(e=a.positionsFreq())?null:e.asOfDate," ")}}function fp(n,s){if(1&n&&(t.j41(0,"p",11),t.DNE(1,hp,2,4),t.EFF(2),t.nI1(3,"translate"),t.k0s()),2&n){let e,a;const o=t.XpG(6);t.R7$(),t.vxM(o.positionsFreq()&&null!=(e=o.positionsFreq())&&e.asOfDate?1:-1),t.R7$(),t.SpI(" (",t.bMT(3,2,"products.updated-"+(null==(a=o.positionsFreq())?null:a.updateFrequency)),") ")}}function _p(n,s){if(1&n&&(t.j41(0,"strong"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(7);t.R7$(),t.SpI(" ",t.i5U(2,1,"products.fund",e.config().productId)," ")}}function gp(n,s){if(1&n&&(t.j41(0,"frk-tooltip",17),t.nI1(1,"translate"),t.nrm(2,"p",19),t.k0s()),2&n){let e;const a=t.XpG(8);t.Y8G("placement",a.tooltipPlacement)("ariaLabel",t.bMT(1,3,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",null!==(e=null==(e=a.positionsBenchmark())?null:e.name)&&void 0!==e?e:"",t.npT)}}function Cp(n,s){if(1&n&&(t.j41(0,"th",30)(1,"strong",33),t.EFF(2),t.nI1(3,"translate"),t.DNE(4,gp,3,5,"frk-tooltip",17),t.k0s()()),2&n){const e=t.XpG(7);t.R7$(2),t.SpI(" ",t.bMT(3,2,"products.benchmark")," "),t.R7$(2),t.vxM(e.positionsBenchmark()?4:-1)}}function bp(n,s){if(1&n&&(t.j41(0,"td",35)(1,"strong",36),t.EFF(2),t.k0s()()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.JRh(e.bmVal)}}function xp(n,s){if(1&n&&(t.j41(0,"tr",32)(1,"td",34),t.EFF(2),t.nrm(3,"frk-footnote",16)(4,"frk-footnote",16),t.k0s(),t.j41(5,"td",35)(6,"strong",36),t.EFF(7),t.k0s()(),t.DNE(8,bp,3,1,"td",35),t.k0s()),2&n){const e=s.$implicit,a=t.XpG(7);t.R7$(2),t.SpI(" ",e.label," "),t.R7$(),t.Y8G("placement",e.caveatPlacement)("componentId",a.config().componentId),t.R7$(),t.Y8G("placement",e.secondaryCaveatPlacement)("componentId",a.config().componentId),t.R7$(3),t.JRh(e.val),t.R7$(),t.vxM(a.showPositionsBenchmark?8:-1)}}function Dp(n,s){if(1&n&&(t.j41(0,"div",23)(1,"table",24)(2,"caption",25),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"thead",26)(6,"tr",27)(7,"th",28)(8,"span",29),t.EFF(9),t.nI1(10,"translate"),t.k0s()(),t.j41(11,"th",30),t.DNE(12,_p,3,4,"strong"),t.k0s(),t.DNE(13,Cp,5,4,"th",30),t.k0s()(),t.j41(14,"tbody",31),t.Z7z(15,xp,9,7,"tr",32,z),t.k0s()()()),2&n){const e=t.XpG(6);t.R7$(3),t.SpI(" ",t.bMT(4,4,"products.section-headings.positions")," "),t.R7$(6),t.SpI(" ",t.bMT(10,6,"products.section-headings.positions")," "),t.R7$(3),t.vxM(e.showPositionsBenchmark?12:-1),t.R7$(),t.vxM(e.showPositionsBenchmark?13:-1),t.R7$(2),t.Dyx(e.positionsDataSignal())}}function vp(n,s){if(1&n){const e=t.RV6();t.j41(0,"frk-asset-download-holdings",37),t.bIt("statusUpdate",function(o){t.eBV(e);const i=t.XpG(6);return t.Njj(i.onStatusUpdate("frk-asset-download-holdings",o))}),t.k0s(),t.nrm(1,"frk-proximal",38)}if(2&n){const e=t.XpG(6);t.Y8G("config",e.assetDownloadHoldingConfig())}}function Tp(n,s){if(1&n&&(t.nrm(0,"frk-proximal",20),t.j41(1,"header",21)(2,"h3",9),t.EFF(3),t.nI1(4,"translate"),t.nrm(5,"frk-footnote",22),t.k0s(),t.DNE(6,fp,4,4,"p",11),t.k0s(),t.DNE(7,Dp,17,8,"div",23)(8,vp,2,1)),2&n){let e;const a=t.XpG(5);t.R7$(3),t.SpI(" ",t.bMT(4,5,"products.section-headings.positions")," "),t.R7$(2),t.Y8G("componentId",a.config().componentId),t.R7$(),t.vxM(null!=(e=a.positionsFreq())&&e.updateFrequency?6:-1),t.R7$(),t.vxM(a.positionsDataSignal().length?7:-1),t.R7$(),t.vxM("LOADED"===a.componentsStatus["frk-asset-download-holdings"]||"LOADING"===a.componentsStatus["frk-asset-download-holdings"]?8:-1)}}function Sp(n,s){if(1&n&&(t.j41(0,"div",5),t.DNE(1,mp,14,8)(2,Tp,9,7),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.vxM(e.assetsDataSignal().length?1:-1),t.R7$(),t.vxM(e.positionsDataSignal().length||"LOADED"===e.componentsStatus["frk-asset-download-holdings"]||"LOADING"===e.componentsStatus["frk-asset-download-holdings"]?2:-1)}}function yp(n,s){if(1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n){let e;const a=t.XpG(5);t.Lme(" ",t.bMT(1,2,"products.as-of")," ",null==(e=a.mainFreq())?null:e.asOfDate," ")}}function Rp(n,s){if(1&n&&(t.j41(0,"strong"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(6);t.R7$(),t.JRh(t.i5U(2,1,"products.fund",e.config().productId))}}function kp(n,s){if(1&n&&(t.j41(0,"frk-tooltip",17),t.nI1(1,"translate"),t.nrm(2,"p",19),t.k0s()),2&n){let e;const a=t.XpG(7);t.Y8G("placement",a.tooltipPlacement)("ariaLabel",t.bMT(1,3,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",null!==(e=null==(e=a.mainBenchmark())?null:e.name)&&void 0!==e?e:"",t.npT)}}function Ep(n,s){if(1&n&&(t.j41(0,"th",50)(1,"strong",33),t.EFF(2),t.nI1(3,"translate"),t.DNE(4,kp,3,5,"frk-tooltip",17),t.k0s()()),2&n){const e=t.XpG(6);t.R7$(2),t.SpI(" ",t.bMT(3,2,"products.benchmark")," "),t.R7$(2),t.vxM(e.mainBenchmark()?4:-1)}}function Fp(n,s){if(1&n&&(t.j41(0,"frk-tooltip",17),t.nI1(1,"translate"),t.nrm(2,"p",19),t.k0s()),2&n){const e=t.XpG().$implicit,a=t.XpG(6);t.Y8G("placement",a.tooltipPlacement)("ariaLabel",t.bMT(1,3,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",e.tooltip,t.npT)}}function $p(n,s){if(1&n&&(t.j41(0,"td",54)(1,"strong",36),t.EFF(2),t.k0s()()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.JRh(e.bmVal)}}function Ap(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",52),t.EFF(2),t.nrm(3,"frk-footnote",16)(4,"frk-footnote",16),t.DNE(5,Fp,3,5,"frk-tooltip",17),t.k0s(),t.j41(6,"td",53)(7,"strong",36),t.EFF(8),t.k0s()(),t.DNE(9,$p,3,1,"td",54),t.k0s()),2&n){const e=s.$implicit,a=t.XpG(6);t.R7$(2),t.SpI(" ",e.label," "),t.R7$(),t.Y8G("placement",e.caveatPlacement)("componentId",a.config().componentId),t.R7$(),t.Y8G("placement",e.secondaryCaveatPlacement)("componentId",a.config().componentId),t.R7$(),t.vxM(e.tooltip?5:-1),t.R7$(3),t.JRh(e.val),t.R7$(),t.vxM(a.showMainBenchmark()?9:-1)}}function Mp(n,s){if(1&n&&(t.j41(0,"table",42)(1,"caption",25),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"thead",45)(5,"tr",46)(6,"th",47)(7,"span",29),t.EFF(8),t.nI1(9,"translate"),t.k0s()(),t.j41(10,"th",48)(11,"span",49),t.DNE(12,Rp,3,4,"strong"),t.k0s()(),t.DNE(13,Ep,5,4,"th",50),t.k0s()(),t.j41(14,"tbody",51),t.Z7z(15,Ap,10,8,"tr",null,z),t.k0s()()),2&n){const e=t.XpG(5);t.R7$(2),t.SpI(" ",t.bMT(3,5,"products.section-headings.portfolio-statistics")," "),t.R7$(6),t.SpI(" ",t.bMT(9,7,"products.portfolio-statistics-title")," "),t.R7$(3),t.Y8G("ngClass",t.eq3(9,cp,!e.showMainBenchmark())),t.R7$(),t.vxM(e.showMainBenchmark()?12:-1),t.R7$(),t.vxM(e.showMainBenchmark()?13:-1),t.R7$(2),t.Dyx(e.statisticsDataSignal())}}function Pp(n,s){1&n&&t.eu8(0)}function Ip(n,s){if(1&n&&t.DNE(0,Pp,1,0,"ng-container",55),2&n){t.XpG(5);const e=t.sdS(3);t.Y8G("ngTemplateOutlet",e)}}function wp(n,s){if(1&n&&(t.j41(0,"div",6),t.nrm(1,"frk-proximal",39),t.j41(2,"header",40)(3,"h3",9),t.EFF(4),t.nI1(5,"translate"),t.nrm(6,"frk-footnote",41),t.k0s(),t.j41(7,"p",11),t.DNE(8,yp,2,4),t.EFF(9),t.nI1(10,"translate"),t.k0s()(),t.DNE(11,Mp,17,11,"table",42)(12,Ip,1,1,"ng-container"),t.nrm(13,"frk-proximal-footnote",43)(14,"frk-proximal",44),t.k0s()),2&n){let e,a,o;const i=t.XpG(4);t.R7$(4),t.SpI(" ",t.bMT(5,7,"products.section-headings.portfolio-statistics")," "),t.R7$(2),t.Y8G("componentId",i.config().componentId),t.R7$(2),t.vxM(i.mainFreq()&&null!=(e=i.mainFreq())&&e.asOfDate?8:-1),t.R7$(),t.SpI(" (",t.bMT(10,9,"products.updated-"+(null==(a=i.mainFreq())?null:a.updateFrequency)),") "),t.R7$(2),t.vxM(i.statisticsDataSignal().length>0?11:-1),t.R7$(),t.vxM(null!=(o=i.historicWeightedRowData())&&o.length&&!i.config().hidePortfolioHistoricData?12:-1),t.R7$(),t.Y8G("placement",i.statisticsCaveatPlacements())}}function Np(n,s){if(1&n&&(t.j41(0,"div",4),t.DNE(1,Sp,3,2,"div",5)(2,wp,15,11,"div",6),t.k0s()),2&n){const e=t.XpG(3);t.R7$(),t.vxM(e.assetsDataSignal().length||e.positionsDataSignal().length||"LOADED"===e.componentsStatus["frk-asset-download-holdings"]||"LOADING"===e.componentsStatus["frk-asset-download-holdings"]?1:-1),t.R7$(),t.vxM(e.statisticsDataSignal().length>0?2:-1)}}function Gp(n,s){if(1&n&&(t.j41(0,"section",2),t.DNE(1,Np,3,2,"div",4),t.k0s()),2&n){const e=t.XpG
1(2);t.Y8G("ngClass",t.l_i(2,lp,e.assetsDataSignal().length||e.statisticsDataSignal().length,!(e.assetsDataSignal().length&&e.statisticsDataSignal().length))),t.R7$(),t.vxM(e.statisticsAndPosition()?1:-1)}}function Op(n,s){if(1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n){let e;const a=t.XpG(5);t.Lme(" ",t.bMT(1,2,"products.as-of"),"",null==(e=a.assetsFreq())?null:e.asOfDate," ")}}function Yp(n,s){if(1&n&&(t.j41(0,"div",13)(1,"dt")(2,"span",15),t.EFF(3),t.nrm(4,"frk-footnote",16)(5,"frk-footnote",16),t.k0s()(),t.j41(6,"dd",18),t.EFF(7),t.k0s()()),2&n){const e=s.$implicit,a=t.XpG(5);t.R7$(3),t.SpI("",e.label," "),t.R7$(),t.Y8G("placement",e.caveatPlacement)("componentId",a.config().componentId),t.R7$(),t.Y8G("placement",e.secondaryCaveatPlacement)("componentId",a.config().componentId),t.R7$(2),t.JRh(e.val)}}function jp(n,s){if(1&n&&(t.nrm(0,"frk-proximal",7),t.j41(1,"header",8)(2,"h3",59),t.EFF(3),t.nI1(4,"translate"),t.nrm(5,"frk-footnote",10),t.k0s(),t.j41(6,"p",11),t.DNE(7,Op,2,4),t.EFF(8),t.nI1(9,"translate"),t.k0s()(),t.j41(10,"dl",60),t.Z7z(11,Yp,8,6,"div",13,z),t.k0s(),t.nrm(13,"frk-proximal",14)),2&n){let e,a;const o=t.XpG(4);t.R7$(3),t.SpI(" ",t.bMT(4,4,"products.section-headings.assets")," "),t.R7$(2),t.Y8G("componentId",o.config().componentId),t.R7$(2),t.vxM(o.assetsFreq()&&null!=(e=o.assetsFreq())&&e.asOfDate?7:-1),t.R7$(),t.SpI(" (",t.bMT(9,6,"products.updated-"+(null==(a=o.assetsFreq())?null:a.updateFrequency)),") "),t.R7$(3),t.Dyx(o.assetsDataSignal())}}function Lp(n,s){if(1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n){let e;const a=t.XpG(6);t.Lme(" ",t.bMT(1,2,"products.as-of")," ",null==(e=a.positionsFreq())?null:e.asOfDate," ")}}function Bp(n,s){if(1&n&&(t.j41(0,"p",11),t.DNE(1,Lp,2,4),t.EFF(2),t.nI1(3,"translate"),t.k0s()),2&n){let e,a;const o=t.XpG(5);t.R7$(),t.vxM(o.positionsFreq()&&null!=(e=o.positionsFreq())&&e.asOfDate?1:-1),t.R7$(),t.SpI(" (",t.bMT(3,2,"products.updated-"+(null==(a=o.positionsFreq())?null:a.updateFrequency)),") ")}}function Vp(n,s){if(1&n&&(t.j41(0,"frk-tooltip",17),t.nI1(1,"translate"),t.nrm(2,"p",19),t.k0s()),2&n){let e;const a=t.XpG(8);t.Y8G("placement",a.tooltipPlacement)("ariaLabel",t.bMT(1,3,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",null!==(e=null==(e=a.positionsBenchmark())?null:e.name)&&void 0!==e?e:"",t.npT)}}function Xp(n,s){if(1&n&&(t.j41(0,"div",64)(1,"dt")(2,"span",15),t.EFF(3),t.nI1(4,"translate"),t.DNE(5,Vp,3,5,"frk-tooltip",17),t.k0s()(),t.j41(6,"dd",18)(7,"strong"),t.EFF(8),t.k0s()()()),2&n){const e=t.XpG().$implicit,a=t.XpG(6);t.R7$(3),t.SpI("",t.bMT(4,3,"products.benchmark")," "),t.R7$(2),t.vxM(a.positionsBenchmark()?5:-1),t.R7$(3),t.JRh(e.bmVal)}}function Hp(n,s){if(1&n&&(t.j41(0,"span",61)(1,"strong",62),t.EFF(2),t.k0s(),t.nrm(3,"frk-footnote",16)(4,"frk-footnote",16),t.k0s(),t.j41(5,"dl",63)(6,"div",64)(7,"dt")(8,"span",15),t.EFF(9),t.nI1(10,"translate"),t.k0s()(),t.j41(11,"dd",65)(12,"strong"),t.EFF(13),t.k0s()()(),t.DNE(14,Xp,9,5,"div",64),t.k0s()),2&n){const e=s.$implicit,a=t.XpG(6);t.R7$(2),t.JRh(e.label),t.R7$(),t.Y8G("placement",e.caveatPlacement)("componentId",a.config().componentId),t.R7$(),t.Y8G("placement",e.secondaryCaveatPlacement)("componentId",a.config().componentId),t.R7$(5),t.JRh(t.i5U(10,8,"products.fund",a.config().productId)),t.R7$(4),t.JRh(e.val),t.R7$(),t.vxM(a.showPositionsBenchmark?14:-1)}}function Up(n,s){if(1&n&&(t.j41(0,"div",23),t.Z7z(1,Hp,15,11,null,null,z),t.k0s()),2&n){const e=t.XpG(5);t.R7$(),t.Dyx(e.positionsDataSignal())}}function zp(n,s){if(1&n){const e=t.RV6();t.j41(0,"frk-asset-download-holdings",37),t.bIt("statusUpdate",function(o){t.eBV(e);const i=t.XpG(5);return t.Njj(i.onStatusUpdate("frk-asset-download-holdings",o))}),t.k0s(),t.nrm(1,"frk-proximal",38)}if(2&n){const e=t.XpG(5);t.Y8G("config",e.assetDownloadHoldingConfig())}}function Wp(n,s){if(1&n&&(t.nrm(0,"frk-proximal",20),t.j41(1,"header",8)(2,"h2",59),t.EFF(3),t.nI1(4,"translate"),t.nrm(5,"frk-footnote",22),t.k0s(),t.DNE(6,Bp,4,4,"p",11),t.k0s(),t.DNE(7,Up,3,0,"div",23)(8,zp,2,1)),2&n){let e;const a=t.XpG(4);t.R7$(3),t.SpI(" ",t.bMT(4,5,"products.section-headings.positions")," "),t.R7$(2),t.Y8G("componentId",a.config().componentId),t.R7$(),t.vxM(null!=(e=a.positionsFreq())&&e.updateFrequency?6:-1),t.R7$(),t.vxM(a.positionsDataSignal().length?7:-1),t.R7$(),t.vxM("LOADED"===a.componentsStatus["frk-asset-download-holdings"]||"LOADING"===a.componentsStatus["frk-asset-download-holdings"]?8:-1)}}function qp(n,s){if(1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n){let e;const a=t.XpG(5);t.Lme(" ",t.bMT(1,2,"products.as-of")," ",null==(e=a.mainFreq())?null:e.asOfDate," ")}}function Qp(n,s){if(1&n&&(t.j41(0,"frk-tooltip",17),t.nI1(1,"translate"),t.nrm(2,"p",19),t.k0s()),2&n){const e=t.XpG().$implicit,a=t.XpG(6);t.Y8G("placement",a.tooltipPlacement)("ariaLabel",t.bMT(1,3,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",e.tooltip,t.npT)}}function Zp(n,s){if(1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n){const e=t.XpG(2).$implicit;t.Lme(" ",t.bMT(1,2,"products.as-of")," ",null==e?null:e.asOfDate," ")}}function Jp(n,s){if(1&n&&(t.j41(0,"p")(1,"small"),t.DNE(2,Zp,2,4),t.EFF(3),t.nI1(4,"translate"),t.k0s()()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.vxM(e&&null!=e&&e.asOfDate?2:-1),t.R7$(),t.SpI(" (",t.bMT(4,2,"products.updated-"+(null==e?null:e.updateFrequency)),")")}}function Kp(n,s){if(1&n&&(t.j41(0,"dt")(1,"span",15),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n){const e=t.XpG(7);t.R7$(2),t.JRh(t.i5U(3,1,"products.fund",e.config().productId))}}
1function tm(n,s){if(1&n&&(t.j41(0,"frk-tooltip",17),t.nI1(1,"translate"),t.nrm(2,"p",19),t.k0s()),2&n){let e;const a=t.XpG(8);t.Y8G("placement",a.tooltipPlacement)("ariaLabel",t.bMT(1,3,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",null!==(e=null==(e=a.mainBenchmark())?null:e.name)&&void 0!==e?e:"",t.npT)}}function em(n,s){if(1&n&&(t.j41(0,"div",64)(1,"dt")(2,"span",15),t.EFF(3),t.nI1(4,"translate"),t.DNE(5,tm,3,5,"frk-tooltip",17),t.k0s()(),t.j41(6,"dd",18)(7,"strong"),t.EFF(8),t.k0s()()()),2&n){const e=t.XpG().$implicit,a=t.XpG(6);t.R7$(3),t.SpI("",t.bMT(4,3,"products.benchmark")," "),t.R7$(2),t.vxM(a.mainBenchmark()?5:-1),t.R7$(3),t.JRh(e.bmVal)}}function nm(n,s){if(1&n&&(t.j41(0,"div",64)(1,"p",68),t.EFF(2),t.k0s(),t.j41(3,"strong",36),t.EFF(4),t.k0s()()),2&n){const e=s.$implicit;t.R7$(2),t.SpI(" ",e.asOfDate," "),t.R7$(2),t.JRh(e.averageDataForMobileView)}}function am(n,s){if(1&n&&(t.j41(0,"div"),t.Z7z(1,nm,5,2,"div",64,t.fX1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Dyx(e.historyData)}}function om(n,s){if(1&n&&(t.j41(0,"span",61)(1,"strong",62),t.EFF(2),t.nrm(3,"frk-footnote",16)(4,"frk-footnote",16),t.DNE(5,Qp,3,5,"frk-tooltip",17),t.k0s()(),t.j41(6,"dl",66)(7,"div",64),t.DNE(8,Jp,5,4,"p")(9,Kp,4,4,"dt"),t.j41(10,"dd",67)(11,"strong"),t.EFF(12),t.k0s()()(),t.DNE(13,em,9,5,"div",64),t.k0s(),t.DNE(14,am,3,0,"div")),2&n){const e=s.$implicit,a=t.XpG(6);t.R7$(2),t.SpI("",e.label," "),t.R7$(),t.Y8G("placement",e.caveatPlacement)("componentId",a.config().componentId),t.R7$(),t.Y8G("placement",e.secondaryCaveatPlacement)("componentId",a.config().componentId),t.R7$(),t.vxM(e.tooltip?5:-1),t.R7$(3),t.vxM(a.isMoneyMarketFund()?8:9),t.R7$(4),t.JRh(e.val),t.R7$(),t.vxM(a.showMainBenchmark()?13:-1),t.R7$(),t.vxM(a.isMoneyMarketFund()?14:-1)}}function im(n,s){if(1&n&&(t.j41(0,"div",23),t.Z7z(1,om,15,10,null,null,z),t.k0s()),2&n){const e=t.XpG(5);t.R7$(),t.Dyx(e.statisticsDataSignal())}}function sm(n,s){if(1&n&&(t.nrm(0,"frk-proximal",39),t.j41(1,"header",8)(2,"h2",59),t.EFF(3),t.nI1(4,"translate"),t.nrm(5,"frk-footnote",41),t.k0s(),t.j41(6,"p")(7,"small"),t.DNE(8,qp,2,4),t.EFF(9),t.nI1(10,"translate"),t.k0s()()(),t.DNE(11,im,3,0,"div",23),t.nrm(12,"frk-proximal",44)),2&n){let e,a;const o=t.XpG(4);t.R7$(3),t.SpI(" ",t.bMT(4,5,"products.section-headings.portfolio-statistics")," "),t.R7$(2),t.Y8G("componentId",o.config().componentId),t.R7$(3),t.vxM(o.mainFreq()&&null!=(e=o.mainFreq())&&e.asOfDate?8:-1),t.R7$(),t.SpI(" (",t.bMT(10,7,"products.updated-"+(null==(a=o.mainFreq())?null:a.updateFrequency)),")"),t.R7$(2),t.vxM(o.statisticsDataSignal().length>0?11:-1)}}function rm(n,s){if(1&n&&(t.j41(0,"div",56)(1,"div",57),t.DNE(2,jp,14,8)(3,Wp,9,7),t.k0s(),t.j41(4,"div",58),t.DNE(5,sm,13,9),t.k0s()()),2&n){const e=t.XpG(3);t.R7$(2),t.vxM(e.assetsDataSignal().length?2:-1),t.R7$(),t.vxM(e.positionsDataSignal()&&e.positionsDataSignal().length||"LOADED"===e.componentsStatus["frk-asset-download-holdings"]||"LOADING"===e.componentsStatus["frk-asset-download-holdings"]?3:-1),t.R7$(2),t.vxM(e.statisticsDataSignal().length>0?5:-1)}}function lm(n,s){if(1&n&&(t.j41(0,"div",3),t.DNE(1,rm,6,3,"div",56),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.vxM(e.statisticsAndPosition()?1:-1)}}function cm(n,s){if(1&n&&t.DNE(0,Gp,2,5,"section",2)(1,lm,2,1,"div",3),2&n){const e=t.XpG();t.vxM(e.isCardView()?-1:0),t.R7$(),t.vxM(e.isCardView()?1:-1)}}function dm(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",52),t.EFF(2),t.k0s(),t.j41(3,"td",53)(4,"strong",36),t.EFF(5),t.k0s()(),t.j41(6,"td",53)(7,"strong",36),t.EFF(8),t.k0s()()()),2&n){const e=s.$implicit;t.R7$(2),t.SpI(" ",e.asOfDate," "),t.R7$(3),t.JRh(e.averageLife),t.R7$(3),t.JRh(e.averageMaturity)}}function um(n,s){if(1&n&&(t.j41(0,"table",42)(1,"caption",25),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"thead",45)(5,"tr",46)(6,"th",69)(7,"span",29),t.EFF(8),t.nI1(9,"translate"),t.k0s()(),t.j41(10,"th",70)(11,"strong"),t.EFF(12),t.k0s(),t.nrm(13,"frk-footnote",16),t.j41(14,"frk-tooltip",71),t.nI1(15,"translate"),t.nrm(16,"p",19),t.k0s()(),t.j41(17,"th",70)(18,"strong"),t.EFF(19),t.k0s(),t.nrm(20,"frk-footnote",16),t.j41(21,"frk-tooltip",71),t.nI1(22,"translate"),t.nrm(23,"p",19),t.k0s()()()(),t.j41(24,"tbody",51),t.Z7z(25,dm,9,3,"tr",null,t.fX1),t.k0s()()),2&n){let e,a,o,i,r,l;const c=t.XpG();t.R7$(2),t.SpI(" ",t.bMT(3,12,"products.section-headings.portfolio-statistics")," "),t.R7$(6),t.JRh(t.bMT(9,14,"products.portfolio-historic-as-of-date")),t.R7$(4),t.JRh(null==(e=c.historicWeightedHeaders())?null:e.averageLifeHeading),t.R7$(),t.Y8G("placement",null==(a=c.historicWeightedHeaders())?null:a.averageLifeCaveatPlacement)("componentId",c.config().componentId),t.R7$(),t.Y8G("ariaLabel",t.bMT(15,16,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",null==(o=c.historicWeightedHeaders())?null:o.averageLifeTooltip,t.npT),t.R7$(3),t.JRh(null==(i=c.historicWeightedHeaders())?null:i.averageMaturityHeading),t.R7$(),t.Y8G("placement",null==(r=c.historicWeightedHeaders())?null:r.averageMaturityCaveatPlacement)("componentId",c.config().componentId),t.R7$(),t.Y8G("ariaLabel",t.bMT(22,18,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",null==(l=c.historicWeightedHeaders())?null:l.averageMaturityTooltip,t.npT),t.R7$(2),t.Dyx(c.historicWeightedRowData())}}const pm=n=>({couponRate:n}),mm=(n,s)=>({couponRateData:n,index:s});
1function hm(n,s){if(1&n&&t.nrm(0,"frk-section-header",3),2&n){const e=t.XpG(2);t.Y8G("sectionHeader",e.couponRateSectionHeader)}}function fm(n,s){if(1&n&&t.nrm(0,"frk-proximal",4),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.couponRate())||null==e.proximals?null:e.proximals.proximalTopPlacement)}}function _m(n,s){if(1&n&&t.nrm(0,"frk-proximal",4),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.couponRate())||null==e.proximals?null:e.proximals.secondaryProximalTopPlacement)}}function gm(n,s){if(1&n&&(t.j41(0,"tr"),t.eu8(1,9),t.k0s()),2&n){const e=s.$implicit,a=s.$index;t.XpG(2);const o=t.sdS(5);t.R7$(),t.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.l_i(2,mm,e,a))}}function Cm(n,s){if(1&n&&(t.j41(0,"div",10),t.nrm(1,"frk-highcharts",11),t.k0s()),2&n){let e,a;const o=t.XpG(2);t.R7$(),t.Y8G("chartData",null==(e=o.couponRate())?null:e.chartData)("chartConfig",null==(a=o.couponRate())?null:a.chartConfig)}}function bm(n,s){if(1&n&&t.nrm(0,"frk-proximal",4),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.couponRate())||null==e.proximals?null:e.proximals.proximalBottomPlacement)}}function xm(n,s){if(1&n&&t.nrm(0,"frk-proximal",4),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.couponRate())||null==e.proximals?null:e.proximals.secondaryProximalBottomPlacement)}}function Dm(n,s){if(1&n&&(t.DNE(0,hm,1,1,"frk-section-header",3)(1,fm,1,1,"frk-proximal",4)(2,_m,1,1,"frk-proximal",4),t.j41(3,"div",5)(4,"div",6)(5,"table",7)(6,"caption",8),t.EFF(7),t.k0s(),t.j41(8,"thead")(9,"tr"),t.eu8(10,9),t.k0s()(),t.j41(11,"tbody"),t.Z7z(12,gm,2,5,"tr",null,z),t.k0s()()(),t.DNE(14,Cm,2,2,"div",10),t.k0s(),t.DNE(15,bm,1,1,"frk-proximal",4)(16,xm,1,1,"frk-proximal",4)),2&n){let e,a,o,i,r,l;const c=t.XpG(),p=t.sdS(3);t.vxM(null!=c.couponRateSectionHeader&&c.couponRateSectionHeader.allocationHeading?0:-1),t.R7$(),t.vxM(null!=(e=c.couponRate())&&null!=e.proximals&&e.proximals.proximalTopPlacement?1:-1),t.R7$(),t.vxM(null!=(a=c.couponRate())&&null!=a.proximals&&a.proximals.secondaryProximalTopPlacement?2:-1),t.R7$(5),t.SpI(" ",null==c.couponRateSectionHeader?null:c.couponRateSectionHeader.allocationHeading," "),t.R7$(3),t.Y8G("ngTemplateOutlet",p)("ngTemplateOutletContext",t.eq3(9,pm,c.couponRate())),t.R7$(2),t.Dyx(null==(o=c.couponRate())?null:o.data),t.R7$(2),t.vxM(null!=(i=c.couponRate())&&i.chartData?14:-1),t.R7$(),t.vxM(null!=(r=c.couponRate())&&null!=r.proximals&&r.proximals.proximalBottomPlacement?15:-1),t.R7$(),t.vxM(null!=(l=c.couponRate())&&null!=l.proximals&&l.proximals.secondaryProximalBottomPlacement?16:-1)}}function vm(n,s){if(1&n&&(t.j41(0,"th",12),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.j41(3,"th",13),t.EFF(4),t.nI1(5,"translate"),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.SpI(" ",t.bMT(2,2,"products.portfolio-fund-portfolio-tab")," "),t.R7$(3),t.SpI(" ",t.i5U(5,4,"products.fund",e.config().productId)," ")}}function Tm(n,s){if(1&n&&(t.j41(0,"td",14),t.nrm(1,"span",15),t.EFF(2),t.k0s(),t.j41(3,"td",16),t.EFF(4),t.k0s()),2&n){const e=s.couponRateData,a=s.index;t.R7$(),t.Y8G("ngClass",`bg-chart-color${a}`),t.R7$(),t.SpI(" ",e.label," "),t.R7$(2),t.JRh(e.breakdown)}}function Sm(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.creditQuality())||null==e.proximals?null:e.proximals.proximalTopPlacement)}}function ym(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.creditQuality())||null==e.proximals?null:e.proximals.secondaryProximalTopPlacement)}}function Rm(n,s){if(1&n&&(t.j41(0,"th",9)(1,"div",12),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",13)(5,"frk-tooltip",14),t.nI1(6,"translate"),t.nI1(7,"translate"),t.nrm(8,"p",15),t.k0s()()()()),2&n){let e,a;const o=t.XpG(2);t.R7$(2),t.SpI(" ",t.bMT(3,5,"products.benchmark")," "),t.R7$(3),t.Y8G("placement",null==(e=o.creditQuality())?null:e.tooltipPlacement)("tooltipTitle",t.bMT(6,7,"products.benchmark"))("ariaLabel",t.bMT(7,9,"common.aria-label.tooltip")),t.R7$(3),t.Y8G("innerHTML",null==(a=o.creditQuality())||null==a.portfolioAllocation?null:a.portfolioAllocation.benchmarkName,t.npT)}}
1function km(n,s){if(1&n&&t.nrm(0,"span",17),2&n){const e=t.XpG().$index,a=t.XpG(2);t.Y8G("ngClass","bg-chart-color"+e%a.chartColors.length)}}function Em(n,s){if(1&n&&(t.j41(0,"td",18),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.benchmark)}}function Fm(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",13)(2,"div",16),t.DNE(3,km,1,1,"span",17),t.EFF(4),t.k0s()(),t.j41(5,"td",18),t.EFF(6),t.k0s(),t.DNE(7,Em,2,1,"td",18),t.k0s()),2&n){let e,a;const o=s.$implicit,i=t.XpG(2);t.R7$(3),t.vxM(null!=(e=i.creditQuality())&&e.showBenchmark?-1:3),t.R7$(),t.SpI(" ",o.label," "),t.R7$(2),t.JRh(o.breakdown),t.R7$(),t.vxM(null!=(a=i.creditQuality())&&a.showBenchmark?7:-1)}}function $m(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.creditQuality())||null==e.proximals?null:e.proximals.proximalBottomPlacement)}}function Am(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.creditQuality())||null==e.proximals?null:e.proximals.secondaryProximalBottomPlacement)}}function Mm(n,s){if(1&n&&(t.nrm(0,"frk-section-header",1),t.DNE(1,Sm,1,1,"frk-proximal",2)(2,ym,1,1,"frk-proximal",2),t.j41(3,"div",3)(4,"div",4)(5,"table",5)(6,"caption",6),t.EFF(7),t.k0s(),t.j41(8,"thead")(9,"tr",7)(10,"th",8),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.j41(13,"th",9),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.DNE(16,Rm,9,11,"th",9),t.k0s()(),t.j41(17,"tbody"),t.Z7z(18,Fm,8,4,"tr",null,z),t.k0s()()(),t.j41(20,"div",10),t.nrm(21,"frk-highcharts",11),t.k0s()(),t.DNE(22,$m,1,1,"frk-proximal",2)(23,Am,1,1,"frk-proximal",2)),2&n){let e,a,o,i,r,l,c,p,_,E;const y=t.XpG();t.Y8G("sectionHeader",null==(e=y.creditQuality())?null:e.sectionHeader),t.R7$(),t.vxM(null!=(a=y.creditQuality())&&null!=a.proximals&&a.proximals.proximalTopPlacement?1:-1),t.R7$(),t.vxM(null!=(o=y.creditQuality())&&null!=o.proximals&&o.proximals.secondaryProximalTopPlacement?2:-1),t.R7$(5),t.SpI(" ",null==(i=y.creditQuality())||null==i.sectionHeader?null:i.sectionHeader.allocationHeading," "),t.R7$(4),t.SpI(" ",t.bMT(12,11,"products.portfolio-quality-allocation-tab")," "),t.R7$(3),t.SpI(" ",t.i5U(15,13,"products.fund",y.config().productId)," "),t.R7$(2),t.vxM(null!=(r=y.creditQuality())&&r.showBenchmark?16:-1),t.R7$(2),t.Dyx(null==(l=y.creditQuality())||null==l.portfolioAllocation?null:l.portfolioAllocation.data),t.R7$(3),t.Y8G("chartConfig",null==(c=y.creditQuality())?null:c.chartConfig)("chartData",null==(p=y.creditQuality())?null:p.chartData),t.R7$(),t.vxM(null!=(_=y.creditQuality())&&null!=_.proximals&&_.proximals.proximalBottomPlacement?22:-1),t.R7$(),t.vxM(null!=(E=y.creditQuality())&&null!=E.proximals&&E.proximals.secondaryProximalBottomPlacement?23:-1)}}const Nn=(n,s)=>({"pl-14 md:pl-16":n,"pl-20 md:pl-24":s});function Pm(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.currencyExposure())||null==e.proximals?null:e.proximals.proximalTopPlacement)}}function Im(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.currencyExposure())||null==e.proximals?null:e.proximals.secondaryProximalTopPlacement)}}function wm(n,s){if(1&n){const e=t.RV6();t.j41(0,"button",13),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.toggleAll())}),t.j41(1,"span",14),t.nrm(2,"frk-heroicon",15),t.k0s(),t.j41(3,"p",16),t.EFF(4),t.nI1(5,"translate"),t.k0s()()}if(2&n){const e=t.XpG(2);t.BMQ("aria-controls",e.ariaControlsList),t.R7$(4),t.SpI(" ",t.bMT(5,2,e.collapseExpandText())," ")}}function Nm(n,s){1&n&&t.nrm(0,"col",10)}function Gm(n,s){if(1&n&&(t.j41(0,"th",12)(1,"div",17),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",18)(5,"frk-tooltip",19),t.nI1(6,"translate"),t.nrm(7,"p",20),t.k0s()()()()),2&n){let e,a;const o=t.XpG(2);t.R7$(2),t.SpI(" ",t.bMT(3,5,"products.benchmark")," "),t.R7$(3),t.Y8G("placement",null==(e=o.currencyExposure())?null:e.tooltipPlacement)("tooltipTitle",(null==(a=o.currencyExposure())||null==a.sectionHeader||null==a.sectionHeader.tooltip?null:a.sectionHeader.tooltip.tooltipTitle)||"")("ariaLabel",t.bMT(6,7,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",o.benchmarkName||"",t.npT)}}
1function Om(n,s){if(1&n){const e=t.RV6();t.j41(0,"button",29),t.bIt("click",function(o){t.eBV(e);const i=t.XpG(3);return t.Njj(i.toggleRow(o))}),t.nrm(1,"frk-heroicon",15),t.j41(2,"span",30),t.EFF(3),t.nI1(4,"translate"),t.nI1(5,"translate"),t.k0s()()}if(2&n){const e=t.XpG().$implicit;t.BMQ("aria-controls",e.ariaOwns.join(" ")),t.R7$(3),t.Lme("",t.bMT(4,3,"products.toggle")," ",t.bMT(5,5,e.label),"")}}function Ym(n,s){if(1&n&&t.nrm(0,"span",25),2&n){const e=t.XpG().$index,a=t.XpG(2);t.Y8G("ngClass","bg-chart-color"+e%a.chartColors.length)}}function jm(n,s){if(1&n&&(t.j41(0,"td",27),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.benchmark," ")}}function Lm(n,s){if(1&n&&(t.j41(0,"td",32),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.benchmark," ")}}function Bm(n,s){if(1&n&&(t.j41(0,"tr",28)(1,"td",31),t.EFF(2),t.k0s(),t.j41(3,"td",32),t.EFF(4),t.k0s(),t.DNE(5,Lm,2,1,"td",32),t.k0s()),2&n){let e,a;const o=s.$implicit,i=t.XpG(3);t.Y8G("id",o.id),t.R7$(),t.Y8G("ngClass",t.l_i(5,Nn,null==(e=i.currencyExposure())?null:e.showBenchmark,!(null!=(e=i.currencyExposure())&&e.showBenchmark))),t.R7$(),t.SpI(" ",o.label," "),t.R7$(2),t.SpI(" ",o.breakdown," "),t.R7$(),t.vxM(null!=(a=i.currencyExposure())&&a.showBenchmark?5:-1)}}function Vm(n,s){if(1&n&&(t.j41(0,"tr",21)(1,"th",22)(2,"div",23),t.DNE(3,Om,6,7,"button",24)(4,Ym,1,1,"span",25),t.j41(5,"p",26),t.EFF(6),t.k0s()()(),t.j41(7,"td",27),t.EFF(8),t.k0s(),t.DNE(9,jm,2,1,"td",27),t.k0s(),t.Z7z(10,Bm,6,8,"tr",28,z)),2&n){let e,a;const o=s.$implicit,i=t.XpG(2);t.Y8G("id",o.id),t.R7$(3),t.vxM(o.children.length?3:-1),t.R7$(),t.vxM(null!=(e=i.currencyExposure())&&e.showBenchmark?-1:4),t.R7$(2),t.SpI(" ",o.label," "),t.R7$(2),t.SpI(" ",o.breakdown," "),t.R7$(),t.vxM(null!=(a=i.currencyExposure())&&a.showBenchmark?9:-1),t.R7$(),t.Dyx(null==o?null:o.children)}}function Xm(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",34)(1,"button",35),t.bIt("click",function(){t.eBV(e);const o=t.XpG(3);return t.Njj(o.toggleAll())}),t.j41(2,"span",14),t.nrm(3,"frk-heroicon",15),t.k0s(),t.j41(4,"p",16),t.EFF(5),t.nI1(6,"translate"),t.k0s()()()}if(2&n){const e=t.XpG(3);t.R7$(),t.BMQ("aria-controls",e.ariaControlsList),t.R7$(4),t.SpI(" ",t.bMT(6,2,e.collapseExpandText())," ")}}function Hm(n,s){if(1&n&&(t.nrm(0,"frk-highcharts",33),t.DNE(1,Xm,7,4,"div",34)),2&n){let e,a;const o=t.XpG(2);t.Y8G("chartData",null==(e=o.currencyExposure())?null:e.chartData)("chartConfig",null==(a=o.currencyExposure())?null:a.chartConfig),t.R7$(),t.vxM(o.showToggle?1:-1)}}function Um(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.currencyExposure())||null==e.proximals?null:e.proximals.proximalBottomPlacement)}}function zm(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.currencyExposure())||null==e.proximals?null:e.proximals.secondaryProximalBottomPlacement)}}function Wm(n,s){if(1&n&&(t.j41(0,"div",1),t.nrm(1,"frk-section-header",2),t.DNE(2,Pm,1,1,"frk-proximal",3)(3,Im,1,1,"frk-proximal",3)(4,wm,6,4,"button",4),t.j41(5,"div",5)(6,"div",6)(7,"table",7)(8,"caption",8),t.EFF(9),t.k0s(),t.j41(10,"colgroup"),t.nrm(11,"col",9)(12,"col",10),t.DNE(13,Nm,1,0,"col",10),t.k0s(),t.j41(14,"thead")(15,"tr")(16,"th",11),t.EFF(17),t.nI1(18,"translate"),t.k0s(),t.j41(19,"th",12),t.EFF(20),t.nI1(21,"translate"),t.k0s(),t.DNE(22,Gm,8,9,"th",12),t.k0s()(),t.j41(23,"tbody"),t.Z7z(24,Vm,12,6,null,null,z),t.k0s()()(),t.DNE(26,Hm,2,3),t.k0s(),t.DNE(27,Um,1,1,"frk-proximal",3)(28,zm,1,1,"frk-proximal",3),t.k0s()),2&n){let e,a,o,i,r,l,c,p,_,E;const y=t.XpG();t.R7$(),t.Y8G("sectionHeader",null==(e=y.currencyExposure())?null:e.sectionHeader),t.R7$(),t.vxM(null!=(a=y.currencyExposure())&&null!=a.proximals&&a.proximals.proximalTopPlacement?2:-1),t.R7$(),t.vxM(null!=(o=y.currencyExposure())&&null!=o.proximals&&o.proximals.secondaryProximalTopPlacement?3:-1),t.R7$(),t.vxM(y.showToggle?4:-1),t.R7$(5),t.SpI(" ",null==(i=y.currencyExposure())||null==i.sectionHeader?null:i.sectionHeader.allocationHeading," "),t.R7$(4),t.vxM(null!=(r=y.currencyExposure())&&r.showBenchmark?13:-1),t.R7$(4),t.SpI(" ",t.bMT(18,12,"products.portfolio-currency-breakdown-tab")," "),t.R7$(3),t.SpI(" ",t.i5U(21,14,"products.fund",y.config().productId)," "),t.R7$(2),t.vxM(null!=(l=y.currencyExposure())&&l.showBenchmark?22:-1),t.R7$(2),t.Dyx(null==(c=y.currencyExposure())||null==c.portfolioAllocation?null:c.portfolioAllocation.data),t.R7$(2),t.vxM(null!=(p=y.currencyExposure())&&p.
1chartData?26:-1),t.R7$(),t.vxM(null!=(_=y.currencyExposure())&&null!=_.proximals&&_.proximals.proximalBottomPlacement?27:-1),t.R7$(),t.vxM(null!=(E=y.currencyExposure())&&null!=E.proximals&&E.proximals.secondaryProximalBottomPlacement?28:-1)}}function qm(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.digitalAssetAllocation())||null==e.proximals?null:e.proximals.proximalTopPlacement)}}function Qm(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.digitalAssetAllocation())||null==e.proximals?null:e.proximals.secondaryProximalTopPlacement)}}function Zm(n,s){if(1&n&&(t.j41(0,"tr",12)(1,"th",14)(2,"div",15),t.nrm(3,"span",16),t.j41(4,"p",17),t.EFF(5),t.k0s()()(),t.j41(6,"td",18),t.EFF(7),t.k0s()()),2&n){const e=s.$implicit,a=s.$index,o=t.XpG(2);t.Y8G("id",e.id),t.R7$(3),t.Y8G("ngClass","bg-chart-color"+a%o.chartColors.length),t.R7$(2),t.SpI(" ",e.label," "),t.R7$(2),t.SpI(" ",e.breakdown," ")}}function Jm(n,s){if(1&n&&t.nrm(0,"frk-highcharts",13),2&n){let e,a;const o=t.XpG(2);t.Y8G("chartData",null==(e=o.digitalAssetAllocation())?null:e.chartData)("chartConfig",null==(a=o.digitalAssetAllocation())?null:a.chartConfig)}}function Km(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.digitalAssetAllocation())||null==e.proximals?null:e.proximals.proximalBottomPlacement)}}function t1(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.digitalAssetAllocation())||null==e.proximals?null:e.proximals.secondaryProximalBottomPlacement)}}function e1(n,s){if(1&n&&(t.j41(0,"div",1),t.nrm(1,"frk-section-header",2),t.DNE(2,qm,1,1,"frk-proximal",3)(3,Qm,1,1,"frk-proximal",3),t.j41(4,"div",4)(5,"div",5)(6,"table",6)(7,"caption",7),t.EFF(8),t.k0s(),t.j41(9,"colgroup"),t.nrm(10,"col",8)(11,"col",9),t.k0s(),t.j41(12,"thead")(13,"tr")(14,"th",10),t.EFF(15),t.nI1(16,"translate"),t.k0s(),t.j41(17,"th",11),t.EFF(18),t.nI1(19,"translate"),t.k0s()()(),t.j41(20,"tbody"),t.Z7z(21,Zm,8,4,"tr",12,z),t.k0s()()(),t.DNE(23,Jm,1,2,"frk-highcharts",13),t.k0s(),t.DNE(24,Km,1,1,"frk-proximal",3)(25,t1,1,1,"frk-proximal",3),t.k0s()),2&n){let e,a,o,i,r,l,c,p;const _=t.XpG();t.R7$(),t.Y8G("sectionHeader",null==(e=_.digitalAssetAllocation())?null:e.sectionHeader),t.R7$(),t.vxM(null!=(a=_.digitalAssetAllocation())&&null!=a.proximals&&a.proximals.proximalTopPlacement?2:-1),t.R7$(),t.vxM(null!=(o=_.digitalAssetAllocation())&&null!=o.proximals&&o.proximals.secondaryProximalTopPlacement?3:-1),t.R7$(5),t.SpI(" ",null==(i=_.digitalAssetAllocation())||null==i.sectionHeader?null:i.sectionHeader.allocationHeading," "),t.R7$(7),t.SpI(" ",t.bMT(16,9,"products.portfolio-holdings")," "),t.R7$(3),t.SpI(" ",t.bMT(19,11,"products.percent-of-total")," "),t.R7$(3),t.Dyx(null==(r=_.digitalAssetAllocation())||null==r.portfolioAllocation?null:r.portfolioAllocation.data),t.R7$(2),t.vxM(null!=(l=_.digitalAssetAllocation())&&l.chartData?23:-1),t.R7$(),t.vxM(null!=(c=_.digitalAssetAllocation())&&null!=c.proximals&&c.proximals.proximalBottomPlacement?24:-1),t.R7$(),t.vxM(null!=(p=_.digitalAssetAllocation())&&null!=p.proximals&&p.proximals.secondaryProximalBottomPlacement?25:-1)}}function n1(n,s){if(1&n&&(t.j41(0,"frk-tooltip",5),t.nI1(1,"translate"),t.nrm(2,"p",14),t.k0s()),2&n){let e,a,o;const i=t.XpG(3);t.Y8G("placement",null==(e=i.header())||null==e.tooltip?null:e.tooltip.placement)("tooltipTitle",null==(a=i.header())||null==a.tooltip?null:a.tooltip.tooltipTitle)("ariaLabel",t.bMT(1,4,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",null==(o=i.header())||null==o.tooltip?null:o.tooltip.tooltipDescription,t.npT)}}function a1(n,s){if(1&n&&(t.j41(0,"option",18),t.EFF(1),t.k0s()),2&n){const e=s.$implicit;t.Y8G("value",e),t.R7$(),t.JRh(e)}}function o1(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",9)(1,"label",15),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",16)(5,"select",17),t.mxI("ngModelChange",function(o){t.eBV(e);const i=t.XpG(3);return t.DH7(i.currentAsofDateDropdownSignal,o)||(i.currentAsofDateDropdownSignal=o),t.Njj(o)}),t.bIt("ngModelChange",function(o){t.eBV(e);const i=t.XpG(3);return t.Njj(i.onDropdownChange(o))}),t.Z7z(6,a1,2,2,"option",18,t.fX1),t.k0s()()()}if(2&n){const e=t.XpG(3);t.R7$(),t.Y8G("for",e.dropdownId),t.R7$(),t.JRh(t.bMT(3,5,"products.as-of")),t.R7$(3),t.Y8G("name",e.dropdownId)("id",e.dropdownId),t.R50("ngModel",e.currentAsofDateDropdownSignal),t.R7$(),t.Dyx(e.asOfDateOptions())}}function i1(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.proximals())?null:e.proximalTopPlacement)}}function s1(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.proximals())?null:e.secondaryProximalTopPlacement)}}function r1(n,s){if(1&n){const e=t.RV6();t.j41(0,"header",3)(1,"h3",4),t.EFF(2),t.DNE(3,n1,3,6,"frk-tooltip",5),t.nrm(4,"frk-footnote",6),t.j41(5,"p",7),t.EFF(6),t.nI1(7,"translate"),t.nI1(8,"translate"),t.k0s()(),t.j41(9,"div",8),t.DNE(10,o1,8,7,"div",9),t.j41(11,"button",10),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.triggerDownloadAction())}),t.j41(12,"span",11)(13,"span",12),t.nrm(14,"frk-heroicon",13),t.k0s(),t.EFF(15),t.nI1(16,"translate"),t.k0s()()()(),t.DNE(17,i1,1,1,"frk-proximal",2)(18,s1,1,1,"frk-proximal",2)}if(2&n){let e,a,o,i,r;const l=t.XpG(2);t.R7$(2),t.SpI(" ",null==(e=l.header())?null:e.heading," "),t.R7$(),t.vxM(null!=(a=l.header())&&a.tooltip?3:-1),t.R7$(3),t.E5c(" ",t.bMT(7,10,"pds.PERF_AS_OF_DATE")," ",null==(o=l.header())?null:o.asOfDate," (",t.bMT(8,12,"products.updated-"+(null==(o=l.header())?null:o.updateFrequency)),") "),t.R7$(4),t.vxM(l.asOfDateOptions().length>1?10:-1),t.R7$(4),t.Y8G("size",16),t.R7$(),t.SpI(" ",t.bMT(16,14,"products.xls-file-extension")," "),t.R7$(2),t.vxM(null!=(i=l.proximals())&&i.proximalTopPlacement?17:-1),t.R7$(),t.vxM(null!=(r=l.proximals())&&r.secondaryProximalTopPlacement?18:-1)}}function l1(n,s){if(1&n&&(t.j41(0,"div",1),t.nrm(1,"frk-dynamic-table",19),t.nI1(2,"translate"),t.nI1(3,"translate"),t.nI1(4,"translate"),t.nI1(5,"translate"),t.nI1(6,"translate"),t.nI1(7,"translate"),t.nI1(8,"translate"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Y8G("colDefs",e.colDefs())("rowData",e.selectHoldings())("showPagination",!0)("isCardView",e.isCardView())("ariaLabelGoToPage",t.bMT(2,11,"common.ariaLabelGoToPage"))("ariaLabelPagination",t.bMT(3,13,"common.navigationLandmark"))("nextPageText",t.bMT(4,15,"products.next"))("sortAccessibilityText",t.bMT(5,17,"products.aria-label.sort-by-column"))("prevPageText",t.bMT(6,19,"products.previous"))("showMoreTxt",t.bMT(7,21,"products.more-details"))("showLessTxt",t.bMT(8,23,"products.less-detail
1s"))}}function c1(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.proximals())?null:e.proximalBottomPlacement)}}function d1(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.proximals())?null:e.secondaryProximalBottomPlacement)}}function u1(n,s){if(1&n&&t.DNE(0,r1,19,16)(1,l1,9,25,"div",1)(2,c1,1,1,"frk-proximal",2)(3,d1,1,1,"frk-proximal",2),2&n){let e,a;const o=t.XpG();t.vxM(o.header()?0:-1),t.R7$(),t.vxM(o.colDefs()&&o.selectHoldings()?1:-1),t.R7$(),t.vxM(null!=(e=o.proximals())&&e.proximalBottomPlacement?2:-1),t.R7$(),t.vxM(null!=(a=o.proximals())&&a.secondaryProximalBottomPlacement?3:-1)}}function p1(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(4);t.Y8G("placement",null==(e=a.geographicAllocation().breakDown.proximals)?null:e.proximalTopPlacement)}}function m1(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(4);t.Y8G("placement",null==(e=a.geographicAllocation().breakDown.proximals)?null:e.secondaryProximalTopPlacement)}}function h1(n,s){if(1&n&&(t.nrm(0,"frk-section-header",2),t.DNE(1,p1,1,1,"frk-proximal",3)(2,m1,1,1,"frk-proximal",3)),2&n){let e,a;const o=t.XpG(3);t.Y8G("sectionHeader",o.geographicAllocation().breakDown.header),t.R7$(),t.vxM(null!=(e=o.geographicAllocation().breakDown.proximals)&&e.proximalTopPlacement?1:-1),t.R7$(),t.vxM(null!=(a=o.geographicAllocation().breakDown.proximals)&&a.secondaryProximalTopPlacement?2:-1)}}function f1(n,s){if(1&n){const e=t.RV6();t.j41(0,"button",4),t.bIt("click",function(){t.eBV(e);const o=t.XpG(3);return t.Njj(o.toggleAll())}),t.j41(1,"span",5),t.nrm(2,"frk-heroicon",6),t.k0s(),t.j41(3,"p",7),t.EFF(4),t.nI1(5,"translate"),t.k0s()()}if(2&n){const e=t.XpG(3);t.BMQ("aria-controls",e.ariaControlsList),t.R7$(4),t.SpI(" ",t.bMT(5,2,e.collapseExpandText())," ")}}function _1(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",9)(1,"button",19),t.bIt("click",function(){t.eBV(e);const o=t.XpG(4);return t.Njj(o.toggleAll())}),t.j41(2,"span",5),t.nrm(3,"frk-heroicon",6),t.k0s(),t.j41(4,"p",7),t.EFF(5),t.nI1(6,"translate"),t.k0s()()()}if(2&n){const e=t.XpG(4);t.R7$(),t.BMQ("aria-controls",e.ariaControlsList),t.R7$(4),t.SpI(" ",t.bMT(6,2,e.collapseExpandText())," ")}}function g1(n,s){1&n&&t.nrm(0,"col",14)}function C1(n,s){if(1&n&&(t.j41(0,"th",17)(1,"div",20),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",21)(5,"frk-tooltip",22),t.nI1(6,"translate"),t.nrm(7,"p",23),t.k0s()()()()),2&n){let e,a;const o=t.XpG(4);t.R7$(2),t.SpI(" ",t.bMT(3,5,"products.benchmark")," "),t.R7$(3),t.Y8G("placement",null==(e=o.geographicAllocation().breakDown.header)||null==e.tooltip?null:e.tooltip.placement)("tooltipTitle",(null==(a=o.geographicAllocation().breakDown.header)||null==a.tooltip?null:a.tooltip.tooltipTitle)||"")("ariaLabel",t.bMT(6,7,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",o.benchmarkName||"",t.npT)}}function b1(n,s){if(1&n){const e=t.RV6();t.j41(0,"button",32),t.bIt("click",function(o){t.eBV(e);const i=t.XpG(5);return t.Njj(i.toggleRow(o))}),t.nrm(1,"frk-heroicon",6),t.j41(2,"span",33),t.EFF(3),t.nI1(4,"translate"),t.nI1(5,"translate"),t.k0s()()}if(2&n){const e=t.XpG().$implicit;t.BMQ("aria-controls",e.ariaOwns),t.R7$(3),t.Lme("",t.bMT(4,3,"products.toggle")," ",t.bMT(5,5,e.label),"")}}function x1(n,s){if(1&n&&t.nrm(0,"span",28),2&n){const e=t.XpG().$index,a=t.XpG(4);t.Y8G("ngClass","bg-chart-color"+e%a.chartColors.length)}}function D1(n,s){if(1&n&&(t.j41(0,"td",30),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.benchmark," ")}}function v1(n,s){if(1&n&&(t.j41(0,"td",35),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.benchmark," ")}}function T1(n,s){if(1&n&&(t.j41(0,"tr",31)(1,"td",34),t.EFF(2),t.k0s(),t.j41(3,"td",35),t.EFF(4),t.k0s(),t.DNE(5,v1,2,1,"td",35),t.k0s()),2&n){const e=s.$implicit,a=t.XpG(5);t.Y8G("id",e.id),t.R7$(),t.Y8G("ngClass",t.l_i(5,Nn,a.showBenchmark,!a.showBenchmark)),t.R7$(),t.SpI(" ",e.label," "),t.R7$(2),t.SpI(" ",e.breakdown," "),t.R7$(),t.vxM(a.showBenchmark?5:-1)}}function S1(n,s){if(1&n&&(t.j41(0,"tr",24)(1,"th",25)(2,"div",26),t.DNE(3,b1,6,7,"button",27)(4,x1,1,1,"span",28),t.j41(5,"p",29),t.EFF(6),t.k0s()()(),t.j41(7,"td",30),t.EFF(8),t.k0s(),t.DNE(9,D1,2,1,"td",30),t.k0s(),t.Z7z(10,T1,6,8,"tr",31,z)),2&n){const e=s.$implicit,a=t.XpG(4);t.Y8G("id",e.id),t.R7$(3),t.vxM(null!=e.children&&e.children.length?3:-1),t.R7$(),t.vxM(a.showBenchmark?-1:4),t.R7$(2),t.JRh(e.label),t.R7$(2),t.SpI(" ",e.breakdown," "),t.R7$(),t.vxM(a.showBenchmark?9:-1),t.R7$(),t.Dyx(e.children)}}function y1(n,s){if(1&n&&(t.j41(0,"div",18),t.nrm(1,"frk-highcharts",36),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.Y8G("chartConfig",e.geographicAllocation().breakDown.chartData.config)("chartData",e.geographicAllocation().breakDown.chartData.data)}}function R1(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(4);t.Y8G("placement",null==(e=a.geographicAllocation().breakDown.proximals)?null:e.proximalBottomPlacement)}}function k1(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(4);t.Y8G("placement",null==(e=a.geographicAllocation().breakDown.proximals)?null:e.secondaryProximalBottomPlacement)}}function E1(n,s){if(1&n&&(t.j41(0,"div",8),t.DNE(1,_1,7,4,"div",9),t.j41(2,"div",10)(3,"table",11)(4,"caption",12),t.EFF(5),t.k0s(),t.j41(6,"colgroup"),t.nrm(7,"col",13)(8,"col",14),t.DNE(9,g1,1,0,"col",14),t.k0s(),t.j41(10,"thead")(11,"tr",15)(12,"th",16),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.j41(15,"th",17),t.EFF(16),t.nI1(17,"translate"),t.k0s(),t.DNE(18,C1,8,9,"th",17),t.k0s()(),t.j41(19,"tbody"),t.Z7z(20,S1,12,6,null,null,z),t.k0s()()(),t.DNE(22,y1,2,2,"div",18),t.k0s(),t.DNE(23,R1,1,1,"frk-proximal",3)(24,k1,1,1,"frk-proximal",3)),2&n){let e,a,o;const i=t.XpG(3);t.R7$(),t.vxM(i.showToggle?1:-1),t.R7$(4),t.SpI(" ",null==(e=i.geographicAllocation().breakDown.header)?null:e.allocationHeading," "),t.R7$(4),t.vxM(i.showBenchmark?9:-1),t.R7$(4),t.SpI(" ",t.bMT(14,9,"products.portfolio-geographic-breakdown-tab")," "),t.R7$(3),t.SpI(" ",t.i5U(17,11,"products.fund",i.config().productId)," "),t.R7$(2),t.vxM(i.showBenchmark?18:-1),t.R7$(2),t.Dyx(i.geographicAllocation().breakDown.tableData),t.R7$(2),t.vxM(i.geographicAllocation().breakDown.chartData.data?22:-1),t.R7$(),t.vxM(null!=(a=i.geographicAllocation().breakDown.proximals)&&a.proximalBottomPlacement?23:-1),t.R7$(),t.vxM(null!=(o=i.geographicAllocation().breakDown.proximals)&&o.secondaryProximalBottomPlacement?24:-1)}}function F1(n,s){if(1&n&&t.DNE(0,h1,3,3)(1,f1,6,4,"button",1)(2,E1,25,14),2&n){let e;const a=t.XpG(2);t.vxM(null!=(e=a.geographicAllocation().breakDown.header)&&e.allocationHeading?0:-1),t.R7$(),t.vxM(a.showToggle?1:-1),t.R7$(),t.vxM(a.geographicAllocation().breakDown.tableData.length>0?2:-1)}}function $1(n,s){if(1&n&&t.nrm(0,"frk-section-header",2),2&n){const e=t.XpG(3);t.Y8G("sectionHeader",e.geographicAllocation().exposure.header)}}function A1(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(4);t.Y8G("placement",null==(e=a.geographicAllocation().exposure.proximals)?null:e.proximalTopPlacement)}}function M1(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(4);t.Y8G("placement",null==(e=a.geographicAllocation().exposure.proximals)?null:e.secondaryProximalTopPlacement)}}function P1(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",21),t.EFF(2),t.k0s(),t.j41(3,"td",39),t.EFF(4),t.k0s(),t.j41(5,"td",39),t.EFF(6),t.k0s()()),2&n){const e=s.$implicit;t.R7$(2),t.JRh(e.label),t.R7$(2),t.JRh(e.grossExposure),t.R7$(2),t.JRh(e.netExposure)}}function I1(n,s){if(1&n&&t.nrm(0,"frk-highcharts",38),2&n){const e=t.XpG(4);t.Y8G("chartConfig",e.geographicAllocation().exposure.chartData.config)("chartData",e.geographicAllocation().exposure.chartData.data)}}function w1(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(4);t.Y8G("placement",null==(e=a.geographicAllocation().exposure.proximals)?null:e.proximalBottomPlacement)}}function N1(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(4);t.Y8G("placement",null==(e=a.geographicAllocation().exposure.proximals)?null:e.secondaryProximalBottomPlacement)}}function G1(n,s){if(1&n&&(t.DNE(0,A1,1,1,"frk-proximal",3)(1,M1,1,1,"frk-proximal",3),t.j41(2,"div",8)(3,"div",10)(4,"table",37)(5,"caption",12),t.EFF(6),t.k0s(),t.j41(7,"thead")(8,"tr",15)(9,"th",16),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.j41(12,"th",17),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.j41(15,"th",17),t.EFF(16),t.nI1(17,"translate"),t.k0s()()(),t.j41(18,"tbody"),t.Z7z(19,P1,7,3,"tr",null,z),t.k0s()()(),t.DNE(21,I1,1,2,"frk-highcharts",38),t.k0s(),t.DNE(22,w1,1,1,"frk-proximal",3)(23,N1,1,1,"frk-proximal",3)),2&n){let e,a,o,i,r;const l=t.XpG(3);t.vxM(null!=(e=l.geographicAllocation().exposure.proximals)&&e.proximalTopPlacement?0:-1),t.R7$(),t.vxM(null!=(a=l.geographicAllocation().exposure.proximals)&&a.secondaryProximalTopPlacement?1:-1),t.R7$(5),t.SpI(" ",null==(o=l.geographicAllocation().exposure.header)?null:o.allocationHeading," "),t.R7$(4),t.SpI(" ",t.bMT(11,9,"products.portfolio-geographic-breakdown-tab")," "),t.R7$(3),t.SpI(" ",t.bMT(14,11,"products.gross-exposure")," "),t.R7$(3),t.SpI(" ",t.bMT(17,13,"products.net-exposure")," "),t.R7$(3),t.Dyx(l.geographicAllocation().exposure.tableData),t.R7$(2),t.vxM(l.geographicAllocation().exposure.chartData.data?21:-1),t.R7$(),t.vxM(null!=(i=l.geographicAllocation().exposure.proximals)&&i.proximalBottomPlacement?22:-1),t.R7$(),t.vxM(null!=(r=l.geographicAllocation().exposure.proximals)&&r.secondaryProximalBottomPlacement?23:-1)}}function O1(n,s){if(1&n&&t.DNE(0,$1,1,1,"frk-section-header",2)(1,G1,24,15),2&n){let e;const a=t.XpG(2);t.vxM(null!=(e=a.geographicAllocation().exposure.header)&&e.allocationHeading?0:-1),t.R7$(),t.vxM(a.geographicAllocation().exposure.tableData.length?1:-1)}}function Y1(n,s){if(1&n&&t.DNE(0,F1,3,3)(1,O1,2,2),2&n){const e=t.XpG();t.vxM(e.geographicAllocation().breakDown.tableData.length?0:-1),t.R7$(),t.vxM(e.geographicAllocation().exposure.tableData.length>0?1:-1)}}const j1=(n,s,e,a)=>({industry:n,industries:s,index:e,showBenchmark:a}),Gn=(n,s)=>null==s.portfolioAllocation?null:s.portfolioAllocation.benchmarkName;function L1(n,s){if(1&n&&t.nrm(0,"frk-proximal",4),2&n){const e=t.XpG().$implicit;t.Y8G("placement",null==e.proximals?null:e.proximals.proximalTopPlacement)}}function B1(n,s){if(1&n&&t.nrm(0,"frk-proximal",4),2&n){const e=t.XpG().$implicit;t.Y8G("placement",null==e.proximals?null:e.proximals.secondaryProximalTopPlacement)}}function V1(n,s){if(1&n&&(t.j41(0,"th",11)(1,"div",13),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",14)(5,"frk-tooltip",15),t.nI1(6,"translate"),t.nrm(7,"p",16),t.k0s()()()()),2&n){const e=t.XpG(2).$implicit,a=t.XpG(2);t.R7$(2),t.SpI(" ",t.bMT(3,4,"products.benchmark")," "),t.R7$(3),t.Y8G("placement",e.tooltipPlacement)("ariaLabel",t.bMT(6,6,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",a.benchmarkName||"",t.npT)}}function X1(n,s){if(1&n&&(t.j41(0,"th",11),t.EFF(1),t.nI1(2,"translate"),t.nrm(3,"frk-footnote",17),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.SpI(" ",t.bMT(2,2,"products.duration-contribution")," \xa0"),t.R7$(2),t.Y8G("componentId",e.componentId())}}function H1(n,s){if(1&n&&(t.j41(0,"tr"),t.eu8(1,18),t.k0s()),2&n){const e=s.$implicit,a=s.$index,o=t.XpG(2).$implicit;t.XpG(2);const i=t.sdS(3);t.R7$(),t.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.ziG(2,j1,e,o,a,o.showBenchmark))}}function U1(n,s){if(1&n&&(t.j41(0,"div",12),t.nrm(1,"frk-highcharts",19),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.Y8G("chartData",e.chartData)("chartConfig",e.chartConfig)}}function z1(n,s){if(1&n&&(t.j41(0,"div",5)(1,"div",7)(2,"table",8)(3,"caption",9),t.EFF(4),t.k0s(),t.j41(5,"thead")(6,"tr")(7,"th",10),t.EFF(8),t.nI1(9,"translate"),t.k0s(),t.j41(10,"th",11),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.DNE(13,V1,8,8,"th",11)(14,X1,4,4,"th",11),t.k0s()(),t.j41(15,"tbody"),t.Z7z(16,H1,2,7,"tr",null,z),t.k0s()()(),t.DNE(18,U1,2,2,"div",12),t.k0s()),2&n){const e=t.XpG().$implicit,a=t.XpG(2);t.R7$(4),t.SpI(" ",null==e.sectionHeader?null:e.sectionHeader.allocationHeading," "),t.R7$(4),t.SpI(" ",t.bMT(9,6,"products.industry-allocation-table-header")," "),t.R7$(3),t.SpI(" ",t.bMT(12,8,a.isCEF()?"products.fund":"products.percent-of-total")," "),t.R7$(2),t.vxM(e.showBenchmark?13:-1),t.R7$(),t.vxM(e.hasDuration?14:-1),t.R7$(2),t.Dyx(null==e.portfolioAllocation?null:e.portfolioAllocation.data),t.R7$(2),t.vxM(e.chartData?18:-1)}}function W1(n,s){if(1&n&&(t.j41(0,"div",20),t.nrm(1,"frk-highcharts",19),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.Y8G("chartData",e.chartData)("chartConfig",e.chartConfig)}}function q1(n,s){if(1&n&&(t.j41(0,"dl",24)(1,"div",26)(2,"dt",27),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"dd",28),t.EFF(6),t.k0s()(),t.j41(7,"div",26)(8,"dt",27),t.EFF(9),t.nI1(10,"translate"),t.j41(11,"frk-tooltip",15),t.nI1(12,"translate"),t.nrm(13,"p",16),t.k0s()(),t.j41(14,"dd",28),t.EFF(15),t.k0s()(),t.j41(16,"div",26)(17,"dt",27),t.EFF(18),t.nI1(19,"translate"),t.nrm(20,"frk-footnote",17),t.k0s(),t.j41(21,"dd",28),t.EFF(22),t.k0s()()()),2&n){const e=t.XpG(),a=e.$implicit,o=e.$index,i=t.XpG(2).$implicit,r=t.XpG
1(2);t.BMQ("aria-labelledby","industry-allocation-card-header-"+o),t.R7$(3),t.SpI(" ",t.bMT(4,11,"products.percent-of-total")," "),t.R7$(3),t.SpI(" ",a.breakdown," "),t.R7$(3),t.SpI(" ",t.bMT(10,13,"products.benchmark")," "),t.R7$(2),t.Y8G("placement",i.tooltipPlacement)("ariaLabel",t.bMT(12,15,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",r.benchmarkName||"",t.npT),t.R7$(2),t.SpI(" ",a.benchmark," "),t.R7$(3),t.SpI(" ",t.bMT(19,17,"products.duration-contribution")," \xa0"),t.R7$(2),t.Y8G("componentId",r.componentId()),t.R7$(2),t.SpI(" ",a.duration," ")}}function Q1(n,s){1&n&&(t.j41(0,"div",29),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",30)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.less-details")," "),t.R7$(2),t.Y8G("size",16))}function Z1(n,s){1&n&&(t.j41(0,"div",29),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",31)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.more-details")," "),t.R7$(2),t.Y8G("size",16))}function J1(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",21)(1,"header",22)(2,"div",23),t.EFF(3),t.k0s()(),t.DNE(4,q1,23,19,"dl",24),t.j41(5,"button",25),t.bIt("click",function(){const o=t.eBV(e).$index,i=t.XpG(4);return t.Njj(i.toggleCard(o))}),t.DNE(6,Q1,4,4)(7,Z1,4,4),t.k0s()()}if(2&n){let e,a,o,i,r,l,c,p,_;const E=s.$implicit,y=s.$index,L=t.XpG(4);t.R7$(),t.AVh("bg-nc1-100",null==(e=L.cardClosedState())?null:e[y])("text-nc1-950",null==(a=L.cardClosedState())?null:a[y])("bg-pc1-800",!(null!=(o=L.cardClosedState())&&o[y]))("text-nc1-0",!(null!=(i=L.cardClosedState())&&i[y])),t.Y8G("id","industry-allocation-card-header-"+y),t.R7$(2),t.SpI(" ",E.label," "),t.R7$(),t.vxM(null!=(r=L.cardClosedState())&&r[y]?-1:4),t.R7$(),t.AVh("bg-pc1-500",null==(l=L.cardClosedState())?null:l[y])("bg-pc1-800",!(null!=(c=L.cardClosedState())&&c[y])),t.BMQ("aria-controls","industry-allocation-card-header-"+y),t.R7$(),t.vxM(null!=(p=L.cardClosedState())&&p[y]?-1:6),t.R7$(),t.vxM(null!=(_=L.cardClosedState())&&_[y]?7:-1)}}function K1(n,s){if(1&n&&(t.j41(0,"div",6),t.DNE(1,W1,2,2,"div",20),t.Z7z(2,J1,8,18,"article",21,z),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.vxM(e.chartData?1:-1),t.R7$(),t.Dyx(null==e.portfolioAllocation?null:e.portfolioAllocation.data)}}function th(n,s){if(1&n&&t.nrm(0,"frk-proximal",4),2&n){const e=t.XpG().$implicit;t.Y8G("placement",null==e.proximals?null:e.proximals.proximalBottomPlacement)}}function eh(n,s){if(1&n&&t.nrm(0,"frk-proximal",4),2&n){const e=t.XpG().$implicit;t.Y8G("placement",null==e.proximals?null:e.proximals.secondaryProximalBottomPlacement)}}function nh(n,s){if(1&n&&(t.nrm(0,"frk-section-header",3),t.DNE(1,L1,1,1,"frk-proximal",4)(2,B1,1,1,"frk-proximal",4)(3,z1,19,10,"div",5)(4,K1,4,1,"div",6)(5,th,1,1,"frk-proximal",4)(6,eh,1,1,"frk-proximal",4)),2&n){const e=s.$implicit,a=t.XpG(2);t.Y8G("sectionHeader",e.sectionHeader),t.R7$(),t.vxM(null!=e.proximals&&e.proximals.proximalTopPlacement?1:-1),t.R7$(),t.vxM(null!=e.proximals&&e.proximals.secondaryProximalTopPlacement?2:-1),t.R7$(),t.vxM(a.isCardViewSignal()&&e.hasDuration?-1:3),t.R7$(),t.vxM(a.isCardViewSignal()&&e.hasDuration?4:-1),t.R7$(),t.vxM(null!=e.proximals&&e.proximals.proximalBottomPlacement?5:-1),t.R7$(),t.vxM(null!=e.proximals&&e.proximals.secondaryProximalBottomPlacement?6:-1)}}function ah(n,s){if(1&n&&(t.j41(0,"div",2),t.Z7z(1,nh,7,7,null,null,Gn),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.Dyx(e.industryAllocation())}}function oh(n,s){if(1&n&&t.nrm(0,"span",33),2&n){const e=t.XpG();t.Y8G("ngClass","bg-chart-color"+e.index%e.industries.chartConfig.colors.length)}}function ih(n,s){if(1&n&&(t.j41(0,"td",34),t.EFF(1),t.k0s()),2&n){const e=t.XpG().industry;t.R7$(),t.JRh(e.benchmark)}}function sh(n,s){if(1&n&&(t.j41(0,"td",34),t.EFF(1),t.k0s()),2&n){const e=t.XpG().industry;t.R7$(),t.SpI(" ",e.duration," ")}}function rh(n,s){if(1&n&&(t.j41(0,"td",14)(1,"div",32),t.DNE(2,oh,1,1,"span",33),t.EFF(3),t.k0s()(),t.j41(4,"td",34),t.EFF(5),t.k0s(),t.DNE(6,ih,2,1,"td",34)(7,sh,2,1,"td",34)),2&n){const e=s.industry,a=s.industries,o=s.showBenchmark;t.R7$(2),t.vxM(o?-1:2),t.R7$(),t.SpI(" ",e.label," "),t.R7$(2),t.JRh(e.breakdown),t.R7$(),t.vxM(o?6:-1),t.R7$(),t.vxM(a.hasDuration?7:-1)}}const jt=(n,s)=>s.allocationVal;function lh(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",13),t.EFF(2),t.k0s(),t.j41(3,"td",14),t.EFF(4),t.k0s()()),2&n){const e=s.$implicit;t.R7$(2),t.SpI(" ",e.managerRosterVal," "),t.R7$(2),t.SpI(" ",e.allocationVal," ")}}function ch(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",13),t.EFF(2),t.k0s(),t.j41(3,"td",14),t.EFF(4),t.k0s()()),2&n){const e=s.$implicit;t.R7$(2),t.SpI(" ",e.managerRosterVal," "),t.R7$(2),t.SpI(" ",e.allocationVal," ")}}function dh(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",13),t.EFF(2),t.k0s(),t.j41(3,"td",14),t.EFF(4),t.k0s()()),2&n){const e=s.$implicit;t.R7$(2),t.SpI(" ",e.managerRosterVal," "),t.R7$(2),t.SpI(" ",e.allocationVal," ")}}function uh(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",13),t.EFF(2),t.k0s(),t.j41(3,"td",14),t.EFF(4),t.k0s()()),2&n){const e=s.$implicit;t.R7$(2),t.SpI(" ",e.managerRosterVal," "),t.R7$(2),t.SpI(" ",e.allocationVal," ")}}function ph(n,s){if(1&n&&(t.j41(0,"div",3)(1,"div",4)(2,"div",5)(3,"table",6)(4,"caption",7),t.EFF(5),t.k0s(),t.j41(6,"thead",8)(7,"tr")(8,"th",9),t.EFF(9),t.k0s(),t.j41(10,"th",10)(11,"span",11),t.EFF(12),t.nI1(13,"translate"),t.k0s(),t.j41(14,"span",12),t.EFF(15),t.k0s()()()(),t.j41(16,"tbody"),t.Z7z(17,lh,5,2,"tr",null,jt),t.k0s()()(),t.j41(19,"div",5)(20,"table",6)(21,"caption",7),t.EFF(22),t.k0s(),t.j41(23,"thead",8)(24,"tr")(25,"th",13),t.EFF(26),t.k0s(),t.j41(27,"th",14)(28,"span",11),t.EFF(29),t.nI1(30,"translate"),t.k0s(),t.j41(31,"span",12),t.EFF(32),t.k0s()()()(),t.j41(33,"tbody"),t.Z7z(34,ch,5,2,"tr",null,jt),t.k0s()()()(),t.j41(36,"div",4)(37,"div",5)(38,"table",6)(39,"caption",7),t.EFF(40),t.k0s(),t.j41(41,"thead",8)(42,"tr")(43,"th",9),t.EFF(44),t.k0s(),t.j41(45,"th",10)(46,"span",11),t.EFF(47),t.nI1(48,"translate"),t.k0s(),t.j41(49,"span",12),t.EFF(50),t.k0s()()()(),t.j41(51,"tbody"),t.Z7z(52,dh,5,2,"tr",null,jt),t.k0s()()(),t.j41(54,"div",5)(55,"table",6)(56,"caption",7),t.EFF(57),t.k0s(),t.j41(58,"thead",8)(59,"tr")(60,"th",13),t.EFF(61),t.k0s(),t.j41(62,"th",14)(63,"span",11),t.EFF(64),t.nI1(65,"translate"),t.k0s(),t.j41(66,"span",12),t.EFF(67),t.k0s()()()(),t.j41(68,"tbody"),t.Z7z(69,uh,5,2,"tr",null,jt),t.k0s()()()()()),2&n){const e=t.XpG(2);t.R7$(5),t.SpI(" ",e.managerAllocationColumnHeaderSignal()," "),t.R7$(4),t.SpI(" ",e.managerAllocationColumnHeaderSignal()," "),t.R7$(3),t.JRh(t.bMT(13,16,"products.allocation")),t.R7$(3),t.JRh(e.relativeTotalAllocationSignal()),t.R7$(2),t.Dyx(e.relativeTable()),t.R7$(5),t.SpI(" ",e.longShortTotalAllocationHeaderSignal()," "),t.R7$(4),t.SpI(" ",e.longShortTotalAllocationHeaderSignal()," "),t.R7$(3),t.JRh(t.bMT(30,18,"products.allocation")),t.R7$(3),t.JRh(e.longShortTotalAllocationSignal()),t.R7$(2),t.Dyx(e.longShortEquityTable()),t.R7$(6),t.SpI(" ",e.globalTotalAllocationHeaderSignal()," "),t.R7$(4),t.SpI(" ",e.globalTotalAllocationHeaderSignal()," "),t.R7$(3),t.JRh(t.bMT(48,20,"products.allocation")),t.R7$(3),t.JRh(e.globalTotalAllocationSignal()),t.R7$(2),t.Dyx(e.globalMacroTable()),t.R7$(5),t.SpI(" ",e.eventTotalAllocationHeaderSignal()," "),t.R7$(4),t.SpI(" ",e.eventTotalAllocationHeaderSignal()," "),t.R7$(3),t.JRh(t.bMT(65,22,"products.allocation")),t.R7$(3),t.JRh(e.eventTotalAllocationSignal()),t.R7$(2),t.Dyx(e.eventDrivenTable())}}function mh(n,s){if(1&n&&(t.j41(0,"dl",23)(1,"div",25)(2,"dt",26)(3,"div",27),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"div",28),t.EFF(7),t.k0s()(),t.j41(8,"dd",29)(9,"div",30),t.EFF(10),t.k0s()()()()),2&n){const e=t.XpG(),a=e.$implicit,o=e.$index,i=t.XpG(3);t.Y8G("id","relativeValueCardContent"+o),t.BMQ("aria-labelledby","relative-value-card-header-"+o),t.R7$(4),t.SpI(" ",t.bMT(5,5,"products.allocation")," "),t.R7$(3),t.SpI(" ",i.relativeTotalAllocationSignal()," "),t.R7$(3),t.SpI(" ",a.allocationVal," ")}}function hh(n,s){1&n&&(t.j41(0,"div",31),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",32)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.less-detail
1s")," "),t.R7$(2),t.Y8G("size",16))}function fh(n,s){1&n&&(t.j41(0,"div",31),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",33)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.more-details")," "),t.R7$(2),t.Y8G("size",16))}function _h(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",17)(1,"header",21)(2,"div",22),t.EFF(3),t.k0s()(),t.DNE(4,mh,11,7,"dl",23),t.j41(5,"button",24),t.bIt("click",function(){const o=t.eBV(e).$implicit,i=t.XpG(3);return t.Njj(i.toggleCard(o))}),t.DNE(6,hh,4,4)(7,fh,4,4),t.k0s()()}if(2&n){const e=s.$implicit,a=s.$index;t.R7$(),t.AVh("bg-nc1-100",e.isClosed)("text-nc1-950",e.isClosed)("bg-pc1-800",!e.isClosed)("text-nc1-0",!e.isClosed),t.Y8G("id","relative-value-card-header-"+a),t.R7$(2),t.SpI(" ",e.managerRosterVal," "),t.R7$(),t.vxM(e.isClosed?-1:4),t.R7$(),t.AVh("bg-pc1-500",e.isClosed)("bg-pc1-800",!e.isClosed),t.BMQ("aria-controls","relative-value-card-header-"+a),t.R7$(),t.vxM(e.isClosed?-1:6),t.R7$(),t.vxM(e.isClosed?7:-1)}}function gh(n,s){if(1&n&&(t.j41(0,"dl",23)(1,"div",25)(2,"dt",26)(3,"div",27),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"div",28),t.EFF(7),t.k0s()(),t.j41(8,"dd",29)(9,"div",30),t.EFF(10),t.k0s()()()()),2&n){const e=t.XpG(),a=e.$implicit,o=e.$index,i=t.XpG(3);t.Y8G("id","longShortEquityCardContent"+o),t.BMQ("aria-labelledby","long-short-equity-card-header-"+o),t.R7$(4),t.SpI(" ",t.bMT(5,5,"products.allocation")," "),t.R7$(3),t.SpI(" ",i.longShortTotalAllocationSignal()," "),t.R7$(3),t.SpI(" ",a.allocationVal," ")}}function Ch(n,s){1&n&&(t.j41(0,"div",31),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",32)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.less-details")," "),t.R7$(2),t.Y8G("size",16))}function bh(n,s){1&n&&(t.j41(0,"div",31),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",33)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.more-details")," "),t.R7$(2),t.Y8G("size",16))}function xh(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",17)(1,"header",21)(2,"div",22),t.EFF(3),t.k0s()(),t.DNE(4,gh,11,7,"dl",23),t.j41(5,"button",24),t.bIt("click",function(){const o=t.eBV(e).$implicit,i=t.XpG(3);return t.Njj(i.toggleCard(o))}),t.DNE(6,Ch,4,4)(7,bh,4,4),t.k0s()()}if(2&n){const e=s.$implicit,a=s.$index;t.R7$(),t.AVh("bg-nc1-100",e.isClosed)("text-nc1-950",e.isClosed)("bg-pc1-800",!e.isClosed)("text-nc1-0",!e.isClosed),t.Y8G("id","long-short-equity-card-header-"+a),t.R7$(2),t.SpI(" ",e.managerRosterVal," "),t.R7$(),t.vxM(e.isClosed?-1:4),t.R7$(),t.AVh("bg-pc1-500",e.isClosed)("bg-pc1-800",!e.isClosed),t.BMQ("aria-controls","long-short-equity-card-header-"+a),t.R7$(),t.vxM(e.isClosed?-1:6),t.R7$(),t.vxM(e.isClosed?7:-1)}}function Dh(n,s){if(1&n&&(t.j41(0,"dl",23)(1,"div",25)(2,"dt",26)(3,"div",27),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"div",28),t.EFF(7),t.k0s()(),t.j41(8,"dd",29)(9,"div",30),t.EFF(10),t.k0s()()()()),2&n){const e=t.XpG(),a=e.$implicit,o=e.$index,i=t.XpG(3);t.Y8G("id","globalMacroCardContent"+o),t.BMQ("aria-labelledby","global-macro-card-header-"+o),t.R7$(4),t.SpI(" ",t.bMT(5,5,"products.allocation")," "),t.R7$(3),t.SpI(" ",i.globalTotalAllocationSignal()," "),t.R7$(3),t.SpI(" ",a.allocationVal," ")}}function vh(n,s){1&n&&(t.j41(0,"div",31),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",32)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.less-details")," "),t.R7$(2),t.Y8G("size",16))}function Th(n,s){1&n&&(t.j41(0,"div",31),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",33)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.more-details")," "),t.R7$(2),t.Y8G("size",16))}function Sh(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",17)(1,"header",21)(2,"div",22),t.EFF(3),t.k0s()(),t.DNE(4,Dh,11,7,"dl",23),t.j41(5,"button",24),t.bIt("click",function(){const o=t.eBV(e).$implicit,i=t.XpG(3);return t.Njj(i.toggleCard(o))}),t.DNE(6,vh,4,4)(7,Th,4,4),t.k0s()()}if(2&n){const e=s.$implicit,a=s.$index;t.R7$(),t.AVh("bg-nc1-100",e.isClosed)("text-nc1-950",e.isClosed)("bg-pc1-800",!e.isClosed)("text-nc1-0",!e.isClosed),t.Y8G("id","global-macro-card-header-"+a),t.R7$(2),t.SpI(" ",e.managerRosterVal," "),t.R7$(),t.vxM(e.isClosed?-1:4),t.R7$(),t.AVh("bg-pc1-500",e.isClosed)("bg-pc1-800",!e.isClosed),t.BMQ("aria-controls","global-macro-card-header-"+a),t.R7$(),t.vxM(e.isClosed?-1:6),t.R7$(),t.vxM(e.isClosed?7:-1)}}function yh(n,s){if(1&n&&(t.j41(0,"dl",23)(1,"div",25)(2,"dt",26)(3,"div",27),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"div",28),t.EFF(7),t.k0s()(),t.j41(8,"dd",29)(9,"div",30),t.EFF(10),t.k0s()()()()),2&n){const e=t.XpG(),a=e.$implicit,o=e.$index,i=t.XpG(3);t.Y8G("id","eventDrivenCardContent"+o),t.BMQ("aria-labelledby","event-driven-card-header-"+o),t.R7$(4),t.SpI(" ",t.bMT(5,5,"products.allocation")," "),t.R7$(3),t.SpI(" ",i.eventTotalAllocationSignal()," "),t.R7$(3),t.SpI(" ",a.allocationVal," ")}}function Rh(n,s){1&n&&(t.j41(0,"div",31),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",32)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.less-detail
1s")," "),t.R7$(2),t.Y8G("size",16))}function kh(n,s){1&n&&(t.j41(0,"div",31),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",33)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.more-details")," "),t.R7$(2),t.Y8G("size",16))}function Eh(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",17)(1,"header",21)(2,"div",22),t.EFF(3),t.k0s()(),t.DNE(4,yh,11,7,"dl",23),t.j41(5,"button",24),t.bIt("click",function(){const o=t.eBV(e).$implicit,i=t.XpG(3);return t.Njj(i.toggleCard(o))}),t.DNE(6,Rh,4,4)(7,kh,4,4),t.k0s()()}if(2&n){const e=s.$implicit,a=s.$index;t.R7$(),t.AVh("bg-nc1-100",e.isClosed)("text-nc1-950",e.isClosed)("bg-pc1-800",!e.isClosed)("text-nc1-0",!e.isClosed),t.Y8G("id","event-driven-card-header-"+a),t.R7$(2),t.SpI(" ",e.managerRosterVal," "),t.R7$(),t.vxM(e.isClosed?-1:4),t.R7$(),t.AVh("bg-pc1-500",e.isClosed)("bg-pc1-800",!e.isClosed),t.BMQ("aria-controls","event-driven-card-header-"+a),t.R7$(),t.vxM(e.isClosed?-1:6),t.R7$(),t.vxM(e.isClosed?7:-1)}}function Fh(n,s){if(1&n&&(t.j41(0,"div",15)(1,"h2",16),t.EFF(2),t.k0s(),t.Z7z(3,_h,8,18,"article",17,jt),t.k0s(),t.j41(5,"div",18)(6,"h2",16),t.EFF(7),t.k0s(),t.Z7z(8,xh,8,18,"article",17,jt),t.k0s(),t.j41(10,"div",19)(11,"h2",16),t.EFF(12),t.k0s(),t.Z7z(13,Sh,8,18,"article",17,jt),t.k0s(),t.j41(15,"div",20)(16,"h2",16),t.EFF(17),t.k0s(),t.Z7z(18,Eh,8,18,"article",17,jt),t.k0s()),2&n){const e=t.XpG(2);t.R7$(2),t.SpI(" ",e.managerAllocationColumnHeaderSignal()," "),t.R7$(),t.Dyx(e.relativeTable()),t.R7$(4),t.SpI(" ",e.longShortTotalAllocationHeaderSignal()," "),t.R7$(),t.Dyx(e.longShortEquityTable()),t.R7$(4),t.SpI(" ",e.globalTotalAllocationHeaderSignal()," "),t.R7$(),t.Dyx(e.globalMacroTable()),t.R7$(4),t.SpI(" ",e.eventTotalAllocationHeaderSignal()," "),t.R7$(),t.Dyx(e.eventDrivenTable())}}function $h(n,s){if(1&n&&(t.nrm(0,"frk-section-header",1)(1,"frk-proximal",2),t.DNE(2,ph,71,24,"div",3)(3,Fh,20,4)),2&n){const e=t.XpG();t.Y8G("sectionHeader",e.managerAllocationSectionHeader()),t.R7$(2),t.vxM(e.isCardViewSignal()?-1:2),t.R7$(),t.vxM(e.isCardViewSignal()?3:-1)}}const Ah=(n,s)=>({showBenchmark:n,marketCap:s}),Mh=(n,s,e)=>({marketCapData:n,index:s,showBenchmark:e});function Ph(n,s){if(1&n&&t.nrm(0,"frk-section-header",3),2&n){const e=t.XpG(2);t.Y8G("sectionHeader",e.marketCapitalizationSectionHeader)}}function Ih(n,s){if(1&n&&t.nrm(0,"frk-proximal",4),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.marketCapitalization())||null==e.proximals?null:e.proximals.proximalTopPlacement)}}function wh(n,s){if(1&n&&t.nrm(0,"frk-proximal",4),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.marketCapitalization())||null==e.proximals?null:e.proximals.secondaryProximalTopPlacement)}}function Nh(n,s){if(1&n&&(t.j41(0,"tr"),t.eu8(1,9),t.k0s()),2&n){let e;const a=s.$implicit,o=s.$index,i=t.XpG(2),r=t.sdS(5);t.R7$(),t.Y8G("ngTemplateOutlet",r)("ngTemplateOutletContext",t.sMw(2,Mh,a,o,null==(e=i.marketCapitalization())?null:e.showBenchmark))}}function Gh(n,s){if(1&n&&(t.j41(0,"div",10),t.nrm(1,"frk-highcharts",11),t.k0s()),2&n){let e,a;const o=t.XpG(2);t.R7$(),t.Y8G("chartData",null==(e=o.marketCapitalization())?null:e.chartData)("chartConfig",null==(a=o.marketCapitalization())?null:a.chartConfig)}}function Oh(n,s){if(1&n&&t.nrm(0,"frk-proximal",4),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.marketCapitalization())||null==e.proximals?null:e.proximals.proximalBottomPlacement)}}function Yh(n,s){if(1&n&&t.nrm(0,"frk-proximal",4),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.marketCapitalization())||null==e.proximals?null:e.proximals.secondaryProximalBottomPlacement)}}function jh(n,s){if(1&n&&(t.DNE(0,Ph,1,1,"frk-section-header",3)(1,Ih,1,1,"frk-proximal",4)(2,wh,1,1,"frk-proximal",4),t.j41(3,"div",5)(4,"div",6)(5,"table",7)(6,"caption",8),t.EFF(7),t.k0s(),t.j41(8,"thead")(9,"tr"),t.eu8(10,9),t.k0s()(),t.j41(11,"tbody"),t.Z7z(12,Nh,2,6,"tr",null,z),t.k0s()()(),t.DNE(14,Gh,2,2,"div",10),t.k0s(),t.DNE(15,Oh,1,1,"frk-proximal",4)(16,Yh,1,1,"frk-proximal",4)),2&n){let e,a,o,i,r,l,c;const p=t.XpG(),_=t.sdS(3);t.vxM(null!=p.marketCapitalizationSectionHeader&&p.marketCapitalizationSectionHeader.allocationHeading?0:-1),t.R7$(),t.vxM(null!=(e=p.marketCapitalization())&&null!=e.proximals&&e.proximals.proximalTopPlacement?1:-1),t.R7$(),t.vxM(null!=(a=p.marketCapitalization())&&null!=a.proximals&&a.proximals.secondaryProximalTopPlacement?2:-1),t.R7$(5),t.SpI(" ",null==p.marketCapitalizationSectionHeader?null:p.marketCapitalizationSectionHeader.allocationHeading," "),t.R7$(3),t.Y8G("ngTemplateOutlet",_)("ngTemplateOutletContext",t.l_i(9,Ah,null==(o=p.marketCapitalization())?null:o.showBenchmark,p.marketCapitalization())),t.R7$(2),t.Dyx(null==(i=p.marketCapitalization())?null:i.data),t.R7$(2),t.vxM(null!=(r=p.marketCapitalization())&&r.chartData?14:-1),t.R7$(),t.vxM(null!=(l=p.marketCapitalization())&&null!=l.proximals&&l.proximals.proximalBottomPlacement?15:-1),t.R7$(),t.vxM(null!=(c=p.marketCapitalization())&&null!=c.proximals&&c.proximals.secondaryProximalBottomPlacement?16:-1)}}function Lh(n,s){if(1&n&&(t.j41(0,"th",13)(1,"div",14),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",15)(5,"frk-tooltip",16),t.nI1(6,"translate"),t.nI1(7,"translate"),t.nrm(8,"p",17),t.k0s()()()()),2&n){const e=t.XpG().marketCap;t.R7$(2),t.SpI(" ",t.bMT(3,5,"products.benchmark")," "),t.R7$(3),t.Y8G("placement",e.tooltipPlacement)("tooltipTitle",t.bMT(6,7,"products.benchmark"))("ariaLabel",t.bMT(7,9,"common.aria-label.tooltip")),t.R7$(3),t.Y8G("innerHTML",e.benchmarkName,t.npT)}}function Bh(n,s){if(1&n&&(t.j41(0,"th",12),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.j41(3,"th",13),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.DNE(6,Lh,9,11,"th",13)),2&n){const e=s.showBenchmark,a=t.XpG();t.R7$(),t.SpI(" ",t.bMT(2,3,"products.portfolio-market-capitalisation-breakdown-heading")," "),t.R7$(3),t.SpI(" ",t.i5U(5,5,"products.fund",a.config().productId)," "),t.R7$(2),t.vxM(e?6:-1)}}function Vh(n,s){if(1&n&&t.nrm(0,"span",18),2&n){const e=t.XpG().index,a=t.XpG();t.Y8G("ngClass","bg-chart-color"+e%a.chartColors.length)}}function Xh(n,s){if(1&n&&(t.j41(0,"td",20),t.EFF(1),t.k0s()),2&n){const e=t.XpG().marketCapData;t.R7$(),t.JRh(e.benchmark)}}function Hh(n,s){if(1&n&&(t.j41(0,"td",15),t.DNE(1,Vh,1,1,"span",18),t.EFF(2),t.k0s(),t.j41(3,"td",19),t.EFF(4),t.k0s(),t.DNE(5,Xh,2,1,"td",20)),2&n){const e=s.marketCapData,a=s.showBenchmark;t.R7$(),t.vxM(a?-1:1),t.R7$(),t.SpI(" ",e.label," "),t.R7$(2),t.JRh(e.breakdown),t.R7$(),t.vxM(a?5:-1)}}const Uh=(n,s)=>({showBenchmark:n,maturityAlloc:s}),zh=(n,s,e)=>({maturityAllocData:n,index:s,showBenchmark:e});function Wh(n,s){if(1&n&&t.nrm(0,"frk-section-header",3),2&n){const e=t.XpG(2);t.Y8G("sectionHeader",e.maturityAllocationSectionHeader)}}function qh(n,s){if(1&n&&t.nrm(0,"frk-proximal",4),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.maturityAllocation())||null==e.proximals?null:e.proximals.proximalTopPlacement)}}function Qh(n,s){if(1&n&&t.nrm(0,"frk-proximal",4),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.maturityAllocation())||null==e.proximals?null:e.proximals.secondaryProximalTopPlacement)}}function Zh(n,s){if(1&n&&(t.j41(0,"tr"),t.eu8(1,9),t.k0s()),2&n){let e;const a=s.$implicit,o=s.$index,i=t.XpG(2),r=t.sdS(5);t.R7$(),t.Y8G("ngTemplateOutlet",r)("ngTemplateOutletContext",t.sMw(2,zh,a,o,null==(e=i.maturityAllocation())?null:e.showBenchmark))}}function Jh(n,s){if(1&n&&(t.j41(0,"div",10),t.nrm(1,"frk-highcharts",11),t.k0s()),2&n){let e,a;const o=t.XpG(2);t.R7$(),t.Y8G("chartData",null==(e=o.maturityAllocation())?null:e.chartData)("chartConfig",null==(a=o.maturityAllocation())?null:a.chartConfig)}}function Kh(n,s){if(1&n&&t.nrm(0,"frk-proximal",4),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.maturityAllocation())||null==e.proximals?null:e.proximals.proximalBottomPlacement)}}
1function tf(n,s){if(1&n&&t.nrm(0,"frk-proximal",4),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.maturityAllocation())||null==e.proximals?null:e.proximals.secondaryProximalBottomPlacement)}}function ef(n,s){if(1&n&&(t.DNE(0,Wh,1,1,"frk-section-header",3)(1,qh,1,1,"frk-proximal",4)(2,Qh,1,1,"frk-proximal",4),t.j41(3,"div",5)(4,"div",6)(5,"table",7)(6,"caption",8),t.EFF(7),t.k0s(),t.j41(8,"thead")(9,"tr"),t.eu8(10,9),t.k0s()(),t.j41(11,"tbody"),t.Z7z(12,Zh,2,6,"tr",null,z),t.k0s()()(),t.DNE(14,Jh,2,2,"div",10),t.k0s(),t.DNE(15,Kh,1,1,"frk-proximal",4)(16,tf,1,1,"frk-proximal",4)),2&n){let e,a,o,i,r,l,c;const p=t.XpG(),_=t.sdS(3);t.vxM(null!=p.maturityAllocationSectionHeader&&p.maturityAllocationSectionHeader.allocationHeading?0:-1),t.R7$(),t.vxM(null!=(e=p.maturityAllocation())&&null!=e.proximals&&e.proximals.proximalTopPlacement?1:-1),t.R7$(),t.vxM(null!=(a=p.maturityAllocation())&&null!=a.proximals&&a.proximals.secondaryProximalTopPlacement?2:-1),t.R7$(5),t.SpI(" ",null==p.maturityAllocationSectionHeader?null:p.maturityAllocationSectionHeader.allocationHeading," "),t.R7$(3),t.Y8G("ngTemplateOutlet",_)("ngTemplateOutletContext",t.l_i(9,Uh,null==(o=p.maturityAllocation())?null:o.showBenchmark,p.maturityAllocation())),t.R7$(2),t.Dyx(null==(i=p.maturityAllocation())?null:i.data),t.R7$(2),t.vxM(null!=(r=p.maturityAllocation())&&r.chartData?14:-1),t.R7$(),t.vxM(null!=(l=p.maturityAllocation())&&null!=l.proximals&&l.proximals.proximalBottomPlacement?15:-1),t.R7$(),t.vxM(null!=(c=p.maturityAllocation())&&null!=c.proximals&&c.proximals.secondaryProximalBottomPlacement?16:-1)}}function nf(n,s){if(1&n&&(t.j41(0,"th",13)(1,"div",14),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",15)(5,"frk-tooltip",16),t.nI1(6,"translate"),t.nI1(7,"translate"),t.nrm(8,"p",17),t.k0s()()()()),2&n){const e=t.XpG().maturityAlloc;t.R7$(2),t.SpI(" ",t.bMT(3,5,"products.benchmark")," "),t.R7$(3),t.Y8G("placement",e.tooltipPlacement)("tooltipTitle",t.bMT(6,7,"products.benchmark"))("ariaLabel",t.bMT(7,9,"common.aria-label.tooltip")),t.R7$(3),t.Y8G("innerHTML",e.benchmarkName,t.npT)}}function af(n,s){if(1&n&&(t.j41(0,"th",12),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.j41(3,"th",13),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.DNE(6,nf,9,11,"th",13)),2&n){const e=s.showBenchmark,a=t.XpG();t.R7$(),t.SpI(" ",t.bMT(2,3,"products.portfolio-maturity-allocation-tab")," "),t.R7$(3),t.SpI(" ",t.i5U(5,5,"products.fund",a.config().productId)," "),t.R7$(2),t.vxM(e?6:-1)}}function of(n,s){if(1&n&&t.nrm(0,"span",18),2&n){const e=t.XpG().index,a=t.XpG();t.Y8G("ngClass","bg-chart-color"+e%a.chartColors.length)}}function sf(n,s){if(1&n&&(t.j41(0,"td",20),t.EFF(1),t.k0s()),2&n){const e=t.XpG().maturityAllocData;t.R7$(),t.JRh(e.benchmark)}}function rf(n,s){if(1&n&&(t.j41(0,"td",15),t.DNE(1,of,1,1,"span",18),t.EFF(2),t.k0s(),t.j41(3,"td",19),t.EFF(4),t.k0s(),t.DNE(5,sf,2,1,"td",20)),2&n){const e=s.maturityAllocData,a=s.showBenchmark;t.R7$(),t.vxM(a?-1:1),t.R7$(),t.SpI(" ",e.label," "),t.R7$(2),t.JRh(e.breakdown),t.R7$(),t.vxM(a?5:-1)}}function lf(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.exposureProximals())?null:e.proximalTopPlacement)}}function cf(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.exposureProximals())?null:e.secondaryProximalTopPlacement)}}function df(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",12),t.EFF(2),t.k0s(),t.j41(3,"td",13),t.EFF(4),t.k0s(),t.j41(5,"td",13),t.EFF(6),t.k0s()()),2&n){const e=s.$implicit;t.R7$(2),t.JRh(e.label),t.R7$(2),t.JRh(e.targetAllocation),t.R7$(2),t.JRh(e.actualAllocation)}}function uf(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.exposureProximals())?null:e.proximalBottomPlacement)}}function pf(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.exposureProximals())?null:e.secondaryProximalBottomPlacement)}}function mf(n,s){if(1&n&&(t.nrm(0,"frk-section-header",2),t.DNE(1,lf,1,1,"frk-proximal",3)(2,cf,1,1,"frk-proximal",3),t.j41(3,"div",4)(4,"div",5)(5,"table",6)(6,"caption",7),t.EFF(7),t.k0s(),t.j41(8,"thead")(9,"tr",8)(10,"th",9),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.j41(13,"th",10),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.j41(16,"th",10),t.EFF(17),t.nI1(18,"translate"),t.k0s()()(),t.j41(19,"tbody"),t.Z7z(20,df,7,3,"tr",null,z),t.k0s()()(),t.j41(22,"div"),t.nrm(23,"frk-highcharts",11),t.k0s()(),t.DNE(24,uf,1,1,"frk-proximal",3)(25,pf,1,1,"frk-proximal",3)),2&n){let e,a,o,i,r,l;const c=t.XpG(2);t.Y8G("sectionHeader",c.exposureSectionHeader()),t.R7$(),t.vxM(null!=(e=c.exposureProximals())&&e.proximalTopPlacement?1:-1),t.R7$(),t.vxM(null!=(a=c.exposureProximals())&&a.secondaryProximalTopPlacement?2:-1),t.R7$(5),t.SpI(" ",null==(o=c.exposureSectionHeader())?null:o.allocationHeading," "),t.R7$(4),t.SpI(" ",t.bMT(12,11,"products.strategy")," "),t.R7$(3),t.SpI(" ",t.bMT(15,13,"products.target-allocation")," "),t.R7$(3),t.SpI(" ",t.bMT(18,15,"products.actual-allocation")," "),t.R7$(3),t.Dyx(null==(i=c.portfolioExposure())?null:i.data),t.R7$(3),t.Y8G("chartConfig",c.portfolioExposureChart().chartConfig)("chartData",c.portfolioExposureChart().chartData),t.R7$(),t.vxM(null!=(r=c.exposureProximals())&&r.proximalBottomPlacement?24:-1),t.R7$(),t.vxM(null!=(l=c.exposureProximals())&&l.secondaryProximalBottomPlacement?25:-1)}}
1function hf(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.allocationProximals())?null:e.proximalTopPlacement)}}function ff(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.allocationProximals())?null:e.secondaryProximalTopPlacement)}}function _f(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",12),t.EFF(2),t.k0s(),t.j41(3,"td",13),t.EFF(4),t.k0s(),t.j41(5,"td",13),t.EFF(6),t.k0s()()),2&n){const e=s.$implicit;t.R7$(2),t.JRh(e.label),t.R7$(2),t.JRh(e.targetAllocation),t.R7$(2),t.JRh(e.actualAllocation)}}function gf(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.allocationProximals())?null:e.proximalBottomPlacement)}}function Cf(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.allocationProximals())?null:e.secondaryProximalBottomPlacement)}}function bf(n,s){if(1&n&&(t.nrm(0,"frk-section-header",2),t.DNE(1,hf,1,1,"frk-proximal",3)(2,ff,1,1,"frk-proximal",3),t.j41(3,"div",4)(4,"div",14)(5,"table",15)(6,"caption",7),t.EFF(7),t.k0s(),t.j41(8,"thead")(9,"tr",8)(10,"th",9),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.j41(13,"th",10),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.j41(16,"th",10),t.EFF(17),t.nI1(18,"translate"),t.k0s()()(),t.j41(19,"tbody"),t.Z7z(20,_f,7,3,"tr",null,z),t.k0s()()(),t.nrm(22,"frk-highcharts",16),t.k0s(),t.DNE(23,gf,1,1,"frk-proximal",3)(24,Cf,1,1,"frk-proximal",3)),2&n){let e,a,o,i,r,l;const c=t.XpG(2);t.Y8G("sectionHeader",c.allocationSectionHeader()),t.R7$(),t.vxM(null!=(e=c.allocationProximals())&&e.proximalTopPlacement?1:-1),t.R7$(),t.vxM(null!=(a=c.allocationProximals())&&a.secondaryProximalTopPlacement?2:-1),t.R7$(5),t.SpI(" ",null==(o=c.allocationSectionHeader())?null:o.allocationHeading," "),t.R7$(4),t.SpI(" ",t.bMT(12,11,"products.strategy")," "),t.R7$(3),t.SpI(" ",t.bMT(15,13,"products.target-allocation")," "),t.R7$(3),t.SpI(" ",t.bMT(18,15,"products.actual-allocation")," "),t.R7$(3),t.Dyx(null==(i=c.strategyAllocation())?null:i.data),t.R7$(2),t.Y8G("chartConfig",c.strategyAllocationChart().chartConfig)("chartData",c.strategyAllocationChart().chartData),t.R7$(),t.vxM(null!=(r=c.allocationProximals())&&r.proximalBottomPlacement?23:-1),t.R7$(),t.vxM(null!=(l=c.allocationProximals())&&l.secondaryProximalBottomPlacement?24:-1)}}function xf(n,s){if(1&n&&(t.j41(0,"div",1),t.DNE(1,mf,26,17)(2,bf,25,17),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.vxM(e.portfolioExposure()?1:-1),t.R7$(),t.vxM(e.strategyAllocation()?2:-1)}}const Df=(n,s)=>s.managerName;function vf(n,s){if(1&n&&(t.j41(0,"header",6),t.nrm(1,"div",7),t.k0s()),2&n){const e=t.XpG(2);t.AVh("mb-6",e.portfolioManagers().length>0),t.R7$(),t.Y8G("innerHTML",e.displayTitle(),t.npT)}}function Tf(n,s){if(1&n&&(t.j41(0,"div"),t.nrm(1,"img",16),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG().$implicit,a=t.XpG(2);t.R7$(),t.Y8G("ngClass",a.config().isCardView?"avatar--sm":"avatar--md")("alt",t.bMT(2,4,e.managerName+"s avatar"))("ngSrc",null==e.biography?null:e.biography.webImage)("loaderParams",a.profileImageParams)}}
1function Sf(n,s){if(1&n&&(t.j41(0,"div",9)(1,"span",17),t.EFF(2),t.k0s()()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.JRh(e.initialsValues)}}function yf(n,s){if(1&n){const e=t.RV6();t.j41(0,"button",18),t.bIt("click",function(o){t.eBV(e);const i=t.XpG().$implicit;return t.XpG(2).openManagerModal(i),t.Njj(o.preventDefault())}),t.EFF(1),t.k0s()}if(2&n){const e=t.XpG().$implicit;t.BMQ("aria-controls","profile-dialog-"+e.biography.employeeId),t.R7$(),t.Lme(" ",e.managerName,"",e.managerSuffix?e.managerSuffix:""," ")}}function Rf(n,s){if(1&n&&(t.j41(0,"span",13),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit,a=t.XpG(2);t.Y8G("title",a.getManagerTooltip()(e)),t.R7$(),t.Lme("",e.managerName,"",e.managerSuffix?e.managerSuffix:""," ")}}function kf(n,s){if(1&n&&(t.j41(0,"p",15),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Lme(" ",t.bMT(2,2,"products.manager-profile-time-in-industry"),": ",e.yearsOfService," ")}}function Ef(n,s){if(1&n&&(t.j41(0,"article",5)(1,"section",8),t.DNE(2,Tf,3,6,"div")(3,Sf,3,1,"div",9),t.j41(4,"div",10)(5,"div",11),t.DNE(6,yf,2,3,"button",12)(7,Rf,2,3,"span",13),t.k0s(),t.j41(8,"div",14)(9,"p",15),t.EFF(10),t.nI1(11,"date"),t.k0s(),t.DNE(12,kf,3,4,"p",15),t.k0s()()()()),2&n){const e=s.$implicit,a=t.XpG(2);t.R7$(),t.Y8G("ngClass",a.config().isCardView?"frk-size--small":"frk-size--medium"),t.R7$(),t.vxM(null!=e.biography&&e.biography.webImage?2:3),t.R7$(4),t.vxM(!a.config().hideManagerModalLinks&&e.biography&&a.isManagerActive(e)?6:7),t.R7$(4),t.Lme(" ",e.managerSublabel," ",t.i5U(11,6,e.startDateFundManagement,"yyyy")," "),t.R7$(2),t.vxM(a.showYearsOfExperience()?12:-1)}}function Ff(n,s){if(1&n&&(t.DNE(0,vf,2,3,"header",3),t.j41(1,"section",4),t.Z7z(2,Ef,13,9,"article",5,Df),t.k0s()),2&n){const e=t.XpG();t.vxM(!e.config().hideHeader&&e.simLogo()&&e.displayTitle().length>0?0:-1),t.R7$(),t.AVh("flex",e.fullWidth())("flex-wrap",e.fullWidth()),t.R7$(),t.Dyx(e.portfolioManagers())}}function $f(n,s){if(1&n&&(t.j41(0,"div",31),t.nrm(1,"img",33),t.nI1(2,"translate"),t.k0s()),2&n){let e;const a=t.XpG(3);t.R7$(),t.Y8G("alt",t.bMT(2,3,"selectedManager().biography?.displayName"))("ngSrc",null==(e=a.selectedManager().biography)?null:e.webImage)("loaderParams",a.profileImageParams)}}function Af(n,s){if(1&n&&(t.j41(0,"div",32)(1,"div",34)(2,"span",35),t.EFF(3),t.k0s()()()),2&n){const e=t.XpG(3);
1t.R7$(3),t.JRh(e.selectedManagerInitials)}}function Mf(n,s){if(1&n&&t.DNE(0,$f,3,5,"div",31)(1,Af,4,1,"div",32),2&n){let e;const a=t.XpG(2);t.vxM(null!=(e=a.selectedManager().biography)&&e.webImage?0:1)}}function Pf(n,s){if(1&n&&(t.j41(0,"p",36),t.EFF(1),t.k0s(),t.j41(2,"p",36),t.EFF(3),t.k0s(),t.j41(4,"p",36),t.EFF(5),t.k0s(),t.j41(6,"p",36),t.EFF(7),t.k0s()),2&n){let e,a,o,i;const r=t.XpG(2);t.R7$(),t.SpI(" ",null==(e=r.selectedManager().biography)?null:e.text1," "),t.R7$(2),t.SpI(" ",null==(a=r.selectedManager().biography)?null:a.text2," "),t.R7$(2),t.SpI(" ",null==(o=r.selectedManager().biography)?null:o.text3," "),t.R7$(2),t.SpI(" ",null==(i=r.selectedManager().biography)?null:i.text4," ")}}function If(n,s){if(1&n&&(t.j41(0,"p",29),t.EFF(1),t.k0s()),2&n){let e,a;const o=t.XpG(2);t.Y8G("innerHTML",null==(e=o.selectedManager().biography)||null==e.content?null:e.content.content,t.npT),t.R7$(),t.SpI(" ",null==(a=o.selectedManager().biography)||null==a.content?null:a.content.content," ")}}function wf(n,s){if(1&n&&(t.nrm(0,"img",33),t.nI1(1,"translate")),2&n){let e;const a=t.XpG(3);t.Y8G("alt",t.bMT(1,3,"selectedManager().biography?.displayName"))("ngSrc",null==(e=a.selectedManager().biography)?null:e.webImage)("loaderParams",a.profileImageParams)}}
1function Nf(n,s){if(1&n&&(t.j41(0,"div",37)(1,"span",38),t.EFF(2),t.k0s()()),2&n){const e=t.XpG(3);t.R7$(2),t.JRh(e.selectedManagerInitials)}}function Gf(n,s){if(1&n&&(t.j41(0,"div",30),t.DNE(1,wf,2,5,"img",33)(2,Nf,3,1,"div",37),t.k0s()),2&n){let e;const a=t.XpG(2);t.R7$(),t.vxM(null!=(e=a.selectedManager().biography)&&e.webImage?1:2)}}function Of(n,s){if(1&n&&(t.j41(0,"section",2)(1,"div",19)(2,"span",20),t.EFF(3),t.k0s(),t.j41(4,"span",21),t.EFF(5),t.nI1(6,"translate"),t.k0s()(),t.DNE(7,Mf,2,1),t.j41(8,"div",22)(9,"div",23)(10,"div",24)(11,"div",25)(12,"span",26),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.j41(15,"span",27),t.EFF(16),t.k0s()(),t.j41(17,"div",25)(18,"span",26),t.EFF(19),t.nI1(20,"translate"),t.k0s(),t.j41(21,"span",28),t.EFF(22),t.k0s()()(),t.DNE(23,Pf,8,4)(24,If,2,2,"p",29),t.k0s(),t.DNE(25,Gf,3,1,"div",30),t.k0s()()),2&n){let e,a;const o=t.XpG();t.Y8G("ngClass",o.config().isCardView?"frk-size--small w-60":"frk-size--medium w-full"),t.BMQ("aria-labelledby",`modal-title-${null==(e=o.selectedManager().biography)?null:e.employeeId}`),t.R7$(2),t.Y8G("id",`modal-title-${null==(a=o.selectedManager().biography)?null:a.employeeId}`),t.R7$(),t.Lme(" ",o.selectedManager().managerName,"",o.selectedManager().managerSuffix?o.selectedManager().managerSuffix:""," "),t.R7$(2),t.SpI(" ",t.bMT(6,13,"products.manager-profile-summary")," "),t.R7$(2),t.vxM(o.config().isCardView?7:-1),t.R7$(6),t.SpI(" ",t.bMT(14,15,"products.manager-profile-time-in-industry")," "),t.R7$(3),t.SpI(" ",o.selectedManager().yearsOfService," "),t.R7$(3),t.SpI(" ",t.bMT(20,17,"products.manager-profile-location")," "),t.R7$(3),t.SpI(" ",o.selectedManager().managerCity," "),t.R7$(),t.vxM(o.useElastic?23:24),t.R7$(2),t.vxM(o.config().isCardView?-1:25)}}const On=n=>({sectors:n}),Yf=n=>({sector:n}),jf=(n,s,e,a)=>({sector:n,sectors:s,index:e,showBenchmark:a});function Lf(n,s){if(1&n&&t.nrm(0,"frk-proximal",7),2&n){const e=t.XpG().$implicit;t.Y8G("placement",null==e.proximals?null:e.proximals.proximalTopPlacement)}}function Bf(n,s){if(1&n&&t.nrm(0,"frk-proximal",7),2&n){const e=t.XpG().$implicit;t.Y8G("placement",null==e.proximals?null:e.proximals.secondaryProximalTopPlacement)}}function Vf(n,s){if(1&n&&t.eu8(0,13),2&n){const e=t.XpG(2).$implicit;t.XpG(2);const a=t.sdS(5);t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.eq3(2,On,e))}}function Xf(n,s){if(1&n&&t.eu8(0,13),2&n){const e=t.XpG(2).$implicit;t.XpG(2);const a=t.sdS(3);t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.eq3(2,On,e))}}function Hf(n,s){if(1&n&&t.eu8(0,13),2&n){const e=t.XpG().$implicit;t.XpG(4);const a=t.sdS(9);t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.eq3(2,Yf,e))}}
1function Uf(n,s){if(1&n&&t.eu8(0,13),2&n){const e=t.XpG(),a=e.$implicit,o=e.$index,i=t.XpG(2).$implicit;t.XpG(2);const r=t.sdS(7);t.Y8G("ngTemplateOutlet",r)("ngTemplateOutletContext",t.ziG(2,jf,a,i,o,i.showBenchmark))}}function zf(n,s){if(1&n&&(t.j41(0,"tr"),t.DNE(1,Hf,1,4,"ng-container",13)(2,Uf,1,7,"ng-container",13),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.vxM(e.isSectorExposure?1:2)}}function Wf(n,s){if(1&n&&(t.j41(0,"div",14),t.nrm(1,"frk-highcharts",15),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.Y8G("chartData",e.chartData)("chartConfig",e.chartConfig)}}function qf(n,s){if(1&n&&(t.j41(0,"div",8)(1,"div",10)(2,"table",11)(3,"caption",12),t.EFF(4),t.k0s(),t.j41(5,"thead")(6,"tr"),t.DNE(7,Vf,1,4,"ng-container",13)(8,Xf,1,4,"ng-container",13),t.k0s()(),t.j41(9,"tbody"),t.Z7z(10,zf,3,1,"tr",null,z),t.k0s()()(),t.DNE(12,Wf,2,2,"div",14),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(4),t.SpI(" ",null==e.sectionHeader?null:e.sectionHeader.allocationHeading," "),t.R7$(3),t.vxM(e.isSectorExposure?7:8),t.R7$(3),t.Dyx(null==e.portfolioAllocation?null:e.portfolioAllocation.data),t.R7$(2),t.vxM(e.chartData?12:-1)}}function Qf(n,s){if(1&n&&(t.j41(0,"div",16),t.nrm(1,"frk-highcharts",15),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.Y8G("chartData",e.chartData)("chartConfig",e.chartConfig)}}function Zf(n,s){if(1&n&&(t.j41(0,"dl",20)(1,"div",22)(2,"dt",23),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"dd",24),t.EFF(6),t.k0s()(),t.j41(7,"div",22)(8,"dt",23),t.EFF(9),t.nI1(10,"translate"),t.j41(11,"frk-tooltip",25),t.nI1(12,"translate"),t.nrm(13,"p",26),t.k0s()(),t.j41(14,"dd",24),t.EFF(15),t.k0s()(),t.j41(16,"div",22)(17,"dt",23),t.EFF(18),t.nI1(19,"translate"),t.nrm(20,"frk-footnote",27),t.k0s(),t.j41(21,"dd",24),t.EFF(22),t.k0s()()()),2&n){const e=t.XpG(),a=e.$implicit,o=e.$index,i=t.XpG(2).$implicit,r=t.XpG
1(2);t.BMQ("aria-labelledby","sector-allocation-card-header-"+o),t.R7$(3),t.SpI(" ",t.bMT(4,11,"products.percent-of-total")," "),t.R7$(3),t.SpI(" ",a.breakdown," "),t.R7$(3),t.SpI(" ",t.bMT(10,13,"products.benchmark")," "),t.R7$(2),t.Y8G("placement",i.tooltipPlacement)("ariaLabel",t.bMT(12,15,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",r.benchmarkName||"",t.npT),t.R7$(2),t.SpI(" ",a.benchmark," "),t.R7$(3),t.SpI(" ",t.bMT(19,17,"products.duration-contribution")," \xa0"),t.R7$(2),t.Y8G("componentId",r.componentId()),t.R7$(2),t.SpI(" ",a.duration," ")}}function Jf(n,s){1&n&&(t.j41(0,"div",28),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",29)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.less-details")," "),t.R7$(2),t.Y8G("size",16))}function Kf(n,s){1&n&&(t.j41(0,"div",28),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",30)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.more-details")," "),t.R7$(2),t.Y8G("size",16))}function t_(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",17)(1,"header",18)(2,"div",19),t.EFF(3),t.k0s()(),t.DNE(4,Zf,23,19,"dl",20),t.j41(5,"button",21),t.bIt("click",function(){const o=t.eBV(e).$index,i=t.XpG(4);return t.Njj(i.toggleCard(o))}),t.DNE(6,Jf,4,4)(7,Kf,4,4),t.k0s()()}if(2&n){let e,a,o,i,r,l,c,p,_;const E=s.$implicit,y=s.$index,L=t.XpG(4);t.R7$(),t.AVh("bg-nc1-100",null==(e=L.cardClosedState())?null:e[y])("text-nc1-950",null==(a=L.cardClosedState())?null:a[y])("bg-pc1-800",!(null!=(o=L.cardClosedState())&&o[y]))("text-nc1-0",!(null!=(i=L.cardClosedState())&&i[y])),t.Y8G("id","sector-allocation-card-header-"+y),t.R7$(2),t.SpI(" ",E.label," "),t.R7$(),t.vxM(null!=(r=L.cardClosedState())&&r[y]?-1:4),t.R7$(),t.AVh("bg-pc1-500",null==(l=L.cardClosedState())?null:l[y])("bg-pc1-800",!(null!=(c=L.cardClosedState())&&c[y])),t.BMQ("aria-controls","sector-allocation-card-header-"+y),t.R7$(),t.vxM(null!=(p=L.cardClosedState())&&p[y]?-1:6),t.R7$(),t.vxM(null!=(_=L.cardClosedState())&&_[y]?7:-1)}}function e_(n,s){if(1&n&&(t.j41(0,"div",9),t.DNE(1,Qf,2,2,"div",16),t.Z7z(2,t_,8,18,"article",17,z),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.vxM(e.chartData?1:-1),t.R7$(),t.Dyx(null==e.portfolioAllocation?null:e.portfolioAllocation.data)}}function n_(n,s){if(1&n&&t.nrm(0,"frk-proximal",7),2&n){const e=t.XpG().$implicit;t.Y8G("placement",null==e.proximals?null:e.proximals.proximalBottomPlacement)}}function a_(n,s){if(1&n&&t.nrm(0,"frk-proximal",7),2&n){const e=t.XpG().$implicit;t.Y8G("placement",null==e.proximals?null:e.proximals.secondaryProximalBottomPlacement)}}function o_(n,s){if(1&n&&(t.nrm(0,"frk-section-header",6),t.DNE(1,Lf,1,1,"frk-proximal",7)(2,Bf,1,1,"frk-proximal",7)(3,qf,13,3,"div",8)(4,e_,4,1,"div",9)(5,n_,1,1,"frk-proximal",7)(6,a_,1,1,"frk-proximal",7)),2&n){const e=s.$implicit,a=t.XpG(2);t.Y8G("sectionHeader",e.sectionHeader),t.R7$(),t.vxM(null!=e.proximals&&e.proximals.proximalTopPlacement?1:-1),t.R7$(),t.vxM(null!=e.proximals&&e.proximals.secondaryProximalTopPlacement?2:-1),t.R7$(),t.vxM(a.isCardViewSignal()&&e.hasDuration?-1:3),t.R7$(),t.vxM(a.isCardViewSignal()&&e.hasDuration?4:-1),t.R7$(),t.vxM(null!=e.proximals&&e.proximals.proximalBottomPlacement?5:-1),t.R7$(),t.vxM(null!=e.proximals&&e.proximals.secondaryProximalBottomPlacement?6:-1)}}function i_(n,s){if(1&n&&(t.j41(0,"div",5),t.Z7z(1,o_,7,7,null,null,Gn),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.Dyx(e.sectorAllocation())}}function s_(n,s){if(1&n&&(t.j41(0,"th",32)(1,"div",33),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",34)(5,"frk-tooltip",25),t.nI1(6,"translate"),t.nrm(7,"p",26),t.k0s()()()()),2&n){const e=t.XpG().sectors,a=t.XpG();t.R7$(2),t.SpI(" ",t.bMT(3,4,"products.benchmark")," "),t.R7$(3),t.Y8G("placement",e.tooltipPlacement)("ariaLabel",t.bMT(6,6,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",a.benchmarkName||"",t.npT)}}function r_(n,s){if(1&n&&(t.j41(0,"th",32),t.EFF(1),t.nI1(2,"translate"),t.nrm(3,"frk-footnote",27),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.SpI(" ",t.bMT(2,2,"products.duration-contribution")," \xa0"),t.R7$(2),t.Y8G("componentId",e.componentId())}}
1function l_(n,s){if(1&n&&(t.j41(0,"th",31),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.j41(3,"th",32),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.DNE(6,s_,8,8,"th",32)(7,r_,4,4,"th",32)),2&n){const e=s.sectors,a=t.XpG();t.R7$(),t.SpI(" ",t.bMT(2,4,"products.portfolio-sector-allocation-tab")," "),t.R7$(3),t.SpI(" ",t.bMT(5,6,a.isCEFS()?"products.fund":"products.percent-of-total")," "),t.R7$(2),t.vxM(e.showBenchmark?6:-1),t.R7$(),t.vxM(e.hasDuration?7:-1)}}function c_(n,s){if(1&n&&(t.j41(0,"p",28),t.EFF(1),t.k0s()),2&n){const e=t.XpG().sectors;t.R7$(),t.SpI(" ",e.calculationType," ")}}function d_(n,s){if(1&n&&(t.j41(0,"p",28),t.EFF(1),t.k0s()),2&n){const e=t.XpG().sectors;t.R7$(),t.SpI(" ",e.calculationType," ")}}function u_(n,s){if(1&n&&(t.j41(0,"p",28),t.EFF(1),t.k0s()),2&n){const e=t.XpG().sectors;t.R7$(),t.SpI(" ",e.calculationType," ")}}function p_(n,s){if(1&n&&(t.j41(0,"th",31),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.j41(3,"th",32),t.EFF(4),t.nI1(5,"translate"),t.DNE(6,c_,2,1,"p",28),t.k0s(),t.j41(7,"th",32),t.EFF(8),t.nI1(9,"translate"),t.DNE(10,d_,2,1,"p",28),t.k0s(),t.j41(11,"th",32),t.EFF(12),t.nI1(13,"translate"),t.DNE(14,u_,2,1,"p",28),t.k0s()),2&n){const e=s.sectors;t.R7$(),t.SpI(" ",t.bMT(2,7,"products.portfolio-sector-allocation-tab")," "),t.R7$(3),t.SpI(" ",t.bMT(5,9,"products.long-exposure")," "),t.R7$(2),t.vxM(e.calculationType?6:-1),t.R7$(2),t.SpI(" ",t.bMT(9,11,"products.short-exposure")," "),t.R7$(2),t.vxM(e.calculationType?10:-1),t.R7$(2),t.SpI(" ",t.bMT(13,13,"products.net-exposure")," "),t.R7$(2),t.vxM(e.calculationType?14:-1)}}function m_(n,s){if(1&n&&t.nrm(0,"span",36),2&n){const e=t.XpG();t.Y8G("ngClass","bg-chart-color"+e.index%e.sectors.chartConfig.colors.length)}}function h_(n,s){if(1&n&&(t.j41(0,"td",37),t.EFF(1),t.k0s()),2&n){const e=t.XpG().sector;t.R7$(),t.JRh(e.benchmark)}}function f_(n,s){if(1&n&&(t.j41(0,"td",37),t.EFF(1),t.k0s()),2&n){const e=t.XpG().sector;t.R7$(),t.SpI(" ",e.duration," ")}}function __(n,s){if(1&n&&(t.j41(0,"td",34)(1,"div",35),t.DNE(2,m_,1,1,"span",36),t.EFF(3),t.k0s()(),t.j41(4,"td",37),t.EFF(5),t.k0s(),t.DNE(6,h_,2,1,"td",37)(7,f_,2,1,"td",37)),2&n){const e=s.sector,a=s.sectors,o=s.showBenchmark;t.R7$(2),t.vxM(o?-1:2),t.R7$(),t.SpI(" ",e.label," "),t.R7$(2),t.JRh(e.breakdown),t.R7$(),t.vxM(o?6:-1),t.R7$(),t.vxM(a.hasDuration?7:-1)}}function g_(n,s){if(1&n&&(t.j41(0,"td",34),t.EFF(1),t.k0s(),t.j41(2,"td",37),t.EFF(3),t.k0s(),t.j41(4,"td",37),t.EFF(5),t.k0s(),t.j41(6,"td",37),t.EFF(7),t.k0s()),2&n){const e=s.sector;t.R7$(),t.JRh(e.label),t.R7$(2),t.JRh(e.longExposure),t.R7$(2),t.JRh(e.shortExposure),t.R7$(2),t.JRh(e.netExposure)}}function C_(n,s){if(1&n&&t.nrm(0,"frk-section-header",1),2&n){const e=t.XpG(2);t.Y8G("sectionHeader",e.exposureSectionHeader())}}function b_(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.securityExposure())||null==e.proximals?null:e.proximals.proximalTopPlacement)}}function x_(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",10),t.EFF(2),t.k0s(),t.j41(3,"td",11),t.EFF(4),t.k0s(),t.j41(5,"td",11),t.EFF(6),t.k0s()()),2&n){const e=s.$implicit;t.R7$(2),t.JRh(e.label),t.R7$(2),t.JRh(e.grossExposure),t.R7$(2),t.JRh(e.netExposure)}}function D_(n,s){if(1&n&&(t.j41(0,"div",9),t.nrm(1,"frk-highcharts",12),t.k0s()),2&n){let e,a;const o=t.XpG(2);t.R7$(),t.Y8G("chartData",null==(e=o.securityExposure())?null:e.chartData)("chartConfig",null==(a=o.securityExposure())?null:a.chartConfig)}}function v_(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.securityExposure())||null==e.proximals?null:e.proximals.proximalBottomPlacement)}}function T_(n,s){if(1&n&&(t.DNE(0,C_,1,1,"frk-section-header",1)(1,b_,1,1,"frk-proximal",2),t.j41(2,"div",3)(3,"div",4)(4,"table",5)(5,"caption",6),t.EFF(6),t.k0s(),t.j41(7,"thead")(8,"tr")(9,"th",7),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.j41(12,"th",8),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.j41(15,"th",8),t.EFF(16),t.nI1(17,"translate"),t.k0s()()(),t.j41(18,"tbody"),t.Z7z(19,x_,7,3,"tr",null,z),t.k0s()()(),t.DNE(21,D_,2,2,"div",9),t.k0s(),t.DNE(22,v_,1,1,"frk-proximal",2)),2&n){let e,a,o,i,r,l;const c=t.XpG();t.vxM(null!=(e=c.exposureSectionHeader())&&e.allocationHeading?0:-1),t.R7$(),t.vxM(null!=(a=c.securityExposure())&&null!=a.proximals&&a.proximals.proximalTopPlacement?1:-1),t.R7$(5),t.SpI(" ",null==(o=c.exposureSectionHeader())?null:o.allocationHeading," "),t.R7$(4),t.SpI(" ",t.bMT(11,8,"products.sector")," "),t.R7$(3),t.SpI(" ",t.bMT(14,10,"products.gross-exposure")," "),t.R7$(3),t.SpI(" ",t.bMT(17,12,"products.net-exposure")," "),t.R7$(3),t.Dyx(null==(i=c.securityExposure())?null:i.data),t.R7$(2),t.vxM(null!=(r=c.securityExposure())&&r.chartData?21:-1),t.R7$(),t.vxM(null!=(l=c.securityExposure())&&null!=l.proximals&&l.proximals.proximalBottomPlacement?22:-1)}}
1function S_(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.topLongExposuresProximals())?null:e.proximalTopPlacement)}}function y_(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.topLongExposuresProximals())?null:e.secondaryProximalTopPlacement)}}function R_(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",13),t.nrm(2,"span",14),t.EFF(3),t.k0s(),t.j41(4,"td",15),t.EFF(5),t.k0s()()),2&n){const e=s.$implicit,a=s.$index;t.R7$(2),t.Y8G("ngClass","bg-chart-color"+a),t.R7$(),t.SpI(" ",e.label," "),t.R7$(2),t.JRh(e.breakdown)}}function k_(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.topLongExposuresProximals())?null:e.proximalBottomPlacement)}}function E_(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.topLongExposuresProximals())?null:e.secondaryProximalBottomPlacement)}}function F_(n,s){if(1&n&&(t.nrm(0,"frk-section-header",2),t.DNE(1,S_,1,1,"frk-proximal",3)(2,y_,1,1,"frk-proximal",3),t.j41(3,"div",4)(4,"div",5)(5,"table",6)(6,"caption",7),t.EFF(7),t.k0s(),t.j41(8,"thead")(9,"tr",8)(10,"th",9),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.j41(13,"th",10),t.EFF(14),t.nI1(15,"translate"),t.k0s()()(),t.j41(16,"tbody"),t.Z7z(17,R_,6,3,"tr",null,z),t.k0s()()(),t.j41(19,"div",11),t.nrm(20,"frk-highcharts",12),t.k0s()(),t.DNE(21,k_,1,1,"frk-proximal",3)(22,E_,1,1,"frk-proximal",3)),2&n){let e,a,o,i,r,l;const c=t.XpG(2);t.Y8G("sectionHeader",c.topLongExposuresSectionHeader()),t.R7$(),t.vxM(null!=(e=c.topLongExposuresProximals())&&e.proximalTopPlacement?1:-1),t.R7$(),t.vxM(null!=(a=c.topLongExposuresProximals())&&a.secondaryProximalTopPlacement?2:-1),t.R7$(5),t.SpI(" ",null==(o=c.topLongExposuresSectionHeader())?null:o.allocationHeading," "),t.R7$(4),t.SpI(" ",t.bMT(12,10,"products.issuer")," "),t.R7$(3),t.SpI(" ",t.i5U(15,12,"products.fund",c.config().productId)," "),t.R7$(3),t.Dyx(null==(i=c.topLongExposures())?null:i.data),t.R7$(3),t.Y8G("chartConfig",c.topLongExposuresChart().chartConfig)("chartData",c.topLongExposuresChart().chartData),t.R7$(),t.vxM(null!=(r=c.topLongExposuresProximals())&&r.proximalBottomPlacement?21:-1),t.R7$(),t.vxM(null!=(l=c.topLongExposuresProximals())&&l.secondaryProximalBottomPlacement?22:-1)}}
1function $_(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.topLongPositionsProximals())?null:e.proximalTopPlacement)}}function A_(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.topLongPositionsProximals())?null:e.secondaryProximalTopPlacement)}}function M_(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",13),t.nrm(2,"span",14),t.EFF(3),t.k0s(),t.j41(4,"td",15),t.EFF(5),t.k0s()()),2&n){const e=s.$implicit,a=s.$index;t.R7$(2),t.Y8G("ngClass",`bg-chart-color${a}`),t.R7$(),t.SpI(" ",e.label," "),t.R7$(2),t.JRh(e.breakdown)}}function P_(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.topLongPositionsProximals())?null:e.proximalBottomPlacement)}}function I_(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.topLongPositionsProximals())?null:e.secondaryProximalBottomPlacement)}}function w_(n,s){if(1&n&&(t.nrm(0,"frk-section-header",2),t.DNE(1,$_,1,1,"frk-proximal",3)(2,A_,1,1,"frk-proximal",3),t.j41(3,"div",4)(4,"table",5)(5,"caption",7),t.EFF(6),t.k0s(),t.j41(7,"thead")(8,"tr",8)(9,"th",9),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.j41(12,"th",10),t.EFF(13),t.nI1(14,"translate"),t.k0s()()(),t.j41(15,"tbody"),t.Z7z(16,M_,6,3,"tr",null,z),t.k0s()(),t.nrm(18,"frk-highcharts",16),t.k0s(),t.DNE(19,P_,1,1,"frk-proximal",3)(20,I_,1,1,"frk-proximal",3)),2&n){let e,a,o,i,r,l;const c=t.XpG(2);t.Y8G("sectionHeader",c.topLongPositionsSectionHeader()),t.R7$(),t.vxM(null!=(e=c.topLongPositionsProximals())&&e.proximalTopPlacement?1:-1),t.R7$(),t.vxM(null!=(a=c.topLongPositionsProximals())&&a.secondaryProximalTopPlacement?2:-1),t.R7$(4),t.SpI(" ",null==(o=c.topLongPositionsSectionHeader())?null:o.allocationHeading," "),t.R7$(4),t.SpI(" ",t.bMT(11,10,"products.issuer")," "),t.R7$(3),t.SpI(" ",t.i5U(14,12,"products.fund",c.config().productId)," "),t.R7$(3),t.Dyx(null==(i=c.topLongPositions())?null:i.data),t.R7$(2),t.Y8G("chartConfig",c.topLongPositionsChart().chartConfig)("chartData",c.topLongPositionsChart().chartData),t.R7$(),t.vxM(null!=(r=c.topLongPositionsProximals())&&r.proximalBottomPlacement?19:-1),t.R7$(),t.vxM(null!=(l=c.topLongPositionsProximals())&&l.secondaryProximalBottomPlacement?20:-1)}}function N_(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.topShortExposuresProximals())?null:e.proximalTopPlacement)}}
1function G_(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.topShortExposuresProximals())?null:e.secondaryProximalTopPlacement)}}function O_(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",13),t.nrm(2,"span",14),t.EFF(3),t.k0s(),t.j41(4,"td",15),t.EFF(5),t.k0s()()),2&n){const e=s.$implicit,a=s.$index;t.R7$(2),t.Y8G("ngClass","bg-chart-color"+a),t.R7$(),t.SpI("",e.label," "),t.R7$(2),t.JRh(e.breakdown)}}function Y_(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.topShortExposuresProximals())?null:e.proximalBottomPlacement)}}function j_(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.topShortExposuresProximals())?null:e.secondaryProximalBottomPlacement)}}function L_(n,s){if(1&n&&(t.nrm(0,"frk-section-header",2),t.DNE(1,N_,1,1,"frk-proximal",3)(2,G_,1,1,"frk-proximal",3),t.j41(3,"div",4)(4,"table",5)(5,"caption",7),t.EFF(6),t.k0s(),t.j41(7,"thead")(8,"tr",8)(9,"th",9),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.j41(12,"th",10),t.EFF(13),t.nI1(14,"translate"),t.k0s()()(),t.j41(15,"tbody"),t.Z7z(16,O_,6,3,"tr",null,z),t.k0s()(),t.nrm(18,"frk-highcharts",16),t.k0s(),t.DNE(19,Y_,1,1,"frk-proximal",3)(20,j_,1,1,"frk-proximal",3)),2&n){let e,a,o,i,r,l;const c=t.XpG(2);t.Y8G("sectionHeader",c.topShortExposuresSectionHeader()),t.R7$(),t.vxM(null!=(e=c.topShortExposuresProximals())&&e.proximalTopPlacement?1:-1),t.R7$(),t.vxM(null!=(a=c.topShortExposuresProximals())&&a.secondaryProximalTopPlacement?2:-1),t.R7$(4),t.SpI(" ",null==(o=c.topShortExposuresSectionHeader())?null:o.allocationHeading," "),t.R7$(4),t.SpI(" ",t.bMT(11,10,"products.issuer")," "),t.R7$(3),t.SpI(" ",t.i5U(14,12,"products.fund",c.config().productId)," "),t.R7$(3),t.Dyx(null==(i=c.topShortExposures())?null:i.data),t.R7$(2),t.Y8G("chartConfig",c.topShortExposuresChart().chartConfig)("chartData",c.topShortExposuresChart().chartData),t.R7$(),t.vxM(null!=(r=c.topShortExposuresProximals())&&r.proximalBottomPlacement?19:-1),t.R7$(),t.vxM(null!=(l=c.topShortExposuresProximals())&&l.secondaryProximalBottomPlacement?20:-1)}}function B_(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.topShortPositionsProximals())?null:e.proximalTopPlacement)}}function V_(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.topShortPositionsProximals())?null:e.secondaryProximalTopPlacement)}}function X_(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",13),t.nrm(2,"span",14),t.EFF(3),t.k0s(),t.j41(4,"td",15),t.EFF(5),t.k0s()()),2&n){const e=s.$implicit,a=s.$index;t.R7$(2),t.Y8G("ngClass","bg-chart-color"+a),t.R7$(),t.SpI("",e.label," "),t.R7$(2),t.JRh(e.breakdown)}}function H_(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.topShortPositionsProximals())?null:e.proximalBottomPlacement)}}function U_(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.topShortPositionsProximals())?null:e.secondaryProximalBottomPlacement)}}function z_(n,s){if(1&n&&(t.nrm(0,"frk-section-header",2),t.DNE(1,B_,1,1,"frk-proximal",3)(2,V_,1,1,"frk-proximal",3),t.j41(3,"div",4)(4,"table",5)(5,"caption",7),t.EFF(6),t.k0s(),t.j41(7,"thead")(8,"tr",8)(9,"th",9),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.j41(12,"th",10),t.EFF(13),t.nI1(14,"translate"),t.k0s()()(),t.j41(15,"tbody"),t.Z7z(16,X_,6,3,"tr",null,z),t.k0s()(),t.nrm(18,"frk-highcharts",16),t.k0s(),t.DNE(19,H_,1,1,"frk-proximal",3)(20,U_,1,1,"frk-proximal",3)),2&n){let e,a,o,i,r,l;const c=t.XpG(2);t.Y8G("sectionHeader",c.topShortPositionsSectionHeader()),t.R7$(),t.vxM(null!=(e=c.topShortPositionsProximals())&&e.proximalTopPlacement?1:-1),t.R7$(),t.vxM(null!=(a=c.topShortPositionsProximals())&&a.secondaryProximalTopPlacement?2:-1),t.R7$(4),t.SpI(" ",null==(o=c.topShortPositionsSectionHeader())?null:o.allocationHeading," "),t.R7$(4),t.SpI(" ",t.bMT(11,10,"products.issuer")," "),t.R7$(3),t.SpI(" ",t.i5U(14,12,"products.fund",c.config().productId)," "),t.R7$(3),t.Dyx(null==(i=c.topShortPositions())?null:i.data),t.R7$(2),t.Y8G("chartConfig",c.topShortPositionsChart().chartConfig)("chartData",c.topShortPositionsChart().chartData),t.R7$(),t.vxM(null!=(r=c.topShortPositionsProximals())&&r.proximalBottomPlacement?19:-1),t.R7$(),t.vxM(null!=(l=c.topShortPositionsProximals())&&l.secondaryProximalBottomPlacement?20:-1)}}
1function W_(n,s){if(1&n&&(t.j41(0,"div",1),t.DNE(1,F_,23,15)(2,w_,21,15)(3,L_,21,15)(4,z_,21,15),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.vxM(e.topLongExposures()?1:-1),t.R7$(),t.vxM(e.topLongPositions()?2:-1),t.R7$(),t.vxM(e.topShortExposures()?3:-1),t.R7$(),t.vxM(e.topShortPositions()?4:-1)}}function q_(n,s){if(1&n&&t.nrm(0,"frk-section-header",1),2&n){const e=t.XpG(2);t.Y8G("sectionHeader",e.header())}}function Q_(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.proximals())?null:e.proximalTopPlacement)}}function Z_(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.proximals())?null:e.secondaryProximalTopPlacement)}}function J_(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",12)(2,"div",13),t.nrm(3,"span",14),t.EFF(4),t.k0s()(),t.j41(5,"td",15),t.EFF(6),t.k0s()()),2&n){const e=s.$implicit,a=s.$index,o=t.XpG(3);t.R7$(3),t.Y8G("ngClass","bg-chart-color"+a%o.colorLength()),t.R7$(),t.SpI("",e.label," "),t.R7$(2),t.JRh(e.breakdown)}}function K_(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.proximals())?null:e.proximalBottomPlacement)}}function tg(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.proximals())?null:e.secondaryProximalBottomPlacement)}}function eg(n,s){if(1&n&&(t.DNE(0,Q_,1,1,"frk-proximal",2)(1,Z_,1,1,"frk-proximal",2),t.j41(2,"div",3)(3,"div",4)(4,"table",5)(5,"caption",6),t.EFF(6),t.k0s(),t.j41(7,"thead")(8,"tr",7)(9,"th",8),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.j41(12,"th",9),t.EFF(13),t.nI1(14,"translate"),t.k0s()()(),t.j41(15,"tbody"),t.Z7z(16,J_,7,3,"tr",null,z),t.k0s()()(),t.j41(18,"div",10),t.nrm(19,"frk-highcharts",11),t.k0s()(),t.DNE(20,K_,1,1,"frk-proximal",2)(21,tg,1,1,"frk-proximal",2)),2&n){let e,a,o,i,r,l;const c=t.XpG(2);t.vxM(null!=(e=c.proximals())&&e.proximalTopPlacement?0:-1),t.R7$(),t.vxM(null!=(a=c.proximals())&&a.secondaryProximalTopPlacement?1:-1),t.R7$(5),t.SpI(" ",null==(o=c.header())?null:o.allocationHeading," "),t.R7$(4),t.SpI(" ",t.bMT(11,9,"products.portfolio-holdings")," "),t.R7$(3),t.SpI(" ",t.i5U(14,11,"products.fund",c.config().productId)," "),t.R7$(3),t.Dyx(null==(i=c.topTenHoldings())?null:i.data),t.R7$(3),t.Y8G("chartConfig",c.topTenHoldingsChart().chartConfig)("chartData",c.topTenHoldingsChart().chartData),t.R7$(),t.vxM(null!=(r=c.proximals())&&r.proximalBottomPlacement?20:-1),t.R7$(),t.vxM(null!=(l=c.proximals())&&l.secondaryProximalBottomPlacement?21:-1)}}function ng(n,s){if(1&n&&t.DNE(0,q_,1,1,"frk-section-header",1)(1,eg,22,14),2&n){const e=t.XpG();t.vxM(e.header()?0:-1),t.R7$(),t.vxM(e.topTenHoldings()?1:-1)}}function ag(n,s){if(1&n&&(t.j41(0,"frk-tooltip",6),t.nI1(1,"translate"),t.nrm(2,"p",15),t.k0s()),2&n){let e,a,o;const i=t.XpG(3);t.Y8G("placement",null==(e=i.header())||null==e.tooltip?null:e.tooltip.placement)("tooltipTitle",null==(a=i.header())||null==a.tooltip?null:a.tooltip.tooltipTitle)("ariaLabel",t.bMT(1,4,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",null==(o=i.header())||null==o.tooltip?null:o.tooltip.tooltipDescription,t.npT)}}function og(n,s){if(1&n&&(t.j41(0,"option",19),t.EFF(1),t.k0s()),2&n){const e=s.$implicit;t.Y8G("value",e),t.R7$(),t.JRh(e)}}function ig(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",9)(1,"label",16),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",17)(5,"select",18),t.mxI("ngModelChange",function(o){t.eBV(e);const i=t.XpG(3);return t.DH7(i.currentAsOfDateDropdownSignal,o)||(i.currentAsOfDateDropdownSignal=o),t.Njj(o)}),t.bIt("ngModelChange",function(o){t.eBV(e);const i=t.XpG(3);return t.Njj(i.onDropdownChange(o))}),t.Z7z(6,og,2,2,"option",19,t.fX1),t.k0s()()()}if(2&n){const e=t.XpG(3);t.R7$(),t.Y8G("for",e.dropdownId),t.R7$(),t.JRh(t.bMT(3,5,"products.as-of")),t.R7$(3),t.Y8G("name",e.dropdownId)("id",e.dropdownId),t.R50("ngModel",e.currentAsOfDateDropdownSignal),t.R7$(),t.Dyx(e.asOfDateOptions())}}function sg(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.proximals())?null:e.proximalTopPlacement)}}
1function rg(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(3);t.Y8G("placement",null==(e=a.proximals())?null:e.secondaryProximalTopPlacement)}}function lg(n,s){if(1&n){const e=t.RV6();t.j41(0,"header",4)(1,"h2",5),t.EFF(2),t.DNE(3,ag,3,6,"frk-tooltip",6),t.nrm(4,"br"),t.j41(5,"small",7),t.EFF(6),t.nI1(7,"translate"),t.nI1(8,"translate"),t.k0s(),t.nrm(9,"frk-footnote",8),t.k0s(),t.DNE(10,ig,8,7,"div",9),t.j41(11,"div",10)(12,"button",11),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.triggerDownloadAction())}),t.j41(13,"span",12),t.nrm(14,"frk-heroicon",13),t.j41(15,"span",14),t.EFF(16),t.nI1(17,"translate"),t.k0s()()()()(),t.DNE(18,sg,1,1,"frk-proximal",3)(19,rg,1,1,"frk-proximal",3)}if(2&n){let e,a,o,i,r;const l=t.XpG(2);t.R7$(2),t.SpI(" ",null==(e=l.header())?null:e.heading," "),t.R7$(),t.vxM(null!=(a=l.header())&&a.tooltip?3:-1),t.R7$(3),t.E5c(" ",t.bMT(7,9,"pds.PERF_AS_OF_DATE")," ",null==(o=l.header())?null:o.asOfDate," (",t.bMT(8,11,"products.updated-"+(null==(o=l.header())?null:o.updateFrequency)),") "),t.R7$(4),t.vxM(l.asOfDateOptions().length>1?10:-1),t.R7$(6),t.JRh(t.bMT(17,13,"products.xls-file-extension")),t.R7$(2),t.vxM(null!=(i=l.proximals())&&i.proximalTopPlacement?18:-1),t.R7$(),t.vxM(null!=(r=l.proximals())&&r.secondaryProximalTopPlacement?19:-1)}}function cg(n,s){if(1&n&&(t.j41(0,"div",2),t.nrm(1,"frk-dynamic-table",20),t.nI1(2,"translate"),t.nI1(3,"translate"),t.nI1(4,"translate"),t.nI1(5,"translate"),t.nI1(6,"translate"),t.nI1(7,"translate"),t.nI1(8,"translate"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Y8G("colDefs",e.colDefs())("rowData",e.selectHoldings())("isCardView",e.isCardView())("ariaLabelGoToPage",t.bMT(2,10,"common.ariaLabelGoToPage"))("ariaLabelPagination",t.bMT(3,12,"common.navigationLandmark"))("nextPageText",t.bMT(4,14,"products.next"))("sortAccessibilityText",t.bMT(5,16,"common.sortAccessibilityText"))("prevPageText",t.bMT(6,18,"products.previous"))("showMoreTxt",t.bMT(7,20,"products.show-more"))("showLessTxt",t.bMT(8,22,"products.show-less"))}}function dg(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.proximals())?null:e.proximalBottomPlacement)}}function ug(n,s){if(1&n&&t.nrm(0,"frk-proximal",3),2&n){let e;const a=t.XpG(2);t.Y8G("placement",null==(e=a.proximals())?null:e.secondaryProximalBottomPlacement)}}function pg(n,s){if(1&n&&(t.j41(0,"div",1),t.DNE(1,lg,20,15)(2,cg,9,24,"div",2)(3,dg,1,1,"frk-proximal",3)(4,ug,1,1,"frk-proximal",3),t.k0s()),2&n){let e,a;const o=t.XpG();t.R7$(),t.vxM(o.header()?1:-1),t.R7$(),t.vxM(o.colDefs()&&o.selectHoldings()?2:-1),t.R7$(),t.vxM(null!=(e=o.proximals())&&e.proximalBottomPlacement?3:-1),t.R7$(),t.vxM(null!=(a=o.proximals())&&a.secondaryProximalBottomPlacement?4:-1)}}const Yn=()=>[];function mg(n,s){if(1&n&&(t.j41(0,"p",3),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){let e;const a=t.XpG(2);t.R7$(),t.E5c(" ",t.bMT(2,3,"products.as-of")," ",null==(e=a.getTrackingBasket())?null:e.asOfDate," (",null==(e=a.getTrackingBasket())?null:e.subTitle,") ")}}function hg(n,s){if(1&n&&(t.j41(0,"div",4),t.nrm(1,"frk-dynamic-table",6),t.k0s()),2&n){let e,a;t.XpG();const o=t.sdS(7),i=t.XpG();t.R7$(),t.Y8G("colDefs",null==(e=i.getTrackingBasket())?null:e.colDefs)("rowData",null!==(a=null==(a=i.getTrackingBasket())?null:a.rowData)&&void 0!==a?a:t.lJ4(3,Yn))("rowTemplate",o)}}function fg(n,s){if(1&n&&(t.j41(0,"frk-tooltip",9),t.nI1(1,"translate"),t.nrm(2,"p",13),t.k0s()),2&n){const e=t.XpG().$implicit;t.Y8G("ariaLabel",t.bMT(1,2,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",null==e?null:e.toolTip,t.npT)}}function _g(n,s){if(1&n&&(t.j41(0,"span",11),t.EFF(1),t.k0s()),2&n){let e;const a=t.XpG(3);t.R7$(),t.SpI(" ",null==(e=a.getTrackingBasket())?null:e.basketValues," ")}}function gg(n,s){if(1&n){const e=t.RV6();t.j41(0,"button",14),t.bIt("click",function(){t.eBV(e);const o=t.XpG().$implicit,i=t.XpG(2);return t.Njj(i.exportToExcel(null==o?null:o.filePath))}),t.j41(1,"span",15),t.nrm(2,"frk-heroicon",16),t.j41(3,"span",8),t.EFF(4),t.nI1(5,"translate"),t.k0s()()()}2&n&&(t.R7$(4),t.JRh(t.bMT(5,1,"products.xls-file-extension")))}
1function Cg(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",7)(2,"div",8),t.EFF(3),t.DNE(4,fg,3,4,"frk-tooltip",9),t.k0s()(),t.j41(5,"td",10),t.DNE(6,_g,2,1,"span",11)(7,gg,6,3,"button",12),t.k0s()()),2&n){let e;const a=s.$implicit,o=t.XpG(2);t.R7$(3),t.SpI(" ",null==a?null:a.basketName," "),t.R7$(),t.vxM(null!=a&&a.toolTip?4:-1),t.R7$(2),t.vxM(null!=a&&a.filePath||null==(e=o.getTrackingBasket())||!e.basketValues?-1:6),t.R7$(),t.vxM(null!=a&&a.filePath||null!=a&&a.displayText?7:-1)}}function bg(n,s){if(1&n&&(t.j41(0,"div",2)(1,"h4"),t.EFF(2),t.k0s(),t.DNE(3,mg,3,5,"p",3)(4,hg,2,4,"div",4),t.nrm(5,"frk-proximal",5),t.k0s(),t.DNE(6,Cg,8,4,"ng-template",null,0,t.C5r)),2&n){let e,a,o,i;const r=t.XpG();t.AVh("border",!r.config().isCardView),t.R7$(),t.AVh("mb-2",null==(e=r.getTrackingBasket())?null:e.subTitle),t.R7$(),t.SpI(" ",null==(a=r.getTrackingBasket())?null:a.title," "),t.R7$(),t.vxM(null!=(o=r.getTrackingBasket())&&o.asOfDate?3:-1),t.R7$(),t.vxM(null!=(i=r.getTrackingBasket())&&i.rowData?4:-1)}}function xg(n,s){if(1&n&&(t.j41(0,"option",7),t.EFF(1),t.k0s()),2&n){const e=s.$implicit;t.Y8G("value",e.value),t.R7$(),t.SpI(" ",e.label," ")}}function Dg(n,s){if(1&n){const e=t.RV6();t.j41(0,"header",2)(1,"h3",3),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",4)(5,"div",5)(6,"select",6),t.bIt("change",function(o){t.eBV(e);const i=t.XpG();return t.Njj(i.onExchangeChange(o))}),t.Z7z(7,xg,2,2,"option",7,it),t.k0s()()()(),t.j41(9,"div",8),t.nrm(10,"frk-dynamic-table",9),t.nI1(11,"translate"),t.nI1(12,"translate"),t.k0s()}if(2&n){const e=t.XpG();t.R7$(2),t.SpI(" ",t.bMT(3,7,"products.trading-information-header")," "),t.R7$(4),t.Y8G("value",e.selectedExchange()),t.R7$(),t.Dyx(e.exchangeOptions()),t.R7$(3),t.Y8G("colDefs",e.colDefs())("rowData",e.rowData())("isCardView",e.isCardView())("showMoreTxt",t.bMT(11,9,"products.more-details"))("showLessTxt",t.bMT(12,11,"products.less-details"))}}function vg(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){t.XpG(2);const e=t.r8f(0);t.Y8G("placement",null==e.proximals?null:e.proximals.proximalTopPlacement)}}function Tg(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){t.XpG(2);const e=t.r8f(0);t.Y8G("placement",null==e.proximals?null:e.proximals.secondaryProximalTopPlacement)}}
1function Sg(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",12)(2,"div",13),t.nrm(3,"span",14),t.EFF(4),t.k0s()(),t.j41(5,"td",15),t.EFF(6),t.k0s()()),2&n){const e=s.$implicit,a=s.$index,o=t.XpG(3);t.R7$(3),t.Y8G("ngClass","bg-chart-color"+a%o.chartColors.length),t.R7$(),t.SpI(" ",e.label," "),t.R7$(2),t.JRh(e.breakdown)}}function yg(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){t.XpG(2);const e=t.r8f(0);t.Y8G("placement",null==e.proximals?null:e.proximals.proximalBottomPlacement)}}function Rg(n,s){if(1&n&&t.nrm(0,"frk-proximal",2),2&n){t.XpG(2);const e=t.r8f(0);t.Y8G("placement",null==e.proximals?null:e.proximals.secondaryProximalBottomPlacement)}}function kg(n,s){if(1&n&&(t.nrm(0,"frk-section-header",1),t.DNE(1,vg,1,1,"frk-proximal",2)(2,Tg,1,1,"frk-proximal",2),t.j41(3,"div",3)(4,"div",4)(5,"table",5)(6,"caption",6),t.EFF(7),t.k0s(),t.j41(8,"thead")(9,"tr",7)(10,"th",8),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.j41(13,"th",9),t.EFF(14),t.nI1(15,"translate"),t.k0s()()(),t.j41(16,"tbody"),t.Z7z(17,Sg,7,3,"tr",null,z),t.k0s()()(),t.j41(19,"div",10),t.nrm(20,"frk-highcharts",11),t.k0s()(),t.DNE(21,yg,1,1,"frk-proximal",2)(22,Rg,1,1,"frk-proximal",2)),2&n){t.XpG();const e=t.r8f(0),a=t.XpG();t.Y8G("sectionHeader",e.sectionHeader),t.R7$(),t.vxM(null!=e.proximals&&e.proximals.proximalTopPlacement?1:-1),t.R7$(),t.vxM(null!=e.proximals&&e.proximals.secondaryProximalTopPlacement?2:-1),t.R7$(5),t.SpI(" ",null==e.sectionHeader?null:e.sectionHeader.allocationHeading," "),t.R7$(4),t.SpI(" ",t.bMT(12,10,"products.portfolio-year-allocation-tab")," "),t.R7$(3),t.SpI(" ",t.i5U(15,12,"products.fund",a.config().productId)," "),t.R7$(3),t.Dyx(null==e.portfolioAllocation?null:e.portfolioAllocation.data),t.R7$(3),t.Y8G("chartConfig",e.chartConfig)("chartData",e.chartData),t.R7$(),t.vxM(null!=e.proximals&&e.proximals.proximalBottomPlacement?21:-1),t.R7$(),t.vxM(null!=e.proximals&&e.proximals.secondaryProximalBottomPlacement?22:-1)}}function Eg(n,s){if(1&n&&(t.SS7(0),t.DNE(1,kg,23,15)),2&n){const e=t.bH3(t.XpG().vintageYear());t.R7$(),t.vxM(e?1:-1)}}function Fg(n,s){if(1&n&&(t.nrm(0,"frk-dynamic-table",4),t.nI1(1,"translate"),t.nI1(2,"translate")),2&n){const e=t.XpG(2);t.Y8G("colDefs",e.cardColDefs())("rowData",e.cardRowData())("isCardView",!0)("showMoreTxt",t.bMT(1,5,"products.more-details"))("showLessTxt",t.bMT(2,7,"products.less-details"))}}function $g(n,s){if(1&n&&t.nrm(0,"frk-dynamic-table",5),2&n){const e=t.XpG(2),a=t.sdS(3);t.Y8G("colDefs",e.colDefs())("rowData",e.rowData())("rowTemplate",a)}}function Ag(n,s){if(1&n&&(t.j41(0,"header",2),t.nrm(1,"frk-section-header",3),t.k0s(),t.DNE(2,Fg,3,9,"frk-dynamic-table",4)(3,$g,1,3,"frk-dynamic-table",5)),2&n){const e=t.XpG();t.R7$(),t.Y8G("sectionHeader",e.sectionHeader()),t.R7$(),t.vxM(e.config().isCardView?2:3)}}function Mg(n,s){if(1&n&&(t.j41(0,"small",9),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Lme(" ",t.bMT(2,2,"products.as-on")," ",e.date," ")}}function Pg(n,s){if(1&n&&(t.j41(0,"td",8)(1,"div"),t.EFF(2),t.k0s(),t.DNE(3,Mg,3,4,"small",9),t.k0s()),2&n){const e=s.$implicit;t.R7$(2),t.JRh(e.value),t.R7$(),t.vxM(e.date?3:-1)}}function Ig(n,s){if(1&n&&(t.j41(0,"tr",6)(1,"td",7),t.EFF(2),t.k0s(),t.Z7z(3,Pg,4,2,"td",8,t.Vm6),t.k0s()),2&n){const e=s.$implicit;t.R7$(2),t.JRh(e.label),t.R7$(),t.Dyx(e.cells)}}const jn=(n,s)=>s.distributionRateBreakPoint;function wg(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",10),t.EFF(2),t.k0s(),t.j41(3,"td",11),t.EFF(4),t.k0s(),t.j41(5,"td",11),t.EFF(6),t.k0s()()),2&n){const e=s.$implicit;t.R7$(2),t.SpI(" ",e.breakPointYearPercentage," "),t.R7$(2),t.SpI(" ",e.distributionRateBreakPoint," "),t.R7$(2),t.SpI(" ",e.popBreakPoint," ")}}
1function Ng(n,s){if(1&n&&(t.j41(0,"table",4)(1,"caption",7),t.EFF(2," POP Sales Charge Table Data "),t.k0s(),t.j41(3,"thead")(4,"tr")(5,"th",8),t.EFF(6),t.nI1(7,"translate"),t.k0s(),t.j41(8,"th",9),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.j41(11,"th",9),t.EFF(12),t.nI1(13,"translate"),t.k0s()()(),t.j41(14,"tbody"),t.Z7z(15,wg,7,3,"tr",null,jn),t.k0s()()),2&n){const e=t.XpG(2);t.R7$(6),t.SpI(" ",t.bMT(7,3,"products.pricing-investment")," "),t.R7$(3),t.SpI(" ",t.bMT(10,5,"products.pricing-sales-charge")," "),t.R7$(3),t.SpI(" ",t.bMT(13,7,"products.pricing-pop")," "),t.R7$(3),t.Dyx(e.popSalesCharge())}}function Gg(n,s){if(1&n&&(t.j41(0,"dl",15)(1,"dt",17)(2,"div",18),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"dd",19)(6,"div",20),t.EFF(7),t.k0s()(),t.j41(8,"dt",17)(9,"div",18),t.EFF(10),t.nI1(11,"translate"),t.k0s()(),t.j41(12,"dd",19)(13,"div",20),t.EFF(14),t.k0s()()()),2&n){const e=t.XpG(),a=e.$implicit,o=e.$index;t.Y8G("id","table-card-content-pop-sales-charge-"+o),t.BMQ("aria-labelledby","table-card-header-pop-sales-charge-"+o),t.R7$(3),t.SpI(" ",t.bMT(4,6,"products.pricing-sales-charge")," "),t.R7$(4),t.SpI(" ",a.distributionRateBreakPoint," "),t.R7$(3),t.SpI(" ",t.bMT(11,8,"products.pricing-pop")," "),t.R7$(4),t.SpI(" ",a.popBreakPoint," ")}}function Og(n,s){1&n&&(t.j41(0,"div",21),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",22)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.less-details")," "),t.R7$(2),t.Y8G("size",16))}function Yg(n,s){1&n&&(t.j41(0,"div",21),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.nrm(3,"frk-heroicon",23)),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,2,"products.more-details")," "),t.R7$(2),t.Y8G("size",16))}function jg(n,s){if(1&n){const e=t.RV6();t.j41(0,"article",12)(1,"header",13)(2,"div",14),t.EFF(3),t.k0s()(),t.DNE(4,Gg,15,10,"dl",15),t.j41(5,"button",16),t.bIt("click",function(){const o=t.eBV(e).$implicit,i=t.XpG(3);return t.Njj(i.toggleCard(o))}),t.DNE(6,Og,4,4)(7,Yg,4,4),t.k0s()()}if(2&n){const e=s.$implicit,a=s.$index;t.R7$(),t.AVh("bg-nc1-100",e.isClosed)("text-nc1-950",e.isClosed)("bg-pc1-800",!e.isClosed)("text-nc1-0",!e.isClosed),t.Y8G("id","table-card-header-pop-sales-charge-"+a),t.R7$(2),t.SpI(" ",e.breakPointYearPercentage," "),t.R7$(),t.vxM(e.isClosed?-1:4),t.R7$(),t.AVh("bg-pc1-500",e.isClosed)("bg-pc1-800",!e.isClosed),t.BMQ("aria-expanded",(!e.isClosed).toString())("aria-controls","table-card-content-pop-sales-charge-"+a),t.R7$(),t.vxM(e.isClosed?-1:6),t.R7$(),t.vxM(e.isClosed?7:-1)}}function Lg(n,s){if(1&n&&(t.j41(0,"div",5),t.Z7z(1,jg,8,19,"article",12,jn),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Dyx(e.popSalesCharge())}}function Bg(n,s){if(1&n&&(t.j41(0,"div",1)(1,"header",2)(2,"h3",3),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.DNE(5,Ng,17,9,"table",4)(6,Lg,3,0,"div",5),t.k0s(),t.nrm(7,"frk-proximal",6)),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,3,"products.section-headings.pop-and-sales-charge-at-breakpoints")," "),t.R7$(2),t.vxM(e.isCardView?-1:5),t.R7$(),t.vxM(e.isCardView?6:-1)}}function Vg(n,s){if(1&n&&(t.j41(0,"tr")(1,"td",8),t.nrm(2,"span",9),t.EFF(3),t.k0s(),t.j41(4,"td",10),t.EFF(5),t.k0s()()),2&n){const e=s.$implicit,a=s.$index;t.R7$(2),t.Y8G("ngClass",`bg-chart-color${a}`),t.R7$(),t.SpI(" ",e.label," "),t.R7$(2),t.JRh(e.breakdown)}}function Xg(n,s){if(1&n&&(t.j41(0,"div",1)(1,"table",2)(2,"caption",3),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"thead")(6,"tr",4)(7,"th",5),t.EFF(8),t.nI1(9,"translate"),t.k0s(),t.j41(10,"th",6),t.EFF(11),t.nI1(12,"translate"),t.k0s()()(),t.j41(13,"tbody"),t.Z7z(14,Vg,6,3,"tr",null,z),t.k0s()(),t.nrm(16,"frk-highcharts",7),t.k0s()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,5,"products.premium-discount-analysis-label-column")," "),t.R7$(5),t.SpI(" ",t.bMT(9,7,"products.premium-discount-analysis-label-column")," "),t.R7$(3),t.SpI(" ",t.bMT(12,9,"products.premium-discount-analysis-breakdown-column")," "),t.R7$(3),t.Dyx(e.premiumDiscountAnalysis()),t.R7$(2),t.Y8G("chartConfig",e.premiumDiscountAnalysisChart().chartConfig)("chartData",e.premiumDiscountAnalysisChart().chartData)}}const Ln=n=>({item:n}),Hg=(n,s)=>`${s.value}`;
1function Ug(n,s){if(1&n&&(t.j41(0,"option",12),t.EFF(1),t.k0s()),2&n){const e=s.$implicit;t.Y8G("value",e.value),t.R7$(),t.JRh(e.label)}}function zg(n,s){if(1&n&&t.eu8(0,18),2&n){const e=s.$implicit;t.XpG(3);const a=t.sdS(3);t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.eq3(2,Ln,e))}}function Wg(n,s){if(1&n&&t.eu8(0,18),2&n){const e=s.$implicit;t.XpG(3);const a=t.sdS(3);t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.eq3(2,Ln,e))}}function qg(n,s){if(1&n&&t.nrm(0,"frk-premium-discount-analysis-table-and-chart",20),2&n){const e=t.XpG(3);t.Y8G("premiumDataAnalysisData",e.premiumDataAnalysisData())}}function Qg(n,s){if(1&n){const e=t.RV6();t.j41(0,"header",2)(1,"h3",3),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"frk-footnote",4),t.k0s(),t.j41(5,"p")(6,"small",5),t.EFF(7),t.nI1(8,"translate"),t.nI1(9,"translate"),t.k0s()()(),t.j41(10,"div",6),t.nrm(11,"frk-proximal",7),t.k0s(),t.j41(12,"div",8)(13,"label",9),t.EFF(14),t.nI1(15,"translate"),t.k0s()(),t.j41(16,"div",10)(17,"select",11),t.mxI("ngModelChange",function(o){t.eBV(e);const i=t.XpG(2);return t.DH7(i.currentYearSignal,o)||(i.currentYearSignal=o),t.Njj(o)}),t.bIt("ngModelChange",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onPeriodDateChange(o))}),t.Z7z(18,Ug,2,2,"option",12,Hg),t.k0s()(),t.j41(20,"div",13)(21,"div",14)(22,"header",15)(23,"h3",3),t.EFF(24),t.nI1(25,"translate"),t.k0s()(),t.j41(26,"div",16)(27,"div",17),t.Z7z(28,zg,1,4,"ng-container",18,z),t.k0s(),t.j41(30,"div",17),t.Z7z(31,Wg,1,4,"ng-container",18,z),t.k0s()()()(),t.j41(33,"div",19),t.DNE(34,qg,1,1,"frk-premium-discount-analysis-table-and-chart",20),t.k0s(),t.j41(35,"div",6),t.nrm(36,"frk-proximal",21),t.k0s()}if(2&n){const e=t.XpG(2);t.R7$(2),t.SpI(" ",t.bMT(3,12,"products.premium-discount-analysis-header")," "),t.R7$(2),t.Y8G("componentId",e.config().componentId),t.R7$(3),t.E5c(" ",t.bMT(8,14,"products.as-of")," ",e.asOfDate()," (",t.bMT(9,16,"products.updated-QUARTERLY"),") "),t.R7$(6),t.Y8G("for",e.dropdownId),t.R7$(),t.JRh(t.bMT(15,18,"products.select-a-quarter")),t.R7$(3),t.Y8G("name",e.dropdownId)("id",e.dropdownId),t.R50("ngModel",e.currentYearSignal),t.R7$(),t.Dyx(e.yearOptions()),t.R7$(6),t.SpI(" ",t.bMT(25,20,"products.Premium-Discount")," "),t.R7$(4),t.Dyx(e.leftContainerItems()),t.R7$(3),t.Dyx(e.rightContainerItems()),t.R7$(3),t.vxM(e.premiumDataAnalysisData().length>0?34:-1)}}function Zg(n,s){if(1&n&&t.DNE(0,Qg,37,22),2&n){const e=t.XpG();t.vxM(e.config().showPremiumDiscountAnalysis?0:-1)}}function Jg(n,s){if(1&n&&(t.nrm(0,"frk-footnote",25),t.j41(1,"frk-tooltip",26),t.nI1(2,"translate"),t.nrm(3,"p",27),t.k0s()),2&n){const e=t.XpG().item,a=t.XpG();t.Y8G("placement",e.caveatPlacement)("componentId",a.config().componentId),t.R7$(),t.Y8G("ariaLabel",t.bMT(2,4,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",e.tooltip,t.npT)}}
1function Kg(n,s){if(1&n&&(t.j41(0,"small"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().item;t.R7$(),t.JRh(e.labelSmallText)}}function tC(n,s){if(1&n&&(t.j41(0,"dl",22)(1,"dt")(2,"span",23),t.EFF(3),t.DNE(4,Jg,4,6),t.k0s(),t.DNE(5,Kg,2,1,"small"),t.k0s(),t.j41(6,"dd",24),t.EFF(7),t.k0s()()),2&n){const e=s.item;t.R7$(3),t.SpI("",e.label," "),t.R7$(),t.vxM(e.tooltip?4:-1),t.R7$(),t.vxM(e.labelSmallText?5:-1),t.R7$(2),t.JRh(e.val)}}const Bn=(n,s)=>s.text;function eC(n,s){1&n&&t.eu8(0)}function nC(n,s){1&n&&t.eu8(0)}function aC(n,s){1&n&&t.eu8(0)}function oC(n,s){if(1&n&&t.nrm(0,"frk-highcharts",14),2&n){const e=t.XpG(2);t.Y8G("chartConfig",e.chartConfig())("chartData",e.chartData())}}function iC(n,s){if(1&n&&(t.j41(0,"header",4)(1,"h2",5),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"frk-footnote",6),t.k0s(),t.j41(5,"p")(6,"small"),t.EFF(7),t.nI1(8,"translate"),t.nI1(9,"translate"),t.k0s()(),t.nrm(10,"frk-proximal",7),t.j41(11,"div",8)(12,"div",9),t.DNE(13,eC,1,0,"ng-container",10),t.k0s(),t.j41(14,"div",11)(15,"div",12),t.DNE(16,nC,1,0,"ng-container",10),t.k0s(),t.j41(17,"div",13),t.DNE(18,aC,1,0,"ng-container",10),t.k0s()()()(),t.DNE(19,oC,1,2,"frk-highcharts",14),t.j41(20,"div",15),t.nrm(21,"frk-proximal",16),t.k0s()),2&n){let e;const a=t.XpG(),o=t.sdS(3),i=t.sdS(5),r=t.sdS(7);t.R7$(2),t.SpI(" ",t.bMT(3,9,"products.premium-discount-historical-header")," "),t.R7$(2),t.Y8G("componentId",a.config().componentId),t.R7$(3),t.E5c("",t.bMT(8,11,"products.as-of")," ",null==(e=a.coreNav())?null:e.navDate," (",t.bMT(9,13,"products.updated-DAILY"),") "),t.R7$(6),t.Y8G("ngTemplateOutlet",o),t.R7$(3),t.Y8G("ngTemplateOutlet",i),t.R7$(2),t.Y8G("ngTemplateOutlet",r),t.R7$(),t.vxM(a.chartData()?19:-1)}}function sC(n,s){if(1&n&&(t.j41(0,"option",20),t.EFF(1),t.k0s()),2&n){const e=s.$implicit;t.Y8G("value",e.value),t.R7$(),t.SpI(" ",e.text," ")}}function rC(n,s){if(1&n&&t.Z7z(0,sC,2,2,"option",20,Bn),2&n){const e=t.XpG(2);t.Dyx(e.dropdownRange())}}function lC(n,s){if(1&n){const e=t.RV6();t.j41(0,"label",17),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.j41(3,"div",18)(4,"select",19),t.mxI("ngModelChange",function(o){t.eBV(e);const i=t.XpG();return t.DH7(i.selectedDropDownOption,o)||(i.selectedDropDownOption=o),t.Njj(o)}),t.bIt("change",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.setDropdownDateRange())}),t.DNE(5,rC,2,0),t.k0s()()}if(2&n){const e=t.XpG();t.Y8G("for",e.dropdownId),t.R7$(),t.JRh(t.bMT(2,6,"products.TIME_PERIOD")),t.R7$(3),t.Y8G("name",e.dropdownId)("id",e.dropdownId),t.R50("ngModel",e.selectedDropDownOption),t.R7$(),t.vxM(e.dropdownRange()?5:-1)}}function cC(n,s){if(1&n){const e=t.RV6();t.j41(0,"frk-date-picker",21),t.nI1(1,"translate"),t.nI1(2,"translate"),t.nI1(3,"translate"),t.nI1(4,"translate"),t.nI1(5,"translate"),t.nI1(6,"translate"),t.nI1(7,"translate"),t.nI1(8,"translate"),t.nI1(9,"translate"),t.bIt("selected",function(o){t.eBV(e);const i=t.XpG();return t.Njj(i.setCustomDateRange("fromDate",o))}),t.k0s()}if(2&n){const e=t.XpG();t.Y8G("id",e.fromDateId)("label",t.bMT(1,15,"products.calendar-from"))("min",e.minDate())("max",e.toDateStd)("value",e.fromDateStd)("errorMsgObj",e.errorMsgObj())("calendarHeading",t.bMT(2,17,"common.date-picker-calendar-heading"))("closeLabel",t.bMT(3,19,"common.date-picker-close"))("prevMonthLabel",t.bMT(4,21,"common.date-picker-previous-button"))("nextMonthLabel",t.bMT(5,23,"common.date-picker-next-button"))("monthSelectLabel",t.bMT(6,25,"common.date-picker-select-month"))("yearSelectLabel",t.bMT(7,27,"common.date-picker-select-year"))("selectedDateMessage",t.bMT(8,29,"common.date-picker-selected-date"))("buttonLabel",t.bMT(9,31,"common.date-picker-button"))("shouldRemoveMargin",!0)}}function dC(n,s){if(1&n){const e=t.RV6();t.j41(0,"frk-date-picker",22),t.nI1(1,"translate"),t.nI1(2,"translate"),t.nI1(3,"translate"),t.nI1(4,"translate"),t.nI1(5,"translate"),t.nI1(6,"translate"),t.nI1(7,"translate"),t.nI1(8,"translate"),t.nI1(9,"translate"),t.bIt("selected",function(o){t.eBV(e);const i=t.XpG();return t.Njj(i.setCustomDateRange("toDate",o))}),t.k0s()}if(2&n){const e=t.XpG();t.Y8G("id",e.toDateId)("label",t.bMT(1,15,"products.calendar-to"))("min",e.fromDateStd)("max",e.maxDate())("value",e.toDateStd)("errorMsgObj",e.errorMsgObj())("calendarHeading",t.bMT(2,17,"date-picker-calendar-heading"))("closeLabel",t.bMT(3,19,"date-picker-close"))("prevMonthLabel",t.bMT(4,21,"date-picker-previous-button"))("nextMonthLabel",t.bMT(5,23,"date-picker-next-button"))("monthSelectLabel",t.bMT(6,25,"date-picker-select-month"))("yearSelectLabel",t.bMT(7,27,"date-picker-select-year"))("selectedDateMessage",t.bMT(8,29,"date-picker-selected-date"))("buttonLabel",t.bMT(9,31,"date-picker-button"))("shouldRemoveMargin",!0)}}const he=(n,s)=>({"mb-0":n,"mb-4":s});function uC(n,s){if(1&n&&t.nrm(0,"frk-footnote",7),2&n){const e=t.XpG().$implicit,a=t.XpG(2);t.Y8G("placement",e.caveatPlacement)("componentId",a.config().componentId)}}function pC(n,s){if(1&n&&(t.j41(0,"frk-tooltip",8),t.nI1(1,"translate"),t.nrm(2,"p",10),t.k0s()),2&n){const e=t.XpG().$implicit;t.Y8G("ariaLabel",t.bMT(1,2,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",e.tooltip,t.npT)}}function mC(n,s){if(1&n&&(t.j41(0,"small"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.labelSmallText)}}function hC(n,s){if(1&n&&(t.j41(0,"div",5)(1,"dt")(2,"span",6),t.EFF(3),t.DNE(4,uC,1,2,"frk-footnote",7)(5,pC,3,4,"frk-tooltip",8),t.k0s(),t.DNE(6,mC,2,1,"small"),t.k0s(),t.j41(7,"dd",9),t.EFF(8),t.k0s()()),2&n){const e=s.$implicit,a=s.$index,o=s.$count;t.Y8G("ngClass",t.l_i(6,he,a===o-1,a!==o-1)),t.R7$(3),t.SpI("",e.label," "),t.R7$(),t.vxM(e.caveatPlacement?4:-1),t.R7$(),t.vxM(e.tooltip?5:-1),t.R7$(),t.vxM(e.labelSmallText?6:-1),t.R7$(2),t.JRh(e.val)}}function fC(n,s){if(1&n&&(t.j41(0,"header",1)(1,"h3",2),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"frk-footnote",3),t.k0s(),t.j41(5,"p")(6,"small"),t.EFF(7),t.nI1(8,"translate"),t.k0s()()(),t.j41(9,"dl",4),t.Z7z(10,hC,9,9,"div",5,z),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.SpI(" ",t.bMT(3,4,"products.section-headings.premium-discount")," "),t.R7$(2),t.Y8G("componentId",e.config().componentId),t.R7$(3),t.Lme("",t.bMT(8,6,"products.as-of")," ",e.asOfDate(),""),t.R7$(3),t.Dyx(e.items())}}function _C(n,s){1&n&&t.eu8(0)}function gC(n,s){1&n&&t.eu8(0)}function CC(n,s){1&n&&t.eu8(0)}function bC(n,s){1&n&&t.eu8(0)}function xC(n,s){if(1&n&&t.nrm(0,"frk-highcharts",16),2&n){const e=t.XpG(2);t.Y8G("chartConfig",e.chartConfig())("chartData",e.chartData())}}function DC(n,s){if(1&n&&(t.j41(0,"header",5)(1,"h3",6),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"frk-footnote",7),t.k0s(),t.j41(5,"p")(6,"small"),t.EFF(7),t.nI1(8,"translate"),t.nI1(9,"translate"),t.k0s()(),t.nrm(10,"frk-proximal",8),t.j41(11,"div",9)(12,"div",10),t.DNE(13,_C,1,0,"ng-container",11),t.k0s(),t.j41(14,"div",12)(15,"div",13),t.DNE(16,gC,1,0,"ng-container",11),t.k0s(),t.j41(17,"div",14),t.DNE(18,CC,1,0,"ng-container",11),t.k0s(),t.j41(19,"div",15),t.DNE(20,bC,1,0,"ng-container",11),t.k0s()()()(),t.DNE(21,xC,1,2,"frk-highcharts",16),t.j41(22,"div",17),t.nrm(23,"frk-proximal",18),t.k0s()),2&n){let e;const a=t.XpG(),o=t.sdS(3),i=t.sdS(5),r=t.sdS(7),l=t.sdS(9);t.R7$(2),t.SpI(" ",t.bMT(3,10,"products.section-headings.pricing-history")," "),t.R7$(2),t.Y8G("componentId",a.config().componentId),t.R7$(3),t.E5c("",t.bMT(8,12,"products.as-of")," ",null==(e=a.coreNav())?null:e.navDate," (",t.bMT(9,14,"products.updated-daily"),") "),t.R7$(6),t.Y8G("ngTemplateOutlet",o),t.R7$(3),t.Y8G("ngTemplateOutlet",i),t.R7$(2),t.Y8G("ngTemplateOutlet",r),t.R7$(2),t.Y8G("ngTemplateOutlet",l),t.R7$(),t.vxM(a.chartData()?21:-1)}}function vC(n,s){if(1&n&&(t.j41(0,"option",22),t.EFF(1),t.k0s()),2&n){const e=s.$implicit;t.Y8G("value",e.value),t.R7$(),t.SpI(" ",e.text," ")}}function TC(n,s){if(1&n&&t.Z7z(0,vC,2,2,"option",22,Bn),2&n){const e=t.XpG(2);t.Dyx(e.dropdownRange())}}function SC(n,s){if(1&n){const e=t.RV6();t.j41(0,"label",19),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.j41(3,"div",20)(4,"select",21),t.mxI("ngModelChange",function(o){t.eBV(e);const i=t.XpG();return t.DH7(i.selectedDropDownOption,o)||(i.selectedDropDownOption=o),t.Njj(o)}),t.bIt("change",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.setDropdownDateRange())}),t.DNE(5,TC,2,0),t.k0s()()}if(2&n){const e=t.XpG();t.Y8G("for",e.dropdownId),t.R7$(),t.JRh(t.bMT(2,6,"products.TIME_PERIOD")),t.R7$(3),t.Y8G("name",e.dropdownId)("id",e.dropdownId),t.R50("ngModel",e.selectedDropDownOption),t.R7$(),t.vxM(e.dropdownRange()?5:-1)}}function yC(n,s){if(1&n){const e=t.RV6();t.j41(0,"frk-date-picker",23),t.nI1(1,"translate"),t.nI1(2,"translate"),t.nI1(3,"translate"),t.nI1(4,"translate"),t.nI1(5,"translate"),t.nI1(6,"translate"),t.nI1(7,"translate"),t.nI1(8,"translate"),t.nI1(9,"translate"),t.bIt("selected",function(o){t.eBV(e);const i=t.XpG();return t.Njj(i.setCustomDateRange("fromDate",o))}),t.k0s()}if(2&n){const e=t.XpG();t.Y8G("id",e.fromDateId)("label",t.bMT(1,15,"products.calendar-from"))("min",e.minDate(
1))("max",e.toDateStd)("value",e.fromDateStd)("errorMsgObj",e.errorMsgObj())("calendarHeading",t.bMT(2,17,"products.from-date"))("closeLabel",t.bMT(3,19,"common.close"))("prevMonthLabel",t.bMT(4,21,"products.aria-label.date-picker.month-previous"))("nextMonthLabel",t.bMT(5,23,"products.aria-label.date-picker.month-next"))("monthSelectLabel",t.bMT(6,25,"products.aria-label.date-picker.month-select"))("yearSelectLabel",t.bMT(7,27,"products.aria-label.date-picker.year-select"))("selectedDateMessage",t.bMT(8,29,"products.date-picker.selected-date"))("buttonLabel",t.bMT(9,31,"products.choose-date"))("shouldRemoveMargin",!0)}}function RC(n,s){if(1&n){const e=t.RV6();t.j41(0,"frk-date-picker",24),t.nI1(1,"translate"),t.nI1(2,"translate"),t.nI1(3,"translate"),t.nI1(4,"translate"),t.nI1(5,"translate"),t.nI1(6,"translate"),t.nI1(7,"translate"),t.nI1(8,"translate"),t.nI1(9,"translate"),t.bIt("selected",function(o){t.eBV(e);const i=t.XpG();return t.Njj(i.setCustomDateRange("toDate",o))}),t.k0s()}if(2&n){const e=t.XpG();t.Y8G("id",e.toDateId)("label",t.bMT(1,15,"products.calendar-to"))("min",e.fromDateStd)("max",e.maxDate())("value",e.toDateStd)("errorMsgObj",e.errorMsgObj())("calendarHeading",t.bMT(2,17,"products.to-date"))("closeLabel",t.bMT(3,19,"common.close"))("prevMonthLabel",t.bMT(4,21,"products.aria-label.date-picker.month-previous"))("nextMonthLabel",t.bMT(5,23,"products.aria-label.date-picker.month-next"))("monthSelectLabel",t.bMT(6,25,"products.aria-label.date-picker.month-select"))("yearSelectLabel",t.bMT(7,27,"products.aria-label.date-picker.year-select"))("selectedDateMessage",t.bMT(8,29,"products.date-picker.selected-date"))("buttonLabel",t.bMT(9,31,"products.choose-date"))("shouldRemoveMargin",!0)}}function kC(n,s){if(1&n){const e=t.RV6();t.j41(0,"button",25),t.bIt("click",function(o){t.eBV(e);const i=t.XpG();return t.Njj(i.downloadPricing(o))}),t.j41(1,"span",26)(2,"span",27),t.nrm(3,"frk-heroicon",28),t.k0s(),t.EFF(4),t.nI1(5,"translate"),t.k0s()()}if(2&n){const e=t.XpG();t.Y8G("id",e.downloadId),t.R7$(3),t.Y8G("size",16),t.R7$(),t.SpI(" ",t.bMT(5,3,"products.xls-file-extension")," ")}}function EC(n,s){1&n&&t.eu8(0)}function FC(n,s){1&n&&t.eu8(0)}function $C(n,s){1&n&&t.eu8(0)}function AC(n,s){1&n&&t.eu8(0)}function MC(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",26)(1,"frk-dynamic-table",27),t.nI1(2,"translate"),t.nI1(3,"translate"),t.nI1(4,"translate"),t.nI1(5,"translate"),t.nI1(6,"translate"),t.nI1(7,"translate"),t.nI1(8,"translate"),t.bIt("pageChanged",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.scrollToTableContent())}),t.k0s()()}if(2&n){let e;const a=t.XpG(2);t.R7$(),t.Y8G("colDefs",a.colDefs())("rowData",a.tableData())("showPagination",!0)("isCardView",null!==(e=null==(e=a.config())?null:e.isCardView)&&void 0!==e&&e)("ariaLabelGoToPage",t.bMT(2,11,"common.ariaLabelGoToPage"))("ariaLabelPagination",t.bMT(3,13,"common.navigationLandmark"))("nextPageText",t.bMT(4,15,"products.next"))("sortAccessibilityText",t.bMT(5,17,"products.aria-label.sort-by-column"))("prevPageText",t.bMT(6,19,"products.previous"))("showMoreTxt",t.bMT(7,21,"products.more-details"))("showLessTxt",t.bMT(8,23,"products.less-details"))}}function PC(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",6)(1,"button",7),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.toggleContent())}),t.j41(2,"div",8)(3,"span",9),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.nrm(6,"frk-heroicon",10),t.k0s()(),t.j41(7,"div",11)(8,"div",12)(9,"div",13)(10,"header")(11,"div",14)(12,"div",15),t.DNE(13,EC,1,0,"ng-container",16),t.k0s(),t.j41(14,"div",17)(15,"div",18),t.DNE(16,FC,1,0,"ng-container",16),t.k0s(),t.j41(17,"div",19),t.DNE(18,$C,1,0,"ng-container",16),t.k0s()()(),t.j41(19,"div",20)(20,"div")(21,"h2",21),t.EFF(22),t.nI1(23,"translate"),t.k0s(),t.j41(24,"p")(25,"small",22)(26,"p"),t.EFF(27),t.nI1(28,"translate"),t.j41(29,"strong",23),t.EFF(30),t.k0s(),t.EFF(31),t.nI1(32,"translate"),t.j41(33,"strong",23),t.EFF(34),t.k0s()()()()(),t.j41(35,"div",24)(36,"div",25),t.DNE(37,AC,1,0,"ng-container",16),t.k0s()()()(),t.DNE(38,MC,9,25,"div",26),t.k0s()()()()}if(2&n){const e=t.XpG(),a=t.sdS(3),o=t.sdS(5),i=t.sdS(7),r=t.sdS(11);t.R7$(),t.AVh("rounded-b-xl",!e.isContentExpanded()),t.BMQ("aria-expanded",e.isContentExpanded()),t.R7$(3),t.SpI(" ",t.bMT(5,22,"products.price-view-historical-price-data")," "),t.R7$(2),t.Y8G("name",e.isContentExpanded()?"heroChevronUp":"heroChevronDown")("size",24),t.R7$(),t.AVh("max-h-0",!e.isContentExpanded())("max-h-[2000px]",e.isContentExpanded()),t.R7$(),t.AVh("hidden",!e.isContentExpanded()),t.R7$(5),t.Y8G("ngTemplateOutlet",a),t.R7$(3),t.Y8G("ngTemplateOutlet",o),t.R7$(2),t.Y8G("ngTemplateOutlet",i),t.R7$(4),t.SpI(" ",t.bMT(23,24,"products.price-historical-pricing-results")," "),t.R7$(5),t.SpI(" ",t.bMT(28,26,"products.calendar-from")," "),t.R7$(3),t.JRh(e.fromDate()),t.R7$(),t.SpI(" \u2013 ",t.bMT(32,28,"products.calendar-to")," "),t.R7$(3),t.JRh(e.toDate()),t.R7$(3),t.Y8G("ngTemplateOutlet",r),t.R7$(),t.vxM(e.colDefs()&&e.tableData()?38:-1)}}function IC(n,s){if(1&n&&(t.j41(0,"option",31),t.EFF(1),t.k0s()),2&n){const e=s.$implicit;t.Y8G("value",e.value),t.R7$(),t.JRh(e.text)}}function wC(n,s){if(1&n){const e=t.RV6();t.j41(0,"label",28),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.j41(3,"div",29)(4,"select",30),t.bIt("change",function(o){t.eBV(e);const i=t.XpG();return t.Njj(i.onDropdownChange(o))}),t.Z7z(5,IC,2,2,"option",31,it),t.k0s()()}if(2&n){const e=t.XpG();t.Y8G("for",e.dropdownId),t.R7$(),t.JRh(t.bMT(2,5,"products.TIME_PERIOD")),t.R7$(3),t.Y8G("name",e.dropdownId)("id",e.dropdownId)("value",e.selectedDropDownOption),t.R7$(),t.Dyx(e.dropdownRange())}}function NC(n,s){if(1&n){const e=t.RV6();t.j41(0,"frk-date-picker",32),t.nI1(1,"translate"),t.nI1(2,"translate"),t.nI1(3,"translate"),t.nI1(4,"translate"),t.nI1(5,"translate"),t.nI1(6,"translate"),t.nI1(7,"translate"),t.nI1(8,"translate"),t.nI1(9,"translate"),t.bIt("selected",function(o){t.eBV(e);const i=t.XpG();return t.Njj(i.onFromDateChange(o))}),t.k0s()}if(2&n){const e=t.XpG();t.Y8G("id",e.fromDateId)("label",t.bMT(1,15,"products.calendar-from"))("min",e.minDate(
1))("max",e.maxDate())("value",e.fromDateStd)("errorMsgObj",e.errorMsgObj())("calendarHeading",t.bMT(2,17,"common.date-picker-calendar-heading"))("closeLabel",t.bMT(3,19,"common.date-picker-close"))("prevMonthLabel",t.bMT(4,21,"common.date-picker-previous-button"))("nextMonthLabel",t.bMT(5,23,"common.date-picker-next-button"))("monthSelectLabel",t.bMT(6,25,"common.date-picker-select-month"))("yearSelectLabel",t.bMT(7,27,"common.date-picker-select-year"))("selectedDateMessage",t.bMT(8,29,"common.date-picker-selected-date"))("buttonLabel",t.bMT(9,31,"common.date-picker-button"))("shouldRemoveMargin",!0)}}function GC(n,s){if(1&n){const e=t.RV6();t.j41(0,"frk-date-picker",33),t.nI1(1,"translate"),t.nI1(2,"translate"),t.nI1(3,"translate"),t.nI1(4,"translate"),t.nI1(5,"translate"),t.nI1(6,"translate"),t.nI1(7,"translate"),t.nI1(8,"translate"),t.nI1(9,"translate"),t.bIt("selected",function(o){t.eBV(e);const i=t.XpG();return t.Njj(i.onToDateChange(o))}),t.k0s()}if(2&n){const e=t.XpG();t.Y8G("id",e.toDateId)("label",t.bMT(1,15,"products.calendar-to"))("min",e.minDate())("max",e.maxDate())("value",e.toDateStd)("errorMsgObj",e.errorMsgObj())("calendarHeading",t.bMT(2,17,"common.date-picker-calendar-heading"))("closeLabel",t.bMT(3,19,"common.date-picker-close"))("prevMonthLabel",t.bMT(4,21,"common.date-picker-previous-button"))("nextMonthLabel",t.bMT(5,23,"common.date-picker-next-button"))("monthSelectLabel",t.bMT(6,25,"common.date-picker-select-month"))("yearSelectLabel",t.bMT(7,27,"common.date-picker-select-year"))("selectedDateMessage",t.bMT(8,29,"common.date-picker-selected-date"))("buttonLabel",t.bMT(9,31,"common.date-picker-button"))("shouldRemoveMargin",!0)}}function OC(n,s){if(1&n&&(t.j41(0,"dl",34)(1,"dt")(2,"span",35),t.EFF(3),t.k0s(),t.j41(4,"small",36),t.EFF(5),t.k0s()(),t.j41(6,"dd",37),t.EFF(7),t.k0s()()),2&n){const e=s.item;t.R7$(3),t.SpI(" ",e.label," "),t.R7$(2),t.JRh(e.labelSmallText),t.R7$(2),t.SpI(" ",e.val," ")}}function YC(n,s){if(1&n){const e=t.RV6();t.j41(0,"button",38),t.bIt("click",function(){t.eBV(e);const o=t.XpG();return t.Njj(o.downloadXLS())}),t.j41(1,"span",39)(2,"span",40),t.nrm(3,"frk-heroicon",41),t.k0s(),t.EFF(4),t.nI1(5,"translate"),t.k0s()()}if(2&n){const e=t.XpG();t.Y8G("id",e.downloadId),t.R7$(3),t.Y8G("size",16),t.R7$(),t.SpI(" ",t.bMT(5,3,"products.xls-file-extension")," ")}}function jC(n,s){if(1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n){const e=t.XpG(2);t.SpI(" ",t.i5U(1,1,"products.price-shadow-nav-section-title",e.config().productId)," ")}}function LC(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"products.price-liquid-assets-section-title")," ")}function BC(n,s){if(1&n&&t.nrm(0,"frk-highcharts",5),2&n){const e=t.XpG(2);t.Y8G("chartConfig",e.chartConfig())("chartData",e.chartData())}}function VC(n,s){if(1&n&&(t.j41(0,"header",1),t.nrm(1,"frk-footnote",2),t.j41(2,"h3",3),t.DNE(3,jC,2,4)(4,LC,2,3),t.nrm(5,"frk-footnote",4),t.k0s(),t.j41(6,"p")(7,"small"),t.EFF(8),t.nI1(9,"translate"),t.k0s()()(),t.DNE(10,BC,1,2,"frk-highcharts",5),t.nrm(11,"frk-footnote",2)),2&n){const e=t.XpG();t.R7$(),t.Y8G("placement","Historical Shadow Nav"===e.componentType()?"ShadowNavProximalPlacementTop":"LiquidAssetsProximalPlacementTop"),t.R7$(2),t.vxM("Historical Shadow Nav"===e.componentType()?3:4),t.R7$(2),t.Y8G("placement","Historical Shadow Nav"===e.componentType()?"6MonthHistoricalShadowNAV":"6MonthLiquidAssets")("componentId",e.config().componentId),t.R7$(3),t.Lme("",t.bMT(9,8,"products.as-of")," ",e.asOfDate(),""),t.R7$(2),t.vxM(e.chartData()?10:-1),t.R7$(),t.Y8G("placement","Historical Shadow Nav"===e.componentType()?"ShadowNavProximalPlacementBottom":"LiquidAssetsProximalPlacementBottom")}}function XC(n,s){if(1&n&&t.nrm(0,"frk-footnote",9),2&n){const e=t.XpG().$implicit,a=t.XpG(3);t.Y8G("placement",e.caveatPlacement)("componentId",a.config().componentId)}}function HC(n,s){if(1&n&&(t.j41(0,"small"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.labelSmallText)}}function UC(n,s){if(1&n&&(t.j41(0,"div",7)(1,"dt")(2,"span",8),t.EFF(3),t.DNE(4,XC,1,2,"frk-footnote",9),t.k0s(),t.DNE(5,HC,2,1,"small"),t.k0s(),t.j41(6,"dd",10),t.EFF(7),t.k0s()()),2&n){const e=s.$implicit,a=s.$index,o=s.$count;t.Y8G("ngClass",t.l_i(5,he,a===o-1,a!==o-1)),t.R7$(3),t.SpI("",e.label,"\xa0 "),t.R7$(),t.vxM(e.caveatPlacement?4:-1),t.R7$(),t.vxM(e.labelSmallText?5:-1),t.R7$(2),t.JRh(e.val)}}function zC(n,s){if(1&n&&t.nrm(0,"frk-footnote",9),2&n){const e=t.XpG().$implicit,a=t.XpG(3);t.Y8G("placement",e.caveatPlacement)("componentId",a.config().componentId)}}function WC(n,s){if(1&n&&(t.j41(0,"small"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.labelSmallText)}}function qC(n,s){if(1&n&&(t.j41(0,"div",7)(1,"dt")(2,"span",8),t.EFF(3),t.DNE(4,zC,1,2,"frk-footnote",9),t.k0s(),t.DNE(5,WC,2,1,"small"),t.k0s(),t.j41(6,"dd",10),t.EFF(7),t.k0s()()),2&n){const e=s.$implicit,a=s.$index,o=s.$count;t.Y8G("ngClass",t.l_i(5,he,a===o-1,a!==o-1)),t.R7$(3),t.SpI("",e.label,"\xa0 "),t.R7$(),t.vxM(e.caveatPlacement?4:-1),t.R7$(),t.vxM(e.labelSmallText?5:-1),t.R7$(2),t.JRh(e.val)}}function QC(n,s){if(1&n&&(t.j41(0,"div",5)(1,"dl",6),t.Z7z(2,UC,8,8,"div",7,z),t.k0s(),t.j41(4,"dl",6),t.Z7z(5,qC,8,8,"div",7,z),t.k0s()()),2&n){const e=t.XpG(2);t.R7$(2),t.Dyx(e.items()),t.R7$(3),t.Dyx(e.rightColumnItems())}}function ZC(n,s){if(1&n&&t.nrm(0,"frk-footnote",9),2&n){const e=t.XpG().$implicit,a=t.XpG(3);t.Y8G("placement",e.caveatPlacement)("componentId",a.config().componentId)}}function JC(n,s){if(1&n&&(t.j41(0,"small"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.labelSmallText)}}function KC(n,s){if(1&n&&(t.j41(0,"div",7)(1,"dt")(2,"span",8),t.EFF(3),t.DNE(4,ZC,1,2,"frk-footnote",9),t.k0s(),t.DNE(5,JC,2,1,"small"),t.k0s(),t.j41(6,"dd",10),t.EFF(7),t.k0s()()),2&n){const e=s.$implicit,a=s.$index,o=s.$count;t.Y8G("ngClass",t.l_i(5,he,a===o-1,a!==o-1)),t.R7$(3),t.SpI("",e.label,"\xa0 "),t.R7$(),t.vxM(e.caveatPlacement?4:-1),t.R7$(),t.vxM(e.labelSmallText?5:-1),t.R7$(2),t.JRh(e.val)}}function t0(n,s){if(1&n&&(t.j41(0,"dl",6),t.Z7z(1,KC,8,8,"div",7,z),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Dyx(e.items())}}function e0(n,s){if(1&n&&(t.nrm(0,"frk-proximal",1),t.j41(1,"header",2)(2,"h3",3),t.EFF(3),t.nI1(4,"translate"),t.nrm(5,"frk-footnote",4),t.k0s(),t.j41(6,"p")(7,"small"),t.EFF(8),t.nI1(9,"translate"),t.k0s()()(),t.DNE(10,QC,7,0,"div",5)(11,t0,3,0,"dl",6)),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",t.bMT(4,5,"products.section-headings.share-prices"),""),t.R7$(2),t.Y8G("componentId",e.config().componentId),t.R7$(3),t.Lme("",t.bMT(9,7,"products.as-of")," ",e.asOfDate()," "),t.R7$(2),t.vxM(e.rightColumnItems().length>0?10:11)}}function n0(n,s){if(1&n&&t.nrm(0,"frk-footnote",7),2&n){const e=t.XpG().$implicit,a=t.XpG(2);t.Y8G("placement",e.caveatPlacement)("componentId",a.config().componentId)}}function a0(n,s){if(1&n&&(t.j41(0,"small"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.BMQ("data-testid","week-range-as-of-"+e.caveatPlacement),t.R7$(),t.JRh(e.labelSmallText)}}function o0(n,s){if(1&n&&(t.j41(0,"div",5)(1,"dt")(2,"span",6),t.EFF(3),t.DNE(4,n0,1,2,"frk-footnote",7),t.k0s(),t.DNE(5,a0,2,2,"small"),t.k0s(),t.j41(6,"dd",8),t.EFF(7),t.k0s()()),2&n){const e=s.$implicit,a=s.$index,o=s.$count;t.Y8G("ngClass",t.l_i(8,he,a===o-1,a!==o-1)),t.BMQ("data-testid","week-range-row-"+e.caveatPlacement),t.R7$(2),t.BMQ("data-testid","week-range-label-"+e.caveatPlacement),t.R7$(),t.SpI("",e.label," "),t.R7$(),t.vxM(e.caveatPlacement?4:-1),t.R7$(),t.vxM(e.labelSmallText?5:-1),t.R7$(),t.BMQ("data-testid","week-range-value-"+e.caveatPlacement),t.R7$(),t.SpI(" ",e.val," ")}}function i0(n,s){if(1&n&&(t.j41(0,"header",1)(1,"h3",2),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"frk-footnote",3),t.k0s()(),t.j41(5,"dl",4),t.Z7z(6,o0,8,11,"div",5,z),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.SpI(" ",t.bMT(3,2,"products.section-headings.52-week-range")," "),t.R7$(2),t.Y8G("componentId",e.config().componentId),t.R7$(2),t.Dyx(e.items())}}function s0(n,s){if(1&n&&(t.j41(0,"a",4),t.nI1(1,"fragmentLink"),t.EFF(2),t.k0s()),2&n){const e=t.XpG().$implicit;t.Y8G("id",e.id)("href",t.bMT(1,3,e.fragment),t.B4B),t.R7$(2),t.SpI(" ",e.label," ")}}function r0(n,s){if(1&n&&(t.j41(0,"span",5),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.Y8G("id",e.id),t.R7$(),t.SpI(" ",e.label," ")}}function l0(n,s){if(1&n&&t.nrm(0,"frk-footnote",6),2&n){const e=t.XpG().$implicit,a=t.XpG(2);t.Y8G("placement",e.footnote)("componentId",a.config().componentId)}}function c0(n,s){1&n&&(t.j41(0,"span",13),t.nrm(1,"frk-heroicon",14),t.k0s()),2&n&&(t.R7$(),t.Y8G("size",12))}function d0(n,s){1&n&&(t.j41(0,"span",13),t.nrm(1,"frk-heroicon",15),t.k0s()),2&n&&(t.R7$(),t.Y8G("size",12))}function u0(n,s){if(1&n&&(t.j41(0,"span",7)(1,"span"),t.DNE(2,c0,2,1,"span",13)(3,d0,2,1,"span",13),t.EFF(4),t.k0s(),t.j41(5,"span"),t.EFF(6),t.k0s()()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.vxM("loss"===e.badge.valueDirection?2:-1),t.R7$(),t.vxM("gain"===e.badge.valueDirection?3:-1),t.R7$(),t.SpI(" ",e.badge.amount,""),t.R7$(2),t.SpI("(",e.badge.percentage,")")}}function p0(n,s){if(1&n&&(t.j41(0,"a",8),t.nI1(1,"fragmentLink"),t.j41(2,"div",16),t.nrm(3,"frk-heroicon",14),t.k0s()()),2&n){const e=t.XpG().$implicit;t.Y8G("href",t.bMT(1,2,e.fragment),t.B4B),t.R7$(3),t.Y8G("size",16)}}function m0(n,s){if(1&n&&(t.j41(0,"div",9),t.nrm(1,"frk-tooltip",17),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Y8G("a11yPretext",e.tooltip.tooltipTitle)("placement",e.tooltip.tooltipPlacement)("tooltipTitle",e.tooltip.tooltipTitle)("ariaLabel",t.bMT(2,4,"common.aria-label.tooltip"))}}function h0(n,s){1&n&&(t.j41(0,"span",18),t.qSk(),t.j41(1,"svg",19),t.nrm(2,"polyline",20),t.k0s()())}function f0(n,s){if(1&n&&(t.j41(0,"div",10),t.Z7z(1,h0,3,0,"span",18,t.Vm6),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Dyx(t.lJ4(0,Yn).constructor(e.value))}}function _0(n,s){if(1&n&&(t.j41(0,"div",11),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.BMQ("aria-labelledby",e.id),t.R7$(),t.SpI(" ",e.value," ")}}function g0(n,s){if(1&n&&(t.j41(0,"div",12)(1,"small",21),t.EFF(2),t.k0s()()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.SpI(" ",e.asOfDate," ")}}function C0(n,s){if(1&n&&(t.j41(0,"div",2)(1,"div",3),t.DNE(2,s0,3,5,"a",4)(3,r0,2,2,"span",5)(4,l0,1,2,"frk-footnote",6)(5,u0,7,4,"span",7)(6,p0,4,4,"a",8)(7,m0,3,6,"div",9),t.k0s(),t.DNE(8,f0,3,1,"div",10)(9,_0,2,2,"div",11)(10,g0,3,1,"div",12),t.k0s()),2&n){const e=s.$implicit;t.BMQ("aria-labelledby",e.id),t.R7$(2),t.vxM(e.fragment?2:3),t.R7$(2),t.vxM(e.footnote?4:-1),t.R7$(),t.vxM(e.badge?5:-1),t.R7$(),t.vxM(e.isMorningstar&&e.fragment?6:-1),t.R7$(),t.vxM(e.tooltip?7:-1),t.R7$(),t.vxM(e.isMorningstar?8:9),t.R7$(2),t.vxM(e.asOfDate?10:-1)}}function b0(n,s){if(1&n&&(t.j41(0,"section",1),t.Z7z(1,C0,11,8,"div",2,me),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.Dyx(e.productSummaryInfo())}}const x0=n=>
1({"xl:text-6xl":n});function D0(n,s){if(1&n&&(t.j41(0,"option",10),t.EFF(1),t.k0s()),2&n){const e=s.$implicit,a=t.XpG(3);t.Y8G("value",e.value),t.BMQ("selected",a.shareClassCode()===e.value)("aria-label",a.shareClassCode()===e.value?e.label+" selected":null),t.R7$(),t.SpI(" ",e.label," ")}}function v0(n,s){if(1&n){const e=t.RV6();t.j41(0,"div",2)(1,"select",9),t.nI1(2,"translate"),t.bIt("ngModelChange",function(o){t.eBV(e);const i=t.XpG(2);return t.Njj(i.onShareClassSelection(o))}),t.Z7z(3,D0,2,4,"option",10,it),t.k0s()()}if(2&n){const e=t.XpG(2);t.R7$(),t.Y8G("ngModel",e.shareClassCode()),t.BMQ("aria-label",t.bMT(2,2,"products.aria-label.change-share-class")),t.R7$(2),t.Dyx(e.activeShareClasses())}}function T0(n,s){if(1&n&&(t.j41(0,"span",3),t.EFF(1),t.k0s()),2&n){let e;const a=t.XpG(2);t.R7$(),t.SpI(" ",null==(e=a.productTitleInfo())?null:e.vehicletype," ")}}function S0(n,s){if(1&n&&(t.j41(0,"span",3),t.EFF(1),t.k0s()),2&n){let e;const a=t.XpG(2);t.R7$(),t.SpI(" ",null==(e=a.productTitleInfo())?null:e.etfType," ")}}function y0(n,s){if(1&n&&(t.j41(0,"span",5),t.EFF(1),t.k0s()),2&n){let e,a;const o=t.XpG(2);t.Y8G("ngClass",t.eq3(2,x0,"xLarge"===(null==(e=o.productTitleInfo())?null:e.fontType))),t.R7$(),t.SpI(" ",null==(a=o.productTitleInfo())?null:a.identifier," ")}}function R0(n,s){1&n&&(t.nrm(0,"frk-heroicon",13),t.j41(1,"span",14),t.EFF(2),t.nI1(3,"translate"),t.k0s()),2&n&&(t.Y8G("size",24),t.R7$(2),t.JRh(t.bMT(3,2,"products.remove-from-favourite")))}function k0(n,s){1&n&&(t.nrm(0,"frk-heroicon",15),t.j41(1,"span",14),t.EFF(2),t.nI1(3,"translate"),t.k0s()),2&n&&(t.Y8G("size",24),t.R7$(2),t.JRh(t.bMT(3,2,"products.add-to-favourite")))}function E0(n,s){if(1&n){const e=t.RV6();t.j41(0,"button",16),t.bIt("click",function(){t.eBV(e);const o=t.XpG(3);return t.Njj(o.openPatToolCompare())}),t.nrm(1,"frk-heroicon",17),t.j41(2,"span",14),t.EFF(3),t.nI1(4,"translate"),t.k0s()()}2&n&&(t.BMQ("data-gtm-intent","compare_funds"),t.R7$(),t.Y8G("size",24),t.R7$(2),t.JRh(t.bMT(4,3,"products.compare-funds")))}function F0(n,s){if(1&n){const e=t.RV6();t.j41(0,"button",11),t.bIt("click",function(){t.eBV(e);const o=t.XpG(2);return t.Njj(o.updateFavourite())}),t.DNE(1,R0,4,4)(2,k0,4,4),t.k0s(),t.DNE(3,E0,5,5,"button",12)}if(2&n){const e=t.XpG(2);t.Y8G("gtmAttributes",e.productTitleInfo()),t.BMQ("data-gtm-intent",e.isWatchlistProduct()?"remove_favourite":"add_favourite"),t.R7$(),t.vxM(e.isWatchlistProduct()?1:2),t.R7$(2),t.vxM(e.showCompareButton()?3:-1)}}function $0(n,s){if(1&n&&t.nrm(0,"div",8),2&n){const e=t.XpG(2);t.Y8G("innerHTML",e.productDescriptionBullets(),t.npT)}}function A0(n,s){if(1&n&&(t.j41(0,"div",1),t.DNE(1,v0,5,4,"div",2),t.j41(2,"span",3),t.EFF(3),t.k0s(),t.DNE(4,T0,2,1,"span",3)(5,S0,2,1,"span",3),t.k0s(),t.j41(6,"h1",4),t.DNE(7,y0,2,4,"span",5),t.j41(8,"span",6),t.EFF(9),t.k0s()(),t.j41(10,"div",7),t.DNE(11,F0,4,4),t.k0s(),t.DNE(12,$0,1,1,"div",8)),2&n){let e,a,o,i;const r=t.XpG();t.R7$(),t.vxM(r.activeShareClasses().length>0?1:-1),t.R7$(2),t.SpI(" ",null==(e=r.productTitleInfo())?null:e.assetClass," "),t.R7$(),t.vxM(r.showVehicleTypeBadge()?4:-1),t.R7$(),t.vxM(null!=(a=r.productTitleInfo())&&a.etfType?5:-1),t.R7$(2),t.vxM("-"!==(null==(o=r.productTitleInfo())?null:o.identifier)?7:-1),t.R7$(2),t.SpI(" ",null==(i=r.productTitleInfo())?null:i.productName," "),t.R7$(2),t.vxM(r.config().hasWatchList?11:-1),t.R7$(),t.vxM(r.productDescriptionBullets().trim()?12:-1)}}function M0(n,s){if(1&n&&(t.j41(0,"div",4),t.nrm(1,"span",12),t.k0s()),2&n){t.XpG();const e=t.r8f(4);t.R7$(),t.AVh("badge",e.text),t.Y8G("innerHTML",e.text||"\xa0",t.npT),t.BMQ("aria-label",e.ariaLabel||e.text)}}function P0(n,s){1&n&&(t.j41(0,"h3",5),t.EFF(1),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",s," "))}function I0(n,s){if(1&n&&(t.j41(0,"a",8),t.EFF(1),t.k0s()),2&n){const e=t.XpG(),a=t.r8f(9);t.Y8G("href",a.href,t.B4B)("frkCalloutCardAnalytics",e.learnMoreAnalytics()),t.BMQ("aria-label",a.ariaLabel||a.text),t.R7$(),t.SpI(" ",a.text," ")}}function w0(n,s){1&n&&(t.j41(0,"div",10),t.nrm(1,"div",13),t.k0s())}function N0(n,s){if(1&n&&t.nrm(0,"frk-footnote",16),2&n){let e;const a=t.XpG().$implicit,o=t.XpG();t.Y8G("placement",null==a?null:a.footNote)("componentId",null==(e=o.productCard())?null:e.componentId)}}function G0(n,s){if(1&n&&(t.j41(0,"div",17)(1,"frk-tooltip",20),t.nI1(2,"translate"),t.nrm(3,"p",21),t.k0s()()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Y8G("ariaLabel",t.bMT(2,2,"common.aria-label.tooltip")),t.R7$(2),t.Y8G("innerHTML",e.tooltip,t.npT)}}function O0(n,s){if(1&n&&(t.j41(0,"dt",14)(1,"span",15),t.EFF(2),t.k0s(),t.DNE(3,N0,1,2,"frk-footnote",16)(4,G0,4,4,"div",17),t.j41(5,"small",18),t.EFF(6),t.k0s()(),t.j41(7,"dd",19),t.EFF(8),t.k0s()),2&n){const e=s.$implicit,a=s.$index,o=s.$count;t.AVh("mb-0",a===o-1),t.R7$(2),t.JRh(e.label),t.R7$(),t.vxM(null!=e&&e.footNote?3:-1),t.R7$(),t.vxM(e.tooltip?4:-1),t.R7$(2),t.JRh(e.subLabel),t.R7$(),t.AVh("mb-0",a===o-1),t.R7$(),t.SpI(" ",e.value," ")}}function Y0(n,s){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" (",t.bMT(1,1,"products.updated-daily"),") ")}function j0(n,s){if(1&n&&(t.j41(0,"small",2),t.EFF(1),t.nI1(2,"translate"),t.DNE(3,Y0,2,3),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Lme(" ",t.bMT(2,3,"products.as-of")," ",e.asOfDate()," "),t.R7$(2),t.vxM(e.showU
1pdatedDaily()?3:-1)}}function L0(n,s){if(1&n&&(t.j41(0,"div",4)(1,"p",5),t.EFF(2),t.k0s(),t.j41(3,"p",6),t.EFF(4),t.k0s()()),2&n){const e=s.$implicit;t.R7$(2),t.SpI(" ",e.label," "),t.R7$(2),t.SpI(" ",e.value," ")}}function B0(n,s){if(1&n&&(t.j41(0,"section",1),t.DNE(1,j0,4,5,"small",2),t.j41(2,"div",3),t.Z7z(3,L0,5,2,"div",4,me),t.k0s()()),2&n){const e=t.XpG();t.R7$(),t.vxM(e.asOfDate()?1:-1),t.R7$(2),t.Dyx(e.items())}}function V0(n,s){if(1&n&&(t.j41(0,"p",2),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Lme(" ",t.bMT(2,2,"products.as-of")," ",e.asOfDate()," ")}}function X0(n,s){if(1&n&&(t.j41(0,"li",4)(1,"span",5),t.EFF(2),t.k0s(),t.j41(3,"strong",6),t.EFF(4),t.k0s()()),2&n){const e=s.$implicit;t.R7$(2),t.SpI(" ",e.label," "),t.R7$(2),t.SpI(" ",e.value," ")}}function H0(n,s){if(1&n&&(t.j41(0,"section",1),t.DNE(1,V0,3,4,"p",2),t.j41(2,"ul",3),t.Z7z(3,X0,5,2,"li",4,me),t.k0s()()),2&n){const e=t.XpG();t.R7$(),t.vxM(e.asOfDate()?1:-1),t.R7$(2),t.Dyx(e.items())}}const U0=(n,s)=>s.name;function z0(n,s){if(1&n&&(t.j41(0,"p",2),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Lme(" ",t.bMT(2,2,"products.as-of")," ",e.asOfDate()," ")}}function W0(n,s){if(1&n&&(t.j41(0,"li",6),t.nrm(1,"span",7),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&n){const e=s.$implicit;t.R7$(),t.Y8G("ngClass",e.colorClass),t.R7$(2),t.JRh(e.name)}}function q0(n,s){if(1&n&&(t.j41(0,"div"),t.nrm(1,"frk-highcharts",4),t.j41(2,"ul",5),t.Z7z(3,W0,4,2,"li",6,U0),t.k0s()()),2&n){const e=t.XpG(2);t.R7$(),t.Y8G("chartConfig",e.chartConfig)("chartData",e.chartData()),t.R7$(2),t.Dyx(e.legendItems())}}function Q0(n,s){if(1&n&&(t.j41(0,"frk-smart-link",3),t.EFF(1),t.k0s()),2&n){let e;const a=t.XpG(2);t.Y8G("href",null!==(e=a.config().disclosureUrl)&&void 0!==e?e:""),t.R7$(),t.JRh(a.config().disclosureLabel)}}function Z0(n,s){if(1&n&&(t.j41(0,"div",1),t.DNE(1,z0,3,4,"p",2)(2,q0,5,2,"div")(3,Q0,2,2,"frk-smart-link",3),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.vxM(e.asOfDate()?1:-1),t.R7$(),t.vxM(e.hasChartData()?2:-1),t.R7$(),t.vxM(e.hasDisclosure()?3:-1)}}let U=(()=>{class n{logger;destroyRef=(0,t.WQX)(t.abz);products=(0,t.WQX)(d.PRODUCTS_SERVICE);isProgressiveLoading=!1;config=t.hFB.required();config$=(0,H.br)(this.config);ComponentStatus=d.ComponentStatus;status=(0,t.vPA)(d.ComponentStatus.LOADING);statusUpdate=(0,t.CGW)();constructor(e){this.logger=e,(0,t.QZP)(()=>{this.logger.debug(this.loggerName,"Emitting statusUpdate",this.status()),this.statusUpdate.emit(this.status())})}ngOnInit(){this.initializeConfigSubscription()}initializeConfigSubscription(){this.config$.pipe((0,ot.n)(e=>this.loadProductDetails$(e)),(0,H.pQ)(this.destroyRef)).subscribe({next:this.handleProductData.bind(this),error:this.handleSubscriptionError.bind(this)})}loadProductDetails$(e){return this.status.set(d.ComponentStatus.LOADING),this.products.getProductDetails$(e.productShareClassCode,this.getSections(e),this.isProgressiveLoading).pipe((0,et.W)(a=>this.errorHandler(a)))}handleProductData(e){this.processData(e)}handleSubscriptionError(e){this.logger.error(this.loggerName,e)}errorHandler=e=>(this.logger.info(this.loggerName,"caught error",e),e instanceof w.df?(this.logger.warn(this.loggerName,"ShareClassNotActiveError:",e.message),this.status.set(d.ComponentStatus.NOT_ACTIVE),q.t):e instanceof u.LG?(this.logger.error(this.loggerName,"APIError",e.message),this.status.set(d.ComponentStatus.ERROR),q.t):(this.logger.error(this.loggerName,"rethrown error",e),this.status.set(d.ComponentStatus.ERROR),(0,xt.$)(()=>e)));static \u0275fac=function(a){return new(a||n)(t.rXU(B.L))};static \u0275cmp=t.VBU({type:n,selectors:[["frk-base-product"]],inputs:{config:[1,"config"]},outputs:{statusUpdate:"statusUpdate"},decls:0,vars:0,template:function(a,o){},dependencies:[C.MD],encapsulation:2,changeDetection:0})}return n})(),J0=(()=>{class n{translateService=(0,t.WQX)(u.c$);filters=t.hFB.required();searchValue=t.hFB.required();hideNoEstimateFunds=(0,t.hFB)(!1);showMyInvestments=(0,t.hFB)(!1);showMyWatchlist=(0,t.hFB)(!1);hasPersonalisedProfile=(0,t.hFB)(!1);filterChange=(0,t.CGW)();searchChange=(0,t.CGW)();hideNoEstimateFundsChange=(0,t.CGW)();showMyInvestmentsChange=(0,t.CGW)();showMyWatchlistChange=(0,t.CGW)();resetFilters=(0,t.CGW)();removeFilterChip=(0,t.CGW)();hideFundsToggleButtons=(0,t.EWP)(()=>[{text:this.translateService.instant("products.no"),value:"false",isActive:!this.hideNoEstimateFunds()},{text:this.translateService.instant("products.off"),value:"true",isActive:this.hideNoEstimateFunds()}]);myInvestmentsToggleButtons=(0,t.EWP)(()=>[{text:this.translateService.instant("products.no"),value:"false",isActive:!this.showMyInvestments()},{text:this.translateService.instant("products.off"),value:"true",isActive:this.showMyInvestments()}]);myWatchlistToggleButtons=(0,t.EWP)(()=>[{text:this.translateService.instant("products.no"),value:"false",isActive:!this.showMyWatchlist()},{text:this.translateService.instant("products.off"),value:"true",isActive:this.showMyWatchlist()}]);filterConfigs=(0,t.EWP)(()=>this.filters().map(e=>({key:e.key,label:e.label,options:e.options,selectedValues:e.selectedValues,placeholder:e.placeholder,showCount:!0})));selectedFilterChips=(0,t.EWP)(()=>{const e=[];for(const a of this.filters())for(const o of a.selectedValues){const i=a.options.find(r=>r.value===o);i&&e.push({filterKey:a.key,value:o,label:i.label})}return e});onSearchInput(e){this.searchChange.emit(e.target.value)}onClearSearch(){this.searchChange.emit("")}onResetFilters(){this.resetFilters.emit()}onHideFundsToggle(e){this.hideNoEstimateFundsChange.emit("true"===e.value)}onMyInvestmentsToggle(e){this.showMyInvestmentsChange.emit("true"===e.value)}onMyWatchlistToggle(e){this.showMyWatchlistChange.emit("true"===e.value)}onRemoveFilterChip(e,a){this.removeFilterChip.emit({filterKey:e,value:a})}onMultiselectChange(e){this.filterChange.emit({filterKey:e.key,selectedValues:e.selectedValues})}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-cg-estimates-filter"]],hostAttrs:["data-gtm-component","cg-estimates-filter"],inputs:{filters:[1,"filters"],searchValue:[1,"searchValue"],hideNoEstimateFunds:[1,"hideNoEstimateFunds"],showMyInvestments:[1,"showMyInvestments"],showMyWatchlist:[1,"showMyWatchlist"],hasPersonalisedProfile:[1,"hasPersonalisedProfile"]},outputs:{filterChange:"filterChange",searchChange:"searchChange",hideNoEstimateFundsChange:"hideNoEstimateFundsChange",showMyInvestmentsChange:"showMyInvestmentsChange",showMyWatchlistChange:"showMyWatchlistChange",resetFilters:"resetFilters",removeFilterChip:"removeFilterChip"},decls:22,vars:15,consts:[["data-testid","cg-estimates-filter",1,"w-full"],[1,"mb-4","sm:mb-6"],[1,"relative"],[1,"pointer-events-none","absolute","left-6","top-1/2","-translate-y-1/2","sm:left-6"],["name","heroMagnifyingGlass",1,"text-nc1-950",3,"size"],["id","cg-filter-search","data-testid","cg-estimates-filter-search","type","text",1,"text-nc1-950","placeholder:text-nc1-400","focus:border-pc1-500","focus:ring-pc1-100","border-nc1-500","w-full","rounded-full","border","bg-white","py-4","pl-12","pr-6","text-base","focus:outline-none","focus:ring-2","sm:py-4","sm:pl-14","sm:pr-6","sm:text-base",3,"input","placeholder","value"],["type","button","data-testid","cg-estimates-filter-clear-search",1,"absolute","right-4","top-1/2","-translate-y-1/2","cursor-pointer","sm:right-6"],[1,"flex","flex-col","gap-3","sm:flex-row","sm:flex-wrap","sm:items-center","sm:gap-2","md:gap-3","lg:flex-nowrap","lg:gap-4"],[1,"text-nc1-950"],[3,"config"],[1,"mt-8","flex","flex-col","gap-3","sm:flex-row","sm:items-center"],["data-testid","cg-estimates-hide-funds",1,"flex","items-center","gap-3"],["id","cg-hide-funds-label",1,"text-nc1-950"],["variant","simple","data-testid","cg-estimates-hide-funds-toggle","ariaLabelledBy","cg-hide-funds-label",3,"toggleActive","toggleButtons"],[1,"flex","flex-col","gap-3","sm:flex-row","sm:items-center","sm:gap-6"],[1,"mt-6","flex","flex-col","items-center","gap-2","sm:grid","sm:grid-cols-[auto_1fr]","
1sm:gap-x-3","sm:gap-y-2"],["type","button","data-testid","cg-estimates-filter-clear-search",1,"absolute","right-4","top-1/2","-translate-y-1/2","cursor-pointer","sm:right-6",3,"click"],["name","heroXCircleSolid",1,"text-nc1-950",3,"size"],[3,"selectionChange","config"],["data-testid","cg-estimates-my-investments",1,"flex","items-center","gap-3"],["id","cg-my-investments-label",1,"text-nc1-950"],["variant","simple","data-testid","cg-estimates-my-investments-toggle","ariaLabelledBy","cg-my-investments-label",3,"toggleActive","toggleButtons"],["data-testid","cg-estimates-my-watchlist",1,"flex","items-center","gap-3"],["id","cg-my-watchlist-label",1,"text-nc1-950"],["variant","simple","data-testid","cg-estimates-my-watchlist-toggle","ariaLabelledBy","cg-my-watchlist-label",3,"toggleActive","toggleButtons"],["type","button","data-testid","cg-estimates-filter-reset",1,"text-pc1-500","hover:text-pc1-600","items-top","order-2","inline-flex","w-fit","cursor-pointer","font-medium","underline","hover:decoration-[3px]","sm:order-1","sm:justify-self-start",3,"click"],[1,"order-1","flex","flex-wrap","items-center","gap-2","sm:order-2","sm:gap-3"],[1,"border-pc1-800","hover:bg-pc1-800","focus-within:bg-pc1-800","group","inline-flex","h-[25px]","items-center","justify-center","whitespace-nowrap","rounded-full","border","px-2","py-1","text-xs","transition","duration-100","ease-in-out"],[1,"text-pc1-800","group-hover:text-nc1-0","group-focus-within:text-nc1-0","group-hover:underline"],["type","button",1,"text-pc1-950","group-hover:text-nc1-0","group-focus-within:text-nc1-0","ml-1","inline-flex","items-center","rounded-full","focus:outline-none",3,"click"],["name","heroXCircleSolid",3,"size"]],template:function(a,o){1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),t.nrm(4,"frk-heroicon",4),t.k0s(),t.j41(5,"input",5),t.nI1(6,"translate"),t.bIt("input",function(r){return o.onSearchInput(r)}),t.k0s(),t.DNE(7,S,3,4,"button",6),t.k0s()(),t.j41(8,"div",7)(9,"span",8),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.Z7z(12,D,1,1,"frk-multiselect-dropdown",9,m),t.k0s(),t.j41(14,"div",10)(15,"div",11)(16,"span",12),t.EFF(17),t.nI1(18,"translate"),t.k0s(),t.j41(19,"frk-toggle",13),t.bIt("toggleActive",function(r){return o.onHideFundsToggle(r)}),t.k0s()(),t.DNE(20,$,11,8,"div",14),t.k0s(),t.DNE(21,I,7,3,"div",15),t.k0s()),2&a&&(t.R7$(4),t.Y8G("size",16),t.R7$(),t.Y8G("placeholder",t.bMT(6,9,"products.ppss-filter-search-placeholder"))("value",o.searchValue()),t.R7$(2),t.vxM(o.searchValue()?7:-1),t.R7$(3),t.JRh(t.bMT(11,11,"products.ppss-filter-filters")),t.R7$(2),t.Dyx(o.filterConfigs()),t.R7$(5),t.JRh(t.bMT(18,13,"products.hide-funds-no-estimates")),t.R7$(2),t.Y8G("toggleButtons",o.hideFundsToggleButtons()),t.R7$(),t.vxM(o.hasPersonalisedProfile()?20:-1),t.R7$(),t.vxM(o.selectedFilterChips().length>0?21:-1))},dependencies:[C.MD,R.zq,d.TranslatePipe,R.I4,R.ai],encapsulation:2,changeDetection:0})}return n})(),K0=(()=>{class n{params;onSelectionChange(e){const a=this.params;a?.cellRendererParams?.onToggleSelection?.(a.rowData,e)}selectionLabel(){const e=this.params?.rowData.productName?.trim();return e?`Select ${e}`:"Select capital gains estimate row"}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-cg-estimates-select-cell"]],inputs:{params:"params"},decls:7,vars:4,consts:[[1,"checkbox","frk-size--small","group","flex","shrink-0","print:hidden"],[1,"checkbox__label"],["type","checkbox","data-testid","cg-estimates-select-row",1,"peer","sr-only",3,"change","checked"],[1,"checkbox__wrapper"],["name","heroCheck","aria-hidden","true",3,"size"],[1,"checkbox__text","sr-only"]],template:function(a,o){if(1&a&&(t.j41(0,"div",0)(1,"label",1)(2,"input",2),t.bIt("change",function(r){return o.onSelectionChange(r)}),t.k0s(),t.j41(3,"div",3),t.nrm(4,"frk-heroicon",4),t.k0s(),t.j41(5,"span",5),t.EFF(6),t.k0s()()()),2&a){let i;t.R7$(2),t.Y8G("checked",null!==(i=null==o.params||null==o.params.rowData?null:o.params.rowData.isChecked)&&void 0!==i&&i),t.BMQ("aria-label",o.selectionLabel()),t.R7$(2),t.Y8G("size",16),t.R7$(2),t.JRh(o.selectionLabel())}},dependencies:[C.MD,R.zq],encapsulation:2,changeDetection:0})}return n})(),t2=(()=>{class n{params;onToggleAll(e){this.params?.headerComponentParams?.onToggleAll?.(e)}label(){return this.params?.headerComponentParams?.label??"Select all rows"}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-cg-estimates-select-header"]],inputs:{params:"params"},decls:7,vars:5,consts:[[1,"checkbox","frk-size--small","group","flex","shrink-0","print:hidden"],[1,"checkbox__label"],["type","checkbox","data-testid","cg-estimates-select-all",1,"peer","sr-only",3,"change","checked","indeterminate"],[1,"checkbox__wrapper"],["name","heroCheck","aria-hidden","true",3,"size"],[1,"checkbox__text","sr-only"]],template:function(a,o){if(1&a&&(t.j41(0,"div",0)(1,"label",1)(2,"input",2),t.bIt("change",function(r){return o.onToggleAll(r)}),t.k0s(),t.j41(3,"div",3),t.nrm(4,"frk-heroicon",4),t.k0s(),t.j41(5,"span",5),t.EFF(6),t.k0s()()()),2&a){let i,r;t.R7$(2),t.Y8G("checked",null!==(i=null==o.params||null==o.params.headerComponentParams||null==o.params.headerComponentParams.isAllSelected?null:o.params.headerComponentParams.isAllSelected())&&void 0!==i&&i)("indeterminate",null!==(r=null==o.params||null==o.params.headerComponentParams||null==o.params.headerComponentParams.isSomeSelected?null:o.params.headerComponentParams.isSomeSelected())&&void 0!==r&&r),t.BMQ("aria-label",o.label()),t.R7$(2),t.Y8G("size",16),t.R7$(2),t.JRh(o.label())}},dependencies:[C.MD,R.zq],encapsulation:2,changeDetection:0})}return n})();const e2={field:"productName",direction:"asc"},n2=[25,50,75,100],Vn=["SINGLECLASS","NA"],bn=["Mutual Funds","ETFs","TIF","Money Market Funds","Interval Funds","Closed-End Funds","Collective Investment Trust"],Xn={productType:[],assetClass:[],investmentGroup:[],shareClassName:[]};let o2=(()=>{class n{rows=t.hFB.required();filteredTotal=t.hFB.required();totalRecords=t.hFB.required();columnConfig=t.hFB.required();sortState=t.hFB.required();pageState=t.hFB.required();viewState=t.hFB.required();isCardView=(0,t.hFB)(!1);isMobile=(0,t.hFB)(!1);sortingChanged=(0,t.CGW)();pageChanged=(0,t.CGW)();pageSizeChanged=(0,t.CGW)();resetRequested=(0,t.CGW)();tableRows=(0,t.EWP)(()=>this.rows());rangeStart=(0,t.EWP)(()=>0===this.filteredTotal()?0:this.pageState().pageIndex*this.pageState().pageSize+1);rangeEnd=(0,t.EWP)(()=>Math.min((this.pageState().pageIndex+1)*this.pageState().pageSize,this.filteredTotal()));totalPages=(0,t.EWP)(()=>Math.max(1,Math.ceil(this.filteredTotal()/this.pageState().pageSize)));isNoResults=(0,t.EWP)(()=>"no-results"===this.viewState());pageSizeOptions=n2;onSortColumn(e){this.sortingChanged.emit({field:e})}onPageChanged(e){this.pageChanged.emit(e)}onPageSizeChanged(e){const a=Number(e.target?.value);this.pageSizeChanged.emit(a)}onReset(){this.resetRequested.emit()}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-cg-estimates-table"]],hostAttrs:["data-gtm-component","cg-estimates-table"],inputs:{rows:[1,"rows"],filteredTotal:[1,"filteredTotal"],totalRecords:[1,"totalRecords"],columnConfig:[1,"columnConfig"],sortState:[1,"sortState"],pageState:[1,"pageState"],viewState:[1,"viewState"],isCardView:[1,"isCardView"],isMobile:[1,"isMobile"]},outputs:{sortingChanged:"sortingChanged",pageChanged:"pageChanged",pageSizeChanged:"pageSizeChanged",resetRequested:"resetRequested"},decls:3,vars:1,consts:[["data-testid","cg-estimates-table",1,"cg-estimates-table","w-full"],["data-testid","cg-estimates-table-no-results",1,"cg-estimates-table__no-results"],["type","button","data-testid","cg-estimates-table-reset",1,"cg-estimates-table__reset",3,"click"],["data-testid","cg-estimates-table-summary",1,"cg-estimates-table__summary"],[1,"w-full"],["data-testid","cg-estimates-table-grid",3,"rowData","colDefs","showPagination","isCardView","isMobile","expandedByDefault","showMoreTxt","showLessTxt"],[1,"relative","mt-6","flex","flex-col","items-center","justify-center","gap-4","sm:mt-8","sm:flex-row","sm:gap-0"],["for","cg-estimates-page-size",1,"mr-0","flex","items-center","gap-2","text-sm","sm:mr-6"],["
1id","cg-estimates-page-size","data-testid","cg-estimates-page-size",1,"rounded","border","px-2","py-1",3,"change","value"],[3,"value"],["data-testid","cg-estimates-table-pagination",3,"pageChanged","pages","activePage"]],template:function(a,o){1&a&&(t.j41(0,"div",0),t.DNE(1,O,7,6,"div",1)(2,Q,17,30),t.k0s()),2&a&&(t.R7$(),t.vxM(o.isNoResults()?1:2))},dependencies:[d.DynamicTableComponent,R.eK,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})();const Hn=["productType","assetClass","investmentGroup","shareClassName"];function mt(n){return null==n?"":String(n)}function Un(n){const s=Date.parse(mt(n));return Number.isNaN(s)?Number.NEGATIVE_INFINITY:s}function d2(n,s){const e=new Set(s.allowedProductTypes),a=new Set(s.activeShareClasses),r=n.filter(c=>function i2(n){const s=Date.parse(mt(n));return!Number.isNaN(s)&&new Date(s).getFullYear()===(new Date).getFullYear()}(c.capitalGainRecordDate)).filter(c=>0===e.size||e.has(mt(c.productType))).filter(c=>function c2(n){return function r2(n){return"active"===n.fundStatus||"soft-closed"===n.fundStatus}(n)||function l2(n){return"soft-launch"===n.fundStatus&&!("false"===mt(n.estimateFlag)&&n.totalDistributionAmountMonthly)}(n)}(c));return function s2(n){const s=new Map,e=[];for(const a of n){const o=`${mt(a.productId)}-${mt(a.shareClassCode)}`,i=s.get(o);if(void 0===i){s.set(o,e.length),e.push(a);continue}const r=e[i];r&&Un(a.capitalGainRecordDate)>Un(r.capitalGainRecordDate)&&(e[i]=a)}return e}(a.size>0?r.filter(c=>{const p=`${mt(c.productId)}-${mt(c.shareClassCode)}`;return a.has(p)}):r)}function Be(n){return Array.from(new Set(n)).filter(s=>s.length>0).sort((s,e)=>s.localeCompare(e)).map(s=>({value:s,label:s}))}const h2=["productId","cusip","ticker","taId"];const g2=["longTermCapitalGainAmount","shortTermCapitalGainAmount","longTermCapitalGainPercent","shortTermCapitalGainPercent","totalGainNav"];function zn(n,s,e){return e?n.filter(a=>s.has(`${mt(a.productId)}-${mt(a.shareClassCode)}`)):[...n]}const T2=["longTermCapitalGainPercent","shortTermCapitalGainPercent","totalGainNav","longTermCapitalGainAmount","shortTermCapitalGainAmount"];function Wn(n,s){return n.map(e=>{if(!function S2(n){return"true"!==mt(n.estimateFlag).trim().toLowerCase()}(e))return e;const a={...e};for(const o of T2)a[o]=s;return a})}const Ve="CapitalGainsEstimatesComponent",qn=[{id:"productType",labelKey:"products.capgains-filter-producttype"},{id:"assetClass",labelKey:"products.capgains-filter-assetclass"},{id:"investmentGroup",labelKey:"products.capgains-filter-investmentgroup"},{id:"shareClassName",labelKey:"products.capgains-filter-shareclassname"}];let k2=(()=>{class n{statusUpdate=(0,t.CGW)();productsService=(0,t.WQX)(d.PRODUCTS_SERVICE);translateService=(0,t.WQX)(u.c$);loggerService=(0,t.WQX)(B.L);responsiveService=(0,t.WQX)(B.R);destroyRef=(0,t.WQX)(t.abz);excelDownloadService=(0,t.WQX)(u.hR);proximalService=(0,t.WQX)(d.PROXIMAL_SERVICE,{optional:!0});profileService=(0,t.WQX)(V.b);signInModalService=(0,t.WQX)(d.SignInModalService);columnConfigCache=null;get columnConfig(){return this.columnConfigCache||(this.columnConfigCache=this.buildColumnConfig()),this.columnConfigCache}downloadColumnsCache=null;getDownloadColumns(){return this.downloadColumnsCache||(this.downloadColumnsCache=this.buildDownloadColumns()),this.downloadColumnsCache}pageHeading=this.translateService.instant("products.capgains-page-heading");actualsPostedLabel=this.translateService.instant("products.capgains-actualsposted");isCardView=(0,H.ot)((0,at.z)([this.responsiveService.isHandheld$,this.responsiveService.isTablet$,this.responsiveService.isMobile$]).pipe((0,vt.T)(([e,a,o])=>e||a||o)),{initialValue:!1});isMobile=(0,H.ot)(this.responsiveService.isMobile$,{initialValue:!1});hasPersonalisedProfile=(0,H.ot)(this.profileService.isLoggedIn$().pipe((0,vt.T)(()=>this.isPersonalisedProfileAvailable())),{initialValue:this.isPersonalisedProfileAvailable()});loadStateSignal=(0,t.vPA)("loading");rawRowsSignal=(0,t.vPA)([]);sourceStatusSignal=(0,t.vPA)("empty-data");activeShareClassesSignal=(0,t.vPA)([]);filterState=(0,t.vPA)({...Xn});searchTerm=(0,t.vPA)("");hideNoEstimateFunds=(0,t.vPA)(!1);showMyInvestments=(0,t.vPA)(!1);showMyWatchlist=(0,t.vPA)(!1);investmentCodesSignal=(0,t.vPA)(new Set);
1watchlistCodesSignal=(0,t.vPA)(new Set);sortState=(0,t.vPA)({...e2});pageState=(0,t.vPA)({pageIndex:0,pageSize:100});selectedRowIds=(0,t.vPA)(new Set);normalizeConfig=(0,t.EWP)(()=>({allowedProductTypes:[...bn],excludedShareClasses:[...Vn],activeShareClasses:this.activeShareClassesSignal()}));normalized=(0,t.EWP)(()=>d2(this.rawRowsSignal(),this.normalizeConfig()));filterOptions=(0,t.EWP)(()=>function p2(n,s=[]){const e=new Set(s.map(l=>l.toUpperCase())),a=function u2(n){const s=e=>{const a=bn.indexOf(e);return-1===a?bn.length:a};return[...n].sort((e,a)=>{const o=s(e.value),i=s(a.value);return o!==i?o-i:e.value.localeCompare(a.value)})}(Be(n.map(l=>mt(l.productType))));return{productType:a,assetClass:Be(n.map(l=>mt(l.assetClass))),investmentGroup:Be(n.map(l=>mt(l.investmentGroup))),shareClassName:Be(n.map(l=>mt(l.shareClassName)).filter(l=>!e.has(l.toUpperCase())))}}(this.normalized(),Vn));displayFilterOptions=(0,t.EWP)(()=>{const e=this.filterOptions();return{...e,productType:e.productType.map(a=>({value:a.value,label:this.productTypeLabel(a.value)}))}});filteredAndSearched=(0,t.EWP)(()=>{const e=function _2(n,s){const e=s.trim().toLowerCase();return 0===e.length?[...n]:n.filter(a=>function f2(n,s){const e=s.trim().toLowerCase();return!(0!==e.length&&!mt(n.productName).toLowerCase().includes(e))||h2.some(a=>mt(n[a]).toLowerCase()===e)}(a,e))}(function m2(n,s){const e=Hn.filter(o=>s[o].length>0);if(0===e.length)return[...n];const a=new Map(e.map(o=>[o,new Set(s[o])]));return n.filter(o=>e.every(r=>a.get(r)?.has(mt(o[r]))??!1))}(this.normalized(),this.filterState()),this.searchTerm()),a=function x2(n,s){return s?n.filter(e=>function b2(n){return g2.some(s=>function C2(n){const s=Number.parseFloat(mt(n));return Number.isFinite(s)&&0!==s}(n[s]))}(e)):[...n]}(e,this.hideNoEstimateFunds()),o=zn(a,this.investmentCodesSignal(),this.showMyInvestments());return zn(o,this.watchlistCodesSignal(),this.showMyWatchlist())});sorted=(0,t.EWP)(()=>function D2(n,s){const e="desc"===s.direction?-1:1;return n.map((a,o)=>({row:a,index:o})).sort((a,o)=>{const i=mt(a.row[s.field]).localeCompare(mt(o.row[s.field]),void 0,{numeric:!0});return 0!==i?i*e:a.index-o.index}).map(a=>a.row)}(this.filteredAndSearched(),this.sortState()));filteredTotal=(0,t.EWP)(()=>this.filteredAndSearched().length);totalRecords=(0,t.EWP)(()=>this.normalized().length);pageRows=(0,t.EWP)(()=>function v2(n,s){const e=s.pageIndex*s.pageSize;return n.slice(e,e+s.pageSize)}(this.sorted(),this.pageState()));displayRows=(0,t.EWP)(()=>Wn(this.pageRows(),this.actualsPostedLabel));displayTableRows=(0,t.EWP)(()=>{const e=this.selectedRowIds();return this.displayRows().map(a=>({...a,isChecked:e.has(this.getRowSelectionKey(a))}))});selectedRows=(0,t.EWP)(()=>{const e=this.selectedRowIds();return this.sorted().filter(a=>e.has(this.getRowSelectionKey(a)))});selectedCount=(0,t.EWP)(()=>this.selectedRows().length);isAllSelected=(0,t.EWP)(()=>{const e=this.filteredAndSearched();if(0===e.length)return!1;const a=this.selectedRowIds();return e.every(o=>a.has(this.getRowSelectionKey(o)))});isSomeSelected=(0,t.EWP)(()=>{const e=this.filteredAndSearched(),a=this.selectedRowIds();return e.some(i=>a.has(this.getRowSelectionKey(i)))&&!this.isAllSelected()});stickyFooterConfig=(0,t.EWP)(()=>({countValue:this.selectedCount(),countLabel:"literature.lit-sticky-item-selected",isCardView:this.isCardView()}));stickyFooterButtons=(0,t.EWP)(()=>[{type:"download",testId:"capital-gains-estimates-selected-download",translationKey:"literature.lit-sticky-download-button",iconName:"heroArrowDownTray",buttonClass:"button button--secondary button--sm",gtmIntent:"download",action:"downloadSelected"}]);filterDropdowns=(0,t.EWP)(()=>{const e=this.displayFilterOptions(),a=this.filterState();return qn.map(o=>({key:o.id,label:this.translateService.instant(o.labelKey),options:e[o.id].map(i=>({label:i.label,value:i.value})),selectedValues:[...a[o.id]]}))});viewState=(0,t.EWP)(()=>{const e=this.loadStateSignal();return"loading"===e?"loading":"error"===e?"error":0===this.normalized().length?"empty-data":0===this.filteredTotal()?"no-results":"loaded"});ngOnInit(){this.loadActiveShareClasses(),this.loadPersonalisedProducts(),this.loadEstimates()}loadActiveShareClasses(){this.productsService.getActiveShareClasses$().pipe((0,H.pQ)(this.destroyRef)).subscribe({next:e=>{this.activeShareClassesSignal.set([...e])},error:e=>{this.loggerService.error(Ve,e)}})}loadPersonalisedProducts(){this.profileService.getUserProfileDataWithPersonalisedProducts$().pipe((0,H.pQ)(this.destroyRef)).subscribe({next:e=>{this.investmentCodesSignal.set(this.toProductCodes(e.products)),this.watchlistCodesSignal.set(this.toProductCodes(e.watchlistForPersonalisation))},error:e=>{this.loggerService.error(Ve,e)}})}toProductCodes(e){return new Set((e??[]).map(a=>`${String(a.productId)}
1-${String(a.shareClassCode)}`))}loadEstimates(){this.loadStateSignal.set("loading"),this.productsService.getProductDetails$("NA-NA",{fetchCapitalGains:!0}).pipe((0,H.pQ)(this.destroyRef)).subscribe({next:e=>{const a=e.capGainDistributions??{status:"empty-data"};this.sourceStatusSignal.set(a.status),this.rawRowsSignal.set("loaded"===a.status?a.data:[]),this.loadStateSignal.set("ready"),this.emitStatus()},error:e=>{this.loggerService.error(Ve,e),this.loadStateSignal.set("error"),this.rawRowsSignal.set([]),this.emitStatus()}})}retry(){this.loadEstimates()}onFilterChange(e){if(!this.isFilterCategory(e.filterKey))return;const a=e.filterKey;this.filterState.update(o=>({...o,[a]:[...e.selectedValues]})),this.resetToFirstPage()}onSearchChange(e){this.searchTerm.set(e),this.resetToFirstPage()}onHideNoEstimateFundsChange(e){this.hideNoEstimateFunds.set(e),this.resetToFirstPage()}onShowMyInvestmentsChange(e){!e||this.isPersonalisedProfileAvailable()?(this.showMyInvestments.set(e),this.resetToFirstPage()):this.signInModalService.open("watchlist")}onShowMyWatchlistChange(e){!e||this.isPersonalisedProfileAvailable()?(this.showMyWatchlist.set(e),this.resetToFirstPage()):this.signInModalService.open("watchlist")}isPersonalisedProfileAvailable(){return this.profileService.isLoggedIn()||this.profileService.isIdentified()}onRemoveChip(e){if(!this.isFilterCategory(e.filterKey))return;const a=e.filterKey;this.filterState.update(o=>({...o,[a]:o[a].filter(i=>i!==e.value)})),this.resetToFirstPage()}onSortingChanged(e){this.sortState.update(a=>a.field===e.field?{field:e.field,direction:"asc"===a.direction?"desc":"asc"}:{field:e.field,direction:"asc"}),this.resetToFirstPage()}onPageChanged(e){this.pageState.update(a=>({...a,pageIndex:Math.max(0,e.page-1)}))}onPageSizeChanged(e){this.pageState.update(a=>({...a,pageSize:e,pageIndex:0}))}onReset(){this.filterState.set({...Xn}),this.searchTerm.set(""),this.hideNoEstimateFunds.set(!1),this.showMyInvestments.set(!1),this.showMyWatchlist.set(!1),this.resetToFirstPage()}onToggleRowSelection(e,a){const o=a.target?.checked??!1,i=this.getRowSelectionKey(e);this.selectedRowIds.update(r=>{const l=new Set(r);return o?l.add(i):l.delete(i),l})}onToggleSelectAll(e){const a=e.target?.checked??!1,o=this.filteredAndSearched();this.selectedRowIds.update(i=>{const r=new Set(i);for(const l of o){const c=this.getRowSelectionKey(l);a?r.add(c):r.delete(c)}return r})}onStickyFooterAction(e){("downloadSelected"===e.action||"download"===e.type)&&this.onDownloadSelected()}onDownload(){this.exportRows(this.sorted())}onDownloadSelected(){this.exportRows(this.selectedRows())}exportRows(e){if(0===e.length)return;const a=function y2(n,s,e){const a=Wn(n,e);return[s.map(r=>r.header),...a.map(r=>s.map(l=>mt(r[l.field])))]}(e,this.getDownloadColumns(),this.actualsPostedLabel),o=`${this.translateService.instant("products.capgains-excel-file-name")}-${b().format("MMDDYYYY")}`;this.proximalService?(0,at.z)([this.proximalService.getProximals$("CapGainsExcelProximalBottom"),this.proximalService.getProximals$("CapGainsExcelProximalTop")]).pipe((0,dt.s)(1),(0,H.pQ)(this.destroyRef)).subscribe({next:([i,r])=>{this.excelDownloadService.exportToExcel(a,r,i,[],"",o)},error:i=>{this.loggerService.error(Ve,i),this.excelDownloadService.exportToExcel(a,[],[],[],"",o)}}):this.excelDownloadService.exportToExcel(a,[],[],[],"",o)}resetToFirstPage(){this.pageState.update(e=>({...e,pageIndex:0}))}getRowSelectionKey(e){return`${String(e.productId)}-${String(e.shareClassCode)}`}isFilterCategory(e){return qn.some(a=>a.id===e)}productTypeLabel(e){const a=`products.capgains-filter-producttype-${e.toLowerCase().split(" ").join("-")}`,o=this.translateService.instant(a);return o&&o!==a?o:e}buildColumnConfig(){const e=o=>this.translateService.instant(o),a=e("products.capgains-excel-headers-cap-gains");return[{field:"select",headerName:"",headerComponent:t2,headerComponentParams:{isAllSelected:()=>this.isAllSelected(),isSomeSelected:()=>this.isSomeSelected(),onToggleAll:o=>this.onToggleSelectAll(o),label:e("literature.select-all-group-header-input-label")},cellRenderer:K0,cellRendererParams:{onToggleSelection:(o,i)=>this.onToggleRowSelection(o,i)},widthClass:"w-12",hasCheckboxColumn:!0},{field:"productName",headerName:e("products.capgains-table-heading-fund-name"),isSortable:!0,isCardTitle:!0},{field:"ticker",headerName:e("products.capgains-table-heading-ticker"),isSortable:!0},{field:"shareClassName",headerName:e("products.capgains-table-heading-share-class"),isSortable:!0},{field:"longTermCapitalGainPercent",headerName:e("products.capgains-table-heading-long-term-cap-gains-perc"),isAlignRight:!0,isSortable:!0},{field:"shortTermCapitalGainPercent",headerName:e("products.capgains-table-heading-short-term-cap-gains-perc"),isAlignRight:!0,isSortable:!0},{field:"totalGainNav",headerName:e("products.capgains-table-heading-total-percent"),isAlignRight:!0,isSortable:!0},{field:"longTermCapitalGainAmount",headerName:`${e("products.capgains-excel-headers-long-term-gain")} ${a}`,isAlignRight:!0,isSortable:!0,widthClass:"w-40"},{field:"shortTermCapitalGainAmount",headerName:`${e("products.capgains-excel-headers-short-term-gain")} ${a}`,isAlignRight:!0,isSortable:!0,widthClass:"w-40"},{field:"navValue",headerName:`${e("products.NAV_VALUE")} ${e("products.capgains-table-heading-nav-as-of")}`,isAlignRight:!0,isSortable:!0,widthClass:"whitespace-nowrap"},{field:"capitalGainRecordDate",headerName:e("pds.INCM_DIST_RECORD_DATE"),isAlignRight:!0,isSortable:!0,widthClass:"whitespace-nowrap"},{field:"capitalGainExDividendDate",headerName:e("products.capgains-table-heading-ex-date"),isAlignRight:!0,isSortable:!0,widthClass:"whitespace-nowrap"},{field:"capitalGainPayableDate",headerName:e("products.capgains-table-heading-payable-date"),isAlignRight:!0,isSortable:!0,widthClass:"whitespace-nowrap"}]}buildDownloadColumns(){const e=o=>this.translateService.instant(o),a=e("products.capgains-excel-headers-cap-gains");return[{field:"productName",header:e("products.capgains-excel-headers-fund-name")},{field:"ticker",header:e("products.capgains-table-heading-ticker")},{field:"shareClassName",header:e("products.capgains-table-heading-share-class")},{field:"longTermCapitalGainPercent",header:e("products.capgains-table-heading-long-term-cap-gains-perc")},{field:"shortTermCapitalGainPercent",header:e("products.capgains-table-heading-short-term-cap-gains-perc")},{field:"totalGainNav",header:e("products.capgains-table-heading-total-percent")},{field:"longTermCapitalGainAmount",header:`${e("products.capgains-excel-headers-long-term-gain")} ${a}`},{field:"shortTermCapitalGainAmount",header:`${e("products.capgains-excel-headers-short-term-gain")} ${a}`},{field:"navValue",header:`${e("products.NAV_VALUE")} ${e("products.capgains-table-heading-nav-as-of")} ${e("products.cap-gains-estimates-date")}`},{field:"capitalGainRecordDate",header:e("products.capgains-excel-headers-record-date")},{field:"capitalGainExDividendDate",header:e("products.capgains-table-heading-ex-date")},{field:"capitalGainPayableDate",header:e("products.capgains-table-heading-payable-date")}]}emitStatus(){this.statusUpdate.emit(this.currentStatus())}currentStatus(){switch(this.viewState()){case"loading":return d.ComponentStatus.LOADING;case"error":return d.ComponentStatus.ERROR;case"empty-data":return d.ComponentStatus.EMPTY;default:return d.ComponentStatus.LOADED}}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-cap-gains-estimates"]],hostAttrs:["data-gtm-component","capital-gains-estimates"],outputs:{statusUpdate:"statusUpdate"},decls:18,vars:22,consts:[["data-testid","capital-gains-estimates",1,"capital-gains-estimates"],[1,"w-full","bg-white"],[1,"from-pc1-600","to-pc1-800","relative","mb-10","mb-4","h-[154px]","bg-gradient-to-br"],[1,"text-nc1-0","container","bg-cover","pb-16","pt-12"],["data-testid","capital-gains-estimates-heading",1,"text-3xl","font-bold","lg:text-4xl","xl:text-5xl"],[1,"container"],[1,"container","px-2","pt-2","sm:px-1","
1sm:pt-8"],["data-testid","capital-gains-estimates-filter",3,"filterChange","searchChange","hideNoEstimateFundsChange","showMyInvestmentsChange","showMyWatchlistChange","resetFilters","removeFilterChip","filters","searchValue","hideNoEstimateFunds","showMyInvestments","showMyWatchlist","hasPersonalisedProfile"],[1,"container","flex","justify-end","px-2","pt-2","sm:px-1"],["type","button","data-testid","capital-gains-estimates-download","data-gtm-intent","download",1,"button","button--primary","flex","items-center","gap-2",3,"click","disabled"],["name","heroArrowDownTray",3,"size"],[1,"container","px-2","py-2","sm:px-1","sm:py-8"],[3,"sortingChanged","pageChanged","pageSizeChanged","resetRequested","rows","filteredTotal","totalRecords","columnConfig","sortState","pageState","viewState","isCardView","isMobile"],[3,"stickyConfig","buttons"],[3,"buttonAction","stickyConfig","buttons"]],template:function(a,o){1&a&&(t.j41(0,"section",0)(1,"div",1)(2,"div",2)(3,"header",3)(4,"h1",4),t.EFF(5),t.k0s()()(),t.j41(6,"div",5)(7,"div",1)(8,"div",6)(9,"frk-cg-estimates-filter",7),t.bIt("filterChange",function(r){return o.onFilterChange(r)})("searchChange",function(r){return o.onSearchChange(r)})("hideNoEstimateFundsChange",function(r){return o.onHideNoEstimateFundsChange(r)})("showMyInvestmentsChange",function(r){return o.onShowMyInvestmentsChange(r)})("showMyWatchlistChange",function(r){return o.onShowMyWatchlistChange(r)})("resetFilters",function(){return o.onReset()})("removeFilterChip",function(r){return o.onRemoveChip(r)}),t.k0s()(),t.j41(10,"div",8)(11,"button",9),t.bIt("click",function(){return o.onDownload()}),t.nrm(12,"frk-heroicon",10),t.EFF(13),t.nI1(14,"translate"),t.k0s()(),t.j41(15,"div",11)(16,"frk-cg-estimates-table",12),t.bIt("sortingChanged",function(r){return o.onSortingChanged(r)})("pageChanged",function(r){return o.onPageChanged(r)})("pageSizeChanged",function(r){return o.onPageSizeChanged(r)})("resetRequested",function(){return o.onReset()}),t.k0s()()()(),t.DNE(17,tt,1,2,"frk-sticky-footer",13),t.k0s()()),2&a&&(t.R7$(5),t.SpI(" ",o.pageHeading," "),t.R7$(4),t.Y8G("filters",o.filterDropdowns())("searchValue",o.searchTerm())("hideNoEstimateFunds",o.hideNoEstimateFunds())("showMyInvestments",o.showMyInvestments())("showMyWatchlist",o.showMyWatchlist())("hasPersonalisedProfile",o.hasPersonalisedProfile()),t.R7$(2),t.Y8G("disabled",0===o.filteredTotal()),t.R7$(),t.Y8G("size",16),t.R7$(),t.SpI(" ",t.bMT(14,20,"products.capgains-excel-download-all-button")," "),t.R7$(3),t.Y8G("rows",o.displayTableRows())("filteredTotal",o.filteredTotal())("totalRecords",o.totalRecords())("columnConfig",o.columnConfig)("sortState",o.sortState())("pageState",o.pageState())("viewState",o.viewState())("isCardView",o.isCardView())("isMobile",o.isMobile()),t.R7$(),t.vxM(o.selectedCount()>0?17:-1))},dependencies:[C.MD,J0,o2,R.zq,d.StickyFooterComponent,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})();function Qn(n){if(!function F2(n){return"object"==typeof n&&null!==n}(n))return{y:null,date:null};const s=n.y,e=n.date;return{y:"number"==typeof s||"string"==typeof s?s:null,date:"string"==typeof e?e:null}}let $2=(()=>{class n{logger;loggerName="DistributionChartComponent";destroyRef=(0,t.WQX)(t.abz);distributionRecords=(0,t.hFB)(null);selectedYear=b().year().toString();translateService=(0,t.WQX)(u.c$);distributionChartAriaLabel=this.translateService.instant("products.dist-distributions-per-share-and-nav");chartData=(0,t.EWP)(()=>{const e=this.distributionRecords();return e&&e.length>0?this.getChartData(e):null});chartConfig={chartType:"column",isLegendEnabled:!0,yAxisLeft:{title:this.translateService.instant("products.NAV_VALUE"),isLabelEnabled:!0,labelFormat:"${value}"},yAxisRight:{title:this.translateService.instant("pds.TOTAL_DISTRIBUTION_PER_SHARE"),isLabelEnabled:!0,labelFormat:"${value:.2f}"},xAxis:{isLabelEnabled:!0},lang:{accessibility:{svgContainerLabel:this.distributionChartAriaLabel}},tooltip:{shared:!0,useHTML:!0,formatter:function(){const e=this.points??[];if(0===e.length)return"";const a=e[0];if(!a)return"";let r=`<div style="margin-bottom: 5px;">${Qn(a.options).date??String(a.key)}</div>`;return e.forEach(function(l){const p=Qn(l.options).y??"0";r+=`<div style="display: flex; align-items: center; margin-bottom: 2px;">
1\n <span style="display: inline-block; width: 10px; height: 10px; background-color: ${l.series.color||"#000"}; border-radius: 50%; margin-right: 8px;"></span>\n <span>${l.series.name||""}:</span> <span style="font-weight: bold;">$${p}</span>\n </div>`}),r}},plotOptions:{column:{pointPadding:.2,borderWidth:0},line:{marker:{enabled:!0,radius:4},lineWidth:2},series:{dataLabels:{enabled:!1}}},accessibility:{description:this.distributionChartAriaLabel},series:[{type:"column",yAxis:1,name:this.translateService.instant("pds.TOTAL_DISTRIBUTION_PER_SHARE")},{type:"line",yAxis:0,name:this.translateService.instant("products.NAV_VALUE")}],colors:[W._L[7],W._L[0]]};constructor(e){this.logger=e}ngOnInit(){this.logger.info(this.loggerName,"ngOnInit called")}getChartData(e){try{if(0===e.length)return null;const a=[this.translateService.instant("pds.TOTAL_DISTRIBUTION_PER_SHARE"),this.translateService.instant("products.NAV_VALUE")],o=[],i=[],r=[],l=(0,d.createDateComparator)("MM/DD/YYYY"),c=[...e].sort((y,L)=>l(y.reInvestmentDate,L.reInvestmentDate,null,null,!1)),p=b(c[0]?.reInvestmentDate),_=b(c[c.length-1]?.reInvestmentDate);let E=1;if(p.isValid()&&_.isValid()){const L=_.diff(p,"month")>12;E=L||c.length>12?6:1}return c.forEach((y,L)=>{const Z=parseFloat(y.reInvestmentAmount.replace("$",""))||0,pt=parseFloat(y.totalDistributionAmountMonthly.replace("$",""))||0,$t=b(y.reInvestmentDate),Pt=$t.isValid()?$t.format("MMMM YYYY"):`Data ${L+1}`,Ht={y:pt,date:Pt,rawDate:y.reInvestmentDate};r.push({y:Z,date:Pt,rawDate:y.reInvestmentDate}),i.push(Ht);const At=$t.isValid()?$t.format("MMM'YY"):`Data ${L+1}`;o.push(L%E==0?At:"")}),this.updateDistributionAxisConfig(i),{name:a,xAxis:o,yAxis:[{plots:i,props:{type:"column",pointPadding:.2,borderWidth:0,yAxis:1}},{plots:r,props:{type:"line",marker:{enabled:!1,states:{hover:{enabled:!0,radius:6,lineWidth:2,lineColor:W._L[0]}},radius:4,symbol:"circle"},lineWidth:2,states:{hover:{lineWidthPlus:1}},yAxis:0}}]}}catch(a){return this.logger.error(this.loggerName,"Failed to build distribution chart data",a),null}}updateDistributionAxisConfig(e){const a=Math.max(...e.map(_=>_.y),0);if(a<=0)return;const o=a/6,i=Math.pow(10,Math.floor(Math.log10(o))),r=o/i;let l;l=r<=1?i:r<=2?2*i:r<=5?5*i:10*i;const c=Number(l.toPrecision(2)),p=Math.ceil(a/c)*c;this.chartConfig={...this.chartConfig,yAxisRight:{...this.chartConfig.yAxisRight,min:0,max:Number(p.toPrecision(4)),tickInterval:c,gridLineWidth:0,minorGridLineWidth:0}}}static \u0275fac=function(a){return new(a||n)(t.rXU(B.L))};static \u0275cmp=t.VBU({type:n,selectors:[["frk-distribution-chart"]],hostAttrs:["data-gtm-component","product-distribution-chart"],inputs:{distributionRecords:[1,"distributionRecords"]},decls:2,vars:1,consts:[[1,"distribution-chart-container"],[1,"chart-wrapper"],[3,"chartConfig","chartData"]],template:function(a,o){1&a&&(t.j41(0,"div",0),t.DNE(1,rt,2,2,"div",1),t.k0s()),2&a&&(t.R7$(),t.vxM(o.chartData()?1:-1))},dependencies:[C.MD,K.j],encapsulation:2,changeDetection:0})}return n})();const Xe=n=>!!n&&""!==n.trim()&&"\u2014"!==n.trim(),A2={field:"currencyCode",headerName:"pds.MARKET_CURRENCY",isCardTitle:!0,isAlignRight:!0},M2={field:"incomeDistributionRecordDate",headerName:"pds.INCM_DIST_RECORD_DATE"},P2={field:"incomeDistributionExDividendDate",headerName:"products.dist-ex-dist-date"},I2={field:"incomeDistributionExPayableDate",headerName:"pds.INCM_DIST_PAYABLE_DATE"},w2={field:"incomeDistributionAmount ",headerName:"products.dist-cash-dist-per-unit"},N2={field:"reInvestmentAmount",headerName:"products.dist-rein-dist-per-unit"},G2={field:"totalDistributionAmountMonthly",headerName:"products.dist-total-dist-per-unit"},O2={field:"exDividendNavValue",headerName:"products.dist-dist-price"},Y2={field:"incomeDistributionAmount",headerName:"products.dist-inv-income"},j2={field:"returnOfCapitalAmount",headerName:"products.dist-return-of-cap"},L2={field:"longTermCapitalGain",headerName:"products.dist-capgains"},B2={field:"incomeDistributionExDividendDate",headerName:"pds.INCM_DIST_EX_DIV_DATE"},V2={field:"exDividendNavValue",headerName:"pds.NAV_VALUE"},X2={field:"totalDistributionAmountMonthly",headerName:"pds.INCM_DIST_AMT",valueGetter:n=>n.node.totalDistributionAmountMonthly??n.node.incomeDistributionAmount},H2={field:"divDistributionIncome",headerName:"pds.INCM_DIST_INCOME",footnotePlacement:"distributable-income-column-header",tooltipContent:"proucts.distributable-income-column-header"},U2={field:"dividendCapital",headerName:"pds.INCM_DIV_CAPITAL",footnotePlacement:"dividend-income-column-header",tooltipContent:"proucts.dividend-income-column-header"},z2={field:"incomeDistributionRecordDate",headerName:"pds.INCM_DIST_RECORD_DATE",valueGetter:n=>n.node.incomeDistributionExDividendDate?n.node.incomeDistributionRecordDate:n.node.capitalGainRecordDate},W2={field:"incomeDistributionExDividendDate",headerName:"pds.INCM_DIST_EX_DIV_DATE",valueGetter:n=>n.node.incomeDistributionExDividendDate?n.node.incomeDistributionExDividendDate:n.node.capitalGainExDividendDate},q2={field:"reInvestmentDate",headerName:"pds.REINVESTMENT_DATE",valueGetter:n=>Xe(n.node.reInvestmentDate)?n.node.reInvestmentDate:Xe(n.node.incomeDistributionExPayableDate)?n.node.incomeDistributionExPayableDate:Xe(n.node.incomeDistributionPayableDate)?n.node.incomeDistributionPayableDate:n.node.capitalGainReInvestmentDate},Q2={field:"incomeDistributionExPayableDate",headerName:"pds.INCM_DIST_PAYABLE_DATE",valueGetter:n=>n.node.incomeDistributionExDividendDate?n.node.incomeDistributionExPayableDate:n.node.capitalGainPayableDate},Z2={field:"reInvestmentAmount",headerName:"pds.REINVESTMENT_AMT",valueGetter:n=>Xe(n.node.reInvestmentAmount)?n.node.reInvestmentAmount:n.node.exDividendNavValue},J2={field:"longTermCapitalGain",headerName:"pds.CAPGAIN_AMT_LONG_TERM"},K2={field:"shortTermCapitalGain",headerName:"pds.CAPGAIN_AMT_SHRT_TERM"},tb={field:"incomeDistributionAmount",headerName:"pds.INCOME_AMOUNT"},eb={field:"taxExemptIncomeAmount",headerName:"pds.TAXABLE_EXEMPT_INCOME"},nb={field:"totalDistributionAmountMonthly",headerName:"pds.TOTAL_DISTRIBUTION_PE
1R_SHARE"},ab={field:"shareClassName",headerName:"pds.SHARE_CLASS_NAME_STD",isCardTitle:!0};let ib=(()=>{class n{logger;loggerName="DistributionTableComponent";destroyRef=(0,t.WQX)(t.abz);distributionHistoryRecords=(0,t.hFB)(null);commonData=(0,t.hFB)(null);downloadId=`distributionDownload${(0,N.A)()}`;dropdownId=`distributionDropDown${(0,N.A)()}`;translateService=(0,t.WQX)(u.c$);excelDownloadService=(0,t.WQX)(u.hR);config=(0,t.hFB)(null);colIds=(0,t.hFB)(null);proximalService=(0,t.WQX)(d.PROXIMAL_SERVICE,{optional:!0});yearOptionList=[];distributionRecords=null;suppressionTOF=(0,t.hFB)(null);suppressionCEF=(0,t.hFB)(null);isChartEnabled=!1;isChartViewActive=!1;toggleButtons=[{id:"chart-toggle",text:this.translateService.instant("products.distribution-chart-tab"),value:"chart",isActive:!0,isDisabled:!1},{id:"table-toggle",text:this.translateService.instant("products.distribution-table-tab"),value:"table",isActive:!1,isDisabled:!1}];colDefs=[];selectedYear=b().year().toString();asOfDate=null;constructor(e){this.logger=e}ngOnInit(){const e=this.config();if(this.isChartEnabled=e.isChartEnabled??!1,this.isChartEnabled&&this.setChartViewState("chart"===(e.defaultView??"chart")),this.distributionHistoryRecords()){const a=this.distributionHistoryRecords()?.data;a&&this.setYearList(a),this.filterRecords();const o=this.setColDefs();o&&(this.colDefs=this.generateColDefs(o))}}setYearList(e){let a=[];e.forEach(o=>{const i=o.distributionAsOfDateStd.toString().split("-")[0];i&&a.push(i)}),a=(0,sn.A)(a),this.yearOptionList=a.map(o=>({label:o,value:o})),this.yearOptionList.push({label:this.translateService.instant("products.distribution-SINCE_INCEPTION"),value:X.Zl.SINCE_INCEPTION}),this.isChartEnabled?this.selectedYear=X.Zl.SINCE_INCEPTION:this.yearOptionList[0]&&(this.selectedYear=this.yearOptionList[0].value)}filterRecords(){const e=this.distributionHistoryRecords()?.data;this.distributionRecords=this.selectedYear===X.Zl.SINCE_INCEPTION&&e?e:this.distributionHistoryRecords().data.filter(a=>a.distributionAsOfDateStd.toString().split("-")[0]===this.selectedYear),this.updateAsOfDate()}updateAsOfDate(){if(!this.distributionRecords?.length)return void(this.asOfDate=null);const e=[...this.distributionRecords].sort((o,i)=>b(i.distributionAsOfDateStd).valueOf()-b(o.distributionAsOfDateStd).valueOf())[0];if(!e)return void(this.asOfDate=null);if(e.distributionAsOfDate)return void(this.asOfDate=e.distributionAsOfDate);const a=b(e.distributionAsOfDateStd);this.asOfDate=a.isValid()?a.format("MM/DD/YYYY"):e.distributionAsOfDateStd}generateColDefs(e){const a=e.reduce((o,i)=>{const r=function ob(n){switch(n){case"CurrencyCode":return A2;case"RecordDate":return M2;case"ExDividendDate":return P2;case"PayableDate":return I2;case"IncomeDistributionAmount":return w2;case"ReInvestmentAmount":return N2;case"TotalDistributionAmountMonthly":return G2;case"DistributionPrice":return O2;case"DistributionIncomeMFS":return Y2;case"ReturnCapital":return j2;case"CapitalGains":return L2;case"ExDividendDateNonCanada":return B2;case"NavValue":return V2;case"IncomeDistributionAmountNonCanada":return X2;case"DistributionIncome":return H2;
1case"IncomeDivCapital":return U2;case"RecordDateUS":return z2;case"ExDividendDateUS":return W2;case"ReInvestmentDateUS":return q2;case"PayableDateUS":return Q2;case"ReInvestmentAmountUS":return Z2;case"LongTermUS":return J2;case"ShortTermUS":return K2;case"IncomeAmountUS":return tb;case"TaxableExemptIncomeUS":return eb;case"TotalDistributionUS":return nb;case"ShareClassNameDividends":return ab;default:return null}}(i);return r&&o.push({...r,headerName:this.translateService.instant(r.headerName),tooltipContent:r.tooltipContent?this.translateService.instant(r.headerName):void 0,isAlignRight:r.isAlignRight??!r.isCardTitle,valueGetter:l=>{const c=this.extractFieldValue(l.node,r);return this.convertEmptyToEmdash(c)}}),o},[]);return a.length>0&&a[0]&&(a[0].isCardTitle=!0),a}setColDefs(){let e=this.colIds();switch(this.commonData().productType){case"Closed-End Funds":e=e?.filter(o=>!this.suppressionCEF()?.includes(o))||null;break;case"Tender Offer Funds":e=e?.filter(o=>!this.suppressionTOF()?.includes(o))||null}return e}getHistoricalStartDate(){const e=this.commonData();return 0===e.shareClassDetail?.inceptionDateStd?.indexOf(this.selectedYear)||"SINCE_INCEPTION"===this.selectedYear?e.shareClassDetail?.inceptionDateStd??"":b(`${this.selectedYear}-01-01`,P.VF).format("L")}getHistoricalEndDate(){const e=function rn(n){return n&&n.length?n[0]:void 0}(this.yearOptionList),a=this.config();return e&&this.selectedYear===e.toString()||"SINCE_INCEPTION"===this.selectedYear?"US"===a.countryCode?b(`${e}-12-31`).format(a.siteConfigDateFormat||"L"):b().format(a.siteConfigDateFormat||"L"):b(`${this.selectedYear}-12-31`).format(a.siteConfigDateFormat||"L")}mapDownloadHeader(){const e=new Map;return this.colDefs.forEach(a=>{e.set(a.field,a.headerName)}),e}showIncomeOverCapgainsRecords(e){return!!e.incomeDistributionExDividendDate}convertEmptyToEmdash(e){return""===e||null==e?u.BX:e}resolveConditionalField(e,a){const o=a.split("?")[0]?.trim(),i=a.split("?")[1]?.split(":");return i?.[0]&&i[1]&&o?e[o]?e[i[0].trim()]:e[i[1].trim()]:e[a]}extractFieldValue(e,a){return a.valueGetter?a.valueGetter({node:e,colDef:a}):a.field.indexOf("?")>0?this.resolveConditionalField(e,a.field):e[a.field]}getFieldValue(e,a){const o=this.extractFieldValue(e,a);return this.convertEmptyToEmdash(o)}mapDownloadBody(){const e=[];return this.distributionRecords?.forEach(a=>{const o={};this.colDefs.forEach(i=>{o[i.field]=this.getFieldValue(a,i)}),e.push(o)}),e}getShareClassSection(e){return this.commonData()?.shareClassDetail&&(e.push([`${this.translateService.instant("pds.SHARE_CLASS_NAME_STD")}`,this.commonData()?.shareClassDetail?.shareClassName??""]),e.push([`${this.translateService.instant("products.inception-date")}`,this.commonData()?.shareClassDetail?.inceptionDate??""])),e}getMappedFullRecords(e){const a=[Object.keys(e[0]??{}).map(o=>this.mapDownloadHeader().get(o)??"")];return e.forEach(o=>{a.push(Object.values(o))}),a}getEndDateStartDateSection(e){return e.push([`${this.translateService.instant("products.distribution-excel-download-dividends")} : ${this.translateService.instant("products.calendar-from")} ${this.getHistoricalStartDate()} ${this.translateService.instant("products.calendar-to")} ${this.getHistoricalEndDate()}`]),e}downloadDistribution(){if(this.proximalService){const e=this.getMappedFullRecords(this.mapDownloadBody()),a=[],o=this.getShareClassSection([]),i=this.getEndDateStartDateSection([]);a.push([this.commonData()?.productName??""]),o.push([`${this.translateService.instant("pds.SHARE_CLASS_CURRENCY")}`,this.commonData()?.currencyCode??""]),(0,at.z)([this.proximalService.getProximals$("HistoricalDividendDataExcelBottom"),this.proximalService.getProximals$("HistoricalDividendDataExcelTop")]).pipe((0,dt.s)(1),(0,H.pQ)(this.destroyRef)).subscribe({next:r=>{const[l,c]=r,p=[o,i];this.excelDownloadService.exportToExcel(e,c,l,a,this.translateService.instant("products.distribution-history-report-tabname"),this.translateService.instant("products.distribution-history-report-filename"),{otherSections:p})},error:r=>{this.logger.error(this.loggerName,"error exporting exl"+r)}})}}onToggleActive(e){this.setChartViewState("chart"===e.value)}setChartViewState(e){this.isChartViewActive=e,this.toggleButtons=this.toggleButtons.map(a=>({...a,isActive:"chart"===a.value===this.isChartViewActive}))}static \u0275fac=function(a){return new(a||n)(t.rXU(B.L))};static \u0275cmp=t.VBU({type:n,selectors:[["frk-distribution-table"]],hostAttrs:["data-gtm-component","product-distribution-table"],inputs:{distributionHistoryRecords:[1,"distributionHistoryRecords"],commonData:[1,"commonData"],config:[1,"config"],colIds:[1,"colIds"],suppressionTOF:[1,"suppressionTOF"],suppressionCEF:[1,"suppressionCEF"]},decls:1,vars:1,consts:[[1,"mb-8"],["placement","DividendsProximalTop"],["data-testId","distribution-table-component"],[1,"items-center","justify-between","sm:mb-4","md:mb-3","md:flex"],["placement","DividendsProximalBottom"],[1,"mb-4","text-xl","md:mb-6","lg:mb-8","lg:text-2xl"],["placement","DividendsPriceDistribution","componentId","config.componentId"],[1,"mb-3","justify-end","md:mb-4","md:flex","lg:m-0"],[1,"select","select--light","md:select--light-small","mr-2","flex","items-center"],[1,"mb-3","w-full","md:mb-0","md:w-auto",3,"ngModelChange","change","name","id","ngModel"],["type","button","data-gtm-intent","download_distributions",1,"button","button--primary","button--sm","xs:w-[86px]","self-start","md:w-full",3,"click","id"],[1,"flex","items-center"],[1,"flex-inline","mr-2"],["name","heroArrowDownTray",1,"size-4",3,"size"],[1,"mt-2"],[3,"ariaLabel"],[1,"font-normal","last:m-0",3,"innerHTML"],[3,"value"],[1,"mb-3","flex","items-center","gap-4","md:mb-4","lg:m-0"],[3,"toggleActive","toggleButtons"],[3,"for"],[1,"mb-6","flex","flex-col","space-y-3","md:flex-row","md:items-start","md:justify-between","md:space-y-0"],[1,"flex","flex-col","space-y-3"],[1,"select","select--light","md:select--light-small","flex","items-center"],[1,"w-full","md:w-auto",3,"ngModelChange","change","name","id","ngModel"],["data-testid","distribution-as-of-date",1,"text-sm","md:pt-8"],[3,"distributionRecords"],[1,"mb-8","overflow-auto"],["tableTheme","primary",3,"colDefs","rowData","
1showPagination","isCardView","showMoreTxt","showLessTxt"]],template:function(a,o){1&a&&t.DNE(0,Ra,8,3),2&a&&t.vxM(o.distributionRecords?0:-1)},dependencies:[C.MD,d.TooltipPipe,d.TranslatePipe,M.YN,M.xH,M.y7,M.wz,M.BC,M.vS,d.DynamicTableComponent,R.zq,d.ProximalComponent,R.b6,d.FootnoteComponent,R.ai,$2],encapsulation:2,changeDetection:0})}return n})();const sb=[w.lM.MF,w.lM.TIF,w.lM._529,w.lM.IF],rb=[w.lM.ETF,w.lM.CEF];let lb=(()=>{class n{translateService=(0,t.WQX)(u.c$);ratesandYields=(0,t.hFB)(null);componentId=(0,t.hFB)();productType=(0,t.hFB)(null);config=(0,t.hFB)(null);ratesBreakpointsSuppressList=["Closed-End Funds","ETFs"];rateAndYieldBreakpoints=[];placements={8012:()=>"RateAndBreakpointsNav",8023:e=>["Closed-End Funds","ETFs"].includes(e)?"RateAndBreakpointsMarketPrice":"RateAndBreakpointsPop"};yieldNames=["distributionBreakPoints","disrate","standard","taxequivalent","taxequivalentdisrate","current","effective"];ngOnInit(){this.ratesandYields()&&this.yieldNames.forEach(e=>{if(this.showYieldInfo(e)){const a=this.getYieldInfo(e);(a?.values?.length||a?.val)&&this.rateAndYieldBreakpoints?.push([a])}})}showYieldInfo(e){const a=this.ratesandYields();switch(e){case"distributionBreakPoints":return!(this.ratesBreakpointsSuppressList.includes(a.productType)&&a.distributionRateBreakPoints&&a.distributionRateBreakPoints.length>0);case"disrate":{const o=a.distributionRateBreakPoints?.find(i=>[8012,8023].includes(Number(i.breakPointTypeKey)))?.distributionRateBreakPoint;return!(!o||o===u.BX)}case"standard":return!!(a.yields?.secYieldThrtyDay&&a.yields.secYieldThrtyDay!==u.BX||a.yields?.secYieldThrtyDayWoWaiver&&a.yields.secYieldThrtyDayWoWaiver!==u.BX);case"taxequivalent":return!!(a.yields?.taxableEquivalentYield&&a.yields.taxableEquivalentYield!==u.BX||a.yields?.taxableEquivalentYieldWithoutWaiver&&a.yields.taxableEquivalentYieldWithoutWaiver!==u.BX);case"taxequivalentdisrate":{const o=a.taxableEquivalentDistributionRate?.find(i=>9999===Number(i.breakPointTypeKey))?.distributionRateBreakPoint;return!(!o||o===u.BX)}case"current":return!!(a.yields?.currentYield7Day&&a.yields.currentYield7Day!==u.BX||a.yields?.currentYield7DayWithoutWaiver&&a.yields.currentYield7DayWithoutWaiver!==u.BX);case"effective":return!!(a.yields?.effectiveYield7Day&&a.yields.effectiveYield7Day!==u.BX||a.yields?.effectiveYield7DayWithoutWaiver&&a.yields.effectiveYield7DayWithoutWaiver!==u.BX);default:return!1}}getYieldInfo(e){const a=this.ratesandYields();switch(e){case"distributionBreakPoints":return this.getDistributionBreakPointsYieldInfo(a);case"disrate":return this.getDisrateYieldInfo(a);case"standard":return this.getStandardYieldInfo(a);case"taxequivalent":return this.getTaxEquivalentYieldInfo(a);case"taxequivalentdisrate":return this.getTaxEquivalentDisrateYieldInfo(a);case"current":return this.getCurrentYieldInfo(a);case"effective":return this.getEffectiveYieldInfo(a);default:return null}}getDistributionBreakPointsYieldInfo(e){const a=e.distributionRateBreakPoints?.filter(o=>8012!==Number(o.breakPointTypeKey)).sort((o,i)=>Number(o.breakPointTypeKey)-Number(i.breakPointTypeKey)).map(o=>({label:o.breakPointYearPercentage,val:o.distributionRateBreakPoint,caveatPlacement:o.breakPointTypeKey in this.placements?o.breakPointTypeKey&&`${this.placements[Number(o.breakPointTypeKey)]?.(e.productType)}`:null}));return{label:this.translateService.instant("products.distribution-rate-and-breakpoints"),values:a,asOfLabel:this.translateService.instant("products.as-of"),asOfDate:e.distributionRateBreakPoints?.[0]?.asOfDate,updateFrequency:`(${this.translateService.instant("products.updated-daily")})`,caveatPlacement:"RateAndBreakpoints",tooltip:this.translateService.tooltip("products.distribution-rate-and-breakpoints")}}getDisrateYieldInfo(e){const a=[];let o,i;e.distributionRateBreakPoints?.length&&(o=e.distributionRateBreakPoints.find(l=>8012===Number(l.breakPointTypeKey)),i=e.distributionRateBreakPoints.find(l=>8023===Number(l.breakPointTypeKey))),o&&a.push({label:this.translateService.instant("products.distribution-yield-disrate-nav-label"),val:o.distributionRateBreakPoint,caveatPlacement:"YieldDisrateNav"});const r=this.config()?.productId;return r&&i&&!this.config()?.nonTradedFunds?.includes(r)&&(sb.includes(this.productType())?a.push({label:this.translateService.instant("products.distribution-yield-disrate-pop-label"),val:o?.distributionRateBreakPoint,caveatPlacement:"Distribution:YieldDisratePop"}):rb.includes(this.productType())&&a.push({label:this.translateService.instant("products.distribution-yield-disrate-mp-label"),val:i.distributionRateBreakPoint,caveatPlacement:"Distribution:YieldDisrateMarketPrice"})),{label:this.translateService.instant("products.distribution-yield-disrate-title"),values:a,asOfLabel:this.translateService.instant("products.as-of"),asOfDate:e.distributionRateBreakPoints?.[0]?.asOfDate,updateFrequency:`(${this.translateService.instant("products.updated-daily")})`,caveatPlacement:"YieldDisrate",tooltip:this.translateService.tooltip("products.distribution-yield-disrate")}}getStandardYieldInfo(e){const a=[];return e.yields?.secYieldThrtyDay&&e.yields.secYieldThrtyDay!==u.BX&&a.push({label:this.translateService.instant("products.with-waiver"),val:e.yields.secYieldThrtyDay}),e.yields?.secYieldThrtyDayWoWaiver&&e.yields.secYieldThrtyDayWoWaiver!==u.BX&&a.push({label:this.translateService.instant("products.without-waiver"),val:e.yields.secYieldThrtyDayWoWaiver}),{label:this.translateService.instant("Closed-End Funds"===e.productType?"products.statistic-CURRENT_YIELD_WGT_AVG":"products.distribution-yield-standard-title"),values:a,asOfLabel:this.translateService.instant("products.as-of"),asOfDate:e.yields?.stdYieldThirtyDayAsofDate,updateFrequency:`(${this.translateService.instant("products.updated-monthly")})`,caveatPlacement:"YieldStandard",tooltip:this.translateService.tooltip("products.distribution-yield-standard")}}getTaxEquivalentYieldInfo(e){const a=[];return e.yields?.taxableEquivalentYield&&e.yields.taxableEquivalentYield!==u.BX&&a.push({label:this.translateService.instant("products.with-waiver"),val:e.yields.taxableEquivalentYield}),e.yields?.taxableEquivalentYieldWithoutWaiver&&e.yields.taxableEquivalentYieldWithoutWaiver!==u.BX&&a.push({label:this.translateService.instant("products.without-waiver"),val:e.yields.taxableEquivalentYieldWithoutWaiver}),{label:this.translateService.instant("products.distribution-yield-taxequivalent-title"),values:a,asOfLabel:this.translateService.instant("products.as-of"),asOfDate:e.yields?.stdYieldThirtyDayAsofDate,updateFrequency:`(${this.translateService.instant("products.updated-monthly")})`,caveatPlacement:"YieldTaxEquivalent",tooltip:this.translateService.tooltip("products.distribution-yield-taxequivalent")}}getTaxEquivalentDisrateYieldInfo(e){return{label:this.translateService.instant("products.distribution-yield-taxequivalentdisrate-title"),val:e.taxableEquivalentDistributionRate?.find(a=>9999===Number(a.breakPointTypeKey))?.distributionRateBreakPoint,asOfLabel:this.translateService.instant("products.as-of"),asOfDate:e.taxableEquivalentDistributionRate?.[0]?.asOfDate,updateFrequency:`(${this.translateService.instant("products.updated-monthly")})`,caveatPlacement:"YieldTaxEquivalentDisrate",tooltip:this.translateService.tooltip("products.distribution-yield-taxequivalentdisrate")}}getCurrentYieldInfo(e){const a=[];return e.yields?.currentYield7Day&&e.yields.currentYield7Day!==u.BX&&a.push({label:this.translateService.instant("products.with-waiver"),val:e.yields.currentYield7Day}),e.yields?.currentYield7DayWithoutWaiver&&e.yields.currentYield7DayWithoutWaiver!==u.BX&&a.push({label:this.translateService.instant("products.without-waiver"),val:e.yields.currentYield7DayWithoutWaiver}),{label:this.translateService.instant("products.distribution-yield-current-title"),values:a,asOfLabel:this.translateService.instant("products.as-of"),asOfDate:e.navDate??"",updateFrequency:`(${this.translateService.instant("products.updated-daily")})`,caveatPlacement:"YieldCurrent",tooltip:this.translateService.tooltip("products.distribution-yield-current")}}getEffectiveYieldInfo(e){const a=[];return e.yields?.effectiveYield7Day&&e.yields.effectiveYield7Day!==u.BX&&a.push({label:this.translateService.instant("products.with-waiver"),val:e.yields.effectiveYield7Day}),e.yields?.effectiveYield7DayWithoutWaiver&&e.yields.effectiveYield7DayWithoutWaiver!==u.BX&&a.push({label:this.translateService.instant("products.without-waiver"),val:e.yields.effectiveYield7DayWithoutWaiver}),{label:this.translateService.instant("products.distribution-yield-effective-title"),values:a,asOfLabel:this.translateService.instant("products.as-of"),asOfDate:e.navDate??"",updateFrequency:`(${this.translateService.instant("products.updated-daily")})`,caveatPlacement:"YieldEffective",tooltip:this.translateService.tooltip("products.distribution-yield-effective")}}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-rates-yields"]],hostAttrs:["data-gtm-component","product-distribution"],inputs:{ratesandYields:[1,"ratesandYields"],componentId:[1,"componentId"],productType:[1,"productType"],config:[1,"config"]},decls:1,vars:1,consts:[["data-testid","rates-yields-section",1,"border-nc1-200","br-2","mb-3","flex","flex-col","rounded-xl","border","p-6","md:mb-4","lg:mb-6","lg:p-8","xl:mb-8"],["placement","DistributionRatesAndYieldsProximalTop"],[1,"border-b-nc1-200","mb-4","border-b-2","text-xl","md:mb-6","lg:mb-8","lg:text-2xl"],["placement","RatesAndYieldsSection",3,"componentId"],[1,"mb-4","mt-2","block"],["placement","DistributionRatesAndYieldsProximalBottom"],[1,"mb-3","flex",3,"flex-col"],[1,"mb-3","flex"],[1,"sm:mb-2","md:mb-0","md:flex"],[1,"px-1","sm:mb-2","md:mb-0","md:w-1/2"],[1,"m-0"],[3,"placement","componentId"],[1,"flex","flex-col","px-1","sm:text-sm","md:w-1/2","md:text-base"],[1,"flex",3,"mb-0"],[1,"flex"],[1,"block","w-3/4"],[1,"block","w-1/4","text-right","font-bold"],["placement","YieldDisrateNav",3,"componentId"],[1,"w-full","px-1","sm:w-1/2"],[1,"w-full","px-1","text-right","sm:w-1/2"],[1,"font-bold"]],template:function(a,o){1&a&&t.DNE(0,Pa,13,7,"section",0),2&a&&t.vxM(null!=o.rateAndYieldBreakpoints&&o.rateAndYieldBreakpoints.length?0:-1)},dependencies:[C.MD,d.TranslatePipe,d.ProximalComponent,d.FootnoteComponent],encapsulation:2,changeDetection:0})}return n})(),cb=(()=>{class n extends U{loggerName="DistributionComponent";downloadId=`distributionDownload${(0,N.A)()}`;dropdownId=`distributionDropDown${(0,N.A)()}`;distributionSignal=(0,t.vPA)(null);colIds=(0,t.hFB)(null);canShowRateAndYields=(0,t.hFB)(!1);suppressionCEF=["LongTermUS","ShortTermUS","IncomeAmountUS"];yearOptionList=[];commonData={productName:"",productType:"Mutual Funds"};getSections=()=>({fetchCommonData:!0,fetchShareClass:{fetchShareClassDetail:!0,fetchYields:!0,fetchSalesChargeBreakPoint:!0,pricingDetails:{coreNav:!0},fetchDistribution:{hasDistribution:!0,hasHistory:!0}}});get distribution(){return this.distributionSignal.asReadonly()}showRatesAndYieldsSignal=(0,t.vPA)(!1);get showRatesAndYields(){return this.showRatesAndYieldsSignal.asReadonly()}showToggle=!1;selectedYear=b().year().toString();processData=e=>{if(this.logger.debug(this.loggerName,"processData()",e),!e.shareClass?.distribution||"loaded"!==e.shareClass.distribution.common?.status&&"loaded"!==e.shareClass.distribution.history?.status)this.status.set(d.ComponentStatus.EMPTY);else{const a=e.shareClass.distribution.history,o=e.shareClass.detail,i=this.mergeDistributionData(e.shareClass.distribution);o.shareClassName&&i.data.forEach(l=>{l.shareClassName=o.shareClassName}),i.data.forEach(l=>{l.currencyCode??=o.currency});const r={...e.shareClass.distribution.common,distributionIndicator:o.distributionIndicator,dividendFrequency:o.dividendFrequency,capgainFrequency:o.capgainFrequency,ratesandYields:this.getRatesAndYeilds(e.shareClass),distributionHistoryRecords:i};this.commonData={productName:e.commonData.productName,productType:e.commonData.productType,shareClassDetail:o,currencyCode:i.data[0]?.currencyCode||a.data[0]?.currencyCode},this.shouldShowRatesAndYeild(r,e.productId),this.distributionSignal.set(r),this.status.set(d.ComponentStatus.LOADED)}};shouldShowRatesAndYeild(e,a){const o=e.ratesandYields,i=(0,u.Ei)(a),r=e.dividendFrequency!==u.BX&&!e.dividendFrequency?.toLowerCase().includes("annual"),l=!i&&r&&this.canShowRateAndYields()&&(o?.distributionRateBreakPoints||o?.taxableEquivalentDistributionRate||o?.yields);this.showRatesAndYieldsSignal.set(l)}getRatesAndYeilds(e){return{productType:e.detail.productType,distributionRateBreakPoints:e.saleschargebreakpoints.distributionRateBreakPoints||null,taxableEquivalentDistributionRate:e.saleschargebreakpoints.taxableEquivalentDistributionRate||null,yields:e.yields,navDate:(e.pricingDetails?.coreNav).navDate}}mergeDistributionData(e){const a=[];if("loaded"===e.common?.status){const o=e.common,{status:i,additionalRecords:r,...l}=o;!0===l.hasEstimateFlag&&a.push(l),r&&Array.isArray(r)&&r.filter(c=>!0===c.hasEstimateFlag).forEach(c=>{a.push(c)})}if("loaded"===e.history?.status){const o=e.history,{status:i,...r}=o;r.data.forEach(c=>{a.some(_=>_.distributionAsOfDateStd===c.distributionAsOfDateStd)||a.push(c)})}return a.sort((o,i)=>{const r=new Date(o.distributionAsOfDateStd);return new Date(i.distributionAsOfDateStd).getTime()-r.getTime()}),{data:a}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-distribution"]],hostAttrs:["data-gtm-component","product-distribution"],inputs:{colIds:[1,"colIds"],canShowRateAndYields:[1,"canShowRateAndYields"]},features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],["data-testid","distribution-component"],[1,"mb-6","grid","grid-cols-1","md:mb-4","lg:mb-6","lg:grid-cols-2","lg:gap-8","xl:mb-8"],[3,"colIds","distributionHistoryRecords","commonData","config","suppressionCEF"],[1,"border-nc1-200","br-2","mb-3","flex","flex-col","rounded-xl","border","p-6","md:mb-4","lg:mb-6","lg:p-8","xl:mb-8"],[1,"flex","flex-col"],["placement","DistributionSchedulesProximalTop"],[1,"flex","w-full","flex-col","justify-between","md:gap-4","lg:flex-row"],[1,"text-nc1-950","border-b-nc1-200","mb-1","whitespace-nowrap","break-words","border-b-2","pb-1","text-base","font-bold"],["placement","SchedulesExDiv",3,"componentId"],[3,"ariaLabel"],[1,"text-pc1-800","block","text-lg","font-bold","lg:text-2xl"],[1,"block"],["placement","DistributionSchedulesProximalBottom"],[1,"whitespace-normal","font-normal","last:m-0",3,"innerHTML"],["placement","SchedulesCapGain",3,"componentId"],[3,"ratesandYields","componentId","productType","config"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,ja,3,2,"div",1),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,d.ComponentStatusComponent,d.TooltipPipe,d.TranslatePipe,R.b6,d.ProximalComponent,lb,M.YN,ib,d.FootnoteComponent],encapsulation:2,changeDetection:0})}return n})(),db=(()=>{class n{params;static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-action-cell-renderer"]],hostAttrs:["data-gtm-component","action-cell-renderer"],inputs:{params:"params"},decls:3,vars:1,consts:[["target","_blank","rel","noopener noreferrer",1,"button","button--primary","button--sm",3,"href"],["rel","noopener noreferrer",1,"button","button--primary","button--sm",3,"href"],[1,"flex"],[1,"flex-inline","mr-2"],["name","heroArrowDownTray",1,"size-4",3,"size"]],template:function(a,o){1&a&&(t.j41(0,"div"),t.DNE(1,La,6,5,"a",0)(2,Ba,3,4,"a",1),t.k0s()),2&a&&(t.R
17$(),t.vxM(null!=o.params&&null!=o.params.rowData&&o.params.rowData.pdfLink?1:null!=o.params&&null!=o.params.rowData&&o.params.rowData.pageLink?2:-1))},dependencies:[C.MD,d.TranslatePipe,R.zq],encapsulation:2,changeDetection:0})}return n})(),ub=(()=>{class n{logger;loggerName="FundPressReleasesComponent";destroyRef=(0,t.WQX)(t.abz);pressReleasesService=(0,t.WQX)(d.PRESS_RELEASES_SERVICE);status=(0,t.vPA)(d.ComponentStatus.LOADING);statusUpdate=(0,t.CGW)();config=t.hFB.required();rowData=(0,t.vPA)([]);gridColDef=(0,t.EWP)(()=>this.getGridColDefs());translateService=(0,t.WQX)(u.c$);static PAGE_SIZE=24;constructor(e){this.logger=e}ngOnInit(){this.fetchAllPressReleases()}fetchAllPressReleases(e=0){const a=[{fieldName:"fundList.keyword",fieldValue:[this.config().productId??""]}];this.pressReleasesService.getArticleAPIData$(a,{start:e,number:n.PAGE_SIZE}).pipe((0,H.pQ)(this.destroyRef)).subscribe({next:i=>{const r=i.results.response.hits.hits,l=i.results.response.hits.total.value??0,_=[...this.rowData(),...this.getGridRowData(r)];this.rowData.set(_),_.length<l?this.fetchAllPressReleases(_.length):(this.status.set(_.length>0?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY),this.statusUpdate.emit(this.status()))},error:i=>{this.logger.error(this.loggerName,i),this.status.set(d.ComponentStatus.ERROR),this.statusUpdate.emit(this.status())}})}getGridColDefs(){return[{field:"publicationDate",headerName:this.translateService.instant("products.press-releases_publication-date"),isSortable:!0,isCardTitle:!0,dataType:"date",sort:"desc",widthClass:"w-36"},{field:"releaseTitle",headerName:this.translateService.instant("products.press-releases_name")},{field:"releaseType",headerName:this.translateService.instant("literature.type"),widthClass:"w-36"},{field:"",headerName:this.translateService.instant("literature.download"),cellRenderer:db,widthClass:"w-36"}]}getGridRowData(e){const a=(0,d.createDateComparator)(P.VF);return e.map(o=>{const i=o._source?.referenceDate??"";let r;r=o._source?.relativePath?.startsWith("/")?this.config().spaBaseUrl+o._source.relativePath:this.config().spaBaseUrl+"/"+o._source?.relativePath;let l="";return o._source?.externalLink?.length&&(l=JSON.parse(o._source.externalLink[0]??"").targetURL??""),{publicationDate:o._source?.referenceDate_formatted??"",publicationDateStd:i,releaseTitle:o._source?.title??"",releaseType:o._source?.contentType?this.translateService.instant(`products.press-releases_${o._source.contentType}`):"",pageLink:r,pdfLink:l}}).sort((o,i)=>a(o.publicationDateStd,i.publicationDateStd,null,null,!0))}static \u0275fac=function(a){return new(a||n)(t.rXU(B.L))};static \u0275cmp=t.VBU({type:n,selectors:[["frk-fund-press-releases"]],hostAttrs:["data-gtm-component","fund-press-releases"],inputs:{config:[1,"config"]},outputs:{statusUpdate:"statusUpdate"},decls:2,vars:2,consts:[["customRowTemplate",""],[3,"status"],["placement","PressReleaseProximalTop"],[1,"mb-3"],["placement","PressReleaseProximalBottom"],["tableTheme","primary",3,"isCardView","colDefs","rowData","rowTemplate","pageSize","showPagination","showMoreTxt","showLessTxt"],[1,"p-2"],[1,"text-center","align-middle"],["target","_blank","rel","noopener noreferrer",1,"button","button--action","button--action-light",3,"href"],["rel","noopener noreferrer",1,"button","button--action","button--action-light",3,"href"],["name","heroArrowDownTray",1,"size-4",3,"size"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",1),t.DNE(1,za,6,1),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,d.ComponentStatusComponent,d.TranslatePipe,d.ProximalComponent,d.DynamicTableComponent,R.zq],encapsulation:2,changeDetection:0})}return n})(),mb=(()=>{class n extends U{translateService=(0,t.WQX)(u.c$);excelDownloadService=(0,t.WQX)(u.hR);proximalService=(0,t.WQX)(d.PROXIMAL_SERVICE,{optional:!0});loggerName="TaxComponent";federalTaxIdSignal=(0,t.vPA)("");productNameSignal=(0,t.vPA)("");yearOptionsSignal=(0,t.vPA)([]);distributionPerShareSignal=(0,t.vPA)(null);supplementalTaxInfoSignal=(0,t.vPA)(null);stateTaxInfoSignal=(0,t.vPA)([]);currentYearSignal=(0,t.vPA)((new Date).getFullYear()-1);get federalTaxId(){return this.federalTaxIdSignal.asReadonly()}get productName(){return this.productNameSignal.asReadonly()}taxTooltipPlacement=J.Qy.AUTO;get yearOptions(){return this.yearOptionsSignal.asReadonly()}get distributionPerShare(){return this.distributionPerShareSignal.asReadonly()}get supplementalTaxInfo(){return this.supplementalTaxInfoSignal.asReadonly()}get stateTaxInfo(){return this.stateTaxInfoSignal.asReadonly()}get currentYear(){return this.currentYearSignal.asReadonly()}dateRangeSelectorId=`taxDateSelector${(0,N.A)()}`;downloadId=`taxDownloadXLS${(0,N.A)()}`;getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchCommonData:!0,fetchShareClass:{fetchTax:{year:this.currentYear(),productType:"NA"},fetchShareClassDetail:!0}});setProductName(e){"loaded"===e.commonData?.status&&this.productNameSignal.set(e.commonData.productName)}hasNoData=(0,t.EWP)(()=>{const e=this.distributionPerShare();return this.status()===d.ComponentStatus.LOADED&&(!e||0===e.length)});processData=e=>{if(this.logger.debug(this.loggerName,"processData()",e),this.setProductName(e),"loaded"===e.shareClass?.detail?.status){this.federalTaxIdSignal.set(e.shareClass.detail.federalTaxId);const a=this.calculateYears(e.shareClass.detail.inceptionDateStd).map(o=>({label:String(o),value:o}));this.yearOptionsSignal.set(a)}if("loaded"===e.shareClass?.tax?.status){const a=e.shareClass.tax[this.currentYear()];if(a?.distributions&&a.distributions.length>0){const o=this.formatRecordDate(a.distributions);this.distributionPerShareSignal.set(o),this.supplementalTaxInfoSignal.set(a.additionalTaxInfo?a.additionalTaxInfo:null),this.stateTaxInfoSignal.set(a.states?a.states:[])}else this.distributionPerShareSignal.set(null),this.supplementalTaxInfoSignal.set(null),this.stateTaxInfoSignal.set([]);this.status.set(d.ComponentStatus.LOADED)}else this.status.set(d.ComponentStatus.EMPTY)};
1onPeriodDateChange(e){this.currentYearSignal.set(Number(e)),this.initializeConfigSubscription()}formatRecordDate(e){const a=[];return e.forEach(o=>{a.push({...o,recordDate:o.recordDate?b(o.recordDate).locale("en").format("MMM DD"):"",isClosed:!0,id:(0,N.A)()})}),a}calculateYears(e){if(!e)return[];const a=new Date(e).getFullYear(),o=Math.max(2013,a),i=this.getLastYear();return Array(i-o+1).fill(null).map((l,c)=>i-c)}getLastYear(){return(new Date).getFullYear()-1}toggleCard(e){e.isClosed=!e.isClosed}loadProductDetails$(e){return this.products.getProductDetails$(e.productShareClassCode,this.getSections(e),this.isProgressiveLoading).pipe((0,et.W)(a=>this.errorHandler(a)))}downloadTaxData(e){e.preventDefault(),this.logger.debug(this.loggerName,"taxDownloadButtonClicked"+e),this.triggerDownloadAction()}triggerDownloadAction(){const e=this.mapDownloadData(this.distributionPerShare()),a=[Object.keys(e[0]??{}).map(r=>this.translateService.instant(this.mapDownloadHeader().get(r)??""))];e.forEach(r=>{a.push(Object.values(r))});const o=[],i=[["Year",this.currentYear().toString()],[this.translateService.instant("products.us-tax-federal-id-number"),this.federalTaxId()]];o.push([this.productName()]),this.proximalService&&(0,at.z)([this.proximalService.getProximals$("UsTaxDistributionsTop"),this.proximalService.getProximals$("UsTaxAdditionalTaxInformationBottom")]).pipe((0,dt.s)(1),(0,H.pQ)(this.destroyRef)).subscribe({next:r=>{const[l,c]=r,p=[i];this.excelDownloadService.exportToExcel(a,c,l,o,this.translateService.instant("products.us-distributions-tax-info-tab-name"),this.translateService.instant("products.us-distributions-tax-info-file-name"),{otherSections:p})},error:r=>{this.logger.error(this.loggerName,"error exporting excel"+r)}})}mapDownloadData(e){const a=[];return!e||0===e.length||e.forEach(o=>{a.push({recordDate:"Detail"===o.recordType?o.recordDate:u.BX,ordinaryDividends:o.ordinaryDividends,qualifiedDividends:o.qualifiedDividends,capGainDistributions:o.capGainDistributions,unrecapturedSection1250Gain:o.unrecapturedSection1250Gain,nonTaxableReturnOfCapital:o.nonTaxableReturnOfCapital,section199aDividends:o.section199aDividends,foreignTaxPaid:o.foreignTaxPaid,exemptInterestDividends:o.exemptInterestDividends,interestTaxReclaimRefund:o.interestTaxReclaimRefund})}),a}mapDownloadHeader(){const e=new Map;return e.set("recordDate","products.us-tax-record-date"),e.set("ordinaryDividends","products.us-tax-ordinary-dividends"),e.set("qualifiedDividends","products.us-tax-qualified-dividends"),e.set("capGainDistributions","products.us-tax-cap-gain-distributions"),e.set("unrecapturedSection1250Gain","products.us-tax-unrecaptured-section-1250-gain"),e.set("nonTaxableReturnOfCapital","products.us-tax-nontaxable-return-of-capital"),e.set("section199aDividends","products.us-tax-section-199a-dividends"),e.set("foreignTaxPaid","products.us-tax-foreign-tax-paid"),e.set("exemptInterestDividends","products.us-tax-exempt-interest-dividends"),e.set("interestTaxReclaimRefund","products.interest-on-tax-reclaim-refunds"),e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-tax"]],hostAttrs:["data-gtm-component","tax"],features:[t.Vt3],decls:4,vars:2,consts:[["taxTableData",""],[3,"status"],[1,"text-nc1-950","text-base","font-bold"],[1,"text-nc1-700","block","pb-4","text-xs","font-normal"],["placement","UsTaxDistributionsTop","edsSpacing","md"],[1,"text-nc1-950","text-sm","font-normal"],[1,"grid","grid-rows-1","items-center","md:grid-cols-2","md:gap-2"],[1,"mb-0","sm:mb-2"],[3,"ariaLabel"],[1,"flex","flex-col","justify-end","md:flex-row","md:items-center"],[1,"order-2","flex","flex-col","pt-4","sm:w-full","md:order-1","md:w-auto","md:pt-0"],[1,"font-normal","sm:ml-0","md:ml-4",3,"for"],[1,"select","select--light","mt-2","sm:ml-0","sm:w-full","md:m-4","md:ml-4","md:w-auto"],["data-testid","period_select","data-gtm-intent","period_select",1,"text-nc1-950","w-full","text-base","font-normal","md:w-[7.813rem]",3,"ngModelChange","id","ngModel"],[3,"value"],[1,"xs:mt-4","order-1","mt-4","w-full","md:order-2","md:m-4","md:w-auto"],[1,"border-nc1-200","mt-4","flex","h-full","items-center","rounded-xl","border","p-8"],[1,"mt-5","block","lg:mt-7","lg:hidden"],[1,"font-normal","last:m-0",3,"innerHTML"],["type","button","data-gtm-intent","download_distributions",1,"button","button--primary","xs:w-[86px]","self-start","md:w-full",3,"click","id"],[1,"flex"],[1,"flex-inline","mr-2"],["name","heroArrowDownTray",1,"size-4",3,"size"],[1,"sr-only"],[1,"mb-0","text-base"],[1,"relative","mb-10","mt-2","hidden","lg:mt-2","lg:block"],[1,"m-0","table","w-full"],[1,"hidden"],["scope","col",1,"min-w-20","text-left","align-top","text-sm"],["placement","UsTaxRecordDate",3,"componentId"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["scope","col",1,"text-left","align-top","text-sm"],["placement","UsTaxOrdinaryDividends",3,"componentId"],["placement","UsTaxQualifiedDividends",3,"componentId"],["placement","UsTaxCapGainsDistributions",3,"componentId"],["placement","UsTaxUnrecapturedSection1250Gain",3,"componentId"],["placement","UsTaxNonTaxableReturnOfCapital",3,"componentId"],["placement","UsTaxSection199aDividends",3,"componentId"],["placement","UsTaxForeignTaxPaid",3,"componentId"],["placement","UsTaxExemptInterestDividends",3,"componentId"],["placement","USInterestOnTaxReclaimRefunds",3,"componentId"],["placement","UsTaxDistributionsBottom","edsSpacing","md"],[1,"text-right","text-base","font-normal","leading-5"],[1,"border-nc1-200","mb-6","rounded-xl","border"],[1,"flex","justify-between","rounded-t-xl","p-2",3,"id"],[1,"flex","items-center","text-base","font-normal","leading-5"],["id","table-card-content",1,"m-0","block"],["type","button","aria-expanded","true",1,"text-nc1-0","flex","w-full","items-center","justify-between","rounded-b-xl","px-4","py-2","text-left","text-sm",3,"click"],[1,"border-nc1-200","grid","w-full","grid-cols-2","gap-2","border-b","last:border-none"],[1,"col-div-1","p-4"],[1,"flex","items-center","text-base","font-bold"],[1,"col-div-1","p-4","font-normal"],[1,"gap-1","text-base","md:flex","md:items-center"],[1,"font-bold"],["name","heroChevronUp",3,"size"],["name","heroChevronDown",3,"size"],[1,"grid","grid-cols-1",3,"ngClass"],[1,"card-primary","border-nc1-200","frk-orientation--vertical","mb-8","w-full","rounded-[8px]","border","p-8",3,"ngClass"],[1,"card-primary","frk-size--large","frk-type--border","border-nc1-200","frk-orientation--vertical","mb-8","rounded-[8px]","border","p-8"],["placement","UsTaxAdditionalTaxInformationBottom","edsSpacing","md"],[1,"m-0","text-lg","font-bold","leading-6","md:text-2xl","md:leading-8"],[1,"m-0","flex","flex-col"],[1,"mb-8","mt-8","flex","justify-between"],[1,"mg:leading-5","text-sm","font-normal","leading-4","md:text-base"],[1,"mg:leading-5","text-right","text-sm","font-normal","leading-4","md:text-base"],[1,"mb-8","flex","justify-between"],[1,"flex","justify-between"],[1,"font-bold","leading-7","sm:text-lg","md:text-xl","md:leading-8"],[1,"mt-7","columns-1",3,"ngClass"],[1,"flex","flex-col"],[1,"text-nc1-950","flex","justify-between","text-base","leading-5"],[1,"w-2/3","font-normal"],[1,"text-right","font-bold"],[1,"inline-block","text-left"],[3,"placement","ariaLabel"],[1,"text-sm","font-normal","last:m-0",3,"innerHTML"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",1),t.DNE(1,fo,30,27),t.k0s(),t.DNE(2,go,1,1,"ng-template",null,0,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,C.T3,C.PV,d.ComponentStatusComponent,d.TooltipPipe,d.TranslatePipe,d.ProximalComponent,M.YN,M.xH,M.y7,M.wz,M.BC,M.vS,d.FootnoteComponent,R.zq,R.b6],encapsulation:2,changeDetection:0})}return n})(),hb=(()=>{class n{showCurrencyAttribution=t.hFB.required();labels=(0,t.hFB)(null);fields=(0,t.hFB)([]);firstLevelSectorData=(0,t.hFB)([]);firstLevelCountryData=(0,t.hFB)([]);tableData=(0,t.geq)(null);showAttributionCountry=(0,t.hFB)(!1);showAttributionSector=(0,t.hFB)(!0);selectedAsOfDate=(0,t.geq)(null);sectorParentId=`attributionSectorParent-${(0,N.A)()}`;countryParentId=`attributionCountryParent-${(0,N.A)()}`;isExpanded=!1;collapseExpandText=(0,t.vPA)("products.expand-all");ngOnChanges(){this.selectedAsOfDate()&&this.selectedAsOfDate.set(b(this.selectedAsOfDate()).format("MM/DD/YYYY")),this.tableData()&&this.tableData.set(this.settingAccessibilityId(this.tableData()))}toggleRow(e){(0,d.toggleRow)(e)}
1get ariaControlsList(){return(0,d.getAriaControlsList)()}toggleAll(){(0,d.toggleAll)(e=>{this.isExpanded=e},e=>{this.collapseExpandText.set(e?"products.collapse-all":"products.expand-all")})}settingAccessibilityId(e){if(null!==e&&Object.entries(e.sector).length){const a=[];e.sector.id=this.sectorParentId,e.sector.ariaOwns=a,e.sector.sectors=e.sector.sectors.map((o,i)=>{const r=`${this.sectorParentId}-sector-${i}`;return a.push(r),o.id=r,o.ariaOwns=o.industries.map((l,c)=>{const p=`${r}-industry-${c}`;return l.id=p,p}),o}),e.sector.id=this.sectorParentId,e.sector.ariaOwns=a}if(null!==e&&Object.entries(e.country).length){const a=[];e.country.id=this.countryParentId,e.country.ariaOwns=a,e.country.regions=e.country.regions.map((o,i)=>{const r=`${this.countryParentId}-region-${i}`;return a.push(r),o.id=r,o.ariaOwns=o.countries.map((l,c)=>{const p=`${r}-country-${c}`;return l.id=p,p}),o}),e.country.id=this.countryParentId,e.country.ariaOwns=a}return e}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-attribution-table"]],hostAttrs:["data-gtm-component","frk-attribution-table"],inputs:{showCurrencyAttribution:[1,"showCurrencyAttribution"],labels:[1,"labels"],fields:[1,"fields"],firstLevelSectorData:[1,"firstLevelSectorData"],firstLevelCountryData:[1,"firstLevelCountryData"],tableData:[1,"tableData"],showAttributionCountry:[1,"showAttributionCountry"],showAttributionSector:[1,"showAttributionSector"],selectedAsOfDate:[1,"selectedAsOfDate"]},outputs:{tableData:"tableDataChange",selectedAsOfDate:"selectedAsOfDateChange"},features:[t.OA$],decls:4,vars:2,consts:[[1,"relative","overflow-x-auto"],[1,"table","w-full","shadow-md","sm:rounded-lg"],[1,"hidden"],[1,"w-1/5"],[1,"border-none"],[1,"bg-white"],["scope","col",1,"bg-nc1-0","text-left","text-xs","font-bold"],["scope","col","colspan","3",1,"bg-nc1-0","text-left","text-xs","font-bold"],["scope","col","colspan","5",1,"bg-nc1-0","text-left","text-xs","font-bold"],["scope","col","colspan","4",1,"bg-nc1-0","text-left","text-xs","font-bold"],["scope","col",1,"text-right","align-top","text-xs","font-bold"],[1,"flex","items-center","gap-2"],["type","button","aria-live","polite",1,"toggleBtn","button","button--action","button--action-ghost","flex-shrink-0",3,"click"],[1,"mt-2","transform","transition-transform","duration-300"],["name","heroChevronDown"],[1,"sr-only"],[1,"m-0","flex-grow","pl-4"],["scope","col",1,"text-right","text-xs","font-bold"],[1,"divide-nc1-200","divide-y"],[1,"leading-5",3,"ngClass"],[1,"small","text-left","text-xs","font-bold"],[3,"id"],["scope","row",1,"text-left","align-top","text-base"],[1,"flex","items-center","gap-1.5"],["type","button","aria-labelledby","toggleLabel","aria-expanded","false",1,"parent-row","button--action","button--action-ghost","flex-shrink-0",3,"click"],[1,"m-0","flex-grow","md:px-2"],[1,"text-right","text-base","font-normal"],["aria-level","2","hidden","",1,"child-row",3,"id"],[1,"pl-14","text-left","align-top","md:pl-16"],[1,"text-right","align-top"],["scope","col","text-xs","","font-boldscope","col",1,"bg-nc1-0","text-left","text-xs","font-bold"],["scope","col",1,"text-right","align-top"],[1,"small","text-left","text-xs"],["scope","row",1,"text-left","align-top"],["hidden","","aria-level","2",1,"child-row",3,"id"]],template:function(a,o){if(1&a&&t.DNE(0,$o,1,1)(1,Mo,1,1)(2,Lo,1,1)(3,Vo,1,1),2&a){let i,r;t.vxM(null!=(i=o.tableData())&&null!=i.sector&&null!=i.sector.sectors&&i.sector.sectors.length?0:1),t.R7$(2),t.vxM(null!=(r=o.tableData())&&null!=r.country&&null!=r.country.regions&&r.country.regions.length?2:3)}},dependencies:[C.MD,C.YU,d.TranslatePipe,R.zq],styles:[".table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{outline:none}.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2) th[_ngcontent-%COMP%]:first-child{border-top-left-radius:.75rem}.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2) th[_ngcontent-%COMP%]:last-child{border-top-right-radius:.75rem}.table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:1px inset var(--color-std-nc1-200)}.table[_ngcontent-%COMP%]:before{border:0}"],changeDetection:0})}return n})();var xn=function(n){return n.BENCHMARK="benchmark",n.PORTFOLIO="portfolio",n.VARIATION="variation",n.CURRENCY="currency",n.ATTRIBUTION="attribution",n}(xn||{});function Zn(){const n=new Map;return n.set("classification",""),n.set("portfolioAverageWeight","products.attribution-portfolio-average-weight"),n.set("portfolioTotalReturn","products.attribution-portfolio-total-return"),n.set("portfolioContributionToReturn","products.attribution-portfolio-contribution-to-return"),n.set("benchmarkAverageWeight","products.attribution-bm-average-weight"),n.set("benchmarkTotalReturn","products.attribution-bm-total-return"),n.set("benchmarkContributionToReturn","products.attribution-bm-contribution-to-return"),n.set("variationAverageWeight","products.attribution-variation-average-weight"),n.set("variationTotalReturn","products.attribution-variation-total-return"),n.set("variationContributionToReturn","products.attribution-variation-contribution-to-return"),n.set("currencyAllocationEffect","products.attribution-currency-allocation-effect"),n.set("currencySelectionEffect","products.attribution-currency-selection-effect"),n.set("currencyInteractionEffect","products.attribution-currency-interaction-effect"),n.set("currencyTotalEffect","products.attribution-currency-total-effect"),n.set("currencyTotalCurrencyEffect","products.attribution-currency-total-currency-effect"),n.set("attributionAllocationEffect","products.attribution-attribution-allocation-effect"),n.set("attributionSelectionEffect","products.attribution-attribution-selection-effect"),n.set("attributionInteractionEffect","products.attribution-attribution-interaction-effect"),n.set("attributionTotalEffect","products.attribution-attribution-total-effect"),n}function Dn(n){return n.push({classification:"",portfolioAverageWeight:null,portfolioTotalReturn:null,portfolioContributionToReturn:null,benchmarkAverageWeight:null,benchmarkTotalReturn:null,benchmarkContributionToReturn:null,variationAverageWeight:null,variationTotalReturn:null,variationContributionToReturn:null,currencyAllocationEffect:null,currencySelectionEffect:null,currencyInteractionEffect:null,currencyTotalEffect:null,currencyTotalCurrencyEffect:null,attributionAllocationEffect:null,attributionSelectionEffect:null,attributionInteractionEffect:null,attributionTotalEffect:null}),n}let bb=(()=>
1{class n extends U{loggerName="FundAttributionComponent";translateService=(0,t.WQX)(u.c$);attributionType=(0,t.geq)("calendarYear");calendarView=(0,t.EWP)(()=>"calendarYear"===this.attributionType()?"year":"full");periodDates=(0,t.EWP)(()=>"full"===this.calendarView()?this.getPreviousQuarter():this.getCalendarYears());fields=[];toggleId=`attribution${this.attributionType()}toggle${(0,N.A)()}`;toggleButtons=[];showAttributionSector=!0;showAttributionCountry=!1;dateRangeSelectorId=`attribution${this.attributionType()}DateSelector${(0,N.A)()}`;downloadId=`${this.attributionType()}Download${(0,N.A)()}`;firstLevelSectorData=[this.translateService.instant("products.attribution-sector-industry")];firstLevelCountryData=[this.translateService.instant("products.attribution-region-country")];proximalService=(0,t.WQX)(d.PROXIMAL_SERVICE,{optional:!0});excelDownloadService=(0,t.WQX)(u.hR);selectedAsofDateSignal=(0,t.vPA)("");periodRangeSignal=(0,t.vPA)(null);showCurrencyAttributionSignal=(0,t.vPA)(!1);attributionTableDataSignal=(0,t.vPA)(null);fundCommonDetailsSignal=(0,t.vPA)(null);get showCurrencyAttribution(){return this.showCurrencyAttributionSignal.asReadonly()}get selectedAsOfDate(){return this.selectedAsofDateSignal.asReadonly()}get periodRange(){return this.periodRangeSignal.asReadonly()}get commonAttributionData(){return this.fundCommonDetailsSignal.asReadonly()}get attributionTableData(){return this.attributionTableDataSignal.asReadonly()}getSections=e=>(this.logger.debug(this.loggerName,"config",e),this.setInitialDateRangeForAPI(),{fetchShareClass:{fetchAttribution:{asOfDateYearly:this.periodRange()?.asOfDateYearly,asofDateQuarterly:this.periodRange()?.asofDateQuarterly,hasCountry:!0,hasSector:!0}},fetchCommonData:!0});processData=e=>{this.logger.debug(this.loggerName,"processData()",e),this.firstLevelCountryData=[this.translateService.instant("products.attribution-region-country")],this.firstLevelSectorData=[this.translateService.instant("products.attribution-sector-industry")],"loaded"===e.shareClass?.attributionDetails?.status&&"loaded"===e.commonData?.status?(this.fundCommonDetailsSignal.set({fundName:e.commonData.productName,benchmarkName:e.shareClass.attributionDetails.benchmarkName}),this.attributionTableDataSignal.set(e.shareClass.attributionDetails[this.attributionType()]),this.toggleButtons=[{isActive:this.showAttributionSector,text:this.translateService.instant("products.attribution-sector-industry"),isDisabled:!1},{isActive:this.showAttributionCountry,text:this.translateService.instant("products.attribution-region-country"),isDisabled:!1}],this.processAttributionData(),this.status.set(d.ComponentStatus.LOADED)):this.status.set(d.ComponentStatus.EMPTY)};onFilterToggle(e){e.text===this.translateService.instant("products.attribution-sector-industry")?(this.showAttributionSector=!0,this.showAttributionCountry=!1):(this.showAttributionSector=!1,this.showAttributionCountry=!0)}onCurrencyToggleChanged(){this.firstLevelCountryData=[this.translateService.instant("products.attribution-region-country")],this.firstLevelSectorData=[this.translateService.instant("products.attribution-sector-industry")],this.showCurrencyAttributionSignal.set(!this.showCurrencyAttribution()),this.processAttributionData()}onPeriodDateChange(e){this.selectedAsofDateSignal.set(e),this.periodRangeSignal.set({asofDateQuarterly:e,asOfDateYearly:e}),this.initializeConfigSubscription()}getCalendarYears(){const e=[];let a,o;const i=b(),r=b().startOf("year").add(15,"days");i.isBefore(r)?(a=(0,ce.A)(i).subtract(2,"year").year(),o=4):(a=(0,ce.A)(i).subtract(1,"year").year(),o=5);for(let l=0;l<o;l++){const c=a-l;e.push({asOfDate:`12-31-${c}`,asOfDateStd:`${c}-12-31`,year:String(c)})}return e}setInitialDateRangeForAPI(){this.selectedAsOfDate()||(this.selectedAsofDateSignal.set(this.periodDates()[0]?.asOfDateStd),this.periodRangeSignal.set({asofDateQuarterly:this.periodDates()[0]?.asOfDateStd,asOfDateYearly:this.periodDates()[0]?.asOfDateStd}))}getCurrentDate(){return b()}getPreviousQuarter(){const e=[],a=[],o=this.getCurrentDate();if(o.isValid())for(let i=1;i<20;i++)a.push(o.clone().subtract(i,"quarter").endOf("quarter").format(P.VF));return a.forEach(i=>
1{e.push({asOfDate:b(i).format("MM/DD/YYYY"),asOfDateStd:i,year:i.split("-")[0]})}),e}processAttributionData(){const e=this.attributionTableData();Object.keys(e.sector).length&&Object.keys(e.sector.totalData).forEach(a=>{Object.keys(e.sector.totalData[a]).forEach(o=>{const i=o.replace(/([a-z])([A-Z])/g,"$1 $2"),r=e.sector.totalData[a][o];this.showCurrencyAttribution()?(this.fields.push(i),this.firstLevelSectorData.push(r)):a!==xn.CURRENCY&&this.firstLevelSectorData.push(r)})}),Object.keys(e.country).length?Object.keys(e.country.totalData).forEach(a=>{Object.keys(e.country.totalData[a]).forEach(o=>{const i=o.replace(/([a-z])([A-Z])/g,"$1 $2"),r=e.country.totalData[a][o];this.showCurrencyAttribution()?(this.fields.push(i),this.firstLevelCountryData.push(r)):a!==xn.CURRENCY&&this.firstLevelCountryData.push(r)})}):this.toggleButtons=[{isActive:this.showAttributionSector,text:this.translateService.instant("products.attribution-sector-industry"),isDisabled:!1},{isActive:this.showAttributionCountry,text:this.translateService.instant("products.attribution-region-country"),isDisabled:!0}]}loadProductDetails$(e){return this.products.getProductDetails$(e.productShareClassCode,this.getSections(e),this.isProgressiveLoading).pipe((0,et.W)(a=>this.errorHandler(a)))}downloadAttribution(e){e.preventDefault(),this.logger.debug(this.loggerName,"AttributionDownloadButtonClicked"+e),this.triggerDownloadAction()}triggerDownloadAction(){const e=[];e.push([this.commonAttributionData()?.fundName||""]),this.proximalService&&(0,at.z)([this.proximalService.getProximals$("FundAttributionExcelProximalBottom"),this.proximalService.getProximals$("FundAttributionExcelProximalTop")]).pipe((0,dt.s)(1),(0,H.pQ)(this.destroyRef)).subscribe({next:a=>{const[o,i]=a;this.excelDownloadService.exportToExcel(this.showAttributionSector?function gb(n,s){const e=Zn();let a=[];if(s){const o=function fb(n,s){const e=[];return e.push({classification:s,portfolioAverageWeight:n.totalData.portfolio.averageWeight,portfolioTotalReturn:n.totalData.portfolio.totalReturn,portfolioContributionToReturn:n.totalData.portfolio.contributionToReturn,benchmarkAverageWeight:n.totalData.benchmark.averageWeight,benchmarkTotalReturn:n.totalData.benchmark.totalReturn,benchmarkContributionToReturn:n.totalData.benchmark.contributionToReturn,variationAverageWeight:n.totalData.variation.averageWeight,variationTotalReturn:n.totalData.variation.totalReturn,variationContributionToReturn:n.totalData.variation.contributionToReturn,currencyAllocationEffect:n.totalData.currency.allocationEffect,currencySelectionEffect:n.totalData.currency.selectionEffect,currencyInteractionEffect:n.totalData.currency.interactionEffect,currencyTotalEffect:n.totalData.currency.totalEffect,currencyTotalCurrencyEffect:n.totalData.currency.totalCurrencyEffect,attributionAllocationEffect:n.totalData.attribution.allocationEffect,attributionSelectionEffect:n.totalData.attribution.selectionEffect,attributionInteractionEffect:n.totalData.attribution.interactionEffect,attributionTotalEffect:n.totalData.attribution.totalEffect}),n.sectors.forEach(a=>{e.push({classification:a.sectorName,portfolioAverageWeight:a.sectorData.portfolio.averageWeight,portfolioTotalReturn:a.sectorData.portfolio.totalReturn,portfolioContributionToReturn:a.sectorData.portfolio.contributionToReturn,benchmarkAverageWeight:a.sectorData.benchmark.averageWeight,benchmarkTotalReturn:a.sectorData.benchmark.totalReturn,benchmarkContributionToReturn:a.sectorData.benchmark.contributionToReturn,variationAverageWeight:a.sectorData.variation.averageWeight,variationTotalReturn:a.sectorData.variation.totalReturn,variationContributionToReturn:a.sectorData.variation.contributionToReturn,currencyAllocationEffect:a.sectorData.currency.allocationEffect,currencySelectionEffect:a.sectorData.currency.selectionEffect,currencyInteractionEffect:a.sectorData.currency.interactionEffect,currencyTotalEffect:a.sectorData.currency.totalEffect,currencyTotalCurrencyEffect:a.sectorData.currency.totalCurrencyEffect,attributionAllocationEffect:a.sectorData.attribution.allocationEffect,attributionSelectionEffect:a.sectorData.attribution.selectionEffect,attributionInteractionEffect:a.sectorData.attribution.interactionEffect,attributionTotalEffect:a.sectorData.attribution.totalEffect}
1),a.industries.forEach(o=>{e.push({classification:o.industryName,portfolioAverageWeight:o.industryData.portfolio.averageWeight,portfolioTotalReturn:o.industryData.portfolio.totalReturn,portfolioContributionToReturn:o.industryData.portfolio.contributionToReturn,benchmarkAverageWeight:o.industryData.benchmark.averageWeight,benchmarkTotalReturn:o.industryData.benchmark.totalReturn,benchmarkContributionToReturn:o.industryData.benchmark.contributionToReturn,variationAverageWeight:o.industryData.variation.averageWeight,variationTotalReturn:o.industryData.variation.totalReturn,variationContributionToReturn:o.industryData.variation.contributionToReturn,currencyAllocationEffect:o.industryData.currency.allocationEffect,currencySelectionEffect:o.industryData.currency.selectionEffect,currencyInteractionEffect:o.industryData.currency.interactionEffect,currencyTotalEffect:o.industryData.currency.totalEffect,currencyTotalCurrencyEffect:o.industryData.currency.totalCurrencyEffect,attributionAllocationEffect:o.industryData.attribution.allocationEffect,attributionSelectionEffect:o.industryData.attribution.selectionEffect,attributionInteractionEffect:o.industryData.attribution.interactionEffect,attributionTotalEffect:o.industryData.attribution.totalEffect})}),Dn(e)}),e}(s,n.instant("products.attribution-sector-industry"));a=[Object.keys(o[0]??[]).map(i=>""===e.get(i)?"":n.instant(e.get(i)??""))],o.forEach(i=>{a.push(Object.values(i))})}return a}(this.translateService,this.attributionTableData()?.sector):function Cb(n,s){const e=Zn();let a=[];if(s){const o=function _b(n,s){const e=[];return e.push({classification:s,portfolioAverageWeight:n.totalData.portfolio.averageWeight,portfolioTotalReturn:n.totalData.portfolio.totalReturn,portfolioContributionToReturn:n.totalData.portfolio.contributionToReturn,benchmarkAverageWeight:n.totalData.benchmark.averageWeight,benchmarkTotalReturn:n.totalData.benchmark.totalReturn,benchmarkContributionToReturn:n.totalData.benchmark.contributionToReturn,variationAverageWeight:n.totalData.variation.averageWeight,variationTotalReturn:n.totalData.variation.totalReturn,variationContributionToReturn:n.totalData.variation.contributionToReturn,currencyAllocationEffect:n.totalData.currency.allocationEffect,currencySelectionEffect:n.totalData.currency.selectionEffect,currencyInteractionEffect:n.totalData.currency.interactionEffect,currencyTotalEffect:n.totalData.currency.totalEffect,currencyTotalCurrencyEffect:n.totalData.currency.totalCurrencyEffect,attributionAllocationEffect:n.totalData.attribution.allocationEffect,attributionSelectionEffect:n.totalData.attribution.selectionEffect,attributionInteractionEffect:n.totalData.attribution.interactionEffect,attributionTotalEffect:n.totalData.attribution.totalEffect}),Dn(e),n.regions.forEach(a=>{e.push({classification:a.regionName,portfolioAverageWeight:a.regionData.portfolio.averageWeight,portfolioTotalReturn:a.regionData.portfolio.totalReturn,portfolioContributionToReturn:a.regionData.portfolio.contributionToReturn,benchmarkAverageWeight:a.regionData.benchmark.averageWeight,benchmarkTotalReturn:a.regionData.benchmark.totalReturn,benchmarkContributionToReturn:a.regionData.benchmark.contributionToReturn,variationAverageWeight:a.regionData.variation.averageWeight,variationTotalReturn:a.regionData.variation.totalReturn,variationContributionToReturn:a.regionData.variation.contributionToReturn,currencyAllocationEffect:a.regionData.currency.allocationEffect,currencySelectionEffect:a.regionData.currency.selectionEffect,currencyInteractionEffect:a.regionData.currency.interactionEffect,currencyTotalEffect:a.regionData.currency.totalEffect,currencyTotalCurrencyEffect:a.regionData.currency.totalCurrencyEffect,attributionAllocationEffect:a.regionData.attribution.allocationEffect,attributionSelectionEffect:a.regionData.attribution.selectionEffect,attributionInteractionEffect:a.regionData.attribution.interactionEffect,attributionTotalEffect:a.regionData.attribution.totalEffect}),a.countries.forEach(o=>{e.push({classification:o.countryName,portfolioAverageWeight:o.countryData.portfolio.averageWeight,portfolioTotalReturn:o.c
1ountryData.portfolio.totalReturn,portfolioContributionToReturn:o.countryData.portfolio.contributionToReturn,benchmarkAverageWeight:o.countryData.benchmark.averageWeight,benchmarkTotalReturn:o.countryData.benchmark.totalReturn,benchmarkContributionToReturn:o.countryData.benchmark.contributionToReturn,variationAverageWeight:o.countryData.variation.averageWeight,variationTotalReturn:o.countryData.variation.totalReturn,variationContributionToReturn:o.countryData.variation.contributionToReturn,currencyAllocationEffect:o.countryData.currency.allocationEffect,currencySelectionEffect:o.countryData.currency.selectionEffect,currencyInteractionEffect:o.countryData.currency.interactionEffect,currencyTotalEffect:o.countryData.currency.totalEffect,currencyTotalCurrencyEffect:o.countryData.currency.totalCurrencyEffect,attributionAllocationEffect:o.countryData.attribution.allocationEffect,attributionSelectionEffect:o.countryData.attribution.selectionEffect,attributionInteractionEffect:o.countryData.attribution.interactionEffect,attributionTotalEffect:o.countryData.attribution.totalEffect})}),Dn(e)}),e}(s,n.instant("products.attribution-region-country"));a=[Object.keys(o[0]??[]).map(i=>""===e.get(i)?"":n.instant(e.get(i)??""))],o.forEach(i=>{a.push(Object.values(i))})}return a}(this.translateService,this.attributionTableData()?.country),i,o,e,this.translateService.instant(this.showAttributionSector?"products.attribution-excel-tabname-sector":"products.attribution-excel-tabname-country"),this.translateService.instant("products.attribution-excel-filename"))},error:a=>{this.logger.error(this.loggerName,"error exporting attribution exl"+a)}})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-fund-attribution"]],hostAttrs:["data-gtm-component","frk-fund-attribution"],inputs:{attributionType:[1,"attributionType"]},outputs:{attributionType:"attributionTypeChange"},features:[t.Vt3],decls:9,vars:8,consts:[[1,"text-ac2-90","text-md","block","text-base","font-normal","leading-5",3,"for"],[1,"select","select--light","select--light-small","mb-3","mr-4"],[3,"ngModelChange","id","ngModel"],[3,"value"],[3,"status"],[1,"ml-4","inline-block"],[1,"toggle-simple","font-normal",3,"for"],[1,"toggle-simple__wrapper"],["type","checkbox",1,"toggle-simple__input","peer",3,"change","checked","id"],[1,"toggle-simple__border"],[1,"toggle-simple__marker"],[1,"grid","grid-rows-1","items-center","md:grid-cols-2","md:gap-2"],[1,"mb-4","mt-4","flex","flex-col","md:w-36","lg:w-40"],[3,"toggleActive","toggleButtons"],[1,"md:m-4"],["type","button",1,"button","button--primary","button--sm","xs:w-full","text-base","font-normal","sm:w-1/3","md:float-right","md:w-[6.13rem]",3,"click","id"],[1,"flex"],[1,"flex-inline","mr-2"],["name","heroArrowDownTray",1,"size-4",3,"size"],[3,"fields","labels","tableData","firstLevelSectorData","firstLevelCountryData","showCurrencyAttribution","showAttributionCountry","showAttributionSector","selectedAsOfDate"]],template:function(a,o){1&a&&(t.j41(0,"label",0),t.EFF(1),t.nI1(2,"translate"),t.k0s(),t.j41(3,"div",1)(4,"select",2),t.bIt("ngModelChange",function(r){return o.onPeriodDateChange(r)}),t.Z7z(5,zo,3,2,"option",3,Pn),t.k0s()(),t.j41(7,"frk-component-status",4),t.DNE(8,Wo,19,24),t.k0s()),2&a&&(t.Y8G("for",o.dateRangeSelectorId),t.R7$(),t.JRh(t.bMT(2,6,"products.attribution-select-timeperiod")),t.R7$(3),t.Y8G("id",o.dateRangeSelectorId)("ngModel",o.selectedAsOfDate()),t.R7$(),t.Dyx(o.periodDates()),t.R7$(2),t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?8:-1))},dependencies:[M.YN,M.xH,M.y7,M.wz,M.BC,M.vS,C.MD,R.ai,hb,d.ComponentStatusComponent,R.zq,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})();const fe=["yearToDate","oneYear","twoYear","threeYear","fourYear","fiveYear","sixYear","sevenYear","eightYear","nineYear","tenYear"],xb={NET:"products.net-of-fees",GROSS:"products.gross-of-fees"};function He(n,s,e){const a={...e?xb:void 0,...s},o=a[n];return o||a[String(n).trim().toUpperCase()]}function Xt(n){for(const s in w.lM)if(w.lM[s]===n)return(0,yt.A)(s);return""}function ut(n,s){const e=Array.isArray(s)?s:[s];let a={};return n.isAllCalcTypeRequiredFromPDS?a=!0:n.availableCalcTypes?.forEach(o=>{const i={};e.forEach(r=>{i[r]=!0}),a[o]=i}),a}function Ue(n,s){return b(n,s).get("year")}function ze(n,s){return b(n,s).get("month")}function Jn(n,s,e,a){let o=n-10,i=[];if(e)for(s<11&&(n-=1,o-=1);n>=o+1;)i.push(n.toString()),n--;else for(;o<n;)i.push(o.toString()),o++;const r=[];return fe.filter(l=>"yearToDate"!==l).forEach((l,c)=>{a.includes(l)||i[c]&&r.push(i[c])}),i=i.filter(l=>!r.includes(l)),i}function We(n,s){const e=[];
1return s.forEach(a=>{n.some(o=>(0,u.a4)(o.data,a))||e.push(a)}),e}function qe(n,s){return n.forEach(e=>{s.forEach(a=>{delete e.data[a]})}),n}function _e(n,s,e){return s===w.lM.TOF&&e.suppressPOPByShareClass&&e.suppressPOPByShareClass.includes(e.productShareClassCode)?n.filter(a=>"POP"!==a.calcNameStd):n}const vb=new Set([w.lM.TOF,w.lM.IF]),Tb={oneYear:"products.timeframes.1-year",threeYear:"products.timeframes.3-years",fiveYear:"products.timeframes.5-years",tenYear:"products.timeframes.10-years",sinceInception:"products.timeframes.since-inception"},Sb={oneYear:"products.timeframes.1-year",threeYear:"products.timeframes.3-years",fiveYear:"products.timeframes.5-years",tenYear:"products.timeframes.10-years",sinceInception:"products.timeframes.since-inception"},yb={oneYear:"products.timeframes.1-year",twoYear:"products.timeframes.2-years",threeYear:"products.timeframes.3-years",fourYear:"products.timeframes.4-years",fiveYear:"products.timeframes.5-years"},Rb={oneYear:1,twoYear:2,threeYear:3,fourYear:4,fiveYear:5};let Kn=(()=>{class n extends U{loggerName="OverviewPerformanceComponent";translateService=(0,t.WQX)(u.c$);tableDataSignal=(0,t.vPA)(null);tableData=this.tableDataSignal.asReadonly();calculationTypeSignal=(0,t.vPA)([]);calculationType=(0,t.EWP)(()=>this.calculationTypeSignal().map(e=>({text:this.translateService.instant(this.getCalcTypeLabelKey(e)).replace("-",""),value:e,isActive:e===this.selectedCalcType()})));getCalcTypeLabelKey(e){return He(e,this.config().calcTypeLabelKeys,this.config().useCustomCalcTypeLabels)||("loaded"===this.productData?.commonData?.status?`products.${Xt(this.productData.commonData.productType)}-performance-calctype-${(0,yt.A)(e)}`:`products.performance-calctype-${(0,yt.A)(e)}`)}selectedCalcTypeSignal=(0,t.vPA)(null);selectedCalcType=this.selectedCalcTypeSignal.asReadonly();selectedPerformanceViewSignal=(0,t.vPA)("DISCRETE");selectedPerformanceView=this.selectedPerformanceViewSignal.asReadonly();performanceViewToggle=(0,t.EWP)(()=>(this.config().availablePerformanceViews??[]).map(e=>({text:this.translateService.instant({DISCRETE:"products.perf-view-discrete",CUMULATIVE:"products.perf-view-cumulative"}[e]),value:e,isActive:e===this.selectedPerformanceView()})));showPerformanceViewToggle=(0,t.EWP)(()=>(this.config().availablePerformanceViews?.length??0)>1);showCalcTypeToggle=(0,t.EWP)(()=>!this.showPerformanceViewToggle());selectedPeriodEndSignal=(0,t.vPA)(null);selectedPeriodEnd=this.selectedPeriodEndSignal.asReadonly();asOfDateSignal=(0,t.vPA)(null);asOfDate=this.asOfDateSignal.asReadonly();isInternational=(0,t.EWP)(()=>!!this.config().isInternationalProduct);shouldHideShareClassName=(0,t.EWP)(()=>{const e=this.productData?.commonData;return"loaded"===e?.status&&"Closed-End Funds"===e.productType});isCardView=(0,t.hFB)(!1);productData=null;availableCalctypes=[];perfInceptionDate="";getSections=e=>(this.logger.debug(this.loggerName,"getSections()",e),e.availableCalcTypes&&(this.availableCalctypes=e.availableCalcTypes),this.handleConfigs(e),this.usesInternationalToggle(e)?{fetchCommonData:!0,fetchShareClass:{fetchShareClassDetail:!0,performance:{performance:{monthEnd:ut(e,["CUMULATIVE","DISCRETE"]),quarterEnd:ut(e,["CUMULATIVE","DISCRETE"])}}}}:{fetchCommonData:!0,fetchShareClass:{fetchShareClassDetail:!0,performance:{performance:{monthEnd:ut(e,"AVG_ANNUAL"),quarterEnd:ut(e,"AVG_ANNUAL")}}}});usesInternationalToggle(e){return!!e.isInternationalProduct}handleConfigs(e){const a="loaded"===this.productData?.commonData?.status?this.productData.commonData.productType:null,o=!!a&&vb.has(a);let r=Array.isArray(this.availableCalctypes)&&this.availableCalctypes.length>0?[...this.availableCalctypes]:[e.defaultCalcType??"POP"];if(o&&(r.includes("POP")||a!==w.lM.MMF))r=["POP",...r.filter(c=>"POP"!==c)],this.selectedCalcTypeSignal.set("POP");else{const c=e.defaultCalcType&&r.includes(e.defaultCalcType)?e.defaultCalcType:r[0]??"POP";this.selectedCalcTypeSignal.set(c)}this.calculationTypeSignal.set(r)}processData=e=>{this.logger.debug(this.loggerName,"processData()",e),this.productData=e,"loaded"===e.shareClass?.detail?.status&&(this.perfInceptionDate=e.shareClass.detail.performanceInceptionDate??"");const a="loaded"===e.commonData?.status?e.commonData.productType:null,o=this.productData.shareClass?.performance?.performance?.
1status;if("loaded"===o){const i=this.productData.shareClass?.performance;if(i&&"loaded"===i.performance?.status&&this.managedAccHandleConfig(i.performance,a),this.config().defaultCalcType){const l=this.config().defaultCalcType;this.availableCalctypes=[...this.availableCalctypes].sort((c,p)=>c.localeCompare(p)),this.availableCalctypes.splice(this.availableCalctypes.indexOf(l),1),this.availableCalctypes.unshift(l)}this.productData.commonData.productType===w.lM.TOF&&this.config().suppressPOPByShareClass?.includes(this.config().productShareClassCode)&&(this.availableCalctypes=this.availableCalctypes.filter(l=>"POP"!==l)),this.handleConfigs(this.config()),this.buildTableData(this.productData),this.status.set(this.tableDataSignal()?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)}else"empty-data"===o?this.status.set(d.ComponentStatus.EMPTY):(this.logger.info(this.loggerName,"processData()","All product sections not loaded."),this.status.set(d.ComponentStatus.ERROR))};managedAccHandleConfig(e,a){if(a===w.lM.MMF){const o=e?.availableCalcTypes.length?e.availableCalcTypes.find(i=>"POP"===i)??e.availableCalcTypes[0]:void 0;this.config().defaultCalcType=o??"POP",this.handleConfigs(this.config())}this.availableCalctypes=e?.availableCalcTypes.length&&this.config().isAllCalcTypeRequiredFromPDS?e.availableCalcTypes:this.config().availableCalcTypes||[]}buildTableData(e){this.usesInternationalToggle(this.config())?this.buildInternationalTableData(e):this.buildAvgAnnualTableData(e)}buildAvgAnnualTableData(e){const a=e?.shareClass?.performance;let o=null;if("loaded"===a?.performance?.status){const p=a.performance[this.selectedPeriodEnd()??"monthEnd"];p&&(o=this.processAvgAnnualTableData([p]))}const i=this.selectedCalcTypeSignal(),r={shareClassName:o?.shareClassName&&"SINGLCLASS"!==o.shareClassName?o.shareClassName:"",asOfDate:o?.asOfDate??"",tableData:o?.tableData[i]??[]},l=this.productData?.commonData,[c]=this.availableCalctypes;if(1===this.availableCalctypes.length&&c&&"loaded"===l?.status){const p=this.translateService.instant(this.getCalcTypeLabelKey(c)).replace("-",""),_=p?"- "+p:"";r.shareClassName=`${o?.shareClassName??""} ${_}`}o&&this.tableDataSignal.set(r)}processAvgAnnualTableData(e){let a,o,i,r;const l=this.selectedCalcTypeSignal(),c={};return e.forEach(p=>{const _=p[l]?.AVG_ANNUAL;if(_&&0!==_.length){if(r=_[0],"loaded"===this.productData?.shareClass?.detail?.status){const E=this.productData.shareClass.detail;a=E.performanceInceptionDate??"",o=E.shareClassName}i=r?.asOfDate??"",this.asOfDateSignal.set(i),c[l]=Object.entries(Tb).filter(([E])=>void 0!==r?.[E]).map(([E,y])=>({label:this.translateService.instant(y),subLabel:"sinceInception"===E?a??"":"",value:this.formatReturnValue(r?.[E])}))}}),{shareClassName:o??"",asOfDate:i??"",tableData:c}}buildInternationalTableData(e){const a=e?.shareClass?.performance;if("loaded"!==a?.performance?.status)return;const o=this.selectedPerformanceView(),i=this.selectedCalcTypeSignal(),r=a.performance[this.selectedPeriodEnd()??"monthEnd"];if(!r)return;const l="loaded"===e?.shareClass?.detail?.status?this.resolveShareClassLabel(e.shareClass.detail):"";"CUMULATIVE"===o?this.buildCumulativeData(r,i,l):this.buildDiscreteData(r,i,l)}resolveShareClassLabel(e){const a=e.shareClassName.trim();return a&&"SINGLCLASS"!==a?a:e.currency}buildCumulativeData(e,a,o){const i=e[a]?.CUMULATIVE;if(!i||0===i.length)return;const r=i[0];if(!r)return;this.asOfDateSignal.set(r.asOfDate);const l=Object.entries(Sb).filter(([c])=>void 0!==r[c]).map(([c,p])=>({label:this.translateService.instant(p),subLabel:"sinceInception"===c?this.perfInceptionDate:"",value:this.formatReturnValue(r[c])}));this.tableDataSignal.set({shareClassName:o,asOfDate:r.asOfDate,tableData:l})}buildDiscreteData(e,a,o){const i=e[a]?.DISCRETE;if(!i||0===i.length)return;const r=i[0];if(!r)return;this.asOfDateSignal.set(r.asOfDate);const l=Object.entries(yb).filter(([c])=>void 0!==r[c]).map(([c,p])=>({label:this.formatDiscreteDateRangeLabel(r.asOfDateStd,Rb[c])??this.translateService.instant(p),subLabel:"",value:this.formatReturnValue(r[c])}));this.config().isInternationalProduct&&this.perfInceptionDate&&l.push({label:this.translateService.instant("products.inception-date"),subLabel:"",value:this.perfInceptionDate}),this.tableDataSignal.set({shareClassName:o,asOfDate:r.asOfDate,tableData:l})}formatDiscreteDateRangeLabel(e,a){if(!e||!a)return null;const i=this.getPreviousYearsDateRange(a,e,P.VF,"MMM-YY")[a-1];return i?`${i.startDate}/${i.endDate}`:null}getPreviousYearsDateRange(e,a,o,i){const r=b(a,o,"en_GB");return r.isValid()?this.buildYearRanges(e,r,i):[]}buildYearRanges(e,a,o){const i=[];for(let r=1;r<=e;
1r++){const l=a.clone().subtract(r,"years").format(o),c=a.clone().subtract(r-1,"years").format(o);i.push({startDate:l,endDate:c})}return i}onChangeCalculation(e){this.selectedCalcTypeSignal.set(e.value),this.buildTableData(this.productData)}onChangePerformanceView(e){this.selectedPerformanceViewSignal.set(e.value),this.buildTableData(this.productData)}formatReturnValue(e){const a=e?String(e).trim():u.BX;return a===u.BX||""===a?u.BX:`${a}%`}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-overview-performance"]],hostAttrs:["data-gtm-component","overview-performance"],inputs:{isCardView:[1,"isCardView"]},features:[t.Vt3],decls:3,vars:2,consts:[["id","overviewPerformance",1,"bg-nc1-0","border-nc1-200","mb-3","rounded-xl","border","p-6","md:mb-4","lg:mb-8","lg:p-8","lg:pb-4"],["type","product-card",3,"status"],[1,"mb-6","flex","flex-col","justify-between","md:flex-row","md:items-start","xl:flex-row"],[1,"text-nc1-950","order-1","mb-0","text-xl","md:order-none","lg:text-xl"],[1,"hidden","font-normal","md:block","xl:block"],["frkScrollToSection","performance",1,"text-pc1-500","order-2","mt-2","flex","items-center","gap-2","text-sm","font-normal","no-underline","md:order-none","md:mt-0",3,"href"],["name","heroArrowDown",1,"size-4",3,"size"],[1,"order-3","block","font-normal","md:hidden"],[1,"mb-8","flex","flex-wrap","items-center","justify-between"],[3,"ngClass","placement"],[3,"toggleButtons"],[1,"border-nc1-200","mb-4","flex","flex-wrap","items-start","border-b","pb-2","md:flex-row","md:items-end"],["id","fundClassName",1,"mb-0","self-end"],["aria-labelledby","fundClassName",1,"flex","list-none","flex-wrap","justify-start","md:justify-between",3,"ngClass"],[1,"text-pc1-800","mx-0","mb-4","mt-0","list-none","py-0","pl-0","pr-8","text-lg","font-bold","md:pr-0","lg:text-2xl"],[1,"font-bold",3,"placement"],[3,"toggleActive","toggleButtons"],[1,"block"]],template:function(a,o){1&a&&(t.j41(0,"section",0)(1,"frk-component-status",1),t.DNE(2,si,23,23),t.k0s()()),2&a&&(t.R7$(),t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?2:-1))},dependencies:[C.MD,C.YU,d.ComponentStatusComponent,d.TranslatePipe,R.zq,d.ProximalComponent,R.ai,d.FragmentLinkPipe,d.ScrollToSectionDirective],encapsulation:2,changeDetection:0})}return n})();var ta=function(n){return n.ADDITIONALINFO="ADDITIONALINFO",n.SALESCHARGESANDFEES="SALESCHARGESANDFEES",n.CHARGESANDFEES="CHARGESANDFEES",n.IDENTIFIERS="IDENTIFIERS",n.BDRINFORMATION="BDRINFORMATION",n.YIELDSANDDISTRIBUTIONS="YIELDSANDDISTRIBUTIONS",n.TRADINGCHARACTERISTICS="TRADINGCHARACTERISTICS",n.FUNDFACTS="FUNDFACTS",n.FUNDRATINGS="FUNDRATINGS",n}(ta||{});const kb=["TRADINGCHARACTERISTICS","FUNDRATINGS","YIELDSANDDISTRIBUTIONS","BDRINFORMATION"];var Jt=function(n){return n.TENK_GROWTH="_10k",n.HUNDRED_REBASE_POINTS="_100",n}(Jt||{});const ge={INST1:"Primary",INST2:"Secondary",INST3:"Tertiary"},Eb={ADDITIONALINFO:{footnote:"overview-fund-info-section",tooltip:"products.overview-fund-info-section-tooltip"},SALESCHARGESANDFEES:{footnote:"overview-sales-charges-section",tooltip:"products.overview-sales-charges-section-tooltip"},CHARGESANDFEES:{footnote:"overview-sales-charges-section",tooltip:"products.overview-sales-charges-section-tooltip"},IDENTIFIERS:{footnote:"overview-identifiers-section",tooltip:"products.overview-identifiers-section-tooltip"},BDRINFORMATION:{footnote:"overview-bdr-identifiers-section",tooltip:"products.overview-bdr-identifiers-section-tooltip"},YIELDSANDDISTRIBUTIONS:{footnote:"overview-distributions-section",tooltip:"products.overview-distributions-section-tooltip"},TRADINGCHARACTERISTICS:{footnote:"overview-trading-characteristics-section",tooltip:"products.overview-trading-characteristics-section-tooltip"},FUNDFACTS:{footnote:"overview-fund-facts-section",tooltip:"products.overview-fund-facts-section-tooltip"}};let ea=(()=>{class n extends U{section;loggerName="FundSummaryDetailsComponent";translateService=(0,t.WQX)(u.c$);productType;summarySectionSignal=(0,t.vPA)(null);summarySection=this.summarySectionSignal.asReadonly();headerSubLabel=(0,t.EWP)(()=>{const e=this.summarySection();return e?e.subLabel?e.subLabel:e.rows.find(o=>"string"==typeof o.subLabel&&o.subLabel.length>0)?.subLabel??"":""});chargesData=(0,t.vPA)(null);getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchCommonData:!0,fetchShareClass:{fetchFundFacts:!0,fetchCharges:!0}});processData=e=>{if(this.logger.debug(this.loggerName,"processData()",e),"loaded"===e.commonData?.status&&(this.productType=e.commonData.productType),"loaded"===e.shareClass?.charges?.status&&this.chargesData.set(e.shareClass.charges),"loaded"===e.shareClass?.fundFacts?.status){const a=this.createSection(e.shareClass.fundFacts.data);a.rows.length?(this.summarySectionSignal.set(a),this.status.set(d.ComponentStatus.LOADED)):(this.logger.info(this.loggerName,"processData()","Summary section has no data."),this.status.set(d.ComponentStatus.EMPTY))}else"empty-data"===e.shareClass?.fundFacts?.status&&(this.logger.debug(this.loggerName,"processData()","Fund Facts from PDS are not available for this fund."),this.status.set(d.ComponentStatus.EMPTY))};createSection(e){const a=this.getSectionalSummaryDetails(e),o=a[0]?.sectionStd,i=Eb[o
1],c={label:this.getSectionLabel(o)||(a[0]?.section??""),viewType:this.getSectionViewType(this.section),rows:[]};if(i?.footnote&&(c.footnote=i.footnote),i?.tooltip&&(c.tooltip=this.translateService.instant(i.tooltip)),a.forEach(p=>{if(!c.subLabel){const _=this.getSectionSubLabel(p);_&&(c.subLabel=_)}if(!this.hideSectionRow(p)){const _={label:this.formatSectionRowLabel(p),value:p.elementValue&&"-"!==p.elementValue?p.elementValue:u.BX,footnote:`overview-${p.elementNameStd}-fund-information`},E=kb.includes(p.sectionStd)?null:this.getSectionRowSubLabel(p);E&&(_.subLabel=E);const y=this.getSectionRowTooltip(p);y&&(_.tooltip=y),c.rows.push(_)}}),"FUNDFACTS"===this.section){const p=this.config().sectionRowAppendList;p?.length&&p.forEach(_=>{c.rows.splice(_.position,0,_.row)})}return c}getSectionLabel(e){if(this.productType===w.lM.SMA&&"FUNDFACTS"===e)return this.translateService.instant("products.section-headings.PRODUCTFACTS");if(this.productType===w.lM._529){if("FUNDFACTS"===e)return this.translateService.instant("products.section-headings.PORTFOLIOFACTS");if("ADDITIONALINFO"===e)return this.translateService.instant("products.section-headings.ADDITIONALPORTFOLIOINFO")}return this.translateService.instant(`products.section-headings.${e}`)}getSectionalSummaryDetails(e){return e.filter(a=>a.sectionStd===this.section).sort((a,o)=>{let i=a.sortOrder,r=o.sortOrder;return a.benchmarkOrder&&(i+=a.benchmarkOrder/100),o.benchmarkOrder&&(r+=o.benchmarkOrder/100),i-r})}getSectionViewType(e){return"FUNDFACTS"===e?"row":"column"}getSectionSubLabel(e){switch(e.sectionStd){case"SALESCHARGESANDFEES":case"CHARGESANDFEES":if("REPORT_DATE"===e.elementNameStd){let a="";return(0,u.a4)(e,"asOfDate")?a=e.asOfDate:(0,u.a4)(e,"elementValue")&&(a=e.elementValue),this.getAsOfDate(a)}break;case"TRADINGCHARACTERISTICS":return this.handleTradingCharacteristicsSection(e);case"FUNDFACTS":if("TOTAL_NET_ASSETS"===e.elementNameStd)return this.getSectionRowSubLabel(e);break;case"YIELDSANDDISTRIBUTIONS":case"FUNDRATINGS":{let a="";return(0,u.a4)(e,"asOfDate")&&(a=e.asOfDate),this.getAsOfDate(a)}}return null}getAsOfDate(e){return""!==e&&"N/A"!==e?`${this.translateService.instant("products.as-of")} ${e}`:null}handleTradingCharacteristicsSection(e){return"DAILY_SHARE_VOLUME"===e.elementNameStd?`${e.asOfDate?`${this.getAsOfDate(e.asOfDate)} `:""}${e.preelemValue?"("+this.translateService.instant("products.updated-"+e.preelemValue)+")":""}`:null}hideSectionRow(e){if(!("SALESCHARGESANDFEES"!==e.sectionStd&&"CHARGESANDFEES"!==e.sectionStd||"REPORT_DATE"!==e.elementNameStd&&"FEE_CONTRACT_VOLUNTARY"!==e.elementNameStd))return!0;if(!("FUNDINFORMATION"!==e.sectionStd&&"ADDITIONALINFO"!==e.sectionStd||"PRIMARY_BENCHMARK"!==e.elementNameStd&&"ADDITIONAL_BENCHMARK"!==e.elementNameStd)){const a=this.config();if(!a.showBenchmark||e.benchmarkOrder>(a.benchmarkCount??Number.MAX_VALUE))return!0}return(this.productType===w.lM.TOF||this.productType===w.lM.IF)&&"ADDITIONALINFO"===e.sectionStd&&"MANAGED_ASSETS"===e.elementNameStd||"BDRINFORMATION"===e.sectionStd&&("Ticker Header"===e.elementNameStd||"Ticker Header"===e.elementName)}formatSectionRowLabel(e){switch(e.elementNameStd){case"PRIMARY_BENCHMARK":case"ADDITIONAL_BENCHMARK":return this.translateService.instant(e.elementName);default:return e.elementName}}getSectionRowSubLabel(e){let a="";return e.asOfDate&&(a+=`${this.translateService.instant("products.as-of")} ${e.asOfDate}`),e.preelemValue&&(a+=` (${this.translateService.instant("products.updated-"+e.preelemValue)})`),a.trim()?a:null}getSectionRowTooltip(e){switch(e.elementNameStd){case"TA_ID_ADM":return this.translateService.tooltip("products.ppss-fi-adm");case"SFDR_category":return this.translateService.tooltip(`products.sfdr-tooltip__${e.elementValueStd}`);case"EXPRATIOWITHWVR_WEB":{const a=this.chargesData();if(a){const o=this.getNetExpenseRatioTooltipContent(a);if(o)return o}return}default:return e.preelemValueStd}}getNetExpenseRatioTooltipContent(e){const a=e.waiverEndDate||u.BX;if(e.waiverType&&"none"!==e.waiverType.toLowerCase()){const o=this.translateService.instant("products.expense-limitation"),i=this.translateService.instant("products.expense-waiver-type"),r=this.translateService.instant("products.expense-limitation-expires");return`<b>${o}</b><br><br>${i}:<b> ${e.waiverType}</b><br>${r}:<b> ${a}</b>`}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-fund-summary-details"]],hostAttrs:["data-gtm-component","fund-summary-details"],inputs:{section:"section"},features:[t.Vt3],decls:3,vars:2,consts:[[1,"bg-nc1-0","border-nc1-200","mb-3","mt-4","rounded-xl","border","p-6","md:mb-4","lg:mb-8","lg:p-8","lg:pb-4"],["type","product-card",3,"status"],[1,"mb-8","flex","gap-1"],[1,"text-nc1-950","mb-0","text-xl","lg:text-2xl"],[1,"block"],[3,"placement","componentId"],[1,"grid","grid-cols-2","gap-x-4","gap-y-4","lg:gap-x-8"],[1,"inline-flex","items-center","gap-1"],[1,"inline"],[1,"relative","flex-shrink-0"],[1,"text-pc1-800","mr-0","text-right"],[1,"hidden","md:block",3,"ariaLabel"],[1,"inline-block","text-sm","font-normal","last:m-0",3,"innerHTML"]],template:function(a,o){1&a&&(t.j41(0,"div",0)(1,"frk-component-status",1),t.DNE(2,ui,9,4),t.k0s()()),2&a&&(t.R
17$(),t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?2:-1))},dependencies:[C.MD,d.ComponentStatusComponent,d.FootnoteComponent,R.b6,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})(),Fb=(()=>{class n extends ea{fundDescription;productTypeName;descriptionLabel=(0,t.vPA)("");descriptionFootnote=(0,t.vPA)("");loggerFundFacts="FundFactsComponent";ngOnInit(){this.fundDescription&&(this.descriptionLabel.set(this.translateService.instant(this.productTypeName===w.lM.SMA?"products.section-heading.strategy-description":this.productTypeName===w.lM._529?"products.section-heading.portfolio-description":"products.overview-fund-description-element-name")),this.descriptionFootnote.set("overview-FUND_FACTS-fund-information")),super.ngOnInit()}createSection(e){let a=super.createSection(e);if(Array.isArray(a.rows)&&a.rows.length>1){const o=[...a.rows],i=o.filter(r=>"string"==typeof r.label&&r.label.toLowerCase().includes("benchmark"));if(i.length>0){const r=o.filter(p=>"string"!=typeof p.label||!p.label.toLowerCase().includes("benchmark")),l=[...i,...r];a={...a,rows:l},this.logger.debug(this.loggerFundFacts,`Reordered rows to place ${i.length} benchmark entries at the start`)}}return a}isBenchmarkRow(e){if(!e)return!1;const o=e.label;return"string"==typeof o&&o.toLowerCase().includes("benchmark")}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-fund-facts"]],hostAttrs:["data-gtm-component","fund-facts"],inputs:{fundDescription:"fundDescription",productTypeName:"productTypeName"},features:[t.Vt3],decls:3,vars:2,consts:[[1,"bg-nc1-0","mb-","border-nc1-200","mb-3","rounded-xl","border","p-8","md:mb-4","lg:mb-8"],["type","product-card",3,"status"],[1,"flex","gap-1"],["data-testid","product-fund-facts-title",1,"text-nc1-950","mb-0","text-xl","lg:text-2xl"],[3,"placement","componentId"],[1,"mb-8","block"],[1,"mb-8"],[1,"grid","grid-cols-1","gap-4","sm:grid-cols-2"],[1,"flex","flex-col",3,"sm:col-span-2"],[1,"border-b-nc1-200","mb-4","flex","h-[30px]","gap-1","border-b-2","pb-2","text-lg","font-bold"],[3,"innerHTML"],[1,"flex","flex-col"],[1,"border-b-nc1-100","mb-2","border-b-2","pb-2","font-bold"],[1,"inline"],[3,"a11yPretext","ariaLabel"],[1,"block"],[1,"text-pc1-800","mb-3","block","text-2xl"],[1,"inline-block","text-sm","font-normal",3,"innerHTML"]],template:function(a,o){1&a&&(t.j41(0,"div",0)(1,"frk-component-status",1),t.DNE(2,fi,10,5),t.k0s()()),2&a&&(t.R7$(),t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?2:-1))},dependencies:[C.MD,d.ComponentStatusComponent,d.FootnoteComponent,R.b6,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})(),na=(()=>{class n{intlService=(0,t.WQX)(B.I);isHollowStar=(0,t.vPA)(!1);rating=(0,t.vPA)(0);stars=(0,t.vPA)([]);ratingLabel=(0,t.EWP)(()=>`products.rating_${this.rating()}-star`);params;emdash=u.BX;ngOnChanges(){if(!this.params?.cellRendererParams)return;const{ratingsPath:e,yearsSinceInception:a}=this.params.cellRendererParams,o=(0,Ut.A)(this.params.rowData,"shareClass[0].inceptionDate",void 0);if(o){const r=new Date(o),l=Number.isNaN(r.getTime())?void 0:this.intlService.toDate(r),c=(0,Oe.d)(this.intlService.today(),a);this.isHollowStar.set(!!l&&l>c)}else this.isHollowStar.set(!1);const i=(0,u.wR)((0,Ut.A)(this.params.rowData,e,"0"));this.rating.set(i||0),this.stars.set(Array.from({length:this.rating()}))}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-morningstar-rating-cell-renderer"]],inputs:{params:"params"},features:[t.OA$],decls:2,vars:2,consts:[[1,"mb-1","flex","gap-[2px]","text-base"],[1,"h-4","w-4"],[1,"mb-0"],[1,"text-nc1-600","pt-1","text-sm"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 95.33 91.92","stroke-width","4",1,"fill-none","stroke-[#f7bc00]"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 95.33 91.92",1,"fill-[#f7bc00]"],["points","65.82 56.74 77.17 91.92 47.66 70.22 18.3 91.92 29.79 56.74 0 34.47 36.6 34.47 47.66 0 58.59 34.47 95.33 34.47 65.82 56.74"],[3,"tooltipTitle","ariaLabel"]],template:function(a,o){if(1&a&&t.DNE(0,xi,7,6)(1,Di,2,1,"span"),2&a){let i,r;t.vxM(null!=(i=o.stars())&&i.length?0:-1),t.R7$(),t.vxM(null!=(r=o.stars())&&r.length?-1:1)}},dependencies:[C.MD,d.TranslatePipe,R.b6],encapsulation:2,changeDetection:0})}return n})(),$b=(()=>{class n{params;paramsSignal=(0,t.vPA)(void 0);emDash=u.BX;ngOnChanges(){this.paramsSignal.set(this.params)}ticker=(0,t.EWP)(()=>this.paramsSignal()?.rowData.shareClass[0]?.identifiers.ticker||u.BX);shareClassName=(0,t.EWP)(()=>this.paramsSignal()?.rowData.shareClass[0]?.shareClassName||u.BX);inceptionDate=(0,t.EWP)(()=>{const e=this.paramsSignal()?.rowData.shareClass[0]?.inceptionDate;return e&&e!==u.BX?b(e,P.VF).format("MM/DD/YYYY"):u.BX});productName=(0,t.EWP)(()=>this.paramsSignal()?.rowData.productName||u.BX);productUrl=(0,t.EWP)(()=>{const e=this.paramsSignal();return e?.rowData&&e.cellRendererParams?.getProductUrl?e.cellRendererParams.getProductUrl(e.rowData):null});static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-product-name-cell-renderer"]],inputs:{params:"params"},features:[t.OA$],decls:10,vars:8,consts:[["data-testid","product-name-cell",1,"flex","flex-col","gap-1"],["data-testid","product-name-link",1,"group-[.frk-theme--dark]:text-nc1-0","text-pc1-500","inline-block","text-base","font-normal","transition-all","duration-300","hover:underline",3,"routerLink"],[1,"font-bold"],["data-testid","inception-date",1,"text-nc1-950","group-[.frk-theme--dark]:text-nc1-0","text-xs"]],template:function(a,o){1&a&&(t.j41(0,"div",0)(1,"a",1)(2,"span"),t.EFF(3),t.j41(4,"span",2),t.EFF(5),t.k0s(),t.DNE(6,vi,1,1),t.k0s()(),t.j41(7,"div",3),t.EFF(8),t.nI1(9,"translate"),t.k0s()()),2&a&&(t.R
17$(),t.Y8G("routerLink",o.productUrl()),t.R7$(2),t.SpI(" ",o.productName()," - "),t.R7$(2),t.JRh(o.ticker()),t.R7$(),t.vxM(o.shareClassName()&&"-"!==o.shareClassName()&&"SINGLCLASS"!==o.shareClassName()&&"N/A"!==o.shareClassName()?6:-1),t.R7$(2),t.Lme(" ",t.bMT(9,6,"products.inception-date"),": ",o.inceptionDate()," "))},dependencies:[C.MD,d.TranslatePipe,Ye.iI,Ye.Wk],encapsulation:2,changeDetection:0})}return n})(),Ab=(()=>{class n{params;get headerName(){return this.params?.headerName??""}get subHeaderName(){const e=this.params?.headerComponentParams;if(!e)return"";const a=e.productsCount;return null==a?"":`${""===a?"0":a} ${e.productsInCategoryText??""}`}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-ratings-header-cell-renderer"]],inputs:{params:"params"},decls:3,vars:2,consts:[[1,"flex","flex-col"],[1,"font-medium"],[1,"text-nc1-600","text-xs","font-normal"]],template:function(a,o){1&a&&(t.j41(0,"div",0),t.DNE(1,Ti,2,1,"span",1)(2,Si,2,1,"span",2),t.k0s()),2&a&&(t.R7$(),t.vxM(o.headerName?1:-1),t.R7$(),t.vxM(o.subHeaderName?2:-1))},encapsulation:2,changeDetection:0})}return n})(),Mb=(()=>{class n{translateService=(0,t.WQX)(u.c$);morningstarCategoryTitle=this.translateService.instant("products.morningstar_category");productsInCategoryText=this.translateService.instant("products.morningstar_funds-in-category");noDataText=this.translateService.instant("products.fund-cmp-performance-no-data");responsiveService=(0,t.WQX)(B.R);isCardView$;isHandheld$;constructor(){this.isHandheld$=this.responsiveService.isHandheld$,this.isCardView$=(0,at.z)([this.responsiveService.isHandheld$,this.responsiveService.isTablet$,this.responsiveService.isMobile$]).pipe((0,vt.T)(([e,a,o])=>e||a||o))}productList=t.hFB.required();getProductUrl=(0,t.hFB)();categoryTitle=t.hFB.required();productCounts=(0,t.EWP)(()=>{const e=this.productList(),a=o=>e.find(i=>{const r=i.shareClass[0]?.ratings[o];return null!=r&&""!==r})?.shareClass[0]?.ratings[o];return{monthEndNoOfFunds3yr:a("monthEndNoOfFunds3yr"),monthEndNoOfFunds5yr:a("monthEndNoOfFunds5yr"),monthEndNoOfFunds10yr:a("monthEndNoOfFunds10yr")}});sortedProductList=(0,t.EWP)(()=>[...this.productList()].sort((a,o)=>{const i=Number(a.shareClass[0]?.ratings.morningStarRatingOverall)||0,r=Number(o.shareClass[0]?.ratings.morningStarRatingOverall)||0;return i!==r?r-i:(a.productName||"").localeCompare(o.productName||"")}));colDefs=(0,t.EWP)(()=>[this.getProductNameColumn(),this.getOverallRatingColumn(),this.getRatingColumn("threeYearRating","pds.MS_RATING_3YR","morningStarRating3yr","monthEndNoOfFunds3yr"),this.getRatingColumn("fiveYearRating","pds.MS_RATING_5YR","morningStarRating5yr","monthEndNoOfFunds5yr"),this.getRatingColumn("tenYearRating","pds.MS_RATING_10YR","morningStarRating10yr","monthEndNoOfFunds10yr")]);getProductNameColumn(){return{field:"productName",headerName:this.translateService.instant("products.morningstar_fund-name-col-header"),cellRenderer:$b,cellRendererParams:{getProductUrl:this.getProductUrl()},valueGetter:e=>e.node.productName||u.BX,isSortable:!0,dataType:"string",widthClass:"w-2/6",isCardTitle:!0}}getOverallRatingColumn(){return{field:"overallRating",headerName:this.translateService.instant("pds.MS_RATING_OVERALL"),cellRenderer:na,cellRendererParams:{ratingsPath:"shareClass[0].ratings.morningStarRatingOverall",yearsSinceInception:3},valueGetter:e=>e.node.shareClass[0]?.ratings.morningStarRatingOverall??"0",isSortable:!0,dataType:"number"}}getRatingColumn(e,a,o,i){const r=this.productCounts()[i],c={morningStarRating3yr:3,morningStarRating5yr:5,morningStarRating10yr:10}[o];return{field:e,headerName:this.translateService.instant(a),headerComponent:Ab,headerComponentParams:{productsCount:r,productsInCategoryText:this.productsInCategoryText},cellRenderer:na,cellRendererParams:{ratingsPath:`shareClass[0].ratings.${o}`,yearsSinceInception:c},valueGetter:p=>p.node.shareClass[0]?.ratings[o]??"0",subHeaderCard:()=>r&&Number(r)>0?`<span class="text-nc1-600">${r} ${this.productsInCategoryText}</span>`:"",isSortable:!0,dataType:"number"}}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-morningstar-ratings-table"]],hostAttrs:["data-gtm-component","morningstar-ratings-table"],inputs:{productList:[1,"productList"],getProductUrl:[1,"getProductUrl"],categoryTitle:[1,"categoryTitle"]},decls:3,vars:2,consts:[["data-testid","morningstar-ratings-container"],["data-testid","morningstarCategories",1,"pb-4","text-lg","font-bold","md:text-2xl"],["data-testid","morningstar-ratings-table","tableTheme","primary",3,"rowData","colDefs","isStickyHeader","isCardView","isMobile","showMoreTxt","showLessTxt"],["data-testid","no-data-message",1,"no-data-message"]],template:function(a,o){if(1&a&&(t.j41(0,"div",0),t.DNE(1,yi,2,2,"h3",1)(2,Ei,2,1),t.k0s()),2&a){let i,r;t.R7$(),t.vxM((i=o.categoryTitle())?1:-1,i),t.R7$(),t.vxM((r=o.sortedProductList())?2:-1,r)}},dependencies:[C.MD,C.Jj,d.DynamicTableComponent,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})(),Pb=(()=>{class n extends U{loggerName="ProductInformationPanelComponent";itemsSignal=(0,t.vPA)([]);get items(){return this.itemsSignal.asReadonly()}getSections=()=>({fetchShareClass:{fetchSummary:!0}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e),this.itemsSignal.set([{label:"Total Assets",val:"$74.86 Billion",labelSmallText:"As of Date: 08/31/2024"},{label:"Current Yield",val:"3.29%",labelSmallText:"As of Date: 08/31/2024"},{label:"Gross Expense Ratio",val:"0.47%",labelSmallText:"As of Date: 08/31/2024"},{label:"Distribution Rate at NAV",val:"5.62%",labelSmallText:"As of 09/12/2024 (Updated Daily)"}]),this.status.set(d.ComponentStatus.LOADED)};static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-product-information-panel"]],hostAttrs:["data-gtm-component","product-information-panel"],features:[t.Vt3],decls:2,vars:2,consts:[["type","product-card",3,"status"],[1,"mb-4","flex","justify-between"],[1,"rounded-2xl","text-2xl","font-bold"],[3,"href"],[1,"border-b-nc1-200","mb-4","border-b-2","pb-2","text-lg","font-bold"],[1,"mb-8"],[1,"grid","grid-cols-2","grid-rows-2","gap-4"],[1,"border-b-nc1-100","mb-2","border-b-2","pb-2","font-bold"],[1,"text-pc1-800","mb-3","block","text-2xl"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,$i,12,2),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[d.ComponentStatusComponent],encapsulation:2,changeDetection:0})}return n})();function Ct(n,s,e,a){return{allocationHeading:n.allocationHeading||a.instant(`products.portfolio-${n.baseLabelKey}-heading`),asOfDate:n.asOfDate,calculationBasis:n.calculationBasis,calculationType:n.calculationType,updateFrequency:n.updateFrequency,tooltip:s?.tooltipDescription?s:void 0,caveat:e}}function Ce(n,s,e,a){let o="";return!0===e&&(o+="-derivatives-yes"),!1===e&&(o+="-derivatives-no"),!0===a&&(o+="-cash-yes"),!1===a&&(o+="-cash-no"),s&&(o+="-calc-basis-"+s.toLowerCase()),o?`${n}-with${o}`:null}function kt(n,s){const{baseLabelKey:e,allocationFlag:a,hasDerivatives:o,hasCurrency:i}=n,r=Ce(e??void 0,a??void 0,o??void 0,i??void 0),c=r?`products.portfolio-${r}-heading`:"",p=s.tooltip(`products.portfolio-${n.baseLabelKey}-heading`),_=s.tooltip(c);let E="";return p&&(E+=`<p class="last:m-0">${p}</p>`),_&&(E+=`<p class="last:m-0">${_}</p>`),E}function ht(n){const{baseLabelKey:s,allocationFlag:e,hasDerivatives:a,hasCurrency:o}=n,i=Ce(s??void 0,e??void 0,a??void 0,o??void 0);return{proximalTopPlacement:`${s}-proximal-top`,proximalBottomPlacement:`${s}-proximal-bottom`,secondaryProximalTopPlacement:i?`${i}-proximal-top`:null,secondaryProximalBottomPlacement:i?`${i}-proximal-bottom`:null}}function bt(n){const{baseLabelKey:s,allocationFlag:e,hasDerivatives:a,hasCurrency:o,allocationHeading:i}=n,r=Ce(s??void 0,e??void 0,a??void 0,o??void 0);return{caveatPlacement:"Manager Allocations"===i?"manager-allocation-caveat":`portfolio-${s}-caveat`,secondaryCaveatPlacement:r?`portfolio-${r}-caveat`:void 0}}function Qe(n,s,e){const a={name:[],xAxis:[],yAxisNetExposure:[],yAxisGrossExposure:[]};return n.data&&n.data.forEach(i=>
1{a.xAxis.push(i.label),a.yAxisGrossExposure.push({name:i.grossExposure??"",y:i.grossExposureStd??0}),a.yAxisNetExposure.push({name:i.netExposure??"",y:i.netExposureStd??0})}),{name:s,xAxis:a.xAxis,yAxis:[{plots:a.yAxisGrossExposure,tooltip:{headerFormat:"",pointFormatter(){return`<strong style='font-size:14px;'>${this.category}</strong>\n <br />\n ${e.instant("products.gross-exposure")}:\n ${this.name}`}}},{plots:a.yAxisNetExposure,tooltip:{headerFormat:"",pointFormatter(){return`<strong style='font-size:14px;'>${this.category}</strong>\n <br />\n ${e.instant("products.net-exposure")}: ${this.name}`}}}]}}function Et(n,s,e,a,o){const i={name:[],xAxis:[],yAxisBreakdown:[],yAxisBenchmark:[]};s.data&&s.data.forEach(l=>{i.xAxis.push(l.label),i.yAxisBreakdown.push({name:l.breakdown??"",y:l.breakdownStd??0}),!1!==e&&i.yAxisBenchmark.push({name:l.benchmark??"",y:l.benchmarkStd??0})});const r={name:o,xAxis:i.xAxis,yAxis:[{plots:i.yAxisBreakdown,tooltip:{headerFormat:"",pointFormatter(){return`\n <strong style='font-size:14px;'>${this.category}</strong>\n <br />`+(e?`<span style='font-size:14px;color:${this.color}'>\u25cf</span> ${a?.instant("products.fund",n)}: ${this.name}`:`${this.name}`)}}}]};return e&&r.yAxis.push({plots:i.yAxisBenchmark,tooltip:{headerFormat:"",pointFormatter(){return`\n <strong style='font-size:14px;'>${this.category}</strong>\n <br />\n <span style='font-size:14px;color:${this.color}'>\u25cf</span> ${a?.instant("products.benchmark")}: ${this.name}\n `}}}),r}let wb=(()=>{class n extends U{loggerName="TopFiveSectorsComponent";translateService=(0,t.WQX)(u.c$);tooltipSignal=(0,t.vPA)({tooltipTitle:"",placement:J.Qy.AUTO,tooltipDescription:void 0});tooltip=this.tooltipSignal.asReadonly();proximalsSignal=(0,t.vPA)(null);proximals=this.proximalsSignal.asReadonly();headingSignal=(0,t.vPA)(null);heading=this.headingSignal.asReadonly();asOfLabelSignal=(0,t.vPA)(null);asOfLabel=this.asOfLabelSignal.asReadonly();showNavLinkSignal=(0,t.vPA)(!1);showNavLink=this.showNavLinkSignal.asReadonly();tableRowsSignal=(0,t.vPA)(null);tableRows=this.tableRowsSignal.asReadonly();isNegativeValueExist=(0,t.EWP)(()=>{const e=this.tableRows();return!!e&&e.some(a=>a.roundedPercent<0)});getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchPortfolio:{hasTopFiveSectors:!0}});processData=e=>{if(this.logger.debug(this.loggerName,"processData()",e),(0,u.Ei)(e.productId))this.status.set(d.ComponentStatus.EMPTY);else switch(e.portfolio?.topFiveSectorAllocation?.status){case"loaded":{const a=e.portfolio.topFiveSectorAllocation.topSectors;this.headingSignal.set(a[0]?.allocationHeading??null),this.asOfLabelSignal.set(this.generateAsOfLabel(a[0])),this.showNavLinkSignal.set(this.config().availableTabs?.includes("portfolio")??!1),this.tableRowsSignal.set(this.generateTableRowData(a)),this.tooltipSignal.set({tooltipTitle:"",tooltipDescription:kt(a[0],this.translateService),placement:J.Qy.AUTO}),this.proximalsSignal.set(ht(a[0])),this.status.set(d.ComponentStatus.LOADED);break}case"error-data-loading":this.logger.error(this.loggerName,"processData()","All product sections not loaded."),this.status.set(d.ComponentStatus.ERROR);break;default:this.status.set(d.ComponentStatus.EMPTY)}};generateTableRowData(e){return e.map(a=>({label:a.sectorName,value:a.breakdown,roundedPercent:Number(Number(a.breakdownStd).toFixed()),widthPercent:this.calculateWidthPercent(Number(Number(a.breakdownStd).toFixed(2)))}))}calculateWidthPercent(e){return e>=0?Math.min(1*e,100):Math.min(1*Math.abs(e),100)}generateAsOfLabel(e){const a=`${this.translateService.instant("pds.PERF_AS_OF_DATE")} ${e.asofDate}`;let o;o=["ASSET"].includes(e.calcName)?` ${e.calcTypeLocal}`:` ${e.calcName}`;const r=e.calcBasisLocal?e.calcBasisLocal:"";return a+(r?" - ":"")+r+o+(e.frequency?` (${this.translateService.instant("products.updated-"+e.frequency)})`:"")}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-top-five-sectors"]],hostAttrs:["data-gtm-component","frk-top-five-sectors"],features:[t.Vt3],decls:3,vars:2,consts:[["negativeTemplate",""],["positiveTemplate",""],[1,"border-nc1-200","rounded-xl","border","p-6","md:mb-4","lg:mb-8","lg:p-8","lg:pb-4"],["type","product-card",3,"status"],[1,"flex","flex-col","items-start","gap-1","
1sm:flex-col","sm:items-baseline","md:flex-row","md:justify-between","lg:flex-row","lg:justify-between"],[1,"flex"],[1,"text-xl","font-bold","sm:mb-1","md:mb-0","lg:mb-0","lg:text-2xl"],["placement","OverviewTopFiveSectors",3,"componentId"],[1,"py-2",3,"ariaLabel"],[1,"font-normal","last:m-0",3,"innerHTML"],["frkScrollToSection","portfolio",1,"text-pc1-500","flex","items-center","gap-2","text-sm","font-normal","no-underline",3,"href"],["data-testid","as-of-label",1,"text-nc1-600","mb-4","text-sm","font-normal"],[3,"placement"],["name","heroArrowDown",3,"size"],[1,"sm:mt-6","md:mt-8","lg:mt-8"],[1,"space-y-4"],[1,"w-full"],[1,"mb-2","flex","justify-between","text-sm"],[1,"font-normal"],[1,"font-bold"],[1,"bg-nc1-50","relative","h-4","overflow-hidden","rounded"],[1,"bg-nc1-400","absolute","left-1/2","top-0","z-20","h-4","w-0.5","-translate-x-0.5","transform"],[1,"absolute","inset-0","flex","items-center"],[1,"flex","h-4","w-1/2","justify-end"],[1,"h-4","rounded-l-full","transition-all","duration-300","ease-in-out",3,"ngClass","width"],[1,"flex","h-4","w-1/2","justify-start"],[1,"h-4","rounded-r-full","transition-all","duration-300","ease-in-out",3,"ngClass","width"],[1,"h-4","rounded-l-full","transition-all","duration-300","ease-in-out",3,"ngClass"],[1,"h-4","rounded-r-full","transition-all","duration-300","ease-in-out",3,"ngClass"],[1,"bord","w-full","border-separate","border-spacing-y-4"],[1,"hidden"],["colspan","2"],[1,"bg-nc1-50","h-4","rounded-r"],[1,"h-4","max-w-full","rounded-r",3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(a,o){1&a&&(t.j41(0,"div",2)(1,"frk-component-status",3),t.DNE(2,ji,19,19),t.k0s()()),2&a&&(t.R7$(),t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?2:-1))},dependencies:[C.MD,C.YU,C.T3,d.ComponentStatusComponent,d.TranslatePipe,R.zq,d.FootnoteComponent,d.ProximalComponent,R.b6,d.FragmentLinkPipe,d.ScrollToSectionDirective],encapsulation:2,changeDetection:0})}return n})(),aa=(()=>{class n{rows=t.hFB.required();asOfDate=t.hFB.required();showBenchmark=(0,t.hFB)(!1);currentPageSignal=(0,t.vPA)(0);currentPage=this.currentPageSignal.asReadonly();totalPages=(0,t.EWP)(()=>Math.ceil(this.rows().length/12));pageRows=(0,t.EWP)(()=>{const e=12*this.currentPageSignal();return this.rows().slice(e,e+12)});goToPage(e){e>=0&&e<this.totalPages()&&this.currentPageSignal.set(e)}onPaginationChanged(e){"load"!==e.action&&this.goToPage(e.page-1)}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-avg-monthly-returns-table"]],hostAttrs:["data-gtm-component","avg-monthly-returns-table"],inputs:{rows:[1,"rows"],asOfDate:[1,"asOfDate"],showBenchmark:[1,"showBenchmark"]},decls:1,vars:1,consts:[[1,"overflow-x-auto"],[1,"table","w-full"],[1,"hidden"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[3,"pages","activePage"],[1,"text-right"],[3,"pageChanged","pages","activePage"]],template:function(a,o){1&a&&t.DNE(0,Hi,21,18,"div"),2&a&&t.vxM(o.rows().length>0?0:-1)},dependencies:[C.MD,d.TranslatePipe,R.eK],encapsulation:2,changeDetection:0})}return n})();b.extend(wt);const Ze={yearToDate:"products.timeframes.ytd",oneMonth:"products.timeframes.1-month",threeMonth:"products.timeframes.3-months",sixMonth:"products.timeframes.6-months",oneYear:"products.timeframes.1-year",threeYear:"products.timeframes.3-years",fiveYear:"products.timeframes.5-years",tenYear:"products.timeframes.10-years",fifteenYear:"products.timeframes.15-years",sinceInception:"products.timeframes.since-inception",custom:"products.timeframes.custom"},Tn=["oneYear","threeYear","fiveYear","tenYear","fifteenYear"],Sn=["oneYear","twoYear","threeYear","fourYear","fiveYear","sevenYear","tenYear","fifteenYear","twentyYear","twentyFiveYear","thirtyFiveYear"],yn=["oneYear","twoYear","threeYear","fourYear","fiveYear","sixYear","sevenYear","eightYear","nineYear","tenYear"];let Kt=(()=>{class n extends U{logger;loggerName="PerformanceAllShareClassComponent";isCardView=(0,t.hFB)(!1);tabId=(0,t.hFB)("AVG_ANNUAL");showYearColumns=(0,t.hFB)(!1);translateService=(0,t.WQX)(u.c$);previousSelectedPeriodEnd=null;constructor(e){super(e),this.logger=e,(0,t.QZP)(()=>{this.handlePeriodEndChange()})}handlePeriodEndChange(){const a=this.config().selectedPeriodEnd??"monthEnd";this.shouldUpdatePeriodEnd(a)&&this.updatePeriodEndAndTable(a),this.previousSelectedPeriodEnd=a}shouldUpdatePeriodEnd(e){return null!==this.previousSelectedPeriodEnd&&e!==this.previousSelectedPeriodEnd}updatePeriodEndAndTable(e){this.logger.debug(this.loggerName,"Config selectedPeriodEnd changed from",this.previousSelectedPeriodEnd,"to",e),this.selectedPeriodEndSignal.set(e),this.productData&&this.handleTableData()}isExpandedSignal=(0,t.vPA)(!1);isExpanded=this.isExpandedSignal.asReadonly();periodEndsSignal=(0,t.vPA)([]);periodEnds=(0,t.EWP)(()=>this.periodEndsSignal().map(e=>({text:this.translateService.instant("monthEnd"===e?"products.month-end":"products.quarter-end"),value:e,isActive:e===this.selectedPeriodEnd()})));selectedPeriodEndSignal=(0,t.vPA)(null);selectedPeriodEnd=this.selectedPeriodEndSignal.asReadonly();tableDataSignal=(0,t.vPA)(null);tableData=this.tableDataSignal.asReadonly();asOfDateSignal=(0,t.vPA)(null);asOfDate=this.asOfDateSignal.asReadonly();productData=null;availableCalcTypes=[];previousConfig=null;cardClosedStateSignal=(0,t.vPA)(void 0);cardClosedState=this.cardClosedStateSignal.asReadonly();initializeConfigSubscription(){this.config$.pipe((0,ot.n)(e=>{const a=this.previousConfig&&e.productShareClassCode===this.previousConfig.productShareClassCode&&e.selectedPeriodEnd!==this.previousConfig.selectedPeriodEnd;if(this.previousConfig={...e},a&&this.productData){this.logger.debug(this.loggerName,"Only period end changed, skipping data reload");const o=this.productData;return new ct.c(i=>{i.next(o),i.complete()})}return this.loadProductDetails$(e)}),(0,H.pQ)(this.destroyRef)).subscribe({next:this.handleProductData.bind(this),error:this.handleSubscriptionError.bind(this)})}getSections=e=>(this.logger.debug(this.loggerName,"config",e),this.handleConfigs(e),this.get
1SectionImpl(e));currentShareClassCode="";handleConfigs(e){this.periodEndsSignal.set(e.periodEnds??["monthEnd"]),this.selectedPeriodEnd()||this.selectedPeriodEndSignal.set(e.selectedPeriodEnd??"monthEnd")}getSectionImpl(e){return{fetchCommonData:!0,fetchShareClass:{fetchShareClassDetail:!0,performance:{performance:{monthEnd:ut(e,this.tabId()),quarterEnd:ut(e,this.tabId())}}}}}loadProductDetails$(e){return this.currentShareClassCode=e.productShareClassCode.split(/-(.*)/,2)[1],this.products.getAllShareClasses$(this.config().productShareClassCode.split(/-(.*)/,2)[0],this.getSections(e),this.isProgressiveLoading).pipe((0,et.W)(a=>this.errorHandler(a)))}processData=e=>{this.logger.debug(this.loggerName,"processData()",e),this.productData=e;const a=this.productData.allShareClass?.map(o=>o.performance);"loaded"===this.productData.commonData?.status&&a.length>0?(this.config().defaultCalcType&&(this.availableCalcTypes=[this.config().defaultCalcType]),this.handleTableData(),this.status.set(d.ComponentStatus.LOADED)):(this.logger.info(this.loggerName,"processData()","All product sections not loaded."),this.status.set(d.ComponentStatus.ERROR))};handleTableData(){const e={cols:[],rows:[]};this.processFundTableData(e),this.finalizeTableData(e)}processFundTableData(e){let a=!1;this.productData?.allShareClass?.forEach(o=>{if(this.shouldSkipShareClass(o))return;const i=this.getFilteredPerformanceData(o);!i||0===i.length||(!a&&i[0]&&(this.initializeTableColumns(e,i[0]),a=!0),this.addFundRowsToTable(e,i,o))})}shouldSkipShareClass(e){return e.shareClassCode===this.currentShareClassCode||"loaded"===e.detail?.status&&!e.detail.isActive||"loaded"!==e.performance?.performance?.status}getFilteredPerformanceData(e){const a=e.performance?.performance;if(!a||"loaded"!==a.status)return null;const o=this.filterPerfFromProductData(a);return o.length>0&&o[0]?o:null}initializeTableColumns(e,a){this.setAsOfDateFromData(a),this.generateTableColumns(e,a)}setAsOfDateFromData(e){this.asOfDateSignal.set(e.asOfDateStd?e.asOfDateStd:null)}generateTableColumns(e,a){const o=this.periodEnds().find(c=>c.value===this.selectedPeriodEnd())?.text,i=this.translateService.instant("products.as-of"),r=a.asOfDateStd?b(a.asOfDateStd,P.VF).format("MM/DD/YYYY"):"";e.cols.push({label:`${o} (${i} ${r})`},...this.createPerformanceColumns(),{label:this.translateService.instant("products.inception-date")},{label:"Fund Overview"})}createPerformanceColumns(){if(this.showYearColumns()&&("AVG_ANNUAL"===this.tabId()||"CALENDAR_YEAR"===this.tabId()))return this.createDiscreteYearColumns();const a=Object.keys(Ze).filter(i=>"custom"!==i),o=this.showYearColumns()?this.calculateYearColumnLabels():null;return a.map(i=>{const r=Ze[i];let l=r?this.translateService.instant(r):"";if(this.showYearColumns()&&o&&Tn.includes(i)){const c=Tn.indexOf(i);o[c]&&(l=o[c])}return{label:l}})}createDiscreteYearColumns(){const e=[],a=this.asOfDate();if(!a)return e;const o="CALENDAR_YEAR"===this.tabId()?yn:Sn,i=Ue(a,P.VF),r=ze(a,P.VF);let l=i;return r<11&&(l=i-1),e.push({label:this.translateService.instant("products.timeframes.ytd")}),o.forEach((c,p)=>{const _=(l-p).toString();e.push({label:_})}),"AVG_ANNUAL"===this.tabId()&&e.push({label:this.translateService.instant("products.timeframes.since-inception")}),e}calculateYearColumnLabels(){const e=this.asOfDate();if(!e)return[];const a=Ue(e,P.VF),o=ze(e,P.VF);let i=a;return o<11&&(i=a-1),Tn.map(l=>{let c=0;switch(l){case"oneYear":c=1;break;case"threeYear":c=3;break;case"fiveYear":c=5;break;case"tenYear":c=10;break;case"fifteenYear":c=15}return(i-c+1).toString()})}addFundRowsToTable(e,a,o){e.rows.push(...this.generateTableRows(a,o))}finalizeTableData(e){const a=this.removeEmptyColumns(e);a.rows.sort((o,i)=>{const r=String(o[0]?.value||"").toLowerCase(),l=String(i[0]?.value||"").toLowerCase();return r.localeCompare(l)}),this.cardClosedStateSignal.set(Array(Math.max(a.rows.length,0)).fill(!0)),this.tableDataSignal.set(a),this.status.set(d.ComponentStatus.LOADED)}removeEmptyColumns(e){return e.rows&&0!==e.rows.length&&e.cols?!this.showYearColumns()||"AVG_ANNUAL"!==this.tabId()&&"CALENDAR_YEAR"!==this.tabId()?this.removeEmptyCumulativeColumns(e):this.removeEmptyDiscreteYearColumns(e):e}removeEmptyCumulativeColumns(e){const a=Object.keys(Ze).filter(c=>"custom"!==c),o=this.adaptTableDataToUtilFormat(e.rows,a),i=We(o,a);return 0===i.length?e:(qe(o,i),{cols:this.filterColumns(e.cols,a,i),rows:this.filterRows(e.rows,a,i)})}filterColumns(e,a,o){return e.filter((i,r)=>{if(0===r||r>=e.length-2)return!0;const l=a[r-1];return!l||!o.includes(l)})}filterRows(e,a,o){return e.map(i=>i.filter((r,l)=>{if(0===l||l>=i.length-2)return!0;const c=a[l-1];return!c||!o.includes(c)}))}removeEmptyDiscreteYearColumns(e){const a=this.getDiscreteYearColumnKeys(),o=this.createSyntheticColumnKeys(a),i=this.adaptDiscreteYearRows(e.rows,o),r=We(i,o);return 0===r.length?e:(qe(i,r),{cols:this.filterDiscreteYearColumns(e.cols,o,r),rows:this.filterDiscreteYearRows(e.rows,o,r)})}getDiscreteYearColumnKeys(){return"CALENDAR_YEAR"===this.tabId()?yn:Sn}createSyntheticColumnKeys(e){const a=["yearToDate"];return e.forEach((o,i)=>{a.push(`col_${i}`)}),"AVG_ANNUAL"===this.tabId()&&a.push("sinceInception"),a}adaptDiscreteYearRows(e,a){return e.map(o=>{const i={};return a.forEach((r,l)=>{const c=l+1,p=o[c]?.value;i[r]=null!=p?String(p):""}),{data:i}})}filterDiscreteYearColumns(e,a,o){return e.filter((i,r)=>{if(0===r||r>=e.length-2)return!0;const c=a[r-1];return!c||!o.includes(c)})}filterDiscreteYearRows(e,a,o){return e.map(i=>i.filter((r,l)=>{if(0===l||l>=i.length-2)return!0;
1const p=a[l-1];return!p||!o.includes(p)}))}adaptTableDataToUtilFormat(e,a){return e.map(o=>{const i={};return a.forEach((r,l)=>{const c=o[l+1]?.value;"string"==typeof c&&(i[r]=c)}),{data:i}})}filterPerfFromProductData(e){const a=this.processFundPerformanceData(e),o=this.productData?.commonData;return _e(a,o.productType,this.config())}processFundPerformanceData(e){const a=this.config().defaultCalcType??"POP",o=this.getSortedCalcTypes(a),i=[];return o.forEach(r=>{const l=this.extractAllSHPerfData(e,r);l&&i.push(...l)}),i}extractAllSHPerfData(e,a){const o=this.selectedPeriodEnd()??"monthEnd";if(e[o]?.[a]?.[this.tabId()])return e[o][a][this.tabId()]}getSortedCalcTypes(e){const a=[e];return a.push(...this.availableCalcTypes.filter(o=>o!==e)),a}generateTableRows(e,a){const o=[];return e.forEach(i=>{const r=this.createRowData(i,a);o.push(r)}),o}createRowData(e,a){const o=this.getShareClassLabel(a,e),i=this.generateProductPageUrl(a),r=this.getPerformanceInceptionDate(a);return!this.showYearColumns()||"AVG_ANNUAL"!==this.tabId()&&"CALENDAR_YEAR"!==this.tabId()?this.generateCumulativeRow(e,o,r,i):this.generateDiscreteYearRow(e,o,r,i)}getShareClassLabel(e,a){const i=("loaded"===e.detail?.status?e.detail.shareClassName:void 0)||e.shareClassCode||u.BX,r=a.calcNameStd?this.getCalcTypeLabel(a.calcNameStd):"";return r?`${i} ${r}`:i}getPerformanceInceptionDate(e){return"loaded"!==e.detail?.status?u.BX:e.detail.performanceInceptionDate?e.detail.performanceInceptionDate:e.detail.performanceInceptionDateStd?b(e.detail.performanceInceptionDateStd,P.VF).format("MM/DD/YYYY"):u.BX}generateCumulativeRow(e,a,o,i){return[{value:a},...Object.keys(Ze).filter(l=>"custom"!==l).map(l=>({value:e[l]||u.BX})),{value:o},{value:"View",isLink:!0,linkUrl:i}]}generateDiscreteYearRow(e,a,o,i){const r=[],l="CALENDAR_YEAR"===this.tabId()?yn:Sn;return r.push({value:a},{value:e.yearToDate||u.BX}),l.forEach(c=>{r.push({value:e[c]||u.BX})}),"AVG_ANNUAL"===this.tabId()&&r.push({value:e.sinceInception||u.BX}),r.push({value:o}),r.push({value:"View",isLink:!0,linkUrl:i}),r}getCalcTypeLabel(e){return{POP:this.translateService.instant("products.529-performance-calctype-pop")+" (%)",NET:this.translateService.instant("products.529-performance-calctype-net")+" (%)"}[e]||""}generateProductPageUrl(e){try{const a=this.extractUrlParameters(e);if(!a)return"#";const o=this.config().getProductPageUrl;return o?o(a)||"#":this.buildFallbackUrl(a)}catch(a){return this.logger.error(this.loggerName,"Error generating product page URL",a),"#"}}extractUrlParameters(e){const a=this.productData?.productId,o=e.shareClassCode;return a&&o?{fundId:a,shareClassCode:o,fundName:"loaded"===this.productData?.commonData?.status?this.productData.commonData.productName:void 0,identifier:"loaded"===e.identifiers?.status&&e.identifiers.ticker&&"-"!==e.identifiers.ticker?e.identifiers.ticker:void 0}:(this.logger.warn(this.loggerName,"Missing fundId or shareClassCode for URL generation"),null)}buildFallbackUrl(e){let a=`/products/${e.fundId}/${e.shareClassCode}`;return e.fundName&&(a+=`/${encodeURIComponent(e.fundName.trim())}`),e.identifier&&(a+=`/${e.identifier}`),a}toggleCard(e){const a=this.cardClosedState();a?.length&&(a[e]=!a[e],this.cardClosedStateSignal.set(a))}toggleExpanded(){this.isExpandedSignal.set(!this.isExpanded())}onPeriodEndChange(e){e!==this.selectedPeriodEnd()&&(this.selectedPeriodEndSignal.set(e),this.handleTableData())}static \u0275fac=function(a){return new(a||n)(t.rXU(B.L))};static \u0275cmp=t.VBU({type:n,selectors:[["frk-performace-all-shareclass"]],hostAttrs:["data-gtm-component","frk-performace-all-shareclass"],inputs:{isCardView:[1,"isCardView"],tabId:[1,"tabId"],showYearColumns:[1,"showYearColumns"]},features:[t.Vt3],decls:4,vars:2,consts:[["cardView",""],[3,"status"],[1,"performance-all-shareclass","border-nc1-200","mb-8","mt-8","rounded-xl","border","border-solid"],["type","button",1,"relative","flex","w-full","items-center","justify-between","bg-gray-50","p-4","text-left","hover:bg-gray-100","focus:bg-gray-100",3,"click"],[1,"text-pc1-800","mb-0","text-2xl","font-bold"],["aria-hidden","true",1,"transform","transition-transform",3,"name","size"],[1,"border-nc1-200","absolute","left-4","right-4","border","border-solid"],[1,"transition-all","duration-300","ease-in-out"],[1,"bg-white"],[1,"p-4"],[1,"overflow-x-auto"],[1,"table"],[1,"border-nc1-200","mt-4","flex","h-full","items-center","rounded-xl","border","p-8"],[1,"sr-only"],["scope","col",3,"ngClass"],[3,"ngClass"],[1,"text-blue-600","underline","hover:text-blue-800",3,"href"],[3,"placement","componentId"],[1,"mb-0","text-base"],[4,"ngTemplateOutlet"],[1,"allshare-class-cards"],[1,"border-nc1-200","mb-3","rounded-xl","border","border-solid"],["type","button",1,"text-nc1-0","flex","w-full","items-center","justify-between","rounded-b-xl","px-4","py-2","text-left","text-sm",3,"click"],[1,"flex","justify-between","rounded-t-xl","p-2",3,"id","bg-nc1-100","text-nc1-950","bg-pc1-800","text-nc1-0"],[1,"flex","justify-between","rounded-t-xl","p-2",3,"id"],[1,"flex","items-center","gap-2","font-bold"],[1,"m-0","block",3,"id"],[1,"border-nc1-200","grid","w-full","grid-cols-2","gap-2","border-b"],[1,"col-div-1","p-4"],[1,"flex","items-center","text-base","font-bold"],[1,"col-div-1","p-4","font-normal"],[1,"gap-1","text-base","md:flex","md:items-center"],[1,"font-bold"],["name","heroChevronUp","aria-hidden","true",3,"size"],["name","heroChevronDown","aria-hidden","true",3,"size"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",1),t.DNE(1,ls,10,24,"div",2),t.k0s(),t.DNE(2,_s,3,0,"ng-template",null,0,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,C.T3,d.ComponentStatusComponent,d.FootnoteComponent,R.zq,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})();function oa(n){const s=function Gb(n){return new Set(n)}(n.configuredColumns);return function Nb(n){return!!(n.fiveYearAgoDate&&n.productType===w.lM.SMA&&n.performanceInceptionDateStd&&n.performanceInceptionDateStd>n.fiveYearAgoDate)}(n)||(s.delete("twoYear"),s.delete("fourYear")),[...s]}b.extend(wt);const ia={oneYear:"products.timeframes.1-year",twoYear:"products.timeframes.2-years",threeYear:"products.timeframes.3-years",fourYear:"products.timeframes.4-years",fiveYear:"products.timeframes.5-years",sevenYear:"products.timeframes.7-years",tenYear:"products.timeframes.10-years",fifteenYear:"products.timeframes.15-years",t
1wentyYear:"products.timeframes.20-years",twentyFiveYear:"products.timeframes.25-years",thirtyFiveYear:"products.timeframes.35-years",sinceInception:"products.timeframes.since-inception"};let Yb=(()=>{class n extends U{loggerName="AvgAnnualTotalReturnsComponent";intlService=(0,t.WQX)(B.I);translateService=(0,t.WQX)(u.c$);dateLocalizationHelper=new u.eG(this.logger);showAllShareClassesComponent=(0,t.hFB)(!1);monthlyReturnRows=(0,t.hFB)([]);monthlyReturnAsOfDate=(0,t.hFB)("");isCardView=(0,t.hFB)(!1);availableCalctype=[];productData=null;calendarMaxDate;mntAsOfDate;qtrAsOfDate;periodEndsSignal=(0,t.vPA)([]);periodEnds=(0,t.EWP)(()=>this.periodEndsSignal().map(e=>({text:this.translateService.instant("monthEnd"===e?"products.month-end":"products.quarter-end"),value:e,isActive:e===this.selectedPeriodEnd()})));selectedPeriodEndSignal=(0,t.vPA)("monthEnd");selectedPeriodEnd=this.selectedPeriodEndSignal.asReadonly();allShareClassConfig=(0,t.EWP)(()=>({...this.config(),selectedPeriodEnd:this.selectedPeriodEnd()??"monthEnd"}));topProximalPlacement=(0,t.EWP)(()=>[...this.normalizePlacement(this.resolveProximalPlacement("sectionTop","PerformanceAnnualizedProximalTop")),...this.normalizePlacement(this.resolveProximalPlacement("chartTop","PerformanceAnnualizedChartProximalTop"))]);chartBottomProximalPlacement=(0,t.EWP)(()=>this.resolveProximalPlacement("chartBottom","PerformanceAnnualizedChartProximalBottom"));sectionBottomProximalPlacement=(0,t.EWP)(()=>this.resolveProximalPlacement("sectionBottom","PerformanceAnnualizedProximalBottom"));sectionBottomBasePlacement=(0,t.EWP)(()=>this.normalizePlacement(this.sectionBottomProximalPlacement())[0]);sectionBottomSecondaryPlacement=(0,t.EWP)(()=>this.normalizePlacement(this.sectionBottomProximalPlacement())[1]??null);asOfDateSignal=(0,t.vPA)(null);asOfDate=this.asOfDateSignal.asReadonly();baseChartConfig={chartType:"column",xAxis:{isLabelEnabled:!0},yAxis:{isLabelEnabled:!0},tooltip:{enabled:!0,borderWidth:1,formatter:function(e){return function(){return this.y?`${this.series.name}: <b>${e.intlService.toLocalDecimal(this.y)}</b>`:""}}(this)},colors:W.D$,responsive:{rules:[{condition:{maxWidth:500},chartOptions:{chart:{marginBottom:80},xAxis:{labels:{y:30}}}}]}};chartConfig=(0,t.EWP)(()=>({...this.baseChartConfig,xAxis:{...this.baseChartConfig.xAxis,labels:this.isCardView()?{rotation:-45}:void 0}}));chartDataSignal=(0,t.vPA)(null);chartData=this.chartDataSignal.asReadonly();isFundOneYearOld=(0,t.vPA)(!1);tableDataSignal=(0,t.vPA)(null);tableData=this.tableDataSignal.asReadonly();elementIdList={select:`select-${(0,N.A)()}`,fromDate:`fromDate-${(0,N.A)()}`};calendarFromDate=b().format(P.Fj);customDateRangeLimit={min:"1900-01",max:b().format(P.Fj)};cardClosedStateSignal=(0,t.vPA)(void 0);cardClosedState=this.cardClosedStateSignal.asReadonly();errorMsgObj={badInput:this.translateService.instant("common.dateError.badInput"),valueMissing:this.translateService.instant("common.dateError.valueMissing"),rangeUnderflow:this.translateService.instant("common.dateError.rangeUnderflow"),rangeOverflow:this.translateService.instant("common.dateError.rangeOverflow"),disabledWithInWeekRange:this.translateService.instant("common.dateError.disabledWithInWeekRange")};getSections=e=>(this.logger.debug(this.loggerName,"config",e),this.handleConfigs(e),this.getSectionImpl(e));productId=(0,t.EWP)(()=>(0,u.Fz)(this.config().productShareClassCode).productId);onPeriodEndChange(e){this.selectedPeriodEndSignal.set(e.value),this.createAvgAnnTotalRtns(this.productData)}onCustomDateRangeInput(e){e&&(this.calendarFromDate!==e&&(this.calendarFromDate=e,this.setPeriodEndSelection(e)),this.fetchCustomDateRangeProductData$(b(e).endOf("month").format(u.Zy)).subscribe({next:a=>{this.logger.debug(this.loggerName,"custom date API response: ",a),this.createAvgAnnTotalRtns(a,!0)},error:a=>this.logger.error(this.loggerName,"custom date API error: ",a),complete:()=>this.logger.info(this.loggerName,"custom date API response completed.")}))}toggleCard(e){const a=this.cardClosedState();a?.length&&(a[e]=!a[e],this.cardClosedStateSignal.set(a))}handleConfigs(e){this.periodEndsSignal.set(e.periodEnds??["monthEnd"]),this.selectedPeriodEndSignal.set(e.selectedPeriodEnd??"monthEnd")}
1getSectionImpl(e,a,o=!1){let i;return i=o&&a?{historical:{asOfDate:a,history:ut(e,"AVG_ANNUAL")}}:{monthEnd:ut(e,"AVG_ANNUAL"),quarterEnd:ut(e,"AVG_ANNUAL")},{fetchCommonData:!0,fetchShareClass:{fetchShareClassDetail:!0,performance:{performance:i,benchmark:!!e.showBenchmark&&i}}}}processData=e=>{if(this.logger.debug(this.loggerName,"processData()",e),this.productData=e,"loaded"===this.productData.shareClass?.performance?.performance?.status){if(this.createAvgAnnTotalRtns(this.productData),!this.mntAsOfDate&&!this.qtrAsOfDate){const a=this.config().defaultCalcType;this.mntAsOfDate=b(this.productData.shareClass.performance.performance.monthEnd?.[a]?.AVG_ANNUAL?.[0]?.asOfDateStd,P.VF).format(P.Fj),this.qtrAsOfDate=b(this.productData.shareClass.performance.performance.quarterEnd?.[a]?.AVG_ANNUAL?.[0]?.asOfDateStd,P.VF).format(P.Fj)}this.status.set(d.ComponentStatus.LOADED)}else this.logger.info(this.loggerName,"processData()","All product sections not loaded."),this.status.set(d.ComponentStatus.EMPTY)};createAvgAnnTotalRtns(e,a=!1){const o=e?.shareClass?.performance;if("loaded"!==o?.performance?.status)return;this.resolveAvailableCalcTypes(o);const i=a?this.collectHistoricalPeriodEndData(o):this.collectDefaultPeriodEndData(o);if(!i)return;const r=this.processTableData(i);this.tableDataSignal.set(r),this.chartDataSignal.set(this.getChartData(r))}resolveAvailableCalcTypes(e){if("loaded"!==e.performance?.status)return;this.availableCalctype=e.performance.availableCalcTypes.length&&this.config().isAllCalcTypeRequiredFromPDS?[...e.performance.availableCalcTypes]:[...this.config().availableCalcTypes||[]];const a=this.config().defaultCalcType,o=this.availableCalctype.indexOf(a);o>=0&&(this.availableCalctype.splice(o,1),this.availableCalctype.unshift(a))}collectHistoricalPeriodEndData(e){if("loaded"!==e.performance?.status)return null;const a=e.performance.history;if(!a)return null;const o=[a],i="loaded"===e.benchmarkPerformance?.status?e.benchmarkPerformance.history:void 0;return i&&o.push(i),o}collectDefaultPeriodEndData(e){if("loaded"!==e.performance?.status)return null;const a=this.selectedPeriodEnd()??"monthEnd",o=e.performance[a];if(!o)return null;const i=[o],r="loaded"===e.benchmarkPerformance?.status?e.benchmarkPerformance[a]:void 0;return r&&i.push(r),i}processTableData(e){const a={cols:[],rows:[]};let o=[];const i=this.getConfiguredColumnKeys(),r=function Ob(n,s){return s.reduce((e,a)=>{const o=n[a];return o&&(e[a]=o),e},{})}(ia,i),l=c=>{if(!c?.length)return;let p,_;if(0===o.length&&(o=c),"loaded"===this.productData?.shareClass?.detail?.status){const Z=this.productData.shareClass.detail;p=Z.performanceInceptionDate,_=Z.performanceInceptionDateStd}const E=c[0]?.asOfDate;this.asOfDateSignal.set(E??null);const y=b(c[0]?.asOfDateStd,P.VF).format(P.Fj);(!this.calendarMaxDate||b(y,P.Fj).valueOf()>b(this.calendarMaxDate,P.Fj).valueOf())&&(this.calendarMaxDate=y),this.calendarFromDate=y,this.customDateRangeLimit={min:b(_,P.VF).format(P.Fj),max:this.calendarMaxDate};const L=this.periodEnds().find(Z=>Z.value===this.selectedPeriodEnd())?.text??this.translateService.instant("products.perf-date-selected");a.cols.push({label:`${L} (${this.translateService.instant("products.as-of")} ${this.asOfDate()})`,periodEnd:L},...this.config().showCurrency?[{label:`${this.translateService.instant("products.currency")}`}]:[],...Object.keys(r).map(Z=>({label:this.translateService.instant(r[Z]??""),subLabel:r[Z]===r.sinceInception?`(${p})`:void 0,key:Z})))};return e.forEach((c,p)=>{this.availableCalctype.forEach(_=>{let E=c[_]?.AVG_ANNUAL;this.setIsFundOneYearOld(E||[]),1===p&&(E=_===this.config().defaultCalcType&&o.length>0&&o[0]?this.organizeBMPerfData(E??[],o[0]):[]),0===p&&0===a.cols.length&&E?.length&&l(E);const y=this.productData?.commonData;if(E&&E.length>0){const L=_e(E,y.productType,this.config());a.rows.push(...this.generateTableRows(L,1===p,i))}})}),this.cardClosedStateSignal.set(Array(a.rows.length).fill(!1)),this.removeEmptyColumns(a)}setIsFundOneYearOld(e){!e||0===e.length||[...e].some(a=>a.bmLabel&&""!==a.bmLabel.trim())||[...e].some(a=>a.oneYear!==u.BX)&&this.isFundOneYearOld.set(!0)}getConfiguredColumnKeys(){return oa({configuredColumns:this.config().performanceCols,productType:"loaded"===this.productData?.commonData?.status?this.productData.commonData.productType:null,performanceInceptionDateStd:"loaded"===this.productData?.shareClass?.detail?.status?this.productData.shareClass.detail.performanceInceptionDateStd:void 0,fiveYearAgoDate:this.dateLocalizationHelper.getCached5YearAgoStd()})}removeEmptyColumns(e){const a=e.cols.slice(1),o=[];return a.forEach((i,r)=>{const l=r+1;e.rows.some(p=>{const _=p[l]?.value;return _&&_!==u.BX&&"N/A"!==_&&""!==_})||o.push(l)}),[...o].sort((i,r)=>
1r-i).forEach(i=>{e.cols.splice(i,1),e.rows.forEach(r=>{r.splice(i,1)})}),e.rows.forEach((i,r)=>{const l=i[1]?.value;2===i.length&&(!l||l===u.BX||"N/A"===l)&&(e.rows[r]=[])}),e.cols.length<=1&&(e.cols=[],e.rows=[]),e}organizeBMPerfData(e,a){let o=[];if(this.config().showBenchmark){o=e.map(r=>{const l=this.config().suppressedBenchmarks?.includes(r.bmLabel??"");return{oneYear:(0,u.iF)(r.oneYear,a.oneYear,l),twoYear:(0,u.iF)(r.twoYear,a.twoYear,l),threeYear:(0,u.iF)(r.threeYear,a.threeYear,l),fourYear:(0,u.iF)(r.fourYear,a.fourYear,l),fiveYear:(0,u.iF)(r.fiveYear,a.fiveYear,l),sevenYear:(0,u.iF)(r.sevenYear,a.sevenYear,l),tenYear:(0,u.iF)(r.tenYear,a.tenYear,l),fifteenYear:(0,u.iF)(r.fifteenYear,a.fifteenYear,l),twentyYear:(0,u.iF)(r.twentyYear,a.twentyYear,l),twentyFiveYear:(0,u.iF)(r.twentyFiveYear,a.twentyFiveYear,l),thirtyFiveYear:(0,u.iF)(r.thirtyFiveYear,a.thirtyFiveYear,l),yearToDate:(0,u.X5)(r.yearToDate),sinceInception:(0,u.X5)(r.sinceInception),currencyCode:r.currencyCode,asOfDate:r.asOfDate,asOfDateStd:r.asOfDateStd,performanceStatus:r.performanceStatus,calcNameStd:r.calcNameStd,bmName:r.bmName,bmLabel:r.bmLabel}});const i=new Map(this.config().benchmarkOrder?.map((r,l)=>[r,l]));o=o.sort((r,l)=>(i.get(r.bmLabel??"")??0)-(i.get(l.bmLabel??"")??0))}return o.splice(this.config().maxNumberOfBenchmarksToShow??P.oI),o}generateTableRows(e,a,o=Object.keys(ia)){const i=[];return e.forEach(r=>{i.push([a?{value:`${r.bmName} (%)`,footnote:`${ge[r.bmLabel]}BenchmarkPerformance`}:{value:this.getSeriesName(r.calcNameStd),footnote:`${r.calcNameStd}Performance`},...this.config().showCurrency?[{value:r.currencyCode}]:[],...o.map(l=>({value:r[l]}))])}),i}getSeriesName(e){const a=He(e,this.config().calcTypeLabelKeys,this.config().useCustomCalcTypeLabels);if(a)return this.translateService.instant(a);if("loaded"===this.productData?.commonData?.status&&"loaded"===this.productData.shareClass?.detail?.status){const o=this.productData.shareClass.detail;let r;return r=(o.isSingleShareClass||"SINGLCLASS"===this.productData.shareClass.shareClassCode)&&this.productData.commonData.productName?this.productData.commonData.productName:o.shareClassName||e,`${r} ${this.translateService.instant(`products.${Xt(this.productData.commonData.productType)}-performance-calctype-${(0,yt.A)(e)}`)} (%)`}return e}getChartData(e){if(0===e.rows.length)return null;const a=[],o=[],r=1+(this.config().showCurrency?1:0),l=e.cols.slice(r).map(c=>c.label);return e.rows.forEach(c=>{const p=[];c.forEach((_,E)=>{0===E?a.push(_.value):E>=r&&p.push(parseFloat(_.value))}),o.push({plots:p})}),{name:a,xAxis:l,yAxis:o}}fetchCustomDateRangeProductData$(e){return this.products.getProductDetails$(this.config().productShareClassCode,this.getSectionImpl(this.config(),e,!0),this.isProgressiveLoading).pipe((0,et.W)(a=>this.errorHandler(a)))}setPeriodEndSelection(e){let a=null;e===this.mntAsOfDate&&(a="monthEnd"),e===this.qtrAsOfDate&&(a="quarterEnd"),this.selectedPeriodEndSignal.set(a),this.periodEndsSignal.set(this.config().periodEnds??["monthEnd"])}resolveProximalPlacement(e,a){return this.config().proximalPlacements?.[e]??a}normalizePlacement(e){return Array.isArray(e)?e:[e]}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-avg-annual-total-returns"]],hostAttrs:["data-gtm-component","product-avg-annual-total-returns"],inputs:{showAllShareClassesComponent:[1,"showAllShareClassesComponent"],monthlyReturnRows:[1,"monthlyReturnRows"],monthlyReturnAsOfDate:[1,"monthlyReturnAsOfDate"],isCardView:[1,"isCardView"]},features:[t.Vt3],decls:4,vars:2,consts:[["cardView",""],[3,"status"],[1,"md:flex"],[1,"mb-2","text-xl","font-bold","lg:text-2xl"],["placement","AnnualizedPerformance",3,"componentId"],[1,"text-nc1-600","text-sm","font-normal"],[3,"placement"],[1,"mb-4","max-w-full","pb-1","pl-1","sm:flex","sm:justify-between"],[1,"min-w-0","sm:pt-5"],[1,"z-10","ml-auto","w-full","min-w-0","sm:w-auto"],[1,"mb-8"],[3,"rows","asOfDate","showBenchmark"],[3,"toggleActive","toggleButtons"],["opens","left",3,"selected","label","id","calendarHeading","min","max","value","selectedDateLabel","toggleButtonLabel","errorMsgObj"],[3,"chartConfig","chartData"],[1,"table"],[1,"mb-4","flex","items-center","justify-between"],[1,"sr-only"],["scope","col",3,"ngClass"],[3,"ngClass"],[1,"inline-block","h-[15px]","w-[15px]","shrink-0","rounded-[4px]",3,"ngClass"],[3,"placement","componentId"],[1,"text-lg","font-bold"],[4,"ngTemplateOutlet"],["tabId","AVG_ANNUAL",3,"config","isCardView"],[3,"placement","bottomProximalHref","bottomProximalFragment"],[1,"pop-cards"],[1,"border-nc1-200","mb-3","rounded-xl","border"],["type","button",1,"text-nc1-0","flex","w-full","items-center","justify-between","rounded-b-xl","px-4","py-2","text-left","text-sm",3,"click"],[1,"flex","flex-col","justify-between","rounded-t-xl","p-2",3,"id","bg-nc1-100","text-nc1-950","bg-pc1-800","text-nc1-0"],[1,"flex","flex-col","justify-between","rounded-t-xl","p-2",3,"id"],[1,"flex","items-center","gap-2","font-bold"],[1,"flex"],[1,"flex","text-sm"],[1,"m-0","block",3,"id"],[1,"border-nc1-200","grid","w-full","grid-cols-2","gap-2","border-b"],[1,"col-div-1","p-4"],[1,"flex","flex-col","text-base","font-bold"],["data-testid","avg-annual-card-inception-date"],[1,"col-div-1","p-4","font-normal"],[1,"gap-1","text-base","md:flex","md:items-center"],[1,"font-bold"],["name","heroChevronUp","aria-hidden","true",3,"size"],["name","heroChevronDown","aria-hidden","true",3,"size"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",1),t.DNE(1,Os,16,11),t.k0s(),t.DNE(2,Qs,2,1,"ng-template",null,0,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,C.T3,d.ComponentStatusComponent,K.j,d.TranslatePipe,d.FootnoteComponent,d.ProximalComponent,R.ai,R.zq,Ee,Kt,aa],encapsulation:2,changeDetection:0})}return n})(),jb=(()=>{class n extends U{loggerName="CalendarYearComponent";intlService=(0,t.WQX)(B.I);translateService=(0,t.WQX)(u.c$);inceptionDateSignal=(0,t.vPA)("");inceptionDate=this.inceptionDateSignal.asReadonly();selectedPeriodEndSignal=(0,t.vPA)("monthEnd");selectedPeriodEnd=this.selectedPeriodEndSignal.asReadonly();monthEndLabel="products.month-end";quarterEndLabel="products.quarter-end";selectedPeriodEndLabelSignal=(0,t.vPA)(this.monthEndLabel);selectedPeriodEndLabel=this.selectedPeriodEndLabelSignal.asReadonly();periodEndsSignal=(0,t.vPA)([]);periodEnds=(0,t.EWP)(()=>this.periodEndsSignal().map(e=>({text:this.translateService.instant(`${"monthEnd"===e?this.monthEndLabel:this.quarterEndLabel}`),value:e,isActive:e===this.selectedPeriodEnd()})));showCalendarYearHighChart=(0,t.EWP)(()=>!(!(this.selectedPeriod()?.chartData&&this.selectedPeriod()?.showChart&&(this.selectedPeriod()?.chartData.xAxis?.length??0)>0)||this.config().suppressionSets?.includes("Calendar Year")));productData=null;asOfDateSignal=(0,t.vPA)(null);asOfDate=this.asOfDateSignal.asReadonly();selectedPeriodSignal=(0,t.vPA)(null);selectedPeriod=this.selectedPeriodSignal.asReadonly();cardClosedStateSignal=(0,t.vPA)(void 0);cardClosedState=this.cardClosedStateSignal.asReadonly();monthEnd=null;quarterEnd=null;calendarYears=[];allShareClassConfig=(0,t.EWP)(()=>({...this.config(),selectedPeriodEnd:this.selectedPeriodEnd()??"monthEnd"}));showAllShareClassesComponent=(0,t.hFB)(!1);isCardView=(0,t.hFB)(!1);onPeriodEndChange(e){this.updateStatus(e.value)}getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchCommonData:!0,fetchShareClass:{fetchShareClassDetail:!0,performance:{benchmark:e.showBenchmark?{monthEnd:ut(e,"CALENDAR_YEAR"),quarterEnd:ut(e,"CALENDAR_YEAR")}:{},performance:{monthEnd:ut(e,"CALENDAR_YEAR"),quarterEnd:ut(e,"CALENDAR_YEAR")}}}});processData=e=>{this.productData=e,this.logger.debug(this.loggerName,"processData()",e);const a=e.shareClass?.performance;this.processShareClassDetail(e.shareClass),this.processPerformanceData(a)};processShareClassDetail(e){switch(e.detail?.status){case"loaded":this.inceptionDateSignal.set(e.detail.performanceInceptionDate??"");break;case"empty-data":this.inceptionDateSignal.set("")}}processPerformanceData(e){let a,o;
1switch(e.performance?.status){case"loaded":a=e.performance,o=e.benchmarkPerformance,this.monthEnd=this.createCalendarYearReturns(a,o,"monthEnd"),this.quarterEnd=this.createCalendarYearReturns(a,o,"quarterEnd"),this.periodEndsSignal.set(this.config().periodEnds),this.updateStatus();break;case"empty-data":this.status.set(d.ComponentStatus.EMPTY)}}updateStatus(e){const a=this.setSelectedPeriodEnd(e);this.monthEnd&&this.quarterEnd?(this.selectedPeriodEndSignal.set(a),this.selectedPeriodEndLabelSignal.set("monthEnd"===a?this.monthEndLabel:this.quarterEndLabel),this.selectedPeriodSignal.set("monthEnd"===a?this.monthEnd:this.quarterEnd),this.updateAsOfDate(a),this.status.set(d.ComponentStatus.LOADED)):this.status.set(d.ComponentStatus.ERROR)}setSelectedPeriodEnd=e=>(e||this.config().selectedPeriodEnd)??"monthEnd";updateAsOfDate(e){this.asOfDateSignal.set("monthEnd"===e?this.monthEnd?.tableRows[0]?.data.asOfDate??null:this.quarterEnd?.tableRows[0]?.data.asOfDate??null)}createCalendarYearReturns(e,a,o){const i=e?this.createTableRows(e,o):[],r=a&&this.config().showBenchmark?this.createTableRows(a,o,i):[];let l=[...i,...r];this.cardClosedStateSignal.set(Array(l.length).fill(!0));const c=[];c.push(this.translateService.instant("products.yearToDate"));const p=this.getAvailableColumns(l,fe);this.calendarYears=this.createCalendarYearColumns(l,p),this.calendarYears.forEach(E=>{c.push(E)}),c.push(this.translateService.instant("products.inception-date"));const _=We(l,fe);return _.forEach(E=>{let y;y=c.indexOf("yearToDate"===E?this.translateService.instant("products.yearToDate"):E),-1!==y&&c.splice(y,1)}),l=qe(l,_),{...this.config(),sectionHeader:null,tableRows:l,tableCols:c,chartConfig:this.getChartConfig(),chartData:this.getChartData(l),showChart:!!p.length}}getAvailableColumns(e,a){const o=[];return a.forEach(i=>{e.some(r=>(0,u.a4)(r.data,i))&&o.push(i)}),o}createCalendarYearColumns(e,a){const o=e[0]?.data.asOfDateStd||"";return Jn(Ue(o,P.VF),ze(o,P.VF),!0,a)}createTableRows(e,a,o){let i=[];const r=(o?.length??0)>0,l=e[a];if(this.availableCalcTypes(e.availableCalcTypes).filter(c=>l[c]).flatMap(c=>({calcType:c,value:l[c]?.CALENDAR_YEAR})).forEach(({calcType:c,value:p})=>{if(p?.[0]){const _=this.productData?.commonData;_e(p,_.productType,this.config()).forEach(y=>{const L=y,Z=o?u.BX:this.inceptionDate();if(r){let pt;pt=o&&o.length>1?this.countFilledFields(o[0])>this.countFilledFields(o[1])?o[0]:o[1]:o?.find($t=>$t.calcType===c),this.getCalendarYearDataAvailability(L,pt?.data)}i.push({label:L.bmName?`${L.bmName} (%)`:this.getSeriesName(c),currencyCode:this.config().showCurrency?L.currencyCode:void 0,calcType:c,data:L,inceptionDate:Z,footnote:L.bmLabel?`${ge[L.bmLabel]}BenchmarkPerformance`:`${L.calcNameStd}Performance`})})}}),r&&(i=this.sortByBmLabel(i),i=this.removeDuplicateRows(i),void 0!==this.config().maxNumberOfBenchmarksToShow)){const c=this.config().maxNumberOfBenchmarksToShow??P.oI;i.length>1&&i.length>c&&(i=i.slice(0,c))}return i}availableCalcTypes=e=>{const a=this.getConfiguredOrAvailableCalcTypes(e),o="loaded"===this.productData?.commonData?.status?this.productData.commonData.productFamily:void 0,i=void 0!==o&&this.config().suppressPOPRow?.includes(o);if(this.config().defaultCalcType){const r=this.config().defaultCalcType,l=a.indexOf(r);l>=0&&(a.splice(l,1),a.unshift(r))}return i?a.filter(r=>"POP"!==r):a};getConfiguredOrAvailableCalcTypes(e){const a=this.config().availableCalcTypes;return a?.length?[...a]:[...e]}removeDuplicateRows(e){const a=new Map;return e.forEach(o=>{o.data.bmLabel&&!a.has(o.data.bmLabel)&&a.set(o.data.bmLabel,o)}),Array.from(a.values())}sortByBmLabel(e){const a=this.config().benchmarkOrder;return e.sort((o,i)=>a?a.indexOf(o.data.bmLabel)-a.indexOf(i.data.bmLabel):0)}getSeriesName(e){const a=He(e,this.config().calcTypeLabelKeys,this.config().useCustomCalcTypeLabels);return a?this.translateService.instant(a):this.getDefaultSeriesName(e)}getDefaultSeriesName(e){if("loaded"!==this.productData?.commonData?.status||"loaded"!==this.productData.shareClass?.detail?.status)return e;const a=this.productData.commonData;
1return`${this.getSeriesNamePrefix(e,this.productData.shareClass.detail,this.productData.shareClass.shareClassCode,a.productName)} ${this.translateService.instant(`products.${Xt(a.productType)}-performance-calctype-${(0,yt.A)(e)}`)} (%)`}getSeriesNamePrefix(e,a,o,i){return(a.isSingleShareClass||"SINGLCLASS"===o)&&i?i:a.shareClassName||e}getChartData(e){const a=[],o=[];return e.forEach(i=>{const r=[];a.push(i.label),["oneYear","twoYear","threeYear","fourYear","fiveYear","sixYear","sevenYear","eightYear","nineYear","tenYear"].forEach(c=>{const p=i.data[c];p&&""!==p&&r.push(parseFloat(p))}),o.push({plots:r})}),{name:a,xAxis:this.calendarYears,yAxis:o}}getChartConfig(){return{chartType:"column",xAxis:{title:"",isLabelEnabled:!0,lineColor:"#E6E6E6"},yAxis:{title:"",isLabelEnabled:!0,lineColor:"#E6E6E6",labelFormat:"{value}%"},tooltip:{enabled:!0,borderWidth:1,formatter:function(e){return function(){return this.y?`${this.series.name}: <b>${e.intlService.toLocalDecimal(this.y)}</b>`:""}}(this)},colors:W.D$,responsive:{rules:[{condition:{maxWidth:500},chartOptions:{chart:{marginBottom:80},xAxis:{labels:{y:30}}}}]}}}toggleCard(e){const a=this.cardClosedState();if(a?.length){const o=[...a];o[e]=!o[e],this.cardClosedStateSignal.set(o)}}getCalendarYearDataAvailability(e,a){if(!a)return e;const o=this.config().suppressedBenchmarks?.includes(e.bmLabel??"");return e.oneYear=(0,u.iF)(e.oneYear,a.oneYear,o),e.twoYear=(0,u.iF)(e.twoYear,a.twoYear,o),e.threeYear=(0,u.iF)(e.threeYear,a.threeYear,o),e.fourYear=(0,u.iF)(e.fourYear,a.fourYear,o),e.fiveYear=(0,u.iF)(e.fiveYear,a.fiveYear,o),e.sixYear=(0,u.iF)(e.sixYear,a.sixYear,o),e.sevenYear=(0,u.iF)(e.sevenYear,a.sevenYear,o),e.eightYear=(0,u.iF)(e.eightYear,a.eightYear,o),e.nineYear=(0,u.iF)(e.nineYear,a.nineYear,o),e.tenYear=(0,u.iF)(e.tenYear,a.tenYear,o),e.yearToDate=(0,u.iF)(e.yearToDate,a.yearToDate,o),e}countFilledFields(e){return Object.values(e).filter(a=>""!==a).length}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-calendar-year"]],hostAttrs:["data-gtm-component","frk-calendar-year"],inputs:{showAllShareClassesComponent:[1,"showAllShareClassesComponent"],isCardView:[1,"isCardView"]},features:[t.Vt3],decls:6,vars:2,consts:[["cardView",""],["tableCardContent",""],[3,"status"],[1,"md:flex"],[1,"mb-2","text-xl","font-bold","lg:text-2xl"],["placement","CalendarPerformance",3,"componentId"],[1,"text-nc1-600","text-sm","font-normal"],[1,"mb-4","flex","flex-wrap","items-start","pb-2","md:flex-row","md:items-end","md:justify-between"],["placement","PerformanceCalendarProximalTop"],[1,"overflow-x-auto"],[1,"mb-8"],["placement","PerformanceCalendarProximalBottom"],[1,"w-full","md:w-auto",3,"toggleActive","toggleButtons"],["placement","PerformanceCalendarChartProximalTop"],[3,"chartConfig","chartData"],["placement","PerformanceCalendarChartProximalBottom"],[1,"table"],[1,"sr-only"],["scope","col"],[1,"flex","w-full","items-start","justify-between"],[1,"text-left"],[1,"flex","items-center","text-sm","font-bold"],[1,"flex","items-center","text-xs","font-normal"],["scope","col",1,"text-right"],[1,"flex","items-center","gap-2"],[1,"inline-block","h-[15px]","w-[15px]","shrink-0","rounded-[4px]",3,"ngClass"],[3,"placement","componentId"],[1,"text-right"],[4,"ngTemplateOutlet"],["tabId","CALENDAR_YEAR",3,"config","isCardView","showYearColumns"],[1,"border-nc1-200","mb-3","rounded-xl","border"],[1,"bg-pc1-800","text-nc1-0","flex","justify-between","rounded-t-xl","p-4",3,"id"],[1,"flex","items-center","gap-2","font-bold"],["type","button",1,"text-nc1-0","flex","w-full","items-center","justify-between","rounded-b-xl","px-4","py-2","text-left","text-sm",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"font-bold"],["name","heroChevronUp",3,"size"],["name","heroChevronDown",3,"size"],["id","table-card-content","aria-labelledby","table-card-header",1,"block"],[1,"border-nc1-200","grid","w-full","grid-cols-2","gap-2","border-b","last:border-none"],[1,"col-div-1","p-4"],[1,"flex","items-center","text-base","font-bold"],[1,"col-div-1","flex","justify-end","p-4","font-normal"],[1,"gap-1","text-base","md:flex","md:items-center"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",2),t.DNE(1,vr,17,14),t.k0s(),t.DNE(2,Yr,1,1,"ng-template",null,0,t.C5r)(4,jr,8,2,"ng-template",null,1,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,C.T3,d.TranslatePipe,K.j,R.ai,d.ComponentStatusComponent,d.ProximalComponent,d.FootnoteComponent,R.zq,Kt],encapsulation:2,changeDetection:0})}return n})();b.extend(wt);const te={yearToDate:"products.timeframes.ytd",oneMonth:"products.timeframes.1-month",threeMonth:"products.timeframes.3-months",sixMonth:"products.timeframes.6-months",oneYear:"products.timeframes.1-year",threeYear:"products.timeframes.3-years",fiveYear:"products.timeframes.5-years",tenYear:"products.timeframes.10-years",fifteenYear:"products.timeframes.15-years",sinceInception:"products.timeframes.since-inception",custom:"products.timeframes.custom"},Lb={_1yr:"oneYear",_3yr:"threeYear",_5yr:"fiveYear",_10yr:"tenYear",_15yr:"fifteenYear",sinceInception:"sinceInception",custom:"custom"};let Bb=(()=>{class n extends U{cdr;logger;loggerName="CumulativeTotalReturnsComponent";translateService=(0,t.WQX)(u.c$);proximalService=(0,t.WQX)(d.PROXIMAL_SERVICE,{optional:!0});intlService=(0,t.WQX)(B.I);isDateRangeSet=!1;dateLocalizationHelper;constructor(e,a){super(a),this.cdr=e,this.logger=a,this.dateLocalizationHelper=new u.eG(this.logger)}timeSeriesTypesSignal=(0,t.vPA)([]);timeSeriesTypes=(0,t.EWP)(()=>this.timeSeriesTypesSignal().map(e=>({label:e,value:e})));showTimePeriodSignal=(0,t.vPA)(!0);showTimePeriod=this.showTimePeriodSignal.asReadonly();chartCalculationToggle=(0,t.EWP)(()=>this.timeSeriesTypesSignal().map(e=>({text:this.translateService.instant(`products.${e}`,this.config().productShareClassCode.split(/-(.*)/,2)[0]),value:e,isActive:e===this.selectedTimeSeriesType()})));showCummChart=(0,t.EWP)(()=>!!this.chartDataSignal()?.yAxis.length);allShareClassConfig=(0,t.EWP)(()=>({...this.config(),selectedPeriodEnd:this.selectedPeriodEnd()??"monthEnd"}));shareClassDetailSignal=(0,t.vPA)(null);
1shareClassDetail=this.shareClassDetailSignal.asReadonly();selectedTimeSeriesTypeSignal=(0,t.vPA)(Jt.HUNDRED_REBASE_POINTS);selectedTimeSeriesType=this.selectedTimeSeriesTypeSignal.asReadonly();periodEndsSignal=(0,t.vPA)([]);periodEnds=(0,t.EWP)(()=>this.periodEndsSignal().map(e=>({text:this.translateService.instant("monthEnd"===e?"products.month-end":"products.quarter-end"),value:e,isActive:e===this.selectedPeriodEnd()})));usePeriodEndDropdown=(0,t.EWP)(()=>!0===this.config().usePeriodEndDropdown);showToolTipForCumulative=(0,t.EWP)(()=>!1!==this.config().showToolTipForCumulative);useSingleChartPointPerMonth=(0,t.EWP)(()=>!0===this.config().useSingleChartPointPerMonth);showCumulativeChartSignal=(0,t.vPA)(!1);hideWebPerformanceSignal=(0,t.vPA)(!1);hideWebPerformance=this.hideWebPerformanceSignal.asReadonly();showCumulativeChart=(0,t.EWP)(()=>this.showCumulativeChartSignal()&&!this.hideWebPerformance());selectedPeriodEndSignal=(0,t.vPA)("monthEnd");selectedPeriodEnd=this.selectedPeriodEndSignal.asReadonly();timeperiodsSignal=(0,t.vPA)([]);timeperiods=(0,t.EWP)(()=>this.timeperiodsSignal().map(e=>({label:this.translateService.instant(te[Lb[e]]??("sinceInception"===e?"products.sinceInception":e.replace("_",""))),value:e})));selectedTimeperiodSignal=(0,t.vPA)("sinceInception");selectedTimeperiod=this.selectedTimeperiodSignal.asReadonly();chartConfig={chartType:"line",xAxis:{type:"datetime",isLabelEnabled:!0,dateTimeLabelFormats:{year:"%Y"},tickPixelInterval:120},yAxis:{gridLineDashStyle:"LongDash"},legend:{enabled:!1},tooltip:{enabled:!0,borderWidth:1,formatter:function(e){return function(){return this.y?`${this.series.name}: <b>${e.intlService.toLocalDecimal(this.y)}</b>`:""}}(this)},colors:W.D$};chartDataSignal=(0,t.vPA)(null);chartData=this.chartDataSignal.asReadonly();tableDataSignal=(0,t.vPA)(null);tableData=this.tableDataSignal.asReadonly();asOfDateSignal=(0,t.vPA)(null);asOfDate=this.asOfDateSignal.asReadonly();productData=null;customDateRangeDataCache=new Map;elementIdList={select:`select-${(0,N.A)()}`,periodEnd:`periodEnd-${(0,N.A)()}`,fromDate:`fromDate-${(0,N.A)()}`,toDate:`toDate-${(0,N.A)()}`};customDateRangeSelection;customDateRangeLimit={min:"1900-01",max:b().format(P.Fj)};datePlaceholder="MM/YYYY";chartPlotDetails=[];pointColorIndexList=[];isCardView=(0,t.hFB)(!1);showAllShareClassesComponent=(0,t.hFB)(!1);availableCalcTypes=[];tooltipPlacement=J.Qy.AUTO;cardClosedStateSignal=(0,t.vPA)(void 0);cardClosedState=this.cardClosedStateSignal.asReadonly();errorMsgObj={badInput:this.translateService.instant("common.dateError.badInput"),valueMissing:this.translateService.instant("common.dateError.valueMissing"),rangeUnderflow:this.translateService.instant("common.dateError.rangeUnderflow"),rangeOverflow:this.translateService.instant("common.dateError.rangeOverflow"),disabledWithInWeekRange:this.translateService.instant("common.dateError.disabledWithInWeekRange")};chartProximalTopSignal=(0,t.vPA)(null);chartProximalTop=this.chartProximalTopSignal.asReadonly();getSections=e=>(this.logger.debug(this.loggerName,"config",e),this.handleConfigs(e),this.getSectionImpl(e));handleConfigs(e){this.customDateRangeDataCache.clear(),this.timeSeriesTypesSignal.set(e.timeSeriesTypes??[Jt.HUNDRED_REBASE_POINTS]),this.selectedTimeSeriesTypeSignal.set(e.selectedTimeSeriesType??Jt.HUNDRED_REBASE_POINTS),this.periodEndsSignal.set(e.periodEnds??["monthEnd"]),this.selectedPeriodEndSignal.set(e.selectedPeriodEnd??"monthEnd"),this.timeperiodsSignal.set(e.timeperiods||["sinceInception"]),this.selectedTimeperiodSignal.set(e.selectedTimePeriod??"sinceInception"),this.showTimePeriodSignal.set(e.showTimePeriod??!0),this.hideWebPerformanceSignal.set(!0===e.hideWebPerformance)}getSectionImpl(e,a,o,i=!1){return{fetchCommonData:!0,fetchShareClass:{fetchShareClassDetail:!0,performance:{performance:{monthEnd:ut(e,"CUMULATIVE"),quarterEnd:ut(e,"CUMULATIVE")},benchmark:{monthEnd:ut(e,"CUMULATIVE"),quarterEnd:ut(e,"CUMULATIVE")},performanceTimeSeries:{isCustom:i,fromDate:a,toDate:o}}}}}processData=e=>{this.logger.debug(this.loggerName,"processData()",e),this.productData=e,this.updateGrowthChartStart(e),this.updateShareClassDetail(e);const a=e.shareClass?.performance;
1"loaded"===e.commonData?.status&&"loaded"===a?.performance?.status?this.handleLoadedPerformanceData(e):(this.logger.info(this.loggerName,"processData()","All product sections not loaded."),this.status.set(d.ComponentStatus.EMPTY))};updateGrowthChartStart(e){"loaded"===e.commonData?.status&&this.addGrowthChartStart(parseInt(e.commonData.growthChartStart??""),!!e.commonData.growthChartStart)}updateShareClassDetail(e){"loaded"===e.shareClass?.detail?.status&&this.shareClassDetailSignal.set(e.shareClass.detail)}handleLoadedPerformanceData(e){this.updateAvailableCalcTypes(e),this.chartConfig.yAxis={...this.chartConfig.yAxis,labelFormat:`${(0,u.Qn)("loaded"===e.commonData?.status?e.commonData.currencyCode:"")}{value:,.0f}`},"quarterEnd"===this.selectedPeriodEnd()?this.fetchQuartelyChartData():(this.handleChartData(e),this.handleTableData()),this.status.set(d.ComponentStatus.LOADED)}updateAvailableCalcTypes(e){const a=e.shareClass?.performance,o="loaded"===a?.performance?.status?a.performance.availableCalcTypes:void 0;if(this.availableCalcTypes=o?.length&&this.config().isAllCalcTypeRequiredFromPDS?[...o]:[...this.config().availableCalcTypes||[]],this.config().defaultCalcType){const i=this.config().defaultCalcType,r=this.availableCalcTypes.indexOf(i);r>=0&&(this.availableCalcTypes.splice(r,1),this.availableCalcTypes.unshift(i))}}handleChartData(e){let a={name:[],yAxis:[]};if(this.updateChartYAxisLabelFormat(),this.chartPlotDetails=[],e){this.chartDataSignal.set({name:[],yAxis:[]});const{fundHistories:o,primaryBMHistories:i,secondaryBMHistories:r}=this.fetchFundAndBMTimeseriesHistories(e);o.length>0&&(a=this.setFundChartData(o,a)),[i,r].forEach((l,c)=>{l.length>0&&(a=this.processHighchartsData(a,l[0]?.bmName??`BM${c}`,l),this.chartPlotDetails.push({type:"bmPerf",calcType:l[0]?.calcName,bmLabel:l[0].bmLabel}))})}this.chartDataSignal.set(a),this.showCumulativeChartSignal.set(a.yAxis.length>0),this.cdr.markForCheck()}setFundChartData(e,a){return this.availableCalcTypes.forEach(o=>{const i=e.filter(r=>r.calcName===o);if(i.length>0){const r=this.productData?.commonData,l=function Db(n,s,e){return s===w.lM.TOF&&e.suppressPOPByShareClass&&e.suppressPOPByShareClass.includes(e.productShareClassCode)?n.filter(a=>"POP"!==a.calcName):n}(i,r.productType,this.config());
1a=this.processHighchartsData(a,this.getSeriesName(o),l),this.chartPlotDetails.push({type:"perf",calcType:o})}}),a}fetchFundAndBMTimeseriesHistories(e){let a=[],o=[],i=[];if("loaded"===e.shareClass?.performance?.performanceTimeSeries?.status){const r=e.shareClass.performance.performanceTimeSeries.cumulative[this.selectedTimeSeriesType()],l=this.getSinceInceptionCummPerfHistory(r);if(l.length>0&&!this.isDateRangeSet){this.isDateRangeSet=!0;const p={min:b(l[0]?.asOfDateStd,P.VF).format(P.Fj),max:b(l.at(-1)?.asOfDateStd,P.VF).format(P.Fj)};b(this.customDateRangeLimit.min,P.Fj).valueOf()!==b(p.min,P.Fj).valueOf()&&(this.customDateRangeLimit={min:p.min,max:p.max})}this.customDateRangeLimit.min=this.getCustomDateRangeMinValue(this.customDateRangeLimit.min);const c=this.getSelectedCummPerfHistory(r);a=c?.fund||[],this.config().showBenchmark&&(o=c?.benchmark?.primary||[],i=this.secondaryChartBenchmark(c)),"quarterEnd"===this.selectedPeriodEnd()&&(a=this.filterQuarterlyTimeseriesHistories(a),o=this.filterQuarterlyTimeseriesHistories(o),i=this.filterQuarterlyTimeseriesHistories(i)),a.length>0&&(this.customDateRangeSelection={fromDate:this.getFromDate(b(a[0]?.asOfDateStd,P.VF).format(P.Fj)),toDate:b(a.at(-1)?.asOfDateStd,P.VF).format(P.Fj)})}return{fundHistories:a,primaryBMHistories:o,secondaryBMHistories:i}}getSinceInceptionCummPerfHistory(e){let a=e?.sinceInception?.fund??e?.custom?.fund??[];return e?.sinceInception?.fund&&!a.length&&(a=e._1yr?.fund??[]),a}getSelectedCummPerfHistory(e){let a=e?.[this.selectedTimeperiod()];return"sinceInception"===this.selectedTimeperiod()&&0===a?.fund?.length&&(a=e?._1yr),"quarterEnd"===this.selectedPeriodEnd()&&(a=e?.custom),a??null}getCustomDateRangeMinValue(e){return e||b(this.shareClassDetail()?.inceptionDateStd,P.VF).format(P.Fj)}getFromDate(e){return e||b(this.shareClassDetail()?.inceptionDateStd,P.VF).format(P.Fj)}secondaryChartBenchmark=e=>(this.config().maxNumberOfBenchmarksToShow??P.oI)>1&&e?.benchmark?.secondary||[];filterQuarterlyTimeseriesHistories(e){return e.filter(a=>this.dateLocalizationHelper.getTimeStampInMilliseconds(a.asOfDateStd,P.VF)<this.dateLocalizationHelper.getStartOfQuarter(void 0,!0))}processHighchartsData(e,a,o){const r=(this.useSingleChartPointPerMonth()?this.selectSingleChartPointPerMonth(o):o).map(l=>[b.utc(l.asOfDateStd,P.Fj).valueOf(),Number(Number(l.cumulativeMonthlyReturnCalculatedStd).toFixed(2))]);return e.name?.push(a),e.yAxis.push({plots:r}),e}selectSingleChartPointPerMonth(e){const a=this.getGrowthChartStartValue(),o=new Map;e.forEach(r=>{const l=r.asOfDateStd.slice(0,7),c=o.get(l)??[];c.push(r),o.set(l,c)});const i=[];for(const r of o.values()){const l=r[0];if(!l)continue;if(Number.isNaN(a)||Number(l.cumulativeMonthlyReturnCalculatedStd)>=a){i.push(l);continue}const c=r.find(p=>Number(p.cumulativeMonthlyReturnCalculatedStd)>=a);i.push(c??l)}return i}getGrowthChartStartValue(){return"loaded"===this.productData?.commonData?.status?Number(this.productData.commonData.growthChartStart):NaN}getSeriesName(e,a=!1){const o=He(e,this.config().calcTypeLabelKeys,this.config().useCustomCalcTypeLabels);if(o)return this.translateService.instant(o);if("loaded"===this.productData?.commonData?.status){let r;return r=(this.shareClassDetail()?.isSingleShareClass||"SINGLCLASS"===this.productData.shareClass?.shareClassCode)&&this.productData.commonData.productName?this.productData.commonData.productName:this.shareClassDetail()?.shareClassName||e,`${r} ${this.translateService.instant(`products.${Xt(this.productData.commonData.productType)}-performance-calctype-${(0,yt.A)(e)}`)}${a?" (%)":""}`}return e}updateHideWebPerformanceFromApi(e){"Y"===e[0]?.hideWebPerformance?.trim().toUpperCase()&&this.hideWebPerformanceSignal.set(!0)}removeYearsByData(e){const a={_1yr:"oneYear",_3yr:"threeYear",_5yr:"fiveYear",_10yr:"tenYear",_15yr:"fifteenYear",sinceInception:"sinceInception",custom:"custom"};let i=(this.config().timeperiods||["sinceInception"]).filter(r=>{const l=a[r];return e.filter(p=>p[l]!==u.BX).length>=1});i.length||(i=["_1yr","custom"]),this.timeperiodsSignal.set(i)}handleTableData(){const e={cols:[],rows:[]};if("loaded"===this.productData?.shareClass?.performance?.performance?.
1status){const a=this.filterCummPerfFromProductData(this.productData.shareClass.performance.performance);this.removeYearsByData(a),this.asOfDateSignal.set(a[0]?.asOfDate?a[0].asOfDate:null),this.updateHideWebPerformanceFromApi(a),e.cols.push({label:`${this.periodEnds().find(o=>o.value===this.selectedPeriodEnd())?.text} (${this.translateService.instant("products.as-of")} ${a[0]?.asOfDate})`},...this.config().showCurrency?[{label:`${this.translateService.instant("products.currency")}`}]:[],...Object.keys(te).filter(o=>"custom"!==o).map(o=>({label:this.translateService.instant(te[o]),subLabel:te[o]===te.sinceInception?this.shareClassDetail()?.performanceInceptionDate:void 0}))),e.rows.push(...this.generateTableRows(a))}"loaded"===this.productData?.shareClass?.performance?.benchmarkPerformance?.status&&e.rows.push(...this.generateTableRows(this.filterCummPerfFromProductData(this.productData.shareClass.performance.benchmarkPerformance,!0),!0)),this.cardClosedStateSignal.set(Array(e.rows.length).fill(!0)),this.tableDataSignal.set(e)}filterCummPerfFromProductData(e,a){const o=this.config().defaultCalcType??"POP";let i=[];if(a){const c=e[this.selectedPeriodEnd()]?.[o]?.CUMULATIVE;c&&(i=this.organizeBMPerfData(c))}else{const c=[o];c.push(...this.availableCalcTypes.filter(p=>p!==o)),c.forEach(p=>{const _=e[this.selectedPeriodEnd()]?.[p]?.CUMULATIVE;_&&i.push(..._)})}const r=this.productData?.commonData;return _e(i,r.productType,this.config())}organizeBMPerfData(e){const a=e[0]?.calcNameStd??"POP",i=("loaded"===this.productData?.shareClass?.performance?.performance?.status?this.productData.shareClass.performance.performance:void 0)?.[this.selectedPeriodEnd()]?.[a]?.CUMULATIVE?.[0];let r=[];if(this.config().showBenchmark){r=this.getCumulativeBmDataAvailability(e,i);const l=new Map(this.config().benchmarkOrder?.map((c,p)=>[c,p]));r=r.sort((c,p)=>(l.get(c.bmLabel??"")??0)-(l.get(p.bmLabel??"")??0)),r.splice(this.config().maxNumberOfBenchmarksToShow??P.oI)}return r}generateTableRows(e,a){const o=[];return e.forEach(i=>{if(a){const r=this.chartPlotDetails.findIndex(l=>"bmPerf"===l.type&&l.bmLabel===i.bmLabel);this.pointColorIndexList.push(-1!==r?r:null)}else{const r=this.chartPlotDetails.findIndex(l=>"perf"===l.type&&l.calcType===i.calcNameStd);this.pointColorIndexList.push(-1!==r?r:null)}o.push([a?{value:`${i.bmName} (%)`,footnote:`${ge[i.bmLabel]}BenchmarkPerformance`}:{value:this.getSeriesName(i.calcNameStd,!0),footnote:`${i.calcNameStd}Performance`},...this.config().showCurrency?[{value:i.currencyCode}]:[],...Object.keys(te).filter(r=>"custom"!==r).map(r=>({value:i[r]}))])}),o}onPeriodEndChange(e){this.selectedPeriodEndSignal.set(e.value),"custom"!==this.selectedTimeperiod()&&("quarterEnd"===this.selectedPeriodEnd()?this.fetchQuartelyChartData():this.handleChartData(this.productData)),this.handleTableData()}onPeriodEndSelectChange(e){this.onPeriodEndChange({text:"",value:e.target.value,isActive:!0})}onChartCalculationUpdate(e){this.selectedTimeSeriesTypeSignal.set(e.value),this.fetchChartData()}onTimeperiodChange(e){const a=e.target.value;"custom"!==a&&(this.selectedTimeperiodSignal.set(a),this.fetchChartData())}fetchChartData(){this.pointColorIndexList=[],"quarterEnd"!==this.selectedPeriodEnd()?(this.handleChartData(this.productData),this.handleTableData()):this.fetchQuartelyChartData()}getSelectedPeriodAsofDate(){const e=this.productData?.shareClass?.performance?.performance;let a=null;return"loaded"===e?.status&&(a=this.filterCummPerfFromProductData(e)[0]?.asOfDateStd??null),a}createDateRange(){const e=this.getSelectedPeriodAsofDate(),a={from:this.shareClassDetail()?.inceptionDateStd,to:e};switch(this.selectedTimeperiod()){case"_1yr":return a.from=b(e).subtract(1,"year").format(u.D_),a;case"_3yr":return a.from=b(e).subtract(3,"year").format(u.D_),a;case"_5yr":return a.from=b(e).subtract(5,"year").format(u.D_),a;case"_10yr":return a.from=b(e).subtract(10,"year").format(u.D_),a;case"_15yr":return a.from=b(e).subtract(15,"year").format(u.D_),a;default:return a}}fetchQuartelyChartData(){this.fetchCustomDateRangeProductData$(b(this.createDateRange().from).format(u.$F),b(this.createDateRange().to).format(u.$F)).subscribe({next:e=>{this.logger.debug(this.loggerName,"custom date quarter API response: ",e),this.handleChartData(e),this.handleTableData()},error:e=>this.logger.error(this.loggerName,"custom date quarter API error: ",e),complete:()=>this.logger.info(this.loggerName,"custom date quarter API response completed.")})}onCustomDateRangeInput(e,a){!a||(this.customDateRangeSelection="fromDate"===e?{fromDate:a,toDate:this.customDateRangeSelection?.toDate}:{fromDate:this.customDateRangeSelection?.fromDate,toDate:a}
1,this.isSelectMatchingPeriod())||this.fetchCustomDateRangeProductData$(b(this.customDateRangeSelection.fromDate).format(u.$F),b(this.customDateRangeSelection.toDate).format(u.$F)).subscribe({next:i=>{this.logger.debug(this.loggerName,"custom date API response: ",i),this.handleChartData(i)},error:i=>this.logger.error(this.loggerName,"custom date API error: ",i),complete:()=>this.logger.info(this.loggerName,"custom date API response completed.")})}isSelectMatchingPeriod(){if(!this.customDateRangeSelection?.fromDate||!this.customDateRangeSelection?.toDate)return!1;const e=b(this.customDateRangeSelection.fromDate,P.Fj),a=b(this.customDateRangeSelection.toDate,P.Fj);let o=b(this.asOfDate(),["MM/DD/YYYY",P.VF,P.Fj],!0);if(o=o.isValid()?o:b(this.asOfDate()),o=b(o.format(P.Fj),P.Fj,!0),a.year()!==o.year()||a.month()!==o.month())return this.selectedTimeperiodSignal.set("custom"),!1;switch(o.diff(e,"year",!0)){case 1:this.selectedTimeperiodSignal.set("_1yr");break;case 3:this.selectedTimeperiodSignal.set("_3yr");break;case 5:this.selectedTimeperiodSignal.set("_5yr");break;case 10:this.selectedTimeperiodSignal.set("_10yr");break;case 15:this.selectedTimeperiodSignal.set("_15yr");break;default:return this.selectedTimeperiodSignal.set("custom"),!1}return this.fetchChartData(),!0}fetchCustomDateRangeProductData$(e,a){const o=this.getCustomDateRangeCacheKey(e,a),i=this.customDateRangeDataCache.get(o);return i?(0,F.of)(i):this.products.getProductDetails$(this.config().productShareClassCode,{fetchShareClass:{performance:{performanceTimeSeries:{isCustom:!0,fromDate:e,toDate:a}}}},this.isProgressiveLoading).pipe((0,g.M)(r=>{this.customDateRangeDataCache.set(o,r)}),(0,et.W)(r=>this.errorHandler(r)))}getCustomDateRangeCacheKey(e,a){return[this.config().productShareClassCode,e,a].join(":")}toggleCard(e){const a=this.cardClosedState();a?.length&&(a[e]=!a[e],this.cardClosedStateSignal.set(a))}getCumulativeBmDataAvailability(e,a){return a?e.map(o=>{const i=this.config().suppressedBenchmarks?.includes(o.bmLabel??"");return{oneMonth:(0,u.iF)(o.oneMonth,a.oneMonth,i),threeMonth:(0,u.iF)(o.threeMonth,a.threeMonth,i),sixMonth:(0,u.iF)(o.sixMonth,a.sixMonth,i),oneYear:(0,u.iF)(o.oneYear,a.oneYear,i),threeYear:(0,u.iF)(o.threeYear,a.threeYear,i),fiveYear:(0,u.iF)(o.fiveYear,a.fiveYear,i),tenYear:(0,u.iF)(o.tenYear,a.tenYear,i),fifteenYear:(0,u.iF)(o.fifteenYear,a.fifteenYear,i),yearToDate:(0,u.iF)(o.yearToDate,a.yearToDate,i),sinceInception:o.sinceInception,currencyCode:o.currencyCode,asOfDate:o.asOfDate,performanceStatus:o.performanceStatus,calcNameStd:o.calcNameStd,asOfDateStd:o.asOfDateStd,bmName:o.bmName,bmLabel:o.bmLabel}}):e}onStatusUpdate(e,a){this.logger.debug(this.loggerName,`Child component ${e} status updated:`,a)}addGrowthChartStart(e,a){this.proximalService&&this.proximalService.getProximals$("PerformanceCumulativeChartProximalTop").pipe((0,dt.s)(1),(0,H.pQ)(this.destroyRef)).subscribe({next:o=>{const i=[];o.forEach(r=>{i.push(a?r.replace(/(100k|50k|10k)/gi,e/1e3+"k"):r)}),this.chartProximalTopSignal.set(i)},error:o=>{this.logger.error(this.loggerName,"error adding growth chart start to proximal"+o)}})}updateChartYAxisLabelFormat(){if("loaded"===this.productData?.commonData?.status){const e=this.selectedTimeSeriesType()===Jt.TENK_GROWTH;this.chartConfig.yAxis={...this.chartConfig.yAxis,labelFormat:e?`${(0,u.Qn)(this.productData.commonData.currencyCode)}{value:,.0f}`:"{value:,.0f}"}}}static \u0275fac=function(a){return new(a||n)(t.rXU(t.gRc),t.rXU(B.L))};static \u0275cmp=t.VBU({type:n,selectors:[["frk-cumulative-total-returns"]],hostAttrs:["data-gtm-component","frk-cumulative-total-returns"],inputs:{isCardView:[1,"isCardView"],showAllShareClassesComponent:[1,"showAllShareClassesComponent"]},features:[t.Vt3],decls:4,vars:2,consts:[["cardView",""],[3,"status"],[1,"flex"],[1,"mb-2","text-xl","font-bold","lg:text-2xl"],["placement","CumulativePerformance",3,"componentId"],[3,"a11yPretext","placement","ariaLabel"],[1,"text-nc1-600","mb-4","text-sm","font-normal"],["placement","PerformanceCumulativeProximalTop"],[1,"mb-4","flex","w-full","flex-col","gap-4","lg:flex-row","lg:justify-between"],[1,"grid","grid-cols-1","gap-4","sm:grid-cols-2","lg:flex","lg:gap-4",3,"ngClass"],[1,"-mb-4","pt-5","sm:mb-0"],[1,"grid","grid-cols-1","gap-4","sm:grid-cols-2","lg:flex","lg:justify-end","lg:gap-4",3,"ngClass"],[1,"overflow-x-auto"],["tabId","CUMULATIVE",3,"config","isCardView"],["placement","PerformanceCumulativeProximalBottom"],[1,"inline-block","text-sm","font-normal","last:m-0",3,"innerHTML"],[3,"innerHTML"],[3,"toggleActive","toggleButtons"],[1,"pt-6"],[1,"mb-2","flex","sm:mb-0",3,"for"],[1,"select","select--light","block","sm:inline-block"],[1,"select","min-w-full",3,"change","id"],[3,"value","selected"],[1,"w-full","sm:w-auto"],["opens","left",3,"selected","id","label","min","max","value","placeholder","selectedDateLabel","toggleButtonLabel","errorMsgObj"],[1,"mb-8"],["placement","PerformanceCumulativeChartProximalBottom"],[3,"chartConfig","chartData"],[1,"table"],[1,"sr-only"],["scope","col",3,"ngClass"],[3,"ngClass"],[1,"inline-block","h-[15px]","w-[15px]","shrink-0","rounded-[4px]",3,"ngClass"],[3,"placement","componentId"],[4,"ngTemplateOutlet"],[1,"pop-cards"],[1,"border-nc1-200","mb-3","rounded-xl","border"],["type","button",1,"text-nc1-0","flex","w-full","items-center","justify-between","rounded-b-xl","px-4","py-2","text-left","text-sm",3,"click"],[1,"flex","justify-between","rounded-t-xl","p-2",3,"id","bg-nc1-100","text-nc1-950","bg-pc1-800","text-nc1-0"],[1,"flex","justify-between","rounded-t-xl","p-2",3,"id"],[1,"flex","items-center","gap-2","font-bold"],[1,"m-0","block",3,"id"],[1,"border-nc1-200","grid","w-full","grid-cols-2","gap-2","border-b"],[1,"col-div-1","p-4"],[1,"flex","items-center","text-base","font-bold"],[1,"col-div-1","p-4","font-normal"],[1,"gap-1","text-base","md:flex","md:items-center"],[1,"font-bold"],["name","heroChevronUp","aria-hidden","true",3,"size"],["name","heroChevronDown","aria-hidden","true",3,"size"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",1),t.DNE(1,pl,23,21),t.k0s(),t.DNE(2,xl,3,0,"ng-template",null,0,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,C.T3,K.j,d.TranslatePipe,R.ai,d.ComponentStatusComponent,d.ProximalComponent,d.FootnoteComponent,R.b6,R.zq,Ee,Kt],encapsulation:2,changeDetection:0})}return n})();b.extend(wt);const Vb={oneYear:"products.timeframes.1-year",twoYear:"products.timeframes.2-years",threeYear:"products.timeframes.3-years",fourYear:"products.timeframes.4-years",fiveYear:"products.timeframes.5-years",sixYear:"products.timeframes.6-years",sevenYear:"products.timeframes.7-years",eightYear:"products.timeframes.8-years",nineYear:"products.timeframes.9-years",tenYear:"products.timeframes.10-years"};let Xb=(()=>{class n extends U{loggerName="DiscreteAnnualReturnsComponent";intlService=(0,t.WQX)(B.I);showAllShareClassesComponent=(0,t.hFB)(!1);isCardView=(0,t.geq)(!1);translateService=(0,t.WQX)(u.c$);inceptionDateSignal=(0,t.vPA)("");inceptionDate=this.inceptionDateSignal.asReadonly();periodEndsSignal=(0,t.vPA)([]);availableCalctype=[];periodEnds=(0,t.EWP)(()=>this.periodEndsSignal().map(e=>({text:this.translateService.instant("monthEnd"===e?"products.month-end":"products.quarter-end"),value:e,isActive:e===this.selectedPeriodEnd()})));selectedPeriodEndSignal=(0,t.vPA)("monthEnd");selectedPeriodEnd=this.selectedPeriodEndSignal.asReadonly();allShareClassConfig=(0,t.EWP)(()=>({...this.config(),selectedPeriodEnd:this.selectedPeriodEnd()??"monthEnd"}));asOfDateSignal=(0,t.vPA)(null);asOfDate=this.asOfDateSignal.asReadonly();chartConfig={chartType:"column",xAxis:{isLabelEnabled:!0},yAxis:{isLabelEnabled:!0},tooltip:{enabled:!0,borderWidth:1,formatter:function(e){return function(){return this.y?`${this.series.name}: <b>${e.intlService.toLocalDecimal(this.y)}</b>`:""}}(this)},colors:W.D$,responsive:{rules:[{condition:{maxWidth:500},chartOptions:{chart:{marginBottom:80},xAxis:{labels:{y:30}}}}]}};chartDataSignal=(0,t.vPA)(null);chartData=this.chartDataSignal.asReadonly();isFundOneYearOld=(0,t.vPA)(!1);tableDataSignal=(0,t.vPA)(null);tableData=this.tableDataSignal.asReadonly();productData=null;elementIdList={select:`select-${(0,N.A)()}`,fromDate:`fromDate-${(0,N.A)()}`};calendarFromDate=b().format(P.Fj);customDateRangeLimit={min:"1900-01",max:b().format(P.Fj)};calendarMaxDate;mntAsOfDate;qtrAsOfDate;cardClosedStateSignal=(0,t.vPA)(void 0);cardClosedState=this.cardClosedStateSignal.asReadonly();errorMsgObj={badInput:this.translateService.instant("common.dateError.badInput"),valueMissing:this.translateService.instant("common.dateError.valueMissing"),rangeUnderflow:this.translateService.instant("common.dateError.rangeUnderflow"),rangeOverflow:this.translateService.instant("common.dateError.rangeOverflow"),disabledWithInWeekRange:this.translateService.instant("common.dateError.disabledWithInWeekRange")};getSections=e=>(this.logger.debug(this.loggerName,"config",e),this.handleConfigs(e),this.get
1SectionImpl(e));handleConfigs(e){this.periodEndsSignal.set(e.periodEnds??["monthEnd"]),this.selectedPeriodEndSignal.set(e.selectedPeriodEnd??"monthEnd")}getSectionImpl(e,a,o=!1){let i;return i=o&&a?{historical:{asOfDate:a,history:ut(e,"DISCRETE")}}:{monthEnd:ut(e,"DISCRETE"),quarterEnd:ut(e,"DISCRETE")},{fetchCommonData:!0,fetchShareClass:{fetchShareClassDetail:!0,performance:{performance:i,benchmark:!!e.showBenchmark&&i}}}}processData=e=>{this.logger.debug(this.loggerName,"processData()",e),this.productData=e,this.processShareClassDetail(e.shareClass),this.isPerformanceDataLoaded()?(this.handleLoadedPerformanceData(),this.status.set(d.ComponentStatus.LOADED)):(this.logger.info(this.loggerName,"processData()","All product sections not loaded."),this.status.set(d.ComponentStatus.EMPTY))};processShareClassDetail(e){switch(e.detail?.status){case"loaded":this.inceptionDateSignal.set(e.detail.performanceInceptionDate??"");break;case"empty-data":this.inceptionDateSignal.set("")}}isPerformanceDataLoaded(){return"loaded"===this.productData?.shareClass?.performance?.performance?.status}handleLoadedPerformanceData(){this.productData&&(this.createDiscreteAnnTotalRtns(this.productData),this.shouldInitializeAsOfDates()&&"loaded"===this.productData.shareClass?.performance?.performance?.status&&this.initializeAsOfDates(this.productData.shareClass.performance.performance))}shouldInitializeAsOfDates(){return!this.mntAsOfDate&&!this.qtrAsOfDate}initializeAsOfDates(e){const a=this.config().defaultCalcType;this.mntAsOfDate=this.extractAsOfDate(e.monthEnd?.[a]?.DISCRETE?.[0]?.asOfDateStd),this.qtrAsOfDate=this.extractAsOfDate(e.quarterEnd?.[a]?.DISCRETE?.[0]?.asOfDateStd)}extractAsOfDate(e){if(e)return b(e,P.VF).format(P.Fj)}createDiscreteAnnTotalRtns(e,a=!1){const o=e?.shareClass?.performance;if("loaded"!==o?.performance?.status)return;this.setAvailableCalcTypes(o);const i=a?this.processHistoricalData(o):this.processStandardPeriodData(o);this.updateChartAndTableSignals(i)}setAvailableCalcTypes(e){if(this.availableCalctype="loaded"===e.performance?.status&&e.performance.availableCalcTypes.length&&this.config().isAllCalcTypeRequiredFromPDS?e.performance.availableCalcTypes:this.config().availableCalcTypes||[],this.config().defaultCalcType){const a=this.config().defaultCalcType;this.availableCalctype.splice(this.availableCalctype.indexOf(a),1),this.availableCalctype.unshift(a)}}processHistoricalData(e){const a="loaded"===e.performance?.status?e.performance.history:void 0,o="loaded"===e.benchmarkPerformance?.status?e.benchmarkPerformance.history:void 0;if(!a)return null;const i=[a];return o&&i.push(o),this.processTableData(i)}processStandardPeriodData(e){const a="loaded"===e.performance?.status?e.performance[this.selectedPeriodEnd()??"monthEnd"]:void 0,o="loaded"===e.benchmarkPerformance?.status?e.benchmarkPerformance[this.selectedPeriodEnd()??"monthEnd"]:void 0;if(!a)return null;const i=[a];return o&&i.push(o),this.processTableData(i)}updateChartAndTableSignals(e){e&&(this.tableDataSignal.set(e),this.chartDataSignal.set(this.getChartData(e)))}processTableData(e){const a={cols:[],rows:[]};let o=[];return e.forEach((i,r)=>{this.availableCalctype.forEach(l=>{let c=i[l]?.DISCRETE;this.setIsFundOneYearOld(c||[]),c=this.processBenchmarkData(c,r,l,o),0===o.length&&c?.length&&(o=c),0===r&&0===a.cols.length&&c&&c.length>0&&this.processColumnsAndDates(c,a),this.addTableRows(c,r,a)})}),this.cardClosedStateSignal.set(Array(a.rows.length).fill(!0)),this.removeEmptyColumns(a)}processBenchmarkData(e,a,o,i){return 1===a?o===this.config().defaultCalcType&&i.length>0&&i[0]?this.organizeBMPerfData(e??[],i[0]):[]:e}processColumnsAndDates(e,a){const o=this.getPerformanceInceptionDate(),i=this.config().dynamicLabels?o:null;this.asOfDateSignal.set(e[0]?.asOfDate??null);const r=this.getPreviousYearsDateRange(10,e[0]?.asOfDateStd,P.VF,"MMM-YY",i);this.updateCalendarDates(e[0]?.asOfDateStd,o);const l=this.getPeriodEndLabel();a.cols.push({label:`${l} (${this.translateService.instant("products.as-of")} ${this.asOfDate()})`,periodEnd:l},{label:this.translateService.instant("products.currency")},...r.map(c=>({label:`${c.startDate} / ${c.endDate}`,key:`${c.startDate} / ${c.endDate}`})),{label:this.translateService.instant("products.inception-date")})}getPerformanceInceptionDate(){if("loaded"===this.productData?.shareClass?.detail?.status)return this.productData.shareClass.detail.performanceInceptionDateStd}updateCalendarDates(e,a){const o=b(e,P.VF).format(P.Fj);(!this.calendarMaxDate||b(o,P.Fj).valueOf()>b(this.calendarMaxDate,P.Fj).valueOf())&&(this.calendarMaxDate=o
1),this.calendarFromDate=o,this.customDateRangeLimit={min:b(a,P.VF).format(P.Fj),max:this.calendarMaxDate}}getPeriodEndLabel(){return this.periodEnds().find(e=>e.value===this.selectedPeriodEnd())?.text??this.translateService.instant("products.perf-date-selected")}addTableRows(e,a,o){const i=this.productData?.commonData;if(e&&e.length>0){const r=_e(e,i.productType,this.config());o.rows.push(...this.generateTableRows(r,1===a))}}setIsFundOneYearOld(e){0!==e.length&&([...e].some(a=>a.bmLabel&&""!==a.bmLabel.trim())||[...e].some(a=>a.oneYear!==u.BX)&&this.isFundOneYearOld.set(!0))}removeEmptyColumns(e){const a=e.cols.slice(2,-1),o=[];return a.forEach((i,r)=>{const l=r+2;e.rows.some(p=>{const _=p[l]?.value;return _&&_!==u.BX&&"N/A"!==_&&""!==_})||o.push(l)}),[...o].sort((i,r)=>r-i).forEach(i=>{e.cols.splice(i,1),e.rows.forEach(r=>{r.splice(i,1)})}),e.rows.forEach((i,r)=>{const l=i[1]?.value;2===i.length&&(!l||l===u.BX||"N/A"===l)&&(e.rows[r]=[])}),e}organizeBMPerfData(e,a){let o=[];if(this.config().showBenchmark){o=e.map(r=>{const l=this.config().suppressedBenchmarks?.includes(r.bmLabel??"");return{oneYear:(0,u.iF)(r.oneYear,a.oneYear,l),twoYear:(0,u.iF)(r.twoYear,a.twoYear,l),threeYear:(0,u.iF)(r.threeYear,a.threeYear,l),fourYear:(0,u.iF)(r.fourYear,a.fourYear,l),fiveYear:(0,u.iF)(r.fiveYear,a.fiveYear,l),sixYear:(0,u.iF)(r.sixYear,a.sixYear,l),sevenYear:(0,u.iF)(r.sevenYear,a.sevenYear,l),eightYear:(0,u.iF)(r.eightYear,a.eightYear,l),nineYear:(0,u.iF)(r.nineYear,a.nineYear,l),tenYear:(0,u.iF)(r.tenYear,a.tenYear,l),currencyCode:r.currencyCode,asOfDate:r.asOfDate,asOfDateStd:r.asOfDateStd,performanceStatus:r.performanceStatus,calcNameStd:r.calcNameStd,bmName:r.bmName,bmLabel:r.bmLabel}});const i=new Map(this.config().benchmarkOrder?.map((r,l)=>[r,l]));o=o.sort((r,l)=>(i.get(r.bmLabel??"")??0)-(i.get(l.bmLabel??"")??0))}return o}generateTableRows(e,a){const o=[];return e.forEach(i=>{o.push([a?{value:`${i.bmName} (%)`,footnote:`${ge[i.bmLabel]}BenchmarkPerformance`}:{value:this.getSeriesName(i.calcNameStd),footnote:`${i.calcNameStd}Performance`},{value:i.currencyCode},...Object.keys(Vb).map(r=>({value:i[r]})),{value:a?u.BX:this.inceptionDate()}])}),o}getSeriesName(e){return"loaded"===this.productData?.commonData?.status&&"loaded"===this.productData.shareClass?.detail?.status?`${this.getSeriesPrefix(this.productData.shareClass.detail,e)}
1 ${this.getSeriesSuffix(e)} (%)`:e}getSeriesPrefix(e,a){return(e.isSingleShareClass||"SINGLCLASS"===this.productData?.shareClass?.shareClassCode)&&"loaded"===this.productData?.commonData?.status&&this.productData.commonData.productName?this.productData.commonData.productName:e.shareClassName||a}getSeriesSuffix(e){return"loaded"===this.productData?.commonData?.status?this.translateService.instant(`products.${Xt(this.productData.commonData.productType)}-performance-calctype-${(0,yt.A)(e)}`):""}getChartData(e){if(0===e.rows.length)return null;const a=[],o=[],i=e.cols.slice(2,-1).map(r=>r.label);return e.rows.forEach(r=>{const l=[];r.forEach((c,p)=>{0===p?a.push(c.value):p>1&&p<r.length-1&&l.push(parseFloat(c.value))}),o.push({plots:l})}),{name:a,xAxis:i,yAxis:o}}onPeriodEndChange(e){this.selectedPeriodEndSignal.set(e.value),this.createDiscreteAnnTotalRtns(this.productData)}onCustomDateRangeInput(e){e&&(this.calendarFromDate!==e&&(this.calendarFromDate=e,this.setPeriodEndSelection(e)),this.fetchCustomDateRangeProductData$(b(e).endOf("month").format(u.Zy)).subscribe({next:a=>{this.logger.debug(this.loggerName,"custom date API response: ",a),this.createDiscreteAnnTotalRtns(a,!0)},error:a=>this.logger.error(this.loggerName,"custom date API error: ",a),complete:()=>this.logger.info(this.loggerName,"custom date API response completed.")}))}fetchCustomDateRangeProductData$(e){return this.products.getProductDetails$(this.config().productShareClassCode,this.getSectionImpl(this.config(),e,!0),this.isProgressiveLoading).pipe((0,et.W)(a=>this.errorHandler(a)))}setPeriodEndSelection(e){let a=null;e===this.mntAsOfDate&&(a="monthEnd"),e===this.qtrAsOfDate&&(a="quarterEnd"),this.selectedPeriodEndSignal.set(a),this.periodEndsSignal.set(this.config().periodEnds??["monthEnd"])}getPreviousYearsDateRange(e,a,o,i,r){const l=b(a,o,"en_GB");
1if(!l.isValid())return[];const c=r?b(r):null;return this.buildYearRanges(e,l,c,i)}buildYearRanges(e,a,o,i){const r=[];for(let l=1;l<=e;l++){const c=this.calculateStartDate(a,l,o),p=a.clone().subtract(l-1,"years").format(i);if(r.push({startDate:c.format(i),endDate:p}),this.isInceptionDateUsed(c,o))break}return r}calculateStartDate(e,a,o){const i=e.clone().subtract(a,"years");return o?.isAfter(i)?o:i}isInceptionDateUsed(e,a){return!!a&&e.isSame(a)}toggleCard(e){const a=this.cardClosedState();a?.length&&(a[e]=!a[e],this.cardClosedStateSignal.set(a))}ngOnChanges(e){e.isCardView&&this.isCardView.set(e.isCardView.currentValue)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-discrete-annual-returns"]],hostAttrs:["data-gtm-component","product-discrete-annual-returns"],inputs:{showAllShareClassesComponent:[1,"showAllShareClassesComponent"],isCardView:[1,"isCardView"]},outputs:{isCardView:"isCardViewChange"},features:[t.Vt3,t.OA$],decls:4,vars:2,consts:[["cardView",""],[3,"status"],[1,"md:flex"],[1,"mb-2","text-xl","font-bold","lg:text-2xl"],["placement","AnnualizedPerformance",3,"componentId"],[1,"text-nc1-600","text-sm","font-normal"],[3,"placement"],[1,"mb-4","max-w-full","pb-1","pl-1","sm:flex","sm:justify-between"],[1,"min-w-0","sm:pt-5"],[1,"mb-8"],["placement","PerformanceAnnualizedProximalBottom"],[3,"toggleActive","toggleButtons"],[3,"chartConfig","chartData"],["placement","PerformanceAnnualizedChartProximalBottom"],[1,"table"],[1,"mb-4","flex","items-center","justify-between"],[1,"sr-only"],["scope","col",3,"ngClass"],[3,"ngClass"],[1,"inline-block","h-[15px]","w-[15px]","shrink-0","rounded-[4px]",3,"ngClass"],[3,"placement","componentId"],[1,"text-lg","font-bold"],[4,"ngTemplateOutlet"],["tabId","AVG_ANNUAL",3,"config","isCardView"],[1,"pop-cards"],[1,"border-nc1-200","mb-3","rounded-xl","border"],["type","button",1,"text-nc1-0","flex","w-full","items-center","justify-between","rounded-b-xl","px-4","py-2","text-left","text-sm",3,"click"],[1,"flex","flex-col","justify-between","rounded-t-xl","p-2",3,"id","bg-nc1-100","text-nc1-950","bg-pc1-800","text-nc1-0"],[1,"flex","flex-col","justify-between","rounded-t-xl","p-2",3,"id"],[1,"flex","items-center","gap-2","font-bold"],[1,"flex"],[1,"flex","text-sm"],[1,"m-0","block",3,"id"],[1,"border-nc1-200","grid","w-full","grid-cols-2","gap-2","border-b"],[1,"col-div-1","p-4"],[1,"flex","items-center","text-base","font-bold"],[1,"col-div-1","p-4","font-normal"],[1,"gap-1","text-base","md:flex","md:items-center"],[1,"font-bold"],["name","heroChevronUp","aria-hidden","true",3,"size"],["name","heroChevronDown","aria-hidden","true",3,"size"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",1),t.DNE(1,Ol,16,12),t.k0s(),t.DNE(2,ql,2,1,"ng-template",null,0,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,C.T3,d.ComponentStatusComponent,K.j,d.TranslatePipe,d.FootnoteComponent,d.ProximalComponent,R.ai,R.zq,Kt],encapsulation:2,changeDetection:0})}return n})();b.extend(wt);let Hb=(()=>{class n extends U{loggerName="MonthlyTotalReturnComponent";cp92083FundId="92083";cp92083DefaultCalcTypes=["GROSS","NAV","NET"];cp92083FirstYearYtdMapping={I:"1.69",D:"1.62",S:"1.47",T:"1.47"};translateService=(0,t.WQX)(u.c$);intlService=(0,t.WQX)(B.I);productName=(0,t.vPA)("");productData=null;productId=(0,t.vPA)(void 0);tableDataSignal=(0,t.vPA)(null);tableData=this.tableDataSignal.asReadonly();rawTableDataSignal=(0,t.vPA)(null);rawTableData=this.rawTableDataSignal.asReadonly();displayTableDataSignal=(0,t.vPA)(null);displayTableData=this.displayTableDataSignal.asReadonly();availableCalcTypes=[];chartDataSignal=(0,t.vPA)(null);chartData=this.chartDataSignal.asReadonly();toggleButtons=[];isCardView=(0,t.hFB)(!1);showAllShareClassesComponent=(0,t.hFB)(!1);cardClosedStateSignal=(0,t.vPA)(void 0);cardClosedState=this.cardClosedStateSignal.asReadonly();allShareClassConfig=(0,t.EWP)(()=>({...this.config(),selectedPeriodEnd:this.selectedPeriodEnd()??"monthEnd"}));asOfDateSignal=(0,t.vPA)(null);asOfDate=this.asOfDateSignal.asReadonly();selectedTabSignal=(0,t.vPA)("table");selectedTab=this.selectedTabSignal.asReadonly();calendarYears=[];ytdDataMap=new Map;months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];periodEndsSignal=(0,t.vPA)(["monthEnd","quarterEnd"]);periodEnds=(0,t.EWP)(()=>this.periodEndsSignal().map(e=>({text:this.translateService.instant("monthEnd"===e?"products.month-end":"products.quarter-end"),value:e,isActive:e===this.selectedPeriodEnd()})));selectedPeriodEndSignal=(0,t.vPA)("monthEnd");selectedPeriodEnd=this.selectedPeriodEndSignal.asReadonly();showPeriodEndSignal=(0,t.vPA)(!1);showPeriodEnd=this.showPeriodEndSignal.asReadonly();showViewToggleSignal=(0,t.vPA)(!0);showViewToggle=this.showViewToggleSignal.asReadonly();chartConfig={chartType:"line",xAxis:{type:"datetime",isLabelEnabled:!0,dateTimeLabelFormats:{year:"%Y"},tickPixelInterval:120},yAxis:{gridLineDashStyle:"LongDash"},legend:{enabled:!0,verticalAlign:"bottom",layout:"horizontal",align:"center"},tooltip:{enabled:!0,borderWidth:1,formatter:function(e){return function(){return this.y?`${this.series.name}: <b>${e.intlService.toLocalDecimal(this.y)}</b>`:""}}(this)},colors:W.D$};getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchCommonData:!0,fetchShareClass:{fetchShareClassDetail:!0,performance:{performance:{monthEnd:ut(e,["MONTHLY_RETURN","CALENDAR_YEAR"]),quarterEnd:ut(e,["MONTHLY_RETURN","CALENDAR_YEAR"])},benchmark:{monthEnd:ut(e,["MONTHLY_RETURN","CALENDAR_YEAR"]),quarterEnd:ut(e,["MONTHLY_RETURN","CALENDAR_YEAR"])},performanceTimeSeries:{isCustom:!1,isMonthly:!0}}}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e),this.productData=e,this.productData.productId&&this.productId.set(this.productData.productId),this.createToggleButtons();const a=this.productData.shareClass?.performance;"loaded"===this.productData.commonData?.status&&"loaded"===a?.performance?.
1status?(this.setToggleMode(),this.availableCalcTypes=a.performance.availableCalcTypes.length&&this.config().isAllCalcTypeRequiredFromPDS?a.performance.availableCalcTypes:this.config().availableCalcTypes||[],this.chartConfig.yAxis={...this.chartConfig.yAxis,labelFormat:`${(0,u.Qn)(this.productData.commonData.currencyCode)}{value:,.0f}`},this.handleTableData(),this.createTableData(),this.status.set(d.ComponentStatus.LOADED)):(this.logger.info(this.loggerName,"processData()","All product sections not loaded."),this.status.set(d.ComponentStatus.EMPTY))};setToggleMode(){if(this.shouldShowPeriodEndToggle())return this.showPeriodEndSignal.set(!0),this.showViewToggleSignal.set(!1),void this.selectedTabSignal.set("table");this.showPeriodEndSignal.set(!1),this.showViewToggleSignal.set(!0)}shouldShowPeriodEndToggle(){const e=this.productData?.commonData,a="loaded"===e?.status&&"productType"in e&&e.productType===w.lM.TOF;return this.productData?.productId===this.cp92083FundId||a}handleCalenderYearData(e){let a=[];this.getPreferredCalcTypes().filter(_=>e?.[_]).flatMap(_=>({calcType:_,value:e?.[_]?.CALENDAR_YEAR})).forEach(({calcType:_,value:E})=>{E?.[0]&&E.forEach(y=>{a.push({label:_,calcType:_,data:y})})});const o=We(a,fe);a=qe(a,o);const r=this.getLabelsForChart(o).filter(_=>"yearToDate"!==_),l=a[0]?.data.asOfDateStd||"",c=Jn(Ue(l,P.VF),ze(l,P.VF),!0,r);this.convertTableToChartData([a[0]?.data],r)[0]?.forEach((_,E)=>{c[E]&&(_.y||0===_.y)&&this.ytdDataMap.set(c[E].toString(),this.toDisplayReturnValue(_.y))})}convertTableToChartData(e,a){const o=[];return Object.keys(e).forEach(i=>{const r=e[+i],l=[];a.forEach(c=>{let p=(0,Ut.A)(r,c,null);p&&(p=(0,u.wR)(p)),(0,Ut.A)(r,"hideOnChart",!1)||l.push({y:p})}),l.length>0&&o.push(l)}),o}getLabelsForChart(e){const a=[];return fe.forEach(o=>{e.includes(o)||a.push(o)}),a}createToggleButtons(){this.toggleButtons=[{isActive:!0,text:this.translateService.instant("products.distribution-table-tab"),value:"table"},{isActive:!1,text:this.translateService.instant("products.distribution-chart-tab"),value:"chart"}]}createTableData(){const e={cols:[],rows:[]};"loaded"===this.productData?.shareClass?.detail?.status&&e.cols.push({label:this.productData.shareClass.detail.shareClassName}),this.tableData()?.[0]?.monthlyReturns.forEach(i=>{e.cols.push({label:i.month||u.BX})}),this.tableData()?.forEach(i=>{const r=this.generateRows(i);e.rows.push(r)}),this.cardClosedStateSignal.set(Array(e.rows.length).fill(!0)),this.displayTableDataSignal.set(e)}generateRows(e){const a=[];return a.push({value:e.year||u.BX}),e.monthlyReturns.forEach(r=>{a.push({value:r.returns})}),a}toggleCard(e){const a=this.cardClosedState();a?.length&&(a[e]=!a[e],this.cardClosedStateSignal.set(a))}createHighChartData(e){const a={name:[this.translateService.instant("products.performance-monthly-total-returns")],yAxis:[]},o=[];e.forEach(i=>{i.monthlyReturns.forEach(r=>{if(r.returns===u.BX||null===r.returns)return;const l=r.cumulativeMonthlyReturnCalculated;let c=null;r.asOfDateStd&&(c=b.utc(r.asOfDateStd,P.Fj).valueOf());const p=(0,u.cG)(l);(p||0===p)&&!isNaN(p)&&null!==c&&o.push([c,p])})}),a.yAxis.push({plots:o}),this.chartDataSignal.set(a)}onViewToggleChanged(e){this.selectedTabSignal.set(e.value)}onPeriodEndChange(e){this.selectedPeriodEndSignal.set(e.value),this.handleTableData(),this.createTableData()}handleTableData(){const e=this.productData?.shareClass?.performance?.performance;this.ytdDataMap.clear();const a=this.getLoadedFundData();a&&this.updateTableState(a,e)}getLoadedFundData(){const e=this.productData?.shareClass?.performance?.performanceTimeSeries;return"loaded"!==e?.status?null:e.cumulative._10k?.sinceInception?.fund??[]}updateTableState(e,a){const o=this.getSelectedPeriodAsOfDateStd(a),i=this.filterFundDataByAsOfDate(e,o),r=this.getUniqueYearsDesc(i),l=this.buildRawTableFromFundData(i),c=i[0]?.asOfDate,p=i.at(-1)?.asOfDate,{inceptionYear:_,currentYear:E}=this.getTableYearBounds(c,p);this.populateYtdMap(a,r);const y=this.buildRawAnnualData(_,E,l);this.appendYtdColumn(y),this.createHighChartData(y),this.tableDataSignal.set(y.slice().reverse())}getSelectedPeriodAsOfDateStd(e){if("loaded"!==e?.status)return;const a=e[this.selectedPeriodEnd()];
1return(this.productData?.productId===this.cp92083FundId?this.cp92083DefaultCalcTypes:this.availableCalcTypes).map(r=>a?.[r]?.MONTHLY_RETURN?.[0]?.asOfDateStd).find(Boolean)}filterFundDataByAsOfDate(e,a){if(!a)return e;const o=b(a,P.VF);return e.filter(i=>b(i.asOfDateStd,P.VF).isSame(o)||b(i.asOfDateStd,P.VF).isBefore(o))}getTableYearBounds(e,a){const o=Number(b().year());return{inceptionYear:e?Number(b(e).format("YYYY")):o,currentYear:a?Number(b(a).format("YYYY")):o}}populateYtdMap(e,a){if("loaded"!==e?.status)return;const o=e[this.selectedPeriodEnd()];this.productData?.productId!==this.cp92083FundId?(this.handleCalenderYearData(o),this.mergeOverviewDataIntoRawTable()):this.populateCp92083YtdMap(o,a)}appendYtdColumn(e){e.forEach(a=>{a.monthlyReturns.push({month:"Ytd",returns:this.ytdDataMap.get(a.year.toString())??u.BX,asOfDateStd:u.BX,cumulativeMonthlyReturnCalculated:u.BX,year:Number(a.year)})})}getPreferredCalcTypes(){return this.availableCalcTypes.includes("NAV")?["NAV"]:this.availableCalcTypes.includes("NET")?["NET"]:this.availableCalcTypes}buildRawTableFromFundData(e){const a=new Map,o=this.productData?.productId===this.cp92083FundId?new Set(this.cp92083DefaultCalcTypes):new Set(this.getPreferredCalcTypes());return e.forEach(i=>{const r=b(i.asOfDate).format("YYYYMMM");(0===o.size||o.has(i.calcName))&&a.set(r,{returns:i.cumulativeMonthlyReturnActualStd??i.cumulativeMonthlyReturnCalculatedStd,cumulative10kReturns:i.cumulativeMonthlyReturnCalculated??u.BX,date:i.asOfDateStd})}),a}mergeOverviewDataIntoRawTable(){const e=this.productData?.shareClass?.performance?.performance;if("loaded"===e?.status){let a="";const o=e[this.selectedPeriodEnd()];this.getPreferredCalcTypes().forEach(i=>{o?.[i]?.MONTHLY_RETURN&&o[i].MONTHLY_RETURN.forEach(l=>{if(l.calcNameStd===i){const c=b(l.asOfDate).format("YYYY");this.ytdDataMap.set(c,this.toDisplayReturnValue(l.yearToDate)),a=l.asOfDate,this.asOfDateSignal.set(a)}})})}}buildRawAnnualData(e,a,o){const i=[];for(let r=e;r<=a;r++){const l={year:r,monthlyReturns:[]};l.monthlyReturns=this.months.map(c=>{const _=o.get(`${r}${c}`);if(!_)return{month:c,returns:u.BX,asOfDateStd:u.BX,cumulativeMonthlyReturnCalculated:u.BX,year:r};const E=_.returns??"",y=(_.cumulative10kReturns??u.BX).toString().replace(/,/g,""),L=y===u.BX||isNaN(Number(y))?u.BX:parseFloat(y).toFixed(2);return{month:c,returns:""!==E?parseFloat(E).toFixed(2):u.BX,asOfDateStd:_.date,cumulativeMonthlyReturnCalculated:L,year:r}}),i.push(l)}return i}getUniqueYearsDesc(e){const a=e.map(o=>Number(o.asOfDateStd.split("-")[0])).filter(o=>Number.isFinite(o));return Array.from(new Set(a)).sort((o,i)=>i-o)}populateCp92083YtdMap(e,a){const o=this.getCp92083CalcType(e);if(!o||0===a.length)return;const{monthlyPerf:i,calendarPerf:r}=this.getCp92083PerformanceRows(e,o);this.setCp92083AsOfDate(i);const l=a.length-1,c=this.getAsOfMonth(i),p=this.productData?.shareClass?.shareClassCode;a.forEach((_,E)=>{this.ytdDataMap.set(_.toString(),this.getCp92083YtdForYearIndex(i,r,E,l,c,p))})}getCp92083PerformanceRows(e,a){return{monthlyPerf:e?.[a]?.MONTHLY_RETURN?.[0],calendarPerf:e?.[a]?.CALENDAR_YEAR?.[0]}}setCp92083AsOfDate(e){e?.asOfDate&&this.asOfDateSignal.set(e.asOfDate)}getAsOfMonth(e){return e?.asOfDateStd?b(e.asOfDateStd).month():-1}getCp92083CalcType(e){const a=this.cp92083DefaultCalcTypes.filter(o=>!!e?.[o]?.MONTHLY_RETURN?.length);return a.length>0?a[0]:this.availableCalcTypes.find(o=>!!e?.[o]?.MONTHLY_RETURN?.length)}getCp92083YtdForYearIndex(e,a,o,i,r,l){return 0===o?this.toDisplayReturnValue(e?.yearToDate):o===i?this.cp92083FirstYearYtdMapping[l??""]??u.BX:this.toDisplayReturnValue(this.getCalendarYearReturnByIndex(a,11===r?o+1:o))}getCalendarYearReturnByIndex(e,a){const i={1:"oneYear",2:"twoYear",3:"threeYear",4:"fourYear",5:"fiveYear",6:"sixYear",7:"sevenYear",8:"eightYear",9:"nineYear",10:"tenYear"}[a];return i?e?.[i]:void 0}toDisplayReturnValue(e){if(null==e)return u.BX;const a=e.toString().trim();if(!a||a===u.BX)return u.BX;const o=Number(a.replace(/,/g,""));return Number.isFinite(o)?o.toFixed(2):a}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-monthly-total-return"]],hostAttrs:["data-gtm-component","monthly-total-return"],inputs:{isCardView:[1,"isCardView"],showAllShareClassesComponent:[1,"showAllShareClassesComponent"]},features:[t.Vt3],decls:6,vars:2,consts:[["handleTableView",""],["cardView",""],[3,"status"],[1,"flex"],[1,"mb-2","text-xl","font-bold","lg:text-2xl"],[1,"text-nc1-600","mb-4","text-sm","font-normal"],["placement","PerformanceMonthlyTotalReturnsProximalTop"],[1,"mb-4","flex","w-full","flex-col","gap-4","lg:flex-row","lg:justify-between"],[1,"mb-4","flex","flex-wrap","items-start","pb-2","md:flex-row","md:items-end","md:justify-between"],["tabId","MONTHLY_RETURN",3,"config","showYearColumns","isCardView"],["placement","PerformanceMonthlyTotalReturnsProximalBottom"],[1,"grid","grid-cols-1","gap-4","sm:grid-cols-2","lg:flex","lg:w-1/2","lg:gap-4"],[1,"-mb-4","sm:mb-0"],["data-testid","view-toggle-element",3,"toggleActive","toggleButtons"],["data-testid","period-end-toggle-element",1,"w-full","md:w-auto",3,"toggleActive","toggleButtons"],[4,"ngTemplateOutlet"],["placement","PerformanceMonthlyTotalReturnsChartProximalTop"],[1,"mb-8"],[3,"chartConfig","chartData"],["placement","PerformanceMonthlyTotalReturnsChartProximalBottom"],[1,"overflow-x-auto"],[1,"table"],[1,"hidden"],["scope","col",3,"ngClass"],[3,"ngClass"],[1,"pop-cards"],[1,"border-nc1-200","mb-3","rounded-xl","border"],["type","button","aria-expanded","true",1,"text-nc1-0","flex","w-full","items-center","justify-between","rounded-b-xl","px-4","py-2","text-left","text-sm",3,"click"],[1,"flex","justify-between","rounded-t-xl","p-2",3,"id","bg-nc1-100","text-nc1-950","bg-pc1-800","text-nc1-0"],[1,"flex","justify-between","rounded-t-xl","p-2",3,"id"],[1,"flex","items-center","gap-2","font-bold"],[1,"m-0","block",3,"id"],[1,"border-nc1-200","grid","w-full","grid-cols-2","gap-2","border-b"],[1,"col-div-1","p-4"],[1,"flex","items-center","text-base","font-bold"],[1,"col-div-1","p-4","font-normal"],[1,"flex","justify-end","gap-1","text-base"],[1,"font-bold"],["name","heroChevronUp",3,"size"],["name","heroChevronDown",3,"size"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",2),t.DNE(1,oc,15,14),t.k0s(),t.DNE(2,uc,2,1,"ng-template",null,0,t.C5r)(4,bc,3,0,"ng-template",null,1,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,C.T3,d.ComponentStatusComponent,K.j,d.TranslatePipe,R.ai,d.ProximalComponent,R.zq,Kt],encapsulation:2,changeDetection:0})}return n})(),Ub=(()=>{class n extends U{ComponentStatus=d.ComponentStatus;loggerName="MorningstarRatingComponent";OVERALL_RATING_MIN_YEARS=3;productData;inceptionDateStd;intlService=(0,t.WQX)(B.I);morningstarInfoSignal=(0,t.vPA)(void 0);get morningstarInfo(){return this.morningstarInfoSignal.asReadonly()}hasStyleBoxData=(0,t.EWP)(()=>{const e=this.morningstarInfo();if(!e||0===e.length)return!1;const a=e[0]?.morningstar;return!!a&&this.hasMeaningfulStyleBoxData(a)});tooltipPlacement=J.Qy.AUTO;styleboxArray=Array.from({length:3},()=>({}));maxStarsArray=Array.from({length:5},()=>({}));morningstarLogoUrl=t.hFB.required();showMorningStarBox=(0,t.EWP)(()=>this.config()?.showMorningStarBox??!0);translateService=(0,t.WQX)(u.c$);getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchCommonData:!0,fetchShareClass:{fetchRatings:!0}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e),this.productData=e,"loaded"===e.shareClass?.ratings?.status&&(this.inceptionDateStd=e.shareClass.ratings.inceptionDateStd),this.populateMorningstarInfo(e)};isHollowStar(e){if(!this.inceptionDateStd)return!1;const a=new Date(this.inceptionDateStd);return!Number.isNaN(a.getTime())&&this.intlService.toDate(a)>(0,Oe.d)(this.intlService.today(),e)}hasMeaningfulStyleBoxData(e){const a=this.hasValidCurrentPosition(e),o=this.hasValidHistoricalData(e),i=this.hasValidPortfolioDate(e);return(a||o)&&i}hasValidCurrentPosition(e){return!(!e.agnosticStyleBox||""===e.agnosticStyleBox.trim())}hasValidHistoricalData(e){return!(!e.morningStarStyleboxHist||""===e.morningStarStyleboxHist.trim()||!/[1-9]/.test(e.morningStarStyleboxHist))}hasValidPortfolioDate(e){return!(!e.morningStarPortfolioDate||""===e.morningStarPortfolioDate.trim())}validateMnadatoryRatingData(e){if(this.productData?.productId&&(0,u.Ei)(this.productData.productId))return this.logger.debug(this.loggerName,"Suppressing Morningstar rating for SMAC/SMASH/MAC fund",this.productData.productId),!1;const a=!!e.morningStarRatingOverall,o=[e.morningStarEqStylebox,e.morningStarFiStylebox,e.morningStarRating10yr,e.morningStarRating3yr,e.morningStarRating5yr].some(Boolean);return a&&o}populateMorningstarInfo(e){let a=!1;if("loaded"===e.shareClass?.ratings?.status){const o=e.shareClass.ratings;this.validateMnadatoryRatingData(o)?(a=!0,this.updateMorningstarInfo(o)):this.morningstarInfoSignal.set(void 0)}this.status.set(a?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)}updateMorningstarInfo(e){let a="";e.morningStarEqStylebox?a=e.morningStarEqStylebox:e.morningStarFiStylebox&&(a=e.morningStarFiStylebox),this.morningstarInfoSignal.set([{morningstar:{analizyRating12Months:e.analizyRating12Months,analizyRating36Months:e.analizyRating36Months,analizyRatingCategory:e.analizyRatingCategory,analizyRatingEffectiveDate:e.analizyRatingEffectiveDate,asOfDate:`${this.translateService.instant("products.as-of")} ${e.asOfDate}`,monthEndNoOfFunds3yr:e.monthEndNoOfFunds3yr,monthEndNoOfFunds5yr:e.monthEndNoOfFunds5yr,monthEndNoOfFunds10yr:e.monthEndNoOfFunds10yr,morningStarCategory:e.morningStarCategory,morningStarEqStylebox:e.morningStarEqStylebox,morningStarFiStylebox:e.morningStarFiStylebox,agnosticStyleBox:a,morningStarPortfolioDate:`${this.translateService.instant("products.as-of")} ${e.morningStarPortfolioDate}`,morningStarRating3yr:e.morningStarRating3yr,morningStarRating5yr:e.morningStarRating5yr,morningStarRating10yr:e.morningStarRating10yr,morningStarRatingOverall:e.morningStarRatingOverall,morningStarStyleboxHist:e.morningStarStyleboxHist,morningStarStyleboxType:e.morningStarStyleboxType}}])}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-morningstar-rating"]],hostAttrs:["data-gtm-component","morningstar-rating"],inputs:{morningstarLogoUrl:[1,"morningstarLogoUrl"]},features:[t.Vt3],decls:6,vars:2,consts:[["styleBoxTableCell",""],["ratingsPeriods",""],[3,"status"],[1,"morningstar-rating","mb-6","xl:mb-8"],[1,"morningstar-rating__header","flex","justify-between","md:mb-4","lg:mb-4"],[1,"text-pc1-800","mb-0","text-2xl","font-bold","lg:text-3xl","xl:text-4xl"],["placement","RatingsPanel",3,"componentId"],["width","202","height","42","alt","Morningstar logo",1,"h-[27px]","w-[120px]","md:h-[42px]","md:w-[202px]",3,"ngSrc"],[1,"morningstar-rating__bordered-area","border-nc1-200","rounded-lg","rounded-xl","border","border-solid"],[1,"bg-pc1-50","border-pc1-600","flex","items-center","rounded-xl","border","p-2"],[1,"mb-6","xl:mb-8"],["placement","MsModalBottom"],[1,"morningstar-rating__grid","gap-4","p-6","lg:grid","lg:grid-cols-4","lg:gap-8","lg:p-8"],[1,"col-span-2","mb-6","md:mb-0"],[1,"block"],[1,"border-b-nc1-100","text-nc1-950","mb-2","border-b-2","pb-2","font-bold"],[1,"inline-block"],[1,"mb-4","text-base","font-normal","md:mb-0"],["placement","MsModalOverall"],[1,"col-span-2","mb-0","block"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["placement","StyleBox",3,"componentId"],[1,"mr-0","text-base","font-normal"],[1,"mb-3","block"],[1,"flex"],[1,"morningstar-rating__stylebox","border-separate","border-spacing-3"],[1,"text-left"],[1,"table__legend-list"],[1,"bg-nc1-700","ml-3","inline-block","h-[12px]","w-[12px]","rounded-full"],[1,"bg-pc1-100","ml-2","inline-block","h-[12px]","w-[12px]","border","border-solid"],["scope","col",1,"text-left","text-sm"],["scope","col",1,"text-sm"],["colspan","3",1,"text-center"],[1,"text-nc1-950","text-lg","font-bold","uppercase"],[1,"flex","items-center","text-lg","font-bold","uppercase"],["placement","MsModalStyleBox"],["name","heroInformationCircleSolid",1,"text-pc1-600","size-4",3,"size"],[1,"text-nc1-950","ml-2","inline-block","text-xs"],[1,"h-[4rem]","w-[4rem]","border","border-solid","text-center"],[1,"bg-nc1-700","inline-block","h-[12px]","w-[12px]","rounded-full"],[1,"morningstar-rating__rating-period","col-span-1","mb-6","block","md:mb-0"],[1,"border-b-nc1-100","text-nc1-950","mb-2","flex","items-center","border-b-2","pb-2","font-bold"],[3,"placement","tooltipTitle","ariaLabel"],[1,"inline-block","text-sm","font-normal",3,"innerHTML"],[1,"flex","items-center","pb-1"],[1,"sr-only"],["aria-hidden","true",1,"morningstar-rating__star","lg:w-6g","inline-block","h-4","w-4","sm:h-4","sm:w-4","lg:h-6"],[3,"a11yPretext","placement","ariaLabel"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 95.33 91.92","stroke-width","4",1,"fill-none","stroke-[#f7bc00]"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 95.33 91.92",1,"fill-[#f7bc00]"],["points","65.82 56.74 77.17 91.92 47.66 70.22 18.3 91.92 29.79 56.74 0 34.47 36.6 34.47 47.66 0 58.59 34.47 95.33 34.47 65.82 56.74"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",2),t.DNE(1,cd,11,6),t.k0s(),t.DNE(2,ud,2,3,"ng-template",null,0,t.C5r)(4,Td,8,3,"ng-template",null,1,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.T3,d.TranslatePipe,d.ComponentStatusComponent,h.kt,d.ProximalComponent,d.FootnoteComponent,R.zq,R.b6],encapsulation:2,changeDetection:0})}return n})(),zb=(()=>{class n extends U{loggerName="PerformanceSummaryComponent";asOfDateSignal=(0,t.vPA)("");get asOfDate(){return this.asOfDateSignal.asReadonly()}itemsSignal=(0,t.vPA)([]);get items(){return this.itemsSignal.asReadonly()}getSections=e=>({fetchShareClass:{performance:{performance:{[e.periodEnd]:{[e.availableCalcTypes]:{[e.performanceView]:!0}}}}}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a=e.shareClass?.performance?.performance,o=this.config();switch(a?.status){case"loaded":{const i=a[o.periodEnd]?.[o.availableCalcTypes]?.[o.performanceView]?.[0];this.itemsSignal.set([{label:"1-year return",val:i.oneYear},{label:"3-year return",val:i.threeYear},{label:"5-year return",val:i.fiveYear},{label:"10-year return",val:i.tenYear}]),this.asOfDateSignal.set(i.asOfDate),this.status.set(d.ComponentStatus.LOADED);break}case"empty-data":this.status.set(d.ComponentStatus.EMPTY)}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-performance-summary"]],hostAttrs:["data-gtm-component","product-performance-summary"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],[1,"mb-4","flex","justify-between"],[1,"text-xl","font-bold","lg:text-2xl"],[3,"href"],[1,"border-b-nc1-200","mb-4","border-b-2","pb-2","text-lg","font-bold"],[1,"grid","grid-cols-4","grid-rows-1","gap-8"],[1,"text-pc1-800","mb-3","block","text-2xl"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,yd,14,5),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,d.ComponentStatusComponent],encapsulation:2,changeDetection:0})}return n})();const Wb=["Standard Deviation (Benchmark)","Standard Deviation (Fund)"];let qb=(()=>{class n extends U{loggerName="RiskMeasuresComponent";translateService=(0,t.WQX)(u.c$);summaryTableSignal=(0,t.vPA)(null);stdDevSignal=(0,t.vPA)(null);sharpeRatioSignal=(0,t.vPA)(null);get summaryTable(){return this.summaryTableSignal.asReadonly()}get stdDev(){return this.stdDevSignal.asReadonly()}get sharpeRatio(){return this.sharpeRatioSignal.asReadonly()}show1YrPerformance=(0,t.vPA)(null);isFundOlderThan10Yrs=(0,t.vPA)(null);showSinceInception=(0,t.vPA)(null);isSMA=(0,t.vPA)(!1);riskSummary=[];productName=(0,t.vPA)("");productType="";shareClassName="";isSingleShareClass=!1;isCardView=(0,t.hFB)(!1);asOfDate="";benchmarkName=(0,t.vPA)("");getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchCommonData:!0,fetchShareClass:{performance:{isRiskEfficiencyAnalysis:!0,isRiskSummary:!0},fetchShareClassDetail:!0}});processData=e=>{this.logger.de
1bug(this.loggerName,"processData()",e),this.isSMA.set("loaded"===e.commonData?.status&&e.commonData.productType===w.lM.SMA);let a=!1;(0,u.Ei)(e.productId)||("loaded"===e.commonData?.status&&this.productName.set(e.commonData.productName),"loaded"===e.shareClass?.detail?.status&&(this.isSingleShareClass=e.shareClass.detail.isSingleShareClass||"SINGLCLASS"===e.shareClass.shareClassCode,this.shareClassName=e.shareClass.detail.shareClassName,this.productType=e.shareClass.detail.productType,this.setRiskDataFlags(e)),"loaded"===e.shareClass?.performance?.performanceRiskStats?.status&&(a=this.hasRiskData(e.shareClass.performance.performanceRiskStats))),this.status.set(a?this.ComponentStatus.LOADED:this.ComponentStatus.EMPTY)};getValue=e=>e||u.BX;hasRiskData(e){if(!e.riskStatsSummary)return!1;this.riskSummary=e.riskStatsSummary,this.asOfDate=this.riskSummary[0]?.asOfDate;const a=this.riskSummary.find(l=>l.benchmarkName)?.benchmarkName??"";this.benchmarkName.set(a);const o=this.getStdDevTableData(),i=this.getSharpeRatioTableData(),r=this.getStatisticsTableData("table");return this.summaryTableSignal.set(r),this.stdDevSignal.set(o),this.sharpeRatioSignal.set(i),!0}getStatisticsTableData(e){const a=[];return this.riskSummary.sort((i,r)=>Number(i.displayOrder)-Number(r.displayOrder)),this.riskSummary.forEac
1h(i=>{a.push(this.createSummaryTableData(i,e))}),a.filter(i=>!Wb.includes(i.rmName))}createSummaryTableData=(e,a)=>{let o;return o="table"===a?e.elementName?e.elementName:u.BX:this.getRmName(e),{rmName:o,calcTypeLabel:"STANDARD_DEVIATION_BM"===e.elementNameStd?void 0:this.getCalcTypeLabel(e.calculationName),year1Val:this.getValue(e.oneYear),year3Val:this.getValue(e.threeYear),year5Val:this.getValue(e.fiveYear),year10Val:this.getValue(e.tenYear),valueSinceInception:this.getValue(e.sinceInception),isClosed:!0,elementNameStd:this.getValue(e.elementNameStd),elementNameLabel:this.translateService.instant(`products.risk-measures-statistics-${this.getValue(e.elementNameStd)}-tooltip`),footnote:this.translateService.instant(`performance-${e.elementNameStd}-risk-statistic`),tooltip:this.translateService.tooltip(`products.risk-measures-statistics-${e.elementNameStd}`)}};getRmName=e=>{switch(e.elementNameStd){case"STANDARD_DEVIATION_FUND":case"SHARPE_RATIO_FUND":return this.getElementName(e.elementName);case"STANDARD_DEVIATION_BM":return e.benchmarkName?e.benchmarkName:u.BX;default:return e.elementName}};getElementName=e=>this.productType===w.lM.SMA?e:this.checkIsSingleShareClass();checkIsSingleShareClass=()=>this.isSingleShareClass?this.productName():this.shareClassName;getCalcTypeLabel(e){if("Managed Accounts"!==this.productType)return`products.${Xt(this.productType)}-performance-calctype-${(0,yt.A)(e)}`}findAndProcessSummary(e,a){const o=this.riskSummary.findIndex(i=>i.elementNameStd===a);o>-1&&this.processSummary(e,o)}processSummary(e,a){const o=this.riskSummary[a];o&&e.push(this.createSummaryTableData(o)),this.riskSummary.splice(a,1)}getStdDevTableData(){const e=[];return this.findAndProcessSummary(e,"STANDARD_DEVIATION_FUND"),this.findAndProcessSummary(e,"STANDARD_DEVIATION_NET_FUND"),this.findAndProcessSummary(e,"STANDARD_DEVIATION_GROSS_FUND"),this.riskSummary.filter(o=>"STANDARD_DEVIATION_BM"===o.elementNameStd).forEach(o=>{e.push(this.createSummaryTableData(o))}),e}getSharpeRatioTableData(){const e=[];return this.findAndProcessSummary(e,"SHARPE_RATIO_FUND"),this.findAndProcessSummary(e,"SHARPE_RATIO_NET_FUND"),this.findAndProcessSummary(e,"SHARPE_RATIO_GROSS_FUND"),this.riskSummary.filter(o=>"SHARPE_RATIO_BM"===o.elementNameStd).forEach(o=>{e.push(this.createSummaryTableData(o))}),e}setRiskDataFlags(e){"loaded"===e.shareClass?.detail?.status&&this.isFundOlderThan10Yrs.set(b().diff(b(e.shareClass.detail.inceptionDateStd,P.VF),"years")>=10),this.show1YrPerformance.set(!this.isFundOlderThan10Yrs()||this.productType===w.lM.SMA),this.showSinceInception.set(this.getSiteInceptionConfig())}getSiteInceptionConfig(){return this.productType===w.lM.SMA&&!this.isFundOlderThan10Yrs()||!!this.config().showSinceInception}toggleCard(e){e.isClosed=!e.isClosed}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-risk-measures"]],hostAttrs:["data-gtm-component","product-risk-measures"],inputs:{isCardView:[1,"isCardView"]},features:[t.Vt3],decls:2,vars:2,consts:[["stdDevNameCell",""],[3,"status"],[1,"mb-2","font-bold","sm:text-xl","md:text-2xl","lg:text-2xl"],["placement","RiskStatistics"],[1,"text-nc1-600","text-sm","font-normal"],[1,"mt-[1rem]"],["placement","RiskStatisticsProximalTop"],[1,"mb-[1rem]","mt-[1rem]"],[1,"grid","grid-flow-col","gap-4"],[1,"risk-measures-cards"],["placement","RiskStatisticsProximalBottom"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"row-span-3"],[1,"col-span-2"],[1,"col-span-2","row-span-2"],[1,"table"],[1,"hidden"],[1,"bg-nc1-100"],["scope","col",1,"w-64","text-left"],["scope","col",1,"text-right"],[1,"text-left"],[1,"flex","items-start"],[1,"text-right"],[3,"ariaLabel"],[1,"text-sm","font-normal","last:m-0",3,"innerHTML"],[1,"w-[20vw]","text-left"],[1,"text-left","font-normal"],[1,"py-2","font-bold"],[1,"border-nc1-200","mb-3","rounded-xl","border"],[1,"flex","justify-between","rounded-t-xl","p-2",3,"id"],[1,"flex","items-center","font-bold"],[1,"m-0","block",3,"id"],["type","button","aria-expanded","true",1,"text-nc1-0","flex","w-full","items-center","justify-between","rounded-b-xl","px-4","py-2","text-left","text-sm",3,"click"],[1,"border-nc1-200","grid","w-full","grid-cols-2","gap-2","border-b","last:border-none"],[1,"col-div-1","p-4"],[1,"flex","items-center","text-base","font-bold"],[1,"col-div-1","p-4","text-right","font-normal"],[1,"gap-1","text-base","md:flex","md:items-center"],[1,"font-bold"],["name","heroChevronUp",3,"size"],["name","heroChevronDown",3,"size"],[1,"flex","items-start","py-2","font-bold"],["placement","PrimaryPlacementRiskStatistics"],["placement","SecondaryPlacementRiskStatistics"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",1),t.DNE(1,wu,17,11),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.T3,d.ComponentStatusComponent,d.TranslatePipe,R.b6,d.ProximalComponent,R.zq,d.FootnoteComponent],encapsulation:2,changeDetection:0})}return n})();b.extend(wt);let Qb=(()=>{class n extends U{loggerName="RiskReturnProfileComponent";translateService=(0,t.WQX)(u.c$);intlService=(0,t.WQX)(B.I);chartConfig={chartType:"scatter",xAxis:{gridLineDashStyle:"LongDash",isLabelEnabled:!0,labelFormat:"{value}",tickLength:10,lineColor:"#E6E6E6",lineWidth:1,type:"linear",tickInterval:5,min:0,margin:20},yAxis:{gridLineDashStyle:"LongDash",labelFormat:"{value}",isLabelEnabled:!0,type:"linear",min:0,margin:20},legend:{enabled:!0,verticalAlign:"bottom"},plotOptions:{scatter:{marker:{symbol:"square",radius:10,enabled:!0},jitter:{x:.005}}},tooltip:{enabled:!0,useHTML:!0,borderWidth:1,formatter:function(e){return function(){return this.y?`${this.series.name}: <b>${e.intlService.toLocalDecimal(this.y)}</b>`:""}}(this)}};chartDataSignal=(0,t.vPA)(null);chartData=this.chartDataSignal.asReadonly();isCardView=(0,t.hFB)(!1);tooltipPlacement=J.Qy.AUTO;subtitleSignal=(0,t.vPA)(null);subtitle=this.subtitleSignal.asReadonly();getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchCommonData:!0,fetchRiskReturnProfile:!0});processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a=e;if("loaded"===a.commonData?.status&&"loaded"===a.riskReturnProfile?.status){if(!a.riskReturnProfile.riskReturnPoints.some(o=>o.data[0].some(i=>i)))return void this.status.set(d.ComponentStatus.EMPTY);this.chartConfig.xAxis={...this.chartConfig.xAxis,title:this.translateService.instant("products.risk-return-profile-x")},this.chartConfig.yAxis={...this.chartConfig.yAxis,title:this.translateService.instant("products.risk-return-profile-y")},this.subtitleSignal.set(a.riskReturnProfile.chartLabel??""),this.handleChartData(a),this.status.set(d.ComponentStatus.LOADED)}"empty-data"===a.riskReturnProfile?.status&&this.status.set(d.ComponentStatus.EMPTY)};handleChartData(e){const a={name:[],yAxis:[]};
1e&&(e.riskReturnProfile.riskReturnPoints.forEach(o=>{const i=this.translateService.instant(`products.risk-return-profile-${o.name}`);a.name?.push(i);const r=o.data[0];if(r&&Array.isArray(r)&&r.length>1){const l=r[1];if(this.chartConfig.yAxis&&"number"==typeof l&&l<(this.chartConfig.yAxis.min??0)){const p=l<0?Math.floor(2*l)/2:0;this.chartConfig.yAxis={...this.chartConfig.yAxis,min:p}}}a.yAxis.push({plots:o.data,shape:"square"})}),e.riskReturnProfile.benchmarkPoints.forEach(o=>{a.name?.push(o.name??""),a.yAxis.push({plots:o.data,shape:"square"})})),this.chartDataSignal.set(a)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-risk-return-profile"]],hostAttrs:["data-gtm-component","risk-return-profile"],inputs:{isCardView:[1,"isCardView"]},features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],[1,"mb-2"],[1,"flex"],[1,"mb-2","font-bold","sm:text-xl","md:text-2xl","lg:text-2xl"],[1,"text-nc1-600","text-sm","font-normal"],[3,"placement"],[1,"mb-8"],[3,"chartConfig","chartData"],["placement","PerformanceRiskReturnProfileProximalBottom"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,Gu,11,8),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,K.j,d.TranslatePipe,d.ProximalComponent,d.ComponentStatusComponent],encapsulation:2,changeDetection:0})}return n})(),_t=(()=>{class n{sectionHeader=(0,t.hFB)(null);updateFrequencyTranslationKey=(0,t.EWP)(()=>{const e=this.sectionHeader()?.updateFrequency;return e?`products.updated-${e}`:null});static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-section-header"]],hostAttrs:["data-gtm-component","product-section-header"],inputs:{sectionHeader:[1,"sectionHeader"]},decls:4,vars:2,consts:[[1,"text-xl","font-bold","lg:text-2xl"],[1,"text-nc1-600","block","text-sm"],[3,"placement","tooltipTitle","ariaLabel"],[3,"placement","componentId"],[1,"inline-block","text-sm","font-normal","last:m-0",3,"innerHTML"]],template:function(a,o){if(1&a&&(t.j41(0,"h3",0),t.DNE(1,Bu,3,3),t.k0s(),t.j41(2,"p",1),t.DNE(3,Xu,3,8),t.k0s()),2&a){let i,r;t.R7$(),t.vxM((i=o.sectionHeader())?1:-1,i),t.R7$(2),t.vxM((r=o.sectionHeader())?3:-1,r)}},dependencies:[C.MD,R.b6,d.TranslatePipe,d.FootnoteComponent],encapsulation:2,changeDetection:0})}return n})();var ee=function(n){return n.ALLOCATION="allocation",n.EXPOSURE="exposure",n}(ee||{});let Zb=(()=>{class n extends U{loggerName="AssetAllocationComponent";chartColors=W.Ui;translateService=(0,t.WQX)(u.c$);defaultChart={chartConfig:{chartType:"bar"},chartData:{yAxis:[]}};assetExposure=(0,t.vPA)(null);assetExposureChart=(0,t.vPA)(this.defaultChart);exposureSectionHeader=(0,t.vPA)(null);assetAllocation=(0,t.vPA)(null);assetAllocationChart=(0,t.vPA)(this.defaultChart);allocationSectionHeader=(0,t.vPA)(null);proximals=(0,t.vPA)(null);assetAllocationSMAFlag=(0,t.vPA)(!1);getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchCommonData:!0,fetchPortfolio:{hasAsset:!0}});processData=e=>{this.assetAllocationSMAFlag.set(!1),this.logger.debug(this.loggerName,"processData()",e);const a=e.commonData,o=e.portfolio?.assetAllocation,i=e.portfolio?.assetClassExposure;let r=!1;if("loaded"===o?.status){const l={...o,data:o.data.filter(c=>c.breakdownStd)};this.updateComponentData(l,ee.ALLOCATION),this.assetAllocationSMAFlag.set("Managed Accounts"===a.productType),r=!0}"loaded"===i?.status&&(this.updateComponentData(i,ee.EXPOSURE),r=!0),this.status.set(r?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};updateComponentData(e,a){const o=this.getSectionHeader(e),i=this.getChartData(e,a);a===ee.ALLOCATION?(this.allocationSectionHeader.set(o),this.assetAllocationChart.set(i),this.assetAllocation.set(e)):(this.exposureSectionHeader.set(o),this.assetExposureChart.set(i),this.assetExposure.set(e)),this.proximals.set(ht(e))}getChartData(e,a){const o={chartType:"bar",tooltip:{borderWidth:1,style:{fontSize:"14px"}},chartTitle:" ",isColorByPointRequired:!0,colors:W.Ui,hasFullHeight:!0,yAxis:{isLabelEnabled:!0,labelFormat:"{value}%"},xAxis:{isLabelEnabled:!0}},i=[this.translateService.instant("products.net-exposure"),this.translateService.instant("products.gross-exposure")],r=a===ee.EXPOSURE?Qe(e,i,this.translateService):Et(this.config().productId,e,!1,this.translateService);return a===ee.EXPOSURE&&(o.isColorByPointRequired=!1),{chartConfig:o,chartData:r}}getSectionHeader(e){const a=kt(e,this.translateService),o=bt(e);return Ct(e,a.length?{tooltipTitle:"",placement:J.Qy.AUTO,tooltipDescription:a}:void 0,o,this.translateService)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-asset-allocation"]],hostAttrs:["data-gtm-component","product-asset-allocation"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],[1,"asset-allocation"],[3,"sectionHeader"],[3,"placement"],[1,"grid","grid-cols-1","gap-4","lg:grid-cols-2"],[1,"order-2","md:order-1"],[1,"table"],[1,"hidden"],["rowspan","2"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[1,"mb-0","text-sm"],[1,"order-1","mb-2","md:order-2"],[3,"chartConfig","chartData"],[1,"text-left"],[1,"text-right"],[1,"order-2","table","md:order-1"],[1,"order-1","md:order-2",3,"chartConfig","chartData"],[1,"flex","items-center"],[1,"mr-2","inline-block","h-4","w-4","rounded-l","rounded-r",3,"ngClass"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,rp,3,2,"div",1),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,d.ComponentStatusComponent,_t,K.j,d.TranslatePipe,d.ProximalComponent],encapsulation:2,changeDetection:0})}return n})();const sa=(n,s)=>(n.push(s),n.push(s+"-BENCHMARK"),n),ra=[st.JW.AVG_CRDT_QUALITY_PCT_COVRD,st.JW.FINANCIAL_LEVERAGE,st.JW.LEV_FA_LOANS,st.JW.LEV_FA_FIXED_RATE_NOTES,st.JW.FIXED_RATE_LOANS,st.JW.LEV_FA_PREFERRED_SHARES,st.JW.LEV_FA_REVERSE_REPURCHASE_AGREEMENTS,st.JW.MANAGED_ASSETS,st.JW.MRTG_DLLR_ROLLS,st.JW.TOTAL_NET_ASSETS].reduce(sa,[]),Kb=[st.JW.NBR_OF_BONDS,st.JW.NBR_OF_CONVERTIBLE_ISSUERS,st.JW.NBR_OF_EQUITY_ISSUERS,st.JW.NBR_OF_FI_ISSUERS,st.JW.NBR_OF_ISSUERS,st.JW.NBR_OF_ISSUERS_GPW,st.JW.NBR_OF_LONG_SECURITIES,st.JW.NBR_OF_SECURITIES_INCL_CASH,st.JW.NBR_OF_SECURITIES_EXCL_CASH,st.JW.NBR_OF_SHORT_SECURITIES,st.JW.NUMBER_OF_SECURITIES,st.JW.CPREIF_NBR_PROP].reduce(sa,[]);let ex=(()=>{class n extends U{loggerName="AssetPositionsStatisticsComponent";translateService=(0,t.WQX)(u.c$);statisticsAndPosition=(0,t.vPA)(null);isCardView=(0,t.vPA)(!1);tooltipPlacement=J.Qy.AUTO;assetsDataSignal=(0,t.vPA)([]);positionsDataSignal=(0,t.vPA)([]);statisticsDataSignal=(0,t.vPA)([]);statisticsCaveatPlacements=(0,t.EWP)(()=>{const e=[];
1return this.statisticsDataSignal().forEach(a=>{a.caveatPlacement&&e.push(a.caveatPlacement),a.secondaryCaveatPlacement&&e.push(a.secondaryCaveatPlacement)}),e});showPositionsBenchmark=!0;showMainBenchmark=(0,t.vPA)(!0);assets=[];assetsRows=[];assetsFreq=(0,t.vPA)(null);assetDownloadHoldingConfig=(0,t.vPA)(null);positions=[];positionsRows=[];positionsBenchmark=(0,t.vPA)(null);positionsFreq=(0,t.vPA)(null);isMoneyMarketFund=(0,t.vPA)(!1);historicWeightedHeaders=(0,t.vPA)(null);historicWeightedRowData=(0,t.vPA)([]);mainStatistics=[];mainRows=[];mainBenchmark=(0,t.vPA)(null);mainFreq=(0,t.vPA)(null);componentsStatus={"frk-asset-download-holdings":"LOADING"};getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchCommonData:!0,fetchPortfolio:{hasStatisticsAndPositions:!0}});processData=e=>{this.isCardView.set(!0===this.config().isCardView),this.logger.debug(this.loggerName,"processData()",e);const a=e.portfolio?.statisticsAndPositions;let o=!1;if("loaded"===e.commonData?.status&&this.isMoneyMarketFund.set(e.commonData.productType===w.lM.MMF),"loaded"===a?.status){const i=a.statistics.filter(c=>!this.config().suppressedStatistics?.some(p=>c.id===p||"PUBLIC_"+c.id===p));a.statistics=i,this.updateStatisticsAndPositionData(a),a.statistics.length>0&&(o=!0);const{shareClassCode:r,productId:l}=(0,u.Fz)(this.config().productShareClassCode);this.assetDownloadHoldingConfig.set({productId:l,shareClassCode:r,documentTabs:this.config().documentTabs,previewLink:this.config().previewLink,downloadDocUrl:this.config().downloadDocUrl})}this.status.set(o?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};orderAssetData(e,a){if("Closed-End Funds"===a.productType){const o=[];return ra.forEach(i=>{e.forEach(r=>{r.id===i&&o.push(r)})}),o}return e}sortStatisticsByDisplayOrder(e){return[...e].sort((a,o)=>(a.sortOrder??Number.MAX_SAFE_INTEGER)-(o.sortOrder??Number.MAX_SAFE_INTEGER))}getPrimaryBenchmark=e=>{const a=e.find(o=>!!o.mainStatisticId);return a?.benchmarkId&&a.benchmarkName?{id:a.benchmarkId,name:a.benchmarkName}:null};calcMainAsOfDate=e=>e.reduce((a,o,i,r)=>{const l={asOfDate:o.asOfDate,updateFrequency:o.updateFrequency};return a&&r.filter(c=>c.updateFrequency===a.updateFrequency).length>r.filter(c=>c.updateFrequency===l.updateFrequency).length?a:l},null);getHistoryData(e){return e.map(a=>{const o=`products.statistic-${a.elementName}`;return{...a,label:a.elementTranslatedName||this.translateService.instant(o),tooltip:this.createTooltip(o,`${o}-}`),caveatPlacement:`PortfolioStatistic${a.elementName}`}})}getStatisticRows=e=>{const a=e.filter(i=>!i.mainStatisticId),o=e.filter(i=>!!i.mainStatisticId);return a.map(i=>({label:i.label,val:i.val,bmVal:o.find(r=>r.mainStatisticId===i.id)?.val||u.BX,tooltip:this.createTooltip(`products.statistic-${i.id}`,i.baseFimesKey),asOfDate:i.asOfDate,updateFrequency:i.updateFrequency,caveatPlacement:`PortfolioStatistic${i.id}`,secondaryCaveatPlacement:`PortfolioStatistic${i.id}${i.baseFimesKey}`}))};setShowBenchmark(e){let a=!!e.filter(o=>o.bmVal!==u.BX).length;return!1===this.config().showBenchmark&&(a=!1),a}createTooltip=(e,a)=>{const o=this.translateService.tooltip(e),i=this.translateService.tooltip(a);let r="";return o&&(r+=`<p class="last:m-0">${o}</p>`),i&&(r+=`<p class="last:m-0">${i}</p>`),r};updateStatisticsAndPositionData(e){this.assets=[],this.positions=[],this.mainStatistics=[],this.statisticsAndPosition.set(e),e.statistics.forEach(o=>{ra.some(i=>o.id===i)?this.assets.push(o):Kb.some(i=>o.id===i)?this.positions.push(o):this.mainStatistics.push(o)}),this.assets=this.sortStatisticsByDisplayOrder(this.orderAssetData(this.assets,e)),this.assetsFreq.set(this.calcMainAsOfDate(this.assets)),this.assetsRows=this.getStatisticRows(this.assets),this.assetsDataSignal.set(this.assetsRows),this.positions=this.sortStatisticsByDisplayOrder(this.positions),this.positionsBenchmark.set(this.getPrimaryBenchmark(this.positions)),this.positionsFreq.set(this.calcMainAsOfDate(this.positions)),this.positionsRows=this.getStatisticRows(this.positions),this.showPositionsBenchmark=this.setShowBenchmark(this.positionsRows),this.positionsDataSignal.set(this.positionsRows),this.mainStatistics=this.sortStatisticsByDisplayOrder(this.mainStatistics),this.mainBenchmark.set(this.getPrimaryBenchmark(this.mainStatistics)),this.mainFreq.set(this.calcMainAsOfDate(this.mainStatistics)),this.mainRows=this.getStatisticRows(this.mainStatistics),this.showMainBenchmark.set(this.setShowBenchmark(this.mainRows));const a=this.getHistoryData(e.portfolioCharsHistory??[]);this.setPortfolioHistory(a)}setPortfolioHistory(e){this.setHistoricTableHeadingDetails(e);const a=Object.values((0,Ie.A)(e,"asOfDateStd")),o=[];a.forEach(i=>
1{o.push(this.mapHistoricRowData(i))}),o.sort((i,r)=>r.asOfDate.localeCompare(i.asOfDate)),this.config().isCardView&&this.mainRows.forEach(i=>{if(i.label.includes("Maturity")){const r=o.map(l=>({asOfDate:l.asOfDate,averageDataForMobileView:l.averageMaturity}));i.historyData=r}else{const r=o.map(l=>({asOfDate:l.asOfDate,averageDataForMobileView:l.averageLife}));i.historyData=r}}),this.statisticsDataSignal.set(this.mainRows),this.historicWeightedRowData.set(o)}mapHistoricRowData(e){return{asOfDate:e[0]?.asOfDate||u.BX,averageLife:e[0]?.elementName===st.JW.WEIGHTED_AVG_LIFE_DAYS?e[0].elementValueLocal||u.BX:e[1]?.elementValueLocal||u.BX,averageMaturity:e[0]?.elementName===st.JW.MATURITY_PCT_COVRD?e[0].elementValueLocal||u.BX:e[1]?.elementValueLocal||u.BX}}setHistoricTableHeadingDetails(e){const a={averageLifeHeading:"",averageLifeTooltip:"",averageLifeCaveatPlacement:"",averageMaturityHeading:"",averageMaturityTooltip:"",averageMaturityCaveatPlacement:""};e.forEach(o=>{o.elementName===st.JW.WEIGHTED_AVG_LIFE_DAYS?(a.averageLifeHeading=o.elementTranslatedName,a.averageLifeTooltip=o.tooltip??"",a.averageLifeCaveatPlacement=o.caveatPlacement??""):(a.averageMaturityHeading=o.elementTranslatedName,a.averageMaturityTooltip=o.tooltip??"",a.averageMaturityCaveatPlacement=o.caveatPlacement??"")}),this.historicWeightedHeaders.set(a)}onStatusUpdate(e,a){this.componentsStatus[e]=a}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-asset-positions-statistics"]],hostAttrs:["data-gtm-component","asset-positions-statistics"],features:[t.Vt3],decls:4,vars:2,consts:[["historicalData",""],[3,"status"],[1,"border-nc1-200","rounded-lg","rounded-xl","border","border-solid",3,"ngClass"],[1,"border-nc1-200","rounded-xl","border"],[1,"flex","flex-wrap","gap-6","p-6","lg:p-8"],[1,"min-w-[400px]","flex-1","lg:max-w-[40%]"],[1,"min-w-[400px]","flex-1","lg:max-w-[100%]"],["placement","AssetsProximalTop"],[1,"border-b-nc1-200","mb-4","border-b-2"],[1,"mb-2","text-xl","font-bold","lg:text-2xl"],["placement","PortfolioAssets",3,"componentId"],[1,"text-nc1-600","mb-0","text-sm","font-normal"],[1,"flex","flex-col"],[1,"mb-4","flex","justify-between"],["placement","AssetsProximalBottom"],[1,"flex"],[3,"placement","componentId"],[3,"placement","ariaLabel"],[1,"text-right"],[1,"inline-block","text-sm","font-normal","last:m-0",3,"innerHTML"],["placement","PositionsProximalTop"],[1,"mb-4","lg:mb-0"],["placement","PortfolioPositions",3,"componentId"],[1,"width-auto"],[1,"style-1","table--base-size","mb-4","w-full","border-white","text-base","leading-5","lg:mb-0"],[1,"hidden"],[1,"bg-nc1-0","border-b-2"],["rowspan","2"],["scope","col",1,"border-b-nc1-200","border-b-2"],[1,"sr-only"],["scope","col",1,"border-b-nc1-200","border-b-2","text-right"],[1,"border-x-0","border-white"],[1,"border-x-0","border-y-0"],[1,"flex","flex-row","justify-end"],[1,"border-x-0","pb-2","pt-2"],[1,"border-x-0","pb-2","pt-2","text-right"],[1,"bold"],[3,"statusUpdate","config"],["placement","PositionsProximalBottom"],["placement","StatisticsProximalTop"],[1,"mb-0"],["placement","PortfolioStatistics",3,"componentId"],[1,"table--base-size","table--secondary","print-hidden","mb-6","w-full","text-base","leading-5"],[3,"placement"],["placement","StatisticsProximalBottom"],[1,"table__thead"],[1,"table__tr"],["scope","col",1,"table__th","border-b-nc1-200","border-b-2"],["scope","col",1,"table__th","border-b-nc1-200","border-b-2","pr-2","text-right"],[3,"ngClass"],["scope","col",1,"table__th","border-b-nc1-200","border-b-2","text-right"],[1,"table__body"],[1,"table__td","pb-2","pt-2"],[1,"table__td","pb-2","pr-2","pt-2","text-right"],[1,"table__td","pb-2","pt-2","text-right"],[4,"ngTemplateOutlet"],[1,"grid","grid-cols-12"],[1,"col-span-12","p-6","pb-0","sm:col-span-12"],[1,"col-span-12","p-6","pb-2","sm:col-span-12"],[1,"text-xl","font-bold"],[1,"flex","flex-col","text-base"],[1,"mb-4","flex"],[1,"bold","text-sm"],[1,"mb-4","flex","flex-col","text-base"],[1,"flex","justify-between"],[1,"mb-4","text-right"],[1,"border-b-nc1-200","mb-4","flex","flex-col","border-b-2","text-base"],[1,"mb-4","mr-0","text-right"],[1,"mb-2","font-normal"],[1,"table__th","border-b-nc1-200","border-b-2"],[1,"table__th","border-b-nc1-200","border-b-2","pr-2","text-right"],[3,"ariaLabel"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",1),t.DNE(1,cm,2,2),t.k0s(),t.DNE(2,um,27,20,"ng-template",null,0,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,C.T3,d.ComponentStatusComponent,R.b6,d.TranslatePipe,d.ProximalComponent,d.FootnoteComponent,Ot.AssetDownloadHoldingsComponent,d.ProximalFootnoteComponent],encapsulation:2,changeDetection:0})}return n})(),nx=(()=>{class n extends U{loggerName="CouponRateComponent";couponRateSectionHeader=null;translateService=(0,t.WQX)(u.c$);couponRateSignal=(0,t.vPA)(void 0);get couponRate(){return this.couponRateSignal.asReadonly()}getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchPortfolio:{hasCouponAllocation:!0}
1});processData=e=>{this.logger.debug(this.loggerName,"processData()",e);let a={...this.config(),chartConfig:{chartType:"bar",hasFullHeight:!0,isColorByPointRequired:!0,colors:W.Ui,useCustomTitle:!0,tooltip:{style:{fontSize:"14px"},useHTML:!0,borderWidth:1},xAxis:{isLabelEnabled:!0},yAxis:{labelFormat:"{value}%",isLabelEnabled:!0}}};if("loaded"===e.portfolio?.couponAllocation?.status){const o={...Et(this.config().productId,e.portfolio.couponAllocation,!1)};a={...a,data:e.portfolio.couponAllocation.data,chartData:o,benchmarkName:e.portfolio.couponAllocation.benchmarkName??void 0,proximals:ht(e.portfolio.couponAllocation)},this.couponRateSignal.set(a),this.couponRateSectionHeader=Ct(e.portfolio.couponAllocation,{tooltipTitle:a.tooltipTitle,tooltipDescription:a.tooltipDescription,placement:a.tooltipPlacement},bt(e.portfolio.couponAllocation),this.translateService),this.status.set(d.ComponentStatus.LOADED)}else"empty-data"===e.portfolio?.couponAllocation?.status&&this.status.set(d.ComponentStatus.EMPTY)};static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-coupon-rate"]],hostAttrs:["data-gtm-component","coupon-rate"],features:[t.Vt3],decls:6,vars:2,consts:[["couponRateTHGeneral",""],["couponGeneral",""],[3,"status"],[3,"sectionHeader"],[3,"placement"],[1,"grid","grid-cols-1","gap-4","lg:grid-cols-2"],[1,"order-2","md:order-1"],[1,"table"],[1,"hidden"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"order-1","md:order-2"],[3,"chartData","chartConfig"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[1,"text-left"],[1,"mr-2","inline-block","h-4","w-4","rounded-l","rounded-r",3,"ngClass"],[1,"bg-highchart-sec","text-right"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",2),t.DNE(1,Dm,17,11),t.k0s(),t.DNE(2,vm,6,7,"ng-template",null,0,t.C5r)(4,Tm,5,3,"ng-template",null,1,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,C.T3,d.ComponentStatusComponent,_t,d.TranslatePipe,K.j,d.ProximalComponent],encapsulation:2,changeDetection:0})}return n})(),ax=(()=>{class n extends U{translateService=(0,t.WQX)(u.c$);loggerName="CreditQualityComponent";chartColors=W.D$;creditQualitySignal=(0,t.vPA)(null);get creditQuality(){return this.creditQualitySignal.asReadonly()}getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchPortfolio:{hasQualityAllocation:!0}});processData=e=>{let a=null,o=this.initializeCreditQualityData();e.portfolio&&"loaded"===e.portfolio.qualityAllocation?.status&&(o=this.handleLoadedQualityAllocation(e.portfolio.qualityAllocation,o),a=o),this.statusOfComponent(e.portfolio?.qualityAllocation?.status,a)};initializeCreditQualityData(){return{...this.config(),tooltipPlacement:J.Qy.AUTO,chartConfig:{chartType:"bar",tooltip:{borderWidth:1,style:{fontSize:"14px"}},isColorByPointRequired:!0,colors:W.Ui,useCustomTitle:!0,hasFullHeight:!0,yAxis:{isLabelEnabled:!0,labelFormat:"{value}%"},xAxis:{isLabelEnabled:!0}},sectionHeader:null}}handleLoadedQualityAllocation(e,a){const o=kt(e,this.translateService);return a.showBenchmark=this.setShowBenchmark(e,a),e.calculationType=null,(a={...a,portfolioAllocation:e,chartData:Et(this.config().productId,e,a.showBenchmark,this.translateService),proximals:ht(e),sectionHeader:Ct(e,o.length?{tooltipTitle:"",placement:J.Qy.AUTO,tooltipDescription:o}:void 0,bt(e),this.translateService)}).showBenchmark&&(a.chartConfig.isColorByPointRequired=!1,a.chartConfig.colors=W.D$),a.chartConfig.colors&&(this.chartColors=a.chartConfig.colors),a}statusOfComponent(e,a){"empty-data"===e?(this.creditQualitySignal.set(null),this.status.set(d.ComponentStatus.EMPTY)):(this.creditQualitySignal.set(a),this.status.set(d.ComponentStatus.LOADED))}setShowBenchmark(e,a){return a.showBenchmark=!!e.data.filter(o=>o.benchmark!==u.BX).length,!1===this.config().showBenchmark&&(a.showBenchmark=!1),a.showBenchmark}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-credit-quality"]],hostAttrs:["data-gtm-component","product-credit-quality"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],[3,"sectionHeader"],[3,"placement"],[1,"grid","grid-cols-1","gap-4","lg:grid-cols-2"],[1,"order-2","md:order-1"],[1,"table"],[1,"hidden"],["rowspan","2"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[1,"order-1","mb-2","md:order-2"],[3,"chartConfig","chartData"],[1,"flex","items-center","justify-end"],[1,"text-left"],[3,"placement","tooltipTitle","ariaLabel"],[1,"text-sm","font-normal",3,"innerHTML"],[1,"flex","items-center"],[1,"mr-2","inline-block","h-4","w-4","rounded-l","rounded-r",3,"ngClass"],[1,"text-right"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,Mm,24,16),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,d.ComponentStatusComponent,K.j,_t,R.b6,d.TranslatePipe,d.ProximalComponent],encapsulation:2,changeDetection:0})}return n})(),ox=(()=>{class n extends U{translateService=(0,t.WQX)(u.c$);loggerName="CurrencyExposureComponent";chartColors=W.D$;currencyExposureSignal=(0,t.vPA)(null);getSections=()=>({fetchPortfolio:{hasCurrency:!0}});get currencyExposure(){return this.currencyExposureSignal.asReadonly()}showToggle=!1;benchmarkName=null;isExpanded=!1;collapseExpandText=(0,t.vPA)("products.expand-all");processData=e=>{this.logger.debug(this.loggerName,"processData()",e),this.getBenchmarkName(e);const a=this.initializeCurrencyData();
1e.portfolio&&("loaded"===e.portfolio.currencyExposure?.status?(this.handleLoadedCurrencyExposure(e.portfolio.currencyExposure,a),this.showToggle&&u.B3.isAgentSmarsh()&&setTimeout(()=>this.toggleAll(),10)):"empty-data"===e.portfolio.currencyExposure?.status&&(this.currencyExposureSignal.set(null),this.status.set(d.ComponentStatus.EMPTY)))};getBenchmarkName=e=>(e.portfolio&&"loaded"===e.portfolio.currencyExposure?.status&&(this.benchmarkName=e.portfolio.currencyExposure.benchmarkName??null),this.benchmarkName);initializeCurrencyData(){return{sectionHeader:null,tooltipPlacement:J.Qy.AUTO,...this.config(),chartConfig:this.getChartConfig()}}handleLoadedCurrencyExposure(e,a){const o=bt(e),i=kt(e,this.translateService);a.showBenchmark=this.setShowBenchmark(e),(a={...a,chartData:Et(this.config().productId,e,a.showBenchmark,this.translateService),portfolioAllocation:{...e,data:this.settingAccessibilityId(e.data)},proximals:ht(e),sectionHeader:Ct(e,i.length?{tooltipTitle:"",placement:J.Qy.AUTO,tooltipDescription:i}:void 0,o,this.translateService)}).showBenchmark&&(a.chartConfig.isColorByPointRequired=!1,a.chartConfig.colors=W.D$),a.chartConfig.colors&&(this.chartColors=a.chartConfig.colors),this.checkToggle(a),this.currencyExposureSignal.set(a),this.status.set(d.ComponentStatus.LOADED)}setShowBenchmark(e){let a=!!e.data.filter(o=>o.benchmark!==u.BX).length;return!1===this.config().showBenchmark&&(a=!1),a}getChartConfig(){return{chartType:"bar",tooltip:{borderWidth:1,style:{fontSize:"14px"}},isColorByPointRequired:!0,colors:W.Ui,xAxis:{isLabelEnabled:!0},yAxis:{isLabelEnabled:!0,labelFormat:"{value}%"},hasFullHeight:!1,hasCalculatedHeight:!0}}checkToggle(e){this.showToggle=e.portfolioAllocation?.data.some(a=>a.children&&a.children.length>0)??!1}toggleRow(e){(0,d.toggleRow)(e)}get ariaControlsList(){return(0,d.getAriaControlsList)()}toggleAll(){(0,d.toggleAll)(e=>{this.isExpanded=e},e=>{this.collapseExpandText.set(e?"products.collapse-all":"products.expand-all")})}settingAccessibilityId(e){return e.map(a=>{const o=`currencyParent-${(0,N.A)()}`,i=[];return a.children=a.children?.map((r,l)=>{const c=`currencyChild-${o}-${l}`;return i.push(c),{...r,id:c,parentId:o}}),{...a,id:o,ariaOwns:i}})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-currency-exposure"]],hostAttrs:["data-gtm-component","product-currency-exposure"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],[1,"currency-exposure","mb-5"],[3,"sectionHeader"],[3,"placement"],["type","button","aria-expanded","false","aria-live","polite",1,"toggleBtn","button","button--ghost","button--sm","button--ghost-light","mb-5","hidden","items-center","md:flex"],[1,"grid","grid-cols-1","gap-4","lg:grid-cols-2"],[1,"order-3","overflow-x-auto","md:order-1"],[1,"table--compact","table","border-collapse"],[1,"hidden"],[1,"w-[60%]"],[1,"w-[20%]"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],["type","button","aria-expanded","false","aria-live","polite",1,"toggleBtn","button","button--ghost","button--sm","button--ghost-light","mb-5","hidden","items-center","md:flex",3,"click"],[1,"h-5","w-5","transform","transition-transform","duration-300"],["name","heroChevronDown"],[1,"m-0","px-2"],[1,"flex","items-center","justify-end"],[1,"text-left"],[3,"placement","tooltipTitle","ariaLabel"],[1,"text-sm","font-normal",3,"innerHTML"],[3,"id"],["scope","row",1,"text-left","align-middle"],[1,"flex","items-center","gap-1.5"],["type","button","aria-expanded","false",1,"parent-row","button--action","button--action-ghost","flex-shrink-0"],[1,"mr-1","inline-block","h-4","w-4","rounded-l","rounded-r","md:mr-3",3,"ngClass"],[1,"m-0","flex-grow","md:px-2"],[1,"text-right","align-middle"],["aria-level","2","hidden","",1,"child-row",3,"id"],["type","button","aria-expanded","false",1,"parent-row","button--action","button--action-ghost","flex-shrink-0",3,"click"],[1,"sr-only"],[1,"text-left","align-top",3,"ngClass"],[1,"text-right","align-top"],[1,"order-1","mb-2","md:order-2",3,"chartData","chartConfig"],[1,"order-2","mb-5","flex","justify-start","md:hidden"],["type","button","aria-expanded","fal
1se",1,"toggleBtn","button","button--ghost","button--sm","button--ghost-light",3,"click"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,Wm,29,17,"div",1),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,d.ComponentStatusComponent,K.j,_t,R.b6,d.TranslatePipe,R.zq,d.ProximalComponent],encapsulation:2,changeDetection:0})}return n})(),ix=(()=>{class n extends U{translateService=(0,t.WQX)(u.c$);loggerName="DigitalAssetAllocationComponent";chartColors=W.Ui;digitalAssetAllocationSignal=(0,t.vPA)(null);getSections=()=>({fetchPortfolio:{hasCurrency:!0}});get digitalAssetAllocation(){return this.digitalAssetAllocationSignal.asReadonly()}processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a=this.initializeDigitalAssetData();e.portfolio&&("loaded"===e.portfolio.digitalAssetAllocation?.status?this.handleLoadedDigitalAssetAllocation(e.portfolio.digitalAssetAllocation,a):"empty-data"===e.portfolio.digitalAssetAllocation?.status&&(this.digitalAssetAllocationSignal.set(null),this.status.set(d.ComponentStatus.EMPTY)))};initializeDigitalAssetData(){return{sectionHeader:null,tooltipPlacement:J.Qy.AUTO,...this.config(),chartConfig:this.getChartConfig()}}handleLoadedDigitalAssetAllocation(e,a){const o=bt(e),i=kt(e,this.translateService);a.showBenchmark=!1,(a={...a,chartData:Et(this.config().productId,e,!1,this.translateService),portfolioAllocation:{...e,data:this.settingAccessibilityId(e.data)},proximals:ht(e),sectionHeader:Ct({...e,allocationHeading:"Digital Asset Allocation"},i.length?{tooltipTitle:"",placement:J.Qy.AUTO,tooltipDescription:i}:void 0,o,this.translateService)}).chartConfig.colors&&(this.chartColors=a.chartConfig.colors),this.digitalAssetAllocationSignal.set(a),this.status.set(d.ComponentStatus.LOADED)}getChartConfig(){return{chartType:"bar",tooltip:{borderWidth:1,style:{fontSize:"14px"}},isColorByPointRequired:!0,colors:W.Ui,xAxis:{isLabelEnabled:!0},yAxis:{isLabelEnabled:!0,labelFormat:"{value}%"},hasFullHeight:!1,hasCalculatedHeight:!0}}settingAccessibilityId(e){return e.map(o=>({...o,id:`digitalAssetParent-${(0,N.A)()}`,parentId:"",ariaOwns:[],children:[]}))}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-digital-asset-allocation"]],hostAttrs:["data-gtm-component","product-digital-asset-allocation"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],[1,"digital-asset-allocation","mb-5"],[3,"sectionHeader"],[3,"placement"],[1,"grid","grid-cols-1","gap-4","lg:grid-cols-2"],[1,"order-3","overflow-x-auto","md:order-1"],["role","table",1,"table--compact","table","border-collapse"],[1,"hidden"],[1,"w-[80%]"],[1,"w-[20%]"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[3,"id"],[1,"order-1","mb-2","md:order-2",3,"chartData","chartConfig"],["scope","row",1,"text-left","align-middle"],[1,"flex","items-center","gap-1.5"],[1,"mr-1","inline-block","h-4","w-4","rounded-l","rounded-r","md:mr-3",3,"ngClass"],[1,"m-0","flex-grow","md:px-2"],[1,"text-right","align-middle"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,e1,26,13,"div",1),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,d.ComponentStatusComponent,K.j,_t,d.TranslatePipe,d.ProximalComponent],encapsulation:2,changeDetection:0})}return n})();const sx=["securityName","sectorName","percentageOfNetAssets","marketValue","notionalMarketValue","quantityShrpar"],rx=["holdingName","sectorName","breakdownPercentage","geoCode"];function la(n){return[{field:"securityName",headerName:n.instant("pds.SECURITY_NAME"),footnotePlacement:"SecurityName",tooltipContent:n.tooltip("products.portfolio-holdings-security-name"),tooltipPreText:n.instant("products.tooltip-pretext"),isSortable:!0,isCardTitle:!0},{field:"holdingValue",headerName:n.instant("pds.PCT_OF_NET_ASSETS"),footnotePlacement:"HoldingValue",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-holding-value"),isSortable:!0,dataType:"percent"},{field:"maturityDate",headerName:n.instant("pds.SECURITY_EXPIRATION_DATE"),footnotePlacement:"MaturityDate",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-maturity-date"),isSortable:!0,dataType:"date"},{field:"assetType",headerName:n.instant("pds.ASSET_CLASS_CATEGORY"),footnotePlacement:"AssetType",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-asset-type"),isSortable:!0},{field:"countryOfIssue",headerName:n.instant("pds.GEOGRAPHY_CODE"),footnotePlacement:"CountryOfIssue",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-country-of-issue"),isSortable:!0}]}function ca(n){return[{field:"securityName",headerName:n.instant("pds.SECURITY_NAME"),footnotePlacement:"SecurityName",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-security-name")??"",isSortable:!0,isCardTitle:!0,widthClass:"w-1/2"},{field:"sectorName",headerName:n.instant("pds.SECTOR_NAME"),footnotePlacement:"SectorName",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-sector-name")??"",isSortable:!0,isAlignRight:!1,widthClass:"w-40"},{field:"percentageOfNetAssets",headerName:n.instant("pds.PCT_OF_NET_ASSETS"),footnotePlacement:"PercentageOfNetAssets",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-percentage-of-net-assets")??"",isSortable:!0,dataType:"percent",isAlignRight:!0},{field:"marketValue",headerName:n.instant("products.market-value"),footnotePlacement:"MarketValue",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-market-value")??"",isSortable:!0,dataType:"currency",isAlignRight:!0},{field:"notionalMarketValue",headerName:n.instant("pds.NOTIONAL_MARKET_VALUE"),footnotePlacement:"NotionalMarketValue",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-notional-market-value"),isSortable:!0,dataType:"number",isAlignRight:!0},{field:"quantityShrpar",headerName:n.instant("pds.QUANTITY_SHRPAR"),footnotePlacement:"QuantityShrpar",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-quantity-shrpar"),isSortable:!0,dataType:"number",isAlignRight:!0},{field:"securityTicker",headerName:n.instant("pds.SECURITY_TICKER"),footnotePlacement:"SecurityTicker",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-security-ticker"),isSortable:!0},{field:"isinSecurityNumber",headerName:n.instant("pds.ISIN_SECURITY_NUMBER"),footnotePlacement:"IsinSecurityNumber",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-isin-security-number"),isSortable:!0},{field:"originalCouponRate",headerName:n.instant("pds.ORIGINAL_COUPON_RATE"),footnotePlacement:"OriginalCouponRate",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-original-coupon-rate"),isSortable:!0,dataType:"number"},{field:"securityExpirationDate",headerName:n.instant("pds.SECURITY_EXPIRATION_DATE"),footnotePlacement:"SecurityExpirationDate",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-security-expiration-date"),isSortable:!0,dataType:"date"},{field:"investmentCategory",headerName:n.instant("pds.INVESTMENT_CATEGORY"),footnotePlacement:"InvestmentCategory",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-investment-category"),isSortable:!0},{field:"assetClassCategory",headerName:n.instant("pds.ASSET_CLASS_CATEGORY"),footnotePlacement:"AssetClassCategory",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-asset-class-category"),isSortable:!0},{field:"marketCurrency",headerName:n.instant("pds.MARKET_CURRENCY"),footnotePlacement:"MarketCurrency",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-market-currency"),isSortable:!0},{field:"cusipNumber",headerName:n.instant("pds.CUSIP"),footnotePlacement:"CusipNumber",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-cusip-number"),isSortable:!0},{field:"finalMaturityDate",headerName:n.instant("pds.FINAL_MATURITY_DATE"),footnotePlacement:"FinalMaturityDate",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-final-maturity-date"),isSortable:!0},{field:"contracts",headerName:n.instant("pds.CONTRACTS"),footnotePlacement:"Contracts",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-contracts"),isSortable:!0}]}function da(n){return[{field:"holdingName",headerName:n.instant("pds.SECURITY_NAME"),footnotePlacement:"HoldingName",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-security-name")??"",isSortable:!0,isCardTitle:!0},{field:"sectorName",headerName:n.instant("pds.SECTOR_NAME"),footnotePlacement:"SectorName",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-sector-name")??"",isSortable:!0,isAlignRight:!1},{field:"breakdownPercentage",headerName:n.instant("pds.PCT_OF_NET_ASSETS"),footnotePlacement:"BreakdownPercentage",tooltipPreText:n.instant("products.tooltip-pretext"),tooltipContent:n.tooltip("products.portfolio-holdings-breakdown-percentage")??"",isSortable:!0,dataType:"percent",isAlignRight:!0},{field:"geoCode",headerName:n.instant("pds.GEOGRAPHY_CODE"),footnotePlacement:"GeoCode",tooltipContent:n.tooltip("products.portfolio-holdings-geo-code"),isSortable:!0,isAlignRight:!1}]}function ua(n,s){return s?.length&&s.length>0?s:n?rx:sx}function Rn(n,s){return n.filter(e=>(0,u.Kg)(s,e.field))}function kn(n,s){const{translateService:e,proximalService:a,excelDownloadService:o,productName:i,asOfDate:r,tabname:l,fileName:c,unsubscribe$:p,isFullHolding:_}=s,E=[[(0,u.KQ)(i,"s"),(0,u.KQ)(e.instant("products.as-of"),"s"),(0,u.KQ)(r,"s")]],y=n.some(gt=>"breakdownPercentage"in gt)?da(e):ca(e),Z=Rn(_?y:la(e),n),pt=[Z.map(gt=>(0,u.KQ)(gt.headerName,"s"))];n.map(gt=>
1Z.map((0,u.s3)(gt))).forEach(gt=>{pt.push(Object.values(gt))});const Pt=pt.concat(u.rV,u.rV,u.rV,u.rV);(0,at.z)([a.getProximals$("FullHoldingsExcelBottom"),a.getProximals$("FullHoldingsExcelTop")]).pipe((0,dt.s)(1),(0,v.Q)(p)).subscribe({next:gt=>{const[Ht,At]=gt;o.exportToExcel(Pt,At,Ht,E,l,c,{otherSections:[[]]})},error:gt=>{console.error(gt)}})}let dx=(()=>{class n extends U{unsubscribe$=new x.B;baseFimesKey="";columnDefs=[];holdings=[];dropdownId=`asOfDateSelector${(0,N.A)()}`;overviewSignal=(0,t.vPA)(null);get overview(){return this.overviewSignal.asReadonly()}asOfDateOptionsSignal=(0,t.vPA)([]);get asOfDateOptions(){return this.asOfDateOptionsSignal.asReadonly()}currentAsofDateDropdownSignal=(0,t.vPA)(void 0);get currentAsofDateDropdown(){return this.currentAsofDateDropdownSignal.asReadonly()}excelDownloadService=(0,t.WQX)(u.hR);proximalService=(0,t.WQX)(d.PROXIMAL_SERVICE,{optional:!0});translateService=(0,t.WQX)(u.c$);ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}getSectionHeader(e,a){const o=(0,u.uN)(e,"updateFrequency"),i=this.currentAsofDateDropdown(),r=this.translateService.tooltip(`products.portfolio-${a}-heading`),l=this.getAppropriateHeading(e);return{heading:this.translateService.instant(l),asOfDate:i,updateFrequency:o,tooltip:r?{tooltipDescription:r,placement:J.Qy.AUTO,tooltipTitle:""}:void 0}}getAppropriateHeading(e){return this.hasBreakdownPercentage(e)?e.length<=10?"products.portfolio-holdings":"products.portfolio-top-ten-holdings-heading":"products.portfolio-holdings"}loggerName="FullHoldingsComponent";proximals=(0,t.vPA)(null);selectHoldings=(0,t.vPA)(null);header=(0,t.vPA)(null);colDefs=(0,t.vPA)(null);isCardView=(0,t.vPA)(!1);getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchCommonData:!0,fetchPortfolio:{hasHoldings:!0}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a=this.getHldingsData(e.portfolio);if("loaded"===e.commonData?.status&&this.overviewSignal.set(e.commonData),a){this.isCardView.set(this.config().isCardView??!1),this.columnDefs=this.getColumnDefs(a),this.baseFimesKey=Ce("holdings",void 0,void 0,void 0);const o=[...new Set(a.map(i=>i.asOfDate))].sort((i,r)=>(0,d.createDateComparator)("MM/DD/YYYY")(r,i,null,null,!1));this.holdings=this.sortHoldingsData(a),this.updateSignals(o[0]),this.asOfDateOptionsSignal.set(o),this.proximals.set(this.createProximals(this.baseFimesKey)),this.status.set(a.length>0?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)}else this.status.set(d.ComponentStatus.EMPTY)};hasBreakdownPercentage=e=>e.some(a=>"breakdownPercentage"in a);getColumnDefs(e){return this.hasBreakdownPercentage(e)?function cx(n,s){const e=ua(!0,s);return da(n).filter(a=>e.includes(a.field))}(this.translateService,this.config().holdingTableColumns):function lx(n,s){const e=ua(!1,s);return ca(n).filter(a=>e.includes(a.field))}(this.translateService,this.config().holdingTableColumns)}sortHoldingsData(e){const a=this.hasBreakdownPercentage(e),o=i=>a?i.breakdownPercentage:i.percentageOfNetAssets;return[...e].sort((i,r)=>(0,d.numericComparator)(o(r),o(i),null,null,!1))}getHldingsData(e){let a;if(e&&"loaded"===e.holdings?.status){const o=e.holdings;a=o.data,0===o.data.length&&o.tableData.length>0&&(a=o.tableData)}return a}createProximals(e){return{proximalBottomPlacement:"holdings-proximal-bottom",proximalTopPlacement:"holdings-proximal-top",secondaryProximalTopPlacement:e?`${e}-proximal-top`:null,secondaryProximalBottomPlacement:e?`${e}-proximal-bottom`:null}}updateSignals(e){const a=this.holdings.filter(i=>i.asOfDate===e),o=Rn(this.columnDefs,a);this.selectHoldings.set(a),this.colDefs.set(o),this.currentAsofDateDropdownSignal.set(e),this.header.set(this.getSectionHeader(a,this.baseFimesKey))}onDropdownChange(e){this.updateSignals(e)}triggerDownloadAction(){const e=this.mapDownloadData(),a=this.overview()?.productName??"",i=this.hasBreakdownPercentage(e)?this.translateService.instant("products.portfolio-top-ten-holdings-heading"):this.translateService.instant("products.portfolio-allholding-tabname"),r=this.translateService.instant("products.portfolio-allholding-filename");this.proximalService&&kn(e,{translateService:this.translateService,proximalService:this.proximalService,excelDownloadService:this.excelDownloadService,productName:a,asOfDate:this.header()?.asOfDate,tabname:i,fileName:r,unsubscribe$:this.unsubscribe$,isFullHolding:!0})}mapDownloadData(){const e=this.selectHoldings();let a=[];return e?.forEach(o=>{"percentageOfNetAssets"in o?a.push({securityName:o.securityName,sectorName:o.sectorName,percentageOfNetAssets:o.percentageOfNetAssets,marketValue:o.marketValue,notionalMarketValue:o.notionalMarketValue,quantityShrpar:o.quantityShrpar,securityTicker:o.securityTicker,isinSecurityNumber:o.isinSecurityNumber,originalCouponRate:o.originalCouponRate,securityExpirationDate:o.securityExpirationDate,investmentCategory:o.investmentCategory,assetClassCategory:o.assetClassCategory,marketCurrency:o.marketCurrency,cusipNumber:o.cusipNumber,finalMaturityDate:o.finalMaturityDate}):"breakdownPercentage"in o&&a.push({holdingName:o.holdingName,breakdownPercentage:o.breakdownPercentage,geoCode:o.geoCode,sectorName:o.sectorName})}),a=this.sortHoldingsData(a),a}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-full-holdings"]],hostAttrs:["data-gtm-component","full-holdings"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],[1,"grid"],[3,"placement"],[1,"border-b-nc1-200","mb-4","justify-between","sm:max-md:flex-col","md:flex","lg:flex-row","lg:items-end","lg:border-b-2"],[1,"text-xl","font-bold","lg:text-2xl"],[3,"placement","tooltipTitle","ariaLabel"],["placement","holdings-caveat"],[1,"text-nc1-600","mb-0","text-sm","font-normal"],[1,"mb-3","justify-end","md:mb-4","md:flex","lg:m-0"],[1,"m-4","ml-auto","w-full","md:mt-0","md:w-auto"],["data-testid","downloadBtn","type","button","data-gtm-intent","download_holdings",1,"button","button--primary","button--sm","xs:w-[86px]","mb-4","mt-4","self-start","sm:h-10","md:h-auto","md:w-full","lg:mb-2","lg:mt-2",3,"click"],[1,"flex","items-center"],[1,"flex-inline","mr-2"],["name","heroArrowDownTray",1,"size-4",3,"size"],[1,"inline-block","text-sm","font-normal",3,"innerHTML"],[1,"mr-2","mt-2",3,"for"],[1,"select","select--light","md:select--light-small","mr-2","flex","items-center"],["data-testid","asOfDate_select",1,"text-nc1-950","w-full","text-base","font-normal","md:w-[7.813rem]",3,"ngModelChange","name","id","ngModel"],[3,"value"],["headerAlignClass","
1justify-end",3,"colDefs","rowData","showPagination","isCardView","ariaLabelGoToPage","ariaLabelPagination","nextPageText","sortAccessibilityText","prevPageText","showMoreTxt","showLessTxt"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,u1,4,4),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,d.ComponentStatusComponent,d.TranslatePipe,d.ProximalComponent,d.DynamicTableComponent,R.zq,R.b6,M.YN,M.xH,M.y7,M.wz,M.BC,M.vS,d.FootnoteComponent],encapsulation:2,changeDetection:0})}return n})();var ne=function(n){return n.GEOGRAPHIC_EXPOSURE="geographicExposure",n.GEOGRAPHIC_BREAKDOWN="geographicBreakdown",n}(ne||{});let ux=(()=>{class n extends U{translateService=(0,t.WQX)(u.c$);loggerName="GeographyAllocationComponent";chartColors=W.D$||W.Ui;geographicAllocationSignal=(0,t.vPA)({breakDown:{chartData:{},tableData:{},header:null},exposure:{chartData:{},tableData:{},header:null}});get geographicAllocation(){return this.geographicAllocationSignal.asReadonly()}showToggle=!1;showBenchmark=!1;benchmarkName=null;isExpanded=!1;collapseExpandText=(0,t.vPA)("products.expand-all");getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchPortfolio:{hasGeographic:!0}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e),this.getBenchmarkName(e);const a=[this.translateService.instant("products.net-exposure"),this.translateService.instant("products.gross-exposure")],o=[this.translateService.instant("products.fundPercentage"),this.translateService.instant("products.bmPercentage")];if(e.portfolio){const l={breakDown:{tableData:this.mapTableData(e.portfolio.geographicBreakdown,ne.GEOGRAPHIC_BREAKDOWN),chartData:{config:{chartType:"bar",tooltip:{borderWidth:1,style:{fontSize:"14px"}},isColorByPointRequired:!0,colors:W.Ui,yAxis:{isLabelEnabled:!0,labelFormat:"{value}%"},xAxis:{isLabelEnabled:!0}},data:Et(this.config().productId,e.portfolio.geographicBreakdown,this.showBenchmark,this.translateService,o)},header:Ct(e.portfolio.geographicBreakdown,{tooltipTitle:"",tooltipDescription:this.createTooltipDescription(e,ne.GEOGRAPHIC_BREAKDOWN),placement:J.Qy.AUTO},bt(e.portfolio.geographicBreakdown),this.translateService),proximals:ht(e.portfolio.geographicBreakdown)},exposure:{chartData:{config:{chartType:"bar",hasFullHeight:!0,tooltip:{borderWidth:1,style:{fontSize:"14px"}},yAxis:{isLabelEnabled:!0,labelFormat:"{value}%"},xAxis:{isLabelEnabled:!0},colors:W.Ui},data:Qe(e.portfolio.geographicExposure,a,this.translateService)},tableData:this.mapTableData(e.portfolio.geographicExposure,ne.GEOGRAPHIC_EXPOSURE),header:Ct(e.portfolio.geographicExposure,{tooltipTitle:"",tooltipDescription:this.createTooltipDescription(e,ne.GEOGRAPHIC_EXPOSURE),placement:J.Qy.AUTO},bt(e.portfolio.geographicBreakdown),this.translateService),proximals:ht(e.portfolio.geographicExposure)}};"empty-data"===e.portfolio.geographicBreakdown?.status&&"empty-data"===e.portfolio.geographicExposure?.status?this.status.set(d.ComponentStatus.EMPTY):(this.handleLoadedGeographicAllocation(l),this.showToggle&&u.B3.isAgentSmarsh()&&setTimeout(()=>this.toggleAll(),10)),this.geographicAllocationSignal.set(l)}};getBenchmarkName=e=>(e.portfolio&&"loaded"===e.portfolio.geographicBreakdown?.status&&(this.benchmarkName=e.portfolio.geographicBreakdown.benchmarkName??null),this.benchmarkName);handleLoadedGeographicAllocation(e){this.showToggle=e.breakDown.tableData.some(a=>a.children&&a.children.length>0),this.showBenchmark&&(e.breakDown.chartData.config.isColorByPointRequired=!1,e.breakDown.chartData.config.colors=W.D$),this.showToggle?(e.breakDown.chartData.config.hasFullHeight=!1,e.breakDown.chartData.config.hasCalculatedHeight=!0):e.breakDown.chartData.config.hasFullHeight=!0,e.breakDown.chartData.config.colors&&(this.chartColors=e.breakDown.chartData.config.colors),this.status.set(d.ComponentStatus.LOADED)}createTooltipDescription(e,a){let o="";return e.portfolio&&"loaded"===e.portfolio[a]?.status&&(o=kt(e.portfolio[a],this.translateService)),o}mapTableData(e,a){const o=[];if("loaded"===e.status&&e.data.length){const i=this.settingAccessibilityId(e.data);a===ne.GEOGRAPHIC_BREAKDOWN?(this.showBenchmark=!!e.data.filter(r=>r.benchmark!==u.BX).length,!1===this.config().showBenchmark&&(this.showBenchmark=!1),i.forEac
1h(r=>{o.push({label:r.label,breakdown:r.breakdown??"",benchmark:r.benchmark??"",id:r.id,ariaOwns:r.ariaOwns.join(" "),children:r.children})})):e.data.forEach(r=>{o.push({label:r.label,grossExposure:r.grossExposure??"",netExposure:r.netExposure??"",children:r.children})})}return o}toggleRow(e){(0,d.toggleRow)(e)}get ariaControlsList(){return(0,d.getAriaControlsList)()}toggleAll(){(0,d.toggleAll)(e=>{this.isExpanded=e},e=>{this.collapseExpandText.set(e?"products.collapse-all":"products.expand-all")})}settingAccessibilityId(e){return e.map(a=>{const o=`geographyParent-${(0,N.A)()}`,i=[];return a.children=a.children?.map((r,l)=>{const c=`geographyChild-${o}-${l}`;return i.push(c),{...r,id:c,parentId:o}}),{...a,id:o,ariaOwns:i}})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-geography-allocation"]],hostAttrs:["data-gtm-component","product-geography-allocation"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],["type","button","aria-expanded","false","aria-live","polite",1,"toggleBtn","button","button--ghost","button--sm","button--ghost-light","mb-5","hidden","items-center","md:flex"],[3,"sectionHeader"],[3,"placement"],["type","button","aria-expanded","false","aria-live","polite",1,"toggleBtn","button","button--ghost","button--sm","button--ghost-light","mb-5","hidden","items-center","md:flex",3,"click"],[1,"h-5","w-5","transform","transition-transform","duration-300"],["name","heroChevronDown"],[1,"m-0","px-2"],[1,"grid","grid-cols-1","gap-4","lg:grid-cols-2"],[1,"order-2","mb-5","flex","justify-start","md:hidden"],[1,"order-2","overflow-x-auto","md:order-1"],[1,"table","w-full","border-collapse"],[1,"hidden"],[1,"w-[60%]"],[1,"w-[20%]"],["rowspan","2"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[1,"order-1","mb-2","md:order-2"],["type","button","aria-expanded","false","aria-live","polite",1,"toggleBtn","button","button--ghost","button--sm","button--ghost-light",3,"click"],[1,"flex","items-center","justify-end"],[1,"text-left"],[3,"placement","tooltipTitle","ariaLabel"],[1,"text-sm","font-normal",3,"innerHTML"],[3,"id"],["scope","row",1,"text-left","align-middle"],[1,"flex","items-center","gap-1.5"],["type","button","aria-expanded","false",1,"parent-row","button","button--action","button--action-ghost","flex-shrink-0","py-0"],[1,"mr-1","inline-block","h-4","w-4","rounded-l","rounded-r","md:mr-3",3,"ngClass"],[1,"m-0","flex-grow","md:px-2"],[1,"text-right","align-middle"],["aria-level","2","hidden","",1,"child-row",3,"id"],["type","button","aria-expanded","false",1,"parent-row","button","button--action","button--action-ghost","flex-shrink-0","py-0",3,"click"],[1,"sr-only"],[1,"text-left","align-top",3,"ngClass"],[1,"text-right","align-top"],[3,"chartConfig","chartData"],[1,"table","w-full"],[1,"order-1","md:order-2",3,"chartConfig","chartData"],[1,"text-right"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,Y1,2,2),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,d.ComponentStatusComponent,K.j,_t,d.TranslatePipe,R.b6,R.zq,d.ProximalComponent],encapsulation:2,changeDetection:0})}return n})(),px=(()=>{class n extends U{translateService=(0,t.WQX)(u.c$);loggerName="IndustryAllocationComponent";industryAllocation=(0,t.vPA)(null);isCardViewSignal=(0,t.vPA)(!1);isCEF=(0,t.vPA)(!1);cardClosedState=(0,t.vPA)([]);componentId=(0,t.hFB)();benchmarkName=(0,t.EWP)(()=>this.industryAllocation()?.[0]?.portfolioAllocation?.benchmarkName??null);getSections=()=>({fetchPortfolio:{hasSector:!0},fetchCommonData:!0});processData=e=>{this.logger.debug(this.loggerName,"processData()",e),this.isCardViewSignal.set(!0===this.config().isCardView),this.updateCEFStatus(e);const a=e.portfolio?.industryAllocation;"loaded"===a?.status?this.setLoadedState(a):this.setEmptyState()};updateCEFStatus(e){this.isCEF.set("loaded"===e.commonData?.status&&"Closed-End Funds"===e.commonData.productType)}setEmptyState(){this.industryAllocation.set(null),this.cardClosedState.set([]),this.status.set(d.ComponentStatus.EMPTY)}setLoadedState(e){const a=this.buildIndustryData(e);this.cardClosedState.set(e.data.map(()=>!0)),this.industryAllocation.set([a]),this.status.set(d.ComponentStatus.LOADED)}buildIndustryData(e){const a=kt(e,this.translateService),o=this.shouldShowBenchmark(e);return{...this.config(),tooltipPlacement:J.Qy.AUTO,chartConfig:this.buildChartConfig(o),portfolioAllocation:e,showBenchmark:o,hasDuration:this.hasDurationData(e),chartData:this.buildChartData(e,o),proximals:ht(e),sectionHeader:this.buildSectionHeader(e,a)}}shouldShowBenchmark(e){return!1!==this.config().showBenchmark&&e.data.some(a=>a.benchmark!==u.BX)}buildChartConfig(e){return{isColorByPointRequired:!e,colors:e?W.D$:W.Ui,chartType:"bar",tooltip:{borderWidth:1,style:{fontSize:"14px"}},xAxis:{isLabelEnabled:!0},yAxis:{labelFormat:"{value}%",isLabelEnabled:!0},hasFullHeight:!0}}buildChartData(e,a){return Et(this.config().productId,e,a,this.translateService)}buildSectionHeader(e,a){return Ct(e,a.length?{tooltipTitle:"",placement:J.Qy.AUTO,tooltipDescription:a}:void 0,bt(e),this.translateService)}hasDurationData(e){return e.data.some(a=>void 0!==a.duration&&a.duration!==u.BX)}toggleCard(e){this.cardClosedState.update(a=>a.map((o,i)=>i===e?!o:o))}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-industry-allocation"]],hostAttrs:["data-gtm-component","product-industry-allocation"],inputs:{componentId:[1,"componentId"]},features:[t.Vt3],decls:4,vars:2,consts:[["industryGeneral",""],[3,"status"],[1,"industry-allocation"],[3,"sectionHeader"],[3,"placement"],[1,"grid","grid-cols-1","gap-4","lg:grid-cols-2"],["data-testid","industry-allocation-cards",1,"industry-allocation-cards"],[1,"order-2","mb-0","w-full","md:order-1"],[1,"table","h-full","w-full","table-auto"],[1,"hidden"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[1,"order-1","mb-2","md:order-2"],[1,"flex","items-center","justify-end"],[1,"text-left"],["tooltipTitle","",3,"placement","ariaLabel"],[1,"text-sm","font-normal",3,"innerHTML"],["placement","industry-duration-column-header",3,"componentId"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"chartData","chartConfig"],[1,"mb-4"],[1,"border-nc1-200","mb-3","rounded-xl","border"],[1,"flex","justify-between","rounded-t-xl","p-2",3,"id"],[1,"my-2","flex","items-center","font-normal"],["id","table-card-content",1,"m-0","block"],["type","button","aria-expanded","true",1,"text-nc1-0","flex","w-full","items-center","justify-between","rounded-b-xl","px-4","py-2","text-left","text-sm",3,"click"],[1,"border-nc1-200","grid","grid-cols-2","gap-2","border-b","py-4"],[1,"col-span-1","ml-4","text-base","font-bold"],[1,"col-span-1","text-right","text-base","font-normal"],[1,"font-bold"],["name","heroChevronUp",3,"size"],["name","heroChevronDown",3,"size"],[1,"flex","items-center"],[1,"mr-2","inline-block","h-4","w-4","rounded-l","rounded-r",3,"ngClass"],[1,"text-right"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",1),t.DNE(1,ah,3,0,"div",2),t.k0s(),t.DNE(2,rh,8,5,"ng-template",null,0,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,C.T3,d.ComponentStatusComponent,K.j,_t,R.b6,d.TranslatePipe,d.ProximalComponent,R.zq,d.FootnoteComponent],encapsulation:2,changeDetection:0})}return n})();var be=function(n){return n.RELATIVE_VALUE="Relative Value",n.LONG_SHORT_EQUITY="Long Short Equity",n.GLOBAL_MACRO="Global Macro",n.EVENT_DRIVEN="Event Driven",n}(be||{});let mx=(()=>{class n extends U{loggerName="ManagerAllocationComponent";translateService=(0,t.WQX)(u.c$);isCardViewSignal=(0,t.vPA)(!1);managerAllocationSectionHeader=(0,t.vPA)(null);managerAllocationSignal=(0,t.vPA)(null);managerAllocationColumnHeaderSignal=(0,t.vPA)(u.BX);relativeTotalAllocationSignal=(0,t.vPA)(u.BX);relativeTotalAllocationHeaderSignal=(0,t.vPA)(u.BX);longShortTotalAllocationSignal=(0,t.vPA)(u.BX);longShortTotalAllocationHeaderSignal=(0,t.vPA)(u.BX);globalTotalAllocationSignal=(0,t.vPA)(u.BX);globalTotalAllocationHeaderSignal=(0,t.vPA)(u.BX);eventTotalAllocationSignal=(0,t.vPA)(u.BX);eventTotalAllocationHeaderSignal=(0,t.vPA)(u.BX);relativeValueTableSignal=(0,t.vPA)(null);longShortEquityTableSignal=(0,t.vPA)(null);globalMacroTableSignal=(0,t.vPA)(null);eventDrivenTableSignal=(0,t.vPA)(null);get relativeTable(){return this.relativeValueTableSignal.asReadonly()}get longShortEquityTable(){return this.longShortEquityTableSignal.asReadonly()}get globalMacroTable(){return this.globalMacroTableSignal.asReadonly()}get eventDrivenTable(){return this.eventDrivenTableSignal.asReadonly()}getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchPortfolio:{hasManagerAllocation:!0}
1});processData=e=>{if(this.isCardViewSignal.set(!0===this.config().isCardView),"loaded"===e.portfolio?.managerRosterAllocation?.status){const a={...e.portfolio.managerRosterAllocation,calculationType:this.translateService.instant("products.invested-capital"),allocationHeading:this.translateService.instant("products.portfolio-manager-roster-heading")};this.handleLoadedData(a)}else"empty-data"===e.portfolio?.managerRosterAllocation?.status&&this.status.set(d.ComponentStatus.EMPTY)};handleLoadedData(e){const a=this.findStrategy(e,be.RELATIVE_VALUE),o=this.findStrategy(e,be.LONG_SHORT_EQUITY),i=this.findStrategy(e,be.GLOBAL_MACRO),r=this.findStrategy(e,be.EVENT_DRIVEN);this.setTableData(a,this.relativeValueTableSignal,this.relativeTotalAllocationSignal,this.managerAllocationColumnHeaderSignal),this.setTableData(o,this.longShortEquityTableSignal,this.longShortTotalAllocationSignal,this.longShortTotalAllocationHeaderSignal),this.setTableData(i,this.globalMacroTableSignal,this.globalTotalAllocationSignal,this.globalTotalAllocationHeaderSignal),this.setTableData(r,this.eventDrivenTableSignal,this.eventTotalAllocationSignal,this.eventTotalAllocationHeaderSignal);const l=Ct(e,{tooltipTitle:"",tooltipDescription:"",placement:J.Qy.AUTO},bt(e),this.translateService);this.managerAllocationSectionHeader.set(l),this.managerAllocationSignal.set(e),this.status.set(d.ComponentStatus.LOADED)}findStrategy(e,a){return e.strategies.find(o=>o.strategy===a)}setTableData(e,a,o,i){const r=this.translateService,l=e?.allocations.map(_=>({managerRosterVal:_.managerRoster??`${r.instant("products.NA")}`,allocationVal:_.allocation??u.BX,isClosed:!0}))||[],c=e?.totalAllocation??u.BX,p=e?.strategy??"";a.set(l),o.set(c),i.set(p)}toggleCard(e){e.isClosed=!e.isClosed}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-manager-allocation"]],hostAttrs:["data-gtm-component","manager-allocation"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],[3,"sectionHeader"],["placement","manager-roster-proximal-top"],[1,"grid","grid-cols-1","gap-4"],[1,"mt-3","grid","grid-cols-2","gap-6"],[1,"col-span-1"],[1,"table"],[1,"hidden"],[1,"bg-nc1-100"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[1,"block","text-sm","font-bold"],[1,"block","text-xs","font-bold"],[1,"text-left"],[1,"text-right"],["data-testid","relative-value-cards",1,"relative-value-cards"],[1,"my-5","rounded-xl","text-lg","font-bold"],[1,"border-nc1-200","mb-3","rounded-xl","border"],["data-testid","long-short-equity-cards",1,"long-short-equity-cards"],["data-testid","global-macro-cards",1,"global-macro-cards"],["data-testid","event-driven-cards",1,"event-driven-cards"],[1,"flex","justify-between","rounded-t-xl","p-2",3,"id"],[1,"my-2","flex","items-center","font-normal"],[1,"m-0","block",3,"id"],["type","button","aria-expanded","true",1,"text-nc1-0","flex","w-full","items-center","justify-between","rounded-b-xl","px-4","py-2","text-left","text-sm",3,"click"],[1,"border-nc1-200","grid","w-full","grid-cols-2","gap-2","border-b","last:border-none"],[1,"col-div-1","p-4"],[1,"flex","items-center","text-base","font-bold"],[1,"flex","items-center","text-sm","font-bold"],[1,"col-div-1","p-4","font-normal"],[1,"gap-1","text-right","text-base","md:flex","md:items-center"],[1,"font-bold"],["name","heroChevronUp",3,"size"],["name","heroChevronDown",3,"size"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,$h,4,3),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,d.ComponentStatusComponent,_t,d.TranslatePipe,R.zq,d.ProximalComponent],encapsulation:2,changeDetection:0})}return n})(),hx=(()=>{class n extends U{loggerName="MarketCapitalizationComponent";marketCapitalizationSectionHeader=null;translateService=(0,t.WQX)(u.c$);chartColors=W.D$;marketCapitalizationSignal=(0,t.vPA)(void 0);get marketCapitalization(){return this.marketCapitalizationSignal.asReadonly()}getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchPortfolio:{hasMarketCapitalizationBreakdown:!0}});getMarketCapTypeObj(){return{...this.config(),chartConfig:{chartType:"bar",isColorByPointRequired:!0,colors:W.Ui,hasFullHeight:!0,useCustomTitle:!0,tooltip:{useHTML:!0,borderWidth:1,style:{fontSize:"14px"}},xAxis:{isLabelEnabled:!0},yAxis:{labelFormat:"{value}%",isLabelEnabled:!0}}}}setChartColorAndMarketCapProps(e){e.showBenchmark&&(e.chartConfig.isColorByPointRequired=!1,e.chartConfig.colors=W.D$),e.chartConfig.colors&&(this.chartColors=e.chartConfig.colors)}processData=e=>{this.logger.debug(this.loggerName,"processData()",e);let a=this.getMarketCapTypeObj();if("loaded"===e.portfolio?.marketCapitalizationBreakdown?.status){a.showBenchmark=!!e.portfolio.marketCapitalizationBreakdown.data.filter(i=>i.benchmark!==u.BX).length,!1===this.config().showBenchmark&&(a.showBenchmark=!1);const o={...Et(this.config().productId,e.portfolio.marketCapitalizationBreakdown,a.showBenchmark,this.translateService)};this.setChartColorAndMarketCapProps(a),a={...a,data:e.portfolio.marketCapitalizationBreakdown.data,chartData:o,benchmarkName:e.portfolio.marketCapitalizationBreakdown.benchmarkName??void 0,proximals:ht(e.portfolio.marketCapitalizationBreakdown)},this.marketCapitalizationSignal.set(a),this.marketCapitalizationSectionHeader=Ct(e.portfolio.marketCapitalizationBreakdown,{tooltipTitle:a.tooltipTitle,tooltipDescription:a.tooltipDescription,placement:a.tooltipPlacement},bt(e.portfolio.marketCapitalizationBreakdown),this.translateService),this.status.set(d.ComponentStatus.LOADED)}else"empty-data"===e.portfolio?.marketCapitalizationBreakdown?.status&&this.status.set(d.ComponentStatus.EMPTY)};static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-market-capitalization"]],hostAttrs:["data-gtm-component","product-market-capitalization"],features:[t.Vt3],decls:6,vars:2,consts:[["sectorTHGeneral",""],["sectorGeneral",""],[3,"status"],[3,"sectionHeader"],[3,"placement"],[1,"grid","grid-cols-1","gap-4","lg:grid-cols-2"],[1,"order-2","md:order-1"],[1,"table"],[1,"hidden"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"order-1","mb-2","md:order-2"],[3,"chartData","chartConfig"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[1,"flex","items-center","justify-end"],[1,"text-left"],[3,"placement","tooltipTitle","ariaLabel"],[1,"text-left","text-sm","font-normal",3,"innerHTML"],[1,"mr-2","inline-block","h-4","w-4","rounded-l","rounded-r",3,"ngClass"],[1,"bg-highchart-sec","text-right"],[1,"text-right"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",2),t.DNE(1,jh,17,12),t.k0s(),t.DNE(2,Bh,7,8,"ng-template",null,0,t.C5r)(4,Hh,6,4,"ng-template",null,1,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,C.T3,d.ComponentStatusComponent,K.j,_t,R.b6,d.TranslatePipe,d.ProximalComponent],encapsulation:2,changeDetection:0})}return n})(),fx=(()=>{class n extends U{loggerName="MaturityComponent";translateService=(0,t.WQX)(u.c$);maturityAllocationSectionHeader=null;chartColors=W.D$;maturityAllocationSignal=(0,t.vPA)(void 0);get maturityAllocation(){return this.maturityAllocationSignal.asReadonly()}getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchPortfolio:{hasMaturityAllocation:!0}
1});getMaturityAllocType(){return{...this.config(),chartConfig:{chartType:"bar",isColorByPointRequired:!0,colors:W.Ui,useCustomTitle:!0,hasFullHeight:!0,tooltip:{useHTML:!0,borderWidth:1,style:{fontSize:"14px"}},xAxis:{isLabelEnabled:!0},yAxis:{isLabelEnabled:!0,labelFormat:"{value}%"},plotOptions:{bar:{grouping:!1}}}}}setChartColorAndMaturityAllocProp(e){e.showBenchmark&&(e.chartConfig.isColorByPointRequired=!1,e.chartConfig.colors=W.D$),e.chartConfig.colors&&(this.chartColors=e.chartConfig.colors)}processData=e=>{this.logger.debug(this.loggerName,"processData()",e);let a=this.getMaturityAllocType();if("loaded"===e.portfolio?.maturityAllocation?.status){a.showBenchmark=!!e.portfolio.maturityAllocation.data.filter(i=>i.benchmark!==u.BX).length,!1===this.config().showBenchmark&&(a.showBenchmark=!1);const o={...Et(this.config().productId,e.portfolio.maturityAllocation,a.showBenchmark,this.translateService)};this.setChartColorAndMaturityAllocProp(a),a={...a,data:e.portfolio.maturityAllocation.data,chartData:o,benchmarkName:e.portfolio.maturityAllocation.benchmarkName??void 0,proximals:ht(e.portfolio.maturityAllocation)},this.maturityAllocationSignal.set(a),this.maturityAllocationSectionHeader=Ct(e.portfolio.maturityAllocation,{tooltipTitle:a.tooltipTitle,tooltipDescription:a.tooltipDescription,placement:a.tooltipPlacement},bt(e.portfolio.maturityAllocation),this.translateService),this.maturityAllocationSectionHeader.allocationHeading=this.maturityAllocationSectionHeader.allocationHeading?this.maturityAllocationSectionHeader.allocationHeading:this.translateService.instant("products.portfolio-maturity-allocation-heading"),this.status.set(d.ComponentStatus.LOADED)}else"empty-data"===e.portfolio?.maturityAllocation?.status&&this.status.set(d.ComponentStatus.EMPTY)};static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-maturity"]],hostAttrs:["data-gtm-component","maturity"],features:[t.Vt3],decls:6,vars:2,consts:[["maturityTHGeneral",""],["maturityGeneral",""],[3,"status"],[3,"sectionHeader"],[3,"placement"],[1,"grid","grid-cols-1","gap-4","lg:grid-cols-2"],[1,"order-2","md:order-1"],[1,"table"],[1,"hidden"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"order-1","md:order-2"],[3,"chartData","chartConfig"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[1,"flex","items-center","justify-end"],[1,"text-left"],[3,"placement","tooltipTitle","ariaLabel"],[1,"text-left","text-sm","font-normal",3,"innerHTML"],[1,"mr-2","inline-block","h-4","w-4","rounded-l","rounded-r",3,"ngClass"],[1,"bg-highchart-sec","text-right"],[1,"text-right"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",2),t.DNE(1,ef,17,12),t.k0s(),t.DNE(2,af,7,8,"ng-template",null,0,t.C5r)(4,rf,6,4,"ng-template",null,1,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,C.T3,d.ComponentStatusComponent,K.j,_t,R.b6,d.TranslatePipe,d.ProximalComponent],encapsulation:2,changeDetection:0})}return n})();var Je=function(n){return n.PORTFOLIOEXPOSURE="Portfolio Exposure",n.STRATEGYALLOCATION="Strategy Allocation",n}(Je||{});let _x=(()=>{class n extends U{loggerName="PortfolioExposuresComponent";chartColors=W.Ui;translateService=(0,t.WQX)(u.c$);defaultChart={chartConfig:{chartType:"bar"},chartData:{yAxis:[]}};portfolioExposure=(0,t.vPA)(null);portfolioExposureChart=(0,t.vPA)(this.defaultChart);exposureSectionHeader=(0,t.vPA)(null);exposureProximals=(0,t.vPA)(null);strategyAllocation=(0,t.vPA)(null);strategyAllocationChart=(0,t.vPA)(this.defaultChart);allocationSectionHeader=(0,t.vPA)(null);allocationProximals=(0,t.vPA)(null);getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchPortfolio:{hasPortfolioExposure:!0}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a=e.portfolio?.portfolioExposure,o=e.portfolio?.strategyBreakdown;let i=!1;"loaded"===a?.status&&(this.updateComponentData(a,Je.PORTFOLIOEXPOSURE),i=!0),"loaded"===o?.status&&(this.updateComponentData(o,Je.STRATEGYALLOCATION),i=!0),this.status.set(i?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};updateComponentData(e,a){this.logger.debug(this.loggerName,"portfolioExposuresType",a);const o=this.getSectionHeader(e,a),i=this.getChartData(e);a===Je.PORTFOLIOEXPOSURE?(this.exposureSectionHeader.set(o),this.portfolioExposureChart.set(i),this.portfolioExposure.set(e),this.exposureProximals.set(ht(e))):(this.allocationSectionHeader.set(o),this.strategyAllocationChart.set(i),this.strategyAllocation.set(e),this.allocationProximals.set(ht(e)))}getSectionHeader(e,a){const o=kt(e,this.translateService);return e.allocationHeading=a,Ct(e,o.length?{tooltipTitle:"",placement:J.Qy.AUTO,tooltipDescription:o}:void 0,bt(e),this.translateService)}getChartData(e){return{chartConfig:{chartType:"bar",chartTitle:" ",isColorByPointRequired:!0,colors:W.Ui,tooltip:{useHTML:!0,borderWidth:1,style:{fontSize:"14px"}},hasFullHeight:!0,yAxis:{isLabelEnabled:!0,labelFormat:"{value}%"},xAxis:{isLabelEnabled:!0},lang:{accessibility:{chartContainerLabel:(0,N.A)()}}},chartData:this.getPortfolioExposuresChartOptions(e)}}getPortfolioExposuresChartOptions(e){const a={xAxis:e.data.map(o=>o.label),yAxis:e.data.map(o=>({name:o.actualAllocation,y:o.actualAllocationStd??0}))};return{name:[],xAxis:a.xAxis,yAxis:[{plots:a.yAxis,tooltip:{headerFormat:"",pointFormatter(){return`\n <strong style='font-size:14px;'>${this.category}</strong>\n <br />\n ${this.name}\n `}}}]}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-portfolio-exposures"]],hostAttrs:["data-gtm-component","portfolio-exposures"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],[1,"portfolio-exposure","mb-5"],[3,"sectionHeader"],[3,"placement"],[1,"grid","grid-cols-1","gap-4","lg:grid-cols-2"],[1,"order-2","md:order-1"],[1,"table"],[1,"hidden"],["rowspan","2"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[1,"order-1","mb-2","md:order-2",3,"chartConfig","chartData"],[1,"text-left"],[1,"text-right"],[1,"order-2","overflow-x-auto","md:order-1"],[1,"table","leading-5"],[1,"order-1","md:order-2",3,"chartConfig","chartData"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,xf,3,2,"div",1),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,d.ComponentStatusComponent,_t,K.j,d.TranslatePipe,d.ProximalComponent],encapsulation:2,changeDetection:0})}return n})(),bx=(()=>{class n extends U{loggerName="PortfolioManagersComponent";destroyRef=(0,t.WQX)(t.abz);profileImageParams={format:"webp"};productType;portfolioManagers=(0,t.vPA)([]);selectedManagerInitials="";translateService=(0,t.WQX)(u.c$);
1showYearsOfExperience=(0,t.vPA)(void 0);logoUrl=(0,t.hFB)();simLogo=(0,t.vPA)(void 0);investmentManagerTitle="";profileUrl=t.hFB.required();aboutManagerUrl=t.hFB.required();fullWidth=(0,t.hFB)(!1);modalService=(0,t.WQX)(R.Bg);useElastic=u.jP;biographyService=(0,t.WQX)(d.BIOS_SERVICE,{optional:!0});selectedManager=(0,t.vPA)({});showManagerModal=!1;getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchInvestmentTeams:!0,fetchCommonData:!0});checkProfileImages(e){return e&&"/assets/images/icon_no_photo.jpg"!==e&&"/biographies/assets/images/icon_no_photo.jpg"!==e&&""!==e?e:""}processData=e=>{if(this.logger.debug(this.loggerName,"processData()",e),"loaded"===e.commonData?.status&&(this.productType=e.commonData.productType,this.simLogo.set(this.translateService.instant(`products.logo-sim-${(0,yt.A)(e.commonData.investmentManager.toLowerCase())}`)),this.investmentManagerTitle=e.commonData.investmentGroup,this.showYearsOfExperience.set(this.isShowYearsOfExperienceValidForFundManagers(e.commonData.productTaxonomy))),"loaded"===e.investmentTeams?.status){const a=[...e.investmentTeams.data].sort((i,r)=>(i.managerOrder??0)-(r.managerOrder??0));if(0===a.length)return this.portfolioManagers.set([]),void this.status.set(d.ComponentStatus.EMPTY);const o=a.map(i=>this.biographyService?.getBios$(i.employeeId,"").pipe((0,et.W)(()=>(0,F.of)(null))));(0,A.p)(o).pipe((0,H.pQ)(this.destroyRef)).subscribe({next:i=>{const r=[];a.forEach((l,c)=>{const p=i[c];r.push({managerName:l.managerName,managerSublabel:this.translateService.instant(this.productType===w.lM.SMA?"products.managed-strategy-since":"products.managed-fund-since"),managerSuffix:this.getManagerTitleSuffix(l),managerCity:l.managerCity,startDateFundManagement:l.startDateFundManagement,yearsOfService:l.yearsInIndustry,biography:p?{...p,webImage:this.useElastic?this.checkProfileImages(p.webImage):p.webImage}:null,initialsValues:this.getInitials(l.managerName)})}),this.portfolioManagers.set(r),this.status.set(d.ComponentStatus.LOADED)},error:()=>{this.status.set(d.ComponentStatus.ERROR)}})}else"empty-data"===e.investmentTeams?.status&&(this.portfolioManagers.set([]),this.status.set(d.ComponentStatus.EMPTY),this.statusUpdate.emit(d.ComponentStatus.EMPTY))};displayTitle=(0,t.EWP)(()=>{const e=this.simLogo()??"";return e.startsWith("[")?this.investmentManagerTitle:e});isShowYearsOfExperienceValidForFundManagers(e){const a=function Ib(n){return"529"===n?"_529":n}(e);return!!this.config().showYearsOfExperience?.[a]}getInitials(e){if(!e)return"";const a=e.trim().split(" ");return(a[0]?.charAt(0).toUpperCase()??"")+(a.length>1?a[a.length-1]?.charAt(0).toUpperCase():"")}getManagerTitleSuffix(e){const a=[{key:"isCFA",label:"products.cfa"},{key:"isCPA",label:"products.cpa"},{key:"isMBA",label:"products.mba"},{key:"isPHD",label:"products.phd"},{key:"isFRM",label:"products.frm"}];for(const o of a)if(!0===e[o.key])return this.translateService.instant(o.label);return""}isManagerActive(e){return"I"!==e.biography?.status}openManagerModal(e){this.isManagerActive(e)&&(this.selectedManager.set(e),this.showManagerModal=!0,this.selectedManagerInitials=this.getInitials(e.managerName),this.modalService.open("portfolio-manager-id"))}getManagerTooltip=(0,t.EWP)(()=>e=>"I"===e.biography?.status?this.translateService.instant("products.manager-profile-inactive"):null);closeModal(){this.selectedManager.set({})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-portfolio-managers"]],hostAttrs:["data-gtm-component","portfolio-managers"],inputs:{logoUrl:[1,"logoUrl"],profileUrl:[1,"profileUrl"],aboutManagerUrl:[1,"aboutManagerUrl"],fullWidth:[1,"fullWidth"]},features:[t.Vt3],decls:6,vars:10,consts:[[3,"status"],["id","portfolio-manager-id",3,"emitModalClose","modalCloseLabel","ariaCloseLabel","showCloseButton"],["tabindex","-1",1,"group",3,"ngClass"],["data-testid","portfolio-managers-header",1,"flex","justify-between","text-xl","font-bold","lg:text-2xl",3,"mb-6"],[1,"group"],[1,"mb-6","w-full","group-[.flex]:md:w-[50%]","group-[.flex]:lg:w-1/3"],["data-testid","portfolio-managers-header",1,"flex","justify-between","text-xl","font-bold","lg:text-2xl"],[3,"innerHTML"],[1,"frk-layout--horizontal","frk-theme--light","group","flex","gap-1",3,"ngClass"],[1,"avatar","bg-pc1-100","mr-2","flex","flex-none","items-center","justify-center","overflow-hidden","rounded-full","group-[.frk-size--medium]:h-16","group-[.frk-size--small]:h-12","group-[.frk-size--medium]:w-16","group-[.frk-size--small]:w-12"],[1,"flex","flex-col"],[1,"frk-size--large","frk-layout--horizontal","frk-theme--light","group","flex","flex-wrap"],["data-testid","portfolio-managers-name-button","type","button","aria-haspopup","dialog",1,"group-[.frk-theme--dark]:text-nc1-0","text-pc1-500","break-words","text-left","text-lg","font-bold","underline","decoration-1","transition-all","duration-300","hover:decoration-[0.145em]"],["data-testid","portfolio-managers-name-text",1,"group-[.frk-theme--dark]:text-nc1-0","text-pc1-500","text-lg","font-bold","transition-all","duration-300","hover:no-underline",3,"title"],[1,"group-[.frk-theme--light]:text-nc1-600","group-[.frk-theme--dark]:text-nc1-0","m-0","mt-1","text-base","font-normal"],[1,"m-0"],["height","64","width","64",1,"avatar","mr-2",3,"ngClass","alt","ngSrc","loaderParams"],[1,"text-pc1-900","font-bold","group-[.frk-size--medium]:text-3xl","group-[.frk-size--small]:text-2xl"],["data-testid","portfolio-managers-name-button","type","button","aria-haspopup","dialog",1,"group-[.frk-theme--dark]:text-nc1-0","text-pc1-500","break-words","text-left","text-lg","font-bold","underline","decoration-1","transition-all","duration-300","hover:decoration-[0.145em]",3,"click"],[1,"flex","flex-col","group-[.frk-size--medium]:gap-2","group-[.frk-size--small]:gap-1"],[1,"text-pc1-800","font-bold","group-[.frk-size--medium]:text-2xl","group-[.frk-size--small]:text-xl",3,"id"],[1,"text-pc1-800","group-[.frk-size--medium]:text-xl","group-[.frk-size--small]:text-lg"],[1,"flex","flex-row","group-[.frk-size--medium]:mt-6","group-[.frk-size--small]:mt-4"],[1,"group-[.frk-size--medium]:basis-3/4"],[1,"flex","flex-col","gap-2"],[1,"flex","group-[.frk-size--medium]:flex-row","group-[.frk-size--small]:flex-col","group-[.frk-size--small]:gap-1"],[1,"text-nc1-950","mr-8","text-base","font-bold"],[1,"text-pc1-800","font-bold","group-[.frk-size--medium]:text-xl","group-[.frk-size--small]:text-lg"],[1,"text-pc1-800","font-bold","group-[.frk-size--medium]:ml-3.5","group-[.frk-size--medium]:text-xl","group-[.frk-size--small]:text-lg"],[1,"text-nc1-950","text-base","group-[.frk-size--medium]:mt-6","group-[.frk-size--small]:mt-4",3,"innerHTML"],[1,"basis-1/4","justify-items-end","[text-align-last:end]"],[1,"[text-align-last:center]","group-[.frk-size--small]:mt-4"],[1,"container-fluid","text-center"],["height","128","width","128",1,"avatar","avatar--xl",3,"alt","ngSrc","loaderParams"],[1,"row","avatar","avatar--xl","bg-pc1-100","items-center","[text-align-last:center]","group-[.frk-size--small]:mt-4"],[1,"text-pc1-900","leading-12","flex","w-full","items-center","justify-center","text-6xl","font-bold"],[1,"text-nc1-950","text-base","group-[.frk-size--medium]:mt-6","group-[.frk-size--small]:mt-4"],[1,"bg-pc1-100","mr-0","flex","h-32","w-32","items-center","justify-center","rounded-full","pr-0","group-[.frk-size--small]:mt-4"],[1,"text-pc1-900","justify-center","overflow-hidden","text-6xl","font-bold"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,Ff,4,5),t.k0s(),t.j41(2,"frk-modal",1),t.nI1(3,"translate"),t.nI1(4,"translate"),t.bIt("emitModalClose",function(){return o.closeModal()}),t.DNE(5,Of,26,19,"section",2),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1),t.R7$(),t.Y8G("modalCloseLabel",t.bMT(3,6,"common.aria-label.close-modal"))("ariaCloseLabel",t.bMT(4,8,"common.aria-label.close-modal"))("showCloseButton",!0),t.R7$(3),t.vxM(o.selectedManager()?5:-1))},dependencies:[C.MD,C.YU,C.vh,d.TranslatePipe,d.ComponentStatusComponent,h.kt,R.zf],encapsulation:2,changeDetection:0})}return n})();var Ke=function(n){return n.isSectorAllocation="sectorAllocation",n.isSectorEquity="sectorEquity",n.isSectorSecurity="sectorSecurity",n.isSectorExposure="sectorExposure",n.isSectorFixedIncome="sectorFixedIncome",n}(Ke||{});let xx=(()=>{class n extends U{translateService=(0,t.WQX)(u.c$);loggerName="SectorAllocationComponent";sectorAllocationSignal=(0,t.vPA)(null);benchmarkName=null;isCardViewSignal=(0,t.vPA)(!1);isCEFS=(0,t.vPA)(!1);componentId=(0,t.hFB)();cardClosedStateSignal=(0,t.vPA)(void 0);cardClosedState=this.cardClosedStateSignal.asReadonly();getSections=()=>({fetchPortfolio:{hasSector:!0},fetchCommonData:!0});get sectorAllocation(){return this.sectorAllocationSignal.asReadonly()}processData=e=>{this.logger.debug(this.loggerName,"processData()",e),this.isCardViewSignal.set(!0===this.config().isCardView),this.checkIfCEF(e);const a=[];if(Object.keys(Ke).forEach(o=>{this.getBenchmarkName(e,Ke[o]);let r={...this.config(),tooltipPlacement:J.Qy.AUTO,chartConfig:{isColorByPointRequired:!0,colors:W.Ui,chartType:"bar",tooltip:{borderWidth:1,style:{fontSize:"14px"}},xAxis:{isLabelEnabled:!0},yAxis:{labelFormat:"{value}%",isLabelEnabled:!0},hasFullHeight:!0},sectionHeader:null};if(e.portfolio){const l=Ke[o];if("loaded"===e.portfolio[l]?.status){const c=e.portfolio[l],p=kt(c,this.translateService);r[o]=!0,r.showBenchmark=this.setShowBenchmark(r,c),r.hasDuration=this.hasDurationData(c),r={...r,portfolioAllocation:c,chartData:this.getChartData(r,c),proximals:ht(c),sectionHeader:Ct(c,p.length?{tooltipTitle:"",placement:J.Qy.AUTO,tooltipDescription:p}:void 0,bt(c),this.translateService)},r.showBenchmark&&(r.chartConfig.isColorByPointRequired=!1,r.chartConfig.colors=W.D$),a.push(r)}}}),a.length){const o=a.flatMap(i=>i.portfolioAllocation?.data??[]);this.cardClosedStateSignal.set(o.map(()=>!0)),this.sectorAllocationSignal.set(a),this.status.set(d.ComponentStatus.LOADED)}else this.sectorAllocationSignal.set(null),this.status.set(d.ComponentStatus.EMPTY)};getBenchmarkName=(e,a)=>(e.portfolio&&"loaded"===e.portfolio[a]?.status&&(this.benchmarkName=e.portfolio[a].benchmarkName??null),this.benchmarkName);checkIfCEF(e){"loaded"===e.commonData?.status&&this.isCEFS.set("Closed-End Funds"===e.commonData.productType)}setShowBenchmark(e,a){return e.showBenchmark=!!a.data.filter(o=>o.benchmark!==u.BX).length,!1===this.config().showBenchmark&&(e.showBenchmark=!1),e.showBenchmark}getChartData(e,a){return e.isSectorExposure?Qe(a,[],this.translateService):Et(this.config().productId,a,!!e.showBenchmark,this.translateService)}hasDurationData(e){return e.data.some(a=>!!a.duration&&a.duration!==u.BX)}toggleCard(e){const a=this.cardClosedState();a?.length&&(a[e]=!a[e],this.cardClosedStateSignal.set([...a]))}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-sector-allocation"]],hostAttrs:["data-gtm-component","product-sector-allocation"],inputs:{componentId:[1,"componentId"]},features:[t.Vt3],decls:10,vars:2,consts:[["sectorTHGeneral",""],["sectorTHExposure",""],["sectorGeneral",""],["sectorExposure",""],[3,"status"],[1,"sector-allocation"],[3,"sectionHeader"],[3,"placement"],[1,"grid","grid-cols-1","gap-4","lg:grid-cols-2"],["data-testid","sector-allocation-cards",1,"sector-allocation-cards"],[1,"order-2","mb-0","w-full","md:order-1"],[1,"table","h-full","w-full","table-auto"],[1,"hidden"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"order-1","mb-2","md:order-2"],[3,"chartData","chartConfig"],[1,"mb-4"],[1,"border-nc1-200","mb-3","rounded-xl","border"],[1,"flex","justify-between","rounded-t-xl","p-2",3,"id"],[1,"my-2","flex","items-center","font-normal"],["id","table-card-content",1,"m-0","block"],["type","button","aria-expanded","true",1,"text-nc1-0","flex","w-full","items-center","justify-between","rounded-b-xl","px-4","py-2","text-left","text-sm",3,"click"],[1,"border-nc1-200","grid","grid-cols-2","gap-2","border-b","py-4"],[1,"col-span-1","ml-4","text-base","font-bold"],[1,"col-span-1","text-right","text-base","font-normal"],["tooltipTitle","",3,"placement","ariaLabel"],[1,"text-sm","font-normal",3,"innerHTML"],["placement","sector-duration-column-header",3,"componentId"],[1,"font-bold"],["name","heroChevronUp",3,"size"],["name","heroChevronDown",3,"size"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[1,"flex","items-center","justify-end"],[1,"text-left"],[1,"flex","items-center"],[1,"mr-2","inline-block","h-4","w-4","rounded-l","rounded-r",3,"ngClass"],[1,"text-right"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",4),t.DNE(1,i_,3,0,"div",5),t.k0s(),t.DNE(2,l_,8,8,"ng-template",null,0,t.C5r)(4,p_,15,15,"ng-template",null,1,t.C5r)(6,__,8,5,"ng-template",null,2,t.C5r)(8,g_,8,4,"ng-template",null,3,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,C.T3,d.ComponentStatusComponent,K.j,_t,R.b6,d.TranslatePipe,d.ProximalComponent,R.zq,d.FootnoteComponent],encapsulation:2,changeDetection:0})}return n})(),Dx=(()=>{class n extends U{loggerName="SecurityExposureComponent";translateService=(0,t.WQX)(u.c$);exposureSectionHeader=(0,t.vPA)(null);securityExposureSignal=(0,t.vPA)(void 0);get securityExposure(){return this.securityExposureSignal.asReadonly()}getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchPortfolio:{hasSecurityTypeExposure:!0}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e);let a={...this.config(),chartConfig:{chartType:"bar",colors:W.Ui,hasFullHeight:!0,tooltip:{useHTML:!0,borderWidth:1,style:{fontSize:"14px"}},xAxis:{isLabelEnabled:!0},yAxis:{isLabelEnabled:!0,labelFormat:"{value}%"}}};if("loaded"===e.portfolio?.securityTypeExposure?.status){const o={...e.portfolio.securityTypeExposure,allocationHeading:this.translateService.instant("products.portfolio-security-type-exposure-heading")},i={...Qe(o,[],this.translateService)};a={...a,data:o.data,chartData:i,proximals:ht(o)};const r=Ct(o,{tooltipTitle:a.tooltipTitle,tooltipDescription:a.tooltipDescription,placement:a.tooltipPlacement},bt(o),this.translateService);this.exposureSectionHeader.set(r),this.securityExposureSignal.set(a),this.status.set(d.ComponentStatus.LOADED)}else"empty-data"===e.portfolio?.securityTypeExposure?.status&&this.status.set(d.ComponentStatus.EMPTY)};static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-security-exposure"]],hostAttrs:["data-gtm-component","security-exposure"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],[3,"sectionHeader"],[3,"placement"],[1,"grid","grid-cols-1","gap-4","lg:grid-cols-2"],[1,"order-2","md:order-1"],[1,"table"],[1,"sr-only"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[1,"order-1","md:order-2"],[1,"text-left"],[1,"text-right"],[3,"chartData","chartConfig"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,T_,23,14),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,d.ComponentStatusComponent,_t,K.j,d.TranslatePipe,d.ProximalComponent],encapsulation:2,changeDetection:0})}return n})();var Lt=function(n){return n.TOPLONGEXPOSURES="topLongExposures",n.TOPLONGPOSITIONS="topLongPositions",n.TOPSHORTEXPOSURES="topShortExposures",n.TOPSHORTPOSITIONS="topShortPositions",n}(Lt||{});let vx=(()=>{class n extends U{loggerName="TopLongShortExposuresComponent";translateService=(0,t.WQX)(u.c$);defaultChart={chartConfig:{chartType:"bar"},chartData:{yAxis:[]}};topLongExposures=(0,t.vPA)(null);topLongExposuresChart=(0,t.vPA)(this.defaultChart);topLongExposuresSectionHeader=(0,t.vPA)(null);topLongPositions=(0,t.vPA)(null);topLongPositionsChart=(0,t.vPA)(this.defaultChart);topLongPositionsSectionHeader=(0,t.vPA)(null);topShortExposures=(0,t.vPA)(null);topShortExposuresChart=(0,t.vPA)(this.defaultChart);topShortExposuresSectionHeader=(0,t.vPA)(null);topShortPositions=(0,t.vPA)(null);topShortPositionsChart=(0,t.vPA)(this.defaultChart);topShortPositionsSectionHeader=(0,t.vPA)(null);topLongExposuresProximals=(0,t.vPA)(null);topLongPositionsProximals=(0,t.vPA)(null);topShortExposuresProximals=(0,t.vPA)(null);topShortPositions
1Proximals=(0,t.vPA)(null);getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchPortfolio:{hasTopExposures:!0}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a=e.portfolio?.topLongExposures,o=e.portfolio?.topLongPositions,i=e.portfolio?.topShortExposures,r=e.portfolio?.topShortPositions;let l=!1;"loaded"===a?.status&&(this.updateComponentData(a,Lt.TOPLONGEXPOSURES),l=!0),"loaded"===o?.status&&(this.updateComponentData(o,Lt.TOPLONGPOSITIONS),l=!0),"loaded"===i?.status&&(this.updateComponentData(i,Lt.TOPSHORTEXPOSURES),l=!0),"loaded"===r?.status&&(this.updateComponentData(r,Lt.TOPSHORTPOSITIONS),l=!0),this.status.set(l?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};updateComponentData(e,a){const o=this.getSectionHeader(e),i=this.getChartData(e);a===Lt.TOPLONGEXPOSURES?(this.topLongExposuresSectionHeader.set(o),this.topLongExposuresChart.set(i),this.topLongExposures.set(e),this.topLongExposuresProximals.set(ht(e))):a===Lt.TOPLONGPOSITIONS?(this.topLongPositionsSectionHeader.set(o),this.topLongPositionsChart.set(i),this.topLongPositions.set(e),this.topLongPositionsProximals.set(ht(e))):a===Lt.TOPSHORTEXPOSURES?(this.topShortExposuresSectionHeader.set(o),this.topShortExposuresChart.set(i),this.topShortExposures.set(e),this.topShortExposuresProximals.set(ht(e))):(this.topShortPositionsSectionHeader.set(o),this.topShortPositionsChart.set(i),this.topShortPositions.set(e),this.topShortPositionsProximals.set(ht(e)))}getChartData(e){return{chartConfig:{chartType:"bar",chartTitle:" ",isColorByPointRequired:!0,colors:W.Ui,tooltip:{useHTML:!0,borderWidth:1,style:{fontSize:"14px"}},hasFullHeight:!0,yAxis:{isLabelEnabled:!0,labelFormat:"{value}%"},xAxis:{isLabelEnabled:!0},lang:{accessibility:{chartContainerLabel:(0,N.A)()}}},chartData:Et(this.config().productId,e,!1)}}getSectionHeader(e){const a=kt(e,this.translateService);return Ct(e,a.length?{tooltipTitle:"",placement:J.Qy.AUTO,tooltipDescription:a}:void 0,bt(e),this.translateService)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-top-long-short-exposures"]],hostAttrs:["data-gtm-component","top-long-short-exposures"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],[1,"top-long-short-exposures","mb-5"],[3,"sectionHeader"],[3,"placement"],[1,"grid","grid-cols-1","gap-4","lg:grid-cols-2"],[1,"order-2","table","md:order-1"],[1,"table"],[1,"hidden"],["rowspan","2"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[1,"order-1","mb-2","md:order-2"],[3,"chartConfig","chartData"],[1,"text-left"],[1,"mr-2","inline-block","h-4","w-4","rounded-l","rounded-r",3,"ngClass"],[1,"text-right"],[1,"order-1","mb-2","md:order-2",3,"chartConfig","chartData"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,W_,5,4,"div",1),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,d.ComponentStatusComponent,_t,K.j,d.TranslatePipe,d.ProximalComponent],encapsulation:2,changeDetection:0})}return n})(),Tx=(()=>{class n extends U{defaultChart={chartConfig:{chartType:"bar"},chartData:{yAxis:[]}};loggerName="TopTenHoldingsComponent";translateService=(0,t.WQX)(u.c$);topTenHoldings=(0,t.vPA)(null);header=(0,t.vPA)(null);colorLength=(0,t.vPA)(0);topTenHoldingsChart=(0,t.vPA)(this.defaultChart);proximals=(0,t.vPA)(null);getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchPortfolio:{hasTopTenHoldings:!0,hasHoldings:!0}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a=e.portfolio?.topTenHoldings;if("loaded"===a?.status){const o=this.getSectionHeader(a);a.allocationHeading||(o.allocationHeading=this.translateService.instant("products.portfolio-top-ten-holdings-heading")),this.header.set(o);const i=this.getChartData(a);this.topTenHoldings.set(a),this.topTenHoldingsChart.set(i),this.colorLength.set(W.Ui.length),this.proximals.set(ht(a)),this.status.set(d.ComponentStatus.LOADED)}else this.status.set(d.ComponentStatus.EMPTY)};getChartData(e){return{chartConfig:{chartType:"bar",chartTitle:" ",tooltip:{borderWidth:1,style:{fontSize:"14px"}},isColorByPointRequired:!0,colors:W.Ui,hasFullHeight:!0,yAxis:{isLabelEnabled:!0,labelFormat:"{value}%"},xAxis:{isLabelEnabled:!0}},chartData:this.getChartOptions(e)}}getChartOptions(e){const a={xAxis:e.data.map(o=>o.label),yAxis:e.data.map(o=>({name:o.breakdown??"",y:o.breakdownStd??0}))};return{name:[],xAxis:a.xAxis,yAxis:[{plots:a.yAxis,tooltip:{headerFormat:"",pointFormatter(){return`\n <strong style='font-size:14px;'>${this.category}</strong>\n <br />\n ${this.name}\n `}}}]}}getSectionHeader(e){const a=kt(e,this.translateService);return Ct(e,a.length?{tooltipTitle:"",placement:J.Qy.AUTO,tooltipDescription:a}:void 0,bt(e),this.translateService)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-top-ten-holdings-holdings"]],hostAttrs:["data-gtm-component","frk-top-ten-holdings"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],[3,"sectionHeader"],[3,"placement"],[1,"grid","grid-cols-1","gap-4","lg:grid-cols-2"],[1,"order-2","md:order-1"],[1,"table"],[1,"hidden"],["rowspan","2"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[1,"order-1","md:order-2"],[3,"chartConfig","chartData"],[1,"text-left"],[1,"flex","items-center"],[1,"mr-2","inline-block","h-4","w-4","rounded-l","rounded-r",3,"ngClass"],[1,"text-right"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,ng,2,2),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,d.ComponentStatusComponent,_t,K.j,d.TranslatePipe,d.ProximalComponent],encapsulation:2,changeDetection:0})}return n})(),Sx=(()=>{class n extends U{unsubscribe$=new x.B;loggerName="TopTenHoldingsMoneyFundComponent";baseFimesKey="";columnDefs=[];holdings={data:[]};dropdownId=`asOfDateSelector${(0,N.A)()}`;overviewSignal=(0,t.vPA)(null);get overview(){return this.overviewSignal.asReadonly()}asOfDateOptionsSignal=(0,t.vPA)([]);get asOfDateOptions(){return this.asOfDateOptionsSignal.asReadonly()}currentAsOfDateDropdownSignal=(0,t.vPA)(void 0);get currentAsOfDateDropdown(){return this.currentAsOfDateDropdownSignal.asReadonly()}excelDownloadService=(0,t.WQX)(u.hR);proximalService=(0,t.WQX)(d.PROXIMAL_SERVICE,{optional:!0});translateService=(0,t.WQX)(u.c$);proximals=(0,t.vPA)(null);selectHoldings=(0,t.vPA)(null);header=(0,t.vPA)(null);colDefs=(0,t.vPA)(null);isCardView=(0,t.vPA)(!1);ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}getSectionHeader(e,a){const o=(0,u.uN)(e,"updateFrequency"),i=this.currentAsOfDateDropdown(),r=this.translateService.tooltip(`products.portfolio-${a}-heading`);return{heading:this.translateService.instant("products.portfolio-top-ten-holdings-money-fund-heading"),asOfDate:i,updateFrequency:o,tooltip:r?{tooltipDescription:r,placement:J.Qy.AUTO,tooltipTitle:""}:void 0}}getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchCommonData:!0,fetchPortfolio:{hasTopTenHoldingsMoneyFunds:!0}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a=e.portfolio?.topTenHoldingsMoneyFunds;if("loaded"===e.commonData?.status&&this.overviewSignal.set(e.commonData),"loaded"===a?.status){this.isCardView.set(this.config().isCardView??!1),this.columnDefs=la(this.translateService),this.baseFimesKey=Ce("top-ten-holding-money-funds",void 0,void 0,void 0);const o=[...new Set(a.data.map(i=>i.asOfDate))];this.holdings=a,this.updateSignals(o[0]),this.asOfDateOptionsSignal.set(o),this.proximals.set(this.createProximals(this.baseFimesKey)),this.status.set(d.ComponentStatus.LOADED)}else this.status.set(d.ComponentStatus.EMPTY)};createProximals(e){return{proximalBottomPlacement:"holdings-proximal-bottom",proximalTopPlacement:"holdings-proximal-top",secondaryProximalTopPlacement:e?`${e}-proximal-top`:null,secondaryProximalBottomPlacement:e?`${e}-proximal-bottom`:null}}updateSignals(e){const a=this.holdings.data.filter(i=>i.asOfDate===e),o=Rn(this.columnDefs,a);this.currentAsOfDateDropdownSignal.set(e),this.colDefs.set(o),this.selectHoldings.set(a),this.header.set(this.getSectionHeader(a,this.baseFimesKey))}onDropdownChange(e){this.updateSignals(e)}triggerDownloadAction(){const e=this.mapDownloadData(),a=this.overview()?.productName??"",o=this.translateService.instant("products.portfolio-allholding-tabname"),i=this.translateService.instant("products.portfolio-allholding-filename");this.proximalService&&kn(e,{translateService:this.translateService,proximalService:this.proximalService,excelDownloadService:this.excelDownloadService,productName:a,asOfDate:this.header()?.asOfDate,tabname:o,fileName:i,unsubscribe$:this.unsubscribe$})}
1mapDownloadData(){const e=this.selectHoldings();let a=[];return e?.forEach(o=>{a.push({securityName:o.securityName,holdingValue:o.holdingValue,maturityDate:o.maturityDate,assetType:o.assetType,countryOfIssue:o.countryOfIssue})}),a=a.sort((o,i)=>Number(i.holdingValue)-Number(o.holdingValue)),a}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-top-ten-holdings-money-fund"]],hostAttrs:["data-gtm-component","top-ten-holdings-money-fund"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],[1,"border-nc1-200","rounded-xl","lg:border","lg:p-8"],[1,"grid"],[3,"placement"],[1,"border-b-nc1-200","mb-4","flex","justify-between","sm:max-md:flex-col","lg:flex-row","lg:items-end","lg:border-b-2"],[1,"m-0","rounded-2xl","text-xl","font-bold"],[3,"placement","tooltipTitle","ariaLabel"],[1,"text-nc1-600","block","pb-4","text-sm"],["placement","holdings-caveat"],[1,"m-4","ml-auto","w-full","md:mt-0","md:w-auto"],[1,"sm:mb-2","sm:h-10","md:h-auto"],["type","button","data-testid","downloadBtn",1,"button","button--primary","p-2","sm:h-[95%]","sm:w-[14.7%]","md:h-[61.32%]","md:w-[99.75%]",3,"click"],[1,"flex-inline","mr-2","flex"],["name","heroArrowDownTray"],[1,"p-1"],[1,"inline-block","text-sm","font-normal",3,"innerHTML"],[1,"mr-2","mt-2",3,"for"],[1,"select","select--light","w-full","md:w-auto"],["data-testid","asOfDate_select",1,"text-nc1-950","w-full","text-base","font-normal","md:w-[7.813rem]",3,"ngModelChange","name","id","ngModel"],[3,"value"],[3,"colDefs","rowData","isCardView","ariaLabelGoToPage","ariaLabelPagination","nextPageText","sortAccessibilityText","prevPageText","showMoreTxt","showLessTxt"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,pg,5,4,"div",1),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,d.ComponentStatusComponent,d.TranslatePipe,d.ProximalComponent,d.DynamicTableComponent,R.zq,R.b6,M.YN,M.xH,M.y7,M.wz,M.BC,M.vS,d.FootnoteComponent],encapsulation:2,changeDetection:0})}return n})(),yx=(()=>{class n extends U{windowRef;logger;loggerName="TrackingBasketComponent";widenService=(0,t.WQX)(u.Dq);trackingBasketSignal=(0,t.vPA)(null);documentConfig=(0,t.hFB)();productId;getTrackingBasket=this.trackingBasketSignal.asReadonly();rowData=[];constructor(e,a){super(a),this.windowRef=e,this.logger=a}getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchShareClass:{pricingDetails:{trackingBasket:!0},fetchIdentifiers:!0}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a=this.documentConfig()?.fundSpecificEtfTracking.filter(o=>o.fundId===this.productId)[0];if(a?.etfTrackingBaskets){if(this.rowData=a.etfTrackingBaskets?.map(o=>{const i=o.linkUrl?.linkCollection[0];let r="";if(this.config().widenProps){const l={widenProxyUrl:this.config().widenProps?.widenProxyUrl??"",widenBaseUrl:this.config().widenProps?.widenBaseUrl??"",widenUrl:this.config().widenProps?.widenUrl??"",widenAsset:i?.widenAssetCompound?.widenDocument??""};i?.widenAssetCompound?.widenDocument&&(r=this.widenService.getWidenAssetUrl(l))}return{filePath:r,basketName:o.basketName,displayText:i?.displayText,isActive:i?.widenAssetCompound?.widenDocument,toolTip:o.toolTip}}),this.trackingBasketSignal.set({title:this.documentConfig()?.title,subTitle:a.subTitle,rowData:this.rowData,asOfDate:"",basketValues:this.rowData.find(o=>o.basketValues)?.basketValues,colDefs:[{field:"basketName",headerName:""},{field:"action",headerName:"",dataType:"number"}]}),"loaded"===e.shareClass?.pricingDetails?.trackingBasket?.status){const o=e.shareClass.pricingDetails.trackingBasket;this.trackingBasketSignal.update(i=>i?{...i,asOfDate:o.effectiveDate,basketValues:o.overlap||this.rowData.find(r=>r.basketValues)?.basketValues}:null),this.rowData.forEach(i=>{i.filePath?this.widenService.getFileStatus$(i.filePath).subscribe({next:r=>{"200"===r&&(i.isActive=!0,this.updateEtfTrackingBaskets())},error:r=>{this.logger.error(this.loggerName,r)}}):i.isActive=!!o.overlap}),this.updateEtfTrackingBaskets()}this.status.set(d.ComponentStatus.LOADED)}else this.status.set(d.ComponentStatus.EMPTY)};updateEtfTrackingBaskets(){this.trackingBasketSignal.update(e=>e?{...e,rowData:this.rowData.filter(a=>!0===a.isActive)}:null)}exportToExcel(e){this.windowRef.open(e,"_blank")}static \u0275fac=function(a){return new(a||n)(t.rXU($e.jf),t.rXU(B.L))};static \u0275cmp=t.VBU({type:n,selectors:[["frk-tracking-basket"]],hostAttrs:["data-gtm-component","tracking-basket"],inputs:{documentConfig:[1,"documentConfig"],productId:"productId"},features:[t.Vt3],decls:2,vars:2,consts:[["customRowTemplate",""],[3,"status"],[1,"border-nc1-200","rounded-lg","rounded-xl","border-solid","sm:p-0","md:p-6","lg:p-8"],[1,"text-nc1-600","mb-4","text-sm","font-normal"],[1,"mb-3"],["placement","PutnamETFTrackingBasketProximal"],["tableTheme","primary",3,"colDefs","rowData","rowTemplate"],[1,"w-[50%]"],[1,"p-1"],[3,"ariaLabel"],[1,"text-right"],[1,"pr-2"],["type","button",1,"button","button--primary","h-[80%]","p-1"],[1,"inline-block","text-sm","font-normal",3,"innerHTML"],["type","button",1,"button","button--primary","h-[80%]","p-1",3,"click"],[1,"flex-inline","mr-2","flex"],["name","heroArrowDownTray"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",1),t.DNE(1,bg,8,7),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,d.ComponentStatusComponent,R.b6,d.TranslatePipe,d.ProximalComponent,d.DynamicTableComponent,R.zq],encapsulation:2,changeDetection:0})}return n})();const tn="All Exchanges";let Rx=(()=>{class n extends U{loggerName="TradingInformationComponent";responsiveService=(0,t.WQX)(B.R);isCardView=(0,H.ot)(this.responsiveService.isHandheld$,{initialValue:!1});exchangesSignal=(0,t.vPA)([]);selectedExchange=(0,t.vPA)(tn);filteredExchanges=(0,t.EWP)(()=>{const e=this.selectedExchange(),a=this.exchangesSignal();return e===tn?a:a.filter(o=>o.exchangeName===e)});translateService=(0,t.WQX)(u.c$);colDefs=(0,t.EWP)(()=>[{field:"exchangeName",headerName:this.translateService.instant("pds.EXCHANGE_NAME"),isCardTitle:!0},{field:"ticker",headerName:this.translateService.instant("pds.SECURITY_TICKER")},{field:"tradeCurrency",headerName:this.translateService.instant("pds.SHARE_CLASS_CURRENCY")},{field:"bloomberg",headerName:this.translateService.instant("pds.BLOOMBERG_IDENTIFIER")},{field:"reuters",headerName:this.translateService.instant("pds.REUTERS_SYMBOL")},{field:"sedol",headerName:this.translateService.instant("pds.SEDOL")}]);rowData=(0,t.EWP)(()=>this.filteredExchanges().map(e=>({exchangeName:e.exchangeName,ticker:e.ticker,tradeCurrency:e.tradeCurrency,bloomberg:e.bloomberg,reuters:e.reuters,sedol:e.sedol})));exchangeOptions=(0,t.EWP)(()=>{const e=this.exchangesSignal().map(o=>o.exchangeName);return[tn,...new Set(e)].map(o=>({value:o,label:o===tn?this.translateService.instant("products.list-all-exchanges"):o}))});getSections=e=>({fetchShareClass:{fetchExchanges:!0}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a=e.shareClass?.exchanges;if("loaded"===a?.status){const o=a.data;o.length>0?(this.exchangesSignal.set(o),this.status.set(d.ComponentStatus.LOADED)):this.status.set(d.ComponentStatus.EMPTY)}else"empty-data"===a?.status&&this.status.set(d.ComponentStatus.EMPTY)};onExchangeChange(e){this.selectedExchange.set(e.target.value)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-trading-information"]],hostAttrs:["data-gtm-component","trading-information"],features:[t.Vt3],decls:3,vars:2,consts:[[1,"bg-nc1-0","border-nc1-200","mb-3","rounded-xl","border","p-6","md:mb-4","lg:mb-8","lg:p-8"],["type","product-card",3,"status"],[1,"pb-4"],[1,"text-nc1-950","mb-2","text-xl","font-bold","lg:text-2xl"],[1,"mt-4","flex","flex-col","md:w-36","lg:w-40"],[1,"select","select--light","select--light-small","mb-3"],["id","exchange-filter",1,"xs:w-full","w-full","sm:w-full",3,"change","value"],[3,"value"],[1,"[&_.table]:before:z-0"],[3,"colDefs","rowData","isCardView","showMoreTxt","showLessTxt"]],template:function(a,o){1&a&&(t.j41(0,"div",0)(1,"frk-component-status",1),t.DNE(2,Dg,13,13),t.k0s()()),2&a&&(t.R
17$(),t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?2:-1))},dependencies:[C.MD,d.ComponentStatusComponent,d.DynamicTableComponent,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})();const kx=(n,s)=>{const e=(0,u.wR)(n.label||"")??-1/0;return((0,u.wR)(s.label||"")??-1/0)-e};let Ex=(()=>{class n extends U{translateService=(0,t.WQX)(u.c$);loggerName="VintageYearComponent";chartColors=W.D$;vintageYearSignal=(0,t.vPA)(null);get vintageYear(){return this.vintageYearSignal.asReadonly()}getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchPortfolio:{hasYearAllocation:!0}});processData=e=>{let a=null,o=this.initializeVintageYearData();e.portfolio&&"loaded"===e.portfolio.yearAllocation?.status&&(e.portfolio.yearAllocation.data.sort(kx),o=this.handleLoadedYearAllocation(e.portfolio.yearAllocation,o),a=o),this.statusOfComponent(e.portfolio?.yearAllocation?.status,a)};initializeVintageYearData(){return{...this.config(),tooltipPlacement:J.Qy.AUTO,chartConfig:{chartType:"bar",tooltip:{borderWidth:1,style:{fontSize:"14px"}},isColorByPointRequired:!0,colors:W.Ui,useCustomTitle:!0,hasFullHeight:!0,yAxis:{isLabelEnabled:!0,labelFormat:"{value}%"},xAxis:{isLabelEnabled:!0}},sectionHeader:null}}handleLoadedYearAllocation(e,a){const o=kt(e,this.translateService);return(a={...a,portfolioAllocation:e,chartData:Et(this.config().productId,e,!1,this.translateService),proximals:ht(e),sectionHeader:Ct(e,o.length?{tooltipTitle:"",placement:J.Qy.AUTO,tooltipDescription:o}:void 0,bt(e),this.translateService)}).chartConfig.colors&&(this.chartColors=a.chartConfig.colors),a}statusOfComponent(e,a){"empty-data"===e?(this.vintageYearSignal.set(null),this.status.set(d.ComponentStatus.EMPTY)):(this.vintageYearSignal.set(a),this.status.set(d.ComponentStatus.LOADED))}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-vintage-year"]],hostAttrs:["data-gtm-component","product-vintage-year"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],[3,"sectionHeader"],[3,"placement"],[1,"grid","grid-cols-1","gap-4","lg:grid-cols-2"],[1,"order-2","md:order-1"],[1,"table"],[1,"hidden"],["rowspan","2"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[1,"order-1","mb-2","md:order-2"],[3,"chartConfig","chartData"],[1,"text-left"],[1,"flex","items-center"],[1,"mr-2","inline-block","h-4","w-4","rounded-l","rounded-r",3,"ngClass"],[1,"text-right"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,Eg,2,2),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,d.ComponentStatusComponent,K.j,_t,d.TranslatePipe,d.ProximalComponent],encapsulation:2,changeDetection:0})}return n})(),$x=(()=>{class n extends U{loggerName="NavHighLowComponent";translateService=(0,t.WQX)(u.c$);sectionHeaderSignal=(0,t.vPA)(null);get sectionHeader(){return this.sectionHeaderSignal.asReadonly()}colDefsSignal=(0,t.vPA)([]);get colDefs(){return this.colDefsSignal.asReadonly()}rowDataSignal=(0,t.vPA)([]);get rowData(){return this.rowDataSignal.asReadonly()}cardColDefsSignal=(0,t.vPA)([]);get cardColDefs(){return this.cardColDefsSignal.asReadonly()}cardRowDataSignal=(0,t.vPA)([]);get cardRowData(){return this.cardRowDataSignal.asReadonly()}getSections=()=>({fetchShareClass:{pricingDetails:{highNav:!0,lowNav:!0,highDate:!0,lowDate:!0,coreNav:!0}}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a=this.extractLoadedSections(e);if("empty"===a)return void this.status.set(d.ComponentStatus.EMPTY);if(!a)return;const{coreNav:o,highNav:i,lowNav:r,highDate:l,lowDate:c}=a,p=this.resolveCurrentYear(o),_=this.buildYearColumns(p,o,i,r,l,c);_.length?(this.colDefsSignal.set(this.buildColDefs(_)),this.rowDataSignal.set(this.buildRowData(_)),this.cardColDefsSignal.set(this.buildCardColDefs()),this.cardRowDataSignal.set(this.buildCardRowData(_)),this.sectionHeaderSignal.set(this.buildSectionHeader(o)),this.status.set(d.ComponentStatus.LOADED)):this.status.set(d.ComponentStatus.EMPTY)};extractLoadedSections(e){const a=e.shareClass?.pricingDetails??{},o=this.loadedOrUndefined(a.highNav),i=this.loadedOrUndefined(a.lowNav);return this.isEmptyData(a.highNav)||this.isEmptyData(a.lowNav)?"empty":o&&i?{highNav:o,lowNav:i,coreNav:this.loadedOrUndefined(a.coreNav),highDate:this.loadedOrUndefined(a.highDate),lowDate:this.loadedOrUndefined(a.lowDate)}:null}isEmptyData(e){return"empty-data"===e?.status}loadedOrUndefined(e){if("loaded"===e?.status)return e}resolveCurrentYear(e){const a=e?.navAsOfDateStd?new Date(e.navAsOfDateStd).getFullYear():Number.NaN;return Number.isFinite(a)?a:(new Date).getFullYear()}buildYearColumns(e,a,o,i,r,l){const c=[];c.push({year:e,high:{value:this.toDisplayValue(a?.highestNavValueAsYearToDate),date:this.toDisplayValue(a?.highestNavValueDateAsYearToDate)},low:{value:this.toDisplayValue(a?.lowestNavValueAsYearToDate),date:this.toDisplayValue(a?.lowestNavValueDateAsYearToDate)}});for(let p=1;p<=9;p++){const _={value:this.toDisplayValue(this.readYearBack(o,p,"high")),date:this.toDisplayValue(r?this.readYearBack(r,p,"highDate"):void 0)},E={value:this.toDisplayValue(this.readYearBack(i,p,"low")),date:this.toDisplayValue(l?this.readYearBack(l,p,"lowDate"):void 0)};c.push({year:e-p,high:_,low:E})}return this.trimEmptyTrailingColumns(c)}readYearBack(e,a,o){const l=e[{high:`highestNavValue${a}YearBack`,low:`lowestNavValue${a}YearBack`,highDate:`highestNavValueDate${a}YearBack`,lowDate:`lowestNavValueDate${a}YearBack`}[o]];return"string"==typeof l?l:void 0}trimEmptyTrailingColumns(e){let a=0;return e.forEach((o,i)=>{(o.high.value!==u.BX||o.low.value!==u.BX)&&(a=i)}),e.slice(0,a+1)}buildColDefs(e){const o=[{field:"label",headerName:this.translateService.instant("products.year"),isCardTitle:!0}];return e.forEach((i,r)=>
1{o.push({field:`col${r}`,headerName:`${i.year}`,isAlignRight:!0})}),o}buildRowData(e){return[{label:this.translateService.instant("products.HIGH_NAV_VALUE_YTD"),cells:e.map(a=>a.high)},{label:this.translateService.instant("products.LOW_NAV_VALUE_YTD"),cells:e.map(a=>a.low)}]}buildCardColDefs(){return[{field:"year",headerName:this.translateService.instant("products.year"),isCardTitle:!0},{field:"highest",headerName:this.translateService.instant("products.HIGH_NAV_VALUE_YTD"),isAlignRight:!0},{field:"lowest",headerName:this.translateService.instant("products.LOW_NAV_VALUE_YTD"),isAlignRight:!0}]}buildCardRowData(e){return e.map(a=>({year:`${a.year}`,highest:this.formatCellHtml(a.high),lowest:this.formatCellHtml(a.low)}))}formatCellHtml(e){const a=e.value;return e.date?`<div>${a}</div><small class="text-nc1-600 block text-sm">${this.translateService.instant("products.as-on")} ${e.date}</small>`:a}buildSectionHeader(e){return{allocationHeading:this.translateService.instant("products.price-highest-lowest-nav"),asOfDate:e?.navDate??null,calculationBasis:null,calculationType:null,updateFrequency:"daily",tooltip:void 0,caveat:void 0,componentId:this.config().componentId}}toDisplayValue(e){if(null==e)return u.BX;const a=e.trim();return a&&a!==u.BX?a:u.BX}tooltipPlacement=J.Qy.AUTO;static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-nav-high-low"]],hostAttrs:["data-gtm-component","product-nav-high-low"],features:[t.Vt3],decls:4,vars:2,consts:[["navHighLowRowTemplate",""],[3,"status"],[1,"mb-4","pb-2"],[3,"sectionHeader"],[3,"colDefs","rowData","isCardView","showMoreTxt","showLessTxt"],[3,"colDefs","rowData","rowTemplate"],[1,"border-b-nc1-100","border-b"],[1,"py-3","text-left","align-top","font-semibold"],[1,"py-3","pl-2","text-right","align-top"],[1,"text-nc1-600","block","text-sm"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",1),t.DNE(1,Ag,4,2),t.k0s(),t.DNE(2,Ig,5,1,"ng-template",null,0,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM(o.status()===o.ComponentStatus.LOADED?1:-1))},dependencies:[C.MD,d.ComponentStatusComponent,d.DynamicTableComponent,_t,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})(),Ax=(()=>{class n extends U{loggerName="PopSalesChargeComponent";isCardView=!1;popSalesChargeSignal=(0,t.vPA)(null);getSections=()=>({fetchShareClass:{fetchSalesChargeBreakPoint:!0}});get popSalesCharge(){return this.popSalesChargeSignal.asReadonly()}processData=e=>{if(this.isCardView=!0===this.config().isCardView,this.logger.debug(this.loggerName,"processData()",e),"loaded"===e.shareClass?.saleschargebreakpoints?.status){let a=e.shareClass.saleschargebreakpoints.popSalesChargeBreakPoint;if(a.length){a=a.sort((i,r)=>Number(i.breakPointTypeKey)-Number(r.breakPointTypeKey));const o=a.map(i=>({...i,isClosed:!0}));this.popSalesChargeSignal.set(o),this.status.set(d.ComponentStatus.LOADED)}else this.popSalesChargeSignal.set(null),this.status.set(d.ComponentStatus.EMPTY)}else this.popSalesChargeSignal.set(null),this.status.set(d.ComponentStatus.EMPTY)};toggleCard(e){e.isClosed=!e.isClosed}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-pop-sales-charge"]],hostAttrs:["data-gtm-component","product-pop-sales-charge"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],[1,"pop-sales-charge","mb-5"],[1,"mb-4"],[1,"text-xl","font-bold","lg:text-2xl"],[1,"table"],[1,"pop-cards"],["placement","PopSalesChargeBottom"],[1,"sr-only"],["scope","col",1,"text-left"],["scope","col",1,"text-right"],[1,"text-left","align-top"],[1,"text-right","align-top"],[1,"border-nc1-200","mb-3","rounded-xl","border"],[1,"flex","justify-between","rounded-t-xl","p-2",3,"id"],[1,"flex","items-center","font-bold"],[1,"m-0","block",3,"id"],["type","button",1,"text-nc1-0","flex","w-full","items-center","justify-between","rounded-b-xl","px-4","py-2","text-left","text-sm",3,"click"],[1,"col-div-1","border-nc1-200","p-4"],[1,"flex","items-center","text-base","font-bold"],[1,"col-div-1","border-nc1-200","p-4","font-normal"],[1,"gap-1","text-base","md:flex","md:items-center"],[1,"font-bold"],["name","heroChevronUp","aria-hidden","true",3,"size"],["name","heroChevronDown","aria-hidden","true",3,"size"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,Bg,8,5),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,d.ComponentStatusComponent,d.ProximalComponent,d.TranslatePipe,R.zq],encapsulation:2,changeDetection:0})}return n})(),Mx=(()=>{class n{loggerName="PremiumDiscountAnalysisTableAndChartComponent";premiumDataAnalysisData=t.hFB.required();chartColors=W.Ui;defaultChart={chartConfig:{chartType:"bar"},chartData:{yAxis:[]}};premiumDiscountAnalysis=(0,t.vPA)(null);premiumDiscountAnalysisChart=(0,t.vPA)(this.defaultChart);ngOnChanges(){this.setAnalysisData(this.premiumDataAnalysisData())}ngOnInit(){this.setAnalysisData(this.premiumDataAnalysisData())}setAnalysisData(e){this.setPremiumDiscountAnalysisData(e),this.premiumDiscountAnalysis()&&this.updateComponentData(this.premiumDiscountAnalysis()),null!==this.premiumDiscountAnalysis()&&this.updateComponentData(this.premiumDiscountAnalysis())}setPremiumDiscountAnalysisData(e){const a=[];e.forEach(o=>{a.push({label:o.marketValueRangeDesc,breakdownStd:o.noOfDaysStd,breakdown:o.noOfDays})}),this.premiumDiscountAnalysis.set(a)}updateComponentData(e){const a=e&&this.getChartData(e);a&&this.premiumDiscountAnalysisChart.set(a)}getChartData(e){return{chartConfig:{chartType:"bar",chartTitle:" ",isColorByPointRequired:!0,colors:W.Ui,tooltip:{useHTML:!0,borderWidth:1,style:{fontSize:"14px"}},hasFullHeight:!0,yAxis:{isLabelEnabled:!0,labelFormat:"{value}",title:"Days"},xAxis:{isLabelEnabled:!0},lang:{accessibility:{chartContainerLabel:(0,N.A)()}}},chartData:this.getPremiumDiscountAnalysisChartOptions(e)}}getPremiumDiscountAnalysisChartOptions(e){const a={xAxis:e.map(o=>o.label),yAxis:e.map(o=>({name:o.breakdown,y:o.breakdownStd??0}))};return{name:[],xAxis:a.xAxis,yAxis:[{plots:a.yAxis,tooltip:{headerFormat:"",pointFormatter(){return`\n <strong style='font-size:14px;'>${this.category}</strong>\n <br />\n ${this.name}\n `}}}]}}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=t.VBU({type:n,selectors:[["frk-premium-discount-analysis-table-and-chart"]],hostAttrs:["data-gtm-component","premium-discount-analysis-table-and-chart"],inputs:{premiumDataAnalysisData:[1,"premiumDataAnalysisData"]},features:[t.OA$],decls:2,vars:1,consts:[[1,"premium-discount-analysis-table-and-chart"],[1,"xs:grid-cols-1","grid","gap-2","sm:grid-cols-1","md:grid-cols-2"],[1,"order-2","mb-auto","table","md:order-1"],[1,"hidden"],["rowspan","2"],["scope","col",1,"text-left","text-xs"],["scope","col",1,"text-right","text-xs"],[1,"order-1","mb-2","md:order-2",3,"chartConfig","chartData"],[1,"text-left","text-base"],[1,"mr-2","inline-block","h-4","w-4","rounded-l","rounded-r",3,"ngClass"],[1,"text-right","text-base"]],template:function(a,o){1&a&&(t.j41(0,"div",0),t.DNE(1,Xg,17,11,"div",1),t.k0s()),2&a&&(t.R
17$(),t.vxM(o.premiumDiscountAnalysis()?1:-1))},dependencies:[C.MD,C.YU,K.j,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})();b.extend(_n);let Px=(()=>{class n extends U{translateService=(0,t.WQX)(u.c$);yearOptionsSignal=(0,t.vPA)(null);get yearOptions(){return this.yearOptionsSignal.asReadonly()}asOfDate=(0,t.vPA)(null);dropdownId=`premiumDiscountDropDown${(0,N.A)()}`;currentYearSignal=(0,t.vPA)(null);get currentYear(){return this.currentYearSignal.asReadonly()}premiumDiscountData=(0,t.vPA)(null);loggerName="PremiumDiscountComponent";premiumDataAnalysisData=(0,t.vPA)([]);itemsSignal=(0,t.vPA)([]);get items(){return this.itemsSignal.asReadonly()}leftContainerItems=(0,t.EWP)(()=>this.items().slice(0,3));rightContainerItems=(0,t.EWP)(()=>this.items().slice(3));getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchShareClass:{fetchPremiumDiscount:!0}});processData=e=>{const a=e.shareClass?.premiumDiscount;if("loaded"===a?.status){this.premiumDiscountData.set(a.quarters);const o=this.premiumDiscountData()?.map(r=>({label:r.isFullYear?"Calender Year "+r.label:r.label,value:r.value}))??[],i=o[0];this.yearOptionsSignal.set(o),this.currentYearSignal.set(i?.value),this.setInfoCardDetails(i?.value),this.setPremiumDataAnalysisTableAndChartDetails(i?.value),this.status.set(d.ComponentStatus.LOADED)}else this.status.set(d.ComponentStatus.EMPTY)};setInfoCardDetails(e){const a=this.premiumDiscountData()?.find(i=>i.value===e),o=this.createDataItem(a?.data);this.asOfDate.set((0,u.uN)(a?.data,"asOfDate")??u.BX),this.itemsSignal.set(o)}setPremiumDataAnalysisTableAndChartDetails(e){const o=this.premiumDiscountData()?.find(i=>i.value===e)?.data;this.premiumDataAnalysisData.set(o)}onPeriodDateChange(e){this.currentYearSignal.set(+e),this.setInfoCardDetails(+e),this.setPremiumDataAnalysisTableAndChartDetails(+e)}createDataItem(e){return[{label:this.translateService.instant("products.total-days-in-period"),val:(0,u.uN)(e,"totalDaysInPeriod")??u.BX,caveatPlacement:"TotalDaysInPeriodPriceDistribution"},{label:this.translateService.instant("products.days-at-nav"),val:(0,u.uN)(e,"daysAtnav")??u.BX,caveatPlacement:"DaysAtNAVPriceDistribution",tooltip:this.translateService.tooltip("products.days-at-nav")},{label:this.translateService.instant("products.days-at-premium"),val:(0,u.uN)(e,"daysAtPremium")??u.BX,caveatPlacement:"DaysAtPremiumPriceDistribution",tooltip:this.translateService.tooltip("products.days-at-premium")},{label:this.translateService.instant("products.days-at-discount"),val:(0,u.uN)(e,"daysAtDiscount")??u.BX,caveatPlacement:"DaysAtDiscountPriceDistribution",tooltip:this.translateService.tooltip("products.days-at-discount")},this.getGreatestPremiumDataItem(e),this.getGreatestDiscountDataItem(e)]}getGreatestPremiumDataItem(e){return{label:this.translateService.instant("products.greatest-premium"),val:(0,u.uN)(e,"greatestPremiumLocal")??u.BX,labelSmallText:`${this.translateService.instant("products.on")} ${(0,u.uN)(e,"greatestPremiumDateLocal")}`,caveatPlacement:"GreatestPremiumPriceDistribution",tooltip:this.translateService.tooltip("products.greatest-premium")}}getGreatestDiscountDataItem(e){return{label:this.translateService.instant("products.greatest-discount"),val:(0,u.uN)(e,"greatestDiscountLocal")??u.BX,caveatPlacement:"GreatestDiscountPriceDistribution",tooltip:this.translateService.tooltip("products.greatest-discount"),labelSmallText:`${this.translateService.instant("products.on")} ${(0,u.uN)(e,"greatestDiscountDateLocal")}`}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-premium-discount"]],hostAttrs:["data-gtm-component","premium-discount"],features:[t.Vt3],decls:4,vars:2,consts:[["dataListItem",""],[3,"status"],[1,"border-b-nc1-200","mb-8"],[1,"text-xl","font-bold","lg:text-2xl"],["placement","PremiumDiscountHeader",3,"componentId"],[1,"text-base"],[1,"mt-4"],["placement","PremiumDiscountAnalysisProximalTop"],[1,"mb-2"],[3,"for"],[1,"select","select--light","select--light-small","mb-8"],["data-testid","quarter_select",1,"xs:w-full","w-full","sm:w-full",3,"ngModelChange","name","id","ngModel"],[3,"value"],[1,"border-nc1-200","grow","rounded-xl","border","p-8"],[1,"flex","flex-col"],[1,"border-b-nc1-200","mb-8","border-b-2"],[1,"flex","justify-between","gap-x-4","sm:flex-col","md:flex-row"],[1,"flex","flex-col","sm:w-full","md:w-1/2"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"grow","pb-8","pt-8"],[3,"premiumDataAnalysisData"],["placement","PremiumDiscountAnalysisProximalBottom"],[1,"mb-4","flex","justify-between"],[1,"flex","font-normal"],[1,"text-right"],[3,"placement","componentId"],[3,"ariaLabel"],[1,"inline-block","text-sm","font-normal",3,"innerHTML"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",1),t.DNE(1,Zg,1,1),t.k0s(),t.DNE(2,tC,8,4,"ng-template",null,0,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.T3,d.ComponentStatusComponent,d.TranslatePipe,R.b6,M.YN,M.xH,M.y7,M.wz,M.BC,M.vS,Mx,d.ProximalComponent,d.FootnoteComponent],encapsulation:2,changeDetection:0})}return n})();const En=[{isActive:!0,value:X.Zl.ONE_MONTH,key:"products.price-toggle-1-month"},{isActive:!1,value:X.Zl.THREE_MONTHS,key:"products.price-toggle-3-month"},{isActive:!1,value:X.Zl.SIX_MONTHS,key:"products.price-toggle-6-month"},{isActive:!1,value:X.Zl.YTD,key:"products.price-toggle-ytd"},{isActive:!1,value:X.Zl.ONE_YEAR,key:"products.price-toggle-1-year"},{isActive:!1,key:"products.price-toggle-3-years",value:X.Zl.THREE_YEARS},{isActive:!1,key:"products.price-toggle-5-years",value:X.Zl.FIVE_YEARS},{isActive:!1,key:"products.price-toggle-10-years",value:X.Zl.TEN_YEARS},{isActive:!1,key:"products.price-toggle-since-inception",value:X.Zl.SINCE_INCEPTION},{isActive:!1,key:"products.price-toggle-daily",value:X.Zl.DAILY},{isActive:!1,key:"custom-range",value:X.Zl.CUSTOM_RANGE}];var xe=function(n){return n[n.DAILY=0]="DAILY",n[n.WEEKLY=1]="WEEKLY",n}(xe||{});function ae(n,s,e){return b(n).isBefore(b().subtract(s,e))}function Fn(n,s){const e={[X.Zl.ONE_MONTH]:()=>!0,[X.Zl.THREE_MONTHS]:()=>ae(s,3,"month"),[X.Zl.SIX_MONTHS]:()=>ae(s,6,"month"),[X.Zl.ONE_YEAR]:()=>
1ae(s,1,"year"),[X.Zl.THREE_YEARS]:()=>ae(s,3,"year"),[X.Zl.FIVE_YEARS]:()=>ae(s,5,"year"),[X.Zl.TEN_YEARS]:()=>ae(s,10,"year"),[X.Zl.DAILY]:()=>!0,[X.Zl.SINCE_INCEPTION]:()=>!0,[X.Zl.YTD]:()=>!0};if(!e[n])throw new Error(`Invalid Range: ${n}`);return e[n]()}function pa(n){return n?u.Iq.get(n):""}function $n(n,s,e,a){return{chartType:"line",chartTitle:"",chartSubTitle:"",xAxis:{type:"datetime",gridLineDashStyle:"LongDash",tickPixelInterval:a?150:110,isLabelEnabled:!0,dateTimeLabelFormats:{millisecond:"%[hml]",second:"%[hms]",minute:"%[hm]",hour:"%[hm]",day:a?"%m/%d/%Y":"%[eb]",week:"%[eb]",month:a?"%m/%d/%Y":"%[by]",year:"%Y"},labels:{formatter:function(){return this.axis.defaultLabelFormatter.call(this).replaceAll(".","")}}},yAxis:{gridLineDashStyle:"LongDash",labelFormat:"PREMIUM_DISCOUNT"===s?"{value}%":e+"{value}",minorTickInterval:"auto"},legend:{enabled:!0,verticalAlign:"bottom",useHTML:!0,layout:"horizontal",align:"center",labelFormatter(){return`<span role="button" aria-pressed="true" aria-label="${n.instant("products.toggle")} ${this.name} ${n.instant("products.visibility")}">${this.name}</span>`},events:{itemClick:function(o){this.chart.series.length>1||o.preventDefault()}}},tooltip:{shared:!1,useHTML:!0,xDateFormat:"%[Ymd]",borderWidth:1},plotOptions:{series:{marker:{enabled:!1}},line:{marker:{enabled:!1}}},responsive:{rules:[{condition:{maxWidth:500},chartOptions:{chart:{spacingLeft:0,spacingRight:0,marginRight:0},legend:{layout:"horizontal",align:"center",verticalAlign:"bottom"},yAxis:{gridLineDashStyle:"LongDash",minorTickInterval:"auto",title:{text:n.instant("products.performance-value")}}}}]}}}function wx(n,s,e){(e||0===e)&&!isNaN(e)&&n.push([s,e])}function Nx(n,s){switch(n){case"NAV":return parseFloat(s?.navStd?.toString()??"");case"MARKET_PRICE":return parseFloat(s?.marketPriceValueStd?.toString()??"");case"PREMIUM_DISCOUNT":return parseFloat(s?.discountOrPremiumAtLastCloseStd?.toString()??"");case"FUND_CUMULATIVE_10K":return parseFloat(s?.fundCumulativeSinceInception10kRet??"");case"BM_CUMULATIVE_10K":return parseFloat(s?.bmCumulativeSinceInception10kRet??"");default:return null}}function ma(n){if(!function Gx(n){return!!n&&"-"!==n&&/^(\d{4})-(\d{2})-(\d{2})/.test(n)}(n))return 0;const{year:s,month:e,day:a}=function Ox(n){const s={year:0,month:0,day:0},e=n.match(/^(\d{4})-(\d{2})-(\d{2})/);return e?.length&&(s.year=parseInt(e[1]??""),s.month=parseInt(e[2]??"")-1,s.day=parseInt(e[3]??"")),s}(n);return s?Date.UTC(s,e,a,0,0).valueOf():0}function Yx(n){let s=ma(n);s+=1e3;const e=n.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})/);if(e?.[1]&&e[2]&&e[3]){const a=parseInt(e[1]),o=parseInt(e[2])-1,i=parseInt(e[3]);return Date.UTC(a,o,i,0,0).valueOf()}return s}function An(n,s,e,a){const o=[];let i;if(i=n,i.length)for(let l=i.length-1;l>=0;l--){let c=i[l],p=ma(c?.asOfDateStd||""),_=0;if(p+=1e3,e===d.ComponentType.LA)switch(a){case xe.DAILY:_=parseFloat(c.amrDailyLiquidAssetRatio);break;case xe.WEEKLY:_=parseFloat(c.amrWeeklyLiquidAssetRatio)}else _=parseFloat(c.shadowNav?c.shadowNav.replace(s,""):"");isNaN(_)||o.push([p,_])}return o}function De(n,s){const e=[];if(n?.length)for(let o=n.length-1;o>=0;o--){const i=n[o];wx(e,Yx(i?.asOfDateStd??""),Nx(s,i))}return e}function ha(n,s,e,a){const{excelDownloadService:o,proximalService:i,destroyRef:r,logger:l,loggerName:c}=a,p=function Vx(n,s,e){const{filteredData:a,productName:o="",shareClassName:i="",performanceInceptionDate:r="",navValue:l="",navDate:c="",downloadSettings:p,extraChecks:_}=s;let E=[];p&&_&&(E=Object.keys(n[0]??{}).map(At=>e.instant(function jx(n,s,e){const a=new Map;return a.set("asOfDate","products.date"),a.set("nav","pds.NAV_VALUE"),a.set("navChangeValue","pds.DAILY_NAV_CHANGE"),a.set("navChangePercent","pds.DAILY_NAV_CHANGE_PERCENTAGE"),n?.showApplicationPrice&&a.set("applicationPrice","pds.APPLICATION_PRICE"),n?.showRedemptionPrice&&a.set("redemptionPrice","pds.REDEMPTION_PRICE"),n?.showPop&&a.set("applicationPrice","products.POP_VALUE"),(n?.showMasterFundNav||s?.hasMasterFundNav||e?.hasMasterFundNav)&&a.set("masterFundNav","products.Master-Fund-Level-Market-Nav"),(n?.showDailyLiquidAssetRatio||s?.hasDailyLiquidAssetRatio||e?.hasDailyLiquidAssetRatio)&&a.set("dailyLiquidAssetRatio","products.Liquid-Asset-Daily_PERCENTAGE"),(n?.showWeeklyLiquidAssetRatio||s?.hasWeeklyLiquidAssetRatio||e?.hasWeeklyLiquidAssetRatio)&&a.set("weeklyLiquidAssetRatio","products.Liquid-Asset-Wee
1kly_PERCENTAGE"),(n?.showNetShareHolderFlow||s?.hasNetShareHolderFlow||e?.hasNetShareHolderFlow)&&a.set("netShareHolderFlow","products.Shareholder-Net-Flow"),e?.hasMasterNetShareHolderFlow&&a.set("masterNetShareHolderFlow","products.Master-Shareholder-Net-Flow"),n?.showMarketPriceData&&(a.set("marketPriceValue","pds.MARKET_VALUE"),a.set("marketChangeValue","products.Market-Price-Change"),a.set("marketChangePercent","products.Market-Price-Change_PERCENTAGE"),a.set("discountOrPremiumAtLastClose","products.Avg-of-Market-Price-vs-NAV-at-Close")),n?.showBidOrAskSpread&&a.set("bidOrAskSpread","products.Bid-Ask-Spread"),n?.showDiscountOrPremiumInception&&a.set("discountOrPremiumInception","products.Avg-of-Market-Price-vs-NAV-since-Inception"),n?.showBdrIndexMetrics&&(a.set("indexLevel","products.index-level"),a.set("indexChangePercent","products.Index-Change_PERCENTAGE"),a.set("totalNetAssets","products.total-net-assets")),a}(p,_).get(At)??"")));const y=[E];n.forEach(At=>{y.push(Object.values(At))});const L=[[o]],Z=[[e.instant("pds.SHARE_CLASS_NAME_STD"),i],[e.instant("products.inception-date"),r],[`${e.instant("pds.NAV_VALUE")} ${e.instant("products.as-of")}${c}`,l]],pt=a[a.length-1]?.asOfDate??"",$t=a[0]?.asOfDate??"",Pt=function Lx(n,s){return n.reduce((e,a)=>void 0===e||s(a)>s(e)?a:e,void 0)}(a,At=>Number(At.navStd)),gt=function Bx(n,s){return n.reduce((e,a)=>void 0===e||s(a)<s(e)?a:e,void 0)}(a,At=>Number(At.navStd)),Ht=[[`${e.instant("products.price-historical-pricing-results")}:${e.instant("products.calendar-from")}${pt}${e.instant("products.calendar-to")}${$t}`]];return Pt&&Ht.push([`${e.instant("pds.HIGH_NAV_VALUE_YTD")} ${e.instant("products.price-excel-within-selected-range")}: ${Pt.nav} ${e.instant("products.price-history-on")}${Pt.asOfDate}`]),gt&&Ht.push([`${e.instant("pds.LOW_NAV_VALUE_YTD")} ${e.instant("products.price-excel-within-selected-range")}: ${gt.nav} ${e.instant("products.price-history-on")}${gt.asOfDate}`]),{mappedBody:y,productName:L,shareClassSection:Z,pricingSection:Ht}}(n,s,e);i&&(0,at.z)([i.getProximals$("HistoricalPriceDataExcelBottom"),i.getProximals$("HistoricalPriceDataExcelTop")]).pipe((0,dt.s)(1),(0,H.pQ)(r)).subscribe({next:_=>{const[E,y]=_,L=[p.shareClassSection,p.pricingSection];o.exportToExcel(p.mappedBody,y,E,p.productName,e.instant("products.price-history-report-tabname"),e.instant("products.price-history-report-filename"),{otherSections:L})},error:_=>{l.error(c,"Error exporting Excel:",_)}})}b.extend(ue),b.extend(Wt);let Xx=(()=>{class n extends U{loggerName="PremiumDiscountHistoryComponent";translateService=(0,t.WQX)(u.c$);calendarService=(0,t.WQX)(It.I);selectedDropDownOption=X.Zl.ONE_MONTH;toggleChartRangeSignal=(0,t.vPA)(null);get toggleChartRange(){return this.toggleChartRangeSignal.asReadonly()}historicalData=[];overviewSignal=(0,t.vPA)(void 0);get overview(){return this.overviewSignal.asReadonly()}maxDateSignal=(0,t.vPA)(void 0);get maxDate(){return this.maxDateSignal.asReadonly()}minDateSignal=(0,t.vPA)(void 0);get minDate(){return this.minDateSignal.asReadonly()}shareClassDetailSignal=(0,t.vPA)(void 0);get shareClassDetail(){return this.shareClassDetailSignal.asReadonly()}coreNavSignal=(0,t.vPA)(void 0);get coreNav(){return this.coreNavSignal.asReadonly()}errorMsgObjSignal=(0,t.EWP)(()=>this.calendarService.getDatePickerErrorMsg(this.translateService));get errorMsgObj(){return this.errorMsgObjSignal}fromDateStd=void 0;toDateStd=void 0;dropdownId=`premiumDiscountHistoryDropDown${(0,N.A)()}`;fromDateId=`premiumDiscountHistoryFromDate${(0,N.A)()}`;toDateId=`premiumDiscountHistoryToDate${(0,N.A)()}`;downloadId=`premiumDiscountHistoryDownload${(0,N.A)()}`;dropdownRangeSignal=(0,t.EWP)(()=>En.filter(e=>e.value!==X.Zl.CUSTOM_RANGE&&Fn(e.value,this.shareClassDetailSignal()?.performanceInceptionDateStd??"")).map(e=>(e.text=this.translateService.instant(e.key),e)));get dropdownRange(){return this.dropdownRangeSignal}setDropdownDateRange(){this.toggleChartRangeSignal.set({selectedToggleRange:this.selectedDropDownOption}),this.filterPricingHistory(this.toggleChartRange())}setCustomDateRange(e,a){this.logger.debug(this.loggerName,"date:::::::"+a);const o=b(a).format(u.D_);this.toggleChartRangeSignal.set("fromDate"===e?{selectedToggleRange:X.Zl.CUSTOM_RANGE,fromDate:o,toDate:this.toDateStd}:{selectedToggleRange:X.Zl.CUSTOM_RANGE,fromDate:this.fromDateStd,toDate:o}),this.filterPricingHistory(this.toggleChartRange())}get chartConfig(){return this.chartConfigSignal.asReadonly()}chartConfigSignal=(0,t.vPA)(void 0);chartDataSignal=(0,t.vPA)(void 0);get chartData(){return this.chartDataSignal.asReadonly()}getSections=()=>({fetchCommonData:!0,fetchShareClass:{fetchShareClassDetail:!0,pricingDetails:{history:!0,coreNav:!0}}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e),"loaded"===e.commonData?.status&&this.overviewSignal.set(e.commonData),"loaded"===e.shareClass?.detail?.status&&this.shareClassDetailSignal.set(e.shareClass.detail),this.addPricingData(e)};addPricingData(e){const a=e.shareClass?.pricingDetails;"loaded"===a?.coreNav?.status&&this.coreNavSignal.set(a.coreNav);const o=a?.history;switch(o?.status){case"loaded":{const i=o.data;this.minDateSignal.set(i[i.length-1]?.asOfDateStd),this.maxDateSignal.set(i[0]?.asOfDateStd),this.historicalData=i,this.fromDateStd=this.minDate(
1),this.toDateStd=this.maxDate(),this.setDropdownDateRange(),this.status.set(d.ComponentStatus.LOADED);break}case"empty-data":this.status.set(d.ComponentStatus.EMPTY)}}filterPricingHistory(e){const{fromDateStd:a,toDateStd:o}=this.calendarService.getDateRange(e.selectedToggleRange,this.minDate(),this.maxDate(),e.fromDate,e.toDate);this.fromDateStd=a,this.toDateStd=o,this.processfilteredHistoryData(this.historicalData.filter(i=>b(i.asOfDateStd,u.D_).isBetween(a,o,null,"[]")))}processfilteredHistoryData=e=>{this.logger.debug(this.loggerName,"processfilteredHistoryData()",e);const a=this.fetchPremiumDiscountSeries(e);this.chartConfigSignal.set($n(this.translateService,"PREMIUM_DISCOUNT")),this.chartDataSignal.set(a)};fetchPremiumDiscountSeries(e){const a=De(e,"PREMIUM_DISCOUNT");return{name:[this.translateService.instant("products.premium-discount-market-price-vs-nav")],yAxis:[{plots:a,tooltip:{pointFormat:"\n <span style='font-size:14px;color:{series.color}'>\u25cf</span>\n <span>{series.name}: </span>\n <b>{point.y}%</b>\n "}}]}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-premium-discount-history"]],hostAttrs:["data-gtm-component","product-premium-discount-history"],features:[t.Vt3],decls:8,vars:2,consts:[["periodDropDown",""],["fromDatePicker",""],["toDatePicker",""],[3,"status"],[1,"border-b-nc1-200","mb-4","border-b-2"],[1,"rounded-2xl","text-xl","font-bold","sm:text-xl","md:text-2xl"],["placement","PremiumDiscountHistoryChart",3,"componentId"],["placement","PremiumDiscountHistoryChartProximalTop"],[1,"grid","grid-rows-1","items-center","md:grid-cols-2","md:gap-2"],[1,"xs:m-0","mb-4","mt-4","flex","flex-col","sm:m-0","md:w-36","lg:w-40"],[4,"ngTemplateOutlet"],[1,"mb-2","flex","flex-col","items-center","justify-end","md:flex-row","md:items-center","md:space-x-4"],[1,"xs:m-0","xs:w-full","w-full","sm:m-0","sm:w-full","md:w-auto"],[1,"xs:m-0","xs:w-full","mt-4","w-full","sm:w-full","md:mt-0","md:w-auto"],[1,"md:block",3,"chartConfig","chartData"],[1,"mt-4"],["placement","PremiumDiscountHistoryChartProximalBottom"],[1,"mt-2",3,"for"],[1,"select","select--light","select--light-small","mb-3"],[1,"xs:w-full","w-full","sm:w-full",3,"ngModelChange","change","name","id","ngModel"],[3,"value"],["type","day","opens","left",3,"selected","id","label","min","max","value","errorMsgObj","calendarHeading","closeLabel","prevMonthLabel","nextMonthLabel","monthSelectLabel","yearSelectLabel","selectedDateMessage","buttonLabel","shouldRemoveMargin"],["type","day","opens","right",3,"selected","id","label","min","max","value","errorMsgObj","calendarHeading","closeLabel","prevMonthLabel","nextMonthLabel","monthSelectLabel","yearSelectLabel","selectedDateMessage","buttonLabel","shouldRemoveMargin"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",3),t.DNE(1,iC,22,15),t.k0s(),t.DNE(2,lC,6,8,"ng-template",null,0,t.C5r)(4,cC,10,33,"ng-template",null,1,t.C5r)(6,dC,10,33,"ng-template",null,2,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.T3,M.X1,M.xH,M.y7,M.wz,M.BC,M.YN,M.vS,d.ComponentStatusComponent,le,d.TranslatePipe,K.j,d.ProximalComponent,d.FootnoteComponent],encapsulation:2,changeDetection:0})}return n})(),Hx=(()=>{class n extends U{loggerName="PremiumDiscountTableComponent";translateService=(0,t.WQX)(u.c$);itemsSignal=(0,t.vPA)([]);get items(){return this.itemsSignal.asReadonly()}asOfDateSignal=(0,t.vPA)("");get asOfDate(){return this.asOfDateSignal.asReadonly()}getSections=()=>({fetchShareClass:{pricingDetails:{common:!0,coreNav:!0}}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a=e.shareClass?.pricingDetails,o=[];switch(a?.common?.status){case"loaded":{const i=a.common;if(i.medianBidAskSpread&&i.medianBidAskSpread!==u.BX&&o.push({label:this.translateService.instant("products.median-bid-ask-spread"),val:i.medianBidAskSpread,caveatPlacement:"MedianBidAskSpreadPrice",tooltip:this.translateService.instant("products.median-bid-ask-spread-tooltip")}),i.bidAskSpread&&i.bidAskSpread!==u.BX&&o.push({label:this.translateService.instant("products.bid-ask-spread"),val:i.bidAskSpread,caveatPlacement:"BidAskSpreadPrice"}),i.premiumDiscountAvg&&i.premiumDiscountAvg!==u.BX&&o.push({label:this.translateService.instant("products.premium-discount-average"),val:i.premiumDiscountAvg,caveatPlacement:"PremiumDiscountAveragePrice"}),i.premiumDiscountPct&&o.push({label:this.translateService.instant("products.premium-discount-percent"),val:i.premiumDiscountPct,caveatPlacement:"PremiumDiscountPercentPrice"}),!o.length){this.status.set(d.ComponentStatus.EMPTY);break}this.itemsSignal.set(o),this.asOfDateSignal.set(a.coreNav.navDate),this.status.set(d.ComponentStatus.LOADED);break}case"empty-data":this.status.set(d.ComponentStatus.EMPTY)}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-premium-discount-table"]],hostAttrs:["data-gtm-component","product-premium-discount-table"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],[1,"border-b-nc1-200","mb-4","border-b-2"],[1,"text-xl","font-bold","lg:text-2xl"],["placement","PremiumDiscountPrice",3,"componentId"],[1,"mb-0","flex","flex-col"],[1,"mb-4","flex","justify-between",3,"ngClass"],[1,"flex"],[3,"placement","componentId"],[3,"ariaLabel"],[1,"text-right"],[1,"font-normal",3,"innerHTML"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,fC,12,8),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,d.ComponentStatusComponent,d.FootnoteComponent,R.b6,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})(),Ux=(()=>{class n extends U{loggerName="PricingChartComponent";translateService=(0,t.WQX)(u.c$);calendarService=(0,t.WQX)(It.I);proximalService=(0,t.WQX)(d.PROXIMAL_SERVICE,{optional:!0});intlService=(0,t.WQX)(B.I);excelDownloadService=(0,t.WQX)(u.hR);selectedDropDownOption=X.Zl.SINCE_INCEPTION;toggleChartRangeSignal=(0,t.vPA)(null);get toggleChartRange(){return this.toggleChartRangeSignal.asReadonly()}historicalData=[];filteredHistoricalData=[];coreNavSignal=(0,t.vPA)(void 0);get coreNav(){return this.coreNavSignal.asReadonly()}currencySymbolSignal=(0,t.vPA)(void 0);currencyCodeSignal=(0,t.vPA)(void 0);overviewSignal=(0,t.vPA)(void 0);get overview(){return this.overviewSignal.asReadonly()}maxDateSignal=(0,t.vPA)(void 0);get maxDate(){return this.maxDateSignal.asReadonly()}highNavYtdSignal=(0,t.vPA)(void 0);get highNavYtd(){return this.highNavYtdSignal.asReadonly()}lowNavYtdSignal=(0,t.vPA)(void 0);get lowNavYtd(){return this.lowNavYtdSignal.asReadonly()}minDateSignal=(0,t.vPA)(void 0);
1get minDate(){return this.minDateSignal.asReadonly()}shareClassDetailSignal=(0,t.vPA)(void 0);get shareClassDetail(){return this.shareClassDetailSignal.asReadonly()}errorMsgObjSignal=(0,t.EWP)(()=>this.calendarService.getDatePickerErrorMsg(this.translateService));get errorMsgObj(){return this.errorMsgObjSignal}fromDateStd=void 0;toDateStd=void 0;dropdownId=`pricingChartDropDown${(0,N.A)()}`;fromDateId=`pricingChartFromDate${(0,N.A)()}`;toDateId=`pricingChartToDate${(0,N.A)()}`;downloadId=`pricingDownload${(0,N.A)()}`;dropdownRangeSignal=(0,t.EWP)(()=>{const e=this.config().showDailyCumulativeReturns??!1;return En.filter(a=>a.value!==X.Zl.CUSTOM_RANGE&&(a.value!==X.Zl.DAILY||e)&&Fn(a.value,this.shareClassDetailSignal()?.performanceInceptionDateStd??"")).map(a=>(a.text=this.translateService.instant(a.key),a))});get dropdownRange(){return this.dropdownRangeSignal}setDropdownDateRange(){this.toggleChartRangeSignal.set({selectedToggleRange:this.selectedDropDownOption}),this.filterPricingHistory(this.toggleChartRange())}setCustomDateRange(e,a){this.logger.debug(this.loggerName,"date:::::::"+a);const o=b(a).format(u.D_);this.toggleChartRangeSignal.set("fromDate"===e?{selectedToggleRange:X.Zl.CUSTOM_RANGE,fromDate:o,toDate:this.toDateStd}:{selectedToggleRange:X.Zl.CUSTOM_RANGE,fromDate:this.fromDateStd,toDate:o}),this.filterPricingHistory(this.toggleChartRange())}downloadPricing(e){e.preventDefault(),this.logger.debug(this.loggerName,"pricingDownloadButtonClicked"+JSON.stringify(e)),this.triggerDownloadAction()}get chartConfig(){return this.chartConfigSignal.asReadonly()}chartConfigSignal=(0,t.vPA)(void 0);chartDataSignal=(0,t.vPA)(void 0);get chartData(){return this.chartDataSignal.asReadonly()}get extraChecksForDownload(){return this.extraChecksForDownloadSignal.asReadonly()}extraChecksForDownloadSignal=(0,t.vPA)({hasMasterFundNav:!1,hasDailyLiquidAssetRatio:!1,hasWeeklyLiquidAssetRatio:!1,hasNetShareHolderFlow:!1});getSections=()=>({fetchCommonData:!0,fetchShareClass:{fetchShareClassDetail:!0,pricingDetails:{common:!0,coreNav:!0,history:!0}}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e),"loaded"===e.commonData?.status&&this.overviewSignal.set(e.commonData);const a=e.shareClass?.pricingDetails;"loaded"===e.shareClass?.detail?.status&&this.shareClassDetailSignal.set(e.shareClass.detail),"loaded"===a?.common?.status&&(this.currencyCodeSignal.set(a.common.currencyCode),this.currencySymbolSignal.set(pa(a.common.currencyCode))),"loaded"===a?.coreNav?.status&&this.coreNavSignal.set(a.coreNav),this.addHistoryData(e)};addHistoryData(e){const a=e.shareClass?.pricingDetails,o=a?.history;switch(o?.status){case"loaded":{const i=o.data;this.minDateSignal.set(i[i.length-1]?.asOfDateStd),this.maxDateSignal.set(i[0]?.asOfDateStd),this.historicalData=i,this.fromDateStd=this.minDate(),this.toDateStd=this.maxDate(),this.processfilteredHistoryData(i),this.updateDowLoadSettings(i);break}case"empty-data":this.status.set(d.ComponentStatus.EMPTY)}this.status.set("loaded"===a?.coreNav?.status||"loaded"===a?.history?.status?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)}updateDowLoadSettings(e){this.extraChecksForDownloadSignal.set({hasMasterFundNav:e.some(a=>a.masterFundNav!==u.BX&&a.masterFundNav),hasDailyLiquidAssetRatio:e.some(a=>a.dailyLiquidAssetRatio!==u.BX&&a.dailyLiquidAssetRatio),hasWeeklyLiquidAssetRatio:e.some(a=>a.weeklyLiquidAssetRatio!==u.BX&&a.weeklyLiquidAssetRatio),hasNetShareHolderFlow:e.some(a=>a.netShareHolderFlow!==u.BX&&a.netShareHolderFlow)})}filterPricingHistory(e){const{fromDateStd:a,toDateStd:o}=this.calendarService.getDateRange(e.selectedToggleRange,this.minDate(),this.maxDate(),e.fromDate,e.toDate);this.fromDateStd=a,this.toDateStd=o,this.processfilteredHistoryData(this.historicalData.filter(i=>b(i.asOfDateStd,u.D_).isBetween(a,o,null,"[]")))}processfilteredHistoryData=e=>{this.logger.debug(this.loggerName,"processfilteredHistoryData()",e),this.filteredHistoricalData=e,this.setNavYtd();const a=this.fetchChartSeries(e),o=this.config().showDailyCumulativeReturns??!1,i=this.selectedDropDownOption===X.Zl.DAILY&&o;this.chartConfigSignal.set($n(this.translateService,"NAV",this.currencySymbolSignal(),i)),this.chartDataSignal.set(a)};getNavChartLabels(){return{navLabel:this.translateService.instant("products.price-history-chart-nav"),navChangePercentLabel:this.translateService.instant("products.price-history-chart-nav-change-percent"),marketPriceLabel:this.config().showSharePrice?this.translateService.instant("products.price-history-chart-share-price"):this.translateService.instant("products.price-history-chart-market-price"),marketPriceChangePercentLabel:this.config().showSharePrice?this.translateService.instant("products.price-history-chart-share-price-change-percent"):this.translateService.instant("products.price-history-chart-market-price-change-percent")}}fetchChartSeries(e){const a=this.getNavChartLabels(),o=this.config().hidePercentChangeNavOnChart,i=this.currencyCodeSignal(),r=this.config().showDailyCumulativeReturns??!1,l=this.selectedDropDownOption===X.Zl.DAILY&&r,c=De(e,l?"FUND_CUMULATIVE_10K":"NAV"),p=l?this.translateService.instant("products.price-history-chart-fund-cumulative-10k"):a.navLabel.replace(/(\r\n|\n|\r)/gm,"").replace(/<a([^>]+?)([^>]*?)>(.*?)<\/a>/gi,""),_=(y,L,Z=!1,pt=!1)=>this.pointFormatterProvider(!!o,L,i,y,Z,pt),E={name:[p],yAxis:[{plots:c,tooltip:{pointFormatter:function(){return _(this,a.navChangePercentLabel,!1,!1)}}}]};if(l){const y=De(e,"BM_CUMULATIVE_10K"),L=this.translateService.instant("products.price-history-chart-bm-cumulative-10k");E.name?.push(L),E.yAxis.push({tooltip:{pointFormatter:function(){return _(this,a.marketPriceChangePercentLabel,!0,!1)}},plots:y})}else{const y=function Ix(n){return n.some(s=>(0,u.a4)(s,"marketPriceValue"))}(e),L=this.config().showMoneyMarketPrice;if(y&&(L||this.config().showMarketPrice)){const Z=De(e,"MARKET_PRICE");E.name?.push(a.marketPriceLabel),E.yAxis.push({tooltip:{pointFormatter:function(){return _(this,a.marketPriceChangePercentLabel,y,L)}},plots:Z})}}return E}pointFormatterProvider(e,a,o,i,r=!1,l=!1){const{navValue:c,navChangePercentSinceStart:p,percentageColour:_}=this.addNavValuesForToolTip(i),E=l?this.intlService.toLocalCurrencyMoneyMarket(c,o):this.intlService.toLocalCurrency(c,o);
1let L=`\n <span style='font-size:14px;color:${i.series.color}'>\u25cf</span>\n <span>${i.series.name}: </span>\n <b>${E} </b>\n `;return L+=this.addNavChangePercentageToolTip(e,p,a,_),r&&(L="<br/>"+L),L}addNavValuesForToolTip(e){const a=parseFloat(e.y?.toString()??""),o=100*(a/this.getbaseLineNav(e)-1);let i="gray";return o>0&&(i="#4e9d2d"),o<0&&(i="#cb0000"),{navValue:a,navChangePercentSinceStart:o,percentageColour:i}}getbaseLineNav(e){let a=this.getInitialBaseLineNav(e);return a||(a=this.findValidBaseLineNav(e)),a}getInitialBaseLineNav(e){return e.series.data.length?parseFloat(e.series.data[0]?.y?.toString()??""):0}findValidBaseLineNav(e){const a=e.series.data.find(o=>!!o.y);return a?parseFloat(a.y?.toString()??""):0}addNavChangePercentageToolTip(e,a,o,i){return e?"":`\n <br/>\n <span style='font-size:14px;color:rgba(0,0,0,0)'>\u25cf</span>\n <span>${o}: </span>\n <b style='color:${i}'>${isNaN(a)?u.BX:this.intlService.toLocalPercentage(a/100)}</b>\n `}triggerDownloadAction(){const e={filteredData:this.filteredHistoricalData,productName:this.overview()?.productName,shareClassName:this.shareClassDetail()?.shareClassName,performanceInceptionDate:this.shareClassDetail()?.performanceInceptionDate,navValue:this.coreNav()?.navValue,navDate:this.coreNav()?.navDate,currency:this.shareClassDetail()?.currency,downloadSettings:this.config().downloadSettings,extraChecks:this.extraChecksForDownload()};ha(this.mapDownloadData(this.filteredHistoricalData),e,this.translateService,{excelDownloadService:this.excelDownloadService,proximalService:this.proximalService,destroyRef:this.destroyRef,logger:this.logger,loggerName:this.loggerName})}mapDownloadData(e){const a=[],o=this.config().downloadSettings;return e.forEach(i=>{let r={asOfDate:i.asOfDate,nav:i.nav||u.BX,navChangeValue:i.navChangeValue||u.BX,navChangePercent:i.navChangePercent||u.BX};(o?.showApplicationPrice||o?.showPop)&&(r={...r,applicationPrice:i.applicationPrice||u.BX}),o?.showRedemptionPrice&&(r={...r,redemptionPrice:i.redemptionPrice||u.BX}),o?.showMasterFundNav&&(r={...r,masterFundNav:i.masterFundNav||u.BX}),this.config().downloadSettings?.showDailyLiquidAssetRatio&&(r={...r,dailyLiquidAssetRatio:i.dailyLiquidAssetRatio||u.BX}),o?.showWeeklyLiquidAssetRatio&&(r={...r,weeklyLiquidAssetRatio:i.weeklyLiquidAssetRatio||u.BX}),o?.showNetShareHolderFlow&&(r={...r,netShareHolderFlow:i.netShareHolderFlow||u.BX}),o?.showMarketPriceData&&(r={...r,marketPriceValue:i.marketPriceValue||u.BX,marketChangeValue:i.marketChangeValue||u.BX,marketChangePercent:i.marketChangePercent||u.BX}),o?.showBidOrAskSpread&&(r={...r,bidOrAskSpread:i.bidOrAskSpread||u.BX}),o?.showDiscountOrPremiumInception&&(r={...r,discountOrPremiumInception:i.discountOrPremiumInception||u.BX}),o?.showMarketPriceData&&(r={...r,discountOrPremiumAtLastClose:i.discountOrPremiumAtLastClose||u.BX}),o?.showBdrIndexMetrics&&(r={...r,indexLevel:i.indexLevel||u.BX,indexChangePercent:i.indexChangePercent||u.BX,totalNetAssets:i.totalNetAssets||u.BX}),a.push(r)}),a}setNavYtd(){if(this.filteredHistoricalData.length>0){const e=function Ne(n,s){return n&&n.length?zt(n,(0,we.A)(s,2),un):void 0}(this.filteredHistoricalData,o=>Number(o.navStd)),a=function hn(n,s){return n&&n.length?zt(n,(0,we.A)(s,2),mn):void 0}(this.filteredHistoricalData,o=>Number(o.navStd));this.lowNavYtdSignal.set({date:a?.asOfDate,value:a?.nav}),this.highNavYtdSignal.set({date:e?.asOfDate,value:e?.nav})}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-pricing-chart"]],hostAttrs:["data-gtm-component","product-pricing-chart"],features:[t.Vt3],decls:10,vars:2,consts:[["periodDropDown",""],["fromDatePicker",""],["toDatePicker",""],["excelButtonTemplate",""],[3,"status"],[1,"border-b-nc1-200","mb-4","border-b-2"],[1,"text-xl","font-bold","lg:text-2xl"],["placement","HistoricalPriceChart",3,"componentId"],["placement","HistoricalPriceChartProximalTop"],[1,"xs:h-auto","grid","grid-rows-1","items-center","md:h-[7rem]","md:grid-cols-2","md:gap-2"],[1,"xs:m-0","mb-4","mt-4","flex","flex-col","justify-start","self-start","sm:m-0","md:w-36","lg:w-40"],[4,"ngTemplateOutlet"],[1,"mb-2","flex","flex-col","items-center","justify-end","self-start","md:flex-row","md:items-center","md:space-x-4"],[1,"xs:m-0","xs:w-full","w-full","self-start","sm:m-0","sm:w-full","md:w-auto"],[1,"xs:m-0","xs:w-full","mt-4","w-full","self-start","sm:w-full","md:mt-0","md:w-auto"],[1,"xs:w-full","mt-5","w-full","self-start","sm:w-full","md:w-auto"],[1,"md:block",3,"chartConfig","chartData"],[1,"mt-4"],["placement","HistoricalPriceChartProximalBottom"],[3,"for"],[1,"select","select--light","select--light-small","mb-3"],["data-gtm-intent","period_select",1,"xs:w-full","w-full","sm:w-full",3,"ngModelChange","change","name","id","ngModel"],[3,"value"],["type","day","opens","left",3,"selected","id","label","min","max","value","errorMsgObj","calendarHeading","closeLabel","prevMonthLabel","nextMonthLabel","monthSelectLabel","yearSelectLabel","selectedDateMessage","buttonLabel","shouldRemoveMargin"],["type","day","opens","right",3,"selected","id","label","min","max","value","errorMsgObj","calendarHeading","closeLabel","prevMonthLabel","nextMonthLabel","monthSelectLabel","yearSelectLabel","selectedDateMessage","buttonLabel","shouldRemoveMargin"],["type","button","data-gtm-intent","download_pricing",1,"button","button--primary","button--sm","xs:w-full","sm:w-full",3,"click","id"],[1,"flex"],[1,"flex-inline","mr-2"],["name","heroArrowDownTray",1,"size-4",3,"size"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",4),t.DNE(1,DC,24,16),t.k0s(),t.DNE(2,SC,6,8,"ng-template",null,0,t.C5r)(4,yC,10,33,"ng-template",null,1,t.C5r)(6,RC,10,33,"ng-template",null,2,t.C5r)(8,kC,6,5,"ng-template",null,3,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.T3,M.X1,M.xH,M.y7,M.wz,M.BC,M.YN,M.vS,d.ComponentStatusComponent,le,d.TranslatePipe,K.j,d.ProximalComponent,d.FootnoteComponent,R.zq],encapsulation:2,changeDetection:0})}return n})();function fa(n,s,e,a,o){if(a===X.Zl.DAILY&&o)return[{field:"asOfDate",headerName:n.instant("products.date"),isCardTitle:!0},{field:"fundCumulativeSinceInception10kRet",headerName:n.instant("products.table-fund-cumulative-10k"),valueGetter:r=>r.node.fundCumulativeSinceInception10kRet?r.node.fundCumulativeSinceInception10kRet:u.BX,isAlignRight:!0},{field:"bmCumulativeSinceInception10kRet",headerName:n.instant("products.table-bm-cumulative-10k"),valueGetter:r=>r.node.bmCumulativeSinceInception10kRet?r.node.bmCumulativeSinceInception10kRet:u.BX,isAlignRight:!0}];const i=[{field:"asOfDate",headerName:n.instant("products.date"),isCardTitle:!0},{field:"nav",headerName:n.instant("pds.NAV_VALUE"),valueGetter:r=>r.node.nav?r.node.nav:u.BX,isAlignRight:!0},{field:"navChangeValue",headerName:n.instant("pds.DAILY_NAV_CHANGE"),valueGetter:r=>r.node.navChangeValue?r.node.navChangeValue:u.BX,isAlignRight:!0},{field:"navChangePercent",headerName:n.instant("pds.DAILY_NAV_CHANGE_PERCENTAGE"),valueGetter:r=>r.node.navChangePercent?r.node.navChangePercent:u.BX,isAlignRight:!0}];
1return s?.hasMasterFundNav&&i.push({field:"masterFundNav",headerName:n.instant("products.Master-Fund-Level-Market-Nav"),valueGetter:r=>r.node.masterFundNav?r.node.masterFundNav:u.BX,isAlignRight:!0}),s?.hasDailyLiquidAssetRatio&&i.push({field:"dailyLiquidAssetRatio",headerName:n.instant("products.Liquid-Asset-Daily_PERCENTAGE"),valueGetter:r=>r.node.dailyLiquidAssetRatio?r.node.dailyLiquidAssetRatio:u.BX,isAlignRight:!0}),s?.hasWeeklyLiquidAssetRatio&&i.push({field:"weeklyLiquidAssetRatio",headerName:n.instant("products.Liquid-Asset-Weekly_PERCENTAGE"),valueGetter:r=>r.node.weeklyLiquidAssetRatio?r.node.weeklyLiquidAssetRatio:u.BX,isAlignRight:!0}),s?.hasNetShareHolderFlow&&i.push({field:"netShareHolderFlow",headerName:n.instant("products.Shareholder-Net-Flow"),valueGetter:r=>r.node.netShareHolderFlow?r.node.netShareHolderFlow:u.BX,isAlignRight:!0}),s?.hasMasterNetShareHolderFlow&&i.push({field:"masterNetShareHolderFlow",headerName:`${n.instant("products.Master-Shareholder-Net-Flow")}(${e??""})`,valueGetter:r=>r.node.masterNetShareHolderFlow?r.node.masterNetShareHolderFlow:u.BX,isAlignRight:!0}),i}let qx=0,Qx=(()=>{class n extends U{loggerName="PricingHistoricalComponent";EMDASH=u.BX;translateService=(0,t.WQX)(u.c$);calendarService=(0,t.WQX)(It.I);proximalService=(0,t.WQX)(d.PROXIMAL_SERVICE,{optional:!0});excelDownloadService=(0,t.WQX)(u.hR);documentRef=(0,t.WQX)(j.q);selectedDropDownOption=X.Zl.ONE_MONTH;historicalData=[];filteredHistoricalData=[];coreNavData=void 0;componentState=(0,t.vPA)({toggleChartRange:null,maxDate:void 0,minDate:void 0,shareClassDetail:void 0,overview:null,fromDate:null,toDate:null,checkHistoricalData:null,isContentExpanded:!1});uiState=(0,t.vPA)({colDefs:null,items:[],tableData:[]});componentId=++qx;dropdownId=`pricingHistoricalDropDown${this.componentId}`;fromDateId=`pricingHistoricalFromDate${this.componentId}`;toDateId=`pricingHistoricalToDate${this.componentId}`;downloadId=`pricingHistoricalDownload${this.componentId}`;overview=(0,t.EWP)(()=>this.componentState().overview);toggleChartRange=(0,t.EWP)(()=>this.componentState().toggleChartRange);maxDate=(0,t.EWP)(()=>this.componentState().maxDate);minDate=(0,t.EWP)(()=>this.componentState().minDate);shareClassDetail=(0,t.EWP)(()=>this.componentState().shareClassDetail);fromDate=(0,t.EWP)(()=>this.componentState().fromDate);toDate=(0,t.EWP)(()=>this.componentState().toDate);checkHistoricalData=(0,t.EWP)(()=>this.componentState().checkHistoricalData);isContentExpanded=(0,t.EWP)(()=>this.componentState().isContentExpanded);tableData=(0,t.EWP)(()=>this.uiState().tableData);colDefs=(0,t.EWP)(()=>this.uiState().colDefs);fromDateStd=void 0;toDateStd=void 0;dropdownRangeCache=null;lastInceptionDate=null;isLastShowDailyFlag=null;dropdownRange=(0,t.EWP)(()=>{const a=this.shareClassDetail()?.performanceInceptionDateStd??"",o=this.config().showDailyCumulativeReturns??!1;return(this.lastInceptionDate!==a||this.isLastShowDailyFlag!==o||!this.dropdownRangeCache)&&(this.dropdownRangeCache=En.filter(i=>i.value!==X.Zl.CUSTOM_RANGE&&(i.value!==X.Zl.DAILY||o)&&Fn(i.value,a)).map(i=>({...i,text:this.translateService.instant(i.key)})),this.lastInceptionDate=a,this.isLastShowDailyFlag=o),this.dropdownRangeCache});errorMsgObj=(0,t.EWP)(()=>this.calendarService.getDatePickerErrorMsg(this.translateService));getSections=()=>({fetchCommonData:!0,fetchShareClass:{fetchShareClassDetail:!0,pricingDetails:{history:!0,coreNav:!0}}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a={};"loaded"===e.shareClass?.detail?.status&&(a.shareClassDetail=e.shareClass.detail),"loaded"===e.shareClass?.pricingDetails?.coreNav?.status&&(this.coreNavData=e.shareClass.pricingDetails.coreNav),"loaded"===e.commonData?.status&&(a.overview=e.commonData),Object.keys(a).length>0&&this.componentState.update(o=>({...o,...a})),this.addPricingData(e)};addPricingData(e){const a=e.shareClass?.pricingDetails?.history;switch(a?.status){case"loaded":this.processHistoryData(a.data);break;case"empty-data":this.status.set(d.ComponentStatus.EMPTY);break;default:this.status.set(d.ComponentStatus.ERROR)}}processHistoryData(e){const a=[...e].sort((r,l)=>new Date(r.asOfDateStd).getTime()-new Date(l.asOfDateStd).getTime());this.historicalData=e;const o=this.analyzeHistoricalDataOptimized(e);this.componentState.update(r=>({...r,minDate:a[0]?.asOfDateStd,maxDate:a[a.length-1]?.asOfDateStd,checkHistoricalData:o}
1)),this.fromDateStd=this.minDate(),this.toDateStd=this.maxDate(),this.componentState.update(r=>({...r,fromDate:a[0]?.asOfDate??null,toDate:a[a.length-1]?.asOfDate??null})),this.setDropdownDateRange();const i=fa(this.translateService,o,this.shareClassDetail()?.currency,this.selectedDropDownOption,this.config().showDailyCumulativeReturns);this.uiState.update(r=>({...r,colDefs:i})),this.status.set(d.ComponentStatus.LOADED)}analyzeHistoricalDataOptimized(e){const a={hasMasterFundNav:!1,hasDailyLiquidAssetRatio:!1,hasWeeklyLiquidAssetRatio:!1,hasNetShareHolderFlow:!1,hasMasterNetShareHolderFlow:!1};for(const o of e)if(this.shouldUpdateFlag(a.hasMasterFundNav,o.masterFundNav)&&(a.hasMasterFundNav=!0),this.shouldUpdateFlag(a.hasDailyLiquidAssetRatio,o.dailyLiquidAssetRatio)&&(a.hasDailyLiquidAssetRatio=!0),this.shouldUpdateFlag(a.hasWeeklyLiquidAssetRatio,o.weeklyLiquidAssetRatio)&&(a.hasWeeklyLiquidAssetRatio=!0),this.shouldUpdateFlag(a.hasNetShareHolderFlow,o.netShareHolderFlow)&&(a.hasNetShareHolderFlow=!0),this.shouldUpdateFlag(a.hasMasterNetShareHolderFlow,o.masterNetShareHolderFlow)&&(a.hasMasterNetShareHolderFlow=!0),a.hasMasterFundNav&&a.hasDailyLiquidAssetRatio&&a.hasWeeklyLiquidAssetRatio&&a.hasNetShareHolderFlow&&a.hasMasterNetShareHolderFlow)break;return a}onDropdownChange(e){this.selectedDropDownOption=e.target.value,this.setDropdownDateRange()}setDropdownDateRange(){this.componentState.update(a=>({...a,toggleChartRange:{selectedToggleRange:this.selectedDropDownOption}}));const e=this.toggleChartRange();e&&this.filterPricingHistory(e)}onFromDateChange(e){this.setCustomDateRange("fromDate",e)}onToDateChange(e){this.setCustomDateRange("toDate",e)}setCustomDateRange(e,a){const o=b(a).format(u.D_);"fromDate"===e?this.fromDateStd=o:this.toDateStd=o,this.componentState.update(r=>({...r,toggleChartRange:{selectedToggleRange:X.Zl.CUSTOM_RANGE,fromDate:this.fromDateStd,toDate:this.toDateStd}}));const i=this.toggleChartRange();i&&this.filterPricingHistory(i)}filterPricingHistory(e){const{fromDateStd:a,toDateStd:o}=this.calendarService.getDateRange(e.selectedToggleRange,this.minDate(),this.maxDate(),e.fromDate,e.toDate);this.fromDateStd=a,this.toDateStd=o;const i=new Date(a).getTime(),r=new Date(o).getTime();this.filteredHistoricalData=this.historicalData.filter(c=>{const p=new Date(c.asOfDateStd).getTime();return p>=i&&p<=r}),this.filteredHistoricalData.length&&this.componentState.update(c=>({...c,fromDate:this.filteredHistoricalData[this.filteredHistoricalData.length-1]?.asOfDate??null,toDate:this.filteredHistoricalData[0]?.asOfDate??null}));const l=fa(this.translateService,this.checkHistoricalData(),this.shareClassDetail()?.currency,e.selectedToggleRange,this.config().showDailyCumulativeReturns);this.uiState.update(c=>({...c,colDefs:l,tableData:this.filteredHistoricalData})),this.updateInfoBoxData()}updateInfoBoxData(){const e=this.filteredHistoricalData,a=[],o=this.shareClassDetail()?.currency,i=this.translateService.instant("products.as-of");if(this.coreNavData&&a.push({key:"NAV",label:this.translateService.instant("pds.NAV_VALUE"),val:`${this.coreNavData.navValue} (${o})`,labelSmallText:`${i} ${this.coreNavData.navDate}`},{key:"Fund-Level-Market-Nav",label:this.translateService.instant("products.Fund-Level-Market-Nav"),val:`${this.coreNavData.moneyFundMarketNav} (${o})`,labelSmallText:`${i} ${this.coreNavData.navDate}`},{key:"MASTER_FUND_NAV",label:this.translateService.instant("products.Master-Fund-Level-Market-Nav"),val:`${this.coreNavData.masterFundNav} (${o})`,labelSmallText:`${i} ${this.coreNavData.navDate}`}),e.length>0){const r=function zx(n,s){if(0!==n.length)return n.reduce((e,a)=>s(a)>s(e)?a:e,n[0])}(e,c=>Number(c.navStd)),l=function Wx(n,s){if(0!==n.length)return n.reduce((e,a)=>s(a)<s(e)?a:e,n[0])}(e,c=>Number(c.navStd));r&&a.push({key:"HIGHEST_NAV",label:this.translateService.instant("pds.HIGH_NAV_VALUE_YTD"),val:`${r.nav} (${o})`,labelSmallText:`${i} ${r.asOfDate}`}),l&&a.push({key:"LOWEST_NAV",label:this.translateService.instant("pds.LOW_NAV_VALUE_YTD"),val:`${l.nav} (${o})`,labelSmallText:`${i} ${l.asOfDate}`})}this.uiState.update(r=>({...r,items:a}))}downloadXLS(){const e={filteredData:this.filteredHistoricalData,productName:this.overview()?.productName,shareClassName:this.shareClassDetail()?.shareClassName,performanceInceptionDate:this.shareClassDetail()?.performanceInceptionDate,
1navValue:this.coreNavData?.navValue,navDate:this.coreNavData?.navDate,currency:this.shareClassDetail()?.currency,downloadSettings:this.config().downloadSettings,extraChecks:this.checkHistoricalData()};ha(this.mapDownloadData(),e,this.translateService,{excelDownloadService:this.excelDownloadService,proximalService:this.proximalService,destroyRef:this.destroyRef,logger:this.logger,loggerName:this.loggerName})}mapDownloadData(){const e=this.filteredHistoricalData,a=[],o=this.checkHistoricalData();return e.forEach(i=>{const r={asOfDate:i.asOfDate??u.BX,nav:i.nav,navChangeValue:i.navChangeValue??u.BX,navChangePercent:i.navChangePercent??u.BX};o?.hasMasterFundNav&&(r.masterFundNav=i.masterFundNav??u.BX),o?.hasDailyLiquidAssetRatio&&(r.dailyLiquidAssetRatio=i.dailyLiquidAssetRatio??u.BX),o?.hasWeeklyLiquidAssetRatio&&(r.weeklyLiquidAssetRatio=i.weeklyLiquidAssetRatio??u.BX),o?.hasNetShareHolderFlow&&(r.netShareHolderFlow=i.netShareHolderFlow??u.BX),o?.hasMasterNetShareHolderFlow&&(r.masterNetShareHolderFlow=i.masterNetShareHolderFlow??u.BX),a.push(r)}),a}toggleContent(){this.componentState.update(e=>({...e,isContentExpanded:!e.isContentExpanded}))}shouldUpdateFlag(e,a){return!e&&a!==u.BX&&!!a}scrollToTableContent(){const e=this.documentRef.getElementById("historicalScrollPosition");e&&e.scrollIntoView({behavior:"smooth",block:"start",inline:"start"})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-pricing-historical"]],hostAttrs:["data-gtm-component","pricing-historical"],features:[t.Vt3],decls:12,vars:2,consts:[["periodDropDown",""],["fromDatePicker",""],["toDatePicker",""],["dataListItem",""],["excelButtonTemplate",""],[3,"status"],[1,"border-nc1-200","mb-4","rounded-xl","border","p-4"],["type","button",1,"w-full","rounded-t-xl","bg-gray-50","px-4","py-4","text-left","focus:outline-none","focus:ring-2","focus:ring-inset","focus:ring-blue-500",3,"click"],[1,"flex","items-center","justify-between"],[1,"text-2xl","font-bold","text-[#001E62]"],[1,"text-nc1-950","size-6","transition-transform","duration-200",3,"name","size"],[1,"overflow-hidden","transition-all","duration-300","ease-in-out"],[1,"border-nc1-200","rounded-b-xl","border-t"],[1,"border-b-nc1-200","mb-2","p-4"],[1,"grid","grid-rows-1","items-center","md:grid-cols-2","md:gap-2"],[1,"xs:m-0","mb-4","mt-4","flex","flex-col","sm:m-0","md:w-36","lg:w-40"],[4,"ngTemplateOutlet"],[1,"mb-2","flex","flex-col","items-center","justify-end","md:flex-row","md:items-center","md:space-x-4"],[1,"xs:m-0","xs:w-full","w-full","sm:m-0","sm:w-full","md:w-auto"],[1,"xs:m-0","xs:w-full","mt-4","w-full","sm:w-full","md:mt-0","md:w-auto"],[1,"grid","grid-cols-1","items-start","gap-4","md:grid-cols-2"],[1,"rounded-2xl","text-xl","font-bold","sm:text-xl","md:text-2xl"],[1,"text-base"],[1,"text-nc1-950"],[1,"flex","justify-end"],[1,"w-full","self-start","md:w-auto"],["id","historicalScrollPosition",1,"grid"],["headerAlignClass","justify-end",3,"pageChanged","colDefs","rowData","showPagination","isCardView","ariaLabelGoToPage","ariaLabelPagination","nextPageText","sortAccessibilityText","prevPageText","showMoreTxt","showLessTxt"],[1,"mt-2",3,"for"],[1,"select","select--light","select--light-small","mb-3"],["data-testid","period_select",1,"xs:w-full","w-full","sm:w-full",3,"change","name","id","value"],[3,"value"],["type","day","opens","left",3,"selected","id","label","min","max","value","errorMsgObj","calendarHeading","closeLabel","prevMonthLabel","nextMonthLabel","monthSelectLabel","yearSelectLabel","selectedDateMessage","buttonLabel","shouldRemoveMargin"],["type","day","opens","right",3,"selected","id","label","min","max","value","errorMsgObj","calendarHeading","closeLabel","prevMonthLabel","nextMonthLabel","monthSelectLabel","yearSelectLabel","selectedDateMessage","buttonLabel","shouldRemoveMargin"],[1,"mb-4","flex","justify-between"],[1,"flex","font-normal"],[1,"text-sm","text-gray-500"],[1,"text-right","text-sm","font-medium","text-gray-900","[&_a]:pointer-events-none","[&_a]:text-current","[&_a]:no-underline"],["type","button","data-gtm-intent","download_pricing",1,"button","button--primary","button--sm","xs:w-full","sm:w-full",3,"click","id"],[1,"flex"],[1,"flex-inline","mr-2"],["name","heroArrowDownTray",1,"size-4",3,"size"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",5),t.DNE(1,PC,39,30,"div",6),t.k0s(),t.DNE(2,wC,7,7,"ng-template",null,0,t.C5r)(4,NC,10,33,"ng-template",null,1,t.C5r)(6,GC,10,33,"ng-template",null,2,t.C5r)(8,OC,8,3,"ng-template",null,3,t.C5r)(10,YC,6,5,"ng-template",null,4,t.C5r)),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.T3,M.X1,M.xH,M.y7,M.YN,d.ComponentStatusComponent,le,d.TranslatePipe,d.DynamicTableComponent,R.zq],encapsulation:2,changeDetection:0})}return n})(),Jx=(()=>{class n extends U{loggerName="PricingShadowNavLiquidityComponent";maxDateSignal=(0,t.vPA)(void 0);get maxDate(){return this.maxDateSignal.asReadonly()}componentType=(0,t.hFB)();minDateSignal=(0,t.vPA)(void 0);
1get minDate(){return this.minDateSignal.asReadonly()}fromDateStd=void 0;toDateStd=void 0;calendarService=(0,t.WQX)(It.I);translateService=(0,t.WQX)(u.c$);get chartConfig(){return this.chartConfigSignal.asReadonly()}chartConfigSignal=(0,t.vPA)(void 0);chartDataSignal=(0,t.vPA)(void 0);historicalData=[];get chartData(){return this.chartDataSignal.asReadonly()}asOfDateSignal=(0,t.vPA)("");get asOfDate(){return this.asOfDateSignal.asReadonly()}currencySymbolSignal=(0,t.vPA)(void 0);get currencySymbol(){return this.currencySymbolSignal.asReadonly()}getSections=()=>({fetchShareClass:{pricingDetails:{common:!0,coreNav:!0,moneyFundLiquidity:{moneyFundLiquidity:!0,shadowNav:!0}}}});filterPricingHistory(e){const{fromDateStd:a,toDateStd:o}=this.calendarService.getDateRange(e.selectedToggleRange,this.minDate(),this.maxDate());this.fromDateStd=a,this.toDateStd=o,this.processfilteredHistoryData(this.historicalData.filter(i=>b(i.asOfDateStd,u.D_).isBetween(a,o,null,"[]")))}processfilteredHistoryData=e=>{this.logger.debug(this.loggerName,"processfilteredHistoryData()",e);const a=this.fetchChartSeries(e),o=$n(this.translateService,"NAV",this.currencySymbol());o.xAxis={...o.xAxis,labelFormat:"{value:%e. %b}"},this.chartConfigSignal.set(o),this.chartDataSignal.set(a)};getNavChartLabels(){return{dailyLiquidAssetsLabel:this.translateService.instant("products.price-liquid-assets-daily"),weeklyLiquidAssetsLabel:this.translateService.instant("products.price-liquid-assets-weekly"),shadowNavLabel:this.translateService.instant("products.price-shadow-nav")}}sanitizeChartLabel(e){return e.replaceAll(/\r\n|\n|\r/g,"").replaceAll(/<\/?a\b[^>]*>/gi,"")}pointFormatterProvider(e){const a=e.y?.toFixed(2)??"N/A",o=e.series.color;return this.componentType()===d.ComponentType.LA?`\n <span style='font-size:14px;color:${o}'>\u25cf</span>\n <span>${e.series.name}: </span>\n <b>${a}%</b><br>\n `:`\n <span style='font-size:14px;color:${o}'>\u25cf</span>\n <span>${e.series.name}: </span>\n <b>${this.currencySymbol()}${a}</b>\n `}fetchChartSeries(e){const a=this.getNavChartLabels(),o=this.pointFormatterProvider.bind(this);if(this.componentType()===d.ComponentType.LA){const i=An(e,this.currencySymbol(),this.componentType(),xe.DAILY),l={name:[this.sanitizeChartLabel(a.dailyLiquidAssetsLabel)],yAxis:[{plots:i,tooltip:{pointFormatter:function(){return o(this)}}}]},c=An(e,this.currencySymbol(),this.componentType(),xe.WEEKLY);if(c.length){const p=this.sanitizeChartLabel(a.weeklyLiquidAssetsLabel);l.name&&l.name.push(p),l.yAxis.push({plots:c,tooltip:{pointFormatter:function(){return o(this)}}})}return l}{const i=An(e,this.currencySymbol(),this.componentType());return{name:[this.sanitizeChartLabel(a.shadowNavLabel)],yAxis:[{plots:i}]}}}processData=e=>{this.logger.debug(this.loggerName,"processData()",e);let a=!1;const o=e.shareClass?.pricingDetails;"loaded"===o?.common?.status&&this.currencySymbolSignal.set(pa(o.common.currencyCode)),"loaded"===o?.moneyFundLiquidity?.status&&this.componentType()===d.ComponentType.LA&&(a=!0,this.historicalData=o.moneyFundLiquidity.moneyFundLiquidityList,this.setChartData(),this.status.set(d.ComponentStatus.LOADED)),"loaded"===o?.shadowNav?.status&&this.componentType()===d.ComponentType.HSN&&(a=!0,this.historicalData=o.shadowNav.moneyFundLiquidityList,this.setChartData(),this.status.set(d.ComponentStatus.LOADED)),this.status.set(a?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};setChartData(){this.maxDateSignal.set(this.historicalData[0]?.asOfDateStd),this.minDateSignal.set(this.historicalData.at(-1)?.asOfDateStd),this.asOfDateSignal.set(this.historicalData[0]?.asOfDate??""),this.filterPricingHistory({selectedToggleRange:X.Zl.SIX_MONTHS})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-pricing-shadownav-liquidity"]],hostAttrs:["data-gtm-component","product-pricing-shadownav-liquidity"],inputs:{componentType:[1,"componentType"]},features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],["data-testid","pricing-tabs-nav-header",1,"border-b-nc1-200","mb-4","border-b-2"],[3,"placement"],[1,"text-xl","font-bold","lg:text-2xl"],[3,"placement","componentId"],["data-testid","pricing-tabs-nav-chart",1,"md:block",3,"chartConfig","chartData"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,VC,12,10),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,d.ComponentStatusComponent,d.FootnoteComponent,d.TranslatePipe,K.j],encapsulation:2,changeDetection:0})}return n})(),Kx=(()=>{class n extends U{loggerName="SharePricesComponent";translateService=(0,t.WQX)(u.c$);asOfDateSignal=(0,t.vPA)("");get asOfDate(){return this.asOfDateSignal.asReadonly()}asOfDateOutput=(0,t.CGW)();itemsSignal=(0,t.vPA)([]);get items(){return this.itemsSignal.asReadonly()}rightColumnItemsSignal=(0,t.vPA)([]);get rightColumnItems(){return this.rightColumnItemsSignal.asReadonly()}showMarketPrice=(0,t.hFB)(!1);getSections=()=>this.showMarketPrice()?{fetchShareClass:{pricingDetails:{coreNav:!0,offerPriceValue:!0,marketPrice:!0}}}:{fetchShareClass:{pricingDetails:{coreNav:!0,offerPriceValue:!0}}};processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a=e.shareClass?.pricingDetails,o=[];this.rightColumnItemsSignal.set([]),this.processCoreNav(a,o,e),this.config().showMoneyMarketPrice&&this.processMoneyMarketPrice(a,o),this.showMarketPrice()&&this.processMarketPrice(a,o),this.config().downloadSettings?.showApplicationPrice&&this.processOfferPriceValue(a,o)};processCoreNav(e,a,o){switch(e?.coreNav?.status){case"loaded":{const i=e.coreNav,r=(0,u.Ei)(o.productId);a.push({label:this.translateService.instant("pds.NAV_VALUE"),val:i.navValue,labelSmallText:this.translateService.instant("products.nav-desc"),caveatPlacement:"NavPriceDistribution"}),r||a.push({label:this.translateService.instant("pds.DAILY_NAV_CHANGE"),val:i.navChangeValue,caveatPlacement:"NavChangePriceDistribution"},{label:this.translateService.instant("pds.DAILY_NAV_CHANGE_PERCENTAGE"),val:i.navChangePercentage,caveatPlacement:"NavChangePercentPriceDistribution"}),this.itemsSignal.set(a),this.asOfDateSignal.set(i.navDate),this.asOfDateOutput.emit(i.navDate),this.status.set(d.ComponentStatus.LOADED);break}case"empty-data":this.status.set(d.ComponentStatus.EMPTY)}}processMarketPrice(e,a){switch(e?.marketPrice?.status){case"loaded":{const o=e.marketPrice;this.showMarketPrice()&&a.push({label:this.translateService.instant("products.market-price-value"),val:o.marketPriceValue,caveatPlacement:"MarketPriceDistribution"},{label:this.translateService.instant("products.market-price-change"),val:o.marketPriceChangeValue,caveatPlacement:"MarketPriceChangeDistribution"},{label:this.translateService.instant("products.market-price-change-percent"),val:o.marketPriceChangePercentage,caveatPlacement:"MarketPriceChangePercentDistribution"}),this.itemsSignal.set(a),this.status.set(d.ComponentStatus.LOADED);break}case"empty-data":this.status.set(d.ComponentStatus.EMPTY)}}processOfferPriceValue(e,a){switch(e?.offerPriceValue?.status){case"loaded":if(this.config().downloadSettings?.showPop){const o=e.offerPriceValue.popValue;a.push({label:this.translateService.instant("products.POP_VALUE"),val:o,caveatPlacement:"PopPriceDistribution",labelSmallText:this.translateService.instant("products.pop-desc")}),this.itemsSignal.set(a)}this.status.set(d.ComponentStatus.LOADED);break;case"empty-data":this.status.set(d.ComponentStatus.EMPTY)}}processMoneyMarketPrice(e,a){switch(e?.coreNav?.status){case"loaded":this.addMoneyMarketCoreNavItems(e.coreNav,a),this.status.set(d.ComponentStatus.LOADED);break;case"empty-data":this.status.set(d.ComponentStatus.EMPTY)}switch(e?.common?.status){case"loaded":this.addMoneyMarketCommonItems(e.common,a),this.status.set(d.ComponentStatus.LOADED);break;case"empty-data":this.status.set(d.ComponentStatus.EMPTY)}}addMoneyMarketCoreNavItems(e,a){const o=[];e.marketToMarketNav&&o.push({label:this.translateService.instant("pds.MTM_NAV"),val:e.marketToMarketNav,caveatPlacement:"MoneyFundMarketNavDistribution"}),e.marketToMarketNavChg&&o.push({label:this.translateService.instant("pds.MTM_NAV_CHG"),val:e.marketToMarketNavChg,caveatPlacement:"MoneyFundNavChangeDistribution"}),o.length>0?this.rightColumnItemsSignal.set(o):(e.moneyFundNav&&a.push({label:this.translateService.instant("products.Fund-Level-Market-Nav"),val:e.moneyFundNav,caveatPlacement:"MoneyFundNavDistribution"}),e.moneyFundMarketNav&&a.push({label:this.translateService.instant("products.Master-Fund-Level-Market-Nav"),val:e.moneyFundMarketNav,caveatPlacement:"MonetFundMarketNavDistribution"}))}addMoneyMarketCommonItems(e,a){e.dailyLiquidAssetRatio&&a.push({label:this.translateService.instant("products.Liquid-Asset-Daily"),val:e.dailyLiquidAssetRatio,caveatPlacement:"LiquidAssetsDailyOverview"}),e.weeklyLiquidAssetRatio&&a.push({label:this.translateService.instant("products.Liquid-Asset-Wee
1kly"),val:e.weeklyLiquidAssetRatio,caveatPlacement:"LiquidAssetsWeeklyOverview"})}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-share-prices"]],hostAttrs:["data-gtm-component","product-share-prices"],inputs:{showMarketPrice:[1,"showMarketPrice"]},outputs:{asOfDateOutput:"asOfDateOutput"},features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],["placement","DailyPricesProximalTop"],[1,"border-b-nc1-200","mb-4","border-b-2"],[1,"text-xl","font-bold","lg:text-2xl"],["placement","DailyFundPricesPriceDistribution",3,"componentId"],[1,"grid","grid-cols-1","gap-4","lg:grid-cols-2","lg:gap-3"],[1,"mb-0","flex","flex-col"],[1,"flex","justify-between",3,"ngClass"],[1,"flex"],[3,"placement","componentId"],[1,"text-right"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,e0,12,9),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,d.FootnoteComponent,d.ComponentStatusComponent,d.ProximalComponent,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})(),tD=(()=>{class n extends U{loggerName="WeekRangeComponent";translateService=(0,t.WQX)(u.c$);showMarketPrice=(0,t.hFB)(!1);items=(0,t.vPA)([]);getSections=()=>this.showMarketPrice()?{fetchShareClass:{pricingDetails:{coreNav:!0,marketPrice:!0}}}:{fetchShareClass:{pricingDetails:{coreNav:!0}}};processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a=[],o=e.shareClass?.pricingDetails;switch(this.logger.debug(this.loggerName,"status",o?.coreNav?.status),o?.coreNav?.status){case"loaded":{const i=o.coreNav;a.push({label:this.translateService.instant("pds.HIGH_NAV_VALUE_YTD"),val:i.highestNavValueIn52Weeks,labelSmallText:i.highestNavValueDateIn52Weeks?this.translateService.instant("products.as-of")+` ${i.highestNavValueDateIn52Weeks}`:void 0,caveatPlacement:"HighestNavPrice"}),a.push({label:this.translateService.instant("pds.LOW_NAV_VALUE_YTD"),val:i.lowestNavValueIn52Weeks,labelSmallText:i.lowestNavValueDateIn52Weeks?this.translateService.instant("products.as-of")+` ${i.lowestNavValueDateIn52Weeks}`:void 0,caveatPlacement:"LowestNavPrice"}),this.status.set(d.ComponentStatus.LOADED);break}case"empty-data":this.status.set(d.ComponentStatus.EMPTY)}this.setMarketPrice(o?.marketPrice,a)};setMarketPrice(e,a){switch(e?.status){case"loaded":a.push({label:this.translateService.instant("products.highest-market-price"),val:e.highestMarketPriceValueIn52Weeks,labelSmallText:e.highestMarketPriceValueDateIn52Weeks?this.translateService.instant("products.as-of")+` ${e.highestMarketPriceValueDateIn52Weeks}`:void 0,caveatPlacement:"HighestMarketPrice"}),a.push({label:this.translateService.instant("products.lowest-market-price"),val:e.lowestMarketPriceValueIn52Weeks,labelSmallText:e.lowestMarketPriceValueDateIn52Weeks?this.translateService.instant("products.as-of")+` ${e.lowestMarketPriceValueDateIn52Weeks}`:void 0,caveatPlacement:"LowestMarketPrice"}),this.status.set(d.ComponentStatus.LOADED);break;case"empty-data":this.status.set(d.ComponentStatus.EMPTY)}this.items.set(a)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-week-range"]],hostAttrs:["data-gtm-component","product-week-range"],inputs:{showMarketPrice:[1,"showMarketPrice"]},features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],["data-testid","week-range-header",1,"border-b-nc1-200","mb-4","flex","justify-between","border-b-2"],["data-testid","week-range-heading",1,"text-xl","font-bold","lg:text-2xl"],["placement","WeekRangePrice",3,"componentId"],["data-testid","week-range-list",1,"mb-0","flex","flex-col"],[1,"flex","justify-between",3,"ngClass"],[1,"flex"],[3,"placement","componentId"],[1,"text-right"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,i0,8,4),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,d.FootnoteComponent,d.ComponentStatusComponent,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})(),eD=(()=>{class n extends U{loggerName="ProductSummaryComponent";translateService=(0,t.WQX)(u.c$);tenderOfferClarion=[];tenderOfferLexington=[];hidePerformance=!1;productSummaryInfo=(0,t.vPA)([]);getOptInInceptionDateFetchField=e=>e.showInceptionDate?{fetchShareClassDetail:!0}:{};getOptInAumAndInceptionDateFetchFields=e=>({...this.getOptInInceptionDateFetchField(e),...e.showAum?{fetchAum:!0}:{}});getSections=e=>{switch(this.logger.debug(this.loggerName,"config",e),e.productType){case"Managed Accounts":return{fetchCommonData:!0,fetchShareClass:{performance:{performance:{monthEnd:{NET:{CUMULATIVE:!0},PUREGROSS:{CUMULATIVE:!0},GROSS:{CUMULATIVE:!0}},quarterEnd:{NET:{CUMULATIVE:!0},PUREGROSS:{CUMULATIVE:!0},GROSS:{CUMULATIVE:!0}}}}}};case"Interval Funds":return{fetchCommonData:!0,fetchPortfolio:{hasStatisticsAndPositions:!0},fetchShareClass:{fetchFundFacts:!0,fetchSalesChargeBreakPoint:!0,...this.getOptInAumAndInceptionDateFetchFields(e.productSummaryCalcTypeVisibility),performance:{performance:{monthEnd:{NET:{AVG_ANNUAL:!0}}}}}};case"Tender Offer Funds":return{fetchCommonData:!0,fetchPortfolio:{hasStatisticsAndPositions:!0},fetchShareClass:{fetchSalesChargeBreakPoint:!0,fetchFundFacts:!0,performance:{performance:{monthEnd:{NET:{CUMULATIVE:!0},POP:{AVG_ANNUAL:!0}}}},pricingDetails:{coreNav:!0},fetchAum:!0}};case"Closed-End Funds":return{fetchShareClass:{fetchSalesChargeBreakPoint:!0,pricingDetails:{common:!0,coreNav:!0,marketPrice:!0}}};case"Money Market Funds":return{fetchShareClass:{...this.getOptInAumAndInceptionDateFetchFields(e.productSummaryCalcTypeVisibility),pricingDetails:{coreNav:!0,common:!0}}};case"529 Portfolios":return{fetchCommonData:!0,fetchShareClass:{performance:{performance:{monthEnd:{NET:{CUMULATIVE:!0}}}},pricingDetails:{coreNav:!0,offerPriceValue:!0},fetchAum:!0,fetchRatings:!0}};case"Mutual Funds":return{fetchCommonData:!0,fetchShareClass:{fetchFundFacts:!0,...this.getOptInInceptionDateFetchField(e.productSummaryCalcTypeVisibility),performance:{performance:{monthEnd:{NET:{CUMULATIVE:!0}}}},pricingDetails:{coreNav:!0},fetchAum:!0,fetchRatings:!0}};case"ETFs":return{fetchCommonData:!0,fetchShareClass:{fetchIdentifiers:!0,performance:{performance:{monthEnd:{NET:{CUMULATIVE:!0}}}},pricingDetails:{coreNav:!0},fetchAum:!0,fetchRatings:!0}};default:return{fetchCommonData:!0,fetchShareClass:{performance:{performance:{monthEnd:{NET:{CUMULATIVE:!0}}}},pricingDetails:{coreNav:!0},fetchAum:!0,fetchRatings:!0}}}};processData=e=>{this.logger.debug(this.loggerName,"processData()",e),this.tenderOfferClarion=this.config().clarionFunds,this.tenderOfferLexington=this.config().lexingtonFunds;const a=this.processHandlers[this.config().productType];a?a(e):this.processDefault(e)};processHandlers={"Managed Accounts":e=>this.processSMA(e),"Interval Funds":e=>this.processIntervalFunds(e),"Tender Offer Funds":e=>this.processTenderOfferFunds(e),"Closed-End Funds":e=>this.processClosedEndFunds(e),"Money Market Funds":e=>
1this.processMoneyMarketFunds(e),"529 Portfolios":e=>this.process529Portfolios(e),"Collective Investment Trust":e=>this.processCollectiveInvestmentTrust(e),"Variable Insurance":e=>this.processVariableInsurance(e),"Mutual Funds":e=>this.processMutualFunds(e),ETFs:e=>this.processETFs(e)};processVariableInsurance=e=>{"empty-data"===e.shareClass?.performance?.performance?.status&&(this.hidePerformance=!0);let a=[];if(this.logger.debug(this.loggerName,"processVariableInsurance()",a),"loaded"===e.shareClass?.pricingDetails?.coreNav?.status){const o=this.getNavValueDetails(e.shareClass.pricingDetails.coreNav,this.config().productSummaryCalcTypeVisibility.showNav);o&&a.push(o)}if("loaded"===e.shareClass?.pricingDetails?.coreNav?.status){const o=this.getYtdTotalReturnsDetails(e.shareClass.pricingDetails.coreNav);o&&(a=a.concat(o))}if("loaded"===e.shareClass?.aum?.status){const o=this.getTotalAssetDetails(e.shareClass.aum);o&&(a=a.concat(o))}this.productSummaryInfo.set(a),this.status.set(a.length?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};processMutualFunds=e=>{"empty-data"===e.shareClass?.performance?.performance?.status&&(this.hidePerformance=!0);const a=this.config().productSummaryCalcTypeVisibility,o=[...this.collectCoreMutualFundSummary(e,a),...this.collectExtendedMutualFundSummary(e,a)];this.logger.debug(this.loggerName,"processMutualFunds()",o),this.productSummaryInfo.set(o),this.status.set(o.length?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};collectCoreMutualFundSummary(e,a){const o=[],i=e.shareClass?.pricingDetails?.coreNav;return"loaded"===i?.status&&(this.pushDetail(o,this.getNavValueDetails(i,a.showNav)),a.showNav&&!a.showDistributionType&&this.pushDetail(o,this.getYtdTotalReturnsDetail
1s(i))),"loaded"===e.shareClass?.aum?.status&&a.showTotalNetAssets&&this.pushDetail(o,this.getTotalAssetDetails(e.shareClass.aum)),"loaded"===e.shareClass?.fundFacts?.status&&this.pushDetail(o,this.getDistributionTypeDetails(e.shareClass.fundFacts.data,a.showDistributionType)),o}collectExtendedMutualFundSummary(e,a){const o=this.collectAumAndInceptionDateSummary(e,a);return"loaded"===e.shareClass?.ratings?.status&&a.showMorningstarRating&&this.pushDetail(o,this.getRatingDetails(e.shareClass.ratings)),o}collectAumAndInceptionDateSummary(e,a){const o=[],i=e.shareClass?.aum;return a.showAum&&"loaded"===i?.status&&this.pushDetail(o,this.getAumDetails(i,a.showAum)),a.showInceptionDate&&"loaded"===e.shareClass?.detail?.status&&this.pushDetail(o,this.getInceptionDateDetails(e.shareClass.detail,a.showInceptionDate)),o}pushDetail(e,a){a&&(Array.isArray(a)?e.push(...a):e.push(a))}processETFs=e=>{"empty-data"===e.shareClass?.performance?.performance?.status&&(this.hidePerformance=!0);const a=[],o=this.config().productSummaryCalcTypeVisibility;this.logger.debug(this.loggerName,"processETFs()",a),this.addEtfNavDetail(a,e,o.showNav),this.addEtfYtdDetail(a,e,o.showTicker),this.addEtfTickerDetail(a,e,o.showTicker),this.addEtfTotalNetAssetsDetail(a,e,o.showTicker),this.addEtfRatingsDetail(a,e),this.productSummaryInfo.set(a),this.status.set(a.length?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};addEtfNavDetail(e,a,o){const i=a.shareClass?.pricingDetails?.coreNav;"loaded"===i?.status&&this.pushDetail(e,this.getNavValueDetails(i,o))}addEtfYtdDetail(e,a,o){const i=a.shareClass?.pricingDetails?.coreNav;o||"loaded"!==i?.status||this.pushDetail(e,this.getYtdTotalReturnsDetail
1s(i))}addEtfTickerDetail(e,a,o){!o||"loaded"!==a.shareClass?.identifiers?.status||this.pushDetail(e,this.getTickerDetails(a.shareClass.identifiers))}addEtfTotalNetAssetsDetail(e,a,o){o||"loaded"!==a.shareClass?.aum?.status||this.pushDetail(e,this.getTotalAssetDetails(a.shareClass.aum))}addEtfRatingsDetail(e,a){"loaded"===a.shareClass?.ratings?.status&&this.pushDetail(e,this.getRatingDetails(a.shareClass.ratings))}getAumDetails(e,a){if(a&&e.totalNetAssets)return{id:"summary-item-"+(0,N.A)(),label:this.translateService.instant("products.aum"),value:this.abbreviateText(e.totalNetAssets),asOfDate:`${this.translateService.instant("products.as-of")} ${e.asOfDate??""}`}}getInceptionDateDetails(e,a){if(a&&e.inceptionDate)return{id:"summary-item-"+(0,N.A)(),label:this.translateService.instant("products.inception-date"),value:e.inceptionDate}}getTickerDetails(e){if(e.ticker)return{id:"summary-item-"+(0,N.A)(),label:this.translateService.instant("products.identifier-ticker"),value:e.ticker}}processMoneyMarketFunds=e=>{const a=[];if("loaded"===e.shareClass?.pricingDetails?.coreNav?.status){const o=this.getNavValueDetails(e.shareClass.pricingDetails.coreNav,this.config().productSummaryCalcTypeVisibility.showMoneyFundnav,"moneyFundNav","navChangeValue"),i=this.getMarketToMarketNav(e.shareClass.pricingDetails.coreNav,this.config().productSummaryCalcTypeVisibility.showMarketToMarketNav,"marketToMarketNav"),r=this.getMarketToMarketNav(e.shareClass.pricingDetails.coreNav,this.config().productSummaryCalcTypeVisibility.showMarketToMarketNav,"marketToMarketNavChg");o&&a.push(o),i&&a.push(i),r&&a.push(r);const l=this.getFundLevelMarketNav(e.shareClass.pricingDetails.coreNav,this.config().productSummaryCalcTypeVisibility.showFundLevelMarket);l&&a.push(l)}if("loaded"===e.shareClass?.pricingDetails?.common?.status&&"loaded"===e.shareClass.pricingDetails.coreNav?.status){const o=this.getFundLiquidityAssets(e.shareClass.pricingDetails.common,e.shareClass.pricingDetails.coreNav.moneyFundAsOfDate,this.config().productSummaryCalcTypeVisibility.showLiquidAssetDaily||this.config().productSummaryCalcTypeVisibility.showLiquidAssetWeekly);o&&a.push(...o)}a.push(...this.collectAumAndInceptionDateSummary(e,this.config().productSummaryCalcTypeVisibility)),a.length&&(this.logger.debug(this.loggerName,"processMoneyMarketFunds()",a),this.productSummaryInfo.set(a)),this.status.set(a.length?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};processSMA=e=>{const a=[];if("loaded"===e.shareClass?.performance?.performance?.status){const o=e.shareClass.performance.performance,i=this.getPerformanceDetails(o.quarterEnd?.NET?.CUMULATIVE?.[0],"products.Ytd-Total-Returns-at-NET",this.config().productSummaryCalcTypeVisibility.showNet,!0);i&&a.push(i);const r=this.getPerformanceDetails(o.quarterEnd?.PUREGROSS?.CUMULATIVE?.[0],"products.Ytd-Total-Returns-at-PURE-GROSS",this.config().productSummaryCalcTypeVisibility.showPureGross);r&&a.push(r);const l=this.getPerformanceDetails(o.quarterEnd?.GROSS?.CUMULATIVE?.[0],"products.Ytd-Total-Returns-at-GROSS",this.config().productSummaryCalcTypeVisibility.showGross);l&&a.push(l),this.logger.debug(this.loggerName,"processSMA()",a),this.productSummaryInfo.set(a)}this.status.set(a.length?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};processClosedEndFunds=e=>{const a=[];if("loaded"===e.shareClass?.pricingDetails?.coreNav?.status){const o=this.getNavValueDetails(e.shareClass.pricingDetails.coreNav,this.config().productSummaryCalcTypeVisibility.showNav);o&&a.push(o)}if("loaded"===e.shareClass?.pricingDetails?.marketPrice?.status){const o=this.getMarketPriceDetails(e.shareClass.pricingDetails.marketPrice,this.config().productSummaryCalcTypeVisibility.showMarketPrice);o&&a.push(o)}if("loaded"===e.shareClass?.pricingDetails?.common?.status){const o=this.getPremiumDiscountPercent(e.shareClass.pricingDetails.common,this.config().productSummaryCalcTypeVisibility.showPremiumDiscount);o&&a.push(o)}if("loaded"===e.shareClass?.saleschargebreakpoints?.status){const o=this.getDistributionRateAtMarketPrice(e.shareClass.saleschargebreakpoints,this.config().productSummaryCalcTypeVisibility.showDistributionRateAtMarketPrice);o&&a.push(o)}this.productSummaryInfo.set(a),this.status.set(a.length?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};processIntervalFunds=e=>
1{"empty-data"===e.shareClass?.performance?.performance?.status&&(this.hidePerformance=!0);const a=[];if("loaded"===e.shareClass?.saleschargebreakpoints?.status){const o=this.getDistributionRateAtNavValueDetails(e.shareClass.saleschargebreakpoints,this.config().productSummaryCalcTypeVisibility.showDistributionRateAtNav);o&&a.push(o)}if("loaded"===e.portfolio?.statisticsAndPositions?.status){const o=this.getPortfolioOccupancyDetails(e.portfolio.statisticsAndPositions.statistics.filter(l=>"CPREIF_OCCUPANCY"===l.id),this.config().productSummaryCalcTypeVisibility.showPortfolioOccupancy);o&&a.push(o);const i={data:e.portfolio.statisticsAndPositions.statistics.filter(l=>"FLOATING_RATE_PCT"===l.id)},r=this.getFloatingRateDetails(i.data,this.config().productSummaryCalcTypeVisibility.showFloatingRate);r&&a.push(r)}if("loaded"===e.shareClass?.performance?.performance?.status){const i=this.getAnnualizedReturnSinceInceptionDetails(e.shareClass.performance.performance.monthEnd?.NET?.AVG_ANNUAL??[],this.config().productSummaryCalcTypeVisibility.showAnnualizedReturnSinceInception);i&&a.push(i)}a.push(...this.collectAumAndInceptionDateSummary(e,this.config().productSummaryCalcTypeVisibility)),this.productSummaryInfo.set(a),this.status.set(a.length?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};processTenderOfferFunds=e=>{"empty-data"===e.shareClass?.performance?.performance?.status&&(this.hidePerformance=!0);const a=e.shareClass?.productShareClassCode,i=this.getTenderOfferVariants(a).flatMap(r=>this.processTenderOfferByVariant(e,r));this.productSummaryInfo.set(i),this.status.set(i.length?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};processTenderOfferClarionFunds=e=>this.processTenderOfferVariant(e,"clarion");processTenderOfferLexingtonFunds=e=>this.processTenderOfferVariant(e,"lexington");processTenderOfferVariant(e,a){const o=this.config().productSummaryCalcTypeVisibility,i="clarion"===a?this.getTenderOfferClarionDetails(e,o):this.getTenderOfferLexingtonDetails(e,o);if("loaded"!==e.shareClass?.performance?.performance?.status)return i;const r=this.getTenderOfferPerformanceDetails(e,a);return r?[...i,r]:i}processTenderOfferByVariant(e,a){return"clarion"===a?this.processTenderOfferClarionFunds(e):this.processTenderOfferLexingtonFunds(e)}getTenderOfferVariants(e){if(!e)return[];const a=[];return this.tenderOfferClarion.includes(e)&&a.push("clarion"),this.tenderOfferLexington.includes(e)&&a.push("lexington"),a}getTenderOfferClarionDetails(e,a){const o=[];if("loaded"===e.portfolio?.statisticsAndPositions?.status){const i=this.getPortfolioOccupancyDetails(e.portfolio.statisticsAndPositions.statistics.filter(r=>"CPREIF_OCCUPANCY"===r.id),a.showPortfolioOccupancy);i&&o.push(i)}if("loaded"===e.shareClass?.saleschargebreakpoints?.status){const i=this.getDistributionRateAtNavValueDetails(e.shareClass.saleschargebreakpoints,a.showDistributionRateAtNav);i&&o.push(i)}return o}getTenderOfferLexingtonDetails(e,a){const o=[];return this.addTenderOfferLexingtonNav(o,e,a),this.addTenderOfferLexingtonAum(o,e,a),o}addTenderOfferLexingtonNav(e,a,o){if("loaded"!==a.shareClass?.pricingDetails?.coreNav?.status)return;const i=this.getNavValueDetails(a.shareClass.pricingDetails.coreNav,o.showNav);i&&e.push(i)}addTenderOfferLexingtonAum(e,a,o){if(!o.showTotalNetAssets||"loaded"!==a.shareClass?.aum?.status)return;const i=this.getTotalAssetDetails(a.shareClass.aum);i?.length&&e.push(...i)}getTenderOfferPerformanceDetails(e,a){const o=this.config().productSummaryCalcTypeVisibility,i=this.getTenderOfferPopPerformanceData(e);if(i)return this.getAnnualizedReturnSinceInceptionDetails(i.popAvgAnnual,"clarion"===a?o.showAnnualizedReturnSinceInception:o.showSinceInceptionTotalReturn)}getTenderOfferPopPerformanceData(e){if("loaded"===e.shareClass?.performance?.performance?.status)return{popAvgAnnual:this.getTypedPerformanceData(e.shareClass.performance.performance.monthEnd?.POP?.AVG_ANNUAL,this.isAverageAnnualPerformanceData),popCumulative:this.getTypedPerformanceData(e.shareClass.performance.performance.monthEnd?.POP?.CUMULATIVE,this.isCumulativePerformanceData)}}getTypedPerformanceData(e,a){return e?.length?e.filter(a):[]}isAverageAnnualPerformanceData=e=>"sinceInception"in e;isCumulativePerformanceData=e=>"sinceInception"in e;process529Portfolios=e=>
1{"empty-data"===e.shareClass?.performance?.performance?.status&&(this.hidePerformance=!0);const a=[];if("loaded"===e.shareClass?.pricingDetails?.coreNav?.status){const o=this.getNavValueDetails(e.shareClass.pricingDetails.coreNav,this.config().productSummaryCalcTypeVisibility.showNav,"navValue","navChangeValue");o&&a.push(o)}if("loaded"===e.shareClass?.pricingDetails?.offerPriceValue?.status){const o=this.getPopDetails(e.shareClass.pricingDetails.offerPriceValue,this.config().productSummaryCalcTypeVisibility.showPop);o&&a.push(o)}if("loaded"===e.shareClass?.pricingDetails?.coreNav?.status&&e.shareClass.pricingDetails.coreNav.navYearToDateReturn){const o=this.getYtdReturnsDetails(e.shareClass.pricingDetails.coreNav,this.config().productType,this.config().productSummaryCalcTypeVisibility.showNavYTD);o&&a.push(o)}if("loaded"===e.shareClass?.ratings?.status){const o=this.getRatingDetails(e.shareClass.ratings);o&&a.push(o)}this.productSummaryInfo.set(a),this.status.set(a.length?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};processCollectiveInvestmentTrust=e=>{"empty-data"===e.shareClass?.performance?.performance?.status&&(this.hidePerformance=!0);const a=[];if(this.logger.debug(this.loggerName,"processDefault()",a),"loaded"===e.shareClass?.pricingDetails?.coreNav?.status){const o=this.getNavValueDetails(e.shareClass.pricingDetails.coreNav,this.config().productSummaryCalcTypeVisibility.showNav);o&&a.push(o)}if("loaded"===e.shareClass?.pricingDetails?.coreNav?.status&&e.shareClass.pricingDetails.coreNav.navYearToDateReturn){const o=this.getYtdReturnsDetail
1s(e.shareClass.pricingDetails.coreNav,this.config().productType,this.config().productSummaryCalcTypeVisibility.showNavYTD);o&&a.push(o)}if("loaded"===e.shareClass?.ratings?.status){const o=this.getRatingDetails(e.shareClass.ratings);o&&a.push(o)}this.productSummaryInfo.set(a),this.status.set(a.length?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};getPerformanceDetails(e,a,o,i){if(!e||!o)return;const r=e;if(!r.yearToDate)return;const l={id:"summary-item-"+(0,N.A)(),label:this.translateService.instant(a),value:r.yearToDate+"%"};return i&&(l.asOfDate=`${this.translateService.instant("products.as-of")} ${e.asOfDate}`),l}processDefault=e=>{"empty-data"===e.shareClass?.performance?.performance?.status&&(this.hidePerformance=!0);let a=[];if(this.logger.debug(this.loggerName,"processDefault()",a),"loaded"===e.shareClass?.pricingDetails?.coreNav?.status){const o=this.getNavValueDetails(e.shareClass.pricingDetails.coreNav,this.config().productSummaryCalcTypeVisibility.showNav);o&&a.push(o)}if("loaded"===e.shareClass?.pricingDetails?.coreNav?.status){const o=this.getYtdTotalReturnsDetail
1s(e.shareClass.pricingDetails.coreNav);o&&(a=a.concat(o))}if("loaded"===e.shareClass?.aum?.status){const o=this.getTotalAssetDetails(e.shareClass.aum);o&&(a=a.concat(o))}if("loaded"===e.shareClass?.ratings?.status){const o=this.getRatingDetails(e.shareClass.ratings);o&&a.push(o)}this.productSummaryInfo.set(a),this.status.set(a.length?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};getDistributionRateAtNavValueDetails(e,a){if(!a)return;const o=e.distributionRateBreakPoints?.filter(i=>"Distribution Rate at NAV"===i.breakPointYearPercentage)[0];return{id:"summary-item-"+(0,N.A)(),label:`${this.translateService.instant("products.distribution-rate-nav")}`,asOfDate:`${this.translateService.instant("products.as-of")} ${o?.asOfDate??""}`,value:o?.distributionRateBreakPoint??"",footnote:"overview-DISTRIBUTION_RATE_AT_NAV-fund-information"}}getPremiumDiscountPercent(e,a){if(!a)return;const o=e.premiumDiscountPct;return{id:"summary-item-"+(0,N.A)(),label:`${this.translateService.instant("products.premium-discount-title")}`,value:o??"",footnote:"PremiumDiscountOverview"}}getDistributionRateAtMarketPrice(e,a){if(!a)return;const o=e.distributionRateBreakPoints?.filter(i=>"Distribution Rate at Market Price"===i.breakPointYearPercentage)[0];return{id:"summary-item-"+(0,N.A)(),label:`${this.translateService.instant("products.distribution-rate-market-price")}`,value:o?.distributionRateBreakPoint??"",footnote:"overview-DISTRIBUTION_RATE_AT_MARKET_PRICE-fund-information"}}getMarketToMarketNav(e,a,o="marketToMarketNav"){if(!a)return;const i=e[o];if(!i)return;const r="marketToMarketNav"===o;return{id:"summary-item-"+(0,N.A)(),label:this.translateService.instant("marketToMarketNav"===o?"pds.MTM_NAV":"pds.MTM_NAV_CHG"),value:i,asOfDate:`${this.translateService.instant("products.as-of")} ${e.navAsOfDateStd}`,footnote:r?"MarketToMarketNav":"MarketToMarketNavChg"}}getMarketPriceDetails(e,a){if(!a)return;const i="Closed-End Funds"===this.config().productType&&void 0!==e.marketPriceChangeValue&&(0,u.gf)(e.marketPriceChangeValue),r={id:"summary-item-"+(0,N.A)(),label:`${this.translateService.instant("products.market-price")}`,value:e.marketPriceValue??"",asOfDate:`${this.translateService.instant("products.as-of")} ${e.marketPriceAsOfDate}`,footnote:"MarketPriceOverview"};return i&&(r.badge={valueDirection:this.getValueDirection(e.marketPriceChangeValue),amount:e.marketPriceChangeValue,percentage:e.marketPriceChangePercentage}),r}getFloatingRateDetails(e,a){if(!a||e.length<1)return;const o=e[0];return{id:"summary-item-"+(0,N.A)(),label:o?.label??"",value:o?.val??"",asOfDate:`${this.translateService.instant("products.as-of")} ${o?.asOfDate??""}`,footnote:"FloatingRateOverview",tooltip:{tooltipTitle:this.translateService.instant("products.floating-rate-title-tooltip"),tooltipPlacement:J.Qy.AUTO}}}getPortfolioOccupancyDetails(e,a){if(!a||e.length<1)return;const o=e[0];return{id:"summary-item-"+(0,N.A)(),label:o?.label??"",value:o?.val??"",asOfDate:`${this.translateService.instant("products.as-of")} ${o?.asOfDate??""}`,footnote:"PortfolioOccupancyOverview"}}getAnnualizedReturnSinceInceptionDetails(e,a){if(!a||e.length<1)return;const o=e[0];return{id:"summary-item-"+(0,N.A)(),label:`${this.translateService.instant("products.annualized-return-since-inception")}`,value:o.sinceInception??"",asOfDate:`${this.translateService.instant("products.as-of")} ${o.asOfDate??""}`,footnote:"AnnualizedReturnSinceInceptionOverview"}}getNavValueDetails(e,a,o="navValue",i="navChangeValue"){if(!a)return;const r=void 0!==e[i]&&(0,u.gf)(e[i]),l={id:"summary-item-"+(0,N.A)(),label:this.translateService.instant("pds.NAV_VALUE"),value:e[o],asOfDate:`${this.translateService.instant("products.as-of")} ${e.navAsOfDateStd}`,footnote:"NavOverview"};return r&&(l.badge={valueDirection:this.getValueDirection(e[i]),amount:e[i],percentage:e.navChangePercentage}),l}getFundLevelMarketNav(e,a){if(a)return{id:"summary-item-"+(0,N.A)(),label:this.translateService.instant("products.Fund-Level-Market-Nav"),value:e.moneyFundNav,asOfDate:`${this.translateService.instant("products.as-of")} ${e.moneyFundAsOfDate}`,footnote:"FundLevelMarketNavOverview"}}getFundLiquidityAssets(e,a,o){if(!o)return;const i=[];return e.dailyLiquidAssetRatio&&i.push({id:"summary-item-"+(0,N.A)(),label:this.translateService.instant("products.Liquid-Asset-Daily"),value:e.dailyLiquidAssetRatio,asOfDate:`${this.translateService.instant("products.as-of")} ${a}`,footnote:"LiquidAssetsDailyOverview"}),e.weeklyLiquidAssetRatio&&i.push({id:"summary-item-"+(0,N.A)(),label:this.translateService.instant("products.Liquid-Asset-Wee
1kly"),value:e.weeklyLiquidAssetRatio,asOfDate:`${this.translateService.instant("products.as-of")} ${a}`,footnote:"LiquidAssetsWeeklyOverview"}),i}getPopDetails(e,a){if(a&&e)return{id:"summary-item-"+(0,N.A)(),label:this.translateService.instant("products.pricing-pop"),value:e.popValue,footnote:"POPOverview"}}getYtdReturnsDetails(e,a,o){if(o&&e.navYearToDateReturn)return{id:"summary-item-"+(0,N.A)(),label:"529 Portfolios"===a?this.translateService.instant("products.ytd-total-returns"):this.translateService.instant("products.ytd-total-returns")+" "+this.translateService.instant("products.At-Nav"),value:e.navYearToDateReturn,footnote:"YtdTotalReturnsNavOverview"}}getValueDirection(e){const a=(0,u.cG)(e);if(a){if(a>0)return"gain";if(a<0)return"loss"}return"static"}getYtdTotalReturnsDetails(e){return!e.navYearToDateReturn||"ETFs"!==this.config().productType&&(this.hidePerformance||"Variable Insurance"===this.config().productType)?void 0:[{id:"summary-item-"+(0,N.A)(),label:this.translateService.instant("products.ytd-total-returns")+" "+this.translateService.instant("products.At-Nav"),value:e.navYearToDateReturn,asOfDate:`${this.translateService.instant("products.as-of")} ${e.navAsOfDateStd}`,footnote:"YtdTotalReturnsNavOverview"}]}getTotalAssetDetails(e){return e.totalNetAssets?[{id:"summary-item-"+(0,N.A)(),label:this.translateService.instant("products.total-net-assets"),value:this.abbreviateText(e.totalNetAssets??""),asOfDate:`${this.translateService.instant("products.as-of")} ${e.asOfDate}`+(e.frequency&&""!==e.frequency?` (${this.translateService.instant("products.updated-"+e.frequency.toUpperCase())})`:"")}]:void 0}getDistributionTypeDetails(e,a){if(!a||0===e.length)return;const o=e.find(i=>"SHARECLASS_DISTRIBUTION_CODE"===i.elementNameStd);return o?.elementValue?{id:"summary-item-"+(0,N.A)(),label:this.translateService.instant("products.distribution-type"),value:o.elementValue}:void 0}getRatingDetails(e){if(e.morningStarRatingOverall&&!(e.morningStarRatingOverall<3))return{id:"summary-item-"+(0,N.A)(),label:this.translateService.instant("products.ratings-title"),fragment:"ratings",value:e.morningStarRatingOverall,
1isMorningstar:!0,asOfDate:`${this.translateService.instant("products.as-of")} ${e.asOfDate}`,footnote:"RatingsOverview",tooltip:{tooltipTitle:this.translateService.instant("products.ratings-title-tooltip"),tooltipPlacement:J.Qy.TOP}}}abbreviateText(e){const a={billion:"B",million:"M"};e=e.toLowerCase();for(const[o,i]of Object.entries(a))if(e.includes(o))return e.replace(" ","").replace(o,i);return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-product-summary"]],hostAttrs:["data-gtm-component","product-summary"],features:[t.Vt3],decls:2,vars:2,consts:[["type","product-summary",3,"status"],[1,"bg-pc1-800","before:bg-pc1-800","relative","inline-flex","flex-wrap","justify-start","gap-8","rounded-tr-[5rem]","py-6","pl-10","pr-6","before:absolute","before:left-[-100vw]","before:top-1/2","before:z-[-1]","before:h-full","before:w-[120vw]","before:-translate-y-1/2","before:rounded-[inherit]","before:content-['']","max-sm:w-full","sm:pr-16","md:flex-nowrap","md:gap-10","md:rounded-tr-[6rem]","md:pl-0","xl:mr-24"],["data-testid","summaryItem","role","group",1,"frk-theme--dark","group","max-sm:w-full"],[1,"inline-flex","min-w-max","items-center","gap-1"],[1,"min-w-max","self-start","text-base","group-[.frk-size--small]:text-xs",3,"id","href"],[1,"text-base","group-[.frk-size--small]:text-xs","xl:flex",3,"id"],[3,"placement","componentId"],[1,"badge","badge--rounded","frk-theme--dark","flex","items-start","pt-1"],[1,"min-w-max","self-start","text-base","group-[.frk-size--small]:text-xs",3,"href"],[1,"relative","-ml-2","mt-auto","self-start"],[1,"text-vc1-500","fill-vc1-500","items-centers","mb-1.5","flex","pt-1.5","text-base"],["role","region",1,"text-nc1-950","group-[.frk-theme--dark]:text-nc1-0","text-2xl","font-bold","group-[.frk-layout--horizontal]:flex","group-[.frk-layout--horizontal]:items-center","group-[.frk-size--medium]:text-3xl","group-[.frk-size--small]:text-base","md:text-3xl"],[1,"flex","w-full","flex-col","items-start"],[1,"mt-1","align-bottom","leading-3"],["name","heroArrowDown",3,"size"],["name","heroArrowUp",3,"size"],[1,"-ml-0.5","mr-0.5","self-start","text-base"],[3,"a11yPretext","placement","tooltipTitle","ariaLabel"],[1,"h-4","w-4","sm:h-4","sm:w-4","lg:h-6","lg:w-6"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 95.33 91.92"],["points","65.82 56.74 77.17 91.92 47.66 70.22 18.3 91.92 29.79 56.74 0 34.47 36.6 34.47 47.66 0 58.59 34.47 95.33 34.47 65.82 56.74"],[1,"flex","w-full","flex-col","items-start","leading-5"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,b0,3,0,"section",1),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,d.ComponentStatusComponent,d.FootnoteComponent,d.FragmentLinkPipe,R.zq,R.b6,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})(),nD=(()=>{class n extends U{loggerName="ProductTitleComponent";hideVehicleTypeBadge=(0,t.EWP)(()=>this.config().hideVehicleTypeBadge??!0);showVehicleTypeBadge=(0,t.EWP)(()=>{const e=this.productTitleInfo();return e?.assetClass!==w.Hj.MONEY_FUNDS&&!!e?.vehicletype&&!this.hideVehicleTypeBadge()});productId=(0,t.EWP)(()=>{const{productId:e}=(0,u.Fz)(this.config().productShareClassCode);return e});shareClassCode=(0,t.vPA)(void 0);productTitleInfo=(0,t.vPA)(void 0);allShareClasses=(0,t.vPA)([]);activeShareClasses=(0,t.EWP)(()=>{const e=this.config().activeList;return this.allShareClasses().filter(a=>{if("NA"===a.shareClassCode||"SINGLCLASS"===a.shareClassCode)return!1;if(e){const o=`${this.productId()}-${a.shareClassCode}`;return e.includes(o)}return a.isActive||a.shareClassCode===this.shareClassCode()}).map(a=>({value:a.shareClassCode,label:a.shareClassName})).sort((a,o)=>a.label<o.label?-1:1)});productDescriptionBullets=(0,t.hFB)("");isWatchlistProduct=(0,t.hFB)(!1);patCompareLink=(0,t.hFB)(null);shareClassChange=(0,t.CGW)();watchlistChange=(0,t.CGW)();ngOnInit(){super.ngOnInit();const{shareClassCode:e}=(0,u.Fz)(this.config().productShareClassCode);this.shareClassCode.set(e),this.loadAllShareClasses()}getSections=e=>(this.logger.debug(this.loggerName,"config",e),{fetchCommonData:!0,fetchShareClass:{fetchIdentifiers:!0,...e.useBdrTicker&&{fetchFundFacts:!0}}});isDataReady(e){return"loaded"===e.commonData?.status&&"loaded"===e.shareClass?.identifiers?.status&&(!this.config().useBdrTicker||"loaded"===e.shareClass.fundFacts?.status)}resolveTicker(e,a){if(this.config().useBdrTicker&&"loaded"===e.shareClass?.fundFacts?.status){const o=e.shareClass.fundFacts.data.find(i=>"BDRINFORMATION"===i.sectionStd&&"Ticker Header"===i.elementNameStd);if(o?.elementValue)return o.elementValue}return a.ticker}resolveIdentifier(e,a){const o="loaded"===e.commonData?.status&&e.commonData.assetClass===w.Hj.MONEY_FUNDS;return this.config().useMoneyFundIsin&&o&&a.isin||this.config().useIsinIdentifier&&a.isin?a.isin:this.resolveTicker(e,a)}processData=e=>{if(this.logger.debug(this.loggerName,"processData()",e),this.isDataReady(e)){const a=e.commonData,{identifiers:o}=e.shareClass;this.productTitleInfo.set({productShareClassId:this.config().productShareClassCode,identifier:this.resolveIdentifier(e,o),productName:a.productName,assetClass:a.assetClass,productType:a.productType,vehicletype:a.vehicletype,etfType:a.etfType,fontType:a.productType===w.lM.ETF?"xLarge":"standard"}),this.status.set(d.ComponentStatus.LOADED)}else this.status.set(d.ComponentStatus.EMPTY)};onShareClassSelection(e){this.logger.debug(this.loggerName,"shareClass selected",e);const a=`${this.productId()}-${e}`;this.shareClassChange.emit(a)}
1updateFavourite(){this.logger.debug(this.loggerName,"Add to watchlist clicked");const e=this.productTitleInfo();if(e){const a={productName:e.productName,productType:e.productType,productUrl:this.config().productPageUrl,productShareClassCode:this.config().productShareClassCode};this.watchlistChange.emit(a)}}loadAllShareClasses(){this.products.getShareClassList$(this.productId()).pipe((0,H.pQ)(this.destroyRef),(0,et.W)(e=>this.errorHandler(e))).subscribe({next:e=>{this.logger.debug(this.loggerName,"all share classes loaded",e),"loaded"===e.status&&this.allShareClasses.set(e.data),"empty-data"===e.status&&this.logger.error(this.loggerName,"no shareclass data available for this product",e)},error:e=>{this.logger.error(this.loggerName,"error loading all share classes",e)}})}showCompareButton=(0,t.hFB)(!1);patFundCompareClick=(0,t.CGW)();openPatToolCompare(){this.logger.debug(this.loggerName,"Open PAT Tool Compare clicked on product banner"),this.patFundCompareClick.emit()}static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-product-title"]],hostAttrs:["data-gtm-component","product-title"],inputs:{productDescriptionBullets:[1,"productDescriptionBullets"],isWatchlistProduct:[1,"isWatchlistProduct"],patCompareLink:[1,"patCompareLink"],showCompareButton:[1,"showCompareButton"]},outputs:{shareClassChange:"shareClassChange",watchlistChange:"watchlistChange",patFundCompareClick:"patFundCompareClick"},features:[t.Vt3],decls:2,vars:2,consts:[["type","product-title",3,"status"],[1,"mb-2","flex","items-center","gap-4","md:mb-3"],[1,"select","select--light"],["data-testid","asset-class",1,"text-pc1-800","border-pc1-800","rounded","border","px-2","py-0.5"],[1,"text-pc1-800","mb-2","break-keep","text-2xl","md:mb-3","lg:mb-4"],["data-testid","product-identifier",1,"block","font-bold","sm:mb-2","md:text-3xl","xl:text-4xl",3,"ngClass"],["data-testid","product-name",1,"block","font-normal","md:text-5xl"],[1,"mb-2","flex","h-full","gap-6"],[1,"-ml-2","mb-3","md:mb-4","lg:mb-6","xl:mb-8",3,"innerHTML"],["data-testid","shareClassDropdown","data-gtm-label","shareclass_dropdown","name","ShareClassSelect",3,"ngModelChange","ngModel"],[3,"value"],["data-testid","watchlistBtn","type","button","frkAnalyticsWatchlist","",1,"button","button--action","button--action-icon",3,"click","gtmAttributes"],["type","button","id","product-banner-PAT-fund-compare","data-gtm-label","PAT-compare-fund",1,"button","button--action","button--action-icon"],["name","heroBookmarkSolid",3,"size"],[1,"button__action-icon-text"],["name","heroBookmark",3,"size"],["type","button","id","product-banner-PAT-fund-compare","data-gtm-label","PAT-compare-fund",1,"button","button--action","button--action-icon",3,"click"],["name","heroClipboardDocumentList",3,"size"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,A0,13,8),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM("LOADED"===o.status()?1:-1))},dependencies:[C.MD,C.YU,M.YN,M.xH,M.y7,M.wz,M.BC,M.vS,d.ComponentStatusComponent,d.AnalyticsWatchlistDirective,d.TranslatePipe,R.zq],encapsulation:2,changeDetection:0})}return n})(),aD=(()=>{class n{logger;products=(0,t.WQX)(d.PRODUCTS_SERVICE);loggerName="ProductCardComponent";translateService=(0,t.WQX)(u.c$);destroyRef=(0,t.WQX)(t.abz);config=t.hFB.required();productCardData=(0,t.vPA)(null);get productCard(){return this.productCardData.asReadonly()}learnMoreAnalytics=(0,t.EWP)(()=>{const e=this.productCard();return e?.learnMore?{href:e.learnMore.href,label:`${e.title} | ${e.learnMore.text}`,type:"card"}:null});constructor(e){this.logger=e}ngOnInit(){this.products.getProductCardData$(this.config().productShareClassCode).pipe((0,H.pQ)(this.destroyRef)).subscribe({next:e=>{this.logger.debug(this.loggerName,"received product card data: ",e),this.updateCard(e)},error:e=>{this.logger.error(this.loggerName,"error fetching product card data: ",e)}})}getPercentOrMdash(e){return e?e+"%":u.BX}mapAmountToDisplayValue(e){return e.replace("Billion","bn").replace("Million","mn")}updateCard(e){const a=this.config(),{productId:o,shareClassCode:i}=(0,u.Fz)(a.productShareClassCode),r=[],l=e,c=this.config().getIdentifierKey(l.productTaxonomy),p=l.aum,_=l.shareClass.identifiers[c],E=l.shareClass.performance.quarter_end,y=this.config().getProductPageUrl({fundId:o,shareClassCode:i,fundName:l.fundName,identifier:_,isLitPreview:!1}),L=l.shareClass.shareClassName&&"NA"!==i&&"SINGLCLASS"!==i?`${l.fundName} - ${l.shareClass.shareClassName}`:l.fundName;if(this.config().visibleSections?.includes("assetClass")&&r.push({label:this.translateService.instant("products.asset-class"),value:l.assetClass,footNote:"AssetClass"}),p.totalNetAssets&&this.config().visibleSections?.includes("totalNetAssets")&&r.push({label:this.translateService.instant("products.total-net-assets"),value:this.mapAmountToDisplayValue(p.totalNetAssets),subLabel:`${this.translateService.instant("products.as-of")} ${p.asOfDate}`,footNote:"TotalNetAssets"}),this.config().visibleSections?.includes("inceptionDate")&&r.push({label:this.translateService.instant("products.shareclass-inception-date"),value:l.shareClass.inceptionDate,footNote:"InceptionDate"}),this.config().visibleSections?.includes("dividendFrequency")&&r.push({label:this.translateService.instant("products.dividend-frequency"),value:l.shareClass.dividendFrequencyLocal||l.shareClass.dividendFrequency,footNote:"DividendFrequency"}),this.config().visibleSections?.includes("nav")){const Z=this.translateService.instant("products.as-of");l.shareClass.nav?.navValue&&r.push({label:this.translateService.instant("products.nav"),value:l.shareClass.nav.navValue,subLabel:`${Z} ${l.shareClass.nav.asOfDate}`,footNote:"NavOverview"})}this.config().visibleSections?.includes("quarterlyPerformance")&&E.forEac
1h(Z=>{r.push({label:this.translateService.instant("products.Ytd-Total-Returns-at-"+Z.calcTypeStd),value:this.getPercentOrMdash(Z.cummulativeReturnYearToDate),subLabel:`${this.translateService.instant("products.as-of")} ${Z.asOfDate}`,footNote:"QuarterlyPerformance"})}),this.productCardData.set({...a,cardDetails:r,badge:{text:_===u.BX||"-"===_?"":_},title:L,learnMore:{text:this.translateService.instant("products.learn-more"),href:y??""}})}static \u0275fac=function(a){return new(a||n)(t.rXU(B.L))};static \u0275cmp=t.VBU({type:n,selectors:[["frk-product-card"]],hostAttrs:["data-gtm-component","product-card"],inputs:{config:[1,"config"]},decls:16,vars:10,consts:[[1,"border-nc1-200","bg-nc1-0","relative","flex","h-full","items-start","justify-start","overflow-clip","rounded-xl","border"],[1,"flex","h-full","w-full","flex-1","items-start","justify-start"],[1,"flex","h-full","w-full","flex-col","items-start","justify-between","p-6"],[1,"flex","w-full","flex-1","flex-col","items-start","justify-start","gap-2"],[1,"flex","w-full","flex-wrap","items-center","justify-start","gap-2"],["data-testid","product-card-title",1,"text-xl"],[1,"mb-0",3,"innerHTML"],[1,"mt-auto","w-full","pt-2","text-right"],[1,"mb-0",3,"href","frkCalloutCardAnalytics"],[1,"w-full"],[1,"mb-4","flex","w-full"],[1,"mb-0","grid","grid-cols-2","gap-x-4","gap-y-4","lg:gap-x-8"],[1,"badge--rounded",3,"innerHTML"],[1,"bg-nc1-200","h-px","w-full"],[1,"text-base"],[1,"max-w-full","flex-shrink-0","break-words"],[1,"flex-shrink-0",3,"placement","componentId"],[1,"relative","flex-shrink-0"],[1,"block"],[1,"text-nc1-950","mr-0","text-right","text-xl"],[1,"hidden","md:block",3,"ariaLabel"],[1,"inline-block","text-sm","font-normal","last:m-0",3,"innerHTML"]],template:function(a,o){if(1&a&&(t.j41(0,"section",0)(1,"div",1)(2,"div",2)(3,"header",3),t.SS7(4),t.DNE(5,M0,2,4,"div",4)(6,P0,2,1,"h3",5),t.nrm(7,"div",6),t.j41(8,"div",7),t.SS7(9),t.DNE(10,I0,2,4,"a",8),t.k0s()(),t.j41(11,"div",9),t.DNE(12,w0,2,0,"div",10),t.j41(13,"dl",11),t.Z7z(14,O0,9,9,null,null,t.Vm6),t.k0s()()()()()),2&a){let i,r,l,c,p,_,E,y;t.BMQ("aria-label",(null==(i=o.productCard())?null:i.ariaLabel)||"Card with "+(null==(i=o.productCard())?null:i.title)),t.R7$(4);const L=t.bH3(null==(r=o.productCard())?null:r.badge);t.R7$(),t.vxM(L?5:-1),t.R7$(),t.vxM((l=null==(l=o.productCard())?null:l.title)?6:-1,l),t.R7$(),t.Y8G("innerHTML",null==(c=o.productCard())?null:c.description,t.npT),t.R7$(),t.AVh("mb-4",!(null==(p=o.productCard())||null==p.cardDetails||!p.cardDetails.length)),t.R7$();const Z=t.bH3(null==(_=o.productCard())?null:_.learnMore);t.R7$(),t.vxM(Z&&o.learnMoreAnalytics()?10:-1),t.R7$(2),t.vxM(null!=(E=o.productCard())&&null!=E.cardDetails&&E.cardDetails.length?12:-1),t.R7$(2),t.Dyx(null==(y=o.productCard())?null:y.cardDetails)}},dependencies:[C.MD,d.FootnoteComponent,R.b6,d.TranslatePipe,d.CalloutCardAnalyticsDirective],encapsulation:2,changeDetection:0})}return n})(),rD=(()=>{class n extends U{loggerName="PriceYtdCardComponent";componentStatus=d.ComponentStatus;translateService=(0,t.WQX)(u.c$);items=(0,t.vPA)([]);asOfDate=(0,t.vPA)("");showUpdatedDaily=(0,t.vPA)(!1);getSections=e=>function oD(n){return"Managed Accounts"===n.productType?{fetchShareClass:{performance:{performance:{quarterEnd:{NET:{CUMULATIVE:!0},GROSS:{CUMULATIVE:!0},PUREGROSS:{CUMULATIVE:!0}}}}}}:{fetchShareClass:{pricingDetails:{coreNav:!0}}}}(e);processData=e=>{if(this.logger.debug(this.loggerName,"processData()",e),"Managed Accounts"===this.config().productType){const r=function sD(n,s){const e=n.shareClass?.performance?.performance;if("loaded"!==e?.status)return{items:[],asOfDate:""};const a=e.quarterEnd?.NET?.CUMULATIVE?.[0],o=e.quarterEnd?.GROSS?.CUMULATIVE?.[0],i=e.quarterEnd?.PUREGROSS?.CUMULATIVE?.[0],r=[];return a?.yearToDate&&r.push({id:"YTD_CUM_NET",label:s("products.Ytd-Total-Returns-at-NET"),value:`${a.yearToDate}%`}),o?.yearToDate&&r.push({id:"YTD_CUM_GROSS",label:s("products.Ytd-Total-Returns-at-GROSS"),value:`${o.yearToDate}%`}),i?.yearToDate&&r.push({id:"YTD_CUM_PUREGROSS",label:s("products.Ytd-Total-Returns-at-PURE-GROSS"),value:`${i.yearToDate}%`}),{items:r,asOfDate:a?.asOfDate??""}}(e,this.translateService.instant.bind(this.translateService));return this.items.set(r.items),this.asOfDate.set(r.asOfDate),this.showUpdatedDaily.set(!1),void this.status.set(r.items.length?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)}const a="Variable Insurance"===this.config().productType&&!0!==this.config().c
1anViewVipPerformanceData,o=e.shareClass?.pricingDetails?.coreNav;if("loaded"!==o?.status)return this.items.set([]),this.asOfDate.set(""),this.showUpdatedDaily.set(!1),void this.status.set(d.ComponentStatus.EMPTY);const i=function iD(n,s,e){const a=[{id:"NAV_VALUE",label:e("products.NAV_VALUE"),value:n.navValue||u.BX}];return s||(a.push({id:"NAV_CHG",label:e("products.NAV_CHG"),value:n.navChangeValue||u.BX}),a.push({id:"YTD_TOT_RET",label:e("products.Ytd-Total-Returns-at-NAV"),value:n.navYearToDateReturn||u.BX})),a}(o,a,this.translateService.instant.bind(this.translateService));this.items.set(i),this.asOfDate.set(o.navDate),this.showUpdatedDaily.set(!0),this.status.set(i.length?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-price-ytd-card"]],hostAttrs:["data-gtm-component","price-ytd-card"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],["data-testid","price-ytd-card"],["data-testid","price-ytd-card-as-of",1,"text-nc1-800","mb-3","block","text-sm"],[1,"grid","grid-cols-3","gap-4"],["data-testid","price-ytd-card-item"],["data-testid","price-ytd-card-item-label",1,"text-nc1-950","mb-0","text-base"],["data-testid","price-ytd-card-item-value",1,"text-pc1-500","mb-0","text-2xl","font-bold"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,B0,5,1,"section",1),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM(o.status()===o.componentStatus.LOADED?1:-1))},dependencies:[C.MD,d.ComponentStatusComponent,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})(),dD=(()=>{class n extends U{loggerName="ProductInfoCardComponent";componentStatus=d.ComponentStatus;translateService=(0,t.WQX)(u.c$);asOfDate=(0,t.vPA)("");items=(0,t.vPA)([]);getSections=e=>function lD(n){return"Managed Accounts"===n.productType?{fetchCommonData:!0}:"ETFs"===n.productType?{fetchCommonData:!0,fetchShareClass:{fetchAum:!0,fetchCharges:!0,fetchShareClassDetail:!0}}:{fetchShareClass:{fetchAum:!0,fetchCharges:!0}}}(e);processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a="loaded"===e.shareClass?.aum?.status?e.shareClass.aum:void 0,l=function cD(n,s,e,a=!1){const o=[];if("Managed Accounts"===s)return n.commonData&&o.push({id:"ASSETCLASS",label:e("products.asset-class"),value:n.commonData.assetClass}),o;const r="Interval Funds"===s||"Tender Offer Funds"===s||a;return n.aum&&o.push({id:"TOTAL_NET_ASSETS",label:e("products.total-net-assets"),value:n.aum.totalNetAssets||u.BX}),n.charges&&(r||o.push({id:"EXPRATGROSS",label:e("products.gross-expense"),value:n.charges.expenseRatioGross||u.BX},{id:"EXPRATNET",label:e("products.net-expense"),value:n.charges.expenseRatioNet||u.BX},{id:"MAXINITCHRG",label:e("products.initial-sales"),value:n.charges.maxIntialSalesCharge||u.BX}),a&&o.push({id:"SPONSORGROSS",label:e("products.gross-sponsor-fee"),value:n.charges.sponsorFeeGross||u.BX},{id:"SPONSORNET",label:e("products.net-sponsor-fee"),value:n.charges.sponsorFeeNet||u.BX})),"ETFs"===s&&(n.detail&&o.push({id:"FUNDINCDT",label:e("products.fund-inception-date"),value:n.detail.inceptionDate||u.BX}),n.commonData&&o.push({id:"ASSETCLASS",label:e("products.asset-class"),value:n.commonData.assetClass},{id:"INVVEHCILE",label:e("products.etf-type"),value:n.commonData.investmentVehicle||u.BX})),o}({aum:a,charges:"loaded"===e.shareClass?.charges?.status?e.shareClass.charges:void 0,detail:"loaded"===e.shareClass?.detail?.status?e.shareClass.detail:void 0,commonData:"loaded"===e.commonData?.status?e.commonData:void 0},this.config().productType,this.translateService.instant.bind(this.translateService),this.config().is33ActProduct);this.items.set(l),this.asOfDate.set(a?.asOfDate??""),this.status.set(l.length?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-product-info-card"]],hostAttrs:["data-gtm-component","product-info-card"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],["data-testid","product-info-card"],["data-testid","product-info-card-as-of",1,"text-nc1-800","mb-3","text-sm"],[1,"m-0","flex","list-none","flex-col","gap-2","p-0"],["data-testid","product-info-card-item",1,"m-0","flex","list-none","items-start","justify-between","gap-4","p-0","text-base"],["data-testid","product-info-card-item-label",1,"text-nc1-800"],["data-testid","product-info-card-item-value",1,"text-nc1-800"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,H0,5,1,"section",1),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM(o.status()===o.componentStatus.LOADED?1:-1))},dependencies:[C.MD,d.ComponentStatusComponent,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})();const uD={oneYear:"products.timeframes.1-year",twoYear:"products.timeframes.2-years",threeYear:"products.timeframes.3-years",fourYear:"products.timeframes.4-years",fiveYear:"products.timeframes.5-years",sevenYear:"products.timeframes.7-years",tenYear:"products.timeframes.10-years",fifteenYear:"products.timeframes.15-years",t
1wentyYear:"products.timeframes.20-years",twentyFiveYear:"products.timeframes.25-years",thirtyFiveYear:"products.timeframes.35-years",yearToDate:"products.timeframes.ytd",sinceInception:"products.timeframes.since-inception"};function ga(n){return!!n&&n!==u.BX&&"N/A"!==n}function hD(n,s,e){if("loaded"===n.commonData?.status&&"loaded"===n.shareClass?.detail?.status){const a=n.shareClass.detail;return`${a.isSingleShareClass||"SINGLCLASS"===n.shareClass.shareClassCode?n.commonData.productName:a.shareClassName} ${e(`products.${Xt(n.commonData.productType)}-performance-calctype-${s.toLowerCase()}`)} (%)`}return s}function CD(n,s,e){return{name:n.map(a=>a.name),xAxis:s.map(a=>e(uD[a])),yAxis:n.map(a=>({plots:s.map(o=>parseFloat(a.values[o]))}))}}function bD(n){return n.map((s,e)=>({name:s.name,colorClass:"bg-benchmark-color"+e%W.D$.length}))}let DD=(()=>{class n extends U{loggerName="PerformanceChartCardComponent";componentStatus=d.ComponentStatus;chartConfig={chartType:"column",xAxis:{isLabelEnabled:!0},yAxis:{isLabelEnabled:!0},tooltip:{enabled:!0,borderWidth:1},colors:W.D$,responsive:{rules:[{condition:{maxWidth:500},chartOptions:{chart:{marginBottom:80},xAxis:{labels:{y:30}}}}]}};translateService=(0,t.WQX)(u.c$);dateLocalizationHelper=new u.eG(this.logger);hasDisclosure=(0,t.EWP)(()=>(this.config().disclosureLabel?.trim().length??0)>0&&(this.config().disclosureUrl?.trim().length??0)>0);asOfDate=(0,t.vPA)(null);chartData=(0,t.vPA)(null);legendItems=(0,t.vPA)([]);hasChartData=(0,t.EWP)(()=>(this.chartData()?.yAxis.length??0)>0);getSections=e=>({fetchCommonData:!0,fetchShareClass:{fetchShareClassDetail:!0,performance:{performance:{monthEnd:!0,quarterEnd:!0},benchmark:{monthEnd:!0,quarterEnd:!0}}}});processData=e=>{this.logger.debug(this.loggerName,"processData()",e);const a=function xD(n){const s=function pD(n){const s=n.shareClass?.performance;return s&&s.performance&&"loaded"===s.performance.status?s.performance:null}(n.data);if(!s)return{asOfDate:null,chartData:null,legendItems:[]};const e=n.selectedPeriodEnd??"monthEnd",a=n.defaultCalcType??"POP",o=function fD(n,s,e,a,o){const i=s[e];return i?function mD(n,s){const e=[...n],a=e.indexOf(s);return a>=0&&(e.splice(a,1),e.unshift(s)),e}(s.availableCalcTypes,a).flatMap(r=>{const l=i[r]?.AVG_ANNUAL;return l?.length?l.map(c=>({name:hD(n,r,o),values:c})):[]}):[]}(n.data,s,e,a,n.translate);if(!o.length)return{asOfDate:null,chartData:null,legendItems:[]};const i=o[0],r=function _D(n,s,e,a,o){const i=n.shareClass?.performance;if(!o.showBenchmark||!i||!i.benchmarkPerformance||"loaded"!==i.benchmarkPerformance.status)return[];const r=i.benchmarkPerformance[s]?.[e]?.AVG_ANNUAL;if(!r?.length)return[];const l=new Map(o.benchmarkOrder.map((c,p)=>[c,p]));return r.map(c=>c).map(c=>{const p=o.suppressedBenchmarks.includes(c.bmLabel);return{...c,oneYear:(0,u.iF)(c.oneYear,a.oneYear,p),twoYear:(0,u.iF)(c.twoYear,a.twoYear,p),threeYear:(0,u.iF)(c.threeYear,a.threeYear,p),fourYear:(0,u.iF)(c.fourYear,a.fourYear,p),fiveYear:(0,u.iF)(c.fiveYear,a.fiveYear,p),sevenYear:(0,u.iF)(c.sevenYear,a.sevenYear,p),tenYear:(0,u.iF)(c.tenYear,a.tenYear,p),fifteenYear:(0,u.iF)(c.fifteenYear,a.fifteenYear,p),twentyYear:(0,u.iF)(c.twentyYear,a.twentyYear,p),twentyFiveYear:(0,u.iF)(c.twentyFiveYear,a.twentyFiveYear,p),thirtyFiveYear:(0,u.iF)(c.thirtyFiveYear,a.thirtyFiveYear,p)}}).sort((c,p)=>(l.get(c.bmLabel)??0)-(l.get(p.bmLabel)??0)).slice(0,o.maxNumberOfBenchmarksToShow).map(c=>({name:`${c.bmName} (%)`,values:c}))}(n.data,e,a,i.values,{showBenchmark:n.showBenchmark??!0,benchmarkOrder:n.benchmarkOrder??[],suppressedBenchmarks:n.suppressedBenchmarks??[],maxNumberOfBenchmarksToShow:n.maxNumberOfBenchmarksToShow??P.oI}),l=[...o,...r],c="loaded"===n.data.commonData?.status?n.data.commonData.productType:null,p="loaded"===n.data.shareClass?.detail?.status?n.data.shareClass.detail:void 0,E=function gD(n,s){const e=s.filter(o=>n.some(i=>ga(i.values[o])));return{rows:n.filter(o=>e.some(i=>ga(o.values[i]))),columns:e}}(l,oa({configuredColumns:n.performanceCols,productType:c,performanceInceptionDateStd:p?.performanceInceptionDateStd,fiveYearAgoDate:n.fiveYearAgoDate})),y=i.values.asOfDate;return E.columns.length&&E.rows.length?{asOfDate:y,chartData:CD(E.rows,E.c
1olumns,n.translate),legendItems:bD(E.rows)}:{asOfDate:y,chartData:null,legendItems:[]}}({data:e,translate:this.translateService.instant.bind(this.translateService),performanceCols:this.config().performanceCols,fiveYearAgoDate:this.dateLocalizationHelper.getCached5YearAgoStd()});this.asOfDate.set(a.asOfDate),this.chartData.set(a.chartData),this.legendItems.set(a.legendItems),this.status.set(a.chartData?d.ComponentStatus.LOADED:d.ComponentStatus.EMPTY)};static \u0275fac=(()=>{let e;return function(o){return(e||(e=t.xGo(n)))(o||n)}})();static \u0275cmp=t.VBU({type:n,selectors:[["frk-performance-chart-card"]],hostAttrs:["data-gtm-component","performance-chart-card"],features:[t.Vt3],decls:2,vars:2,consts:[[3,"status"],["data-testid","performance-chart-card"],["data-testid","performance-chart-card-as-of",1,"text-nc1-800","mb-3","text-sm"],["data-testid","performance-chart-card-disclosure-link",1,"text-base",3,"href"],["data-testid","performance-chart-card-chart",1,"mb-4","block",3,"chartConfig","chartData"],["data-testid","performance-chart-card-legend",1,"m-0","mb-4","flex","list-none","flex-col","gap-2","p-0"],[1,"text-nc1-800","m-0","list-none","p-0","text-base"],[1,"mr-2","inline-block","size-3",3,"ngClass"]],template:function(a,o){1&a&&(t.j41(0,"frk-component-status",0),t.DNE(1,Z0,4,3,"div",1),t.k0s()),2&a&&(t.Y8G("status",o.status()),t.R7$(),t.vxM(o.status()===o.componentStatus.LOADED?1:-1))},dependencies:[C.MD,C.YU,d.ComponentStatusComponent,K.j,d.SmartLinkComponent,d.TranslatePipe],encapsulation:2,changeDetection:0})}return n})()},9021:(ft,nt,T)=>{"use strict";T.d(nt,{Ih:()=>t,OC:()=>d,Zl:()=>w,um:()=>H});var C=T(89801),h=T(64759),j=T(62280);function t(B,u){const ot=h(B,C.VF);return`${ot.weekday(1).format("MMM DD")} to ${ot.weekday(u).format("MMM DD")}`}h.extend(j);var H=function(B){return B[B.NEXT=1]="NEXT",B[B.PREV=-1]="PREV",B}(H||{});const d={TAB:"Tab",ESC:"Escape",SPACE:"Space",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown",ENTER:"Enter"};var w=function(B){return B.ONE_MONTH="ONE_MONTH",B.THREE_MONTHS="THREE_MONTHS",B.SIX_MONTHS="SIX_MONTHS",B.YTD="YTD",B.LAST_QUARTER="LAST_QUARTER",B.LAST_CALENDAR_YEAR="LAST_CALENDAR_YEAR",B.ONE_YEAR="ONE_YEAR",B.THREE_YEARS="THREE_YEARS",B.FIVE_YEARS="FIVE_YEARS",B.TEN_YEARS="TEN_YEARS",B.SINCE_INCEPTION="SINCE_INCEPTION",B.CUSTOM_RANGE="CUSTOM_RANGE",B.DAILY="DAILY",B}(w||{})},14369:(ft,nt,T)=>{"use strict";T.d(nt,{I:()=>vt});var C=T(89801),h=T(64193),j=T(64759),t=T(13203),H=T(58992),d=T(76606),w=T(76786),B=T(97612),u=T(71978),ot=T(18652),et=T(62280),q=T(9021),xt=T(71326);j.extend(w),j.extend(B),j.extend(t),j.extend(ot),j.extend(H),j.extend(et),j.extend(u),j.extend(d);const at=new Map([[q.Zl.ONE_MONTH,{key:"months",value:1}],[q.Zl.THREE_MONTHS,{key:"months",value:3}],[q.Zl.SIX_MONTHS,{key:"months",value:6}],[q.Zl.YTD,void 0],[q.Zl.LAST_QUARTER,void 0],[q.Zl.LAST_CALENDAR_YEAR,void 0],[q.Zl.ONE_YEAR,{key:"years",value:1}],[q.Zl.THREE_YEARS,{key:"years",value:3}],[q.Zl.FIVE_YEARS,{key:"years",value:5}],[q.Zl.TEN_YEARS,{key:"years",value:10}],[q.Zl.SINCE_INCEPTION,void 0],[q.Zl.CUSTOM_RANGE,void 0],[q.Zl.DAILY,void 0]]);let vt=(()=>{class dt{dateToday=j();localization;constructor(){const F=j.locale("en");this.localization=this.createLocalizationData(F)}createLocalizationData(F="en"){const g=j().locale(F).localeData();return{monthNames:g.months(),monthNamesShort:g.monthsShort(),dayNames:g.weekdays()}}buildDataForMonth(F,g,v,x=!1){const A=this.clampDateForMonth(F,g,v),R=this.buildCalendarMonths(A,g,v);return{monthData:{...R,months:R.months.map(b=>{const M=F.month()===b.month?0:-1;return{...b,tabIndex:M,focused:0===M&&x}})},yearData:this.buildCalendarYears(A,g,v),activeDate:A,isNextButtonNavigatorDisabled:this.isNextYearDisabled(A,v),isPrevButtonNavigatorDisabled:this.isPrevYearDisabled(A,g)}}buildDataForWeek(F,g,v,x,A,R=[],V=!1){const b=this.clampDateForWeek(F,g,v,A);return{monthData:this.buildCalendarMonths(b,g,v),yearData:this.buildCalendarYears(b,g,v),weekData:this.buildCalendarWeeks(b,g,v,x,A,R,V),activeDate:b,isNextButtonNavigatorDisabled:this.isNextMonthDisabled(b,v),isPrevButtonNavigatorDisabled:this.isPrevMonthDisabled(b,g),isNextWeekDisabled:v&&b.isSame(this.clampDateForWeek(v,g,v,A)),isPrevWeekDisabled:g&&b.isSame(this.clampDateForWeek(g,g,v,A))}}buildCalendarYears(F,g,v){return{years:this.getAllYears(F,g,v),defaultActive:F.year()}}buildCalendarMonths(F,g,v){return{months:this.getMonths(F,g,v),defaultActive:F.month(),focusedMonth:{monthName:this.localization.monthNames[F.month()],monthNameShort:this.localization.monthNamesShort[F.month()]}}}buildCalendarWeeks(F,g,v,x,A,R,V=!1){return{weeks:this.getWeeksOfMonth(F,g,v,x,A,R).map(M=>{const N=M.weekOfYear===F.day(A).week()?0:-1;return{...M,tabIndex:N,focused:0===N&&V}}),defaultActive:F.week()}}getWeeksOfMonth(F,g,v,x,A,R){const V=F.startOf("month"),b=F.endOf("month");let M=this.startOfWeek(V);const N=this.endOfWeek(b),K=[];for(;M.isBefore(N);){if(M.day(A).month()===F.month()){const X=this.isDisabledWeekLiesInCurrentWeek(R,M),P=this.isDateOutOfRange(M.day(A),g,v);K.push({weekOfYear:M.week(),weekDate:M.weekday(A),weekLabel:x(M.format(C.VF),A),isDisabledInRange:X,isDisabled:P,isOutside:P})}M=M.add(1,"week")}return K}clampDate(F,g,v){return g&&F.isBefore(g)?g:v&&F.isAfter(v)?v:F}clampDateForMonth(F,g,v){return this.clampDate(F,g,v)}clampDateForWeek(F,g,v,x){const A=this.clampDate(F,g,v).day(x);return g&&A.isBefore(g)?A.add(1,"week"):v&&A.isAfter(v)?A.subtract(1,"week"):A}isDisabledWeekLiesInCurrentWeek(F,g){let v=!1;for(const x of F)if(this.isSameWeek(x,g)){v=!0;break}return v}startOfWeek(F,g=1){const v=F.day(),x=(v<g?7:0)+v-g;return F.date(F.date()-x)}endOfWeek(F,g=1){const v=F.day(),x=6+(v<g?-7:0)-(v-g);return F.date(F.date()+x)}getAllYears(F,g,v){const x=g?g.year():F.year()-10,A=v?v.year():F.year()+10;return this.getRange(x,A)}
1getMonths(F,g,v){const x=F.year().toString(),A=j(x,"YYYY");return this.getRange(0,11).map(V=>{const b=g?g.startOf("month"):null,M=v?v.endOf("month"):null;return{month:V,monthName:this.localization.monthNames[V],monthNameShort:this.localization.monthNamesShort[V],isDisabled:this.isDateOutOfRange(A.month(V),b,M)}})}isDateOutOfRange(F,g,v){return!!(g&&F.isBefore(g)||v&&F.isAfter(v))}parseDateWithMessage(F,g,v,x,A,R,V=!1){return""===x&&V?{hasValidity:!0,errorMsg:A?.valueMissing}:""!==x||V?F.isValid()?g&&F.isBefore(g)?{hasValidity:!0,errorMsg:A?.rangeUnderflow+" "+g.format(R)}:v&&F.isAfter(v)?{hasValidity:!0,errorMsg:A?.rangeOverflow+" "+v.format(R)}:{hasValidity:!1,errorMsg:""}:{hasValidity:!0,errorMsg:A?.badInput+" "+R}:{hasValidity:!1,errorMsg:""}}parseDateWithMessageWeek(F,g,v,x={}){const{value:A,errorMsgObj:R,dateFormat:V,disabledWeeks:b,isRequired:M}=x,N=this.parseDateWithMessage(F,g,v,A,R,V,M??!1);return!N.hasValidity&&b?.length&&this.dateMatchesWeekDates(F,b)?{hasValidity:!0,errorMsg:R?.disabledWithInWeekRange}:N}dateMatchesWeekDates(F,g){let v=!1;for(const x of g)x.isSame(F,"week")&&(v=!0);return v}isPrevMonthDisabled(F,g){return g&&this.isSameMonth(F,g)}isNextMonthDisabled(F,g){return g&&this.isSameMonth(F,g)}isPrevYearDisabled(F,g){return g&&this.isSameYear(F,g)}isNextYearDisabled(F,g){return g&&this.isSameYear(F,g)}isSameWeek(F,g){return F.week()===g.week()&&this.isSameMonth(F,g)}isSameMonth(F,g){return F.month()===g.month()&&this.isSameYear(F,g)}isSameYear(F,g){return F.year()===g.year()}getRange(F,g){const v=[];for(let x=F;x<=g;x++)v.push(x);return v}convertToDayJs(F,g=C.VF){if(null===F)return null;if("string"==typeof F){const v=j(F,g,!0);return v.isValid()?v:null}return F instanceof j.Dayjs?F:null}getDateRange(F,g,v,x,A){let R,V;return V=F===q.Zl.CUSTOM_RANGE&&A?A:F===q.Zl.LAST_QUARTER?j().subtract(1,"quarter").endOf("quarter").format(h.D_):F===q.Zl.LAST_CALENDAR_YEAR?j().subtract(1,"year").endOf("year").format(h.D_):v,R=this.calculateFromDateStd(F,F===q.Zl.CUSTOM_RANGE&&x?x:g,V),{fromDateStd:R,toDateStd:V}}calculateFromDateStd(F,g,v){const x=j(g,h.D_),A=j(v,h.D_);switch(F){case q.Zl.CUSTOM_RANGE:case q.Zl.SINCE_INCEPTION:case q.Zl.DAILY:return g;case q.Zl.YTD:return this.startMoment(x,A);case q.Zl.LAST_QUARTER:{const R=A.startOf("quarter");return R.isBefore(x)?x.format(h.D_):R.format(h.D_)}case q.Zl.LAST_CALENDAR_YEAR:return this.startMoment(x,A);default:{const R=at.get(F);if(!R)throw new Error(`Invalid type: ${F}`);const V=A.subtract(R.value,R.key);return V.isBefore(x)?x.format(h.D_):V.format(h.D_)}}}startMoment=(F,g)=>{const v=g.startOf("year");return v.isBefore(F)?F.format(h.D_):v.format(h.D_)};getDatePickerErrorMsg(F){return{badInput:F.instant("common.dateError.badInput"),valueMissing:F.instant("common.dateError.valueMissing"),rangeUnderflow:F.instant("common.dateError.rangeUnderflow"),rangeOverflow:F.instant("common.dateError.rangeOverflow"),disabledWithInWeekRange:F.instant("common.dateError.disabledWithInWeekRange")}}static \u0275fac=function(g){return new(g||dt)};static \u0275prov=xt.jDH({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})()},16691:(ft,nt,T)=>{"use strict";T.d(nt,{H:()=>dt});var C=T(42733),h=T(71326),j=T(4364),t=T(76631),H=T(9021);const d=["dialogContent"],w=["closeButton"],B=["monthSelect"],u=["yearSelect"],ot=["*"],et=(ct,F,g)=>({"max-md:translate-z-1 left-0 flex w-full min-w-80 [transition:transform_220ms_ease,_opacity_220ms_ease,_visibility_220ms_ease] max-md:fixed max-md:bottom-0 max-md:right-0 max-md:top-0 max-md:origin-center max-md:transform max-md:flex-col lg:absolute lg:top-full lg:origin-top-right":!0,"left-auto right-0":ct,"translate-z-[0] invisible z-[-1] translate-y-[0.5rem] scale-[0.98] transform opacity-0":F,"translate-z-[0] visible top-auto z-50 origin-top-right translate-y-[0] scale-[1.0001] transform opacity-100":g});function q(ct,F){if(1&ct&&(h.j41(0,"span"),h.EFF(1),h.k0s()),2&ct){const g=h.XpG();h.R7$(),h.SpI(" ",null==g.monthData||null==g.monthData.focusedMonth?null:g.monthData.focusedMonth.monthName,"")}}function xt(ct,F){if(1&ct&&(h.j41(0,"option",30),h.EFF(1),h.k0s()),2&ct){const g=F.$implicit,v=h.XpG(2);h.Y8G("value",null==g?null:g.month)("selected",(null==g?null:g.month)===(null==v.monthData?null:v.monthData.defaultActive))("disabled",null==g?null:g.isDisabled),h.R7$(),h.SpI(" ",null==g?null:g.monthName," ")}}function at(ct,F){if(1&ct){const g=h.RV6();h.qex(0),h.j41(1,"label",20),h.EFF(2),h.k0s(),h.j41(3,"div")(4,"select",29,3),h.bIt("change",function(x){h.eBV(g);const A=h.XpG();
1return h.Njj(A.handleMonthSelect(x))}),h.Z7z(6,xt,2,4,"option",30,h.Vm6),h.k0s(),h.j41(8,"div",24)(9,"span"),h.EFF(10),h.k0s(),h.nrm(11,"frk-heroicon",31),h.k0s()(),h.bVm()}if(2&ct){const g=h.XpG();h.R7$(),h.Y8G("htmlFor",g.monthSelectId),h.R7$(),h.SpI(" Select month: ",null==g.monthData||null==g.monthData.focusedMonth?null:g.monthData.focusedMonth.monthNameShort," "),h.R7$(2),h.Y8G("id",g.monthSelectId),h.BMQ("aria-label","Month selector, currently "+(null==g.monthData||null==g.monthData.focusedMonth?null:g.monthData.focusedMonth.monthName)),h.R7$(2),h.Dyx(null==g.monthData?null:g.monthData.months),h.R7$(4),h.SpI(" ",null==g.monthData||null==g.monthData.focusedMonth?null:g.monthData.focusedMonth.monthNameShort,""),h.R7$(),h.Y8G("size",16)}}function vt(ct,F){if(1&ct&&(h.j41(0,"option",23),h.EFF(1),h.k0s()),2&ct){const g=F.$implicit,v=h.XpG();h.Y8G("value",g)("selected",g===(null==v.yearData?null:v.yearData.defaultActive)),h.R7$(),h.SpI(" ",g," ")}}let dt=(()=>{class ct{direction="right";isOpen;hideMonth=!1;isPrevButtonDisabled=!1;isNextButtonDisabled=!1;monthData;yearData;activeDate;calendarHeading;closeLabel;prevButtonLabel;nextButtonLabel;monthSelectId="calendar-month-"+(0,t.A)();yearSelectId="calendar-year-"+(0,t.A)();dialogLabelId="calendar-dialog-"+(0,t.A)();modalClosed=new h.bkB;monthSelected=new h.bkB;yearSelected=new h.bkB;navigatorSelected=new h.bkB;closeModal=new h.bkB;focusOnCalendar=new h.bkB;dialogContentRef;closeButtonRef;monthSelectRef;yearSelectRef;ngOnChanges(g){g.isOpen&&this.isOpen&&this.focusFirstElement()}focusFirstElement(){this.isOpen&&setTimeout(()=>{this.hideMonth?this.yearSelectRef?.nativeElement.focus():this.monthSelectRef?.nativeElement.focus()},200)}handleEscKey(){this.closeModal.emit("esc")}hide(){this.closeModal.emit("click")}focusCloseButton(){this.closeButtonRef?.nativeElement.focus()}handleMonthSelect(g){this.monthSelected.emit(parseInt(g.target.value,10))}handleYearSelect(g){this.yearSelected.emit(parseInt(g.target.value,10))}handlePreviousButtonClick(g){g.preventDefault(),this.navigatorSelected.emit(H.um.PREV)}handleNextButtonClick(g){g.preventDefault(),this.navigatorSelected.emit(H.um.NEXT)}handleKeyDownClose(g){g.key===H.OC.TAB&&g.shiftKey&&(g.preventDefault(),this.focusOnCalendar.emit())}static \u0275fac=function(v){return new(v||ct)};static \u0275cmp=h.VBU({type:ct,selectors:[["frk-calendar-modal"]],viewQuery:function(v,x){if(1&v&&(h.GBs(d,5),h.GBs(w,5),h.GBs(B,5),h.GBs(u,5)),2&v){let A;h.mGM(A=h.lsd())&&(x.dialogContentRef=A.first),h.mGM(A=h.lsd())&&(x.closeButtonRef=A.first),h.mGM(A=h.lsd())&&(x.monthSelectRef=A.first),h.mGM(A=h.lsd())&&(x.yearSelectRef=A.first)}},hostAttrs:["data-gtm-component","calendar-modal"],inputs:{direction:"direction",isOpen:"isOpen",hideMonth:"hideMonth",isPrevButtonDisabled:"isPrevButtonDisabled",isNextButtonDisabled:"isNextButtonDisabled",monthData:"monthData",yearData:"yearData",activeDate:"activeDate",calendarHeading:"calendarHeading",closeLabel:"closeLabel",prevButtonLabel:"prevButtonLabel",nextButtonLabel:"nextButtonLabel"},outputs:{modalClosed:"modalClosed",monthSelected:"monthSelected",yearSelected:"yearSelected",navigatorSelected:"navigatorSelected",closeModal:"closeModal",focusOnCalendar:"focusOnCalendar"},features:[h.OA$],ngContentSelectors:ot,decls:45,vars:29,consts:[["dialogContent",""],["closeButton",""],["yearSelect",""],["monthSelect",""],[1,"text-nc1-950","relative","m-0","box-border","block","w-full","text-left"],["aria-modal","true","aria-describedby","calendar-window",3,"ngClass"],[1,"max-md:flex-grow","max-md:transform-gpu","max-md:bg-[rgba(191,191,191,0.7)]","max-md:opacity-100"],["tabindex","0",1,"bg-nc1-0","text-pc1-600","border-pc1-600","max-md:translate-z-[0]","relative","z-10","w-full","min-w-max","max-w-80","transform-none","rounded-none","border","px-4","pb-5","pt-4","max-md:visible","max-md:bottom-0","max-md:left-0","max-md:m-0","max-md:w-full","max-md:min-w-full","max-md:origin-top-right","max-md:translate-y-[0]","max-md:scale-[1.0001]","max-md:transform","max-md:rounded-none","max-md:border-0","max-md:px-[8%]","max-md:pt-0","max-md:opacity-100","max-md:[transition:transform_400ms_ease,_opacity_400ms_ease,_visibility_400ms_ease]",3,"keydown.escape"],["role","toolbar",1,"border-nc1-950","relative","-ml-[10%]","mb
1-5","flex","w-auto","items-center","justify-between","text-ellipsis","text-nowrap","border-b","px-5","py-3","max-md:w-[120%]","md:absolute","md:-right-2","md:-top-2","md:m-0","md:w-auto","md:overflow-visible","md:border-0","md:p-0"],[1,"text-nc1-950","inline-block","max-w-[84%]","overflow-hidden","text-ellipsis","text-nowrap","font-bold","md:hidden"],["type","button",1,"text-nc1-950","focus:text-pc1-600","focus:shadow-primary-light-focus","focus:bg-nc1-0","flex","h-6","w-6","cursor-pointer","appearance-none","items-center","justify-center","rounded-[50%]","border-0","bg-none","p-0","pt-[5px]","focus:opacity-100","focus:outline-none","md:opacity-0",3,"click","keydown"],["name","heroXMark","aria-hidden","true",3,"size"],[1,"sr-only"],["role","toolbar","aria-label","Calendar navigation",1,"mb-4","flex","w-full","items-center","justify-between"],["aria-live","polite","aria-atomic","true",1,"sr-only",3,"id"],["id","calendar-description",1,"sr-only"],[1,"flex","flex-1","justify-between","whitespace-nowrap"],["type","button",1,"text-pc1-600","focus-visible:text-pc1-600","focus-visible:shadow-primary-light-focus","focus-visible:bg-nc1-0","inline-flex","w-8","cursor-pointer","appearance-none","items-center","justify-center","border-0","bg-none","p-0","pt-1.5","[transition:background-color_300ms_ease]","focus-visible:outline-none","active:focus-within:shadow-none","disabled:cursor-default","disabled:opacity-5",3,"click","disabled"],["name","heroChevronLeft","aria-hidden","true",3,"size"],["role","group","aria-label","Date selection controls",1,"flex","justify-between","gap-x-2"],[1,"sr-only",3,"htmlFor"],[1,"border-pc1-600","relative","box-border","inline-flex","h-14","w-[100px]","border","font-normal"],["data-testid","yearSelect",1,"text-nc1-950","focus-visible:text-pc1-600","focus-visible:shadow-primary-light-focus","focus-visible:bg-nc1-0","left-0","top-0","z-[2]","w-full","cursor-pointer","pl-6","text-base","font-bold","focus-visible:outline-none",3,"change","id"],[3,"value","selected"],["aria-hidden","true",1,"text-nc1-950","pointer-events-none","invisible","absolute","z-[1]","flex","w-full","items-center","justify-around","pl-2","pr-1","text-xl","font-normal"],[1,"mr-1"],["name","heroChevronDown","aria-hidden","true",1,"inline-flex",3,"size"],["name","heroChevronRight","aria-hidden","true",3,"size"],["role","main","aria-label","Calendar content"],["data-testid","monthSelect",1,"text-nc1-950","left-0","top-0","z-[2]","w-full","cursor-pointer","pl-6","text-base","font-bold",3,"change","id"],[3,"value","selected","disabled"],["name","heroChevronDown","aria-hidden","true",3,"size"]],template:function(v,x){if(1&v){const A=h.RV6();h.NAR(),h.j41(0,"div",4)(1,"dialog",5),h.nrm(2,"div",6),h.j41(3,"div",7,0),h.bIt("keydown.escape",function(){return h.eBV(A),h.Njj(x.handleEscKey())}),h.j41(5,"div",8)(6,"div",9),h.EFF(7),h.k0s(),h.j41(8,"button",10,1),h.bIt("click",function(){return h.eBV(A),h.Njj(x.hide())})("keydown",function(V){return h.eBV(A),h.Njj(x.handleKeyDownClose(V))}),h.nrm(10,"frk-heroicon",11),h.j41(11,"span",12),h.EFF(12),h.k0s()()(),h.j41(13,"div",13)(14,"div")(15,"h2",14),h.DNE(16,q,2,1,"span"),h.j41(17,"span"),h.EFF(18),h.k0s()(),h.j41(19,"div",15),h.EFF(20," Use arrow keys to navigate calendar. Press Enter to select a date. "),h.k0s()(),h.j41(21,"div",16)(22,"button",17),h.bIt("click",function(V){return h.eBV(A),h.Njj(x.handlePreviousButtonClick(V))}),h.nrm(23,"frk-heroicon",18),h.j41(24,"span",12),h.EFF(25),h.k0s()(),h.j41(26,"div",19),h.DNE(27,at,12,6,"ng-container"),h.j41(28,"label",20),h.EFF(29),h.k0s(),h.j41(30,"div",21)(31,"select",22,2),h.bIt("change",function(V){return h.eBV(A),h.Njj(x.handleYearSelect(V))}),h.Z7z(33,vt,2,3,"option",23,h.Vm6),h.k0s(),h.j41(35,"div",24)(36,"span",25),h.EFF(37),h.k0s(),h.nrm(38,"frk-heroicon",26),h.k0s()()(),h.j41(39,"button",17),h.bIt("click",function(V){return h.eBV(A),h.Njj(x.handleNextButtonClick(V))}),h.nrm(40,"frk-heroicon",27),h.j41(41,"span",12),h.EFF(42),h.k0s()()()(),h.j41(43,"div",28),h.SdG(44),h.k0s()()()()}2&v&&(h.R7$(),h.Y8G("ngClass",h.sMw(25,et,"left"===x.direction,!x.isOpen,x.isOpen)),h.BMQ("aria-hidden",x.isOpen?"false":"true")("aria-labelledby",x.dialogLabelId),h.R7$(6),h.SpI(" ",x.calendarHeading," "),h.R7$(),h.BMQ("aria-label",x.closeLabel||"Close calendar dialog"),h.R7$(2),h.Y8G("size",16),h.R7$(2),h.JRh(x.closeLabel),h.R7$(3),h.Y8G("id",x.dialogLabelId),h.R7$(),h.vxM(x.hideMonth?-1:16),h.R7$(2),h.JRh(null==x.activeDate?null:x.activeDate.year()),h.R7$(4),h.Y8G("disabled",x.isPrevButtonDisabled),h.BMQ("aria-label",x.prevButtonLabel||"Go to previous month"),h.R7$(),h.Y8G("size",16),h.R7$(2),h.JRh(x.prevButtonLabel),h.R7$(2),h.vxM(x.hideMonth?-1:27),h.R7$(),h.Y8G("htmlFor",x.yearSelectId),h.R7$(),h.SpI(" Select year: ",null==x.yearData?null:x.yearData.defaultActive," "),h.R7$(2),h.Y8G("id",x.yearSelectId),h.BMQ("aria-label","Year selector, currently "+(null==x.yearData?null:x.yearData.defaultActive)),h.R7$(2),h.Dyx(null==x.yearData?null:x.yearData.years),h.R7$(4),h.JRh(null==x.yearData?null:x.yearData.defaultActive),h.R7$(),h.Y8G("size",16),h.R7$(),h.Y8G("disabled",x.isNextButtonDisabled),h.BMQ("aria-label",x.nextButtonLabel||"Go to next month"),h.R7$(),h.Y8G("size",16),h.R7$(2),h.JRh(x.nextButtonLabel))},dependencies:[C.MD,C.YU,j.zq],encapsulation:2,changeDetection:0})}return ct})()},18642:(ft,nt,T)=>{"use strict";T.d(nt,{A:()=>H});var C=T(22541);const H=function t(d){return d&&d.length?function h(d,w){for(var B=-1,u=d.length,ot=0,et=[];++B<u;){var q=d[B],xt=w?w(q):q;if(!B||!(0,C.A)(xt,at)){var at=xt;et[ot++]=0===q?0:q}}return et}(d):[]}},18652:function(ft){ft.exports=function(){"use strict";var nt="week",T="year";return function(C,h,j){var t=h.prototype;t.week=function(H){if(void 0===H&&(H=null),null!==H)return this.add(7*(H-this.week()),"day");var d=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var w=j(this).startOf(T).add(1,T).date(d),B=j(this).endOf(nt);if(w.isBefore(B))return 1}var u=j(this).startOf(T).date(d).startOf(nt).subtract(1,"millisecond"),ot=this.diff(u,nt,!0);return ot<0?j(this).startOf("week").week():Math.ceil(ot)},t.weeks=function(H){return void 0===H&&(H=null),this.week(H)}}}()},21241:function(ft){ft.exports=function(){"use strict";return function(nt,T){var C=T.prototype,h=C.format;C.format=function(j){var t=this,H=this.$locale();if(!this.isValid())return h.bind(this)(j);var d=this.$utils(),w=(j||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(B){switch(B){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return H.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return H.ordinal(t.week(),"W");case"w":case"ww":return d.s(t.week(),"w"===B?1:2,"0");case"W":case"WW":return d.s(t.isoWeek(),"W"===B?1:2,"0");case"k":case"kk":return d.s(String(0===t.$H?24:t.$H),"k"===B?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return B}});return h.bind(this)(w)}}}()},23186:(ft,nt,T)=>{"use strict";T.d(nt,{C:()=>H,H:()=>ve,a:()=>u,b:()=>fn,c:()=>on,g:()=>Ae,h:()=>ie,p:()=>w,r:()=>Oe,w:()=>t});
1var C=T(91010);let j=!1;const t=typeof window<"u"?window:{},H=t.CSS,d=t.document||{head:{}},w={$flags$:0,$resourcesUrl$:"",jmp:m=>m(),raf:m=>requestAnimationFrame(m),ael:(m,f,S,D)=>m.addEventListener(f,S,D),rel:(m,f,S,D)=>m.removeEventListener(f,S,D),ce:(m,f)=>new CustomEvent(m,f)},u=m=>Promise.resolve(m),ot=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch{}return!1})(),et=(m,f,S,D)=>{S&&S.map(([$,k,I])=>{const O=xt(m,$),Y=q(f,I),G=at($);w.ael(O,k,Y,G),(f.$rmListeners$=f.$rmListeners$||[]).push(()=>w.rel(O,k,Y,G))})},q=(m,f)=>S=>{try{256&m.$flags$?m.$lazyInstance$[f](S):(m.$queuedListeners$=m.$queuedListeners$||[]).push([f,S])}catch(D){Ot(D)}},xt=(m,f)=>4&f?d:m,at=m=>!!(2&m),F="s-id",v="c-id",V=new WeakMap,K=(m,f)=>"sc-"+m.$tagName$,X={},oe=m=>"object"==(m=typeof m)||"function"===m,ie=(m,f,...S)=>{let D=null,$=null,k=!1,I=!1,O=[];const Y=Q=>{for(let tt=0;tt<Q.length;tt++)D=Q[tt],Array.isArray(D)?Y(D):null!=D&&"boolean"!=typeof D&&((k="function"!=typeof m&&!oe(D))&&(D=String(D)),k&&I?O[O.length-1].$text$+=D:O.push(k?Nt(null,D):D),I=k)};if(Y(S),f){f.key&&($=f.key);{const Q=f.className||f.class;Q&&(f.class="object"!=typeof Q?Q:Object.keys(Q).filter(tt=>Q[tt]).join(" "))}}if("function"==typeof m)return m(null===f?{}:f,O,Te);const G=Nt(m,null);return G.$attrs$=f,O.length>0&&(G.$children$=O),G.$key$=$,G},Nt=(m,f)=>({$flags$:0,$tag$:m,$text$:f,$elm$:null,$children$:null,$attrs$:null,$key$:null}),ve={},Te={forEach:(m,f)=>m.map(se).forEach(f),map:(m,f)=>m.map(se).map(f).map(nn)},se=m=>({vattrs:m.$attrs$,vchildren:m.$children$,vkey:m.$key$,vname:m.$name$,vtag:m.$tag$,vtext:m.$text$}),nn=m=>{if("function"==typeof m.vtag){const S=Object.assign({},m.vattrs);return m.vkey&&(S.key=m.vkey),m.vname&&(S.name=m.vname),ie(m.vtag,S,...m.vchildren||[])}const f=Nt(m.vtag,m.vtext);return f.$attrs$=m.vattrs,f.$children$=m.vchildren,f.$key$=m.vkey,f.$name$=m.vname,f},Se=(m,f,S,D,$,k)=>{if(S!==D){let I=wt(m,f),O=f.toLowerCase();if("class"===f){const Y=m.classList,G=ye(S),Q=ye(D);Y.remove(...G.filter(tt=>tt&&!Q.includes(tt))),Y.add(...Q.filter(tt=>tt&&!G.includes(tt)))}else if("key"!==f)if("ref"===f)D&&D(m);else if(I||"o"!==f[0]||"n"!==f[1]){const Y=oe(D);if((I||Y&&null!==D)&&!$)try{if(m.tagName.includes("-"))m[f]=D;else{let G=D??"";"list"===f?I=!1:(null==S||m[f]!=G)&&(m[f]=G)}}catch{}null==D||!1===D?(!1!==D||""===m.getAttribute(f))&&m.removeAttribute(f):(!I||4&k||$)&&!Y&&m.setAttribute(f,D=!0===D?"":D)}else f="-"===f[2]?f.slice(3):wt(t,O)?O.slice(2):O[2]+f.slice(3),S&&w.rel(m,f,S,!1),D&&w.ael(m,f,D,!1)}},an=/\s/,ye=m=>m?m.split(an):[],Re=(m,f,S,D)=>{const $=11===f.$elm$.nodeType&&f.$elm$.host?f.$elm$.host:f.$elm$,k=m&&m.$attrs$||X,I=f.$attrs$||X;for(D in k)D in I||Se($,D,k[D],void 0,S,f.$flags$);for(D in I)Se($,D,k[D],I[D],S,f.$flags$)},Vt=(m,f,S,D)=>{let I,O,$=f.$children$[S],k=0;if(null!==$.$text$)I=$.$elm$=d.createTextNode($.$text$);else{if(j||(j="svg"===$.$tag$),I=$.$elm$=d.createElementNS(j?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",$.$tag$),j&&"foreignObject"===$.$tag$&&(j=!1),Re(null,$,j),$.$children$)for(k=0;k<$.$children$.length;++k)O=Vt(m,$,k),O&&I.appendChild(O);"svg"===$.$tag$?j=!1:"foreignObject"===I.tagName&&(j=!0)}return I},It=(m,f,S,D,$,k)=>{let O,I=m;for(;$<=k;++$)D[$]&&(O=Vt(null,S,$),O&&(D[$].$elm$=O,I.insertBefore(O,f)))},ke=(m,f,S,D,$)=>{for(;f<=S;++f)(D=m[f])&&($=D.$elm$,Fe(D),$.remove())},Tt=(m,f)=>m.$tag$===f.$tag$&&m.$key$===f.$key$,Gt=(m,f)=>{const S=f.$elm$=m.$elm$,D=m.$children$,$=f.$children$,k=f.$tag$,I=f.$text$;null===I?(j="svg"===k||"foreignObject"!==k&&j,Re(m,f,j),null!==D&&null!==$?((m,f,S,D)=>{let Dt,Ft,$=0,k=0,I=0,O=0,Y=f.length-1,G=f[0],Q=f[Y],tt=D.length-1,rt=D[0],it=D[tt];for(;$<=Y&&k<=tt;)if(null==G)G=f[++$];else if(null==Q)Q=f[--Y];else if(null==rt)rt=D[++k];else if(null==it)it=D[--tt];else if(Tt(G,rt))Gt(G,rt),G=f[++$],rt=D[++k];else if(Tt(Q,it))Gt(Q,it),Q=f[--Y],it=D[--tt];else if(Tt(G,it))Gt(G,it),m.insertBefore(G.$elm$,Q.$elm$.nextSibling),G=f[++$],it=D[--tt];else if(Tt(Q,rt))Gt(Q,rt),m.insertBefore(Q.$elm$,G.$elm$),Q=f[--Y],rt=D[++k];else{for(I=-1,O=$;O<=Y;++O)if(f[O]&&null!==f[O].$key$&&f[O].$key$===rt.$key$){I=O;break}I>=0?(Ft=f[I],Ft.$tag$!==rt.$tag$?Dt=Vt(f&&f[k],S,I):(Gt(Ft,rt),f[I]=void 0,Dt=Ft.$elm$),rt=D[++k]):(Dt=Vt(f&&f[k],S,k),rt=D[++k]),Dt&&G.$elm$.parentNode.insertBefore(Dt,G.$elm$)}$>Y?It(m,null==D[tt+1]?null:D[tt+1].$elm$,S,D,k,tt):k>tt&&ke(f,$,Y)})(S,D,f,$):null!==$?(null!==m.$text$&&(S.textContent=""),It(S,null,f,$,0,$.length-1)):null!==D&&ke(D,0,D.length-1),j&&"svg"===k&&(j=!1)):m.$text$!==I&&(S.data=I)},Fe=m=>{m.$attrs$&&m.$attrs$.ref&&m.$attrs$.ref(null),m.$children$&&m.$children$.map(Fe)},Ae=m=>J(m).$hostElement$,on=(m,f,S)=>{const D=Ae(m);return{emit:$=>Me(D,f,{bubbles:!!(4&S),composed:!!(2&S),cancelable:!!(1&S),detail:$})}},Me=(m,f,S)=>{const D=w.ce(f,S);return m.dispatchEvent(D),D},Pe=(m,f)=>{f&&!m.$onRenderResolve$&&f["s-p"]&&f["s-p"].push(new Promise(S=>m.$onRenderResolve$=S))},re=(m,f)=>{if(!(4&m.$flags$))return Pe(m,m.$ancestorComponent$),le(m,f);m.$flags$|=512},le=(m,f)=>{const D=m.$lazyInstance$;return f&&(m.$flags$|=256,m.$queuedListeners$&&(m.$queuedListeners$.map(([k,I])=>yt(D,k,I)),m.$queuedListeners$=null)),Ut(void 0,()=>sn(m,D,f))},sn=function(){var m=(0,C.A)(function*(f,S,D){const $=f.$hostElement$,I=$["s-r
1c"];D&&(m=>{const f=m.$cmpMeta$,S=m.$hostElement$;((m,f,S,D)=>{let $=K(f),k=Wt.get($);if(m=11===m.nodeType?m:d,k)if("string"==typeof k){let O,I=V.get(m=m.head||m);if(I||V.set(m,I=new Set),!I.has($)){if(m.host&&(O=m.querySelector(`[sty-id="${$}"]`)))O.innerHTML=k;else{if(w.$cssShim$){O=w.$cssShim$.createHostStyle(D,$,k,!!(10&f.$flags$));const Y=O["s-sc"];Y&&($=Y,I=null)}else O=d.createElement("style"),O.innerHTML=k;m.insertBefore(O,m.querySelector("link"))}I&&I.add($)}}else m.adoptedStyleSheets.includes(k)||(m.adoptedStyleSheets=[...m.adoptedStyleSheets,k])})(S.getRootNode(),f,0,S)})(f);rn(f,S),w.$cssShim$&&w.$cssShim$.updateHost($),I&&(I.map(Y=>Y()),$["s-rc"]=void 0);{const Y=$["s-p"],G=()=>ln(f);0===Y.length?G():(Promise.all(Y).then(G),f.$flags$|=4,Y.length=0)}});return function(S,D,$){return m.apply(this,arguments)}}(),rn=(m,f,S)=>{try{f=f.render(),m.$flags$|=2,((m,f)=>{const S=m.$hostElement$,D=m.$cmpMeta$,$=m.$vnode$||Nt(null,null),k=(m=>m&&m.$tag$===ve)(f)?f:ie(null,null,f);D.$attrsToReflect$&&(k.$attrs$=k.$attrs$||{},D.$attrsToReflect$.map(([I,O])=>k.$attrs$[O]=S[I])),k.$tag$=null,k.$flags$|=4,m.$vnode$=k,k.$elm$=$.$elm$=S,Gt($,k)})(m,f)}catch(D){Ot(D,m.$hostElement$)}return null},ln=m=>{const S=m.$hostElement$,$=m.$ancestorComponent$;64&m.$flags$||(m.$flags$|=64,Ie(S),m.$onReadyResolve$(S),$||ce()),m.$onInstanceResolve$(S),m.$onRenderResolve$&&(m.$onRenderResolve$(),m.$onRenderResolve$=void 0),512&m.$flags$&&ue(()=>re(m,!1)),m.$flags$&=-517},ce=m=>{Ie(d.documentElement),ue(()=>Me(t,"appload",{detail:{namespace:"duet"}}))},yt=(m,f,S)=>{if(m&&m[f])try{return m[f](S)}catch(D){Ot(D)}},Ut=(m,f)=>m&&m.then?m.then(f):f(),Ie=m=>m.classList.add("hydrated"),de=(m,f,S,D,$,k,I)=>{let O,Y,G,Q;if(1===k.nodeType){for(O=k.getAttribute(v),O&&(Y=O.split("."),(Y[0]===I||"0"===Y[0])&&(G={$flags$:0,$hostId$:Y[0],$nodeId$:Y[1],$depth$:Y[2],$index$:Y[3],$tag$:k.tagName.toLowerCase(),$elm$:k,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},f.push(G),k.removeAttribute(v),m.$children$||(m.$children$=[]),m.$children$[G.$index$]=G,m=G,D&&"0"===G.$depth$&&(D[G.$index$]=G.$elm$))),Q=k.childNodes.length-1;Q>=0;Q--)de(m,f,S,D,$,k.childNodes[Q],I);if(k.shadowRoot)for(Q=k.shadowRoot.childNodes.length-1;Q>=0;Q--)de(m,f,S,D,$,k.shadowRoot.childNodes[Q],I)}else if(8===k.nodeType)Y=k.nodeValue.split("."),(Y[1]===I||"0"===Y[1])&&(O=Y[0],G={$flags$:0,$hostId$:Y[1],$nodeId$:Y[2],$depth$:Y[3],$index$:Y[4],$elm$:k,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===O?(G.$elm$=k.nextSibling,G.$elm$&&3===G.$elm$.nodeType&&(G.$text$=G.$elm$.textContent,f.push(G),k.remove(),m.$children$||(m.$children$=[]),m.$children$[G.$index$]=G,D&&"0"===G.$depth$&&(D[G.$index$]=G.$elm$))):G.$hostId$===I&&"s"===O&&(G.$tag$="slot",k["s-sn"]=Y[5]?G.$name$=Y[5]:"",k["s-sr"]=!0,S.push(G),m.$children$||(m.$children$=[]),m.$children$[G.$index$]=G));else if(m&&"style"===m.$tag$){const tt=Nt(null,k.textContent);tt.$elm$=k,tt.$index$="0",m.$children$=[tt]}},zt=(m,f)=>{if(1===m.nodeType){let S=0;for(;S<m.childNodes.length;S++)zt(m.childNodes[S],f);if(m.shadowRoot)for(S=0;S<m.shadowRoot.childNodes.length;S++)zt(m.shadowRoot.childNodes[S],f)}else if(8===m.nodeType){const S=m.nodeValue.split(".");"o"===S[0]&&(f.set(S[1]+"."+S[2],m),m.nodeValue="",m["s-en"]=S[3])}},Ne=(m,f,S)=>{if(f.$members$){m.watchers&&(f.$watchers$=m.watchers);const D=Object.entries(f.$members$),$=m.prototype;if(D.map(([k,[I]])=>{31&I||2&S&&32&I?Object.defineProperty($,k,{get(){return((m,f)=>J(this).$instanceValues$.get(f))(0,k)},set(O){((m,f,S,D)=>{const $=J(m),k=$.$hostElement$,I=$.$instanceValues$.get(f),O=$.$flags$,Y=$.$lazyInstance$;if(S=((m,f)=>null==m||oe(m)?m:4&f?"false"!==m&&(""===m||!!m):2&f?parseFloat(m):1&f?String(m):m)(S,D.$members$[f][0]),(!(8&O)||void 0===I)&&S!==I&&($.$instanceValues$.set(f,S),Y)){if(D.$watchers$&&128&O){const G=D.$watchers$[f];G&&G.map(Q=>{try{Y[Q](S,I,f)}catch(tt){Ot(tt,k)}})}2==(18&O)&&re($,!1)}})(this,k,O,f)},configurable:!0,enumerable:!0}):1&S&&64&I&&Object.defineProperty($,k,{value(...O){const Y=J(this);return Y.$onInstancePromise$.then(()=>Y.$lazyInstance$[k](...O))}})}),1&S){const k=new Map;$.attributeChangedCallback=function(I,O,Y){w.jmp(()=>{const G=k.get(I);this[G]=(null!==Y||"boolean"!=typeof this[G])&&Y})},m.observedAttributes=D.filter(([I,O])=>15&O[0]).map(([I,O])=>{const Y=O[1]||I;return k.set(Y,I),512&O[0]&&f.$attrsToReflect$.push([I,Y]),Y})}}return m},pn=function(){var m=(0,C.A)(function*(f,S,D,$,k){if(!(32&S.$flags$)){{if(S.$flags$|=32,(k=_n(D)).then){const G=()=>{};k=yield k,G()}k.isProxied||(D.$watchers$=k.watchers,Ne(k,D,2),k.isProxied=!0);const Y=()=>{};S.$flags$|=8;try{new k(S)}catch(G){Ot(G)}S.$flags$&=-9,S.$flags$|=128,Y(),Ge(S.$lazyInstance$)}if(k.style){let Y=k.style;const G=K(D);if(!Wt.has(G)){const Q=()=>{};((m,f,S)=>{let D=Wt.get(m);
1ot&&S?(D=D||new CSSStyleSheet,D.replace(f)):D=f,Wt.set(m,D)})(G,Y,!!(1&D.$flags$)),Q()}}}const I=S.$ancestorComponent$,O=()=>re(S,!0);I&&I["s-rc"]?I["s-rc"].push(O):O()});return function(S,D,$,k,I){return m.apply(this,arguments)}}(),Ge=m=>{yt(m,"connectedCallback")},fn=(m,f={})=>{const D=[],$=f.exclude||[],k=t.customElements,I=d.head,O=I.querySelector("meta[charset]"),Y=d.createElement("style"),G=[];let Q,tt=!0;Object.assign(w,f),w.$resourcesUrl$=new URL(f.resourcesUrl||"./",d.baseURI).href,w.$flags$|=2,m.map(rt=>rt[1].map(it=>{const Dt={$flags$:it[0],$tagName$:it[1],$members$:it[2],$listeners$:it[3]};Dt.$members$=it[2],Dt.$listeners$=it[3],Dt.$attrsToReflect$=[],Dt.$watchers$={};const Ft=Dt.$tagName$,gn=class extends HTMLElement{constructor(pe){super(pe),Ye(pe=this,Dt)}connectedCallback(){Q&&(clearTimeout(Q),Q=null),tt?G.push(this):w.jmp(()=>(m=>{if(!(1&w.$flags$)){const f=J(m),S=f.$cmpMeta$,D=()=>{};if(1&f.$flags$)et(m,f,S.$listeners$),Ge(f.$lazyInstance$);else{let $;f.$flags$|=1,$=m.getAttribute(F),$&&((m,f,S,D)=>{const k=m.shadowRoot,I=[],G=D.$vnode$=Nt(f,null);w.$orgLocNodes$||zt(d.body,w.$orgLocNodes$=new Map),m[F]=S,m.removeAttribute(F),de(G,I,[],null,m,m,S),I.map(Q=>{const tt=Q.$hostId$+"."+Q.$nodeId$,rt=w.$orgLocNodes$.get(tt),it=Q.$elm$;rt&&""===rt["s-en"]&&rt.parentNode.insertBefore(it,rt.nextSibling),k||(it["s-hn"]=f,rt&&(it["s-ol"]=rt,it["s-ol"]["s-nr"]=it)),w.$orgLocNodes$.delete(tt)})})(m,S.$tagName$,$,f);{let k=m;for(;k=k.parentNode||k.host;)if(1===k.nodeType&&k.hasAttribute("s-id")&&k["s-p"]||k["s-p"]){Pe(f,f.$ancestorComponent$=k);break}}S.$members$&&Object.entries(S.$members$).map(([k,[I]])=>{if(31&I&&m.hasOwnProperty(k)){const O=m[k];delete m[k],m[k]=O}}),ue(()=>pn(m,f,S))}D()}})(this))}disconnectedCallback(){w.jmp(()=>(m=>{if(!(1&w.$flags$)){const f=J(m);f.$rmListeners$&&(f.$rmListeners$.map(S=>S()),f.$rmListeners$=void 0),w.$cssShim$&&w.$cssShim$.removeHost(m)}})(this))}componentOnReady(){return J(this).$onReadyPromise$}};Dt.$lazyBundleId$=rt[0],!$.includes(Ft)&&!k.get(Ft)&&(D.push(Ft),k.define(Ft,Ne(gn,Dt,1)))})),Y.innerHTML=D+"{visibility:hidden}.hydrated{visibility:inherit}",Y.setAttribute("data-styles",""),I.insertBefore(Y,O?O.nextSibling:I.firstChild),tt=!1,G.length?G.map(rt=>rt.connectedCallback()):w.jmp(()=>Q=setTimeout(ce,30))},W=new WeakMap,J=m=>W.get(m),Oe=(m,f)=>W.set(f.$lazyInstance$=m,f),Ye=(m,f)=>{const S={$flags$:0,$hostElement$:m,$cmpMeta$:f,$instanceValues$:new Map};return S.$onInstancePromise$=new Promise(D=>S.$onInstanceResolve$=D),S.$onReadyPromise$=new Promise(D=>S.$onReadyResolve$=D),m["s-p"]=[],m["s-rc"]=[],et(m,S,f.$listeners$),W.set(m,S)},wt=(m,f)=>f in m,Ot=(m,f)=>(0,console.error)(m,f),st=new Map,_n=(m,f,S)=>{const D=m.$tagName$.replace(/-/g,"_"),$=m.$lazyBundleId$,k=st.get($);return k?k[D]:T(81867)(`./${$}.entry.js`).then(I=>(st.set($,I),I[D]),Ot)},Wt=new Map,ue=m=>u().then(m)},30227:(ft,nt,T)=>{"use strict";T.d(nt,{d:()=>w});var C=T(46553),h=T(85518);function w(u,ot,et){return function H(u,ot,et){return function j(u,ot,et){const q=(0,h.a)(u,et?.in);if(isNaN(ot))return(0,C.w)(et?.in||u,NaN);if(!ot)return q;const xt=q.getDate(),at=(0,C.w)(et?.in||u,q.getTime());return at.setMonth(q.getMonth()+ot+1,0),xt>=at.getDate()?at:(q.setFullYear(at.getFullYear(),at.getMonth(),xt),q)}(u,12*ot,et)}(u,-ot,et)}},31693:(ft,nt,T)=>{"use strict";T.d(nt,{Q:()=>h});var C=T(71326);let h=(()=>{class j{elementRef;isFocused=(0,C.hFB)();activeTabIndex=(0,C.hFB)(-1);constructor(H){this.elementRef=H}ngAfterViewInit(){this.isFocused()&&0===this.activeTabIndex()&&this.elementRef.nativeElement?.focus()}static \u0275fac=function(d){return new(d||j)(C.rXU(C.aKT))};static \u0275dir=C.FsC({type:j,selectors:[["","frkCalendarFocusable",""]],inputs:{isFocused:[1,"isFocused"],activeTabIndex:[1,"activeTabIndex"]}})}return j})()},58992:function(ft){ft.exports=function(){"use strict";var nt,T,C=1e3,h=6e4,j=36e5,t=864e5,H=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=31536e6,w=2628e6,B=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,u={years:d,months:w,days:t,hours:j,minutes:h,seconds:C,milliseconds:1,weeks:6048e5},ot=function(g){return g instanceof ct},et=function(g,v,x){return new ct(g,x,v.$l)},q=function(g){return T.p(g)+"s"},xt=function(g){return g<0},at=function(g){return xt(g)?Math.ceil(g):Math.floor(g)},vt=function(g){return Math.abs(g)},dt=function(g,v){return g?xt(g)?{negative:!0,format:""+vt(g)+v}:{negative:!1,format:""+g+v}:{negative:!1,format:""}}
1,ct=function(){function g(x,A,R){var V=this;if(this.$d={},this.$l=R,void 0===x&&(this.$ms=0,this.parseFromMilliseconds()),A)return et(x*u[q(A)],this);if("number"==typeof x)return this.$ms=x,this.parseFromMilliseconds(),this;if("object"==typeof x)return Object.keys(x).forEach(function(N){V.$d[q(N)]=x[N]}),this.calMilliseconds(),this;if("string"==typeof x){var b=x.match(B);if(b){var M=b.slice(2).map(function(N){return null!=N?Number(N):0});return this.$d.years=M[0],this.$d.months=M[1],this.$d.weeks=M[2],this.$d.days=M[3],this.$d.hours=M[4],this.$d.minutes=M[5],this.$d.seconds=M[6],this.calMilliseconds(),this}}return this}var v=g.prototype;return v.calMilliseconds=function(){var x=this;this.$ms=Object.keys(this.$d).reduce(function(A,R){return A+(x.$d[R]||0)*u[R]},0)},v.parseFromMilliseconds=function(){var x=this.$ms;this.$d.years=at(x/d),this.$d.months=at((x%=d)/w),this.$d.days=at((x%=w)/t),this.$d.hours=at((x%=t)/j),this.$d.minutes=at((x%=j)/h),this.$d.seconds=at((x%=h)/C),this.$d.milliseconds=x%=C},v.toISOString=function(){var x=dt(this.$d.years,"Y"),A=dt(this.$d.months,"M"),R=+this.$d.days||0;this.$d.weeks&&(R+=7*this.$d.weeks);var V=dt(R,"D"),b=dt(this.$d.hours,"H"),M=dt(this.$d.minutes,"M"),N=this.$d.seconds||0;this.$d.milliseconds&&(N+=this.$d.milliseconds/1e3,N=Math.round(1e3*N)/1e3);var K=dt(N,"S"),Bt=(x.negative||A.negative||V.negative||b.negative||M.negative||K.negative?"-":"")+"P"+x.format+A.format+V.format+(b.format||M.format||K.format?"T":"")+b.format+M.format+K.format;return"P"===Bt||"-P"===Bt?"P0D":Bt},v.toJSON=function(){return this.toISOString()},v.format=function(x){var A=x||"YYYY-MM-DDTHH:mm:ss",R={Y:this.$d.years,YY:T.s(this.$d.years,2,"0"),YYYY:T.s(this.$d.years,4,"0"),M:this.$d.months,MM:T.s(this.$d.months,2,"0"),D:this.$d.days,DD:T.s(this.$d.days,2,"0"),H:this.$d.hours,HH:T.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:T.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:T.s(this.$d.seconds,2,"0"),SSS:T.s(this.$d.milliseconds,3,"0")};return A.replace(H,function(V,b){return b||String(R[V])})},v.as=function(x){return this.$ms/u[q(x)]},v.get=function(x){var A=this.$ms,R=q(x);return"milliseconds"===R?A%=1e3:A="weeks"===R?at(A/u[R]):this.$d[R],A||0},v.add=function(x,A,R){var V;return V=A?x*u[q(A)]:ot(x)?x.$ms:et(x,this).$ms,et(this.$ms+V*(R?-1:1),this)},v.subtract=function(x,A){return this.add(x,A,!0)},v.locale=function(x){var A=this.clone();return A.$l=x,A},v.clone=function(){return et(this.$ms,this)},v.humanize=function(x){return nt().add(this.$ms,"ms").locale(this.$l).fromNow(!x)},v.valueOf=function(){return this.asMilliseconds()},v.milliseconds=function(){return this.get("milliseconds")},v.asMilliseconds=function(){return this.as("milliseconds")},v.seconds=function(){return this.get("seconds")},v.asSeconds=function(){return this.as("seconds")},v.minutes=function(){return this.get("minutes")},v.asMinutes=function(){return this.as("minutes")},v.hours=function(){return this.get("hours")},v.asHours=function(){return this.as("hours")},v.days=function(){return this.get("days")},v.asDays=function(){return this.as("days")},v.weeks=function(){return this.get("weeks")},v.asWeeks=function(){return this.as("weeks")},v.months=function(){return this.get("months")},v.asMonths=function(){return this.as("months")},v.years=function(){return this.get("years")},v.asYears=function(){return this.as("years")},g}(),F=function(g,v,x){return g.add(v.years()*x,"y").add(v.months()*x,"M").add(v.days()*x,"d").add(v.hours()*x,"h").add(v.minutes()*x,"m").add(v.seconds()*x,"s").add(v.milliseconds()*x,"ms")};return function(g,v,x){nt=x,T=x().$utils(),x.duration=function(V,b){var M=x.locale();return et(V,{$l:M},b)},x.isDuration=ot;var A=v.prototype.add,R=v.prototype.subtract;v.prototype.add=function(V,b){return ot(V)?F(this,V,1):A.bind(this)(V,b)},v.prototype.subtract=function(V,b){return ot(V)?F(this,V,-1):R.bind(this)(V,b)}}}()},62280:function(ft){ft.exports=function(){"use strict";return function(nt,T){T.prototype.weekday=function(C){var h=this.$locale().weekStart||0,j=this.$W,t=(j<h?j+7:j)-h;return this.$utils().u(C)?t:this.subtract(t,"day").add(C,"day")}}}()},76606:function(ft){ft.exports=function(){"use strict";return function(nt,T,C){T.prototype.isBetween=function(h,j,t,H){var d=C(h),w=C(j),B="("===(H=H||"()")[0],u=")"===H[1];return(B?this.isAfter(d,t):!this.isBefore(d,t))&&(u?this.isBefore(w,t):!this.isAfter(w,t))||(B?this.isBefore(d,t):!this.isAfter(d,t))&&(u?this.isAfter(w,t):!this.isBefore(w,t))}}}()},81867:(ft,nt,T)=>{var C={"./duet-date-picker.entry.js":[69463,"node_modules_pnpm_duetds_date-picker_
11_4_0_node_modules_duetds_date-picker_dist_esm_duet-date-3357d5"]};function h(j){if(!T.o(C,j))return Promise.resolve().then(()=>{var d=new Error("Cannot find module '"+j+"'");throw d.code="MODULE_NOT_FOUND",d});var t=C[j],H=t[0];return T.e(t[1]).then(()=>T(H))}h.keys=()=>Object.keys(C),h.id=81867,ft.exports=h}}]); 2//# sourceMappingURL=default-dist_libs_ng_ui-products_fesm2022_frk-ng-ui-products_mjs.05f38d64dee459ff.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.