"use strict";(self.webpackChunk_1js_people_in_taskbar=self.webpackChunk_1js_people_in_taskbar||[]).push([[2035],{83984:(e,n,s)=>{s.d(n,{E7:()=>r,P3:()=>o,Rj:()=>t,XR:()=>l,Ze:()=>i,u9:()=>a,yr:()=>p});const t={component:"GroupMembers"},i={component:"GroupAbout"},r={component:"FooterPanel"},o={component:"GroupRenew"},a={component:"TrustedSenders"},l={component:"GroupPendingRequestsInfo"},p={component:"GroupGdm"}},67506:(e,n,s)=>{s.d(n,{x:()=>E});var t=s(97950),i=s(19199),r=s(90973),o=s(79604);const a=(0,o.A)((0,i.A)(r.ghe,r.kt0));var l=s(40897);const p=(0,o.A)((0,i.A)(l.nKe,l.NUc));var u=s(47911),c=s(42201),g=s(9930),m=s(59116),d=s(31394),b=s(1812),h=s(71124),q=s(38217),R=s(42124);const x=(0,q.J9)((e=>(0,R.l8)({messageBarEV:{margin:"20px 10px 0px 20px",display:"flex",alignItems:"center",width:"auto"},messageBarSmallCard:{margin:"12px 10.5px 0px 10.5px",width:"auto"},button:{height:"24px",minHeight:"auto"},innerContentStyles:{display:"flex",alignItems:"center"},dismissCircleStyles:{color:e.palette.redDark,marginRight:"8px"},successCircleStyles:{color:e.palette.greenDark,marginRight:"8px"},warningCircleStyles:{color:e.palette.black,marginRight:"8px"}}))),S={iconContainer:{minHeight:"0px",minWidth:"0px",height:"0px",width:"0px",margin:"0px"}},E=e=>{let{messageString:n,messageType:s,actionButtonProps:t,isEV:i,isProcessing:r,iconAriaLabel:o}=e;const a=x((0,u._)()),l=h.createElement(m.Y,{disabled:r,className:a.button,text:null==t?void 0:t.text,onClick:null==t?void 0:t.onClick}),p=t&&!r?l:void 0,b=y(s);return h.createElement(d.n,{className:i?a.messageBarEV:a.messageBarSmallCard,actions:p,isMultiline:!i,messageBarType:b,styles:S,messageBarIconProps:{}},h.createElement("div",{className:a.innerContentStyles},r?h.createElement(c.y,{className:a.warningCircleStyles,size:g.H.small}):v(s,a,o??""),n))},y=e=>"Error"==e?b.H.error:"Success"==e?b.H.success:"Warning"==e?b.H.warning:b.H.info,v=(e,n,s)=>"Error"==e?h.createElement(t.A,{"aria-label":s,className:n.dismissCircleStyles}):"Success"==e?h.createElement(a,{"aria-label":s,className:n.successCircleStyles}):h.createElement(p,{"aria-label":s,className:n.warningCircleStyles})},62422:(e,n,s)=>{s.r(n),s.d(n,{PendingRequestsInfo:()=>v});var t=s(14926),i=s(83984),r=s(576),o=s(76992),a=s(76004),l=s(72919),p=s(67506),u=s(24099),c=s(71304),g=s(29430),m=s(74662),d=s(10516),b=s(71124),h=s(51634),q=s(8618);const R=(0,h.Ex)("lpc-group-pending-requests-info.About.Section.GroupPendingRequests.viewMembershipRequestButtonSingular"),x=(0,h.Ex)("lpc-group-pending-requests-info.About.Section.GroupPendingRequests.viewAllMembershipRequestsButton"),S=(0,h.Ex)("lpc-group-pending-requests-info.About.Section.GroupPendingRequests.pendingMembershipRequestsBannerTitleSingular"),E=(0,h.qP)("lpc-group-pending-requests-info.About.Section.GroupPendingRequests.pendingMembershipRequestsBannerTitle"),y=(0,h.Ex)("lpc-group-pending-requests-info.About.Section.GroupPendingRequests.pendingRequestGroupIconToolTip");const v=(0,r.vL)((e=>{var n;const{isNavigateToL2ViewsEnabled:s}=(0,o.U)(),r=(0,a.l)(e.queryKey,e.identifiers),h="success"==r.state?r.data:void 0,v=(null===(n=(0,l.P)(e.queryKey,e.identifiers))||void 0===n?void 0:n.isOwner)??!1,B=h?h.count??0:0,w="ExpandedView"===(0,u.xZ)(),C=(0,c.WY)(),f=(0,g.o3)(t.QG,(()=>C("GroupMembers"))),P={viewMembershipRequestButtonSingular:(0,q.Lh)(R),viewAllMembershipRequestsButton:(0,q.Lh)(x),pendingMembershipRequestsBannerTitleSingular:(0,q.Lh)(S),pendingMembershipRequestsBannerTitle:e=>E({p0:e}),pendingRequestGroupIconToolTip:(0,q.Lh)(y)},T=1==B?P.viewMembershipRequestButtonSingular:P.viewAllMembershipRequestsButton,A=1==B?P.pendingMembershipRequestsBannerTitleSingular:P.pendingMembershipRequestsBannerTitle(String(B)),G={properties:{groupPendingRequestsInfoIsEnabled:s,groupPendingRequestsInfoHasContent:B>0}},k={checkpoints:[{checkpoint:m.qd,properties:{groupPendingRequestsInfoHasContent:B>0}}]},M="error"==r.state;return(0,d.K)(i.XR,G,k,M),h&&s&&v&&0!=B?b.createElement(p.x,{messageType:"Info",messageString:A,actionButtonProps:{text:T,onClick:f},isEV:w,iconAriaLabel:P.pendingRequestGroupIconToolTip}):b.createElement(b.Fragment,null)}))}}]);