1import{a as ei,c as Ht}from"./chunk-SKH2MXBC.js";import{D as ti,J as zt,b as E,g as Vt,j as Qe,w as Je}from"./chunk-BQLJE42W.js";import{$ as F,$a as Lt,A as ae,Ca as We,Cc as qe,Da as wt,E as vt,Eb as Ge,G as le,Ib as C,M as Ve,N as yt,P as bt,Pb as he,Q as ze,Qb as de,Ra as Ye,Rb as ue,Tb as _,Ub as k,V as v,Vb as fe,W as H,Xa as b,Y as x,Ya as d,_ as l,_a as rt,a as K,ac as Bt,bc as A,c as Ne,cb as Et,da as D,ea as U,eb as J,f as w,fa as G,fb as Nt,g as je,ga as He,gc as Ze,hc as Ke,ib as at,jb as Xe,k as q,ka as Ue,kb as lt,lb as ct,ma as Ct,mb as jt,ob as ce,pa as P,qa as L,qc as $e,ta as N,u as Ft,va as g,vc as me,w as Be,wa as S,xb as h,y as Pt,ya as T,yb as f,z as X,zb as p,zc as Q}from"./chunk-YE3BF7DR.js";import{a as R,b as Mt}from"./chunk-4IDNTCH7.js";function Ut(n,e=0){return Ri(n)?Number(n):arguments.length===2?e:0}function Ri(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function pe(n){return Array.isArray(n)?n:[n]}function I(n){return n==null?"":typeof n=="string"?n:`${n}px`}function ht(n){return n instanceof T?n.nativeElement:n}var ge;try{ge=typeof Intl<"u"&&Intl.v8BreakIterator}catch{ge=!1}var j=(()=>{class n{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Je(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||ge)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(i){return new(i||n)(l(We))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var It;function xi(){if(It==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>It=!0}))}finally{It=It||!1}return It}function ve(n){return xi()?n:!!n.capture}var tt;function ii(){if(tt==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return tt=!1,tt;if("scrollBehavior"in document.documentElement.style)tt=!0;else{let n=Element.prototype.scrollTo;n?tt=!/\{\s*\[native code\]\s*\}/.test(n.toString()):tt=!1}}return tt}var _e;function Ti(){if(_e==null){let n=typeof document<"u"?document.head:null;_e=!!(n&&(n.createShadowRoot||n.attachShadow))}return _e}function ni(n){if(Ti()){let e=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Dt(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let e=n.shadowRoot.activeElement;if(e===n)break;n=e}return n}function Z(n){return n.composedPath?n.composedPath()[0]:n.target}function ye(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Mi=new x("cdk-dir-doc",{providedIn:"root",factory:Fi});function Fi(){return F(E)}var Pi=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function si(n){let e=n?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?Pi.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var et=(()=>{class n{constructor(t){if(this.value="ltr",this.change=new g,t){let i=t.body?t.body.dir:null,s=t.documentElement?t.documentElement.dir:null;this.value=si(i||s||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(i){return new(i||n)(l(Mi,8))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Kn=(()=>{class n{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new g}get dir(){return this._dir}set dir(t){let i=this._dir;this._dir=si(t),this._rawDir=t,i!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275dir=G({type:n,selectors:[["","dir",""]],hostVars:1,hostBindings:function(i,s){i&2&&ct("dir",s._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],standalone:!0,features:[Bt([{provide:et,useExisting:n}])]})}}return n})(),At=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=U({type:n})}static{this.\u0275inj=H({})}}return n})();var ji=20,ri=(()=>{class n{constructor(t,i,s){this._ngZone=t,this._platform=i,this._scrolled=new w,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=ji){return this._platform.isBrowser?new Ne(i=>{this._globalSubscription||this._addGlobalListener();let s=t>0?this._scrolled.pipe(ae(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):q()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEac
1h((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){let s=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(X(o=>!o||s.indexOf(o)>-1))}getAncestorScrollContainers(t){let i=[];return this.scrollContainers.forEach((s,o)=>{this._scrollableContainsElement(o,t)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let s=ht(i),o=t.getElementRef().nativeElement;do if(s==o)return!0;while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return Be(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(i){return new(i||n)(l(S),l(j),l(E,8))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Bi=20,Ce=(()=>{class n{constructor(t,i,s){this._platform=t,this._change=new w,this._changeListener=o=>{this._change.next(o)},this._document=s,i.runOutsideAngular(()=>{if(t.isBrowser){let o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}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:i,height:s}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+s,right:t.left+i,height:s,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,i=this._getWindow(),s=t.documentElement,o=s.getBoundingClientRect(),r=-o.top||t.body.scrollTop||i.scrollY||s.scrollTop||0,a=-o.left||t.body.scrollLeft||i.scrollX||s.scrollLeft||0;return{top:r,left:a}}change(t=Bi){return t>0?this._change.pipe(ae(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{this.\u0275fac=function(i){return new(i||n)(l(j),l(S),l(E,8))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var oi=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=U({type:n})}static{this.\u0275inj=H({})}}return n})(),we=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=U({type:n})}static{this.\u0275inj=H({imports:[At,oi,At,oi]})}}return n})();var St=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},dt=class extends St{constructor(e,t,i,s,o){super(),this.component=e,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=s,this.projectableNodes=o}},it=class extends St{constructor(e,t,i,s){super(),this.templateRef=e,this.viewContainerRef=t,this.context=i,this.injector=s}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}},Ee=class extends St{constructor(e){super(),this.element=e instanceof T?e.nativeElement:e}},ut=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof dt)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof it)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof Ee)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDis
1poseFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Wt=class extends ut{constructor(e,t,i,s,o){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=s,this.attachDomPortal=r=>{this._document;let a=r.element;a.parentNode;let c=this._document.createComment("dom-portal");a.parentNode.insertBefore(c,a),this.outletElement.appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},this._document=o}attachComponentPortal(e){let i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s;return e.viewContainerRef?(s=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>s.destroy())):(s=i.create(e.injector||this._defaultInjector||N.NULL),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=e,s}attachTemplatePortal(e){let t=e.viewContainerRef,i=t.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return i.rootNodes.forEach(s=>this.outletElement.appendChild(s)),i.detectChanges(),this.setDisposeFn(()=>{let s=t.indexOf(i);s!==-1&&t.remove(s)}),this._attachedPortal=e,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var kt=(()=>{class n extends ut{constructor(t,i,s){super(),this._componentFactoryResolver=t,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new g,this.attachDomPortal=o=>{this._document;let r=o.element;r.parentNode;let a=this._document.createComment("dom-portal");o.setAttachedHost(this),r.parentNode.insertBefore(a,r),this._getRootNode().appendChild(r),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(r,a)})},this._document=s}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)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let i=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,o=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),r=i.createComponent(o,i.length,t.injector||i.injector,t.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(t){t.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static{this.\u0275fac=function(i){return new(i||n)(d(Lt),d(Et),d(E))}}static{this.\u0275dir=G({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[J]})}}return n})();var Yt=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=U({type:n})}static{this.\u0275inj=H({})}}return n})();function ft(n,...e){return e.length?e.some(t=>n[t]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var ai=ii(),Ie=class{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=I(-this._previousScrollPosition.left),e.style.top=I(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,t=this._document.body,i=e.style,s=t.style,o=i.scrollBehavior||"",r=s.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),ai&&(i.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ai&&(i.scrollBehavior=o,s.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}};var De=class{constructor(e,t,i,s){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler
1=i,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(X(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=e.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Xt=class{enable(){}disable(){}attach(){}};function Ae(n,e){return e.some(t=>{let i=n.bottom<t.top,s=n.top>t.bottom,o=n.right<t.left,r=n.left>t.right;return i||s||o||r})}function li(n,e){return e.some(t=>{let i=n.top<t.top,s=n.bottom>t.bottom,o=n.left<t.left,r=n.right>t.right;return i||s||o||r})}var Se=class{constructor(e,t,i,s){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=i,this._config=s,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:s}=this._viewportRuler.getViewportSize();Ae(t,[{width:i,height:s,bottom:s,right:i,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}},Ui=(()=>{class n{constructor(t,i,s,o){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=s,this.noop=()=>new Xt,this.close=r=>new De(this._scrollDispatcher,this._ngZone,this._viewportRuler,r),this.block=()=>new Ie(this._viewportRuler,this._document),this.reposition=r=>new Se(this._scrollDispatcher,this._viewportRuler,this._ngZone,r),this._document=o}static{this.\u0275fac=function(i){return new(i||n)(l(ri),l(Ce),l(S),l(E))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),mt=class{constructor(e){if(this.scrollStrategy=new Xt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let t=Object.keys(e);for(let i of t)e[i]!==void 0&&(this[i]=e[i])}}};var ke=class{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}};var pi=(()=>{class n{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static{this.\u0275fac=function(i){return new(i||n)(l(E))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Wi=(()=>{class n extends pi{constructor(t,i){super(t),this._ngZone=i,this._key
1downListener=s=>{let o=this._attachedOverlays;for(let r=o.length-1;r>-1;r--)if(o[r]._keydownEvents.observers.length>0){let a=o[r]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(s)):a.next(s);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(i){return new(i||n)(l(E),l(S,8))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Yi=(()=>{class n extends pi{constructor(t,i,s){super(t),this._platform=i,this._ngZone=s,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Z(o)},this._clickListener=o=>{let r=Z(o),a=o.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let m=c.length-1;m>-1;m--){let u=c[m];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(ci(u.overlayElement,r)||ci(u.overlayElement,a))break;let y=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>y.next(o)):y.next(o)}}}add(t){if(super.add(t),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(i){return new(i||n)(l(E),l(j),l(S,8))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function ci(n,e){let t=typeof ShadowRoot<"u"&&ShadowRoot,i=e;for(;i;){if(i===n)return!0;i=t&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var pt=(()=>{class n{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||ye()){let s=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;o<s.length;o++)s[o].remove()}let i=this._document.createElement("div");i.classList.add(t),ye()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}static{this.\u0275fac=function(i){return new(i||n)(l(E),l(j))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),$=class{constructor(e,t,i,s,o,r,a,c,m,u=!1,y){this._portalOutlet=e,this._host=t,this._pane=i,this._config=s,this._ngZone=o,this._keyboardDispatcher=r,this._document=a,this._location=c,this._outsideClickDispatcher=m,this._animationsDisabled=u,this._injector=y,this._backdropElement=null,this._backdropClick=new w,this._attachments=new w,this._detachments=new w,this._locationChanges=K.EMPTY,this._backdropClickHandler=V=>this._backdropClick.next(V),this._backdropTransitionendHandler=V=>{this._disposeBackdrop(V.target)},this._keydownEvents=new w,this._outsidePointerEvents=new w,this._renders=new w,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy,this._afterRenderRef=qe(()=>Xe(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let t=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=lt(()=>{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._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 e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
1pose(),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=null,e&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}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(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=R(R({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Mt(R({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=I(this._config.width),e.height=I(this._config.height),e.minWidth=I(this._config.minWidth),e.minHeight=I(this._config.minHeight),e.maxWidth=I(this._config.maxWidth),e.maxHeight=I(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,t,i){let s=pe(t||[]).filter(o=>!!o);s.length&&(i?e.classList.add(...s):e.classList.remove(...s))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(bt(Pt(this._attachments,this._detachments))).subscribe(()=>{(!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()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},hi="cdk-overlay-connected-position-bounding-box",Xi=/([A-Za-z%]+)$/,Oe=class{get positions(){return this._preferredPositions}
vendor: 11,022 bytes, line 1
1constructor(e,t,i,s,o){this._viewportRuler=t,this._document=i,this._platform=s,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new w,this._resizeSubscription=K.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(hi),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.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._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,t=this._overlayRect,i=this._viewportRect,s=this._containerRect,o=[],r;for(let a of this._preferredPositions){let c=this._getOriginPoint(e,s,a),m=this._getOverlayPoint(c,t,a),u=this._getOverlayFit(m,t,i,a);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(u,m,i)){o.push({position:a,origin:c,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!r||r.overlayFit.visibleArea<u.visibleArea)&&(r={overlayFit:u,overlayPoint:m,originPoint:c,position:a,overlayRect:t})}if(o.length){let a=null,c=-1;for(let m of o){let u=m.boundingBoxRect.width*m.boundingBoxRect.height*(m.position.weight||1);u>c&&(c=u,a=m)}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&&nt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(hi),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t,i){let s;if(i.originX=="center")s=e.left+e.width/2;else{let r=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;s=i.originX=="start"?r:a}t.left<0&&(s-=t.left);let o;return i.originY=="center"?o=e.top+e.height/2:o=i.originY=="top"?e.top:e.bottom,t.top<0&&(o-=t.top),{x:s,y:o}}_getOverlayPoint(e,t,i){let s;i.overlayX=="center"?s=-t.width/2:i.overlayX==="start"?s=this._isRtl()?-t.width:0:s=this._isRtl()?0:-t.width;let o;return i.overlayY=="center"?o=-t.height/2:o=i.overlayY=="top"?0:-t.height,{x:e.x+s,y:e.y+o}}_getOverlayFit(e,t,i,s){let o=ui(t),{x:r,y:a}=e,c=this._getOffset(s,"x"),m=this._getOffset(s,"y");c&&(r+=c),m&&(a+=m);let u=0-r,y=r+o.width-i.width,V=0-a,M=a+o.height-i.height,z=this._subtractOverflows(o.width,u,y),Y=this._subtractOverflows(o.height,V,M),Le=z*Y;return{visibleArea:Le,isCompletelyWithinViewport:o.width*o.height===Le,fitsInViewportVertically:Y===o.height,fitsInViewportHorizontally:z==o.width}}_canFitWithFlexibleDimensions(e,t,i){if(this._hasFlexibleDimensions){let s=i.bottom-t.y,o=i.right-t.x,r=di(this._overlayRef.getConfig().minHeight),a=di(this._overlayRef.getConfig().minWidth),c=e.fitsInViewportVertically||r!=null&&r<=s,m=e.fitsInViewportHorizontally||a!=null&&a<=o;return c&&m}return!1}_pushOverlayOnScreen(e,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let s=ui(t),o=this._viewportRect,r=Math.max(e.x+s.width-o.width,0),a=Math.max(e.y+s.height-o.height,0),c=Math.max(o.top-i.top-e.y,0),m=Math.max(o.left-i.left-e.x,0),u=0,y=0;return s.width<=o.width?u=m||-r:u=e.x<this._viewportMargin?o.left-i.left-e.x:0,s.height<=o.height?y=c||-a:y=e.y<this._viewportMargin?o.top-i.top-e.y:0,this._previousPushAmount={x:u,y},{x:e.x+u,y:e.y+y}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!Gi(this._lastScrollVisibility,i)){let s=new ke(e,i);this._positionChanges.next(s)}this._lastScrollVisibility=i}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,s=e.overlayY;e.overlayX==="center"?i="center":this._isRtl()?i=e.overlayX==="start"?"right":"left":i=e.overlayX==="start"?"left":"right";for(let o=0;o<t.length;o++)t[o].style.transformOrigin=`${i} ${s}`}_calculateBoundingBoxRect(e,t){let i=this._viewportRect,s=this._isRtl(),o,r,a;if(t.overlayY==="top")r=e.y,o=i.height-r+this._viewportMargin;else if(t.overlayY==="bottom")a=i.height-e.y+this._viewportMargin*2,o=i.height-a+this._viewportMargin;else{let M=Math.min(i.bottom-e.y+i.top,e.y),z=this._lastBoundingBoxSize.height;o=M*2,r=e.y-M,o>z&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-z/2)}let c=t.overlayX==="start"&&!s||t.overlayX==="end"&&s,m=t.overlayX==="end"&&!s||t.overlayX==="start"&&s,u,y,V;if(m)V=i.width-e.x+this._viewportMargin*2,u=e.x-this._viewportMargin;else if(c)y=e.x,u=i.right-e.x;else{let M=Math.min(i.right-e.x+i.left,e.x),z=this._lastBoundingBoxSize.width;u=M*2,y=e.x-M,u>z&&!this._isInitialRender&&!this._growAfterOpen&&(y=e.x-z/2)}return{top:r,left:y,bottom:a,right:V,width:u,height:o}}_setBoundingBoxStyles(e,t){let i=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;s.height=I(i.height),s.top=I(i.top),s.bottom=I(i.bottom),s.width=I(i.width),s.left=I(i.left),s.right=I(i.right),t.overlayX==="center"?s.alignItems="center":s.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?s.justifyContent="center":s.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",o&&(s.maxHeight=I(o)),r&&(s.maxWidth=I(r))}this._lastBoundingBoxSize=i,nt(this._boundingBox.style,s)}_resetBoundingBoxStyles(){nt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){nt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let i={},s=this._hasExactPosition(),o=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(s){let u=this._viewportRuler.getViewportScrollPosition();nt(i,this._getExactOverlayY(t,e,u)),nt(i,this._getExactOverlayX(t,e,u))}else i.position="static";let a="",c=this._getOffset(t,"x"),m=this._getOffset(t,"y");c&&(a+=`translateX(${c}px) `),m&&(a+=`translateY(${m}px)`),i.transform=a.trim(),r.maxHeight&&(s?i.maxHeight=I(r.maxHeight):o&&(i.maxHeight="")),r.maxWidth&&(s?i.maxWidth=I(r.maxWidth):o&&(i.maxWidth="")),nt(this._pane.style,i)}_getExactOverlayY(e,t,i){let s={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),e.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;s.bottom=`${r-(o.y+this._overlayRect.height)}px`}else s.top=I(o.y);return s}_getExactOverlayX(e,t,i){let s={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let r;if(this._isRtl()?r=e.overlayX==="end"?"left":"right":r=e.overlayX==="end"?"right":"left",r==="right"){let a=this._document.documentElement.clientWidth;s.right=`${a-(o.x+this._overlayRect.width)}px`}else s.left=I(o.x);return s}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:li(e,i),isOriginOutsideView:Ae(e,i),isOverlayClipped:li(t,i),isOverlayOutsideView:Ae(t,i)}}_subtractOverflows(e,...t){return t.reduce((i,s)=>i-Math.max(s,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+e-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return t==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&pe(e).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEac
1h(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof T)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let t=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+t,height:i,width:t}}};function nt(n,e){for(let t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function di(n){if(typeof n!="number"&&n!=null){let[e,t]=n.split(Xi);return!t||t==="px"?parseFloat(e):null}return n||null}function ui(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 Gi(n,e){return n===e?!0:n.isOriginClipped===e.isOriginClipped&&n.isOriginOutsideView===e.isOriginOutsideView&&n.isOverlayClipped===e.isOverlayClipped&&n.isOverlayOutsideView===e.isOverlayOutsideView}var fi="cdk-global-overlay-wrapper",Re=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(fi),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:s,height:o,maxWidth:r,maxHeight:a}=i,c=(s==="100%"||s==="100vw")&&(!r||r==="100%"||r==="100vw"),m=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),u=this._xPosition,y=this._xOffset,V=this._overlayRef.getConfig().direction==="rtl",M="",z="",Y="";c?Y="flex-start":u==="center"?(Y="center",V?z=y:M=y):V?u==="left"||u==="end"?(Y="flex-end",M=y):(u==="right"||u==="start")&&(Y="flex-start",z=y):u==="left"||u==="start"?(Y="flex-start",M=y):(u==="right"||u==="end")&&(Y="flex-end",z=y),e.position=this._cssPosition,e.marginLeft=c?"0":M,e.marginTop=m?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=c?"0":z,t.justifyContent=Y,t.alignItems=m?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(fi),i.justifyContent=i.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},Zi=(()=>{class n{constructor(t,i,s,o){this._viewportRuler=t,this._document=i,this._platform=s,this._overlayContainer=o}global(){return new Re}flexibleConnectedTo(t){return new Oe(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(i){return new(i||n)(l(Ce),l(E),l(j),l(pt))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Ki=0,W=(()=>{class n{constructor(t,i,s,o,r,a,c,m,u,y,V,M){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=s,this._positionBuilder=o,this._keyboardDispatcher=r,this._injector=a,this._ngZone=c,this._document=m,this._directionality=u,this._location=y,this._outsideClickDispatcher=V,this._animationsModuleType=M}create(t){let i=this._createHostElement(),s=this._createPaneElement(i),o=this._createPortalOutlet(s),r=new mt(t);return r.direction=r.direction||this._directionality.value,new $(o,i,s,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Ue))}position(){return this._positionBuilder}_createPaneElement(t){let i=this._document.createElement("div");return i.id=`cdk-overlay-${Ki++}`,i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get($e)),new Wt(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(i){return new(i||n)(l(Ui),l(pt),l(Lt),l(Zi),l(Wi),l(N),l(S),l(E),l(et),l(Vt),l(Yi),l(wt,8))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),$i=[{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"}],_i=new x("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=F(W);return()=>n.scrollStrategies.reposition()}}),mi=(()=>{class n{constructor(t){this.elementRef=t}static{this.\u0275fac=function(i){return new(i||n)(d(T))}}static{this.\u0275dir=G({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return n})(),Ls=(()=>{class n{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)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,i,s,o,r){this._overlay=t,this._dir=r,this._backdropSubscription=K.EMPTY,this._attachSubscription=K.EMPTY,this._detachSubscription=K.EMPTY,this._positionSubscription=K.EMPTY,this._disposeOnNavigation=!1,this._ngZone=F(S),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new g,this.positionChange=new g,this.attach=new g,this.detach=new g,this.overlayKeydown=new g,this.overlayOutsideClick=new g,this._templatePortal=new it(i,s),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}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&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,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=$i);let t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!ft(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let s=this._getOriginElement(),o=Z(i);(!s||s!==o&&!s.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),i=new mt({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(t){let i=this.positions.map(s=>({originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||this.offsetX,offsetY:s.offsetY||this.offsetY,panelClass:s.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(t),t}
1_getOrigin(){return this.origin instanceof mi?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof mi?this.origin.elementRef.nativeElement:this.origin instanceof T?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(ze(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||n)(d(W),d(rt),d(Et),d(_i),d(et,8))}}static{this.\u0275dir=G({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",Q],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Q],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Q],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Q],push:[2,"cdkConnectedOverlayPush","push",Q],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Q]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Nt,Ct]})}}return n})();function qi(n){return()=>n.scrollStrategies.reposition()}var Qi={provide:_i,deps:[W],useFactory:qi},gi=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=U({type:n})}static{this.\u0275inj=H({providers:[W,Qi],imports:[At,Yt,we,we]})}}return n})();var Rt=(()=>{class n{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return tn(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let i=Ji(cn(t));if(i&&(yi(i)===-1||!this.isVisible(i)))return!1;let s=t.nodeName.toLowerCase(),o=yi(t);return t.hasAttribute("contenteditable")?o!==-1:s==="iframe"||s==="object"||this._platform.WEBKIT&&this._platform.IOS&&!an(t)?!1:s==="audio"?t.hasAttribute("controls")?o!==-1:!1:s==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,i){return ln(t)&&!this.isDisabled(t)&&(i?.ignoreVisibility||this.isVisible(t))}static{this.\u0275fac=function(i){return new(i||n)(l(j))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function Ji(n){try{return n.frameElement}catch{return null}}function tn(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function en(n){let e=n.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function nn(n){return on(n)&&n.type=="hidden"}function sn(n){return rn(n)&&n.hasAttribute("href")}function on(n){return n.nodeName.toLowerCase()=="input"}function rn(n){return n.nodeName.toLowerCase()=="a"}
1function bi(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let e=n.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function yi(n){if(!bi(n))return null;let e=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function an(n){let e=n.nodeName.toLowerCase(),t=e==="input"&&n.type;return t==="text"||t==="password"||e==="select"||e==="textarea"}function ln(n){return nn(n)?!1:en(n)||sn(n)||n.hasAttribute("contenteditable")||bi(n)}function cn(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var xe=class{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,i,s,o=!1,r){this._element=e,this._checker=t,this._ngZone=i,this._document=s,this._injector=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let 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?!0:(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){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let i=this._getFirstTabbableElement(t);return i?.focus(e),!!i}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){let 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;let t=e.children;for(let i=0;i<t.length;i++){let s=t[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[i]):null;if(s)return s}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let i=t.length-1;i>=0;i--){let s=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(s)return s}return null}_createAnchor(){let 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._injector?lt(e,{injector:this._injector}):setTimeout(e)}},Kt=(()=>{class n{constructor(t,i,s){this._checker=t,this._ngZone=i,this._injector=F(N),this._document=s}create(t,i=!1){return new xe(t,this._checker,this._ngZone,this._document,i,this._injector)}static{this.\u0275fac=function(i){return new(i||n)(l(Rt),l(S),l(E))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function hn(n){return n.buttons===0||n.detail===0}function dn(n){let e=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];
1return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var un=new x("cdk-input-modality-detector-options"),fn={ignoreKeys:[18,17,224,91,16]},Ci=650,_t=ve({passive:!0,capture:!0}),mn=(()=>{class n{get mostRecentModality(){return this._modality.value}constructor(t,i,s,o){this._platform=t,this._mostRecentTarget=null,this._modality=new je(null),this._lastTouchMs=0,this._onKeydown=r=>{this._options?.ignoreKeys?.some(a=>a===r.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Z(r))},this._onMousedown=r=>{Date.now()-this._lastTouchMs<Ci||(this._modality.next(hn(r)?"keyboard":"mouse"),this._mostRecentTarget=Z(r))},this._onTouchstart=r=>{if(dn(r)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Z(r)},this._options=R(R({},fn),o),this.modalityDetected=this._modality.pipe(Ve(1)),this.modalityChanged=this.modalityDetected.pipe(le()),t.isBrowser&&i.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,_t),s.addEventListener("mousedown",this._onMousedown,_t),s.addEventListener("touchstart",this._onTouchstart,_t)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,_t),document.removeEventListener("mousedown",this._onMousedown,_t),document.removeEventListener("touchstart",this._onTouchstart,_t))}static{this.\u0275fac=function(i){return new(i||n)(l(j),l(S),l(E),l(un,8))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Zt=function(n){return n[n.IMMEDIATE=0]="IMMEDIATE",n[n.EVENTUAL=1]="EVENTUAL",n}(Zt||{}),pn=new x("cdk-focus-monitor-default-options"),Gt=ve({passive:!0,capture:!0}),$t=(()=>{class n{constructor(t,i,s,o,r){this._ngZone=t,this._platform=i,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 w,this._rootNodeFocusAndBlurListener=a=>{let c=Z(a);for(let m=c;m;m=m.parentElement)a.type==="focus"?this._onFocus(a,m):this._onBlur(a,m)},this._document=o,this._detectionMode=r?.detectionMode||Zt.IMMEDIATE}monitor(t,i=!1){let s=ht(t);if(!this._platform.isBrowser||s.nodeType!==1)return q();let o=ni(s)||this._getDocument(),r=this._elementInfo.get(s);if(r)return i&&(r.checkChildren=!0),r.subject;let a={checkChildren:i,subject:new w,rootNode:o};return this._elementInfo.set(s,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){let i=ht(t),s=this._elementInfo.get(i);s&&(s.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(s))}focusVia(t,i,s){let o=ht(t),r=this._getDocument().activeElement;o===r?this._getClosestElementsInfo(o).forEach(([a,c])=>this._originChanged(a,i,c)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(s))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===Zt.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused",i==="touch"),t.classList.toggle("cdk-keyboard-focused",i==="keyboard"),t.classList.toggle("cdk-mouse-focused",i==="mouse"),t.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&i,this._detectionMode===Zt.IMMEDIATE){clearTimeout(this._originTimeoutId);let s=this._originFromTouchInteraction?Ci:1;this._originTimeoutId=setTimeout(()=>this._origin=null,s)}})}_onFocus(t,i){let s=this._elementInfo.get(i),o=Z(t);!s||!s.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),s)}_onBlur(t,i){let s=this._elementInfo.get(i);!s||s.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(s,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let i=t.rootNode,s=this._rootNodeFocusListenerCount.get(i)||0;s||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Gt),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Gt)}),this._rootNodeFocusListenerCount.set(i,s+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(bt(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(t){let i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let s=this._rootNodeFocusListenerCount.get(i);s>1?this._rootNodeFocusListenerCount.set(i,s-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Gt),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Gt),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,s){this._setClasses(t,i),this._emitOrigin(s,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){let i=[];return this._elementInfo.forEach((s,o)=>{(o===t||s.checkChildren&&o.contains(t))&&i.push([o,s])}),i}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:i,mostRecentModality:s}=this._inputModalityDetector;if(s!=="mouse"||!i||i===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let o=t.labels;if(o){for(let r=0;r<o.length;r++)if(o[r].contains(i))return!0}return!1}static{this.\u0275fac=function(i){return new(i||n)(l(S),l(j),l(mn),l(E,8),l(pn,8))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function _n(n,e){}var st=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var Me=(()=>{class n extends ut{constructor(t,i,s,o,r,a,c,m){super(),this._elementRef=t,this._focusTrapFactory=i,this._config=o,this._interactivityChecker=r,this._ngZone=a,this._overlayRef=c,this._focusMonitor=m,this._platform=F(j),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=F(me),this._injector=F(N),this._isDestroyed=!1,this.attachDomPortal=u=>{this._portalOutlet.hasAttached();let y=this._portalOutlet.attachDomPortal(u);return this._contentAttached(),y},this._document=s,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(t){this._ariaLabelledByQueue.push(t),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(t){let i=this._ariaLabelledByQueue.indexOf(t);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),i}attachTemplatePortal(t){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,i){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let s=()=>{t.removeEventListener("blur",s),t.removeEventListener("mousedown",s),t.removeAttribute("tabindex")};t.addEventListener("blur",s),t.addEventListener("mousedown",s)})),t.focus(i)}_focusByCssSelector(t,i){let s=this._elementRef.nativeElement.querySelector(t);s&&this._forceFocus(s,i)}_trapFocus(){this._isDestroyed||lt(()=>{let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focu
1s();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let t=this._config.restoreFocus,i=null;if(typeof t=="string"?i=this._document.querySelector(t):typeof t=="boolean"?i=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(i=t),this._config.restoreFocus&&i&&typeof i.focus=="function"){let s=Dt(),o=this._elementRef.nativeElement;(!s||s===this._document.body||s===o||o.contains(s))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let t=this._elementRef.nativeElement,i=Dt();return t===i||t.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Dt()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(i){return new(i||n)(d(T),d(Kt),d(E,8),d(st),d(Rt),d(S),d($),d($t))}}static{this.\u0275cmp=D({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(i,s){if(i&1&&he(kt,7),i&2){let o;de(o=ue())&&(s._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,s){i&2&&ct("id",s._config.id||null)("role",s._config.role)("aria-modal",s._config.ariaModal)("aria-labelledby",s._config.ariaLabel?null:s._ariaLabelledByQueue[0])("aria-label",s._config.ariaLabel)("aria-describedby",s._config.ariaDescribedBy||null)},standalone:!0,features:[J,A],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,s){i&1&&at(0,_n,0,0,"ng-template",0)},dependencies:[kt],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return n})(),xt=class{constructor(e,t){this.overlayRef=e,this.config=t,this.closed=new w,this.disableClose=t.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!ft(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{t.closeOnOverlayDetachments!==!1&&this.close()})}close(e,t){if(this.containerInstance){let i=this.closed;this.containerInstance._closeInteractionType=t?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(e),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",t=""){return this.overlayRef.updateSize({width:e,height:t}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},gn=new x("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=F(W);return()=>n.scrollStrategies.block()}}),vn=new x("DialogData"),yn=new x("DefaultDialogConfig");var bn=0,Ei=(()=>{class n{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(t,i,s,o,r,a){this._overlay=t,this._injector=i,this._defaultOptions=s,this._parentDialog=o,this._overlayContainer=r,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new w,this._afterOpenedAtThisLevel=new w,this._ariaHiddenElements=new Map,this.afterAllClosed=Ft(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(yt(void 0))),this._scrollStrategy=a}open(t,i){let s=this._defaultOptions||new st;i=R(R({},s),i),i.id=i.id||`cdk-dialog-${bn++}`,i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),r=this._overlay.create(o),a=new xt(r,i),c=this._attachContainer(r,a,i);return a.containerInstance=c,this._attachDialogContent(t,a,c,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){Te(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){Te(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),Te(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let i=new mt({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(i.backdropClass=t.backdropClass),i}_attachContainer(t,i,s){let o=s.injector||s.viewContainerRef?.injector,r=[{provide:st,useValue:s},{provide:xt,useValue:i},{provide:$,useValue:t}],a;s.container?typeof s.container=="function"?a=s.container:(a=s.container.type,r.pu
1sh(...s.container.providers(s))):a=Me;let c=new dt(a,s.viewContainerRef,N.create({parent:o||this._injector,providers:r}),s.componentFactoryResolver);return t.attach(c).instance}_attachDialogContent(t,i,s,o){if(t instanceof rt){let r=this._createInjector(o,i,s,void 0),a={$implicit:o.data,dialogRef:i};o.templateContext&&(a=R(R({},a),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),s.attachTemplatePortal(new it(t,null,a,r))}else{let r=this._createInjector(o,i,s,this._injector),a=s.attachComponentPortal(new dt(t,o.viewContainerRef,r,o.componentFactoryResolver));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(t,i,s,o){let r=t.injector||t.viewContainerRef?.injector,a=[{provide:vn,useValue:t.data},{provide:xt,useValue:i}];return t.providers&&(typeof t.providers=="function"?a.push(...t.providers(i,t,s)):a.push(...t.providers)),t.direction&&(!r||!r.get(et,null,{optional:!0}))&&a.push({provide:et,useValue:{value:t.direction,change:q()}}),N.create({parent:r||o,providers:a})}_removeOpenDialog(t,i){let s=this.openDialogs.indexOf(t);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,r)=>{o?r.setAttribute("aria-hidden",o):r.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let t=this._overlayContainer.getContainerElement();if(t.parentElement){let i=t.parentElement.children;for(let s=i.length-1;s>-1;s--){let o=i[s];o!==t&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(i){return new(i||n)(l(W),l(N),l(yn,8),l(n,12),l(pt),l(gn))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function Te(n,e){let t=n.length;for(;t--;)e(n[t])}function Cn(n,e){}var Tt=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},Fe="mdc-dialog--open",Ii="mdc-dialog--opening",Di="mdc-dialog--closing",wn=150,En=75,In=(()=>{class n extends Me{constructor(t,i,s,o,r,a,c,m,u){super(t,i,s,o,r,a,c,u),this._animationMode=m,this._animationStateChanged=new g,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?Si(this._config.enterAnimationDuration)??wn:0,this._exitAnimationDuration=this._animationsEnabled?Si(this._config.exitAnimationDuration)??En:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Ai,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Ii,Fe)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Fe),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Fe),this._animationsEnabled?(this._hostElement.style.setProperty(Ai,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Di)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(t){this._actionSectionCount+=t,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Ii,Di)}
vendor: 6,461 bytes, line 1
1_waitForAnimationToComplete(t,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,t)}_requestAnimationFrame(t){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(t):t()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(t){let i=super.attachComponentPortal(t);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static{this.\u0275fac=function(i){return new(i||n)(d(T),d(Kt),d(E,8),d(Tt),d(Rt),d(S),d($),d(wt,8),d($t))}}static{this.\u0275cmp=D({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,s){i&2&&(Ge("id",s._config.id),ct("aria-modal",s._config.ariaModal)("role",s._config.role)("aria-labelledby",s._config.ariaLabel?null:s._ariaLabelledByQueue[0])("aria-label",s._config.ariaLabel)("aria-describedby",s._config.ariaDescribedBy||null),ce("_mat-animation-noopable",!s._animationsEnabled)("mat-mdc-dialog-container-with-actions",s._actionSectionCount>0))},standalone:!0,features:[J,A],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,s){i&1&&(h(0,"div",0)(1,"div",1),at(2,Cn,0,0,"ng-template",2),f()())},dependencies:[kt],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}
1.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}}return n})(),Ai="--mat-dialog-transition-duration";function Si(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?Ut(n.substring(0,n.length-2)):n.endsWith("s")?Ut(n.substring(0,n.length-1))*1e3:n==="0"?0:null}var qt=function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n}(qt||{}),ot=class{constructor(e,t,i){this._ref=e,this._containerInstance=i,this._afterOpened=new w,this._beforeClosed=new w,this._state=qt.OPEN,this.disableClose=t.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(X(s=>s.state==="opened"),vt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(X(s=>s.state==="closed"),vt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Pt(this.backdropClick(),this.keydownEvents().pipe(X(s=>s.keyCode===27&&!this.disableClose&&!ft(s)))).subscribe(s=>{this.disableClose||(s.preventDefault(),Dn(this,s.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(X(t=>t.state==="closing"),vt(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=qt.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let t=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",t=""){return this._ref.updateSize(e,t),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=qt.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Dn(n,e,t){return n._closeInteractionType=e,n.close(t)}var B=new x("MatMdcDialogData"),An=new x("mat-mdc-dialog-default-options"),Sn=new x("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=F(W);return()=>n.scrollStrategies.block()}});var kn=0,ki=(()=>{class n{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(t,i,s,o,r,a,c,m){this._overlay=t,this._defaultOptions=o,this._scrollStrategy=r,this._parentDialog=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new w,this._afterOpenedAtThisLevel=new w,this.dialogConfigClass=Tt,this.afterAllClosed=Ft(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(yt(void 0))),this._dialog=i.get(Ei),this._dialogRefConstructor=ot,this._dialogContainerType=In,this._dialogDataToken=B}open(t,i){let s;i=R(R({},this._defaultOptions||new Tt),i),i.id=i.id||`mat-mdc-dialog-${kn++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(t,Mt(R({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:st,useValue:i}]},templateContext:()=>({dialogRef:s}),providers:(r,a,c)=>(s=new this._dialogRefConstructor(r,i,c),s.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:s}])}));return s.componentRef=o.componentRef,s.componentInstance=o.componentInstance,this.openDialogs.push(s),this.afterOpened.next(s),s.afterClosed().subscribe(()=>{let r=this.openDialogs.indexOf(s);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||this._getAfterAllClosed().next())}),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let i=t.length;for(;i--;)t[i].close()}static{this.\u0275fac=function(i){return new(i||n)(l(W),l(N),l(Vt,8),l(An,8),l(Sn),l(n,12),l(pt),l(wt,8))}}static{this.\u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Qt=class n{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustResourceUrl(e)}static \u0275fac=function(t){return new(t||n)(d(zt,16))};static \u0275pipe=He({name:"trustResourceUrl",type:n,pure:!0,standalone:!0})};var Jt=class n{constructor(e,t){this.http=e;this.settingService=t}all(){return this.http.get("/api/v1/subdocumenttype/")}allDocumentType(){return this.http.get(`${this.settingService.globalApiUrl}/api/v1/documentType/`)}update(e){return this.http.put("/api/v1/subdocumenttype/",e)}save(e){return this.http.post("/api/v1/subdocumenttype/",e)}getSubDocumentType(e){return this.http.get(`/api/v1/subdocumenttype/${e}`)}updateTemplate(e){return this.http.put("/api/v1/templatedocument",e)}getTemplate(e){return this.http.get(`/api/v1/templatedocument/${e}`)}getPdf(e){return this.http.get(`/api/v1/verPDF/${e}`)}viewDocument(e,t){return this.http.get(`/api/v1/verDocument/${e}/${t}`)}validateDocument(e){return this.http.get(`/api/v1/validarDocument/${e}`)}downloadDocumentPdf(e,t="Certificado"){t=t!==""?t:"Certificado";let i=`data:application/pdf;base64,${e}`,s=document.createElement("a"),o=`${t}.pdf`;s.href=i,s.download=o,s.click()}static \u0275fac=function(t){return new(t||n)(l(ei),l(Ht))};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})};var te=class n{constructor(e){this.data=e}onAccept=new g;onClose=new g;ngAfterViewInit(){setTimeout(()=>{let e=document.getElementById("dv-alert");e&&e.focus()},100)}accept(e){e.stopPropagation(),this.onAccept.emit()}close(e){e.stopPropagation(),this.onClose.emit()}static \u0275fac=function(t){return new(t||n)(d(B))};static \u0275cmp=D({type:n,selectors:[["app-alert-modal"]],outputs:{onAccept:"onAccept",onClose:"onClose"},standalone:!0,features:[A],decls:23,vars:2,consts:[[1,"modal-wrap","remove-class",2,"z-index","10000"],[1,"modal-inner"],[1,"modal__close",3,"click"],["width","19","height","19","viewBox","0 0 19.413 19.413"],["transform","translate(10.414 -374.874) rotate(45)"],["width","4.576","height","22.878","rx","2.288","transform","translate(260 274.727) rotate(-90)"],["width","4.576","height","22.878","rx","2.288","transform","translate(269.151 261)"],[1,"modal-wrapTxt"],[2,"text-align","center"],["width","56px","height","56px","src","./assets/images/templates/modales/Alerta.svg","alt","Imagen"],[1,"title-modal"],[1,"text-modal"],["type","button","id","dv-alert",1,"custom-button-alert","modal__btn","btn-main",3,"click"]],template:function(t,i){t&1&&(h(0,"div",0)(1,"div",1)(2,"div",2),C("click",function(o){return i.close(o)}),P(),h(3,"svg",3)(4,"g",4),p(5,"rect",5)(6,"rect",6),f()()(),L(),h(7,"div",7)(8,"div",8),p(9,"img",9),f(),p(10,"br"),h(11,"div",10),_(12),f(),p(13,"br")(14,"br")(15,"br"),h(16,"div",11),_(17),f(),p(18,"br")(19,"br")(20,"br"),h(21,"button",12),C("click",function(o){return i.accept(o)}),_(22," Aceptar "),f()()()()),t&2&&(b(12),k(i.data.title),b(5),k(i.data.message))}})};var ee=class n{constructor(e={message:"Proceso exitoso",title:"Advertencia"}){this.data=e}onAccept=new g;onUpdate=new g;dataUpdate(e){e.stopPropagation(),this.onUpdate.emit()}accept(e){e.stopPropagation(),this.onAccept.emit()}static \u0275fac=function(t){return new(t||n)(d(B))};static \u0275cmp=D({type:n,selectors:[["app-alert-data-update-modal"]],outputs:{onAccept:"onAccept",onUpdate:"onUpdate"},standalone:!0,features:[A],decls:26,vars:2,consts:[[1,"modal-wrap","remove-class",2,"z-index","10000"],[1,"modal-inner"],[1,"modal__close",3,"click"],["width","19","height","19","viewBox","0 0 19.413 19.413"],["transform","translate(10.414 -374.874) rotate(45)"],["width","4.576","height","22.878","rx","2.288","transform","translate(260 274.727) rotate(-90)","fill",""],["width","4.576","height","22.878","rx","2.288","transform","translate(269.151 261)","fill",""],[1,"modal-wrapTxt"],[2,"text-align","center"],["width","56px","height","56px","src","./assets/images/templates/modales/Alerta.svg","alt","Imagen"],[1,"title-modal"],[1,"text-modal"],[1,"modal-wrapBtnWarning"],[1,"modal__btnDataUpdate","modal__btnDataUpdate--warning",3,"click"],[1,"modal__btnDataUpdate","modal__btnDataUpdate--acept",3,"click"]],template:function(t,i){t&1&&(h(0,"div",0)(1,"div",1)(2,"div",2),C("click",function(o){return i.accept(o)}),P(),h(3,"svg",3)(4,"g",4),p(5,"rect",5)(6,"rect",6),f()()(),L(),h(7,"div",7)(8,"div",8),p(9,"img",9),f(),p(10,"br"),h(11,"div",10),_(12),f(),p(13,"br")(14,"br")(15,"br"),h(16,"div",11),_(17),f(),p(18,"br")(19,"br")(20,"br"),h(21,"div",12)(22,"button",13),C("click",function(o){return i.dataUpdate(o)}),_(23," ACTUALIZAR DATOS "),f(),h(24,"button",14),C("click",function(o){return i.accept(o)}),_(25," ACEPTAR "),f()()()()()),t&2&&(b(12),k(i.data.title),b(5),k(i.data.message))}})};var ie=class n{constructor(e){this.dialogRef=e;this.cookiesConsentLink=`${window.location.origin}/politicas/`}onAccept=new g;cookiesConsentLink;data={message:"Este portal utiliza cookies. Si contin\xFAas navegando, consideramos que aceptas su uso, de acuerdo con esta pol\xEDtica.",title:"Advertencia"};ngAfterViewInit(){setTimeout(()=>{let e=document.getElementById("dv-alert");e&&e.focus()},100)}openTosLink(){window.open(this.cookiesConsentLink,"_blank")?.focus()}accept(e){e.stopPropagation(),this.onAccept.emit(),localStorage.setItem("cookies","true"),this.dialogRef.close()}static \u0275fac=function(t){return new(t||n)(d(ot))};
1static \u0275cmp=D({type:n,selectors:[["app-alert-cookies"]],outputs:{onAccept:"onAccept"},standalone:!0,features:[A],decls:27,vars:2,consts:[[1,"modal-wrap","remove-class",2,"z-index","10000"],[1,"modal-inner"],[1,"modal__close",3,"click"],["width","19","height","19","viewBox","0 0 19.413 19.413"],["transform","translate(10.414 -374.874) rotate(45)"],["width","4.576","height","22.878","rx","2.288","transform","translate(260 274.727) rotate(-90)"],["width","4.576","height","22.878","rx","2.288","transform","translate(269.151 261)"],[1,"modal-wrapTxt"],[2,"text-align","center"],["width","56px","height","56px","src","./assets/images/templates/modales/Alerta.svg","alt","Imagen"],[1,"title-modal"],[1,"text-modal"],[2,"display","flex","justify-content","center","gap","3rem"],["type","button","id","dv-alert",1,"custom-button-alert","modal__btn","btn-main",2,"margin-right","0",3,"click"],["type","button","id","dv-alert-info",1,"custom-button-alert","modal__btn","btn-main",2,"margin-left","0",3,"click"]],template:function(t,i){t&1&&(h(0,"div",0)(1,"div",1)(2,"div",2),C("click",function(o){return i.accept(o)}),P(),h(3,"svg",3)(4,"g",4),p(5,"rect",5)(6,"rect",6),f()()(),L(),h(7,"div",7)(8,"div",8),p(9,"img",9),f(),p(10,"br"),h(11,"div",10),_(12),f(),p(13,"br")(14,"br")(15,"br"),h(16,"div",11),_(17),f(),p(18,"br")(19,"br")(20,"br")(21,"br"),h(22,"div",12)(23,"button",13),C("click",function(o){return i.accept(o)}),_(24," Aceptar "),f(),h(25,"button",14),C("click",function(){return i.openTosLink()}),_(26," Informaci\xF3n "),f()()()()()),t&2&&(b(12),k(i.data.title),b(5),k(i.data.message))}})};var ne=class n{constructor(e={message:"Mensaje de confirmaci\xF3n",title:"Confirmaci\xF3n"},t){this.data=e;this.dialogRef=t}accept(){this.dialogRef.close(!0)}cancel(){this.dialogRef.close(!1)}static \u0275fac=function(t){return new(t||n)(d(B),d(ot))};static \u0275cmp=D({type:n,selectors:[["app-confirm-modal"]],standalone:!0,features:[A],decls:26,vars:2,consts:[[1,"modal-wrap","remove-class",2,"z-index","10000"],[1,"modal-inner"],[1,"modal__close",3,"click"],["width","19","height","19","viewBox","0 0 19.413 19.413"],["transform","translate(10.414 -374.874) rotate(45)"],["width","4.576","height","22.878","rx","2.288","transform","translate(260 274.727) rotate(-90)"],["width","4.576","height","22.878","rx","2.288","transform","translate(269.151 261)"],[1,"modal-wrapTxt"],[2,"text-align","center"],["width","56px","height","56px","src","./assets/images/templates/modales/Confirmacion.svg","alt","Imagen"],[1,"title-modal-confirm"],[1,"text-modal"],[1,"modal-wrapBtnWarning"],[1,"modal__btn","modal__btn--warning",3,"click"]],template:function(t,i){t&1&&(h(0,"div",0)(1,"div",1)(2,"div",2),C("click",function(){return i.cancel()}),P(),h(3,"svg",3)(4,"g",4),p(5,"rect",5)(6,"rect",6),f()()(),L(),h(7,"div",7)(8,"div",8),p(9,"img",9),f(),p(10,"br"),h(11,"div",10),_(12),f(),p(13,"br")(14,"br")(15,"br"),h(16,"div",11),_(17),f(),p(18,"br")(19,"br")(20,"br"),h(21,"div",12)(22,"button",13),C("click",function(){return i.accept()}),_(23," Continuar "),f(),h(24,"button",13),C("click",function(){return i.cancel()}),_(25," Regresar "),f()()()()()),t&2&&(b(12),k(i.data.title),b(5),k(i.data.message))}})};var se=class n{constructor(e={message:"Proceso exitoso",title:"\xC9xito"}){this.data=e}onAccept=new g;ngAfterViewInit(){setTimeout(()=>{document.getElementById("dv-alert")?.focus()},100)}accept(e){e.stopPropagation(),this.onAccept.emit(e)}static \u0275fac=function(t){return new(t||n)(d(B))};static \u0275cmp=D({type:n,selectors:[["app-exit-modal"]],outputs:{onAccept:"onAccept"},standalone:!0,features:[A],decls:24,vars:2,consts:[[1,"modal-wrap","remove-class",2,"z-index","10000"],[1,"modal-inner"],[1,"modal__close",3,"click"],["width","19","height","19","viewBox","0 0 19.413 19.413"],["transform","translate(10.414 -374.874) rotate(45)"],["width","4.576","height","22.878","rx","2.288","transform","translate(260 274.727) rotate(-90)"],["width","4.576","height","22.878","rx","2.288","transform","translate(269.151 261)"],[1,"modal-wrapTxt"],[2,"text-align","center"],["width","56px","height","56px","src","./assets/images/templates/modales/Exito.svg","alt","Imagen"],[1,"title-modal-exit"],[1,"text-modal"],[1,"modal-wrapBtnWarning"],["id","dv-alert",1,"modal__btn","modal__btn--warning",3,"click"]],template:function(t,i){t&1&&(h(0,"div",0)(1,"div",1)(2,"div",2),C("click",function(o){return i.accept(o)}),P(),h(3,"svg",3)(4,"g",4),p(5,"rect",5)(6,"rect",6),f()()(),L(),h(7,"div",7)(8,"div",8),p(9,"img",9),f(),p(10,"br"),h(11,"div",10),_(12),f(),p(13,"br")(14,"br")(15,"br"),h(16,"div",11),_(17),f(),p(18,"br")(19,"br")(20,"br"),h(21,"div",12)(22,"button",13),C("click",function(o){return i.accept(o)}),_(23," Continuar "),f()()()()()),t&2&&(b(12),k(i.data.title),b(5),k(i.data.message))}})};function Tn(n,e){if(n&1&&(h(0,"ul")(1,"li")(2,"b"),_(3),f(),_(4),h(5,"span"),_(6),f()()()),n&2){let t=e.$implicit;b(3),fe("",t.name,":"),b(),fe(" ",t.value," - "),b(2),k(t.isRequired?"obligatorio":"opcional")}}var oe=class n{constructor(e,t="Informaci\xF3n"){this.data=e;this.title=t}
1onCancel=new g;cancel(){this.onCancel.emit()}static \u0275fac=function(t){return new(t||n)(d(B),d(B))};static \u0275cmp=D({type:n,selectors:[["app-info-variable-document-modal"]],outputs:{onCancel:"onCancel"},standalone:!0,features:[A],decls:12,vars:2,consts:[[1,"modal-wrap","remove-class"],[1,"modal-innerViewInfoVariableDocument"],[1,"modal-titleViewInfoVariableDocument"],[1,"modal__close",3,"click"],["width","19","height","19","viewBox","0 0 19.413 19.413"],["transform","translate(10.414 -374.874) rotate(45)"],["width","4.576","height","22.878","rx","2.288","transform","translate(260 274.727) rotate(-90)"],["width","4.576","height","22.878","rx","2.288","transform","translate(269.151 261)"],[1,"modal-wrapTxt"],[1,"modal-viewInfoVariableDocument"],[4,"ngFor","ngForOf"]],template:function(t,i){t&1&&(h(0,"div",0)(1,"div",1)(2,"div",2),_(3),f(),h(4,"div",3),C("click",function(){return i.cancel()}),P(),h(5,"svg",4)(6,"g",5),p(7,"rect",6)(8,"rect",7),f()()(),L(),h(9,"div",8)(10,"div",9),at(11,Tn,7,3,"ul",10),f()()()()),t&2&&(b(3),k(i.title),b(8),jt("ngForOf",i.data))},dependencies:[Qe]})};var re=class n{constructor(e,t,i){this.data=e;this.sanitizer=t;this.documentService=i}onCancel=new g;get dataPdf(){return this.data?.dataPdf}cancel(){this.onCancel.emit()}downloadDocument(e){e.preventDefault(),this.documentService.downloadDocumentPdf(this.data.base64,this.data.nameSubDocument)}static \u0275fac=function(t){return new(t||n)(d(B),d(zt),d(Jt))};static \u0275cmp=D({type:n,selectors:[["app-view-document-modal"]],outputs:{onCancel:"onCancel"},standalone:!0,features:[A],decls:14,vars:3,consts:[[1,"modal-wrap","remove-class",2,"z-index","10000"],[1,"modal-innerViewDocument"],[1,"modal__close",3,"click"],["width","19","height","19","viewBox","0 0 19.413 19.413"],["transform","translate(10.414 -374.874) rotate(45)"],["width","4.576","height","22.878","rx","2.288","transform","translate(260 274.727) rotate(-90)","fill",""],["width","4.576","height","22.878","rx","2.288","transform","translate(269.151 261)","fill",""],[1,"modal-wrapTxt"],[1,"modal-viewDocument"],["type","application/pdf","width","98%","height","100%",3,"src"],[1,"modal-wrapBtnWarning"],[1,"modal__btn","modal__btn--warning",3,"click"]],template:function(t,i){t&1&&(h(0,"div",0)(1,"div",1)(2,"div",2),C("click",function(){return i.cancel()}),P(),h(3,"svg",3)(4,"g",4),p(5,"rect",5)(6,"rect",6),f()()(),L(),h(7,"div",7)(8,"div",8),p(9,"iframe",9),Ze(10,"trustResourceUrl"),f(),h(11,"div",10)(12,"button",11),C("click",function(o){return i.downloadDocument(o)}),_(13,"Descargar"),f()()()()()),t&2&&(b(9),jt("src",Ke(10,1,i.dataPdf),Ye))},dependencies:[Qt]})};var Oi=class n{constructor(e,t,i){this.dialog=e;this.settingService=t;this.http=i}toolTips=[];compile(e,t){return this.dialog.open(e,{data:t}).afterClosed()}open(e,t){return this.dialog.open(e,{data:t})}showAlert(e,t=""){let i={message:e,title:t},s=this.dialog.open(te,{data:i});s.componentInstance.onAccept.subscribe(()=>{s.close()}),s.componentInstance.onClose.subscribe(()=>{s.close()})}showAlertCookies(e,t){let i={message:e,title:t};this.compile(ie,i)}showExit(e,t){let i={message:e,title:t},s=this.dialog.open(se,{data:i});s.componentInstance.onAccept.subscribe(()=>{s.close()})}showConfirm(e,t=""){let i={message:e,title:t};return this.compile(ne,i)}getToolTips(){if(this.toolTips?.length===0||!this.toolTips){let e=this.http.get(this.settingService.globalApiUrl+"/api/v1/sites/tooltips/",{headers:{}});return e.subscribe({next:t=>(this.toolTips=t.data,this.toolTips),error:t=>console.log(t)}),e}else return q(this.toolTips)}showViewDocument(e){return this.compile(re,e)}showInfoVariableDetailDocument(e,t){let i={title:e,data:t};return this.compile(oe,i)}showAlertDataUpdate(e,t=""){let i={message:e,title:t},s=this.dialog.open(ee,{data:i});return s.componentInstance.onUpdate.subscribe(()=>{s.close(!0)}),s.componentInstance.onAccept.subscribe(()=>{s.close(!1)}),s.afterClosed()}static \u0275fac=function(t){return new(t||n)(l(ki),l(Ht),l(ti))};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})};export{Ut as a,pe as b,ht as c,ve as d,ni as e,Z as f,et as g,Kn as h,ri as i,Ce as j,Ls as k,gi as l,hn as m,dn as n,ot as o,B as p,ki as q,Qt as r,Jt as s,Oi as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.