1"use strict";(self.webpackChunkgw_core_sites_app=self.webpackChunkgw_core_sites_app||[]).push([["australia-fund-platforms"],{5743:(P,c,i)=>{i.r(c),i.d(c,{AustraliaFundPlatformsModule:()=>L});var m=i(54364),p=i(68411),t=i(2316),s=i(3138),f=i(59278),u=i(66237),g=i(32221);function _(o,l){if(1&o&&(t.TgZ(0,"p"),t.TgZ(1,"eds-link-item",24),t._uU(2),t.qZA(),t.qZA()),2&o){const e=t.oxw().$implicit,a=t.oxw(3);t.xp6(1),t.Q6J("useSmallText",!0)("href",a.getFundLink(e)),t.xp6(1),t.hij(" ",e.name," ")}}function h(o,l){if(1&o&&(t.TgZ(0,"p",25),t._uU(1),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.name," ")}}function Z(o,l){if(1&o){const e=t.EpF();t.TgZ(0,"tr",15),t.TgZ(1,"td",20),t.YNc(2,_,3,3,"p",21),t.YNc(3,h,2,1,"p",22),t.qZA(),t.TgZ(4,"td",20),t.TgZ(5,"eds-link-item",23),t.NdJ("click",function(n){const d=t.CHM(e).$implicit;return t.oxw(3).openPlatformModal(d,n)}),t.qZA(),t.qZA(),t.TgZ(6,"td",20),t._uU(7),t.ALo(8,"ftDashIfEmpty"),t.qZA(),t.TgZ(9,"td",20),t._uU(10),t.ALo(11,"ftDashIfEmpty"),t.qZA(),t.TgZ(12,"td",20),t._uU(13),t.ALo(14,"ftDashIfEmpty"),t.qZA(),t.TgZ(15,"td",20),t._uU(16),t.ALo(17,"ftDashIfEmpty"),t.qZA(),t.TgZ(18,"td",20),t._uU(19),t.ALo(20,"ftDashIfEmpty"),t.qZA(),t.qZA()}if(2&o){const e=l.$implicit,a=t.oxw(3);t.xp6(2),t.Q6J("ngIf",e.id),t.xp6(1),t.Q6J("ngIf",!e.id),t.xp6(2),t.Q6J("title",a.brLabels["view-modal-label"])("useSmallText",!0),t.xp6(2),t.hij(" ",t.lcZ(8,9,e.lonsec)," "),t.xp6(3),t.hij(" ",t.lcZ(11,11,e.zenith)," "),t.xp6(3),t.hij(" ",t.lcZ(14,13,e.morningstar)," "),t.xp6(3),t.hij(" ",t.lcZ(17,15,e.sqm)," "),t.xp6(3),t.hij(" ",t.lcZ(20,17,e.Genium)," ")}}function A(o,l){if(1&o&&(t.TgZ(0,"eds-accordion-item",12),t.TgZ(1,"table",13),t.TgZ(2,"thead",14),t.TgZ(3,"tr",15),t.TgZ(4,"th",16),t._uU(5),t.qZA(),t.TgZ(6,"th",17),t._uU(7),t.qZA(),t.TgZ(8,"th",17),t._uU(9),t.qZA(),t.TgZ(10,"th",17),t._uU(11),t.qZA(),t.TgZ(12,"th",17),t._uU(13),t.qZA(),t.TgZ(14,"th",17),t._uU(15),t.qZA(),t.qZA(),t.qZA(),t.TgZ(16,"tbody",18),t.YNc(17,Z,21,19,"tr",19),t.qZA(),t.qZA(),t.qZA()),2&o){const e=l.$implicit,a=t.oxw(2);t.Q6J("title",e.name),t.xp6(5),t.hij(" ",a.brLabels["table-heading-fund"]," "),t.xp6(2),t.hij(" ",a.brLabels["table-heading-lonsec"]," "),t.xp6(2),t.hij(" ",a.brLabels["table-heading-zenith"]," "),t.xp6(2),t.hij(" ",a.brLabels["table-heading-morningstar"]," "),t.xp6(2),t.hij(" ",a.brLabels["table-heading-sqm"]," "),t.xp6(2),t.hij(" ",a.brLabels["table-heading-genium"]," "),t.xp6(2),t.Q6J("ngForOf",e.funds)}}function x(o,l){if(1&o){const e=t.EpF();t.TgZ(0,"div"),t.TgZ(1,"div",8),t.TgZ(2,"eds-dropdown",9),t.NdJ("dropdownChange",function(n){return t.CHM(e),t.oxw().onPlatformChange(n)}),t.qZA(),t.qZA(),t.TgZ(3,"eds-accordion",10),t.YNc(4,A,18,8,"eds-accordion-item",11),t.qZA(),t.qZA()}if(2&o){const e=t.oxw();
1t.xp6(2),t.Q6J("dropdownId","select-platform")("items",e.platformDropDownList)("label",e.brLabels["select-label"])("preselectedValue",e.platformDropDownList[0]),t.xp6(2),t.Q6J("ngForOf",e.filteredCategories)}}function b(o,l){if(1&o&&(t.TgZ(0,"li",26),t._uU(1),t._UZ(2,"eds-footnote",27),t.qZA()),2&o){const e=l.$implicit;t.xp6(1),t.hij(" ",e," "),t.xp6(1),t.Q6J("placement","AustraliaFundPlatforms:"+e)}}function F(o,l){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&o){const e=t.oxw();t.xp6(1),t.Oqu(e.brLabels["no-category-message"])}}const T=p.Y.getLogger("AustraliaFundPlatformsComponent");let C=(()=>{class o{constructor(e,a){this.modalService=e,this.siteConfigService=a,this.categories=[],this.filteredCategories=[],this.platformDropDownList=[],this.brLabels={}}populate(e,a,n,r){T.debug(`Received platform json response: ${e}`),this.brLabels=a,this.categories=e.categories,this.filteredCategories=e.categories,this.getPlatformDropDownList()}getPlatformDropDownList(){const e=[];this.categories.forEach(a=>{a.funds.forEach(n=>
1{n.platforms.forEach(r=>{r&&!e.includes(r)&&e.push(r)})})}),e.sort((a,n)=>a.localeCompare(n)).unshift(this.brLabels?.["select-all"]),e.forEach(a=>this.platformDropDownList.push({label:a,value:a}))}getFundLink(e){return this.siteConfigService.getFundLink(e.id,e.shareClassCode,e.name)}onPlatformChange(e){const a=[];e.value===this.brLabels?.["select-all"]?this.filteredCategories=this.categories:(this.categories.forEach(n=>{const r=[];n.funds.forEach(d=>{d.platforms.includes(e.value)&&r.push(d)}),r.length&&a.push({name:n.name,funds:r})}),this.filteredCategories=a)}openPlatformModal(e,a){a.preventDefault(),this.selectedFund=e,this.modalService.open("fund-platform-modal",{modalId:"fund-platform-modal",type:"simple",title:e.name,body:e.platforms.toString(),eventName:"Invest With US - Platform Availability",eventAction:"Click"})}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(s.Z7U),t.Y36(f.r5))},o.\u0275cmp=t.Xpm({type:o,selectors:[["ft-australia-fund-platforms"]],decls:11,vars:11,consts:[["placement","AustraliaFundPlatformsProximalTop"],[4,"ngIf","ngIfElse"],["size","large",3,"modalId","closeAriaLabel","modalAriaLabel"],["modal-body",""],["edsCssCols","",3,"maxCols"],["edsPadding","","edsPaddingTop","sm",4,"ngFor","ngForOf"],["handleNoCategoryMessage",""],["placement","AustraliaFundPlatformsProximalBottom"],["edsFlexbox","","edsSpacing","md"],["edsFlexItem","","flexBasis","30%","ariaLabel","Dropdown","name","select-platform","titleText","10","edsPadding","","edsPaddingLeft","none",3,"dropdownId","items","label","preselectedValue","dropdownChange"],["edsSpacing","md"],[3,"title",4,"ngFor","ngForOf"],[3,"title"],[1,"table"],[1,"table__thead"],[1,"table__tr"],["colspan","2",1,"table__th","text-align-left","small"],[1,"table__th","text-align-left","small"],[1,"table__body"],["class","table__tr",4,"ngFor","ngForOf"],[1,"table__td","text-align-left"],[4,"ngIf"],["class","small",4,"ngIf"],[3,"title","useSmallText","click"],[3,"useSmallText","href"],[1,"small"],["edsPadding","","edsPaddingTop","sm"],[3,"placement"]],template:function(e,a){if(1&e&&(t._UZ(0,"eds-proximal",0),t.YNc(1,x,5,5,"div",1),t.TgZ(2,"eds-simple-modal",2),t.ALo(3,"translate"),t.ALo(4,"translate"),t.TgZ(5,"div",3),t.TgZ(6,"ul",4),t.YNc(7,b,3,2,"li",5),t.qZA(),t.qZA(),t.qZA(),t.YNc(8,F,2,1,"ng-template",null,6,t.W1O),t._UZ(10,"eds-proximal",7)),2&e){const n=t.MAs(9);t.xp6(1),t.Q6J("ngIf",a.categories.length)("ngIfElse",n),t.xp6(1),t.s9C("closeAriaLabel",t.lcZ(3,7,"common.modal-close")),t.s9C("modalAriaLabel",t.lcZ(4,9,"common.modal-open")),t.Q6J("modalId","fund-platform-modal"),t.xp6(4),t.Q6J("maxCols",3),t.xp6(1),t.Q6J("ngForOf",null==a.selectedFund?null:a.selectedFund.platforms)}},directives:[s.JEP,m.O5,s.FOF,s.qJD,m.sg,s.Wxy,s.OPD,s.JOL,s.R65,s.cph,s.ZfJ,s.n3F,s.zj4,s.A9Y],pipes:[u.X,g.D],styles:[""]}),o})();var v=i(37668);let L=(()=>{class o{constructor(e){this.componentFactoryResolver=e}resolveComponent(){return this.componentFactoryResolver.resolveComponentFactory(C)}}return o.\u0275fac=function(e){return new(e||o)(t.LFG(t._Vd))},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[m.ez,v.m8]]}),o})()}}]); 2//# sourceMappingURL=australia-fund-platforms.db95b547bf99dd4b5997.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.