PageSourceSearch

https://www.brandywineglobal.com/accordion.2964342cde8580201c96.js

js brandywineglobal.com collected 2026-09-26 02:12:36 UTC 10,281 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgw_core_sites_app=self.webpackChunkgw_core_sites_app||[]).push([["accordion"],{16201:(ro,m,n)=>{n.r(m),n.d(m,{AccordionModule:()=>co});var d=n(54364),s=n(71556),l=n(3138),v=n(36239),_=n(3830),p=n(92612),g=n(26310),u=n(68411),f=n(22700),o=n(2316),A=n(28656),C=n(71570),h=n(27513),x=n(43021),T=n(30190),Z=n(44243),y=n(28161),S=n(90609),M=n(84610),J=n(59437),E=n(66237),N=n(19206);function k(t,i){if(1&t&&o.GkF(0,11),2&t){const e=o.oxw();o.Q6J("brManageContentButton",e.document)("relative",!1)}}function I(t,i){if(1&t&&(o.TgZ(0,"div"),o.TgZ(1,"div",15),o.TgZ(2,"eds-title",16),o._uU(3),o.qZA(),o.qZA(),o.qZA()),2&t){const e=o.oxw(2);o.xp6(2),o.Q6J("level",2)("size","h3")("theme",e.titleColor),o.xp6(1),o.Oqu(e.accordionDocument.title.title)}}function D(t,i){if(1&t&&(o.TgZ(0,"div"),o.TgZ(1,"div",15),o._UZ(2,"div",17),o.qZA(),o.qZA()),2&t){const e=o.oxw(2);o.xp6(2),o.Q6J("innerHTML",e.accordionDocument.summary.value,o.oJD)}}function B(t,i){if(1&t&&o._UZ(0,"ft-title-block",32),2&t){const e=o.oxw().$implicit;o.Q6J("content",e)}}function Q(t,i){if(1&t&&o._UZ(0,"ft-text-block",32),2&t){const e=o.oxw().$implicit;o.Q6J("content",e)}}function L(t,i){if(1&t&&(o._UZ(0,"div",22),o.ALo(1,"safeHtml")),2&t){const e=o.oxw().$implicit;o.Q6J("innerHTML",o.lcZ(1,1,null==e||null==e.contentFull?null:e.contentFull.value),o.oJD)}}function F(t,i){if(1&t&&o._UZ(0,"ft-one-col-block",33),2&t){const e=o.oxw().$implicit,c=o.oxw(4);o.Q6J("contentBlock",e)("page",c.page)}}function w(t,i){if(1&t&&o._UZ(0,"ft-two-col-block",33),2&t){const e=o.oxw().$implicit,c=o.oxw(4);o.Q6J("contentBlock",e)("page",c.page)}}function Y(t,i){if(1&t&&o._UZ(0,"ft-media-card-group",34),2&t){const e=o.oxw().$implicit,c=o.oxw(4);o.Q6J("contentBlock",e)("page",c.page)}}function O(t,i){if(1&t&&o._UZ(0,"ft-image-block",32),2&t){const e=o.oxw().$implicit;o.Q6J("content",e)}}function H(t,i){1&t&&(o.TgZ(0,"div",24),o.YNc(1,B,1,1,"ng-template",25),o.YNc(2,Q,1,1,"ng-template",26),o.YNc(3,L,2,3,"ng-template",27),o.YNc(4,F,1,2,"ng-template",28),o.YNc(5,w,1,2,"ng-template",29),o.YNc(6,Y,1,2,"ng-template",30),o.YNc(7,O,1,1,"ng-template",31),o.qZA()),2&t&&o.Q6J("ngSwitch",i.$implicit.contentType)}const U=function(t){return{index:t}};function b(t,i){if(1&t){const e=o.EpF();o.TgZ(0,"eds-accordion-item",21),o.NdJ("selected",function(r){return o.CHM(e),o.oxw(3).selected(r)}),o._UZ(1,"div",22),o.ALo(2,"safeHtml"),o.YNc(3,H,8,1,"div",23),o.qZA()}if(2&t){const e=i.$implicit,c=i.index;o.Q6J("accordionItemId",null==e?null:e.id)("title",e.title)("secondaryTitle",e.secondaryTitle)("context",o.VKq(8,U,c)),o.xp6(1),o.Q6J("innerHTML",o.lcZ(2,6,e.content.value),o.oJD),o.xp6(2),o.Q6J("ngForOf",e.accordionBlocks)}}function z(t,i){if(1&t&&o._uU(0),2&t){const e=o.oxw().$implicit;o.hij(" ",e.title," ")}}function P(t,i){1&t&&o.YNc(0,z,1,1,"ng-template")}function R(t,i){if(1&t&&(o.TgZ(0,"div",15),o.TgZ(1,"eds-accordion",18),o.YNc(2,b,4,10,"eds-accordion-item",19),o.qZA(),o.ynx(3),o.YNc(4,P,1,0,void 0,20),o.BQk(),o.qZA()),2&t){const e=o.oxw(2);o.xp6(2),o.Q6J("ngForOf",e.accordion),o.xp6(2),o.Q6J("ngForOf",e.accordion)}}function $(t,i){if(1&t&&(o.TgZ(0,"div"),o.TgZ(1,"div",12),o.YNc(2,I,4,4,"div",13),o.YNc(3,D,3,1,"div",13),o.YNc(4,R,5,2,"div",14),o.qZA(),o.qZA()),2&t){const e=o.oxw();o.Tol(e.container),o.xp6(1),o.Q6J("edsSpacing","auto"===e.marginBottom?"xl":e.marginBottom),o.xp6(1),o.Q6J("ngIf",null==e.accordionDocument.title?null:e.accordionDocument.title.title),o.xp6(1),o.Q6J("ngIf",null==e.accordionDocument.summary?null:e.accordionDocument.summary.value),o.xp6(1),o.Q6J("ngIf",e.accordion)}}function V(t,i){1&t&&(o.TgZ(0,"div",35),o.TgZ(1,"div",36),o.TgZ(2,"div",37),o._uU(3," Click to configure "),o.TgZ(4,"strong"),o._uU(5,"Accordion"),o.qZA(),o.qZA(),o.qZA(),o.qZA())}const j=function(t){return{"has-edit-button":t}},G=u.Y.getLogger("AccordionComponent"),q=new Set(["ESNJD-EN","ESNJD-ENTEN","ESNJA-EN","ESNJA-ENTEN"]);let K=(()=>{class t extends p.N{constructor(e,c,r,a,io,lo){super(),this.documentRef=e,this.modalService=c,this.segmentService=r,this.sanitizer=a,this.translate=io,this.viewModeService=lo,this.educationSavingsLinkUrl="",this.electronicDeliveryAgreementModalId="electronic-delivery-agreement-modal-"+t.modalIndex++,this.isEditMode=this.viewModeService.isEditMode(),this.electronicDeliveryAgreementModalConfig={modalId:this.electronicDeliveryAgreementModalId,type:"simple",themeTitle:"dark",title:this.translate.instant("common.electronic-delivery-agreement-title")}}selected(e){G.debug(e)}onAccordionContentClick(e){if(!this.isEducationSavingsAllowedSegment())return;const c=(0,f.P6)(e);if(!(c instanceof HTMLAnchorElement))return;const r=this.getEducationSavingsCode(c);return this.isElectronicDeliveryAgreementCode(r)?(e.preventDefault(),this.educationSavingsLinkUrl=c.href,this.modalService.open(this.electronicDeliveryAgreementModalId,{...this.electronicDeliveryAgreementModalConfig}),!1):void 0}closeElectronicDeliveryAgreementModal(){this.modalService.close(this.electronicDeliveryAgreementModalId),this.educationSavingsLinkUrl=""}confirmEducationSavingsLink(){const e=this.educationSavingsLinkUrl;this.closeElectronicDeliveryAgreementModal(),e&&this.documentRef.defaultView?.open(e,"_blank","noopener")}getEducationSavingsCode(e){return/Code:\s*([A-Z0-9-]+)/i.exec(e.parentElement?.textContent??"")?.[1]??""}isElectronicDeliveryAgreementCode(e){const c=e.toUpperCase();return q.has(c)||c.startsWith("529-")}isEducationSavingsAllowedSegment(){return[g.VI.INVESTOR,g.VI.FINANCIAL_PROFESSIONALS].includes(this.segmentService.getCurrentSegmentId(!0))}get accordionDocument(){return this.document?.getData()}get accordion(){return this.accordionDocument.accordionItems}sanitizeContent(e){return this.sanitizer.bypassSecurityTrustHtml(e)}}return t.modalIndex=0,t.\u0275fac=function(e){return new(e||t)(o.Y36(d.K0),o.Y36(l.Z7U),o.Y36(A.B),o.Y36(C.H7),o.Y36(h.s),o.Y36(x.j))},t.\u0275cmp=o.Xpm({type:t,selectors:[["ft-accordion"]],hostBindings:function(e,c){1&e&&o.NdJ("click",function(a){return c.onAccordionContentClick(a)})},features:[o.qOj],decls:21,vars:27,consts:[["edsGrid","",3,"ngClass"],["documentTemplateQuery","new-Accordion-document","folderTemplateQuery","new-Accordion-folder","parameter","document","root","",3,"brManageContentButton","relative",4,"ngIf"],[3,"class",4,"ngIf"],["size","large",1,"electronic-delivery-agreement-modal",3,"modalId","config","showClose","isFixedHeight","closeAriaLabel","modalAriaLabel"],["modal
1-body",""],[3,"innerHTML"],["modal-footer",""],["edsFlexbox","","justifyContent","flex-start","gap","md"],["edsButton","secondary","size","normal",3,"click"],["edsButton","primary","size","normal",3,"click"],["class","no-document",4,"ngIf"],["documentTemplateQuery","new-Accordion-document","folderTemplateQuery","new-Accordion-folder","parameter","document","root","",3,"brManageContentButton","relative"],[3,"edsSpacing"],[4,"ngIf"],["edsRow","",4,"ngIf"],["edsRow",""],["edsCol","","edsSpacing","md","theme","dark",3,"level","size","theme"],["edsCol","","edsSpacing","md",3,"innerHTML"],["edsCol",""],[3,"accordionItemId","title","secondaryTitle","context","selected",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[3,"accordionItemId","title","secondaryTitle","context","selected"],["edsSpacing","lg",1,"ck-editor",3,"innerHTML"],[3,"ngSwitch",4,"ngFor","ngForOf"],[3,"ngSwitch"],["ngSwitchCase","ftcore:TitleBlock"],["ngSwitchCase","ftcore:ParagraphBlock"],["ngSwitchCase","ftcore:ParagraphBlockFullHtml"],["ngSwitchCase","ftcore:ContentBlock"],["ngSwitchCase","ftcore:TwoColumnBlock"],["ngSwitchCase","ftcore:CardGroupCompound"],["ngSwitchDefault",""],[3,"content"],["spacing","lg",3,"contentBlock","page"],[3,"contentBlock","page"],[1,"no-document"],["edsGrid","",1,"no-document__component"],[1,"no-document__overlay"]],template:function(e,c){1&e&&(o.TgZ(0,"div",0),o.YNc(1,k,1,2,"ng-container",1),o.YNc(2,$,5,7,"div",2),o.qZA(),o.TgZ(3,"eds-simple-modal",3),o.ALo(4,"translate"),o.ALo(5,"translate"),o.TgZ(6,"div",4),o._UZ(7,"div",5),o.ALo(8,"safeHtml"),o.ALo(9,"translate"),o.qZA(),o.TgZ(10,"div",6),o.TgZ(11,"div",7),o.TgZ(12,"button",8),o.NdJ("click",function(){return c.closeElectronicDeliveryAgreementModal()}),o.TgZ(13,"span"),o._uU(14),o.ALo(15,"translate"),o.qZA(),o.qZA(),o.TgZ(16,"button",9),o.NdJ("click",function(){return c.confirmEducationSavingsLink()}),o.TgZ(17,"span"),o._uU(18),o.ALo(19,"translate"),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.YNc(20,V,6,0,"div",10)),2&e&&(o.Q6J("ngClass",o.VKq(25,j,c.isEditMode)),o.xp6(1),o.Q6J("ngIf",c.isEditMode),o.xp6(1),o.Q6J("ngIf",c.accordionDocument),o.xp6(1),o.s9C("closeAriaLabel",o.lcZ(4,13,"common.modal-close")),o.s9C("modalAriaLabel",o.lcZ(5,15,"common.modal-open")),o.Q6J("modalId",c.electronicDeliveryAgreementModalId)("config",c.electronicDeliveryAgreementModalConfig)("showClose",!0)("isFixedHeight",!1),o.xp6(4),o.Q6J("innerHTML",o.lcZ(8,17,o.lcZ(9,19,"common.529-delivery-agreement-modal-content")),o.oJD),o.xp6(7),o.Oqu(o.lcZ(15,21,"common.cancel")),o.xp6(4),o.Oqu(o.lcZ(19,23,"common.i-agree")),o.xp6(2),o.Q6J("ngIf",!c.accordionDocument&&c.isEditMode))},directives:[l.ljP,d.mk,d.O5,l.FOF,l.Wxy,l.Hq3,s.bF,l.OPD,l.vZ,l.r3N,l.iKq,l.ZfJ,d.sg,l.n3F,d.RF,d.n9,d.ED,T.H,Z.I,y.g,S.J,M.P,J.c],pipes:[E.X,N.z],styles:["[_nghost-%COMP%]     .electronic-delivery-agreement-modal .modal-header{margin:0}[_nghost-%COMP%]     .electronic-delivery-agreement-modal .modal-header .title--h3{color:var(--ft-dee-blue-1);font-size:1.5rem;font-weight:700}[_nghost-%COMP%]     .electronic-delivery-agreement-modal .modal-body .mt-6{margin-top:1.5rem}[_nghost-%COMP%]     .electronic-delivery-agreement-modal .modal-body .my-6{margin:1.5rem 0}[_nghost-%COMP%]     .electronic-delivery-agreement-modal .modal-body a{text-decoration:underline}[_nghost-%COMP%]     .electronic-delivery-agreement-modal .modal-footer .ft__btn{font-size:1.125rem}"]}),t})();var W=n(75118),X=n(50751),oo=n(80205),eo=n(64245),to=n(62094),no=n(23547);let co=(()=>{class t{getComponentMapping(){return{Accordion:K}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[],imports:[[s.q8,l.hJ1,d.ez,l.fxp,l.WF4,l.zE6,l.QSA,l.cv2,_.a,v.D,l.idt,W.H,X.I,oo.R,eo.r,to.W,no.P]]}),t})()}}]);
2//# sourceMappingURL=accordion.2964342cde8580201c96.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.