import{n as s,t as r}from"./chunk-B7bLvSFs.js";import{$ as Ld,$t as WB,Ar as nr,Br as qb,C as Eu,Ct as QB,Dt as Qm,En as _t$1,Fn as bb,Ft as Sm,Jr as so,Lr as pu,Mt as S,O as GI,Pr as pE,Q as Lb,Rn as bf,Rt as Sw,S as Ee$1,Si as ww,Sn as _I,Sr as lI,T as FT,Tt as Qc,Ut as Tw,W as KB,Xr as sy,Y as Kr,_i as wb,at as Me$1,bi as wf,c as B$1,ei as te$1,f as C_,fr as hy,ht as Nn,ii as tt$1,in as Wm,ir as gg,jn as as,jr as ny,ln as Xr,mi as ve,mn as Yb,mr as io,mt as Nm,o as As,pr as ia,sn as Xd,tt as M,ui as v,x as EE,xt as Pt,yn as Zb,yt as Ov}from"./chunk-DR8zdE1B.js";import{D as Qm$1,E as Ou,Ft as vr,J as ef,Mt as ve$1,P as St$1,Pt as vp,St as rf,Tt as se,U as ca,V as _g,_ as En,a as Ap,d as Cn,j as Si,o as Ar,pt as nt$1,rt as he,t as $$1,vt as pu$1,zt as yg}from"./chunk-MsEEQtoP.js";var Re=class{};function fi(n){return n&&typeof n.connect==`function`&&!(n instanceof ia)}var Q=(function(n){return n[n.REPLACED=0]=`REPLACED`,n[n.INSERTED=1]=`INSERTED`,n[n.MOVED=2]=`MOVED`,n[n.REMOVED=3]=`REMOVED`,n})(Q||{});var xe=class{viewCacheSize=20;_viewCache=[];applyChanges(i,t,e,o,s){i.forEachOperation((r,a,c)=>{let d,h;if(r.previousIndex==null){let f=()=>e(r,a,c);d=this._insertView(f,c,t,o(r)),h=d?Q.INSERTED:Q.REPLACED}else c==null?(this._detachAndCacheView(a,t),h=Q.REMOVED):(d=this._moveView(a,c,t,o(r)),h=Q.MOVED);s&&s({context:d?.context,operation:h,record:r})})}detach(){for(let i of this._viewCache)i.destroy();this._viewCache=[]}_insertView(i,t,e,o){let s=this._insertViewFromCache(t,e);if(s){s.context.$implicit=o;return}let r=i();return e.createEmbeddedView(r.templateRef,r.context,r.index)}_detachAndCacheView(i,t){let e=t.detach(i);this._maybeCacheView(e,t)}_moveView(i,t,e,o){let s=e.get(i);return e.move(s,t),s.context.$implicit=o,s}_maybeCacheView(i,t){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(i);else{let e=t.indexOf(i);e===-1?i.destroy():t.remove(e)}}_insertViewFromCache(i,t){let e=this._viewCache.pop();return e&&t.insert(e,i),e||null}};var Ue=20;var J=(()=>{class n{_ngZone=v(Me$1);_platform=v($$1);_renderer=v(Xr).createRenderer(null,null);_cleanupGlobalListener;_scrolled=new te$1;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=Ue){return this._platform.isBrowser?new M(e=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen(`document`,`scroll`,()=>this._scrolled.next())));let o=t>0?this._scrolled.pipe(pE(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Ov()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){let o=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Nn(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(t){let e=[];return this.scrollContainers.forEach((o,s)=>{this._targetContainsElement(s,t)&&e.push(s)}),e}_targetContainsElement(t,e){let o=he(e),s=t.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}static ɵfac=function(e){return new(e||n)};static ɵprov=io({token:n,factory:n.ɵfac})}return n})();var Ge=(()=>{class n{elementRef=v(so);scrollDispatcher=v(J);ngZone=v(Me$1);dir=v(Ou,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new te$1;_renderer=v(Qc);_cleanupScroll;_elementScrolled=new te$1;ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,`scroll`,t=>this._elementScrolled.next(t))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){let e=this.elementRef.nativeElement,o=this.dir&&this.dir.value==`rtl`;t.left??=o?t.end:t.start,t.right??=o?t.start:t.end,t.bottom!=null&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),o&&ef()!=St$1.NORMAL?(t.left!=null&&(t.right=e.scrollWidth-e.clientWidth-t.left),ef()==St$1.INVERTED?t.left=t.right:ef()==St$1.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let e=this.elementRef.nativeElement;Qm$1()?e.scrollTo(t):(t.top!=null&&(e.scrollTop=t.top),t.left!=null&&(e.scrollLeft=t.left))}measureScrollOffset(t){let e=`left`,o=`right`,s=this.elementRef.nativeElement;if(t==`top`)return s.scrollTop;if(t==`bottom`)return s.scrollHeight-s.clientHeight-s.scrollTop;let r=this.dir&&this.dir.value==`rtl`;return t==`start`?t=r?o:e:t==`end`&&(t=r?e:o),r&&ef()==St$1.INVERTED?t==e?s.scrollWidth-s.clientWidth-s.scrollLeft:s.scrollLeft:r&&ef()==St$1.NEGATED?t==e?s.scrollLeft+s.scrollWidth-s.clientWidth:-s.scrollLeft:t==e?s.scrollLeft:s.scrollWidth-s.clientWidth-s.scrollLeft}static ɵfac=function(e){return new(e||n)};static ɵdir=Sw({type:n,selectors:[[``,`cdk-scrollable`,``],[``,`cdkScrollable`,``]]})}return n})();var $e=20;var Z=(()=>{class n{_platform=v($$1);_listeners;_viewportSize=null;_change=new te$1;_document=v(_t$1);constructor(){let t=v(Me$1),e=v(Xr).createRenderer(null,null);t.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=s=>this._change.next(s);this._listeners=[e.listen(`window`,`resize`,o),e.listen(`window`,`orientationchange`,o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(t=>t()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:e,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+e,height:o,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,e=this._getWindow(),o=t.documentElement,s=o.getBoundingClientRect();return{top:-s.top||t.body?.scrollTop||e.scrollY||o.scrollTop||0,left:-s.left||t.body?.scrollLeft||e.scrollX||o.scrollLeft||0}}change(t=$e){return t>0?this._change.pipe(pE(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static ɵfac=function(e){return new(e||n)};static ɵprov=io({token:n,factory:n.ɵfac})}return n})();var Ji=new S(`CDK_VIRTUAL_SCROLL_VIEWPORT`);var Wt=(()=>{class n{static ɵfac=function(e){return new(e||n)};static ɵmod=ww({type:n});static ɵinj=Xd({})}return n})();var Yt=(()=>{class n{static ɵfac=function(e){return new(e||n)};static ɵmod=ww({type:n});static ɵinj=Xd({imports:[Cn,Wt,Cn,Wt]})}return n})();var tt=class{_attachedHost=null;attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;i!=null&&(this._attachedHost=null,i.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(i){this._attachedHost=i}};var U=class extends tt{component;viewContainerRef;injector;projectableNodes;bindings;directives;constructor(i,t,e,o,s,r){super(),this.component=i,this.viewContainerRef=t,this.injector=e,this.projectableNodes=o,this.bindings=s||null,this.directives=r||null}};var B=class extends tt{templateRef;viewContainerRef;context;injector;constructor(i,t,e,o){super(),this.templateRef=i,this.viewContainerRef=t,this.context=e,this.injector=o}get origin(){return this.templateRef.elementRef}attach(i,t=this.context){return this.context=t,super.attach(i)}detach(){return this.context=void 0,super.detach()}};var Ht=class extends tt{element;constructor(i){super(),this.element=i instanceof so?i.nativeElement:i}};var G=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(i){if(i instanceof U)return this._attachedPortal=i,this.attachComponentPortal(i);if(i instanceof B)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof Ht)return this._attachedPortal=i,this.attachDomPortal(i)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var pt=class extends G{outletElement;_appRef;_defaultInjector;constructor(i,t,e){super(),this.outletElement=i,this._appRef=t,this._defaultInjector=e}attachComponentPortal(i){let t;if(i.viewContainerRef){let e=i.injector||i.viewContainerRef.injector,o=e.get(nr,null,{optional:!0})||void 0;t=i.viewContainerRef.createComponent(i.component,{index:i.viewContainerRef.length,injector:e,ngModuleRef:o,projectableNodes:i.projectableNodes||void 0,bindings:i.bindings||void 0,directives:i.directives||void 0}),this.setDisposeFn(()=>t.destroy())}else{let e=this._appRef,o=i.injector||this._defaultInjector||Ee$1.NULL,s=o.get(ve,e.injector);t=KB(i.component,{elementInjector:o,environmentInjector:s,projectableNodes:i.projectableNodes||void 0,bindings:i.bindings||void 0,directives:i.directives||void 0}),e.attachView(t.hostView),this.setDisposeFn(()=>{e.viewCount>0&&e.detachView(t.hostView),t.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=i,t}attachTemplatePortal(i){let t=i.viewContainerRef,e=t.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return e.rootNodes.forEach(o=>this.outletElement.appendChild(o)),e.detectChanges(),this.setDisposeFn(()=>{let o=t.indexOf(e);o!==-1&&t.remove(o)}),this._attachedPortal=i,e}attachDomPortal=i=>{let t=i.element;t.parentNode;let e=this.outletElement.ownerDocument.createComment(`dom-portal`);t.parentNode.insertBefore(e,t),this.outletElement.appendChild(t),this._attachedPortal=i,super.setDisposeFn(()=>{e.parentNode&&e.parentNode.replaceChild(t,e)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}};var an=(()=>{class n extends B{constructor(){let t=v(Kr),e=v(As);super(t,e)}static ɵfac=function(e){return new(e||n)};static ɵdir=Sw({type:n,selectors:[[``,`cdkPortal`,``]],exportAs:[`cdkPortal`],features:[Sm]})}return n})();var Xt=(()=>{class n extends G{_moduleRef=v(nr,{optional:!0});_document=v(_t$1);_viewContainerRef=v(As);_isInitialized=!1;_attachedRef=null;get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}attached=new tt$1;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let e=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,o=e.createComponent(t.component,{index:e.length,injector:t.injector||e.injector,projectableNodes:t.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:t.bindings||void 0,directives:t.directives||void 0});return e!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=t,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(t){t.setAttachedHost(this);let e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}attachDomPortal=t=>{let e=t.element;e.parentNode;let o=this._document.createComment(`dom-portal`);t.setAttachedHost(this),e.parentNode.insertBefore(o,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(e,o)})};_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static ɵfac=(()=>{let t;return function(o){return(t||(t=GI(n)))(o||n)}})();static ɵdir=Sw({type:n,selectors:[[``,`cdkPortalOutlet`,``]],inputs:{portal:[0,`cdkPortalOutlet`,`portal`]},outputs:{attached:`attached`},exportAs:[`cdkPortalOutlet`],features:[Sm]})}return n})();var _t=(()=>{class n{static ɵfac=function(e){return new(e||n)};static ɵmod=ww({type:n});static ɵinj=Xd({})}return n})();var Oe=Qm$1();function Te(n){return new gt(n.get(Z),n.get(_t$1))}var gt=class{_viewportRuler;_previousHTMLStyles={top:``,left:``};_previousScrollPosition;_isEnabled=!1;_document;constructor(i,t){this._viewportRuler=i,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||``,this._previousHTMLStyles.top=i.style.top||``,i.style.left=vp(-this._previousScrollPosition.left),i.style.top=vp(-this._previousScrollPosition.top),i.classList.add(`cdk-global-scrollblock`),this._isEnabled=!0}}disable(){if(this._isEnabled){let i=this._document.documentElement,t=this._document.body,e=i.style,o=t.style,s=e.scrollBehavior||``,r=o.scrollBehavior||``;this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,i.classList.remove(`cdk-global-scrollblock`),Oe&&(e.scrollBehavior=o.scrollBehavior=`auto`),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Oe&&(e.scrollBehavior=s,o.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains(`cdk-global-scrollblock`)||this._isEnabled)return!1;let t=this._document.documentElement,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}};function Ve(n,i){return new mt(n.get(J),n.get(Me$1),n.get(Z),i)}var mt=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(i,t,e,o){this._scrollDispatcher=i,this._ngZone=t,this._viewportRuler=e,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(this._scrollSubscription)return;let i=this._scrollDispatcher.scrolled(0).pipe(Nn(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=i.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=i.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var et=class{enable(){}disable(){}attach(){}};function Zt(n,i){return i.some(t=>{let e=n.bottom<t.top,o=n.top>t.bottom,s=n.right<t.left,r=n.left>t.right;return e||o||s||r})}function Ee(n,i){return i.some(t=>{let e=n.top<t.top,o=n.bottom>t.bottom,s=n.left<t.left,r=n.right>t.right;return e||o||s||r})}function $t(n,i){return new vt(n.get(J),n.get(Z),n.get(Me$1),i)}var vt=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(i,t,e,o){this._scrollDispatcher=i,this._viewportRuler=t,this._ngZone=e,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(!this._scrollSubscription){let i=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(i).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:o}=this._viewportRuler.getViewportSize();Zt(t,[{width:e,height:o,bottom:o,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}};var Fe=(()=>{class n{_injector=v(Ee$1);noop=()=>new et;close=t=>Ve(this._injector,t);block=()=>Te(this._injector);reposition=t=>$t(this._injector,t);static ɵfac=function(e){return new(e||n)};static ɵprov=io({token:n,factory:n.ɵfac})}return n})();var L=class{positionStrategy;scrollStrategy=new et;panelClass=``;hasBackdrop=!1;backdropClass=`cdk-overlay-dark-backdrop`;disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(i){if(i){let t=Object.keys(i);for(let e of t)i[e]!==void 0&&(this[e]=i[e])}}};var yt=class{connectionPair;scrollableViewProperties;constructor(i,t){this.connectionPair=i,this.scrollableViewProperties=t}};var Ne=(()=>{class n{_attachedOverlays=[];_document=v(_t$1);_isAttached=!1;ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(t,e,o){return o.observers.length<1?!1:t.eventPredicate?t.eventPredicate(e):!0}static ɵfac=function(e){return new(e||n)};static ɵprov=io({token:n,factory:n.ɵfac})}return n})();var Ie=(()=>{class n extends Ne{_ngZone=v(Me$1);_renderer=v(Xr).createRenderer(null,null);_cleanupKeydown;add(t){super.add(t),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen(`body`,`keydown`,this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=t=>{let e=this._attachedOverlays;for(let o=e.length-1;o>-1;o--){let s=e[o];if(this.canReceiveEvent(s,t,s._keydownEvents)){this._ngZone.run(()=>s._keydownEvents.next(t));break}}};static ɵfac=function(e){return new(e||n)};static ɵprov=io({token:n,factory:n.ɵfac})}return n})();var Le=(()=>{class n extends Ne{_platform=v($$1);_ngZone=v(Me$1);_renderer=v(Xr).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(t){if(super.add(t),!this._isAttached){let e=this._document.body,o={capture:!0},s=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[s.listen(e,`pointerdown`,this._pointerDownListener,o),s.listen(e,`click`,this._clickListener,o),s.listen(e,`auxclick`,this._clickListener,o),s.listen(e,`contextmenu`,this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=e.style.cursor,e.style.cursor=`pointer`,this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(t=>t()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=t=>{this._pointerDownEventTarget=se(t)};_clickListener=t=>{let e=se(t),o=t.type===`click`&&this._pointerDownEventTarget?this._pointerDownEventTarget:e;this._pointerDownEventTarget=null;let s=this._attachedOverlays.slice();for(let r=s.length-1;r>-1;r--){let a=s[r],c=a._outsidePointerEvents;if(!(!a.hasAttached()||!this.canReceiveEvent(a,t,c))){if(De(a.overlayElement,e)||De(a.overlayElement,o))break;this._ngZone?this._ngZone.run(()=>c.next(t)):c.next(t)}}};static ɵfac=function(e){return new(e||n)};static ɵprov=io({token:n,factory:n.ɵfac})}return n})();function De(n,i){let t=typeof ShadowRoot<`u`&&ShadowRoot,e=i;for(;e;){if(e===n)return!0;e=t&&e instanceof ShadowRoot?e.host:e.parentNode}return!1}var ze=(()=>{class n{static ɵfac=function(e){return new(e||n)};static ɵcmp=Tw({type:n,selectors:[[`ng-component`]],hostAttrs:[`cdk-overlay-style-loader`,``],decls:0,vars:0,template:function(e,o){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper {
pointer-events: none;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
.cdk-overlay-container {
position: fixed;
}
@layer cdk-overlay {
.cdk-overlay-container {
z-index: 1000;
}
}
.cdk-overlay-container:empty {
display: none;
}
.cdk-global-overlay-wrapper {
display: flex;
position: absolute;
}
@layer cdk-overlay {
.cdk-global-overlay-wrapper {
z-index: 1000;
}
}
.cdk-overlay-pane {
position: absolute;
pointer-events: auto;
box-sizing: border-box;
display: flex;
max-width: 100%;
max-height: 100%;
}
@layer cdk-overlay {
.cdk-overlay-pane {
z-index: 1000;
}
}
.cdk-overlay-backdrop {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
pointer-events: auto;
-webkit-tap-highlight-color: transparent;
opacity: 0;
touch-action: manipulation;
}
@layer cdk-overlay {
.cdk-overlay-backdrop {
z-index: 1000;
transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
}
}
@media (prefers-reduced-motion) {
.cdk-overlay-backdrop {
transition-duration: 1ms;
}
}
.cdk-overlay-backdrop-showing {
opacity: 1;
}
@media (forced-colors: active) {
.cdk-overlay-backdrop-showing {
opacity: 0.6;
}
}
@layer cdk-overlay {
.cdk-overlay-dark-backdrop {
background: rgba(0, 0, 0, 0.32);
}
}
.cdk-overlay-transparent-backdrop {
transition: visibility 1ms linear, opacity 1ms linear;
visibility: hidden;
opacity: 1;
}
.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop {
opacity: 0;
visibility: visible;
}
.cdk-overlay-backdrop-noop-animation {
transition: none;
}
.cdk-overlay-connected-position-bounding-box {
position: absolute;
display: flex;
flex-direction: column;
min-width: 1px;
min-height: 1px;
}
@layer cdk-overlay {
.cdk-overlay-connected-position-bounding-box {
z-index: 1000;
}
}
.cdk-global-scrollblock {
position: fixed;
width: 100%;
overflow-y: scroll;
}
.cdk-overlay-popover {
background: none;
border: none;
padding: 0;
outline: 0;
overflow: visible;
position: fixed;
pointer-events: none;
white-space: normal;
color: inherit;
text-decoration: none;
width: 100%;
height: 100%;
inset: auto;
top: 0;
left: 0;
}
.cdk-overlay-popover::backdrop {
display: none;
}
.cdk-overlay-popover .cdk-overlay-backdrop {
position: fixed;
z-index: auto;
}
`],encapsulation:2})}return n})();var We=(()=>{class n{_platform=v($$1);_containerElement;_document=v(_t$1);_styleLoader=v(ve$1);ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t=`cdk-overlay-container`;if(this._platform.isBrowser||rf()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let s=0;s<o.length;s++)o[s].remove()}let e=this._document.createElement(`div`);e.classList.add(t),rf()?e.setAttribute(`platform`,`test`):this._platform.isBrowser||e.setAttribute(`platform`,`server`),this._document.body.appendChild(e),this._containerElement=e}_loadStyles(){this._styleLoader.load(ze)}static ɵfac=function(e){return new(e||n)};static ɵprov=io({token:n,factory:n.ɵfac})}return n})();var Ut=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(i,t,e,o){this._renderer=t,this._ngZone=e,this.element=i.createElement(`div`),this.element.classList.add(`cdk-overlay-backdrop`),this._cleanupClick=t.listen(this.element,`click`,o)}detach(){this._ngZone.runOutsideAngular(()=>{let i=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(i,`transitionend`,this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),i.style.pointerEvents=`none`,i.classList.remove(`cdk-overlay-backdrop-showing`)})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};function qt(n){return n&&n.nodeType===1}var bt=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new te$1;_attachments=new te$1;_detachments=new te$1;_positionStrategy;_scrollStrategy;_locationChanges=B$1.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new te$1;_outsidePointerEvents=new te$1;_afterNextRenderRef;constructor(i,t,e,o,s,r,a,c,d,h=!1,f,_){this._portalOutlet=i,this._host=t,this._pane=e,this._config=o,this._ngZone=s,this._keyboardDispatcher=r,this._document=a,this._location=c,this._outsideClickDispatcher=d,this._animationsDisabled=h,this._injector=f,this._renderer=_,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(i){if(this._disposed)return null;this._attachHost();let t=this._portalOutlet.attach(i);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=gg(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof t?.onDestroy==`function`&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let i=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),i}dispose(){if(this._disposed)return;let i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,i&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config=r(r({},this._config),i),this._updateElementSize()}setDirection(i){this._config=s(r({},this._config),{direction:i}),this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){let i=this._config.direction;return i?typeof i==`string`?i:i.value:`ltr`}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute(`dir`,this.getDirection())}_updateElementSize(){if(!this._pane)return;let i=this._pane.style;i.width=vp(this._config.width),i.height=vp(this._config.height),i.minWidth=vp(this._config.minWidth),i.minHeight=vp(this._config.minHeight),i.maxWidth=vp(this._config.maxWidth),i.maxHeight=vp(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?``:`none`}_attachHost(){if(!this._host.parentElement){let i=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;qt(i)?i.after(this._host):i?.type===`parent`?i.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch{}}_attachBackdrop(){let i=`cdk-overlay-backdrop-showing`;this._backdropRef?.dispose(),this._backdropRef=new Ut(this._document,this._renderer,this._ngZone,t=>{this._backdropClick.next(t)}),this._animationsDisabled&&this._backdropRef.element.classList.add(`cdk-overlay-backdrop-noop-animation`),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<`u`?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(i))}):this._backdropRef.element.classList.add(i)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(i,t,e){let o=En(t||[]).filter(s=>!!s);o.length&&(e?i.classList.add(...o):i.classList.remove(...o))}_detachContentWhenEmpty(){let i=!1;try{this._detachContentAfterRenderRef=gg(()=>{i=!0,this._detachContent()},{injector:this._injector})}catch(t){if(i)throw t;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let i=this._scrollStrategy;i?.disable(),i?.detach?.()}};var Pe=`cdk-overlay-connected-position-bounding-box`;var qe=/([A-Za-z%]+)$/;function Kt(n,i){return new wt(i,n.get(Z),n.get(_t$1),n.get($$1),n.get(We))}var wt=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new te$1;_resizeSubscription=B$1.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation=`global`;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(i,t,e,o,s){this._viewportRuler=t,this._document=e,this._platform=o,this._overlayContainer=s,this.setOrigin(i)}attach(i){this._overlayRef&&this._overlayRef,this._validatePositions(),i.hostElement.classList.add(Pe),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let i=this._originRect,t=this._overlayRect,e=this._viewportRect,o=this._containerRect,s=[],r;for(let a of this._preferredPositions){let c=this._getOriginPoint(i,o,a),d=this._getOverlayPoint(c,t,a),h=this._getOverlayFit(d,t,e,a);if(h.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(h,d,e)){s.push({position:a,origin:c,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!r||r.overlayFit.visibleArea<h.visibleArea)&&(r={overlayFit:h,overlayPoint:d,originPoint:c,position:a,overlayRect:t})}if(s.length){let a=null,c=-1;for(let d of s){let h=d.boundingBoxRect.width*d.boundingBoxRect.height*(d.position.weight||1);h>c&&(c=h,a=d)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&I(this._boundingBox.style,{top:``,left:``,right:``,bottom:``,height:``,width:``,alignItems:``,justifyContent:``}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Pe),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let i=this._lastPosition;i?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(i,this._getOriginPoint(this._originRect,this._containerRect,i))):this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,i.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}withPopoverLocation(i){return this._popoverLocation=i,this}getPopoverInsertionPoint(){return this._popoverLocation===`global`?null:this._popoverLocation!==`inline`?this._popoverLocation:this._origin instanceof so?this._origin.nativeElement:qt(this._origin)?this._origin:null}_getOriginPoint(i,t,e){let o;if(e.originX==`center`)o=i.left+i.width/2;else{let r=this._isRtl()?i.right:i.left,a=this._isRtl()?i.left:i.right;o=e.originX==`start`?r:a}t.left<0&&(o-=t.left);let s;return e.originY==`center`?s=i.top+i.height/2:s=e.originY==`top`?i.top:i.bottom,t.top<0&&(s-=t.top),{x:o,y:s}}_getOverlayPoint(i,t,e){let o;e.overlayX==`center`?o=-t.width/2:e.overlayX===`start`?o=this._isRtl()?-t.width:0:o=this._isRtl()?0:-t.width;let s;return e.overlayY==`center`?s=-t.height/2:s=e.overlayY==`top`?0:-t.height,{x:i.x+o,y:i.y+s}}_getOverlayFit(i,t,e,o){let s=Ae(t),{x:r,y:a}=i,c=this._getOffset(o,`x`),d=this._getOffset(o,`y`);c&&(r+=c),d&&(a+=d);let h=0-r,f=r+s.width-e.width,_=0-a,b=a+s.height-e.height,m=this._subtractOverflows(s.width,h,f),k=this._subtractOverflows(s.height,_,b),ie=m*k;return{visibleArea:ie,isCompletelyWithinViewport:s.width*s.height===ie,fitsInViewportVertically:k===s.height,fitsInViewportHorizontally:m==s.width}}_canFitWithFlexibleDimensions(i,t,e){if(this._hasFlexibleDimensions){let o=e.bottom-t.y,s=e.right-t.x,r=Me(this._overlayRef.getConfig().minHeight),a=Me(this._overlayRef.getConfig().minWidth),c=i.fitsInViewportVertically||r!=null&&r<=o,d=i.fitsInViewportHorizontally||a!=null&&a<=s;return c&&d}return!1}_pushOverlayOnScreen(i,t,e){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};let o=Ae(t),s=this._viewportRect,r=Math.max(i.x+o.width-s.width,0),a=Math.max(i.y+o.height-s.height,0),c=Math.max(s.top-e.top-i.y,0),d=Math.max(s.left-e.left-i.x,0),h=0,f=0;return o.width<=s.width?h=d||-r:h=i.x<this._getViewportMarginStart()?s.left-e.left-i.x:0,o.height<=s.height?f=c||-a:f=i.y<this._getViewportMarginTop()?s.top-e.top-i.y:0,this._previousPushAmount={x:h,y:f},{x:i.x+h,y:i.y+f}}_applyPosition(i,t){if(this._setTransformOrigin(i),this._setOverlayElementStyles(t,i),this._setBoundingBoxStyles(t,i),i.panelClass&&this._addPanelClasses(i.panelClass),this._positionChanges.observers.length){let e=this._getScrollVisibility();if(i!==this._lastPosition||!this._lastScrollVisibility||!Ke(this._lastScrollVisibility,e)){let o=new yt(i,e);this._positionChanges.next(o)}this._lastScrollVisibility=e}this._lastPosition=i,this._isInitialRender=!1}_setTransformOrigin(i){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),e,o=i.overlayY;i.overlayX===`center`?e=`center`:this._isRtl()?e=i.overlayX===`start`?`right`:`left`:e=i.overlayX===`start`?`left`:`right`;for(let s=0;s<t.length;s++)t[s].style.transformOrigin=`${e} ${o}`}_calculateBoundingBoxRect(i,t){let e=this._viewportRect,o=this._isRtl(),s,r,a;if(t.overlayY===`top`)r=i.y,s=e.height-r+this._getViewportMarginBottom();else if(t.overlayY===`bottom`)a=e.height-i.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),s=e.height-a+this._getViewportMarginTop();else{let b=Math.min(e.bottom-i.y+e.top,i.y),m=this._lastBoundingBoxSize.height;s=b*2,r=i.y-b,s>m&&!this._isInitialRender&&!this._growAfterOpen&&(r=i.y-m/2)}let c=t.overlayX===`start`&&!o||t.overlayX===`end`&&o,d=t.overlayX===`end`&&!o||t.overlayX===`start`&&o,h,f,_;if(d)_=e.width-i.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),h=i.x-this._getViewportMarginStart();else if(c)f=i.x,h=e.right-i.x-this._getViewportMarginEnd();else{let b=Math.min(e.right-i.x+e.left,i.x),m=this._lastBoundingBoxSize.width;h=b*2,f=i.x-b,h>m&&!this._isInitialRender&&!this._growAfterOpen&&(f=i.x-m/2)}return{top:r,left:f,bottom:a,right:_,width:h,height:s}}_setBoundingBoxStyles(i,t){let e=this._calculateBoundingBoxRect(i,t);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left=`0`,o.bottom=o.right=`auto`,o.maxHeight=o.maxWidth=``,o.width=o.height=`100%`;else{let s=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;o.width=vp(e.width),o.height=vp(e.height),o.top=vp(e.top)||`auto`,o.bottom=vp(e.bottom)||`auto`,o.left=vp(e.left)||`auto`,o.right=vp(e.right)||`auto`,t.overlayX===`center`?o.alignItems=`center`:o.alignItems=t.overlayX===`end`?`flex-end`:`flex-start`,t.overlayY===`center`?o.justifyContent=`center`:o.justifyContent=t.overlayY===`bottom`?`flex-end`:`flex-start`,s&&(o.maxHeight=vp(s)),r&&(o.maxWidth=vp(r))}this._lastBoundingBoxSize=e,I(this._boundingBox.style,o)}_resetBoundingBoxStyles(){I(this._boundingBox.style,{top:`0`,left:`0`,right:`0`,bottom:`0`,height:``,width:``,alignItems:``,justifyContent:``})}_resetOverlayElementStyles(){I(this._pane.style,{top:``,left:``,bottom:``,right:``,position:``,transform:``})}_setOverlayElementStyles(i,t){let e={},o=this._hasExactPosition(),s=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(o){let h=this._viewportRuler.getViewportScrollPosition();I(e,this._getExactOverlayY(t,i,h)),I(e,this._getExactOverlayX(t,i,h))}else e.position=`static`;let a=``,c=this._getOffset(t,`x`),d=this._getOffset(t,`y`);c&&(a+=`translateX(${c}px) `),d&&(a+=`translateY(${d}px)`),e.transform=a.trim(),r.maxHeight&&(o?e.maxHeight=vp(r.maxHeight):s&&(e.maxHeight=``)),r.maxWidth&&(o?e.maxWidth=vp(r.maxWidth):s&&(e.maxWidth=``)),I(this._pane.style,e)}_getExactOverlayY(i,t,e){let o={top:``,bottom:``},s=this._getOverlayPoint(t,this._overlayRect,i);if(this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,e)),i.overlayY===`bottom`)o.bottom=`${this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)}px`;else o.top=vp(s.y);return o}_getExactOverlayX(i,t,e){let o={left:``,right:``},s=this._getOverlayPoint(t,this._overlayRect,i);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,e));let r;if(this._isRtl()?r=i.overlayX===`end`?`left`:`right`:r=i.overlayX===`end`?`right`:`left`,r===`right`)o.right=`${this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)}px`;else o.left=vp(s.x);return o}_getScrollVisibility(){let i=this._getOriginRect(),t=this._pane.getBoundingClientRect(),e=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ee(i,e),isOriginOutsideView:Zt(i,e),isOverlayClipped:Ee(t,e),isOverlayOutsideView:Zt(t,e)}}_subtractOverflows(i,...t){return t.reduce((e,o)=>e-Math.max(o,0),i)}_getNarrowedViewportRect(){let i=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._getViewportMarginTop(),left:e.left+this._getViewportMarginStart(),right:e.left+i-this._getViewportMarginEnd(),bottom:e.top+t-this._getViewportMarginBottom(),width:i-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:t-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()===`rtl`}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,t){return t===`x`?i.offsetX==null?this._offsetX:i.offsetX:i.offsetY==null?this._offsetY:i.offsetY}_validatePositions(){}_addPanelClasses(i){this._pane&&En(i).forEach(t=>{t!==``&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin==`number`?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin==`number`?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin==`number`?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin==`number`?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let i=this._origin;if(i instanceof so)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();let t=i.width||0,e=i.height||0;return{top:i.y,bottom:i.y+e,left:i.x,right:i.x+t,height:e,width:t}}_getContainerRect(){let i=this._overlayRef.getConfig().usePopover&&this._popoverLocation!==`global`,t=this._overlayContainer.getContainerElement();i&&(t.style.display=`block`);let e=t.getBoundingClientRect();return i&&(t.style.display=``),e}};function I(n,i){for(let t in i)i.hasOwnProperty(t)&&(n[t]=i[t]);return n}function Me(n){if(typeof n!=`number`&&n!=null){let[i,t]=n.split(qe);return!t||t===`px`?parseFloat(i):null}return n||null}function Ae(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function Ke(n,i){return n===i?!0:n.isOriginClipped===i.isOriginClipped&&n.isOriginOutsideView===i.isOriginOutsideView&&n.isOverlayClipped===i.isOverlayClipped&&n.isOverlayOutsideView===i.isOverlayOutsideView}var Be=`cdk-global-overlay-wrapper`;function Ct(n){return new St}var St=class{_overlayRef;_cssPosition=`static`;_topOffset=``;_bottomOffset=``;_alignItems=``;_xPosition=``;_xOffset=``;_width=``;_height=``;_isDisposed=!1;attach(i){let t=i.getConfig();this._overlayRef=i,this._width&&!t.width&&i.updateSize({width:this._width}),this._height&&!t.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(Be),this._isDisposed=!1}top(i=``){return this._bottomOffset=``,this._topOffset=i,this._alignItems=`flex-start`,this}left(i=``){return this._xOffset=i,this._xPosition=`left`,this}bottom(i=``){return this._topOffset=``,this._bottomOffset=i,this._alignItems=`flex-end`,this}right(i=``){return this._xOffset=i,this._xPosition=`right`,this}start(i=``){return this._xOffset=i,this._xPosition=`start`,this}end(i=``){return this._xOffset=i,this._xPosition=`end`,this}width(i=``){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=``){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=``){return this.left(i),this._xPosition=`center`,this}centerVertically(i=``){return this.top(i),this._alignItems=`center`,this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let i=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,{width:o,height:s,maxWidth:r,maxHeight:a}=this._overlayRef.getConfig(),c=(o===`100%`||o===`100vw`)&&(!r||r===`100%`||r===`100vw`),d=(s===`100%`||s===`100vh`)&&(!a||a===`100%`||a===`100vh`),h=this._xPosition,f=this._xOffset,_=this._overlayRef.getConfig().direction===`rtl`,b=``,m=``,k=``;c?k=`flex-start`:h===`center`?(k=`center`,_?m=f:b=f):_?h===`left`||h===`end`?(k=`flex-end`,b=f):(h===`right`||h===`start`)&&(k=`flex-start`,m=f):h===`left`||h===`start`?(k=`flex-start`,b=f):(h===`right`||h===`end`)&&(k=`flex-end`,m=f),i.position=this._cssPosition,i.marginLeft=c?`0`:b,i.marginTop=d?`0`:this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=c?`0`:m,t.justifyContent=k,t.alignItems=d?`flex-start`:this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let i=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,e=t.style;t.classList.remove(Be),e.justifyContent=e.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position=``,this._overlayRef=null,this._isDisposed=!0}};var je=(()=>{class n{_injector=v(Ee$1);global(){return Ct()}flexibleConnectedTo(t){return Kt(this._injector,t)}static ɵfac=function(e){return new(e||n)};static ɵprov=io({token:n,factory:n.ɵfac})}return n})();var Qt=new S(`OVERLAY_DEFAULT_CONFIG`);function it(n,i){n.get(ve$1).load(ze);let t=n.get(We),e=n.get(_t$1),o=n.get(Ar),s=n.get(Pt),r=n.get(Ou),a=n.get(Qc,null,{optional:!0})||n.get(Xr).createRenderer(null,null),c=new L(i),d=n.get(Qt,null,{optional:!0})?.usePopover??!0;c.direction=c.direction||r.value,!e.body||!(`showPopover`in e.body)?c.usePopover=!1:c.usePopover=i?.usePopover??d;let h=e.createElement(`div`),f=e.createElement(`div`);h.id=o.getId(`cdk-overlay-`),h.classList.add(`cdk-overlay-pane`),f.appendChild(h),c.usePopover&&(f.setAttribute(`popover`,`manual`),f.classList.add(`cdk-overlay-popover`));let _=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return qt(_)?_.after(f):_?.type===`parent`?_.element.appendChild(f):t.getContainerElement().appendChild(f),new bt(new pt(h,s,n),f,h,c,n.get(Me$1),n.get(Ie),e,n.get(Si),n.get(Le),i?.disableAnimations??n.get(lI,null,{optional:!0})===`NoopAnimations`,n.get(ve),a)}var Ye=(()=>{class n{scrollStrategies=v(Fe);_positionBuilder=v(je);_injector=v(Ee$1);create(t){return it(this._injector,t)}position(){return this._positionBuilder}static ɵfac=function(e){return new(e||n)};static ɵprov=io({token:n,factory:n.ɵfac})}return n})();var Qe=[{originX:`start`,originY:`bottom`,overlayX:`start`,overlayY:`top`},{originX:`start`,originY:`top`,overlayX:`start`,overlayY:`bottom`},{originX:`end`,originY:`top`,overlayX:`end`,overlayY:`bottom`},{originX:`end`,originY:`bottom`,overlayX:`end`,overlayY:`top`}];var Je=new S(`cdk-connected-overlay-scroll-strategy`,{providedIn:`root`,factory:()=>{let n=v(Ee$1);return()=>$t(n)}});var Gt=(()=>{class n{elementRef=v(so);static ɵfac=function(e){return new(e||n)};static ɵdir=Sw({type:n,selectors:[[``,`cdk-overlay-origin`,``],[``,`overlay-origin`,``],[``,`cdkOverlayOrigin`,``]],exportAs:[`cdkOverlayOrigin`]})}return n})();var He=new S(`cdk-connected-overlay-default-config`);var ti=(()=>{class n{_dir=v(Ou,{optional:!0});_injector=v(Ee$1);_overlayRef;_templatePortal;_backdropSubscription=B$1.EMPTY;_attachSubscription=B$1.EMPTY;_detachSubscription=B$1.EMPTY;_positionSubscription=B$1.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=v(Je);_ngZone=v(Me$1);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;set _config(t){typeof t!=`string`&&this._assignConfig(t)}backdropClick=new tt$1;positionChange=new tt$1;attach=new tt$1;detach=new tt$1;overlayKeydown=new tt$1;overlayOutsideClick=new tt$1;constructor(){let t=v(Kr),e=v(As),o=v(He,{optional:!0}),s=v(Qt,{optional:!0});this.usePopover=s?.usePopover===!1?null:`global`,this._templatePortal=new B(t,e),this.scrollStrategy=this._scrollStrategyFactory(),o&&this._assignConfig(o)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:`ltr`}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Qe);let t=this._overlayRef=it(this._injector,this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),e.keyCode===27&&!this.disableClose&&!ca(e)&&(e.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(e=>{let o=this._getOriginElement(),s=se(e);(!o||o!==s&&!o.contains(s))&&this.overlayOutsideClick.next(e)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new L({direction:this._dir||`ltr`,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||this.height===0)&&(e.height=this.height),(this.minWidth||this.minWidth===0)&&(e.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){let e=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(this.usePopover===null?`global`:this.usePopover)}_createPositionStrategy(){let t=Kt(this._injector,this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof Gt?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Gt?this.origin.elementRef.nativeElement:this.origin instanceof so?this.origin.nativeElement:typeof Element<`u`&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let t=this._overlayRef;t.getConfig().hasBackdrop=this.hasBackdrop,t.updateSize({width:this._getWidth()}),t.hasAttached()||t.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=t.backdropClick().subscribe(e=>this.backdropClick.emit(e)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(EE(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(t){this.origin=t.origin??this.origin,this.positions=t.positions??this.positions,this.positionStrategy=t.positionStrategy??this.positionStrategy,this.offsetX=t.offsetX??this.offsetX,this.offsetY=t.offsetY??this.offsetY,this.width=t.width??this.width,this.height=t.height??this.height,this.minWidth=t.minWidth??this.minWidth,this.minHeight=t.minHeight??this.minHeight,this.backdropClass=t.backdropClass??this.backdropClass,this.panelClass=t.panelClass??this.panelClass,this.viewportMargin=t.viewportMargin??this.viewportMargin,this.scrollStrategy=t.scrollStrategy??this.scrollStrategy,this.disableClose=t.disableClose??this.disableClose,this.transformOriginSelector=t.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=t.hasBackdrop??this.hasBackdrop,this.lockPosition=t.lockPosition??this.lockPosition,this.flexibleDimensions=t.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=t.growAfterOpen??this.growAfterOpen,this.push=t.push??this.push,this.disposeOnNavigation=t.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=t.usePopover??this.usePopover,this.matchWidth=t.matchWidth??this.matchWidth}static ɵfac=function(e){return new(e||n)};static ɵdir=Sw({type:n,selectors:[[``,`cdk-connected-overlay`,``],[``,`connected-overlay`,``],[``,`cdkConnectedOverlay`,``]],inputs:{origin:[0,`cdkConnectedOverlayOrigin`,`origin`],positions:[0,`cdkConnectedOverlayPositions`,`positions`],positionStrategy:[0,`cdkConnectedOverlayPositionStrategy`,`positionStrategy`],offsetX:[0,`cdkConnectedOverlayOffsetX`,`offsetX`],offsetY:[0,`cdkConnectedOverlayOffsetY`,`offsetY`],width:[0,`cdkConnectedOverlayWidth`,`width`],height:[0,`cdkConnectedOverlayHeight`,`height`],minWidth:[0,`cdkConnectedOverlayMinWidth`,`minWidth`],minHeight:[0,`cdkConnectedOverlayMinHeight`,`minHeight`],backdropClass:[0,`cdkConnectedOverlayBackdropClass`,`backdropClass`],panelClass:[0,`cdkConnectedOverlayPanelClass`,`panelClass`],viewportMargin:[0,`cdkConnectedOverlayViewportMargin`,`viewportMargin`],scrollStrategy:[0,`cdkConnectedOverlayScrollStrategy`,`scrollStrategy`],open:[0,`cdkConnectedOverlayOpen`,`open`],disableClose:[0,`cdkConnectedOverlayDisableClose`,`disableClose`],transformOriginSelector:[0,`cdkConnectedOverlayTransformOriginOn`,`transformOriginSelector`],hasBackdrop:[2,`cdkConnectedOverlayHasBackdrop`,`hasBackdrop`,QB],lockPosition:[2,`cdkConnectedOverlayLockPosition`,`lockPosition`,QB],flexibleDimensions:[2,`cdkConnectedOverlayFlexibleDimensions`,`flexibleDimensions`,QB],growAfterOpen:[2,`cdkConnectedOverlayGrowAfterOpen`,`growAfterOpen`,QB],push:[2,`cdkConnectedOverlayPush`,`push`,QB],disposeOnNavigation:[2,`cdkConnectedOverlayDisposeOnNavigation`,`disposeOnNavigation`,QB],usePopover:[0,`cdkConnectedOverlayUsePopover`,`usePopover`],matchWidth:[2,`cdkConnectedOverlayMatchWidth`,`matchWidth`,QB],_config:[0,`cdkConnectedOverlay`,`_config`]},outputs:{backdropClick:`backdropClick`,positionChange:`positionChange`,attach:`attach`,detach:`detach`,overlayKeydown:`overlayKeydown`,overlayOutsideClick:`overlayOutsideClick`},exportAs:[`cdkConnectedOverlay`],features:[_I]})}return n})();var Jt=(()=>{class n{static ɵfac=function(e){return new(e||n)};static ɵmod=ww({type:n});static ɵinj=Xd({providers:[Ye],imports:[Cn,_t,Yt,Yt]})}return n})();function ei(n,i){if(n&1){let t=Lb();as(0,`div`,1)(1,`button`,2),ny(`click`,function(){wf(t);return bf(qb().action())}),C_(2),pu()()}if(n&2){let t=qb();FT(2),Eu(` `,t.data.action,` `)}}var ii=[`label`];function ni(n,i){}var oi=Math.pow(2,31)-1;var nt=class{_overlayRef;instance;containerInstance;_afterDismissed=new te$1;_afterOpened=new te$1;_onAction=new te$1;_durationTimeoutId;_dismissedByAction=!1;constructor(i,t){this._overlayRef=t,this.containerInstance=i,i._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(i){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(i,oi))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}};var Xe=new S(`MatSnackBarData`);var $=class{politeness=`polite`;announcementMessage=``;viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition=`center`;verticalPosition=`bottom`};var si=(()=>{class n{static ɵfac=function(e){return new(e||n)};static ɵdir=Sw({type:n,selectors:[[``,`matSnackBarLabel`,``]],hostAttrs:[1,`mat-mdc-snack-bar-label`,`mdc-snackbar__label`]})}return n})();var ri=(()=>{class n{static ɵfac=function(e){return new(e||n)};static ɵdir=Sw({type:n,selectors:[[``,`matSnackBarActions`,``]],hostAttrs:[1,`mat-mdc-snack-bar-actions`,`mdc-snackbar__actions`]})}return n})();var ai=(()=>{class n{static ɵfac=function(e){return new(e||n)};static ɵdir=Sw({type:n,selectors:[[``,`matSnackBarAction`,``]],hostAttrs:[1,`mat-mdc-snack-bar-action`,`mdc-snackbar__action`]})}return n})();var Ze=(()=>{class n{snackBarRef=v(nt);data=v(Xe);action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static ɵfac=function(e){return new(e||n)};static ɵcmp=Tw({type:n,selectors:[[`simple-snack-bar`]],hostAttrs:[1,`mat-mdc-simple-snack-bar`],exportAs:[`matSnackBar`],decls:3,vars:2,consts:[[`matSnackBarLabel`,``],[`matSnackBarActions`,``],[`matButton`,``,`matSnackBarAction`,``,3,`click`]],template:function(e,o){e&1&&(as(0,`div`,0),C_(1),pu(),wb(2,ei,3,1,`div`,1)),e&2&&(FT(),Eu(` `,o.data.message,`
`),FT(),bb(o.hasAction?2:-1))},dependencies:[yg,si,ri,ai],styles:[`.mat-mdc-simple-snack-bar {
display: flex;
}
.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label {
max-height: 50vh;
overflow: auto;
}
`],encapsulation:2})}return n})();var te=`_mat-snack-bar-enter`;var ee=`_mat-snack-bar-exit`;var li=(()=>{class n extends G{_ngZone=v(Me$1);_elementRef=v(so);_changeDetectorRef=v(WB);_platform=v($$1);_animationsDisabled=nt$1();snackBarConfig=v($);_document=v(_t$1);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=v(Ee$1);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new te$1;_onExit=new te$1;_onEnter=new te$1;_animationState=`void`;_live;_label;_role;_liveElementId=v(Ar).getId(`mat-snack-bar-container-live-`);constructor(){super();let t=this.snackBarConfig;t.politeness===`assertive`&&!t.announcementMessage?this._live=`assertive`:t.politeness===`off`?this._live=`off`:this._live=`polite`,this._platform.FIREFOX&&(this._live===`polite`&&(this._role=`status`),this._live===`assertive`&&(this._role=`alert`))}attachComponentPortal(t){this._assertNotAttached();let e=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),e}attachTemplatePortal(t){this._assertNotAttached();let e=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),e}attachDomPortal=t=>{this._assertNotAttached();let e=this._portalOutlet.attachDomPortal(t);return this._afterPortalAttached(),e};onAnimationEnd(t){t===ee?this._completeExit():t===te&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState=`visible`,this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?gg(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(te)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add(`mat-snack-bar-fallback-visible`),this.onAnimationEnd(te)},200)))}exit(){return this._destroyed?Ov(void 0):(this._ngZone.run(()=>{this._animationState=`hidden`,this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute(`mat-exit`,``),clearTimeout(this._announceTimeoutId),this._animationsDisabled?gg(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(ee)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(ee),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(r=>t.classList.add(r)):t.classList.add(e)),this._exposeToModals();let o=this._label.nativeElement,s=`mdc-snackbar__label`;o.classList.toggle(s,!o.querySelector(`.${s}`))}_exposeToModals(){let t=this._liveElementId,e=this._document.querySelectorAll(`body > .cdk-overlay-container [aria-modal="true"]`);for(let o=0;o<e.length;o++){let s=e[o],r=s.getAttribute(`aria-owns`);this._trackedModals.add(s),r?r.indexOf(t)===-1&&s.setAttribute(`aria-owns`,r+` `+t):s.setAttribute(`aria-owns`,t)}}_clearFromModals(){this._trackedModals.forEach(t=>{let e=t.getAttribute(`aria-owns`);if(e){let o=e.replace(this._liveElementId,``).trim();o.length>0?t.setAttribute(`aria-owns`,o):t.removeAttribute(`aria-owns`)}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let t=this._elementRef.nativeElement,e=t.querySelector(`[aria-hidden]`),o=t.querySelector(`[aria-live]`);if(e&&o){let s=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(s=document.activeElement),e.removeAttribute(`aria-hidden`),o.appendChild(e),s?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static ɵfac=function(e){return new(e||n)};static ɵcmp=Tw({type:n,selectors:[[`mat-snack-bar-container`]],viewQuery:function(e,o){if(e&1&&sy(Xt,7)(ii,7),e&2){let s;Yb(s=Zb())&&(o._portalOutlet=s.first),Yb(s=Zb())&&(o._label=s.first)}},hostAttrs:[1,`mdc-snackbar`,`mat-mdc-snack-bar-container`],hostVars:6,hostBindings:function(e,o){e&1&&ny(`animationend`,function(r){return o.onAnimationEnd(r.animationName)})(`animationcancel`,function(r){return o.onAnimationEnd(r.animationName)}),e&2&&hy(`mat-snack-bar-container-enter`,o._animationState===`visible`)(`mat-snack-bar-container-exit`,o._animationState===`hidden`)(`mat-snack-bar-container-animations-enabled`,!o._animationsDisabled)},features:[Sm],decls:6,vars:3,consts:[[`label`,``],[1,`mdc-snackbar__surface`,`mat-mdc-snackbar-surface`],[1,`mat-mdc-snack-bar-label`],[`aria-hidden`,`true`],[`cdkPortalOutlet`,``]],template:function(e,o){e&1&&(as(0,`div`,1)(1,`div`,2,0)(3,`div`,3),Nm(4,ni,0,0,`ng-template`,4),pu(),Qm(5,`div`),pu()()),e&2&&(FT(5),Wm(`aria-live`,o._live)(`role`,o._role)(`id`,o._liveElementId))},dependencies:[Xt],styles:[`@keyframes _mat-snack-bar-enter {
from {
transform: scale(0.8);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
@keyframes _mat-snack-bar-exit {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
.mat-mdc-snack-bar-container {
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
margin: 8px;
}
.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container {
width: 100vw;
}
.mat-snack-bar-container-animations-enabled {
opacity: 0;
}
.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible {
opacity: 1;
}
.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter {
animation: _mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards;
}
.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit {
animation: _mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards;
}
.mat-mdc-snackbar-surface {
box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
display: flex;
align-items: center;
justify-content: flex-start;
box-sizing: border-box;
padding-left: 0;
padding-right: 8px;
}
[dir=rtl] .mat-mdc-snackbar-surface {
padding-right: 0;
padding-left: 8px;
}
.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {
min-width: 344px;
max-width: 672px;
}
.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface {
width: 100%;
min-width: 0;
}
@media (forced-colors: active) {
.mat-mdc-snackbar-surface {
outline: solid 1px;
}
}
.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {
color: var(--%NS%mat-snack-bar-supporting-text-color, var(--%NS%mat-sys-inverse-on-surface));
border-radius: var(--%NS%mat-snack-bar-container-shape, var(--%NS%mat-sys-corner-extra-small));
background-color: var(--%NS%mat-snack-bar-container-color, var(--%NS%mat-sys-inverse-surface));
}
.mdc-snackbar__label {
width: 100%;
flex-grow: 1;
box-sizing: border-box;
margin: 0;
padding: 14px 8px 14px 16px;
}
[dir=rtl] .mdc-snackbar__label {
padding-left: 8px;
padding-right: 16px;
}
.mat-mdc-snack-bar-container .mdc-snackbar__label {
font-family: var(--%NS%mat-snack-bar-supporting-text-font, var(--%NS%mat-sys-body-medium-font));
font-size: var(--%NS%mat-snack-bar-supporting-text-size, var(--%NS%mat-sys-body-medium-size));
font-weight: var(--%NS%mat-snack-bar-supporting-text-weight, var(--%NS%mat-sys-body-medium-weight));
line-height: var(--%NS%mat-snack-bar-supporting-text-line-height, var(--%NS%mat-sys-body-medium-line-height));
}
.mat-mdc-snack-bar-actions {
display: flex;
flex-shrink: 0;
align-items: center;
box-sizing: border-box;
}
.mat-mdc-snack-bar-handset,
.mat-mdc-snack-bar-container,
.mat-mdc-snack-bar-label {
flex: 1 1 auto;
}
.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed {
color: var(--%NS%mat-snack-bar-button-color, var(--%NS%mat-sys-inverse-primary));
}
.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) {
--%NS%mat-button-text-state-layer-color: currentColor;
--%NS%mat-button-text-ripple-color: currentColor;
}
.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element {
opacity: 0.1;
}
`],encapsulation:2,changeDetection:1})}return n})();var ci=new S(`mat-snack-bar-default-options`,{providedIn:`root`,factory:()=>new $});var hi=(()=>{class n{_live=v(pu$1);_injector=v(Ee$1);_breakpointObserver=v(vr);_parentSnackBar=v(n,{optional:!0,skipSelf:!0});_defaultConfig=v(ci);_animationsDisabled=nt$1();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=Ze;snackBarContainerComponent=li;handsetCssClass=`mat-mdc-snack-bar-handset`;get _openedSnackBarRef(){let t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e=``,o){let s=r(r({},this._defaultConfig),o);return s.data={message:t,action:e},s.announcementMessage===t&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){let o=e&&e.viewContainerRef&&e.viewContainerRef.injector,s=Ee$1.create({parent:o||this._injector,providers:[{provide:$,useValue:e}]}),r=new U(this.snackBarContainerComponent,e.viewContainerRef,s),a=t.attach(r);return a.instance.snackBarConfig=e,a.instance}_attach(t,e){let o=r(r(r({},new $),this._defaultConfig),e),s=this._createOverlay(o),r$1=this._attachSnackBarContainer(s,o),a=new nt(r$1,s);if(t instanceof Kr){let c=new B(t,null,{$implicit:o.data,snackBarRef:a});a.instance=r$1.attachTemplatePortal(c)}else{let d=new U(t,void 0,this._createInjector(o,a));a.instance=r$1.attachComponentPortal(d).instance}return this._breakpointObserver.observe(Ap.HandsetPortrait).pipe(Ld(s.detachments())).subscribe(c=>{s.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),o.announcementMessage&&r$1._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(a,o),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter()}_createOverlay(t){let e=new L;e.direction=t.direction;let o=Ct(this._injector),s=t.direction===`rtl`,r=t.horizontalPosition===`left`||t.horizontalPosition===`start`&&!s||t.horizontalPosition===`end`&&s,a=!r&&t.horizontalPosition!==`center`;return r?o.left(`0`):a?o.right(`0`):o.centerHorizontally(),t.verticalPosition===`top`?o.top(`0`):o.bottom(`0`),e.positionStrategy=o,e.disableAnimations=this._animationsDisabled,it(this._injector,e)}_createInjector(t,e){let o=t&&t.viewContainerRef&&t.viewContainerRef.injector;return Ee$1.create({parent:o||this._injector,providers:[{provide:nt,useValue:e},{provide:Xe,useValue:t.data}]})}static ɵfac=function(e){return new(e||n)};static ɵprov=io({token:n,factory:n.ɵfac})}return n})();var go=(()=>{class n{static ɵfac=function(e){return new(e||n)};static ɵmod=ww({type:n});static ɵinj=Xd({providers:[hi],imports:[Jt,_t,_g,Ze,Cn]})}return n})();export{ti as A,an as C,hi as D,go as E,xe as M,it as O,_t as S,fi as T,We as _,Ge as a,Yt as b,Ji as c,L as d,Q as f,U as g,Te as h,G as i,wt as j,pt as k,Jt as l,Re as m,B as n,Gt as o,Qt as p,Ct as r,J as s,$t as t,Kt as u,Wt as v,bt as w,Z as x,Xt as y};
//# debugId=e7e2bd94-2944-57cf-8359-7f8910a69849
//# sourceMappingURL=chunk-CVpwTjII.js.map