import{a as D}from"./chunk-5OVEFISH.js";import"./chunk-ECIPGGFF.js";import{a as j}from"./chunk-KMX5PVQZ.js";import{b as N}from"./chunk-L4FY67IO.js";import"./chunk-7WODUV7D.js";import"./chunk-ZRBE56L3.js";import{a as A}from"./chunk-S3JIFK7T.js";import"./chunk-EQ67X7AF.js";import"./chunk-IVW2C32D.js";import{f as L}from"./chunk-KANMOB5U.js";import"./chunk-D3YCQTGW.js";import"./chunk-OBT56KUD.js";import{m as _}from"./chunk-NMCXU7N6.js";import{$b as S,B as u,Ba as w,Bc as c,Cc as p,Jc as k,K as f,L as v,Qb as x,Rb as I,Uc as C,Vc as E,_b as M,ac as b,bc as r,cc as a,fa as g,ha as h,o as d,p as l,sb as s,tb as y}from"./chunk-IYD54RT7.js";import"./chunk-RVFOIZLJ.js";function F(t,i){if(t&1&&(r(0,"a",3)(1,"mat-icon"),c(2),a(),r(3,"span",4),c(4),a()()),t&2){let o=i.$implicit;I("routerLink",o.routerLink),x("data-cy",o.cypressLabel),s(2),p(o.icon),s(2),p(o.label)}}var P=D[0].children.filter(t=>t.label==="Messaging Configuration")[0].children,R=(()=>{let i=class i{constructor(m){this.userService=m,this._filteredNavItems=d(this.allNavItems).pipe(g(1),v(e=>this.userService.userHasRoles(e.requiredRoles).pipe(h(n=>u(()=>n,l(e),l())))),f((e,n)=>[...e,n],[]))}get allNavItems(){return P}get navItems(){return this._filteredNavItems}};i.\u0275fac=function(e){return new(e||i)(y(A))},i.\u0275cmp=w({type:i,selectors:[["osee-messaging"]],standalone:!0,features:[k],decls:7,vars:2,consts:[[1,"tw-flex","tw-h-full","tw-min-w-[560px]","tw-flex-col","tw-items-center","tw-justify-center","tw-text-center"],[1,"mat-headline-1"],[1,"tw-grid","tw-max-w-[822px]","tw-grid-cols-landing","tw-justify-center","tw-gap-7"],["mat-raised-button","","color","primary","queryParamsHandling","merge",1,"tw-w-landing-button","tw-px-4","tw-py-7",3,"routerLink"],[1,"tw-ml-2"]],template:function(e,n){e&1&&(r(0,"div",0)(1,"div",1),c(2,"OSEE Messaging"),a(),r(3,"div",2),S(4,F,5,4,"a",3,M),C(6,"async"),a()()),e&2&&(s(4),b(E(6,0,n.navItems)))},dependencies:[_,L,N,j],styles:["[_nghost-%COMP%]{height:94vh;min-height:calc(94vh - 10%);max-height:94vh;width:100vw;min-width:calc(100vw - 10%);display:inline-block}"]});let t=i;return t})(),G=R;export{R as MessagingComponent,G as default};
