1(self.webpackChunkhomepageUi=self.webpackChunkhomepageUi||[]).push([[2636],{2636(le,A,u){u.d(A,{employeeSearchComponentBuilder:()=>Ni});var s=u(5802),p=u(2271),l=u(7705),e=u(5547),b=u(1413),F=u(7786),H=u(5964);u(8750);var I=u(9172),z=u(152),K=u(3294),k=u(6977),ue=u(1397),de=u(3703),Q=u(6365),N=u(5558);u(9974),u(4360);var V=u(5245),W=u(3531),C=u(5057),Z=u(6939),O=u(9752),G=u(9867),J=u(910),d=u(413),E=u(6537),m=u(7336),h=u(8868);let v=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=e.FsC({type:n,selectors:[["","cdkMenuGroup",""]],hostAttrs:["role","group",1,"cdk-menu-group"],exportAs:["cdkMenuGroup"],features:[e.Jv_([{provide:J.z,useClass:J.z}])]})}return n})();const T=new s.nKC("cdk-menu");var M=function(n){return n[n.nextItem=0]="nextItem",n[n.previousItem=1]="previousItem",n[n.currentItem=2]="currentItem",n}(M||{});const x=new s.nKC("cdk-menu-stack"),Je={provide:x,useFactory:()=>(0,s.WQX)(x,{optional:!0,skipSelf:!0})||new q},ke=n=>({provide:x,useFactory:()=>(0,s.WQX)(x,{optional:!0,skipSelf:!0})||q.inline(n)});let q=(()=>{class n{id=(0,s.WQX)(W.g).getId("cdk-menu-stack-");_elements=[];_close=new b.B;_empty=new b.B;_hasFocus=new b.B;closed=this._close;hasFocus=this._hasFocus.pipe((0,I.Z)(!1),(0,z.B)(0),(0,K.F)());emptied=this._empty;_inlineMenuOrientation=null;static inline(t){const i=new n;return i._inlineMenuOrientation=t,i}push(t){this._elements.push(t)}close(t,i){const{focusNextOnEmpty:o,focusParentTrigger:r}={...i};if(this._elements.indexOf(t)>=0){let c;do{c=this._elements.pop(),this._close.next({item:c,focusParentTrigger:r})}while(c!==t);this.isEmpty()&&this._empty.next(o)}}closeSubMenuOf(t){let i=!1;if(this._elements.indexOf(t)>=0)for(i=this.peek()!==t;this.peek()!==t;)this._close.next({item:this._elements.pop()});return i}closeAll(t){const{focusNextOnEmpty:i,focusParentTrigger:o}={...t};if(!this.isEmpty()){for(;!this.isEmpty();){const r=this._elements.pop();r&&this._close.next({item:r,focusParentTrigger:o})}this._empty.next(i)}}isEmpty(){return!this._elements.length}length(){return this._elements.length}peek(){return this._elements[this._elements.length-1]}hasInlineMenu(){return null!=this._inlineMenuOrientation}inlineMenuOrientation(){return this._inlineMenuOrientation}setHasFocus(t){this._hasFocus.next(t)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=s.jDH({token:n,factory:n.\u0275fac})}return n})();const ee=new s.nKC("cdk-menu-trigger"),qe=new s.nKC("cdk-menu-scroll-strategy",{providedIn:"root",factory:()=>{const n=(0,s.WQX)(s.zZn);return()=>(0,C.RH)(n)}});let Se=(()=>{class n{static _openMenuTrigger;update(t){n._openMenuTrigger!==t&&(n._openMenuTrigger?.close(),n._openMenuTrigger=t)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=s.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Fe=(()=>{class n{injector=(0,s.WQX)(s.zZn);viewContainerRef=(0,s.WQX)(e.c1b);menuStack=(0,s.WQX)(x);menuScrollStrategy=(0,s.WQX)(qe);menuPosition;opened=new s.bkB;closed=new s.bkB;menuTemplateRef=null;menuData;transformOriginSelector=null;overlayRef=null;destroyed=new b.B;stopOutsideClicksListener=(0,F.h)(this.closed,this.destroyed);childMenu;_menuPortal;_childMenuInjector;ngOnDestroy(){this._destroyOverlay(),this.destroyed.next(),this.destroyed.complete()}isOpen(){return!!this.overlayRef?.hasAttached()}registerChildMenu(t){this.childMenu=t}getMenuContentPortal(){return this.menuTemplateRef&&(!this._menuPortal||this.menuTemplateRef!==this._menuPortal?.templateRef)&&(this._menuPortal=new Z.VA(this.menuTemplateRef,this.viewContainerRef,this.menuData,this._getChildMenuInjector())),this._menuPortal}isElementInsideMenuStack(t){for(let i=t;i;i=i?.parentElement??null)if(i.getAttribute("data-cdk-menu-stack-id")===this.menuStack.id)return!0;return!1}_destroyOverlay(){this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)}_getChildMenuInjector(){return this._childMenuInjector=this._childMenuInjector||s.zZn.create({providers:[{provide:ee,useValue:this},{provide:x,useValue:this.menuStack}],parent:this.injector}),this._childMenuInjector}static \u0275fac=function(i){return new(i||n)};static \u0275dir=e.FsC({type:n,hostVars:2,hostBindings:function(i,o){2&i&&e.BMQ("aria-controls",null==o.childMenu?null:o.childMenu.id)("data-cdk-menu-stack-id",o.menuStack.id)}})}return n})();const te=new s.nKC("cdk-menu-aim");function Te(n,a){if(!a.isTrusted)return!1;const t=n.nativeElement,i=a.keyCode;return"BUTTON"!==t.nodeName||t.disabled?"A"===t.nodeName&&i===d.Fm:i===d.Fm||i===d.t6}let ne=(()=>{class n extends Fe{_elementRef=(0,s.WQX)(e.aKT);_ngZone=(0,s.WQX)(s.SKi);_changeDetectorRef=(0,s.WQX)(l.gRc);_inputModalityDetector=(0,s.WQX)(E.Uc);_directionality=(0,s.WQX)(O.dS,{optional:!0});_renderer=(0,s.WQX)(e.sFG);_injector=(0,s.WQX)(s.zZn);_cleanupMouseenter;_menuTracker=(0,s.WQX)(Se);_parentMenu=(0,s.WQX)(T,{optional:!0});_menuAim=(0,s.WQX)(te,{optional:!0});constructor(){super(),this._setRole(),this._registerCloseHandler(),this._subscribeToMenuStackClosed(),this._subscribeToMouseEnter(),this._subscribeToMenuStackHasFocus(),this._setType()}toggle(){this.isOpen()?this.close():this.open()}open(){this._parentMenu||this._menuTracker.update(this),!this.isOpen()&&null!=this.menuTemplateRef&&(this.opened.next(),this.overlayRef=this.overlayRef||(0,C.Y$)(this._injector,this._getOverlayConfig()),this.overlayRef.attach(this.getMenuContentPortal()
1),this._changeDetectorRef.markForCheck(),this._subscribeToOutsideClicks())}close(){this.isOpen()&&(this.closed.next(),this.overlayRef.detach(),this._changeDetectorRef.markForCheck()),this._closeSiblingTriggers()}getMenu(){return this.childMenu}ngOnChanges(t){t.menuPosition&&this.overlayRef&&this.overlayRef.updatePositionStrategy(this._getOverlayPositionStrategy())}ngOnDestroy(){this._cleanupMouseenter(),super.ngOnDestroy()}_toggleOnKeydown(t){const i="vertical"===this._parentMenu?.orientation;switch(t.keyCode){case d.t6:case d.Fm:!(0,m.rp)(t)&&!Te(this._elementRef,t)&&(this.toggle(),this.childMenu?.focusFirstItem("keyboard"));break;case d.LE:(0,m.rp)(t)||this._parentMenu&&i&&"rtl"!==this._directionality?.value&&(t.preventDefault(),this.open(),this.childMenu?.focusFirstItem("keyboard"));break;case d.UQ:(0,m.rp)(t)||this._parentMenu&&i&&"rtl"===this._directionality?.value&&(t.preventDefault(),this.open(),this.childMenu?.focusFirstItem("keyboard"));break;case d.n6:case d.i7:(0,m.rp)(t)||i||(t.preventDefault(),this.open(),t.keyCode===d.n6?this.childMenu?.focusFirstItem("keyboard"):this.childMenu?.focusLastItem("keyboard"))}}_handleClick(){this.toggle(),this.childMenu?.focusFirstItem("mouse")}_setHasFocus(t){this._parentMenu||this.menuStack.setHasFocus(t)}_subscribeToMouseEnter(){this._cleanupMouseenter=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"mouseenter",()=>{if("touch"!==this._inputModalityDetector.mostRecentModality&&!this.menuStack.isEmpty()&&!this.isOpen()){const t=()=>this._ngZone.run(()=>{this._closeSiblingTriggers(),this.open()});this._menuAim?this._menuAim.toggle(t):t()}}))}_closeSiblingTriggers(){this._parentMenu?!this.menuStack.closeSubMenuOf(this._parentMenu)&&this.menuStack.peek()!==this._parentMenu&&this.menuStack.closeAll():this.menuStack.closeAll()}_getOverlayConfig(){return new C.rR({positionStrategy:this._getOverlayPositionStrategy(),scrollStrategy:this.menuScrollStrategy(),direction:this._directionality||void 0})}_getOverlayPositionStrategy(){const t=(0,C.$M)(this._injector,this._elementRef).withLockedPosition().withFlexibleDimensions(!1).withPositions(this._getOverlayPositions());return this.transformOriginSelector&&t.withTransformOriginOn(this.transformOriginSelector),t}_getOverlayPositions(){return this.menuPosition??(this._parentMenu&&"horizontal"!==this._parentMenu.orientation?C.EB:C.pq)}_registerCloseHandler(){this._parentMenu||this.menuStack.closed.pipe((0,k.Q)(this.destroyed)).subscribe(({item:t})=>{t===this.childMenu&&this.close()})}_subscribeToOutsideClicks(){this.overlayRef&&this.overlayRef.outsidePointerEvents().pipe((0,k.Q)(this.stopOutsideClicksListener)).subscribe(t=>{const i=(0,G.Fb)(t),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&(this.isElementInsideMenuStack(i)?this._closeSiblingTriggers():this.menuStack.closeAll())})}_subscribeToMenuStackHasFocus(){this._parentMenu||this.menuStack.hasFocus.pipe((0,k.Q)(this.destroyed)).subscribe(t=>{t||this.menuStack.closeAll()})}_subscribeToMenuStackClosed(){this._parentMenu||this.menuStack.closed.subscribe(({focusParentTrigger:t})=>{t&&!this.menuStack.length()&&this._elementRef.nativeElement.focus()})}_setRole(){this._parentMenu||this._elementRef.nativeElement.setAttribute("role","button")}_setType(){const t=this._elementRef.nativeElement;"BUTTON"===t.nodeName&&!t.getAttribute("type")&&t.setAttribute("type","button")}static \u0275fac=function(i){return new(i||n)};static \u0275dir=e.FsC({type:n,selectors:[["","cdkMenuTriggerFor",""]],hostAttrs:[1,"cdk-menu-trigger"],hostVars:2,hostBindings:function(i,o){1&i&&e.bIt("focusin",function(){return o._setHasFocus(!0)})("focusout",function(){return o._setHasFocus(!1)})("keydown",function(c){return o._toggleOnKeydown(c)})("click",function(){return o._handleClick()}),2&i&&e.BMQ("aria-haspopup",o.menuTemplateRef?"menu":null)("aria-expanded",null==o.menuTemplateRef?null:o.isOpen())},inputs:{menuTemplateRef:[0,"cdkMenuTriggerFor","menuTemplateRef"],menuPosition:[0,"cdkMenuPosition","menuPosition"],menuData:[0,"cdkMenuTriggerData","menuData"],transformOriginSelector:[0,"cdkMenuTriggerTransformOriginOn","transformOriginSelector"]},outputs:{opened:"cdkMenuOpened",closed:"cdkMenuClosed"},exportAs:["cdkMenuTriggerFor"],features:[e.Jv_([{provide:ee,useExisting:n},Je]),e.Vt3,e.OA$]})}return n})(),w=(()=>{class n{_dir=(0,s.WQX)(O.dS,{optional:!0});_elementRef=(0,s.WQX)(e.aKT);_ngZone=(0,s.WQX)(s.SKi);_inputModalityDetector=(0,s.WQX)(E.Uc);_renderer=(0,s.WQX)(e.sFG);_cleanupMouseEnter;_menuAim=(0,s.WQX)(te,{optional:!0});_menuStack=(0,s.WQX)(x);_parentMenu=(0,s.WQX)(T,{optional:!0});_menuTrigger=(0,s.WQX)(ne,{optional:!0,self:!0});disabled=!1;typeaheadLabel=null;triggered=new s.bkB;get hasMenu(){return null!=this._menuTrigger?.menuTemplateRef}_tabindex=-1;closeOnSpacebarTrigger=!0;destroyed=new b.B;constructor(){this._setupMouseEnter(),this._setType(),this._isStandaloneItem()&&(this._tabindex=0)}ngOnDestroy(){this._cleanupMouseEnter?.(),this.destroyed.next(),this.destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}trigger(t){const{keepOpen:i}={...t};!this.disabled&&!this.hasMenu&&(this.triggered.next(),i||this._menuStack.closeAll({focusParentTrigger:!0}))}isMenuOpen(){return!!this._menuTrigger?.isOpen()}getMenu(){return this._menuTrigger?.getMenu()}getMenuTrigger(){return this._menuTrigger}getLabel(){return this.typeaheadLabel||this._elementRef.nativeElement.textContent?.trim()||""}_resetTabIndex(){this._isStandaloneItem()||(this._tabindex=-1)}_setTabIndex(t){this.disabled||(!t||!this._menuStack.isEmpty())&&(this._tabindex=0)}_handleClick(t){this.disabled?(t.preventDefault(),t.stopPropagation()):this.trigger()}_onKeydown(t){switch(t.keyCode){case d.t6:case d.Fm:if(!(0,m.rp)(t)&&!Te(this._elementRef,t)){const i=this._elementRef.nativeElement.nodeName;"A"!==i&&"BUTTON"!==i&&t.preventDefault(),this.trigger({keepOpen:t.keyCode===d.t6&&!this.closeOnSpacebarTrigger})}break;case d.LE:(0,m.rp)(t)||this._parentMenu&&this._isParentVertical()&&("rtl"!==this._dir?.value?this._forwardArrowPressed(t):this._backArrowPressed(t));break;case d.UQ:(0,m.rp)(t)||this._parentMenu&&this._isParentVertical()&&("rtl"!==this._dir?.value?this._backArrowPressed(t):this._forwardArrowPressed(t))}}_isStandaloneItem(){return!this._parentMenu}_backArrowPressed(t){const i=this._parentMenu;(this._menuStack.hasInlineMenu()||this._menuStack.length()>1)&&(t.preventDefault(),this._menuStack.close(i,{focusNextOnEmpty:"horizontal"===this._menuStack.inlineMenuOrientation()?M.previousItem:M.currentItem,focusParentTrigger:!0}))}_forwardArrowPressed(t){!this.hasMenu&&"horizontal"===this._menuStack.inlineMenuOrientation()&&(t.preventDefault(),this._menuStack.closeAll({focusNextOnEmpty:M.nextItem,focusParentTrigger:!0}))}_setupMouseEnter(){if(!this._isStandaloneItem()){const t=()=>this._ngZone.run(()=>this._menuStack.closeSubMenuOf(this._parentMenu));this._cleanupMouseEnter=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"mouseenter",()=>{"touch"!==this._inputModalityDetector.mostRecentModality&&!this._menuStack.isEmpty()&&!this.hasMenu&&(this._menuAim?this._menuAim.toggle(t):t())}))}}_isParentVertical(){return"vertical"===this._parentMenu?.orientation}_setType(){const t=this._elementRef.nativeElement;"BUTTON"===t.nodeName&&!t.getAttribute("type")&&t.setAttribute("type","button")}static \u0275fac=function(i){return new(i||n)};static \u0275dir=e.FsC({type:n,selectors:[["","cdkMenuItem",""]],hostAttrs:["role","menuitem",1,"cdk-menu-item"],hostVars:4,hostBindings:function(i,o){1&i&&e.bIt("blur",function(){return o._resetTabIndex()})("focus",function(){return o._setTabIndex()})("click",function(c){return o._handleClick(c)})("keydown",function(c){return o._onKeydown(c)}),2&i&&(e.Avn("tabIndex",o._tabindex),e.BMQ("aria-disabled",o.disabled||null),e.AVh("cdk-menu-item-disabled",o.disabled))},inputs:{disabled:[2,"cdkMenuItemDisabled","disabled",l.L39],typeaheadLabel:[0,"cdkMenuitemTypeaheadLabel","typeaheadLabel"]},outputs:{triggered:"cdkMenuItemTriggered"},exportAs:["cdkMenuItem"]})}return n})();class rt{_renderer;_items;_eventCleanups;
1_itemsSubscription;entered=new b.B;exited=new b.B;activeElement;previousElement;constructor(a,t){this._renderer=a,this._items=t,this._bindEvents(),this.entered.subscribe(i=>this.activeElement=i),this.exited.subscribe(()=>{this.previousElement=this.activeElement,this.activeElement=void 0})}destroy(){this._cleanupEvents(),this._itemsSubscription?.unsubscribe()}_bindEvents(){this._itemsSubscription=this._items.changes.pipe((0,I.Z)(this._items)).subscribe(()=>{this._cleanupEvents(),this._eventCleanups=[],this._items.forEach(a=>{const t=a._elementRef.nativeElement;this._eventCleanups.push(this._renderer.listen(t,"mouseenter",()=>{this.entered.next(a)}),this._renderer.listen(t,"mouseout",()=>{this.exited.next(a)}))})})}_cleanupEvents(){this._eventCleanups?.forEach(a=>a()),this._eventCleanups=void 0}}let Ee=(()=>{class n extends v{_focusMonitor=(0,s.WQX)(E.FN);ngZone=(0,s.WQX)(s.SKi);_renderer=(0,s.WQX)(e.sFG);nativeElement=(0,s.WQX)(e.aKT).nativeElement;menuStack=(0,s.WQX)(x);menuAim=(0,s.WQX)(te,{optional:!0,self:!0});dir=(0,s.WQX)(O.dS,{optional:!0});_allItems;id=(0,s.WQX)(W.g).getId("cdk-menu-");items=new e.rOR;orientation="vertical";isInline=!1;keyManager;destroyed=new b.B;triggerItem;pointerTracker;_menuStackHasFocus=(0,s.vPA)(!1);_tabIndexSignal=(0,p.EW)(()=>{const t=this._menuStackHasFocus()?-1:0;return this.isInline?t:null});ngAfterContentInit(){this.isInline||this.menuStack.push(this),this._setItems(),this._setKeyManager(),this._handleFocus(),this._subscribeToMenuStackHasFocus(),this._subscribeToMenuOpen(),this._subscribeToMenuStackClosed(),this._setUpPointerTracker()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.nativeElement),this.keyManager?.destroy(),this.destroyed.next(),this.destroyed.complete(),this.pointerTracker?.destroy()}focusFirstItem(t="program"){this.keyManager.setFocusOrigin(t),this.keyManager.setFirstItemActive()}focusLastItem(t="program"){this.keyManager.setFocusOrigin(t),this.keyManager.setLastItemActive()}setActiveMenuItem(t){this.keyManager?.setActiveItem(t)}_getTabIndex(){return this._tabIndexSignal()}closeOpenMenu(t,i){const{focusParentTrigger:o}={...i},r=this.keyManager,c=this.triggerItem;t===c?.getMenuTrigger()?.getMenu()&&(c?.getMenuTrigger()?.close(),o&&(c?r.setActiveItem(c):r.setFirstItemActive()))}_setItems(){this._allItems.changes.pipe((0,I.Z)(this._allItems),(0,k.Q)(this.destroyed)).subscribe(t=>{this.items.reset(t.filter(i=>i._parentMenu===this)),this.items.notifyOnChanges()})}_setKeyManager(){this.keyManager=new h.B(this.items).withWrap().withTypeAhead().withHomeAndEnd().skipPredicate(()=>!1),"horizontal"===this.orientation?this.keyManager.withHorizontalOrientation(this.dir?.value||"ltr"):this.keyManager.withVerticalOrientation()}_subscribeToMenuOpen(){const t=(0,F.h)(this.items.changes,this.destroyed);this.items.changes.pipe((0,I.Z)(this.items),(0,ue.Z)(i=>i.filter(o=>o.hasMenu).map(o=>o.getMenuTrigger().opened.pipe((0,de.u)(o),(0,k.Q)(t)))),(0,Q.U)(),(0,N.n)(i=>(this.triggerItem=i,i.getMenuTrigger().closed)),(0,k.Q)(this.destroyed)).subscribe(()=>this.triggerItem=void 0)}_subscribeToMenuStackClosed(){this.menuStack.closed.pipe((0,k.Q)(this.destroyed)).subscribe(({item:t,focusParentTrigger:i})=>this.closeOpenMenu(t,{focusParentTrigger:i}))}_subscribeToMenuStackHasFocus(){this.isInline&&this.menuStack.hasFocus.pipe((0,k.Q)(this.destroyed)).subscribe(t=>{this._menuStackHasFocus.set(t)})}_setUpPointerTracker(){this.menuAim&&(this.ngZone.runOutsideAngular(()=>{this.pointerTracker=new rt(this._renderer,this.items)}),this.menuAim.initialize(this,this.pointerTracker))}_handleFocus(){this._focusMonitor.monitor(this.nativeElement,!1).pipe((0,k.Q)(this.destroyed)).subscribe(t=>{null!==t&&"mouse"!==t&&this.focusFirstItem(t)})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=e.xGo(n)))(o||n)}})();static \u0275dir=e.FsC({type:n,contentQueries:function(i,o,r){if(1&i&&e.wni(r,w,5),2&i){let c;e.mGM(c=e.lsd())&&(o._allItems=c)}},hostAttrs:["role","menu"],hostVars:4,hostBindings:function(i,o){1&i&&e.bIt("focusin",function(){return o.menuStack.setHasFocus(!0)})("focusout",function(){return o.menuStack.setHasFocus(!1)}
1),2&i&&(e.Avn("tabIndex",o._getTabIndex())("id",o.id),e.BMQ("aria-orientation",o.orientation)("data-cdk-menu-stack-id",o.menuStack.id))},inputs:{id:"id"},features:[e.Vt3]})}return n})(),ge=(()=>{class n extends Ee{_parentTrigger=(0,s.WQX)(ee,{optional:!0});closed=new s.bkB;orientation="vertical";isInline=!this._parentTrigger;constructor(){super(),this.destroyed.subscribe(this.closed),this._parentTrigger?.registerChildMenu(this)}ngAfterContentInit(){super.ngAfterContentInit(),this._subscribeToMenuStackEmptied()}ngOnDestroy(){super.ngOnDestroy(),this.closed.complete()}_handleKeyEvent(t){const i=this.keyManager;switch(t.keyCode){case d.UQ:case d.LE:(0,m.rp)(t)||(t.preventDefault(),i.setFocusOrigin("keyboard"),i.onKeydown(t));break;case d._f:(0,m.rp)(t)||(t.preventDefault(),this.menuStack.close(this,{focusNextOnEmpty:M.currentItem,focusParentTrigger:!0}));break;case d.wn:(0,m.rp)(t,"altKey","metaKey","ctrlKey")||this.menuStack.closeAll({focusParentTrigger:!0});break;default:i.onKeydown(t)}}_toggleMenuFocus(t){const i=this.keyManager;switch(t){case M.nextItem:i.setFocusOrigin("keyboard"),i.setNextItemActive();break;case M.previousItem:i.setFocusOrigin("keyboard"),i.setPreviousItemActive();break;case M.currentItem:i.activeItem&&(i.setFocusOrigin("keyboard"),i.setActiveItem(i.activeItem))}}
1_subscribeToMenuStackEmptied(){this.menuStack.emptied.pipe((0,k.Q)(this.destroyed)).subscribe(t=>this._toggleMenuFocus(t))}static \u0275fac=function(i){return new(i||n)};static \u0275dir=e.FsC({type:n,selectors:[["","cdkMenu",""]],hostAttrs:["role","menu",1,"cdk-menu"],hostVars:2,hostBindings:function(i,o){1&i&&e.bIt("keydown",function(c){return o._handleKeyEvent(c)}),2&i&&e.AVh("cdk-menu-inline",o.isInline)},outputs:{closed:"closed"},exportAs:["cdkMenu"],features:[e.Jv_([{provide:v,useExisting:n},{provide:T,useExisting:n},ke("vertical")]),e.Vt3]})}return n})(),P=(()=>{class n extends w{checked=!1;closeOnSpacebarTrigger=!1;static \u0275fac=(()=>{let t;return function(o){return(t||(t=e.xGo(n)))(o||n)}})();static \u0275dir=e.FsC({type:n,hostVars:2,hostBindings:function(i,o){2&i&&e.BMQ("aria-checked",!!o.checked)("aria-disabled",o.disabled||null)},inputs:{checked:[2,"cdkMenuItemChecked","checked",l.L39]},features:[e.Vt3]})}return n})(),Oe=(()=>{class n extends P{_selectionDispatcher=(0,s.WQX)(J.z);_id=(0,s.WQX)(W.g).getId("cdk-menu-item-radio-");_removeDispatcherListener;constructor(){super(),this._removeDispatcherListener=this._selectionDispatcher.listen(t=>{this.checked=this._id===t})}ngOnDestroy(){super.ngOnDestroy(),this._removeDispatcherListener()}trigger(t){super.trigger(t),this.disabled||this._selectionDispatcher.notify(this._id,"")}static \u0275fac=function(i){return new(i||n)};static \u0275dir=e.FsC({type:n,selectors:[["","cdkMenuItemRadio",""]],hostAttrs:["role","menuitemradio"],hostVars:2,hostBindings:function(i,o){2&i&&e.AVh("cdk-menu-item-radio",!0)},exportAs:["cdkMenuItemRadio"],features:[e.Jv_([{provide:P,useExisting:n},{provide:w,useExisting:P}]),e.Vt3]})}return n})(),_e=(()=>{class n extends P{trigger(t){super.trigger(t),this.disabled||(this.checked=!this.checked)}static \u0275fac=(()=>{let t;return function(o){return(t||(t=e.xGo(n)))(o||n)}})();static \u0275dir=e.FsC({type:n,selectors:[["","cdkMenuItemCheckbox",""]],hostAttrs:["role","menuitemcheckbox"],hostVars:2,hostBindings:function(i,o){2&i&&e.AVh("cdk-menu-item-checkbox",!0)},exportAs:["cdkMenuItemCheckbox"],features:[e.Jv_([{provide:P,useExisting:n},{provide:w,useExisting:P}]),e.Vt3]})}return n})();var ut=u(9337),ie=u(8834),fe=u(6695),R=u(4104),Ie=u(2215),De=u(3794),dt=u(6220),Ae=u(6354);const gt=()=>{const n=(0,s.WQX)(De.Qq),a=(0,s.WQX)(dt.J);return{load:(t,i)=>{const o=new De.Nl({fromObject:{base:t,user:i.filter(Pe),tag:i.filter(r=>!Pe(r))}});return n.get(a.getServiceUrl("hra-tag-search-view","rest/employee/query"),{params:o}).pipe((0,Ae.T)(_t))}}},_t=n=>{if(!oe(n)||!se(n.items)||!se(n.tags))throw new Error("employee query: response is not the expected search result envelope");return{items:n.items,tags:n.tags.map(ft).filter(a=>"Sortierung"!==a.name),filter:se(n.filter)?n.filter.filter(yt).map(({name:a,value:t})=>({name:a,value:t})):[]}},ft=n=>{if(!oe(n)||"string"!=typeof n.name||!se(n.values))throw new Error("employee query: a tag group is not the expected {name, values} shape");return"string"==typeof n.label?{name:n.name,label:n.label,values:n.values.map(we)}:{name:n.name,values:n.values.map(we)}},we=n=>{if(!oe(n)||"string"!=typeof n.value||"number"!=typeof n.hits)throw new Error("employee query: a tag value is not the expected {value, hits} shape");return"string"==typeof n.label?{value:n.value,hits:n.hits,label:n.label}:{value:n.value,hits:n.hits}},Pe=n=>n.includes("/"),yt=n=>oe(n)&&"string"==typeof n.name&&"string"==typeof n.value,oe=n=>"object"==typeof n&&null!==n,se=n=>Array.isArray(n);var Re=u(5246);let ae=(()=>{class n{constructor(){this.classD=(0,s.WQX)(Re.G_,{self:!0}),this.cmsId=this.classD.getRenderProperty("cmsid"),this.layoutClasses=this.classD.getRenderProperty("layoutClasses"),this.containerClasses=(0,p.EW)(()=>this.classD.containerClasses()),this.elementRef=(0,s.WQX)(e.aKT),this.dataset=(0,p.EW)(()=>this.elementRef.nativeElement.dataset),this.config=(0,p.EW)(()=>this.parseConfig(this.dataset().config)),this.description=(0,p.EW)(()=>this.config().subtitle),this.heading=(0,p.EW)(()=>this.config().header),this.headingType=(0,p.EW)(()=>this.config().headertype),this.userFilter=(0,p.EW)(()=>{const t=this.config().userFilter;return vt(t)?t:[]}),this.base=(0,p.EW)(()=>{const t=this.config().base;return bt(t)?t:[]})}parseConfig(t){if(!t)return{};try{return JSON.parse(t)}catch{return{}}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=e.FsC({type:n,features:[e.nM4([Re.G_])]})}}return n})();const bt=n=>Array.isArray(n)&&n.every(a=>"string"==typeof a),vt=n=>Array.isArray(n)&&n.every(Mt),Mt=n=>Ct(n)&&"string"==typeof n.label&&"string"==typeof n.tag,Ct=n=>"object"==typeof n&&null!==n;let kt=(()=>{class n{constructor(t){this.className="kf-chip-container",this.chipElement=t.nativeElement}ngAfterViewInit(){this.chipElement.querySelector(".mat-mdc-chip-graphic")?.classList.add("kf-chip-check-icon"),this.chipElement.querySelector(".mat-mdc-chip-action-label")?.classList.add("kf-chip-label"),this.chipElement.querySelector(".mat-mdc-chip-remove")?.classList.add("kf-chip-remove-button"),this.chipElement.querySelector(".mat-mdc-chip-trailing-icon")?.parentElement?.parentElement?.classList.add("kf-chip-trailing-icon")}static{this.\u0275fac=function(i){return new(i||n)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","kfChips",""]],hostVars:2,hostBindings:function(i,o){2&i&&e.HbH(o.className)}})}}return n})(),St=(()=>{class n{constructor(){this.className="kf-chips-set-container"}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","kfChipsSet",""]],hostVars:2,hostBindings:function(i,o){2&i&&e.HbH(o.className)}})}}return n})();var j=u(4341),B=u(9079),Ft=u(2765),D=u(7936),Be=u(7708);let xt=(()=>{class n extends _e{trigger(t){super.trigger({...t,keepOpen:!0})}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=e.xGo(n)))(o||n)}})()}static{this.\u0275dir=e.FsC({type:n,selectors:[["","cmsFacetMenuOption",""]],features:[e.Jv_([{provide:P,useExisting:n},{provide:w,useExisting:n}]),e.Vt3]})}}return n})();const Tt=["searchInput"];let ye=(()=>{class n extends ge{constructor(){super(...arguments),this.searchInput=(0,l.sbv)("searchInput"),this.windowRef=(0,s.WQX)(s.qQL).defaultView}focusFirstItem(t="program"){const i=this.searchInput();i&&this.windowRef?.matchMedia("(hover: hover) and (pointer: fine)").matches?i.nativeElement.focus():super.focusFirstItem(t)}resetActiveOption(){this.keyManager.updateActiveItem(-1)}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=e.xGo(n)))(o||n)}})()}static{this.\u0275dir=e.FsC({type:n,selectors:[["","cmsFacetMenuPanel",""]],contentQueries:function(i,o,r){1&i&&e.C6U(r,o.searchInput,Tt,5),2&i&&e.NyB()},features:[e.Jv_([{provide:v,useExisting:n},{provide:T,useExisting:n},ke("vertical")]),e.Vt3]})}}return n})();const Ot=["searchInput"],It=(n,a)=>a.value;function Dt(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",2)(1,"mat-form-field",5)(2,"mat-label"),e.EFF(3,"Durchsuchen"),e.k0s(),e.j41(4,"input",6,0),e.bIt("focus",function(){s.eBV(t);const o=e.XpG();return s.Njj(o.onSearchFocus())})("keydown",function(o){s.eBV(t);const r=e.XpG();return s.Njj(r.onSearchKeydown(o))}
1),e.k0s(),e.nrm(6,"kf-icon",7),e.k0s(),e.j41(7,"output",8),e.EFF(8),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(4),e.Y8G("formControl",t.searchTermControl),e.R7$(4),e.JRh(t.filteredOptionsCountLabel())}}function At(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",9),e.bIt("cdkMenuItemTriggered",function(){const o=s.eBV(t).$implicit,r=e.XpG();return s.Njj(r.selectFacetValue(o.value))})("keydown.arrowup",function(o){const r=s.eBV(t).$index,c=e.XpG();return s.Njj(c.moveFocusBackToSearch(o,0===r))}),e.nrm(1,"mat-checkbox",10),e.j41(2,"span",11),e.EFF(3),e.k0s(),e.j41(4,"span",12),e.EFF(5),e.k0s()()}if(2&n){const t=a.$implicit;e.Y8G("cdkMenuItemChecked",t.selected),e.R7$(),e.Y8G("checked",t.selected),e.R7$(2),e.JRh(t.value),e.R7$(2),e.SpI(" (",t.hits,") ")}}function wt(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",13),e.bIt("keydown.arrowup",function(o){s.eBV(t);const r=e.XpG();return s.Njj(r.moveFocusBackToSearch(o,!0))}),e.EFF(1," Keine Treffer "),e.k0s()}}const Bt=new Set(["ArrowUp","ArrowDown","Escape","Tab"]);let Lt=(()=>{class n{constructor(){this.facetGroup=l.hFB.required(),this.facetValueSelected=(0,l.CGW)(),this.showSearch=(0,p.EW)(()=>this.facetGroup().options.length>8),this.searchInput=(0,l.ebz)("searchInput"),this.menuPanel=l.ebz.required(ye),this.searchTermControl=new j.MJ("",{nonNullable:!0}),this.searchTermControlChanges=(0,B.ot)(this.searchTermControl.valueChanges,{initialValue:this.searchTermControl.value}),this.filteredOptions=(0,p.EW)(()=>{const t=this.facetGroup().options,i=this.searchTermControlChanges().trim().toLowerCase();return i.length>=2?t.filter(({value:o})=>o.toLowerCase().includes(i)):t}),this.filteredOptionsCountLabel=(0,p.EW)(()=>`${String(this.filteredOptions().length)} Treffer`)}selectFacetValue(t){this.facetValueSelected.emit({category:this.facetGroup().category,value:t})}onSearchKeydown(t){Bt.has(t.key)||t.stopPropagation()}onSearchFocus(){this.menuPanel().resetActiveOption()}moveFocusBackToSearch(t,i){const o=this.searchInput();!i||!o||(t.preventDefault(),t.stopPropagation(),o.nativeElement.focus())}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["cms-facet-menu"]],viewQuery:function(i,o){1&i&&e.wEZ(o.searchInput,Ot,5)(o.menuPanel,ye,5),2&i&&e.NyB(2)},hostVars:2,hostBindings:function(i,o){2&i&&e.AVh("facet-menu--searchable",o.showSearch())},inputs:{facetGroup:[1,"facetGroup"]},outputs:{facetValueSelected:"facetValueSelected"},decls:5,vars:2,consts:[["searchInput",""],["cmsFacetMenuPanel","",1,"facet-menu__panel"],[1,"facet-menu__search-bar"],["cdkMonitorElementFocus","","cmsFacetMenuOption","","type","button",1,"facet-menu__option",3,"cdkMenuItemChecked"],["cdkMenuItem","","cdkMenuItemDisabled","","cdkMonitorElementFocus","","type","button",1,"facet-menu__option"],["subscriptSizing","dynamic",1,"notranslate","kf-form-field-compact","facet-menu__search"],["matInput","","placeholder","Durchsuchen",3,"focus","keydown","formControl"],["aria-hidden","true","matPrefix","","name","ic_search_24"],[1,"facet-menu__sr-only"],["cdkMonitorElementFocus","","cmsFacetMenuOption","","type","button",1,"facet-menu__option",3,"cdkMenuItemTriggered","keydown.arrowup","cdkMenuItemChecked"],["aria-hidden","true","tabindex","-1",1,"facet-menu__check",3,"checked"],[1,"facet-menu__label"],[1,"facet-menu__hits"],["cdkMenuItem","","cdkMenuItemDisabled","","cdkMonitorElementFocus","","type","button",1,"facet-menu__option",3,"keydown.arrowup"]],template:function(i,o){1&i&&(e.j41(0,"div",1),e.nVh(1,Dt,9,2,"div",2),e.Z7z(2,At,6,4,"button",3,It,!1,wt,2,0,"button",4),e.k0s()),2&i&&(e.R7$(),e.vxM(o.showSearch()?1:-1),e.R7$(),e.Dyx(o.filteredOptions()))},dependencies:[j.X1,j.me,j.BC,j.l_,Ft.So,D.rl,Be.fg,D.nJ,D.JW,w,E.vR,R.KY,xt,ye],styles:['[_nghost-%COMP%]{display:block;max-block-size:min(80svh,30rem);overflow-y:auto;background-color:var(--color-background-card);border-radius:var(--options-widget-border-radius);box-shadow:var(--options-effect-overlay)}.facet-menu--searchable[_nghost-%COMP%]{inline-size:min(20rem,100vw - 2rem);min-block-size:16rem}.facet-menu__search-bar[_ngcontent-%COMP%]{position:sticky;z-index:1;inset-block-start:0;padding:.5rem 1rem;background-color:var(--color-background-card);border-block-end:.0625rem solid var(--color-stroke-weak, #d4d4d4)}
1.facet-menu__search-bar[_ngcontent-%COMP%] .facet-menu__search[_ngcontent-%COMP%]{inline-size:100%;padding-block-end:0}.facet-menu__option[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;inline-size:100%;min-block-size:3rem;padding-block:0;padding-inline:1rem;color:var(--color-foreground-text);font-family:var(--font-config-body-1-font-family);font-size:var(--font-config-body-1-font-size);font-weight:var(--font-config-body-1-font-weight);text-align:start;background-color:transparent;border:0;cursor:pointer}.facet-menu__option[_ngcontent-%COMP%]:hover:not([aria-disabled=true]){background-color:var(--state-default-hover)}.facet-menu__option[_ngcontent-%COMP%]:focus-visible, .facet-menu__option.cdk-keyboard-focused[_ngcontent-%COMP%]{outline:none}.facet-menu__option[_ngcontent-%COMP%]:focus-visible:after, .facet-menu__option.cdk-keyboard-focused[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:.375rem;box-shadow:var(--options-focus-box-shadow)}.facet-menu__option[aria-disabled=true][_ngcontent-%COMP%]{cursor:default;opacity:var(--options-widget-opacity-disabled)}.facet-menu__check[_ngcontent-%COMP%]{pointer-events:none}.facet-menu__label[_ngcontent-%COMP%]{flex:1 1 auto;margin-inline:.5rem}.facet-menu__hits[_ngcontent-%COMP%]{color:var(--color-foreground-text-weak, #6b6b6b);font-variant-numeric:tabular-nums}.facet-menu__sr-only[_ngcontent-%COMP%]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}'],changeDetection:0})}}return n})();const Ht=(n,a)=>a.category;function Nt(n,a){1&n&&e.nrm(0,"kf-icon",5)}function Vt(n,a){if(1&n&&e.EFF(0),2&n){const t=e.XpG().$implicit;e.SpI(" (",t.optionsSelectedCount,") ")}}function Wt(n,a){if(1&n){const t=e.RV6();e.j41(0,"cms-facet-menu",8),e.bIt("facetValueSelected",function(o){s.eBV(t);const r=e.XpG(2);return s.Njj(r.facetValueSelected.emit(o))}),e.k0s()}if(2&n){const t=e.XpG().$implicit;e.Y8G("facetGroup",t)}}function Gt(n,a){if(1&n&&(e.j41(0,"button",4),e.nVh(1,Nt,1,0,"kf-icon",5),e.j41(2,"span",6),e.EFF(3),e.nVh(4,Vt,1,1),e.k0s(),e.nrm(5,"kf-icon",7),e.k0s(),e.DNE(6,Wt,1,1,"ng-template",null,0,e.C5r)),2&n){const t=a.$implicit,i=e.sdS(7);e.AVh("mat-mdc-chip-selected",t.optionsSelectedCount>0),e.Y8G("cdkMenuTriggerFor",i),e.R7$(),e.vxM(t.optionsSelectedCount>0?1:-1),e.R7$(2),e.SpI(" ",t.displayLabel," "),e.R7$(),e.vxM(t.optionsSelectedCount>0?4:-1)}}function jt(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",9),e.bIt("click",function(){s.eBV(t);const o=e.XpG();return s.Njj(o.cleared.emit())}),e.nrm(1,"kf-icon",10),e.j41(2,"span"),e.EFF(3,"Alle Filter l\xf6schen"),e.k0s()()}}let Xt=(()=>{class n{constructor(){this.facetGroups=l.hFB.required(),this.hasActiveFilters=l.hFB.required(),this.facetValueSelected=(0,l.CGW)(),this.cleared=(0,l.CGW)()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["cms-facet-panel"]],hostAttrs:["data-automation-id","cms-facet-panel"],inputs:{facetGroups:[1,"facetGroups"],hasActiveFilters:[1,"hasActiveFilters"]},outputs:{facetValueSelected:"facetValueSelected",cleared:"cleared"},decls:5,vars:1,consts:[["menu",""],[1,"facet-panel"],["aria-label","Filter","kfChipsSet","","role","group",1,"facet-panel__chips"],["data-automation-id","cms-facet-panel-clear","matButton","","type","button",1,"facet-panel__clear"],["cdkMonitorElementFocus","","data-automation-id","cms-facet-dropdown-trigger","kfChips","","type","button",1,"facet-panel__chip",3,"cdkMenuTriggerFor"],["name","ic_haken_24",1,"kf-chip-check-icon"],[1,"facet-panel__chip-label","kf-chip-label"],["name","ic_chevron_unten_16",1,"facet-panel__chip-chevron"],[3,"facetValueSelected","facetGroup"],["data-automation-id","cms-facet-panel-clear","matButton","","type","button",1,"facet-panel__clear",3,"click"],["name","ic_filtern_entfernen_24"]],template:function(i,o){1&i&&(e.j41(0,"div",1)(1,"div",2),e.Z7z(2,Gt,8,6,null,null,Ht),e.k0s(),e.nVh(4,jt,4,0,"button",3),e.k0s()),2&i&&(e.R7$(2),e.Dyx(o.facetGroups()),e.R7$(2),e.vxM(o.hasActiveFilters()?4:-1))},dependencies:[ne,E.vR,kt,St,R.KY,ie.$z,Lt],styles:["[_nghost-%COMP%]{display:block}.facet-panel[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.facet-panel__chips[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;row-gap:.5rem}.facet-panel__chip[_ngcontent-%COMP%]{position:relative;min-block-size:2rem;padding-block:0;padding-inline:.5rem .25rem;font-family:inherit;font-size:var(--typography-button-font-size);line-height:var(--typography-button-line-height);background-color:transparent;cursor:pointer}.facet-panel__chip[_ngcontent-%COMP%]:focus-visible{outline:none;
1box-shadow:var(--options-focus-box-shadow)}.facet-panel__chip-label[_ngcontent-%COMP%]{white-space:nowrap}.facet-panel__chip-chevron[_ngcontent-%COMP%]{inline-size:1rem;block-size:1rem;margin-inline-start:.25rem}.facet-panel__clear[_ngcontent-%COMP%]{flex:0 0 auto}"],changeDetection:0})}}return n})();var Le=u(3848),L=u(5868),zt=u(9651),$=u(144),Kt=u(7421),be=u(8359),He=u(7673),Qt=u(9030),Ne=u(1985),Ve=u(8649),We=u(1535);var Ut=u(5478),Yt=u(7523),Zt=u(8141),Jt=u(1986),qt=u(6697);const en=["panel"],tn=["*"];function nn(n,a){if(1&n&&(e.rj2(0,"div",1,0),e.SdG(2),e.eux()),2&n){const t=a.id,i=e.XpG();e.HbH(i._classList),e.AVh("mat-mdc-autocomplete-visible",i.showPanel)("mat-mdc-autocomplete-hidden",!i.showPanel)("mat-autocomplete-panel-animations-enabled",!i._animationsDisabled)("mat-primary","primary"===i._color)("mat-accent","accent"===i._color)("mat-warn","warn"===i._color),e.Avn("id",i.id),e.BMQ("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(t))}}class on{source;option;constructor(a,t){this.source=a,this.option=t}}const Ge=new s.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:()=>({autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1})});let sn=(()=>{class n{_changeDetectorRef=(0,s.WQX)(l.gRc);_elementRef=(0,s.WQX)(e.aKT);_defaults=(0,s.WQX)(Ge);_animationsDisabled=(0,Ve.Rc)();_activeOptionChanges=be.yU.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(t){this._color=t,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple=!1;optionSelected=new s.bkB;opened=new s.bkB;closed=new s.bkB;optionActivated=new s.bkB;set classList(t){this._classList=t,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(const t of this.options)t._changeDetectorRef.markForCheck()}id=(0,s.WQX)(W.g).getId("mat-autocomplete-");inertGroups;constructor(){const t=(0,s.WQX)(Kt.O);this.inertGroups=t?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new zt.A(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){const i=new on(this,t);this.optionSelected.emit(i)}_getPanelAriaLabelledby(t){return this.ariaLabel?null:this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_skipPredicate(){return!1}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=e.VBU({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(i,o,r){if(1&i&&e.wni(r,L.wT,5)(r,L.QC,5),2&i){let c;e.mGM(c=e.lsd())&&(o.options=c),e.mGM(c=e.lsd())&&(o.optionGroups=c)}},viewQuery:function(i,o){if(1&i&&e.GBs(e.C4Q,7)(en,5),2&i){let r;e.mGM(r=e.lsd())&&(o.template=r.first),e.mGM(r=e.lsd())&&(o.panel=r.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",l.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",l.L39],requireSelection:[2,"requireSelection","requireSelection",l.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",l.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",l.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[e.Jv_([{provide:L.is,useExisting:n}])],ngContentSelectors:tn,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(i,o){1&i&&(e.NAR(),e.PeT(0,nn,3,17,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel {\n width: 100%;\n max-height: 256px;\n visibility: hidden;\n transform-origin: center top;\n overflow: auto;\n padding: 8px 0;\n box-sizing: border-box;\n position: relative;\n border-radius: var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));\n box-shadow: var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));\n background-color: var(--mat-autocomplete-background-color, var(--mat-sys-surface-container));\n}\n@media (forced-colors: active) {\n div.mat-mdc-autocomplete-panel {\n outline: solid 1px;\n }\n}\n.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n transform-origin: center bottom;\n}\ndiv.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible {\n visibility: visible;\n}\n\ndiv.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden,\n.cdk-overlay-pane:has(> .mat-mdc-autocomplete-hidden) {\n visibility: hidden;\n pointer-events: none;\n}\n\n@keyframes _mat-autocomplete-enter {\n from {\n opacity: 0;\n transform: scaleY(0.8);\n }\n to {\n opacity: 1;\n transform: none;\n }\n}\n.mat-autocomplete-panel-animations-enabled {\n animation: _mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1);\n}\n\nmat-autocomplete {\n display: none;\n}\n"],encapsulation:2,changeDetection:0})}return n})();const an={provide:j.kq,useExisting:(0,s.Rfq)(()=>re),multi:!0},rn=new s.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const n=(0,s.WQX)(s.zZn);return()=>(0,C.RH)(n)}});let re=(()=>{class n{_environmentInjector=(0,s.WQX)(s.uvJ);_element=(0,s.WQX)(e.aKT);_injector=(0,s.WQX)(s.zZn);
1_viewContainerRef=(0,s.WQX)(e.c1b);_zone=(0,s.WQX)(s.SKi);_changeDetectorRef=(0,s.WQX)(l.gRc);_dir=(0,s.WQX)(O.dS,{optional:!0});_formField=(0,s.WQX)(D.xb,{optional:!0,host:!0});_viewportRuler=(0,s.WQX)(Ut.Xj);_scrollStrategy=(0,s.WQX)(rn);_renderer=(0,s.WQX)(e.sFG);_animationsDisabled=(0,Ve.Rc)();_defaults=(0,s.WQX)(Ge,{optional:!0});_overlayRef=null;_portal;_componentDestroyed=!1;_initialized=new b.B;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue=null;_valueOnAttach=null;_valueOnLastKeydown=null;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=be.yU.EMPTY;_breakpointObserver=(0,s.WQX)(We.Q);_handsetLandscapeSubscription=be.yU.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption=null;_closeKeyEventStream=new b.B;_overlayPanelClass=(0,Yt.F)(this._defaults?.overlayPanelClass||[]);_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled=!1;constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&(0,$.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,F.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,H.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,H.p)(()=>this._overlayAttached)):(0,He.of)()).pipe((0,Ae.T)(t=>t instanceof L.MI?t:null))}optionSelections=(0,Qt.v)(()=>{const t=this.autocomplete?this.autocomplete.options:null;return t?t.changes.pipe((0,I.Z)(t),(0,N.n)(()=>(0,F.h)(...t.map(i=>i.onSelectionChange)))):this._initialized.pipe((0,N.n)(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new Ne.c(t=>{const i=r=>{const c=(0,G.Fb)(r),_=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,y=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&c!==this._element.nativeElement&&!this._hasFocus()&&(!_||!_.contains(c))&&(!y||!y.contains(c))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(c)&&t.next(r)},o=[this._renderer.listen("document","click",i),this._renderer.listen("document","auxclick",i),this._renderer.listen("document","touchend",i)];return()=>{o.forEach(r=>r())}})}writeValue(t){Promise.resolve(null).then(()=>this._assignOptionValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const i=t,o=i.keyCode,r=(0,m.rp)(i);if(o===d._f&&!r&&i.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&o===d.Fm&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),i.preventDefault();else if(this.autocomplete){const c=this.autocomplete._keyManager.activeItem,_=o===d.i7||o===d.n6;o===d.wn||_&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(i):_&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(_||this.autocomplete._keyManager.activeItem!==c)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pe
1ndingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(t){let i=t.target,o=i.value;if("number"===i.type&&(o=""==o?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),o){if(this.panelOpen&&!this.autocomplete.requireSelection){const r=this.autocomplete.options?.find(c=>c.selected);r&&o!==this._getDisplayValue(r.value)&&r.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._hasFocus()){const r=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(r)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return(0,G.vc)()===this._element.nativeElement}_floatLabel(t=!1){this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const t=new Ne.c(o=>{(0,e.mal)(()=>{o.next()},{injector:this._environmentInjector})}),i=this.autocomplete.options?.changes.pipe((0,Zt.M)(()=>this._positionStrategy.reapplyLastPosition()),(0,Jt.c)(0))??(0,He.of)();return(0,F.h)(t,i).pipe((0,N.n)(()=>this._zone.run(()=>{const o=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),(0,qt.s)(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(t){const i=this.autocomplete;return i&&i.displayWith?i.displayWith(t):t}_assignOptionValue(t){const i=this._getDisplayValue(t);null==t&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(i??"")}_updateNativeInputValue(t){this._formField?this._formField._control.value=t:this._element.nativeElement.value=t,this._previousValue=t}_setValueAndClose(t){const i=this.autocomplete,o=t?t.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),i._emitSelectEvent(o),this._element.nativeElement.focus()):i.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(t,i){this.autocomplete?.options?.forEach(o=>{o!==t&&o.selected&&o.deselect(i)})}_openPanelInternal(t=this._element.nativeElement.value){this._attachOverlay(t),this._floatLabel(),this._trackedModal&&(0,$.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(t){if(!this.autocomplete)return;let i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new Z.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),i=(0,C.Y$)(this._injector,this._getOverlayConfig()),this._overlayRef=i,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&i&&i.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe("(max-width: 959.98px) and (orientation: landscape)").subscribe(r=>{r.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),i&&!i.hasAttached()&&(i.attach(this._portal),this._valueOnAttach=t,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=t=>{(t.keyCode===d._f&&!(0,m.rp)(t)||t.keyCode===d.i7&&(0,m.rp)(t,"altKey"))&&(this._pe
1ndingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),t.stopPropagation(),t.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const t=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=t.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=t.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=void 0}_getOverlayConfig(){return new C.rR({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this._overlayPanelClass,disableAnimations:this._animationsDisabled})}_getOverlayPosition(){const t=(0,C.$M)(this._injector,this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPopoverLocation("inline");return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}];let c;c="above"===this.position?r:"below"===this.position?i:[...i,...r],t.withPositions(c)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const t=this.autocomplete;if(t.autoActiveFirstOption){let i=-1;for(let o=0;o<t.options.length;o++)if(!t.options.get(o).disabled){i=o;break}t._keyManager.setActiveItem(i)}else t._keyManager.setActiveItem(-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this.autocompleteDisabled}_scrollToOption(t){const i=this.autocomplete,o=(0,L.jb)(t,i.options,i.optionGroups);if(0===t&&1===o)i._setScrollTop(0);else if(i.panel){const r=i.options.toArray()[t];if(r){const c=r._getHostElement(),_=(0,L.TL)(c.offsetTop,c.offsetHeight,i._getScrollTop(),i.panel.nativeElement.offsetHeight);i._setScrollTop(_)}}}_trackedModal=null;_applyModalPanelOwnership(){const t=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;const i=this.autocomplete.id;this._trackedModal&&(0,$.Ae)(this._trackedModal,"aria-owns",i),(0,$.px)(t,"aria-owns",i),this._trackedModal=t}_clearFromModal(){this._trackedModal&&((0,$.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static \u0275fac=function(i){return new(i||n)};static \u0275dir=e.FsC({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(i,o){1&i&&e.bIt("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(c){return o._handleInput(c)})("keydown",function(c){return o._handleKeydown(c)})("click",function(){return o._handleClick()}),2&i&&e.BMQ("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||null==o.autocomplete?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",l.L39]},exportAs:["matAutocompleteTrigger"],features:[e.Jv_([an]),e.OA$]})}return n})();const U=n=>n.toLowerCase(),cn=["searchInput"],un=(n,a)=>a.value;function dn(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",9),e.bIt("click",function(){s.eBV(t);const o=e.XpG();return s.Njj(o.clearSearch())}),e.nrm(1,"kf-icon",10),e.k0s()}}function mn(n,a){if(1&n&&(e.j41(0,"span",11),e.EFF(1),e.j41(2,"strong"),e.EFF(3),e.k0s(),e.EFF(4),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.before),e.R7$(2),e.JRh(t.match),e.R7$(),e.JRh(t.after)}}function hn(n,a){if(1&n&&(e.j41(0,"span",11),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(),e.JRh(t.value)}}function pn(n,a){if(1&n&&(e.j41(0,"mat-option",8),e.nVh(1,mn,5,3,"span",11)(2,hn,2,1,"span",11),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.value),e.R7$(),e.vxM(t.match?1:2)}}function gn(n,a){if(1&n&&(e.j41(0,"mat-option",8),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("value",t.searchTerm()),e.R7$(),e.SpI("Nach \u201e",t.searchTerm(),"\u201c suchen")}}
1function _n(n,a){if(1&n&&e.nVh(0,gn,2,2,"mat-option",8),2&n){const t=e.XpG();e.vxM(t.showsSearchForTermOption()?0:-1)}}let Mn=(()=>{class n{constructor(){this.searchTerm=(0,l.geq)(""),this.suggestionPool=l.hFB.required(),this.searchSubmitted=(0,l.CGW)(),this.autocompleteTrigger=l.ebz.required(re),this.searchInput=l.ebz.required("searchInput"),this.debouncedTerm=(0,B.ot)((0,B.br)(this.searchTerm).pipe((0,z.B)(200)),{initialValue:""}),this.suggestions=(0,p.EW)(()=>{const t=U(this.debouncedTerm().trim());return t.length<2?[]:((n,a)=>{const t=new Map;for(const i of n){const o=U(i);if(o.includes(a)&&!t.has(o)&&(t.set(o,i),10===t.size))break}return[...t.values()]})(this.suggestionPool(),t).map(i=>((n,a)=>{const t=U(n),i=t.indexOf(a);return i<0||t.length!==n.length?{value:n,before:n,match:"",after:""}:{value:n,before:n.slice(0,i),match:n.slice(i,i+a.length),after:n.slice(i+a.length)}})(i,t))}),this.showsSearchForTermOption=(0,p.EW)(()=>0===this.suggestions().length&&this.debouncedTerm().trim().length>=2)}submitSearch(t){t.preventDefault(),this.searchSubmitted.emit(this.searchTerm().trim()),this.autocompleteTrigger().closePanel()}submitSuggestion({option:t}){const i=t.value;"string"==typeof i&&(this.searchTerm.set(i),this.searchSubmitted.emit(i))}clearSearch(){this.searchTerm.set(""),this.searchSubmitted.emit(""),this.searchInput().nativeElement.focus()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["cms-search-field"]],viewQuery:function(i,o){1&i&&e.wEZ(o.autocompleteTrigger,re,5)(o.searchInput,cn,5),2&i&&e.NyB(2)},inputs:{searchTerm:[1,"searchTerm"],suggestionPool:[1,"suggestionPool"]},outputs:{searchTerm:"searchTermChange",searchSubmitted:"searchSubmitted"},decls:13,vars:4,consts:[["searchInput",""],["suggestionsPanel","matAutocomplete"],["role","search",1,"search-field",3,"submit"],[1,"notranslate","kf-form-field-compact","search-field__field"],["enterkeyhint","search","matInput","","placeholder","Nach Name, Standort oder Thema suchen",3,"input","matAutocomplete","value"],["aria-hidden","true","matPrefix","","name","ic_search_24"],["aria-label","Suche l\xf6schen","matIconButton","","matSuffix","","type","button"],[3,"optionSelected"],[3,"value"],["aria-label","Suche l\xf6schen","matIconButton","","matSuffix","","type","button",3,"click"],["name","ic_schliessen_24"],[1,"search-field__option"]],template:function(i,o){if(1&i){const r=e.RV6();e.j41(0,"form",2),e.bIt("submit",function(_){return o.submitSearch(_)}),e.j41(1,"mat-form-field",3)(2,"mat-label"),e.EFF(3,"Suche"),e.k0s(),e.j41(4,"input",4,0),e.bIt("input",function(){s.eBV(r);const _=e.sdS(5);return s.Njj(o.searchTerm.set(_.value))}),e.k0s(),e.nrm(6,"kf-icon",5),e.nVh(7,dn,2,0,"button",6),e.j41(8,"mat-autocomplete",7,1),e.bIt("optionSelected",function(_){return o.submitSuggestion(_)}),e.Z7z(10,pn,3,2,"mat-option",8,un,!1,_n,1,1),e.k0s()()()}if(2&i){const r=e.sdS(9);e.R7$(4),e.Y8G("matAutocomplete",r)("value",o.searchTerm()),e.R7$(3),e.vxM(o.searchTerm()?7:-1),e.R7$(3),e.Dyx(o.suggestions())}},dependencies:[R.KY,sn,re,D.rl,Le.iY,Be.fg,D.nJ,L.wT,D.JW,D.yw],styles:["[_nghost-%COMP%]{display:block}.search-field__field[_ngcontent-%COMP%]{width:100%}.search-field__option[_ngcontent-%COMP%]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}"],changeDetection:0})}}return n})();const Cn=(n,a)=>a.key;function kn(n,a){1&n&&e.nrm(0,"kf-icon",7)}function Sn(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",8),e.bIt("cdkMenuItemTriggered",function(){const o=s.eBV(t).$implicit,r=e.XpG();return s.Njj(r.sortKeySelected.emit(o.key))}),e.j41(1,"span",6)(2,"span"),e.EFF(3),e.k0s(),e.nVh(4,kn,1,0,"kf-icon",7),e.k0s()()}if(2&n){const t=a.$implicit,i=e.XpG();e.Y8G("cdkMenuItemChecked",t.key===i.activeSortKey()),e.R7$(3),e.JRh(t.label),e.R7$(),e.vxM(t.key===i.activeSortKey()?4:-1)}}function Fn(n,a){1&n&&e.nrm(0,"kf-icon",7)}function xn(n,a){1&n&&e.nrm(0,"kf-icon",7)}let Tn=0,En=(()=>{class n{constructor(){this.sortCriteria=l.hFB.required(),this.activeSortKey=l.hFB.required(),this.sortDirection=l.hFB.required(),this.sortKeySelected=(0,l.CGW)(),this.sortDirectionSelected=(0,l.CGW)(),this.sortMenuInstanceId=Tn++,this.sortCriteriaLabelId=`cms-sort-menu-criteria-label-${String(this.sortMenuInstanceId)}`,this.sortCriteriaHintId=`cms-sort-menu-criteria-hint-${String(this.sortMenuInstanceId)}`,this.sortDirectionLabelId=`cms-sort-menu-direction-label-${String(this.sortMenuInstanceId)}`,this.sortDirectionHintId=`cms-sort-menu-direction-hint-${String(this.sortMenuInstanceId)}`}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["cms-sort-menu"]],inputs:{sortCriteria:[1,"sortCriteria"],activeSortKey:[1,"activeSortKey"],sortDirection:[1,"sortDirection"]}
1,outputs:{sortKeySelected:"sortKeySelected",sortDirectionSelected:"sortDirectionSelected"},decls:23,vars:12,consts:[["cdkMenu","",1,"sort-menu__panel"],["role","group"],[1,"cdk-visually-hidden",3,"id"],["cdkMenuItemCheckbox","","cdkMonitorElementFocus","","type","button",1,"sort-menu__item",3,"cdkMenuItemChecked"],[1,"sort-menu__heading",3,"id"],["cdkMenuItemRadio","","cdkMonitorElementFocus","","type","button",1,"sort-menu__item",3,"cdkMenuItemTriggered","cdkMenuItemChecked"],[1,"sort-menu__row"],["aria-hidden","true","name","ic_haken_24"],["cdkMenuItemCheckbox","","cdkMonitorElementFocus","","type","button",1,"sort-menu__item",3,"cdkMenuItemTriggered","cdkMenuItemChecked"]],template:function(i,o){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"span",2),e.EFF(3," Sortieren nach "),e.k0s(),e.j41(4,"span",2),e.EFF(5," Das aktive Sortierkriterium kann erneut ausgew\xe4hlt werden, um zur urspr\xfcnglichen Reihenfolge zur\xfcckzukehren. "),e.k0s(),e.Z7z(6,Sn,5,3,"button",3,Cn),e.k0s(),e.j41(8,"p",4),e.EFF(9," Sortierreihenfolge "),e.k0s(),e.j41(10,"div",1)(11,"span",2),e.EFF(12," W\xe4hlen Sie genau eine Sortierreihenfolge aus. "),e.k0s(),e.j41(13,"button",5),e.bIt("cdkMenuItemTriggered",function(){return o.sortDirectionSelected.emit("ascending")}),e.j41(14,"span",6)(15,"span"),e.EFF(16,"A \u2013 Z"),e.k0s(),e.nVh(17,Fn,1,0,"kf-icon",7),e.k0s()(),e.j41(18,"button",5),e.bIt("cdkMenuItemTriggered",function(){return o.sortDirectionSelected.emit("descending")}),e.j41(19,"span",6)(20,"span"),e.EFF(21,"Z \u2013 A"),e.k0s(),e.nVh(22,xn,1,0,"kf-icon",7),e.k0s()()()()),2&i&&(e.R7$(),e.BMQ("aria-describedby",o.sortCriteriaHintId)("aria-labelledby",o.sortCriteriaLabelId),e.R7$(),e.Y8G("id",o.sortCriteriaLabelId),e.R7$(2),e.Y8G("id",o.sortCriteriaHintId),e.R7$(2),e.Dyx(o.sortCriteria()),e.R7$(2),e.Y8G("id",o.sortDirectionLabelId),e.R7$(2),e.BMQ("aria-describedby",o.sortDirectionHintId)("aria-labelledby",o.sortDirectionLabelId),e.R7$(),e.Y8G("id",o.sortDirectionHintId),e.R7$(2),e.Y8G("cdkMenuItemChecked","ascending"===o.sortDirection()),e.R7$(4),e.vxM("ascending"===o.sortDirection()?17:-1),e.R7$(),e.Y8G("cdkMenuItemChecked","descending"===o.sortDirection()),e.R7$(4),e.vxM("descending"===o.sortDirection()?22:-1))},dependencies:[ge,_e,Oe,E.vR,R.KY],styles:['[_nghost-%COMP%]{display:block;background-color:var(--color-background-card);border-radius:var(--options-widget-border-radius);box-shadow:var(--options-effect-overlay)}.sort-menu__heading[_ngcontent-%COMP%]{margin:.5rem 1rem .25rem;font-weight:600}.sort-menu__item[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;inline-size:100%;min-block-size:3rem;padding-block:0;padding-inline:1rem;color:var(--color-foreground-text);font-family:var(--font-config-body-1-font-family);font-size:var(--font-config-body-1-font-size);font-weight:var(--font-config-body-1-font-weight);text-align:start;background-color:transparent;border:0;cursor:pointer}.sort-menu__item[_ngcontent-%COMP%]:hover{background-color:var(--state-default-hover)}.sort-menu__item[_ngcontent-%COMP%]:focus-visible, .sort-menu__item.cdk-keyboard-focused[_ngcontent-%COMP%]{outline:none}.sort-menu__item[_ngcontent-%COMP%]:focus-visible:after, .sort-menu__item.cdk-keyboard-focused[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:.375rem;box-shadow:var(--options-focus-box-shadow)}.sort-menu__row[_ngcontent-%COMP%]{display:flex;gap:1rem;align-items:center;justify-content:space-between;width:100%}'],changeDetection:0})}}return n})();class Xe{}const ze=new s.nKC("faceted-search base filter tokens"),Ke=new s.nKC("faceted-search user filter groups");let Qe=(()=>{class n{constructor(){this.dataSource=(0,s.WQX)(Xe),this.baseFilterTokens=(0,s.WQX)(ze),this.userFilterGroups=(0,s.WQX)(Ke),this.selectedUserFilterTokens=(0,s.vPA)([]),this.hasActiveFilters=(0,p.EW)(()=>this.selectedUserFilterTokens().length>0),this.debouncedUserFilterTokens=(0,B.ot)((0,B.br)(this.selectedUserFilterTokens).pipe((0,V.i)(1),(0,z.B)(250),(0,I.Z)([]),(0,K.F)(In),(0,V.i)(1)),{initialValue:[]}),this.result=(0,B.ZX)({params:()=>({baseFilterTokens:this.baseFilterTokens,selectedUserFilterTokens:this.debouncedUserFilterTokens()}),stream:({params:t})=>this.dataSource.load(t.baseFilterTokens,t.selectedUserFilterTokens)}),this.isLoading=this.result.isLoading,this.error=this.result.error,this.loadedResult=(0,p.uu)({source:()=>this.result.hasValue()?this.result.value():void 0,computation:(t,i)=>t??i?.value}),this.items=(0,p.EW)(()=>this.loadedResult()?.items??[]),this.totalResults=(0,p.EW)(()=>this.items().length),this.facets=(0,p.EW)(()=>{const t=new Set(this.selectedUserFilterTokens()),i=this.loadedResult()?.tags??[];return this.userFilterGroups.flatMap(o=>{const r=i.find(c=>c.label===o.tag);return r?[this.toFacetGroup(r,o.label,t)]:[]})})}toggle(t,i){const o=this.resolveFilterToken(t,i),r=new Set(this.selectedUserFilterTokens());r.has(o)?r.delete(o):r.add(o),this.selectedUserFilterTokens.set([...r])}clear(){this.selectedUserFilterTokens.set([])}retry(){this.result.reload()}toFacetGroup(t,i,o){const r=t.name,c=t.values.map(_=>({value:_.value,hits:_.hits,selected:o.has(this.toFilterToken(r,_))}));return{category:r,displayLabel:i,optionsSelectedCount:c.filter(_=>_.selected).length,options:c}}resolveFilterToken(t,i){const o=this.loadedResult()?.tags.find(r=>r.name===t)?.values.find(r=>r.value===i);return o?this.toFilterToken(t,o):this.createFilterToken(t,i)}toFilterToken(t,i){return i.label??this.createFilterToken(t,i.value)}createFilterToken(t,i){return`${t}:${i}`}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=s.jDH({token:n,factory:n.\u0275fac})}}return n})();const In=(n,a)=>n.length===a.length&&n.every((t,i)=>t===a[i]),$e=n=>[`${n.firstname} ${n.lastname}`,...n.roles??[],...n.locations??[],...n.qualifications??[],...n.languages??[]],Ue=new Intl.Collator("de"),Ye=[{key:"name",label:"Name",comparator:(n,a)=>Ue.compare(n.lastname,a.lastname)||Ue.compare(n.firstname,a.firstname)}];function An(n){return"object"==typeof n&&null!==n&&":type"in n&&"webcenter/vertriebsplattform/components/web/okp/mitarbeiterkontakt"===n[":type"]}var wn=u(6638),Pn=u(345);const Rn=["*"],Bn=(n,a)=>[n,a];function Ln(n,a){if(1&n&&e.nrm(0,"kf-icon",3),2&n){const t=e.XpG(2);e.Y8G("alt",t.iconAltText)("name",t._iconName()+t.iconSize())}}function Hn(n,a){if(1&n&&e.nrm(0,"kf-icon",3),2&n){const t=e.XpG(2);e.Y8G("alt",t.iconAltText)("name",t._iconName()+"_24")}}function Nn(n,a){if(1&n&&e.nrm(0,"div",8),2&n){const t=e.XpG(2);e.AVh("kf-message-box-title-only",!t._descriptionHtml),e.Y8G("innerHTML",t._titleHtml,e.npT)}}function Vn(n,a){if(1&n&&e.nrm(0,"h1",8),2&n){const t=e.XpG(2);e.AVh("kf-message-box-title-only",!t._descriptionHtml),e.Y8G("innerHTML",t._titleHtml,e.npT)}}function Wn(n,a){if(1&n&&e.nrm(0,"h2",8),2&n){const t=e.XpG(2);e.AVh("kf-message-box-title-only",!t._descriptionHtml),e.Y8G("innerHTML",t._titleHtml,e.npT)}}function Gn(n,a){if(1&n&&e.nrm(0,"h3",8),2&n){const t=e.XpG(2);e.AVh("kf-message-box-title-only",!t._descriptionHtml),e.Y8G("innerHTML",t._titleHtml,e.npT)}}function jn(n,a){if(1&n&&e.nrm(0,"h4",8),2&n){const t=e.XpG(2);e.AVh("kf-message-box-title-only",!t._descriptionHtml),e.Y8G("innerHTML",t._titleHtml,e.npT)}}function Xn(n,a){if(1&n&&e.nrm(0,"h5",8),2&n){const t=e.XpG(2);e.AVh("kf-message-box-title-only",!t._descriptionHtml),e.Y8G("innerHTML",t._titleHtml,e.npT)}}function zn(n,a){if(1&n&&e.nrm(0,"h6",8),2&n){const t=e.XpG(2);e.AVh("kf-message-box-title-only",!t._descriptionHtml),e.Y8G("innerHTML",t._titleHtml,e.npT)}}function Kn(n,a){if(1&n&&e.nrm(0,"div",6),2&n){const t=e.XpG(2);e.Y8G("innerHTML",t._descriptionHtml,e.npT)}}function Qn(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",9),e.bIt("click",function(){s.eBV(t);const o=e.XpG(2);return s.Njj(o.removeMessageBox())}),e.nrm(1,"kf-icon",10),e.k0s()}if(2&n){const t=e.XpG(2);e.BMQ("data-automation-id",t.id+"-close-icon")("aria-label",t.ariaLabelCloseButton)}}function $n(n,a){if(1&n&&(e.j41(0,"div",1)(1,"div",2),e.nVh(2,Ln,1,2,"kf-icon",3)(3,Hn,1,2,"kf-icon",3),e.k0s(),e.j41(4,"div",4),e.nV
1h(5,Nn,1,3,"div",5)(6,Vn,1,3,"h1",5)(7,Wn,1,3,"h2",5)(8,Gn,1,3,"h3",5)(9,jn,1,3,"h4",5)(10,Xn,1,3,"h5",5)(11,zn,1,3,"h6",5),e.nVh(12,Kn,1,1,"div",6),e.SdG(13),e.k0s(),e.nVh(14,Qn,2,2,"button",7),e.k0s()),2&n){let t,i;const o=e.XpG();e.HbH(e.l_i(8,Bn,o._stateClassName(),o._typeClassName())),e.R7$(2),e.vxM("kf-message-box-page"===(t=o._typeClassName())?2:"kf-message-box-simple"===t?3:-1),e.R7$(2),e.AVh("kf-message-box-with-close-icon",o.closeIcon),e.R7$(),e.vxM("h1"===(i=o.titleTag)?6:"h2"===i?7:"h3"===i?8:"h4"===i?9:"h5"===i?10:"h6"===i?11:5),e.R7$(7),e.vxM(o._descriptionHtml?12:-1),e.R7$(2),e.vxM(o.closeIcon?14:-1)}}let Un=(()=>{class n{constructor(){this.open=!0,this.type=(0,l.hFB)(""),this._typeClassName=(0,p.EW)(()=>{const t=this.type();return this.typeClass(t)}),this.state=(0,l.hFB)(""),this._stateClassName=(0,p.EW)(()=>{const t=this.state();return this.stateClass(t)}),this._titleText="",this._titleHtml="",this._descriptionHtml="",this.iconName=(0,l.hFB)(""),this._iconName=(0,p.EW)(()=>{const t=this.iconName();return this.getIconName(t)}),this.iconAltText="",this.closeIcon=!1,this.ariaLabelCloseButton="Schlie\xdfen",this.closeIconClicked=new s.bkB,this.sanitizer=(0,s.WQX)(Pn.up),this.breakpointObserver=(0,s.WQX)(We.Q),this.elementRef=(0,s.WQX)(e.aKT),this.breakpointSignal=(0,B.ot)(this.breakpointObserver.observe(["(min-width: 600px)"]),{initialValue:{matches:!1,breakpoints:{"(min-width: 600px)":!1}}}),this.iconSize=(0,p.EW)(()=>this.breakpointSignal().matches?"_96":"_48")}set titleText(t){this._titleText=t,this._titleHtml=this.getSafeInnerHTML(t)}set description(t){this._descriptionHtml=this.getSafeInnerHTML(t)}typeClass(t){switch(t){case"page":return"kf-message-box-page";case"simple":return"kf-message-box-simple";default:return""}}stateClass(t){switch(t){case"success":return"kf-message-box-success";case"neutral":return"kf-message-box-neutral";case"error":return"kf-message-box-error";case"alert":return"kf-message-box-alert";default:return""}}getIconName(t){const c=t.substring(t.length-2,t.length-3),_=t.substring(t.length-1,t.length-2),y=t.substring(t.length-1,t.length);return c.match("_")&&_.match("[0-9]")&&y.match("[0-9]")?t.substring(0,t.length-3):t}getSafeInnerHTML(t){return this.sanitizer.sanitize(e.WPN.HTML,t)}removeMessageBox(){this.closeIconClicked.emit(this.id),this.open=!1,this.elementRef.nativeElement.remove()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["kf-message-box"]],inputs:{type:[1,"type"],state:[1,"state"],titleText:"titleText",description:"description",iconName:[1,"iconName"],iconAltText:"iconAltText",closeIcon:[2,"closeIcon","closeIcon",l.L39],ariaLabelCloseButton:"ariaLabelCloseButton",id:"id",titleTag:"titleTag"},outputs:{closeIconClicked:"closeIconClicked"},ngContentSelectors:Rn,decls:1,vars:1,consts:[[1,"kf-message-box",3,"class"],[1,"kf-message-box"],[1,"kf-message-box-icon"],[3,"alt","name"],[1,"kf-message-box-content"],[1,"kf-message-box-title",3,"kf-message-box-title-only","innerHTML"],[1,"kf-message-box-description",3,"innerHTML"],["disableRipple","","matIconButton","","matSuffix","",1,"kf-icon-button-neutral","kf-message-box-close-icon"],[1,"kf-message-box-title",3,"innerHTML"],["disableRipple","","matIconButton","","matSuffix","",1,"kf-icon-button-neutral","kf-message-box-close-icon",3,"click"],["name","ic_schliessen_24"]],template:function(i,o){1&i&&(e.NAR(),e.nVh(0,$n,15,11,"div",0)),2&i&&e.vxM(o.open?0:-1)},dependencies:[R.KY,ie.Hl,Le.iY],styles:['.kf-message-box[_ngcontent-%COMP%]{position:relative;display:flex;border-radius:var(--options-widget-border-radius);padding:1rem}.kf-message-box.kf-message-box-success[_ngcontent-%COMP%]{background-color:var(--color-extend-status-positive-background)}.kf-message-box.kf-message-box-success[_ngcontent-%COMP%] .kf-message-box-icon[_ngcontent-%COMP%]{color:var(--color-extend-status-positive)}.kf-message-box.kf-message-box-neutral[_ngcontent-%COMP%]{background-color:var(--color-extend-status-neutral-grey-background)}.kf-message-box.kf-message-box-neutral[_ngcontent-%COMP%] .kf-message-box-icon[_ngcontent-%COMP%]{color:var(--color-extend-status-neutral-grey)}.kf-message-box.kf-message-box-error[_ngcontent-%COMP%]{background-color:var(--color-extend-status-negative-background)}.kf-message-box.kf-message-box-error[_ngcontent-%COMP%] .kf-message-box-icon[_ngcontent-%COMP%]{color:var(--color-extend-status-negative)}.kf-message-box.kf-message-box-alert[_ngcontent-%COMP%]{background-color:var(--options-priority-high-background)}.kf-message-box.kf-message-box-alert[_ngcontent-%COMP%] .kf-message-box-icon[_ngcontent-%COMP%]{color:var(--options-priority-high)}.kf-message-box[_ngcontent-%COMP%] .kf-message-box-content[_ngcontent-%COMP%]{display:block;width:100%;overflow-wrap:anywhere}.kf-message-box[_ngcontent-%COMP%] .kf-message-box-content[_ngcontent-%COMP%] .kf-message-box-title[_ngcontent-%COMP%]{color:var(--color-foreground-text)}.kf-message-box[_ngcontent-%COMP%] .kf-message-box-content[_ngcontent-%COMP%] .kf-message-box-description[_ngcontent-%COMP%]{font-size:var(--font-config-body-1-font-size);line-height:var(--font-config-body-1-line-height);font-weight:var(--font-config-body-1-font-weight);color:var(--color-foreground-text)}.kf-message-box.kf-message-box-page[_ngcontent-%COMP%]{flex-direction:column;align-items:center}.kf-message-box.kf-message-box-page[_ngcontent-%COMP%] .kf-message-box-icon[_ngcontent-%COMP%]{padding-bottom:1rem}.kf-message-box.kf-message-box-page[_ngcontent-%COMP%] .kf-message-box-content[_ngcontent-%COMP%]{text-align:center}.kf-message-box.kf-message-box-page[_ngcontent-%COMP%] .kf-message-box-content[_ngcontent-%COMP%] .kf-message-box-title[_ngcontent-%COMP%]{font-size:var(--font-config-body-title-font-size);line-height:var(--font-config-body-title-line-height);
1font-weight:var(--font-config-body-title-font-weight);margin:0}.kf-message-box.kf-message-box-page[_ngcontent-%COMP%] .kf-message-box-content[_ngcontent-%COMP%] .kf-message-box-title[_ngcontent-%COMP%]:not(.kf-message-box-title-only){padding-bottom:1rem}.kf-message-box.kf-message-box-simple[_ngcontent-%COMP%]{flex-direction:row;align-items:start}.kf-message-box.kf-message-box-simple[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;bottom:0;left:0;width:.1875rem}.kf-message-box.kf-message-box-simple.kf-message-box-success[_ngcontent-%COMP%]{border:.0625rem solid var(--color-extend-status-positive)}.kf-message-box.kf-message-box-simple.kf-message-box-success[_ngcontent-%COMP%]:before{background-color:var(--color-extend-status-positive)}.kf-message-box.kf-message-box-simple.kf-message-box-neutral[_ngcontent-%COMP%]{border:.0625rem solid var(--color-extend-status-neutral-grey)}.kf-message-box.kf-message-box-simple.kf-message-box-neutral[_ngcontent-%COMP%]:before{background-color:var(--color-extend-status-neutral-grey)}.kf-message-box.kf-message-box-simple.kf-message-box-error[_ngcontent-%COMP%]{border:.0625rem solid var(--color-extend-status-negative)}.kf-message-box.kf-message-box-simple.kf-message-box-error[_ngcontent-%COMP%]:before{background-color:var(--color-extend-status-negative)}.kf-message-box.kf-message-box-simple.kf-message-box-alert[_ngcontent-%COMP%]{border:.0625rem solid var(--options-priority-high)}.kf-message-box.kf-message-box-simple.kf-message-box-alert[_ngcontent-%COMP%]:before{background-color:var(--options-priority-high)}.kf-message-box.kf-message-box-simple[_ngcontent-%COMP%] .kf-message-box-icon[_ngcontent-%COMP%]{display:flex;padding-right:1rem}.kf-message-box.kf-message-box-simple[_ngcontent-%COMP%] .kf-message-box-close-icon[_ngcontent-%COMP%]{position:absolute;right:1rem;top:.375rem}.kf-message-box.kf-message-box-simple[_ngcontent-%COMP%] .kf-message-box-content[_ngcontent-%COMP%]{text-align:left}.kf-message-box.kf-message-box-simple[_ngcontent-%COMP%] .kf-message-box-content.kf-message-box-with-close-icon[_ngcontent-%COMP%]{padding-right:3.25rem}.kf-message-box.kf-message-box-simple[_ngcontent-%COMP%] .kf-message-box-content[_ngcontent-%COMP%] .kf-message-box-title[_ngcontent-%COMP%]{font-size:var(--font-config-body-1-bold-font-size);line-height:var(--font-config-body-1-bold-line-height);font-weight:var(--font-config-body-1-bold-font-weight);padding:0;margin:0}']})}}return n})();var Yn=u(3333);const Jn=["container"],qn=["chip"],ei=["ellipsis"];function ti(n,a){if(1&n&&(e.j41(0,"li",8,2)(2,"cms-tag"),e.EFF(3),e.k0s()()),2&n){const t=a.$implicit,i=a.$index,o=e.XpG();e.AVh("cms-elt__item--hidden",i>=o.visibleCount()),e.R7$(3),e.JRh(t)}}function ni(n,a){1&n&&(e.j41(0,"li",5),e.EFF(1,"\u2026"),e.k0s())}function ii(n,a){if(1&n&&(e.j41(0,"span",6),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.qualifications().join(", "))}}let oi=(()=>{class n{constructor(){this.qualifications=l.hFB.required({transform:t=>t?.filter(i=>i.trim())??[]}),this.resizeTick=(0,l.hFB)(0),this.visibleCount=(0,p.uu)({source:this.qual
1ifications,computation:t=>t.length}),this.hasMore=(0,p.EW)(()=>this.visibleCount()<this.qualifications().length),this.containerRef=(0,l.ebz)("container"),this.chipRefs=(0,l.dtW)("chip"),this.ellipsisRef=(0,l.ebz)("ellipsis"),this.cachedWidths=null,this.cachedFor=null,(0,l.uEv)({read:()=>{const t=this.qualifications();this.resizeTick(),this.measure(t)}})}measure(t){const i=this.containerRef()?.nativeElement;if(!i)return;const o=i.clientWidth;if(0===o)return;const r=this.chipWidths(t);if(!r)return;const y=function Zn(n,a,t,i){const o=n.length;if(0===o)return 0;if(n.reduce((y,S)=>y+S,0)+a*(o-1)<=t)return o;let c=0,_=0;for(let y=0;y<o;y++){const S=n[y]+(y>0?a:0);if(!(c+S+a+i<=t))break;c+=S,_++}return _}(r,Number.parseFloat(getComputedStyle(i).columnGap)||0,o,this.ellipsisRef()?.nativeElement.offsetWidth??0);this.visibleCount.set(t.length&&0===y?1:y)}chipWidths(t){if(this.cachedFor===t&&this.cachedWidths)return this.cachedWidths;const i=this.chipRefs();if(!i.length)return null;const o=i.map(r=>r.nativeElement.offsetWidth);return o.includes(0)?null:(this.cachedWidths=o,this.cachedFor=t,o)}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["cms-employee-list-tags"]],viewQuery:function(i,o){1&i&&e.wEZ(o.containerRef,Jn,5)(o.chipRefs,qn,5)(o.ellipsisRef,ei,5),2&i&&e.NyB(3)},hostAttrs:["data-automation-id","cms-employee-list-tags"],inputs:{qualifications:[1,"qualifications"],resizeTick:[1,"resizeTick"]},decls:9,vars:2,consts:[["container",""],["ellipsis",""],["chip",""],["aria-hidden","true",1,"cms-elt"],[1,"cms-elt__item",3,"cms-elt__item--hidden"],[1,"cms-elt__more"],[1,"cms-elt__sr"],["aria-hidden","true",1,"cms-elt__probe"],[1,"cms-elt__item"]],template:function(i,o){1&i&&(e.j41(0,"ul",3,0),e.Z7z(2,ti,4,3,"li",4,e.Vm6),e.nVh(4,ni,2,0,"li",5),e.k0s(),e.nVh(5,ii,2,1,"span",6),e.j41(6,"span",7,1),e.EFF(8,"\u2026"),e.k0s()),2&i&&(e.R7$(2),e.Dyx(o.qualifications()),e.R7$(2),e.vxM(o.hasMore()?4:-1),e.R7$(),e.vxM(o.qualifications().length?5:-1))},dependencies:[Ie.eX],styles:["[_nghost-%COMP%]{--cms-elt-muted: var(--color-foreground-secondary-text);display:block;min-inline-size:0}.cms-elt[_ngcontent-%COMP%]{display:flex;gap:.375rem;align-items:center;min-inline-size:0;margin:0;padding:0;overflow:hidden;list-style:none}.cms-elt__item[_ngcontent-%COMP%], .cms-elt__more[_ngcontent-%COMP%]{margin:0}.cms-elt__item[_ngcontent-%COMP%]{display:inline-flex;flex:0 0 auto}.cms-elt__item--hidden[_ngcontent-%COMP%]{display:none}.cms-elt__more[_ngcontent-%COMP%]{font-size:var(--font-config-body-2-font-size);font-weight:var(--font-config-body-2-font-weight);line-height:var(--font-config-body-2-line-height);flex:0 0 auto;color:var(--cms-elt-muted)}.cms-elt__sr[_ngcontent-%COMP%]{position:absolute;inline-size:1px;block-size:1px;margin:-1px;padding:0;overflow:hidden;white-space:nowrap;border:0;clip-path:inset(50%)}.cms-elt__probe[_ngcontent-%COMP%]{font-size:var(--font-config-body-2-font-size);font-weight:var(--font-config-body-2-font-weight);line-height:var(--font-config-body-2-line-height);position:absolute;visibility:hidden;white-space:nowrap;pointer-events:none}"],changeDetection:0})}}return n})();const si=[[["","list-footer",""]]],ai=["[list-footer]"],ri=(n,a)=>a.cmsid;function li(n,a){if(1&n){const t=e.RV6();e.j41(0,"kf-message-box",1)(1,"button",4),e.bIt("click",function(){s.eBV(t);const o=e.XpG();return s.Njj(o.retry.emit())}),e.EFF(2," Erneut versuchen "),e.k0s()()}}function ci(n,a){1&n&&(e.j41(0,"p",2),e.EFF(1,"Mitarbeitende werden geladen \u2026"),e.k0s())}function ui(n,a){1&n&&e.nrm(0,"cms-ui-image",9),2&n&&e.Y8G("image",a)}function di(n,a){1&n&&(e.j41(0,"span",12),e.nrm(1,"kf-icon",18),e.j41(2,"span",19),e.EFF(3),e.k0s()()),2&n&&(e.R7$(3),e.JRh(a))}function mi(n,a){if(1&n){const t=e.RV6();e.j41(0,"li",7)(1,"button",8),e.bIt("click",function(){const o=s.eBV(t).$implicit,r=e.XpG(3);return s.Njj(r.activate.emit(o))}),e.nVh(2,ui,1,1,"cms-ui-image",9),e.j41(3,"span",10)(4,"span",11),e.EFF(5),e.k0s(),e.nVh(6,di,4,1,"span",12),e.k0s(),e.nrm(7,"cms-employee-list-tags",13),e.j41(8,"span",14)(9,"span",15),e.EFF(10,"Details"),e.k0s(),e.nrm(11,"kf-icon",16),e.k0s(),e.j41(12,"span",17),e.EFF(13,"Details anzeigen"),e.k0s()()()}if(2&n){let t,i;const o=a.$implicit,r=e.XpG(3);
1e.R7$(),e.AVh("cms-el__row--selected",o===r.selected()),e.BMQ("aria-current",o===r.selected()?"true":null),e.R7$(),e.vxM((t=o.image)?2:-1,t),e.R7$(3),e.Lme("",o.firstname," ",o.lastname),e.R7$(),e.vxM((i=r.locationLabel(o))?6:-1,i),e.R7$(),e.Y8G("qualifications",o.qualifications)("resizeTick",r.resizeTick())}}function hi(n,a){if(1&n&&(e.j41(0,"ul",5),e.Z7z(1,mi,14,9,"li",7,ri),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.Dyx(t.employees())}}function pi(n,a){1&n&&(e.j41(0,"div",6),e.nrm(1,"kf-img",20),e.j41(2,"p",21),e.EFF(3,"Keine passenden Ergebnisse gefunden"),e.k0s(),e.j41(4,"p",22),e.EFF(5,"Bitte passen Sie Ihre Suchkriterien an."),e.k0s()())}function gi(n,a){if(1&n&&e.nVh(0,hi,3,0,"ul",5)(1,pi,6,0,"div",6),2&n){const t=e.XpG();e.vxM(t.employees().length?0:1)}}let ve=(()=>{class n{constructor(){this.employees=l.hFB.required(),this.selected=(0,l.hFB)(null),this.status=(0,l.hFB)("ready"),this.busy=(0,l.hFB)(!1),this.activate=(0,l.CGW)(),this.retry=(0,l.CGW)(),this.resizeTick=(0,s.vPA)(0),this.destroyRef=(0,s.WQX)(s.abz),this.document=(0,s.WQX)(s.qQL),this.zone=(0,s.WQX)(s.SKi),(0,e.mal)(()=>{const t=this.document.defaultView;if(!t)return;let i=0;const o=()=>{t.cancelAnimationFrame(i),i=t.requestAnimationFrame(()=>{this.resizeTick.update(r=>r+1)})};this.zone.runOutsideAngular(()=>{t.addEventListener("resize",o,{passive:!0})}),this.destroyRef.onDestroy(()=>{t.cancelAnimationFrame(i),t.removeEventListener("resize",o)})})}locationLabel(t){return t.locations?.filter(i=>i.trim()).join(", ")??""}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["cms-ui-employee-list"]],hostAttrs:["data-automation-id","cms-employee-list"],hostVars:1,hostBindings:function(i,o){2&i&&e.BMQ("aria-busy",!!o.busy()||null)},inputs:{employees:[1,"employees"],selected:[1,"selected"],status:[1,"status"],busy:[1,"busy"]},outputs:{activate:"activate",retry:"retry"},ngContentSelectors:ai,decls:6,vars:1,consts:[[1,"cms-el"],["description","Die Mitarbeitersuche ist momentan nicht verf\xfcgbar.","iconName","ic_warnschild","role","alert","state","error","titleText","Fehler beim Laden","type","simple",1,"cms-el__error"],[1,"cms-el__status"],[1,"cms-el__footer"],["matButton","","type","button",3,"click"],["aria-label","Mitarbeiter",1,"cms-el__list"],[1,"cms-el__empty"],[1,"cms-el__item"],["type","button","aria-haspopup","dialog",1,"cms-el__row",3,"click"],["ratio","1-1","sizes","4rem","alt","",1,"cms-el__photo",3,"image"],[1,"cms-el__id"],[1,"cms-el__name"],[1,"cms-el__location"],[1,"cms-el__tags",3,"qualifications","resizeTick"],["aria-hidden","true",1,"cms-el__details"],[1,"cms-el__details-label"],["name","ic_chevron_rechts_24",1,"cms-el__details-icon"],[1,"cms-el__details-sr"],["name","ic_standort_24",1,"cms-el__location-icon"],[1,"cms-el__location-text"],["src","./assets/illustrations_ultra/default/illu_ultra_hint_002_default.svg"],[1,"cms-el__empty-title"],[1,"cms-el__empty-hint"]],template:function(i,o){if(1&i&&(e.NAR(si),e.j41(0,"div",0),e.nVh(1,li,3,0,"kf-message-box",1)(2,ci,2,0,"p",2)(3,gi,2,1),e.j41(4,"div",3),e.SdG(5),e.k0s()()),2&i){let r;e.R7$(),e.vxM("error"===(r=o.status())?1:"loading"===r?2:3)}},dependencies:[Yn.f,R.KY,oi,Un,ie.$z,wn.SH],styles:['[_nghost-%COMP%]{--cms-el-id-col: 12rem;--cms-el-photo-size: 4.5rem;--cms-el-radius: var(--options-container-border-radius);--cms-el-pad-inline: 1.5rem;--cms-el-pad-block: 1rem;--cms-el-selected-bar: .2rem;--cms-el-surface: var(--color-background-tile);--cms-el-text: var(--color-foreground-text);--cms-el-muted: var(--color-foreground-secondary-text);--cms-el-border: var(--color-foreground-divider);--cms-el-primary: var(--color-primary);--cms-el-hover: var(--color-background-hover);--cms-el-selected: var(--state-default-selected);--cms-el-elevation: var(--color-foreground-elevation);display:block;color:var(--cms-el-text);font-family:var(--typography-font-family, system-ui),sans-serif}.cms-el[_ngcontent-%COMP%]{container:employee-list/inline-size;overflow:hidden;background:var(--cms-el-surface);border-radius:var(--cms-el-radius);box-shadow:var(--options-effect-box)}.cms-el__list[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}.cms-el__item[_ngcontent-%COMP%]{margin:0;position:relative}.cms-el__item[_ngcontent-%COMP%]:not(:last-child):after{content:"";position:absolute;inset-block-end:0;inset-inline:var(--cms-el-pad-inline);block-size:1px;background:var(--cms-el-border)}.cms-el__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto var(--cms-el-id-col) minmax(0,1fr) auto;grid-template-areas:"photo id tags details";align-items:center;gap:1.5rem;inline-size:100%;padding-block:var(--cms-el-pad-block);padding-inline:var(--cms-el-pad-inline);font:inherit;color:inherit;text-align:start;background:none;border:0;border-inline-start:var(--cms-el-selected-bar) solid transparent;cursor:pointer}.cms-el__row[_ngcontent-%COMP%]:hover{background:var(--cms-el-hover)}.cms-el__row[_ngcontent-%COMP%]:focus-visible{outline:.125rem solid var(--cms-el-primary);outline-offset:calc(-1 * var(--cms-el-selected-bar))}.cms-el__row--selected[_ngcontent-%COMP%]{background:var(--cms-el-selected);border-inline-start-color:var(--cms-el-primary)}.cms-el__photo[_ngcontent-%COMP%]{grid-area:photo;inline-size:var(--cms-el-photo-size);block-size:var(--cms-el-photo-size);overflow:hidden;background:var(--cms-el-hover);border-radius:50%;box-shadow:0 0 0 1px var(--cms-el-elevation),0 2px 6px var(--cms-el-elevation);--cms-ui-image-object-position: top}.cms-el__id[_ngcontent-%COMP%]{display:flex;flex-direction:column;grid-area:id;gap:.125rem;min-inline-size:0}.cms-el__name[_ngcontent-%COMP%]{min-inline-size:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:600;color:var(--cms-el-text)}.cms-el__location[_ngcontent-%COMP%]{font-size:var(--font-config-body-2-font-size);
1font-weight:var(--font-config-body-2-font-weight);line-height:var(--font-config-body-2-line-height);display:flex;gap:.25rem;align-items:center;min-inline-size:0;color:var(--cms-el-muted)}.cms-el__location-icon[_ngcontent-%COMP%]{--cms-icon-size: .875rem;flex:0 0 auto;color:var(--cms-el-muted)}.cms-el__location-text[_ngcontent-%COMP%]{min-inline-size:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cms-el__tags[_ngcontent-%COMP%]{grid-area:tags;min-inline-size:0}.cms-el__details[_ngcontent-%COMP%]{font-size:var(--font-config-body-2-font-size);font-weight:700;line-height:var(--font-config-body-2-line-height);display:flex;gap:.25rem;align-items:center;grid-area:details;color:var(--cms-el-primary);white-space:nowrap}.cms-el__details-icon[_ngcontent-%COMP%]{--cms-icon-size: 1rem;--cms-icon-stroke: 3;flex:0 0 auto}.cms-el__details-sr[_ngcontent-%COMP%]{position:absolute;inline-size:1px;block-size:1px;margin:-1px;padding:0;overflow:hidden;white-space:nowrap;border:0;clip-path:inset(50%)}.cms-el__empty[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.375rem;align-items:center;justify-content:center;min-block-size:12rem;padding:2rem var(--cms-el-pad-inline);text-align:center}.cms-el__empty-title[_ngcontent-%COMP%]{margin:0;font-size:1.125rem;font-weight:700;color:var(--cms-el-text)}.cms-el__empty-hint[_ngcontent-%COMP%]{font-size:var(--font-config-body-2-font-size);font-weight:var(--font-config-body-2-font-weight);line-height:var(--font-config-body-2-line-height);margin:0;color:var(--cms-el-text)}.cms-el__error[_ngcontent-%COMP%]{display:block;margin:var(--cms-el-pad-block) var(--cms-el-pad-inline)}.cms-el__footer[_ngcontent-%COMP%]{display:block}.cms-el__footer[_ngcontent-%COMP%]:has(*){position:relative;padding-block:1rem;padding-inline:1rem}.cms-el__footer[_ngcontent-%COMP%]:has(*):before{content:"";position:absolute;inset-block-start:0;inset-inline:var(--cms-el-pad-inline);block-size:1px;background:var(--cms-el-border)}@container employee-list (width <= 64rem){.cms-el__row[_ngcontent-%COMP%]{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"photo id details" "photo tags details";row-gap:.25rem}.cms-el__photo[_ngcontent-%COMP%], .cms-el__details[_ngcontent-%COMP%]{align-self:center}}@container employee-list (width <= 37.5rem){.cms-el__details-label[_ngcontent-%COMP%]{display:none}}'],changeDetection:0})}}return n})();function _i(){const n=new fe.xX;return n.itemsPerPageLabel="Eintr\xe4ge pro Seite",n.nextPageLabel="N\xe4chste Seite",n.previousPageLabel="Vorherige Seite",n.firstPageLabel="Erste Seite",n.lastPageLabel="Letzte Seite",n.getRangeLabel=(a,t,i)=>{if(0===i||0===t)return`0 von ${String(i)}`;const o=a*t+1,r=Math.min((a+1)*t,i);return`${String(o)}\u2013${String(r)} von ${String(i)}`},n}function yi(n,a){if(1&n&&e.Hgh(0,"h1",1),2&n){const t=e.XpG(2);e.HbH(t.cls()),e.Avn("innerHTML",t.richtext(),e.npT),e.BMQ("data-automation-id",t.dataAutomationId())}}function bi(n,a){if(1&n&&e.Hgh(0,"h2",1),2&n){const t=e.XpG(2);e.HbH(t.cls()),e.Avn("innerHTML",t.richtext(),e.npT),e.BMQ("data-automation-id",t.dataAutomationId())}}function vi(n,a){if(1&n&&e.Hgh(0,"h3",1),2&n){const t=e.XpG(2);e.HbH(t.cls()),e.Avn("innerHTML",t.richtext(),e.npT),e.BMQ("data-automation-id",t.dataAutomationId())}}function Mi(n,a){if(1&n&&e.Hgh(0,"h4",1),2&n){const t=e.XpG(2);e.HbH(t.cls()),e.Avn("innerHTML",t.richtext(),e.npT),e.BMQ("data-automation-id",t.dataAutomationId())}}function Ci(n,a){if(1&n&&e.Hgh(0,"h5",1),2&n){const t=e.XpG(2);e.HbH(t.cls()),e.Avn("innerHTML",t.richtext(),e.npT),e.BMQ("data-automation-id",t.dataAutomationId())}}function ki(n,a){if(1&n&&e.Hgh(0,"h6",1),2&n){const t=e.XpG(2);e.HbH(t.cls()),e.Avn("innerHTML",t.richtext(),e.npT),e.BMQ("data-automation-id",t.dataAutomationId())}}function Si(n,a){if(1&n&&e.Hgh(0,"p",1),2&n){const t=e.XpG(2);e.HbH(t.cls()),e.Avn("innerHTML",t.richtext(),e.npT),e.BMQ("data-automation-id",t.dataAutomationId())}}function Fi(n,a){if(1&n&&e.Hgh(0,"h2",1),2&n){const t=e.XpG(2);e.HbH(t.cls()),e.Avn("innerHTML",t.richtext(),e.npT),e.BMQ("data-automation-id",t.dataAutomationId())}}
1function xi(n,a){if(1&n&&e.nVh(0,yi,1,4,"h1",0)(1,bi,1,4,"h2",0)(2,vi,1,4,"h3",0)(3,Mi,1,4,"h4",0)(4,Ci,1,4,"h5",0)(5,ki,1,4,"h6",0)(6,Si,1,4,"p",0)(7,Fi,1,4,"h2",0),2&n){let t;const i=e.XpG();e.vxM("h1"===(t=i.levelOrDefault())?0:"h2"===t?1:"h3"===t?2:"h4"===t?3:"h5"===t?4:"h6"===t?5:"p"===t?6:7)}}let Ti=(()=>{class n{constructor(){this.level=l.hFB.required(),this.richtext=l.hFB.required(),this.defaultLevel=(0,l.hFB)("h2"),this.cls=(0,l.hFB)(),this.dataAutomationId=(0,l.hFB)(),this.levelOrDefault=(0,p.EW)(()=>{const t=this.level().toLowerCase();return["h1","h2","h3","h4","h5","h6","p"].includes(t)?t:this.defaultLevel()})}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["cms-heading"]],inputs:{level:[1,"level"],richtext:[1,"richtext"],defaultLevel:[1,"defaultLevel"],cls:[1,"cls"],dataAutomationId:[1,"dataAutomationId"]},decls:1,vars:1,consts:[[3,"class","innerHTML"],[3,"innerHTML"]],template:function(i,o){1&i&&e.nVh(0,xi,8,1),2&i&&e.vxM(o.richtext().length?0:-1)},encapsulation:2,changeDetection:0})}}return n})();const Ei=()=>[u.e(6584).then(u.bind(u,6584)).then(n=>n.UiEmployeeContactDialogComponent)];function Oi(n,a){if(1&n&&e.nrm(0,"cms-heading",2),2&n){const t=e.XpG();e.Y8G("level",t.headingType())("richtext",t.heading()??"")}}function Ii(n,a){if(1&n&&(e.j41(0,"p",3),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" ",t.description()," ")}}function Di(n,a){if(1&n){const t=e.RV6();e.j41(0,"cms-search-field",10),e.bIt("searchSubmitted",function(o){s.eBV(t);const r=e.XpG();return s.Njj(r.employeeResultList.search(o))}),e.mxI("searchTermChange",function(o){s.eBV(t);const r=e.XpG();return e.DH7(r.searchTerm,o)||(r.searchTerm=o),s.Njj(o)}),e.k0s()}if(2&n){const t=e.XpG();e.R50("searchTerm",t.searchTerm),e.Y8G("suggestionPool",t.suggestionPool())}}function Ai(n,a){if(1&n){const t=e.RV6();e.j41(0,"cms-facet-panel",11),e.bIt("cleared",function(){s.eBV(t);const o=e.XpG();return s.Njj(o.clearAllFilters())})("facetValueSelected",function(o){s.eBV(t);const r=e.XpG();return s.Njj(r.employeeContactFacetedSearchStore.toggle(o.category,o.value))}),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("facetGroups",t.employeeContactFacetedSearchStore.facets())("hasActiveFilters",t.employeeContactFacetedSearchStore.hasActiveFilters())}}function wi(n,a){if(1&n&&(e.j41(0,"span",14),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(", ",t.sortDirectionLabel()," sortiert")}}function Pi(n,a){if(1&n){const t=e.RV6();e.j41(0,"cms-sort-menu",15),e.bIt("sortDirectionSelected",function(o){s.eBV(t);const r=e.XpG(2);return s.Njj(r.employeeResultList.setSortDirection(o))})("sortKeySelected",function(o){s.eBV(t);const r=e.XpG(2);return s.Njj(r.employeeResultList.sortBy(o))}),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("activeSortKey",t.employeeResultList.sortKey())("sortCriteria",t.sortCriteria)("sortDirection",t.employeeResultList.sortDirection())}}function Ri(n,a){if(1&n&&(e.j41(0,"button",12),e.nrm(1,"kf-icon",13),e.j41(2,"span"),e.EFF(3),e.k0s(),e.nVh(4,wi,2,1,"span",14),e.k0s(),e.DNE(5,Pi,1,3,"ng-template",null,0,e.C5r)),2&n){const t=e.sdS(6),i=e.XpG();e.Y8G("cdkMenuTriggerFor",t),e.R7$(),e.Y8G("name",i.sortIcon()),e.R7$(2),e.SpI("Sortiert nach: ",i.employeeResultList.sortLabel()||"Standard"),e.R7$(),e.vxM(i.employeeResultList.sortKey()?4:-1)}}function Bi(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-paginator",16),e.bIt("page",function(o){s.eBV(t);const r=e.XpG();return s.Njj(r.onPage(o))}),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("length",t.pagination.total())("pageIndex",t.pagination.pageIndex())("pageSizeOptions",t.pagination.pageSizeOptions)("pageSize",t.pagination.pageSize())("showFirstLastButtons",!0)}}function Li(n,a){if(1&n){const t=e.RV6();e.j41(0,"cms-ui-employee-contact-dialog",18),e.bIt("closed",function(){s.eBV(t);const o=e.XpG(2);return s.Njj(o.dialogOpen.set(!1))}),e.k0s()}2&n&&e.Y8G("employee",a)}function Hi(n,a){if(1&n&&e.nVh(0,Li,1,1,"cms-ui-employee-contact-dialog",17),2&n){let t;const i=e.XpG();e.vxM((t=i.dialogEmployee())?0:-1,t)}}let Ze=(()=>{class n{constructor(){this._payloadD=(0,s.WQX)(ae,{self:!0}),this.document=(0,s.WQX)(s.qQL),this.containerClasses=(0,p.EW)(()=>this._payloadD.containerClasses()),this.cmsId=(0,p.EW)(()=>this._payloadD.cmsId()),this.layoutClasses=(0,p.EW)(()=>this._payloadD.layoutClasses()),this.hostClasses=(0,p.EW)(()=>
1[this.layoutClasses(),this.containerClasses()].filter(Boolean).join(" ")),this.heading=(0,p.EW)(()=>this._payloadD.heading()),this.headingType=(0,p.EW)(()=>this._payloadD.headingType()),this.description=(0,p.EW)(()=>this._payloadD.description()),this.employeeContactFacetedSearchStore=(0,s.WQX)(Qe),this.isInitialLoading=(0,p.EW)(()=>this.employeeContactFacetedSearchStore.isLoading()&&0===this.employeeContactFacetedSearchStore.totalResults()),this.allEmployees=(0,p.EW)(()=>this.employeeContactFacetedSearchStore.items().filter(An).map(Ie.VS)),this.employeeResultList=function ln(n){const a=(0,s.vPA)(""),t=(0,p.EW)(()=>{const y=a(),S=n.searchableText;if(!y||!S)return n.source();const Me=y.split(/\s+/).map(U);return n.source().filter(Ce=>{const Vi=S(Ce).map(U);return Me.every(Wi=>Vi.some(Gi=>Gi.includes(Wi)))})}),i=(0,s.vPA)(void 0),o=(0,s.vPA)("ascending"),r=y=>n.sortCriteria?.find(S=>S.key===y),c=(0,p.EW)(()=>r(i())),_=(0,p.EW)(()=>{const y=c();if(!y)return t();const S="descending"===o()?-1:1;return[...t()].sort((Me,Ce)=>S*y.comparator(Me,Ce))});return{query:a.asReadonly(),sortKey:i.asReadonly(),sortLabel:(0,p.EW)(()=>c()?.label??""),sortDirection:o.asReadonly(),items:_,search(y){n.searchableText&&a.set(y.trim())},sortBy(y){const S=r(y)?.key;i.set(S===i()?void 0:S)},setSortDirection(y){o.set(y),void 0===i()&&i.set(n.sortCriteria?.[0]?.key)}}}({source:this.allEmployees,searchableText:$e,sortCriteria:Ye}),this.sortCriteria=Ye,this.searchTerm=(0,s.vPA)(""),this.suggestionPool=(0,p.EW)(()=>this.allEmployees().flatMap($e)),this.sortIcon=(0,p.EW)(()=>"descending"===this.employeeResultList.sortDirection()?"ic_sortieren_aufsteigend_24":"ic_sortieren_24"),this.sortDirectionLabel=(0,p.EW)(()=>"descending"===this.employeeResultList.sortDirection()?"absteigend":"aufsteigend"),this.listEl=l.ebz.required(ve,{read:e.aKT}),this.visibleEmployees=(0,p.EW)(()=>this.employeeResultList.items()),this.pagination=function fi(n,a){const t=(0,s.vPA)(a.pageSize),i=(0,p.uu)({source:n,computation:()=>0}),o=(0,p.EW)(()=>n().length),r=(0,p.EW)(()=>{const c=i()*t();return n().slice(c,c+t())});return{pageIndex:i,pageSize:t,pageSizeOptions:a.pageSizeOptions,minPageSize:Math.min(...a.pageSizeOptions),total:o,slice:r,onPage(c){i.set(c.pageIndex),t.set(c.pageSize)}}}(this.visibleEmployees,{pageSize:10,pageSizeOptions:[5,10,25]}),this.selectedEmployee=(0,s.vPA)(null),this.dialogOpen=(0,s.vPA)(!1),this.dialogEmployee=(0,p.EW)(()=>this.dialogOpen()?this.selectedEmployee():null),this.status=(0,p.EW)(()=>this.employeeContactFacetedSearchStore.error()?"error":this.isInitialLoading()?"loading":"ready"),this.resultCountLabel=(0,p.EW)(()=>{if("ready"!==this.status())return"";const t=this.pagination.total();return`${String(t)} ${1===t?"Ergebnis":"Ergebnisse"}`})}static{this.customElementName="cms-faceted-search"}showEmployeeDetails(t){this.selectedEmployee.set(t),this.dialogOpen.set(!0)}clearAllFilters(){this.employeeContactFacetedSearchStore.clear(),this.searchTerm.set(""),this.employeeResultList.search("")}onPage(t){this.pagination.onPage(t),this.scrollToListStart()}scrollToListStart(){const t=this.listEl().nativeElement;if(t.getBoundingClientRect().top>=0)return;const i=this.document.defaultView?.matchMedia("(prefers-reduced-motion: reduce)").matches??!1;t.scrollIntoView({block:"start",behavior:i?"auto":"smooth"})}clearSelectionOnOutsideClick(t){null!==this.selectedEmployee()&&(t.composedPath().some(o=>o===this.listEl().nativeElement||o instanceof HTMLDialogElement||o instanceof Element&&o.classList.contains("cdk-overlay-container"))||this.selectedEmployee.set(null))}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["cms-faceted-search"]],viewQuery:function(i,o){1&i&&e.wEZ(o.listEl,ve,5,e.aKT),2&i&&e.NyB()},hostVars:10,hostBindings:function(i,o){1&i&&e.bIt("click",function(c){return o.clearSelectionOnOutsideClick(c)},e.EBC),2&i&&(e.BMQ("data-automation-id","cms-employee-search")("id",o.cmsId()),e.HbH(o.hostClasses()),e.AVh("cms-component",!0)("cms-section-container",!0)("stretchable",!0))},features:[e.Jv_([{provide:Xe,useFactory:gt},{provide:ze,useFactory:()=>(0,s.WQX)(ae).base()},{provide:Ke,useFactory:()=>(0,s.WQX)(ae).userFilter()},Qe,{provide:fe.xX,useFactory:_i}]),e.nM4([ae])],decls:15,vars:14,consts:[["sortMenu",""],[1,"employee-search"],["dataAutomationId","cms-employee-search-header-heading","cls","employee-search__heading",3,"level","richtext"],["data-automation-id","cms-employee-search-header-description",1,"employee-search__description"],[1,"employee-search__search",3,"searchTerm","suggestionPool"],[1,"employee-search__facets",3,"facetGroups","hasActiveFilters"],[1,"employee-search__toolbar"],[1,"employee-search__toolbar--results-counter"],[3,"activate","retry","busy","employees","selected","status"],["data-automation-id","cms-employee-search-paginator","list-footer","",1,"kf-mat-paginator","employee-search__paginator",3,"length","pageIndex","pageSizeOptions","pageSize","showFirstLastButtons"],[1,"employee-search__search",3,"searchSubmitted","searchTermChange","searchTerm","suggestionPool"],[1,"employee-search__facets",3,"cleared","facetValueSelected","facetGroups","hasActiveFilters"],["data-automation-id","cms-employee-search-sort","matButton","text","type","button",1,"employee-search__toolbar--sort",3,"cdkMenuTriggerFor"],[3,"name"],[1,"employee-search__sr-only"],[3,"sortDirectionSelected","sortKeySelected","activeSortKey","sortCriteria","sortDirection"],["data-automation-id","cms-employee-search-paginator","list-footer","",1,"kf-mat-paginator","employee-search__paginator",3,"page","length","pageIndex","pageSizeOptions","pageSize","showFirstLastButtons"],[3,"employee"],[3,"closed","employee"]],template:function(i,o){1&i&&(e.j41(0,"section",1)(1,"header"),e.nVh(2,Oi,1,2,"cms-heading",2),e.nVh(3,Ii,2,1,"p",3),e.k0s(),e.nVh(4,Di,1,2,"cms-search-field",4),e.nV
1h(5,Ai,1,2,"cms-facet-panel",5),e.j41(6,"div",6)(7,"output",7),e.EFF(8),e.k0s(),e.nVh(9,Ri,7,4),e.k0s(),e.j41(10,"cms-ui-employee-list",8),e.bIt("activate",function(c){return o.showEmployeeDetails(c)})("retry",function(){return o.employeeContactFacetedSearchStore.retry()}),e.nVh(11,Bi,1,5,"mat-paginator",9),e.k0s(),e.PeT(12,Hi,1,1),e.nv$(13,12,Ei),e.jbH(),e.k0s()),2&i&&(e.R7$(2),e.vxM(o.heading()?2:-1),e.R7$(),e.vxM(o.description()?3:-1),e.R7$(),e.vxM("ready"===o.status()?4:-1),e.R7$(),e.vxM(o.employeeContactFacetedSearchStore.facets().length>0?5:-1),e.R7$(),e.AVh("employee-search__toolbar--collapsed","ready"!==o.status()),e.R7$(2),e.SpI(" ",o.resultCountLabel()," "),e.R7$(),e.vxM("ready"===o.status()?9:-1),e.R7$(),e.Y8G("busy",o.employeeContactFacetedSearchStore.isLoading())("employees",o.pagination.slice())("selected",o.selectedEmployee())("status",o.status()),e.R7$(),e.vxM("ready"===o.status()&&o.pagination.total()>o.pagination.minPageSize?11:-1),e.R7$(2),e.LVR(o.dialogOpen()))},dependencies:[Xt,Mn,En,ie.$z,ne,R.KY,fe.iy,ve,Ti],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .employee-search__heading{color:var(--options-headline-color)}[_nghost-%COMP%] .employee-search__description[_ngcontent-%COMP%]{color:var(--color-foreground-secondary-text)}.employee-search[_ngcontent-%COMP%]{container:employee-search/inline-size}.employee-search[_ngcontent-%COMP%] > header[_ngcontent-%COMP%], .employee-search__search[_ngcontent-%COMP%]{inline-size:66.6666666667%}.employee-search__search[_ngcontent-%COMP%]{display:block}@container employee-search (inline-size < 60rem){.employee-search[_ngcontent-%COMP%] > header[_ngcontent-%COMP%], .employee-search__search[_ngcontent-%COMP%]{inline-size:100%}}cms-ui-employee-list[_ngcontent-%COMP%]{scroll-margin-block-start:4rem}.employee-search__sr-only[_ngcontent-%COMP%]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.employee-search__facets[_ngcontent-%COMP%]{margin-block-end:.5rem}.employee-search__toolbar[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;justify-content:space-between;padding-block:1rem}.employee-search__toolbar--collapsed[_ngcontent-%COMP%]{padding-block:0}.employee-search__toolbar--results-counter[_ngcontent-%COMP%]{color:var(--color-foreground-secondary-text);margin-bottom:0!important}.employee-search__toolbar--sort[_ngcontent-%COMP%]{flex:0 0 auto;--options-button-width-xs: 50%}"],changeDetection:0})}}return n})();const Ni=n=>{const a=Ze.customElementName;customElements.get(a)||customElements.define(a,(0,ut.gw)(Ze,{injector:n}))}},8868(le,A,u){u.d(A,{B:()=>p});var s=u(3132);class p extends s.l{_origin="program";setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}},910(le,A,u){u.d(A,{z:()=>p});var s=u(5802);let p=(()=>{class l{_listeners=[];notify(b,F){for(let X of this._listeners)X(b,F)}listen(b){return this._listeners.push(b),()=>{this._listeners=this._listeners.filter(F=>b!==F)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(F){return new(F||l)};static \u0275prov=s.jDH({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})()},6638(le,A,u){u.d(A,{SH:()=>G});var l=u(5547),e=u(5802),b=u(9769),F=u(2771),X=u(7673),H=u(9437),Y=u(152),ce=u(3294),I=u(5964),z=u(6354),K=u(5558),k=u(6697),ue=u(2087),de=u(345),Q=u(6136);function N(d,E){if(1&d&&l.Hgh(0,"img",0),2&d){const m=l.XpG(),h=l.XpG();l.Avn("src",m.content,l.B4B)("alt",h.alt)}}function me(d,E){if(1&d&&l.Hgh(0,"div",1),2&d){const m=l.XpG();l.Avn("innerHTML",m.content,l.npT)}}function he(d,E){if(1&d&&(l.rj2(0,"div",2),l.EFF(1),l.eux()),2&d){const m=l.XpG(2);l.R7$(),l.SpI(" ",m.alt," ")}}function pe(d,E){if(1&d&&(l.iHH(0),l.nVh(1,N,1,2,"img",0)(2,me,1,1,"div",1)(3,he,2,1,"div",2),l.Zht()),2&d){const m=E,h=l.XpG();l.R7$(),l.vxM(!m.isSVG&&m.isImg?1:m.isSVG&&m.content?2:h.showAltTextOnNoContent&&h.alt?3:-1)}}class V{getColors(){return{"--color-illustration-classic-blue-1":["#0066B3","#0064B5"],"--color-illustration-classic-blue-2":["#BED7F0","#96BEE6"],"--color-illustration-classic-blue-3":["#F7FAFC","#EDF6FA","#E1EBF5"],"--color-illustration-classic-orange":["#FFB27F","#F
1FA166"],"--color-illustration-classic-white":["#FFFFFF","#FFF","#FEFEFE"],"--color-illustration-blue-1":["#004E6D","#004D6E","#2C465E","#184661","#004E6C","#327DC8"],"--color-illustration-blue-2":["#005193","#005A87","#005192","#005CA1"],"--color-illustration-blue-3":["#1268AE","#1367AD","#1166B0","#1067AD","#0E66AF","#0166B3","#0066B1","#0569B4","#0669B4","#0066B9","#0065BF","#0266B3"],"--color-illustration-blue-4":["#2876B5","#2D68A8"],"--color-illustration-blue-5":["#217EC3","#207DC3","#327DC8"],"--color-illustration-blue-6":["#5E99D1","#7199D3","#499BD6","#649BD7"],"--color-illustration-blue-7":["#4A9BD7","#4A99D5","#4699D8","#64B7F8","#4AB9FB"],"--color-illustration-blue-8":["#68b9f6","#68B8F6","#96BEE6"],"--color-illustration-blue-9":["#92CEF7","#98BEE5","#90cef4","#9BCEEA","#90CCF5","#8FCCF8","#84C8F4","#779FB1"],"--color-illustration-blue-10":["#EEF6FB","#EDF5FA","#BED7F0","#BED7EE","#BED6EF","#BCD6F0","#BCD5EE","#B6D6F3","#BDD6EF","#E1EBF5"],"--color-illustration-orange-1":["#FA9632","#FB961E","#F99531","#CE7B31","#FF6600","#FDB07E","#EEB074","#FFB17A","#F7AF81","#FFB776","#F6B080","#FF6200","#F35E01"],"--color-illustration-orange-2":["#FAC896","#E0AB7C","#FFD0B6","#F9C795","#FFDAB8","#FFA166"],"--color-illustration-orange-3":["#FADCBE","#F9DCBD","#F8E9DC","#FBF4E1",""],"--color-illustration-orange-4":["#F9E9DC","#FFC099"],"--color-illustration-grey-1":["#D8D8D8","#9E9E9E","#669BD7"],"--color-illustration-grey-2":["#E5E4E4","#D7D7D7","#D6C7BD","#98BEE6"],"--color-illustration-grey-3":["#DAE2E8","#E4E3E3","#CFE2F4"],"--color-illustration-brown-1":["#A57E53","#A47D52","#C59C6C","#A57E53"],"--color-illustration-brown-2":["#D7C8BE","#D5C6BC","#c7b299","#C6B199","#D7C8BE"],"--color-illustration-yellow-1":["#E2CAC0","#F2D46A","#d8c344"],"--color-illustration-yellow-2":["#F4DCC1","#F1E2D8","#FAF3E1","#FADBBB","#F8DABC","#FAC891","#FBF5E2","#FCF5E3"],"--color-illustration-green-1":["#9AC5B1","#8CAF9C","#9AC5B0","#8BAE9C","#84B19C","#98C4B0","#16B055"],"--color-illustration-green-2":["#C4DDC5","#C7DBC5","#C2DDC3"],"--color-illustration-pink-1":["#E5BDCD","#E5BCCC","#E4BCCD","#D1BBDC"],"--color-illustration-pink-2":["#F4DCE6","#F4DBE5","#EEE7F7"],"--color-primary-variant":["#002D67"]}}}class W{getColors(){return{"--color-illustration-ultra-stage-primary":["#0066B3"],"--color-illustration-ultra-stage-accent":["#FF6200","#F35E01"],"--color-illustration-ultra-stage-primary-variant":["#002D67"],"--color-illustration-ultra-stage-primary-1":["#327DC8"],"--color-illustration-ultra-stage-primary-2":["#649BD7"],"--color-illustration-ultra-stage-primary-3":["#96BEE6"],"--color-illustration-ultra-stage-primary-4":["#E1EBF5"],"--color-illustration-ultra-stage-primary-5":["#FFFFFF","#FFF","white"],"--color-illustration-ultra-stage-skin-light":["#FFCDC3"],"--color-illustration-ultra-stage-skin-medium":["#F0AFA5"],"--color-illustration-ultra-stage-skin-dark":["#906A5D"],"--color-illustration-ultra-stage-contours":["#002D66"]}}}class C{getColors(){return{"--color-illustration-ultra-primary":["#0066B3"],"--color-illustration-ultra-accent":["#FF6200","#F35E01"],"--color-illustration-ultra-primary-variant":["#002D67"],"--color-illustration-ultra-primary-1":["#327DC8"],"--color-illustration-ultra-primary-2":["#649BD7"],"--color-illustration-ultra-primary-3":["#96BEE6"],"--color-illustration-ultra-primary-4":["#E1EBF5"],"--color-illustration-ultra-primary-5":["#FFFFFF","#FFF","white"],"--color-illustration-ultra-skin-light":["#FFCDC3"],"--color-illustration-ultra-skin-medium":["#F0AFA5"],"--color-illustration-ultra-skin-dark":["#906A5D"],"--color-illustration-ultra-contours":["#002D66"]}}}let Z=(()=>{class d{prepareImg(m,h,g,f){return{...g,content:g.svg&&g.replaceFixedColors?this.prepareSelfhostedSvg(m,h,g.content??"",f):g.content}}prepareSelfhostedSvg(m,h,g,f){return g=(g=g.replace(/<svg /,"<svg "+this.createPreserveAspectRatioString(m))).replace(/<title.*?>.+?<\/title>/,""),g=this.applyThemeColors(h,g,f),this.prepareUniqueIds(h,g)}prepareUniqueIds(m,h){try{const g=h.match(/id="(.*?)"/gi),f=this.getHash(m);if(g)for(const v of g){const T=v.replace('id="',"").replace('"',""),M=`${T}-${f}`.replace(/--/g,"-");h=h.replace(`url(#${T})`,`url(#${M})`).replace(`#${T}"`,`#${M}"`).replace(v,`id="${M}"`)}}catch(g){console.error(g)}return h}getHash(m){let g,f,h=0;if(0===m.length)return h;for(g=0;g<m.length;g++)f=m.charCodeAt(g),h=(h<<5)-h+f,h|=0;return h}applyThemeColors(m,h,g){try{for(const f in g.getColors()){const v=g.getColors()[f];Array.isArray(v)?v.forEach(T=>{h=h.replace(new RegExp(`"${T}"`,"gi"),`"var(${f})"`)}):h=h.replace(new RegExp(`"${v}"`,"gi"),`"var(${f})"`)}m&&-1!==m.indexOf("illu-mail.svg")&&(h=h.replace(/fill="#F5F8FA"/gi,'fill="var(--color-primary)" opacity="0.05"'))}catch(f){console.error(f)}return h}createPreserveAspectRatioString(m){const h=window.getComputedStyle(m,null).getPropertyValue("object-position").split(" "),g={"0%":"Min","50%":"Mid","100%":"Max"},f=g[h[0]],v=g[h[1]];return f&&v?`preserveAspectRatio="x${f}Y${v} meet"`:""}static{this.\u0275fac=function(h){return new(h||d)}}static{this.\u0275prov=e.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})();var O=function(d){return d[d.CLASSIC=0]="CLASSIC",d[d.ULTRA=1]="ULTRA",d[d.ULTRA_ON_STAGE=2]="ULTRA_ON_STAGE",d}(O||{});let G=(()=>{class d{set src(m){this._src=m,this.pushImageState()}get src(){return this._src}set alt(m){this._alt=m,this.pushImageState()}get alt(){return this._alt}set alwaysShow(m){this._alwaysShow=m,this.pushImageState()}get alwaysShow(){return this._alwaysShow}set selfHosted(m){this._selfHosted=m,this.pushImageState()}get selfHosted(){return this._selfHosted}set colorScheme(m){this._colorScheme=m,this.pushImageState()}get colorScheme(){return this._colorScheme}get isSetLoadedClass(){return this.isLoadedImage}constructor(m,h,g,f,v,T){this.sanitizer=m,this.root=h,this.environment=g,this.kfAssets=f,this.kfImgService=v,this.infoService=T,this.imageChange$=new F.m(1),this.image$=this.imageChange$.pipe((0,Y.B)(10),(0,ce.F)((M,x)=>this.compareImageState(M,x)),(0,K.n)(()=>this.loadImage())),this.forceChangeCount=0,this.isLoadedImage=!1,this._src="",this._alt="",this._selfHosted=!1,this._alwaysShow=!1,this._colorScheme=O.CLASSIC,this.WAIT_TILL_ABORT_TIME=500,this.showAltTextOnNoContent=!0,this.onEnvironmentChangeSubscription=this.environment.config$.subscribe(()=>{this.pushImageState(!0)})}ngOnDestroy(){this.onEnvironmentChangeSubscription.unsubscribe()}getIllustrationVariables(m){let h;switch(+m){case O.CLASSIC:h=new V;break;case O.ULTRA:h=new C;break;case O.ULTRA_ON_STAGE:h=new W;break;default:h=new V}return h}loadImage(){return this.infoService.themingInitialized.pipe((0,k.s)(1),(0,ue.w)(this.WAIT_TILL_ABORT_TIME),(0,K.n)(()=>this.loadImageImpl()),(0,H.W)(m=>this.loadImageImpl()))}loadImageImpl(){const m=!this.selfHosted||this.environment.getUseImages()||this.alwaysShow;return this.showAltTextOnNoContent=this.environment.getUseImages()||this.alwaysShow,m&&this.src?this.kfAssets.loadImage(this.src,this.selfHosted,!0,!(this.environment.getUseImages()||this.alwaysShow),this.environment.getUseImages()).pipe((0,I.p)(h=>!!h),(0,z.T)(h=>{const g=this.kfImgService.prepareImg(this.root.nativeElement,this.src,h,this.getIllustrationVariables(this.colorScheme)),f=g.svg?this.sanitizer.bypassSecurityTrustHtml(g.content??""):g.content;return this.isLoadedImage=!0,{isSVG:g.svg,isImg:g.img,content:f}})):(0,X.of)({isSVG:!1,isImg:!1,content:""})}compareImageState(m,h){return Object.keys(m).every(f=>m[f]===h[f])}pushImageState(m=!1){this.imageChange$.next({src:this.src,alwaysChange:this.alwaysShow,selfHosted:this.selfHosted,colorScheme:this.colorScheme,alt:this.alt,forceChangeCount:m?++this.forceChangeCount:this.forceChangeCount})}static{this.\u0275fac=function(h){return new(h||d)(l.rXU(de.up),l.rXU(l.aKT),l.rXU(Q.vf),l.rXU(Q.Go),l.rXU(Z),l.rXU(Q.cH))}}static{this.\u0275cmp=l.VBU({type:d,selectors:[["kf-img"]],hostVars:6,hostBindings:function(h,g){2&h&&(l.xc7("height",g.he
1ight)("width",g.width),l.AVh("kf-image-loaded",g.isSetLoadedClass))},inputs:{src:"src",alt:"alt",alwaysShow:"alwaysShow",selfHosted:"selfHosted",colorScheme:"colorScheme",height:"height",width:"width"},decls:2,vars:3,consts:[[3,"src","alt"],[1,"kf-img-svg-container","kf-img-svg",3,"innerHTML"],[1,"kf-img-svg-container","kf-img-alt"]],template:function(h,g){if(1&h&&(l.nVh(0,pe,4,1,"ng-container"),l.nI1(1,"async")),2&h){let f;l.vxM((f=l.bMT(1,1,g.image$))?0:-1,f)}},dependencies:[b.Jj],styles:["[_nghost-%COMP%]{display:inline-block}[_nghost-%COMP%] .kf-img-svg-container[_ngcontent-%COMP%]{display:inline}[_nghost-%COMP%] .kf-img-svg-container.kf-img-alt[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:small}[height][width][_nghost-%COMP%] svg[height$=px][width$=px]{height:100%;width:100%}[_nghost-%COMP%] svg{display:inline-block;position:relative;width:100%;height:100%;max-width:100%;max-height:100%}[_nghost-%COMP%] svg[height$=px][width$=px]{height:auto;width:auto}[_nghost-%COMP%] img{width:100%;height:100%}"]})}}return d})()}}]);
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.