PageSourceSearch

https://www.franklintempleton.ch/default-src_app_ft-components_pro…stimates_service_ts.89040d2a184323272c1a.js

js franklintempleton.ch collected 2026-09-29 20:26:11 UTC 22,384 bytes, 2 lines download raw bytes

1(self.webpackChunkgw_core_sites_app=self.webpackChunkgw_core_sites_app||[]).push([["default-src_app_ft-components_products_tax_services_us-capital-gains-estimates_service_ts"],{27053:(I,R,s)=>{"use strict";s.d(R,{O:()=>T});var g=s(68411),C=s(70553),S=s(33927),r=s(86861),F=s(80509);class c extends F.I{constructor(i,p){super(i,p)}toDomain(i){const p=[];return i.forEach(v=>{const A=this.createMapper(h).toDomain(v);A&&p.push(A)}),p}}class h extends F.I{constructor(i,p){super(i,p)}toDomain(i){const p=i.fundid,v=i.shclcode;return{fundId:p,shareClassCode:v,countryCode:i.cntrycode,languageCode:i.langcode,capitalGainPayableDate:i.capgainpayabledate,capitalGainRecordDate:i.capgainrecorddatefmt,capitalGainExDividendDate:i.capgainexdivdatefmt,capitalGainReInvestmentDate:i.capgainreinvestmentdate,shortTermCapitalGainAmount:i.capgainamtshrtterm,longTermCapitalGainAmount:i.capgainamtlngterm,totalDistributionAmountMonthly:i.totaldistamtmth,capitalGainReInvestmentAmount:i.capgainreinvstmntamt,estimateFlag:i.estimateflag,fundName:i.fundname,shareClassName:i.shareclassname,cusip:i.cusip,ticker:i.ticker,capGainFrequency:i.capgainfrequency,productType:i.producttype,taxYear:i.taxyear,productTaxonomy:i.webprdcttaxonomy,fundStatus:this.getFundStatus(v?`${p}-${v}`:p),investmentGroup:i.investmentgroup,taId:i.taid,primaryShareClassIndicator:"yes"===i.prmryshclind?.toLowerCase(),capitalGainRecordDateFormatted:i.capgainrecorddatefmt,capitalGainPayableDateFormatted:i.capgainpayabledatefmt,longTermCapitalGainPercent:i.ltcapgainpctnav,totalGainNav:i.totcapgainpctnav,shortTermCapitalGainPercent:i.stcapgainpctnav,navAsofDate:i.navasofdate,navValue:i.navvalue,assetClass:i.assetclass}}getFundStatus(i){return this.mapperParams?.config?.isActiveShareClass(i)?r.N0.active:this.mapperParams?.config?.isSoftLaunchShareClass(i)?r.N0["soft-launch"]:this.mapperParams?.config?.isSoftClosedShareClass(i)?r.N0["soft-closed"]:r.N0.inactive}}var m=s(2316),u=s(86663),L=s(59278),N=s(92534);g.Y.getLogger("CapGainDistributionService");let T=(()=>{class _ extends C.v{constructor(p,v,A){super(p,v),this.mapperFactory=A}register(p){return super.register(p,this.getVariables()).pipe((0,S.U)(v=>{const A=v?.data?.CapGainDistribution?v?.data?.CapGainDistribution:null;return this.mapperFactory.createMapper(c,{config:this.siteConfigService}).toDomain(A)}))}getVariables(){return{countrycode:this.getCountry(),languagecode:this.getLanguage()}}}return _.\u0275fac=function(p){return new(p||_)(m.LFG(u._M),m.LFG(L.r5),m.LFG(N.$))},_.\u0275prov=m.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),_})()},91441:(I,R,s)=>{"use strict";s.d(R,{l:()=>z});var g=s(86861),C=s(68411),S=s(13413),r=s(79441),F=s(81134),c=s(42720),h=s(29295),m=s.n(h),u=s(26310),L=s(90267),N=s.n(L),k=s(88214),T=s.n(k),_=s(3138),i=s(44022),p=s(70160),v=s.n(p),A=s(79902),P=s(2316),D=s(27053),O=s(59278),U=s(27513),B=s(16320),V=s(53619),K=s(55311),w=s(41185);const M=C.Y.getLogger("UsCapitalGainsEstimatesService"),W=["productType","assetClass","investmentGroup","shareClassName"],$=[u.V7.MUTUAL_FUNDS,u.V7.ETFs,u.V7.TIF,u.V7.MONEY_MARKET_FUNDS,u.V7.INTERVAL_FUNDS,u.V7.CLOSED_END_FUNDS,u.V7.COLLECTIVE_INVESTMENT_TRUST],H=["fundId","fundName","shareClassName","cusip","ticker","taId"];let z=(()=>{class y{constructor(t,e,a,n,d,o,l){this.capgainDistributionService=t,this.siteConfigService=e,this.translateService=a,this.activatedRoute=n,this.excelDownloadService=d,this.profileService=o,this.favoritesService=l,this.state={},this.capGainListing=[],this.originalcapGainListing=[],this.favoritesToggleState={showFavoritesOnlySwitch:!1},this.hideFundEstimate=!1,this.capGainsEstimatesState$=new S.t,this.pagedRecords=new _.B54(100),this.totalSelectedRows$=new r.xQ,this.favoritesToggleState$=new r.xQ,this.hideFundEstimateFlag$=new S.t,this.totalRecords$=new r.xQ}getCapGainsEstimatesState$(){return this.capGainsEstimatesState$.asObservable()}populate(){this.capgainDistributionService.register(m()).subscribe(t=>{M.debug("Cap Gains Feed: ",t),this.totalRecords$.next(t),this.processState(t)},t=>{M.error("Error in fetching cap gains feed from PDS: ",t),this.capGainsEstimatesState$.error(t)})}processState(t){try{t=(t=t.filter(e=>$.includes(e.productType))).filter(e=>e.capitalGainRecordDate&&v()(e.capitalGainRecordDate).year()===v()().year()),this.capGainListing=this.formatCapGainDistributionsData(this.filterRecentRecords(t.filter(e=>e.fundStatus===g.N0.active||e.fundStatus===g.N0["soft-launch"]&&!("false"===e.estimateFlag&&Boolean(e.totalDistributionAmountMonthly))||e.fundStatus===g.N0["soft-closed"]))),this.originalcapGainListing=this.capGainListing,this.state.filters=this.extractFiltersData(this.capGainListing,W),this.hideFundEstimate&&(this.capGainListing=this.getFundEstimates(this.capGainListing)),this.state.recordDetail
1s={total:this.originalcapGainListing.length,filtered:this.capGainListing.length,pageSize:100},this.pagedRecords.records=N()(this.capGainListing),this.state.action=g.Kf.INITIAL_LOAD,this.state.isLoaded=!0,this.capGainsEstimatesState$.next(this.state)}catch(e){M.error("Error in processing feed and assigning state: ",e),this.state.isLoaded=!1,this.capGainsEstimatesState$.next(this.state)}}filterRecentRecords(t){const e=[];return t.forEach(a=>{if(e.length){const n=e.findIndex(d=>`${d.fundId}-${d.shareClassCode}`==`${a.fundId}-${a.shareClassCode}`);-1!==n?v()(a.capitalGainRecordDate).isAfter(e[n].capitalGainRecordDate)&&e.splice(n,1,a):e.push(a)}else e.push(a)}),e}formatCapGainDistributionsData(t){return this.sortCapGainListing(t.map(e=>{const a=this.siteConfigService.getDefaultIdentifierKey(e.productTaxonomy);return{fundId:e.fundId,fundName:e.fundName,fundLink:e.fundStatus!==g.N0["soft-launch"]?`${this.siteConfigService.getFundLink(e.fundId,e.shareClassCode,e.fundName,a?e[a]:null)}#distributions`:null,fundStatus:e.fundStatus,shareClassCode:e.shareClassCode,shareClassName:e.shareClassName,isPrimaryShareClass:e.primaryShareClassIndicator,productType:e.productType,assetClass:e.assetClass,cusip:e.cusip,ticker:e.ticker,taId:e.taId,investmentGroup:e.investmentGroup,capitalGainRecordDate:e.capitalGainRecordDateFormatted,capitalGainPayableDate:e.capitalGainPayableDateFormatted,longTermCapitalGainAmount:e.longTermCapitalGainAmount,shortTermCapitalGainAmount:e.shortTermCapitalGainAmount,totalDistributionAmountMonthly:e.totalDistributionAmountMonthly,estimateFlag:"true"===e.estimateFlag,actualsAlert:"false"===e.estimateFlag&&Boolean(e.totalDistributionAmountMonthly),isSelected:!1,navValue:e.navValue,capitalGainExDividendDate:e.capitalGainExDividendDate,longTermCapitalGainPercent:e.longTermCapitalGainPercent,shortTermCapitalGainPercent:e.shortTermCapitalGainPercent,totalGainNav:e.totalGainNav,navAsofDate:e.navAsofDate}}))}sortCapGainListing(t){return t.sort((e,a)=>{const n=e.fundName.localeCompare(a.fundName);return 0===n?e.shareClassName.localeCompare(a.shareClassName):n})}extractFiltersData(t,e){const a=[];return e.forEach(n=>{const d=T()(t.map(l=>l[n]).sort((l,f)=>l.localeCompare(f)));"shareClassName"===n&&[i.Ie.toLowerCase(),i.NA.toLowerCase()].forEach(l=>{const E=d.map(x=>x.toLowerCase()).indexOf(l);-1!==E&&d.splice(E,1)});let o=[];if(d.map(l=>{o.push({label:"productType"===n?this.translateService.instant(`products.capgains-filter-producttype-${l.toLowerCase().split(" ").join("-")}`):l,value:l,checked:!1})}),"productType"===n){const l=[];$.forEach(f=>{const E=o.find(x=>x.value===f);E&&l.push(E)}),l.length!==o.length&&o.forEach(f=>{l.find(E=>E.value===f.value)||l.push(f)}),o=l}a.push({filterLabel:n.toLowerCase(),filterName:n,filterItems:o})}),a}handleGridSort(t){this.pagedRecords.records.sort("asc"===t.sortType?(e,a)=>this.processColumnComparison(e,a,t.columnId):(e,a)=>-this.processColumnComparison(e,a,t.columnId)),this.pagedRecords.records=N()(this.pagedRecords.records)}processColumnComparison(t,e,a){switch(a){case g.Gc.RECORD_DATE:return this.getCompareValueByType(t,e,"capitalGainRecordDate","date");case g.Gc.EX_DATE:return this.getCompareValueByType(t,e,"capitalGainExDividendDate","date");case g.Gc.LONG_TERM_CAP_GAINS:return this.getCompareValueByType(t,e,"longTermCapitalGainAmount","price");case g.Gc.TOTAL_PERCENT:return this.getCompareValueByType(t,e,"totalGainNav","price");case g.Gc.SHORT_TERM_CAP_GAINS:return this.getCompareValueByType(t,e,"shortTermCapitalGainAmount","price");case g.Gc.SHORT_TERM_CAP_GAINS_PERCENT:return this.getCompareValueByType(t,e,"shortTermCapitalGainPercent","price");case g.Gc.LONG_TERM_CAP_GAINS_PERCENT:return this.getCompareValueByType(t,e,"longTermCapitalGainPercent","price");case g.Gc.TOTAL_CAP_GAINS:return this.getCompareValueByType(t,e,"totalDistributionAmountMonthly","price");case g.Gc.NAV_AS_OF:return this.getCompareValueByType(t,e,"navValue","price");default:return t.fundName.localeCompare(e.fundName)}}getCompareValueByType(t,e,a,n){if("price"===n){if(t.actualsAlert)return 1;if(e.actualsAlert)return-1}if(t[a]===e[a])return t.fundName.localeCompare(e.fundName);if("date"===n)return v()(t[a],"MM/DD/YYYY").isAfter(v()(e[a],"MM/DD/YYYY"))?1:-1;{const d=this.getPartOfEstimatedRangeInNumber(t[a],"first"),o=this.getPartOfEstimatedRangeInNumber(e[a],"first");return d===o?this.getPartOfEstimatedRangeInNumber(t[a],"second")>this.getPartOfEstimatedRangeInNumber(e[a],"second")?1:-1:d>o?1:-1}}getPartOfEstimatedRangeInNumber(t,e){const a="first"===e?0:1;return Number(t.split("-")[a]?.replace("$","").replace("%",""))}getFavoritesToggleState$(){return this.favoritesToggleState$.asObservable()}handleFavoriteToggle(){this.profileService.isLoggedIn$().pipe((0,A.w)(t=>t&&this.siteConfigService.isFavoriteFundsEnabled()?this.getFavoriteList$():(0,F.of)(null))).subscribe(t=>{M.debug("Favorite fund share class ids: ",t),t&&(t?.length&&t.forEach(e
1=>{const a=this.originalcapGainListing.findIndex(n=>`${n.fundId}-${n.shareClassCode}`===e.fundShareClassId);-1!==a&&(this.originalcapGainListing[a].isFavorite=!0)}),this.favoritesToggleState.favoritesOnlySwitchState||(this.favoritesToggleState.showFavoritesOnlySwitch=!0,this.favoritesToggleState.favoritesOnlySwitchState=u.wl.OFF),this.favoritesToggleState.favoritesOnlySwitchState===u.wl.ON&&this.filterListing(this.selectedFilters,!0)),this.favoritesToggleState$.next(this.favoritesToggleState)},t=>{M.error("Error in loading favorites: ",t),this.favoritesToggleState$.next(this.favoritesToggleState)})}getFavoriteList$(){return this.favoritesService.getFavorites$()}setHideFundEstimateFlag$(t){this.hideFundEstimate=t,this.hideFundEstimateFlag$.next(t)}getHideFundEstimateFlag$(){return this.hideFundEstimateFlag$.asObservable()}filterListing(t,e,a){let d=this.originalcapGainListing;this.favoritesToggleState.favoritesOnlySwitchState=e?u.wl.ON:u.wl.OFF,this.selectedFilters=t,this.setHideFundEstimateFlag$(a),t?.searchedText&&(d=this.filterListWithSearchText(t)),this.hideFundEstimate&&(d=this.getFundEstimates(d)),e&&(d=N()(d.filter(l=>l.isFavorite))),t?.selectedDropdowns.some(l=>l.filterItems.map(f=>f.value).length)&&t.selectedDropdowns.forEach(l=>{const f=l.filterItems.map(E=>E.value);f.length&&(d=d.filter(E=>f.includes(E[l.filterName])))}),this.state.recordDetails.filtered=d.length,this.state.recordDetails.total=this.originalcapGainListing.length,this.state.action=g.Kf.FILTER_ROWS,this.capGainsEstimatesState$.next(this.state),this.pagedRecords.records=d,this.capGainListing=d}filterListWithSearchText(t){return this.sortCapGainListing(this.originalcapGainListing).filter(e=>H.some(a=>this.isSearchTermMatched(e,a,t.searchedText.toLowerCase())))}getFundEstimates(t){return N()(t.filter(e=>{const{longTermCapitalGainAmount:a,longTermCapitalGainPercent:n,shortTermCapitalGainAmount:d,shortTermCapitalGainPercent:o,totalGainNav:l}=e;if(Number(parseFloat(a.replace("$","")))>0||Number(parseFloat(n.replace("%","")))>0||Number(parseFloat(d.replace("$","")))>0||Number(parseFloat(o.replace("%","")))>0||Number(parseFloat(l.replace("%","")))>0)return e}))}isSearchTermMatched(t,e,a){switch(e){case"fundId":case"fundName":default:return t[e].toLowerCase().includes(a);case"shareClassName":return t[e].toLowerCase()===a}}updateRowSelection(t){if(t.selectedFundShareClassId)this.getCurrentGridRecords().find(e=>`${e.fundId}-${e.shareClassCode}`===t.selectedFundShareClassId).isSelected=t.isSelected,this.originalcapGainListing.find(e=>`${e.fundId}-${e.shareClassCode}`===t.selectedFundShareClassId).isSelected=t.isSelected;else{const e=this.getCurrentPageNumber();this.getCurrentGridRecords().forEach(a=>{a.isSelected=t.isSelected,this.originalcapGainListing.find(n=>`${n.fundId}-${n.shareClassCode}`==`${a.fundId}-${a.shareClassCode}`).isSelected=t.isSelected}),this.pagedRecords.records=this.getCurrentGridRecords(),this.goToPage(e)}this.totalSelectedRows$.next(this.originalcapGainListing.filter(e=>e.isSelected).length)}getLastBusinessDay(t,e){const a=new Date(t,e,0);for(;0===a.getDay()||6===a.getDay();)a.setDate(a.getDate()-1);return Number(a.getMonth()+1)+"/"+a.getDate()+"/"+a.getFullYear()}getTotalSelectedRows$(){return this.totalSelectedRows$.asObservable()}handleDownloadAction(t=!1){const e=t?this.originalcapGainListing.filter(o=>o.isSelected):N()(this.originalcapGainListing),a=this.translateService.instant("products.capgains-actualsposted"),n=e?.map(o=>{const l=f=>o.actualsAlert?a:f;return[o.fundName,o.ticker,o.shareClassName,l(o.longTermCapitalGainPercent),l(o.shortTermCapitalGainPercent),l(o.totalGainNav),l(o.longTermCapitalGainAmount),l(o.shortTermCapitalGainAmount),o.navValue,o.capitalGainRecordDate,o.capitalGainExDividendDate,o.capitalGainPayableDate]}),d=[this.translateService.instant("products.capgains-excel-headers-fund-name"),this.translateService.instant("products.capgains-table-heading-ticker"),this.translateService.instant("products.capgains-table-heading-share-class"),this.translateService.instant("products.capgains-table-heading-long-term-cap-gains-perc"),this.translateService.instant("products.capgains-table-heading-short-term-cap-gains-perc"),this.translateService.instant("products.capgains-table-heading-total-percent"),this.translateService.instant("products.capgains-excel-headers-long-term-gain")+" "+this.translateService.instant("products.capgains-excel-headers-cap-gains"),this.translateService.instant("products.capgains-excel-headers-short-term-gain")+" "+this.translateService.instant("products.capgains-excel-headers-cap-gains"),this.translateService.instant("products.NAV_VALUE")+" "+this.translateService.instant("products.capgains-table-heading-nav-as-of")+" "+this.translateService.instant("products.cap-gains-estimates-date"),this.translateService.instant("products.capgains-excel-headers-record-date"),this.translateService.instant("products.capgains-table-heading-ex-date"),this.translateService.instant("products.capgains-table-heading-payable-date")];n.unshift(d),(0,c.D)([this.excelDownloadService.getProximalCaveat$("CapGainsExcelProximalBottom"),this.excelDownloadService.getProximalCaveat$("CapGainsExcelProximalTop")]).subscribe(o=>{const[l,f]=o;this.exportToExcel(n,f,l),this.capGainListing.forEach(E=>E.isSelected=!1),this.pagedRecords.records=this.capGainListing,this.totalSelectedRows$.next(0),this.originalcapGainListing.forEach(E=>E.isSelected=!1)})}exportToExcel(t,e,a){s.e("node_modules_xlsx_xlsx_js").then(s.t.bind(s,88031,23)).then(n=>{const d=n.utils.aoa_to_sheet(e),o=n.utils.book_new();d["!cols"]=this.fitToColumn(t),n.utils.sheet_add_aoa(d,t,{origin:"A"+(e.length+2)}),n.utils.sheet_add_aoa(d,a,{origin:"A"+(e.length+2+t.length+2)}),n.utils.book_append_sheet(o,d),n.writeFile(o,this.translateService.instant("products.capgains-excel-file-name")+"-"+v()().format("MMDDYYYY")+".xlsx")})}fitToColumn(t){return t[0].map((e,a)=>({wch:Math.max(...t.map(n=>n[a]?.toString()?.length))}))}getNumberOfPages$(){return this.pagedRecords.numberOfPages$}getCurrentPage$(){return this.pagedRecords.currentPage$}getCurrentGridRecords(){return this.pagedRecords.records}getTotalRecords(){return this.totalRecords$}getCurrentPageNumber$(){return this.pagedRecords.pageNumber$}getCurrentPageNumber(){return this.pagedRecords.pageNumber}goToPage(t){this.pagedRecords&&(this.pagedRecords.pageNumber=t)}getPageSize(){return this.pagedRecords.pageSize}setPageSize(t){this.pagedRecords.pageSize=t}}return y.\u0275fac=function(t){return new(t||y)(P.LFG(D.O),P.LFG(O.r5),P.LFG(U.s),P.LFG(B.gz),P.LFG(V.O_),P.LFG(K.H3),P.LFG(w.G))},y.\u0275prov=P.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),y})()},86861:(I,R,s)=>{"use strict";s.d(R,{N0:()=>g,Kf:()=>C,Gc:()=>S});var g=(()=>{return(r=g||(g={})).active="active",r.inactive="inactive",r["soft-launch"]="soft-launch",r["
1soft-closed"]="soft-closed",g;var r})(),C=(()=>{return(r=C||(C={}))[r.INITIAL_LOAD=0]="INITIAL_LOAD",r[r.FILTER_ROWS=1]="FILTER_ROWS",C;var r})(),S=(()=>{return(r=S||(S={})).FUND_SELECT="FUND_SELECT",r.FUND_NAME="FUND_NAME",r.SHARE_CLASS="SHARE_CLASS",r.LONG_TERM_CAP_GAINS_PERCENT="LONG_TERM_CAP_GAINS_PERCENT",r.SHORT_TERM_CAP_GAINS_PERCENT="SHORT_TERM_CAP_GAINS_PERCENT",r.TOTAL_PERCENT="TOTAL_PERCENT",r.LONG_TERM_CAP_GAINS="LONG_TERM_CAP_GAINS",r.SHORT_TERM_CAP_GAINS="SHORT_TERM_CAP_GAINS",r.NAV_AS_OF="NAV_AS_OF",r.TOTAL_CAP_GAINS="TOTAL_CAP_GAINS",r.RECORD_DATE="RECORD_DATE",r.PAYABLE_DATE="PAYABLE_DATE",r.EX_DATE="EX_DATE",r.TICKER="TICKER",S;var r})()},29295:I=>{var R={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CapGainEstimates"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"countrycode"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"languagecode"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"CapGainDistribution"},arguments:[{kind:"Argument",name:{kind:"Name",value:"countrycode"},value:{kind:"Variable",name:{kind:"Name",value:"countrycode"}}},{kind:"Argument",name:{kind:"Name",value:"languagecode"},value:{kind:"Variable",name:{kind:"Name",value:"languagecode"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"assetclass"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fundid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fundname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shclcode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shareclassname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"producttype"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"webprdcttaxonomy"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cusip"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ticker"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"investmentgroup"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"capgainrecorddate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"capgainrecorddatefmt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"capgainpayabledatefmt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"capgainamtlngterm"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"capgainamtshrtterm"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"totaldistamtmth"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"capgainreinvstmntamt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"estimateflag"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"prmryshclind"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"capgainexdivdate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"capgainexdivdatefmt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ltcapgainpctnav"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"stcapgainpctnav"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"totcapgainpctnav"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"navvalue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"navasofdate"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:648}};function C(c,h){if("FragmentSpread"===c.kind)h.add(c.name.value);else if("VariableDefinition"===c.kind){var m=c.type;"NamedType"===m.kind&&h.add(m.name.value)}c.selectionSet&&c.selectionSet.selections.forEach(function(u){C(u,h)}),c.variableDefinitions&&c.variableDefinitions.forEach(function(u){C(u,h)}),c.definitions&&c.definitions.forEach(function(u){C(u,h)})}R.loc.source={body:"query CapGainEstimates($countrycode: String!, $languagecode: String!) {\n  CapGainDistribution(countrycode: $countrycode, languagecode: $languagecode) {\n    assetclass\n    fundid\n    fundname\n    shclcode\n    shareclassname\n    producttype\n    webprdcttaxonomy\n    cusip\n    ticker\n    taid\n    investmentgroup\n    capgainrecorddate\
1n    capgainrecorddatefmt\n    capgainpayabledatefmt\n    capgainamtlngterm\n    capgainamtshrtterm\n    totaldistamtmth\n    capgainreinvstmntamt\n    estimateflag\n    prmryshclind\n    capgainexdivdate\n    capgainexdivdatefmt\n    ltcapgainpctnav\n    stcapgainpctnav\n    totcapgainpctnav\n    navvalue\n    navasofdate\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var S={};function r(c,h){for(var m=0;m<c.definitions.length;m++){var u=c.definitions[m];if(u.name&&u.name.value==h)return u}}R.definitions.forEach(function(h){if(h.name){var m=new Set;C(h,m),S[h.name.value]=m}}),I.exports=R,I.exports.CapGainEstimates=function(c,h){var m={kind:c.kind,definitions:[r(c,h)]};c.hasOwnProperty("loc")&&(m.loc=c.loc);var u=S[h]||new Set,L=new Set,N=new Set;for(u.forEach(function(T){N.add(T)});N.size>0;){var k=N;N=new Set,k.forEach(function(T){L.has(T)||(L.add(T),(S[T]||new Set).forEach(function(i){N.add(i)}))})}return L.forEach(function(T){var _=r(c,T);_&&m.definitions.push(_)}),m}(R,"CapGainEstimates")}}]);
2//# sourceMappingURL=default-src_app_ft-components_products_tax_services_us-capital-gains-estimates_service_ts.89040d2a184323272c1a.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.