1(self.webpackChunksparkangular=self.webpackChunksparkangular||[]).push([[508,781],{21882:()=>{},38508:(de,K,p)=>{"use strict";p.r(K),p.d(K,{DefaultModule:()=>LL});var l=p(60177),m=p(16021),E=p(99488),R=p(4803),G=p(30803),B=p(90319),e=p(54438);const P=[{path:"**",component:B.Z}];let x=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({imports:[G.iI.forChild(P),G.iI]})}}return n})();var b=p(82602),_=p(10467),u=p(84745),h=p(73948),w=p(54344),f=p(96697);let V=(()=>{class n{constructor(t){this.store=t}setBreadcrumbPageTitle(t,i){var o=this;return(0,_.A)(function*(){if(!i)return void o.dispatchActionToSet(t);const a=yield o.store.pipe((0,u.Lt)(h.IQ),(0,f.s)(1)).toPromise();a&&a.page_type===i&&o.dispatchActionToSet(t)})()}dispatchActionToSet(t){this.store.dispatch(h.rZ({breadcrumbPageTitle:t&&t!==w.M.DEFAULT_VALUE?t:null}))}deleteBreadcrumbPageTitle(){this.store.dispatch(h.rZ({breadcrumbPageTitle:null}))}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(u.il))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var O=p(6498),y=p(65312),D=p(75920),Y=p(19056),ye=p(89692),S=p(91767);function L(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",1),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.shareButtonStatus=!0)}),e.EFF(1),e.j41(2,"div",2)(3,"button",3),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.shareAction("twitter"))}),e.k0s(),e.j41(4,"button",4),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.shareAction("facebook"))}),e.k0s(),e.j41(5,"button",5),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.shareAction("linkedin"))}),e.k0s(),e.j41(6,"button",6),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.shareAction("email"))}),e.k0s(),e.j41(7,"button",7),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.shareAction("copy"))}),e.k0s()()()}if(2&n){const t=e.XpG();e.AVh("white","white"===t.style)("active",t.shareButtonStatus),e.R7$(),e.SpI(" ",t.shareButton," ")}}let Z=(()=>{class n{constructor(t,i,o,a){this._platformId=t,this.store=i,this.injector=o,this.isBreakpoint=a,this._shareButtonStatus=!1,this.shareButtonMobile="Share",(0,l.UE)(this._platformId)&&(this._clipboardService=this.injector.get(ye.WW)),this.info$=this.store.pipe((0,u.Lt)(h.cv))}get info$(){return this._info$}set info$(t){this._info$=t}get shareButtonStatus(){return this._shareButtonStatus}set shareButtonStatus(t){this._shareButtonStatus=t}get currentPath(){return encodeURIComponent(this._currentPath)}set currentPath(t){this._currentPath=t}get pageTitle(){return this._pageTitle}set pageTitle(t){this._pageTitle=t}fbShareAction(){window.open(`https://www.facebook.com/sharer.php?u=${this.currentPath}`,"popup","width=500,height=500,scrollbars=no,resizable=yes")}twShareAction(){window.open(`https://twitter.com/share?url=${this.currentPath}`,"popup","width=500,height=500,scrollbars=no,resizable=yes")}inShareAction(){window.open(`https://www.linkedin.com/shareArticle?mini=true&url=${this.currentPath}`,"popup","width=500,height=500,scrollbars=no,resizable=yes")}emailShareAction(){const t=this.getMailSubcjet();window.location.href=`mailto:?subject=${t}&body=${this.currentPath}`}getMailSubcjet(){const t=this.companyName||this.pageTitle;return t?`${t} - shared from London Stock Exchange plc`:"Shared from London Stock Exchange plc"}copyShareAction(){const t=decodeURIComponent(this.currentPath);this._clipboardService.copyFromContent(t)}callAction(t){switch(t){case"facebook":this.fbShareAction();break;case"twitter":this.twShareAction();break;case"linkedin":this.inShareAction();break;case"email":this.emailShareAction();break;case"copy":this.copyShareAction()}}shareAction(t){(0,l.UE)(this._platformId)&&this.callAction(t)}ngOnInit(){this.info$.pipe((0,f.s)(1)).subscribe(t=>this.pageTitle=t.title||null),(0,l.UE)(this._platformId)&&(this.currentPath=window.location.href),this.isBreakpoint.desktop()?this.setShareButtonLabel():this.shareButtonDesktop=this.shareButton}onResize(){this.setShareButtonLabel()}setShareButtonLabel(){this.shareButton=this.isBreakpoint.desktop()?this.shareButtonMobile:this.shareButtonDesktop}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw),e.rXU(u.il),e.rXU(e.zZn),e.rXU(S.f))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-share-buttons"]],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)},inputs:{shareButton:"shareButton",style:"style",companyName:"companyName"},decls:1,vars:1,consts:[["class","share-button wrapper",3,"white","active","click",4,"ngIf"],[1,"share-button","wrapper",3,"click"],[1,"share-services"],[1,"share-service","sb-twitter","gtm-trackable",3,"click"],[1,"share-service","sb-facebook","gtm-trackable",3,"click"],[1,"share-service","sb-linkedin","gtm-trackable",3,"click"],[1,"share-service","sb-email","gtm-trackable",3,"click"],[1,"share-service","sb-copy","gtm-trackable",3,"click"]],template:function(i,o){1&i&&e.DNE(0,L,8,5,"div",0),2&i&&e.Y8G("ngIf",o.shareButton)},dependencies:[l.bT],styles:['.share-button[_ngcontent-%COMP%]{border:.063rem dashed #001eff;border-radius:1em;color:#001eff;cursor:pointer;overflow:hidden;padding:.275em .75em;position:relative;text-align:center;width:9em}.share-button.white[_ngcontent-%COMP%]{border-color:#fff;color:#fff}.share-button[_ngcontent-%COMP%]:after{clear:both;content:"";display:block}.share-services[_ngcontent-%COMP%]{background:#fff;height:100%;left:0;padding:0 .5em;position:absolute;top:2rem;transition:.5s all linear;width:100%}.share-button.active[_ngcontent-%COMP%] .share-services[_ngcontent-%COMP%]{top:0}'],changeDetection:0})}}return n})();var ce=p(2180);function dt(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.content.companytitle.value)}}function Dt(n,r){1&n&&e.eu8(0)}function jt(n,r){if(1&n&&(e.j41(0,"h1",11),e.DNE(1,dt,2,1,"ng-container",12)(2,Dt,1,0,"ng-container",13),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!t.content.companytitle.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.companytitle)}}function rn(n,r){if(1&n&&(e.j41(0,"div",14),e.nrm(1,"app-share-buttons",15),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Aen("white"),e.Y8G("shareButton",t.content.shareButton.value)("companyName",t.content.companytitle.value)}}function vt(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"metricsuffix"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Lme("",e.bMT(2,2,t.content.pageviews.value)," ",t.content.pageviews.label," ")}}function bt(n,r){1&n&&e.eu8(0)}function Ct(n,r){if(1&n&&(e.j41(0,"div",16),e.DNE(1,vt,3,4,"ng-container",12)(2,bt,1,0,"ng-container",13),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!t.content.pageviews.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.pageviews)}}function at(n,r){if(1&n&&(e.j41(0,"a",19),e.nI1(1,"lowercase"),e.EFF(2),e.k0s()),2&n){const t=r.$implicit;e.ZvI("social-btn ",e.bMT(1,5,t.sourceName),"-link"),e.Y8G("href",t.targetAddress,e.B4B),e.R7$(2),e.JRh(t.title)}}function Nt(n,r){if(1&n&&(e.qex(0),e.DNE(1,at,3,7,"a",18),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.content.herosociallinks.value)}}function an(n,r){1&n&&e.eu8(0)}function Ie(n,r){if(1&n&&(e.j41(0,"div",17),e.DNE(1,Nt,2,1,"ng-container",12)(2,an,1,0,"ng-container",13),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!t.content.herosociallinks.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.herosociallinks)}}function sn(n,r){if(1&n&&(e.qex(0),e.nrm(1,"img",24),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Mz_("alt","",t.content.companytitle.value," Logo"),e.Y8G("src",t.content.companylogo.value,e.B4B)}}function ln(n,r){1&n&&e.eu8(0)}function cn(n,r){if(1&n&&(e.j41(0,"div",23),e.DNE(1,sn,2,3,"ng-container",12)(2,ln,1,0,"ng-container",13),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!t.content.companylogo.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.companylogo)}}function pn(n,r){if(1&n&&e.nrm(0,"div",27),2&n){const t=e.XpG(4);e.Y8G("ngClass",t.heroRoundel(t.content.instrumentroundel))}}function mn(n,r){1&n&&e.eu8(0)}function J(n,r){if(1&n&&(e.qex(0),e.DNE(1,pn,1,1,"div",26)(2,mn,1,0,"ng-container",13),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!t.content.instrumentroundel.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.instrumentroundel)}}function Tt(n,r){if(1&n&&e.nrm(0,"div",27),2&n){const t=e.XpG(4);e.Y8G("ngClass",t.heroRoundel(t.content.productroundel))}}function Ce(n,r){1&n&&e.eu8(0)}function ge(n,r){if(1&n&&(e.qex(0),e.DNE(1,Tt,1,1,"div",26)(2,Ce,1,0,"ng-container",13),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!t.content.productroundel.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.productroundel)}}function xt(n,r){if(1&n&&e.nrm(0,"div",27),2&n){const t=e.XpG(4);e.Y8G("ngClass",t.heroRoundel(t.content.greeneconomyroundel))}}function fe(n,r){1&n&&e.eu8(0)}function Me(n,r){if(1&n&&(e.qex(0),e.DNE(1,xt,1,1,"div",26)(2,fe,1,0,"ng-container",13),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!t.content.greeneconomyroundel.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.greeneconomyroundel)}}function _n(n,r){if(1&n&&e.nrm(0,"div",27),2&n){const t=e.XpG(4);e.Y8G("ngClass",t.heroRoundel(t.content.accessbondroundel))}}function dn(n,r){1&n&&e.eu8(0)}function un(n,r){if(1&n&&(e.qex(0),e.DNE(1,_n,1,1,"div",26)(2,dn,1,0,"ng-container",13),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!t.content.accessbondroundel.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.accessbondroundel)}}function gn(n,r){1&n&&(e.qex(0),e.nrm(1,"div",28),e.bVm())}function hn(n,r){if(1&n&&(e.j41(0,"div",25),e.DNE(1,J,3,3,"ng-container",12)(2,ge,3,3,"ng-container",12)(3,Me,3,3,"ng-container",12)(4,un,3,3,"ng-container",12)(5,gn,2,0,"ng-container",12),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.content.instrumentroundel.visibility&&t.content.instrumentroundel.value),e.R7$(),e.Y8G("ngIf",t.content.productroundel.visibility&&t.content.productroundel.value),e.R7$(),e.Y8G("ngIf",t.content.greeneconomyroundel.visibility&&t.content.greeneconomyroundel.value),e.R7$(),e.Y8G("ngIf",t.content.accessbondroundel.visibility&&t.content.accessbondroundel.value),e.R7$(),e.Y8G("ngIf","FORESIGHT SUSTAINABLE FORESTRY COMPANY PLC"===(null==t.content.companytitle?null:t.content.companytitle.value))}}function fn(n,r){if(1&n&&(e.j41(0,"div",20),e.DNE(1,cn,3,3,"div",21)(2,hn,6,5,"div",22),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.content.companylogo.value&&t.content.companylogo.visibility),e.R7$(),e.Y8G("ngIf",t.checkFieldVisibility("instrumentroundel","productroundel","greeneconomyroundel","accessbondroundel"))}}function vn(n,r){if(1&n&&e.nrm(0,"app-hide-field",30),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function $(n,r){1&n&&e.DNE(0,vn,1,1,"app-hide-field",29),2&n&&e.Y8G("ngIf",r.errorText)}let oe=(()=>{class n extends O.R{constructor(t,i){super(),this.cssmapping=t,this.dynamicBreadcrumb=i,this.classes="x-large-width"}ngOnInit(){this.dynamicBreadcrumb.setBreadcrumbPageTitle(this.content.companytitle.value,"issuer-profile")}ngOnDestroy(){this.dynamicBreadcrumb.deleteBreadcrumbPageTitle()}heroRoundel(t){return this.cssmapping.cssClass(t)}bgStyle(){if(this.content.heroimage.value)return{"background-image":`url(${this.content.heroimage.value})`}}checkFieldVisibility(...t){return t.some(i=>this.content[i].visibility&&this.content[i].value)}canLoad(t){return this.canLoads=t,t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o),e.rXU(V))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-company-hero"]],hostVars:2,hostBindings:function(i,o){2&i&&e.HbH(o.classes)},inputs:{content:"content"},features:[e.Vt3],decls:12,vars:12,consts:[["emptyvalue",""],["id","company-hero",1,"company-hero-component","full-width","gtm-track-component"],["appLazyBgImgLoad","",1,"cover-image",3,"canLoad","ngStyle"],[1,"hero-cover","overlay"],[1,"wrapper","x-large-width","x-large-width-padding"],["class","company-name font-bold hero-font",4,"ngIf"],["class","company-share",4,"ngIf"],[1,"hero-footer"],["class","company-views",4,"ngIf"],["class","company-social",4,"ngIf"],["class","company-logo-group mobile-flex-wrapper",4,"ngIf"],[1,"company-name","font-bold","hero-font"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"company-share"],[3,"shareButton","companyName"],[1,"company-views"],[1,"company-social"],["target","_blank",3,"href","class",4,"ngFor","ngForOf"],["target","_blank",3,"href"],[1,"company-logo-group","mobile-flex-wrapper"],["class","company-logo",4,"ngIf"],["class","company-roundels",4,"ngIf"],[1,"company-logo"],["appLazyLoad","",3,"src","alt"],[1,"company-roundels"],["class","roundel",3,"ngClass",4,"ngIf"],[1,"roundel",3,"ngClass"],[1,"roundel","vcm-roundel"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"div",1)(1,"div",2),e.bIt("canLoad",function(c){return e.eBV(a),e.Njj(o.canLoad(c))}),e.j41(2,"div",3)(3,"div",4),e.DNE(4,jt,3,3,"h1",5)(5,rn,2,4,"div",6),e.j41(6,"div",7),e.DNE(7,Ct,3,3,"div",8)(8,Ie,3,3,"div",9),e.k0s(),e.DNE(9,fn,3,2,"div",10),e.k0s()()()(),e.DNE(10,$,1,1,"ng-template",null,0,e.C5r)}2&i&&(e.R7$(),e.AVh("default-cover-image",!o.content.heroimage.visibility||!o.content.heroimage.value),e.Y8G("ngStyle",o.canLoads?o.bgStyle():null),e.R7$(),e.AVh("with-logo",o.checkFieldVisibility("instrumentroundel","productroundel","greeneconomyroundel","companylogo","accessbondroundel")),e.R7$(2),e.Y8G("ngIf",o.content.companytitle.visibility),e.R7$(),e.Y8G("ngIf",o.content.shareButton.value),e.R7$(),e.AVh("no-image",!o.content.companylogo.value||!o.content.companylogo.visibility),e.R7$(),e.Y8G("ngIf",o.content.pageviews.visibility&&o.content.pageviews.value),e.R7$(),e.Y8G("ngIf",o.content.herosociallinks.visibility),e.R7$(),e.Y8G("ngIf",o.checkFieldVisibility("instrumentroundel","productroundel","greeneconomyroundel","companylogo","accessbondroundel")))},dependencies:[l.YU,l.Sq,l.bT,l.T3,l.B3,y.W,D.W,Y.S,Z,l.GH,ce.w],styles:['.company-name[_ng
1content-%COMP%]{color:#fff;overflow-wrap:break-word;text-align:center;word-break:break-word}.company-share[_ngcontent-%COMP%]{padding-bottom:1.25rem}.hero-cover[_ngcontent-%COMP%]{min-height:12rem;padding:3.5rem 0 0;position:relative}@media (max-width: 768px){.hero-cover[_ngcontent-%COMP%]{padding-bottom:2rem}}@media (max-width: 480px){.hero-cover[_ngcontent-%COMP%]{min-height:unset;padding-bottom:0;padding-top:1.5rem}}.hero-cover.with-logo[_ngcontent-%COMP%]{margin-bottom:6.5rem}@media (max-width: 480px){.hero-cover.with-logo[_ngcontent-%COMP%]{margin-bottom:6.5rem}}@media (max-width: 480px){.hero-font[_ngcontent-%COMP%]{font-size:2.1875rem;line-height:2.296875rem}}.hero-footer[_ngcontent-%COMP%]{float:right;width:calc(100% - 16.25rem)}@media (max-width: 768px){.hero-footer[_ngcontent-%COMP%]{float:none;width:100%}}@media (max-width: 480px){.hero-footer[_ngcontent-%COMP%]{align-items:center;display:flex;justify-content:space-between}}.hero-footer.no-image[_ngcontent-%COMP%]{float:none;width:100%}@media (max-width: 480px){.company-roundels[_ngcontent-%COMP%]{height:5.25rem;max-width:calc(100% - 9.75rem);overflow-x:auto;overflow-y:hidden;white-space:nowrap}}.company-roundels[_ngcontent-%COMP%] .roundel[_ngcontent-%COMP%]{float:left}@media (max-width: 480px){.company-roundels[_ngcontent-%COMP%] .roundel[_ngcontent-%COMP%]{float:none;height:4.25rem;margin-left:.5rem;margin-top:.5rem;width:4.25rem}.company-roundels[_ngcontent-%COMP%] .roundel[_ngcontent-%COMP%]:before{height:8.5rem;width:8.5rem}}.company-views[_ngcontent-%COMP%]{color:#fff;float:left;visibility:hidden}@media (max-width: 768px){.company-views[_ngcontent-%COMP%]{float:none;margin-bottom:.5rem}}@media (max-width: 480px){.company-views[_ngcontent-%COMP%]{margin-bottom:0}}.company-views[_ngcontent-%COMP%]:before{background-image:url(assets/static/page_views.svg);background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:3rem;margin-right:-.5em;transform:scale(.5) translate(-50%);vertical-align:middle;width:3rem}@media (max-width: 480px){.company-views[_ngcontent-%COMP%]:before{margin-right:-1.5em}}.company-social[_ngcontent-%COMP%]{float:right}@media (max-width: 768px){.company-social[_ngcontent-%COMP%]{float:none}}.company-social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-left:.5rem;margin-top:.5rem}@media (max-width: 768px){.company-social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:0 .5rem 0 0}}@media (max-width: 480px){.company-social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:.25rem}}.company-logo-group[_ngcontent-%COMP%]{align-items:flex-end;bottom:-6.5rem;position:absolute}@media (max-width: 480px){.company-logo-group[_ngcontent-%COMP%]{bottom:-5.75rem;left:1rem;right:1rem}}.company-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:relative;top:50%;transform:translateY(-50%)}.company-hero-component[_ngcontent-%COMP%] .cover-image[_ngcontent-%COMP%]{background-position:center center}.vcm-roundel[_ngcontent-%COMP%]:before{background-image:url(assets/static/Voluntary_Carbon_Market.svg)}'],changeDetection:0})}}return n})();var j=p(16958),M=p(45312),A=p(96354);let se=(()=>{class n{constructor(t){this.handshakeStore=t}getPageComponentsObservable(){return this.handshakeStore.pipe((0,u.Lt)(h.JI))}getSearchTagsValuesObservable(){return this.getPageComponentsObservable().pipe((0,A.T)(t=>this.getSearchTagsValues(t)))}getIsGiltObservable(){return this.getSearchTagsValuesObservable().pipe((0,A.T)(t=>this.getIsGilt(t)))}getIsSustainableObservable(){return this.getSearchTagsValuesObservable().pipe((0,A.T)(t=>this.getIsSustainable(t)))}getSearchTagsValues(t){const i=t?.find(s=>"tab-nav"===s.type)?.status.childComponents;if(!i?.length)return[];const o=i.find(s=>"chart-table"===s.type);if(!o?.content?.searchtags?.value?.length)return[];const a=o.content.searchtags;return Array.isArray(a.value)?a.value:[]}getIsGilt(t){return t.some(i=>"GILTS"===i)}getIsSustainable(t){return t.some(i=>"SUSTAINABLE BOND MARKET"===i)}getSubSearchTagsValuesObservable(){return this.getPageComponentsObservable().pipe((0,A.T)(t=>this.getSubSearchTagsValues(t)))}getSubSearchTagsValues(t){const i=t?.find(s=>
1"tab-nav"===s.type)?.status.childComponents;if(!i?.length)return[];const o=i.find(s=>"chart-table"===s.type);if(!o?.content?.subSearchTags?.value?.length)return[];const a=o.content.subSearchTags;return Array.isArray(a.value)?a.value:[]}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(u.il))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var H=p(57488),ie=p(56977),Fe=p(14085),Zn=p(67336),ut=p(36860),Ze=p(5640),bn=p(28203),Yt=p(47987),ei=p(65478),Ar=p(76939),re=p(21413);p(49969);const Ur=new e.nKC("mat-sanity-checks",{providedIn:"root",factory:function qr(){return!0}});let ii=(()=>{class n{constructor(t,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!(0,ut.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(Ze.Q_),e.KVO(Ur,8),e.KVO(l.qQ))}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({imports:[bn.jI,bn.jI]})}}return n})();var Pe=function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n}(Pe||{});class Zr{constructor(r,t,i,o=!1){this._renderer=r,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=o,this.state=Pe.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const oi=(0,ut.BQ)({passive:!0,capture:!0});class ea{constructor(){this._events=new Map,this._delegateEventHandler=r=>{const t=(0,ut.Fb)(r);t&&this._events.get(r.type)?.forEach((i,o)=>{(o===t||o.contains(t))&&i.forEach(a=>a.handleEvent(r))})}}addHandler(r,t,i,o){const a=this._events.get(t);if(a){const s=a.get(i);s?s.add(o):a.set(i,new Set([o]))}else this._events.set(t,new Map([[i,new Set([o])]])),r.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,oi)})}removeHandler(r,t,i){const o=this._events.get(r);if(!o)return;const a=o.get(t);a&&(a.delete(i),0===a.size&&o.delete(t),0===o.size&&(this._events.delete(r),document.removeEventListener(r,this._delegateEventHandler,oi)))}}const ri={enterDuration:225,exitDuration:150},ai=(0,ut.BQ)({passive:!0,capture:!0}),si=["mousedown","touchstart"],li=["mouseup","mouseleave","touchend","touchcancel"];class Cn{static{this._eventManager=new ea}constructor(r,t,i,o){this._target=r,this._ngZone=t,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=(0,Fe.i8)(i))}fadeInRipple(r,t,i={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a={...ri,...i.animation};i.centered&&(r=o.left+o.width/2,t=o.top+o.height/2);const s=i.radius||function na(n,r,t){const i=Math.max(Math.abs(n-t.left),Math.abs(n-t.right)),o=Math.max(Math.abs(r-t.top),Math.abs(r-t.bottom));return Math.sqrt(i*i+o*o)}(r,t,o),c=r-o.left,d=t-o.top,C=a.enterDuration,T=document.createElement("div");T.classList.add("mat-ripple-element"),T.style.left=c-s+"px",T.style.top=d-s+"px",T.style.height=2*s+"px",T.style.width=2*s+"px",null!=i.color&&(T.style.backgroundColor=i.color),T.style.transitionDuration=`${C}ms`,this._containerElement.appendChild(T);const I=window.getComputedStyle(T),z=I.transitionDuration,me="none"===I.transitionProperty||"0s"===z||"0s, 0s"===z||0===o.width&&0===o.height,_e=new Zr(this,T,i,me);T.style.transform="scale3d(1, 1, 1)",_e.state=Pe.FADING_IN,i.persistent||(this._mostRecentTransientRipple=_e);let ke=null;return!me&&(C||a.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Xe=()=>{ke&&(ke.fallbackTimer=null),clearTimeout(on),this._finishRippleTransition(_e)},we=()=>this._destroyRipple(_e),on=setTimeout(we,C+100);T.addEventListener("transitionend",Xe),T.addEventListener("transitioncancel",we),ke={onTransitionEnd:Xe,onTransitionCancel:we,fallbackTimer:on}}),this._activeRipples.set(_e,ke),(me||!C)&&this._finishRippleTransition(_e),_e}fadeOutRipple(r){if(r.state===Pe.FADING_OUT||r.state===Pe.HIDDEN)return;const t=r.element,i={...ri,...r.config.animation};t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",r.state=Pe.FADING_OUT,(r._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(r)}
1fadeOutAll(){this._getActiveRipples().forEach(r=>r.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(r=>{r.config.persistent||r.fadeOut()})}setupTriggerEvents(r){const t=(0,Fe.i8)(r);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,si.forEach(i=>{Cn._eventManager.addHandler(this._ngZone,i,t,this)}))}handleEvent(r){"mousedown"===r.type?this._onMousedown(r):"touchstart"===r.type?this._onTouchStart(r):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{li.forEach(t=>{this._triggerElement.addEventListener(t,this,ai)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(r){r.state===Pe.FADING_IN?this._startFadeOutTransition(r):r.state===Pe.FADING_OUT&&this._destroyRipple(r)}_startFadeOutTransition(r){const t=r===this._mostRecentTransientRipple,{persistent:i}=r.config;r.state=Pe.VISIBLE,!i&&(!t||!this._isPointerDown)&&r.fadeOut()}_destroyRipple(r){const t=this._activeRipples.get(r)??null;this._activeRipples.delete(r),this._activeRipples.size||(this._containerRect=null),r===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),r.state=Pe.HIDDEN,null!==t&&(r.element.removeEventListener("transitionend",t.onTransitionEnd),r.element.removeEventListener("transitioncancel",t.onTransitionCancel),null!==t.fallbackTimer&&clearTimeout(t.fallbackTimer)),r.element.remove()}_onMousedown(r){const t=(0,Ze._G)(r),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!t&&!i&&(this._isPointerDown=!0,this.fadeInRipple(r.clientX,r.clientY,this._target.rippleConfig))}_onTouchStart(r){if(!this._target.rippleDisabled&&!(0,Ze.w6)(r)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=r.changedTouches;if(t)for(let i=0;i<t.length;i++)this.fadeInRipple(t[i].clientX,t[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(r=>{!r.config.persistent&&(r.state===Pe.VISIBLE||r.config.terminateOnPointerUp&&r.state===Pe.FADING_IN)&&r.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const r=this._triggerElement;r&&(si.forEach(t=>Cn._eventManager.removeHandler(t,r,this)),this._pointerUpEventsRegistered&&(li.forEach(t=>r.removeEventListener(t,this,ai)),this._pointerUpEventsRegistered=!1))}}const ia=["tooltip"],pi=new e.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const n=(0,e.WQX)(Yt.hJ);return()=>n.scrollStrategies.reposition({scrollThrottle:20})}}),ra={provide:pi,deps:[Yt.hJ],useFactory:function oa(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},sa=new e.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function aa(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),mi="tooltip-panel",_i=(0,ut.BQ)({passive:!0});let di=(()=>{class n{get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=(0,Fe.he)(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){const i=(0,Fe.he)(t);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=(0,Fe.OE)(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=(0,Fe.OE)(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){const i=this._message;this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,i,o,a,s,c,d,C,T,I,N,z){this._overlay=t,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef
1=a,this._ngZone=s,this._platform=c,this._ariaDescriber=d,this._focusMonitor=C,this._dir=I,this._defaultOptions=N,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=_a,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._touchstartTimeout=null,this._destroyed=new re.B,this._injector=(0,e.WQX)(e.zZn),this._scrollStrategy=T,this._document=z,N&&(this._showDelay=N.showDelay,this._hideDelay=N.hideDelay,N.position&&(this.position=N.position),N.positionAtOrigin&&(this.positionAtOrigin=N.positionAtOrigin),N.touchGestures&&(this.touchGestures=N.touchGestures),N.tooltipClass&&(this.tooltipClass=N.tooltipClass)),I.change.pipe((0,ie.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,ie.Q)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{t.removeEventListener(i,o,_i)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const o=this._createOverlay(i);this._detach(),this._portal=this._portal||new Ar.A8(this._tooltipComponent,this._viewContainerRef);const a=this._tooltipInstance=o.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe((0,ie.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(t)}hide(t=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(t):(i._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){const a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&a._origin instanceof e.aKT)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&t||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe((0,ie.Q)(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${mi}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,ie.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,ie.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,ie.Q)(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===Zn._f&&!(0,Zn.rp)(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const i=t.getConfig().positionStrategy,o=this._getOrigin(),a=this._getOverlayPosition();i.withPositions([this._addOffset({...o.main,...a.main}),this._addOffset({...o.fallback,...a.fallback})])}_addOffset(t){const o=!this._dir||"ltr"==this._dir.value;return"top"===t.originY?t.offsetY=-8:"bottom"===t.originY?t.offsetY=8:"start"===t.originX?t.offsetX=o?-8:8:"end"===t.originX&&(t.offsetX=o?8:-8),t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,i=this.position;let o;"above"==i||"below"==i?o={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&t||"right"==i&&!t?o={originX:"start",originY:"center"}:("after"==i||"right"==i&&t||"left"==i&&!t)&&(o={originX:"end",originY:"center"});const{x:a,y:s}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:a,originY:s}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,i=this.position;let o;"above"==i?o={overlayX:"center",overlayY:"bottom"}:"below"==i?o={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&t||"right"==i&&!t?o={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&t||"left"==i&&!t)&&(o={overlayX:"start",overlayY:"center"});const{x:a,y:s}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:a,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,e.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:i}}_updateCurrentPositionClass(t){const{overlayY:i,originX:o,originY:a}=t;let s;if(s="center"===i?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===i&&"top"===a?"above":"below",s!==this._currentPosition){const c=this._overlayRef;if(c){const d=`${this._cssClassPrefix}-${mi}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsM
1ouseEvents()?this._passiveListeners.push(["mouseenter",t=>{let i;this._setupPointerExitEventsIfNeeded(),void 0!==t.x&&void 0!==t.y&&(i=t),this.show(void 0,i)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{const i=t.targetTouches?.[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,o)},this._defaultOptions.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",i=>{const o=i.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",i],["touchcancel",i])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,_i)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(t.clientX,t.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const i=this._elementRef.nativeElement,o=i.style;("on"===t||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===t||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}_syncAriaDescription(t){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,t,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Yt.hJ),e.rXU(e.aKT),e.rXU(ei.R),e.rXU(e.c1b),e.rXU(e.SKi),e.rXU(ut.OD),e.rXU(Ze.vr),e.rXU(Ze.FN),e.rXU(pi),e.rXU(bn.dS),e.rXU(sa,8),e.rXU(l.qQ))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,o){2&i&&e.AVh("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}}return n})(),_a=(()=>{class n{constructor(t,i,o){this._changeDetectorRef=t,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new re.B,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===o}show(t){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>24&&t.width>=200}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){const i=this._tooltip.nativeElement,o=this._showAnimation,a=this._hideAnimation;if(i.classList.remove(t?a:o),i.classList.add(t?o:a),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const s=getComputedStyle(i);("0s"===s.getPropertyValue("animation-duration")||"none"===s.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.gRc),e.rXU(e.aKT),e.rXU(e.bc$,8))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(i,o){if(1&i&&e.GBs(ia,7),2&i){let a;e.mGM(a=e.lsd())&&(o._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,o){1&i&&e.bIt("mouseleave",function(s){return o._handleMouseLeave(s)})},standalone:!0,features:[e.aNF],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"div",1,0),e.bIt("animationend",function(c){return e.eBV(a),e.Njj(o._handleAnimationEnd(c))}),e.j41(2,"div",2),e.EFF(3),e.k0s()()}2&i&&(e.AVh("mdc-tooltip--multiline",o._isMultiline),e.Y8G("ngClass",o.tooltipClass),e.R7$(3),e.JRh(o.message))},dependencies:[l.YU],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;
1max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}}return n})(),da=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({providers:[ra],imports:[Ze.Pd,l.MD,Yt.z_,ii,ii,ei.Gj]})}}return n})();function ua(n,r){if(1&n&&(e.j41(0,"a",1),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.FS9("href",t.whatsThisLink.value,e.B4B),e.FS9("title",t.whatsThisText.value),e.R7$(),e.JRh(t.whatsThisText.value)}}let ae=(()=>{class n{constructor(){}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-whats-this"]],inputs:{whatsThisText:"whatsThisText",whatsThisLink:"whatsThisLink"},decls:1,vars:1,consts:[["class","whats-this","target","_blank",3,"href","title",4,"ngIf"],["target","_blank",1,"whats-this",3,"href","title"]],template:function(i,o){1&i&&e.DNE(0,ua,2,3,"a",0),2&i&&e.Y8G("ngIf",o.whatsThisLink.value)},dependencies:[l.bT],changeDetection:0})}}return n})();var ee=p(58049),U=p(66118),Te=p(86937);function ga(n,r){if(1&n&&(e.j41(0,"span",42),e.EFF(1),e.nI1(2,"etfs"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(e.bMT(2,1,t.content.instrumenttype.value))}}function ha(n,r){if(1&n&&(e.j41(0,"span",43),e.EFF(1),e.nI1(2,"async"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(e.bMT(2,1,t.subSearchTags))}}function fa(n,r){1&n&&e.eu8(0)}function va(n,r){if(1&n&&(e.qex(0),e.DNE(1,ga,3,3,"span",39)(2,ha,3,3,"span",40),e.nI1(3,"async"),e.DNE(4,fa,1,0,"ng-container",41),e.bVm()),2&n){const t=e.XpG(),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.instrumenttype.errorText),e.R7$(),e.Y8G("ngIf",1==e.bMT(3,4,t.subSearchTags).length),e.R7$(2),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.instrumenttype)}}function ba(n,r){if(1&n&&(e.j41(0,"a",44),e.EFF(1,"About Gilts"),e.k0s()),2&n){const t=e.XpG();e.Y8G("href",t.aboutGiltsUrl,e.B4B)}}function Ca(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.j41(2,"strong"),e.EFF(3),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI("",t.content.currency.label," "),e.R7$(2),e.SpI("(",t.content.currency.value,")")}}function Ta(n,r){1&n&&e.eu8(0)}function xa(n,r){if(1&n&&(e.j41(0,"div",45),e.DNE(1,Ca,4,2,"ng-container",6)(2,Ta,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.currency.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.currency)}}function ka(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI("",e.bMT(2,1,t.content.lastprice.value)," ")}}function ya(n,r){1&n&&e.eu8(0)}function wa(n,r){if(1&n&&(e.j41(0,"span",46),e.DNE(1,ka,3,3,"ng-container",6)(2,ya,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.lastprice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.lastprice)}}function Ia(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",e.bMT(2,1,t.content.percentualchange.value),"%")}}function Ma(n,r){1&n&&e.eu8(0)}function Oa(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,Ia,3,3,"ng-container",6)(2,Ma,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.percentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.percentualchange)}}function Ra(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" (",e.bMT(2,1,t.content.netchange.value),")")}}function Fa(n,r){1&n&&e.eu8(0)}function Pa(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,Ra,3,3,"ng-container",6)(2,Fa,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.netchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.netchange)}}function Ga(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.content.tidm.value)}}function Sa(n,r){1&n&&e.eu8(0)}function $a(n,r){if(1&n&&(e.j41(0,"span",47),e.DNE(1,Ga,2,1,"ng-container",6)(2,Sa,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.tidm.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.tidm)}}function Ea(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.content.name.value)}}function Da(n,r){1&n&&e.eu8(0)}function ja(n,r){if(1&n&&(e.j41(0,"span",48),e.DNE(1,Ea,2,1,"ng-container",6)(2,Da,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(64);e.Y8G("title",t.content.name.value),e.R7$(),e.Y8G("ngIf",!t.content.name.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.name)}}function Na(n,r){if(1&n&&(e.j41(0,"div",49)(1,"span"),e.EFF(2),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.JRh(t.sustainableNote)}}function Ya(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.content.openingprice.label)}}function Xa(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.content.lastclose.label)}}function Ba(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI("",e.bMT(2,1,t.content.openingprice.value)," ")}}function Va(n,r){1&n&&e.eu8(0)}function La(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,Ba,3,3,"ng-container",6)(2,Va,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.openingprice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.openingprice)}}function Aa(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI("",e.bMT(2,1,t.content.lastclose.value)," ")}}function qa(n,r){1&n&&e.eu8(0)}function Ua(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,Aa,3,3,"ng-container",6)(2,qa,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.lastclose.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.lastclose)}}function za(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.content.high.label)}}function Ha(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.content.low.label)}}function Wa(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(e.bMT(2,1,t.content.high.value))}}function Ja(n,r){1&n&&e.eu8(0)}function Ka(n,r){if(1&n&&(e.j41(0,"span",54),e.DNE(1,Wa,3,3,"ng-container",6)(2,Ja,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.high.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.high)}}function Qa(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(e.bMT(2,1,t.content.low.value))}}function Za(n,r){1&n&&e.eu8(0)}function es(n,r){if(1&n&&(e.j41(0,"span",55),e.DNE(1,Qa,3,3,"ng-container",6)(2,Za,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.low.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.low)}}function ts(n,r){if(1&n&&(e.j41(0,"div",26)(1,"div",50),e.DNE(2,za,2,1,"span",6),e.EFF(3," / "),e.DNE(4,Ha,2,1,"span",6),e.k0s(),e.j41(5,"span",51),e.DNE(6,Ka,3,3,"span",52),e.EFF(7," / "),e.DNE(8,es,3,3,"span",53),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.content.high.visibility),e.R7$(2),e.Y8G("ngIf",t.content.low.visibility),e.R7$(2),e.Y8G("ngIf",t.content.high.visibility),e.R7$(2),e.Y8G("ngIf",t.content.low.visibility)}}function ns(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.content.bid.label)}}function is(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.content.offer.label)}}function os(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(e.bMT(2,1,t.content.bid.value))}}function rs(n,r){1&n&&e.eu8(0)}function as(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,os,3,3,"ng-container",6)(2,rs,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.bid.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.bid)}}function ss(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(e.bMT(2,1,t.content.offer.value))}}function ls(n,r){1&n&&e.eu8(0)}function cs(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,ss,3,3,"ng-container",6)(2,ls,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.offer.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.offer)}}function ps(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.content.maturitydate.label)}}function ms(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customdate"),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.SpI("",e.bMT(2,1,t.content.maturitydate.value)," ")}}function _s(n,r){1&n&&e.eu8(0)}function ds(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,ms,3,3,"ng-container",6)(2,_s,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.maturitydate.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.maturitydate)}}function us(n,r){if(1&n&&(e.j41(0,"div",26)(1,"div",56),e.DNE(2,ps,2,1,"span",6),e.k0s(),e.j41(3,"span",57),e.DNE(4,ds,3,3,"span",6),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.content.maturitydate.visibility),e.R7$(2),e.Y8G("ngIf",t.content.maturitydate.visibility)}}function gs(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.SpI("",t.content.specialconditions.label," ")}}function hs(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.SpI("",t.content.specialconditions.value," ")}}function fs(n,r){1&n&&e.eu8(0)}function vs(n,r){if(1&n&&(e.j41(0,"span",37),e.DNE(1,hs,2,1,"ng-container",6)(2,fs,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(3),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.specialconditions.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.specialconditions)}}function bs(n,r){if(1&n&&(e.j41(0,"div",62),e.DNE(1,gs,2,1,"ng-container",6)(2,vs,3,3,"span",61),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.content.specialconditions.visibility),e.R7$(),e.Y8G("ngIf",t.content.specialconditions.visibility)}}function Cs(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI("",t.content.tradingstatus.label," ")}}function Ts(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.SpI("",t.tradingStatus(t.content.tradingstatus,t.content.periodcode)," ")}}function xs(n,r){1&n&&e.eu8(0)}function ks(n,r){if(1&n&&(e.j41(0,"span",37),e.DNE(1,Ts,2,1,"ng-container",6)(2,xs,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.tradingstatus.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.tradingstatus)}}function ys(n,r){if(1&n&&(e.j41(0,"div",58),e.DNE(1,bs,3,2,"div",59),e.j41(2,"div",60),e.DNE(3,Cs,2,1,"ng-container",6)(4,ks,3,3,"span",61),e.k0s()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf","othersinstrument"!==t.tickerCssClass(t.content.instrumenttype)),e.R7$(2),e.Y8G("ngIf",t.content.tradingstatus.visibility),e.R7$(),e.Y8G("ngIf",t.content.tradingstatus.visibility)}}function ws(n,r){if(1&n&&(e.j41(0,"div",63),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",null==t.content.profinvestonly?null:t.content.profinvestonly.label," ")}}function Is(n,r){if(1&n&&(e.j41(0,"a",68),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.Y8G("href",t.ftseLink,e.B4B),e.R7$(),e.JRh(t.content.ftseindexlist.value[0].description)}}function Ms(n,r){if(1&n&&(e.qex(0),e.DNE(1,Is,2,2,"a",67),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.content.ftseindexlist.visibility&&t.ftseLink)}}function Os(n,r){1&n&&e.eu8(0)}function Rs(n,r){if(1&n&&(e.j41(0,"div",66),e.DNE(1,Ms,2,1,"ng-container",6)(2,Os,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.ftseindexlist.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.ftseindexlist)}}function Fs(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",69)(2,"a",70),e.EFF(3,"Download documentation"),e.k0s()(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.FS9("href",t.content.tradingDocument.value.documentLink,e.B4B)}}function Ps(n,r){1&n&&e.eu8(0)}function Gs(n,r){if(1&n&&(e.j41(0,"div",66),e.DNE(1,Fs,4,1,"ng-container",6)(2,Ps,1,0,"ng-container",41),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(64);e.R7$(),e.Y8G("ngIf",!t.content.tradingDocument.errorText&&t.content.tradingDocument.value),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.tradingDocument)}}function Ss(n,r){if(1&n&&(e.j41(0,"div",64),e.DNE(1,Rs,3,3,"div",65)(2,Gs,3,3,"div",65),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.content.ftseindexlist.value),e.R7$(),e.Y8G("ngIf",t.content.tradingDocument.value)}}function $s(n,r){if(1&n&&e.nrm(0,"app-hide-field",72),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function Es(n,r){1&n&&e.DNE(0,$s,1,1,"app-hide-field",71),2&n&&e.Y8G("ngIf",r.errorText)}let ui=(()=>{class n extends O.R{constructor(t,i,o,a,s){super(),this.store=t,this.handshakeStore=i,this.cssmapping=o,this.refreshService=a,this.searchTagsService=s,this.classes="full-width",this.aboutGiltsUrl=M.c.aboutGiltsUrl,this.sustainableNote="This security is a sustainable debt instrument and is eligible for the Sustainable Bond Market designation. Please download the available documentation which outlines the sustainable characteristics of the instrument",this.statusMap=new Map,this.moreInstrumentsLabel={one:"1 instrument",singular:"more instrument",plural:"more instruments"},this.initStatusMap()}initStatusMap(){0===this.statusMap.size&&(this.statusMap.set("H","Halted"),this.statusMap.set("R","Restricted"),this.statusMap.set("S","Suspended"),this.statusMap.set("N","Normal"),this.statusMap.set("N c","Normal - Closed"),this.statusMap.set("N T","Normal - Regular Trading"),this.statusMap.set("N a","Normal - Opening Auction Call"),this.statusMap.set("N r","Normal - Periodic Auction Call"),this.statusMap.set("N d","Normal - Closing Auction Call"),this.statusMap.set("N e","Normal - AESP Auction Call"),this.statusMap.set("N q","Normal - EDSP Auction Call"),this.statusMap.set("N f","Normal - Resume Auction Call"),this.statusMap.set("N G","Normal - Scheduled Level 1 Only Auction"),this.statusMap.set("N b","Normal - Post-close"),this.statusMap.set("N x","Normal - End of Post Cl
1ose"),this.statusMap.set("N u","Normal - Closing price Crossing Session"),this.statusMap.set("N m","Normal - Pre-Mandatory Quote Period"),this.statusMap.set("N n","Normal - Mandatory Quote Period"),this.statusMap.set("N o","Normal - Post-Mandatory Quote Period"),this.statusMap.set("S c","Suspended - Closed"),this.statusMap.set("H c","Halted - Closed"),this.statusMap.set("R c","Restricted - Closed"))}getStatus(t){return this.statusMap.get(t)}tradingStatus(t,i){return typeof this.getStatus(t.value+" "+i.value)>"u"?t.value?this.getStatus(t.value):"-":this.getStatus(t.value+" "+i.value)}tickerCssClass(t){return this.cssmapping.cssClass(t)}openModal(t){this.store.dispatch({type:h.TQ.OpenModal,payload:{tidm:t}})}ngOnInit(){this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content),this.handshakeStore.dispatch((0,h.Ai)({instrument:this.content})),this.isGilt$=this.searchTagsService.getIsGiltObservable(),this.isSustainable$=this.searchTagsService.getIsSustainableObservable(),this.subSearchTags=this.searchTagsService.getSubSearchTagsValuesObservable()}ngOnChanges(){this.ftseLink=this.setFtseSectorLink()}ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id)}displayMoreInstruments(){return this.content.instrumentsnumber.value>1}displayOneInstrument(){return this.content.instrumentsnumber.value<=1}getMoreInstrumentsLabel(){if(this.displayOneInstrument())return this.moreInstrumentsLabel.one;const t=this.content.instrumentsnumber.value-1;return`${t} ${1===t?this.moreInstrumentsLabel.singular:this.moreInstrumentsLabel.plural}`}setFtseSectorLink(){return this.content.ftseindexlist.value&&this.content.ftseindexlist.value.length>0&&this.content.ftseindexlist.value[0].url?this.content.ftseindexlist.value[0].url:""}getTooltipValue(t,i){return`${t.visibility&&t.value?t.value:""} ${i.visibility&&i.value?i.value:""}`.trim()}netchangeCssClass(t){return this.cssmapping.getNetChangeClass(t)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(u.il),e.rXU(u.il),e.rXU(b.o),e.rXU(j.W),e.rXU(se))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-company-ticker"]],hostVars:2,hostBindings:function(i,o){2&i&&e.HbH(o.classes)},features:[e.Vt3,e.OA$],decls:65,vars:50,consts:[["emptyvalue",""],["id","ticker","itemscope","","itemtype","https://schema.org/Corporation",1,"ticker-component","component","wrapper","x-large-width","x-large-width-padding","gtm-track-component",3,"ngClass"],[1,"component-refresh","flex-wrapper"],[1,"ticker-separator","flex-wrapper"],[1,"ticker-main"],[1,"wrapper"],[4,"ngIf"],[3,"whatsThisLink","whatsThisText"],["title","About Gilts","class","whats-this","id","about-gilts","target","_blank",3,"href",4,"ngIf"],[1,"wrapper","flex-container","ticker-header"],[1,"ticker-price"],[1,"price-container"],["class","currency-label small-font-size item-label",4,"ngIf"],[1,"last-price","larger-font-size","bold-font-weight"],["class","price-tag",4,"ngIf"],[1,"price-change","large-font-size","bold-font-weight",3,"ngClass"],[1,"net-change","large-font-size","bold-font-weight",3,"ngClass"],["mat-raised-button","","matTooltipClass","custom-lse-tooltip",3,"matTooltip"],["class","ticker-name larger-font-size medium-font-weight","itemprop","tickerSymbol",4,"ngIf"],["class","ticker-description large-font-size medium-font-weight","itemprop","name",3,"title",4,"ngIf"],[1,"ticker-side"],[3,"align","tidm"],[1,"more-instruments","gold-button","bold-font-weight","bigger-font-size","hide-on-portrait","gtm-trackable",3,"click"],["class","info-text",4,"ngIf"],[1,"wrapper","ticker-slice","mobile-flex-wrapper"],[1,"flex-wrapper","ticker-fields"],[1,"ticker-item"],[1,"small-font-size","item-label","open-last-label"],[1,"bigger-font-size","bold-font-weight","open-last-value"],["class","ticker-item",4,"ngIf"],[1,"small-font-size","item-label","bid-offer-label"],[1,"bigger-font-size","bold-font-weight","bid-offer-value"],["class","ticker-item flex-wrapper flex-column",4,"ngIf"],["class","ticker-item small-font-size item-label",4,"ngIf"],["class","right-item ticker-item",4,"ngIf"],[1,"ticker-item","delay"],[1,"small-font-size"],[1,"bold-font-weight"],[1,"more-instruments","gold-button","bold-font-weight","bigger-font-size","show-on-portrait","wrapper","gtm-trackable",3,"click"],["class","instrument-label bold-font-weight",4,"ngIf"],["class","sustainable-bond-type",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"instrument-label","bold-font-weight"],[1,"sustainable-bond-type"],["title","About Gilts","id","about-gilts","target","_blank",1,"whats-this",3,"href"],[1,"currency-label","small-font-size","item-label"],[1,"price-tag"],["itemprop","tickerSymbol",1,"ticker-name","larger-font-size","medium-font-we
1ight"],["itemprop","name",1,"ticker-description","large-font-size","medium-font-weight",3,"title"],[1,"info-text"],[1,"small-font-size","item-label","high-low-label"],[1,"bigger-font-size","bold-font-weight","high-low-value"],["class","high-value",4,"ngIf"],["class","low-value",4,"ngIf"],[1,"high-value"],[1,"low-value"],[1,"small-font-size","item-label","maturitydate-label"],[1,"bigger-font-size","bold-font-weight","maturitydate-value"],[1,"ticker-item","flex-wrapper","flex-column"],["class","small-font-size item-label special-conditions",4,"ngIf"],[1,"small-font-size","trading-status"],["class","bold-font-weight",4,"ngIf"],[1,"small-font-size","item-label","special-conditions"],[1,"ticker-item","small-font-size","item-label"],[1,"right-item","ticker-item"],["class","flex-wrapper flex-column spaced-flex-container ft-sectors",4,"ngIf"],[1,"flex-wrapper","flex-column","spaced-flex-container","ft-sectors"],[3,"href",4,"ngIf"],[3,"href"],[1,"link-container"],[1,"download-link",3,"href"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"section",3)(3,"div",4)(4,"div",5),e.DNE(5,va,5,6,"ng-container",6),e.nrm(6,"app-whats-this",7),e.DNE(7,ba,2,1,"a",8),e.nI1(8,"async"),e.k0s(),e.j41(9,"div",9)(10,"span",10)(11,"div",11),e.DNE(12,xa,3,3,"div",12),e.j41(13,"span",13),e.DNE(14,wa,3,3,"span",14),e.k0s(),e.j41(15,"span",15),e.DNE(16,Oa,3,3,"span",6),e.k0s(),e.j41(17,"span",16),e.DNE(18,Pa,3,3,"span",6),e.k0s()()(),e.j41(19,"span",17),e.DNE(20,$a,3,3,"span",18)(21,ja,3,4,"span",19),e.k0s()()(),e.j41(22,"div",20),e.nrm(23,"app-track",21),e.j41(24,"span",22),e.bIt("click",function(){return e.eBV(a),e.Njj(o.openModal(o.content.tidm.value))}),e.EFF(25),e.k0s()()(),e.DNE(26,Na,3,1,"div",23),e.nI1(27,"async"),e.j41(28,"div",24)(29,"div",25)(30,"div",26)(31,"div",27),e.DNE(32,Ya,2,1,"span",6),e.EFF(33," / "),e.DNE(34,Xa,2,1,"span",6),e.k0s(),e.j41(35,"span",28),e.DNE(36,La,3,3,"span",6),e.EFF(37," / "),e.DNE(38,Ua,3,3,"span",6),e.k0s()(),e.DNE(39,ts,9,4,"div",29),e.j41(40,"div",26)(41,"div",30),e.DNE(42,ns,2,1,"span",6),e.EFF(43," / "),e.DNE(44,is,2,1,"span",6),e.k0s(),e.j41(45,"span",31),e.DNE(46,as,3,3,"span",6),e.EFF(47," / "),e.DNE(48,cs,3,3,"span",6),e.k0s()(),e.DNE(49,us,5,2,"div",29)(50,ys,5,3,"div",32)(51,ws,2,1,"div",33)(52,Ss,3,2,"div",34),e.j41(53,"div",35)(54,"div",36),e.EFF(55," As at "),e.j41(56,"span",37),e.EFF(57),e.nI1(58,"customdate"),e.nI1(59,"customdate"),e.k0s(),e.EFF(60),e.k0s()()(),e.j41(61,"div",38),e.bIt("click",function(){return e.eBV(a),e.Njj(o.openModal(o.content.tidm.value))}),e.EFF(62),e.k0s()()()(),e.DNE(63,Es,1,1,"ng-template",null,0,e.C5r)}2&i&&(e.Y8G("ngClass",!o.content.instrumenttype.errorText&&o.content.instrumenttype.visibility?o.tickerCssClass(o.content.instrumenttype):""),e.R7$(5),e.Y8G("ngIf",o.content.instrumenttype.visibility),e.R7$(),e.Y8G("whatsThisLink",o.content.whatsThisLink)("whatsThisText",o.content.whatsThisText),e.R7$(),e.Y8G("ngIf",e.bMT(8,37,o.isGilt$)),e.R7$(5),e.Y8G("ngIf",o.content.currency.visibility),e.R7$(2),e.Y8G("ngIf",o.content.lastprice.visibility),e.R7$(),e.Y8G("ngClass",!o.content.percentualchange.errorText&&o.content.percentualchange.visibility?o.tickerCssClass(o.content.netchangesign):""),e.R7$(),e.Y8G("ngIf",o.content.percentualchange.visibility),e.R7$(),e.Y8G("ngClass",o.netchangeCssClass(o.content.netchange)),e.R7$(),e.Y8G("ngIf",o.content.netchange.visibility),e.R7$(),e.AVh("ellipsed",!o.content.tidm.errorText&&!o.content.name.errorText),e.Y8G("matTooltip",o.getTooltipValue(o.content.tidm,o.content.name)),e.R7$(),e.Y8G("ngIf",o.content.tidm.visibility),e.R7$(),e.Y8G("ngIf",o.content.name.visibility),e.R7$(2),e.Y8G("align","right")("tidm",o.content.tidm.value),e.R7$(2),e.SpI(" ",o.getMoreInstrumentsLabel()," "),e.R7$(),e.Y8G("ngIf",e.bMT(27,39,o.isSustainable$)),e.R7$(6),e.Y8G("ngIf",o.content.openingprice.visibility),e.R7$(2),e.Y8G("ngIf",o.content.lastclose.visibility),e.R7$(2),e.Y8G("ngIf",o.content.openingprice.visibility),e.R7$(2),e.Y8G("ngIf",o.content.lastclose.visibility),e.R7$(),e.Y8G("ngIf","othersinstrument"!==o.tickerCssClass(o.content.instrumenttype)),e.R7$(3),e.Y8G("ngIf",o.content.bid.visibility),e.R7$(2),e.Y8G("ngIf",o.content.offer.visibility),e.R7$(2),e.Y8G("ngIf",o.content.bid.visibility),e.R7$(2),e.Y8G("ngIf",o.content.offer.visibility),e.R7$(),e.Y8G("ngIf","bondinstrument"===o.tickerCssClass(o.content.instrumenttype)),e.R7$(),e.Y8G("ngIf","bondinstrument"!==o.tickerCssClass(o.content.instrumenttype)),e.R7$(),e.Y8G("ngIf","Y"===(null==o.content.profinvestonly?null:o.content.profinvestonly.value)&&!0===(null==o.content.profinvestonly?null:o.content.profinvestonly.visibility)),e.R7$(),e.Y8G("ngIf","equityinstrument"===o.tickerCssClass(o.content.instrumenttype)||o.content.tradingDocument.visibility),e.R7$(5),e.Lme("",e.brH(58,41,o.status.refreshedTime,"short","Europe/London")," ",e.ii3(59,45,o.status.refreshedTime,"time","Europe/London",!0),""),e.R7$(3),e.SpI(" - ",o.content.refreshTime.value," "),e.R7$(2),e.SpI(" ",o.getMoreInstrumentsLabel()," "))},dependencies:[l.YU,l.bT,l.T3,H.J,y.W,di,ae,l.Jj,ee.p,U.W,Te.Z],styles:[".ticker-separator[_ng
1content-%COMP%]{border-bottom:.375em solid #000000;justify-content:space-between;margin-bottom:1.375em;padding:0 0 .75em;position:relative;width:100%}@media (max-width: 480px){.ticker-separator[_ngcontent-%COMP%]{margin-top:1.5em}}.refreshing[_ngcontent-%COMP%] .ticker-separator[_ngcontent-%COMP%]{border-bottom-color:#00000080}.ticker-header[_ngcontent-%COMP%]{align-items:flex-end;padding:.75em 0 0}.ticker-side[_ngcontent-%COMP%]{text-align:right;width:15.25rem}@media (max-width: 768px){.ticker-side[_ngcontent-%COMP%]{position:absolute;right:0;top:2.5rem;width:auto}}.ticker-side[_ngcontent-%COMP%] .gold-button[_ngcontent-%COMP%]{margin-bottom:0}app-track[_ngcontent-%COMP%]{display:inline-block;margin-bottom:1.25rem}.ticker-main[_ngcontent-%COMP%]{width:calc(100% - 16rem)}@media (max-width: 768px){.ticker-main[_ngcontent-%COMP%]{display:block;width:100%}}.more-instruments[_ngcontent-%COMP%]{display:block}.ticker-slice[_ngcontent-%COMP%], .ticker-fields[_ngcontent-%COMP%]{width:100%}.ticker-price[_ngcontent-%COMP%]{flex-shrink:0}.price-container[_ngcontent-%COMP%]{margin-right:1.75rem}@media (max-width: 480px){.price-container[_ngcontent-%COMP%]{margin:0 0 .5rem}}.price-change[_ngcontent-%COMP%]{display:inline-block}.price-change[_ngcontent-%COMP%]:before{display:inline-block}.price-tag[_ngcontent-%COMP%]{margin-right:.25em}.ticker-name[_ngcontent-%COMP%]{color:#001eff;margin-right:.25em}.ticker-item[_ngcontent-%COMP%]{margin-bottom:1.375em;margin-right:4%}.ticker-item[_ngcontent-%COMP%] .item-label[_ngcontent-%COMP%]{text-transform:none}.last-of-column[_ngcontent-%COMP%]{margin-bottom:.25em;margin-top:.45em}.right-item[_ngcontent-%COMP%]{align-self:flex-start;margin-left:auto;margin-right:0;text-align:right}@media (max-width: 1144px){.right-item[_ngcontent-%COMP%]{margin-left:0;margin-right:auto;text-align:left;width:100%}}.right-item[_ngcontent-%COMP%] .download-link[_ngcontent-%COMP%]{border-bottom:0;line-height:.7;margin:0 1.5em 1em 2.5em;padding-top:.3em;text-decoration:underline}@media (max-width: 1144px){.right-item[_ngcontent-%COMP%] .download-link[_ngcontent-%COMP%]{margin:0 2.5em 1em 0}}@media (max-width: 480px){.right-item[_ngcontent-%COMP%] .download-link[_ngcontent-%COMP%]{margin:0 2.5em 1em 0}}.right-item[_ngcontent-%COMP%] .download-link[_ngcontent-%COMP%]:before{border-bottom:.063rem solid;line-height:.65;top:0}.right-item[_ngcontent-%COMP%] .download-link[_ngcontent-%COMP%]:hover{text-decoration:none}.right-item[_ngcontent-%COMP%] .download-link[_ngcontent-%COMP%]:hover:before{border-bottom:0}.delay[_ngcontent-%COMP%]{width:100%}.info-text[_ngcontent-%COMP%]{color:#999;margin-bottom:1rem}.sustainable-bond-type[_ngcontent-%COMP%]{border:1px limegreen solid;border-radius:4px;display:inline-block;margin-right:.25rem;padding:.45em}"],changeDetection:0})}}return n})();var W=p(5964),Xt=p(70152),Ge=p(99437),k=p(68507),F=p(21626),te=p(96009),q=p(7673);let gi=(()=>{class n{constructor(t,i){this.http=t,this.platformId=i,this.baseUrl=M.c.instrumentModalDocuments}getDoc(t,i=null){if((0,l.Vy)(this.platformId))return;const s=i?{documentLink:""}:{programmes:[]};return this.http.get(this.baseUrl+`/${t}/`+(i||"programmes")).pipe((0,Ge.W)(c=>((0,te.z3)("Error to retrieve documents: ",c,window.location.href),(0,q.of)(s))))}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(F.Qq),e.KVO(e.Agw))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var g=p(84341),Je=p(28496),ve=p(19032);const Ds=["selected"],Se=()=>({errorText:"-"});function js(n,r){if(1&n&&(e.qex(0),e.nrm(1,"img",21),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Mz_("alt","",t.content.companytitle.value," Logo"),e.Y8G("src",t.content.companylogo.value,e.B4B)}}function Ns(n,r){1&n&&e.eu8(0)}function Ys(n,r){if(1&n&&(e.j41(0,"div",19),e.DNE(1,js,2,3,"ng-container",11)(2,Ns,1,0,"ng-container",20),e.k0s()),2&n){let t;const i=e.XpG(),o=e.sdS(19);e.R7$(),e.Y8G("ngIf",!i.content.companylogo.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",null!==(t=i.content.companylogo)&&void 0!==t?t:e.lJ4(3,Se))}}
1function Xs(n,r){if(1&n&&(e.j41(0,"h3",23),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.companytitle.value," instruments")}}function Bs(n,r){1&n&&e.eu8(0)}function Vs(n,r){if(1&n&&(e.qex(0),e.DNE(1,Xs,2,1,"h3",22)(2,Bs,1,0,"ng-container",20),e.bVm()),2&n){let t;const i=e.XpG(),o=e.sdS(19);e.R7$(),e.Y8G("ngIf",!i.content.companytitle.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",null!==(t=i.content.companytitle)&&void 0!==t?t:e.lJ4(3,Se))}}function Ls(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.content.headerLabel.value)}}function As(n,r){1&n&&e.eu8(0)}function qs(n,r){if(1&n&&(e.j41(0,"div",24),e.DNE(1,Ls,2,1,"ng-container",11)(2,As,1,0,"ng-container",20),e.k0s()),2&n){let t;const i=e.XpG(),o=e.sdS(19);e.R7$(),e.Y8G("ngIf",!i.content.headerLabel.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",null!==(t=i.content.headerLabel)&&void 0!==t?t:e.lJ4(3,Se))}}function Us(n,r){1&n&&(e.j41(0,"div",25),e.EFF(1,"No matches found."),e.k0s())}function zs(n,r){if(1&n&&(e.j41(0,"span",44),e.EFF(1),e.nI1(2,"etfs"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.bMT(2,1,t.title))}}function Hs(n,r){if(1&n&&(e.j41(0,"span",45),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.BMQ("data-count",t.instrumentcount),e.R7$(),e.SpI(" (",t.instrumentcount,") ")}}function Ws(n,r){if(1&n&&e.nrm(0,"a",53),2&n){const t=e.XpG().$implicit;e.Y8G("href",null==t?null:t.documentLink,e.B4B)}}function Js(n,r){1&n&&e.EFF(0,"-")}function Ks(n,r){1&n&&e.eu8(0)}function Qs(n,r){if(1&n&&(e.j41(0,"tr")(1,"td")(2,"span",50),e.EFF(3),e.k0s()(),e.j41(4,"td",51),e.DNE(5,Ws,1,1,"a",52)(6,Js,1,0,"ng-template",null,1,e.C5r)(8,Ks,1,0,"ng-container",20),e.k0s()()),2&n){const t=r.$implicit,i=e.sdS(7);e.XpG(4);const o=e.sdS(19);e.R7$(3),e.JRh(null==t?null:t.name),e.R7$(2),e.Y8G("ngIf",null==t?null:t.documentLink)("ngIfElse",i),e.R7$(3),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.lJ4(5,Se))}}function Zs(n,r){if(1&n&&(e.qex(0),e.j41(1,"table",46)(2,"thead")(3,"tr")(4,"th")(5,"h4"),e.EFF(6),e.k0s()(),e.nrm(7,"th",47),e.k0s()(),e.j41(8,"tbody"),e.DNE(9,Qs,9,6,"tr",48),e.k0s()(),e.j41(10,"div",49)(11,"h4"),e.EFF(12,"Bond securities"),e.k0s()(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(6),e.JRh(t.content.programmes.label),e.R7$(3),e.Y8G("ngForOf",null==t.content.programmes?null:t.content.programmes.value)}}function el(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.instrumenttidmlabel," ")}}function tl(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.instrumentnamelabel," ")}}function nl(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.instrumentpricelabel," ")}}function il(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.instrumentmaturitylabel," ")}}function ol(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.instrumenttypelabel," ")}}function rl(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.tidm.value)}}function al(n,r){1&n&&e.eu8(0)}function sl(n,r){if(1&n&&(e.qex(0),e.DNE(1,rl,2,1,"ng-container",11)(2,al,1,0,"ng-container",20),e.bVm()),2&n){let t;const i=e.XpG().$implicit;e.XpG(3);const o=e.sdS(19);e.R7$(),e.Y8G("ngIf",!i.tidm.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",null!==(t=i.tidm)&&void 0!==t?t:e.lJ4(3,Se))}}function ll(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.name.value)}}function cl(n,r){1&n&&e.eu8(0)}function pl(n,r){if(1&n&&(e.j41(0,"span",68),e.DNE(1,ll,2,1,"ng-container",11)(2,cl,1,0,"ng-container",20),e.k0s()),2&n){let t;const i=e.XpG().$implicit;e.XpG(3);const o=e.sdS(19);e.Y8G("ngClass",i.name.visibility?"ellipsed":""),e.R7$(),e.Y8G("ngIf",!i.name.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",null!==(t=i.name)&&void 0!==t?t:e.lJ4(4,Se))}}function ml(n,r){if(1&n&&(e.j41(0,"span",69),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" Issued under ",t.programme.value," ")}}function _l(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",44),e.EFF(2),e.nI1(3,"customnumber"),e.k0s(),e.j41(4,"div",70),e.EFF(5),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.JRh(e.bMT(3,2,t.lastprice.value)),e.R7$(3),e.JRh(t.currency.value)}}function dl(n,r){1&n&&e.eu8(0)}function ul(n,r){if(1&n&&(e.qex(0),e.DNE(1,_l,6,4,"ng-container",11)(2,dl,1,0,"ng-container",20),e.bVm()),2&n){let t;const i=e.XpG().$implicit;e.XpG(3);const o=e.sdS(19);e.R7$(),e.Y8G("ngIf",!i.lastprice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",null!==(t=i.lastprice)&&void 0!==t?t:e.lJ4(3,Se))}}function gl(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customdate"),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(e.bMT(2,1,t.maturitydate.value))}}function hl(n,r){1&n&&e.eu8(0)}function fl(n,r){if(1&n&&(e.qex(0),e.DNE(1,gl,3,3,"ng-container",11)(2,hl,1,0,"ng-container",20),e.bVm()),2&n){let t;const i=e.XpG(2).$implicit;e.XpG(3);const o=e.sdS(19);e.R7$(),e.Y8G("ngIf",!i.maturitydate.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",null!==(t=i.maturitydate)&&void 0!==t?t:e.lJ4(3,Se))}}function vl(n,r){if(1&n){const t=e.RV6();e.j41(0,"td",71),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(3);return e.Njj(a.selectInstrument(o.tidm.value))}),e.j41(1,"span",72),e.DNE(2,fl,3,4,"ng-container",11),e.k0s()()}if(2&n){const t=e.XpG().$implicit;e.R7$(2),e.Y8G("ngIf",t.maturitydate.visibility)}}function bl(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.percentualchange.value,"%"))}}function Cl(n,r){1&n&&e.eu8(0)}function Tl(n,r){if(1&n&&(e.qex(0),e.DNE(1,bl,3,4,"ng-container",11)(2,Cl,1,0,"ng-container",20),e.bVm()),2&n){let t;const i=e.XpG(2).$implicit;e.XpG(3);const o=e.sdS(19);e.R7$(),e.Y8G("ngIf",!i.percentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",null!==(t=null==i?null:i.percentualchange)&&void 0!==t?t:e.lJ4(3,Se))}}function xl(n,r){if(1&n){const t=e.RV6();e.j41(0,"td",71),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(3);return e.Njj(a.selectInstrument(o.tidm.value))}),e.j41(1,"span",73),e.DNE(2,Tl,3,4,"ng-container",11),e.k0s()()}if(2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngClass",t.netchangesign.visibility&&t.percentualchange.visibility&&!t.netchangesign.errorText&&!t.percentualchange.errorText?i.modalCssClass(t.netchangesign):""),e.R7$(),e.Y8G("ngIf",t.percentualchange.visibility)}}function kl(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"etfs"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(e.bMT(2,1,t.category.value))}}function yl(n,r){1&n&&e.eu8(0)}function wl(n,r){if(1&n&&(e.j41(0,"span",74),e.DNE(1,kl,3,3,"ng-container",11)(2,yl,1,0,"ng-container",20),e.k0s()),2&n){let t;const i=e.XpG().$implicit;e.XpG(3);const o=e.sdS(19);e.Y8G("ngClass",!i.category.errorText&&i.category.visibility?"instrument-label":""),e.R7$(),e.Y8G("ngIf",!i.category.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",null!==(t=null==i?null:i.category)&&void 0!==t?t:e.lJ4(4,Se))}}function Il(n,r){1&n&&e.nrm(0,"span",76)}function Ml(n,r){1&n&&e.eu8(0)}function Ol(n,r){if(1&n&&(e.qex(0),e.DNE(1,Il,1,0,"span",75)(2,Ml,1,0,"ng-container",20),e.bVm()),2&n){let t;const i=e.XpG().$implicit;e.XpG(3);const o=e.sdS(19);e.R7$(),e.Y8G("ngIf",!i.productroundel.errorText&&i.productroundel.value),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",null!==(t=null==i?null:i.productroundel)&&void 0!==t?t:e.lJ4(3,Se))}}function Rl(n,r){if(1&n&&e.nrm(0,"a",53),2&n){const t=e.XpG(3).$implicit;e.FS9("href",t.prospectuslink.value,e.B4B)}}function Fl(n,r){1&n&&e.EFF(0,"-")}function Pl(n,r){if(1&n&&(e.qex(0),e.DNE(1,Rl,1,1,"a",52)(2,Fl,1,0,"ng-template",null,1,e.C5r),e.bVm()),2&n){const t=e.sdS(3),i=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",i.prospectuslink.value)("ngIfElse",t)}}function Gl(n,r){1&n&&e.eu8(0)}function Sl(n,r){if(1&n&&(e.qex(0),e.DNE(1,Pl,4,2,"ng-container",11)(2,Gl,1,0,"ng-container",20),e.bVm()),2&n){let t;const i=e.XpG().$implicit;e.XpG(3);const o=e.sdS(19);e.R7$(),e.Y8G("ngIf",!i.prospectuslink.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",null!==(t=null==i?null:i.prospectuslink)&&void 0!==t?t:e.lJ4(3,Se))}}function $l(n,r){if(1&n){const t=e.RV6();e.j41(0,"tr",54)(1,"td",55),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.selectInstrument(o.tidm.value))}),e.j41(2,"a",56),e.nI1(3,"companyUrl"),e.DNE(4,sl,3,4,"ng-container",11),e.k0s()(),e.j41(5,"td",57),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.selectInstrument(o.tidm.value))}),e.j41(6,"a",58),e.nI1(7,"companyUrl"),e.DNE(8,pl,3,5,"span",59),e.k0s(),e.DNE(9,ml,2,1,"span",60),e.k0s(),e.j41(10,"td",61)(11,"span",62),e.DNE(12,ul,3,4,"ng-container",11),e.k0s()(),e.DNE(13,vl,3,1,"td",63)(14,xl,3,2,"td",63),e.j41(15,"td",64),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.selectInstrument(o.tidm.value))}),e.j41(16,"span",65),e.DNE(17,wl,3,5,"span",66)(18,Ol,3,4,"ng-container",11),e.k0s()(),e.j41(19,"td",67),e.DNE(20,Sl,3,4,"ng-container",11),e.k0s()()}if(2&n){const t=r.$implicit,i=e.XpG(3);
1e.FS9("id",t.tidm.value),e.Y8G("ngClass",i.activeInstrument(t)),e.R7$(),e.Y8G("ngClass",i.activeInstrument(t)),e.R7$(),e.Y8G("href",e.bMT(3,16,t),e.B4B),e.R7$(2),e.Y8G("ngIf",t.tidm.visibility),e.R7$(2),e.Y8G("href",e.bMT(7,18,t),e.B4B),e.R7$(2),e.Y8G("ngIf",t.name.visibility),e.R7$(),e.Y8G("ngIf",t.programme.value),e.R7$(),e.Y8G("ngClass",i.modalCssClass(t.lastprice)),e.R7$(2),e.Y8G("ngIf",t.lastprice.visibility),e.R7$(),e.Y8G("ngIf","BONDS"===t.category.value),e.R7$(),e.Y8G("ngIf","BONDS"!==t.category.value),e.R7$(2),e.Y8G("ngClass",!t.category.errorText&&t.category.visibility?i.modalCssClass(t.category):""),e.R7$(),e.Y8G("ngIf",t.category.visibility),e.R7$(),e.Y8G("ngIf",t.productroundel.visibility),e.R7$(2),e.Y8G("ngIf",t.prospectuslink.visibility)}}function El(n,r){if(1&n&&(e.j41(0,"a",77),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.FS9("href",i.showMoreLink(t.title),e.B4B),e.R7$(),e.SpI(" ",i.content.showMoreLabel.value," ")}}function Dl(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",30)(1,"div",31),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.toggleAccordion(o.title+"-accordion"))}),e.DNE(2,zs,3,3,"span",32)(3,Hs,2,2,"span",33),e.nrm(4,"span",34),e.k0s(),e.j41(5,"div",35),e.DNE(6,Zs,13,2,"ng-container",11),e.j41(7,"table",36)(8,"tr")(9,"th",37),e.DNE(10,el,2,1,"ng-container",11),e.k0s(),e.j41(11,"th"),e.DNE(12,tl,2,1,"ng-container",11),e.k0s(),e.j41(13,"th",38),e.DNE(14,nl,2,1,"ng-container",11),e.k0s(),e.j41(15,"th",39),e.DNE(16,il,2,1,"ng-container",11),e.k0s(),e.j41(17,"th",40),e.DNE(18,ol,2,1,"ng-container",11),e.k0s(),e.j41(19,"th",41),e.qex(20),e.EFF(21),e.bVm(),e.k0s()(),e.DNE(22,$l,21,20,"tr",42),e.k0s(),e.j41(23,"div",43),e.DNE(24,El,2,2,"a",29),e.k0s()()()}if(2&n){const t=r.$implicit,i=e.XpG(2);e.AVh("active-accordion",i.activeAccordion(t)),e.Mz_("id","",null==t?null:t.title,"-accordion"),e.R7$(2),e.Y8G("ngIf",t.title),e.R7$(),e.Y8G("ngIf",t.instrumentcount),e.R7$(3),e.Y8G("ngIf",i.content.programmes.visibility&&i.content.programmes.value&&t.instruments.length>0&&i.instrumentgroupProgrammes.includes(t.instruments[0].category.value)),e.R7$(4),e.Y8G("ngIf",t.instrumenttidmlabel),e.R7$(2),e.Y8G("ngIf",t.instrumentnamelabel),e.R7$(2),e.Y8G("ngIf",t.instrumentpricelabel),e.R7$(2),e.Y8G("ngIf",t.instrumentmaturitylabel),e.R7$(2),e.Y8G("ngIf",t.instrumenttypelabel),e.R7$(3),e.SpI(" ",t.instrumentdownloadlabel," "),e.R7$(),e.Y8G("ngForOf",t.instruments),e.R7$(2),e.Y8G("ngIf",t.instrumentcount>8&&i.content.issuercode.value&&t.title)}}function jl(n,r){if(1&n&&(e.j41(0,"a",77),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.FS9("href",t.showMoreLink(),e.B4B),e.R7$(),e.SpI(" ",t.content.showAllLabel.value," ")}}function Nl(n,r){if(1&n&&(e.j41(0,"div",26),e.DNE(1,Dl,25,15,"div",27),e.j41(2,"div",28),e.DNE(3,jl,2,2,"a",29),e.k0s()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",null==t.content.instrumentgroups?null:t.content.instrumentgroups.value),e.R7$(2),e.Y8G("ngIf",t.content.issuercode.value&&t.showAllLink())}}function Yl(n,r){1&n&&e.EFF(0),2&n&&e.SpI(" ",r.errorText," ")}let hi=(()=>{class n extends O.R{constructor(t,i,o,a,s,c,d,C,T,I,N){super(),this.doc=t,this.platformId=i,this.store=o,this.renderer=a,this.cssmapping=s,this.fb=c,this.refreshService=d,this.accordionHandler=C,this.elementRef=T,this.cd=I,this.remoteService=N,this.descriptionMap=new Map,this.ngUnsubscribe=new re.B,this.instrumentgroupProgrammes=["BONDS","OTHERS"]}ngOnInit(){this.store.pipe((0,u.Lt)(h.B0),(0,ie.Q)(this.ngUnsubscribe)).subscribe(t=>{this.notFoundMessage=!0;const i=this.doc.getElementsByTagName("body")[0],o=this.elementRef.nativeElement.querySelector("#instrument-modal");!0===t?(this.renderer.addClass(i,"block-scroll"),this.renderer.addClass(o,"modal-open")):(this.renderer.removeClass(i,"block-scroll"),this.renderer.removeClass(o,"modal-open"))}),this.store.pipe((0,u.Lt)(h._4),(0,ie.Q)(this.ngUnsubscribe)).subscribe(t=>{this.activeinstrument=t,this.cd.markForCheck()}),this.searchForm=this.fb.group({search:null}),this.searchForm.get("search").valueChanges.pipe((0,W.p)(t=>!(t.length>0&&t.length<2)),(0,Xt.B)(700),(0,ie.Q)(this.ngUnsubscribe),(0,Ge.W)((t,i)=>((0,te.z3)(t),i))).subscribe(t=>{const i={...this.status,refreshing:!0,params:(new F.Nl).set("q",t.trim())};this.refreshService.refreshComponent(this.id,this.position,this.type,this.content,i)}),this.initDescriptionMap(),this.store.pipe((0,u.Lt)(h.Ik),(0,ie.Q)(this.ngUnsubscribe)).subscribe(t=>{this.programmeName=t?.tradingDocument?.value?.programmeName,this.cd.markForCheck()})}ngOnChanges(t){!(0,l.UE)(this.platformId)||t.content?.currentValue===t.content?.previousValue||this.retrieveDocumentationLink(t,this.content.issuercode.value,this.content.instrumentgroups.value)}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}closeModal(){this.notFoundMessage=!1,this.searchForm.get("search").reset(""),this.store.dispatch({type:h.TQ.CloseModal})}modalCssClass(t){return this.cssmapping.cssClass(t)}selectInstrument(t){t!==this.activeinstrument&&this.store.dispatch({type:h.TQ.SelectInstrument,payload:{tidm:t}})}
1toggleAccordion(t){this.accordionHandler.toggleAccordion(t,this.elementRef)}activeInstrument(t){return this.activeinstrument===t.tidm.value?"selected-instrument":""}activeAccordion(t){return!(1!==this.content.instrumentgroups.value.length&&!t.instruments.find(o=>this.activeinstrument===o.tidm.value))}groupDescription(t){return t&&this.getDescription(t)}initDescriptionMap(){this.descriptionMap.set("EQUITY",this.content.expandableTitleEquity.value),this.descriptionMap.set("BONDS",this.content.expandableTitleBond.value),this.descriptionMap.set("ETFS",this.content.expandableTitleEtf.value),this.descriptionMap.set("OTHERS",this.content.expandableTitleOthers.value)}getDescription(t){return this.descriptionMap.has(t)?this.descriptionMap.get(t):null}showMoreLink(t){if(!this.content.issuercode.value)return"#";const i=this.showMoreParams(t);return k.T.getNormalUrl(i)}showAllLink(){let t=!1;return this.content.instrumentgroups.value.every(i=>{i.instrumentcount>8&&(t=!0)}),t}showMoreParams(t){const i=this.content.issuercode.value;let o=new F.Nl;return o=t?o.set("issuers",i).set("categories",t):o.set("issuers",i),k.T.getUrl("price-explorer",o)}noMatchesFound(){return this.notFoundMessage&&(!1===this.status.refreshed&&!1===this.status.refreshing&&null!==this.status.error||0===this.content.instrumentgroups.value.length)}bgStyle(){if(this.content.heroimage.value)return{"background-image":`url(${this.content.heroimage.value})`}}canLoad(t){return this.canLoads=t,t}retrieveDocumentationLink(t,i,o){t.content?.previousValue&&(t.content?.currentValue.instrumentgroups.value===t.content?.previousValue.instrumentgroups.value||!o||!o.length)||o.map(a=>{a.instruments.forEach(s=>{this.remoteService.getDoc(i,s.tidm.value).pipe((0,f.s)(1),(0,W.p)(c=>!(!c||!c.documentLink&&!c.programmeName))).subscribe(c=>{s.prospectuslink.value=c.documentLink,s.programme&&(s.programme.value=c.programmeName),this.cd.markForCheck()})})})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(l.qQ),e.rXU(e.Agw),e.rXU(u.il),e.rXU(e.sFG),e.rXU(b.o),e.rXU(g.ze),e.rXU(j.W),e.rXU(Je.h),e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(gi))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-instrument-modal"]],viewQuery:function(i,o){if(1&i&&e.GBs(Ds,5),2&i){let a;e.mGM(a=e.lsd())&&(o.selected=a)}},inputs:{content:"content",type:"type",position:"position",id:"id",status:"status",notFoundMessage:"notFoundMessage"},features:[e.Vt3,e.OA$],decls:20,vars:12,consts:[["emptyvalue",""],["dash_content",""],["id","instrument-modal",1,"gtm-track-component"],[1,"overlay-container"],[1,"overlay","modal-overlay",3,"click"],["appLazyBgImgLoad","",1,"overlay-wrapper","cover-image",3,"canLoad","ngStyle"],[1,"overlay-content"],[1,"close-overlay",3,"click"],[1,"instrument-logo-group","mobile-flex-wrapper"],["class","company-logo mobile-flex-wrapper hide-on-mobile",4,"ngIf"],[1,"company-title","mobile-flex-wrapper","flex-column"],[4,"ngIf"],["class","regular-font-size",4,"ngIf"],[3,"formGroup"],[1,"form-group","search-form-group"],["formControlName","search","name","search","type","text","id","modal-search","aria-describedby","modal-search",1,"form-control","bigger-font-size","search-icon"],["for","modal-search"],["id","not-found","class","bold-font-weight not-found",4,"ngIf"],["class","instruments-list",4,"ngIf"],[1,"company-logo","mobile-flex-wrapper","hide-on-mobile"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["appLazyLoad","",3,"src","alt"],["class","large-font-size bold-font-weight",4,"ngIf"],[1,"large-font-size","bold-font-weight"],[1,"regular-font-size"],["id","not-found",1,"bold-font-weight","not-found"],[1,"instruments-list"],["class","instrument-group accordion-container",3,"id","active-accordion",4,"ngFor","ngForOf"],[1,"show-all","show-more","bold-font-weight"],["target","_blank",3,"href",4,"ngIf"],[1,"instrument-group","accordion-container",3,"id"],[1,"accordion-header","gtm-trackable",3,"click"],["class","bold-font-weight",4,"ngIf"],["class","accordion-description",4,"ngIf"],[1,"accordion-toggler"],[1,"accordion-content"],[1,"full-width","instrument-table"],[1,"instrument-tidm"],[1,"align-right","hide-on-portrait","instrument-price"],[1,"align-right","hide-on-portrait","instrument-maturity"],[1,"hide-on-portrait","instrument-type"],[1,"hide-on-portrait","instrument-download"],[3,"ngClass","id",4,"ngFor","ngForOf"],[1,"show-more","show-more-div","bold-font-weight"],[1,"bold-font-weight"],[1,"accordion-description"],[1,"full-width","programmes-table"],[1,"programmes-download"],[4,"ngFor","ngForOf"],[1,"securities-title"],[1,"ellipsed"],[1,"align-center"],["class","download-prospectus",3,"href",4,"ngIf","ngIfElse"],[1,"download-prospectus",3,"href"],[3,"ngClass","id"],[3,"click","ngClass"],[1,"instrument-tidm","bold-font-weight","clickable",3,"href"],[3,"click"],[1,"clickable","black-link",3,"href"],["class","ellipsed",3,"ngClass",4,"ngIf"],["class","small-font-size bond-securities",4,"ngIf"],[1,"align-right","hide-on-portrait",3,"ngClass"],[1,"instrument-price","non-clickable"],["class","align-right hide-on-portrait",3,"click",4,"ngIf"],[1,"hide-on-portrait",3,"click"],[1,"instrument-type","non-clickable",3,"ngClass"],["class","small-font-size",3,"ngClass",4,"ngIf"],[1,"align-center","hide-on-portrait","instrument-download"],[1,"ellipsed",3,"ngClass"],[1,"small-font-size","bond-securities"],[1,"smaller-font-size"],[1,"align-right","hide-on-portrait",3,"click"],[1,"bold-font-weight","instrument-maturity","non-clickable"],[1,"bold-font-weight","instrument-maturity","non-clickable",3,"ngClass"],[1,"small-font-size",3,"ngClass"],["class","roundel greenbond-roundel",4,"ngIf"],[1,"roundel","greenbond-roundel"],["target","_blank",3,"href"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"section",2)(1,"div",3)(2,"div",4),e.bIt("click",function(){return e.eBV(a),e.Njj(o.closeModal())}),e.k0s(),e.j41(3,"div",5),e.bIt("canLoad",function(c){return e.eBV(a),e.Njj(o.canLoad(c))}),e.j41(4,"div",6)(5,"div",7),e.bIt("click",function(){return e.eBV(a),e.Njj(o.closeModal())}),e.k0s(),e.j41(6,"div",8),e.DNE(7,Ys,3,4,"div",9),e.j41(8,"div",10),e.DNE(9,Vs,3,4,"ng-container",11)(10,qs,3,4,"div",12),e.k0s()(),e.j41(11,"form",13)(12,"div",14),e.nrm(13,"input",15),e.j41(14,"label",16),e.EFF(15),e.k0s()()(),e.DNE(16,Us,2,0,"div",17)(17,Nl,4,2,"div",18),e.k0s()()()(),e.DNE(18,Yl,1,1,"ng-template",null,0,e.C5r)}2&i&&(e.R7$(3),e.AVh("default-cover-image",!o.content.heroimage.visibility||!o.content.heroimage.value),e.Y8G("ngStyle",o.canLoads?o.bgStyle():null),e.R7$(4),e.Y8G("ngIf",o.content.companylogo.value&&o.content.companylogo.visibility),e.R7$(2),e.Y8G("ngIf",o.content.companytitle.visibility),e.R7$(),e.Y8G("ngIf",o.content.headerLabel.visibility),e.R7$(),e.Y8G("formGroup",o.searchForm),e.R7$(2),e.AVh("researched",o.searchForm.controls.search.value),e.R7$(2),e.JRh(o.content.searchLabel.value),e.R7$(),e.Y8G("ngIf",o.noMatchesFound()),e.R7$(),e.Y8G("ngIf",!o.status||!1!==o.status.refreshed))},dependencies:[l.YU,l.Sq,l.bT,l.T3,l.B3,g.qT,g.me,g.BC,g.cb,D.W,Y.S,g.j4,g.JD,ee.p,U.W,ve.b,Te.Z],styles:['.instrument-logo-group[_ngcontent-%COMP%]{flex-wrap:nowrap;margin-bottom:1.5rem;width:calc(100% - 2rem);word-break:break-word}@media (max-width: 768px){.instrument-logo-group[_ngcontent-%COMP%]{flex-wrap:wrap}}.instrument-logo-group[_ngcontent-%COMP%] .company-title[_ngcontent-%COMP%]{margin-top:1rem}.select-instrument[_ngcontent-%COMP%]{border:.125rem dashed #b2b2b2;border-radius:50%;display:inline-block;height:2rem;width:2rem}.selected-instrument[_ngcontent-%COMP%]{border-left:.325rem solid #001eff}.selected-instrument[_ngcontent-%COMP%] .select-instrument[_ngcontent-%COMP%]{background:#001eff url
1(assets/static/tick_white.svg) no-repeat center center;background-size:.75rem 1rem;border:.125rem solid #001eff}.instruments-list[_ngcontent-%COMP%] .roundel[_ngcontent-%COMP%]{display:inline-block;height:1.5rem;margin:0;vertical-align:middle;width:1.5rem}.instruments-list[_ngcontent-%COMP%] .roundel[_ngcontent-%COMP%]:before{background-size:3rem 3rem;height:3rem;width:3rem}.instruments-list[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-left:.325rem solid #ffffff;vertical-align:top}@media (max-width: 768px){.instruments-list[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{vertical-align:middle}}.instruments-list[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:.75rem;padding-top:.75rem}.instruments-list[_ngcontent-%COMP%] td.selected-instrument[_ngcontent-%COMP%]{border-left:.325rem solid #001eff}.instruments-list[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .instruments-list[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{box-sizing:content-box;width:100%}.instruments-list[_ngcontent-%COMP%] .instrument-selection[_ngcontent-%COMP%]{width:2rem}.instruments-list[_ngcontent-%COMP%] .instrument-download[_ngcontent-%COMP%]{width:8rem}.instruments-list[_ngcontent-%COMP%] .instrument-type[_ngcontent-%COMP%]{padding:1em 0 1em 1.25em;width:7.5rem}.instruments-list[_ngcontent-%COMP%] .instrument-maturity[_ngcontent-%COMP%]{padding:1em 1.25em;width:5.32rem}.instruments-list[_ngcontent-%COMP%] .instrument-price[_ngcontent-%COMP%]{padding:1em 1.25em;width:4rem}.instruments-list[_ngcontent-%COMP%] .instrument-price[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding-top:.25rem}.instruments-list[_ngcontent-%COMP%] .instrument-tidm[_ngcontent-%COMP%]{font-weight:600;width:4rem}.instrument-table[_ngcontent-%COMP%]{table-layout:fixed}.instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:0}.instrument-table[_ngcontent-%COMP%] td.instrument-download[_ngcontent-%COMP%]{height:3.4rem;padding-right:1.25em;padding-top:.85em}.instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a.clickable[_ngcontent-%COMP%], .instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.non-clickable[_ngcontent-%COMP%]{display:inline-block;padding:.75rem 1rem .75rem .85rem;width:100%}.instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a.clickable.instrument-type[_ngcontent-%COMP%], .instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.non-clickable.instrument-type[_ngcontent-%COMP%]{padding-left:1.35rem;display:flex;align-items:center}.instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a.clickable.instrument-tidm[_ngcontent-%COMP%]:hover, .instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.non-clickable.instrument-tidm[_ngcontent-%COMP%]:hover{color:#001eff}.instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a.clickable.instrument-selection[_ngcontent-%COMP%], .instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.non-clickable.instrument-selection[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a.clickable.black-link[_ngcontent-%COMP%], .instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.non-clickable.black-link[_ngcontent-%COMP%]{padding-left:0}.instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a.clickable.black-link[_ngcontent-%COMP%]:hover, .instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.non-clickable.black-link[_ngcontent-%COMP%]:hover{color:inherit}.instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a.clickable.negativechange[_ngcontent-%COMP%]:hover, .instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.non-clickable.negativechange[_ngcontent-%COMP%]:hover{color:#7e1b1b}.instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a.clickable.positivechange[_ngcontent-%COMP%]:hover, .instrument-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] span.non-clickable.positivechange[_ngcontent-%COMP%]:hover{color:#22775e}.search-icon[_ngcontent-%COMP%]{background:url(assets/static/search_black.svg) right 1rem center no-repeat;background-size:1rem 1rem;height:3.75rem;padding:1.1875rem 3rem 1.1875rem 1rem}.search-form-group[_ngcontent-%COMP%]{background-color:#fff;margin:1.5rem auto 1rem;position:relative}.search-form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#999;font-size:.984375rem;line-height:1.25em;margin:0;max-width:calc(100% - 3rem);overflow:hidden;padding:1.1875rem 1rem;position:absolute;top:0;white-space:nowrap}.search-form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus + label[_ngcontent-%COMP%], .search-form-group[_ngcontent-%COMP%] .researched[_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{display:none}.not-found[_ngcontent-%COMP%]{color:#7e1b1b}.component-refresh.refreshing[_ngcontent-%COMP%]{height:3rem}.show-all[_ngcontent-%COMP%]{margin-bottom:1.5rem}table[_ngcontent-%COMP%]{border-collapse:collapse}.programmes-table[_ngcontent-%COMP%]{table-layout:fixed}.programmes-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .programmes-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:.125rem solid #fafafa;box-sizing:border-box;height:auto!important;padding-bottom:.75rem;padding-top:.75rem;vertical-align:middle}.programmes-table[_ngcontent-%COMP%] .programmes-download[_ngcontent-%COMP%]{content:"";width:3rem}.securities-title[_ngcontent-%COMP%]{border-left:.35rem solid transparent;padding:1.5rem .85rem .75rem}
1.securities-title[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0}a[_ngcontent-%COMP%] + .bond-securities[_ngcontent-%COMP%]{display:block;margin-top:-.5rem;padding-bottom:.75rem}#instrument-modal[_ngcontent-%COMP%]{display:none}#instrument-modal.modal-open[_ngcontent-%COMP%]{display:block}'],changeDetection:0})}}return n})();var v=p(27017),be=p(66356);let Tn=(()=>{class n{transform(t){return/^http[s]?:\/\//.test(t)||(t="https://"+t),t}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=e.EJ8({name:"externalUrl",type:n,pure:!0})}}return n})();function Xl(n,r){if(1&n&&(e.j41(0,"a",7),e.nI1(1,"externalUrl"),e.EFF(2),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("href",e.bMT(1,2,t.content.statutorylink.value),e.B4B),e.R7$(2),e.JRh(t.content.statutorylink.value)}}function Bl(n,r){if(1&n&&(e.j41(0,"div",2)(1,"section",3)(2,"div",4),e.EFF(3),e.k0s(),e.nrm(4,"div",5),e.nI1(5,"safeHtml"),e.DNE(6,Xl,3,4,"a",6),e.k0s()()),2&n){const t=e.XpG();e.R7$(3),e.SpI(" ",t.content.statutoryTitle.value," "),e.R7$(),e.Y8G("innerHtml",e.bMT(5,3,t.content.statutoryText.value),e.npT),e.R7$(2),e.Y8G("ngIf",t.content.statutorylink.value)}}function Vl(n,r){if(1&n&&e.nrm(0,"app-hide-field",9),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function Ll(n,r){1&n&&e.DNE(0,Vl,1,1,"app-hide-field",8),2&n&&e.Y8G("ngIf",r.errorText)}let fi=(()=>{class n extends O.R{constructor(t){super(),this.store=t}ngOnInit(){this.store.pipe((0,u.Lt)(h.IQ),(0,f.s)(1)).subscribe(t=>{this.pageType=t?t.page_type:""})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(u.il))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-statutory-block"]],inputs:{content:"content"},features:[e.Vt3],decls:3,vars:1,consts:[["emptyvalue",""],["id","statutory-block","class","statutory-block-component component wrapper flex-wrapper x-large-width x-large-width-padding gtm-track-component",4,"ngIf"],["id","statutory-block",1,"statutory-block-component","component","wrapper","flex-wrapper","x-large-width","x-large-width-padding","gtm-track-component"],[1,"statutory-block-content"],[1,"statutory-block-title"],[1,"statutory-block-text","rich-text-wrapper","column",3,"innerHtml"],["target","_blank","class","regular-font-size bold-font-weight statutory-link",3,"href",4,"ngIf"],["target","_blank",1,"regular-font-size","bold-font-weight","statutory-link",3,"href"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&e.DNE(0,Bl,7,5,"div",1)(1,Ll,1,1,"ng-template",null,0,e.C5r),2&i&&e.Y8G("ngIf","non-lse-instruments"!==o.pageType)},dependencies:[l.bT,y.W,be.$,Tn],styles:[".statutory-block-content[_ngcontent-%COMP%]{background:#f4f4f4;color:#000;padding:1.5em 2em 1.2em;width:100%}.statutory-block-content[_ngcontent-%COMP%] .statutory-block-title[_ngcontent-%COMP%]{font-size:1.2em;font-weight:700;line-height:1.4em;margin-bottom:.6em}.statutory-block-content[_ngcontent-%COMP%] .statutory-block-text[_ngcontent-%COMP%]{font-size:1.1em;line-height:1.2em}.statutory-block-content[_ngcontent-%COMP%] .statutory-block-text[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-weight:700}.statutory-link[_ngcontent-%COMP%]{margin-top:1rem}"],changeDetection:0})}}return n})();p(28140);var $e=p(32525),Bt=p(90183),Vt=p(59015),et=p(25519),tt=p(40250),Al=p(2578),Lt=p(67374),Q=p.n(Lt),ql=p(14836),Ee=p(8436),le=p(46738),pe=p(38353),Ul=p(87949);function zl(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",6),e.nI1(1,"async"),e.bIt("click",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.setPage(0,o))}),e.EFF(2,"First page"),e.k0s()}if(2&n){const t=e.XpG(2);e.AVh("disabled",0===t.currentPage),e.Y8G("href",e.bMT(1,3,t.getTileUrl(0)),e.B4B)}}function Hl(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",7),e.nI1(1,"async"),e.bIt("click",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.setPage(a.getBeforePage(a.currentPage),o))}),e.EFF(2,"..."),e.k0s()}if(2&n){const t=e.XpG(2);e.Mz_("title","Go to page ",t.getBeforePage(t.currentPage)+1,""),e.Y8G("href",e.bMT(1,3,t.getTileUrl(t.getBeforePage(t.currentPage))),e.B4B)}}function Wl(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",8),e.nI1(1,"async"),e.bIt("click",function(o){const a=e.eBV(t).$implicit,s=e.XpG(2);return e.Njj(s.setPage(a,o))}),e.EFF(2),e.k0s()}if(2&n){const t=r.$implicit,i=e.XpG(2);e.AVh("active",i.currentPage===t),e.Y8G("href",e.bMT(1,4,i.getTileUrl(t)),e.B4B),e.R7$(2),e.JRh(t+1)}}function Jl(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",7),e.nI1(1,"async"),e.bIt("click",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.setPage(a.getAfterPage(a.currentPage),o))}),e.EFF(2,"..."),e.k0s()}if(2&n){const t=e.XpG(2);e.Mz_("title","Go to page ",t.getAfterPage(t.currentPage)+1,""),e.Y8G("href",e.bMT(1,3,t.getTileUrl(t.getAfterPage(t.currentPage))),e.B4B)}}function Kl(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",9),e.nI1(1,"async"),e.bIt("click",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.setPage(a.totalPages-1,o))}),e.EFF(2,"Last page"),e.k0s()}if(2&n){const t=e.XpG(2);e.AVh("disabled",t.currentPage===t.totalPages-1),e.Y8G("href",e.bMT(1,3,t.getTileUrl(t.totalPages-1)),e.B4B)}}function Ql(n,r){if(1&n&&(e.j41(0,"div",1),e.DNE(1,zl,3,5,"a",2)(2,Hl,3,5,"a",3)(3,Wl,3,6,"a",4)(4,Jl,3,5,"a",3)(5,Kl,3,5,"a",5),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.totalPages>t.size),e.R7$(),e.Y8G("ngIf",t.beforeDots),e.R7$(),e.Y8G("ngForOf",t.pages),e.R7$(),e.Y8G("ngIf",t.afterDots),e.R7$(),e.Y8G("ngIf",t.totalPages>t.size)}}let ue=(()=>{class n{constructor(t,i,o){this.urlService=t,this.pageTitleService=i,this.canonicalUrlService=o,this.size=5,this.goToPage=new e.bkB,this.pages=[],this.beforeDots=!1,this.afterDots=!1,this.typePaginationMap=new Map([["start",this.get
1StartPagination],["end",this.getEndPagination],["middle",this.getMiddlePagination]])}ngOnInit(){}ngOnChanges(){this.totalPages<=1?this.ngOnDestroy():(this.canonicalUrlService.dispatchTotalPages(this.totalPages),this.pageTitleService.dispatchPageTitleNumber(this.currentPage),this.definePagesArray(this.currentPage,this.totalPages,this.size))}ngOnDestroy(){this.pageTitleService.dispatchPageTitleNumber(0),this.canonicalUrlService.dispatchTotalPages(0)}setPage(t,i){var o=this;return(0,_.A)(function*(){i&&i.preventDefault(),yield o.addPageParamToUrl(t),o.goToPage.emit(t)})()}getPageUrl(t,i){const o=this.isZero(t)?i.parameters.delete("page"):i.parameters.set("page",`${t+1}`),a=k.T.getLink(i.path,o),s="/"===a?k.T.getNormalUrl({path:i.path,parameters:o}):a;return s.startsWith("/")?s:`/${s}`}getTileUrl(t){return this.urlService.getCurrentPath().pipe((0,A.T)(i=>this.getPageUrl(t,i)))}definePagesArray(t,i,o){if(!i||i<=1)return;const a=t,s=i-t,c=Array(i).fill(i).map((d,C)=>C);if(i<=(o=o%2==0?o+1:o))this.afterDots=!1,this.beforeDots=!1,this.pages=c;else{const d=this.getTypePagination(a,s,o-2);this.pages=this.typePaginationMap.get(d).call(this,c,o)}}getTypePagination(t,i,o){return t<o?"start":i<o?"end":"middle"}getMiddlePagination(t,i){return this.afterDots=!0,this.beforeDots=!0,t.slice(this.currentPage-(i-3)/2,this.currentPage+(i-3)/2+1)}getStartPagination(t,i){return this.afterDots=!0,this.beforeDots=!1,t.slice(0,i-1)}getEndPagination(t,i){return this.afterDots=!1,this.beforeDots=!0,t.slice(this.totalPages-i+1,this.totalPages)}addPageParamToUrl(t){var i=this;return(0,_.A)(function*(){i.isZero(t)?i.urlService.deleteParameters(["page"]):i.urlService.addParameters((new F.Nl).set("page",`${t}`))})()}isZero(t){return isNaN(t)||0===t}getAfterPage(t){return Math.min(t+5,this.totalPages-1)}getBeforePage(t){return Math.max(t-5,0)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(k.T),e.rXU(pe.P),e.rXU(Ul.r))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-paginator"]],inputs:{totalPages:"totalPages",currentPage:"currentPage",size:"size"},outputs:{goToPage:"goToPage"},features:[e.OA$],decls:1,vars:1,consts:[["class","paginator",4,"ngIf"],[1,"paginator"],["class","page-number page-first","title","Go to first page",3,"href","disabled","click",4,"ngIf"],["class","page-number dots",3,"href","title","click",4,"ngIf"],["class","page-number",3,"href","active","click",4,"ngFor","ngForOf"],["class","page-number page-last","title","Go to last page","rel","nofollow",3,"href","disabled","click",4,"ngIf"],["title","Go to first page",1,"page-number","page-first",3,"click","href"],[1,"page-number","dots",3,"click","href","title"],[1,"page-number",3,"click","href"],["title","Go to last page","rel","nofollow",1,"page-number","page-last",3,"click","href"]],template:function(i,o){1&i&&e.DNE(0,Ql,6,5,"div",0),2&i&&e.Y8G("ngIf",o.totalPages>1)},dependencies:[l.Sq,l.bT,l.Jj],styles:[".paginator[_ngcontent-%COMP%]{clear:both;margin-bottom:2.5rem;text-align:center}.page-number[_ngcontent-%COMP%]{border:.063rem solid #b2b2b2;color:#000;cursor:pointer;display:inline-block;font-size:.984375rem;font-weight:700;height:2.5rem;line-height:2.5rem;margin:.5rem;min-width:2.5rem;overflow:hidden;padding:0;text-align:center;text-decoration:none}.page-number[_ngcontent-%COMP%]:first-child{margin-left:0}.page-number[_ngcontent-%COMP%]:last-child{margin-right:0}.page-number[_ngcontent-%COMP%]:hover{border:.125rem solid #001eff}.page-number.page-first[_ngcontent-%COMP%]{background:url(assets/static/calendar_months_left_indicator.svg) no-repeat center center;color:#fff;text-indent:-65rem}.page-number.page-last[_ngcontent-%COMP%]{background:url(assets/static/calendar_months_right_indicator.svg) no-repeat center center;color:#fff;text-indent:-65rem}.page-number.active[_ngcontent-%COMP%]{border:.125rem solid #001eff;color:#001eff}.page-number.disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none}"]})}}return n})(),vi=(()=>{class n{constructor(t){this.el=t,this.specialKeys=["Backspace","Tab","End","Home","-"]}onKeyDown(t){if(-1!==this.specialKeys.indexOf(t.key))return;const o=this.el.nativeElement.value.concat(t.key),a=Number(o);(this.isNotInteger(a,o)||isNaN(a))&&t.preventDefault()}isNotInteger(t,i){return this.integerOnly&&(i&&i.indexOf(".")>-1||!Number.isInteger(t))}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","appNumberOnly",""]],hostBindings:function(i,o){1&i&&e.bIt("keydown",function(s){return o.onKeyDown(s)})},inputs:{integerOnly:"integerOnly"}})}}return n})();function Zl(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.tradesTableHeaderTitle)}}function ec(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.JRh(null==t.content.recapTabTitle?null:t.content.recapTabTitle.value)}}function tc(n,r){if(1&n&&(e.j41(0,"a",11),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("href",t.getShowMoreLink(t.instrumentFromPath),e.B4B),e.R7$(),e.SpI(" ",t.content.showMoreLabel.value," ")}}function nc(n,r){if(1&n&&(e.qex(0),e.DNE(1,tc,2,2,"a",10),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf","extended"!==(null==t.meta?null:t.meta.viewMode))}}function ic(n,r){if(1&n&&(e.j41(0,"div",26),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.content.fromTimeSelectorFieldLabels.value," ")}}function oc(n,r){if(1&n&&(e.j41(0,"div",26),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.content.toTimeSelectorFieldLabels.value," ")}}function rc(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",17),e.DNE(1,ic,2,1,"div",18),e.j41(2,"div",19)(3,"div",20)(4,"span",21),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.timeSpinner("fromTimeHour","up","hour"))}),e.k0s(),e.nrm(5,"input",22),e.j41(6,"span",21),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.timeSpinner("fromTimeHour","down","hour"))}),e.k0s()(),e.j41(7,"div",20)(8,"span",21),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.timeSpinner("fromTimeMinutes","up","minute"))}),e.k0s(),e.nrm(9,"input",23),e.j41(10,"span",21),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.timeSpinner("fromTimeMinutes","down","minute"))}),e.k0s()()(),e.DNE(11,oc,2,1,"div",18),e.j41(12,"div",19)(13,"div",20)(14,"span",21),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.timeSpinner("toTimeHour","up","hour"))}),e.k0s(),e.nrm(15,"input",24),e.j41(16,"span",21),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.timeSpinner("toTimeHour","down","hour"))}),e.k0s()(),e.j41(17,"div",20)(18,"span",21),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.timeSpinner("toTimeMinutes","up","minute"))}),e.k0s(),e.nrm(19,"input",25),e.j41(20,"span",21),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.timeSpinner("toTimeMinutes","down","minute"))}),e.k0s()()()()}if(2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.content.fromTimeSelectorFieldLabels.label),e.R7$(4),e.AVh("has-error",t.filtersForm.controls.fromTimeHour.invalid&&t.filtersForm.controls.fromTimeHour.touched),e.Y8G("integerOnly",!0),e.R7$(4),e.AVh("has-error",t.filtersForm.controls.fromTimeMinutes.invalid&&t.filtersForm.controls.fromTimeMinutes.touched),e.Y8G("integerOnly",!0),e.R7$(2),e.Y8G("ngIf",t.content.toTimeSelectorFieldLabels.label),e.R7$(4),e.AVh("has-error",t.filtersForm.controls.toTimeHour.invalid&&t.filtersForm.controls.toTimeHour.touched),e.Y8G("integerOnly",!0),e.R7$(4),e.AVh("has-error",t.filtersForm.controls.toTimeMinutes.invalid&&t.filtersForm.controls.toTimeMinutes.touched),e.Y8G("integerOnly",!0)}}function ac(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",27)(1,"button",28),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.filterData())}),e.EFF(2),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(),e.Y8G("disabled",1==t.status.refreshing||t.filtersForm.invali
1d),e.R7$(),e.SpI(" ",t.content.goButtonLabel.value," ")}}function sc(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",31),e.bIt("click",function(o){e.eBV(t);const a=e.XpG(3);return e.Njj(a.downloadTradesData(o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.content.downloadLabel.value," ")}}function lc(n,r){if(1&n&&(e.j41(0,"div",29),e.DNE(1,sc,2,1,"a",30),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",null==t.content.downloadLink?null:t.content.downloadLink.value)}}function cc(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",12)(1,"form",13),e.bIt("ngSubmit",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onSubmit(0,!0))}),e.DNE(2,rc,21,14,"div",14)(3,ac,3,2,"div",15)(4,lc,2,1,"div",16),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("formGroup",t.filtersForm),e.R7$(),e.Y8G("ngIf",t.content.fromTimeSelectorFieldLabels&&t.content.toTimeSelectorFieldLabels),e.R7$(),e.Y8G("ngIf",t.content.goButtonLabel),e.R7$(),e.Y8G("ngIf","extended"===(null==t.meta?null:t.meta.viewMode))}}function pc(n,r){if(1&n&&(e.j41(0,"div",32),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.removeTags(t.content.notes.value)," ")}}function mc(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",42),e.bIt("click",function(){const o=e.eBV(t).index,a=e.XpG(3);return e.Njj(a.selectSlide(o))}),e.k0s()}if(2&n){const t=r.index;e.AVh("active-slide-selector",0===t),e.Mz_("id","selector-slide-",t,"")}}function _c(n,r){if(1&n&&(e.j41(0,"div",40),e.DNE(1,mc,1,4,"span",41),e.nI1(2,"slice"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",e.brH(2,1,null==t.content.trades.value?null:t.content.trades.value.content,0,t.showItems))}}function dc(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-paginator",43),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.goToPage(o))}),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("totalPages",t.getTotalPages(null==t.content.pagination?null:t.content.pagination.totalItems))("currentPage",null==t.content.pagination?null:t.content.pagination.page)}}function uc(n,r){if(1&n&&(e.j41(0,"div",44),e.EFF(1," As at "),e.j41(2,"span",45),e.EFF(3),e.nI1(4,"customdate"),e.nI1(5,"customdate"),e.k0s(),e.EFF(6),e.k0s()),2&n){const t=e.XpG(2);e.R7$(3),e.Lme("",e.brH(4,3,t.status.refreshedTime,"short","Europe/London")," ",e.ii3(5,7,t.status.refreshedTime,"time","Europe/London",!0),""),e.R7$(3),e.SpI(" - ",null==t.content.lastUpdate?null:t.content.lastUpdate.value," ")}}function gc(n,r){if(1&n&&(e.j41(0,"div",46),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.content.notes.value)}}function hc(n,r){if(1&n&&(e.j41(0,"a",47),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.FS9("href",t.content.showMoreLink.value,e.B4B),e.R7$(),e.SpI(" ",t.content.showMoreLabel.value," ")}}function fc(n,r){if(1&n&&(e.qex(0),e.DNE(1,_c,3,5,"div",33),e.nI1(2,"async"),e.DNE(3,dc,1,2,"app-paginator",34),e.j41(4,"div",35)(5,"div",36),e.DNE(6,uc,7,12,"div",37)(7,gc,2,1,"div",38),e.k0s()(),e.DNE(8,hc,2,2,"a",39),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",e.bMT(2,5,t.getOnDesktop())),e.R7$(2),e.Y8G("ngIf",t.filtersForm),e.R7$(3),e.Y8G("ngIf",null==t.content.lastUpdate?null:t.content.lastUpdate.value),e.R7$(),e.Y8G("ngIf",null==t.content.notes?null:t.content.notes.value),e.R7$(),e.Y8G("ngIf","extended"!==(null==t.meta?null:t.meta.viewMode)&&(null==t.content.pagination||null==t.content.pagination.totalItems?null:t.content.pagination.totalItems.value)>5)}}function vc(n,r){if(1&n&&e.nrm(0,"app-hide-field",49),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function bc(n,r){1&n&&e.DNE(0,vc,1,1,"app-hide-field",48),2&n&&e.Y8G("ngIf",r.errorText)}var yt=function(n){return n.DATE="0",n.PRICE="6",n.CURRENCY="8993",n.VOLUME="178",n.TRADE_TYPE="tns.-103",n.MIC="44",n}(yt||{}),bi=function(n){return n.GBP="GBP",n.GBp="GBp",n}(bi||{});let Ci=(()=>{class n extends Vt.v{constructor(t,i,o,a,s,c,d,C,T,I,N,z,me,_e){super(I,N),this.fb=t,this.format=i,this.refreshService=o,this.swipe=a,this.isBreakpoint=s,this.customdate=c,this.scrollToService=d,this.elementRef=C,this.urlService=T,this.doc=I,this.renderer=N,this.widgetsService=z,this.store=me,this.cd=_e,this.now=Date.now(),this.tradesDropdownOptions=[],this.hourInterval=new Map([["min",0],["max",23]]),this.minuteInterval=new Map([["min",0],["max",59]]),this.timeInterval=new Map([["hour",this.hourInterval],["minute",this.minuteInterval]]),this.defaultItemsPerPage=10,this.showItems=10,this.defaultFieldValue=w.M.DEFAULT_VALUE,this.downloadData=[],this.column=yt,this.tradesTableHeaderTitle="Recent trades",this.currency=bi}selectSlide(t){this.swipe.selectSlide(t)}handleTouchMove(t){this.swipe.handleTouchMove(t)}updateUrlWithParams(){var t=this;return(0,_.A)(function*(){yield t.urlService.deleteParameters(["page"])})()}goToPage(t=0){this.scrollToService.scrollToTheElementById("trades-table",this.elementRef),this.onSubmit(t)}onSubmit(t=0,i=!1){i&&this.updateUrlWithParams();const o=this.customdate.getDateWithTimezone(this.getParameterDate("start")),a=this.customdate.getDateWithTimezone(this.getParameterDate("end")),s=this.customdate.transform(o,"trades","UTC"),c=this.customdate.transform(a,"trades","UTC"),d=new F.Nl({fromString:this.getParameters(t,
1s,c)});this.status={currentPage:t,filters:{tradesShown:this.trades,from:s,to:c},refreshing:!0,params:d},this.refreshService.refreshComponent(this.id,this.position,this.type,this.content,this.status)}timeSpinner(t,i,o){if(!0===this.filtersForm.get(t).disabled)return;const a=Number(this.filtersForm.get(t).value),s=this.timeInterval.get(o),c=this.filtersForm.get(t),d="up"===i?a>=s.get("max")?0:a+1:a<=s.get("min")?s.get("max"):a-1;c.setValue(d),c.updateValueAndValidity()}ngOnInit(){this.tradesDropdownOptions=this.dropdownOptions(),this.createForm(),this.disableTimeInterval(),this.validateTimeInputs(),this.showItems=this.getShowItems(),this.setIsLseValueByCurrentPath(),this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content,this.status),this.isBreakpoint.setOnDesktop(),Promise.all([this.loadScripts(tt.hR),this.loadLink(tt.$j)]).then(()=>{this.initChart()})}initDataForExport(){const{DATE:t,PRICE:i,CURRENCY:o,VOLUME:a,TRADE_TYPE:s,MIC:c}=this.column,d=this.customdate.transform((new Date).setHours(0,0,0),"filter-trades","Europe/London"),C=this.customdate.transform(new Date,"filter-trades","Europe/London"),T="/timeseries/tns?ric="+this.ric+`&fids=${t},${i},${o},${a},${s},${c}&fromDate=`+d+"&toDate="+C+"&count=5000";window.dory?.config.setBasePath(M.c.endpoints.refinitivWidgets),window.dory.Rest.get(T).then(I=>{I.data.data.map(z=>{const me=Number(z[yt.VOLUME]);let ke=Number(Number(z[yt.PRICE]).toFixed(2))*me;"GBp"===z[yt.CURRENCY]&&(ke/=100);const Xe=ke?.toLocaleString("en-GB",{maximumFractionDigits:2}),we="NaN"!==Xe&&Xe?Xe:"-",on=n?.calculateTradeTypeColumnValues(z[s]),AL={tradeDate:this.customdate.transform(new Date(Number(z[0])),"filter-date","Europe/London"),currency:z[o],price:z[i],volume:z[a],tradeValue:we,tradeType:on,micCode:z[c]};this.downloadData.push(AL)}),this.createXLSXFile(this.downloadData)})}ngOnChanges(t){(0,$e.A)(t)||(this.content.trades.value.content=[]),this.showItems=this.getShowItems()}setIsLseValueByCurrentPath(){var t=this;return(0,_.A)(function*(){const i=yield t.urlService.getCurrentPath().toPromise();t.instrumentFromPath=k.T.getInstrumentFromCurrentPath(i)})()}ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id),window.timeSalesWidget?.destroy()}downloadTradesData(t){this.initDataForExport()}createXLSXFile(t){p.e(288).then(p.bind(p,62288)).then(i=>{const a={Sheets:{data:i.utils.json_to_sheet(t)},SheetNames:["data"]},s=i.write(a,{bookType:"xlsx",type:"array"});this.saveAsExcelFile(s,`Trades report for ${this.instrument?.tidm} `)})}saveAsExcelFile(t,i){const s=new Blob([t],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"});Al.saveAs(s,i+this.customdate.transform(new Date,"xlsx-date-format")+".xlsx")}getShowMoreLink(t){if(t)return k.T.getCompanyUrl(t.isLse,t.tidm,t.issuername,"trade-recap")}onResize(){this.showItems=this.getShowItems(),this.isBreakpoint.setOnDesktop()}refreshComponent(){const t=this.getParameterDate("start"),i=this.getParameterDate("end");(!t||!i)&&this.onSubmit()}validateTimeInputs(){this.filtersForm.get("fromTimeHour").valueChanges.subscribe(t=>this.makeFiltersRequired(t)),this.filtersForm.get("fromTimeMinutes").valueChanges.subscribe(t=>this.makeFiltersRequired(t)),this.filtersForm.get("toTimeHour").valueChanges.subscribe(t=>this.makeFiltersRequired(t)),this.filtersForm.get("toTimeMinutes").valueChanges.subscribe(t=>this.makeFiltersRequired(t))}makeFiltersRequired(t){t?(this.filtersForm.get("fromTimeHour").setValidators([g.k0.max(23),g.k0.min(0),g.k0.required]),this.filtersForm.get("fromTimeMinutes").setValidators([g.k0.max(59),g.k0.min(0),g.k0.required]),this.filtersForm.get("toTimeHour").setValidators([g.k0.max(23),g.k0.min(0),g.k0.required]),this.filtersForm.get("toTimeMinutes").setValidators([g.k0.max(59),g.k0.min(0),g.k0.required])):!this.filtersForm.get("fromTimeHour").value&&!this.filtersForm.get("fromTimeMinutes").value&&!this.filtersForm.get("toTimeHour").value&&!this.filtersForm.get("toTimeMinutes").value&&(this.filtersForm.get("fromTimeHour").clearValidators(),this.filtersForm.get("fromTimeMinutes").clearValidators(),this.filtersForm.get("toTimeHour").clearValidators(),this.filtersForm.get("toTimeMinutes").clearValidators()),Object.keys(this.filtersForm.controls).forEac
1h(i=>{this.filtersForm.controls[i].updateValueAndValidity({emitEvent:!1})})}createForm(){this.filtersForm=this.fb.group({tradesDropdown:[this.tradesDropdownOptions[0].value],fromTimeHour:[null,g.k0.compose([g.k0.max(23),g.k0.min(0)])],fromTimeMinutes:[null,g.k0.compose([g.k0.max(59),g.k0.min(0)])],toTimeHour:[null,g.k0.compose([g.k0.max(23),g.k0.min(0)])],toTimeMinutes:[null,g.k0.compose([g.k0.max(59),g.k0.min(0)])]}),this.trades=this.tradesDropdownOptions[1].value}dropdownOptions(){return[{value:5,label:`5 ${this.content.selectorDropdownPlaceholder.value}`},{value:10,label:`10 ${this.content.selectorDropdownPlaceholder.value}`},{value:20,label:`20 ${this.content.selectorDropdownPlaceholder.value}`},{value:50,label:`50 ${this.content.selectorDropdownPlaceholder.value}`},{value:0,label:"All for today"}]}disableTimeInterval(){this.filtersForm.get("tradesDropdown").valueChanges.subscribe(t=>{0===t?(this.filtersForm.get("fromTimeHour").disable(),this.filtersForm.get("fromTimeHour").setValue(this.timeInterval.get("hour").get("min")),this.filtersForm.get("fromTimeMinutes").disable(),this.filtersForm.get("fromTimeMinutes").setValue(this.timeInterval.get("minute").get("min")),this.filtersForm.get("toTimeHour").disable(),this.filtersForm.get("toTimeHour").setValue(this.timeInterval.get("hour").get("max")),this.filtersForm.get("toTimeMinutes").disable(),this.filtersForm.get("toTimeMinutes").setValue(this.timeInterval.get("minute").get("max"))):(this.filtersForm.get("fromTimeHour").enable(),this.filtersForm.get("fromTimeHour").setValue(null),this.filtersForm.get("fromTimeMinutes").enable(),this.filtersForm.get("fromTimeMinutes").setValue(null),this.filtersForm.get("toTimeHour").enable(),this.filtersForm.get("toTimeHour").setValue(null),this.filtersForm.get("toTimeMinutes").enable(),this.filtersForm.get("toTimeMinutes").setValue(null))})}getTotalPages(t){return t<this.trades||0===this.trades?Math.ceil(t/this.defaultItemsPerPage):Math.ceil(this.trades/this.defaultItemsPerPage)}getParameterDate(t){const i=this.format.getTwoDigit(this.filtersForm.get("fromTimeHour").value),o=this.format.getTwoDigit(this.filtersForm.get("fromTimeMinutes").value),a=this.format.getTwoDigit(this.filtersForm.get("toTimeHour").value),s=this.format.getTwoDigit(this.filtersForm.get("toTimeMinutes").value),c=this.customdate.transform(this.now,"filter");return i&&o&&a&&s&&new Map([["start",`${c}T${i}${o}`],["end",`${c}T${a}${s}`]]).get(t)||null}getParameters(t,i,o){const a=this.getTradesSize();return i&&o?`startHour=${i}&endHour=${o}&page=${t}&size=${a}`:`page=${t}&size=${a}`}getOnDesktop(){return this.isBreakpoint.getOnDesktop()}getShowItems(){return this.isBreakpoint.desktop()||!this.filtersForm||"extended"!==this.meta?.viewMode?5:this.getTradesSize()}getTradesSize(){return this.trades=this.filtersForm.get("tradesDropdown").value,this.trades<=this.defaultItemsPerPage&&this.trades>0?this.trades:this.defaultItemsPerPage}initTimeSalesWidget(t){const{DATE:i,PRICE:o,CURRENCY:a,VOLUME:s,TRADE_TYPE:c,MIC:d}=this.column,T=this.content,I=T.trades.value.label;window.dory?.config.setBasePath(M.c.endpoints.refinitivWidgets),window.timeSalesWidget=window.fdc__widgets__.WTimeSales?.init(".time-sales-widget",{ric:t,columns:[{headerName:I.tradedate,field:i,type:"custom",renderFunction:function(N,z){const me=z[0];return(new U.W).transform(Number(me),"short","Europe/London")}},{headerName:I.tradetime,field:i,type:"custom",renderFunction:function(N,z){const me=z[0];return(new U.W).transform(Number(me),"time","Europe/London")}},{headerName:I.lastprice,field:o},{headerName:I.tradedcurrency,field:a,type:"custom",renderFunction:function(N){let z;switch(N){case"GBp":z="GBX";break;case"EUc":z="EUR";break;case"USc":z="USD";break;case"ZAc":z="ZAR";break;default:z=N}return z}},{headerName:I.quantity,field:s},{headerName:I.tradevalue,field:o,type:"custom",renderFunction:function(N,z){const me=Number(z[s]);let ke=Number(Number(N).toFixed(2))*me;("GBp"===z[a]||"EUc"===z[a]||"USc"===z[a]||"ZAc"===z[a])&&(ke/=100);const we=ke.toLocaleString("en-GB",{maximumFractionDigits:2});return T.trades.value.visibility.tradevalue&&"NaN"!==we&&we?we:"-"}},{headerName:I.tradetype,field:c,type:"custom",renderFunction:function(N){return T.trades.value.visibility.tradetype?n.calculateTradeTypeColumnValues(N):"-"}},{headerName:I.executionvenue,field:d,type:"custom",renderFunction:function(N){return N||"-"}}]},null,null,"lse"),window.timeSalesWidget.setTableRowHeight(47)}static calculateTradeTypeColumnValues(t){if(!t)return"";const i=t.substring(0,1),o=t.substring(t.indexOf("[ELIGBL_TRD];")+13,t.lastIndexOf("[MMT")),a=t.substring(t.indexOf("[CONDCODE_2];")+13,t.lastIndexOf("[ELI"));return"U"===i?"UT":"A"===i?"AT":"M"===i?"PT":"x"===i?"IX":"C"===i?"CX":"6"===o.charAt(0)?"RF":"5"!==a||"1"!==o.charAt(0)||"2"!==o.charAt(1)||i?("5"===o.charAt(1)||"6"===o.charAt(1)||o.charAt(1),"Off-book"):"IB/CB"}initChart(){this.instrument$=this.store.pipe((0,u.Lt)(h.Ik),(0,W.p)(o=>!!o),(0,f.s)(1),(0,A.T)(o=>
1({type:o.instrumenttype.value,tidm:o.tidm.value}))),this.instrument$.subscribe(o=>{o?this.instrument=o:(this.errorMessage=!0,this.cd.detectChanges())});const i={category:this.instrument?.type?.toUpperCase(),tidm:this.instrument?.tidm?.includes("-")?null:this.instrument?.tidm};i.tidm&&i.category&&(window.dory?.config.setBasePath(M.c.endpoints.refinitivWidgets),this.widgetsService.getRics(i).then(o=>{o&&(this.ric=o[0]?.ric,this.ric?.includes("^")?(this.errorMessage=!0,this.cd.detectChanges()):this.subscription=this.widgetsService.isSessionValid$.subscribe(a=>{a&&this.ric&&this.initTimeSalesWidget(this.ric)}))}).catch(o=>{o instanceof et.O&&o.type===et.U.RicsNotFound&&(this.errorMessage=!0,this.cd.detectChanges())}))}filterData(){const{fromTimeHour:t,fromTimeMinutes:i,toTimeHour:o,toTimeMinutes:a}=this.filtersForm.value,s=new Date,c=(new Date).toLocaleTimeString("en-us",{timeZone:"Europe/London",timeZoneName:"short"}).split(" ")[2],C=1===Number(c.split("+")[1])?s.getTimezoneOffset()+60:s.getTimezoneOffset(),T=Q()(this.customdate.transform((new Date).setHours(t,i,0),"filter-trades")).subtract(C,"m"),I=Q()(this.customdate.transform((new Date).setHours(o,a,0),"filter-trades")).subtract(C,"m");window.timeSalesWidget.setTimeRange({fromDate:T,toDate:I})}removeTags(t){return null!==t&&""!==t&&(t=t.toString()).replace(/(<([^>]+)>)/gi,"")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(g.ze),e.rXU(ql.L),e.rXU(j.W),e.rXU(Ee.h),e.rXU(S.f),e.rXU(U.W),e.rXU(le.W),e.rXU(e.aKT),e.rXU(k.T),e.rXU(l.qQ),e.rXU(e.sFG),e.rXU(Bt.v),e.rXU(u.il),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-trades-table"]],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)},inputs:{content:"content",type:"type",position:"position",id:"id",status:"status",meta:"meta",timestamp:"timestamp",weight:"weight",datatypeFields:"datatypeFields",roundel:"roundel",ngComponent:"ngComponent",isDataComponentAndIsAvailable:"isDataComponentAndIsAvailable",staticContent:"staticContent"},features:[e.Vt3,e.OA$],decls:15,vars:8,consts:[["emptyvalue",""],["id","trades-table",1,"trades-table-component","component","wrapper","x-large-width","x-large-width-padding","component-refresh","gtm-track-component"],[1,"trades-header","flex-wrapper","spaced-flex-container"],[1,"regular-font-size","section-title"],[4,"ngIf"],[3,"whatsThisLink","whatsThisText"],["class","trades-filers",4,"ngIf"],[1,"full-width","trades-table","swipable-table"],[1,"time-sales-widget"],["class","trades-not-found",4,"ngIf"],["class","bold-font-weight hide-on-mobile",3,"href",4,"ngIf"],[1,"bold-font-weight","hide-on-mobile",3,"href"],[1,"trades-filers"],[1,"form-inline","small-font-size",3,"ngSubmit","formGroup"],["class","form-group form-group-dates",4,"ngIf"],["class","form-group form-group-go",4,"ngIf"],["class","form-group trades-footer-download hide-on-portrait",4,"ngIf"],[1,"form-group","form-group-dates"],["class","trades-filters-label",4,"ngIf"],[1,"time-input-wrapper"],[1,"input-time"],[3,"click"],["formControlName","fromTimeHour","name","fromTimeHour","min","00","max","23","type","number","id","fromTime-hour","aria-describedby","fromTime-hour","placeholder","HH","integers-only","","appNumberOnly","",1,"form-control",3,"integerOnly"],["formControlName","fromTimeMinutes","name","fromTimeMinutes","min","00","max","59","type","number","id","fromTime-minutes","aria-describedby","fromTime-minutes","placeholder","MM","integers-only","","appNumberOnly","",1,"form-control",3,"integerOnly"],["formControlName","toTimeHour","name","toTimeHour","min","00","max","23","type","number","id","toTime-hour","divia-describedby","toTime-hour","placeholder","HH","integers-only","","appNumberOnly","",1,"form-control",3,"integerOnly"],["formControlName","toTimeMinutes","name","toTimeMinutes","min","00","max","59","type","number","id","toTime-minutes","aria-describedby","toTime-minutes","placeholder","MM","integers-only","","appNumberOnly","",1,"form-control",3,"integerOnly"],[1,"trades-filters-label"],[1,"form-group","form-group-go"],["type","submit",1,"gold-button","bold-font-weight",3,"click","disabled"],[1,"form-group","trades-footer-download","hide-on-portrait"],["class","gold-button outline download-trades bold-font-weight regular-font-size","target","_blank",3,"click",4,"ngIf"],["target","_blank",1,"gold-button","outline","download-trades","bold-font-weight","regular-font-size",3,"click"],[1,"trades-not-found"],["class","swipable-slider show-on-landscape",4,"ngIf"],[3,"totalPages","currentPage","goToPage",4,"ngIf"],[1,"trades-footer","small-font-size","mobile-flex-container","spaced-flex-container"],[1,"trades-footer-text"],["class","small-font-size spaced-item",4,"ngIf"],["class","small-font-size",4,"ngIf"],["class","align-center bold-font-weight show-on-mobile bigger-font-size",3,"href",4,"ngIf"],[1,"swipable-slider","show-on-landscape"],["class","slide-selector",3,"active-slide-selector","id","click",4,"ngFor","ngForOf"],[1,"slide-selector",3,"click","id"],[3,"goToPage","totalPages","currentPage"],[1,"small-font-size","spaced-item"],[1,"bold-font-weight"],[1,"small-font-size"],[1,"align-center","bold-font-weight","show-on-mobile","bigger-font-size",3,"href"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"div",1)(1,"div",2)(2,"div")(3,"h3",3),e.DNE(4,Zl,2,1,"ng-container",4)(5,ec,2,1,"ng-container",4),e.k0s(),e.nrm(6,"app-whats-this",5),e.k0s(),e.DNE(7,nc,2,1,"ng-container",4),e.k0s(),e.DNE(8,cc,5,4,"div",6),e.j41(9,"div",7),e.nrm(10,"div",8),e.k0s(),e.DNE(11,pc,2,1,"div",9)(12,fc,9,7,"ng-container",4),e.k0s(),e.DNE(13,bc,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.R7$(4),e.Y8G("ngIf","extended"!=(null==o.meta?null:o.meta.viewMode)),e.R7$(),e.Y8G("ngIf","extended"===(null==o.meta?null:o.meta.viewMode)),e.R7$(),e.Y8G("whatsThisLink",o.content.whatsThisLink)("whatsThisText",o.content.whatsThisText),e.R7$(),e.Y8G("ngIf",null==o.content||null==o.content.trades?null:o.content.trades.value),e.R7$(),e.Y8G("ngIf","extended"===(null==o.meta?null:o.meta.viewMode)),e.R7$(3),e.Y8G("ngIf",!(null!=o.content.trades.value&&o.content.trades.value.content)||0===(null==o.content.trades.value.content?null:o.content.trades.value.content.length)),e.R7$(),e.Y8G("ngIf",(null==o.content.trades||null==o.content.trades.value||null==o.content.trades.value.content?null:o.content.trades.value.content.length)>0))},dependencies:[l.Sq,l.bT,g.qT,g.me,g.Q0,g.BC,g.cb,g.VZ,g.zX,y.W,g.j4,g.JD,ue,ae,vi,l.Jj,l.P9,U.W],styles:['.trades-header[_ngcontent-%COMP%]{align-items:flex-end;margin-bottom:1rem}.trades-footer[_ngcontent-%COMP%]{color:#4d4d4d}.trades-footer-download[_ngcontent-%COMP%]{padding-left:2rem}.trades-not-found[_ngcontent-%COMP%]{padding:0 1.25rem .5rem}.download-trades[_ngcontent-%COMP%]{float:right;margin-bottom:0;padding-right:2.5rem;position:relative}.download-trades[_ngcontent-%COMP%]:after{background-image:url(/assets/svg/download_icon_grey.svg);background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:2.5rem;padding-right:.5rem;margin-right:.5rem;position:absolute;right:0;top:0;transform:scale(.5);width:2rem}.trades-filers[_ngcontent-%COMP%]{margin-bottom:1rem;margin-top:-1rem}@media (max-width: 1144px){.trades-filers[_ngcontent-%COMP%]{display:none}}.trades-filers[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:flex}.trades-filers[_ngcontent-%COMP%] .form-inline[_ngcontent-%COMP%]{justify-content:space-between}@media (max-width: 1144px){.trades-filers[_ngcontent-%COMP%] .form-inline[_ngcontent-%COMP%]{display:block}}.trades-filers[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{display:inline-block;font-size:.875rem;vertical-align:middle;width:3em}.trades-filers[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{align-items:center;display:flex;flex:0 0 auto;flex-flow:row wrap;margin:1.5rem 1rem 1.5rem 0}.trades-filers[_ngcontent-%COMP%] .gold-button[_ngcontent-%COMP%]{min-width:6rem}.trades-filers[_ngcontent-%COMP%] .ng-select[_ngcontent-%COMP%]{margin-bottom:0}.trades-filters-label[_ngcontent-%COMP%]{margin-right:1.375rem}
1.input-time[_ngcontent-%COMP%] + .trades-filters-label[_ngcontent-%COMP%]{margin-left:1.5rem}.form-group-go[_ngcontent-%COMP%]{margin:0 0 0 auto!important}.form-group-dates[_ngcontent-%COMP%] .time-input-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;border-bottom:1px solid #b2b2b2;width:15.625rem;margin-right:1.375rem}.form-group-dates[_ngcontent-%COMP%] .input-time[_ngcontent-%COMP%]{height:2rem}.form-group-dates[_ngcontent-%COMP%] .input-time[_ngcontent-%COMP%]:before{line-height:2.125rem}.form-group-dates[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{height:2rem;padding:0 .65rem;border:0}.form-group-dropdown[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{left:-2.5rem;position:relative;transform:scale(.75);z-index:2}.form-group-dropdown[_ngcontent-%COMP%] .trades-filters-label[_ngcontent-%COMP%]{margin:0}@media (max-width: 1144px){app-paginator[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%] div.w-time-sales-widget div.ag-header{height:46px!important;min-height:46px!important;background-color:#fff!important}[_nghost-%COMP%] div.w-time-sales-widget div.ag-header-row{height:46px!important}[_nghost-%COMP%] div.w-time-sales-widget span.ag-header-cell-text{font-weight:700;font-size:15px}[_nghost-%COMP%] div.w-time-sales-widget div.ag-header-row{border-bottom:2px solid #4d4d4d}[_nghost-%COMP%] div.w-time-sales-widget div.ag-cell{font-size:15px;height:45px;display:flex!important;justify-content:center!important;color:#4d4d4d}'],changeDetection:0})}}return n})();function Cc(n,r){if(1&n&&(e.qex(0),e.EFF(1,"From "),e.j41(2,"span",9),e.EFF(3),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(3),e.JRh(t.content.minibioname.value)}}function Tc(n,r){1&n&&e.eu8(0)}function xc(n,r){if(1&n&&(e.j41(0,"div",6),e.DNE(1,Cc,4,1,"ng-container",7)(2,Tc,1,0,"ng-container",8),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.content.minibioname.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.minibioname)}}function kc(n,r){if(1&n&&(e.qex(0),e.nrm(1,"span",11),e.nI1(2,"safeHtml"),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("innerHtml",e.bMT(2,1,t.content.minibiodescription.value),e.npT)}}function yc(n,r){1&n&&e.eu8(0)}function wc(n,r){if(1&n&&(e.j41(0,"div",10),e.DNE(1,kc,3,3,"ng-container",7)(2,yc,1,0,"ng-container",8),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.content.minibiodescription.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.minibiodescription)}}function Ic(n,r){if(1&n&&(e.j41(0,"div",2)(1,"section",3),e.DNE(2,xc,3,3,"div",4)(3,wc,3,3,"div",5),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.content.minibioname.visibility&&t.content.minibioname.value),e.R7$(),e.Y8G("ngIf",t.content.minibiodescription.visibility)}}function Mc(n,r){if(1&n&&e.nrm(0,"app-hide-field",13),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function Oc(n,r){1&n&&e.DNE(0,Mc,1,1,"app-hide-field",12),2&n&&e.Y8G("ngIf",r.errorText)}let Ti=(()=>{class n{constructor(){}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-mini-bio"]],inputs:{content:"content"},decls:3,vars:1,consts:[["emptyvalue",""],["id","mini-bio","class","mini-bio-component wrapper flex-wrapper x-large-width x-large-width-padding gtm-track-component component",4,"ngIf"],["id","mini-bio",1,"mini-bio-component","wrapper","flex-wrapper","x-large-width","x-large-width-padding","gtm-track-component","component"],[1,"mini-bio-content","regular-font-size"],["class","mini-bio-name",4,"ngIf"],["class","mini-bio-description rich-text-wrapper column",4,"ngIf"],[1,"mini-bio-name"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"larger-font-size","bold-font-weight"],[1,"mini-bio-description","rich-text-wrapper","column"],[3,"innerHtml"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&e.DNE(0,Ic,4,2,"div",1)(1,Oc,1,1,"ng-template",null,0,e.C5r),2&i&&e.Y8G("ngIf",o.content.minibiodescription.value)},dependencies:[l.bT,l.T3,y.W,be.$],styles:[".mini-bio-component[_ng
1content-%COMP%]{background:url(assets/static/diagonal-lines-pattern.svg);padding:3rem}.mini-bio-content[_ngcontent-%COMP%]{overflow:hidden}.mini-bio-name[_ngcontent-%COMP%]{margin-bottom:.625rem}.mini-bio-description[_ngcontent-%COMP%]{overflow-wrap:break-word;word-break:break-word}"],changeDetection:0})}}return n})(),At=(()=>{class n{constructor(){this.units=["bytes","KB","MB","GB","TB","PB"]}transform(t,i=2){if(t=parseFloat(String(t)),isNaN(t)||!isFinite(t))return"-";let o=0;for(;t>=1024;)t/=1024,o++;return t.toFixed(+i)+this.units[o]}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=e.EJ8({name:"fileSize",type:n,pure:!0})}}return n})();function Rc(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(t.content.title.value)}}function Fc(n,r){1&n&&e.eu8(0)}function Pc(n,r){if(1&n&&(e.j41(0,"h3",11),e.DNE(1,Rc,2,1,"ng-container",8)(2,Fc,1,0,"ng-container",12),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.content.title.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.title)}}function Gc(n,r){if(1&n&&e.nrm(0,"img",13),2&n){const t=e.XpG(2);e.FS9("src",t.content.previewImage.value,e.B4B)}}function Sc(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(t.content.title.value)}}function $c(n,r){1&n&&e.eu8(0)}function Ec(n,r){if(1&n&&(e.j41(0,"span",14),e.DNE(1,Sc,2,1,"ng-container",8)(2,$c,1,0,"ng-container",12),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.content.title.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.title)}}function Dc(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"fileSize"),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.SpI("",e.bMT(2,1,t.content.size.value),",")}}function jc(n,r){1&n&&e.eu8(0)}function Nc(n,r){if(1&n&&(e.qex(0),e.DNE(1,Dc,3,3,"ng-container",8)(2,jc,1,0,"ng-container",12),e.bVm()),2&n){const t=e.XpG(2),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.content.size.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.size)}}function Yc(n,r){if(1&n&&(e.j41(0,"a",15),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.FS9("href",t.content.downloadLink.value,e.B4B),e.FCK("title","",t.content.downloadLabel.value," ",t.content.title.value,""),e.R7$(),e.SpI(" ",t.content.downloadLabel.value," ")}}function Xc(n,r){if(1&n&&(e.j41(0,"a",16),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.FS9("href",t.content.downloadLink.value,e.B4B),e.FCK("title","",t.content.downloadLabel.value," ",t.content.title.value,""),e.R7$(),e.SpI(" ",t.content.downloadLabel.value," ")}}function Bc(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(t.content.documentsummary.value)}}function Vc(n,r){1&n&&e.eu8(0)}function Lc(n,r){if(1&n&&(e.j41(0,"p"),e.DNE(1,Bc,2,1,"ng-container",8)(2,Vc,1,0,"ng-container",12),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.content.documentsummary.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.documentsummary)}}function Ac(n,r){if(1&n&&(e.j41(0,"div",2),e.DNE(1,Pc,3,3,"h3",3),e.j41(2,"div",4),e.DNE(3,Gc,1,1,"img",5),e.j41(4,"div",6),e.DNE(5,Ec,3,3,"span",7),e.j41(6,"p"),e.EFF(7,"PDF, "),e.DNE(8,Nc,3,3,"ng-container",8),e.EFF(9),e.k0s(),e.DNE(10,Yc,2,5,"a",9),e.k0s()(),e.DNE(11,Xc,2,5,"a",10)(12,Lc,3,3,"p",8),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.content.title.visibility),e.R7$(2),e.Y8G("ngIf",t.content.previewImage.value),e.R7$(2),e.Y8G("ngIf",t.content.title.visibility),e.R7$(3),e.Y8G("ngIf",t.content.size.visibility),e.R7$(),e.SpI(" ",t.numPages()," pages "),e.R7$(),e.Y8G("ngIf",t.content.downloadLink.value),e.R7$(),e.Y8G("ngIf",t.content.downloadLink.value),e.R7$(),e.Y8G("ngIf",t.content.documentsummary.visibility)}}function qc(n,r){if(1&n&&e.nrm(0,"app-hide-field",18),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function Uc(n,r){1&n&&e.DNE(0,qc,1,1,"app-hide-field",17),2&n&&e.Y8G("ngIf",r.errorText)}let xi=(()=>{class n extends O.R{constructor(){super(),this.classes="floating-component"}ngOnInit(){}numPages(){return!this.content.size||!this.content.size.value||Number(this.content.size.value)<=18e4?2:4}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-ftse-russell-report"]],hostVars:2,hostBindings:function(i,o){2&i&&e.HbH(o.classes)},inputs:{content:"content"},features:[e.Vt3],decls:3,vars:1,consts:[["emptyvalue",""],["id","ftse-russell-report","class","report-component component gtm-track-component",4,"ngIf"],["id","ftse-russell-report",1,"report-component","component","gtm-track-component"],["class","large-font-size bold-font-weight",4,"ngIf"],[1,"mobile-flex-container","flex-align-center","preview-container"],["alt","content.title.value","class","report-preview",3,"src",4,"ngIf"],[1,"mobile-flex-container","flex-column"],["class","bold-font-weight bigger-font-size",4,"ngIf"],[4,"ngIf"],["target","_blank","class","gold-button bold-font-weight regular-font-size hide-on-mobile",3,"href","title",4,"ngIf"],["target","_blank","class","gold-button bold-font-weight regular-font-size show-on-mobile",3,"href","title",4,"ngIf"],[1,"large-font-size","bold-font-weight"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["alt","content.title.value",1,"report-preview",3,"src"],[1,"bold-font-weight","bigger-font-size"],["target","_blank",1,"gold-button","bold-font-weight","regular-font-size","hide-on-mobile",3,"href","title"],["target","_blank",1,"gold-button","bold-font-weight","regular-font-size","show-on-mobile",3,"href","title"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&e.DNE(0,Ac,13,8,"div",1)(1,Uc,1,1,"ng-template",null,0,e.C5r),2&i&&e.Y8G("ngIf",o.content.downloadLink.value&&o.content.downloadLink.visibility)},dependencies:[l.bT,l.T3,y.W,At],styles:["@media (max-width: 1144px){.report-component[_ng
1content-%COMP%]{padding:0 1.5rem}}.report-component[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .report-component[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .report-component[_ngcontent-%COMP%] .preview-container[_ngcontent-%COMP%]{margin-bottom:2rem}.report-component[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .report-component[_ngcontent-%COMP%] .gold-button[_ngcontent-%COMP%]{margin-bottom:0}@media (max-width: 480px){.report-component[_ngcontent-%COMP%] .gold-button[_ngcontent-%COMP%]{margin-bottom:2rem}}.preview-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#4d4d4d}@media (max-width: 480px){.preview-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0}}"],changeDetection:0})}}return n})();function zc(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",12),e.EFF(2),e.k0s(),e.j41(3,"div",13),e.EFF(4),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.content.cimiFTSEindex.label," "),e.R7$(2),e.JRh(t.content.cimiFTSEindex.value)}}function Hc(n,r){1&n&&e.eu8(0)}function Wc(n,r){if(1&n&&(e.j41(0,"div",9),e.DNE(1,zc,5,2,"ng-container",10)(2,Hc,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(14);e.R7$(),e.Y8G("ngIf",!t.content.cimiFTSEindex.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.cimiFTSEindex)}}function Jc(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",12),e.EFF(2),e.k0s(),e.j41(3,"div",13),e.EFF(4),e.nI1(5,"customnumber"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.content.cimiMarketcap.label," "),e.R7$(2),e.JRh(e.bMT(5,2,t.content.cimiMarketcap.value))}}function Kc(n,r){1&n&&e.eu8(0)}function Qc(n,r){if(1&n&&(e.j41(0,"div",14),e.DNE(1,Jc,6,4,"ng-container",10)(2,Kc,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(14);e.R7$(),e.Y8G("ngIf",!t.content.cimiMarketcap.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.cimiMarketcap)}}function Zc(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",12),e.EFF(2),e.k0s(),e.j41(3,"div",13),e.EFF(4),e.nI1(5,"customdate"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.content.cimiListingAdmission.label," "),e.R7$(2),e.SpI("",e.i5U(5,2,t.content.cimiListingAdmission.value,"long")," ")}}function ep(n,r){1&n&&e.eu8(0)}function tp(n,r){if(1&n&&(e.j41(0,"div",14),e.DNE(1,Zc,6,5,"ng-container",10)(2,ep,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(14);e.R7$(),e.Y8G("ngIf",!t.content.cimiListingAdmission.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.cimiListingAdmission)}}function np(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",12),e.EFF(2),e.k0s(),e.j41(3,"div",13),e.EFF(4),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.content.cimiMarket.label," "),e.R7$(2),e.JRh(t.content.cimiMarket.value)}}function ip(n,r){1&n&&e.eu8(0)}function op(n,r){if(1&n&&(e.j41(0,"div",14),e.DNE(1,np,5,2,"ng-container",10)(2,ip,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(14);e.R7$(),e.Y8G("ngIf",!t.content.cimiMarket.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.cimiMarket)}}function rp(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",12),e.EFF(2),e.k0s(),e.j41(3,"div",13),e.EFF(4),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.content.cimiListingCategory.label," "),e.R7$(2),e.JRh(t.content.cimiListingCategory.value)}}function ap(n,r){1&n&&e.eu8(0)}function sp(n,r){if(1&n&&(e.j41(0,"div",14),e.DNE(1,rp,5,2,"ng-container",10)(2,ap,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(14);e.R7$(),e.Y8G("ngIf",!t.content.cimiListingCategory.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.cimiListingCategory)}}function lp(n,r){if(1&n&&e.nrm(0,"app-hide-field",16),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function cp(n,r){1&n&&e.DNE(0,lp,1,1,"app-hide-field",15),2&n&&e.Y8G("ngIf",r.errorText)}let ki=(()=>{class n extends O.R{constructor(){super()}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-company-index-market-info"]],inputs:{content:"content"},features:[e.Vt3],decls:15,vars:9,consts:[["emptyvalue",""],["id","company-index-market-info",1,"company-index-market-info","component","wrapper","x-large-width","x-large-width-padding","gtm-track-component"],[1,"component-header"],[1,"regular-font-size","section-title"],[3,"whatsThisLink","whatsThisText"],[1,"flex-wrapper","spaced-flex-container"],["class","full-width flex-filler index-item",4,"ngIf"],["class","index-item",4,"ngIf"],[1,"company-index-market-footer","small-font-size"],[1,"full-width","flex-filler","index-item"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"more-on-this"],[1,"bold-font-weight","regular-font-size"],[1,"index-item"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"div",1)(1,"div",2)(2,"h3",3),e.EFF(3),e.k0s(),e.nrm(4,"app-whats-this",4),e.k0s(),e.j41(5,"div",5),e.DNE(6,Wc,3,3,"div",6)(7,Qc,3,3,"div",7)(8,tp,3,3,"div",7)(9,op,3,3,"div",7)(10,sp,3,3,"div",7),e.k0s(),e.j41(11,"div",8),e.
1EFF(12),e.k0s()(),e.DNE(13,cp,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.R7$(3),e.SpI(" ",o.content.title.value," "),e.R7$(),e.Y8G("whatsThisLink",o.content.whatsThisLink)("whatsThisText",o.content.whatsThisText),e.R7$(2),e.Y8G("ngIf",o.content.cimiFTSEindex.visibility),e.R7$(),e.Y8G("ngIf",o.content.cimiMarketcap.visibility),e.R7$(),e.Y8G("ngIf",o.content.cimiListingAdmission.visibility),e.R7$(),e.Y8G("ngIf",o.content.cimiMarket.visibility),e.R7$(),e.Y8G("ngIf",o.content.cimiListingCategory.visibility),e.R7$(2),e.SpI(" ",o.content.footNote.value," "))},dependencies:[l.bT,l.T3,y.W,ae,ee.p,U.W],styles:[".company-index-market-footer[_ngcontent-%COMP%]{color:#999}.index-item[_ngcontent-%COMP%]{width:49%}"],changeDetection:0})}}return n})();var pp=p(23427),qt=p(92764),Ut=p(66845);function mp(n,r){if(1&n&&(e.j41(0,"div",5),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.itemValue||t.item.value)}}function _p(n,r){if(1&n&&(e.j41(0,"div",5)(1,"a",6),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("href",t.itemUrl,e.B4B),e.R7$(),e.JRh(t.itemValue||t.item.value)}}
1function dp(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",3),e.EFF(2),e.k0s(),e.DNE(3,mp,2,1,"div",4)(4,_p,3,2,"div",4),e.bVm()),2&n){const t=e.XpG();e.R7$(2),e.SpI(" ",t.item.label," "),e.R7$(),e.Y8G("ngIf",!t.itemUrl),e.R7$(),e.Y8G("ngIf",t.itemUrl)}}function up(n,r){1&n&&e.eu8(0)}function gp(n,r){if(1&n&&e.nrm(0,"app-hide-field",8),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function hp(n,r){1&n&&e.DNE(0,gp,1,1,"app-hide-field",7),2&n&&e.Y8G("ngIf",r.errorText)}let zt=(()=>{class n{constructor(){this.classes="index-item"}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-index-item"]],hostVars:2,hostBindings:function(i,o){2&i&&e.HbH(o.classes)},inputs:{item:"item",itemValue:"itemValue",itemUrl:"itemUrl"},decls:4,vars:3,consts:[["emptyvalue",""],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"more-on-this"],["class","bold-font-weight regular-font-size",4,"ngIf"],[1,"bold-font-weight","regular-font-size"],[3,"href"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i&&e.DNE(0,dp,5,3,"ng-container",1)(1,up,1,0,"ng-container",2)(2,hp,1,1,"ng-template",null,0,e.C5r),2&i){const a=e.sdS(3);e.Y8G("ngIf",o.item&&!o.item.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",o.item)}},dependencies:[l.bT,l.T3,y.W],changeDetection:0})}}return n})();function fp(n,r){if(1&n&&e.nrm(0,"app-index-item",14),2&n){const t=e.XpG().$implicit;e.Y8G("item",null==t?null:t.item)("itemValue",t.itemValue||null)}}function vp(n,r){if(1&n&&(e.qex(0),e.DNE(1,fp,1,2,"app-index-item",13),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",(null==t.item?null:t.item.visibility)&&""!==t.itemValue)}}function bp(n,r){if(1&n&&(e.j41(0,"div",7)(1,"div",8)(2,"h3",9),e.EFF(3),e.k0s(),e.nrm(4,"app-whats-this",10),e.k0s(),e.j41(5,"div",11),e.DNE(6,vp,2,1,"ng-container",12),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(3),e.SpI(" ",t.content.tableOneLabel.value," "),e.R7$(),e.Y8G("whatsThisLink",t.content.whatsThisLinkOne)("whatsThisText",t.content.whatsThisLabelOne),e.R7$(2),e.Y8G("ngForOf",t.priceInfo)}}function Cp(n,r){if(1&n&&(e.j41(0,"div",15),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.content.legalTextOne.value," ")}}function Tp(n,r){if(1&n&&(e.qex(0),e.DNE(1,bp,7,4,"div",6)(2,Cp,2,1,"div",4),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.priceInfo),e.R7$(),e.Y8G("ngIf",t.priceInfo)}}function xp(n,r){if(1&n&&e.nrm(0,"app-index-item",14),2&n){const t=e.XpG().$implicit;e.Y8G("item",null==t?null:t.item)("itemValue",t.itemValue||null)}}function kp(n,r){if(1&n&&(e.qex(0),e.DNE(1,xp,1,2,"app-index-item",13),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",(null==t||null==t.item?null:t.item.visibility)&&""!==t.itemValue)}}function yp(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-index-item",17),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("item",t.content.adviserName)("itemUrl",null==t.content.adviserUrl?null:t.content.adviserUrl.value)}}function wp(n,r){if(1&n&&(e.j41(0,"div",16)(1,"div",8)(2,"h3",9),e.EFF(3),e.k0s(),e.nrm(4,"app-whats-this",10),e.k0s(),e.j41(5,"div",11),e.DNE(6,kp,2,1,"ng-container",12)(7,yp,2,2,"ng-container",1),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.content.tableTwoLabel.value," "),e.R7$(),e.Y8G("whatsThisLink",t.content.whatsThisLinkTwo)("whatsThisText",t.content.whatsThisLabelTwo),e.R7$(2),e.Y8G("ngForOf",t.instrumentInfo),e.R7$(),e.Y8G("ngIf",(null==t.content.adviserName?null:t.content.adviserName.value)&&(null==t.content.adviserName?null:t.content.adviserName.visibility))}}function Ip(n,r){if(1&n&&(e.j41(0,"div",15),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.legalTextTwo.value," ")}}function Mp(n,r){if(1&n&&(e.j41(0,"tr",26)(1,"td",27),e.EFF(2),e.k0s(),e.j41(3,"td",27),e.EFF(4),e.k0s(),e.j41(5,"td",27),e.EFF(6),e.nI1(7,"customnumber"),e.k0s()()),2&n){const t=r.$implicit,i=r.index;e.R7$(2),e.JRh(i+1),e.R7$(2),e.JRh(t.name||"-"),e.R7$(2),e.SpI(" ",e.bMT(7,3,t.value)||"-"," ")}}function Op(n,r){if(1&n&&(e.j41(0,"div",18)(1,"div",19)(2,"div",20),e.EFF(3),e.k0s(),e.j41(4,"div",21),e.EFF(5),e.nI1(6,"customdate"),e.k0s()(),e.j41(7,"table",22)(8,"thead")(9,"tr",23)(10,"th",24),e.EFF(11),e.k0s(),e.j41(12,"th",24),e.EFF(13),e.k0s(),e.j41(14,"th",24),e.EFF(15),e.k0s()()(),e.j41(16,"tbody"),e.DNE(17,Mp,8,5,"tr",25),e.k0s()()()),2&n){const t=e.XpG(2);e.R7$(3),e.JRh(t.topHoldings.label),e.R7$(2),e.Lme("",t.content.topHoldingsDate.label," ",e.i5U(6,7,t.content.topHoldingsDate.value,"long"),""),e.R7$(6),e.SpI(" ","Rank"," "),e.R7$(2),e.SpI(" ","Name"," "),e.R7$(2),e.SpI(" ","% Weight"," "),e.R7$(2),e.Y8G("ngForOf",t.topHoldings.value)}}function Rp(n,r){if(1&n&&e.nrm(0,"app-hide-field",29),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function Fp(n,r){1&n&&e.DNE(0,Rp,1,1,"app-hide-field",28),2&n&&e.Y8G("ngIf",r.errorText)}function Pp(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",2),e.DNE(2,Tp,3,2,"ng-container",1)(3,wp,8,5,"div",3)(4,Ip,2,1,"div",4)(5,Op,18,10,"div",5),e.k0s(),e.DNE(6,Fp,1,1,"ng-template",null,0,e.C5r),e.bVm()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf","instrument_only"!==(null==t.meta?null:t.meta.viewMode)),e.R7$(),e.Y8G("ngIf",t.instrumentInfo),e.R7$(),e.Y8G("ngIf",t.instrumentInfo),e.R7$(),e.Y8G("ngIf",t.isEtp&&!!t.topHoldings.visibility)}}let yi=(()=>{class n{set content(t){this._content!==t&&(this._content=t,this.populateInstrumentsByCategory())}get content(){return this._content}constructor(t,i,o,a,s,c,d){this.platformId=t,this.refreshService=i,this.customnumber=o,this.customdate=a,this.customcurrency=s,this.store=c,this.chartMdrService=d,this.topHoldings=[],this.meta||(this.meta={viewM
1ode:"full"})}ngOnChanges(){this.subscription=this.chartMdrService.fundProperties$.subscribe(t=>{this.isFund=t?.type.value===qt.g.FUND,this.isEtp=t?.type.value===qt.g.ETP,this.topHoldings=t?.topHoldings;const i=this.content.instrumentCategory.value;this.content={...this._content,navCurrency:this.getnavCurrency(t,i,this.isFund,this.isEtp),nav:this.getNav(t,i,this.isFund,this.isEtp),navDate:this.getNavDate(t,i,this.isFund,this.isEtp),discountPremium:this.getDiscountPremium(t,i,this.isFund,this.isEtp),totalAssets:this.getTotalAssets(t,this.isFund),aicSector:this.getAicSector(t,this.isFund),managementGroup:this.getManagementGroup(t,this.isFund),dividend:this.getDivident(t,i,this.isFund,this.isEtp),aum:this.getAum(t),totalExpenseRatio:this.getTotalExpenseRatio(t),managementApproach:this.getManagementApproach(t),incomeDistribution:this.getIncomeDistribution(t),annualCharge:this.getAnnualCharge(t),assetType:this.getAssetType(t),assetStatus:this.getAssetStatus(t),useOfProfits:this.getUseOfProfits(t),topHoldingsDate:this.getTopHoldingsDate(t)}})}getnavCurrency(t,i,o,a){return{label:t?.navCurrency.label,value:t?.navCurrency.value,visibility:!(!a&&!o&&"ETFS"!==i||!t?.navDate.visibility)}}getUseOfProfits(t){return{label:t?.useOfProfits.label,value:t?.useOfProfits.value||"-",visibility:!!t?.useOfProfits.visibility}}getAssetStatus(t){return{label:t?.assetStatus.label,value:t?.assetStatus.value||"-",visibility:!!t?.assetStatus.visibility}}getAssetType(t){return{label:t?.assetType.label,value:t?.assetType.value||"-",visibility:!!t?.assetType.visibility}}getAnnualCharge(t){return{label:t?.annualCharge.label,value:t?.annualCharge.value||"-",visibility:!!t?.annualCharge.visibility}}getIncomeDistribution(t){return{label:t?.incomeDistribution.label,value:t?.incomeDistribution.value||"-",visibility:!!t?.incomeDistribution.visibility}}getTotalExpenseRatio(t){return{label:t?.totalExpenseRatio.label,value:t?.totalExpenseRatio.value||"-",visibility:!!t?.totalExpenseRatio.visibility}}getManagementApproach(t){return{label:t?.managementApproach.label,value:t?.managementApproach.value||"-",visibility:!!t?.managementApproach.visibility}}getAum(t){return{label:t?.aum.label,value:t?.aum.value||"-",visibility:!!t?.aum.visibility}}getDivident(t,i,o,a){return{label:t?.dividend.label,value:t?.dividend.value||"-",visibility:!(!a&&!o&&"ETFS"!==i||!t?.dividend.visibility)}}getManagementGroup(t,i){return{label:t?.managementGroup.label,value:t?.managementGroup.value||"-",visibility:!!i&&!!t?.managementGroup.visibility}}getAicSector(t,i){return{label:t?.aicSector?.label,value:t?.aicSector.value||"-",visibility:!!i&&!!t?.aicSector.visibility}}getTotalAssets(t,i){return{label:t?.totalAssets?.label,value:t?.totalAssets.value||"-",visibility:!!i&&!!t?.totalAssets.visibility}}getDiscountPremium(t,i,o,a){return{label:t?.discountPremium.label,value:t?.discountPremium.value||"-",visibility:!(!a&&!o&&"ETFS"!==i||!t?.discountPremium.visibility)}}getNavDate(t,i,o,a){return{label:t?.navDate.label?t?.navDate.label:"",value:t?.navDate.value,visibility:!(!a&&!o&&"ETFS"!==i||!t?.navDate.visibility)}}getNav(t,i,o,a){return{label:t?.nav.label?t?.nav.label:"",value:t?.nav.value,visibility:!(!a&&!o&&"ETFS"!==i||!t?.nav.visibility)}}getTopHoldingsDate(t){return{label:t?.topHoldingsDate.label,value:t?.topHoldingsDate.value||"-",visibility:!!t?.topHoldingsDate.visibility}}ngOnInit(){(0,l.UE)(this.platformId)&&(this.getInstrument(),this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content))}ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id),this.subscription?.unsubscribe()}getPriceInformationEtfs(){return this.getPriceInformation(["openPrice","previousClosePrice","volume","instrumentTurnover","fiftyTwoWeekRange","nav","discountPremium","totalMarketVolume"])}populateInstrumentsByCategory(){const t=this.content.instrumentCategory.value;if(t)switch(t){case"EQUITY":this.priceInfo=this.getPriceInformationEquity(),this.instrumentInfo=this.getInstrumentInformationEquity();break;case"ETFS":this.priceInfo=this.getPriceInformationEtfs(),this.instrumentInfo=this.getInstrumentInformationEtfs();break;case"BONDS":this.instrumentInfo=this.getInstrumentInformationBonds();break;case"OTHERS":this.priceInfo=this.getPriceInformationOthers(),this.instrumentInfo=this.getInstrumentInformationOthers()}}getPriceInformationEquity(){return this.getPriceInformation(["openPrice","previousClosePrice","volume","instrumentTurnover","fiftyTwoWeekRange","nav","discountPremium","totalMarketVolume"])}getInstrumentInformationEquity(){return this.getInstrumentInformation(["market","instrumentMarketCap","earningsPerShare","listingDate","isin","sedol","mic","countryShareRegister","marketSegment","tradingService","totalAssets","aicSector","managementGroup","dividend","listingCategory"])}getInstrumentInformationEtfs(){return this.getInstrumentInformation(["market","isin","sedol","mic","listingDate","countryShareRegister","marketSegment","tradingService","aum","annualCharge","underlyingAssetClass","isActive","useOfProfits","totalExpenseRatio","managementApproach","incomeDistribution","listingCategory"])}getInstrumentInformationBonds(){return this.getInstrumentInformation(["market","listingAdmissionDate","instrumentMaturityDate","amountIssued","couponRate","couponType","couponFrequency","expectedNext
1CouponDate","yieldToMaturity","isin","sedol","mic","tradingService","marketSegment","totalMarketVolume","pvlbDenomination","fcaPlainVanilla"])}getPriceInformationOthers(){return this.getPriceInformation(["openPrice","previousClosePrice","totalMarketVolume"])}getInstrumentInformationOthers(){return this.getInstrumentInformation(["market","isin","sedol","mic","listingDate","marketSegment","tradingService","pvlbDenomination","fcaPlainVanilla","listingCategory"])}getPriceInformation(t){const i={openPrice:{item:this.content.openPrice,itemValue:this.customnumber.transform(this.content.openPrice.value)},previousClosePrice:{item:this.content.previousClosePrice,itemValue:this.customnumber.transform(this.content.previousClosePrice.value)+" / "+this.customdate.transform(this.content.lastclosedate.value,"long")},volume:{item:this.content.volume,itemValue:this.customnumber.transform(this.content.volume.value,null,"1.0-0")},instrumentTurnover:{item:this.content.instrumentTurnover,itemValue:this.customcurrency.transform(this.content.instrumentTurnover.value,this.content.currencyTurnover.value,!1)},fiftyTwoWeekRange:{item:this.content.fiftyTwoWeekRange,itemValue:this.customnumber.transform(this.content.fiftyTwoWeekRange.value.min)+" / "+this.customnumber.transform(this.content.fiftyTwoWeekRange.value.max)},totalMarketVolume:{item:this.content.totalMarketVolume,itemValue:this.customnumber.transform(this.content.totalMarketVolume.value,null,"1.0-0")+" / "+this.customdate.transform(this.content.tradingDate.value,"long")},nav:{item:this.setNavLabelValue(this.content.nav,this.content.navDate,this.content.navCurrency),itemValue:this.setNavFieldValue(this.content.nav,this.content.navDate,this.content.navCurrency)},discountPremium:{item:this.content.discountPremium,itemValue:`${this.content.discountPremium?.value>0?"+":""}${this.customnumber.transform(this.content.discountPremium?.value,"%",".2-2")}`}};return t.map(o=>i[o])}setNavFieldValue(t,i,o){return(t.visibility?this.customnumber.transform(t.value,null,"1.2-2"):"")+(i.visibility?(t.visibility?" / ":"")+(o.visibility?o.value:" / -")+" / "+this.customdate.transform(i?.value,"long"):i.label&&i.visibility?" / -":"")}setNavLabelValue(t,i,o){return{label:(t.visibility?t.label:"")+(i.visibility?(t.visibility?" / ":"")+(o.visibility?o.label:" / -")+" / "+i.label:i.label&&i.visibility?" / -":""),value:"-",visibility:!0}}getInstrumentInformation(t){const i={instrumentMarketCap:{item:this.content?.instrumentMarketCap,itemValue:this.customnumber.transform(this.content?.instrumentMarketCap?.value)},earningsPerShare:{item:this.content.earningsPerShare,itemValue:this.customnumber.transform(this.content?.earningsPerShare?.value)},listingDate:{item:this.content.listingDate,itemValue:this.customdate.transform(this.content?.listingDate?.value,"long")},listingCategory:{item:this.content?.listingCategory},isin:{item:this.content?.isin},sedol:{item:this.content?.sedol},mic:{item:this.content?.mic},countryShareRegister:{item:this.content?.countryShareRegister},marketSegment:{item:this.content?.marketSegment},tradingService:{item:this.content?.tradingService},listingAdmissionDate:{item:this.content?.listingAdmissionDate,itemValue:this.customdate.transform(this.content?.listingAdmissionDate.value,"long")},issueDate:{item:this.content?.issueDate,itemValue:this.customdate.transform(this.content?.issueDate.value,"long")},instrumentMaturityDate:{item:this.content.instrumentMaturityDate,itemValue:this.customdate.transform(this.content?.instrumentMaturityDate?.value,"long")},amountIssued:{item:this.content.amountIssued,itemValue:this.customnumber.transform(this.content?.amountIssued?.value)},couponRate:{item:this.content?.couponRate},couponType:{item:this.content?.couponType},couponFrequency:{item:this.content?.couponFrequency},expectedNextCouponDate:{item:this.content?.expectedNextCouponDate,itemValue:this.customdate.transform(this.content?.expectedNextCouponDate?.value,"long")},yieldToMaturity:{item:this.content?.yieldToMaturity},market:{item:this.content?.market},totalAssets:{item:this.content?.totalAssets,itemValue:this.customnumber.transform(this.content?.totalAssets?.value,null,"1.0-0")},aicSector:{item:this.content?.aicSector},managementGroup:{item:this.content?.managementGroup},dividend:{item:this.content?.dividend,itemValue:this.customnumber.transform(this.content?.dividend?.value,null,"1.2-2")},aum:{item:this.content?.aum,itemValue:this.customnumber.transform(this.content?.aum?.value,null,"1.2-2")},annualCharge:{item:this.content?.annualCharge,itemValue:this.customnumber?.transform(this.content?.annualCharge?.value,"%",".2-2")},underlyingAssetClass:{item:this.content?.assetType,itemValue:this.content?.assetType?.value},isActive:{item:this.content?.assetStatus,itemValue:this.content?.assetStatus?.value},useOfProfits:{item:this._content?.useOfProfits,itemValue:this._content?.useOfProfits?.value},totalExpenseRatio:{item:this.content?.totalExpenseRatio,itemValue:this.content?.totalExpenseRatio?.value},managementApproach:{item:this.content?.managementApproach,itemValue:this.content?.managementApproach?.value},incomeDistribution:{item:this.content?.incomeDistribution,itemValue:this.content?.incomeDistribution?.value},totalMarketVolume:{item:this.content.totalMarketVolume,itemValue:this.customnumber.transform(this.content.totalMarketVolume.value,null,"1.0-0")+" / "+this.customdate.transform(this.content.tradingDate.value,"long")},pvlbDenomination:{item:this.content.pvlbDenomination,itemValue:this.customnumber.transform(this.content.pvlbDenomination.value,
1null,"1.0-0")},fcaPlainVanilla:{item:this.content.fcaPlainVanilla,itemValue:this.content.fcaPlainVanilla.value}};return t.map(o=>i[o])}getInstrument(){this.instrument$=this.store.pipe((0,u.Lt)(h.Ik),(0,W.p)(t=>!!t),(0,f.s)(1),(0,A.T)(t=>({type:t.instrumenttype.value,tidm:t?.tidm?.value})))}showComponent(t){return"instrument_only"!==t||"EQUITY"===this.content.instrumentCategory.value}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw),e.rXU(j.W),e.rXU(ee.p),e.rXU(U.W),e.rXU(Ut.X),e.rXU(u.il),e.rXU(pp.j))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-chart-table"]],inputs:{id:"id",position:"position",type:"type",timestamp:"timestamp",weight:"weight",staticContent:"staticContent",datatypeFields:"datatypeFields",isDataComponentAndIsAvailable:"isDataComponentAndIsAvailable",ngComponent:"ngComponent",status:"status",meta:"meta",roundel:"roundel",content:"content"},features:[e.OA$],decls:1,vars:1,consts:[["emptyvalue",""],[4,"ngIf"],["id","chart-table",1,"chart-table","component","wrapper","x-large-width","x-large-width-padding","component-refresh","gtm-track-component"],["class","chart-table-instrument-information",4,"ngIf"],["class","chart-table-footer small-font-size",4,"ngIf"],["class","regular-width",4,"ngIf"],["class","chart-table-price-information",4,"ngIf"],[1,"chart-table-price-information"],[1,"component-header"],[1,"regular-font-size","section-title"],[3,"whatsThisLink","whatsThisText"],[1,"flex-wrapper"],[4,"ngFor","ngForOf"],[3,"item","itemValue",4,"ngIf"],[3,"item","itemValue"],[1,"chart-table-footer","small-font-size"],[1,"chart-table-instrument-information"],[3,"item","itemUrl"],[1,"regular-width"],[1,"chart-table-header","base-font-size","cell-10-margin-top","d-flex","justify-content-between"],[1,"text-start"],[1,"text-end"],[1,"table"],[1,"table-header","hide-on-portrait"],[1,"price","table-information","cell-font-size-15px"],["class","price table-information",4,"ngFor","ngForOf"],[1,"price","table-information"],[1,"cell-font-size-15px"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&e.DNE(0,Pp,8,4,"ng-container",1),2&i&&e.Y8G("ngIf",o.showComponent(null==o.meta?null:o.meta.viewMode))},dependencies:[l.Sq,l.bT,y.W,zt,ae,ee.p,U.W],styles:['[_nghost-%COMP%] form.form-inline.v-widget-control-bar>div.sigdev-select{display:none!important}[_nghost-%COMP%] div.v-widget-sigdev-select{display:none}.widget-error-message-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-single-select[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{right:.625rem}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-input-checkbox[_ngcontent-%COMP%] .custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked:not(:disabled) ~ .custom-control-label[_ngcontent-%COMP%]:after{background-image:none!important}.theme--lse[_ngcontent-%COMP%]{--chart-color-0: #001eff !important;--dropdown-button-active-color: #001eff !important;--datepicker-bg-hover: #001eff !important;--dropdown-link-bg-hover: #001eff !important}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-highcharts--styled[_ngcontent-%COMP%] path.highcharts-point[_ngcontent-%COMP%]{stroke-width:1px}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .dropdown-item.active[_ngcontent-%COMP%] .dropdown-option-text[_ngcontent-%COMP%]{color:#fff}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-control-bar[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:hover, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-control-bar[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:focus{--dropdown-button-bg-hover: #001eff}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-control-bar[_ngcontent-%COMP%] .dropdown.show[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]{--dropdown-button-bg-active: #001eff}.highcharts-tooltip[_ngcontent-%COMP%] span.ric-name-wrapper[_ngcontent-%COMP%]{margin-top:-.5rem}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .w-advanced-chart-widget[_ngcontent-%COMP%] .v-highcharts[_ngcontent-%COMP%] .highstock-container[_ngcontent-%COMP%]{--chart-color-volume-down: #7e1b1b;
1--chart-color-psar-short: #7e1b1b;--chart-candlestick-negative: #7e1b1b;--chart-ohlc-negative: #7e1b1b;--chart-table-bar-negative-color: #7e1b1b}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-highcharts.v-highcharts--styled[_ngcontent-%COMP%] .highstock-container[_ngcontent-%COMP%] #gradient-0[_ngcontent-%COMP%] stop[_ngcontent-%COMP%]{--chart-series-color-0: rgba(22,124,244,.8)}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-highcharts.v-highcharts--styled[_ngcontent-%COMP%] .highstock-container[_ngcontent-%COMP%] #gradient-0[_ngcontent-%COMP%] stop[offset="0"][_ngcontent-%COMP%]{--chart-stop-opacity-0: .8}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-highcharts.v-highcharts--styled[_ngcontent-%COMP%] .highstock-container[_ngcontent-%COMP%] #gradient-0[_ngcontent-%COMP%] stop[offset="1"][_ngcontent-%COMP%]{--chart-stop-opacity-1:.3}[_ngcontent-%COMP%]:focus-visible{outline:0}.highcharts-label.highcharts-tooltip-box.align-left.highcharts-tooltip-box.highcharts-color-0[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{left:1px!important;top:1px!important}*[_ngcontent-%COMP%]{--input-border-color-focus: #001eff !important;--multi-select-badge-bg: #001eff !important}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-multiselect.v-form-tags__container[_ngcontent-%COMP%]{background-color:transparent!important}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-input-date-range[_ngcontent-%COMP%] .v-widget-input-date[_ngcontent-%COMP%] .v-date-time-picker[_ngcontent-%COMP%] .b-form-datepicker[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .b-calendar[_ngcontent-%COMP%] .b-calendar-grid[_ngcontent-%COMP%] .b-calendar-grid-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.disabled).focus, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-input-date-range[_ngcontent-%COMP%] .v-widget-input-date[_ngcontent-%COMP%] .v-date-time-picker[_ngcontent-%COMP%] .b-form-datepicker[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .b-calendar[_ngcontent-%COMP%] .b-calendar-grid[_ngcontent-%COMP%] .b-calendar-grid-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.disabled):focus, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-input-date-range[_ngcontent-%COMP%] .v-widget-input-date[_ngcontent-%COMP%] .v-date-time-picker[_ngcontent-%COMP%] .b-form-datepicker[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .b-calendar[_ngcontent-%COMP%] .b-calendar-grid[_ngcontent-%COMP%] .b-calendar-grid-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.disabled):hover{color:var(--datepicker-color-hover)!important}.chart-table-header[_ngcontent-%COMP%]{color:#999}.chart-table-footer[_ngcontent-%COMP%]{color:#999;margin-bottom:1rem}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{padding-top:.75rem;padding-bottom:.75rem;vertical-align:middle}td[_ngcontent-%COMP%]{padding-bottom:0}table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#e6e6e6}'],changeDetection:0})}}return n})();var ne=p(72510);function Gp(n,r){if(1&n&&(e.j41(0,"ng-option",17),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.Y8G("value",t.value),e.R7$(),e.SpI(" ",t.label," ")}}function Sp(n,r){if(1&n&&(e.j41(0,"th",18),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.SpI(" ",t.label," ")}}function $p(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.value," ")}}function Ep(n,r){if(1&n&&(e.j41(0,"td",19),e.DNE(1,$p,2,1,"span",20),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.visibility)}}function Dp(n,r){if(1&n&&(e.j41(0,"th",18),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.SpI(" ",t.label," ")}}function jp(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.value)}}function Np(n,r){if(1&n&&(e.j41(0,"td",19),e.DNE(1,jp,2,1,"span",20),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.visibility)}}function Yp(n,r){if(1&n){const t=e.RV6();e.j41(0,"section",1)(1,"div",2)(2,"div",3)(3,"form",4)(4,"div",5)(5,"ng-select",6),e.bIt("change",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.onChange(o))}),e.DNE(6,Gp,2,2,"ng-option",7),e.k0s()()(),e.j41(7,"div",3)(8,"div",8)(9,"div",9)(10,"h2"),e.EFF(11),e.k0s()(),e.nrm(12,"app-whats-this",10),e.k0s()()()(),e.j41(13,"div",11)(14,"table",12)(15,"thead")(16,"tr",13),e.DNE(17,Sp,2,1,"th",14),e.k0s()(),e.j41(18,"tbody")(19,"tr",15),e.DNE(20,Ep,2,1,"td",16),e.k0s()()()(),e.j41(21,"div",2)(22,"div",3)(23,"div",8)(24,"div",9)(25,"h2"),e.EFF(26),e.k0s()(),e.nrm(27,"app-whats-this",10),e.k0s()()(),e.j41(28,"div",3)(29,"table",12)(30,"thead")(31,"tr",13),e.DNE(32,Dp,2,1,"th",14),e.k0s()(),e.j41(33,"tbody")(34,"tr",15),e.DNE(35,Np,2,1,"td",16),e.k0s()()()()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("formGroup",t.filtersForm),e.R7$(2),e.Y8G("searchable",!1)("clearable",!1),e.R7$(),e.Y8G("ngForOf",t.performanceDropdownOptions),e.R7$(5),e.JRh(t.title),e.R7$(),e.Y8G("whatsThisLink",t.whatsThisLink)("whatsThisText",t.whatsThisText),e.R7$(5),e.Y8G("ngForOf",t.performanceTableInfo),e.R7$(3),e.Y8G("ngForOf",t.performanceTableInfo),e.R7$(6),e.JRh(t.discreteTitle),e.R7$(),e.Y8G("whatsThisLink",t.whatsThisLink)("whatsThisText",t.whatsThisText),e.R7$(5),e.Y8G("ngForOf",t.annualPerformanceData),e.R7$(3),e.Y8G("ngForOf",t.annualPerformanceData)}}let wi=(()=>{class n{constructor(t,i,o,a,s){this.store=t,this.refreshService=i,this.platformId=o,this.customDate=a,this.fb=s,this.title="Performance %",this.discreteTitle="Discrete annual performance (%)",this.performanceDropdownOptions=[],this.annualPerformanceData=[],this.performanceTableInfo=[],this.whatsThisText={visibility:!0,value:"What's this?"},this.whatsThisLink={visibility:!0,value:"https://www.londonstockexchange.com/help/performance-and-ch
1arges"}}createForm(){this.filtersForm=this.fb.group({performanceDropdown:[0]})}ngOnChanges(){this.performanceData=this.content}ngOnInit(){(0,l.UE)(this.platformId)&&(this.performanceDropdownOptions=this.getDropdownOptions(),this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content,this.status),this.store.pipe((0,u.Lt)(h.h1),(0,W.p)(o=>!!o),(0,f.s)(1)).subscribe(o=>{this.lastCloseDate=o.lastclosedate}),this.store.pipe((0,u.Lt)(h.p8),(0,W.p)(o=>!!o),(0,f.s)(1)).subscribe(o=>{o&&(this.pageTitle=o),this.annualPerformanceData=this.getAnnualPerformanceData();const{ytdPerformanceToLastDay:a,threeYearPerformanceToLastDay:s,fiveYearPerformanceToLastDay:c,tenYearPerformanceToLastDay:d}=this.performanceData;this.performanceTableInfo=this.getPerformanceData(a,s,c,d),this.createForm()}))}ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id),this.subscription?.unsubscribe()}getDropdownOptions(){return[{value:0,label:"To last date"},{value:1,label:"To last weekend"},{value:2,label:"To last month end"}]}substractYearFromDate(t){const i=new Date;return this.customDate.transform(Q()(i).subtract(t,"y"),"short-year")}getAnnualPerformanceTitle(t,i){const o=new Date(this.lastCloseDate),a=o.getDate(),s=o.getMonth()+1;return(a<10?"0"+a:a)+"."+(s<10?"0"+s:s)+"/"+this.substractYearFromDate(t)+"-"+this.substractYearFromDate(i)}getPerformanceData(t,i,o,a){return[{value:this.pageTitle,label:" ",visibility:!0},{value:"Share price total return",label:"Return type",visibility:!0},{value:t?.value||"-",label:t.label,visibility:t?.visibility},{value:i?.value||"-",label:i?.label,visibility:i?.visibility},{value:o?.value||"-",label:o?.label,visibility:o?.visibility},{value:a?.value||"-",label:a?.label,visibility:a?.visibility}]}getAnnualPerformanceData(){return[{value:this.pageTitle,label:" ",visibility:!0},{value:"Share price total return",label:"Return type",visibility:!0},{value:this.performanceData?.latestYearMinus5Performance.value||"-",label:this.getAnnualPerformanceTitle(5,4),visibility:this.performanceData?.latestYearMinus5Performance.visibility},{value:this.performanceData?.latestYearMinus4Performance.value||"-",label:this.getAnnualPerformanceTitle(4,3),visibility:this.performanceData?.latestYearMinus4Performance.visibility},{value:this.performanceData.latestYearMinus3Performance.value||"-",label:this.getAnnualPerformanceTitle(3,2),visibility:this.performanceData.latestYearMinus3Performance.visibility},{value:this.performanceData?.latestYearMinus2Performance?.value||"-",label:this.getAnnualPerformanceTitle(2,1),visibility:this.performanceData?.latestYearMinus2Performance.visibility},{value:this.performanceData?.latestYearMinus1Performance?.value||"-",label:this.getAnnualPerformanceTitle(1,0),visibility:this.performanceData?.latestYearMinus1Performance.visibility}]}onChange(t){const{ytdPerformanceToLastDay:i,threeYearPerformanceToLastDay:o,fiveYearPerformanceToLastDay:a,tenYearPerformanceToLastDay:s}=this.performanceData;switch(t){case 0:this.performanceTableInfo=this.getPerformanceData(i,o,a,s);break;case 1:{const{ytdPerformanceToLastWeekEnd:c,threeYearPerformanceToLastWeekEnd:d,fiveYearPerformanceToLastWeekEnd:C,tenYearPerformanceToLastWeekEnd:T}=this.performanceData;this.performanceTableInfo=this.getPerformanceData(c,d,C,T);break}case 2:{const{ytdPerformanceToLastMonthEnd:c,threeYearPerformanceToLastMonthEnd:d,fiveYearPerformanceToLastMonthEnd:C,tenYearPerformanceToLastMonthEnd:T}=this.performanceData;this.performanceTableInfo=this.getPerformanceData(c,d,C,T);break}}}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(u.il),e.rXU(j.W),e.rXU(e.Agw),e.rXU(U.W),e.rXU(g.ok))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-performance-table"]],inputs:{content:"content",id:"id",position:"position",type:"type",status:"status"},features:[e.OA$],decls:1,vars:1,consts:[["id","news-carousel","class","component full-width news-carousel-component gtm-track-component component-wrapper","xmlns","http://www.w3.org/1999/html",4,"ngIf"],["id","news-carousel","xmlns","http://www.w3.org/1999/html",1,"component","full-width","news-carousel-component","gtm-track-component","component-wrapper"],[1,"news-carousel-header"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"form-inline","small-font-size","form-group-dropdown",2,"float","right",3,"formGroup"],[1,"flex-wrapper","flex-align-en
1d","spaced-flex-container"],["formControlName","performanceDropdown","id","performanceDropdown","name","performanceDropdown",1,"form-control","form-select",3,"change","searchable","clearable"],[3,"value",4,"ngFor","ngForOf"],[1,"flex-wrapper","flex-align-baseline"],[1,"title","cell-15-margin-bottom"],[3,"whatsThisLink","whatsThisText"],[1,"wrapper","x-large-width","x-large-width-padding","performance-table-wrapper"],[1,"full-width","table"],[1,"table-header","hide-on-portrait"],["class","price table-information cell-font-size-10px",4,"ngFor","ngForOf"],[1,"hide-on-portrait"],["class","price table-information",4,"ngFor","ngForOf"],[3,"value"],[1,"price","table-information","cell-font-size-10px"],[1,"price","table-information"],[4,"ngIf"]],template:function(i,o){1&i&&e.DNE(0,Yp,36,14,"section",0),2&i&&e.Y8G("ngIf",o.content)},dependencies:[l.Sq,l.bT,g.qT,g.BC,g.cb,g.j4,g.JD,ne.vr,ne.xt,ae],styles:[".chart-wrapper[_ngcontent-%COMP%]{margin-bottom:1rem}.price-chart-container[_ngcontent-%COMP%]{margin:0 auto}.table-information[_ngcontent-%COMP%]:first-child{width:300px}.table-information[_ngcontent-%COMP%]:last-child{width:150px}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{padding-top:.75rem;padding-bottom:.75rem}td[_ngcontent-%COMP%]{padding-bottom:0;font-size:10px}td[_ngcontent-%COMP%]:first-child{font-weight:700;font-size:12px}.component-wrapper[_ngcontent-%COMP%]{margin-top:50px;margin-bottom:10%}.performance-table-wrapper[_ngcontent-%COMP%]{margin-bottom:70px}.form-group-dropdown[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{position:relative;width:16rem!important;z-index:2;margin-bottom:1.8rem}"],changeDetection:0})}}return n})();function Xp(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.content.mediaLabel.value," ")}}function Bp(n,r){1&n&&e.eu8(0)}function Vp(n,r){if(1&n&&(e.j41(0,"h3",8),e.DNE(1,Xp,2,1,"ng-container",7)(2,Bp,1,0,"ng-container",9),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(5);e.R7$(),e.Y8G("ngIf",!t.content.mediaLabel.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.mediaLabel)}}function Lp(n,r){if(1&n&&(e.j41(0,"div",15),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.city)}}function Ap(n,r){if(1&n&&(e.j41(0,"div",16)(1,"span",17)(2,"a",18),e.EFF(3),e.k0s()()()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.Mz_("href","tel:",t.telephone,"",e.B4B),e.R7$(),e.JRh(t.telephone)}}function qp(n,r){if(1&n&&(e.j41(0,"div",19)(1,"a",18),e.EFF(2),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Mz_("href","mailto:",t.email,"",e.B4B),e.R7$(),e.JRh(t.email)}}function Up(n,r){if(1&n&&(e.j41(0,"div",11),e.DNE(1,Lp,2,1,"div",12)(2,Ap,4,3,"div",13)(3,qp,3,3,"div",14),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.city),e.R7$(),e.Y8G("ngIf",t.telephone),e.R7$(),e.Y8G("ngIf",t.email)}}function zp(n,r){if(1&n&&(e.qex(0),e.DNE(1,Up,4,3,"div",10),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.content.mediaContacts.value)}}function Hp(n,r){1&n&&e.eu8(0)}function Wp(n,r){if(1&n&&(e.qex(0),e.DNE(1,zp,2,1,"ng-container",7)(2,Hp,1,0,"ng-container",9),e.bVm()),2&n){const t=e.XpG(2),i=e.sdS(5);e.R7$(),e.Y8G("ngIf",!t.content.mediaContacts.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.mediaContacts)}}function Jp(n,r){if(1&n&&(e.j41(0,"div",5),e.DNE(1,Vp,3,3,"h3",6)(2,Wp,3,3,"ng-container",7),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.content.mediaLabel.visibility),e.R7$(),e.Y8G("ngIf",t.content.mediaContacts.visibility)}}function Kp(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.content.investorLabel.value," ")}}function Qp(n,r){1&n&&e.eu8(0)}function Zp(n,r){if(1&n&&(e.j41(0,"h3",8),e.DNE(1,Kp,2,1,"ng-container",7)(2,Qp,1,0,"ng-container",9),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(5);e.R7$(),e.Y8G("ngIf",!t.content.investorLabel.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.investorLabel)}}function em(n,r){if(1&n&&(e.j41(0,"div",15),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.city)}}function tm(n,r){if(1&n&&(e.j41(0,"div",16)(1,"span",17)(2,"a",18),e.EFF(3),e.k0s()()()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.Mz_("href","tel:",t.telephone,"",e.B4B),e.R7$(),e.JRh(t.telephone)}}function nm(n,r){if(1&n&&(e.j41(0,"div",19)(1,"a",18),e.EFF(2),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Mz_("href","mailto:",t.email,"",e.B4B),e.R7$(),e.JRh(t.email)}}function im(n,r){if(1&n&&(e.j41(0,"div",22),e.DNE(1,em,2,1,"div",12)(2,tm,4,3,"div",13)(3,nm,3,3,"div",14),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.city),e.R7$(),e.Y8G("ngIf",t.telephone),e.R7$(),e.Y8G("ngIf",t.email)}}function om(n,r){if(1&n&&(e.qex(0),e.DNE(1,im,4,3,"div",21),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.content.investorContacts.value)}}function rm(n,r){1&n&&e.eu8(0)}function am(n,r){if(1&n&&(e.qex(0),e.DNE(1,om,2,1,"ng-container",7)(2,rm,1,0,"ng-container",9),e.bVm()),2&n){const t=e.XpG(2),i=e.sdS(5);e.R7$(),e.Y8G("ngIf",!t.content.investorContacts.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.investorContacts)}}function sm(n,r){if(1&n&&(e.j41(0,"div",20),e.DNE(1,Zp,3,3,"h3",6)(2,am,3,3,"ng-container",7),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.content.investorLabel.visibility),e.R7$(),e.Y8G("ngIf",t.content.investorContacts.visibility)}}function lm(n,r){if(1&n&&e.nrm(0,"app-hide-field",24),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function cm(n,r){1&n&&e.DNE(0,lm,1,1,"app-hide-field",23),2&n&&e.Y8G("ngIf",r.errorText)}let Ii=(()=>{class n{constructor(){}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-contact-enquiries"]],inputs:{content:"content"},decls:6,vars:2,consts:[["emptyvalue",""],["id","contact-enquiries",1,"contact-enquiries-component","wrapper","gtm-track-component","component"],[1,"contact-enquiries-content","flex-wrapper","x-large-width","x-large-width-padding","spaced-flex-container"],["class","contact-enquiries-media regular-width",4,"ngIf"],["class","contact-enquiries-investor x-small-width",4,"ngIf"],[1,"contact-enquiries-media","regular-width"],["class","bigger-font-size",4,"ngIf"],[4,"ngIf"],[1,"bigger-font-size"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","contact-enquiries-media-contact",4,"ngFor","ngForOf"],[1,"contact-enquiries-media-contact"],["class","bold-font-weight contact-city",4,"ngIf"],["class","contact-phone",4,"ngIf"],["class","contact-email",4,"ngIf"],[1,"bold-font-weight","contact-city"],[1,"contact-phone"],["itemprop","telephone"],[3,"href"],[1,"contact-email"],[1,"contact-enquiries-investor","x-small-width"],["class","contact-enquiries-investor-contact",4,"ngFor","ngForOf"],[1,"contact-enquiries-investor-contact"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"div",1)(1,"section",2),e.DNE(2,Jp,3,2,"div",3)(3,sm,3,2,"div",4),e.k0s()(),e.DNE(4,cm,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.R7$(2),e.Y8G("ngIf",o.content.mediaLabel.visibility||o.content.mediaContacts.visibility),e.R7$(),e.Y8G("ngIf",o.content.investorLabel.visibility))},dependencies:[l.Sq,l.bT,l.T3,y.W],styles:[".contact-enquiries-content[_ngcontent-%COMP%]{margin:0 auto}.contact-enquiries-media[_ngcontent-%COMP%], .contact-enquiries-investor[_ngcontent-%COMP%]{background-color:#fafafa;color:#000;line-height:2rem;padding:2rem}.contact-enquiries-media[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .contact-enquiries-investor[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#001eff;margin:0}@media (max-width: 768px){.contact-enquiries-investor[_ngcontent-%COMP%]{margin-top:2rem}}.contact-enquiries-media-contact[_ngcontent-%COMP%]{display:inline-block;margin-top:2rem;width:50%}@media (max-width: 480px){.contact-enquiries-media-contact[_ngcontent-%COMP%]{display:block;width:100%}}.contact-enquiries-investor-contact[_ngcontent-%COMP%]{margin-top:2rem}@media (max-width: 768px){.contact-enquiries-investor-contact[_ngcontent-%COMP%]{display:inline-block;margin-top:2rem;width:50%}}@media (max-width: 480px){.contact-enquiries-investor-contact[_ngcontent-%COMP%]{display:block;width:100%}}.contact-phone[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000;text-decoration:none}@media (max-width: 480px){.contact-phone[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#001eff}.contact-phone[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#001299;text-decoration:underline}}"],changeDetection:0})}}return n})();var xn=p(92971),Be=p(71985);let pm=(()=>{class n{TWITTER_SCRIPT_ID="twitter-wjs";TWITTER_WIDGET_URL="https://platform.twitter.com/widgets.js";loadScript(){return new Be.c(t=>{this.startScriptLoad(),window.twttr.ready(i=>{t.next(i),t.complete()})})}startScriptLoad(){window.twttr=function(t,i,o,a){let s,c=t.getElementsByTagName(i)[0],d=window.twttr||{};return t.getElementById(o)||(s=t.createElement(i),s.id=o,s.src=a,c.parentNode.insertBefore(s,c),d._e=[],d.ready=function(C){d._e.push(C)}),d}(document,"script",this.TWITTER_SCRIPT_ID,this.TWITTER_WIDGET_URL)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),mm=(()=>{class n{element;twitterTimelineService;data;opts;defaultOpts={tweetLimit:5};defaultData={sourceType:"url",url:"https://twitter.com/mustafaer_dev",screenName:"Mustafa ER"};constructor(t,i){this.element=t,this.twitterTimelineService=i}ngOnChanges(){if(this.data&&this.data.sourceType){switch(this.data.sourceType){case"url":delete this.defaultData.screenName;break;case"profile":delete this.defaultData.url}this.loadTwitterWidget()}}loadTwitterWidget(){this.twitterTimelineService.loadScript().subscribe({next:()=>{let t=this.element.nativeElement;t.innerHTML="",window.twttr.widgets.createTimeline({...this.defaultData,...this.data},t,{...this.defaultOpts,...this.opts}).then(()=>{}).catch(i=>console.error(i))},error:t=>console.error(t)})}static \u0275fac=function(i){return new(i||n)(e.rXU(e.aKT),e.rXU(pm))};static \u0275cmp=e.VBU({type:n,selectors:[["angular-twitter-timeline"]],inputs:{data:"data",opts:"opts"},features:[e.OA$],decls:0,vars:0,template:function(i,o){},encapsulation:2})}return n})(),_m=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=e.$C({type:n});static \u0275inj=e.G2t({})}return n})();const dm=n=>
1({sourceType:"url",url:n}),um=()=>({tweetLimit:1});function gm(n,r){if(1&n&&(e.j41(0,"span",13),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI("From ",t.content.companyName.value,"")}}function hm(n,r){1&n&&e.eu8(0)}function fm(n,r){if(1&n&&(e.qex(0),e.DNE(1,gm,2,1,"span",11)(2,hm,1,0,"ng-container",12),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.content.companyName.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.companyName)}}function vm(n,r){1&n&&e.eu8(0)}function bm(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",14),e.nrm(2,"angular-twitter-timeline",15),e.DNE(3,vm,1,0,"ng-container",12),e.k0s(),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(2);e.R7$(2),e.Y8G("data",e.eq3(4,dm,t.content.twitterFeed.value))("opts",e.lJ4(6,um)),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.twitterFeed)}}function Cm(n,r){if(1&n&&(e.j41(0,"div",7)(1,"div",8)(2,"h3",9),e.EFF(3,"Twitter feed"),e.k0s(),e.DNE(4,fm,3,3,"ng-container",10)(5,bm,4,7,"ng-container",10),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(4),e.Y8G("ngIf",t.content.companyName.visibility),e.R7$(),e.Y8G("ngIf",t.content.twitterFeed.visibility)}}function Tm(n,r){if(1&n&&(e.j41(0,"span",13),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI("From ",t.content.companyName.value,"")}}function xm(n,r){1&n&&e.eu8(0)}function km(n,r){if(1&n&&(e.qex(0),e.DNE(1,Tm,2,1,"span",11)(2,xm,1,0,"ng-container",12),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.content.companyName.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.companyName)}}function ym(n,r){1&n&&e.eu8(0)}function wm(n,r){if(1&n&&(e.j41(0,"div",14)(1,"div",18)(2,"blockquote",19),e.nrm(3,"a",20),e.k0s()(),e.DNE(4,ym,1,0,"ng-container",12),e.k0s()),2&n){const t=e.XpG(4),i=e.sdS(2);e.R7$(),e.BMQ("data-href",t.content.facebookFeed.value)("data-width",t.fbFeedWidth),e.R7$(),e.BMQ("cite",t.content.facebookFeed.value,e.B4B),e.R7$(),e.Y8G("href",t.content.facebookFeed.value,e.B4B),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.facebookFeed)}}function Im(n,r){if(1&n&&(e.qex(0),e.DNE(1,wm,5,6,"div",17),e.nI1(2,"async"),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",e.bMT(2,1,t.socialLoaded$))}}function Mm(n,r){if(1&n&&(e.j41(0,"div",16)(1,"div",8)(2,"h3",9),e.EFF(3,"Facebook feed"),e.k0s(),e.DNE(4,km,3,3,"ng-container",10)(5,Im,3,3,"ng-container",10),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(4),e.Y8G("ngIf",t.content.companyName.visibility),e.R7$(),e.Y8G("ngIf",t.content.facebookFeed.visibility)}}function Om(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",2),e.bIt("canLoad",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.canLoad(o))}),e.j41(1,"div",3)(2,"div",4),e.DNE(3,Cm,6,2,"div",5)(4,Mm,6,2,"div",6),e.k0s()()()}if(2&n){const t=e.XpG();e.Y8G("ngStyle",t.canLoads?t.bgStyle():null),e.R7$(3),e.Y8G("ngIf",t.content.twitterFeed.value),e.R7$(),e.Y8G("ngIf",t.content.facebookFeed.value)}}function Rm(n,r){if(1&n&&e.nrm(0,"app-hide-field",22),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function Fm(n,r){1&n&&e.DNE(0,Rm,1,1,"app-hide-field",21),2&n&&e.Y8G("ngIf",r.errorText)}let Mi=(()=>{class n extends O.R{constructor(t,i,o){super(),this.doc=t,this.cdRef=i,this.store=o,this.socialLoaded$=this.store.pipe((0,u.Lt)(h.wY))}ngOnInit(){this.store.dispatch(xn._0())}ngAfterViewInit(){this.setFbDimensions()}onResize(){this.setFbDimensions()}setFbDimensions(){this.doc.querySelector(".fb-feed")&&(this.fbFeedWidth=this.doc.querySelector(".fb-feed").offsetWidth),this.cdRef.markForCheck()}bgStyle(){if(this.content.issuerBlockSocialBackgroundImage.value)return{"background-image":`url(${this.content.issuerBlockSocialBackgroundImage.value})`}}canLoad(t){return this.canLoads=t,t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(l.qQ),e.rXU(e.gRc),e.rXU(u.il))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-issuer-block-social"]],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)},inputs:{content:"content"},features:[e.Vt3],decls:3,vars:1,consts:[["emptyvalue",""],["id","issuer-block-social","class","issuer-block-social-component gtm-track-component component image-strip","appLazyBgImgLoad","",3,"ngStyle","canLoad",4,"ngIf"],["id","issuer-block-social","appLazyBgImgLoad","",1,"issuer-block-social-component","gtm-track-component","component","image-strip",3,"canLoad","ngStyle"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"flex-wrapper","spaced-flex-container"],["class","feed tw-feed",4,"ngIf"],["class","feed fb-feed",4,"ngIf"],[1,"feed","tw-feed"],[1,"panel"],[1,"bold-font-weight"],[4,"ngIf"],["class","regular-font-size from-company",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"regular-font-size","from-company"],[1,"feed-content"],[3,"data","opts"],[1,"feed","fb-feed"],["class","feed-content",4,"ngIf"],["data-tabs","timeline","data-height","600","data-small-header","true","data-adapt-container-width","true","data-hide-cover","false","data-show-facepile","false",1,"fb-page"],[1,"fb-xfbml-parse-ignore"],[3,"href"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&e.DNE(0,Om,5,3,"div",1)(1,Fm,1,1,"ng-template",null,0,e.C5r),2&i&&e.Y8G("ngIf",o.content.twitterFeed.value||o.content.facebookFeed.value)},dependencies:[l.bT,l.T3,l.B3,y.W,D.W,mm,l.Jj],styles:[".feed[_ngcontent-%COMP%]{max-width:33.25rem;width:48%}@media (max-width: 480px){.feed[_ngcontent-%COMP%]{margin-bottom:1rem;width:100%}}.feed-content[_ngcontent-%COMP%]{height:37.5rem;max-width:31.25rem;overflow-x:hidden;overflow-y:scroll;width:100%!important}.feed.fb-feed[_ngcontent-%COMP%] .feed-content[_ngcontent-%COMP%]{overflow-y:auto}.feed[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%]{height:100%;width:100%}.feed[_ngcontent-%COMP%] .from-company[_ngcontent-%COMP%]{display:block;margin-bottom:1rem}"],changeDetection:0})}}return n})();function Pm(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",8),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.selectComponent(o.moduleId))}),e.EFF(1),e.k0s()}if(2&n){const t=r.$implicit,i=e.XpG(2);e.AVh("active",i.currentId===t.moduleId),e.R7$(),e.SpI(" ",t.label," ")}}function Gm(n,r){if(1&n&&(e.j41(0,"section",2)(1,"div",3)(2,"div",4),e.EFF(3,"Select an instrument for full details."),e.k0s(),e.j41(4,"h4",5),e.EFF(5,"View by"),e.k0s()(),e.j41(6,"div",6)(7,"div",3),e.DNE(8,Pm,2,3,"div",7),e.k0s()()()),2&n){const t=e.XpG();e.R7$(8),e.Y8G("ngForOf",t.buttons)}}function Sm(n,r){if(1&n&&(e.qex(0),e.nrm(1,"ndc-dynamic",9),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ndcDynamicComponent",t.ngComponent)("ndcDynamicInputs",t)}}let Oi=(()=>{class n{constructor(t,i,o,a,s){this.refreshService=t,this.router=i,this.location=o,this.isBreakpoint=a,this.urlService=s}loadComponent(t){this.currentId!==t&&(this.currentId=t,this.refreshService.addComponents(this.id,[t],this.position))}getLinks(){if(!this.content.linkToggles.value)return null;const t=this.content.linkToggles.value,i=[...this.content.linkToggles.value],o=t.indexOf(t.find(s=>
1"Heatmap"===s.label)),a=this.isBreakpoint.mobile();return o>-1&&i.splice(o,1),this.currentId===t[o].moduleId&&a&&this.selectComponent(i[0].moduleId),a?i:t}addIdToQuery(t,i){let o="";const a=/^ftse-index-toggle=.+/g;return i&&(i.split("&").forEach(s=>{o+=a.test(s)?"":s}),o+="&"),o+`ftse-index-toggle=${t}`}selectComponent(t){const i=this.router.url,o=decodeURIComponent(i).split("?")[0],a=decodeURIComponent(i).split("?")[1]||null,s=this.addIdToQuery(t,a);this.location.go(o,s),this.newCurrentPath={path:o.replace(/^\//,""),parameters:new F.Nl({fromString:s})},this.urlService.setCurrentPath(this.newCurrentPath),this.loadComponent(t)}ngOnInit(){var t=this;return(0,_.A)(function*(){t.buttons=t.getLinks();const i=yield t.urlService.getCurrentPath().toPromise();if(t.setSelectedIndex(i),t.buttons=t.getPerIndexArray(t.buttons),t.buttons&&t.newCurrentPath!==i){const o=t.buttons.indexOf(t.buttons.find(s=>s.moduleId===i.parameters.get("ftse-index-toggle")));t.selectComponent(t.buttons[o&&o>0?o:0].moduleId)}})()}onResize(){this.buttons=this.getLinks()}getPerIndexArray(t){return t?t.filter(i=>this.getComponentVisibilityPerIndex(i.label)):null}getComponentVisibilityPerIndex(t){switch(t){case"Heatmap":return["UKX","MCX","NMX","AIM5","AIM1"].includes(this.selectedIndex.toUpperCase());case"Table":return["UKX","MCX","NMX","AIM5","AIM1","AXX","ASX","FTSEORB","FTORBFG","FTORBNFG","FTORB5OG","FTORB5UG"].includes(this.selectedIndex.toUpperCase());case"Risers and Fallers and Volume leaders":return["UKX","MCX","NMX","AIM5","AIM1","AXX","ASX"].includes(this.selectedIndex.toLocaleUpperCase());default:return!1}}setSelectedIndex(t){this.selectedIndex=t.parameters.get("code")||null}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(j.W),e.rXU(G.Ix),e.rXU(l.aZ),e.rXU(S.f),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-ftse-index-toggle"]],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)},inputs:{content:"content",position:"position",id:"id",status:"status"},decls:2,vars:2,consts:[["id","ftse-index-toggle","class","ftse-index-toggle-component gtm-track-component component",4,"ngIf"],[4,"ngFor","ngForOf"],["id","ftse-index-toggle",1,"ftse-index-toggle-component","gtm-track-component","component"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"index-intro","regular-font-size"],[1,"index-label","regular-font-size","bold-font-weight"],[1,"index-filter"],["class","interactive-outline-button gtm-trackable",3,"active","click",4,"ngFor","ngForOf"],[1,"interactive-outline-button","gtm-trackable",3,"click"],[3,"ndcDynamicComponent","ndcDynamicInputs"]],template:function(i,o){1&i&&e.DNE(0,Gm,9,1,"section",0)(1,Sm,2,2,"ng-container",1),2&i&&(e.Y8G("ngIf",o.content.linkToggles.value),e.R7$(),e.Y8G("ngForOf",o.status.childComponents))},dependencies:[l.Sq,l.bT,E.Bf,E.dE],styles:[".ftse-index-toggle-component[_ngcontent-%COMP%]{margin:0 0 1.25rem;padding-top:1.25rem}.index-intro[_ngcontent-%COMP%], .index-label[_ngcontent-%COMP%]{margin-top:3rem}.index-filter[_ngcontent-%COMP%]{height:4.25rem;padding:.75rem 0}"]})}}return n})();const Ri=n=>({errorText:n});function $m(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.tidm.value," ")}}function Em(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,$m,2,1,"ng-container",7),e.eu8(2,10),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(5);e.R7$(),e.Y8G("ngIf",!t.tidm.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ri,t.tidm.errorText))}}function Dm(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.i5U(2,1,t.percentualchange.value,"%")," ")}}function jm(n,r){if(1&n&&(e.j41(0,"span",11),e.DNE(1,Dm,3,4,"ng-container",7),e.eu8(2,10),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(5);e.R7$(),e.Y8G("ngIf",!t.percentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ri,t.percentualchange.errorText))}}function Nm(n,r){if(1&n&&(e.j41(0,"a",5),e.nI1(1,"companyUrl"),e.j41(2,"div",6),e.DNE(3,Em,3,5,"span",7)(4,jm,3,5,"span",8),e.k0s(),e.nrm(5,"div",9),e.k0s()),2&n){const t=r.$implicit,i=e.XpG();e.Y8G("ngClass",i.changeCssClass(t.netchangesign))("href",e.bMT(1,5,t),e.B4B),e.R7$(3),e.Y8G("ngIf",t.tidm.visibility),e.R7$(),e.Y8G("ngIf",t.percentualchange.visibility),e.R7$(),e.Y8G("ngClass",i.changeCssClass(t.netchangesign))}}function Ym(n,r){if(1&n&&(e.j41(0,"div",12)(1,"div",13)(2,"span",14),e.EFF(3),e.nI1(4,"customdate"),e.nI1(5,"customdate"),e.k0s(),e.EFF(6),e.k0s()()),2&n){const t=e.XpG();e.R7$(3),e.Lme("",e.i5U(4,3,t.status.refreshedTime,"short")," ",e.ii3(5,6,t.status.refreshedTime,"time","Europe/London",!0),""),e.R7$(3),e.SpI(" - ",t.content.refreshTime.value," ")}}function Xm(n,r){if(1&n&&e.nrm(0,"app-hide-field",16),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function Bm(n,r){1&n&&e.DNE(0,Xm,1,1,"app-hide-field",15),2&n&&e.Y8G("ngIf",r.errorText)}let Fi=(()=>{class n{constructor(t,i,o,a){this.doc=t,this.renderer=i,this.refreshService=o,this.cssmapping=a}ngAfterViewChecked(){const t=this.doc.querySelectorAll(".map-data").length,i=this.doc.querySelectorAll(".map-gradient.positivechange"),o=this.doc.querySelectorAll(".map-gradient.negativechange");for(let a=0;a<i.length;a++)this.renderer.setStyle(i[a],"opacity",t/i.length*(a/t));for(let a=0;a<o.length;a++)this.renderer.setStyle(o[a],"opacity",t/o.length*(a/t))}changeCssClass(t){return this.cssmapping.cssClass(t)}ngOnInit(){this.status={...this.status,params:(new F.Nl).set("size","1000")},this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content,this.status)}
1ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id)}ngOnChanges(){!0===this.status.refreshed&&!1===this.status.refreshing&&this.startAnimation()}endAnimation(){this.animation=!1}startAnimation(){this.animation=!0}statusRefreshing(){return!0===this.animation}statusRefreshed(){return!1===this.animation}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(l.qQ),e.rXU(e.sFG),e.rXU(j.W),e.rXU(b.o))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-ftse-index-heatmap"]],inputs:{content:"content",id:"id",type:"type",position:"position",status:"status"},features:[e.OA$],decls:6,vars:6,consts:[["emptyvalue",""],["id","ftse-index-heatmap",1,"ftse-index-heatmap-component","hide-on-mobile","gtm-track-component","component"],[1,"wrapper","x-large-width","x-large-width-padding","mobile-flex-wrapper","heatmap-wrapper","bold-font-weight",3,"animationend"],["class","map-instrument flex-container",3,"ngClass","href",4,"ngFor","ngForOf"],["class","wrapper x-large-width x-large-width-padding",4,"ngIf"],[1,"map-instrument","flex-container",3,"ngClass","href"],[1,"flex-container","map-data"],[4,"ngIf"],["class","change",4,"ngIf"],[1,"map-gradient",3,"ngClass"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"change"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"delay","small-font-size"],[1,"bold-font-weight"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"section",1)(1,"div",2),e.bIt("animationend",function(){return e.eBV(a),e.Njj(o.endAnimation())}),e.DNE(2,Nm,6,7,"a",3),e.k0s(),e.DNE(3,Ym,7,11,"div",4),e.k0s(),e.DNE(4,Bm,1,1,"ng-template",null,0,e.C5r)}2&i&&(e.R7$(),e.AVh("refreshing",o.statusRefreshing())("refreshed",o.statusRefreshed()),e.R7$(),e.Y8G("ngForOf",o.content.heatmapInstruments.value),e.R7$(),e.Y8G("ngIf",o.content.refreshTime.value))},dependencies:[l.YU,l.Sq,l.bT,l.T3,y.W,ee.p,U.W,ve.b],styles:['.heatmap-wrapper[_ngcontent-%COMP%]{margin-bottom:1.5rem;max-width:61.5rem}.map-instrument[_ngcontent-%COMP%]{background:#f2f2f2;box-sizing:border-box;color:#000;cursor:pointer;height:5.625rem;margin:.25rem;position:relative;text-align:center;transform-style:preserve-3d;transition-duration:.5s;transition-property:all;width:5.625rem}.map-instrument[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}.map-gradient[_ngcontent-%COMP%], .map-data[_ngcontent-%COMP%]{inset:0;position:absolute;transition-duration:.5s;transition-property:all}.map-gradient[_ngcontent-%COMP%]{opacity:0;z-index:4}.map-gradient.positivechange[_ngcontent-%COMP%]{background:#fff}.map-gradient.negativechange[_ngcontent-%COMP%]{background:#7e1b1b}.map-data[_ngcontent-%COMP%]{backface-visibility:hidden;flex-direction:column;justify-content:center;z-index:5}.map-instrument.negativechange[_ngcontent-%COMP%]{background:#fff;transition-duration:.5s;transition-property:all}.map-instrument.positivechange[_ngcontent-%COMP%]{background:#22775e;transition-duration:.5s;transition-property:all}.negativechange[_ngcontent-%COMP%]:before, .positivechange[_ngcontent-%COMP%]:before{display:none}.change[_ngcontent-%COMP%]{margin-top:.5rem}.change[_ngcontent-%COMP%]:before{background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:1.5em;margin-top:-.75em;position:relative;top:.4em;transform:scale(.5);width:1em}.positivechange[_ngcontent-%COMP%] .change[_ngcontent-%COMP%]:before{background-image:url(assets/static/arrow_black.svg);transform:scale(.5) rotate(180deg)}.negativechange[_ngcontent-%COMP%] .change[_ngcontent-%COMP%]:before{background-image:url(assets/static/arrow_black.svg)}.delay[_ngcontent-%COMP%]{margin:1.375rem auto 0;max-width:61.5rem}'],changeDetection:0})}}return n})();const Pi=n=>({errorText:n});function Vm(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(t.value)}}function Lm(n,r){if(1&n&&(e.j41(0,"a",4),e.qex(1,5),e.DNE(2,Vm,2,1,"ng-container",1),e.eu8(3,6),e.bVm(),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(3);e.AVh("first-column-link",t.isFirstColumnLink),e.Y8G("href",t.link,e.B4B)("ngClass",t.linkClasses?t.linkClasses:"")("target",t.targetType),e.R7$(),e.Y8G("ngClass",t.linkContentClasses?t.linkContentClasses:""),e.R7$(),e.Y8G("ngIf",!t.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(9,Pi,t.errorText))}}function Am(n,r){if(1&n&&(e.j41(0,"span",7),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.AVh("first-column-link",t.isFirstColumnLink),e.Y8G("ngClass",t.dashClasses?t.dashClasses:""),e.R7$(),e.SpI(" ",t.defaultFieldValue," ")}}function qm(n,r){if(1&n&&(e.qex(0),e.DNE(1,Lm,4,11,"a",2)(2,Am,2,4,"span",3),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.visibility&&t.value&&t.value!==t.defaultFieldValue),e.R7$(),e.Y8G("ngIf",!t.visibility||!t.value||t.value===t.defaultFieldValue)}}function Um(n,r){if(1&n&&(e.qex(0),e.j41(1,"a",8)(2,"figure"),e.nrm(3,"div",9),e.k0s()(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("href",t.link,e.B4B)("target",t.targetType),e.R7$(2),e.xc7("background-image",t.remoteLogoFetched?"url("+t.imageToShow(t.remoteLogoData)+")":"")}}function zm(n,r){if(1&n&&(e.qex(0),e.DNE(1,Um,4,4,"ng-container",1),e.eu8(2,6),e.bVm()),2&n){const t=e.XpG(2),i=e.sdS(3);e.R7$(),e.Y8G("ngIf",!t.issuerLogo.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Pi,t.issuerLogo.errorText))}}function Hm(n,r){if(1&n&&(e.j41(0,"span",7),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.AVh("first-column-link",t.isFirstColumnLink),e.Y8G("ngClass",t.dashClasses?t.dashClasses:""),e.R7$(),e.SpI(" ",t.defaultFieldValue," ")}}function Wm(n,r){if(1&n&&(e.qex(0),e.DNE(1,zm,3,5,"ng-container",1)(2,Hm,2,4,"span",3),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.issuerLogo.visibility),e.R7$(),e.Y8G("ngIf",!t.issuerLogo.visibility)}}function Jm(n,r){if(1&n&&e.nrm(0,"app-hide-field",11),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function Km(n,r){1&n&&e.DNE(0,Jm,1,1,"app-hide-field",10),2&n&&e.Y8G("ngIf",r.errorText)}let xe=(()=>{class n{constructor(){this.isFirstColumnLink=!1,this.isLinkWithLogo=!1,this.targetType="_self",this.defaultFieldValue=w.M.DEFAULT_VALUE}ngOnInit(){this.issuerLogo=this.issuerLogo||this.remoteLogo}imageToShow(t){return t&&t.logo?t.logo:null}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-link-or-dash"]
1],inputs:{link:"link",linkClasses:"linkClasses",linkContentClasses:"linkContentClasses",dashClasses:"dashClasses",isFirstColumnLink:"isFirstColumnLink",value:"value",errorText:"errorText",visibility:"visibility",isLinkWithLogo:"isLinkWithLogo",remoteLogo:"remoteLogo",remoteLogoFetched:"remoteLogoFetched",remoteLogoData:"remoteLogoData",issuerLogo:"issuerLogo",targetType:"targetType"},decls:4,vars:2,consts:[["emptyvalue",""],[4,"ngIf"],["class","dash-link",3,"href","first-column-link","ngClass","target",4,"ngIf"],["class","dash-wrapper",3,"ngClass","first-column-link",4,"ngIf"],[1,"dash-link",3,"href","ngClass","target"],[3,"ngClass"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"dash-wrapper",3,"ngClass"],[1,"dash-link",3,"href","target"],[1,"instrument-logo"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&e.DNE(0,qm,3,2,"ng-container",1)(1,Wm,3,2,"ng-container",1)(2,Km,1,1,"ng-template",null,0,e.C5r),2&i&&(e.Y8G("ngIf",!o.isLinkWithLogo),e.R7$(),e.Y8G("ngIf",o.isLinkWithLogo))},dependencies:[l.YU,l.bT,l.T3,y.W],styles:["[_nghost-%COMP%]{display:inline;line-height:1}.dash-link[_ngcontent-%COMP%], .dash-wrapper[_ngcontent-%COMP%]{display:inline-block;max-height:100%;max-width:100%;vertical-align:middle}.dash-link.first-column-link[_ngcontent-%COMP%], .dash-wrapper.first-column-link[_ngcontent-%COMP%]{padding-left:.85rem}.dash-link.blue-text[_ngcontent-%COMP%]{text-decoration:none}.dash-link.blue-text[_ngcontent-%COMP%]:hover, .dash-link.blue-text[_ngcontent-%COMP%]:focus{color:#001eff;text-decoration:underline}.dash-wrapper[_ngcontent-%COMP%]{color:#000!important;font-weight:500!important}figure[_ngcontent-%COMP%]{border:.063rem solid #fafafa;display:flex;height:3.25rem;line-height:3.25rem;margin:0;padding:.25rem;vertical-align:middle;width:5.5rem}.instrument-logo[_ngcontent-%COMP%]{background-position:center center;background-repeat:no-repeat;background-size:contain;width:100%}"],changeDetection:0})}}return n})();var Qm=p(35859),kn=p.n(Qm),Zm=p(50902),yn=p.n(Zm);let Gi=(()=>{class n{transform(t,i="Europe/London"){if(!t)return(0,te.z3)("RnsNewsUrlPipe: input params null or undefined"),"#";Q().extend(yn()),Q().extend(kn());const o=Q().tz(Q()(),i),a=o.format("YYYYMMDD"),s=o.subtract(3,"months").format("YYYYMMDD");return k.T.getRNSNewsUrl(t,s,a)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=e.EJ8({name:"rnsNewsUrl",type:n,pure:!0})}}return n})(),Si=(()=>{class n{transform(t,i="Europe/London"){return t?(Q().extend(yn()),Q().extend(kn()),Q()(Q()(Q()()).tz(i)).isSame(t,"day")):((0,te.z3)("IsTodayPipe: input params null or undefined"),!1)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=e.EJ8({name:"isToday",type:n,pure:!0})}}return n})();const nt=n=>({errorText:n});function e_(n,r){if(1&n&&(e.j41(0,"td"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(t.issuerLogo.label)}}function t_(n,r){if(1&n&&(e.qex(0),e.j41(1,"a",12),e.nI1(2,"companyUrl"),e.j41(3,"figure"),e.nrm(4,"div",13),e.k0s()(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.Y8G("href",e.bMT(2,3,t.instrument),e.B4B),e.R7$(3),e.xc7("background-image",t.instrument.remoteLogo.value.fetched?"url("+t.imageToShow(t.instrument.remoteLogo.value.data)+")":"")}}function n_(n,r){if(1&n&&(e.qex(0),e.j41(1,"span")(2,"figure"),e.nrm(3,"div",13),e.k0s()(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(3),e.xc7("background-image",t.instrument.remoteLogo.value.fetched?"url("+t.imageToShow(t.instrument.remoteLogo.value.data)+")":"")}}function i_(n,r){if(1&n&&(e.qex(0),e.DNE(1,t_,5,5,"ng-container",7)(2,n_,4,2,"ng-container",7),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.instrument.tidm.value&&"-"!==t.instrument.tidm.value),e.R7$(),e.Y8G("ngIf",!t.instrument.tidm.value||"-"===t.instrument.tidm.value)}}function o_(n,r){if(1&n&&(e.j41(0,"tr",9),e.DNE(1,e_,2,1,"td",7),e.j41(2,"td",10),e.DNE(3,i_,3,2,"ng-container",7),e.eu8(4,11),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.issuerLogo.label),e.R7$(2),e.Y8G("ngIf",!t.issuerLogo.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t.emptyvalue)("ngTemplateOutletContext",e.eq3(4,nt,t.issuerLogo.errorText))}}function r_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",14),e.nrm(4,"app-link-or-dash",15),e.nI1(5,"companyUrl"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.tidm.label),e.R7$(2),e.Y8G("link",e.bMT(5,7,t.instrument))("linkClasses","black-link")("dashClasses","black-link")("value",t.instrument.tidm.value)("errorText",t.instrument.tidm.errorText)("visibility",t.instrument.tidm.visibility)}}function a_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",14),e.nrm(4,"app-link-or-dash",15),e.nI1(5,"companyUrl"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.isin.label),e.R7$(2),e.Y8G("link",e.bMT(5,7,t.instrument))("linkClasses","black-link")("dashClasses","black-link")("value",t.instrument.isin.value)("errorText",t.instrument.isin.errorText)("visibility",t.instrument.isin.visibility)}}function s_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",16),e.nrm(4,"app-link-or-dash",15),e.nI1(5,"companyUrl"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.description.label),e.R7$(2),e.Y8G("link",e.bMT(5,7,t.instrument))("linkClasses","black-link ellipsed")("dashClasses","black-link")("value",t.instrument.description.value)("errorText",t.instrument.description.errorText)("visibility",t.instrument.description.visibility)}}function l_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",16),e.nrm(4,"app-link-or-dash",15),e.nI1(5,"companyUrl"),e.nI1(6,"customdate"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.maturitydate.label),e.R7$(2),e.Y8G("link",e.bMT(5,7,t.instrument))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(6,9,t.instrument.maturitydate.value))("errorText",t.instrument.maturitydate.errorText)("visibility",t.instrument.maturitydate.visibility)}}function c_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",16),e.nrm(4,"app-link-or-dash",15),e.nI1(5,"companyUrl"),e.nI1(6,"customdate"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.nextcoupondate.label),e.R7$(2),e.Y8G("link",e.bMT(5,7,t.instrument))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(6,9,t.instrument.nextcoupondate.value))("errorText",t.instrument.nextcoupondate.errorText)("visibility",t.instrument.nextcoupondate.visibility)}}function p_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",16),e.nrm(4,"app-link-or-dash",15),e.nI1(5,"companyUrl"),e.nI1(6,"customnumber"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.couponfrequency.label),e.R7$(2),e.Y8G("link",e.bMT(5,7,t.instrument))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(6,9,t.instrument.couponfrequency.value))("errorText",t.instrument.couponfrequency.errorText)("visibility",t.instrument.couponfrequency.visibility)}}function m_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",16),e.nrm(4,"app-link-or-dash",15),e.nI1(5,"companyUrl"),e.nI1(6,"customnumber"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.price.label),e.R7$(2),e.Y8G("link",e.bMT(5,7,t.instrument))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(6,9,t.instrument.price.value))("errorText",t.instrument.price.errorText)("visibility",t.instrument.price.visibility)}}function __(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",16),e.nrm(4,"app-link-or-dash",15),e.nI1(5,"companyUrl"),e.nI1(6,"customnumber"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.currentyield.label),e.R7$(2),e.Y8G("link",e.bMT(5,7,t.instrument))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(6,9,t.instrument.currentyield.value))("errorText",t.instrument.currentyield.errorText)("visibility",t.instrument.currentyield.visibility)}}function d_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",16),e.nrm(4,"app-link-or-dash",15),e.nI1(5,"companyUrl"),e.nI1(6,"customnumber"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.accrueddays.label),e.R7$(2),e.Y8G("link",e.bMT(5,7,t.instrument))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(6,9,t.instrument.accrueddays.value))("errorText",t.instrument.accrueddays.errorText)("visibility",t.instrument.accrueddays.visibility)}}function u_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",16),e.nrm(4,"app-link-or-dash",15),e.nI1(5,"companyUrl"),e.nI1(6,"customnumber"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.accruedinterest.label),e.R7$(2),e.Y8G("link",e.bMT(5,7,t.instrument))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(6,9,t.instrument.accruedinterest.value))("errorText",t.instrument.accruedinterest.errorText)("visibility",t.instrument.accruedinterest.visibility)}}function g_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",16),e.nrm(4,"app-link-or-dash",15),e.nI1(5,"companyUrl"),e.nI1(6,"customnumber"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.duration.label),e.R7$(2),e.Y8G("link",e.bMT(5,7,t.instrument))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(6,9,t.instrument.duration.value))("errorText",t.instrument.duration.errorText)("visibility",t.instrument.duration.visibility)}}function h_(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.instrument.currency.value," ")}}function f_(n,r){if(1&n&&(e.qex(0),e.DNE(1,h_,2,1,"ng-container",7),e.eu8(2,11),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.instrument.currency.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t.emptyvalue)("ngTemplateOutletContext",e.eq3(3,nt,t.instrument.currency.errorText))}}function v_(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",18),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function b_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",17),e.DNE(4,f_,3,5,"ng-container",7)(5,v_,3,1,"ng-container",7),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.currency.label),e.R7$(2),e.Y8G("ngIf",t.instrument.currency.visibility),e.R7$(),e.Y8G("ngIf",!t.instrument.currency.visibility)}}function C_(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"metricsuffix"),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",e.bMT(2,1,t.instrument.marketcapitalization.value)," ")}}function T_(n,r){if(1&n&&(e.qex(0),e.DNE(1,C_,3,3,"ng-container",7),e.eu8(2,11),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.instrument.marketcapitalization.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t.emptyvalue)("ngTemplateOutletContext",e.eq3(3,nt,t.instrument.marketcapitalization.errorText))}}function x_(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",18),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function k_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",19),e.DNE(4,T_,3,5,"ng-container",7)(5,x_,3,1,"ng-container",7),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.marketcapitalization.label),e.R7$(2),e.Y8G("ngIf",t.instrument.marketcapitalization.visibility),e.R7$(),e.Y8G("ngIf",!t.instrument.marketcapitalization.visibility)}}function y_(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",e.bMT(2,1,t.instrument.lastprice.value)," ")}}function w_(n,r){if(1&n&&(e.qex(0),e.DNE(1,y_,3,3,"ng-container",7),e.eu8(2,11),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.instrument.lastprice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t.emptyvalue)("ngTemplateOutletContext",e.eq3(3,nt,t.instrument.lastprice.errorText))}}function I_(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",18),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function M_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",20),e.DNE(4,w_,3,5,"ng-container",7)(5,I_,3,1,"ng-container",7),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.lastprice.label),e.R7$(2),e.Y8G("ngIf",t.instrument.lastprice.visibility),e.R7$(),e.Y8G("ngIf",!t.instrument.lastprice.visibility)}}function O_(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",e.bMT(2,1,t.instrument.netchange.value)," ")}}function R_(n,r){if(1&n&&(e.qex(0),e.DNE(1,O_,3,3,"ng-container",7),e.eu8(2,11),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.instrument.netchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t.emptyvalue)("ngTemplateOutletContext",e.eq3(3,nt,t.instrument.netchange.errorText))}}function F_(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",18),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function P_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",21),e.DNE(4,R_,3,5,"ng-container",7)(5,F_,3,1,"ng-container",7),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.netchange.label),e.R7$(),e.Y8G("ngClass",t.netchangeCssClass(t.instrument.netchange)),e.R7$(),e.Y8G("ngIf",t.instrument.netchange.visibility),e.R7$(),e.Y8G("ngIf",!t.instrument.netchange.visibility)}}function G_(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",e.i5U(2,1,t.instrument.percentualchange.value,"%")," ")}}function S_(n,r){if(1&n&&(e.qex(0),e.DNE(1,G_,3,4,"ng-container",7),e.eu8(2,11),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.instrument.percentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t.emptyvalue)("ngTemplateOutletContext",e.eq3(3,nt,t.instrument.percentualchange.errorText))}}function $_(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",18),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function E_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",22),e.DNE(4,S_,3,5,"ng-container",7)(5,$_,3,1,"ng-container",7),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.percentualchange.label),e.R7$(),e.Y8G("ngClass",t.instrument.netchangesign.visibility&&t.instrument.percentualchange.visibility&&!t.instrument.netchangesign.errorText&&!t.instrument.percentualchange.errorText?t.instrumentCssClass(t.instrument.netchangesign):""),e.R7$(),e.Y8G("ngIf",t.instrument.percentualchange.visibility),e.R7$(),e.Y8G("ngIf",!t.instrument.percentualchange.visibility)}}function D_(n,r){1&n&&(e.j41(0,"span",28),e.nrm(1,"img",29),e.k0s())}function j_(n,r){if(1&n&&(e.j41(0,"a",25),e.nI1(1,"rnsNewsUrl"),e.DNE(2,D_,2,0,"span",26),e.nI1(3,"isToday"),e.nrm(4,"img",27),e.k0s()),2&n){const t=e.XpG(5);e.Y8G("href",e.bMT(1,2,t.instrument.issuername.value),e.B4B),e.R7$(2),e.Y8G("ngIf",e.bMT(3,4,t.instrument.datenews.value))}}function N_(n,r){if(1&n&&(e.qex(0),e.DNE(1,j_,5,6,"a",24),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.Y8G("ngIf",t.instrument.idnews.value)}}function Y_(n,r){if(1&n&&(e.qex(0),e.DNE(1,N_,2,1,"ng-container",7),e.eu8(2,11),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.instrument.idnews.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t.emptyvalue)("ngTemplateOutletContext",e.eq3(3,nt,t.instrument.idnews.errorText))}}function X_(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",18),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function B_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",23),e.DNE(4,Y_,3,5,"ng-container",7)(5,X_,3,1,"ng-container",7),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.idnews.label),e.R7$(2),e.Y8G("ngIf",t.instrument.idnews.visibility),e.R7$(),e.Y8G("ngIf",!t.instrument.idnews.visibility||!t.instrument.idnews.value)}}function V_(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",31),e.EFF(2),e.nI1(3,"etfs"),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(e.bMT(3,1,t.instrument.category.value))}}function L_(n,r){if(1&n&&(e.qex(0),e.DNE(1,V_,4,3,"ng-container",7),e.eu8(2,11),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.instrument.category.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t.emptyvalue)("ngTemplateOutletContext",e.eq3(3,nt,t.instrument.category.errorText))}}function A_(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",18),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function q_(n,r){if(1&n&&(e.j41(0,"tr")(1,"td"),e.EFF(2),e.k0s(),e.j41(3,"td",30),e.DNE(4,L_,3,5,"ng-contain
1er",7)(5,A_,3,1,"ng-container",7),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.instrument.category.label),e.R7$(),e.Y8G("ngClass",!t.instrument.category.errorText&&t.instrument.category.visibility?t.instrumentCssClass(t.instrument.category):""),e.R7$(),e.Y8G("ngIf",t.instrument.category.visibility),e.R7$(),e.Y8G("ngIf",!t.instrument.category.visibility)}}function U_(n,r){if(1&n&&e.nrm(0,"app-track",32),2&n){const t=e.XpG(2);e.Y8G("tidm",t.instrument.tidm.value)}}function z_(n,r){if(1&n){const t=e.RV6();e.j41(0,"section",1)(1,"div",2),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeModal())}),e.k0s(),e.j41(2,"div",3)(3,"div",4),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeModal())}),e.k0s(),e.j41(4,"div",5)(5,"table"),e.DNE(6,o_,5,6,"tr",6)(7,r_,6,9,"tr",7)(8,a_,6,9,"tr",7)(9,s_,6,9,"tr",7)(10,l_,7,11,"tr",7)(11,c_,7,11,"tr",7)(12,p_,7,11,"tr",7)(13,m_,7,11,"tr",7)(14,__,7,11,"tr",7)(15,d_,7,11,"tr",7)(16,u_,7,11,"tr",7)(17,g_,7,11,"tr",7)(18,b_,6,3,"tr",7)(19,k_,6,3,"tr",7)(20,M_,6,3,"tr",7)(21,P_,6,4,"tr",7)(22,E_,6,4,"tr",7)(23,B_,6,3,"tr",7)(24,q_,6,4,"tr",7),e.k0s(),e.DNE(25,U_,1,1,"app-track",8),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(6),e.Y8G("ngIf",t.issuerLogo&&t.issuerLogo.visibility),e.R7$(),e.Y8G("ngIf",t.instrument.tidm&&t.showTidm),e.R7$(),e.Y8G("ngIf",t.instrument.isin&&"priceExplorer"!==t.origin),e.R7$(),e.Y8G("ngIf",t.instrument.description),e.R7$(),e.Y8G("ngIf",t.instrument.maturitydate&&"priceExplorer"!==t.origin),e.R7$(),e.Y8G("ngIf",t.instrument.nextcoupondate),e.R7$(),e.Y8G("ngIf",t.instrument.couponfrequency),e.R7$(),e.Y8G("ngIf",t.instrument.price),e.R7$(),e.Y8G("ngIf",t.instrument.currentyield),e.R7$(),e.Y8G("ngIf",t.instrument.accrueddays),e.R7$(),e.Y8G("ngIf",t.instrument.accruedinterest),e.R7$(),e.Y8G("ngIf",t.instrument.duration),e.R7$(),e.Y8G("ngIf",t.instrument.currency),e.R7$(),e.Y8G("ngIf",t.instrument.marketcapitalization),e.R7$(),e.Y8G("ngIf",t.instrument.lastprice),e.R7$(),e.Y8G("ngIf",t.instrument.netchange),e.R7$(),e.Y8G("ngIf",t.instrument.percentualchange),e.R7$(),e.Y8G("ngIf",t.instrument.idnews),e.R7$(),e.Y8G("ngIf",t.instrument.category),e.R7$(),e.Y8G("ngIf",t.showTrack)}}let wn=(()=>{class n{constructor(t){this.cssmapping=t,this.showTrack=!0,this.showTidm=!0,this.origin=null,this.closedModal=new e.bkB,this.defaultFieldValue=w.M.DEFAULT_VALUE}ngOnInit(){}closeModal(){this.closedModal.emit(),this.instrument=null}instrumentCssClass(t){return this.cssmapping.cssClass(t)}imageToShow(t){return!(!t||!t.logo)&&t.logo}netchangeCssClass(t){if(!t||!t.visibility||t.errorText||!Number(t.value))return;const i=Number(t.value)>0?"+1":"-1";return this.cssmapping.getClass(i)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-popup-table"]],inputs:{instrument:"instrument",showTrack:"showTrack",showTidm:"showTidm",origin:"origin",issuerLogo:"issuerLogo"},outputs:{closedModal:"closedModal"},decls:1,vars:1,consts:[["class","popup-table overlay-container",4,"ngIf"],[1,"popup-table","overlay-container"],[1,"overlay","modal-overlay",3,"click"],[1,"overlay-wrapper"],[1,"close-overlay",3,"click"],[1,"overlay-content"],["class","logo-row",4,"ngIf"],[4,"ngIf"],[3,"tidm",4,"ngIf"],[1,"logo-row"],[1,"td-with-link"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"href"],[1,"instrument-logo"],[1,"clickable","bold-font-weight","instrument-tidm","gtm-trackable"],[3,"link","linkClasses","dashClasses","value","errorText","visibility"],[1,"clickable","instrument-name","gtm-trackable"],[1,"instrument-currency"],[1,"dash-wrapper"],[1,"instrument-marketcapitalization"],[1,"instrument-lastprice"],[1,"instrument-netchange",3,"ngClass"],[1,"instrument-percentualchange",3,"ngClass"],[1,"instrument-news","clickable"],["class","rns-news",3,"href",4,"ngIf"],[1,"rns-news",3,"href"],["class","today-icon",4,"ngIf"],["src","assets/svg/rns.svg"],[1,"today-icon"],["src","assets/svg/clock_icon_black.svg"],[1,"instrument-category","clickable",3,"ngClass"],[1,"instrument-label"],[3,"tidm"]],template:function(i,o){1&i&&e.DNE(0,z_,26,20,"section",0),2&i&&e.Y8G("ngIf",o.instrument)},dependencies:[l.YU,l.bT,l.T3,H.J,xe,ee.p,U.W,ve.b,Gi,Si,Te.Z,ce.w],styles:[".overlay-content[_ngcontent-%COMP%]{background:#fff}table[_ngcontent-%COMP%]{margin:3rem auto;table-layout:fixed;width:100%}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{width:7rem}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .black-link[_ngcontent-%COMP%]{display:inline-block;height:100%;padding:.85rem .85rem .85rem 0;width:100%}app-track[_ngcontent-%COMP%]{display:block;margin:1.5rem auto;text-align:center;width:4rem}.td-with-link[_ngcontent-%COMP%]{padding:0}.td-with-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .td-with-link[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;height:100%;padding:.85rem .85rem .85rem 0;width:100%}figure[_ngcontent-%COMP%]{border:.0625rem solid #fafafa;display:flex;height:3.25rem;line-height:3.25rem;margin:0;padding:.25rem;vertical-align:middle;width:5.5rem}"]})}}return n})();const H_=(n,r)=>({label:n,code:"code",options:r}),W_=(n,r)=>({label:n,code:"description",options:r}),J_=(n,r)=>({label:n,code:"currency",options:r}),K_=(n,r)=>({label:n,code:"marketcap",options:r}),Q_=(n,r)=>({label:n,code:"price",options:r}),Z_=(n,r)=>({label:n,code:"change",options:r}),ed=(n,r)=>({label:n,code:"percentualchange",options:r}),st=n=>({errorText:n});function td(n,r){if(1&n){const t=e.RV6();e.j41(0,"li",15)(1,"div",16),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2).code,s=e.XpG();return e.Njj(s.sortBy(o.value,a))}),e.EFF(2),e.k0s()()}if(2&n){const t=r.$implicit,i=e.XpG(3);e.Y8G("ngClass",i.selectedSort===t.value?"active-sort":""),e.R7$(),e.FS9("title",t.label),e.R7$(),e.JRh(t.label)}}
1function nd(n,r){if(1&n&&(e.j41(0,"ul"),e.DNE(1,td,3,3,"li",14),e.k0s()),2&n){const t=e.XpG().options;e.R7$(),e.Y8G("ngForOf",t)}}function id(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",11),e.bIt("click",function(){const o=e.eBV(t).code,a=e.XpG();return e.Njj(a.toggleOption(o))}),e.EFF(1),e.k0s(),e.j41(2,"span",12),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.toggleOption())}),e.DNE(3,nd,2,1,"ul",13),e.k0s()}if(2&n){const t=r.label,i=r.code,o=r.options,a=e.XpG();e.Y8G("ngClass",a.isSortDesc(i,o)?"reverse":""),e.R7$(),e.JRh(t),e.R7$(),e.Y8G("ngClass",a.selectedDropDown===i?"expanded":""),e.R7$(),e.Y8G("ngIf",o)}}function od(n,r){1&n&&e.eu8(0)}function rd(n,r){1&n&&e.eu8(0)}function ad(n,r){1&n&&e.eu8(0)}function sd(n,r){1&n&&e.eu8(0)}function ld(n,r){1&n&&e.eu8(0)}function cd(n,r){1&n&&e.eu8(0)}function pd(n,r){1&n&&e.eu8(0)}function md(n,r){if(1&n&&(e.j41(0,"tr",17)(1,"th",18),e.DNE(2,od,1,0,"ng-container",19),e.k0s(),e.j41(3,"th",20),e.DNE(4,rd,1,0,"ng-container",19),e.k0s(),e.j41(5,"th",21),e.DNE(6,ad,1,0,"ng-container",19),e.k0s(),e.j41(7,"th",22),e.DNE(8,sd,1,0,"ng-container",19),e.k0s(),e.j41(9,"th",23),e.DNE(10,ld,1,0,"ng-container",19),e.k0s(),e.j41(11,"th",21),e.DNE(12,cd,1,0,"ng-container",19),e.k0s(),e.j41(13,"th",24),e.DNE(14,pd,1,0,"ng-container",19),e.k0s()()),2&n){const t=r.$implicit,i=e.XpG(),o=e.sdS(4);e.R7$(),e.Y8G("ngClass","code"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(21,H_,t.tidm.label,i.dropdownSortOptions.code)),e.R7$(),e.Y8G("ngClass","description"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(24,W_,t.description.label,i.dropdownSortOptions.description)),e.R7$(),e.Y8G("ngClass","currency"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(27,J_,t.currency.label,i.dropdownSortOptions.currency)),e.R7$(),e.Y8G("ngClass","marketcap"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(30,K_,t.marketcapitalization.label,i.dropdownSortOptions.marketcap)),e.R7$(),e.Y8G("ngClass","price"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(33,Q_,t.lastprice.label,i.dropdownSortOptions.price)),e.R7$(),e.Y8G("ngClass","change"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(36,Z_,t.netchange.label,i.dropdownSortOptions.change)),e.R7$(),e.Y8G("ngClass","percentualchange"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(39,ed,t.percentualchange.label,i.dropdownSortOptions.percentualchange))}}function _d(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",34),e.nI1(2,"companyUrl"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t))("linkClasses","blue-text")("dashClasses","blue-text")("value",t.tidm.value)("errorText",t.tidm.errorText)("visibility",t.tidm.visibility)}}function dd(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",t.tidm.value," ")}}function ud(n,r){if(1&n&&(e.qex(0),e.DNE(1,dd,2,1,"ng-container",13),e.eu8(2,35),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG();const i=e.sdS(16);e.R7$(),e.Y8G("ngIf",!t.tidm.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,st,t.tidm.errorText))}}function gd(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",36),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function hd(n,r){if(1&n&&(e.qex(0),e.DNE(1,ud,3,5,"ng-container",13)(2,gd,3,1,"ng-container",13),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.tidm.visibility),e.R7$(),e.Y8G("ngIf",!t.tidm.visibility)}}function fd(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",34),e.nI1(2,"companyUrl"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t))("linkClasses",t.description.errorText?"black-link":"black-link ellipsed")("dashClasses","black-link")("value",t.description.value)("errorText",t.description.errorText)("visibility",t.description.visibility)}}function vd(n,r){if(1&n&&(e.j41(0,"span",38),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",t.description.value," ")}}function bd(n,r){if(1&n&&(e.qex(0),e.DNE(1,vd,2,1,"span",37),e.eu8(2,35),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG();const i=e.sdS(16);e.R7$(),e.Y8G("ngIf",!t.description.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,st,t.description.errorText))}}function Cd(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",36),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function Td(n,r){if(1&n&&(e.qex(0),e.DNE(1,bd,3,5,"ng-container",13)(2,Cd,3,1,"ng-container",13),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.description.visibility),e.R7$(),e.Y8G("ngIf",!t.description.visibility)}}function xd(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.currency.value," ")}}function kd(n,r){if(1&n&&(e.qex(0),e.DNE(1,xd,2,1,"ng-container",13),e.eu8(2,35),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(16);e.R7$(),e.Y8G("ngIf",!t.currency.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,st,t.currency.errorText))}}function yd(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",36),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.defaultFieldValue)}}function wd(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.marketcapitalization.value)," ")}}function Id(n,r){if(1&n&&(e.qex(0),e.DNE(1,wd,3,3,"ng-container",13),e.eu8(2,35),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(16);e.R7$(),e.Y8G("ngIf",!t.marketcapitalization.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,st,t.marketcapitalization.errorText))}}function Md(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",36),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.defaultFieldValue)}}function Od(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.lastprice.value)," ")}}function Rd(n,r){if(1&n&&(e.qex(0),e.DNE(1,Od,3,3,"ng-container",13),e.eu8(2,35),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(16);e.R7$(),e.Y8G("ngIf",!t.lastprice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,st,t.lastprice.errorText))}}function Fd(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",36),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.defaultFieldValue)}}function Pd(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",39),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG();return e.Njj(a.clickOnCell(o))}),e.k0s()}}function Gd(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.netchange.value)," ")}}function Sd(n,r){if(1&n&&(e.qex(0),e.DNE(1,Gd,3,3,"ng-container",13),e.eu8(2,35),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(16);e.R7$(),e.Y8G("ngIf",!t.netchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,st,t.netchange.errorText))}}function $d(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",36),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.defaultFieldValue)}}function Ed(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.i5U(2,1,t.percentualchange.value,"%")," ")}}function Dd(n,r){if(1&n&&(e.qex(0),e.DNE(1,Ed,3,4,"ng-container",13),e.eu8(2,35),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(16);e.R7$(),e.Y8G("ngIf",!t.percentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,st,t.percentualchange.errorText))}}
1function jd(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",36),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.defaultFieldValue)}}function Nd(n,r){if(1&n){const t=e.RV6();e.j41(0,"tr",25)(1,"td",26),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG();return e.Njj(a.clickOnCell(o))}),e.DNE(2,_d,3,8,"ng-container",13),e.nI1(3,"async"),e.DNE(4,hd,3,2,"ng-container",13),e.nI1(5,"async"),e.k0s(),e.j41(6,"td",27),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG();return e.Njj(a.clickOnCell(o))}),e.DNE(7,fd,3,8,"ng-container",13),e.nI1(8,"async"),e.DNE(9,Td,3,2,"ng-container",13),e.nI1(10,"async"),e.k0s(),e.j41(11,"td",28),e.DNE(12,kd,3,5,"ng-container",13)(13,yd,3,1,"ng-container",13),e.k0s(),e.j41(14,"td",29),e.DNE(15,Id,3,5,"ng-container",13)(16,Md,3,1,"ng-container",13),e.k0s(),e.j41(17,"td",30),e.DNE(18,Rd,3,5,"ng-container",13)(19,Fd,3,1,"ng-container",13)(20,Pd,1,0,"span",31),e.nI1(21,"async"),e.k0s(),e.j41(22,"td",32),e.DNE(23,Sd,3,5,"ng-container",13)(24,$d,3,1,"ng-container",13),e.k0s(),e.j41(25,"td",33),e.DNE(26,Dd,3,5,"ng-container",13)(27,jd,3,1,"ng-container",13),e.k0s()()}if(2&n){const t=r.$implicit,i=e.XpG();e.R7$(2),e.Y8G("ngIf",!e.bMT(3,16,i.getOnMobile())),e.R7$(2),e.Y8G("ngIf",e.bMT(5,18,i.getOnMobile())),e.R7$(3),e.Y8G("ngIf",!e.bMT(8,20,i.getOnMobile())),e.R7$(2),e.Y8G("ngIf",e.bMT(10,22,i.getOnMobile())),e.R7$(3),e.Y8G("ngIf",t.currency.visibility),e.R7$(),e.Y8G("ngIf",!t.currency.visibility),e.R7$(2),e.Y8G("ngIf",t.marketcapitalization.visibility),e.R7$(),e.Y8G("ngIf",!t.marketcapitalization.visibility),e.R7$(2),e.Y8G("ngIf",t.lastprice.visibility),e.R7$(),e.Y8G("ngIf",!t.lastprice.visibility),e.R7$(),e.Y8G("ngIf",e.bMT(21,24,i.getOnMobile())),e.R7$(2),e.Y8G("ngClass",t.netchangesign.visibility&&t.netchange.visibility&&!t.netchangesign.errorText&&!t.netchange.errorText?i.instrumentCssClass(t.netchangesign):""),e.R7$(),e.Y8G("ngIf",t.netchange.visibility),e.R7$(),e.Y8G("ngIf",!t.netchange.visibility),e.R7$(2),e.Y8G("ngIf",t.percentualchange.visibility),e.R7$(),e.Y8G("ngIf",!t.percentualchange.visibility)}}function Yd(n,r){if(1&n&&e.nrm(0,"app-hide-field",41),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function Xd(n,r){1&n&&e.DNE(0,Yd,1,1,"app-hide-field",40),2&n&&e.Y8G("ngIf",r.errorText)}let $i=(()=>{class n{constructor(t,i,o,a,s,c,d){this.cssmapping=t,this.refreshService=i,this.platformId=o,this.isBreakpoint=a,this.scrollToService=s,this.elementRef=c,this.urlHandlerService=d,this.defaultItemsPerPage=20,this.activeInstrument=null,this.selectedSort="percentualchange,desc",this.selectedDropDown="",this.defaultFieldValue=w.M.DEFAULT_VALUE,this.activeCode="percentualchange"}ngOnInit(){this.dropdownSortOptions=this.getDropdownSortOptions(),this.isBreakpoint.setOnTabletLandScape()}ngOnChanges(t){(0,l.UE)(this.platformId)&&t.content?.currentValue!==t.content?.previousValue&&this.scrollTo()}toggleOption(t=""){this.selectedDropDown=this.selectedDropDown===t?"":t}clickOnCell(t){this.isBreakpoint.tabletLandscape()&&(this.activeInstrument=t)}onClosedModal(){this.activeInstrument=null}imageToShow(t){return!(!t||!t.logo)&&t.logo}instrumentCssClass(t){return this.cssmapping.cssClass(t)}sortBy(t,i){this.selectedSort=t,this.activeCode=i,this.onSubmit()}updateUrlWithParams(){var t=this;return(0,_.A)(function*(){yield t.urlHandlerService.deleteParameters(["page"])})()}onSubmit(t=0,i=!1){i&&this.updateUrlWithParams();let o=this.status.params.set("page",`${t}`).set("size",`${this.defaultItemsPerPage}`);this.selectedSort&&(o=o.set("sort",this.selectedSort)),this.status={...this.status,currentPage:t,params:o},this.refreshService.refreshComponent(this.id,this.position,this.type,this.content,this.status)}getDropdownSortOptions(){return{code:[{value:"tidm,asc",label:this.content.orderByCodeAsc.value},{value:"tidm,desc",label:this.content.orderByCodeDesc.value}],description:[{value:"description,asc",label:this.content.orderByNameAsc.value},{value:"description,desc",label:this.content.orderByNameDesc.value}],currency:[{value:"currency,asc",label:this.content.orderByCurrencyAsc.value},{value:"currency,desc",label:this.content.orderByCurrencyDesc.value}],marketcap:[{value:"marketcapitalization,desc",label:this.content.orderByMarketCapDesc.value},{value:"marketcapitalization,asc",label:this.content.orderByMarketCapAsc.value}],price:[{value:"lastprice,desc",label:this.content.orderByPriceDesc.value},{value:"lastprice,asc",label:this.content.orderByPriceAsc.value}],change:[{value:"netchange,desc",label:this.content.orderByChangeDesc.value},{value:"netchange,asc",label:this.content.orderByChangeAsc.value}],percentualchange:[{value:"percentualchange,desc",label:this.content.orderByPercentualChangeDesc.value},{value:"percentualchange,asc",label:this.content.orderByPercentualChangeAsc.value}]}}onResize(){this.isBreakpoint.setOnTabletLandScape()}getOnMobile(){return this.isBreakpoint.getOnTabletLandScape()}isSortDesc(t,i){return this.selectedSort===i[1].value&&this.activeCode===t}scrollTo(){var t=this;return(0,_.A)(function*(){(yield t.urlHandlerService.getPageFromCurrentPath())>=0&&t.scrollToService.scrollToTheElementById("ftse-index-table",t.elementRef)})()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o),e.rXU(j.W),e.rXU(e.Agw),e.rXU(S.f),e.rXU(le.W),e.rXU(e.aKT),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-ftse-index-table"]],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)},inputs:{content:"content",position:"position",id:"id",type:"type",status:"status"},features:[e.OA$],decls:17,vars:13,consts:[["SortOptionDropDown",""],["emptyvalue",""],["id","ftse-index-table",1,"ftse-index-table-component","wrapper","x-large-width","x-large-width-padding","gtm-track-component","component",3,"ngClass"],[1,"ftse-index-table-header","flex-wrapper","spaced-flex-container"],[3,"whatsThisLink","whatsThisText"],[1,"full-width","ftse-index-table-table"],["class","table-header",4,"ngFor","ngForOf"],["class","medium-font-we
1ight slide-panel",4,"ngFor","ngForOf"],[3,"goToPage","totalPages","currentPage"],[1,"ftse-index-table-legal-text","small-font-size","wrapper","x-large-width","x-large-width-padding"],[3,"closedModal","instrument"],[1,"indented","clickable",3,"click","ngClass"],[1,"dropmenu","dropdown",3,"click","ngClass"],[4,"ngIf"],["class","sort-option",3,"ngClass",4,"ngFor","ngForOf"],[1,"sort-option",3,"ngClass"],[3,"click","title"],[1,"table-header"],[1,"code",3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"name",3,"ngClass"],[1,"hide-on-landscape",3,"ngClass"],[1,"marketcap","hide-on-landscape",3,"ngClass"],[1,"price",3,"ngClass"],[1,"percentualchange","hide-on-landscape",3,"ngClass"],[1,"medium-font-weight","slide-panel"],[1,"clickable","bold-font-weight","instrument-tidm","gtm-trackable","td-with-link",3,"click"],[1,"clickable","instrument-name","gtm-trackable","td-with-link",3,"click"],[1,"instrument-currency","hide-on-landscape"],[1,"instrument-marketcapitalization","hide-on-landscape"],[1,"instrument-lastprice"],["class","clickable gtm-trackable show-on-landscape selected-indicator",3,"click",4,"ngIf"],[1,"instrument-netchange","hide-on-landscape",3,"ngClass"],[1,"instrument-percentualchange","hide-on-landscape","gtm-trackable"],[3,"link","linkClasses","dashClasses","value","errorText","visibility"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"dash-wrapper"],["class","ellipsed",4,"ngIf"],[1,"ellipsed"],[1,"clickable","gtm-trackable","show-on-landscape","selected-indicator",3,"click"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"section",2)(1,"div",3),e.nrm(2,"app-whats-this",4),e.k0s(),e.DNE(3,id,4,4,"ng-template",null,0,e.C5r),e.j41(5,"table",5)(6,"thead"),e.DNE(7,md,15,42,"tr",6),e.nI1(8,"slice"),e.k0s(),e.j41(9,"tbody"),e.DNE(10,Nd,28,26,"tr",7),e.k0s()(),e.j41(11,"app-paginator",8),e.bIt("goToPage",function(c){return e.eBV(a),e.Njj(o.onSubmit(c))}),e.k0s(),e.j41(12,"div",9),e.EFF(13),e.k0s(),e.j41(14,"app-popup-table",10),e.bIt("closedModal",function(){return e.eBV(a),e.Njj(o.onClosedModal())}),e.k0s()(),e.DNE(15,Xd,1,1,"ng-template",null,1,e.C5r)}2&i&&(e.Y8G("ngClass",o.activeInstrument?"modal-open":""),e.R7$(2),e.Y8G("whatsThisLink",o.content.whatsThisLink)("whatsThisText",o.content.whatsThisText),e.R7$(5),e.Y8G("ngForOf",e.brH(8,9,o.content.ftseIndexInstruments.value,0,1)),e.R7$(3),e.Y8G("ngForOf",o.content.ftseIndexInstruments.value),e.R7$(),e.Y8G("totalPages",null==o.content.pagination?null:o.content.pagination.totalPages)("currentPage",null==o.content.pagination?null:o.content.pagination.page),e.R7$(2),e.SpI(" ",o.content.ftseindextableLegalText.value," "),e.R7$(),e.Y8G("instrument",o.activeInstrument))},dependencies:[l.YU,l.Sq,l.bT,l.T3,y.W,ue,ae,wn,xe,l.Jj,l.P9,ee.p,ve.b],styles:[".clickable[_ngcontent-%COMP%]:hover{text-decoration:none}.sort-option[_ngcontent-%COMP%]:hover{text-decoration:underline}.jump-menu[_ngcontent-%COMP%]{width:100%}.jump-menu[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]{background:transparent}.jump-menu[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{background:#000}.dropdown.expanded[_ngcontent-%COMP%] .fake-link[_ngcontent-%COMP%]{line-height:3rem}.ftse-index-table-table[_ngcontent-%COMP%]{margin-bottom:1.5rem}.ftse-index-table-header[_ngcontent-%COMP%]{align-items:center;margin-bottom:1rem}@media (min-width: 1144px){.ftse-index-table-header[_ngcontent-%COMP%] .form-inline[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{width:18.125em}}@media (max-width: 1023px){.ftse-index-table-header[_ngcontent-%COMP%]{display:block}.ftse-index-table-header[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{margin-top:1rem}.ftse-index-table-header[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin:1.5rem auto;width:100%}.ftse-index-table-header[_ngcontent-%COMP%] .ng-select[_ngcontent-%COMP%]{min-width:100%}}.ftse-index-table-header[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin-top:0}.ftse-index-table-legal-text[_ngcontent-%COMP%]{line-height:1.5rem}.negativechange[_ngcontent-%COMP%]:before, .positivechange[_ngcontent-%COMP%]:before{display:none}th[_ngcontent-%COMP%]:first-child, td[_ngcontent-%COMP%]:first-child{height:3rem}td[_ngcontent-%COMP%]{padding:.5rem .5rem .5rem 0}@media (max-width: 1023px){td[_ngcontent-%COMP%]{padding:1.5rem .5rem}}@media (max-width: 1023px){.td-with-link[_ngcontent-%COMP%]{padding:1.5rem .5rem}}.td-with-link[_ngcontent-%COMP%]:first-child{padding-left:.85rem}.td-with-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;height:100%;padding:.5rem .5rem .5rem 0;width:100%}@media (max-width: 1023px){th[_ngcontent-%COMP%]{padding-left:.5rem}}th[_ngcontent-%COMP%] .sort-option[_ngcontent-%COMP%]{color:#4d4d4d;font-weight:400}figure[_ngcontent-%COMP%]{border:.0625rem solid #fafafa;display:flex;height:3.25rem;line-height:3.25rem;margin:0;padding:.25rem;vertical-align:middle;width:5.5rem}.instrument-tidm[_ngcontent-%COMP%], .instrument-tidm[_ngcontent-%COMP%]:hover{color:#001eff}.instrument-logo[_ngcontent-%COMP%]{background-position:center center;background-repeat:no-repeat;background-size:contain;width:100%}table[_ngcontent-%COMP%]{table-layout:fixed}th[_ngcontent-%COMP%]{width:6.7rem}th.marketcap[_ngcontent-%COMP%]{width:9rem}th.name[_ngcontent-%COMP%]{width:auto}td.name[_ngcontent-%COMP%]{padding-right:1rem}.selected-indicator[_ngcontent-%COMP%]{float:right}"],changeDetection:0})}}return n})();function Bd(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.content.rflTickerDescription.value," ")}}function Vd(n,r){1&n&&e.eu8(0)}function Ld(n,r){if(1&n&&(e.qex(0),e.DNE(1,Bd,2,1,"ng-container",9)(2,Vd,1,0,"ng-container",11),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(8);e.R7$(),e.Y8G("ngIf",!t.content.rflTickerDescription.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.rflTickerDescription)}}function Ad(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.content.title.value," ")}}function qd(n,r){1&n&&e.eu8(0)}function Ud(n,r){if(1&n&&(e.j41(0,"h2"),e.DNE(1,Ld,3,3,"ng-container",9)(2,Ad,2,1,"ng-container",9)(3,qd,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(8);e.R7$(),e.Y8G("ngIf",t.content.rflTickerDescription.visibility),e.R7$(),e.Y8G("ngIf",!t.content.title.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.title)}}function zd(n,r){if(1&n&&(e.j41(0,"div",12)(1,"a",13),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("href",t.priceExplorerLink,e.B4B),e.R7$(),e.JRh(t.content.exploreAllLabel.value)}}function Hd(n,r){if(1&n&&(e.j41(0,"div",8),e.DNE(1,Ud,4,4,"h2",9)(2,zd,3,2,"div",10),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.content.title.visibility),e.R7$(),e.Y8G("ngIf",t.content.exploreAllLabel.value)}}function Wd(n,r){if(1&n&&(e.j41(0,"h3"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.risersTitle.value," ")}}function Jd(n,r){if(1&n&&(e.j41(0,"div",12)(1,"a",22),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("href",t.ftseConstituentsLink,e.B4B),e.R7$(),e.JRh(t.content.viewMoreRisersLabel.value)}}function Kd(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(t.tidm.value)}}function Qd(n,r){1&n&&e.eu8(0)}function Zd(n,r){if(1&n&&(e.j41(0,"a",35),e.nI1(1,"companyUrl"),e.DNE(2,Kd,2,1,"ng-container",9)(3,Qd,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(8);e.Y8G("href",e.bMT(1,4,t),e.B4B),e.R7$(2),e.Y8G("ngIf",!t.tidm.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.tidm)}}function eu(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(t.name.value)}}function tu(n,r){1&n&&e.eu8(0)}function nu(n,r){if(1&n&&(e.j41(0,"a",36),e.nI1(1,"companyUrl"),e.DNE(2,eu,2,1,"ng-container",9)(3,tu,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(8);e.Y8G("href",e.bMT(1,4,t),e.B4B),e.R7$(2),e.Y8G("ngIf",!t.name.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.name)}}function iu(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customcurrency"),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(e.ii3(2,1,t.lastprice.value,t.currency.value,!1,"code"))}}function ou(n,r){1&n&&e.eu8(0)}function ru(n,r){if(1&n&&(e.j41(0,"div",37),e.DNE(1,iu,3,6,"ng-container",9)(2,ou,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(8);e.R7$(),e.Y8G("ngIf",!t.lastprice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.lastprice)}}function au(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.percentualchange.value,"%"))}}function su(n,r){1&n&&e.eu8(0)}function lu(n,r){if(1&n&&(e.j41(0,"div",38),e.DNE(1,au,3,4,"ng-container",9)(2,su,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2),o=e.sdS(8);e.Y8G("ngClass",i.signCssClass(t.netchangesign)),e.R7$(),e.Y8G("ngIf",!t.percentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.percentualchange)}}function cu(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(t.issuername.value)}}function pu(n,r){1&n&&e.eu8(0)}function mu(n,r){if(1&n&&(e.j41(0,"a",39),e.nI1(1,"companyUrl"),e.DNE(2,cu,2,1,"ng-container",9)(3,pu,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(8);e.Y8G("href",e.bMT(1,4,t),e.B4B),e.R7$(2),e.Y8G("ngIf",!t.issuername.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.issuername)}}function _u(n,r){if(1&n&&(e.j41(0,"div",24)(1,"div",25)(2,"div",26),e.DNE(3,Zd,4,6,"a",27)(4,nu,4,6,"a",28),e.k0s(),e.j41(5,"div",29),e.DNE(6,ru,3,3,"div",30)(7,lu,3,4,"div",31),e.k0s(),e.j41(8,"div",32),e.DNE(9,mu,4,6,"a",33),e.nrm(10,"app-track",34),e.k0s()()()),2&n){const t=e.XpG(),i=t.$
1implicit;e.Mz_("id","risers-card-",t.index,""),e.R7$(3),e.Y8G("ngIf",i.tidm.visibility),e.R7$(),e.Y8G("ngIf",i.name.visibility),e.R7$(2),e.Y8G("ngIf",i.lastprice.visibility),e.R7$(),e.Y8G("ngIf",i.percentualchange.visibility),e.R7$(2),e.Y8G("ngIf",i.issuername.visibility),e.R7$(),e.Y8G("align","right")("tidm",i.tidm.value)}}function du(n,r){if(1&n&&(e.qex(0),e.DNE(1,_u,11,9,"div",23),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.tidm.value)}}function uu(n,r){1&n&&e.nrm(0,"div",40)}function gu(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",41),e.bIt("click",function(){const o=e.eBV(t).index,a=e.XpG(2);return e.Njj(a.selectSlide(o,"risers"))}),e.k0s()}if(2&n){const t=r.index,i=e.XpG(2);e.AVh("active-slide-selector",i.risersCurrentSlide===t),e.Mz_("id","selector-risers-card-",t,"")}}function hu(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",14),e.nrm(1,"div",15),e.j41(2,"div",2)(3,"div",16),e.DNE(4,Wd,2,1,"h3",9)(5,Jd,3,2,"div",10),e.k0s(),e.j41(6,"div",17),e.bIt("swipeleft",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.handleTouchMove(o,"risers","swipable-card"))})("swiperight",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.handleTouchMove(o,"risers","swipable-card"))})("animationstart",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.startAnimation(o))})("animationend",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.endAnimation(o))}),e.DNE(7,du,2,1,"ng-container",18),e.nI1(8,"slice"),e.DNE(9,uu,1,0,"div",19),e.k0s(),e.j41(10,"div",20),e.DNE(11,gu,1,4,"span",21),e.nI1(12,"slice"),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(4),e.Y8G("ngIf",t.content.risersTitle.value),e.R7$(),e.Y8G("ngIf",t.content.viewMoreRisersLabel.value&&t.highlights),e.R7$(),e.AVh("refreshing",t.statusRefreshed())("refreshed",t.statusRefreshed()&&!t.animation),e.R7$(),e.Y8G("ngForOf",e.brH(8,9,t.content.risers.value,0,t.maxCards)),e.R7$(2),e.Y8G("ngIf",t.fillRisers),e.R7$(2),e.Y8G("ngForOf",e.brH(12,13,t.content.risers.value,0,t.maxCards))}}function fu(n,r){if(1&n&&(e.j41(0,"h3"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.fallersTitle.value," ")}}function vu(n,r){if(1&n&&(e.j41(0,"div",12)(1,"a",22),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("href",t.ftseConstituentsLink,e.B4B),e.R7$(),e.JRh(t.content.viewMoreFallersLabel.value)}}function bu(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(t.tidm.value)}}function Cu(n,r){1&n&&e.eu8(0)}function Tu(n,r){if(1&n&&(e.j41(0,"a",35),e.nI1(1,"companyUrl"),e.DNE(2,bu,2,1,"ng-container",9)(3,Cu,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(8);e.Y8G("href",e.bMT(1,4,t),e.B4B),e.R7$(2),e.Y8G("ngIf",!t.tidm.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.tidm)}}function xu(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(t.name.value)}}function ku(n,r){1&n&&e.eu8(0)}function yu(n,r){if(1&n&&(e.j41(0,"a",36),e.nI1(1,"companyUrl"),e.DNE(2,xu,2,1,"ng-container",9)(3,ku,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(8);e.Y8G("href",e.bMT(1,4,t),e.B4B),e.R7$(2),e.Y8G("ngIf",!t.name.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.name)}}function wu(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customcurrency"),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(e.ii3(2,1,t.lastprice.value,t.currency.value,!1,"code"))}}function Iu(n,r){1&n&&e.eu8(0)}function Mu(n,r){if(1&n&&(e.j41(0,"div",37),e.DNE(1,wu,3,6,"ng-container",9)(2,Iu,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(8);e.R7$(),e.Y8G("ngIf",!t.lastprice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.lastprice)}}function Ou(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.percentualchange.value,"%"))}}function Ru(n,r){1&n&&e.eu8(0)}function Fu(n,r){if(1&n&&(e.j41(0,"div",38),e.DNE(1,Ou,3,4,"ng-container",9)(2,Ru,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2),o=e.sdS(8);e.Y8G("ngClass",i.signCssClass(t.netchangesign)),e.R7$(),e.Y8G("ngIf",!t.percentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.percentualchange)}}function Pu(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(t.issuername.value)}}function Gu(n,r){1&n&&e.eu8(0)}function Su(n,r){if(1&n&&(e.j41(0,"a",39),e.nI1(1,"companyUrl"),e.DNE(2,Pu,2,1,"ng-container",9)(3,Gu,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(8);e.Y8G("href",e.bMT(1,4,t),e.B4B),e.R7$(2),e.Y8G("ngIf",!t.issuername.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.issuername)}}function $u(n,r){if(1&n&&(e.j41(0,"div",24)(1,"div",25)(2,"div",26),e.DNE(3,Tu,4,6,"a",27)(4,yu,4,6,"a",28),e.k0s(),e.j41(5,"div",29),e.DNE(6,Mu,3,3,"div",30)(7,Fu,3,4,"div",31),e.k0s(),e.j41(8,"div",32),e.DNE(9,Su,4,6,"a",33),e.nrm(10,"app-track",34),e.k0s()()()),2&n){const t=e.XpG(),i=t.$
1implicit;e.Mz_("id","fallers-card-",t.index,""),e.R7$(3),e.Y8G("ngIf",i.tidm.visibility),e.R7$(),e.Y8G("ngIf",i.name.visibility),e.R7$(2),e.Y8G("ngIf",i.lastprice.visibility),e.R7$(),e.Y8G("ngIf",i.percentualchange.visibility),e.R7$(2),e.Y8G("ngIf",i.issuername.visibility),e.R7$(),e.Y8G("align","right")("tidm",i.tidm.value)}}function Eu(n,r){if(1&n&&(e.qex(0),e.DNE(1,$u,11,9,"div",23),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.tidm.value)}}function Du(n,r){1&n&&e.nrm(0,"div",40)}function ju(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",41),e.bIt("click",function(){const o=e.eBV(t).index,a=e.XpG(2);return e.Njj(a.selectSlide(o,"fallers"))}),e.k0s()}if(2&n){const t=r.index,i=e.XpG(2);e.AVh("active-slide-selector",i.fallersCurrentSlide===t),e.Mz_("id","selector-fallers-card-",t,"")}}function Nu(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",42),e.nrm(1,"div",15),e.j41(2,"div",2)(3,"div",16),e.DNE(4,fu,2,1,"h3",9)(5,vu,3,2,"div",10),e.k0s(),e.j41(6,"div",43),e.bIt("animationstart",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.startAnimation(o))})("animationend",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.endAnimation(o))})("swipeleft",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.handleTouchMove(o,"fallers","swipable-card"))})("swiperight",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.handleTouchMove(o,"fallers","swipable-card"))}),e.DNE(7,Eu,2,1,"ng-container",18),e.nI1(8,"slice"),e.DNE(9,Du,1,0,"div",19),e.k0s(),e.j41(10,"div",20),e.DNE(11,ju,1,4,"span",21),e.nI1(12,"slice"),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(4),e.Y8G("ngIf",t.content.fallersTitle.value),e.R7$(),e.Y8G("ngIf",t.content.viewMoreFallersLabel.value&&t.highlights),e.R7$(),e.AVh("refreshing",t.statusRefreshed())("refreshed",t.statusRefreshed()&&!t.animation),e.R7$(),e.Y8G("ngForOf",e.brH(8,9,t.content.fallers.value,0,t.maxCards)),e.R7$(2),e.Y8G("ngIf",t.fillFallers),e.R7$(2),e.Y8G("ngForOf",e.brH(12,13,t.content.fallers.value,0,t.maxCards))}}function Yu(n,r){if(1&n&&(e.j41(0,"h3"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.leadersTitle.value," ")}}function Xu(n,r){if(1&n&&(e.j41(0,"div",12)(1,"a",22),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("href",t.ftseConstituentsLink,e.B4B),e.R7$(),e.JRh(t.content.viewMoreLeadersLabel.value)}}function Bu(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(t.tidm.value)}}function Vu(n,r){1&n&&e.eu8(0)}function Lu(n,r){if(1&n&&(e.j41(0,"a",35),e.nI1(1,"companyUrl"),e.DNE(2,Bu,2,1,"ng-container",9)(3,Vu,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(8);e.Y8G("href",e.bMT(1,4,t),e.B4B),e.R7$(2),e.Y8G("ngIf",!t.tidm.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.tidm)}}function Au(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(t.name.value)}}function qu(n,r){1&n&&e.eu8(0)}function Uu(n,r){if(1&n&&(e.j41(0,"a",36),e.nI1(1,"companyUrl"),e.DNE(2,Au,2,1,"ng-container",9)(3,qu,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(8);e.Y8G("href",e.bMT(1,4,t),e.B4B),e.R7$(2),e.Y8G("ngIf",!t.name.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.name)}}function zu(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"number"),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.volume.value,"1.0-0"))}}function Hu(n,r){1&n&&e.eu8(0)}function Wu(n,r){if(1&n&&(e.j41(0,"div",29)(1,"div"),e.EFF(2,"Volume"),e.k0s(),e.j41(3,"div",46),e.DNE(4,zu,3,4,"ng-container",9)(5,Hu,1,0,"ng-container",11),e.k0s()()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(8);e.R7$(4),e.Y8G("ngIf",!t.volume.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.volume)}}function Ju(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(t.issuername.value)}}function Ku(n,r){1&n&&e.eu8(0)}function Qu(n,r){if(1&n&&(e.j41(0,"a",39),e.nI1(1,"companyUrl"),e.DNE(2,Ju,2,1,"ng-container",9)(3,Ku,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(8);e.Y8G("href",e.bMT(1,4,t),e.B4B),e.R7$(2),e.Y8G("ngIf",!t.issuername.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.issuername)}}function Zu(n,r){if(1&n&&(e.j41(0,"div",24)(1,"div",25)(2,"div",26),e.DNE(3,Lu,4,6,"a",27)(4,Uu,4,6,"a",28),e.k0s(),e.DNE(5,Wu,6,3,"div",45),e.j41(6,"div",32),e.DNE(7,Qu,4,6,"a",33),e.nrm(8,"app-track",34),e.k0s()()()),2&n){const t=e.XpG(),i=t.$
1implicit;e.Mz_("id","leaders-card-",t.index,""),e.R7$(3),e.Y8G("ngIf",i.tidm.visibility),e.R7$(),e.Y8G("ngIf",i.name.visibility),e.R7$(),e.Y8G("ngIf",i.volume.visibility),e.R7$(2),e.Y8G("ngIf",i.issuername.visibility),e.R7$(),e.Y8G("align","right")("tidm",i.tidm.value)}}function eg(n,r){if(1&n&&(e.qex(0),e.DNE(1,Zu,9,8,"div",23),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.tidm.value)}}function tg(n,r){1&n&&e.nrm(0,"div",40)}function ng(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",41),e.bIt("click",function(){const o=e.eBV(t).index,a=e.XpG(2);return e.Njj(a.selectSlide(o,"leaders"))}),e.k0s()}if(2&n){const t=r.index,i=e.XpG(2);e.AVh("active-slide-selector",i.leadersCurrentSlide===t),e.Mz_("id","selector-leaders-card-",t,"")}}function ig(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",44),e.nrm(1,"div",15),e.j41(2,"div",2)(3,"div",16),e.DNE(4,Yu,2,1,"h3",9)(5,Xu,3,2,"div",10),e.k0s(),e.j41(6,"div",43),e.bIt("animationstart",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.startAnimation(o))})("animationend",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.endAnimation(o))})("swipeleft",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.handleTouchMove(o,"leaders","swipable-card"))})("swiperight",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.handleTouchMove(o,"leaders","swipable-card"))}),e.DNE(7,eg,2,1,"ng-container",18),e.nI1(8,"slice"),e.DNE(9,tg,1,0,"div",19),e.k0s(),e.j41(10,"div",20),e.DNE(11,ng,1,4,"span",21),e.nI1(12,"slice"),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(4),e.Y8G("ngIf",t.content.leadersTitle.value),e.R7$(),e.Y8G("ngIf",t.content.viewMoreLeadersLabel.value&&t.highlights),e.R7$(),e.AVh("refreshing",t.statusRefreshed())("refreshed",t.statusRefreshed()&&!t.animation),e.R7$(),e.Y8G("ngForOf",e.brH(8,9,t.content.leaders.value,0,t.maxCards)),e.R7$(2),e.Y8G("ngIf",t.fillLeaders),e.R7$(2),e.Y8G("ngForOf",e.brH(12,13,t.content.leaders.value,0,t.maxCards))}}function og(n,r){if(1&n&&(e.j41(0,"div",47),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.legalText.value," ")}}function rg(n,r){if(1&n&&e.nrm(0,"app-hide-field",49),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function ag(n,r){1&n&&e.DNE(0,rg,1,1,"app-hide-field",48),2&n&&e.Y8G("ngIf",r.errorText)}let Ei=(()=>{class n{constructor(t,i,o,a,s,c){this.cssmapping=t,this.store=i,this.refreshService=o,this.swipe=a,this.isBreakpoint=s,this.cd=c,this.highlights=!1,this.maxCards=9,this.risersCurrentSlide=0,this.fallersCurrentSlide=0,this.leadersCurrentSlide=0,this.animation=!1,this._fillRisers=!1,this._fillFallers=!1,this._fillLeaders=!1,this.ngUnsubscribe=new re.B}get fillRisers(){return this._fillRisers}get fillFallers(){return this._fillFallers}get fillLeaders(){return this._fillLeaders}setSlide(t,i){switch(t){case"risers":this.risersCurrentSlide=i;break;case"leaders":this.leadersCurrentSlide=i;break;case"fallers":this.fallersCurrentSlide=i}}getSlideValue(t){switch(t){case"risers":return this.risersCurrentSlide;case"leaders":return this.leadersCurrentSlide;case"fallers":return this.fallersCurrentSlide}}fillCard(t){return!!(Math.min(t,this.maxCards)%3)}signCssClass(t){return this.cssmapping.cssClass(t)}selectSlide(t,i){this.swipeClass(t,i),this.setSlide(i,t)}handleTouchMove(t,i,o){const a=this.swipe.handleTouchMove(t,o);if("left"===a&&this.getSlideValue(i)<this.maxCards-1){const s=this.getSlideValue(i);this.selectSlide(s+1,i)}if("right"===a&&this.getSlideValue(i)>0){const s=this.getSlideValue(i);this.selectSlide(s-1,i)}}swipeClass(t,i){this.swipe.swipeClass(t,i,this.maxCards)}ngOnInit(){this.store.pipe((0,u.Lt)(h.IQ),(0,f.s)(1)).subscribe(t=>{t&&"market-data-dashboard"===t.page_type&&(this.highlights=!0,this.maxCards=3)}),this.addFillerCards(),this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content,this.status),this.store.pipe((0,u.Lt)(h.P3),(0,W.p)(t=>null!==t),(0,ie.Q)(this.ngUnsubscribe)).subscribe(t=>{this.indexCode=t,this.refreshService.refreshComponent(this.id,this.position,this.type,this.content,{...this.status,params:this.status.params.set("indicescode",t)})})}initSlides(){this.selectSlide(0,"risers"),this.selectSlide(0,"fallers"),this.selectSlide(0,"leaders")}ngAfterViewInit(){this.initSlides()}ngOnChanges(){this.setExploreAllLink(),this.setFtseConstituentsLink()}addFillerCards(){if(!this.isBreakpoint.tabletLandscape())return this._fillRisers=!!this.content.risers.value&&this.fillCard(this.content.risers.value.length),this._fillFallers=!!this.content.fallers.value&&this.fillCard(this.content.fallers.value.length),void(this._fillLeaders=!!this.content.leaders.value&&this.fillCard(this.content.leaders.value.length));this._fillRisers=!1,this._fillFallers=!1,this._fillLeaders=!1}statusRefreshing(){return!0===this.status.refreshing}statusRefreshed(){return!1===this.status.refreshing}startAnimation(t){"rotating"===t.animationName&&(this.animation=!0)}endAnimation(t){"rotating"===t.animationName&&(this.animation=!1),this.initSlides()}
1ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id),this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}setExploreAllLink(){const t=(new F.Nl).set("categories","EQUITY");this.priceExplorerLink=k.T.getLink("price-explorer",t),this.cd.markForCheck()}setFtseConstituentsLink(){this.ftseConstituentsLink=k.T.getFtseUrlByLinkType("ftse-constituents",this.content.rflTickerDescription.value,"risers-and-fallers-and-volume-leaders"),this.cd.markForCheck()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o),e.rXU(u.il),e.rXU(j.W),e.rXU(Ee.h),e.rXU(S.f),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-risers-fallers-leaders"]],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.addFillerCards(s)},!1,e.tSv)},inputs:{content:"content",id:"id",position:"position",type:"type",status:"status"},features:[e.OA$],decls:9,vars:5,consts:[["emptyvalue",""],["id","risers-fallers-leaders",1,"risers-fallers-leaders-component","gtm-track-component","component"],[1,"wrapper","x-large-width","x-large-width-padding"],["class","rfl-header flex-container spaced-flex-container flex-align-center",4,"ngIf"],["class","rfl-risers stripe",4,"ngIf"],["class","rfl-fallers stripe",4,"ngIf"],["class","rfl-leaders stripe",4,"ngIf"],["class","wrapper x-large-width x-large-width-padding small-font-size",4,"ngIf"],[1,"rfl-header","flex-container","spaced-flex-container","flex-align-center"],[4,"ngIf"],["class","h-link",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"h-link"],[3,"href"],[1,"rfl-risers","stripe"],[1,"pattern-stripe"],[1,"rfl-title","flex-container","spaced-flex-container","flex-align-center"],[1,"flex-wrapper","cards-container","swipable-card-container","spaced-flex-container",3,"swipeleft","swiperight","animationstart","animationend"],[4,"ngFor","ngForOf"],["class","card x-small-width card-filler hide-on-portrait",4,"ngIf"],[1,"swipable-slider","show-on-portrait"],["class","slide-selector",3,"active-slide-selector","id","click",4,"ngFor","ngForOf"],[1,"black-link",3,"href"],["class","card x-small-width swipable-card",3,"id",4,"ngIf"],[1,"card","x-small-width","swipable-card",3,"id"],[1,"card-front"],[1,"name-container","ellipsed"],["class","card-name bold-font-weight clickable",3,"href",4,"ngIf"],["class","bold-font-weight clickable black-link",3,"href",4,"ngIf"],[1,"price-container"],["class","regular-font-size",4,"ngIf"],["class","card-data bigger-font-size bold-font-weight",3,"ngClass",4,"ngIf"],[1,"rfl-card-footer","spaced-flex-container","flex-align-center"],["class","clickable black-link",3,"href",4,"ngIf"],[3,"align","tidm"],[1,"card-name","bold-font-weight","clickable",3,"href"],[1,"bold-font-weight","clickable","black-link",3,"href"],[1,"regular-font-size"],[1,"card-data","bigger-font-size","bold-font-weight",3,"ngClass"],[1,"clickable","black-link",3,"href"],[1,"card","x-small-width","card-filler","hide-on-portrait"],[1,"slide-selector",3,"click","id"],[1,"rfl-fallers","stripe"],[1,"flex-wrapper","cards-container","swipable-card-container","spaced-flex-container",3,"animationstart","animationend","swipeleft","swiperight"],[1,"rfl-leaders","stripe"],["class","price-container",4,"ngIf"],[1,"bigger-font-size","card-data","bold-font-weight"],[1,"wrapper","x-large-width","x-large-width-padding","small-font-size"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"section",1)(1,"div",2),e.DNE(2,Hd,3,2,"div",3),e.k0s(),e.DNE(3,hu,13,17,"div",4)(4,Nu,13,17,"div",5)(5,ig,13,17,"div",6)(6,og,2,1,"div",7),e.k0s(),e.DNE(7,ag,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.R7$(2),e.Y8G("ngIf",o.highlights),e.R7$(),e.Y8G("ngIf",o.content.risers.value&&o.content.risers.value.length),e.R7$(),e.Y8G("ngIf",o.content.fallers.value&&o.content.fallers.value.length),e.R7$(),e.Y8G("ngIf",o.content.leaders.value&&o.content.leaders.value.length),e.R7$(),e.Y8G("ngIf",o.content.legalText.value))},dependencies:[l.YU,l.Sq,l.bT,l.T3,H.J,y.W,l.P9,l.QX,ee.p,ve.b,Ut.X],styles:[".risers-fallers-leaders-component[_ngcontent-%COMP%] .stripe[_ngcontent-%COMP%], .risers-fallers-leaders-component[_ng
1content-%COMP%] .stripe[_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%]{position:relative}.risers-fallers-leaders-component[_ngcontent-%COMP%] .pattern-stripe[_ngcontent-%COMP%]{bottom:calc(50% - 1.5rem)}.rfl-header[_ngcontent-%COMP%]{margin-bottom:1rem;margin-top:1.5rem}.rfl-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:0}@media (max-width: 480px){.rfl-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:.5rem}}.rfl-card-footer[_ngcontent-%COMP%]{display:flex;margin-top:.5rem}.rfl-card-footer[_ngcontent-%COMP%] .clickable[_ngcontent-%COMP%]{width:calc(100% - 4rem)}.rfl-risers[_ngcontent-%COMP%] .pattern-stripe[_ngcontent-%COMP%]{background-color:#67c2751a}.rfl-risers[_ngcontent-%COMP%] .card-front[_ngcontent-%COMP%]{border-left-color:#22775e}.rfl-fallers[_ngcontent-%COMP%] .pattern-stripe[_ngcontent-%COMP%]{background-color:#db3c2f1a}.rfl-fallers[_ngcontent-%COMP%] .card-front[_ngcontent-%COMP%]{border-left-color:#7e1b1b}.rfl-leaders[_ngcontent-%COMP%] .pattern-stripe[_ngcontent-%COMP%]{background-color:#1abaad1a}.rfl-leaders[_ngcontent-%COMP%] .card-front[_ngcontent-%COMP%]{border-left-color:#1abaad}.rfl-title[_ngcontent-%COMP%]{padding:1rem 0 0}.rfl-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#000c66;margin:0}@media (max-width: 480px){.rfl-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:.5rem}}.card[_ngcontent-%COMP%]{animation-duration:1s;animation-iteration-count:1;background-color:#fff;border:.0625rem solid #b2b2b2;height:11.5rem;margin-bottom:.5rem;padding:0;transform-style:preserve-3d;transition-duration:.5s;transition-property:all}.card-filler[_ngcontent-%COMP%]{animation:none;background-color:transparent;border:0;opacity:0;transition:none}.card-front[_ngcontent-%COMP%]{border-left:.25rem solid;display:block;inset:0;margin:0;opacity:1;padding:1rem;position:absolute}.refreshing[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{animation-name:rotating}.refreshing[_ngcontent-%COMP%]:not(.refreshed) .card-front[_ngcontent-%COMP%]{opacity:0}.refreshing.refreshed[_ngcontent-%COMP%] .card-front[_ngcontent-%COMP%]{animation-duration:.5s;animation-iteration-count:1;animation-name:showup}.card-name[_ngcontent-%COMP%]:hover{color:#001eff}"],changeDetection:0})}}return n})();const wt=n=>({errorText:n});function sg(n,r){if(1&n&&(e.j41(0,"tr",10)(1,"th",11),e.EFF(2),e.k0s(),e.j41(3,"th",12),e.EFF(4),e.k0s(),e.j41(5,"th"),e.EFF(6),e.k0s(),e.j41(7,"th"),e.EFF(8),e.k0s(),e.j41(9,"th"),e.EFF(10),e.k0s(),e.j41(11,"th"),e.EFF(12),e.k0s(),e.j41(13,"th"),e.EFF(14),e.k0s(),e.nrm(15,"th"),e.k0s()),2&n){const t=r.$implicit;e.R7$(2),e.JRh(t.tidm.label),e.R7$(2),e.JRh(t.description.label),e.R7$(2),e.JRh(t.currency.label),e.R7$(2),e.JRh(t.lastprice.label),e.R7$(2),e.JRh(t.netchange.label),e.R7$(2),e.JRh(t.percentualchange.label),e.R7$(2),e.JRh(t.category.label)}}function lg(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.currency.value," ")}}function cg(n,r){if(1&n&&(e.qex(0),e.DNE(1,lg,2,1,"ng-container",9),e.eu8(2,20),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(15);e.R7$(),e.Y8G("ngIf",!t.currency.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,wt,t.currency.errorText))}}function pg(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",21),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.defaultFieldValue)}}function mg(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.lastprice.value)," ")}}function _g(n,r){if(1&n&&(e.qex(0),e.DNE(1,mg,3,3,"ng-container",9),e.eu8(2,20),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(15);e.R7$(),e.Y8G("ngIf",!t.lastprice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,wt,t.lastprice.errorText))}}function dg(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",21),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.defaultFieldValue)}}function ug(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.netchange.value)," ")}}function gg(n,r){if(1&n&&(e.qex(0),e.DNE(1,ug,3,3,"ng-container",9),e.eu8(2,20),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(15);e.R7$(),e.Y8G("ngIf",!t.netchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,wt,t.netchange.errorText))}}function hg(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",21),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.defaultFieldValue)}}function fg(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.i5U(2,1,t.percentualchange.value,"%")," ")}}function vg(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,fg,3,4,"ng-container",9),e.eu8(2,20),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(15);e.R7$(),e.Y8G("ngIf",!t.percentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,wt,t.percentualchange.errorText))}}function bg(n,r){if(1&n&&(e.j41(0,"span")(1,"span",21),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.defaultFieldValue)}}function Cg(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"etfs"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.category.value)," ")}}function Tg(n,r){if(1&n&&(e.j41(0,"span",22),e.DNE(1,Cg,3,3,"ng-container",9),e.eu8(2,20),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(15);e.Y8G("ngClass",!t.category.errorText&&t.category.visibility?"instrument-label":""),e.R7$(),e.Y8G("ngIf",!t.category.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(4,wt,t.category.errorText))}}function xg(n,r){if(1&n&&(e.j41(0,"span")(1,"span",21),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.defaultFieldValue)}}function kg(n,r){if(1&n&&(e.j41(0,"tr",13)(1,"td",14),e.nrm(2,"app-link-or-dash",15),e.nI1(3,"companyUrl"),e.k0s(),e.j41(4,"td",16),e.nrm(5,"app-link-or-dash",15),e.nI1(6,"companyUrl"),e.k0s(),e.j41(7,"td"),e.DNE(8,cg,3,5,"ng-container",9)(9,pg,3,1,"ng-container",9),e.k0s(),e.j41(10,"td"),e.DNE(11,_g,3,5,"ng-container",9)(12,dg,3,1,"ng-container",9),e.k0s(),e.j41(13,"td",17),e.DNE(14,gg,3,5,"ng-container",9)(15,hg,3,1,"ng-container",9),e.k0s(),e.j41(16,"td",17),e.DNE(17,vg,3,5,"span",9)(18,bg,3,1,"span",9),e.k0s(),e.j41(19,"td",17),e.DNE(20,Tg,3,6,"span",18)(21,xg,3,1,"span",9),e.k0s(),e.j41(22,"td"),e.nrm(23,"app-track",19),e.k0s()()),2&n){const t=r.$implicit,i=r.index,o=e.XpG();e.AVh("active-panel",0===i),e.Mz_("id","slide-",i,""),e.R7$(2),e.Y8G("link",e.bMT(3,30,t))("linkClasses","blue-text")("dashClasses","blue-text")("value",t.tidm.value)("errorText",t.tidm.errorText)("visibility",t.tidm.visibility),e.R7$(3),e.Y8G("link",e.bMT(6,32,t))("linkClasses","ellipsed black-link")("dashClasses","black-link")("value",t.description.value)("errorText",t.description.errorText)("visibility",t.description.visibility),e.R7$(3),e.Y8G("ngIf",t.currency.visibility),e.R7$(),e.Y8G("ngIf",!t.currency.visibility),e.R7$(2),e.Y8G("ngIf",t.lastprice.visibility),e.R7$(),e.Y8G("ngIf",!t.lastprice.visibility),e.R7$(),e.Y8G("ngClass",o.netchangeCssClass(t.netchange)),e.R7$(),e.Y8G("ngIf",t.netchange.visibility),e.R7$(),e.Y8G("ngIf",!t.netchange.visibility),e.R7$(),e.Y8G("ngClass",t.netchangesign.visibility&&t.percentualchange.visibility&&!t.netchangesign.errorText&&!t.percentualchange.errorText?o.instrumentCssClass(t.netchangesign):""),e.R7$(),e.Y8G("ngIf",t.percentualchange.visibility),e.R7$(),e.Y8G("ngIf",!t.percentualchange.visibility),e.R7$(),e.Y8G("ngClass",!t.category.errorText&&t.category.visibility?o.instrumentCssClass(t.category):""),e.R7$(),e.Y8G("ngIf",t.category.visibility),e.R7$(),e.Y8G("ngIf",!t.category.visibility),e.R7$(2),e.Y8G("tidm",t.tidm.value)}}function yg(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",25),e.bIt("click",function(){const o=e.eBV(t).index,a=e.XpG(2);return e.Njj(a.selectSlide(o))}),e.k0s()}if(2&n){const t=r.index;e.AVh("active-slide-selector",0===t),e.Mz_("id","selector-slide-",t,"")}}function wg(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",23),e.DNE(2,yg,1,4,"span",24),e.nI1(3,"slice"),e.k0s(),e.bVm()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngForOf",e.brH(3,1,t.content.etfInstruments.value,0,5))}}function Ig(n,r){if(1&n&&e.nrm(0,"app-hide-field",27),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function Mg(n,r){1&n&&e.DNE(0,Ig,1,1,"app-hide-field",26),2&n&&e.Y8G("ngIf",r.errorText)}let Di=(()=>{class n{constructor(t,i){this.cssmapping=t,this.swipe=i,this.defaultFieldValue=w.M.DEFAULT_VALUE}ngOnInit(){}selectSlide(t){this.swipe.selectSlide(t)}handleTouchMove(t){this.swipe.handleTouchMove(t)}instrumentCssClass(t){return this.cssmapping.cssClass(t)}exploreAllLink(){let t=new F.Nl;return t=t.set("categories","ETFS"),k.T.getLink("price-explorer",t)}netchangeCssClass(t){return this.cssmapping.getNetChangeClass(t)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o),e.rXU(Ee.h))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-etf-risers-table"]],inputs:{content:"content"},decls:16,vars:10,consts:[["emptyvalue",""],["id","etf-risers-table",1,"etf-risers-table-component","component","wrapper","x-large-width","x-large-width-padding","gtm-track-component"],[1,"etf-risers-header","flex-wrapper","spaced-flex-container"],[1,"section-title"],[1,"h-link",3,"href"],[1,"full-width","etf-risers-table","swipable-table"],["class","table-header",4,"ngFor","ngForOf"],[3,"swipeleft","swiperight"],["class","medium-font-we
1ight slide-panel",3,"active-panel","id",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"table-header"],[1,"code"],[1,"name"],[1,"medium-font-weight","slide-panel",3,"id"],[1,"clickable","code","bold-font-weight","td-with-link"],[3,"link","linkClasses","dashClasses","value","errorText","visibility"],[1,"clickable","name","td-with-link"],[3,"ngClass"],["class","small-font-size",3,"ngClass",4,"ngIf"],[3,"tidm"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"dash-wrapper"],[1,"small-font-size",3,"ngClass"],[1,"swipable-slider","show-on-landscape"],["class","slide-selector",3,"active-slide-selector","id","click",4,"ngFor","ngForOf"],[1,"slide-selector",3,"click","id"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"div")(3,"h3",3),e.EFF(4),e.k0s()(),e.j41(5,"a",4),e.EFF(6),e.k0s()(),e.j41(7,"table",5)(8,"thead"),e.DNE(9,sg,16,7,"tr",6),e.nI1(10,"slice"),e.k0s(),e.j41(11,"tbody",7),e.bIt("swipeleft",function(c){return e.eBV(a),e.Njj(o.handleTouchMove(c))})("swiperight",function(c){return e.eBV(a),e.Njj(o.handleTouchMove(c))}),e.DNE(12,kg,24,34,"tr",8),e.k0s()(),e.DNE(13,wg,4,5,"ng-container",9),e.k0s(),e.DNE(14,Mg,1,1,"ng-template",null,0,e.C5r)}2&i&&(e.R7$(4),e.SpI(" ",o.content.title.value," "),e.R7$(),e.Y8G("href",o.exploreAllLink(),e.B4B),e.R7$(),e.SpI(" ",o.content.exploreLabel.value," "),e.R7$(3),e.Y8G("ngForOf",e.brH(10,6,o.content.etfInstruments.value,0,1)),e.R7$(3),e.Y8G("ngForOf",o.content.etfInstruments.value),e.R7$(),e.Y8G("ngIf",o.content.etfInstruments.value.length>0))},dependencies:[l.YU,l.Sq,l.bT,l.T3,H.J,y.W,xe,l.P9,ee.p,ve.b,Te.Z],styles:[".etf-risers-header[_ngcontent-%COMP%]{align-items:flex-end;margin-bottom:1rem}.negativechange[_ngcontent-%COMP%]:before, .positivechange[_ngcontent-%COMP%]:before{display:none}td[_ngcontent-%COMP%]{padding:.5rem}table[_ngcontent-%COMP%]{table-layout:fixed}th[_ngcontent-%COMP%]{width:7rem}th.code[_ngcontent-%COMP%]{width:5rem}th.name[_ngcontent-%COMP%]{width:auto}td.name[_ngcontent-%COMP%]{padding-right:1rem}@media (max-width: 1144px){th.code[_ngcontent-%COMP%], th.name[_ngcontent-%COMP%]{height:3rem;line-height:2rem}td.code[_ngcontent-%COMP%], td.name[_ngcontent-%COMP%]{padding-left:0}}.swipable-table[_ngcontent-%COMP%] tr.table-header[_ngcontent-%COMP%]{min-width:6.75rem;width:6.75rem}.swipable-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{margin-left:6.75rem}"],changeDetection:0})}}return n})();function Og(n,r){if(1&n&&(e.j41(0,"div",14)(1,"div",15),e.EFF(2),e.nI1(3,"etfs"),e.k0s(),e.j41(4,"div",16),e.EFF(5),e.k0s()()),2&n){const t=r.$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,2,t.category)," "),e.R7$(3),e.SpI(" ",t.count," ")}}function Rg(n,r){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"div",18),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.refreshRecentIssuesCounter(o))}),e.EFF(2),e.k0s()()}if(2&n){const t=r.$implicit;e.R7$(2),e.JRh(t)}}function Fg(n,r){if(1&n&&(e.j41(0,"ul"),e.DNE(1,Rg,3,1,"li",17),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.timePeriodSelectOptions)}}let ji=(()=>{class n{constructor(t){this.refreshService=t,this.selectStatus=!1,this.timePeriodSelectOptions=[]}ngOnInit(){this.content.timePeriodDropdown.value&&(this.timePeriodSelectOptions=this.content.timePeriodDropdown.value.split("|",2).map(t=>t.trim()),this.timePeriodSelectOptionDefault=this.timePeriodSelectOptions[0])}ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id)}toggleExpansion(){this.selectStatus=!this.selectStatus}refreshRecentIssuesCounter(t){const i="Last 30 days"===t?Q()().subtract(30,"days").format("YYYYMMDD"):Q()().subtract(7,"days").format("YYYYMMDD"),o=Q()().format("YYYYMMDD"),a=i,s=o;this.timePeriodSelectOptionDefault=t,this.status={...this.status,filters:{from:`${i}`,to:`${o}`},params:this.status.params.set("from",a).set("to",s)},this.refreshService.refreshComponent(this.id,this.position,this.type,this.content,this.status)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(j.W))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-recent-issues-counter"]],inputs:{content:"content",type:"type",position:"position",id:"id",status:"status"},decls:17,vars:7,consts:[["id","recent-issues-counter",1,"component","full-width","cover-image","recent-issues-counter","gtm-track-component"],[1,"x-large-width","wrapper","issues-counter-wrapper","x-large-width-padding"],[1,"section-title"],[1,"mobile-flex-wrapper","spaced-flex-container","wider-left"],[1,"issues-counter"],[1,"mobile-flex-wrapper","spaced-flex-container","quarter-width"],["class","issue issue-outline align-center",4,"ngFor","ngForOf"],[1,"time-period-wrapper","flex-wrapper"],[1,"jump-menu","mobile-flex-wrapper"],[1,"dropmenu
1-label","medium-font-weight"],[1,"dropmenu","dropdown",3,"click","ngClass"],[4,"ngIf"],[1,"recent-issue-link","mobile-flex-wrapper","spaced-flex-container"],[1,"bold-font-weight","gold-button",3,"href"],[1,"issue","issue-outline","align-center"],[1,"category","old-font-weight","regular-font-size"],[1,"larger-font-size","bold-font-weight","count"],[4,"ngFor","ngForOf"],["title","item",1,"fake-link","gtm-trackable","old-font-weight","regular-font-size",3,"click"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"div",1)(2,"h3",2),e.EFF(3),e.k0s(),e.j41(4,"div",3)(5,"div",4)(6,"div",5),e.DNE(7,Og,6,4,"div",6),e.k0s()(),e.j41(8,"div",7)(9,"div",8),e.nrm(10,"span",9),e.j41(11,"span",10),e.bIt("click",function(){return o.toggleExpansion()}),e.EFF(12),e.DNE(13,Fg,2,1,"ul",11),e.k0s()()()(),e.j41(14,"div",12)(15,"a",13),e.EFF(16),e.k0s()()()()),2&i&&(e.R7$(3),e.JRh(o.content.title.value),e.R7$(4),e.Y8G("ngForOf",o.content.instrumentsCounters.value.content),e.R7$(4),e.Y8G("ngClass",o.selectStatus?"expanded":""),e.R7$(),e.SpI(" ",o.timePeriodSelectOptionDefault," "),e.R7$(),e.Y8G("ngIf",o.timePeriodSelectOptions),e.R7$(2),e.FS9("href",o.content.viewMoreLink.value,e.B4B),e.R7$(),e.SpI(" ",o.content.viewMoreLabel.value," "))},dependencies:[l.YU,l.Sq,l.bT,Te.Z],styles:[".recent-issue-link[_ngcontent-%COMP%]{margin-top:2rem;width:100%}@media (max-width: 768px){.recent-issue-link[_ngcontent-%COMP%]{margin:0 auto;max-width:100%;width:100%}}.recent-issue-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}.recent-issues-counter[_ngcontent-%COMP%]{background-color:#000}.issues-counter-wrapper[_ngcontent-%COMP%]{padding-top:2rem}.issues-counter-wrapper[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{color:#fff}@media (max-width: 768px){.issues-counter-wrapper[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{display:block;margin:0 auto;max-width:22.5rem}}.issues-counter-wrapper[_ngcontent-%COMP%] .wider-left[_ngcontent-%COMP%]{padding-top:2rem}.issue-outline[_ngcontent-%COMP%]{border:.125rem solid #ffffff;color:#fff;padding:1rem 0}.wider-left[_ngcontent-%COMP%] .issues-counter[_ngcontent-%COMP%]{max-width:46.5rem;width:100%}@media (max-width: 1144px){.wider-left[_ngcontent-%COMP%] .issues-counter[_ngcontent-%COMP%]{width:65%}}@media (max-width: 768px){.wider-left[_ngcontent-%COMP%] .issues-counter[_ngcontent-%COMP%]{max-width:100%;width:100%}}.wider-left[_ngcontent-%COMP%] .time-period-wrapper[_ngcontent-%COMP%]{max-width:19.25rem;width:100%}@media (max-width: 1144px){.wider-left[_ngcontent-%COMP%] .time-period-wrapper[_ngcontent-%COMP%]{width:21%}}@media (max-width: 768px){.wider-left[_ngcontent-%COMP%] .time-period-wrapper[_ngcontent-%COMP%]{margin:0 auto;max-width:100%;width:100%}}@media (max-width: 768px){.quarter-width[_ngcontent-%COMP%]{margin:0 auto;max-width:22.5rem}}.quarter-width[_ngcontent-%COMP%] .issue[_ngcontent-%COMP%]{width:21%}@media (max-width: 1144px){.quarter-width[_ngcontent-%COMP%] .issue[_ngcontent-%COMP%]{width:21%}}@media (max-width: 768px){.quarter-width[_ngcontent-%COMP%] .issue[_ngcontent-%COMP%]{margin-bottom:2rem;max-width:10rem;width:48%}}.jump-menu[_ngcontent-%COMP%]{width:100%}.jump-menu[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]{background:transparent}.jump-menu[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{background:#000}.dropdown.expanded[_ngcontent-%COMP%] .fake-link[_ngcontent-%COMP%]{line-height:3rem}"],changeDetection:0})}}return n})(),In=(()=>{class n{constructor(t){this.http=t,this.baseUrl=M.c.issuerService,this.resource=M.c.endpoints.remoteLogo}getLogo(t){const i=this.baseUrl+this.resource.replace("{issuercode}",t);return this.http.get(i).pipe((0,Ge.W)(o=>((0,te.z3)("Error to retrieve logo: ",o,window.location.href),(0,q.of)({logo:null}))))}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(F.Qq))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function Pg(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.tidm.value)}}function Gg(n,r){1&n&&e.eu8(0)}function Sg(n,r){if(1&n&&(e.j41(0,"a",25),e.nI1(1,"companyUrl"),e.DNE(2,Pg,2,1,"ng-container",26)(3,Gg,1,0,"ng-container",27),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(19);e.Y8G("href",e.bMT(1,4,t),e.B4B),e.R7$(2),e.Y8G("ngIf",!t.tidm.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.tidm)}}function $g(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.name.value)}}function Eg(n,r){1&n&&e.eu8(0)}function Dg(n,r){if(1&n&&(e.j41(0,"a",28),e.nI1(1,"companyUrl"),e.DNE(2,$g,2,1,"ng-container",26)(3,Eg,1,0,"ng-container",27),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(19);e.Y8G("href",e.bMT(1,4,t),e.B4B),e.R7$(2),e.Y8G("ngIf",!t.name.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.name)}}function jg(n,r){if(1&n&&(e.qex(0),e.j41(1,"div"),e.EFF(2),e.k0s(),e.j41(3,"div",30),e.EFF(4),e.nI1(5,"customcurrency"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.JRh(t.lastprice.label),e.R7$(2),e.SpI(" ",e.ii3(5,2,t.lastprice.value,t.currency.value,!1,"code")," ")}}function Ng(n,r){1&n&&e.eu8(0)}function Yg(n,r){if(1&n&&(e.j41(0,"span",29),e.DNE(1,jg,6,7,"ng-container",26)(2,Ng,1,0,"ng-container",27),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(19);e.R7$(),e.Y8G("ngIf",!t.lastprice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.lastprice)}}function Xg(n,r){if(1&n&&(e.qex(0),e.j41(1,"div"),e.EFF(2),e.k0s(),e.j41(3,"div",30),e.EFF(4),e.nI1(5,"customcurrency"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.JRh(t.amountissued.label),e.R7$(2),e.SpI(" ",e.brH(5,2,t.amountissued.value,t.currency.value,!0)," ")}}function Bg(n,r){1&n&&e.eu8(0)}function Vg(n,r){if(1&n&&(e.j41(0,"span",29),e.DNE(1,Xg,6,6,"ng-container",26)(2,Bg,1,0,"ng-container",27),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(19);e.R7$(),e.Y8G("ngIf",!t.amountissued.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.amountissued)}}function Lg(n,r){if(1&n&&(e.qex(0),e.j41(1,"div"),e.EFF(2),e.k0s(),e.j41(3,"div",30),e.EFF(4),e.nI1(5,"customnumber"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.JRh(t.couponrate.label),e.R7$(2),e.SpI(" ",e.i5U(5,2,t.couponrate.value,"%")," ")}}function Ag(n,r){1&n&&e.eu8(0)}function qg(n,r){if(1&n&&(e.j41(0,"span",29),e.DNE(1,Lg,6,5,"ng-container",26)(2,Ag,1,0,"ng-container",27),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(19);e.R7$(),e.Y8G("ngIf",!t.couponrate.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.couponrate)}}function Ug(n,r){if(1&n){const t=e.RV6();e.j41(0,"figure",31),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG();return e.Njj(a.selectInstrument(o.tidm.value))}),e.j41(1,"div",32),e.bIt("canLoad",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.canLoad(o))}),e.k0s()()}if(2&n){const t=e.XpG().$implicit,i=e.XpG();e.R7$(),e.Y8G("ngStyle",i.canLoads?i.bgStyle(i.imageToShow(t.remoteLogo.value.data)):null)}}function zg(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.issuername.value)}}function Hg(n,r){1&n&&e.eu8(0)}function Wg(n,r){if(1&n&&(e.j41(0,"a",33),e.nI1(1,"companyUrl"),e.DNE(2,zg,2,1,"ng-container",26)(3,Hg,1,0,"ng-container",27),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(19);e.Y8G("href",e.bMT(1,4,t),e.B4B),e.R7$(2),e.Y8G("ngIf",!t.issuername.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.issuername)}}function Jg(n,r){if(1&n&&(e.j41(0,"div",13)(1,"div",14)(2,"div",15),e.DNE(3,Sg,4,6,"a",16)(4,Dg,4,6,"a",17),e.k0s(),e.j41(5,"div",18)(6,"div",19),e.DNE(7,Yg,3,3,"span",20)(8,Vg,3,3,"span",20)(9,qg,3,3,"span",20),e.k0s(),e.DNE(10,Ug,2,1,"figure",21),e.k0s(),e.j41(11,"div",22),e.DNE(12,Wg,4,6,"a",23),e.nrm(13,"app-track",24),e.k0s()()()),2&n){const t=r.$implicit;e.R7$(3),e.Y8G("ngIf",t.tidm.visibility),e.R7$(),e.Y8G("ngIf",t.name.visibility),e.R7$(3),e.Y8G("ngIf",t.lastprice.visibility&&t.lastprice.value),e.R7$(),e.Y8G("ngIf",t.amountissued.visibility&&t.amountissued.value),e.R7$(),e.Y8G("ngIf",t.couponrate.visibility&&t.couponrate.value),e.R7$(),e.Y8G("ngIf",t.remoteLogo.visibility&&t.remoteLogo.value.fetched),e.R7$(2),e.Y8G("ngIf",t.issuername.visibility),e.R7$(),e.Y8G("align","right")("tidm",t.tidm.value)}}function Kg(n,r){if(1&n&&e.nrm(0,"app-hide-field",35),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function Qg(n,r){1&n&&e.DNE(0,Kg,1,1,"app-hide-field",34),2&n&&e.Y8G("ngIf",r.errorText)}let Mn=(()=>{class n{constructor(t,i,o){this.refreshService=t,this.platformId=i,this.remoteLogoService=o}ngOnInit(){(0,l.UE)(this.platformId)&&(this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content),this.content.bondsPromo.value.forEach(t=>{t.remoteLogo.value.data&&this.remoteLogoService.getLogo(t.remoteLogo.value.data).pipe((0,W.p)(i=>!!i.logo)).subscribe(i=>{t.remoteLogo.value.fetched=!0,t.remoteLogo.value.data=i})}))}
1ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id)}imageToShow(t){return t&&t.logo?t.logo:null}exploreAllLink(){return k.T.getLink("price-explorer",(new F.Nl).set("categories","BONDS"))}bgStyle(t){if(t)return{"background-image":`url(${t})`}}canLoad(t){return this.canLoads=t,t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(j.W),e.rXU(e.Agw),e.rXU(In))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-new-bonds-promo"]],inputs:{content:"content",id:"id",position:"position",type:"type",status:"status"},decls:20,vars:14,consts:[["emptyvalue",""],["id","new-bonds-promo",1,"new-bonds-promo-component","gtm-track-component","component"],[1,"pattern-stripe"],[1,"wrapper","x-large-width","x-large-width-padding","relative"],[1,"mobile-flex-wrapper","promo-header","spaced-flex-container"],[1,"bond-promo-title"],[1,"h-link","explore-link",3,"href","target"],[1,"mobile-flex-wrapper","cards-container","spaced-flex-container"],["appLazyBgImgLoad","",1,"card","promo-card","cover-image","mobile-flex-wrapper","x-small-width",3,"canLoad","ngStyle"],[1,"overlay","mobile-flex-wrapper"],[1,"bold-font-weight","regular-font-size","promo-title"],[3,"href","target"],["class","card x-small-width",4,"ngFor","ngForOf"],[1,"card","x-small-width"],[1,"card-content","spaced-flex-container"],[1,"name-container","ellipsed"],["class","bond-name bold-font-weight clickable black-link",3,"href",4,"ngIf"],["class","bond-description bold-font-weight clickable black-link",3,"href",4,"ngIf"],[1,"mobile-flex-wrapper","spaced-flex-container"],[1,"mobile-flex-wrapper"],["class","bond-data",4,"ngIf"],["class","gtm-trackable clickable",3,"click",4,"ngIf"],[1,"bond-card-footer","spaced-flex-container","flex-align-center"],["class","clickable",3,"href",4,"ngIf"],[3,"align","tidm"],[1,"bond-name","bold-font-weight","clickable","black-link",3,"href"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"bond-description","bold-font-weight","clickable","black-link",3,"href"],[1,"bond-data"],[1,"medium-font-weight","regular-font-size"],[1,"gtm-trackable","clickable",3,"click"],["appLazyBgImgLoad","",1,"instrument-logo",3,"canLoad","ngStyle"],[1,"clickable",3,"href"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"section",1),e.nrm(1,"div",2),e.j41(2,"div",3)(3,"div",4)(4,"h3",5),e.EFF(5),e.k0s(),e.j41(6,"a",6),e.EFF(7),e.k0s()(),e.j41(8,"div",7)(9,"div",8),e.bIt("canLoad",function(c){return e.eBV(a),e.Njj(o.canLoad(c))}),e.j41(10,"div",9)(11,"div")(12,"div",10),e.EFF(13),e.k0s(),e.j41(14,"a",11),e.EFF(15),e.k0s()()()(),e.DNE(16,Jg,14,9,"div",12),e.nI1(17,"slice"),e.k0s()()(),e.DNE(18,Qg,1,1,"ng-template",null,0,e.C5r)}2&i&&(e.R7$(5),e.JRh(o.content.title.value),e.R7$(),e.Y8G("href",o.exploreAllLink(),e.B4B)("target",o.content.exploreAllTarget.value),e.R7$(),e.SpI(" ",o.content.exploreAllLabel.value," "),e.R7$(2),e.Y8G("ngStyle",o.canLoads?o.bgStyle(o.content.promoBackground.value):null),e.R7$(4),e.JRh(o.content.promoTitle.value),e.R7$(),e.Y8G("href",o.content.promoLinkUrl.value,e.B4B)("target",o.content.promoLinkTarget.value),e.R7$(),e.SpI(" ",o.content.promoLinkLabel.value," "),e.R7$(),e.Y8G("ngForOf",e.brH(17,10,o.content.bondsPromo.value,0,5)))},dependencies:[l.Sq,l.bT,l.T3,l.B3,H.J,y.W,D.W,l.P9,ee.p,ve.b,Ut.X],styles:[".new-bonds-promo-component[_ngcontent-%COMP%]{padding:2rem 0 0;position:relative}.pattern-stripe[_ngcontent-%COMP%]{background-color:#6567d81a;bottom:6.125em;top:1.5em}.promo-header[_ngcontent-%COMP%]{align-items:flex-end}.promo-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{line-height:.85em;margin:0}.promo-header[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000}.card.promo-card[_ngcontent-%COMP%]{border-left:.063rem solid #e6e6e6;padding:0;position:relative}.card.promo-card[_ngcontent-%COMP%] .overlay[_ngcontent-%COMP%], .card.promo-card[_ngcontent-%COMP%] .overlay[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}.card.promo-card[_ngcontent-%COMP%] .overlay[_ngcontent-%COMP%]{box-sizing:border-box;flex-direction:column;height:100%;justify-content:center;padding:1rem;text-align:center}.promo-title[_ngcontent-%COMP%]{margin-bottom:1rem}
1.bond-name[_ngcontent-%COMP%]{color:#001eff;margin-right:.5rem}.card[_ngcontent-%COMP%]{border:.0625rem solid #b2b2b2;padding:0}.card-content[_ngcontent-%COMP%]{border-left:.25rem solid #472574;padding:1rem}figure[_ngcontent-%COMP%]{border:.063rem solid #fafafa;display:flex;height:2.375rem;line-height:2.375rem;margin:0;padding:.25rem;vertical-align:middle;width:3.875rem}.bond-data[_ngcontent-%COMP%]{margin-right:1.2rem}@media (max-width: 480px){.bond-data[_ngcontent-%COMP%]{margin-right:1rem}}.bond-card-footer[_ngcontent-%COMP%]{display:flex;margin-top:.5rem}.bond-card-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000}"],changeDetection:0})}}return n})();var Zg=p(42200);const Ht=n=>({errorText:n});function eh(n,r){if(1&n&&(e.j41(0,"p",14),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(null==t.content.summary?null:t.content.summary.value)}}function th(n,r){if(1&n&&(e.j41(0,"ng-option",15),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.Y8G("value",t.value),e.R7$(),e.SpI(" ",t.label," ")}}function nh(n,r){if(1&n&&(e.j41(0,"tr",16)(1,"th",17),e.EFF(2),e.k0s(),e.j41(3,"th",18),e.EFF(4),e.k0s(),e.j41(5,"th"),e.EFF(6),e.k0s(),e.j41(7,"th"),e.EFF(8),e.k0s(),e.j41(9,"th"),e.EFF(10),e.k0s(),e.j41(11,"th"),e.EFF(12),e.k0s(),e.nrm(13,"th"),e.k0s()),2&n){const t=r.$implicit;e.R7$(2),e.JRh(null==t.tidm?null:t.tidm.label),e.R7$(2),e.JRh(null==t.description?null:t.description.label),e.R7$(2),e.JRh(null==t.market?null:t.market.label),e.R7$(2),e.JRh(null==t.currency?null:t.currency.label),e.R7$(2),e.JRh(null==t.lastprice?null:t.lastprice.label),e.R7$(2),e.JRh(null==t.category?null:t.category.label)}}function ih(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",null==t.market?null:t.market.value," ")}}function oh(n,r){if(1&n&&(e.qex(0),e.DNE(1,ih,2,1,"ng-container",12),e.eu8(2,28),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(19);e.R7$(),e.Y8G("ngIf",!(null!=t.market&&t.market.errorText)),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ht,null==t.market?null:t.market.errorText))}}function rh(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",29),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function ah(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",null==t.currency?null:t.currency.value," ")}}function sh(n,r){if(1&n&&(e.qex(0),e.DNE(1,ah,2,1,"ng-container",12),e.eu8(2,28),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(19);e.R7$(),e.Y8G("ngIf",!(null!=t.currency&&t.currency.errorText)),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ht,null==t.currency?null:t.currency.errorText))}}function lh(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",29),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function ch(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,null==t.lastprice?null:t.lastprice.value)," ")}}function ph(n,r){if(1&n&&(e.qex(0),e.DNE(1,ch,3,3,"ng-container",12),e.eu8(2,28),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(19);e.R7$(),e.Y8G("ngIf",!(null!=t.lastprice&&t.lastprice.errorText)),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ht,null==t.lastprice?null:t.lastprice.errorText))}}function mh(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",29),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function _h(n,r){if(1&n&&(e.j41(0,"span",30),e.EFF(1),e.nI1(2,"etfs"),e.eu8(3,28),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(19);e.Y8G("ngClass",t.category.errorText?"":"instrument-label"),e.R7$(),e.SpI(" ",e.bMT(2,4,null==t.category?null:t.category.value)," "),e.R7$(2),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(6,Ht,null==t.category?null:t.category.errorText))}}function dh(n,r){if(1&n&&(e.j41(0,"tr",21)(1,"td",22),e.nrm(2,"app-link-or-dash",23),e.nI1(3,"companyUrl"),e.k0s(),e.j41(4,"td",24),e.nrm(5,"app-link-or-dash",23),e.nI1(6,"companyUrl"),e.k0s(),e.j41(7,"td"),e.DNE(8,oh,3,5,"ng-container",12)(9,rh,3,1,"ng-container",12),e.k0s(),e.j41(10,"td"),e.DNE(11,sh,3,5,"ng-container",12)(12,lh,3,1,"ng-container",12),e.k0s(),e.j41(13,"td"),e.DNE(14,ph,3,5,"ng-container",12)(15,mh,3,1,"ng-container",12),e.k0s(),e.j41(16,"td",25),e.DNE(17,_h,4,8,"span",26),e.k0s(),e.j41(18,"td"),e.nrm(19,"app-track",27),e.k0s()()),2&n){const t=r.$implicit,i=r.index,o=e.XpG(2);e.AVh("active-panel",0===i),e.Mz_("id","slide-recent-",i,""),e.R7$(2),e.Y8G("link",e.bMT(3,26,t))("linkClasses","blue-text")("dashClasses","blue-text")("value",t.tidm.value)("errorText",t.tidm.errorText)("visibility",t.tidm.visibility),e.R7$(3),e.Y8G("link",e.bMT(6,28,t))("linkClasses","black-link ellipsed")("dashClasses","blue-text")("value",t.description.value)("errorText",t.description.errorText)("visibility",t.description.visibility),e.R7$(3),e.Y8G("ngIf",null==t.market?null:t.market.visibility),e.R7$(),e.Y8G("ngIf",!(null!=t.market&&t.market.visibility)),e.R7$(2),e.Y8G("ngIf",null==t.currency?null:t.currency.visibility),e.R7$(),e.Y8G("ngIf",!(null!=t.currency&&t.currency.visibility)),e.R7$(2),e.Y8G("ngIf",null==t.lastprice?null:t.lastprice.visibility),e.R7$(),e.Y8G("ngIf",!(null!=t.lastprice&&t.lastprice.visibility)),e.R7$(),e.Y8G("ngClass",null!=t.category&&t.category.errorText||null==t.category||!t.category.visibility?"":o.instrumentCssClass(t.category)),e.R7$(),e.Y8G("ngIf",t.category.visibility),e.R7$(2),e.Y8G("align","right")("tidm",null==t.tidm?null:t.tidm.value)}}function uh(n,r){if(1&n){const t=e.RV6();e.j41(0,"tbody",19),e.bIt("swipeleft",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.handleTouchMove(o,".recent-issues"))})("swiperight",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.handleTouchMove(o,".recent-issues"))}),e.DNE(1,dh,20,30,"tr",20),e.k0s()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",null==t.content.issues?null:t.content.issues.value)}}function gh(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",33),e.bIt("click",function(){const o=e.eBV(t).index,a=e.XpG(2);return e.Njj(a.selectSlide(o,".recent-issues"))}),e.k0s()}if(2&n){const t=r.index;e.AVh("active-slide-selector",0===t),e.Mz_("id","selector-slide-recent-",t,"")}}function hh(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",31),e.DNE(2,gh,1,4,"span",32),e.k0s(),e.bVm()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngForOf",t.content.issues.value)}}function fh(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-paginator",34),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.goToPage(o))}),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("totalPages",null==t.content.pagination?null:t.content.pagination.totalPages)("currentPage",null==t.content.pagination?null:t.content.pagination.page)}}function vh(n,r){if(1&n&&e.nrm(0,"app-hide-field",36),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function bh(n,r){1&n&&e.DNE(0,vh,1,1,"app-hide-field",35),2&n&&e.Y8G("ngIf",r.errorText)}let Ni=(()=>{class n{constructor(t,i,o,a,s,c,d){this.refreshService=t,this.fb=i,this.cssmapping=o,this.swipe=a,this.urlService=s,this.scrollToService=c,this.elementRef=d,this.defaultFieldValue=w.M.DEFAULT_VALUE}ngOnInit(){this.dropdownOptions=this.getDropdownOptions(),this.createForm()}goToPage(t=0){this.scrollToService.scrollToTheElementById("recent-issues",this.elementRef),this.onSubmit(t)}updateUrlWithParams(){var t=this;return(0,_.A)(function*(){const i=yield t.urlService.getCurrentPath().toPromise(),o=i.parameters.set("from",t.filtersForm.get("dropdownSort").value);yield t.urlService.setCurrentPath({path:i.path,parameters:o})})()}onSubmit(){var t=this;return(0,_.A)(function*(i=0,o=!1){o&&(yield t.urlService.deleteParameters(["page"])),yield t.updateUrlWithParams();const a=t.status.params.set("from",t.filtersForm.get("dropdownSort").value);t.status={...t.status,params:a},t.refreshService.refreshComponent(t.id,t.position,t.type,t.content,t.status)}).apply(this,arguments)}createForm(){this.filtersForm=this.fb.group({dropdownSort:this.dropdownOptions.length>0?[this.dropdownOptions[0].value]:[]})}getDropdownOptions(){const t=Q()().subtract(7,"days").format("YYYYMMDD"),i=Q()().subtract(30,"days").format("YYYYMMDD");let o=[];return this.content.dropdownSort&&this.content.dropdownSort.value&&this.content.dropdownSort.value.length>0?(o=this.content.dropdownSort.value.split("|",2).map(a=>a.trim()),[{value:t,label:o[0]},{value:i,label:o[1]}]):o}instrumentCssClass(t){return this.cssmapping.cssClass(t)}selectSlide(t,i){this.swipe.selectSlide("recent-"+t,i)}handleTouchMove(t){this.swipe.handleTouchMove(t)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(j.W),e.rXU(g.ze),e.rXU(b.o),e.rXU(Ee.h),e.rXU(k.T),e.rXU(le.W),e.rXU(e.aKT))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-recent-issues"]],inputs:{content:"content",type:"type",position:"position",id:"id",status:"status"},decls:20,vars:14,consts:[["emptyvalue",""],["id","recent-issues",1,"recent-issues-component","component","wrapper","x-large-width","x-large-width-padding","component-refresh","gtm-track-component"],[1,"recent-issues-header","flex-wrapper","spaced-flex-container"],[1,"bold-font-weight","section-title"],["class","summary",4,"ngIf"],[1,"form-inline","small-font-size",3,"ngSubmit","formGroup"],[1,"form-group","form-group-dropdown"],["formControlName","dropdownSort","id","dropdownSort","name","dropdownSort",1,"form-control","form-select",3,"change","searchable","clearable"],[3,"value",4,"ngFor","ngForOf"],[1,"full-width","recent-issues","swipable-table"],["class","table-header",4,"ngFor","ngForOf"],[3,"swipeleft","swiperight",4,"ngIf"],[4,"ngIf"],[3,"totalPages","currentPage","goToPage",4,"ngIf"],[1,"summary"],[3,"value"],[1,"table-header"],[1,"code"],[1,"name"],[3,"swipeleft","swiperight"],[3,"active-panel","id",4,"ngFor","ngForOf"],[3,"id"],[1,"clickable","bold-font-weight","gtm-trackable","td-with-link"],[3,"link","linkClasses","dashClasses","value","errorText","visibility"],[1,"clickable","name","gtm-trackable","td-with-link"],[3,"ngClass"],["class","small-font-size",3,"ngClass",4,"ngIf"],[3,"align","tidm"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"dash-wrapper"],[1,"small-font-size",3,"ngClass"],[1,"swipable-slider","show-on-landscape"],["class","slide-selector",3,"active-slide-selector","id","click",4,"ngFor","ngForOf"],[1,"slide-selector",3,"click","id"],[3,"goToPage","totalPages","currentPage"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"div")(3,"h3",3),e.EFF(4),e.k0s(),e.DNE(5,eh,2,1,"p",4),e.k0s(),e.j41(6,"div")(7,"form",5),e.bIt("ngSubmit",function(){return e.eBV(a),e.Njj(o.onSubmit(0,!0))}),e.j41(8,"div",6)(9,"ng-select",7),e.bIt("change",function(){return e.eBV(a),e.Njj(o.onSubmit(0,!0))}),e.DNE(10,th,2,2,"ng-option",8),e.k0s()()()()(),e.j41(11,"table",9)(12,"thead"),e.DNE(13,nh,14,6,"tr",10),e.nI1(14,"slice"),e.k0s(),e.DNE(15,uh,2,1,"tbody",11),e.k0s(),e.DNE(16,hh,3,1,"ng-container",12)(17,fh,1,2,"app-paginator",13),e.k0s(),e.DNE(18,bh,1,1,"ng-template",null,0,e.C5r)}2&i&&(e.R7$(4),e.SpI(" ",null==o.content.title?null:o.content.title.value," "),e.R7$(),e.Y8G("ngIf",null==o.content.summary?null:o.content.summary.value),e.R7$(2),e.Y8G("formGroup",o.filtersForm),e.R7$(2),e.Y8G("searchable",!1)("clearable",!1),e.R7$(),e.Y8G("ngForOf",o.dropdownOptions),e.R7$(3),e.Y8G("ngForOf",e.brH(14,10,null==o.content.issues?null:o.content.issues.value,0,1)),e.R7$(2),e.Y8G("ngIf",(null==o.content.issues||null==o.content.issues.value?null:o.content.issues.value.length)>0),e.R7$(),e.Y8G("ngIf",o.content.issues.value.length>0),e.R7$(),e.Y8G("ngIf",o.content.issues.value.length>0))},dependencies:[l.YU,l.Sq,l.bT,l.T3,g.qT,g.BC,g.cb,H.J,y.W,g.j4,g.JD,ne.vr,ne.xt,ue,xe,l.P9,ee.p,ve.b,Te.Z],styles:[".recent-issues-header[_ngcontent-%COMP%]{align-items:center;padding:1.5rem 0 0}@media (min-width: 1144px){.recent-issues-header[_ngcontent-%COMP%] .form-inline[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{width:18.125em}}@media (max-width: 1023px){.recent-issues-header[_ngcontent-%COMP%]{display:block}.recent-issues-header[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin:1.5rem auto;width:100%}.recent-issues-header[_ngcontent-%COMP%] .ng-select[_ngcontent-%COMP%]{min-width:100%}}.recent-issues-header[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin-top:0}.summary[_ngcontent-%COMP%]{padding:1rem 0}.clickable[_ngcontent-%COMP%]:hover{text-decoration:underline}"],changeDetection:0})}}return n})();var Ue=p(153),Oe=p(84412),Ke=p(70366),Yi=p(2490);function Ch(n,r){if(1&n&&(e.j41(0,"div",19)(1,"a",20),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("href",t.getNewsPage(),e.B4B),e.R7$(),e.SpI(" ",t.content.backToPageLabel.value," ")}}function Th(n,r){if(1&n&&(e.j41(0,"h2",24),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.content.ndTitle.value," ")}}function xh(n,r){if(1&n&&(e.nrm(0,"div",25),e.nI1(1,"safeHtml")),2&n){const t=e.XpG(4);e.Y8G("innerHtml",e.bMT(1,1,t.content.ndSummary.value),e.npT)}}function kh(n,r){if(1&n&&(e.j41(0,"div",21),e.DNE(1,Th,2,1,"h2",22)(2,xh,2,3,"div",23),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.content.ndTitle.value&&t.content.ndTitle.visibility),e.R7$(),e.Y8G("ngIf",t.content.ndSummary.value&&t.content.ndSummary.visibility)}}function yh(n,r){if(1&n&&(e.nrm(0,"div",26),e.nI1(1,"safeHtml")),2&n){const t=e.XpG(3);e.Y8G("innerHtml",e.bMT(1,1,t.content.confirmLabel.value),e.npT)}}function wh(n,r){if(1&n&&e.nrm(0,"img",27),2&n){const t=e.XpG(3);e.FS9("src",t.content.privateInvestorColumnIcon.value,e.B4B)}}function Ih(n,r){if(1&n&&(e.j41(0,"div",28),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.content.privateInvestorColumnTitle.value," ")}}function Mh(n,r){if(1&n&&(e.nrm(0,"div",29),e.nI1(1,"safeHtml")),2&n){const t=e.XpG(3);
1e.Y8G("innerHtml",e.bMT(1,1,t.content.privateInvestorColumnBody.value),e.npT)}}function Oh(n,r){if(1&n&&e.nrm(0,"img",27),2&n){const t=e.XpG(3);e.FS9("src",t.content.rnsCustomerColumnIcon.value,e.B4B)}}function Rh(n,r){if(1&n&&(e.j41(0,"div",28),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.content.rnsCustomerColumnTitle.value," ")}}function Fh(n,r){if(1&n&&(e.nrm(0,"div",29),e.nI1(1,"safeHtml")),2&n){const t=e.XpG(3);e.Y8G("innerHtml",e.bMT(1,1,t.content.rnsCustomerColumnBody.value),e.npT)}}function Ph(n,r){if(1&n&&e.nrm(0,"img",27),2&n){const t=e.XpG(3);e.FS9("src",t.content.professionalInvestorColumnIcon.value,e.B4B)}}function Gh(n,r){if(1&n&&(e.j41(0,"div",28),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.content.professionalInvestorColumnTitle.value," ")}}function Sh(n,r){if(1&n&&(e.nrm(0,"div",29),e.nI1(1,"safeHtml")),2&n){const t=e.XpG(3);e.Y8G("innerHtml",e.bMT(1,1,t.content.professionalInvestorColumnBody.value),e.npT)}}function $h(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",5)(1,"div",6)(2,"div",7),e.nrm(3,"img",8),e.k0s(),e.DNE(4,Ch,3,2,"div",9)(5,kh,3,2,"div",10)(6,yh,2,3,"div",11),e.j41(7,"div",12)(8,"div",13)(9,"div",14),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.selectStatus(1))}),e.j41(10,"div",15),e.DNE(11,wh,1,1,"img",16)(12,Ih,2,1,"div",17),e.k0s()(),e.DNE(13,Mh,2,3,"div",18),e.k0s(),e.j41(14,"div",13)(15,"div",14),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.selectStatus(2))}),e.j41(16,"div",15),e.DNE(17,Oh,1,1,"img",16)(18,Rh,2,1,"div",17),e.k0s()(),e.DNE(19,Fh,2,3,"div",18),e.k0s(),e.j41(20,"div",13)(21,"div",14),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.selectStatus(3))}),e.j41(22,"div",15),e.DNE(23,Ph,1,1,"img",16)(24,Gh,2,1,"div",17),e.k0s()(),e.DNE(25,Sh,2,3,"div",18),e.k0s()()()()}if(2&n){const t=e.XpG(2);e.R7$(4),e.Y8G("ngIf",t.content.backToPageLabel.value&&t.content.backToPageLabel.visibility),e.R7$(),e.Y8G("ngIf",t.content.ndTitle.value&&t.content.ndTitle.visibility||t.content.ndSummary.value&&t.content.ndSummary.visibility),e.R7$(),e.Y8G("ngIf",t.content.confirmLabel.value&&t.content.confirmLabel.visibility),e.R7$(5),e.Y8G("ngIf",t.content.privateInvestorColumnIcon.value&&t.content.privateInvestorColumnIcon.visibility),e.R7$(),e.Y8G("ngIf",t.content.privateInvestorColumnTitle.value&&t.content.privateInvestorColumnTitle.visibility),e.R7$(),e.Y8G("ngIf",t.content.privateInvestorColumnBody.value&&t.content.privateInvestorColumnBody.visibility),e.R7$(4),e.Y8G("ngIf",t.content.rnsCustomerColumnIcon.value&&t.content.rnsCustomerColumnIcon.visibility),e.R7$(),e.Y8G("ngIf",t.content.rnsCustomerColumnTitle.value&&t.content.rnsCustomerColumnTitle.visibility),e.R7$(),e.Y8G("ngIf",t.content.rnsCustomerColumnBody.value&&t.content.rnsCustomerColumnBody.visibility),e.R7$(4),e.Y8G("ngIf",t.content.professionalInvestorColumnIcon.value&&t.content.professionalInvestorColumnIcon.visibility),e.R7$(),e.Y8G("ngIf",t.content.professionalInvestorColumnTitle.value&&t.content.professionalInvestorColumnTitle.visibility),e.R7$(),e.Y8G("ngIf",t.content.professionalInvestorColumnBody.value&&t.content.professionalInvestorColumnBody.visibility)}}function Eh(n,r){if(1&n&&(e.nrm(0,"p",33),e.nI1(1,"safeHtml")),2&n){const t=e.XpG(3);e.Y8G("innerHtml",e.bMT(1,1,t.content.rnsDenialMessage.value),e.npT)}}function Dh(n,r){if(1&n&&(e.j41(0,"div",30)(1,"div",31)(2,"div",7),e.nrm(3,"img",8),e.k0s(),e.DNE(4,Eh,2,3,"p",32),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(4),e.Y8G("ngIf",t.content.rnsDenialMessage.value&&t.content.rnsDenialMessage.visibility)}}function jh(n,r){if(1&n&&(e.j41(0,"div",2),e.DNE(1,$h,26,12,"div",3),e.nI1(2,"async"),e.DNE(3,Dh,5,1,"div",4),e.nI1(4,"async"),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!e.bMT(2,2,t.getShowRnsDenialMessage())),e.R7$(2),e.Y8G("ngIf",e.bMT(4,4,t.getShowRnsDenialMessage()))}}let Xi=(()=>{class n{constructor(t,i,o,a,s,c,d){this.doc=t,this.renderer=i,this.cookieService=o,this.platformId=a,this.elementRef=s,this.pageHeadersService=c,this.urlService=d,this.showRnsDenialMessage=new Oe.t(!1),this.showDisclaimerTemplate=new Oe.t(!1)}ngOnInit(){this.shouldShowDisclaimer(this.content.userProfile)&&(this.showDisclaimer(),this.addWithoutHeaderClass(),this.checkUnregisteredUserCookie())}
1shouldShowDisclaimer(t){return t!==Ke.F.PRIVATE_INVESTOR&&t!==Ke.F.RNS_CUSTOMER&&(t===Ke.F.PROFESSIONAL_INVESTOR?(this.showRnsDenialMessage.next(!0),!0):this.content.newsDisclaimerDisplay)}showDisclaimer(){this.pageHeadersService.updateMetaViewport(),this.setDisclaimerParam();const t=this.doc.getElementsByTagName("body")[0],i=this.elementRef.nativeElement.querySelector("#news-disclaimer");this.renderer.addClass(i,"modal-open"),this.renderer.addClass(t,"block-scroll")}checkUnregisteredUserCookie(){(0,l.UE)(this.platformId)&&(this.cookieService.check(M.c.userStatusCookieName)&&this.cookieService.get(M.c.userStatusCookieName)===Ke.F[Ke.F.PROFESSIONAL_INVESTOR].toString()&&this.showRnsDenialMessage.next(!0),this.showDisclaimerTemplate.next(!0))}addWithoutHeaderClass(){const t=this.doc.getElementsByClassName("page-content")[0];this.renderer.addClass(t,"without-header")}removeWithoutHeaderClass(){const t=this.doc.getElementsByClassName("page-content")[0];t&&this.renderer.removeClass(t,"without-header")}selectStatus(t){this.setCookieForUnregisteredUser(t),t===Ke.F.PROFESSIONAL_INVESTOR?this.showRnsDenialMessage.next(!0):this.closeModal()}getShowRnsDenialMessage(){return this.showRnsDenialMessage.asObservable()}getShowDisclaimerTemplate(){return this.showDisclaimerTemplate.asObservable()}setCookieForUnregisteredUser(t){(0,l.UE)(this.platformId)&&this.cookieService.set(M.c.userStatusCookieName,Ke.F[t]||Ke.F[Ke.F.UNKNOWN],1,"/",null,M.c.httpsCookies,"Strict")}closeModal(){this.pageHeadersService.updateMetaViewport(!0);const t=window.location.href.split(/[?#]/),i=k.T.getNormalUrl({path:t[0],parameters:new F.Nl({fromString:t[1]||null}).delete("showDisclaimer")}),o=this.doc.getElementsByTagName("body")[0],a=this.elementRef.nativeElement.querySelector("#news-disclaimer");this.renderer.removeClass(a,"modal-open"),this.renderer.removeClass(o,"block-scroll"),this.removeWithoutHeaderClass(),window.location.replace(i)}getNewsPage(){return k.T.getLink("news",(new F.Nl).set("tab","today-s-news"))}setDisclaimerParam(){const t=(new F.Nl).set("showDisclaimer","true");this.urlService.addParameters(t)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(l.qQ),e.rXU(e.sFG),e.rXU(Yi.O),e.rXU(e.Agw),e.rXU(e.aKT),e.rXU(Ue.V),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-news-disclaimer"]],inputs:{content:"content"},decls:3,vars:3,consts:[["id","news-disclaimer",1,"gtm-track-component","component"],["class","overlay-container",4,"ngIf"],[1,"overlay-container"],["class","news-disclaimer-overlay-wrapper",4,"ngIf"],["id","denial-message","class","news-disclaimer-overlay-wrapper",4,"ngIf"],[1,"news-disclaimer-overlay-wrapper"],[1,"overlay-content","x-large-width","x-large-width-padding","wrapper"],[1,"news-disclaimer-head-logo"],["src","/assets/svg/lseg_blue_logo_2022_0.svg",2,"height","46px","width","auto"],["class","news-disclaimer-back",4,"ngIf"],["class","news-disclaimer-header",4,"ngIf"],["class","news-disclaimer-confirm align-center regular-font-size",3,"innerHtml",4,"ngIf"],[1,"news-disclaimer-content","flex-wrapper","flex-container","spaced-flex-container"],[1,"x-small-width","news-disclaimer-column"],[1,"status-box","centered-flex-container","flex-align-center",3,"click"],[1,"status-box-content"],["alt","",3,"src",4,"ngIf"],["class","regular-font-size blue-text align-center",4,"ngIf"],["class","news-disclaimer-column-body",3,"innerHtml",4,"ngIf"],[1,"news-disclaimer-back"],[1,"close-modal","regular-font-size","bold-font-weight","back-link",3,"href"],[1,"news-disclaimer-header"],["class","news-disclaimer-title",4,"ngIf"],["class","news-disclaimer-summary large-width",3,"innerHtml",4,"ngIf"],[1,"news-disclaimer-title"],[1,"news-disclaimer-summary","large-width",3,"innerHtml"],[1,"news-disclaimer-confirm","align-center","regular-font-size",3,"innerHtml"],["alt","",3,"src"],[1,"regular-font-size","blue-text","align-center"],[1,"news-disclaimer-column-body",3,"innerHtml"],["id","denial-message",1,"news-disclaimer-overlay-wrapper"],[1,"overlay-content"],["class","rns-denial",3,"innerHtml",4,"ngIf"],[1,"rns-denial",3,"innerHtml"]],template:function(i,o){1&i&&(e.j41(0,"section",0),e.DNE(1,jh,5,6,"div",1),e.nI1(2,"async"),e.k0s()),2&i&&(e.R7$(),e.Y8G("ngIf",e.bMT(2,1,o.getShowDisclaimerTemplate())))},dependencies:[l.bT,l.Jj,be.$],styles:['body[_ngcontent-%COMP%]{font-size:.875rem}
1.light-font-weight[_ngcontent-%COMP%]{font-weight:300}.regular-font-weight[_ngcontent-%COMP%]{font-weight:400}.medium-font-weight[_ngcontent-%COMP%]{font-weight:500}.semi-bold-font-weight[_ngcontent-%COMP%]{font-weight:600}.bold-font-weight[_ngcontent-%COMP%]{font-weight:700}@media (max-width: 1144px){.bold-font-weight-sm[_ngcontent-%COMP%]{font-weight:700}}.extrabold-font-weight[_ngcontent-%COMP%]{font-weight:800}.small-font-size[_ngcontent-%COMP%]{font-size:.875rem!important;line-height:1em}.smaller-font-size[_ngcontent-%COMP%]{font-size:.65625rem;line-height:1em}.base-font-size[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.3125rem}@media (max-width: 1144px){.xs-base-font-size[_ngcontent-%COMP%]{font-size:.875rem!important;line-height:1.3125rem!important}}.regular-font-size[_ngcontent-%COMP%]{font-size:.984375rem;line-height:1.75rem}.big-font-size[_ngcontent-%COMP%]{font-size:1.09375rem;line-height:1.1em}.bigger-font-size[_ngcontent-%COMP%]{font-size:1.203125rem;line-height:1em}.generous-font-size[_ngcontent-%COMP%]{font-size:1.421875rem;line-height:1.640625rem}.large-font-size[_ngcontent-%COMP%]{font-size:1.640625rem;line-height:1em}@media (max-width: 1144px){.large-font-size[_ngcontent-%COMP%]{font-size:1.18125rem}}.larger-font-size[_ngcontent-%COMP%]{font-size:2.1875rem;line-height:1em}@media (max-width: 1144px){.larger-font-size[_ngcontent-%COMP%]{font-size:1.75rem}}.hero-font[_ngcontent-%COMP%]{font-size:3.5rem;font-weight:800;line-height:4.046875rem}.align-center[_ngcontent-%COMP%]{text-align:center}.align-right[_ngcontent-%COMP%]{text-align:right}.section-title[_ngcontent-%COMP%]{display:inline}.blue-text[_ngcontent-%COMP%]{color:#001eff}.grey-medium-text[_ngcontent-%COMP%]{color:#4d4d4d}h1[_ngcontent-%COMP%]{font-size:1.640625rem;font-weight:700;line-height:1.4;font-family:LSEG Motto,Proxima Nova,Arial,Helvetica;text-transform:uppercase}h2[_ngcontent-%COMP%]{font-size:1.3125rem;font-weight:700;line-height:1.333;font-family:LSEG Motto,Proxima Nova,Arial,Helvetica;text-transform:uppercase}h3[_ngcontent-%COMP%]{font-size:1.09375rem;font-weight:700;line-height:1.2}h4[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:700;line-height:1.333}h5[_ngcontent-%COMP%]{font-weight:700}.h-link[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:500}.h-link-bold[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:700}.text-align-center[_ngcontent-%COMP%]{text-align:center}.text-align-right[_ngcontent-%COMP%]{text-align:right}.text-align-left[_ngcontent-%COMP%]{text-align:left}.text-align-justify[_ngcontent-%COMP%]{text-align:justify}.component[_ngcontent-%COMP%]{margin-bottom:0}.modal-open[_ngcontent-%COMP%]{margin-bottom:6rem}.overlay-container[_ngcontent-%COMP%]{background-color:#fff}.news-disclaimer-back[_ngcontent-%COMP%], .rns-denial[_ngcontent-%COMP%]{margin-top:2rem}.back-link[_ngcontent-%COMP%]{display:inline-block}.back-link[_ngcontent-%COMP%]:before{background:url(/assets/svg/back-link.svg) left center no-repeat;background-size:40%;content:"";display:inline-block;height:1em;vertical-align:middle;width:1em}.news-disclaimer-header[_ngcontent-%COMP%]{padding:2rem 0}.news-disclaimer-header[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-top:1.5rem}.news-disclaimer-head-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:auto}.news-disclaimer-confirm[_ngcontent-%COMP%]{margin:2rem 0}.news-disclaimer-content[_ngcontent-%COMP%]{padding-top:1.5rem}.news-disclaimer-column[_ngcontent-%COMP%]{margin-bottom:2.5rem}@media (max-width: 768px){.news-disclaimer-column[_ngcontent-%COMP%]{width:100%}}.status-box[_ngcontent-%COMP%]{border:.0625rem solid #e6e6e6;cursor:pointer;margin-bottom:3.5rem;padding:2rem 3rem}.status-box-content[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:block;margin:.75rem auto}.status-box[_ngcontent-%COMP%]:hover{border:.0625rem solid #001eff}.news-disclaimer-column-body[_ngcontent-%COMP%]{border-top:.0625rem solid #e6e6e6;line-height:1.5;padding-top:1.5rem}']})}}return n})(),Nh=(()=>{class n{constructor(t,i){this.platformId=t,this.elementRef=i,this.shadowBody=null,this.ieClassScope=null}includeShadow(){const t=this.elementRef.nativeElement;if(t.attachShadow)t.attachShadow({mode:"open"}).innerHTML=this.shadowBody;else if(this.ieClassScope){const o=(new DOMParser).parseFromString(this.shadowBody,"text/html"),a=o.getElementsByTagName("style");for(let c=0;c<a.length;c++)a[c].innerHTML=a[c].innerHTML.replace(/([^]*?)({[^]*?}|,)/g,` .${this.ieClassScope} $1 $2`),t.appendChild(a[c]);const s=o.getElementsByClassName(this.ieClassScope);for(let c=0;c<s.length;c++)t.appendChild(s[c])}}ngOnInit(){!(0,l.UE)(this.platformId)||!this.shadowBody||this.includeShadow()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","appIncludeShadowContent",""]],inputs:{shadowBody:"shadowBody",ieClassScope:"ieClassScope"}})}}return n})();function Yh(n,r){1&n&&e.nrm(0,"span",29)}function Xh(n,r){if(1&n&&e.nrm(0,"app-share-buttons",30),2&n){const t=e.XpG();e.Y8G("shareButton",t.content.shareButton.value)("companyName",null==t.content.newsCompanyName?null:t.content.newsCompanyName.value)}}function Bh(n,r){if(1&n&&(e.qex(0),e.nrm(1,"img",34),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Mz_("alt","",null==t.content.newsCompanyName?null:t.content.newsCompanyName.value," Logo"),e.Y8G("src",t.content.companylogo.value,e.B4B)}}function Vh(n,r){1&n&&e.eu8(0)}function Lh(n,r){if(1&n&&(e.j41(0,"div",31),e.DNE(1,Bh,2,3,"ng-container",32)(2,Vh,1,0,"ng-container",33),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.content.companylogo.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t.emptyvalue)("ngTemplateOutletContext",t.content.companylogo)}}function Ah(n,r){if(1&n&&(e.j41(0,"h1",35),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",null==t.content.newsTitle?null:t.content.newsTitle.value," ")}}function qh(n,r){if(1&n&&(e.j41(0,"a",39),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("href",null==t.content.newsInstrumentUrl?null:t.content.newsInstrumentUrl.value,e.B4B),e.R7$(),e.JRh(null==t.content.newsCompanyName?null:t.content.newsCompanyName.value)}}function Uh(n,r){if(1&n&&(e.j41(0,"span",40),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(null==t.content.newsCompanyName?null:t.content.newsCompanyName.value)}}function zh(n,r){if(1&n&&(e.j41(0,"div",36),e.DNE(1,qh,2,2,"a",37)(2,Uh,2,1,"span",38),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",null==t.content.newsInstrumentUrl?null:t.content.newsInstrumentUrl.value),e.R7$(),e.Y8G("ngIf",!(null!=t.content.newsInstrumentUrl&&t.content.newsInstrumentUrl.value))}}function Hh(n,r){if(1&n&&(e.j41(0,"div",41),e.EFF(1),e.nI1(2,"customdate"),e.j41(3,"span",42),e.EFF(4),e.nI1(5,"customdate"),e.k0s(),e.j41(6,"span",43),e.EFF(7),e.nI1(8,"customdate"),e.k0s()()),2&n){const t=e.XpG();e.R7$(),e.SpI(" Released ",e.brH(2,3,t.content.newsDateTime.value,"time","Europe/London")," "),e.R7$(3),e.JRh(e.i5U(5,7,t.content.newsDateTime.value,"long")),e.R7$(3),e.JRh(e.i5U(8,10,t.content.newsDateTime.value,"long"))}}function Wh(n,r){if(1&n&&(e.j41(0,"div",47),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.newsArticleLegalTextFootnote.value," ")}}function Jh(n,r){if(1&n&&(e.j41(0,"div",44),e.nrm(1,"div",45),e.nI1(2,"safeHtml"),e.DNE(3,Wh,2,1,"div",46),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("innerHTML",e.bMT(2,2,t.content.newsArticleLegalText.value),e.npT),e.R7$(2),e.Y8G("ngIf",t.content.newsArticleLegalTextFootnote.value)}}let Bi=(()=>{class n{constructor(t,i,o,a){this.cssmapping=t,this.pageTitleService=i,this.pageHeadersService=o,this.customDate=a,this.shadowClassScope="news-body-content"}ngOnInit(){this.content.newsDisclaimerDisplay?(this.pageTitleService.dispatchPageTitlePrefix([]),this.pageHeadersService.dispatchPageDescriptionPrefix("")):(this.metaDate=this.getMetaDate(this.content.newsDateTime.value),this.pageTitleService.dispatchPageTitlePrefix([this.content.newsTitle.value,this.metaDate,this.content.newsCompanyCode.value]," - "),this.pageHeadersService.dispatchPageDescriptionPrefix(this.content.newsTitle.value+` ${this.metaDate}`+("-"!==this.content.newsCompanyName.value?` - ${this.content.newsCompanyName.value}
1`:""))),this.content?.newsArticle?.value&&(this.content.newsArticle.value=this.content?.newsArticle?.value?.replace(' class="mp"',""))}getCssClass(t){return this.cssmapping.getClass(t)}getNewsExplorerLink(){return k.T.getLink("news",(new F.Nl).set("tab","news-explorer"))}getMetaDate(t){return this.customDate.transform(t,"time","Europe/London")+" "+this.customDate.transform(t,"short-month")}printNews(){const t=navigator.userAgent.toLowerCase();if(t.indexOf("android")>-1&&t.indexOf("mobile")){const o=this.content.newsTitle.value+" - "+this.metaDate+" - "+this.content.newsCompanyCode.value,a=new cloudprint.Gadget;a.setPrintDocument("url",o,window.location.href,"utf-8"),a.openPrintDialog()}else window.print()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o),e.rXU(pe.P),e.rXU(Ue.V),e.rXU(U.W))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-news-article-content"]],inputs:{content:"content"},decls:34,vars:15,consts:[["id","news-article-content","itemscope","","itemtype","http://schema.org/NewsArticle",1,"component","wrapper","x-large-width","x-large-width-padding","news-article-content","gtm-track-component"],[1,"news-article-content-wrapper"],[1,"news-article-back"],[1,"regular-font-size","bold-font-weight","back-link",3,"href"],[1,"news-intro"],[1,"flex-wrapper","spaced-flex-container","flex-align-center"],[1,"news-labels","flex-wrapper","mobile-flex-wrapper","flex-align-center"],["class","roundel rns-regulatory-roundel",4,"ngIf"],[1,"news-label",3,"ngClass"],[1,"bold-font-weight","source-label"],[1,"news-headline"],[1,"share-wrapper","mobile-flex-wrapper"],[3,"shareButton","companyName",4,"ngIf"],[1,"print-button"],["name","print","title","Print current news",1,"share-service","printer-icon","gtm-trackable",3,"click"],["class","company-logo mobile-flex-wrapper",4,"ngIf"],["itemprop","mainEntityOfPage","hidden",""],["class","large-font-size section-title news-title bold-font-weight","itemprop","headline",4,"ngIf"],["itemprop","publisher","itemscope","","itemtype","http://schema.org/Organization","hidden",""],["itemprop","logo","itemscope","","itemtype","http://schema.org/ImageObject"],["itemprop","url","content","http://www.londonstockexchange.com"],["appLazyLoad","","src","https://docs.londonstockexchange.com/sites/default/files/logo_black.svg","alt","London Stock Exchange logo"],["itemprop","name"],[1,"news-company-rns-date"],["class","bold-font-weight",4,"ngIf"],["class","news-date",4,"ngIf"],["appIncludeShadowContent","","itemprop","articleBody",1,"news-article-content-body",3,"shadowBody","ieClassScope"],["class","news-article-content-legal",4,"ngIf"],[3,"content"],[1,"roundel","rns-regulatory-roundel"],[3,"shareButton","companyName"],[1,"company-logo","mobile-flex-wrapper"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["itemprop","image","appLazyLoad","",3,"src","alt"],["itemprop","headline",1,"large-font-size","section-title","news-title","bold-font-weight"],[1,"bold-font-weight"],["itemprop","author",3,"href",4,"ngIf"],["itemprop","author",4,"ngIf"],["itemprop","author",3,"href"],["itemprop","author"],[1,"news-date"],["itemprop","datePublished"],["itemprop","dateModified","hidden",""],[1,"news-article-content-legal"],[1,"news-article-content-legal-text","base-font-size","bold-font-weight","rich-text-wrapper",3,"innerHTML"],["class","news-article-content-legal-footnote small-font-size",4,"ngIf"],[1,"news-article-content-legal-footnote","small-font-size"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"div",1)(2,"div",2)(3,"a",3),e.EFF(4," Go to News Explorer "),e.k0s()(),e.j41(5,"div",4)(6,"div",5)(7,"div",6),e.DNE(8,Yh,1,0,"span",7),e.j41(9,"span",8)(10,"span",9),e.EFF(11),e.k0s()(),e.j41(12,"span",10),e.EFF(13),e.k0s()(),e.j41(14,"div",11),e.DNE(15,Xh,1,2,"app-share-buttons",12),e.j41(16,"span",13)(17,"button",14),e.bIt("click",function(){return o.printNews()}),e.k0s()()()(),e.DNE(18,Lh,3,3,"div",15),e.k0s(),e.j41(19,"div",16),e.EFF(20),e.k0s(),e.DNE(21,Ah,2,1,"h1",17),e.j41(22,"div",18)(23,"div",19),e.nrm(24,"meta",20)(25,"img",21),e.k0s(),e.j41(26,"span",22),e.EFF(27,"London Stock Exchange"),e.k0s()(),e.j41(28,"div",23),e.DNE(29,zh,3,2,"div",24)(30,Hh,9,13,"div",25),e.k0s(),e.nrm(31,"div",26),e.k0s(),e.DNE(32,Jh,4,4,"div",27),e.k0s(),e.nrm(33,"app-news-disclaimer",28)),2&i&&(e.R7$(3),e.Y8G("href",o.getNewsExplorerLink(),e.B4B),e.R7$(5),e.Y8G("ngIf",(null==o.content.newsLabel?null:o.content.newsLabel.value)&&"RNS"===(null==o.content.newsLabel?null:o.content.newsLabel.value)),e.R7$(),e.Y8G("ngClass",o.getCssClass(null==o.content.newsLabel?null:o.content.newsLabel.value)),e.R7$(2),e.JRh(null==o.content.newsLabel?null:o.content.newsLabel.value),e.R7$(2),e.JRh(null==o.content.newsHeadlineType?null:o.content.newsHeadlineType.value),e.R7$(2),e.Y8G("ngIf",o.content.shareButton.value),e.R7$(3),e.Y8G("ngIf",o.content.companylogo.value&&o.content.companylogo.visibility),e.R7$(2),e.JRh(null==o.content.newsCompanyName?null:o.content.newsCompanyName.value),e.R7$(),e.Y8G("ngIf",null==o.content.newsTitle?null:o.content.newsTitle.visibility),e.R7$(8),e.Y8G("ngIf",null==o.content.newsCompanyName?null:o.content.newsCompanyName.value),e.R7$(),e.Y8G("ngIf",null==o.content.newsDateTime?null:o.content.newsDateTime.value),e.R7$(),e.Y8G("shadowBody",o.content.newsArticle.value)("ieClassScope",o.shadowClassScope),e.R7$(),e.Y8G("ngIf",o.content.newsArticleLegalText.value),e.R7$(),e.Y8G("content",o.content))},dependencies:[l.YU,l.bT,l.T3,Y.S,Xi,Z,Nh,U.W,be.$],styles:['.news-article-content[_ngcontent-%COMP%]{margin-top:1rem}.news-intro[_ngcontent-%COMP%]{margin-bottom:1.5rem}.news-labels[_ngcontent-%COMP%]{overflow:hidden}
1.news-labels[_ngcontent-%COMP%] .roundel[_ngcontent-%COMP%]{margin:0;margin-bottom:1rem;margin-right:.5rem}.news-label[_ngcontent-%COMP%]{display:inline-block;margin-bottom:1rem;margin-right:1rem}.news-headline[_ngcontent-%COMP%]{color:#4d4d4d;display:inline-block;margin-bottom:1rem}.share-button[_ngcontent-%COMP%]{border-color:#001eff;color:#001eff;margin:0}h1.news-title[_ngcontent-%COMP%]{display:inline-block;margin:.375rem 0}.news-company-rns-date[_ngcontent-%COMP%]{margin:.375rem 0}.news-date[_ngcontent-%COMP%]{color:#4d4d4d;margin:.375rem 0}.news-article-content-body[_ngcontent-%COMP%]{font-family:auto;line-height:initial;overflow-x:auto;-webkit-text-size-adjust:auto;text-size-adjust:auto}.news-article-content-legal[_ngcontent-%COMP%]{margin-top:2rem;overflow:hidden}.news-article-content-legal-text[_ngcontent-%COMP%]{border-bottom:.125rem solid #fafafa;border-top:.125rem solid #fafafa;overflow-wrap:break-word;padding:1rem 0;word-break:break-word}.news-article-content-legal-footnote[_ngcontent-%COMP%]{color:#4d4d4d;overflow-wrap:break-word;padding-top:1rem;word-break:break-word}.share-wrapper[_ngcontent-%COMP%]{margin-bottom:1rem}.share-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:block;margin-left:1rem}.share-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child{margin-left:0}.back-link[_ngcontent-%COMP%]{display:inline-block;margin-bottom:1.5rem}.back-link[_ngcontent-%COMP%]:before{background:url(/assets/svg/back-link.svg) left center no-repeat;background-size:40%;content:"";display:inline-block;height:1em;vertical-align:middle;width:1em}.print-button[_ngcontent-%COMP%]{border:.063rem dashed #001eff;border-radius:1em;color:#001eff;cursor:pointer;overflow:hidden;padding:.025em .325em .275em;position:relative;text-align:center;width:2.75em}.print-services[_ngcontent-%COMP%]{background:#fff;height:100%;left:0;padding:0 .5em;position:absolute;top:0;transition:.5s all linear;width:100%}'],changeDetection:0})}}return n})();var lt=p(12297);function t1(n,r){if(1&n&&(e.j41(0,"li",8),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.SpI(" ",t," ")}}let Vi=(()=>{class n{constructor(){}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-ftse-index-review"]],inputs:{content:"content"},decls:10,vars:7,consts:[["id","ftse-index-review",1,"ftse-index-review-component","full-width","gtm-track-component","component"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"flex-wrapper","spaced-flex-container","vertical-aligned-flex"],[1,"summary","regular-font-size","rich-text-wrapper","column",3,"innerHtml"],[1,"months"],[1,"regular-font-size","bold-font-weight"],[1,"months-list"],["class","bigger-font-size bold-font-weight",4,"ngFor","ngForOf"],[1,"bigger-font-size","bold-font-weight"]],template:function(i,o){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2),e.nrm(3,"div",3),e.nI1(4,"safeHtml"),e.j41(5,"div",4)(6,"h4",5),e.EFF(7),e.k0s(),e.j41(8,"ul",6),e.DNE(9,t1,2,1,"li",7),e.k0s()()()()()),2&i&&(e.AVh("m-64","1"===(null==o.content.uxPadding?null:o.content.uxPadding.value)),e.R7$(3),e.Y8G("innerHtml",e.bMT(4,5,o.content.reviewSummary.value),e.npT),e.R7$(4),e.JRh(o.content.reviewTitle.value),e.R7$(2),e.Y8G("ngForOf",o.content.reviewMonths.value))},dependencies:[l.Sq,be.$],styles:[".ftse-index-review-component[_ngcontent-%COMP%]{background:#f4f4f4;color:#000;padding:.75rem 1.5rem}.summary[_ngcontent-%COMP%]{line-height:2rem;max-width:35%}@media (max-width: 1023px){.summary[_ngcontent-%COMP%]{margin-bottom:1rem;max-width:100%}}.months[_ngcontent-%COMP%]{max-width:45%;width:100%}@media (max-width: 1023px){.months[_ngcontent-%COMP%]{max-width:100%}}.months-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-between;list-style:none;margin:0;padding:0;width:100%}@media (max-width: 1023px){.months-list[_ngcontent-%COMP%]{justify-content:flex-start}}.months-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-block;margin:0 1rem 0 0}@media (max-width: 1023px){.months-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:1rem}}"],changeDetection:0})}}return n})(),Li=(()=>
1{class n{constructor(){this.minorCurrencySymbols=new Map,this.minCurrencySymbolDefault="c",this.initializeMap()}transform(t){return this.minorCurrencySymbols.get(t)||this.minCurrencySymbolDefault}initializeMap(){0===this.minorCurrencySymbols.size&&(this.minorCurrencySymbols.set("GBX","p"),this.minorCurrencySymbols.set("GBP","p"),this.minorCurrencySymbols.set("EUR","c"),this.minorCurrencySymbols.set("USD","\xa2"),this.minorCurrencySymbols.set("AUD","\xa2"),this.minorCurrencySymbols.set("CAD","\xa2"),this.minorCurrencySymbols.set("CHF","Fr"),this.minorCurrencySymbols.set("CNY","\xa5"),this.minorCurrencySymbols.set("HKD","\xa2"),this.minorCurrencySymbols.set("IDR","Rp"),this.minorCurrencySymbols.set("JPY","\xa5"),this.minorCurrencySymbols.set("MYR","s"),this.minorCurrencySymbols.set("NOK","kr"),this.minorCurrencySymbols.set("NZD","c"),this.minorCurrencySymbols.set("PGK","t"),this.minorCurrencySymbols.set("SEK","kr"),this.minorCurrencySymbols.set("SGD","c"),this.minorCurrencySymbols.set("ZAR","c"))}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=e.EJ8({name:"minorCurrency",type:n,pure:!0})}}return n})(),On=(()=>{class n{transform(t,i=""){return"GBX"===t&&(t="GBP"),(0,l.Qn)(t,"narrow")+i}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=e.EJ8({name:"currencysymbol",type:n,pure:!0})}}return n})();const n1=n=>({errorText:n});function i1(n,r){if(1&n&&(e.j41(0,"th",10),e.EFF(1),e.nI1(2,"customdate"),e.j41(3,"span",11),e.EFF(4),e.nI1(5,"currencysymbol"),e.k0s()()),2&n){const t=r.$implicit;e.R7$(),e.SpI(" ",e.i5U(2,2,t.dateyearend.value,"short")," "),e.R7$(3),e.SpI("(",e.i5U(5,5,t.currency.value,"m"),")")}}function o1(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.value," ")}}function r1(n,r){if(1&n&&(e.qex(0),e.DNE(1,o1,2,1,"ng-container",14),e.eu8(2,15),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(12);e.R7$(),e.Y8G("ngIf",!t.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,n1,t.errorText))}}function a1(n,r){if(1&n&&(e.j41(0,"td",10),e.DNE(1,r1,3,5,"ng-container",14),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.visibility)}}function s1(n,r){if(1&n&&(e.j41(0,"tr",12)(1,"td")(2,"span",13)(3,"span"),e.EFF(4),e.k0s()()(),e.DNE(5,a1,2,1,"td",5),e.nrm(6,"td",6),e.k0s()),2&n){const t=r.$implicit,i=r.index,o=e.XpG();e.AVh("active-panel",0===i),e.FCK("id","slide-",o.tableFields.tableName,"-",i,""),e.Y8G("ngClass",t[0].isBold?"bold-font-weight":""),e.R7$(3),e.AVh("indented",t[0].isIndented),e.R7$(),e.JRh(t[0].label),e.R7$(),e.Y8G("ngForOf",t)}}function l1(n,r){if(1&n&&e.nrm(0,"app-hide-field",17),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function c1(n,r){1&n&&e.DNE(0,l1,1,1,"app-hide-field",16),2&n&&e.Y8G("ngIf",r.errorText)}let p1=(()=>{class n{constructor(t,i){this.accordionHandler=t,this.elementRef=i}ngOnInit(){}toggleAccordion(t){this.accordionHandler.toggleAccordion(t,this.elementRef)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Je.h),e.rXU(e.aKT))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-table-accordion"]],inputs:{tableFields:"tableFields",whatsThis:"whatsThis"},decls:13,vars:10,consts:[["emptyvalue",""],[3,"id"],[1,"accordion-header","gtm-trackable",3,"click"],[1,"table-header"],[3,"whatsThisLink","whatsThisText"],["class","fundamentals-dates",4,"ngFor","ngForOf"],[1,"hide-on-desktop"],[1,"accordion-toggler"],[1,"accordion-content"],["class","slide-panel",3,"ngClass","active-panel","id",4,"ngFor","ngForOf"],[1,"fundamentals-dates"],[1,"currency","regular-font-weight","small-font-size"],[1,"slide-panel",3,"ngClass","id"],[1,"ellipsed"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"table",1)(1,"thead",2),e.bIt("click",function(){return e.eBV(a),e.Njj(o.toggleAccordion(o.tableFields.tableName+"-accordion"))}),e.j41(2,"tr",3)(3,"th"),e.EFF(4),e.nrm(5,"app-whats-this",4),e.k0s(),e.DNE(6,i1,6,8,"th",5),e.j41(7,"th",6),e.nrm(8,"span",7),e.k0s()()(),e.j41(9,"tbody",8),e.DNE(10,s1,7,10,"tr",9),e.k0s()(),e.DNE(11,c1,1,1,"ng-template",null,0,e.C5r)}2&i&&(e.ZvI("full-width ",o.tableFields.tableName," swipable-table accordion-container"),e.Mz_("id","",o.tableFields.tableName,"-accordion"),e.R7$(4),e.SpI(" ",o.tableFields.tableTitle.value," "),e.R7$(),e.Y8G("whatsThisLink",o.whatsThis.link)("whatsThisText",o.whatsThis.label),e.R7$(),e.Y8G("ngForOf",o.tableFields.tableHead),e.R7$(4),e.Y8G("ngForOf",o.tableFields.tableBody))},dependencies:[l.YU,l.Sq,l.bT,l.T3,y.W,ae,U.W,On],styles:[".active-accordion[_ngcontent-%COMP%] tbody.accordion-content[_ngcontent-%COMP%]{display:table-row-group}@media (max-width: 1144px){.active-accordion[_ngcontent-%COMP%] tbody.accordion-content[_ngcontent-%COMP%]{display:flex}}@media (max-width: 1144px){.accordion-header[_ngcontent-%COMP%], .accordion-header[_ngcontent-%COMP%]:hover{border:0}}.accordion-toggler[_ngcontent-%COMP%]:before{height:6rem;margin-top:-1.25rem}@media (max-width: 1023px){.accordion-toggler[_ngcontent-%COMP%]:before{margin-top:-.625rem}}.currency[_ngcontent-%COMP%]{display:block;margin-top:.35rem}th[_ngcontent-%COMP%]{border-bottom:0;width:45%}th[_ngcontent-%COMP%]:first-child{padding-left:1.125rem}.fundamentals-dates[_ngcontent-%COMP%]{width:10%}@media (max-width: 1144px){.fundamentals-dates[_ngcontent-%COMP%]{width:100%}}table[_ngcontent-%COMP%]{margin-bottom:1rem!important}.indented[_ngcontent-%COMP%]{padding-left:1.5rem}@media (max-width: 1144px){.swipable-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%]{min-height:17.25rem}}.swipable-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .swipable-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{height:2.875rem}.ratios.swipable-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .ratios.swipable-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{height:4rem}"]})}}return n})();const m1=n=>({errorText:n});function _1(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",7),e.bIt("click",function(){const o=e.eBV(t).index,a=e.XpG();return e.Njj(a.activeDate(o))}),e.EFF(1),e.nI1(2,"customdate"),e.j41(3,"span",8),e.EFF(4),e.nI1(5,"currencysymbol"),e.k0s()()}if(2&n){const t=r.$implicit,i=r.index,o=e.XpG();e.AVh("active",o.currentDate===i),e.R7$(),e.SpI(" ",e.i5U(2,4,t.date,"short")," "),e.R7$(3),e.SpI(" (",e.i5U(5,7,t.currency,"m"),")")}}function d1(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(),e.SpI(" ",t[i.currentDate].value," ")}}function u1(n,r){if(1&n&&(e.qex(0),e.DNE(1,d1,2,1,"ng-container",19),e.eu8(2,20),e.bVm()),2&n){const t=e.XpG().$implicit,i=e.XpG(2),o=e.sdS(7);e.R7$(),e.Y8G("ngIf",!t[i.currentDate].errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.eq3(3,m1,t[i.currentDate].errorText))}}function g1(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",16)(2,"div",17)(3,"div"),e.EFF(4),e.k0s()(),e.j41(5,"div",18),e.DNE(6,u1,3,5,"ng-container",19),e.k0s()(),e.bVm()),2&n){const t=r.$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngClass",t[0].isBold?"bold-font-weight":""),e.R7$(2),e.AVh("indented",t[0].isIndented),e.R7$(),e.JRh(t[0].label),e.R7$(2),e.Y8G("ngIf",t[i.currentDate].visibility)}}function h1(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",9)(1,"div",10),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG();return e.Njj(a.toggleAccordion(o.tableName+"-mobile-accordion"))}
1),e.j41(2,"div",11)(3,"div",12),e.EFF(4),e.k0s(),e.nrm(5,"div",13),e.k0s()(),e.j41(6,"div",14),e.DNE(7,g1,7,5,"ng-container",15),e.k0s()()}if(2&n){const t=r.$implicit;e.ZvI("full-width ",t.tableName," table"),e.Mz_("id","",t.tableName,"-mobile-accordion"),e.R7$(4),e.SpI(" ",t.tableTitle.value," "),e.R7$(3),e.Y8G("ngForOf",t.tableBody)}}function f1(n,r){if(1&n&&e.nrm(0,"app-hide-field",22),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function v1(n,r){1&n&&e.DNE(0,f1,1,1,"app-hide-field",21),2&n&&e.Y8G("ngIf",r.errorText)}let b1=(()=>{class n{constructor(t,i){this.accordionHandler=t,this.elementRef=i,this._dateButtons=[],this._currentDate=0}set dateButtons(t){this._dateButtons=t}get dateButtons(){return this._dateButtons}set currentDate(t){this._currentDate=t}get currentDate(){return this._currentDate}ngOnInit(){this.dateButtons=this.createDateButtons()}createDateButtons(){if(!this.tables||!this.tables[0])return[];const t=this.tables[0].tableHead,i=[];for(let o=0;o<t.length;o++)i.push({date:t[o].dateyearend.value,currency:t[o].currency.value});return i}activeDate(t){this.currentDate=t}toggleAccordion(t){this.accordionHandler.toggleAccordion(t,this.elementRef)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Je.h),e.rXU(e.aKT))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-mobile-table-accordion"]],inputs:{tables:"tables",whatsThis:"whatsThis"},decls:8,vars:4,consts:[["emptyvalue",""],[3,"whatsThisLink","whatsThisText"],[1,"date-buttons"],[1,"wrapper","x-large-width","x-large-width-padding"],["class","interactive-outline-button gtm-trackable",3,"active","click",4,"ngFor","ngForOf"],[1,"wrapper"],[3,"class","id",4,"ngFor","ngForOf"],[1,"interactive-outline-button","gtm-trackable",3,"click"],[1,"currency","regular-font-weight","small-font-size"],[3,"id"],[1,"gtm-trackable","clickable",3,"click"],[1,"table-header"],[1,"table-column-left","bold-font-weight"],[1,"table-column-right","accordion-toggler"],[1,"accordion-content"],[4,"ngFor","ngForOf"],[1,"table-row","mobile-flex-wrapper","flex-align-center",3,"ngClass"],[1,"table-column-left"],[1,"fundamentals-dates","table-column-right"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.nrm(0,"app-whats-this",1),e.j41(1,"div",2)(2,"div",3),e.DNE(3,_1,6,10,"div",4),e.k0s()(),e.j41(4,"div",5),e.DNE(5,h1,8,7,"div",6),e.k0s(),e.DNE(6,v1,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.Y8G("whatsThisLink",o.whatsThis.link)("whatsThisText",o.whatsThis.label),e.R7$(3),e.Y8G("ngForOf",o.dateButtons),e.R7$(2),e.Y8G("ngForOf",o.tables))},dependencies:[l.YU,l.Sq,l.bT,l.T3,y.W,ae,U.W,On],styles:[".date-buttons[_ngcontent-%COMP%]{background-color:#fafafa;box-shadow:0 .125rem #b2b2b2;color:#000;height:4.25rem;margin-bottom:2rem;overflow:hidden;padding:.75rem 0}.date-buttons[_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%]{box-sizing:content-box;height:100%;overflow-x:scroll;overflow-y:hidden;padding:0 0 3rem;white-space:nowrap;width:100%}.date-buttons[_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%] .interactive-outline-button[_ngcontent-%COMP%]{box-sizing:border-box;margin:0 0 0 1rem;min-height:2.75rem}.date-buttons[_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%] .interactive-outline-button[_ngcontent-%COMP%]:last-child{margin-right:1rem}app-whats-this[_ngcontent-%COMP%]{margin:0 1rem 1rem}.table[_ngcontent-%COMP%]{border-bottom:.125rem solid #e6e6e6}.table[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%]{border-left:.4rem solid transparent}.table[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] .table-column-left[_ngcontent-%COMP%]{padding-left:.6rem}.table.active-accordion[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%]{border-left-color:#001eff}.table[_ngcontent-%COMP%] .table-row[_ngcontent-%COMP%]{border-bottom:.125rem solid #fafafa}.table[_ngcontent-%COMP%] .table-column-left[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] .table-column-right[_ngcontent-%COMP%]{display:inline-block;padding:.85rem 1rem}.table[_ngcontent-%COMP%] .table-column-left[_ngcontent-%COMP%]{width:70%}.table[_ngcontent-%COMP%] .table-column-right[_ngcontent-%COMP%]{text-align:right;width:30%}.indented[_ngcontent-%COMP%]{padding-left:1.5rem}.active-accordion[_ngcontent-%COMP%] .accordion-toggler[_ngcontent-%COMP%]:before{background-image:url(assets/static/close-accordion.svg)}"]})}}return n})();function C1(n,r){if(1&n&&e.nrm(0,"app-table-accordion",6),2&n){const t=r.$implicit,i=e.XpG(2);e.Y8G("tableFields",t)("whatsThis",i.whatsThis)}}function T1(n,r){if(1&n&&(e.j41(0,"div",4),e.DNE(1,C1,1,2,"app-table-accordion",5),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.accordionsTable)}}function x1(n,r){if(1&n&&e.nrm(0,"app-mobile-table-accordion",7),2&n){const t=e.XpG();e.Y8G("tables",t.accordionsTable)("whatsThis",t.whatsThis)}}let Ai=(()=>{class n extends O.R{constructor(t,i,o,a){super(),this.platformId=t,this.decimalPipe=i,this.isBreakpoint=o,this.minorCurrencyPipe=a,this.accordionsTable=[]}get onDesktop(){return this._onDesktop}set onDesktop(t){this._onDesktop=t}get whatsThis(){return this._whatsThis}set whatsThis(t){this._whatsThis=t}ngOnInit(){(0,l.UE)(this.platformId)&&(this.onDesktop=!this.isBreakpoint.desktop(),this.getAccordionsTable(),this.whatsThis={label:this.content.whatsThisText,link:this.content.whatsThisLink})}onResize(){this.onDesktop=!this.isBreakpoint.desktop()}getAccordionsTable(){this.template=this.content.fundamentals.incomeStatement.items[0].template,this.getIncomeStatementTable(),this.getBelanceSheetTable(),this.getRatiosTable()}getIncomeStatementTable(){const t=this.getIncomeStatementFieldsList(),i={tableName:"income-statement",tableHead:this.content.fundamentals.incomeStatement.items,tableTitle:this.content.titleIncomeStatement,tableBody:this.getTableRows(t,this.content.fundamentals.incomeStatement)};this.accordionsTable.push(i)}getBelanceSheetTable(){const t=this.getBalanceSheetFieldsList(),i={tableName:"balance-sheet",tableHead:this.content.fundamentals.incomeStatement.items,tableTitle:this.content.titleBalanceSheet,tableBody:this.getTableRows(t,this.content.fundamentals.balanceSheet)};this.accordionsTable.push(i)}getRatiosTable(){const t=this.getRatiosFieldsList(),i={tableName:"ratios",tableHead:this.content.fundamentals.incomeStatement.items,tableTitle:this.content.titleRatios,tableBody:this.getTableRows(t,this.content.fundamentals.ratios)};this.accordionsTable.push(i)}getTableRows(t,i){const o=[];for(const a of t){const s=[];let c=0;for(const d of i.items)s[c]=d[a],s[c].isIndented=this.isIndentedFiled(a),s[c].isBold=this.isBoldField(a),s[c].currency=d.currency.value,d.currency.value&&"-"!==s[c].value&&("GBX"===d.currency.value&&(s[c].currency="GBP",s[c].value=this.updateGbxValue(s[c].value)),s[c].value=this.setFieldValue(a,s[c].value),s[c].value=s[c].value+this.getMinorCurrencySymbol(s[c].currency,a)),c++;o.push(s)}return o}getMinorCurrencySymbol(t,i){return this.isMinorCurrencyFields(i)?this.minorCurrencyPipe.transform(t):""}updateGbxValue(t){return"string"==typeof t?t:t/100}setFieldValue(t,i){return this.isAsIsField(t)?this.decimalPipe.transform(i,".2-2"):this.isPercentField(t)?this.decimalPipe.transform(i,".2-2").toString()+"%":this.isMinorCurrencyFields(t)?this.decimalPipe.transform(100*i,".2-2"):this.decimalPipe.transform(i/1e6,".2-2")}getIncomeStatementFieldsList(){switch(this.template){case"C&I":default:return["revenue","costofrevenue","grossprofit","operatingexpenses","deprecationamortization","otheroperatingexpenses","operatingprofitLoss","netinterest","othernonoperatingincome","pretaxprofit","taxes","posttaxprofit","belowlineadjustments","profitforperiod","minorityinterests","equityholderofparent","epsbasic","epsbasiccontinuinganddiscontinued","totaldividend"];case"B&S":return["interestincome","interestexpense","netinterestbeforeprovisions","provisionsforlosses","netinterestafterprovisions","noninterestincome","noninterestexpense","pretaxprofit","taxes","posttaxprofit","belowlineadjustments","profitforperiod","minorityinterests","equityholderofparent","epsbasic","epsbasiccontinuinganddiscontinued","totaldividend"];case"INV":return["revenue","benefitsandoperatingexpenses","pretaxprofit","taxes","posttaxprofit","belowlineadjustments","profitforperiod","minorityinterests","equityholderofparent","epsbasic","epsbasiccontinuinganddiscontinued","totaldividend"]}}getBalanceSheetFieldsList(){switch(this.template){case"C&I":default:return["totalassets","totalnoncurrentassets","totalcurrentassets","totalliabilities","totalnoncurrentliabilities","totalcurrentliabilities","netassets","totalequity","shareholdersfunds","bsminorityinterests"];case"B&S":case"INV":return["totalassets","totalliabilities","netassets","totalequity","shareholdersfunds","bsminorityinterests"]}}getRatiosFieldsList(){return["peratio","peg","epsgrowthpercentual","dividendcover","revenuepershare","pretaxprofitpershare","operatingmarging","returnoncapitalemployed","dividendyield","dividendpersharegrowth","navpershare","netgearing"]}isIndentedFiled(t){return["deprecationamortization","otheroperatingexpenses","minorityinterests","equityholderofparent","totalnoncurrentassets","totalcurrentassets","totalnoncurrentliabilities","totalcurrentliabilities","shareholdersfunds","bsminorityinterests"].indexOf(t)>=0}isBoldField(t){return["revenue","grossprofit","operatingprofitLoss","pretaxprofit","posttaxprofit","profitforperiod","interestincome","totalassets","totalliabilities","netassets","totalequity"].indexOf(t)>=0}isMinorCurrencyFields(t){return["epsbasic","epsbasiccontinuinganddiscontinued","totaldividend","revenuepershare","pretaxprofitpershare","navpershare"].indexOf(t)>=0}isAsIsField(t){return["peratio","peg","dividendcover"].indexOf(t)>=0}isPercentField(t){return["epsgrowthpercentual","operatingmarging","returnoncapitalemployed","dividendyield","dividendpersharegrowth","netgearing"].indexOf(t)>=0}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw),e.rXU(l.QX),e.rXU(S.f),e.rXU(Li))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-income-statement-table-accordion"]],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)},inputs:{content:"content"},features:[e.Vt3],decls:5,vars:3,consts:[["id","income-statement-table-accordion",1,"income-statement-table-accordion-component","component","gtm-track-component"],["class","wrapper x-large-width x-large-width-padding",4,"ngIf"],[3,"tables","whatsThis",4,"ngIf"],[1,"income-statement-legal-text","small-font-size","wrapper","x-large-width","x-large-width-padding"],[1,"wrapper","x-large-width","x-large-width-padding"],[3,"tableFields","whatsThis",4,"ngFor","ngForOf"],[3,"tableFields","whatsThis"],[3,"tables","whatsThis"]],template:function(i,o){1&i&&(e.j41(0,"section",0),e.DNE(1,T1,2,1,"div",1)(2,x1,1,2,"app-mobile-table-accordion",2),e.j41(3,"div",3),e.EFF(4),e.k0s()()),2&i&&(e.R7$(),e.Y8G("ngIf",o.onDesktop),e.R7$(),e.Y8G("ngIf",!o.onDesktop),e.R7$(2),e.SpI(" ",o.content.legalText.value," "))},dependencies:[l.Sq,l.bT,p1,b1],changeDetection:0})}}return n})();function k1(n,r){if(1&n&&(e.j41(0,"span",31),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.ftseTickerLabel.value," ")}}function y1(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.ftseTickerValue.label," ")}}function w1(n,r){if(1&n&&(e.j41(0,"div",32),e.DNE(1,y1,2,1,"ng-container",15),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.content.ftseTickerValue.errorText)}}function I1(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",e.bMT(2,1,t.content.ftseTickerValue.value)," ")}}function M1(n,r){1&n&&e.eu8(0)}function O1(n,r){if(1&n&&(e.j41(0,"span",33),e.DNE(1,I1,3,3,"ng-container",15)(2,M1,1,0,"ng-container",34),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(43);e.R7$(),e.Y8G("ngIf",!t.content.ftseTickerValue.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.ftseTickerValue)}}function R1(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",e.bMT(2,1,t.content.ftseTickerPercentualchange.value),"% ")}}function F1(n,r){1&n&&e.eu8(0)}function P1(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,R1,3,3,"ng-container",15)(2,F1,1,0,"ng-container",34),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(43);e.R7$(),e.Y8G("ngIf",!t.content.ftseTickerPercentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.ftseTickerPercentualchange)}}function G1(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.ftseTickerDescription.value," ")}}function S1(n,r){1&n&&e.eu8(0)}function $1(n,r){if(1&n&&(e.j41(0,"span",35),e.DNE(1,G1,2,1,"ng-container",15)(2,S1,1,0,"ng-container",34),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(43);e.R7$(),e.Y8G("ngIf",!t.content.ftseTickerDescription.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.ftseTickerDescription)}}function E1(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.content.ftseTickerNetchange.label)}}function D1(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",e.bMT(2,1,t.content.ftseTickerNetchange.value)," ")}}function j1(n,r){1&n&&e.eu8(0)}function N1(n,r){if(1&n&&(e.j41(0,"span",16),e.DNE(1,D1,3,3,"ng-container",15)(2,j1,1,0,"ng-container",34),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(43);e.Y8G("ngClass",t.netchangeCssClass(t.content.ftseTickerNetchange)),e.R7$(),e.Y8G("ngIf",!t.content.ftseTickerNetchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.ftseTickerNetchange)}}function Y1(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.content.ftseTickerHighlow.label)}}function X1(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",36),e.EFF(2),e.nI1(3,"customnumber"),e.k0s(),e.EFF(4," / "),e.j41(5,"span",37),e.EFF(6),e.nI1(7,"customnumber"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,2,null==t.content.ftseTickerHighlow.value?null:t.content.ftseTickerHighlow.value.high)),e.R7$(4),e.JRh(e.bMT(7,4,null==t.content.ftseTickerHighlow.value?null:t.content.ftseTickerHighlow.value.low))}}function B1(n,r){1&n&&e.eu8(0)}function V1(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,X1,8,6,"ng-container",15)(2,B1,1,0,"ng-container",34),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(43);e.R7$(),e.Y8G("ngIf",!t.content.ftseTickerHighlow.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.ftseTickerHighlow)}}function L1(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.content.ftseTickerLastclose.label)}}function A1(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",e.bMT(2,1,t.content.ftseTickerLastclose.value)," ")}}function q1(n,r){1&n&&e.eu8(0)}function U1(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,A1,3,3,"ng-container",15)(2,q1,1,0,"ng-container",34),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(43);e.R7$(),e.Y8G("ngIf",!t.content.ftseTickerLastclose.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.ftseTickerLastclose)}}function z1(n,r){if(1&n&&e.nrm(0,"app-hide-field",39),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function H1(n,r){1&n&&e.DNE(0,z1,1,1,"app-hide-field",38),2&n&&e.Y8G("ngIf",r.errorText)}let qi=(()=>{class n{constructor(t,i,o,a){this.refreshService=t,this.cssmapping=i,this.platformId=o,this.store=a}ngOnInit(){(0,l.UE)(this.platformId)&&(this.status={...this.status,refreshedTime:Date.now()-9e5},this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content,this.status),this.store.dispatch((0,h.Jk)({indicescode:this.content.ftseTickerCode})))}
1ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id)}tickerCssClass(t){return this.cssmapping.cssClass(t)}netchangeCssClass(t){return this.cssmapping.getNetChangeClass(t)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(j.W),e.rXU(b.o),e.rXU(e.Agw),e.rXU(u.il))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-ftse-ticker"]],inputs:{content:"content",id:"id",position:"position",type:"type",status:"status"},decls:44,vars:26,consts:[["emptyvalue",""],["id","ftse-ticker",1,"ftse-ticker-component","component","wrapper","x-large-width","x-large-width-padding","gtm-track-component"],[1,"component-refresh","flex-wrapper"],[1,"ticker-separator","flex-wrapper"],[1,"ticker-main"],[1,"wrapper"],["class","ticker-label bold-font-weight",4,"ngIf"],[3,"whatsThisLink","whatsThisText"],[1,"wrapper","flex-container","ticker-header"],[1,"ticker-price"],[1,"price-container"],["class","currency-label small-font-size item-label",4,"ngIf"],[1,"last-price","larger-font-size","bold-font-weight"],["class","price-tag",4,"ngIf"],[1,"price-change","large-font-size","bold-font-weight",3,"ngClass"],[4,"ngIf"],[3,"ngClass"],["class","ticker-name larger-font-size medium-font-weight",4,"ngIf"],[1,"wrapper","ticker-slice","mobile-flex-wrapper"],[1,"flex-wrapper","ticker-fields"],[1,"ticker-item"],[1,"small-font-size","item-label","netchange-label"],[1,"bigger-font-size","bold-font-weight"],[3,"ngClass",4,"ngIf"],[1,"small-font-size","item-label","high-low-label"],[1,"bigger-font-size","bold-font-weight","high-low-value"],[1,"small-font-size","item-label","open-last-label"],[1,"bigger-font-size","bold-font-weight","open-last-value"],[1,"ticker-item","delay"],[1,"small-font-size"],[1,"bold-font-weight"],[1,"ticker-label","bold-font-weight"],[1,"currency-label","small-font-size","item-label"],[1,"price-tag"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ticker-name","larger-font-size","medium-font-weight"],[1,"high-value"],[1,"low-value"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"div",1)(1,"div",2)(2,"section",3)(3,"div",4)(4,"div",5),e.DNE(5,k1,2,1,"span",6),e.nrm(6,"app-whats-this",7),e.k0s(),e.j41(7,"div",8)(8,"span",9)(9,"div",10),e.DNE(10,w1,2,1,"div",11),e.j41(11,"span",12),e.DNE(12,O1,3,3,"span",13),e.k0s(),e.j41(13,"span",14),e.DNE(14,P1,3,3,"span",15),e.k0s()()(),e.j41(15,"span",16),e.DNE(16,$1,3,3,"span",17),e.k0s()()()(),e.j41(17,"div",18)(18,"div",19)(19,"div",20)(20,"div",21),e.DNE(21,E1,2,1,"span",15),e.k0s(),e.j41(22,"span",22),e.DNE(23,N1,3,4,"span",23),e.k0s()(),e.j41(24,"div",20)(25,"div",24),e.DNE(26,Y1,2,1,"span",15),e.k0s(),e.j41(27,"span",25),e.DNE(28,V1,3,3,"span",15),e.k0s()(),e.j41(29,"div",20)(30,"div",26),e.DNE(31,L1,2,1,"span",15),e.k0s(),e.j41(32,"span",27),e.DNE(33,U1,3,3,"span",15),e.k0s()(),e.j41(34,"div",28)(35,"div",29),e.EFF(36," As at "),e.j41(37,"span",30),e.EFF(38),e.nI1(39,"customdate"),e.nI1(40,"customdate"),e.k0s(),e.EFF(41),e.k0s()()()()()(),e.DNE(42,H1,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.R7$(5),e.Y8G("ngIf",o.content.ftseTickerLabel.value),e.R7$(),e.Y8G("whatsThisLink",o.content.whatsThisLink)("whatsThisText",o.content.whatsThisText),e.R7$(4),e.Y8G("ngIf",o.content.ftseTickerValue.visibility),e.R7$(2),e.Y8G("ngIf",o.content.ftseTickerValue.visibility),e.R7$(),e.Y8G("ngClass",!o.content.ftseTickerPercentualchange.errorText&&o.content.ftseTickerPercentualchange.visibility?o.tickerCssClass(o.content.ftseTickerNetchangesign):""),e.R7$(),e.Y8G("ngIf",o.content.ftseTickerPercentualchange.visibility),e.R7$(),e.Y8G("ngClass",o.content.ftseTickerDescription.errorText?"":"ellipsed"),e.R7$(),e.Y8G("ngIf",o.content.ftseTickerDescription.visibility),e.R7$(5),e.Y8G("ngIf",o.content.ftseTickerNetchange.visibility),e.R7$(2),e.Y8G("ngIf",o.content.ftseTickerNetchange.visibility),e.R7$(3),e.Y8G("ngIf",o.content.ftseTickerHighlow.visibility),e.R7$(2),e.Y8G("ngIf",o.content.ftseTickerHighlow.visibility),e.R7$(3),e.Y8G("ngIf",o.content.ftseTickerLastclose.visibility),e.R7$(2),e.Y8G("ngIf",o.content.ftseTickerLastclose.visibility),e.R7$(5),e.Lme("",e.i5U(39,18,o.status.refreshedTime,"short")," ",e.ii3(40,21,o.status.refreshedTime,"time","Europe/London",!0),""),e.R7$(3),e.SpI(" - ",o.content.refreshTime.value," "))},dependencies:[l.YU,l.bT,l.T3,y.W,ae,ee.p,U.W],styles:[".ftse-ticker-component[_ng
1content-%COMP%]{margin-top:2.5rem}.ticker-separator[_ngcontent-%COMP%]{border-bottom:.375em solid #000000;justify-content:space-between;margin-bottom:1.375em;padding:0 0 .75em;position:relative;width:100%}@media (max-width: 480px){.ticker-separator[_ngcontent-%COMP%]{margin-top:1.5em}}.refreshing[_ngcontent-%COMP%] .ticker-separator[_ngcontent-%COMP%]{border-bottom-color:#00000080}.ticker-header[_ngcontent-%COMP%]{align-items:flex-end;padding:.75em 0 0}app-track[_ngcontent-%COMP%]{display:inline-block;margin-bottom:1.25rem}.ticker-main[_ngcontent-%COMP%]{width:100%}@media (max-width: 768px){.ticker-main[_ngcontent-%COMP%]{display:block;width:100%}}@media (max-width: 480px){.ticker-main[_ngcontent-%COMP%] app-whats-this[_ngcontent-%COMP%] .whats-this[_ngcontent-%COMP%]{left:0;margin:0 0 0 .5em;position:absolute;top:-1.5em}}.ticker-label[_ngcontent-%COMP%]{background:#993000;color:#fff;display:inline-block;margin-right:.25rem;padding:.5em .75em}.ticker-price[_ngcontent-%COMP%]{flex-shrink:0}.price-tag[_ngcontent-%COMP%]{margin-right:.25em}.price-container[_ngcontent-%COMP%]{margin-right:1.75rem}@media (max-width: 480px){.price-container[_ngcontent-%COMP%]{margin:0 0 .5rem}}.ticker-name[_ngcontent-%COMP%]{color:#001eff;margin-right:.25em}.ticker-slice[_ngcontent-%COMP%], .ticker-fields[_ngcontent-%COMP%]{width:100%}.ticker-item[_ngcontent-%COMP%]{margin-bottom:1.375em;margin-right:5%}.ticker-item[_ngcontent-%COMP%] .item-label[_ngcontent-%COMP%]{text-transform:none}.last-of-column[_ngcontent-%COMP%]{margin-bottom:.25em;margin-top:.45em}.delay[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}}return n})();function W1(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.content.title.value," ")}}function J1(n,r){1&n&&e.eu8(0)}function K1(n,r){if(1&n&&(e.j41(0,"h3",9),e.DNE(1,W1,2,1,"ng-container",10)(2,J1,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.content.title.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t.emptyvalue)("ngTemplateOutletContext",t.content.title)}}function Q1(n,r){if(1&n&&(e.j41(0,"div",12)(1,"a",13),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("href",t.exploreAllLink(),e.B4B),e.R7$(),e.JRh(t.content.viewAllLabel.value)}}function Z1(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(t.tidm.value)}}function ev(n,r){1&n&&e.eu8(0)}function tv(n,r){if(1&n&&(e.j41(0,"a",27),e.nI1(1,"companyUrl"),e.DNE(2,Z1,2,1,"ng-container",10)(3,ev,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(3);e.Y8G("href",e.bMT(1,4,t),e.B4B),e.R7$(2),e.Y8G("ngIf",!t.tidm.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyvalue)("ngTemplateOutletContext",t.tidm)}}function nv(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(t.name.value)}}function iv(n,r){1&n&&e.eu8(0)}function ov(n,r){if(1&n&&(e.j41(0,"a",28),e.nI1(1,"companyUrl"),e.DNE(2,nv,2,1,"ng-container",10)(3,iv,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(3);e.Y8G("href",e.bMT(1,4,t),e.B4B),e.R7$(2),e.Y8G("ngIf",!t.name.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyvalue)("ngTemplateOutletContext",t.name)}}function rv(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(4).$implicit;e.R7$(),e.SpI("",t.currency.value," ")}}function av(n,r){1&n&&e.eu8(0)}function sv(n,r){if(1&n&&(e.j41(0,"span",12),e.DNE(1,rv,2,1,"ng-container",10)(2,av,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(3).$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.currency.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyvalue)("ngTemplateOutletContext",t.currency)}}function lv(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(e.bMT(2,1,t.lastprice.value))}}function cv(n,r){1&n&&e.eu8(0)}function pv(n,r){if(1&n&&(e.j41(0,"div",12),e.DNE(1,sv,3,3,"span",5)(2,lv,3,3,"ng-container",10)(3,cv,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.currency.visibility),e.R7$(),e.Y8G("ngIf",!t.lastprice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyvalue)("ngTemplateOutletContext",t.lastprice)}}function mv(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.percentualchange.value,"%"))}}function _v(n,r){1&n&&e.eu8(0)}function dv(n,r){if(1&n&&(e.j41(0,"div",29),e.DNE(1,mv,3,4,"ng-container",10)(2,_v,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(3);e.Y8G("ngClass",i.signCssClass(t.netchangesign)),e.R7$(),e.Y8G("ngIf",!t.percentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyvalue)("ngTemplateOutletContext",t.percentualchange)}}function uv(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(t.issuername.value)}}
1function gv(n,r){1&n&&e.eu8(0)}function hv(n,r){if(1&n&&(e.j41(0,"a",30),e.nI1(1,"companyUrl"),e.DNE(2,uv,2,1,"ng-container",10)(3,gv,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(3);e.Y8G("href",e.bMT(1,4,t),e.B4B),e.R7$(2),e.Y8G("ngIf",!t.issuername.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyvalue)("ngTemplateOutletContext",t.issuername)}}function fv(n,r){if(1&n&&(e.j41(0,"div",18)(1,"div",19)(2,"div",20),e.DNE(3,tv,4,6,"a",21)(4,ov,4,6,"a",22),e.k0s(),e.j41(5,"div"),e.DNE(6,pv,4,4,"div",5)(7,dv,3,4,"div",23),e.k0s(),e.j41(8,"div",24),e.DNE(9,hv,4,6,"a",25),e.nrm(10,"app-track",26),e.k0s()()()),2&n){const t=e.XpG(),i=t.$implicit;e.Mz_("id","etfpricecards-card-",t.index,""),e.R7$(3),e.Y8G("ngIf",i.tidm.visibility),e.R7$(),e.Y8G("ngIf",i.name.visibility),e.R7$(2),e.Y8G("ngIf",i.lastprice.visibility),e.R7$(),e.Y8G("ngIf",i.percentualchange.visibility),e.R7$(2),e.Y8G("ngIf",i.issuername.visibility),e.R7$(),e.Y8G("align","right")("tidm",i.tidm.value)}}function vv(n,r){if(1&n&&(e.qex(0),e.DNE(1,fv,11,9,"div",17),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.tidm.value)}}function bv(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",14),e.bIt("swipeleft",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.handleTouchMove(o,"etfpricecards"))})("swiperight",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.handleTouchMove(o,"etfpricecards"))})("animationstart",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.startAnimation(o))})("animationend",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.endAnimation(o))}),e.DNE(1,vv,2,1,"ng-container",15),e.nI1(2,"slice"),e.nrm(3,"div",16),e.k0s()}if(2&n){const t=e.XpG(2);e.AVh("refreshing",t.statusRefreshed())("refreshed",t.statusRefreshed()&&!t.animation),e.R7$(),e.Y8G("ngForOf",e.brH(2,5,t.content.etfpricecard.value,0,t.maxCards))}}function Cv(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",31),e.bIt("click",function(){const o=e.eBV(t).index,a=e.XpG(2);return e.Njj(a.selectSlide(o,"etfpricecards"))}),e.k0s()}if(2&n){const t=r.index,i=e.XpG(2);e.AVh("active-slide-selector",i.currentSlide===t),e.Mz_("id","selector-slide-etfpricecard-",t,"")}}function Tv(n,r){if(1&n&&(e.j41(0,"section",1)(1,"div",2)(2,"div",3),e.DNE(3,K1,3,3,"h3",4)(4,Q1,3,2,"div",5),e.k0s()(),e.j41(5,"div",2),e.DNE(6,bv,4,9,"div",6),e.j41(7,"div",7),e.DNE(8,Cv,1,4,"span",8),e.nI1(9,"slice"),e.k0s()()()),2&n){const t=e.XpG();e.R7$(3),e.Y8G("ngIf",t.content.title.visibility),e.R7$(),e.Y8G("ngIf",t.content.viewAllLabel.value),e.R7$(2),e.Y8G("ngIf",t.content.etfpricecard.value),e.R7$(2),e.Y8G("ngForOf",e.brH(9,4,t.content.etfpricecard.value,0,t.maxCards))}}let Ui=(()=>{class n{constructor(t,i,o,a,s,c){this.cssmapping=t,this.swipe=i,this.store=o,this.platformId=a,this.cd=s,this.refreshService=c,this.maxCards=5,this.currentSlide=0,this.animation=!1,this._isVisible=!1,this.ngUnsubscribe=new re.B}get isVisible(){return this._isVisible}setSlide(t){this.currentSlide=t}selectSlide(t){this.swipeClass(t),this.setSlide(t)}handleTouchMove(t){const i=this.swipe.handleTouchMove(t);"left"===i&&this.currentSlide<this.maxCards-1&&this.selectSlide(this.currentSlide+1),"right"===i&&this.currentSlide>0&&this.selectSlide(this.currentSlide-1)}signCssClass(t){return this.cssmapping.cssClass(t)}swipeClass(t){this.swipe.swipeClass(t,"etfpricecards",this.maxCards)}ngOnInit(){(0,l.Vy)(this.platformId)||(this.setComponentVisibility(),this.checkIndicesCode(),this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content,this.status))}ngAfterViewInit(){this.swipeClass(0)}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this.refreshService.unsetRefreshComponent(this.id)}setComponentVisibility(){var t=this;return(0,_.A)(function*(){const i=yield t.store.pipe((0,u.Lt)(h.Ti),(0,f.s)(1),(0,A.T)(o=>o.parameters.get("indexname"))).toPromise();t.setVisible(i)})()}checkIndicesCode(){(0,l.Vy)(this.platformId)||this.store.pipe((0,u.Lt)(h.P3),(0,W.p)(t=>null!==t),(0,ie.Q)(this.ngUnsubscribe)).subscribe(t=>{this.setVisible(t)})}setVisible(t){this._isVisible=t&&("ftse-100"===t.toLowerCase()||"ukx"===t.toLowerCase()),this.cd.markForCheck()}
1exploreAllLink(){return k.T.getLink("price-explorer",(new F.Nl).set("categories","ETFS"))}statusRefreshing(){return!0===this.status.refreshing}statusRefreshed(){return!1===this.status.refreshing}startAnimation(t){"rotating"===t.animationName&&(this.animation=!0)}endAnimation(t){"rotating"===t.animationName&&(this.animation=!1)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o),e.rXU(Ee.h),e.rXU(u.il),e.rXU(e.Agw),e.rXU(e.gRc),e.rXU(j.W))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-etf-price-cards"]],inputs:{content:"content",id:"id",type:"type",position:"position",status:"status"},decls:1,vars:1,consts:[["id","etf-price-cards","class","etf-price-cards-component gtm-track-component component",4,"ngIf"],["id","etf-price-cards",1,"etf-price-cards-component","gtm-track-component","component"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"flex-container","spaced-flex-container","flex-align-center"],["class","large-font-size bold-font-weight",4,"ngIf"],["class","regular-font-size",4,"ngIf"],["class","flex-wrapper cards-container swipable-card-container spaced-flex-container",3,"refreshing","refreshed","swipeleft","swiperight","animationstart","animationend",4,"ngIf"],[1,"swipable-slider","show-on-portrait"],["class","slide-selector",3,"active-slide-selector","id","click",4,"ngFor","ngForOf"],[1,"large-font-size","bold-font-weight"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"regular-font-size"],[3,"href"],[1,"flex-wrapper","cards-container","swipable-card-container","spaced-flex-container",3,"swipeleft","swiperight","animationstart","animationend"],[4,"ngFor","ngForOf"],[1,"card","spacer","x-small-width"],["class","card spaced-flex-container gtm-trackable x-small-width swipable-card",3,"id",4,"ngIf"],[1,"card","spaced-flex-container","gtm-trackable","x-small-width","swipable-card",3,"id"],[1,"card-front"],[1,"name-container","ellipsed"],["class","card-name bold-font-weight clickable",3,"href",4,"ngIf"],["class","bold-font-weight clickable black-link",3,"href",4,"ngIf"],["class","card-data bigger-font-size bold-font-weight",3,"ngClass",4,"ngIf"],[1,"etfpricecard-footer","mobile-flex-wrapper","spaced-flex-container","flex-align-center"],["class","clickable black-link",3,"href",4,"ngIf"],[3,"align","tidm"],[1,"card-name","bold-font-weight","clickable",3,"href"],[1,"bold-font-weight","clickable","black-link",3,"href"],[1,"card-data","bigger-font-size","bold-font-weight",3,"ngClass"],[1,"clickable","black-link",3,"href"],[1,"slide-selector",3,"click","id"]],template:function(i,o){1&i&&e.DNE(0,Tv,10,8,"section",0),2&i&&e.Y8G("ngIf",o.isVisible)},dependencies:[l.YU,l.Sq,l.bT,l.T3,H.J,l.P9,ee.p,ve.b],styles:[".etf-price-cards-component[_ngcontent-%COMP%]{padding-bottom:1.5rem;padding-top:1.5rem}.card[_ngcontent-%COMP%]:not(.spacer){animation-duration:1s;animation-iteration-count:1;border:.0625rem solid #b2b2b2;transform-style:preserve-3d;transition-duration:.5s;transition-property:all}.card-filler[_ngcontent-%COMP%]:not(.spacer){animation:none;background-color:transparent;border:0;opacity:0;transition:none}.etfpricecard-footer[_ngcontent-%COMP%] .clickable[_ngcontent-%COMP%]{width:calc(100% - 4rem)}.card-name[_ngcontent-%COMP%]:hover{color:#001eff}.card-front[_ngcontent-%COMP%]{border-left:.25rem #22775e solid;display:block;inset:0;margin:0;opacity:1;padding:1rem;position:absolute}.refreshing[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{animation-name:rotating}.refreshing[_ngcontent-%COMP%]:not(.refreshed) .card-front[_ngcontent-%COMP%]{opacity:0}.refreshing.refreshed[_ngcontent-%COMP%] .card-front[_ngcontent-%COMP%]{animation-duration:.5s;animation-iteration-count:1;animation-name:showup}"],changeDetection:0})}}return n})();var zi=p(78336);const It=n=>({errorText:n});function xv(n,r){if(1&n&&(e.j41(0,"h3",9),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.table.title.value," ")}}function kv(n,r){if(1&n&&(e.j41(0,"p",10),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.table.summary.value," ")}}function yv(n,r){if(1&n&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.table.rows.value[0].description.label)}}function wv(n,r){if(1&n&&(e.j41(0,"span",16),e.EFF(1),e.nI1(2,"customdate"),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",e.i5U(2,1,t.table.rows.value[0].closingdate.value,"short"),"")}}function Iv(n,r){if(1&n&&(e.j41(0,"th"),e.EFF(1),e.DNE(2,wv,3,4,"span",15),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI("",t.table.rows.value[0].value.label," "),e.R7$(),e.Y8G("ngIf",null==t.table.rows.value[0].closingdate?null:t.table.rows.value[0].closingdate.value)}}function Mv(n,r){if(1&n&&(e.j41(0,"th"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.table.rows.value[0].change.label)}}function Ov(n,r){if(1&n&&(e.j41(0,"th",17),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.table.rows.value[0].high.label)}}function Rv(n,r){if(1&n&&(e.j41(0,"th",17),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.table.rows.value[0].low.label)}}function Fv(n,r){if(1&n&&(e.j41(0,"span",16),e.EFF(1),e.nI1(2,"customdate"),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",e.i5U(2,1,t.table.rows.value[0].prevclosingdate.value,"short"),"")}}function Pv(n,r){if(1&n&&(e.j41(0,"th",17),e.EFF(1),e.DNE(2,Fv,3,4,"span",15),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI("",t.table.rows.value[0].lastclose.label," "),e.R7$(),e.Y8G("ngIf",t.table.rows.value[0].prevclosingdate&&t.table.rows.value[0].prevclosingdate.value)}}function Gv(n,r){1&n&&e.nrm(0,"th",18)}function Sv(n,r){if(1&n&&(e.j41(0,"tr",11),e.DNE(1,yv,2,1,"th",12)(2,Iv,3,2,"th",12)(3,Mv,2,1,"th",12)(4,Ov,2,1,"th",13)(5,Rv,2,1,"th",13)(6,Pv,3,2,"th",13)(7,Gv,1,0,"th",14),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.table.rows.value[0].description),e.R7$(),e.Y8G("ngIf",t.table.rows.value[0].value),e.R7$(),e.Y8G("ngIf",t.table.rows.value[0].change),e.R7$(),e.Y8G("ngIf",t.table.rows.value[0].high),e.R7$(),e.Y8G("ngIf",t.table.rows.value[0].low),e.R7$(),e.Y8G("ngIf",t.table.rows.value[0].lastclose),e.R7$(),e.Y8G("ngIf",t.table.rows.value[0].code)}}function $v(n,r){if(1&n&&(e.j41(0,"a",24),e.nI1(1,"ftseIndexUrl"),e.EFF(2),e.k0s()),2&n){const t=e.XpG(4).$implicit;e.Y8G("href",e.bMT(1,2,t.description.value),e.B4B),e.R7$(2),e.JRh(t.description.value)}}function Ev(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4).$implicit;e.R7$(),e.JRh(t.description.value)}}function Dv(n,r){if(1&n&&(e.qex(0),e.DNE(1,$v,3,4,"a",23)(2,Ev,2,1,"span",12),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.Y8G("ngIf",t.code&&t.code.value),e.R7$(),e.Y8G("ngIf",!t.code||!t.code.value)}}function jv(n,r){if(1&n&&(e.qex(0),e.DNE(1,Dv,3,2,"ng-container",12),e.eu8(2,22),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG();const i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!t.description.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,It,t.description.errorText))}}function Nv(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",25),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function Yv(n,r){if(1&n&&(e.j41(0,"td"),e.DNE(1,jv,3,5,"ng-container",12)(2,Nv,3,1,"ng-container",12),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.description.visibility),e.R7$(),e.Y8G("ngIf",!t.description.visibility)}}function Xv(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.value.value)," ")}}function Bv(n,r){if(1&n&&(e.qex(0),e.DNE(1,Xv,3,3,"ng-container",12),e.eu8(2,22),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG();const i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!t.value.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,It,t.value.errorText))}}function Vv(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",25),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function Lv(n,r){if(1&n&&(e.j41(0,"td"),e.DNE(1,Bv,3,5,"ng-container",12)(2,Vv,3,1,"ng-container",12),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.value.visibility),e.R7$(),e.Y8G("ngIf",!t.value.visibility)}}function Av(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.nI1(3,"customnumber"),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.Lme("",e.bMT(2,2,t.netchange.value)," (",e.i5U(3,4,t.percentualchange.value,"%"),")")}}function qv(n,r){1&n&&e.eu8(0)}function Uv(n,r){if(1&n&&(e.qex(0),e.DNE(1,Av,4,7,"ng-container",12)(2,qv,1,0,"ng-container",27),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG();const i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!t.change.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.change)}}function zv(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",25),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function Hv(n,r){if(1&n&&(e.j41(0,"td",26),e.DNE(1,Uv,3,3,"ng-container",12)(2,zv,3,1,"ng-container",12),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG();e.Y8G("ngClass",t.change.visibility&&!t.change.errorText?i.modalCssClass(t.netchangesign):""),e.R7$(),e.Y8G("ngIf",t.change.visibility),e.R7$(),e.Y8G("ngIf",!t.change.visibility)}}function Wv(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.high.value)," ")}}function Jv(n,r){if(1&n&&(e.qex(0),e.DNE(1,Wv,3,3,"ng-container",12),e.eu8(2,22),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG();const i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!t.high.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,It,t.high.errorText))}}function Kv(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",25),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function Qv(n,r){if(1&n&&(e.j41(0,"td",17),e.DNE(1,Jv,3,5,"ng-container",12)(2,Kv,3,1,"ng-container",12),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.high.visibility),e.R7$(),e.Y8G("ngIf",!t.high.visibility)}}function Zv(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.low.value)," ")}}function eb(n,r){if(1&n&&(e.qex(0),e.DNE(1,Zv,3,3,"ng-container",12),e.eu8(2,22),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG();const i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!t.low.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,It,t.low.errorText))}}function tb(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",25),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function nb(n,r){if(1&n&&(e.j41(0,"td",17),e.DNE(1,eb,3,5,"ng-container",12)(2,tb,3,1,"ng-container",12),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.low.visibility),e.R7$(),e.Y8G("ngIf",!t.low.visibility)}}function ib(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.lastclose.value)," ")}}function ob(n,r){if(1&n&&(e.qex(0),e.DNE(1,ib,3,3,"ng-container",12),e.eu8(2,22),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG();const i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!t.lastclose.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,It,t.lastclose.errorText))}}function rb(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",25),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function ab(n,r){if(1&n&&(e.j41(0,"td",17),e.DNE(1,ob,3,5,"ng-container",12)(2,rb,3,1,"ng-container",12),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.lastclose.visibility),e.R7$(),e.Y8G("ngIf",!t.lastclose.visibility)}}
1function sb(n,r){if(1&n&&(e.j41(0,"td",28),e.nrm(1,"app-link-or-dash",29),e.nI1(2,"ftseIndexUrl"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,4,t.description.value))("value","View Index")("errorText",t.description.errorText)("visibility",t.description.visibility)}}function lb(n,r){if(1&n&&(e.j41(0,"tr",19),e.DNE(1,Yv,3,2,"td",12)(2,Lv,3,2,"td",12)(3,Hv,3,3,"td",20)(4,Qv,3,2,"td",13)(5,nb,3,2,"td",13)(6,ab,3,2,"td",13)(7,sb,3,6,"td",21),e.k0s()),2&n){const t=r.$implicit,i=r.index;e.AVh("active-panel",0===i),e.Mz_("id","slide-",i,""),e.R7$(),e.Y8G("ngIf",t.description),e.R7$(),e.Y8G("ngIf",t.value),e.R7$(),e.Y8G("ngIf",t.change),e.R7$(),e.Y8G("ngIf",t.high),e.R7$(),e.Y8G("ngIf",t.low),e.R7$(),e.Y8G("ngIf",t.lastclose),e.R7$(),e.Y8G("ngIf",t.code)}}function cb(n,r){if(1&n&&(e.j41(0,"div",30),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.table.legal.value," ")}}function pb(n,r){if(1&n&&e.nrm(0,"app-hide-field",32),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function mb(n,r){1&n&&e.DNE(0,pb,1,1,"app-hide-field",31),2&n&&e.Y8G("ngIf",r.errorText)}let _b=(()=>{class n{constructor(t){this.cssmapping=t,this.defaultFieldValue=w.M.DEFAULT_VALUE}modalCssClass(t){return this.cssmapping.cssClass(t)}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-indices-tables"]],inputs:{table:"table"},decls:12,vars:7,consts:[["emptyvalue",""],[1,"indices-table",3,"id"],[1,"table-intro"],["class","bigger-font-size bold-font-weight",4,"ngIf"],["class","regular-font-size",4,"ngIf"],[1,"full-width","table"],["class","table-header",4,"ngIf"],["class","medium-font-weight slide-panel",3,"active-panel","id",4,"ngFor","ngForOf"],["class","table-legal small-font-size",4,"ngIf"],[1,"bigger-font-size","bold-font-weight"],[1,"regular-font-size"],[1,"table-header"],[4,"ngIf"],["class","hide-on-portrait",4,"ngIf"],["class","view-index-link hide-on-desktop",4,"ngIf"],["class","small-font-size",4,"ngIf"],[1,"small-font-size"],[1,"hide-on-portrait"],[1,"view-index-link","hide-on-desktop"],[1,"medium-font-weight","slide-panel",3,"id"],["class","bold-font-weight",3,"ngClass",4,"ngIf"],["class","hide-on-desktop bold-font-weight",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"href",4,"ngIf"],[3,"href"],[1,"dash-wrapper"],[1,"bold-font-weight",3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"hide-on-desktop","bold-font-weight"],[3,"link","value","errorText","visibility"],[1,"table-legal","small-font-size"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"section",1)(1,"div",2),e.DNE(2,xv,2,1,"h3",3)(3,kv,2,1,"p",4),e.k0s(),e.j41(4,"table",5)(5,"thead"),e.DNE(6,Sv,8,7,"tr",6),e.k0s(),e.j41(7,"tbody"),e.DNE(8,lb,8,11,"tr",7),e.k0s()(),e.DNE(9,cb,2,1,"div",8),e.k0s(),e.DNE(10,mb,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.Mz_("id","indices-table-",o.table.type,""),e.R7$(2),e.Y8G("ngIf",o.table.title.value),e.R7$(),e.Y8G("ngIf",o.table.summary.value),e.R7$(3),e.Y8G("ngIf",null==o.table||null==o.table.rows?null:o.table.rows.value[0]),e.R7$(2),e.Y8G("ngForOf",o.table.rows.value),e.R7$(),e.Y8G("ngIf",o.table.legal.value))},dependencies:[l.YU,l.Sq,l.bT,l.T3,y.W,xe,ee.p,U.W,zi.q],styles:[".indices-table[_ngcontent-%COMP%]{margin:2.5rem 0 1.5rem}.table-intro[_ngcontent-%COMP%], .table-legal[_ngcontent-%COMP%]{padding:.5rem 1.5rem}@media (max-width: 1144px){.table-intro[_ngcontent-%COMP%], .table-legal[_ngcontent-%COMP%]{padding:.5rem 1rem}}.table[_ngcontent-%COMP%]{margin:1.5rem auto;table-layout:fixed;width:100%}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:.85em}@media (max-width: 1144px){.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:.85em}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child, .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding-left:1rem}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child, .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding-left:1rem}}@media (max-width: 480px){.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:.74375rem;padding:.5em}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child, .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding-left:.5rem!important}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child, .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding-left:.5rem!important}}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child, .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding-left:1.5rem}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child, .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding-left:1.5rem}@media (max-width: 480px){.table-intro[_ngcontent-%COMP%]{padding:.5rem}}"]})}}return n})();function db(n,r){if(1&n&&(e.j41(0,"h2",5),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.title.value," ")}}function ub(n,r){if(1&n&&(e.j41(0,"p",6),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.summary.value," ")}}function gb(n,r){1&n&&e.nrm(0,"app-indices-tables",8),2&n&&e.Y8G("table",r.$implicit)}function hb(n,r){if(1&n&&(e.qex(0),e.DNE(1,gb,1,1,"app-indices-tables",7),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.arrayITableObj)}}let Hi=(()=>{class n{constructor(){this._tableTypes=["IntradayValues","EndOfDay","EthicalIndices"]}get tableTypes(){return this._tableTypes}set arrayITableObj(t){this._arrayITableObj=t}get arrayITableObj(){return this._arrayITableObj}populateArray(t,i){return t.map(o=>
1({type:o,title:i[`ftse${o.toLowerCase()}Title`],summary:i[`ftse${o.toLowerCase()}Summary`],legal:i[`ftse${o.toLowerCase()}LegalMessage`],rows:i[`ftse${o}`]}))}ngOnInit(){this.arrayITableObj=this.populateArray(this.tableTypes,this.content)||null}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-ftse-indices-table"]],inputs:{content:"content"},decls:5,vars:3,consts:[["id","ftse-indices-table",1,"ftse-indices-table-component","component","wrapper","x-large-width","x-large-width-padding","gtm-track-component"],[1,"indices-table-intro"],["class","large-font-size bold-font-weight",4,"ngIf"],["class","regular-font-size",4,"ngIf"],[4,"ngIf"],[1,"large-font-size","bold-font-weight"],[1,"regular-font-size"],[3,"table",4,"ngFor","ngForOf"],[3,"table"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"div",1),e.DNE(2,db,2,1,"h2",2)(3,ub,2,1,"p",3),e.k0s(),e.DNE(4,hb,2,1,"ng-container",4),e.k0s()),2&i&&(e.R7$(2),e.Y8G("ngIf",o.content.title.value),e.R7$(),e.Y8G("ngIf",o.content.summary.value),e.R7$(),e.Y8G("ngIf",o.arrayITableObj))},dependencies:[l.Sq,l.bT,_b],styles:[".ftse-indices-table-component[_ngcontent-%COMP%]{margin-top:2.5rem}"],changeDetection:0})}}return n})();function fb(n,r){if(1&n&&e.nrm(0,"app-index-item",7),2&n){const t=e.XpG();e.Y8G("item",t.indexValue.item)("itemValue",t.indexValue.itemValue||null)}}function vb(n,r){if(1&n&&e.nrm(0,"app-index-item",7),2&n){const t=e.XpG();e.Y8G("item",t.fiftyTwoWeekRange.item)("itemValue",t.fiftyTwoWeekRange.itemValue||null)}}function bb(n,r){if(1&n&&e.nrm(0,"app-index-item",7),2&n){const t=e.XpG();e.Y8G("item",t.yearReturn.item)("itemValue",t.yearReturn.itemValue||null)}}let Wi=(()=>{class n{constructor(t,i,o){this.customNumber=t,this.refreshService=i,this.platformId=o}ngOnInit(){this.setItems(this.content),(0,l.UE)(this.platformId)&&this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content,this.status)}ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id)}ngOnChanges(t){t.content?.currentValue!==t.content?.previousValue&&this.setItems(t.content?.currentValue)}setItems(t){this.indexValue={item:t.ftseIndexChartTableIndex,itemValue:this.customNumber.transform(t.ftseIndexChartTableIndex.value)},this.fiftyTwoWeekRange={item:t.ftseIndexChartTable52WRange,itemValue:this.customNumber.transform(t.ftseIndexChartTable52WRange.value.min)+" - "+this.customNumber.transform(t.ftseIndexChartTable52WRange.value.max)},this.yearReturn={item:t.ftseIndexChartTable1yrReturn,itemValue:this.customNumber.transform(t.ftseIndexChartTable1yrReturn.value,"%")}}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(ee.p),e.rXU(j.W),e.rXU(e.Agw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-ftse-index-chart-table"]],inputs:{content:"content",id:"id",position:"position",type:"type",status:"status"},features:[e.OA$],decls:10,vars:6,consts:[["id","ftse-index-chart-table",1,"chart-table","component","wrapper","x-large-width","x-large-width-padding","component-refresh","gtm-track-component"],[1,"ftse-index-chart-table"],[1,"component-header"],[1,"regular-font-size","section-title"],[3,"whatsThisLink","whatsThisText"],[1,"flex-wrapper"],[3,"item","itemValue",4,"ngIf"],[3,"item","itemValue"]],template:function(i,o){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3",3),e.EFF(4),e.k0s(),e.nrm(5,"app-whats-this",4),e.k0s(),e.j41(6,"div",5),e.DNE(7,fb,1,2,"app-index-item",6)(8,vb,1,2,"app-index-item",6)(9,bb,1,2,"app-index-item",6),e.k0s()()()),2&i&&(e.R7$(4),e.SpI(" ",o.content.title.value," "),e.R7$(),e.Y8G("whatsThisLink",o.content.whatsThisLink)("whatsThisText",o.content.whatsThisText),e.R7$(2),e.Y8G("ngIf",o.indexValue.item.visibility),e.R7$(),e.Y8G("ngIf",o.fiftyTwoWeekRange.item.visibility),e.R7$(),e.Y8G("ngIf",o.yearReturn.item.visibility))},dependencies:[l.bT,zt,ae],styles:[".chart-table[_ngcontent-%COMP%]{margin-bottom:5rem}"],changeDetection:0})}}return n})(),Cb=(()=>{class n{transform(t,i){return"decode"===i?decodeURIComponent(t):encodeURIComponent(t)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=e.EJ8({name:"uriEncode",type:n,pure:!0})}}return n})();
1function Tb(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",12),e.EFF(2),e.k0s(),e.j41(3,"div",13),e.EFF(4),e.j41(5,"a",14),e.nI1(6,"uriEncode"),e.EFF(7,"Map"),e.k0s()(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.content.cccAddress.label),e.R7$(2),e.SpI(" ",t.content.cccAddress.value," "),e.R7$(),e.Mz_("href","https://maps.google.com/?q=",e.bMT(6,4,t.content.cccAddress.value),"",e.B4B)}}function xb(n,r){1&n&&e.eu8(0)}function kb(n,r){if(1&n&&(e.j41(0,"div",9),e.DNE(1,Tb,8,6,"ng-container",10)(2,xb,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(6);e.R7$(),e.Y8G("ngIf",!t.content.cccAddress.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.cccAddress)}}function yb(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",12),e.EFF(2),e.k0s(),e.j41(3,"div",16)(4,"a",17),e.nI1(5,"externalUrl"),e.EFF(6),e.k0s()(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.content.cccWebsite.label),e.R7$(2),e.FS9("href",e.bMT(5,3,t.content.cccWebsite.value),e.B4B),e.R7$(2),e.JRh(t.content.cccWebsite.value)}}function wb(n,r){1&n&&e.eu8(0)}function Ib(n,r){if(1&n&&(e.j41(0,"div",15),e.DNE(1,yb,7,5,"ng-container",10)(2,wb,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(6);e.R7$(),e.Y8G("ngIf",!t.content.cccWebsite.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.cccWebsite)}}function Mb(n,r){if(1&n&&(e.j41(0,"div",6),e.DNE(1,kb,3,3,"div",7)(2,Ib,3,3,"div",8),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.content.cccAddress.visibility&&t.content.cccAddress.value),e.R7$(),e.Y8G("ngIf",t.content.cccWebsite.visibility&&t.content.cccWebsite.value)}}function Ob(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",29),e.EFF(2),e.k0s(),e.j41(3,"div",30),e.EFF(4),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.content.cccFtseIndustry.label),e.R7$(2),e.SpI(" ",t.content.cccFtseIndustry.value," ")}}function Rb(n,r){1&n&&e.eu8(0)}function Fb(n,r){if(1&n&&(e.j41(0,"div",28),e.DNE(1,Ob,5,2,"ng-container",10)(2,Rb,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(6);e.R7$(),e.Y8G("ngIf",!t.content.cccFtseIndustry.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.cccFtseIndustry)}}function Pb(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",29),e.EFF(2),e.k0s(),e.j41(3,"div",30),e.EFF(4),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.content.cccFtseSupersector.label),e.R7$(2),e.SpI(" ",t.content.cccFtseSupersector.value," ")}}function Gb(n,r){1&n&&e.eu8(0)}function Sb(n,r){if(1&n&&(e.j41(0,"div",31),e.DNE(1,Pb,5,2,"ng-container",10)(2,Gb,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(6);e.R7$(),e.Y8G("ngIf",!t.content.cccFtseSupersector.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.cccFtseSupersector)}}function $b(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",29),e.EFF(2),e.k0s(),e.j41(3,"div",30),e.EFF(4),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.content.cccFtseSector.label),e.R7$(2),e.SpI(" ",t.content.cccFtseSector.value," ")}}function Eb(n,r){1&n&&e.eu8(0)}function Db(n,r){if(1&n&&(e.j41(0,"div",32),e.DNE(1,$b,5,2,"ng-container",10)(2,Eb,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(6);e.R7$(),e.Y8G("ngIf",!t.content.cccFtseSector.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.cccFtseSector)}}function jb(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",29),e.EFF(2),e.k0s(),e.j41(3,"div",30),e.EFF(4),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.content.cccFtseSubsector.label),e.R7$(2),e.SpI(" ",t.content.cccFtseSubsector.value," ")}}function Nb(n,r){1&n&&e.eu8(0)}function Yb(n,r){if(1&n&&(e.j41(0,"div",33),e.DNE(1,jb,5,2,"ng-container",10)(2,Nb,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(6);e.R7$(),e.Y8G("ngIf",!t.content.cccFtseSubsector.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.cccFtseSubsector)}}function Xb(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",29),e.EFF(2),e.k0s(),e.j41(3,"div",30),e.EFF(4),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.content.cccFCAListingCat.label),e.R7$(2),e.SpI(" ",t.content.cccFCAListingCat.value," ")}}function Bb(n,r){1&n&&e.eu8(0)}function Vb(n,r){if(1&n&&(e.j41(0,"div",34),e.DNE(1,Xb,5,2,"ng-container",10)(2,Bb,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(6);e.R7$(),e.Y8G("ngIf",!t.content.cccFCAListingCat.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.cccFCAListingCat)}}
1function Lb(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",29),e.EFF(2),e.k0s(),e.j41(3,"div",30),e.EFF(4),e.nI1(5,"customnumber"),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.content.cccMarketCap.label),e.R7$(2),e.SpI(" ",e.bMT(5,2,t.content.cccMarketCap.value)," ")}}function Ab(n,r){1&n&&e.eu8(0)}function qb(n,r){if(1&n&&(e.j41(0,"div",35),e.DNE(1,Lb,6,4,"ng-container",10)(2,Ab,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(6);e.R7$(),e.Y8G("ngIf",!t.content.cccMarketCap.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.cccMarketCap)}}function Ub(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",29),e.EFF(2),e.k0s(),e.j41(3,"div",30),e.EFF(4),e.nI1(5,"customdate"),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.content.cccAdminDate.label),e.R7$(2),e.SpI(" ",e.i5U(5,2,t.content.cccAdminDate.value,"long")," ")}}function zb(n,r){1&n&&e.eu8(0)}function Hb(n,r){if(1&n&&(e.j41(0,"div",36),e.DNE(1,Ub,6,5,"ng-container",10)(2,zb,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(6);e.R7$(),e.Y8G("ngIf",!t.content.cccAdminDate.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.cccAdminDate)}}function Wb(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",29),e.EFF(2),e.k0s(),e.j41(3,"div",30),e.EFF(4),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.content.cccCountryInc.label),e.R7$(2),e.SpI(" ",t.content.cccCountryInc.value," ")}}function Jb(n,r){1&n&&e.eu8(0)}function Kb(n,r){if(1&n&&(e.j41(0,"div",37),e.DNE(1,Wb,5,2,"ng-container",10)(2,Jb,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(6);e.R7$(),e.Y8G("ngIf",!t.content.cccCountryInc.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.cccCountryInc)}}function Qb(n,r){if(1&n&&(e.j41(0,"div",18)(1,"span",12),e.EFF(2),e.k0s(),e.nrm(3,"app-whats-this",19),e.DNE(4,Fb,3,3,"div",20)(5,Sb,3,3,"div",21)(6,Db,3,3,"div",22)(7,Yb,3,3,"div",23)(8,Vb,3,3,"div",24)(9,qb,3,3,"div",25)(10,Hb,3,3,"div",26)(11,Kb,3,3,"div",27),e.k0s()),2&n){const t=e.XpG();e.R7$(2),e.SpI("",t.content.dataLabel.value," "),e.R7$(),e.Y8G("whatsThisLink",t.content.whatsThisLink)("whatsThisText",t.content.whatsThisText),e.R7$(),e.Y8G("ngIf",t.content.cccFtseIndustry.visibility),e.R7$(),e.Y8G("ngIf",t.content.cccFtseSupersector.visibility),e.R7$(),e.Y8G("ngIf",t.content.cccFtseSector.visibility),e.R7$(),e.Y8G("ngIf",t.content.cccFtseSubsector.visibility),e.R7$(),e.Y8G("ngIf",t.content.cccFCAListingCat.visibility),e.R7$(),e.Y8G("ngIf",t.content.cccMarketCap.visibility),e.R7$(),e.Y8G("ngIf",t.content.cccAdminDate.visibility),e.R7$(),e.Y8G("ngIf",t.content.cccCountryInc.visibility)}}function Zb(n,r){if(1&n&&(e.j41(0,"div",38),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Lme(" ",t.content.footnote.value," ",t.content.cccName.value," ")}}function e0(n,r){if(1&n&&e.nrm(0,"app-hide-field",40),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function t0(n,r){1&n&&e.DNE(0,e0,1,1,"app-hide-field",39),2&n&&e.Y8G("ngIf",r.errorText)}let Ji=(()=>{class n extends O.R{constructor(){super()}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-company-contact-and-classification"]],inputs:{content:"content"},features:[e.Vt3],decls:7,vars:3,consts:[["emptyvalue",""],["id","company-contact-and-classification",1,"company-contact-and-classification","component","gtm-track-component"],[1,"wrapper","flex-wrapper","x-large-width","x-large-width-padding"],["class","ccc-contacts",4,"ngIf"],["class","ccc-data",4,"ngIf"],["class","ccc-footer small-font-size",4,"ngIf"],[1,"ccc-contacts"],["class","ccc-address",4,"ngIf"],["class","ccc-website",4,"ngIf"],[1,"ccc-address"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"bold-font-weight","big-font-size","ccc-label"],[1,"regular-font-size"],["target","_blank",1,"bold-font-weight","map-link",3,"href"],[1,"ccc-website"],[1,"regular-font-size","bold-font-weight"],["target","_blank",3,"href"],[1,"ccc-data"],[3,"whatsThisLink","whatsThisText"],["id","ccc-data-ftse-industry","class","ccc-data-field",4,"ngIf"],["id","ccc-data-ftse-supersector","class","ccc-data-field",4,"ngIf"],["id","ccc-data-ftse-sector","class","ccc-data-field",4,"ngIf"],["id","ccc-data-ftse-subsector","class","ccc-data-field",4,"ngIf"],["id","ccc-data-fca-listing","class","ccc-data-field",4,"ngIf"],["id","ccc-data-market-cap","class","ccc-data-field",4,"ngIf"],["id","ccc-data-admin-date","class","ccc-data-field",4,"ngIf"],["id","ccc-data-country","class","ccc-data-field",4,"ngIf"],["id","ccc-data-ftse-industry",1,"ccc-data-field"],[1,"label","small-font-size"],[1,"bold-font-weight","regular-font-size"],["id","ccc-data-ftse-supersector",1,"ccc-data-field"],["id","ccc-data-ftse-sector",1,"ccc-data-field"],["id","ccc-data-ftse-subsector",1,"ccc-data-field"],["id","ccc-data-fca-listing",1,"ccc-data-field"],["id","ccc-data-market-cap",1,"ccc-data-field"],["id","ccc-data-admin-date",1,"ccc-data-field"],["id","ccc-data-country",1,"ccc-data-field"],[1,"ccc-footer","small-font-size"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"section",1)(1,"div",2),e.DNE(2,Mb,3,2,"div",3)(3,Qb,12,11,"div",4)(4,Zb,2,2,"div",5),e.k0s()(),e.DNE(5,t0,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.R7$(2),e.Y8G("ngIf",o.content.cccWebsite.value||o.content.cccPhone.value||o.content.cccAddress.value),e.R7$(),e.Y8G("ngIf",o.content.cccFtseIndustry.value||o.content.cccFtseSupersector.value||o.content.cccFtseSector.value||o.content.cccFtseSubsector.value||o.content.cccFCAListingCat.value||o.content.cccMarketCap.value||o.content.cccAdminDate.value||o.content.cccCountryInc.value),e.R7$(),e.Y8G("ngIf",o.content.cccName.value))},dependencies:[l.bT,l.T3,y.W,ae,ee.p,U.W,Cb,Tn],styles:[".company-contact-and-classification[_ngcontent-%COMP%]{padding-top:1rem}.ccc-contacts[_ngcontent-%COMP%], .ccc-data[_ngcontent-%COMP%]{margin-bottom:2.5rem}.ccc-contacts[_ngcontent-%COMP%]{margin-right:4%;width:56%}@media (max-width: 1144px){.ccc-contacts[_ngcontent-%COMP%]{margin-right:0;max-width:100%;width:100%}}.ccc-data[_ngcontent-%COMP%]{width:40%}@media (max-width: 1144px){.ccc-data[_ngcontent-%COMP%]{max-width:100%;width:100%}}.ccc-address[_ngcontent-%COMP%], .ccc-website[_ngcontent-%COMP%]{margin-bottom:1rem}.ccc-footer[_ngcontent-%COMP%]{width:100%}.ccc-phone[_ngcontent-%COMP%]{cursor:text}.ccc-phone[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000;pointer-events:none;text-decoration:none}@media (max-width: 480px){.ccc-phone[_ngcontent-%COMP%]{cursor:initial}.ccc-phone[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#001eff;pointer-events:initial}.ccc-phone[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#001299;text-decoration:underline}}.ccc-data-field[_ngcontent-%COMP%]{border-bottom:.0625rem solid #999999;display:block;margin-top:1rem}.ccc-data-field[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{color:#999;line-height:1.5rem}.ccc-label[_ngcontent-%COMP%]{margin-bottom:.5rem}.map-link[_ngcontent-%COMP%]{display:block}"],changeDetection:0})}}return n})();var n0=p(32900),o0=p.n(n0),r0=p(21882);function a0(n,r){if(1&n&&(e.j41(0,"span",14),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI("from ",t.content.ibcEventBlockSummary.value,"")}}function s0(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",17)(2,"h6",18),e.EFF(3),e.k0s(),e.EFF(4),e.nrm(5,"br"),e.EFF(6),e.nrm(7,"br"),e.EFF(8),e.j41(9,"span",19),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.downloadEventFile(o))}),e.EFF(10," + Add to my Calendar "),e.k0s()(),e.bVm()}if(2&n){const t=r.$implicit,i=e.XpG(3);e.R7$(3),e.JRh(t.title),e.R7$(),e.SpI(" ",i.formatDate(t.startDate),""),e.R7$(2),e.SpI(" ",t.address,""),e.R7$(2),e.SpI(" Duration: ",i.formatDuration(t.duration)," ")}}function l0(n,r){if(1&n&&(e.j41(0,"div",15)(1,"section"),e.DNE(2,s0,11,4,"ng-container",16),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("ngForOf",t.content.ibcEventBlockContent.value.events)}}function c0(n,r){if(1&n&&(e.j41(0,"div",10)(1,"div",11)(2,"h3"),e.EFF(3,"Upcoming Events"),e.k0s(),e.DNE(4,a0,2,1,"span",12),e.k0s(),e.DNE(5,l0,3,1,"div",13),e.k0s()),2&n){const t=e.XpG();e.Y8G("ngClass",t.equityBlockContent()?"":"fixed-height-panel"),e.R7$(4),e.Y8G("ngIf",t.content.ibcEventBlockSummary.value),e.R7$(),e.Y8G("ngIf",t.eventBlockContent())}}function p0(n,r){if(1&n&&(e.j41(0,"span",14),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI("from ",t.content.ibcEquityBlockSummary.value,"")}}function m0(n,r){if(1&n&&(e.qex(0),e.nrm(1,"img",21),e.j41(2,"div")(3,"h6",18),e.EFF(4),e.k0s(),e.nrm(5,"p",22),e.j41(6,"a",23),e.EFF(7,"View report"),e.k0s()(),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("src",t.ThumbnailUrl,e.B4B),e.R7$(3),e.JRh(t.Headline),e.R7$(),e.Y8G("innerHtml",t.Synopsis,e.npT),e.R7$(),e.Y8G("href",t.Url,e.B4B)}}function _0(n,r){if(1&n&&(e.j41(0,"div",20)(1,"div",11)(2,"h3"),e.EFF(3,"Equity Research"),e.k0s(),e.DNE(4,p0,2,1,"span",12),e.k0s(),e.j41(5,"div",15)(6,"section"),e.DNE(7,m0,8,4,"ng-container",16),e.k0s()()()),2&n){const t=e.XpG();e.Y8G("ngClass",t.eventBlockContent()?"":"fixed-height-panel"),e.R7$(4),e.Y8G("ngIf",t.content.ibcEquityBlockSummary.value),e.R7$(3),e.Y8G("ngForOf",null==t.content.ibcEquityBlockContent||null==t.content.ibcEquityBlockContent.value?null:t.content.ibcEquityBlockContent.value.Items)}}function d0(n,r){if(1&n&&(e.j41(0,"span",14),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI("from ",t.content.ibcLatestCompanyReportBlockSummary.value,"")}}function u0(n,r){if(1&n&&(e.j41(0,"div",18),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.content.ibcLatestCompanyReportBlockContent.value.reports[0].title,"")}}function g0(n,r){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.content.ibcLatestCompanyReportBlockContent.value.reports[0].type,"")}}function h0(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",30),e.bIt("[bgClass]",function(){return e.eBV(t),e.Njj("report-block-link")}),e.j41(1,"div"),e.DNE(2,u0,2,1,"div",31)(3,g0,2,1,"div",32),e.k0s()()}if(2&n){const t=e.XpG(3);e.Y8G("href",t.content.ibcLatestCompanyReportBlockContent.value.reports[0].link,e.B4B),e.R7$(2),e.Y8G("ngIf",t.content.ibcLatestCompanyReportBlockContent.value.reports[0].title),e.R7$(),e.Y8G("ngIf",t.content.ibcLatestCompanyReportBlockContent.value.reports[0].type)}}function f0(n,r){if(1&n&&(e.j41(0,"div",33)(1,"a",34),e.EFF(2,"Vie
1w all our reports"),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("href",t.content.ibcLatestCompanyReportBlockContent.value.reports[0].externalPage,e.B4B)}}function v0(n,r){if(1&n&&(e.j41(0,"div",27)(1,"div",11)(2,"h3"),e.EFF(3,"Latest reports"),e.k0s(),e.DNE(4,d0,2,1,"span",12),e.k0s(),e.DNE(5,h0,4,3,"a",28)(6,f0,3,1,"div",29),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("ngClass",!t.contactsBlockContent()&&t.reportsBlockContent()?"panel alone":"panel"),e.R7$(4),e.Y8G("ngIf",t.content.ibcLatestCompanyReportBlockSummary.value),e.R7$(),e.Y8G("ngIf",t.content.ibcLatestCompanyReportBlockContent.value.reports[0].link),e.R7$(),e.Y8G("ngIf",t.content.ibcLatestCompanyReportBlockContent.value.reports[0].externalPage)}}function b0(n,r){if(1&n&&(e.j41(0,"span",14),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI("from ",t.content.ibcContactsBlockSummary.value,"")}}function C0(n,r){if(1&n&&(e.j41(0,"div",18),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.position)}}function T0(n,r){if(1&n&&e.nrm(0,"img",42),2&n){const t=e.XpG().$implicit;e.Y8G("src",t.profilePicture,e.B4B)}}function x0(n,r){if(1&n&&(e.qex(0),e.nrm(1,"br"),e.j41(2,"span",44),e.EFF(3,"at"),e.k0s(),e.j41(4,"span",43),e.EFF(5),e.k0s(),e.bVm()),2&n){const t=e.XpG(5);e.R7$(5),e.JRh(t.getCompanyName())}}function k0(n,r){if(1&n&&(e.j41(0,"div")(1,"span",43),e.EFF(2),e.k0s(),e.DNE(3,x0,6,1,"ng-container",32),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.R7$(2),e.JRh(i.getContactName(t.firstName,t.lastName)),e.R7$(),e.Y8G("ngIf",i.getCompanyName().length>0)}}function y0(n,r){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.phoneNumber)}}function w0(n,r){if(1&n&&(e.j41(0,"a",45),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.Mz_("href","mailto:",t.email,"",e.B4B),e.R7$(),e.JRh(t.email)}}function I0(n,r){if(1&n&&(e.j41(0,"div",37),e.DNE(1,C0,2,1,"div",31),e.j41(2,"div",38),e.DNE(3,T0,1,1,"img",39),e.j41(4,"div",40),e.DNE(5,k0,4,2,"div",32)(6,y0,2,1,"div",32)(7,w0,2,3,"a",41),e.k0s()()()),2&n){const t=r.$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.position),e.R7$(2),e.Y8G("ngIf",t.profilePicture),e.R7$(2),e.Y8G("ngIf",i.getContactName(t.firstName,t.lastName).length>0),e.R7$(),e.Y8G("ngIf",t.phoneNumber),e.R7$(),e.Y8G("ngIf",t.email)}}function M0(n,r){if(1&n&&(e.j41(0,"div",35)(1,"div",11)(2,"h3"),e.EFF(3,"Contacts"),e.k0s(),e.DNE(4,b0,2,1,"span",12),e.k0s(),e.j41(5,"div",33)(6,"div"),e.DNE(7,I0,8,5,"div",36),e.k0s()()()),2&n){const t=e.XpG(2);e.Y8G("ngClass",t.contactsBlockContent()&&!t.reportsBlockContent()?"panel alone":"panel"),e.R7$(4),e.Y8G("ngIf",t.content.ibcContactsBlockSummary.value),e.R7$(3),e.Y8G("ngForOf",t.content.ibcContactsBlockContent.value.contacts)}}function O0(n,r){if(1&n&&(e.j41(0,"div",24),e.DNE(1,v0,7,4,"div",25)(2,M0,8,3,"div",26),e.k0s()),2&n){const t=e.XpG();e.Y8G("ngClass",t.equityBlockContent()&&t.eventBlockContent()?"":"missing-panel"),e.R7$(),e.Y8G("ngIf",t.reportsBlockContent()),e.R7$(),e.Y8G("ngIf",t.contactsBlockContent())}}let Ki=(()=>{class n{constructor(t){this._addToCalendarService=t}ngOnInit(){}eventBlockContent(){return this.content?.ibcEventBlockContent.value&&this.content?.ibcEventBlockContent.value.events&&this.content?.ibcEventBlockContent.value.events.length>0}equityBlockContent(){return this.content?.ibcEquityBlockContent.value&&this.content?.ibcEquityBlockContent.value?.Items&&this.content?.ibcEquityBlockContent.value?.Items.length>0}reportsBlockContent(){return this.content?.ibcLatestCompanyReportBlockContent.value&&this.content?.ibcLatestCompanyReportBlockContent.value.reports&&this.content?.ibcLatestCompanyReportBlockContent.value.reports.length>0}contactsBlockContent(){return this.content?.ibcContactsBlockContent.value&&this.content?.ibcContactsBlockContent.value.contacts&&this.content?.ibcContactsBlockContent.value.contacts.length}getEvent(t){if(!t)return t;const i=Number(t.startDate);return i?{title:t.title,start:new Date(i),duration:t.duration,address:t.address}:null}downloadEventFile(t){const i=this.getEvent(t);if(!i)return null;const o=this._addToCalendarService.getHrefFor(this._addToCalendarService.calendarType.iCalendar,i);window.location.href=o}formatDuration(t){if(!t)return t;const i=t/60+" hours";return"NaN hours"===i?t:i}formatDate(t){if(!t)return t;Q().extend(yn()),Q().extend(kn()),Q().extend(o0());const i=Number(t);Q()(i).tz("Europe/London");const o=Q()(i).format("MMMM Do YYYY, h:mm:ssa");return"Invalid Date"===o?t:o}getContactName(t,i){let o="";return o=t&&t.length>0?t:o,o=this.checkLastName(o,i),o}checkLastName(t,i){return t.length>0?i&&i.length>0?`${t} ${i}`:t:i&&i.length>0?i:t}getCompanyName(){let t="";return this.content?.ibcContactsBlockSummary.value&&(t=`${this.content?.ibcContactsBlockSummary.value}`),t}
1bgStyle(){if(this.content?.ibcBackgroundImage.value)return{"background-image":`url(${this.content?.ibcBackgroundImage.value})`}}canLoad(t){return this.canLoads=t,t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(r0.NgAddToCalendarService))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-issuer-block-communicate"]],inputs:{content:"content"},decls:12,vars:8,consts:[["id","issuer-block-communicate","appLazyBgImgLoad","",1,"issuer-block-communicate-component","gtm-track-component","component","image-strip",3,"canLoad","ngStyle"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"flex-wrapper"],["class","panel x-small-width","id","events-block",3,"ngClass",4,"ngIf"],["class","panel x-small-width","id","equity-block",3,"ngClass",4,"ngIf"],["class","x-small-width panel-container flex-wrapper",3,"ngClass",4,"ngIf"],[1,"cta-simple-component","wrapper","x-large-width","x-large-width-padding","bold-font-weight"],[1,"flex-wrapper","spaced-flex-container","regular-font-size"],[1,"flex-wrapper","flex-align-center","cta-block"],[1,"cta-button","gold-button",3,"href","target"],["id","events-block",1,"panel","x-small-width",3,"ngClass"],[1,"panel-header"],["class","regular-font-size",4,"ngIf"],["class","panel-content",4,"ngIf"],[1,"regular-font-size"],[1,"panel-content"],[4,"ngFor","ngForOf"],[1,""],[1,"bold-font-weight","regular-font-size"],[1,"clickable","ics-file","bold-font-weight","regular-font-size",3,"click"],["id","equity-block",1,"panel","x-small-width",3,"ngClass"],["appLazyLoad","",1,"thumbnail",3,"src"],[3,"innerHtml"],["target","_blank",1,"bold-font-weight","regular-font-size",3,"href"],[1,"x-small-width","panel-container","flex-wrapper",3,"ngClass"],["id","report-block",3,"ngClass",4,"ngIf"],["id","contacts-block",3,"ngClass",4,"ngIf"],["id","report-block",3,"ngClass"],["target","_blank","class","white-link","appLazyBgImgLoad","",3,"href","[bgClass]",4,"ngIf"],["class","panel-content-small",4,"ngIf"],["target","_blank","appLazyBgImgLoad","",1,"white-link",3,"[bgClass]","href"],["class","bold-font-weight regular-font-size",4,"ngIf"],[4,"ngIf"],[1,"panel-content-small"],[1,"bold-font-weight","regular-font-size",3,"href"],["id","contacts-block",3,"ngClass"],["class","contact-wrapper",4,"ngFor","ngForOf"],[1,"contact-wrapper"],[1,"single-contact"],["appLazyLoad","","class","avatar",3,"src",4,"ngIf"],[1,"base-font-size"],["class","bold-font-weight",3,"href",4,"ngIf"],["appLazyLoad","",1,"avatar",3,"src"],[1,"bold-font-weight"],[1,"at-class"],[1,"bold-font-weight",3,"href"]],template:function(i,o){1&i&&(e.j41(0,"div",0),e.bIt("canLoad",function(s){return o.canLoad(s)}),e.j41(1,"div",1)(2,"div",2),e.DNE(3,c0,6,3,"div",3)(4,_0,8,3,"div",4)(5,O0,3,3,"div",5),e.k0s(),e.j41(6,"div",6)(7,"div",7)(8,"div",8),e.EFF(9),e.k0s(),e.j41(10,"a",9),e.EFF(11),e.k0s()()()()()),2&i&&(e.Y8G("ngStyle",o.canLoads?o.bgStyle():null),e.R7$(3),e.Y8G("ngIf",o.eventBlockContent()),e.R7$(),e.Y8G("ngIf",o.equityBlockContent()),e.R7$(),e.Y8G("ngIf",o.contactsBlockContent()||o.reportsBlockContent()),e.R7$(4),e.JRh(o.content.ibcCtaText.value),e.R7$(),e.Y8G("href",o.content.ibcCtaButtonLink.value,e.B4B)("target",o.content.ibcCtaButtonTarget.value),e.R7$(),e.JRh(o.content.ibcCtaButtonLabel.value))},dependencies:[l.YU,l.Sq,l.bT,l.B3,D.W,Y.S],styles:[".panel-container[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%]{width:100%}.panel-container[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%]:first-child{margin-bottom:1.5rem}.x-small-width[_ngcontent-%COMP%]{margin-bottom:1.5rem;margin-right:2%;max-width:24rem;width:32%}@media (max-width: 768px){.x-small-width[_ngcontent-%COMP%]{margin:0 auto 1.5rem!important;max-width:100%;width:22.5rem}}.x-small-width[_ngcontent-%COMP%]:last-child{margin-right:0}.panel.x-small-width[_ngcontent-%COMP%]{min-height:21.25rem}.panel-content[_ngcontent-%COMP%]{background:#fff;box-sizing:border-box;height:100%;max-height:calc(100% - 3.875rem);position:relative}.panel-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{bottom:0;overflow-y:scroll;position:absolute;top:0;width:100%}@media (max-width: 768px){.panel-content[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{overflow:visible;position:static}}.panel-content[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:1rem}.panel-content[_ngcontent-%COMP%] .ics-file[_ngcontent-%COMP%]{color:#001eff;display:block;margin-top:1rem;text-decoration:underline}.panel-content[_ngcontent-%COMP%] .ics-file[_ngcontent-%COMP%]:hover{color:#001299;text-decoration:none}.panel-content-small[_ngcontent-%COMP%]{background:#fff;box-sizing:border-box;padding:1rem}.panel-content-small[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:100%}.panel-content-small[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{overflow-y:auto;width:100%}@media (max-width: 768px){.panel-content-small[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{overflow:visible;position:static}}.panel-header[_ngcontent-%COMP%]{height:3.125rem;margin-bottom:.5rem}
1.cta-simple-component[_ngcontent-%COMP%]{background-color:#fafafa;clear:both;color:#000;line-height:2rem;margin-bottom:0;padding:1.25rem 2rem 0}.cta-block[_ngcontent-%COMP%]{margin-bottom:1.25rem}.cta-button[_ngcontent-%COMP%]{display:inline-block;margin-bottom:1.25rem}@media (max-width: 480px){.cta-button[_ngcontent-%COMP%]{width:100%}}.thumbnail[_ngcontent-%COMP%]{display:block;margin:0 auto}.missing-panel[_ngcontent-%COMP%]{align-items:flex-start;max-width:100%;width:66%}@media (max-width: 768px){.missing-panel[_ngcontent-%COMP%]{margin:0 auto 1.5rem!important;max-width:100%;width:22.5rem}}.missing-panel[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%]{margin-right:0;max-width:48.5%}@media (max-width: 768px){.missing-panel[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%]{max-width:22.5rem}}.missing-panel[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%]:first-child{margin:0 3% 0 0}@media (max-width: 768px){.missing-panel[_ngcontent-%COMP%] .panel[_ngcontent-%COMP%]:first-child{margin:0 0 1.5rem}}.fixed-height-panel[_ngcontent-%COMP%]{height:32rem}@media (max-width: 768px){.fixed-height-panel[_ngcontent-%COMP%]{height:auto}}.report-block-link[_ngcontent-%COMP%]{align-items:flex-end;background:#000 url(assets/static/report_generic_lg.jpg) no-repeat center center;background-size:cover;color:#fff;display:flex;height:7.25rem;padding:1rem}#contacts-block[_ngcontent-%COMP%]{height:16.875rem;max-height:16.875rem}@media (max-width: 768px){#contacts-block[_ngcontent-%COMP%]{height:auto;max-height:none}}#contacts-block[_ngcontent-%COMP%] .panel-content-small[_ngcontent-%COMP%]{max-height:calc(100% - 3.875rem);overflow-y:auto}@media (max-width: 768px){#contacts-block[_ngcontent-%COMP%] .panel-content-small[_ngcontent-%COMP%]{height:auto}}#contacts-block.alone[_ngcontent-%COMP%]{height:100%;margin-bottom:0!important;max-height:100%}#contacts-block.alone[_ngcontent-%COMP%] .panel-content-small[_ngcontent-%COMP%]{height:calc(100% - 2rem)}.contact-wrapper[_ngcontent-%COMP%]{margin-bottom:1rem}.contact-wrapper[_ngcontent-%COMP%]:last-child{margin-bottom:0}.contact-wrapper[_ngcontent-%COMP%] div.bold-font-weight.regular-font-size[_ngcontent-%COMP%]{margin-bottom:1.2rem}.contact-wrapper[_ngcontent-%COMP%] .at-class[_ngcontent-%COMP%]{padding:0 .375rem 0 0}.contact-wrapper[_ngcontent-%COMP%] div.base-font-size[_ngcontent-%COMP%]{line-height:1.1375rem}@media (max-width: 768px){.contact-wrapper[_ngcontent-%COMP%] div.base-font-size[_ngcontent-%COMP%]{font-size:.984375rem;line-height:1.53125rem}}@media (max-width: 480px){.contact-wrapper[_ngcontent-%COMP%] div.base-font-size[_ngcontent-%COMP%]{margin-top:.5rem}}.contact-wrapper[_ngcontent-%COMP%] .single-contact[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:inline-block;margin-bottom:.5rem;vertical-align:top}.contact-wrapper[_ngcontent-%COMP%] .single-contact[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{margin-right:.5rem;max-width:100%}@media (max-width: 768px){.contact-wrapper[_ngcontent-%COMP%] .single-contact[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{height:4.6875rem;margin-right:1.3rem;margin-top:.4rem}}@media (max-width: 480px){.contact-wrapper[_ngcontent-%COMP%] .single-contact[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{margin-top:0}}#report-block.alone[_ngcontent-%COMP%]{margin-bottom:0}h6[_ngcontent-%COMP%]{margin-bottom:1rem}"],changeDetection:0})}}return n})();var Qi=p(69536),R0=p(49955);function F0(n,r){if(1&n&&(e.j41(0,"ng-option",6)(1,"a",7),e.nI1(2,"async"),e.EFF(3),e.k0s()()),2&n){const t=r.$implicit,i=e.XpG(2);e.Y8G("value",t.lang),e.R7$(),e.Y8G("href",i._langService.set(t.lang,e.bMT(2,3,i.currentPath)),e.B4B),e.R7$(2),e.SpI(" ",t.label," ")}}function P0(n,r){if(1&n&&(e.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"ng-select",4),e.nI1(4,"async"),e.DNE(5,F0,4,5,"ng-option",5),e.nI1(6,"async"),e.k0s()()()()),2&n){const t=e.XpG();e.R7$(3),e.Y8G("searchable",!1)("clearable",!1)("ngModel",e.bMT(4,4,t._langService.getCurrent())),e.R7$(2),e.Y8G("ngForOf",e.bMT(6,6,t._langService.getAvailable()))}}let G0=(()=>{class n{constructor(t,i){this.store=t,this.langService=i}ngOnInit(){}get currentPath(){return this.store.pipe((0,u.Lt)(h.Ti),(0,W.p)(t=>!!t))}get _langService(){return this.langService}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(u.il),e.rXU(R0.g))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-language-switcher"]],decls:2,vars:3,consts:[["class","language-switcher",4,"ngIf"],[1,"language-switcher"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"mobile-flex-wrapper"],[1,"form-select","select-secondary",3,"searchable","clearable","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"black-link",3,"href"]],template:function(i,o){1&i&&(e.DNE(0,P0,7,8,"div",0),e.nI1(1,"async")),2&i&&e.Y8G("ngIf",e.bMT(1,1,o._langService.getAvailable()).length>1)},dependencies:[l.Sq,l.bT,g.BC,g.vS,ne.vr,ne.xt,l.Jj],styles:[".language-switcher[_ngcontent-%COMP%]{background-color:#fafafa;color:#000}.ng-select[_ngcontent-%COMP%]{margin:.5rem 0}.form-select[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block}.form-select[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}"],changeDetection:0})}}return n})();var ct=p(78790);function S0(n,r){if(1&n&&(e.j41(0,"div",9),e.nrm(1,"img",10),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.FS9("src",t.content.heroLogo.value,e.B4B)}}function $0(n,r){if(1&n&&(e.j41(0,"div",11),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.heroTitle.value," ")}}
1function E0(n,r){if(1&n&&(e.j41(0,"div",12),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.heroSubHeading.value," ")}}function D0(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",13)(1,"span",14),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.videoPlay(o.content.heroVideoUrl.value))}),e.nrm(2,"span",15),e.EFF(3,"Watch video"),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(),e.BMQ("data-videourl",null==t.content.heroVideoUrl?null:t.content.heroVideoUrl.value)}}function j0(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",19)(1,"div",20)(2,"div",21),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.closeModal())}),e.k0s()(),e.j41(3,"div",22),e.nrm(4,"div",23),e.nI1(5,"videoPlayer"),e.k0s(),e.j41(6,"button",24),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.closeModal())}),e.EFF(7," Close "),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.BMQ("data-videourl",t.video),e.R7$(2),e.Y8G("innerHTML",e.bMT(5,3,t.video),e.npT),e.R7$(2),e.BMQ("data-videourl",t.video)}}function N0(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",16)(1,"div",17),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeModal())}),e.k0s(),e.DNE(2,j0,8,5,"div",18),e.k0s()}if(2&n){const t=e.XpG();e.R7$(),e.BMQ("data-videourl",t.video),e.R7$(),e.Y8G("ngIf",t.video)}}let Zi=(()=>{class n extends O.R{constructor(t,i,o){super(),this.renderer=t,this.elementRef=i,this.cd=o}ngOnInit(){}ngAfterViewInit(){this.cd.markForCheck()}bgStyle(){if(this.content.heroBgImage.value)return{"background-image":`url(${this.content.heroBgImage.value})`}}videoPlay(t){this.video=t,this.openModal()}openModal(){const t=this.elementRef.nativeElement.querySelector("#modal-video");this.renderer.addClass(t,"open-modal")}closeModal(){const t=this.elementRef.nativeElement.querySelector("#modal-video");this.renderer.removeClass(t,"open-modal"),this.video=null}canLoad(t){return this.canLoads=t,t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-hero"]],inputs:{content:"content"},features:[e.Vt3],decls:10,vars:14,consts:[["id","hero",1,"hero-component","full-width","gtm-track-component","component"],["appLazyBgImgLoad","",1,"hero-bg",3,"canLoad","ngStyle"],[1,"hero-content","wrapper","x-large-width","x-large-width-padding"],[1,"hero-wrapper"],["class","hero-content-element hero-logo",4,"ngIf"],["class","hero-content-element hero-title",4,"ngIf"],["class","hero-content-element hero-subheading large-font-size",4,"ngIf"],["class","hero-content-element hero-video regular-font-size",4,"ngIf"],["id","modal-video","class","overlay-container modal-video",4,"ngIf"],[1,"hero-content-element","hero-logo"],[3,"src"],[1,"hero-content-element","hero-title"],[1,"hero-content-element","hero-subheading","large-font-size"],[1,"hero-content-element","hero-video","regular-font-size"],[1,"clickable","gtm-play-video",3,"click"],[1,"hero-video-icon"],["id","modal-video",1,"overlay-container","modal-video"],[1,"overlay","modal-overlay","gtm-stop-video",3,"click"],["class","overlay-wrapper",4,"ngIf"],[1,"overlay-wrapper"],[1,"close-icon"],[1,"close-overlay","gtm-stop-video",3,"click"],[1,"player-responsive"],[1,"player-content",3,"innerHTML"],[1,"gold-button","gtm-stop-video",3,"click"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"div",1),e.bIt("canLoad",function(s){return o.canLoad(s)}),e.j41(2,"div",2)(3,"div",3),e.DNE(4,S0,2,1,"div",4)(5,$0,2,1,"div",5)(6,E0,2,1,"div",6),e.k0s()(),e.DNE(7,D0,4,1,"div",7),e.k0s(),e.nrm(8,"app-language-switcher"),e.k0s(),e.DNE(9,N0,3,2,"div",8)),2&i&&(e.AVh("m-64","1"===(null==o.content.uxPadding?null:o.content.uxPadding.value)),e.R7$(),e.AVh("hero-bg--black","black"===o.content.heroBgColor.value)("hero-bg-img",o.content.heroBgImage.value),e.Y8G("ngStyle",o.canLoads?o.bgStyle():null),e.R7$(),e.AVh("video",o.content.heroVideoUrl.value),e.R7$(2),e.Y8G("ngIf",o.content.heroLogo.value),e.R7$(),e.Y8G("ngIf",o.content.heroTitle.value),e.R7$(),e.Y8G("ngIf",o.content.heroSubHeading.value),e.R7$(),e.Y8G("ngIf",o.content.heroVideoUrl.value),e.R7$(2),e.Y8G("ngIf",o.content.heroVideoUrl.value))},dependencies:[l.bT,l.B3,D.W,G0,ct.nV],styles:['body[_ngcontent-%COMP%]{font-size:.875rem}
1.light-font-weight[_ngcontent-%COMP%]{font-weight:300}.regular-font-weight[_ngcontent-%COMP%]{font-weight:400}.medium-font-weight[_ngcontent-%COMP%]{font-weight:500}.semi-bold-font-weight[_ngcontent-%COMP%]{font-weight:600}.bold-font-weight[_ngcontent-%COMP%]{font-weight:700}@media (max-width: 1144px){.bold-font-weight-sm[_ngcontent-%COMP%]{font-weight:700}}.extrabold-font-weight[_ngcontent-%COMP%]{font-weight:800}.small-font-size[_ngcontent-%COMP%]{font-size:.875rem!important;line-height:1em}.smaller-font-size[_ngcontent-%COMP%]{font-size:.65625rem;line-height:1em}.base-font-size[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.3125rem}@media (max-width: 1144px){.xs-base-font-size[_ngcontent-%COMP%]{font-size:.875rem!important;line-height:1.3125rem!important}}.regular-font-size[_ngcontent-%COMP%]{font-size:.984375rem;line-height:1.75rem}.big-font-size[_ngcontent-%COMP%]{font-size:1.09375rem;line-height:1.1em}.bigger-font-size[_ngcontent-%COMP%]{font-size:1.203125rem;line-height:1em}.generous-font-size[_ngcontent-%COMP%]{font-size:1.421875rem;line-height:1.640625rem}.large-font-size[_ngcontent-%COMP%]{font-size:1.640625rem;line-height:1em}@media (max-width: 1144px){.large-font-size[_ngcontent-%COMP%]{font-size:1.18125rem}}.larger-font-size[_ngcontent-%COMP%]{font-size:2.1875rem;line-height:1em}@media (max-width: 1144px){.larger-font-size[_ngcontent-%COMP%]{font-size:1.75rem}}.hero-font[_ngcontent-%COMP%]{font-size:3.5rem;font-weight:800;line-height:4.046875rem}.align-center[_ngcontent-%COMP%]{text-align:center}.align-right[_ngcontent-%COMP%]{text-align:right}.section-title[_ngcontent-%COMP%]{display:inline}.blue-text[_ngcontent-%COMP%]{color:#001eff}.grey-medium-text[_ngcontent-%COMP%]{color:#4d4d4d}h1[_ngcontent-%COMP%]{font-size:1.640625rem;font-weight:700;line-height:1.4;font-family:LSEG Motto,Proxima Nova,Arial,Helvetica;text-transform:uppercase}h2[_ngcontent-%COMP%]{font-size:1.3125rem;font-weight:700;line-height:1.333;font-family:LSEG Motto,Proxima Nova,Arial,Helvetica;text-transform:uppercase}h3[_ngcontent-%COMP%]{font-size:1.09375rem;font-weight:700;line-height:1.2}h4[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:700;line-height:1.333}h5[_ngcontent-%COMP%]{font-weight:700}.h-link[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:500}.h-link-bold[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:700}.text-align-center[_ngcontent-%COMP%]{text-align:center}.text-align-right[_ngcontent-%COMP%]{text-align:right}.text-align-left[_ngcontent-%COMP%]{text-align:left}.text-align-justify[_ngcontent-%COMP%]{text-align:justify}.hero-component[_ngcontent-%COMP%]{position:relative}.hero-bg[_ngcontent-%COMP%]{background-color:#fff;background-position:center center;background-repeat:no-repeat;background-size:cover;color:#000;position:relative}.hero-bg.hero-bg--black[_ngcontent-%COMP%], .hero-bg.hero-bg-img[_ngcontent-%COMP%]{background-color:#000;color:#fff}.hero-bg.hero-bg-img[_ngcontent-%COMP%]:before{background-color:#0006;content:"";display:block;inset:0;position:absolute}.hero-content[_ngcontent-%COMP%]{align-items:center;display:flex;flex-wrap:wrap;min-height:12rem;overflow:hidden;padding:1rem 0 .5rem;position:relative;text-align:center;transition:all .4s ease}@media (max-width: 480px){.hero-content[_ngcontent-%COMP%]{height:100%;padding-bottom:3rem}}.hero-content[_ngcontent-%COMP%]:before{content:"";display:block;height:10.5rem;width:0}.hero-content.video[_ngcontent-%COMP%]{padding-bottom:2rem}.hero-content.opened-video[_ngcontent-%COMP%]{min-height:23rem}.hero-content-element[_ngcontent-%COMP%]{display:block;margin:0 auto;max-width:58rem;width:100%}.hero-logo[_ngcontent-%COMP%]{height:6.25rem;margin-bottom:.5rem;width:100%}.hero-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{background-color:#fff;display:block;height:100%;margin:0 auto;padding:.125rem;width:auto}.hero-title[_ngcontent-%COMP%]{font-size:3.5rem;font-weight:800;line-height:4.046875rem;margin-bottom:.5rem;overflow-wrap:break-word;word-break:break-word;font-family:LSEG Motto,Proxima Nova,Arial,Helvetica;text-transform:uppercase}@media (max-width: 480px){.hero-title[_ngcontent-%COMP%]{font-size:2.625rem;letter-spacing:-.01em;line-height:3.0625rem}}.hero-logo[_ngcontent-%COMP%] + .hero-title[_ngcontent-%COMP%]{font-size:2.1875rem}.hero-subheading[_ngcontent-%COMP%]{font-weight:500;line-height:1em;overflow-wrap:break-word;word-break:break-word}.hero-video[_ngcontent-%COMP%]{bottom:.5rem;height:1.5rem;left:0;position:absolute;right:0;text-align:center}.hero-video-icon[_ngcontent-%COMP%]{background:url(assets/static/video_player_icon_black.svg) center center no-repeat;background-size:90% auto;content:"";display:inline-block;height:2em;margin-left:-.5em;margin-top:-1em;position:relative;top:.65em;transform:scale(.5);width:2em}.hero-bg--black[_ngcontent-%COMP%] .hero-video-icon[_ngcontent-%COMP%], .hero-bg-img[_ngcontent-%COMP%] .hero-video-icon[_ngcontent-%COMP%]{background-image:url(assets/static/video_player_icon.svg)}.hero-player[_ngcontent-%COMP%]{background-color:#000;height:100%;inset:0;max-height:100%;position:absolute}.hero-player-content[_ngcontent-%COMP%]{left:0;position:absolute;right:0;top:50%;transform:translateY(-50%)}.hero-player-content.portrait[_ngcontent-%COMP%]{left:50%;position:absolute;right:auto;top:0;transform:translate(-50%)}.hero-wrapper[_ngcontent-%COMP%]{flex-shrink:0;text-align:center;width:100%}'],changeDetection:0})}}return n})();function Y0(n,r){if(1&n&&e.nrm(0,"app-hide-field",15),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function X0(n,r){1&n&&e.DNE(0,Y0,1,1,"app-hide-field",14),2&n&&e.Y8G("ngIf",r.errorText)}function B0(n,r){if(1&n&&(e.j41(0,"div",25)(1,"figure"),e.nrm(2,"div",26),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.xc7("background-image",t.content.newsPromoArticle.value.instrument.remoteLogo.value.fetched?"url("+t.imageToShow(t.content.newsPromoArticle.value.instrument.remoteLogo.value.data)+")":"")}}function V0(n,r){if(1&n&&(e.j41(0,"span",30),e.EFF(1),e.nI1(2,"etfs"),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(e.bMT(2,1,t.content.newsPromoArticle.value.instrument.category.value))}}function L0(n,r){1&n&&e.eu8(0)}function A0(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",27),e.DNE(2,V0,3,3,"span",28)(3,L0,1,0,"ng-container",29),e.k0s(),e.bVm()),2&n){const t=e.XpG(2),i=e.sdS(1);e.R7$(),e.Y8G("ngClass",!t.content.newsPromoArticle.value.instrument.category.errorText&&t.content.newsPromoArticle.value.instrument.category.visibility?t.getCssClass(t.content.newsPromoArticle.value.instrument.category):""),e.R7$(),e.Y8G("ngIf",!t.content.newsPromoArticle.value.instrument.category.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.newsPromoArticle.value.instrument.category)}}function q0(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",32),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.content.newsPromoArticle.value.instrument.tidm.value)}}function U0(n,r){1&n&&e.eu8(0)}function z0(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.content.newsPromoArticle.value.instrument.description.value," ")}}function H0(n,r){1&n&&e.eu8(0)}function W0(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,z0,2,1,"ng-container",19)(2,H0,1,0,"ng-container",29),e.k0s()),2&n){const t=e.XpG(3),i=e.sdS(1);e.R7$(),e.Y8G("ngIf",!t.content.newsPromoArticle.value.instrument.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.newsPromoArticle.value.instrument.description)}}function J0(n,r){if(1&n&&(e.j41(0,"div",31),e.DNE(1,q0,3,1,"ng-container",19)(2,U0,1,0,"ng-container",29)(3,W0,3,3,"span",19),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(1);e.R7$(),e.Y8G("ngIf",!t.content.newsPromoArticle.value.instrument.tidm.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.newsPromoArticle.value.instrument.tidm),e.R7$(),e.Y8G("ngIf",t.content.newsPromoArticle.value.instrument.description.value&&t.content.newsPromoArticle.value.instrument.description.visibility)}}function K0(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",e.bMT(2,1,t.content.newsPromoArticle.value.instrument.lastprice.value)," ")}}function Q0(n,r){1&n&&e.eu8(0)}function Z0(n,r){if(1&n&&(e.j41(0,"span",33),e.DNE(1,K0,3,3,"ng-container",19)(2,Q0,1,0,"ng-container",29),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(1);e.R7$(),e.Y8G("ngIf",!t.content.newsPromoArticle.value.instrument.lastprice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.newsPromoArticle.value.instrument.lastprice)}}function e2(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",e.i5U(2,1,t.content.newsPromoArticle.value.instrument.percentualchange.value,"%")," ")}}function t2(n,r){1&n&&e.eu8(0)}function n2(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,e2,3,4,"ng-container",19)(2,t2,1,0,"ng-container",29),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(1);e.R7$(),e.Y8G("ngIf",!t.content.newsPromoArticle.value.instrument.percentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.newsPromoArticle.value.instrument.percentualchange)}}function i2(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.content.viewCompanyProfileLabel.value," ")}}function o2(n,r){1&n&&e.eu8(0)}function r2(n,r){if(1&n&&(e.j41(0,"div",34)(1,"a",35),e.nI1(2,"companyUrl"),e.DNE(3,i2,2,1,"ng-container",19)(4,o2,1,0,"ng-container",29),e.k0s()()),2&n){const t=e.XpG(2),i=e.sdS(1);e.R7$(),e.Y8G("href",e.bMT(2,4,t.content.newsPromoArticle.value.instrument),e.B4B),e.R7$(2),e.Y8G("ngIf",!t.content.viewCompanyProfileLabel.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.viewCompanyProfileLabel)}}function a2(n,r){if(1&n&&(e.j41(0,"div",16),e.DNE(1,B0,3,2,"div",17),e.j41(2,"div",18),e.DNE(3,A0,4,4,"ng-container",19)(4,J0,4,4,"div",20),e.j41(5,"div",21),e.DNE(6,Z0,3,3,"span",22),e.j41(7,"span",23),e.DNE(8,n2,3,3,"span",19),e.k0s()()(),e.DNE(9,r2,5,6,"div",24),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.content.newsPromoArticle.value.instrument.remoteLogo.value.fetched),e.R7$(2),e.Y8G("ngIf",t.content.newsPromoArticle.value&&t.content.newsPromoArticle.visibility),e.R7$(),e.Y8G("ngIf",t.content.newsPromoArticle.value.instrument.tidm.value&&t.content.newsPromoArticle.value.instrument.tidm.visibility),e.R7$(2),e.Y8G("ngIf",t.content.newsPromoArticle.value.instrument.lastprice.visibility),e.R7$(),e.Y8G("ngClass",!t.content.newsPromoArticle.value.instrument.percentualchange.errorText&&t.content.newsPromoArticle.value.instrument.percentualchange.visibility?t.getCssClass(t.content.newsPromoArticle.value.instrument.netchangesign):""),e.R7$(),e.Y8G("ngIf",t.content.newsPromoArticle.value.instrument.percentualchange.visibility),e.R7$(),e.Y8G("ngIf",t.content.viewCompanyProfileLabel.value&&t.content.viewCompanyProfileLabel.visibility)}}p(58625);let eo=(()=>{class n{constructor(t,i,o,a){this.cssmapping=t,this.remoteLogoService=i,this.refreshService=o,this.platformId=a}ngOnInit(){this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content),this.displayIssuerBlock=this.displayBlocks()}displayBlocks(){return!!(this.content.newsPromoArticle.value&&this.content.newsPromoArticle.value.companycode&&this.content.newsPromoArticle.value.companycode.value&&this.content.newsPromoArticle.value.instrument)}ngOnChanges(t){if((0,l.UE)(this.platformId)&&t.content?.currentValue!==t.content?.previousValue){if(!this.displayIssuerBlock)return;this.remoteLogoServiceSubscription=this.remoteLogoService.getLogo(this.content.newsPromoArticle.value.instrument.remoteLogo.value.data).pipe((0,W.p)(i=>!!i.logo)).subscribe(i=>{this.content.newsPromoArticle.value.instrument.remoteLogo.value.fetched=!0,this.content.newsPromoArticle.value.instrument.remoteLogo.value.data=i})}}ngOnDestroy(){(0,l.UE)(this.platformId)&&(this.remoteLogoServiceSubscription&&this.remoteLogoServiceSubscription.unsubscribe(),this.refreshService.unsetRefreshComponent(this.id
1))}getCssClass(t){return this.cssmapping.cssClass(t)}imageToShow(t){return!(!t||!t.logo)&&t.logo}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o),e.rXU(In),e.rXU(j.W),e.rXU(e.Agw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-news-promo"]],inputs:{content:"content",id:"id",position:"position",type:"type"},features:[e.OA$],decls:25,vars:21,consts:[["emptyvalue",""],["id","news-promo",1,"news-promo-component","full-width","gtm-track-component","component"],[1,"wrapper","x-large-width","x-large-width-padding","news-promo-wrapper"],[1,"large-font-size","bold-font-weight","title"],[1,"mobile-flex-container","centered-flex-container","news-promo-container"],["class","issuer-wrapper",4,"ngIf"],[1,"flex","news-wrapper","flex-filler"],[1,"",3,"ngClass"],[1,"source-label","small-font-size","bold-font-weight"],["target","_blank",1,"bigger-font-size","bold-font-weight","news-title",3,"href"],[1,"news-data"],[1,"grey-medium-text"],[1,"grey-medium-text","news-date-time"],["target","_blank",1,"news-button","regular-font-size","gold-button","bold-font-weight",3,"href"],[3,"errorText",4,"ngIf"],[3,"errorText"],[1,"issuer-wrapper"],["class","issuer-logo",4,"ngIf"],[1,"issuer-detail"],[4,"ngIf"],["class","tidm-detail bold-font-weight bigger-font-size",4,"ngIf"],[1,"price-info","bigger-font-size","bold-font-weight"],["class","price-tag",4,"ngIf"],[1,"price-change",3,"ngClass"],["class","fake-link bold-font-weight regular-font-size company-link",4,"ngIf"],[1,"issuer-logo"],[1,"instrument-logo"],[3,"ngClass"],["class","instrument-label bold-font-weight small-font-size",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"instrument-label","bold-font-weight","small-font-size"],[1,"tidm-detail","bold-font-weight","bigger-font-size"],[1,"blue-text"],[1,"price-tag"],[1,"fake-link","bold-font-weight","regular-font-size","company-link"],[3,"href"]],template:function(i,o){1&i&&(e.DNE(0,X0,1,1,"ng-template",null,0,e.C5r),e.j41(2,"div",1)(3,"div",2)(4,"h4",3),e.EFF(5),e.k0s(),e.j41(6,"div",4),e.DNE(7,a2,10,7,"div",5),e.j41(8,"div",6)(9,"div",7)(10,"span",8),e.EFF(11),e.k0s()(),e.j41(12,"a",9),e.nI1(13,"newsArticleUrl"),e.EFF(14),e.k0s(),e.j41(15,"div",10)(16,"div",11),e.EFF(17),e.nI1(18,"customdate"),e.k0s(),e.j41(19,"div",12),e.EFF(20),e.nI1(21,"customdate"),e.k0s()(),e.j41(22,"a",13),e.nI1(23,"newsArticleUrl"),e.EFF(24),e.k0s()()()()()),2&i&&(e.R7$(5),e.SpI(" ",o.content.title.value," "),e.R7$(2),e.Y8G("ngIf",o.displayIssuerBlock),e.R7$(2),e.Y8G("ngClass",o.getCssClass(o.content.newsPromoArticle.value.source)),e.R7$(2),e.JRh(o.content.newsPromoArticle.value.source.value),e.R7$(),e.Y8G("href",e.bMT(13,10,o.content.newsPromoArticle.value),e.B4B),e.R7$(2),e.SpI(" ",o.content.newsPromoArticle.value.title.value," "),e.R7$(3),e.JRh(e.i5U(18,12,o.content.newsPromoArticle.value.datetime.value,"long")),e.R7$(3),e.JRh(e.brH(21,15,o.content.newsPromoArticle.value.datetime.value,"time","Europe/London")),e.R7$(2),e.Y8G("href",e.bMT(23,19,o.content.newsPromoArticle.value),e.B4B),e.R7$(2),e.JRh(o.content.readArticleLabel.value))},dependencies:[l.YU,l.bT,l.T3,y.W,ee.p,U.W,ve.b,Te.Z,lt.X],styles:[".news-promo-container[_ngcontent-%COMP%]{align-items:center;justify-content:center}@media (max-width: 1144px){.news-promo-container[_ngcontent-%COMP%]{display:block}}.news-promo-component[_ngcontent-%COMP%]{background-color:#fafafa}.news-promo-wrapper[_ngcontent-%COMP%]{padding-bottom:1rem;padding-top:1rem}.issuer-wrapper[_ngcontent-%COMP%]{background-color:#fff;flex-grow:0;padding:1.938rem;width:45%}@media (max-width: 1144px){.issuer-wrapper[_ngcontent-%COMP%]{width:100%}}.news-wrapper[_ngcontent-%COMP%]{background-color:#fff;border:.0625rem solid #fafafa;padding:1.938rem}@media (max-width: 1144px){.news-wrapper[_ngcontent-%COMP%]{width:100%}}.news-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.news-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.gold-button[_ngcontent-%COMP%]{display:inline-block;margin-bottom:0;margin-top:2rem}.source-label[_ngcontent-%COMP%]{margin-bottom:.75rem;margin-top:0}.news-data[_ngcontent-%COMP%]{margin-top:1rem}.news-title[_ngcontent-%COMP%]{color:#001eff}.news-promo-content[_ngcontent-%COMP%]{background-color:#fafafa;margin-bottom:2.5rem;margin-top:-2.5rem}.issuer-wrapper[_ngcontent-%COMP%] .issuer-logo[_ngcontent-%COMP%]{float:left;padding-right:1rem}.issuer-wrapper[_ngcontent-%COMP%] .tidm-detail[_ngcontent-%COMP%]{margin-top:.75rem}.issuer-wrapper[_ngcontent-%COMP%] .price-info[_ngcontent-%COMP%]{margin-top:.5rem}.issuer-wrapper[_ngcontent-%COMP%] .company-tidm[_ngcontent-%COMP%]{color:#001eff;margin-top:1.25rem}.issuer-wrapper[_ngcontent-%COMP%] .company-description[_ngcontent-%COMP%]{color:#000}.issuer-wrapper[_ngcontent-%COMP%] .issuer-detail[_ngcontent-%COMP%]{display:inline-block}.issuer-wrapper[_ngcontent-%COMP%] .company-link[_ngcontent-%COMP%]{margin-top:2rem}.news-wrapper[_ngcontent-%COMP%]{background-color:#fff;padding:1.938rem}.instrument-logo[_ngcontent-%COMP%]{background-position:center center;background-repeat:no-repeat;background-size:contain;width:100%}@media (max-width: 1144px){.instrument-label[_ngcontent-%COMP%]{margin-top:.5rem}}figure[_ngcontent-%COMP%]{border:.0625rem solid #fafafa;display:flex;height:5.625rem;line-height:3.25rem;margin:0;padding:.25rem;vertical-align:middle;width:9.125rem}"],changeDetection:0})}}return n})();const pt=n=>({errorText:n});function s2(n,r){if(1&n&&(e.j41(0,"span")(1,"a",20),e.nI1(2,"async"),e.EFF(3,"Show more news"),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("href",e.bMT(2,1,t.link),e.B4B)}}function l2(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",13)(1,"div",6)(2,"div",14)(3,"div",15)(4,"h3"),e.EFF(5),e.k0s()(),e.j41(6,"div")(7,"span",16)(8,"input",17),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.toggleCheckbox())}),e.k0s(),e.j41(9,"label",18),e.bIt("keyup",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.toggleCheckboxEvent(o))}),e.EFF(10,"Show only Earnings, News and Reach"),e.k0s()(),e.DNE(11,s2,4,3,"span",19),e.nI1(12,"async"),e.k0s()()()()}if(2&n){const t=e.XpG(2);e.R7$(5),e.JRh(t.title),e.R7$(3),e.Y8G("checked",t.showEarnings),e.R7$(3),e.Y8G("ngIf",e.bMT(12,3,t.link))}}function c2(n,r){if(1&n&&(e.j41(0,"div",24)(1,"a",25),e.nI1(2,"async"),e.EFF(3,"Show all news"),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("href",e.bMT(2,1,t.link),e.B4B)}}function p2(n,r){if(1&n&&(e.j41(0,"div",21)(1,"div",14)(2,"div",22),e.EFF(3,"Most popular articles today"),e.k0s(),e.DNE(4,c2,4,3,"div",23),e.nI1(5,"async"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(4),e.Y8G("ngIf",e.bMT(5,1,t.link))}}function m2(n,r){if(1&n&&(e.j41(0,"div",37),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.source.value," ")}}function _2(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",34),e.DNE(2,m2,2,1,"div",35),e.k0s(),e.eu8(3,36),e.bVm()),2&n){const t=e.XpG().$implicit,i=e.XpG(2),o=e.sdS(2);e.R7$(),e.Y8G("ngClass",i.getCssClass(t.source)),e.R7$(),e.Y8G("ngIf",!t.source.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.eq3(4,pt,t.source.errorText))}}function d2(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",38)(2,"div",39),e.EFF(3),e.k0s()(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(3),e.SpI(" ",t.defaultFieldValue," ")}}function u2(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",40),e.EFF(2),e.nI1(3,"customdate"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",e.i5U(3,1,t.datetime.value,"long")," ")}}function g2(n,r){if(1&n&&(e.qex(0),e.DNE(1,u2,4,4,"ng-container",19),e.eu8(2,36),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.datetime.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,pt,t.datetime.errorText))}}function h2(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",41),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.SpI(" ",t.defaultFieldValue," ")}}function f2(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",40),e.EFF(2),e.nI1(3,"customdate"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",e.brH(3,1,t.datetime.value,"time","Europe/London")," ")}}function v2(n,r){if(1&n&&(e.qex(0),e.DNE(1,f2,4,5,"ng-container",19),e.eu8(2,36),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.datetime.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,pt,t.datetime.errorText))}}function b2(n,r){if(1&n&&(e.qex(0),e.eu8(1,36),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(2,pt,t.datetime.errorText))}}function C2(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",41),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.SpI(" ",t.defaultFieldValue," ")}}function T2(n,r){if(1&n&&(e.j41(0,"span",43),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.source.value," ")}}function x2(n,r){if(1&n&&(e.qex(0),e.DNE(1,T2,2,1,"span",42),e.eu8(2,36),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.source.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,pt,t.source.errorText))}}function k2(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",44),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function y2(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customdate"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.brH(2,1,t.datetime.value,"short","Europe/London")," ")}}function w2(n,r){if(1&n&&(e.qex(0),e.DNE(1,y2,3,5,"ng-container",19),e.eu8(2,36),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.datetime.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,pt,t.datetime.errorText))}}function I2(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",45),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function M2(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customdate"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.brH(2,1,t.datetime.value,"time","Europe/London")," ")}}function O2(n,r){if(1&n&&(e.qex(0),e.DNE(1,M2,3,5,"ng-container",19),e.eu8(2,36),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.datetime.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,pt,t.datetime.errorText))}}function R2(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",45),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function F2(n,r){if(1&n&&(e.j41(0,"tr",26)(1,"td",27),e.nrm(2,"app-link-or-dash",28),e.nI1(3,"newsArticleUrl"),e.j41(4,"div",29)(5,"div",30),e.DNE(6,_2,4,6,"ng-container",19)(7,d2,4,1,"ng-container",19),e.j41(8,"div",31),e.DNE(9,g2,3,5,"ng-container",19)(10,h2,3,1,"ng-container",19)(11,v2,3,5,"ng-container",19)(12,b2,2,4,"ng-container",19)(13,C2,3,1,"ng-container",19),e.k0s()()()(),e.j41(14,"td",32),e.DNE(15,x2,3,5,"ng-container",19)(16,k2,3,1,"ng-container",19),e.k0s(),e.j41(17,"td",33),e.DNE(18,w2,3,5,"ng-container",19)(19,I2,3,1,"ng-container",19),e.k0s(),e.j41(20,"td",33),e.DNE(21,O2,3,5,"ng-container",19)(22,R2,3,1,"ng-container",19),e.k0s()()),2&n){const t=r.$implicit,i=e.XpG(2);e.R7$(2),e.Y8G("link",e.bMT(3,19,t))("value",t.title.value)("errorText",t.title.errorText)("visibility",t.title.visibility)("targetType","_blank"),e.R7$(4),e.Y8G("ngIf",t.source.visibility),e.R7$(),e.Y8G("ngIf",!t.source.visibility),e.R7$(2),e.Y8G("ngIf",t.datetime.visibility),e.R7$(),e.Y8G("ngIf",!t.datetime.visibility),e.R7$(),e.Y8G("ngIf",t.datetime.visibility),e.R7$(),e.Y8G("ngIf",!t.datetime.visibility),e.R7$(),e.Y8G("ngIf",!t.datetime.visibility),e.R7$(),e.Y8G("ngClass",i.getCssClass(t.source)),e.R7$(),e.Y8G("ngIf",t.source.visibility),e.R7$(),e.Y8G("ngIf",!t.source.visibility),e.R7$(2),e.Y8G("ngIf",t.datetime.visibility),e.R7$(),e.Y8G("ngIf",!t.datetime.visibility),e.R7$(2),e.Y8G("ngIf",t.datetime.visibility),e.R7$(),e.Y8G("ngIf",!t.datetime.visibility)}}function P2(n,r){if(1&n&&(e.j41(0,"section",2),e.DNE(1,l2,13,5,"div",3),e.j41(2,"div",4),e.DNE(3,p2,6,3,"div",5),e.j41(4,"div",6)(5,"table",7)(6,"thead")(7,"tr",8)(8,"th",9),e.EFF(9),e.k0s(),e.j41(10,"th",10),e.EFF(11),e.k0s(),e.j41(12,"th",11),e.EFF(13),e.k0s(),e.j41(14,"th",11),e.EFF(15,"Time"),e.k0s()()(),e.j41(16,"tbody"),e.DNE(17,F2,23,21,"tr",12),e.nI1(18,"slice"),e.k0s()()()()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.title),e.R7$(2),e.Y8G("ngIf",!t.title),e.R7$(6),e.JRh(t.content.newsCarouselNews.value[0].title.label),e.R7$(2),e.JRh(t.content.newsCarouselNews.value[0].source.label),e.R7$(2),e.JRh(t.content.newsCarouselNews.value[0].datetime.label),e.R7$(4),e.Y8G("ngForOf",e.brH(18,6,t.content.newsCarouselNews.value,0,t.slidesToShow))}}function G2(n,r){if(1&n&&e.nrm(0,"app-hide-field",47),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function S2(n,r){1&n&&e.DNE(0,G2,1,1,"app-hide-field",46),2&n&&e.Y8G("ngIf",r.errorText)}let to=(()=>{class n extends O.R{constructor(t,i,o,a){super(),this.platformId=t,this.store=i,this.refreshService=o,this.cssmapping=a,this.hideComponentOnIndex="I:4GUK",this.defaultFieldValue=w.M.DEFAULT_VALUE,this._slidesToShow=6,this._showEarnings=!0,this.ngUnsubscribe=new re.B,this.status=this.status||{}}get title(){return this._title}set title(t){this._title=t}get link(){return this._link}set link(t){this._link=t}get slidesToShow(){return this._slidesToShow}set slidesToShow(t){this._slidesToShow=t}get showEarnings(){return this._showEarnings}set showEarnings(t){this._showEarnings=t}generateTitle(t){return"issuer-profile"===t?this.content.newsCarouselIssuerName.value+" News":"ftse-index"===t||"market-data-dashboard"===t?`${this.content.newsCarouselTickerDescription.value} Regulatory News`:null}getUrlByPage(t,i,o,a){switch(o=this.getIndexName(o),t){case"issuer-profile":return k.T.getCompanyUrl(this.instrumentFromPath.isLse,i,a,"anal
1ysis");case"ftse-index":case"market-data-dashboard":return k.T.getFtseUrlByLinkType("ftse-news",o);case"news":return k.T.getLink("news",(new F.Nl).set("tab","news-explorer"));default:return i?k.T.getCompanyUrl(this.instrumentFromPath.isLse,i,a,"analysis"):o?k.T.getFtseUrlByLinkType("ftse-index-page",o):"#"}}generateShowMoreLink(t){return this.store.pipe((0,u.Lt)(h.Ti),(0,f.s)(1),(0,A.T)(i=>{this.instrumentFromPath=k.T.getInstrumentFromCurrentPath(i);const o=i.parameters.get("indexname")||"",a=i.parameters.get("issuername")||this.getIssuerName();return this.getUrlByPage(t,this.instrumentFromPath.tidm,o,a)}))}getIndexName(t){return t||(this.content.newsCarouselTickerDescription.value?this.content.newsCarouselTickerDescription.value:null)}getIssuerName(){return this.content.newsCarouselIssuerName.value||""}sliceSlides(t,i){return i?"issuer-profile"===t||"ftse-index"===t||"market-data-dashboard"===t?Math.min(i.length,6):Math.min(i.length,9):this._slidesToShow}ngOnInit(){this.showComponent=!0,this.setComponent(),this.store.pipe((0,u.Lt)(h.P3),(0,W.p)(t=>null!==t),(0,ie.Q)(this.ngUnsubscribe)).subscribe(t=>{this.status.params=this.status.params.set("indicescode",t),this.showComponent=this.hideComponentOnIndex!==t,this.refreshService.refreshComponent(this.id,this.position,this.type,this.content,this.status)})}ngOnChanges(){this.setComponent()}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}setComponent(){this.store.pipe((0,u.Lt)(h.IQ),(0,f.s)(1)).subscribe(t=>{t&&(this.link=this.generateShowMoreLink(t.page_type),this.title=this.generateTitle(t.page_type),this.slidesToShow=this.sliceSlides(t.page_type,this.content.newsCarouselNews.value))})}getCssClass(t){return t.errorText?"":this.cssmapping.getClass(t.value)}toggleCheckbox(){if(!(0,l.UE)(this.platformId))return;const t=!this.showEarnings;this.showEarnings=t,this.status.params=this.status.params.set("headlinetypes",t?"1,2,5":""),this.refreshService.refreshComponent(this.id,this.position,this.type,this.content,this.status)}toggleCheckboxEvent(t){"Enter"===t.key&&this.toggleCheckbox()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw),e.rXU(u.il),e.rXU(j.W),e.rXU(b.o))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-news-carousel"]],features:[e.Vt3,e.OA$],decls:3,vars:1,consts:[["emptyvalue",""],["id","news-carousel","class","component full-width news-carousel-component gtm-track-component",4,"ngIf"],["id","news-carousel",1,"component","full-width","news-carousel-component","gtm-track-component"],["class","news-carousel-header",4,"ngIf"],[1,"news-carousel-body"],["class","news-carousel-body-header wrapper x-large-width x-large-width-padding",4,"ngIf"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"full-width","table"],[1,"table-header","hide-on-portrait"],[1,"headline"],[1,"source"],[1,"datetime"],["class","medium-font-weight",4,"ngFor","ngForOf"],[1,"news-carousel-header"],[1,"flex-wrapper","flex-align-center","spaced-flex-container"],[1,"title"],[1,"reverse-checkbox"],["type","checkbox","id","news-carousel-checkbox",1,"gtm-checkbox",3,"click","checked"],["for","news-carousel-checkbox","tabindex","0",1,"h-link",3,"keyup"],[4,"ngIf"],[1,"h-link",3,"href"],[1,"news-carousel-body-header","wrapper","x-large-width","x-large-width-padding"],[1,"large-font-size","bold-font-weight"],["class","bigger-font-size bold-font-weight",4,"ngIf"],[1,"bigger-font-size","bold-font-weight"],[3,"href"],[1,"medium-font-weight"],[1,"news-title"],[3,"link","value","errorText","visibility","targetType"],[1,"show-on-portrait"],[1,"flex-wrapper","spaced-flex-container","mobile-flex-container","flex-content","flex-align-center"],[1,"td-column-content","flex-wrapper","spaced-flex-container","mobile-flex-container","flex-align-center"],[1,"hide-on-portrait",3,"ngClass"],[1,"hide-on-portrait"],[1,"td-column-btn",3,"ngClass"],["class","source-label small-font-size",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"source-label","small-font-size"],[1,"td-column-btn"],[1,"source-label","small-font-size","dash-wrapper"],[1,"td-column","small-font-size"],[1,"td-column","small-font-size","dash-wrapper"],["class","source-label",4,"ngIf"],[1,"source-label"],[1,"source-label","dash-wrapper"],[1,"dash-wrapper"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&e.DNE(0,P2,19,10,"section",1)(1,S2,1,1,"ng-template",null,0,e.C5r),2&i&&e.Y8G("ngIf",(null==o.content.newsCarouselNews.value?null:o.content.newsCarouselNews.value.length)>0&&o.showComponent)},dependencies:[l.YU,l.Sq,l.bT,l.T3,y.W,xe,l.Jj,l.P9,U.W,lt.X],styles:[".news-carousel-header[_ngcontent-%COMP%]{padding-bottom:.5rem}.news-carousel-body[_ngcontent-%COMP%]{color:#000;overflow:hidden;padding:1rem 0 0;position:relative}.news-carousel-body-header[_ngcontent-%COMP%]{margin-bottom:1rem}@media (max-width: 480px){.news-carousel-body-header[_ngcontent-%COMP%] .bigger-font-size[_ngcontent-%COMP%]{margin-top:1rem}}.reverse-checkbox[_ngcontent-%COMP%]{margin-right:.5rem}h3[_ngcontent-%COMP%]{margin:0}table[_ngcontent-%COMP%]{table-layout:fixed}td[_ngcontent-%COMP%]{vertical-align:middle}@media (max-width: 480px){td[_ngcontent-%COMP%]{padding:.5rem}}th[_ngcontent-%COMP%]{width:6.7rem}th.issuerlogo[_ngcontent-%COMP%]{width:7.25rem}th.source[_ngcontent-%COMP%]{width:8rem}th.headline[_ngcontent-%COMP%]{width:auto}@media (max-width: 768px){th.datetime[_ngcontent-%COMP%]{width:5rem}}th.price[_ngcontent-%COMP%], th.change[_ngcontent-%COMP%]{width:6rem}@media (max-width: 768px){td.news-title[_ngcontent-%COMP%]{padding:.5rem 0}}
1@media (max-width: 480px){.source-label[_ngcontent-%COMP%]{margin:0}}.flex-content[_ngcontent-%COMP%]{display:flex!important}.td-column[_ngcontent-%COMP%]{flex-grow:1;padding-top:.5rem;width:50%}.td-column-btn[_ngcontent-%COMP%]{flex-grow:0;padding-top:.5rem;width:35%}.td-column-content[_ngcontent-%COMP%]{width:65%}"],changeDetection:0})}}return n})();var Ve=p(96268),De=p(58662),Mt=p(25558),Le=p(28404);let $2=(()=>{class n{set type(t){this._type=t}constructor(t,i){this.http=t,this.config=i,this.search=M.c.endpoints.search}endpoint(){return this.config.apiServer+this.search}parameters(){let t=new F.Nl;return"price-explorer"===this._type?t=t.set("worlds","issuers,quotes"):"advanced-bond-search"===this._type&&(t=t.set("worlds","issuers,quotes").set("categories","BONDS").set("subcategories","ACCESS BONDS")),t}get(t){const i=this.parameters().set("q",t);return this.http.get(this.endpoint(),{params:i}).pipe((0,Ge.W)(o=>((0,te.z3)("Error to retrieve autocomplete data: ",o,window.location.href),(0,q.of)(null))))}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(F.Qq),e.KVO(Le.w))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var je=p(99012),no=p(99701),io=p(70003);const E2=["dropdown"],D2=["inputBetweenCalendar"],j2=["dtRange2"],N2=["keyboardElement"];function Y2(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",16),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.showFilters())}),e.k0s()}}function X2(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",22),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.selectAllFilters())}),e.EFF(1," All "),e.k0s()}if(2&n){const t=e.XpG(3);e.AVh("active",t.allIsSelected)}}function B2(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=r.ngIf;e.R7$(),e.SpI(" (",t,") ")}}function V2(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",27),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(3);return e.Njj(a.deselectFilter(o))})("keyup",function(o){e.eBV(t);const a=e.XpG().$implicit,s=e.XpG(3);return e.Njj(s.deselectFilterKey(o,a))}),e.k0s()}}function L2(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",23)(1,"div",24),e.bIt("keyup",function(o){const a=e.eBV(t).$implicit,s=e.XpG(3);return e.Njj(s.selectFilterEvent(a,o))})("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.selectFilter(o))}),e.EFF(2),e.nI1(3,"etfs"),e.DNE(4,B2,2,1,"ng-container",25),e.nI1(5,"async"),e.k0s(),e.DNE(6,V2,1,0,"span",26),e.k0s()}if(2&n){const t=r.$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngClass",i.filterClass(i.name,t)),e.R7$(),e.SpI(" ",e.bMT(3,4,t.value||"-")," "),e.R7$(2),e.Y8G("ngIf",e.bMT(5,6,i.getCounter(t.key))),e.R7$(2),e.Y8G("ngIf",!i.isAlwaysActive(t.key)&&(i.isActiveFilter(i.name,t.key)||i.hasChildren(t.key)))}}function A2(n,r){if(1&n&&(e.qex(0),e.DNE(1,X2,2,2,"div",20)(2,L2,7,8,"div",21),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.filters.name),e.R7$(),e.Y8G("ngForOf",t.filters.filters)}}function q2(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",32),e.bIt("click",function(){e.eBV(t);const o=e.XpG(4);return e.Njj(o.selectAllFilters())})("keyup",function(o){e.eBV(t);const a=e.XpG(4);return e.Njj(a.selectAllFiltersKey(o))}),e.j41(1,"span",33),e.EFF(2,"All"),e.k0s()()}}function U2(n,r){if(1&n&&e.DNE(0,q2,3,0,"div",31),2&n){const t=e.XpG(3);e.Y8G("ngIf",t.filters.name)}}function z2(n,r){if(1&n&&(e.j41(0,"div",34)(1,"span",33),e.EFF(2),e.k0s()()),2&n){const t=r.item,i=e.XpG(3);e.Y8G("ngClass",i.filterClass(i.name,t)),e.R7$(2),e.JRh(t.value)}}function H2(n,r){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"ng-select",28,2),e.nI1(3,"async"),e.bIt("close",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.closeDropdown())})("add",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.addDropdownItem(o))})("remove",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.removeDropdownItem(o))}),e.DNE(4,U2,1,1,"ng-template",29)(5,z2,3,2,"ng-template",30),e.k0s()()}if(2&n){const t=e.XpG(2);e.AVh("active-dropdown-filter",t.allIsSelected),e.R7$(),e.FCK("id","filterdropdown-",t.filters.name,"-",t.parentValue,""),e.Y8G("searchable",!1)("placeholder",e.bMT(3,12,t.getDropdownLabel(t.parentValue)))("selectableGroup",!1)("items",t.filters.filters)("clearable",!0)("multiple",!0)("closeOnSelect",!1)}}function W2(n,r){if(1&n&&(e.j41(0,"a",35),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("href",t.filters.link,e.B4B),e.R7$(),e.SpI(" ",t.filters.linkLabel," ")}}function J2(n,r){if(1&n&&(e.j41(0,"div",17),e.DNE(1,A2,3,2,"ng-container",18)(2,H2,6,14,"ng-template",null,1,e.C5r)(4,W2,2,2,"a",19),e.k0s()),2&n){const t=e.sdS(3),i=e.XpG();e.AVh("search-filter",i.isDropdown()),e.R7$(),e.Y8G("ngIf",!i.isDropdown())("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",i.filters.link)}}function K2(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",22),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.selectAllFilters())}),e.EFF(1," Today "),e.k0s()}if(2&n){const t=e.XpG(2);e.AVh("active",t.allIsSelected)}}function Q2(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",22),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.selectTimePeriodFilter(o))}),e.EFF(1),e.k0s()}if(2&n){const t=r.$implicit,i=e.XpG(2);e.AVh("active",i.isActiveFilter(i.name,t.key)),e.R7$(),e.SpI(" ",t.value," ")}}function Z2(n,r){if(1&n&&(e.j41(0,"div",17),e.DNE(1,K2,2,2,"div",20)(2,Q2,2,3,"div",36),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.filters.name),e.R7$(),e.Y8G("ngForOf",t.filters.filters)}}function eC(n,r){if(1&n){const t=e.RV6();e.j41(0,"button",39),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.selectDateRange("before"))}),e.EFF(1," Before "),e.k0s()}if(2&n){const t=e.XpG(2);e.AVh("active","before"===t.activeDateRange)}}function tC(n,r){if(1&n){const t=e.RV6();e.j41(0,"button",39),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.selectDateRange("after"))}),e.EFF(1," After "),e.k0s()}if(2&n){const t=e.XpG(2);e.AVh("active","after"===t.activeDateRange)}}function nC(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"input",42),e.mxI("ngModelChange",function(o){e.eBV(t);const a=e.XpG(2);return e.DH7(a.dateTimeSingle,o)||(a.dateTimeSingle=o),e.Njj(o)}),e.bIt("dateTimeChange",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.submitDate(o.filters.name))}),e.k0s(),e.nrm(2,"owl-date-time",43,4),e.bVm()}if(2&n){const t=e.sdS(3),i=e.XpG(2);e.R7$(),e.Y8G("max",i.maxDate)("min",i.minDate),e.R50("ngModel",i.dateTimeSingle),e.Y8G("owlDateTimeTrigger",t)("owlDateTime",t),e.R7$(),e.Y8G("pickerType","calendar")}}function iC(n,r){if(1&n){const t=e.RV6();e.j41(0,"input",44,5),e.mxI("ngModelChange",function(o){e.eBV(t);const a=e.XpG(2);return e.DH7(a.dateTime,o)||(a.dateTime=o),e.Njj(o)}),e.bIt("dateTimeChange",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.submitDate(o.filters.name))})("ngModelChange",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.checkDate())}),e.k0s(),e.nrm(2,"owl-date-time",43,6)}if(2&n){const t=e.sdS(3),i=e.XpG(2);e.Y8G("max",i.maxDate)("min",i.minDate),e.R50("ngModel",i.dateTime),e.Y8G("selectMode","range")("owlDateTimeTrigger",t)("owlDateTime",t)("rangeSeparator","-"),e.R7$(2),e.Y8G("pickerType","calendar")}}function oC(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",17)(1,"span",37),e.DNE(2,eC,2,2,"button",38),e.j41(3,"button",39),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.selectDateRange("between"))}),e.EFF(4," Between "),e.k0s(),e.DNE(5,tC,2,2,"button",38),e.k0s(),e.j41(6,"span",40),e.EFF(7,"Pick date: "),e.k0s(),e.j41(8,"span",41),e.DNE(9,nC,4,6,"ng-container",18)(10,iC,4,8,"ng-template",null,3,e.C5r),e.k0s()()}if(2&n){const t=e.sdS(11),i=e.XpG();e.R7$(),e.Y8G("ngClass",i.explorerType),e.R7$(),e.Y8G("ngIf","news-explorer"!==i.explorerType),e.R7$(),e.AVh("active","between"===i.activeDateRange||"news-explorer"===i.explorerType),e.R7$(2),e.Y8G("ngIf","news-explorer"!==i.explorerType),e.R7$(4),e.Y8G("ngIf","between"!==i.activeDateRange)("ngIfElse",t)}}function rC(n,r){if(1&n&&(e.j41(0,"span",61),e.EFF(1),e.nI1(2,"etfs"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.bMT(2,1,t.category))}}function aC(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",55,7),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(4);return e.Njj(a.selectCompanyFilter(o,"codes","quotes"))}),e.j41(2,"div",56)(3,"div",57)(4,"div",58),e.EFF(5),e.k0s(),e.nrm(6,"span",59),e.k0s(),e.DNE(7,rC,3,3,"span",60),e.k0s()()}if(2&n){const t=r.$implicit,i=e.XpG(4);e.Y8G("ngClass",i.instrumentCssClass(t.category)),e.R7$(5),e.JRh(t.key),e.R7$(),e.Y8G("highlightString",i.debounceAutocompleteString)("originalString",t.value),e.R7$(),e.Y8G("ngIf","advanced-bond-search"!==i.explorerType)}}function sC(n,r){if(1&n){const t=e.RV6();e.qex(0),e.DNE(1,aC,8,5,"div",52),e.nI1(2,"slice"),e.j41(3,"div",53,7),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.showAutocomplete("quotes"))}
1),e.j41(5,"span",54),e.EFF(6),e.k0s()(),e.bVm()}if(2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",e.brH(2,2,t.companySearchResults.instruments,0,5)),e.R7$(5),e.JRh(t.showMore)}}function lC(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",63,7),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(4);return e.Njj(a.selectCompanyFilter(o,"issuers","issuers"))}),e.j41(2,"div",56)(3,"div",57),e.nrm(4,"span",64),e.k0s(),e.j41(5,"span",65),e.EFF(6),e.k0s()()()}if(2&n){const t=r.$implicit,i=e.XpG(4);e.R7$(4),e.Y8G("highlightString",i.debounceAutocompleteString)("originalString",t.value),e.R7$(2),e.Lme("",t.relatedinstruments," ",i.getCompanyLabel(t.relatedinstruments)," ")}}function cC(n,r){if(1&n&&(e.qex(0),e.DNE(1,lC,7,4,"div",62),e.nI1(2,"slice"),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",e.brH(2,1,t.companySearchResults.issuers,0,5))}}function pC(n,r){if(1&n&&(e.j41(0,"div",51)(1,"h5"),e.EFF(2,"Instrument"),e.k0s(),e.DNE(3,sC,7,6,"ng-container",18),e.j41(4,"h5"),e.EFF(5,"Issuer"),e.k0s(),e.DNE(6,cC,3,5,"ng-container",18),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(15);e.R7$(3),e.Y8G("ngIf",t.companySearchResults.instruments&&t.companySearchResults.instruments.length>0)("ngIfElse",i),e.R7$(3),e.Y8G("ngIf",t.companySearchResults.issuers&&t.companySearchResults.issuers.length>0)("ngIfElse",i)}}function mC(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",45)(1,"form",46)(2,"span",47),e.bIt("clickOutside",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.showSuggestions=!1)}),e.j41(3,"input",48,7),e.bIt("keyup",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.inputValue(o))}),e.k0s(),e.j41(5,"input",49),e.bIt("click",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.triggerSearchWithEnter("quotes",o))}),e.k0s(),e.DNE(6,pC,7,4,"div",50),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("formGroup",t.searchForm),e.R7$(2),e.Mz_("placeholder","Search by ",t.placeholderL
1abel,""),e.R7$(3),e.Y8G("ngIf",t.companySearchResults&&t.showSuggestions)}}function _C(n,r){if(1&n&&(e.j41(0,"div",58),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.tidm)}}function dC(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",63),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(4);return e.Njj(a.selectCompanyFilter(o,"issuers","issuers"))}),e.DNE(1,_C,2,1,"div",71),e.nrm(2,"span",64),e.k0s()}if(2&n){const t=r.$implicit,i=e.XpG(4);e.R7$(),e.Y8G("ngIf",t.tidm),e.R7$(),e.Y8G("highlightString",i.debounceAutocompleteString)("originalString",t.value)}}function uC(n,r){if(1&n){const t=e.RV6();e.qex(0),e.DNE(1,dC,3,3,"div",62),e.nI1(2,"slice"),e.j41(3,"div",70),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.showAutocomplete("issuers"))}),e.EFF(4),e.k0s(),e.bVm()}if(2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",e.brH(2,2,t.companySearchResults,0,t.autocompleteNumber)),e.R7$(3),e.SpI(" ",t.showMore," ")}}function gC(n,r){if(1&n&&(e.j41(0,"div",69),e.DNE(1,uC,5,6,"ng-container",18),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(15);e.R7$(),e.Y8G("ngIf",t.companySearchResults&&t.companySearchResults.length>0)("ngIfElse",i)}}function hC(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",45)(1,"form",46)(2,"span",47),e.bIt("clickOutside",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.showSuggestions=!1)}),e.j41(3,"input",66),e.bIt("keyup",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.inputValue(o))})("blur",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.hideSuggestions())}),e.k0s(),e.j41(4,"input",67),e.bIt("click",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.triggerSearchWithEnter("issuers",o))}),e.k0s(),e.DNE(5,gC,2,2,"div",68),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("formGroup",t.searchForm),e.R7$(2),e.Mz_("placeholder","Search by ",t.placeholderL
1abel,""),e.R7$(2),e.Y8G("ngIf",t.companySearchResults&&t.showSuggestions)}}function fC(n,r){if(1&n){const t=e.RV6();e.j41(0,"input",76),e.bIt("keyup",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.numericInput("couponrate"))}),e.k0s()}}function vC(n,r){if(1&n){const t=e.RV6();e.j41(0,"input",77),e.bIt("keyup",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.numericInput("currentyield"))}),e.k0s()}}function bC(n,r){if(1&n){const t=e.RV6();e.j41(0,"input",78),e.bIt("keyup",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.numericInput("yieldtomaturity"))}),e.k0s()}}function CC(n,r){if(1&n&&(e.j41(0,"div",17)(1,"form",46)(2,"span",72),e.DNE(3,fC,1,0,"input",73)(4,vC,1,0,"input",74)(5,bC,1,0,"input",75),e.k0s()()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("formGroup",t.inputNumberForm),e.R7$(2),e.Y8G("ngIf","couponrate"===t.filters.name),e.R7$(),e.Y8G("ngIf","currentyield"===t.filters.name),e.R7$(),e.Y8G("ngIf","yieldtomaturity"===t.filters.name)}}function TC(n,r){if(1&n&&(e.j41(0,"div",45)(1,"form",79),e.nrm(2,"ng-select",80),e.k0s()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("formGroup",t.sortByNewsType),e.R7$(),e.Y8G("searchable",!1)("clearable",!1)("items",t.filters.filters)}}function xC(n,r){if(1&n){const t=e.RV6();e.j41(0,"input",84),e.bIt("keyup",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.simpleSearchInput("namecode"))}),e.k0s()}if(2&n){const t=e.XpG(2);
1e.Mz_("placeholder","Search by ",t.placeholderLabel,"")}}function kC(n,r){if(1&n){const t=e.RV6();e.j41(0,"input",85),e.bIt("keyup",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.simpleSearchInput("freetext"))}),e.k0s()}}function yC(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",45)(1,"form",46)(2,"span",81),e.DNE(3,xC,1,2,"input",82)(4,kC,1,0,"input",83),e.j41(5,"input",67),e.bIt("click",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.triggerSimpleSearchWithEnter(o))}),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("formGroup",t.simpleSearch),e.R7$(2),e.Y8G("ngIf","namecode"===t.filters.name),e.R7$(),e.Y8G("ngIf","freetext"===t.filters.name)}}function wC(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-filters-toggle",86),e.bIt("filterSubmitted",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.submitFilters())})("filterSelected",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.incrementCounter())})("filterDeselected",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.decrementCounter())}),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("filters",t.subFilters)("name",t.subFilters.name)("addFilterLabel",t.addFilterLabel)("filtersLabel",t.subFilters.label)("filtersService",t.filtersService)("showMore",t.showMore)("advancedBondSearch",t.advancedBondSearch)("clearFiltersLabel",t.clearFiltersLabel)("explorerType",t.explorerType)("placeholderL
1abel",t.placeholderLabel)("level",t.level+1)("parentValue",t.parentValue)("autocompleteNumber",t.autocompleteNumber)("paramsWeightMap",t.paramsWeightMap)("threeMonthsLimit",t.threeMonthsLimit)}}function IC(n,r){1&n&&(e.j41(0,"div",87),e.EFF(1,"Sorry, no results found. Please try again."),e.k0s())}const Rn=Q()?Q():Lt,MC={datePickerInput:"DD.MM.YY",monthYearLabel:"MMMM YYYY"};let Fn=(()=>{class n{constructor(t,i,o,a,s,c,d){this.fb=t,this.autocompleteService=i,this.customdate=o,this.cssmapping=a,this.renderer=s,this.elementRef=c,this.store=d,this.filtersIcon=!1,this.firstLevelFilter=!1,this.level=0,this.threeMonthsLimit=!1,this.autocompleteNumber=9,this.filterSelected=new e.bkB,this.filterDeselected=new e.bkB,this.checkApply=new e.bkB,this.filterSubmitted=new e.bkB,this.doSubmitFilters=new e.bkB,this.setShowFilters=new e.bkB,this.maxDate=null,this.minDate=null,this.activeDateRange=null,this.subFilters=null,this.allIsSelected=!0,this.selectLabel="Please select filters",this.debounceAutocompleteString=null,this.showSuggestions=!1,this.isCalendarAlertMsgDisplayed=!1,this.defaultNewsType={key:"only",value:"Show only Earnings, News & Reach"},this.keyboardEventsManager=null,this.ngUnsubscribe=new re.B}debounceAutocomplete(t){t&&t.get("search").valueChanges.pipe((0,W.p)(i=>!(!i||i.length>0&&i.length<2)),(0,Xt.B)(700),(0,Mt.n)(i=>(this.debounceAutocompleteString=i,this.autocompleteService.get(i))),(0,Ge.W)((i,o)=>((0,te.z3)(i),o))).subscribe(i=>{i?this.companySearchResults=i:(0,te.z3)("Error requesting companies autocomplete.")})}ngOnInit(){if(this.maxDate=new Date(Date.now()),this.filters.name&&"news-explorer"===this.explorerType){const t=Rn().subtract(2,"years");this.minDate=new Date(t)}this.setInitialDateRange(),this.autocompleteService.type=this.explorerType,this.searchForm=this.fb.group({search:null}),this.debounceAutocomplete(this.searchForm),this.inputNumberForm=this.fb.group({couponrate:null,currentyield:null,yieldtomaturity:null}),this.sortByNewsType=this.fb.group({type:this.defaultNewsType}),this.simpleSearch=this.fb.group({freetext:null,namecode:null}),this.setNewsTypeForm(),this.checkShowSubFilter()}ngAfterViewInit(){var t=this;return(0,_.A)(function*(){yield t.setFiltersValueWithNoSubFilters(),t.setShowHideFilter(),t.keyboardEventsManager&&t.keyboardEventsManager.setFirstItemActive()})()}ngAfterViewChecked(){!this.keyboardEventsManager&&this.keyboardElement&&(this.keyboardEventsManager=new Ze.l3(this.keyboardElement))}setFiltersValueWithNoSubFilters(){var t=this;return(0,_.A)(function*(){(yield t.filtersService.getFilters().toPromise()).forEach(o=>{t.setInputNumber(o),t.setNewsType(o),t.setSimpleSearch(o)})})()}setInputNumber(t){!t||!t.value||!this.isInputNumber(t.name)||this.inputNumberForm.controls[t.name].setValue(t.value)}setNewsType(t){!t||!t.value||!t.name||!this.isNewsType(t.name)||this.sortByNewsType.controls.type.setValue(t.value[0])}setNewsTypeForm(){this.sortByNewsType.controls.type.valueChanges.subscribe(t=>{this.selectFilter(t,"newsType")})}setSimpleSearch(t){!t||!t.value||!this.isSimpleSearchFilter(t.name)||this.simpleSearch.controls[t.name].setValue(t.value)}ngOnChanges(){if(this.hasSubFilters(this.filters),this.filters&&this.filters.filters&&(this.allIsSelected=!0,this.filters.filters))for(const t of this.filters.filters)if(this.isActiveFilter(this.name,t.key)){this.allIsSelected=!1;break}}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}selectFilter(t,i=this.name){this.filtersService.clearAlphabetFilter(),this.checkApply.emit(t.key),this.showSuggestions=!1,this.hasSubFilters(t),this.firstLevelFilter&&(this.filtersService.activeFirstLevels=t.key,this.filtersService.reset=!1),!this.isActiveFilter(i,t.key)&&(this.allIsSelected=!1,this.firstLevelFilter||(this.filtersService.setFilter(i,t,this.level,this.parentValue),!this.firstLevelFilter&&!["beforedate","afterdate"].includes(i)&&this.filterSelected.emit(t)))}deselectFilter(t,i=this.name){this.checkApply.emit("ResetApplyVisibility"),["beforedate","afterdate"].includes(i)||(this.filtersService.deleteFilter(i,t.key),this.subFilters=null,this.firstLevelFilter||this.filterDeselected.emit(t)),this.firstLevelFilter?(this.filtersService.activeFirstLevels=null,this.filtersService.deleteAllFiltersOfCategory(t)):this.filtersService.deleteAllSubFilters(t);for(const o of this.filters.filters)if(this.isActiveFilter(this.name,o.key))return void(this.allIsSelected=!1);this.allIsSelected=!0}deselectFilterKey(t,i,o=this.name){"Enter"===t.key&&this.deselectFilter(i,o)}selectFilterDropdown(t){return this.isActiveFilter(this.name,t.key)?this.deselectFilter(t,this.name):this.selectFilter(t,this.name)}addDropdownItem(t){this.selectFilterDropdown(t)}removeDropdownItem(t){this.selectFilterDropdown(t.value)}setInitialDateRange(){const t=this.filtersService.getHttpFilters().has("beforedate"),i=this.filtersService.getHttpFilters().has("afterdate");this.activeDateRange="news-explorer"==this.explorerType||t&&i?"between":!t&&i?"after":"before"}selectDateRange(t){this.filtersService.resetCounter("Admission date"),this.filtersService.deleteDateFilters(),this.dateTime=null,this.dateTimeSingle=null,this.activeDateRange=t}selectAllFilters(){for(const t of this.filters.filters)this.deselectFilter(t);this.dropdown&&this.dropdown.itemsList&&(this.dropdown.itemsList._selected=[],this.dropdown.itemsList.clearSelected()),this.filtersService.resetCounter(this.parentValue),this.allIsSelected=!0}selectAllFiltersKey(t){"Enter"===t.key&&this.selectAllFilters()}submitFilters(){this.submitInput(),this.firstLevelFilter?this.doSubmitFilters.emit():this.filterSubmitted.emit()}submitDate(t){if(this.isNotValidDateTime())return;if(this.filtersService.resetCounter(this.parentValue),this.filtersService.deleteFilter("period","daily"),this.filtersService.deleteFilter("period","lastweek"),this.filtersService.deleteFilter("period","lastmonth"),this.incrementCounter(),"between"!==this.activeDateRange){const C={key:this.customdate.transform(this.dateTimeSingle,"filter"),value:this.activeDateRange+" "+this.customdate.transform(this.dateTimeSingle,"long")};return void this.selectFilter(C,this.activeDateRange+"date")}if(this.isCalendarAlertMsgDisplayed)return;const i=new Date(this.dateTime.toString().split(",")[0]),o=new Date(this.dateTime.toString().split(",")[1]),a={key:this.customdate.transform(i,"filter"),value:"After "+this.customdate.transform(i,"long")}
1,s={key:this.customdate.transform(o,"filter"),value:"Before "+this.customdate.transform(o,"long")},c=this.isCalendarFilter(t)?"startdate":"afterdate",d=this.isCalendarFilter(t)?"enddate":"beforedate";this.selectFilter(a,c),this.selectFilter(s,d)}isNotValidDateTime(){return!this.dateTime&&"between"===this.activeDateRange||!this.dateTimeSingle&&"between"!==this.activeDateRange}submitInput(){this.inputNumberForm&&this.inputNumberForm.reset()}checkDate(){const t=new Date(this.dateTime.toString().split(",")[0]),i=new Date(this.dateTime.toString().split(",")[1]);this.isCalendarAlertMsgDisplayed=this.showWrongDateRange(t,i),this.isCalendarAlertMsgDisplayed&&(this.dateTime=Rn(),this.renderer.setProperty(this.inputBetweenCalendar.nativeElement,"value",""),this.filtersService.deleteDateFilters())}showWrongDateRange(t,i){if(!this.threeMonthsLimit)return!1;let o=Rn(t).diff(i,"months",!0);return o=Math.ceil(Math.abs(o)),o>3&&(alert("News date range must be less than three months."),!0)}isActiveFilter(t,i){return this.isAlwaysActive(i)||this.filtersService.activeFirstLevels===i||this.filtersService.isActiveFilter(t,i)}hasChildren(t){return!!this.filtersService.counters.get(t)}getCounter(t){return this.isAlwaysActive(t)||["Free text","Name code"].includes(t)?(0,q.of)(0):this.filtersService.getCounters().pipe((0,A.T)(i=>i.get(t)))}filterClass(t,i){return`${String(i.key).replace(/\s+/g,"-").toLowerCase()}-button${this.isActiveFilter(t,i.key)||this.hasChildren(i.key)?" active":""}`}hasSubFilters(t){if(t.subFilters)this.parentValue=t.key,this.subFilters=t.subFilters;else if(t.value&&"ACCESS BONDS"===t.value.toString().toUpperCase()){const i=k.T.getLink("advanced-bond-search");this.subFilters={link:i,linkLabel:this.advancedBondSearch}}else"subcategories"===this.filters.name?this.nastyHackToFindMissingSubSubCategories():this.subFilters=null;this.subFilters&&!this.subFilters.label&&(this.subFilters.label=this.filtersLabel)}nastyHackToFindMissingSubSubCategories(){const t=this.filtersService.getActiveFiltersByName("subcategories");0!==t.length&&(this.subFilters=t[0].filter?.subFilters?.filters,this.subFilters&&this.selectFilter(t[0].filter))}selectCompanyFilter(t,i,o){t.url?this.store.dispatch(xn.s6({path:t.url})):(this.selectFilter(t,i),o&&(this.removeCompanyFilter(),this.selectFilter({key:o,value:o},"world")),this.submitFilters(),this.companySearchResults=null)}removeCompanyFilter(){this.filtersService.deleteFilter(void 0,"company")}selectTimePeriodFilter(t){this.fixedTimePeriod(t)?(this.filtersService.deleteFilter("period","daily"),this.filtersService.deleteFilter("period","lastweek"),this.filtersService.deleteFilter("period","lastmonth"),this.filtersService.deleteFilter("period","custom"),this.filtersService.resetCounter("Time period"),this.selectFilter(t,"period")):this.selectFilter(t,"period")}showAutocomplete(t){this.selectCompanyFilter({key:this.debounceAutocompleteString,value:this.debounceAutocompleteString},"q",t||null),this.companySearchResults=null}triggerSearchWithEnter(t,i){i&&i.preventDefault(),this.selectCompanyFilter({key:this.searchForm.value.search,value:this.searchForm.value.search},"q",t||null),this.showSuggestions=!1,this.companySearchResults=null}triggerSimpleSearchWithEnter(t){t&&t.preventDefault(),this.submitFilters()}customFilters(t){return["date","company","period","companyInstrument","calendarAll","calendarOtherEvents","newsType","freetext","nameco
1de"].includes(t)}fixedTimePeriod(t){return["daily","lastweek","lastmonth","custom"].includes(t.key)}isDropdown(){return["headlines","sectors"].includes(this.name)}isInputNumber(t){return["couponrate","currentyield","yieldtomaturity"].includes(t)}isDateFilter(t){return["date","calendarAll","calendarOtherEvents"].includes(t)}isCalendarFilter(t){return["welcomeStories","calendarAll","calendarOtherEvents"].includes(t)}isNewsType(t){return["newsType","News type"].includes(t)}isAlwaysActive(t){return["News type","Time period"].includes(t)}isSimpleSearchFilter(t){return["freetext","namecode"].includes(t)}closeDropdown(){this.dropdown&&this.dropdown.handleClearClick()}instrumentCssClass(t){return this.cssmapping.cssClass({value:t})}inputValue(t){this.searchForm.value.search&&this.searchForm.value.search.length>1?(this.showSuggestions=!0,t&&this.keyboardEventsManager&&this.handleKeyUp(t)):(this.companySearchResults=null,this.showSuggestions=!1)}handleKeyUp(t){["ArrowDown","ArrowUp","Up","Down"].includes(t.key)?(this.keyboardEventsManager.onKeydown(t),this.keyboardNavigation(this.keyboardEventsManager.activeItem)):"Enter"===t.key?(this.clickOnSelected(this.keyboardEventsManager.activeItem),this.showSuggestions=!1):("Escape"===t.key||"Esc"===t.key)&&(this.companySearchResults=null,this.showSuggestions=!1)}clickOnSelected(t){!t||!t.nativeElement||t.nativeElement.click()}keyboardNavigation(t){let i=null;t&&(i=t.nativeElement),this.navigationClasses(i)}navigationClasses(t){const i=this.elementRef.nativeElement.querySelector(".selected");i&&this.renderer.removeClass(i,"selected"),t&&(i&&this.renderer.removeClass(i,"selected"),this.renderer.addClass(t,"selected"))}numericInput(t){const i=this.inputNumberForm.get(t).value;this.filtersService.deleteFilter(t,`${i}`),this.decrementCounter(),i&&(this.filtersService.setFilter(t,{key:`${i}`,value:`${i}`}),this.incrementCounter())}simpleSearchInput(t){const i=this.simpleSearch.get(t).value;this.filtersService.deleteFilter(t,`${i}`),this.decrementCounter(),i&&(this.filtersService.setFilter(t,{key:`${i}`,value:`${i}`}),this.incrementCounter())}incrementCounter(){this.filtersService.incrementCounter(this.parentValue)}decrementCounter(){this.filtersService.decrementCounter(this.parentValue)}getDropdownLabel(t){return this.dropdownName=this.dropdownName!==t?t:this.dropdownName,this.getCounter(this.dropdownName).pipe((0,A.T)(i=>i?i+(1===i?" filter":" filters")+" selected":this.selectLabel))}getCompanyLabel(t){return"advanced-bond-search"===this.explorerType?1!==t?"access bonds":"access bond":1!==t?"instruments":"instrument"}showFilters(){const t=this.elementRef.nativeElement.querySelector(".filters-container");if(!t)return;const i=t.getAttribute("class");i&&i.indexOf("hide-filters-toggle-content")>-1?(this.renderer.removeClass(t,"hide-filters-toggle-content"),this.setShowFilters.emit(!0)):(this.renderer.addClass(t,"hide-filters-toggle-content"),this.setShowFilters.emit(!1))}setShowHideFilter(){this.filtersIcon&&this.filtersService.getFilters(!0).pipe((0,W.p)(t=>!!t&&t.length>0),(0,ie.Q)(this.ngUnsubscribe)).subscribe(()=>
1this.showFilters())}checkShowSubFilter(){this.filtersService.getFilters(!1).pipe((0,A.T)(t=>t.sort((i,o)=>this.paramsWeightMap.get(i.name)-this.paramsWeightMap.get(o.name)||0).shift()),(0,W.p)(t=>!!t),(0,f.s)(1)).subscribe(t=>{this.setCustomInput(t);const i=this.getFilterNameToShow(t.name),o=this.getSubFilterToShow(t,i);o.length&&this.selectFilter(o[0],o[0].name)})}getFilterNameToShow(t){const i="price-explorer"===this.explorerType?"Admission date":"Time period";return new Map([["q","Company"],["beforedate",i],["afterdate",i],["betweendate",i],["couponrate","Coupon rate"],["currentyield","Current yield"],["yieldtomaturity","Yield to maturity"],["freetext","Free text"],["namecode","Name code"]]).get(t)||t}setCustomInput(t){switch(t.name){case"q":this.searchForm.controls.search.setValue(t.value[0]);break;case"beforedate":case"afterdate":const i=t.value[0].replace("before |after ","");this.dateTimeSingle=this.customdate.transform(i,"filter");break;case"betweendate":const o=t.value[0].replace("between ","").split(" and ");this.dateTime=[this.customdate.transform(o[0],"filter"),this.customdate.transform(o[1],"filter")]}}getSubFilterToShow(t,i){return this.filters&&this.filters.filters?this.filters.filters.filter(o=>o.key===i||o.key===t.parent||o.value===t.parent||"Time period"===i&&"custom"===o.key&&["beforedate","afterdate","betweendate"].includes(t.name)):[]}selectFilterEvent(t,i){"Enter"===i.key&&this.selectFilter(t)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(g.ze),e.rXU($2),e.rXU(U.W),e.rXU(b.o),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(u.il))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-filters-toggle"]],viewQuery:function(i,o){if(1&i&&(e.GBs(E2,5),e.GBs(D2,5),e.GBs(j2,5),e.GBs(N2,5)),2&i){let a;e.mGM(a=e.lsd())&&(o.dropdown=a.first),e.mGM(a=e.lsd())&&(o.inputBetweenCalendar=a.first),e.mGM(a=e.lsd())&&(o.dtRange2=a.first),e.mGM(a=e.lsd())&&(o.keyboardElement=a)}},inputs:{filters:"filters",name:"name",clearFiltersLabel:"clearFiltersLabel",addFilterLabel:"addFilterLabel",filtersLabel:"filtersLabel",filtersIcon:"filtersIcon",firstLevelFilter:"firstLevelFilter",filtersService:"filtersService",showMore:"showMore",advancedBondSearch:"advancedBondSearch",explorerType:"explorerType",placeholderL
1abel:"placeholderLabel",parentValue:"parentValue",level:"level",threeMonthsLimit:"threeMonthsLimit",autocompleteNumber:"autocompleteNumber",paramsWeightMap:"paramsWeightMap"},outputs:{filterSelected:"filterSelected",filterDeselected:"filterDeselected",checkApply:"checkApply",filterSubmitted:"filterSubmitted",doSubmitFilters:"doSubmitFilters",setShowFilters:"setShowFilters"},features:[e.Jv_([{provide:je.fJ,useValue:MC}]),e.OA$],decls:16,vars:13,consts:[["noContent",""],["dropDownFilters",""],["dropdown",""],["dateRange",""],["dtRange1",""],["inputBetweenCalendar",""],["dtRange2",""],["keyboardElement",""],[1,"filters-container"],[1,"filters-header","bold-font-weight","regular-font-size","mobile-flex-wrapper","flex-align-center"],["class","icon-filters clickable","id","filters-toggle-icon",3,"click",4,"ngIf"],["id","filters-toggle-content"],["class","index-filter",3,"search-filter",4,"ngIf"],["class","index-filter",4,"ngIf"],["class","index-filter search-filter",4,"ngIf"],[3,"filters","name","addFilterLabel","filtersLabel","filtersService","showMore","advancedBondSearch","clearFiltersLabel","explorerType","placeholderL
1abel","level","parentValue","autocompleteNumber","paramsWeightMap","threeMonthsLimit","filterSubmitted","filterSelected","filterDeselected",4,"ngIf"],["id","filters-toggle-icon",1,"icon-filters","clickable",3,"click"],[1,"index-filter"],[4,"ngIf","ngIfElse"],["class","interactive-outline-button",3,"href",4,"ngIf"],["class","interactive-outline-button gtm-trackable",3,"active","click",4,"ngIf"],["class","filter-wrapper",4,"ngFor","ngForOf"],[1,"interactive-outline-button","gtm-trackable",3,"click"],[1,"filter-wrapper"],["tabindex","0",1,"interactive-outline-button","gtm-trackable",3,"keyup","click","ngClass"],[4,"ngIf"],["class","filter-deselect","tabindex","0",3,"click","keyup",4,"ngIf"],["tabindex","0",1,"filter-deselect",3,"click","keyup"],["groupBy","selectAll",1,"form-control","form-select",3,"close","add","remove","id","searchable","placeholder","selectableGroup","items","clearable","multiple","closeOnSelect"],["ng-optgroup-tmp",""],["ng-option-tmp",""],["class","ng-option gtm-trackable","tabindex","0",3,"click","keyup",4,"ngIf"],["tabindex","0",1,"ng-option","gtm-trackable",3,"click","keyup"],[1,"option-label"],["aria-role","checkbox",1,"select-option",3,"ngClass"],[1,"interactive-outline-button",3,"href"],["class","interactive-outline-button gtm-trackable",3,"active","click",4,"ngFor","ngForOf"],[1,"filter-buttons",3,"ngClass"],[3,"active","click",4,"ngIf"],[3,"click"],[1,"bold-font-weight","date-label"],[1,"date-container"],["tabindex","0",1,"date-input","filter-input",3,"ngModelChange","dateTimeChange","max","min","ngModel","owlDateTimeTrigger","owlDateTime"],[3,"pickerType"],["readonly","","tabindex","0",1,"date-input","filter-input",3,"ngModelChange","dateTimeChange","max","min","ngModel","selectMode","owlDateTimeTrigger","owlDateTime","rangeSeparator"],[1,"index-filter","search-filter"],[3,"formGroup"],[1,"search-container","input-container",3,"clickOutside"],["formControlName","search","name","search","type","text","id","company-search","aria-describedby","company-search","autocomplete","off","tabindex","0",1,"form-control","bigger-font-size","search-icon","filter-input","search-input",3,"keyup","placeholder"],["type","submit","tabindex","0",1,"hide-input-submit","gtm-trackable",3,"click"],["class","issuers-autocomplete",4,"ngIf"],[1,"issuers-autocomplete"],["class","issuer",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"issuer",3,"click"],[1,"fake-link"],[1,"issuer",3,"click","ngClass"],[1,"mobile-flex-wrapper","spaced-flex-container","flex-align-end"],[1,"ellipsed","issuer-ellipsed"],[1,"issuer-key"],["appHighlightResult","",1,"fake-link","uppercase",3,"highlightString","originalString"],["class","instrument-label bold-font-weight hide-on-mobile",4,"ngIf"],[1,"instrument-label","bold-font-weight","hide-on-mobile"],["class","issuer ellipsed",3,"click",4,"ngFor","ngForOf"],[1,"issuer","ellipsed",3,"click"],["appHighlightResult","",1,"uppercase",3,"highlightString","originalString"],[1,"bold-font-weight","issuer-securities","hide-on-mobile"],["formControlName","search","name","search","type","text","id","company-instrument-search","aria-describedby","company-search","autocomplete","off",1,"form-control","bigger-font-size","search-icon","filter-input","search-input",3,"keyup","blur","placeholder"],["type","submit",1,"hide-input-submit","gtm-trackable",3,"click"],["class","issuers-autocomplete issuers-only",4,"ngIf"],[1,"issuers-autocomplete","issuers-only"],[1,"fake-link","issuer",3,"click"],["class","issuer-key",4,"ngIf"],[1,"input-container"],["formControlName","couponrate","id","couponrate","type","number","class","form-control bigger-font-size filter-input","name","couponrate","placeholder","Please enter a numeric value","appNumberOnly","",3,"keyup",4,"ngIf"],["formControlName","currentyield","id","currentyield","type","number","class","form-control bigger-font-size filter-input","name","currentyield","placeholder","Please enter a numeric value","appNumberOnly","",3,"keyup",4,"ngIf"],["formControlName","yieldtomaturity","id","yieldtomaturity","type","number","class","form-control bigger-font-size filter-input","name","yieldtomaturity","placeholder","Please enter a numeric value","appNumberOnly","",3,"keyup",4,"ngIf"],["formControlName","couponrate","id","couponrate","type","number","name","couponrate","placeholder","Please enter a numeric value","appNumberOnly","",1,"form-control","bigger-font-size","filter-input",3,"keyup"],["formControlName","currentyield","id","currentyield","type","number","name","currentyield","placeholder","Please enter a numeric value","appNumberOnly","",1,"form-control","bigger-font-size","filter-input",3,"keyup"],["formControlName","yieldtomaturity","id","yieldtomaturity","type","number","name","yieldtomaturity","placeholder","Please enter a numeric value","appNumberOnly","",1,"form-control","bigger-font-size","filter-input",3,"keyup"],[1,"form-inline",3,"formGroup"],["id","sortByNewsType","formControlName","type","bindLabel","value","bindValu","key",1,"form-control","form-select",3,"searchable","clearable","items"],[1,"search-container","input-container"],["formControlName","nameco
1de","name","namecode","type","text","class","form-control bigger-font-size search-icon filter-input search-input","id","namecode-search","aria-describedby","namecode-search","autocomplete","off",3,"placeholder","keyup",4,"ngIf"],["formControlName","freetext","name","freetext","type","text","class","form-control bigger-font-size search-icon filter-input search-input","id","freetext-search","aria-describedby","freetext-search","placeholder","Search news","autocomplete","off",3,"keyup",4,"ngIf"],["formControlName","namecode","name","namecode","type","text","id","namecode-search","aria-describedby","namecode-search","autocomplete","off",1,"form-control","bigger-font-size","search-icon","filter-input","search-input",3,"keyup","placeholder"],["formControlName","freetext","name","freetext","type","text","id","freetext-search","aria-describedby","freetext-search","placeholder","Search news","autocomplete","off",1,"form-control","bigger-font-size","search-icon","filter-input","search-input",3,"keyup"],[3,"filterSubmitted","filterSelected","filterDeselected","filters","name","addFilterLabel","filtersLabel","filtersService","showMore","advancedBondSearch","clearFiltersLabel","explorerType","placeholderL
1abel","level","parentValue","autocompleteNumber","paramsWeightMap","threeMonthsLimit"],[1,"issuer","issuer-empty"]],template:function(i,o){1&i&&(e.j41(0,"div",8)(1,"div",9),e.EFF(2),e.DNE(3,Y2,1,0,"span",10),e.k0s(),e.j41(4,"div",11),e.DNE(5,J2,5,5,"div",12)(6,Z2,3,2,"div",13)(7,oC,12,7,"div",13)(8,mC,7,4,"div",14)(9,hC,6,4,"div",14)(10,CC,6,4,"div",13)(11,TC,3,4,"div",14)(12,yC,6,3,"div",14),e.k0s()(),e.DNE(13,wC,1,15,"app-filters-toggle",15)(14,IC,2,0,"ng-template",null,0,e.C5r)),2&i&&(e.AVh("hide-filters-toggle-content",o.filtersIcon),e.R7$(2),e.SpI(" ",o.filtersLabel," "),e.R7$(),e.Y8G("ngIf",o.filtersIcon),e.R7$(2),e.Y8G("ngIf",!o.filters.name||!o.customFilters(o.filters.name)&&!o.isInputNumber(o.filters.name)),e.R7$(),e.Y8G("ngIf","period"===o.filters.name),e.R7$(),e.Y8G("ngIf",o.isDateFilter(o.filters.name)),e.R7$(),e.Y8G("ngIf",o.filters.name&&"company"===o.filters.name),e.R7$(),e.Y8G("ngIf",o.filters.name&&"companyInstrument"===o.filters.name),e.R7$(),e.Y8G("ngIf",o.filters.name&&o.isInputNumber(o.filters.name)),e.R7$(),e.Y8G("ngIf",(null==o.filters.filters?null:o.filters.filters.length)&&o.filters.name&&"newsType"===o.filters.name),e.R7$(),e.Y8G("ngIf",o.filters.name&&o.isSimpleSearchFilter(o.filters.name)),e.R7$(),e.Y8G("ngIf",o.subFilters&&!o.filtersService.reset))},dependencies:[l.YU,l.Sq,l.bT,g.qT,g.me,g.Q0,g.BC,g.cb,g.vS,no.z,io.H,g.j4,g.JD,ne.vr,ne.bh,ne.Uq,je.H$,je.BK,je.P_,n,vi,l.Jj,l.P9,Te.Z],styles:[".ng-option[_ngcontent-%COMP%]{margin:0;padding-left:1.75rem!important;position:relative}.hide-filters-toggle-content[_ngcontent-%COMP%] #filters-toggle-content[_ngcontent-%COMP%]{display:none}.hide-filters-toggle-content[_ngcontent-%COMP%] + app-filters-toggle[_ngcontent-%COMP%]{display:none}.icon-filters[_ngcontent-%COMP%]{cursor:pointer}"]})}}return n})();const OC=(n,r)=>({label:n,code:"code",options:r}),RC=(n,r)=>({label:n,code:"name",options:r}),FC=(n,r)=>({label:n,code:"currency",options:r}),PC=(n,r)=>({label:n,code:"marketcap",options:r}),GC=(n,r)=>({label:n,code:"price",options:r}),SC=(n,r)=>({label:n,code:"netchange",options:r}),$C=(n,r)=>({label:n,code:"percentualchange",options:r}),EC=(n,r)=>({label:n,code:"category",options:r}),Qe=n=>({errorText:n});function DC(n,r){if(1&n&&(e.j41(0,"h3",11)(1,"span"),e.EFF(2),e.k0s(),e.j41(3,"span",12),e.nrm(4,"app-whats-this",13),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.JRh(t.content.title.value),e.R7$(2),e.Y8G("whatsThisLink",t.content.whatsThisLink)("whatsThisText",t.content.whatsThisText)}}function jC(n,r){if(1&n&&(e.qex(0),e.j41(1,"a",14),e.EFF(2," Explore all Others in our Price Explorer "),e.k0s(),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.FS9("href",t.exploreFiltersLink(),e.B4B)}}function NC(n,r){if(1&n&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.content.summary.value)}}function YC(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"a",22),e.bIt("click",function(o){const a=e.eBV(t).$implicit,s=e.XpG(2);return e.Njj(s.getAlphabetInitial(a,o))}),e.EFF(2),e.k0s(),e.bVm()}if(2&n){const t=r.$implicit,i=e.XpG(2);e.R7$(),e.AVh("current",i.activeInitial===t),e.Y8G("href",i.getInitialLink(t),e.B4B),e.R7$(),e.JRh(t)}}function XC(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",15)(1,"app-filters-toggle",16),e.bIt("doSubmitFilters",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.applyFilters())})("checkApply",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.checkApplyVisibility(o))}),e.k0s(),e.j41(2,"div",17)(3,"input",18),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.updateAlphabetTilesOpen())}),e.k0s(),e.j41(4,"label",19),e.bIt("keyup",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.updateAlphabetTilesOpenKey(o))}),e.EFF(5),e.k0s(),e.j41(6,"div",20),e.DNE(7,YC,3,4,"ng-container",21),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("filters",t.firstLevelFilters)("filtersLabel",t.content.filterByLabel.value)("clearFiltersLabel",t.content.clearFiltersLabel.value)("addFilterLabel",t.content.addFilterLabel.value)("firstLevelFilter",!0)("filtersService",t.filtersService)("showMore",t.content.showMoreLabel.value)("advancedBondSearch",t.content.advancedBondsSearchLabel.value)("explorerType","price-explorer")("placeholderL
1abel","issuer, code or ISIN")("paramsWeightMap",t.paramsWeightMap),e.R7$(2),e.Y8G("checked",t.isAlphabetTilesOpen),e.R7$(2),e.JRh(t.content.alphabeticalFilterLabel.value),e.R7$(2),e.Y8G("ngForOf",t.alphabetTiles)}}function BC(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",26),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.clearAll())})("keyup",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.clearAllEvent(o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(2);e.BMQ("aria-label",t.content.clearFiltersLabel.value),e.R7$(),e.SpI(" ",t.content.clearFiltersLabel.value," ")}}function VC(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",27),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.applyFilters())})("keyup",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.applyFiltersEvent(o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(2);e.BMQ("aria-label",t.content.addFilterLabel.value),e.R7$(),e.SpI(" ",t.content.addFilterLabel.value," ")}}function LC(n,r){if(1&n&&(e.j41(0,"div",23),e.DNE(1,BC,2,2,"span",24),e.nI1(2,"async"),e.DNE(3,VC,2,2,"span",25),e.k0s()),2&n){const t=e.XpG();e.AVh("disabled",1==t.status.refreshing),e.R7$(),e.Y8G("ngIf",e.bMT(2,4,t.summaryFilters$).length),e.R7$(2),e.Y8G("ngIf",!t.hideApply)}}function AC(n,r){if(1&n&&(e.qex(0),e.EFF(1," matches "),e.j41(2,"strong"),e.EFF(3),e.k0s(),e.bVm()),2&n){const t=r.$implicit,i=e.XpG().$implicit,o=e.XpG(2);e.R7$(3),e.JRh(o.getFormattedFilterValue(i.name,t))}}function qC(n,r){if(1&n&&(e.j41(0,"div",39)(1,"span")(2,"strong"),e.EFF(3),e.k0s(),e.DNE(4,AC,4,1,"ng-container",21),e.k0s()()),2&n){const t=r.$implicit,i=e.XpG(2);e.R7$(3),e.JRh(i.getFilteredByLabelByName(t.name)),e.R7$(),e.Y8G("ngForOf",t.value)}}function UC(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",28)(1,"span",29),e.bIt("keyup",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.setNonLseFilterKey(o))}),e.j41(2,"input",30),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.setNonLseFilter())}),e.k0s(),e.j41(3,"label",31),e.EFF(4),e.k0s(),e.nrm(5,"app-whats-this",13),e.k0s(),e.j41(6,"div",32)(7,"div",33),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.toggleAccordion("filtered-by-accordion"))}),e.j41(8,"span",34),e.EFF(9),e.k0s(),e.nrm(10,"span",35),e.k0s(),e.j41(11,"div",36)(12,"div",37),e.DNE(13,qC,5,2,"div",38),e.nI1(14,"async"),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("checked",t.isOnlyLseFilterSet()),e.R7$(2),e.SpI("",t.content.showOnlyLSELabel.value," "),e.R7$(),e.Y8G("whatsThisLink",t.content.showOnlyLSEWhatsThisLink)("whatsThisText",t.content.showOnlyLSEWhatsThisText),e.R7$(4),e.JRh(t.content.filterSummaryTitle.value),e.R7$(4),e.Y8G("ngForOf",e.bMT(14,6,t.summaryFilters$))}}function zC(n,r){if(1&n&&(e.j41(0,"div",40),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.notFoundMessage.value," ")}}function HC(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG().label;e.R7$(),e.JRh(t)}}function WC(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",43),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2).code,a=e.XpG();return e.Njj(a.toggleOption(o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(2),i=t.label,o=t.code,a=t.options,s=e.XpG();e.Y8G("ngClass",s.isSortDesc(o,a)?"reverse":""),e.R7$(),e.JRh(i)}}function JC(n,r){if(1&n){const t=e.RV6();e.j41(0,"li",45)(1,"div",46),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3).code,s=e.XpG();return e.Njj(s.sortBy(o.value,a))}),e.EFF(2),e.k0s()()}if(2&n){const t=r.$implicit,i=e.XpG(4);e.Y8G("ngClass",i.selectedSort===t.value?"active-sort":""),e.R7$(),e.FS9("title",t.label),e.R7$(),e.JRh(t.label)}}function KC(n,r){if(1&n&&(e.j41(0,"ul"),e.DNE(1,JC,3,3,"li",44),e.k0s()),2&n){const t=e.XpG(2).options;e.R7$(),e.Y8G("ngForOf",t)}}function QC(n,r){if(1&n){const t=e.RV6();e.qex(0),e.DNE(1,WC,2,2,"span",41),e.j41(2,"span",42),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.toggleOption())}),e.DNE(3,KC,2,1,"ul",5),e.k0s(),e.bVm()}if(2&n){const t=e.XpG(),i=t.code,o=t.options,a=e.XpG();e.R7$(),e.Y8G("ngIf","noFilter"!==a.meta.viewMode),e.R7$(),e.Y8G("ngClass",a.selectedDropDown===i?"expanded":""),e.R7$(),e.Y8G("ngIf",o)}}function ZC(n,r){if(1&n&&e.DNE(0,HC,2,1,"span",5)(1,QC,4,3,"ng-container",5),2&n){const t=e.XpG();e.Y8G("ngIf","noFilter"===t.meta.viewMode),e.R7$(),e.Y8G("ngIf","noFilter"!==t.meta.viewMode)}}function eT(n,r){if(1&n&&(e.j41(0,"div",55)(1,"span",56),e.EFF(2),e.k0s(),e.EFF(3),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI("",null==t.content.pagination?null:t.content.pagination.totalItems," results"),e.R7$(),e.SpI(" (",null==t.content.priceExplorerResults?null:t.content.priceExplorerResults.length," showing) ")}}function tT(n,r){1&n&&e.eu8(0)}function nT(n,r){1&n&&e.eu8(0)}function iT(n,r){1&n&&e.eu8(0)}function oT(n,r){1&n&&e.eu8(0)}function rT(n,r){1&n&&e.eu8(0)}function aT(n,r){1&n&&e.eu8(0)}function sT(n,r){1&n&&e.eu8(0)}function lT(n,r){1&n&&e.eu8(0)}function cT(n,r){if(1&n&&(e.j41(0,"tr",57)(1,"th",58),e.DNE(2,tT,1,0,"ng-container",59),e.k0s(),e.j41(3,"th",60),e.DNE(4,nT,1,0,"ng-container",59),e.k0s(),e.j41(5,"th",61),e.DNE(6,iT,1,0,"ng-container",59),e.k0s(),e.j41(7,"th",62),e.DNE(8,oT,1,0,"ng-container",59),e.k0s(),e.j41(9,"th",63),e.DNE(10,rT,1,0,"ng-container",59),e.k0s(),e.j41(11,"th",64),e.DNE(12,aT,1,0,"ng-container",59),e.k0s(),e.j41(13,"th",65),e.DNE(14,sT,1,0,"ng-container",59),e.k0s(),e.j41(15,"th",66)(16,"span"),e.EFF(17),e.k0s()(),e.j41(18,"th",67),e.DNE(19,lT,1,0,"ng-container",59),e.k0s(),e.nrm(20,"th",68),e.k0s()),2&n){const t=r.$implicit,i=e.XpG(2),o=e.sdS(11);e.AVh("disabled",1==i.status.refreshing),e.R7$(),e.Y8G("ngClass","code"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(27,OC,t.tidm.label,i.dropdownSortOptions.code)),e.R7$(),e.Y8G("ngClass","name"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(30,RC,t.description.label,i.dropdownSortOptions.name)),e.R7$(),e.Y8G("ngClass","currency"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(33,FC,t.currency.label,i.dropdownSortOptions.currency)),e.R7$(),e.Y8G("ngClass","marketcap"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(36,PC,t.marketcapitalization.label,i.dropdownSortOptions.marketcap)),e.R7$(),e.Y8G("ngClass","price"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(39,GC,t.lastprice.label,i.dropdownSortOptions.price)),e.R7$(),e.Y8G("ngClass","netchange"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(42,SC,t.netchange.label,i.dropdownSortOptions.netchange)),e.R7$(),e.Y8G("ngClass","percentualchange"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(45,$C,t.percentualchange.label,i.dropdownSortOptions.percentualchange)),e.R7$(3),e.JRh(t.idnews.label),e.R7$(),e.Y8G("ngClass","category"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(48,EC,t.category.label,i.dropdownSortOptions.category))}}function pT(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",81),e.nI1(2,"companyUrl"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t))("linkClasses","blue-text")("dashClasses","blue-text")("value",t.tidm.value)("errorText",t.tidm.errorText)("visibility",t.tidm.visibility)}}function mT(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.tidm.value," ")}}function _T(n,r){if(1&n&&(e.qex(0),e.DNE(1,mT,2,1,"ng-container",5),e.eu8(2,82),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(15);e.R7$(),e.Y8G("ngIf",!t.tidm.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Qe,t.tidm.errorText))}}function dT(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",83),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function uT(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",81),e.nI1(2,"companyUrl"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t))("linkClasses","black-link ellipsed")("dashClasses","blue-text")("value",t.description.value)("errorText",t.description.errorText)("visibility",t.description.visibility)}}function gT(n,r){if(1&n&&(e.j41(0,"span",85),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.description.value," ")}}function hT(n,r){if(1&n&&(e.qex(0),e.DNE(1,gT,2,1,"span",84),e.eu8(2,82),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(15);e.R7$(),e.Y8G("ngIf",!t.description.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Qe,t.description.errorText))}}function fT(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",83),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function vT(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.currency.value," ")}}function bT(n,r){if(1&n&&(e.qex(0),e.DNE(1,vT,2,1,"ng-container",5),e.eu8(2,82),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(15);e.R7$(),e.Y8G("ngIf",!t.currency.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Qe,t.currency.errorText))}}function CT(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",83),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function TT(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.marketcapitalization.value)," ")}}function xT(n,r){if(1&n&&(e.qex(0),e.DNE(1,TT,3,3,"ng-container",5),e.eu8(2,82),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(15);e.R7$(),e.Y8G("ngIf",!t.marketcapitalization.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Qe,t.marketcapitalization.errorText))}}function kT(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",83),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function yT(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.lastprice.value)," ")}}function wT(n,r){if(1&n&&(e.qex(0),e.DNE(1,yT,3,3,"ng-container",5),e.eu8(2,82),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(15);e.R7$(),e.Y8G("ngIf",!t.lastprice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Qe,t.lastprice.errorText))}}function IT(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",83),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function MT(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",86),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(2);return e.Njj(a.clickOnCell(o))}),e.k0s()}}function OT(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.netchange.value)," ")}}function RT(n,r){if(1&n&&(e.qex(0),e.DNE(1,OT,3,3,"ng-container",5),e.eu8(2,82),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(15);e.R7$(),e.Y8G("ngIf",!t.netchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Qe,t.netchange.errorText))}}function FT(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",83),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function PT(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",86),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(2);return e.Njj(a.clickOnCell(o))}),e.k0s()}}function GT(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.i5U(2,1,t.percentualchange.value,"%")," ")}}function ST(n,r){if(1&n&&(e.qex(0),e.DNE(1,GT,3,4,"ng-container",5),e.eu8(2,82),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(15);e.R7$(),e.Y8G("ngIf",!t.percentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Qe,t.percentualchange.errorText))}}function $T(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",83),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function ET(n,r){1&n&&(e.j41(0,"span",92),e.nrm(1,"img",93),e.k0s())}function DT(n,r){if(1&n&&(e.j41(0,"a",89),e.nI1(1,"rnsNewsUrl"),e.DNE(2,ET,2,0,"span",90),e.nI1(3,"isToday"),e.nrm(4,"img",91),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.Y8G("href",e.bMT(1,2,t.issuername.value),e.B4B),e.R7$(2),e.Y8G("ngIf",e.bMT(3,4,t.datenews.value))}}function jT(n,r){if(1&n&&(e.j41(0,"span",83),e.EFF(1),e.k0s()),2&n){const t=e.XpG(5);e.R7$(),e.JRh(t.defaultFieldValue)}}function NT(n,r){if(1&n&&(e.qex(0),e.DNE(1,DT,5,6,"a",87)(2,jT,2,1,"span",88),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.idnews.value),e.R7$(),e.Y8G("ngIf",!t.idnews.value)}}function YT(n,r){if(1&n&&(e.qex(0),e.DNE(1,NT,3,2,"ng-container",5),e.eu8(2,82),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(15);e.R7$(),e.Y8G("ngIf",!t.idnews.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Qe,t.idnews.errorText))}}function XT(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",86),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(2);return e.Njj(a.clickOnCell(o))}),e.k0s()}}function BT(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",94),e.EFF(2),e.nI1(3,"etfs"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.JRh(e.bMT(3,1,t.category.value))}}function VT(n,r){if(1&n&&(e.qex(0),e.DNE(1,BT,4,3,"ng-container",5),e.eu8(2,82),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(15);e.R7$(),e.Y8G("ngIf",!t.category.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Qe,t.category.errorText))}}function LT(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",83),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function AT(n,r){if(1&n){const t=e.RV6();e.j41(0,"tr",69)(1,"td",70),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.clickOnCell(o))}),e.DNE(2,pT,3,8,"ng-container",5),e.nI1(3,"async"),e.DNE(4,_T,3,5,"ng-container",5),e.nI1(5,"async"),e.DNE(6,dT,3,1,"ng-container",5),e.nI1(7,"async"),e.k0s(),e.j41(8,"td",71),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.clickOnCell(o))}),e.DNE(9,uT,3,8,"ng-container",5),e.nI1(10,"async"),e.DNE(11,hT,3,5,"ng-container",5),e.nI1(12,"async"),e.DNE(13,fT,3,1,"ng-container",5),e.nI1(14,"async"),e.k0s(),e.j41(15,"td",72),e.DNE(16,bT,3,5,"ng-container",5)(17,CT,3,1,"ng-container",5),e.k0s(),e.j41(18,"td",73),e.DNE(19,xT,3,5,"ng-container",5)(20,kT,3,1,"ng-container",5),e.k0s(),e.j41(21,"td",74),e.DNE(22,wT,3,5,"ng-container",5)(23,IT,3,1,"ng-container",5)(24,MT,1,0,"span",75),e.nI1(25,"async"),e.k0s(),e.j41(26,"td",76),e.DNE(27,RT,3,5,"ng-container",5)(28,FT,3,1,"ng-container",5)(29,PT,1,0,"span",75),e.nI1(30,"async"),e.k0s(),e.j41(31,"td",77),e.DNE(32,ST,3,5,"ng-container",5)(33,$T,3,1,"ng-container",5),e.k0s(),e.j41(34,"td",78),e.DNE(35,YT,3,5,"ng-container",5)(36,XT,1,0,"span",75),e.nI1(37,"async"),e.k0s(),e.j41(38,"td",79),e.DNE(39,VT,3,5,"ng-container",5)(40,LT,3,1,"ng-container",5),e.k0s(),e.j41(41,"td",68),e.nrm(42,"app-track",80),e.k0s()()}if(2&n){const t=r.$implicit,i=e.XpG(2);e.R7$(2),e.Y8G("ngIf",!e.bMT(3,26,i.getOnMobile())),e.R7$(2),e.Y8G("ngIf",t.tidm.visibility&&e.bMT(5,28,i.getOnMobile())),e.R7$(2),e.Y8G("ngIf",!t.tidm.visibility&&e.bMT(7,30,i.getOnMobile())),e.R7$(3),e.Y8G("ngIf",!e.bMT(10,32,i.getOnMobile())),e.R7$(2),e.Y8G("ngIf",t.description.visibility&&e.bMT(12,34,i.getOnMobile())),e.R7$(2),e.Y8G("ngIf",!t.description.visibility&&e.bMT(14,36,i.getOnMobile())),e.R7$(3),e.Y8G("ngIf",t.currency.visibility),e.R7$(),e.Y8G("ngIf",!t.currency.visibility),e.R7$(2),e.Y8G("ngIf",t.marketcapitalization.visibility),e.R7$(),e.Y8G("ngIf",!t.marketcapitalization.visibility),e.R7$(2),e.Y8G("ngIf",t.lastprice.visibility),e.R7$(),e.Y8G("ngIf",!t.lastprice.visibility),e.R7$(),e.Y8G("ngIf",e.bMT(25,38,i.getOnMobile())),e.R7$(2),e.Y8G("ngClass",i.netchangeCssClass(t.netchange)),e.R7$(),e.Y8G("ngIf",t.netchange.visibility),e.R7$(),e.Y8G("ngIf",!t.netchange.visibility),e.R7$(),e.Y8G("ngIf",e.bMT(30,40,i.getOnMobile())),e.R7$(2),e.Y8G("ngClass",t.netchangesign.visibility&&t.percentualchange.visibil
1ity&&!t.netchangesign.errorText&&!t.percentualchange.errorText?i.instrumentCssClass(t.netchangesign):""),e.R7$(),e.Y8G("ngIf",t.percentualchange.visibility),e.R7$(),e.Y8G("ngIf",!t.percentualchange.visibility),e.R7$(2),e.Y8G("ngIf",t.idnews.visibility),e.R7$(),e.Y8G("ngIf",e.bMT(37,42,i.getOnMobile())),e.R7$(2),e.Y8G("ngClass",!t.category.errorText&&t.category.visibility?i.instrumentCssClass(t.category):""),e.R7$(),e.Y8G("ngIf",t.category.visibility),e.R7$(),e.Y8G("ngIf",!t.category.visibility),e.R7$(2),e.Y8G("tidm",t.tidm.value)}}function qT(n,r){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"app-paginator",95),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.onSubmit(o))}),e.k0s()()}if(2&n){const t=e.XpG(2);e.AVh("disabled",1==t.status.refreshing),e.R7$(),e.Y8G("totalPages",null==t.content.pagination?null:t.content.pagination.totalPages)("currentPage",null==t.content.pagination?null:t.content.pagination.page)}}function UT(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",96),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.scrollTop())}),e.k0s()}}function zT(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",97),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.scrollTop())}),e.k0s()}}function HT(n,r){if(1&n&&(e.qex(0),e.DNE(1,eT,4,2,"div",47),e.j41(2,"table",48)(3,"thead"),e.DNE(4,cT,21,51,"tr",49),e.nI1(5,"slice"),e.k0s(),e.j41(6,"tbody"),e.DNE(7,AT,43,44,"tr",50),e.k0s()(),e.DNE(8,qT,2,4,"div",51),e.j41(9,"div",52),e.EFF(10," As at "),e.j41(11,"span",34),e.EFF(12),e.nI1(13,"customdate"),e.nI1(14,"customdate"),e.k0s(),e.EFF(15),e.k0s(),e.DNE(16,UT,1,0,"div",53),e.nI1(17,"async"),e.DNE(18,zT,1,0,"div",54),e.nI1(19,"async"),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf","noFilter"!==t.meta.viewMode),e.R7$(3),e.Y8G("ngForOf",e.brH(5,9,t.content.priceExplorerResults,0,1)),e.R7$(3),e.Y8G("ngForOf",t.content.priceExplorerResults),e.R7$(),e.Y8G("ngIf",t.content.priceExplorerResults&&"noFilter"!==t.meta.viewMode),e.R7$(4),e.Lme("",e.i5U(13,13,t.status.refreshedTime,"short")," ",e.ii3(14,16,t.status.refreshedTime,"time","Europe/London",!0),""),e.R7$(3),e.SpI(" - ",t.content.lastUpdate.value," "),e.R7$(),e.Y8G("ngIf",t.content.priceExplorerResults&&(null==t.content.priceExplorerResults?null:t.content.priceExplorerResults.length)>0&&e.bMT(17,21,t.summaryFilters$).length>0),e.R7$(2),e.Y8G("ngIf",t.content.priceExplorerResults&&(null==t.content.priceExplorerResults?null:t.content.priceExplorerResults.length)>0&&e.bMT(19,23,t.summaryFilters$).length>0)}}function WT(n,r){if(1&n&&e.nrm(0,"app-hide-field",99),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function JT(n,r){1&n&&e.DNE(0,WT,1,1,"app-hide-field",98),2&n&&e.Y8G("ngIf",r.errorText)}let oo=(()=>{class n extends O.R{constructor(t,i,o,a,s,c,d,C,T,I,N){super(),this.filtersService=t,this.store=i,this.cssmapping=o,this.refreshService=a,this.platformId=s,this.isBreakpoint=c,this.elementRef=d,this.accordionHandler=C,this.scrollToService=T,this.pageTitleService=I,this.urlHandlerService=N,this.meta={viewMode:"default"},this.firstLevelFilters=null,this.dropdownSortOptions=null,this.defaultItemsPerPage=20,this.activeInstrument=null,this.selectedDropDown="",this.defaultFieldValue=w.M.DEFAULT_VALUE,this.filteredBy$=(0,q.of)([]),this.summaryFilters$=(0,q.of)([]),this.hideApply=!1,this.ngUnsubscribe=new re.B,this.filteredByLabelsMap=new Map,this.defaultSorting="description,asc",this.defaultActiveCode="name",this.noFilterActiveCode="code",this.paramsWeightMap=new Map([["q",0],["Market",1],["Instrument type",2],["beforedate",3],["afterdate",3],["betweendate",3],["Sector",4]]),this.isAlphabetTilesOpen=!1,this.alphabetTiles=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","0-9"],this.filtersService.store=this.store,this.filtersService.urlService=this.urlHandlerService,this.filtersService.scrollToService=this.scrollToService,this.filtersService.scrollElementId="price-explorer-results-wrapper",this.filtersService.scrollElementRef=this.elementRef}ngOnInit(){this.dropdownSortOptions=this.getDropdownSortOptions(),this.firstLevelFilters=this.getFirstLevelFilters(),this.filtersService.firstLevelFilters=this.firstLevelFilters,this.filteredBy$=this.filtersService.getFilters(!0).pipe((0,ie.Q)(this.ngUnsubscribe)),this.summaryFilters$=this.filtersService.getFilters(!0).pipe((0,f.s)(1)),this.setFilteredByLabelMap(),this.filterSummary(),this.setPageTitle(),this.status={...this.status,params:this.filtersService.getHttpFilters()},this.isBreakpoint.setOnTabletLandScape(),this.setSort(),this.updateActiveInitial(!0),this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content,this.status)}ngAfterViewInit(){this.filtersService.scrollToResults(!1,this.status)}ngOnChanges(t){(0,l.UE)(this.platformId)&&t.content?.currentValue!==t.content?.previousValue&&(this.filterSummary(),this.setPageTitle(),(0,$e.A)(t)||(this.content.priceExplorerResults=[]),this.updateActiveInitial(),this.filtersService.scrollToResults(!0,this.status))}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this.refreshService.unsetRefreshComponent(this.id
1),this.clearAll()}submit(t){var i=this;return(0,_.A)(function*(o,a=!1){i.filtersService.scrollToResults(!0,i.status,!0),o||i.filtersService.clearPageFilter(),i.setSort();let s=i.filtersService.getHttpFilters();o&&o.keys().forEach(c=>s=s.set(c,o.get(c))),yield i.filtersService.addFiltersToUrl(o,a),i.summaryFilters$=i.filtersService.getFilters(!0).pipe((0,f.s)(1)),i.status={...i.status,params:s},i.refreshService.refreshComponent(i.id,i.position,i.type,i.content,i.status)}).apply(this,arguments)}clearAll(){var t=this;return(0,_.A)(function*(i=!0){t.selectedSort="description,asc",t.filtersService.clearFilters(),i&&t.scrollTop(),yield t.submit()}).apply(this,arguments)}applyFilters(){var t=this;return(0,_.A)(function*(){yield t.submit()})()}scrollTop(){this.scrollToService.scrollToTheElementById("price-explorer",this.elementRef)}getFirstLevelFilters(){return{name:null,label:this.content.filterByLabel.value,filters:[{key:"Company",value:this.content.companyFilterLabel.value,subFilters:{name:"company",label:this.content.selectFilterLabel.value,filters:null}},{key:"Market",value:this.content.marketFilterLabel.value,subFilters:{name:this.content.filtersMarket.name,label:this.content.selectFilterLabel.value,filters:this.content.filtersMarket.filters}},{key:"Instrument type",value:this.content.instrumentTypeFilterLabel.value,subFilters:{name:this.content.filtersInstrumentType.name,label:this.content.selectFilterLabel.value,filters:this.content.filtersInstrumentType.filters}},{key:"Admission date",value:this.content.admissionDateFilterLabel.value,subFilters:{name:"date",label:this.content.selectFilterLabel.value,filters:null}},{key:"Index",value:this.content.indexFilterLabel.value,subFilters:{name:this.content.filterIndices.name,label:this.content.selectFilterLabel.value,filters:this.content.filterIndices.filters}},{key:"Sector",value:this.content.sectorFilterlabel.value,subFilters:{name:this.content.filtersIndustrySector.name,label:this.content.selectFilterLabel.value,filters:this.content.filtersIndustrySector.filters}}],subFilters:null}}getDropdownSortOptions(){return{code:[{value:"tidm,asc",label:this.content.orderByCodeAsc.value},{value:"tidm,desc",label:this.content.orderByCodeDesc.value}],name:[{value:"description,asc",label:this.content.orderByNameAsc.value},{value:"description,desc",label:this.content.orderByNameDesc.value}],currency:[{value:"currency,asc",label:this.content.orderByCurrencyAsc.value},{value:"currency,desc",label:this.content.orderByCurrencyDesc.value}],marketcap:[{value:"marketCapitalization,desc",label:this.content.orderByMarketCapDesc.value},{value:"marketCapitalization,asc",label:this.content.orderByMarketCapAsc.value}],price:[{value:"lastPrice,desc",label:this.content.orderByPriceDesc.value},{value:"lastPrice,asc",label:this.content.orderByPriceAsc.value}],netchange:[{value:"netchange,desc",label:this.content.orderByChangeDesc.value},{value:"netchange,asc",label:this.content.orderByChangeAsc.value}],percentualchange:[{value:"percentualChange,desc",label:this.content.orderByChangeDesc.value},{value:"percentualChange,asc",label:this.content.orderByChangeAsc.value}],category:[{value:"category,asc",label:this.content.orderByTypeAsc.value},{value:"category,desc",label:this.content.orderByTypeDesc.value}]}}sortBy(t,i){var o=this;return(0,_.A)(function*(){o.setSort(t,i),yield o.onSubmit()})()}onSubmit(){var t=this;return(0,_.A)(function*(i=0){let o=(t.status.params||new F.Nl).set("page",`${i}`).set("size",`${t.defaultItemsPerPage}`);t.selectedSort&&(o=o.set("sort",t.selectedSort)),t.selectedSort===t.defaultSorting&&(o=o.delete("sort",t.selectedSort)),t.status={...t.status,currentPage:i,params:o},t.refreshService.refreshComponent(t.id,t.position,t.type,t.content,t.status)}).apply(this,arguments)}toggleOption(t=""){this.selectedDropDown=this.selectedDropDown===t?"":t}clickOnCell(t){this.isBreakpoint.tabletLandscape()&&(this.activeInstrument=t)}onResize(){this.isBreakpoint.setOnTabletLandScape()}getOnMobile(){return this.isBreakpoint.getOnTabletLandScape()}onClosedModal(){this.activeInstrument=null}imageToShow(t){return!(!t||!t.logo)&&t.logo}instrumentCssClass(t){return this.cssmapping.cssClass(t)}
1exploreFiltersLink(){return k.T.getLink("price-explorer",(new F.Nl).set("categories","OTHERS"))}setNonLseFilter(){var t=this;return(0,_.A)(function*(){t.isOnlyLseFilterSet()?t.filtersService.deleteFilter("showonlylse","true"):t.filtersService.setFilter("showonlylse",{key:"true",value:"false"}),yield t.submit()})()}setNonLseFilterKey(t){var i=this;return(0,_.A)(function*(){"Enter"===t.key&&i.setNonLseFilter()})()}isOnlyLseFilterSet(){return this.filtersService.getHttpFilters().has("showonlylse")}toggleAccordion(t){this.accordionHandler.toggleAccordion(t,this.elementRef)}setFilteredByLabelMap(){this.filteredByLabelsMap.set("issuers",this.content.companyFilterLabel.value),this.filteredByLabelsMap.set("codes",this.content.companyFilterLabel.value),this.filteredByLabelsMap.set("q",this.content.companyFilterLabel.value),this.filteredByLabelsMap.set("afterdate",this.content.admissionDateFilterLabel.value),this.filteredByLabelsMap.set("beforedate",this.content.admissionDateFilterLabel.value),this.filteredByLabelsMap.set("betweendate",this.content.admissionDateFilterLabel.value),this.filteredByLabelsMap.set("Market",this.content.marketFilterLabel.value),this.filteredByLabelsMap.set("Instrument type",this.content.instrumentTypeFilterLabel.value),this.filteredByLabelsMap.set("Sector",this.content.sectorFilterlabel.value),this.filteredByLabelsMap.set("initial","Instrument name"),this.filteredByLabelsMap.set("Index",this.content.indexFilterLabel.value)}getFilteredByLabelByName(t){return this.filteredByLabelsMap.get(t)||"-"}filterSummary(){this.summaryFilters$&&this.summaryFilters$.forEach(t=>{t.filter(i=>"issuers"===i.name).map(i=>{i.value[0]=this.content.issuerReferenceDataName.value||i.value[0]})})}checkApplyVisibility(t){this.hideApply="Company"===t}isSortDesc(t,i){return this.selectedSort===i[1].value&&this.activeCode===t}setSort(t,i){this.selectedSort=t||this.defaultSorting,this.activeCode=i||("noFilter"===this.meta.viewMode?this.noFilterActiveCode:this.defaultActiveCode)}setPageTitle(){!this.filteredBy$||"noFilter"===this.meta.viewMode||this.summaryFilters$.pipe((0,f.s)(1)).subscribe(t=>{this.pageTitleService.dispatchPageTitlePrefix([t.reduce((i,o)=>(i.push(`${o.value.join(", ")} ${this.getFilteredByLabelByName(o.name)}`),i),[]).join(" - ")])})}updateAlphabetTilesOpen(){this.isAlphabetTilesOpen=!this.isAlphabetTilesOpen}getAlphabetInitial(t,i){var o=this;return(0,_.A)(function*(){if(i&&i.preventDefault(),t)if(o.activeInitial===t)yield o.clearAll(!1);else{const a={key:t,value:t};yield o.clearAll(!1),o.filtersService.setFilter("initial",a,0,"initial"),yield o.submit()}})()}updateActiveInitial(){var t=this;return(0,_.A)(function*(i=!1){const o=t.filtersService.getHttpFilters();t.filteredBy$.pipe((0,f.s)(1)).subscribe(a=>{t.activeInitial=a.filter(s=>"initial"===s.name).length?o.get("initial"):null,t.activeInitial&&i&&(t.isAlphabetTilesOpen=!0)})}).apply(this,arguments)}getInitialLink(t){const i=(new F.Nl).set("initial",t);return k.T.getLink("price-explorer",i)}getFormattedFilterValue(t,i){return"initial"!==t||"0-9"===i?i:`letter ${i}`}netchangeCssClass(t){if(!t||!t.visibility||t.errorText||!Number(t.value))return;const i=Number(t.value)>0?"+1":"-1";return this.cssmapping.getClass(i)}updateAlphabetTilesOpenKey(t){"Enter"===t.key&&this.updateAlphabetTilesOpen()}clearAllEvent(t){"Enter"===t.key&&this.clearAll()}applyFiltersEvent(t){"Enter"===t.key&&this.applyFilters()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Ve.B),e.rXU(u.il),e.rXU(b.o),e.rXU(j.W),e.rXU(e.Agw),e.rXU(S.f),e.rXU(e.aKT),e.rXU(Je.h),e.rXU(le.W),e.rXU(pe.P),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-price-explorer"]],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)},inputs:{meta:"meta"},features:[e.Vt3,e.OA$],decls:16,vars:13,consts:[["SortOptionDropDown",""],["emptyvalue",""],["id","price-explorer","appBackBrowserClick","",1,"price-explorer-component","component","wrapper","x-large-width","x-large-width-padding","component-refresh","gtm-track-component",3,"refreshComponent","scrollTop","ngClass"],[1,"price-explorer-header","flex-wrapper","spaced-flex-container"],["class","bold-font-weight flex-wrapper flex-align-en
1d",4,"ngIf"],[4,"ngIf"],["class","filters","id","price-explorer-filters-wrapper",4,"ngIf"],["class","buttons-container",3,"disabled",4,"ngIf"],["class","filtered-by",4,"ngIf"],["class","large-font-size",4,"ngIf"],[3,"closedModal","instrument","origin"],[1,"bold-font-weight","flex-wrapper","flex-align-end"],[1,"base-font-size"],[3,"whatsThisLink","whatsThisText"],[1,"explorer-link","h-link","base-font-size","regular-font-weight",3,"href"],["id","price-explorer-filters-wrapper",1,"filters"],[3,"doSubmitFilters","checkApply","filters","filtersLabel","clearFiltersLabel","addFilterLabel","firstLevelFilter","filtersService","showMore","advancedBondSearch","explorerType","placeholderLabel","paramsWeightMap"],[1,"filters-container","index-filter","alphabet"],["type","checkbox","id","alphabet-tiles-check",3,"click","checked"],["tabindex","0","for","alphabet-tiles-check",1,"bold-font-weight","regular-font-size","gtm-trackable",3,"keyup"],[1,"alphabet-filters"],[4,"ngFor","ngForOf"],[1,"active","bold-font-weight","clickable","black-link","gtm-trackable",3,"click","href"],[1,"buttons-container"],["tabindex","0","class","gold-button outline bold-font-weight gtm-trackable clear-button",3,"click","keyup",4,"ngIf"],["tabindex","0","class","gold-button bold-font-weight gtm-trackable apply-button",3,"click","keyup",4,"ngIf"],["tabindex","0",1,"gold-button","outline","bold-font-weight","gtm-trackable","clear-button",3,"click","keyup"],["tabindex","0",1,"gold-button","bold-font-weight","gtm-trackable","apply-button",3,"click","keyup"],[1,"filtered-by"],["tabindex","0",1,"reverse-checkbox",3,"keyup"],["type","checkbox","id","only-lse-checkbox",1,"gtm-checkbox",3,"click","checked"],["for","only-lse-checkbox",1,"regular-font-size","bold-font-weight","total-results"],["id","filtered-by-accordion",1,"row-group","accordion-container"],[1,"accordion-header","gtm-trackable",3,"click"],[1,"bold-font-weight"],[1,"accordion-toggler"],[1,"accordion-content"],[1,"filters-list"],["class","filter-filtered",4,"ngFor","ngForOf"],[1,"filter-filtered"],[1,"large-font-size"],["class","indented clickable",3,"ngClass","click",4,"ngIf"],[1,"dropmenu","dropdown",3,"click","ngClass"],[1,"indented","clickable",3,"click","ngClass"],["class","sort-option",3,"ngClass",4,"ngFor","ngForOf"],[1,"sort-option",3,"ngClass"],[3,"click","title"],["class","results-header",4,"ngIf"],["id","price-explorer-results-wrapper",1,"full-width","price-explorer-results"],["class","table-header",3,"disabled",4,"ngFor","ngForOf"],["class","medium-font-weight slide-panel",4,"ngFor","ngForOf"],[3,"disabled",4,"ngIf"],[1,"price-explorer-legal-text","small-font-size","wrapper","x-large-width","x-large-width-padding"],["class","back-to-top hide-on-mobile",3,"click",4,"ngIf"],["class","back-to-top show-on-mobile",3,"click",4,"ngIf"],[1,"results-header"],[1,"total-results","bold-font-weight"],[1,"table-header"],[1,"code",3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"name",3,"ngClass"],[1,"hide-on-landscape","currency",3,"ngClass"],[1,"marketcap","hide-on-landscape",3,"ngClass"],[1,"price",3,"ngClass"],[1,"netchange","hide-on-landscape",3,"ngClass"],[1,"percentualchange","hide-on-landscape",3,"ngClass"],[1,"news","hide-on-landscape"],[1,"hide-on-landscape","category",3,"ngClass"],[1,"hide-on-landscape"],[1,"medium-font-weight","slide-panel"],[1,"clickable","bold-font-weight","instrument-tidm","code","gtm-trackable","td-with-link",3,"click"],[1,"clickable","instrument-name","gtm-trackable","td-with-link",3,"click"],[1,"instrument-currency","hide-on-landscape"],[1,"instrument-marketcapitalization","hide-on-landscape"],[1,"instrument-lastprice"],["class","clickable gtm-trackable show-on-landscape selected-indicator",3,"click",4,"ngIf"],[1,"instrument-netchange","hide-on-landscape",3,"ngClass"],[1,"instrument-percentualchange","hide-on-landscape","gtm-trackable",3,"ngClass"],[1,"instrument-news","hide-on-landscape"],[1,"instrument-category","hide-on-landscape","gtm-trackable","instrument-type","clickable",3,"ngClass"],[3,"tidm"],[3,"link","linkClasses","dashClasses","value","errorText","visibility"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"dash-wrapper"],["class","ellipsed",4,"ngIf"],[1,"ellipsed"],[1,"clickable","gtm-trackable","show-on-landscape","selected-indicator",3,"click"],["class","rns-news",3,"href",4,"ngIf"],["class","dash-wrapper",4,"ngIf"],[1,"rns-news",3,"href"],["class","today-icon",4,"ngIf"],["src","assets/svg/rns.svg"],[1,"today-icon"],["src","assets/svg/clock_icon_black.svg"],[1,"instrument-label"],[3,"goToPage","totalPages","currentPage"],[1,"back-to-top","hide-on-mobile",3,"click"],[1,"back-to-top","show-on-mobile",3,"click"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"section",2),e.bIt("refreshComponent",function(c){return e.eBV(a),e.Njj(o.submit(c,!0))})("scrollTop",function(){return e.eBV(a),e.Njj(o.scrollTop())}),e.j41(1,"div",3),e.DNE(2,DC,5,3,"h3",4)(3,jC,3,1,"ng-container",5)(4,NC,2,1,"p",5),e.k0s(),e.DNE(5,XC,8,14,"div",6)(6,LC,4,6,"div",7)(7,UC,15,8,"div",8),e.nI1(8,"async"),e.DNE(9,zC,2,1,"div",9)(10,ZC,2,2,"ng-template",null,0,e.C5r)(12,HT,20,25,"ng-container",5),e.j41(13,"app-popup-table",10),e.bIt("closedModal",function(){return e.eBV(a),e.Njj(o.onClosedModal())}),e.k0s(),e.DNE(14,JT,1,1,"ng-template",null,1,e.C5r),e.k0s()}2&i&&(e.Y8G("ngClass",o.activeInstrument?"modal-open":""),e.R7$(2),e.Y8G("ngIf","noFilter"!==o.meta.viewMode),e.R7$(),e.Y8G("ngIf","noFilter"===o.meta.viewMode),e.R7$(),e.Y8G("ngIf","noFilter"!==o.meta.viewMode),e.R7$(),e.Y8G("ngIf","noFilter"!==o.meta.viewMode),e.R7$(),e.Y8G("ngIf","noFilter"!==o.meta.viewMode),e.R7$(),e.Y8G("ngIf",e.bMT(8,11,o.summaryFilters$).length&&"noFilter"!==o.meta.viewMode),e.R7$(2),e.Y8G("ngIf",0===o.content.priceExplorerResults.length),e.R7$(3),e.Y8G("ngIf",o.content.priceExplorerResults&&o.content.priceExplorerResults.length),e.R7$(),e.Y8G("instrument",o.activeInstrument)("origin","priceExplorer"))},dependencies:[l.YU,l.Sq,l.bT,l.T3,H.J,y.W,De.T,ue,ae,wn,Fn,xe,l.Jj,l.P9,ee.p,U.W,ve.b,Gi,Si,Te.Z],styles:['.price-explorer-component[_ng
1content-%COMP%]{margin-bottom:.5rem}.price-explorer-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:1.5em;width:100%}.price-explorer-results[_ngcontent-%COMP%], .price-explorer-legal-text[_ngcontent-%COMP%]{margin-bottom:2.5rem}.results-header[_ngcontent-%COMP%]{clear:both;margin-bottom:1rem}figure[_ngcontent-%COMP%]{border:.0625rem solid #fafafa;display:flex;height:3.25rem;line-height:3.25rem;margin:0;padding:.25rem;vertical-align:middle;width:5.5rem}.clickable[_ngcontent-%COMP%]:hover{text-decoration:none}table[_ngcontent-%COMP%]{table-layout:fixed}th[_ngcontent-%COMP%]{width:7.2rem}th.currency[_ngcontent-%COMP%]{width:6.5rem}th.marketcap[_ngcontent-%COMP%], th.price[_ngcontent-%COMP%], th.percentualchange[_ngcontent-%COMP%]{width:8.2rem}th.category[_ngcontent-%COMP%], th.code[_ngcontent-%COMP%], td.code[_ngcontent-%COMP%]{width:6rem}@media (max-width: 1023px){th.code[_ngcontent-%COMP%], td.code[_ngcontent-%COMP%]{padding-left:.85rem!important}}th.name[_ngcontent-%COMP%]{width:auto}td.name[_ngcontent-%COMP%]{padding-right:1rem}.selected-indicator[_ngcontent-%COMP%]{float:right}.instrument-tidm[_ngcontent-%COMP%]{color:#001eff}@media (max-width: 768px){.news-carousel-checkbox[_ngcontent-%COMP%] app-whats-this[_ngcontent-%COMP%]{display:block;margin-bottom:1.5rem}}.explorer-link[_ngcontent-%COMP%]{margin:0 0 1rem auto}.buttons-container[_ngcontent-%COMP%]{text-align:right}.apply-button[_ngcontent-%COMP%]{margin-left:1rem}.filtered-by[_ngcontent-%COMP%]{margin-bottom:1.5rem}.filtered-by[_ngcontent-%COMP%] .accordion-content[_ngcontent-%COMP%]{background:#fafafa;color:#000;padding:1.5rem}.td-with-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;height:100%;padding:.85rem .85rem .85rem 0;width:100%}.back-to-top.hide-on-mobile[_ngcontent-%COMP%]{bottom:1rem}.disabled[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}.alphabet-filters[_ngcontent-%COMP%]{display:none}.alphabet[_ngcontent-%COMP%]{padding-bottom:.5rem;text-align:center}.alphabet[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}.alphabet[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin:auto;position:relative}.alphabet[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:before{content:none;display:none}.alphabet[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{background:url(assets/static/calendar_months_right_indicator.svg) center center no-repeat;background-size:.75rem .75rem;content:"";display:block;height:.75rem;position:absolute;right:-.75rem;top:.8rem;transform:rotate(90deg);transition:all .15s ease-in-out 0s;width:.75rem}.alphabet[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{color:#000}.alphabet[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{transform:rotate(-90deg)}.alphabet[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked ~ .alphabet-filters[_ngcontent-%COMP%]{display:block}']})}}return n})();function KT(n,r){if(1&n){const t=e.RV6();e.j41(0,"li",12),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.selectChart(o.value,a.content))}),e.EFF(1),e.k0s()}if(2&n){const t=r.$implicit,i=e.XpG(3);e.AVh("active",t.value===i.activeChart),e.R7$(),e.SpI(" ",t.label," ")}}function QT(n,r){if(1&n&&(e.j41(0,"ul",10),e.DNE(1,KT,2,3,"li",11),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.tabsObj)}}function ZT(n,r){if(1&n){const t=e.RV6();e.j41(0,"ng-select",13),e.mxI("ngModelChange",function(o){e.eBV(t);const a=e.XpG(2);return e.DH7(a.selectedChart,o)||(a.selectedChart=o),e.Njj(o)}),e.bIt("change",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.selectChart(o,a.content))}),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("searchable",!1)("clearable",!1)("items",t.tabsObj),e.R50("ngModel",t.selectedChart)}}function ex(n,r){if(1&n&&(e.j41(0,"div",2)(1,"div",14),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(null==t.content.legalMessage?null:t.content.legalMessage.value)}}function tx(n,r){if(1&n&&(e.j41(0,"section",1)(1,"div",2),e.nrm(2,"app-whats-this",3),e.DNE(3,QT,2,1,"ul",4)(4,ZT,1,4,"ng-select",5),e.k0s(),e.j41(5,"div",6)(6,"div",7),e.nrm(7,"div",8),e.k0s()(),e.DNE(8,ex,3,1,"div",9),e.k0s()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("whatsThisLink",t.content.whatsThisLink)("whatsThisText",t.content.whatsThisText),e.R7$(),e.Y8G("ngIf",t.largest),e.R7$(),e.Y8G("ngIf",!t.largest),e.R7$(4),e.Y8G("ngIf",null==t.content.legalMessage?null:t.content.legalMessage.value)}}let ro=(()=>{class n extends O.R{constructor(t,i,o,a){super(),this.platformId=t,this.isBreakpoint=i,this.document=o,this.renderer=a,this._tabsObj=[]}get tabsObj(){return this._tabsObj}get selectedChart(){return this._selectedChart}set selectedChart(t){this._selectedChart=t}get largest(){return this._largest}get activeChart(){return this._activeChart}_createTabsArray(t){return t?[{value:"trades-monthly",label:t.tradesMonthlyLabel.value,visibility:t.tradesMonthly.visibility},{value:"trades-daily",label:t.tradesDailyLabel.value,visibility:t.tradesDaily.visibility},{value:"value-monthly",label:t.valueMonthlyLabel.value,visibility:t.valueMonthly.visibility},{value:"value-daily",label:t.valueDailyLabel.value,visibility:t.valueDaily.visibility},{value:"volume-monthly",label:t.volumeMonthlyLabel.value,visibility:t.volumeMonthly.visibility},{value:"volume-daily",label:t.volumeDailyLabel.value,visibility:t.volumeDaily.visibility}].filter(o=>o.visibility):void 0}_createChartConfig(t){return{type:"bar",gui:{contextMenu:{empty:!0}},plot:{"border-color":"transparent","hover-state":{"background-color":"#5E9DCE"},tooltip:{"background-color":"#FFF",color:"#454d56",padding:""+.75*t.fontSize,"border-color":"#009cde","border-width":t.fontSize/8,text:`<div style="font-size:0.85rem;text-align:center;">%k</div><div style="font-size:0.85rem;text-align:center;">${t.label}</div><div style="font-size:0.85rem;text-align:center;font-weight:bold;">%v</div>`,"html-mode":!0,placement:"node:top","offset-y":`-${t.fontSize}`}},plotarea:{margin:"dynamic","adjust-layout":!0},"scale-y":{"line-color":"none","font-color":"#454D56","font-size":`${t.fontSize}px`,"font-weight":300,tick:{"line-color":"none"},short:!0,"thousands-separator":",",item:{"font-size":t.fontSize,rules:[{rule:"%i == 0",visible:!1}]}},"scale-x":{"auto-fit":!0,values:t.dates,item:{visible:!0,"font-size":t.fontSize},"font-size":.875*t.fontSize+"px","font-color":"#454D56","font-weight":300,progression:"lin","max-items":31,visible:!0,tick:{visible:!1},"minor-ticks":1,"minor-tick":{"line-color":"#454D56",placement:"outer",size:t.fontSize/4},"minor-guide":{visible:!1}},series:[{values:t.values,"thousands-separator":",","background-color":"#009cde",tick:{lineWidth:1,size:t.fontSize/2},short:!0,decimals:2}]}}loadScript(){(0,l.UE)(this.platformId)&&(this._script=this.document.createElement("script"),this._script.src="//cdn.zingchart.com/zingchart.min.js",this.tabsObj.length&&(this._script.onload=()=>this.selectChart(this._tabsObj[0].value,this.content)),this.renderer.appendChild(this.document.body,this._script))}ngOnInit(){this._tabsObj=this._createTabsArray(this.content),this._selectedChart=this.tabsObj.length?this._tabsObj[0]:null,this._largest=this.isBreakpoint.largest(),this._activeChart=this._selectedChart?this._selectedChart.value:null,this.loadScript()}ngOnDestroy(){!(0,l.UE)(this.platformId)||!zingchart||!this._script||(zingchart.exec("chart","destroy"),this.renderer.removeChild(this.document.body,this._script))}onResize(){this._largest=this.isBreakpoint.largest(),this.selectedChart&&this.selectChart(this._selectedChart.value,this.content)}ontouchmove(t){t.target.getAttribute("id")&&t.target.getAttribute("id").indexOf("chart-graph-id0-plotset-plot-0-node")>-1&&(zingchart.exec("chart","clearselection"),this.updateChartSeriesData("chart","chart
1-graph-id0",0,-1))}selectChart(t,i){if(!t||!i||!(0,l.UE)(this.platformId))return;const o="string"==typeof t?t:t.value;this._activeChart=o;const a=o.split("-"),s=a[1][0].toUpperCase()+a[1].substr(1),I={id:"chart",data:this._createChartConfig({dates:i[`receivedDate${s}`].value,label:i[`${a[0]}${s}Label`].value,values:i[`${a[0]}${s}`].value,fontSize:12}),height:"100%",width:"100%"};this.renderChart(I)}renderChart(t){window.ZC.LICENSE=[`${M.c.zingChartLicense}`],zingchart.exec("chart","destroy"),zingchart.render(t),this.chartBindHandler()}chartBindHandler(){zingchart.unbind("chart","click"),zingchart.bind("chart","click",t=>{t.touch&&t.target&&"none"===t.target.toLowerCase()&&(this.updateChartSeriesData(t.id,t.graphid,0,-1),zingchart.exec(t.id,"hidetooltip"))}),zingchart.unbind("chart","node_click"),zingchart.bind("chart","node_click",t=>{t.ev.type&&"touchend"!==t.ev.type.toLowerCase()||(this.updateChartSeriesData(t.id,t.graphid,t.plotindex,t.nodeindex),zingchart.exec(t.id,"hidetooltip"),zingchart.exec(t.id,"showtooltip",{plotindex:t.plotindex,nodeindex:t.nodeindex,update:!0}))})}updateChartSeriesData(t,i,o,a){const s=zingchart.exec(t,"getseriesdata",{graphid:i,plotindex:o}
1),c=this.updateBackgroundColorByIndex(s,a);zingchart.exec(t,"setseriesdata",{graphid:i,plotindex:o,data:c,update:!0})}updateBackgroundColorByIndex(t,i){if(!t||!t.values)return t;const o="#009cde",s=[];for(let c=0;c<t.values.length;c++)s.push(c===i?{"background-color":"#5E9DCE"}:{"background-color":o});return t.styles=0===s.length?[o]:s,t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw),e.rXU(S.f),e.rXU(l.qQ),e.rXU(e.sFG))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-bar-chart"]],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)("touchmove",function(s){return o.ontouchmove(s)},!1,e.tSv)},inputs:{content:"content"},features:[e.Vt3],decls:1,vars:1,consts:[["id","bar-chart","class","bar-chart component gtm-track-component component",4,"ngIf"],["id","bar-chart",1,"bar-chart","component","gtm-track-component","component"],[1,"wrapper","flex-wrapper","x-large-width","x-large-width-padding"],[3,"whatsThisLink","whatsThisText"],["class","chart-tabs",4,"ngIf"],["class","form-control form-select bar-chart-select",3,"searchable","clearable","items","ngModel","ngModelChange","change",4,"ngIf"],[1,"bar-chart-wrapper"],[1,"bar-chart-content"],["id","chart"],["class","wrapper flex-wrapper x-large-width x-large-width-padding",4,"ngIf"],[1,"chart-tabs"],["class","chart-tab big-font-size light-font-weight gtm-trackable",3,"active","click",4,"ngFor","ngForOf"],[1,"chart-tab","big-font-size","light-font-weight","gtm-trackable",3,"click"],[1,"form-control","form-select","bar-chart-select",3,"ngModelChange","change","searchable","clearable","items","ngModel"],[1,"bar-chart-legal","small-font-size"]],template:function(i,o){1&i&&e.DNE(0,tx,9,5,"section",0),2&i&&e.Y8G("ngIf",o.tabsObj.length)},dependencies:[l.Sq,l.bT,g.BC,g.vS,ne.vr,ae],styles:["app-whats-this[_ngcontent-%COMP%]{margin:0 0 1rem}.bar-chart-select[_ngcontent-%COMP%]{margin:0 0 2rem}.bar-chart-wrapper[_ngcontent-%COMP%]{box-sizing:content-box;height:23rem;margin:auto;max-width:100%;overflow:hidden;width:71.5rem}@media (max-width: 1144px){.bar-chart-wrapper[_ngcontent-%COMP%]{overflow-x:scroll;overflow-y:hidden;white-space:nowrap}}.bar-chart-content[_ngcontent-%COMP%]{height:100%}@media (max-width: 1144px){.bar-chart-content[_ngcontent-%COMP%]{white-space:nowrap;width:71.5rem}}#chart[_ngcontent-%COMP%]{height:100%}.bar-chart-legal[_ngcontent-%COMP%]{color:#999;margin-top:1rem}"],changeDetection:0})}}return n})();var Ot=p(90796);const Ae=n=>({errorText:n});function nx(n,r){if(1&n&&(e.j41(0,"a",17),e.EFF(1,"Show all news"),e.k0s()),2&n){const t=e.XpG();e.Y8G("href",t.getNewsExplorerLink(),e.B4B)}}function ix(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",21),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.clearAll())}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.clearFiltersLabel.value," ")}}function ox(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",22),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.submit())}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.addFilterLabel.value," ")}}function rx(n,r){if(1&n&&(e.j41(0,"div",18),e.DNE(1,ix,2,1,"span",19),e.nI1(2,"async"),e.DNE(3,ox,2,1,"span",20),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",e.bMT(2,2,t.summaryFilters$).length),e.R7$(2),e.Y8G("ngIf",!t.hideApply)}}function ax(n,r){if(1&n&&(e.qex(0),e.EFF(1," matches "),e.j41(2,"strong"),e.EFF(3),e.k0s(),e.bVm()),2&n){const t=r.$implicit;e.R7$(3),e.JRh(t)}}function sx(n,r){if(1&n&&(e.j41(0,"div",31)(1,"span")(2,"strong"),e.EFF(3),e.k0s(),e.DNE(4,ax,4,1,"ng-container",32),e.k0s()()),2&n){const t=r.$implicit,i=e.XpG(2);e.R7$(3),e.JRh(i.getFilteredByLabelByName(t.name)),e.R7$(),e.Y8G("ngForOf",t.value)}}function lx(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",23)(1,"div",24)(2,"div",25),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.toggleAccordion("filtered-by-accordion"))}),e.j41(3,"span",26),e.EFF(4),e.k0s(),e.nrm(5,"span",27),e.k0s(),e.j41(6,"div",28)(7,"div",29),e.DNE(8,sx,5,2,"div",30),e.nI1(9,"async"),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(4),e.JRh(t.content.filterSummaryTitle.value),e.R7$(4),e.Y8G("ngForOf",e.bMT(9,2,t.summaryFilters$))}}function cx(n,r){if(1&n&&(e.j41(0,"ng-option",52),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.Y8G("value",t),e.R7$(),e.SpI(" Show ",t," news ")}}function px(n,r){if(1&n&&(e.j41(0,"ng-option",52),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.Y8G("value",t.value),e.R7$(),e.SpI(" ",t.label," ")}}function mx(n,r){if(1&n&&(e.j41(0,"div",64),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.source.value," ")}}function _x(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",61),e.DNE(2,mx,2,1,"div",62),e.k0s(),e.eu8(3,63),e.bVm()),2&n){const t=e.XpG().$implicit,i=e.XpG(2),o=e.sdS(23);e.R7$(),e.Y8G("ngClass",i.getCssClass(t.source)),e.R7$(),e.Y8G("ngIf",!t.source.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.eq3(4,Ae,t.source.errorText))}}function dx(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",65)(2,"div",66),e.EFF(3),e.k0s()(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(3),e.SpI(" ",t.defaultFieldValue," ")}}function ux(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",67),e.EFF(2),e.nI1(3,"customdate"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",e.i5U(3,1,t.date.value,"long")," ")}}function gx(n,r){if(1&n&&(e.qex(0),e.DNE(1,ux,4,4,"ng-container",15),e.eu8(2,63),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(23);e.R7$(),e.Y8G("ngIf",!t.date.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ae,t.date.errorText))}}function hx(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",68),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.SpI(" ",t.defaultFieldValue," ")}}function fx(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",67),e.EFF(2),e.nI1(3,"customdate"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",e.brH(3,1,t.time.value,"time","Europe/London")," ")}}function vx(n,r){if(1&n&&(e.qex(0),e.DNE(1,fx,4,5,"ng-container",15),e.eu8(2,63),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(23);e.R7$(),e.Y8G("ngIf",!t.time.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ae,t.time.errorText))}}function bx(n,r){if(1&n&&(e.qex(0),e.eu8(1,63),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(23);e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(2,Ae,t.time.errorText))}}function Cx(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",68),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.SpI(" ",t.defaultFieldValue," ")}}function Tx(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",67),e.EFF(2),e.nI1(3,"customnumber"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,1,t.lastprice.value)," ")}}function xx(n,r){if(1&n&&(e.qex(0),e.DNE(1,Tx,4,3,"ng-container",15),e.eu8(2,63),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(23);e.R7$(),e.Y8G("ngIf",!t.lastprice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ae,t.lastprice.errorText))}}function kx(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",68),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.SpI(" ",t.defaultFieldValue," ")}}function yx(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",69),e.EFF(2),e.nI1(3,"customnumber"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngClass",t.netchangesign.visibility&&!t.netchangesign.errorText?i.getCssClass(t.netchangesign):""),e.R7$(),e.SpI(" ",e.i5U(3,2,t.percentualchange.value,"%")," ")}}function wx(n,r){if(1&n&&(e.qex(0),e.DNE(1,yx,4,5,"ng-container",15),e.eu8(2,63),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(23);e.R7$(),e.Y8G("ngIf",!t.percentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ae,t.percentualchange.errorText))}}function Ix(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",68),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.SpI(" ",t.defaultFieldValue," ")}}function Mx(n,r){if(1&n&&(e.j41(0,"span",71),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.source.value," ")}}function Ox(n,r){if(1&n&&(e.qex(0),e.DNE(1,Mx,2,1,"span",70),e.eu8(2,63),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(23);e.R7$(),e.Y8G("ngIf",!t.source.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ae,t.source.errorText))}}function Rx(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",72),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function Fx(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customdate"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.brH(2,1,t.date.value,"short","Europe/London")," ")}}function Px(n,r){if(1&n&&(e.qex(0),e.DNE(1,Fx,3,5,"ng-container",15),e.eu8(2,63),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(23);e.R7$(),e.Y8G("ngIf",!t.date.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ae,t.date.errorText))}}function Gx(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",73),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function Sx(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customdate"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.brH(2,1,t.time.value,"time","Europe/London")," ")}}function $x(n,r){if(1&n&&(e.qex(0),e.DNE(1,Sx,3,5,"ng-container",15),e.eu8(2,63),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(23);e.R7$(),e.Y8G("ngIf",!t.time.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ae,t.time.errorText))}}function Ex(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",73),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function Dx(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.lastprice.value)," ")}}function jx(n,r){if(1&n&&(e.qex(0),e.DNE(1,Dx,3,3,"ng-container",15),e.eu8(2,63),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(23);e.R7$(),e.Y8G("ngIf",!t.lastprice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ae,t.lastprice.errorText))}}function Nx(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",73),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function Yx(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.i5U(2,1,t.percentualchange.value,"%")," ")}}function Xx(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,Yx,3,4,"ng-container",15),e.eu8(2,63),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(23);e.R7$(),e.Y8G("ngIf",!t.percentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ae,t.percentualchange.errorText))}}function Bx(n,r){if(1&n&&(e.j41(0,"span")(1,"span",73),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}
1function Vx(n,r){if(1&n&&(e.j41(0,"tr",53)(1,"td",54),e.EFF(2),e.nrm(3,"app-link-or-dash",55),e.nI1(4,"newsArticleUrl"),e.j41(5,"div",56)(6,"div",57),e.DNE(7,_x,4,6,"ng-container",15)(8,dx,4,1,"ng-container",15),e.j41(9,"div",58),e.DNE(10,gx,3,5,"ng-container",15)(11,hx,3,1,"ng-container",15)(12,vx,3,5,"ng-container",15)(13,bx,2,4,"ng-container",15)(14,Cx,3,1,"ng-container",15)(15,xx,3,5,"ng-container",15)(16,kx,3,1,"ng-container",15)(17,wx,3,5,"ng-container",15)(18,Ix,3,1,"ng-container",15),e.k0s()()()(),e.j41(19,"td",59),e.DNE(20,Ox,3,5,"ng-container",15)(21,Rx,3,1,"ng-container",15),e.k0s(),e.j41(22,"td",60),e.DNE(23,Px,3,5,"ng-container",15)(24,Gx,3,1,"ng-container",15),e.k0s(),e.j41(25,"td",60),e.DNE(26,$x,3,5,"ng-container",15)(27,Ex,3,1,"ng-container",15),e.k0s(),e.j41(28,"td",60),e.DNE(29,jx,3,5,"ng-container",15)(30,Nx,3,1,"ng-container",15),e.k0s(),e.j41(31,"td",59),e.DNE(32,Xx,3,5,"span",15)(33,Bx,3,1,"span",15),e.k0s()()),2&n){const t=r.$implicit,i=e.XpG(2);e.R7$(2),e.SpI(" ",i.getHeadline(t)," "),e.R7$(),e.Y8G("link",e.bMT(4,29,t))("value",t.title.value)("errorText",t.title.errorText)("visibility",t.title.visibility)("targetType","_blank"),e.R7$(4),e.Y8G("ngIf",t.source.visibility),e.R7$(),e.Y8G("ngIf",!t.source.visibility),e.R7$(2),e.Y8G("ngIf",t.date.visibility),e.R7$(),e.Y8G("ngIf",!t.date.visibility),e.R7$(),e.Y8G("ngIf",t.time.visibility),e.R7$(),e.Y8G("ngIf",!t.time.visibility),e.R7$(),e.Y8G("ngIf",!t.time.visibility),e.R7$(),e.Y8G("ngIf",t.lastprice.visibility),e.R7$(),e.Y8G("ngIf",!t.lastprice.visibility),e.R7$(),e.Y8G("ngIf",t.percentualchange.visibility),e.R7$(),e.Y8G("ngIf",!t.percentualchange.visibility),e.R7$(),e.Y8G("ngClass",i.getCssClass(t.source)),e.R7$(),e.Y8G("ngIf",t.source.visibility),e.R7$(),e.Y8G("ngIf",!t.source.visibility),e.R7$(2),e.Y8G("ngIf",t.date.visibility),e.R7$(),e.Y8G("ngIf",!t.date.visibility),e.R7$(2),e.Y8G("ngIf",t.time.visibility),e.R7$(),e.Y8G("ngIf",!t.time.visibility),e.R7$(2),e.Y8G("ngIf",t.lastprice.visibility),e.R7$(),e.Y8G("ngIf",!t.lastprice.visibility),e.R7$(),e.Y8G("ngClass",t.netchangesign.visibility&&t.percentualchange.visibility&&!t.netchangesign.errorText&&!t.percentualchange.errorText?i.getCssClass(t.netchangesign):""),e.R7$(),e.Y8G("ngIf",t.percentualchange.visibility),e.R7$(),e.Y8G("ngIf",!t.percentualchange.visibility)}}function Lx(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-paginator",74),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.onSubmit(o))}),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("totalPages",null==t.content.pagination?null:t.content.pagination.totalPages)("currentPage",null==t.content.pagination?null:t.content.pagination.page)}}function Ax(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",33)(2,"form",34),e.bIt("ngSubmit",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.showPerPage(o))}),e.j41(3,"div",35)(4,"ng-select",36),e.bIt("change",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.showPerPage(o))}),e.DNE(5,cx,2,2,"ng-option",37),e.k0s()()(),e.j41(6,"form",38),e.bIt("ngSubmit",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.sortBy(o))}),e.j41(7,"div",35)(8,"ng-select",39),e.bIt("change",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.sortBy(o))}),e.DNE(9,px,2,2,"ng-option",37),e.k0s()()()(),e.j41(10,"div",40)(11,"span",41),e.EFF(12),e.k0s(),e.EFF(13),e.k0s(),e.j41(14,"table",42)(15,"thead")(16,"tr",43)(17,"th",44),e.EFF(18),e.k0s(),e.j41(19,"th",45),e.EFF(20),e.k0s(),e.j41(21,"th",46),e.EFF(22),e.k0s(),e.j41(23,"th",46),e.EFF(24),e.k0s(),e.j41(25,"th",47),e.EFF(26),e.k0s(),e.j41(27,"th",48),e.EFF(28),e.k0s()()(),e.j41(29,"tbody"),e.DNE(30,Vx,34,31,"tr",49),e.k0s()(),e.DNE(31,Lx,1,2,"app-paginator",50),e.j41(32,"div",51),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.scrollTop())}),e.k0s(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("formGroup",t.showBySize),e.R7$(2),e.Y8G("searchable",!1)("clearable",!1),e.R7$(),e.Y8G("ngForOf",t.sizeOptions),e.R7$(),e.Y8G("formGroup",t.sortByNews),e.R7$(2),e.Y8G("searchable",!1)("clearable",!1),e.R7$(),e.Y8G("ngForOf",t.dropdownOptions),e.R7$(3),e.SpI(" ",null==t.content.pagination?null:t.content.pagination.totalItems," results "),e.R7$(),e.SpI(" (",null==t.content.newsTableResults?null:t.content.newsTableResults.length," showing) "),e.R7$(5),e.JRh(t.content.newsTableResults[0].title.label),e.R7$(2),e.JRh(t.content.newsTableResults[0].source.label),e.R7$(2),e.JRh(t.content.newsTableResults[0].date.label),e.R7$(2),e.JRh(t.content.newsTableResults[0].time.label),e.R7$(2),e.JRh(t.content.newsTableResults[0].lastprice.label),e.R7$(2),e.JRh(t.content.newsTableResults[0].percentualchange.label),e.R7$(2),e.Y8G("ngForOf",t.content.newsTableResults),e.R7$(),e.Y8G("ngIf",t.content.newsTableResults)}}function qx(n,r){if(1&n&&(e.j41(0,"div",75),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.noResultsMessage.value," ")}}function Ux(n,r){if(1&n&&e.nrm(0,"app-hide-field",77),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function zx(n,r){1&n&&e.DNE(0,Ux,1,1,"app-hide-field",76),2&n&&e.Y8G("ngIf",r.errorText)}let ao=(()=>{class n{constructor(t,i,o,a,s,c,d,C,T,I,N,z){this.filtersService=t,this.store=i,this.cssmapping=o,this.refreshService=a,this.platformId=s,this.accordionH
1andler=c,this.elementRef=d,this.scrollToService=C,this.headTagService=T,this.fb=I,this.pageTitleService=N,this.urlHandlerService=z,this.firstLevelFilters=null,this.defaultItemsPerPage=20,this.selectedSort="datetime,desc",this.filteredBy$=(0,q.of)([]),this.summaryFilters$=(0,q.of)([]),this.dropdownOptions=[],this.sizeOptions=[20,50,100,500],this.defaultFieldValue=w.M.DEFAULT_VALUE,this.hideApply=!1,this.showApplyClearButton=new Oe.t(!1),this.ngUnsubscribe=new re.B,this.filteredByLabelsMap=new Map,this.paramsWeightMap=new Map([["q",0],["Index",1],["Sector",2],["Headline Type",3],["Source",4],["beforedate",5],["afterdate",5],["betweendate",5]]),this.filtersService.store=this.store,this.filtersService.urlService=this.urlHandlerService,this.filtersService.scrollToService=this.scrollToService,this.filtersService.scrollElementId="news-table-results",this.filtersService.scrollElementRef=this.elementRef}ngOnInit(){this.filtersService.store=this.store,this.dropdownOptions=this.getDropdownOptions(),this.store.pipe((0,u.Lt)(h.IQ),(0,W.p)(t=>!!t),(0,f.s)(1)).subscribe(t=>{this.pageType=t?t.page_type:"",this.firstLevelFilters=this.getFirstLevelFilters(),this.componentTitle=this._generateTitle()}),this.filtersService.firstLevelFilters=this.firstLevelFilters,this.filteredBy$=this.filtersService.getFilters(!0).pipe((0,ie.Q)(this.ngUnsubscribe)),this.summaryFilters$=this.filtersService.getFilters(!0).pipe((0,f.s)(1)),this.setFilteredByLabelMap(),this.filterSummary(),this.setPageTitle(),this.status={...this.status,params:this.filtersService.getHttpFilters()},this.headTagService.setMetaRobot(),this.setSort(),this.setSize()}ngOnChanges(t){this.issuerReferenceDataLink=this.getIssuerReferenceDataCompanyUrl(),(0,l.UE)(this.platformId)&&t.content?.currentValue!==t.content?.previousValue&&(this.filterSummary(),this.setPageTitle(),(0,$e.A)(t)||(this.content.newsTableResults=[]),this.filtersService.scrollToResults(!0,this.status))}ngAfterViewInit(){this.filtersService.scrollToResults(!1,this.status)}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this.clearAll(!1)}submit(t){var i=this;return(0,_.A)(function*(o,a=!1){i.filtersService.scrollToResults(!0,i.status,!0),o||i.filtersService.clearPageFilter();let s=i.filtersService.getHttpFilters();o&&o.keys().forEach(c=>s=s.set(c,o.get(c))),yield i.filtersService.addFiltersToUrl(o,a),i.summaryFilters$=i.filtersService.getFilters(!0).pipe((0,f.s)(1)),s=s.set("page","0").set("size",`${i.defaultItemsPerPage}`),s=s.set("sort",i.selectedSort),i.status={...i.status,params:s},i.refreshService.refreshComponent(i.id,i.position,i.type,i.content,i.status)}).apply(this,arguments)}clearAll(){var t=this;return(0,_.A)(function*(i=!0){t.filtersService.clearFilters(),i&&(yield t.submit())}).apply(this,arguments)}getFirstLevelFilters(){const t={name:null,label:this.content.filterByLabel.value,filters:[],subFilters:null};return"issuer-profile"!==this.pageType&&t.filters.push({key:"Name code",value:this.content.companyFilterLabel.value,subFilters:{name:"namecode",label:this.content.selectFilterLabel.value,filters:null}}),t.filters.push({key:"Free text",value:this.content.freetextFilterLabel.value,subFilters:{name:"freetext",label:this.content.selectFilterLabel.value,filters:null}}),t.filters.push({key:"Source",value:this.content.sourceFilterLabel.value,subFilters:{name:this.content.newsTableFiltersSources.name,label:this.content.selectFilterLabel.value,filters:this.content.newsTableFiltersSources.filters}},{key:"News type",value:this.content.newstypeFilterLabel.value,subFilters:{name:"newsType",label:this.content.selectFilterLabel.value,filters:[{key:"only",value:"Show only Earnings, News & Reach"},{key:"except",value:"Show all except NAV & FRN"},{key:"all",value:"Show all"}]}},{key:"Headline Type",value:this.content.headlineTypeFilterLabel.value,subFilters:{name:this.content.newsTableFiltersHeadlinetypes.name,label:this.content.selectFilterLabel.value,filters:this.content.newsTableFiltersHeadlinetypes.filters}}),"ftse-index"!==this.pageType&&t.filters.push({key:"Index",value:this.content.indexFilterLabel.value,subFilters:{name:this.content.newsTableFiltersIndices.name,label:this.content.selectFilterLabel.value,filters:this.content.newsTableFiltersIndices.filters}}),t.filters.push({key:"Sector",value:this.content.sectorFilterLabel.value,subFilters:{name:this.content.newsTableFiltersSectors.name,label:this.content.selectFilterLabel.value,filters:this.content.newsTableFiltersSectors.filters}},{key:"Time period",value:this.content.timePeriodFilterLabel.value,subFilters:{name:"period",label:this.content.selectFilterLabel.value,filters:[{key:"lastweek",value:"Last week"},{key:"lastmonth",value:"Last month"},{key:"custom",value:"Customisable",subFilters:{name:"date",label:this.content.selectFilterLabel.value,filters:null}}]}}),t}sortBy(t){var i=this;return(0,_.A)(function*(){i.selectedSort=t,yield i.onSubmit()})()}showPerPage(t){var i=this;return(0,_.A)(function*(){i.defaultItemsPerPage=t,yield i.urlHandlerService.deleteParameters(["page"]),yield i.onSubmit()})()}onSubmit(){var t=this;return(0,_.A)(function*(i=0){let o=(t.status.params||new F.Nl).set("page",`${i}`).set("size",`${t.defaultItemsPerPage}`);o=o.set("sort",t.selectedSort),t.status={...t.status,currentPage:i,params:o},t.refreshService.refreshComponent(t.id,t.position,t.type,t.content,t.status)}).apply(this,arguments)}imageToShow(t){return!(!t||!t.logo)&&t.logo}getCssClass(t){return this.cssmapping.cssClass(t)}
1toggleAccordion(t){this.accordionHandler.toggleAccordion(t,this.elementRef)}_generateTitle(){return"issuer-profile"===this.pageType?`${this.content.newsTableIssuerName.value} news`:"ftse-index"===this.pageType?`${this.content.newsTableTickerDescription.value} regulatory news`:this.content.newsExplorerLabel.value}getDropdownOptions(){return[{value:"datetime,desc",label:this.content.sortRecentLabel.value},{value:"views,desc",label:this.content.sortReadLabel.value}]}setFilteredByLabelMap(){this.filteredByLabelsMap.set("Index",this.content.indexFilterLabel.value),this.filteredByLabelsMap.set("Headline Type",this.content.headlineTypeFilterLabel.value),this.filteredByLabelsMap.set("headlines",this.content.headlineTypeFilterLabel.value),this.filteredByLabelsMap.set("namecode",this.content.companyFilterLabel.value),this.filteredByLabelsMap.set("freetext",this.content.freetextFilterLabel.value),this.filteredByLabelsMap.set("Time period",this.content.timePeriodFilterLabel.value),this.filteredByLabelsMap.set("period",this.content.timePeriodFilterLabel.value),this.filteredByLabelsMap.set("afterdate",this.content.timePeriodFilterLabel.value),this.filteredByLabelsMap.set("beforedate",this.content.timePeriodFilterLabel.value),this.filteredByLabelsMap.set("betweendate",this.content.timePeriodFilterLabel.value),this.filteredByLabelsMap.set("issuers",this.content.companyFilterLabel.value),this.filteredByLabelsMap.set("q",this.content.companyFilterLabel.value),this.filteredByLabelsMap.set("Sector",this.content.sectorFilterLabel.value),this.filteredByLabelsMap.set("Source",this.content.sourceFilterLabel.value),this.filteredByLabelsMap.set("News type",this.content.newstypeFilterLabel.value)}getFilteredByLabelByName(t){return this.filteredByLabelsMap.get(t)||"-"}scrollTop(){this.scrollToService.scrollToTheElementById("news-table",this.elementRef)}getNewsExplorerLink(){return k.T.getLink("news",(new F.Nl).set("tab","news-explorer"))}filterSummary(){this.summaryFilters$&&this.summaryFilters$.forEach(t=>{t.filter(i=>"issuers"===i.name).map(i=>{i.value[0]=this.content.issuerReferenceDataName.value||i.value[0]})})}checkApplyVisibility(t){this.hideApply="Company"===t}getHeadline(t){return"ftse-index"===this.pageType||"news"===this.pageType?this.companyNameValue(t)+this.issuerCodeValue(t):""}companyNameValue(t){return t.companyname.value&&t.companyname.value!==this.defaultFieldValue?`${t.companyname.value} - `:""}issuerCodeValue(t){return t.issuercode.value&&t.issuercode.value!==this.defaultFieldValue?`${t.issuercode.value} - `:""}setShowFilters(t){this.showApplyClearButton.next(t)}getShowFilters(){return this.showApplyClearButton.asObservable()}setSort(){this.sortByNews=this.fb.group({sortBySelect:this.selectedSort})}setSize(t=this.defaultItemsPerPage){this.showBySize=this.fb.group({size:t})}setPageTitle(){this.store.pipe((0,u.Lt)(h.IQ),(0,W.p)(t=>!!t&&"issuer-profile"!==t.page_type),(0,Mt.n)(()=>this.summaryFilters$),(0,W.p)(t=>!!t),(0,f.s)(1)).subscribe(t=>{const i=t.reduce((a,s)=>(a.push(`${s.value.join(", ")} ${this.getFilteredByLabelByName(s.name)}`),a),[]).join(" - ");this.pageTitleService.dispatchPageTitlePrefix(["News",i],i?" by ":" - ")})}getIssuerReferenceDataCompanyUrl(){return this.content.issuerReferenceDataName.value&&this.content.newsTableResults.length?k.T.getCompanyUrl(!0,this.content.newsTableResults[0].companycode.value,this.content.issuerReferenceDataName.value):""}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Ve.B),e.rXU(u.il),e.rXU(b.o),e.rXU(j.W),e.rXU(e.Agw),e.rXU(Je.h),e.rXU(e.aKT),e.rXU(le.W),e.rXU(Ot.$),e.rXU(g.ze),e.rXU(pe.P),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-news-table"]],inputs:{content:"content",type:"type",position:"position",id:"id",status:"status"},features:[e.OA$],decls:24,vars:26,consts:[["emptyvalue",""],["id","news-table","appBackBrowserClick","",1,"news-table-component","component","wrapper","x-large-width","x-large-width-padding","component-refresh","gtm-track-component",3,"refreshComponent","scrollTop"],[1,"flex-container","news-table-title-container"],[1,"large-font-size","bold-font-weight"],["class","h-link",3,"href",4,"ngIf"],["id","news-table-filters"],[1,"news-table-filters-header"],[1,"regular-font-size"],[1,"base-font-size"],[3,"whatsThisLink","whatsThisText"],[1,"filters"],[3,"doSubmitFilters","checkApply","setShowFilters","filters","filtersLabel","addFilterLabel","firstLevelFilter","filtersService","clearFiltersLabel","showMore","explorerType","placeholderL
1abel","autocompleteNumber","filtersIcon","paramsWeightMap"],["class","buttons-container",4,"ngIf"],["class","filtered-by",4,"ngIf"],["id","news-table-results"],[4,"ngIf"],["class","large-font-size news-table-no-results",4,"ngIf"],[1,"h-link",3,"href"],[1,"buttons-container"],["class","gold-button outline bold-font-weight gtm-trackable clear-button",3,"click",4,"ngIf"],["class","gold-button bold-font-weight gtm-trackable apply-button",3,"click",4,"ngIf"],[1,"gold-button","outline","bold-font-weight","gtm-trackable","clear-button",3,"click"],[1,"gold-button","bold-font-weight","gtm-trackable","apply-button",3,"click"],[1,"filtered-by"],["id","filtered-by-accordion",1,"row-group","accordion-container"],[1,"accordion-header","gtm-trackable",3,"click"],[1,"bold-font-weight"],[1,"accordion-toggler"],[1,"accordion-content"],[1,"filters-list"],["class","filter-filtered",4,"ngFor","ngForOf"],[1,"filter-filtered"],[4,"ngFor","ngForOf"],[1,"sort-by"],[1,"form-inline","small-font-size","small-dropdown",3,"ngSubmit","formGroup"],[1,"form-group","form-group-dropdown"],["formControlName","size","id","dropdownSize","name","dropdownSize","placeholder","Sort by",1,"form-control","form-select",3,"change","searchable","clearable"],[3,"value",4,"ngFor","ngForOf"],[1,"form-inline","small-font-size",3,"ngSubmit","formGroup"],["formControlName","sortBySelect","id","dropdownSort","name","dropdownSort","placeholder","Sort by",1,"form-control","form-select",3,"change","searchable","clearable"],[1,"results-header"],[1,"total-results","bold-font-weight"],[1,"full-width","table"],[1,"table-header","hide-on-portrait"],[1,"headline"],[1,"source"],[1,"datetime"],[1,"price"],[1,"change"],["class","medium-font-weight slide-panel",4,"ngFor","ngForOf"],[3,"totalPages","currentPage","goToPage",4,"ngIf"],[1,"back-to-top",3,"click"],[3,"value"],[1,"medium-font-weight","slide-panel"],[1,"news-title"],[3,"link","value","errorText","visibility","targetType"],[1,"show-on-portrait"],[1,"flex-wrapper","spaced-flex-container","mobile-flex-container","flex-content","flex-align-center"],[1,"td-column-content","flex-wrapper","spaced-flex-container","mobile-flex-container","flex-align-center"],[1,"hide-on-portrait",3,"ngClass"],[1,"hide-on-portrait"],[1,"td-column-btn",3,"ngClass"],["class","source-label small-font-size",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"source-label","small-font-size"],[1,"td-column-btn"],[1,"source-label","small-font-size","dash-wrapper"],[1,"td-column","small-font-size"],[1,"td-column","small-font-size","dash-wrapper"],[1,"td-column","small-font-size",3,"ngClass"],["class","source-label",4,"ngIf"],[1,"source-label"],[1,"source-label","dash-wrapper"],[1,"dash-wrapper"],[3,"goToPage","totalPages","currentPage"],[1,"large-font-size","news-table-no-results"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"section",1),e.bIt("refreshComponent",function(c){return e.eBV(a),e.Njj(o.submit(c,!0))})("scrollTop",function(){return e.eBV(a),e.Njj(o.scrollTop())}),e.j41(1,"div",2)(2,"h3",3),e.EFF(3),e.k0s(),e.DNE(4,nx,2,1,"a",4),e.k0s(),e.j41(5,"div",5)(6,"div",6)(7,"h4",7),e.EFF(8),e.j41(9,"span",8),e.nrm(10,"app-whats-this",9),e.k0s()(),e.j41(11,"p"),e.EFF(12),e.k0s()(),e.j41(13,"div",10)(14,"app-filters-toggle",11),e.bIt("doSubmitFilters",function(){return e.eBV(a),e.Njj(o.submit())})("checkApply",function(c){return e.eBV(a),e.Njj(o.checkApplyVisibility(c))})("setShowFilters",function(c){return e.eBV(a),e.Njj(o.setShowFilters(c))}),e.k0s()(),e.DNE(15,rx,4,4,"div",12),e.nI1(16,"async"),e.DNE(17,lx,10,4,"div",13),e.nI1(18,"async"),e.k0s(),e.j41(19,"div",14),e.DNE(20,Ax,33,18,"ng-container",15)(21,qx,2,1,"div",16),e.k0s()(),e.DNE(22,zx,1,1,"ng-template",null,0,e.C5r)}2&i&&(e.R7$(3),e.JRh(o.componentTitle),e.R7$(),e.Y8G("ngIf","news"!==o.pageType),e.R7$(4),e.SpI(" ",o.content.filtersTitle.value," "),e.R7$(2),e.Y8G("whatsThisLink",o.content.whatsThisLink)("whatsThisText",o.content.whatsThisText),e.R7$(2),e.JRh(o.content.summary.value),e.R7$(2),e.Y8G("filters",o.firstLevelFilters)("filtersLabel",o.content.filterByLabel.value)("addFilterLabel",o.content.addFilterLabel.value)("firstLevelFilter",!0)("filtersService",o.filtersService)("clearFiltersLabel",o.content.clearFiltersLabel.value)("showMore",o.content.showMoreLabel.value)("explorerType","news-explorer")("placeholderL
1abel","issuer or code")("autocompleteNumber",10)("filtersIcon",!0)("paramsWeightMap",o.paramsWeightMap),e.R7$(),e.Y8G("ngIf",e.bMT(16,22,o.getShowFilters())),e.R7$(2),e.Y8G("ngIf",e.bMT(18,24,o.summaryFilters$).length>0),e.R7$(3),e.Y8G("ngIf",o.content.newsTableResults&&o.content.newsTableResults.length>0),e.R7$(),e.Y8G("ngIf",0===(null==o.content.newsTableResults?null:o.content.newsTableResults.length)))},dependencies:[l.YU,l.Sq,l.bT,l.T3,g.qT,g.BC,g.cb,y.W,De.T,g.j4,g.JD,ne.vr,ne.xt,ue,ae,Fn,xe,l.Jj,ee.p,U.W,lt.X],styles:[".accordion-content[_ngcontent-%COMP%]{padding:2rem 2rem 0}@media (max-width: 480px){.accordion-content[_ngcontent-%COMP%]{padding:2rem 1rem 0}}.filtered-by[_ngcontent-%COMP%]{padding-top:1.5rem}h3[_ngcontent-%COMP%]{margin-bottom:1rem;width:100%}figure[_ngcontent-%COMP%]{border:.0625rem solid #fafafa;display:flex;height:3.375rem;line-height:3.25rem;margin:0;padding:.25rem;vertical-align:middle;width:5.625rem}.results-header[_ngcontent-%COMP%]{clear:both;margin:1rem 0}table[_ngcontent-%COMP%]{table-layout:fixed}td[_ngcontent-%COMP%]{vertical-align:middle}@media (max-width: 480px){td[_ngcontent-%COMP%]{padding:.5rem}}th[_ngcontent-%COMP%]{width:6.7rem}th.issuerlogo[_ngcontent-%COMP%]{width:7.25rem}th.source[_ngcontent-%COMP%]{width:8rem}th.headline[_ngcontent-%COMP%]{width:auto}@media (max-width: 768px){th.datetime[_ngcontent-%COMP%]{width:5rem}}th.price[_ngcontent-%COMP%], th.change[_ngcontent-%COMP%]{width:6rem}.news-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000;text-decoration:none}.news-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}@media (max-width: 480px){.source-label[_ngcontent-%COMP%]{margin:0}}.flex-content[_ngcontent-%COMP%]{display:flex!important}.td-column[_ngcontent-%COMP%]{flex-grow:1;padding-top:.5rem;width:50%}.td-column-btn[_ngcontent-%COMP%]{flex-grow:0;padding-top:.5rem;width:35%}.td-column-content[_ngcontent-%COMP%]{width:65%}.buttons-container[_ngcontent-%COMP%]{text-align:right}.apply-button[_ngcontent-%COMP%]{margin-left:1rem}.sort-by[_ngcontent-%COMP%]{clear:both}.sort-by[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{margin-left:1rem;margin-right:0}@media (max-width: 1023px){.sort-by[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{margin-left:0}}.sort-by[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin-bottom:0}.filtered-by[_ngcontent-%COMP%]{margin-bottom:1.5rem}.filtered-by[_ngcontent-%COMP%] .accordion-content[_ngcontent-%COMP%]{background:#fafafa;color:#000;padding:1.5rem}.td-with-link[_ngcontent-%COMP%]{padding:0}.td-with-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .td-with-link[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;height:100%;padding:.75rem .75rem .75rem .85rem;width:100%}.back-to-top[_ngcontent-%COMP%]{bottom:1rem}@media (max-width: 1023px){.news-table-title-container[_ngcontent-%COMP%]{display:block}}.news-table-title-container[_ngcontent-%COMP%] .h-link[_ngcontent-%COMP%]{line-height:2.3rem;white-space:nowrap}@media (max-width: 1023px){.news-table-title-container[_ngcontent-%COMP%] .h-link[_ngcontent-%COMP%]{display:block;margin-bottom:1rem}}.clickable[_ngcontent-%COMP%] a[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{cursor:pointer}.clickable[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{cursor:default}.small-dropdown[_ngcontent-%COMP%], .small-dropdown[_ngcontent-%COMP%] .ng-select.form-select[_ngcontent-%COMP%]{width:15rem!important}"]})}}return n})();function Hx(n,r){if(1&n&&e.nrm(0,"img",11),2&n){const t=e.XpG(2);e.FS9("src",t.content.image.value,e.B4B)}}function Wx(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"fileSize"),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(e.bMT(2,1,t.content.documentSize.value))}}function Jx(n,r){1&n&&e.eu8(0)}function Kx(n,r){if(1&n&&(e.qex(0),e.DNE(1,Wx,3,3,"ng-container",8)(2,Jx,1,0,"ng-container",12),e.bVm()),2&n){const t=e.XpG(2),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.content.documentSize.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.documentSize)}}function Qx(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Lme(", ",t.content.documentPages.value," ",t.pagesLabel()," ")}}function Zx(n,r){1&n&&e.eu8(0)}function ek(n,r){if(1&n&&(e.qex(0),e.DNE(1,Qx,2,2,"ng-container",8)(2,Zx,1,0,"ng-container",12),e.bVm()),2&n){const t=e.XpG(2),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.content.documentPages.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.documentPages)}}function tk(n,r){if(1&n&&(e.j41(0,"a",13),e.EFF(1," Download "),e.k0s()),2&n){const t=e.XpG(2);e.FS9("href",t.content.downloadLink.value,e.B4B)}}function nk(n,r){if(1&n&&(e.j41(0,"a",14),e.EFF(1," Download "),e.k0s()),2&n){const t=e.XpG(2);e.FS9("href",t.content.downloadLink.value,e.B4B)}}function ik(n,r){if(1&n&&(e.j41(0,"div",2)(1,"h3",3),e.EFF(2,"Company tear sheet"),e.k0s(),e.j41(3,"div",4),e.DNE(4,Hx,1,1,"img",5),e.j41(5,"div",6)(6,"span",7),e.EFF(7,"Company tear sheet"),e.k0s(),e.j41(8,"p"),e.EFF(9," PDF, "),e.DNE(10,Kx,3,3,"ng-container",8)(11,ek,3,3,"ng-container",8),e.k0s(),e.DNE(12,tk,2,1,"a",9),e.k0s()(),e.DNE(13,nk,2,1,"a",10),e.j41(14,"p"),e.EFF(15,"Full issuer details available in a single file ready for sharing."),e.k0s()()),2&n){const t=e.XpG();e.R7$(4),e.Y8G("ngIf",t.content.image.value),e.R7$(6),e.Y8G("ngIf",t.content.documentSize.visibility),e.R7$(),e.Y8G("ngIf",t.content.documentPages.visibility),e.R7$(),e.Y8G("ngIf",t.content.downloadLink.value),e.R7$(),e.Y8G("ngIf",t.content.downloadLink.value)}}function ok(n,r){if(1&n&&e.nrm(0,"app-hide-field",16),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function rk(n,r){1&n&&e.DNE(0,ok,1,1,"app-hide-field",15),2&n&&e.Y8G("ngIf",r.errorText)}let so=(()=>{class n extends O.R{constructor(){super(),this.classes="floating-component"}pagesLabel(){return 1===this.content.documentPages.value?"page":"pages"}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-company-tearsheet"]],hostVars:2,hostBindings:function(i,o){2&i&&e.HbH(o.classes)},inputs:{content:"content"},features:[e.Vt3],decls:3,vars:1,consts:[["emptyvalue",""],["id","company-tearsheet","class","company-tearsheet-component component gtm-track-component",4,"ngIf"],["id","company-tearsheet",1,"company-tearsheet-component","component","gtm-track-component"],[1,"large-font-size"],[1,"mobile-flex-container","flex-align-center","preview-container"],["alt","content.image.label","class","report-preview",3,"src",4,"ngIf"],[1,"mobile-flex-container","flex-column"],[1,"bold-font-weight","bigger-font-size"],[4,"ngIf"],["title","Company tear sheet download","target","_blank","class","gold-button bold-font-weight regular-font-size hide-on-mobile",3,"href",4,"ngIf"],["title","Company tear sheet download","target","_blank","class","gold-button bold-font-weight regular-font-size show-on-mobile",3,"href",4,"ngIf"],["alt","content.image.label",1,"report-preview",3,"src"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["title","Company tear sheet download","target","_blank",1,"gold-button","bold-font-weight","regular-font-size","hide-on-mobile",3,"href"],["title","Company tear sheet download","target","_blank",1,"gold-button","bold-font-weight","regular-font-size","show-on-mobile",3,"href"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&e.DNE(0,ik,16,5,"div",1)(1,rk,1,1,"ng-template",null,0,e.C5r),2&i&&e.Y8G("ngIf",o.content.downloadLink&&o.content.downloadLink.value&&o.content.downloadLink.visibility)},dependencies:[l.bT,l.T3,y.W,At],styles:["@media (max-width: 1144px){.company-tearsheet-component[_ng
1content-%COMP%]{padding:0 1.5rem}}.company-tearsheet-component[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .company-tearsheet-component[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .company-tearsheet-component[_ngcontent-%COMP%] .preview-container[_ngcontent-%COMP%]{margin-bottom:2rem}.company-tearsheet-component[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .company-tearsheet-component[_ngcontent-%COMP%] .gold-button[_ngcontent-%COMP%]{margin-bottom:0}@media (max-width: 480px){.company-tearsheet-component[_ngcontent-%COMP%] .gold-button[_ngcontent-%COMP%]{margin-bottom:2rem}}.preview-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#4d4d4d}@media (max-width: 480px){.preview-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0}}"],changeDetection:0})}}return n})();function ak(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",11),e.EFF(2),e.k0s(),e.nrm(3,"app-whats-this",12),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.content.tableOneTitle.value),e.R7$(),e.Y8G("whatsThisLink",t.content.tableOneWhatsThisLink)("whatsThisText",t.content.tableOneWhatsThisLabel)}}function sk(n,r){1&n&&e.eu8(0)}function lk(n,r){if(1&n&&(e.j41(0,"div",8),e.DNE(1,ak,4,3,"ng-container",9)(2,sk,1,0,"ng-container",10),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(9);e.R7$(),e.Y8G("ngIf",!t.content.tableOneTitle.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.tableOneTitle)}}function ck(n,r){if(1&n&&(e.j41(0,"span",17),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.label.value," ")}}function pk(n,r){if(1&n&&(e.qex(0),e.DNE(1,ck,2,1,"span",16),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.label.visibility)}}function mk(n,r){1&n&&e.eu8(0)}function _k(n,r){if(1&n&&(e.j41(0,"div",19),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.content.value," ")}}function dk(n,r){if(1&n&&(e.qex(0),e.DNE(1,_k,2,1,"div",18),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.content.visibility)}}function uk(n,r){1&n&&e.eu8(0)}function gk(n,r){if(1&n&&(e.qex(0),e.j41(1,"div"),e.DNE(2,pk,2,1,"ng-container",9)(3,mk,1,0,"ng-container",10)(4,dk,2,1,"ng-container",9)(5,uk,1,0,"ng-container",10),e.k0s(),e.bVm()),2&n){const t=r.$implicit,i=r.index;e.XpG(2);const o=e.sdS(9);e.R7$(),e.ZvI("index-item item-",i,""),e.R7$(),e.Y8G("ngIf",!t.label.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.label),e.R7$(),e.Y8G("ngIf",!t.content.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.content)}}function hk(n,r){if(1&n&&(e.j41(0,"div",13)(1,"div",14),e.DNE(2,gk,6,9,"ng-container",15),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngForOf",t.content.tableOneData.value)}}function fk(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",11),e.EFF(2),e.k0s(),e.nrm(3,"app-whats-this",12),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.content.tableTwoTitle.value),e.R7$(),e.Y8G("whatsThisLink",t.content.tableTwoWhatsThisLink)("whatsThisText",t.content.tableTwoWhatsThisLabel)}}function vk(n,r){1&n&&e.eu8(0)}function bk(n,r){if(1&n&&(e.j41(0,"div",20),e.DNE(1,fk,4,3,"ng-container",9)(2,vk,1,0,"ng-container",10),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(9);e.R7$(),e.Y8G("ngIf",!t.content.tableTwoTitle.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.tableTwoTitle)}}function Ck(n,r){if(1&n&&(e.j41(0,"span",17),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.label.value," ")}}function Tk(n,r){if(1&n&&(e.qex(0),e.DNE(1,Ck,2,1,"span",16),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.label.visibility)}}function xk(n,r){1&n&&e.eu8(0)}function kk(n,r){if(1&n&&(e.j41(0,"div",19),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.content.value," ")}}function yk(n,r){if(1&n&&(e.qex(0),e.DNE(1,kk,2,1,"div",18),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.content.visibility)}}function wk(n,r){1&n&&e.eu8(0)}function Ik(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",21),e.DNE(2,Tk,2,1,"ng-container",9)(3,xk,1,0,"ng-container",10)(4,yk,2,1,"ng-container",9)(5,wk,1,0,"ng-container",10),e.k0s(),e.bVm()),2&n){const t=r.$implicit;e.XpG(2);const i=e.sdS(9);e.R7$(2),e.Y8G("ngIf",!t.label.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.label),e.R7$(),e.Y8G("ngIf",!t.content.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content)}}function Mk(n,r){if(1&n&&(e.j41(0,"div",13)(1,"div",14),e.DNE(2,Ik,6,6,"ng-container",15),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngForOf",t.content.tableTwoData.value)}}function Ok(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.tableLegalText.value," ")}}function Rk(n,r){1&n&&e.eu8(0)}function Fk(n,r){if(1&n&&(e.j41(0,"div",22),e.DNE(1,Ok,2,1,"ng-container",9)(2,Rk,1,0,"ng-container",10),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(9);e.R7$(),e.Y8G("ngIf",!t.content.tableLegalText.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.tableLegalText)}}function Pk(n,r){if(1&n&&e.nrm(0,"app-hide-field",24),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function Gk(n,r){1&n&&e.DNE(0,Pk,1,1,"app-hide-field",23),2&n&&e.Y8G("ngIf",r.errorText)}let lo=(()=>{class n{constructor(){}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-ftse-index-info-table"]],inputs:{content:"content"},decls:10,vars:7,consts:[["emptyvalue",""],["id","ftse-index-info-table",1,"ftse-index-info-table-component","component","wrapper","x-large-width","x-large-width-padding"],[1,"table-one"],["class","table-title table-one",4,"ngIf"],["class","table-body",4,"ngIf"],[1,"table-two"],["class","table-title table-two",4,"ngIf"],["class","legal-text small-font-size wrapper",4,"ngIf"],[1,"table-title","table-one"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"base-font-size","medium-font-we
1ight","title"],[3,"whatsThisLink","whatsThisText"],[1,"table-body"],[1,"flex-wrapper"],[4,"ngFor","ngForOf"],["class","light-font-weight more-on-this small-font-size",4,"ngIf"],[1,"light-font-weight","more-on-this","small-font-size"],["class","bold-font-weight regular-font-size",4,"ngIf"],[1,"bold-font-weight","regular-font-size"],[1,"table-title","table-two"],[1,"index-item"],[1,"legal-text","small-font-size","wrapper"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"div",1)(1,"div",2),e.DNE(2,lk,3,3,"div",3)(3,hk,3,1,"div",4),e.k0s(),e.j41(4,"div",5),e.DNE(5,bk,3,3,"div",6)(6,Mk,3,1,"div",4),e.k0s(),e.DNE(7,Fk,3,3,"div",7),e.k0s(),e.DNE(8,Gk,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.AVh("m-64","1"===(null==o.content.uxPadding?null:o.content.uxPadding.value)),e.R7$(2),e.Y8G("ngIf",o.content.tableOneTitle.visibility&&o.content.tableOneTitle.value),e.R7$(),e.Y8G("ngIf",o.content.tableOneData.value),e.R7$(2),e.Y8G("ngIf",o.content.tableTwoTitle.visibility&&o.content.tableTwoTitle.value),e.R7$(),e.Y8G("ngIf",o.content.tableTwoData.value),e.R7$(),e.Y8G("ngIf",o.content.tableLegalText.visibility&&o.content.tableLegalText.value))},dependencies:[l.Sq,l.bT,l.T3,y.W,ae],styles:[".table-title[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{border-bottom:.125rem solid #999999;color:#4d4d4d;display:inline;margin-right:.5rem}.index-item[_ngcontent-%COMP%]{margin-bottom:0;margin-right:1%;padding-top:1rem;width:24%}@media (max-width: 1023px){.index-item[_ngcontent-%COMP%]{width:100%}}.index-item[_ngcontent-%COMP%] .more-on-this[_ngcontent-%COMP%]{color:#4d4d4d}@media (max-width: 480px){.table-two[_ngcontent-%COMP%] app-whats-this[_ngcontent-%COMP%]{display:inline-block;margin-left:-.65rem;margin-top:.5rem}}.table-one[_ngcontent-%COMP%], .table-two[_ngcontent-%COMP%], .legal-text[_ngcontent-%COMP%]{margin-top:2rem}"],changeDetection:0})}}return n})();const Sk=(n,r)=>({label:n,code:"description",options:r}),$k=(n,r)=>({label:n,code:"maturitydate",options:r}),Ek=(n,r)=>({label:n,code:"couponfrequency",options:r}),Dk=(n,r)=>({label:n,code:"nextcoupondate",options:r}),jk=(n,r)=>({label:n,code:"price",options:r}),Nk=(n,r)=>({label:n,code:"currentyield",options:r}),Yk=(n,r)=>({label:n,code:"yieldtomaturity",options:r}),Xk=(n,r)=>({label:n,code:"accrueddays",options:r}),Bk=(n,r)=>({label:n,code:"accruedinterest",options:r}),Vk=(n,r)=>({label:n,code:"duration",options:r}),Pn=n=>({errorText:n});function Lk(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",16),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.clearAll())}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.clearFiltersLabel.value," ")}}function Ak(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",17),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.applyFilters())}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.addFilterLabel.value," ")}}function qk(n,r){if(1&n&&(e.qex(0),e.EFF(1," matches "),e.j41(2,"strong"),e.EFF(3),e.k0s(),e.bVm()),2&n){const t=r.$implicit;e.R7$(3),e.JRh(t)}}function Uk(n,r){if(1&n&&(e.j41(0,"div",25)(1,"span")(2,"strong"),e.EFF(3),e.k0s(),e.DNE(4,qk,4,1,"ng-container",26),e.k0s()()),2&n){const t=r.$implicit,i=e.XpG(2);e.R7$(3),e.JRh(i.getFilteredByLabelByName(t.name)),e.R7$(),e.Y8G("ngForOf",t.value)}}function zk(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",18)(1,"div",19)(2,"div",20),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.toggleAccordion("filtered-by-accordion"))}),e.j41(3,"span",4),e.EFF(4),e.k0s(),e.nrm(5,"span",21),e.k0s(),e.j41(6,"div",22)(7,"div",23),e.DNE(8,Uk,5,2,"div",24),e.nI1(9,"async"),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(4),e.JRh(t.content.filterSummaryTitle.value),e.R7$(4),e.Y8G("ngForOf",e.bMT(9,2,t.summaryFilters$))}}function Hk(n,r){if(1&n&&(e.j41(0,"div",27),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.notFoundMessage.value," ")}}function Wk(n,r){if(1&n){const t=e.RV6();e.j41(0,"li",31)(1,"div",32),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2).code,s=e.XpG();return e.Njj(s.sortBy(o.value,a))}),e.EFF(2),e.k0s()()}if(2&n){const t=r.$implicit,i=e.XpG(3);e.Y8G("ngClass",i.selectedSort===t.value?"active-sort":""),e.R7$(),e.FS9("title",t.label),e.R7$(),e.JRh(t.label)}}function Jk(n,r){if(1&n&&(e.j41(0,"ul"),e.DNE(1,Wk,3,3,"li",30),e.k0s()),2&n){const t=e.XpG().options;e.R7$(),e.Y8G("ngForOf",t)}}function Kk(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",28),e.bIt("click",function(){const o=e.eBV(t).code,a=e.XpG();return e.Njj(a.toggleOption(o))}),e.EFF(1),e.k0s(),e.j41(2,"span",29),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.toggleOption())}),e.DNE(3,Jk,2,1,"ul",14),e.k0s()}if(2&n){const t=r.label,i=r.code,o=r.options,a=e.XpG();e.Y8G("ngClass",a.isSortDesc(i,o)?"reverse":""),e.R7$(),e.JRh(t),e.R7$(),e.Y8G("ngClass",a.selectedDropDown===i?"expanded":""),e.R7$(),e.Y8G("ngIf",o)}}function Qk(n,r){1&n&&e.eu8(0)}function Zk(n,r){if(1&n&&(e.j41(0,"div",55),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" & ",t.isin.label," ")}}function ey(n,r){1&n&&e.eu8(0)}function ty(n,r){1&n&&e.eu8(0)}function ny(n,r){1&n&&e.eu8(0)}function iy(n,r){1&n&&e.eu8(0)}function oy(n,r){1&n&&e.eu8(0)}function ry(n,r){1&n&&e.eu8(0)}function ay(n,r){1&n&&e.eu8(0)}function sy(n,r){1&n&&e.eu8(0)}function ly(n,r){1&n&&e.eu8(0)}function cy(n,r){if(1&n&&(e.j41(0,"tr",42)(1,"th",43),e.DNE(2,Qk,1,0,"ng-container",44)(3,Zk,2,1,"div",45),e.k0s(),e.j41(4,"th",46),e.DNE(5,ey,1,0,"ng-container",44),e.k0s(),e.j41(6,"th",47),e.DNE(7,ty,1,0,"ng-container",44),e.k0s(),e.j41(8,"th",48),e.DNE(9,ny,1,0,"ng-container",44),e.k0s(),e.j41(10,"th",49),e.DNE(11,iy,1,0,"ng-container",44),e.k0s(),e.j41(12,"th",50),e.DNE(13,oy,1,0,"ng-container",44),e.k0s(),e.j41(14,"th",51),e.DNE(15,ry,1,0,"ng-container",44),e.k0s(),e.j41(16,"th",52),e.DNE(17,ay,1,0,"ng-container",44),e.k0s(),e.j41(18,"th",53),e.DNE(19,sy,1,0,"ng-container",44),e.k0s(),e.j41(20,"th",54),e.DNE(21,ly,1,0,"ng-container",44),e.k0s()()),2&n){const t=r.$implicit,i=e.XpG(2),o=e.sdS(18);e.AVh("disabled",1==i.status.refreshing),e.R7$(),e.Y8G("ngClass","description"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(33,Sk,t.description.label,i.dropdownSortOptions.description)),e.R7$(),e.Y8G("ngIf",t.isin.label),e.R7$(),e.Y8G("ngClass","maturitydate"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(36,$k,t.maturitydate.label,i.dropdownSortOptions.maturity)
1),e.R7$(),e.Y8G("ngClass","couponfrequency"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(39,Ek,t.couponfrequency.label,i.dropdownSortOptions.couponfrequency)),e.R7$(),e.Y8G("ngClass","nextcoupondate"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(42,Dk,t.nextcoupondate.label,i.dropdownSortOptions.nextcoupondate)),e.R7$(),e.Y8G("ngClass","price"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(45,jk,t.price.label,i.dropdownSortOptions.price)),e.R7$(),e.Y8G("ngClass","currentyield"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(48,Nk,t.currentyield.label,i.dropdownSortOptions.currentyield)),e.R7$(),e.Y8G("ngClass","yieldtomaturity"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(51,Yk,t.yieldtomaturity.label,i.dropdownSortOptions.yieldtomaturity)),e.R7$(),e.Y8G("ngClass","accrueddays"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(54,Xk,t.accrueddays.label,i.dropdownSortOptions.accrueddays)),e.R7$(),e.Y8G("ngClass","accruedinterest"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(57,Bk,t.accruedinterest.label,i.dropdownSortOptions.accruedinterest)),e.R7$(),e.Y8G("ngClass","duration"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(60,Vk,t.duration.label,i.dropdownSortOptions.duration))}}function py(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",67),e.nI1(2,"companyUrl"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,7,t))("linkClasses","black-link")("dashClasses","black-link")("value",t.description.value)("errorText",t.description.errorText)("visibility",t.description.visibility)("isFirstColumnLink",!0)}}function my(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",t.description.value," ")}}function _y(n,r){if(1&n&&(e.qex(0),e.DNE(1,my,2,1,"span",14),e.eu8(2,68),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.description.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Pn,t.description.errorText))}}function dy(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",69),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function uy(n,r){if(1&n&&(e.qex(0),e.DNE(1,_y,3,5,"ng-container",14)(2,dy,3,1,"ng-container",14),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.description.visibility),e.R7$(),e.Y8G("ngIf",!t.description.visibility)}}function gy(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",67),e.nI1(2,"companyUrl"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,7,t))("linkClasses","blue-text")("dashClasses","blue-text")("value",t.isin.value)("errorText",t.isin.errorText)("visibility",t.isin.visibility)("isFirstColumnLink",!0)}}function hy(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",70),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(2),e.JRh(t.isin.value)}}function fy(n,r){if(1&n&&(e.qex(0),e.DNE(1,hy,3,1,"ng-container",14),e.eu8(2,68),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.isin.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Pn,t.isin.errorText))}}function vy(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",69),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function by(n,r){if(1&n&&(e.qex(0),e.DNE(1,fy,3,5,"ng-container",14)(2,vy,3,1,"ng-container",14),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.isin.visibility),e.R7$(),e.Y8G("ngIf",!t.isin.visibility)}}function Cy(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",71),e.nI1(2,"companyUrl"),e.nI1(3,"customdate"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(3,8,t.maturitydate.value))("errorText",t.maturitydate.errorText)("visibility",t.maturitydate.visibility)}}function Ty(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"customdate"),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.maturitydate.value)," ")}}function xy(n,r){if(1&n&&(e.qex(0),e.DNE(1,Ty,3,3,"span",14),e.eu8(2,68),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.maturitydate.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Pn,t.maturitydate.errorText))}}function ky(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",69),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function yy(n,r){if(1&n&&(e.qex(0),e.DNE(1,xy,3,5,"ng-container",14)(2,ky,3,1,"ng-container",14),e.nrm(3,"span",72),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.maturitydate.visibility),e.R7$(),e.Y8G("ngIf",!t.maturitydate.visibility)}}function wy(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",71),e.nI1(2,"companyUrl"),e.nI1(3,"customnumber"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(3,8,t.couponfrequency.value))("errorText",t.couponfrequency.errorText)("visibility",t.couponfrequency.visibility)}}function Iy(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",71),e.nI1(2,"companyUrl"),e.nI1(3,"customdate"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(3,8,t.nextcoupondate.value))("errorText",t.nextcoupondate.errorText)("visibility",t.nextcoupondate.visibility)}}function My(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",71),e.nI1(2,"companyUrl"),e.nI1(3,"customnumber"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(3,8,t.price.value))("errorText",t.price.errorText)("visibility",t.price.visibility)}}function Oy(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",71),e.nI1(2,"companyUrl"),e.nI1(3,"customnumber"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(3,8,t.currentyield.value))("errorText",t.currentyield.errorText)("visibility",t.currentyield.visibility)}}function Ry(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",71),e.nI1(2,"companyUrl"),e.nI1(3,"customnumber"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(3,8,t.yieldtomaturity.value))("errorText",t.yieldtomaturity.errorText)("visibility",t.yieldtomaturity.visibility)}}function Fy(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",71),e.nI1(2,"companyUrl"),e.nI1(3,"customnumber"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(3,8,t.accrueddays.value))("errorText",t.accrueddays.errorText)("visibility",t.accrueddays.visibility)}}function Py(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",71),e.nI1(2,"companyUrl"),e.nI1(3,"customnumber"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(3,8,t.accruedinterest.value))("errorText",t.accruedinterest.errorText)("visibility",t.accruedinterest.visibility)}}function Gy(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",71),e.nI1(2,"companyUrl"),e.nI1(3,"customnumber"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t))("linkClasses","black-link")("dashClasses","black-link")("value",e.bMT(3,8,t.duration.value))("errorText",t.duration.errorText)("visibility",t.duration.visibility)}}function Sy(n,r){if(1&n){const t=e.RV6();e.j41(0,"tr",56)(1,"td",57),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.clickOnCell(o))}),e.DNE(2,py,3,9,"ng-container",14),e.nI1(3,"async"),e.DNE(4,uy,3,2,"ng-container",14),e.nI1(5,"async"),e.DNE(6,gy,3,9,"ng-container",14),e.nI1(7,"async"),e.DNE(8,by,3,2,"ng-container",14),e.nI1(9,"async"),e.k0s(),e.j41(10,"td",58),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.clickOnCell(o))}),e.DNE(11,Cy,4,10,"ng-container",14),e.nI1(12,"async"),e.DNE(13,yy,4,2,"ng-container",14),e.nI1(14,"async"),e.k0s(),e.j41(15,"td",59),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.clickOnCell(o))}),e.DNE(16,wy,4,10,"ng-container",14),e.nI1(17,"async"),e.k0s(),e.j41(18,"td",60),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.clickOnCell(o))}),e.DNE(19,Iy,4,10,"ng-container",14),e.nI1(20,"async"),e.k0s(),e.j41(21,"td",61),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.clickOnCell(o))}),e.DNE(22,My,4,10,"ng-container",14),e.nI1(23,"async"),e.k0s(),e.j41(24,"td",62),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.clickOnCell(o))}),e.DNE(25,Oy,4,10,"ng-container",14),e.nI1(26,"async"),e.k0s(),e.j41(27,"td",63),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.clickOnCell(o))}),e.DNE(28,Ry,4,10,"ng-container",14),e.nI1(29,"async"),e.k0s(),e.j41(30,"td",64),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.clickOnCell(o))}),e.DNE(31,Fy,4,10,"ng-container",14),e.nI1(32,"async"),e.k0s(),e.j41(33,"td",65),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.clickOnCell(o))}),e.DNE(34,Py,4,10,"ng-container",14),e.nI1(35,"async"),e.k0s(),e.j41(36,"td",66),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.clickOnCell(o))}
1),e.DNE(37,Gy,4,10,"ng-container",14),e.nI1(38,"async"),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",!e.bMT(3,14,t.getOnTablet())),e.R7$(2),e.Y8G("ngIf",e.bMT(5,16,t.getOnTablet())),e.R7$(2),e.Y8G("ngIf",!e.bMT(7,18,t.getOnTablet())),e.R7$(2),e.Y8G("ngIf",e.bMT(9,20,t.getOnTablet())),e.R7$(3),e.Y8G("ngIf",!e.bMT(12,22,t.getOnTablet())),e.R7$(2),e.Y8G("ngIf",e.bMT(14,24,t.getOnTablet())),e.R7$(3),e.Y8G("ngIf",!e.bMT(17,26,t.getOnTablet())),e.R7$(3),e.Y8G("ngIf",!e.bMT(20,28,t.getOnTablet())),e.R7$(3),e.Y8G("ngIf",!e.bMT(23,30,t.getOnTablet())),e.R7$(3),e.Y8G("ngIf",!e.bMT(26,32,t.getOnTablet())),e.R7$(3),e.Y8G("ngIf",!e.bMT(29,34,t.getOnTablet())),e.R7$(3),e.Y8G("ngIf",!e.bMT(32,36,t.getOnTablet())),e.R7$(3),e.Y8G("ngIf",!e.bMT(35,38,t.getOnTablet())),e.R7$(3),e.Y8G("ngIf",!e.bMT(38,40,t.getOnTablet()))}}function $y(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-paginator",73),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.onSubmit(o))}),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("totalPages",null==t.content.pagination?null:t.content.pagination.totalPages)("currentPage",null==t.content.pagination?null:t.content.pagination.page)}}function Ey(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",74),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.scrollTop())}),e.k0s()}}function Dy(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",75),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.scrollTop())}),e.k0s()}}function jy(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",33)(2,"span",34),e.EFF(3),e.k0s(),e.EFF(4),e.k0s(),e.j41(5,"table",35)(6,"thead"),e.DNE(7,cy,22,63,"tr",36),e.nI1(8,"slice"),e.k0s(),e.j41(9,"tbody"),e.DNE(10,Sy,39,42,"tr",37),e.k0s()(),e.j41(11,"div"),e.DNE(12,$y,1,2,"app-paginator",38),e.k0s(),e.j41(13,"div",39),e.EFF(14," As at "),e.j41(15,"span",4),e.EFF(16),e.nI1(17,"customdate"),e.nI1(18,"customdate"),e.k0s(),e.EFF(19),e.k0s(),e.DNE(20,Ey,1,0,"div",40),e.nI1(21,"async"),e.DNE(22,Dy,1,0,"div",41),e.nI1(23,"async"),e.bVm()),2&n){const t=e.XpG();e.R7$(3),e.SpI("",null==t.content.pagination?null:t.content.pagination.totalItems," results"),e.R7$(),e.SpI(" (",null==t.content.advancedBondsResults?null:t.content.advancedBondsResults.length," showing) "),e.R7$(3),e.Y8G("ngForOf",e.brH(8,12,t.content.advancedBondsResults,0,1)),e.R7$(3),e.Y8G("ngForOf",t.content.advancedBondsResults),e.R7$(),e.AVh("disabled",1==t.status.refreshing),e.R7$(),e.Y8G("ngIf",t.content.advancedBondsResults),e.R7$(4),e.Lme("",e.i5U(17,16,t.status.refreshedTime,"short")," ",e.ii3(18,19,t.status.refreshedTime,"time","Europe/London",!0),""),e.R7$(3),e.SpI(" - ",t.content.lastUpdate.value," "),e.R7$(),e.Y8G("ngIf",t.content.advancedBondsResults&&(null==t.content.advancedBondsResults?null:t.content.advancedBondsResults.length)>0&&e.bMT(21,24,t.summaryFilters$).length>0),e.R7$(2),e.Y8G("ngIf",t.content.advancedBondsResults&&(null==t.content.advancedBondsResults?null:t.content.advancedBondsResults.length)>0&&e.bMT(23,26,t.summaryFilters$).length>0)}}function Ny(n,r){if(1&n&&e.nrm(0,"app-hide-field",77),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function Yy(n,r){1&n&&e.DNE(0,Ny,1,1,"app-hide-field",76),2&n&&e.Y8G("ngIf",r.errorText)}let co=(()=>{class n{constructor(t,i,o,a,s,c,d,C,T,I){this.filtersService=t,this.store=i,this.refreshService=o,this.isBreakpoint=a,this.elementRef=s,this.accordionHandler=c,this.scrollToService=d,this.platformId=C,this.pageTitleService=T,this.urlHandlerService=I,this.firstLevelFilters=null,this.filteredBy$=(0,q.of)([]),this.summaryFilters$=(0,q.of)([]),this.dropdownSortOptions=null,this.selectedDropDown="",this.defaultItemsPerPage=20,this.activeBond=null,this.defaultFieldValue=w.M.DEFAULT_VALUE,this.hideApply=!1,this.ngUnsubscribe=new re.B,this.filteredByLabelsMap=new Map,this.defaultSorting="description,asc",this.defaultActiveCode="description",this.paramsWeightMap=new Map([["q",0],["Maturity",1],["couponrate",2],["currentyield",3],["Coupon type",4],["yieldtomaturity",5]]),this.filtersService.store=this.store,this.filtersService.urlService=this.urlHandlerService}ngOnInit(){this.dropdownSortOptions=this.getDropdownSortOptions(),this.firstLevelFilters=this.getFirstLevelFilters(),this.filtersService.firstLevelFilters=this.firstLevelFilters,this.filteredBy$=this.filtersService.getFilters(!0).pipe((0,ie.Q)(this.ngUnsubscribe)),this.summaryFilters$=this.filtersService.getFilters(!0).pipe((0,f.s)(1)),this.setFilteredByLabelMap(),this.filterSummary(),this.setPageTitle(),this.status={...this.status,params:this.filtersService.getHttpFilters()},this.isBreakpoint.setOnTabletLandScape(),this.setSort(),this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content,this.status)}ngAfterViewInit(){this.scrollToResults(!1)}ngOnChanges(t){!(0,l.UE)(this.platformId)||t.content?.currentValue===t.content?.previousValue||(this.filterSummary(),this.setPageTitle(),(0,$e.A)(t)||(this.content.advancedBondsResults=[]),this.scrollToResults())}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this.refreshService.unsetRefreshComponent(this.id
1),this.clearAll()}getDropdownSortOptions(){return{description:[{value:"description,asc",label:this.content.orderByNameAsc.value},{value:"description,desc",label:this.content.orderByNameDesc.value}],maturity:[{value:"maturitydate,desc",label:this.content.orderByMaturityDesc.value},{value:"maturitydate,asc",label:this.content.orderByMaturityAsc.value}],nextcoupondate:[{value:"nextcoupondate,desc",label:this.content.orderByExpectedCouponPaymentDesc.value},{value:"nextcoupondate,asc",label:this.content.orderByExpectedCouponPaymentAsc.value}],couponfrequency:[{value:"couponfrequency,desc",label:this.content.orderByCouponFrequencyDesc.value},{value:"couponfrequency,asc",label:this.content.orderByCouponFrequencyAsc.value}],price:[{value:"price,desc",label:this.content.orderByPriceDesc.value},{value:"price,asc",label:this.content.orderByPriceAsc.value}],currentyield:[{value:"currentyield,desc",label:this.content.orderByCurrentYieldDesc.value},{value:"currentyield,asc",label:this.content.orderByCurrentYieldAsc.value}],yieldtomaturity:[{value:"yieldtomaturity,desc",label:this.content.orderByYieldToMaturityDesc.value},{value:"yieldtomaturity,asc",label:this.content.orderByYieldToMaturityAsc.value}],accrueddays:[{value:"accrueddays,desc",label:this.content.orderByAccruedDaysDesc.value},{value:"accrueddays,asc",label:this.content.orderByAccruedDaysAsc.value}],accruedinterest:[{value:"accruedinterest,desc",label:this.content.orderByAccruedInterestDesc.value},{value:"accruedinterest,asc",label:this.content.orderByAccruedInterestAsc.value}],duration:[{value:"duration,desc",label:this.content.orderByDurationDesc.value},{value:"duration,asc",label:this.content.orderByDurationAsc.value}]}}onResize(){this.isBreakpoint.setOnTabletLandScape()}getOnTablet(){return this.isBreakpoint.getOnTabletLandScape()}getFirstLevelFilters(){return{name:null,label:this.content.filterByLabel.value,filters:[{key:"Company",value:this.content.isinTidmFilterLabel.value,subFilters:{name:"company",label:this.content.selectFilterLabel.value,filters:null}},{key:"Maturity",value:this.content.maturityFilterLabel.value,subFilters:{name:this.content.filtersMaturity.name,label:this.content.selectFilterLabel.value,filters:this.content.filtersMaturity.filters}},{key:"Coupon rate",value:this.content.couponRateFilterLabel.value,subFilters:{name:"couponrate",label:this.content.selectFilterLabel.value,filters:null}},{key:"Current yield",value:this.content.couponYieldFilterLabel.value,subFilters:{name:"currentyield",label:this.content.selectFilterLabel.value,filters:null}},{key:"Coupon type",value:this.content.couponTypeFilterLabel.value,subFilters:{name:this.content.filtersCouponType.n
1ame,label:this.content.selectFilterLabel.value,filters:this.content.filtersCouponType.filters}},{key:"Yield to maturity",value:this.content.yieldToMaturityFilterLabel.value,subFilters:{name:"yieldtomaturity",label:this.content.selectFilterLabel.value,filters:null}}],subFilters:null}}submit(t){var i=this;return(0,_.A)(function*(o,a=!1){o||i.filtersService.clearPageFilter(),i.filteredBy$=i.filtersService.getFilters().pipe((0,ie.Q)(i.ngUnsubscribe)),i.summaryFilters$=i.filtersService.getFilters().pipe((0,f.s)(1)),i.setSort();let s=i.filtersService.getHttpFilters();o&&o.keys().forEach(c=>s=s.set(c,o.get(c))),yield i.filtersService.addFiltersToUrl(o,a),i.status={...i.status,params:s},i.refreshService.refreshComponent(i.id,i.position,i.type,i.content,i.status)}).apply(this,arguments)}applyFilters(){var t=this;return(0,_.A)(function*(){yield t.submit()})()}clearAll(){var t=this;return(0,_.A)(function*(){t.filtersService.clearFilters(),t.scrollTop(),yield t.submit()})()}scrollTop(){this.scrollToService.scrollToTheElementById("advanced-bond-search",this.elementRef)}scrollToResults(){var t=this;return(0,_.A)(function*(i=!0){if(t.status.isRefreshAuto)return;const o=t.filtersService.getHttpFilters(),a=yield t.urlHandlerService.getPageFromCurrentPath();(i&&a>=0||o&&o.keys().length>0)&&t.scrollToService.scrollToTheElementById("advanced-bond-search-results",t.elementRef)}).apply(this,arguments)}toggleOption(t=""){this.selectedDropDown=this.selectedDropDown===t?"":t}onSubmit(){var t=this;return(0,_.A)(function*(i=0){let o=(t.status.params||new F.Nl).set("page",`${i}`).set("size",`${t.defaultItemsPerPage}`);t.selectedSort&&(o=o.set("sort",t.selectedSort)),t.selectedSort===t.defaultSorting&&(o=o.delete("sort",t.selectedSort)),t.status={...t.status,currentPage:i,params:o},t.refreshService.refreshComponent(t.id,t.position,t.type,t.content,t.status)}).apply(this,arguments)}sortBy(t,i){var o=this;return(0,_.A)(function*(){o.setSort(t,i),yield o.onSubmit()})()}clickOnCell(t){this.isBreakpoint.tabletLandscape()&&(this.activeBond=t)}onClosedModal(){this.activeBond=null}toggleAccordion(t){this.accordionHandler.toggleAccordion(t,this.elementRef)}setFilteredByLabelMap(){this.filteredByLabelsMap.set("companyInstrument",this.content.isinTidmFilterLabel.value),this.filteredByLabelsMap.set("couponrate",this.content.couponRateFilterLabel.value),this.filteredByLabelsMap.set("currentyield",this.content.couponYieldFilterLabel.value),this.filteredByLabelsMap.set("yieldtomaturity",this.content.yieldToMaturityFilterLabel.value),this.filteredByLabelsMap.set(this.content.filtersCouponType.n
1ame,this.content.couponTypeFilterLabel.value),this.filteredByLabelsMap.set(this.content.filtersMaturity.name,this.content.maturityFilterLabel.value),this.filteredByLabelsMap.set("Coupon type",this.content.couponTypeFilterLabel.value),this.filteredByLabelsMap.set("Maturity",this.content.maturityFilterLabel.value),this.filteredByLabelsMap.set("codes",this.content.isinTidmFilterLabel.value),this.filteredByLabelsMap.set("issuers",this.content.isinTidmFilterLabel.value),this.filteredByLabelsMap.set("q",this.content.isinTidmFilterLabel.value)}getFilteredByLabelByName(t){return this.filteredByLabelsMap.get(t)||"-"}filterSummary(){this.summaryFilters$&&this.summaryFilters$.forEach(t=>{t.filter(i=>"issuers"===i.name).map(i=>{i.value[0]=this.content.issuerReferenceDataName.value||i.value[0]})})}checkApplyVisibility(t){this.hideApply="Company"===t}isSortDesc(t,i){return this.selectedSort===i[1].value&&this.activeCode===t}setSort(t,i){this.selectedSort=t||this.defaultSorting,this.activeCode=i||this.defaultActiveCode}setPageTitle(){this.filteredBy$&&this.summaryFilters$.pipe((0,f.s)(1)).subscribe(t=>{this.pageTitleService.dispatchPageTitlePrefix([t.reduce((i,o)=>(i.push(`${o.value.join(", ")} ${this.getFilteredByLabelByName(o.name)}`),i),[]).join(" - ")])})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Ve.B),e.rXU(u.il),e.rXU(j.W),e.rXU(S.f),e.rXU(e.aKT),e.rXU(Je.h),e.rXU(le.W),e.rXU(e.Agw),e.rXU(pe.P),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-advanced-bond-search"]],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)},inputs:{content:"content",type:"type",position:"position",id:"id",status:"status"},features:[e.OA$],decls:23,vars:29,consts:[["SortOptionDropDown",""],["emptyvalue",""],["id","advanced-bond-search","appBackBrowserClick","",1,"abs-component","component","wrapper","x-large-width","x-large-width-padding","component-refresh","gtm-track-component",3,"refreshComponent","scrollTop","ngClass"],[1,"abs-header","flex-wrapper","spaced-flex-container"],[1,"bold-font-weight"],[1,"base-font-size"],[3,"whatsThisLink","whatsThisText"],["id","advanced-bond-filters-wrapper",1,"filters"],[3,"doSubmitFilters","checkApply","filters","filtersLabel","clearFiltersLabel","addFilterLabel","firstLevelFilter","filtersService","showMore","explorerType","placeholderL
1abel","paramsWeightMap"],[1,"buttons-container"],["class","gold-button outline bold-font-weight gtm-trackable clear-button",3,"click",4,"ngIf"],["class","gold-button bold-font-weight gtm-trackable apply-button",3,"click",4,"ngIf"],["class","filtered-by",4,"ngIf"],["class","large-font-size",4,"ngIf"],[4,"ngIf"],[3,"closedModal","instrument","showTrack","showTidm"],[1,"gold-button","outline","bold-font-weight","gtm-trackable","clear-button",3,"click"],[1,"gold-button","bold-font-weight","gtm-trackable","apply-button",3,"click"],[1,"filtered-by"],["id","filtered-by-accordion",1,"row-group","accordion-container"],[1,"accordion-header","gtm-trackable",3,"click"],[1,"accordion-toggler"],[1,"accordion-content"],[1,"filters-list"],["class","filter-filtered",4,"ngFor","ngForOf"],[1,"filter-filtered"],[4,"ngFor","ngForOf"],[1,"large-font-size"],[1,"indented","clickable",3,"click","ngClass"],[1,"dropmenu","dropdown",3,"click","ngClass"],["class","sort-option",3,"ngClass",4,"ngFor","ngForOf"],[1,"sort-option",3,"ngClass"],[3,"click","title"],[1,"results-header"],[1,"total-results","bold-font-weight"],["id","advanced-bond-search-results",1,"full-width","abs-results"],["class","table-header",3,"disabled",4,"ngFor","ngForOf"],["class","medium-font-weight",4,"ngFor","ngForOf"],[3,"totalPages","currentPage","goToPage",4,"ngIf"],[1,"abs-legal-text","small-font-size","wrapper","x-large-width","x-large-width-padding"],["class","back-to-top hide-on-mobile",3,"click",4,"ngIf"],["class","back-to-top show-on-mobile",3,"click",4,"ngIf"],[1,"table-header"],[1,"name",3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","label-wrap secondlabel",4,"ngIf"],[1,"maturity",3,"ngClass"],[1,"coupon-frequency","hide-on-desktop",3,"ngClass"],[1,"coupon-payment","hide-on-desktop",3,"ngClass"],[1,"price","hide-on-desktop",3,"ngClass"],[1,"current-yield","hide-on-desktop",3,"ngClass"],[1,"yield-maturity","hide-on-desktop",3,"ngClass"],[1,"accrued-day","hide-on-desktop",3,"ngClass"],[1,"accrued-interest","hide-on-desktop",3,"ngClass"],[1,"duration","hide-on-desktop",3,"ngClass"],[1,"label-wrap","secondlabel"],[1,"medium-font-weight"],[1,"clickable","bond-tidm","code","gtm-trackable",3,"click"],[1,"clickable","bond-maturity","gtm-trackable",3,"click"],[1,"clickable","bond-frequency","gtm-trackable","hide-on-desktop",3,"click"],[1,"clickable","bond-coupon-payment","gtm-trackable","hide-on-desktop",3,"click"],[1,"clickable","bond-price","gtm-trackable","hide-on-desktop",3,"click"],[1,"clickable","bond-current-yield","gtm-trackable","hide-on-desktop",3,"click"],[1,"clickable","bond-yield-maturity","gtm-trackable","hide-on-desktop",3,"click"],[1,"clickable","bond-accrued-day","gtm-trackable","hide-on-desktop",3,"click"],[1,"clickable","bond-accrued-interest","gtm-trackable","hide-on-desktop",3,"click"],[1,"clickable","bond-duration","gtm-trackable","hide-on-desktop",3,"click"],[3,"link","linkClasses","dashClasses","value","errorText","visibility","isFirstColumnLink"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"dash-wrapper"],[1,"blue-text"],[3,"link","linkClasses","dashClasses","value","errorText","visibility"],[1,"clickable","gtm-trackable","show-on-landscape","selected-indicator"],[3,"goToPage","totalPages","currentPage"],[1,"back-to-top","hide-on-mobile",3,"click"],[1,"back-to-top","show-on-mobile",3,"click"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"section",2),e.bIt("refreshComponent",function(c){return e.eBV(a),e.Njj(o.submit(c,!0))})("scrollTop",function(){return e.eBV(a),e.Njj(o.scrollTop())}),e.j41(1,"div",3)(2,"h3",4),e.EFF(3),e.j41(4,"span",5),e.nrm(5,"app-whats-this",6),e.k0s()(),e.j41(6,"p"),e.EFF(7),e.k0s()(),e.j41(8,"div",7)(9,"app-filters-toggle",8),e.bIt("doSubmitFilters",function(){return e.eBV(a),e.Njj(o.applyFilters())})("checkApply",function(c){return e.eBV(a),e.Njj(o.checkApplyVisibility(c))}),e.k0s()(),e.j41(10,"div",9),e.DNE(11,Lk,2,1,"span",10),e.nI1(12,"async"),e.DNE(13,Ak,2,1,"span",11),e.k0s(),e.DNE(14,zk,10,4,"div",12),e.nI1(15,"async"),e.DNE(16,Hk,2,1,"div",13)(17,Kk,4,4,"ng-template",null,0,e.C5r)(19,jy,24,28,"ng-container",14),e.j41(20,"app-popup-table",15),e.bIt("closedModal",function(){return e.eBV(a),e.Njj(o.onClosedModal())}),e.k0s()(),e.DNE(21,Yy,1,1,"ng-template",null,1,e.C5r)}
12&i&&(e.Y8G("ngClass",o.activeBond?"modal-open":""),e.R7$(3),e.SpI(" ",o.content.title.value," "),e.R7$(2),e.Y8G("whatsThisLink",o.content.whatsThisLink)("whatsThisText",o.content.whatsThisText),e.R7$(2),e.JRh(o.content.summary.value),e.R7$(2),e.Y8G("filters",o.firstLevelFilters)("filtersLabel",o.content.filterByLabel.value)("clearFiltersLabel",o.content.clearFiltersLabel.value)("addFilterLabel",o.content.addFilterLabel.value)("firstLevelFilter",!0)("filtersService",o.filtersService)("showMore",o.content.showMoreLabel.value)("explorerType","advanced-bond-search")("placeholderLabel","issuer, code or ISIN")("paramsWeightMap",o.paramsWeightMap),e.R7$(),e.AVh("disabled",1==o.status.refreshing),e.R7$(),e.Y8G("ngIf",e.bMT(12,25,o.summaryFilters$).length),e.R7$(2),e.Y8G("ngIf",!o.hideApply),e.R7$(),e.Y8G("ngIf",e.bMT(15,27,o.summaryFilters$).length),e.R7$(2),e.Y8G("ngIf",0===o.content.advancedBondsResults.length),e.R7$(3),e.Y8G("ngIf",o.content.advancedBondsResults&&o.content.advancedBondsResults.length),e.R7$(),e.Y8G("instrument",o.activeBond)("showTrack",!1)("showTidm",!1))},dependencies:[l.YU,l.Sq,l.bT,l.T3,y.W,De.T,ue,ae,wn,Fn,xe,l.Jj,l.P9,ee.p,U.W,ve.b],styles:[".abs-component[_ngcontent-%COMP%]{margin-bottom:.5rem;margin-top:4rem}.abs-header[_ngcontent-%COMP%]{padding:0 0 1.5rem}.abs-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:1.5em;width:100%}.add-filters-label[_ngcontent-%COMP%]{margin-top:2.5rem}.results-header[_ngcontent-%COMP%]{clear:both;margin:1rem 0}.abs-results[_ngcontent-%COMP%], .abs-legal-text[_ngcontent-%COMP%]{margin-bottom:2.5rem}.blue-text[_ngcontent-%COMP%]:hover{color:#001eff}.clickable[_ngcontent-%COMP%]:hover{text-decoration:none}.sort-option[_ngcontent-%COMP%]:hover{text-decoration:underline}th[_ngcontent-%COMP%] .sort-option[_ngcontent-%COMP%]{color:#4d4d4d;font-weight:400}table[_ngcontent-%COMP%]{table-layout:fixed}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:.5rem;vertical-align:top}td[_ngcontent-%COMP%]{height:auto;min-height:4.5rem}.name[_ngcontent-%COMP%]{width:15rem}.price[_ngcontent-%COMP%]{width:5rem}th[_ngcontent-%COMP%]{width:auto}@media (max-width: 1023px){th[_ngcontent-%COMP%]{width:7rem}}.selected-indicator[_ngcontent-%COMP%]{float:right}.buttons-container[_ngcontent-%COMP%]{text-align:right}.apply-button[_ngcontent-%COMP%]{margin-left:1rem}.filtered-by[_ngcontent-%COMP%]{margin-bottom:1.5rem}.filtered-by[_ngcontent-%COMP%] .accordion-content[_ngcontent-%COMP%]{background:#fafafa;padding:1.5rem}.back-to-top.hide-on-mobile[_ngcontent-%COMP%]{bottom:1rem}.disabled[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}.label-wrap[_ngcontent-%COMP%]{flex-shrink:0;width:100%}.secondlabel[_ngcontent-%COMP%]{color:#000!important;display:block;padding-left:1.35rem}th[_ngcontent-%COMP%] .dropdown.expanded[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{width:calc(100% - .5rem)}"]})}}return n})(),po=(()=>{class n{constructor(){}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-ftse-index-story-diagram"]],decls:57,vars:0,consts:[["id","ftse-index-story-diagram",1,"ftse-index-story-diagram-component","component","wrapper","x-large-width","x-large-width-padding"],[1,"extrabold-font-weight"],[1,"regular-font-size"],[1,"diagram-canvas"],[1,"objective-step","diagram-step"],[1,"transparency-step","diagram-step"],[1,"flex-breaker"],[1,"investability-step","diagram-step"],[1,"availability-step","diagram-step"],[1,"liquidity-step","diagram-step"],[1,"benchmark-step","diagram-step"],["width","100%","height","100%",1,"canvas-lines","hide-on-desktop"],["x1","2.48%","x2","2.48%","y1","3.16%","y2","0.21%"],["x1","2.48%","x2","64.02%","y1","0.21%","y2","0.21%"],["x1","64.02%","x2","64.02%","y1","0.21%","y2","6.33%"],["x1","61.22%","x2","47.23%","y1","10.42%","y2","10.42%"],["x1","47.23%","x2","47.23%","y1","10.42%","y2","18.86%"],["x1","33.25%","x2","47.23%","y1","18.86%","y2","18.86%"],["x1","33.25%","x2","33.25%","y1","18.86%","y2","25.19%"],["x1","30.17%","x2","23.46%","y1","29.95%","y2","29.95%"],["x1","23.46%","x2","23.46%","y1","29.95%","y2","36.28%"],["x1","23.46%","x2","2.48%","y1","36.28%","y2","36.28%"],["x1","2.48%","x2","2.48%","y1","36.28%","y2","43.66%"],["x1","2.48%","x2","2.48%","y1","65.83%","y2","53.59%"],["x1","2.48%","x2","40.24%","y1","65.83%","y2","65.83%"],["x1","40.24%","x2","40.24%","y1","65.83%","y2","44.72%"],["x1","40.24%","x2","64.02%","y1","44.72%","y2","44.72%"],["x1","64.02%","x2","64.02%","y1","44.72%","y2","47.89%"],["x1","64.02%","x2","64.02%","y1","70.05%","y2","57.38%"],["x1","64.02%","x2","71.01%","y1","70.05%","y2","70.05%"],["x1","71.01%","x2","71.01%","y1","70.05%","y2","97.49%"],["x1","71.01%","x2","26.57%","y1","97.49%","y2","97.49%"],["x1","26.57%","x2","26.57%","y1","97.49%","y2","71.24%"],["x1","26.57%","x2","29.37%","y1","71.24%","y2","71.24%"]],template:function(i,o){1&i&&(e.j41(0,"div",0)(1,"h2",1),e.EFF(2," A leading measure for UK-listed blue chip companies since 1984 "),e.k0s(),e.j41(3,"div",2),e.EFF(4," The FTSE 100 is a market-capitalisation weighted index of UK-listed blue chip companies. The index is part of the FTSE UK Index Series and is designed to measure the performance of the 100 largest companies traded on the London Stock Exchange that pass screening for size and liquidity. FTSE 100 Index constituents are all traded on the London Stock Exchange\u2019s SETS trading system. "),e.k0s(),e.j41(5,"div",3)(6,"div",4)(7,"h3"),e.EFF(8,"Objective"),e.k0s(),e.EFF(9," The index is designed for use in the creation of index tracking funds, derivatives and as a performance benchmark. "),e.k0s(),e.j41(10,"div",5)(11,"h3"),e.EFF(12,"Transparency"),e.k0s(),e.EFF(13," The index uses a transparent, rules-based construction process. Index rules are freely available on FTSE Russell\u2019s website. "),e.k0s(),e.nrm(14,"div",6),e.j41(15,"div",7)(16,"h3"),e.EFF(17,"Investability"),e.k0s(),e.EFF(18," Stocks are selected and weighted to ensure practical index implementation into investment products. "),e.k0s(),e.nrm(19,"div",6),e.j41(20,"div",8)(21,"h3"),e.EFF(22,"Availability"),e.k0s(),e.EFF(23," The index is calculated based on price and total return methodologies, both real time intra-second and end-of-day. "),e.k0s(),e.j41(24,"div",9)(25,"h3"),e.EFF(26,"Liquidity"),e.k0s(),e.EFF(27," Stocks are screened to ensure that investors can replicate the index. "),e.k0s(),e.nrm(28,"div",6),e.j41(29,"div",10)(30,"h3"),e.EFF(31,"Industry Classification Benchmark"),e.k0s(),e.EFF(32," Index constituents are categorised in accordance with the Industry Classification Benchmark (ICB\xae), a globally recognized standard for categorizing companies and securities, operated and managed by FTSE Russell. "),e.k0s(),e.nrm(33,"div",6),e.qSk(),e.j41(34,"svg",11),e.nrm(35,"line",12)(36,"line",13)(37,"line",14)(38,"line",15)(39,"line",16)(40,"line",17)(41,"line",18)(42,"line",19)(43,"line",20)(44,"line",21)(45,"line",22)(46,"line",23)(47,"line",24)(48,"line",25)(49,"line",26)(50,"line",27)(51,"line",28)(52,"line",29)(53,"line",30)(54,"line",31)(55,"line",32)(56,"line",33),e.k0s()()())},styles:['@media (max-width: 1144px){.ftse-index-story-diagram-component[_ng
1content-%COMP%]{margin-bottom:3rem}}.diagram-canvas[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-between;margin:2.5rem auto -1rem;padding:1.5rem 0;position:relative}@media (max-width: 1144px){.diagram-canvas[_ngcontent-%COMP%]{display:block;margin-bottom:0;padding:0}}.diagram-step[_ngcontent-%COMP%]{padding:1.5rem 1.5rem 1.5rem 5.375rem;position:relative;width:27.625rem;z-index:1}@media (max-width: 1144px){.diagram-step[_ngcontent-%COMP%]{margin:0 auto 1.5rem!important;width:auto}}.diagram-step[_ngcontent-%COMP%]:before{background-position:top center;background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:7.75rem;left:-1.95rem;position:absolute;top:-2.15rem;transform:scale(.5);width:7.75rem}@media (max-width: 1144px){.diagram-step[_ngcontent-%COMP%]:before{left:-1.25rem!important;top:-1.75rem!important}}.flex-breaker[_ngcontent-%COMP%]{width:100%}.canvas-lines[_ngcontent-%COMP%]{left:0;position:absolute;top:0;z-index:0}.canvas-lines[_ngcontent-%COMP%] line[_ngcontent-%COMP%]{stroke:#001eff;stroke-dasharray:5;stroke-width:.125rem}.objective-step[_ngcontent-%COMP%]:before{background-image:url(assets/static/index_story_objective.svg)}.transparency-step[_ngcontent-%COMP%]{margin-top:2rem}.transparency-step[_ngcontent-%COMP%]:before{background-image:url(assets/static/index_story_transparency.svg)}.investability-step[_ngcontent-%COMP%]{margin:0 auto}.investability-step[_ngcontent-%COMP%]:before{background-image:url(assets/static/index_story_investability.svg);top:-2.5rem}.availability-step[_ngcontent-%COMP%]:before{background-image:url(assets/static/index_story_availability.svg);top:-2.75rem}.liquidity-step[_ngcontent-%COMP%]{margin-top:2rem}.liquidity-step[_ngcontent-%COMP%]:before{background-image:url(assets/static/index_story_liquidity.svg);top:-3rem}.benchmark-step[_ngcontent-%COMP%]{margin:2rem auto 0}.benchmark-step[_ngcontent-%COMP%]:before{background-image:url(assets/static/index_story_benchmark.svg);left:-2.5rem;top:-3.5rem}'],changeDetection:0})}}return n})();var Wt=p(22533);const Jt=n=>({errorText:n});function Xy(n,r){if(1&n&&e.nrm(0,"app-hide-field",15),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function By(n,r){1&n&&e.DNE(0,Xy,1,1,"app-hide-field",14),2&n&&e.Y8G("ngIf",r.errorText)}function Vy(n,r){if(1&n&&(e.j41(0,"span",25),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.description.value)}}function Ly(n,r){if(1&n&&(e.qex(0),e.DNE(1,Vy,2,1,"span",23),e.eu8(2,24),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(1);e.R7$(),e.Y8G("ngIf",!t.description.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Jt,t.description.errorText))}}function Ay(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"customnumber"),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(e.bMT(2,1,t.value.value))}}function qy(n,r){if(1&n&&(e.qex(0),e.DNE(1,Ay,3,3,"span",12),e.eu8(2,24),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(1);e.R7$(),e.Y8G("ngIf",!t.value.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Jt,t.value.errorText))}}function Uy(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"customnumber"),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(e.bMT(2,1,t.netchange.value))}}function zy(n,r){if(1&n&&(e.qex(0),e.DNE(1,Uy,3,3,"span",12),e.eu8(2,24),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(1);e.R7$(),e.Y8G("ngIf",!t.netchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Jt,t.netchange.errorText))}}function Hy(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"customnumber"),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" (",e.i5U(2,1,t.percentualchange.value,"%"),") ")}}function Wy(n,r){if(1&n&&(e.j41(0,"span",26),e.DNE(1,Hy,3,4,"span",12),e.eu8(2,24),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(1);e.R7$(),e.Y8G("ngIf",!t.percentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Jt,t.percentualchange.errorText))}}function Jy(n,r){if(1&n){const t=e.RV6();e.j41(0,"tr",16),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG();return e.Njj(a.selectIndex(o))}),e.j41(1,"td",17),e.DNE(2,Ly,3,5,"ng-container",12),e.k0s(),e.j41(3,"td",18),e.DNE(4,qy,3,5,"ng-container",12),e.k0s(),e.j41(5,"td",19)(6,"span",20),e.DNE(7,zy,3,5,"ng-container",12)(8,Wy,3,5,"span",21),e.k0s(),e.nrm(9,"a",22),e.nI1(10,"ftseIndexUrl"),e.k0s()()}if(2&n){const t=r.$implicit,i=e.XpG();e.Y8G("ngClass",i.activeIndex.code.value===t.code.value?"active":""),e.R7$(),e.Y8G("ngClass",t.trend),e.R7$(),e.Y8G("ngIf",t.description.visibility),e.R7$(),e.Y8G("ngClass",t.trend),e.R7$(),e.Y8G("ngIf",t.value.visibility),e.R7$(),e.Y8G("ngClass",t.trend),e.R7$(),e.Y8G("ngClass",t.netchangesign.visibility&&!t.netchangesign.errorText?i.indexCssClass(t.netchangesign):""),e.R7$(),e.Y8G("ngIf",t.netchange.visibility),e.R7$(),e.Y8G("ngIf",t.percentualchange.visibility),e.R7$(),e.Y8G("href",e.bMT(10,10,i.activeIndex.description.value),e.B4B)}}function Ky(n,r){if(1&n&&(e.j41(0,"div",27)(1,"div",28),e.EFF(2," As at "),e.j41(3,"span",29),e.EFF(4),e.nI1(5,"customdate"),e.nI1(6,"customdate"),e.k0s(),e.EFF(7," - All data delayed at least 15 minutes "),e.k0s()()),2&n){const t=e.XpG();e.R7$(4),e.Lme("",e.i5U(5,2,null==t.status?null:t.status.refreshedTime,"short")," ",e.ii3(6,5,null==t.status?null:t.status.refreshedTime,"time","Europe/London",!0),"")}}function Qy(n,r){1&n&&(e.j41(0,"span"),e.EFF(1,"No market data"),e.k0s())}function Zy(n,r){if(1&n&&(e.j41(0,"div")(1,"h4",30)(2,"a",31),e.nI1(3,"ftseIndexUrl"),e.EFF(4),e.k0s()(),e.j41(5,"div",32),e.DNE(6,Qy,2,0,"span",12),e.k0s(),e.nrm(7,"div",33),e.j41(8,"a",34),e.nI1(9,"ftseIndexUrl"),e.EFF(10),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("href",e.bMT(3,5,t.activeIndex.description.value),e.B4B),e.R7$(2),e.JRh(t.activeIndex.description.value),e.R7$(2),e.Y8G("ngIf",t.errorMessage),e.R7$(2),e.Y8G("href",e.bMT(9,7,t.activeIndex.description.value),e.B4B),e.R7$(2),e.SpI("View ",t.activeIndex.description.value,"")}}function ew(n,r){if(1&n&&(e.j41(0,"div",35)(1,"div",28),e.EFF(2," As at "),e.j41(3,"span",29),e.EFF(4),e.nI1(5,"customdate"),e.nI1(6,"customdate"),e.k0s(),e.EFF(7," - All data delayed at least 15 minutes "),e.k0s()()),2&n){const t=e.XpG();e.R7$(4),e.Lme("",e.i5U(5,2,null==t.status?null:t.status.refreshedTime,"short")," ",e.ii3(6,5,null==t.status?null:t.status.refreshedTime,"time","Europe/London",!0),"")}}let mo=(()=>{class n extends Vt.v{constructor(t,i,o,a,s,c,d,C,T){super(i,o),this.platformId=t,this.doc=i,this.renderer=o,this.cssmapping=a,this.store=s,this.refreshService=c,this.cd=d,this.isBreakpoint=C,this.widgetsService=T,this.activeIndex=null,this.ftseIndices=[],this.rics=[]}ngOnInit(){(0,l.UE)(this.platformId)&&(this.onResize(),Promise.all([this.loadScripts(tt.JZ),this.loadLink(tt.RA)]).then(()=>{this.initChart()}),this.activeIndex=this.content.indicesWithChart.value[0],this.status={...this.status,params:(new F.Nl).set("size","1000")},this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content,this.status))}indexCssClass(t){return this.cssmapping.cssClass(t)}
1ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id),this.subscription&&this.subscription.unsubscribe(),window.advancedChartWidget?.destroy()}initAdvancedChart(t){window.dory?.config.setBasePath(M.c.endpoints.refinitivWidgets),window.advancedChartWidget=window.fdc__widgets__?.WAdvancedChart.init(".advanced-chart-widget",{ric:t},"en-GB",null,"lse"),window.advancedChartWidget.setSettings({chartType:"line"})}initChart(){window.dory?.config.setBasePath(M.c.endpoints.refinitivWidgets),this.ftseIndices=this.indices.map(i=>i.code.value);const t={category:Wt.c.INDEX,tidm:this.ftseIndices?.toString()?.includes("-")?null:this.ftseIndices?.toString()};t.tidm&&t.category&&this.widgetsService.getRics(t).then(i=>{if(i){this.rics=i;const o=i[0]?.ric;this.subscription=this.widgetsService.isSessionValid$.subscribe(a=>{a&&o&&this.initAdvancedChart(o)})}}).catch(i=>{i instanceof et.O&&i.type===et.U.RicsNotFound&&(this.errorMessage=!0,this.cd.detectChanges())})}selectIndex(t,i="not-first"){this.activeIndex=t;const o=this.rics.filter(a=>a.tidm===t.code.value)[0]?.ric;o&&this.initAdvancedChart(o),"not-first"===i&&this.store.dispatch(h.Jk({indicescode:t.code.value})),this.cd.markForCheck()}ngOnChanges(t){(0,l.UE)(this.platformId)&&t.content?.currentValue!==t.content?.previousValue&&(this.indices=this.generateCards(t.content,"indicesWithChart"))}onResize(){this.isDesktop=this.isBreakpoint.desktop()}generateCards(t,i){if(t.firstChange)return t.currentValue[i].value.map(s=>({...s,trend:null}));const a=t.previousValue[i].value;return t.currentValue[i].value.map(s=>{const c=a.filter(d=>s.code.value===d.code.value).shift();return{...s,trend:c?this.getChangeClass(c.value.value,s.value.value):null}})}getChangeClass(t,i){return t<i?"better":t===i?null:"worse"}getFtseOverviewLink(){return k.T.getLink("ftse-overview")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw),e.rXU(l.qQ),e.rXU(e.sFG),e.rXU(b.o),e.rXU(u.il),e.rXU(j.W),e.rXU(e.gRc),e.rXU(S.f),e.rXU(Bt.v))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-indices-with-chart"]],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)},inputs:{content:"content",id:"id",position:"position",type:"type",status:"status"},features:[e.Vt3,e.OA$],decls:21,vars:8,consts:[["emptyvalue",""],["id","indices-with-chart",1,"indices-with-chart-component","full-width","gtm-track-component","component"],[1,"wrapper","x-large-width","x-large-width-padding","indices-with-chart-wrapper"],[1,"mobile-flex-container","centered-flex-container","indices-with-chart-container"],[1,"aside-wrapper"],[1,"indices-header"],[1,"large-font-size","bold-font-weight","title"],[1,"indices-wrapper"],["class","gtm-trackable gtm-index",3,"ngClass","click",4,"ngFor","ngForOf"],["target","_blank",1,"regular-font-size","gold-button","bold-font-weight",3,"href"],["class","indices-with-chart-footer mobile-flex-wrapper spaced-flex-container flex-align-end",4,"ngIf"],[1,"chart-wrapper"],[4,"ngIf"],["class","indices-with-chart-footer mobile-flex-wrapper spaced-flex-container",4,"ngIf"],[3,"errorText",4,"ngIf"],[3,"errorText"],[1,"gtm-trackable","gtm-index",3,"click","ngClass"],[1,"index-description",3,"ngClass"],[1,"index-value",3,"ngClass"],[1,"index-change",3,"ngClass"],[3,"ngClass"],["class","hide-on-mobile",4,"ngIf"],["target","_blank",1,"chevron",3,"href"],["class","ellipsed",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ellipsed"],[1,"hide-on-mobile"],[1,"indices-with-chart-footer","mobile-flex-wrapper","spaced-flex-container","flex-align-end"],[1,"small-font-size","spaced-item"],[1,"bold-font-weight","refreshed-time"],[1,"bold-font-weight"],["target","_blank",3,"href"],[1,"widget-error-message-container"],[1,"advanced-chart-widget"],["target","_blank",1,"regular-font-size","gold-button","bold-font-weight","chart-button","cell-10-margin-top",3,"href"],[1,"indices-with-chart-footer","mobile-flex-wrapper","spaced-flex-container"]],template:function(i,o){1&i&&(e.DNE(0,By,1,1,"ng-template",null,0,e.C5r),e.j41(2,"section",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"h2",6),e.EFF(8),e.k0s(),e.j41(9,"p"),e.EFF(10),e.k0s()(),e.j41(11,"div",7)(12,"table"),e.DNE(13,Jy,11,12,"tr",8),e.k0s(),e.j41(14,"div")(15,"a",9),e.EFF(16),e.k0s()()(),e.DNE(17,Ky,8,10,"div",10),e.k0s(),e.j41(18,"div",11),e.DNE(19,Zy,11,9,"div",12),e.k0s()(),e.DNE(20,ew,8,10,"div",13),e.k0s()()),2&i&&(e.R7$(8),e.JRh(o.content.title.value),e.R7$(2),e.JRh(o.content.summary.value),e.R7$(3),e.Y8G("ngForOf",o.indices),e.R7$(2),e.Y8G("href",o.getFtseOverviewLink(),e.B4B),e.R7$(),e.JRh(o.content.viewAllIndicesLabel.value),e.R7$(),e.Y8G("ngIf",!o.isDesktop),e.R7$(2),e.Y8G("ngIf",o.activeIndex),e.R7$(),e.Y8G("ngIf",o.isDesktop))},dependencies:[l.YU,l.Sq,l.bT,l.T3,y.W,ee.p,U.W,zi.q],styles:['[_nghost-%COMP%] form.form-inline.v-widget-control-bar>div.sigdev-select{display:none!important}[_nghost-%COMP%] div.v-widget-sigdev-select{display:none}.widget-error-message-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-single-select[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{right:.625rem}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-input-checkbox[_ngcontent-%COMP%] .custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked:not(:disabled) ~ .custom-control-label[_ngcontent-%COMP%]:after{background-image:none!important}.theme--lse[_ngcontent-%COMP%]{--chart-color-0: #001eff !important;--dropdown-button-active-color: #001eff !important;--datepicker-bg-hover: #001eff !important;--dropdown-link-bg-hover: #001eff !important}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-highcharts--styled[_ngcontent-%COMP%] path.highcharts-point[_ngcontent-%COMP%]{stroke-width:1px}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .dropdown-item.active[_ngcontent-%COMP%] .dropdown-option-text[_ngcontent-%COMP%]{color:#fff}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-control-bar[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:hover, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-control-bar[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:focus{--dropdown-button-bg-hover: #001eff}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-control-bar[_ngcontent-%COMP%] .dropdown.show[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]{--dropdown-button-bg-active: #001eff}.highcharts-tooltip[_ngcontent-%COMP%] span.ric-name-wrapper[_ngcontent-%COMP%]{margin-top:-.5rem}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .w-advanced-chart-widget[_ngcontent-%COMP%] .v-highcharts[_ngcontent-%COMP%] .highstock-container[_ngcontent-%COMP%]{--chart-color-volume-down: #7e1b1b;
1--chart-color-psar-short: #7e1b1b;--chart-candlestick-negative: #7e1b1b;--chart-ohlc-negative: #7e1b1b;--chart-table-bar-negative-color: #7e1b1b}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-highcharts.v-highcharts--styled[_ngcontent-%COMP%] .highstock-container[_ngcontent-%COMP%] #gradient-0[_ngcontent-%COMP%] stop[_ngcontent-%COMP%]{--chart-series-color-0: rgba(22,124,244,.8)}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-highcharts.v-highcharts--styled[_ngcontent-%COMP%] .highstock-container[_ngcontent-%COMP%] #gradient-0[_ngcontent-%COMP%] stop[offset="0"][_ngcontent-%COMP%]{--chart-stop-opacity-0: .8}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-highcharts.v-highcharts--styled[_ngcontent-%COMP%] .highstock-container[_ngcontent-%COMP%] #gradient-0[_ngcontent-%COMP%] stop[offset="1"][_ngcontent-%COMP%]{--chart-stop-opacity-1:.3}[_ngcontent-%COMP%]:focus-visible{outline:0}.highcharts-label.highcharts-tooltip-box.align-left.highcharts-tooltip-box.highcharts-color-0[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{left:1px!important;top:1px!important}*[_ngcontent-%COMP%]{--input-border-color-focus: #001eff !important;--multi-select-badge-bg: #001eff !important}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-multiselect.v-form-tags__container[_ngcontent-%COMP%]{background-color:transparent!important}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-input-date-range[_ngcontent-%COMP%] .v-widget-input-date[_ngcontent-%COMP%] .v-date-time-picker[_ngcontent-%COMP%] .b-form-datepicker[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .b-calendar[_ngcontent-%COMP%] .b-calendar-grid[_ngcontent-%COMP%] .b-calendar-grid-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.disabled).focus, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-input-date-range[_ngcontent-%COMP%] .v-widget-input-date[_ngcontent-%COMP%] .v-date-time-picker[_ngcontent-%COMP%] .b-form-datepicker[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .b-calendar[_ngcontent-%COMP%] .b-calendar-grid[_ngcontent-%COMP%] .b-calendar-grid-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.disabled):focus, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-input-date-range[_ngcontent-%COMP%] .v-widget-input-date[_ngcontent-%COMP%] .v-date-time-picker[_ngcontent-%COMP%] .b-form-datepicker[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .b-calendar[_ngcontent-%COMP%] .b-calendar-grid[_ngcontent-%COMP%] .b-calendar-grid-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.disabled):hover{color:var(--datepicker-color-hover)!important}.indices-with-chart-container[_ngcontent-%COMP%]{align-items:center;justify-content:center}@media (max-width: 1144px){.indices-with-chart-container[_ngcontent-%COMP%]{display:block}}.indices-with-chart-component[_ngcontent-%COMP%]{background-color:#fafafa;color:#000;overflow:hidden}.indices-with-chart-wrapper[_ngcontent-%COMP%]{padding-bottom:1rem;padding-top:1rem}.indices-with-chart-container[_ngcontent-%COMP%]{align-items:stretch}h2[_ngcontent-%COMP%]{margin-top:1rem}.aside-wrapper[_ngcontent-%COMP%]{display:flex;flex-grow:0;flex-wrap:wrap;width:45%}@media (max-width: 1144px){.aside-wrapper[_ngcontent-%COMP%]{width:100%}}.indices-wrapper[_ngcontent-%COMP%]{align-self:center;background-color:#fff;margin:1rem 0}.chart-wrapper[_ngcontent-%COMP%]{background-color:#fff;border:.0625rem solid #fafafa;flex-grow:1;padding:1rem;width:55%}@media (max-width: 1144px){.chart-wrapper[_ngcontent-%COMP%]{margin-bottom:1rem;width:100%}}h4[_ngcontent-%COMP%]{margin-bottom:0}h4[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000}.gold-button[_ngcontent-%COMP%]:not(.chart-button){margin:1rem}.gold-button.chart-button[_ngcontent-%COMP%]{margin-bottom:0}table[_ngcontent-%COMP%]{border-collapse:collapse;table-layout:fixed;width:100%}tr[_ngcontent-%COMP%]{border-left:.25rem solid transparent;cursor:pointer}tr.active[_ngcontent-%COMP%]{border-left-color:#001eff}tr.active[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{position:relative}tr.active[_ngcontent-%COMP%] .chevron[_ngcontent-%COMP%]{height:4rem;pointer-events:none;position:absolute;right:-2rem;top:-.5rem;width:4rem}@media (max-width: 768px){tr.active[_ngcontent-%COMP%] .chevron[_ngcontent-%COMP%]{cursor:pointer;pointer-events:all}}tr.active[_ngcontent-%COMP%] .chevron[_ngcontent-%COMP%]:after{background-image:url(assets/static/selected_indicator.svg);background-position:center center;background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:4rem;transform:scale(.5);width:4rem}.index-description[_ngcontent-%COMP%]{font-weight:700;padding-right:0}.index-value[_ngcontent-%COMP%]{padding-left:.85rem;text-align:right;width:6rem}.index-change[_ngcontent-%COMP%]{padding-left:.5rem;width:10rem}@media (max-width: 480px){.index-change[_ngcontent-%COMP%]{width:4.5rem}.index-change[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:before{display:none}}.chart-tabs[_ngcontent-%COMP%]{display:block}.chart-tab[_ngcontent-%COMP%]{cursor:initial;margin:0 auto;max-width:10rem;padding-top:0}.index-value.better[_ngcontent-%COMP%]{animation-duration:2s;animation-iteration-count:1;animation-name:_ngcontent-%COMP%_rise;animation-timing-function:ease-in-out}.index-value.worse[_ngcontent-%COMP%]{animation-duration:2s;animation-iteration-count:1;animation-name:_ngcontent-%COMP%_fall;animation-timing-function:ease-in-out}@keyframes _ngcontent-%COMP%_rise{50%{background-color:#22775e}to{background-color:inherit}}@keyframes _ngcontent-%COMP%_fall{50%{background-color:#7e1b1b}to{background-color:inherit}} #w-advanced-chart-widget{height:400px} .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse .small-control-bar .v-widget-control-bar .dropdown .dropdown-toggle:focus, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-widget-control-bar[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:hover, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-widget-control-bar[_ngcontent-%COMP%] .dropdown.show[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%], .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-widget-control-bar[_ngcontent-%COMP%] .dropdown.show[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:focus, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-widget-control-bar[_ngcontent-%COMP%] .dropdown.show[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:hover{background-color:#001eff!important} .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse .v-widget-dropdown .dropdown .dropdown-menu .dropdown-item:focus, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .dropdown-item[_ngcontent-%COMP%]:hover{color:#001eff!important}'],changeDetection:0})}}return n})();var _o=p(63852);function tw(n,r){if(1&n&&(e.j41(0,"h2",7),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.title.value," ")}}function nw(n,r){if(1&n&&(e.nrm(0,"div",8),e.nI1(1,"safeHtml")),2&n){const t=e.XpG();e.Y8G("innerHtml",e.bMT(1,1,t.content.ctaText.value),e.npT)}}function iw(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.SpI("",t.content.ctaSponsorFeature.value.label," ")}}function ow(n,r){if(1&n&&e.nrm(0,"img",14),2&n){const t=e.XpG(3);e.Y8G("src",t.content.ctaSponsorFeature.value.image,e.B4B)("alt",t.content.ctaSponsorFeature.value.label)}}function rw(n,r){if(1&n&&(e.j41(0,"a",11),e.DNE(1,iw,2,1,"ng-container",12)(2,ow,1,2,"img",13),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("href",t.content.ctaSponsorFeature.value.link,e.B4B)("target",t.content.ctaSponsorFeature.value.target),e.R7$(),e.Y8G("ngIf",!t.content.ctaSponsorFeature.value.image),e.R7$(),e.Y8G("ngIf",t.content.ctaSponsorFeature.value.image)}}function aw(n,r){if(1&n&&(e.j41(0,"div",9),e.EFF(1," Sponsored by: "),e.DNE(2,rw,3,4,"a",10),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(7);e.R7$(2),e.Y8G("ngIf",t.content.ctaSponsorFeature.value.link)("ngIfElse",i)}}function sw(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI("",t.content.ctaSponsorFeature.value.label," ")}}function lw(n,r){if(1&n&&e.nrm(0,"img",16),2&n){const t=e.XpG(2);e.Y8G("src",t.content.ctaSponsorFeature.value.image,e.B4B)("alt",t.content.ctaSponsorFeature.value.label)}}function cw(n,r){if(1&n&&e.DNE(0,sw,2,1,"ng-container",12)(1,lw,1,2,"img",15),2&n){const t=e.XpG();e.Y8G("ngIf",!t.content.ctaSponsorFeature.value.image),e.R7$(),e.Y8G("ngIf",t.content.ctaSponsorFeature.value.image)}}let uo=(()=>
1{class n{constructor(){this.meta={viewMode:"grey"}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-cta-block"]],inputs:{content:"content",meta:"meta"},decls:8,vars:15,consts:[["sponsorImage",""],["id","cta-block"],[1,"cta-block-content","wrapper","x-large-width","x-large-width-padding"],["class","cta-title",4,"ngIf"],["class","regular-font-size cta-text",3,"innerHtml",4,"ngIf"],[3,"buttonField","elementClasses"],["class","cta-sponsor regular-font-size",4,"ngIf"],[1,"cta-title"],[1,"regular-font-size","cta-text",3,"innerHtml"],[1,"cta-sponsor","regular-font-size"],["class","cta-sponsor-link",3,"href","target",4,"ngIf","ngIfElse"],[1,"cta-sponsor-link",3,"href","target"],[4,"ngIf"],["appLazyLoad","",3,"src","alt",4,"ngIf"],["appLazyLoad","",3,"src","alt"],["appLazyLoad","","class","cta-sponsor-link",3,"src","alt",4,"ngIf"],["appLazyLoad","",1,"cta-sponsor-link",3,"src","alt"]],template:function(i,o){1&i&&(e.j41(0,"section",1)(1,"div",2),e.DNE(2,tw,2,1,"h2",3)(3,nw,2,3,"div",4),e.nrm(4,"app-gated-button",5),e.DNE(5,aw,3,2,"div",6),e.k0s()(),e.DNE(6,cw,2,2,"ng-template",null,0,e.C5r)),2&i&&(e.HbH("component gtm-track-component cta-block "+(null==o.meta?null:o.meta.viewMode)),e.AVh("m-64","1"===(null==o.content.uxPadding?null:o.content.uxPadding.value)),e.R7$(),e.xc7("background-image","image"===o.meta.viewMode&&o.content.ctaBackgroundImage.value?"url("+o.content.ctaBackgroundImage.value+")":""),e.AVh("text-black","image"===o.meta.viewMode&&"black"===o.content.ctaTextColor.value)("text-white","image"===o.meta.viewMode&&"white"===o.content.ctaTextColor.value),e.R7$(),e.Y8G("ngIf",o.content.title.value&&"-"!==o.content.title.value),e.R7$(),e.Y8G("ngIf",o.content.ctaText.value&&"-"!==o.content.ctaText.value),e.R7$(),e.Y8G("buttonField",o.content.ctaButton)("elementClasses","cta-button gold-button cta-margin-top regular-font-size bold-font-weight outline"),e.R7$(),e.Y8G("ngIf",(null==o.content.ctaSponsorFeature.value?null:o.content.ctaSponsorFeature.value.label)||(null==o.content.ctaSponsorFeature.value?null:o.content.ctaSponsorFeature.value.image)))},dependencies:[l.bT,_o.H,Y.S,be.$],styles:[".cta-block[_ngcontent-%COMP%]{background-color:#f4f4f4;color:#000;text-align:center}.cta-block.blue[_ngcontent-%COMP%]{background-color:#001eff;color:#fff}.cta-block.image[_ngcontent-%COMP%]{background-color:#fff;background-position:center center;background-size:cover;color:#fff;text-align:left}.text-black[_ngcontent-%COMP%]{color:#000}.text-white[_ngcontent-%COMP%]{color:#fff}.cta-block-content[_ngcontent-%COMP%]{background-position:center center;background-size:cover;padding:2.5rem}.cta-text[_ngcontent-%COMP%]{margin-top:2rem}.cta-sponsor[_ngcontent-%COMP%]{align-items:center;display:flex;justify-content:flex-end;padding-top:2rem}@media (max-width: 480px){.cta-sponsor[_ngcontent-%COMP%]{display:block}}.cta-sponsor[_ngcontent-%COMP%] .cta-sponsor-link[_ngcontent-%COMP%]{display:inline-block;margin-left:.5rem}@media (max-width: 480px){.cta-sponsor[_ngcontent-%COMP%] .cta-sponsor-link[_ngcontent-%COMP%]{margin-right:.5rem;margin-top:.5rem}}.cta-sponsor[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:3rem;width:auto}"],changeDetection:0})}}return n})();function pw(n,r){if(1&n&&(e.j41(0,"h2",8),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.title.value," ")}}function mw(n,r){if(1&n&&(e.j41(0,"h2",8),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.ctaTitle.value," ")}}function _w(n,r){if(1&n&&(e.j41(0,"div",9),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.ctaText.value," ")}}function dw(n,r){if(1&n&&(e.j41(0,"a",10),e.EFF(1),e.nrm(2,"span",11),e.k0s()),2&n){const t=e.XpG();e.Y8G("href",t.content.ctaButton.value.link,e.B4B)("target",t.content.ctaButton.value.target),e.R7$(),e.SpI(" ",t.content.ctaButton.value.label," ")}}function uw(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",12),e.bIt("canLoad",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.canLoad(o))}),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("href",t.content.ctaButton.value.link,e.B4B)("ngStyle",t.canLoads?t.bgStyle(t.content.ctaImage.value):null)}}function gw(n,r){if(1&n&&(e.j41(0,"h2",8),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.titleRight.value," ")}}function hw(n,r){if(1&n&&(e.j41(0,"div",9),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.ctaTextRight.value," ")}}function fw(n,r){if(1&n&&(e.j41(0,"a",10),e.EFF(1),e.nrm(2,"span",11),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("href",t.content.ctaButtonRight.value.link,e.B4B)("target",t.content.ctaButtonRight.value.label),e.R7$(),e.SpI(" ",t.content.ctaButtonRight.value.label," ")}}function vw(n,r){if(1&n&&(e.j41(0,"div",13),e.DNE(1,gw,2,1,"h2",3)(2,hw,2,1,"div",4)(3,fw,3,3,"a",5),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.content.titleRight.value&&"-"!==t.content.titleRight.value),e.R7$(),e.Y8G("ngIf",t.content.ctaTextRight.value&&"-"!==t.content.ctaTextRight.value),e.R7$(),e.Y8G("ngIf",t.content.ctaButtonRight.value&&"-"!==t.content.ctaButtonRight.value)}}let Gn=(()=>
1{class n{constructor(){this.meta={viewMode:"full-width"}}bgStyle(t){if(t)return{"background-image":`url(${t})`}}canLoad(t){return this.canLoads=t,t}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-download-single"]],inputs:{content:"content",meta:"meta"},decls:9,vars:9,consts:[["id","download-single",1,"gtm-track-component","component","download-single","wrapper","flex-wrapper","x-large-width","x-large-width-padding","spaced-flex-container"],[1,"border-wrapper","flex-wrapper",3,"ngClass"],[1,"download-single-content","content-text"],["class","cta-title",4,"ngIf"],["class","regular-font-size cta-text",4,"ngIf"],["class","cta-button gold-button outline bold-font-weight",3,"href","target",4,"ngIf"],["class","content-image hide-on-portrait","appLazyBgImgLoad","","target","_blank",3,"href","ngStyle","canLoad",4,"ngIf"],["class","download-single-content right small-width border-wrapper",4,"ngIf"],[1,"cta-title"],[1,"regular-font-size","cta-text"],[1,"cta-button","gold-button","outline","bold-font-weight",3,"href","target"],[1,"cta-document"],["appLazyBgImgLoad","","target","_blank",1,"content-image","hide-on-portrait",3,"canLoad","href","ngStyle"],[1,"download-single-content","right","small-width","border-wrapper"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"div",1)(2,"div",2),e.DNE(3,pw,2,1,"h2",3)(4,mw,2,1,"h2",3)(5,_w,2,1,"div",4)(6,dw,3,3,"a",5),e.k0s(),e.DNE(7,uw,1,2,"a",6),e.k0s(),e.DNE(8,vw,4,3,"div",7),e.k0s()),2&i&&(e.AVh("m-64","1"===(null==o.content.uxPadding?null:o.content.uxPadding.value)),e.R7$(),e.Y8G("ngClass","half-width"===o.meta.viewMode?"small-width":"x-large-width"),e.R7$(2),e.Y8G("ngIf",o.content.title.value&&"-"!==o.content.title.value),e.R7$(),e.Y8G("ngIf",o.content.ctaTitle.value&&"-"!==o.content.ctaTitle.value),e.R7$(),e.Y8G("ngIf",o.content.ctaText.value&&"-"!==o.content.ctaText.value),e.R7$(),e.Y8G("ngIf",o.content.ctaButton.value&&"-"!==o.content.ctaButton.value),e.R7$(),e.Y8G("ngIf","half-width"!==o.meta.viewMode&&o.content.ctaImage.value&&o.content.ctaButton.value&&"-"!==o.content.ctaButton.value),e.R7$(),e.Y8G("ngIf","half-width"===o.meta.viewMode))},dependencies:[l.YU,l.bT,l.B3,D.W],styles:['.border-wrapper[_ngcontent-%COMP%]{border:.125rem solid #fafafa}.download-single-content[_ngcontent-%COMP%]{padding:2.5rem}@media (max-width: 768px){.download-single-content.right[_ngcontent-%COMP%]{margin-top:1.25rem}}.content-text[_ngcontent-%COMP%]{width:60%}@media (max-width: 768px){.content-text[_ngcontent-%COMP%]{width:100%}}.small-width[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%]{width:100%}.content-image[_ngcontent-%COMP%]{background-position:center center;background-size:cover;content:"";width:40%}.cta-button[_ngcontent-%COMP%]{margin-top:2rem;min-width:14rem}.cta-button[_ngcontent-%COMP%] .cta-document[_ngcontent-%COMP%]{background-position:center bottom}.cta-text[_ngcontent-%COMP%]{margin-top:2rem}'],changeDetection:0})}}return n})();function bw(n,r){1&n&&e.nrm(0,"div",26)}function Cw(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",e.i5U(2,1,t.content.btInstrument.value.maturitydate.value,"dd.MM.yyyy")," ")}}function Tw(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.content.btInstrument.value.maturitydate.value," ")}}function xw(n,r){if(1&n&&(e.j41(0,"span",27),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" In ",t.content.btInstrument.value.nextcoupondatediff," days ")}}function kw(n,r){if(1&n&&(e.j41(0,"span",27),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" In ",t.content.btInstrument.value.nextcoupondatediff," day ")}}function yw(n,r){1&n&&(e.j41(0,"span",27),e.EFF(1," Today "),e.k0s())}function ww(n,r){if(1&n&&(e.j41(0,"div",7),e.nrm(1,"div",8),e.j41(2,"div",9),e.DNE(3,bw,1,0,"div",10),e.k0s(),e.j41(4,"div",11)(5,"div",12)(6,"div",13),e.DNE(7,Cw,3,4,"span",14)(8,Tw,2,1,"span",14),e.k0s(),e.nrm(9,"div",15),e.j41(10,"div",16)(11,"p"),e.EFF(12),e.k0s()()(),e.j41(13,"div",12)(14,"div",17)(15,"span",18),e.EFF(16),e.nI1(17,"date"),e.k0s(),e.DNE(18,xw,2,1,"span",19)(19,kw,2,1,"span",19)(20,yw,2,0,"span",19),e.k0s(),e.nrm(21,"div",15),e.j41(22,"div",20)(23,"p"),e.EFF(24),e.k0s()()(),e.j41(25,"div",21)(26,"div",22)(27,"span",23),e.EFF(28),e.nI1(29,"date"),e.k0s()(),e.nrm(30,"div",15),e.k0s(),e.j41(31,"div",21)(32,"div",24)(33,"span"),e.EFF(34),e.nI1(35,"date"),e.k0s()(),e.nrm(36,"div",15),e.j41(37,"div",16)(38,"p"),e.EFF(39),e.k0s()()(),e.j41(40,"div",12)(41,"div",24)(42,"span"),e.EFF(43),e.nI1(44,"date"),e.k0s()(),e.nrm(45,"div",15),e.j41(46,"div",16)(47,"p"),e.EFF(48),e.k0s()()()(),e.nrm(49,"div",25),e.k0s()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngIf",t.content.btInstrument.value.nextcoupondate.visibility&&t.content.btInstrument.value.today.visibility),e.R7$(2),e.Y8G("ngClass",t.content.btInstrument.value.maturitydate.visibility?"":"invisible"),e.R7$(2),e.Y8G("ngIf","-"!=t.content.btInstrument.value.maturitydate.value),e.R7$(),e.Y8G("ngIf","-"==t.content.btInstrument.value.maturitydate.value),e.R7$(4),e.JRh(t.content.btInstrument.value.maturitydate.label),e.R7$(),e.Y8G("ngClass",t.content.btInstrument.value.nextcoupondate.visibility&&t.content.btInstrument.value.today.visibility?"":"invisible"),e.R7$(3),e.SpI(" ",e.i5U(17,19,t.content.btInstrument.value.nextcoupondate.value,"dd.MM.yyyy")," "),e.R7$(2),e.Y8G("ngIf",t.content.btInstrument.value.nextcoupondatediff>1),e.R7$(),e.Y8G("ngIf",1==t.content.btInstrument.value.nextcoupondatediff),e.R7$(),e.Y8G("ngIf",0==t.content.btInstrument.value.nextcoupondatediff),e.R7$(4),e.JRh(t.content.btInstrument.value.nextcoupondate.label),e.R7$(),e.Y8G("ngClass",t.content.btInstrument.value.nextcoupondate.visibility&&t.content.btInstrument.value.today.visibility?"":"invisible"),e.R7$(3),e.JRh(e.i5U(29,22,t.content.btInstrument.value.today.value,"dd.MM.yyyy")),e.R7$(3),e.Y8G("ngClass",t.content.btInstrument.value.lastcoupondate.visibility?"":"invisible"),e.R7$(3),e.JRh(e.i5U(35,25,t.content.btInstrument.value.lastcoupondate.value,"dd.MM.yyyy")),e.R7$(5),e.JRh(t.content.btInstrument.value.lastcoupondate.label),e.R7$(),e.Y8G("ngClass",t.content.btInstrument.value.issuedate.visibility?"":"invisible"),e.R7$(3),e.JRh(e.i5U(44,28,t.content.btInstrument.value.issuedate.value,"dd.MM.yyyy")),e.R7$(5),e.JRh(t.content.btInstrument.value.issuedate.label)}}function Iw(n,r){if(1&n&&(e.j41(0,"div",33),e.EFF(1),e.j41(2,"span",34),e.EFF(3),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.content.btInstrument.value.couponfrequency.label," "),e.R7$(2),e.SpI("",t.content.btInstrument.value.couponfrequency.value," months")}}function Mw(n,r){if(1&n&&(e.j41(0,"div",35),e.EFF(1),e.j41(2,"span",34),e.EFF(3),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.content.btInstrument.value.couponrate.label," "),e.R7$(2),e.SpI("",t.content.btInstrument.value.couponrate.value,"%")}}function Ow(n,r){if(1&n&&(e.j41(0,"div",36),e.EFF(1),e.j41(2,"span",34),e.EFF(3),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.content.btInstrument.value.yieldtomaturity.label," "),e.R7$(2),e.SpI("",t.content.btInstrument.value.yieldtomaturity.value,"%")}}function Rw(n,r){if(1&n&&(e.j41(0,"div",28)(1,"div",29),e.DNE(2,Iw,4,2,"div",30)(3,Mw,4,2,"div",31)(4,Ow,4,2,"div",32),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",t.content.btInstrument.value.couponfrequency.visibility),e.R7$(),e.Y8G("ngIf",t.content.btInstrument.value.couponfrequency.value&&t.content.btInstrument.value.couponrate.visibility),e.R7$(),e.Y8G("ngIf",t.content.btInstrument.value.yieldtomaturity.visibility)}}function Fw(n,r){if(1&n&&(e.j41(0,"section",2)(1,"div",3)(2,"div",4),e.DNE(3,ww,50,31,"div",5),e.k0s(),e.DNE(4,Rw,5,3,"div",6),e.k0s()()),2&n){const t=e.XpG();e.R7$(3),e.Y8G("ngIf",t.showTimeline()),e.R7$(),e.Y8G("ngIf",t.content.btInstrument.value.couponfrequency.visibility||t.content.btInstrument.value.couponfrequency.visibility||t.content.btInstrument.value.yieldtomaturity.visibility)}}function Pw(n,r){if(1&n&&e.nrm(0,"app-hide-field",38),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function Gw(n,r){1&n&&e.DNE(0,Pw,1,1,"app-hide-field",37),2&n&&e.Y8G("ngIf",r.errorText)}let go=(()=>{class n extends O.R{constructor(){super(),this.retailBond=!1}ngOnInit(){this.retailBond=this.content.btInstrument.value.searchtags.value.hasRetailBond}showTimeline(){return this.content.btInstrument.value.nextcoupondate.visibility&&this.content.btInstrument.value.today.visibility||this.content.btInstrument.value.maturitydate.visibility||this.content.btInstrument.value.lastcoupondate.visibility||this.content.btInstrument.value.issuedate.visibility}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-bond-timeline"]],inputs:{content:"content"},features:[e.Vt3],decls:3,vars:1,consts:[["emptyvalue",""],["id","bond-timeline","class","bond-timeline component wrapper x-large-width x-large-width-padding hide-on-portrait",4,"ngIf"],["id","bond-timeline",1,"bond-timeline","component","wrapper","x-large-width","x-large-width-padding","hide-on-portrait"],[1,"x-large-width","x-large-width-padding"],[1,"timeline-wrapper"],["class","main-timeline-section",4,"ngIf"],["class","box-wrapper",4,"ngIf"],[1,"main-timeline-section"],[1,"timeline-start"],[1,"conference-center-line"],["class","conference-center-line-active",4,"ngIf"],[1,"conference-timeline-content"],[1,"timeline-article","timeline-article-bottom",3,"ngClass"],[1,"content-date","regular-font-size","bold-font-weight","timeline-maturitydate"],[4,"ngIf"],[1,"meta-date"],[1,"content-box","base-font-size"],[1,"content-date","active"],[1,"regular-font-size","bold-font-weight"],["class","base-font-size active-text bold-font-weight",4,"ngIf"],[1,"content-box","active","base-font-size"],[1,"timeline-article","timeline-article-top",3,"ngClass"],[1,"content-date","dotted","regular-font-size","bold-font-weight"],[1,"active-text"],[1,"content-date","regular-font-size","bold-font-weight"],[1,"timeline-end"],[1,"conference-center-line-active"],[1,"base-font-size","active-text","bold-font-weight"],[1,"box-wrapper"],[1,"box-content","flex-wrapper","centered-flex-container","regular-font-size"],["class","coupon-frequency-item",4,"ngIf"],["class","coupon-item",4,"ngIf"],["class","ytm-item",4,"ngIf"],[1,"coupon-frequency-item"],[1,"bold-font-weight"],[1,"coupon-item"],[1,"ytm-item"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&e.DNE(0,Fw,5,2,"section",1)(1,Gw,1,1,"ng-template",null,0,e.C5r),2&i&&e.Y8G("ngIf",o.retailBond)},dependencies:[l.YU,l.bT,y.W,l.vh],styles:['.box-content[_ngcontent-%COMP%]{border:.0625rem solid #001eff;margin:0 auto;max-width:36rem;padding:1rem}
1.coupon-frequency-item[_ngcontent-%COMP%], .coupon-item[_ngcontent-%COMP%], .ytm-item[_ngcontent-%COMP%]{padding:0 .5rem}.main-timeline-section[_ngcontent-%COMP%]{height:18.75rem;margin:auto;position:relative;width:100%}.main-timeline-section[_ngcontent-%COMP%] .timeline-end[_ngcontent-%COMP%]{right:0}.main-timeline-section[_ngcontent-%COMP%] .conference-center-line[_ngcontent-%COMP%]{background:#d5d5d5;height:.875rem;position:absolute;top:50%;transform:translateY(-50%);width:100%;z-index:1}.timeline-article[_ngcontent-%COMP%]{float:right;min-height:18.75rem;position:relative;width:20%}.timeline-article[_ngcontent-%COMP%] .content-date[_ngcontent-%COMP%], .timeline-article[_ngcontent-%COMP%] .content-box[_ngcontent-%COMP%]{position:absolute;text-align:center;width:100%}.timeline-article[_ngcontent-%COMP%] .content-date[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .timeline-article[_ngcontent-%COMP%] .content-date[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .timeline-article[_ngcontent-%COMP%] .content-box[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .timeline-article[_ngcontent-%COMP%] .content-box[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;transform:translate(.3125rem)}.content-date[_ngcontent-%COMP%]{top:25%}.timeline-article[_ngcontent-%COMP%] .meta-date[_ngcontent-%COMP%]{background:#fff;border-radius:100%;height:.625rem;position:absolute;right:calc(50% - .625rem);top:50%;transform:translateY(-50%);width:.625rem;z-index:2}.timeline-article[_ngcontent-%COMP%] .content-box[_ngcontent-%COMP%]{top:60%}.timeline-article-top[_ngcontent-%COMP%] .content-box[_ngcontent-%COMP%]:before{top:-1.4375rem}.timeline-article-top[_ngcontent-%COMP%] .content-date[_ngcontent-%COMP%]:before{top:1.875rem}.timeline-article-bottom[_ngcontent-%COMP%] .content-date[_ngcontent-%COMP%], .timeline-article-bottom[_ngcontent-%COMP%] .content-date-active[_ngcontent-%COMP%]{top:65%}.timeline-article-bottom[_ngcontent-%COMP%] .content-date[_ngcontent-%COMP%]:before{border-bottom:.125rem solid #d5d5d5}.timeline-article-bottom[_ngcontent-%COMP%] .content-date.active[_ngcontent-%COMP%]:before{border-bottom:.125rem solid #001eff}.timeline-article-top[_ngcontent-%COMP%] .content-date[_ngcontent-%COMP%]:before{border-top:.125rem solid #d5d5d5}.content-box[_ngcontent-%COMP%]:before, .content-date[_ngcontent-%COMP%]:before{background:#d5d5d5;border-left:.125rem solid #ffffff;border-right:.125rem solid #ffffff;box-sizing:content-box;content:" ";left:calc(50% + .125rem);position:absolute;width:.125rem;z-index:0}.content-date[_ngcontent-%COMP%]:before{bottom:1.875rem;height:2.5rem}.content-box[_ngcontent-%COMP%]:before{bottom:0;height:.9375rem}.content-date.active[_ngcontent-%COMP%]:before{background:#001eff;border-bottom:.125rem solid #001eff;border-left:.125rem solid #ffffff;border-right:.125rem solid #ffffff;bottom:3.125rem}.content-box.active[_ngcontent-%COMP%]:before{background:#001eff}.content-date.dotted[_ngcontent-%COMP%]:before{background:none;border:.0625rem dashed #001eff;left:calc(50% + .25rem);width:0}.timeline-article-bottom[_ngcontent-%COMP%] .content-box[_ngcontent-%COMP%]{bottom:52%;top:auto;white-space:nowrap}@media (max-width: 1144px){.timeline-article-bottom[_ngcontent-%COMP%] .content-box[_ngcontent-%COMP%]{white-space:normal}}.conference-center-line-active[_ngcontent-%COMP%]{background:#001eff;bottom:0;content:"";height:100%;left:calc(50% - .1875rem);position:relative;width:21.45%}.active-text[_ngcontent-%COMP%]{color:#001eff}'],changeDetection:0})}}return n})();function Sw(n,r){if(1&n&&(e.j41(0,"h3",3),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.title)}}function $w(n,r){if(1&n&&e.nrm(0,"a",13),2&n){const t=e.XpG().$implicit;e.Y8G("href",t.url,e.B4B)}}function Ew(n,r){if(1&n&&(e.j41(0,"div",14)(1,"a",15),e.EFF(2),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("href",t.url,e.B4B),e.R7$(),e.JRh(t.title)}}function Dw(n,r){1&n&&(e.j41(0,"span"),e.EFF(1,", "),e.k0s())}function jw(n,r){if(1&n&&(e.j41(0,"span",16),e.EFF(1),e.nI1(2,"customdate"),e.DNE(3,Dw,2,0,"span",17),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.bMT(2,2,t.date)),e.R7$(2),e.Y8G("ngIf",t.fileType||t.fileSize)}}function Nw(n,r){1&n&&(e.j41(0,"span"),e.EFF(1,", "),e.k0s())}function Yw(n,r){if(1&n&&(e.j41(0,"span",18),e.EFF(1),e.nI1(2,"uppercase"),e.DNE(3,Nw,2,0,"span",17),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.bMT(2,2,t.fileType)),e.R7$(2),e.Y8G("ngIf",t.fileSize)}}function Xw(n,r){if(1&n&&(e.j41(0,"span",19),e.EFF(1),e.nI1(2,"fileSize"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.bMT(2,1,t.fileSize))}}function Bw(n,r){if(1&n&&(e.j41(0,"div",6),e.DNE(1,$w,1,1,"a",7),e.j41(2,"div",8),e.DNE(3,Ew,3,2,"div",9)(4,jw,4,4,"span",10)(5,Yw,4,4,"span",11)(6,Xw,3,3,"span",12),e.k0s()()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.url),e.R7$(2),e.Y8G("ngIf",t.title),e.R7$(),e.Y8G("ngIf",t.date),e.R7$(),e.Y8G("ngIf",t.fileType),e.R7$(),e.Y8G("ngIf",t.fileSize)}}function Vw(n,r){if(1&n&&(e.j41(0,"div",4),e.DNE(1,Bw,7,5,"div",5),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.documents)}}let Lw=(()=>{class n{constructor(){}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-simple-download-component"]],inputs:{title:"title",documents:"documents"},decls:3,vars:2,consts:[[1,"download-document-simple","wrapper","x-large-width","x-large-width-padding"],["class","documents-title",4,"ngIf"],["class","documents-list flex-wrapper",4,"ngIf"],[1,"documents-title"],[1,"documents-list","flex-wrapper"],["class","simple-document",4,"ngFor","ngForOf"],[1,"simple-document"],["class","simple-document__icon","target","_blank",3,"href",4,"ngIf"],[1,"simple-document__info"],["class","simple-document__title",4,"ngIf"],["class","simple-document__date",4,"ngIf"],["class","simple-document__fileType",4,"ngIf"],["class","simple-document__fileSize",4,"ngIf"],["target","_blank",1,"simple-document__icon",3,"href"],[1,"simple-document__title"],["target","_blank",1,"black-link","regular-font-size","medium-font-we
1ight",3,"href"],[1,"simple-document__date"],[4,"ngIf"],[1,"simple-document__fileType"],[1,"simple-document__fileSize"]],template:function(i,o){1&i&&(e.j41(0,"div",0),e.DNE(1,Sw,2,1,"h3",1)(2,Vw,2,1,"div",2),e.k0s()),2&i&&(e.R7$(),e.Y8G("ngIf",o.title),e.R7$(),e.Y8G("ngIf",o.documents.length))},dependencies:[l.Sq,l.bT,l.Pc,U.W,At]})}}return n})();p(3754);const Aw=n=>({doc:n});function qw(n,r){if(1&n&&(e.j41(0,"h3",5),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.title)}}function Uw(n,r){if(1&n&&(e.j41(0,"div",6),e.eu8(1,7),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(5);e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(2,Aw,t.document))}}function zw(n,r){if(1&n&&(e.j41(0,"span",17),e.EFF(1),e.nI1(2,"customdate"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(e.i5U(2,1,t.document.date,"long"))}}function Hw(n,r){1&n&&(e.qex(0),e.EFF(1,"Show document history"),e.bVm())}function Ww(n,r){1&n&&(e.qex(0),e.EFF(1,"Hide document history"),e.bVm())}function Jw(n,r){if(1&n&&(e.j41(0,"span",17),e.EFF(1),e.nI1(2,"customdate"),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.date,"long"))}}function Kw(n,r){if(1&n&&(e.j41(0,"div",19)(1,"span",10),e.EFF(2," Last version "),e.DNE(3,Jw,3,4,"span",11),e.k0s()()),2&n){const t=e.XpG().index,i=e.XpG(2);e.Mz_("id","history-element-",t,""),e.R7$(3),e.Y8G("ngIf",i.document.date)}}function Qw(n,r){if(1&n&&(e.qex(0),e.DNE(1,Kw,4,3,"div",18),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t)}}function Zw(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",8)(1,"div",9),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.toggleAccordion())}),e.j41(2,"span",10),e.EFF(3,"Last version "),e.DNE(4,zw,3,4,"span",11),e.k0s(),e.j41(5,"span",12),e.DNE(6,Hw,2,0,"ng-container",13)(7,Ww,2,0,"ng-container",13),e.k0s(),e.nrm(8,"span",14),e.k0s(),e.j41(9,"div",15),e.DNE(10,Qw,2,1,"ng-container",16),e.nI1(11,"slice"),e.k0s()()}if(2&n){const t=e.XpG();e.AVh("active-accordion",t.activeAccordion),e.R7$(4),e.Y8G("ngIf",t.document.date),e.R7$(2),e.Y8G("ngIf",!t.activeAccordion),e.R7$(),e.Y8G("ngIf",t.activeAccordion),e.R7$(3),e.Y8G("ngForOf",e.brH(11,6,t.document.history,0,5))}}function e3(n,r){if(1&n&&e.nrm(0,"a",28),2&n){const t=e.XpG().doc;e.Y8G("href",t.url,e.B4B)}}function t3(n,r){if(1&n&&(e.j41(0,"div",29)(1,"a",30),e.EFF(2),e.k0s()()),2&n){const t=e.XpG().doc;e.R7$(),e.Y8G("href",t.url,e.B4B),e.R7$(),e.JRh(t.title)}}function n3(n,r){if(1&n&&(e.j41(0,"div",31),e.EFF(1),e.k0s()),2&n){const t=e.XpG().doc;e.R7$(),e.JRh(t.serialNumber)}}function i3(n,r){1&n&&(e.j41(0,"span"),e.EFF(1,", "),e.k0s())}function o3(n,r){if(1&n&&(e.j41(0,"span",17),e.EFF(1),e.nI1(2,"customdate"),e.DNE(3,i3,2,0,"span",13),e.k0s()),2&n){const t=e.XpG().doc;e.R7$(),e.JRh(e.bMT(2,2,t.date)),e.R7$(2),e.Y8G("ngIf",t.fileType||t.fileSize)}}function r3(n,r){1&n&&(e.j41(0,"span"),e.EFF(1,", "),e.k0s())}function a3(n,r){if(1&n&&(e.j41(0,"span",32),e.EFF(1),e.nI1(2,"uppercase"),e.DNE(3,r3,2,0,"span",13),e.k0s()),2&n){const t=e.XpG().doc;e.R7$(),e.JRh(e.bMT(2,2,t.fileType)),e.R7$(2),e.Y8G("ngIf",t.fileSize)}}function s3(n,r){if(1&n&&(e.j41(0,"span",33),e.EFF(1),e.nI1(2,"fileSize"),e.k0s()),2&n){const t=e.XpG().doc;e.R7$(),e.JRh(e.bMT(2,1,t.fileSize))}}function l3(n,r){if(1&n&&(e.j41(0,"a",35),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.Y8G("href",t.url,e.B4B),e.R7$(),e.JRh(t.title)}}function c3(n,r){if(1&n&&(e.j41(0,"li"),e.DNE(1,l3,2,2,"a",34),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.title)}}function p3(n,r){if(1&n&&(e.j41(0,"div",20),e.DNE(1,e3,1,1,"a",21),e.j41(2,"div",22),e.DNE(3,t3,3,2,"div",23)(4,n3,2,1,"div",24)(5,o3,4,4,"span",11)(6,a3,4,4,"span",25)(7,s3,3,3,"span",26),e.k0s()(),e.j41(8,"ul",27),e.DNE(9,c3,2,1,"li",16),e.k0s()),2&n){const t=r.doc;e.R7$(),e.Y8G("ngIf",t.url),e.R7$(2),e.Y8G("ngIf",t.title),e.R7$(),e.Y8G("ngIf",t.serialNumber),e.R7$(),e.Y8G("ngIf",t.date),e.R7$(),e.Y8G("ngIf",t.fileType),e.R7$(),e.Y8G("ngIf",t.fileSize),e.R7$(2),e.Y8G("ngForOf",t.additionalDocuments)}}let ho=(()=>{class n{get activeAccordion(){return this._activeAccordion}set activeAccordion(t){this._activeAccordion=t}constructor(){this._activeAccordion=!1}ngOnInit(){}toggleAccordion(){this.activeAccordion=!this.activeAccordion}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-advanced-download-component"]],inputs:{title:"title",document:"document",hideHistory:"hideHistory",showHistory:"showHistory"},decls:6,vars:3,consts:[["advancedDocument",""],[1,"download-document-advanced","wrapper","x-large-width","x-large-width-padding"],["class","document-title",4,"ngIf"],["class","document-list",4,"ngIf"],["class","document-history accordion-container",3,"active-accordion",4,"ngIf"],[1,"document-title"],[1,"document-list"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"document-history","accordion-container"],[1,"accordion-header","gtm-trackable",3,"click"],[1,"bold-font-weight"],["class","advanced-document__date",4,"ngIf"],[1,"accordion-toggler-label","hide-on-mobile"],[4,"ngIf"],[1,"accordion-toggler"],[1,"accordion-content"],[4,"ngFor","ngForOf"],[1,"advanced-document__date"],["class","document-history__element",3,"id",4,"ngIf"],[1,"document-history__element",3,"id"],[1,"advanced-document"],["class","advanced-document__icon","target","_blank",3,"href",4,"ngIf"],[1,"advanced-document__info"],["class","advanced-document__title",4,"ngIf"],["class","advanced-document__serial",4,"ngIf"],["class","advanced-document__fileType",4,"ngIf"],["class","advanced-document__fileSize",4,"ngIf"],[1,"advanced-additional-document","regular-font-size"],["target","_blank",1,"advanced-document__icon",3,"href"],[1,"advanced-document__title"],["target","_blank",1,"black-link","big-font-size","bold-font-weight",3,"href"],[1,"advanced-document__serial"],[1,"advanced-document__fileType"],[1,"advanced-document__fileSize"],["class","black-link","target","_blank",3,"href",4,"ngIf"],["target","_blank",1,"black-link",3,"href"]],template:function(i,o){1&i&&(e.j41(0,"div",1),e.DNE(1,qw,2,1,"h3",2)(2,Uw,2,4,"div",3)(3,Zw,12,10,"div",4),e.k0s(),e.DNE(4,p3,10,7,"ng-template",null,0,e.C5r)),2&i&&(e.R7$(),e.Y8G("ngIf",o.title),e.R7$(),e.Y8G("ngIf",o.document),e.R7$(),e.Y8G("ngIf",o.document.history))},dependencies:[l.Sq,l.bT,l.T3,l.Pc,l.P9,U.W,At],styles:['.download-document-advanced[_ngcontent-%COMP%]{margin:1.5rem auto}.document-title[_ngcontent-%COMP%]{margin-bottom:2rem}.advanced-document[_ngcontent-%COMP%]{padding:1rem 1rem 1rem 3.5rem;position:relative}.advanced-document__icon[_ngcontent-%COMP%]{background:url(assets/static/black_download_document.svg) left center no-repeat;background-size:contain;content:"";display:inline-block;height:2.5rem;left:1rem;position:absolute;top:1rem;width:2.5rem}.advanced-document__info[_ngcontent-%COMP%]{display:inline-block}.advanced-document__title[_ngcontent-%COMP%]{margin-bottom:.5rem;overflow:hidden;word-break:break-all}.advanced-document__serial[_ngcontent-%COMP%]{margin-bottom:.5rem}.document-history__element[_ngcontent-%COMP%]{background:#fafafa;border:.125rem solid #fafafa;font-size:.984375rem;padding:1.125rem 2%}.advanced-additional-document[_ngcontent-%COMP%]{list-style:none;padding-left:3.5rem}.advanced-additional-document[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-top:1rem}.accordion-toggler-label[_ngcontent-%COMP%]{float:right;position:relative}.accordion-content[_ngcontent-%COMP%]{padding:1rem 0}']})}}return n})();function m3(n,r){if(1&n&&(e.j41(0,"h3",4),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.title)}}function _3(n,r){1&n&&(e.qex(0),e.EFF(1," - Latest "),e.bVm())}function d3(n,r){if(1&n&&(e.j41(0,"span",12),e.EFF(1),e.DNE(2,_3,2,0,"ng-container",13),e.k0s()),2&n){const t=e.XpG(2),i=t.$implicit,o=t.index;e.R7$(),e.SpI(" ",i.date,""),e.R7$(),e.Y8G("ngIf",0==o)}}function u3(n,r){1&n&&e.nrm(0,"app-advanced-download-component",14),2&n&&e.Y8G("document",r.$implicit)}function g3(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",6)(1,"div",7),e.bIt("click",function(){e.eBV(t);const o=e.XpG().index,a=e.XpG();return e.Njj(a.toggleAccordion(o))}),e.DNE(2,d3,3,2,"span",8),e.nrm(3,"span",9),e.k0s(),e.j41(4,"div",10),e.DNE(5,u3,1,1,"app-advanced-download-component",11),e.k0s()()}
1if(2&n){const t=e.XpG(),i=t.$implicit,o=t.index;e.AVh("active-accordion",0==o),e.Mz_("id","monthly-accordion-",o,""),e.R7$(2),e.Y8G("ngIf",i.date),e.R7$(3),e.Y8G("ngForOf",i.docs)}}function h3(n,r){if(1&n&&(e.qex(0),e.DNE(1,g3,6,6,"div",5),e.bVm()),2&n){const t=r.$implicit,i=r.index,o=e.XpG();e.R7$(),e.Y8G("ngIf",t.docs.length&&i<o.showUpTo)}}function f3(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",15)(1,"div",16),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.showMore())}),e.EFF(2,"Show more"),e.k0s()()}}let v3=(()=>{class n{constructor(t,i){this.elementRef=t,this.renderer=i,this._activeAccordion=!1,this._showUpStep=5,this._showUpTo=this._showUpStep}get newDocs(){return this._newDocs}get activeAccordion(){return this._activeAccordion}get showUpTo(){return this._showUpTo}set showUpTo(t){this._showUpTo=t}get showUpStep(){return this._showUpStep}getDateKey(t){return`${Q()(t).format("MMMM")} ${Q()(t).format("YYYY")}`}sortDocuments(t){return t.sort((i,o)=>i.date>o.date?-1:i.date<o.date?1:0)}createMonthlyArray(){if(!this.documents||!this.documents.length)return;const t=this.sortDocuments(this.documents),i=[];for(const o of t){const a=this.getDateKey(o.date),s=i.filter(c=>c.date===a);s.length?s[0].docs.push(o):i.push({date:a,docs:[o]})}return i}toggleAccordion(t=null){if(null===t)this._activeAccordion=!this.activeAccordion;else{const o=this.elementRef.nativeElement.querySelector(`#monthly-accordion-${t}`);if(!o)return;o.classList.contains("active-accordion")?this.renderer.removeClass(o,"active-accordion"):this.renderer.addClass(o,"active-accordion")}}ngOnInit(){this._newDocs=this.createMonthlyArray()||[]}showMore(){this.showUpTo+=this.showUpStep}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.aKT),e.rXU(e.sFG))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-monthly-download-document"]],inputs:{title:"title",documents:"documents"},decls:4,vars:3,consts:[[1,"download-document-monthly","wrapper","x-large-width","x-large-width-padding"],["class","document-title",4,"ngIf"],[4,"ngFor","ngForOf"],["class","show-more-div",4,"ngIf"],[1,"document-title"],["class","monthly-accordion accordion-container",3,"active-accordion","id",4,"ngIf"],[1,"monthly-accordion","accordion-container",3,"id"],[1,"accordion-header","gtm-trackable",3,"click"],["class","bold-font-weight monthly-document__date",4,"ngIf"],[1,"accordion-toggler"],[1,"accordion-content"],[3,"document",4,"ngFor","ngForOf"],[1,"bold-font-weight","monthly-document__date"],[4,"ngIf"],[3,"document"],[1,"show-more-div"],[1,"gtm-show-more",3,"click"]],template:function(i,o){1&i&&(e.j41(0,"div",0),e.DNE(1,m3,2,1,"h3",1)(2,h3,2,1,"ng-container",2)(3,f3,3,0,"div",3),e.k0s()),2&i&&(e.R7$(),e.Y8G("ngIf",o.title),e.R7$(),e.Y8G("ngForOf",o.newDocs),e.R7$(),e.Y8G("ngIf",o.showUpTo<o.newDocs.length))},dependencies:[l.Sq,l.bT,ho],styles:[".download-document-monthly[_ngcontent-%COMP%]{margin:1.5rem auto}.accordion-container[_ngcontent-%COMP%], .document-title[_ngcontent-%COMP%]{margin-bottom:2rem}"]})}}return n})();function b3(n,r){if(1&n&&e.nrm(0,"app-simple-download-component",3),2&n){const t=e.XpG();e.Y8G("title",t.content.title.value)("documents",t.content.documents.value)}}function C3(n,r){if(1&n&&e.nrm(0,"app-advanced-download-component",5),2&n){const t=r.$implicit,i=e.XpG(2);e.Y8G("title",i.content.title.value)("document",t)}}function T3(n,r){if(1&n&&(e.qex(0),e.DNE(1,C3,1,2,"app-advanced-download-component",4),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.content.documents.value)}}function x3(n,r){if(1&n&&e.nrm(0,"app-monthly-download-document",3),2&n){const t=e.XpG();e.Y8G("title",t.content.title.value)("documents",t.content.documents.value)}}let fo=(()=>{class n{constructor(){this.meta={viewMode:"simple"}}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-download-document"]],inputs:{content:"content",meta:"meta"},decls:4,vars:5,consts:[["id","download-document",1,"gtm-track-component","download-document","component"],[3,"title","documents",4,"ngIf"],[4,"ngIf"],[3,"title","documents"],[3,"title","document",4,"ngFor","ngForOf"],[3,"title","document"]],template:function(i,o){1&i&&(e.j41(0,"section",0),e.DNE(1,b3,1,2,"app-simple-download-component",1)(2,T3,2,1,"ng-container",2)(3,x3,1,2,"app-monthly-download-document",1),e.k0s()),2&i&&(e.AVh("m-64","1"===(null==o.content.uxPadding?null:o.content.uxPadding.value)),e.R7$(),e.Y8G("ngIf","simple"===(null==o.meta?null:o.meta.viewMode)),e.R7$(),e.Y8G("ngIf","without_monthly_accordion"===(null==o.meta?null:o.meta.viewMode)),e.R7$(),e.Y8G("ngIf","with_monthly_accordion"===(null==o.meta?null:o.meta.viewMode)))},dependencies:[l.Sq,l.bT,Lw,ho,v3],changeDetection:0})}}return n})();function k3(n,r){if(1&n&&(e.j41(0,"h2"),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.content.title.value)}}function y3(n,r){if(1&n&&(e.j41(0,"div",10),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(t.content.helpText.value)}}function w3(n,r){if(1&n&&(e.j41(0,"div",7)(1,"div",8)(2,"span"),e.EFF(3),e.k0s()(),e.DNE(4,y3,2,1,"div",9),e.k0s()),2&n){const t=e.XpG(2);e.R7$(3),e.JRh(t.selectedCircle),e.R7$(),e.Y8G("ngIf",t.content.helpText.value)}}function I3(n,r){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"div",14),e.bIt("mouseover",function(){const o=e.eBV(t).index,a=e.XpG(3);return e.Njj(a.selectItem(o))})("click",function(){const o=e.eBV(t).index,a=e.XpG(3);return e.Njj(a.selectItem(o))})("keyup",function(o){const a=e.eBV(t).index,s=e.XpG(3);return e.Njj(s.selectItemKey(a,o))}),e.EFF(2),e.k0s()()}if(2&n){const t=r.$implicit,i=r.index,o=e.XpG(3);e.ZvI("dot-",i,""),e.AVh("selected",o.selectedItem===i),e.R7$(2),e.JRh(t.label)}}function M3(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",11)(1,"ul",12),e.bIt("canLoad",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.canLoad(o))}),e.DNE(2,I3,3,6,"li",13),e.nI1(3,"slice"),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(),e.AVh("list-6-items",6==t.content.infographic2Items.value.length),e.Y8G("ngStyle",t.canLoads?t.bgStyle():null),e.R7$(),e.Y8G("ngForOf",e.brH(3,4,t.content.infographic2Items.value,0,6))}}function O3(n,r){if(1&n&&(e.j41(0,"div",4),e.DNE(1,w3,5,2,"div",5)(2,M3,4,8,"div",6),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.selectedCircle),e.R7$(),e.Y8G("ngIf",t.content.infographic2Items.value&&t.content.infographic2Items.value.length)}}function R3(n,r){if(1&n&&(e.j41(0,"div",19)(1,"div",20),e.EFF(2),e.k0s(),e.j41(3,"div",21)(4,"span"),e.EFF(5),e.k0s()()()),2&n){const t=r.$implicit;e.R7$(2),e.JRh(t.label),e.R7$(3),e.JRh(t.circle)}}function F3(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",15)(1,"div",16)(2,"div",17),e.bIt("canLoad",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.canLoad(o))}),e.k0s()(),e.DNE(3,R3,6,2,"div",18),e.nI1(4,"slice"),e.k0s()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngStyle",t.canLoads?t.bgStyle():null),e.R7$(),e.Y8G("ngForOf",e.brH(4,2,t.content.infographic2Items.value,0,6))}}let vo=(()=>{class n{constructor(t){this.isBreakpoint=t}get desktop(){return this._desktop}get selectedItem(){return this._selectedItem}get selectedCircle(){return this._selectedCircle}ngOnInit(){this._desktop=this.isBreakpoint.desktop(),this.content.infographic2Items&&this.content.infographic2Items.value&&this.content.infographic2Items.value.length&&this.selectItem(0)}selectItem(t){this._selectedItem=t,this._selectedCircle=this.content.infographic2Items.value[t].circle}onResize(){this._desktop=this.isBreakpoint.desktop()}bgStyle(){if(this.content.circleImage.value)return{"background-image":`url(${this.content.circleImage.value})`,"background-size":"8.25rem"}}canLoad(t){return this.canLoads=t,t}selectItemKey(t,i){"Enter"===i.key&&this.selectItem(t)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(S.f))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-infographic-two"]
1],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)},inputs:{content:"content"},decls:4,vars:3,consts:[["id","infographic2",1,"gtm-track-component","infographic2","component","wrapper","x-large-width","x-large-width-padding"],[4,"ngIf"],["class","infographic2-desktop flex-wrapper spaced-flex-container flex-align-center",4,"ngIf"],["class","infographic2-mobile flex-wrapper",4,"ngIf"],[1,"infographic2-desktop","flex-wrapper","spaced-flex-container","flex-align-center"],["class","bubble-container align-center",4,"ngIf"],["class","infographic2-list",4,"ngIf"],[1,"bubble-container","align-center"],[1,"bubble","regular-font-size","xs-base-font-size"],["class","bubble-label blue-text small-font-size",4,"ngIf"],[1,"bubble-label","blue-text","small-font-size"],[1,"infographic2-list"],["appLazyBgImgLoad","",1,"logo-list","regular-font-size",3,"canLoad","ngStyle"],[3,"class","selected",4,"ngFor","ngForOf"],["role","\u201clink\u201d","tabindex","0","aria-label","back to top",1,"dot-text","gtm-trackable",3,"mouseover","click","keyup"],[1,"infographic2-mobile","flex-wrapper"],[1,"infographic2-logo-mobile"],["appLazyBgImgLoad","",1,"base-list","logo-list-mobile",3,"canLoad","ngStyle"],["class","bubble-container-mobile flex-wrapper flex-column spaced-flex-container",4,"ngFor","ngForOf"],[1,"bubble-container-mobile","flex-wrapper","flex-column","spaced-flex-container"],[1,"bubble-title","align-center","blue-text","regular-font-size","bold-font-weight"],[1,"bubble","regular-font-size","align-center","xs-base-font-size"]],template:function(i,o){1&i&&(e.j41(0,"section",0),e.DNE(1,k3,2,1,"h2",1)(2,O3,3,2,"div",2)(3,F3,5,6,"div",3),e.k0s()),2&i&&(e.R7$(),e.Y8G("ngIf",o.content.title.value),e.R7$(),e.Y8G("ngIf",!o.desktop),e.R7$(),e.Y8G("ngIf",o.desktop&&o.content.infographic2Items.value&&o.content.infographic2Items.value.length))},dependencies:[l.Sq,l.bT,l.B3,D.W,l.P9],styles:['.infographic2[_ngcontent-%COMP%]{margin-bottom:4rem}.infographic2-desktop[_ngcontent-%COMP%]{flex-wrap:nowrap;padding:0 4rem}.infographic2-bubbles[_ngcontent-%COMP%]{flex-grow:1;min-height:27rem;position:relative}@media (max-width: 1023px){.infographic2-bubbles[_ngcontent-%COMP%]{margin-bottom:-2rem;margin-top:3rem}}@media (max-width: 768px){.infographic2-bubbles[_ngcontent-%COMP%]{margin:auto auto 2rem;min-height:12rem}}.infographic2-list[_ngcontent-%COMP%]{display:inline-block}.logo-list[_ngcontent-%COMP%]{background-image:url(assets/static/1923_icon_grey.svg);background-position:center center;background-repeat:no-repeat;background-size:45%;border:.5rem solid #f4f4f4;border-radius:50%;height:19rem;margin:7.5rem 10rem;padding:0;position:relative;width:19rem}.logo-list[_ngcontent-%COMP%] .dot-0[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-1[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-2[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-3[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-4[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-5[_ngcontent-%COMP%]{background-color:#fafafa;border-radius:50%;display:block;height:2rem;left:50%;margin:-1rem;padding:0;position:absolute;top:50%;width:2rem}.logo-list[_ngcontent-%COMP%] .dot-0[_ngcontent-%COMP%]:before, .logo-list[_ngcontent-%COMP%] .dot-1[_ngcontent-%COMP%]:before, .logo-list[_ngcontent-%COMP%] .dot-2[_ngcontent-%COMP%]:before, .logo-list[_ngcontent-%COMP%] .dot-3[_ngcontent-%COMP%]:before, .logo-list[_ngcontent-%COMP%] .dot-4[_ngcontent-%COMP%]:before, .logo-list[_ngcontent-%COMP%] .dot-5[_ngcontent-%COMP%]:before{background-color:#001eff;border:.1875rem solid #ffffff;border-radius:50%;content:"";display:block;height:1rem;left:.5rem;position:absolute;top:.5rem;width:1rem}.logo-list[_ngcontent-%COMP%] .dot-0[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-1[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-2[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-3[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-4[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-5[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%]{cursor:pointer;position:absolute;text-align:center;width:10.5rem}.logo-list[_ngcontent-%COMP%] .dot-0.selected[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-1.selected[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-2.selected[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-3.selected[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-4.selected[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-5.selected[_ngcontent-%COMP%]{background-color:#001eff}.logo-list[_ngcontent-%COMP%] .dot-0.selected[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-1.selected[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-2.selected[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-3.selected[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-4.selected[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%], .logo-list[_ngcontent-%COMP%] .dot-5.selected[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%]{color:#001eff;font-weight:700}.logo-list[_ngcontent-%COMP%] .dot-0[_ngcontent-%COMP%]{transform:rotate(270deg) translate(9.25rem) rotate(-270deg)}.logo-list[_ngcontent-%COMP%] .dot-0[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%]{left:50%;transform:translateY(-110%) translate(-50%)}.logo-list[_ngcontent-%COMP%] .dot-1[_ngcontent-%COMP%]{transform:rotate(180deg) translate(9.25rem) rotate(-180deg)}.logo-list[_ngcontent-%COMP%] .dot-1[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%]{margin-right:.4rem;right:2.5rem;text-align:right;top:50%;transform:translateY(-50%)}.logo-list[_ngcontent-%COMP%] .dot-2[_ngcontent-%COMP%]{transform:rotate(90deg) translate(9.25rem) rotate(-90deg)}.logo-list[_ngcontent-%COMP%] .dot-2[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%]{left:50%;
1top:2.5rem;transform:translate(-50%)}.logo-list[_ngcontent-%COMP%] .dot-3[_ngcontent-%COMP%]{transform:translate(9.25rem)}.logo-list[_ngcontent-%COMP%] .dot-3[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%]{left:1rem;margin-left:1.8rem;text-align:left;top:50%;transform:translateY(-50%)}.logo-list.list-6-items[_ngcontent-%COMP%] .dot-0[_ngcontent-%COMP%]{transform:rotate(240deg) translate(9.25rem) rotate(-240deg)}.logo-list.list-6-items[_ngcontent-%COMP%] .dot-0[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%]{bottom:auto;left:auto;right:3rem;text-align:right;transform:translateY(-50%)}.logo-list.list-6-items[_ngcontent-%COMP%] .dot-1[_ngcontent-%COMP%]{transform:rotate(180deg) translate(9.25rem) rotate(-180deg)}.logo-list.list-6-items[_ngcontent-%COMP%] .dot-1[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%]{right:3rem;text-align:right}.logo-list.list-6-items[_ngcontent-%COMP%] .dot-2[_ngcontent-%COMP%]{transform:rotate(120deg) translate(9.25rem) rotate(-120deg)}.logo-list.list-6-items[_ngcontent-%COMP%] .dot-2[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%]{left:auto;right:3rem;text-align:right;top:50%;transform:none}.logo-list.list-6-items[_ngcontent-%COMP%] .dot-3[_ngcontent-%COMP%]{transform:rotate(60deg) translate(9.25rem) rotate(-60deg)}.logo-list.list-6-items[_ngcontent-%COMP%] .dot-3[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%]{left:1.5rem;text-align:left;top:50%;transform:none}.logo-list.list-6-items[_ngcontent-%COMP%] .dot-4[_ngcontent-%COMP%]{transform:translate(9.25rem)}.logo-list.list-6-items[_ngcontent-%COMP%] .dot-4[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%]{left:3rem;text-align:left;top:50%;transform:translateY(-50%)}.logo-list.list-6-items[_ngcontent-%COMP%] .dot-5[_ngcontent-%COMP%]{transform:rotate(300deg) translate(9.25rem) rotate(-300deg)}.logo-list.list-6-items[_ngcontent-%COMP%] .dot-5[_ngcontent-%COMP%] .dot-text[_ngcontent-%COMP%]{left:3rem;text-align:left;transform:translateY(-50%)}.bubble-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative}.bubble[_ngcontent-%COMP%]{align-items:center;background:#001eff;border:.5rem solid #bad5ea;border-radius:50%;box-sizing:border-box;color:#fff;display:inline-flex;flex-direction:column;height:17.5rem;justify-content:center;padding:1rem;width:17.5rem}.bubble[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{max-width:100%;width:100%}.bubble-label[_ngcontent-%COMP%]{bottom:-1rem;left:50%;max-width:60%;position:absolute;transform:translate(-50%,100%);width:17.5rem}.infographic2-mobile[_ngcontent-%COMP%]{justify-content:space-between;padding:2rem 1rem}.infographic2-mobile[_ngcontent-%COMP%] .bubble-container-mobile[_ngcontent-%COMP%]{padding-top:2rem;text-align:center;width:33.333%}@media (max-width: 768px){.infographic2-mobile[_ngcontent-%COMP%] .bubble-container-mobile[_ngcontent-%COMP%]{margin:0 auto;width:50%}}@media (max-width: 480px){.infographic2-mobile[_ngcontent-%COMP%] .bubble-container-mobile[_ngcontent-%COMP%]{width:100%}}.infographic2-mobile[_ngcontent-%COMP%] .bubble[_ngcontent-%COMP%]{height:13.625rem;margin:1rem auto;width:13.625rem}.infographic2-mobile[_ngcontent-%COMP%] .bubble[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{max-width:100%;width:100%}.infographic2-mobile[_ngcontent-%COMP%] .infographic2-logo-mobile[_ngcontent-%COMP%]{width:100%}.infographic2-mobile[_ngcontent-%COMP%] .logo-list-mobile[_ngcontent-%COMP%]{background-image:url(assets/static/1923_icon_grey.svg);background-position:center center;background-repeat:no-repeat;background-size:45%;border:.5rem solid #f4f4f4;border-radius:50%;height:10.375rem;margin:0 auto;padding:0;position:relative;width:10.375rem}'],changeDetection:0})}}return n})();var bo=p(37785),Sn=p(22806),P3=p(71664);function G3(n,r){if(1&n&&(e.j41(0,"div",6)(1,"h4",9),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.content.title.value)}}function S3(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",12),e.nI1(1,"async"),e.bIt("click",function(o){e.eBV(t);const a=e.XpG().$implicit,s=e.XpG(2);return e.Njj(s.setTabnavElementActive(a,o))}),e.EFF(2),e.k0s()}if(2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.FS9("href",e.bMT(1,2,i.getTabLink(t)),e.B4B),e.R7$(2),e.SpI(" ",t.label," ")}}function $3(n,r){if(1&n&&(e.j41(0,"li",10),e.DNE(1,S3,3,4,"a",11),e.k0s()),2&n){const t=r.$implicit,i=e.XpG(2);e.AVh("active",i.isTabActive(t.tabId))("disabled",null==i.status?null:i.status.refreshing),e.R7$(),e.Y8G("ngIf",t.modules)}}function E3(n,r){if(1&n&&(e.j41(0,"div",6)(1,"p",13),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.content.toggleSummary.value)}}function D3(n,r){if(1&n){const t=e.RV6();e.j41(0,"section",3),e.bIt("refreshComponentTab",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.initDefaultParams(o))}),e.DNE(1,G3,3,1,"div",4),e.j41(2,"div",5)(3,"div",6)(4,"ul",7),e.DNE(5,$3,2,5,"li",8),e.k0s()()(),e.DNE(6,E3,3,1,"div",4),e.k0s()}if(2&n){const t=e.XpG();e.AVh("m-64","1"===(null==t.content.uxPadding?null:t.content.uxPadding.value)),e.Y8G("typeOfComponent","filter-toggle")("togglesList",t.togglesList),e.R7$(),e.Y8G("ngIf",null==t.content.title?null:t.content.title.value),e.R7$(4),e.Y8G("ngForOf",t.togglesList),e.R7$(),e.Y8G("ngIf",null==t.content.toggleSummary?null:t.content.toggleSummary.value)}}function j3(n,r){if(1&n&&(e.qex(0),e.nrm(1,"ndc-dynamic",15),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ndcDynamicComponent",t.ngComponent)("ndcDynamicInputs",t)}}function N3(n,r){if(1&n&&(e.qex(0),e.DNE(1,j3,2,2,"ng-container",14),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.status.childComponents)}}function Y3(n,r){if(1&n&&e.nrm(0,"app-error-component",17),2&n){const t=e.XpG(2);e.Y8G("content",t.errorToggle)}}function X3(n,r){if(1&n&&e.DNE(0,Y3,1,1,"app-error-component",16),2&n){const t=e.XpG();e.Y8G("ngIf",t.status.called)}}let $n=(()=>{class n extends bo.R{constructor(t,i,o,a,s,c,d,C){super(),this.store=t,this.swipe=i,this.elementRef=o,this.isBreakpoint=a,this.refreshService=s,this.pageTitleService=c,this.urlService=d,this.pageHeadersService=C,this.isTouchStart=!1,this.browserTitleSeparator=" ",this.togglesTypeMap=new Map([["instrument-type-filter","instrumentTypeFilters"],["filter-toggle","toggles"]]),this.togglesList=[],this.errorToggle={title:{value:"Sorry, there is currently no information available for this page."}}}
1getToggles(){if(this.type)return this.togglesTypeMap.get(this.type)}ngOnInit(){var t=()=>super.setId,i=()=>super.setPosition,o=()=>super.setStatus,a=()=>super.setStore,s=()=>super.setUrlService,c=()=>super.setTabs,d=()=>super.setRefreshService,C=()=>super.toggleBaseInit,T=this;return(0,_.A)(function*(){if(T.togglesList=T.content[T.getToggles()]||null,T.togglesList){t().call(T,T.id),i().call(T,T.position),o().call(T,T.status),a().call(T,T.store),s().call(T,T.urlService);const I=(T.currentPath||(yield T.urlService.getCurrentPath().toPromise())).parameters.get("indexname");I?(T.browserTitleSeparator=" - ",T.selectedIndex=I?I.trim().toLowerCase().replace(/\s+/g,"-"):null,T.setToggleList()):c().call(T,T.togglesList),d().call(T,T.refreshService),yield C().call(T),T.updatePageTitleFromUrl()}})()}ngOnChanges(t){(0,Sn.H)(this.togglesList.filter(i=>i.tabId===t.status.currentValue.currentTabId)).pipe((0,W.p)(i=>!!i),(0,f.s)(1)).subscribe(i=>this.pageTitleService.dispatchPageTitlePrefix([i.label]," ",this.browserTitleSeparator))}initDefaultParams(t){var i=()=>super.toggleBaseInit,o=this;return(0,_.A)(function*(){if(o.togglesList=o.content[o.getToggles()]||null,!o.togglesList)return;yield i().call(o,t);const a=o.currentPath.parameters.get("indexname");o.selectedIndex=a?a.trim().toLowerCase().replace(/\s+/g,"-"):null,o.setToggleList()})()}onResize(){this.setToggleList()}onTouchMove(){this.isTouchStart=!0}onWheel(t){if(!this.isBreakpoint.tabletPortrait())return;const i=this.swipe.getAncestor(t.target,"index-filter"),o=this.elementRef.nativeElement.querySelector(".index-filter .wrapper"),a=this.elementRef.nativeElement.querySelector(".index-filter .interactive-outline-wrapper");i&&o&&a&&a.offsetWidth>i.offsetWidth&&(t.preventDefault(),o.scrollLeft+=t.deltaY)}onMouseWheelChrome(t){this.onWheel(t)}onMouseWheelFirefox(t){this.onWheel(t)}setToggleList(){this.urlService.getCurrentPath().subscribe(t=>this.togglesList=this.getLinks(t.parameters))}getLinks(t){if(!this.content[this.getToggles()])return null;const i=this.getPerIndexArray(this.content[this.getToggles()]);if(!i.length)return[];const o=i,a=[...i],s=o.indexOf(o.find(d=>"Heatmap"===d.label)),c=this.isBreakpoint.mobile();return s>-1&&a.splice(s,1),this.setActiveAndSelectedTab(c,a,o,t),this.isTouchStart=!1,c?a:o}setActiveAndSelectedTab(t,i,o,a){if(t&&!this.isTouchStart){const s=this.getIndexOfSelectedTab(i,a);super.setTabnavElementActive(i[s],null,!1,!0)}else{const s=this.getIndexOfSelectedTab(o,a);super.setTabnavElementActive(o[s],null,!1,!0)}}getIndexOfSelectedTab(t,i){if(!i||!i.has("tab"))return 0;const o=i.get("tab").toLowerCase().replace(/\s+/g,"-"),a=t.indexOf(t.find(s=>s.label.toLowerCase().replace(/\s+/g,"-")===o));return a>-1?a:0}getPerIndexArray(t){return t?t.filter(i=>this.getComponentVisibilityPerIndex(i.label)):null}getComponentVisibilityPerIndex(t){switch(t){case"Heatmap":return["ftse-100","ftse-250","ftse-350","ftse-aim-uk-50-index","ftse-aim-100-index"].includes(this.selectedIndex);case"Table":return["ftse-100","ftse-250","ftse-mid-250","ftse-mid-250-ex-it","ftse-350","ftse-350-high-yield","ftse-350-low-yield","ftse-350-ex-it","ftse-aim-uk-50-index","ftse-aim-100-index","ftse-aim-all-share","ftse-allshare","ftse-all-share","ftse-all-share-ex-it","ftseurofirst-300","ftse-fledgling","ftse-fledgling-ex-it","ftse-orb-index","ftse-orb-financials-index","ftse-orb-non-financials-index","ftse-orb-over-5y-until-maturity-index","ftse-orb-under-5y-until-maturity-index","ftse-smallcap","ftse-smallcap-ex-it","ftse-techmark-focus","ftse-techmark-all-share-index","ftse-techmark-mediscience","ftse-iob","ftse-aim-all-share-automobiles-parts","ftse-aim-all-share-banks","ftse-aim-all-share-basic-resources","ftse-aim-all-share-chemicals","ftse-aim-all-share-construction-materials","ftse-aim-all-share-financial-services","ftse-aim-all-share-food-beverage","ftse-aim-all-share-health-care","ftse-aim-all-share-industrial-goods-services","ftse-aim-all-share-insurance","ftse-aim-all-share-media","ftse-aim-all-share-oil-gas","ftse-aim-all-share-personal-household-goods","ftse-aim-all-share-retail","ftse-aim-all-share-technology","ftse-aim-all-share-telecommunications","ftse-aim-all-share-travel-leisure","ftse-aim-all-share-utilities"].includes(this.selectedIndex);case"Risers and Fallers and Volume leaders":return["ftse-100","ftse-250","ftse-mid-250","ftse-mid-250-ex-it","ftse-350","ftse-350-high-yield","ftse-350-low-yield","ftse-350-ex-it","ftse-aim-uk-50-index","ftse-aim-100-index","ftse-aim-all-share","ftse-allshare","ftse-all-share","ftse-all-share-ex-it","ftseurofirst-300","ftse-fledgling","ftse-fledgling-ex-it","ftse-smallcap","ftse-smallcap-ex-it","ftse-techmark-focus","ftse-techmark-all-share-index","ftse-techmark-mediscience","ftse-iob","ftse-aim-all-share-automobiles-parts","ftse-aim-all-share-banks","ftse-aim-all-share-basic-resources","ftse-aim-all-share-chemicals","ftse-aim-all-share-construction-materials","ftse-aim-all-share-financial-services","ftse-aim-all-share-food-beverage","ftse-aim-all-share-health-care","ftse-aim-all-share-industrial-goods-services","ftse-aim-all-share-insurance","ftse-aim-all-share-media","ftse-aim-all-share-oil-gas","ftse-aim-all-share-personal-household-goods","ftse-aim-all-share-retail","ftse-aim-all-share-technology","ftse-aim-all-share-telecommunications","ftse-aim-all-share-travel-leisure","ftse-aim-all-share-utilities"].includes(this.selectedIndex);default:return!0}}updatePageTitleFromUrl(){if(!this.togglesList||!this.togglesList.length)return;const i=(this.currentPath.parameters.get("tab")||"").toLowerCase().replace(/\s+/g,"-"),o=Math.max(this.togglesList.indexOf(this.togglesList.find(a=>a.label.toLowerCase().replace(/\s+/g,"-")===i)),0);this.pageTitleService.dispatchPageTitlePrefix([this.togglesList[o].label]," ",this.browserTitleSeparator),this.pageHeadersService.dispatchPageDescriptionPrefix(this.togglesList[o].label)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(u.il),e.rXU(Ee.h),e.rXU(e.aKT),e.rXU(S.f),e.rXU(j.W),e.rXU(pe.P),e.rXU(k.T),e.rXU(Ue.V))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-filter-toggle"]],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)("touchmove",function(s){return o.onTouchMove(s)},!1,e.EBC)("wheel",function(s){return o.onWheel(s)})("mousewheel",function(s){return o.onMouseWheelChrome(s)})("DOMMouseScroll",function(s){return o.onMouseWheelFirefox(s)})},inputs:{content:"content",id:"id",type:"type",position:"position",status:"status"},features:[e.Vt3,e.OA$],decls:4,vars:3,consts:[["toggleError",""],["id","filter-toggle","class","filter-toggle component gtm-track-component","appBackBrowserClick","",3,"typeOfComponent","togglesList","m-64","refreshComponentTab",4,"ngIf"],[4,"ngIf","ngIfElse"],["id","filter-toggle","appBackBrowserClick","",1,"filter-toggle","component","gtm-track-component",3,"refreshComponentTab","typeOfComponent","togglesList"],["class","wrapper x-large-width x-large-width-padding",4,"ngIf"],[1,"index-filter"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"interactive-outline-wrapper"],["class","interactive-outline-button toggle",3,"active","disabled",4,"ngFor","ngForOf"],[1,"index-title","regular-font-size","bold-font-weight"],[1,"interactive-outline-button","toggle"],[3,"href","click",4,"ngIf"],[3,"click","href"],[1,"index-summary","regular-font-size"],[4,"ngFor","ngForOf"],[3,"ndcDynamicComponent","ndcDynamicInputs"],["class","tab-error",3,"content",4,"ngIf"],[1,"tab-error",3,"content"]],template:function(i,o){if(1&i&&e.DNE(0,D3,7,7,"section",1)(1,N3,2,1,"ng-container",2)(2,X3,1,1,"ng-template",null,0,e.C5r),2&i){const a=e.sdS(3);e.Y8G("ngIf",o.togglesList&&o.togglesList.length),e.R7$(),e.Y8G("ngIf",null==o.status.childComponents?null:o.status.childComponents.length)("ngIfElse",a)}},dependencies:[l.Sq,l.bT,P3.t,De.T,E.Bf,E.dE,l.Jj],styles:[".filter-toggle[_ngcontent-%COMP%]{padding:0}.index-title[_ngcontent-%COMP%]{margin-top:1.125rem}.index-filter[_ngcontent-%COMP%]{box-shadow:0 .125rem #b2b2b2;padding:.75rem 0 0}@media (max-width: 768px){.index-filter[_ngcontent-%COMP%]{max-height:4.25rem}}.interactive-outline-wrapper[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:0}@media (max-width: 768px){.interactive-outline-wrapper[_ngcontent-%COMP%]{display:inline-block;flex-wrap:nowrap}}.interactive-outline-wrapper[_ngcontent-%COMP%] .interactive-outline-button[_ngcontent-%COMP%]{margin-bottom:.75rem;max-width:100%;overflow:hidden;overflow-wrap:break-word;padding:0;word-break:break-word}.interactive-outline-wrapper[_ngcontent-%COMP%] .interactive-outline-button[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;line-height:1.2em;padding:.5rem .75rem}.index-summary[_ngcontent-%COMP%]{margin:3rem 0}.disabled[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}"]})}}return n})();var En=p(55603),Dn=p(92102);function B3(n,r){if(1&n&&(e.j41(0,"h1",8),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);
1e.Y8G("ngClass","blue"==t.content.promosBackground.value?"promos-title large-font-size text-color":"promos-title large-font-size text-color-default"),e.R7$(),e.JRh(t.content.promosTitle.value)}}function V3(n,r){if(1&n&&(e.j41(0,"p",8),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("ngClass","blue"==t.content.promosBackground.value?"promos-summary regular-font-size text-color":"promos-summary regular-font-size text-color-default"),e.R7$(),e.JRh(t.content.promoSummary.value)}}function L3(n,r){if(1&n&&(e.j41(0,"div",16),e.nrm(1,"img",17),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("src",t.image,e.B4B)}}function A3(n,r){if(1&n&&(e.j41(0,"div",18)(1,"span",19),e.EFF(2),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.JRh(t.title)}}function q3(n,r){if(1&n&&(e.nrm(0,"p",20),e.nI1(1,"safeHtml")),2&n){const t=e.XpG().$implicit;e.Y8G("innerHtml",e.bMT(1,1,t.text),e.npT)}}function U3(n,r){if(1&n&&(e.j41(0,"div",21),e.nrm(1,"app-gated-button",22),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.R7$(),e.Y8G("buttonField",i.buttonToField(t.button))("elementClasses","promo-button gold-button")}}function z3(n,r){if(1&n&&(e.j41(0,"div",8)(1,"div",11),e.DNE(2,L3,2,1,"div",12)(3,A3,3,1,"div",13)(4,q3,2,3,"p",14),e.k0s(),e.DNE(5,U3,2,2,"div",15),e.k0s()),2&n){const t=r.$implicit,i=e.XpG(3);e.AVh("box-with-image",t.image),e.Y8G("ngClass",i.content.promos.value.length>=4?"promo-box promo-box-big":"promo-box"),e.R7$(2),e.Y8G("ngIf",t.image),e.R7$(),e.Y8G("ngIf",t.title),e.R7$(),e.Y8G("ngIf",t.text),e.R7$(),e.Y8G("ngIf",t.button)}}function H3(n,r){if(1&n&&(e.j41(0,"div",9),e.DNE(1,z3,6,7,"div",10),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.content.promos.value)}}function W3(n,r){if(1&n&&e.nrm(0,"img",17),2&n){const t=e.XpG(2).$implicit;e.Y8G("src",t.image,e.B4B)}}function J3(n,r){if(1&n&&(e.j41(0,"span",19),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.title)}}function K3(n,r){if(1&n&&(e.nrm(0,"p",20),e.nI1(1,"safeHtml")),2&n){const t=e.XpG(2).$implicit;e.Y8G("innerHtml",e.bMT(1,1,t.text),e.npT)}}function Q3(n,r){if(1&n&&(e.j41(0,"div",21),e.nrm(1,"app-gated-button",22),e.k0s()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(3);e.R7$(),e.Y8G("buttonField",i.buttonToField(t.button))("elementClasses","promo-button gold-button")}}function Z3(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",27)(2,"div",28)(3,"div",11)(4,"div",16),e.DNE(5,W3,1,1,"img",29),e.k0s(),e.j41(6,"div",18),e.DNE(7,J3,2,1,"span",30),e.k0s(),e.DNE(8,K3,2,3,"p",14),e.k0s(),e.DNE(9,Q3,2,2,"div",15),e.k0s()(),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(5),e.Y8G("ngIf",t.image),e.R7$(2),e.Y8G("ngIf",t.title),e.R7$(),e.Y8G("ngIf",t.text),e.R7$(),e.Y8G("ngIf",t.button)}}function e4(n,r){1&n&&(e.qex(0),e.DNE(1,Z3,10,4,"ng-container",26),e.bVm())}function t4(n,r){if(1&n&&(e.j41(0,"div",23)(1,"app-slider",24),e.DNE(2,e4,2,0,"ng-container",25),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("configuration",t.sliderConfiguration),e.R7$(),e.Y8G("ngForOf",t.content.promos.value)}}function n4(n,r){if(1&n&&(e.j41(0,"div",31),e.nrm(1,"app-gated-button",22),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("buttonField",t.content.promoButton)("elementClasses","gold-button promo-button-bottom bold-font-weight")}}function i4(n,r){if(1&n&&(e.j41(0,"div",1)(1,"div",2)(2,"div",3),e.DNE(3,B3,2,2,"h1",4)(4,V3,2,2,"p",4),e.k0s(),e.DNE(5,H3,2,1,"div",5),e.nI1(6,"async"),e.DNE(7,t4,3,2,"div",6),e.nI1(8,"async"),e.DNE(9,n4,2,2,"div",7),e.k0s()()),2&n){const t=e.XpG();e.AVh("m-64","1"===(null==t.content.uxPadding?null:t.content.uxPadding.value)),e.Y8G("ngClass","blue"==t.content.promosBackground.value?"background-blue":"background-default"),e.R7$(3),e.Y8G("ngIf",t.content.promosTitle.value),e.R7$(),e.Y8G("ngIf",t.content.promoSummary.value),e.R7$(),e.Y8G("ngIf",!e.bMT(6,8,t.getShowSlider())),e.R7$(2),e.Y8G("ngIf",e.bMT(8,10,t.getShowSlider())),e.R7$(2),e.Y8G("ngIf",t.content.promoButton.value)}}let Co=(()=>{class n{constructor(t,i){this.platformId=t,this.isBreakpoint=i,this.showSwiper=new Oe.t(!1),this.slidesToShow=0,this.activeSlide=0,this.sliderConfiguration={swipeAtOnce:1,showControls:!1}}ngOnInit(){this.onResize()}getShowSlider(){return this.showSwiper.asObservable()}onResize(){(0,l.UE)(this.platformId)&&this.showSwiper.next(this.isBreakpoint.desktop())}buttonToField(t){return{value:t,visibility:!0}}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw),e.rXU(S.f))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-promos"]],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)},inputs:{content:"content"},decls:1,vars:1,consts:[["id","promos","class","gtm-track-component component",3,"ngClass","m-64",4,"ngIf"],["id","promos",1,"gtm-track-component","component",3,"ngClass"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"head-wrapper"],[3,"ngClass",4,"ngIf"],["class","promos-wrapper flex-container",4,"ngIf"],["class","promos-wrapper promos-wrapper-slider",4,"ngIf"],["class","promo-button-bottom-wrapper",4,"ngIf"],[3,"ngClass"],[1,"promos-wrapper","flex-container"],[3,"box-with-image","ngClass",4,"ngFor","ngForOf"],[1,"wrapper-content"],["class","wrapper-icon",4,"ngIf"],["class","wrapper-title",4,"ngIf"],["class","promo-text regular-font-size",3,"innerHtml",4,"ngIf"],["class","wrapper-promo-button",4,"ngIf"],[1,"wrapper-icon"],["appLazyLoad","",1,"promo-icon",3,"src"],[1,"wrapper-title"],[1,"promo-title","regular-font-size"],[1,"promo-text","regular-font-size",3,"innerHtml"],[1,"wrapper-promo-button"],[3,"buttonField","elementClasses"],[1,"promos-wrapper","promos-wrapper-slider"],[3,"configuration"],[4,"ngFor","ngForOf"],[4,"appSliderItem"],[1,"promo-wrapper"],[1,"promo-box","mobile-flex-container"],["appLazyLoad","","class","promo-icon",3,"src",4,"ngIf"],["class","promo-title regular-font-size",4,"ngIf"],[1,"promo-button-bottom-wrapper"]],template:function(i,o){1&i&&e.DNE(0,i4,10,12,"div",0),2&i&&e.Y8G("ngIf",o.content.promos.value.length>0)},dependencies:[l.YU,l.Sq,l.bT,En.d,Dn.k,_o.H,Y.S,l.Jj,be.$],styles:["body[_ngcontent-%COMP%]{font-size:.875rem}
1.light-font-weight[_ngcontent-%COMP%]{font-weight:300}.regular-font-weight[_ngcontent-%COMP%]{font-weight:400}.medium-font-weight[_ngcontent-%COMP%]{font-weight:500}.semi-bold-font-weight[_ngcontent-%COMP%]{font-weight:600}.bold-font-weight[_ngcontent-%COMP%]{font-weight:700}@media (max-width: 1144px){.bold-font-weight-sm[_ngcontent-%COMP%]{font-weight:700}}.extrabold-font-weight[_ngcontent-%COMP%]{font-weight:800}.small-font-size[_ngcontent-%COMP%]{font-size:.875rem!important;line-height:1em}.smaller-font-size[_ngcontent-%COMP%]{font-size:.65625rem;line-height:1em}.base-font-size[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.3125rem}@media (max-width: 1144px){.xs-base-font-size[_ngcontent-%COMP%]{font-size:.875rem!important;line-height:1.3125rem!important}}.regular-font-size[_ngcontent-%COMP%]{font-size:.984375rem;line-height:1.75rem}.big-font-size[_ngcontent-%COMP%]{font-size:1.09375rem;line-height:1.1em}.bigger-font-size[_ngcontent-%COMP%]{font-size:1.203125rem;line-height:1em}.generous-font-size[_ngcontent-%COMP%]{font-size:1.421875rem;line-height:1.640625rem}.large-font-size[_ngcontent-%COMP%]{font-size:1.640625rem;line-height:1em}@media (max-width: 1144px){.large-font-size[_ngcontent-%COMP%]{font-size:1.18125rem}}.larger-font-size[_ngcontent-%COMP%]{font-size:2.1875rem;line-height:1em}@media (max-width: 1144px){.larger-font-size[_ngcontent-%COMP%]{font-size:1.75rem}}.hero-font[_ngcontent-%COMP%]{font-size:3.5rem;font-weight:800;line-height:4.046875rem}.align-center[_ngcontent-%COMP%]{text-align:center}.align-right[_ngcontent-%COMP%]{text-align:right}.section-title[_ngcontent-%COMP%]{display:inline}.blue-text[_ngcontent-%COMP%]{color:#001eff}.grey-medium-text[_ngcontent-%COMP%]{color:#4d4d4d}h1[_ngcontent-%COMP%]{font-size:1.640625rem;font-weight:700;line-height:1.4;font-family:LSEG Motto,Proxima Nova,Arial,Helvetica;text-transform:uppercase}h2[_ngcontent-%COMP%]{font-size:1.3125rem;font-weight:700;line-height:1.333;font-family:LSEG Motto,Proxima Nova,Arial,Helvetica;text-transform:uppercase}h3[_ngcontent-%COMP%]{font-size:1.09375rem;font-weight:700;line-height:1.2}h4[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:700;line-height:1.333}h5[_ngcontent-%COMP%]{font-weight:700}.h-link[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:500}.h-link-bold[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:700}.text-align-center[_ngcontent-%COMP%]{text-align:center}.text-align-right[_ngcontent-%COMP%]{text-align:right}.text-align-left[_ngcontent-%COMP%]{text-align:left}.text-align-justify[_ngcontent-%COMP%]{text-align:justify}#promos[_ngcontent-%COMP%]{font-family:Proxima Nova,Arial,Helvetica;padding-top:1.5rem}@media (max-width: 1144px){#promos[_ngcontent-%COMP%]{padding-left:0;padding-top:1.25rem;text-align:center}}.head-wrapper[_ngcontent-%COMP%] .promos-title[_ngcontent-%COMP%]{display:block;font-size:1.640625rem;font-weight:700;height:auto;line-height:4rem}.head-wrapper[_ngcontent-%COMP%] .promos-summary[_ngcontent-%COMP%]{height:auto;padding-bottom:2.25rem}.promos-wrapper[_ngcontent-%COMP%]{justify-content:center;margin-bottom:1.875rem}.promo-wrapper[_ngcontent-%COMP%]{padding:0 4%;width:calc(100% - 4rem)}.promos-wrapper-slider[_ngcontent-%COMP%] .promo-wrapper[_ngcontent-%COMP%]{width:calc(100vw - 2rem)}.promo-box[_ngcontent-%COMP%]{align-items:center;background-color:#fff;border:.5rem solid #e6e6e6;flex-wrap:wrap;height:auto;margin:auto 1.25rem;padding:2.5rem .9375rem;width:21.375rem}@media (max-width: 1144px){.promo-box[_ngcontent-%COMP%]{margin:auto;width:auto}}.promo-box.box-with-image[_ngcontent-%COMP%]{padding:1.125rem .9375rem 3.75rem}.promo-box.promo-box-big[_ngcontent-%COMP%]{width:16.25rem}.promo-box[_ngcontent-%COMP%] .wrapper-content[_ngcontent-%COMP%]{height:calc(100% - 3.125rem);width:100%}.promo-box[_ngcontent-%COMP%] .wrapper-icon[_ngcontent-%COMP%]{align-self:flex-start;margin-bottom:1rem;text-align:center;width:100%}.promo-box[_ngcontent-%COMP%] .wrapper-icon[_ngcontent-%COMP%] .promo-icon[_ngcontent-%COMP%]{height:auto;width:6.563rem}.promo-box[_ngcontent-%COMP%] .wrapper-title[_ngcontent-%COMP%]{align-self:flex-start;margin-bottom:1.3125rem;text-align:center;width:100%}.promo-box[_ngcontent-%COMP%] .wrapper-title[_ngcontent-%COMP%] .promo-title[_ngcontent-%COMP%]{color:#001eff;font-weight:700;text-align:center;text-transform:uppercase}.promo-box[_ngcontent-%COMP%] .promo-text[_ngcontent-%COMP%]{align-self:flex-start;color:#000;text-align:center;width:100%}.promo-box[_ngcontent-%COMP%] .wrapper-promo-button[_ngcontent-%COMP%]{height:3.125rem;margin-top:.5rem;text-align:center;width:100%}.promo-box[_ngcontent-%COMP%] .wrapper-promo-button[_ngcontent-%COMP%] .promo-button[_ngcontent-%COMP%]{font-family:Proxima Nova,Arial,Helvetica}.promo-box[_ngcontent-%COMP%] .wrapper-icon[_ngcontent-%COMP%]:last-child, .promo-box[_ngcontent-%COMP%] .wrapper-title[_ngcontent-%COMP%]:last-child, .promo-box[_ngcontent-%COMP%] .promo-text[_ngcontent-%COMP%]:last-child{margin-bottom:0}.promo-button-bottom-wrapper[_ngcontent-%COMP%]{text-align:center}.promo-button-bottom-wrapper[_ngcontent-%COMP%] .gold-button[_ngcontent-%COMP%]{margin-bottom:0}.background-default[_ngcontent-%COMP%]{background-color:#fff}.background-blue[_ngcontent-%COMP%]{background-image:linear-gradient(#001eff 55%,#fff 0%)}.text-color[_ngcontent-%COMP%]{color:#fff}.text-color-default[_ngcontent-%COMP%]{color:#000}"],changeDetection:0})}}return n})();function o4(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.content.companytitle.value)}}function r4(n,r){1&n&&e.eu8(0)}function a4(n,r){if(1&n&&(e.j41(0,"h1",8),e.DNE(1,o4,2,1,"ng-container",9)(2,r4,1,0,"ng-container",10),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(8);e.R7$(),e.Y8G("ngIf",!t.content.companytitle.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.companytitle)}}function s4(n,r){if(1&n&&e.nrm(0,"app-hide-field",12),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function l4(n,r){1&n&&e.DNE(0,s4,1,1,"app-hide-field",11),2&n&&e.Y8G("ngIf",r.errorText)}let To=(()=>{class n{constructor(t){this.dynamicBreadcrumb=t}ngOnInit(){this.dynamicBreadcrumb.setBreadcrumbPageTitle(this.content.companytitle.value,"non-lse-instruments")}ngOnDestroy(){this.dynamicBreadcrumb.deleteBreadcrumbPageTitle()}bgStyle(){if(this.content.heroImage.value)return{"background-image":`url(${this.content.heroImage.value})`}}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(V))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-non-lse-instruments-hero"]],inputs:{content:"content"},decls:9,vars:8,consts:[["emptyvalue",""],["id","non-lse-instruments-hero",1,"non-lse-instruments-hero","full-width","gtm-track-component"],[1,"cover-image",3,"ngStyle"],[1,"hero-cover","overlay"],[1,"wrapper","x-large-width","x-large-width-padding"],["class","company-name font-bold hero-font",4,"ngIf"],[1,"company-share"],[3,"shareButton","companyName"],[1,"company-name","font-bold","hero-font"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4),e.DNE(4,a4,3,3,"h1",5),e.j41(5,"div",6),e.nrm(6,"app-share-buttons",7),e.k0s()()()()(),e.DNE(7,l4,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.R7$(),e.AVh("default-cover-image",!o.content.heroImage.visibility||!o.content.heroImage.value),e.Y8G("ngStyle",o.bgStyle()),e.R7$(3),e.Y8G("ngIf",o.content.companytitle.visibility),e.R7$(2),e.Aen("white"),e.Y8G("shareButton","Share")("companyName",o.content.companytitle.value))},dependencies:[l.bT,l.T3,l.B3,y.W,Z],styles:[".non-lse-instruments-hero[_ngcontent-%COMP%]{margin-bottom:4rem}
1.company-name[_ngcontent-%COMP%]{color:#fff;overflow:hidden;overflow-wrap:break-word;text-align:center;word-break:break-word}.company-share[_ngcontent-%COMP%]{margin-bottom:1.25rem}.hero-cover[_ngcontent-%COMP%]{min-height:12rem;overflow:hidden;padding:5rem 0 3.75rem;position:relative}@media (max-width: 768px){.hero-cover[_ngcontent-%COMP%]{padding-bottom:3rem}}"],changeDetection:0})}}return n})();var xo=p(9438),Rt=p(92418);function c4(n,r){if(1&n&&(e.nrm(0,"iframe",3),e.nI1(1,"safeUrl")),2&n){const t=e.XpG();e.Y8G("src",e.bMT(1,1,t.content.pardotForm.value),e.f$h)}}let ko=(()=>{class n{constructor(t,i){this.gatedContentService=t,this.renderer=i}ngOnInit(){this.gatedContentService.loadIframeResizerScripts(this.renderer)}ngOnDestroy(){this.gatedContentService.removeIframeResizerScript(this.renderer)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(xo.y),e.rXU(e.sFG))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-pardot-form"]],inputs:{content:"content"},decls:3,vars:1,consts:[["id","pardot-form"],[1,"wrapper","x-large-width","x-large-width-padding"],[3,"src",4,"ngIf"],[3,"src"]],template:function(i,o){1&i&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,c4,2,3,"iframe",2),e.k0s()()),2&i&&(e.R7$(2),e.Y8G("ngIf",o.content.pardotForm.value))},dependencies:[l.bT,Rt.d],styles:["iframe[_ngcontent-%COMP%]{border-style:none;width:100%}"]})}}return n})();function p4(n,r){if(1&n&&(e.nrm(0,"iframe",3),e.nI1(1,"safeUrl")),2&n){const t=e.XpG();e.Y8G("src",e.bMT(1,1,t.content.externalForm.value),e.f$h)}}let m4=(()=>{class n{constructor(t,i){this.gatedContentService=t,this.renderer=i}ngOnInit(){this.gatedContentService.loadIframeResizerScripts(this.renderer)}ngOnDestroy(){this.gatedContentService.removeIframeResizerScript(this.renderer)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(xo.y),e.rXU(e.sFG))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-external-form"]],inputs:{content:"content"},decls:3,vars:1,consts:[["id","external-form"],[1,"wrapper","x-large-width","x-large-width-padding","test-towy"],[3,"src",4,"ngIf"],[3,"src"]],template:function(i,o){1&i&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,p4,2,3,"iframe",2),e.k0s()()),2&i&&(e.R7$(2),e.Y8G("ngIf",o.content.externalForm.value))},styles:["iframe[_ngcontent-%COMP%]{border-style:none;width:100%}"]})}}return n})();function _4(n,r){if(1&n&&(e.j41(0,"div",5)(1,"h2",6),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.content.title.value)}}function d4(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",12)(2,"a",13),e.nrm(3,"img",14),e.k0s()(),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.Y8G("href",t.logoUrl.link,e.B4B)("target",t.logoUrl.target),e.R7$(),e.Y8G("src",t.logoImage,e.B4B)}}function u4(n,r){1&n&&(e.qex(0),e.DNE(1,d4,4,3,"ng-container",11),e.bVm())}function g4(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-slider",9),e.bIt("currentIndex",function(o){e.eBV(t);const a=e.XpG(3);return e.Njj(a.loadAdditionalSlides(o))}),e.DNE(1,u4,2,0,"ng-container",10),e.k0s()}if(2&n){const t=e.XpG(3);e.Y8G("configuration",t.sliderConfiguration)("totalLazyItems",null==t.content.pagination?null:t.content.pagination.totalItems)("ignoreLazyLoading",!(null!=t.status&&t.status.refreshed||null==t.status||!t.status.error)),e.R7$(),e.Y8G("ngForOf",t.logos)}}function h4(n,r){1&n&&e.eu8(0)}function f4(n,r){if(1&n&&(e.qex(0),e.DNE(1,g4,2,4,"app-slider",7)(2,h4,1,0,"ng-container",8),e.bVm()),2&n){const t=e.XpG(2),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!(null!=t.content.logosDynamic&&t.content.logosDynamic.errorText)),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.logos)}}function v4(n,r){if(1&n&&(e.j41(0,"section",2),e.DNE(1,_4,3,1,"div",3)(2,f4,3,3,"ng-container",4),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",null==t.content.title?null:t.content.title.value),e.R7$(),e.Y8G("ngIf",t.logos&&(null==t.content.logosDynamic?null:t.content.logosDynamic.visibility))}}function b4(n,r){if(1&n&&e.nrm(0,"app-hide-field",16),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function C4(n,r){1&n&&e.DNE(0,b4,1,1,"app-hide-field",15),2&n&&e.Y8G("ngIf",r.errorText)}p(43036);let Ft=(()=>{class n{constructor(t,i,o){this.platformId=t,this.isBreakpoint=i,this.refreshService=o,this._onDesktop=!1,this.logos=new Array,this.currentPage=0,this.isDataLoaded$=new re.B,this.sliderConfiguration={autoplay:7e3,infinite:"unidirectional",lazyLoading:!0,emptyEnd:!1,showControlsBackgroun
1d:!1,showSelectors:!1,swipeAtOnce:5,offCanvas:!0,offsetLeft:"calc(50vw - 36.75rem)",offsetRight:"calc(50vw - 36.75rem)"}}get onDesktop(){return this._onDesktop}ngOnChanges(t){t.content?.currentValue!==t.content?.previousValue&&(void 0!==t.content?.currentValue?.logosDynamic?.value&&this.logos.push(...t.content?.currentValue?.logosDynamic?.value),this.refreshService.setComponentStatus(this.id,this.position,{...this.status,slidesItems:this.logos}))}ngOnInit(){this.onResize(),this.content.pagination.totalPages>0&&this.loadAdditionalSlides(0)}onResize(){(0,l.UE)(this.platformId)&&(this._onDesktop=!this.isBreakpoint.desktop())}loadAdditionalSlides(t){if(this.status.error)return;const i=Math.trunc((t+this.sliderConfiguration.swipeAtOnce)/this.content.pagination.itemsPerPage);if(i<=this.currentPage||i>=this.content.pagination.totalPages)return;this.currentPage=i;const o=new F.Nl({fromString:`page=${i}&size=${this.content.pagination.itemsPerPage}`});this.status={params:o},this.refreshService.refreshComponent(this.id,this.position,this.type,this.content,this.status)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw),e.rXU(S.f),e.rXU(j.W))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-logo-carousel-dynamic"]],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)},inputs:{content:"content",type:"type",position:"position",id:"id",status:"status"},features:[e.OA$],decls:3,vars:1,consts:[["emptyvalue",""],["id","logo-carousel","class","logo-carousel component gtm-track-component",4,"ngIf"],["id","logo-carousel",1,"logo-carousel","component","gtm-track-component"],["class","wrapper x-large-width x-large-width-padding",4,"ngIf"],[4,"ngIf"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"logo-carousel-title"],[3,"configuration","totalLazyItems","ignoreLazyLoading","currentIndex",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"currentIndex","configuration","totalLazyItems","ignoreLazyLoading"],[4,"ngFor","ngForOf"],[4,"appSliderItem"],[1,"logo-carousel-slide"],[3,"href","target"],["appLazyLoad","",3,"src"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&e.DNE(0,v4,3,2,"section",1)(1,C4,1,1,"ng-template",null,0,e.C5r),2&i&&e.Y8G("ngIf",o.onDesktop)},dependencies:[l.Sq,l.bT,l.T3,y.W,En.d,Dn.k,Y.S],styles:[".logo-carousel[_ngcontent-%COMP%]{background-color:#f4f4f4;padding:2rem 0}.logo-carousel-title[_ngcontent-%COMP%]{color:#000;margin-bottom:2rem}.logo-carousel-slide[_ngcontent-%COMP%]{display:flex;flex:1;max-width:14.7rem!important;min-width:14.7rem;padding:0 1rem}.logo-carousel-slide[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{align-items:center;background-color:#fff;display:inline-flex;height:7.5rem;margin:auto;max-width:12.7rem;padding:.5rem;width:100%}.logo-carousel-slide[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;height:auto;margin:auto;max-height:100%;max-width:11.7rem;width:auto}"],changeDetection:0})}}return n})(),T4=(()=>{class n{constructor(){}findAncestor(t,i){return i?i&&t.matches(i)?t:this.findAncestor(t.parentNode,i):t.parentNode}getAncestor(t,i){try{return this.findAncestor(t,i)}catch{return null}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function x4(n,r){if(1&n&&(e.nrm(0,"p",8),e.nI1(1,"safeHtml")),2&n){const t=e.XpG(2);e.Y8G("innerHtml",e.bMT(1,1,t.term.termDescription),e.npT)}}function k4(n,r){if(1&n&&(e.nrm(0,"p",8),e.nI1(1,"safeHtml")),2&n){const t=e.XpG(3);e.Y8G("innerHtml",e.bMT(1,1,t.lazyDescription),e.npT)}}function y4(n,r){1&n&&(e.j41(0,"p"),e.EFF(1,"Description not found"),e.k0s())}function w4(n,r){if(1&n&&(e.qex(0),e.DNE(1,k4,2,3,"p",6)(2,y4,2,0,"p",7),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.lazyDescription),e.R7$(),e.Y8G("ngIf",!t.lazyDescription)}}function I4(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"div",3),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeDescription())}),e.k0s()(),e.j41(3,"h3",4),e.EFF(4),e.k0s(),e.j41(5,"div",5),e.DNE(6,x4,2,3,"p",6)(7,w4,3,2,"ng-container",7),e.k0s()()}if(2&n){const t=e.XpG();e.Mz_("id","",t.term.termAnchor,"-description"),e.R7$(4),e.JRh(t.term.term),e.R7$(2),e.Y8G("ngIf",!t.viewMode),e.R7$(),e.Y8G("ngIf","lazyload"==t.viewMode)}}let M4=(()=>{class n{constructor(t,i){this.elementRef=t,this.platformId=i,this.viewMode=null,this.descriptionHeight=new e.bkB,this.close=new e.bkB}ngAfterViewInit(){if(!(0,l.UE)(this.platformId))return;const t=this.elementRef.nativeElement.querySelector(".glossary-term-description"),i=t?t.getBoundingClientRect().height:0;this.descriptionHeight.emit(i)}closeDescription(){this.close.emit()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.aKT),e.rXU(e.Agw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-glossary-term-description"]],inputs:{viewMode:"viewMode",term:"term",lazyDescription:"lazyDescription"},outputs:{descriptionHeight:"descriptionHeight",close:"close"},decls:1,vars:1,consts:[["class","glossary-term-description",3,"id",4,"ngIf"],[1,"glossary-term-description",3,"id"],[1,"close-icon"],[1,"close-overlay",3,"click"],[1,"blue-text","large-font-size","regular-font-we
1ight"],[1,"regular-font-size","break-word"],[3,"innerHtml",4,"ngIf"],[4,"ngIf"],[3,"innerHtml"]],template:function(i,o){1&i&&e.DNE(0,I4,8,5,"div",0),2&i&&e.Y8G("ngIf",o.term)},dependencies:[l.bT,be.$],styles:[".glossary-term-description[_ngcontent-%COMP%]{background-color:#fff;border:.0625rem solid #fafafa;box-shadow:0 .125rem .25rem .125rem #fafafa;overflow:hidden;padding:3rem;position:absolute;right:0;top:.5rem;width:60%;z-index:10}@media (max-width: 480px){.glossary-term-description[_ngcontent-%COMP%]{width:100%}}.glossary-term-description[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:2rem}.glossary-term-description[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0}"]})}}return n})();const O4=["lastTerm"];function R4(n,r){if(1&n&&(e.j41(0,"p",6),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.glossarySummary.value," ")}}function F4(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"a",9),e.bIt("click",function(o){const a=e.eBV(t).$implicit,s=e.XpG(2);return e.Njj(s.selectedLetter(a.letter,a.index,o))}),e.EFF(2),e.k0s(),e.bVm()}if(2&n){const t=r.$implicit,i=e.XpG(2);e.R7$(),e.AVh("current",t.letter==i.letterId)("active",t.index>=0),e.Y8G("href",i.getLink(t.letter),e.B4B),e.R7$(),e.JRh(t.letter)}}function P4(n,r){if(1&n&&(e.j41(0,"div",7),e.DNE(1,F4,3,6,"ng-container",8),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.content.glossaryTiles.value)}}function G4(n,r){if(1&n&&(e.j41(0,"div",14)(1,"span",15),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.content.glossaryPromoTitle.value)}}function S4(n,r){if(1&n&&(e.j41(0,"h2",16),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.glossaryPromoTerm.value," ")}}function $4(n,r){if(1&n&&(e.nrm(0,"div",17),e.nI1(1,"safeHtml")),2&n){const t=e.XpG(2);e.Y8G("innerHtml",e.bMT(1,1,t.content.glossaryPromoText.value),e.npT)}}function E4(n,r){if(1&n&&(e.j41(0,"div",10),e.DNE(1,G4,3,1,"div",11)(2,S4,2,1,"h2",12)(3,$4,2,3,"div",13),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.content.glossaryPromoTitle.value),e.R7$(),e.Y8G("ngIf",t.content.glossaryPromoTerm.value),e.R7$(),e.Y8G("ngIf",t.content.glossaryPromoText.value)}}function D4(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",29),e.bIt("click",function(o){e.eBV(t);const a=e.XpG().$implicit,s=e.XpG(3);return e.Njj(s.openDescription(o,a))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG().$implicit,i=e.XpG().$implicit,o=e.XpG(2);e.Y8G("href",o.getLink(i.letter,t),e.B4B)("id",t.termAnchor),e.R7$(),e.JRh(t.term)}}function j4(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-glossary-term-description",30),e.bIt("descriptionHeight",function(o){e.eBV(t);const a=e.XpG(4);return e.Njj(a.setDescriptionGap(o))})("close",function(){e.eBV(t);const o=e.XpG(4);return e.Njj(o.closeDescription())}),e.k0s()}if(2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.Y8G("term",t)("viewMode",null==i.meta?null:i.meta.viewMode)("lazyDescription",i.getLazyDescription(t.termAnchor))}}function N4(n,r){if(1&n&&(e.j41(0,"div",26),e.DNE(1,D4,2,3,"a",27)(2,j4,1,3,"app-glossary-term-description",28),e.k0s()),2&n){const t=r.$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.term&&t.termAnchor),e.R7$(),e.Y8G("ngIf",t.termAnchor===i.termId)}}function Y4(n,r){1&n&&e.nrm(0,"span",31,0)}function X4(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",21)(1,"h4",22),e.EFF(2),e.k0s(),e.DNE(3,N4,3,2,"div",23),e.j41(4,"div",24),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.scrollTop())}),e.k0s(),e.DNE(5,Y4,2,0,"span",25),e.k0s()}if(2&n){const t=r.$implicit,i=r.last,o=e.XpG(2);e.AVh("current",t.letter===o.letterId),e.Y8G("id",t.letter)("ngStyle",o.getDescriptionGap(t.letter===o.letterId)),e.R7$(2),e.JRh(t.letter),e.R7$(),e.Y8G("ngForOf",t.terms),e.R7$(2),e.Y8G("ngIf",i)}}function B4(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",32)(1,"div",33),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.showMore())}),e.EFF(2,"Show more"),e.k0s()()}}function V4(n,r){if(1&n&&(e.j41(0,"div",18),e.DNE(1,X4,6,7,"div",19),e.nI1(2,"slice"),e.DNE(3,B4,3,0,"div",20),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",e.brH(2,2,t.content.glossary.value,0,t.showUpTo)),e.R7$(2),e.Y8G("ngIf",t.showU
1pTo<t.content.glossary.value.length)}}let yo=(()=>{class n{constructor(t,i,o,a,s,c,d,C,T,I){this.platformId=t,this.elementRef=i,this.scrollToService=o,this.cdRef=a,this.http=s,this.isBreakpoint=c,this.closest=d,this.config=C,this.headTagService=T,this.urlService=I,this.meta={viewMode:null},this.letterId=null,this.letterIndex=-1,this.targetId=null,this.termId=null,this._lazyDescriptionMap=new Map,this._showUpStep=5,this._showUpTo=this._showUpStep,this._descriptionGap=0}get showUpTo(){return this._showUpTo}set showUpTo(t){this._showUpTo=t}get showUpStep(){return this._showUpStep}getLetter(t){if(!t)return null;const i=t.charAt(0);return/^\d$/.test(i)?"0-9":i.toUpperCase()}getLetterIndex(t){if(!t||!this.content.glossaryTiles||!this.content.glossaryTiles.value)return-1;const o=this.content.glossaryTiles.value.filter(a=>t===a.letter).shift();return o?o.index:-1}submitLazyDescriptionRequest(t){if(!t)return;const i=this.config.apiServer+M.c.endpoints.glossaryDescription;let o=new F.Nl;o=o.set("term",t),this.http.get(i,{params:o}).pipe((0,Ge.W)(()=>(0,q.of)({termDescription:null}))).subscribe(a=>{a&&a.termDescription?this._lazyDescriptionMap.set(t,a.termDescription):(0,te.z3)(`Error requesting ${t} description.`)})}scrollTo(t){const i=this.isBreakpoint.mobile()&&this.letterId&&t===this.letterId?"glossary-content":t;this.scrollToService.scrollToTheElementById(i,this.elementRef)}ngOnInit(){this.currentTerm$=new re.B,this.headTagService.setMetaRobot()}ngAfterViewInit(){var t=this;return(0,_.A)(function*(){const i=yield t.urlService.getCurrentPath().toPromise();t.currentPath=i,t.currentTerm$.pipe((0,W.p)(o=>null!==o.letter)).subscribe(o=>{t.updateUrl(o.letter,o.term),t.showUpTo=Math.max(t.calculateShowMoreOffset(o.index),t.showUpTo),t.targetId=o.term||o.letter,t.letterId=o.letter,t.termId=o.term,t.letterIndex=o.index,t.scrollTo(t.targetId)}),t.lastTerm$.changes.subscribe(o=>{o.length&&t.scrollTo(t.targetId)}),t.getCurrentTerm(i),"lazyload"===t.meta.viewMode&&t.submitLazyDescriptionRequest(t.termId)})()}calculateShowMoreOffset(t){return 5*(Math.floor(t/5)+1)}getCurrentTerm(t){if(!t||!t.parameters)return;const i=t.parameters.get("term"),o=t.parameters.get("letter"),a=o?o.toUpperCase():this.getLetter(i),s=this.getLetterIndex(a);this.selectedTerm(a,i,s)}selectedTerm(t=null,i=null,o=-1){const a={letter:t,term:i,index:o};i||(this._descriptionGap=0),this.currentTerm$.next(a)}selectedLetter(t,i,o){o&&o.preventDefault(),this.selectedTerm(t,null,i)}updateUrl(t,i=null){if(!this.currentPath)return;const s={path:this.currentPath.path,parameters:new F.Nl({fromString:(t?`letter=${t}`:"")+(i?`&term=${i}`:"")})};this.urlService.setCurrentPath(s)}getLazyDescription(t){return this._lazyDescriptionMap.get(t)}openDescription(t,i){if(t.preventDefault(),!i)return;!i.termDescription&&"lazyload"===this.meta.viewMode&&!this.getLazyDescription(i.termAnchor)&&this.submitLazyDescriptionRequest(i.termAnchor);const o=this.getLetter(i.termAnchor),a=this.getLetterIndex(o);this.currentTerm$.next({letter:o,term:i.termAnchor,index:a}),this.cdRef.detectChanges()}setDescriptionGap(t){var i=this;return(0,_.A)(function*(){if(!(0,l.UE)(i.platformId))return;const o=i.termId,a=yield i.elementRef.nativeElement.querySelector(`[id='${o}']`),s=yield i.closest.getAncestor(a,".glossary-element.current"),c=a?a.getBoundingClientRect().top:0,d=s?s.getBoundingClientRect().top:0;i._descriptionGap=c-d+t})()}getDescriptionGap(t){return{"min-height":`${t?this._descriptionGap:0}px`}}closeDescription(){this.currentTerm$.next({letter:this.letterId,term:null,index:this.letterIndex}),this._descriptionGap=0,this.cdRef.detectChanges()}showMore(){this.showUpTo+=this.showUpStep,this.currentTerm$.next({letter:null,term:null,index:null})}scrollTop(){this.scrollToService.scrollToTheElementById("glossary",this.elementRef)}getLink(t,i){let o=(new F.Nl).set("letter",t);return i&&(o=o.set("term",i.termAnchor)),k.T.getLink("glossary",o)}ngOnDestroy(){this.currentTerm$.unsubscribe()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw),e.rXU(e.aKT),e.rXU(le.W),e.rXU(e.gRc),e.rXU(F.Qq),e.rXU(S.f),e.rXU(T4),e.rXU(Le.w),e.rXU(Ot.$),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-glossary"]],viewQuery:function(i,o){if(1&i&&e.GBs(O4,5),2&i){let a;e.mGM(a=e.lsd())&&(o.lastTerm$=a)}},inputs:{content:"content",meta:"meta"},decls:5,vars:6,consts:[["lastTerm",""],["id","glossary",1,"glossary","component","wrapper","x-large-width","x-large-width-padding","gtm-track-component"],["class","glossary-summary regular-font-size",4,"ngIf"],["class","glossary-tiles",4,"ngIf"],["class","glossary-promo hide-on-mobile",4,"ngIf"],["class","glossary-content","id","glossary-content",4,"ngIf"],[1,"glossary-summary","regular-font-size"],[1,"glossary-tiles"],[4,"ngFor","ngForOf"],[1,"bold-font-weight",3,"click","href"],[1,"glossary-promo","hide-on-mobile"],["class","glossary-promo-title",4,"ngIf"],["class","glossary-promo-term blue-text regular-font-we
1ight",4,"ngIf"],["class","glossary-promo-text break-word",3,"innerHtml",4,"ngIf"],[1,"glossary-promo-title"],[1,"large-font-size","extrabold-font-weight"],[1,"glossary-promo-term","blue-text","regular-font-weight"],[1,"glossary-promo-text","break-word",3,"innerHtml"],["id","glossary-content",1,"glossary-content"],["class","glossary-element",3,"current","id","ngStyle",4,"ngFor","ngForOf"],["class","show-more-div hide-on-mobile bold-font-weight",4,"ngIf"],[1,"glossary-element",3,"id","ngStyle"],[1,"bold-font-weight"],["class","regular-font-size glossary-term",4,"ngFor","ngForOf"],[1,"back-to-top",3,"click"],["class","last-element",4,"ngIf"],[1,"regular-font-size","glossary-term"],[3,"href","id","click",4,"ngIf"],[3,"term","viewMode","lazyDescription","descriptionHeight","close",4,"ngIf"],[3,"click","href","id"],[3,"descriptionHeight","close","term","viewMode","lazyDescription"],[1,"last-element"],[1,"show-more-div","hide-on-mobile","bold-font-weight"],[1,"gtm-show-more",3,"click"]],template:function(i,o){1&i&&(e.j41(0,"section",1),e.DNE(1,R4,2,1,"p",2)(2,P4,2,1,"div",3)(3,E4,4,3,"div",4)(4,V4,4,6,"div",5),e.k0s()),2&i&&(e.AVh("m-64","1"===(null==o.content.uxPadding?null:o.content.uxPadding.value)),e.R7$(),e.Y8G("ngIf",o.content.glossarySummary.value),e.R7$(),e.Y8G("ngIf",o.content.glossaryTiles.value),e.R7$(),e.Y8G("ngIf",o.content.glossaryPromoTitle.value||o.content.glossaryPromoTerm.value||o.content.glossaryPromoText.value),e.R7$(),e.Y8G("ngIf",o.content.glossary.value))},dependencies:[l.Sq,l.bT,l.B3,M4,l.P9,be.$],styles:['.glossary[_ngcontent-%COMP%]{margin-top:4rem}.glossary-tiles[_ngcontent-%COMP%]{margin:2rem -.86rem 0}@media (max-width: 480px){.glossary-tiles[_ngcontent-%COMP%]{margin-left:-1rem;margin-right:-1rem;padding:0 2vw}}.glossary-tiles[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{border:.0625rem solid #b2b2b2;color:#000;cursor:default;display:inline-block;height:2.5rem;line-height:2.5rem;margin:0 .86rem 1.25rem;opacity:.5;pointer-events:none;text-align:center;text-decoration:none;width:2.5rem}@media (max-width: 480px){.glossary-tiles[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{height:12vw;line-height:12vw;margin-left:2vw;margin-right:2vw;width:12vw}}.glossary-tiles[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{cursor:pointer;opacity:1;pointer-events:all}.glossary-tiles[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover, .glossary-tiles[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:focus{border-color:#001eff}.glossary-tiles[_ngcontent-%COMP%] a.active.current[_ngcontent-%COMP%]{border-color:#001eff;color:#001eff}.glossary-content[_ngcontent-%COMP%]{position:relative}.glossary-element[_ngcontent-%COMP%]{margin-top:3.5rem;position:relative}@media (max-width: 480px){.glossary-element[_ngcontent-%COMP%]{display:none;padding-top:1rem;z-index:-1}.glossary-element.current[_ngcontent-%COMP%]{display:block;z-index:1}}.glossary-element[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{align-items:center;background-color:#001eff;border-radius:50%;color:#fff;display:flex;font-size:1.75rem;height:5rem;justify-content:center;margin-bottom:1.5rem;margin-top:1rem;padding:1rem;width:5rem}.glossary-term[_ngcontent-%COMP%]{position:relative}.glossary-term[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000;display:inline-block;padding-top:1.5rem;text-decoration:none}.glossary-term[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.back-to-top[_ngcontent-%COMP%]{margin-right:0;margin-top:1.5rem}.glossary-promo[_ngcontent-%COMP%]{border:.0625rem solid #fafafa;margin-top:2rem;overflow:hidden;padding:0 1.5rem 2rem;text-align:center}.glossary-promo-title[_ngcontent-%COMP%]{display:inline-block;margin:0 auto 1rem;padding:1.5rem;position:relative;width:12.25rem}.glossary-promo-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;position:relative;z-index:2}.glossary-promo-title[_ngcontent-%COMP%]:after{background-color:#001eff;border-radius:50%;bottom:-1rem;content:"";display:block;height:12.25rem;left:0;position:absolute;width:12.25rem;z-index:1}.glossary-promo-term[_ngcontent-%COMP%]{margin:1.5rem 0;text-align:left}.glossary-promo-text[_ngcontent-%COMP%]{text-align:left}.show-more-div[_ngcontent-%COMP%]{border-top:.0625rem solid #e6e6e6;margin-top:3rem}.hidden-element[_ngcontent-%COMP%]{display:block;height:0;line-height:0;margin:0;opacity:0;padding:0;pointer-events:none}.break-word[_ngcontent-%COMP%]{overflow-wrap:break-word;word-break:break-word}']})}}return n})();function L4(n,r){if(1&n&&(e.j41(0,"div",1)(1,"h2"),e.EFF(2,"Growth Funding & Support Assessment Report"),e.k0s(),e.nrm(3,"br"),e.j41(4,"h3"),e.EFF(5,"Prepared for:"),e.k0s(),e.j41(6,"p"),e.EFF(7),e.nrm(8,"br"),e.EFF(9),e.nrm(10,"br"),e.EFF(11),e.k0s(),e.j41(12,"a",2),e.EFF(13,"Save report as PDF"),e.k0s()()),2&n){const t=e.XpG();e.R7$(7),e.Lme("",t.firstname," ",t.surname," "),e.R7$(2),e.SpI(" ",t.company," "),e.R7$(2),e.SpI(" ",t.date," "),e.R7$(),e.Y8G("href",t.pdf,e.B4B)}}let wo=(()=>{class n{constructor(t,i){this.config=t,this.http=i}ngOnInit(){this.getData().subscribe(t=>{this.firstname=t.field.firstname,this.surname=t.field.surname,this.company=t.field.company,this.date=t.field.date,this.pdf=t.field.full})}getData(){const i=window.location.href.split("tast=").pop();return this.http.get(this.config.apiServer+"/api/v1/content/ast-landing-page?module=assessment-tool-landing-page-component&tast="+i).pipe((0,Ge.W)(a=>(this.tastNotFound=!0,(0,te.z3)("Error",a,window.location.href),(0,q.of)({data:null}))))}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Le.w),e.rXU(F.Qq))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-ast-landing-page"]],inputs:{content:"content"},decls:1,vars:1,consts:[["class","mt-3 x-large-width x-large-width-padding wrapper",4,"ngIf"],[1,"mt-3","x-large-width","x-large-width-padding","wrapper"],["target","_blank",1,"gold-button","bold-font-weight","big-font-size",3,"href"]],template:function(i,o){1&i&&e.DNE(0,L4,14,5,"div",0),2&i&&e.Y8G("ngIf",!o.tastNotFound)},dependencies:[l.bT]})}}return n})(),Pt=(()=>{class n{transform(t,i){return t&&i?this.generateLink(t,i):((0,te.z3)("DirectoriesProfileUrlPipe: input params undefined or null"),"#")}generateLink(t,i){const o=this.getFirmIdValue(t)!==w.M.DEFAULT_VALUE?this.getFirmIdValue(t):null,a=this.getFirmNameValue(t)!==w.M.DEFAULT_VALUE?this.getFirmNameValue(t):null;return k.T.getDirectoryUrl(i,o,a)}getFirmIdValue(t){return this.getMemberKey(t)||this.getAimSearchId(t)||this.getFirmId(t)||this.getBrokerFirmId(t)||null}getFirmNameValue(t){return this.getMemberValue(t)||this.getAimSearchName(t)||this.getAdviser(t)||this.getMarketMakerValue(t)||this.getBrokerValue(t)||null}getMemberKey(t){return t.memberKey&&t.memberKey.value?t.memberKey.value:null}getMarketMakerValue(t){return t.firmname&&t.firmname.value?t.firmname.value:null}getMemberValue(t){return t.memberValue&&t.memberValue.value?t.memberValue.value:null}getAimSearchId(t){return t.aimSearchId&&t.aimSearchId.value?t.aimSearchId.value:null}getAimSearchName(t){return t.aimSearchName&&t.aimSearchName.value?t.aimSearchName.value:null}getFirmId(t){return t.firmid&&t.firmid.value?t.firmid.value:null}getAdviser(t){return t.adviser&&t.adviser.value?t.adviser.value:null}getBrokerFirmId(t){return t.brokerKey&&t.brokerKey.value?t.brokerKey.value:null}getBrokerValue(t){return t.brokerValue&&t.brokerValue.value?t.brokerValue.value:null}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=e.EJ8({name:"directoriesProfileUrl",type:n,pure:!0})}}return n})();function A4(n,r){if(1&n&&(e.j41(0,"div",17),e.nrm(1,"img",18),e.nI1(2,"safeUrl"),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.Y8G("src",e.bMT(2,2,t.profileLogo.value),e.B4B)("alt",t.profileName.value)}}function q4(n,r){if(1&n&&(e.qex(0),e.DNE(1,A4,3,4,"div",16),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.profileLogo.value)}}function U4(n,r){1&n&&e.eu8(0)}function z4(n,r){if(1&n&&(e.qex(0),e.DNE(1,q4,2,1,"ng-container",5)(2,U4,1,0,"ng-container",15),e.bVm()),2&n){const t=e.XpG(2),i=e.sdS(5);e.R7$(),e.Y8G("ngIf",!t.profileLogo.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.profileLogo)}}function H4(n,r){if(1&n&&(e.qex(0),e.j41(1,"h2"),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.AVh("bold-font-weight",t.profileName.value.bold),e.R7$(),e.JRh(t.profileName.value.value||t.profileName.value)}}function W4(n,r){1&n&&e.eu8(0)}function J4(n,r){if(1&n&&(e.qex(0),e.DNE(1,H4,3,3,"ng-container",5)(2,W4,1,0,"ng-container",15),e.bVm()),2&n){const t=e.XpG(2),i=e.sdS(5);e.R7$(),e.Y8G("ngIf",!t.profileName.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.profileName)}}function K4(n,r){if(1&n&&(e.j41(0,"h3"),e.EFF(1,"LEI: "),e.qex(2),e.EFF(3),e.bVm(),e.k0s()),2&n){const t=e.XpG(4);e.AVh("bold-font-weight",t.profileCode.value.bold),e.R7$(3),e.JRh(t.profileCode.value.value||t.profileCode.value)}}function Q4(n,r){if(1&n&&(e.qex(0),e.DNE(1,K4,4,3,"h3",19),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.profileCode.value)}}function Z4(n,r){1&n&&e.eu8(0)}function eI(n,r){if(1&n&&(e.qex(0),e.DNE(1,Q4,2,1,"ng-container",5)(2,Z4,1,0,"ng-container",15),e.bVm()),2&n){const t=e.XpG(2),i=e.sdS(5);e.R7$(),e.Y8G("ngIf",!t.profileCode.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.profileCode)}}function tI(n,r){if(1&n&&(e.j41(0,"div",20),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.mfisTitle)}}function nI(n,r){if(1&n&&(e.nrm(0,"p",22),e.nI1(1,"safeHtml")),2&n){const t=e.XpG(4);e.Y8G("innerHTML",e.bMT(1,1,t.profileSummary.value),e.npT)}}function iI(n,r){if(1&n&&(e.qex(0),e.DNE(1,nI,2,3,"p",21),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.profileSummary.value)}}function oI(n,r){1&n&&e.eu8(0)}function rI(n,r){if(1&n&&(e.qex(0),e.DNE(1,iI,2,1,"ng-container",5)(2,oI,1,0,"ng-container",15),e.bVm()),2&n){const t=e.XpG(2),i=e.sdS(5);e.R7$(),e.Y8G("ngIf",!t.profileSummary.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.profileSummary)}}function aI(n,r){if(1&n&&(e.j41(0,"div",29),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(6);e.AVh("bold-font-weight",i.profileAddressIsBold),e.R7$(),e.SpI("",t," ")}}function sI(n,r){if(1&n&&(e.qex(0),e.DNE(1,aI,2,3,"div",28),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t)}}function lI(n,r){if(1&n&&(e.j41(0,"div",25),e.nrm(1,"span",26),e.j41(2,"div"),e.DNE(3,sI,2,1,"ng-container",27),e.k0s()()),2&n){const t=e.XpG(5);e.R7$(3),e.Y8G("ngForOf",t.profileAddress.value)}}function cI(n,r){if(1&n&&(e.qex(0),e.DNE(1,lI,4,1,"div",24),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.Y8G("ngIf",t.profileAddress.value&&t.profileAddress.value.length)}}function pI(n,r){if(1&n&&(e.qex(0),e.DNE(1,cI,2,1,"ng-container",5),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.profileAddress.errorText)}}function mI(n,r){1&n&&e.eu8(0)}function _I(n,r){if(1&n&&(e.j41(0,"div",31),e.nrm(1,"span",32),e.j41(2,"div",33),e.EFF(3),e.k0s()()),2&n){const t=e.XpG(5);e.R7$(3),e.JRh(t.contact.value)}}function dI(n,r){if(1&n&&(e.qex(0),e.DNE(1,_I,4,1,"div",30),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.Y8G("ngIf",t.contact.value)}}function uI(n,r){1&n&&e.eu8(0)}function gI(n,r){if(1&n&&(e.qex(0),e.DNE(1,dI,2,1,"ng-container",5)(2,uI,1,0,"ng-container",15),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(5);e.R7$(),e.Y8G("ngIf",!t.contact.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.contact)}}function hI(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",23),e.DNE(2,pI,2,1,"ng-container",5)(3,mI,1,0,"ng-container",15)(4,gI,3,3,"ng-container",5),e.k0s(),e.bVm()),2&n){const t=e.XpG(2),i=e.sdS(5);e.R7$(2),e.Y8G("ngIf",t.profileAddress&&t.profileAddress.visibility),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.profileAddress),e.R7$(),e.Y8G("ngIf",t.contact&&t.contact.visibility)}}function fI(n,r){if(1&n&&(e.j41(0,"a",36),e.nI1(1,"externalUrl"),e.nrm(2,"span",37),e.j41(3,"span",38),e.EFF(4),e.k0s()()),2&n){const t=e.XpG(5);e.Y8G("href",e.bMT(1,4,t.profileWebsite.value.value||t.profileWebsite.value),e.B4B),e.R7$(3),e.AVh("bold-font-weight",t.profileWebsite.value.bold),e.R7$(),e.JRh(t.profileWebsite.value.value||t.profileWebsite.value)}}function vI(n,r){if(1&n&&(e.qex(0),e.DNE(1,fI,5,6,"a",35),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.Y8G("ngIf",t.profileWebsite.value)}}function bI(n,r){1&n&&e.eu8(0)}function CI(n,r){if(1&n&&(e.qex(0),e.DNE(1,vI,2,1,"ng-container",5)(2,bI,1,0,"ng-container",15),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(5);e.R7$(),e.Y8G("ngIf",!t.profileWebsite.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.profileWebsite)}}function TI(n,r){if(1&n&&(e.j41(0,"a",40),e.nrm(1,"span",41),e.j41(2,"span",38),e.EFF(3),e.k0s()()),2&n){const t=e.XpG(5);e.Mz_("href","mailto:",t.profileEmail.value.value||t.profileEmail.value,"",e.B4B),e.R7$(2),e.AVh("bold-font-weight",t.profileEmail.value.bold),e.R7$(),e.JRh(t.profileEmail.value.value||t.profileEmail.value)}}function xI(n,r){if(1&n&&(e.qex(0),e.DNE(1,TI,4,5,"a",39),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.Y8G("ngIf",t.profileEmail.value)}}function kI(n,r){1&n&&e.eu8(0)}function yI(n,r){if(1&n&&(e.qex(0),e.DNE(1,xI,2,1,"ng-container",5)(2,kI,1,0,"ng-container",15),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(5);e.R7$(),e.Y8G("ngIf",!t.profileEmail.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.profileEmail)}}function wI(n,r){if(1&n&&(e.j41(0,"div",43),e.nrm(1,"span",44),e.j41(2,"span",45)(3,"a",46),e.EFF(4),e.k0s()()()),2&n){const t=e.XpG(5);e.R7$(3),e.AVh("bold-font-weight",t.profilePhone.value.bold),e.Mz_("href","tel:",t.profilePhone.value.value||t.profilePhone.value,"",e.B4B),e.R7$(),e.SpI(" ",t.profilePhone.value.value||t.profilePhone.value," ")}}function II(n,r){if(1&n&&(e.qex(0),e.DNE(1,wI,5,5,"div",42),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.Y8G("ngIf",t.profilePhone.value)}}function MI(n,r){1&n&&e.eu8(0)}function OI(n,r){if(1&n&&(e.qex(0),e.DNE(1,II,2,1,"ng-container",5)(2,MI,1,0,"ng-container",15),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(5);e.R7$(),e.Y8G("ngIf",!t.profilePhone.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.profilePhone)}}function RI(n,r){if(1&n&&(e.j41(0,"div",48),e.nrm(1,"span",44),e.j41(2,"span",45)(3,"a",46),e.EFF(4),e.k0s()()()),2&n){const t=e.XpG(5);e.R7$(3),e.AVh("bold-font-weight",t.profilePhone2.value.bold),e.Mz_("href","tel:",t.profilePhone2.value.value||t.profilePhone2.value,"",e.B4B),e.R7$(),e.JRh(t.profilePhone2.value.value||t.profilePhone2.value)}}function FI(n,r){if(1&n&&(e.qex(0),e.DNE(1,RI,5,5,"div",47),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.Y8G("ngIf",t.profilePhone2.value)}}function PI(n,r){1&n&&e.eu8(0)}function GI(n,r){if(1&n&&(e.qex(0),e.DNE(1,FI,2,1,"ng-container",5)(2,PI,1,0,"ng-container",15),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(5);e.R7$(),e.Y8G("ngIf",!t.profilePhone2.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.profilePhone2)}}function SI(n,r){if(1&n&&(e.j41(0,"div",50),e.nrm(1,"span",44),e.j41(2,"span",45)(3,"a",46),e.EFF(4),e.k0s()()()),2&n){const t=e.XpG(5);e.R7$(3),e.AVh("bold-font-weight",t.profilePhone3.value.bold),e.Mz_("href","tel:",t.profilePhone3.value.value||t.profilePhone3.value,"",e.B4B),e.R7$(),e.JRh(t.profilePhone3.value.value||t.profilePhone3.value)}}function $I(n,r){if(1&n&&(e.qex(0),e.DNE(1,SI,5,5,"div",49),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.Y8G("ngIf",t.profilePhone3.value)}}function EI(n,r){1&n&&e.eu8(0)}function DI(n,r){if(1&n&&(e.qex(0),e.DNE(1,$I,2,1,"ng-container",5)(2,EI,1,0,"ng-container",15),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(5);e.R7$(),e.Y8G("ngIf",!t.profilePhone3.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.profilePhone3)}}function jI(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",34),e.DNE(2,CI,3,3,"ng-container",5)(3,yI,3,3,"ng-container",5)(4,OI,3,3,"ng-container",5)(5,GI,3,3,"ng-container",5)(6,DI,3,3,"ng-container",5),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",t.profileWebsite&&t.profileWebsite.visibility),e.R7$(),e.Y8G("ngIf",t.profileEmail&&t.profileEmail.visibility),e.R7$(),e.Y8G("ngIf",t.profilePhone&&t.profilePhone.visibility),e.R7$(),e.Y8G("ngIf",t.profilePhone2&&t.profilePhone2.visibility),e.R7$(),e.Y8G("ngIf",t.profilePhone3&&t.profilePhone3.visibility)}}function NI(n,r){if(1&n&&(e.j41(0,"a",51),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("href",t.informationShee
1tsSearchUrl,e.B4B),e.R7$(),e.JRh(t.informationLabel)}}function YI(n,r){if(1&n&&(e.j41(0,"a",52),e.nI1(1,"directoriesProfileUrl"),e.EFF(2),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("href",e.i5U(1,2,t.profileUrl,"member-directory-profile"),e.B4B),e.R7$(2),e.JRh(t.memberLabel)}}function XI(n,r){if(1&n&&(e.j41(0,"a",53),e.nI1(1,"directoriesProfileUrl"),e.EFF(2),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("href",e.i5U(1,2,t.profileUrl,"broker-directory-profile"),e.B4B),e.R7$(2),e.JRh(t.brokerLabel)}}function BI(n,r){if(1&n&&(e.j41(0,"a",54),e.nI1(1,"directoriesProfileUrl"),e.EFF(2),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("href",e.i5U(1,2,t.profileUrl,"market-maker-profile"),e.B4B),e.R7$(2),e.JRh(t.marketMakerLabel)}}function VI(n,r){if(1&n&&(e.j41(0,"a",55),e.nI1(1,"directoriesProfileUrl"),e.EFF(2),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("href",e.i5U(1,2,t.profileUrl,"aim-directory-profile"),e.B4B),e.R7$(2),e.JRh(t.aimAdviserLabel)}}function LI(n,r){if(1&n&&(e.j41(0,"div",3)(1,"div",4),e.DNE(2,z4,3,3,"ng-container",5),e.j41(3,"div",6),e.DNE(4,J4,3,3,"ng-container",5)(5,eI,3,3,"ng-container",5)(6,tI,2,1,"div",7)(7,rI,3,3,"ng-container",5),e.k0s()(),e.j41(8,"div",8),e.DNE(9,hI,5,4,"ng-container",5)(10,jI,7,5,"ng-container",5),e.j41(11,"div",9),e.DNE(12,NI,2,2,"a",10)(13,YI,3,5,"a",11)(14,XI,3,5,"a",12)(15,BI,3,5,"a",13)(16,VI,3,5,"a",14),e.k0s()()()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.profileLogo&&t.profileLogo.visibility),e.R7$(2),e.Y8G("ngIf",t.profileName&&t.profileName.visibility),e.R7$(),e.Y8G("ngIf",t.profileCode&&t.profileCode.visibility),e.R7$(),e.Y8G("ngIf",t.mfisTitle),e.R7$(),e.Y8G("ngIf",t.profileSummary&&t.profileSummary.visibility),e.R7$(2),e.Y8G("ngIf",t.profileAddress&&t.profileAddress.visibility&&t.profileAddress.value&&t.profileAddress.value.length||t.contact&&t.contact.visibility&&t.contact.value),e.R7$(),e.Y8G("ngIf",(null==t.profileWebsite?null:t.profileWebsite.value)&&(null==t.profileWebsite?null:t.profileWebsite.visibility)||(null==t.profileEmail?null:t.profileEmail.value)&&(null==t.profileEmail?null:t.profileEmail.visibility)||(null==t.profilePhone?null:t.profilePhone.value)&&(null==t.profilePhone?null:t.profilePhone.visibility)),e.R7$(2),e.Y8G("ngIf",t.informationLabel),e.R7$(),e.Y8G("ngIf",t.isMember),e.R7$(),e.Y8G("ngIf",t.isBroker),e.R7$(),e.Y8G("ngIf",t.isMarketMaker),e.R7$(),e.Y8G("ngIf",t.isAimAdviser)}}function AI(n,r){if(1&n&&e.nrm(0,"app-hide-field",57),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function qI(n,r){1&n&&e.DNE(0,AI,1,1,"app-hide-field",56),2&n&&e.Y8G("ngIf",r.errorText)}let Gt=(()=>{class n{constructor(t,i,o){this.platformId=t,this.dynamicBreadcrumb=i,this.pageTitleService=o,this.profileAddressIsBold=!1,this.useISLib=!1,this.httpParams=new F.Nl}get informationSheetsSearchUrl(){let t=new F.Nl;return this.firmId&&(t=t.set("firmId",this.firmId)),k.T.getLink("information-sheets-search",t)}get showISProfile(){return(0,q.of)(!1)}ngOnInit(){this.updatePageTitle(),!(0,l.Vy)(this.platformId)&&(this.retrievePreviousUrl(this.backToLocation),this.profileUrl={firmid:{value:this.firmId,visibility:!0},adviser:{value:this.profileName?this.profileName.value:null,visibility:!0}},this.setBreadcrumbWithProfileName())}ngOnDestroy(){this.dynamicBreadcrumb.deleteBreadcrumbPageTitle(),this.pageTitleService.dispatchPageTitlePrefix([])}getLinkWithNoHash(t){return t.includes("#showFilters")&&(t=t.substring(0,t.indexOf("#showFilters"))),t}getBackLink(){let t=k.T.getLink(this.backToLocation);return t=this.getLinkWithNoHash(t),this.backUrl||t}setBreadcrumbWithProfileName(){this.dynamicBreadcrumb.setBreadcrumbPageTitle(this.profileName?this.profileName.value:null)}updatePageTitle(){var t=this;return(0,_.A)(function*(){if(!t.profileName||!t.profileName.value)return;const i=t.profileName.value.value||t.profileName.value,o=yield t.pageTitleService.getCurrentPageTitle();t.pageTitleService.dispatchPageTitle(o&&o.title?i+" "+o.title:i)})()}retrievePreviousUrl(t){this.setPreviousUrl(t)}setPreviousUrl(t){const i=this.getDirectoryKey(t),o=sessionStorage.getItem(i);if(o&&0!==o.length){try{this.previousUrl=o,this.clearMemberDirectoryKey(t)}catch(a){(0,te.z3)(`Json parse session storage object. Error: ${a}`)}this.createBackUrl(t)}}clearMemberDirectoryKey(t){sessionStorage&&sessionStorage.removeItem(this.getDirectoryKey(t))}createBackUrl(t){if(!this.previousUrl)return;
1const i=k.T.getUrlObjectFromString(this.previousUrl);i&&i.parameters&&i.parameters.keys().length>0&&(decodeURIComponent(i.parameters.toString()).split("&").forEach(s=>{const c=s.split("=");2===c.length&&(this.httpParams=this.httpParams.set(c[0],c[1]))}),this.backUrl=k.T.getLink(t,this.httpParams))}getDirectoryKey(t){switch(t){case"aim-directory-search":return M.c.aimDirectoryKeyName;case"member-directory-search":return M.c.memberDirectoryKeyName;case"broker-directory-search":return M.c.brokerDirectoryKeyName;case"information-sheets-search":return M.c.informationDirectoryKeyName;default:return null}}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw),e.rXU(V),e.rXU(pe.P))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-directory-profile"]],inputs:{backToLabel:"backToLabel",backToLocation:"backToLocation",profileLogo:"profileLogo",profileName:"profileName",profileCode:"profileCode",mfisTitle:"mfisTitle",profileSummary:"profileSummary",profileAddress:"profileAddress",profileAddressIsBold:"profileAddressIsBold",contact:"contact",profileWebsite:"profileWebsite",profileEmail:"profileEmail",profilePhone:"profilePhone",profilePhone2:"profilePhone2",profilePhone3:"profilePhone3",informationLabel:"informationLabel",isBroker:"isBroker",brokerLabel:"brokerLabel",isMarketMaker:"isMarketMaker",marketMakerLabel:"marketMakerLabel",isAimAdviser:"isAimAdviser",aimAdviserLabel:"aimAdviserLabel",isMember:"isMember",memberLabel:"memberLabel",firmId:"firmId",useISLib:"useISLib"},decls:6,vars:5,consts:[["emptyvalue",""],[1,"back-link","bold-font-weight",3,"href"],["class","profile-container",4,"ngIf"],[1,"profile-container"],[1,"info-container"],[4,"ngIf"],[1,"summary-container"],["class","profile-type regular-font-size",4,"ngIf"],[1,"flex-wrapper","details-container"],[1,"link-container"],["class","information-link profile-link",3,"href",4,"ngIf"],["class","member-link profile-link",3,"href",4,"ngIf"],["class","broker-link profile-link",3,"href",4,"ngIf"],["class","market-link profile-link",3,"href",4,"ngIf"],["class","adviser-link profile-link",3,"href",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","logo-container mobile-flex-container flex-align-center",4,"ngIf"],[1,"logo-container","mobile-flex-container","flex-align-center"],[3,"src","alt"],[3,"bold-font-weight",4,"ngIf"],[1,"profile-type","regular-font-size"],["class","summary",3,"innerHTML",4,"ngIf"],[1,"summary",3,"innerHTML"],[1,"address-container"],["class","mobile-flex-container",4,"ngIf"],[1,"mobile-flex-container"],[1,"icon-address"],[4,"ngFor","ngForOf"],["class","address-line",3,"bold-font-weight",4,"ngIf"],[1,"address-line"],["class","contact",4,"ngIf"],[1,"contact"],[1,"icon-contact"],[1,"contact-name"],[1,"contacts-container"],["class","website mobile-flex-container flex-align-center","target","_blank",3,"href",4,"ngIf"],["target","_blank",1,"website","mobile-flex-container","flex-align-center",3,"href"],[1,"icon-web"],[1,"ellipsed"],["class","email mobile-flex-container flex-align-center",3,"href",4,"ngIf"],[1,"email","mobile-flex-container","flex-align-center",3,"href"],[1,"icon-email"],["class","contact-phone",4,"ngIf"],[1,"contact-phone"],[1,"icon-phone","mobile-flex-container","flex-align-center"],["itemprop","telephone"],[3,"href"],["class","contact-phone-2",4,"ngIf"],[1,"contact-phone-2"],["class","contact-phone-3",4,"ngIf"],[1,"contact-phone-3"],[1,"information-link","profile-link",3,"href"],[1,"member-link","profile-link",3,"href"],[1,"broker-link","profile-link",3,"href"],[1,"market-link","profile-link",3,"href"],[1,"adviser-link","profile-link",3,"href"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"a",1),e.EFF(1),e.k0s(),e.DNE(2,LI,17,12,"div",2),e.nI1(3,"async"),e.DNE(4,qI,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.Y8G("href",o.getBackLink(),e.B4B),e.R7$(),e.JRh(o.backToLabel),e.R7$(),e.Y8G("ngIf",!(o.useISLib&&e.bMT(3,3,o.showISProfile))))},dependencies:[l.Sq,l.bT,l.T3,y.W,l.Jj,Rt.d,be.$,Tn,Pt],styles:['.back-link[_ngcontent-%COMP%]{display:inline-block;margin-bottom:1.5rem}.back-link[_ngcontent-%COMP%]:before{background:url(/assets/svg/back-link.svg) left center no-repeat;background-size:40%;content:"";display:inline-block;height:1em;vertical-align:middle;width:1em}img[_ngcontent-%COMP%]{height:auto;width:100%}@media (max-width: 768px){.details-container[_ngcontent-%COMP%]{display:block}}.details-container[_ngcontent-%COMP%] .mobile-flex-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-bottom:1.5rem}.details-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.details-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.info-container[_ngcontent-%COMP%]{display:flex;margin-bottom:1.5rem}@media (max-width: 768px){.info-container[_ngcontent-%COMP%]{flex-wrap:wrap}}.profile-container[_ngcontent-%COMP%]{background:#e6e6e6;margin-bottom:2.5rem;padding:2rem}.summary-container[_ngcontent-%COMP%]{flex-grow:1}@media (max-width: 768px){.summary-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1.00625rem}}.address-container[_ngcontent-%COMP%]{margin-right:1.5rem;max-width:16.25rem;width:100%}.contact[_ngcontent-%COMP%]{color:#000;padding-top:1rem}
1.contact[_ngcontent-%COMP%] .contact-name[_ngcontent-%COMP%]{min-height:2rem;padding-top:.4rem}.contacts-container[_ngcontent-%COMP%]{clear:both;margin-right:1.5rem;width:30%}@media (max-width: 1023px){.contacts-container[_ngcontent-%COMP%]{width:auto}}@media (max-width: 768px){.contacts-container[_ngcontent-%COMP%]{margin:1rem 0 2.75rem}}.contacts-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#000;height:1rem;margin-bottom:2.75rem}.contacts-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-bottom:.75rem}.contacts-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block}@media (max-width: 1023px){.link-container[_ngcontent-%COMP%]{width:100%}}.logo-container[_ngcontent-%COMP%]{background:#fff;border:.0625rem solid #b2b2b2;flex-shrink:0;margin-bottom:1.5rem;margin-right:1.5rem;max-height:10rem;max-width:16.25rem;min-height:10rem;overflow:hidden;padding:.5rem}@media (max-width: 768px){.logo-container[_ngcontent-%COMP%]{margin-right:0}}@media (max-width: 1023px){.logo-container.show-on-landscape[_ngcontent-%COMP%]{display:flex!important}}.profile-link[_ngcontent-%COMP%]{color:#000;display:block;font-weight:700;margin-bottom:1rem}@media (max-width: 768px){.profile-link[_ngcontent-%COMP%]{max-width:100%}}.profile-link[_ngcontent-%COMP%]:after{background:url(/assets/svg/calendar_months_right_indicator.svg) center center no-repeat;background-size:40%;content:"";display:inline-block;height:1em;vertical-align:middle;width:1em}[class^=icon-][_ngcontent-%COMP%], [class*=" icon-"][_ngcontent-%COMP%]{float:left;margin-left:-1rem;margin-top:-1.25rem}[class^=contact-phone][_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000}@media (max-width: 480px){[class^=contact-phone][_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}}.profile-type[_ngcontent-%COMP%]{margin-bottom:.5rem}']})}}return n})();function UI(n,r){if(1&n&&(e.qex(0),e.j41(1,"strong",11),e.EFF(2),e.k0s(),e.EFF(3),e.bVm()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(2),e.SpI("",i.companyLabel," "),e.R7$(),e.SpI(" ",t.branchname," ")}}function zI(n,r){1&n&&e.eu8(0)}function HI(n,r){if(1&n&&(e.j41(0,"div",6),e.DNE(1,UI,4,2,"ng-container",9)(2,zI,1,0,"ng-container",10),e.k0s()),2&n){const t=e.XpG(3),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.branches.errorText.branchname),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.branches.errorText.branchname)}}function WI(n,r){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.SpI(" ",t," ")}}function JI(n,r){if(1&n&&(e.qex(0),e.j41(1,"strong",11),e.EFF(2),e.k0s(),e.DNE(3,WI,2,1,"div",12),e.bVm()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(2),e.JRh(i.addressLabel),e.R7$(),e.Y8G("ngForOf",t.branchaddress)}}function KI(n,r){1&n&&e.eu8(0)}function QI(n,r){if(1&n&&(e.j41(0,"div",6),e.DNE(1,JI,4,2,"ng-container",9)(2,KI,1,0,"ng-container",10),e.k0s()),2&n){const t=e.XpG(3),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.branches.errorText.branchaddress),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.branches.errorText.branchaddress)}}function ZI(n,r){if(1&n&&(e.j41(0,"a",15),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.Y8G("href",t.branchwebsite,e.B4B),e.R7$(),e.SpI(" ",t.branchwebsite," ")}}function eM(n,r){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function tM(n,r){if(1&n&&(e.qex(0),e.j41(1,"strong",11),e.EFF(2),e.k0s(),e.DNE(3,ZI,2,2,"a",14)(4,eM,2,0,"span",9),e.bVm()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(2),e.JRh(i.websiteLabel),e.R7$(),e.Y8G("ngIf",t.branchwebsite),e.R7$(),e.Y8G("ngIf",!t.branchwebsite)}}function nM(n,r){1&n&&e.eu8(0)}function iM(n,r){if(1&n&&(e.j41(0,"div",13),e.DNE(1,tM,5,3,"ng-container",9)(2,nM,1,0,"ng-container",10),e.k0s()),2&n){const t=e.XpG(3),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.branches.errorText.branchwebsite),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.branches.errorText.branchwebsite)}}function oM(n,r){if(1&n&&(e.j41(0,"span",18)(1,"a",19),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.Mz_("href","tel:",t.branchphone,"",e.B4B),e.R7$(),e.JRh(t.branchphone)}}function rM(n,r){1&n&&(e.j41(0,"span"),e.EFF(1,"-"),e.k0s())}function aM(n,r){if(1&n&&(e.qex(0),e.j41(1,"strong",11),e.EFF(2),e.k0s(),e.DNE(3,oM,3,3,"span",17)(4,rM,2,0,"span",9),e.bVm()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(2),e.JRh(i.phoneLabel),e.R7$(),e.Y8G("ngIf",t.branchphone),e.R7$(),e.Y8G("ngIf",!t.branchphone)}}function sM(n,r){1&n&&e.eu8(0)}function lM(n,r){if(1&n&&(e.j41(0,"div",16),e.DNE(1,aM,5,3,"ng-container",9)(2,sM,1,0,"ng-container",10),e.k0s()),2&n){const t=e.XpG(3),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.branches.errorText.branchphone),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.branches.errorText.branchphone)}}function cM(n,r){if(1&n&&(e.j41(0,"div",4),e.DNE(1,HI,3,3,"div",5)(2,QI,3,3,"div",5),e.j41(3,"div",6),e.DNE(4,iM,3,3,"div",7)(5,lM,3,3,"div",8),e.k0s()()),2&n){const t=r.$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.branchname&&i.branches.visibility.branchname),e.R7$(),e.Y8G("ngIf",i.branches.visibility.branchaddress),e.R7$(2),e.Y8G("ngIf",i.branches.visibility.branchwebsite),e.R7$(),e.Y8G("ngIf",i.branches.visibility.branchphone)}}function pM(n,r){if(1&n&&(e.j41(0,"div",2)(1,"h3"),e.EFF(2),e.k0s(),e.DNE(3,cM,6,4,"div",3),e.k0s()),2&n){const t=e.XpG();e.R7$(2),e.JRh(t.label),e.R7$(),e.Y8G("ngForOf",t.branches.content)}}function mM(n,r){if(1&n&&e.nrm(0,"app-hide-field",21),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function _M(n,r){1&n&&e.DNE(0,mM,1,1,"app-hide-field",20),2&n&&e.Y8G("ngIf",r.errorText)}let Io=(()=>{class n{constructor(){}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-directory-branches"]],inputs:{branches:"branches",label:"label",addressLabel:"addressLabel",websiteLabel:"websiteLabel",emailLabel:"emailLabel",phoneLabel:"phoneLabel",isAimAdviser:"isAimAdviser",companyLabel:"companyLabel"},decls:3,vars:1,consts:[["emptyvalue",""],["class","branch-container",4,"ngIf"],[1,"branch-container"],["class","branch flex-container",4,"ngFor","ngForOf"],[1,"branch","flex-container"],["class","branch-item",4,"ngIf"],[1,"branch-item"],["class","branch-contact",4,"ngIf"],["class","branch-contact contact-phone",4,"ngIf"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"branch-line"],[4,"ngFor","ngForOf"],[1,"branch-contact"],["class","website ellipsed","target","_blank",3,"href",4,"ngIf"],["target","_blank",1,"website","ellipsed",3,"href"],[1,"branch-contact","contact-phone"],["itemprop","telephone",4,"ngIf"],["itemprop","telephone"],[3,"href"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&e.DNE(0,pM,4,2,"div",1)(1,_M,1,1,"ng-template",null,0,e.C5r),2&i&&e.Y8G("ngIf",o.branches.content.length)},dependencies:[l.Sq,l.bT,l.T3,y.W],styles:[".branch-container[_ngcontent-%COMP%]{border-bottom:.0625rem solid #b2b2b2}.branch[_ngcontent-%COMP%]{border-top:.0625rem solid #b2b2b2;padding:1.5rem}.branch-item[_ngcontent-%COMP%]{width:33%}@media (max-width: 768px){.branch-item[_ngcontent-%COMP%]{margin-bottom:1.5rem;max-width:100%;width:100%}}.address-line[_ngcontent-%COMP%]{margin-bottom:.5rem}.branch-line[_ngcontent-%COMP%]{margin-bottom:.25rem}.branch-contact[_ngcontent-%COMP%]{margin-bottom:1.25rem}.branch-item[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{display:block}.address-line[_ngcontent-%COMP%] + .profile-link[_ngcontent-%COMP%]{margin-top:2.5rem}"]})}}return n})();const gt=n=>({errorText:n});function dM(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.firmcode," ")}}function uM(n,r){if(1&n&&(e.qex(0),e.DNE(1,dM,2,1,"ng-container",4),e.eu8(2,12),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(7);e.R7$(),e.Y8G("ngIf",!t.content.memberCodes.value.errorText.firmcode),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,gt,t.content.memberCodes.value.errorText.firmcode))}}function gM(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.memberid," ")}}function hM(n,r){if(1&n&&(e.qex(0),e.DNE(1,gM,2,1,"ng-container",4),e.eu8(2,12),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(7);e.R7$(),e.Y8G("ngIf",!t.content.memberCodes.value.errorText.memberid),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,gt,t.content.memberCodes.value.errorText.memberid))}}function fM(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.mnemonic," ")}}function vM(n,r){if(1&n&&(e.qex(0),e.DNE(1,fM,2,1,"ng-container",4),e.eu8(2,12),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(7);e.R7$(),e.Y8G("ngIf",!t.content.memberCodes.value.errorText.mnemonic),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,gt,t.content.memberCodes.value.errorText.mnemonic))}}function bM(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.crestcode," ")}}function CM(n,r){if(1&n&&(e.qex(0),e.DNE(1,bM,2,1,"ng-container",4),e.eu8(2,12),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(7);e.R7$(),e.Y8G("ngIf",!t.content.memberCodes.value.errorText.crestcode),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,gt,t.content.memberCodes.value.errorText.crestcode))}}function TM(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.euroclearbankcode," ")}}function xM(n,r){if(1&n&&(e.qex(0),e.DNE(1,TM,2,1,"ng-container",4),e.eu8(2,12),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(7);e.R7$(),e.Y8G("ngIf",!t.content.memberCodes.value.errorText.euroclearbankcode),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,gt,t.content.memberCodes.value.errorText.euroclearbankcode))}}function kM(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.dtccode," ")}}function yM(n,r){if(1&n&&(e.qex(0),e.DNE(1,kM,2,1,"ng-container",4),e.eu8(2,12),e.bVm()),2&n){const t=e.XpG(3),i=e.sdS(7);e.R7$(),e.Y8G("ngIf",!t.content.memberCodes.value.errorText.dtccode),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,gt,t.content.memberCodes.value.errorText.dtccode))}}function wM(n,r){if(1&n&&(e.j41(0,"tr",11)(1,"td"),e.DNE(2,uM,3,5,"ng-container",4),e.k0s(),e.j41(3,"td"),e.DNE(4,hM,3,5,"ng-container",4),e.k0s(),e.j41(5,"td"),e.DNE(6,vM,3,5,"ng-container",4),e.k0s(),e.j41(7,"td"),e.DNE(8,CM,3,5,"ng-container",4),e.k0s(),e.j41(9,"td"),e.DNE(10,xM,3,5,"ng-container",4),e.k0s(),e.j41(11,"td"),e.DNE(12,yM,3,5,"ng-container",4),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",t.content.memberCodes.value.visibility.firmcode),e.R7$(2),e.Y8G("ngIf",t.content.memberCodes.value.visibility.memberid),e.R7$(2),e.Y8G("ngIf",t.content.memberCodes.value.visibility.mnemonic),e.R7$(2),e.Y8G("ngIf",t.content.memberCodes.value.visibility.crestcode),e.R7$(2),e.Y8G("ngIf",t.content.memberCodes.value.visibility.euroclearbankcode),e.R7$(2),e.Y8G("ngIf",t.content.memberCodes.value.visibility.dtccode)}}function IM(n,r){if(1&n&&(e.qex(0),e.j41(1,"h3"),e.EFF(2),e.k0s(),e.j41(3,"div",7)(4,"table",8)(5,"thead")(6,"tr",9)(7,"th"),e.EFF(8),e.k0s(),e.j41(9,"th"),e.EFF(10),e.k0s(),e.j41(11,"th"),e.EFF(12),e.k0s(),e.j41(13,"th"),e.EFF(14),e.k0s(),e.j41(15,"th"),e.EFF(16),e.k0s(),e.j41(17,"th"),e.EFF(18),e.k0s()()(),e.j41(19,"tbody"),e.DNE(20,wM,13,6,"tr",10),e.k0s()()(),e.bVm()),2&n){const t=e.XpG();e.R7$(2),e.JRh(t.content.codesTableLabel.value),e.R7$(6),e.SpI(" ",t.content.memberCodes.value.label.firmcode," "),e.R7$(2),e.SpI(" ",t.content.memberCodes.value.label.memberid," "),e.R7$(2),e.SpI(" ",t.content.memberCodes.value.label.mnemonic," "),e.R7$(2),e.SpI(" ",t.content.memberCodes.value.label.crestcode," "),e.R7$(2),e.SpI(" ",t.content.memberCodes.value.label.euroclearbankcode," "),e.R7$(2),e.SpI(" ",t.content.memberCodes.value.label.dtccode," "),e.R7$(2),e.Y8G("ngForOf",t.content.memberCodes.value.content)}}function MM(n,r){if(1&n&&(e.j41(0,"div",17),e.nrm(1,"a",18),e.j41(2,"div",19)(3,"div",20)(4,"a",21),e.EFF(5),e.k0s()()()()),2&n){const t=e.XpG(2);e.R7$(),e.FS9("href",t.content.firmCodesLink.value,e.B4B),e.R7$(3),e.FS9("href",t.content.firmCodesLink.value,e.B4B),e.R7$(),e.SpI(" ",t.content.firmCodesLabel.value," ")}}function OM(n,r){if(1&n&&(e.j41(0,"div",17),e.nrm(1,"a",18),e.j41(2,"div",19)(3,"div",20)(4,"a",21),e.EFF(5),e.k0s()()()()),2&n){const t=e.XpG(2);e.R7$(),e.FS9("href",t.content.firmDerivativesLink.value,e.B4B),e.R7$(3),e.FS9("href",t.content.firmDerivativesLink.value,e.B4B),e.R7$(),e.SpI(" ",t.content.firmDerivativesLabel.value," ")}}function RM(n,r){if(1&n&&(e.j41(0,"div",13)(1,"h3",14),e.EFF(2,"Downloads"),e.k0s(),e.j41(3,"div",15),e.DNE(4,MM,6,3,"div",16)(5,OM,6,3,"div",16),e.k0s()()),2&n){const t=e.XpG();e.R7$(4),e.Y8G("ngIf",t.content.firmCodesLink.value),e.R7$(),e.Y8G("ngIf",t.content.firmDerivativesLink.value)}}function FM(n,r){if(1&n&&e.nrm(0,"app-hide-field",23),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function PM(n,r){1&n&&e.DNE(0,FM,1,1,"app-hide-field",22),2&n&&e.Y8G("ngIf",r.errorText)}let Mo=(()=>{class n{constructor(t){this.pageHeadersService=t}ngOnInit(){this.pageHeadersService.dispatchPageDescriptionPrefix(this.content.memberProfileName.value)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Ue.V))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-member-profile"]],inputs:{content:"content"},decls:8,vars:31,consts:[["emptyvalue",""],["id","member-directory-profile",1,"member-directory-profile-component","gtm-track-component","component"],[1,"wrapper","x-large-width","x-large-width-padding"],[3,"backToLocation","backToLabel","profileLogo","profileName","profileCode","profileSummary","profileAddress","profileWebsite","profileEmail","profilePhone","informationLabel","isBroker","brokerLabel","isMarketMaker","marketMakerLabel","isAimAdviser","aimAdviserLabel","isMember","memberLabel","contact","firmId","useISLib"],[4,"ngIf"],[3,"branches","label","companyLabel","addressLabel","websiteLabel","phoneLabel","isAimAdviser"],["class","download-document-simple wrapper x-large-width x-large-width-padding",4,"ngIf"],[1,"table-wrapper"],[1,"full-width"],[1,"table-header"],["class","medium-font-we
1ight slide-panel",4,"ngFor","ngForOf"],[1,"medium-font-weight","slide-panel"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"download-document-simple","wrapper","x-large-width","x-large-width-padding"],[1,"documents-title"],[1,"documents-list","flex-wrapper"],["class","simple-document",4,"ngIf"],[1,"simple-document"],["target","_blank",1,"simple-document__icon",3,"href"],[1,"simple-document__info"],[1,"simple-document__title"],["target","_blank",1,"black-link","regular-font-size","medium-font-weight",3,"href"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"section",1)(1,"div",2),e.nrm(2,"app-directory-profile",3),e.DNE(3,IM,21,8,"ng-container",4),e.nrm(4,"app-directory-branches",5),e.k0s(),e.DNE(5,RM,6,2,"div",6),e.k0s(),e.DNE(6,PM,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.R7$(2),e.Y8G("backToLocation","member-directory-search")("backToLabel",o.content.backToLabel.value)("profileLogo",o.content.memberProfileLogo)("profileName",o.content.memberProfileName)("profileCode",o.content.memberProfileLeiCode)("profileSummary",o.content.memberProfileSummary)("profileAddress",o.content.memberProfileAddress)("profileWebsite",o.content.memberProfileWebsite)("profileEmail",o.content.memberProfileEmail)("profilePhone",o.content.memberProfilePhone)("informationLabel",o.content.informationSheetLabel.value)("isBroker",o.content.memberProfileIsBroker.value)("brokerLabel",o.content.memberProfileBrokerLabel.value)("isMarketMaker",o.content.memberProfileIsMarketMaker.value)("marketMakerLabel",o.content.memberProfileMarketLabel.value)("isAimAdviser",o.content.memberProfileIsAimAdviser.value)("aimAdviserLabel",o.content.memberProfileAimLabel.value)("isMember",!1)("memberLabel",null)("contact",null)("firmId",o.content.memberProfileFirmId.value)("useISLib",!0),e.R7$(),e.Y8G("ngIf",o.content.memberCodes.value.content.length),e.R7$(),e.Y8G("branches",o.content.memberBranches.value)("label",o.content.branchOfficeLabel.value)("companyLabel",o.content.memberBranches.value.label.branchname)("addressLabel",o.content.memberBranches.value.label.branchaddress)("websiteLabel",o.content.memberBranches.value.label.branchwebsite)("phoneLabel",o.content.memberBranches.value.label.branchphone)("isAimAdviser",o.content.memberProfileIsAimAdviser.value),e.R7$(),e.Y8G("ngIf",o.content.firmCodesLink.value||o.content.firmDerivativesLink.value))},dependencies:[l.Sq,l.bT,l.T3,y.W,Gt,Io],styles:[".member-directory-profile-component[_ngcontent-%COMP%]{padding:1.5rem 0}.table-wrapper[_ngcontent-%COMP%]{margin-bottom:2.5rem}@media (max-width: 768px){.table-wrapper[_ngcontent-%COMP%]{overflow-x:scroll}}table[_ngcontent-%COMP%]{min-width:45rem}table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{width:6.5rem}@media (max-width: 768px){table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{height:auto!important;left:auto;position:absolute;z-index:1}}tr[_ngcontent-%COMP%]{position:relative}@media (max-width: 768px){tr[_ngcontent-%COMP%]{padding-left:6.5rem}}@media (max-width: 768px){tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%], tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{height:3rem!important;left:6.5rem;position:relative;white-space:nowrap}}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{background:#fff}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{z-index:12}@media (max-width: 768px){tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{height:3rem!important}}tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#fafafa}.download-document-simple[_ngcontent-%COMP%]{margin-top:2.5rem}.simple-document[_ngcontent-%COMP%]{padding:1.5rem 1.5rem 1rem 3.5rem}.simple-document__icon[_ngcontent-%COMP%]{top:.75rem}"]})}}return n})(),Oo=(()=>{class n{constructor(t){this.pageHeadersService=t}ngOnInit(){this.pageHeadersService.dispatchPageDescriptionPrefix(this.content.memberProfileName.value)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Ue.V))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-aim-profile"]],inputs:{content:"content"},decls:4,vars:26,consts:[["id","aim-directory-profile",1,"aim-directory-profile-component","gtm-track-component","component"],[1,"wrapper","x-large-width","x-large-width-padding"],[3,"backToLocation","backToLabel","profileLogo","profileName","profileCode","profileSummary","profileAddress","contact","profileWebsite","profileEmail","profilePhone","informationLabel","isBroker","brokerLabel","isMarketMaker","marketMakerLabel","isAimAdviser","aimAdviserLabel","isMember","memberLabel","firmId"],[3,"branches","label","addressLabel","websiteLabel","phoneLabel"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"div",1),e.nrm(2,"app-directory-profile",2)(3,"app-directory-branches",3),e.k0s()()),2&i&&(e.R7$(2),e.Y8G("backToLocation","aim-directory-search")("backToLabel",o.content.backToLabel.value)("profileLogo",o.content.memberProfileLogo)("profileName",o.content.memberProfileName)("profileCode",null)("profileSummary",o.content.memberProfileSummary)("profileAddress",o.content.memberProfileAddress)("contact",o.content.aimProfileContact)("profileWebsite",o.content.memberProfileWebsite)("profileEmail",o.content.memberProfileEmail)("profilePhone",o.content.memberProfilePhone)("informationLabel",null)("isBroker",o.content.memberProfileIsBroker.value)("brokerLabel",o.content.aimProfileBrokerLabel.value)("isMarketMaker",o.content.memberProfileIsMarketMaker.value)("marketMakerLabel",o.content.aimProfileMarketLabel.value)("isAimAdviser",!1)("aimAdviserLabel",null)("isMember",o.content.aimProfileIsMemberProfile.value)("memberLabel",o.content.aimProfileMemberLabel.value)("firmId",o.content.memberProfileFirmId.value),e.R7$(),e.Y8G("branches",o.content.memberBranches.value)("label",o.content.branchOfficeLabel.value)("addressLabel",o.content.memberBranches.value.label.branchaddress)("websiteLabel",o.content.memberBranches.value.label.branchwebsite)("phoneLabel",o.content.memberBranches.value.label.branchphone))},dependencies:[Gt,Io],styles:[".aim-directory-profile-component[_ng
1content-%COMP%]{margin:4rem 0 6rem}"]})}}return n})(),Kt=(()=>{class n{constructor(t){this.urlService=t,this.directoryType=null}getDirectoryKey(t){switch(t){case"aim-directory-search":return M.c.aimDirectoryKeyName;case"member-directory-search":return M.c.memberDirectoryKeyName;case"broker-directory-search":return M.c.brokerDirectoryKeyName;case"information-sheets-search":return M.c.informationDirectoryKeyName;default:return null}}setPageParamsToUrl(t){const i=Number(t.get("page"));return isNaN(i)||0===i?t.delete("page"):t.set("page",`${i+1}`)}onClick(t,i){!this.directoryType||!i||i.getAttribute("clicked")||(t.preventDefault(),t.stopImmediatePropagation(),i.setAttribute("clicked","true"),this.urlService.getCurrentPath().subscribe(o=>{const a={path:o.path,parameters:this.setPageParamsToUrl(o.parameters)},s=k.T.getNormalUrl(a);try{sessionStorage.setItem(this.getDirectoryKey(this.directoryType),s)}catch(c){(0,te.z3)(`Session storage set error: ${c}`)}i.click()}))}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(k.T))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","directoryCurrentUrl",""]],hostBindings:function(i,o){1&i&&e.bIt("click",function(s){return o.onClick(s,s.target)})},inputs:{directoryType:"directoryType"}})}}return n})(),St=(()=>{class n{transform(t,i){if(!t)return null;const o=t.reduce((a,s)=>(a[s[i]]?a[s[i]].push(s):a[s[i]]=[s],a),{});return Object.keys(o).sort().map(a=>({key:a,value:o[a]}))}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=e.EJ8({name:"groupBy",type:n,pure:!0})}}return n})();const GM=["searchField"];function SM(n,r){if(1&n&&(e.j41(0,"span",32),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.searchTitle.value," ")}}function $M(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",36),e.bIt("click",function(){e.eBV(t);const o=e.XpG().index,a=e.XpG();return e.Njj(a.selectFilter(o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.Y8G("ngClass",t.active?"interactive-outline-button gtm-trackable active":"interactive-outline-button gtm-trackable"),e.R7$(),e.SpI(" ",t.value," ")}}function EM(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",37),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.deselectFilter())}),e.k0s()}}function DM(n,r){if(1&n&&(e.j41(0,"div",33),e.DNE(1,$M,2,2,"div",34)(2,EM,1,0,"span",35),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.value&&"-"!==t.value),e.R7$(),e.Y8G("ngIf",t.active)}}function jM(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",38)(1,"div",15)(2,"span",39),e.EFF(3,"Search for an option"),e.k0s()(),e.j41(4,"div",40)(5,"span",41),e.nrm(6,"input",42),e.nI1(7,"async"),e.j41(8,"input",43),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.applyFilter())}),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(6),e.Y8G("placeholder",e.bMT(7,1,t.getSearchPlaceholder()))}}function NM(n,r){if(1&n&&(e.j41(0,"span",44),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.filterAlphabeticalTitle.value," ")}}function YM(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",48),e.bIt("click",function(o){e.eBV(t);const a=e.XpG().index,s=e.XpG(2);return e.Njj(s.selectChar(a,o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.AVh("current",t.active)("active",t.count>0),e.Y8G("href",i.getLink(t.initial),e.B4B),e.R7$(),e.SpI(" ",t.initial," ")}}function XM(n,r){if(1&n&&(e.qex(0),e.DNE(1,YM,2,6,"a",47),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.initial)}}function BM(n,r){if(1&n&&(e.j41(0,"div",45),e.DNE(1,XM,2,1,"ng-container",46),e.nI1(2,"async"),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",e.bMT(2,1,t.alphabeticList$))}}function VM(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",53),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.clearAllFilters())}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.filterClearFiltersLabel.value," ")}}function LM(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",49)(1,"div",50),e.DNE(2,VM,2,1,"span",51),e.nI1(3,"async"),e.j41(4,"span",52),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.applyFilter())}),e.EFF(5),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",e.bMT(3,2,t.getShowClearFilters())),e.R7$(3),e.SpI(" ",t.content.filterApplyLabel.value," ")}}function AM(n,r){if(1&n&&(e.j41(0,"h3",54),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.downloadLabel.value," ")}}function qM(n,r){if(1&n&&(e.j41(0,"a",55),e.nI1(1,"safeUrl"),e.EFF(2),e.k0s()),2&n){const t=e.XpG();e.Y8G("href",e.bMT(1,2,t.content.firmCodesLink.value),e.B4B),e.R7$(2),e.JRh(t.content.firmCodesLabel.value)}}function UM(n,r){if(1&n&&(e.j41(0,"h4",65),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.key)}}function zM(n,r){if(1&n&&(e.j41(0,"a",68),e.nI1(1,"directoriesProfileUrl"),e.EFF(2),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.Y8G("href",e.i5U(1,2,t,"member-directory-profile"),e.B4B),e.R7$(2),e.SpI(" ",t.memberValue.value," ")}}function HM(n,r){1&n&&e.eu8(0)}function WM(n,r){if(1&n&&(e.qex(0),e.DNE(1,zM,3,5,"a",66)(2,HM,1,0,"ng-container",67),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(4);const i=e.sdS(41);e.R7$(),e.Y8G("ngIf",!t.memberValue.errorText&&t.memberValue.value),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.memberValue)}}function JM(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",69),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(5);e.R7$(2),e.JRh(t.defaultFieldValue)}}function KM(n,r){if(1&n&&(e.j41(0,"div"),e.DNE(1,WM,3,3,"ng-container",31)(2,JM,3,1,"ng-container",31),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.memberValue.visibility),e.R7$(),e.Y8G("ngIf",!t.memberValue.visibility)}}function QM(n,r){if(1&n&&(e.j41(0,"div",63),e.DNE(1,UM,2,1,"h4",64)(2,KM,3,2,"div",46),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.key),e.R7$(),e.Y8G("ngForOf",t.value)}}function ZM(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",70),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.scrollTop())}),e.k0s()}}function eO(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",71),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.scrollTop())}),e.k0s()}}function tO(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",57),e.DNE(1,QM,3,2,"div",58),e.nI1(2,"slice"),e.nI1(3,"groupBy"),e.j41(4,"app-paginator",59),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.submit(o))}),e.k0s(),e.j41(5,"div",60),e.DNE(6,ZM,1,0,"div",61)(7,eO,1,0,"div",62),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",e.i5U(3,9,e.brH(2,5,null==t.content?null:t.content.content,0,t.itemsPerPage),"group")),e.R7$(3),e.Y8G("totalPages",t.getTotalPages(null==t.content?null:t.content.totalItems.value))("currentPage",null==t.content?null:t.content.page.value),e.R7$(2),e.Y8G("ngIf",t.selectedChar),e.R7$(),e.Y8G("ngIf",t.selectedChar)}}function nO(n,r){if(1&n&&(e.qex(0),e.DNE(1,tO,8,12,"div",56),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",(null==t.content?null:t.content.content)&&(null==t.content?null:t.content.content.length)>0)}}function iO(n,r){if(1&n&&(e.j41(0,"a",68),e.nI1(1,"directoriesProfileUrl"),e.EFF(2),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.Y8G("href",e.i5U(1,2,t,"member-directory-profile"),e.B4B),e.R7$(2),e.SpI(" ",t.memberValue.value," ")}}function oO(n,r){1&n&&e.eu8(0)}function rO(n,r){if(1&n&&(e.qex(0),e.DNE(1,iO,3,5,"a",66)(2,oO,1,0,"ng-container",67),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(3);const i=e.sdS(41);e.R7$(),e.Y8G("ngIf",!t.memberValue.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.memberValue)}}function aO(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",69),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(5);e.R7$(2),e.JRh(t.defaultFieldValue)}}function sO(n,r){if(1&n&&(e.j41(0,"td"),e.DNE(1,rO,3,3,"ng-container",31)(2,aO,3,1,"ng-container",31),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.memberValue.visibility),e.R7$(),e.Y8G("ngIf",!t.memberValue.visibility)}}function lO(n,r){if(1&n&&(e.j41(0,"tr"),e.DNE(1,sO,3,2,"td",31),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.memberValue.value)}}function cO(n,r){if(1&n&&(e.j41(0,"table")(1,"thead")(2,"th"),e.EFF(3,"Members"),e.k0s()(),e.j41(4,"tbody"),e.DNE(
15,lO,2,1,"tr",46),e.nI1(6,"slice"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(5),e.Y8G("ngForOf",e.brH(6,1,null==t.content?null:t.content.content,0,t.itemsPerPage))}}function pO(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",70),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.scrollTop())}),e.k0s()}}function mO(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",71),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.scrollTop())}),e.k0s()}}function _O(n,r){1&n&&(e.j41(0,"div",73)(1,"span",74),e.EFF(2," Sorry, we couldn't find any results for your search criteria. Please try again "),e.k0s()())}function dO(n,r){if(1&n){const t=e.RV6();e.qex(0),e.DNE(1,cO,7,5,"table",31),e.j41(2,"app-paginator",59),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.submit(o))}),e.k0s(),e.j41(3,"div",60),e.DNE(4,pO,1,0,"div",61)(5,mO,1,0,"div",62),e.k0s(),e.DNE(6,_O,3,0,"div",72),e.bVm()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",(null==t.content?null:t.content.content)&&(null==t.content?null:t.content.content.length)>0),e.R7$(),e.Y8G("totalPages",t.getTotalPages(null==t.content?null:t.content.totalItems.value))("currentPage",null==t.content?null:t.content.page.value),e.R7$(2),e.Y8G("ngIf",(null==t.content?null:t.content.content)&&(null==t.content?null:t.content.content.length)>0),e.R7$(),e.Y8G("ngIf",(null==t.content?null:t.content.content)&&(null==t.content?null:t.content.content.length)>0),e.R7$(),e.Y8G("ngIf",!(null!=t.content&&t.content.content)||0===(null==t.content?null:t.content.content.length))}}function uO(n,r){if(1&n&&e.nrm(0,"app-hide-field",76),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function gO(n,r){1&n&&e.DNE(0,uO,1,1,"app-hide-field",75),2&n&&e.Y8G("ngIf",r.errorText)}let Ro=(()=>{class n{constructor(t,i,o,a,s,c,d,C,T){this.refreshService=t,this.fb=i,this.store=o,this.scrollToService=a,this.elementRef=s,this.accordionHandler=c,this.pageTitleService=d,this.urlHandlerService=C,this.platformId=T,this.placeholderL
1abel=new Oe.t(""),this.isAlphabeticListOpen=new Oe.t(!1),this.showResultsInTable=!1,this.itemsPerPage=20,this.defaultFieldValue=w.M.DEFAULT_VALUE,this.showClearFilters=new Oe.t(!1),this.actualPage=0,this.showAlphabetList=!1}ngOnInit(){this.initDefaultParams()}ngOnChanges(t){(0,l.UE)(this.platformId)&&t.content?.currentValue!==t.content?.previousValue&&((0,$e.A)(t)||(this.content.content=[]),this.scrollToResults())}initItemsPerPage(){!this.content.itemsPerPage||!this.content.itemsPerPage.value||this.content.itemsPerPage.value===this.itemsPerPage||(this.itemsPerPage=this.content.itemsPerPage.value)}initDefaultParams(){var t=this;return(0,_.A)(function*(i=null){t.initItemsPerPage(),t.searchForm=t.fb.group({search:null}),t.firstLevelFilters=t.getFirstLevelFilters();let o=[];try{o=JSON.parse(JSON.stringify(t.firstLevelFilters))}catch(s){(0,te.z3)(`filters json parse error ${s}`)}t.filters$=(0,q.of)(o);let a=[];t.alphabeticalList=t.getAlphabeticList();try{a=JSON.parse(JSON.stringify(t.alphabeticalList))}catch(s){(0,te.z3)(`alpha json parse error ${s}`)}t.alphabeticList$=(0,q.of)(a),t.pageUrl=yield t.store.pipe((0,u.Lt)(h.Ti),(0,f.s)(1)).toPromise(),t.pageUrl={...t.pageUrl,parameters:i||t.pageUrl.parameters},t.updatePageTitle(t.pageUrl.parameters),t.setFiltersFromUrl(t.pageUrl.parameters)}).apply(this,arguments)}submit(t=0,i=!1){this.isValidSelectedFilter()&&!this.isValidSearchLabel()||(this.isValidSelectedFilter()&&this.isValidSearchLabel()&&(this.setShowResultsInTable(!0),this.deselectChar(),this.setShowAlphabetList(!1),this.setShowClearFilters(!0)),this.actualPage=t,this.setParameters(),this.updateUrlWithParams(i?["size","page"]:["size"]),this.refresh(t,this.pageUrl.parameters))}backBrowserButtonCall(){var t=this;return(0,_.A)(function*(i=null){t.clearAllFilters(!0),i=i||new F.Nl,t.initDefaultParams(i),t.setParameters(i);const o=i&&i.has("page")?Number(i.get("page")):0;t.updateUrlWithParams(0===o?["size","page"]:["size"]),t.refresh(o,i)}).apply(this,arguments)}refresh(t,i){this.status={currentPage:t,refreshing:!0,params:i},this.refreshService.refreshComponent(this.id,this.position,this.type,this.content,this.status)}applyFilter(){this.isValidSelectedFilter()?this.isValidSearchLabel()&&this.submit(0,!0):this.scrollToService.scrollToTheElementById("member-search-result",this.elementRef)}scrollTop(){this.scrollToService.scrollToTheElementById("member-directory-search",this.elementRef)}scrollToResults(){var t=this;return(0,_.A)(function*(){const o=(yield t.store.pipe((0,u.Lt)(h.Ti),(0,f.s)(1)).toPromise()).parameters;o&&o.keys().length>0&&t.scrollToService.scrollToTheElementById("member-search-result",t.elementRef)})()}setParameters(t=null){if(t)return void(this.pageUrl={...this.pageUrl,parameters:t});let i=(new F.Nl).set("size",this.itemsPerPage.toString()).set("page",this.actualPage.toString());this.isValidSearchLabel(this.searchForm.value.search)&&this.isValidSelectedFilter()&&(i=i.set(this.selectedFilterKey,this.searchForm.value.search)),this.selectedChar&&this.selectedChar.length>0&&(i=i.set("initial",this.selectedChar)),this.pageUrl={...this.pageUrl,parameters:i}}updateUrlWithParams(t){let i=this.pageUrl.parameters;t.forEach(o=>{i=i.delete(o)}),this.urlHandlerService.setCurrentPath({path:this.pageUrl.path,parameters:i},!0),this.updatePageTitle(i)}updatePageTitle(t){t.keys().filter(i=>"tab"!==i&&"page"!==i&&"size"!==i).map(i=>{const o=this.firstLevelFilters.find(s=>s.key===i),a=o&&o.value?o.value:"";this.pageTitleService.dispatchPageTitlePrefix([t.get(i),a])})}setFiltersFromUrl(t){const i=t.get("initial");if(i){const s=this.alphabeticalList.findIndex(d=>d.initial.toUpperCase()===i.toUpperCase());return this.selectChar(s,null,!1),this.toggleAccordion("filters-accordion"),void this.setShowAlphabetList(!0)}let o="";const a=this.firstLevelFilters.findIndex(s=>(o=t.get(s.key),this.isValidSearchLabel(o)));this.selectFilter(a,o),a>-1&&(this.setShowResultsInTable(!0),this.setShowClearFilters(!0),this.toggleAccordion("filters-accordion"),this.scrollToResults())}getTotalPages(t){return Math.ceil(t/this.itemsPerPage)}getLink(t){const o=(new F.Nl).set("initial",t).set("page","0");return k.T.getLink("member-directory-search",o)}setShowResultsInTable(t){this.showResultsInTable=t}getShowClearFilters(){return this.showClearFilters.asObservable()}setShowClearFilters(t){this.showClearFilters.next(t)}clearAllFilters(t=!1){this.deselectChar(),this.setShowAlphabetList(!1),this.deselectFilter(),this.setShowClearFilters(!1),this.setShowResultsInTable(!1),this.scrollTop(),this.pageTitleService.dispatchPageTitlePrefix([]),t||this.submit(0,!0)}selectChar(t,i=null,o=!0){i&&i.preventDefault();const a=JSON.parse(JSON.stringify(this.alphabeticalList));-1===t||0===a[t].count||(this.deselectFilter(),this.setShowResultsInTable(!1),this.handleCharClick(a,t),this.alphabeticList$=(0,q.of)(a),o&&this.submit(0,!0))}handleCharClick(t,i){this.selectedChar&&t[i].initial===this.selectedChar?(this.deselectChar(),this.setShowClearFilters(!1)):(this.selectedChar=t[i].initial,t[i].active=!0,this.setShowClearFilters(!0))}deselectChar(){if(!this.selectedChar)return;this.selectedChar=null;const t=JSON.parse(JSON.stringify(this.alphabeticalList));this.alphabeticList$=(0,q.of)(t)}setIsAlphabeticListOpen(){this.showAlphabetList=!this.showAlphabetList,this.isAlphabeticListOpen.next(this.showAlphabetList)}setShowAlphabetList(t){this.showAlphabetList=t,this.isAlphabeticListOpen.next(this.showAlphabetList)}getIsAlphabeticListOpen(){return this.isAlphabeticListOpen.asObservable()}selectFilter(t,i=null){if(-1===t)return;const o=JSON.parse(JSON.stringify(this.firstLevelFilters));this.selectedFilterKey=o[t].key,o[t].active=!0,this.filters$=(0,q.of)(o),this.searchForm=this.fb.group({search:i}),this.setSearchPlaceholder(o[t].placeholder)}deselectFilter(){this.selectedFilterKey=null;const t=JSON.parse(JSON.stringify(this.firstLevelFilters));this.filters$=(0,q.of)(t),this.setSearchPlaceholder(""),this.searchForm.reset()}isThisSomeSelectFilter(){return(0,q.of)(!!this.selectedFilterKey&&this.selectedFilterKey.length>0)}
1getSearchPlaceholder(){return this.placeholderLabel.asObservable()}setSearchPlaceholder(t){this.placeholderLabel.next(t&&t.length>0?t:"")}isValidSearchLabel(t=null){return t||(t=this.searchForm.value.search),!!t&&t.length>0}isValidSelectedFilter(){return!!this.selectedFilterKey&&this.selectedFilterKey.length>0}getFirstLevelFilters(){return[{key:"firmname",value:"Member firm name",placeholder:this.content.filterFirmNameLabel.value,active:!1},{key:"lei",value:"LEI",placeholder:this.content.filterLeiLabel.value,active:!1},{key:"firmcode",value:"Firm Code",placeholder:this.content.filterFirmCodeLabel.value,active:!1},{key:"memberid",value:"Member ID",placeholder:this.content.filterMemberIdLabel.value,active:!1},{key:"mnemonic",value:"Member Mnemonic",placeholder:this.content.filterMnemonicLabel.value,active:!1},{key:"crestcode",value:"CREST Code",placeholder:this.content.filterCrestCodeLabel.value,active:!1},{key:"dtccode",value:"DTC Code",placeholder:this.content.filterDtcCodeLabel.value,active:!1},{key:"euroclearbankcode",value:"Euroclear Bank Code",placeholder:this.content.filterEuroclearLabel.value,active:!1}]}getAlphabeticList(){let t=[];return!this.content.memberAlphabeticalList.value||0===this.content.memberAlphabeticalList.value.length||this.content.memberAlphabeticalList.value.forEach(i=>{t=t.concat([{initial:i.initial,count:i.count,active:!1}])}),t}toggleAccordion(t){this.accordionHandler.toggleAccordion(t,this.elementRef)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(j.W),e.rXU(g.ze),e.rXU(u.il),e.rXU(le.W),e.rXU(e.aKT),e.rXU(Je.h),e.rXU(pe.P),e.rXU(k.T),e.rXU(e.Agw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-member-directory-search"]],viewQuery:function(i,o){if(1&i&&e.GBs(GM,5),2&i){let a;e.mGM(a=e.lsd())&&(o.searchField=a.first)}},inputs:{content:"content",type:"type",position:"position",id:"id",status:"status"},features:[e.OA$],decls:42,vars:29,consts:[["emptyvalue",""],["id","member-directory-search","appBackBrowserClick","",1,"member-directory-search","component","gtm-track-component","wrapper","x-large-width","x-large-width-padding",3,"refreshComponent"],["id","filters-accordion",1,"filters-form",3,"formGroup"],[1,"filters-container"],[1,"filters-header","mobile-flex-container"],["class","bold-font-weight base-font-size box-filters-title",4,"ngIf"],[1,"icon-filters","clickable",3,"click"],[1,"filters-wrapper"],[1,"whats-this-container"],[3,"whatsThisLink","whatsThisText"],[1,"index-filter","button-filter","mobile-flex-container"],[1,"button-filter-wrapper"],["class","filter-wrapper",4,"ngFor","ngForOf"],["class","filters-container search-wrapper",4,"ngIf"],[1,"filters-container","alphabet-container"],[1,"filters-header"],[1,"chars-label-wrapper",3,"click"],["class","base-font-size bold-font-weight",4,"ngIf"],[3,"ngClass"],["class","alphabet-filters",4,"ngIf"],["class","filter-action-buttons",4,"ngIf"],[1,"download-container"],[1,"download-document-simple","wrapper","x-large-width","x-large-width-padding"],["class","documents-title",4,"ngIf"],[1,"documents-list","flex-wrapper"],[1,"simple-document"],["target","_blank",1,"simple-document__icon",3,"href"],[1,"simple-document__info"],[1,"simple-document__title"],["class","black-link regular-font-size medium-font-weight","target","_blank",3,"href",4,"ngIf"],["id","member-search-result"],[4,"ngIf"],[1,"bold-font-weight","base-font-size","box-filters-title"],[1,"filter-wrapper"],[3,"ngClass","click",4,"ngIf"],["class","filter-deselect",3,"click",4,"ngIf"],[3,"click","ngClass"],[1,"filter-deselect",3,"click"],[1,"filters-container","search-wrapper"],[1,"bold-font-weight","base-font-size"],[1,"index-filter","search-filter"],[1,"search-container","input-container"],["formControlName","search","name","search","type","text","id","company-search","aria-describedby","company-search","autocomplete","off",1,"form-control","search-icon","filter-input","search-input",3,"placeholder"],["type","submit",1,"hide-input-submit","gtm-trackable",3,"click"],[1,"base-font-size","bold-font-weight"],[1,"alphabet-filters"],[4,"ngFor","ngForOf"],["class","gtm-trackable bold-font-weight",3,"current","active","href","click",4,"ngIf"],[1,"gtm-trackable","bold-font-weight",3,"click","href"],[1,"filter-action-buttons"],[1,"action-wrapper"],["class","gold-button bold-font-weight outline gtm-trackable",3,"click",4,"ngIf"],[1,"gold-button","bold-font-weight","gtm-trackable","apply-filter",3,"click"],[1,"gold-button","bold-font-weight","outline","gtm-trackable",3,"click"],[1,"documents-title"],["target","_blank",1,"black-link","regular-font-size","medium-font-we
1ight",3,"href"],["class","members-container",4,"ngIf"],[1,"members-container"],["class","member-element",4,"ngFor","ngForOf"],[3,"goToPage","totalPages","currentPage"],[1,"wrapper","x-large-width","x-large-width-padding"],["class","back-to-top hide-on-mobile",3,"click",4,"ngIf"],["class","back-to-top show-on-mobile",3,"click",4,"ngIf"],[1,"member-element"],["class","bold-font-weight",4,"ngIf"],[1,"bold-font-weight"],["directoryCurrentUrl","","directoryType","member-directory-search",3,"href",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["directoryCurrentUrl","","directoryType","member-directory-search",3,"href"],[1,"dash-wrapper"],[1,"back-to-top","hide-on-mobile",3,"click"],[1,"back-to-top","show-on-mobile",3,"click"],["class","no-result-msg",4,"ngIf"],[1,"no-result-msg"],[1,"large-font-size"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"section",1),e.bIt("refreshComponent",function(c){return e.eBV(a),e.Njj(o.backBrowserButtonCall(c))}),e.j41(1,"form",2)(2,"div",3)(3,"div",4),e.DNE(4,SM,2,1,"span",5),e.j41(5,"span",6),e.bIt("click",function(){return e.eBV(a),e.Njj(o.toggleAccordion("filters-accordion"))}),e.k0s()()(),e.j41(6,"div",7)(7,"div",3)(8,"div",8),e.nrm(9,"app-whats-this",9),e.k0s(),e.j41(10,"div",10)(11,"div",11),e.DNE(12,DM,3,2,"div",12),e.nI1(13,"async"),e.k0s()()(),e.DNE(14,jM,9,3,"div",13),e.nI1(15,"async"),e.j41(16,"div",14)(17,"div",15)(18,"div",16),e.bIt("click",function(){return e.eBV(a),e.Njj(o.setIsAlphabeticListOpen())}),e.DNE(19,NM,2,1,"span",17),e.nrm(20,"span",18),e.nI1(21,"async"),e.k0s()(),e.DNE(22,BM,3,3,"div",19),e.nI1(23,"async"),e.nI1(24,"async"),e.nI1(25,"async"),e.k0s(),e.DNE(26,LM,6,4,"div",20),e.k0s()(),e.j41(27,"div",21)(28,"div",22),e.DNE(29,AM,2,1,"h3",23),e.j41(30,"div",24)(31,"div",25),e.nrm(32,"a",26),e.nI1(33,"safeUrl"),e.j41(34,"div",27)(35,"div",28),e.DNE(36,qM,3,4,"a",29),e.k0s()()()()()(),e.j41(37,"div",30),e.DNE(38,nO,2,1,"ng-container",31)(39,dO,7,6,"ng-container",31),e.k0s()(),e.DNE(40,gO,1,1,"ng-template",null,0,e.C5r)}if(2&i){let a;e.R7$(),e.Y8G("formGroup",o.searchForm),e.R7$(3),e.Y8G("ngIf",o.content.searchTitle.value&&"-"!==o.content.searchTitle.value),e.R7$(5),e.Y8G("whatsThisLink",o.content.whatsThisLink)("whatsThisText",o.content.whatsThisText),e.R7$(3),e.Y8G("ngForOf",e.bMT(13,15,o.filters$)),e.R7$(2),e.Y8G("ngIf",e.bMT(15,17,o.isThisSomeSelectFilter())),e.R7$(5),e.Y8G("ngIf",o.content.filterAlphabeticalTitle.value),e.R7$(),e.Y8G("ngClass",e.bMT(21,19,o.getIsAlphabeticListOpen())?"icon-dropdown-up":"icon-dropdown-down"),e.R7$(2),e.Y8G("ngIf",e.bMT(23,21,o.getIsAlphabeticListOpen())&&e.bMT(24,23,o.alphabeticList$)&&(null==(a=e.bMT(25,25,o.alphabeticList$))?null:a.length)>0),e.R7$(4),e.Y8G("ngIf",o.content.filterApplyLabel.value),e.R7$(3),e.Y8G("ngIf",o.content.downloadLabel.value),e.R7$(3),e.Y8G("href",e.bMT(33,27,o.content.firmCodesLink.value),e.B4B),e.R7$(4),e.Y8G("ngIf",o.content.firmCodesLink.value),e.R7$(2),e.Y8G("ngIf",!o.showResultsInTable),e.R7$(),e.Y8G("ngIf",o.showResultsInTable)}},dependencies:[l.YU,l.Sq,l.bT,l.T3,g.qT,g.me,g.BC,g.cb,y.W,De.T,g.j4,g.JD,ue,ae,Kt,l.Jj,l.P9,Rt.d,St,Pt],styles:['body[_ngcontent-%COMP%]{font-size:.875rem}.light-font-weight[_ngcontent-%COMP%]{font-weight:300}.regular-font-weight[_ngcontent-%COMP%]{font-weight:400}.medium-font-weight[_ngcontent-%COMP%]{font-weight:500}.semi-bold-font-weight[_ngcontent-%COMP%]{font-weight:600}.bold-font-weight[_ngcontent-%COMP%]{font-weight:700}@media (max-width: 1144px){.bold-font-weight-sm[_ngcontent-%COMP%]{font-weight:700}}.extrabold-font-weight[_ngcontent-%COMP%]{font-weight:800}.small-font-size[_ngcontent-%COMP%]{font-size:.875rem!important;line-height:1em}.smaller-font-size[_ngcontent-%COMP%]{font-size:.65625rem;line-height:1em}.base-font-size[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.3125rem}@media (max-width: 1144px){.xs-base-font-size[_ngcontent-%COMP%]{font-size:.875rem!important;line-height:1.3125rem!important}}.regular-font-size[_ngcontent-%COMP%]{font-size:.984375rem;line-height:1.75rem}.big-font-size[_ngcontent-%COMP%]{font-size:1.09375rem;line-height:1.1em}.bigger-font-size[_ngcontent-%COMP%]{font-size:1.203125rem;line-height:1em}.generous-font-size[_ngcontent-%COMP%]{font-size:1.421875rem;line-height:1.640625rem}.large-font-size[_ngcontent-%COMP%]{font-size:1.640625rem;line-height:1em}@media (max-width: 1144px){.large-font-size[_ngcontent-%COMP%]{font-size:1.18125rem}}.larger-font-size[_ngcontent-%COMP%]{font-size:2.1875rem;line-height:1em}@media (max-width: 1144px){.larger-font-size[_ngcontent-%COMP%]{font-size:1.75rem}}.hero-font[_ngcontent-%COMP%]{font-size:3.5rem;font-weight:800;line-height:4.046875rem}.align-center[_ngcontent-%COMP%]{text-align:center}.align-right[_ngcontent-%COMP%]{text-align:right}.section-title[_ngcontent-%COMP%]{display:inline}.blue-text[_ngcontent-%COMP%]{color:#001eff}.grey-medium-text[_ngcontent-%COMP%]{color:#4d4d4d}h1[_ngcontent-%COMP%]{font-size:1.640625rem;font-weight:700;line-height:1.4;font-family:LSEG Motto,Proxima Nova,Arial,Helvetica;text-transform:uppercase}
1h2[_ngcontent-%COMP%]{font-size:1.3125rem;font-weight:700;line-height:1.333;font-family:LSEG Motto,Proxima Nova,Arial,Helvetica;text-transform:uppercase}h3[_ngcontent-%COMP%]{font-size:1.09375rem;font-weight:700;line-height:1.2}h4[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:700;line-height:1.333}h5[_ngcontent-%COMP%]{font-weight:700}.h-link[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:500}.h-link-bold[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:700}.text-align-center[_ngcontent-%COMP%]{text-align:center}.text-align-right[_ngcontent-%COMP%]{text-align:right}.text-align-left[_ngcontent-%COMP%]{text-align:left}.text-align-justify[_ngcontent-%COMP%]{text-align:justify}.member-directory-search[_ngcontent-%COMP%]{margin:4rem auto 3.5rem}.member-directory-search[_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%]{position:relative}.search-title-wrapper[_ngcontent-%COMP%]{background-color:#001eff;color:#fff}.search-title-wrapper[_ngcontent-%COMP%] .search-title[_ngcontent-%COMP%]{align-items:center;min-height:3.875rem}.search-title-wrapper[_ngcontent-%COMP%] .search-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding:0 .75rem}.filters-container[_ngcontent-%COMP%] .filters-header[_ngcontent-%COMP%] .icon-filters[_ngcontent-%COMP%]{height:3rem;margin-left:-1rem;width:3rem}.filters-container[_ngcontent-%COMP%] .filters-header.mobile-flex-container[_ngcontent-%COMP%]{align-items:center;padding:.4rem 1rem}.filters-container[_ngcontent-%COMP%] .button-filter[_ngcontent-%COMP%]{padding-bottom:0;padding-top:.8rem}@media (max-width: 1023px){.filters-container[_ngcontent-%COMP%] .button-filter[_ngcontent-%COMP%]{flex-wrap:wrap}}.filters-container[_ngcontent-%COMP%] .box-filters-title[_ngcontent-%COMP%]{margin-right:1.1875rem}.filter-action-buttons[_ngcontent-%COMP%]{display:block;float:none;min-height:5rem;text-align:right}.filter-action-buttons[_ngcontent-%COMP%] .gold-button[_ngcontent-%COMP%]{margin-top:1.625rem}.filter-action-buttons[_ngcontent-%COMP%] .gold-button.outline[_ngcontent-%COMP%]{margin-right:1rem}.filters-container.search-wrapper[_ngcontent-%COMP%]{border-bottom:.12rem solid #ffffff}.filters-container.search-wrapper[_ngcontent-%COMP%] .search-container[_ngcontent-%COMP%]{position:relative}.filters-container[_ngcontent-%COMP%]{margin-top:0}.filters-wrapper[_ngcontent-%COMP%]{display:none}.filters-wrapper[_ngcontent-%COMP%] .alphabet[_ngcontent-%COMP%]{margin-bottom:1.5rem}.active-accordion[_ngcontent-%COMP%] .filters-wrapper[_ngcontent-%COMP%]{display:block}.whats-this-container[_ngcontent-%COMP%]{background-color:#fafafa;border:solid;border-color:#b2b2b2;border-width:0 .0625rem;box-shadow:none;padding-top:1.1875rem;text-align:right}.alphabet-container[_ngcontent-%COMP%]{background-color:#fafafa;border:solid .0625rem #b2b2b2;border-top:0}.alphabet-container[_ngcontent-%COMP%] .filters-header[_ngcontent-%COMP%]{background-color:#fafafa;border:0;height:4rem;min-height:4rem}.chars-label-wrapper[_ngcontent-%COMP%]{align-items:center;color:#000;display:flex;justify-content:center;width:100%}.chars-label-wrapper[_ngcontent-%COMP%] .icon-dropdown-down[_ngcontent-%COMP%]{background:url(assets/static/calendar_months_right_indicator.svg) center left no-repeat;background-size:40%;content:"";cursor:pointer;display:inline-block;height:1em;margin-left:.6rem;position:relative;top:.15rem;transform:rotate(90deg);width:1em}.chars-label-wrapper[_ngcontent-%COMP%] .icon-dropdown-down[_ngcontent-%COMP%]:before{background-color:transparent}.chars-label-wrapper[_ngcontent-%COMP%] .icon-dropdown-up[_ngcontent-%COMP%]{background:url(assets/static/calendar_months_right_indicator.svg) center left no-repeat;background-size:40%;content:"";cursor:pointer;display:inline-block;height:1em;margin-left:.6rem;position:relative;top:-.5rem;transform:rotate(-90deg);width:1em}.chars-label-wrapper[_ngcontent-%COMP%] .icon-dropdown-up[_ngcontent-%COMP%]:before{background-color:transparent}.members-container[_ngcontent-%COMP%]{padding-left:1rem}.member-element[_ngcontent-%COMP%]{max-width:20rem}
1.member-element[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{align-items:center;background-color:#001eff;border-radius:50%;color:#fff;display:flex;font-size:1.75rem;height:5rem;justify-content:center;margin-bottom:2.5rem;margin-top:1.5rem;padding:1rem;width:5rem}.member-element[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .member-element[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#000;display:block;padding-bottom:1.3rem}.download-container[_ngcontent-%COMP%]{margin-top:2rem}.simple-document[_ngcontent-%COMP%]{padding:1.5rem 1.5rem 1rem 3.5rem}.simple-document__icon[_ngcontent-%COMP%]{top:.75rem}table[_ngcontent-%COMP%]{margin-bottom:1.5rem;width:100%}table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{background-color:#fafafa;font-size:.984375rem}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{line-height:3rem}table[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#000;font-size:.984375rem}.no-result-msg[_ngcontent-%COMP%]{margin-top:2rem}@media (max-width: 1144px){.button-filter-wrapper[_ngcontent-%COMP%]{max-width:65rem}}@media (max-width: 480px){.button-filter-wrapper[_ngcontent-%COMP%]{max-width:21rem}}#member-search-result[_ngcontent-%COMP%]{padding-top:2rem}a[_ngcontent-%COMP%]{text-decoration:none}a[_ngcontent-%COMP%]:hover{text-decoration:underline}'],changeDetection:0})}}return n})();const hO=["dropdownMarketCap"],fO=["dropdownSectors"],vO=["dropdownLocations"],bO=(n,r)=>({label:n,code:"code",options:r}),CO=(n,r)=>({label:n,code:"name",options:r}),TO=(n,r)=>({label:n,code:"marketcap",options:r}),xO=(n,r)=>({label:n,code:"listingadmissiondate",options:r}),Fo=(n,r)=>({label:n,code:"adviser",options:r}),ze=n=>({errorText:n}),kO=(n,r)=>({label:n,code:"adviserContact",options:r});function yO(n,r){if(1&n&&(e.j41(0,"h2",32),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.content.aimSearchTitle.value)}}function wO(n,r){if(1&n&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.content.aimSearchSummary.value)}}function IO(n,r){if(1&n&&(e.j41(0,"a",35),e.EFF(1),e.nrm(2,"span",36),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("href",t.downloadListLink,e.B4B),e.R7$(),e.SpI(" ",t.content.downloadLabel.value," ")}}function MO(n,r){if(1&n&&(e.j41(0,"div",33),e.DNE(1,IO,3,2,"a",34),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.content.downloadLabel.value)}}function OO(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",37)(2,"form",38)(3,"span",39),e.nrm(4,"input",40),e.j41(5,"input",41),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.inputSearch())}),e.k0s()()()(),e.j41(6,"div",42),e.EFF(7),e.k0s(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("formGroup",t.searchForm),e.R7$(),e.AVh("disabled",t.currentFilter&&"search"!==t.currentFilter),e.R7$(),e.Y8G("placeholder",t.content.aimSearchPlaceholder.value),e.R7$(),e.Y8G("disabled",t.currentFilter&&"search"!==t.currentFilter),e.R7$(2),e.SpI(" ",t.content.aimSearchFilterSummary.value,"")}}function RO(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",43),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.selectAllFilters("dropdownSectors","sectors"))}),e.EFF(1," All "),e.k0s()}}function FO(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",44),e.bIt("click",function(){const o=e.eBV(t).item,a=e.XpG();return e.Njj(a.selectFilterDropdown(o,"sectors"))}),e.EFF(1),e.k0s()}if(2&n){const t=r.item,i=e.XpG();e.Y8G("ngClass",i.filterClass("sectors",t)),e.R7$(),e.SpI(" ",t.value," ")}}function PO(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",43),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.selectAllFilters("dropdownLocations","locations"))}),e.EFF(1," All "),e.k0s()}}function GO(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",44),e.bIt("click",function(){const o=e.eBV(t).item,a=e.XpG();return e.Njj(a.selectFilterDropdown(o,"locations"))}),e.EFF(1),e.k0s()}if(2&n){const t=r.item,i=e.XpG();e.Y8G("ngClass",i.filterClass("locations",t)),e.R7$(),e.SpI(" ",t.value," ")}}function SO(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",43),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.selectAllFilters("dropdownMarketCap","marketcapitalizationrange"))}),e.EFF(1," All "),e.k0s()}}function $O(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",44),e.bIt("click",function(){const o=e.eBV(t).item,a=e.XpG();return e.Njj(a.selectFilterDropdown(o,"marketcapitalizationrange"))}),e.EFF(1),e.k0s()}if(2&n){const t=r.item,i=e.XpG();e.Y8G("ngClass",i.filterClass("marketcapitalizationrange",t)),e.R7$(),e.SpI(" ",t.value," ")}}function EO(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"a",51),e.bIt("click",function(o){const a=e.eBV(t).$implicit,s=e.XpG(3);return e.Njj(s.getAlphabetInitial(a.initial,o))}),e.EFF(2),e.k0s(),e.bVm()}if(2&n){const t=r.$implicit,i=e.XpG(3);e.R7$(),e.AVh("active",t.count)("current",i.activeInitial===t.initial),e.Y8G("href",i.getInitialLink(t.initial),e.B4B),e.R7$(),e.JRh(t.initial)}}function DO(n,r){if(1&n&&(e.j41(0,"div",49),e.DNE(1,EO,3,6,"ng-container",50),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.content.aimLetterFilters.value)}}function jO(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",45)(1,"input",46),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.updateAlphabetTilesOpen())}),e.k0s(),e.j41(2,"label",47),e.EFF(3),e.k0s(),e.DNE(4,DO,2,1,"div",48),e.k0s()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("checked",t.isAlphabetTilesOpen),e.R7$(2),e.JRh(t.content.aimSearchAlphabetical.value),e.R7$(),e.Y8G("ngIf",t.content.aimLetterFilters.value.length)}}function NO(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",52),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.clearAll())}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.aimSearchClear.value," ")}}function YO(n,r){if(1&n&&(e.j41(0,"h4",32),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.key)}}function XO(n,r){if(1&n&&(e.j41(0,"a",61),e.nI1(1,"directoriesProfileUrl"),e.EFF(2),e.k0s()),2&n){const t=e.XpG().$implicit;e.Y8G("href",e.i5U(1,2,t,"aim-directory-profile"),e.B4B),e.R7$(2),e.JRh(t.aimSearchName.value)}}function BO(n,r){if(1&n&&(e.j41(0,"div",59),e.DNE(1,XO,3,5,"a",60),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.aimSearchName.visibility)}}function VO(n,r){if(1&n&&(e.j41(0,"div",57),e.DNE(1,YO,2,1,"h4",10)(2,BO,2,1,"div",58),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.key),e.R7$(),e.Y8G("ngForOf",t.value)}}function LO(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",62),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.scrollTop())}),e.k0s()}}function AO(n,r){if(1&n&&(e.j41(0,"div",54),e.DNE(1,VO,3,2,"div",55),e.nI1(2,"groupBy"),e.DNE(3,LO,1,0,"div",56),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",e.i5U(2,2,null==t.content?null:t.content.aimAlphabetList.content,"initial")),e.R7$(2),e.Y8G("ngIf",t.activeInitial)}}function qO(n,r){if(1&n&&(e.qex(0),e.DNE(1,AO,4,5,"div",53),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",null==t.content.aimAlphabetList?null:t.content.aimAlphabetList.content)}}function UO(n,r){1&n&&e.eu8(0)}function zO(n,r){1&n&&e.eu8(0)}function HO(n,r){1&n&&e.eu8(0)}function WO(n,r){1&n&&e.eu8(0)}function JO(n,r){1&n&&e.eu8(0)}function KO(n,r){if(1&n&&(e.j41(0,"th",78),e.DNE(1,JO,1,0,"ng-container",71),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(3),o=e.sdS(47);e.Y8G("ngClass","adviser"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(3,Fo,t.adviser.label,i.dropdownSortOptions.adviser))}}function QO(n,r){if(1&n&&(e.j41(0,"tr",69)(1,"th",70),e.DNE(2,UO,1,0,"ng-container",71),e.k0s(),e.j41(3,"th",72),e.DNE(4,zO,1,0,"ng-container",71),e.k0s(),e.j41(5,"th",73),e.EFF(6),e.k0s(),e.j41(7,"th",74),e.EFF(8),e.k0s(),e.j41(9,"th",75),e.DNE(10,HO,1,0,"ng-container",71),e.k0s(),e.j41(11,"th",76),e.DNE(12,WO,1,0,"ng-container",71),e.k0s(),e.DNE(13,KO,2,6,"th",77),e.k0s()),2&n){const t=r.$implicit,i=e.XpG(3),o=e.sdS(47);e.R7$(),e.Y8G("ngClass","code"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(15,bO,t.tidm.label,i.dropdownSortOptions.code)),e.R7$(),e.Y8G("ngClass","name"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(18,CO,t.description.label,i.dropdownSortOptions.name)),e.R7$(2),e.SpI(" ",t.sector.label," "),e.R7$(2),e.SpI(" ",t.location.label," "),e.R7$(),e.Y8G("ngClass","marketcap"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(21,TO,t.marketcapitalization.label,i.dropdownSortOptions.marketcap)),e.R7$(),e.Y8G("ngClass","listingadmissiondate"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(24,xO,t.listingadmissiondate.label,i.dropdownSortOptions.listingadmissiondate)),e.R7$(),e.Y8G("ngIf","search"===i.viewMode)}}function ZO(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.sector.value," ")}}function eR(n,r){if(1&n&&(e.qex(0),e.DNE(1,ZO,2,1,"ng-container",11),e.eu8(2,88),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(3);const i=e.sdS(49);e.R7$(),e.Y8G("ngIf",!t.sector.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ze,t.sector.errorText))}}function tR(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",89),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function nR(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.location.value," ")}}function iR(n,r){if(1&n&&(e.qex(0),e.DNE(1,nR,2,1,"ng-container",11),e.eu8(2,88),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(3);const i=e.sdS(49);e.R7$(),e.Y8G("ngIf",!t.location.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ze,t.location.errorText))}}function oR(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",89),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function rR(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.marketcapitalization.value)," ")}}function aR(n,r){if(1&n&&(e.qex(0),e.DNE(1,rR,3,3,"ng-container",11),e.eu8(2,88),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(3);const i=e.sdS(49);e.R7$(),e.Y8G("ngIf",!t.marketcapitalization.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ze,t.marketcapitalization.errorText))}}function sR(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",89),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function lR(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customdate"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.listingadmissiondate.value)," ")}}function cR(n,r){if(1&n&&(e.qex(0),e.DNE(1,lR,3,3,"ng-container",11),e.eu8(2,88),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(3);const i=e.sdS(49);e.R7$(),e.Y8G("ngIf",!t.listingadmissiondate.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ze,t.listingadmissiondate.errorText))}}function pR(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",89),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function mR(n,r){if(1&n&&(e.qex(0),e.j41(1,"a",61),e.nI1(2,"directoriesProfileUrl"),e.EFF(3),e.k0s(),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.Y8G("href",e.i5U(2,2,t,"aim-directory-profile"),e.B4B),e.R7$(2),e.JRh(t.adviser.value)}}function _R(n,r){if(1&n&&(e.qex(0),e.DNE(1,mR,4,5,"ng-container",11),e.eu8(2,88),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(3);const i=e.sdS(49);e.R7$(),e.Y8G("ngIf",!t.adviser.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ze,t.adviser.errorText))}}function dR(n,r){if(1&n&&(e.j41(0,"td",90),e.DNE(1,_R,3,5,"ng-container",11),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.adviser.visibility)}}function uR(n,r){if(1&n&&(e.j41(0,"tr",79)(1,"td",80),e.nrm(2,"app-link-or-dash",81),e.nI1(3,"companyUrl"),e.k0s(),e.j41(4,"td",82),e.nrm(5,"app-link-or-dash",81),e.nI1(6,"companyUrl"),e.k0s(),e.j41(7,"td",83),e.DNE(8,eR,3,5,"ng-container",11)(9,tR,3,1,"ng-container",11),e.k0s(),e.j41(10,"td",84),e.DNE(11,iR,3,5,"ng-container",11)(12,oR,3,1,"ng-container",11),e.k0s(),e.j41(13,"td",85),e.DNE(14,aR,3,5,"ng-container",11)(15,sR,3,1,"ng-container",11),e.k0s(),e.j41(16,"td",86),e.DNE(17,cR,3,5,"ng-container",11)(18,pR,3,1,"ng-container",11),e.k0s(),e.DNE(19,dR,2,1,"td",87),e.k0s()),2&n){const t=r.$implicit,i=e.XpG(3);e.R7$(2),e.Y8G("link",e.bMT(3,21,t))("linkClasses","blue-text bold-font-weight")("dashClasses","blue-text bold-font-weight")("value",t.tidm.value)("errorText",t.tidm.errorText)("visibility",t.tidm.visibility),e.R7$(3),e.Y8G("link",e.bMT(6,23,t))("linkClasses","black-link")("dashClasses","black-link")("value",t.description.value)("errorText",t.description.errorText)("visibility",t.description.visibility),e.R7$(3),e.Y8G("ngIf",t.sector.visibility),e.R7$(),e.Y8G("ngIf",!t.sector.visibility),e.R7$(2),e.Y8G("ngIf",t.location.visibility),e.R7$(),e.Y8G("ngIf",!t.location.visibility),e.R7$(2),e.Y8G("ngIf",t.marketcapitalization.visibility),e.R7$(),e.Y8G("ngIf",!t.marketcapitalization.visibility),e.R7$(2),e.Y8G("ngIf",t.listingadmissiondate.visibility),e.R7$(),e.Y8G("ngIf",!t.listingadmissiondate.visibility),e.R7$(),e.Y8G("ngIf","search"===i.viewMode)}}function gR(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-paginator",91),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG(3);return e.Njj(a.onSubmit(o))}),e.k0s()}if(2&n){const t=e.XpG(3);e.Y8G("totalPages",null==t.content.aimFilterList.pagination?null:t.content.aimFilterList.pagination.totalPages)("currentPage",null==t.content.aimFilterList.pagination?null:t.content.aimFilterList.pagination.page)}}function hR(n,r){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"div",64)(2,"table",65)(3,"thead"),e.DNE(4,QO,14,27,"tr",66),e.nI1(5,"slice"),e.k0s(),e.j41(6,"tbody"),e.DNE(7,uR,20,25,"tr",67),e.k0s()()(),e.DNE(8,gR,1,2,"app-paginator",68),e.j41(9,"div",62),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.scrollTop())}),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(4),e.Y8G("ngForOf",e.brH(5,3,t.content.aimFilterList.content,0,1)),e.R7$(3),e.Y8G("ngForOf",t.content.aimFilterList.content),e.R7$(),e.Y8G("ngIf",t.content.aimFilterList.pagination)}}function fR(n,r){1&n&&(e.j41(0,"div",92),e.EFF(1," Sorry, we couldn't find any results for your search criteria. Please try again "),e.k0s())}function vR(n,r){if(1&n&&(e.qex(0),e.DNE(1,hR,10,7,"div",63)(2,fR,2,0,"ng-template",null,5,e.C5r),e.bVm()),2&n){const t=e.sdS(3),i=e.XpG();e.R7$(),e.Y8G("ngIf",null==i.content.aimFilterList.content?null:i.content.aimFilterList.content.length)("ngIfElse",t)}}function bR(n,r){1&n&&e.eu8(0)}function CR(n,r){1&n&&e.eu8(0)}function TR(n,r){if(1&n&&(e.j41(0,"tr",69)(1,"th",72),e.DNE(2,bR,1,0,"ng-container",71),e.k0s(),e.j41(3,"th",94),e.DNE(4,CR,1,0,"ng-container",71),e.k0s(),e.j41(5,"th",95),e.EFF(6),e.k0s(),e.j41(7,"th",74),e.EFF(8),e.k0s(),e.j41(9,"th",96
1),e.EFF(10),e.k0s()()),2&n){const t=r.$implicit,i=e.XpG(3),o=e.sdS(47);e.R7$(),e.Y8G("ngClass","adviser"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(9,Fo,t.aimSearchName.label,i.dropdownSortOptions.adviser)),e.R7$(),e.Y8G("ngClass","adviserContact"===i.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.l_i(12,kO,t.aimSearchContact.label,i.dropdownSortOptions.adviserContact)),e.R7$(2),e.SpI(" ",t.aimSearchSector.label," "),e.R7$(2),e.SpI(" ",t.aimSearchLocation.label," "),e.R7$(2),e.SpI(" ",t.aimSearchCompaniesNumber.label," ")}}function xR(n,r){if(1&n&&(e.qex(0),e.j41(1,"a",102),e.nI1(2,"directoriesProfileUrl"),e.EFF(3),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("href",e.i5U(2,2,t,"aim-directory-profile"),e.B4B),e.R7$(2),e.JRh(t.aimSearchName.value)}}function kR(n,r){if(1&n&&(e.qex(0),e.DNE(1,xR,4,5,"ng-container",11),e.eu8(2,88),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(3);const i=e.sdS(49);e.R7$(),e.Y8G("ngIf",!t.aimSearchName.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ze,t.aimSearchName.errorText))}}function yR(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",89),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function wR(n,r){if(1&n&&(e.qex(0),e.j41(1,"a",61),e.nI1(2,"directoriesProfileUrl"),e.EFF(3),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("href",e.i5U(2,2,t,"aim-directory-profile"),e.B4B),e.R7$(2),e.JRh(t.aimSearchContact.value)}}function IR(n,r){if(1&n&&(e.qex(0),e.DNE(1,wR,4,5,"ng-container",11),e.eu8(2,88),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(3);const i=e.sdS(49);e.R7$(),e.Y8G("ngIf",!t.aimSearchContact.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ze,t.aimSearchContact.errorText))}}function MR(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",89),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function OR(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.aimSearchSector.value," ")}}function RR(n,r){if(1&n&&(e.qex(0),e.DNE(1,OR,2,1,"ng-container",11),e.eu8(2,88),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(3);const i=e.sdS(49);e.R7$(),e.Y8G("ngIf",!t.aimSearchSector.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ze,t.aimSearchSector.errorText))}}function FR(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",89),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function PR(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.aimSearchLocation.value," ")}}function GR(n,r){if(1&n&&(e.qex(0),e.DNE(1,PR,2,1,"ng-container",11),e.eu8(2,88),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(3);const i=e.sdS(49);e.R7$(),e.Y8G("ngIf",!t.aimSearchLocation.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ze,t.aimSearchLocation.errorText))}}function SR(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",89),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function $R(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.aimSearchCompaniesNumber.value," ")}}function ER(n,r){if(1&n&&(e.qex(0),e.DNE(1,$R,2,1,"ng-container",11),e.eu8(2,88),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(3);const i=e.sdS(49);e.R7$(),e.Y8G("ngIf",!t.aimSearchCompaniesNumber.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ze,t.aimSearchCompaniesNumber.errorText))}}function DR(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",89),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function jR(n,r){if(1&n&&(e.j41(0,"tr",79)(1,"td",97),e.DNE(2,kR,3,5,"ng-container",11)(3,yR,3,1,"ng-container",11),e.k0s(),e.j41(4,"td",98),e.DNE(5,IR,3,5,"ng-container",11)(6,MR,3,1,"ng-container",11),e.k0s(),e.j41(7,"td",99),e.DNE(8,RR,3,5,"ng-container",11)(9,FR,3,1,"ng-container",11),e.k0s(),e.j41(10,"td",100),e.DNE(11,GR,3,5,"ng-container",11)(12,SR,3,1,"ng-container",11),e.k0s(),e.j41(13,"td",101),e.DNE(14,ER,3,5,"ng-container",11)(15,DR,3,1,"ng-container",11),e.k0s()()),2&n){const t=r.$implicit;e.R7$(2),e.Y8G("ngIf",t.aimSearchName.visibility),e.R7$(),e.Y8G("ngIf",!t.aimSearchName.visibility),e.R7$(2),e.Y8G("ngIf",t.aimSearchContact.visibility),e.R7$(),e.Y8G("ngIf",!t.aimSearchContact.visibility),e.R7$(2),e.Y8G("ngIf",t.aimSearchSector.visibility),e.R7$(),e.Y8G("ngIf",!t.aimSearchSector.visibility),e.R7$(2),e.Y8G("ngIf",t.aimSearchLocation.visibility),e.R7$(),e.Y8G("ngIf",!t.aimSearchLocation.visibility),e.R7$(2),e.Y8G("ngIf",t.aimSearchCompaniesNumber.visibility),e.R7$(),e.Y8G("ngIf",!t.aimSearchCompaniesNumber.visibility)}}function NR(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-paginator",91),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG(3);return e.Njj(a.onSubmit(o))}),e.k0s()}if(2&n){const t=e.XpG(3);e.Y8G("totalPages",null==t.content.aimSearchList.pagination?null:t.content.aimSearchList.pagination.totalPages)("currentPage",null==t.content.aimSearchList.pagination?null:t.content.aimSearchList.pagination.page)}}function YR(n,r){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"div",64)(2,"table",93)(3,"thead"),e.DNE(4,TR,11,15,"tr",66),e.nI1(5,"slice"),e.k0s(),e.j41(6,"tbody"),e.DNE(7,jR,16,10,"tr",67),e.k0s()()(),e.DNE(8,NR,1,2,"app-paginator",68),e.j41(9,"div",62),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.scrollTop())}),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(4),e.Y8G("ngForOf",e.brH(5,3,t.content.aimSearchList.content,0,1)),e.R7$(3),e.Y8G("ngForOf",t.content.aimSearchList.content),e.R7$(),e.Y8G("ngIf",t.content.aimSearchList.pagination)}}function XR(n,r){1&n&&(e.j41(0,"div",92),e.EFF(1," Sorry, we couldn't find any results for your search criteria. Please try again "),e.k0s())}function BR(n,r){if(1&n&&(e.qex(0),e.DNE(1,YR,10,7,"div",63)(2,XR,2,0,"ng-template",null,5,e.C5r),e.bVm()),2&n){const t=e.sdS(3),i=e.XpG();e.R7$(),e.Y8G("ngIf",null==i.content.aimSearchList.content?null:i.content.aimSearchList.content.length)("ngIfElse",t)}}function VR(n,r){if(1&n){const t=e.RV6();e.j41(0,"li",106)(1,"div",107),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2).code,s=e.XpG();return e.Njj(s.sortBy(o.value,a))}),e.EFF(2),e.k0s()()}if(2&n){const t=r.$implicit,i=e.XpG(3);e.Y8G("ngClass",i.selectedSort===t.value?"active-sort":""),e.R7$(),e.FS9("title",t.label),e.R7$(),e.JRh(t.label)}}function LR(n,r){if(1&n&&(e.j41(0,"ul"),e.DNE(1,VR,3,3,"li",105),e.k0s()),2&n){const t=e.XpG().options;e.R7$(),e.Y8G("ngForOf",t)}}function AR(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",103),e.bIt("click",function(){const o=e.eBV(t).code,a=e.XpG();return e.Njj(a.toggleOption(o))}),e.EFF(1),e.k0s(),e.j41(2,"span",104),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.toggleOption())}),e.DNE(3,LR,2,1,"ul",11),e.k0s()}if(2&n){const t=r.label,i=r.code,o=r.options,a=e.XpG();e.Y8G("ngClass",a.isSortDesc(i,o)?"reverse":""),e.R7$(),e.JRh(t),e.R7$(),e.Y8G("ngClass",a.selectedDropDown===i?"expanded":""),e.R7$(),e.Y8G("ngIf",o)}}function qR(n,r){if(1&n&&e.nrm(0,"app-hide-field",109),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function UR(n,r){1&n&&e.DNE(0,qR,1,1,"app-hide-field",108),2&n&&e.Y8G("ngIf",r.errorText)}let Po=(()=>{class n{constructor(t,i,o,a,s,c,d,C,T,I,N){this.platformId=t,this.config=i,this.fb=o,this.refreshService=a,this.filtersService=s,this.accordionH
1andler=c,this.elementRef=d,this.scrollToService=C,this.store=T,this.pageTitleService=I,this.urlHandlerService=N,this.meta={viewMode:"profile"},this.defaultItemsPerPage=20,this.selectedSort="",this.selectedDropDown="",this.filters=[],this.allIsSelected={sectors:!0,locations:!0,marketcapitalizationrange:!0},this.isAlphabetTilesOpen=!1,this.defaultFieldValue=w.M.DEFAULT_VALUE,this.activeCode="",this.filtersService.store=this.store,this.filtersService.urlService=this.urlHandlerService}ngOnInit(){var t=this;return(0,_.A)(function*(){t.dropdownSortOptions=t.getDropdownSortOptions(),t.searchForm=t.fb.group({search:null}),t.updateCurrentInputFilter(),t.viewMode=t.meta.viewMode,t.selectedFilter=t.isProfile(t.viewMode,"dropdown","alphabet"),t.activeCode=t.isProfile(t.viewMode,"code","adviser"),t.selectedSort=t.isProfile(t.viewMode,"tidm,asc","adviser,asc"),t.activeFilter=t.selectedFilter,t.pageUrl=yield t.store.pipe((0,u.Lt)(h.Ti),(0,f.s)(1)).toPromise(),t.setFiltersFromUrl(t.pageUrl.parameters)})()}ngOnChanges(t){this.updateFiltersFromUrl(),(0,l.UE)(this.platformId)&&!t.content?.firstChange&&t.content?.currentValue!==t.content?.previousValue&&((0,$e.A)(t)||(this.content.aimFilterList.content=[],this.content.aimSearchList.content=[]),this.updateActiveInitial(),this.updateActiveFilter(),this.scrollTo()),this.setDownloadListLink()}scrollPositionId(){let t="aim-adviser-search";return("search"===this.viewMode&&("alphabet"!==this.activeFilter||this.activeInitial)||"profile"===this.viewMode&&this.isDropdown(this.filters))&&(t="aim-adviser-search-results"),t}scrollTo(){this.scrollToService.scrollToTheElementById(this.scrollPositionId(),this.elementRef)}isProfile(t,i,o){return"profile"===t?i:o}isDropdown(t){return t.includes("sectors")||t.includes("locations")||t.includes("marketcapitalizationrange")}updateFiltersFromUrl(){const t=this.filtersService.getHttpFilters();return this.filters=t.keys(),this.isDropdown(this.filters)||"profile"===this.viewMode?(this.selectedFilter="dropdown",void(this.currentFilter="dropdown")):this.filters.includes("q")?(this.selectedFilter="search",void(this.currentFilter="search")):(this.selectedFilter="alphabet",void(this.currentFilter=null))}updateCurrentInputFilter(){this.searchForm.controls.search.valueChanges.subscribe(t=>{this.currentFilter=t?"search":null})}updateCurrentDropdownFilters(){this.filtersService.getCounters().subscribe(t=>{const i=t.get("sectors"),o=t.get("locations"),a=t.get("marketcapitalizationrange");this.currentFilter=i||o||a?"dropdown":null})}updateActiveFilter(){this.activeFilter=this.selectedFilter}updateActiveInitial(){const t=this.filtersService.getHttpFilters();this.activeInitial=this.filters.includes("initial")?t.get("initial"):null}setMultipleDropdownFilters(t,i){!t||!t.length||t.map(o=>{const a={key:o,value:o};this.incrementCounter(i),this.selectFilter(a,i)})}setFiltersFromUrl(t){var i=this;return(0,_.A)(function*(){const o=t.get("initial");if(o)return i.selectedFilter="alphabet",i.isAlphabetTilesOpen=!0,i.toggleAccordion("filters-accordion"),void(yield i.getAlphabetInitial(o));i.selectedSort=i.isProfile(i.viewMode,"tidm,asc","adviser,asc"),i.activeCode=i.isProfile(i.viewMode,"code","adviser");const a=t.get("q");if(a)return i.selectedFilter="search",i.currentFilter="search",i.searchForm.controls.search.setValue(a),i.toggleAccordion("filters-accordion"),void(yield i.submitQuery(a));const s=t.getAll("sectors"),c=t.getAll("locations"),d=t.getAll("marketcapitalizationrange");(s||c||d)&&(i.selectedFilter="dropdown",i.currentFilter="dropdown",i.setMultipleDropdownFilters(s,"sectors"),i.setMultipleDropdownFilters(c,"locations"),i.setMultipleDropdownFilters(d,"marketcapitalizationrange"),i.toggleAccordion("filters-accordion"),yield i.onSubmit())})()}getParamValue(t,i){if(!t||!i)return;const o=t.split("&"),a=new RegExp(i+"=","g"),s=[];return o.map(c=>{c.match(a)&&s.push(c.replace(a,""))}),s.join()}submitQuery(t){var i=this;return(0,_.A)(function*(){if(t){const o={key:t,value:t};yield i.clearAll(!1),i.filtersService.setFilter("q",o),yield i.submit()}i.activeCode="adviser",i.activeInitial=null})()}getDropdownSortOptions(){return{code:[{value:"tidm,asc",label:this.content.orderByCodeAsc.value},{value:"tidm,desc",label:this.content.orderByCodeDesc.value}],name:[{value:"description,asc",label:this.content.orderByNameAsc.value},{value:"description,desc",label:this.content.orderByNameDesc.value}],marketcap:[{value:"marketcapitalization,desc",label:this.content.orderByMarketCapDesc.value},{value:"marketcapitalization,asc",label:this.content.orderByMarketCapAsc.value}],listingadmissiondate:[{value:"listingadmissiondate,desc",label:this.content.orderByAdmissionDateDesc.value},{value:"listingadmissiondate,asc",label:this.content.orderByAdmissionDateAsc.value}],adviser:[{value:"adviser,asc",label:this.content.orderByAdviserAsc.value},{value:"adviser,desc",label:this.content.orderByAdviserDesc.value}],adviserContact:[{value:"contact,asc",label:this.content.orderByAdviserAsc.value},{value:"contact,desc",label:this.content.orderByAdviserDesc.value}]}}getQueryParams(t,i){return i?`${t}=${i}&`:""}sortBy(t,i){var o=this;return(0,_.A)(function*(){o.selectedSort=t,o.activeCode=i,yield o.onSubmit()})()}inputSearch(){var t=this;return(0,_.A)(function*(){if(!t.searchForm)return;const i=t.searchForm.get("search").value;yield t.submitQuery(i)})()}onSubmit(){var t=this;return(0,_.A)(function*(i=0){let o=(new F.Nl).set("page",`${i}`).set("size",`${t.defaultItemsPerPage}`);t.selectedSort&&(o=o.set("sort",t.selectedSort)),t.activeInitial=null,yield t.submit(o,i),t.scrollTo()}).apply(this,arguments)}submit(){var t=this;return(0,_.A)(function*(i=null,o=0){let a=t.filtersService.getHttpFilters();
1t.getKeys(i).forEach(s=>a=a.set(s,i.getAll(s).toString())),t.actualPage=i&&i.has("page")?Number(i.get("page")):o,t.status={...t.status,currentPage:o,params:a},yield t.filtersService.addFiltersToUrl(),t.setPageTitle(a,i),t.refreshService.refreshComponent(t.id,t.position,t.type,t.content,t.status)}).apply(this,arguments)}setPageTitle(t,i){if(!t)return;const o=[];this.getKeys(t).filter(a=>!this.getKeys(i).includes(a)).map(a=>o.push(this.getLabelFromKeyValue(a,t.getAll(a)))),this.pageTitleService.dispatchPageTitlePrefix(o," - ")}getKeys(t){return t?t.keys():[]}getLabelFromKeyValue(t,i){let o=[];switch(t){case"sectors":o=this.content.aimSearchFilterSectors.filters.filter(a=>i.includes(a.key)).map(a=>a.value);break;case"locations":o=this.content.aimSearchFilterLocations.filters.filter(a=>i.includes(a.key)).map(a=>a.value);break;case"marketcapitalizationrange":o=this.content.aimSearchFilterMarketCapRange.value.filter(a=>i.includes(a.key)).map(a=>a.value);break;case"q":return`${i.toString()} Adviser name`;default:return i.toString()}return o.join(", ")+" "+this.getDropdownLabel(t,!0)}clearAll(){var t=this;return(0,_.A)(function*(i=!0){if(!(0,l.UE)(t.platformId))return;const o=t.getDropdown("dropdownSectors");o.itemsList._selectionModel._selected=[],o.itemsList.clearSelected(),t.allIsSelected.sectors=!0;const a=t.getDropdown("dropdownLocations");a.itemsList._selectionModel._selected=[],a.itemsList.clearSelected(),t.allIsSelected.locations=!0;const s=t.getDropdown("dropdownMarketCap");s.itemsList._selectionModel._selected=[],s.itemsList.clearSelected(),t.allIsSelected.marketcapitalizationrange=!0,t.filtersService.clearFilters(),i&&(t.activeInitial=null,t.currentFilter=null,t.searchForm.controls.search.reset(),yield t.submit())}).apply(this,arguments)}backBrowserButtonCall(){var t=this;return(0,_.A)(function*(i=null){i?t.setFiltersFromUrl(i):t.clearAll()}).apply(this,arguments)}toggleOption(t=""){this.selectedDropDown=this.selectedDropDown===t?"":t}isActiveFilter(t,i){return this.filtersService.isActiveFilter(t,i)}selectFilterDropdown(t,i){if(t.key)return this.isActiveFilter(i,t.key)?(this.decrementCounter(i),this.deselectFilter(t,i)):(this.incrementCounter(i),this.currentFilter="dropdown",this.selectFilter(t,i))}filterClass(t,i){return this.isActiveFilter(t,i.key)?"active":""}selectAllFilters(t,i){const o=this.getDropdown(t);if(o&&o.itemsList){for(const a of o.itemsList._selectionModel._selected)this.deselectFilter(a.value,i);o.itemsList._selectionModel._selected=[],o.itemsList.clearSelected()}this.allIsSelected[i]=!0,this.filtersService.resetCounter(i),this.updateCurrentDropdownFilters()}getDropdown(t){switch(t){case"dropdownSectors":return this.dropdownSectors;case"dropdownLocations":return this.dropdownLocations;case"dropdownMarketCap":return this.dropdownMarketCap;default:return null}}clearFilters(){this.filtersService.clearFilters()}submitFilters(){var t=this;return(0,_.A)(function*(){if(t.filtersService.clearPageFilter(),t.selectedSort=t.isProfile(t.viewMode,"tidm,asc","adviser,asc"),t.activeCode=t.isProfile(t.viewMode,"code","adviser"),t.currentFilter||t.activeInitial){if("search"===t.currentFilter&&t.searchForm.controls.search.value)yield t.inputSearch();else if("dropdown"===t.currentFilter){const i=t.getParamValue(t.filtersService.getHttpFilters().toString(),"q");t.filtersService.deleteFilter("q",i);const o=t.getParamValue(t.filtersService.getHttpFilters().toString(),"initial");t.filtersService.deleteFilter("initial",o),t.searchForm.controls.search.reset(),yield t.onSubmit()}}else yield t.clearAll()})()}selectFilter(t,i){this.allIsSelected[i]=!1,this.filtersService.setFilter(i,t)}deselectFilter(t,i){this.filtersService.deleteFilter(i,t.key)}getDropdownLabel(t,i=!1){let o="";switch(t){case"sectors":o="Sector";break;case"locations":o="Location";break;case"marketcapitalizationrange":o="Market cap"}return i?o:this.getCounter(t).pipe((0,A.T)(a=>a?a+(1===a?" filter":" filters")+" selected":o))}setDownloadListLink(){const t=this.filtersService.getHttpFilters();let i=this.config.apiServer;if(0!==t.keys().length){if("search"===this.activeFilter||"alphabet"===this.activeFilter){const o=this.getParamValue(t.toString(),"q"),a=this.getParamValue(t.toString(),"initial");let s="";s+=this.getQueryParams("q",o),s+=this.getQueryParams("initial",a),i+=M.c.endpoints.downloadDirectoriesAimAdviser+"?"+s}if("dropdown"===this.activeFilter){const o=this.getParamValue(t.toString(),"sectors"),a=this.getParamValue(t.toString(),"locations"),s=this.getParamValue(t.toString(),"marketcapitalizationrange");let c="";c+=this.getQueryParams("sectors",o),c+=this.getQueryParams("locations",a),c+=this.getQueryParams("marketcapitalizationrange",s),i+=M.c.endpoints.downloadDirectoriesInstrumentSearch+"?"+c}this.downloadListLink=i.slice(0,-1)}else this.downloadListLink=i+M.c.endpoints.downloadDirectoriesInstrumentSearch+"?sectors=&locations=&marketcapitalizationrange="}getAlphabetInitial(t,i){var o=this;return(0,_.A)(function*(){if(i&&i.preventDefault(),t)if(o.activeInitial===t)yield o.clearAll();else{const a={key:t,value:t};yield o.clearAll(!1),o.filtersService.setFilter("initial",a),o.searchForm.controls.search.reset(),yield o.submit()}})()}getCounter(t){return this.filtersService.getCounters().pipe((0,A.T)(i=>i.get(t)))}incrementCounter(t){this.filtersService.incrementCounter(t)}decrementCounter(t){this.filtersService.decrementCounter(t),this.updateCurrentDropdownFilters()}scrollTop(){this.scrollToService.scrollToTheElementById("aim-adviser-search",this.elementRef)}getInitialLink(t){const i=(new F.Nl).set("initial",t);return k.T.getLink("aim-directory-search",i)}updateAlphabetTilesOpen(){this.isAlphabetTilesOpen=!this.isAlphabetTilesOpen}imageToShow(t){return!(!t||!t.logo)&&t.logo}isSortDesc(t,i){return this.selectedSort===i[1].value&&this.activeCode===t}
1toggleAccordion(t){this.accordionHandler.toggleAccordion(t,this.elementRef)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw),e.rXU(Le.w),e.rXU(g.ze),e.rXU(j.W),e.rXU(Ve.B),e.rXU(Je.h),e.rXU(e.aKT),e.rXU(le.W),e.rXU(u.il),e.rXU(pe.P),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-aim-adviser-search"]],viewQuery:function(i,o){if(1&i&&(e.GBs(hO,7),e.GBs(fO,7),e.GBs(vO,7)),2&i){let a;e.mGM(a=e.lsd())&&(o.dropdownMarketCap=a.first),e.mGM(a=e.lsd())&&(o.dropdownSectors=a.first),e.mGM(a=e.lsd())&&(o.dropdownLocations=a.first)}},inputs:{content:"content",type:"type",position:"position",id:"id",status:"status",meta:"meta"},features:[e.OA$],decls:50,vars:52,consts:[["dropdownSectors",""],["dropdownLocations",""],["dropdownMarketCap",""],["SortOptionDropDown",""],["emptyvalue",""],["noResults",""],["id","aim-adviser-search","appBackBrowserClick","",3,"refreshComponent"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"flex-wrapper","spaced-flex-container"],[1,"aim-search-header"],["class","bold-font-weight",4,"ngIf"],[4,"ngIf"],["class","aim-search-download",4,"ngIf"],["id","filters-accordion",1,"filters-container"],[1,"filters-header","bold-font-weight","regular-font-size","mobile-flex-wrapper"],[1,"icon-filters","clickable",3,"click"],[1,"filters-wrapper"],[1,"index-filter","whats-filter"],[3,"whatsThisLink","whatsThisText"],[1,"index-filter","dropdown-filter","flex-wrapper","spaced-flex-container"],[3,"ngClass"],["id","filterdropdown-sector","groupBy","
1selectAll",1,"form-control","form-select",3,"searchable","placeholder","selectableGroup","items","clearable","multiple","closeOnSelect"],["ng-optgroup-tmp",""],["ng-option-tmp",""],["id","filterdropdown-locations","groupBy","selectAll",1,"form-control","form-select",3,"searchable","placeholder","selectableGroup","items","clearable","multiple","closeOnSelect"],["id","filterdropdown-market","groupBy","selectAll",1,"form-control","form-select",3,"searchable","placeholder","selectableGroup","items","clearable","multiple","closeOnSelect"],["class","index-filter alphabet",4,"ngIf"],[1,"wrapper","x-large-width"],[1,"button-divider"],["class","gold-button bold-font-weight gtm-trackable outline",3,"click",4,"ngIf"],[1,"gold-button","bold-font-weight","gtm-trackable",3,"click"],["id","aim-adviser-search-results",1,"aim-adviser-search-results","wrapper","x-large-width","x-large-width-padding"],[1,"bold-font-weight"],[1,"aim-search-download"],["class","cta-button gold-button big-font-size outline bold-font-weight","target","_blank",3,"href",4,"ngIf"],["target","_blank",1,"cta-button","gold-button","big-font-size","outline","bold-font-weight",3,"href"],[1,"cta-document"],[1,"index-filter","search-filter"],[1,"form-inline",3,"formGroup"],[1,"search-container","input-container"],["formControlName","search","name","search","type","text","id","aim-search-bar-input","aria-describedby","aim-search-bar-input","autocomplete","off",1,"form-control","bigger-font-size","search-icon","filter-input","search-input",3,"placeholder"],["type","submit",1,"hide-input-submit","gtm-trackable",3,"click","disabled"],[1,"index-filter","search-filter","bold-font-weight","regular-font-size","align-center"],[1,"ng-option","gtm-trackable",3,"click"],[1,"select-option",3,"click","ngClass"],[1,"index-filter","alphabet"],["type","checkbox","id","alphabet-tiles-check",3,"click","checked"],["for","alphabet-tiles-check",1,"bold-font-weight","regular-font-size","gtm-trackable"],["class","alphabet-filters",4,"ngIf"],[1,"alphabet-filters"],[4,"ngFor","ngForOf"],[1,"bold-font-weight","clickable","black-link","gtm-trackable",3,"click","href"],[1,"gold-button","bold-font-weight","gtm-trackable","outline",3,"click"],["class","search-name-results","id","search-name-results",4,"ngIf"],["id","search-name-results",1,"search-name-results"],["class","search-name-letter",4,"ngFor","ngForOf"],["class","back-to-top",3,"click",4,"ngIf"],[1,"search-name-letter"],["class","search-name-term",4,"ngFor","ngForOf"],[1,"search-name-term"],["directoryCurrentUrl","","directoryType","aim-directory-search","class","black-link",3,"href",4,"ngIf"],["directoryCurrentUrl","","directoryType","aim-directory-search",1,"black-link",3,"href"],[1,"back-to-top",3,"click"],[4,"ngIf","ngIfElse"],[1,"table-wrapper"],[1,"full-width","aim-search-results"],["class","table-header",4,"ngFor","ngForOf"],["class","medium-font-weight slide-panel",4,"ngFor","ngForOf"],[3,"totalPages","currentPage","goToPage",4,"ngIf"],[1,"table-header"],[1,"code",3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"name",3,"ngClass"],[1,"sector"],[1,"location"],[1,"marketcap",3,"ngClass"],[1,"listingadmissiondate",3,"ngClass"],["class","adviser",3,"ngClass",4,"ngIf"],[1,"adviser",3,"ngClass"],[1,"medium-font-weight","slide-panel"],[1,"instrument-tidm","clickable","td-with-link"],[3,"link","linkClasses","dashClasses","value","errorText","visibility"],[1,"instrument-description","clickable","td-with-link"],[1,"instrument-sector"],[1,"instrument-location"],[1,"instrument-marketcapitalization"],[1,"instrument-listingadmissiondate"],["class","instrument-adviser clickable td-with-link",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"dash-wrapper"],[1,"instrument-adviser","clickable","td-with-link"],[3,"goToPage","totalPages","currentPage"],[1,"no-results","large-font-size"],[1,"full-width","aim-search-list"],[1,"contact",3,"ngClass"],[1,"sector","hide-on-portrait"],[1,"companies-number"],[1,"search-name"],[1,"search-contact"],[1,"search-sector","hide-on-portrait"],[1,"search-location"],[1,"search-companies-number"],["directoryCurrentUrl","","directoryType","aim-directory-search",1,"black-link","ellipsed",3,"href"],[1,"indented","clickable",3,"click","ngClass"],[1,"dropmenu","dropdown",3,"click","ngClass"],["class","sort-option",3,"ngClass",4,"ngFor","ngForOf"],[1,"sort-option",3,"ngClass"],[3,"click","title"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"section",6),e.bIt("refreshComponent",function(c){return e.eBV(a),e.Njj(o.backBrowserButtonCall(c))}),e.j41(1,"div",7)(2,"div",8)(3,"div",9),e.DNE(4,yO,2,1,"h2",10)(5,wO,2,1,"p",11),e.k0s(),e.DNE(6,MO,2,1,"div",12),e.k0s()(),e.j41(7,"div",7)(8,"div",13)(9,"div",14)(10,"span"),e.EFF(11),e.k0s(),e.j41(12,"span",15),e.bIt("click",function(){return e.eBV(a),e.Njj(o.toggleAccordion("filters-accordion"))}),e.k0s()(),e.j41(13,"div",16)(14,"div",17),e.nrm(15,"app-whats-this",18),e.k0s(),e.DNE(16,OO,8,6,"ng-container",11),e.j41(17,"div",19)(18,"div",20)(19,"ng-select",21,0),e.nI1(21,"async"),e.DNE(22,RO,2,0,"ng-template",22)(23,FO,2,2,"ng-template",23),e.k0s()(),e.j41(24,"div",20)(25,"ng-select",24,1),e.nI1(27,"async"),e.DNE(28,PO,2,0,"ng-template",22)(29,GO,2,2,"ng-template",23),e.k0s()(),e.j41(30,"div",20)(31,"ng-select",25,2),e.nI1(33,"async"),e.DNE(34,SO,2,0,"ng-template",22)(35,$O,2,2,"ng-template",23),e.k0s()()(),e.DNE(36,jO,5,3,"div",26),e.j41(37,"div",27)(38,"div",28),e.DNE(39,NO,2,1,"span",29),e.j41(40,"span",30),e.bIt("click",function(){return e.eBV(a),e.Njj(o.submitFilters())}),e.EFF(41),e.k0s()()()()()(),e.j41(42,"div",31),e.DNE(43,qO,2,1,"ng-container",11)(44,vR,4,2,"ng-container",11)(45,BR,4,2,"ng-container",11),e.k0s()(),e.DNE(46,AR,4,4,"ng-template",null,3,e.C5r)(48,UR,1,1,"ng-template",null,4,e.C5r)}
12&i&&(e.ZvI("aim-adviser-search component gtm-track-component ",o.viewMode,""),e.R7$(4),e.Y8G("ngIf",o.content.aimSearchTitle.value),e.R7$(),e.Y8G("ngIf",o.content.aimSearchSummary.value),e.R7$(),e.Y8G("ngIf","search"===o.viewMode),e.R7$(5),e.JRh(o.content.aimSearchType.value),e.R7$(4),e.Y8G("whatsThisLink",o.content.whatsThisLink)("whatsThisText",o.content.whatsThisText),e.R7$(),e.Y8G("ngIf","search"===o.viewMode),e.R7$(2),e.AVh("disabled",o.currentFilter&&"dropdown"!==o.currentFilter),e.Y8G("ngClass",o.allIsSelected.sectors?"active-dropdown-filter":""),e.R7$(),e.Y8G("searchable",!1)("placeholder",e.bMT(21,46,o.getDropdownLabel("sectors")))("selectableGroup",!1)("items",o.content.aimSearchFilterSectors.filters)("clearable",!0)("multiple",!0)("closeOnSelect",!1),e.R7$(5),e.AVh("disabled",o.currentFilter&&"dropdown"!==o.currentFilter),e.Y8G("ngClass",o.allIsSelected.locations?"active-dropdown-filter":""),e.R7$(),e.Y8G("searchable",!1)("placeholder",e.bMT(27,48,o.getDropdownLabel("locations")))("selectableGroup",!1)("items",o.content.aimSearchFilterLocations.filters)("clearable",!0)("multiple",!0)("closeOnSelect",!1),e.R7$(5),e.AVh("disabled",o.currentFilter&&"dropdown"!==o.currentFilter),e.Y8G("ngClass",o.allIsSelected.marketcapitalizationrange?"active-dropdown-filter":""),e.R7$(),e.Y8G("searchable",!1)("placeholder",e.bMT(33,50,o.getDropdownLabel("marketcapitalizationrange")))("selectableGroup",!1)("items",o.content.aimSearchFilterMarketCapRange.value)("clearable",!0)("multiple",!0)("closeOnSelect",!1),e.R7$(5),e.Y8G("ngIf",o.content.aimLetterFilters.value&&"search"===o.viewMode),e.R7$(3),e.Y8G("ngIf",o.filters&&o.filters.length),e.R7$(2),e.SpI(" ",o.content.aimSearchApply.value," "),e.R7$(2),e.Y8G("ngIf","alphabet"===o.activeFilter),e.R7$(),e.Y8G("ngIf","dropdown"===o.activeFilter),e.R7$(),e.Y8G("ngIf","search"===o.activeFilter))},dependencies:[l.YU,l.Sq,l.bT,l.T3,g.qT,g.me,g.BC,g.cb,y.W,De.T,g.j4,g.JD,ne.vr,ne.bh,ne.Uq,ue,ae,xe,Kt,l.Jj,l.P9,ee.p,U.W,ve.b,St,Pt],styles:['.aim-adviser-search[_ngcontent-%COMP%]{margin:4rem 0 2.5rem}.aim-search-header[_ngcontent-%COMP%]{align-self:center}.aim-search-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .aim-search-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0}.aim-search-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] + p[_ngcontent-%COMP%]{margin-top:1rem}.profile[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.203125rem}.search-container.input-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%}.aim-adviser-search-results[_ngcontent-%COMP%]{padding-top:1rem;position:relative}.aim-search-download[_ngcontent-%COMP%]{align-self:flex-end}@media (max-width: 480px){.aim-search-download[_ngcontent-%COMP%]{margin-top:1rem}}.filters-container[_ngcontent-%COMP%] .whats-filter[_ngcontent-%COMP%]{border-bottom:0;padding-bottom:0;text-align:right}.filters-container[_ngcontent-%COMP%]:last-child{margin-bottom:0}.filters-container[_ngcontent-%COMP%] .filters-wrapper[_ngcontent-%COMP%]{display:none}.filters-container[_ngcontent-%COMP%] .filters-wrapper[_ngcontent-%COMP%] .alphabet[_ngcontent-%COMP%]{margin-bottom:1.5rem}.filters-container.active-accordion[_ngcontent-%COMP%] .filters-wrapper[_ngcontent-%COMP%]{display:block}.form-select[_ngcontent-%COMP%]{width:33%}.button-divider[_ngcontent-%COMP%]{margin-top:1rem;text-align:right}.button-divider[_ngcontent-%COMP%] .gold-button[_ngcontent-%COMP%]{margin-left:1rem}figure[_ngcontent-%COMP%]{border:.0625rem solid #fafafa;display:flex;height:3.25rem;line-height:3.25rem;margin:0;padding:.25rem;vertical-align:middle;width:5.5rem}.table-wrapper[_ngcontent-%COMP%]{margin-bottom:2.5rem}@media (max-width: 1023px){.table-wrapper[_ngcontent-%COMP%]{overflow-x:scroll}}th.code[_ngcontent-%COMP%], td.code[_ngcontent-%COMP%]{width:6rem}th.listingadmissiondate[_ngcontent-%COMP%], td.listingadmissiondate[_ngcontent-%COMP%]{width:10rem}th.marketcap[_ngcontent-%COMP%], td.marketcap[_ngcontent-%COMP%]{white-space:nowrap;width:8.25rem}tr[_ngcontent-%COMP%]{position:relative}@media (max-width: 768px){tr[_ngcontent-%COMP%]{padding-left:7.5rem}}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{width:7.5rem}@media (max-width: 768px){tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{z-index:1}}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{background:#fff}tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#fafafa}@media (max-width: 768px){.aim-search-list[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], .aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{padding-left:10rem}}.aim-search-list[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .aim-search-list[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child, .aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{width:10rem}@media (max-width: 768px){.aim-search-list[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .aim-search-list[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child, .aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{left:1rem;position:absolute;width:10rem;z-index:13}}.aim-search-list[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{z-index:12}.aim-search-list[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-bottom:.125rem solid #fafafa}@media (max-width: 768px){.aim-search-list[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .aim-search-list[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{left:10rem;position:relative;white-space:nowrap}}.aim-search-list[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] .contact[_ngcontent-%COMP%], .aim-search-results[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] .contact[_ngcontent-%COMP%]{min-width:8.5rem}@media (max-width: 768px){.aim-search-list[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] .contact[_ngcontent-%COMP%], .aim-search-results[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] .contact[_ngcontent-%COMP%]{width:auto}}.aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{line-height:1}@media (max-width: 768px){.aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{padding-left:6rem}}.aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{width:6rem}@media (max-width: 768px){.aim-search-list[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{align-items:center;display:flex}.aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{left:6rem}.aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child > *[_ngcontent-%COMP%], .aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child > *[_ngcontent-%COMP%]{margin:auto 0}.aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{display:table}.aim-search-results[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child > *[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}}th[_ngcontent-%COMP%] .dropdown.expanded[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{z-index:14}@media (max-width: 768px){th[_ngcontent-%COMP%] .dropdown.expanded[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{left:.0625rem;z-index:13}}@media (max-width: 768px){th[_ngcontent-%COMP%]:first-child .dropdown.expanded[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{left:-.8rem;top:.0625rem;z-index:11}}.search[_ngcontent-%COMP%] .search-filter[_ngcontent-%COMP%], .search[_ngcontent-%COMP%] .dropdown-filter[_ngcontent-%COMP%]{border-bottom:0}
1.alphabet-filters[_ngcontent-%COMP%]{display:none}.alphabet[_ngcontent-%COMP%]{padding-bottom:1.5rem;text-align:center}.alphabet[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}.alphabet[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin:auto;position:relative}.alphabet[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:before{content:none;display:none}.alphabet[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{background:url(assets/static/calendar_months_right_indicator.svg) center center no-repeat;background-size:.75rem .75rem;content:"";display:block;height:.75rem;position:absolute;right:-.75rem;top:.8rem;transform:rotate(90deg);transition:all .15s ease-in-out 0s;width:.75rem}.alphabet[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{color:#000}.alphabet[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{transform:rotate(-90deg)}.alphabet[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked ~ .alphabet-filters[_ngcontent-%COMP%]{display:block}.search-name-results[_ngcontent-%COMP%]{margin-bottom:2.5rem}.search-name-letter[_ngcontent-%COMP%]{padding-top:1rem;position:relative}.search-name-letter[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{align-items:center;background-color:#001eff;border-radius:50%;color:#fff;display:flex;font-size:1.75rem;height:5rem;justify-content:center;margin-bottom:2.5rem;margin-top:1rem;padding:1rem;width:5rem}.search-name-term[_ngcontent-%COMP%]{display:block;padding-bottom:1rem}.back-to-top[_ngcontent-%COMP%]{margin-top:1.5rem}.cta-document[_ngcontent-%COMP%]{background-position:center bottom}.no-results[_ngcontent-%COMP%]{margin:1.5rem 0}.ng-option[_ngcontent-%COMP%]{margin:0;padding-left:1.75rem!important;position:relative}.disabled[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}a[_ngcontent-%COMP%]{text-decoration:none}a[_ngcontent-%COMP%]:hover{text-decoration:underline}'],changeDetection:0})}}return n})();function zR(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.content.ftseHeroTitle.value)}}function HR(n,r){1&n&&e.eu8(0)}function WR(n,r){if(1&n&&(e.j41(0,"h1",9),e.DNE(1,zR,2,1,"ng-container",10)(2,HR,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(9);e.R7$(),e.Y8G("ngIf",!t.content.ftseHeroTitle.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.ftseHeroTitle)}}function JR(n,r){if(1&n&&(e.j41(0,"div",12),e.nrm(1,"app-share-buttons",13),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Aen("white"),e.Y8G("shareButton","Share this page")("companyName",t.content.ftseHeroTitle.value)}}function KR(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"metricsuffix"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Lme("",e.bMT(2,2,t.content.ftsePageviews.value)," ",t.content.ftsePageviews.label," ")}}function QR(n,r){1&n&&e.eu8(0)}function ZR(n,r){if(1&n&&(e.j41(0,"div",14),e.DNE(1,KR,3,4,"ng-container",10)(2,QR,1,0,"ng-container",11),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(9);e.R7$(),e.Y8G("ngIf",!t.content.ftsePageviews.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.ftsePageviews)}}function e7(n,r){if(1&n&&e.nrm(0,"app-hide-field",16),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function t7(n,r){1&n&&e.DNE(0,e7,1,1,"app-hide-field",15),2&n&&e.Y8G("ngIf",r.errorText)}let Go=(()=>{class n{constructor(t,i,o){this.dynamicBreadcrumb=t,this.pageTitleService=i,this.pageHeadersService=o}ngOnInit(){this.dynamicBreadcrumb.setBreadcrumbPageTitle(this.content.ftseHeroTitle.value,"ftse-index"),this.updatePageTitle(),this.updatePageDescription()}ngOnDestroy(){this.dynamicBreadcrumb.deleteBreadcrumbPageTitle()}bgImage(){if(this.content.ftseHeroImage.value)return{"background-image":`url(${this.content.ftseHeroImage.value})`}}updatePageTitle(){var t=this;return(0,_.A)(function*(){const i=t.content.ftseHeroTitle.value,o=yield t.pageTitleService.getCurrentPageTitle();t.pageTitleService.dispatchPageTitle(o&&o.title?i+" "+o.title:i)})()}updatePageDescription(){var t=this;return(0,_.A)(function*(){const i=t.content.ftseHeroTitle.value,o=yield t.pageHeadersService.getCurrentPageDescription();t.pageHeadersService.dispatchPageDescription(o&&o.description?i+" - "+o.description:i)})()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(V),e.rXU(pe.P),e.rXU(Ue.V))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-ftse-hero"]],inputs:{content:"content"},decls:10,vars:4,consts:[["emptyvalue",""],["id","ftse-hero",1,"ftse-hero-component","full-width","gtm-track-component"],[1,"cover-image",3,"ngStyle"],[1,"hero-cover","overlay"],[1,"wrapper","x-large-width","x-large-width-padding"],["class","ftse-hero-title font-bold hero-font",4,"ngIf"],["class","ftse-hero-share",4,"ngIf"],[1,"hero-footer"],["class","ftse-hero-views",4,"ngIf"],[1,"ftse-hero-title","font-bold","hero-font"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ftse-hero-share"],[3,"shareButton","companyName"],[1,"ftse-hero-views"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"section",1)(1,"div",2)(2,"div",3)(3,"div",4),e.DNE(4,WR,3,3,"h1",5)(5,JR,2,4,"div",6),e.j41(6,"div",7),e.DNE(7,ZR,3,3,"div",8),e.k0s()()()()(),e.DNE(8,t7,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.R7$(),e.Y8G("ngStyle",o.bgImage()),e.R7$(3),e.Y8G("ngIf",o.content.ftseHeroTitle.visibility),e.R7$(),e.Y8G("ngIf",o.content.ftseHeroTitle.value),e.R7$(2),e.Y8G("ngIf",o.content.ftsePageviews.visibility&&o.content.ftsePageviews.value))}
1,dependencies:[l.bT,l.T3,l.B3,y.W,Z,ce.w],styles:['.ftse-hero-title[_ngcontent-%COMP%]{color:#fff;margin:auto;margin-bottom:.5rem;max-width:58rem;overflow-wrap:break-word;text-align:center;word-break:break-word}.ftse-hero-share[_ngcontent-%COMP%]{padding-bottom:.25rem}.cover-image[_ngcontent-%COMP%]{background-color:#000}.hero-cover[_ngcontent-%COMP%]{min-height:12rem;overflow:hidden;padding:3.5rem 0 0;position:relative}.hero-footer[_ngcontent-%COMP%]{float:right;width:auto}@media (max-width: 768px){.hero-footer[_ngcontent-%COMP%]{float:none}}.ftse-hero-views[_ngcontent-%COMP%]{color:#fff}.ftse-hero-views[_ngcontent-%COMP%]:before{background-image:url(assets/static/page_views.svg);background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:3rem;margin-right:-.5em;transform:scale(.5) translate(-50%);vertical-align:middle;width:3rem}']})}}return n})();const So=n=>({children:n});function n7(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.sitemapLabel)}}function i7(n,r){if(1&n&&(e.j41(0,"a",10),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.Y8G("href",t.sitemapUri,e.B4B),e.R7$(),e.JRh(t.sitemapLabel)}}function o7(n,r){if(1&n&&(e.j41(0,"h4",7),e.DNE(1,n7,2,1,"ng-container",8)(2,i7,2,2,"a",9),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",!t.sitemapUri),e.R7$(),e.Y8G("ngIf",t.sitemapUri)}}function r7(n,r){1&n&&e.eu8(0)}function a7(n,r){if(1&n&&(e.j41(0,"li")(1,"a",12),e.EFF(2),e.k0s(),e.DNE(3,r7,1,0,"ng-container",13),e.k0s()),2&n){const t=r.$implicit;e.XpG(4);const i=e.sdS(3);e.R7$(),e.Y8G("href",t.sitemapUri,e.B4B),e.R7$(),e.JRh(t.sitemapLabel),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(4,So,t.sitemapChildren))}}function s7(n,r){if(1&n&&(e.j41(0,"ul",11),e.DNE(1,a7,4,6,"li",4),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.sitemapChildren)}}function l7(n,r){if(1&n&&(e.j41(0,"li"),e.DNE(1,o7,3,2,"h4",5)(2,s7,2,1,"ul",6),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.sitemapLabel&&"My account"!=t.sitemapLabel),e.R7$(),e.Y8G("ngIf",t.sitemapChildren&&t.sitemapChildren.length)}}function c7(n,r){if(1&n&&(e.j41(0,"ul",3),e.DNE(1,l7,3,2,"li",4),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.content.sitemapLinks.value)}}function p7(n,r){1&n&&e.eu8(0)}function m7(n,r){if(1&n&&(e.j41(0,"li")(1,"a",12),e.EFF(2),e.k0s(),e.DNE(3,p7,1,0,"ng-container",13),e.k0s()),2&n){const t=r.$implicit;e.XpG(3);const i=e.sdS(3);e.R7$(),e.Y8G("href",t.sitemapUri,e.B4B),e.R7$(),e.JRh(t.sitemapLabel),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(4,So,t.sitemapChildren))}}function _7(n,r){if(1&n&&(e.j41(0,"ul",15),e.DNE(1,m7,4,6,"li",4),e.k0s()),2&n){const t=e.XpG().children;e.R7$(),e.Y8G("ngForOf",t)}}function d7(n,r){if(1&n&&e.DNE(0,_7,2,1,"ul",14),2&n){const t=r.children;e.Y8G("ngIf",t&&t.length)}}let $o=(()=>{class n{constructor(){}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-sitemap-links"]],inputs:{content:"content"},decls:4,vars:3,consts:[["Sublist",""],["id","sitemap-links",1,"sitemap-links","component","wrapper","x-large-width","x-large-width-padding","gtm-track-component"],["class","regular-font-size",4,"ngIf"],[1,"regular-font-size"],[4,"ngFor","ngForOf"],["class","regular-font-size blue-text bold-font-weight",4,"ngIf"],["class","sitemap-list",4,"ngIf"],[1,"regular-font-size","blue-text","bold-font-weight"],[4,"ngIf"],["class","blue-link","target","_blank",3,"href",4,"ngIf"],["target","_blank",1,"blue-link",3,"href"],[1,"sitemap-list"],["target","_blank",1,"black-link",3,"href"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","sitemap-list sitemap-sublist",4,"ngIf"],[1,"sitemap-list","sitemap-sublist"]],template:function(i,o){1&i&&(e.j41(0,"section",1),e.DNE(1,c7,2,1,"ul",2),e.k0s(),e.DNE(2,d7,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.AVh("m-64","1"===(null==o.content.uxPadding?null:o.content.uxPadding.value)),e.R7$(),e.Y8G("ngIf",o.content.sitemapLinks.value&&o.content.sitemapLinks.value.length))},dependencies:[l.Sq,l.bT,l.T3],styles:['@charset "UTF-8";.sitemap-links[_ngcontent-%COMP%]{column-count:2;margin-bottom:2rem;margin-top:-2.5rem}@media (max-width: 768px){.sitemap-links[_ngcontent-%COMP%]{column-count:1;margin-bottom:5rem}}.sitemap-links[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding-left:0}.sitemap-links[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{break-inside:avoid;page-break-inside:avoid}
1.sitemap-links[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0;padding-top:2.5rem}.sitemap-links[_ngcontent-%COMP%] ul.sitemap-list[_ngcontent-%COMP%]{padding-left:2.5rem;padding-top:1rem}.sitemap-links[_ngcontent-%COMP%] ul.sitemap-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{line-height:1.3125rem;padding-bottom:1.5rem;position:relative}.sitemap-links[_ngcontent-%COMP%] ul.sitemap-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{padding-bottom:0}.sitemap-links[_ngcontent-%COMP%] ul.sitemap-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{color:#001eff;content:"\\2022";display:inline;font-size:1.75rem;font-weight:900;left:-.6em;line-height:1.3125rem;position:relative;top:.2rem}.sitemap-links[_ngcontent-%COMP%] ul.sitemap-list.sitemap-sublist[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{display:none}']})}}return n})();var u7=p(1807),g7=p(98071),h7=p(6450);function Eo(n,r,t){return t?Eo(n,r).pipe((0,h7.I)(t)):new Be.c(i=>{const o=(...s)=>i.next(1===s.length?s[0]:s),a=n(o);return(0,g7.T)(r)?()=>r(o,a):void 0})}var f7=p(57786),v7=p(86129);class Do extends re.B{constructor(r=1/0,t=1/0,i=v7.U){super(),this._bufferSize=r,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,r),this._windowTime=Math.max(1,t)}next(r){const{isStopped:t,_buffer:i,_infiniteTimeWindow:o,_timestampProvider:a,_windowTime:s}=this;t||(i.push(r),!o&&i.push(a.now()+s)),this._trimBuffer(),super.next(r)}_subscribe(r){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(r),{_infiniteTimeWindow:i,_buffer:o}=this,a=o.slice();for(let s=0;s<a.length&&!r.closed;s+=i?1:2)r.next(a[s]);return this._checkFinalizedStatuses(r),t}_trimBuffer(){const{_bufferSize:r,_timestampProvider:t,_buffer:i,_infiniteTimeWindow:o}=this,a=(o?1:2)*r;if(r<1/0&&a<i.length&&i.splice(0,i.length-a),!o){const s=t.now();let c=0;for(let d=1;d<i.length&&i[d]<=s;d+=2)c=d;c&&i.splice(0,c+1)}}}const C7=p(31397).Z;var jn=p(58750),jo=p(39974),T7=p(85343),No=p(54360),Yo=p(47707);function Nn(n,r,...t){if(!0===r)return void n();if(!1===r)return;const i=new Yo.Ms({next:()=>{i.unsubscribe(),n()}});return(0,jn.Tg)(r(...t)).subscribe(i)}var Xo=p(99172),w7=p(65245);const Bo=["*"];let Qt=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})(),qe=(()=>{class n{_loader;_zone;_map;_mapResolver;constructor(t,i){this._loader=t,this._zone=i,this._map=new Promise(o=>{this._mapResolver=o})}createMap(t,i){return this._zone.runOutsideAngular(()=>this._loader.load().then(()=>{const o=new google.maps.Map(t,i);this._mapResolver(o)}))}setMapOptions(t){return this._zone.runOutsideAngular(()=>{this._map.then(i=>{i.setOptions(t)})})}createMarker(t={},i=!0){return this._zone.runOutsideAngular(()=>this._map.then(o=>(i&&(t.map=o),new google.maps.Marker(t))))}createInfoWindow(t){return this._zone.runOutsideAngular(()=>this._map.then(()=>new google.maps.InfoWindow(t)))}createCircle(t){return this._zone.runOutsideAngular(()=>this._map.then(i=>(t.map=i,new google.maps.Circle(t))))}createRectangle(t){return this._zone.runOutsideAngular(()=>this._map.then(i=>(t.map=i,new google.maps.Rectangle(t))))}createPolyline(t){return this._zone.runOutsideAngular(()=>this.getNativeMap().then(i=>{const o=new google.maps.Polyline(t);return o.setMap(i),o}))}createPolygon(t){return this._zone.runOutsideAngular(()=>this.getNativeMap().then(i=>{const o=new google.maps.Polygon(t);return o.setMap(i),o}))}createDataLayer(t){return this._zone.runOutsideAngular(()=>this._map.then(i=>{const o=new google.maps.Data(t);return o.setMap(i),o}))}createTransitLayer(){return this._zone.runOutsideAngular(()=>this._map.then(t=>{const i=new google.maps.TransitLayer;return i.setMap(t),i}))}createBicyclingLayer(){return this._zone.runOutsideAngular(()=>this._map.then(t=>{const i=new google.maps.BicyclingLayer;return i.setMap(t),i}))}containsLocation(t,i){return this._map.then(()=>google.maps.geometry.poly.containsLocation(t,i))}subscribeToMapEvent(t){return new Be.c(i=>{this._map.then(o=>o.addListener(t,(...a)=>this._zone.run(()=>i.next(a))))})}clearInstanceListeners(){return this._zone.runOutsideAngular(()=>{this._map.then(t=>{google.maps.event.clearInstanceListeners(t)})})}setCenter(t){return this._zone.runOutsideAngular(()=>this._map.then(i=>i.setCenter(t)))}getZoom(){return this._zone.runOutsideAngular(()=>this._map.then(t=>t.getZoom()))}getBounds(){return this._zone.runOutsideAngular(()=>this._map.then(t=>t.getBounds()))}getMapTypeId(){return this._zone.runOutsideAngular(()=>this._map.then(t=>t.getMapTypeId()))}setZoom(t){return this._zone.runOutsideAngular(()=>this._map.then(i=>i.setZoom(t)))}getCenter(){return this._zone.runOutsideAngular(()=>this._map.then(t=>t.getCenter()))}panTo(t){return this._zone.runOutsideAngular(()=>this._map.then(i=>i.panTo(t)))}panBy(t,i){return this._zone.runOutsideAngular(()=>this._map.then(o=>o.panBy(t,i)))}fitBounds(t,i){return this._zone.runOutsideAngular(()=>this._map.then(o=>o.fitBounds(t,i)))}panToBounds(t,i){return this._zone.runOutsideAngular(()=>this._map.then(o=>o.panToBounds(t,i)))}getNativeMap(){return this._map}triggerMapEvent(t){return this._map.then(i=>google.maps.event.trigger(i,t))}static \u0275fac=function(i){return new(i||n)(e.KVO(Qt),e.KVO(e.SKi))};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})(),I7=(()=>{class n{_apiWrapper;_zone;_circles=new Map;constructor(t,i){this._apiWrapper=t,this._zone=i}addCircle(t){this._circles.set(t,this._apiWrapper.getNativeMap().then(()=>this._apiWrapper.createCircle({center:{lat:t.latitude,lng:t.longitude},clickable:t.clickable,draggable:t.draggable,editable:t.editable,fillColor:t.fillColor,fillOpacity:t.fillOpacity,radius:t.radius,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokePosition:google.maps.StrokePosition[t.strokePosition],strokeWeight:t.strokeWeight,visible:t.visible,zIndex:t.zIndex})))}removeCircle(t){return this._circles.get(t).then(i=>{i.setMap(null),this._circles.delete(t)})}setOptions(t,i){var o=this;return(0,_.A)(function*(){return o._circles.get(t).then(a=>{i.strokePosition=google.maps.StrokePosition[i.strokePosition],a.setOptions(i)})})()}getBounds(t){return this._circles.get(t).then(i=>i.getBounds())}getCenter(t){return this._circles.get(t).then(i=>i.getCenter())}getRadius(t){return this._circles.get(t).then(i=>i.getRadius())}setCenter(t){return this._circles.get(t).then(i=>i.setCenter({lat:t.latitude,lng:t.longitude}))}setEditable(t){return this._circles.get(t).then(i=>i.setEditable(t.editable))}setDraggable(t){return this._circles.get(t).then(i=>i.setDraggable(t.draggable))}setVisible(t){return this._circles.get(t).then(i=>i.setVisible(t.visible))}setRadius(t){return this._circles.get(t).then(i=>i.setRadius(t.radius))}getNativeCircle(t){return this._circles.get(t)}createEventObservable(t,i){return new Be.c(o=>{let a=null;return this._circles.get(i).then(s=>{a=s.addListener(t,c=>this._zone.run(()=>o.next(c)))}),()=>{null!==a&&a.remove()}})}static \u0275fac=function(i){return new(i||n)(e.KVO(qe),e.KVO(e.SKi))};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})(),Yn=(()=>{class n{_wrapper;_zone;_layers=new Map;constructor(t,i){this._wrapper=t,this._zone=i}addDataLayer(t){const i=this._wrapper.createDataLayer({style:t.style}).then(o=>(t.geoJson&&this.getDataFeatures(o,t.geoJson).then(a=>o.features=a),o));this._layers.set(t,i)}deleteDataLayer(t){this._layers.get(t).then(i=>{i.setMap(null),this._layers.delete(t)})}updateGeoJson(t,i){this._layers.get(t).then(o=>{o.forEach(a=>{o.remove(a);const s=o.features.indexOf(a,0);s>-1&&o.features.splice(s,1)}),this.getDataFeatures(o,i).then(a=>o.features=a)})}setDataOptions(t,i){this._layers.get(t).then(o=>{o.setControlPosition(i.controlPosition),o.setControls(i.controls),o.setDrawingMode(i.drawingMode),o.setStyle(i.style)})}createEventObservable(t,i){return new Be.c(o=>{this._layers.get(i).then(a=>{a.addListener(t,s=>this._zone.run(()=>o.next(s)))})})}getDataFeatures(t,i){return new Promise((o,a)=>
1{if("object"==typeof i)try{o(t.addGeoJson(i))}catch(s){a(s)}else"string"==typeof i?t.loadGeoJson(i,null,o):a("Impossible to extract features from geoJson: wrong argument type")})}static \u0275fac=function(i){return new(i||n)(e.KVO(qe),e.KVO(e.SKi))};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})();class M7{}let Vo=(()=>{class n{bounds$;_boundsChangeSampleTime$=new Oe.t(200);_includeInBounds$=new Oe.t(new Map);constructor(t){this.bounds$=(0,Sn.H)(t.load()).pipe(C7(()=>this._includeInBounds$),function x7(n){return(0,jo.N)((r,t)=>{let i=!1,o=null;r.subscribe((0,No._)(t,a=>{i=!0,o=a})),(0,jn.Tg)(n).subscribe((0,No._)(t,()=>{if(i){i=!1;const a=o;o=null,t.next(a)}},T7.l))})}(this._boundsChangeSampleTime$.pipe((0,Mt.n)(i=>(0,u7.O)(0,i)))),(0,A.T)(i=>this._generateBounds(i)),function y7(n,r,t){let i,o=!1;return n&&"object"==typeof n?({bufferSize:i=1/0,windowTime:r=1/0,refCount:o=!1,scheduler:t}=n):i=n??1/0,function k7(n={}){const{connector:r=()=>new re.B,resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=n;return a=>{let s,c,d,C=0,T=!1,I=!1;const N=()=>{c?.unsubscribe(),c=void 0},z=()=>{N(),s=d=void 0,T=I=!1},me=()=>{const _e=s;z(),_e?.unsubscribe()};return(0,jo.N)((_e,ke)=>{C++,!I&&!T&&N();const Xe=d=d??r();ke.add(()=>{C--,0===C&&!I&&!T&&(c=Nn(me,o))}),Xe.subscribe(ke),!s&&C>0&&(s=new Yo.Ms({next:we=>Xe.next(we),error:we=>{I=!0,N(),c=Nn(z,t,we),Xe.error(we)},complete:()=>{T=!0,N(),c=Nn(z,i),Xe.complete()}}),(0,jn.Tg)(_e).subscribe(s))})(a)}}({connector:()=>new Do(i,r,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}(1))}_generateBounds(t){const i=new google.maps.LatLngBounds;return t.forEach(o=>i.extend(o)),i}addToBounds(t){const i=this._createIdentifier(t);if(this._includeInBounds$.value.has(i))return;const o=this._includeInBounds$.value;o.set(i,t),this._includeInBounds$.next(o)}removeFromBounds(t){const i=this._includeInBounds$.value;i.delete(this._createIdentifier(t)),this._includeInBounds$.next(i)}changeFitBoundsChangeSampleTime(t){this._boundsChangeSampleTime$.next(t)}getBounds$(){return this.bounds$}_createIdentifier(t){return`${t.lat}+${t.lng}`}static \u0275fac=function(i){return new(i||n)(e.KVO(Qt))};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})();class Lo{getNativeWindow(){return window}}class Ao{getNativeDocument(){return document}}const O7=[Lo,Ao];var $t=function(n){return n[n.HTTP=1]="HTTP",n[n.HTTPS=2]="HTTPS",n[n.AUTO=3]="AUTO",n}($t||{});const qo=new e.nKC("angular-google-maps LAZY_MAPS_API_CONFIG");let R7=(()=>{class n extends Qt{localeId;_scriptLoadingPromise;_config;_windowRef;_documentRef;_SCRIPT_ID="agmGoogleMapsApiScript";callbackName="agmLazyMapsAPILoader";constructor(t=null,i,o,a){super(),this.localeId=a,this._config=t||{},this._windowRef=i,this._documentRef=o}load(){const t=this._windowRef.getNativeWindow();if(t.google&&t.google.maps)return Promise.resolve();if(this._scriptLoadingPromise)return this._scriptLoadingPromise;const i=this._documentRef.getNativeDocument().getElementById(this._SCRIPT_ID);if(i)return this._assignScriptLoadingPromise(i),this._scriptLoadingPromise;const o=this._documentRef.getNativeDocument().createElement("script");return o.type="text/javascript",o.async=!0,o.defer=!0,o.id=this._SCRIPT_ID,o.src=this._getScriptSrc(this.callbackName),this._assignScriptLoadingPromise(o),this._documentRef.getNativeDocument().body.appendChild(o),this._scriptLoadingPromise}_assignScriptLoadingPromise(t){this._scriptLoadingPromise=new Promise((i,o)=>{this._windowRef.getNativeWindow()[this.callbackName]=()=>{i()},t.onerror=a=>{o(a)}})}_getScriptSrc(t){let o;switch(this._config&&this._config.protocol||$t.HTTPS){case $t.AUTO:o="";break;case $t.HTTP:o="http:";break;case $t.HTTPS:o="https:"}const s={v:this._config.apiVersion||"quarterly",callback:t,key:this._config.apiKey,client:this._config.clientId,channel:this._config.channel,libraries:this._config.libraries,region:this._config.region,language:this._config.language||("en-US"!==this.localeId?this.localeId:null)};return`${o}//${this._config.hostAndPath||"maps.googleapis.com/maps/api/js"}?${Object.keys(s).filter(d=>null!=s[d]).filter(d=>!Array.isArray(s[d])||Array.isArray(s[d])&&s[d].length>0).map(d=>{const C=s[d];return Array.isArray(C)?{key:d,value:C.join(",")}:{key:d,value:s[d]}}).map(d=>`${d.key}=${d.value}`).join("&")}`}static \u0275fac=function(i){return new(i||n)(e.KVO(qo,8),e.KVO(Lo),e.KVO(Ao),e.KVO(e.xe9))};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})(),Xn=(()=>{class n{_mapsWrapper;_zone;_markers=new Map;constructor(t,i){this._mapsWrapper=t,this._zone=i}convertAnimation(t){var i=this;return(0,_.A)(function*(){return null===t?null:i._mapsWrapper.getNativeMap().then(()=>google.maps.Animation[t])})()}deleteMarker(t){const i=this._markers.get(t);return null==i?Promise.resolve():i.then(o=>this._zone.run(()=>{o.setMap(null),this._markers.delete(t)}))}updateMarkerPosition(t){return this._markers.get(t).then(i=>i.setPosition({lat:t.latitude,lng:t.longitude}))}updateTitle(t){return this._markers.get(t).then(i=>i.setTitle(t.title))}updateLabel(t){return this._markers.get(t).then(i=>{i.setLabel(t.label)})}updateDraggable(t){return this._markers.get(t).then(i=>i.setDraggable(t.draggable))}updateIcon(t){return this._markers.get(t).then(i=>i.setIcon(t.iconUrl))}updateOpacity(t){return this._markers.get(t).then(i=>i.setOpacity(t.opacity))}updateVisible(t){return this._markers.get(t).then(i=>i.setVisible(t.visible))}updateZIndex(t){return this._markers.get(t).then(i=>i.setZIndex(t.zIndex))}updateClickable(t){return this._markers.get(t).then(i=>i.setClickable(t.clickable))}updateAnimation(t){var i=this;return(0,_.A)(function*(){(yield i._markers.get(t)).setAnimation(yield i.convertAnimation(t.animation))})()}addMarker(t){var i=this;const o=new Promise(function(){var a=(0,_.A)(function*(s){return i._mapsWrapper.createMarker({position:{lat:t.latitude,lng:t.longitude},label:t.label,draggable:t.draggable,icon:t.iconUrl,opacity:t.opacity,visible:t.visible,zIndex:t.zIndex,title:t.title,clickable:t.clickable,animation:yield i.convertAnimation(t.animation)}).then(s)});return function(s){return a.apply(this,arguments)}}());this._markers.set(t,o)}getNativeMarker(t){return this._markers.get(t)}createEventObservable(t,i){return new Be.c(o=>{this._markers.get(i).then(a=>a.addListener(t,s=>this._zone.run(()=>o.next(s))))})}static \u0275fac=function(i){return new(i||n)(e.KVO(qe),e.KVO(e.SKi))};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})(),Uo=(()=>{class n{_mapsWrapper;_zone;_markerManager;_infoWindows=new Map;constructor(t,i,o){this._mapsWrapper=t,this._zone=i,this._markerManager=o}deleteInfoWindow(t){const i=this._infoWindows.get(t);return null==i?Promise.resolve():i.then(o=>this._zone.run(()=>{o.close(),this._infoWindows.delete(t)}))}setPosition(t){return this._infoWindows.get(t).then(i=>i.setPosition({lat:t.latitude,lng:t.longitude}))}setZIndex(t){return this._infoWindows.get(t).then(i=>i.setZIndex(t.zIndex))}open(t){return this._infoWindows.get(t).then(i=>null!=t.hostMarker?this._markerManager.getNativeMarker(t.hostMarker).then(o=>this._mapsWrapper.getNativeMap().then(a=>i.open(a,o))):this._mapsWrapper.getNativeMap().then(o=>i.open(o)))}close(t){return this._infoWindows.get(t).then(i=>i.close())}setOptions(t,i){return this._infoWindows.get(t).then(o=>o.setOptions(i))}addInfoWindow(t){const i={content:t.content,maxWidth:t.maxWidth,zIndex:t.zIndex,disableAutoPan:t.disableAutoPan};"number"==typeof t.latitude&&"number"==typeof t.longitude&&(i.position={lat:t.latitude,lng:t.longitude});const o=this._mapsWrapper.createInfoWindow(i);this._infoWindows.set(t,o)}createEventObservable(t,i){return new Be.c(o=>{this._infoWindows.get(i).then(a=>{a.addListener(t,s=>this._zone.run(()=>o.next(s)))})})}static \u0275fac=function(i){return new(i||n)(e.KVO(qe),e.KVO(e.SKi),e.KVO(Xn))};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})(),F7=(()=>{class n{_wrapper;_zone;_layers=new Map;constructor(t,i){this._wrapper=t,this._zone=i}addKmlLayer(t){const i=this._wrapper.getNativeMap().then(o=>new google.maps.KmlLayer({clickable:t.clickable,map:o,preserveViewport:t.preserveViewport,screenOverlays:t.screenOverlays,suppressInfoWindows:t.suppressInfoWindows,url:t.url,zIndex:t.zIndex}));this._layers.set(t,i)}setOptions(t,i){this._layers.get(t).then(o=>o.setOptions(i))}deleteKmlLayer(t){this._layers.get(t).then(i=>{i.setMap(null),this._layers.delete(t)})}createEventObservable(t,i){return new Be.c(o=>{this._layers.get(i).then(a=>{a.addListener(t,s=>this._zone.run(()=>o.next(s)))})})}static \u0275fac=function(i){return new(i||n)(e.KVO(qe),e.KVO(e.SKi))};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})(),P7=(()=>{class n{_wrapper;_layers=new Map;constructor(t){this._wrapper=t}addTransitLayer(t){const i=this._wrapper.createTransitLayer();this._layers.set(t,i)}addBicyclingLayer(t){const i=this._wrapper.createBicyclingLayer();this._layers.set(t,i)}deleteLayer(t){return this._layers.get(t).then(i=>{i.setMap(null),this._layers.delete(t)})}static \u0275fac=function(i){return new(i||n)(e.KVO(qe))};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})();function Bn(n){const r=["insert_at","remove_at","set_at"];return Eo(t=>r.map(i=>n.addListener(i,(o,a)=>t.apply(n,[{newArr:n.getArray(),eventName:i,index:o,previous:a}]))),(t,i)=>i.forEach(o=>o.remove()))}let G7=(()=>{class n{_mapsWrapper;_zone;_polygons=new Map;constructor(t,i){this._mapsWrapper=t,this._zone=i}addPolygon(t){const i=this._mapsWrapper.createPolygon({clickable:t.clickable,draggable:t.draggable,editable:t.editable,fillColor:t.fillColor,fillOpacity:t.fillOpacity,geodesic:t.geodesic,paths:t.paths,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight,visible:t.visible,zIndex:t.zIndex});this._polygons.set(t,i)}updatePolygon(t){const i=this._polygons.get(t);return null==i?Promise.resolve():i.then(o=>this._zone.run(()=>{o.setPaths(t.paths)}))}setPolygonOptions(t,i){return this._polygons.get(t).then(o=>{o.setOptions(i)})}deletePolygon(t){const i=this._polygons.get(t);return null==i?Promise.resolve():i.then(o=>this._zone.run(()=>{o.setMap(null),this._polygons.delete(t)}))}getPath(t){return this._polygons.get(t).then(i=>i.getPath().getArray())}getPaths(t){return this._polygons.get(t).then(i=>i.getPaths().getArray().map(o=>o.getArray()))}createEventObservable(t,i){return new Be.c(o=>{this._polygons.get(i).then(a=>{a.addListener(t,s=>this._zone.run(()=>o.next(s)))})})}createPathEventObservable(t){var i=this;
1return(0,_.A)(function*(){const a=(yield i._polygons.get(t)).getPaths();return Bn(a).pipe((0,Xo.Z)({newArr:a.getArray()}),(0,Mt.n)(c=>(0,f7.h)(...c.newArr.map((d,C)=>Bn(d).pipe((0,A.T)(T=>({parentMVEvent:c,chMVCEvent:T,pathIndex:C}))))).pipe((0,Xo.Z)({parentMVEvent:c,chMVCEvent:null,pathIndex:null}))),(0,w7.i)(1),(0,A.T)(({parentMVEvent:c,chMVCEvent:d,pathIndex:C})=>{let T;return d?(T={newArr:c.newArr.map(I=>I.getArray().map(N=>N.toJSON())),pathIndex:C,eventName:d.eventName,index:d.index},d.previous&&(T.previous=d.previous)):(T={newArr:c.newArr.map(I=>I.getArray().map(N=>N.toJSON())),eventName:c.eventName,index:c.index},c.previous&&(T.previous=c.previous.getArray())),T}))})()}static \u0275fac=function(i){return new(i||n)(e.KVO(qe),e.KVO(e.SKi))};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})(),S7=(()=>{class n{_mapsWrapper;_zone;_polylines=new Map;constructor(t,i){this._mapsWrapper=t,this._zone=i}static _convertPoints(t){return t._getPoints().map(o=>({lat:o.latitude,lng:o.longitude}))}static _convertPath(t){const i=google.maps.SymbolPath[t];return"number"==typeof i?i:t}static _convertIcons(t){const i=t._getIcons().map(o=>({fixedRotation:o.fixedRotation,offset:o.offset,repeat:o.repeat,icon:{anchor:new google.maps.Point(o.anchorX,o.anchorY),fillColor:o.fillColor,fillOpacity:o.fillOpacity,path:n._convertPath(o.path),rotation:o.rotation,scale:o.scale,strokeColor:o.strokeColor,strokeOpacity:o.strokeOpacity,strokeWeight:o.strokeWeight}}));return i.forEach(o=>{Object.entries(o).forEach(([a,s])=>{typeof s>"u"&&delete o[a]}),(typeof o.icon.anchor.x>"u"||typeof o.icon.anchor.y>"u")&&delete o.icon.anchor}),i}addPolyline(t){const i=this._mapsWrapper.getNativeMap().then(()=>[n._convertPoints(t),n._convertIcons(t)]).then(([o,a])=>this._mapsWrapper.createPolyline({clickable:t.clickable,draggable:t.draggable,editable:t.editable,geodesic:t.geodesic,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight,visible:t.visible,zIndex:t.zIndex,path:o,icons:a}));this._polylines.set(t,i)}updatePolylinePoints(t){const i=n._convertPoints(t),o=this._polylines.get(t);return null==o?Promise.resolve():o.then(a=>this._zone.run(()=>a.setPath(i)))}updateIconSequences(t){var i=this;return(0,_.A)(function*(){yield i._mapsWrapper.getNativeMap();const o=n._convertIcons(t),a=i._polylines.get(t);if(null!=a)return a.then(s=>i._zone.run(()=>s.setOptions({icons:o})))})()}setPolylineOptions(t,i){return this._polylines.get(t).then(o=>{o.setOptions(i)})}deletePolyline(t){const i=this._polylines.get(t);return null==i?Promise.resolve():i.then(o=>this._zone.run(()=>{o.setMap(null),this._polylines.delete(t)}))}getMVCPath(t){var i=this;return(0,_.A)(function*(){return(yield i._polylines.get(t)).getPath()})()}getPath(t){var i=this;return(0,_.A)(function*(){return(yield i.getMVCPath(t)).getArray()})()}createEventObservable(t,i){return new Be.c(o=>{this._polylines.get(i).then(a=>{a.addListener(t,s=>this._zone.run(()=>o.next(s)))})})}createPathEventObservable(t){var i=this;return(0,_.A)(function*(){return Bn(yield i.getMVCPath(t))})()}static \u0275fac=function(i){return new(i||n)(e.KVO(qe),e.KVO(e.SKi))};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})(),$7=(()=>{class n{_apiWrapper;_zone;_rectangles=new Map;constructor(t,i){this._apiWrapper=t,this._zone=i}addRectangle(t){this._rectangles.set(t,this._apiWrapper.getNativeMap().then(()=>this._apiWrapper.createRectangle({bounds:{north:t.north,east:t.east,south:t.south,west:t.west},clickable:t.clickable,draggable:t.draggable,editable:t.editable,fillColor:t.fillColor,fillOpacity:t.fillOpacity,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokePosition:google.maps.StrokePosition[t.strokePosition],strokeWeight:t.strokeWeight,visible:t.visible,zIndex:t.zIndex})))}removeRectangle(t){return this._rectangles.get(t).then(i=>{i.setMap(null),this._rectangles.delete(t)})}setOptions(t,i){return this._rectangles.get(t).then(o=>{i.strokePosition=google.maps.StrokePosition[i.strokePosition],o.setOptions(i)})}getBounds(t){return this._rectangles.get(t).then(i=>i.getBounds())}setBounds(t){return this._rectangles.get(t).then(i=>i.setBounds({north:t.north,east:t.east,south:t.south,west:t.west}))}setEditable(t){return this._rectangles.get(t).then(i=>i.setEditable(t.editable))}setDraggable(t){return this._rectangles.get(t).then(i=>i.setDraggable(t.draggable))}setVisible(t){return this._rectangles.get(t).then(i=>i.setVisible(t.visible))}createEventObservable(t,i){return new Be.c(o=>{let a=null;return this._rectangles.get(i).then(s=>{a=s.addListener(t,c=>this._zone.run(()=>o.next(c)))}),()=>{null!==a&&a.remove()}})}static \u0275fac=function(i){return new(i||n)(e.KVO(qe),e.KVO(e.SKi))};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})(),j7=0,zo=(()=>{class n{_manager;static _dataOptionsAttributes=["style"];_addedToManager=!1;_id=(j7++).toString();_subscriptions=[];layerClick=new e.bkB;geoJson=null;style;constructor(t){this._manager=t}ngOnInit(){this._addedToManager||(this._manager.addDataLayer(this),this._addedToManager=!0,this._addEventListeners())}_addEventListeners(){[{name:"click",handler:i=>this.layerClick.emit(i)}
1].forEach(i=>{const o=this._manager.createEventObservable(i.name,this).subscribe(i.handler);this._subscriptions.push(o)})}id(){return this._id}toString(){return`AgmDataLayer-${this._id.toString()}`}ngOnDestroy(){this._manager.deleteDataLayer(this),this._subscriptions.forEach(t=>t.unsubscribe())}ngOnChanges(t){if(!this._addedToManager)return;const i=t.geoJson;i&&this._manager.updateGeoJson(this,i.currentValue);let o={};n._dataOptionsAttributes.forEach(a=>o[a]=t.hasOwnProperty(a)?t[a].currentValue:this[a]),this._manager.setDataOptions(this,o)}static \u0275fac=function(i){return new(i||n)(e.rXU(Yn))};static \u0275dir=e.FsC({type:n,selectors:[["agm-data-layer"]],inputs:{geoJson:"geoJson",style:"style"},outputs:{layerClick:"layerClick"},features:[e.OA$]})}return n})(),Y7=0,Vn=(()=>{class n{_infoWindowManager;_el;latitude;longitude;disableAutoPan;zIndex;maxWidth;hostMarker;content;isOpen=!1;infoWindowClose=new e.bkB;static _infoWindowOptionsInputs=["disableAutoPan","maxWidth"];_infoWindowAddedToManager=!1;_id=(Y7++).toString();constructor(t,i){this._infoWindowManager=t,this._el=i}ngOnInit(){this.content=this._el.nativeElement.querySelector(".agm-info-window-content"),this._infoWindowManager.addInfoWindow(this),this._infoWindowAddedToManager=!0,this._updateOpenState(),this._registerEventListeners()}ngOnChanges(t){this._infoWindowAddedToManager&&((t.latitude||t.longitude)&&"number"==typeof this.latitude&&"number"==typeof this.longitude&&this._infoWindowManager.setPosition(this),t.zIndex&&this._infoWindowManager.setZIndex(this),t.isOpen&&this._updateOpenState(),this._setInfoWindowOptions(t))}_registerEventListeners(){this._infoWindowManager.createEventObservable("closeclick",this).subscribe(()=>{this.isOpen=!1,this.infoWindowClose.emit()})}_updateOpenState(){this.isOpen?this.open():this.close()}_setInfoWindowOptions(t){const i={};Object.keys(t).filter(a=>-1!==n._infoWindowOptionsInputs.indexOf(a)).forEach(a=>{i[a]=t[a].currentValue}),this._infoWindowManager.setOptions(this,i)}open(){return this._infoWindowManager.open(this)}close(){return this._infoWindowManager.close(this).then(()=>{this.infoWindowClose.emit()})}id(){return this._id}toString(){return"AgmInfoWindow-"+this._id.toString()}ngOnDestroy(){this._infoWindowManager.deleteInfoWindow(this)}static \u0275fac=function(i){return new(i||n)(e.rXU(Uo),e.rXU(e.aKT))};static \u0275cmp=e.VBU({type:n,selectors:[["agm-info-window"]],inputs:{latitude:"latitude",longitude:"longitude",disableAutoPan:"disableAutoPan",zIndex:"zIndex",maxWidth:"maxWidth",isOpen:"isOpen"},outputs:{infoWindowClose:"infoWindowClose"},features:[e.OA$],ngContentSelectors:Bo,decls:2,vars:0,consts:[[1,"agm-info-window-content"]],template:function(i,o){1&i&&(e.NAR(),e.j41(0,"div",0),e.SdG(1),e.k0s())},encapsulation:2})}return n})(),B7=(()=>{class n{position;static \u0275fac=function(i){return new(i||n)};static \u0275dir=e.FsC({type:n,inputs:{position:"position"}})}return n})(),Zt=(()=>{class n{_elem;_mapsWrapper;_platformId;_fitBoundsService;_zone;longitude=0;latitude=0;zoom=8;minZoom;maxZoom;controlSize;draggable=!0;disableDoubleClickZoom=!1;disableDefaultUI=!1;scrollwheel=!0;backgroundColor;draggableCursor;draggingCursor;keyboardShortcuts=!0;styles=[];usePanning=!1;fitBounds=!1;fitBoundsPadding;mapTypeId="ROADMAP";clickableIcons=!0;showDefaultInfoWindow=!0;gestureHandling="auto";tilt=0;restriction;static _mapOptionsAttributes=["disableDoubleClickZoom","scrollwheel","draggable","draggableCursor","draggingCursor","keyboardShortcuts","styles","zoom","minZoom","maxZoom","mapTypeId","clickableIcons","gestureHandling","tilt","restriction"];_observableSubscriptions=[];_fitBoundsSubscription;mapClick=new e.bkB;mapRightClick=new e.bkB;mapDblClick=new e.bkB;centerChange=new e.bkB;boundsChange=new e.bkB;mapTypeIdChange=new e.bkB;idle=new e.bkB;zoomChange=new e.bkB;mapReady=new e.bkB;tilesLoaded=new e.bkB;mapControls;constructor(t,i,o,a,s){this._elem=t,this._mapsWrapper=i,this._platformId=o,this._fitBoundsService=a,this._zone=s}ngAfterContentInit(){if((0,l.Vy)(this._platformId))return;const t=this._elem.nativeElement.querySelector(".agm-map-container-inner");this._initMapInstance(t)}_initMapInstance(t){this._mapsWrapper.createMap(t,{center:{lat:this.latitude||0,lng:this.longitude||0},zoom:this.zoom,minZoom:this.minZoom,maxZoom:this.maxZoom,controlSize:this.controlSize,disableDefaultUI:this.disableDefaultUI,disableDoubleClickZoom:this.disableDoubleClickZoom,scrollwheel:this.scrollwheel,backgroundColor:this.backgroundColor,draggable:this.draggable,draggableCursor:this.draggableCursor,draggingCursor:this.draggingCursor,keyboardShortcuts:this.keyboardShortcuts,styles:this.styles,mapTypeId:this.mapTypeId.toLocaleLowerCase(),clickableIcons:this.clickableIcons,gestureHandling:this.gestureHandling,tilt:this.tilt,restriction:this.restriction}).then(()=>this._mapsWrapper.getNativeMap()).then(i=>
1this.mapReady.emit(i)),this._handleMapCenterChange(),this._handleMapZoomChange(),this._handleMapMouseEvents(),this._handleBoundsChange(),this._handleMapTypeIdChange(),this._handleTilesLoadedEvent(),this._handleIdleEvent(),this._handleControlChange()}ngOnDestroy(){this._observableSubscriptions.forEach(t=>t.unsubscribe()),this._mapsWrapper.clearInstanceListeners(),this._fitBoundsSubscription&&this._fitBoundsSubscription.unsubscribe()}ngOnChanges(t){this._updateMapOptionsChanges(t),this._updatePosition(t)}_updateMapOptionsChanges(t){const i={};Object.keys(t).filter(a=>-1!==n._mapOptionsAttributes.indexOf(a)).forEach(a=>{i[a]=t[a].currentValue}),this._mapsWrapper.setMapOptions(i)}triggerResize(t=!0){return new Promise(i=>{setTimeout(()=>this._mapsWrapper.triggerMapEvent("resize").then(()=>{t&&(null!=this.fitBounds?this._fitBounds():this._setCenter()),i()}))})}_updatePosition(t){if(null!=t.latitude||null!=t.longitude||t.fitBounds){if("fitBounds"in t)return void this._fitBounds();"number"!=typeof this.latitude||"number"!=typeof this.longitude||this._setCenter()}}_setCenter(){const t={lat:this.latitude,lng:this.longitude};this.usePanning?this._mapsWrapper.panTo(t):this._mapsWrapper.setCenter(t)}_fitBounds(){switch(this.fitBounds){case!0:this._subscribeToFitBoundsUpdates();break;case!1:this._fitBoundsSubscription&&this._fitBoundsSubscription.unsubscribe();break;default:this._fitBoundsSubscription&&this._fitBoundsSubscription.unsubscribe(),this._updateBounds(this.fitBounds,this.fitBoundsPadding)}}_subscribeToFitBoundsUpdates(){this._zone.runOutsideAngular(()=>{this._fitBoundsSubscription=this._fitBoundsService.getBounds$().subscribe(t=>{this._zone.run(()=>this._updateBounds(t,this.fitBoundsPadding))})})}_updateBounds(t,i){if(t){if(this._isLatLngBoundsLiteral(t)&&typeof google<"u"&&google&&google.maps&&google.maps.LatLngBounds){const o=new google.maps.LatLngBounds;o.union(t),t=o}if(this.usePanning)return void this._mapsWrapper.panToBounds(t,i);this._mapsWrapper.fitBounds(t,i)}}_isLatLngBoundsLiteral(t){return null!=t&&void 0===t.extend}_handleMapCenterChange(){const t=this._mapsWrapper.subscribeToMapEvent("center_changed").subscribe(()=>{this._mapsWrapper.getCenter().then(i=>{this.latitude=i.lat(),this.longitude=i.lng(),this.centerChange.emit({lat:this.latitude,lng:this.longitude})})});this._observableSubscriptions.push(t)}_handleBoundsChange(){const t=this._mapsWrapper.subscribeToMapEvent("bounds_changed").subscribe(()=>{this._mapsWrapper.getBounds().then(i=>{this.boundsChange.emit(i)})});this._observableSubscriptions.push(t)}_handleMapTypeIdChange(){const t=this._mapsWrapper.subscribeToMapEvent("maptypeid_changed").subscribe(()=>{this._mapsWrapper.getMapTypeId().then(i=>{this.mapTypeIdChange.emit(i)})});this._observableSubscriptions.push(t)}_handleMapZoomChange(){const t=this._mapsWrapper.subscribeToMapEvent("zoom_changed").subscribe(()=>{this._mapsWrapper.getZoom().then(i=>{this.zoom=i,this.zoomChange.emit(i)})});this._observableSubscriptions.push(t)}_handleIdleEvent(){const t=this._mapsWrapper.subscribeToMapEvent("idle").subscribe(()=>{this.idle.emit(void 0)});this._observableSubscriptions.push(t)}_handleTilesLoadedEvent(){const t=this._mapsWrapper.subscribeToMapEvent("tilesloaded").subscribe(()=>this.tilesLoaded.emit(void 0));this._observableSubscriptions.push(t)}_handleMapMouseEvents(){[{name:"click",emitter:this.mapClick},{name:"rightclick",emitter:this.mapRightClick},{name:"dblclick",emitter:this.mapDblClick}].forEach(i=>{const o=this._mapsWrapper.subscribeToMapEvent(i.name).subscribe(([a])=>{a.placeId&&!this.showDefaultInfoWindow&&a.stop(),i.emitter.emit(a)});this._observableSubscriptions.push(o)})}_handleControlChange(){this._setControls(),this.mapControls.changes.subscribe(()=>this._setControls())}_setControls(){const t={fullscreenControl:!this.disableDefaultUI,mapTypeControl:!1,panControl:!1,rotateControl:!1,scaleControl:!1,streetViewControl:!this.disableDefaultUI,zoomControl:!this.disableDefaultUI};this.mapControls.forEach(i=>Object.assign(t,i.getOptions())),this._mapsWrapper.setMapOptions(t)}static \u0275fac=function(i){return new(i||n)(e.rXU(e.aKT),e.rXU(qe),e.rXU(e.Agw),e.rXU(Vo),e.rXU(e.SKi))};static \u0275cmp=e.VBU({type:n,selectors:[["agm-map"]],contentQueries:function(i,o,a){if(1&i&&e.wni(a,B7,4),2&i){let s;
1e.mGM(s=e.lsd())&&(o.mapControls=s)}},inputs:{longitude:"longitude",latitude:"latitude",zoom:"zoom",minZoom:"minZoom",maxZoom:"maxZoom",controlSize:"controlSize",draggable:[0,"mapDraggable","draggable"],disableDoubleClickZoom:"disableDoubleClickZoom",disableDefaultUI:"disableDefaultUI",scrollwheel:"scrollwheel",backgroundColor:"backgroundColor",draggableCursor:"draggableCursor",draggingCursor:"draggingCursor",keyboardShortcuts:"keyboardShortcuts",styles:"styles",usePanning:"usePanning",fitBounds:"fitBounds",fitBoundsPadding:"fitBoundsPadding",mapTypeId:"mapTypeId",clickableIcons:"clickableIcons",showDefaultInfoWindow:"showDefaultInfoWindow",gestureHandling:"gestureHandling",tilt:"tilt",restriction:"restriction"},outputs:{mapClick:"mapClick",mapRightClick:"mapRightClick",mapDblClick:"mapDblClick",centerChange:"centerChange",boundsChange:"boundsChange",mapTypeIdChange:"mapTypeIdChange",idle:"idle",zoomChange:"zoomChange",mapReady:"mapReady",tilesLoaded:"tilesLoaded"},features:[e.Jv_([I7,Yn,Yn,Vo,qe,Uo,F7,P7,Xn,G7,S7,$7]),e.OA$],ngContentSelectors:Bo,decls:3,vars:0,consts:[[1,"agm-map-container-inner","sebm-google-map-container-inner"],[1,"agm-map-content"]],template:function(i,o){1&i&&(e.NAR(),e.nrm(0,"div",0),e.j41(1,"div",1),e.SdG(2),e.k0s())},styles:[".agm-map-container-inner[_ngcontent-%COMP%]{width:inherit;height:inherit}.agm-map-content[_ngcontent-%COMP%]{display:none}"]})}return n})(),W7=0,en=(()=>{class n{_markerManager;latitude;longitude;title;label;draggable=!1;iconUrl;visible=!0;openInfoWindow=!0;opacity=1;zIndex=1;clickable=!0;animation;animationChange=new e.bkB;markerClick=new e.bkB;markerDblClick=new e.bkB;markerRightClick=new e.bkB;dragStart=new e.bkB;drag=new e.bkB;dragEnd=new e.bkB;mouseOver=new e.bkB;mouseOut=new e.bkB;infoWindow=new e.rOR;_markerAddedToManger=!1;_id;_observableSubscriptions=[];_fitBoundsDetails$=new Do(1);constructor(t){this._markerManager=t,this._id=(W7++).toString()}ngAfterContentInit(){this.handleInfoWindowUpdate(),this.infoWindow.changes.subscribe(()=>this.handleInfoWindowUpdate())}handleInfoWindowUpdate(){if(this.infoWindow.length>1)throw new Error("Expected no more than one info window.");this.infoWindow.forEach(t=>{t.hostMarker=this})}ngOnChanges(t){if("string"==typeof this.latitude&&(this.latitude=Number(this.latitude)),"string"==typeof this.longitude&&(this.longitude=Number(this.longitude)),"number"==typeof this.latitude&&"number"==typeof this.longitude){if(!this._markerAddedToManger)return this._markerManager.addMarker(this),this._updateFitBoundsDetails(),this._markerAddedToManger=!0,void this._addEventListeners();(t.latitude||t.longitude)&&(this._markerManager.updateMarkerPosition(this),this._updateFitBoundsDetails()),t.title&&this._markerManager.updateTitle(this),t.label&&this._markerManager.updateLabel(this),t.draggable&&this._markerManager.updateDraggable(this),t.iconUrl&&this._markerManager.updateIcon(this),t.opacity&&this._markerManager.updateOpacity(this),t.visible&&this._markerManager.updateVisible(this),t.zIndex&&this._markerManager.updateZIndex(this),t.clickable&&this._markerManager.updateClickable(this),t.animation&&this._markerManager.updateAnimation(this)}}getFitBoundsDetails$(){return this._fitBoundsDetails$.asObservable()}_updateFitBoundsDetails(){this._fitBoundsDetails$.next({latLng:{lat:this.latitude,lng:this.longitude}})}_addEventListeners(){const t=this._markerManager.createEventObservable("click",this).subscribe(()=>{this.openInfoWindow&&this.infoWindow.forEach(I=>I.open()),this.markerClick.emit(this)});this._observableSubscriptions.push(t);const i=this._markerManager.createEventObservable("dblclick",this).subscribe(()=>{this.markerDblClick.emit(null)});this._observableSubscriptions.push(i);const o=this._markerManager.createEventObservable("rightclick",this).subscribe(()=>{this.markerRightClick.emit(null)});this._observableSubscriptions.push(o);const a=this._markerManager.createEventObservable("dragstart",this).subscribe(I=>this.dragStart.emit(I));this._observableSubscriptions.push(a);const s=this._markerManager.createEventObservable("drag",this).subscribe(I=>this.drag.emit(I));this._observableSubscriptions.push(s);const c=this._markerManager.createEventObservable("dragend",this).subscribe(I=>this.dragEnd.emit(I));this._observableSubscriptions.push(c);const d=this._markerManager.createEventObservable("mouseover",this).subscribe(I=>this.mouseOver.emit(I));this._observableSubscriptions.push(d);const C=this._markerManager.createEventObservable("mouseout",this).subscribe(I=>this.mouseOut.emit(I));this._observableSubscriptions.push(C);const T=this._markerManager.createEventObservable("animation_changed",this).subscribe(()=>{this.animationChange.emit(this.animation)});this._observableSubscriptions.push(T)}id(){return this._id}toString(){return"AgmMarker-"+this._id.toString()}ngOnDestroy(){this._markerManager.deleteMarker(this),this._observableSubscriptions.forEach(t=>t.unsubscribe())}static \u0275fac=function(i){return new(i||n)(e.rXU(Xn))};static \u0275dir=e.FsC({type:n,selectors:[["agm-marker"]],contentQueries:function(i,o,a){if(1&i&&e.wni(a,Vn,4),2&i){let s;e.mGM(s=e.lsd())&&(o.infoWindow=s)}},inputs:{latitude:"latitude",longitude:"longitude",title:"title",label:"label",draggable:[0,"markerDraggable","draggable"],iconUrl:"iconUrl",visible:"visible",openInfoWindow:"openInfoWindow",opacity:"opacity",zIndex:"zIndex",clickable:[0,"markerClickable","clickable"],animation:"animation"},outputs:{animationChange:"animationChange",markerClick:"markerClick",markerDblClick:"markerDblClick",markerRightClick:"markerRightClick",dragStart:"dragStart",drag:"drag",dragEnd:"dragEnd",mouseOver:"mouseOver",mouseOut:"mouseOut"},features:[e.Jv_([{provide:M7,useExisting:(0,e.Rfq)(()=>n)}]),e.OA$]})}return n})(),nF=(()=>{class n{static forRoot(t){return{ngModule:n,providers:[...O7,{provide:Qt,useClass:R7},{provide:qo,useValue:t}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=e.$C({type:n});static \u0275inj=e.G2t({})}return n})(),Ho=(()=>{class n{transform(t){return t?parseFloat(t):null}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=e.EJ8({name:"stringToNumber",type:n,pure:!0})}}return n})(),Wo=(()=>{class n{constructor(){this.classesMap=new Map,this.initClassesMap()}initClassesMap(){this.classesMap.set("AD","Andorra"),this.classesMap.set("AE","United Arab Emirates"),this.classesMap.set("AF","Afghanistan"),this.classesMap.set("AG","Antigua and Barbuda"),this.classesMap.set("AI","Anguilla"),this.classesMap.set("AL","Albania"),this.classesMap.set("AM","Armenia"),this.classesMap.set("AN","Netherlands Antilles"),this.classesMap.set("AO","Angola"),this.classesMap.set("AQ","Antarctica"),this.classesMap.set("AR","Argentina"),this.classesMap.set("AS","American Samoa"),this.classesMap.set("AT","Austr
1ia"),this.classesMap.set("AU","Australia"),this.classesMap.set("AW","Aruba"),this.classesMap.set("AZ","Azerbaijan"),this.classesMap.set("BA","Bosnia and Herzegovina"),this.classesMap.set("BB","Barbados"),this.classesMap.set("BD","Bangladesh"),this.classesMap.set("BE","Belgium"),this.classesMap.set("BF","Burkina Faso"),this.classesMap.set("BG","Bulgaria"),this.classesMap.set("BH","Bahrain"),this.classesMap.set("BI","Burundi"),this.classesMap.set("BJ","Benin"),this.classesMap.set("BL","Saint Barthelemy"),this.classesMap.set("BM","Bermuda"),this.classesMap.set("BN","Brunei"),this.classesMap.set("BO","Bolivia"),this.classesMap.set("BR","Brazil"),this.classesMap.set("BS","Bahamas"),this.classesMap.set("BT","Bhutan"),this.classesMap.set("BW","Botswana"),this.classesMap.set("BY","Belarus"),this.classesMap.set("BZ","Belize"),this.classesMap.set("CA","Canada"),this.classesMap.set("CC","Cocos Islands"),this.classesMap.set("CD","Democratic Republic of the Congo"),this.classesMap.set("CF","Central African Republic"),this.classesMap.set("CG","Republic of the Congo"),this.classesMap.set("CH","Switzerland"),this.classesMap.set("CI","Ivory Coast"),this.classesMap.set("CK","Cook Islands"),this.classesMap.set("CL","Chile"),this.classesMap.set("CM","Cameroon"),this.classesMap.set("CN","China"),this.classesMap.set("CO","Colombia"),this.classesMap.set("CR","Costa Rica"),this.classesMap.set("CU","Cuba"),this.classesMap.set("CV","Cape Verde"),this.classesMap.set("CW","Curacao"),this.classesMap.set("CX","Christmas Island"),this.classesMap.set("CY","Cyprus"),this.classesMap.set("CZ","Czech Republic"),this.classesMap.set("DE","Germany"),this.classesMap.set("DJ","Djibouti"),this.classesMap.set("DK","Denmark"),this.classesMap.set("DM","Dominica"),this.classesMap.set("DO","Dominican Republic"),this.classesMap.set("DZ","Algeria"),this.classesMap.set("EC","Ecuador"),this.classesMap.set("EE","Estonia"),this.classesMap.set("EG","Egypt"),this.classesMap.set("EH","Western Sahara"),this.classesMap.set("ER","Eritrea"),this.classesMap.set("ES","Spain"),this.classesMap.set("ET","Ethiopia"),this.classesMap.set("FI","Finland"),this.classesMap.set("FJ","Fiji"),this.classesMap.set("FK","Falkland Islands"),this.classesMap.set("FM","Micronesia"),this.classesMap.set("FO","Faroe Islands"),this.classesMap.set("FR","France"),this.classesMap.set("GA","Gabon"),this.classesMap.set("GB","United Kingdom"),this.classesMap.set("GD","Grenada"),this.classesMap.set("GE","Georgia"),this.classesMap.set("GG","Guernsey"),this.classesMap.set("GH","Ghana"),this.classesMap.set("GI","Gibraltar"),this.classesMap.set("GL","Greenland"),this.classesMap.set("GM","Gambia"),this.classesMap.set("GN","Guinea"),this.classesMap.set("GQ","Equatorial Guinea"),this.classesMap.set("GR","Greece"),this.classesMap.set("GT","Guatemala"),this.classesMap.set("GU","Guam"),this.classesMap.set("GW","Guinea-Bissau"),this.classesMap.set("GY","Guyana"),this.classesMap.set("HK","Hong Kong"),this.classesMap.set("HN","Honduras"),this.classesMap.set("HR","Croatia"),this.classesMap.set("HT","Haiti"),this.classesMap.set("HU","Hungary"),this.classesMap.set("ID","Indonesia"),this.classesMap.set("IE","Ireland"),this.classesMap.set("IL","Israel"),this.classesMap.set("IM","Isle of Man"),this.classesMap.set("IN","India"),this.classesMap.set("IO","British Indian Ocean Territory"),this.classesMap.set("IQ","Iraq"),this.classesMap.set("IR","Iran"),this.classesMap.set("IS","Iceland"),this.classesMap.set("IT","Italy"),this.classesMap.set("JE","Jersey"),this.classesMap.set("JM","Jamaica"),this.classesMap.set("JO","Jordan"),this.classesMap.set("JP","Japan"),this.classesMap.set("KE","Kenya"),this.classesMap.set("KG","Kyrgyzstan"),this.classesMap.set("KH","Cambodia"),this.classesMap.set("KI","Kiribati"),this.classesMap.set("KM","Comoros"),this.classesMap.set("KN","Saint Kitts and Nevis"),this.classesMap.set("KP","North Korea"),this.classesMap.set("KR","South Korea"),this.classesMap.set("KW","Kuwait"),this.classesMap.set("KY","Cayman Islands"),this.classesMap.set("KZ","Kazakhstan"),this.classesMap.set("LA","Laos"),this.classesMap.set("LB","Lebanon"),this.classesMap.set("LC","Saint Lucia"),this.classesMap.set("LI","Liechtenstein"),this.classesMap.set("LK","Sri Lanka"),this.classesMap.set("LR","Liberia"),this.classesMap.set("LS","
1Lesotho"),this.classesMap.set("LT","Lithuania"),this.classesMap.set("LU","Luxembourg"),this.classesMap.set("LV","Latvia"),this.classesMap.set("LY","Libya"),this.classesMap.set("MA","Morocco"),this.classesMap.set("MC","Monaco"),this.classesMap.set("MD","Moldova"),this.classesMap.set("ME","Montenegro"),this.classesMap.set("MF","Saint Martin"),this.classesMap.set("MG","Madagascar"),this.classesMap.set("MH","Marshall Islands"),this.classesMap.set("MK","Macedonia"),this.classesMap.set("ML","Mali"),this.classesMap.set("MM","Myanmar"),this.classesMap.set("MN","Mongolia"),this.classesMap.set("MO","Macau"),this.classesMap.set("MP","Northern Mariana Islands"),this.classesMap.set("MR","Mauritania"),this.classesMap.set("MS","Montserrat"),this.classesMap.set("MT","Malta"),this.classesMap.set("MU","Mauritius"),this.classesMap.set("MV","Maldives"),this.classesMap.set("MW","Malawi"),this.classesMap.set("MX","Mexico"),this.classesMap.set("MY","Malaysia"),this.classesMap.set("MZ","Mozambique"),this.classesMap.set("NA","Namibia"),this.classesMap.set("NC","New Caledonia"),this.classesMap.set("NE","Niger"),this.classesMap.set("NG","Nigeria"),this.classesMap.set("NI","Nicaragua"),this.classesMap.set("NL","Netherlands"),this.classesMap.set("NO","Norway"),this.classesMap.set("NP","Nepal"),this.classesMap.set("NR","Nauru"),this.classesMap.set("NU","Niue"),this.classesMap.set("NZ","New Zealand"),this.classesMap.set("OM","Oman"),this.classesMap.set("PA","Panama"),this.classesMap.set("PE","Peru"),this.classesMap.set("PF","French Polynesia"),this.classesMap.set("PG","Papua New Guinea"),this.classesMap.set("PH","Philippines"),this.classesMap.set("PK","Pakistan"),this.classesMap.set("PL","Poland"),this.classesMap.set("PM","Saint Pierre and Miquelon"),this.classesMap.set("PN","Pitcairn"),this.classesMap.set("PR","Puerto Rico"),this.classesMap.set("PS","Palestine"),this.classesMap.set("PT","Portugal"),this.classesMap.set("PW","Palau"),this.classesMap.set("PY","Paraguay"),this.classesMap.set("QA","Qatar"),this.classesMap.set("RE","Reunion"),this.classesMap.set("RO","Romania"),this.classesMap.set("RS","Serbia"),this.classesMap.set("RU","Russia"),this.classesMap.set("RW","Rwanda"),this.classesMap.set("SA","Saudi Arabia"),this.classesMap.set("SB","Solomon Islands"),this.classesMap.set("SC","Seychelles"),this.classesMap.set("SD","Sudan"),this.classesMap.set("SE","Sweden"),this.classesMap.set("SG","Singapore"),this.classesMap.set("SH","Saint Helena"),this.classesMap.set("SI","Slovenia"),this.classesMap.set("SJ","Svalbard and Jan Mayen"),this.classesMap.set("SK","Slovakia"),this.classesMap.set("SL","Sierra Leone"),this.classesMap.set("SM","San Marino"),this.classesMap.set("SN","Senegal"),this.classesMap.set("SO","Somalia"),this.classesMap.set("SR","Suriname"),this.classesMap.set("SS","South Sudan"),this.classesMap.set("ST","Sao Tome and Principe"),this.classesMap.set("SV","El Salvador"),this.classesMap.set("SX","Sint Maarten"),this.classesMap.set("SY","Syria"),this.classesMap.set("SZ","Swaziland"),this.classesMap.set("TC","Turks and Caicos Islands"),this.classesMap.set("TD","Chad"),this.classesMap.set("TG","Togo"),this.classesMap.set("TH","Thailand"),this.classesMap.set("TJ","Tajikistan"),this.classesMap.set("TK","Tokelau"),this.classesMap.set("TL","East Timor"),this.classesMap.set("TM","Turkmenistan"),this.classesMap.set("TN","Tunisia"),this.classesMap.set("TO","Tonga"),this.classesMap.set("TR","Turkey"),this.classesMap.set("TT","Trinidad and Tobago"),this.classesMap.set("TV","Tuvalu"),this.classesMap.set("TW","Taiwan"),this.classesMap.set("TZ","Tanzania"),this.classesMap.set("UA","Ukraine"),this.classesMap.set("UG","Uganda"),this.classesMap.set("US","United States"),this.classesMap.set("UY","Uruguay"),this.classesMap.set("UZ","Uzbekistan"),this.classesMap.set("VA","Vatican"),this.classesMap.set("VC","Saint Vincent and the Grenadines"),this.classesMap.set("VE","Venezuela"),this.classesMap.set("VG","British Virgin Islands"),this.classesMap.set("VI","U.S. Virgin Islands"),this.classesMap.set("VN","Vietnam"),this.classesMap.set("VU","Vanuatu"),this.classesMap.set("WF","Wallis and Futuna"),this.classesMap.set("WS","Samoa"),this.classesMap.set("XK","Kosovo"),this.classesMap.set("YE","Yemen"),this.classesMap.set("YT","Mayotte"),this.classesMap.set("ZA","South Africa"),this.classesMap.set("ZM","Zambia"),this.classesMap.set("ZW","Zimbabwe")}transform(t){return t?this.classesMap.get(t)||t:w.M.DEFAULT_VALUE}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=e.EJ8({name:"countryname",type:n,pure:!0})}}return n})();function iF(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"li",11)(2,"a",12),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG();return e.Njj(a.selectLocation(o))}),e.EFF(3),e.k0s()(),e.bVm()}if(2&n){const t=r.$implicit,i=e.XpG();e.R7$(),e.AVh("active",i.currentLocation===t.key||!i.currentLocation&&"all"===t.key),e.R7$(2),e.SpI(" ",t.value," ")}}function oF(n,r){if(1&n&&(e.qex(0),e.j41(1,"agm-map",24),e.nI1(2,"stringToNumber"),e.nI1(3,"stringToNumber"),e.nrm(4,"agm-marker",25),e.nI1(5,"stringToNumber"),e.nI1(6,"stringToNumber"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit,i=e.XpG();e.R7$(),e.Y8G("latitude",e.bMT(2,11,t.locationMap.value.latitude))("longitude",e.bMT(3,13,t.locationMap.value.longitude))("zoom",18)("streetViewControl",!1)("disableDefaultUI",!0)("zoomControl",!1)("gestureHandling",i.none)("styles",i.mapStyle),e.R7$(3),e.Y8G("latitude",e.bMT(5,15,t.locationMap.value.latitude))("longitude",e.bMT(6,17,t.locationMap.value.longitude))("iconUrl","assets/images/location_icon.png")}}function rF(n,r){1&n&&e.eu8(0)}function aF(n,r){if(1&n&&(e.j41(0,"div",21),e.DNE(1,oF,7,19,"ng-container",22)(2,rF,1,0,"ng-container",23),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(13);e.R7$(),e.Y8G("ngIf",!t.locationMap.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.locationMap)}}function sF(n,r){if(1&n&&(e.qex(0),e.j41(1,"h3",27),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",t.locationTitle.value," ")}}function lF(n,r){1&n&&e.eu8(0)}function cF(n,r){if(1&n&&(e.j41(0,"div",26),e.DNE(1,sF,3,1,"ng-container",22)(2,lF,1,0,"ng-container",23),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(13);e.R7$(),e.Y8G("ngIf",!t.locationTitle.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.locationTitle)}}function pF(n,r){if(1&n&&(e.j41(0,"h4",31),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",t.locationAddress.label," ")}}function mF(n,r){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",t.locationAddress.value.thoroughfare," ")}}function _F(n,r){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",t.locationAddress.value.premise," ")}}function dF(n,r){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",t.locationAddress.value.locality," ")}}function uF(n,r){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",t.locationAddress.value.administrativearea," ")}}function gF(n,r){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",t.locationAddress.value.postalcode," ")}}function hF(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"countryname"),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.locationAddress.value.country)," - ")}}function fF(n,r){if(1&n&&(e.j41(0,"a",32),e.EFF(1,"Map"),e.k0s()),2&n){const t=e.XpG(3).$implicit,i=e.XpG();e.Y8G("href",i.getMapsLink(t.locationMap.value),e.B4B)}}function vF(n,r){if(1&n&&(e.qex(0),e.DNE(1,pF,2,1,"h4",29)(2,mF,2,1,"div",22)(3,_F,2,1,"div",22)(4,dF,2,1,"div",22)(5,uF,2,1,"div",22)(6,gF,2,1,"div",22),e.j41(7,"div"),e.DNE(8,hF,3,3,"ng-container",22)(9,fF,2,1,"a",30),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.locationAddress.label),e.R7$(),e.Y8G("ngIf",t.locationAddress.value.thoroughfare),e.R7$(),e.Y8G("ngIf",t.locationAddress.value.premise),e.R7$(),e.Y8G("ngIf",t.locationAddress.value.locality),e.R7$(),e.Y8G("ngIf",t.locationAddress.value.administrativearea),e.R7$(),e.Y8G("ngIf",t.locationAddress.value.postalcode),e.R7$(2),e.Y8G("ngIf",t.locationAddress.value.country),e.R7$(),e.Y8G("ngIf",t.locationMap.value)}}function bF(n,r){1&n&&e.eu8(0)}function CF(n,r){if(1&n&&(e.j41(0,"div",28),e.DNE(1,vF,10,8,"ng-container",22)(2,bF,1,0,"ng-container",23),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(13);e.R7$(),e.Y8G("ngIf",!t.locationAddress.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.locationTitle)}}function TF(n,r){if(1&n&&(e.j41(0,"h4",31),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",t.locationPhones.label," ")}}function xF(n,r){if(1&n&&(e.j41(0,"div")(1,"a",34),e.EFF(2),e.k0s()()),2&n){const t=r.$implicit;e.R7$(),e.Mz_("href","tel:",t,"",e.B4B),e.R7$(),e.JRh(t)}}function kF(n,r){if(1&n&&(e.qex(0),e.DNE(1,TF,2,1,"h4",29)(2,xF,3,3,"div",8),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.locationPhones.label),e.R7$(),e.Y8G("ngForOf",t.locationPhones.value)}}function yF(n,r){1&n&&e.eu8(0)}function wF(n,r){if(1&n&&(e.j41(0,"div",33),e.DNE(1,kF,3,2,"ng-container",22)(2,yF,1,0,"ng-container",23),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG();const i=e.sdS(13);e.R7$(),e.Y8G("ngIf",!t.locationPhones.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.locationPhones)}}function IF(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",13),e.DNE(2,aF,3,3,"div",14),e.j41(3,"div",15)(4,"div",16),e.DNE(5,cF,3,3,"div",17)(6,CF,3,3,"div",18),e.k0s(),e.j41(7,"div",19),e.DNE(8,wF,3,3,"div",20),e.k0s()()(),e.bVm()),2&n){const t=r.$implicit,i=e.XpG();e.R7$(),e.Y8G("hidden",i.currentLocation&&i.currentLocation!==t.location),e.R7$(),e.Y8G("ngIf",(null==t.locationMap?null:t.locationMap.visibility)&&(null==t.locationMap?null:t.locationMap.value)),e.R7$(3),e.Y8G("ngIf",t.locationTitle.visibility&&t.locationTitle.value),e.R7$(),e.Y8G("ngIf",t.locationAddress.visibility&&t.locationAddress.value),e.R7$(2),e.Y8G("ngIf",t.locationPhones.visibility&&t.locationPhones.value&&t.locationPhones.value.length)}}function MF(n,r){if(1&n&&e.nrm(0,"app-hide-field",36),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function OF(n,r){1&n&&e.DNE(0,MF,1,1,"app-hide-field",35),2&n&&e.Y8G("ngIf",r.errorText)}let Jo=(()=>{class n{constructor(t,i,o,a,s,c,d,C){this.doc=t,this.layoutStore=i,this.cdRef=o,this.filtersService=a,this.el=s,this.renderer=c,this.swipe=d,this.urlService=C,this.queryParameter="office-current-location",this.mapStyle=[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],this.tabnavoffset=0,this.activeoffset=0,this.tabNavIsGreater=new Oe.t(!1),this.filtersService.store=this.layoutStore,this.filtersService.urlService=this.urlService}ngOnInit(){var t=this;return(0,_.A)(function*(){const i=yield t.layoutStore.pipe((0,u.Lt)(h.Ti),(0,f.s)(1)).toPromise();t.currentLocation=i.parameters.get(t.queryParameter)})()}selectLocation(t){this.filtersService.deleteFilter(this.queryParameter,this.currentLocation),"All"!==t.value?(this.filtersService.setFilter(this.queryParameter,t),this.currentLocation=t.key):this.currentLocation=null,this.filtersService.addFiltersToUrl()}getMapsLink(t){return`https://maps.google.com/?q=${t.latitude},${t.longitude}`}ngAfterViewInit(){this.setTabNavIsGreaterThanTabContainer()}ngAfterViewChecked(){this.cdRef.detectChanges();const t=this.el.nativeElement.querySelector(".active"),i=this.el.nativeElement.querySelector(".tab-nav-overlay .tab-nav-container");0===this.activeoffset&&i&&t&&(this.activeoffset=t.offsetLeft,i.scrollLeft=this.activeoffset-20)}onResize(){this.setTabNavIsGreaterThanTabContainer()}onWheel(t){const i=this.swipe.getAncestor(t.target,"tab-nav-overlay"),o=this.el.nativeElement.querySelector(".tab-nav-overlay .tab-nav-container"),a=this.el.nativeElement.querySelector(".tab-nav-overlay .tab-nav-wrapper");i&&o&&a&&a.offsetWidth>i.offsetWidth&&(t.preventDefault(),o.scrollLeft+=t.deltaY)}onMouseWheelChrome(t){this.onWheel(t)}onMouseWheelFirefox(t){this.onWheel(t)}setTabNavIsGreaterThanTabContainer(){const i=this.el.nativeElement.querySelector(".tab-nav-wrapper").offsetWidth,a=this.el.nativeElement.querySelector(".tab-nav-overlay .tab-nav-container").offsetWidth;this.tabNavIsGreater.next(i>a)}isTabNavGreaterThanTabContainer(){return this.tabNavIsGreater.asObservable()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(l.qQ),e.rXU(u.il),e.rXU(e.gRc),e.rXU(Ve.B),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(Ee.h),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-contact-office-location"]],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)("wheel",function(s){return o.onWheel(s)})("mousewheel",function(s){return o.onMouseWheelChrome(s)})("DOMMouseScroll",function(s){return o.onMouseWheelFirefox(s)})},inputs:{content:"content"},decls:14,vars:6,consts:[["emptyvalue",""],["id","contact-office-location-side-by-side",1,"contact-office-location","component","gtm-track-component"],["id","contact-office-location-tab"],[1,"toggle-list-container"],["id","tab-nav",1,"tab-nav-component"],[1,"tab-nav-overlay","wrapper","x-large-width"],[1,"tab-nav-container"],[1,"tab-nav-wrapper"],[4,"ngFor","ngForOf"],[1,"wrapper","side-by-side","x-large-width","x-large-width-padding"],[1,"flex-wrapper","spaced-flex-container"],[1,"tab-nav","regular-font-size","medium-font-we
1ight","ellipsed"],[1,"clickable",3,"click"],[1,"single-location","mobile-flex-wrapper","spaced-flex-container","small-width",3,"hidden"],["class","single-location-map",4,"ngIf"],[1,"single-location-info"],[1,"single-location-info-top"],["class","single-location-title",4,"ngIf"],["class","single-location-address",4,"ngIf"],[1,"single-location-info-bottom"],["class","single-location-phones",4,"ngIf"],[1,"single-location-map"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["height","100%",3,"latitude","longitude","zoom","streetViewControl","disableDefaultUI","zoomControl","gestureHandling","styles"],[3,"latitude","longitude","iconUrl"],[1,"single-location-title"],[1,"bigger-font-size","blue-text","regular-font-weight"],[1,"single-location-address"],["class","big-font-size",4,"ngIf"],["target","_blank",3,"href",4,"ngIf"],[1,"big-font-size"],["target","_blank",3,"href"],[1,"single-location-phones"],[3,"href"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"section",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5),e.nI1(5,"async"),e.j41(6,"div",6)(7,"ul",7),e.DNE(8,iF,4,3,"ng-container",8),e.k0s()()()()()(),e.j41(9,"div",9)(10,"div",10),e.DNE(11,IF,9,5,"ng-container",8),e.k0s()()(),e.DNE(12,OF,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.R7$(4),e.AVh("scrollable",e.bMT(5,4,o.isTabNavGreaterThanTabContainer())),e.R7$(4),e.Y8G("ngForOf",o.content.locationsTabs.value),e.R7$(3),e.Y8G("ngForOf",o.content.officeLocations))},dependencies:[l.Sq,l.bT,l.T3,y.W,Zt,en,l.Jj,Ho,Wo],styles:[".contact-office-location[_ngcontent-%COMP%]{margin-bottom:3.5rem}.single-location[_ngcontent-%COMP%]{border:.0625rem solid #fafafa;color:#000;margin-bottom:2.5rem}.single-location-info[_ngcontent-%COMP%]{align-items:flex-start;display:flex;flex-wrap:wrap;order:1;padding:2rem}.single-location-map[_ngcontent-%COMP%]{background-color:#fafafa;color:#000;min-height:24rem}.promo[_ngcontent-%COMP%] .single-location-map[_ngcontent-%COMP%]{min-height:28rem}@media (max-width: 768px){.promo[_ngcontent-%COMP%] .single-location-map[_ngcontent-%COMP%]{order:2}}.side-by-side[_ngcontent-%COMP%] .single-location-map[_ngcontent-%COMP%]{width:45%}.side-by-side[_ngcontent-%COMP%] .single-location-info[_ngcontent-%COMP%]{padding-left:2.5rem;width:55%}.single-location-title[_ngcontent-%COMP%], .single-location-address[_ngcontent-%COMP%]{margin-bottom:1rem}.single-location-info-top[_ngcontent-%COMP%]{width:100%}.single-location-info-bottom[_ngcontent-%COMP%]{align-self:flex-end;width:100%}.talk-us-button[_ngcontent-%COMP%]{margin-bottom:0;margin-top:1rem;width:100%}.feedback__link[_ngcontent-%COMP%]{float:right}@media (max-width: 480px){.feedback__link[_ngcontent-%COMP%]{float:none}}.half-width[_ngcontent-%COMP%]{width:50%}@media (max-width: 768px){.half-width[_ngcontent-%COMP%]{width:100%}}.error-message[_ngcontent-%COMP%]{color:#7e1b1b;padding:2rem 0 0}.hide-field[_ngcontent-%COMP%]{display:none}label[_ngcontent-%COMP%] + textarea[_ngcontent-%COMP%]{margin-top:.5rem}.open-modal[_ngcontent-%COMP%]{overflow:hidden}.talk-to-us-thanks[_ngcontent-%COMP%]{padding:1.5rem;text-align:center}.talk-to-us-thanks[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;margin:.5rem auto}.talk-to-us-thanks[_ngcontent-%COMP%] .talk-us-thanks-button[_ngcontent-%COMP%]{margin-top:2rem;min-width:50%}.overlay-wrapper.thanks[_ngcontent-%COMP%]{width:auto}agm-map[_ngcontent-%COMP%]{height:100%}"]})}}return n})();var RF=p(75278),FF=p(84572);function PF(n,r){if(1&n&&(e.qex(0),e.j41(1,"agm-map",18),e.nI1(2,"stringToNumber"),e.nI1(3,"stringToNumber"),e.nrm(4,"agm-marker",19),e.nI1(5,"stringToNumber"),e.nI1(6,"stringToNumber"),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("latitude",e.bMT(2,11,t.content.headOfficeLocation.locationMap.value.latitude))("longitude",e.bMT(3,13,t.content.headOfficeLocation.locationMap.value.longitude))("zoom",18)("streetViewControl",!1)("disableDefaultUI",!0)("zoomControl",!1)("gestureHandling",t.none)("styles",t.mapStyle),e.R7$(3),e.Y8G("latitude",e.bMT(5,15,t.content.headOfficeLocation.locationMap.value.latitude))("longitude",e.bMT(6,17,t.content.headOfficeLocation.locationMap.value.longitude))("iconUrl","assets/images/location_icon.png")}}function GF(n,r){1&n&&e.eu8(0)}function SF(n,r){if(1&n&&(e.j41(0,"div",15),e.DNE(1,PF,7,19,"ng-container",16)(2,GF,1,0,"ng-container",17),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.content.headOfficeLocation.locationMap.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.headOfficeLocation.locationMap)}}function $F(n,r){if(1&n&&(e.qex(0),e.j41(1,"h3",21),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.SpI(" ",t.content.headOfficeLocation.locationTitle.label,"")}}function EF(n,r){1&n&&e.eu8(0)}function DF(n,r){if(1&n&&(e.j41(0,"div",20),e.DNE(1,$F,3,1,"ng-container",16)(2,EF,1,0,"ng-container",17),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.content.headOfficeLocation.locationTitle.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.headOfficeLocation.locationTitle)}}function jF(n,r){if(1&n&&(e.j41(0,"h4",25),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.content.headOfficeLocation.locationAddress.label,"")}}function NF(n,r){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.content.headOfficeLocation.locationAddress.value.thoroughfare,"")}}function YF(n,r){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.content.headOfficeLocation.locationAddress.value.premise,"")}}function XF(n,r){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.content.headOfficeLocation.locationAddress.value.locality,"")}}function BF(n,r){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.content.headOfficeLocation.locationAddress.value.administrativearea,"")}}function VF(n,r){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.content.headOfficeLocation.locationAddress.value.postalcode,"")}}function LF(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"countryname"),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",e.bMT(2,1,t.content.headOfficeLocation.locationAddress.value.country)," - ")}}function AF(n,r){if(1&n&&(e.j41(0,"a",26),e.EFF(1,"Map"),e.k0s()),2&n){const t=e.XpG(4);e.Y8G("href",t.getMapsLink(t.content.headOfficeLocation.locationMap.value),e.B4B)}}function qF(n,r){if(1&n&&(e.qex(0),e.DNE(1,jF,2,1,"h4",23)(2,NF,2,1,"div",16)(3,YF,2,1,"div",16)(4,XF,2,1,"div",16)(5,BF,2,1,"div",16)(6,VF,2,1,"div",16),e.j41(7,"div"),e.DNE(8,LF,3,3,"ng-container",16)(9,AF,2,1,"a",24),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.content.headOfficeLocation.locationAddress.label),e.R7$(),e.Y8G("ngIf",t.content.headOfficeLocation.locationAddress.value.thoroughfare),e.R7$(),e.Y8G("ngIf",t.content.headOfficeLocation.locationAddress.value.premise),e.R7$(),e.Y8G("ngIf",t.content.headOfficeLocation.locationAddress.value.locality),e.R7$(),e.Y8G("ngIf",t.content.headOfficeLocation.locationAddress.value.administrativearea),e.R7$(),e.Y8G("ngIf",t.content.headOfficeLocation.locationAddress.value.postalcode),e.R7$(2),e.Y8G("ngIf",t.content.headOfficeLocation.locationAddress.value.country),e.R7$(),e.Y8G("ngIf",t.content.headOfficeLocation.locationMap.value)}}function UF(n,r){1&n&&e.eu8(0)}function zF(n,r){if(1&n&&(e.j41(0,"div",22),e.DNE(1,qF,10,8,"ng-container",16)(2,UF,1,0,"ng-container",17),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.content.headOfficeLocation.locationAddress.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.headOfficeLocation.locationTitle)}}function HF(n,r){if(1&n&&(e.j41(0,"h4",25),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.content.headOfficeLocation.locationPhones.label,"")}}function WF(n,r){if(1&n&&(e.j41(0,"div")(1,"a",29),e.EFF(2),e.k0s()()),2&n){const t=r.$implicit;e.R7$(),e.Mz_("href","tel:",t,"",e.B4B),e.R7$(),e.JRh(t)}}function JF(n,r){if(1&n&&(e.qex(0),e.DNE(1,HF,2,1,"h4",23)(2,WF,3,3,"div",28),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.content.headOfficeLocation.locationPhones.label),e.R7$(),e.Y8G("ngForOf",t.content.headOfficeLocation.locationPhones.value)}}function KF(n,r){1&n&&e.eu8(0)}function QF(n,r){if(1&n&&(e.j41(0,"div",27),e.DNE(1,JF,3,2,"ng-container",16)(2,KF,1,0,"ng-container",17),e.k0s()),2&n){const t=e.XpG(2),i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.content.headOfficeLocation.locationPhones.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.headOfficeLocation.locationPhones)}}function ZF(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",30),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.loadFeedbackForm())}),e.EFF(1,"Talk to us"),e.k0s()}}function eP(n,r){if(1&n&&(e.j41(0,"h4"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",null==t.formContent?null:t.formContent.title,"")}}function tP(n,r){if(1&n&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",null==t.formContent?null:t.formContent.intro,"")}}function nP(n,r){1&n&&(e.j41(0,"div",49),e.EFF(1," Select the subject of your query. "),e.k0s())}function iP(n,r){if(1&n&&(e.j41(0,"div",46),e.nrm(1,"ng-select",47),e.DNE(2,nP,2,0,"div",48),e.k0s()),2&n){const t=e.XpG(4);e.AVh("has-error",!t.form.controls.dropDownQuery.valid&&t.form.controls.dropDownQuery.touched),e.R7$(),e.Y8G("searchable",!1)("clearable",!1)("items",t.formItems)("placeholder",null==t.formContent?null:t.formContent.dropDownQuery.default),e.R7$(),e.Y8G("ngIf",!t.form.controls.dropDownQuery.valid&&t.form.controls.dropDownQuery.touched)}}function oP(n,r){if(1&n&&(e.j41(0,"label",52),e.EFF(1),e.k0s()),2&n){const t=e.XpG(5);e.R7$(),e.SpI(" ",null==t.formContent?null:t.formContent.message.label," ")}}function rP(n,r){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(6);e.R7$(),e.SpI(" Enter a message of up to ",t.maxInputCharacter," characters. ")}}function aP(n,r){1&n&&(e.j41(0,"div"),e.EFF(1," Enter your message. "),e.k0s())}function sP(n,r){if(1&n&&(e.j41(0,"div",49),e.DNE(1,rP,2,1,"div",16)(2,aP,2,0,"div",16),e.k0s()),2&n){const t=e.XpG(5);e.R7$(),e.Y8G("ngIf",t.form.controls.message.hasError("maxlength")),e.R7$(),e.Y8G("ngIf",t.form.controls.message.hasError("required"))}}function lP(n,r){if(1&n&&(e.j41(0,"div",46),e.DNE(1,oP,2,1,"label",50),e.nrm(2,"textarea",51),e.DNE(3,sP,3,2,"div",48),e.k0s()),2&n){const t=e.XpG(4);e.AVh("has-error",!t.form.controls.message.valid&&t.form.controls.message.touched),e.R7$(),e.Y8G("ngIf",null==t.formContent?null:t.formContent.message.label),e.R7$(),e.Y8G("placeholder",null==t.formContent?null:t.formContent.message.question.placeholder),e.R7$(),e.Y8G("ngIf",!t.form.controls.message.valid&&t.form.controls.message.touched)}}function cP(n,r){if(1&n&&(e.j41(0,"label",55),e.EFF(1),e.k0s()),2&n){const t=e.XpG(5);e.R7$(),e.SpI(" ",null==t.formContent?null:t.formContent.email.label,"")}}function pP(n,r){1&n&&(e.j41(0,"div"),e.EFF(1," Enter a valid email address. "),e.k0s())}function mP(n,r){1&n&&(e.j41(0,"div"),e.EFF(1," Enter your email address. "),e.k0s())}function _P(n,r){if(1&n&&(e.j41(0,"div",49),e.DNE(1,pP,2,0,"div",16)(2,mP,2,0,"div",16),e.k0s()),2&n){const t=e.XpG(5);e.R7$(),e.Y8G("ngIf",t.form.controls.email.hasError("email")),e.R7$(),e.Y8G("ngIf",t.form.controls.email.hasError("required"))}}function dP(n,r){if(1&n&&(e.j41(0,"div",46),e.DNE(1,cP,2,1,"label",53),e.nrm(2,"input",54),e.DNE(3,_P,3,2,"div",48),e.k0s()),2&n){const t=e.XpG(4);e.AVh("has-error",!t.form.controls.email.valid&&t.form.controls.email.touched),e.R7$(),e.Y8G("ngIf",null==t.formContent?null:t.formContent.email.label),e.R7$(2),e.Y8G("ngIf",!t.form.controls.email.valid&&t.form.controls.email.touched)}}function uP(n,r){1&n&&(e.j41(0,"div",56),e.nrm(1,"input",57),e.k0s())}function gP(n,r){1&n&&(e.j41(0,"div",56),e.nrm(1,"input",58),e.k0s())}function hP(n,r){if(1&n&&(e.j41(0,"div",59)(1,"div",60),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(4);e.R7$(2),e.SpI(" ",null==t.formContent?null:t.formContent.legalMessage," ")}}function fP(n,r){if(1&n&&(e.j41(0,"button",61),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4);e.Y8G("disabled",!t.form.valid),e.R7$(),e.SpI(" ",null==t.formContent?null:t.formContent.submit.label," ")}}
1function vP(n,r){1&n&&(e.j41(0,"div",62),e.EFF(1,"Something went wrong, please try again! "),e.k0s())}function bP(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",38),e.DNE(1,eP,2,1,"h4",16)(2,tP,2,1,"p",16),e.j41(3,"form",39),e.bIt("ngSubmit",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.onSubmit("feedback"))}),e.DNE(4,iP,3,7,"div",40)(5,lP,4,5,"div",40)(6,dP,4,4,"div",40)(7,uP,2,0,"div",41)(8,gP,2,0,"div",41)(9,hP,3,1,"div",42),e.j41(10,"div",43),e.DNE(11,fP,2,2,"button",44),e.k0s()(),e.DNE(12,vP,2,0,"div",45),e.k0s()}if(2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",null==t.formContent?null:t.formContent.title),e.R7$(),e.Y8G("ngIf",null==t.formContent?null:t.formContent.intro),e.R7$(),e.Y8G("formGroup",t.form),e.R7$(),e.Y8G("ngIf",null==t.formContent?null:t.formContent.dropDownQuery),e.R7$(),e.Y8G("ngIf",null==t.formContent?null:t.formContent.message),e.R7$(),e.Y8G("ngIf",null==t.formContent?null:t.formContent.email),e.R7$(),e.Y8G("ngIf",null==t.formContent?null:t.formContent.honeypotHiddenField),e.R7$(),e.Y8G("ngIf",null==t.formContent?null:t.formContent.honeypotTime),e.R7$(),e.Y8G("ngIf",null==t.formContent?null:t.formContent.legalMessage),e.R7$(2),e.Y8G("ngIf",null==t.formContent?null:t.formContent.submit),e.R7$(),e.Y8G("ngIf",t.showErrorMessage)}}function CP(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",63)(1,"div",64),e.EFF(2,"Thank you for your message."),e.k0s(),e.nrm(3,"br"),e.j41(4,"div",65),e.EFF(5,"We will come back to you as soon as possible."),e.k0s(),e.nrm(6,"br"),e.j41(7,"div",66),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.closeModal())}),e.EFF(8," Got it "),e.k0s()()}}function TP(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",31)(1,"div",32),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.closeModal())}),e.k0s(),e.j41(2,"div",33)(3,"div",34)(4,"div",35),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.closeModal())}),e.k0s()(),e.DNE(5,bP,13,11,"div",36)(6,CP,9,0,"div",37),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.AVh("thanks",t.showThankYouMessage),e.R7$(3),e.Y8G("ngIf",!t.showThankYouMessage),e.R7$(),e.Y8G("ngIf",t.showThankYouMessage)}}function xP(n,r){if(1&n&&(e.j41(0,"section",2)(1,"div",3)(2,"div",4)(3,"div",5),e.DNE(4,SF,3,3,"div",6),e.j41(5,"div",7)(6,"div",8),e.DNE(7,DF,3,3,"div",9)(8,zF,3,3,"div",10),e.k0s(),e.j41(9,"div",11),e.DNE(10,QF,3,3,"div",12)(11,ZF,2,0,"div",13),e.k0s()()()()(),e.DNE(12,TP,7,4,"div",14),e.k0s()),2&n){const t=e.XpG();e.R7$(4),e.Y8G("ngIf",t.content.headOfficeLocation.locationMap.visibility&&t.content.headOfficeLocation.locationMap.value),e.R7$(3),e.Y8G("ngIf",t.content.headOfficeLocation.locationTitle.visibility&&t.content.headOfficeLocation.locationTitle.value),e.R7$(),e.Y8G("ngIf",t.content.headOfficeLocation.locationAddress.visibility&&t.content.headOfficeLocation.locationAddress.value),e.R7$(2),e.Y8G("ngIf",t.content.headOfficeLocation.locationPhones.visibility&&t.content.headOfficeLocation.locationPhones.value&&t.content.headOfficeLocation.locationPhones.value.length),e.R7$(),e.Y8G("ngIf",t.content.talkToUs.value),e.R7$(),e.Y8G("ngIf",t.formContent)}}function kP(n,r){if(1&n&&e.nrm(0,"app-hide-field",68),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function yP(n,r){1&n&&e.DNE(0,kP,1,1,"app-hide-field",67),2&n&&e.Y8G("ngIf",r.errorText)}let Ko=(()=>{class n{constructor(t,i,o,a,s,c){this.doc=t,this.config=i,this.store=o,this.router=a,this.cdRef=s,this.renderer=c,this.maxInputCharacter=1e3,this.showThankYouMessage=!1,this.showErrorMessage=!1,this.ngUnsubscribe=new re.B,this.mapStyle=[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}]}ngOnInit(){this.currentPage=("/"===this.router.url?"/home":this.router.url).replace(/\//gi,"_")}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}getMapsLink(t){return`https://maps.google.com/?q=${t.latitude},${t.longitude}`}loadFeedbackForm(){let t=this.content.talkToUs.value;return"/"===t.substring(0,1)&&(t=t.substring(1)),this.loadForm("feedback",`/${t}`)}loadForm(t,i){var o=this;return(0,_.A)(function*(){o.componentFormId="contact-office-location-feedback_"+t+o.currentPage,yield o.dispatchLoadForm(i,o.componentFormId),o.formLoaded()})()}dispatchLoadForm(t,i){var o=this;return(0,_.A)(function*(){yield o.store.dispatch({type:h.pO.FormLoading,payload:{id:i,endpoint:t}})})()}formLoaded(){(0,FF.z)([this.store.pipe((0,u.Lt)(h.eM)),this.store.pipe((0,u.Lt)(h.MK))]).pipe((0,W.p)(t=>!!t[1]&&t[0]===this.componentFormId),(0,A.T)(t=>({id:t[0],content:t[1]})),(0,ie.Q)(this.ngUnsubscribe)).subscribe(t=>{this.formContent=t.content;const i=t.content.dropDownQuery.options;this.formItems=Object.keys(i).map(o=>({value:o,label:i[o]})),this.form=RF.u.createForm("feedback",this.maxInputCharacter,this.formItems),this.bannerOpen=!0,this.blockBodyScroll(!0),this.cdRef.markForCheck()})}getFeedbackPayload(t){return{dropDownQuery:t.dropDownQuery?t.dropDownQuery.label:null,message:t.message,email:t.email,honeypotTime:t.honeypotTime,hiddenField:t.hiddenField||""}}onSubmit(){this.form&&(this.form.get("honeypotTime").setValue(this.formContent.honeypotTime),this.store.dispatch({type:h.pO.FormValidation,payload:{id:this.componentFormId,validated:this.form.valid,values:this.getFeedbackPayload(this.form.value),endpoint:this.config.apiServer+this.formContent.submit.uri}}),this.form.valid&&this.sentForm())}sentForm(){this.store.pipe((0,u.Lt)(h.zA),(0,ie.Q)(this.ngUnsubscribe)).subscribe(t=>{!0===t?(this.showThankYouMessage=!0,this.showErrorMessage=!1):!1===t&&(this.showErrorMessage=!0),this.cdRef.markForCheck()})}closeModal(){this.formContent=null,this.showThankYouMessage=!1,this.showErrorMessage=!1,this.store.dispatch({type:h.pO.FormReset}),this.blockBodyScroll(!1),this.cdRef.markForCheck()}blockBodyScroll(t){const i=this.doc.getElementsByTagName("body")[0];t?this.renderer.addClass(i,"block-scroll"):this.renderer.removeClass(i,"block-scroll")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(l.qQ),e.rXU(Le.w),e.rXU(u.il),e.rXU(G.Ix),e.rXU(e.gRc),e.rXU(e.sFG))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-contact-office-location-promo"]],inputs:{content:"content"},decls:3,vars:1,consts:[["emptyvalue",""],["id","contact-office-location-promo","class","contact-office-location component gtm-track-component",4,"ngIf"],["id","contact-office-location-promo",1,"contact-office-location","component","gtm-track-component"],[1,"wrapper","promo","x-large-width","x-large-width-padding"],[1,"flex-wrapper","spaced-flex-container"],[1,"single-location","mobile-flex-wrapper","spaced-flex-container","x-large-width"],["class","single-location-map regular-width",4,"ngIf"],[1,"single-location-info","x-small-width"],[1,"single-location-info-top"],["class","single-location-title",4,"ngIf"],["class","single-location-address",4,"ngIf"],[1,"single-location-info-bottom"],["class","single-location-phones",4,"ngIf"],["class","talk-us-button gold-button bold-font-weight regular-font-size gtm-trackable",3,"click",4,"ngIf"],["class","overlay-container open-modal",4,"ngIf"],[1,"single-location-map","regular-width"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["height","100%",3,"latitude","longitude","zoom","streetViewControl","disableDefaultUI","zoomControl","gestureHandling","styles"],[3,"latitude","longitude","iconUrl"],[1,"single-location-title"],[1,"bigger-font-size","blue-text","regular-font-we
1ight"],[1,"single-location-address"],["class","big-font-size",4,"ngIf"],["target","_blank",3,"href",4,"ngIf"],[1,"big-font-size"],["target","_blank",3,"href"],[1,"single-location-phones"],[4,"ngFor","ngForOf"],[3,"href"],[1,"talk-us-button","gold-button","bold-font-weight","regular-font-size","gtm-trackable",3,"click"],[1,"overlay-container","open-modal"],[1,"overlay","modal-overlay",3,"click"],[1,"overlay-wrapper"],[1,"close-icon"],[1,"close-overlay",3,"click"],["class","talk-to-us-open",4,"ngIf"],["class","talk-to-us-thanks",4,"ngIf"],[1,"talk-to-us-open"],[1,"gtm-track-form",3,"ngSubmit","formGroup"],["class","form-group",3,"has-error",4,"ngIf"],["class","hide-field",4,"ngIf"],["class","legal form-group",4,"ngIf"],[1,"next-step"],["type","submit","class","gold-button bold-font-weight bigger-font-size gtm-trackable",3,"disabled",4,"ngIf"],["class","bold-font-weight error-message",4,"ngIf"],[1,"form-group"],["formControlName","dropDownQuery","required","",1,"form-control","form-select",3,"searchable","clearable","items","placeholder"],["class","alert small-font-size",4,"ngIf"],[1,"alert","small-font-size"],["for","contactUs-message","class","bold-font-weight",4,"ngIf"],["formControlName","message","name","message","id","contactUs-message","rows","5","required","",1,"form-control",3,"placeholder"],["for","contactUs-message",1,"bold-font-weight"],["for","contactUs-email-address","class","bold-font-weight",4,"ngIf"],["formControlName","email","name","email","type","email","id","contactUs-email-address","aria-describedby","email-address",1,"form-control"],["for","contactUs-email-address",1,"bold-font-weight"],[1,"hide-field"],["formControlName","hiddenField","type","text","name","hiddenField"],["formControlName","honeypotTime","type","hidden","name","honeypotTime"],[1,"legal","form-group"],[1,"privacy-policy"],["type","submit",1,"gold-button","bold-font-weight","bigger-font-size","gtm-trackable",3,"disabled"],[1,"bold-font-weight","error-message"],[1,"talk-to-us-thanks"],[1,"bold-font-weight","big-font-size"],[1,"regular-font-size"],[1,"talk-us-thanks-button","gold-button","bold-font-weight","regular-font-size",3,"click"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&e.DNE(0,xP,13,6,"section",1)(1,yP,1,1,"ng-template",null,0,e.C5r),2&i&&e.Y8G("ngIf",o.content.headOfficeLocation)},dependencies:[l.Sq,l.bT,l.T3,g.qT,g.me,g.BC,g.cb,g.YS,y.W,g.j4,g.JD,ne.vr,Zt,en,Ho,Wo],styles:[".contact-office-location[_ngcontent-%COMP%]{margin-bottom:3.5rem}.single-location[_ngcontent-%COMP%]{border:.0625rem solid #fafafa;color:#000;margin-bottom:2.5rem}.single-location-info[_ngcontent-%COMP%]{align-items:flex-start;display:flex;flex-wrap:wrap;order:1;padding:2rem}.single-location-map[_ngcontent-%COMP%]{background-color:#fafafa;color:#000;min-height:24rem}.promo[_ngcontent-%COMP%] .single-location-map[_ngcontent-%COMP%]{min-height:28rem}@media (max-width: 768px){.promo[_ngcontent-%COMP%] .single-location-map[_ngcontent-%COMP%]{order:2}}.side-by-side[_ngcontent-%COMP%] .single-location-map[_ngcontent-%COMP%]{width:45%}.side-by-side[_ngcontent-%COMP%] .single-location-info[_ngcontent-%COMP%]{padding-left:2.5rem;width:55%}.single-location-title[_ngcontent-%COMP%], .single-location-address[_ngcontent-%COMP%]{margin-bottom:1rem}.single-location-info-top[_ngcontent-%COMP%]{width:100%}.single-location-info-bottom[_ngcontent-%COMP%]{align-self:flex-end;width:100%}.talk-us-button[_ngcontent-%COMP%]{margin-bottom:0;margin-top:1rem;width:100%}.feedback__link[_ngcontent-%COMP%]{float:right}@media (max-width: 480px){.feedback__link[_ngcontent-%COMP%]{float:none}}.half-width[_ngcontent-%COMP%]{width:50%}@media (max-width: 768px){.half-width[_ngcontent-%COMP%]{width:100%}}.error-message[_ngcontent-%COMP%]{color:#7e1b1b;padding:2rem 0 0}.hide-field[_ngcontent-%COMP%]{display:none}label[_ngcontent-%COMP%] + textarea[_ngcontent-%COMP%]{margin-top:.5rem}.open-modal[_ngcontent-%COMP%]{overflow:hidden}.talk-to-us-thanks[_ngcontent-%COMP%]{padding:1.5rem;text-align:center}.talk-to-us-thanks[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;margin:.5rem auto}.talk-to-us-thanks[_ngcontent-%COMP%] .talk-us-thanks-button[_ngcontent-%COMP%]{margin-top:2rem;min-width:50%}.overlay-wrapper[_ngcontent-%COMP%]{max-height:80vh;max-width:38rem;overflow-y:auto}@media (max-width: 768px){.overlay-wrapper[_ngcontent-%COMP%]{inset:0;margin:0;max-width:100%;overflow:scroll;position:fixed;width:100%}}.overlay-wrapper.thanks[_ngcontent-%COMP%]{width:auto}agm-map[_ngcontent-%COMP%]{height:100%}.ng-select[_ngcontent-%COMP%]{margin-bottom:0}"]})}}return n})();p(9886);var ht=p(62676);const it=n=>({errorText:n});function wP(n,r){if(1&n&&(e.j41(0,"h2",9),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.title)}}function IP(n,r){if(1&n&&(e.j41(0,"span",11),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.totalItems," results ")}}function MP(n,r){if(1&n&&(e.j41(0,"span",11),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.totalItems," result ")}}function OP(n,r){if(1&n&&(e.qex(0),e.DNE(1,IP,2,1,"span",10)(2,MP,2,1,"span",10),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.totalItems>1),e.R7$(),e.Y8G("ngIf",t.totalItems<=1)}}function RP(n,r){if(1&n&&e.nrm(0,"span"),2&n){const t=e.XpG(3).$implicit;e.ZvI("icon-",t.icon.value,"")}}function FP(n,r){if(1&n&&(e.qex(0),e.DNE(1,RP,1,3,"span",21),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.icon.value)}}function PP(n,r){if(1&n&&(e.qex(0),e.DNE(1,FP,2,1,"ng-container",6),e.eu8(2,20),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.icon.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,it,t.icon.errorText))}}function GP(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"a",22),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2).$implicit,a=e.XpG(2);return e.Njj(a.selection(a.getPagesLink(o),o.title.value,"pages"))}),e.EFF(2),e.k0s(),e.bVm()}if(2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(),e.Y8G("href",i.getPagesLink(t),e.B4B),e.R7$(),e.SpI(" ",t.title.value," ")}}function SP(n,r){if(1&n&&(e.qex(0),e.DNE(1,GP,3,2,"ng-container",6),e.eu8(2,20),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.title.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,it,t.title.errorText))}}function $P(n,r){if(1&n&&(e.j41(0,"span",24),e.EFF(1),e.nI1(2,"customdate"),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.lastupdate.value,"long"))}}function EP(n,r){if(1&n&&(e.qex(0),e.DNE(1,$P,3,4,"span",23),e.bVm()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.lastupdate.value&&i.canDisplayDate(t))}}function DP(n,r){if(1&n&&(e.qex(0),e.DNE(1,EP,2,1,"ng-container",6),e.eu8(2,20),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.lastupdate.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,it,t.lastupdate.errorText))}}function jP(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"a",25),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2).$implicit,a=e.XpG(2);return e.Njj(a.selection(a.getPagesLink(o),o.title.value,"pages"))}),e.EFF(2),e.k0s(),e.bVm()}if(2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.R7$(),e.Y8G("href",i.getPagesLink(t),e.B4B),e.R7$(),e.SpI(" ",i.getPagesLink(t)," ")}}function NP(n,r){if(1&n&&(e.qex(0),e.DNE(1,jP,3,2,"ng-container",6),e.eu8(2,20),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.url.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,it,t.url.errorText))}}function YP(n,r){if(1&n&&(e.j41(0,"div",27),e.EFF(1),e.nI1(2,"customdate"),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",e.i5U(2,1,t.lastupdate.value,"long")," ")}}function XP(n,r){if(1&n&&(e.qex(0),e.DNE(1,YP,3,4,"div",26),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.lastupdate.value)}}function BP(n,r){if(1&n&&(e.qex(0),e.DNE(1,XP,2,1,"ng-container",6),e.eu8(2,20),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.lastupdate.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,it,t.lastupdate.errorText))}}function VP(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",28),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(2),e.SpI(" ",t.metadescription.value," ")}}function LP(n,r){if(1&n&&(e.qex(0),e.DNE(1,VP,3,1,"ng-container",6),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.metadescription.value)}}function AP(n,r){if(1&n&&(e.qex(0),e.DNE(1,LP,2,1,"ng-container",6),e.eu8(2,20),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.metadescription.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,it,t.metadescription.errorText))}}function qP(n,r){if(1&n&&(e.j41(0,"a",33),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.Y8G("href",t.uri,e.B4B),e.R7$(),e.JRh(t.title)}}function UP(n,r){if(1&n&&(e.qex(0),e.DNE(1,qP,2,2,"a",32),e.bVm()),2&n){const t=r.last;e.R7$(),e.Y8G("ngIf",!t)}}function zP(n,r){if(1&n&&(e.j41(0,"span",30),e.DNE(1,UP,2,1,"ng-container",31),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.Y8G("ngForOf",t.breadcrumb.value)}}function HP(n,r){if(1&n&&(e.qex(0),e.DNE(1,zP,2,1,"span",29),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.breadcrumb.value)}}function WP(n,r){if(1&n&&(e.qex(0),e.DNE(1,HP,2,1,"ng-container",6),e.eu8(2,20),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.breadcrumb.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,it,t.breadcrumb.errorText))}}function JP(n,r){if(1&n&&(e.j41(0,"div",34),e.qex(1),e.j41(2,"div",35),e.EFF(3),e.k0s(),e.bVm(),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.R7$(3),e.SpI(" ",i.getDirectoryTypeHumanReadable(t.type.value)," ")}}function KP(n,r){if(1&n&&(e.j41(0,"div",37),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.SpI(" ",t," ")}}function QP(n,r){if(1&n&&(e.qex(0),e.DNE(1,KP,2,1,"div",36),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngForOf",t.tags.value)}}function ZP(n,r){if(1&n&&(e.qex(0),e.DNE(1,QP,2,1,"ng-container",6),e.eu8(2,20),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.tags.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,it,t.tags.errorText))}}function eG(n,r){if(1&n&&(e.j41(0,"div",12)(1,"div",13)(2,"div",14),e.DNE(3,PP,3,5,"ng-container",6),e.k0s(),e.j41(4,"div",15)(5,"div",16),e.DNE(6,SP,3,5,"ng-container",6)(7,DP,3,5,"ng-container",6),e.k0s(),e.DNE(8,NP,3,5,"ng-container",6)(9,BP,3,5,"ng-container",6),e.j41(10,"div",17),e.DNE(11,AP,3,5,"ng-container",6)(12,WP,3,5,"ng-container",6),e.k0s(),e.DNE(13,JP,4,1,"div",18),e.j41(14,"div",19),e.DNE(15,ZP,3,5,"ng-container",6),e.k0s()()()()),2&n){const t=r.$implicit,i=e.XpG(2);e.R7$(3),e.Y8G("ngIf",t.icon.visibility),e.R7$(3),e.Y8G("ngIf",t.title.visibility),e.R7$(),e.Y8G("ngIf",t.lastupdate.visibility),e.R7$(),e.Y8G("ngIf",t.url.visibility),e.R7$(),e.Y8G("ngIf",t.lastupdate.visibility&&i.canDisplayDate(t)),e.R7$(2),e.Y8G("ngIf",t.metadescription.visibility),e.R7$(),e.Y8G("ngIf",t.breadcrumb.visibility),e.R7$(),e.Y8G("ngIf",!i.canDisplayDate(t)&&i.getDirectoryTypeHumanReadable(t.type.value)),e.R7$(2),e.Y8G("ngIf",t.tags.visibility)}}function tG(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",38),e.bIt("click",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.showAll(o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("href",t.getSearchLink(t.searchType),e.B4B),e.R7$(),e.JRh(t.showAllLabel)}}function nG(n,r){if(1&n&&(e.j41(0,"div",3)(1,"div",4),e.DNE(2,wP,2,1,"h2",5)(3,OP,3,2,"ng-container",6),e.k0s(),e.DNE(4,eG,16,9,"div",7)(5,tG,2,2,"a",8),e.k0s()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.title),e.R7$(),e.Y8G("ngIf","all"===t.parentSearchType),e.R7$(),e.Y8G("ngForOf",t.listOfItems),e.R7$(),e.Y8G("ngIf","all"===t.parentSearchType&&t.totalItems>5)}}function iG(n,r){if(1&n&&e.nrm(0,"app-hide-field",40),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function oG(n,r){1&n&&e.DNE(0,iG,1,1,"app-hide-field",39),2&n&&e.Y8G("ngIf",r.errorText)}function rG(n,r){if(1&n&&(e.j41(0,"div",42),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.noResultFound," ")}}function aG(n,r){if(1&n&&e.DNE(0,rG,2,1,"div",41),2&n){const t=e.XpG();e.Y8G("ngIf",t.isThatSearchType)}}let Qo=(()=>{class n{constructor(){this.showAllEmitter=new e.bkB,this.selectionEmitter=new e.bkB}ngOnInit(){}showAll(t){t&&t.preventDefault(),this.showAllEmitter.emit()}selection(t,i,o){this.selectionEmitter.emit({url:t,text:i,searchtype:o})}getSearchLink(){return k.T.getLink("search",(new F.Nl).set("searchtype",this.searchType).set("q",this.searchTerm))}getPagesLink(t){return t?t.url&&t.url.value?t.url.value:this.getOtherLink(t.type.value,t.firmid.value,t.firmname.value):"#"}getOtherLink(t,i,o){return t&&i&&o&&ht.g.has(t)?this.getLinkByType(t,i,o):"#"}getLinkByType(t,i,o){const a=ht.g.get(t)||"",s=k.T.getDirectoryUrl(
1a,i,o);return`${M.c.baseUrl}/${s}`}canDisplayDate(t){return!(!t||!t.world)&&"documents"===t.world.value}getDirectoryTypeHumanReadable(t){return ht.c.get(t)||""}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-pages-content"]],inputs:{searchType:"searchType",parentSearchType:"parentSearchType",searchTerm:"searchTerm",isThatSearchType:"isThatSearchType",title:"title",showAllLabel:"showAllLabel",noResultFound:"noResultFound",listOfItems:"listOfItems",totalItems:"totalItems"},outputs:{showAllEmitter:"showAllEmitter",selectionEmitter:"selectionEmitter"},decls:5,vars:2,consts:[["emptyvalue",""],["noContent",""],["class","list-container",4,"ngIf","ngIfElse"],[1,"list-container"],[1,"head-container","mobile-flex-container"],["class","large-font-size",4,"ngIf"],[4,"ngIf"],["class","item-separator",4,"ngFor","ngForOf"],["class","base-font-size bold-font-weight show-all-link",3,"href","click",4,"ngIf"],[1,"large-font-size"],["class","item-result-label big-font-size",4,"ngIf"],[1,"item-result-label","big-font-size"],[1,"item-separator"],[1,"item-container"],[1,"item-logo"],[1,"item-content"],[1,"pages-title-date"],[1,"pages-meta-and-breadcrumbs","mobile-flex-wrapper","spaced-flex-container","flex-align-end"],["class","pages-type",4,"ngIf"],[1,"pages-tags"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"class",4,"ngIf"],[1,"pages-title","bold-font-weight",3,"click","href"],["class","pages-date hide-on-portrait",4,"ngIf"],[1,"pages-date","hide-on-portrait"],[1,"pages-link","ellipsed",3,"click","href"],["class","pages-date show-on-mobile",4,"ngIf"],[1,"pages-date","show-on-mobile"],[1,"pages-metadescription"],["class","pages-breadcrumbs medium-font-weight",4,"ngIf"],[1,"pages-breadcrumbs","medium-font-weight"],[4,"ngFor","ngForOf"],["class","crumb",3,"href",4,"ngIf"],[1,"crumb",3,"href"],[1,"pages-type"],[1,"medium-font-weight"],["class","pages-tag small-font-size",4,"ngFor","ngForOf"],[1,"pages-tag","small-font-size"],[1,"base-font-size","bold-font-weight","show-all-link",3,"click","href"],[3,"errorText",4,"ngIf"],[3,"errorText"],["class","no-results-search-content wrapper x-large-width x-large-width-padding large-font-size",4,"ngIf"],[1,"no-results-search-content","wrapper","x-large-width","x-large-width-padding","large-font-size"]],template:function(i,o){if(1&i&&e.DNE(0,nG,6,4,"div",2)(1,oG,1,1,"ng-template",null,0,e.C5r)(3,aG,1,1,"ng-template",null,1,e.C5r),2&i){const a=e.sdS(4);e.Y8G("ngIf",o.listOfItems&&o.listOfItems.length>0&&o.isThatSearchType)("ngIfElse",a)}},dependencies:[l.Sq,l.bT,l.T3,y.W,U.W],styles:['.head-container[_ngcontent-%COMP%]{align-items:center}.head-container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:0}.head-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;margin-left:1.4125rem}.head-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-right:1rem}.list-container[_ngcontent-%COMP%]{margin-bottom:2.5rem}.item-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:1rem 0}.item-logo[_ngcontent-%COMP%]{margin-right:1rem;max-height:3rem;width:2.125rem}
1.item-separator[_ngcontent-%COMP%]{border-bottom:.0625rem solid #b2b2b2}.item-content[_ngcontent-%COMP%]{flex-shrink:0;overflow:hidden;width:calc(100% - 3.125rem)}.item-content[_ngcontent-%COMP%] .pages-title[_ngcontent-%COMP%]{color:#000;margin-right:1.5rem;overflow-wrap:break-word;word-break:break-word}.item-content[_ngcontent-%COMP%] .pages-date[_ngcontent-%COMP%]{color:#999}@media (max-width: 1023px){.item-content[_ngcontent-%COMP%] .pages-date[_ngcontent-%COMP%]{display:block;margin-top:1rem}}.item-content[_ngcontent-%COMP%] .pages-link[_ngcontent-%COMP%]{color:#000;margin-top:1rem}.item-content[_ngcontent-%COMP%] .pages-body[_ngcontent-%COMP%]{margin-bottom:.5rem}.item-content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.item-content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.show-all-link[_ngcontent-%COMP%]{display:block;margin-top:2rem}@media (max-width: 1023px){.bigger-font-size[_ngcontent-%COMP%]{font-size:.984375rem}}.pages-meta-and-breadcrumbs[_ngcontent-%COMP%]{flex-wrap:nowrap;width:100%}@media (max-width: 1023px){.pages-meta-and-breadcrumbs[_ngcontent-%COMP%]{flex-wrap:wrap}}.pages-metadescription[_ngcontent-%COMP%]{flex:1;line-height:1.5rem;margin-top:1rem;max-width:65%;min-width:35%}@media (max-width: 1023px){.pages-metadescription[_ngcontent-%COMP%]{max-width:100%;width:100%}}.pages-breadcrumbs[_ngcontent-%COMP%]{margin-top:1rem;text-align:right}@media (max-width: 1023px){.pages-breadcrumbs[_ngcontent-%COMP%]{text-align:left;width:100%}}.pages-type[_ngcontent-%COMP%]{margin-top:.5rem}.crumb[_ngcontent-%COMP%]{display:inline-block;line-height:1.5rem;margin-right:.3rem}.crumb[_ngcontent-%COMP%]:after{content:">";display:inline-block;margin-left:.3rem}.crumb[_ngcontent-%COMP%]:last-child{margin-right:0}.crumb[_ngcontent-%COMP%]:last-child:after{content:none;margin-left:0}.pages-tags[_ngcontent-%COMP%]{margin-top:.5rem}[class^=icon-][_ngcontent-%COMP%], [class*=" icon-"][_ngcontent-%COMP%]{height:4.8rem;position:relative;top:-1rem;width:4.8rem}[class^=icon-][_ngcontent-%COMP%]:before, [class*=" icon-"][_ngcontent-%COMP%]:before{height:4.75rem;width:6.75rem}.icon-pages[_ngcontent-%COMP%]{top:-1.5rem}']})}}return n})();const Re=n=>({errorText:n});function sG(n,r){if(1&n&&(e.j41(0,"h2",9),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.title)}}function lG(n,r){if(1&n&&(e.j41(0,"span",11),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.totalItems," results ")}}function cG(n,r){if(1&n&&(e.j41(0,"span",11),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.totalItems," result ")}}function pG(n,r){if(1&n&&(e.qex(0),e.DNE(1,lG,2,1,"span",10)(2,cG,2,1,"span",10),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.totalItems>1),e.R7$(),e.Y8G("ngIf",t.totalItems<=1)}}function mG(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",23),e.EFF(2),e.nI1(3,"etfs"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.JRh(e.bMT(3,1,t.category.value))}}function _G(n,r){if(1&n&&(e.qex(0),e.DNE(1,mG,4,3,"ng-container",6),e.eu8(2,22),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.category.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Re,t.category.errorText))}}function dG(n,r){1&n&&e.nrm(0,"span",26)}function uG(n,r){1&n&&e.eu8(0)}function gG(n,r){if(1&n&&(e.qex(0),e.DNE(1,dG,1,0,"span",24)(2,uG,1,0,"ng-container",25),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.searchtags.errorText&&t.searchtags.value.hasGreenBond),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.searchtags)}}function hG(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",29),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3).$implicit,a=e.XpG(2);return e.Njj(a.selection(o.url.value,o.description.value,a.searchType))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(3).$implicit;e.Y8G("href",t.url.value,e.B4B),e.R7$(),e.SpI(" ",t.issuername.value," ")}}function fG(n,r){if(1&n&&(e.j41(0,"span",30),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",t.issuername.value," ")}}function vG(n,r){if(1&n&&(e.qex(0),e.DNE(1,hG,2,2,"a",27)(2,fG,2,1,"span",28),e.eu8(3,22),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",t.issuername.value&&t.url.value),e.R7$(),e.Y8G("ngIf",t.issuername.value&&!t.url.value),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(4,Re,t.issuername.errorText))}}function bG(n,r){if(1&n&&(e.qex(0),e.DNE(1,vG,4,6,"ng-container",6),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",!t.issuername.errorText)}}function CG(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",29),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3).$implicit,a=e.XpG(2);return e.Njj(a.selection(o.marketurl.value,o.description.value,a.searchType))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(3).$implicit;e.Y8G("href",t.marketurl.value,e.B4B),e.R7$(),e.SpI(" ",t.marketname.value," ")}}function TG(n,r){if(1&n&&(e.j41(0,"span",30),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",t.marketname.value," ")}}function xG(n,r){if(1&n&&(e.qex(0),e.DNE(1,CG,2,2,"a",27)(2,TG,2,1,"span",28),e.eu8(3,22),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",t.marketname.value&&t.marketurl.value),e.R7$(),e.Y8G("ngIf",t.marketname.value&&!t.marketurl.value),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(4,Re,t.marketname.errorText))}}function kG(n,r){if(1&n&&(e.qex(0),e.DNE(1,xG,4,6,"ng-container",6),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",!t.marketname.errorText)}}function yG(n,r){if(1&n&&(e.j41(0,"span",33),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4).$implicit;e.R7$(),e.JRh(t.tidm.value)}}function wG(n,r){if(1&n&&(e.qex(0),e.DNE(1,yG,2,1,"span",32),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.Y8G("ngIf",t.tidm.value)}}function IG(n,r){if(1&n&&(e.qex(0),e.DNE(1,wG,2,1,"ng-container",6),e.eu8(2,22),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.tidm.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Re,t.tidm.errorText))}}function MG(n,r){if(1&n&&(e.j41(0,"span",30),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4).$implicit;e.R7$(),e.JRh(t.description.value)}}function OG(n,r){if(1&n&&(e.qex(0),e.DNE(1,MG,2,1,"span",28),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.Y8G("ngIf",t.description.value)}}function RG(n,r){if(1&n&&(e.qex(0),e.DNE(1,OG,2,1,"ng-container",6),e.eu8(2,22),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.description.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Re,t.description.errorText))}}function FG(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",31),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(2);return e.Njj(a.selection(o.url.value,o.description.value,a.searchType))}),e.DNE(1,IG,3,5,"ng-container",6)(2,RG,3,5,"ng-container",6),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.Y8G("href",t.url.value,e.B4B),e.R7$(),e.Y8G("ngIf",t.tidm.visibility),e.R7$(),e.Y8G("ngIf",t.description.visibility)}}function PG(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",36),e.EFF(2),e.nI1(3,"customnumber"),e.k0s(),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(2),e.JRh(e.bMT(3,1,t.lastprice.value))}}function GG(n,r){if(1&n&&(e.qex(0),e.DNE(1,PG,4,3,"ng-container",6),e.eu8(2,22),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.lastprice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Re,t.lastprice.errorText))}}function SG(n,r){if(1&n&&(e.j41(0,"span",38),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4).$implicit;e.R7$(),e.JRh(t.currency.value)}}function $G(n,r){if(1&n&&(e.qex(0),e.DNE(1,SG,2,1,"span",37),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.Y8G("ngIf",t.currency.value)}}function EG(n,r){if(1&n&&(e.qex(0),e.DNE(1,$G,2,1,"ng-container",6),e.eu8(2,22),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.currency.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Re,t.currency.errorText))}}function DG(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI("",e.bMT(2,1,t.percentualchange.value),"% ")}}function jG(n,r){if(1&n&&(e.j41(0,"span",39),e.DNE(1,DG,3,3,"ng-container",40),e.eu8(2,22),e.k0s()),2&n){const t=e.XpG(2).$implicit,i=e.XpG(2),o=e.sdS(2),a=e.sdS(4);e.Y8G("ngClass",!t.percentualchange.errorText&&t.percentualchange.visibility?i.getCssClass(t.netchangesign.value):""),e.R7$(),e.Y8G("ngIf",!t.percentualchange.errorText&&t.percentualchange.value)("ngIfElse",a),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.eq3(5,Re,t.percentualchange.errorText))}}function NG(n,r){if(1&n&&(e.j41(0,"span",34),e.DNE(1,GG,3,5,"ng-container",6)(2,EG,3,5,"ng-container",6)(3,jG,3,7,"span",35),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.lastprice.visibility),e.R7$(),e.Y8G("ngIf",t.currency.visibility),e.R7$(),e.Y8G("ngIf",t.percentualchange.visibility)}}function YG(n,r){if(1&n&&(e.j41(0,"span",34)(1,"span",36),e.EFF(2,"Sector:"),e.k0s(),e.j41(3,"span"),e.EFF(4),e.k0s()()),2&n){const t=e.XpG(3).$implicit;e.R7$(4),e.JRh(t.sector.value)}}
1function XG(n,r){if(1&n&&(e.qex(0),e.DNE(1,YG,5,1,"span",21),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.sector.value)}}function BG(n,r){if(1&n&&(e.qex(0),e.DNE(1,XG,2,1,"ng-container",6),e.eu8(2,22),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.sector.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Re,t.sector.errorText))}}function VG(n,r){1&n&&(e.j41(0,"span",42),e.EFF(1,"Instruments:"),e.k0s())}function LG(n,r){1&n&&(e.j41(0,"span",42),e.EFF(1,"Instrument:"),e.k0s())}function AG(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4).$implicit;e.R7$(),e.JRh(t.issuerrelatedinstruments.value)}}function qG(n,r){if(1&n&&(e.j41(0,"span",34),e.DNE(1,VG,2,0,"span",41)(2,LG,2,0,"span",41)(3,AG,2,1,"span",6),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.Y8G("ngIf",t.issuerrelatedinstruments.value&&t.issuerrelatedinstruments.value>1),e.R7$(),e.Y8G("ngIf",t.issuerrelatedinstruments.value&&t.issuerrelatedinstruments.value<=1),e.R7$(),e.Y8G("ngIf",t.issuerrelatedinstruments.value)}}function UG(n,r){if(1&n&&(e.qex(0),e.DNE(1,qG,4,3,"span",21),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.issuerrelatedinstruments.value)}}function zG(n,r){if(1&n&&(e.qex(0),e.DNE(1,UG,2,1,"ng-container",6),e.eu8(2,22),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.issuerrelatedinstruments.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Re,t.issuerrelatedinstruments.errorText))}}function HG(n,r){if(1&n&&(e.j41(0,"span",34)(1,"span",42),e.EFF(2,"Market cap: "),e.k0s(),e.j41(3,"span"),e.EFF(4),e.nI1(5,"customnumber"),e.k0s()()),2&n){const t=e.XpG(3).$implicit;e.R7$(4),e.SpI("\xa3",e.bMT(5,1,t.marketcapitalization.value),"m")}}function WG(n,r){if(1&n&&(e.qex(0),e.DNE(1,HG,6,3,"span",21),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.marketcapitalization.value)}}function JG(n,r){if(1&n&&(e.qex(0),e.DNE(1,WG,2,1,"ng-container",6),e.eu8(2,22),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.marketcapitalization.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Re,t.marketcapitalization.errorText))}}function KG(n,r){if(1&n&&(e.j41(0,"span",34)(1,"span",42),e.EFF(2,"Amount raised: "),e.k0s(),e.j41(3,"span"),e.EFF(4),e.nI1(5,"currencysymbol"),e.nI1(6,"customnumber"),e.k0s()()),2&n){const t=e.XpG(3).$implicit;e.R7$(4),e.Lme("",e.bMT(5,2,t.currency.value),"",e.bMT(6,4,t.amountraised.value),"")}}function QG(n,r){if(1&n&&(e.qex(0),e.DNE(1,KG,7,6,"span",21),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.amountraised.value)}}function ZG(n,r){if(1&n&&(e.qex(0),e.DNE(1,QG,2,1,"ng-container",6),e.eu8(2,22),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.amountraised.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Re,t.amountraised.errorText))}}function e8(n,r){if(1&n&&(e.j41(0,"span",46),e.EFF(1),e.nI1(2,"customdate"),e.k0s()),2&n){const t=e.XpG(4).$implicit;e.R7$(),e.SpI("as of ",e.i5U(2,1,t.valuetradeddate.value,"short"),"")}}function t8(n,r){if(1&n&&(e.j41(0,"div",44)(1,"span",42),e.EFF(2,"Value traded: "),e.k0s(),e.j41(3,"span"),e.EFF(4),e.nI1(5,"customnumber"),e.k0s(),e.DNE(6,e8,3,4,"span",45),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(4),e.SpI("\xa3",e.bMT(5,2,t.valuetraded.value),""),e.R7$(2),e.Y8G("ngIf",t.valuetradeddate.value)}}function n8(n,r){if(1&n&&(e.qex(0),e.DNE(1,t8,7,4,"div",43),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.valuetraded.value)}}function i8(n,r){if(1&n&&(e.qex(0),e.DNE(1,n8,2,1,"ng-container",6),e.eu8(2,22),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.valuetraded.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Re,t.valuetraded.errorText))}}function o8(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",12)(1,"div",13)(2,"div",14)(3,"div",15)(4,"div",16),e.DNE(5,_G,3,5,"ng-container",6)(6,gG,3,3,"ng-container",6),e.k0s(),e.DNE(7,bG,2,1,"ng-container",6)(8,kG,2,1,"ng-container",6)(9,FG,3,3,"a",17),e.k0s(),e.j41(10,"div",18)(11,"a",19),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.selection(o.url.value,o.description.value,a.searchType))}),e.EFF(12),e.k0s()()()(),e.j41(13,"div",20),e.DNE(14,NG,4,3,"span",21)(15,BG,3,5,"ng-container",6)(16,zG,3,5,"ng-container",6)(17,JG,3,5,"ng-container",6)(18,ZG,3,5,"ng-container",6)(19,i8,3,5,"ng-container",6),e.k0s()()}if(2&n){const t=r.$implicit,i=e.XpG(2);e.R7$(4),e.Y8G("ngClass",!t.category.errorText&&t.category.visibility?i.getCssClass(t.category.value):""),e.R7$(),e.Y8G("ngIf",t.category.visibility),e.R7$(),e.Y8G("ngIf",t.searchtags.visibility),e.R7$(),e.Y8G("ngIf",t.url.value&&t.issuername.visibility),e.R7$(),e.Y8G("ngIf",t.marketurl.value&&t.marketname.visibility),e.R7$(),e.Y8G("ngIf",t.url.visibility&&t.url.value),e.R7$(2),e.Y8G("href",t.url.value,e.B4B),e.R7$(),e.SpI("Explore more about this ",i.title,""),e.R7$(2),e.Y8G("ngIf",t.lastprice.value),e.R7$(),e.Y8G("ngIf",t.sector.visibility),e.R7$(),e.Y8G("ngIf",t.issuerrelatedinstruments.visibility),e.R7$(),e.Y8G("ngIf",t.marketcapitalization.visibility&&t.category.value&&"EQUITY"===t.category.value),e.R7$(),e.Y8G("ngIf",t.amountraised.visibility&&t.category.value&&"BONDS"===t.category.value),e.R7$(),e.Y8G("ngIf",t.valuetraded.visibility&&t.category.value&&"ETFS"===t.category.value)}}function r8(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",47),e.bIt("click",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.showAll(o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("href",t.getSearchLink(),e.B4B),e.R7$(),e.JRh(t.showAllLabel)}}function a8(n,r){if(1&n&&(e.j41(0,"div",3)(1,"div",4),e.DNE(2,sG,2,1,"h2",5)(3,pG,3,2,"ng-container",6),e.k0s(),e.DNE(4,o8,20,14,"div",7)(5,r8,2,2,"a",8),e.k0s()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.title),e.R7$(),e.Y8G("ngIf","all"===t.parentSearchType),e.R7$(),e.Y8G("ngForOf",t.listOfItems),e.R7$(),e.Y8G("ngIf","all"===t.parentSearchType&&t.totalItems>5)}}function s8(n,r){if(1&n&&e.nrm(0,"app-hide-field",49),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function l8(n,r){1&n&&e.DNE(0,s8,1,1,"app-hide-field",48),2&n&&e.Y8G("ngIf",r.errorText)}function c8(n,r){1&n&&e.EFF(0,"+0.00%")}let Zo=(()=>{class n{constructor(t){this.cssMapping=t,this.showAllEmitter=new e.bkB,this.selectionEmitter=new e.bkB}ngOnInit(){}getCssClass(t){return this.cssMapping.cssClass({value:t})}showAll(t){t&&t.preventDefault(),this.showAllEmitter.emit()}selection(t,i,o){this.selectionEmitter.emit({url:t,text:i,searchtype:o})}getSearchLink(){return k.T.getLink("search",(new F.Nl).set("searchtype",this.searchType).set("q",this.searchTerm))}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-instruments-content"]],inputs:{searchType:"searchType",parentSearchType:"parentSearchType",searchTerm:"searchTerm",isThatSearchType:"isThatSearchType",title:"title",showAllLabel:"showAllLabel",listOfItems:"listOfItems",totalItems:"totalItems"},outputs:{showAllEmitter:"showAllEmitter",selectionEmitter:"selectionEmitter"},decls:5,vars:1,consts:[["emptyvalue",""],["zeroPercentage",""],["class","list-container",4,"ngIf"],[1,"list-container"],[1,"head-container","mobile-flex-container"],["class","large-font-size",4,"ngIf"],[4,"ngIf"],["class","item-separator",4,"ngFor","ngForOf"],["class"," bold-font-weight show-all-link",3,"href","click",4,"ngIf"],[1,"large-font-size"],["class","item-result-label big-font-size",4,"ngIf"],[1,"item-result-label","big-font-size"],[1,"item-separator"],[1,"item-container","mobile-flex-container"],[1,"mobile-flex-wrapper","data-container"],[1,"item-content"],[1,"instrument-category",3,"ngClass"],["class","tidm-and-description black-link",3,"href","click",4,"ngIf"],[1,"mobile-flex-container","explore-all-link"],[1,"bold-font-weight",3,"click","href"],[1,"bottom-info-container"],["class","bottom-info-content",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"instrument-label","bold-font-weight"],["class","roundel greenbond-roundel",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"roundel","greenbond-roundel"],["class","bold-font-weight instrument-uppercase instrument-name-link",3,"href","click",4,"ngIf"],["class","bold-font-weight instrument-uppercase",4,"ngIf"],[1,"bold-font-weight","instrument-uppercase","instrument-name-link",3,"click","href"],[1,"bold-font-weight","instrument-uppercase"],[1,"tidm-and-description","black-link",3,"click","href"],["class","instrument-uppercase instrument-tidm bold-font-weight blue-link",4,"ngIf"],[1,"instrument-uppercase","instrument-tidm","bold-font-weight","blue-link"],[1,"bottom-info-content"],["class","price-change bold-font-weight",3,"ngClass",4,"ngIf"],[1,"bold-font-weight"],["class","currency-label bold-font-weight",4,"ngIf"],[1,"currency-label","bold-font-weight"],[1,"price-change","bold-font-weight",3,"ngClass"],[4,"ngIf","ngIfElse"],["class","bottom-info-label bold-font-weight",4,"ngIf"],[1,"bottom-info-label","bold-font-weight"],["class","bottom-info-content bottom-info-block",4,"ngIf"],[1,"bottom-info-content","bottom-info-block"],["class","",4,"ngIf"],[1,""],[1,"bold-font-weight","show-all-link",3,"click","href"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&e.DNE(0,a8,6,4,"div",2)(1,l8,1,1,"ng-template",null,0,e.C5r)(3,c8,1,0,"ng-template",null,1,e.C5r),2&i&&e.Y8G("ngIf",o.listOfItems&&o.listOfItems.length>0&&o.isThatSearchType)},dependencies:[l.YU,l.Sq,l.bT,l.T3,y.W,ee.p,U.W,Te.Z,On],styles:[".head-container[_ngcontent-%COMP%]{align-items:center}.head-container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:0}.head-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;margin-left:1.4125rem}.list-container[_ngcontent-%COMP%]{margin-bottom:2.5rem}.item-container[_ngcontent-%COMP%]{margin:1.5rem 0 1rem}@media (max-width: 768px){.item-container[_ngcontent-%COMP%]{flex-wrap:wrap}}
1.item-separator[_ngcontent-%COMP%]{border-bottom:.0625rem solid #b2b2b2}.item-content[_ngcontent-%COMP%]{margin-right:1rem;width:calc(100% - 18rem)}@media (max-width: 768px){.item-content[_ngcontent-%COMP%]{flex-shrink:0;margin-right:0;width:100%}}@media (max-width: 768px){.item-content.no-logo[_ngcontent-%COMP%]{margin-top:0}}.item-content[_ngcontent-%COMP%] .instrument-category[_ngcontent-%COMP%]{display:flex;margin-bottom:1.0625rem}.item-content[_ngcontent-%COMP%] .instrument-category[_ngcontent-%COMP%] .instrument-label[_ngcontent-%COMP%]{padding:.3rem .75rem}.item-content[_ngcontent-%COMP%] .roundel[_ngcontent-%COMP%]{height:1.75rem;margin:0;width:1.75rem}.item-content[_ngcontent-%COMP%] .roundel[_ngcontent-%COMP%]:before{height:3.5rem;width:3.5rem}.item-content[_ngcontent-%COMP%] .instrument-uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.item-content[_ngcontent-%COMP%] .instrument-uppercase.instrument-name-link[_ngcontent-%COMP%]{color:#000}.item-content[_ngcontent-%COMP%] .instrument-uppercase.instrument-tidm[_ngcontent-%COMP%]{color:#001eff}.item-content[_ngcontent-%COMP%] .tidm-and-description[_ngcontent-%COMP%]{display:block;margin:.3rem 0;word-wrap:break-word}.item-content[_ngcontent-%COMP%] .tidm-and-description[_ngcontent-%COMP%] .instrument-uppercase[_ngcontent-%COMP%]{margin-right:.8rem}.item-content[_ngcontent-%COMP%] .tidm-and-description[_ngcontent-%COMP%]:hover .instrument-tidm[_ngcontent-%COMP%]{text-decoration:underline}.item-content[_ngcontent-%COMP%] .currency-container[_ngcontent-%COMP%] .price-change[_ngcontent-%COMP%]{margin-left:.3rem}.item-content[_ngcontent-%COMP%] .currency-container[_ngcontent-%COMP%] .currency-label[_ngcontent-%COMP%]{display:inline-block;margin-left:.2rem}.item-logo-container[_ngcontent-%COMP%]{height:10.25rem;margin-right:1.9375rem;max-width:16.4375rem;width:100%}@media (max-width: 768px){.item-logo-container[_ngcontent-%COMP%]{margin-right:1%;max-width:24%}}.item-logo-container[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{height:10.25rem;margin-right:1.9375rem;max-width:16.4375rem;width:100%}.bottom-info-container[_ngcontent-%COMP%]{margin-bottom:1.5rem}.bottom-info-container[_ngcontent-%COMP%] .bottom-info-content[_ngcontent-%COMP%]{border-right:.0625rem solid #000000;display:inline-block;margin-right:.5625rem}@media (max-width: 768px){.bottom-info-container[_ngcontent-%COMP%] .bottom-info-content[_ngcontent-%COMP%]{border-right:0;display:block}}.bottom-info-container[_ngcontent-%COMP%] .bottom-info-content[_ngcontent-%COMP%]:last-child{border-right:0}.bottom-info-container[_ngcontent-%COMP%] .bottom-info-content[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:.5625rem}.explore-all-link[_ngcontent-%COMP%]{align-items:center;text-align:right;width:17rem}@media (max-width: 768px){.explore-all-link[_ngcontent-%COMP%]{flex-shrink:0;margin-top:1rem;text-align:left;width:100%}}.explore-all-link[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}.show-all-link[_ngcontent-%COMP%]{display:block;margin-top:2rem}.items-pagination[_ngcontent-%COMP%]{margin-top:3rem}@media (max-width: 768px){.bigger-font-size[_ngcontent-%COMP%]{font-size:.984375rem}}.data-container[_ngcontent-%COMP%]{flex-basis:100%}.instrument-name-link[_ngcontent-%COMP%]{text-decoration:none}.instrument-name-link[_ngcontent-%COMP%]:hover{text-decoration:underline}"]})}}return n})();const Ne=n=>({errorText:n});function p8(n,r){if(1&n&&(e.j41(0,"h2",9),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.title)}}function m8(n,r){if(1&n&&(e.j41(0,"span",11),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.totalItems," results ")}}function _8(n,r){if(1&n&&(e.j41(0,"span",11),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.totalItems," result ")}}function d8(n,r){if(1&n&&(e.qex(0),e.DNE(1,m8,2,1,"span",10)(2,_8,2,1,"span",10),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.totalItems>1),e.R7$(),e.Y8G("ngIf",t.totalItems<=1)}}function u8(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",24),e.EFF(2),e.nI1(3,"etfs"),e.k0s(),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(2),e.JRh(e.bMT(3,1,t.category.value))}}function g8(n,r){if(1&n&&(e.qex(0),e.DNE(1,u8,4,3,"ng-container",6),e.eu8(2,23),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.category.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ne,t.category.errorText))}}function h8(n,r){1&n&&e.nrm(0,"span",27)}function f8(n,r){1&n&&e.eu8(0)}function v8(n,r){if(1&n&&(e.qex(0),e.DNE(1,h8,1,0,"span",25)(2,f8,1,0,"ng-container",26),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.searchtags.errorText&&t.searchtags.value.hasGreenBond),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.searchtags)}}function b8(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",30),e.bIt("click",function(){e.eBV(t);const o=e.XpG(4).$implicit,a=e.XpG(2);return e.Njj(a.selection(a.getIssuersLink(o),o.description.value,a.searchType))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(4).$implicit,i=e.XpG(2);e.Y8G("href",i.getIssuersLink(t),e.B4B),e.R7$(),e.SpI(" ",t.issuername.value," ")}}function C8(n,r){if(1&n&&(e.j41(0,"span",31),e.EFF(1),e.k0s()),2&n){const t=e.XpG(4).$implicit;e.R7$(),e.SpI(" ",t.issuername.value," ")}}function T8(n,r){if(1&n&&(e.qex(0),e.DNE(1,b8,2,2,"a",28)(2,C8,2,1,"span",29),e.eu8(3,23),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",t.issuername.value&&t.tidm.value&&"-"!==t.tidm.value),e.R7$(),e.Y8G("ngIf",t.issuername.value&&t.tidm.value&&"-"===t.tidm.value),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(4,Ne,t.issuername.errorText))}}function x8(n,r){if(1&n&&(e.qex(0),e.DNE(1,T8,4,6,"ng-container",6),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",!t.issuername.errorText)}}function k8(n,r){if(1&n&&(e.j41(0,"span",34),e.EFF(1),e.k0s()),2&n){const t=e.XpG(5).$implicit;e.R7$(),e.JRh(t.tidm.value)}}function y8(n,r){if(1&n&&(e.qex(0),e.DNE(1,k8,2,1,"span",33),e.bVm()),2&n){const t=e.XpG(4).$implicit;e.R7$(),e.Y8G("ngIf",t.tidm.value)}}function w8(n,r){if(1&n&&(e.qex(0),e.DNE(1,y8,2,1,"ng-container",6),e.eu8(2,23),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.tidm.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ne,t.tidm.errorText))}}function I8(n,r){if(1&n&&(e.j41(0,"span",31),e.EFF(1),e.k0s()),2&n){const t=e.XpG(5).$implicit;e.R7$(),e.JRh(t.description.value)}}function M8(n,r){if(1&n&&(e.qex(0),e.DNE(1,I8,2,1,"span",29),e.bVm()),2&n){const t=e.XpG(4).$implicit;e.R7$(),e.Y8G("ngIf",t.description.value)}}function O8(n,r){if(1&n&&(e.qex(0),e.DNE(1,M8,2,1,"ng-container",6),e.eu8(2,23),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.description.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ne,t.description.errorText))}}function R8(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",32),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2).$implicit,a=e.XpG(2);return e.Njj(a.selection(a.getIssuersLink(o),o.description.value,a.searchType))}),e.DNE(1,w8,3,5,"ng-container",6)(2,O8,3,5,"ng-container",6),e.k0s()}if(2&n){const t=e.XpG(2).$implicit,i=e.XpG(2);e.Y8G("href",i.getIssuersLink(t),e.B4B),e.R7$(),e.Y8G("ngIf",t.tidm.visibility),e.R7$(),e.Y8G("ngIf",t.description.visibility)}}function F8(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",37),e.EFF(2),e.nI1(3,"customnumber"),e.k0s(),e.bVm()),2&n){const t=e.XpG(4).$implicit;e.R7$(2),e.JRh(e.bMT(3,1,t.lastprice.value))}}function P8(n,r){if(1&n&&(e.qex(0),e.DNE(1,F8,4,3,"ng-container",6),e.eu8(2,23),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.lastprice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ne,t.lastprice.errorText))}}function G8(n,r){if(1&n&&(e.j41(0,"span",39),e.EFF(1),e.k0s()),2&n){const t=e.XpG(5).$implicit;e.R7$(),e.JRh(t.currency.value)}}function S8(n,r){if(1&n&&(e.qex(0),e.DNE(1,G8,2,1,"span",38),e.bVm()),2&n){const t=e.XpG(4).$implicit;e.R7$(),e.Y8G("ngIf",t.currency.value)}}function $8(n,r){if(1&n&&(e.qex(0),e.DNE(1,S8,2,1,"ng-container",6),e.eu8(2,23),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.currency.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ne,t.currency.errorText))}}function E8(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(4).$implicit;e.R7$(),e.SpI("",e.bMT(2,1,t.percentualchange.value),"% ")}}function D8(n,r){if(1&n&&(e.j41(0,"span",40),e.DNE(1,E8,3,3,"ng-container",41),e.eu8(2,23),e.k0s()),2&n){const t=e.XpG(3).$implicit,i=e.XpG(2),o=e.sdS(2),a=e.sdS(4);e.Y8G("ngClass",!t.percentualchange.errorText&&t.percentualchange.visibility?i.getCssClass(t.netchangesign.value):""),e.R7$(),e.Y8G("ngIf",!t.percentualchange.errorText&&t.percentualchange.value)("ngIfElse",a),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.eq3(5,Ne,t.percentualchange.errorText))}}function j8(n,r){if(1&n&&(e.j41(0,"span",35),e.DNE(1,P8,3,5,"ng-container",6)(2,$8,3,5,"ng-container",6)(3,D8,3,7,"span",36),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.lastprice.visibility),e.R7$(),e.Y8G("ngIf",t.currency.visibility),e.R7$(),e.Y8G("ngIf",t.percentualchange.visibility)}}function N8(n,r){if(1&n&&(e.j41(0,"span",35)(1,"span",37),e.EFF(2,"Sector:"),e.k0s(),e.j41(3,"span"),e.EFF(4),e.k0s()()),2&n){const t=e.XpG(4).$implicit;e.R7$(4),e.JRh(t.sector.value)}}function Y8(n,r){if(1&n&&(e.qex(0),e.DNE(1,N8,5,1,"span",22),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.Y8G("ngIf",t.sector.value)}}function X8(n,r){if(1&n&&(e.qex(0),e.DNE(1,Y8,2,1,"ng-container",6),e.eu8(2,23),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.sector.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ne,t.sector.errorText))}}function B8(n,r){1&n&&(e.j41(0,"span",43),e.EFF(1,"Instruments:"),e.k0s())}function V8(n,r){1&n&&(e.j41(0,"span",43),e.EFF(1,"Instrument:"),e.k0s())}function L8(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(5).$implicit;e.R7$(),e.JRh(t.issuerrelatedinstruments.value)}}function A8(n,r){if(1&n&&(e.j41(0,"span",35),e.DNE(1,B8,2,0,"span",42)(2,V8,2,0,"span",42)(3,L8,2,1,"span",6),e.k0s()),2&n){const t=e.XpG(4).$implicit;e.R7$(),e.Y8G("ngIf",t.issuerrelatedinstruments.value&&t.issuerrelatedinstruments.value>1),e.R7$(),e.Y8G("ngIf",t.issuerrelatedinstruments.value&&t.issuerrelatedinstruments.value<=1),e.R7$(),e.Y8G("ngIf",t.issuerrelatedinstruments.value)}}function q8(n,r){if(1&n&&(e.qex(0),e.DNE(1,A8,4,3,"span",22),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.Y8G("ngIf",t.issuerrelatedinstruments.value)}}function U8(n,r){if(1&n&&(e.qex(0),e.DNE(1,q8,2,1,"ng-container",6),e.eu8(2,23),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.issuerrelatedinstruments.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ne,t.issuerrelatedinstruments.errorText))}}function z8(n,r){if(1&n&&(e.j41(0,"span",35)(1,"span",43),e.EFF(2,"Market cap: "),e.k0s(),e.j41(3,"span"),e.EFF(4),e.nI1(5,"customnumber"),e.k0s()()),2&n){const t=e.XpG(4).$implicit;e.R7$(4),e.SpI("\xa3",e.bMT(5,1,t.marketcapitalization.value),"m")}}function H8(n,r){if(1&n&&(e.qex(0),e.DNE(1,z8,6,3,"span",22),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.Y8G("ngIf",t.marketcapitalization.value)}}function W8(n,r){if(1&n&&(e.qex(0),e.DNE(1,H8,2,1,"ng-container",6),e.eu8(2,23),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.marketcapitalization.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ne,t.marketcapitalization.errorText))}}function J8(n,r){if(1&n&&(e.j41(0,"span",35)(1,"span",43),e.EFF(2,"Amount raised: "),e.k0s(),e.j41(3,"span"),e.EFF(4),e.nI1(5,"customnumber"),e.k0s()()),2&n){const t=e.XpG(4).$implicit;e.R7$(4),e.SpI("\xa3",e.bMT(5,1,t.amountraised.value),"")}}function K8(n,r){if(1&n&&(e.qex(0),e.DNE(1,J8,6,3,"span",22),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.Y8G("ngIf",t.amountraised.value)}}function Q8(n,r){if(1&n&&(e.qex(0),e.DNE(1,K8,2,1,"ng-container",6),e.eu8(2,23),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.amountraised.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ne,t.amountraised.errorText))}}function Z8(n,r){if(1&n&&(e.j41(0,"span",47),e.EFF(1),e.nI1(2,"customdate"),e.k0s()),2&n){const t=e.XpG(5).$implicit;e.R7$(),e.SpI("as of ",e.i5U(2,1,t.valuetradeddate.value,"short"),"")}}function eS(n,r){if(1&n&&(e.j41(0,"div",45)(1,"span",43),e.EFF(2,"Value traded: "),e.k0s(),e.j41(3,"span"),e.EFF(4),e.nI1(5,"customnumber"),e.k0s(),e.DNE(6,Z8,3,4,"span",46),e.k0s()),2&n){const t=e.XpG(4).$implicit;e.R7$(4),e.SpI("\xa3",e.bMT(5,2,t.valuetraded.value),""),e.R7$(2),e.Y8G("ngIf",t.valuetradeddate.value)}}function tS(n,r){if(1&n&&(e.qex(0),e.DNE(1,eS,7,4,"div",44),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.Y8G("ngIf",t.valuetraded.value)}}function nS(n,r){if(1&n&&(e.qex(0),e.DNE(1,tS,2,1,"ng-container",6),e.eu8(2,23),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(2);const i=e.sdS(2);e.R7$(),e.Y8G("ngIf",!t.valuetraded.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Ne,t.valuetraded.errorText))}}function iS(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",13)(1,"div",14)(2,"div",15)(3,"div",16)(4,"div",17),e.DNE(5,g8,3,5,"ng-container",6)(6,v8,3,3,"ng-container",6),e.k0s(),e.DNE(7,x8,2,1,"ng-container",6)(8,R8,3,3,"a",18),e.k0s(),e.j41(9,"div",19)(10,"a",20),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(2);return e.Njj(a.selection(a.getIssuersLink(o),o.description.value,a.searchType))}),e.EFF(11),e.k0s()()()(),e.j41(12,"div",21),e.DNE(13,j8,4,3,"span",22)(14,X8,3,5,"ng-container",6)(15,U8,3,5,"ng-container",6)(16,W8,3,5,"ng-container",6)(17,Q8,3,5,"ng-container",6)(18,nS,3,5,"ng-container",6),e.k0s()()}if(2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.R7$(4),e.Y8G("ngClass",!t.category.errorText&&t.category.visibility?i.getCssClass(t.category.value):""),e.R7$(),e.Y8G("ngIf",t.category.visibility),e.R7$(),e.Y8G("ngIf",t.searchtags.visibility),e.R7$(),e.Y8G("ngIf",t.issuername.visibility),e.R7$(),e.Y8G("ngIf","#"!==i.getIssuersLink(t)),e.R7$(2),e.Y8G("href",i.getIssuersLink(t),e.B4B),e.R7$(),e.SpI("Explore more about this ",i.title,""),e.R7$(2),e.Y8G("ngIf",t.lastprice.value),e.R7$(),e.Y8G("ngIf",t.sector.visibility),e.R7$(),e.Y8G("ngIf",t.issuerrelatedinstruments.visibility),e.R7$(),e.Y8G("ngIf",t.marketcapitalization.visibility&&t.category.value&&"EQUITY"===t.category.value),e.R7$(),e.Y8G("ngIf",t.amountraised.visibility&&t.category.value&&"BONDS"===t.category.value),e.R7$(),e.Y8G("ngIf",t.valuetraded.visibility&&t.category.value&&"ETFS"===t.category.value)}}function oS(n,r){if(1&n&&(e.qex(0),e.DNE(1,iS,19,13,"div",12),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.tidm.value)}}function rS(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",48),e.bIt("click",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.showAll(o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("href",t.getSearchLink(),e.B4B),e.R7$(),e.JRh(t.showAllLabel)}}function aS(n,r){if(1&n&&(e.j41(0,"div",3)(1,"div",4),e.DNE(2,p8,2,1,"h2",5)(3,d8,3,2,"ng-container",6),e.k0s(),e.DNE(4,oS,2,1,"ng-container",7)(5,rS,2,2,"a",8),e.k0s()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.title),e.R7$(),e.Y8G("ngIf","all"===t.parentSearchType),e.R7$(),e.Y8G("ngForOf",t.listOfItems),e.R7$(),e.Y8G("ngIf","all"===t.parentSearchType&&t.totalItems>5)}}function sS(n,r){if(1&n&&e.nrm(0,"app-hide-field",50),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function lS(n,r){1&n&&e.DNE(0,sS,1,1,"app-hide-field",49),2&n&&e.Y8G("ngIf",r.errorText)}function cS(n,r){1&n&&e.EFF(0,"+0.00%")}let er=(()=>{class n{constructor(t){this.cssMapping=t,this.showAllEmitter=new e.bkB,this.selectionEmitter=new e.bkB}ngOnInit(){}getIssuersLink(t){return k.T.getCompanyUrl(t.islse.value,t.tidm.value,t.issuername.value)}getCssClass(t){return this.cssMapping.cssClass({value:t})}showAll(t){t&&t.preventDefault(),this.showAll
1Emitter.emit()}selection(t,i,o){this.selectionEmitter.emit({url:t,text:i,searchtype:o})}getSearchLink(){return k.T.getLink("search",(new F.Nl).set("searchtype",this.searchType).set("q",this.searchTerm))}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-issuers-content"]],inputs:{searchType:"searchType",parentSearchType:"parentSearchType",searchTerm:"searchTerm",isThatSearchType:"isThatSearchType",title:"title",showAllLabel:"showAllLabel",listOfItems:"listOfItems",totalItems:"totalItems"},outputs:{showAllEmitter:"showAllEmitter",selectionEmitter:"selectionEmitter"},decls:5,vars:1,consts:[["emptyvalue",""],["zeroPercentage",""],["class","list-container",4,"ngIf"],[1,"list-container"],[1,"head-container","mobile-flex-container"],["class","large-font-size",4,"ngIf"],[4,"ngIf"],[4,"ngFor","ngForOf"],["class"," bold-font-weight show-all-link",3,"href","click",4,"ngIf"],[1,"large-font-size"],["class","item-result-label big-font-size",4,"ngIf"],[1,"item-result-label","big-font-size"],["class","item-separator",4,"ngIf"],[1,"item-separator"],[1,"item-container","mobile-flex-container"],[1,"mobile-flex-wrapper","data-container"],[1,"item-content"],[1,"instrument-category",3,"ngClass"],["class","tidm-and-description black-link",3,"href","click",4,"ngIf"],[1,"mobile-flex-container","explore-all-link"],[1,"bold-font-weight",3,"click","href"],[1,"bottom-info-container"],["class","bottom-info-content",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"instrument-label","bold-font-weight"],["class","roundel greenbond-roundel",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"roundel","greenbond-roundel"],["class","bold-font-weight instrument-uppercase instrument-name-link",3,"href","click",4,"ngIf"],["class","bold-font-weight instrument-uppercase",4,"ngIf"],[1,"bold-font-weight","instrument-uppercase","instrument-name-link",3,"click","href"],[1,"bold-font-weight","instrument-uppercase"],[1,"tidm-and-description","black-link",3,"click","href"],["class","instrument-uppercase instrument-tidm bold-font-weight blue-link",4,"ngIf"],[1,"instrument-uppercase","instrument-tidm","bold-font-weight","blue-link"],[1,"bottom-info-content"],["class","price-change bold-font-weight",3,"ngClass",4,"ngIf"],[1,"bold-font-weight"],["class","currency-label bold-font-weight",4,"ngIf"],[1,"currency-label","bold-font-weight"],[1,"price-change","bold-font-weight",3,"ngClass"],[4,"ngIf","ngIfElse"],["class","bottom-info-label bold-font-weight",4,"ngIf"],[1,"bottom-info-label","bold-font-weight"],["class","bottom-info-content bottom-info-block",4,"ngIf"],[1,"bottom-info-content","bottom-info-block"],["class","",4,"ngIf"],[1,""],[1,"bold-font-weight","show-all-link",3,"click","href"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&e.DNE(0,aS,6,4,"div",2)(1,lS,1,1,"ng-template",null,0,e.C5r)(3,cS,1,0,"ng-template",null,1,e.C5r),2&i&&e.Y8G("ngIf",o.listOfItems&&o.listOfItems.length>0&&o.isThatSearchType)},dependencies:[l.YU,l.Sq,l.bT,l.T3,y.W,ee.p,U.W,Te.Z],styles:[".head-container[_ngcontent-%COMP%]{align-items:center}.head-container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:0}.head-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;margin-left:1.4125rem}.list-container[_ngcontent-%COMP%]{margin-bottom:2.5rem}.item-container[_ngcontent-%COMP%]{margin:1.5rem 0 1rem}@media (max-width: 768px){.item-container[_ngcontent-%COMP%]{flex-wrap:wrap}}
1.item-separator[_ngcontent-%COMP%]{border-bottom:.0625rem solid #b2b2b2}.item-content[_ngcontent-%COMP%]{margin-right:1rem;width:calc(100% - 18rem)}@media (max-width: 768px){.item-content[_ngcontent-%COMP%]{flex-shrink:0;margin-right:0;width:100%}}@media (max-width: 768px){.item-content.no-logo[_ngcontent-%COMP%]{margin-top:0}}.item-content[_ngcontent-%COMP%] .instrument-category[_ngcontent-%COMP%]{display:flex;margin-bottom:1.0625rem}.item-content[_ngcontent-%COMP%] .instrument-category[_ngcontent-%COMP%] .instrument-label[_ngcontent-%COMP%]{padding:.3rem .75rem}.item-content[_ngcontent-%COMP%] .roundel[_ngcontent-%COMP%]{height:1.75rem;margin:0;width:1.75rem}.item-content[_ngcontent-%COMP%] .roundel[_ngcontent-%COMP%]:before{height:3.5rem;width:3.5rem}.item-content[_ngcontent-%COMP%] .instrument-uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.item-content[_ngcontent-%COMP%] .instrument-uppercase.instrument-name-link[_ngcontent-%COMP%]{color:#000}.item-content[_ngcontent-%COMP%] .instrument-uppercase.instrument-tidm[_ngcontent-%COMP%]{color:#001eff}.item-content[_ngcontent-%COMP%] .tidm-and-description[_ngcontent-%COMP%]{display:block;margin:.3rem 0;word-wrap:break-word}.item-content[_ngcontent-%COMP%] .tidm-and-description[_ngcontent-%COMP%] .instrument-uppercase[_ngcontent-%COMP%]{margin-right:.8rem}.item-content[_ngcontent-%COMP%] .tidm-and-description[_ngcontent-%COMP%]:hover .instrument-tidm[_ngcontent-%COMP%]{text-decoration:underline}.item-content[_ngcontent-%COMP%] .currency-container[_ngcontent-%COMP%] .price-change[_ngcontent-%COMP%]{margin-left:.3rem}.item-content[_ngcontent-%COMP%] .currency-container[_ngcontent-%COMP%] .currency-label[_ngcontent-%COMP%]{display:inline-block;margin-left:.2rem}.item-logo-container[_ngcontent-%COMP%]{height:10.25rem;margin-right:1.9375rem;max-width:16.4375rem;width:100%}@media (max-width: 768px){.item-logo-container[_ngcontent-%COMP%]{margin-right:1%;max-width:24%}}.item-logo-container[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{height:10.25rem;margin-right:1.9375rem;max-width:16.4375rem;width:100%}.bottom-info-container[_ngcontent-%COMP%]{margin-bottom:1.5rem}.bottom-info-container[_ngcontent-%COMP%] .bottom-info-content[_ngcontent-%COMP%]{border-right:.0625rem solid #000000;display:inline-block;margin-right:.5625rem}@media (max-width: 768px){.bottom-info-container[_ngcontent-%COMP%] .bottom-info-content[_ngcontent-%COMP%]{border-right:0;display:block}}.bottom-info-container[_ngcontent-%COMP%] .bottom-info-content[_ngcontent-%COMP%]:last-child{border-right:0}.bottom-info-container[_ngcontent-%COMP%] .bottom-info-content[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:.5625rem}.explore-all-link[_ngcontent-%COMP%]{align-items:center;text-align:right;width:17rem}@media (max-width: 768px){.explore-all-link[_ngcontent-%COMP%]{flex-shrink:0;margin-top:1rem;text-align:left;width:100%}}.explore-all-link[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}.show-all-link[_ngcontent-%COMP%]{display:block;margin-top:2rem}.items-pagination[_ngcontent-%COMP%]{margin-top:3rem}@media (max-width: 768px){.bigger-font-size[_ngcontent-%COMP%]{font-size:.984375rem}}.data-container[_ngcontent-%COMP%]{flex-basis:100%}.instrument-name-link[_ngcontent-%COMP%]{text-decoration:none}.instrument-name-link[_ngcontent-%COMP%]:hover{text-decoration:underline}"]})}}return n})();const Et=n=>({errorText:n});function pS(n,r){if(1&n&&(e.j41(0,"h2",7),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.title)}}function mS(n,r){if(1&n&&(e.j41(0,"span",9),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.totalItems," results ")}}function _S(n,r){if(1&n&&(e.j41(0,"span",9),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.SpI(" ",t.totalItems," result ")}}function dS(n,r){if(1&n&&(e.qex(0),e.DNE(1,mS,2,1,"span",8)(2,_S,2,1,"span",8),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.totalItems>1),e.R7$(),e.Y8G("ngIf",t.totalItems<=1)}}function uS(n,r){if(1&n&&(e.j41(0,"span",22)(1,"span",23),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(3).$implicit,i=e.XpG(2);e.Y8G("ngClass",i.getCssClass(t.source.value)),e.R7$(2),e.JRh(t.source.value)}}function gS(n,r){if(1&n&&(e.qex(0),e.DNE(1,uS,3,2,"span",21),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.source.value)}}function hS(n,r){if(1&n&&(e.j41(0,"span",19),e.DNE(1,gS,2,1,"ng-container",4),e.eu8(2,20),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.source.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyvalue)("ngTemplateOutletContext",e.eq3(3,Et,t.datetime.errorText))}}function fS(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(4).$implicit;e.R7$(),e.SpI(" ",t.companyname.value," - ")}}function vS(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(4).$implicit;e.R7$(),e.SpI(" ",t.companycode.value," - ")}}function bS(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",27),e.nI1(1,"newsArticleUrl"),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3).$implicit,a=e.XpG(2);return e.Njj(a.selection(a.getNewArticleLink(o.id.value,o.headline.value,null),o.headline.value,"news"))}),e.DNE(2,fS,2,1,"ng-container",4)(3,vS,2,1,"ng-container",4),e.EFF(4),e.k0s()}if(2&n){const t=e.XpG(3).$implicit;e.Y8G("href",e.bMT(1,4,t),e.B4B),e.R7$(2),e.Y8G("ngIf",t.companyname.value&&t.companyname.visibility),e.R7$(),e.Y8G("ngIf",t.companycode.value&&t.companycode.visibility),e.R7$(),e.SpI(" ",t.headline.value," ")}}function CS(n,r){if(1&n&&(e.j41(0,"span",28),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(t.headline.value)}}function TS(n,r){if(1&n&&(e.qex(0),e.DNE(1,bS,5,6,"a",25)(2,CS,2,1,"span",26),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.id.value&&t.headline.value),e.R7$(),e.Y8G("ngIf",!t.id.value&&t.headline.value)}}function xS(n,r){if(1&n&&(e.j41(0,"span",24),e.DNE(1,TS,3,2,"ng-container",4),e.eu8(2,20),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.headline.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyvalue)("ngTemplateOutletContext",e.eq3(3,Et,t.headline.errorText))}}function kS(n,r){if(1&n&&(e.j41(0,"span",31),e.EFF(1),e.nI1(2,"customdate"),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.datetime.value,"long"))}}function yS(n,r){if(1&n&&(e.qex(0),e.DNE(1,kS,3,4,"span",30),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.datetime.value)}}function wS(n,r){if(1&n&&(e.j41(0,"span",29),e.DNE(1,yS,2,1,"ng-container",4),e.eu8(2,20),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.datetime.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyvalue)("ngTemplateOutletContext",e.eq3(3,Et,t.datetime.errorText))}}function IS(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",34),e.nI1(1,"newsArticleUrl"),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3).$implicit,a=e.XpG(2);return e.Njj(a.selection(a.getNewArticleLink(o.id.value,o.headline.value,null),o.headline.value,"news"))}),e.EFF(2),e.k0s()}if(2&n){const t=e.XpG(3).$implicit,i=e.XpG(2);e.Y8G("href",e.bMT(1,2,t),e.B4B),e.R7$(2),e.SpI(" ",i.getNewArticleLink(t.id.value,t.headline.value,null)," ")}}function MS(n,r){if(1&n&&(e.qex(0),e.DNE(1,IS,3,4,"a",33),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.id.value)}}function OS(n,r){if(1&n&&(e.j41(0,"span",32),e.DNE(1,MS,2,1,"ng-container",4),e.eu8(2,20),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.id.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyvalue)("ngTemplateOutletContext",e.eq3(3,Et,t.id.errorText))}}function RS(n,r){if(1&n&&(e.j41(0,"div",37)(1,"span",23),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(3).$implicit,i=e.XpG(2);e.Y8G("ngClass",i.getCssClass(t.source.value)),e.R7$(2),e.JRh(t.source.value)}}function FS(n,r){if(1&n&&(e.qex(0),e.DNE(1,RS,3,2,"div",36),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngIf",t.source.value)}}function PS(n,r){if(1&n&&(e.j41(0,"span",35),e.DNE(1,FS,2,1,"ng-container",4),e.eu8(2,20),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.source.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyvalue)("ngTemplateOutletContext",e.eq3(3,Et,t.datetime.errorText))}}function GS(n,r){if(1&n&&(e.j41(0,"div",10)(1,"div",11)(2,"div",12)(3,"div",13),e.DNE(4,hS,3,5,"span",14)(5,xS,3,5,"span",15)(6,wS,3,5,"span",16),e.k0s(),e.DNE(7,OS,3,5,"span",17),e.k0s(),e.DNE(8,PS,3,5,"span",18),e.k0s()()),2&n){const t=r.$implicit;e.R7$(4),e.Y8G("ngIf",t.source.visibility),e.R7$(),e.Y8G("ngIf",t.headline.visibility),e.R7$(),e.Y8G("ngIf",t.datetime.visibility),e.R7$(),e.Y8G("ngIf",t.id.visibility),e.R7$(),e.Y8G("ngIf",t.source.visibility)}}function SS(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",38),e.bIt("click",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.showAll(o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("href",t.getSearchLink(t.searchType),e.B4B),e.R7$(),e.JRh(t.showAllLabel)}}function $S(n,r){if(1&n&&(e.j41(0,"div",1)(1,"div",2),e.DNE(2,pS,2,1,"h2",3)(3,dS,3,2,"ng-container",4),e.k0s(),e.DNE(4,GS,9,5,"div",5)(5,SS,2,2,"a",6),e.k0s()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.title),e.R7$(),e.Y8G("ngIf","all"===t.parentSearchType),e.R7$(),e.Y8G("ngForOf",t.listOfItems),e.R7$(),e.Y8G("ngIf","all"===t.parentSearchType&&t.totalItems>5)}}let tr=(()=>{class n{constructor(t){this.cssMapping=t,this.showAllEmitter=new e.bkB,this.selectionEmitter=new e.bkB}ngOnInit(){}showAll(t){t&&t.preventDefault(),this.showAllEmitter.emit()}selection(t,i,o){this.selectionEmitter.emit({url:t,text:i,searchtype:o})}getNewArticleLink(t,i,o){const a=k.T.getNewsArticleUrl(t,i,o);return`${M.c.baseUrl}/${a}`}getCssClass(t){return this.cssMapping.getClass(t)}getSearchLink(){return k.T.getLink("search",(new F.Nl).set("searchtype",this.searchType).set("q",this.searchTerm))}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-news-content"]],inputs:{searchType:"searchType",parentSearchType:"parentSearchType",searchTerm:"searchTerm",isThatSearchType:"isThatSearchType",title:"title",showAllLabel:"showAllLabel",listOfItems:"listOfItems",totalItems:"totalItems"},outputs:{showAllEmitter:"showAllEmitter",selectionEmitter:"selectionEmitter"},decls:1,vars:1,consts:[["class","list-container",4,"ngIf"],[1,"list-container"],[1,"head-container","mobile-flex-container"],["class","large-font-size",4,"ngIf"],[4,"ngIf"],["class","item-separator",4,"ngFor","ngForOf"],["class","base-font-size bold-font-weight show-all-link",3,"href","click",4,"ngIf"],[1,"large-font-size"],["class","item-result-label big-font-size",4,"ngIf"],[1,"item-result-label","big-font-size"],[1,"item-separator"],[1,"item-container","mobile-flex-container"],[1,"item-content"],[1,"news-title-date","mobile-flex-wrapper"],["class","news-source",4,"ngIf"],["class","news-title",4,"ngIf"],["class","news-date",4,"ngIf"],["class","news-link ",4,"ngIf"],["class","news-source hide-on-portrait",4,"ngIf"],[1,"news-source"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","medium-font-we
1ight show-on-portrait",3,"ngClass",4,"ngIf"],[1,"medium-font-weight","show-on-portrait",3,"ngClass"],[1,"source-label","small-font-size","bold-font-weight"],[1,"news-title"],["class","regular-font-size bold-font-weight","target","_blank",3,"href","click",4,"ngIf"],["class","news-title regular-font-size bold-font-weight",4,"ngIf"],["target","_blank",1,"regular-font-size","bold-font-weight",3,"click","href"],[1,"news-title","regular-font-size","bold-font-weight"],[1,"news-date"],["class","regular-font-size",4,"ngIf"],[1,"regular-font-size"],[1,"news-link"],["class","regular-font-size ellipsed","target","_blank",3,"href","click",4,"ngIf"],["target","_blank",1,"regular-font-size","ellipsed",3,"click","href"],[1,"news-source","hide-on-portrait"],["class","medium-font-weight",3,"ngClass",4,"ngIf"],[1,"medium-font-weight",3,"ngClass"],[1,"base-font-size","bold-font-weight","show-all-link",3,"click","href"]],template:function(i,o){1&i&&e.DNE(0,$S,6,4,"div",0),2&i&&e.Y8G("ngIf",o.listOfItems&&o.listOfItems.length>0&&o.isThatSearchType)},dependencies:[l.YU,l.Sq,l.bT,l.T3,U.W,lt.X],styles:['.head-container[_ngcontent-%COMP%]{align-items:center}.head-container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:0}.head-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;margin-left:1.4125rem}.list-container[_ngcontent-%COMP%]{margin-bottom:2.5rem}.item-container[_ngcontent-%COMP%]{margin:1rem 0}@media (max-width: 768px){.item-container[_ngcontent-%COMP%]{flex-wrap:wrap}.item-container[_ngcontent-%COMP%] .source-label[_ngcontent-%COMP%]{margin-top:0}}.item-container[_ngcontent-%COMP%] > .news-source[_ngcontent-%COMP%]{align-items:center;display:flex}.item-container[_ngcontent-%COMP%] .source-label[_ngcontent-%COMP%]{margin:0}
1.item-separator[_ngcontent-%COMP%]{border-bottom:.0625rem solid #b2b2b2}.item-content[_ngcontent-%COMP%]{width:calc(100% - 5.5rem)}@media (max-width: 768px){.item-content[_ngcontent-%COMP%]{width:100%}}.item-content[_ngcontent-%COMP%] .news-title-date[_ngcontent-%COMP%]{width:100%}.item-content[_ngcontent-%COMP%] .news-title-date[_ngcontent-%COMP%]:after{content:"";order:2;width:100%}@media (max-width: 768px){.item-content[_ngcontent-%COMP%] .news-title-date[_ngcontent-%COMP%]:after{order:3}}.item-content[_ngcontent-%COMP%] .news-title-date[_ngcontent-%COMP%] .news-source[_ngcontent-%COMP%]{display:none;margin-right:1rem;order:1}@media (max-width: 768px){.item-content[_ngcontent-%COMP%] .news-title-date[_ngcontent-%COMP%] .news-source[_ngcontent-%COMP%]{display:inline-block}}.item-content[_ngcontent-%COMP%] .news-title-date[_ngcontent-%COMP%] .source-label[_ngcontent-%COMP%]{margin-bottom:1.0625rem}.item-content[_ngcontent-%COMP%] .news-title-date[_ngcontent-%COMP%] .news-title[_ngcontent-%COMP%]{margin-right:1.5rem;order:3}@media (max-width: 768px){.item-content[_ngcontent-%COMP%] .news-title-date[_ngcontent-%COMP%] .news-title[_ngcontent-%COMP%]{order:4}}.item-content[_ngcontent-%COMP%] .news-title-date[_ngcontent-%COMP%] .news-date[_ngcontent-%COMP%]{color:#999;display:inline-block;order:4}@media (max-width: 768px){.item-content[_ngcontent-%COMP%] .news-title-date[_ngcontent-%COMP%] .news-date[_ngcontent-%COMP%]{line-height:2rem;order:2}}.item-content[_ngcontent-%COMP%] .news-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .item-content[_ngcontent-%COMP%] .news-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000;text-decoration:none}.item-content[_ngcontent-%COMP%] .news-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .item-content[_ngcontent-%COMP%] .news-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.show-all-link[_ngcontent-%COMP%]{display:block;margin-top:2rem}.items-pagination[_ngcontent-%COMP%]{margin-top:3rem}@media (max-width: 1023px){.bigger-font-size[_ngcontent-%COMP%]{font-size:.984375rem}}']})}}return n})();const ES=["keyboardElement"],DS=()=>["pages-documents","pages","documents"];function jS(n,r){1&n&&e.eu8(0)}function NS(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",34,0),e.bIt("mouseout",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.navigationClasses())})("mouseover",function(){const o=e.eBV(t).index,a=e.XpG(3);return e.Njj(a.mouseNavigation("#instrument-"+o))})("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.setCookie("instruments",o.url,o.description))}),e.j41(2,"div",35)(3,"div",36)(4,"div",37),e.EFF(5),e.k0s(),e.nrm(6,"span",38),e.k0s(),e.j41(7,"span",39),e.EFF(8),e.nI1(9,"etfs"),e.k0s()()()}if(2&n){const t=r.$implicit,i=r.index,o=e.XpG(3);e.Mz_("id","instrument-",i,""),e.Y8G("ngClass",o.instrumentCssClass(t.category))("href",t.url,e.B4B),e.BMQ("data-search-content",o.getContent(t.description))("aria-label",t.description),e.R7$(5),e.JRh(t.code),e.R7$(),e.Y8G("highlightString",o.debounceAutocompleteString)("originalString",t.description),e.R7$(2),e.JRh(e.bMT(9,10,t.category))}}function YS(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",40,0),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.triggerSearchWithEnter("instruments"))})("keyup",function(o){e.eBV(t);const a=e.XpG(3);return e.Njj(a.triggerSearchWithEnterKey(o,"instruments"))}),e.EFF(2," Show all instruments "),e.k0s()}}function XS(n,r){if(1&n&&(e.j41(0,"div")(1,"h5"),e.EFF(2,"Instrument"),e.k0s(),e.DNE(3,NS,10,12,"a",32)(4,YS,3,0,"div",33),e.k0s()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngForOf",t.searchResults.instruments),e.R7$(),e.Y8G("ngIf",(null==t.searchResults.instruments?null:t.searchResults.instruments.length)>1)}}function BS(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",43,0),e.bIt("mouseout",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.navigationClasses())})("mouseover",function(){const o=e.eBV(t).index,a=e.XpG(3);return e.Njj(a.mouseNavigation("#issuer-"+o))})("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.setCookie("issuers",a.getInstrumentLink(o.islse,o.tidm,o.name),o.name))}),e.j41(2,"div",35)(3,"div",36),e.nrm(4,"span",38),e.k0s(),e.j41(5,"span",44),e.EFF(6),e.k0s()()()}if(2&n){const t=r.$implicit,i=r.index,o=e.XpG(3);e.Mz_("id","issuer-",i,""),e.Y8G("href",o.getInstrumentLink(t.islse,t.tidm,t.name),e.B4B),e.BMQ("data-search-content",o.getContent(t.name))("aria-label",t.name),e.R7$(4),e.Y8G("highlightString",o.debounceAutocompleteString)("originalString",t.name),e.R7$(2),e.Lme("",t.relatedinstruments," ",o.getCompanyLabel(t.relatedinstruments)," ")}}function VS(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",45,0),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.triggerSearchWithEnter("issuers"))})("keyup",function(o){e.eBV(t);const a=e.XpG(3);return e.Njj(a.triggerSearchWithEnterKey(o,"issuers"))}),e.EFF(2," Show all issuers "),e.k0s()}}
1function LS(n,r){if(1&n&&(e.j41(0,"div")(1,"h5"),e.EFF(2,"Issuer"),e.k0s(),e.DNE(3,BS,7,9,"a",41)(4,VS,3,0,"div",42),e.k0s()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngForOf",t.searchResults.issuers),e.R7$(),e.Y8G("ngIf",(null==t.searchResults.issuers?null:t.searchResults.issuers.length)>1)}}function AS(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",48,0),e.bIt("mouseout",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.navigationClasses())})("mouseover",function(){const o=e.eBV(t).index,a=e.XpG(3);return e.Njj(a.mouseNavigation("#page-"+o))})("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.setCookie("pages-documents",a.getPagesLink(o),o.name))}),e.j41(2,"div",35)(3,"div",36),e.nrm(4,"span",38),e.k0s(),e.j41(5,"span",44),e.EFF(6),e.k0s()()()}if(2&n){const t=r.$implicit,i=r.index,o=e.XpG(3);e.Mz_("id","page-",i,""),e.Y8G("href",o.getPagesLink(t),e.B4B),e.BMQ("data-search-content",o.getContent(t.name))("aria-label",t.name),e.R7$(4),e.Y8G("highlightString",o.debounceAutocompleteString)("originalString",t.name),e.R7$(2),e.SpI(" ",o.directoryLabel(t.type)," ")}}function qS(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",49,0),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.triggerSearchWithEnter("pages-documents"))})("keyup",function(o){e.eBV(t);const a=e.XpG(3);return e.Njj(a.triggerSearchWithEnterKey(o,"pages-documents"))}),e.EFF(2," Show all pages and documents "),e.k0s()}}function US(n,r){if(1&n&&(e.j41(0,"div")(1,"h5"),e.EFF(2,"Pages and documents"),e.k0s(),e.DNE(3,AS,7,8,"a",46)(4,qS,3,0,"div",47),e.k0s()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngForOf",t.searchResults.pagesdocuments),e.R7$(),e.Y8G("ngIf",t.searchResults.pagesdocuments.length>1)}}function zS(n,r){if(1&n&&(e.qex(0),e.EFF(1," - "),e.nrm(2,"span",53),e.bVm()),2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.R7$(2),e.Y8G("highlightString",i.debounceAutocompleteString)("originalString",t.companyname)}}function HS(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" - ",t.companycode,"")}}function WS(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",52,0),e.nI1(2,"newsArticleUrl"),e.bIt("mouseout",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.navigationClasses())})("mouseover",function(){const o=e.eBV(t).index,a=e.XpG(3);return e.Njj(a.mouseNavigation("#news-"+o))})("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.setCookie("news",a.getNewsLink(o.id,o.headline,null),o.headline))}),e.j41(3,"div",35)(4,"div",36),e.nrm(5,"span",38),e.DNE(6,zS,3,2,"ng-container",21)(7,HS,2,1,"ng-container",21),e.k0s()()()}if(2&n){const t=r.$implicit,i=r.index,o=e.XpG(3);e.Mz_("id","news-",i,""),e.Y8G("href",e.bMT(2,9,t),e.B4B),e.BMQ("data-search-content",o.getContent(t.headline))("aria-label",t.headline),e.R7$(5),e.Y8G("highlightString",o.debounceAutocompleteString)("originalString",t.headline),e.R7$(),e.Y8G("ngIf",t.companyname),e.R7$(),e.Y8G("ngIf",t.companycode)}}function JS(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",54,0),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.triggerSearchWithEnter("news"))})("keyup",function(o){e.eBV(t);const a=e.XpG(3);return e.Njj(a.triggerSearchWithEnterKey(o,"news"))}),e.EFF(2," Show all news "),e.k0s()}}function KS(n,r){if(1&n&&(e.j41(0,"div")(1,"h5"),e.EFF(2,"News"),e.k0s(),e.DNE(3,WS,8,11,"a",50)(4,JS,3,0,"div",51),e.k0s()),2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngForOf",t.searchResults.news),e.R7$(),e.Y8G("ngIf",(null==t.searchResults.news?null:t.searchResults.news.length)>1)}}function QS(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",55,0),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.triggerSearchWithEnter("all"))})("keyup",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.triggerSearchWithEnterKey(o,"all"))}),e.EFF(2," Show all "),e.k0s()}}function ZS(n,r){if(1&n&&(e.j41(0,"div",29),e.DNE(1,jS,1,0,"ng-container",30)(2,XS,5,2,"div",21)(3,LS,5,2,"div",21)(4,US,5,2,"div",21)(5,KS,5,2,"div",21)(6,QS,3,0,"div",31),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(43);e.R7$(),e.Y8G("ngIf",(null==t.searchResults.instruments?null:t.searchResults.instruments.length)||(null==t.searchResults.issuers?null:t.searchResults.issuers.length)||(null==t.searchResults.pagesd
1ocuments?null:t.searchResults.pagesdocuments.length)||(null==t.searchResults.news?null:t.searchResults.news.length))("ngIfElse",i),e.R7$(),e.Y8G("ngIf",("all"===t.selectedSearch.class||"instruments"===t.selectedSearch.class)&&(null==t.searchResults.instruments?null:t.searchResults.instruments.length)>0),e.R7$(),e.Y8G("ngIf",("issuers"===t.selectedSearch.class||"all"===t.selectedSearch.class)&&(null==t.searchResults.issuers?null:t.searchResults.issuers.length)>0),e.R7$(),e.Y8G("ngIf",("pages-documents"===t.selectedSearch.class||"all"===t.selectedSearch.class)&&t.searchResults.pagesdocuments&&t.searchResults.pagesdocuments.length>0),e.R7$(),e.Y8G("ngIf",("news"===t.selectedSearch.class||"all"===t.selectedSearch.class)&&(null==t.searchResults.news?null:t.searchResults.news.length)>0),e.R7$(),e.Y8G("ngIf","all"===t.selectedSearch.class&&t.showAutocompleteShowAll(t.searchResults))}}function e$(n,r){if(1&n){const t=e.RV6();e.j41(0,"li",61),e.bIt("click",function(o){const a=e.eBV(t).$implicit,s=e.XpG(2);return e.Njj(s.setSearchType(a.id,o))}),e.j41(1,"a",62),e.bIt("click",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.preventRedirect(o))}),e.EFF(2),e.k0s()()}if(2&n){const t=r.$implicit,i=e.XpG(2);e.Y8G("ngClass",i.isActiveTab(t.id)?"active":""),e.R7$(),e.Y8G("href",i.getSearchLink(t.id),e.B4B),e.BMQ("aria-label",t.label),e.R7$(),e.Lme(" ",t.label," (",t.total,") ")}}function t$(n,r){if(1&n&&(e.j41(0,"div",56)(1,"div",57)(2,"div",58)(3,"ul",59),e.DNE(4,e$,3,5,"li",60),e.k0s()()()()),2&n){const t=e.XpG();e.R7$(4),e.Y8G("ngForOf",t.tabNavs)}}function n$(n,r){if(1&n&&(e.j41(0,"a",66)(1,"h3"),e.EFF(2),e.k0s(),e.j41(3,"div",67),e.EFF(4),e.k0s()()),2&n){const t=r.$implicit,i=e.XpG(2);e.Y8G("ngClass","search-by-"+t.searchtype)("href",t.url,e.B4B),e.BMQ("aria-label",t.text),e.R7$(2),e.JRh(t.text),e.R7$(2),e.JRh(i.getFullLink(t.url))}}function i$(n,r){if(1&n&&(e.j41(0,"div",63)(1,"div",64),e.EFF(2,"Your recent searches"),e.k0s(),e.DNE(3,n$,5,5,"a",65),e.k0s()),2&n){const t=e.XpG();e.R7$(3),e.Y8G("ngForOf",t.recentSearches)}}function o$(n,r){if(1&n&&(e.j41(0,"div",68),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.labelNoSuggestion.value," ")}}function r$(n,r){if(1&n&&(e.j41(0,"span")(1,"span",69),e.EFF(2),e.k0s(),e.EFF(3),e.k0s()),2&n){const t=e.XpG();e.R7$(2),e.SpI("",t.totalElements[t.getSearchTypeSettings(t.searchType)]," results"),e.R7$(),e.SpI(" (",t.getResultsToShow()," showing) ")}}function a$(n,r){if(1&n&&(e.j41(0,"a",70),e.EFF(1," Explore more news "),e.k0s()),2&n){const t=e.XpG();e.Y8G("href",t.getNewsExplorerLink(),e.B4B)}}function s$(n,r){if(1&n&&(e.j41(0,"ng-option",76),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.Y8G("value",t.value),e.R7$(),e.SpI(" ",t.label," ")}}function l$(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",71)(1,"form",72),e.bIt("ngSubmit",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.filterBy(o))}),e.j41(2,"div",73)(3,"ng-select",74),e.bIt("change",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.filterBy(o))}),e.DNE(4,s$,2,2,"ng-option",75),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("searchable",!1)("clearable",!1),e.R7$(),e.Y8G("ngForOf",t.dropdownPagesOptions)}}function c$(n,r){if(1&n&&(e.j41(0,"ng-option",76),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.Y8G("value",t.value),e.R7$(),e.SpI(" ",t.label," ")}}function p$(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",71)(1,"form",72),e.bIt("ngSubmit",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.sortBy(o))}),e.j41(2,"div",73)(3,"ng-select",77),e.bIt("change",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.sortBy(o))}),e.DNE(4,c$,2,2,"ng-option",75),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("searchable",!1)("clearable",!1),e.R7$(),e.Y8G("ngForOf",t.dropdownNewsOptions)}}function m$(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-instruments-content",78),e.bIt("showAllEmitter",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.setSearchType("instruments"))})("selectionEmitter",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.setCookieFromChild(o))}),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("searchType","instruments")("isThatSearchType",t.isThatSearchType("instruments"))("title","Instrument")("searchTerm",t.searchTerm)("listOfItems",t.content.instrumentsSearch)("showAllLabel","Show all instruments")("totalItems",t.content.totalinstruments.value)("parentSearchType",t.searchType)}}function _$(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-issuers-content",79),e.bIt("showAllEmitter",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.setSearchType("issuers"))})("selectionEmitter",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.setCookieFromChild(o))}),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("searchType","issuers")("isThatSearchType",t.isThatSearchType("issuers"))("title","Issuer")("listOfItems",t.content.issuersSearch)("showAllLabel","Show all issuers")("totalItems",t.content.totalissuers.value)("searchTerm",t.searchTerm)("parentSearchType",t.searchType)}}function d$(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-pages-content",80),e.bIt("showAllEmitter",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.setSearchType("pages-documents"))})("selectionEmitter",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.setCookieFromChild(o))}),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("searchType","pages-documents")("searchTerm",t.searchTerm)("isThatSearchType",t.isThatSearchType("pages-documents"))("title","Pages and documents")("listOfItems",t.content.pagesdocumentsSearch)("showAllLabel","Show all pages and documents")("totalItems",t.content.totalpagesdocuments.value)("parentSearchType",t.searchType)("noResultFound",t.content.labelNoSuggestion.value)}}function u$(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-news-content",81),e.bIt("showAllEmitter",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.setSearchType("news"))})("selectionEmitter",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.setCookieFromChild(o))}),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("searchType","news")("searchTerm",t.searchTerm)("isThatSearchType",t.isThatSearchType("news"))("title","News")("listOfItems",t.content.newsSearch)("showAllLabel","Show all news")("totalItems",t.content.totalnews.value)("parentSearchType",t.searchType)}}function g$(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",82)(1,"app-paginator",83),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.onSubmit(o))}),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("totalPages",t.getTotalPages(t.content.searchPagination.totalItems))("currentPage",t.content.searchPagination.page)}}function h$(n,r){if(1&n&&(e.j41(0,"div",84),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.content.labelNoSuggestion.value)}}let nr=(()=>{class n{constructor(t,i,o,a,s,c,d,C,T,I,N,z,me,_e){this.fb=t,this.cssmapping=i,this.http=o,this.config=a,this.refreshService=s,this.renderer=c,this.elementRef=d,this.platformId=C,this.scrollToService=T,this.swipe=I,this.cookieService=N,this.headTagService=z,this.pageTitleService=me,this.urlService=_e,this.debounceAutocompleteString=null,this.searchDropdown=null,this.totalElements={all:0,instruments:0,issuers:0,pagesDocuments:0,news:0},this.keyboardEventsManager=null,this.dropdownPagesOptions=[],this.dropdownNewsOptions=[],this.recentSearches=[],this.cookieName=M.c.recentSearchesCookieName,this.tabNavIsGreater=new Oe.t(!1),this.maxLengthSearch=20,this.maxLengthSearch=M.c.validations.maxLengthSearch}ngOnInit(){var t=this;return(0,_.A)(function*(){t.headTagService.setMetaRobot(),t.changed=!1,t.searchForm=t.fb.group({search:null}),t.debounceAutocomplete(t.searchForm),t.searchDropdown=t.getSearchDropdown(),t.selectSearch("all"),t.getBackLink(),t.setTotalResults(),t.tabNavs=t.getTabNavs(),t.dropdownPagesOptions=t.getDropdownPagesOptions(),t.dropdownNewsOptions=t.getDropdownNewsOptions(),t.searchType="all",t.recentSearches=t.cookieService.get(t.cookieName)?JSON.parse(t.cookieService.get(t.cookieName)):[],yield t.initDefaultParams()})()}
1ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id)}ngAfterViewInit(){this.setTabNavIsGreaterThanTabContainer(),this.keyboardEventsManager&&this.keyboardEventsManager.setFirstItemActive()}ngAfterViewChecked(){!this.keyboardEventsManager&&this.keyboardElement&&(this.keyboardEventsManager=new Ze.l3(this.keyboardElement)),this.setTabNavIsGreaterThanTabContainer()}ngOnChanges(t){(0,l.UE)(this.platformId)&&t.content?.currentValue!==t.content?.previousValue&&(this.changed=!0,this.setTotalResults(),this.tabNavs=this.getTabNavs(),(0,$e.A)(t)||(this.searchResults=null))}debounceAutocomplete(t){t&&t.get("search").valueChanges.pipe((0,W.p)(i=>!(i.length>0&&i.length<2)),(0,Xt.B)(700),(0,Mt.n)(i=>{this.debounceAutocompleteString=i;const o="all"===this.selectedSearch.class?"5":"10",a=(new F.Nl).set("q",i).set("size",o);return this.http.get(this.endpoint(),{params:a})}),(0,Ge.W)((i,o)=>((0,te.z3)(`Error in pipe when requesting companies autocomplete: ${i}`),o))).subscribe(i=>{i?this.searchResults=i:(0,te.z3)("Error requesting companies autocomplete.")})}triggerSearchWithEnter(t){var i=this;return(0,_.A)(function*(){if(i.searchForm.value.search&&(i.searchTerm=i.searchForm.value.search),!i.keyboardEventsManager.activeItem)return i.searchType=i.selectedSearch.class,i.searchResults=null,void(yield i.onSubmit());const o=i.keyboardEventsManager.activeItem.nativeElement.getAttribute("href"),a=i.keyboardEventsManager.activeItem.nativeElement.getAttribute("data-search-content"),s=i.keyboardEventsManager.activeItem.nativeElement.getAttribute("data-search-type");if(o)i.setCookie(s,o,a),i.searchResults=null,window.location.href=o;else{const c=s||t;c&&(i.searchType=c,i.selectSearch(c),i.searchResults=null),yield i.onSubmit()}})()}triggerSearchWithEnterKey(t,i){var o=this;return(0,_.A)(function*(){"Enter"===t.key&&(o.keyboardEventsManager.setFirstItemActive(),o.triggerSearchWithEnter(i))})()}inputValue(t){this.searchForm.value.search&&this.searchForm.value.search.length>1?(this.showSuggestions=!0,this.keyboardEventsManager&&this.handleKeyUp(t)):(this.searchResults=null,this.showSuggestions=!1)}instrumentCssClass(t){return this.cssmapping.cssClass({value:t})}getCompanyLabel(t){return 1!==t?"instruments":"instrument"}toggleExpansion(){this.searchResults=null,this.toggleStatus=!this.toggleStatus}toggleExpansionKey(t){"Enter"===t.key&&this.toggleExpansion()}selectSearch(t){this.selectedSearch=this.searchDropdown[this.getSearchTypeSettings(t)]}selectSearchKey(t,i){"Enter"===i.key&&this.selectSearch(t)}getSearchDropdown(){return{all:{label:"All",class:"all",placeholder:this.content.placeholderSearchAll.value,itemsPerPage:5},instruments:{label:"Instrument",class:"instruments",placeholder:this.content.placeholderSearchSecurity.value,itemsPerPage:10},issuers:{label:"Issuer",class:"issuers",placeholder:this.content.placeholderSearchCompany.value,itemsPerPage:10},pagesDocuments:{label:"Pages and documents",class:"pages-documents",placeholder:this.content.placeholderSearchPagesDocuments.value,itemsPerPage:20},news:{label:"News",class:"news",placeholder:this.content.placeholderSearchNews.value,itemsPerPage:20}}}getSearchTypeSettings(t){return["pages","pages-documents","documents"].includes(t)?"pagesDocuments":t}endpoint(){const t=this.config.apiServer+M.c.endpoints.searchAutocomplete;switch(this.selectedSearch.class){case"all":default:return t;case"instruments":return t+"/instruments";case"issuers":return t+"/issuers";case"pages-documents":return t+"/pages-documents";case"news":return t+"/news"}}preventRedirect(t){t&&t.preventDefault()}setSearchType(t,i){var o=this;return(0,_.A)(function*(){o.preventRedirect(i),o.searchType=t,o.selectSearch(t),yield o.onSubmit(0,!0)})()}isActiveTab(t){return!!t&&this.getSearchTypeSettings(t)===this.getSearchTypeSettings(this.searchType)}isThatSearchType(t){return this.getSearchTypeSettings(this.searchType)===this.getSearchTypeSettings(t)||"all"===this.searchType}getTabNavs(){const t={all:{id:"all",label:"All",total:this.totalElements.all},instruments:{id:"instruments",label:"Instrument",total:this.totalElements.instruments},issuers:{id:"issuers",label:"Issuer",total:this.totalElements.issuers},pagesDocuments:{id:"pages-documents",label:"Pages and documents",total:this.totalElements.pagesDocuments},news:{id:"news",label:"News",total:this.totalElements.news}},i=[];
1return Object.keys(this.totalElements).forEach(o=>{this.totalElements[o]>0&&i.push(t[o])}),i}setTotalResults(){this.totalElements.instruments=this.getTotalElements("totalinstruments"),this.totalElements.issuers=this.getTotalElements("totalissuers"),this.totalElements.pagesDocuments=this.getTotalElements("totalpagesdocuments"),this.totalElements.news=this.getTotalElements("totalnews"),this.totalElements.all=this.totalElements.instruments+this.totalElements.issuers+this.totalElements.pagesDocuments+this.totalElements.news}getTotalElements(t){return this.content[t]&&this.content[t].value>0?this.content[t].value:0}getResultsToShow(){if("all"===this.searchType||!this.searchType){let t=0;return Object.keys(this.totalElements).forEach(i=>{"all"!==i&&(t+=this.totalElements[i]<=5?this.totalElements[i]:5)}),t}return this.totalElements[this.getSearchTypeSettings(this.searchType)]<=this.searchDropdown[this.getSearchTypeSettings(this.searchType)].itemsPerPage?this.totalElements[this.getSearchTypeSettings(this.searchType)]:this.searchDropdown[this.getSearchTypeSettings(this.searchType)].itemsPerPage}onSubmit(){var t=this;return(0,_.A)(function*(i=0,o=!1){let a=new F.Nl({fromString:t.getParameters(i)}).set("q",t.searchTerm);t.sort&&"news"===t.searchType&&(a=a.set("sort",t.sort)),yield t.updateUrlWithParams(a,o),t.status={...t.status,currentPage:i,params:a},t.refreshService.refreshComponent(t.id,t.position,t.type,t.content,t.status),t.scrollToService.scrollToTheElementById("search-form",t.elementRef),t.firstLoad=!0}).apply(this,arguments)}updateUrlWithParams(t,i){var o=this;return(0,_.A)(function*(){const a=yield o.urlService.getCurrentPath().toPromise();let s=t.delete("size");i&&(s=s.delete("page")),yield o.urlService.setCurrentPath({path:a.path,parameters:s}),s.get("q")&&o.pageTitleService.dispatchPageTitlePrefix([s.get("q"),"-"])})()}getParameters(t){if("all"===this.searchType||!this.searchType)return"searchtype=all&size=5";try{return`searchtype=${this.searchType}&page=${t}&size=${this.searchDropdown[this.getSearchTypeSettings(this.searchType)].itemsPerPage}`}catch{return`searchtype=${this.searchType}&page=${t}`}}handleKeyUp(t){["ArrowDown","ArrowUp","Up","Down"].includes(t.key)?(this.keyboardEventsManager.onKeydown(t),this.keyboardNavigation(this.keyboardEventsManager.activeItem)):"Enter"===t.key?(this.triggerSearchWithEnter(),this.showSuggestions=!1):("Escape"===t.key||"Esc"===t.key)&&(this.searchResults=null,this.showSuggestions=!1)}mouseNavigation(t){this.keyboardEventsManager.setFirstItemActive();const i=this.elementRef.nativeElement.querySelector(t);this.navigationClasses(i)}keyboardNavigation(t){let i=null;t&&(i=t.nativeElement),this.navigationClasses(i)}navigationClasses(t){const i=this.elementRef.nativeElement.querySelector(".selected");i&&this.renderer.removeClass(i,"selected"),t&&(i&&this.renderer.removeClass(i,"selected"),this.renderer.addClass(t,"selected"))}getInstrumentLink(t,i,o){return k.T.getCompanyUrl(t,i,o)}getNewsLink(t,i,o){return k.T.getNewsArticleUrl(t,i,o)}getPagesLink(t){return t?t.url||this.getOtherLink(t.type,t.id,t.name):"#"}getOtherLink(t,i,o){return t&&i&&o&&ht.g.has(t)?this.getLinkByType(t,i,o):"#"}getLinkByType(t,i,o){const a=ht.g.get(t)||"";return k.T.getDirectoryUrl(a,i,o)}getSearchLink(t){return k.T.getLink("search",(new F.Nl).set("searchtype",t).set("q",this.searchTerm))}getBackLink(){if((0,l.Vy)(this.platformId))return"/";const t=sessionStorage.getItem(M.c.lseSearchPageKeyName);if(this.previousUrl="/",!t||0===t.length||"home"===t)return this.previousUrl;try{return this.previousUrl=t,this.clearPreviousKey(),this.previousUrl}catch(i){(0,te.z3)(`Json parse session storage object. Error: ${i}`)}}clearPreviousKey(){sessionStorage&&sessionStorage.removeItem(M.c.lseSearchPageKeyName)}getNewsExplorerLink(){const t=(new F.Nl).set("tab","news-explorer");return k.T.getLink("news",t)}filterBy(t){var i=this;return(0,_.A)(function*(){i.searchType=t,yield i.onSubmit()})()}sortBy(t){var i=this;return(0,_.A)(function*(){i.sort=t,yield i.onSubmit()})()}getDropdownPagesOptions(){return[{value:"pages",label:"Pages"},{value:"documents",label:"Documents"}]}getDropdownNewsOptions(){return[{value:"score,desc",label:"Relevance"},{value:"lastmodified,desc",label:"Most Recent"}]}getTotalPages(t){return Math.ceil(t/this.content.searchPagination.itemsPerPage)}initDefaultParams(){var t=this;return(0,_.A)(function*(){const i=yield t.urlService.getCurrentPath().toPromise(),o=i.parameters.get("searchtype"),a=i.parameters.get("q"),s=i.parameters.get("page");if(a){let c=0;s&&(c=parseInt(s,10)),t.searchType=o,t.selectSearch(o),t.searchForm.controls.search.setValue(a),t.searchTerm=a,yield t.onSubmit(c)}})()}onWheel(t){const i=this.swipe.getAncestor(t.target,"tab-nav-overlay"),o=this.elementRef.nativeElement.querySelector(".tab-nav-overlay .tab-nav-container"),a=this.elementRef.nativeElement.querySelector(".tab-nav-overlay .tab-nav-wrapper");i&&o&&a&&a.offsetWidth>i.offsetWidth&&(t.preventDefault(),o.scrollLeft+=t.deltaY)}onMouseWheelChrome(t){this.onWheel(t)}onMouseWheelFirefox(t){this.onWheel(t)}setTabNavIsGreaterThanTabContainer(){if(!this.searchTerm&&!this.totalElements.all)return;const t=this.elementRef.nativeElement.querySelector(".tab-nav-wrapper"),i=this.elementRef.nativeElement.querySelector(".tab-nav-overlay .tab-nav-container");t&&i&&(this.tabNavIsGreater.next(t.offsetWidth>i.offsetWidth),this.setActiveTab())}setActiveTab(){const t=this.elementRef.nativeElement.querySelector(".active"),i=this.elementRef.nativeElement.querySelector(".tab-nav-overlay .tab-nav-container");this.firstLoad&&t&&i&&(i.scrollLeft=t.offsetLeft-20,this.firstLoad=!1)}isTabNavGreaterThanTabContainer(){return this.tabNavIsGreater.asObservable()}canSetCookie(){this.cookieService.delete(this.cookieName,"/");const t=this.cookieService.get("CookieControl");if(!t)return!1;const i=JSON.parse(t);return i&&i.optionalCookies&&i.optionalCookies.functional}setCookie(t,i,o){if(!this.canSetCookie())return;const a={searchtype:t,url:i,text:o};this.recentSearches=this.recentSearches.filter(s=>s.searchtype!==a.searchtype||s.text!==a.text||s.url!==a.url),5===this.recentSearches.length&&this.recentSearches.pop(),this.recentSearches.unshift(a);try{this.cookieService.set(this.cookieName,JSON.stringify(this.recentSearches),1,"/",null,M.c.httpsCookies,"Strict")}catch(s){(0,te.z3)(`Error: ${s}
1 to set the cookie: ${this.cookieName}`)}}setCookieFromChild(t){t&&this.setCookie(t.searchtype,t.url,t.text)}getContent(t){return t}getFullLink(t){return t.startsWith("http://")||t.startsWith("https://")?t:(t=t.startsWith("/")?t.slice(1):t,`${M.c.baseUrl}/${t}`)}directoryLabel(t){return ht.c.get(t)||""}showAutocompleteShowAll(t){return Object.keys(t).filter(i=>t[i].length).length>1}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(g.ze),e.rXU(b.o),e.rXU(F.Qq),e.rXU(Le.w),e.rXU(j.W),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(e.Agw),e.rXU(le.W),e.rXU(Ee.h),e.rXU(Yi.O),e.rXU(Ot.$),e.rXU(pe.P),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-search"]],viewQuery:function(i,o){if(1&i&&e.GBs(ES,5),2&i){let a;e.mGM(a=e.lsd())&&(o.keyboardElement=a)}},hostBindings:function(i,o){1&i&&e.bIt("wheel",function(s){return o.onWheel(s)})("mousewheel",function(s){return o.onMouseWheelChrome(s)})("DOMMouseScroll",function(s){return o.onMouseWheelFirefox(s)})},inputs:{content:"content",type:"type",position:"position",id:"id",status:"status"},features:[e.OA$],decls:44,vars:41,consts:[["keyboardElement",""],["noContent",""],["id","global-search",1,"search-component","full-width","gtm-track-component"],[1,"search-head"],[1,"wrapper","x-large-width","x-large-width-padding","mobile-flex-wrapper","search-head-container"],[1,"jump-menu","mobile-flex-wrapper"],["tabindex","0",1,"dropmenu","dropdown",3,"click","keyup","clickOutside","ngClass"],[1,"search-by-option",3,"ngClass"],[1,"selection-open"],["tabindex","0",3,"click","keyup"],["id","search-form",1,"search-form",3,"formGroup"],[1,"search-container",3,"clickOutside"],["formControlName","search","name","search","type","text","id","search","aria-describedby","search","autocomplete","off",1,"form-control","bigger-font-size","search-icon","search-input",3,"keyup","placeholder","maxlength"],["class","issuers-autocomplete",4,"ngIf"],["aria-label","Close",1,"close-button","gold-button","bold-font-weight",3,"href"],["class","tab-nav-component",4,"ngIf"],["class","recent-search-content wrapper x-large-width x-large-width-padding",4,"ngIf"],["class","no-results-search-content wrapper x-large-width x-large-width-padding large-font-size",4,"ngIf"],[1,"search-content","wrapper","x-large-width","x-large-width-padding"],[1,"flex-wrapper","results-search-header"],[1,"results-header","big-font-size"],[4,"ngIf"],["class","bold-font-weight regular-font-size","aria-label","Explore more news",3,"href",4,"ngIf"],["class","sort-by",4,"ngIf"],[3,"searchType","isThatSearchType","title","searchTerm","listOfItems","showAllLabel","totalItems","parentSearchType","showAllEmitter","selectionEmitter",4,"ngIf"],[3,"searchType","isThatSearchType","title","listOfItems","showAllLabel","totalItems","searchTerm","parentSearchType","showAllEmitter","selectionEmitter",4,"ngIf"],[3,"searchType","searchTerm","isThatSearchType","title","listOfItems","showAllLabel","totalItems","parentSearchType","noResultFound","showAllEmitter","selectionEmitter",4,"ngIf"],[3,"searchType","searchTerm","isThatSearchType","title","listOfItems","showAllLabel","totalItems","parentSearchType","showAllEmitter","selectionEmitter",4,"ngIf"],["class","items-pagination",4,"ngIf"],[1,"issuers-autocomplete"],[4,"ngIf","ngIfElse"],["class","fake-link bold-font-weight show-all","data-search-type","all","tabindex","0","aria-label","Show all",3,"click","keyup",4,"ngIf"],["class","issuer","data-search-type","instruments",3,"id","ngClass","href","mouseout","mouseover","click",4,"ngFor","ngForOf"],["class","fake-link bold-font-weight gtm-trackable show-partials","data-search-type","instruments","tabindex","0","aria-label","Show all instruments",3,"click","keyup",4,"ngIf"],["data-search-type","instruments",1,"issuer",3,"mouseout","mouseover","click","id","ngClass","href"],[1,"mobile-flex-wrapper","spaced-flex-container","flex-align-center"],[1,"ellipsed","issuer-ellipsed"],[1,"issuer-key"],["appHighlightResult","",1,"uppercase",3,"highlightString","originalString"],[1,"instrument-label","bold-font-weight","hide-on-mobile"],["data-search-type","instruments","tabindex","0","aria-label","Show all instruments",1,"fake-link","bold-font-weight","gtm-trackable","show-partials",3,"click","keyup"],["class","issuer ellipsed","data-search-type","issuers",3,"id","href","mouseout","mouseover","click",4,"ngFor","ngForOf"],["class","fake-link bold-font-weight gtm-trackable show-partials","data-search-type","issuers","tabindex","0","aria-label","Show all issuers",3,"click","keyup",4,"ngIf"],["data-search-type","issuers",1,"issuer","ellipsed",3,"mouseout","mouseover","click","id","href"],[1,"bold-font-weight","issuer-securities","hide-on-mobile"],["data-search-type","issuers","tabindex","0","aria-label","Show all issuers",1,"fake-link","bold-font-weight","gtm-trackable","show-partials",3,"click","keyup"],["class","issuer page-suggestion ellipsed","data-search-type","pages-documents",3,"id","href","mouseout","mouseover","click",4,"ngFor","ngForOf"],["class","fake-link bold-font-weight gtm-trackable show-partials","data-search-type","pages-documents","tabindex","0","aria-label","Show all pages and documents",3,"click","keyup",4,"ngIf"],["data-search-type","pages-documents",1,"issuer","page-suggestion","ellipsed",3,"mouseout","mouseover","click","id","href"],["data-search-type","pages-documents","tabindex","0","aria-label","Show all pages and documents",1,"fake-link","bold-font-weight","gtm-trackable","show-partials",3,"click","keyup"],["class","issuer news-suggestion ellipsed","data-search-type","news",3,"id","href","mouseout","mouseover","click",4,"ngFor","ngForOf"],["class","fake-link bold-font-weight gtm-trackable show-partials","data-search-type","news","tabindex","0","aria-label","Show all news",3,"click","keyup",4,"ngIf"],["data-search-type","news",1,"issuer","news-suggestion","ellipsed",3,"mouseout","mouseover","click","id","href"],["appHighlightResult","",3,"highlightString","originalString"],["data-search-type","news","tabindex","0","aria-label","Show all news",1,"fake-link","bold-font-weight","gtm-trackable","show-partials",3,"click","keyup"],["data-search-type","all","tabindex","0","aria-label","Show all",1,"fake-link","bold-font-weight","show-all",3,"click","keyup"],[1,"tab-nav-component"],[1,"tab-nav-overlay","wrapper","x-large-width"],[1,"tab-nav-container"],[1,"tab-nav-wrapper"],["class","tab-nav medium-font-we
1ight ellipsed",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"tab-nav","medium-font-weight","ellipsed",3,"click","ngClass"],[3,"click","href"],[1,"recent-search-content","wrapper","x-large-width","x-large-width-padding"],[1,"search-total-results","big-font-size","bold-font-weight"],["class","search-item black-link",3,"ngClass","href",4,"ngFor","ngForOf"],[1,"search-item","black-link",3,"ngClass","href"],[1,"ellipsed"],[1,"no-results-search-content","wrapper","x-large-width","x-large-width-padding","large-font-size"],[1,"search-total-results","bold-font-weight"],["aria-label","Explore more news",1,"bold-font-weight","regular-font-size",3,"href"],[1,"sort-by"],[1,"form-inline","small-font-size",3,"ngSubmit"],[1,"form-group","form-group-dropdown"],["id","dropdownSort","name","dropdownSort","placeholder","Filter by",1,"form-control","form-select",3,"change","searchable","clearable"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["id","dropdownSort","name","dropdownSort","placeholder","Sort by",1,"form-control","form-select",3,"change","searchable","clearable"],[3,"showAllEmitter","selectionEmitter","searchType","isThatSearchType","title","searchTerm","listOfItems","showAllLabel","totalItems","parentSearchType"],[3,"showAllEmitter","selectionEmitter","searchType","isThatSearchType","title","listOfItems","showAllLabel","totalItems","searchTerm","parentSearchType"],[3,"showAllEmitter","selectionEmitter","searchType","searchTerm","isThatSearchType","title","listOfItems","showAllLabel","totalItems","parentSearchType","noResultFound"],[3,"showAllEmitter","selectionEmitter","searchType","searchTerm","isThatSearchType","title","listOfItems","showAllLabel","totalItems","parentSearchType"],[1,"items-pagination"],[3,"goToPage","totalPages","currentPage"],[1,"issuer","issuer-empty"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"section",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"span",6),e.bIt("click",function(){return e.eBV(a),e.Njj(o.toggleExpansion())})("keyup",function(c){return e.eBV(a),e.Njj(o.toggleExpansionKey(c))})("clickOutside",function(){return e.eBV(a),e.Njj(o.toggleStatus=!1)}),e.j41(5,"span",7),e.EFF(6),e.k0s(),e.j41(7,"span",8),e.EFF(8,"Select"),e.k0s(),e.j41(9,"ul")(10,"li",9),e.bIt("click",function(){return e.eBV(a),e.Njj(o.selectSearch("all"))})("keyup",function(c){return e.eBV(a),e.Njj(o.selectSearchKey("all",c))}),e.EFF(11),e.k0s(),e.j41(12,"li",9),e.bIt("click",function(){return e.eBV(a),e.Njj(o.selectSearch("instruments"))})("keyup",function(c){return e.eBV(a),e.Njj(o.selectSearchKey("instruments",c))}),e.EFF(13),e.k0s(),e.j41(14,"li",9),e.bIt("click",function(){return e.eBV(a),e.Njj(o.selectSearch("issuers"))})("keyup",function(c){return e.eBV(a),e.Njj(o.selectSearchKey("issuers",c))}),e.EFF(15),e.k0s(),e.j41(16,"li",9),e.bIt("click",function(){return e.eBV(a),e.Njj(o.selectSearch("pages-documents"))})("keyup",function(c){return e.eBV(a),e.Njj(o.selectSearchKey("pages-documents",c))}),e.EFF(17),e.k0s(),e.j41(18,"li",9),e.bIt("click",function(){return e.eBV(a),e.Njj(o.selectSearch("news"))})("keyup",function(c){return e.eBV(a),e.Njj(o.selectSearchKey("news",c))}),e.EFF(19),e.k0s()()()(),e.j41(20,"form",10)(21,"span",11),e.bIt("clickOutside",function(){return e.eBV(a),e.Njj(o.showSuggestions=!1)}),e.j41(22,"input",12,0),e.bIt("keyup",function(c){return e.eBV(a),e.Njj(o.inputValue(c))}),e.k0s(),e.DNE(24,ZS,7,7,"div",13),e.k0s()(),e.j41(25,"a",14),e.EFF(26,"Close"),e.k0s()(),e.DNE(27,t$,5,1,"div",15)(28,i$,4,1,"div",16)(29,o$,2,1,"div",17),e.j41(30,"div",18)(31,"div",19)(32,"div",20),e.DNE(33,r$,4,2,"span",21)(34,a$,2,1,"a",22),e.k0s(),e.DNE(35,l$,5,3,"div",23)(36,p$,5,3,"div",23),e.k0s(),e.DNE(37,m$,1,8,"app-instruments-content",24)(38,_$,1,8,"app-issuers-content",25)(39,d$,1,9,"app-pages-content",26)(40,u$,1,8,"app-news-content",27)(41,g$,2,2,"div",28),e.k0s()()(),e.DNE(42,h$,2,1,"ng-template",null,1,e.C5r)}2&i&&(e.R7$(4),e.Y8G("ngClass",o.toggleStatus?"expanded":""),e.R7$(),e.Y8G("ngClass","search-by-"+(null==o.selectedSearch?null:o.selectedSearch.class)),e.R7$(),e.JRh(null==o.selectedSearch?null:o.selectedSearch.label),e.R7$(4),e.ZvI("search-by-option search-by-",o.searchDropdown.all.class,""),e.R7$(),e.SpI(" ",o.searchDropdown.all.label," "),e.R7$(),e.ZvI("search-by-option search-by-",o.searchDropdown.instruments.class,""),e.R7$(),e.SpI(" ",o.searchDropdown.instruments.label," "),e.R7$(),e.ZvI("search-by-option search-by-",o.searchDropdown.issuers.class,""),e.R7$(),e.SpI(" ",o.searchDropdown.issuers.label," "),e.R7$(),e.ZvI("search-by-option search-by-",o.searchDropdown.pagesDocuments.class,""),e.R7$(),e.SpI(" ",o.searchDropdown.pagesDocuments.label," "),e.R7$(),e.ZvI("search-by-option search-by-",o.searchDropdown.news.class,""),e.R7$(),e.SpI(" ",o.searchDropdown.news.label," "),e.R7$(),e.Y8G("formGroup",o.searchForm),e.R7$(2),e.FS9("placeholder",(null==o.selectedSearch?null:o.selectedSearch.placeholder)||""),e.FS9("maxlength",o.maxLengthSearch),e.R7$(2),e.Y8G("ngIf",o.searchResults&&o.showSuggestions),e.R7$(),e.Y8G("href",o.previousUrl,e.B4B),e.R7$(2),e.Y8G("ngIf",o.searchTerm&&o.totalElements.all),e.R7$(),e.Y8G("ngIf",!o.searchTerm&&(null==o.recentSearches?null:o.recentSearches.length)>0),e.R7$(),e.Y8G("ngIf",o.searchTerm&&!o.totalElements.all&&o.changed),e.R7$(4),e.Y8G("ngIf",o.searchTerm&&((null==o.content.instrumentsSearch?null:o.content.instrumentsSearch.length)||(null==o.content.issuersSearch?null:o.content.issuersSearch.length)||(null==o.content.pagesdocumentsSearch?null:o.content.pagesdocumentsSearch.length)||(null==o.content.newsSearch?null:o.content.newsSearch.length))),e.R7$(),e.Y8G("ngIf","news"===o.searchType),e.R7$(),e.Y8G("ngIf",e.lJ4(40,DS).includes(o.searchType)),e.R7$(),e.Y8G("ngIf","news"===o.searchType),e.R7$(),e.Y8G("ngIf",null==o.content.instrumentsSearch?null:o.content.instrumentsSearch.length),e.R7$(),e.Y8G("ngIf",null==o.content.issuersSearch?null:o.content.issuersSearch.length),e.R7$(),e.Y8G("ngIf",(null==o.content.pagesdocumentsSearch?null:o.content.pagesdocumentsSearch.length)||0==(null==o.content.pagesdocumentsSearch?null:o.content.pagesdocumentsSearch.length)&&o.content.totalpagesdocuments.value),e.R7$(),e.Y8G("ngIf",null==o.content.newsSearch?null:o.content.newsSearch.length),e.R7$(),e.Y8G("ngIf","all"!==o.searchType))},dependencies:[l.YU,l.Sq,l.bT,g.qT,g.me,g.BC,g.cb,g.tU,g.cV,no.z,io.H,g.j4,g.JD,ne.vr,ne.xt,Qo,Zo,er,tr,ue,Te.Z,lt.X],styles:['.search-form[_ngcontent-%COMP%]{width:calc(100% - 28rem)}@media (max-width: 1023px){.search-form[_ngcontent-%COMP%]{order:3;width:100%}}.close-button[_ngcontent-%COMP%]{bottom:0;margin-bottom:1rem;margin-left:0;position:absolute;right:0}@media (max-width: 1144px){.close-button[_ngcontent-%COMP%]{right:1rem}}@media (max-width: 1023px){.close-button[_ngcontent-%COMP%]{margin-left:1.5rem;position:static;right:0}}@media (max-width: 768px){.close-button[_ngcontent-%COMP%]{margin-top:-2.5rem;position:static}}.issuers-autocomplete[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{background:#e6e6e6;text-decoration:underline}.issuers-autocomplete[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%] .ellipsed[_ngcontent-%COMP%]{text-decoration:underline}.search-head[_ngcontent-%COMP%]{background:#fff;padding-top:1.75rem;top:0;width:100%}@media (max-width: 768px){.search-head[_ngcontent-%COMP%]{margin-top:5rem;padding-top:0}}.search-head-container[_ngcontent-%COMP%]{align-items:center;justify-content:flex-end;position:relative}.search-container[_ngcontent-%COMP%]{display:inline-block;width:100%}.search-container[_ngcontent-%COMP%]:after{right:6rem}@media (max-width: 1023px){.search-container[_ngcontent-%COMP%]:after{right:.5rem}}.search-input[_ngcontent-%COMP%]{border-left:0;border-right:0;border-top:0;padding-right:7.5rem}@media (max-width: 1144px){.search-input[_ngcontent-%COMP%]{padding-right:2.5rem}}.search-input[_ngcontent-%COMP%]:focus{box-shadow:none;outline:0}.issuers-autocomplete[_ngcontent-%COMP%]{left:0;margin-bottom:1.75rem;top:3rem;width:100%;z-index:30}.issuers-autocomplete[_ngcontent-%COMP%] .fake-link[_ngcontent-%COMP%]{padding-top:1rem}.issuers-autocomplete[_ngcontent-%COMP%] .issuer[_ngcontent-%COMP%]{border:0;display:block;padding:.5rem 1.5em;text-decoration:none}@media (max-width: 480px){.issuers-autocomplete[_ngcontent-%COMP%] .issuer[_ngcontent-%COMP%]{display:none}.issuers-autocomplete[_ngcontent-%COMP%] .issuer[_ngcontent-%COMP%]:nth-child(2), .issuers-autocomplete[_ngcontent-%COMP%] .issuer[_ngcontent-%COMP%]:nth-child(3), .issuers-autocomplete[_ngcontent-%COMP%] .issuer[_ngcontent-%COMP%]:nth-child(4){dis
1play:block}}.issuers-autocomplete[_ngcontent-%COMP%] .issuer[_ngcontent-%COMP%]:hover .ellipsed[_ngcontent-%COMP%]{text-decoration:underline}.issuers-autocomplete[_ngcontent-%COMP%] .issuer[_ngcontent-%COMP%] .issuer-key[_ngcontent-%COMP%]{color:#000;display:inline-block;margin-right:1rem}.issuers-autocomplete[_ngcontent-%COMP%] .issuer.issuer-empty[_ngcontent-%COMP%]{display:block;margin-bottom:.5rem}.issuers-autocomplete[_ngcontent-%COMP%] .issuer.news-suggestion[_ngcontent-%COMP%] .issuer-ellipsed[_ngcontent-%COMP%], .issuers-autocomplete[_ngcontent-%COMP%] .issuer.page-suggestion[_ngcontent-%COMP%] .issuer-ellipsed[_ngcontent-%COMP%]{max-width:100%}.instrument-label[_ngcontent-%COMP%], .issuer-securities[_ngcontent-%COMP%]{text-decoration:none}.instrument-label[_ngcontent-%COMP%]{padding:.25rem .5rem}.jump-menu[_ngcontent-%COMP%]{margin-right:1rem;width:15rem}@media (max-width: 1023px){.jump-menu[_ngcontent-%COMP%]{margin-bottom:1.25rem;margin-right:0}}@media (max-width: 768px){.jump-menu[_ngcontent-%COMP%]{margin:1rem 0;order:2;width:100%}}@media (max-width: 768px){.jump-menu[_ngcontent-%COMP%] .dropmenu[_ngcontent-%COMP%]{max-width:100%}}.jump-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:0 .875em;width:auto}.jump-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background:#bad5ea}.jump-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .jump-menu[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]{border:.0625rem solid #b2b2b2;color:#000;margin:0;overflow:visible;z-index:20}.jump-menu[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]:after{background-image:url(assets/static/back-link.svg);transform:rotate(-90deg);width:.5rem}.jump-menu[_ngcontent-%COMP%] .selection-open[_ngcontent-%COMP%]{display:none}.jump-menu[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%]{background:#001eff;color:#fff}.jump-menu[_ngcontent-%COMP%] .expanded.dropdown[_ngcontent-%COMP%]:after{background-image:url(assets/static/white-back-link.svg);transform:rotate(90deg)}.jump-menu[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] > .search-by-option[_ngcontent-%COMP%]{display:none}.jump-menu[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{background:#fff}.jump-menu[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] .selection-open[_ngcontent-%COMP%]{display:inline-block}.search-by-option[_ngcontent-%COMP%]:before{background-position:center center;background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:1.5rem;margin-right:1rem;vertical-align:middle;width:1.5rem}.search-by-all[_ngcontent-%COMP%]:before{background-image:url(assets/static/icon_all.svg)}.search-by-instruments[_ngcontent-%COMP%]:before{background-image:url(assets/static/icon_security.svg)}.search-by-issuers[_ngcontent-%COMP%]:before{background-image:url(assets/static/icon_company.svg)}.search-by-pages-documents[_ngcontent-%COMP%]:before{background-image:url(assets/static/icon_pages.svg)}.search-by-news[_ngcontent-%COMP%]:before{background-image:url(assets/static/icon_news.svg)}.issuers-autocomplete[_ngcontent-%COMP%] .fake-link.show-all[_ngcontent-%COMP%]{background-color:#e6e1d6;padding:1.5rem}.issuers-autocomplete[_ngcontent-%COMP%] .fake-link.show-all[_ngcontent-%COMP%]:after{background-image:url(assets/static/back-link.svg);background-position:center center;background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:1rem;margin-left:1rem;transform:rotate(180deg);vertical-align:top;width:.5rem}.recent-search-content[_ngcontent-%COMP%], .no-results-search-content[_ngcontent-%COMP%], .tab-nav-component[_ngcontent-%COMP%]{margin-top:2.5rem}.search-total-results[_ngcontent-%COMP%]{color:#001eff;font-weight:700}.recent-search-content[_ngcontent-%COMP%] .search-total-results[_ngcontent-%COMP%]{margin-bottom:1rem}.ng-select[_ngcontent-%COMP%], .sort-by[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin-bottom:0}.search-content[_ngcontent-%COMP%]{margin-bottom:3rem}.results-search-header[_ngcontent-%COMP%]{justify-content:space-between;margin:2.3rem 0 1rem;min-height:3.25rem}@media (max-width: 1023px){.results-search-header[_ngcontent-%COMP%]{flex-wrap:wrap}}@media (max-width: 1023px){.results-search-header[_ngcontent-%COMP%] .results-header[_ngcontent-%COMP%]{width:100%}}.results-search-header[_ngcontent-%COMP%] .results-header[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:right;margin-left:2.5rem}@media (max-width: 768px){.results-search-header[_ngcontent-%COMP%] .results-header[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;float:none;margin:.5rem 0}}.items-pagination[_ngcontent-%COMP%]{margin-top:3rem}.search-item[_ngcontent-%COMP%]{border-bottom:.0625rem solid #e6e6e6;color:#000;display:block;padding:1rem 0 1rem 3rem;position:relative}.search-item[_ngcontent-%COMP%]:before{background-position:center center;background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:2rem;left:0;margin-right:1rem;position:absolute;top:1.5rem;vertical-align:middle;width:2rem}.show-partials[_ngcontent-%COMP%]{margin-bottom:.5rem;padding:.5rem 1.5em}']})}}return n})(),f$=(()=>{class n{constructor(t,i){this.platformId=t,this.elementRef=i,this.elementId=null,this.positionToCheck=0,this.isInPosition=new e.bkB,this.isSticky=new e.bkB,this.isBrowser=(0,l.UE)(this.platformId)}ngAfterViewInit(){this.isBrowser&&(this.startPosition=this.elementRef.nativeElement.getBoundingClientRect().top)}onWindowScroll(){if(!this.isBrowser)return;const t=this.elementRef.nativeElement.getBoundingClientRect().top,i=this.elementRef.nativeElement.getBoundingClientRect().bottom,o=this.elementRef.nativeElement.offsetTop;t<=this.positionToCheck&&i>=this.positionToCheck&&this.isInPosition.emit(this.elementId),this.isSticky.emit
1(window.pageYOffset-o>=this.startPosition)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw),e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","appElementPosition",""]],hostBindings:function(i,o){1&i&&e.bIt("scroll",function(){return o.onWindowScroll()},!1,e.tSv)},inputs:{elementId:"elementId",positionToCheck:"positionToCheck"},outputs:{isInPosition:"isInPosition",isSticky:"isSticky"}})}}return n})();function v$(n,r){if(1&n&&(e.j41(0,"h4",6),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.pageTitle.value," ")}}function b$(n,r){if(1&n){const t=e.RV6();e.j41(0,"li",9),e.bIt("click",function(o){const a=e.eBV(t).$implicit,s=e.XpG(2);return e.Njj(s.goToSection(a.id,o))}),e.j41(1,"a",10),e.bIt("click",function(o){const a=e.eBV(t).$implicit,s=e.XpG(2);return e.Njj(s.goToSection(a.id,o))}),e.EFF(2),e.k0s()()}if(2&n){const t=r.$implicit,i=e.XpG(2);e.Y8G("ngClass",i.currentSelection===t.id?"active":""),e.R7$(),e.Y8G("href",i.getAnchorUrl(t.id),e.B4B),e.R7$(),e.JRh(t.label)}}function C$(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",7),e.bIt("isSticky",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.checkSticky(o))}),e.j41(1,"ul"),e.DNE(2,b$,3,3,"li",8),e.k0s()()}if(2&n){const t=e.XpG();e.AVh("sticky",t.stickyMenu),e.R7$(2),e.Y8G("ngForOf",t.getAnchors())}}function T$(n,r){if(1&n&&(e.j41(0,"h2",16),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.title)}}function x$(n,r){if(1&n&&(e.nrm(0,"div",17),e.nI1(1,"safeHtml")),2&n){const t=e.XpG().$implicit;e.Y8G("innerHtml",e.bMT(1,1,t.text),e.npT)}}function k$(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",11)(1,"div",12),e.bIt("isInPosition",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.checkPosition(o))}),e.DNE(2,T$,2,1,"h2",13)(3,x$,2,3,"div",14),e.k0s(),e.nrm(4,"div",15),e.k0s()}if(2&n){const t=r.$implicit,i=e.XpG();e.AVh("without-left-navigation",!i.content.showLeftNavigation.value),e.R7$(),e.AVh("without-left-navigation",!i.content.showLeftNavigation.value),e.Y8G("id",t.anchor)("elementId",t.anchor)("positionToCheck",i.halfPageHeight),e.R7$(),e.Y8G("ngIf",t.title),e.R7$(),e.Y8G("ngIf",t.text)}}let ir=(()=>{class n{constructor(t,i,o,a,s){this.scrollToService=t,this.elementRef=i,this.cd=o,this.urlService=a,this.pageTitleService=s,this.navigationSemaphore=!0}ngOnInit(){this.setCurrentSelection(),this.onResize()}setCurrentSelection(){var t=this;return(0,_.A)(function*(){t.pageUrl=yield t.urlService.getCurrentPath().toPromise(),t.currentSelection=t.pageUrl.hash?t.pageUrl.hash:t.content.contextualHelpParagraphs.value.length>0?t.content.contextualHelpParagraphs.value[0].anchor:null,t.cd.markForCheck(),t.updateUrlAndTitle(),t.pageUrl.hash&&t.content.contextualHelpParagraphs.value.length>0&&t.content.contextualHelpParagraphs.value[0].anchor!==t.pageUrl.hash&&t.goToSection()})()}getAnchors(){return this.content.showLeftNavigation.value?this.content.contextualHelpParagraphs.value.map(t=>({label:t.title,id:t.anchor})):[]}goToSection(t,i){this.preventRedirect(i),this.currentSelection=t||this.currentSelection,this.currentSelection&&(this.navigationSemaphore=!1,this.scrollToService.scrollToTheElementById(this.currentSelection,this.elementRef).pipe((0,W.p)(o=>o),(0,f.s)(1)).subscribe(()=>this.navigationSemaphore=!0),i&&this.updateUrlAndTitle())}updateUrlAndTitle(){this.urlService.setCurrentPath({path:this.pageUrl.path,parameters:this.pageUrl.parameters,hash:this.currentSelection}),(0,Sn.H)(this.getAnchors().filter(t=>t.id===this.currentSelection)).pipe((0,f.s)(1)).subscribe(t=>this.pageTitleService.dispatchPageTitleSuffix([t.label]))}getAnchorUrl(t){return`${this.pageUrl&&this.pageUrl.path?this.pageUrl.path:""}${t?"#"+t:"#"}`}preventRedirect(t){t&&t.preventDefault()}checkPosition(t){this.navigationSemaphore&&(this.currentSelection=t,this.updateUrlAndTitle())}checkSticky(t){this.stickyMenu=t}onResize(){this.halfPageHeight=window.innerHeight/2}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(le.W),e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(k.T),e.rXU(pe.P))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-contextual-help"]],hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)},inputs:{content:"content"},decls:6,vars:5,consts:[["id","contextual-help",1,"contextual-help","wrapper","x-large-width","x-large-width-padding","gtm-track-component","component","regular-font-size"],[1,"contextual-help-title"],["class","generous-font-size extrabold-font-weight",4,"ngIf"],[1,"contextual-help-wrapper"],["class","contextual-help-menu hide-on-portrait","appElementPosition","",3,"sticky","isSticky",4,"ngIf"],["class","contextual-help-section",3,"without-left-navigation",4,"ngFor","ngForOf"],[1,"generous-font-size","extrabold-font-weight"],["appElementPosition","",1,"contextual-help-menu","hide-on-portrait",3,"isSticky"],[3,"ngClass","click",4,"ngFor","ngForOf"],[3,"click","ngClass"],[1,"base-font-size","bold-font-weight","gtm-contextual-link",3,"click","href"],[1,"contextual-help-section"],["appElementPosition","",1,"contextual-help-content",3,"isInPosition","id","elementId","positionToCheck"],["class","bigger-font-size bold-font-weight",4,"ngIf"],["class","rich-text-wrapper table-in-rich-text additional-content",3,"innerHtml",4,"ngIf"],[1,"contextual-help-separator","full-width"],[1,"bigger-font-size","bold-font-weight"],[1,"rich-text-wrapper","table-in-rich-text","additional-content",3,"innerHtml"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"div",1),e.DNE(2,v$,2,1,"h4",2),e.k0s(),e.j41(3,"div",3),e.DNE(4,C$,3,3,"div",4)(5,k$,5,9,"div",5),e.k0s()()),2&i&&(e.AVh("m-64","1"===(null==o.content.uxPadding?null:o.content.uxPadding.value)),e.R7$(2),e.Y8G("ngIf",o.content.pageTitle.value),e.R7$(2),e.Y8G("ngIf",o.content.showLeftNavigation.value),e.R7$(),e.Y8G("ngForOf",o.content.contextualHelpParagraphs.value))},dependencies:[l.YU,l.Sq,l.bT,f$,be.$],styles:[".contextual-help-title[_ngcontent-%COMP%]{border-bottom:.125rem dotted #b2b2b2;padding-bottom:1.875rem}.contextual-help-wrapper[_ngcontent-%COMP%]{position:relative}.rich-text-wrapper[_ngcontent-%COMP%]{margin-top:2rem}.table-in-rich-text[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:0}.contextual-help-menu[_ngcontent-%COMP%]{float:left;padding-top:2.5rem;
1width:18.75rem;z-index:30}.contextual-help-menu.sticky[_ngcontent-%COMP%]{position:fixed;top:0}ul[_ngcontent-%COMP%]{box-shadow:.15625rem .15625rem #b2b2b2;list-style-type:none;margin:0;padding:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{background-color:#fff;border-bottom:.07rem solid #b2b2b2;border-left:.07rem solid #b2b2b2;cursor:pointer;display:flex;justify-content:flex-end;padding:1rem .75rem}ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{border-left:.7rem solid #001eff;color:#001eff}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{border-top:.01rem solid #b2b2b2}ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000;display:block;margin-right:2rem;width:8.5rem}ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus{text-decoration:none}ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#001eff}.contextual-help-content[_ngcontent-%COMP%]{float:right;padding-bottom:2.5rem;padding-left:4.3125rem;padding-top:2.5rem;width:calc(100% - 18.75rem)}@media (max-width: 768px){.contextual-help-content[_ngcontent-%COMP%]{float:left;padding-left:0;width:100%}}.contextual-help-content.without-left-navigation[_ngcontent-%COMP%]{float:left;padding-left:0;width:100%}
1.contextual-help-separator[_ngcontent-%COMP%]{border-bottom:.125rem dotted #b2b2b2;clear:both;height:0}a[_ngcontent-%COMP%]{text-decoration:none}a[_ngcontent-%COMP%]:hover{text-decoration:underline}"],changeDetection:0})}}return n})();function y$(n,r){if(1&n&&(e.j41(0,"h2",12),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.quickFactsTitle.value," ")}}function w$(n,r){if(1&n&&e.nrm(0,"div",16),2&n){const t=e.XpG(2);e.Y8G("ngClass",t.getRoundel(t.content.quickFactsRoundels))}}function I$(n,r){1&n&&e.eu8(0)}function M$(n,r){if(1&n&&(e.j41(0,"div",13),e.DNE(1,w$,1,1,"div",14)(2,I$,1,0,"ng-container",15),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(12);e.R7$(),e.Y8G("ngIf",!t.content.quickFactsRoundels.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.quickFactsRoundels)}}function O$(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",17),e.EFF(2),e.k0s(),e.EFF(3),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.content.quickFactsMarket.label,": "),e.R7$(),e.SpI(" ",t.quickFactsMarket," ")}}function R$(n,r){1&n&&e.eu8(0)}function F$(n,r){if(1&n&&(e.qex(0),e.DNE(1,O$,4,2,"ng-container",8)(2,R$,1,0,"ng-container",15),e.bVm()),2&n){const t=e.XpG(),i=e.sdS(12);e.R7$(),e.Y8G("ngIf",!t.content.quickFactsMarket.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.quickFactsMarket)}}function P$(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",19),e.EFF(2),e.k0s(),e.j41(3,"div",20),e.EFF(4),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.content.quickFactsMarketcap.label),e.R7$(2),e.SpI(" ",t.content.quickFactsMarketcap.value," ")}}function G$(n,r){1&n&&e.eu8(0)}function S$(n,r){if(1&n&&(e.j41(0,"div",18),e.DNE(1,P$,5,2,"ng-container",8)(2,G$,1,0,"ng-container",15),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(12);e.R7$(),e.Y8G("ngIf",!t.content.quickFactsMarketcap.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.quickFactsMarketcap)}}function $$(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",19),e.EFF(2),e.k0s(),e.j41(3,"div",20),e.EFF(4),e.nI1(5,"customdate"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.content.quickFactsListingadmissiondate.label),e.R7$(2),e.SpI(" ",e.i5U(5,2,t.content.quickFactsListingadmissiondate.value,"short-month")," ")}}function E$(n,r){1&n&&e.eu8(0)}function D$(n,r){if(1&n&&(e.j41(0,"div",21),e.DNE(1,$$,6,5,"ng-container",8)(2,E$,1,0,"ng-container",15),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(12);e.R7$(),e.Y8G("ngIf",!t.content.quickFactsListingadmissiondate.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.quickFactsListingadmissiondate)}}function j$(n,r){if(1&n&&(e.j41(0,"div",22)(1,"a",23),e.nI1(2,"companyUrl"),e.EFF(3),e.k0s()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("href",e.bMT(2,2,t.instrument),e.B4B),e.R7$(2),e.JRh(t.content.quickFactsCompanyLinkLabel.value)}}function N$(n,r){if(1&n&&e.nrm(0,"app-hide-field",25),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function Y$(n,r){1&n&&e.DNE(0,N$,1,1,"app-hide-field",24),2&n&&e.Y8G("ngIf",r.errorText)}let or=(()=>{class n{constructor(t){this.cssmapping=t}ngOnInit(){this.setInstrumentLink()}setInstrumentLink(){this.instrument={isLse:this.content.quickFactsIsLse||{value:!0},tidm:this.content.quickFactsTidm||null,issuername:this.content.quickFactsIssuername||null}}getRoundel(t){return this.cssmapping.cssClass(t)}get quickFactsMarket(){return"MAINMARKET"===this.content.quickFactsMarket.value?"Main Market":this.content.quickFactsMarket.value}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-issuer-quick-facts"]],inputs:{content:"content"},decls:13,vars:8,consts:[["emptyvalue",""],["id","issuer-quick-facts",1,"issuer-quick-facts","gtm-track-component","component","wrapper","x-large-width"],[1,"iqf-content"],[1,"mobile-flex-wrapper","spaced-flex-container"],["class","generous-font-size iqf-title",4,"ngIf"],[3,"align","tidm"],[1,"iqf-market","mobile-flex-container","flex-align-center"],["class","iqf-roundels",4,"ngIf"],[4,"ngIf"],["class","iqf-marketcap regular-font-size",4,"ngIf"],["class","iqf-date regular-font-size",4,"ngIf"],["class","iqf-button",4,"ngIf"],[1,"generous-font-size","iqf-title"],[1,"iqf-rou
1ndels"],["class","roundel",3,"ngClass",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"roundel",3,"ngClass"],[1,"bold-font-weight","regular-font-size"],[1,"iqf-marketcap","regular-font-size"],[1,"label","bold-font-weight"],[1,"value"],[1,"iqf-date","regular-font-size"],[1,"iqf-button"],[1,"cta-button","gold-button","bold-font-weight",3,"href"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"section",1)(1,"div",2)(2,"div",3),e.DNE(3,y$,2,1,"h2",4),e.nrm(4,"app-track",5),e.k0s(),e.j41(5,"div",6),e.DNE(6,M$,3,3,"div",7)(7,F$,3,3,"ng-container",8),e.k0s(),e.DNE(8,S$,3,3,"div",9)(9,D$,3,3,"div",10)(10,j$,4,4,"div",11),e.k0s()(),e.DNE(11,Y$,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.R7$(3),e.Y8G("ngIf",o.content.quickFactsTitle.value),e.R7$(),e.Y8G("align","right")("tidm",o.content.quickFactsTidm.value),e.R7$(2),e.Y8G("ngIf",o.content.quickFactsRoundels.visibility&&o.content.quickFactsRoundels.value),e.R7$(),e.Y8G("ngIf",o.content.quickFactsMarket.value&&o.content.quickFactsMarket.visibility),e.R7$(),e.Y8G("ngIf",o.content.quickFactsMarketcap.value&&o.content.quickFactsMarketcap.visibility),e.R7$(),e.Y8G("ngIf",o.content.quickFactsListingadmissiondate.value&&o.content.quickFactsListingadmissiondate.visibility),e.R7$(),e.Y8G("ngIf",o.content.quickFactsTidm.value&&o.content.quickFactsIssuername.value&&o.content.quickFactsCompanyLinkLabel.value))},dependencies:[l.YU,l.bT,l.T3,H.J,y.W,U.W,ve.b],styles:[".iqf-content[_ngcontent-%COMP%]{background-color:#fafafa;color:#000;padding:3rem}@media (max-width: 1144px){.iqf-content[_ngcontent-%COMP%]{padding:2rem 1.5rem}}.iqf-title[_ngcontent-%COMP%]{margin-bottom:2.5rem;padding-top:.5rem}@media (max-width: 480px){.iqf-title[_ngcontent-%COMP%]{text-align:center}}.iqf-roundels[_ngcontent-%COMP%] .roundel[_ngcontent-%COMP%]{height:3rem;margin:0 .75rem 0 0;width:3rem}.iqf-roundels[_ngcontent-%COMP%] .roundel[_ngcontent-%COMP%]:before{height:6rem;width:6rem}.iqf-market[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:.5rem}.iqf-date[_ngcontent-%COMP%], .iqf-market[_ngcontent-%COMP%], .iqf-marketcap[_ngcontent-%COMP%]{margin-bottom:1.5rem}.iqf-date[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], .iqf-market[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], .iqf-marketcap[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{margin-bottom:.25rem}@media (max-width: 480px){.iqf-button[_ngcontent-%COMP%] .gold-button[_ngcontent-%COMP%]{width:100%}}"],changeDetection:0})}}return n})();var rr=p(11747),ar=p(47895),X$=p(86806);let B$=(()=>{class n{constructor(t){this.scrollToService=t}onClick(t,i){!i||!i.hash||window.location.pathname!==i.pathname||(t.preventDefault(),t.stopImmediatePropagation(),history.pushState("","",i.pathname+i.hash),this.scrollToService.scrollToTheElementById(i.hash.replace("#","")))}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(le.W))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","scrollToFragment",""]],hostBindings:function(i,o){1&i&&e.bIt("click",function(s){return o.onClick(s,s.target)})}})}}return n})();function V$(n,r){if(1&n&&(e.j41(0,"a",23),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.Y8G("href",t.backUrl,e.B4B),e.R7$(),e.Lme("",t.content.storyBackLabel.value," ",t.backType,"")}}function L$(n,r){if(1&n&&e.nrm(0,"img",28),2&n){const t=e.XpG(2);e.Y8G("src",t.content.storyImage.value,e.B4B)}}function A$(n,r){1&n&&e.nrm(0,"div",29)}function q$(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",33),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.videoPlay())}),e.EFF(1,"Watch livestream"),e.k0s()}if(2&n){const t=e.XpG(3);e.BMQ("data-videourl",t.getDataVideoUrl())}}function U$(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",30)(1,"div",31),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.videoPlay())}),e.k0s(),e.DNE(2,q$,2,1,"div",32),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(),e.BMQ("data-videourl",t.getDataVideoUrl()),e.R7$(),e.Y8G("ngIf",t.livestreamActive)}}function z$(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",24),e.bIt("canLoad",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.canLoad(o))}),e.DNE(1,L$,1,1,"img",25)(2,A$,1,0,"div",26)(3,U$,3,2,"div",27),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("ngStyle",t.canLoads?t.bgStyle():null),e.R7$(),e.Y8G("ngIf",null==t.content.storyImage?null:t.content.storyImage.value),e.R7$(),e.Y8G("ngIf",(null==t.content.storyVideo?null:t.content.storyVideo.value)||t.livestreamActive),e.R7$(),e.Y8G("ngIf",(null==t.content.storyVideo?null:t.content.storyVideo.value)||t.livestreamActive)}}function H$(n,r){if(1&n&&(e.j41(0,"h2",34),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.AVh("regular-width",t.isChildComponent(null==t.content.storyQuickFacts?null:t.content.storyQuickFacts.value)),e.R7$(),e.JRh(t.content.storyTitle.value)}}function W$(n,r){if(1&n&&(e.j41(0,"div",35),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.content.storyTitle.value)}}function J$(n,r){if(1&n&&(e.j41(0,"div",36),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.content.storyTidm.value)}}function K$(n,r){if(1&n&&(e.nrm(0,"div",37),e.nI1(1,"safeHtml")),2&n){const t=e.XpG();e.AVh("regular-width",t.isChildComponent(null==t.content.storyQuickFacts?null:t.content.storyQuickFacts.value)),e.Y8G("innerHtml",e.bMT(1,3,null==t.content.storyText?null:t.content.storyText.value),e.npT)}}function Q$(n,r){if(1&n&&e.nrm(0,"ndc-dynamic",40),2&n){const t=e.XpG(2);e.Y8G("ndcDynamicComponent",t.isChildComponent(null==t.content.storyQuickFacts?null:t.content.storyQuickFacts.value).ngComponent)("ndcDynamicInputs",t.isChildComponent(null==t.content.storyQuickFacts?null:t.content.storyQuickFacts.value))}}function Z$(n,r){if(1&n&&(e.j41(0,"div",38),e.DNE(1,Q$,1,2,"ndc-dynamic",39),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.isChildComponent(null==t.content.storyQuickFacts?null:t.content.storyQuickFacts.value))}}function eE(n,r){1&n&&(e.j41(0,"div",34),e.EFF(1,"London Stock Exchange"),e.k0s())}function tE(n,r){if(1&n&&(e.j41(0,"div",49),e.nrm(1,"div",50),e.nI1(2,"videoPlayer"),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("innerHTML",e.bMT(2,1,null==t.content.storyVideo?null:t.content.storyVideo.value),e.npT)}}function nE(n,r){if(1&n&&(e.j41(0,"div",49),e.nrm(1,"div",50),e.nI1(2,"videoPlayer"),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("innerHTML",e.bMT(2,1,t.content.storyLivestreamId.value),e.npT)}}function iE(n,r){if(1&n&&(e.j41(0,"div",49),e.nrm(1,"app-livestream-video",51),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("id",null==t.content.storyLivestreamId?null:t.content.storyLivestreamId.value)}}function oE(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",44)(1,"div",45)(2,"div",46),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.closeModal())}),e.k0s()(),e.DNE(3,tE,3,3,"div",47)(4,nE,3,3,"div",47)(5,iE,2,1,"div",47),e.j41(6,"button",48),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.closeModal())}),e.EFF(7,"Close"),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.BMQ("data-videourl",t.getDataVideoUrl()),e.R7$(),e.Y8G("ngIf","video"===(null==t.content.storyMediaType?null:t.content.storyMediaType.value)),e.R7$(),e.Y8G("ngIf","livestream_others"===(null==t.content.storyMediaType?null:t.content.storyMediaType.value)),e.R7$(),e.Y8G("ngIf","livestream"===(null==t.content.storyMediaType?null:t.content.storyMediaType.value)),e.R7$(),e.BMQ("data-videourl",t.getDataVideoUrl())}}function rE(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",41)(1,"div",42),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeModal())}),e.k0s(),e.DNE(2,oE,8,5,"div",43),e.k0s()}if(2&n){const t=e.XpG();e.R7$(),e.BMQ("data-videourl",t.getDataVideoUrl()),e.R7$(),e.Y8G("ngIf",(null==t.content.storyVideo?null:t.content.storyVideo.value)||(null==t.content.storyLivestreamId?null:t.content.storyLivestreamId.value))}}let sr=(()=>{class n{constructor(t,i,o,a,s,c,d){this.platformId=t,this.doc=i,this.childComponents$=o,this.componentService=a,this.store=s,this.cdr=c,this.renderer=d,this.childComponents=[],this.now=Q()().unix(),this.defaultImage="assets/images/lseg_default_image.jpg"}ngOnInit(){this.getBackLink(),this.livestreamActive=this.isLivestreamActive(),this.subscription=this.childComponents$.pipe((0,rr.gp)(xn.Gr),(0,W.p)(t=>!!t.components.length)).subscribe(t=>{this.childComponents.push(t.components[0]),this.cdr.markForCheck()})}ngAfterViewInit(){var t=this;return(0,_.A)(function*(){t.currentPath=yield t.store.pipe((0,u.Lt)(h.Ti),(0,f.s)(1)).toPromise(),t.getChildComponent(t.currentPath)})()}ngOnDestroy(){this.subscription.unsubscribe()}bgStyle(){return{"background-image":`url(${this.content.storyImage.value||this.defaultImage})`}}canLoad(t){return this.canLoads=t,t}getChildComponent(t){if(!this.isChildComponent(this.content.storyQuickFacts.value)&&t&&this.content.storyTidm.value){const i=encodeURIComponent(this.content.storyQuickFacts.value);this.componentService.getComponent(i,t,`ignoreCheck=true&tidm=${this.content.storyTidm.value}`)}}isChildComponent(t){return this.childComponents.find(i=>i.id===t)}videoPlay(){this.playVideo=!0,this.blockBodyScroll(!0)}closeModal(){this.playVideo=!1,this.blockBodyScroll(!1)}blockBodyScroll(t){const i=this.doc.getElementsByTagName("body")[0];t?this.renderer.addClass(i,"block-scroll"):this.renderer.removeClass(i,"block-scroll")}getBackLink(){if((0,l.Vy)(this.platformId))return;let t=sessionStorage.getItem(M.c.storyPageKey.url);const i=sessionStorage.getItem(M.c.storyPageKey.type);this.backType=i||"",(!t||0===t.length)&&(t=k.T.getLink("discover-news-and-insights"),this.cdr.markForCheck());try{this.backUrl=t,this.clearPreviousKey()}catch(o){(0,te.z3)(`Json parse session storage object. Error: ${o}`)}}clearPreviousKey(){sessionStorage&&(sessionStorage.removeItem(M.c.storyPageKey.url),sessionStorage.removeItem(M.c.storyPageKey.type))}isLivestreamActive(){return!!this.isItemLivestream(this.content)&&this.isDateInRange(this.content)}isItemLivestream(t){return("livestream"===t.storyMediaType.value||"livestream_others"===t.storyMediaType.value)&&!!t.storyLivestreamId.value}isDateInRange(t){const i=t.storyLivestreamDate.value.startime,o=t.storyLivestreamDate.value.endtime;return this.now&&i&&o&&this.now>=i&&this.now<o}getDataVideoUrl(){return("livestream"===this.content.storyMediaType.value?"livestream ID ":"")+("video"===this.content.storyMediaType.value?this.content.storyVideo.value:this.content.storyLivestreamId.value)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw),e.rXU(l.qQ),e.rXU(rr.En),e.rXU(ar.D),e.rXU(u.il),e.rXU(e.gRc),e.rXU(e.sFG))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-story"]],inputs:{content:"content"},decls:31,vars:23,consts:[["id","story","itemscope","","itemtype","http://schema.org/Event",1,"story","component","gtm-track-component"],[1,"wrapper","x-large-width","x-large-width-padding"],["class","back-link bold-font-weight",3,"href",4,"ngIf"],["class","story-intro","appLazyBgImgLoad","",3,"ngStyle","canLoad",4,"ngIf"],["itemprop","name",3,"regular-width",4,"ngIf"],["itemprop","description","hidden","",4,"ngIf"],["itemprop","performer","hidden","",4,"ngIf"],[1,"story-info","mobile-flex-wrapper","spaced-flex-container","flex-align-center"],[1,"story-date","regular-font-size"],["itemprop","startDate",1,"bold-font-weight"],["itemprop","endDate","hidden",""],[1,"story-share"],[3,"shareButton","companyName"],[1,"story-content","wrapper","x-large-width"],["scrollToFragment","","class","story-text x-large-width-padding rich-text-wrapper",3,"regular-width","innerHtml",4,"ngIf"],["class","x-small-width story-quick-facts",4,"ngIf"],["itemprop","location","itemscope","","itemtype","http://schema.org/Place","hidden",""],["itemprop","name",4,"ngIf"],["itemprop","address","itemscope","","itemtype","http://schema.org/PostalAddress"],["itemprop","streetAddress"],["itemprop","addressLocality"],["itemprop","addressRegion"],["id","story-modal-video","class","overlay-container modal-video open-modal",4,"ngIf"],[1,"back-link","bold-font-weight",3,"href"],["appLazyBgImgLoad","",1,"story-intro",3,"canLoad","ngStyle"],["itemprop","image","hidden","",3,"src",4,"ngIf"],["class","story-video-icon",4,"ngIf"],["class","story-video-play mobile-flex-wrapper",4,"ngIf"],["itemprop","image","hidden","",3,"src"],[1,"story-video-icon"],[1,"story-video-play","mobile-flex-wrapper"],[1,"btn-play","gtm-play-video",3,"click"],["class","clickable story-video-watch gtm-play-video white-link bigger-font-size medium-font-we
1ight",3,"click",4,"ngIf"],[1,"clickable","story-video-watch","gtm-play-video","white-link","bigger-font-size","medium-font-weight",3,"click"],["itemprop","name"],["itemprop","description","hidden",""],["itemprop","performer","hidden",""],["scrollToFragment","",1,"story-text","x-large-width-padding","rich-text-wrapper",3,"innerHtml"],[1,"x-small-width","story-quick-facts"],[3,"ndcDynamicComponent","ndcDynamicInputs",4,"ngIf"],[3,"ndcDynamicComponent","ndcDynamicInputs"],["id","story-modal-video",1,"overlay-container","modal-video","open-modal"],[1,"overlay","modal-overlay","gtm-stop-video",3,"click"],["class","overlay-wrapper",4,"ngIf"],[1,"overlay-wrapper"],[1,"close-icon"],[1,"close-overlay","gtm-stop-video",3,"click"],["class","player-responsive",4,"ngIf"],[1,"gold-button","gtm-stop-video",3,"click"],[1,"player-responsive"],[1,"player-content",3,"innerHTML"],[3,"id"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"div",1),e.DNE(2,V$,2,3,"a",2)(3,z$,4,4,"div",3)(4,H$,2,3,"h2",4)(5,W$,2,1,"div",5)(6,J$,2,1,"div",6),e.j41(7,"div",7)(8,"div",8),e.EFF(9,"Posted: "),e.j41(10,"span",9),e.EFF(11),e.nI1(12,"customdate"),e.k0s(),e.j41(13,"span",10),e.EFF(14),e.nI1(15,"customdate"),e.k0s()(),e.j41(16,"div",11),e.nrm(17,"app-share-buttons",12),e.k0s()()(),e.j41(18,"div",13),e.DNE(19,K$,2,5,"div",14)(20,Z$,2,1,"div",15),e.k0s(),e.j41(21,"div",16),e.DNE(22,eE,2,0,"div",17),e.j41(23,"div",18)(24,"span",19),e.EFF(25,"10 Paternoster Row"),e.k0s(),e.j41(26,"span",20),e.EFF(27,"EC4M 7LS"),e.k0s(),e.j41(28,"span",21),e.EFF(29,"London, UK"),e.k0s()()()(),e.DNE(30,rE,3,2,"div",22)),2&i&&(e.AVh("m-64","1"===(null==o.content.uxPadding?null:o.content.uxPadding.value)),e.R7$(2),e.Y8G("ngIf",(null==o.content.storyBackLabel?null:o.content.storyBackLabel.value)&&o.backUrl),e.R7$(),e.Y8G("ngIf",(null==o.content.storyImage?null:o.content.storyImage.value)||(null==o.content.storyVideo?null:o.content.storyVideo.value)||o.livestreamActive),e.R7$(),e.Y8G("ngIf",null==o.content.storyTitle?null:o.content.storyTitle.value),e.R7$(),e.Y8G("ngIf",null==o.content.storyTitle?null:o.content.storyTitle.value),e.R7$(),e.Y8G("ngIf",null==o.content.storyTidm?null:o.content.storyTidm.value),e.R7$(),e.AVh("regular-width",o.isChildComponent(null==o.content.storyQuickFacts?null:o.content.storyQuickFacts.value)),e.R7$(4),e.JRh(e.i5U(12,17,o.content.storyDateTime.value,"long")),e.R7$(3),e.JRh(e.i5U(15,20,o.content.storyDateTime.value,"long")),e.R7$(3),e.Y8G("shareButton","Share this page")("companyName",null==o.content.storyTitle?null:o.content.storyTitle.value),e.R7$(2),e.Y8G("ngIf",null==o.content.storyText?null:o.content.storyText.value),e.R7$(),e.Y8G("ngIf",null==o.content.storyQuickFacts?null:o.content.storyQuickFacts.value),e.R7$(2),e.Y8G("ngIf",null==o.content.storyTitle?null:o.content.storyTitle.value),e.R7$(8),e.Y8G("ngIf",o.playVideo))},dependencies:[l.bT,l.B3,X$.v,D.W,E.Bf,E.dE,Z,B$,U.W,be.$,ct.nV],styles:['.component[_ngcontent-%COMP%]{margin-top:4rem}.back-link[_ngcontent-%COMP%]{display:inline-block;margin-bottom:1.5rem}.back-link[_ngcontent-%COMP%]:before{background:url(assets/static/back-link.svg) left center no-repeat;background-size:40%;content:"";display:inline-block;height:1em;vertical-align:middle;width:1em}.story-intro[_ngcontent-%COMP%]{background-color:#fafafa;background-position:center center;background-repeat:no-repeat;background-size:cover;color:#000;height:calc(42vw - .84rem);margin-bottom:2.5rem;max-height:30rem;position:relative}.story-video-play[_ngcontent-%COMP%]{align-content:center;height:100%}.story-video-play[_ngcontent-%COMP%] .btn-play[_ngcontent-%COMP%]{align-items:center;background-color:#000c;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;height:4.25rem;justify-content:center;margin:0 auto;text-align:center;width:4.25rem}.story-video-play[_ngcontent-%COMP%] .btn-play[_ngcontent-%COMP%]:before{background-image:url(assets/static/play.svg);background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:4rem;left:.25rem;position:relative;transform:scale(.5);width:4rem}.story-video-play[_ngcontent-%COMP%] .story-video-watch[_ngcontent-%COMP%]{padding-top:1rem;position:relative;text-align:center;width:100%}.story-video-icon[_ngcontent-%COMP%]{align-items:center;color:#fff;display:inline-flex;height:5rem;justify-content:center;position:absolute;right:0;text-align:center;top:0;width:5.5rem;z-index:3}.story-video-icon[_ngcontent-%COMP%]:before{background-image:url(assets/static/video_icon.svg);background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:5rem;position:relative;right:0;transform:scale(.4);width:5rem}.story-content[_ngcontent-%COMP%]{display:flex;justify-content:space-between}@media (max-width: 768px){.story-content[_ngcontent-%COMP%]{display:block}}.story-info[_ngcontent-%COMP%]{margin-top:1.5rem}.story-info[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:.5rem 0}.story-text[_ngcontent-%COMP%], .story-quick-facts[_ngcontent-%COMP%]{margin-top:3rem}@media (max-width: 768px){.story-text[_ngcontent-%COMP%], .story-quick-facts[_ngcontent-%COMP%]{margin-top:1.5rem}}.story-text[_ngcontent-%COMP%]{overflow:hidden}'],changeDetection:0})}}return n})();const aE=[{elementType:"geometry",stylers:[{color:"#d8d8d8"}]},{elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"administrative",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"geometry",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{visibility:"off"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#f5f5f5"},{visibility:"on"}]},{featureType:"landscape",stylers:[{color:"#d8d8d8"},{visibility:"on"}]},{featureType:"landscape",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"road",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"water",elementType:"labels",stylers:[{visibility:"off"}]}];var sE=p(88141);function lE(n,r){if(1&n&&(e.qex(0),e.j41(1,"strong",2),e.EFF(2),e.k0s(),e.EFF(3),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(null==t.stats?null:t.stats.totalissuers),e.R7$(),e.SpI(" ",(null==t.stats?null:t.stats.totalissuers)>1?"issuers":"issuer"," across asset classes ")}}function cE(n,r){if(1&n&&(e.qex(0),e.j41(1,"strong",2),e.EFF(2),e.k0s(),e.EFF(3),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(null==t.stats?null:t.stats.totalcountries),e.R7$(),e.SpI(" issuer ",(null==t.stats?null:t.stats.totalcountries)>1?"countries":"country"," across asset classes ")}}function pE(n,r){if(1&n&&(e.j41(0,"p"),e.DNE(1,lE,4,2,"ng-container",0)(2,cE,4,2,"ng-container",0),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.activeCountry&&!t.activeRegion),e.R7$(),e.Y8G("ngIf",!t.activeCountry&&t.activeRegion||!t.activeCountry&&!t.activeRegion)}}function mE(n,r){if(1&n&&(e.j41(0,"p")(1,"strong",2),e.EFF(2),e.k0s(),e.EFF(3),e.k0s()),2&n){const t=e.XpG();e.R7$(2),e.JRh(null==t.stats?null:t.stats.totalequityissuers),e.R7$(),e.SpI(" equity and depository receipt ",(null==t.stats?null:t.stats.totalequityissuers)>1?"issuers":"issuer"," ")}}function _E(n,r){if(1&n&&(e.j41(0,"p"),e.EFF(1," Total equity market cap: "),e.j41(2,"strong",2),e.EFF(3),e.nI1(4,"metricsuffix"),e.k0s()()),2&n){const t=e.XpG();e.R7$(3),e.SpI("\xa3",e.bMT(4,1,t.stats.totalequitymarketcap),"")}}function dE(n,r){if(1&n&&(e.j41(0,"p")(1,"strong",2),e.EFF(2),e.k0s(),e.EFF(3),e.k0s()),2&n){const t=e.XpG();e.R7$(2),e.JRh(null==t.stats?null:t.stats.totaldebtinstruments),e.R7$(),e.SpI(" active debt ",(null==t.stats?null:t.stats.totaldebtinstruments)>1?"instruments":"instrument"," ")}}function uE(n,r){if(1&n&&(e.j41(0,"p")(1,"strong",2),e.EFF(2),e.k0s(),e.EFF(3," ETPs listed on London Stock Exchange "),e.k0s()),2&n){const t=e.XpG();e.R7$(2),e.JRh(null==t.stats?null:t.stats.totaletfsinstruments)}}function gE(n,r){if(1&n&&(e.j41(0,"p"),e.EFF(1," ETP year to date orderbook average daily value traded of "),e.j41(2,"strong",2),e.EFF(3),e.nI1(4,"metricsuffix"),e.k0s()()),2&n){const t=e.XpG();e.R7$(3),e.SpI("\xa3",e.bMT(4,1,null==t.stats?null:t.stats.totalaveragedailytraded),"")}}function hE(n,r){if(1&n){const t=e.RV6();e.j41(0,"p",3),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.issuersModalEmit())}),e.j41(1,"span",4),e.EFF(2),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.JRh(t.modalLinkText())}}let fE=(()=>{class n{constructor(){this.openIssuersModal=new e.bkB}ngOnInit(){}regionTitle(){return this.activeCountry||this.activeRegion||"Global"}issuersModalEmit(){let t="region";this.activeCountry&&(t="country"),this.openIssuersModal.emit({type:t,name:this.activeCountry})}modalLinkText(){return this.activeCountry?"View all issuers in "+this.activeCountry:this.activeRegion?"View all issuer countries in "+this.activeRegion:void 0}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-map-quick-fact"]],inputs:{activeCountry:"activeCountry",activeRegion:"activeRegion",
1stats:"stats"},outputs:{openIssuersModal:"openIssuersModal"},decls:10,vars:8,consts:[[4,"ngIf"],[3,"click",4,"ngIf"],[1,"blue-highlight"],[3,"click"],[1,"fake-link","gtm-trackable"]],template:function(i,o){1&i&&(e.j41(0,"h3"),e.EFF(1),e.k0s(),e.j41(2,"div"),e.DNE(3,pE,3,2,"p",0)(4,mE,4,2,"p",0)(5,_E,5,3,"p",0)(6,dE,4,2,"p",0)(7,uE,4,1,"p",0)(8,gE,5,3,"p",0)(9,hE,3,1,"p",1),e.k0s()),2&i&&(e.R7$(),e.SpI("",o.regionTitle()," quick facts"),e.R7$(2),e.Y8G("ngIf",(null==o.stats?null:o.stats.totalissuers)||(null==o.stats?null:o.stats.totalcountries)),e.R7$(),e.Y8G("ngIf",null==o.stats?null:o.stats.totalequityissuers),e.R7$(),e.Y8G("ngIf",null==o.stats?null:o.stats.totalequitymarketcap),e.R7$(),e.Y8G("ngIf",null==o.stats?null:o.stats.totaldebtinstruments),e.R7$(),e.Y8G("ngIf",(null==o.stats?null:o.stats.totaletfsinstruments)&&!o.activeRegion&&!o.activeCountry),e.R7$(),e.Y8G("ngIf",(null==o.stats?null:o.stats.totalaveragedailytraded)&&!o.activeRegion&&!o.activeCountry),e.R7$(),e.Y8G("ngIf",o.activeCountry||o.activeRegion))},dependencies:[l.bT,ce.w],styles:[".blue-highlight[_ngcontent-%COMP%]{color:#001eff}p[_ngcontent-%COMP%]{margin-bottom:.5rem}p[_ngcontent-%COMP%]:last-child{margin-bottom:0}h3[_ngcontent-%COMP%]{margin-bottom:1.5rem}"],changeDetection:0})}}return n})(),vE=(()=>{class n{transform(t){return t>1?`${t} issuers`:`${t} issuer`}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=e.EJ8({name:"mapInfoWindowIssuers",type:n,pure:!0})}}return n})();const bE=n=>({url:"assets/svg/location_icon.svg",scaledSize:n});function CE(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",16)(1,"strong",17),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.closeQuickFacts())}),e.k0s(),e.j41(2,"app-map-quick-fact",18),e.bIt("openIssuersModal",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.openIssuerPopup(o))}),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("activeRegion",t.activeRegion)("activeCountry",t.activeCountry)("stats",t.infoStatsWindow)}}function TE(n,r){if(1&n){const t=e.RV6();e.j41(0,"agm-marker",19),e.bIt("markerClick",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.clickOnPin(o))}),e.j41(1,"agm-info-window",20)(2,"div",21),e.EFF(3),e.nI1(4,"mapInfoWindowIssuers"),e.k0s()()()}if(2&n){const t=r.$implicit,i=e.XpG(2);e.Y8G("latitude",t.latitude)("longitude",t.longitude)("iconUrl",e.eq3(9,bE,i.markerSize(t.value))),e.R7$(),e.Y8G("isOpen",!0),e.R7$(),e.AVh("active",t.key===i.activeCountryOrRegionCode),e.R7$(),e.SpI(" ",e.bMT(4,7,t.totalissuers)," ")}}function xE(n,r){if(1&n&&(e.qex(0),e.nrm(1,"agm-data-layer",22),e.nI1(2,"async"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Aen(t.layerStyle),e.Y8G("geoJson",e.bMT(2,3,t.shape$))}}function kE(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",11),e.DNE(1,CE,3,3,"div",12),e.j41(2,"agm-map",13),e.bIt("centerChange",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.centerMap())}),e.DNE(3,TE,5,11,"agm-marker",14)(4,xE,3,5,"ng-container",15),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.toggleQuickFacts),e.R7$(),e.Y8G("latitude",t.latitude)("longitude",t.longitude)("zoom",t.zoomLevel)("gestureHandling","greedy")("disableDefaultUI",!0)("styles",t.mapStyle)("scrollwheel",!1)("usePanning",!0)("minZoom",2)("maxZoom",8)("zoomControl",!0)("disableDoubleClickZoom",!0)("streetViewControl",!1),e.R7$(),e.Y8G("ngForOf",t.locations),e.R7$(),e.Y8G("ngIf",t.zoomLevel>3)}}function yE(n,r){if(1&n&&(e.j41(0,"div",23),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.exploreMapLegalText.value," ")}}function wE(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.countryname)}}function IE(n,r){if(1&n&&(e.qex(0),e.j41(1,"a",41),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.R7$(),e.Y8G("href",i.getInstrumentLink(t),e.B4B),e.R7$(),e.JRh(t.issuername)}}function ME(n,r){if(1&n&&(e.j41(0,"span",43)(1,"strong",44),e.EFF(2),e.nI1(3,"etfs"),e.k0s(),e.EFF(4),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngClass",i.instrumentCssClass(t.category)),e.R7$(),e.SpI("",e.bMT(3,3,t.category),":"),e.R7$(2),e.SpI(" ",t.count," ")}}function OE(n,r){if(1&n&&(e.qex(0),e.DNE(1,ME,5,5,"span",42),e.bVm()),2&n){const t=r.$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.count>0&&"etinstrument"!==i.instrumentCssClass(t.category))}}function RE(n,r){if(1&n&&(e.j41(0,"span",43)(1,"strong"),e.EFF(2),e.k0s(),e.EFF(3),e.nI1(4,"metricsuffix"),e.k0s()),2&n){const t=e.XpG(4).$implicit,i=e.XpG(2);e.R7$(2),e.SpI("",i.content.issuersByCountryMarketCap.label,":"),e.R7$(),e.SpI(" \xa3",e.i5U(4,2,t.marketcap,".2-2")," ")}}function FE(n,r){if(1&n&&(e.qex(0),e.DNE(1,RE,5,5,"span",42),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.Y8G("ngIf",t.marketcap)}}function PE(n,r){1&n&&e.eu8(0)}function GE(n,r){if(1&n&&(e.qex(0),e.DNE(1,FE,2,1,"ng-container",15)(2,PE,1,0,"ng-container",45),e.bVm()),2&n){const t=e.XpG(4),i=e.sdS(25);e.R7$(),e.Y8G("ngIf",!t.content.issuersByCountryMarketCap.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.issuersByCountryMarketCap)}}function SE(n,r){if(1&n&&(e.qex(0),e.DNE(1,GE,3,3,"ng-container",15),e.bVm()),2&n){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.content.issuersByCountryMarketCap.visibility)}}function $E(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",46),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(2);return e.Njj(a.openIssuerPopup({type:"country",name:o.countryname},0,"issuername,asc",o.countrycode))}),e.EFF(1,"Explore issuers in this country"),e.k0s()}}function EE(n,r){if(1&n&&(e.j41(0,"a",47),e.EFF(1,"Explore more about this issuer"),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.Y8G("href",i.getInstrumentLink(t),e.B4B)}}function DE(n,r){if(1&n&&(e.j41(0,"div",36)(1,"h4"),e.DNE(2,wE,2,1,"ng-container",15)(3,IE,3,2,"ng-container",15),e.k0s(),e.j41(4,"span",37),e.DNE(5,OE,2,1,"ng-container",38)(6,SE,2,1,"ng-container",15),e.k0s(),e.DNE(7,$E,2,0,"span",39)(8,EE,2,1,"a",40),e.k0s()),2&n){const t=r.$implicit,i=e.XpG(2);
1e.R7$(2),e.Y8G("ngIf","region"===i.popupType),e.R7$(),e.Y8G("ngIf","country"===i.popupType),e.R7$(2),e.Y8G("ngForOf",t.instruments),e.R7$(),e.Y8G("ngIf","country"===i.popupType),e.R7$(),e.Y8G("ngIf","region"===i.popupType),e.R7$(),e.Y8G("ngIf","country"===i.popupType)}}function jE(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-paginator",48),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.updatePopupPaginator(o))}),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("totalPages",null==t.issuerPopupWindow?null:t.issuerPopupWindow.totalPages)("currentPage",t.issuerPopupWindow.number)}}function NE(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",24)(1,"div",25)(2,"div",26)(3,"h2",27),e.EFF(4),e.k0s(),e.j41(5,"span",28),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeIssuerPopup())}),e.EFF(6,"Close"),e.k0s()(),e.j41(7,"div",26)(8,"div",29)(9,"strong",30),e.EFF(10),e.k0s(),e.EFF(11),e.k0s(),e.j41(12,"div",31)(13,"form",32),e.nrm(14,"ng-select",33),e.k0s()()(),e.DNE(15,DE,9,6,"div",34),e.k0s(),e.DNE(16,jE,1,2,"app-paginator",35),e.k0s()}if(2&n){const t=e.XpG();e.R7$(4),e.JRh(t.popupTitle()),e.R7$(6),e.Lme("",t.issuerPopupWindow.totalElements," ",t.popupCountText(),""),e.R7$(),e.SpI(" (",t.issuerPopupWindow.content.length," showing) "),e.R7$(2),e.Y8G("formGroup",t.dropdownSort),e.R7$(),e.Y8G("searchable",!1)("clearable",!1)("items",t.dropdownPagesOptions),e.R7$(),e.Y8G("ngForOf",t.issuerPopupWindow.content),e.R7$(),e.Y8G("ngIf",t.issuerPopupWindow.content)}}function YE(n,r){if(1&n&&e.nrm(0,"app-hide-field",50),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function XE(n,r){1&n&&e.DNE(0,YE,1,1,"app-hide-field",49),2&n&&e.Y8G("ngIf",r.errorText)}let lr=(()=>{class n extends O.R{constructor(t,i,o,a,s,c,d,C,T,I,N){super(),this.cdr=t,this.config=i,this.http=o,this.doc=a,this.renderer=s,this.cssmapping=c,this.store=d,this.elementRef=C,this.urlService=T,this.pageTitleService=I,this.fb=N,this.zoomLevel=2,this.mapStyle=[],this.latitude=45.236712,this.longitude=-2.1384187,this.first=!0,this.dropdownPagesOptions=[],this.mapIndexCounter=0,this.onSetup=!1,this.currentPage=0,this.ngUnsubscribe=new re.B,this.statistics$=new re.B,this.shape$=new re.B,this.mapIndex$=new re.B}ngOnInit(){this.remapStyles(),this.locations=this.content.issuerStatisticsValue.value.locations,this.statistics$.subscribe(t=>{t.locations&&t.locations.length>0&&(this.locations=t.locations,this.cdr.markForCheck()),this.infoStatsWindow=t}),this.initDropdownSortOption(),this.mapIndex$.pipe((0,W.p)(t=>t>=5),(0,f.s)(1)).subscribe(()=>{this.latitude=10,this.longitude=0,this.resetCounter(),this.cdr.markForCheck()}),this.initRegionMap(),this.urlService.getCurrentPath().pipe((0,W.p)(t=>t.parameters.has("region")),(0,sE.M)(()=>this.onSetup=!0)).subscribe(t=>this.initUrlParams(t)),this.store.pipe((0,u.Lt)(h.Ti),(0,ie.Q)(this.ngUnsubscribe)).subscribe(t=>{this.toggleScroll(t.parameters),this.setPageTitle(t.parameters)})}toggleScroll(t){const i=this.doc.getElementsByTagName("body")[0];t.has("popup")?this.renderer.addClass(i,"block-scroll"):this.renderer.removeClass(i,"block-scroll")}setPageTitle(t){t.has("country")?this.pageTitleService.dispatchPageTitle(`Explore issuers in ${t.get("country")}`):t.has("region")&&t.get("region")!==this.content.exploreMapAllLabel.value?this.pageTitleService.dispatchPageTitle(`View all issuer countries in ${t.get("region")}`):this.pageTitleService.resetPageTitle()}initUrlParams(t){const i=t.parameters;this.getStatsByRegion(this.regionMap.get(i.get("region"))||null,i.get("region"),Number(i.get("lat")),Number(i.get("lon"))).then(()=>i.has("country")?this.getStats(i.get("code"),i.get("country"),Number(i.get("lat")),Number(i.get("lon"))):Promise.resolve()).then(()=>i.has("popup")?Promise.resolve(this.openIssuerPopup({type:i.get("popup"),name:i.get("country")||i.get("region")},Number(i.get("page")),i.has("sort")?i.getAll("sort").join(","):null)):Promise.resolve()).then(()=>this.onSetup=!1).catch(te.z3)}initRegionMap(){this.regionMap=new Map([[this.content.exploreMapEuropeLabel.value,"E"],[this.content.exploreMapAfricaLabel.value,"F"],[this.content.exploreMapAsiaLabel.value,"A"],[this.content.exploreMapLatinAmericaLabel.value,"L"],[this.content.exploreMapMiddleEastLabel.value,"M"]])}ngOnDestroy(){this.statistics$.unsubscribe(),this.shape$.unsubscribe(),this.mapIndex$.unsubscribe(),this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}getStatsByRegion(t,i,o,a,s){return s&&s.preventDefault(),t===this.content.exploreMapAllLabel.value&&(t=null),this.selectedRegion=i,this.activeRegion=t?i:null,this.activeCountry=null,this.get
1Stats(t,i,o,a,!1)}setParams(t,i){let o={region:this.selectedRegion,code:this.activeCountryOrRegionCode,lat:String(t),lon:String(i)};return this.currentPage>=1&&(o={...o,page:String(this.currentPage)}),this.dropdownSort.controls.option.value&&(o={...o,sort:this.dropdownSort.controls.option.value.value}),o}getStats(t,i,o,a,s=!0,c=!1){this.latitude=o,this.longitude=a,this.resetCounter(),this.cdr.markForCheck(),this.activeCountryOrRegionCode=null,this.displayQuickFact();let d=new F.Nl;return t&&(this.activeCountryOrRegionCode=t,d=d.set(s&&(this.activeRegion||this.activeCountry)?"country":"region",t)),this.zoomLevel=t?4:2,new Promise((C,T)=>this.http.get(this.config.statistics,{params:d}).pipe((0,f.s)(1),(0,Ge.W)(I=>((0,te.z3)("Error getting Issuer Statistics: ",I,window.location.href),T(),(0,q.of)(I))),(0,W.p)(I=>!!I)).subscribe(I=>{if(this.statistics$.next(I),t){this.getGeoJson(I,t);const N=this.setParams(o,a);d.has("country")?(this.setRegionAndCountry(null,i),N.country=i):d.has("region")?this.setRegionAndCountry(i,null):this.setRegionAndCountry(null,null),c&&(N.popup=this.popupType),this.onSetup||this.urlService.setParameters(new F.Nl({fromObject:N}))}else this.urlService.setParameters(new F.Nl({fromObject:{region:this.content.exploreMapAllLabel.value}}));this.resetMapIndex(),C()}))}resetMapIndex(){this.mapIndex$.pipe((0,W.p)(t=>t>=6&&!this.activeRegion&&!this.activeCountry)).subscribe(()=>{this.latitude=10,this.longitude=0,this.resetCounter(),this.cdr.markForCheck(),this.zoomLevel=2})}setRegionAndCountry(t,i){this.activeRegion=t,this.activeCountry=i,t&&(this.selectedRegion=t)}displayQuickFact(){this.toggleQuickFacts=!0}closeQuickFacts(){this.toggleQuickFacts=!1,this.onSetup||this.urlService.cleanParameters()}getFeature(t){var i=this;return(0,_.A)(function*(){return yield i.http.get(`assets/maps/${t}.json`).pipe((0,f.s)(1),(0,W.p)(o=>o&&!!o.features&&o.features.length>0),(0,A.T)(o=>({...o.features[0],properties:{color:"#fcb711",borderColor:"#f5f5f5"}}))).toPromise()})()}getFeatureCollection(t){return(0,_.A)(function*(){return{type:"FeatureCollection",features:yield Promise.all(t)}})()}getGeoJson(t,i){const o=t.locations&&t.locations.length>0?t.locations.map(a=>a.key):[i];this.getFeatureCollection(o.map(a=>this.getFeature(a))).then(a=>this.shape$.next(a)).catch(a=>(0,te.z3)(a))}isRegionSelected(t){return t===this.selectedRegion}markerSize(t){return t===this.activeCountry?{height:40,width:27}:{height:30,width:21}}initDropdownSortOption(){this.dropdownPagesOptions=this.getDropdownPagesOptions(),this.dropdownSort=this.fb.group({option:null}),this.updatePopupSort()}setDropdownSortOption(t){if(!t)return;const i=this.dropdownPagesOptions.find(o=>o.value===t);this.dropdownSort.controls.option.setValue(i,{emitEvent:!1})}openIssuerPopup(t,i,o,a=this.activeCountryOrRegionCode){let s=new F.Nl;o&&(s=s.set("sort",o),this.setDropdownSortOption(o)),this.currentPage=i,i>=0&&(s=s.set("page",String(i))),this.popupType=t.type,this.onSetup||this.urlService.addParameters(s.set("popup",t.type)),"country"===t.type?(this.countryName=t.name,s=s.set("country",a),this.updateCountryStats(a),this.http.get(this.config.statisticsByIssuer,{params:s}).pipe((0,f.s)(1),(0,Ge.W)(c=>((0,te.z3)("Error to retrieve Issuer List: ",c,window.location.href),(0,q.of)(null))),(0,W.p)(c=>!!c)).subscribe(c=>this.renderIssuerPopupContent(c))):"region"===t.type&&(s=s.set("region",a),this.http.get(this.config.statisticsByCountry,{params:s}).pipe((0,f.s)(1),(0,Ge.W)(c=>((0,te.z3)("Error to retrieve Countries List: ",c,window.location.href),(0,q.of)(null))),(0,W.p)(c=>!!c)).subscribe(c=>this.renderIssuerPopupContent(c)))}renderIssuerPopupContent(t){this.displayIssuerPopup=!0,this.issuerPopupWindow=t;const i=this.elementRef.nativeElement.querySelector("#issuer-popup");i&&(i.scrollTop=0),this.cdr.markForCheck()}closeIssuerPopup(){this.displayIssuerPopup=!1,this.issuerPopupWindow=null,this.countryName=null,this.dropdownSort.controls.option.setValue(null,{emitEvent:!1}),this.onSetup||this.urlService.deleteParameters(["popup","sort","page"])}popupTitle(){return this.countryName||this.activeRegion}popupCountText(){return"country"===this.popupType?"Issuers":"Countries"}instrumentCssClass(t){return this.cssmapping.cssClass({value:t})}updatePopupPaginator(t){this.urlService.getCurrentPath().subscribe(i=>{const o=i.parameters.has("sort")?i.parameters.getAll("sort").join():null;this.openIssuerPopup({type:this.popupType,name:this.countryName},t,o)})}getDropdownPagesOptions(){return[{value:"issuername,asc",label:"Sort by A-Z"},{value:"issuername,desc",label:"Sort by Z-A"}]}updatePopupSort(){this.dropdownSort.controls.option.valueChanges.subscribe(t=>{this.openIssuerPopup({type:this.popupType,name:this.countryName},0,t.value)})}centerMap(){this.mapIndex$.next(++this.mapIndexCounter)}resetCounter(){this.mapIndex$.next(this.mapIndexCounter=0),this.cdr.markForCheck()}getInstrumentLink(t){return k.T.getCompanyUrl(t.islse,t.tidm,t.issuername)}updateCountryStats(t){if(!this.locations||!this.locations.length)return;const i=this.locations.find(o=>o.key===t);
1this.getStats(i.key,i.value,Number(i.latitude),Number(i.longitude),!0,!0)}clickOnPin(t){this.isRegion(t.key)?this.getStatsByRegion(t.key,t.value,Number(t.latitude),Number(t.longitude)):this.getStats(t.key,t.value,Number(t.latitude),Number(t.longitude))}isRegion(t){return this.content.issuerStatisticsValue.value.locations.find(i=>i.key===t)}remapStyles(){aE.forEach(t=>{this.mapStyle.push(t)})}layerStyle(t){return{clickable:!1,fillColor:t.getProperty("color"),fillOpacity:1,strokeColor:t.getProperty("borderColor"),strokeWeight:1}}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.gRc),e.rXU(Le.w),e.rXU(F.Qq),e.rXU(l.qQ),e.rXU(e.sFG),e.rXU(b.o),e.rXU(u.il),e.rXU(e.aKT),e.rXU(k.T),e.rXU(pe.P),e.rXU(g.ze))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-explore-map"]],inputs:{content:"content"},features:[e.Vt3],decls:26,vars:27,consts:[["emptyvalue",""],["id","explore-map",1,"explore-map","component","wrapper","gtm-track-component"],[1,"explore-map-container"],[1,"wrapper","x-large-width","map-index"],[1,"wrapper"],[1,"map-tabs","x-large-width"],[1,"map-tab",3,"click"],[1,"map-tab","gtm-trackable",3,"click"],["class","wrapper x-large-width map-container",4,"ngIf"],["class","map-legal wrapper x-large-width x-large-width-padding regular-font-size",4,"ngIf"],["class","issuer-popup","id","issuer-popup",4,"ngIf"],[1,"wrapper","x-large-width","map-container"],["class","quick-facts",4,"ngIf"],["height","100%",2,"height","100%","width","100%",3,"centerChange","latitude","longitude","zoom","gestureHandling","disableDefaultUI","styles","scrollwheel","usePanning","minZoom","maxZoom","zoomControl","disableDoubleClickZoom","streetViewControl"],[3,"latitude","longitude","iconUrl","markerClick",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"quick-facts"],[1,"close-facts","gtm-close-modal",3,"click"],[3,"openIssuersModal","activeRegion","activeCountry","stats"],[3,"markerClick","latitude","longitude","iconUrl"],[3,"isOpen"],[1,"explore-map-info-window"],[3,"geoJson"],[1,"map-legal","wrapper","x-large-width","x-large-width-padding","regular-font-size"],["id","issuer-popup",1,"issuer-popup"],[1,"wrapper","x-large-width","explore-map-container"],[1,"mobile-flex-wrapper","spaced-flex-container"],["id","popup-title"],[1,"close-button","gold-button","bold-font-weight","gtm-close-modal",3,"click"],[1,"issuers-count"],[1,"blue-highlight"],[1,"sort-by"],[1,"form-inline","small-font-size",3,"formGroup"],["id","dropdownSort","placeholder","Sort by","formControlName","option",1,"form-control","form-select",3,"searchable","clearable","items"],["class","issuer",4,"ngFor","ngForOf"],[3,"totalPages","currentPage","goToPage",4,"ngIf"],[1,"issuer"],[1,"issuer-data"],[4,"ngFor","ngForOf"],["class","fake-link explore-link bold-font-weight gtm-trackable gtm-open-modal",3,"click",4,"ngIf"],["class","explore-link bold-font-weight",3,"href",4,"ngIf"],[3,"href"],["class","issuer-label",4,"ngIf"],[1,"issuer-label"],[3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"fake-link","explore-link","bold-font-weight","gtm-trackable","gtm-open-modal",3,"click"],[1,"explore-link","bold-font-weight",3,"href"],[3,"goToPage","totalPages","currentPage"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"section",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"span",6),e.bIt("click",function(c){return e.eBV(a),e.Njj(o.getStatsByRegion(null,o.content.exploreMapAllLabel.value,null,null,c))}),e.EFF(6),e.k0s(),e.j41(7,"span",7),e.bIt("click",function(c){return e.eBV(a),e.Njj(o.getStatsByRegion("E",o.content.exploreMapEuropeLabel.value,45.236712,-2.1384187,c))}),e.EFF(8),e.k0s(),e.j41(9,"span",7),e.bIt("click",function(c){return e.eBV(a),e.Njj(o.getStatsByRegion("F",o.content.exploreMapAfricaLabel.value,-15.913677,26.0387,c))}),e.EFF(10),e.k0s(),e.j41(11,"span",7),e.bIt("click",function(c){return e.eBV(a),e.Njj(o.getStatsByRegion("A",o.content.exploreMapAsiaLabel.value,23.775532,73.245745,c))}),e.EFF(12),e.k0s(),e.j41(13,"span",7),e.bIt("click",function(c){return e.eBV(a),e.Njj(o.getStatsByRegion("L",o.content.exploreMapLatinAmericaLabel.value,-12.214591,-57.661981,c))}),e.EFF(14),e.k0s(),e.j41(15,"span",7),e.bIt("click",function(c){return e.eBV(a),e.Njj(o.getStatsByRegion("M",o.content.exploreMapMiddleEastLabel.value,25.076208,45.597839,c))}),e.EFF(16),e.k0s(),e.j41(17,"span",7),e.bIt("click",function(c){return e.eBV(a),e.Njj(o.getStatsByRegion("N",o.content.exploreMapNorthAmericaLabel.value,45.777224,-103.34879,c))}),e.EFF(18),e.k0s(),e.j41(19,"span",7),e.bIt("click",function(c){return e.eBV(a),e.Njj(o.getStatsByRegion("Y",o.content.exploreMapPacificLabel.value,-23.739164,135.932062,c))}),e.EFF(20),e.k0s()()()(),e.DNE(21,kE,5,16,"div",8)(22,yE,2,1,"div",9),e.k0s(),e.DNE(23,NE,17,10,"div",10),e.k0s(),e.DNE(24,XE,1,1,"ng-template",null,0,e.C5r)}2&i&&(e.R7$(5),e.AVh("active",o.isRegionSelected(o.content.exploreMapAllLabel.value)),e.R7$(),e.JRh(o.content.exploreMapAllLabel.value),e.R7$(),e.AVh("active",o.isRegionSelected(o.content.exploreMapEuropeLabel.value)),e.R7$(),e.JRh(o.content.exploreMapEuropeLabel.value),e.R7$(),e.AVh("active",o.isRegionSelected(o.content.exploreMapAfricaLabel.value)),e.R7$(),e.JRh(o.content.exploreMapAfricaLabel.value),e.R7$(),e.AVh("active",o.isRegionSelected(o.content.exploreMapAsiaLabel.value)),e.R7$(),e.JRh(o.content.exploreMapAsiaLabel.value),e.R7$(),e.AVh("active",o.isRegionSelected(o.content.exploreMapLatinAmericaLabel.value)),e.R7$(),e.JRh(o.content.exploreMapLatinAmericaLabel.value),e.R7$(),e.AVh("active",o.isRegionSelected(o.content.exploreMapMiddleEastLabel.value)),e.R7$(),e.JRh(o.content.exploreMapMiddleEastLabel.value),e.R7$(),e.AVh("active",o.isRegionSelected(o.content.exploreMapNorthAmericaLabel.value)),e.R7$(),e.JRh(o.content.exploreMapNorthAmericaLabel.value),e.R7$(),e.AVh("active",o.isRegionSelected(o.content.exploreMapPacificLabel.value)),e.R7$(),e.JRh(o.content.exploreMapPacificLabel.value),e.R7$(),e.Y8G("ngIf",o.content.issuerStatisticsValue.visibility),e.R7$(),e.Y8G("ngIf",o.content.exploreMapLegalText.value),e.R7$(),e.Y8G("ngIf",o.displayIssuerPopup))},dependencies:[l.YU,l.Sq,l.bT,l.T3,g.qT,g.BC,g.cb,y.W,g.j4,g.JD,ne.vr,zo,Vn,Zt,en,ue,fE,l.Jj,Te.Z,ce.w,vE],styles:['body[_ngcontent-%COMP%]{font-size:.875rem}
1.light-font-weight[_ngcontent-%COMP%]{font-weight:300}.regular-font-weight[_ngcontent-%COMP%]{font-weight:400}.medium-font-weight[_ngcontent-%COMP%]{font-weight:500}.semi-bold-font-weight[_ngcontent-%COMP%]{font-weight:600}.bold-font-weight[_ngcontent-%COMP%]{font-weight:700}@media (max-width: 1144px){.bold-font-weight-sm[_ngcontent-%COMP%]{font-weight:700}}.extrabold-font-weight[_ngcontent-%COMP%]{font-weight:800}.small-font-size[_ngcontent-%COMP%]{font-size:.875rem!important;line-height:1em}.smaller-font-size[_ngcontent-%COMP%]{font-size:.65625rem;line-height:1em}.base-font-size[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.3125rem}@media (max-width: 1144px){.xs-base-font-size[_ngcontent-%COMP%]{font-size:.875rem!important;line-height:1.3125rem!important}}.regular-font-size[_ngcontent-%COMP%]{font-size:.984375rem;line-height:1.75rem}.big-font-size[_ngcontent-%COMP%]{font-size:1.09375rem;line-height:1.1em}.bigger-font-size[_ngcontent-%COMP%]{font-size:1.203125rem;line-height:1em}.generous-font-size[_ngcontent-%COMP%]{font-size:1.421875rem;line-height:1.640625rem}.large-font-size[_ngcontent-%COMP%]{font-size:1.640625rem;line-height:1em}@media (max-width: 1144px){.large-font-size[_ngcontent-%COMP%]{font-size:1.18125rem}}.larger-font-size[_ngcontent-%COMP%]{font-size:2.1875rem;line-height:1em}@media (max-width: 1144px){.larger-font-size[_ngcontent-%COMP%]{font-size:1.75rem}}.hero-font[_ngcontent-%COMP%]{font-size:3.5rem;font-weight:800;line-height:4.046875rem}.align-center[_ngcontent-%COMP%]{text-align:center}.align-right[_ngcontent-%COMP%]{text-align:right}.section-title[_ngcontent-%COMP%]{display:inline}.blue-text[_ngcontent-%COMP%]{color:#001eff}.grey-medium-text[_ngcontent-%COMP%]{color:#4d4d4d}h1[_ngcontent-%COMP%]{font-size:1.640625rem;font-weight:700;line-height:1.4;font-family:LSEG Motto,Proxima Nova,Arial,Helvetica;text-transform:uppercase}h2[_ngcontent-%COMP%]{font-size:1.3125rem;font-weight:700;line-height:1.333;font-family:LSEG Motto,Proxima Nova,Arial,Helvetica;text-transform:uppercase}h3[_ngcontent-%COMP%]{font-size:1.09375rem;font-weight:700;line-height:1.2}h4[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:700;line-height:1.333}h5[_ngcontent-%COMP%]{font-weight:700}.h-link[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:500}.h-link-bold[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:700}.text-align-center[_ngcontent-%COMP%]{text-align:center}.text-align-right[_ngcontent-%COMP%]{text-align:right}.text-align-left[_ngcontent-%COMP%]{text-align:left}.text-align-justify[_ngcontent-%COMP%]{text-align:justify}[_nghost-%COMP%] .gm-ui-hover-effect{display:none!important}[_nghost-%COMP%] .gm-style-iw-t:after{display:none}[_nghost-%COMP%] .gm-style-iw{border:.0625rem solid #001eff;border-radius:0;box-shadow:none;max-height:none!important;max-width:none!important;padding:0!important;text-align:center;transform:translate(-50%,-90%)}[_nghost-%COMP%] .gm-style-iw .agm-info-window-content{color:#001eff;font-family:Proxima Nova,Arial,Helvetica;font-size:.875rem;font-weight:500}[_nghost-%COMP%] .gm-style-iw .gm-style-iw-d{max-height:none!important;max-width:none!important;overflow:hidden!important}.quick-facts[_ngcontent-%COMP%]{background:#fff;box-shadow:0 0 .625rem #b2b2b2;left:1rem;padding:1.5rem;position:absolute;top:1rem;width:26rem;z-index:15}@media (max-width: 1144px){.quick-facts[_ngcontent-%COMP%]{left:1rem}}@media (max-width: 480px){.quick-facts[_ngcontent-%COMP%]{width:calc(100% - 2rem)}}.close-facts[_ngcontent-%COMP%]{background:url(assets/static/close_gold.svg) center center no-repeat;background-size:1rem 1rem;content:"";cursor:pointer;display:block;height:1.5rem;position:absolute;right:1.125rem;top:1.125rem;width:1.125rem}.map-container[_ngcontent-%COMP%]{border:.0625rem solid #fafafa;height:40rem;margin-bottom:1.25rem;position:relative;width:100%}.map-legal[_ngcontent-%COMP%]{color:#999;margin:1rem auto}@media (max-width: 1144px){.map-index[_ngcontent-%COMP%]{background:#e6e6e6;border-bottom:solid #b2b2b2;max-height:4.25rem;overflow:hidden}}.map-tabs[_ngcontent-%COMP%]{display:flex;margin:1rem 0 2rem;padding:0;width:100%}@media (max-width: 1144px){.map-tabs[_ngcontent-%COMP%]{display:inline-block;flex-wrap:nowrap;margin-top:0;padding:.75rem 0 0 1rem}}@media (max-width: 1144px){.map-index[_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%]{box-sizing:content-box;height:100%;overflow-x:scroll;overflow-y:hidden;padding:0 0 3rem;white-space:nowrap;width:100%}}.map-tab[_ngcontent-%COMP%]{align-content:center;background:url(assets/static/selector_dropdown.svg) center 90% no-repeat;background-size:1.5rem .75rem;border:.0625rem solid #e6e6e6;box-shadow:0 0 .25rem #b2b2b2;cursor:pointer;display:flex;flex-basis:0;flex-grow:1;flex-wrap:wrap;font-weight:700;height:5.5rem;justify-content:center;margin:0 .25rem;padding:1.5rem .25rem;text-align:center}@media (max-width: 1144px){.map-tab[_ngcontent-%COMP%]{background:#fff;border:.063rem solid #b2b2b2;border-radius:.25rem;box-shadow:none;color:#4d4d4d;cursor:pointer;display:inline-block;font-weight:400;height:auto;line-height:1.185em;margin-bottom:.25rem;margin-right:1rem;max-width:100%;overflow:hidden;overflow-wrap:break-word;padding:.75rem;text-align:left;text-decoration:none;word-break:break-word}}.map-tab[_ngcontent-%COMP%]:hover{border-color:#001eff}.map-tab.active[_ngcontent-%COMP%]{border-color:#001eff;box-shadow:none;color:#001eff}.issuer-popup[_ngcontent-%COMP%]{background:#fff;height:100vh;left:0;overflow-y:scroll;padding:4rem 1.5rem;position:fixed;right:0;top:0;z-index:40}.issuer-popup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:2rem}@media (max-width: 480px){.issuer-popup[_ngcontent-%COMP%] .gold-button.close-button[_ngcontent-%COMP%]{margin:0}}.issuer-popup[_ngcontent-%COMP%] .issuers-count[_ngcontent-%COMP%]{font-size:1.106875rem;margin-bottom:4rem}@media (max-width: 480px){.issuer-popup[_ngcontent-%COMP%] .issuers-count[_ngcontent-%COMP%]{margin-bottom:0}}@media (max-width: 480px){.issuer-popup[_ngcontent-%COMP%] .sort-by[_ngcontent-%COMP%]{width:100%}}.issuer-popup[_ngcontent-%COMP%] .blue-highlight[_ngcontent-%COMP%]{color:#001eff}.issuer-popup[_ngcontent-%COMP%] .issuer[_ngcontent-%COMP%]{border-bottom:.0625rem solid #e6e6e6;padding:1.5rem 0}.issuer-popup[_ngcontent-%COMP%] .issuer[_ngcontent-%COMP%] span.issuer-label[_ngcontent-%COMP%]{border-right:.0625rem solid #000000;display:inline-block;margin-right:.5625rem;padding-right:.5625rem}@media (max-width: 1023px){.issuer-popup[_ngcontent-%COMP%] .issuer[_ngcontent-%COMP%] span.issuer-label[_ngcontent-%COMP%]{margin-bottom:1rem}}.issuer-popup[_ngcontent-%COMP%] .issuer[_ngcontent-%COMP%] span.issuer-label[_ngcontent-%COMP%]:last-child{border-right:0}.issuer-popup[_ngcontent-%COMP%] .explore-link[_ngcontent-%COMP%]{float:right}@media (max-width: 1023px){.issuer-popup[_ngcontent-%COMP%] .explore-link[_ngcontent-%COMP%]{display:block;float:none}}h4[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000}@media (max-width: 1023px){.issuer-data[_ngcontent-%COMP%]{display:block;line-height:1rem}}.explore-map-info-window[_ngcontent-%COMP%]{padding:.25rem;width:4rem}.explore-map-info-window.active[_ngcontent-%COMP%]{background-color:#001eff;color:#fff;font-size:1.09375rem;font-weight:700;line-height:1.1em;width:6rem}'],changeDetection:0})}}return n})();const BE=["dateFilterFrom"],VE=["dateFilterTo"];function LE(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",20),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG();return e.Njj(a.selectFilter(o.key))})("keyup",function(o){e.eBV(t);const a=e.XpG().$implicit,s=e.XpG();return e.Njj(s.selectFilterKey(a.key,o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.AVh("active",t.active),e.R7$(),e.SpI(" ",t.value," ")}}function AE(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",21),e.bIt("keyup",function(o){e.eBV(t);const a=e.XpG().$implicit,s=e.XpG();return e.Njj(s.deselectFilterKey(a.key,o))})("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG();return e.Njj(a.deselectFilter(o.key))}),e.k0s()}}function qE(n,r){if(1&n&&(e.j41(0,"div",17),e.DNE(1,LE,2,3,"div",18)(2,AE,1,0,"span",19),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.value&&"-"!==t.value),e.R7$(),e.Y8G("ngIf","all"!==t.key&&t.active)}}function UE(n,r){if(1&n&&(e.j41(0,"div",8)(1,"span"),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.content.calendarFiltersSubFiltersLabel.value)}}function zE(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",20),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(2);return e.Njj(a.selectWelcomeFilter(o.key))})("keyup",function(o){e.eBV(t);const a=e.XpG().$implicit,s=e.XpG(2);return e.Njj(s.selectWelcomeFilterKey(a.key,o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.AVh("active",t.active),e.R7$(),e.SpI(" ",t.value," ")}}function HE(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",26),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(2);return e.Njj(a.deselectWelcomeFilter(o.key))})("keyup",function(o){e.eBV(t);const a=e.XpG().$implicit,s=e.XpG(2);return e.Njj(s.deselectWelcomeFilterKey(a.key,o))}),e.k0s()}}function WE(n,r){if(1&n&&(e.j41(0,"div",17),e.DNE(1,zE,2,3,"div",18)(2,HE,1,0,"span",25),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.value&&"-"!==t.value),e.R7$(),e.Y8G("ngIf","all"!==t.key&&t.active)}}function JE(n,r){if(1&n&&(e.j41(0,"div",8)(1,"span"),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.content.calendarFiltersSubFiltersLabel.value)}}function KE(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",20),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(4);return e.Njj(a.selectMarketFilter(o.key))})("keyup",function(o){e.eBV(t);const a=e.XpG().$implicit,s=e.XpG(4);return e.Njj(s.selectMarketFilterKey(a.key,o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.AVh("active",t.active),e.R7$(),e.SpI(" ",t.value," ")}}function QE(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",26),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(4);return e.Njj(a.deselectMarketFilter(o.key))})("keyup",function(o){e.eBV(t);const a=e.XpG().$implicit,s=e.XpG(4);return e.Njj(s.deselectMarketFilterKey(a.key,o))}),e.k0s()}}function ZE(n,r){if(1&n&&(e.j41(0,"div",17),e.DNE(1,KE,2,3,"div",18)(2,QE,1,0,"span",25),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.value&&"-"!==t.value),e.R7$(),e.Y8G("ngIf","all"!==t.key&&t.active)}}function e5(n,r){if(1&n&&(e.j41(0,"div",23)(1,"div",11),e.DNE(2,ZE,3,2,"div",12),e.nI1(3,"async"),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(2),e.Y8G("ngForOf",e.bMT(3,1,t.marketSubFilters$))}}function t5(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",20),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(4);return e.Njj(a.selectInstrumentFilter(o.key))})("keyup",function(o){e.eBV(t);const a=e.XpG().$implicit,s=e.XpG(4);return e.Njj(s.selectInstrumentFilterKey(a.key,o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.AVh("active",t.active),e.R7$(),e.SpI(" ",t.value," ")}}function n5(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",26),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(4);return e.Njj(a.deselectInstrumentFilter(o.key))})("keyup",function(o){e.eBV(t);const a=e.XpG().$implicit,s=e.XpG(4);return e.Njj(s.deselectInstrumentFilterKey(a.key,o))}),e.k0s()}}function i5(n,r){if(1&n&&(e.j41(0,"div",17),e.DNE(1,t5,2,3,"div",18)(2,n5,1,0,"span",25),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.value&&"-"!==t.value),e.R7$(),e.Y8G("ngIf","all"!==t.key&&t.active)}}function o5(n,r){if(1&n&&(e.j41(0,"div",23)(1,"div",11),e.DNE(2,i5,3,2,"div",12),e.nI1(3,"async"),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(2),e.Y8G("ngForOf",e.bMT(3,1,t.instrumentSubFilters$))}}function r5(n,r){if(1&n&&(e.qex(0),e.DNE(1,JE,3,1,"div",22)(2,e5,4,3,"div",27)(3,o5,4,3,"div",27),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",t.content.calendarFiltersSubFiltersLabel.value),e.R7$(),e.Y8G("ngIf","market"===t.currentWelcomeFilter),e.R7$(),e.Y8G("ngIf","instrumenttype"===t.currentWelcomeFilter)}}function a5(n,r){if(1&n&&(e.j41(0,"div",7),e.DNE(1,UE,3,1,"div",22),e.j41(2,"div",23)(3,"div",11),e.DNE(4,WE,3,2,"div",12),e.nI1(5,"async"),e.k0s()(),e.DNE(6,r5,4,3,"ng-container",24),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.content.calendarFiltersSubFiltersLabel.value),e.R7$(3),e.Y8G("ngForOf",e.bMT(5,3,t.welcomeStoriesFilters$)),e.R7$(2),e.Y8G("ngIf","welcome_story"===t.currentFilter&&t.currentWelcomeFilter)}}function s5(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",35),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.selectDate())})("keyup",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.selectDateKey(o))}),e.k0s()}}function l5(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",35),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.selectDate())})("keyup",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.selectDateKey(o))}),e.k0s()}}function c5(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",35),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.selectDate())})("keyup",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.selectDateKey(o))}),e.k0s()}}function p5(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",7)(1,"div",8)(2,"span"),e.EFF(3,"Time range"),e.k0s()(),e.j41(4,"div",28)(5,"div",29)(6,"span",30)(7,"input",31,0),e.mxI("ngModelChange",function(o){e.eBV(t);const a=e.XpG();return e.DH7(a.fromDateTime,o)||(a.fromDateTime=o),e.Njj(o)}),e.bIt("keyup",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.clickCalendarFrom(o))}),e.k0s(),e.nrm(9,"owl-date-time",32,1),e.k0s(),e.j41(11,"span",30)(12,"input",33,2),e.mxI("ngModelChange",function(o){e.eBV(t);const a=e.XpG();return e.DH7(a.toDateTime,o)||(a.toDateTime=o),e.Njj(o)}),e.bIt("keyup",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.clickCalendarTo(o))}),e.k0s(),e.nrm(14,"owl-date-time",32,3),e.k0s()(),e.j41(16,"div",17)(17,"div",20),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.selectDate("week"))})("keyup",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.selectDateKey("week",o))}),e.EFF(18),e.k0s(),e.DNE(19,s5,1,0,"span",34),e.k0s(),e.j41(20,"div",17)(21,"div",20),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.selectDate("month"))})("keyup",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.selectDateKey("month",o))}),e.EFF(22),e.k0s(),e.DNE(23,l5,1,0,"span",34),e.k0s(),e.j41(24,"div",17)(25,"div",20),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.selectDate("year"))})("keyup",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.selectDateKey("year",o))}),e.EFF(26),e.k0s(),e.DNE(27,c5,1,0,"span",34),e.k0s()()()}if(2&n){const t=e.sdS(10),i=e.sdS(15),o=e.XpG();e.R7$(7),e.AVh("disabled",o.inputDateType),e.R50("ngModel",o.fromDateTime),e.Y8G("owlDateTimeTrigger",t)("owlDateTime",t),e.R7$(2),e.Y8G("pickerType","calendar"),e.R7$(3),e.AVh("disabled",o.inputDateType),e.R50("ngModel",o.toDateTime),e.Y8G("owlDateTimeTrigger",i)("owlDateTime",i),e.R7$(2),e.Y8G("pickerType","calendar"),e.R7$(3),e.AVh("active","week"==o.inputDateType),e.R7$(),e.SpI(" ",o.inputDateTypeLabelMap.get("week")," "),e.R7$(),e.Y8G("ngIf","week"==o.inputDateType),e.R7$(2),e.AVh("active","month"==o.inputDateType),e.R7$(),e.SpI(" ",o.inputDateTypeLabelMap.get("month")," "),e.R7$(),e.Y8G("ngIf","month"==o.inputDateType),e.R7$(2),e.AVh("active","year"==o.inputDateType),e.R7$(),e.SpI(" ",o.inputDateTypeLabelMap.get("year")," "),e.R7$(),e.Y8G("ngIf","year"==o.inputDateType)}}function m5(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",36),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.clearAll())})("keyup",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.clearAllKey(o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.calendarFiltersClearFiltersLabel.value," ")}}const He=Q()?Q():Lt,Ln={datePickerInput:"DD.MM.YY",monthYearLabel:"MMMM YYYY"};let cr=(()=>{class n{constructor(t,i,o,a,s,c,d,C){this.filtersService=t,this.store=i,this.refreshService=o,this.cdr=a,this.pageTitleService=s,this.scrollToService=c,this.elementRef=d,this.urlService=C,this.firstLevelFilters=null,this.welcomeStoriesFilters=null,this.marketSubFilters=null,this.instrumentSubFilters=null,this.inputDateTypeLabelMap=new Map([["week","Last week"],["month","Last month"],["year","Last year"]]),this.n
1gUnsubscribe=new re.B,this.filtersInPageTitle=[],this.filtersService.store=this.store,this.filtersService.urlService=this.urlService}ngOnInit(){this.firstLevelFilters=this.getFirstLevelFilters(),this.firstLevelFilters$=(0,q.of)(this.firstLevelFilters),this.welcomeStoriesFilters=this.getWelcomeStoriesFilters(),this.welcomeStoriesFilters$=(0,q.of)(this.welcomeStoriesFilters),this.marketSubFilters=this.content.calendarFiltersMarketSubfilters.value,console.log(this.content.calendarFiltersMarketSubfilters.value),console.log(this.content.calendarFiltersInstrumentTypeSubfilters.value),this.marketSubFilters$=(0,q.of)(this.marketSubFilters),this.instrumentSubFilters=this.content.calendarFiltersInstrumentTypeSubfilters.value,this.instrumentSubFilters$=(0,q.of)(this.instrumentSubFilters),this.status={...this.status,params:this.filtersService.getHttpFilters()},this.fromDateTime=null,this.toDateTime=null,this.store.pipe((0,u.Lt)(h.Ti),(0,W.p)(t=>!!t&&!!t.parameters),(0,W.p)(t=>t.parameters.has("startdate")&&t.parameters.has("enddate")&&t.parameters.get("startdate")===t.parameters.get("enddate")),(0,ie.Q)(this.ngUnsubscribe)).subscribe(()=>{this.clearAll(!1)}),this.currentPath$=this.store.pipe((0,u.Lt)(h.Ti),(0,f.s)(1),(0,ie.Q)(this.ngUnsubscribe)),this.currentPath$.pipe((0,W.p)(t=>!!t&&!!t.parameters)).subscribe(t=>{this.setFiltersFromUrl(t.parameters),this.pageTitleService.dispatchPageTitlePrefix(this.filtersInPageTitle," - "," - ")})}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}setParamsFromUrl(t,i){if(t.getAll(i))switch(i){case"eventtype":t.getAll(i).forEach(o=>{this.selectFilter(o)});break;case"welcomestorytype":t.getAll(i).forEach(o=>this.selectWelcomeFilter(o));break;case"market":t.getAll(i).forEach(o=>this.selectMarketFilter(o));break;case"instrumenttype":t.getAll(i).forEach(o=>this.selectInstrumentFilter(o))}}setFiltersFromUrl(t){var i=this;return(0,_.A)(function*(o,a=!1){o&&(yield i.clearAll(!1),i.setParamsFromUrl(o,"eventtype"),i.setFilters("eventtype",i.firstLevelFilters),i.setParamsFromUrl(o,"welcomestorytype"),i.setFilters("welcomestorytype",i.welcomeStoriesFilters),i.setParamsFromUrl(o,"market"),i.setFilters("market",i.marketSubFilters),i.setParamsFromUrl(o,"instrumenttype"),i.setFilters("instrumenttype",i.instrumentSubFilters),(o.get("startdate")||o.get("enddate"))&&(i.fromDateTime=He(o.get("startdate")),i.toDateTime=He(o.get("enddate")),i.setDateFilter()),a&&i.applyFilters())}).apply(this,arguments)}getFirstLevelFilters(){return[{key:"all",value:"All",active:!0},{key:"welcome_story",value:this.content.calendarFiltersWelcomeStoriesLabel.value,active:!1},{key:"other",value:this.content.calendarFilterOtherEventsLabel.value,active:!1}]}getWelcomeStoriesFilters(){return[{key:"market",value:"Market",active:!1},{key:"instrumenttype",value:"Instrument type",active:!1}]}selectFilter(t){this.firstLevelFilters=this.setFilter(t,this.firstLevelFilters),this.currentFilter=t,this.firstLevelFilters$=(0,q.of)(this.firstLevelFilters),(!t||"all"===t)&&(this.resetWelcomeFilter(),this.resetMarketFilter(),this.resetInstrumentFilter()),this.cdr.markForCheck()}deselectFilter(t){this.firstLevelFilters=this.resetActiveValue(this.firstLevelFilters,t),this.currentFilter=null,this.firstLevelFilters$=(0,q.of)(this.firstLevelFilters),"welcome_story"===t&&this.resetWelcomeFilter(),this.cdr.markForCheck()}resetFilter(){this.firstLevelFilters=this.getFirstLevelFilters(),this.currentFilter=null,this.firstLevelFilters$=(0,q.of)(this.firstLevelFilters),this.resetWelcomeFilter(),this.resetMarketFilter(),this.resetInstrumentFilter(),this.cdr.markForCheck()}selectWelcomeFilter(t){this.welcomeStoriesFilters=this.setActiveValue(this.welcomeStoriesFilters,t),this.currentWelcomeFilter=t,this.welcomeStoriesFilters$=(0,q.of)(this.welcomeStoriesFilters),this.cdr.markForCheck()}deselectWelcomeFilter(t){this.welcomeStoriesFilters=this.resetActiveValue(this.welcomeStoriesFilters,t),this.welcomeStoriesFilters$=(0,q.of)(this.welcomeStoriesFilters),this.currentWelcomeFilter=null,"market"===t&&this.resetMarketFilter(),"instrumenttype"===t&&this.resetInstrumentFilter(),this.cdr.markForCheck()}resetWelcomeFilter(){this.welcomeStoriesFilters=this.getWelcomeStoriesFilters(),this.welcomeStoriesFilters$=(0,q.of)(this.welcomeStoriesFilters),this.resetMarketFilter(),this.resetInstrumentFilter(),this.currentWelcomeFilter=null,this.cdr.markForCheck()}selectMarketFilter(t){this.marketSubFilters=this.setFilter(t,this.marketSubFilters),this.marketSubFilters$=(0,q.of)(this.marketSubFilters),this.cdr.markForCheck()}deselectMarketFilter(t){this.marketSubFilters=this.resetActiveValue(this.marketSubFilters,t),this.marketSubFilters$=(0,q.of)(this.marketSubFilters),this.cdr.markForCheck()}
1resetMarketFilter(){this.marketSubFilters.forEach(t=>{t.active=!1}),this.marketSubFilters$=(0,q.of)(this.marketSubFilters),this.cdr.markForCheck()}selectInstrumentFilter(t){this.instrumentSubFilters=this.setFilter(t,this.instrumentSubFilters),this.instrumentSubFilters$=(0,q.of)(this.instrumentSubFilters),this.cdr.markForCheck()}deselectInstrumentFilter(t){this.instrumentSubFilters=this.resetActiveValue(this.instrumentSubFilters,t),this.instrumentSubFilters$=(0,q.of)(this.instrumentSubFilters),this.cdr.markForCheck()}resetInstrumentFilter(){this.instrumentSubFilters.forEach(t=>{t.active=!1}),this.instrumentSubFilters$=(0,q.of)(this.instrumentSubFilters),this.cdr.markForCheck()}setActiveValue(t,i){return t.filter(o=>"all"===o.key).length&&(t.filter(o=>"all"===o.key)[0].active=!1),t.filter(o=>o.key===i).length&&(t.filter(o=>o.key===i)[0].active=!0),t}resetActiveValue(t,i){return t.filter(o=>o.key===i).length&&(t.filter(o=>o.key===i)[0].active=!1),!t.filter(o=>o.active).length&&t.filter(o=>"all"===o.key).length&&(t.filter(o=>"all"===o.key)[0].active=!0),t}setFilter(t,i){if(i&&i.length)return t&&"all"!==t?i=this.setActiveValue(i,t):i.forEach((o,a)=>{o.active=!a}),i}selectDate(t=null){this.inputDateType=t}setFilters(t,i){const o=i.filter(s=>s.active&&"all"!==s.key),a=[];o.length&&(o.forEach(s=>{this.filtersService.setFilter(t,s),a.push(s.value)}),this.filtersInPageTitle.push(a.join(", ")))}getDateRange(t=null){let i;switch(t){case"week":i=He().subtract(7,"days").format("YYYYMMDD");break;case"month":i=He().subtract(1,"months").format("YYYYMMDD");break;case"year":i=He().subtract(1,"years").format("YYYYMMDD");break;default:i=He().format("YYYYMMDD")}return i}setDateFiltersInTitle(t,i,o){const a=i?"from "+i.format(Ln.datePickerInput):"",s=o?" to "+o.format(Ln.datePickerInput):"",c=this.inputDateTypeLabelMap.get(t)||a+s;c&&this.filtersInPageTitle.push(c)}setDateFilter(){let t,i;if(this.setDateFiltersInTitle(this.inputDateType,He(this.fromDateTime),He(this.toDateTime)),this.inputDateType)t=this.getDateRange(this.inputDateType),i=this.getDateRange();else{const o=this.fromDateTime,a=this.toDateTime;t=o?He(o).format("YYYYMMDD"):null,i=a?He(a).format("YYYYMMDD"):null}t&&i&&(this.filtersService.setFilter("startdate",{key:t,value:t}),this.filtersService.setFilter("enddate",{key:i,value:i}))}applyFilters(){var t=this;return(0,_.A)(function*(){t.filtersService.clearFilters(),t.filtersInPageTitle=[],t.setFilters("eventtype",t.firstLevelFilters),t.setFilters("welcomestorytype",t.welcomeStoriesFilters),t.setFilters("market",t.marketSubFilters),t.setFilters("instrumenttype",t.instrumentSubFilters),t.setDateFilter(),yield t.submit()})()}clearAll(){var t=this;return(0,_.A)(function*(i=!0){t.scrollToService.scrollToTheElementById("calendar-filters",t.elementRef),t.filtersService.clearFilters(),t.filtersInPageTitle=[],t.resetFilter(),t.inputDateType=null,t.fromDateTime=null,t.toDateTime=null,t.cdr.markForCheck(),i&&(yield t.submit())}).apply(this,arguments)}submit(){var t=this;return(0,_.A)(function*(){t.filtersService.clearPageFilter();const i=t.filtersService.getHttpFilters();yield t.filtersService.addFiltersToUrl(),t.pageTitleService.dispatchPageTitlePrefix(t.filtersInPageTitle," - "," - "),t.status={...t.status,params:i},t.refreshService.setComponentStatus(t.id,t.position,t.status)})()}showClearFilters(){return!!(this.currentFilter&&"all"!==this.currentFilter||this.inputDateType||this.fromDateTime||this.toDateTime)}selectFilterKey(t,i){"Enter"===i.key&&this.selectFilter(t)}deselectFilterKey(t,i){"Enter"===i.key&&this.deselectFilter(t)}selectWelcomeFilterKey(t,i){"Enter"===i.key&&this.selectWelcomeFilter(t)}deselectWelcomeFilterKey(t,i){"Enter"===i.key&&this.deselectWelcomeFilter(t)}selectMarketFilterKey(t,i){"Enter"===i.key&&this.selectMarketFilter(t)}deselectMarketFilterKey(t,i){"Enter"===i.key&&this.deselectMarketFilter(t)}selectInstrumentFilterKey(t,i){"Enter"===i.key&&this.selectInstrumentFilter(t)}deselectInstrumentFilterKey(t,i){"Enter"===i.key&&this.deselectInstrumentFilter(t)}clearAllKey(t){"Enter"===t.key&&this.clearAll()}applyFiltersKey(t){"Enter"===t.key&&this.applyFilters()}selectDateKey(t,i){"Enter"===i.key&&(t?this.selectDate(t):this.selectDate())}clickCalendarFrom(t){"Enter"===t.key&&this.dateFilterFrom.nativeElement.click()}clickCalendarTo(t){"Enter"===t.key&&this.dateFilterTo.nativeElement.click()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Ve.B),e.rXU(u.il),e.rXU(j.W),e.rXU(e.gRc),e.rXU(pe.P),e.rXU(le.W),e.rXU(e.aKT),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-calendar-filters"]],viewQuery:function(i,o){if(1&i&&(e.GBs(BE,5),e.GBs(VE,5)),2&i){let a;e.mGM(a=e.lsd())&&(o.dateFilterFrom=a.first),e.mGM(a=e.lsd())&&(o.dateFilterTo=a.first)}},inputs:{content:"content",type:"type",position:"position",id:"id",status:"status"},features:[e.Jv_([{provide:je.fJ,useValue:Ln}])],decls:18,vars:8,consts:[["dateFilterFrom",""],["fromDate",""],["dateFilterTo",""],["toDate",""],["id","calendar-filters","appBackBrowserClick","",1,"calendar-filters-component","component","component-refresh","gtm-track-component",3,"refreshComponent"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"calendar-filters-content"],[1,"filters-container"],[1,"filters-header","bold-font-weight","regular-font-size","mobile-flex-wrapper"],[1,"icon-filters"],[1,"index-filter","button-filter","mobile-flex-container"],[1,"button-filter-wrapper"],["class","filter-wrapper",4,"ngFor","ngForOf"],["class","filters-container",4,"ngIf"],[1,"buttons-container"],["class","gold-button outline bold-font-weight gtm-trackable clear-button","tabindex","0",3,"click","keyup",4,"ngIf"],["tabindex","0",1,"gold-button","bold-font-weight","gtm-trackable","apply-button",3,"click","keyup"],[1,"filter-wrapper"],["class","interactive-outline-button gtm-trackable","tabindex","0",3,"active","click","keyup",4,"ngIf"],["tabindex","0","class","filter-deselect",3,"keyup","click",4,"ngIf"],["tabindex","0",1,"interactive-outline-button","gtm-trackable",3,"click","keyup"],["tabindex","0",1,"filter-deselect",3,"keyup","click"],["class","filters-header bold-font-weight regular-font-size mobile-flex-wrapper",4,"ngIf"],[1,"index-filter","button-filter","mobile-flex-container","welcome-stories-filters"],[4,"ngIf"],["class","filter-deselect","tabindex","0",3,"click","keyup",4,"ngIf"],["tabindex","0",1,"filter-deselect",3,"click","keyup"],["class","index-filter button-filter mobile-flex-container welcome-stories-filters",4,"ngIf"],[1,"index-filter","date-filter"],[1,"date-form"],[1,"date-container"],["placeholder","From date","tabindex","0","readonly","",1,"date-input","filter-input",3,"ngModelChange","keyup","ngModel","owlDateTimeTrigger","owlDateTime"],[3,"pickerType"],["placeholder","To date","tabindex","0","readonly","",1,"date-input","filter-input",3,"ngModelChange","keyup","ngModel","owlDateTimeTrigger","owlDateTime"],["class","filter-deselect",3,"click","keyup",4,"ngIf"],[1,"filter-deselect",3,"click","keyup"],["tabindex","0",1,"gold-button","outline","bold-font-weight","gtm-trackable","clear-button",3,"click","keyup"]],template:function(i,o){1&i&&(e.j41(0,"section",4),e.bIt("refreshComponent",function(s){return o.setFiltersFromUrl(s,!0)}),e.j41(1,"div",5)(2,"div",6)(3,"div",7)(4,"div",8)(5,"span"),e.EFF(6),e.k0s(),e.nrm(7,"span",9),e.k0s(),e.j41(8,"div",10)(9,"div",11),e.DNE(10,qE,3,2,"div",12),e.nI1(11,"async"),e.k0s()()(),e.DNE(12,a5,7,5,"div",13)(13,p5,28,24,"div",13),e.k0s(),e.j41(14,"div",14),e.DNE(15,m5,2,1,"span",15),e.j41(16,"span",16),e.bIt("click",function(){return o.applyFilters()})("keyup",function(s){return o.applyFiltersKey(s)}),e.EFF(17),e.k0s()()()()),2&i&&(e.R7$(6),e.JRh(o.content.calendarFiltersLabel.value),e.R7$(4),e.Y8G("ngForOf",e.bMT(11,6,o.firstLevelFilters$)),e.R7$(2),e.Y8G("ngIf","welcome_story"===o.currentFilter),e.R7$(),e.Y8G("ngIf",o.currentFilter),e.R7$(2),e.Y8G("ngIf",o.showClearFilters()),e.R7$(2),e.SpI(" ",o.content.calendarFiltersApplyFiltersLabel.value," "))},dependencies:[l.Sq,l.bT,g.me,g.BC,g.vS,De.T,je.H$,je.BK,je.P_,l.Jj],styles:[".buttons-container[_ngcontent-%COMP%]{text-align:right}.apply-button[_ngcontent-%COMP%]{margin-left:1rem}.welcome-stories-filters[_ngcontent-%COMP%]{border-bottom:0}.date-form[_ngcontent-%COMP%]{display:inline-block}@media (max-width: 480px){.date-form[_ngcontent-%COMP%]{display:block}}.date-container[_ngcontent-%COMP%]{display:inline-block;margin-left:0}@media (max-width: 480px){.date-container[_ngcontent-%COMP%]{display:block;margin-right:0}}.date-input[_ngcontent-%COMP%]{max-width:10.5rem;width:100%}@media (max-width: 480px){.date-input[_ngcontent-%COMP%]{max-width:none}}.disabled[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}.filter-input[_ngcontent-%COMP%]:focus{border:1px solid}"],changeDetection:0})}}return n})();function _5(n,r){if(1&n&&(e.j41(0,"h3",15),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.calendarItemTitle," ")}}function d5(n,r){if(1&n&&(e.j41(0,"div",16),e.nrm(1,"p",17),e.nI1(2,"safeHtml"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("innerHtml",e.bMT(2,1,t.calendarItemText),e.npT)}}function u5(n,r){if(1&n&&(e.j41(0,"div",22)(1,"a",23),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("href",t.calendarItemLinkUrl,e.B4B),e.R7$(),e.JRh(t.calendarItemLinkLabel)}}function g5(n,r){if(1&n&&(e.j41(0,"div",26),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.SpI(" ",t," ")}}function h5(n,r){if(1&n&&(e.j41(0,"div",24),e.DNE(1,g5,2,1,"div",25),e.nI1(2,"slice"),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngForOf",e.brH(2,1,t.calendarItemTags,0,1))}}function f5(n,r){if(1&n&&(e.j41(0,"div",26),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.SpI(" ",t," ")}}function v5(n,r){if(1&n&&(e.j41(0,"div",27),e.DNE(1,f5,2,1,"div",25),e.nI1(2,"slice"),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.Y8G("ngForOf",e.i5U(2,1,t.calendarItemTags,1))}}function b5(n,r){if(1&n&&(e.j41(0,"div",18),e.DNE(1,u5,3,2,"div",19)(2,h5,3,5,"div",20)(3,v5,3,4,"div",21),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.calendarItemLinkUrl&&t.calendarItemLinkLabel),e.R7$(),e.Y8G("ngIf",null==t.calendarItemTags?null:t.calendarItemTags.length),e.R7$(),e.Y8G("ngIf",(null==t.calendarItemTags?null:t.calendarItemTags.length)>1)}}function C5(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",9)(1,"div",10),e.bIt("canLoad",function(o){e.eBV(t);const a=e.XpG(3);return e.Njj(a.canLoad(o))}),e.k0s(),e.j41(2,"div",11),e.DNE(3,_5,2,1,"h3",12)(4,d5,3,3,"div",13)(5,b5,4,3,"div",14),e.k0s()()}if(2&n){const t=r.$implicit,i=r.last,o=e.XpG(3);e.AVh("item-results-element-last",i),e.R7$(),e.Y8G("ngStyle",o.canLoads?o.bgStyle(t.calendarItemImage):null),e.R7$(2),e.Y8G("ngIf",t.calendarItemTitle),e.R7$(),e.Y8G("ngIf",t.calendarItemText),e.R7$(),e.Y8G("ngIf",t.calendarItemLinkUrl&&t.calendarItemLinkLabel||(null==t.calendarItemTags?null:t.calendarItemTags.length))}}function T5(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",7),e.EFF(2),e.nI1(3,"customdate"),e.k0s(),e.DNE(4,C5,6,6,"div",8),e.bVm()),2&n){const t=r.$implicit;e.R7$(2),e.SpI(" ",e.i5U(3,2,t.key,"long")," "),e.R7$(2),e.Y8G("ngForOf",t.value)}}function x5(n,r){if(1&n&&(e.j41(0,"div",5),e.DNE(1,T5,5,5,"ng-container",6),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.content.calendarItems.value)}}function k5(n,r){1&n&&(e.j41(0,"div",28),e.EFF(1," Sorry, we couldn't find any results for your search criteria. Please try again. "),e.k0s())}function y5(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-paginator",29),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.pageSubmit(o))}),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("totalPages",null==t.content.calendarItemsPagination||null==t.content.calendarItemsPagination.value?null:t.content.calendarItemsPagination.value.totalPages)("currentPage",null==t.content.calendarItemsPagination||null==t.content.calendarItemsPagination.value?null:t.content.calendarItemsPagination.value.page)}}let pr=(()=>{class n{constructor(t,i,o,a,s,c){this.refreshService=t,this.store=i,this.scrollToService=o,this.elementRef=a,this.platformId=s,this.doc=c,this.classes="regular-width calendar-item-content",this.ngUnsubscribe=new re.B,this.isServer=!0,this.defaultImage="assets/images/lseg_default_image.jpg"}ngOnInit(){this.isServer=(0,l.Vy)(this.platformId),this.currentPath$=this.store.pipe((0,u.Lt)(h.Ti),(0,ie.Q)(this.ngUnsubscribe)),this.currentPath$.pipe((0,W.p)(t=>!!t&&!!t.parameters)).subscribe(t=>{this.setCurrentUrl(t),this.refreshComponent(t.parameters),this.scrollTo(t.parameters)}),this.addChangeComponentOrderToPageContent()}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}refreshComponent(t){0===t.keys().length&&!this.status.hasOwnProperty("refreshed")||(this.status={...this.status,params:t},this.refreshService.refreshComponent(this.id,this.position,this.type,this.content,this.status))}addChangeComponentOrderToPageContent(){const t=this.doc.querySelector(".page-content");
1if(t){const i=t.getAttribute("class");this.doc.querySelector(".page-content").setAttribute("class",`${i} change-component-order`)}}bgStyle(t){return{"background-image":`url(${t||this.defaultImage})`}}pageSubmit(t){const i=(this.status.params||new F.Nl).set("page",`${t}`);this.status={...this.status,currentPage:t,params:i},this.refreshService.setComponentStatus(this.id,this.position,this.status)}setCurrentUrl(t){if(this.isServer)return;const i=k.T.getNormalUrl(t);try{sessionStorage.setItem(M.c.storyPageKey.url,i),sessionStorage.setItem(M.c.storyPageKey.type,"calendar")}catch(o){(0,te.z3)(`Session storage set error: ${o}`)}}scrollTo(t){0!==t.keys().length&&this.scrollToService.scrollToTheElementById("calendar-item",this.elementRef)}canLoad(t){return this.canLoads=t,t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(j.W),e.rXU(u.il),e.rXU(le.W),e.rXU(e.aKT),e.rXU(e.Agw),e.rXU(l.qQ))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-calendar-item"]],hostVars:2,hostBindings:function(i,o){2&i&&e.HbH(o.classes)},inputs:{content:"content",type:"type",position:"position",id:"id",status:"status"},decls:5,vars:3,consts:[["id","calendar-item",1,"calendar-item","component","component-refresh","gtm-track-component"],[1,"wrapper","x-large-width"],["class","calendar-item-results",4,"ngIf"],["class","calendar-item-no-results large-font-size",4,"ngIf"],[3,"totalPages","currentPage","goToPage",4,"ngIf"],[1,"calendar-item-results"],[4,"ngFor","ngForOf"],[1,"item-results-date","bold-font-weight","large-font-size","blue-text"],["class","item-results-element",3,"item-results-element-last",4,"ngFor","ngForOf"],[1,"item-results-element"],["appLazyBgImgLoad","",1,"item-results-element-image","hide-on-desktop",3,"canLoad","ngStyle"],[1,"item-results-element-content"],["class","big-font-size element-title",4,"ngIf"],["class","regular-font-size element-text",4,"ngIf"],["class","item-results-element-footer mobile-flex-wrapper spaced-flex-container",4,"ngIf"],[1,"big-font-size","element-title"],[1,"regular-font-size","element-text"],[1,"truncated-text",3,"innerHtml"],[1,"item-results-element-footer","mobile-flex-wrapper","spaced-flex-container"],["class","regular-font-size element-link",4,"ngIf"],["class","element-first-tag",4,"ngIf"],["class","element-tags",4,"ngIf"],[1,"regular-font-size","element-link"],[3,"href"],[1,"element-first-tag"],["class","element-tag small-font-size bold-font-weight",4,"ngFor","ngForOf"],[1,"element-tag","small-font-size","bold-font-weight"],[1,"element-tags"],[1,"calendar-item-no-results","large-font-size"],[3,"goToPage","totalPages","currentPage"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"div",1),e.DNE(2,x5,2,1,"div",2)(3,k5,2,0,"div",3)(4,y5,1,2,"app-paginator",4),e.k0s()()),2&i&&(e.R7$(2),e.Y8G("ngIf",null==o.content.calendarItems.value?null:o.content.calendarItems.value.length),e.R7$(),e.Y8G("ngIf",0===(null==o.content.calendarItems.value?null:o.content.calendarItems.value.length)),e.R7$(),e.Y8G("ngIf",o.content.calendarItemsPagination.value))},dependencies:[l.Sq,l.bT,l.B3,D.W,ue,l.P9,U.W,be.$],styles:['.calendar-item[_ngcontent-%COMP%]{padding-top:1rem}.calendar-item-no-results[_ngcontent-%COMP%]{margin-top:1.5rem}.item-results-date[_ngcontent-%COMP%]{margin-bottom:1rem}.item-results-element[_ngcontent-%COMP%]{border-bottom:.125rem solid #fafafa;display:flex;margin:.5rem auto}@media (max-width: 1144px){.item-results-element[_ngcontent-%COMP%]{display:block}}.item-results-element-image[_ngcontent-%COMP%]{background-position:center center;background-repeat:no-repeat;background-size:cover;content:"";display:block;height:9.25rem;margin-top:1.5rem;width:22rem}.item-results-element-content[_ngcontent-%COMP%]{padding:1.5rem;width:calc(100% - 22rem)}@media (max-width: 1144px){.item-results-element-content[_ngcontent-%COMP%]{height:auto;width:100%}}.item-results-element-last[_ngcontent-%COMP%]{border-bottom:0}.element-title[_ngcontent-%COMP%]{margin-bottom:1.5rem}.element-text[_ngcontent-%COMP%]{height:8rem;margin-bottom:.5rem;overflow:hidden;position:relative}.element-text[_ngcontent-%COMP%]:after{background:linear-gradient(to bottom,#fff0,#fff 75% 100%);bottom:0;content:"";display:block;height:2rem;left:0;position:absolute;right:0}.element-link[_ngcontent-%COMP%]{margin-bottom:.5rem}.element-tag[_ngcontent-%COMP%]{background-color:#001eff;border-radius:.3rem;color:#fff;display:inline-block;margin-bottom:.5rem;margin-right:.5rem;padding:.35rem .3rem}.element-tag[_ngcontent-%COMP%]:last-child{margin-right:0}.element-first-tag[_ngcontent-%COMP%] .element-tag[_ngcontent-%COMP%]{margin-right:0;margin-top:.35rem}.element-tags[_ngcontent-%COMP%]{width:100%}.btn-play[_ngcontent-%COMP%]{align-items:center;background-color:#000c;border-radius:50%;color:#fff;display:inline-flex;height:4.25rem;justify-content:center;left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);width:4.25rem}.btn-play[_ngcontent-%COMP%]:before{background-image:url(assets/static/play.svg);background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:4rem;left:.25rem;position:relative;transform:scale(.5);width:4rem}.video-icon[_ngcontent-%COMP%]{align-items:center;color:#fff;display:inline-flex;height:5rem;justify-content:center;position:absolute;right:0;text-align:center;top:0;width:5.5rem;z-index:3}.video-icon[_ngcontent-%COMP%]:before{background-image:url(assets/static/video_icon.svg);background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:5rem;position:relative;right:0;transform:scale(.4);width:5rem}'],changeDetection:0})}}return n})();function w5(n,r){if(1&n&&(e.j41(0,"h3",11)(1,"span"),e.EFF(2),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.JRh(t.content.exploreStoriesTitle.value)}}function I5(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",22),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(2);return e.Njj(a.deselectFilter(o,1))})("keyup",function(o){e.eBV(t);const a=e.XpG().$implicit,s=e.XpG(2);return e.Njj(s.deselectFilterKey(a,1,o))}),e.k0s()}}function M5(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",19)(1,"div",20),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.selectFilter(o,1))})("keyup",function(o){const a=e.eBV(t).$implicit,s=e.XpG(2);return e.Njj(s.selectFilterKey(a,1,o))}),e.EFF(2),e.k0s(),e.DNE(3,I5,1,0,"span",21),e.k0s()}if(2&n){const t=r.$implicit,i=e.XpG(2);e.R7$(),e.Y8G("ngClass",i.firstLevelFilterClass(t.key)),e.R7$(),e.JRh(t.value),e.R7$(),e.Y8G("ngIf",i.isActiveFirstLevelFilter(t.key))}}function O5(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",22),e.bIt("click",function(o){e.eBV(t);const a=e.XpG().$implicit,s=e.XpG(3);return e.Njj(s.deselectFilter(a,2,o))})("keyup",function(o){e.eBV(t);const a=e.XpG().$implicit,s=e.XpG(3);return e.Njj(s.deselectFilterKey(a,2,o))}),e.k0s()}}function R5(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",19)(1,"div",20),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.selectFilter(o,2))})("keyup",function(o){const a=e.eBV(t).$implicit,s=e.XpG(3);return e.Njj(s.selectFilterKey(a,2,o))}),e.EFF(2),e.k0s(),e.DNE(3,O5,1,0,"span",21),e.k0s()}if(2&n){const t=r.$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngClass",i.filterClass(t.key)),e.R7$(),e.JRh(t.value),e.R7$(),e.Y8G("ngIf",i.isActiveFilter(t.key))}}function F5(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",13)(1,"div",14),e.EFF(2),e.k0s(),e.j41(3,"div",15)(4,"div",16),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.selectAllFilters(2))})("keyup",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.selectAllFiltersKey(2,o))}),e.EFF(5,"All"),e.k0s(),e.DNE(6,R5,4,3,"div",17),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI("",t.content.exploreStoriesSelectFilterLabel.value," "),e.R7$(2),e.AVh("active",!t.isThereActiveFiltersOnLevel(2)),e.R7$(2),e.Y8G("ngForOf",t.getSubfilters())}}function P5(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",12)(1,"div",13)(2,"div",14),e.EFF(3),e.k0s(),e.j41(4,"div",15)(5,"div",16),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.selectAllFilters(1))})("keyup",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.selectAllFiltersKey(1,o))}),e.EFF(6,"All"),e.k0s(),e.DNE(7,M5,4,3,"div",17),e.k0s()(),e.DNE(8,F5,7,4,"div",18),e.k0s()}if(2&n){const t=e.XpG();e.R7$(3),e.SpI("",t.content.exploreStoriesFilterByLabel.value," "),e.R7$(2),e.AVh("active",!t.isThereAnyActiveFilter()),e.R7$(2),e.Y8G("ngForOf",t.content.exploreStoriesFilters),e.R7$(),e.Y8G("ngIf",t.activeCategory)}}function G5(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",37),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2).$implicit,a=e.XpG(2);return e.Njj(a.videoPlay(o.video))}),e.k0s()}if(2&n){const t=e.XpG(2).$implicit;e.BMQ("data-videourl",null==t?null:t.video)}}function S5(n,r){if(1&n&&e.nrm(0,"img",38),2&n){const t=e.XpG(2).$implicit;e.Y8G("src",t.image,e.B4B)}}function $5(n,r){1&n&&e.nrm(0,"img",39)}function E5(n,r){if(1&n&&(e.j41(0,"figure"),e.DNE(1,G5,1,1,"span",34)(2,S5,1,1,"img",35)(3,$5,1,0,"img",36),e.k0s()),2&n){const t=e.XpG().$implicit;e.AVh("video-wrapper",t.video),e.R7$(),e.Y8G("ngIf",t.video),e.R7$(),e.Y8G("ngIf",t.image),e.R7$(),e.Y8G("ngIf",!t.image)}}function D5(n,r){if(1&n&&(e.j41(0,"div",40),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.JRh(t)}}function j5(n,r){if(1&n&&(e.j41(0,"div",26),e.DNE(1,E5,4,5,"figure",27),e.j41(2,"div",28)(3,"h5"),e.
1EFF(4),e.k0s(),e.j41(5,"div",29),e.nrm(6,"p",30),e.nI1(7,"safeHtml"),e.k0s(),e.j41(8,"a",31),e.EFF(9,"Learn more"),e.k0s(),e.j41(10,"div",32),e.DNE(11,D5,2,1,"div",33),e.k0s()()()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.image||t.video),e.R7$(3),e.JRh(t.title),e.R7$(2),e.Y8G("innerHTML",e.bMT(7,5,t.text),e.npT),e.R7$(2),e.Y8G("href",t.link,e.B4B),e.R7$(3),e.Y8G("ngForOf",t.tags)}}function N5(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",23)(2,"div",24),e.DNE(3,j5,12,7,"div",25),e.k0s()(),e.bVm()),2&n){const t=e.XpG();e.R7$(2),e.AVh("no-column-wrapper",(null==t.content.exploreStoriesResults?null:t.content.exploreStoriesResults.value.length)<3),e.R7$(),e.Y8G("ngForOf",null==t.content.exploreStoriesResults?null:t.content.exploreStoriesResults.value)}}function Y5(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-paginator",41),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.goToPage(o))}),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("totalPages",t.content.exploreStoriesPagination.totalPages)("currentPage",t.content.exploreStoriesPagination.page)}}function X5(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",42)(1,"div",43)(2,"div",44),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeModal())}),e.k0s()(),e.j41(3,"div",45),e.nrm(4,"div",46),e.nI1(5,"videoPlayer"),e.k0s(),e.j41(6,"button",47),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeModal())}),e.EFF(7,"Close"),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(2),e.BMQ("data-videourl",t.video),e.R7$(2),e.Y8G("innerHTML",e.bMT(5,3,t.video),e.npT),e.R7$(2),e.BMQ("data-videourl",t.video)}}function B5(n,r){1&n&&(e.j41(0,"div",48),e.EFF(1,"Sorry, we couldn't find any results for your search criteria. Please try again."),e.k0s())}let mr=(()=>{class n{constructor(t,i,o,a,s,c,d,C,T){this.filtersService=t,this.refreshService=i,this.store=o,this.cdr=a,this.renderer=s,this.el=c,this.platformId=d,this.scrollToService=C,this.urlService=T,this.name="exploreStoriesFilters",this.ngUnsubscribe=new re.B,this.filteredBy$=(0,q.of)([]),this.video=null,this.activeCategory=null,this.activeParent=null,this.isServer=!0,this.filtersService.store=this.store,this.filtersService.urlService=this.urlService}ngOnInit(){this.isServer=(0,l.Vy)(this.platformId),this.filtersService.firstLevelFilters={filters:[{name:null,subFilters:{name:this.name,filters:this.content.exploreStoriesFilters}}]},this.filteredBy$=this.filtersService.getFilters(!0).pipe((0,ie.Q)(this.ngUnsubscribe)),this.currentPath$=this.store.pipe((0,u.Lt)(h.Ti),(0,ie.Q)(this.ngUnsubscribe)),this.currentPath$.pipe((0,W.p)(t=>!!t&&!!t.parameters)).subscribe(t=>this.setCurrentUrl(t)),this.urlService.getPageFromCurrentPath().then(t=>this.submit(t))}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this.filtersService.clearFilters(),this.activeCategory=null,this.activeParent=null}ngOnChanges(t){(0,l.UE)(this.platformId)&&t.content?.currentValue!==t.content?.previousValue&&!(0,$e.A)(t)&&(this.content.exploreStoriesResults.value=[])}selectAllFilters(t){return 1===t?(this.activeCategory=null,this.filtersService.deleteFiltersByLevel(1)):this.filtersService.deleteFiltersByParent(this.activeParent),this.submit()}selectAllFiltersKey(t,i){if("Enter"===i.key)return this.selectAllFilters(t)}selectFilter(t,i){return 1===i&&(this.activeCategory=t.key,this.activeParent=t.value),this.filtersService.setFilter(this.name,t,i),this.submit()}selectFilterKey(t,i,o){if("Enter"===o.key)return this.selectFilter(t,i)}deselectFilter(t,i){return 1===i&&(this.activeCategory=null,this.activeParent=null),this.filtersService.deleteFilter(this.name,t.key),this.filtersService.deleteFiltersByParent(t.value),this.submit()}deselectFilterKey(t,i,o){if("Enter"===o.key)return this.deselectFilter(t,i)}goToPage(t=0){this.scrollToService.scrollToTheElementById("explore-stories-filter-results",this.el),this.submit(t)}submit(){var t=this;return(0,_.A)(function*(i=null){const o=t.filtersService.getHttpFilters();let a=new F.Nl,s=new F.Nl;(o.getAll(t.name)||[]).forEach(c=>{if(t.content.exploreStoriesFilters.filter(d=>d.key===c).length<1)return s=s.append("filters",c),void(a=a.append(t.name,c));t.hasActiveSubFilters(c)||(s=s.append("filters",c),a=a.append(t.name,c))}),null!==i?(a=a.set("page",String(i)),s=s.set("page",String(i))):t.filtersService.clearPageFilter(),yield t.filtersService.addFiltersToUrl(s),t.status={...t.status,params:a},t.refreshService.refreshComponent(t.id,t.position,t.type,t.content,t.status),t.cdr.markForCheck()}).apply(this,arguments)}filterClass(t){return`${t.replace(/\s+/g,"-").toLowerCase()}-button${this.isActiveFilter(t)?" active":""}`}firstLevelFilterClass(t){return`${t.replace(/\s+/g,"-").toLowerCase()}-button${this.isActiveFirstLevelFilter(t)?" active":""}`}isActiveFilter(t){return this.filtersService.isActiveFilter(this.name,t)}isActiveFirstLevelFilter(t){return this.filtersService.isActiveFilter(this.name,t)||this.hasActiveSubFilters(t)}hasActiveSubFilters(t){return(this.content.exploreStoriesFilters.filter(i=>i.key===t).shift().subFilters.filters||[]).map(i=>i.key).filter(i=>(this.filtersService.getHttpFilters().getAll(this.name)||[]).includes(i)).length>0}isThereAnyActiveFilter(){return this.filtersService.getHttpFilters().has(this.name)}isThereActiveFiltersOnLevel(t){return this.filtersService.activeFiltersOnLevel(t,this.activeParent)}videoPlay(t){this.video=t,this.openModal()}
1openModal(){const t=this.el.nativeElement.querySelector("#modal-video");this.renderer.addClass(t,"open-modal")}closeModal(){const t=this.el.nativeElement.querySelector("#modal-video");this.renderer.removeClass(t,"open-modal"),this.video=null}getSubfilters(){const t=this.content.exploreStoriesFilters.filter(i=>i.key===this.activeCategory);return t.length>0?t[0].subFilters.filters:null}setCurrentUrl(t){if((0,l.Vy)(this.platformId))return;const i=k.T.getNormalUrl(t);try{sessionStorage.setItem(M.c.storyPageKey.url,i),sessionStorage.setItem(M.c.storyPageKey.type,"")}catch(o){(0,te.z3)(`Session storage set error: ${o}`)}}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Ve.B),e.rXU(j.W),e.rXU(u.il),e.rXU(e.gRc),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(e.Agw),e.rXU(le.W),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-explore-stories-filter"]],inputs:{content:"content",type:"type",position:"position",id:"id",status:"status"},features:[e.OA$],decls:12,vars:7,consts:[["noContent",""],["id","explore-stories-filter",1,"component","explore-stories-filter","gtm-track-component","regular-font-size"],[1,"explore-stories-filter-header","flex-wrapper","spaced-flex-container","wrapper","x-large-width","x-large-width-padding"],["class","bold-font-weight flex-wrapper flex-align-end",4,"ngIf"],["class","filters","id","explore-stories-filters-wrapper",4,"ngIf"],["id","explore-stories-filter-results"],[4,"ngIf","ngIfElse"],[3,"totalPages","currentPage","goToPage",4,"ngIf"],["id","modal-video",1,"overlay-container","modal-video"],[1,"overlay","modal-overlay","gtm-stop-video",3,"click"],["class","overlay-wrapper",4,"ngIf"],[1,"bold-font-weight","flex-wrapper","flex-align-end"],["id","explore-stories-filters-wrapper",1,"filters"],[1,"filters-container","wrapper","x-large-width","x-large-width-padding"],[1,"filters-header","bold-font-weight","regular-font-size"],[1,"index-filter","wrapper","x-large-width","x-large-width-padding"],["tabindex","0",1,"interactive-outline-button","gtm-trackable",3,"click","keyup"],["class","filter-wrapper",4,"ngFor","ngForOf"],["class","filters-container wrapper x-large-width x-large-width-padding",4,"ngIf"],[1,"filter-wrapper"],["tabindex","0",1,"interactive-outline-button","gtm-trackable",3,"click","keyup","ngClass"],["class","filter-deselect","tabindex","0",3,"click","keyup",4,"ngIf"],["tabindex","0",1,"filter-deselect",3,"click","keyup"],[1,"stories-results"],[1,"stories-results-wrapper","x-large-width","x-large-width-padding"],["class","single-result-story",4,"ngFor","ngForOf"],[1,"single-result-story"],[3,"video-wrapper",4,"ngIf"],[1,"result-content"],[1,"text-element"],[1,"truncated-text",3,"innerHTML"],[3,"href"],[1,"pages-tags"],["class","pages-tag small-font-size",4,"ngFor","ngForOf"],["class","btn-play gtm-play-video",3,"click",4,"ngIf"],["appLazyLoad","",3,"src",4,"ngIf"],["src","assets/images/lseg_default_image.jpg",4,"ngIf"],[1,"btn-play","gtm-play-video",3,"click"],["appLazyLoad","",3,"src"],["src","assets/images/lseg_default_image.jpg"],[1,"pages-tag","small-font-size"],[3,"goToPage","totalPages","currentPage"],[1,"overlay-wrapper"],[1,"close-icon"],[1,"close-overlay","gtm-stop-video",3,"click"],[1,"player-responsive"],[1,"player-content",3,"innerHTML"],[1,"gold-button","gtm-stop-video",3,"click"],[1,"wrapper","x-large-width","x-large-width-padding"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"section",1)(1,"div",2),e.DNE(2,w5,3,1,"h3",3),e.k0s(),e.DNE(3,P5,9,5,"div",4),e.nrm(4,"div",5),e.DNE(5,N5,4,3,"ng-container",6)(6,Y5,1,2,"app-paginator",7),e.k0s(),e.j41(7,"div",8)(8,"div",9),e.bIt("click",function(){return e.eBV(a),e.Njj(o.closeModal())}),e.k0s(),e.DNE(9,X5,8,5,"div",10),e.k0s(),e.DNE(10,B5,2,0,"ng-template",null,0,e.C5r)}if(2&i){const a=e.sdS(11);e.R7$(2),e.Y8G("ngIf",o.content.exploreStoriesTitle.visibility),e.R7$(),e.Y8G("ngIf",o.content.exploreStoriesFilters.length),e.R7$(2),e.Y8G("ngIf",(null==o.content.exploreStoriesResults?null:o.content.exploreStoriesResults.value)&&(null==o.content.exploreStoriesResults?null:o.content.exploreStoriesResults.value.length))("ngIfElse",a),e.R7$(),e.Y8G("ngIf",null==o.content.exploreStoriesResults?null:o.content.exploreStoriesResults.value),e.R7$(2),e.BMQ("data-videourl",o.video),e.R7$(),e.Y8G("ngIf",o.video)}},dependencies:[l.YU,l.Sq,l.bT,Y.S,ue,be.$,ct.nV],styles:['.explore-stories-filter[_ngcontent-%COMP%]{padding-top:1.5rem}.stories-results[_ngcontent-%COMP%]{background:#fafafa;padding-top:1.5rem}.stories-results-wrapper[_ngcontent-%COMP%]{column-count:3;column-gap:1.5rem;margin:0 auto;padding-bottom:1.5rem}@media (max-width: 1023px){.stories-results-wrapper[_ngcontent-%COMP%]{column-count:2}}@media (max-width: 480px){.stories-results-wrapper[_ngcontent-%COMP%]{column-count:1;column-gap:0}}.no-column-wrapper[_ngcontent-%COMP%]{column-gap:0;columns:unset;display:flex;flex-wrap:wrap}@media (max-width: 480px){.no-column-wrapper[_ngcontent-%COMP%]{display:block}}.no-column-wrapper[_ngcontent-%COMP%] .single-result-story[_ngcontent-%COMP%]{margin-right:1.5rem;width:calc((100% - 3rem) / 3)}@media (max-width: 1023px){.no-column-wrapper[_ngcontent-%COMP%] .single-result-story[_ngcontent-%COMP%]{width:calc((100% - 1.5rem)/2)}}@media (max-width: 480px){.no-column-wrapper[_ngcontent-%COMP%] .single-result-story[_ngcontent-%COMP%]{margin-right:0;width:100%}}.no-column-wrapper[_ngcontent-%COMP%] .single-result-story[_ngcontent-%COMP%]:last-child{margin-right:0}.single-result-story[_ngcontent-%COMP%]{break-inside:avoid;margin:0 0 1rem;page-break-inside:avoid}figure[_ngcontent-%COMP%]{background-color:#fafafa;margin:0;position:relative}figure[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:auto;width:100%}figure.video-wrapper[_ngcontent-%COMP%]:before{background-color:#0000004d;content:"";display:block;inset:0;position:absolute}.result-content[_ngcontent-%COMP%]{background:#fff;padding:1.5rem}.result-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{overflow:hidden;overflow-wrap:break-word;word-break:break-word}h5[_ngcontent-%COMP%]{margin-bottom:1rem}a[_ngcontent-%COMP%]{display:inline-block;margin:.5rem 0 1rem}.btn-play[_ngcontent-%COMP%]{align-items:center;background-color:#000c;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;height:4.5rem;justify-content:center;left:calc(50% - 2.25rem);position:absolute;text-align:center;top:calc(50% - 2.25rem);width:4.5rem}.btn-play[_ngcontent-%COMP%]:before{background-image:url(assets/static/play.svg);background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:8rem;left:.25rem;position:relative;top:.75rem;transform:scale(.5);width:8rem}.text-element[_ngcontent-%COMP%]{height:14rem;margin-bottom:.5rem;overflow:hidden;position:relative;width:100%}.text-element[_ngcontent-%COMP%]:after{background:linear-gradient(to bottom,#fff0,#fff 75% 100%);bottom:0;content:"";display:block;height:2rem;left:0;position:absolute;right:0}'],changeDetection:0})}}return n})();
1const ft=Q()?Q():Lt,V5={datePickerInput:"DD.MM.YY",monthYearLabel:{year:"numeric",month:"short"}};let _r=(()=>{class n{constructor(t,i,o,a,s,c){this.filtersService=t,this.store=i,this.refreshService=o,this.cd=a,this.urlService=s,this.elementRef=c,this.classes="x-small-width calendar-item-sidebar",this.currentDate=new Date,this.dates=[],this.fetchedDates=[],this.ngUnsubscribe=new re.B,this.clicks=new re.B,this.calDomWaitTimer=200,this.filtersService.store=this.store,this.filtersService.urlService=this.urlService,this.visibleMonthChanged(this.currentDate)}ngOnInit(){this.dates=this.content.calendarWidgetItems.value,this.status={...this.status,params:this.filtersService.getHttpFilters()},this.store.pipe((0,u.Lt)(h.Ti),(0,W.p)(t=>!!t&&!!t.parameters),(0,ie.Q)(this.ngUnsubscribe)).subscribe(t=>{if(t.parameters.has("startdate")){const i=new ft(t.parameters.get("startdate"),"YYYYMMDD");this.currentDate=i.toDate()}else this.currentDate=new Date;this.fetchedDates.push(new ft(this.currentDate).format("YYYYMM")),this.cd.markForCheck()}),this.clicks.pipe((0,Xt.B)(500),(0,ie.Q)(this.ngUnsubscribe)).subscribe(t=>this.fetchDates(t)),this.showEvents(this.dates)}ngOnChanges(t){t.content?.currentValue!==t.content?.previousValue&&(void 0!==t.content?.currentValue.calendarWidgetItems.value&&this.dates.push(...t.content?.currentValue.calendarWidgetItems.value),this.showEvents(t.content?.currentValue.calendarWidgetItems.value),this.refreshService.setComponentStatus(this.id,this.position,{...this.status}),this.cd.detectChanges())}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}sendSelectedDate(){var t=this;return(0,_.A)(function*(){if(t.filtersService.clearFilters(),!t.currentDate)return;const i=new ft(t.currentDate).format("YYYYMMDD");t.filtersService.setFilter("startdate",{key:i,value:i}),yield t.submit()})()}submit(){var t=this;return(0,_.A)(function*(){t.filtersService.clearPageFilter();const i=t.filtersService.getHttpFilters();yield t.filtersService.addFiltersToUrl(),t.status={...t.status,params:i},t.refreshService.setComponentStatus(t.id,t.position,t.status)})()}fetchDates(t){this.fetchedDates.push(t);const i=new ft(t,"YYYYMM").daysInMonth(),o=(new F.Nl).set("startdate",`${t}01`).set("enddate",`${t}${i}`);this.status={...this.status,params:o},this.refreshService.refreshComponent(this.id,this.position,this.type,this.content,this.status),this.cd.detectChanges()}visibleMonthChanged(t){this.currentMonth=new ft(t).format("YYYYMM")}onClick(){this.triggerValueChange(),this.fetchedDates.includes(this.currentMonth)||this.clicks.next(this.currentMonth),this.showEvents(this.dates)}triggerValueChange(){const t=this.elementRef.nativeElement.querySelector("div.owl-dt-calendar-control-content span.owl-dt-control-content.owl-dt-control-button-content").textContent||(new Date).getFullYear(),o=new Date(t).setDate((new Date).getDate());this.visibleMonthChanged(o)}showEvents(t){t.filter(o=>o.includes(this.currentMonth)).map(o=>{const a=this.elementRef.nativeElement.querySelector(`td.owl-dt-calendar-cell[data-format-date="${o}"] .owl-dt-calendar-event`);if(a)a.hidden=!1;else{const s=setTimeout(()=>{const c=this.elementRef.nativeElement.querySelector(`td.owl-dt-calendar-cell[aria-label="${new ft(o).format("M/D/YYYY")}"]`);c&&c.innerHTML&&!c.innerHTML.match("owl-dt-calendar-event")&&c.appendChild((new DOMParser).parseFromString('<span class="owl-dt-calendar-event"></span>',"text/html").querySelector("span")),clearTimeout(s)},this.calDomWaitTimer)}})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Ve.B),e.rXU(u.il),e.rXU(j.W),e.rXU(e.gRc),e.rXU(k.T),e.rXU(e.aKT))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-calendar-widget"]],hostVars:2,hostBindings:function(i,o){2&i&&e.HbH(o.classes)},inputs:{content:"content",type:"type",position:"position",id:"id",status:"status"},features:[e.Jv_([{provide:je.fJ,useValue:V5}]),e.OA$],decls:2,vars:3,consts:[["id","calendar-widget",1,"full-width","calendar-widget","gtm-track-component"],["ngDefaultControl","",3,"ngModelChange","click","pickerMomentSelected","pickerType","selectMode","ngModel"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"owl-date-time-inline",1),e.mxI("ngModelChange",function(s){return e.DH7(o.currentDate,s)||(o.currentDate=s),s}
1),e.bIt("ngModelChange",function(){return o.sendSelectedDate()})("click",function(){return o.onClick()})("pickerMomentSelected",function(s){return o.visibleMonthChanged(s)}),e.k0s()()),2&i&&(e.R7$(),e.Y8G("pickerType","calendar")("selectMode","single"),e.R50("ngModel",o.currentDate))},dependencies:[g.me,g.BC,g.vS,je.gt],styles:[".calendar-widget[_ngcontent-%COMP%]{margin-top:1rem;padding-bottom:1.125rem}@media (max-width: 1144px){.calendar-widget[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:0;padding-bottom:2rem}}"],changeDetection:0})}}return n})();function L5(n,r){if(1&n&&(e.j41(0,"h2",9),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.content.tpTitle.value)}}function A5(n,r){if(1&n&&(e.j41(0,"div",10),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.content.tpText.value)}}function q5(n,r){if(1&n&&(e.j41(0,"a",13),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("href",t.content.tpButton.value.url,e.B4B)("title",t.content.tpButton.value.label)("target",t.content.tpButton.value.target),e.R7$(),e.JRh(t.content.tpButton.value.label)}}function U5(n,r){if(1&n&&(e.j41(0,"div",11),e.DNE(1,q5,2,4,"a",12),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.content.tpButton.value&&t.content.tpButton.value.url)}}function z5(n,r){if(1&n&&e.nrm(0,"span"),2&n){const t=e.XpG().$implicit;e.HbH(t.promoIcon)}}function H5(n,r){if(1&n&&(e.j41(0,"h3",21),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.promoTitle)}}function W5(n,r){if(1&n&&(e.j41(0,"div",22),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.promoText)}}function J5(n,r){if(1&n&&(e.j41(0,"a",16)(1,"div",17),e.DNE(2,z5,1,2,"span",18)(3,H5,2,1,"h3",19),e.k0s(),e.DNE(4,W5,2,1,"div",20),e.k0s()),2&n){const t=r.$implicit;e.Y8G("href",t.promoLink,e.B4B),e.R7$(2),e.Y8G("ngIf",t.promoIcon),e.R7$(),e.Y8G("ngIf",t.promoTitle),e.R7$(),e.Y8G("ngIf",t.promoText)}}function K5(n,r){if(1&n&&(e.j41(0,"div",14),e.DNE(1,J5,5,4,"a",15),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.content.tpPromos.value)}}let dr=(()=>{class n{constructor(){}ngOnInit(){}bgStyle(t){return t?{"background-image":`url(${t})`}:null}canLoad(t){return this.canLoads=t,t}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-track-portfolio"]],inputs:{content:"content"},decls:9,vars:7,consts:[["id","track-portfolio",1,"track-portfolio","component","gtm-track-component"],[1,"wrapper","x-large-width","x-large-width-padding"],["appLazyBgImgLoad","",1,"track-portfolio-wrapper",3,"canLoad","ngStyle"],[1,"flex-wrapper","spaced-flex-container","flex-align-center"],[1,"track-portfolio-content"],["class","track-portfolio-title",4,"ngIf"],["class","track-portfolio-text regular-font-size",4,"ngIf"],["class","track-portfolio-button",4,"ngIf"],["class","track-portfolio-promos",4,"ngIf"],[1,"track-portfolio-title"],[1,"track-portfolio-text","regular-font-size"],[1,"track-portfolio-button"],["class","gold-button bold-font-weight regular-font-size",3,"href","title","target",4,"ngIf"],[1,"gold-button","bold-font-weight","regular-font-size",3,"href","title","target"],[1,"track-portfolio-promos"],["class","track-portfolio-promo black-link",3,"href",4,"ngFor","ngForOf"],[1,"track-portfolio-promo","black-link",3,"href"],[1,"promo-link","blue-text","mobile-flex-container","flex-align-center"],[3,"class",4,"ngIf"],["class","promo-title regular-font-size blue-text",4,"ngIf"],["class","promo-text small-font-size",4,"ngIf"],[1,"promo-title","regular-font-size","blue-text"],[1,"promo-text","small-font-size"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"div",1)(2,"div",2),e.bIt("canLoad",function(s){return o.canLoad(s)}),e.j41(3,"div",3)(4,"div",4),e.DNE(5,L5,2,1,"h2",5)(6,A5,2,1,"div",6)(7,U5,2,1,"div",7),e.k0s(),e.DNE(8,K5,2,1,"div",8),e.k0s()()()()),2&i&&(e.AVh("m-64","1"===(null==o.content.uxPadding?null:o.content.uxPadding.value)),e.R7$(2),e.Y8G("ngStyle",o.canLoads?o.bgStyle(o.content.tpBackground.value):null),e.R7$(3),e.Y8G("ngIf",o.content.tpTitle.value),e.R7$(),e.Y8G("ngIf",o.content.tpText.value),e.R7$(),e.Y8G("ngIf",o.content.tpButton.value),e.R7$(),e.Y8G("ngIf",o.content.tpPromos.value&&o.content.tpPromos.value.length))},dependencies:[l.Sq,l.bT,l.B3,D.W],styles:['.track-portfolio-wrapper[_ngcontent-%COMP%]{background-color:#4d4d4d;background-position:center center;background-repeat:no-repeat;background-size:cover;content:"";min-height:25rem;padding:0 2.75rem;position:relative}@media (max-width: 1144px){.track-portfolio-wrapper[_ngcontent-%COMP%]{padding:0 1.5rem}}@media (max-width: 480px){.track-portfolio-wrapper[_ngcontent-%COMP%]{padding:2.5rem 1.5rem}}.track-portfolio-wrapper[_ngcontent-%COMP%]:before{background-color:#0006;content:"";display:block;inset:0;position:absolute;z-index:1}.track-portfolio-content[_ngcontent-%COMP%]{max-width:36rem;padding:1.5rem 0 .5rem;position:relative;width:100%;z-index:2}@media (max-width: 1144px){.track-portfolio-content[_ngcontent-%COMP%]{width:57.5%}}@media (max-width: 480px){.track-portfolio-content[_ngcontent-%COMP%]{max-width:100%;width:100%}}.track-portfolio-title[_ngcontent-%COMP%], .track-portfolio-text[_ngcontent-%COMP%]{color:#fff;margin-bottom:1.5rem}.track-portfolio-promos[_ngcontent-%COMP%]{max-width:25rem;position:relative;z-index:2}@media (max-width: 1144px){.track-portfolio-promos[_ngcontent-%COMP%]{width:40%}}@media (max-width: 480px){.track-portfolio-promos[_ngcontent-%COMP%]{max-width:100%;width:100%}}.track-portfolio-promo[_ngcontent-%COMP%]{background-color:#fff;display:block;margin:1rem 0 1rem auto;max-width:18rem;padding:1.5rem;width:100%}@media (max-width: 480px){.track-portfolio-promo[_ngcontent-%COMP%]{max-width:100%}}.track-portfolio-promo[_ngcontent-%COMP%]:hover{text-decoration:none}.promo-link[_ngcontent-%COMP%]{margin-bottom:1.5rem;padding-right:2rem;position:relative}.promo-link[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{height:1.85rem}.promo-link[_ngcontent-%COMP%] .promo-title[_ngcontent-%COMP%]{margin-bottom:0}.promo-link[_ngcontent-%COMP%]:after{background-image:url(assets/static/label_arrow.svg);background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:1.85rem;margin-top:-.975rem;position:absolute;right:-1rem;top:50%;transform:scale(.5);width:1.85rem}'],changeDetection:0})}}return n})();const ot=n=>({errorText:n});function Q5(n,r){if(1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2),e.nI1(3,"customdate"),e.nI1(4,"customdate"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.Lme("",e.brH(3,2,t.receiveddate.value,"short","Europe/London")," - ",e.brH(4,6,t.receiveddate.value,"time","Europe/London"),"")}}function Z5(n,r){if(1&n&&(e.qex(0),e.DNE(1,Q5,5,10,"ng-container",31),e.eu8(2,32),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);
1const i=e.sdS(21);e.R7$(),e.Y8G("ngIf",!t.receiveddate.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ot,t.receiveddate.errorText))}}function eD(n,r){if(1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2),e.nI1(3,"customnumber"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.JRh(e.brH(3,1,t.shares.value,"",0))}}function tD(n,r){if(1&n&&(e.qex(0),e.DNE(1,eD,4,5,"ng-container",31),e.eu8(2,32),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(21);e.R7$(),e.Y8G("ngIf",!t.shares.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ot,t.shares.errorText))}}function nD(n,r){if(1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2),e.nI1(3,"customnumber"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.JRh(e.brH(3,1,t.turnover.value,"",0))}}function iD(n,r){if(1&n&&(e.qex(0),e.DNE(1,nD,4,5,"ng-container",31),e.eu8(2,32),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(21);e.R7$(),e.Y8G("ngIf",!t.turnover.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ot,t.turnover.errorText))}}function oD(n,r){if(1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2),e.nI1(3,"customnumber"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.JRh(e.brH(3,1,t.trades.value,"",0))}}function rD(n,r){if(1&n&&(e.qex(0),e.DNE(1,oD,4,5,"ng-container",31),e.eu8(2,32),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(21);e.R7$(),e.Y8G("ngIf",!t.trades.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ot,t.trades.errorText))}}function aD(n,r){if(1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.JRh(t.tradedstocks.value)}}function sD(n,r){if(1&n&&(e.qex(0),e.DNE(1,aD,3,1,"ng-container",31),e.eu8(2,32),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(21);e.R7$(),e.Y8G("ngIf",!t.tradedstocks.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ot,t.tradedstocks.errorText))}}function lD(n,r){if(1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.JRh(t.advancedstocks.value)}}function cD(n,r){if(1&n&&(e.qex(0),e.DNE(1,lD,3,1,"ng-container",31),e.eu8(2,32),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(21);e.R7$(),e.Y8G("ngIf",!t.advancedstocks.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ot,t.advancedstocks.errorText))}}function pD(n,r){if(1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.JRh(t.declinedstocks.value)}}function mD(n,r){if(1&n&&(e.qex(0),e.DNE(1,pD,3,1,"ng-container",31),e.eu8(2,32),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(21);e.R7$(),e.Y8G("ngIf",!t.declinedstocks.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ot,t.declinedstocks.errorText))}}function _D(n,r){if(1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.JRh(t.unchangedstocks.value)}}function dD(n,r){if(1&n&&(e.qex(0),e.DNE(1,_D,3,1,"ng-container",31),e.eu8(2,32),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(21);e.R7$(),e.Y8G("ngIf",!t.unchangedstocks.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,ot,t.unchangedstocks.errorText))}}function uD(n,r){if(1&n&&(e.j41(0,"tr",21)(1,"td",22),e.DNE(2,Z5,3,5,"ng-container",23),e.k0s(),e.j41(3,"td",24),e.DNE(4,tD,3,5,"ng-container",23),e.k0s(),e.j41(5,"td",25),e.DNE(6,iD,3,5,"ng-container",23),e.k0s(),e.j41(7,"td",26),e.DNE(8,rD,3,5,"ng-container",23),e.k0s(),e.j41(9,"td",27),e.DNE(10,sD,3,5,"ng-container",23),e.k0s(),e.j41(11,"td",28),e.DNE(12,cD,3,5,"ng-container",23),e.k0s(),e.j41(13,"td",29),e.DNE(14,mD,3,5,"ng-container",23),e.k0s(),e.j41(15,"td",30),e.DNE(16,dD,3,5,"ng-container",23),e.k0s()()),2&n){const t=r.$implicit;e.XpG(2);const i=e.sdS(23);e.R7$(2),e.Y8G("ngIf",t.receiveddate.visibility)("ngIfElse",i),e.R7$(2),e.Y8G("ngIf",t.shares.visibility)("ngIfElse",i),e.R7$(2),e.Y8G("ngIf",t.turnover.visibility)("ngIfElse",i),e.R7$(2),e.Y8G("ngIf",t.trades.visibility)("ngIfElse",i),e.R7$(2),e.Y8G("ngIf",t.tradedstocks.visibility)("ngIfElse",i),e.R7$(2),e.Y8G("ngIf",t.advancedstocks.visibility)("ngIfElse",i),e.R7$(2),e.Y8G("ngIf",t.declinedstocks.visibility)("ngIfElse",i),e.R7$(2),e.Y8G("ngIf",t.unchangedstocks.visibility)("ngIfElse",i)}}function gD(n,r){if(1&n&&(e.j41(0,"table",10)(1,"thead")(2,"tr",11)(3,"th",12),e.EFF(4),e.k0s(),e.j41(5,"th",13),e.EFF(6),e.k0s(),e.j41(7,"th",14),e.EFF(8),e.k0s(),e.j41(9,"th",15),e.EFF(10),e.k0s(),e.j41(11,"th",16),e.EFF(12),e.k0s(),e.j41(13,"th",17),e.EFF(14),e.k0s(),e.j41(15,"th",18),e.EFF(16),e.k0s(),e.j41(17,"th",19),e.EFF(18),e.k0s()()(),e.j41(19,"tbody"),e.DNE(20,uD,17,16,"tr",20),e.nI1(21,"slice"),e.k0s()()),2&n){const t=r.$implicit,i=e.XpG();e.R7$(4),e.SpI(" ",t.receiveddate.label," "),e.R7$(2),e.SpI(" ",t.shares.label," "),e.R7$(2),e.SpI(" ",t.turnover.label," "),e.R7$(2),e.SpI(" ",t.trades.label," "),e.R7$(2),e.SpI(" ",t.tradedstocks.label," "),e.R7$(2),e.SpI(" ",t.advancedstocks.label," "),e.R7$(2),e.SpI(" ",t.declinedstocks.label," "),e.R7$(2),e.SpI(" ",t.unchangedstocks.label," "),e.R7$(2),e.Y8G("ngForOf",e.brH(21,9,i.content.orderBookTrading,0,5))}}function hD(n,r){if(1&n&&e.nrm(0,"app-hide-field",34),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function fD(n,r){1&n&&e.DNE(0,hD,1,1,"app-hide-field",33),2&n&&e.Y8G("ngIf",r.errorText)}function vD(n,r){if(1&n&&e.EFF(0),2&n){const t=e.XpG();e.JRh(t.defaultFieldValue)}}let ur=(()=>{class n{constructor(){this.defaultFieldValue=w.M.DEFAULT_VALUE}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-order-book-trading"]],inputs:{content:"content",status:"status"},decls:24,vars:19,consts:[["emptyvalue",""],["invisibleField",""],["id","order-book-trading",1,"order-book-trading","component","gtm-track-component"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"large-font-size","news-title","bold-font-weight"],[1,"table-wrapper"],["class","full-width orders",4,"ngFor","ngForOf"],[1,"delay"],[1,"small-font-size"],[1,"bold-font-weight"],[1,"full-width","orders"],[1,"table-header"],[1,"date"],[1,"shares"],[1,"turnover"],[1,"trades"],[1,"tradedstocks"],[1,"advancedstocks"],[1,"declinedstocks"],[1,"unchangedstocks"],["class","medium-font-we
1ight slide-panel",4,"ngFor","ngForOf"],[1,"medium-font-weight","slide-panel"],[1,"order-date"],[4,"ngIf","ngIfElse"],[1,"order-shares"],[1,"order-turnover"],[1,"order-trades"],[1,"order-tradedstocks"],[1,"order-advancedstocks"],[1,"order-declinedstocks"],[1,"order-unchangedstocks"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"section",2)(1,"div",3)(2,"h1",4),e.EFF(3),e.k0s(),e.j41(4,"p"),e.EFF(5),e.k0s(),e.j41(6,"p")(7,"strong"),e.EFF(8),e.k0s()(),e.j41(9,"div",5),e.DNE(10,gD,22,13,"table",6),e.nI1(11,"slice"),e.k0s(),e.j41(12,"div",7)(13,"div",8),e.EFF(14," As at "),e.j41(15,"span",9),e.EFF(16),e.nI1(17,"customdate"),e.nI1(18,"customdate"),e.k0s(),e.EFF(19),e.k0s()()()(),e.DNE(20,fD,1,1,"ng-template",null,0,e.C5r)(22,vD,1,1,"ng-template",null,1,e.C5r)),2&i&&(e.R7$(3),e.SpI(" ",o.content.orderBookTradingTitle.value," "),e.R7$(2),e.SpI(" ",o.content.orderBookTradingSummary.value," "),e.R7$(3),e.JRh(o.content.orderBookTradingTableText.value),e.R7$(2),e.Y8G("ngForOf",e.brH(11,7,o.content.orderBookTrading,0,1)),e.R7$(6),e.Lme("",e.i5U(17,11,o.status.refreshedTime,"short")," ",e.ii3(18,14,o.status.refreshedTime,"time","Europe/London",!0),""),e.R7$(3),e.SpI(" - ",o.content.orderBookTradingDateDelayMessage.value," "))},dependencies:[l.Sq,l.bT,l.T3,y.W,l.P9,ee.p,U.W],styles:[".order-book-trading[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:3rem;width:100%}.table-wrapper[_ngcontent-%COMP%]{margin-bottom:2.5rem}@media (max-width: 1023px){.table-wrapper[_ngcontent-%COMP%]{overflow-x:scroll}}table[_ngcontent-%COMP%]{min-width:62rem}tr[_ngcontent-%COMP%]{position:relative}@media (max-width: 768px){tr[_ngcontent-%COMP%]{padding-left:10.5rem}}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{width:10.5rem}@media (max-width: 768px){tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{left:auto;position:absolute;z-index:1}}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%], tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-bottom:.5rem;padding-top:.5rem}@media (max-width: 768px){tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%], tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{left:10.5rem;position:relative}}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{background:#fff}tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#fafafa;border-top-width:.125rem;height:3.875rem!important}tr[_ngcontent-%COMP%] .tradedstocks[_ngcontent-%COMP%], tr[_ngcontent-%COMP%] .advancedstocks[_ngcontent-%COMP%], tr[_ngcontent-%COMP%] .declinedstocks[_ngcontent-%COMP%], tr[_ngcontent-%COMP%] .unchangedstocks[_ngcontent-%COMP%]{width:7rem}td.order-date[_ngcontent-%COMP%]{align-items:center;display:flex}"],changeDetection:0})}}return n})();function bD(n,r){if(1&n&&(e.j41(0,"div",10)(1,"h3",11),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.content.reportsFilterToggleTitle.value," ")}}function CD(n,r){if(1&n){const t=e.RV6();e.j41(0,"li",12),e.bIt("click",function(o){const a=e.eBV(t).index,s=e.XpG(2);return e.Njj(s.setFirstLevelFilter(a,o))}),e.EFF(1),e.k0s()}if(2&n){const t=r.$implicit,i=r.index,o=e.XpG(2);e.AVh("active",i===o.activeFirstLevel),e.R7$(),e.SpI(" ",t.label," ")}}function TD(n,r){if(1&n&&(e.j41(0,"a",15),e.nI1(1,"async"),e.EFF(2),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.AVh("active",i.isTabActive(t.tabId,t.uri)),e.FS9("href",e.bMT(1,5,i.getTabUriLink(t)),e.B4B),e.FS9("target",1===t.type?"_blank":"_self"),e.R7$(2),e.SpI(" ",t.label," ")}}function xD(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",16),e.nI1(1,"async"),e.bIt("click",function(o){e.eBV(t);const a=e.XpG().$implicit,s=e.XpG(2);return e.Njj(s.setTabActive(a,o))}),e.EFF(2),e.k0s()}if(2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.AVh("active",i.isTabActive(t.tabId,t.uri)),e.FS9("href",e.bMT(1,4,i.getTabLink(t)),e.B4B),e.R7$(2),e.SpI(" ",t.label," ")}}function kD(n,r){if(1&n&&(e.j41(0,"li"),e.DNE(1,TD,3,7,"a",13)(2,xD,3,6,"a",14),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",1===t.type||0===t.type&&t.uri),e.R7$(),e.Y8G("ngIf",0===t.type&&t.modules)}}function yD(n,r){if(1&n){const t=e.RV6();e.j41(0,"section",2),e.bIt("refreshComponentTab",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.initDefaultParams(o))}),e.j41(1,"div",3),e.DNE(2,bD,3,1,"div",4),e.j41(3,"div",5)(4,"ul",6),e.DNE(5,CD,2,3,"li",7),e.k0s()()(),e.j41(6,"div",8),e.
1EFF(7),e.k0s(),e.j41(8,"div",9)(9,"div",5)(10,"ul",6),e.DNE(11,kD,3,2,"li",1),e.k0s()()()()}if(2&n){const t=e.XpG();e.AVh("m-64","1"===t.content.uxPadding.value),e.Y8G("typeOfComponent",t.type)("togglesList",t.content.reportsFilterToggleFilters),e.R7$(2),e.Y8G("ngIf",null==t.content.reportsFilterToggleTitle?null:t.content.reportsFilterToggleTitle.value),e.R7$(3),e.Y8G("ngForOf",t.content.reportsFilterToggleFilters),e.R7$(2),e.SpI(" ",null==t.content.reportsFilterToggleSelectOrSearchLabel?null:t.content.reportsFilterToggleSelectOrSearchLabel.value," "),e.R7$(4),e.Y8G("ngForOf",t.content.reportsFilterToggleFilters[t.activeFirstLevel].subFilters)}}function wD(n,r){if(1&n&&(e.qex(0),e.nrm(1,"ndc-dynamic",17),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ndcDynamicComponent",t.ngComponent)("ndcDynamicInputs",t)}}let gr=(()=>{class n extends bo.R{constructor(t,i,o,a){super(),this.store=t,this.refreshService=i,this.urlService=o,this.pageTitleService=a,this.activeFirstLevel=0}ngOnInit(){super.setId(this.id),super.setPosition(this.position),super.setStatus(this.status),super.setStore(this.store),super.setRefreshService(this.refreshService),super.setUrlService(this.urlService),this.initDefaultParams()}initDefaultParams(t){var i=()=>super.toggleBaseInit,o=this;return(0,_.A)(function*(){const a=t||(yield o.urlService.getCurrentPath().toPromise());let s=0;if(a.parameters.has("tab")){const c=a.parameters.get("tab");for(let d=0;d<o.content.reportsFilterToggleFilters.length;d++)if(o.content.reportsFilterToggleFilters[d].subFilters.find(I=>I.label.toLowerCase().replace(/\W+/g,"-")===c)){s=d;break}}o.setFirstLevelFilter(s,null,!0),yield i().call(o,a)})()}setFirstSubfilter(t,i){!t||0!==t.type||!t.modules||this.setTabActive(t,i)}setFirstLevelFilter(t,i,o=!1){this.activeFirstLevel=t;const a=this.content.reportsFilterToggleFilters[t],s=a.subFilters;super.setTabs(s),s&&s.length&&(o?this.pageTitleService.dispatchPageTitlePrefix([a.label,s[0].label]):this.setFirstSubfilter(s[0],i))}setTabActive(t,i){this.pageTitleService.dispatchPageTitlePrefix([this.content.reportsFilterToggleFilters[this.activeFirstLevel].label,t.label]),super.setTabnavElementActive(t,i)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(u.il),e.rXU(j.W),e.rXU(k.T),e.rXU(pe.P))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-reports-filter-toggle"]],inputs:{content:"content",id:"id",type:"type",position:"position",status:"status"},features:[e.Vt3],decls:2,vars:2,consts:[["id","filter-toggle","class","filter-toggle component gtm-track-component","appBackBrowserClick","",3,"typeOfComponent","togglesList","m-64","refreshComponentTab",4,"ngIf"],[4,"ngFor","ngForOf"],["id","filter-toggle","appBackBrowserClick","",1,"filter-toggle","component","gtm-track-component",3,"refreshComponentTab","typeOfComponent","togglesList"],[1,"index-filter","first-level"],["class","wrapper title-wrapper x-large-width x-large-width-padding",4,"ngIf"],[1,"filter-wrapper","x-large-width","x-large-width-padding"],[1,"interactive-outline-wrapper"],["class","interactive-outline-button toggle gtm-trackable",3,"active","click",4,"ngFor","ngForOf"],[1,"filters-mid-label","bold-font-weight","regular-font-size","wrapper","x-large-width","x-large-width-padding"],[1,"index-filter","second-level"],[1,"wrapper","title-wrapper","x-large-width","x-large-width-padding"],[1,"index-title","big-font-size","bold-font-weight"],[1,"interactive-outline-button","toggle","gtm-trackable",3,"click"],["class","black-link interactive-outline-button toggle",3,"href","target","active",4,"ngIf"],["class","black-link interactive-outline-button toggle",3,"href","active","click",4,"ngIf"],[1,"black-link","interactive-outline-button","toggle",3,"href","target"],[1,"black-link","interactive-outline-button","toggle",3,"click","href"],[3,"ndcDynamicComponent","ndcDynamicInputs"]],template:function(i,o){1&i&&e.DNE(0,yD,12,8,"section",0)(1,wD,2,2,"ng-container",1),2&i&&(e.Y8G("ngIf",o.content.reportsFilterToggleFilters.length),e.R7$(),e.Y8G("ngForOf",o.status.childComponents))},dependencies:[l.Sq,l.bT,De.T,E.Bf,E.dE,l.Jj],styles:['h3[_ngcontent-%COMP%]{color:#000;margin-bottom:1rem}.filters-mid-label[_ngcontent-%COMP%]{padding-bottom:.5rem;padding-top:.75rem}.filter-toggle[_ngcontent-%COMP%]{padding:0}.filter-wrapper[_ngcontent-%COMP%]{display:block;margin:0 auto}.index-title[_ngcontent-%COMP%]{margin-top:1.125rem}.index-filter[_ngcontent-%COMP%]{border:solid;border-color:#b2b2b2;border-width:0 0 .125rem;padding:.75rem 0 0}.index-filter[_ngcontent-%COMP%] .title-wrapper[_ngcontent-%COMP%]{box-sizing:border-box;overflow:hidden;white-space:normal}@media (max-width: 768px){.index-filter.first-level[_ngcontent-%COMP%] .title-wrapper[_ngcontent-%COMP%]{padding:0 1rem}}.index-filter.second-level[_ngcontent-%COMP%]{padding-top:2.4rem;position:relative}.index-filter.second-level[_ngcontent-%COMP%]:before{border-left:1.2rem solid transparent;border-right:1.2rem solid transparent;border-top:1.2rem solid #ffffff;content:"";display:inline-block;height:0;left:50%;
1margin-left:-.6rem;position:absolute;top:0;width:0}.interactive-outline-wrapper[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:0}.interactive-outline-wrapper[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{list-style:none}.interactive-outline-wrapper[_ngcontent-%COMP%] .interactive-outline-button[_ngcontent-%COMP%]{margin-bottom:.75rem;margin-right:1rem;max-width:100%;overflow:hidden;overflow-wrap:break-word;padding:.75rem;word-break:break-word}.index-summary[_ngcontent-%COMP%]{margin:3rem 0}']})}}return n})();const rt=n=>({value:n,visibility:!0});function ID(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-directory-profile",4),e.bVm()),2&n){const t=r.ngIf,i=e.XpG();e.R7$(),e.Y8G("backToLocation","information-sheets-search")("backToLabel",i.content.isBackLabel.value)("profileLogo",i.remoteLogo)("profileName",i.companyName)("profileCode",e.eq3(23,rt,t.leiCode))("mfisTitle",null==i.content.isInfoTableTitle?null:i.content.isInfoTableTitle.value)("profileSummary",e.eq3(25,rt,t.summary))("profileAddress",e.eq3(27,rt,t.address))("profileAddressIsBold",t.addressIsBold)("profileWebsite",e.eq3(29,rt,t.website))("profileEmail",e.eq3(31,rt,t.email))("profilePhone",e.eq3(33,rt,t.phone))("profilePhone2",e.eq3(35,rt,t.phone2))("profilePhone3",e.eq3(37,rt,t.phone3))("informationLabel",null)("isBroker",!1)("isMarketMaker",!1)("isAimAdviser",!1)("aimAdviserLabel",null)("isMember",i.isMember)("memberLabel",t.memberDirectoryLinkLabel)("contact",null)("firmId",t.firmId)}}function MD(n,r){1&n&&e.eu8(0)}function OD(n,r){1&n&&e.eu8(0)}function RD(n,r){1&n&&e.eu8(0)}function FD(n,r){1&n&&e.eu8(0)}function PD(n,r){1&n&&e.eu8(0)}function GD(n,r){1&n&&e.eu8(0)}function SD(n,r){1&n&&e.eu8(0)}function $D(n,r){if(1&n&&(e.qex(0),e.DNE(1,SD,1,0,"ng-container",11),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(7);e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.notes)}}function ED(n,r){1&n&&(e.qex(0),e.EFF(1,"-"),e.bVm())}function DD(n,r){if(1&n&&(e.qex(0),e.j41(1,"tr",10)(2,"td"),e.DNE(3,MD,1,0,"ng-container",11),e.k0s(),e.j41(4,"td"),e.DNE(5,OD,1,0,"ng-container",11),e.k0s(),e.j41(6,"td"),e.DNE(7,RD,1,0,"ng-container",11),e.k0s(),e.j41(8,"td"),e.DNE(9,FD,1,0,"ng-container",11),e.k0s(),e.j41(10,"td"),e.DNE(11,PD,1,0,"ng-container",11),e.k0s(),e.j41(12,"td"),e.DNE(13,GD,1,0,"ng-container",11),e.k0s(),e.j41(14,"td"),e.DNE(15,$D,2,2,"ng-container",3)(16,ED,2,0,"ng-container",3),e.k0s()(),e.bVm()),2&n){const t=r.$implicit;e.XpG(2);const i=e.sdS(7);e.R7$(3),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.firmCode),e.R7$(2),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.memberId),e.R7$(2),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.memberMnemonic),e.R7$(2),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.crestCode),e.R7$(2),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.euroclearBankCode),e.R7$(2),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.dtcCode),e.R7$(2),e.Y8G("ngIf",t.notes),e.R7$(),e.Y8G("ngIf",!t.notes)}}function jD(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",5)(2,"div",6)(3,"table",7)(4,"thead")(5,"tr",8)(6,"th"),e.EFF(7,"Firm Code"),e.k0s(),e.j41(8,"th"),e.EFF(9,"Member ID"),e.k0s(),e.j41(10,"th"),e.EFF(11,"Member Mnemonic"),e.k0s(),e.j41(12,"th"),e.EFF(13,"CREST Code"),e.k0s(),e.j41(14,"th"),e.EFF(15,"Euroclear Bank Code"),e.k0s(),e.j41(16,"th"),e.EFF(17,"DTC Code"),e.k0s(),e.j41(18,"th"),e.EFF(19,"Notes"),e.k0s()()(),e.j41(20,"tbody"),e.DNE(21,DD,17,14,"ng-container",9),e.k0s()()()(),e.bVm()),2&n){const t=e.XpG();e.R7$(21),e.Y8G("ngForOf",null==t.content.isInfoTable?null:t.content.isInfoTable.value)}}function ND(n,r){if(1&n&&(e.j41(0,"div",16)(1,"h4",17),e.EFF(2,"Issued by"),e.k0s(),e.j41(3,"div"),e.EFF(4),e.k0s()()),2&n){const t=e.XpG().ngIf;e.R7$(4),e.JRh(t.issuedBy)}}function YD(n,r){if(1&n&&(e.j41(0,"div",16)(1,"h4",17),e.EFF(2,"Contact"),e.k0s(),e.j41(3,"div"),e.EFF(4),e.k0s()()),2&n){const t=e.XpG().ngIf;e.R7$(4),e.JRh(t.contact)}}function XD(n,r){if(1&n&&(e.j41(0,"div",16)(1,"h4",17),e.EFF(2,"Issue date"),e.k0s(),e.j41(3,"div"),e.EFF(4),e.nI1(5,"customdate"),e.k0s()()),2&n){const t=e.XpG().ngIf;e.R7$(4),e.JRh(e.i5U(5,1,t.issueDate,"long"))}}function BD(n,r){if(1&n&&(e.j41(0,"div",16)(1,"h4",17),e.EFF(2,"Issue number"),e.k0s(),e.j41(3,"div"),e.EFF(4),e.k0s()()),2&n){const t=e.XpG().ngIf;e.R7$(4),e.JRh(t.issueNumber)}}function VD(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",12)(2,"h3",13),e.EFF(3,"Issue Details"),e.k0s(),e.j41(4,"div",14),e.DNE(
15,ND,5,1,"div",15)(6,YD,5,1,"div",15)(7,XD,6,4,"div",15)(8,BD,5,1,"div",15),e.k0s()(),e.bVm()),2&n){const t=r.ngIf;e.R7$(5),e.Y8G("ngIf",t.issuedBy),e.R7$(),e.Y8G("ngIf",t.contact),e.R7$(),e.Y8G("ngIf",t.issueDate),e.R7$(),e.Y8G("ngIf",t.issueNumber)}}function LD(n,r){if(1&n&&(e.j41(0,"div",22),e.nrm(1,"a",23),e.j41(2,"div",24)(3,"div",25)(4,"a",26),e.EFF(5),e.k0s()()()()),2&n){const t=e.XpG().ngIf;e.R7$(),e.Y8G("href",t.firmCodesLink,e.B4B),e.R7$(3),e.Y8G("href",t.firmCodesLink,e.B4B),e.R7$(),e.JRh(t.firmCodesLabel)}}function AD(n,r){if(1&n&&(e.j41(0,"div",22),e.nrm(1,"a",23),e.j41(2,"div",24)(3,"div",25)(4,"a",26),e.EFF(5),e.k0s()()()()),2&n){const t=e.XpG().ngIf;e.R7$(),e.Y8G("href",t.firmDerivativesLink,e.B4B),e.R7$(3),e.Y8G("href",t.firmDerivativesLink,e.B4B),e.R7$(),e.JRh(t.firmDerivativesLabel)}}function qD(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",18)(2,"h3",19),e.EFF(3),e.k0s(),e.j41(4,"div",20),e.DNE(5,LD,6,3,"div",21)(6,AD,6,3,"div",21),e.k0s()(),e.bVm()),2&n){const t=r.ngIf,i=e.XpG();e.R7$(3),e.JRh(i.content.isDownloadLabel.value),e.R7$(2),e.Y8G("ngIf",t.firmCodesLink&&t.firmCodesLabel),e.R7$(),e.Y8G("ngIf",t.firmDerivativesLink&&t.firmDerivativesLabel)}}function UD(n,r){if(1&n&&(e.j41(0,"strong"),e.EFF(1),e.k0s()),2&n){const t=e.XpG().value;e.R7$(),e.JRh(t)}}function zD(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG().value;e.R7$(),e.JRh(t)}}function HD(n,r){if(1&n&&e.DNE(0,UD,2,1,"strong",3)(1,zD,2,1,"span",3),2&n){const t=r.value,i=r.bold;e.Y8G("ngIf",i&&t),e.R7$(),e.Y8G("ngIf",!i&&t)}}let hr=(()=>{class n{constructor(t,i,o,a,s,c,d){this.platformId=t,this.config=i,this.cd=o,this.http=a,this.pageTitleService=s,this.pageHeadersService=c,this.urlService=d,this.isMember=!1}ngOnInit(){this.setCompanyName(),this.setMetaHeader(),(0,l.UE)(this.platformId)&&this.content.isFullProfile.value.firmId&&(this.remoteFirmSubscription=this.http.get(this.config.firm+"/"+this.content.isFullProfile.value.firmId).pipe((0,Ge.W)(t=>((0,te.z3)(t.message||t.error||t),(0,q.of)(t)))).subscribe(t=>{this.remoteLogo={value:t.logo,visibility:!0},this.isMember="Active"===t.status,this.cd.markForCheck()}))}ngOnDestroy(){!(0,l.UE)(this.platformId)||!this.remoteFirmSubscription||this.remoteFirmSubscription.unsubscribe()}setCompanyName(){!this.content.isFullProfile.value||!this.content.isFullProfile.value.companyName||(this.companyName={value:this.content.isFullProfile.value.companyName.value||"",visibility:!0})}setMetaHeader(){var t=this;return(0,_.A)(function*(){const o=(yield t.urlService.getCurrentPath().toPromise()).parameters.get("subpath");t.infoSheetId=o.replace(/(.*?)\//,""),t.dispatchPageTitle(),t.setPageDescription()})()}dispatchPageTitle(){this.pageTitleService.dispatchPageTitleSuffix([this.infoSheetId,this.content.isFullProfile.value&&this.content.isFullProfile.value.firmId?this.content.isFullProfile.value.firmId:""])}setPageDescription(){this.pageHeadersService.dispatchPageDescriptionPrefix(((this.companyName?`${this.companyName.value} `:"")+this.infoSheetId+(this.content.isFullProfile.value&&this.content.isFullProfile.value.firmId?` ${this.content.isFullProfile.value.firmId}`:"")).trim())}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw),e.rXU(Le.w),e.rXU(e.gRc),e.rXU(F.Qq),e.rXU(pe.P),e.rXU(Ue.V),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-information-sheets-result"]],inputs:{content:"content"},decls:8,vars:6,consts:[["boldTemplate",""],["id","information-sheets-result",1,"information-sheets-result","component","gtm-track-component"],[1,"wrapper","x-large-width","x-large-width-padding"],[4,"ngIf"],[3,"backToLocation","backToLabel","profileLogo","profileName","profileCode","mfisTitle","profileSummary","profileAddress","profileAddressIsBold","profileWebsite","profileEmail","profilePhone","profilePhone2","profilePhone3","informationLabel","isBroker","isMarketMaker","isAimAdviser","aimAdviserLabel","isMember","memberLabel","contact","firmId"],[1,"info-table"],[1,"table-wrapper"],[1,"full-width"],[1,"table-header"],[4,"ngFor","ngForOf"],[1,"medium-font-weight","slide-panel"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"issue-details","flex-wrapper","spaced-flex-container","flex-align-center"],[1,"blue-text","issue-details-title"],[1,"issue-details-elements","mobile-flex-wrapper","spaced-flex-container","flex-align-center","regular-font-size"],["class","issue-details-element",4,"ngIf"],[1,"issue-details-element"],[1,"bold-font-weight","regular-font-size"],[1,"download-document-simple"],[1,"documents-title"],[1,"documents-list","flex-wrapper"],["class","simple-document",4,"ngIf"],[1,"simple-document"],["target","_blank",1,"simple-document__icon",3,"href"],[1,"simple-document__info"],[1,"simple-document__title"],["target","_blank",1,"black-link","regular-font-size","medium-font-we
1ight",3,"href"]],template:function(i,o){1&i&&(e.j41(0,"section",1)(1,"div",2),e.DNE(2,ID,2,39,"ng-container",3)(3,jD,22,1,"ng-container",3)(4,VD,9,4,"ng-container",3)(5,qD,7,3,"ng-container",3),e.k0s()(),e.DNE(6,HD,2,2,"ng-template",null,0,e.C5r)),2&i&&(e.AVh("m-64","1"===(null==o.content.uxPadding?null:o.content.uxPadding.value)),e.R7$(2),e.Y8G("ngIf",null==o.content.isFullProfile?null:o.content.isFullProfile.value),e.R7$(),e.Y8G("ngIf",null==o.content.isInfoTable||null==o.content.isInfoTable.value?null:o.content.isInfoTable.value.length),e.R7$(),e.Y8G("ngIf",null==o.content.isIssueDetails?null:o.content.isIssueDetails.value),e.R7$(),e.Y8G("ngIf",null==o.content.isDownloadDocuments?null:o.content.isDownloadDocuments.value))},dependencies:[l.Sq,l.bT,l.T3,Gt,U.W],styles:[".information-sheets-result[_ngcontent-%COMP%]{margin-top:4rem}.table-title[_ngcontent-%COMP%]{margin-bottom:1.5rem}.table-wrapper[_ngcontent-%COMP%]{margin-bottom:2.5rem}@media (max-width: 768px){.table-wrapper[_ngcontent-%COMP%]{overflow-x:scroll}}table[_ngcontent-%COMP%]{min-width:45rem}tr[_ngcontent-%COMP%]{position:relative}@media (max-width: 768px){tr[_ngcontent-%COMP%]{padding-left:6.5rem}}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{width:6.5rem}@media (max-width: 768px){tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{left:auto;position:absolute;z-index:1}}@media (max-width: 768px){tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%], tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{height:3.75rem!important;left:6.5rem;position:relative}}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{background:#fff}tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#fafafa}.issue-details[_ngcontent-%COMP%]{border-bottom:.0625rem #e6e6e6 solid;border-top:.0625rem #e6e6e6 solid;margin-bottom:2.5rem;padding:1rem 2rem}.issue-details-title[_ngcontent-%COMP%]{margin:1rem 0;width:33%}@media (max-width: 768px){.issue-details-title[_ngcontent-%COMP%]{width:100%}}.issue-details-elements[_ngcontent-%COMP%]{width:66%}@media (max-width: 768px){.issue-details-elements[_ngcontent-%COMP%]{width:100%}}.issue-details-elements[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:1rem 0;width:50%}@media (max-width: 480px){.issue-details-elements[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%}}.simple-document[_ngcontent-%COMP%]{padding:1.5rem 1.5rem 1rem 3.5rem}.simple-document__icon[_ngcontent-%COMP%]{top:.75rem}"],changeDetection:0})}}return n})();function WD(n,r){if(1&n&&(e.j41(0,"span",32),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.isTitle.value," ")}}function JD(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",36),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2).index,a=e.XpG();return e.Njj(a.selectFilter(o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(2).$implicit;e.Y8G("ngClass",t.active?"interactive-outline-button gtm-trackable active":"interactive-outline-button gtm-trackable"),e.R7$(),e.SpI(" ",t.value," ")}}function KD(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",37),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.deselectFilter())}),e.k0s()}}function QD(n,r){if(1&n&&(e.qex(0),e.DNE(1,JD,2,2,"div",29)(2,KD,1,0,"span",35),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.value&&"-"!==t.value),e.R7$(),e.Y8G("ngIf",t.active)}}function ZD(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",36),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.selectType())}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(2).$implicit,i=e.XpG();e.Y8G("ngClass",i.isTypeSelect?"interactive-outline-button gtm-trackable active":"interactive-outline-button gtm-trackable"),e.R7$(),e.SpI(" ",t.value," ")}}function ej(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",37),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.deselectType())}),e.k0s()}}function tj(n,r){if(1&n&&(e.qex(0),e.DNE(1,ZD,2,2,"div",29)(2,ej,1,0,"span",35),e.bVm()),2&n){const t=e.XpG().$implicit,i=e.XpG();e.R7$(),e.Y8G("ngIf",t.value&&"-"!==t.value),e.R7$(),e.Y8G("ngIf",i.isTypeSelect)}}function nj(n,r){if(1&n&&(e.j41(0,"div",33),e.DNE(1,QD,3,2,"ng-container",34)(2,tj,3,2,"ng-container",34),e.k0s()),2&n){const t=r.$implicit,i=e.XpG();e.R7$(),e.Y8G("ngIf",t.key!==i.typeFilterKey),e.R7$(),e.Y8G("ngIf",t.key===i.typeFilterKey)}}function ij(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",38)(1,"div",14)(2,"span",39),e.EFF(3,"Select or search for an option"),e.k0s()(),e.j41(4,"div",40)(5,"form",41)(6,"span",42),e.nrm(7,"input",43),e.j41(8,"input",44),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.applyFilters())}),e.k0s()()()()()}if(2&n){const t=e.XpG();e.Y8G("hidden",!t.showFilter),e.R7$(5),e.Y8G("formGroup",t.searchForm),e.R7$(2),e.Y8G("placeholder",t.placeholderL
1abel)}}function oj(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",49),e.bIt("click",function(){const o=e.eBV(t).index,a=e.XpG(2);return e.Njj(a.filterByType(o))}),e.EFF(1),e.k0s()}if(2&n){const t=r.item;e.Y8G("ngClass",t.active?"active":""),e.R7$(),e.SpI(" ",t.label," ")}}function rj(n,r){if(1&n&&(e.j41(0,"div",38)(1,"div",14)(2,"span",39),e.EFF(3,"Select or search for an option"),e.k0s()(),e.j41(4,"div",45)(5,"div",46)(6,"ng-select",47,0),e.DNE(8,oj,2,2,"ng-template",48),e.k0s()()()()),2&n){const t=e.XpG();e.Y8G("hidden",!t.showFilter),e.R7$(6),e.Y8G("searchable",!1)("placeholder",t.dropdownPlaceholder)("selectableGroup",!1)("items",t.dropdownSortOptions)("clearable",!0)("multiple",!0)("closeOnSelect",!1)}}function aj(n,r){if(1&n&&(e.j41(0,"span",50),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.isAlphabeticalTitle.value," ")}}function sj(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",54),e.bIt("click",function(o){e.eBV(t);const a=e.XpG().index,s=e.XpG(2);return e.Njj(s.selectChar(a,o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.AVh("current",t.active)("active",t.count>0),e.Y8G("href",i.getLink(t.initial),e.B4B),e.R7$(),e.SpI(" ",t.initial," ")}}function lj(n,r){if(1&n&&(e.qex(0),e.DNE(1,sj,2,6,"a",53),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.initial)}}function cj(n,r){if(1&n&&(e.j41(0,"div",51),e.DNE(1,lj,2,1,"ng-container",52),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.alphabeticalList)}}function pj(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",55),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.clearAllFilters())}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.isClearFiltersLabel.value," ")}}function mj(n,r){if(1&n&&(e.j41(0,"h3",56),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.isDownloadLabel.value," ")}}function _j(n,r){if(1&n&&(e.j41(0,"a",64),e.nI1(1,"safeUrl"),e.EFF(2),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("href",e.bMT(1,2,t.content.isDocuments.value.firmCodesLink),e.B4B),e.R7$(2),e.JRh(t.content.isDocuments.value.firmCodesLabel)}}function dj(n,r){if(1&n&&(e.j41(0,"div",58),e.nrm(1,"a",59),e.nI1(2,"safeUrl"),e.j41(3,"div",60)(4,"div",61)(5,"a",64),e.nI1(6,"safeUrl"),e.EFF(7),e.k0s()()()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("href",e.bMT(2,3,t.content.isDocuments.value.firmDerivativesLink),e.B4B),e.R7$(4),e.Y8G("href",e.bMT(6,5,t.content.isDocuments.value.firmDerivativesLink),e.B4B),e.R7$(2),e.JRh(t.content.isDocuments.value.firmDerivativesLabel)}}function uj(n,r){if(1&n&&(e.j41(0,"div",57)(1,"div",58),e.nrm(2,"a",59),e.nI1(3,"safeUrl"),e.j41(4,"div",60)(5,"div",61),e.DNE(6,_j,3,4,"a",62),e.k0s()()(),e.DNE(7,dj,8,7,"div",63),e.k0s()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("href",e.bMT(3,3,t.content.isDocuments.value.firmCodesLink),e.B4B),e.R7$(4),e.Y8G("ngIf",t.content.isDocuments.value.firmCodesLink),e.R7$(),e.Y8G("ngIf",t.content.isDocuments.value.firmDerivativesLink)}}function gj(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",36),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.selectOrderByFilter("latest"))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("ngClass","latest"===t.selectedSort?"interactive-outline-button gtm-trackable active":"interactive-outline-button gtm-trackable"),e.R7$(),e.SpI(" ",t.content.isMostRecentSortingLabel.value," ")}}function hj(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",36),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.selectOrderByFilter("alphabetical"))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("ngClass","alphabetical"===t.selectedSort?"interactive-outline-button gtm-trackable active az-sorting":"interactive-outline-button gtm-trackable az-sorting"),e.R7$(),e.SpI(" ",t.content.isAZSortingLabel.value," ")}}function fj(n,r){if(1&n&&(e.j41(0,"div",74)(1,"a",75),e.EFF(2),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("href",t.link,e.B4B),e.R7$(),e.JRh(t.companyName)}}function vj(n,r){if(1&n&&(e.j41(0,"div",74),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.companyName," ")}}function bj(n,r){if(1&n&&(e.j41(0,"div",76),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.mfisTitle)}}function Cj(n,r){if(1&n&&(e.j41(0,"div",76),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.uid)}}function Tj(n,r){if(1&n&&(e.j41(0,"div",76),e.EFF(1),e.nI1(2,"customdate"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.date,"long"))}}function xj(n,r){if(1&n&&(e.j41(0,"div",71),e.DNE(1,fj,3,2,"div",72)(2,vj,2,1,"div",72)(3,bj,2,1,"div",73)(4,Cj,2,1,"div",73)(5,Tj,3,4,"div",73),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.link),e.R7$(),e.Y8G("ngIf",!t.link),e.R7$(),e.Y8G("ngIf",t.mfisTitle),e.R7$(),e.Y8G("ngIf",t.uid),e.R7$(),e.Y8G("ngIf",t.date)}}function kj(n,r){if(1&n&&(e.j41(0,"div",69),e.DNE(1,xj,6,5,"div",70),e.nI1(2,"slice"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",e.brH(2,1,t.content.isResults,0,t.itemsPerPage))}}function yj(n,r){if(1&n&&(e.j41(0,"h4",78),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.key)}}function wj(n,r){if(1&n&&(e.j41(0,"div",74)(1,"a",75),e.EFF(2),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("href",t.link,e.B4B),e.R7$(),e.JRh(t.companyName)}}
1function Ij(n,r){if(1&n&&(e.j41(0,"div",74),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t.companyName," ")}}function Mj(n,r){if(1&n&&(e.j41(0,"div",76),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.mfisTitle)}}function Oj(n,r){if(1&n&&(e.j41(0,"div",76),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.uid)}}function Rj(n,r){if(1&n&&(e.j41(0,"div",76),e.EFF(1),e.nI1(2,"customdate"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(e.i5U(2,1,t.date,"long"))}}function Fj(n,r){if(1&n&&(e.j41(0,"div",71),e.DNE(1,wj,3,2,"div",72)(2,Ij,2,1,"div",72)(3,Mj,2,1,"div",73)(4,Oj,2,1,"div",73)(5,Rj,3,4,"div",73),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.link),e.R7$(),e.Y8G("ngIf",!t.link),e.R7$(),e.Y8G("ngIf",t.mfisTitle),e.R7$(),e.Y8G("ngIf",t.uid),e.R7$(),e.Y8G("ngIf",t.date)}}function Pj(n,r){if(1&n&&(e.j41(0,"div"),e.DNE(1,yj,2,1,"h4",77)(2,Fj,6,5,"div",70),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.key),e.R7$(),e.Y8G("ngForOf",t.value)}}function Gj(n,r){if(1&n&&(e.j41(0,"div",69),e.DNE(1,Pj,3,2,"div",52),e.nI1(2,"slice"),e.nI1(3,"groupBy"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",e.i5U(3,5,e.brH(2,1,t.content.isResults,0,t.itemsPerPage),"group"))}}function Sj(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",79)(1,"div",80),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.scrollTop())}),e.k0s(),e.j41(2,"div",81),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.scrollTop())}),e.k0s()()}}function $j(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",65),e.DNE(1,kj,3,5,"div",66)(2,Gj,4,8,"div",66),e.j41(3,"app-paginator",67),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.submit(o,!1,!1))}),e.k0s(),e.DNE(4,Sj,3,0,"div",68),e.k0s()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf","latest"===t.selectedSort),e.R7$(),e.Y8G("ngIf","latest"!==t.selectedSort),e.R7$(),e.Y8G("totalPages",t.getTotalPages(t.content.isPagination.value.totalItems))("currentPage",t.content.isPagination.value.page),e.R7$(),e.Y8G("ngIf",!!t.selectedFilterKey||!!t.selectedChar||!!t.selectedOption)}}function Ej(n,r){1&n&&(e.j41(0,"div",82)(1,"span",83),e.EFF(2," Sorry, we couldn't find any results for your search criteria. Please try again "),e.k0s()())}let fr=(()=>{class n{constructor(t,i,o,a,s,c,d,C,T){this.fb=t,this.refreshService=i,this.elementRef=o,this.scrollToService=a,this.cd=s,this.store=c,this.pageTitleService=d,this.urlHandlerService=C,this.platformId=T,this.itemsPerPage=10,this.placeholderL
1abel="",this.isAlphabeticListOpen=!1,this.showClearFilters=!1,this.isTypeSelect=!1,this.showDropdown=!1,this.showFilter=!1,this.actualPage=0,this.typeFilterKey="informationSheetsType"}ngOnInit(){this.initDefaultParams()}ngOnChanges(t){(0,l.UE)(this.platformId)&&t.content?.currentValue!==t.content?.previousValue&&((0,$e.A)(t)||(this.content.isResults=[]),this.scrollToResults())}initItemsPerPage(){!this.content.isPagination||!this.content.isPagination.value.itemsPerPage||this.content.isPagination.value.itemsPerPage===this.itemsPerPage||(this.itemsPerPage=this.content.isPagination.value.itemsPerPage)}initDefaultParams(){var t=this;return(0,_.A)(function*(i=null){t.initItemsPerPage(),t.searchForm=t.fb.group({search:null}),t.firstLevelFilters=t.getFirstLevelFilters(),t.dropdownSortOptions=t.getDropdownSortOptions(),t.alphabeticalList=t.getAlphabeticList(),t.selectedSort="latest",t.setDropDownPlaceholder(),t.pageUrl=yield t.store.pipe((0,u.Lt)(h.Ti),(0,f.s)(1)).toPromise(),"showFilters"===t.pageUrl.hash&&(t.showFilter=!0,t.updateUrlWithParams(!1)),t.pageUrl={...t.pageUrl,parameters:i||t.pageUrl.parameters},t.updatePageTitle(t.pageUrl.parameters),t.setFiltersFromUrl(t.pageUrl.parameters),t.cd.markForCheck()}).apply(this,arguments)}getTotalPages(t){return Math.ceil(t/this.itemsPerPage)}submit(t=0,i=!1,o=!0){if(!this.isThereSelectedFilter()&&!this.selectedOption&&!this.selectedSort)return;(this.isThereSelectedFilter()||this.selectedOption)&&(this.deselectChar(),this.setShowAlphabetList(!1),this.setShowClearFilters(!0)),this.actualPage=t;const a=this.getInputFirmIdParams(o,t,this.pageUrl.parameters);this.setParameters(a),this.updateUrlWithParams(i),this.refresh(t,this.pageUrl.parameters)}backBrowserButtonCall(){var t=this;return(0,_.A)(function*(i=null){t.clearAllFilters(!0),i=i||new F.Nl,t.initDefaultParams(i),t.setParameters(i);const o=i&&i.has("page")?Number(i.get("page")):0;t.updateUrlWithParams(0===o),t.refresh(o,i)}).apply(this,arguments)}refresh(t,i){this.status={currentPage:t,refreshing:!0,params:this.replaceTokens(i,"&","_ampersand_")},this.refreshService.refreshComponent(this.id,this.position,this.type,this.content,this.status)}clearAllFilters(t=!1){this.deselectChar(),this.setShowAlphabetList(!1),this.deselectFilter(),this.setShowClearFilters(!1),this.selectedSort="latest",this.filterByType(-1),this.deselectType(),this.scrollTop(),t||this.submit(0,!0)}applyFilters(){!this.isThereSelectedFilter()&&!this.selectedOption||this.submit(0,!0)}selectFilter(t,i=null){-1!==t&&(this.firstLevelFilters=this.getFirstLevelFilters(),this.firstLevelFilters[t].active=!0,this.selectedFilterKey=this.firstLevelFilters[t].key,this.searchForm=this.fb.group({search:i}),this.setSearchPlaceholder(this.firstLevelFilters[t].placeholder),this.setShowDropdown(!1),this.cd.markForCheck())}deselectFilter(){this.selectedFilterKey=null,this.firstLevelFilters=this.getFirstLevelFilters(),this.setSearchPlaceholder(null),this.searchForm.reset(),this.cd.markForCheck()}selectChar(t,i=null,o=!0){i&&i.preventDefault(),-1!==t&&0!==this.alphabeticalList[t].count&&(this.deselectFilter(),this.filterByType(-1),this.deselectType(),this.selectedSort="alphabetical",this.alphabeticalList=this.getAlphabeticList(),this.handleCharClick(t),o&&this.submit(0,!0))}selectOrderByFilter(t){this.selectedSort=t,this.submit(0,!0,!1)}isValidSearchLabel(t=null){return t||(t=this.searchForm.value.search),!!t&&t.length>0}isValidSelectedFilter(){return!!this.selectedFilterKey&&this.selectedFilterKey.length>0}handleCharClick(t){this.selectedChar&&this.alphabeticalList[t].initial===this.selectedChar?(this.deselectChar(),this.setShowClearFilters(!1)):(this.selectedChar=this.alphabeticalList[t].initial,this.alphabeticalList[t].active=!0,this.setShowClearFilters(!0))}deselectChar(){this.selectedChar&&(this.selectedChar=null,this.selectedSort="latest",this.alphabeticalList=this.getAlphabeticList(),this.cd.markForCheck())}setShowClearFilters(t){this.showClearFilters=t,this.cd.markForCheck()}getFirstLevelFilters(){return this.content.isFilters.value?this.content.isFilters.value.reduce((t,i)=>t.concat([{key:i.key,value:i.value,placeholder:i.placeholder,active:!1}]),[]):[]}getDropdownSortOptions(){return this.content.isType&&0!==this.content.isType.length?this.content.isType.reduce((t,i)=>t.concat([{value:i.value,label:i.label,active:!1}]),[]):[]}getAlphabeticList(){return this.content.isAlphabeticalList.value&&0!==this.content.isAlphabeticalList.value.length?this.content.isAlphabeticalList.value.reduce((t,i)=>t.concat([{initial:i.initial,count:i.count,active:!1}]),[]):[]}
1setSearchPlaceholder(t){this.placeholderLabel=t&&t.length>0?t:"",this.cd.markForCheck()}setFiltersFromUrl(t){t.has("sort")&&(this.selectedSort=t.get("sort"));const i=t.get("initial");if(i){const c=this.alphabeticalList.findIndex(C=>C.initial.toUpperCase()===i.toUpperCase());return this.selectChar(c,null,!1),this.showFilter=!0,void this.setShowAlphabetList(!0)}const o=t.getAll(this.typeFilterKey);let a="";const s=this.firstLevelFilters.findIndex(c=>(a=t.get(c.key),this.isValidSearchLabel(a)));if(this.setOptionFilterFromUrl(o),this.selectFilter(s,a),s>-1&&(this.setShowClearFilters(!0),this.showFilter=!0,this.scrollToResults()),o&&o.length){this.showFilter=!1,this.showDropdown=!0;const c=this.getOptionsCountLabel();this.setDropDownPlaceholder(c),this.scrollToResults()}}setOptionFilterFromUrl(t){if(t&&t.length){this.selectedOption=t.join(",");const i=t;this.dropdownSortOptions=this.dropdownSortOptions.map(o=>{const a=i.findIndex(s=>o.value===s);return{...o,active:a>-1||o.active}}),this.selectType()}}getOptionsCountLabel(){const t=this.dropdownSortOptions.filter(i=>i.active);return t&&t.length>0?`${t.length}${1===t.length?" filter":" filters"} selected`:null}updateUrlWithParams(t){let i=this.pageUrl.parameters;t&&(i=i.delete("page")),this.urlHandlerService.setCurrentPath({path:this.pageUrl.path,parameters:i}),this.updatePageTitle(i)}updatePageTitle(t){const i=[];t.keys().filter(o=>"tab"!==o&&"page"!==o&&"size"!==o&&"sort"!==o).map(o=>{const a=this.firstLevelFilters.find(d=>d.key===o),s=this.getSelectedParams(t,o),c=a&&a.value?a.value:"";i.push(`${s.join(", ")} ${c}`)}),this.pageTitleService.dispatchPageTitlePrefix(i," - ")}getSelectedParams(t,i){return i===this.typeFilterKey?this.dropdownSortOptions.filter(o=>t.get(i).includes(o.value)).map(o=>o.label):[t.get(i)]}defineParameters(){let t=(new F.Nl).set("page",this.actualPage.toString());const i=this.searchForm.value.search;return this.isThereSelectedFilter(i)&&(t=t.set(this.selectedFilterKey,i)),this.selectedOption&&(t=t.set(this.typeFilterKey,this.selectedOption)),this.selectedChar&&this.selectedChar.length>0&&(t=t.set("initial",this.selectedChar)),this.isThereSelectedSort()&&(t=t.set("sort",this.selectedSort)),t}setParameters(t=null){this.pageUrl={...this.pageUrl,parameters:t||this.defineParameters()}}isThereSelectedFilter(t=null){return this.isValidSearchLabel(t)&&this.isValidSelectedFilter()}isThereSelectedSort(){return this.selectedSort&&"latest"!==this.selectedSort}setIsAlphabeticListOpen(){this.isAlphabeticListOpen=!this.isAlphabeticListOpen}setShowAlphabetList(t){this.isAlphabeticListOpen=t,this.cd.markForCheck()}getLink(t){const o=(new F.Nl).set("initial",t).set("page","0");return k.T.getLink("information-sheets-search",o)}scrollTop(){this.scrollToService.scrollToTheElementById("information-sheets-search",this.elementRef)}scrollToResults(){var t=this;return(0,_.A)(function*(){const o=(yield t.store.pipe((0,u.Lt)(h.Ti),(0,f.s)(1)).toPromise()).parameters;o&&o.keys().length>0&&t.scrollToService.scrollToTheElementById("information-sheets-search-results",t.elementRef)})()}filterByType(t=-1){t>=0&&!this.dropdownSortOptions[t].active?this.dropdownSortOptions[t].active=!0:t>=0?this.dropdownSortOptions[t].active=!1:this.dropdownSortOptions=this.getDropdownSortOptions(),this.setSelectedOption();const i=this.getOptionsCountLabel();this.setDropDownPlaceholder(i),this.cd.markForCheck()}setSelectedOption(){this.selectedOption=this.dropdownSortOptions.filter(t=>t.active).reduce((t,i)=>t&&t.length>0?t.concat(",",i.value):i.value,null)}setDropDownPlaceholder(t=null){if(t)this.dropdownPlaceholder=t;else if(this.content.isFilters.value&&this.content.isFilters.value.length>0){const i=this.content.isFilters.value.filter(o=>o.key===this.typeFilterKey);this.dropdownPlaceholder=i.length?i[0].placeholder:""}else this.dropdownPlaceholder=""}selectType(){this.isTypeSelect=!0,this.setShowDropdown(!0),this.cd.markForCheck()}deselectType(){this.isTypeSelect=!1,this.dropdownSortOptions=this.getDropdownSortOptions(),this.pageUrl.parameters.delete(this.typeFilterKey),this.selectedOption=null;const t=this.getOptionsCountLabel();this.setDropDownPlaceholder(t),this.setShowDropdown(!1),this.cd.markForCheck()}setShowDropdown(t){this.showDropdown=t}
1toggleFilters(){this.showFilter=!this.showFilter}getInputFirmIdParams(t,i,o){return t&&!i||!o.has("firmId")?null:(o=this.isThereSelectedSort()?o.set("sort",this.selectedSort):o.delete("sort")).set("page",i.toString())}replaceTokens(t,i,o){const a=this.firstLevelFilters.map(C=>C.key).filter(C=>C!==this.typeFilterKey),s=new RegExp(i,"gi"),c=t.keys().filter(C=>a.includes(C));if(!c.length)return t;let d=t;return c.forEach(C=>{d=d.set(C,t.get(C).replace(s,o))}),d}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(g.ze),e.rXU(j.W),e.rXU(e.aKT),e.rXU(le.W),e.rXU(e.gRc),e.rXU(u.il),e.rXU(pe.P),e.rXU(k.T),e.rXU(e.Agw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-information-sheets-search"]],inputs:{content:"content",type:"type",position:"position",id:"id",status:"status"},features:[e.OA$],decls:34,vars:23,consts:[["dropdownType",""],["id","information-sheets-search","appBackBrowserClick","",1,"information-sheets-search","component","gtm-track-component","wrapper","x-large-width","x-large-width-padding",3,"refreshComponent"],[1,"wrapper","x-large-width"],[1,"filters-container"],[1,"filters-header","bold-font-weight","regular-font-size","mobile-flex-wrapper"],["class","bold-font-weight base-font-size box-filters-title",4,"ngIf"],[1,"icon-filters",3,"click"],[1,"whats-this-container",3,"hidden"],[3,"whatsThisLink","whatsThisText"],[1,"index-filter","button-filter","mobile-flex-container",3,"hidden"],[1,"button-filter-wrapper"],["class","filter-wrapper",4,"ngFor","ngForOf"],["class","filters-container search-wrapper",3,"hidden",4,"ngIf"],[1,"filters-container","alphabet-container",3,"hidden"],[1,"filters-header"],[1,"chars-label-wrapper",3,"click"],["class","base-font-size bold-font-weight gtm-trackable",4,"ngIf"],[3,"ngClass"],["class","alphabet-filters",4,"ngIf"],[1,"wrapper","x-large-width",3,"hidden"],[1,"filter-action-buttons"],[1,"action-wrapper"],["class","gold-button bold-font-weight gtm-trackable outline",3,"click",4,"ngIf"],[1,"gold-button","bold-font-weight","gtm-trackable","apply-filter",3,"click"],[1,"download-container"],[1,"download-document-simple","wrapper","x-large-width","x-large-width-padding"],["class","documents-title",4,"ngIf"],["class","documents-list flex-wrapper",4,"ngIf"],[1,"order-button-container"],[3,"ngClass","click",4,"ngIf"],["id","information-sheets-search-results","class","information-sheets-search-results wrapper x-large-width x-large-width-padding",4,"ngIf"],["class","no-result-msg","id","information-sheets-search-results",4,"ngIf"],[1,"bold-font-weight","base-font-size","box-filters-title"],[1,"filter-wrapper"],[4,"ngIf"],["class","filter-deselect",3,"click",4,"ngIf"],[3,"click","ngClass"],[1,"filter-deselect",3,"click"],[1,"filters-container","search-wrapper",3,"hidden"],[1,"bold-font-weight","base-font-size"],[1,"index-filter","search-filter"],[1,"form-inline",3,"formGroup"],[1,"search-container","input-container"],["formControlName","search","name","search","type","text","id","company-search","aria-describedby","company-search","autocomplete","off",1,"form-control","search-icon","filter-input","search-input",3,"placeholder"],["type","submit",1,"hide-input-submit","gtm-trackable",3,"click"],[1,"index-filter","dropdown-filter","flex-wrapper"],[1,"active-dropdown-filter"],["id","dropdown-type",1,"form-control","form-select",3,"searchable","placeholder","selectableGroup","items","clearable","multiple","closeOnSelect"],["ng-option-tmp",""],[1,"select-option",3,"click","ngClass"],[1,"base-font-size","bold-font-weight","gtm-trackable"],[1,"alphabet-filters"],[4,"ngFor","ngForOf"],["class","gtm-trackable bold-font-weight",3,"current","active","href","click",4,"ngIf"],[1,"gtm-trackable","bold-font-weight",3,"click","href"],[1,"gold-button","bold-font-weight","gtm-trackable","outline",3,"click"],[1,"documents-title"],[1,"documents-list","flex-wrapper"],[1,"simple-document"],["target","_blank",1,"simple-document__icon",3,"href"],[1,"simple-document__info"],[1,"simple-document__title"],["class","black-link regular-font-size medium-font-weight","target","_blank",3,"href",4,"ngIf"],["class","simple-document",4,"ngIf"],["target","_blank",1,"black-link","regular-font-size","medium-font-we
1ight",3,"href"],["id","information-sheets-search-results",1,"information-sheets-search-results","wrapper","x-large-width","x-large-width-padding"],["class","results-wrapper",4,"ngIf"],[3,"goToPage","totalPages","currentPage"],["class","wrapper x-large-width x-large-width-padding",4,"ngIf"],[1,"results-wrapper"],["class","single-result",4,"ngFor","ngForOf"],[1,"single-result"],["class","base-font-size bold-font-weight",4,"ngIf"],["class","base-font-size",4,"ngIf"],[1,"base-font-size","bold-font-weight"],["directoryCurrentUrl","","directoryType","information-sheets-search",1,"black-link",3,"href"],[1,"base-font-size"],["class","bold-font-weight",4,"ngIf"],[1,"bold-font-weight"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"back-to-top","hide-on-mobile",3,"click"],[1,"back-to-top","show-on-mobile",3,"click"],["id","information-sheets-search-results",1,"no-result-msg"],[1,"large-font-size"]],template:function(i,o){1&i&&(e.j41(0,"section",1),e.bIt("refreshComponent",function(s){return o.backBrowserButtonCall(s)}),e.j41(1,"div",2)(2,"div",3)(3,"div",4),e.DNE(4,WD,2,1,"span",5),e.j41(5,"span",6),e.bIt("click",function(){return o.toggleFilters()}),e.k0s()(),e.j41(6,"div",7),e.nrm(7,"app-whats-this",8),e.k0s(),e.j41(8,"div",9)(9,"div",10),e.DNE(10,nj,3,2,"div",11),e.k0s()()(),e.DNE(11,ij,9,3,"div",12)(12,rj,9,8,"div",12),e.j41(13,"div",13)(14,"div",14)(15,"div",15),e.bIt("click",function(){return o.setIsAlphabeticListOpen()}),e.DNE(16,aj,2,1,"span",16),e.nrm(17,"span",17),e.k0s()(),e.DNE(18,cj,2,1,"div",18),e.k0s()(),e.j41(19,"div",19)(20,"div",20)(21,"div",21),e.DNE(22,pj,2,1,"span",22),e.j41(23,"span",23),e.bIt("click",function(){return o.applyFilters()}),e.EFF(24),e.k0s()()()(),e.j41(25,"div",24)(26,"div",25),e.DNE(27,mj,2,1,"h3",26)(28,uj,8,5,"div",27),e.k0s()(),e.j41(29,"div",28),e.DNE(30,gj,2,2,"div",29)(31,hj,2,2,"div",29),e.k0s(),e.DNE(32,$j,5,5,"div",30)(33,Ej,3,0,"div",31),e.k0s()),2&i&&(e.AVh("m-64","1"===(null==o.content.uxPadding?null:o.content.uxPadding.value)),e.R7$(4),e.Y8G("ngIf",o.content.isTitle.value),e.R7$(2),e.Y8G("hidden",!o.showFilter),e.R7$(),e.Y8G("whatsThisLink",o.content.isWhatsThisLink)("whatsThisText",o.content.isWhatsThisText),e.R7$(),e.Y8G("hidden",!o.showFilter),e.R7$(2),e.Y8G("ngForOf",o.firstLevelFilters),e.R7$(),e.Y8G("ngIf",!!o.selectedFilterKey&&o.selectedFilterKey.length>0&&!o.showDropdown),e.R7$(),e.Y8G("ngIf",o.showDropdown),e.R7$(),e.Y8G("hidden",!o.showFilter),e.R7$(3),e.Y8G("ngIf",o.content.isAlphabeticalTitle.value),e.R7$(),e.Y8G("ngClass",o.isAlphabeticListOpen?"icon-dropdown-up":"icon-dropdown-down"),e.R7$(),e.Y8G("ngIf",o.isAlphabeticListOpen&&o.alphabeticalList&&o.alphabeticalList.length>0),e.R7$(),e.Y8G("hidden",!o.showFilter),e.R7$(3),e.Y8G("ngIf",o.showClearFilters),e.R7$(2),e.SpI(" ",o.content.isApplyFiltersLabel.value," "),e.R7$(3),e.Y8G("ngIf",o.content.isDownloadLabel.value),e.R7$(),e.Y8G("ngIf",o.content.isDocuments.value),e.R7$(2),e.Y8G("ngIf",o.content.isMostRecentSortingLabel.value),e.R7$(),e.Y8G("ngIf",o.content.isAZSortingLabel.value),e.R7$(),e.Y8G("ngIf",o.content.isResults.length>0),e.R7$(),e.Y8G("ngIf",!(0!==o.content.isResults.length||!o.selectedFilterKey&&!o.selectedChar&&!o.selectedOption)))},dependencies:[l.YU,l.Sq,l.bT,g.qT,g.me,g.BC,g.cb,De.T,g.j4,g.JD,ne.vr,ne.Uq,ue,ae,Kt,l.P9,U.W,Rt.d,St],styles:['body[_ngcontent-%COMP%]{font-size:.875rem}.light-font-weight[_ngcontent-%COMP%]{font-weight:300}.regular-font-weight[_ngcontent-%COMP%]{font-weight:400}.medium-font-weight[_ngcontent-%COMP%]{font-weight:500}.semi-bold-font-weight[_ngcontent-%COMP%]{font-weight:600}.bold-font-weight[_ngcontent-%COMP%]{font-weight:700}@media (max-width: 1144px){.bold-font-weight-sm[_ngcontent-%COMP%]{font-weight:700}}.extrabold-font-weight[_ngcontent-%COMP%]{font-weight:800}.small-font-size[_ngcontent-%COMP%]{font-size:.875rem!important;line-height:1em}.smaller-font-size[_ngcontent-%COMP%]{font-size:.65625rem;line-height:1em}.base-font-size[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.3125rem}@media (max-width: 1144px){.xs-base-font-size[_ngcontent-%COMP%]{font-size:.875rem!important;line-height:1.3125rem!important}}.regular-font-size[_ngcontent-%COMP%]{font-size:.984375rem;line-height:1.75rem}.big-font-size[_ngcontent-%COMP%]{font-size:1.09375rem;line-height:1.1em}.bigger-font-size[_ngcontent-%COMP%]{font-size:1.203125rem;line-height:1em}.generous-font-size[_ngcontent-%COMP%]{font-size:1.421875rem;line-height:1.640625rem}.large-font-size[_ngcontent-%COMP%]{font-size:1.640625rem;line-height:1em}@media (max-width: 1144px){.large-font-size[_ngcontent-%COMP%]{font-size:1.18125rem}}.larger-font-size[_ngcontent-%COMP%]{font-size:2.1875rem;line-height:1em}@media (max-width: 1144px){.larger-font-size[_ngcontent-%COMP%]{font-size:1.75rem}}.hero-font[_ngcontent-%COMP%]{font-size:3.5rem;font-weight:800;line-height:4.046875rem}.align-center[_ngcontent-%COMP%]{text-align:center}.align-right[_ngcontent-%COMP%]{text-align:right}.section-title[_ngcontent-%COMP%]{display:inline}.blue-text[_ngcontent-%COMP%]{color:#001eff}.grey-medium-text[_ngcontent-%COMP%]{color:#4d4d4d}h1[_ngcontent-%COMP%]{font-size:1.640625rem;font-weight:700;line-height:1.4;font-family:LSEG Motto,Proxima Nova,Arial,Helvetica;text-transform:uppercase}
1h2[_ngcontent-%COMP%]{font-size:1.3125rem;font-weight:700;line-height:1.333;font-family:LSEG Motto,Proxima Nova,Arial,Helvetica;text-transform:uppercase}h3[_ngcontent-%COMP%]{font-size:1.09375rem;font-weight:700;line-height:1.2}h4[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:700;line-height:1.333}h5[_ngcontent-%COMP%]{font-weight:700}.h-link[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:500}.h-link-bold[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:700}.text-align-center[_ngcontent-%COMP%]{text-align:center}.text-align-right[_ngcontent-%COMP%]{text-align:right}.text-align-left[_ngcontent-%COMP%]{text-align:left}.text-align-justify[_ngcontent-%COMP%]{text-align:justify}.ng-option[_ngcontent-%COMP%]{margin:0;padding-left:1.75rem!important;position:relative}.information-sheets-search[_ngcontent-%COMP%]{margin-bottom:3.5rem}.information-sheets-search[_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%]{position:relative}.back-to-top[_ngcontent-%COMP%]{margin-top:1.5rem}.information-sheets-search-results[_ngcontent-%COMP%]{padding:0 5rem}@media (max-width: 768px){.information-sheets-search-results[_ngcontent-%COMP%]{padding:0}}.results-wrapper[_ngcontent-%COMP%]{margin-bottom:3rem}.results-wrapper[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{align-items:center;background-color:#001eff;border-radius:50%;color:#fff;display:flex;font-size:1.75rem;height:5rem;justify-content:center;margin-bottom:2.5rem;margin-top:1.5rem;padding:1rem;width:5rem}.results-wrapper[_ngcontent-%COMP%] .single-result[_ngcontent-%COMP%]{border-top:.0625rem solid #fafafa;padding:2rem 0 1.5rem 1rem}.results-wrapper[_ngcontent-%COMP%] .single-result[_ngcontent-%COMP%]:last-child{border-bottom:.0625rem solid #fafafa}.results-wrapper[_ngcontent-%COMP%] .single-result[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin-bottom:.5rem}.filter-action-buttons[_ngcontent-%COMP%]{display:block;float:none;min-height:5rem;text-align:right}.filter-action-buttons[_ngcontent-%COMP%] .gold-button[_ngcontent-%COMP%]{margin-top:1.625rem}.filter-action-buttons[_ngcontent-%COMP%] .gold-button.outline[_ngcontent-%COMP%]{margin-right:1rem}.order-button-container[_ngcontent-%COMP%]{padding:2.5rem 5rem}@media (max-width: 480px){.order-button-container[_ngcontent-%COMP%]{padding:2.5rem 0}}.order-button-container[_ngcontent-%COMP%] .interactive-outline-button.az-sorting[_ngcontent-%COMP%]{padding:.75rem 1.5rem}@media (max-width: 480px){.order-button-container[_ngcontent-%COMP%] .interactive-outline-button.az-sorting[_ngcontent-%COMP%]{margin-top:1rem}}.download-container[_ngcontent-%COMP%]{padding:2rem 5rem 0}@media (max-width: 768px){.download-container[_ngcontent-%COMP%]{padding:2rem 0 0}}.simple-document[_ngcontent-%COMP%]{padding:1.5rem 1.5rem 1rem 3.5rem}.simple-document__icon[_ngcontent-%COMP%]{top:.75rem}.whats-this-container[_ngcontent-%COMP%]{background-color:#fafafa;border:solid;border-color:#b2b2b2;border-width:0 .0625rem;box-shadow:none;padding-top:1.1875rem;text-align:right}.alphabet-container[_ngcontent-%COMP%] .filters-header[_ngcontent-%COMP%]{background-color:#fafafa;height:4rem;min-height:4rem}.chars-label-wrapper[_ngcontent-%COMP%]{align-items:center;color:#000;display:flex;justify-content:center;width:100%}.chars-label-wrapper[_ngcontent-%COMP%] .icon-dropdown-down[_ngcontent-%COMP%]{background:url(assets/static/calendar_months_right_indicator.svg) center left no-repeat;background-size:40%;content:"";cursor:pointer;display:inline-block;height:1em;margin-left:.6rem;position:relative;top:.15rem;transform:rotate(90deg);width:1em}.chars-label-wrapper[_ngcontent-%COMP%] .icon-dropdown-down[_ngcontent-%COMP%]:before{background-color:transparent}.chars-label-wrapper[_ngcontent-%COMP%] .icon-dropdown-up[_ngcontent-%COMP%]{background:url(assets/static/calendar_months_right_indicator.svg) center left no-repeat;background-size:40%;content:"";cursor:pointer;display:inline-block;height:1em;margin-left:.6rem;position:relative;top:-.5rem;transform:rotate(-90deg);width:1em}.chars-label-wrapper[_ngcontent-%COMP%] .icon-dropdown-up[_ngcontent-%COMP%]:before{background-color:transparent}.no-result-msg[_ngcontent-%COMP%]{margin-top:2rem}@media (max-width: 1144px){.button-filter-wrapper[_ngcontent-%COMP%]{max-width:65rem}}@media (max-width: 480px){.button-filter-wrapper[_ngcontent-%COMP%]{max-width:21rem}}.filters-container[_ngcontent-%COMP%]{margin-top:0}.filters-container[_ngcontent-%COMP%]:last-child{margin-bottom:0}a[_ngcontent-%COMP%]{text-decoration:none}a[_ngcontent-%COMP%]:hover{text-decoration:underline}.alphabet-filters[_ngcontent-%COMP%]{background-color:#fafafa;border:solid;border-color:#b2b2b2;border-width:0 .0625rem;margin:0}.form-inline[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{width:100%}'],changeDetection:0})}}return n})();function Dj(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",7)(2,"div",8)(3,"div",9),e.nrm(4,"img",10),e.k0s(),e.j41(5,"h2",11),e.EFF(6),e.k0s()()(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(6),e.JRh(t.content.timelineTitle.value)}}function jj(n,r){1&n&&(e.qex(0),e.DNE(1,Dj,7,1,"ng-container",6),e.bVm())}function Nj(n,r){if(1&n&&(e.j41(0,"div",17),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.year," ")}}function Yj(n,r){if(1&n&&e.nrm(0,"img",18),2&n){const t=e.XpG(2).$implicit;e.Y8G("src",t.image,e.B4B)}}function Xj(n,r){if(1&n&&(e.j41(0,"h3",19),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.title)}}function Bj(n,r){if(1&n&&(e.j41(0,"div",20),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.text)}}function Vj(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",12),e.DNE(2,Nj,2,1,"div",13),e.j41(3,"div",8),e.DNE(4,Yj,1,1,"img",14),e.k0s(),e.DNE(5,Xj,2,1,"h3",15)(6,Bj,2,1,"div",16),e.k0s(),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.Y8G("ngIf",t.year),e.R7$(2),e.Y8G("ngIf",t.image),e.R7$(),e.Y8G("ngIf",t.title),e.R7$(),e.Y8G("ngIf",t.text)}}function Lj(n,r){1&n&&(e.qex(0),e.DNE(1,Vj,7,4,"ng-container",6),e.bVm())}function Aj(n,r){if(1&n&&(e.j41(0,"section",1)(1,"app-slider",2)(2,"div",3),e.DNE(3,jj,2,0,"ng-container",4)(4,Lj,2,0,"ng-container",5),e.k0s()()()),2&n){const t=e.XpG();e.R7$(),e.Y8G("configuration",t.sliderConfiguration),e.R7$(2),e.Y8G("ngIf",t.content.timelineTitle.value),e.R7$(),e.Y8G("ngForOf",t.content.timeline.value)}}let vr=(()=>{class n{constructor(){this.sliderConfiguration={emptyEnd:!1,showControlsBackgroun
1d:!1,showSelectors:!1,swipeAtOnce:2,removeSlider:!1,responsive:{768:{removeSlider:!0}}}}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-history-timeline"]],inputs:{content:"content"},decls:1,vars:1,consts:[["id","history-timeline","class","history-timeline component",4,"ngIf"],["id","history-timeline",1,"history-timeline","component"],[3,"configuration"],[1,"flex-wrapper","wrapper","full-width"],[4,"ngIf"],[4,"ngFor","ngForOf"],[4,"appSliderItem"],[1,"timeline-slide","first-slide"],[1,"slide-image"],[1,"slide-logo"],["src","/assets/svg/lseg_blue_logo_2022_0.svg",2,"height","46px"],[1,"blue-text"],[1,"timeline-slide"],["class","slide-year blue-text bold-font-weight larger-font-size",4,"ngIf"],[3,"src",4,"ngIf"],["class","slide-title bold-font-weight",4,"ngIf"],["class","slide-text",4,"ngIf"],[1,"slide-year","blue-text","bold-font-weight","larger-font-size"],[3,"src"],[1,"slide-title","bold-font-weight"],[1,"slide-text"]],template:function(i,o){1&i&&e.DNE(0,Aj,5,3,"section",0),2&i&&e.Y8G("ngIf",o.content.timelineTitle.value&&(null==o.content.timeline.value?null:o.content.timeline.value.length))},dependencies:[l.Sq,l.bT,En.d,Dn.k],styles:[".timeline-slide[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-wrap:wrap;width:25vw}@media (max-width: 1023px){.timeline-slide[_ngcontent-%COMP%]{width:50vw}}@media (max-width: 768px){.timeline-slide[_ngcontent-%COMP%]{display:inline-block;padding:1rem;vertical-align:top;width:50%}}@media (max-width: 480px){.timeline-slide[_ngcontent-%COMP%]{width:100%}}.slide-year[_ngcontent-%COMP%]{margin-bottom:.5rem;padding:0 1.5rem 0 .5rem}@media (max-width: 768px){.slide-year[_ngcontent-%COMP%]{padding:0}}.slide-image[_ngcontent-%COMP%]{background-color:#fafafa;height:16.1vw;margin-bottom:1.5rem;order:-1;overflow:hidden}@media (max-width: 1023px){.slide-image[_ngcontent-%COMP%]{height:32.2vw}}@media (max-width: 768px){.slide-image[_ngcontent-%COMP%]{height:auto;order:0}}.slide-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.slide-logo[_ngcontent-%COMP%]{height:3rem;max-width:10rem;width:100%}@media (max-width: 1144px){.slide-logo[_ngcontent-%COMP%]{height:2.5rem}}.slide-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:auto}.slide-title[_ngcontent-%COMP%]{margin-bottom:1.5rem;padding:0 1.5rem 0 .5rem}@media (max-width: 768px){.slide-title[_ngcontent-%COMP%]{padding:0}}.slide-text[_ngcontent-%COMP%]{padding:0 1.5rem 0 .5rem}@media (max-width: 768px){.slide-text[_ngcontent-%COMP%]{margin-bottom:1.5rem;padding:0}}.first-slide[_ngcontent-%COMP%]{text-align:right}@media (max-width: 768px){.first-slide[_ngcontent-%COMP%]{padding:0;text-align:left;width:100%}}.first-slide[_ngcontent-%COMP%] .slide-image[_ngcontent-%COMP%]{align-items:flex-end;display:flex;flex-direction:column;justify-content:flex-end;padding:1rem}@media (max-width: 768px){.first-slide[_ngcontent-%COMP%] .slide-image[_ngcontent-%COMP%]{display:block}}.first-slide[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;padding-top:1rem}[_nghost-%COMP%] .after:not(:first-of-type) .timeline-slide{opacity:.5}@media (max-width: 1023px){[_nghost-%COMP%] .after:not(:first-of-type) .timeline-slide{opacity:1}}[_nghost-%COMP%] .slider-controls .slider-control{height:32vw!important}@media (max-width: 1023px){[_nghost-%COMP%] .slider-controls .slider-control{height:64vw!important}}"],changeDetection:0})}}return n})(),br=(()=>{class n{constructor(t){this.pageHeadersService=t}ngOnInit(){this.pageHeadersService.dispatchPageDescriptionPrefix(this.content.marketProfileName.value)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Ue.V))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-market-maker-profile"]],inputs:{content:"content"},decls:3,vars:21,consts:[["id","market-maker-profile",1,"market-maker-profile-component","gtm-track-component","component"],[1,"wrapper","x-large-width","x-large-width-padding"],[3,"backToLocation","backToLabel","profileLogo","profileName","profileCode","profileSummary","profileAddress","profileWebsite","profileEmail","profilePhone","informationLabel","isBroker","brokerLabel","isMarketMaker","marketMakerLabel","isAimAdviser","aimAdviserLabel","isMember","memberLabel","contact","firmId"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"div",1),e.nrm(2,"app-directory-profile",2),e.k0s()()),2&i&&(e.R7$(2),e.Y8G("backToLocation","market-maker-list")("backToLabel",o.content.backToLabel.value)("profileLogo",o.content.marketProfileLogo)("profileName",o.content.marketProfileName)("profileCode",null)("profileSummary",o.content.marketProfileSummary)("profileAddress",o.content.marketProfileAddress)("profileWebsite",o.content.marketProfileWebsite)("profileEmail",o.content.marketProfileEmail)("profilePhone",o.content.marketProfilePhone)("informationLabel",null)("isBroker",o.content.marketProfileIsBroker.value)("brokerLabel",o.content.marketProfileBrokerLabel.value)("isMarketMaker",!1)("marketMakerLabel",null)("isAimAdviser",o.content.marketProfileIsAimAdviser.value)("aimAdviserLabel",o.content.marketProfileAimLabel.value)("isMember",!0)("memberLabel",o.content.marketProfileMemberLabel.value)("contact",null)("firmId",o.content.marketProfileFirmId.value))}
1,dependencies:[Gt],styles:[".market-maker-profile-component[_ngcontent-%COMP%]{padding-top:1.5rem}"],changeDetection:0})}}return n})();function qj(n,r){1&n&&(e.j41(0,"div",24),e.EFF(1,"Input value not valid. "),e.k0s())}function Uj(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"form",10),e.bIt("ngSubmit",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onSubmit())}),e.j41(2,"div")(3,"div",11)(4,"label",12),e.EFF(5),e.k0s(),e.nrm(6,"input",13),e.k0s(),e.j41(7,"div",11)(8,"label",12),e.EFF(9),e.k0s(),e.nrm(10,"input",14),e.k0s()(),e.j41(11,"div")(12,"div",11)(13,"label",15),e.EFF(14),e.k0s(),e.nrm(15,"input",16),e.DNE(16,qj,2,0,"div",17),e.k0s()(),e.j41(17,"div",18)(18,"textarea",19),e.EFF(19),e.k0s()(),e.j41(20,"div",20),e.nrm(21,"input",21),e.j41(22,"label",22),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.togglePrivacy())}),e.EFF(23),e.k0s()(),e.j41(24,"button",23),e.EFF(25),e.k0s()(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("formGroup",t.form),e.R7$(4),e.SpI(" ",t.content.firstNameLabel.value,""),e.R7$(),e.FS9("placeholder",t.content.firstNameText.value),e.R7$(3),e.SpI(" ",t.content.lastNameLabel.value,""),e.R7$(),e.FS9("placeholder",t.content.lastNameText.value),e.R7$(2),e.AVh("has-error",!t.form.controls.email.valid&&t.form.controls.email.touched),e.R7$(2),e.SpI(" ",t.content.emailLabel.value,""),e.R7$(),e.FS9("placeholder",t.content.emailText.value),e.R7$(),e.Y8G("ngIf",!t.form.controls.email.valid&&t.form.controls.email.touched),e.R7$(3),e.JRh(t.content.subscriptionLegalText.value),e.R7$(2),e.Y8G("checked",t.privacyAllowed),e.R7$(2),e.SpI(" ",t.content.privacyLabel.value," "),e.R7$(),e.Y8G("disabled",!t.form.valid),e.R7$(),e.SpI(" ",t.content.subscriptionSubmitLabel.value," ")}}function zj(n,r){if(1&n&&e.EFF(0),2&n){const t=e.XpG();e.SpI(" ",t.content.thankyouMessage.value," ")}}let Cr=(()=>{class n{get privacyAllowed(){return this._privacyAllowed}constructor(t,i,o,a,s,c){this.cdr=t,this.renderer=i,this.elementRef=o,this.fb=a,this.http=s,this.config=c,this.showThankyou=!1,this.baseUrl=this.config.apiServer,this.list=M.c.endpoints.mailingListEndpoint,this._privacyAllowed=!1}ngOnInit(){this.form=this.fb.group({firstname:null,lastname:null,email:null,privacyinfoallowed:!1})}openModal(){const t=this.elementRef.nativeElement.querySelector("#subscription-modal-form");this.renderer.addClass(t,"open-modal")}closeModal(){const t=this.elementRef.nativeElement.querySelector("#subscription-modal-form");this.renderer.removeClass(t,"open-modal"),this.showThankyou=!1}onSubmit(){var t=this;return(0,_.A)(function*(){if(t.form.valid){const i={email:t.form.get("email").value,firstname:t.form.get("firstname").value,lastname:t.form.get("lastname").value,privacyinfoallowed:t.form.get("privacyinfoallowed").value},o=t.baseUrl+t.list.replace("{mailinglistids}",t.content.mailingListIds.value);yield t.put(o,i)?.subscribe(()=>{t.showThankyou=!0,t.form.reset(),t.cdr.markForCheck()},a=>(0,te.z3)(a))}})()}put(t,i){return this.http.put(t,i)}togglePrivacy(){this._privacyAllowed=!this._privacyAllowed,this.form.controls.privacyinfoallowed.setValue(this.privacyAllowed)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.gRc),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(g.ze),e.rXU(F.Qq),e.rXU(Le.w))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-subscription-form"]],inputs:{content:"content"},decls:14,vars:6,consts:[["thankYouMessage",""],["id","subscription-form",1,"component","subscription-form","wrapper","x-large-width","x-large-width-padding","gtm-track-component"],[1,"open-subscription","fake-link","regular-font-size","gtm-open-modal",3,"click"],["id","subscription-modal-form",1,"overlay-container","modal-form","gtm-track-component"],[1,"overlay","modal-overlay","gtm-close-modal",3,"click"],[1,"overlay-wrapper","form-wrapper"],[1,"close-icon"],[1,"close-overlay","gtm-close-modal",3,"click"],[1,""],[4,"ngIf","ngIfElse"],[1,"slide-form","regular-font-size","gtm-track-form",3,"ngSubmit","formGroup"],[1,"form-group"],["for","input-name-address",1,"bold-font-weight"],["formControlName","firstname","firstname","firstname","type","firstname","
1id","survey-firstname-address","aria-describedby","firstname-address",1,"form-control",3,"placeholder"],["formControlName","lastname","lastname","lastname","type","lastname","id","survey-lastname-address","aria-describedby","lastname-address",1,"form-control",3,"placeholder"],["for","survey-email-address",1,"bold-font-weight"],["formControlName","email","name","email","type","email","id","survey-email-address","aria-describedby","email-address","required","",1,"form-control",3,"placeholder"],["class","alert small-font-size",4,"ngIf"],[1,"legal","form-group"],["readonly",""],[1,"privacy-label"],["formControlName","privacyinfoallowed","type","checkbox","name","privacyinfoallowed","value","true","required","",1,"form-check-input",3,"checked"],[1,"form-check-label",3,"click"],["type","submit",1,"gold-button","gtm-trackable",3,"disabled"],[1,"alert","small-font-size"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"section",1)(1,"span",2),e.bIt("click",function(){return e.eBV(a),e.Njj(o.openModal())}),e.EFF(2),e.k0s()(),e.j41(3,"div",3)(4,"div",4),e.bIt("click",function(){return e.eBV(a),e.Njj(o.closeModal())}),e.k0s(),e.j41(5,"div",5)(6,"div",6)(7,"div",7),e.bIt("click",function(){return e.eBV(a),e.Njj(o.closeModal())}),e.k0s()(),e.j41(8,"div",8)(9,"h2"),e.EFF(10),e.k0s(),e.DNE(11,Uj,26,15,"ng-container",9)(12,zj,1,1,"ng-template",null,0,e.C5r),e.k0s()()()}if(2&i){const a=e.sdS(13);e.AVh("m-64","1"===(null==o.content.uxPadding?null:o.content.uxPadding.value)),e.R7$(2),e.JRh(o.content.linkLabel.value),e.R7$(8),e.JRh(o.content.subscriptionFormTitle.value),e.R7$(),e.Y8G("ngIf",!o.showThankyou)("ngIfElse",a)}},dependencies:[l.bT,g.qT,g.me,g.Zm,g.BC,g.cb,g.YS,g.xq,g.j4,g.JD],styles:[".form-wrapper[_ngcontent-%COMP%]{margin:0 auto;max-width:38rem}textarea[_ngcontent-%COMP%]{border:.0625rem solid #b2b2b2;height:12rem;line-height:1.5rem;padding:1rem;width:100%}.privacy-label[_ngcontent-%COMP%]{margin-bottom:1.5rem;padding-left:1.25rem}button[_ngcontent-%COMP%]{display:block;margin:0 auto}@media (max-width: 768px){.overlay-wrapper[_ngcontent-%COMP%]{inset:0;overflow:scroll;position:fixed;width:100%}}"],changeDetection:0})}}return n})();function Hj(n,r){if(1&n&&(e.j41(0,"span",7),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.label)}}function Wj(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",12),e.bIt("click",function(){e.eBV(t);const o=e.XpG().index,a=e.XpG(5);return e.Njj(a.toggleSubAccordion(o))}),e.DNE(1,Hj,2,1,"span",13),e.nrm(2,"span",14),e.k0s()}if(2&n){const t=e.XpG(),i=t.$implicit,o=t.index,a=e.XpG(5);e.AVh("active-sub-accordion",a.activeSubAccordion===o),e.R7$(),e.Y8G("ngIf",i.label)}}function Jj(n,r){if(1&n&&(e.j41(0,"a",18),e.nI1(1,"safeUrl"),e.EFF(2),e.k0s()),2&n){const t=e.XpG().$implicit;e.Y8G("href",e.bMT(1,2,t.link),e.B4B),e.R7$(2),e.JRh(t.label)}}function Kj(n,r){if(1&n&&(e.j41(0,"div",16),e.DNE(1,Jj,3,4,"a",17),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.label&&t.link)}}function Qj(n,r){if(1&n&&(e.qex(0),e.DNE(1,Kj,2,1,"div",15),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngForOf",t.links)}}function Zj(n,r){if(1&n&&(e.j41(0,"div",10),e.DNE(1,Wj,3,3,"div",11)(2,Qj,2,1,"ng-container",3),e.k0s()),2&n){const t=r.$implicit,i=r.index,o=e.XpG(4).$implicit,a=e.XpG();e.R7$(),e.Y8G("ngIf",o.history.value.items.length>1),e.R7$(),e.Y8G("ngIf",a.activeSubAccordion===i&&t.links)}}function eN(n,r){if(1&n&&(e.qex(0),e.DNE(1,Zj,3,2,"div",9),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.Y8G("ngForOf",t.history.value.items)}}function tN(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",5)(1,"div",6),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2).index,a=e.XpG();return e.Njj(a.toggleAccordion(o))}),e.j41(2,"span",7),e.EFF(3),e.k0s(),e.nrm(4,"span",8),e.k0s(),e.DNE(5,eN,2,1,"ng-container",3),e.k0s()}if(2&n){const t=e.XpG(2),i=t.$implicit,o=t.index,a=e.XpG();e.AVh("active-accordion",a.getActiveAccordion(o)),e.R7$(3),e.JRh(i.history.value.label),e.R7$(2),e.Y8G("ngIf",a.getActiveAccordion(o)&&i.history.value.items)}}function nN(n,r){if(1&n&&(e.qex(0),e.DNE(1,tN,6,4,"div",4),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.history.value.label)}}function iN(n,r){if(1&n&&(e.j41(0,"div"),e.nrm(1,"app-download-single",2),e.DNE(2,nN,2,1,"ng-container",3),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("content",t),e.R7$(),e.Y8G("ngIf",t.history.value&&"-"!==t.history.value)}}p(337);let Tr=(()=>{class n{constructor(t){this.cdr=t,this.activeAccordion=new Map,this.activeSubAccordion=0}ngOnInit(){this.content.ctaItems.map((t,i)=>{this.activeAccordion.set(i,!!(t&&t.history&&t.history.value)&&t.history.value.expanded)})}getActiveAccordion(t){return!!this.activeAccordion&&!!this.activeAccordion.get(t)}toggleAccordion(t){this.activeAccordion.set(t,!this.getActiveAccordion(t)),this.cdr.markForCheck()}toggleSubAccordion(t){this.activeSubAccordion=this.activeSubAccordion===t?-1:t,this.cdr.markForCheck()}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-reports-filter-toggle-result"]],inputs:{content:"content"},decls:2,vars:3,consts:[["id","reports-filter-toggle-result",1,"reports-filter-toggle-result","component","gtm-track-component"],[4,"ngFor","ngForOf"],[3,"content"],[4,"ngIf"],["class","row-group accordion-container wrapper x-large-width x-large-width-padding",3,"active-accordion",4,"ngIf"],[1,"row-group","accordion-container","wrapper","x-large-width","x-large-width-padding"],[1,"accordion-header","gtm-trackable",3,"click"],[1,"bold-font-weight","bar-title"],[1,"accordion-toggler"],["class","history-wrapper",4,"ngFor","ngForOf"],[1,"history-wrapper"],["class","sub-accordion-header",3,"active-sub-accordion","click",4,"ngIf"],[1,"sub-accordion-header",3,"click"],["class","bold-font-weight bar-title",4,"ngIf"],[1,"sub-accordion-toggler"],["class","link-wrapper",4,"ngFor","ngForOf"],[1,"link-wrapper"],["class","black-link",3,"href",4,"ngIf"],[1,"black-link",3,"href"]],template:function(i,o){1&i&&(e.j41(0,"section",0),e.DNE(1,iN,3,2,"div",1),e.k0s()),2&i&&(e.AVh("m-64","1"===(null==o.content.uxPadding?null:o.content.uxPadding.value)),e.R7$(),e.Y8G("ngForOf",o.content.ctaItems))},dependencies:[l.Sq,l.bT,Gn,Rt.d],styles:['.reports-filter-toggle-result[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-bottom:1.5rem}.history-wrapper[_ngcontent-%COMP%]{border:.0625rem solid #b2b2b2;border-top:0}.history-wrapper[_ngcontent-%COMP%]:first-child{border-top:.0625rem solid #b2b2b2!important}.history-wrapper[_ngcontent-%COMP%] .sub-accordion-header[_ngcontent-%COMP%]{min-height:3.25rem;padding:1rem 1.5rem}.history-wrapper[_ngcontent-%COMP%] .link-wrapper[_ngcontent-%COMP%]{padding:0 1.5rem .8rem}.history-wrapper[_ngcontent-%COMP%] .link-wrapper[_ngcontent-%COMP%]:first-child{padding-top:.8rem}.history-wrapper[_ngcontent-%COMP%] .sub-accordion-toggler[_ngcontent-%COMP%]{float:right;position:relative}.history-wrapper[_ngcontent-%COMP%] .sub-accordion-toggler[_ngcontent-%COMP%]:before{background-image:url(assets/static/selector_dropdown_down_black.svg);background-repeat:no-repeat;background-size:contain;content:"";cursor:pointer;height:2.5rem;margin-top:-.325rem;position:absolute;right:0;top:50%;transform:scale(.4);width:2.5rem}.history-wrapper[_ngcontent-%COMP%] .sub-accordion-header.active-sub-accordion[_ngcontent-%COMP%] .sub-accordion-toggler[_ngcontent-%COMP%]:before{background-image:url(assets/static/selector_dropdown_up_black.svg)}'],changeDetection:0})}}return n})();function oN(n,r){if(1&n&&(e.j41(0,"h2"),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.marketListTitle.value," ")}}function rN(n,r){if(1&n&&(e.j41(0,"div",8),e.nrm(1,"p",9),e.nI1(2,"safeHtml"),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("innerHTML",e.bMT(2,1,t.content.marketListSummary.value),e.npT)}}function aN(n,r){if(1&n&&(e.j41(0,"a",10),e.EFF(1),e.nrm(2,"span",11),e.k0s()),2&n){const t=e.XpG();e.Y8G("href",t.downloadListLink,e.B4B),e.R7$(),e.SpI(" ",t.content.marketListDownloadTitle.value," ")}}function sN(n,r){if(1&n&&(e.j41(0,"h4",17),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.key)}}function lN(n,r){if(1&n&&(e.qex(0),e.j41(1,"a",20),e.nI1(2,"directoriesProfileUrl"),e.EFF(3),e.k0s(),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("href",e.i5U(2,2,t,"market-maker-profile"),e.B4B),e.R7$(2),e.JRh(t.firmname.value)}}function cN(n,r){1&n&&e.eu8(0)}function pN(n,r){if(1&n&&(e.j41(0,"div",18),e.DNE(1,lN,4,5,"ng-container",3)(2,cN,1,0,"ng-container",19),e.k0s()),2&n){const t=r.$implicit;e.XpG(3);const i=e.sdS(8);e.R7$(),e.Y8G("ngIf",!t.firmname.errorText&&t.firmname.visibility),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.firmname.errorText)}}function mN(n,r){if(1&n&&(e.j41(0,"div",14),e.DNE(1,sN,2,1,"h4",15)(2,pN,3,3,"div",16),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.key),e.R7$(),e.Y8G("ngForOf",t.value)}}function _N(n,r){if(1&n&&(e.j41(0,"div",12),e.DNE(1,mN,3,2,"div",13),e.nI1(2,"groupBy"),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",e.i5U(2,1,t.content.marketList,"initial"))}}function dN(n,r){if(1&n&&e.nrm(0,"app-hide-field",22),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function uN(n,r){1&n&&e.DNE(0,dN,1,1,"app-hide-field",21),2&n&&e.Y8G("ngIf",r.errorText)}let xr=(()=>{class n{constructor(t){this.config=t}ngOnInit(){this.setDownloadListLink()}setDownloadListLink(){this.downloadListLink=this.config.apiServer+M.c.endpoints.downloadMarketMakerList}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Le.w))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-market-maker-list"]],inputs:{content:"content"},decls:9,vars:4,consts:[["emptyvalue",""],["id","market-maker-list",1,"market-maker-list","component","gtm-track-component"],[1,"market-maker-list-wrapper","wrapper","x-large-width","x-large-width-padding"],[4,"ngIf"],["class","legal-text base-font-size",4,"ngIf"],[1,"market-maker-list-download","flex-wrapper","flex-align-en
1d","hide-on-mobile"],["class","cta-button gold-button big-font-size outline bold-font-weight","target","_blank",3,"href",4,"ngIf"],["class","market-maker-list-list",4,"ngIf"],[1,"legal-text","base-font-size"],[3,"innerHTML"],["target","_blank",1,"cta-button","gold-button","big-font-size","outline","bold-font-weight",3,"href"],[1,"cta-document"],[1,"market-maker-list-list"],["class","search-name-letter",4,"ngFor","ngForOf"],[1,"search-name-letter"],["class","bold-font-weight",4,"ngIf"],["class","search-name-term",4,"ngFor","ngForOf"],[1,"bold-font-weight"],[1,"search-name-term"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"black-link",3,"href"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"section",1)(1,"div",2),e.DNE(2,oN,2,1,"h2",3)(3,rN,3,3,"div",4),e.j41(4,"div",5),e.DNE(5,aN,3,2,"a",6),e.k0s(),e.DNE(6,_N,3,4,"div",7),e.k0s()(),e.DNE(7,uN,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.R7$(2),e.Y8G("ngIf",o.content.marketListTitle.value),e.R7$(),e.Y8G("ngIf",o.content.marketListSummary.value),e.R7$(2),e.Y8G("ngIf",o.content.marketListDownloadTitle.value),e.R7$(),e.Y8G("ngIf",o.content.marketList))},dependencies:[l.Sq,l.bT,l.T3,y.W,be.$,St,Pt],styles:[".market-maker-list[_ngcontent-%COMP%]{margin-bottom:2.5rem;padding-top:2.5rem}.market-maker-list-download[_ngcontent-%COMP%]{justify-content:flex-end}.aim-adviser-search[_ngcontent-%COMP%]{padding:1.5rem 0}.search-name-letter[_ngcontent-%COMP%]{position:relative}.search-name-letter[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{align-items:center;background-color:#001eff;border-radius:50%;color:#fff;display:flex;font-size:1.75rem;height:5rem;justify-content:center;margin-bottom:2.5rem;margin-top:1.5rem;padding:1rem;width:5rem}.search-name-term[_ngcontent-%COMP%]{display:block;padding-bottom:1.3rem}.back-to-top[_ngcontent-%COMP%]{margin-top:1.5rem}a[_ngcontent-%COMP%]{text-decoration:none}a[_ngcontent-%COMP%]:hover{text-decoration:underline}"],changeDetection:0})}}return n})(),An=(()=>{class n{constructor(t){this.pageHeadersService=t}ngOnInit(){this.pageHeadersService.dispatchPageDescriptionPrefix(this.content.memberFirmBrokerName.value)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(Ue.V))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-member-firm-broker-profile"]],inputs:{content:"content"},decls:3,vars:21,consts:[["id","member-firm-broker-profile",1,"member-firm-broker-profile-component","gtm-track-component","component"],[1,"wrapper","x-large-width","x-large-width-padding"],[3,"backToLocation","backToLabel","profileLogo","profileName","profileCode","profileSummary","profileAddress","profileWebsite","profileEmail","profilePhone","informationLabel","isBroker","brokerLabel","isMarketMaker","marketMakerLabel","isAimAdviser","aimAdviserLabel","isMember","memberLabel","contact","firmId"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"div",1),e.nrm(2,"app-directory-profile",2),e.k0s()()),2&i&&(e.R7$(2),e.Y8G("backToLocation","broker-directory-search")("backToLabel",o.content.backToLabel.value)("profileLogo",o.content.memberFirmBrokerLogo)("profileName",o.content.memberFirmBrokerName)("profileCode",null)("profileSummary",o.content.memberFirmBrokerSummary)("profileAddress",o.content.memberFirmBrokerHeadOfficeAddress)("profileWebsite",o.content.memberFirmBrokerWebsite)("profileEmail",o.content.memberFirmBrokerEmail)("profilePhone",o.content.memberFirmBrokerPhone)("informationLabel",null)("isBroker",!1)("brokerLabel",null)("isMarketMaker",o.content.memberFirmBroklerIsMarketMaker.value)("marketMakerLabel",o.content.memberFirmBrokerMarketMakerLabel.value)("isAimAdviser",o.content.memberFirmBrokerIsAimAdviser.value)("aimAdviserLabel",o.content.memberFirmBrokerAimAdvisorLabel.value)("isMember",o.content.memberFirmBrokerIsMember.value)("memberLabel",o.content.memberFirmBrokerMemberProfileLabel.value)("contact",null)("firmId",o.content.memberFirmBrokerFirmId.value))},dependencies:[Gt],styles:[".member-firm-broker-profile-component[_ngcontent-%COMP%]{padding:1.5rem 0}"],changeDetection:0})}}return n})();function gN(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI("",t.content.turquoiseInstrumentName.value," ")}}function hN(n,r){1&n&&e.eu8(0)}function fN(n,r){if(1&n&&(e.j41(0,"h1",8),e.DNE(1,gN,2,1,"ng-container",9)(2,hN,1,0,"ng-container",10),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(8);e.R7$(),e.Y8G("ngIf",!t.content.turquoiseInstrumentName.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.turquoiseInstrumentName)}}function vN(n,r){if(1&n&&e.nrm(0,"app-hide-field",12),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function bN(n,r){1&n&&e.DNE(0,vN,1,1,"app-hide-field",11),2&n&&e.Y8G("ngIf",r.errorText)}let kr=(()=>{class n{constructor(t){this.dynamicBreadcrumb=t}ngOnInit(){this.dynamicBreadcrumb.setBreadcrumbPageTitle(this.content.turquoiseInstrumentName.value)}ngOnDestroy(){this.dynamicBreadcrumb?.deleteBreadcrumbPageTitle()}bgStyle(){if(this.content.heroImage.value)return{"background-image":`url(${this.content.heroImage.value})`}}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(V))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-turquoise-hero"]],inputs:{content:"content"},decls:9,vars:8,consts:[["emptyvalue",""],["id","turquoise-hero",1,"turquoise-hero","full-width","gtm-track-component"],[1,"cover-image",3,"ngStyle"],[1,"hero-cover","overlay"],[1,"wrapper","x-large-width","x-large-width-padding"],["class","instrument-name font-bold hero-font",4,"ngIf"],[1,"instrument-share"],[3,"shareButton","companyName"],[1,"instrument-name","font-bold","hero-font"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"section",1)(1,"div",2)(2,"div",3)(3,"div",4),e.DNE(4,fN,3,3,"h1",5),e.j41(5,"div",6),e.nrm(6,"app-share-buttons",7),e.k0s()()()()(),e.DNE(7,bN,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.R7$(),e.AVh("default-cover-image",!o.content.heroImage.visibility||!o.content.heroImage.value),e.Y8G("ngStyle",o.bgStyle()),e.R7$(3),e.Y8G("ngIf",o.content.turquoiseInstrumentName.visibility),e.R7$(2),e.Aen("white"),e.Y8G("shareButton","Share")("companyName",o.content.turquoiseInstrumentName.value))},dependencies:[l.bT,l.T3,l.B3,y.W,Z],styles:[".turquoise-hero[_ngcontent-%COMP%]{margin-bottom:4rem}
1.instrument-name[_ngcontent-%COMP%]{color:#fff;overflow:hidden;overflow-wrap:break-word;text-align:center;word-break:break-word}.instrument-share[_ngcontent-%COMP%]{margin-bottom:1.25rem}.hero-cover[_ngcontent-%COMP%]{min-height:12rem;overflow:hidden;padding:5rem 0 3.139rem;position:relative}@media (max-width: 768px){.hero-cover[_ngcontent-%COMP%]{padding-bottom:3rem}}"],changeDetection:0})}}return n})();function CN(n,r){if(1&n&&e.nrm(0,"app-index-item",10),2&n){const t=e.XpG().$implicit;e.Y8G("item",t)("itemValue",t.value||null)}}function TN(n,r){if(1&n&&(e.qex(0),e.DNE(1,CN,1,2,"app-index-item",9),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.visibility)}}function xN(n,r){if(1&n&&(e.j41(0,"div",11),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.legalText.value," ")}}let qn=(()=>{class n{set content(t){this._content!==t&&(this._content=t,this.tableItemArray=this.getTradingInformation())}get content(){return this._content}constructor(t){this.refreshService=t,this.tableItemArray=[]}ngOnInit(){this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content)}ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id)}getTradingInformation(){return this.getFieldValues(["tctLastQuantity","tctOpening","tctTurnover","tctVolume","tctIsin","tctSymbol","tctCurrency","tctPrimaryVenueOfInstrument"])}getFieldValues(t){const i={tctLastQuantity:this.content.tctLastQuantity,tctOpening:this.content.tctOpening,tctTurnover:this.content.tctTurnover,tctVolume:this.content.tctVolume,tctIsin:this.content.tctIsin,tctSymbol:this.content.tctSymbol,tctCurrency:this.content.tctCurrency,tctPrimaryVenueOfInstrument:this.content.tctPrimaryVenueOfInstrument};return t.map(o=>i[o])}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(j.W))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-turquoise-chart-table"]],inputs:{id:"id",position:"position",type:"type",content:"content"},decls:10,vars:5,consts:[["id","turquoise-chart-table",1,"turquoise-chart-table","gtm-track-component","component"],[1,"turquoise-chart-table-component","wrapper","x-large-width","x-large-width-padding","component-refresh"],[1,"turquoise-chart-table-trading-information"],[1,"component-header"],[1,"regular-font-size","section-title"],[3,"whatsThisLink","whatsThisText"],[1,"flex-wrapper"],[4,"ngFor","ngForOf"],["class","turquoise-chart-table-footer small-font-size",4,"ngIf"],[3,"item","itemValue",4,"ngIf"],[3,"item","itemValue"],[1,"turquoise-chart-table-footer","small-font-size"]],template:function(i,o){1&i&&(e.j41(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h3",4),e.EFF(5),e.k0s(),e.nrm(6,"app-whats-this",5),e.k0s(),e.j41(7,"div",6),e.DNE(8,TN,2,1,"ng-container",7),e.k0s()(),e.DNE(9,xN,2,1,"div",8),e.k0s()()),2&i&&(e.R7$(5),e.SpI(" ",o.content.tableTitle.value," "),e.R7$(),e.Y8G("whatsThisLink",o.content.whatsThisLink)("whatsThisText",o.content.whatsThisText),e.R7$(2),e.Y8G("ngForOf",o.tableItemArray),e.R7$(),e.Y8G("ngIf",o.content.legalText))},dependencies:[l.Sq,l.bT,zt,ae],styles:[".turquoise-chart-table-footer[_ngcontent-%COMP%]{color:#999}"],changeDetection:0})}}return n})();var yr=p(1301);function kN(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.j41(2,"strong"),e.EFF(3),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.turquoiseTickerCurrency.label," "),e.R7$(2),e.SpI("(",t.content.turquoiseTickerCurrency.value,")")}}function yN(n,r){1&n&&e.eu8(0)}function wN(n,r){if(1&n&&(e.j41(0,"div",34),e.DNE(1,kN,4,2,"ng-container",16)(2,yN,1,0,"ng-container",35),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(47);e.R7$(),e.Y8G("ngIf",!t.content.turquoiseTickerCurrency.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.turquoiseTickerCurrency)}}function IN(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",e.bMT(2,1,t.content.turquoiseTickerValue.value)," ")}}function MN(n,r){1&n&&e.eu8(0)}function ON(n,r){if(1&n&&(e.j41(0,"span",36),e.DNE(1,IN,3,3,"ng-container",16)(2,MN,1,0,"ng-container",35),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(47);e.R7$(),e.Y8G("ngIf",!t.content.turquoiseTickerValue.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.turquoiseTickerValue)}}function RN(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",e.bMT(2,1,t.content.turquoiseTickerPercentualchange.value),"% ")}}function FN(n,r){1&n&&e.eu8(0)}function PN(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,RN,3,3,"ng-container",16)(2,FN,1,0,"ng-container",35),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(47);e.R7$(),e.Y8G("ngIf",!t.content.turquoiseTickerPercentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.turquoiseTickerPercentualchange)}}function GN(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" (",e.bMT(2,1,t.content.turquoiseTickerNetchange.value),") ")}}function SN(n,r){1&n&&e.eu8(0)}function $N(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,GN,3,3,"ng-container",16)(2,SN,1,0,"ng-container",35),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(47);e.R7$(),e.Y8G("ngIf",!t.content.turquoiseTickerNetchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.turquoiseTickerNetchange)}}function EN(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"turquoiseSymbol"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",e.bMT(2,1,t.content.turquoiseTickerSymbol.value)," ")}}function DN(n,r){1&n&&e.eu8(0)}function jN(n,r){if(1&n&&(e.j41(0,"span",37),e.DNE(1,EN,3,3,"ng-container",16)(2,DN,1,0,"ng-container",35),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(47);e.R7$(),e.Y8G("ngIf",!t.content.turquoiseTickerSymbol.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.turquoiseTickerSymbol)}}function NN(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.turquoiseTickerName.value," ")}}function YN(n,r){1&n&&e.eu8(0)}function XN(n,r){if(1&n&&(e.j41(0,"span",38),e.DNE(1,NN,2,1,"ng-container",16)(2,YN,1,0,"ng-container",35),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(47);e.R7$(),e.Y8G("ngIf",!t.content.turquoiseTickerName.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.turquoiseTickerName)}}function BN(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.content.turquoiseTickerLastclose.label)}}function VN(n,r){if(1&n&&(e.j41(0,"div",39),e.DNE(1,BN,2,1,"span",16),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.content.turquoiseTickerLastclose.errorText)}}function LN(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",e.bMT(2,1,t.content.turquoiseTickerLastclose.value)," ")}}function AN(n,r){if(1&n&&(e.j41(0,"span",41),e.EFF(1),e.nI1(2,"customdate"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" on ",e.brH(2,1,t.content.turquoiseTickerLastsessiondate.value,"short-month","Europe/London")," ")}}function qN(n,r){1&n&&e.eu8(0)}function UN(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,LN,3,3,"ng-container",16)(2,AN,3,5,"span",40)(3,qN,1,0,"ng-container",35),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(47);e.R7$(),e.Y8G("ngIf",!t.content.turquoiseTickerLastclose.errorText),e.R7$(),e.Y8G("ngIf",t.content.turquoiseTickerLastsessiondate.value),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.turquoiseTickerLastclose)}}function zN(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.content.turquoiseTickerHighlow.label)}}function HN(n,r){if(1&n&&(e.j41(0,"div",42),e.DNE(1,zN,2,1,"span",16),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.content.turquoiseTickerHighlow.errorText)}}function WN(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",43),e.EFF(2),e.nI1(3,"customnumber"),e.k0s(),e.EFF(4," / "),e.j41(5,"span",44),e.EFF(6),e.nI1(7,"customnumber"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,2,null==t.content.turquoiseTickerHighlow.value?null:t.content.turquoiseTickerHighlow.value.high)),e.R7$(4),e.JRh(e.bMT(7,4,null==t.content.turquoiseTickerHighlow.value?null:t.content.turquoiseTickerHighlow.value.low))}}function JN(n,r){1&n&&e.eu8(0)}function KN(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,WN,8,6,"ng-container",16)(2,JN,1,0,"ng-container",35),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(47);e.R7$(),e.Y8G("ngIf",!t.content.turquoiseTickerHighlow.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.turquoiseTickerHighlow)}}function QN(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t.content.turquoiseTickerVolume.label)}}function ZN(n,r){if(1&n&&(e.j41(0,"div",45),e.DNE(1,QN,2,1,"span",16),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.content.turquoiseTickerVolume.errorText)}}function eY(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",e.brH(2,1,t.content.turquoiseTickerVolume.value,"","1.0-0")," ")}}function tY(n,r){1&n&&e.eu8(0)}function nY(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,eY,3,5,"ng-container",16)(2,tY,1,0,"ng-container",35),e.k0s()),2&n){const t=e.XpG(),i=e.sdS(47);e.R7$(),e.Y8G("ngIf",!t.content.turquoiseTickerVolume.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.content.turquoiseTickerVolume)}}function iY(n,r){if(1&n&&(e.j41(0,"div",46),e.EFF(1),e.nrm(2,"app-whats-this",8),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Lme(" ",t.content.cryptoETN.label,": ",t.content.cryptoETN.value," "),e.R7$(),e.Y8G("whatsThisLink",t.content.whatsThisLinkCryptoEtn)("whatsThisText",t.content.whatsThisTextCryptoEtn)}}function oY(n,r){if(1&n&&(e.j41(0,"div",46),e.EFF(1),e.nrm(2,"app-whats-this",8),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Lme(" ",t.content.professionalInvestorsOnly.label,": ",t.content.professionalInvestorsOnly.value," "),e.R7$(),e.Y8G("whatsThisLink",t.content.whatsThisLinkProfInvOnly)("whatsThisText",t.content.whatsThisTextProfInvOnly)}}function rY(n,r){if(1&n&&e.nrm(0,"app-hide-field",48),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function aY(n,r){1&n&&e.DNE(0,rY,1,1,"app-hide-field",47),2&n&&e.Y8G("ngIf",r.errorText)}let wr=(()=>{class n{constructor(t,i,o,a,s){this.cssmapping=t,this.refreshService=i,this.pageTitleService=o,this.pageHeadersService=a,this.store=s}ngOnInit(){this.pageTitleService.dispatchPageTitlePrefix([this.content.turquoiseTickerName.value,this.content.turquoiseTickerSymbol.value]),this.pageHeadersService.dispatchPageDescriptionPrefix(`${this.content.turquoiseTickerName.value} ${this.content.turquoiseTickerSymbol.value}`),this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content),this.store.dispatch((0,h.Ai)({instrument:{tidm:this.content.turquoiseTickerSymbol,instrumenttype:{value:"turquoise"}}}))}
1ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id)}tickerCssClass(t){return this.cssmapping.cssClass(t)}getTooltipValue(t,i){return`${t.visibility&&t.value?(new yr.o).transform(t.value):""} ${i.visibility&&i.value?i.value:""}`.trim()}netchangeCssClass(t){return this.cssmapping.getNetChangeClass(t)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o),e.rXU(j.W),e.rXU(pe.P),e.rXU(Ue.V),e.rXU(u.il))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-turquoise-ticker"]],inputs:{content:"content",id:"id",position:"position",type:"type",status:"status"},decls:48,vars:32,consts:[["emptyvalue",""],["id","turquoise-ticker","itemscope","","itemtype","https://schema.org/Corporation",1,"turquoise-ticker-component","component","wrapper","x-large-width","x-large-width-padding","gtm-track-component"],[1,"component-refresh","flex-wrapper"],[1,"ticker-separator","flex-wrapper"],[1,"ticker-main"],[1,"wrapper"],[1,"ticker-logo"],["src","assets/images/turquoise-logo-new.png","alt","turquoise logo"],[3,"whatsThisLink","whatsThisText"],[1,"wrapper","flex-container","ticker-header"],[1,"ticker-price"],[1,"price-container"],["class","currency-label small-font-size item-label",4,"ngIf"],[1,"last-price","larger-font-size","bold-font-weight"],["class","price-tag",4,"ngIf"],[1,"price-change","large-font-size","bold-font-weight",3,"ngClass"],[4,"ngIf"],[1,"net-change","large-font-size","bold-font-weight",3,"ngClass"],["mat-raised-button","","matTooltipClass","custom-lse-tooltip",3,"matTooltip"],["class","ticker-name larger-font-size medium-font-weight","itemprop","tickerSymbol",4,"ngIf"],["class","ticker-description large-font-size medium-font-weight","itemprop","name",4,"ngIf"],[1,"wrapper","ticker-slice","mobile-flex-wrapper"],[1,"flex-wrapper","ticker-fields"],[1,"ticker-item"],["class","small-font-size item-label last-label",4,"ngIf"],[1,"bigger-font-size","bold-font-weight","last-value"],["class","small-font-size item-label high-low-label",4,"ngIf"],[1,"bigger-font-size","bold-font-weight","high-low-value"],["class","small-font-size item-label volume-label",4,"ngIf"],[1,"bigger-font-size","bold-font-weight","volume-value"],["class","small-font-size item-label",4,"ngIf"],[1,"ticker-item","delay"],[1,"small-font-size"],[1,"bold-font-weight"],[1,"currency-label","small-font-size","item-label"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"price-tag"],["itemprop","tickerSymbol",1,"ticker-name","larger-font-size","medium-font-weight"],["itemprop","name",1,"ticker-description","large-font-size","medium-font-weight"],[1,"small-font-size","item-label","last-label"],["class","regular-font-size",4,"ngIf"],[1,"regular-font-size"],[1,"small-font-size","item-label","high-low-label"],[1,"high-value"],[1,"low-value"],[1,"small-font-size","item-label","volume-label"],[1,"small-font-size","item-label"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"div",1)(1,"div",2)(2,"section",3)(3,"div",4)(4,"div",5)(5,"span",6),e.nrm(6,"img",7),e.k0s(),e.nrm(7,"app-whats-this",8),e.k0s(),e.j41(8,"div",9)(9,"span",10)(10,"div",11),e.DNE(11,wN,3,3,"div",12),e.j41(12,"span",13),e.DNE(13,ON,3,3,"span",14),e.k0s(),e.j41(14,"span",15),e.DNE(15,PN,3,3,"span",16),e.k0s(),e.j41(16,"span",17),e.DNE(17,$N,3,3,"span",16),e.k0s()()(),e.j41(18,"span",18),e.DNE(19,jN,3,3,"span",19)(20,XN,3,3,"span",20),e.k0s()()()(),e.j41(21,"div",21)(22,"div",22)(23,"div",23),e.DNE(24,VN,2,1,"div",24),e.j41(25,"span",25),e.DNE(26,UN,4,4,"span",16),e.k0s()(),e.j41(27,"div",23),e.DNE(28,HN,2,1,"div",26),e.j41(29,"span",27),e.DNE(30,KN,3,3,"span",16),e.k0s()(),e.j41(31,"div",23),e.DNE(32,ZN,2,1,"div",28),e.j41(33,"span",29),e.DNE(34,nY,3,3,"span",16),e.k0s()(),e.j41(35,"div",23),e.DNE(36,iY,3,4,"div",30)(37,oY,3,4,"div",30),e.k0s(),e.j41(38,"div",31)(39,"div",32),e.EFF(40," As at "),e.j41(41,"span",33),e.EFF(42),e.nI1(43,"customdate"),e.nI1(44,"customdate"),e.k0s(),e.EFF(45),e.k0s()()()()()(),e.DNE(46,aY,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.R7$(7),e.Y8G("whatsThisLink",o.content.whatsThisLink)("whatsThisText",o.content.whatsThisText),e.R7$(4),e.Y8G("ngIf",o.content.turquoiseTickerCurrency.visibility),e.R7$(2),e.Y8G("ngIf",o.content.turquoiseTickerValue.visibility),e.R7$(),e.Y8G("ngClass",!o.content.turquoiseTickerPercentualchange.errorText&&o.content.turquoiseTickerPercentualchange.visibility?o.tickerCssClass(o.content.turquoiseTickerNetchangesign):""),e.R7$(),e.Y8G("ngIf",o.content.turquoiseTickerPercentualchange.visibility),e.R7$(),e.Y8G("ngClass",o.netchangeCssClass(o.content.turquoiseTickerNetchange)),e.R7$(),e.Y8G("ngIf",o.content.turquoiseTickerNetchange.visibility),e.R7$(),e.AVh("ellipsed",!o.content.turquoiseTickerSymbol.errorText),e.Y8G("matTooltip",o.getTooltipValue(o.content.turquoiseTickerSymbol,o.content.turquoiseTickerName)),e.R7$(),e.Y8G("ngIf",o.content.turquoiseTickerSymbol.visibility),e.R7$(),e.Y8G("ngIf",o.content.turquoiseTickerName.visibility),e.R7$(4),e.Y8G("ngIf",o.content.turquoiseTickerLastclose.visibility),e.R7$(2),e.Y8G("ngIf",o.content.turquoiseTickerLastclose.visibility),e.R7$(2),e.Y8G("ngIf",o.content.turquoiseTickerHighlow.visibility),e.R7$(2),e.Y8G("ngIf",o.content.turquoiseTickerHighlow.visibility),e.R7$(2),e.Y8G("ngIf",o.content.turquoiseTickerVolume.visibility),e.R7$(2),e.Y8G("ngIf",o.content.turquoiseTickerVolume.visibility),e.R7$(2),e.Y8G("ngIf",o.content.cryptoETN.value&&o.content.cryptoETN.visibility),e.R7$(),e.Y8G("ngIf",o.content.professionalInvestorsOnly.value&&o.content.professionalInvestorsOnly.visibility),e.R7$(5),e.Lme("",e.i5U(43,24,o.status.refreshedTime,"short")," ",e.ii3(44,27,o.status.refreshedTime,"time","Europe/London",!0),""),e.R7$(3),e.SpI(" - ",o.content.refreshtime.value," "))},dependencies:[l.YU,l.bT,l.T3,y.W,di,ae,ee.p,U.W,yr.o],styles:[".turquoise-ticker-component[_ng
1content-%COMP%]{margin-bottom:4.5rem}.ticker-separator[_ngcontent-%COMP%]{border-bottom:.375em solid #000000;justify-content:space-between;margin-bottom:1.375em;padding:0 0 .75em;position:relative;width:100%}@media (max-width: 480px){.ticker-separator[_ngcontent-%COMP%]{margin-top:1.5em}}.refreshing[_ngcontent-%COMP%] .ticker-separator[_ngcontent-%COMP%]{border-bottom-color:#00000080}.ticker-header[_ngcontent-%COMP%]{align-items:flex-end;padding:.75em 0 0}app-track[_ngcontent-%COMP%]{display:inline-block;margin-bottom:1.25rem}.ticker-main[_ngcontent-%COMP%]{width:100%}@media (max-width: 768px){.ticker-main[_ngcontent-%COMP%]{display:block;width:100%}}@media (max-width: 480px){.ticker-main[_ngcontent-%COMP%] app-whats-this[_ngcontent-%COMP%] .whats-this[_ngcontent-%COMP%]{left:0;margin:0 0 0 .5em;position:absolute;top:-1.5em}}.ticker-price[_ngcontent-%COMP%]{flex-shrink:0}.price-tag[_ngcontent-%COMP%]{margin-right:.25em}.price-container[_ngcontent-%COMP%]{margin-right:1.75rem}@media (max-width: 480px){.price-container[_ngcontent-%COMP%]{margin:0 0 .5rem}}.ticker-name[_ngcontent-%COMP%]{color:#001eff;margin-right:.25rem}.ticker-slice[_ngcontent-%COMP%], .ticker-fields[_ngcontent-%COMP%]{width:100%}.ticker-item[_ngcontent-%COMP%]{margin-bottom:1.5rem;margin-right:5%}.ticker-item[_ngcontent-%COMP%] .item-label[_ngcontent-%COMP%]{text-transform:none}.delay[_ngcontent-%COMP%]{width:100%}.ticker-logo[_ngcontent-%COMP%]{display:inline-block;margin-bottom:.5rem}.ticker-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:2.5rem}"],changeDetection:0})}}return n})();const sY=["searchField"],lY=["dropdownType"];function cY(n,r){if(1&n&&(e.j41(0,"span",23),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.filterTitle.value," ")}}function pY(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",27),e.bIt("click",function(){e.eBV(t);const o=e.XpG().index,a=e.XpG();return e.Njj(a.selectFilter(o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.Y8G("ngClass",t.active?"interactive-outline-button gtm-trackable active":"interactive-outline-button gtm-trackable"),e.R7$(),e.SpI(" ",t.value," ")}}function mY(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",28),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.deselectFilter())}),e.k0s()}}function _Y(n,r){if(1&n&&(e.j41(0,"div",24),e.DNE(1,pY,2,2,"div",25)(2,mY,1,0,"span",26),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.value&&"-"!==t.value),e.R7$(),e.Y8G("ngIf",t.active)}}function dY(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",29)(1,"div",15)(2,"span",30),e.EFF(3,"Search for an option"),e.k0s()(),e.j41(4,"div",31)(5,"span",32),e.nrm(6,"input",33),e.j41(7,"input",34),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.inputSearch())}),e.k0s()()()()}if(2&n){const t=e.XpG();e.Y8G("hidden",t.hideFilters)}}function uY(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",39),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.selectAllFilters())}),e.j41(1,"span",40),e.EFF(2,"All"),e.k0s()()}}function gY(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",41),e.bIt("click",function(){const o=e.eBV(t).item,a=e.XpG(2);return e.Njj(a.selectFilterDropdown(o))}),e.EFF(1),e.k0s()}if(2&n){const t=r.item,i=e.XpG(2);e.Y8G("ngClass",i.filterClass(t)),e.R7$(),e.SpI(" ",t.value," ")}}function hY(n,r){if(1&n&&(e.j41(0,"div",29)(1,"div",15)(2,"span",30),e.EFF(3,"Select or search for an option"),e.k0s()(),e.j41(4,"div",35)(5,"div",18)(6,"ng-select",36,1),e.nI1(8,"async"),e.DNE(9,uY,3,0,"ng-template",37)(10,gY,2,2,"ng-template",38),e.k0s()()()()),2&n){const t=e.XpG();e.Y8G("hidden",t.hideFilters),e.R7$(5),e.Y8G("ngClass",t.allIsSelected?"active-dropdown-filter":""),e.R7$(),e.Y8G("searchable",!1)("placeholder",e.bMT(8,9,t.getDropdownLabel()))("selectableGroup",!1)("items",t.dropdownSortOptions)("clearable",!0)("multiple",!0)("closeOnSelect",!1)}}function fY(n,r){if(1&n&&(e.j41(0,"span",42),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.filterAlphabeticalTitle.value," ")}}function vY(n,r){if(1&n){const t=e.RV6();e.j41(0,"a",46),e.bIt("click",function(o){e.eBV(t);const a=e.XpG().$implicit,s=e.XpG(2);return e.Njj(s.getAlphabetInitial(a.initial,o))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG().$implicit,i=e.XpG(2);e.AVh("current",i.activeInitial===t.initial||t.active)("active",t.count>0),e.Y8G("href",i.getLink(t.initial),e.B4B),e.R7$(),e.SpI(" ",t.initial," ")}}function bY(n,r){if(1&n&&(e.qex(0),e.DNE(1,vY,2,6,"a",45),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.initial)}}function CY(n,r){if(1&n&&(e.j41(0,"div",43),e.DNE(1,bY,2,1,"ng-container",44),e.nI1(2,"async"),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",e.bMT(2,1,t.alphabeticList$))}}function TY(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",51),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.clearAllFilters())}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.content.filterClearFiltersLabel.value," ")}}function xY(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",47)(1,"div",48),e.DNE(2,TY,2,1,"span",49),e.nI1(3,"async"),e.j41(4,"span",50),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.onSubmit("apply"))}),e.EFF(5),e.k0s()()()}if(2&n){const t=e.XpG();e.Y8G("hidden",t.hideFilters),e.R7$(2),e.Y8G("ngIf",e.bMT(3,3,t.getShowClearFilters())),e.R7$(3),e.SpI(" ",t.content.filterApplyLabel.value," ")}}function kY(n,r){if(1&n&&(e.j41(0,"h4",61),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.key)}}function yY(n,r){if(1&n&&(e.j41(0,"a",64),e.nI1(1,"directoriesProfileUrl"),e.EFF(2),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.Y8G("href",e.i5U(1,2,t,"broker-directory-profile"),e.B4B),e.R7$(2),e.SpI(" ",t.brokerValue.value," ")}}function wY(n,r){1&n&&e.eu8(0)}function IY(n,r){if(1&n&&(e.qex(0),e.DNE(1,yY,3,5,"a",62)(2,wY,1,0,"ng-container",63),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(4);const i=e.sdS(29);e.R7$(),e.Y8G("ngIf",!t.brokerValue.errorText&&t.brokerValue.value),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.brokerValue)}}function MY(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",65),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(5);e.R7$(2),e.JRh(t.defaultFieldValue)}}function OY(n,r){if(1&n&&(e.j41(0,"div"),e.DNE(1,IY,3,3,"ng-container",22)(2,MY,3,1,"ng-container",22),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.brokerValue.visibility),e.R7$(),e.Y8G("ngIf",!t.brokerValue.visibility)}}function RY(n,r){if(1&n&&(e.j41(0,"div",59),e.DNE(1,kY,2,1,"h4",60)(2,OY,3,2,"div",44),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.key),e.R7$(),e.Y8G("ngForOf",t.value)}}function FY(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-paginator",66),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG(3);return e.Njj(a.submit(o))}),e.k0s()}if(2&n){const t=e.XpG(3);e.Y8G("totalPages",t.getTotalPages(null==t.content?null:t.content.brokerTotalItems.value))("currentPage",null==t.content?null:t.content.brokerPage.value)}}function PY(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",67),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.scrollTop())}),e.k0s()}}function GY(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",68),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3);return e.Njj(o.scrollTop())}),e.k0s()}}function SY(n,r){if(1&n&&(e.j41(0,"div",53),e.DNE(1,RY,3,2,"div",54),e.nI1(2,"slice"),e.nI1(3,"groupBy"),e.DNE(4,FY,1,2,"app-paginator",55),e.j41(5,"div",56),e.DNE(6,PY,1,0,"div",57)(7,GY,1,0,"div",58),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",e.i5U(3,8,e.brH(2,4,null==t.content?null:t.content.brokers,0,t.itemsPerPage),"group")),e.R7$(3),e.Y8G("ngIf",null==t.content||null==t.content.brokers?null:t.content.brokers.length),e.R7$(2),e.Y8G("ngIf",t.selectedChar),e.R7$(),e.Y8G("ngIf",t.selectedChar)}}function $Y(n,r){if(1&n&&(e.qex(0),e.DNE(1,SY,8,11,"div",52),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",null==t.content||null==t.content.brokers?null:t.content.brokers.length)}}function EY(n,r){if(1&n&&(e.j41(0,"a",64),e.nI1(1,"directoriesProfileUrl"),e.EFF(2),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.Y8G("href",e.i5U(1,2,t,"broker-directory-profile"),e.B4B),e.R7$(2),e.SpI(" ",t.brokerValue.value," ")}}function DY(n,r){1&n&&e.eu8(0)}function jY(n,r){if(1&n&&(e.qex(0),e.DNE(1,EY,3,5,"a",62)(2,DY,1,0,"ng-container",63),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(3);const i=e.sdS(29);e.R7$(),e.Y8G("ngIf",!t.brokerValue.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",t.brokerValue)}}function NY(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",65),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(5);e.R7$(2),e.JRh(t.defaultFieldValue)}}
1function YY(n,r){if(1&n&&(e.j41(0,"td"),e.DNE(1,jY,3,3,"ng-container",22)(2,NY,3,1,"ng-container",22),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.brokerValue.visibility),e.R7$(),e.Y8G("ngIf",!t.brokerValue.visibility)}}function XY(n,r){if(1&n&&(e.j41(0,"tr"),e.DNE(1,YY,3,2,"td",22),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngIf",t.brokerValue.value)}}function BY(n,r){if(1&n&&(e.j41(0,"table")(1,"thead")(2,"th"),e.EFF(3,"Member firm brokers"),e.k0s()(),e.j41(4,"tbody"),e.DNE(5,XY,2,1,"tr",44),e.nI1(6,"slice"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(5),e.Y8G("ngForOf",e.brH(6,1,null==t.content?null:t.content.brokers,0,t.itemsPerPage))}}function VY(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-paginator",66),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.submit(o))}),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("totalPages",t.getTotalPages(null==t.content?null:t.content.brokerTotalItems.value))("currentPage",null==t.content?null:t.content.brokerPage.value)}}function LY(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",71),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.scrollTop())}),e.k0s()}}function AY(n,r){if(1&n&&(e.j41(0,"div",72)(1,"span",73),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.content.noResultsMessage.value)}}function qY(n,r){if(1&n&&(e.qex(0),e.DNE(1,BY,7,5,"table",22)(2,VY,1,2,"app-paginator",55),e.j41(3,"div",56),e.DNE(4,LY,1,0,"div",69),e.k0s(),e.DNE(5,AY,3,1,"div",70),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",null==t.content||null==t.content.brokers?null:t.content.brokers.length),e.R7$(),e.Y8G("ngIf",null==t.content||null==t.content.brokers?null:t.content.brokers.length),e.R7$(2),e.Y8G("ngIf",null==t.content||null==t.content.brokers?null:t.content.brokers.length),e.R7$(),e.Y8G("ngIf",!(null!=t.content&&t.content.brokers)||0===(null==t.content?null:t.content.brokers.length))}}function UY(n,r){if(1&n&&e.nrm(0,"app-hide-field",75),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function zY(n,r){1&n&&e.DNE(0,UY,1,1,"app-hide-field",74),2&n&&e.Y8G("ngIf",r.errorText)}let Ir=(()=>{class n{constructor(t,i,o,a,s,c,d,C,T,I){this.refreshService=t,this.fb=i,this.store=o,this.scrollToService=a,this.filtersService=s,this.elementRef=c,this.platformId=d,this.cd=C,this.pageTitleService=T,this.urlService=I,this.isAlphabeticListOpen=new Oe.t(!1),this.showResultsInTable=!1,this.itemsPerPage=20,this.defaultFieldValue=w.M.DEFAULT_VALUE,this.placeholder="All",this.filterType=null,this.allIsSelected=!0,this.hideFilters=!0,this.showClearFilters=new Oe.t(!1),this.initialPageFromUrl=0,this.showAlphabetList=!1,this.filtersService.store=this.store,this.filtersService.urlService=this.urlService,this.filtersService.scrollToService=this.scrollToService,this.filtersService.scrollElementId="broker-search-result",this.filtersService.scrollElementRef=this.elementRef}ngOnInit(){var t=this;return(0,_.A)(function*(){t.initDefaultParams()})()}ngAfterViewInit(){var t=this;return(0,_.A)(function*(){t.filtersService.scrollToResults(!1,t.status,!1,!0),t.pageUrl=yield t.urlService.getCurrentPath().toPromise(),t.pageUrl.parameters.has("page")&&(t.initialPageFromUrl=+t.pageUrl.parameters.get("page")),yield t.setFiltersFromUrl(t.pageUrl.parameters)})()}ngOnChanges(t){(0,l.UE)(this.platformId)&&t.content?.currentValue!==t.content?.previousValue&&((0,$e.A)(t)||(this.content.brokers=[]),this.filtersService.scrollToResults(!0,this.status,!1,!0))}initDefaultParams(){this.content.brokerItemsPerPage.value&&(this.itemsPerPage=this.content.brokerItemsPerPage.value),this.searchForm=this.fb.group({search:null}),this.firstLevelFilters=this.getFirstLevelFilters(),this.dropdownSortOptions=this.getDropdownOptions();let t=[];try{t=JSON.parse(JSON.stringify(this.firstLevelFilters))}catch(o){(0,te.z3)(`filters json parse error ${o}`)}this.filters$=(0,q.of)(t);let i=[];this.alphabeticalList=this.getAlphabeticList();try{i=JSON.parse(JSON.stringify(this.alphabeticalList))}catch(o){(0,te.z3)(`alpha json parse error ${o}`)}this.alphabeticList$=(0,q.of)(i)}setFiltersFromUrl(t){var i=this;return(0,_.A)(function*(){const o=t.get("initial");if(o)return i.setIsAlphabeticListOpen(),i.hideFilters=!1,void(yield i.getAlphabetInitial(o));const a=t.get("q");
1if(a)return i.selectFilter(0),i.currentFilter="search",i.filterType="search",i.searchForm.controls.search.setValue(a),i.hideFilters=!1,void(yield i.submitQuery(a));const s=t.getAll("services");s&&(i.selectFilter(1),i.currentFilter="dropdown",i.filterType="dropdown",s.map(c=>{const d={key:c,value:c};i.incrementCounter("services"),i.selectDropdownFilter(d)}),i.hideFilters=!1,i.onSubmit())})()}onSubmit(t){"search"===this.filterType?this.inputSearch():(this.submit(),"apply"===t&&this.filtersService.scrollToResults(!0,this.status,!0,!0))}submit(){var t=this;return(0,_.A)(function*(i=0,o=null,a=!1){t.selectedFilterKey&&(t.setShowResultsInTable(!0),t.deselectChar(),t.setShowAlphabetList(!1),t.setShowClearFilters(!0)),t.initialPageFromUrl>i&&(i=t.initialPageFromUrl);let s=t.filtersService.getHttpFilters();o&&o.keys().forEach(c=>s=s.set(c,o.getAll(c).toString())),yield t.filtersService.addFiltersToUrl(o,a),t.setPageTitle(s),t.status={...t.status,currentPage:i,params:s},t.initialPageFromUrl>0&&(t.status.params.append("page",i.toString()),yield t.urlService.setCurrentPath(k.T.addParameterToUrl(t.pageUrl,"page",i.toString())),t.initialPageFromUrl=0),t.refreshService.refreshComponent(t.id,t.position,t.type,t.content,t.status)}).apply(this,arguments)}backBrowserButtonCall(){var t=this;return(0,_.A)(function*(i=null){i?t.setFiltersFromUrl(i):t.clearAllFilters()}).apply(this,arguments)}scrollTop(){this.scrollToService.scrollToTheElementById("broker-directory-search",this.elementRef)}getTotalPages(t){return Math.ceil(t/this.itemsPerPage)}getLink(t){const o=(new F.Nl).set("initial",t).set("page","0");return k.T.getLink("broker-directory-search",o)}setShowResultsInTable(t){this.showResultsInTable=t}getShowClearFilters(){return this.showClearFilters.asObservable()}setShowClearFilters(t){this.showClearFilters.next(t)}clearAllFilters(){var t=this;return(0,_.A)(function*(){yield t.deselectFilter(),t.filterType=null,t.deselectChar(),t.setShowAlphabetList(!1),t.setShowClearFilters(!1),t.setShowResultsInTable(!1),t.scrollTop(),t.submit()})()}selectChar(t){var i=this;return(0,_.A)(function*(o,a=null,s=!0){a&&a.preventDefault(),yield i.deselectFilter(),i.dropdownFilter=null,i.filterType=null;const c=JSON.parse(JSON.stringify(i.alphabeticalList));-1===o||0===c[o].count||(i.setShowResultsInTable(!1),i.handleCharClick(c,o),i.alphabeticList$=(0,q.of)(c),s&&i.submit())}).apply(this,arguments)}handleCharClick(t,i){this.selectedChar&&t[i].initial===this.selectedChar?(this.deselectChar(),this.setShowClearFilters(!1)):(this.selectedChar=t[i].initial,t[i].active=!0,this.setShowClearFilters(!0))}deselectChar(){if(!this.selectedChar)return;this.selectedChar=null;const t=JSON.parse(JSON.stringify(this.alphabeticalList));this.alphabeticList$=(0,q.of)(t)}setIsAlphabeticListOpen(){var t=this;return(0,_.A)(function*(){yield t.deselectFilter(),t.showAlphabetList=!t.showAlphabetList,t.isAlphabeticListOpen.next(t.showAlphabetList)})()}setShowAlphabetList(t){this.showAlphabetList=t,this.isAlphabeticListOpen.next(this.showAlphabetList)}getIsAlphabeticListOpen(){return this.isAlphabeticListOpen.asObservable()}selectFilter(t){if(-1===t)return;const i=JSON.parse(JSON.stringify(this.firstLevelFilters));this.selectedFilterKey=i[t].key,i[t].active=!0,this.filterType=i[t].type,this.filters$=(0,q.of)(i),this.filtersService.clearFilters(),this.searchForm=this.fb.group({search:null}),this.setShowAlphabetList(!1),this.cd.markForCheck()}deselectFilter(){var t=this;return(0,_.A)(function*(){t.selectedFilterKey=null;const i=JSON.parse(JSON.stringify(t.firstLevelFilters));t.filters$=(0,q.of)(i),t.filtersService.clearFilters(),yield t.filtersService.addFiltersToUrl(),t.setShowClearFilters(!1),t.filterType=null,t.searchForm.reset(),t.pageTitleService.dispatchPageTitlePrefix([])})()}selectDropdownFilter(t){this.allIsSelected=!1,this.filtersService.setFilter("services",t),this.cd.markForCheck()}deselectDropdownFilter(t){this.filtersService.deleteFilter("services",t.key),this.cd.markForCheck()}selectAllFilters(){for(const i of this.dropdownSortOptions)this.deselectDropdownFilter(i);const t=this.dropdownType;t&&t.itemsList&&(t.itemsList._selected=[],t.itemsList.clearSelected()),this.allIsSelected=!0,this.filtersService.resetCounter("services"),this.updateCurrentDropdownFilters()}getDropdownLabel(){return this.getCounter("services").pipe((0,A.T)(i=>i?i+(1===i?" filter":" filters")+" selected":"Services"))}getFirstLevelFilters(){return[{key:"q",value:"Member firm broker name",active:!1,type:"search"},{key:"services",value:"Broker services",active:!1,type:"dropdown"}]}getAlphabeticList(){let t=[];return!this.content.filterBrokerAlphabeticalList.value||0===this.content.filterBrokerAlphabeticalList.value.length||this.content.filterBrokerAlphabeticalList.value.forEach(i=>
1{t=t.concat([{initial:i.initial,count:i.count,active:!1}])}),t}getDropdownOptions(){return[{value:this.content.filterBrokerExecution.value,key:"EXECUTION",selectAll:!0},{value:this.content.filterBrokerAdvisory.value,key:"ADVISORY",selectAll:!0},{value:this.content.filterBrokerDiscretionary.value,key:"DISCRETIONARY",selectAll:!0},{value:this.content.filterBrokerOnline.value,key:"ONLINE_PLATFORM",selectAll:!0},{value:this.content.filterBrokerMobile.value,key:"MOBILE_APP",selectAll:!0}]}selectFilterDropdown(t){if(t.key)return this.isActiveFilter("services",t.key)?(this.decrementCounter("services"),this.deselectDropdownFilter(t)):(this.incrementCounter("services"),this.currentFilter="dropdown",this.allIsSelected=!1,this.selectDropdownFilter(t))}isActiveFilter(t,i){return this.filtersService.isActiveFilter(t,i)}getCounter(t){return this.filtersService.getCounters().pipe((0,A.T)(i=>i.get(t)))}incrementCounter(t){this.filtersService.incrementCounter(t)}decrementCounter(t){this.filtersService.decrementCounter(t),this.updateCurrentDropdownFilters()}updateCurrentDropdownFilters(){this.filtersService.getCounters().subscribe(t=>{const i=t.get("sectors"),o=t.get("locations"),a=t.get("marketcapitalizationrange");this.currentFilter=i||o||a?"dropdown":null})}filterClass(t){return this.isActiveFilter("services",t.key)?"active":""}clearFilters(){this.filtersService.clearFilters()}submitFilters(){var t=this;return(0,_.A)(function*(){if(t.currentFilter||t.activeInitial){if("search"===t.currentFilter&&t.searchForm.controls.search.value)yield t.inputSearch();else if("dropdown"===t.currentFilter){const i=t.getParamValue(t.filtersService.getHttpFilters().toString(),"q");t.filtersService.deleteFilter("q",i);const o=t.getParamValue(t.filtersService.getHttpFilters().toString(),"initial");t.filtersService.deleteFilter("initial",o),t.searchForm.controls.search.reset(),yield t.submit()}}else yield t.clearAllFilters()})()}getAlphabetInitial(t,i){var o=this;return(0,_.A)(function*(){if(i&&i.preventDefault(),!t)return;const a={key:t,value:t};o.filtersService.clearFilters(),o.activeInitial===t?o.activeInitial=null:(o.activeInitial=t,o.filtersService.setFilter("initial",a)),yield o.submit(),o.cd.markForCheck()})()}inputSearch(){var t=this;return(0,_.A)(function*(){if(!t.searchForm)return;const i=t.searchForm.get("search").value;yield t.submitQuery(i)})()}submitQuery(t){var i=this;return(0,_.A)(function*(){if(t){const o={key:t,value:t};i.filtersService.clearFilters(),i.filtersService.setFilter("q",o),yield i.submit()}i.activeInitial=null})()}getParamValue(t,i){if(!t||!i)return;const o=t.split("&"),a=new RegExp(i+"=","g"),s=[];return o.map(c=>{c.match(a)&&s.push(c.replace(a,""))}),s.join()}toggleFilters(){this.hideFilters=!this.hideFilters}setPageTitle(t){const i=t.get("initial");if(i)return void this.pageTitleService.dispatchPageTitlePrefix([i]);const o=t.get("q");if(o){const s=this.firstLevelFilters.filter(c=>"q"===c.key).shift();return void this.pageTitleService.dispatchPageTitlePrefix([o,s.value])}const a=t.getAll("services");if(a){const s=this.firstLevelFilters.filter(C=>"services"===C.key).shift(),c=this.dropdownSortOptions.filter(C=>a.includes(C.key)).map(C=>C.value).join(", ");this.pageTitleService.dispatchPageTitlePrefix(s?[c,s.value]:[c])}}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(j.W),e.rXU(g.ze),e.rXU(u.il),e.rXU(le.W),e.rXU(Ve.B),e.rXU(e.aKT),e.rXU(e.Agw),e.rXU(e.gRc),e.rXU(pe.P),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-member-firm-broker-search"]],viewQuery:function(i,o){if(1&i&&(e.GBs(sY,5),e.GBs(lY,5)),2&i){let a;e.mGM(a=e.lsd())&&(o.searchField=a.first),e.mGM(a=e.lsd())&&(o.dropdownType=a.first)}},inputs:{content:"content",type:"type",position:"position",id:"id",status:"status"},features:[e.OA$],decls:30,vars:26,consts:[["emptyvalue",""],["dropdownType",""],["id","broker-directory-search","appBackBrowserClick","",1,"broker-directory-search","component","gtm-track-component","wrapper","x-large-width","x-large-width-padding",3,"refreshComponent"],[3,"formGroup"],[1,"filters-container"],[1,"filters-header","mobile-flex-container"],["class","bold-font-weight base-font-size box-filters-title",4,"ngIf"],[1,"icon-filters","clickable",3,"click"],[1,"whats-this-container",3,"hidden"],[3,"whatsThisLink","whatsThisText"],[1,"index-filter","button-filter","mobile-flex-container",3,"hidden"],[1,"button-filter-wrapper"],["class","filter-wrapper",4,"ngFor","ngForOf"],["class","filters-container search-wrapper",3,"hidden",4,"ngIf"],[1,"filters-container","alphabet-container",3,"hidden"],[1,"filters-header"],[1,"chars-label-wrapper","clickable",3,"click"],["class","base-font-size bold-font-weight gtm-trackable",4,"ngIf"],[3,"ngClass"],["class","alphabet-filters",4,"ngIf"],["class","filter-action-buttons",3,"hidden",4,"ngIf"],["id","broker-search-result"],[4,"ngIf"],[1,"bold-font-weight","base-font-size","box-filters-title"],[1,"filter-wrapper"],[3,"ngClass","click",4,"ngIf"],["class","filter-deselect",3,"click",4,"ngIf"],[3,"click","ngClass"],[1,"filter-deselect",3,"click"],[1,"filters-container","search-wrapper",3,"hidden"],[1,"bold-font-weight","base-font-size"],[1,"index-filter","search-filter"],[1,"search-container","input-container"],["formControlName","search","name","search","type","text","id","company-search","aria-describedby","company-search","autocomplete","off","placeholder","Search by Member firm broker name",1,"form-control","search-icon","filter-input","search-input"],["type","submit",1,"hide-input-submit","gtm-trackable",3,"click"],[1,"index-filter","dropdown-filter","flex-wrapper"],["groupBy","
1selectAll",1,"form-control","form-select",3,"searchable","placeholder","selectableGroup","items","clearable","multiple","closeOnSelect"],["ng-optgroup-tmp",""],["ng-option-tmp",""],[1,"ng-option","gtm-trackable",3,"click"],[1,"option-label"],[1,"select-option",3,"click","ngClass"],[1,"base-font-size","bold-font-weight","gtm-trackable"],[1,"alphabet-filters"],[4,"ngFor","ngForOf"],["class","bold-font-weight gtm-trackable",3,"current","active","href","click",4,"ngIf"],[1,"bold-font-weight","gtm-trackable",3,"click","href"],[1,"filter-action-buttons",3,"hidden"],[1,"action-wrapper"],["class","gold-button bold-font-weight outline gtm-trackable",3,"click",4,"ngIf"],[1,"gold-button","bold-font-weight","gtm-trackable","apply-filter",3,"click"],[1,"gold-button","bold-font-weight","outline","gtm-trackable",3,"click"],["class","brokers-container",4,"ngIf"],[1,"brokers-container"],["class","broker-element",4,"ngFor","ngForOf"],[3,"totalPages","currentPage","goToPage",4,"ngIf"],[1,"wrapper","x-large-width","x-large-width-padding"],["class","back-to-top hide-on-mobile",3,"click",4,"ngIf"],["class","back-to-top show-on-mobile",3,"click",4,"ngIf"],[1,"broker-element"],["class","bold-font-weight",4,"ngIf"],[1,"bold-font-weight"],["directoryCurrentUrl","","directoryType","broker-directory-search",3,"href",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["directoryCurrentUrl","","directoryType","broker-directory-search",3,"href"],[1,"dash-wrapper"],[3,"goToPage","totalPages","currentPage"],[1,"back-to-top","hide-on-mobile",3,"click"],[1,"back-to-top","show-on-mobile",3,"click"],["class","back-to-top",3,"click",4,"ngIf"],["class","no-result-msg",4,"ngIf"],[1,"back-to-top",3,"click"],[1,"no-result-msg"],[1,"large-font-size"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"section",2),e.bIt("refreshComponent",function(c){return e.eBV(a),e.Njj(o.backBrowserButtonCall(c))}),e.j41(1,"form",3)(2,"div",4)(3,"div",5),e.DNE(4,cY,2,1,"span",6),e.j41(5,"span",7),e.bIt("click",function(){return e.eBV(a),e.Njj(o.toggleFilters())}),e.k0s()(),e.j41(6,"div",8),e.nrm(7,"app-whats-this",9),e.k0s(),e.j41(8,"div",10)(9,"div",11),e.DNE(10,_Y,3,2,"div",12),e.nI1(11,"async"),e.k0s()()(),e.DNE(12,dY,8,1,"div",13)(13,hY,11,11,"div",13),e.j41(14,"div",14)(15,"div",15)(16,"div",16),e.bIt("click",function(){return e.eBV(a),e.Njj(o.setIsAlphabeticListOpen())}),e.DNE(17,fY,2,1,"span",17),e.nrm(18,"span",18),e.nI1(19,"async"),e.k0s()(),e.DNE(20,CY,3,3,"div",19),e.nI1(21,"async"),e.nI1(22,"async"),e.nI1(23,"async"),e.k0s(),e.DNE(24,xY,6,5,"div",20),e.k0s(),e.j41(25,"div",21),e.DNE(26,$Y,2,1,"ng-container",22)(27,qY,6,4,"ng-container",22),e.k0s()(),e.DNE(28,zY,1,1,"ng-template",null,0,e.C5r)}if(2&i){let a;e.R7$(),e.Y8G("formGroup",o.searchForm),e.R7$(3),e.Y8G("ngIf",o.content.filterTitle.value&&"-"!==o.content.filterTitle.value),e.R7$(2),e.Y8G("hidden",o.hideFilters),e.R7$(),e.Y8G("whatsThisLink",o.content.whatsThisLink)("whatsThisText",o.content.whatsThisText),e.R7$(),e.Y8G("hidden",o.hideFilters),e.R7$(2),e.Y8G("ngForOf",e.bMT(11,16,o.filters$)),e.R7$(2),e.Y8G("ngIf","search"===o.filterType),e.R7$(),e.Y8G("ngIf","dropdown"===o.filterType),e.R7$(),e.Y8G("hidden",o.hideFilters),e.R7$(3),e.Y8G("ngIf",o.content.filterAlphabeticalTitle.value),e.R7$(),e.Y8G("ngClass",e.bMT(19,18,o.getIsAlphabeticListOpen())?"icon-dropdown-up":"icon-dropdown-down"),e.R7$(2),e.Y8G("ngIf",e.bMT(21,20,o.getIsAlphabeticListOpen())&&e.bMT(22,22,o.alphabeticList$)&&(null==(a=e.bMT(23,24,o.alphabeticList$))?null:a.length)>0),e.R7$(4),e.Y8G("ngIf",o.content.filterApplyLabel.value),e.R7$(2),e.Y8G("ngIf",!o.showResultsInTable),e.R7$(),e.Y8G("ngIf",o.showResultsInTable)}},dependencies:[l.YU,l.Sq,l.bT,l.T3,g.qT,g.me,g.BC,g.cb,y.W,De.T,g.j4,g.JD,ne.vr,ne.bh,ne.Uq,ue,ae,Kt,l.Jj,l.P9,St,Pt],styles:['body[_ngcontent-%COMP%]{font-size:.875rem}.light-font-weight[_ngcontent-%COMP%]{font-weight:300}.regular-font-weight[_ngcontent-%COMP%]{font-weight:400}.medium-font-weight[_ngcontent-%COMP%]{font-weight:500}.semi-bold-font-weight[_ngcontent-%COMP%]{font-weight:600}.bold-font-weight[_ngcontent-%COMP%]{font-weight:700}@media (max-width: 1144px){.bold-font-weight-sm[_ngcontent-%COMP%]{font-weight:700}}.extrabold-font-weight[_ngcontent-%COMP%]{font-weight:800}.small-font-size[_ngcontent-%COMP%]{font-size:.875rem!important;line-height:1em}.smaller-font-size[_ngcontent-%COMP%]{font-size:.65625rem;line-height:1em}.base-font-size[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.3125rem}@media (max-width: 1144px){.xs-base-font-size[_ngcontent-%COMP%]{font-size:.875rem!important;line-height:1.3125rem!important}}.regular-font-size[_ngcontent-%COMP%]{font-size:.984375rem;line-height:1.75rem}.big-font-size[_ngcontent-%COMP%]{font-size:1.09375rem;line-height:1.1em}.bigger-font-size[_ngcontent-%COMP%]{font-size:1.203125rem;line-height:1em}.generous-font-size[_ngcontent-%COMP%]{font-size:1.421875rem;line-height:1.640625rem}.large-font-size[_ngcontent-%COMP%]{font-size:1.640625rem;line-height:1em}@media (max-width: 1144px){.large-font-size[_ngcontent-%COMP%]{font-size:1.18125rem}}.larger-font-size[_ngcontent-%COMP%]{font-size:2.1875rem;line-height:1em}@media (max-width: 1144px){.larger-font-size[_ngcontent-%COMP%]{font-size:1.75rem}}.hero-font[_ngcontent-%COMP%]{font-size:3.5rem;font-weight:800;line-height:4.046875rem}.align-center[_ngcontent-%COMP%]{text-align:center}.align-right[_ngcontent-%COMP%]{text-align:right}.section-title[_ngcontent-%COMP%]{display:inline}.blue-text[_ngcontent-%COMP%]{color:#001eff}.grey-medium-text[_ngcontent-%COMP%]{color:#4d4d4d}h1[_ngcontent-%COMP%]{font-size:1.640625rem;font-weight:700;line-height:1.4;font-family:LSEG Motto,Proxima Nova,Arial,Helvetica;text-transform:uppercase}
1h2[_ngcontent-%COMP%]{font-size:1.3125rem;font-weight:700;line-height:1.333;font-family:LSEG Motto,Proxima Nova,Arial,Helvetica;text-transform:uppercase}h3[_ngcontent-%COMP%]{font-size:1.09375rem;font-weight:700;line-height:1.2}h4[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:700;line-height:1.333}h5[_ngcontent-%COMP%]{font-weight:700}.h-link[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:500}.h-link-bold[_ngcontent-%COMP%]{font-size:.984375rem;font-weight:700}.text-align-center[_ngcontent-%COMP%]{text-align:center}.text-align-right[_ngcontent-%COMP%]{text-align:right}.text-align-left[_ngcontent-%COMP%]{text-align:left}.text-align-justify[_ngcontent-%COMP%]{text-align:justify}.broker-directory-search[_ngcontent-%COMP%]{margin-bottom:3.5rem}.broker-directory-search[_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%]{position:relative}.search-title-wrapper[_ngcontent-%COMP%]{background-color:#001eff;color:#fff}.search-title-wrapper[_ngcontent-%COMP%] .search-title[_ngcontent-%COMP%]{align-items:center;min-height:3.875rem}.search-title-wrapper[_ngcontent-%COMP%] .search-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding:0 .75rem}.filters-container[_ngcontent-%COMP%] .filters-header[_ngcontent-%COMP%] .icon-filters[_ngcontent-%COMP%]{height:3rem;margin-left:-1rem;width:3rem}.filters-container[_ngcontent-%COMP%] .filters-header.mobile-flex-container[_ngcontent-%COMP%]{align-items:center;padding:.4rem 1rem}.filters-container[_ngcontent-%COMP%] .button-filter[_ngcontent-%COMP%]{padding-bottom:0;padding-top:.8rem}@media (max-width: 1023px){.filters-container[_ngcontent-%COMP%] .button-filter[_ngcontent-%COMP%]{flex-wrap:wrap}}.filters-container[_ngcontent-%COMP%] .box-filters-title[_ngcontent-%COMP%]{margin-right:1.1875rem}.filter-action-buttons[_ngcontent-%COMP%]{display:block;float:none;min-height:5rem;text-align:right}.filter-action-buttons[_ngcontent-%COMP%] .gold-button[_ngcontent-%COMP%]{margin-top:1.625rem}.filter-action-buttons[_ngcontent-%COMP%] .gold-button.outline[_ngcontent-%COMP%]{margin-right:1rem}.filters-container.search-wrapper[_ngcontent-%COMP%]{border-bottom:.12rem solid #ffffff}.filters-container.search-wrapper[_ngcontent-%COMP%] .search-container[_ngcontent-%COMP%]{position:relative}.whats-this-container[_ngcontent-%COMP%]{background-color:#fafafa;border:solid;border-color:#b2b2b2;border-width:0 .0625rem;box-shadow:none;padding-top:1.1875rem;text-align:right}.alphabet-container[_ngcontent-%COMP%] .filters-header[_ngcontent-%COMP%]{background-color:#fafafa;height:4rem;min-height:4rem}.chars-label-wrapper[_ngcontent-%COMP%]{align-items:center;color:#000;display:flex;justify-content:center;width:100%}.chars-label-wrapper[_ngcontent-%COMP%] .icon-dropdown-down[_ngcontent-%COMP%]{background:url(assets/static/calendar_months_right_indicator.svg) center left no-repeat;background-size:40%;content:"";cursor:pointer;display:inline-block;height:1em;margin-left:.6rem;position:relative;top:.15rem;transform:rotate(90deg);width:1em}.chars-label-wrapper[_ngcontent-%COMP%] .icon-dropdown-down[_ngcontent-%COMP%]:before{background-color:transparent}.chars-label-wrapper[_ngcontent-%COMP%] .icon-dropdown-up[_ngcontent-%COMP%]{background:url(assets/static/calendar_months_right_indicator.svg) center left no-repeat;background-size:40%;content:"";cursor:pointer;display:inline-block;height:1em;margin-left:.6rem;position:relative;top:-.5rem;transform:rotate(-90deg);width:1em}.chars-label-wrapper[_ngcontent-%COMP%] .icon-dropdown-up[_ngcontent-%COMP%]:before{background-color:transparent}.brokers-container[_ngcontent-%COMP%]{padding-left:1rem}.broker-element[_ngcontent-%COMP%]{max-width:20rem}.broker-element[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{align-items:center;background-color:#001eff;border-radius:50%;color:#fff;display:flex;font-size:1.75rem;height:5rem;justify-content:center;margin-bottom:2.5rem;margin-top:1.5rem;padding:1rem;width:5rem}.broker-element[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .broker-element[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#000;display:block;padding-bottom:1.3rem}.download-container[_ngcontent-%COMP%]{padding:2rem 5rem 0}@media (max-width: 480px){.download-container[_ngcontent-%COMP%]{padding:2rem 0 0}}.simple-document[_ngcontent-%COMP%]{padding:1.5rem 1.5rem 1rem 3.5rem}.simple-document__icon[_ngcontent-%COMP%]{top:.75rem}table[_ngcontent-%COMP%]{margin-bottom:1.5rem;width:100%}table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{background-color:#fafafa;font-size:.984375rem}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{line-height:3rem}table[_ngcontent-%COMP%] a[_ngcontent-%COMP%], table[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#000;font-size:.984375rem}.no-result-msg[_ngcontent-%COMP%]{margin-top:2rem}@media (max-width: 1144px){.button-filter-wrapper[_ngcontent-%COMP%]{max-width:65rem}}@media (max-width: 480px){.button-filter-wrapper[_ngcontent-%COMP%]{max-width:21rem}}#broker-search-result[_ngcontent-%COMP%]{padding-top:2rem}a[_ngcontent-%COMP%]{text-decoration:none}a[_ngcontent-%COMP%]:hover{text-decoration:underline}.filters-wrapper[_ngcontent-%COMP%]{display:none}.active-accordion[_ngcontent-%COMP%] .filters-wrapper[_ngcontent-%COMP%]{display:block}.alphabet-filters[_ngcontent-%COMP%]{background-color:#fafafa;border:solid;border-color:#b2b2b2;border-width:0 .0625rem;margin:0}.ng-option[_ngcontent-%COMP%]{margin:0;padding-left:1.75rem!important;position:relative}'],changeDetection:0})}}return n})(),Un=(()=>{class n{constructor(){this.toolsGrid=[{iconClass:"icon-alerts",text:"My email alerts",link:"/exchange/email-alerts/home/alerts-home.html"},{iconClass:"icon-add-to-portfolio",text:"My Virtual Portfolio and Trading Simulator",link:"/exchange/portfolio/index.html#my-portfolio"},{iconClass:"icon-watchlist",text:"My Watchlist",link:"/exchange/watchlist/watchlist.html"},{iconClass:"icon-bars",text:"My Order History",link:"/exchange/epay/list_user.html"}]}ngOnInit(){}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-user-login-journey-tools"]],inputs:{content:"content"},decls:7,vars:4,consts:[["id","user-login-journey-tools",1,"user-login-journey-tools-component","full-width","gtm-track-component","component"],[1,"new-tools-wrapper","full-width"],[1,"x-large-width","wrapper","x-large-width","x-large-width-paddin"],[1,"large-font-size","bold-font-weight"],[1,"summary","regular-font-size",3,"innerHtml"]],template:function(i,o){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h2",3),e.EFF(4),e.k0s(),e.nrm(5,"p",4),e.nI1(6,"safeHtml"),e.k0s()()()),2&i&&(e.R7$(4),e.JRh(o.content.newToolsTitle.value),e.R7$(),e.Y8G("innerHtml",e.bMT(6,2,o.content.newToolsText.value),e.npT))},dependencies:[be.$],styles:[".user-login-journey-tools-component[_ng
1content-%COMP%]{margin-bottom:1.5rem}.summary[_ngcontent-%COMP%]{margin-top:1.875rem}.new-tools-wrapper[_ngcontent-%COMP%]{background:#f4f4f4;color:#000;margin-bottom:1.5rem;padding:1.5rem}.your-tools-wrapper[_ngcontent-%COMP%]{color:#000;margin-top:5rem}.your-tools-text[_ngcontent-%COMP%]{margin-top:1.5rem}.grid-wrapper[_ngcontent-%COMP%]{align-items:center;margin-top:2.5rem}.category-grid[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}"],changeDetection:0})}}return n})();const mt=n=>({errorText:n});function HY(n,r){if(1&n&&(e.j41(0,"p",8),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(null==t.content.summary?null:t.content.summary.value)}}function WY(n,r){if(1&n&&(e.j41(0,"tr",9)(1,"th",10),e.EFF(2),e.k0s(),e.j41(3,"th",11),e.EFF(4),e.k0s(),e.j41(5,"th",12),e.EFF(6),e.k0s(),e.j41(7,"th",13),e.EFF(8),e.k0s(),e.j41(9,"th",14),e.EFF(10),e.k0s(),e.j41(11,"th",14),e.EFF(12),e.k0s(),e.j41(13,"th",15),e.EFF(14),e.k0s(),e.j41(15,"th",16),e.EFF(16),e.k0s()()),2&n){const t=r.$implicit;e.R7$(2),e.JRh(null==t.name?null:t.name.label),e.R7$(2),e.JRh(null==t.market?null:t.market.label),e.R7$(2),e.JRh(null==t.primaryoffersize?null:t.primaryoffersize.label),e.R7$(2),e.JRh(null==t.secondaryoffersize?null:t.secondaryoffersize.label),e.R7$(2),e.JRh(null==t.currency?null:t.currency.label),e.R7$(2),e.JRh(null==t.priceRange?null:t.priceRange.label),e.R7$(2),e.JRh(null==t.firsttradingdate?null:t.firsttradingdate.label),e.R7$(2),e.JRh(null==t.type?null:t.type.label)}}function JY(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(null==t.market?null:t.market.value)}}function KY(n,r){if(1&n&&(e.qex(0),e.DNE(1,JY,2,1,"ng-container",7),e.eu8(2,25),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!(null!=t.market&&t.market.errorText)),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,mt,null==t.market?null:t.market.errorText))}}function QY(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",26),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function ZY(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(null==t.primaryoffersize?null:t.primaryoffersize.value)}}function e6(n,r){if(1&n&&(e.qex(0),e.DNE(1,ZY,2,1,"ng-container",7),e.eu8(2,25),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!(null!=t.primaryoffersize&&t.primaryoffersize.errorText)),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,mt,null==t.primaryoffersize?null:t.primaryoffersize.errorText))}}function t6(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",26),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function n6(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI("",null==t.secondaryoffersize?null:t.secondaryoffersize.value," ")}}function i6(n,r){if(1&n&&(e.qex(0),e.DNE(1,n6,2,1,"ng-container",7),e.eu8(2,25),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!(null!=t.secondaryoffersize&&t.secondaryoffersize.errorText)),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,mt,null==t.secondaryoffersize?null:t.secondaryoffersize.errorText))}}function o6(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",26),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function r6(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(null==t.currency?null:t.currency.value)}}function a6(n,r){if(1&n&&(e.qex(0),e.DNE(1,r6,2,1,"ng-container",7),e.eu8(2,25),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!(null!=t.currency&&t.currency.errorText)),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,mt,null==t.currency?null:t.currency.errorText))}}function s6(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",26),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function l6(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(null==t.priceRange?null:t.priceRange.value)}}function c6(n,r){if(1&n&&(e.qex(0),e.DNE(1,l6,2,1,"ng-container",7),e.eu8(2,25),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!(null!=t.priceRange&&t.priceRange.errorText)),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,mt,null==t.priceRange?null:t.priceRange.errorText))}}function p6(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",26),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function m6(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(null==t.firsttradingdate?null:t.firsttradingdate.value)}}function _6(n,r){if(1&n&&(e.qex(0),e.DNE(1,m6,2,1,"ng-container",7),e.eu8(2,25),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(11);e.R7$(),e.Y8G("ngIf",!(null!=t.firsttradingdate&&t.firsttradingdate.errorText)),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,mt,null==t.firsttradingdate?null:t.firsttradingdate.errorText))}}function d6(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",26),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function u6(n,r){if(1&n&&(e.j41(0,"span",27),e.EFF(1),e.nI1(2,"etfs"),e.eu8(3,25),e.k0s()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(11);e.Y8G("ngClass",t.type.errorText?"":"instrument-label"),e.R7$(),e.SpI("",e.bMT(2,4,null==t.type?null:t.type.value)," "),e.R7$(2),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(6,mt,null==t.type?null:t.type.errorText))}}function g6(n,r){if(1&n&&(e.j41(0,"tr",19)(1,"td",20),e.nrm(2,"app-link-or-dash",21),e.k0s(),e.j41(3,"td"),e.DNE(4,KY,3,5,"ng-container",7)(5,QY,3,1,"ng-container",7),e.k0s(),e.j41(6,"td",22),e.DNE(7,e6,3,5,"ng-container",7)(8,t6,3,1,"ng-container",7),e.k0s(),e.j41(9,"td",22),e.DNE(10,i6,3,5,"ng-container",7)(11,o6,3,1,"ng-container",7),e.k0s(),e.j41(12,"td"),e.DNE(13,a6,3,5,"ng-container",7)(14,s6,3,1,"ng-container",7),e.k0s(),e.j41(15,"td"),e.DNE(16,c6,3,5,"ng-container",7)(17,p6,3,1,"ng-container",7),e.k0s(),e.j41(18,"td",22),e.DNE(19,_6,3,5,"ng-container",7)(20,d6,3,1,"ng-container",7),e.k0s(),e.j41(21,"td",23),e.DNE(22,u6,4,8,"span",24),e.k0s()()),2&n){const t=r.$implicit,i=r.index,o=e.XpG(2);e.AVh("active-panel",0===i),e.Mz_("id","slide-up-",i,""),e.R7$(2),e.Y8G("link",t.link.value)("linkClasses","black-link ellipsed-below-landscape swipable-table-link")("value",t.name.value)("errorText",t.name.errorText)("visibility",t.name.visibility),e.R7$(2),e.Y8G("ngIf",null==t.market?null:t.market.visibility),e.R7$(),e.Y8G("ngIf",!(null!=t.market&&t.market.visibility)),e.R7$(2),e.Y8G("ngIf",null==t.primaryoffersize?null:t.primaryoffersize.visibility),e.R7$(),e.Y8G("ngIf",!(null!=t.secondaryoffersize&&t.secondaryoffersize.visibility)),e.R7$(2),e.Y8G("ngIf",null==t.secondaryoffersize?null:t.secondaryoffersize.visibility),e.R7$(),e.Y8G("ngIf",!(null!=t.secondaryoffersize&&t.secondaryoffersize.visibility)),e.R7$(2),e.Y8G("ngIf",null==t.currency?null:t.currency.visibility),e.R7$(),e.Y8G("ngIf",!(null!=t.currency&&t.currency.visibility)),e.R7$(2),e.Y8G("ngIf",null==t.priceRange?null:t.priceRange.visibility),e.R7$(),e.Y8G("ngIf",!(null!=t.priceRange&&t.priceRange.visibility)),e.R7$(2),e.Y8G("ngIf",null==t.firsttradingdate?null:t.firsttradingdate.visibility),e.R7$(),e.Y8G("ngIf",!(null!=t.firsttradingdate&&t.firsttradingdate.visibility)),e.R7$(),e.Y8G("ngClass",null!=t.type&&t.type.errorText||null==t.type||!t.type.visibility?"":o.instrumentCssClass(t.type)),e.R7$(),e.Y8G("ngIf",t.type.visibility)}}function h6(n,r){if(1&n){const t=e.RV6();e.j41(0,"tbody",17),e.bIt("swipeleft",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.handleTouchMove(o,"up"))})("swiperight",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.handleTouchMove(o,"up"))}),e.DNE(1,g6,23,23,"tr",18),e.k0s()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",null==t.content.upcomingIssues?null:t.content.upcomingIssues.value)}}function f6(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",30),e.bIt("click",function(){const o=e.eBV(t).index,a=e.XpG(2);return e.Njj(a.selectSlide(o,".upcoming-issues"))}),e.k0s()}if(2&n){const t=r.index;e.AVh("active-slide-selector",0===t),e.Mz_("id","selector-slide-up-",t,"")}}function v6(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",28),e.DNE(2,f6,1,4,"span",29),e.k0s(),e.bVm()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngForOf",t.content.upcomingIssues.value)}}function b6(n,r){if(1&n&&e.nrm(0,"app-hide-field",32),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function C6(n,r){1&n&&e.DNE(0,b6,1,1,"app-hide-field",31),2&n&&e.Y8G("ngIf",r.errorText)}let Mr=(()=>{class n{constructor(t,i){this.cssmapping=t,this.swipe=i}ngOnInit(){}instrumentCssClass(t){return t.value=t.value?.toUpperCase(),this.cssmapping.cssClass(t)}selectSlide(t,i){this.swipe.selectSlide("up-"+t,i)}handleTouchMove(t){this.swipe.handleTouchMove(t)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o),e.rXU(Ee.h))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-upcoming-issues"]],inputs:{content:"content",id:"id",position:"position",type:"type",status:"status"},decls:12,vars:9,consts:[["emptyvalue",""],["id","upcoming-issues",1,"upcoming-issues-component","component","wrapper","x-large-width","x-large-width-padding","component-refresh","gtm-track-component"],[1,"bold-font-weight","section-title"],["class","summary",4,"ngIf"],[1,"full-width","upcoming-issues","swipable-table"],["class","table-header",4,"ngFor","ngForOf"],[3,"swipeleft","swiperight",4,"ngIf"],[4,"ngIf"],[1,"summary"],[1,"table-header"],[1,"name"],[1,"market"],[1,"primary"],[1,"secondary"],[1,"range"],[1,"date"],[1,"type"],[3,"swipeleft","swiperight"],[3,"active-panel","id",4,"ngFor","ngForOf"],[3,"id"],[1,"clickable","name","gtm-trackable","td-with-link"],["targetType","_blank",3,"link","linkClasses","dashClasses","value","errorText","visibility"],[1,"double-line"],[3,"ngClass"],["class","small-font-size",3,"ngClass",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"dash-wrapper"],[1,"small-font-size",3,"ngClass"],[1,"swipable-slider","show-on-landscape"],["class","slide-selector",3,"active-slide-selector","id","click",4,"ngFor","ngForOf"],[1,"slide-selector",3,"click","id"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&(e.j41(0,"div",1)(1,"h3",2),e.EFF(2),e.k0s(),e.DNE(3,HY,2,1,"p",3),e.j41(4,"table",4)(5,"thead"),e.DNE(6,WY,17,8,"tr",5),e.nI1(7,"slice"),e.k0s(),e.DNE(8,h6,2,1,"tbody",6),e.k0s(),e.DNE(9,v6,3,1,"ng-container",7),e.k0s(),e.DNE(10,C6,1,1,"ng-template",null,0,e.C5r)),2&i&&(e.R7$(2),e.JRh(null==o.content.title?null:o.content.title.value),e.R7$(),e.Y8G("ngIf",null==o.content.summary?null:o.content.summary.value),e.R7$(3),e.Y8G("ngForOf",e.brH(7,5,null==o.content.upcomingIssues?null:o.content.upcomingIssues.value,0,1)),e.R7$(2),e.Y8G("ngIf",(null==o.content.upcomingIssues||null==o.content.upcomingIssues.value?null:o.content.upcomingIssues.value.length)>0),e.R7$(),e.Y8G("ngIf",o.content.upcomingIssues.value.length>0))},dependencies:[l.YU,l.Sq,l.bT,l.T3,y.W,xe,l.P9,Te.Z],styles:[".summary[_ngcontent-%COMP%]{padding:1rem 0}.clickable[_ngcontent-%COMP%]:hover{text-decoration:underline}.market[_ngcontent-%COMP%]{width:7rem}.primary[_ngcontent-%COMP%], .secondary[_ngcontent-%COMP%]{width:9rem}.date[_ngcontent-%COMP%]{width:12rem}@media (max-width: 1023px){.swipable-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:8rem}.swipable-table[_ngcontent-%COMP%] .double-line[_ngcontent-%COMP%]{height:3.5rem}.swipable-table[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{width:auto}.swipable-table[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%]{padding:3px 0}}.name[_ngcontent-%COMP%]{width:22rem}"],changeDetection:0})}}return n})(),Or=(()=>{class n{transform(t){return t&&""!==t&&t!==w.M.DEFAULT_VALUE?k.T.getTurquoiseUrl(t):((0,te.z3)("TurquoiseInstrumentsUrlPipe: input params ",null,window.location.href,[{key:"symbol",value:t}]),"#")}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275pipe=e.EJ8({name:"turquoiseInstrumentsUrl",type:n,pure:!0})}}return n})();const Ye=n=>({errorText:n});function T6(n,r){if(1&n&&(e.qex(0),e.j41(1,"td")(2,"span"),e.EFF(3),e.k0s()(),e.j41(4,"td"),e.nrm(5,"app-link-or-dash",8),e.nI1(6,"turquoiseInstrumentsUrl"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.turquoiseInstrument.tmisMarketResultIsin.label," "),e.R7$(2),e.Y8G("link",e.bMT(6,7,t.turquoiseInstrument.tmisMarketResultSymbol.value))("linkClasses","blue-text bold-font-weight")("dashClasses","blue-text")("value",t.turquoiseInstrument.tmisMarketResultIsin.value)("errorText",t.turquoiseInstrument.tmisMarketResultIsin.errorText)("visibility",t.turquoiseInstrument.tmisMarketResultIsin.visibility)}}function x6(n,r){if(1&n&&(e.qex(0),e.j41(1,"td")(2,"span"),e.EFF(3),e.k0s()(),e.j41(4,"td"),e.nrm(5,"app-link-or-dash",8),e.nI1(6,"turquoiseInstrumentsUrl"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.turquoiseInstrument.tmisSearchResultIsin.label," "),e.R7$(2),e.Y8G("link",e.bMT(6,7,t.turquoiseInstrument.tmisSearchResultSymbol.value))("linkClasses","blue-text bold-font-weight")("dashClasses","blue-text")("value",t.turquoiseInstrument.tmisSearchResultIsin.value)("errorText",t.turquoiseInstrument.tmisSearchResultIsin.errorText)("visibility",t.turquoiseInstrument.tmisSearchResultIsin.visibility)}}function k6(n,r){if(1&n&&(e.qex(0),e.j41(1,"td")(2,"span"),e.EFF(3),e.k0s()(),e.j41(4,"td"),e.nrm(5,"app-link-or-dash",8),e.nI1(6,"turquoiseInstrumentsUrl"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.turquoiseInstrument.tmisMarketResultSymbol.label," "),e.R7$(2),e.Y8G("link",e.bMT(6,7,t.turquoiseInstrument.tmisMarketResultSymbol.value))("linkClasses","blue-text bold-font-weight")("dashClasses","blue-text")("value",t.getSymbolForRender(t.turquoiseInstrument.tmisMarketResultSymbol.value))("errorText",t.turquoiseInstrument.tmisMarketResultSymbol.errorText)("visibility",t.turquoiseInstrument.tmisMarketResultSymbol.visibility)}}function y6(n,r){if(1&n&&(e.qex(0),e.j41(1,"td")(2,"span"),e.EFF(3),e.k0s()(),e.j41(4,"td"),e.nrm(5,"app-link-or-dash",8),e.nI1(6,"turquoiseInstrumentsUrl"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.turquoiseInstrument.tmisSearchResultSymbol.label," "),e.R7$(2),e.Y8G("link",e.bMT(6,7,t.turquoiseInstrument.tmisSearchResultSymbol.value))("linkClasses","blue-text bold-font-weight")("dashClasses","blue-text")("value",t.getSymbolForRender(t.turquoiseInstrument.tmisSearchResultSymbol.value))("errorText",t.turquoiseInstrument.tmisSearchResultSymbol.errorText)("visibility",t.turquoiseInstrument.tmisSearchResultSymbol.visibility)}}function w6(n,r){if(1&n&&(e.qex(0),e.j41(1,"td")(2,"span"),e.EFF(3),e.k0s()(),e.j41(4,"td"),e.nrm(5,"app-link-or-dash",8),e.nI1(6,"turquoiseInstrumentsUrl"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.turquoiseInstrument.tmisMarketResultName.label," "),e.R7$(2),e.Y8G("link",e.bMT(6,7,t.turquoiseInstrument.tmisMarketResultSymbol.value))("linkClasses","black-link ellipsed")("dashClasses","black-link")("value",t.turquoiseInstrument.tmisMarketResultName.value)("errorText",t.turquoiseInstrument.tmisMarketResultName.errorText)("visibility",t.turquoiseInstrument.tmisMarketResultName.visibility)}}function I6(n,r){if(1&n&&(e.qex(0),e.j41(1,"td")(2,"span"),e.EFF(3),e.k0s()(),e.j41(4,"td"),e.nrm(5,"app-link-or-dash",8),e.nI1(6,"turquoiseInstrumentsUrl"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.turquoiseInstrument.tmisSearchResultName.label," "),e.R7$(2),e.Y8G("link",e.bMT(6,7,t.turquoiseInstrument.tmisSearchResultSymbol.value))("linkClasses","black-link ellipsed")("dashClasses","black-link")("value",t.turquoiseInstrument.tmisSearchResultName.value)("errorText",t.turquoiseInstrument.tmisSearchResultName.errorText)("visibility",t.turquoiseInstrument.tmisSearchResultName.visibility)}}function M6(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.turquoiseInstrument.tmisMarketResultPrimaryVenueOfInstrument.value," ")}}function O6(n,r){if(1&n&&(e.qex(0),e.DNE(1,M6,2,1,"ng-container",7),e.eu8(2,9),e.bVm()),2&n){e.XpG(2);const t=e.sdS(28),i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.turquoiseInstrument.tmisMarketResultPri
1maryVenueOfInstrument.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.eq3(3,Ye,i.turquoiseInstrument.tmisMarketResultPrimaryVenueOfInstrument.errorText))}}function R6(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",10),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function F6(n,r){if(1&n&&(e.qex(0),e.j41(1,"td")(2,"span"),e.EFF(3),e.k0s()(),e.j41(4,"td"),e.DNE(5,O6,3,5,"ng-container",7)(6,R6,3,1,"ng-container",7),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.turquoiseInstrument.tmisMarketResultPrimaryVenueOfInstrument.label," "),e.R7$(2),e.Y8G("ngIf",t.turquoiseInstrument.tmisMarketResultPrimaryVenueOfInstrument.visibility),e.R7$(),e.Y8G("ngIf",!t.turquoiseInstrument.tmisMarketResultPrimaryVenueOfInstrument.visibility)}}function P6(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.turquoiseInstrument.tmisSearchResultPrimaryVenueOfInstrument.value," ")}}function G6(n,r){if(1&n&&(e.qex(0),e.DNE(1,P6,2,1,"ng-container",7),e.eu8(2,9),e.bVm()),2&n){e.XpG(2);const t=e.sdS(28),i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.turquoiseInstrument.tmisSearchResultPrimaryVenueOfInstrument.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.eq3(3,Ye,i.turquoiseInstrument.tmisSearchResultPrimaryVenueOfInstrument.errorText))}}function S6(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",10),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function $6(n,r){if(1&n&&(e.qex(0),e.j41(1,"td")(2,"span"),e.EFF(3),e.k0s()(),e.j41(4,"td"),e.DNE(5,G6,3,5,"ng-container",7)(6,S6,3,1,"ng-container",7),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.turquoiseInstrument.tmisSearchResultName.label," "),e.R7$(2),e.Y8G("ngIf",t.turquoiseInstrument.tmisSearchResultPrimaryVenueOfInstrument.visibility),e.R7$(),e.Y8G("ngIf",!t.turquoiseInstrument.tmisSearchResultPrimaryVenueOfInstrument.visibility)}}function E6(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",e.bMT(2,1,t.turquoiseInstrument.tmisMarketResultPrice.value)," ")}}function D6(n,r){if(1&n&&(e.qex(0),e.DNE(1,E6,3,3,"ng-container",7),e.eu8(2,9),e.bVm()),2&n){e.XpG(2);const t=e.sdS(28),i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.turquoiseInstrument.tmisMarketResultPrice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.eq3(3,Ye,i.turquoiseInstrument.tmisMarketResultPrice.errorText))}}function j6(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.turquoiseInstrument.tmisMarketResultCurrency.value," ")}}function N6(n,r){if(1&n&&(e.qex(0),e.DNE(1,j6,2,1,"ng-container",7),e.eu8(2,9),e.bVm()),2&n){e.XpG(2);const t=e.sdS(28),i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.turquoiseInstrument.tmisMarketResultCurrency.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.eq3(3,Ye,i.turquoiseInstrument.tmisMarketResultCurrency.errorText))}}function Y6(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",10),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function X6(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",10),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function B6(n,r){if(1&n&&(e.qex(0),e.j41(1,"td")(2,"span"),e.EFF(3),e.k0s()(),e.j41(4,"td"),e.DNE(5,D6,3,5,"ng-container",7)(6,N6,3,5,"ng-container",7)(7,Y6,3,1,"ng-container",7)(8,X6,3,1,"ng-container",7),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.turquoiseInstrument.tmisMarketResultPrice.label," "),e.R7$(2),e.Y8G("ngIf",t.turquoiseInstrument.tmisMarketResultPrice.visibility),e.R7$(),e.Y8G("ngIf",t.turquoiseInstrument.tmisMarketResultCurrency.visibility&&t.turquoiseInstrument.tmisMarketResultPrice.value!==t.defaultFieldValue),e.R7$(),e.Y8G("ngIf",!t.turquoiseInstrument.tmisMarketResultPrice.visibility),e.R7$(),e.Y8G("ngIf",!t.turquoiseInstrument.tmisMarketResultCurrency.visibility)}}function V6(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",e.bMT(2,1,t.turquoiseInstrument.tmisSearchResultPrice.value)," ")}}function L6(n,r){if(1&n&&(e.qex(0),e.DNE(1,V6,3,3,"ng-container",7),e.eu8(2,9),e.bVm()),2&n){e.XpG(2);const t=e.sdS(28),i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.turquoiseInstrument.tmisSearchResultPrice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.eq3(3,Ye,i.turquoiseInstrument.tmisSearchResultPrice.errorText))}}function A6(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.turquoiseInstrument.tmisSearchResultCurrency.value," ")}}function q6(n,r){if(1&n&&(e.qex(0),e.DNE(1,A6,2,1,"ng-container",7),e.eu8(2,9),e.bVm()),2&n){e.XpG(2);const t=e.sdS(28),i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.turquoiseInstrument.tmisSearchResultCurrency.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.eq3(3,Ye,i.turquoiseInstrument.tmisSearchResultCurrency.errorText))}}function U6(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",10),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function z6(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",10),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function H6(n,r){if(1&n&&(e.qex(0),e.j41(1,"td")(2,"span"),e.EFF(3),e.k0s()(),e.j41(4,"td"),e.DNE(
15,L6,3,5,"ng-container",7)(6,q6,3,5,"ng-container",7)(7,U6,3,1,"ng-container",7)(8,z6,3,1,"ng-container",7),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.turquoiseInstrument.tmisSearchResultPrice.label," "),e.R7$(2),e.Y8G("ngIf",t.turquoiseInstrument.tmisSearchResultPrice.visibility),e.R7$(),e.Y8G("ngIf",t.turquoiseInstrument.tmisSearchResultCurrency.visibility&&t.turquoiseInstrument.tmisSearchResultPrice.value!==t.defaultFieldValue),e.R7$(),e.Y8G("ngIf",!t.turquoiseInstrument.tmisSearchResultPrice.visibility),e.R7$(),e.Y8G("ngIf",!t.turquoiseInstrument.tmisSearchResultCurrency.visibility)}}function W6(n,r){if(1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2),e.nI1(3,"customdate"),e.k0s(),e.j41(4,"span",11),e.EFF(5),e.nI1(6,"customdate"),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(e.i5U(3,2,t.turquoiseInstrument.tmisMarketResultDatetime.value,"short")),e.R7$(3),e.JRh(e.brH(6,5,t.turquoiseInstrument.tmisMarketResultDatetime.value,"time","Europe/London"))}}function J6(n,r){if(1&n&&(e.qex(0),e.DNE(1,W6,7,9,"ng-container",7),e.eu8(2,9),e.bVm()),2&n){e.XpG(2);const t=e.sdS(28),i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.turquoiseInstrument.tmisMarketResultDatetime.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.eq3(3,Ye,i.turquoiseInstrument.tmisMarketResultDatetime.errorText))}}function K6(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",10),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function Q6(n,r){if(1&n&&(e.qex(0),e.j41(1,"td")(2,"span"),e.EFF(3),e.k0s()(),e.j41(4,"td"),e.DNE(5,J6,3,5,"ng-container",7)(6,K6,3,1,"ng-container",7),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.turquoiseInstrument.tmisMarketResultDatetime.label," "),e.R7$(2),e.Y8G("ngIf",t.turquoiseInstrument.tmisMarketResultDatetime.visibility),e.R7$(),e.Y8G("ngIf",!t.turquoiseInstrument.tmisMarketResultDatetime.visibility)}}function Z6(n,r){if(1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2),e.nI1(3,"customdate"),e.k0s(),e.j41(4,"span",11),e.EFF(5),e.nI1(6,"customdate"),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(e.i5U(3,2,t.turquoiseInstrument.tmisSearchResultDatetime.value,"short")),e.R7$(3),e.JRh(e.brH(6,5,t.turquoiseInstrument.tmisSearchResultDatetime.value,"time","Europe/London"))}}function eX(n,r){if(1&n&&(e.qex(0),e.DNE(1,Z6,7,9,"ng-container",7),e.eu8(2,9),e.bVm()),2&n){e.XpG(2);const t=e.sdS(28),i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.turquoiseInstrument.tmisSearchResultDatetime.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.eq3(3,Ye,i.turquoiseInstrument.tmisSearchResultDatetime.errorText))}}function tX(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",10),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function nX(n,r){if(1&n&&(e.qex(0),e.j41(1,"td")(2,"span"),e.EFF(3),e.k0s()(),e.j41(4,"td"),e.DNE(5,eX,3,5,"ng-container",7)(6,tX,3,1,"ng-container",7),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.turquoiseInstrument.tmisSearchResultDatetime.label," "),e.R7$(2),e.Y8G("ngIf",t.turquoiseInstrument.tmisSearchResultDatetime.visibility),e.R7$(),e.Y8G("ngIf",!t.turquoiseInstrument.tmisSearchResultDatetime.visibility)}}function iX(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"customnumber"),e.k0s()),2&n){const t=e.XpG(5);e.R7$(),e.SpI(" ",e.bMT(2,1,t.turquoiseInstrument.tmisMarketResultNetchange.value)," ")}}function oX(n,r){if(1&n&&(e.qex(0),e.DNE(1,iX,3,3,"span",7),e.eu8(2,9),e.bVm()),2&n){e.XpG(3);const t=e.sdS(28),i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.turquoiseInstrument.tmisMarketResultNetchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.eq3(3,Ye,i.turquoiseInstrument.tmisMarketResultNetchange.errorText))}}function rX(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"customnumber"),e.k0s()),2&n){const t=e.XpG(5);e.R7$(),e.SpI(" (",e.i5U(2,1,t.turquoiseInstrument.tmisMarketResultPercentualchange.value,"%"),") ")}}function aX(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,rX,3,4,"span",7),e.eu8(2,9),e.k0s()),2&n){e.XpG(3);const t=e.sdS(28),i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.turquoiseInstrument.tmisMarketResultPercentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.eq3(3,Ye,i.turquoiseInstrument.tmisMarketResultPercentualchange.errorText))}}function sX(n,r){if(1&n&&(e.j41(0,"span",13),e.DNE(1,oX,3,5,"ng-container",7)(2,aX,3,5,"span",7),e.k0s()),2&n){const t=e.XpG(3);e.Y8G("ngClass",t.turquoiseInstrument.tmisMarketResultNetchangesign.visibility&&!t.turquoiseInstrument.tmisMarketResultNetchangesign.errorText?t.indexCssClass(t.turquoiseInstrument.tmisMarketResultNetchangesign):""),e.R7$(),e.Y8G("ngIf",t.turquoiseInstrument.tmisMarketResultNetchange.visibility),e.R7$(),e.Y8G("ngIf",t.turquoiseInstrument.tmisMarketResultPercentualchange.visibility)}}function lX(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",10),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function cX(n,r){if(1&n&&(e.qex(0),e.j41(1,"td")(2,"span"),e.EFF(3),e.k0s()(),e.j41(4,"td"),e.DNE(
15,sX,3,3,"span",12)(6,lX,3,1,"ng-container",7),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.turquoiseInstrument.tmisMarketResultNetchange.label," "),e.R7$(2),e.Y8G("ngIf",t.turquoiseInstrument.tmisMarketResultNetchange.value!==t.defaultFieldValue),e.R7$(),e.Y8G("ngIf",t.turquoiseInstrument.tmisMarketResultNetchange.value===t.defaultFieldValue)}}function pX(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"customnumber"),e.k0s()),2&n){const t=e.XpG(5);e.R7$(),e.SpI(" ",e.bMT(2,1,t.turquoiseInstrument.tmisSearchResultNetchange.value)," ")}}function mX(n,r){if(1&n&&(e.qex(0),e.DNE(1,pX,3,3,"span",7),e.eu8(2,9),e.bVm()),2&n){e.XpG(3);const t=e.sdS(28),i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.turquoiseInstrument.tmisSearchResultNetchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.eq3(3,Ye,i.turquoiseInstrument.tmisSearchResultNetchange.errorText))}}function _X(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"customnumber"),e.k0s()),2&n){const t=e.XpG(5);e.R7$(),e.SpI(" (",e.i5U(2,1,t.turquoiseInstrument.tmisSearchResultPercentualchange.value,"%"),") ")}}function dX(n,r){if(1&n&&(e.j41(0,"span"),e.DNE(1,_X,3,4,"span",7),e.eu8(2,9),e.k0s()),2&n){e.XpG(3);const t=e.sdS(28),i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.turquoiseInstrument.tmisSearchResultPercentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.eq3(3,Ye,i.turquoiseInstrument.tmisSearchResultPercentualchange.errorText))}}function uX(n,r){if(1&n&&(e.j41(0,"span",13),e.DNE(1,mX,3,5,"ng-container",7)(2,dX,3,5,"span",7),e.k0s()),2&n){const t=e.XpG(3);e.Y8G("ngClass",t.turquoiseInstrument.tmisSearchResultNetchangesign.visibility&&!t.turquoiseInstrument.tmisSearchResultNetchangesign.errorText?t.indexCssClass(t.turquoiseInstrument.tmisSearchResultNetchangesign):""),e.R7$(),e.Y8G("ngIf",t.turquoiseInstrument.tmisSearchResultNetchange.visibility),e.R7$(),e.Y8G("ngIf",t.turquoiseInstrument.tmisSearchResultPercentualchange.visibility)}}function gX(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",10),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function hX(n,r){if(1&n&&(e.qex(0),e.j41(1,"td")(2,"span"),e.EFF(3),e.k0s()(),e.j41(4,"td"),e.DNE(5,uX,3,3,"span",12)(6,gX,3,1,"ng-container",7),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.turquoiseInstrument.tmisSearchResultNetchange.label," "),e.R7$(2),e.Y8G("ngIf",t.turquoiseInstrument.tmisSearchResultNetchange.value!==t.defaultFieldValue),e.R7$(),e.Y8G("ngIf",t.turquoiseInstrument.tmisSearchResultNetchange.value===t.defaultFieldValue)}}function fX(n,r){if(1&n&&e.nrm(0,"app-hide-field",15),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function vX(n,r){1&n&&e.DNE(0,fX,1,1,"app-hide-field",14),2&n&&e.Y8G("ngIf",r.errorText)}function bX(n,r){if(1&n){const t=e.RV6();e.j41(0,"section",2)(1,"div",3),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeModal())}),e.k0s(),e.j41(2,"div",4)(3,"div",5),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.closeModal())}),e.k0s(),e.j41(4,"div",6)(5,"table")(6,"tr"),e.DNE(7,T6,7,9,"ng-container",7)(8,x6,7,9,"ng-container",7),e.k0s(),e.j41(9,"tr"),e.DNE(10,k6,7,9,"ng-container",7)(11,y6,7,9,"ng-container",7),e.k0s(),e.j41(12,"tr"),e.DNE(13,w6,7,9,"ng-container",7)(14,I6,7,9,"ng-container",7),e.k0s(),e.j41(15,"tr"),e.DNE(16,F6,7,3,"ng-container",7)(17,$6,7,3,"ng-container",7),e.k0s(),e.j41(18,"tr"),e.DNE(19,B6,9,5,"ng-container",7)(20,H6,9,5,"ng-container",7),e.k0s(),e.j41(21,"tr"),e.DNE(22,Q6,7,3,"ng-container",7)(23,nX,7,3,"ng-container",7),e.k0s(),e.j41(24,"tr"),e.DNE(25,cX,7,3,"ng-container",7)(26,hX,7,3,"ng-container",7),e.k0s()()()(),e.DNE(27,vX,1,1,"ng-template",null,0,e.C5r),e.k0s()}if(2&n){const t=e.XpG();e.R7$(7),e.Y8G("ngIf","market"===t.searchType),e.R7$(),e.Y8G("ngIf","search"===t.searchType),e.R7$(2),e.Y8G("ngIf","market"===t.searchType),e.R7$(),e.Y8G("ngIf","search"===t.searchType),e.R7$(2),e.Y8G("ngIf","market"===t.searchType),e.R7$(),e.Y8G("ngIf","search"===t.searchType),e.R7$(2),e.Y8G("ngIf","market"===t.searchType),e.R7$(),e.Y8G("ngIf","search"===t.searchType),e.R7$(2),e.Y8G("ngIf","market"===t.searchType),e.R7$(),e.Y8G("ngIf","search"===t.searchType),e.R7$(2),e.Y8G("ngIf","market"===t.searchType),e.R7$(),e.Y8G("ngIf","search"===t.searchType),e.R7$(2),e.Y8G("ngIf","market"===t.searchType),e.R7$(),e.Y8G("ngIf","search"===t.searchType)}}let CX=(()=>{class n{constructor(t){this.cssmapping=t,this.closedModal=new e.bkB,this.defaultFieldValue=w.M.DEFAULT_VALUE}ngOnInit(){}closeModal(){this.closedModal.emit(),this.turquoiseInstrument=null}indexCssClass(t){return this.cssmapping.cssClass(t)}getSymbolForRender(t){if(!t||t.length<=3)return t;let i=t.substring(2,t.length);const o=i.length;return i=i.substring(0,o-1)+i.charAt(o-1).toLowerCase(),i}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-turquoise-popup-table"]],inputs:{turquoiseInstrument:"turquoiseInstrument",searchType:"searchType"},outputs:{closedModal:"closedModal"},decls:1,vars:1,consts:[["emptyvalue",""],["class","popup-table overlay-container",4,"ngIf"],[1,"popup-table","overlay-container"],[1,"overlay","modal-overlay",3,"click"],[1,"overlay-wrapper"],[1,"close-overlay",3,"click"],[1,"overlay-content"],[4,"ngIf"],[3,"link","linkClasses","dashClasses","value","errorText","visibility"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"dash-wrapper"],[1,"market-time"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){1&i&&e.DNE(0,bX,29,14,"
1section",1),2&i&&e.Y8G("ngIf",o.turquoiseInstrument)},dependencies:[l.YU,l.bT,l.T3,y.W,xe,ee.p,U.W,Or],styles:[".overlay-content[_ngcontent-%COMP%]{background:#fff}table[_ngcontent-%COMP%]{margin:3rem auto;table-layout:fixed;width:100%}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{font-weight:700;width:7rem}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:0}.market-time[_ngcontent-%COMP%]{padding-left:.5rem}"],changeDetection:0})}}return n})();const TX=["turquoiseResultEl"],he=n=>({errorText:n}),Rr=(n,r)=>({label:n,code:"isin",options:r}),Fr=(n,r)=>({label:n,code:"symbol",options:r}),Pr=(n,r)=>({label:n,code:"name",options:r}),Gr=(n,r)=>({label:n,code:"lastvalue",options:r}),Sr=(n,r)=>({label:n,code:"netchange",options:r});function xX(n,r){if(1&n&&(e.j41(0,"div",21),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.tmisSummary.value," ")}}function kX(n,r){if(1&n&&e.nrm(0,"div",22),2&n){const t=e.XpG();e.Y8G("innerHtml",t.content.promoContent.value,e.npT)}}function yX(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",23),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.clearFilters())}),e.EFF(1," Back to markets "),e.k0s()}}function wX(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.tmisPrimaryVenueOfInstrument.value," ")}}function IX(n,r){if(1&n&&(e.qex(0),e.DNE(1,wX,2,1,"ng-container",19),e.eu8(2,33),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.tmisPrimaryVenueOfInstrument.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,t.tmisPrimaryVenueOfInstrument.errorText))}}function MX(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",34),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function OX(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",35),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.JRh(t.tmisMarketId.value)}}function RX(n,r){if(1&n&&(e.qex(0),e.DNE(1,OX,3,1,"ng-container",19),e.eu8(2,33),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.tmisMarketId.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,t.tmisMarketId.errorText))}}function FX(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",34),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function PX(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.tmisMarketCountry.value," ")}}function GX(n,r){if(1&n&&(e.qex(0),e.DNE(1,PX,2,1,"ng-container",19),e.eu8(2,33),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.tmisMarketCountry.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,t.tmisMarketCountry.errorText))}}function SX(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",34),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function $X(n,r){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td",30),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2);return e.Njj(a.filterByMarketId(o.tmisMarketId.value))}),e.DNE(2,IX,3,5,"ng-container",19)(3,MX,3,1,"ng-container",19),e.k0s(),e.j41(4,"td",31),e.DNE(5,RX,3,5,"ng-container",19)(6,FX,3,1,"ng-container",19),e.k0s(),e.j41(7,"td",32),e.DNE(8,GX,3,5,"ng-container",19)(9,SX,3,1,"ng-container",19),e.k0s()()}if(2&n){const t=r.$implicit;e.R7$(2),e.Y8G("ngIf",t.tmisPrimaryVenueOfInstrument.visibility),e.R7$(),e.Y8G("ngIf",!t.tmisPrimaryVenueOfInstrument.visibility),e.R7$(2),e.Y8G("ngIf",t.tmisMarketId.visibility),e.R7$(),e.Y8G("ngIf",!t.tmisMarketId.visibility),e.R7$(2),e.Y8G("ngIf",t.tmisMarketCountry.visibility),e.R7$(),e.Y8G("ngIf",!t.tmisMarketCountry.visibility)}}function EX(n,r){if(1&n&&(e.j41(0,"table",24)(1,"thead")(2,"tr",25)(3,"th",26),e.EFF(4),e.k0s(),e.j41(5,"th",27),e.EFF(6),e.k0s(),e.j41(7,"th",28),e.EFF(8),e.k0s()()(),e.j41(9,"tbody"),e.DNE(10,$X,10,6,"tr",29),e.k0s()()),2&n){const t=e.XpG();e.R7$(4),e.SpI(" ",t.content.tmisMarketsTable[0].tmisPrimaryVenueOfInstrument.label," "),e.R7$(2),e.JRh(t.content.tmisMarketsTable[0].tmisMarketId.label),e.R7$(2),e.SpI(" ",t.content.tmisMarketsTable[0].tmisMarketCountry.label," "),e.R7$(2),e.Y8G("ngForOf",t.content.tmisMarketsTable)}}function DX(n,r){if(1&n&&(e.j41(0,"div",39)(1,"span",40),e.EFF(2),e.k0s(),e.EFF(3),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI("",null==t.content.tmisMarketResultsTable.pagination?null:t.content.tmisMarketResultsTable.pagination.totalItems," results"),e.R7$(),e.SpI(" (",null==t.content.tmisMarketResultsTable.content?null:t.content.tmisMarketResultsTable.content.length," showing) ")}}function jX(n,r){1&n&&e.eu8(0)}function NX(n,r){1&n&&e.eu8(0)}function YX(n,r){1&n&&e.eu8(0)}function XX(n,r){1&n&&e.eu8(0)}function BX(n,r){1&n&&e.eu8(0)}function VX(n,r){if(1&n&&(e.j41(0,"td"),e.nrm(1,"app-link-or-dash",56),e.nI1(2,"turquoiseInstrumentsUrl"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t.tmisMarketResultSymbol.value))("linkClasses","blue-text bold-font-weight")("dashClasses","blue-text")("value",t.tmisMarketResultIsin.value)("errorText",t.tmisMarketResultIsin.errorText)("visibility",t.tmisMarketResultIsin.visibility)}}function LX(n,r){if(1&n&&(e.j41(0,"td"),e.nrm(1,"app-link-or-dash",56),e.nI1(2,"turquoiseInstrumentsUrl"),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.R7$(),e.Y8G("link",e.bMT(2,6,t.tmisMarketResultSymbol.value))("linkClasses","blue-text bold-font-weight")("dashClasses","blue-text")("value",i.getSymbolForRender(t.tmisMarketResultSymbol.value))("errorText",t.tmisMarketResultSymbol.errorText)("visibility",t.tmisMarketResultSymbol.visibility)}}function AX(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",56),e.nI1(2,"turquoiseInstrumentsUrl"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t.tmisMarketResultSymbol.value))("linkClasses","black-link ellipsed")("dashClasses","black-link")("value",t.tmisMarketResultName.value)("errorText",t.tmisMarketResultName.errorText)("visibility",t.tmisMarketResultName.visibility)}}function qX(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",57),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(2),e.JRh(t.tmisMarketResultName.value)}}function UX(n,r){if(1&n&&(e.qex(0),e.DNE(1,qX,3,1,"ng-container",19),e.eu8(2,33),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(3);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.tmisMarketResultName.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,t.tmisMarketResultName.errorText))}}function zX(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",34),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(5);e.R7$(2),e.JRh(t.defaultFieldValue)}}function HX(n,r){if(1&n&&(e.qex(0),e.DNE(1,UX,3,5,"ng-container",19)(2,zX,3,1,"ng-container",19),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.tmisMarketResultName.visibility),e.R7$(),e.Y8G("ngIf",!t.tmisMarketResultName.visibility)}}function WX(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",null==t.tmisMarketResultPrimaryVenueOfInstrument?null:t.tmisMarketResultPrimaryVenueOfInstrument.value," ")}}function JX(n,r){if(1&n&&(e.qex(0),e.DNE(1,WX,2,1,"ng-container",19),e.eu8(2,33),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(3);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!(null!=t.tmisMarketResultPrimaryVenueOfInstrument&&t.tmisMarketResultPrimaryVenueOfInstrument.errorText)),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,null==t.tmisMarketResultPrimaryVenueOfInstrument?null:t.tmisMarketResultPrimaryVenueOfInstrument.errorText))}}function KX(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",34),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(5);e.R7$(2),e.JRh(t.defaultFieldValue)}}function QX(n,r){if(1&n&&(e.j41(0,"td",58),e.DNE(1,JX,3,5,"ng-container",19)(2,KX,3,1,"ng-container",19),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",null==t.tmisMarketResultPrimaryVenueOfInstrument?null:t.tmisMarketResultPrimaryVenueOfInstrument.visibility),e.R7$(),e.Y8G("ngIf",!(null!=t.tmisMarketResultPrimaryVenueOfInstrument&&t.tmisMarketResultPrimaryVenueOfInstrument.visibility))}}function ZX(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.tmisMarketResultPrice.value)," ")}}function eB(n,r){if(1&n&&(e.qex(0),e.DNE(1,ZX,3,3,"ng-container",19),e.eu8(2,33),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(3);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.tmisMarketResultPrice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,t.tmisMarketResultPrice.errorText))}}function tB(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.tmisMarketResultCurrency.value," ")}}function nB(n,r){if(1&n&&(e.qex(0),e.DNE(1,tB,2,1,"ng-container",19),e.eu8(2,33),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(3);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.tmisMarketResultCurrency.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,t.tmisMarketResultCurrency.errorText))}}function iB(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",34),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function oB(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",34),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function rB(n,r){if(1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2),e.nI1(3,"customdate"),e.k0s(),e.j41(4,"span",59),e.EFF(5),e.nI1(6,"customdate"),e.k0s(),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(2),e.JRh(e.brH(3,2,t.tmisMarketResultDatetime.value,"short","Europe/London")),e.R7$(3),e.JRh(e.brH(6,6,t.tmisMarketResultDatetime.value,"time","Europe/London"))}}function aB(n,r){if(1&n&&(e.qex(0),e.DNE(1,rB,7,10,"ng-container",19),e.eu8(2,33),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(3);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.tmisMarketResultDatetime.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,t.tmisMarketResultDatetime.errorText))}}function sB(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",34),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(5);e.R7$(2),e.JRh(t.defaultFieldValue)}}function lB(n,r){if(1&n&&(e.j41(0,"td"),e.DNE(1,aB,3,5,"ng-container",19)(2,sB,3,1,"ng-container",19),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.tmisMarketResultDatetime.visibility&&t.tmisMarketResultDatetime.value!==i.defaultFieldValue),e.R7$(),e.Y8G("ngIf",!t.tmisMarketResultDatetime.visibility||t.tmisMarketResultDatetime.value===i.defaultFieldValue)}}function cB(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"customnumber"),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.tmisMarketResultNetchange.value)," ")}}function pB(n,r){if(1&n&&(e.qex(0),e.DNE(1,cB,3,3,"span",19),e.eu8(2,33),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(3);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.tmisMarketResultNetchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,t.tmisMarketResultNetchange.errorText))}}function mB(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"customnumber"),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" (",e.i5U(2,1,t.tmisMarketResultPercentualchange.value,"%"),") ")}}function _B(n,r){if(1&n&&(e.j41(0,"span",62),e.DNE(1,mB,3,4,"span",19),e.eu8(2,33),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.XpG(3);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.tmisMarketResultPercentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,t.tmisMarketResultPercentualchange.errorText))}}function dB(n,r){if(1&n&&(e.j41(0,"span",60),e.DNE(1,pB,3,5,"ng-container",19)(2,_B,3,5,"span",61),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.Y8G("ngClass",t.tmisMarketResultNetchangesign.visibility&&!t.tmisMarketResultNetchangesign.errorText?i.indexCssClass(t.tmisMarketResultNetchangesign):""),e.R7$(),e.Y8G("ngIf",t.tmisMarketResultNetchange.visibility),e.R7$(),e.Y8G("ngIf",t.tmisMarketResultPercentualchange.visibility)}}function uB(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",34),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function gB(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",63),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(3);return e.Njj(a.clickOnCell(o))}),e.k0s()}}function hB(n,r){if(1&n){const t=e.RV6();e.j41(0,"tr",null,2),e.DNE(2,VX,3,8,"td",19),e.nI1(3,"async"),e.DNE(4,LX,3,8,"td",19),e.nI1(5,"async"),e.j41(6,"td",50),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.clickOnCell(o))}),e.DNE(7,AX,3,8,"ng-container",19),e.nI1(8,"async"),e.DNE(9,HX,3,2,"ng-container",19),e.nI1(10,"async"),e.k0s(),e.DNE(11,QX,3,2,"td",51),e.nI1(12,"async"),e.j41(13,"td",52),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.clickOnCell(o))}
1),e.DNE(14,eB,3,5,"ng-container",19)(15,nB,3,5,"ng-container",19)(16,iB,3,1,"ng-container",19)(17,oB,3,1,"ng-container",19),e.k0s(),e.DNE(18,lB,3,2,"td",19),e.nI1(19,"async"),e.j41(20,"td",53),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.clickOnCell(o))}),e.DNE(21,dB,3,3,"span",54)(22,uB,3,1,"ng-container",19)(23,gB,1,0,"span",55),e.nI1(24,"async"),e.k0s()()}if(2&n){const t=r.$implicit,i=e.XpG(3);e.R7$(2),e.Y8G("ngIf",!e.bMT(3,13,i.getOnMobile())),e.R7$(2),e.Y8G("ngIf",!e.bMT(5,15,i.getOnMobile())),e.R7$(3),e.Y8G("ngIf",!e.bMT(8,17,i.getOnMobile())),e.R7$(2),e.Y8G("ngIf",e.bMT(10,19,i.getOnMobile())),e.R7$(2),e.Y8G("ngIf",!e.bMT(12,21,i.getOnMobile())),e.R7$(3),e.Y8G("ngIf",t.tmisMarketResultPrice.visibility),e.R7$(),e.Y8G("ngIf",t.tmisMarketResultCurrency.visibility&&t.tmisMarketResultPrice.value!==i.defaultFieldValue),e.R7$(),e.Y8G("ngIf",!t.tmisMarketResultPrice.visibility),e.R7$(),e.Y8G("ngIf",!t.tmisMarketResultCurrency.visibility),e.R7$(),e.Y8G("ngIf",!e.bMT(19,23,i.getOnMobile())),e.R7$(3),e.Y8G("ngIf",t.tmisMarketResultNetchange.value!==i.defaultFieldValue),e.R7$(),e.Y8G("ngIf",t.tmisMarketResultNetchange.value===i.defaultFieldValue),e.R7$(),e.Y8G("ngIf",e.bMT(24,25,i.getOnMobile()))}}function fB(n,r){if(1&n&&(e.j41(0,"table",41)(1,"thead")(2,"tr",25)(3,"th",42),e.DNE(4,jX,1,0,"ng-container",43),e.k0s(),e.j41(5,"th",44),e.DNE(6,NX,1,0,"ng-container",43),e.k0s(),e.j41(7,"th",45),e.DNE(8,YX,1,0,"ng-container",43),e.k0s(),e.j41(9,"th",46),e.EFF(10),e.k0s(),e.j41(11,"th",47),e.DNE(12,XX,1,0,"ng-container",43),e.k0s(),e.j41(13,"th",48),e.EFF(14),e.k0s(),e.j41(15,"th",49),e.DNE(16,BX,1,0,"ng-container",43),e.k0s()()(),e.j41(17,"tbody"),e.DNE(18,hB,25,27,"tr",29),e.k0s()()),2&n){const t=e.XpG(2),i=e.sdS(20);e.R7$(3),e.Y8G("ngClass","isin"===t.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(18,Rr,t.content.tmisMarketResultsTable.content[0].tmisMarketResultIsin.label,t.dropdownSortOptions.isin)),e.R7$(),e.Y8G("ngClass","symbol"===t.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(21,Fr,t.content.tmisMarketResultsTable.content[0].tmisMarketResultSymbol.label,t.dropdownSortOptions.symbol)),e.R7$(),e.Y8G("ngClass","name"===t.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(24,Pr,t.content.tmisMarketResultsTable.content[0].tmisMarketResultName.label,t.dropdownSortOptions.name)),e.R7$(2),e.SpI(" ",null==t.content.tmisMarketResultsTable.content[0].tmisMarketResultPrimaryVenueOfInstrument?null:t.content.tmisMarketResultsTable.content[0].tmisMarketResultPrimaryVenueOfInstrument.label," "),e.R7$(),e.Y8G("ngClass","lastvalue"===t.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(27,Gr,t.content.tmisMarketResultsTable.content[0].tmisMarketResultPrice.label,t.dropdownSortOptions.lastvalue)),e.R7$(2),e.SpI(" ",t.content.tmisMarketResultsTable.content[0].tmisMarketResultDatetime.label," "),e.R7$(),e.Y8G("ngClass","netchange"===t.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(30,Sr,t.content.tmisMarketResultsTable.content[0].tmisMarketResultNetchange.label,t.dropdownSortOptions.netchange)),e.R7$(2),e.Y8G("ngForOf",t.content.tmisMarketResultsTable.content)}}function vB(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"app-paginator",64),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.onSubmit(o))}),e.k0s(),e.bVm()}if(2&n){const t=e.XpG(2);e.R7$(),e.Y8G("totalPages",null==t.content.tmisMarketResultsTable.pagination?null:t.content.tmisMarketResultsTable.pagination.totalPages)("currentPage",null==t.content.tmisMarketResultsTable.pagination?null:t.content.tmisMarketResultsTable.pagination.page)}}function bB(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",65)(2,"div",66),e.EFF(3," As at "),e.j41(4,"span",67),e.EFF(5),e.nI1(6,"customdate"),e.nI1(7,"customdate"),e.k0s(),e.EFF(8),e.k0s()(),e.j41(9,"div",68)(10,"div",69),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.scrollTop())}),e.k0s(),e.j41(11,"div",70),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.scrollTop())}),e.k0s()(),e.bVm()}if(2&n){const t=e.XpG(2);e.R7$(5),e.Lme("",e.i5U(6,3,t.status.refreshedTime,"short")," ",e.ii3(7,6,t.status.refreshedTime,"time","Europe/London",!0),""),e.R7$(3),e.SpI(" - ",t.content.refreshtime.value," ")}}function CB(n,r){if(1&n&&(e.j41(0,"div",71)(1,"span",72),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.content.tmisNoResultsText.value)}}function TB(n,r){if(1&n&&(e.qex(0),e.DNE(1,DX,4,2,"div",36)(2,fB,19,33,"table",37)(3,vB,2,2,"ng-container",19)(4,bB,12,11,"ng-container",19)(5,CB,3,1,"div",38),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.content.tmisMarketResultsTable&&(null==t.content.tmisMarketResultsTable.content?null:t.content.tmisMarketResultsTable.content.length)>0),e.R7$(),e.Y8G("ngIf",t.content.tmisMarketResultsTable&&(null==t.content.tmisMarketResultsTable.content?null:t.content.tmisMarketResultsTable.content.length)>0),e.R7$(),e.Y8G("ngIf",t.content.tmisMarketResultsTable&&t.content.tmisMarketResultsTable.pagination),e.R7$(),e.Y8G("ngIf",t.content.tmisMarketResultsTable&&(null==t.content.tmisMarketResultsTable.content?null:t.content.tmisMarketResultsTable.content.length)>0),e.R7$(),e.Y8G("ngIf",!t.content.tmisMarketResultsTable||0===(null==t.content.tmisMarketResultsTable.content?null:t.content.tmisMarketResultsTable.content.length))}}function xB(n,r){if(1&n&&(e.j41(0,"div",39)(1,"span",40),e.EFF(2),e.k0s(),e.EFF(3),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.SpI("",null==t.content.tmisSearchResultsTable.pagination?null:t.content.tmisSearchResultsTable.pagination.totalItems," results"),e.R7$(),e.SpI(" (",null==t.content.tmisSearchResultsTable.content?null:t.content.tmisSearchResultsTable.content.length," showing) ")}}function kB(n,r){1&n&&e.eu8(0)}function yB(n,r){1&n&&e.eu8(0)}function wB(n,r){1&n&&e.eu8(0)}function IB(n,r){1&n&&e.eu8(0)}function MB(n,r){1&n&&e.eu8(0)}function OB(n,r){if(1&n&&(e.j41(0,"td"),e.nrm(1,"app-link-or-dash",56),e.nI1(2,"turquoiseInstrumentsUrl"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t.tmisSearchResultSymbol.value))("linkClasses","blue-text bold-font-weight")("dashClasses","blue-text")("value",t.tmisSearchResultIsin.value)("errorText",t.tmisSearchResultIsin.errorText)("visibility",t.tmisSearchResultIsin.visibility)}}function RB(n,r){if(1&n&&(e.j41(0,"td"),e.nrm(1,"app-link-or-dash",56),e.nI1(2,"turquoiseInstrumentsUrl"),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.R7$(),e.Y8G("link",e.bMT(2,6,t.tmisSearchResultSymbol.value))("linkClasses","blue-text bold-font-weight")("dashClasses","blue-text")("value",i.getSymbolForRender(t.tmisSearchResultSymbol.value))("errorText",t.tmisSearchResultSymbol.errorText)("visibility",t.tmisSearchResultSymbol.visibility)}}function FB(n,r){if(1&n&&(e.qex(0),e.nrm(1,"app-link-or-dash",56),e.nI1(2,"turquoiseInstrumentsUrl"),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("link",e.bMT(2,6,t.tmisSearchResultSymbol.value))("linkClasses","black-link ellipsed")("dashClasses","black-link")("value",t.tmisSearchResultName.value)("errorText",t.tmisSearchResultName.errorText)("visibility",t.tmisSearchResultName.visibility)}}function PB(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",57),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(2),e.JRh(t.tmisSearchResultName.value)}}function GB(n,r){if(1&n&&(e.qex(0),e.DNE(1,PB,3,1,"ng-container",19),e.eu8(2,33),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(3);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.tmisSearchResultName.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,t.tmisSearchResultName.errorText))}}function SB(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",34),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(5);e.R7$(2),e.JRh(t.defaultFieldValue)}}function $B(n,r){if(1&n&&(e.qex(0),e.DNE(1,GB,3,5,"ng-container",19)(2,SB,3,1,"ng-container",19),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.tmisSearchResultName.visibility),e.R7$(),e.Y8G("ngIf",!t.tmisSearchResultName.visibility)}}function EB(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",t.tmisSearchResultPrimaryVenueOfInstrument.value," ")}}function DB(n,r){if(1&n&&(e.qex(0),e.DNE(1,EB,2,1,"ng-container",19),e.eu8(2,33),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(3);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.tmisSearchResultPrimaryVenueOfInstrument.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,t.tmisSearchResultPrimaryVenueOfInstrument.errorText))}}function jB(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",34),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(5);e.R7$(2),e.JRh(t.defaultFieldValue)}}function NB(n,r){if(1&n&&(e.j41(0,"td",58),e.DNE(1,DB,3,5,"ng-container",19)(2,jB,3,1,"ng-container",19),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.Y8G("ngIf",t.tmisSearchResultPrimaryVenueOfInstrument.visibility),e.R7$(),e.Y8G("ngIf",!t.tmisSearchResultPrimaryVenueOfInstrument.visibility)}}function YB(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.tmisSearchResultPrice.value)," ")}}function XB(n,r){if(1&n&&(e.qex(0),e.DNE(1,YB,3,3,"ng-container",19),e.eu8(2,33),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(3);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.tmisSearchResultPrice.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,t.tmisSearchResultPrice.errorText))}}function BB(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.tmisSearchResultCurrency.value," ")}}function VB(n,r){if(1&n&&(e.qex(0),e.DNE(1,BB,2,1,"ng-container",19),e.eu8(2,33),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(3);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.tmisSearchResultCurrency.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,t.tmisSearchResultCurrency.errorText))}}function LB(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",34),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function AB(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",34),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function qB(n,r){if(1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2),e.nI1(3,"customdate"),e.k0s(),e.j41(4,"span",59),e.EFF(5),e.nI1(6,"customdate"),e.k0s(),e.bVm()),2&n){const t=e.XpG(3).$implicit;e.R7$(2),e.JRh(e.i5U(3,2,t.tmisSearchResultDatetime.value,"short")),e.R7$(3),e.JRh(e.brH(6,5,t.tmisSearchResultDatetime.value,"time","Europe/London"))}}function UB(n,r){if(1&n&&(e.qex(0),e.DNE(1,qB,7,9,"ng-container",19),e.eu8(2,33),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(3);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.tmisSearchResultDatetime.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,t.tmisSearchResultDatetime.errorText))}}function zB(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",34),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(5);e.R7$(2),e.JRh(t.defaultFieldValue)}}function HB(n,r){if(1&n&&(e.j41(0,"td"),e.DNE(1,UB,3,5,"ng-container",19)(2,zB,3,1,"ng-container",19),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.R7$(),e.Y8G("ngIf",t.tmisSearchResultDatetime.visibility&&t.tmisSearchResultDatetime.value!==i.defaultFieldValue),e.R7$(),e.Y8G("ngIf",!t.tmisSearchResultDatetime.visibility||t.tmisSearchResultDatetime.value===i.defaultFieldValue)}}function WB(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"customnumber"),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,t.tmisSearchResultNetchange.value)," ")}}function JB(n,r){if(1&n&&(e.qex(0),e.DNE(1,WB,3,3,"span",19),e.eu8(2,33),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.XpG(3);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.tmisSearchResultNetchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,t.tmisSearchResultNetchange.errorText))}}function KB(n,r){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"customnumber"),e.k0s()),2&n){const t=e.XpG(3).$implicit;e.R7$(),e.SpI(" (",e.i5U(2,1,t.tmisSearchResultPercentualchange.value,"%"),") ")}}function QB(n,r){if(1&n&&(e.j41(0,"span",62),e.DNE(1,KB,3,4,"span",19),e.eu8(2,33),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.XpG(3);const i=e.sdS(22);e.R7$(),e.Y8G("ngIf",!t.tmisSearchResultPercentualchange.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,he,t.tmisSearchResultPercentualchange.errorText))}}function ZB(n,r){if(1&n&&(e.j41(0,"span",60),e.DNE(1,JB,3,5,"ng-container",19)(2,QB,3,5,"span",61),e.k0s()),2&n){const t=e.XpG().$implicit,i=e.XpG(3);e.Y8G("ngClass",t.tmisSearchResultNetchangesign.visibility&&!t.tmisSearchResultNetchangesign.errorText?i.indexCssClass(t.tmisSearchResultNetchangesign):""),e.R7$(),e.Y8G("ngIf",t.tmisSearchResultNetchange.visibility),e.R7$(),e.Y8G("ngIf",t.tmisSearchResultPercentualchange.visibility)}}function eV(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",34),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(t.defaultFieldValue)}}function tV(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",63),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(3);return e.Njj(a.clickOnCell(o))}),e.k0s()}}function nV(n,r){if(1&n){const t=e.RV6();e.j41(0,"tr",null,2),e.DNE(2,OB,3,8,"td",19),e.nI1(3,"async"),e.DNE(4,RB,3,8,"td",19),e.nI1(5,"async"),e.j41(6,"td",50),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.clickOnCell(o))}),e.DNE(7,FB,3,8,"ng-container",19),e.nI1(8,"async"),e.DNE(9,$B,3,2,"ng-container",19),e.nI1(10,"async"),e.k0s(),e.DNE(11,NB,3,2,"td",51),e.nI1(12,"async"),e.j41(13,"td",52),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.clickOnCell(o))}),e.DNE(14,XB,3,5,"ng-container",19)(15,VB,3,5,"ng-container",19)(16,LB,3,1,"ng-container",19)(17,AB,3,1,"ng-container",19),e.k0s(),e.DNE(18,HB,3,2,"td",19),e.nI1(19,"async"),e.j41(20,"td",53),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(3);return e.Njj(a.clickOnCell(o))}),e.DNE(21,ZB,3,3,"span",54)(22,eV,3,1,"ng-container",19)(23,tV,1,0,"span",55),e.nI1(24,"async"),e.k0s()()}if(2&n){const t=r.$implicit,i=e.XpG(3);e.R7$(2),e.Y8G("ngIf",!e.bMT(3,13,i.getOnMobile())),e.R7$(2),e.Y8G("ngIf",!e.bMT(5,15,i.getOnMobile())),e.R7$(3),e.Y8G("ngIf",!e.bMT(8,17,i.getOnMobile())),e.R7$(2),e.Y8G("ngIf",e.bMT(10,19,i.getOnMobile())),e.R7$(2),e.Y8G("ngIf",!e.bMT(12,21,i.getOnMobile())),e.R7$(3),e.Y8G("ngIf",t.tmisSearchResultPrice.visibility),e.R7$(),e.Y8G("ngIf",t.tmisSearchResultCurrency.visibility&&t.tmisSearchResultCurrency.value!==i.defaultFieldValue),e.R7$(),e.Y8G("ngIf",!t.tmisSearchResultPrice.visibility),e.R7$(),e.Y8G("ngIf",!t.tmisSearchResultCurrency.visibility),e.R7$(),e.Y8G("ngIf",!e.bMT(19,23,i.getOnMobile())),e.R7$(3),e.Y8G("ngIf",t.tmisSearchResultNetchange.value!==i.defaultFieldValue),e.R7$(),e.Y8G("ngIf",t.tmisSearchResultNetchange.value===i.defaultFieldValue),e.R7$(),e.Y8G("ngIf",e.bMT(24,25,i.getOnMobile()))}}function iV(n,r){if(1&n&&(e.j41(0,"table",74)(1,"thead")(2,"tr",25)(3,"th",42),e.DNE(4,kB,1,0,"ng-container",43),e.k0s(),e.j41(5,"th",44),e.DNE(6,yB,1,0,"ng-container",43),e.k0s(),e.j41(7,"th",45),e.DNE(8,wB,1,0,"ng-container",43),e.k0s(),e.j41(9,"th",46),e.EFF(10),e.k0s(),e.j41(11,"th",47),e.DNE(12,IB,1,0,"ng-container",43),e.k0s(),e.j41(13,"th",48),e.EFF(14),e.k0s(),e.j41(15,"th",49),e.DNE(16,MB,1,0,"ng-container",43),e.k0s()()(),e.j41(17,"tbody"),e.DNE(18,nV,25,27,"tr",29),e.k0s()()),2&n){const t=e.XpG(2),i=e.sdS(20);e.R7$(3),e.Y8G("ngClass","isin"===t.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(18,Rr,t.content.tmisSearchResultsTable.content[0].tmisSearchResultIsin.label,t.dropdownSortOptions.isin)),e.R7$(),e.Y8G("ngClass","symbol"===t.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(21,Fr,t.content.tmisSearchResultsTable.content[0].tmisSearchResultSymbol.label,t.dropdownSortOptions.symbol)),e.R7$(),e.Y8G("ngClass","name"===t.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(24,Pr,t.content.tmisSearchResultsTable.content[0].tmisSearchResultName.label,t.
1dropdownSortOptions.name)),e.R7$(2),e.SpI(" ",t.content.tmisSearchResultsTable.content[0].tmisSearchResultPrimaryVenueOfInstrument.label," "),e.R7$(),e.Y8G("ngClass","lastvalue"===t.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(27,Gr,t.content.tmisSearchResultsTable.content[0].tmisSearchResultPrice.label,t.dropdownSortOptions.lastvalue)),e.R7$(2),e.SpI(" ",t.content.tmisSearchResultsTable.content[0].tmisSearchResultDatetime.label," "),e.R7$(),e.Y8G("ngClass","netchange"===t.activeCode?"active-head":""),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(30,Sr,t.content.tmisSearchResultsTable.content[0].tmisSearchResultNetchange.label,t.dropdownSortOptions.netchange)),e.R7$(2),e.Y8G("ngForOf",t.content.tmisSearchResultsTable.content)}}function oV(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"app-paginator",64),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.onSubmit(o))}),e.k0s(),e.bVm()}if(2&n){const t=e.XpG(2);e.R7$(),e.Y8G("totalPages",null==t.content.tmisSearchResultsTable.pagination?null:t.content.tmisSearchResultsTable.pagination.totalPages)("currentPage",null==t.content.tmisSearchResultsTable.pagination?null:t.content.tmisSearchResultsTable.pagination.page)}}function rV(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",65)(2,"div",66),e.EFF(3," As at "),e.j41(4,"span",67),e.EFF(5),e.nI1(6,"customdate"),e.nI1(7,"customdate"),e.k0s(),e.EFF(8),e.k0s()(),e.j41(9,"div",68)(10,"div",69),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.scrollTop())}),e.k0s(),e.j41(11,"div",70),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.scrollTop())}),e.k0s()(),e.bVm()}if(2&n){const t=e.XpG(2);e.R7$(5),e.Lme("",e.i5U(6,3,t.status.refreshedTime,"short")," ",e.ii3(7,6,t.status.refreshedTime,"time","Europe/London",!0),""),e.R7$(3),e.SpI(" - ",t.content.refreshtime.value," ")}}function aV(n,r){if(1&n&&(e.j41(0,"div",71)(1,"span",72),e.EFF(2),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.content.tmisNoResultsText.value)}}function sV(n,r){if(1&n&&(e.qex(0),e.DNE(1,xB,4,2,"div",36)(2,iV,19,33,"table",73)(3,oV,2,2,"ng-container",19)(4,rV,12,11,"ng-container",19)(5,aV,3,1,"div",38),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.content.tmisSearchResultsTable&&(null==t.content.tmisSearchResultsTable.content?null:t.content.tmisSearchResultsTable.content.length)>0),e.R7$(),e.Y8G("ngIf",t.content.tmisSearchResultsTable&&(null==t.content.tmisSearchResultsTable.content?null:t.content.tmisSearchResultsTable.content.length)>0),e.R7$(),e.Y8G("ngIf",t.content.tmisSearchResultsTable&&t.content.tmisSearchResultsTable.pagination),e.R7$(),e.Y8G("ngIf",t.content.tmisSearchResultsTable&&(null==t.content.tmisSearchResultsTable.content?null:t.content.tmisSearchResultsTable.content.length)>0),e.R7$(),e.Y8G("ngIf",!t.content.tmisSearchResultsTable||0===(null==t.content.tmisSearchResultsTable.content?null:t.content.tmisSearchResultsTable.content.length))}}function lV(n,r){if(1&n){const t=e.RV6();e.j41(0,"li",78)(1,"div",79),e.bIt("click",function(){const o=e.eBV(t).$implicit,a=e.XpG(2).code,s=e.XpG();return e.Njj(s.sortBy(o.value,a))}),e.EFF(2),e.k0s()()}if(2&n){const t=r.$implicit,i=e.XpG(3);e.Y8G("ngClass",i.selectedSort===t.value?"active-sort":""),e.R7$(),e.FS9("title",t.label),e.R7$(),e.JRh(t.label)}}function cV(n,r){if(1&n&&(e.j41(0,"ul"),e.DNE(1,lV,3,3,"li",77),e.k0s()),2&n){const t=e.XpG().options;e.R7$(),e.Y8G("ngForOf",t)}}function pV(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",75),e.bIt("click",function(){const o=e.eBV(t).code,a=e.XpG();return e.Njj(a.toggleOption(o))}),e.EFF(1),e.k0s(),e.j41(2,"span",76),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.toggleOption())}),e.DNE(3,cV,2,1,"ul",19),e.k0s()}if(2&n){const t=r.label,i=r.code,o=r.options,a=e.XpG();e.Y8G("ngClass",a.isSortDesc(i,o)?"reverse":""),e.R7$(),e.JRh(t),e.R7$(),e.Y8G("ngClass",a.selectedDropDown===i?"expanded":""),e.R7$(),e.Y8G("ngIf",o)}}function mV(n,r){if(1&n&&e.nrm(0,"app-hide-field",81),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function _V(n,r){1&n&&e.DNE(0,mV,1,1,"app-hide-field",80),2&n&&e.Y8G("ngIf",r.errorText)}let $r=(()=>{class n{constructor(t,i,o,a,s,c,d,C,T,I,N,z,me){this.fb=t,this.refreshService=i,this.scrollToService=o,this.filtersService=a,this.elementRef=s,this.store=c,this.cssmapping=d,this.platformId=C,this.isBreakpoint=T,this.cd=I,this.doc=N,this.renderer=z,this.urlHandlerService=me,this.defaultItemsPerPage=20,this.selectedSort="name,asc",this.defaultFieldValue=w.M.DEFAULT_VALUE,this.activeInstrument=null,this.activeCode="name",this.selectedDropDown="",this.dropdownSortOptions=void 0,this.isChanged=!1,this.defaultSorting="name,asc",this.defaultActiveCode="name",this.filtersService.store=this.store,this.filtersService.urlService=this.urlHandlerService}ngOnInit(){this.turquoiseSearchForm=this.fb.group({turquoiseSearch:null}),this.isBreakpoint.setOnTabletLandScape(),this.dropdownSortOptions=this.getDropdownSortOptions(),this.setSort()}ngAfterViewInit(){var t=this;return(0,_.A)(function*(){t.pageUrl=yield t.store.pipe((0,u.Lt)(h.Ti),(0,f.s)(1)).toPromise(),t.setFiltersFromUrl(t.pageUrl.parameters),t.scrollToResults(),t.turquoiseResultEl.changes.subscribe(()=>{t.isChanged&&t.scrollToResults()})})()}ngOnChanges(t){(0,l.UE)(this.platformId)&&(t.content?.currentValue!==t.content?.previousValue?(this.setFilterTypeByUrl(),this.isChanged=!0,(0,$e.A)(t)||(this.content.tmisMarketResultsTable=null,this.content.tmisSearchResultsTable=null)):this.isChanged=!1)}onResize(){this.isBreakpoint.setOnTabletLandScape()}getOnMobile(){return this.isBreakpoint.getOnTabletLandScape()}setFilterTypeByUrl(){const t=this.filtersService.getHttpFilters();t&&(this.filterType=t.has("q")?"search":t.has("marketid")?"market":null,this.cd.markForCheck())}setFiltersFromUrl(t){const i=t.get("q");
1if(i)return this.filterType="search",this.turquoiseSearchForm.controls.turquoiseSearch.setValue(i),this.filtersService.setFilter("q",this.filtersService.getFilterStructure(i)),void this.cd.markForCheck();const o=t.get("marketid");o&&(this.filterType="market",this.turquoiseSearchForm=this.fb.group({turquoiseSearch:null}),this.filtersService.setFilter("marketid",this.filtersService.getFilterStructure(o)),this.cd.markForCheck())}filterByMarketId(t){var i=this;return(0,_.A)(function*(){t&&(i.filtersService.clearFilters(),i.filtersService.setFilter("marketid",i.filtersService.getFilterStructure(t)),i.turquoiseSearchForm=i.fb.group({turquoiseSearch:null}),i.cd.markForCheck(),yield i.submit())})()}clearFilters(){var t=this;return(0,_.A)(function*(){t.filtersService.clearFilters(),t.turquoiseSearchForm.reset(),t.cd.markForCheck(),yield t.submit()})()}applySearch(){var t=this;return(0,_.A)(function*(){const i=t.turquoiseSearchForm.value.turquoiseSearch;i&&i.trim().length>=2&&(t.filtersService.clearFilters(),t.filtersService.setFilter("q",t.filtersService.getFilterStructure(i)),yield t.submit())})()}submit(t){var i=this;return(0,_.A)(function*(){t||i.filtersService.clearPageFilter(),i.setSort();let o=i.filtersService.getHttpFilters();t&&t.keys().forEach(a=>o=o.set(a,t.get(a))),yield i.filtersService.addFiltersToUrl(t),i.status={...i.status,params:o},i.refreshService.refreshComponent(i.id,i.position,i.type,i.content,i.status)})()}onSubmit(){var t=this;return(0,_.A)(function*(i=0){let o=(t.status.params||new F.Nl).set("page",`${i}`).set("size",`${t.defaultItemsPerPage}`);t.selectedSort&&(o=o.set("sort",t.selectedSort)),yield t.filtersService.addFiltersToUrl(),t.status={...t.status,currentPage:i,params:o},t.refreshService.refreshComponent(t.id,t.position,t.type,t.content,t.status)}).apply(this,arguments)}scrollTop(){this.scrollToService.scrollToTheElementById("turquoise-markets-instruments-search",this.elementRef)}scrollToResults(){var t=this;return(0,_.A)(function*(){const i=t.filtersService.getHttpFilters();((yield t.urlHandlerService.getPageFromCurrentPath())>=0||i&&i.keys().length>0)&&t.scrollToService.scrollToTheElementById("turquoise-results-wrapper",t.elementRef)})()}getSymbolForRender(t){if(!t||t.length<=3)return t;let i=t.substring(2,t.length);const o=i.length;return i=i.substring(0,o-1)+i.charAt(o-1).toLowerCase(),i}indexCssClass(t){return this.cssmapping.cssClass(t)}clickOnCell(t){this.isBreakpoint.tabletLandscape()&&(this.activeInstrument=t,this.blockBodyScroll(!0),this.cd.markForCheck())}onClosedModal(){this.activeInstrument=null,this.blockBodyScroll(!1),this.cd.markForCheck()}isSortDesc(t,i){return this.selectedSort===i[1].value&&this.activeCode===t}sortBy(t,i){var o=this;return(0,_.A)(function*(){o.setSort(t,i),yield o.onSubmit()})()}toggleOption(t=""){this.selectedDropDown=this.selectedDropDown===t?"":t,this.cd.markForCheck()}getDropdownSortOptions(){return{isin:[{value:"isin,asc",label:"A-Z"},{value:"isin,desc",label:"Z-A"}],symbol:[{value:"symbol,asc",label:"A-Z"},{value:"symbol,desc",label:"Z-A"}],name:[{value:"name,asc",label:"A-Z"},{value:"name,desc",label:"Z-A"}],lastvalue:[{value:"lastvalue,desc",label:"Highest - lowest"},{value:"lastvalue,asc",label:"Lowest - highest"}],netchange:[{value:"netchange,desc",label:"Highest - lowest"},{value:"netchange,asc",label:"Lowest - highest"}]}}setSort(t,i){this.selectedSort=t||this.defaultSorting,this.activeCode=i||this.defaultActiveCode,this.cd.markForCheck()}blockBodyScroll(t){const i=this.doc.getElementsByTagName("body")[0];t?this.renderer.addClass(i,"block-scroll"):this.renderer.removeClass(i,"block-scroll")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(g.ze),e.rXU(j.W),e.rXU(le.W),e.rXU(Ve.B),e.rXU(e.aKT),e.rXU(u.il),e.rXU(b.o),e.rXU(e.Agw),e.rXU(S.f),e.rXU(e.gRc),e.rXU(l.qQ),e.rXU(e.sFG),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-turquoise-markets-instruments-search"]],viewQuery:function(i,o){if(1&i&&e.GBs(TX,5),2&i){let a;e.mGM(a=e.lsd())&&(o.turquoiseResultEl=a)}},hostBindings:function(i,o){1&i&&e.bIt("resize",function(s){return o.onResize(s)},!1,e.tSv)},inputs:{content:"content",type:"type",position:"position",id:"id",status:"status"},features:[e.OA$],decls:23,vars:14,consts:[["SortOptionDropDown",""],["emptyvalue",""],["turquoiseResultEl",""],["id","turquoise-markets-instruments-search","appBackBrowserClick","",1,"turquoise-markets-instruments-search","wrapper","x-large-width","x-large-width-padding","component","gtm-track-component",3,"refreshComponent","scrollTop"],[1,"turquoise-search-header","large-width","large-width-padding"],[1,"turquoise-search-logo"],["src","assets/images/turquoise-logo-new.png","alt","turquoise logo"],["class","turquoise-search-summary regular-font-size",4,"ngIf"],["class","turquoise-search-promo-content regular-font-size",3,"innerHtml",4,"ngIf"],[1,"turquoise-search-bar","align-right"],[3,"whatsThisLink","whatsThisText"],[1,"flex-wrapper","spaced-flex-container","flex-align-center"],["id","turquoise-search-form",1,"turquoise-search-form","form-inline",3,"formGroup"],[1,"search-container","input-container"],["formControlName","turquoiseSearch","name","turquoiseSearch","type","text","id","turquoise-search-input","aria-describedby","turquoise-search-input","autocomplete","off",1,"form-control","bigger-font-size","search-icon","filter-input","search-input",3,"placeholder"],["type","submit",1,"hide-input-submit","gtm-trackable",3,"click"],["class","fake-link bold-font-weight gtm-trackable",3,"click",4,"ngIf"],["id","turquoise-results-wrapper",1,"turquoise-search-results"],["class","turquoise-markets-name-table full-width","i
1d","turquoise-markets-name-table",4,"ngIf"],[4,"ngIf"],[3,"closedModal","turquoiseInstrument","searchType"],[1,"turquoise-search-summary","regular-font-size"],[1,"turquoise-search-promo-content","regular-font-size",3,"innerHtml"],[1,"fake-link","bold-font-weight","gtm-trackable",3,"click"],["id","turquoise-markets-name-table",1,"turquoise-markets-name-table","full-width"],[1,"table-header"],[1,"tmis-market-name"],[1,"tmis-market-id"],[1,"tmis-market-country"],[4,"ngFor","ngForOf"],[1,"tmis-market-name-value","gtm-trackable",3,"click"],[1,"tmis-market-id-value"],[1,"tmis-market-country-value"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"dash-wrapper"],[1,"blue-text","bold-font-weight"],["class","results-header",4,"ngIf"],["class","turquoise-markets-table full-width","id","turquoise-markets-result-table",4,"ngIf"],["class","no-result-msg",4,"ngIf"],[1,"results-header"],[1,"total-results","bold-font-weight"],["id","turquoise-markets-result-table",1,"turquoise-markets-table","full-width"],[1,"tmis-market-isin","hide-on-landscape",3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"tmis-market-symbol","hide-on-landscape",3,"ngClass"],[1,"tmis-market-name",3,"ngClass"],[1,"tmis-market-market","hide-on-landscape"],[1,"tmis-market-last-price",3,"ngClass"],[1,"tmis-market-date-time","hide-on-landscape"],[1,"tmis-market-change",3,"ngClass"],[1,"clickable","tmis-market-name-value",3,"click"],["class","tmis-market-market-value",4,"ngIf"],[1,"clickable","tmis-market-last-price-value",3,"click"],[1,"index-change","clickable","tmis-market-change-value",3,"click"],[3,"ngClass",4,"ngIf"],["class","clickable gtm-trackable show-on-landscape selected-indicator",3,"click",4,"ngIf"],[3,"link","linkClasses","dashClasses","value","errorText","visibility"],[1,"ellipsed"],[1,"tmis-market-market-value"],[1,"market-time"],[3,"ngClass"],["class","hide-on-mobile",4,"ngIf"],[1,"hide-on-mobile"],[1,"clickable","gtm-trackable","show-on-landscape","selected-indicator",3,"click"],[3,"goToPage","totalPages","currentPage"],[1,"turquoise-search-delay","small-font-size","wrapper","x-large-width","x-large-width-padding"],[1,"small-font-size"],[1,"bold-font-weight"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"back-to-top","hide-on-mobile",3,"click"],[1,"back-to-top","show-on-mobile",3,"click"],[1,"no-result-msg"],[1,"large-font-size"],["class","turquoise-markets-table full-width","id","turquoise-search-result-table",4,"ngIf"],["id","turquoise-search-result-table",1,"turquoise-markets-table","full-width"],[1,"indented","clickable",3,"click","ngClass"],[1,"dropmenu","dropdown",3,"click","ngClass"],["class","sort-option",3,"ngClass",4,"ngFor","ngForOf"],[1,"sort-option",3,"ngClass"],[3,"click","title"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"section",3),e.bIt("refreshComponent",function(c){return e.eBV(a),e.Njj(o.submit(c))})("scrollTop",function(){return e.eBV(a),e.Njj(o.scrollTop())}),e.j41(1,"div",4)(2,"div",5),e.nrm(3,"img",6),e.k0s(),e.DNE(4,xX,2,1,"div",7),e.k0s(),e.DNE(5,kX,1,1,"div",8),e.j41(6,"div",9),e.nrm(7,"app-whats-this",10),e.j41(8,"div",11)(9,"form",12)(10,"span",13),e.nrm(11,"input",14),e.j41(12,"input",15),e.bIt("click",function(){return e.eBV(a),e.Njj(o.applySearch())}),e.k0s()()(),e.DNE(13,yX,2,0,"div",16),e.k0s()(),e.j41(14,"div",17),e.DNE(15,EX,11,4,"table",18)(16,TB,6,5,"ng-container",19)(17,sV,6,5,"ng-container",19),e.k0s(),e.j41(18,"app-turquoise-popup-table",20),e.bIt("closedModal",function(){return e.eBV(a),e.Njj(o.onClosedModal())}),e.k0s()(),e.DNE(19,pV,4,4,"ng-template",null,0,e.C5r)(21,_V,1,1,"ng-template",null,1,e.C5r)}2&i&&(e.AVh("modal-open",o.activeInstrument),e.R7$(4),e.Y8G("ngIf",o.content.tmisSummary.value),e.R7$(),e.Y8G("ngIf",o.content.promoContent.value&&o.content.promoContent.visibility),e.R7$(2),e.Y8G("whatsThisLink",o.content.whatsThisLink)("whatsThisText",o.content.whatsThisText),e.R7$(2),e.Y8G("formGroup",o.turquoiseSearchForm),e.R7$(2),e.Y8G("placeholder",o.content.tmisSearchText.value),e.R7$(2),e.Y8G("ngIf",o.filterType),e.R7$(2),e.Y8G("ngIf",o.content.tmisMarketsTable.length>0&&!o.filterType),e.R7$(),e.Y8G("ngIf","market"===o.filterType),e.R7$(),e.Y8G("ngIf","search"===o.filterType),e.R7$(),e.Y8G("turquoiseInstrument",o.activeInstrument)("searchType",o.filterType))},dependencies:[l.YU,l.Sq,l.bT,l.T3,g.qT,g.me,g.BC,g.cb,y.W,De.T,g.j4,g.JD,ue,ae,xe,CX,l.Jj,ee.p,U.W,Or],styles:[".turquoise-markets-instruments-search[_ngcontent-%COMP%]{margin-top:2.5rem}.turquoise-markets-instruments-search[_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%]{position:relative}.turquoise-search-logo[_ngcontent-%COMP%]{height:3.75rem;margin:2rem 0}.turquoise-search-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:auto}.turquoise-search-summary[_ngcontent-%COMP%], .turquoise-search-promo-content[_ngcontent-%COMP%]{margin:2rem 0}
1.turquoise-search-bar[_ngcontent-%COMP%]{margin:2rem 0 1rem auto;padding-top:2rem}@media (max-width: 768px){.turquoise-search-bar[_ngcontent-%COMP%] .flex-wrapper[_ngcontent-%COMP%]{display:block}}.turquoise-search-bar[_ngcontent-%COMP%] .turquoise-search-form[_ngcontent-%COMP%]{margin:1rem 0 0 auto;max-width:34rem;order:1;width:100%}.turquoise-search-bar[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{max-width:34rem;width:100%}.turquoise-search-bar[_ngcontent-%COMP%] .filter-input[_ngcontent-%COMP%]{max-width:34rem;padding-right:3rem;width:100%}.turquoise-search-bar[_ngcontent-%COMP%] .fake-link[_ngcontent-%COMP%]{order:0}.turquoise-markets-name-table[_ngcontent-%COMP%]{margin-top:-5px}.turquoise-markets-name-table[_ngcontent-%COMP%] .tmis-market-name[_ngcontent-%COMP%], .turquoise-markets-name-table[_ngcontent-%COMP%] .tmis-market-name-value[_ngcontent-%COMP%]{width:45%}.turquoise-markets-name-table[_ngcontent-%COMP%] .tmis-market-name-value[_ngcontent-%COMP%]:hover{cursor:pointer;text-decoration:underline}.turquoise-markets-name-table[_ngcontent-%COMP%] .tmis-market-id[_ngcontent-%COMP%], .turquoise-markets-name-table[_ngcontent-%COMP%] .tmis-market-id-value[_ngcontent-%COMP%]{width:45%}.turquoise-markets-name-table[_ngcontent-%COMP%] .tmis-market-country[_ngcontent-%COMP%], .turquoise-markets-name-table[_ngcontent-%COMP%] .tmis-market-country-value[_ngcontent-%COMP%]{width:10%}.turquoise-markets-table[_ngcontent-%COMP%]{margin-bottom:1.5rem}@media (max-width: 1023px){.turquoise-markets-table[_ngcontent-%COMP%] .tmis-market-name[_ngcontent-%COMP%]{padding-left:1rem}}
1.turquoise-markets-table[_ngcontent-%COMP%] .market-time[_ngcontent-%COMP%]{padding-left:.5rem}@media (max-width: 1023px){.turquoise-markets-table[_ngcontent-%COMP%] .tmis-market-name[_ngcontent-%COMP%], .turquoise-markets-table[_ngcontent-%COMP%] .tmis-market-name-value[_ngcontent-%COMP%]{max-width:6rem}}@media (max-width: 1023px){.turquoise-markets-table[_ngcontent-%COMP%] .tmis-market-last-price[_ngcontent-%COMP%], .turquoise-markets-table[_ngcontent-%COMP%] .tmis-market-last-price-value[_ngcontent-%COMP%]{max-width:4rem}}.turquoise-markets-table[_ngcontent-%COMP%] .tmis-market-last-price-value[_ngcontent-%COMP%]{cursor:default;text-decoration:none!important}@media (max-width: 1023px){.turquoise-markets-table[_ngcontent-%COMP%] .tmis-market-last-price-value[_ngcontent-%COMP%]{cursor:pointer}}@media (max-width: 1023px){.turquoise-markets-table[_ngcontent-%COMP%] .tmis-market-change[_ngcontent-%COMP%], .turquoise-markets-table[_ngcontent-%COMP%] .tmis-market-change-value[_ngcontent-%COMP%]{width:11rem}}@media (max-width: 480px){.turquoise-markets-table[_ngcontent-%COMP%] .tmis-market-change[_ngcontent-%COMP%], .turquoise-markets-table[_ngcontent-%COMP%] .tmis-market-change-value[_ngcontent-%COMP%]{width:5.5rem}}.turquoise-markets-table[_ngcontent-%COMP%] .tmis-market-change-value[_ngcontent-%COMP%]{cursor:default;text-decoration:none!important}@media (max-width: 1023px){.turquoise-markets-table[_ngcontent-%COMP%] .tmis-market-change-value[_ngcontent-%COMP%]{cursor:pointer}}.index-change[_ngcontent-%COMP%]{padding-left:.5rem;width:10rem}@media (max-width: 480px){.index-change[_ngcontent-%COMP%]{width:4.5rem}.index-change[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.selected-indicator):before{display:none}}.no-result-msg[_ngcontent-%COMP%]{margin-top:2rem}.back-to-top.hide-on-mobile[_ngcontent-%COMP%]{bottom:1rem}.results-header[_ngcontent-%COMP%]{clear:both;margin:1rem 0}.selected-indicator[_ngcontent-%COMP%]{float:right}th[_ngcontent-%COMP%] .dropdown.expanded[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{z-index:2}"],changeDetection:0})}}return n})();function dV(n,r){1&n&&(e.j41(0,"span"),e.EFF(1,"No market data"),e.k0s())}let zn=(()=>{class n extends Vt.v{constructor(t,i,o,a,s,c,d,C){super(o,d),this.store=t,this.platformId=i,this.doc=o,this.zone=a,this.refreshService=s,this.widgetsService=c,this.renderer=d,this.cd=C}ngOnInit(){var t=this;return(0,_.A)(function*(){(0,l.UE)(t.platformId)&&(t.refreshService.setRefreshComponent(t.id,t.position,t.type,t.content,t.status),Promise.all([t.loadScripts(tt.JZ),t.loadLink(tt.RA)]).then(()=>{t.initChart()}))})()}ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id),this.subscription&&this.subscription.unsubscribe(),window.advancedChartWidget?.destroy()}initAdvancedChart(t){window.dory?.config.setBasePath(M.c.endpoints.refinitivWidgets),window.advancedChartWidget=window?.fdc__widgets__?.WAdvancedChart.init(".advanced-chart-widget",{ric:t},"en-GB",null,"lse"),window.advancedChartWidget.setSettings({chartType:"line"})}initChart(){this.instrument$=this.store.pipe((0,u.Lt)(h.Ik),(0,W.p)(o=>!!o),(0,f.s)(1),(0,A.T)(o=>({type:o.instrumenttype.value,tidm:o.tidm.value}))),this.instrument$.subscribe(o=>{o?this.instrument=o:(this.errorMessage=!0,this.cd.detectChanges())});const i={category:this.instrument?.type.toUpperCase(),tidm:this.instrument?.tidm?.includes("-")?null:this.instrument?.tidm};i.tidm&&i.category&&(window.dory?.config.setBasePath(M.c.endpoints.refinitivWidgets),this.widgetsService.getRics(i).then(o=>{if(o){const a=o[0]?.ric;a?.includes("^")?(this.errorMessage=!0,this.cd.detectChanges()):this.subscription=this.widgetsService.isSessionValid$.subscribe(s=>{s&&a&&this.initAdvancedChart(a)})}}).catch(o=>{o instanceof et.O&&o.type===et.U.RicsNotFound&&(this.errorMessage=!0,this.cd.detectChanges())}))}isEquityOrTurquoise(){if(!(0,l.UE)(this.platformId))return(0,q.of)(!1);const t=["EQUITY","ETFS","OTHERS","turquoise"];return this.instrument$.pipe((0,A.T)(i=>t.includes(i.type)))}isBond(){return(0,l.UE)(this.platformId)?this.instrument$.pipe((0,A.T)(t=>"BONDS"===t.type)):(0,q.of)(!1)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(u.il),e.rXU(e.Agw),e.rXU(l.qQ),e.rXU(e.SKi),e.rXU(j.W),e.rXU(Bt.v),e.rXU(e.sFG),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-chart"]],inputs:{content:"content",id:"id",position:"position",type:"type",status:"status"},features:[e.Vt3],decls:13,vars:12,consts:[[1,"chart-component","full-width","gtm-track-component","component"],[1,"wrapper","x-large-width","x-large-width-padding","chart
1-wrapper","chart-debt"],[1,"widget-error-message-container"],[4,"ngIf"],[1,"advanced-chart-widget"],[1,"wrapper","x-large-width","x-large-width-padding","chart-component-footer","spaced-flex-container"],[1,"small-font-size","spaced-item"],[1,"bold-font-weight","refreshed-time"]],template:function(i,o){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2),e.DNE(3,dV,2,0,"span",3),e.k0s(),e.nrm(4,"div",4),e.k0s(),e.j41(5,"div",5)(6,"div",6),e.EFF(7," As at "),e.j41(8,"span",7),e.EFF(9),e.nI1(10,"customdate"),e.nI1(11,"customdate"),e.k0s(),e.EFF(12," - All data delayed at least 15 minutes "),e.k0s()()()),2&i&&(e.R7$(3),e.Y8G("ngIf",o.errorMessage),e.R7$(6),e.Lme("",e.brH(10,3,null==o.status?null:o.status.refreshedTime,"short","Europe/London")," ",e.ii3(11,7,null==o.status?null:o.status.refreshedTime,"time","Europe/London",!0),""))},dependencies:[l.bT,U.W],styles:['[_nghost-%COMP%] form.form-inline.v-widget-control-bar>div.sigdev-select{display:none!important}[_nghost-%COMP%] div.v-widget-sigdev-select{display:none}.widget-error-message-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-single-select[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{right:.625rem}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-input-checkbox[_ngcontent-%COMP%] .custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked:not(:disabled) ~ .custom-control-label[_ngcontent-%COMP%]:after{background-image:none!important}.theme--lse[_ngcontent-%COMP%]{--chart-color-0: #001eff !important;--dropdown-button-active-color: #001eff !important;--datepicker-bg-hover: #001eff !important;--dropdown-link-bg-hover: #001eff !important}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-highcharts--styled[_ngcontent-%COMP%] path.highcharts-point[_ngcontent-%COMP%]{stroke-width:1px}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .dropdown-item.active[_ngcontent-%COMP%] .dropdown-option-text[_ngcontent-%COMP%]{color:#fff}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-control-bar[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:hover, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-control-bar[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:focus{--dropdown-button-bg-hover: #001eff}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-control-bar[_ngcontent-%COMP%] .dropdown.show[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]{--dropdown-button-bg-active: #001eff}.highcharts-tooltip[_ngcontent-%COMP%] span.ric-name-wrapper[_ngcontent-%COMP%]{margin-top:-.5rem}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .w-advanced-chart-widget[_ngcontent-%COMP%] .v-highcharts[_ngcontent-%COMP%] .highstock-container[_ngcontent-%COMP%]{--chart-color-volume-down: #7e1b1b;--chart-color-psar-short: #7e1b1b;--chart-candlestick-negative: #7e1b1b;--chart-ohlc-negative: #7e1b1b;--chart-table-bar-negative-color: #7e1b1b}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-highcharts.v-highcharts--styled[_ngcontent-%COMP%] .highstock-container[_ngcontent-%COMP%] #gradient-0[_ngcontent-%COMP%] stop[_ngcontent-%COMP%]{--chart-series-color-0: rgba(22,124,244,.8)}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-highcharts.v-highcharts--styled[_ngcontent-%COMP%] .highstock-container[_ngcontent-%COMP%] #gradient-0[_ngcontent-%COMP%] stop[offset="0"][_ngcontent-%COMP%]{--chart-stop-opacity-0: .8}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-highcharts.v-highcharts--styled[_ngcontent-%COMP%] .highstock-container[_ngcontent-%COMP%] #gradient-0[_ngcontent-%COMP%] stop[offset="1"][_ngcontent-%COMP%]{--chart-stop-opacity-1:.3}[_ngcontent-%COMP%]:focus-visible{outline:0}.highcharts-label.highcharts-tooltip-box.align-left.highcharts-tooltip-box.highcharts-color-0[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{left:1px!important;top:1px!important}*[_ngcontent-%COMP%]{--input-border-color-focus: #001eff !important;--multi-select-badge-bg: #001eff !important}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-multiselect.v-form-tags__container[_ngcontent-%COMP%]{background-color:transparent!important}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-input-date-range[_ngcontent-%COMP%] .v-widget-input-date[_ngcontent-%COMP%] .v-date-time-picker[_ngcontent-%COMP%] .b-form-datepicker[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .b-calendar[_ngcontent-%COMP%] .b-calendar-grid[_ngcontent-%COMP%] .b-calendar-grid-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.disabled).focus, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-input-date-range[_ngcontent-%COMP%] .v-widget-input-date[_ngcontent-%COMP%] .v-date-time-picker[_ngcontent-%COMP%] .b-form-datepicker[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .b-calendar[_ngcontent-%COMP%] .b-calendar-grid[_ngcontent-%COMP%] .b-calendar-grid-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.disabled):focus, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-input-date-range[_ngcontent-%COMP%] .v-widget-input-date[_ngcontent-%COMP%] .v-date-time-picker[_ngcontent-%COMP%] .b-form-datepicker[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .b-calendar[_ngcontent-%COMP%] .b-calendar-grid[_ngcontent-%COMP%] .b-calendar-grid-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.disabled):hover{color:var(--datepicker-color-hover)!important}.chart-wrapper[_ngcontent-%COMP%]{margin-bottom:1rem}.price-chart-container[_ngcontent-%COMP%]{margin:0 auto} #w-advanced-chart-widget{height:400px} .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse .v-single-select .dropdown .dropdown-menu .dropdown-item.active, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-single-select[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .dropdown-item[_ngcontent-%COMP%]:focus, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-single-select[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .dropdown-item[_ngcontent-%COMP%]:hover{background-color:#001eff!important} .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse .custom-checkbox .custom-control-input:checked~.custom-control-label:after{background-image:none!important} .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse .v-highcharts--styled path.highcharts-point{stroke-width:1px}'],changeDetection:0})}}return n})();function uV(n,r){1&n&&(e.j41(0,"span"),e.EFF(1,"No market data"),e.k0s())}function gV(n,r){if(1&n&&(e.j41(0,"div",6)(1,"div",7),e.EFF(2," As at "),e.j41(3,"span",8),e.EFF(4),e.nI1(5,"customdate"),e.nI1(6,"customdate"),e.k0s(),e.EFF(7," - All data delayed at least 15 minutes "),e.k0s()()),2&n){const t=e.XpG();e.R7$(4),e.Lme("",e.i5U(5,2,null==t.status?null:t.status.refreshedTime,"short")," ",e.ii3(6,5,null==t.status?null:t.status.refreshedTime,"time","Europe/London",!0),"")}}let Er=(()=>{class n extends Vt.v{constructor(t,i,o,a,s,c,d){super(i,a),this.store=t,this.doc=i,this.platformId=o,this.renderer=a,this.refreshService=s,this.widgetsService=c,this.cd=d,this.errorMessage=!1,this.orbIndices=Wt.b}ngOnInit(){(0,l.UE)(this.platformId)&&(Promise.all([this.loadScripts(tt.JZ),this.loadLink(tt.RA)]).then(()=>{this.initChart()}),this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content,this.status))}
1ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id),this.subscription&&this.subscription.unsubscribe(),window.advancedChartWidget?.destroy()}initWidgets(t){window.dory?.config.setBasePath(M.c.endpoints.refinitivWidgets),window.advancedChartWidget=window?.fdc__widgets__?.WAdvancedChart.init(".advanced-chart-widget",{ric:t},"en-GB",null,"lse"),window.advancedChartWidget.setSettings({chartType:"line"})}initChart(){this.indices$=this.store.pipe((0,u.Lt)(h.P3),(0,W.p)(i=>!!i),(0,f.s)(1)),this.indices$.subscribe(i=>{i?this.tidm=i:(this.errorMessage=!0,this.cd.detectChanges())});const t={category:Wt.c.INDEX,tidm:this.tidm?.includes("-")?null:this.tidm};t.tidm&&t.category&&t.tidm!==Wt.b[t.tidm]&&this.widgetsService.getRics(t).then(i=>{if(i){const o=i[0]?.ric;this.subscription=this.widgetsService.isSessionValid$.subscribe(a=>{a&&o&&this.initWidgets(o)})}}).catch(i=>{i instanceof et.O&&i.type===et.U.RicsNotFound&&(this.errorMessage=!0,this.cd.detectChanges())})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(u.il),e.rXU(l.qQ),e.rXU(e.Agw),e.rXU(e.sFG),e.rXU(j.W),e.rXU(Bt.v),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-ftse-index-chart"]],inputs:{content:"content",id:"id",position:"position",type:"type",status:"status"},features:[e.Vt3],decls:6,vars:2,consts:[[1,"chart-component","full-width","gtm-track-component","component"],[1,"wrapper","x-large-width","x-large-width-padding","chart-wrapper","chart
1-ftse-index"],[1,"widget-error-message-container"],[4,"ngIf"],[1,"advanced-chart-widget"],["class","wrapper x-large-width x-large-width-padding chart-component-footer spaced-flex-container",4,"ngIf"],[1,"wrapper","x-large-width","x-large-width-padding","chart-component-footer","spaced-flex-container"],[1,"small-font-size","spaced-item"],[1,"bold-font-weight","refreshed-time"]],template:function(i,o){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2),e.DNE(3,uV,2,0,"span",3),e.k0s(),e.nrm(4,"div",4),e.k0s(),e.DNE(5,gV,8,10,"div",5),e.k0s()),2&i&&(e.R7$(3),e.Y8G("ngIf",o.errorMessage),e.R7$(2),e.Y8G("ngIf",o.tidm!==o.orbIndices[o.tidm]))},dependencies:[l.bT,U.W],styles:['[_nghost-%COMP%] form.form-inline.v-widget-control-bar>div.sigdev-select{display:none!important}[_nghost-%COMP%] div.v-widget-sigdev-select{display:none}.widget-error-message-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-single-select[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{right:.625rem}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-input-checkbox[_ngcontent-%COMP%] .custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked:not(:disabled) ~ .custom-control-label[_ngcontent-%COMP%]:after{background-image:none!important}.theme--lse[_ngcontent-%COMP%]{--chart-color-0: #001eff !important;--dropdown-button-active-color: #001eff !important;--datepicker-bg-hover: #001eff !important;--dropdown-link-bg-hover: #001eff !important}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-highcharts--styled[_ngcontent-%COMP%] path.highcharts-point[_ngcontent-%COMP%]{stroke-width:1px}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .dropdown-item.active[_ngcontent-%COMP%] .dropdown-option-text[_ngcontent-%COMP%]{color:#fff}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-control-bar[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:hover, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-control-bar[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:focus{--dropdown-button-bg-hover: #001eff}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-control-bar[_ngcontent-%COMP%] .dropdown.show[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]{--dropdown-button-bg-active: #001eff}.highcharts-tooltip[_ngcontent-%COMP%] span.ric-name-wrapper[_ngcontent-%COMP%]{margin-top:-.5rem}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .w-advanced-chart-widget[_ngcontent-%COMP%] .v-highcharts[_ngcontent-%COMP%] .highstock-container[_ngcontent-%COMP%]{--chart-color-volume-down: #7e1b1b;--chart-color-psar-short: #7e1b1b;--chart-candlestick-negative: #7e1b1b;--chart-ohlc-negative: #7e1b1b;--chart-table-bar-negative-color: #7e1b1b}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-highcharts.v-highcharts--styled[_ngcontent-%COMP%] .highstock-container[_ngcontent-%COMP%] #gradient-0[_ngcontent-%COMP%] stop[_ngcontent-%COMP%]{--chart-series-color-0: rgba(22,124,244,.8)}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-highcharts.v-highcharts--styled[_ngcontent-%COMP%] .highstock-container[_ngcontent-%COMP%] #gradient-0[_ngcontent-%COMP%] stop[offset="0"][_ngcontent-%COMP%]{--chart-stop-opacity-0: .8}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-highcharts.v-highcharts--styled[_ngcontent-%COMP%] .highstock-container[_ngcontent-%COMP%] #gradient-0[_ngcontent-%COMP%] stop[offset="1"][_ngcontent-%COMP%]{--chart-stop-opacity-1:.3}[_ngcontent-%COMP%]:focus-visible{outline:0}.highcharts-label.highcharts-tooltip-box.align-left.highcharts-tooltip-box.highcharts-color-0[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{left:1px!important;top:1px!important}*[_ngcontent-%COMP%]{--input-border-color-focus: #001eff !important;--multi-select-badge-bg: #001eff !important}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-multiselect.v-form-tags__container[_ngcontent-%COMP%]{background-color:transparent!important}.fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-input-date-range[_ngcontent-%COMP%] .v-widget-input-date[_ngcontent-%COMP%] .v-date-time-picker[_ngcontent-%COMP%] .b-form-datepicker[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .b-calendar[_ngcontent-%COMP%] .b-calendar-grid[_ngcontent-%COMP%] .b-calendar-grid-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.disabled).focus, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-input-date-range[_ngcontent-%COMP%] .v-widget-input-date[_ngcontent-%COMP%] .v-date-time-picker[_ngcontent-%COMP%] .b-form-datepicker[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .b-calendar[_ngcontent-%COMP%] .b-calendar-grid[_ngcontent-%COMP%] .b-calendar-grid-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.disabled):focus, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-input-date-range[_ngcontent-%COMP%] .v-widget-input-date[_ngcontent-%COMP%] .v-date-time-picker[_ngcontent-%COMP%] .b-form-datepicker[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .b-calendar[_ngcontent-%COMP%] .b-calendar-grid[_ngcontent-%COMP%] .b-calendar-grid-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(.disabled):hover{color:var(--datepicker-color-hover)!important}.chart-wrapper[_ngcontent-%COMP%]{margin-bottom:1rem} #w-advanced-chart-widget{height:400px} .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse .small-control-bar .v-widget-control-bar .dropdown .dropdown-toggle:focus, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-widget-control-bar[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:hover, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-widget-control-bar[_ngcontent-%COMP%] .dropdown.show[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%], .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-widget-control-bar[_ngcontent-%COMP%] .dropdown.show[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:focus, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .small-control-bar[_ngcontent-%COMP%] .v-widget-control-bar[_ngcontent-%COMP%] .dropdown.show[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:hover{background-color:#001eff!important} .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse .v-widget-dropdown .dropdown .dropdown-menu .dropdown-item.active, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .dropdown-item[_ngcontent-%COMP%]:focus, .fdc-widget.fdc-widget-wrapper.advanced-chart-widget.theme--lse[_ngcontent-%COMP%] .v-widget-dropdown[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] .dropdown-item[_ngcontent-%COMP%]:hover{color:#001eff!important}'],changeDetection:0})}}return n})();var hV=p(71774);
1class fV{constructor(){this.fundamentals={},this.titleIncomeStatement={},this.titleBalanceSheet={},this.titleRatios={},this.whatsThisText={},this.whatsThisLink={},this.legalText={}}}class vV{constructor(){this.reviewSummary={},this.reviewTitle={},this.reviewMonths={},this.uxPadding={}}}class bV{constructor(){this.ftseTickerValue={},this.ftseTickerPercentualchange={},this.ftseTickerDescription={},this.ftseTickerNetchange={},this.ftseTickerHighlow={},this.ftseTickerLastclose={},this.ftseTickerNetchangesign={},this.ftseTickerLabel={},this.ftseTickerCode="",this.refreshTime={},this.whatsThisLink={},this.whatsThisText={}}}class CV{constructor(){this.tableOneTitle={},this.tableOneWhatsThisLink={},this.tableOneWhatsThisLabel={},this.tableOneData={value:[{}]},this.tableTwoTitle={},this.tableTwoWhatsThisLink={},this.tableTwoWhatsThisLabel={},this.tableTwoData={value:[{}]},this.tableLegalText={},this.uxPadding={}}}class TV{constructor(){this.exploreMapLegalText={},this.exploreMapAllLabel={},this.exploreMapEuropeLabel={},this.exploreMapAfricaLabel={},this.exploreMapAsiaLabel={},this.exploreMapLatinAmericaLabel={},this.exploreMapMiddleEastLabel={},this.exploreMapNorthAmericaLabel={},this.exploreMapPacificLabel={},this.issuerStatisticsValue={value:{}},this.issuerStatisticsPin={},this.issuerStatisticsTotalCountries={},this.issuerStatisticsTotalEquityIssuers={},this.issuerStatisticsTotalEquityMarketCap={},this.issuerStatisticsTotalDebtInstruments={},this.issuerStatisticsTotalDebtRaised={},this.issuerStatisticsTotalEtfsInstruments={},this.issuerStatisticsTotalAverageDailyTraded={},this.countriesByRegionCountryName={},this.countriesByRegionEquitiesCount={},this.countriesByRegionBondsCount={},this.countriesByRegionOthersCount={},this.issuersByCountryIssuerName={},this.issuersByCountryEquitiesCount={},this.issuersByCountryBondsCount={},this.issuersByCountryOthersCount={},this.issuersByCountryMarketCap={},this.issuersByCountryAmountIssued={},this.issuerLogo={}}}class xV{constructor(){this.title={},this.ctaText={},this.ctaButton={value:{label:{},link:{},type:{},target:{},gated:{}}},this.ctaImage={},this.ctaVideo={value:{url:{},thumbnail:{}}},this.ctaVideoTextOverlay={},this.ctaVideoDuration={},this.ctaBackgroundType={},this.ctaBackgroundImage={},this.ctaTextAlignment={},this.ctaTextColour={},this.ctaTextSize={},this.ctaTextTop={},this.uxPadding={}}}class kV{constructor(){this.newToolsTitle={},this.newToolsText={},this.yourToolsTitle={},this.yourToolsText={}}}class Hn{constructor(){this.chartinfo=null}}const _t=n=>({errorText:n});function yV(n,r){if(1&n&&(e.j41(0,"a",8),e.EFF(1,"Show all news"),e.k0s()),2&n){const t=e.XpG();e.Y8G("href",t.getNewsExplorerLink(),e.B4B)}}function wV(n,r){if(1&n&&(e.j41(0,"ng-option",24),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.Y8G("value",t),e.R7$(),e.SpI("Show ",t," news")}}function IV(n,r){if(1&n&&(e.j41(0,"div",36),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.source.value," ")}}function MV(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",33),e.DNE(2,IV,2,1,"div",34),e.k0s(),e.eu8(3,35),e.bVm()),2&n){const t=e.XpG().$implicit,i=e.XpG(2),o=e.sdS(9);e.R7$(),e.Y8G("ngClass",i.getCssClass(t.source)),e.R7$(),e.Y8G("ngIf",!t.source.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",e.eq3(4,_t,t.source.errorText))}}function OV(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",37)(2,"div",38),e.EFF(3),e.k0s()(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(3),e.SpI(" ",t.defaultFieldValue," ")}}function RV(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",39),e.EFF(2),e.nI1(3,"customdate"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",e.i5U(3,1,t.date.value,"long")," ")}}function FV(n,r){if(1&n&&(e.qex(0),e.DNE(1,RV,4,4,"ng-container",6),e.eu8(2,35),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(9);e.R7$(),e.Y8G("ngIf",!t.date.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,_t,t.date.errorText))}}function PV(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",40),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.SpI(" ",t.defaultFieldValue," ")}}function GV(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",39),e.EFF(2),e.nI1(3,"customdate"),e.k0s(),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",e.brH(3,1,t.time.value,"time","Europe/London")," ")}}function SV(n,r){if(1&n&&(e.qex(0),e.DNE(1,GV,4,5,"ng-container",6),e.eu8(2,35),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(9);e.R7$(),e.Y8G("ngIf",!t.time.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,_t,t.time.errorText))}}function $V(n,r){if(1&n&&(e.qex(0),e.eu8(1,35),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(9);e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(2,_t,t.time.errorText))}}function EV(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",40),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.SpI(" ",t.defaultFieldValue," ")}}function DV(n,r){if(1&n&&(e.j41(0,"span",42),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.source.value," ")}}function jV(n,r){if(1&n&&(e.qex(0),e.DNE(1,DV,2,1,"span",41),e.eu8(2,35),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(9);e.R7$(),e.Y8G("ngIf",!t.source.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,_t,t.source.errorText))}}function NV(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",43),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function YV(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customdate"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.brH(2,1,t.date.value,"short","Europe/London")," ")}}function XV(n,r){if(1&n&&(e.qex(0),e.DNE(1,YV,3,5,"ng-container",6),e.eu8(2,35),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(9);e.R7$(),e.Y8G("ngIf",!t.date.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,_t,t.date.errorText))}}function BV(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",44),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function VV(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customdate"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.brH(2,1,t.time.value,"time","Europe/London")," ")}}function LV(n,r){if(1&n&&(e.qex(0),e.DNE(1,VV,3,5,"ng-container",6),e.eu8(2,35),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(9);e.R7$(),e.Y8G("ngIf",!t.time.errorText),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,_t,t.time.errorText))}}function AV(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",44),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function qV(n,r){if(1&n&&(e.j41(0,"tr",25)(1,"td",26),e.EFF(2),e.nrm(3,"app-link-or-dash",27),e.nI1(4,"newsArticleUrl"),e.j41(5,"div",28)(6,"div",29),e.DNE(7,MV,4,6,"ng-container",6)(8,OV,4,1,"ng-container",6),e.j41(9,"div",30),e.DNE(10,FV,3,5,"ng-container",6)(11,PV,3,1,"ng-container",6)(12,SV,3,5,"ng-container",6)(13,$V,2,4,"ng-container",6)(14,EV,3,1,"ng-container",6),e.k0s()()()(),e.j41(15,"td",31),e.DNE(16,jV,3,5,"ng-container",6)(17,NV,3,1,"ng-container",6),e.k0s(),e.j41(18,"td",32),e.DNE(19,XV,3,5,"ng-container",6)(20,BV,3,1,"ng-container",6),e.k0s(),e.j41(21,"td",32),e.DNE(22,LV,3,5,"ng-container",6)(23,AV,3,1,"ng-container",6),e.k0s()()),2&n){const t=r.$implicit,i=e.XpG(2);e.R7$(2),e.SpI(" ",i.getHeadline(t)," "),e.R7$(),e.Y8G("link",e.bMT(4,20,t))("value",t.title.value)("errorText",t.title.errorText)("visibility",t.title.visibility)("targetType","_blank"),e.R7$(4),e.Y8G("ngIf",t.source.visibility),e.R7$(),e.Y8G("ngIf",!t.source.visibility),e.R7$(2),e.Y8G("ngIf",t.date.visibility),e.R7$(),e.Y8G("ngIf",!t.date.visibility),e.R7$(),e.Y8G("ngIf",t.time.visibility),e.R7$(),e.Y8G("ngIf",!t.time.visibility),e.R7$(),e.Y8G("ngIf",!t.time.visibility),e.R7$(),e.Y8G("ngClass",i.getCssClass(t.source)),e.R7$(),e.Y8G("ngIf",t.source.visibility),e.R7$(),e.Y8G("ngIf",!t.source.visibility),e.R7$(2),e.Y8G("ngIf",t.date.visibility),e.R7$(),e.Y8G("ngIf",!t.date.visibility),e.R7$(2),e.Y8G("ngIf",t.time.visibility),e.R7$(),e.Y8G("ngIf",!t.time.visibility)}}function UV(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-paginator",45),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG(2);return e.Njj(a.onSubmit(o))}),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("totalPages",null==t.content.pagination?null:t.content.pagination.totalPages)("currentPage",null==t.content.pagination?null:t.content.pagination.page)}}function zV(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",9)(2,"form",10),e.bIt("ngSubmit",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.showPerPage(o))}),e.j41(3,"div",11)(4,"ng-select",12),e.bIt("change",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.showPerPage(o))}),e.DNE(5,wV,2,2,"ng-option",13),e.k0s()()()(),e.j41(6,"div",14)(7,"span",15),e.EFF(8),e.k0s(),e.EFF(9),e.k0s(),e.j41(10,"table",16)(11,"thead")(12,"tr",17)(13,"th",18),e.EFF(14),e.k0s(),e.j41(15,"th",19),e.EFF(16),e.k0s(),e.j41(17,"th",20),e.EFF(18),e.k0s(),e.j41(19,"th",20),e.EFF(20),e.k0s()()(),e.j41(21,"tbody"),e.DNE(22,qV,24,22,"tr",21),e.k0s()(),e.DNE(23,UV,1,2,"app-paginator",22),e.j41(24,"div",23),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.scrollTop())}),e.k0s(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("formGroup",t.showBySize),e.R7$(2),e.Y8G("searchable",!1)("clearable",!1),e.R7$(),e.Y8G("ngForOf",t.sizeOptions),e.R7$(3),e.SpI(" ",null==t.content.pagination?null:t.content.pagination.totalItems," results "),e.R7$(),e.SpI(" (",null==t.newsResults?null:t.newsResults.length," showing) "),e.R7$(5),e.JRh(t.newsResults[0].title.label),e.R7$(2),e.JRh(t.newsResults[0].source.label),e.R7$(2),e.JRh(t.newsResults[0].date.label),e.R7$(2),e.JRh(t.newsResults[0].time.label),e.R7$(2),e.Y8G("ngForOf",t.newsResults),e.R7$(),e.Y8G("ngIf",t.newsResults)}}function HV(n,r){if(1&n&&(e.j41(0,"div",46),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.content.noResultsMessage.value," ")}}function WV(n,r){if(1&n&&e.nrm(0,"app-hide-field",48),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function JV(n,r){1&n&&e.DNE(0,WV,1,1,"app-hide-field",47),2&n&&e.Y8G("ngIf",r.errorText)}let Wn=(()=>{class n extends O.R{constructor(t,i,o,a,s,c,d,C){super(),this.cssmapping=t,this.refreshService=i,this.platformId=o,this.elementRef=a,this.scrollToService=s,this.headTagService=c,this.fb=d,this.urlHandlerService=C,this.defaultItemsPerPage=20,this.sizeOptions=[20,50,100,500],this.defaultFieldValue=w.M.DEFAULT_VALUE,this.ngUnsubscribe=new re.B,this.newsResultsTypeMap=new Map([["news-table-issuer-profile","newsTableIssuerProfileResults"],["news-table-index-page","newsTableIndexPageResults"]])}ngOnInit(){this.setNewsResults(),this.componentTitle=this.generateTitle(),this.headTagService.setMetaRobot(),this.setSize()}setNewsResults(){this.newsResults=this.content[this.newsResultsTypeMap.get(this.type)]||[]}ngOnChanges(t){!(0,l.UE)(this.platformId)||t.content?.currentValue===t.content?.previousValue||((0,$e.A)(t)&&this.setNewsResults(),this.shoudlScroll()&&setTimeout(()=>{this.scrollTo()},0))}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}scrollTo(){var t=this;return(0,_.A)(function*(){t.status.isRefreshAuto||t.scrollToService.scrollToTheElementById("news-table-results",t.elementRef)})()}showPerPage(t){var i=this;return(0,_.A)(function*(){i.defaultItemsPerPage=t,yield i.urlHandlerService.deleteParameters(["page"]),yield i.onSubmit()})()}onSubmit(){var t=this;return(0,_.A)(function*(i=0){const o=(t.status.params||new F.Nl).set("page",`${i}`).set("size",`${t.defaultItemsPerPage}`);t.status={...t.status,currentPage:i,params:o},t.refreshService.refreshComponent(t.id,t.position,t.type,t.content,t.status)}).apply(this,arguments)}imageToShow(t){return!(!t||!t.logo)&&t.logo}getCssClass(t){return this.cssmapping.cssClass(t)}generateTitle(){let t="";return"news-table-issuer-profile"===this.type&&(t=`${this.content.newsTableIssuerName.value} news`),"news-table-index-page"===this.type&&(t=`${this.content.newsTableTickerDescription.value} regulatory news`),t}scrollTop(){this.scrollToService.scrollToTheElementById(this.type,this.elementRef)}getNewsExplorerLink(){return k.T.getLink("news",(new F.Nl).set("tab","news-explorer"))}getHeadline(t){return"news-table-index-page"===this.type?this.companyNameValue(t)+this.issuerCodeValue(t):""}companyNameValue(t){return t.companyname.value&&t.companyname.value!==this.defaultFieldValue?`${t.companyname.value} - `:""}issuerCodeValue(t){return t.issuercode.value&&t.issuercode.value!==this.defaultFieldValue?`${t.issuercode.value} - `:""}setSize(t=this.defaultItemsPerPage){this.showBySize=this.fb.group({size:t})}shoudlScroll(){return!(!M.c.featureFlags.newsTableResults.scrollTo||!M.c.featureFlags.newsTableResults.scrollToInTabNav&&this.parentIsTabNav())}parentIsTabNav(){return!!this.elementRef.nativeElement.closest("app-tab-nav")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(b.o),e.rXU(j.W),e.rXU(e.Agw),e.rXU(e.aKT),e.rXU(le.W),e.rXU(Ot.$),e.rXU(g.ze),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-news-table-results"]],inputs:{content:"content",type:"type",position:"position",id:"id",status:"status"},features:[e.Vt3,e.OA$],decls:10,vars:5,consts:[["emptyvalue",""],["appBackBrowserClick","",1,"news-table-results-component","component","wrapper","x-large-width","x-large-width-padding","component-refresh","gtm-track-component",3,"refreshComponent","scrollTop","id"],[1,"flex-container","news-table-title-container"],[1,"large-font-size","bold-font-weight"],["class","h-link",3,"href",4,"ngIf"],["id","news-table-results"],[4,"ngIf"],["class","large-font-size news-table-no-results",4,"ngIf"],[1,"h-link",3,"href"],[1,"sort-by"],[1,"form-inline","small-font-size","small-dropdown",3,"ngSubmit","formGroup"],[1,"form-group","form-group-dropdown"],["formControlName","size","id","dropdownSize","name","dropdownSize","placeholder","Sort by",1,"form-control","form-select",3,"change","searchable","clearable"],[3,"value",4,"ngFor","ngForOf"],[1,"results-header"],[1,"total-results","bold-font-weight"],[1,"full-width","table"],[1,"table-header","hide-on-portrait"],[1,"headline"],[1,"source"],[1,"datetime"],["class","medium-font-we
1ight slide-panel",4,"ngFor","ngForOf"],[3,"totalPages","currentPage","goToPage",4,"ngIf"],[1,"back-to-top",3,"click"],[3,"value"],[1,"medium-font-weight","slide-panel"],[1,"news-title"],[3,"link","value","errorText","visibility","targetType"],[1,"show-on-portrait"],[1,"flex-wrapper","spaced-flex-container","mobile-flex-container","flex-content","flex-align-center"],[1,"td-column-content","flex-wrapper","spaced-flex-container","mobile-flex-container","flex-align-center"],[1,"hide-on-portrait",3,"ngClass"],[1,"hide-on-portrait"],[1,"td-column-btn",3,"ngClass"],["class","source-label small-font-size",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"source-label","small-font-size"],[1,"td-column-btn"],[1,"source-label","small-font-size","dash-wrapper"],[1,"td-column","small-font-size"],[1,"td-column","small-font-size","dash-wrapper"],["class","source-label",4,"ngIf"],[1,"source-label"],[1,"source-label","dash-wrapper"],[1,"dash-wrapper"],[3,"goToPage","totalPages","currentPage"],[1,"large-font-size","news-table-no-results"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"section",1),e.bIt("refreshComponent",function(){return e.eBV(a),e.Njj(o.onSubmit())})("scrollTop",function(){return e.eBV(a),e.Njj(o.scrollTop())}),e.j41(1,"div",2)(2,"h3",3),e.EFF(3),e.k0s(),e.DNE(4,yV,2,1,"a",4),e.k0s(),e.j41(5,"div",5),e.DNE(6,zV,25,12,"ng-container",6)(7,HV,2,1,"div",7),e.k0s()(),e.DNE(8,JV,1,1,"ng-template",null,0,e.C5r)}2&i&&(e.Y8G("id",o.type),e.R7$(3),e.JRh(o.componentTitle),e.R7$(),e.Y8G("ngIf","news"!==o.pageType),e.R7$(2),e.Y8G("ngIf",o.newsResults&&o.newsResults.length>0),e.R7$(),e.Y8G("ngIf",0===(null==o.newsResults?null:o.newsResults.length)))},dependencies:[l.YU,l.Sq,l.bT,l.T3,g.qT,g.BC,g.cb,y.W,De.T,g.j4,g.JD,ne.vr,ne.xt,ue,xe,U.W,lt.X],styles:["h3[_ngcontent-%COMP%]{margin-bottom:1.5rem;width:100%}figure[_ngcontent-%COMP%]{border:.0625rem solid #fafafa;display:flex;height:3.375rem;line-height:3.25rem;margin:0;padding:.25rem;vertical-align:middle;width:5.625rem}.results-header[_ngcontent-%COMP%]{clear:both;margin:1rem 0}table[_ngcontent-%COMP%]{table-layout:fixed}td[_ngcontent-%COMP%]{vertical-align:middle}@media (max-width: 480px){td[_ngcontent-%COMP%]{padding:.5rem}}th[_ngcontent-%COMP%]{width:6.7rem}th.issuerlogo[_ngcontent-%COMP%]{width:7.25rem}th.source[_ngcontent-%COMP%]{width:8rem}th.headline[_ngcontent-%COMP%]{width:auto}@media (max-width: 768px){th.datetime[_ngcontent-%COMP%]{width:5rem}}th.price[_ngcontent-%COMP%], th.change[_ngcontent-%COMP%]{width:6rem}@media (max-width: 768px){td.news-title[_ngcontent-%COMP%]{padding:.5rem 0}}@media (max-width: 480px){.source-label[_ngcontent-%COMP%]{margin:0}}.flex-content[_ngcontent-%COMP%]{display:flex!important}.td-column[_ngcontent-%COMP%]{flex-grow:1;padding-top:.5rem;width:50%}.td-column-btn[_ngcontent-%COMP%]{flex-grow:0;padding-top:.5rem;width:35%}.td-column-content[_ngcontent-%COMP%]{width:65%}.sort-by[_ngcontent-%COMP%]{clear:both;padding-bottom:1rem}.sort-by[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{margin-left:1rem;margin-right:0}@media (max-width: 1023px){.sort-by[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{margin-left:0}}.sort-by[_ngcontent-%COMP%] .ng-select[_ngcontent-%COMP%], .sort-by[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin-bottom:0}.td-with-link[_ngcontent-%COMP%]{padding:0}.td-with-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .td-with-link[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;height:100%;padding:.75rem .75rem .75rem .85rem;width:100%}.back-to-top[_ngcontent-%COMP%]{bottom:1rem}@media (max-width: 1023px){.news-table-title-container[_ngcontent-%COMP%]{display:block}}.news-table-title-container[_ngcontent-%COMP%] .h-link[_ngcontent-%COMP%]{line-height:2.3rem;white-space:nowrap}@media (max-width: 1023px){.news-table-title-container[_ngcontent-%COMP%] .h-link[_ngcontent-%COMP%]{display:block;margin-bottom:1rem}}.clickable[_ngcontent-%COMP%] a[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{cursor:pointer}.clickable[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{cursor:default}.small-dropdown[_ngcontent-%COMP%], .small-dropdown[_ngcontent-%COMP%] .ng-select.form-select[_ngcontent-%COMP%]{width:15rem!important}"]})}}return n})();function KV(n,r){if(1&n&&(e.qex(0),e.nrm(1,"lib-lse-company-page",1),e.bVm()),2&n){const t=e.XpG();e.R7$(),e.Y8G("issuerCode",t.issuerCode)}}let Dr=(()=>{class n extends O.R{constructor(t){super(),this.platformId=t,this.issuerCode=null}ngOnInit(){(0,l.UE)(this.platformId)&&(this.issuerCode=this.content.issuerCodeIbc)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-issuer-block-communicate-is"]],features:[e.Vt3],decls:1,vars:1,consts:[[4,"ngIf"],[3,"issuerCode"]],template:function(i,o){1&i&&e.DNE(0,KV,2,1,"ng-container",0),2&i&&e.Y8G("ngIf",o.issuerCode)},dependencies:[l.bT,ct.iD]})}}return n})();function QV(n,r){if(1&n&&(e.j41(0,"div",1),e.nrm(1,"lib-lse-company-story",2),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("issuerCode",t.issuerCode)}}let jr=(()=>{class n extends O.R{constructor(t){super(),this.platformId=t,this.issuerCode=null}ngOnInit(){(0,l.UE)(this.platformId)&&(this.issuerCode=this.content.issuerCodeMb)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.Agw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-mini-bio-is"]],inputs:{content:"content"},features:[e.Vt3],decls:1,vars:1,consts:[["class","wrapper x-large-width component",4,"ngIf"],[1,"wrapper","x-large-width","component"],[3,"issuerCode"]],template:function(i,o){1&i&&e.DNE(0,QV,2,1,"div",0),2&i&&e.Y8G("ngIf",o.issuerCode)},dependencies:[l.bT,ct.Yx]})}}return n})();function ZV(n,r){if(1&n&&(e.j41(0,"div",1),e.nrm(1,"lib-lse-webcast",2),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("issuerCode",t.issuerCode)}}let Nr=(()=>{class n extends O.R{constructor(t,i){super(),this.urlService=t,this.platformId=i,this.issuerCode=null,this.livestreamId=null}ngOnInit(){(0,l.UE)(this.platformId)&&(this.issuerCode=this.content.issuerCodeWbc,this.setPropertyFromRouteParam
1s())}setPropertyFromRouteParams(){this.urlService.getCurrentPath().subscribe(t=>{this.livestreamId=t.parameters.get("lid")})}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(k.T),e.rXU(e.Agw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-webcasts-is"]],inputs:{content:"content"},features:[e.Vt3],decls:1,vars:1,consts:[["class","wrapper x-large-width component",4,"ngIf"],[1,"wrapper","x-large-width","component"],[3,"issuerCode"]],template:function(i,o){1&i&&e.DNE(0,ZV,2,1,"div",0),2&i&&e.Y8G("ngIf",o.issuerCode)},dependencies:[l.bT,ct.hY]})}}return n})();var eL=p(17298);const Jn=n=>({errorText:n});function tL(n,r){if(1&n&&(e.j41(0,"ng-option",13),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.Y8G("value",t.value),e.R7$(),e.SpI(" ",t.label," ")}}function nL(n,r){if(1&n&&(e.j41(0,"tr",14)(1,"th",15),e.EFF(2),e.k0s(),e.j41(3,"th",16),e.EFF(4),e.k0s(),e.j41(5,"th"),e.EFF(6),e.k0s(),e.j41(7,"th"),e.EFF(8),e.k0s(),e.j41(9,"th"),e.EFF(10),e.k0s(),e.nrm(11,"th"),e.k0s()),2&n){const t=r.$implicit;e.R7$(2),e.JRh(null==t.tidm?null:t.tidm.label),e.R7$(2),e.JRh(null==t.description?null:t.description.label),e.R7$(2),e.JRh(null==t.market?null:t.market.label),e.R7$(2),e.JRh(null==t.currency?null:t.currency.label),e.R7$(2),e.JRh(null==t.lastprice?null:t.lastprice.label)}}function iL(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",null==t.market?null:t.market.value," ")}}function oL(n,r){if(1&n&&(e.qex(0),e.DNE(1,iL,2,1,"ng-container",11),e.eu8(2,24),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(18);e.R7$(),e.Y8G("ngIf",!(null!=t.market&&t.market.errorText)),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Jn,null==t.market?null:t.market.errorText))}}function rL(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",25),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function aL(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",null==t.currency?null:t.currency.value," ")}}function sL(n,r){if(1&n&&(e.qex(0),e.DNE(1,aL,2,1,"ng-container",11),e.eu8(2,24),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(18);e.R7$(),e.Y8G("ngIf",!(null!=t.currency&&t.currency.errorText)),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Jn,null==t.currency?null:t.currency.errorText))}}function lL(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",25),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function cL(n,r){if(1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"customnumber"),e.bVm()),2&n){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",e.bMT(2,1,null==t.lastprice?null:t.lastprice.value)," ")}}function pL(n,r){if(1&n&&(e.qex(0),e.DNE(1,cL,3,3,"ng-container",11),e.eu8(2,24),e.bVm()),2&n){const t=e.XpG().$implicit;e.XpG(2);const i=e.sdS(18);e.R7$(),e.Y8G("ngIf",!(null!=t.lastprice&&t.lastprice.errorText)),e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.eq3(3,Jn,null==t.lastprice?null:t.lastprice.errorText))}}function mL(n,r){if(1&n&&(e.qex(0),e.j41(1,"span",25),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.JRh(t.defaultFieldValue)}}function _L(n,r){if(1&n&&(e.j41(0,"tr",19)(1,"td",20),e.nrm(2,"app-link-or-dash",21),e.nI1(3,"companyUrl"),e.k0s(),e.j41(4,"td",22),e.nrm(5,"app-link-or-dash",21),e.nI1(6,"companyUrl"),e.k0s(),e.j41(7,"td"),e.DNE(8,oL,3,5,"ng-container",11)(9,rL,3,1,"ng-container",11),e.k0s(),e.j41(10,"td"),e.DNE(11,sL,3,5,"ng-container",11)(12,lL,3,1,"ng-container",11),e.k0s(),e.j41(13,"td"),e.DNE(14,pL,3,5,"ng-container",11)(15,mL,3,1,"ng-container",11),e.k0s(),e.j41(16,"td"),e.nrm(17,"app-track",23),e.k0s()()),2&n){const t=r.$implicit,i=r.index;e.AVh("active-panel",0===i),e.Mz_("id","slide-recent-",i,""),e.R7$(2),e.Y8G("link",e.bMT(3,24,t))("linkClasses","blue-text")("dashClasses","blue-text")("value",t.tidm.value)("errorText",t.tidm.errorText)("visibility",t.tidm.visibility),e.R7$(3),e.Y8G("link",e.bMT(6,26,t))("linkClasses","black-link ellipsed")("dashClasses","blue-text")("value",t.description.value)("errorText",t.description.errorText)("visibility",t.description.visibility),e.R7$(3),e.Y8G("ngIf",null==t.market?null:t.market.visibility),e.R7$(),e.Y8G("ngIf",!(null!=t.market&&t.market.visibility)),e.R7$(2),e.Y8G("ngIf",null==t.currency?null:t.currency.visibility),e.R7$(),e.Y8G("ngIf",!(null!=t.currency&&t.currency.visibility)),e.R7$(2),e.Y8G("ngIf",null==t.lastprice?null:t.lastprice.visibility),e.R7$(),e.Y8G("ngIf",!(null!=t.lastprice&&t.lastprice.visibility)),e.R7$(2),e.Y8G("align","right")("tidm",null==t.tidm?null:t.tidm.value)}}function dL(n,r){if(1&n){const t=e.RV6();e.j41(0,"tbody",17),e.bIt("swipeleft",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.handleTouchMove(o,".recent-issued-bonds"))})("swiperight",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.handleTouchMove(o,".recent-issued-bonds"))}),e.DNE(1,_L,18,28,"tr",18),e.k0s()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",null==t.content.bondsRI?null:t.content.bondsRI.value)}}function uL(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",28),e.bIt("click",function(){const o=e.eBV(t).index,a=e.XpG(2);return e.Njj(a.selectSlide(o,".recent-issued-bonds"))}),e.k0s()}if(2&n){const t=r.index;e.AVh("active-slide-selector",0===t),e.Mz_("id","selector-slide-recent-",t,"")}}function gL(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",26),e.DNE(2,uL,1,4,"span",27),e.k0s(),e.bVm()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngForOf",t.content.bondsRI.value)}}function hL(n,r){if(1&n){const t=e.RV6();e.j41(0,"app-paginator",29),e.bIt("goToPage",function(o){e.eBV(t);const a=e.XpG();return e.Njj(a.onSubmit(o))}),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("totalPages",null==t.content.pagination?null:t.content.pagination.totalPages)("currentPage",null==t.content.pagination?null:t.content.pagination.page)}}function fL(n,r){if(1&n&&e.nrm(0,"app-hide-field",31),2&n){const t=e.XpG().errorText;e.Y8G("errorText",t)}}function vL(n,r){1&n&&e.DNE(0,fL,1,1,"app-hide-field",30),2&n&&e.Y8G("ngIf",r.errorText)}let Yr=(()=>{class n{constructor(t,i,o,a,s){this.refreshService=t,this.fb=i,this.cssmapping=o,this.swipe=a,this.urlService=s,this.defaultFieldValue=w.M.DEFAULT_VALUE}ngOnInit(){this.dropdownOptions=this.getDropdownOptions(),this.createForm()}updateUrlWithParams(){var t=this;return(0,_.A)(function*(i=0){const o=yield t.urlService.getCurrentPath().toPromise();let a=o.parameters.set("from",t.filtersForm.get("dropdownSort").value);0===i&&(a=a.delete("page")),yield t.urlService.setCurrentPath({path:o.path,parameters:a})}).apply(this,arguments)}onSubmit(){var t=this;return(0,_.A)(function*(i=0){yield t.updateUrlWithParams(i);let o=t.status.params.set("from",t.filtersForm.get("dropdownSort").value);o=o.set("page",`${i}`),t.status={...t.status,params:o},t.refreshService.refreshComponent(t.id,t.position,t.type,t.content,t.status)}).apply(this,arguments)}createForm(){this.filtersForm=this.fb.group({dropdownSort:this.dropdownOptions.length>0?[this.dropdownOptions[1].value]:[]})}getDropdownOptions(){const t=Q()().subtract(7,"days").format("YYYYMMDD"),i=Q()().subtract(30,"days").format("YYYYMMDD");let o=[];return this.content.dropdownSort&&this.content.dropdownSort.value&&this.content.dropdownSort.value.length>0?(o=this.content.dropdownSort.value.split("|",2).map(a=>a.trim()),[{value:t,label:o[0]},{value:i,label:o[1]}]):o}instrumentCssClass(t){return this.cssmapping.cssClass(t)}selectSlide(t,i){this.swipe.selectSlide("recent-"+t,i)}handleTouchMove(t){this.swipe.handleTouchMove(t)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(j.W),e.rXU(g.ze),e.rXU(b.o),e.rXU(Ee.h),e.rXU(k.T))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-recent-issued-bonds"]],inputs:{content:"content",type:"type",position:"position",id:"id",status:"status"},decls:19,vars:13,consts:[["emptyvalue",""],["id","recent-issued-bonds",1,"recent-issued-bonds-component","component","wrapper","x-large-width","x-large-width-padding","component-refresh","gtm-track-component"],[1,"recent-issued-bonds-header","flex-wrapper","spaced-flex-container"],[1,"bold-font-weight","section-title"],[1,"form-inline","small-font-size",3,"ngSubmit","formGroup"],[1,"form-group","form-group-dropdown"],["formControlName","dropdownSort","id","dropdownSort","name","dropdownSort",1,"form-control","form-select",3,"change","searchable","clearable"],[3,"value",4,"ngFor","ngForOf"],[1,"full-width","recent-issued-bonds","swipable-table"],["class","table-header",4,"ngFor","ngForOf"],[3,"swipeleft","swiperight",4,"ngIf"],[4,"ngIf"],[3,"totalPages","currentPage","goToPage",4,"ngIf"],[3,"value"],[1,"table-header"],[1,"code"],[1,"name"],[3,"swipeleft","swiperight"],[3,"active-panel","id",4,"ngFor","ngForOf"],[3,"id"],[1,"clickable","bold-font-weight","gtm-trackable","td-with-link"],[3,"link","linkClasses","dashClasses","value","errorText","visibility"],[1,"clickable","name","gtm-trackable","td-with-link"],[3,"align","tidm"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"dash-wrapper"],[1,"swipable-slider","show-on-landscape"],["class","slide-selector",3,"active-slide-selector","id","click",4,"ngFor","ngForOf"],[1,"slide-selector",3,"click","id"],[3,"goToPage","totalPages","currentPage"],[3,"errorText",4,"ngIf"],[3,"errorText"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"div")(3,"h3",3),e.EFF(4),e.k0s()(),e.j41(5,"div")(6,"form",4),e.bIt("ngSubmit",function(){return e.eBV(a),e.Njj(o.onSubmit())}),e.j41(7,"div",5)(8,"ng-select",6),e.bIt("change",function(){return e.eBV(a),e.Njj(o.onSubmit())}),e.DNE(9,tL,2,2,"ng-option",7),e.k0s()()()()(),e.j41(10,"table",8)(11,"thead"),e.DNE(12,nL,12,5,"tr",9),e.nI1(13,"slice"),e.k0s(),e.DNE(14,dL,2,1,"tbody",10),e.k0s(),e.DNE(15,gL,3,1,"ng-container",11)(16,hL,1,2,"app-paginator",12),e.k0s(),e.DNE(17,vL,1,1,"ng-template",null,0,e.C5r)}2&i&&(e.R7$(4),e.SpI(" ",null==o.content.title?null:o.content.title.value," "),e.R7$(2),e.Y8G("formGroup",o.filtersForm),e.R7$(2),e.Y8G("searchable",!1)("clearable",!1),e.R7$(),e.Y8G("ngForOf",o.dropdownOptions),e.R7$(3),e.Y8G("ngForOf",e.brH(13,9,null==o.content.bondsRI?null:o.content.bondsRI.value,0,1)),e.R7$(2),e.Y8G("ngIf",(null==o.content.bondsRI||null==o.content.bondsRI.value?null:o.content.bondsRI.value.length)>0),e.R7$(),e.Y8G("ngIf",o.content.bondsRI.value.length>0),e.R7$(),e.Y8G("ngIf",o.content.bondsRI.value))},dependencies:[l.Sq,l.bT,l.T3,g.qT,g.BC,g.cb,H.J,y.W,g.j4,g.JD,ne.vr,ne.xt,ue,xe,l.P9,ee.p,ve.b],styles:[".recent-issued-bonds-header[_ngcontent-%COMP%]{align-items:center;padding:1.5rem 0 0}@media (min-width: 1144px){.recent-issued-bonds-header[_ngcontent-%COMP%] .form-inline[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{width:18.125em}}@media (max-width: 1023px){.recent-issued-bonds-header[_ngcontent-%COMP%]{display:block}.recent-issued-bonds-header[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin:1.5rem auto;width:100%}.recent-issued-bonds-header[_ngcontent-%COMP%] .ng-select[_ngcontent-%COMP%]{min-width:100%}}.recent-issued-bonds-header[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin-top:0}.summary[_ngcontent-%COMP%]{padding:1rem 0}.clickable[_ngcontent-%COMP%]:hover{text-decoration:underline}"],changeDetection:0})}}return n})();const bL=["dropdownOptions"],Xr=(n,r)=>({"background-color":n,color:r}),Kn=n=>({"text-align":n}),CL=n=>({type:n,value:""}),TL=(n,r)=>({type:n,value:r});function xL(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",21),e.bIt("click",function(){e.eBV(t);const o=e.XpG().$implicit,a=e.XpG(2);return e.Njj(a.removeFilter(o.columnId))}),e.k0s()}}function kL(n,r){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",18)(2,"div",19),e.bIt("click",function(){const o=e.eBV(t),a=o.$implicit,s=o.index,c=e.XpG(2);return e.Njj(c.openFilterDropdown(s,a))}),e.EFF(3),e.k0s(),e.DNE(4,xL,1,0,"span",20),e.k0s(),e.bVm()}if(2&n){const t=r.$implicit,i=r.index,o=e.XpG(2);e.R7$(2),e.AVh("active",o.isFilterOpen(i)||o.isFilterActive(t.columnId)),e.R7$(),e.SpI(" ",t.columnTitle," "),e.R7$(),e.Y8G("ngIf",o.isFilterActive(t.columnId))}}function yL(n,r){1&n&&(e.qex(0),e.EFF(1,"Search for an option"),e.bVm())}function wL(n,r){1&n&&(e.qex(0),e.EFF(1," Select an option "),e.bVm())}function IL(n,r){if(1&n&&(e.j41(0,"ng-option",28),e.EFF(1),e.k0s()),2&n){const t=r.$implicit,i=e.XpG(4);e.Y8G("value",e.l_i(2,TL,i.currentOpenLabel.columnId,t)),e.R7$(),e.JRh(t)}}function ML(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",26)(1,"ng-select",27,1),e.bIt("change",function(o){e.eBV(t);const a=e.XpG(3);return e.Njj(a.prepareFilters(o.type,o.value))}),e.j41(3,"ng-option",28),e.EFF(4,"All"),e.k0s(),e.DNE(5,IL,2,5,"ng-option",29),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(),e.Y8G("searchable",!1)("clearable",!1),e.R7$(2),e.Y8G("value",e.eq3(4,CL,t.currentOpenLabel.columnId)),e.R7$(2),e.Y8G("ngForOf",t.currentOpenLabel.options)}}function OL(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",30)(1,"input",31),e.bIt("change",function(o){e.eBV(t);const a=e.XpG(3);return e.Njj(a.prepareFilters(a.currentOpenLabel.columnId,o.target.value))}),e.k0s()()}}function RL(n,r){if(1&n&&(e.j41(0,"div",11)(1,"div",12),e.DNE(2,yL,2,0,"ng-container",22)(3,wL,2,0,"ng-container",22),e.k0s(),e.j41(4,"div",23),e.DNE(
15,ML,6,6,"div",24)(6,OL,2,0,"div",25),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",t.currentOpenLabel.filter===t.filterTypes.TEXT),e.R7$(),e.Y8G("ngIf",t.currentOpenLabel.filter===t.filterTypes.SELECT),e.R7$(2),e.Y8G("ngIf",t.currentOpenLabel.filter!==t.filterTypes.NONE&&t.currentOpenLabel.filter!==t.filterTypes.TEXT),e.R7$(),e.Y8G("ngIf",t.currentOpenLabel.filter===t.filterTypes.TEXT)}}function FL(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",32),e.bIt("click",function(){e.eBV(t);const o=e.XpG(2);return e.Njj(o.clearFilters())}),e.EFF(1,"Clear filters"),e.k0s()}}function PL(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",11)(1,"div",12),e.EFF(2," Filter by: "),e.k0s(),e.j41(3,"div",13),e.DNE(4,kL,5,4,"ng-container",14)(5,RL,7,4,"div",7),e.k0s(),e.j41(6,"div",15),e.DNE(7,FL,2,0,"span",16),e.j41(8,"span",17),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.applyFilters())}),e.EFF(9,"Apply filters"),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(4),e.Y8G("ngForOf",t.content.tableLabels.value),e.R7$(),e.Y8G("ngIf",t.currentOpenLabel),e.R7$(2),e.Y8G("ngIf",t.activeFilters.size>0)}}function GL(n,r){if(1&n&&(e.qex(0),e.j41(1,"th",36),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngStyle",e.eq3(2,Kn,t.columnTitleAlignment)),e.R7$(),e.SpI(" ",t.columnTitle," ")}}function SL(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",40),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3).$implicit,a=e.XpG(2);return e.Njj(a.toggleModal(o))}),e.k0s()}}function $L(n,r){if(1&n){const t=e.RV6();e.j41(0,"span",41),e.bIt("click",function(){e.eBV(t);const o=e.XpG(3).$implicit,a=e.XpG(2);return e.Njj(a.toggleModal(o))}),e.k0s()}}function EL(n,r){if(1&n&&(e.qex(0),e.DNE(1,SL,1,0,"span",38)(2,$L,1,0,"span",39),e.bVm()),2&n){const t=e.XpG().index;e.R7$(),e.Y8G("ngIf",1===t),e.R7$(),e.Y8G("ngIf",2===t)}}function DL(n,r){if(1&n&&(e.qex(0),e.j41(1,"td")(2,"span",37),e.EFF(3),e.k0s(),e.DNE(4,EL,3,2,"ng-container",22),e.k0s(),e.bVm()),2&n){const t=r.$implicit,i=e.XpG().$implicit;e.R7$(3),e.JRh(t),e.R7$(),e.Y8G("ngIf",i.length>3)}}function jL(n,r){if(1&n&&(e.j41(0,"tr"),e.DNE(1,DL,5,2,"ng-container",14),e.k0s()),2&n){const t=r.$implicit;e.R7$(),e.Y8G("ngForOf",t)}}function NL(n,r){if(1&n&&(e.qex(0),e.j41(1,"div",33)(2,"span",34),e.EFF(3),e.k0s(),e.EFF(4),e.k0s(),e.j41(5,"table",35)(6,"thead")(7,"tr"),e.DNE(8,GL,3,4,"ng-container",14),e.k0s()(),e.j41(9,"tbody"),e.DNE(10,jL,2,1,"tr",14),e.k0s()(),e.bVm()),2&n){const t=e.XpG();e.R7$(3),e.SpI("",t.content.tableInfo.value.numRecords," results"),e.R7$(),e.SpI(" (",t.content.tableInfo.value.pageSize," showing) "),e.R7$(),e.Y8G("ngStyle",e.l_i(5,Xr,t.parseColor(t.content.tableInfo.value.backgroundColour),t.parseColor(t.content.tableInfo.value.textColour))),e.R7$(3),e.Y8G("ngForOf",t.content.tableLabels.value),e.R7$(2),e.Y8G("ngForOf",t.content.tableData.value)}}function YL(n,r){if(1&n&&(e.j41(0,"tr")(1,"td")(2,"b"),e.EFF(3),e.k0s()(),e.j41(4,"td"),e.EFF(5),e.k0s()()),2&n){const t=r.$implicit,i=r.index,o=e.XpG(2);e.R7$(3),e.JRh(t.columnTitle),e.R7$(2),e.JRh(o.tableRow[i])}}function XL(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",42)(1,"div",43),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.toggleModal())}),e.k0s(),e.j41(2,"div",44)(3,"div",45),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.toggleModal())}),e.k0s(),e.j41(4,"div",46)(5,"div",46)(6,"table")(7,"tbody"),e.DNE(8,YL,6,2,"tr",14),e.k0s()()()()()()}if(2&n){const t=e.XpG();e.R7$(8),e.Y8G("ngForOf",t.content.tableLabels.value)}}function BL(n,r){1&n&&(e.j41(0,"div",4),e.EFF(1,"Sorry, we couldn't find any results for your criteria. Please try again."),e.k0s())}var tn=function(n){return n.NONE="none",n.TEXT="text",n.SELECT="select",n}(tn||{});let Qn=(()=>{class n{constructor(t,i,o,a,s,c){this.http=t,this.config=i,this.route=o,this.elementRef=a,this.scrollToService=s,this.changeDetectorRef=c,this.totalPages=0,this.currentPage=0,this.uniqueTableId=Math.random().toString(36).slice(2),this.activeFilters=new Map,this.openModal=!1,this.filterTypes=tn}ngOnInit(){this.countTotalPages(),this.routeSubs=this.route.queryParams.subscribe(t=>
1{if(t&&t.page){const i=parseInt(t.page)-1;this.currentPage=i,this.applyFilters(i)}})}parseColor(t){switch(t){case"grey":return"#f2f2f3";case"dark-grey":return"#454d56";case"black":return"#16202CFF";default:return"#fff"}}countTotalPages(){this.totalPages=Math.ceil(this.content.tableInfo.value.numRecords/this.content.tableInfo.value.pageSize)}prepareFilters(t,i){this.activeFilters.delete(t),i&&this.activeFilters.set(t,i.trim())}scrollTop(){this.scrollToService.scrollToTheElementById("default-table-"+this.uniqueTableId,this.elementRef)}getData(t,i,o=new Map){const s=new URL(this.config.apiServer+M.c.endpoints.tabularData+"?module="+i+"&page="+t);for(const[c,d]of o.entries())s.searchParams.set(c,d);return this.http.get(s.toJSON()).pipe()}applyFilters(t=0){this.currentPage=t,this.dataSubs=this.getData(t,this.content.tableInfo.value.moduleName,this.activeFilters).subscribe(i=>{this.content.tableData.value=i.tableData,this.content.tableInfo.value=i.tableInfo,this.countTotalPages(),this.scrollTop()})}isAnyFilterAvailable(){return this.content.tableLabels.value.find(t=>t.filter!==tn.NONE)}ngOnDestroy(){this.dataSubs&&this.dataSubs.unsubscribe(),this.routeSubs&&this.routeSubs.unsubscribe()}clearFilters(){const t=this.elementRef.nativeElement.querySelector(".form-control");t&&(t.value=""),this.activeFilters.clear(),this.closeFilterDropdown(),this.applyFilters()}closeFilterDropdown(){this.currentOpenFilterIndex=void 0,this.currentOpenLabel=void 0}openFilterDropdown(t,i){if(this.currentOpenFilterIndex!==t){if(this.currentOpenFilterIndex=t,this.currentOpenLabel=i,this.changeDetectorRef.detectChanges(),this.isFilterActive(this.currentOpenLabel.columnId)){const o=this.activeFilters.get(this.currentOpenLabel.columnId);if(this.currentOpenLabel.filter===tn.SELECT)this.selectComponent.select({label:o,value:o});else{const a=this.elementRef.nativeElement.querySelector(".form-control");a&&(a.value=o)}}}else this.closeFilterDropdown()}isFilterActive(t){return Array.from(this.activeFilters.keys()).includes(t)}isFilterOpen(t){return this.currentOpenFilterIndex===t}removeFilter(t){this.activeFilters.delete(t),this.applyFilters()}toggleModal(t){this.openModal=!this.openModal,this.tableRow=t}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(F.Qq),e.rXU(Le.w),e.rXU(G.nX),e.rXU(e.aKT),e.rXU(le.W),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-default-table"]],viewQuery:function(i,o){if(1&i&&e.GBs(bL,5),2&i){let a;e.mGM(a=e.lsd())&&(o.selectComponent=a.first)}},inputs:{content:"content"},decls:12,vars:22,consts:[["noResults",""],["dropdownOptions",""],[1,"py-3",3,"ngStyle","id"],[1,"wrapper","x-large-width","x-large-width-padding"],[1,"py-3"],[1,"large-font-size","bold-font-weight",3,"ngStyle"],[3,"innerHTML","ngStyle"],["class","default-table-filter",4,"ngIf"],[4,"ngIf","ngIfElse"],[3,"goToPage","totalPages","currentPage"],["class","tabular-data-modal",4,"ngIf"],[1,"default-table-filter"],[1,"filters-header","bold-font-weight","regular-font-size","mobile-flex-wrapper","flex-align-center"],[1,"flex-container","default-table-container"],[4,"ngFor","ngForOf"],[1,"buttons-container"],["class","gold-button outline bold-font-weight clear-button me-3",3,"click",4,"ngIf"],[1,"gold-button","bold-font-weight",3,"click"],[1,"d-inline-block","mb-2"],[1,"interactive-outline-button",3,"click"],["class","filter-deselect",3,"click",4,"ngIf"],[1,"filter-deselect",3,"click"],[4,"ngIf"],[1,"select-option","mb-3"],["class","form-group form-group-dropdown",4,"ngIf"],["class","form-group",4,"ngIf"],[1,"form-group","form-group-dropdown"],[1,"form-control","form-select",3,"change","searchable","clearable"],[3,"value"],[3,"value",4,"ngFor","ngForOf"],[1,"form-group"],["type","text",1,"form-control",3,"change"],[1,"gold-button","outline","bold-font-weight","clear-button","me-3",3,"click"],[1,"results-header"],[1,"total-results","bold-font-weight"],[1,"full-width","mb-4",3,"ngStyle"],[3,"ngStyle"],[1,"text-row"],["class","clickable show-on-mobile selected-indicator",3,"click",4,"ngIf"],["class","clickable show-on-portrait selected-indicator",3,"click",4,"ngIf"],[1,"clickable","show-on-mobile","selected-indicator",3,"click"],[1,"clickable","show-on-portrait","selected-indicator",3,"click"],[1,"tabular-data-modal"],[1,"overlay","modal-overlay",3,"click"],[1,"overlay-wrapper"],[1,"close-overlay",3,"click"],[1,"overlay-content"]],template:function(i,o){if(1&i){const a=e.RV6();e.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"h3",5),e.EFF(4),e.k0s(),e.nrm(5,"div",6),e.k0s(),e.DNE(6,PL,10,3,"div",7)(7,NL,
111,8,"ng-container",8),e.j41(8,"app-paginator",9),e.bIt("goToPage",function(c){return e.eBV(a),e.Njj(o.applyFilters(c))}),e.k0s()()(),e.DNE(9,XL,9,1,"div",10)(10,BL,2,0,"ng-template",null,0,e.C5r)}if(2&i){const a=e.sdS(11);e.AVh("m-64","1"===(null==o.content.uxPadding?null:o.content.uxPadding.value)),e.Mz_("id","default-table-",o.uniqueTableId,""),e.Y8G("ngStyle",e.l_i(15,Xr,o.parseColor(o.content.tableInfo.value.backgroundColour),o.parseColor(o.content.tableInfo.value.textColour))),e.R7$(3),e.Y8G("ngStyle",e.eq3(18,Kn,o.content.tableInfo.value.titleAlignment)),e.R7$(),e.SpI(" ",o.content.tableInfo.value.title," "),e.R7$(),e.Y8G("innerHTML",o.content.tableInfo.value.description,e.npT)("ngStyle",e.eq3(20,Kn,o.content.tableInfo.value.descriptionAlignment)),e.R7$(),e.Y8G("ngIf",o.isAnyFilterAvailable()),e.R7$(),e.Y8G("ngIf",o.content.tableData.value.length)("ngIfElse",a),e.R7$(),e.Y8G("totalPages",o.totalPages)("currentPage",o.currentPage),e.R7$(),e.Y8G("ngIf",o.openModal)}},dependencies:[l.Sq,l.bT,l.B3,ne.vr,ne.xt,ue],styles:['table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child, table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding-left:0}table[_ngcontent-%COMP%] .text-row[_ngcontent-%COMP%]{width:calc(100% - 20px);display:block}@media (max-width: 768px){table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(n+4), table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(n+4){display:none}}@media (max-width: 480px){table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(n+3), table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(n+3){display:none}}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{position:relative}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .selected-indicator[_ngcontent-%COMP%]{position:absolute;top:17px;right:5px}.default-table-filter[_ngcontent-%COMP%]{padding-top:.5rem;margin-bottom:.5rem}.default-table-filter[_ngcontent-%COMP%] .default-table-container[_ngcontent-%COMP%]{flex-wrap:wrap;flex-direction:row;background-color:#fafafa;border:1px solid #b2b2b2;border-top:none;padding:10px 0}.default-table-filter[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%]{text-align:right;margin:1rem 0}.default-table-filter[_ngcontent-%COMP%] .filter-deselect[_ngcontent-%COMP%]{margin-left:-4px;top:6px;width:auto}.default-table-filter[_ngcontent-%COMP%] .default-table-filter[_ngcontent-%COMP%]{width:100%}.default-table-filter[_ngcontent-%COMP%] .default-table-filter[_ngcontent-%COMP%] .filters-header[_ngcontent-%COMP%]{background:#fff;color:#000;padding:.5rem 1rem;border:none;margin:15px 0 25px}.default-table-filter[_ngcontent-%COMP%] .default-table-filter[_ngcontent-%COMP%] .select-option[_ngcontent-%COMP%]{position:relative}.default-table-filter[_ngcontent-%COMP%] .default-table-filter[_ngcontent-%COMP%] .select-option[_ngcontent-%COMP%]:before{border-left:1.2rem solid transparent;border-right:1.2rem solid transparent;border-top:1.2rem solid #ffffff;content:"";display:inline-block;height:0;left:50%;margin-left:-.6rem;position:absolute;top:-25px;width:0}.default-table-filter[_ngcontent-%COMP%] .default-table-filter[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin:.5rem 10px;width:16rem}@media (max-width: 480px){.default-table-filter[_ngcontent-%COMP%] .default-table-filter[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{width:96%;margin:.5rem auto}}.default-table-filter[_ngcontent-%COMP%] .default-table-filter[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%] + input[_ngcontent-%COMP%]{margin-top:0}.default-table-filter[_ngcontent-%COMP%] .default-table-filter[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .ng-select[_ngcontent-%COMP%]{width:16rem!important}@media (max-width: 480px){.default-table-filter[_ngcontent-%COMP%] .default-table-filter[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .ng-select[_ngcontent-%COMP%]{width:100%!important}}.default-table-filter[_ngcontent-%COMP%] .interactive-outline-button[_ngcontent-%COMP%]{margin:0 5px}.default-table-filter[_ngcontent-%COMP%] .interactive-outline-button[_ngcontent-%COMP%]:first-child{margin-left:10px}.tabular-data-modal[_ngcontent-%COMP%]{inset:0;position:fixed;z-index:30}.tabular-data-modal[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{margin:3rem auto;table-layout:fixed;width:100%}.tabular-data-modal[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:none}.tabular-data-modal[_ngcontent-%COMP%] .overlay-content[_ngcontent-%COMP%]{background:#fff;padding-top:30px}']})}}return n})();var X=function(n){return n.FEES_CALCULATOR="fees-calculator",n.POPULAR_LINKS="popular-links",n.LOGO_CAROUSEL="logo-carousel",n.CTA_BANNER="cta-banner",n.PROCESS_STEPS="process-steps",n.TRIO_PROMO="trio-promo",n.ACCORDION="accordion",n.REPORTS_LIST_RESULT="reports-list-result",n.KEY_BUBBLES="key-bubbles",n.TABLE="table",n.STEPPED_GRAPH="stepped-graph",n.CTA_SIMPLE="cta-simple",n.INFOGRAPHIC="infographic",n.IMAGE_CAROUSEL="image-carousel",n.CARD_GRID="card-grid",n.TAB_NAV="tab-nav",n.UPCOMING_EVENTS="upcoming-events",n.ASSESSMENT_TOOL="assessment-tool",n}(X||{});const nn=n=>({label:n});function VL(n,r){if(1&n&&(e.j41(0,"section",1)(1,"div",2)(2,"h2"),e.EFF(3),e.k0s()(),e.j41(4,"div",3),e.nrm(5,"app-index-item",4)(6,"app-index-item",4)(7,"app-index-item",4)(8,"app-index-item",4),e.k0s()()),2&n){const t=e.XpG();e.R7$(3),e.JRh(t.title),e.R7$(2),e.Y8G("item",e.eq3(9,nn,t.content.minAnnualCharge.label))("itemValue",t.content.minAnnualCharge.value),e.R7$(),e.Y8G("item",e.eq3(11,nn,t.content.maxAnnualCharge.label))("itemValue",t.content.maxAnnualCharge.value),e.R7$(),e.Y8G("item",e.eq3(13,nn,t.content.actualAnnualCharge.label))("itemValue",t.content.actualAnnualCharge.value),e.R7$(),e.Y8G("item",e.eq3(15,nn,t.content.totalExpanseRatio.label))("itemValue",t.content.totalExpanseRatio.value)}}let Br=(()=>{class n{constructor(t,i){this.refreshService=t,this.platformId=i,this.title="Charges",this.whatsThisText={visibility:!0,value:"What's this?"},this.whatsThisLink={visibility:!0,value:"https://www.londonstockexchange.com/help/performance-and-ch
1arges"}}ngOnInit(){(0,l.UE)(this.platformId)&&this.refreshService.setRefreshComponent(this.id,this.position,this.type,this.content,this.status)}ngOnDestroy(){this.refreshService.unsetRefreshComponent(this.id)}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(j.W),e.rXU(e.Agw))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-charges-table"]],inputs:{content:"content",id:"id",position:"position",type:"type",status:"status"},decls:1,vars:1,consts:[["class","component gtm-track-component mt-5 wrapper x-large-width x-large-width-padding",4,"ngIf"],[1,"component","gtm-track-component","mt-5","wrapper","x-large-width","x-large-width-padding"],[1,"title","wrapper","cell-15-margin-bottom"],[1,"flex-wrapper","wrapper"],[3,"item","itemValue"]],template:function(i,o){1&i&&e.DNE(0,VL,9,17,"section",0),2&i&&e.Y8G("ngIf",o.content)},dependencies:[l.bT,zt],styles:[".component-wrapper[_ngcontent-%COMP%]{margin:5% 5% 15%}.charges-data-wrapper[_ngcontent-%COMP%]{height:40px;width:428px;line-height:40px;box-shadow:0 2px 3px #b2b2b2}.charges-data-wrapper[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{padding-left:10px;width:300px;display:inline-block}"],changeDetection:0})}}return n})();var Vr=p(35181),Lr=p(91781);let LL=(()=>{class n{constructor(t){t.componentMap.set("ticker",ui),t.componentContentMap.set("ticker",v.J5),t.componentMap.set("issuer-profile-hero",oe),t.componentContentMap.set("issuer-profile-hero",v.JS),t.componentMap.set("instrument-modal",hi),t.componentContentMap.set("instrument-modal",v._H),t.componentMap.set("statutory-filing-block",fi),t.componentContentMap.set("statutory-filing-block",v.mG),t.componentMap.set("trades-table",Ci),t.componentContentMap.set("trades-table",v.PK),t.componentMap.set("mini-bio",Ti),t.componentContentMap.set("mini-bio",v.IV),t.componentMap.set("mini-bio-is",jr),t.componentContentMap.set("mini-bio-is",v.Ej),t.componentMap.set("webcasts-is",Nr),t.componentContentMap.set("webcasts-is",v.pt),t.lazyLoadComponentMap.set(X.TAB_NAV,"TabNavComponent"),t.lazyLoadImportsMap.set(X.TAB_NAV,"tab-nav/tab-nav"),t.componentContentMap.set(X.TAB_NAV,v.uj),t.componentMap.set("ftse-russell-report",xi),t.componentContentMap.set("ftse-russell-report",v.G$),t.componentMap.set("company-index-market-info",ki),t.componentContentMap.set("company-index-market-info",v.vz),t.componentMap.set("chart-table",yi),t.componentContentMap.set("chart-table",v.H5),t.componentMap.set("Performance",wi),t.componentContentMap.set("Performance",v.Yb),t.componentMap.set("charges",Br),t.componentContentMap.set("charges",v.jO),t.componentMap.set("contact-enquiries",Ii),t.componentContentMap.set("contact-enquiries",v.HL),t.componentMap.set("issuer-block-social",Mi),t.componentContentMap.set("issuer-block-social",v.pc),t.componentMap.set("income-statement-table-accordion",Ai),t.componentContentMap.set("income-statement-table-accordion",fV),t.componentMap.set("ftse-index-toggle",Oi),t.componentContentMap.set("ftse-index-toggle",v.WR),t.componentMap.set("ftse-index-heatmap",Fi),t.componentContentMap.set("ftse-index-heatmap",v.ss),t.componentMap.set("ftse-index-table",$i),t.componentContentMap.set("ftse-index-table",v.Ur),t.componentMap.set("risers-fallers-leaders",Ei),t.componentContentMap.set("risers-fallers-leaders",v.rD),t.componentMap.set("etf-risers-table",Di),t.componentContentMap.set("etf-risers-table",v.xE),t.componentMap.set("recent-issues-counter",ji),t.componentContentMap.set("recent-issues-counter",v.TE),t.componentMap.set("new-bonds-promo",Mn),t.componentContentMap.set("new-bonds-promo",v.PV),t.componentMap.set("recent-issues",Ni),t.componentContentMap.set("recent-issues",Zg.J),t.componentMap.set("recent-issued-bonds",Yr),t.componentContentMap.set("recent-issued-bonds",eL.o),t.componentMap.set("upcoming-issues",Mr),t.componentContentMap.set("upcoming-issues",v.u),t.componentMap.set("news-article-content",Bi),t.componentContentMap.set("news-article-content",v.QG),t.componentMap.set("ftse-index-review",Vi),t.componentContentMap.set("ftse-index-review",vV),t.componentMap.set("ftse-ticker",qi),t.componentContentMap.set("ftse-ticker",bV),t.componentMap.set("ftse-index-etf-price-cards",Ui),t.componentContentMap.set("ftse-index-etf-price-cards",v.vm),t.componentMap.set("ftse-indices-table",Hi),t.componentContentMap.set("ftse-indices-table",v.rh),t.componentMap.set("ftse-index-chart-table",Wi),t.componentContentMap.set("ftse-index-chart-table",v.RD),t.componentMap.set("company-contact-and-classification",Ji),t.componentContentMap.set("company-contact-and-classification",v.q1),t.componentMap.set("issuer-block-communicate",Ki),t.componentContentMap.set("issuer-block-communicate",v.lg),t.componentMap.set("issuer-block-communicate-is",Dr),t.componentContentMap.set("issuer-block-communicate-is",v.Hz),t.componentMap.set("media-carousel",Qi.K),t.componentContentMap.set("media-carousel",v.Wk),t.componentMap.set("hero",Zi),t.componentContentMap.set("hero",v.UQ),t.componentMap.set("news-promo",eo),t.componentContentMap.set("news-promo",v.$J),t.componentMap.set("news-carousel",to),t.componentContentMap.set("news-carousel",v.T$),t.componentMap.set("price-explorer",oo),t.componentContentMap.set("price-explorer",v.eZ),t.componentMap.set("bar-chart",ro),t.componentContentMap.set("bar-chart",v.fe),t.componentMap.set("company-tearsheet",so),t.componentContentMap.set("company-tearsheet",v.ET),t.componentMap.set("advanced-bond-search",co),t.componentContentMap.set("advanced-bond-search",v.Jd),t.componentMap.set("indices-with-chart",mo),t.componentContentMap.set("indices-with-chart",v.b),t.componentMap.set("ftse-index-info-table",lo),t.componentContentMap.set("ftse-index-info-table",CV),t.componentMap.set("ftse-index-story-diagram",po),t.componentMap.set("cta-block",uo),t.componentContentMap.set("cta-block",v.HQ),t.componentMap.set("download-single",Gn),t.componentContentMap.set("download-single",v.M8),t.componentMap.set("bond-timeline",go),t.componentContentMap.set("bond-timeline",v.nQ),t.componentMap.set("download-document",fo),t.componentContentMap.set("download-document",v.bv),t.lazyLoadComponentMap.set(X.KEY_BUBBLES,"KeyBubblesComponent"),t.lazyLoadImportsMap.set(X.KEY_BUBBLES,"key-bubbles/key-bubbles"),t.componentContentMap.set(X.KEY_BUBBLES,v.E9),t.componentMap.set("infographic-2",vo),t.componentContentMap.set("infographic-2",v.eC),t.componentMap.set("instrument-type-filter",$n),t.componentContentMap.set("instrument-type-filter",v.$_),t.componentMap.set("filter-toggle",$n),t.componentContentMap.set("filter-toggle",v.Ah),t.lazyLoadComponentMap.set(X.TABLE,"TableComponent"),t.lazyLoadImportsMap.set(X.TABLE,"table/table"),t.componentContentMap.set(X.TABLE,v.Iz),t.lazyLoadComponentMap.set(X.LOGO_CAROUSEL,"LogoCarouselComponent"),t.lazyLoadImportsMap.set(X.LOGO_CAROUSEL,"logo-carousel/logo-carousel"),t.componentContentMap.set(X.LOGO_CAROUSEL,v.J8),t.componentMap.set("logo-carousel-dynamic-main",Ft),t.componentContentMap.set("logo-carousel-dynamic-main",v.$6),t.componentMap.set("logo-carousel-dynamic-aim",Ft),t.componentContentMap.set("logo-carousel-dynamic-aim",v.$6),t.componentMap.set("logo-carousel-dynamic-etfs",Ft),t.componentContentMap.set("logo-carousel-dynamic-etfs",v.$6),t.componentMap.set("logo-carousel-dynamic-bonds",Ft),t.componentContentMap.set("logo-carousel-dynamic-bonds",v.$6),t.componentMap.set("glossary",yo),t.componentContentMap.set("glossary",v.On),t.componentMap.set("ast-landing-page",wo),t.componentContentMap.set("ast-landing-page",v.uL),t.componentMap.set("ftse-hero",Go),t.componentContentMap.set("ftse-hero",v.EJ),t.componentMap.set("contact-office-location-promo",Ko),t.componentContentMap.set("contact-office-location-promo",v.wh),t.componentMap.set("contact-office-location-side-by-side",Jo),t.componentContentMap.set("contact-office-location-side-by-side",v.Xf),t.componentMap.set("contextual-help",ir),t.componentContentMap.set("contextual-help",v.EY),t.componentMap.set("explore-map",lr),t.componentContentMap.set("explore-map",TV),t.componentMap.set("calendar-widget",_r),t.componentContentMap.set("calendar-widget",v.wN),t.componentMap.set("information-sheets-search",fr),t.componentContentMap.set("information-sheets-search",v.af),t.lazyLoadComponentMap.set(X.FEES_CALCULATOR,"FeesCalculatorComponent"),t.lazyLoadImportsMap.set(X.FEES_CALCULATOR,"fees-calculator/fees-calculator"),t.componentContentMap.set(X.FEES_CALCULATOR,v.K2),t.lazyLoadComponentMap.set(X.TRIO_PROMO,"TrioPromoComponent"),t.lazyLoadImportsMap.set(X.TRIO_PROMO,"trio-promo/trio-promo"),t.componentContentMap.set(X.TRIO_PROMO,v.H6),t.componentMap.set("promos",Co),t.componentContentMap.set("promos",v.hY),t.lazyLoadComponentMap.set(X.PROCESS_STEPS,"ProcessStepsComponent"),t.lazyLoadImportsMap.set(X.PROCESS_STEPS,"process-steps/process-steps"),t.componentContentMap.set(X.PROCESS_STEPS,v.aR),t.lazyLoadComponentMap.set(X.POPULAR_LINKS,"PopularLinksComponent"),t.lazyLoadImportsMap.set(X.POPULAR_LINKS,"popular-links/popular-links"),t.componentContentMap.set(X.POPULAR_LINKS,v.GC),t.componentMap.set("non-lse-instruments-hero",To),t.componentContentMap.set("non-lse-instruments-hero",v.xR),t.componentMap.set("pardot-form",ko),t.componentContentMap.set("pardot-form",v.Eu),t.componentMap.set("pardot-form",m4),t.componentContentMap.set("pardot-form",v.$P),t.componentMap.set("member-directory-profile",Mo),t.componentContentMap.set("member-directory-profile",v.cB),t.componentMap.set("aim-adviser-profile",Oo),t.componentContentMap.set("aim-adviser-profile",v.Rx),t.componentMap.set("member-directory-search",Ro),t.componentContentMap.set("member-directory-search",v.Pq),t.componentMap.set("aim-adviser-search",Po),t.componentContentMap.set("aim-adviser-search",v.By),t.componentMap.set("information-sheets-result",hr),t.componentContentMap.set("information-sheets-result",v.VW),t.componentMap.set("market-maker-profile",br),t.componentContentMap.set("market-maker-profile",v.xk),t.componentMap.set("market-maker-list",xr),t.componentContentMap.set("market-maker-list",v.TO),t.componentMap.set("member-firm-broker-directory-profile",An),t.componentContentMap.set("member-firm-broker-directory-profile",v.iy),t.componentMap.set("member-broker-search",Ir),t.componentContentMap.set("member-broker-search",v.xJ),t.lazyLoadComponentMap.set(X.INFOGRAPHIC,"InfographicComponent"),t.lazyLoadImportsMap.set(X.INFOGRAPHIC,"infographic/infographic"),t.componentContentMap.set(X.INFOGRAPHIC,v.Go),t.lazyLoadComponentMap.set(X.CTA_BANNER,"CtaBannerComponent"),t.lazyLoadImportsMap.set(X.CTA_BANNER,"cta-banner/cta-banner"),t.componentContentMap.set(X.CTA_BANNER,xV),t.lazyLoadComponentMap.set(X.ACCORDION,"AccordionComponent"),t.lazyLoadImportsMap.set(X.ACCORDION,"accordion/accordion"),t.componentContentMap.set(X.ACCORDION,v.ub),t.lazyLoadComponentMap.set(X.IMAGE_CAROUSEL,"ImageCarouselComponent"),t.lazyLoadImportsMap.set(X.IMAGE_CAROUSEL,"image-carousel/image-carousel"),t.componentContentMap.set(X.IMAGE_CAROUSEL,v.Wk),t.componentMap.set("sitemap-links",$o),t.componentContentMap.set("sitemap-links",v.Mc),t.componentMap.set("issuer-quick-facts",or),t.componentContentMap.set("issuer-quick-facts",v.$V),t.componentMap.set("story",sr),t.componentContentMap.set("story",v.h3),t.componentMap.set("track-portfolio",dr),t.componentContentMap.set("track-portfolio",v.f1),t.componentMap.set("history-timeline",vr),t.componentContentMap.set("history-timeline",v.d4),t.componentMap.set("search",nr),t.componentContentMap.set("search",v._z),t.componentMap.set("calendar-filters",cr),t.componentContentMap.set("calendar-filters",v.$m),t.componentMap.set("calendar-item",pr),t.componentContentMap.set("calendar-item",v.Pf),t.componentMap.set("explore-stories-filter",mr),t.componentContentMap.set("explore-stories-filter",v.OK),t.componentMap.set("order-book-trading",ur),t.componentContentMap.set("order-book-trading",v.Jt),t.componentMap.set("reports-filter-toggle",gr),t.componentContentMap.set("reports-filter-toggle",v.VB),t.componentMap.set("reports-filter-toggle-result",Tr),t.componentContentMap.set("reports-filter-toggle-result",v.Sm),t.componentMap.set("subscription-form",Cr),t.componentContentMap.set("subscription-form",v.HG),t.componentMap.set("turquoise-hero",kr),t.componentContentMap.set("turquoise-hero",v.ru),t.componentMap.set("turquoise-chart-table",qn),t.componentContentMap.set("turquoise-chart-table",v._3),t.componentMap.set("turquoise-ticker",wr),t.componentContentMap.set("turquoise-ticker",v.TH),t.componentMap.set("user-login-journey-tools",Un),t.componentContentMap.set("user-login-journey-tools",kV),t.componentMap.set("turquoise-markets-instruments-search",$r),t.componentContentMap.set("turquoise-markets-instruments-search",v.i8),t.componentMap.set("chart",zn),t.componentContentMap.set("chart",Hn),t.componentMap.set("ftse-index-chart",Er),t.componentContentMap.set("ftse-index-chart",Hn),t.componentMap.set("turquoise-chart",zn),t.componentContentMap.set("turquoise-chart",Hn),t.componentMap.set("chart_mdr",qt.T),t.componentContentMap.set("chart_mdr",v.Cg),t.componentMap.set("news-table",ao),t.componentContentMap.set("news-table",v.XC),t.componentMap.set("news-table-issuer-profile",Wn),t.componentContentMap.set("news-table-issuer-profile",v.$I),t.componentMap.set("news-table-index-page",Wn),t.componentContentMap.set("news-table-index-page",v.KZ),t.componentMap.set("tabular-data",Qn),t.componentContentMap.set("tabular-data",v.Nx),t.lazyLoadComponentMap.set(X.REPORTS_LIST_RESULT,"ReportsListResultComponent"),t.lazyLoadImportsMap.set(X.REPORTS_LIST_RESULT,"reports-list-result/reports-list-result"),t.componentContentMap.set(X.REPORTS_LIST_RESULT,v.i7),t.lazyLoadComponentMap.set(X.STEPPED_GRAPH,"SteppedGraphComponent"),t.lazyLoadImportsMap.set(X.STEPPED_GRAPH,"stepped-graph/stepped-graph"),t.componentContentMap.set(X.STEPPED_GRAPH,v.J2),t.componentMap.set(X.CTA_SIMPLE,Lr.CtaSimpleComponent),t.componentContentMap.set(X.CTA_SIMPLE,v.N9),t.componentMap.set(X.CARD_GRID,Vr.CardGridComponent),t.componentContentMap.set(X.CARD_GRID,v.Km),t.lazyLoadComponentMap.set(X.UPCOMING_EVENTS,"UpcomingEventsComponent"),t.lazyLoadImportsMap.set(X.UPCOMING_EVENTS,"upcoming-events/upcoming-events"),t.componentContentMap.set(X.UPCOMING_EVENTS,v.hv),t.lazyLoadComponentMap.set(X.ASSESSMENT_TOOL,"AssessmentToolComponent"),t.lazyLoadImportsMap.set(X.ASSESSMENT_TOOL,"assessment-tool/assessment-tool"),t.componentContentMap.set(X.ASSESSMENT_TOOL,v.Sf)}static{this.\u0275fac=function(i){return new(i||n)(e.KVO(R.z))}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({providers:[In,ee.p,U.W,Ut.X,l.oe,ce.w,Ee.h,Ve.B,Li,Je.h,le.W,ar.D,Ot.$,gi],imports:[l.MD,hV.G,x,m._,E.oW,g.YN,g.X1,ne.MQ,je.Yz,je.Zb,_m,nF.forRoot({apiKey:null==M.c.googleMapsKey?M.c.googleMapsKey:atob(M.c.googleMapsKey)}),da,ct.i5.forRoot({apiBaseURL:`${M.c.issuerService}/`})]})}}return n})()},16021:(de,K,p)=>{"use strict";p.d(K,{_:()=>mn});var l=p(60177),m=p(30803),E=p(90319),R=p(54438);const G=[{path:"**",component:E.Z}];let B=(()=>{class J{static{this.\u0275fac=function(ge){return new(ge||J)}}static{this.\u0275mod=R.$C({type:J})}static{this.\u0275inj=R.G2t({imports:[m.iI.forChild(G),m.iI]})}}return J})();var e=p(84745),P=p(73948),x=p(11747),b=p(21626),_=p(92971),u=p(7673),h=p(62087),w=p(31397),f=p(96354),V=p(99437),O=p(5964),y=p(96697),D=p(53993),Y=p(88141),ye=p(4803),S=p(32525);function L(J){return J&&J.sort(Z)}function Z(J,Tt){return J.weight-Tt.weight}var ce=p(29455),dt=p(68507),Dt=p(28404),jt=p(5472),rn=p(49955),vt=p(45312),bt=p(96009);const Ct=(0,R.zw6)("sortedComponents"),at=(0,R.zw6)("addedComponents"),Nt=(J,Tt)=>function(Ce){return J?Ce.pipe((0,h.w)(Tt)):Ce};let an=(()=>{class J{constructor(Ce,ge,xt,fe,Me,_n,dn,un,gn,hn,fn,vn){this.http=Ce,this.actions$=ge,this.router=xt,this.resolveService=fe,this.validatorService=Me,this.transferState=_n,this.store=dn,this.platformId=un,this.config=gn,this.response=hn,this.request=fn,this.langService=vn,this.handshake$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(_.ro),(0,w.Z)($=>this.http.get(this.config.handshake,{params:(0,ce.K)($,!0)}).pipe(Nt(!(0,l.UE)(this.platformId),vt.c.httpTimeout),(0,f.T)(oe=>oe.redirecturi?_.s6({path:oe.redirecturi}):(!(0,l.UE)(this.platformId)&&oe.meta&&oe.meta.page_type&&"error-404"===oe.meta.page_type&&this.response.status(404),_.gm(oe))),(0,V.W)(oe=>(this.request&&(oe.requestPath=this.request?.path),oe.pagePath=$?.path,oe.platform=this.platformId,(0,u.of)(
1404===oe.status&&"page-404"!==$?.path?_.Hv():_.px(oe)))))))),this.validate$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(_.gm),(0,w.Z)($=>(0,u.of)($?_.sF($):_.NE())))),this.layoutLoadFail$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(_.px,_.FC),(0,f.T)($=>((0,l.UE)(this.platformId)||this.response.status(404),vt.c.production&&("TimeoutError"!==$.name||(0,l.UE)(this.platformId))?this.router.navigate(["404"]):console.error($)))),{dispatch:!1}),this.notFound$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(_.Hv),(0,f.T)(()=>_.ro({path:"page-404",parameters:new b.Nl})))),this.setPageTitle$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(_.sF),(0,O.p)($=>!(!$.info||!$.info.title)),(0,y.s)(1),(0,w.Z)($=>(0,u.of)(_.it({pageTitle:{title:$.info.title}}))))),this.setPageDescription$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(_.sF),(0,O.p)($=>!(!$.info||!$.info.description)),(0,y.s)(1),(0,w.Z)($=>(0,u.of)(_.u7({pageDescription:{description:$.info.description}}))))),this.sortComponents$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(_.sF),(0,w.Z)($=>(0,u.of)(_.Uz({...$,components:L($.components)}))))),this.loadComponents$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(_.Tt),(0,D.E)(this.store.pipe((0,e.Lt)(P.IQ),(0,f.T)($=>$&&$.page_type||""))),(0,w.Z)(([$,oe])=>{let j;if(this.transferState.hasKey(Ct))j=this.transferState.get(Ct,null),this.transferState.remove(at);else{j={header:[],content:[],footer:[]};const A=JSON.parse(JSON.stringify($)),se=[...$.sharedComponents,...$.components];for(const H of se)!this.resolveService.resolve(H.type)||!this.validatorService.validate(H,se,oe)||(H.content=this.resolveService.aggregate(H,A),H.position=this.resolveService.resolveComponentPosition(H),j[H.position].push(H));this.transferState.set(Ct,j)}const M=Date.now()-9e5;return Object.keys(j).forEach(A=>{for(const se of j[A]){se.ngComponent=this.resolveService.resolve(se.type),se.status={...se.status,refreshedTime:M,childComponents:se.status&&se.status.childComponents||[],params:new b.Nl};for(const H of se.status.childComponents)H.ngComponent=this.resolveService.resolve(H.type),H.status={...H.status,refreshedTime:M,childComponents:[],params:new b.Nl}}}),(0,u.of)(_.Ul(j))}),(0,V.W)($=>(0,u.of)(_.FC($))))),this.hideStatusComponent$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(_.SV),(0,w.Z)($=>(0,u.of)(_.S3({...$,status:{visibility:!1}}))))),this.startComponentRefresh$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(_.je),(0,w.Z)($=>(0,u.of)(_.Rk($))))),this.refreshComponent$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(_.Rk),(0,w.Z)($=>{if(!(0,l.UE)(this.platformId))return;const oe=$.components.map(M=>({componentId:encodeURIComponent(M.id),parameters:M.status?dt.T.addParametersToUrl({path:""},M.status.params||new b.Nl).parameters.toString():null})),j=dt.T.addParametersToUrl({path:$.params.path},$.params.parameters);return this.http.post(this.config.componentRefresh,{path:j.path,parameters:encodeURIComponent(decodeURIComponent(j.parameters.toString())),components:oe}).pipe((0,f.T)(M=>{const A=JSON.parse(JSON.stringify(M)),se=M.filter(H=>this.resolveService.resolve(H.type)&&this.validatorService.validate(H,A));for(const H of se)H.content=this.resolveService.aggregate(H,A);return _.cO({components:se,status:{refreshed:!0,refreshing:!1,error:null}})}),(0,V.W)(M=>((0,bt.z3)(M),(0,u.of)(_.hf({components:$.components,status:{refreshed:!1,refreshing:!1,error:M}})))))}))),this.addComponent$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(_.Bf),(0,D.E)(this.store.pipe((0,e.Lt)(P.IQ),(0,f.T)($=>$&&$.page_type||""))),(0,w.Z)(([$,oe])=>{const j=$.components.map(A=>({componentId:encodeURIComponent(A.id),parameters:A.status?dt.T.addParametersToUrl({path:""},A.status.params).parameters.toString():null})),M=dt.T.addParametersToUrl({path:$.params.path},$.params.parameters);return this.http.post(this.config.componentRefresh,{path:M.path,parameters:encodeURIComponent(decodeURIComponent(M.parameters.toString())),components:j}).pipe(Nt(!(0,l.UE)(this.platformId),vt.c.httpTimeout),(0,f.T)(A=>{let se;if(this.transferState.hasKey(at))se=this.transferState.get(at,null),this.transferState.remove(at);else{const H=JSON.parse(JSON.stringify(A));se=L(A).filter(Fe=>this.resolveService.resolve(Fe.type)&&this.validatorService.validate(Fe,H,oe));for(const Fe of se)Fe.content=this.resolveService.aggregate(Fe,H);(0,l.UE)(this.platformId)||this.transferState.set(at,se)}for(const H of se)if(H.ngComponent=this.resolveService.resolve(H.type),!H.ngComponent)throw Error("Cannot add component "+H.type);return _.g2({components:se,callerId:$.callerId,position:$.position,status:{added:!0,error:null,refreshedTime:Date.now()-9e5,params:new b.Nl}})}),(0,V.W)(A=>((0,bt.z3)(A),(0,u.of)(_.hf({components:[{id:$.callerId,position:$.position}],status:{added:!1,error:A,refreshing:!1}})))))}))),this.pageReload$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(_.pR),(0,Y.M)(()=>window.location.reload())),{dispatch:!1}),this.loadSingleComponent$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(_._2),(0,w.Z)($=>this.http.post(this.config.componentRefresh,{path:$.path.path,parameters:encodeURIComponent(decodeURIComponent($.path.parameters.toString())),components:$.components}).pipe((0,f.T)(oe=>{const j=JSON.parse(JSON.stringify(oe)),M=oe.filter(A=>this.resolveService.resolve(A.type)&&this.validatorService.validate(A,j));for(const A of M)A.ngComponent=this.resolveService.resolve(A.type),A.content=this.resolveService.aggregate(A,j);return P.Gr({components:M})}),(0,V.W)(oe=>((0,bt.z3)(oe),(0,u.of)(_.hf({components:null,status:{added:!1,error:oe,refreshing:!1}})))))))),this.pageRedirect$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(_.s6),(0,Y.M)($=>{(0,l.UE)(this.platformId)||(this.response.setHeader("Location",$.path),this.response.status(301)),window.location.href=$.path})),{dispatch:!1})}static{this.\u0275fac=function(ge){return new(ge||J)(R.KVO(b.Qq),R.KVO(x.En),R.KVO(m.Ix),R.KVO(ye.z),R.KVO(S.d),R.KVO(R.pJN),R.KVO(e.il),R.KVO(R.Agw),R.KVO(Dt.w),R.KVO(jt.Cf,8),R.KVO(jt.S3,8),R.KVO(rn.g))}}static{this.\u0275prov=R.jDH({token:J,factory:J.\u0275fac})}}return J})();var Ie=p(69380);let sn=(()=>{class J{constructor(Ce,ge,xt){this.http=Ce,this.actions$=ge,this.config=xt,this.loadingForm$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(Ie.pO.FormLoading),(0,w.Z)(fe=>this.http.get(this.config.apiServer+fe.payload.endpoint).pipe((0,f.T)(Me=>({type:Ie.pO.FormLoaded,payload:{content:Me}})),(0,V.W)(Me=>(0,u.of)({type:Ie.pO.FormError,payload:{status:Me}})))))),this.validationForm$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(Ie.pO.FormValidation),(0,w.Z)(fe=>(0,u.of)({type:fe.payload.validated&&null!==fe.payload.endpoint?Ie.pO.FormValid:Ie.pO.FormInvalid,payload:fe.payload})))),this.sendingForm$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(Ie.pO.FormValid),(0,w.Z)(fe=>(0,u.of)({type:Ie.pO.FormSending,payload:fe.payload})))),this.sendForm$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(Ie.pO.FormSending),(0,w.Z)(fe=>this.http.post(fe.payload.endpoint,fe.payload.values).pipe((0,f.T)(Me=>({type:Ie.pO.FormSent,payload:{...fe.payload,sent:!0,status:Me}})),(0,V.W)(Me=>(0,u.of)({type:Ie.pO.FormError,payload:{...fe.payload,sent:!1,status:Me}}))))))}static{this.\u0275fac=function(ge){return new(ge||J)(R.KVO(b.Qq),R.KVO(x.En),R.KVO(Dt.w))}}static{this.\u0275prov=R.jDH({token:J,factory:J.\u0275fac})}}return J})();var ln=p(22607);let cn=(()=>{class J{constructor(Ce){this.actions$=Ce,this.IndexSelection$=(0,x.EH)(()=>this.actions$.pipe((0,x.gp)(ln.W.SelectIndex),(0,f.T)(ge=>{window.location.href="/market-data?code="+ge.payload.code})),{dispatch:!1})}static{this.\u0275fac=function(ge){return new(ge||J)(R.KVO(x.En))}}static{this.\u0275prov=R.jDH({token:J,factory:J.\u0275fac})}}return J})();var pn=p(99488);let mn=(()=>{class J{static{this.\u0275fac=function(ge){return new(ge||J)}}static{this.\u0275mod=R.$C({type:J})}
1static{this.\u0275inj=R.G2t({imports:[l.MD,e.md.forFeature("layout",P.gz),e.md.forFeature("forms",P.QQ),e.md.forFeature("instruments",P.Eq),x.Vm.forFeature([an,sn,cn]),B,pn.oW]})}}return J})()},69536:(de,K,p)=>{"use strict";p.d(K,{K:()=>u});var l=p(6498),m=p(54438),E=p(60177),R=p(55603),G=p(92102),B=p(78790);function e(h,w){if(1&h){const f=m.RV6();m.j41(0,"span",17),m.bIt("click",function(){m.eBV(f);const O=m.XpG(2).$implicit,y=m.XpG(2);return m.Njj(y.videoPlay(O))}),m.k0s()}if(2&h){const f=m.XpG(2).$implicit;m.BMQ("data-videourl",null==f?null:f.url)}}function P(h,w){if(1&h&&(m.qex(0),m.j41(1,"div",13)(2,"span",14),m.DNE(3,e,1,1,"span",15),m.j41(4,"div",16)(5,"strong"),m.EFF(6),m.k0s(),m.j41(7,"span"),m.EFF(8),m.k0s()()()(),m.bVm()),2&h){const f=m.XpG().$implicit,V=m.XpG(2);m.R7$(2),m.Y8G("ngStyle",V.bgStyle(f.thumbnail)),m.R7$(),m.Y8G("ngIf","video"==f.type),m.R7$(3),m.JRh(f.title),m.R7$(2),m.JRh(f.description)}}function x(h,w){1&h&&(m.qex(0),m.DNE(1,P,9,4,"ng-container",12),m.bVm())}function b(h,w){if(1&h&&(m.j41(0,"div",5)(1,"div",6)(2,"div",7)(3,"div",8)(4,"strong"),m.EFF(5,"Media"),m.k0s(),m.EFF(6),m.k0s(),m.j41(7,"div",9)(8,"app-slider",10),m.DNE(9,x,2,0,"ng-container",11),m.k0s()()()()()),2&h){const f=m.XpG();m.R7$(6),m.SpI(" from ",f.content.mcIssuerName.value,""),m.R7$(2),m.Y8G("configuration",f.sliderConfiguration),m.R7$(),m.Y8G("ngForOf",f.content.mcItems)}}function _(h,w){if(1&h){const f=m.RV6();m.j41(0,"div",18)(1,"div",19)(2,"div",20),m.bIt("click",function(){m.eBV(f);const O=m.XpG();return m.Njj(O.closeModal())}),m.k0s()(),m.j41(3,"div",21),m.nrm(4,"div",22),m.nI1(5,"videoPlayer"),m.k0s(),m.j41(6,"div",23),m.EFF(7),m.k0s(),m.j41(8,"button",24),m.bIt("click",function(){m.eBV(f);const O=m.XpG();return m.Njj(O.closeModal())}),m.EFF(9,"Close"),m.k0s()()}if(2&h){const f=m.XpG();m.R7$(2),m.BMQ("data-videourl",null==f.video?null:f.video.url),m.R7$(2),m.Y8G("innerHTML",m.bMT(5,4,null==f.video?null:f.video.url),m.npT),m.R7$(3),m.JRh(f.video.description),m.R7$(),m.BMQ("data-videourl",null==f.video?null:f.video.url)}}let u=(()=>{class h extends l.R{constructor(f,V){super(),this.renderer=f,this.el=V,this.video={description:null,url:null},this.sliderConfiguration={autoplay:7e3,infinite:"unidirectional",emptyEnd:!1,showControlsBackground:!1,showSelectors:!1,swipeAtOnce:1,offCanvas:!0}}ngOnInit(){}videoPlay(f){this.video.description=f.description,this.video.url=f.url,this.openModal()}openModal(){const f=this.el.nativeElement.querySelector("#modal-video");this.renderer.addClass(f,"open-modal")}closeModal(){const f=this.el.nativeElement.querySelector("#modal-video");this.renderer.removeClass(f,"open-modal"),this.video={description:null,url:null}}bgStyle(f){if(f)return{"background-image":`url(${f})`}}static{this.\u0275fac=function(V){return new(V||h)(m.rXU(m.sFG),m.rXU(m.aKT))}}static{this.\u0275cmp=m.VBU({type:h,selectors:[["app-media-carousel"]],inputs:{content:"content"},features:[m.Vt3],decls:5,vars:3,consts:[["id","media-carousel",1,"media-carousel-component","wrapper","flex-wrapper","full-width","gtm-track-component","component","lseg-swiper-container"],["class","pb x-large-width x-large-width-padding wrapper ",4,"ngIf"],["id","modal-video",1,"overlay-container","modal-video"],[1,"overlay","modal-overlay","gtm-stop-video",3,"click"],["class","overlay-wrapper",4,"ngIf"],[1,"pb","x-large-width","x-large-width-padding","wrapper"],[1,"panel","panel-custom"],[1,"media-container"],[1,"media-header"],[1,"media-carousel"],[3,"configuration"],[4,"ngFor","ngForOf"],[4,"appSliderItem"],[1,"swiper-slide"],[1,"gallery-img",3,"ngStyle"],["class","btn-play gtm-play-video",3,"click",4,"ngIf"],[1,"gallery-overlay"],[1,"btn-play","gtm-play-video",3,"click"],[1,"overlay-wrapper"],[1,"close-icon"],[1,"close-overlay","gtm-stop-video",3,"click"],[1,"player-responsive"],[1,"player-content",3,"innerHTML"],[1,"player-text"],[1,"gold-button","gtm-stop-video",3,"click"]],template:function(V,O){1&V&&(m.j41(0,"div",0),m.DNE(1,b,10,3,"div",1),m.k0s(),m.j41(2,"div",2)(3,"div",3),m.bIt("click",function(){return O.closeModal()}),m.k0s(),m.DNE(4,_,10,6,"div",4),m.k0s()),2&V&&(m.R7$(),m.Y8G("ngIf",null==O.content.mcItems?null:O.content.mcItems.length),m.R7$(2),m.BMQ("data-videourl",null==O.video?null:O.video.url),m.R7$(),m.Y8G("ngIf",null==O.video?null:O.video.url))},dependencies:[E.Sq,E.bT,E.B3,R.d,G.k,B.nV],styles:['.swiper-slide[_ngcontent-%COMP%]{width:43rem}@media (max-width: 1023px){.swiper-slide[_ngcontent-%COMP%]{width:100vw}}.swiper-slide[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}
1.media-carousel-component[_ngcontent-%COMP%]{background:url(assets/static/diagonal-lines-pattern.svg);overflow:hidden;padding:1.5rem 0}.gallery-img[_ngcontent-%COMP%]{background-color:#000;background-position:center center;background-repeat:no-repeat;background-size:cover;color:#fff;display:block;height:27.25rem;overflow:hidden;position:relative;text-align:center;width:100%}.gallery-img[_ngcontent-%COMP%] .gallery-overlay[_ngcontent-%COMP%]{background-color:#000c;bottom:0;box-sizing:border-box;color:#fff;display:block;min-height:5.75rem;padding:.75rem;position:absolute;text-align:left;width:100%;z-index:2}.gallery-img[_ngcontent-%COMP%] .gallery-overlay[_ngcontent-%COMP%] strong[_ngcontent-%COMP%], .gallery-img[_ngcontent-%COMP%] .gallery-overlay[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;font-weight:100;line-height:1.25em;overflow:hidden;width:90%}.gallery-img[_ngcontent-%COMP%] .gallery-overlay[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:1.53125rem;font-weight:700}.gallery-img[_ngcontent-%COMP%] .gallery-overlay[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1.09375rem}.gallery-img[_ngcontent-%COMP%] .btn-play[_ngcontent-%COMP%]{align-items:center;background-color:#000c;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;height:9.5rem;justify-content:center;position:relative;text-align:center;top:25%;width:9.5rem}.gallery-img[_ngcontent-%COMP%] .btn-play[_ngcontent-%COMP%]:before{background-image:url(assets/static/play.svg);background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:8rem;left:.5rem;position:relative;transform:scale(.5);width:8rem}.media-carousel[_ngcontent-%COMP%]{background:#000;overflow:hidden;position:relative;width:100%}.media-carousel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.panel-custom[_ngcontent-%COMP%]{padding:0!important;position:relative}.panel-custom[_ngcontent-%COMP%] .media-container[_ngcontent-%COMP%]{padding:0;position:relative}.panel-custom[_ngcontent-%COMP%] .media-header[_ngcontent-%COMP%]{font-size:1.09375rem;margin-bottom:1rem}.panel-custom[_ngcontent-%COMP%] .media-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;padding:.5rem 0}.opacity-box[_ngcontent-%COMP%]{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;top:0;width:4rem;z-index:2}.circle-background[_ngcontent-%COMP%]{align-items:center;cursor:pointer;display:flex;justify-content:center}.circle-background[_ngcontent-%COMP%]:before{background-image:url(assets/static/carousel_arrow_right.svg);background-position:center center;background-repeat:no-repeat;background-size:contain;content:"";display:block;height:4.8rem;margin-top:-2.875rem;transform:scale(.5);width:4.8rem}.right[_ngcontent-%COMP%]{right:0}.right-icon[_ngcontent-%COMP%], .left-icon[_ngcontent-%COMP%]{color:#fff}.left[_ngcontent-%COMP%]{left:0}.left[_ngcontent-%COMP%] .circle-background[_ngcontent-%COMP%]:before{background-image:url(assets/static/carousel_arrow_left.svg)}.gold-button[_ngcontent-%COMP%]{font-weight:700;line-height:1rem;margin-bottom:0}.document-icon[_ngcontent-%COMP%]:after{background-image:url(assets/static/download_icon_gold.svg);background-repeat:no-repeat;background-size:contain;content:"";display:inline-block;height:1.5em;margin-top:-.75em;position:relative;top:.4em;transform:scale(.5);width:1em}[_nghost-%COMP%] .after:not(:first-of-type) .swiper-slide{opacity:.4;pointer-events:none}']})}}return h})()},57488:(de,K,p)=>{"use strict";p.d(K,{J:()=>P});var l=p(28404),m=p(88141),E=p(99437),R=p(7673),G=p(54438),B=p(21626);let P=(()=>{class x{constructor(_,u,h){this.config=_,this.http=u,this.cdr=h,this.openToggle=!1,this.loading="loading"}ngOnInit(){}toggleTrack(){this.openToggle=!this.openToggle,this.openToggle&&this.http.get(`${this.config.track}/${this.tidm}`).pipe((0,m.M)(_=>{this.hasportfolio=_.hasportfolio,this.haswatchlist=_.haswatchlist,this.hasalerts=_.hasalerts}),(0,E.W)(_=>(0,R.of)(_))).subscribe(()=>{this.loading="loaded",this.cdr.markForCheck()})}closeTrack(){this.openToggle=!1}toggleTrackKey(_){"Enter"===_.key&&this.toggleTrack()}static{this.\u0275fac=function(u){return new(u||x)(G.rXU(l.w),G.rXU(B.Qq),G.rXU(G.gRc))}}static{this.\u0275cmp=G.VBU({type:x,selectors:[["app-track"]],inputs:{align:"align",color:"color",tidm:"tidm"},decls:0,vars:0,template:function(u,h){},styles:['.track-this[_ngcontent-%COMP%]{border:.063rem dashed #001eff;border-radius:1em;color:#001eff;cursor:pointer;display:inline-block;font-weight:300;padding:.4375em .75em;position:relative}.track-this[_ngcontent-%COMP%]:hover{text-decoration:underline}.track-this.white[_ngcontent-%COMP%]{border-color:#fff;color:#fff}.track-this[_ngcontent-%COMP%] .track-toggle[_ngcontent-%COMP%]{background:#fff;border:.063rem dashed #001eff;border-radius:1em;color:#001eff;cursor:initial;padding:.4375em .75em;position:absolute;right:auto;transform:translate(-39%,-140%);width:10rem;z-index:16}.track-this[_ngcontent-%COMP%] .track-toggle.loading[_ngcontent-%COMP%]{background-image:url(assets/static/spinner-1s-160px.svg);background-position:center center;background-size:contain}.track-this[_ngcontent-%COMP%] .track-toggle.loading[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{visibility:hidden}.track-this[_ngcontent-%COMP%] .track-toggle[_ngcontent-%COMP%]:after{background:#fff;border-bottom:.063rem dashed #001eff;border-right:.063rem dashed #001eff;bottom:-.5rem;content:"";display:block;height:1rem;left:auto;position:absolute;right:calc(50% - .5rem);top:auto;transform:rotate(45deg);width:1rem;z-index:2}.track-this[_ngcontent-%COMP%] .track-toggle[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#000;font-size:inherit;line-height:inherit;list-style:none;margin:.6rem 0 .6rem .85rem;text-align:left}.track-this[_ngcontent-%COMP%] .track-toggle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#001eff;text-decoration:underline}.track-this[_ngcontent-%COMP%] .track-toggle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.track-this[_ngcontent-%COMP%] .track-toggle.right-track[_ngcontent-%COMP%]{right:0;transform:translateY(-140%)}.track-this[_ngcontent-%COMP%] .track-toggle.right-track[_ngcontent-%COMP%]:after{right:calc(18% - .5rem)}.track-this[_ngcontent-%COMP%] .track-toggle.left-track[_ngcontent-%COMP%]{left:0;right:auto;transform:translateY(-140%)}.track-this[_ngcontent-%COMP%] .track-toggle.left-track[_ngcontent-%COMP%]:after{left:calc(18% - .5rem)}@media (min-width: 768px){.track-this[_ngcontent-%COMP%] .track-toggle.leftcenter-track[_ngcontent-%COMP%]{left:0;right:auto;transform:translateY(-140%)}.track-this[_ngcontent-%COMP%] .track-toggle.leftcenter-track[_ngcontent-%COMP%]:after{left:calc(18% - .5rem)}}.track-toggle[_ngcontent-%COMP%] [class^=icon-][_ngcontent-%COMP%]{float:left;height:2rem;margin-top:-.35rem;width:2rem}.track-toggle[_ngcontent-%COMP%] [class^=icon-][_ngcontent-%COMP%]:before{height:2rem;width:2rem}.edit-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:right}'],changeDetection:0})}}return x})()},63852:(de,K,p)=>{"use strict";p.d(K,{H:()=>x});var l=p(9438),m=p(54438),E=p(60177);function R(b,_){if(1&b){const u=m.RV6();m.j41(0,"span",3),m.bIt("click",function(){m.eBV(u);const w=m.XpG(2);return m.Njj(w.openGatedContent(w.link))})("keyup",function(w){m.eBV(u);const f=m.XpG(2);return m.Njj(f.openGatedContentKey(w,f.link))}),m.EFF(1),m.nrm(2,"span",4),m.k0s()}if(2&b){const u=m.XpG(2);m.HbH(u.elementClasses),m.R7$(),m.JRh(u.buttonField.value.label)}}function G(b,_){if(1&b){const u=m.RV6();m.j41(0,"span",3),m.bIt("click",function(){m.eBV(u);const w=m.XpG(2);return m.Njj(w.openForm(w.link))})("keyup",function(w){m.eBV(u);const f=m.XpG(2);return m.Njj(f.openFormKey(w,f.link))}),m.EFF(1),m.k0s()}if(2&b){const u=m.XpG(2);m.HbH(u.elementClasses),m.R7$(),m.JRh(u.buttonField.value.label)}}function B(b,_){1&b&&m.nrm(0,"span",4)}function e(b,_){if(1&b&&(m.j41(0,"a",5),m.EFF(1),m.DNE(2,B,1,0,"span",6),m.k0s()),2&b){const u=m.XpG(2);m.HbH(u.elementClasses),m.FS9("target",u.buttonField.value.target),m.Y8G("href",u.link,m.B4B),m.R7$(),m.JRh(u.buttonField.value.label),m.R7$(),m.Y8G("ngIf","document"===u.buttonField.value.type||"gated"===u.buttonField.value.type)}}function P(b,_){if(1&b&&(m.qex(0),m.DNE(1,R,3,3,"span",1)(2,G,2,3,"span",1)(3,e,3,6,"a",2),m.bVm()),2&b){const u=m.XpG();m.R7$(),m.Y8G("ngIf",u.isGatedLink()),m.R7$(),m.Y8G("ngIf",!u.isGatedLink()&&(u.isPardotForm(
1)||u.isExternalForm())),m.R7$(),m.Y8G("ngIf",!u.isGatedLink()&&!u.isPardotForm()&&!u.isExternalForm())}}let x=(()=>{class b{constructor(u,h,w){this.gatedContentService=u,this.renderer=h,this.viewContainerRef=w}ngOnInit(){this.setLink()}ngOnDestroy(){this.gatedContentService.removeModal(this.viewContainerRef,this.renderer)}setLink(){this.link=this.buttonField.value.url&&this.buttonField.value.url.length>0?this.buttonField.value.url:this.buttonField.value.link&&this.buttonField.value.link.length>0?this.buttonField.value.link:""}openGatedContent(u){this.gatedContentService.loadGatedContent(this.renderer,this.viewContainerRef,u)}openGatedContentKey(u,h){"Enter"===u.key&&this.openGatedContent(h)}isGatedLink(){return this.gatedContentService.canDisplayGatedLink(this.buttonField)}openForm(u){this.gatedContentService.loadForm(this.renderer,this.viewContainerRef,u)}openFormKey(u,h){"Enter"===u.key&&this.openForm(h)}isPardotForm(){return this.gatedContentService.canDisplayPardotForm(this.buttonField)}isExternalForm(){return this.gatedContentService.canDisplayExternalForm(this.buttonField)}static{this.\u0275fac=function(h){return new(h||b)(m.rXU(l.y),m.rXU(m.sFG),m.rXU(m.c1b))}}static{this.\u0275cmp=m.VBU({type:b,selectors:[["app-gated-button"]],inputs:{buttonField:"buttonField",elementClasses:"elementClasses"},decls:1,vars:1,consts:[[4,"ngIf"],["tabindex","0",3,"class","click","keyup",4,"ngIf"],[3,"href","target","class",4,"ngIf"],["tabindex","0",3,"click","keyup"],[1,"cta-document"],[3,"href","target"],["class","cta-document",4,"ngIf"]],template:function(h,w){1&h&&m.DNE(0,P,4,3,"ng-container",0),2&h&&m.Y8G("ngIf",w.buttonField.value&&"-"!==w.buttonField.value)},dependencies:[E.bT],styles:[".cta-button[_ngcontent-%COMP%]{min-width:14rem}.cta-button[_ngcontent-%COMP%] .cta-document[_ngcontent-%COMP%]{background-position:center bottom;margin-bottom:-.1em}.cta-margin-top[_ngcontent-%COMP%]{margin-top:2rem}"]})}}return b})()},86806:(de,K,p)=>{"use strict";p.d(K,{v:()=>G});var l=p(54438),m=p(60177),E=p(96009);function R(B,e){if(1&B&&l.nrm(0,"div",1),2&B){const P=l.XpG();l.Mz_("id","KnowledgeVisionEmbeddedContent",P.id,"")}}let G=(()=>{class B{constructor(P,x,b){this.platformId=P,this.document=x,this.renderer=b,this.baseUrl="https://view.knowledgevision.com",this.error=!1}ngOnInit(){(0,m.UE)(this.platformId)&&this.loadScript()}ngOnDestroy(){(0,m.UE)(this.platformId)&&this.script&&this.renderer.removeChild(this.document.body,this.script)}loadScript(){this.id&&(this.script=this.document.createElement("script"),this.script.type="text/javascript",this.script.src=`${this.baseUrl}/presentation/embed/${this.id}.js`,this.renderer.appendChild(this.document.body,this.script),this.script.onerror=()=>{this.error=!0,(0,E.z3)("Error loading Knowledge Vision Tag")})}static{this.\u0275fac=function(x){return new(x||B)(l.rXU(l.Agw),l.rXU(m.qQ),l.rXU(l.sFG))}}static{this.\u0275cmp=l.VBU({type:B,selectors:[["app-livestream-video"]],inputs:{id:"id"},decls:1,vars:1,consts:[["class","knowledge-vision-embedded-content",3,"id",4,"ngIf"],[1,"knowledge-vision-embedded-content",3,"id"]],template:function(x,b){1&x&&l.DNE(0,R,1,2,"div",0),2&x&&l.Y8G("ngIf",b.id)},dependencies:[m.bT],styles:[".knowledge-vision-embedded-content[_ngcontent-%COMP%]{left:0;position:absolute;right:0;top:0}"]})}}return B})()},90319:(de,K,p)=>{"use strict";p.d(K,{Z:()=>D});var l=p(54438),m=p(84745),E=p(73948),R=p(68507),G=p(5964),B=p(96697),e=p(97175),P=p(60177),x=p(30803),b=p(10467),_=p(4803),u=p(99488);function h(Y,ye){if(1&Y&&(l.qex(0),l.nrm(1,"ndc-dynamic",1),l.bVm()),2&Y){const S=ye.$implicit;l.R7$(),l.Y8G("ndcDynamicComponent",S.ngComponent)("ndcDynamicInputs",S)}}let w=(()=>{class Y{constructor(S){this.resolverService=S,this.classes="flex-content page-content full-width"}ngOnInit(){var S=this;this.components$.subscribe(L=>{L.forEach(function(){var Z=(0,b.A)(function*(ce){S.resolverService.isLazyLoadedComponent(ce.type)&&(ce.content.type=ce.type)});return function(ce){return Z.apply(this,arguments)}}())})}ngOnChanges(){var S=this;this.components$.subscribe(L=>{L.forEach(function(){var Z=(0,b.A)(function*(ce){S.resolverService.isLazyLoadedComponent(ce.type)&&(ce.content.type=ce.type)});return function(ce){return Z.apply(this,arguments)}}())})}static{this.\u0275fac=function(L){return new(L||Y)(l.rXU(_.z))}}static{this.\u0275cmp=l.VBU({type:Y,selectors:[["app-page-content"]],hostVars:2,hostBindings:function(L,Z){2&L&&l.HbH(Z.classes)},inputs:{components$:"components$"},features:[l.OA$],decls:2,vars:3,consts:[[4,"ngFor","ngForOf"],[3,"ndcDynamicComponent","ndcDynamicInputs"]],template:function(L,Z){1&L&&(l.DNE(0,h,2,2,"ng-container",0),l.nI1(1,"async")),2&L&&l.Y8G("ngForOf",l.bMT(1,1,Z.components$))},dependencies:[P.Sq,u.Bf,u.dE,P.Jj]})}}return Y})();function f(Y,ye){if(1&Y&&(l.qex(0),l.nrm(1,"ndc-dynamic",1),l.bVm()),2&Y){const S=ye.$implicit;l.R7$(),l.Y8G("ndcDynamicComponent",S.ngComponent)("ndcDynamicInputs",S)}}let V=(()=>{class Y{constructor(){this.classes="page-header"}ngOnChanges(){window.initAlertBox&&window.initAlertBox()}static{this.\u0275fac=function(L){return new(L||Y)}}static{this.\u0275cmp=l.VBU({type:Y,selectors:[["app-page-header"]],hostVars:2,hostBindings:function(L,Z){2&L&&l.HbH(Z.classes)},inputs:{components$:"components$"},features:[l.OA$],decls:2,vars:3,consts:[[4,"ngFor","ngForOf"],[3,"ndcDynamicComponent","ndcDynamicInputs"]],template:function(L,Z){1&L&&(l.DNE(0,f,2,2,"ng-container",0),l.nI1(1,"async")),2&L&&l.Y8G("ngForOf",l.bMT(1,1,Z.components$))},dependencies:[P.Sq,u.Bf,u.dE,P.Jj]})}}return Y})();function O(Y,ye){if(1&Y&&(l.qex(0),l.nrm(1,"ndc-dynamic",2),l.bVm()),2&Y){const S=ye.$implicit;l.R7$(),l.Y8G("ndcDynamicComponent",S.ngComponent)("ndcDynamicInputs",S)}}let y=(()=>{class Y{constructor(){this.classes="flex-shrink-none"}ngOnInit(){}static{this.\u0275fac=function(L){return new(L||Y)}}static{this.\u0275cmp=l.VBU({type:Y,selectors:[["app-page-footer"]],hostVars:2,hostBindings:function(L,Z){2&L&&l.HbH(Z.classes)},inputs:{components$:"components$"},decls:3,vars:3,consts:[[1,"page-footer","full-width"],[4,"ngFor","ngForOf"],[3,"ndcDynamicComponent","ndcDynamicInputs"]],template:function(L,Z){1&L&&(l.j41(0,"div",0),l.DNE(1,O,2,2,"ng-container",1),l.nI1(2,"async"),l.k0s()),2&L&&(l.R7$(),l.Y8G("ngForOf",l.bMT(2,1,Z.components$)))},dependencies:[P.Sq,u.Bf,u.dE,P.Jj]})}}return Y})(),D=(()=>{class Y{constructor(S,L,Z,ce){this.store=S,this.router=L,this.route=Z,this.platformId=ce,this.classes="flex-wrapper app-handshake",this.defaultBackgroun
1dColor="white"}ngOnInit(){this.store.pipe((0,m.Lt)(E.IQ),(0,G.p)(L=>!!L),(0,B.s)(1)).subscribe(L=>{this.pageBackground=L&&L.page_background?L.page_background:this.defaultBackgroundColor,this.classes+=` ${this.pageBackground}`});const S=new R.T(this.router,this.route,this.store);this.store.dispatch(E.h2({pathArgs:e.eU.getArgumentsMap(S.getRequestUrl())})),(0,P.UE)(this.platformId)&&this.store.dispatch(E.ro(S.getUrlObject())),this.store.pipe((0,m.Lt)(E.xX),(0,G.p)(L=>this.validateData(L))).subscribe(L=>this.store.dispatch(E.Tt(L))),this.store.pipe((0,m.Lt)(E.Li),(0,G.p)(L=>!L)).subscribe(()=>this.store.dispatch(E.Hv())),this.componentsHeader$=this.store.pipe((0,m.Lt)(E.jH)),this.componentsContent$=this.store.pipe((0,m.Lt)(E.JI)),this.componentsFooter$=this.store.pipe((0,m.Lt)(E.v2))}validateData(S){return!!(S&&S.components&&Array.isArray(S.components))&&S.sharedComponents&&Array.isArray(S.sharedComponents)}static{this.\u0275fac=function(L){return new(L||Y)(l.rXU(m.il),l.rXU(x.Ix),l.rXU(x.nX),l.rXU(l.Agw))}}static{this.\u0275cmp=l.VBU({type:Y,selectors:[["app-handshake"]],hostVars:2,hostBindings:function(L,Z){2&L&&l.HbH(Z.classes)},decls:4,vars:3,consts:[[1,"flex-wrapper","flex-column","viewport-height","full-width"],["id","page-header",3,"components$"],[3,"components$"]],template:function(L,Z){1&L&&(l.j41(0,"div",0),l.nrm(1,"app-page-header",1)(2,"app-page-content",2)(3,"app-page-footer",2),l.k0s()),2&L&&(l.R7$(),l.Y8G("components$",Z.componentsHeader$),l.R7$(),l.Y8G("components$",Z.componentsContent$),l.R7$(),l.Y8G("components$",Z.componentsFooter$))},dependencies:[w,V,y]})}}return Y})()},75920:(de,K,p)=>{"use strict";p.d(K,{W:()=>m});var l=p(54438);let m=(()=>{class E{constructor(G,B){this.el=G,this.renderer=B,this.canLoad=new l.bkB}ngAfterViewInit(){this.canLazyLoad()?this.lazyLoadImage():this.loadImage()}canLazyLoad(){return window&&"IntersectionObserver"in window}lazyLoadImage(){const G=new IntersectionObserver(B=>{B.forEach(({isIntersecting:e})=>{e&&(this.loadImage(),G.unobserve(this.el.nativeElement))})});G.observe(this.el.nativeElement)}loadImage(){this.bgClass?this.renderer.addClass(this.el.nativeElement,this.bgClass):this.canLoad.emit(!0)}static{this.\u0275fac=function(B){return new(B||E)(l.rXU(l.aKT),l.rXU(l.sFG))}}static{this.\u0275dir=l.FsC({type:E,selectors:[["","appLazyBgImgLoad",""]],inputs:{bgClass:"bgClass"},outputs:{canLoad:"canLoad"}})}}return E})()},19032:(de,K,p)=>{"use strict";p.d(K,{b:()=>R});var l=p(68507),m=p(96009),E=p(54438);let R=(()=>{class G{transform(e,P=null){if(!e)return(0,m.z3)("CompanyUrlPipe: input params null or undefined"),"#";const x=this.getArgs(e);return x?l.T.getCompanyUrl(x.isLse,x.tidm,x.issuername,P):"#"}getArgs(e){const P=this.getTidm(e),x=this.getCompanyName(e),b=this.getIsLse(e);if(!P||!x){const _=[{key:"tidm",value:P},{key:"issuername",value:x},{key:"isLse",value:b?b.toString():null}];return(0,m.z3)("CompanyUrlPipe: input params ",null,window.location.href,_),null}return{isLse:b,tidm:P,issuername:x,tab:null}}getIsLse(e){return!e.islse||e.islse.value}getTidm(e){return e.tidm&&e.tidm.value?e.tidm.value:e.companycode&&e.companycode.value?e.companycode.value:null}getCompanyName(e){return this.getIssuername(e)||this.getCompany(e)||this.getDescription(e)||null}getIssuername(e){return e.issuername&&e.issuername.value?e.issuername.value:null}getCompany(e){return e.companyname&&e.companyname.value?e.companyname.value:null}getDescription(e){return e.description&&e.description.value?e.description.value:null}static{this.\u0275fac=function(P){return new(P||G)}}static{this.\u0275pipe=E.EJ8({name:"companyUrl",type:G,pure:!0})}}return G})()},78336:(de,K,p)=>{"use strict";p.d(K,{q:()=>G});var l=p(68507),m=p(96009),E=p(54344),R=p(54438);let G=(()=>{class B{transform(P){return P&&""!==P&&P!==E.M.DEFAULT_VALUE?l.T.getFtseUrlByLinkType("ftse-index-page",P):((0,m.z3)("FtseIndexUrlPipe: input params ",null,window.location.href,[{key:"indexName",value:P}]),"#")}static{this.\u0275fac=function(x){return new(x||B)}}static{this.\u0275pipe=R.EJ8({name:"ftseIndexUrl",type:B,pure:!0})}}return B})()},28496:(de,K,p)=>{"use strict";p.d(K,{h:()=>m});var l=p(54438);let m=(()=>{class E{constructor(G){this.renderer=G.createRenderer(null,null)}toggleAccordion(G,B){const e=B.nativeElement.querySelector(`#${G}`);e&&(this.isActiveAccordion(G,B)?this.renderer.removeClass(e,"active-accordion"):this.renderer.addClass(e,"active-accordion"))}isActiveAccordion(G,B){return!!B.nativeElement.querySelector(`#${G}.active-accordion`)}static{this.\u0275fac=function(B){return new(B||E)(l.KVO(l._9s))}}static{this.\u0275prov=l.jDH({token:E,factory:E.\u0275fac})}}return E})()},47895:(de,K,p)=>{"use strict";p.d(K,{D:()=>R});var l=p(73948),m=p(54438),E=p(84745);let R=(()=>{class G{constructor(e){this.store=e}getComponent(e,P,x=null){this.store.dispatch(l._2({path:P,components:[{componentId:e,parameters:x}]}))}static{this.\u0275fac=function(P){return new(P||G)(m.KVO(E.il))}}static{this.\u0275prov=m.jDH({token:G,factory:G.\u0275fac})}}return G})()},49955:(de,K,p)=>{"use strict";p.d(K,{g:()=>u});var l=p(2490),m=p(57934),E=p(5472),R=p(84745),G=p(73948),B=p(5964),e=p(96697),P=p(96354),x=p(28404),b=p(68507),_=p(54438);let u=(()=>{class h{constructor(f,V,O,y){this.cookieService=f,this.config=V,this.store=O,this.request=y,this.languages=new m.P}get(){return this.config.featureFlags.multilingual?this._handleMultilingualSession():this.store.pipe((0,R.Lt)(G.Ti),(0,B.p)(f=>!!f),(0,e.s)(1),(0,P.T)(f=>f.parameters.get("lang")||m.x))}_handleMultilingualSession(){if(!this.request)return this._handleBrowserLanguage();if(this.request.cookies&&this.request.cookies.lse_language)return this.request.cookies.lse_language;const f=this.request.acceptsLanguages();for(const V of f){const O=this.languages.languages.filter(D=>D.locales.includes(V));if(O.length<1)continue;const y=O[0].lang;return this.set(y),y}return m.x}_handleBrowserLanguage(){return this.cookieService.get("lse_language")||navigator.language||m.x}set(f,V){if(!this.config.featureFlags.multilingual)return h.isDefault(f)?b.T.getNormalUrl({...V,parameters:V.parameters.delete("lang")}):b.T.getNormalUrl({...V,parameters:V.parameters.set("lang",f)});this.cookieService.set("lse_language",f)}isCurrent(f){return this.store.pipe((0,R.Lt)(G.IQ),(0,P.T)(V=>
1f===(V&&V.language||m.x)))}getAvailable(){return this.store.pipe((0,R.Lt)(G.IQ),(0,P.T)(f=>{const V=f&&f.available_languages||[];return this.languages.languages.filter(O=>V.includes(O.lang))}))}getCurrent(){return this.store.pipe((0,R.Lt)(G.IQ),(0,P.T)(f=>{const V=f&&f.language||m.x,O=this.languages.languages.filter(y=>y.lang===V);return O&&O.length>0?O[0]:null}))}static isDefault(f){return f==m.x}static{this.\u0275fac=function(V){return new(V||h)(_.KVO(l.O),_.KVO(x.w),_.KVO(R.il),_.KVO(E.S3,8))}}static{this.\u0275prov=_.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},91781:(de,K,p)=>{"use strict";p.r(K),p.d(K,{CtaSimpleComponent:()=>V});var l=p(84745),m=p(73948),E=p(5964),R=p(96697),G=p(2490),B=p(45312),e=p(54438),P=p(60177),x=p(63852),b=p(75920);function _(O,y){1&O&&e.nrm(0,"span",8)}function u(O,y){1&O&&e.nrm(0,"span",9)}function h(O,y){if(1&O&&(e.qex(0),e.DNE(1,_,1,0,"span",6)(2,u,1,0,"span",7),e.bVm()),2&O){const D=e.XpG(2);e.R7$(),e.Y8G("ngIf","white"===D.content.ctaTextColor.value||"blue"===D.meta.viewMode),e.R7$(),e.Y8G("ngIf","white"!==D.content.ctaTextColor.value&&"blue"!==D.meta.viewMode)}}function w(O,y){if(1&O&&(e.j41(0,"div",10),e.nrm(1,"app-gated-button",11),e.k0s()),2&O){const D=e.XpG(2);e.R7$(),e.Y8G("buttonField",D.content.ctaButton)("elementClasses",D.gatedClasses())}}function f(O,y){if(1&O){const D=e.RV6();e.j41(0,"div",1),e.bIt("canLoad",function(ye){e.eBV(D);const S=e.XpG();return e.Njj(S.canLoad(ye))}),e.j41(1,"div",2)(2,"div",3),e.DNE(3,h,3,2,"ng-container",4),e.EFF(4),e.k0s(),e.DNE(5,w,2,2,"div",5),e.k0s()()}if(2&O){const D=e.XpG();e.xc7("background-image","image"===D.meta.viewMode&&D.content.ctaBackgroundImage.value&&D.canLoads?"url("+D.content.ctaBackgroundImage.value+")":""),e.AVh("m-64","1"===(null==D.content.uxPadding?null:D.content.uxPadding.value)),e.Y8G("ngClass",D.meta.viewMode?D.meta.viewMode+"-cta":""),e.R7$(),e.Y8G("ngClass","image"===D.meta.viewMode&&D.content.ctaTextColor.value?D.content.ctaTextColor.value+"-text":""),e.R7$(2),e.Y8G("ngIf",D.content.ctaIcon.value&&"show"===D.content.ctaIcon.value),e.R7$(),e.SpI(" ",D.content.ctaText.value," "),e.R7$(),e.Y8G("ngIf",D.content.ctaButton.value&&"-"!==D.content.ctaButton.value)}}let V=(()=>{class O{constructor(D,Y){this.store=D,this.cookie=Y,this.meta={viewMode:"simple"}}ngOnInit(){this.pageMeta$=this.store.pipe((0,l.Lt)(m.IQ),(0,E.p)(D=>!!D),(0,R.s)(1))}gatedClasses(){return"button"===this.content.ctaButton.value.template?"cta-button gold-button regular-font-size bold-font-weight":"blue"===this.meta.viewMode?"cta-link white-link":"cta-link"}displayInSearch(){return this.cookie.check(B.c.recentSearchesCookieName)&&this.cookie.get(B.c.recentSearchesCookieName).length>0}canLoad(D){return this.canLoads=D,D}static{this.\u0275fac=function(Y){return new(Y||O)(e.rXU(l.il),e.rXU(G.O))}}static{this.\u0275cmp=e.VBU({type:O,selectors:[["app-cta-simple"]],inputs:{content:"content",meta:"meta"},decls:2,vars:3,consts:[["id","cta-simple","class","component cta-simple-component wrapper x-large-width x-large-width-padding bold-font-weight gtm-track-component","appLazyBgImgLoad","",3,"ngClass","m-64","background-image","canLoad",4,"ngIf"],["id","cta-simple","appLazyBgImgLoad","",1,"component","cta-simple-component","wrapper","x-large-width","x-large-width-padding","bold-font-weight","gtm-track-component",3,"canLoad","ngClass"],[1,"flex-wrapper","spaced-flex-container","big-font-size","flex-align-center",3,"ngClass"],[1,"mobile-flex-wrapper","flex-align-center","cta-block"],[4,"ngIf"],["class","cta-simple-button",4,"ngIf"],["class","icon-search-white",4,"ngIf"],["class","icon-search-black",4,"ngIf"],[1,"icon-search-white"],[1,"icon-search-black"],[1,"cta-simple-button"],[3,"buttonField","elementClasses"]],template:function(Y,ye){if(1&Y&&(e.DNE(0,f,6,9,"div",0),e.nI1(1,"async")),2&Y){let S;e.Y8G("ngIf","search"!==(null==(S=e.bMT(1,1,ye.pageMeta$))?null:S.page_type)||ye.displayInSearch())}},dependencies:[P.YU,P.bT,x.H,b.W,P.Jj],styles:[".cta-simple-component[_ngcontent-%COMP%]{background-color:#f2f2f2;clear:both;color:#000;line-height:2rem;padding:1.25rem 2rem 0}.cta-simple-component.blue-cta[_ngcontent-%COMP%]{background:#001eff;color:#fff}.cta-simple-component.image-cta[_ngcontent-%COMP%]{background-position:center center;background-size:cover}
1.cta-simple-component[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{vertical-align:middle}.blue-cta[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .white-text[_ngcontent-%COMP%], .white-text[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}.cta-simple-button[_ngcontent-%COMP%]{display:inline-block;margin-bottom:1.25rem}.blue-cta[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]{background:transparent;border:.125rem solid #ffffff;color:#fff}.blue-cta[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]:hover{background:#fff;color:#001eff;text-decoration:none}.blue-cta[_ngcontent-%COMP%] .cta-document[_ngcontent-%COMP%]{background-image:url(assets/static/download_icon_white.svg)}.blue-cta[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]:hover .cta-document[_ngcontent-%COMP%]{background-image:url(assets/static/download_icon_blue.svg)}.cta-block[_ngcontent-%COMP%]{margin-bottom:1.25rem}.cta-block[_ngcontent-%COMP%] .icon-search-white[_ngcontent-%COMP%], .cta-block[_ngcontent-%COMP%] .icon-search-black[_ngcontent-%COMP%]{margin-bottom:0;max-height:2.5rem}"],changeDetection:0})}}return O})()},32900:function(de){de.exports=function(){"use strict";return function(K,p){var l=p.prototype,m=l.format;l.format=function(E){var R=this,G=this.$locale();if(!this.isValid())return m.bind(this)(E);var B=this.$utils(),e=(E||"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(P){switch(P){case"Q":return Math.ceil((R.$M+1)/3);case"Do":return G.ordinal(R.$D);case"gggg":return R.weekYear();case"GGGG":return R.isoWeekYear();case"wo":return G.ordinal(R.week(),"W");case"w":case"ww":return B.s(R.week(),"w"===P?1:2,"0");case"W":case"WW":return B.s(R.isoWeek(),"W"===P?1:2,"0");case"k":case"kk":return B.s(String(0===R.$H?24:R.$H),"k"===P?1:2,"0");case"X":return Math.floor(R.$d.getTime()/1e3);case"x":return R.$d.getTime();case"z":return"["+R.offsetName()+"]";case"zzz":return"["+R.offsetName("long")+"]";default:return P}});return m.bind(this)(e)}}}()},2578:function(de,K){var p,m;void 0!==(m="function"==typeof(p=function(){"use strict";function R(b,_,u){var h=new XMLHttpRequest;h.open("GET",b),h.responseType="blob",h.onload=function(){x(h.response,_,u)},h.onerror=function(){console.error("could not download file")},h.send()}function G(b){var _=new XMLHttpRequest;_.open("HEAD",b,!1);try{_.send()}catch{}return 200<=_.status&&299>=_.status}function B(b){try{b.dispatchEvent(new MouseEvent("click"))}catch{var _=document.createEvent("MouseEvents");
vendor: 1,851 bytes, line 1
1_.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),b.dispatchEvent(_)}}var e="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,P=e.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),x=e.saveAs||("object"!=typeof window||window!==e?function(){}:"download"in HTMLAnchorElement.prototype&&!P?function(b,_,u){var h=e.URL||e.webkitURL,w=document.createElement("a");w.download=_=_||b.name||"download",w.rel="noopener","string"==typeof b?(w.href=b,w.origin===location.origin?B(w):G(w.href)?R(b,_,u):B(w,w.target="_blank")):(w.href=h.createObjectURL(b),setTimeout(function(){h.revokeObjectURL(w.href)},4e4),setTimeout(function(){B(w)},0))}:"msSaveOrOpenBlob"in navigator?function(b,_,u){if(_=_||b.name||"download","string"!=typeof b)navigator.msSaveOrOpenBlob(function E(b,_){return typeof _>"u"?_={autoBom:!1}:"object"!=typeof _&&(console.warn("Deprecated: Expected third argument to be a object"),_={autoBom:!_}),_.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(b.type)?new Blob(["\ufeff",b],{type:b.type}):b}(b,u),_);else if(G(b))R(b,_,u);else{var h=document.createElement("a");h.href=b,h.target="_blank",setTimeout(function(){B(h)})}}:function(b,_,u,h){if((h=h||open("","_blank"))&&(h.document.title=h.document.body.innerText="downloading..."),"string"==typeof b)return R(b,_,u);var w="application/octet-stream"===b.type,f=/constructor/i.test(e.HTMLElement)||e.safari,V=/CriOS\/[\d]+/.test(navigator.userAgent);if((V||w&&f||P)&&typeof FileReader<"u"){var O=new FileReader;O.onloadend=function(){var Y=O.result;Y=V?Y:Y.replace(/^data:[^;]*;/,"data:attachment/file;"),h?h.location.href=Y:location=Y,h=null}
1,O.readAsDataURL(b)}else{var y=e.URL||e.webkitURL,D=y.createObjectURL(b);h?h.location=D:location.href=D,h=null,setTimeout(function(){y.revokeObjectURL(D)},4e4)}});e.saveAs=x.saveAs=x,de.exports=x})?p.apply(K,[]):p)&&(de.exports=m)}}]);
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.