1import{a as wt,b as $t}from"./chunk-TCXAVRUL.js";import{a as Tt}from"./chunk-G252JG3X.js";import{a as Dt,b as St,c as Et}from"./chunk-KYRAY72G.js";import"./chunk-5BTFXXZ4.js";import"./chunk-UVOISXYL.js";import{b as Mt,c as ot}from"./chunk-P4G4RKJ2.js";import{C as at,D as st,c as C}from"./chunk-5JQZRMSH.js";import{a as yt}from"./chunk-FE4VEIPO.js";import{a as Pt}from"./chunk-G4L6422A.js";import{a as xt}from"./chunk-7IMH65QU.js";import"./chunk-FMUXKIXI.js";import"./chunk-2ZQIA3PJ.js";import{a as rt}from"./chunk-E7WQRIV5.js";import{a as ht}from"./chunk-6HAJDAUZ.js";import{a as Ot}from"./chunk-JDMV6364.js";import"./chunk-BUNJP5WM.js";import{a as bt}from"./chunk-PUSDNRP7.js";import"./chunk-TQIB7QIJ.js";import"./chunk-SUB3KS63.js";import"./chunk-7UZYWCAJ.js";import{a as Ct}from"./chunk-TVM4DMS7.js";import"./chunk-PVEZIYBK.js";import"./chunk-NBB3QDVL.js";import"./chunk-NQP6NLRO.js";import"./chunk-J5OCQKO6.js";import{a as it}from"./chunk-MUUQWA7P.js";import{f as G}from"./chunk-Q2DUE664.js";import{a as vt}from"./chunk-OKHW6O2J.js";import"./chunk-VFSI6VRI.js";import{a as Q}from"./chunk-S7KY7Y34.js";import"./chunk-MXQQ2ORY.js";import{a as nt}from"./chunk-DNEQUWWY.js";import"./chunk-QWDEGNFF.js";import"./chunk-P3Z6P4AN.js";import"./chunk-WUYDVF7F.js";import{C as et,c as tt,n as _t,q as ft,z as ut}from"./chunk-DN7SIU4G.js";import{X as gt}from"./chunk-2XBWTCE3.js";import"./chunk-OIAVN6UV.js";import{a as H,c as U}from"./chunk-XCPDBUMD.js";import"./chunk-T3T5UOXA.js";import{a as B}from"./chunk-7VIUF3UL.js";import{c as R,d as E}from"./chunk-PE2FLZKN.js";import"./chunk-QXCG3FGE.js";import"./chunk-QUJFQN2Y.js";import"./chunk-ULE2FL23.js";import"./chunk-YEAWVXAD.js";import"./chunk-HU6LNNPY.js";import"./chunk-3YTHABFM.js";import"./chunk-5TKX4SVM.js";import"./chunk-3A2TMJPV.js";import"./chunk-3LNJCGZZ.js";import"./chunk-DLL6RROM.js";import"./chunk-IE2TSMH2.js";import"./chunk-IZ5HXGBU.js";import"./chunk-XKGOTXIP.js";import"./chunk-LXQM5PHA.js";import"./chunk-MTHZ7MWU.js";import"./chunk-WI5MSH4N.js";import"./chunk-HWIQLV6A.js";import"./chunk-CKP3SGE2.js";import"./chunk-BS77QHVE.js";import{R as mt}from"./chunk-TWUF36RF.js";import{i as K,o as O,s as dt}from"./chunk-24Q7XPDS.js";import{Ha as lt,Hb as j,Hc as pt,Ib as W,Jc as k,Nb as y,Ob as T,Oc as g,Pb as X,Pc as _,Rb as w,Sb as D,Tb as d,Ub as l,Vb as c,Vc as Z,Wb as p,cb as a,dc as A,fc as S,ga as m,hc as s,lc as N,ma as b,mc as L,na as M,nc as z,sa as F,tb as x,va as u,w as q,wc as h,xc as V,yb as J,yc as I,zb as $}from"./chunk-5E4AA67N.js";import"./chunk-5SYNY6CZ.js";import"./chunk-IJQQQGLX.js";import"./chunk-3JTVKAMP.js";import"./chunk-4HRFRK5F.js";import"./chunk-YUNOCBLG.js";import"./chunk-ZYW6V3OP.js";import"./chunk-YJ5TA4PT.js";import"./chunk-24KVY5OB.js";import"./chunk-2NIBOUWM.js";import"./chunk-I547WOKC.js";import"./chunk-NMFL75IO.js";import{f as Gt}from"./chunk-YDOXD4O3.js";var jt=Gt($t());var At=[["br-sp",41],["br-ma",0],["br-pa",27],["br-sc",0],["br-ba",0],["br-ap",0],["br-ms",0],["br-mg",0],["br-go",0],["br-rs",0],["br-to",0],["br-pi",0],["br-al",0],["br-pb",0],["br-ce",0],["br-se",0],["br-rr",0],["br-pe",0],["br-pr",0],["br-es",0],["br-rj",0],["br-rn",0],["br-am",0],["br-mt",31],["br-df",0],["br-ac",0],["br-ro",0]];var It=()=>[Mt];function Wt(t,n){if(t&1&&p(0,"highcharts-chart",2),t&2){let i=s();d("Highcharts",i.Highcharts)("options",i.sectorActivityPortfolioChart)}}function Yt(t,n){t&1&&(l(0,"div",3),p(1,"ion-spinner",4),c())}function Jt(t,n){if(t&1&&p(0,"highcharts-chart",5),t&2){let i=s();d("Highcharts",i.Highcharts)("constructorType",i.chartConstructor)("options",i.mapChart)}}var kt=(()=>{let n=class n{constructor(){this.investmentFundsService=m(nt),this.destroyRef=m(F),this.Highcharts=jt,this.chartConstructor="mapChart",this.mapChart=wt(At,C.displayName)}ngOnInit(){this.getCharts()}getCharts(){this.investmentFundsService.getPortfolio(C.name,C.assetsDetails,C.Charts).pipe(q(e=>e.data()),B(this.destroyRef)).subscribe({next:({sector_activity:e})=>this.sectorActivityPortfolioChartInit(e),error:e=>console.error("Error fetching portfolio data:",e)})}sectorActivityPortfolioChartInit(e){this.sectorActivityPortfolioChart=Tt(e)}};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=x({type:n,selectors:[["app-equitus-asset-details"]],decls:19,vars:8,consts:[["size-xl","6","size-md","12"],[1,"chart-container"],[2,"width","100%","height","350px","display","block",3,"Highcharts","options"],[1,"spinner-container"],["name","lines-sharp"],[3,"Highcharts","constructorType","options"]],template:function(o,r){o&1&&(l(0,"ion-grid")(1,"ion-row")(2,"ion-col",0)(3,"div",1)(4,"h3"),h(5),g(6,"translate"),c(),$(7,Wt,1,2)(8,Yt,2,0),j(9,7,It,null,8),c()(),l(11,"ion-col",0)(12,"div",1)(13,"h3"),h(14),g(15,"translate"),c(),$(16,Jt,1,3),j(17,16,It),c()()()()),o&2&&(a(5),V(_(6,4,"GLOBAL.SETORATUACAO")),a(4),W(r.sectorActivityPortfolioChart),a(5),V(_(15,6,"GLOBAL.ESTADO")),a(3),W(r.mapChart))},dependencies:[et,ft,ut,_t,O,ot,E,R],styles:['@charset "UTF-8";.chart-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--spacing-quark)}.chart-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:var(--font-family-inter-semibold);color:var(--color-carvao);font-size:var(--font-size-xxs);line-height:var(--line-height-md);border-bottom:1px solid var(--color-carvao);padding-bottom:var(--spacing-nano)}.spinner-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%;height:350px}@media only screen and (max-width:1199px)and (orientation:landscape),only screen and (max-width:1199px)and (max-height:999px){ion-grid[_ngcontent-%COMP%]{padding:0}ion-grid[_ngcontent-%COMP%] ion-row[_ngcontent-%COMP%]{padding:0;justify-content:center}ion-grid[_ngcontent-%COMP%] ion-row[_ngcontent-%COMP%] ion-col[_ngcontent-%COMP%]{padding:0}}']});let t=n;return t})();var Xt=()=>[import("./chunk-K7KFRK6O.js").then(t=>t.TranslateKeyPipe),R];function Zt(t,n){if(t&1&&(l(0,"th"),h(1),g(2,"toTranslateKey"),g(3,"translate"),c()),t&2){let i=n.$implicit;a(),V(_(3,3,_(2,1,i)))}}function Kt(t,n){if(t&1&&(l(0,"td"),h(1),g(2,"toTranslateKey"),g(3,"translate"),c()),t&2){let i=n.$implicit,e=s().$implicit;a(),V(_(3,3,_(2,1,e[i])))}}function te(t,n){if(t&1&&(l(0,"tr"),w(1,Kt,4,5,"td",null,X),c()),t&2){let i=s(2);a(),D(i.table().headers)}}function ee(t,n){if(t&1&&(l(0,"div",1)(1,"table")(2,"colgroup"),p(3,"col",2)(4,"col",3)(5,"col",4)(6,"col",4)(7,"col",4)(8,"col",4)(9,"col",4)(10,"col",4)(11,"col",4),c(),l(12,"thead")(13,"tr"),w(14,Zt,4,5,"th",null,X),c()(),l(16,"tbody"),w(17,te,3,0,"tr",null,X),c()()()),t&2){let i=s();a(14),D(i.table().headers),a(3),D(i.table().rows)}}
1function ne(t,n){t&1&&(l(0,"div",5),p(1,"ion-spinner",6),c())}var Rt=(()=>{let n=class n{constructor(){this.investmentFundsService=m(nt),this.destroyRef=m(F),this.table=u({headers:[],rows:[]})}ngOnInit(){this.getListAsset()}getListAsset(){this.investmentFundsService.getPortfolio(C.name,C.ListAssets,C.Table).pipe(q(e=>e.data()),B(this.destroyRef)).subscribe({next:e=>this.table.set(e),error:e=>console.error("Error fetching list assets data:",e)})}};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=x({type:n,selectors:[["app-equitus-list-assets"]],decls:5,vars:1,consts:[[1,"table-container"],[1,"table-content"],[2,"width","15%"],[2,"width","14%"],[2,"width","12%"],[1,"spinner-container"],["name","lines-sharp"]],template:function(o,r){o&1&&(l(0,"div",0),$(1,ee,19,0)(2,ne,2,0),j(3,1,Xt,null,2),c()),o&2&&(a(3),W(r.table()))},dependencies:[et,O,E],styles:['@charset "UTF-8";.table-container[_ngcontent-%COMP%]{width:100%}.table-container[_ngcontent-%COMP%] .table-content[_ngcontent-%COMP%]{width:100%;height:100%}.table-container[_ngcontent-%COMP%] .table-content[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;white-space:nowrap}.table-container[_ngcontent-%COMP%] .table-content[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-family:var(--font-family-inter-semibold);color:var(--color-carvao);font-size:var(--font-size-nano);line-height:var(--line-height-md);position:sticky;top:0;text-align:center;background:var(--color-nabo);border-bottom:1px solid var(--color-carvao);z-index:2}.table-container[_ngcontent-%COMP%] .table-content[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{position:sticky;left:0;top:0;text-align:left;z-index:3}.table-container[_ngcontent-%COMP%] .table-content[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(n+2){text-align:center;padding:var(--spacing-inset-quark)}.table-container[_ngcontent-%COMP%] .table-content[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{width:100%;text-align:left}.table-container[_ngcontent-%COMP%] .table-content[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n+2){background-color:var(--color-nabo-smoke)}.table-container[_ngcontent-%COMP%] .table-content[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child{border-bottom:1px solid var(--color-carvao)}.table-container[_ngcontent-%COMP%] .table-content[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-family:var(--font-family-0);color:var(--color-0);font-size:var(--font-size-nano);line-height:var(--line-height-md);width:12%;padding:var(--spacing-nano) 0}.table-container[_ngcontent-%COMP%] .table-content[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{font-family:var(--font-family-inter-regular);position:sticky;left:0;background:var(--color-nabo);padding-right:var(--spacing-xxs);z-index:1}.table-container[_ngcontent-%COMP%] .table-content[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child:nth-child(2n+2){background-color:var(--color-nabo-smoke)}.table-container[_ngcontent-%COMP%] .table-content[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(n+2){text-align:center;font-family:var(--font-family-inter-light)}.spinner-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%;height:350px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px;height:5px}[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--color-inhame);border-radius:var(--border-radius-pill)}@media only screen and (max-width:1199px)and (orientation:landscape),only screen and (max-width:1199px)and (max-height:999px){.table-container[_ngcontent-%COMP%]{height:auto;max-height:400px;overflow:auto}.table-container[_ngcontent-%COMP%] .table-content[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(n+2){padding:var(--spacing-inset-quark) var(--spacing-nano)}.table-container[_ngcontent-%COMP%] .table-content[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding-right:var(--spacing-nano)}}']}
1);let t=n;return t})();var qt=(()=>{let n=class n{ngOnInit(){console.log()}};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=x({type:n,selectors:[["app-equitus-portfolio-details"]],decls:0,vars:0,template:function(o,r){},dependencies:[O],encapsulation:2});let t=n;return t})();var oe=["pagePopover"],Ft=t=>({selected:t}),re=t=>({open:t}),Nt=(t,n)=>n.id;function ae(t,n){if(t&1){let i=A();l(0,"button",4),S("click",function(){let o=b(i).$implicit,r=s(2);return M(r.tabHandler(o))}),h(1),g(2,"toTranslateKey"),g(3,"translate"),c()}if(t&2){let i=n.$implicit;d("ngClass",k(6,Ft,i.isActive)),a(),I(" ",_(3,4,_(2,2,i.name))," ")}}function se(t,n){if(t&1&&(l(0,"div",2),w(1,ae,4,8,"button",3,Nt),c()),t&2){let i=s();a(),D(i.tabs())}}function ce(t,n){if(t&1){let i=A();l(0,"li",10),S("click",function(){let o=b(i).$implicit,r=s(3);return M(r.clickHandler(o))}),h(1),c()}if(t&2){let i=n.$implicit,e=s(3);d("id",i.id)("ngClass",k(3,Ft,e.selectedPage()===i.name)),a(),I(" ",i.name," ")}}function le(t,n){if(t&1&&(l(0,"div",8)(1,"ul"),w(2,ce,2,5,"li",9,Nt),c()()),t&2){let i=s(2);a(2),D(i.tabs())}}function pe(t,n){if(t&1){let i=A();l(0,"div",2)(1,"button",5),S("click",function(o){b(i);let r=s();return M(r.openPagePopover(o))}),h(2),g(3,"translate"),p(4,"app-icon",6),c(),l(5,"ion-popover",7,0),S("didDismiss",function(o){b(i);let r=s();return M(r.didDismiss(o))}),J(7,le,4,0,"ng-template"),c()()}if(t&2){let i=s();a(2),I(" ",_(3,3,i.selectedPage())," "),a(2),d("ngClass",k(5,re,i.isPagePopoverOpen())),a(),d("isOpen",i.isPagePopoverOpen())}}function de(t,n){t&1&&p(0,"app-equitus-list-assets")}function me(t,n){t&1&&p(0,"app-equitus-asset-details")}function ge(t,n){t&1&&p(0,"app-equitus-portfolio-details")}var Lt=(function(t){return t[t.ListAsset=0]="ListAsset",t[t.AssetDetails=1]="AssetDetails",t[t.PortfolioDetails=2]="PortfolioDetails",t})(Lt||{}),zt=(()=>{let n=class n{constructor(){this.analytics=m(H),this.screenSizeService=m(Q),this.isMobile=Z(()=>this.screenSizeService.isFundMobile()),this.isPagePopoverOpen=u(!1),this.showTab=u(0),this.selectedPage=u("GLOBAL.LISTADOSATIVOS"),this.GuideNumbering=Lt,this.tabs=u([{id:0,name:"GLOBAL.LISTADOSATIVOS",eventName:"portfolio_lista_ativos",isActive:!0},{id:1,name:"GLOBAL.DETALHAMENTODOSATIVOS",eventName:"portfolio_detalhamento_ativos",isActive:!1}])}tabHandler(e){this.showTab.set(e.id),this.selectTab(e.id),this.sendAnalytics(e.eventName)}
1selectTab(e){this.tabs().forEach(o=>{o.id===e?o.isActive=!0:o.isActive=!1})}clickHandler(e){this.showTab.set(e.id),this.selectedPage.set(e.name),this.isPagePopoverOpen.set(!1),this.sendAnalytics(e.eventName)}openPagePopover(e){this.pagePopover.event=e,this.isPagePopoverOpen.update(o=>!o)}didDismiss(e){e.detail.role==="backdrop"&&this.isPagePopoverOpen.set(!1)}sendAnalytics(e){this.analytics&&U(this.analytics,e)}};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=x({type:n,selectors:[["app-equitus-portfolio"]],viewQuery:function(o,r){if(o&1&&N(oe,5),o&2){let f;L(f=z())&&(r.pagePopover=f.first)}},decls:6,vars:2,consts:[["pagePopover",""],[1,"screen-container"],[1,"tabs"],[3,"ngClass"],[3,"click","ngClass"],[3,"click"],["type","arrowDown",3,"ngClass"],["side","bottom","alignment","center",1,"custom-page-popover",3,"didDismiss","isOpen"],[1,"pages"],[3,"id","ngClass"],[3,"click","id","ngClass"]],template:function(o,r){if(o&1&&(l(0,"div",1),y(1,se,3,0,"div",2)(2,pe,8,7,"div",2),y(3,de,1,0,"app-equitus-list-assets")(4,me,1,0,"app-equitus-asset-details")(5,ge,1,0,"app-equitus-portfolio-details"),c()),o&2){let f;a(),T(r.isMobile()?2:1),a(2),T((f=r.showTab())===r.GuideNumbering.ListAsset?3:f===r.GuideNumbering.AssetDetails?4:f===r.GuideNumbering.PortfolioDetails?5:-1)}},dependencies:[tt,O,K,ot,kt,Rt,qt,it,E,ht,R],styles:['@charset "UTF-8";.screen-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--spacing-xxxs);width:100%;max-width:var(--ion-grid-width-xl)}.screen-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-xxxs);width:100%;padding-bottom:var(--spacing-xxxs);border-bottom:1px solid var(--color-carvao)}.screen-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-family:var(--font-family-inter-regular);color:var(--color-carvao);font-size:var(--font-size-xxxs);line-height:var(--line-height-md);border:1px solid var(--color-inhame-dark);border-radius:var(--border-radius-pill);padding:var(--spacing-quark) var(--spacing-xxxs);background:transparent;transition:.3s ease-in-out}.screen-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:var(--color-topazio);color:var(--color-nabo);border-color:transparent}.screen-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:is(.selected){background:var(--color-topazio);color:var(--color-nabo);border-color:transparent}.pages[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--spacing-xxxs);width:100%;margin:0;padding:var(--spacing-xxs)}.pages[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-family:var(--font-family-inter-regular);color:var(--color-carvao);font-size:var(--font-size-xxs);line-height:var(--line-height-md);width:100%;list-style:none}.pages[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:is(.selected){font-family:var(--font-family-inter-semibold)}@media only screen and (max-width:1199px)and (orientation:landscape),only screen and (max-width:1199px)and (max-height:999px){.screen-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-xxxs);white-space:nowrap;cursor:pointer}.screen-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:var(--color-nabo)!important;color:var(--color-carvao)!important;border:1px solid var(--color-inhame-dark)!important}.screen-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] app-icon[_ngcontent-%COMP%]{width:var(--spacing-xxxs);height:var(--spacing-xxxs);transition:transform .5s ease-out}.screen-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] app-icon[_ngcontent-%COMP%]:is(.open){transform:rotate(180deg)}.screen-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] app-icon[_ngcontent-%COMP%]:is(.close){transform:rotate(0)}}']});let t=n;return t})();var _e=["pagePopover"],Vt=t=>({selected:t}),fe=t=>({open:t}),Bt=(t,n)=>n.id;function ue(t,n){if(t&1){let i=A();l(0,"button",6),S("click",function(){let o=b(i).$implicit,r=s(2);return M(r.tabHandler(o))}),h(1),g(2,"translate"),c()}if(t&2){let i=n.$implicit;
1d("ngClass",k(4,Vt,i.isActive)),a(),I(" ",_(2,2,i.name)," ")}}function Ce(t,n){if(t&1&&(l(0,"div",2),w(1,ue,3,6,"button",5,Bt),c()),t&2){let i=s();a(),D(i.tabs())}}function he(t,n){if(t&1){let i=A();l(0,"li",12),S("click",function(){let o=b(i).$implicit,r=s(3);return M(r.clickHandler(o))}),h(1),g(2,"translate"),c()}if(t&2){let i=n.$implicit,e=s(3);d("id",i.id)("ngClass",k(5,Vt,e.selectedPage()===i.name)),a(),I(" ",_(2,3,i.name)," ")}}function ve(t,n){if(t&1&&(l(0,"div",10)(1,"ul"),w(2,he,3,7,"li",11,Bt),c()()),t&2){let i=s(2);a(2),D(i.tabs())}}function Pe(t,n){if(t&1){let i=A();l(0,"div",2)(1,"button",7),S("click",function(o){b(i);let r=s();return M(r.openPagePopover(o))}),h(2),g(3,"translate"),p(4,"app-icon",8),c(),l(5,"ion-popover",9,0),S("didDismiss",function(o){b(i);let r=s();return M(r.didDismiss(o))}),J(7,ve,4,0,"ng-template"),c()()}if(t&2){let i=s();a(2),I(" ",_(3,3,i.selectedPage())," "),a(2),d("ngClass",k(5,fe,i.isPagePopoverOpen())),a(),d("isOpen",i.isPagePopoverOpen())}}function xe(t,n){if(t&1&&p(0,"app-dividend-history",3),t&2){let i=s();d("fundName",i.Equitus.name)}}function Oe(t,n){if(t&1&&p(0,"app-historical-return",4),t&2){let i=s();d("fundName",i.Equitus.name)}}var Ht=(function(t){return t[t.HistoricalDividends=0]="HistoricalDividends",t[t.HistoricalReturn=1]="HistoricalReturn",t[t.AccountingSummary=2]="AccountingSummary",t})(Ht||{}),Ut=(()=>{let n=class n{constructor(){this.platform=m(gt),this.analytics=m(H),this.Equitus=C,this.screenSizeService=m(Q),this.isMobile=Z(()=>this.screenSizeService.isFundMobile()),this.isPagePopoverOpen=u(!1),this.showTab=u(0),this.selectedPage=u("Hist\xF3rico de Dividendos"),this.GuideNumbering=Ht,this.tabs=u([{id:0,name:"GLOBAL.TABHISTORICODIVIDENDOS",eventName:"rendimentos_historico_dividendos",isActive:!0},{id:1,name:"GLOBAL.TABRETORNOHISTORICO",eventName:"rendimentos_retorno_historico",isActive:!1}])}tabHandler(e){this.showTab.set(e.id),this.selectTab(e.id),this.sendAnalytics(e.eventName)}
1selectTab(e){this.tabs().forEach(o=>{o.id===e?o.isActive=!0:o.isActive=!1})}clickHandler(e){this.showTab.set(e.id),this.selectedPage.set(e.name),this.isPagePopoverOpen.set(!1),this.sendAnalytics(e.eventName)}openPagePopover(e){this.pagePopover.event=e,this.isPagePopoverOpen.update(o=>!o)}didDismiss(e){e.detail.role==="backdrop"&&this.isPagePopoverOpen.set(!1)}sendAnalytics(e){this.analytics&&U(this.analytics,e)}};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=x({type:n,selectors:[["app-equitus-profitability"]],viewQuery:function(o,r){if(o&1&&N(_e,5),o&2){let f;L(f=z())&&(r.pagePopover=f.first)}},decls:5,vars:2,consts:[["pagePopover",""],[1,"screen-container"],[1,"tabs"],[3,"fundName"],["tradingEnvironment","CETIP",3,"fundName"],[3,"ngClass"],[3,"click","ngClass"],[3,"click"],["type","arrowDown",3,"ngClass"],["side","bottom","alignment","center",1,"custom-page-popover",3,"didDismiss","isOpen"],[1,"pages"],[3,"id","ngClass"],[3,"click","id","ngClass"]],template:function(o,r){if(o&1&&(l(0,"div",1),y(1,Ce,3,0,"div",2)(2,Pe,8,7,"div",2),y(3,xe,1,1,"app-dividend-history",3)(4,Oe,1,1,"app-historical-return",4),c()),o&2){let f;a(),T(r.isMobile()?2:1),a(2),T((f=r.showTab())===r.GuideNumbering.HistoricalDividends?3:f===r.GuideNumbering.HistoricalReturn?4:-1)}},dependencies:[tt,O,K,Et,St,it,E,R],styles:['@charset "UTF-8";.screen-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--spacing-xxs);width:100%;max-width:var(--ion-grid-width-xl)}.screen-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-xxxs);width:100%;padding-bottom:var(--spacing-xxxs);border-bottom:1px solid var(--color-carvao)}.screen-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-family:var(--font-family-inter-regular);color:var(--color-carvao);font-size:var(--font-size-xxxs);line-height:var(--line-height-md);border:1px solid var(--color-inhame-dark);border-radius:var(--border-radius-pill);padding:var(--spacing-quark) var(--spacing-xxxs);background:transparent;transition:.3s ease-in-out}.screen-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:var(--color-topazio);color:var(--color-nabo);border-color:transparent}.screen-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:is(.selected){background:var(--color-topazio);color:var(--color-nabo);border-color:transparent}.pages[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--spacing-xxxs);width:100%;margin:0;padding:var(--spacing-xxs)}.pages[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-family:var(--font-family-inter-regular);color:var(--color-carvao);font-size:var(--font-size-xxs);line-height:var(--line-height-md);width:100%;list-style:none}.pages[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:is(.selected){font-family:var(--font-family-inter-semibold)}@media only screen and (max-width:1199px)and (orientation:landscape),only screen and (max-width:1199px)and (max-height:999px){.screen-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-xxxs);white-space:nowrap;cursor:pointer}.screen-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:var(--color-nabo)!important;color:var(--color-carvao)!important;border:1px solid var(--color-inhame-dark)!important}.screen-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] app-icon[_ngcontent-%COMP%]{width:var(--spacing-xxxs);height:var(--spacing-xxxs);transition:transform .5s ease-out}.screen-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] app-icon[_ngcontent-%COMP%]:is(.open){transform:rotate(180deg)}.screen-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] app-icon[_ngcontent-%COMP%]:is(.close){transform:rotate(0)}}']});let t=n;return t})();var v=(function(t){return t.EQUITUS="riza-equitus",t.OVERVIEW="overview",t.DESCRIPTION="descricao",t.TARGET_RETURN="retorno-alvo",t.PROFITABILITY="rendimentos",t.PORTFOLIO="portfolio",t.DOCUMENTS="documentos",t})(v||{}),P=(function(t){return t.Overview="overview",t.Description="description",t.TargetReturn="target-return",t.Profitability="profitability",t.Portfolio="portfolio",t.Documents="documents",t})(P||{}),Nn={[v.EQUITUS]:{route:P.Overview,index:1},[v.OVERVIEW]:{route:P.Overview,index:1},[v.DESCRIPTION]:{route:P.Description,index:2},[v.TARGET_RETURN]:{route:P.TargetReturn,index:3},[v.PROFITABILITY]:{route:P.Profitability,index:4},[v.PORTFOLIO]:{route:P.Portfolio,index:5},[v.DOCUMENTS]:{route:P.Documents,index:6}},Qt=[{id:1,uid:P.Overview,name:"GLOBAL.OVERVIEW",fragment:v.OVERVIEW},{id:2,uid:P.Description,name:"GLOBAL.DESCRICAO",fragment:v.DESCRIPTION},{id:3,uid:P.TargetReturn,name:"GLOBAL.RETORNOALVO",fragment:v.TARGET_RETURN},{id:4,uid:P.Profitability,name:"GLOBAL.RENDIMENTOS",fragment:v.PROFITABILITY},{id:5,uid:P.Portfolio,name:"GLOBAL.PORTFOLIO",fragment:v.PORTFOLIO},{id:6,uid:P.Documents,name:"GLOBAL.DOCUMENTOS",fragment:v.DOCUMENTS}];var be=["mainRef"];function Me(t,n){t&1&&p(0,"app-fund-top-tabs")}function ye(t,n){if(t&1&&p(0,"app-overview",2),t&2){let i=s(2);d("fundName",i.Equitus.name)}}function Te(t,n){if(t&1&&p(0,"app-description",3),t&2){let i=s(2);d("fundName",i.Equitus.name)}}function we(t,n){if(t&1&&p(0,"app-target-return",4),t&2){let i=s(2);d("fundName",i.Equitus.name)}}function De(t,n){t&1&&p(0,"app-equitus-profitability",5)}function Se(t,n){t&1&&p(0,"app-equitus-portfolio",6)}function Ee(t,n){if(t&1&&p(0,"app-document",7),t&2){let i=s(2);d("fundName",i.Equitus.name)}}function Ae(t,n){if(t&1&&y(0,ye,1,1,"app-overview",2)(1,Te,1,1,"app-description",3)(2,we,1,1,"app-target-return",4)(3,De,1,0,"app-equitus-profitability",5)(4,Se,1,0,"app-equitus-portfolio",6)(5,Ee,1,1,"app-document",7),t&2){let i,e=s();T((i=e.tabService.currentSlug())==="overview"?0:i==="descricao"?1:i==="retorno-alvo"?2:i==="rendimentos"?3:i==="portfolio"?4:i==="documentos"?5:-1)}}function Ie(t,n){if(t&1&&p(0,"app-overview",2)(1,"app-description",3)(2,"app-target-return",4)(3,"app-equitus-profitability",5)(4,"app-equitus-portfolio",6)(5,"app-document",7),t&2){let i=s();d("fundName",i.Equitus.name),a(),d("fundName",i.Equitus.name),a(),d("fundName",i.Equitus.name),a(3),d("fundName",i.Equitus.name)}}var di=(()=>{let n=class n{set _mainRef(e){this.scrollService.registerMain(e?.nativeElement)}constructor(){this.platformId=m(lt),this.FundsService=m(Ct),this.analytics=m(H),this.seoService=m(vt),this.destroyRef=m(F),this.tabService=m(rt),this.scrollService=m(st),this.screenSizeService=m(Q),this.Equitus=C,this.shareData=u(null),this.fundData=u(null);let e=m(mt);this.initSEO(),m(at);let o=e.snapshot.paramMap.get("tab");this.tabService.init(Qt,C.displayName,o)}ngOnInit(){this.getFundData(),this.shareDataInit()}
1initSEO(){this.seoService.generateTags({title:G.title,description:G.description,slug:G.slug,keywords:G.keywords,financialProduct:{name:"Riza Equitus",description:G.description,category:"Imobili\xE1rio"}})}getFundData(){this.FundsService.getFundsByName(C.displayName).pipe(q(e=>e[0]),B(this.destroyRef)).subscribe({next:e=>{this.fundData.set(e)},error:e=>console.error("Error subscriber:",e)})}shareDataInit(){this.shareData.set({title:"Riza Equitus",text:"",url:dt(this.platformId)?window.location.href:""})}sendAnalytics(e){e&&this.analytics&&U(this.analytics,e)}};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=x({type:n,selectors:[["app-riza-equitus"]],viewQuery:function(o,r){if(o&1&&N(be,5),o&2){let f;L(f=z())&&(r._mainRef=f.first)}},features:[pt([rt,at,st])],decls:6,vars:6,consts:[["mainRef",""],[3,"fundData","navigationTabs","share","currentePage"],["id","overview","tradingEnvironment","CETIP",3,"fundName"],["id","description",3,"fundName"],["id","target-return",3,"fundName"],["id","profitability"],["id","portfolio"],["id","documents",3,"fundName"]],template:function(o,r){o&1&&(p(0,"app-header",1),y(1,Me,1,0,"app-fund-top-tabs"),l(2,"main",null,0),y(4,Ae,6,1)(5,Ie,6,4),c()),o&2&&(d("fundData",r.fundData())("navigationTabs",r.tabService.tabs())("share",r.shareData())("currentePage",r.tabService.currentSlug()),a(),T(r.screenSizeService.isFundMobile()?-1:1),a(3),T(r.screenSizeService.isFundMobile()?4:5))},dependencies:[O,Pt,Ot,Ut,zt,bt,E,yt,xt,Dt],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%;height:100%;flex:1;min-height:0;padding-bottom:var(--spacing-xs);background-color:var(--color-nabo)}[_nghost-%COMP%] main[_ngcontent-%COMP%]{display:flex;flex-direction:row;position:relative;width:100%;flex:1;overflow:hidden;transition:transform .5s ease;margin-top:var(--spacing-xs)}[_nghost-%COMP%] main[_ngcontent-%COMP%] app-equitus-overview[_ngcontent-%COMP%], [_nghost-%COMP%] main[_ngcontent-%COMP%] app-overview[_ngcontent-%COMP%], [_nghost-%COMP%] main[_ngcontent-%COMP%] app-description[_ngcontent-%COMP%], [_nghost-%COMP%] main[_ngcontent-%COMP%] app-target-return[_ngcontent-%COMP%], [_nghost-%COMP%] main[_ngcontent-%COMP%] app-equitus-profitability[_ngcontent-%COMP%], [_nghost-%COMP%] main[_ngcontent-%COMP%] app-historical-quote[_ngcontent-%COMP%], [_nghost-%COMP%] main[_ngcontent-%COMP%] app-equitus-portfolio[_ngcontent-%COMP%], [_nghost-%COMP%] main[_ngcontent-%COMP%] app-document[_ngcontent-%COMP%]{flex:0 0 100%;min-width:100%;height:100%;overflow-y:auto;margin-inline:auto;display:flex;justify-content:center}@media only screen and (max-width:1440px){[_nghost-%COMP%] main[_ngcontent-%COMP%] app-overview[_ngcontent-%COMP%], [_nghost-%COMP%] main[_ngcontent-%COMP%] app-description[_ngcontent-%COMP%], [_nghost-%COMP%] main[_ngcontent-%COMP%] app-target-return[_ngcontent-%COMP%], [_nghost-%COMP%] main[_ngcontent-%COMP%] app-equitus-profitability[_ngcontent-%COMP%], [_nghost-%COMP%] main[_ngcontent-%COMP%] app-historical-quote[_ngcontent-%COMP%], [_nghost-%COMP%] main[_ngcontent-%COMP%] app-equitus-portfolio[_ngcontent-%COMP%], [_nghost-%COMP%] main[_ngcontent-%COMP%] app-document[_ngcontent-%COMP%]{padding:0 1rem}}@media only screen and (max-width:1199px)and (orientation:landscape),only screen and (max-width:1199px)and (max-height:999px){[_nghost-%COMP%]{padding-bottom:var(--spacing-xxs)}[_nghost-%COMP%] main[_ngcontent-%COMP%]{gap:var(--spacing-inset-xxs);overflow-y:auto;overflow-x:hidden}[_nghost-%COMP%] main[_ngcontent-%COMP%] app-document[_ngcontent-%COMP%]{flex:1}}']});let t=n;return t})();export{di as RizaEquitusComponent};
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.