1(self.webpackChunkhomepageUi=self.webpackChunkhomepageUi||[]).push([[6584],{6584(g,m,l){l.d(m,{UiEmployeeContactDialogComponent:()=>u});var s=l(5802),i=l(7705),d=l(2215),t=l(5547);const p=["dialog"];let u=(()=>{class c{constructor(){this.document=(0,s.WQX)(s.qQL),this.dialogRef=i.ebz.required("dialog"),this.employee=i.hFB.required(),this.closed=(0,i.CGW)(),this.triggerElement=null,this.pressedOnBackdrop=!1,this.scrollLock=null,(0,s.WQX)(s.abz).onDestroy(()=>{this.unlockScroll()}),(0,i.uEv)({write:()=>{this.employee();const e=this.dialogRef().nativeElement;if(e.open||!e.isConnected)return;const o=this.document.activeElement;this.triggerElement=o instanceof HTMLElement?o:null,e.showModal(),this.lockScroll(),e.focus()}})}close(){const e=this.dialogRef().nativeElement;e.open&&e.close()}onClose(){this.unlockScroll(),this.triggerElement?.isConnected&&this.triggerElement.focus(),this.triggerElement=null,this.closed.emit()}lockScroll(){if(this.scrollLock)return;const e=this.document.documentElement;this.scrollLock={overflow:e.style.overflow,scrollbarGutter:e.style.scrollbarGutter},e.style.scrollbarGutter="stable",e.style.overflow="hidden"}unlockScroll(){if(!this.scrollLock)return;const e=this.document.documentElement;e.style.overflow=this.scrollLock.overflow,e.style.scrollbarGutter=this.scrollLock.scrollbarGutter,this.scrollLock=null}onBackdropPointerDown(e){this.pressedOnBackdrop=e.target===this.dialogRef().nativeElement}onBackdropClick(e){const o=e.target===this.dialogRef().nativeElement;this.pressedOnBackdrop&&o&&this.close(),this.pressedOnBackdrop=!1}static{this.\u0275fac=function(o){return new(o||c)}}static{this.\u0275cmp=t.VBU({type:c,selectors:[["cms-ui-employee-contact-dialog"]],viewQuery:function(o,n){1&o&&t.wEZ(n.dialogRef,p,5),2&o&&t.NyB()},hostAttrs:["data-automation-id","cms-employee-contact-dialog"],inputs:{employee:[1,"employee"]},outputs:{closed:"closed"},decls:3,vars:3,consts:[["dialog",""],["tabindex","-1","closedby","closerequest",1,"cms-ecd",3,"close","pointerdown","click"],[3,"dismiss","employee","dismissable"]],template:function(o,n){1&o&&(t.j41(0,"dialog",1,0),t.bIt("close",function(){return n.onClose()})("pointerdown",function(r){return n.onBackdropPointerDown(r)})("click",function(r){return n.onBackdropClick(r)}),t.j41(2,"cms-ui-employee-contact",2),t.bIt("dismiss",function(){return n.close()}),t.k0s()()),2&o&&(t.BMQ("aria-label",`${n.employee().firstname} ${n.employee().lastname}`),t.R7$(2),t.Y8G("employee",n.employee())("dismissable",!0))},dependencies:[d.wZ],styles:[".cms-ecd[_ngcontent-%COMP%]{display:flex;flex-direction:column;inline-size:min(90dvw,25rem);max-block-size:min(90svh,46rem);padding:0;background:transparent;border:0;box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.cms-ecd[_ngcontent-%COMP%]:not([open]){display:none}.cms-ecd[_ngcontent-%COMP%]:focus, .cms-ecd[_ngcontent-%COMP%]:focus-visible{outline:none}.cms-ecd[_ngcontent-%COMP%]::backdrop{background:var(--color-background-glasspane)}.cms-ecd[_ngcontent-%COMP%] cms-ui-employee-contact[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1 1 auto;min-block-size:0;--cms-ec-media-max: min(45svh, 23rem)}"],changeDetection:0})}}return c})()}}]);
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.