import{d as E,f as z,g as D}from"./chunk-2UZANWCT.js";import"./chunk-2JONWNYA.js";import"./chunk-FVG4OCAJ.js";import"./chunk-B47LJMRU.js";import"./chunk-PB7QIE4O.js";import"./chunk-S2V6IA2C.js";import"./chunk-2UBKXA5Q.js";import"./chunk-SPDRGHFO.js";import"./chunk-ZBEJAM5I.js";import"./chunk-N2PQ6HLD.js";import"./chunk-RYOTKPRJ.js";import"./chunk-ORQ34GH7.js";import"./chunk-DZT3OJCU.js";import"./chunk-7SMWJ3GR.js";import"./chunk-P2NRYBYH.js";import"./chunk-XXO64O37.js";import"./chunk-M7AISLOK.js";import"./chunk-URVBFPQY.js";import"./chunk-OP2OM2NB.js";import"./chunk-YFKO2YMD.js";import"./chunk-KMX5PVQZ.js";import"./chunk-H7ZIYAN2.js";import"./chunk-D5M6Y5VI.js";import"./chunk-PFQHIQUX.js";import"./chunk-3CODJNWE.js";import"./chunk-HJB5ICMZ.js";import"./chunk-QU4JA34D.js";import"./chunk-TAYSHZWB.js";import"./chunk-GDIYNKGM.js";import{b}from"./chunk-L4FY67IO.js";import"./chunk-7WODUV7D.js";import{h as q}from"./chunk-WWV256XH.js";import"./chunk-EP2DJHVF.js";import"./chunk-S3JIFK7T.js";import"./chunk-EQ67X7AF.js";import"./chunk-LMRN7T6T.js";import"./chunk-IVW2C32D.js";import{f as $}from"./chunk-KANMOB5U.js";import"./chunk-D3YCQTGW.js";import"./chunk-OBT56KUD.js";import{m as U}from"./chunk-NMCXU7N6.js";import{$b as B,B as s,Ba as N,Bc as h,Cc as w,Jc as A,N as L,Nb as x,Rb as C,Uc as P,Vc as R,Yb as M,_b as y,ac as T,bc as j,cc as F,ha as m,oc as H,p as o,sb as I,tb as c,v as _}from"./chunk-IYD54RT7.js";import"./chunk-RVFOIZLJ.js";function Q(r,n){if(r&1&&(j(0,"a",0),h(1),F(),h(2," / ")),r&2){let p=H().$implicit;C("routerLink",p.routerLink),I(),w(p.displayName)}}function V(r,n){if(r&1&&x(0,Q,3,2),r&2){let p=n.$implicit;M(0,p.displayName!==""?0:-1)}}var G=(()=>{let n=class n{constructor(g,a,f,K){this._routeService=g,this._currentBranchService=a,this._connectionService=f,this._structureService=K,this.route=_([this._routeService.type,this._routeService.id,this._routeService.connectionId,this._routeService.messageId,this._routeService.submessageId,this._routeService.submessageToStructureBreadCrumbs,this._routeService.singleStructureId]).pipe(L(0),m(([e,i,t,u,l,S,k])=>s(()=>e!=="",s(()=>i!="",this._currentBranchService.currentBranch.pipe(m(d=>s(()=>t!=="0"&&t!=="",this._connectionService.connection.pipe(m(v=>s(()=>u!=="",s(()=>l!=="",s(()=>k!=="",this._structureService.structure.pipe(m(O=>o([{displayName:e,routerLink:"/ple/messaging/connections/"+e},{displayName:d.name,routerLink:"/ple/messaging/connections/"+e+"/"+i+"/"},{displayName:v.name,routerLink:"/ple/messaging/connections/"+e+"/"+i+"/"+t+"/messages"},{displayName:S,routerLink:"/ple/messaging/connections/"+e+"/"+i+"/"+t+"/messages/"+u+"/"+l+"/elements"},{displayName:O.name,routerLink:"/ple/messaging/connections/"+e+"/"+i+"/"+t+"/messages/"+u+"/"+l+"/elements/"+k}]))),o([{displayName:e,routerLink:"/ple/messaging/connections/"+e},{displayName:d.name,routerLink:"/ple/messaging/connections/"+e+"/"+i+"/"},{displayName:v.name,routerLink:"/ple/messaging/connections/"+e+"/"+i+"/"+t+"/messages"},{displayName:S,routerLink:"/ple/messaging/connections/"+e+"/"+i+"/"+t+"/messages/"+u+"/"+l+"/elements"}])),o()),o([{displayName:e,routerLink:"/ple/messaging/connections/"+e},{displayName:d.name,routerLink:"/ple/messaging/connections/"+e+"/"+i+"/"},{displayName:v.name,routerLink:"/ple/messaging/connections/"+e+"/"+i+"/"+t+"/messages"}])))),o([{displayName:e,routerLink:"/ple/messaging/connections/"+e},{displayName:d.name,routerLink:e+"/"+i}])))),o([{displayName:e,routerLink:e}])),o())))}};n.\u0275fac=function(a){return new(a||n)(c(E),c(q),c(D),c(z))},n.\u0275cmp=N({type:n,selectors:[["osee-messaging-header"]],standalone:!0,features:[A],decls:3,vars:2,consts:[["mat-button","","queryParamsHandling","merge",3,"routerLink"]],template:function(a,f){a&1&&(B(0,V,1,1,null,null,y),P(2,"async")),a&2&&T(R(2,0,f.route))},dependencies:[b,$,U],encapsulation:2});let r=n;return r})(),J=G;export{G as MimHeaderComponent,J as default};
