1import{p as Me,r as nt}from"./chunk-5XHJENN4.js";import{Bb as Ie,D as S,Dc as Ae,Ea as y,Fa as Y,H as A,Ha as be,J as _e,Ja as ve,K as fe,La as ye,Mc as $,Oc as Te,Qc as d,T as x,U as me,W as P,X as pe,Y as w,a as V,aa as l,ba as T,d as c,da as b,eb as M,fa as o,fb as m,g as ce,i as k,ia as ge,ib as Ee,l as h,m as de,oa as G,pa as v,q as ue,rb as C,sb as D,ta as Z,u as g,ua as F,v as le,y as he,za as U}from"./chunk-M6BYH6T6.js";function z(t){return t.buttons===0||t.detail===0}function Q(t){let s=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!s&&s.identifier===-1&&(s.radiusX==null||s.radiusX===1)&&(s.radiusY==null||s.radiusY===1)}var q=c(()=>{"use strict"});function rt(){if(X==null){let t=typeof document<"u"?document.head:null;X=!!(t&&(t.createShadowRoot||t.attachShadow))}return X}function Ce(t){if(rt()){let s=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&s instanceof ShadowRoot)return s}return null}function N(t){return t.composedPath?t.composedPath()[0]:t.target}var X,De=c(()=>{"use strict"});var J,E,j=c(()=>{"use strict";d();d();nt();try{J=typeof Intl<"u"&&Intl.v8BreakIterator}catch{J=!1}E=(()=>{class t{_platformId=o(ve);isBrowser=this._platformId?Me(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||J)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275prov=l({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function ot(){if(L==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>L=!0}))}finally{L=L||!1}return L}function Ne(t){return ot()?t:!!t.capture}var L,Oe=c(()=>{"use strict"});function we(t,s=0){return at(t)?Number(t):arguments.length===2?s:0}function at(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function O(t){return t instanceof y?t.nativeElement:t}var ee=c(()=>{"use strict";d()});var Fe,Le,Re,te,ke,R,Se,B,xe,ct,Pe=c(()=>{"use strict";d();d();w();U();q();De();j();Oe();ee();Fe=new b("cdk-input-modality-detector-options"),Le={ignoreKeys:[18,17,224,91,16]},Re=650,te={passive:!0,capture:!0},ke=(()=>{class t{_platform=o(E);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new de(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>
vendor: 6,807 bytes, line 1
1i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=N(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<Re||(this._modality.next(z(e)?"keyboard":"mouse"),this._mostRecentTarget=N(e))};_onTouchstart=e=>{if(Q(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=N(e)};constructor(){let e=o(m),i=o(v),n=o(Fe,{optional:!0});if(this._options=V(V({},Le),n),this.modalityDetected=this._modality.pipe(x(1)),this.modalityChanged=this.modalityDetected.pipe(fe()),this._platform.isBrowser){let r=o(Ee).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[r.listen(i,"keydown",this._onKeydown,te),r.listen(i,"mousedown",this._onMousedown,te),r.listen(i,"touchstart",this._onTouchstart,te)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=l({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),R=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(R||{}),Se=new b("cdk-focus-monitor-default-options"),B=Ne({passive:!0,capture:!0}),xe=(()=>{class t{_ngZone=o(m);_platform=o(E);_inputModalityDetector=o(ke);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=o(v);_stopInputModalityDetector=new h;constructor(){let e=o(Se,{optional:!0});this._detectionMode=e?.detectionMode||R.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=N(e);for(let n=i;n;n=n.parentElement)e.type==="focus"?this._onFocus(e,n):this._onBlur(e,n)};monitor(e,i=!1){let n=O(e);if(!this._platform.isBrowser||n.nodeType!==1)return ue();let r=Ce(n)||this._document,a=this._elementInfo.get(n);if(a)return i&&(a.checkChildren=!0),a.subject;let u={checkChildren:i,subject:new h,rootNode:r};return this._elementInfo.set(n,u),this._registerGlobalListeners(u),u.subject}stopMonitoring(e){let i=O(e),n=this._elementInfo.get(i);n&&(n.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(n))}focusVia(e,i,n){let r=O(e),a=this._document.activeElement;r===a?this._getClosestElementsInfo(r).forEach(([u,f])=>this._originChanged(u,i,f)):(this._setOrigin(i),typeof r.focus=="function"&&r.focus(n))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===R.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===R.IMMEDIATE){clearTimeout(this._originTimeoutId);let n=this._originFromTouchInteraction?Re:1;this._originTimeoutId=setTimeout(()=>this._origin=null,n)}})}_onFocus(e,i){let n=this._elementInfo.get(i),r=N(e);!n||!n.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),n)}_onBlur(e,i){let n=this._elementInfo.get(i);!n||n.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(n,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,n=this._rootNodeFocusListenerCount.get(i)||0;n||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,B),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,B)}),this._rootNodeFocusListenerCount.set(i,n+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(P(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let n=this._rootNodeFocusListenerCount.get(i);n>1?this._rootNodeFocusListenerCount.set(i,n-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,B),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,B),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,n){this._setClasses(e,i),this._emitOrigin(n,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((n,r)=>{(r===e||n.checkChildren&&r.contains(e))&&i.push([r,n])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:n}=this._inputModalityDetector;if(n!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let a=0;a<r.length;a++)if(r[a].contains(i))return!0}return!1}static \u0275fac=function(i){return new(i||t)};static \u0275prov=l({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ct=(()=>{class t{_elementRef=o(y);_focusMonitor=o(xe);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new M;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=D({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})()});var K,dt,Ue=c(()=>{"use strict";d();d();K=new WeakMap,dt=(()=>{class t{_appRef;_injector=o(G);_environmentInjector=o(ge);load(e){let i=this._appRef=this._appRef||this._injector.get(Ie),n=K.get(i);
1n||(n={loaders:new Set,refs:[]},K.set(i,n),i.onDestroy(()=>{K.get(i)?.refs.forEach(r=>r.destroy()),K.delete(i)})),n.loaders.has(e)||(n.loaders.add(e),n.refs.push(Te(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=l({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var ut=c(()=>{"use strict";Ue()});function ie(t){return Array.isArray(t)?t:[t]}var je=c(()=>{"use strict"});function ht(t,s){if(!Be.has(t))try{I||(I=document.createElement("style"),s&&I.setAttribute("nonce",s),I.setAttribute("type","text/css"),document.head.appendChild(I)),I.sheet&&(I.sheet.insertRule(`@media ${t} {body{ }}`,0),Be.add(t))}catch(e){console.error(e)}}function _t(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}function Ke(t){return t.map(s=>s.split(",")).reduce((s,e)=>s.concat(e)).map(s=>s.trim())}var Be,I,lt,He,We=c(()=>{"use strict";d();d();w();U();j();je();Be=new Set,lt=(()=>{class t{_platform=o(E);_nonce=o(ye,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):_t}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&ht(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=l({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();He=(()=>{class t{_mediaMatcher=o(lt);_zone=o(m);_queries=new Map;_destroySubject=new h;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Ke(ie(e)).some(n=>this._registerQuery(n).mql.matches)}observe(e){let n=Ke(ie(e)).map(a=>this._registerQuery(a).observable),r=le(n);return r=he(r.pipe(_e(1)),r.pipe(x(1),A(0))),r.pipe(g(a=>{let u={matches:!1,breakpoints:{}};return a.forEach(({matches:f,query:st})=>{u.matches=u.matches||f,u.breakpoints[st]=f}),u}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),r={observable:new k(a=>{let u=f=>this._zone.run(()=>a.next(f));return i.addListener(u),()=>{i.removeListener(u)}}).pipe(me(i),g(({matches:a})=>({query:e,matches:a})),P(this._destroySubject)),mql:i};return this._queries.set(e,r),r}static \u0275fac=function(i){return new(i||t)};static \u0275prov=l({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});function ft(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let s=0;s<t.addedNodes.length;s++)if(!(t.addedNodes[s]instanceof Comment))return!1;for(let s=0;s<t.removedNodes.length;s++)if(!(t.removedNodes[s]instanceof Comment))return!1;return!0}return!1}var mt,pt,yi,gt=c(()=>{"use strict";d();d();w();U();ee();mt=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=l({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),pt=(()=>{class t{_mutationObserverFactory=o(mt);_observedElements=new Map;_ngZone=o(m);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=O(e);return new k(n=>{let a=this._observeElement(i).pipe(g(u=>u.filter(f=>!ft(f))),S(u=>!!u.length)).subscribe(u=>{this._ngZone.run(()=>{n.next(u)})});return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new h,n=this._mutationObserverFactory.create(r=>i.next(r));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:i,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:i,stream:n}=this._observedElements.get(e);i&&i.disconnect(),n.complete(),this._observedElements.delete(e)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=l({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),yi=(()=>{class t{_contentObserver=o(pt);_elementRef=o(y);event=new M;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=we(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(A(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=D({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",$],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})()});var p,Ve,Ge,se,ne,Ze=c(()=>{"use strict";d();d();j();We();p=(function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t})(p||{}),Ve="cdk-high-contrast-black-on-white",Ge="cdk-high-contrast-white-on-black",se="c
1dk-high-contrast-active",ne=(()=>{class t{_platform=o(E);_hasCheckedHighContrastMode;_document=o(v);_breakpointSubscription;constructor(){this._breakpointSubscription=o(He).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return p.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,n=i&&i.getComputedStyle?i.getComputedStyle(e):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return p.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return p.BLACK_ON_WHITE}return p.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(se,Ve,Ge),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===p.BLACK_ON_WHITE?e.add(se,Ve):i===p.WHITE_ON_BLACK&&e.add(se,Ge)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=l({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var re,bt,Ye=c(()=>{"use strict";d();d();re={},bt=(()=>{class t{_appId=o(be);getId(e){return this._appId!=="ng"&&(e+=this._appId),re.hasOwnProperty(e)||(re[e]=0),`${e}${re[e]++}`}static \u0275fac=function(i){return new(i||t)};static \u0275prov=l({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var vt,H,$e=c(()=>{"use strict";w();U();vt=200,H=class{_letterKeyStream=new h;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new h;selectedItem=this._selectedItem;constructor(s,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:vt;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(s),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(s){this._selectedItemIndex=s}setItems(s){this._items=s}handleKey(s){let e=s.keyCode;s.key&&s.key.length===1?this._letterKeyStream.next(s.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(s){this._letterKeyStream.pipe(pe(e=>this._pressedLetters.push(e)),A(s),S(()=>this._pressedLetters.length>0),g(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let n=(this._selectedItemIndex+i)%this._items.length,r=this._items[n];if(!this._skipPredicateFn?.(r)&&r.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(r);break}}this._pressedLetters=[]})}}});function ze(t,...s){return s.length?s.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Qe=c(()=>{"use strict"});var W,qe=c(()=>{"use strict";d();w();$e();Qe();W=class{_items;_activeItemIndex=F(-1);_activeItem=F(null);_wrap=!1;_typeaheadSubscription=ce.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=s=>s.disabled;constructor(s,e){this._items=s,s instanceof Y?this._itemChangesSubscription=s.changes.subscribe(i=>this._itemsChanged(i.toArray())):Z(s)&&(this._effectRef=Ae(()=>this._itemsChanged(s()),{injector:e}))}tabOut=new h;change=new h;skipPredicate(s){return this._skipPredicateFn=s,this}withWrap(s=!0){return this._wrap=s,this}withVerticalOrientation(s=!0){return this._vertical=s,this}withHorizontalOrientation(s){return this._horizontal=s,this}withAllowedModifierKeys(s){return this._allowedModifierKeys=s,this}withTypeAhead(s=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new H(e,{debounceInterval:typeof s=="number"?s:void 0,skipPredicate:i=>this._skipPredicateFn(i)}
1),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(s=!0){return this._homeAndEnd=s,this}withPageUpDown(s=!0,e=10){return this._pageUpAndDown={enabled:s,delta:e},this}setActiveItem(s){let e=this._activeItem();this.updateActiveItem(s),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(s){let e=s.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!s[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let r=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let r=this._activeItemIndex()+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(r<a?r:a-1,-1);break}else return;default:(n||ze(s,"shiftKey"))&&this._typeahead?.handleKey(s);return}this._typeahead?.reset(),s.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(s){let e=this._getItemsArray(),i=typeof s=="number"?s:e.indexOf(s),n=e[i];this._activeItem.set(n??null),this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(s){this._wrap?this._setActiveInWrapMode(s):this._setActiveInDefaultMode(s)}_setActiveInWrapMode(s){let e=this._getItemsArray();for(let i=1;i<=e.length;i++){let n=(this._activeItemIndex()+s*i+e.length)%e.length,r=e[n];if(!this._skipPredicateFn(r)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(s){this._setActiveItemByIndex(this._activeItemIndex()+s,s)}_setActiveItemByIndex(s,e){let i=this._getItemsArray();if(i[s]){for(;this._skipPredicateFn(i[s]);)if(s+=e,!i[s])return;this.setActiveItem(s)}}_getItemsArray(){return Z(this._items)?this._items():this._items instanceof Y?this._items.toArray():this._items}_itemsChanged(s){this._typeahead?.setItems(s);let e=this._activeItem();if(e){let i=s.indexOf(e);i>-1&&i!==this._activeItemIndex()&&(this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i))}}}});var oe,Xe=c(()=>{"use strict";qe();oe=class extends W{_origin="program";setFocusOrigin(s){return this._origin=s,this}setActiveItem(s){super.setActiveItem(s),this.activeItem&&this.activeItem.focus(this._origin)}}});var Je=c(()=>{"use strict";Pe();Ze();Ye();Xe();q()});function Et(){return o(v)}function et(t){let s=t?.toLowerCase()||"";return s==="auto"&&typeof navigator<"u"&&navigator?.language?It.test(navigator.language)?"rtl":"ltr":s==="rtl"?"rtl":"ltr"}var yt,It,At,tt=c(()=>{"use strict";d();d();yt=new b("cdk-dir-doc",{providedIn:"root",factory:Et});It=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;At=(()=>{class t{get value(){return this.valueSignal()}valueSignal=F("ltr");change=new M;constructor(){let e=o(yt,{optional:!0});if(e){let i=e.body?e.body.dir:null,n=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(et(i||n||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=l({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})()});var ae,it=c(()=>{"use strict";tt();d();ae=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=C({type:t});static \u0275inj=T({})}return t})()});var Fs,Tt=c(()=>{"use strict";Je();it();d();d();Fs=(()=>{class t{constructor(){o(ne)._applyBodyHighContrastModeCssClasse
1s()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=C({type:t});static \u0275inj=T({imports:[ae,ae]})}return t})()});export{z as a,Q as b,N as c,De as d,E as e,j as f,Ne as g,Oe as h,O as i,ee as j,ct as k,dt as l,ut as m,lt as n,We as o,yi as p,gt as q,bt as r,ze as s,Qe as t,oe as u,Je as v,At as w,tt as x,it as y,Fs as z,Tt as A};
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.