Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
overpastor
/
wp
/
wp.
/
wp-content
/
plugins
/
imunify-security
/
assets
/
ui-app
/
assets
/
static
/
shared-dependencies
:
a11y.min.ce689e492df7.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
System.register(["@angular/common","@angular/core","@angular/cdk/platform","rxjs","@angular/cdk/keycodes","rxjs/operators","@angular/cdk/coercion","@angular/cdk/observers","@angular/cdk/layout"],(function(e){"use strict";var t,s,i,n,r,o,c,a,h,u,l,d,_,m,g,f,b,p,v,y,A,I,E,T,C,w,k,F,L,O,M,N,R,D,x,S,j,B,P,K,U,Z,W,H,V,$,G,Y;return{setters:[function(e){t=e.DOCUMENT},function(e){s=e.inject,i=e.APP_ID,n=e,e.Injectable,e.Inject,e.Directive,e.Input,r=e.InjectionToken,e.Optional,o=e.EventEmitter,e.Output,e.NgModule,c=e.QueryList},function(e){a=e,h=e._getFocusedElementPierceShadowDom,u=e.normalizePassiveListenerOptions,l=e._getEventTarget,d=e._getShadowRoot},function(e){_=e.BehaviorSubject,m=e.Subject,g=e.of,f=e.Subscription},function(e){b=e.hasModifierKey,p=e.A,v=e.Z,y=e.ZERO,A=e.NINE,I=e.PAGE_DOWN,E=e.PAGE_UP,T=e.END,C=e.HOME,w=e.LEFT_ARROW,k=e.RIGHT_ARROW,F=e.UP_ARROW,L=e.DOWN_ARROW,O=e.TAB,M=e.ALT,N=e.CONTROL,R=e.MAC_META,D=e.META,x=e.SHIFT},function(e){S=e.skip,j=e.distinctUntilChanged,B=e.takeUntil,P=e.tap,K=e.debounceTime,U=e.filter,Z=e.map,W=e.take},function(e){H=e.coerceBooleanProperty,V=e.coerceElement},function(e){$=e,G=e.ObserversModule},function(e){Y=e.BreakpointObserver}],execute:function(){e({LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY:Te,addAriaReferencedId:q,getAriaReferenceIds:Q,isFakeMousedownFromScreenReader:be,isFakeTouchstartFromScreenReader:pe,removeAriaReferencedId:X});const z=" ";function q(e,t,s){const i=Q(e,t);i.some((e=>e.trim()==s.trim()))||(i.push(s.trim()),e.setAttribute(t,i.join(z)))}function X(e,t,s){const i=Q(e,t).filter((e=>e!=s.trim()));i.length?e.setAttribute(t,i.join(z)):e.removeAttribute(t)}function Q(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}e("MESSAGES_CONTAINER_ID","cdk-describedby-message-container");const J=e("CDK_DESCRIBEDBY_ID_PREFIX","cdk-describedby-message"),ee=e("CDK_DESCRIBEDBY_HOST_ATTRIBUTE","cdk-describedby-host");let te=0;class se{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+te++,this._document=e,this._id=s(i)+"-"+te++}describe(e,t,s){if(!this._canBeDescribed(e,t))return;const i=ie(t,s);"string"!=typeof t?(ne(t,this._id),this._messageRegistry.set(i,{messageElement:t,referenceCount:0})):this._messageRegistry.has(i)||this._createMessageElement(t,s),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}removeDescription(e,t,s){if(!t||!this._isElementNode(e))return;const i=ie(t,s);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){const e=this._messageRegistry.get(i);e&&0===e.referenceCount&&this._deleteMessageElement(i)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${ee}="${this._id}"]`);for(let t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute(ee);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,t){const s=this._document.createElement("div");ne(s,this._id),s.textContent=e,t&&s.setAttribute("role",t),this._createMessagesContainer(),this._messagesContainer.appendChild(s),this._messageRegistry.set(ie(e,t),{messageElement:s,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;const e="cdk-describedby-message-container",t=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let e=0;e<t.length;e++)t[e].remove();const s=this._document.createElement("div");s.style.visibility="hidden",s.classList.add(e),s.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&s.setAttribute("platform","server"),this._document.body.appendChild(s),this._messagesContainer=s}_removeCdkDescribedByReferenceIds(e){const t=Q(e,"aria-describedby").filter((e=>0!=e.indexOf(J)));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const s=this._messageRegistry.get(t);q(e,"aria-describedby",s.messageElement.id),e.setAttribute(ee,this._id),s.referenceCount++}_removeMessageReference(e,t){const s=this._messageRegistry.get(t);s.referenceCount--,X(e,"aria-describedby",s.messageElement.id),e.removeAttribute(ee)}_isElementDescribedByMessage(e,t){const s=Q(e,"aria-describedby"),i=this._messageRegistry.get(t),n=i&&i.messageElement.id;return!!n&&-1!=s.indexOf(n)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const s=null==t?"":`${t}`.trim(),i=e.getAttribute("aria-label");return!!s&&(!i||i.trim()!==s)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(e){return new(e||se)(n.\u0275\u0275inject(t),n.\u0275\u0275inject(a.Platform))}}static{this.\u0275prov=n.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac,providedIn:"root"})}}function ie(e,t){return"string"==typeof e?`${t||""}/${e}`:e}function ne(e,t){e.id||(e.id=`${J}-${t}-${te++}`)}e("AriaDescriber",se);class re{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new m,this._typeaheadSubscription=f.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new m,this.change=new m,e instanceof c&&(this._itemChangesSubscription=e.changes.subscribe((e=>{if(this._activeItem){const t=e.toArray().indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}})))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(P((e=>this._pressedLetters.push(e))),K(e),U((()=>this._pressedLetters.length>0)),Z((()=>this._pressedLetters.join("")))).subscribe((e=>{const t=this._getItemsArray();for(let s=1;s<t.length+1;s++){const i=(this._activeItemIndex+s)%t.length,n=t[i];if(!this._skipPredicateFn(n)&&0===n.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(i);break}}this._pressedLetters=[]})),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,t=10){return this._pageUpAndDown={enabled:e,delta:t},this}setActiveItem(e){const t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}onKeydown(e){const t=e.keyCode,s=["altKey","ctrlKey","metaKey","shiftKey"].every((t=>!e[t]||this._allowedModifierKeys.indexOf(t)>-1));switch(t){case O:return void this.tabOut.next();case L:if(this._vertical&&s){this.setNextItemActive();break}return;case F:if(this._vertical&&s){this.setPreviousItemActive();break}return;case k:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case w:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case C:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case T:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;case E:if(this._pageUpAndDown.enabled&&s){const e=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(e>0?e:0,1);break}return;case I:if(this._pageUpAndDown.enabled&&s){const e=this._activeItemIndex+this._pageUpAndDown.delta,t=this._getItemsArray().length;this._setActiveItemByIndex(e<t?e:t-1,-1);break}return;default:return void((s||b(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=p&&t<=v||t>=y&&t<=A)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){const t=this._getItemsArray(),s="number"==typeof e?e:t.indexOf(e),i=t[s];this._activeItem=null==i?null:i,this._activeItemIndex=s}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let s=1;s<=t.length;s++){const i=(this._activeItemIndex+e*s+t.length)%t.length,n=t[i];if(!this._skipPredicateFn(n))return void this.setActiveItem(i)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const s=this._getItemsArray();if(s[e]){for(;this._skipPredicateFn(s[e]);)if(!s[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof c?this._items.toArray():this._items}}e("ListKeyManager",re);e("ActiveDescendantKeyManager",class extends re{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}});e("FocusKeyManager",class extends re{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}});e("IsFocusableConfig",class{constructor(){this.ignoreVisibility=!1}});class oe{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function(e){try{return e.frameElement}catch{return null}}((s=e).ownerDocument&&s.ownerDocument.defaultView||window);var s;if(t){if(-1===ae(t))return!1;if(!this.isVisible(t))return!1}let i=e.nodeName.toLowerCase(),n=ae(e);return e.hasAttribute("contenteditable")?-1!==n:"iframe"!==i&&"object"!==i&&(!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){let t=e.nodeName.toLowerCase(),s="input"===t&&e.type;return"text"===s||"password"===s||"select"===t||"textarea"===t}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==n:"video"===i?-1!==n&&(null!==n||(this._platform.FIREFOX||e.hasAttribute("controls"))):e.tabIndex>=0))}isFocusable(e,t){return function(e){if(function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e))return!1;return function(e){let t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||ce(e)}(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}static{this.\u0275fac=function(e){return new(e||oe)(n.\u0275\u0275inject(a.Platform))}}static{this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}}function ce(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function ae(e){if(!ce(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}e("InteractivityChecker",oe);class he{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,t,s,i,n=!1){this._element=e,this._checker=t,this._ngZone=s,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,n||this.attachAnchors()}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular((()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise((t=>{this._executeOnStable((()=>t(this.focusInitialElement(e))))}))}focusFirstTabbableElementWhenReady(e){return new Promise((t=>{this._executeOnStable((()=>t(this.focusFirstTabbableElement(e))))}))}focusLastTabbableElementWhenReady(e){return new Promise((t=>{this._executeOnStable((()=>t(this.focusLastTabbableElement(e))))}))}_getRegionBoundary(e){const t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){const s=this._getFirstTabbableElement(t);return s?.focus(e),!!s}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){const t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){const t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;const t=e.children;for(let e=0;e<t.length;e++){const s=t[e].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[e]):null;if(s)return s}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;const t=e.children;for(let e=t.length-1;e>=0;e--){const s=t[e].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[e]):null;if(s)return s}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(W(1)).subscribe(e)}}e("FocusTrap",he);class ue{constructor(e,t,s){this._checker=e,this._ngZone=t,this._document=s}create(e,t=!1){return new he(e,this._checker,this._ngZone,this._document,t)}static{this.\u0275fac=function(e){return new(e||ue)(n.\u0275\u0275inject(oe),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(t))}}static{this.\u0275prov=n.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac,providedIn:"root"})}}e("FocusTrapFactory",ue);class le{get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=H(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=H(e)}constructor(e,t,s){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=h(),this.focusTrap.focusInitialElementWhenReady()}static{this.\u0275fac=function(e){return new(e||le)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(t))}}static{this.\u0275dir=n.\u0275\u0275defineDirective({type:le,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[n.\u0275\u0275NgOnChangesFeature]})}}e("CdkTrapFocus",le);class de extends he{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}constructor(e,t,s,i,n,r,o){super(e,t,s,i,o.defer),this._focusTrapManager=n,this._inertStrategy=r,this._focusTrapManager.register(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}}e("ConfigurableFocusTrap",de);const _e=e("FOCUS_TRAP_INERT_STRATEGY",new r("FOCUS_TRAP_INERT_STRATEGY"));class me{constructor(){this._listener=null}preventFocus(e){this._listener&&e._document.removeEventListener("focus",this._listener,!0),this._listener=t=>this._trapFocus(e,t),e._ngZone.runOutsideAngular((()=>{e._document.addEventListener("focus",this._listener,!0)}))}allowFocus(e){this._listener&&(e._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(e,t){const s=t.target,i=e._element;!s||i.contains(s)||s.closest?.("div.cdk-overlay-pane")||setTimeout((()=>{e.enabled&&!i.contains(e._document.activeElement)&&e.focusFirstTabbableElement()}))}}e("EventListenerFocusTrapInertStrategy",me);class ge{constructor(){this._focusTrapStack=[]}register(e){this._focusTrapStack=this._focusTrapStack.filter((t=>t!==e));let t=this._focusTrapStack;t.length&&t[t.length-1]._disable(),t.push(e),e._enable()}deregister(e){e._disable();const t=this._focusTrapStack,s=t.indexOf(e);-1!==s&&(t.splice(s,1),t.length&&t[t.length-1]._enable())}static{this.\u0275fac=function(e){return new(e||ge)}}static{this.\u0275prov=n.\u0275\u0275defineInjectable({token:ge,factory:ge.\u0275fac,providedIn:"root"})}}class fe{constructor(e,t,s,i,n){this._checker=e,this._ngZone=t,this._focusTrapManager=s,this._document=i,this._inertStrategy=n||new me}create(e,t={defer:!1}){let s;return s="boolean"==typeof t?{defer:t}:t,new de(e,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,s)}static{this.\u0275fac=function(e){return new(e||fe)(n.\u0275\u0275inject(oe),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(ge),n.\u0275\u0275inject(t),n.\u0275\u0275inject(_e,8))}}static{this.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac,providedIn:"root"})}}function be(e){return 0===e.buttons||0===e.detail}function pe(e){const t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}e("ConfigurableFocusTrapFactory",fe);const ve=e("INPUT_MODALITY_DETECTOR_OPTIONS",new r("cdk-input-modality-detector-options")),ye=e("INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS",{ignoreKeys:[M,N,R,D,x]}),Ae=u({passive:!0,capture:!0});class Ie{get mostRecentModality(){return this._modality.value}constructor(e,t,s,i){this._platform=e,this._mostRecentTarget=null,this._modality=new _(null),this._lastTouchMs=0,this._onKeydown=e=>{this._options?.ignoreKeys?.some((t=>t===e.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=l(e))},this._onMousedown=e=>{Date.now()-this._lastTouchMs<650||(this._modality.next(be(e)?"keyboard":"mouse"),this._mostRecentTarget=l(e))},this._onTouchstart=e=>{pe(e)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=l(e))},this._options={...ye,...i},this.modalityDetected=this._modality.pipe(S(1)),this.modalityChanged=this.modalityDetected.pipe(j()),e.isBrowser&&t.runOutsideAngular((()=>{s.addEventListener("keydown",this._onKeydown,Ae),s.addEventListener("mousedown",this._onMousedown,Ae),s.addEventListener("touchstart",this._onTouchstart,Ae)}))}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ae),document.removeEventListener("mousedown",this._onMousedown,Ae),document.removeEventListener("touchstart",this._onTouchstart,Ae))}static{this.\u0275fac=function(e){return new(e||Ie)(n.\u0275\u0275inject(a.Platform),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(t),n.\u0275\u0275inject(ve,8))}}static{this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac,providedIn:"root"})}}e("InputModalityDetector",Ie);const Ee=e("LIVE_ANNOUNCER_ELEMENT_TOKEN",new r("liveAnnouncerElement",{providedIn:"root",factory:Te}));function Te(){return null}const Ce=e("LIVE_ANNOUNCER_DEFAULT_OPTIONS",new r("LIVE_ANNOUNCER_DEFAULT_OPTIONS"));let we=0;class ke{constructor(e,t,s,i){this._ngZone=t,this._defaultOptions=i,this._document=s,this._liveElement=e||this._createLiveElement()}announce(e,...t){const s=this._defaultOptions;let i,n;return 1===t.length&&"number"==typeof t[0]?n=t[0]:[i,n]=t,this.clear(),clearTimeout(this._previousTimeout),i||(i=s&&s.politeness?s.politeness:"polite"),null==n&&s&&(n=s.duration),this._liveElement.setAttribute("aria-live",i),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular((()=>(this._currentPromise||(this._currentPromise=new Promise((e=>this._currentResolve=e))),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout((()=>{this._liveElement.textContent=e,"number"==typeof n&&(this._previousTimeout=setTimeout((()=>this.clear()),n)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0}),100),this._currentPromise)))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),s=this._document.createElement("div");for(let e=0;e<t.length;e++)t[e].remove();return s.classList.add(e),s.classList.add("cdk-visually-hidden"),s.setAttribute("aria-atomic","true"),s.setAttribute("aria-live","polite"),s.id="cdk-live-announcer-"+we++,this._document.body.appendChild(s),s}_exposeAnnouncerToModals(e){const t=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let s=0;s<t.length;s++){const i=t[s],n=i.getAttribute("aria-owns");n?-1===n.indexOf(e)&&i.setAttribute("aria-owns",n+" "+e):i.setAttribute("aria-owns",e)}}static{this.\u0275fac=function(e){return new(e||ke)(n.\u0275\u0275inject(Ee,8),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(t),n.\u0275\u0275inject(Ce,8))}}static{this.\u0275prov=n.\u0275\u0275defineInjectable({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}e("LiveAnnouncer",ke);class Fe{get politeness(){return this._politeness}set politeness(e){this._politeness="off"===e||"assertive"===e?e:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular((()=>this._contentObserver.observe(this._elementRef).subscribe((()=>{const e=this._elementRef.nativeElement.textContent;e!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(e,this._politeness,this.duration),this._previousAnnouncedText=e)})))))}constructor(e,t,s,i){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=s,this._ngZone=i,this._politeness="polite"}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}static{this.\u0275fac=function(e){return new(e||Fe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(ke),n.\u0275\u0275directiveInject($.ContentObserver),n.\u0275\u0275directiveInject(n.NgZone))}}static{this.\u0275dir=n.\u0275\u0275defineDirective({type:Fe,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"],duration:["cdkAriaLiveDuration","duration"]},exportAs:["cdkAriaLive"]})}}e("CdkAriaLive",Fe);const Le=e("FOCUS_MONITOR_DEFAULT_OPTIONS",new r("cdk-focus-monitor-default-options")),Oe=u({passive:!0,capture:!0});class Me{constructor(e,t,s,i,n){this._ngZone=e,this._platform=t,this._inputModalityDetector=s,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout((()=>this._windowFocused=!1))},this._stopInputModalityDetector=new m,this._rootNodeFocusAndBlurListener=e=>{for(let t=l(e);t;t=t.parentElement)"focus"===e.type?this._onFocus(e,t):this._onBlur(e,t)},this._document=i,this._detectionMode=n?.detectionMode||0}monitor(e,t=!1){const s=V(e);if(!this._platform.isBrowser||1!==s.nodeType)return g();const i=d(s)||this._getDocument(),n=this._elementInfo.get(s);if(n)return t&&(n.checkChildren=!0),n.subject;const r={checkChildren:t,subject:new m,rootNode:i};return this._elementInfo.set(s,r),this._registerGlobalListeners(r),r.subject}stopMonitoring(e){const t=V(e),s=this._elementInfo.get(t);s&&(s.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(s))}focusVia(e,t,s){const i=V(e);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach((([e,s])=>this._originChanged(e,t,s))):(this._setOrigin(t),"function"==typeof i.focus&&i.focus(s))}ngOnDestroy(){this._elementInfo.forEach(((e,t)=>this.stopMonitoring(t)))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().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 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused","touch"===t),e.classList.toggle("cdk-keyboard-focused","keyboard"===t),e.classList.toggle("cdk-mouse-focused","mouse"===t),e.classList.toggle("cdk-program-focused","program"===t)}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular((()=>{if(this._origin=e,this._originFromTouchInteraction="touch"===e&&t,0===this._detectionMode){clearTimeout(this._originTimeoutId);const e=this._originFromTouchInteraction?650:1;this._originTimeoutId=setTimeout((()=>this._origin=null),e)}}))}_onFocus(e,t){const s=this._elementInfo.get(t),i=l(e);s&&(s.checkChildren||t===i)&&this._originChanged(t,this._getFocusOrigin(i),s)}_onBlur(e,t){const s=this._elementInfo.get(t);!s||s.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(s,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run((()=>e.subject.next(t)))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,s=this._rootNodeFocusListenerCount.get(t)||0;s||this._ngZone.runOutsideAngular((()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Oe),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Oe)})),this._rootNodeFocusListenerCount.set(t,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular((()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)})),this._inputModalityDetector.modalityDetected.pipe(B(this._stopInputModalityDetector)).subscribe((e=>{this._setOrigin(e,!0)})))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const e=this._rootNodeFocusListenerCount.get(t);e>1?this._rootNodeFocusListenerCount.set(t,e-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Oe),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Oe),this._rootNodeFocusListenerCount.delete(t))}if(! --this._monitoredElementCount){this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(e,t,s){this._setClasses(e,t),this._emitOrigin(s,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach(((s,i)=>{(i===e||s.checkChildren&&i.contains(e))&&t.push([i,s])})),t}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:t,mostRecentModality:s}=this._inputModalityDetector;if("mouse"!==s||!t||t===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const i=e.labels;if(i)for(let e=0;e<i.length;e++)if(i[e].contains(t))return!0;return!1}static{this.\u0275fac=function(e){return new(e||Me)(n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(a.Platform),n.\u0275\u0275inject(Ie),n.\u0275\u0275inject(t,8),n.\u0275\u0275inject(Le,8))}}static{this.\u0275prov=n.\u0275\u0275defineInjectable({token:Me,factory:Me.\u0275fac,providedIn:"root"})}}e("FocusMonitor",Me);class Ne{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this._focusOrigin=null,this.cdkFocusChange=new o}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe((e=>{this._focusOrigin=e,this.cdkFocusChange.emit(e)}))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static{this.\u0275fac=function(e){return new(e||Ne)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Me))}}static{this.\u0275dir=n.\u0275\u0275defineDirective({type:Ne,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}}e("CdkMonitorFocus",Ne);const Re="cdk-high-contrast-black-on-white",De="cdk-high-contrast-white-on-black",xe="cdk-high-contrast-active";class Se{constructor(e,t){this._platform=e,this._document=t,this._breakpointSubscription=s(Y).observe("(forced-colors: active)").subscribe((()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())}))}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,s=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),i){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(xe,Re,De),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?e.add(xe,Re):2===t&&e.add(xe,De)}}static{this.\u0275fac=function(e){return new(e||Se)(n.\u0275\u0275inject(a.Platform),n.\u0275\u0275inject(t))}}static{this.\u0275prov=n.\u0275\u0275defineInjectable({token:Se,factory:Se.\u0275fac,providedIn:"root"})}}e("HighContrastModeDetector",Se);class je{constructor(e){e._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(e){return new(e||je)(n.\u0275\u0275inject(Se))}}static{this.\u0275mod=n.\u0275\u0275defineNgModule({type:je})}static{this.\u0275inj=n.\u0275\u0275defineInjector({imports:[G]})}}e("A11yModule",je)}}}));