PageSourceSearch

https://app.follacapital.com/2274.f254f961e810852a.js

js follacapital.com collected 2026-10-04 21:22:52 UTC 42,221 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2274],{18216:(k,S,r)=>{r.d(S,{Y:()=>Bt});var h=r(10467),C=r(94092),t=r(54438),l=r(17782),b=r(66831),m=r(44818),f=r(81361),d=r(5430),P=r(44613),E=r(84579),w=r(60177),R=r(89417),M=r(99053),A=r(96702),O=r(11383),L=r(65293),N=r(69202);function B(a,s){if(1&a){const e=t.RV6();t.j41(0,"mat-form-field",8)(1,"mat-label"),t.EFF(2,"Select Account Lists"),t.k0s(),t.j41(3,"wb-account-list-select",9),t.mxI("ngModelChange",function(n){t.eBV(e);const i=t.XpG(2);return t.DH7(i.selectedLists,n)||(i.selectedLists=n),t.Njj(n)}),t.k0s()()}if(2&a){const e=t.XpG(2);t.R7$(3),t.R50("ngModel",e.selectedLists),t.Y8G("accountLists",e.accountLists)("multiple",!0)}}function X(a,s){if(1&a){const e=t.RV6();t.j41(0,"div",2)(1,"h3",3),t.EFF(2,"Distribute Investor Statements"),t.k0s(),t.j41(3,"h4"),t.EFF(4,"Select account lists to generate statements for"),t.k0s(),t.DNE(5,B,4,3,"mat-form-field",4),t.j41(6,"h4"),t.EFF(7,"Select the statement date range (optional)"),t.k0s(),t.j41(8,"wb-date-range",5),t.mxI("ngModelChange",function(n){t.eBV(e);const i=t.XpG();return t.DH7(i.statementDateRange,n)||(i.statementDateRange=n),t.Njj(n)}),t.k0s(),t.j41(9,"div",6)(10,"wb-button",7),t.bIt("click",function(){t.eBV(e);const n=t.XpG();return t.Njj(n.onShowUpload())}),t.EFF(11,"Next - Statement Details"),t.k0s()()()}if(2&a){const e=t.XpG();t.R7$(5),t.Y8G("ngIf",e.accountLists),t.R7$(3),t.R50("ngModel",e.statementDateRange),t.R7$(2),t.Y8G("disabled",0===e.selectedLists.length)}}function V(a,s){1&a&&(t.j41(0,"div",12)(1,"h4"),t.EFF(2,"loading accounts..."),t.k0s(),t.nrm(3,"mat-progress-bar",13),t.k0s())}function U(a,s){if(1&a){const e=t.RV6();t.j41(0,"wb-document-bulk-admin",14),t.bIt("save",function(){t.eBV(e);const n=t.XpG(2);return t.Njj(n.onPublish())})("cancel",function(){t.eBV(e);const n=t.XpG(2);return t.Njj(n.onCancel())}),t.k0s()}if(2&a){const e=t.XpG(2);t.Y8G("accounts",e.accounts)("document",e.document)("externalUrl",e.document.url)}}function Y(a,s){if(1&a&&t.DNE(0,V,4,0,"div",10)(1,U,1,3,"wb-document-bulk-admin",11),2&a){const e=t.XpG();t.Y8G("ngIf",!e.document),t.R7$(),t.Y8G("ngIf",e.document)}}let $=(()=>{class a extends C.$G{constructor(e,o,n,i,p,c,u){super(e),this.accountService=o,this.accountListService=n,this.accountModelService=i,this.accountFilterService=p,this.platformService=c,this.reportService=u,this.done=new t.bkB,this.cancel=new t.bkB,this.selectedLists=[]}ngOnInit(){var e=this;return(0,h.A)(function*(){const o=yield e.accountListService.getLists(e.accountModelService.selectedAccount.id);e.accountLists=f.y_.sort(o,"name")})()}onShowUpload(){var e=this;return(0,h.A)(function*(){const o=yield e.accountService.searchUserAccounts(null,1,1e5);e.accounts=[];const n={};for(let u,c=0;u=e.selectedLists[c];c++){const g=yield e.accountFilterService.run(u.filters,o.data.results,!0);for(let _,v=0;_=g[v];v++)n[_.id]||(e.accounts.push(_),n[_.id]=!0)}const p=(yield e.reportService.createDashboardVersion(e.dashboard.id)).data.id;e.document=new l.yoT(!1),e.document.isExternal=!0,e.document.url=`${e.platformService.getUrl()}/dashboard/${p}?a={{accountId}}`,e.statementDateRange&&(e.statementDateRange[0]&&(e.document.url+=`&sd=${f.y_.dbDate(e.statementDateRange[0])}`),e.statementDateRange[1]&&(e.document.url+=`&ed=${f.y_.dbDate(e.statementDateRange[1])}`)),console.log(e.accounts)})()}onPublish(){this.appService.notify(new b.L_(b.U7.Info("The dashboard has been published as a statement to investors on the specified lists"))),this.appService.notify(new m.YB(null))}onCancel(){this.appService.notify(new m.YB(null))}static{this.\u0275fac=function(o){return new(o||a)(t.rXU(d.d3),t.rXU(d.Di),t.rXU(d.LW),t.rXU(d.UF),t.rXU(d.dk),t.rXU(d.fP),t.rXU(d.GN))}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["wb-publish-dashboard"]],inputs:{dashboard:"dashboard"},outputs:{done:"done",cancel:"cancel"},features:[t.Vt3],decls:3,vars:2,consts:[["uploadTemplate",""],["class","select-list",4,"ngIf","ngIfElse"],[1,"select-list"],[1,"center"],["appearance","outline","class","full-width",4,"ngIf"],[3,"ngModelChange","ngModel"],[1,"buttons"],["type","submit",3,"click","disabled"],["appearance","outline",1,"full-width"],["name","accountLists",3,"ngModelChange","ngModel","accountLists","multiple"],["class","loading",4,"ngIf"],[3,"accounts","document","externalUrl","save","cancel",4,"ngIf"],[1,"loading"],["mode","indeterminate"],[3,"save","cancel","accounts","document","externalUrl"]],template:function(o,n){if(1&o&&t.DNE(0,X,12,3,"div",1)(1,Y,2,2,"ng-template",null,0,t.C5r),2&o){const i=t.sdS(2);t.Y8G("ngIf",!n.accounts)("ngIfElse",i)}},dependencies:[P.Ky,P.aw,E.oM,w.bT,R.BC,R.vS,M.rc,A.Q,O.V,L.x,N.C],styles:["[_ngcontent-%COMP%]:root{--brand-primary: #100001;--brand-secondary: #100006;--brand-alert: #100011;--brand-success: #100016;--brand-warn: #100021;--brand-shout: #100026;--border-default: #edeef0}html[_ngcontent-%COMP%]{font-size:62.5%}body[_ngcontent-%COMP%]{font-size:1.4rem}h1[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], h4[_ng
1content-%COMP%]   a[_ngcontent-%COMP%], h5[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-weight:inherit}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{line-height:1.1}h1[_ngcontent-%COMP%]{font-size:2.9rem;font-weight:500}h2[_ngcontent-%COMP%]{font-size:2.5rem;font-weight:500}h3[_ngcontent-%COMP%]{font-size:2.1rem;font-weight:500}h4[_ngcontent-%COMP%]{font-size:1.7rem;font-weight:400}h5[_ngcontent-%COMP%]{font-size:1.3rem;font-weight:400}h6[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:500;text-transform:uppercase}h3[_ngcontent-%COMP%]{margin-bottom:5rem}h4[_ngcontent-%COMP%]{margin-bottom:2rem}.buttons[_ngcontent-%COMP%]{margin-top:2rem;text-align:center}.loading[_ngcontent-%COMP%]{text-align:center;padding:5rem}"]})}}return a})();var y=r(58811),j=r(25599),z=r(97359),H=r(63020),K=r(20522),W=r(95006),J=r(70172),Q=r(17279),Z=r(224),q=r(88588),tt=r(83269),et=r(99213),nt=r(66737),ot=r(20962),x=r(46879),G=r(15311),at=r(91018),it=r(49750),st=r(72142);function rt(a,s){if(1&a){const e=t.RV6();t.j41(0,"mat-icon",32),t.bIt("click",function(){t.eBV(e);const n=t.XpG(4);return t.Njj(n.isEditingName=!0)}),t.EFF(1,"edit"),t.k0s()}}function ct(a,s){if(1&a&&(t.j41(0,"mat-icon",33),t.EFF(1,"settings"),t.k0s()),2&a){t.XpG();const e=t.sdS(6);t.Y8G("matMenuTriggerFor",e)}}function lt(a,s){if(1&a&&(t.j41(0,"mat-icon",34),t.EFF(1,"schedule"),t.k0s()),2&a){const e=t.XpG(4);t.Y8G("matTooltip",e.getTimeInfo())}}function dt(a,s){if(1&a&&(t.j41(0,"mat-option",40),t.EFF(1),t.k0s()),2&a){const e=s.$implicit;t.Y8G("value",e.id),t.R7$(),t.SpI(" ",e.name," ")}}function _t(a,s){if(1&a){const e=t.RV6();t.j41(0,"div",35)(1,"h4"),t.EFF(2,"Select Folder"),t.k0s(),t.j41(3,"div",24)(4,"mat-form-field",36)(5,"mat-label"),t.EFF(6,"Folder"),t.k0s(),t.j41(7,"mat-select",37),t.mxI("ngModelChange",function(n){t.eBV(e);const i=t.XpG(4);return t.DH7(i.dashboard.reportDashboardCategoryId,n)||(i.dashboard.reportDashboardCategoryId=n),t.Njj(n)}),t.j41(8,"mat-option",38),t.EFF(9,"(not set)"),t.k0s(),t.DNE(10,dt,2,2,"mat-option",39),t.k0s()()()()}if(2&a){const e=t.XpG(4);t.R7$(7),t.R50("ngModel",e.dashboard.reportDashboardCategoryId),t.R7$(),t.Y8G("value",null),t.R7$(2),t.Y8G("ngForOf",e.dashboardCategoriesForSelection)}}function pt(a,s){if(1&a&&(t.j41(0,"mat-option",40),t.EFF(1),t.k0s()),2&a){const e=s.$implicit;t.Y8G("value",e.symbol),t.R7$(),t.Lme(" ",e.vendor.name," (",e.name,") ")}}function gt(a,s){if(1&a){const e=t.RV6();t.j41(0,"mat-form-field",36)(1,"mat-label"),t.EFF(2,"Offer"),t.k0s(),t.j41(3,"mat-select",41),t.mxI("ngModelChange",function(n){t.eBV(e);const i=t.XpG(4);return t.DH7(i.dashboard.filters.asset.symbols,n)||(i.dashboard.filters.asset.symbols=n),t.Njj(n)}),t.bIt("selectionChange",function(){t.eBV(e);const n=t.XpG(4);return t.Njj(n.onFilterChange())}),t.DNE(4,pt,2,3,"mat-option",39),t.k0s()()}if(2&a){const e=t.XpG(4);t.R7$(3),t.R50("ngModel",e.dashboard.filters.asset.symbols),t.R7$(),t.Y8G("ngForOf",e.assets)}}function ht(a,s){if(1&a&&(t.j41(0,"mat-option",38),t.EFF(1),t.k0s()),2&a){const e=s.$implicit;t.Y8G("value",e._id),t.R7$(),t.SpI(" ",e.name," ")}}function mt(a,s){if(1&a){const e=t.RV6();t.j41(0,"div",24)(1,"mat-form-field",42)(2,"mat-label"),t.EFF(3,"Make this the Landing Page for only accounts on the selected lists..."),t.k0s(),t.j41(4,"mat-select",43),t.mxI("ngModelChange",function(n){t.eBV(e);const i=t.XpG(4);return t.DH7(i.dashboard.settings.landingPageListIds,n)||(i.dashboard.settings.landingPageListIds=n),t.Njj(n)}),t.DNE(5,ht,2,2,"mat-option",44),t.k0s()()()}if(2&a){const e=t.XpG(4);t.R7$(4),t.R50("ngModel",e.dashboard.settings.landingPageListIds),t.R7$(),t.Y8G("ngForOf",e.accountLists)}}function ut(a,s){if(1&a&&(t.j41(0,"mat-option",38),t.EFF(1),t.k0s()),2&a){const e=s.$implicit;t.Y8G("value",e._id),t.R7$(),t.SpI(" ",e.name," ")}}function ft(a,s){if(1&a){const e=t.RV6();t.j41(0,"div",24)(1,"mat-form-field",42)(2,"mat-label"),t.EFF(3,"Make this the Portfolio Page for only accounts on the selected lists..."),t.k0s(),t.j41(4,"mat-select",45),t.mxI("ngModelChange",function(n){t.eBV(e);const i=t.XpG(4);return t.DH7(i.dashboard.settings.portfolioListIds,n)||(i.dashboard.settings.portfolioListIds=n),t.Njj(n)}),t.DNE(5,ut,2,2,"mat-option",44),t.k0s()()()}if(2&a){const e=t.XpG(4);t.R7$(4),t.R50("ngModel",e.dashboard.settings.portfolioListIds),t.R7$(),t.Y8G("ngForOf",e.accountLists)}}function bt(a,s){if(1&a){const e=t.RV6();t.j41(0,"span"),t.EFF(1),t.DNE(2,rt,2,0,"mat-icon",18)(3,ct,2,1,"mat-icon",19)(4,lt,2,1,"mat-icon",20),t.j41(5,"mat-menu",21,1)(7,"div",22),t.bIt("click",function(n){return t.eBV(e),t.Njj(n.stopPropagation())}),t.DNE(8,_t,11,3,"div",23),t.j41(9,"h4"),t.EFF(10,"Date Range (applies to all included reports)"),t.k0s(),t.j41(11,"div",24)(12,"wb-date-range",25),t.mxI("ngModelChange",function(n){t.eBV(e);const i=t.XpG(3);return t.DH7(i.dashboard.dateRange,n)||(i.dashboard.dateRange=n),t.Njj(n)}),t.bIt("dateChange",function(){t.eBV(e);const n=t.XpG(3);return t.Njj(n.onFilterChange())}),t.k0s()(),t.j41(13,"button",26)(14,"mat-checkbox",27),t.mxI("ngModelChange",function(n){t.eBV(e);const i=t.XpG(3);return t.DH7(i.dashboard.settings.showDateRange,n)||(i.dashboard.settings.showDateRange=n),t.Njj(n)}),t.EFF(15,"Allow user to change the date"),t.k0s()(),t.j41(16,"h4"),t.EFF(17,"Filter Offers (applies to all included reports)"),t.k0s(),t.j41(18,"div",24),t.DNE(19,gt,5,2,"mat-form-field",28),t.k0s(),t.j41(20,"h4",29),t.EFF(21,"Page Settings"),t.k0s(),t.j41(22,"button",26)(23,"mat-checkbox",30),t.mxI("ngModelChange",function(n){t.eBV(e);const i=t.XpG(3);return t.DH7(i.dashboard.settings.isLandingPage,n)||(i.dashboard.settings.isLandingPage=n),t.Njj(n)}),t.bIt("change",function(){t.eBV(e);const n=t.XpG(3);return t.Njj(n.clearLandingPageLists())}),t.EFF(24,"Set as Landing Page"),t.k0s()(),t.DNE(25,mt,6,2,"div",31),t.j41(26,"button",26)(27,"mat-checkbox",30),t.mxI("ngModelChange",function(n){t.eBV(e);const i=t.XpG(3);return t.DH7(i.dashboard.settings.isPortfolio,n)||(i.dashboard.settings.isPortfolio=n),t.Njj(n)}),t.bIt("change",function(){t.eBV(e);const n=t.XpG(3);return t.Njj(n.clearPortfolioLists())}),t.EFF(28,"Set as Portfolio"),t.k0s()(),t.DNE(29,ft,6,2,"div",31),t.k0s()()()}if(2&a){const e=t.XpG(3);t.R7$(),t.SpI("",e.dashboard.name," "),t.R7$(),t.Y8G("ngIf",e.canUpdate),t.R7$(),t.Y8G("ngIf",e.canUpdate),t.R7$(),t.Y8G("ngIf",e.getTimeInfo()),t.R7$(),t.Y8G("overlapTrigger",!1),t.R7$(3),t.Y8G("ngIf",e.dashboardCategoriesForSelection&&e.dashboardCategoriesForSelection.length>0),t.R7$(4),t.R50("ngModel",e.dashboard.dateRange),t.R7$(2),t.R50("ngModel",e.dashboard.settings.showDateRange),t.R7$(5),t.Y8G("ngIf",e.assets),t.R7$(4),t.R50("ngModel",e.dashboard.settings.isLandingPage),t.R7$(2),t.Y8G("ngIf",e.dashboard.settings.isLandingPage&&e.accountLists),t.R7$(2),t.R50("ngModel",e.dashboard.settings.isPortfolio),t.R7$(2),t.Y8G("ngIf",e.dashboard.settings.isPortfolio&&e.accountLists)}}function vt(a,s){if(1&a){const e=t.RV6();t.j41(0,"input",46),t.mxI("ngModelChange",function(n){t.eBV(e);const i=t.XpG(3);return t.DH7(i.dashboard.name,n)||(i.dashboard.name=n),t.Njj(n)}),t.bIt("blur",function(){t.eBV(e);const n=t.XpG(3);return t.Njj(n.isEditingName=!1)}),t.k0s()}if(2&a){const e=t.XpG(3);t.R50("ngModel",e.dashboard.name),t.Y8G("focus",!0)}}function Ct(a,s){if(1&a){const e=t.RV6();t.j41(0,"wb-button",47),t.bIt("click",function(){t.eBV(e);const n=t.XpG(3);return t.Njj(n.confirmSave())}),t.EFF(1,"Save Dashboard"),t.k0s()}}function Pt(a,s){if(1&a&&(t.j41(0,"mat-option",38),t.EFF(1),t.k0s()),2&a){const e=s.$implicit;t.Y8G("value",e.id),t.R7$(),t.JRh(e.name)}}function Mt(a,s){if(1&a){const e=t.RV6();t.qex(0),t.j41(1,"wb-button",48,2),t.EFF(3,"Preview as..."),t.k0s(),t.j41(4,"mat-menu",21,3)(6,"div",49),t.bIt("click",function(n){return t.eBV(e),t.Njj(n.stopPropagation())}),t.j41(7,"div",50)(8,"mat-form-field",51)(9,"mat-label"),t.EFF(10,"Search for an account..."),t.k0s(),t.j41(11,"input",52,4),t.mxI("ngModelChange",function(n){t.eBV(e);const i=t.XpG(3);return t.DH7(i.previewAccountId,n)||(i.previewAccountId=n),t.Njj(n)}),t.bIt("blur",function(){t.eBV(e);const n=t.XpG(3);return t.Njj(n.onAccountAutocompleteBlur())}),t.k0s(),t.EFF(13),t.j41(14,"mat-autocomplete",53,5),t.bIt("optionSelected",function(){t.eBV(e);const n=t.XpG(3);return t.Njj(n.onAccountAutocompleteBlur())}),t.DNE(16,Pt,2,2,"mat-option",44),t.nI1(17,"async"),t.k0s()(),t.j41(18,"mat-icon",54),t.EFF(19,"search"),t.k0s()()()(),t.bVm()}if(2&a){const e=t.sdS(2),o=t.sdS(5),n=t.sdS(12),i=t.sdS(15),p=t.XpG(3);t.R7$(),t.Y8G("matMenuTriggerFor",o),t.R7$(3),t.Y8G("overlapTrigger",!1),t.R7$(7),t.R50("ngModel",p.previewAccountId),t.Y8G("matAutocomplete",i)("focus",e.menuOpen),t.R7$(2),t.SpI(" ",p.setupAutocomplete(n)," "),t.R7$(),t.Y8G("displayWith",p.autoCompleteAccountToName()),t.R7$(2),t.Y8G("ngForOf",t.bMT(17,8,p.filteredAccounts))}}function Rt(a,s){if(1&a){const e=t.RV6();t.qex(0),t.j41(1,"wb-button",55),t.bIt("click",function(){t.eBV(e);const n=t.XpG(3);return t.Njj(n.onExitPreviewAs())}),t.EFF(2),t.k0s(),t.j41(3,"wb-button",56),t.bIt("click",function(){t.eBV(e);const n=t.XpG(3);return t.Njj(n.onExportPDF({fileType:"pdf"}))}),t.EFF(4,"Export as PDF"),t.k0s(),t.bVm()}if(2&a){const e=t.XpG(3);t.R7$(2),t.SpI("Previewing as ",e.previewAccount.name,"")}}function Dt(a,s){if(1&a){const e=t.RV6();t.j41(0,"wb-button",57),t.bIt("click",function(){t.eBV(e);const n=t.XpG(3);return t.Njj(n.publishDashboard())}),t.EFF(1,"Distribute Statements"),t.k0s()}}function It(a,s){if(1&a&&(t.j41(0,"div",63),t.nrm(1,"wb-content-manager",64),t.k0s()),2&a){const e=t.XpG(5);t.R7$(),t.Y8G("includedTypes",e.contentTypes)("pageContents",e.pageContents)("position",-110)}}function wt(a,s){if(1&a&&t.nrm(0,"wb-content-renderer",65),2&a){const e=s.$implicit,o=s.index,n=t.XpG(5);t.Y8G("index",o)("includedTypes",n.contentTypes)("content",e)("pageContents",n.pageContents)("portfolioStatement",n.enablePreviewAs?n.previewPortfolioStatement:n.portfolioStatement)("account",n.enablePreviewAs&&n.previewAccount)("user",n.enablePreviewAs&&n.previewUser)("accountIds",n.enablePreviewAs?n.previewAccountIds:n.accountIds)("dateRange",n.dashboard.dateRange)("reportFilters",n.dashboard.filters)("manageMode",n.canU
1pdate)("reportCache",n.reportCache)}}function St(a,s){if(1&a&&(t.j41(0,"div",60),t.DNE(1,It,2,3,"div",61)(2,wt,1,12,"wb-content-renderer",62),t.k0s()),2&a){const e=t.XpG(4);t.R7$(),t.Y8G("ngIf",e.canUpdate&&0===e.pageContents.length),t.R7$(),t.Y8G("ngForOf",e.pageContents)}}function yt(a,s){if(1&a){const e=t.RV6();t.j41(0,"mat-card",66)(1,"div",67)(2,"wb-button",47),t.bIt("click",function(){t.eBV(e);const n=t.XpG(4);return t.Njj(n.confirmSave())}),t.EFF(3,"Save Dashboard"),t.k0s()()()}}function xt(a,s){if(1&a&&(t.qex(0),t.DNE(1,St,3,2,"div",58)(2,yt,4,0,"mat-card",59),t.bVm()),2&a){const e=t.XpG(3);t.R7$(),t.Y8G("ngIf",!e.refreshing),t.R7$(),t.Y8G("ngIf",e.canUpdate&&e.pageContents.length>0)}}function Tt(a,s){if(1&a){const e=t.RV6();t.j41(0,"div",8)(1,"div",9)(2,"div",10),t.bIt("click",function(){t.eBV(e);const n=t.XpG(2);return t.Njj(n.onBack())}),t.j41(3,"mat-icon"),t.EFF(4,"arrow_back"),t.k0s()(),t.j41(5,"h3",11),t.DNE(6,bt,30,13,"span",12)(7,vt,1,2,"input",13),t.k0s(),t.j41(8,"div",14),t.DNE(9,Ct,2,0,"wb-button",15)(10,Mt,20,10,"ng-container",12)(11,Rt,5,1,"ng-container",12)(12,Dt,2,0,"wb-button",16),t.k0s()(),t.DNE(13,xt,3,2,"ng-container",12),t.nrm(14,"div",17),t.k0s()}if(2&a){const e=t.XpG(2);t.R7$(6),t.Y8G("ngIf",!e.isEditingName),t.R7$(),t.Y8G("ngIf",e.isEditingName),t.R7$(2),t.Y8G("ngIf",e.canUpdate),t.R7$(),t.Y8G("ngIf",!e.previewAccount),t.R7$(),t.Y8G("ngIf",!!e.previewAccount),t.R7$(),t.Y8G("ngIf",e.canUpdate),t.R7$(),t.Y8G("ngIf",e.pageContents)}}function Ft(a,s){if(1&a){const e=t.RV6();t.j41(0,"div",72)(1,"wb-button",56),t.bIt("click",function(){t.eBV(e);const n=t.XpG(4);return t.Njj(n.onExportPDF({fileType:"pdf"}))}),t.EFF(2,"Export as PDF"),t.k0s()()}}function At(a,s){if(1&a&&(t.j41(0,"mat-option",38),t.EFF(1),t.k0s()),2&a){const e=s.$implicit;t.Y8G("value",e.id),t.R7$(),t.JRh(e.name)}}function Ot(a,s){if(1&a){const e=t.RV6();t.j41(0,"div",72)(1,"mat-form-field",42)(2,"mat-label"),t.EFF(3,"Accounts"),t.k0s(),t.j41(4,"mat-select",73),t.mxI("ngModelChange",function(n){t.eBV(e);const i=t.XpG(4);return t.DH7(i.previewAccountIds,n)||(i.previewAccountIds=n),t.Njj(n)}),t.bIt("selectionChange",function(){t.eBV(e);const n=t.XpG(4);return t.Njj(n.onSelectedAccountsChange())}),t.j41(5,"div",74)(6,"a",75),t.bIt("click",function(){t.eBV(e);const n=t.XpG(4);return t.Njj(n.onSelectAllAccounts())}),t.EFF(7),t.k0s()(),t.DNE(8,At,2,2,"mat-option",44),t.k0s()()()}if(2&a){const e=t.XpG(4);t.R7$(4),t.R50("ngModel",e.previewAccountIds),t.Y8G("multiple",!0),t.R7$(3),t.SpI("",e.previewAccountIds.length===e.accountsForSelection.length?"Deselect":"Select All"," Accounts"),t.R7$(),t.Y8G("ngForOf",e.accountsForSelection)}}function jt(a,s){if(1&a){const e=t.RV6();t.j41(0,"div",76)(1,"wb-date-range",25),t.mxI("ngModelChange",function(n){t.eBV(e);const i=t.XpG(4);return t.DH7(i.dashboard.dateRange,n)||(i.dashboard.dateRange=n),t.Njj(n)}),t.bIt("dateChange",function(){t.eBV(e);const n=t.XpG(4);return t.Njj(n.onFilterChange())}),t.k0s()()}if(2&a){const e=t.XpG(4);t.R7$(),t.R50("ngModel",e.dashboard.dateRange)}}function Gt(a,s){if(1&a&&(t.j41(0,"div",69),t.DNE(1,Ft,3,0,"div",70)(2,Ot,9,4,"div",70)(3,jt,2,1,"div",71),t.k0s()),2&a){const e=t.XpG(3);t.R7$(),t.Y8G("ngIf",!e.disableExport),t.R7$(),t.Y8G("ngIf",(null==e.accountsForSelection?null:e.accountsForSelection.length)>1),t.R7$(),t.Y8G("ngIf",e.dashboard.settings.showDateRange)}}function kt(a,s){if(1&a&&t.nrm(0,"wb-content-renderer",78),2&a){const e=s.$implicit,o=s.index,n=t.XpG(4);t.Y8G("index",o)("includedTypes",n.contentTypes)("content",e)("pageContents",n.pageContents)("portfolioStatement",n.previewPortfolioStatement)("account",n.previewAccount)("user",n.previewUser)("accountIds",n.previewAccountIds)("dateRange",n.dashboard.dateRange)("reportFilters",n.dashboard.filters)("reportCache",n.reportCache)}}function Et(a,s){if(1&a&&(t.qex(0),t.DNE(1,kt,1,11,"wb-content-renderer",77),t.bVm()),2&a){const e=t.XpG(3);t.R7$(),t.Y8G("ngForOf",e.pageContents)}}function Lt(a,s){if(1&a&&(t.DNE(0,Gt,4,3,"div",68)(1,Et,2,1,"ng-container",12),t.nrm(2,"div",17)),2&a){const e=t.XpG(2);t.Y8G("ngIf",!e.isPDF&&(!e.disableExport||e.dashboard.settings.showDateRange||(null==e.accountsForSelection?null:e.accountsForSelection.length)>1)),t.R7$(),t.Y8G("ngIf",!e.refreshing)}}function Nt(a,s){if(1&a&&t.DNE(0,Tt,15,7,"div",7)(1,Lt,3,2,"ng-template",null,0,t.C5r),2&a){const e=t.sdS(2),o=t.XpG();t.Y8G("ngIf",!o.preview)("ngIfElse",e)}}let Bt=(()=>{class a extends C.$G{constructor(e,o,n,i,p,c,u,g,v,_,T,F,D,I,Xt){super(e),this.reportService=o,this.roleService=n,this.contentService=i,this.portfolioModelService=p,this.accountModelService=c,this.documentService=u,this.routerService=g,this.transactionService=v,this.accountService=_,this.userService=T,this.accountListService=F,this.assetModelService=D,this.reportBuilderService=I,this.reportDashboardCategoryService=Xt,this.dataSources={},this.reportCache={},this.contentTypes=[l.cME.Metric,l.cME.Report,l.cME.Text,l.cME.Image,l.cME.Video,l.cME.PDF,l.cME.DataTable,l.cME.HTML,l.cME.PageBreak],this.subscribeEvent(m.S8,Vt=>{this.buildReportCache(this.pageContents)})}canDeactivate(){if(this.preview||!this.canUpdate)return{status:!0};const e=this.hash!==this.getHash(),o=this.pageContents&&this.pageContents.some(n=>typeof n.selected<"u");return{status:!e&&!o}}ngOnInit(){var e=this;return(0,h.A)(function*(){if(e.back=e.routerService.params("back"),setTimeout(()=>j.T.EnableOverflow=!0),e.isPDF=!!e.routerService.params("pdf"),!e.accountIds){const o=e.routerService.params("aids");o&&(e.accountIds=o.split(","))}e.previewAccountIds=e.accountIds,yield e.setPreviewAccount(),e.isAdmin=yield e.roleService.hasPrivilege(null,l.FCm.ViewPlatformAdmin),e.isAdminSupport=yield e.roleService.hasPrivilege(null,l.FCm.ViewPlatformAdminSupport),e.canUpdate=yield e.roleService.hasPrivilege(null,l.FCm.Upd
1ateReport),e.init(),e.initAccountSelection(),e.isAdmin&&!e.preview&&e.canUpdate&&e.initReportDashboardCategories()})()}init(){var e=this;return(0,h.A)(function*(){if(e.dashboard)e.setPage(e.dashboard);else{const o=e.routerService.params("id");if(o&&f.y_.isMongoId(o)){const n=yield e.reportService.getManageDashboard(o);n.success?e.setPage(n.data):(e.appService.notify(new b.L_(b.U7.Error(n.msg))),e.onBack())}else o&&e.appService.notify(new b.L_(b.U7.Error(`No dashboard "${o}" found`))),e.onBack()}})()}initDefaultPortfolio(){var e=this;return(0,h.A)(function*(){let o;if(e.accountIds)o=1===e.accountIds.length&&e.accountIds[0]===e.accountModelService.selectedAccount.id?yield e.getPortfolio(e.accountModelService.selectedAccount.id):yield e.portfolioModelService.getPortfolioForAccounts(e.accountIds,!0,e.getDateTime(0),e.getDateTime(1));else{if(!e.transactions){const n=yield e.roleService.hasPrivilege(null,l.FCm.ViewPlatformAdmin);e.transactions=n?(yield e.transactionService.getPagedTransactions(1,0)).data.results:(yield e.transactionService.getIssuerTransactions(e.accountModelService.selectedAccount.id)).data}o=yield e.getPortfolioFromTransactions(e.transactions)}e.portfolioStatement=e.previewPortfolioStatement=e.getStatementFromPortfolio(o)})()}initAccountLists(){var e=this;return(0,h.A)(function*(){if(!e.accountLists){const o=[];e.dashboard.settings.landingPageListIds&&e.dashboard.settings.landingPageListIds.length>0&&e.dashboard.settings.landingPageListIds.forEach(i=>{o.push(i)});const n=yield e.accountListService.getListsAndByIds(e.accountModelService.selectedAccount.id,o,!0);e.accountLists=f.y_.sort(n,"name")}})()}initAssets(){this.assets=this.assetModelService.platformAssets()}initAccountSelection(){this.enableAccountSelection&&this.subscribeToModel(this.accountModelService,e=>{this.accountsForSelection=e})}initReportDashboardCategories(){this.reportDashboardCategoryService.getAll().then(e=>{this.dashboardCategoriesForSelection=e.data})}onSelectedAccountsChange(){setTimeout(()=>{0===this.previewAccountIds.length&&(this.previewAccountIds=this.accountIds,this.appService.notify(new b.L_(b.U7.Info("At least one account must be selected")))),this.refreshPage()})}onSelectAllAccounts(){this.previewAccountIds=this.previewAccountIds.length===this.accountsForSelection.length?this.accountIds:this.accountsForSelection.map(e=>e.id),this.refreshPage()}setPage(e){var o=this;return(0,h.A)(function*(){o.dashboard=e,o.dashboard.dateRange||(o.dashboard.dateRange=[]),o.dashboard.filters||(o.dashboard.filters={account:{},asset:{},filters:[]}),o.setDashboardState();const n=yield o.contentService.getByIds(e.content,!o.preview&&o.canUpdate);o.initAccountLists(),o.initAssets(),yield o.initDefaultPortfolio(),yield o.buildReportCache(n),o.pageContents=n,o.initialized=!0})()}refreshPage(){var e=this;return(0,h.A)(function*(){const o=e.pageContents;e.pageContents=null,setTimeout((0,h.A)(function*(){yield e.buildReportCache(o),e.pageContents=o}))})()}clearLandingPageLists(){this.dashboard.settings.isLandingPage||delete this.dashboard.settings.landingPageListIds}clearPortfolioLists(){this.dashboard.settings.isPortfolio||delete this.dashboard.settings.portfolioListIds}getDateTime(e){return this.dashboard.dateRange&&this.dashboard.dateRange[e]?new Date(this.dashboard.dateRange[e]).getTime():null}confirmSave(){let e="";if((!this.compareSetting("landingPageListIds")||!this.compareSetting("isLandingPage"))&&this.dashboard.settings.isLandingPage){let o="all accounts";this.dashboard.settings.landingPageListIds&&this.dashboard.settings.landingPageListIds.length>0&&(o="Lists: "+this.accountLists.filter(n=>this.dashboard.settings.landingPageListIds.includes(n._id)).map(n=>n.name).join(", ")),e+=`You are electing to set this Dashboard as the Landing page for ${o}.`}if((!this.compareSetting("portfolioListIds")||!this.compareSetting("isPortfolio"))&&this.dashboard.settings.isPortfolio){let o="all accounts";this.dashboard.settings.portfolioListIds&&this.dashboard.settings.portfolioListIds.length>0&&(o="Lists: "+this.accountLists.filter(n=>this.dashboard.settings.portfolioListIds.includes(n._id)).map(n=>n.name).join(", ")),e&&(e+="<br>"),e+=`You are electing to set this Dashboard as the Portfolio for ${o}, when they select the Portfolio option in the navigation.`}
1e?this.appService.notify(new m.U2({title:"Dashboard change confirmation",confirmationType:C.vB.YesNo,text:e+"<br><br>Are you sure you would like to proceed?",eventHandlers:{submit:()=>{this.save()},cancel:()=>{this.dashboard.settings=JSON.parse(JSON.stringify(this.settingsSaved))}}})):this.save()}save(){this.dashboard.content=[];for(let o,e=0;o=this.pageContents[e];e++)this.dashboard.content.push(o._id.toString());return this.pageContents.forEach(e=>{e&&typeof e.selected<"u"&&this.contentService.update(e)}),this.reportService.updateDashboard(this.dashboard).then(e=>{e.success&&(this.dashboard.id||(this.dashboard.id=e.data.id),this.setDashboardState(),this.appService.notify(new b.L_(b.U7.Info("The dashboard has been updated successfully"))))})}compareSetting(e){return JSON.stringify(this.settingsSaved[e]||{})===JSON.stringify(this.dashboard.settings[e]||{})}setDashboardState(){this.hash=this.getHash(),this.settingsSaved=JSON.parse(JSON.stringify(this.dashboard.settings))}getHash(){return f.y_.hashCode(JSON.stringify(this.dashboard),200)}onExportPDF(e={}){e.accountIds=this.previewAccountIds,this.dashboard.dateRange&&this.dashboard.dateRange.length>0&&(e.dateRange=this.dashboard.dateRange),this.reportService.exportDashboardPDF(this.dashboard.id,e).then(o=>{if(o.success)if(o.data.generated){const n=o.data.data;n?(this.showModalAction("Your download has been generated. If your download did not start automatically, please click the link below.",n.url,n.filename),this.downloadDocumentViaUrl(n.url,n.filename),this.downloadUrl=n.url):this.showModalMessage("Unable to download file, please contact support")}else this.generating=!0,this.downloading=!1,this.appService.notify(new m.U2({title:"Download Request",text:"We are preparing your dashboard PDF export. We'll email you when this is complete.",eventHandlers:{submit:()=>{this.appService.notify(new m.YB(null))}},confirmationType:C.vB.Continue}));else this.showModalMessage("Unable to download file, please contact support")})}downloadDocumentViaUrl(e,o){this.documentService.downloadViaUrl(e,o).then(()=>{this.downloading=!1})}setPreviewAccount(){var e=this;return(0,h.A)(function*(){if(e.previewAccountIds&&1===e.previewAccountIds.length){e.previewAccount=yield e.accountService.getById(e.previewAccountIds[0]);const o=yield e.userService.getByAccountId(e.previewAccountIds[0]);e.previewUser=o.find(n=>n.username===e.previewAccount.profile.email),!e.preview&&e.previewAccount.defaultRoleType===l.Tz3.Issuer&&(e.previewAccountIds=null),e.previewUser||(e.previewUser=o[0])}})()}onExitPreviewAs(){this.enablePreviewAs=!1,this.previewAccountId=null,this.previewAccountIds=null,this.previewAccount=null,this.refreshPage()}onBack(){"wizard"===this.back?this.appService.navigate(y.qh.ReportsWizard,{step:"dashboard"}):this.back?this.appService.navigate(y.qh.Reports,{folder:this.back}):this.appService.navigate(y.qh.Reports)}
1showModalMessage(e,o=!1){this.appService.notify(new m.YB(null)),this.appService.notify(new m.U2({disableClose:o,title:"Download Status",text:e,confirmationType:C.vB.None}))}showModalAction(e,o,n,i=!1){this.appService.notify(new m.YB(null)),this.appService.notify(new m.U2({disableClose:i,title:"Download",text:e,model:{ctaButtonText:"Download"},eventHandlers:{ctaButton:()=>{this.downloadDocumentViaUrl(o,n)}},confirmationType:C.vB.None}))}setupAutocomplete(e){!this.filteredAccounts&&null!==this.filteredAccounts&&(this.filteredAccounts=null,this.accountService.searchAccounts(null,1,0,null,null,null,!0).then(o=>{this.accounts=o.data.results,this.accountMap=f.y_.arrayToHashTable(this.accounts,"id"),this.filteredAccounts=e.valueChanges.pipe((0,H.B)(50),(0,K.F)(),(0,W.T)(n=>this.filterAccounts(n,this.accounts)))}))}filterAccounts(e,o){return e?o.filter(n=>n.name&&n.name.toLowerCase().indexOf(e.toLowerCase())>-1):o}onAccountAutocompleteBlur(){var e=this;!this.blurProcessing&&!this.enablePreviewAs&&(this.blurProcessing=!0,setTimeout((0,h.A)(function*(){e.buildPreviewPortfolioStatement
1()||(e.blurProcessing=!1)}),200))}buildPreviewPortfolioStatement(){const e=this.accountMap[this.previewAccountId];if(e){this.previewAccountIds=[this.previewAccountId];const o=e.defaultRoleType===l.Tz3.Issuer?this.getIssuerPortfolio(this.previewAccountId):this.getPortfolio(this.previewAccountId);return Promise.all([this.setPreviewAccount(),o]).then(n=>{this.previewPortfolioStatement=this.getStatementFromPortfolio(n[1]),this.filteredAccounts=void 0,this.enablePreviewAs=!0,this.blurProcessing=!1,this.refreshPage()}),!0}return!1}getPortfolio(e){return this.portfolioModelService.getPortfolio(e,!0,this.getDateTime(0),this.getDateTime(1))}getPortfolioFromTransactions(e){return this.portfolioModelService.getPortfolioFromTransactions(e,!0,this.getDateTime(0),this.getDateTime(1))}getIssuerPortfolio(e){return this.portfolioModelService.getIssuerPortfolio(e,!0,this.getDateTime(0),this.getDateTime(1))}getStatementFromPortfolio(e){return z.y.getStatementFromPortfolio(e,{asset:!0},this.getDateTime(0))}autoCompleteAccountToName(){return e=>e&&this.accountMap[e].name}publishDashboard(){this.appService.notify(new m.U2({component:$,model:{dashboard:this.dashboard},eventHandlers:{done:()=>{this.appService.notify(new m.YB(null))},cancel:()=>{this.appService.notify(new m.YB(null))}}}))}onFilterChange(){var e=this;return(0,h.A)(function*(){e.refreshing=!0,yield e.buildReportCache(e.pageContents),yield e.initDefaultPortfolio(),!e.preview&&e.previewAccountId&&e.buildPreviewPortfolioStatement
1(),setTimeout(()=>{e.refreshing=!1})})()}onClearDateRangeChange(){this.dashboard.dateRange=[],this.onFilterChange()}buildReportCache(e){var o=this;return(0,h.A)(function*(){if(o.dataSources={},o.reportCache)for(const p in o.reportCache)delete o.reportCache[p];const n=o.preview||o.enablePreviewAs?o.previewAccount:null,i=o.preview||o.enablePreviewAs?o.previewAccountIds:o.accountIds;for(let c,p=0;c=e[p];p++){let u,g;c.type===l.cME.Report&&c.blocks[0]&&(u=c.blocks[0].data[0]);const v=l.PyT[c.type];if(v&&v.settings)for(let _=0;_<v.settings.length;_++)switch(v.settings[_].type){case l.Bdy.Report:u=c.settings&&c.settings[_];break;case l.Bdy.DateRange:g=c.settings&&c.settings[_]}if(yield o.cacheReportHelper(u,{account:n,accountIds:i},g),c.blocks[0])if(c.type===l.cME.DataTable){const _=c.blocks[0].data;if(_[0][0]&&_[0][1]){const T=parseInt(_[0][0]),F=parseInt(_[0][1]);for(let D=0;D<T;D++)for(let I=0;I<F;I++)yield o.cacheContentSpecificReport(_[D+2][I+1],n,i,g)}}else if(c.type===l.cME.Metric)for(let _=0;_<c.blocks.length;_++)yield o.cacheContentSpecificReport(c.blocks[_].data[2],n,i,g);else c.type===l.cME.HTML&&(yield o.cacheContentSpecificReport(c.blocks[0].data[0],n,i,g))}})()}cacheContentSpecificReport(e,o,n,i){var p=this;return(0,h.A)(function*(){const c=d.ou.getDynamicKeyParts(e);for(let g,u=0;g=c[u];u++)g.parts[1]&&f.y_.isMongoId(g.parts[1])&&(g.parts[2]&&(i=d.GN.parseDateRange(g.parts[2])),yield p.cacheReportHelper(g.parts[1],{account:o,accountIds:n},i))})()}cacheReportHelper(e,o,n){var i=this;return(0,h.A)(function*(){e&&(yield i.cacheReport(e,o,n))})()}cacheReport(e,o,n){var i=this;return(0,h.A)(function*(){(!n||0===n.length)&&(n=i.dashboard.dateRange);const p=d.GN.getReportCacheKey(e,n);if(!i.reportCache[p]){const c=yield i.reportService.getById(e);if(c.success){const u=c.data,g=yield i.reportBuilderService.build(u,o.accountIds,{isAdmin:i.isAdmin,isAdminSupport:i.isAdminSupport},!0,n,i.dashboard.filters,o.account,i.dataSources[u.type||l.nIO.Transaction]);i.reportCache[p]=g,i.dataSources[u.type||l.nIO.Transaction]=g.dataSources}}})()}getTimeInfo(){return f.y_.dynamicProperty(this.dashboard,"time-stamp",()=>{const e=new Date(this.dashboard._tsu||this.dashboard._ts);return f.y_.isDateValid(e)?this.dashboard.user?`Last Modified: ${f.y_.formatDate(e,f.y_.DateFormat.dateTime)} \nBy: ${this.dashboard.user}`:`Last Modified: ${f.y_.formatDate(e,f.y_.DateFormat.dateTime)}`:"invalid date"})}ngOnDestroy(){setTimeout(()=>j.T.EnableOverflow=!1)}static{this.\u0275fac=function(o){return new(o||a)(t.rXU(d.d3),t.rXU(d.GN),t.rXU(d.WK),t.rXU(d.fH),t.rXU(d.lv),t.rXU(d.UF),t.rXU(d.DK),t.rXU(d.HM),t.rXU(d.kK),t.rXU(d.Di),t.rXU(d.DL),t.rXU(d.LW),t.rXU(d.RH),t.rXU(d.hQ),t.rXU(J.Y))}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["wb-report-dashboard"]],hostBindings:function(o,n){1&o&&t.bIt("beforeunload",function(){return n.canDeactivate()},!1,t.tSv)},inputs:{dashboard:"dashboard",accountIds:"accountIds",enableAccountSelection:"enableAccountSelection",preview:"preview",disableExport:"disableExport"},features:[t.Vt3],decls:2,vars:1,consts:[["previewPage",""],["settingsMenu","matMenu"],["selectPreviewAcctTrigger","matMenuTrigger"],["selectPreviewAcctMenu","matMenu"],["autoCompleteInput","ngModel"],["accountAutocomplete","matAutocomplete"],[3,"initialized"],["class","custom-pages",4,"ngIf","ngIfElse"],[1,"custom-pages"],[1,"controls"],[1,"back-icon",3,"click"],[1,"report-name"],[4,"ngIf"],["type","text","name","dashboardName",3,"ngModel","focus","ngModelChange","blur",4,"ngIf"],[1,"right"],["size","small",3,"click",4,"ngIf"],["type","submit","size","small","iconRight","upload_file","matTooltip","Choose investors to distribute statements to",3,"click",4,"ngIf"],[1,"dashboard-html-to-pdf-selector"],["class","hover",3,"click",4,"ngIf"],["class","hover",3,"matMenuTriggerFor",4,"ngIf"],["class","hover","matTooltipClass","tooltip-multiline",3,"matTooltip",4,"ngIf"],[3,"overlapTrigger"],[1,"settings-menu",3,"click"],["class","mgn b2",4,"ngIf"],[1,"form-field-wrapper"],[3,"ngModelChange","dateChange","ngModel"],["mat-menu-item",""],[3,"ngModelChange","ngModel"],["appearance","outline","size","small","class","full-width",4,"ngIf"],[1,"heading2"],[3,"ngModelChange","change","ngModel"],["class","form-field-wrapper",4,"ngIf"],[1,"hover",3,"click"],[1,"hover",3,"matMenuTriggerFor"],["matTooltipClass","tooltip-multiline",1,"hover",3,"matTooltip"],[1,"mgn","b2"],["appearance","outline","size","small",1,"full-width"],["name","reportDashboardCategoryId",3,"ngModelChange","ngModel"],[3,"value"],["class","wrap",3,"value",4,"ngFor","ngForOf"],[1,"wrap",3,"value"],["name","selectAssets","multiple","",3,"ngModelChange","selectionChange","ngModel"],["appearance","outline","size","small"],["name","landingPageListIds","multiple","",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["name","portfolioListIds","multiple","",3,"ngModelChange","ngModel"],["type","text","name","dashboardName",3,"ngModelChange","blur","ngModel","focus"],["size","small",3,"click"],["type","cancel","size","small",3,"matMenuTriggerFor"],[1,"preview-acct-menu",3,"click"],[1,"search-container"],["appearance","outline"],["autocomplete","off","matInput","","name","accountAutocomplete",3,"ngModelChange","blur","ngModel","matAutocomplete","focus"],["autocomplete","",3,"optionSelected","displayWith"],[1,"hover","search-icon"],["type","confirm","size","small","iconRight","close","matTooltip","exit preview",3,"click"],["type","submit","size","small",3,"click"],["type","submit","size","small","iconRight","upload_file","matTooltip","Choose investors to distribute statements to",3,"click"],["class","builder",4,"ngIf"],["class","save-bar",4,"ngIf"],[1,"builder"],["class","no-content",4,"ngIf"],[3,"index","includedTypes","content","pageContents","portfolioStatement","account","user","accountIds","dateRange","reportFilters","manageMode","reportCache",4,"ngFor","ngForOf"],[1,"no-content"],[3,"includedTypes","pageContents","position"],[3,"index","includedTypes","content","pageContents","portfolioStatement","account","user","accountIds","dateRange","reportFilters","manageMode","reportCache"],[1,"save-bar"],[1,"center"],["class","controls preview",4,"ngIf"],[1,"controls","preview"],["class","right mgn l1",4,"ngIf"],["class","right mgn l1 date-range-control",4,"ngIf"],[1,"right","mgn","l1"],["name","selectedAccountIds",3,"ngModelChange","selectionChange","ngModel","multiple"],[1,"select-all"],["href","javascript:void(0)",3,"click"],[1,"right","mgn","l1","date-range-control"],[3,"index","includedTypes","content","pageContents","portfolioStatement","account","user","accountIds","dateRange","reportFilters","reportCache",4,"ngFor","ngForOf"],[3,"index","includedTypes","content","pageContents","portfolioStatement","account","user","accountIds","dateRange","reportFilters","reportCache"]],template:function(o,n){1&o&&(t.j41(0,"wb-page",6),t.DNE(1,Nt,3,2,"ng-template"),t.k0s()),2&o&&t.Y8G("initialized",n.initialized)},dependencies:[Q.NZ,P.Ky,P.aw,Z.aL,q.cu,tt.d1,et.An,nt.PD,ot._m,x.pI,x.gy,x.fS,G.G7,G.cm,w.Sq,w.bT,R.me,R.BC,R.vS,M.cF,M.Mq,M.TX,M._k,M.rc,A.Q,at.H,O.V,it.Y,st.k,w.Jj],styles:['[_ngcontent-%COMP%]:root{--brand-primary: #100001;--brand-secondary: #100006;--brand-alert: #100011;--brand-success: #100016;--brand-warn: #100021;--brand-shout: #100026;--border-default: #edeef0}html[_ngcontent-%COMP%]{font-size:62.5%}body[_ngcontent-%COMP%]{font-size:1.4rem}h1[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], h4[_ng
1content-%COMP%]   a[_ngcontent-%COMP%], h5[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-weight:inherit}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{line-height:1.1}h1[_ngcontent-%COMP%]{font-size:2.9rem;font-weight:500}h2[_ngcontent-%COMP%]{font-size:2.5rem;font-weight:500}h3[_ngcontent-%COMP%]{font-size:2.1rem;font-weight:500}h4[_ngcontent-%COMP%]{font-size:1.7rem;font-weight:400}h5[_ngcontent-%COMP%]{font-size:1.3rem;font-weight:400}h6[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:500;text-transform:uppercase}.controls[_ngcontent-%COMP%]{zoom:1;margin-bottom:20px}.controls[_ngcontent-%COMP%]:before, .controls[_ngcontent-%COMP%]:after{display:table;content:"";line-height:0}.controls[_ngcontent-%COMP%]:after{clear:both}.controls.preview[_ngcontent-%COMP%]{margin-bottom:0;padding:0 4rem}.controls[_ngcontent-%COMP%]   .back-icon[_ngcontent-%COMP%], .controls[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{float:left}.controls[_ngcontent-%COMP%]   .back-icon[_ngcontent-%COMP%]{margin-right:30px;padding:8px 8px 2px;position:relative;top:5px;border:1px solid #BBC0CD;border-radius:4px;cursor:pointer}.controls[_ngcontent-%COMP%]   .back-icon[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:2.5rem}.controls[_ngcontent-%COMP%]   .back-icon[_ngcontent-%COMP%]:hover{border:1px solid #BBC0CD}.controls[_ngcontent-%COMP%]   .back-icon[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%]{color:#bbc0cd}.controls[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{position:relative;top:.8rem}.controls[_ngcontent-%COMP%]   .right.date-range-control[_ngcontent-%COMP%]{top:.7rem}.report-name[_ngcontent-%COMP%]{margin-bottom:0}.report-name[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{position:relative;top:3px;font-size:2.1rem;margin-right:1rem;color:#7b8292}.report-name[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{display:inline-block;width:250px}.custom-pages[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{position:relative;margin:7px 0 15px}.custom-pages[_ngcontent-%COMP%]   wb-button[_ngcontent-%COMP%]{margin:0 0 0 10px}.builder[_ngcontent-%COMP%]{padding:0 0 5rem;min-height:180px}wb-content-access-type[_ngcontent-%COMP%]{position:relative;top:-2px}.no-content[_ngcontent-%COMP%]{position:relative;margin-left:calc(50% - 22.5px);padding-top:90px}.preview-acct-menu[_ngcontent-%COMP%]{padding:1.5rem 1.5rem 0;width:300px}.preview-acct-menu[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:100%}.preview-acct-menu[_ngcontent-%COMP%]   .search-container[_ngcontent-%COMP%]{position:relative}.preview-acct-menu[_ngcontent-%COMP%]   .search-container[_ngcontent-%COMP%]   .search-icon[_ngcontent-%COMP%]{position:absolute;right:6px;top:18px;color:#bbc0cd}.save-bar[_ngcontent-%COMP%]{margin-bottom:200px}.settings-menu[_ngcontent-%COMP%]{width:50rem;padding:1rem 1rem 2rem}.settings-menu[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin:1rem 0 1rem 1.2rem;font-weight:300}.settings-menu[_ngcontent-%COMP%]   h4.heading2[_ngcontent-%COMP%]{margin:2.5rem 0 0rem 1.2rem}.settings-menu[_ngcontent-%COMP%]   .form-field-wrapper[_ngcontent-%COMP%]{padding:0 1.5rem}.settings-menu[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:100%}.select-all[_ngcontent-%COMP%]{padding:1rem;text-align:center}']})}}return a})()},67131:(k,S,r)=>{r.d(S,{O:()=>b});var h=r(19757),C=r(14684),t=r(5224),l=r(54438);let b=(()=>{class m{static{this.\u0275fac=function(P){return new(P||m)}}static{this.\u0275mod=l.$C({type:m})}static{this.\u0275inj=l.G2t({imports:[h.Gg,C.f,t.u]})}}return 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.