1"use strict";(self.webpackChunkaqar_web_client_ui=self.webpackChunkaqar_web_client_ui||[]).push([[9494],{9494(G,I,f){f.d(I,{z:()=>Se});var _=f(177),u=f(9769),d=f(7266),B=f(3044),O=f(283),a=f(5547),A=f(5157);class ${_attachedHost=null;attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class rt extends ${component;viewContainerRef;injector;projectableNodes;bindings;directives;constructor(t,e,n,s,l,m){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.projectableNodes=s,this.bindings=l||null,this.directives=m||null}}class tt extends ${templateRef;viewContainerRef;context;injector;constructor(t,e,n,s){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n,this.injector=s}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class ft extends ${element;constructor(t){super(),this.element=t instanceof a.aKT?t.nativeElement:t}}class pt{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof rt?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof tt?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof ft?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class _t extends pt{outletElement;_appRef;_defaultInjector;constructor(t,e,n){super(),this.outletElement=t,this._appRef=e,this._defaultInjector=n}attachComponentPortal(t){let e;if(t.viewContainerRef){const n=t.injector||t.viewContainerRef.injector,s=n.get(a.Ab1,null,{optional:!0})||void 0;e=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:n,ngModuleRef:s,projectableNodes:t.projectableNodes||void 0,bindings:t.bindings||void 0,directives:t.directives||void 0}),this.setDisposeFn(()=>e.destroy())}else{const n=this._appRef,s=t.injector||this._defaultInjector||d.zZn.NULL,l=s.get(d.uvJ,n.injector);e=(0,A.a0P)(t.component,{elementInjector:s,environmentInjector:l,projectableNodes:t.projectableNodes||void 0,bindings:t.bindings||void 0,directives:t.directives||void 0}),n.attachView(e.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=t,e}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return n.rootNodes.forEach(s=>this.outletElement.appendChild(s)),n.detectChanges(),this.setDisposeFn(()=>{let s=e.indexOf(n);-1!==s&&e.remove(s)}),this._attachedPortal=t,n}attachDomPortal=t=>{const e=t.element,n=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}var gt=f(5984),at=f(7421);function mt(o){return o.composedPath?o.composedPath()[0]:o.target}function yt(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const ct=new WeakMap;let wt=(()=>{class o{_appRef;_injector=(0,d.WQX)(d.zZn);_environmentInjector=(0,d.WQX)(d.uvJ);load(e){const n=this._appRef=this._appRef||this._injector.get(a.o8S);let s=ct.get(n);s||(s={loaders:new Set,refs:[]},ct.set(n,s),n.onDestroy(()=>{ct.get(n)?.refs.forEach(l=>l.destroy()),ct.delete(n)})),s.loaders.has(e)||(s.loaders.add(e),s.refs.push((0,A.a0P)(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(n){return new(n||o)};static \u0275prov=a.tV_({token:o,factory:o.\u0275fac})}return o}
1)();var J=f(1413),ht=f(8359);function V(o){return null==o?"":"string"==typeof o?o:`${o}px`}var dt=f(7523),q=f(3227),bt=f(7249),Ct=f(5964);const ot={};class K{_appId=(0,d.WQX)(d.sZ2);static _infix=`a${Math.floor(1e5*Math.random()).toString()}`;getId(t,e=!1){return"ng"!==this._appId&&(t+=this._appId),ot.hasOwnProperty(t)||(ot[t]=0),`${t}${e?K._infix+"-":""}${ot[t]++}`}static \u0275fac=function(e){return new(e||K)};static \u0275prov=a.tV_({token:K,factory:K.\u0275fac})}var St=f(9752);const C=(0,bt.CZ)();class x{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(t,e){this._viewportRuler=t,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=V(-this._previousScrollPosition.left),t.style.top=V(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,n=t.style,s=this._document.body.style,l=n.scrollBehavior||"",m=s.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),C&&(n.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),C&&(n.scrollBehavior=l,s.scrollBehavior=m)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.documentElement,n=this._viewportRuler.getViewportSize();return e.scrollHeight>n.height||e.scrollWidth>n.width}}class xt{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(t,e,n,s){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=s}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0).pipe((0,Ct.p)(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class Dt{enable(){}disable(){}attach(){}}function Mt(o,t){return t.some(e=>o.bottom<e.top||o.top>e.bottom||o.right<e.left||o.left>e.right)}function Xt(o,t){return t.some(e=>o.top<e.top||o.bottom>e.bottom||o.left<e.left||o.right>e.right)}class te{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(t,e,n,s){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=s}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:s}=this._viewportRuler.getViewportSize();Mt(e,[{width:n,height:s,bottom:s,right:n,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}}let ee=(()=>{class o{_injector=(0,d.WQX)(d.zZn);noop=()=>new Dt;close=e=>function st(o,t){return new xt(o.get(q.R),o.get(d.SKi),o.get(q.Xj),t)}(this._injector,e);block=()=>function L(o){return new x(o.get(q.Xj),o.get(d.qQL))}(this._injector);reposition=e=>function jt(o,t){return new te(o.get(q.R),o.get(q.Xj),o.get(d.SKi),t)}(this._injector,e);static \u0275fac=function(n){return new(n||o)};static \u0275prov=a.tV_({token:o,factory:o.\u0275fac})}return o}
1)();class ie{positionStrategy;scrollStrategy=new Dt;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(t){if(t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class ne{connectionPair;scrollableViewProperties;constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let Yt=(()=>{class o{_attachedOverlays=[];_document=(0,d.WQX)(d.qQL);_isAttached=!1;ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const n=this._attachedOverlays.indexOf(e);n>-1&&this._attachedOverlays.splice(n,1),0===this._attachedOverlays.length&&this.detach()}canReceiveEvent(e,n,s){return!(s.observers.length<1)&&(!e.eventPredicate||e.eventPredicate(n))}static \u0275fac=function(n){return new(n||o)};static \u0275prov=a.tV_({token:o,factory:o.\u0275fac})}return o})(),oe=(()=>{class o extends Yt{_ngZone=(0,d.WQX)(d.SKi);_renderer=(0,d.WQX)(a._9s).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{const n=this._attachedOverlays;for(let s=n.length-1;s>-1;s--){const l=n[s];if(this.canReceiveEvent(l,e,l._keydownEvents)){this._ngZone.run(()=>l._keydownEvents.next(e));break}}};static \u0275fac=function(n){return new(n||o)};static \u0275prov=a.tV_({token:o,factory:o.\u0275fac})}return o})(),se=(()=>{class o extends Yt{_platform=(0,d.WQX)(at.O);_ngZone=(0,d.WQX)(d.SKi);_renderer=(0,d.WQX)(a._9s).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){const n=this._document.body,s={capture:!0},l=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[l.listen(n,"pointerdown",this._pointerDownListener,s),l.listen(n,"click",this._clickListener,s),l.listen(n,"auxclick",this._clickListener,s),l.listen(n,"contextmenu",this._clickListener,s)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=mt(e)};_clickListener=e=>{const n=mt(e),s="click"===e.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:n;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let m=l.length-1;m>-1;m--){const w=l[m],S=w._outsidePointerEvents;if(w.hasAttached()&&this.canReceiveEvent(w,e,S)){if(Ht(w.overlayElement,n)||Ht(w.overlayElement,s))break;this._ngZone?this._ngZone.run(()=>S.next(e)):S.next(e)}}};static \u0275fac=function(n){return new(n||o)};static \u0275prov=a.tV_({token:o,factory:o.\u0275fac})}return o})();function Ht(o,t){const e=typeof ShadowRoot<"u"&&ShadowRoot;let n=t;for(;n;){if(n===o)return!0;n=e&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}let Qt=(()=>{class o{static \u0275fac=function(n){return new(n||o)};static \u0275cmp=a.VBU({type:o,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(n,s){},styles:[".cdk-overlay-container, .cdk-global-overlay-wrapper {\n pointer-events: none;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n}\n\n.cdk-overlay-container {\n position: fixed;\n}\n@layer cdk-overlay {\n .cdk-overlay-container {\n z-index: 1000;\n }\n}\n.cdk-overlay-container:empty {\n display: none;\n}\n\n.cdk-global-overlay-wrapper {\n display: flex;\n position: absolute;\n}\n@layer cdk-overlay {\n .cdk-global-overlay-wrapper {\n z-index: 1000;\n }\n}\n\n.cdk-overlay-pane {\n position: absolute;\n pointer-events: auto;\n box-sizing: border-box;\n display: flex;\n max-width: 100%;\n max-height: 100%;\n}\n@layer cdk-overlay {\n .cdk-overlay-pane {\n z-index: 1000;\n }\n}\n\n.cdk-overlay-backdrop {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n pointer-events: auto;\n -webkit-tap-highlight-color: transparent;\n opacity: 0;\n touch-action: manipulation;\n}\n@layer cdk-overlay {\n .cdk-overlay-backdrop {\n z-index: 1000;\n transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);\n }\n}\n@media (prefers-reduced-motion) {\n .cdk-overlay-backdrop {\n transition-duration: 1ms;\n }\n}\n\n.cdk-overlay-backdrop-showing {\n opacity: 1;\n}\n@media (forced-colors: active) {\n .cdk-overlay-backdrop-showing {\n opacity: 0.6;\n }\n}\n\n@layer cdk-overlay {\n .cdk-overlay-dark-backdrop {\n background: rgba(0, 0, 0, 0.32);\n }\n}\n\n.cdk-overlay-transparent-backdrop {\n transition: visibility 1ms linear, opacity 1ms linear;\n visibility: hidden;\n opacity: 1;\n}\n.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop {\n opacity: 0;\n visibility: visible;\n}\n\n.cdk-overlay-backdrop-noop-animation {\n transition: none;\n}\n\n.cdk-overlay-connected-position-bounding-box {\n position: absolute;\n display: flex;\n flex-direction: column;\n min-width: 1px;\n min-height: 1px;\n}\n@layer cdk-overlay {\n .cdk-overlay-connected-position-bounding-box {\n z-index: 1000;\n }\n}\n\n.cdk-global-scrollblock {\n position: fixed;\n width: 100%;
1\n overflow-y: scroll;\n}\n\n.cdk-overlay-popover {\n background: none;\n border: none;\n padding: 0;\n outline: 0;\n overflow: visible;\n position: fixed;\n pointer-events: none;\n white-space: normal;\n color: inherit;\n text-decoration: none;\n width: 100%;\n height: 100%;\n inset: auto;\n top: 0;\n left: 0;\n}\n.cdk-overlay-popover::backdrop {\n display: none;\n}\n.cdk-overlay-popover .cdk-overlay-backdrop {\n position: fixed;\n z-index: auto;\n}\n"],encapsulation:2})}return o})(),Zt=(()=>{class o{_platform=(0,d.WQX)(at.O);_containerElement;_document=(0,d.WQX)(d.qQL);_styleLoader=(0,d.WQX)(wt);ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||yt()){const s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let l=0;l<s.length;l++)s[l].remove()}const n=this._document.createElement("div");n.classList.add(e),yt()?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}_loadStyles(){this._styleLoader.load(Qt)}static \u0275fac=function(n){return new(n||o)};static \u0275prov=a.tV_({token:o,factory:o.\u0275fac})}return o})();class re{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(t,e,n,s){this._renderer=e,this._ngZone=n,this.element=t.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",s)}detach(){this._ngZone.runOutsideAngular(()=>{const t=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(t,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),t.style.pointerEvents="none",t.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}}function At(o){return o&&1===o.nodeType}class ae{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new J.B;_attachments=new J.B;_detachments=new J.B;_positionStrategy;_scrollStrategy;_locationChanges=ht.yU.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new J.B;_outsidePointerEvents=new J.B;_afterNextRenderRef;constructor(t,e,n,s,l,m,w,S,D,b=!1,E,j){this._portalOutlet=t,this._host=e,this._pane=n,this._config=s,this._ngZone=l,this._keyboardDispatcher=m,this._document=w,this._location=S,this._outsideClickDispatcher=D,this._animationsDisabled=b,this._injector=E,this._renderer=j,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(t){if(this._disposed)return null;this._attachHost();const e=this._portalOutlet.attach(t);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,a.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){if(this._disposed)return;const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),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=this._backdropRef=null,t&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=V(this._config.width),t.height=V(this._config.height),t.minWidth=V(this._config.minWidth),t.minHeight=V(this._config.minHeight),t.maxWidth=V(this._config.maxWidth),t.maxHeight=V(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachHost(){if(!this._host.parentElement){const t=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;At(t)?t.after(this._host):"parent"===t?.type?t.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch{}}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new re(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(t))}):this._backdropRef.element.classList.add(t)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(t,e,n){const s=(0,dt.F)(e||[]).filter(l=>!!l);s.length&&(n?t.classList.add(...s):t.classList.remove(...s))}_detachContentWhenEmpty(){let t=!1;try{this._detachContentAfterRenderRef=(0,a.mal)(()=>{t=!0,this._detachContent()},{injector:this._injector})}catch(e){if(t)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){const t=this._scrollStrategy;t?.disable(),t?.detach?.()}}const Ut="cdk-overlay-connected-position-bounding-box",le=/([A-Za-z%]+)$/;class he{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new J.B;_resizeSubscription=ht.yU.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}
1constructor(t,e,n,s,l){this._viewportRuler=e,this._document=n,this._platform=s,this._overlayContainer=l,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(Ut),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.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)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,s=this._containerRect,l=[];let m;for(let w of this._preferredPositions){let S=this._getOriginPoint(t,s,w),D=this._getOverlayPoint(S,e,w),b=this._getOverlayFit(D,e,n,w);if(b.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(w,S);this._canFitWithFlexibleDimensions(b,D,n)?l.push({position:w,origin:S,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(S,w)}):(!m||m.overlayFit.visibleArea<b.visibleArea)&&(m={overlayFit:b,overlayPoint:D,originPoint:S,position:w,overlayRect:e})}if(l.length){let w=null,S=-1;for(const D of l){const b=D.boundingBoxRect.width*D.boundingBoxRect.height*(D.position.weight||1);b>S&&(S=b,w=D)}return this._isPushed=!1,void this._applyPosition(w.position,w.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(m.position,m.originPoint);this._applyPosition(m.position,m.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&it(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ut),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;t?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(t,this._getOriginPoint(this._originRect,this._containerRect,t))):this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}withPopoverLocation(t){return this._popoverLocation=t,this}getPopoverInsertionPoint(){return"global"===this._popoverLocation?null:"inl
1ine"!==this._popoverLocation?this._popoverLocation:this._origin instanceof a.aKT?this._origin.nativeElement:At(this._origin)?this._origin:null}_getOriginPoint(t,e,n){let s,l;if("center"==n.originX)s=t.left+t.width/2;else{const m=this._isRtl()?t.right:t.left,w=this._isRtl()?t.left:t.right;s="start"==n.originX?m:w}return e.left<0&&(s-=e.left),l="center"==n.originY?t.top+t.height/2:"top"==n.originY?t.top:t.bottom,e.top<0&&(l-=e.top),{x:s,y:l}}_getOverlayPoint(t,e,n){let s,l;return s="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,l="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+s,y:t.y+l}}_getOverlayFit(t,e,n,s){const l=Kt(e);let{x:m,y:w}=t,S=this._getOffset(s,"x"),D=this._getOffset(s,"y");S&&(m+=S),D&&(w+=D);let j=0-w,Q=w+l.height-n.height,Y=this._subtractOverflows(l.width,0-m,m+l.width-n.width),U=this._subtractOverflows(l.height,j,Q),Jt=Y*U;return{visibleArea:Jt,isCompletelyWithinViewport:l.width*l.height===Jt,fitsInViewportVertically:U===l.height,fitsInViewportHorizontally:Y==l.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const s=n.bottom-e.y,l=n.right-e.x,m=Gt(this._overlayRef.getConfig().minHeight),w=Gt(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=m&&m<=s)&&(t.fitsInViewportHorizontally||null!=w&&w<=l)}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const s=Kt(e),l=this._viewportRect,m=Math.max(t.x+s.width-l.width,0),w=Math.max(t.y+s.height-l.height,0),S=Math.max(l.top-n.top-t.y,0),D=Math.max(l.left-n.left-t.x,0);let b=0,E=0;return b=s.width<=l.width?D||-m:t.x<this._getViewportMarginStart()?l.left-n.left-t.x:0,E=s.height<=l.height?S||-w:t.y<this._getViewportMarginTop()?l.top-n.top-t.y:0,this._previousPushAmount={x:b,y:E},{x:t.x+b,y:t.y+E}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._positionChanges.observers.length){const n=this._getScrollVisibility();if(t!==this._lastPosition||!this._lastScrollVisibility||!function de(o,t){return o===t||o.isOriginClipped===t.isOriginClipped&&o.isOriginOutsideView===t.isOriginOutsideView&&o.isOverlayClipped===t.isOverlayClipped&&o.isOverlayOutsideView===t.isOverlayOutsideView}(this._lastScrollVisibility,n)){const s=new ne(t,n);this._positionChanges.next(s)}this._lastScrollVisibility=n}this._lastPosition=t,this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,s=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let l=0;l<e.length;l++)e[l].style.transformOrigin=`${n} ${s}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,s=this._isRtl();let l,m,w;if("top"===e.overlayY)m=t.y,l=n.height-m+this._getViewportMarginBottom();else if("bottom"===e.overlayY)w=n.height-t.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),l=n.height-w+this._getViewportMarginTop();else{const Q=Math.min(n.bottom-t.y+n.top,t.y),Y=this._lastBoundingBoxSize.height;l=2*Q,m=t.y-Q,l>Y&&!this._isInitialRender&&!this._growAfterOpen&&(m=t.y-Y/2)}const S="start"===e.overlayX&&!s||"end"===e.overlayX&&s;let b,E,j;if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)j=n.width-t.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),b=t.x-this._getViewportMarginStart();else if(S)E=t.x,b=n.right-t.x-this._getViewportMarginEnd();else{const Q=Math.min(n.right-t.x+n.left,t.x),Y=this._lastBoundingBoxSize.width;b=2*Q,E=t.x-Q,b>Y&&!this._isInitialRender&&!this._growAfterOpen&&(E=t.x-Y/2)}return{top:m,left:E,bottom:w,right:j,width:b,height:l}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right="auto",s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const l=this._overlayRef.getConfig().maxHeight,m=this._overlayRef.getConfig().maxWidth;s.width=V(n.width),s.height=V(n.height),s.top=V(n.top)||"auto",s.bottom=V(n.bottom)||"auto",s.left=V(n.left)||"auto",s.right=V(n.right)||"auto",s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",l&&(s.maxHeight=V(l)),m&&(s.maxWidth=V(m))}this._lastBoundingBoxSize=n,it(this._boundingBox.style,s)}_resetBoundingBoxStyles(){it(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){it(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},s=this._hasExactPosition(),l=this._hasFlexibleDimensions,m=this._overlayRef.getConfig();if(s){const b=this._viewportRuler.getViewportScrollPosition();it(n,this._getExactOverlayY(e,t,b)),it(n,this._getExactOverlayX(e,t,b))}else n.position="static";let w="",S=this._getOffset(e,"x"),D=this._getOffset(e,"y");S&&(w+=`translateX(${S}px) `),D&&(w+=`translateY(${D}px)`),n.transform=w.trim(),m.maxHeight&&(s?n.maxHeight=V(m.maxHeight):l&&(n.maxHeight="")),m.maxWidth&&(s?n.maxWidth=V(m.maxWidth):l&&(n.maxWidth="")),it(this._pane.style,n)}_getExactOverlayY(t,e,n){let s={top:"",bottom:""},l=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,n)),"bottom"===t.overlayY?s.bottom=this._document.documentElement.clientHeight-(l.y+this._overlayRect.height)+"px":s.top=V(l.y),s}_getExactOverlayX(t,e,n){let m,s={left:"",right:""},l=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,n)),m=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===m?s.right=this._document.documentElement.clientWidth-(l.x+this._overlayRect.width)+"px":s.left=V(l.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Xt(t,n),isOriginOutsideView:Mt(t,n),isOverlayClipped:Xt(e,n),isOverlayOutsideView:Mt(e,n)}}_subtractOverflows(t,...e){return e.reduce((n,s)=>n-Math.max(s,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._getViewportMarginTop(),left:n.left+this._getViewportMarginStart(),right:n.left+t-this._getViewportMarginEnd(),bottom:n.top+e-this._getViewportMarginBottom(),width:t-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}
1_addPanelClasses(t){this._pane&&(0,dt.F)(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return"number"==typeof this._viewportMargin?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){const t=this._origin;if(t instanceof a.aKT)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}_getContainerRect(){const t=this._overlayRef.getConfig().usePopover&&"global"!==this._popoverLocation,e=this._overlayContainer.getContainerElement();t&&(e.style.display="block");const n=e.getBoundingClientRect();return t&&(e.style.display=""),n}}function it(o,t){for(let e in t)t.hasOwnProperty(e)&&(o[e]=t[e]);return o}function Gt(o){if("number"!=typeof o&&null!=o){const[t,e]=o.split(le);return e&&"px"!==e?null:parseFloat(t)}return o||null}function Kt(o){return{top:Math.floor(o.top),right:Math.floor(o.right),bottom:Math.floor(o.bottom),left:Math.floor(o.left),width:Math.floor(o.width),height:Math.floor(o.height)}}const $t="cdk-global-overlay-wrapper";class fe{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add($t),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:s,height:l,maxWidth:m,maxHeight:w}=n,S=!("100%"!==s&&"100vw"!==s||m&&"100%"!==m&&"100vw"!==m),D=!("100%"!==l&&"100vh"!==l||w&&"100%"!==w&&"100vh"!==w),b=this._xPosition,E=this._xOffset,j="rtl"===this._overlayRef.getConfig().direction;let Q="",Y="",U="";S?U="flex-start":"center"===b?(U="center",j?Y=E:Q=E):j?"left"===b||"end"===b?(U="flex-end",Q=E):("right"===b||"start"===b)&&(U="flex-start",Y=E):"left"===b||"start"===b?(U="flex-start",Q=E):("right"===b||"end"===b)&&(U="flex-end",Y=E),t.position=this._cssPosition,t.marginLeft=S?"0":Q,t.marginTop=D?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=S?"0":Y,e.justifyContent=U,e.alignItems=D?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove($t),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let pe=(()=>{class o{_injector=(0,d.WQX)(d.zZn);global(){return function ue(){return new fe}()}flexibleConnectedTo(e){return function ce(o,t){return new he(t,o.get(q.Xj),o.get(d.qQL),o.get(at.O),o.get(Zt))}(this._injector,e)}static \u0275fac=function(n){return new(n||o)};static \u0275prov=a.tV_({token:o,factory:o.\u0275fac})}return o}
1)();const _e=new d.nKC("OVERLAY_DEFAULT_CONFIG");let ve=(()=>{class o{scrollStrategies=(0,d.WQX)(ee);_positionBuilder=(0,d.WQX)(pe);_injector=(0,d.WQX)(d.zZn);create(e){return function ge(o,t){o.get(wt).load(Qt);const e=o.get(Zt),n=o.get(d.qQL),s=o.get(K),l=o.get(a.o8S),m=o.get(St.dS),w=o.get(a.sFG,null,{optional:!0})||o.get(a._9s).createRenderer(null,null),S=new ie(t),D=o.get(_e,null,{optional:!0})?.usePopover??!0;S.direction=S.direction||m.value,S.usePopover="showPopover"in n.body&&(t?.usePopover??D);const b=n.createElement("div"),E=n.createElement("div");b.id=s.getId("cdk-overlay-"),b.classList.add("cdk-overlay-pane"),E.appendChild(b),S.usePopover&&(E.setAttribute("popover","manual"),E.classList.add("cdk-overlay-popover"));const j=S.usePopover?S.positionStrategy?.getPopoverInsertionPoint?.():null;return At(j)?j.after(E):"parent"===j?.type?j.element.appendChild(E):e.getContainerElement().appendChild(E),new ae(new _t(b,l,o),E,b,S,o.get(d.SKi),o.get(oe),n,o.get(gt.aZ),o.get(se),t?.disableAnimations??"NoopAnimations"===o.get(d.bc$,null,{optional:!0}),o.get(d.uvJ),w)}(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(n){return new(n||o)};static \u0275prov=a.tV_({token:o,factory:o.\u0275fac})}return o})();const me=["dialog"],ye=["dialogTemplate"],we=["*"];function be(o,t){if(1&o){const e=a.RV6();a.j41(0,"button",6),a.bIt("click",function(){d.eBV(e);const s=a.XpG(2);return d.Njj(s.closeDialog())}),a.nrm(1,"ng-icon",7),a.k0s()}if(2&o){const e=a.XpG(2);a.Y8G("ngClass","left"===(e.config.closeButtonPosition??"right")?"left-0":"right-0")}}function Ce(o,t){if(1&o){const e=a.RV6();a.j41(0,"div",2,1)(2,"div",3),a.bIt("click",function(){d.eBV(e);const s=a.XpG();return d.Njj(s.config.close&&s.closeDialog())}),a.k0s(),a.j41(3,"div",4),a.nVh(4,be,2,1,"button",5),a.SdG(5),a.k0s()()}if(2&o){const e=a.XpG();a.Y8G("ngClass",e.config.mobileBottomSheet?"items-end justify-center sm:items-center":"items-center justify-center"),a.R7$(3),a.AVh("bg-white",!e.config.class?.includes("bg-"))("text-text",!e.config.class?.includes("bg-"))("modal-bottom-sheet-enter",e.config.mobileBottomSheet),a.Y8G("ngClass",e.getClass()),a.R7$(),a.vxM(e.config.close?4:-1)}}let Se=(()=>{class o{constructor(e,n,s){this.overlay=e,this.viewContainerRef=n,this.platformId=s,this.config={close:!0,class:"",mobileResponsive:!1,mobileBottomSheet:!1},this.closeModal=new d.bkB,this.isOpen=!1,this.isBrowser=(0,_.UE)(this.platformId)}getClass(){const e={relative:!0,"z-[1011]":!0,"ios-modal-content":!0,[this.config.class]:!!this.config.class};return this.config.mobileBottomSheet?(e["rounded-t-2xl"]=!0,e["rounded-b-none"]=!0,e["sm:rounded-xl"]=!0):e["rounded-xl"]=!0,this.config.mobileResponsive?{...e,"h-auto":!0,"max-h-[50vh]":!0,"overflow-y-auto":!0,"md:h-full":!0,"md:max-h-none":!0,"md:overflow-y-visible":!0}:{...e,"top-style":!0}}setBodyScroll(e){this.isBrowser&&(document.body.style.overflow=e?"hidden":"")}openDialog(){if(this.overlayRef?.hasAttached())return;if(!this.overlayRef?.hasAttached()&&this.portal)return this.overlayRef.attach(this.portal),this.isOpen=!0,void this.setBodyScroll(!0);const n={hasBackdrop:!0,backdropClass:"modal-backdrop",panelClass:"modal-panel",positionStrategy:this.overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:this.overlay.scrollStrategies.block(),usePopover:!1};this.overlayRef=this.overlay.create(n),this.portal=new tt(this.dialogTemplate,this.viewContainerRef),this.overlayRef.attach(this.portal),this.isOpen=!0,this.setBodyScroll(!0),this.overlayRef.backdropClick().subscribe(s=>{s.stopPropagation(),s.preventDefault()})}closeDialog(){this.overlayRef&&this.overlayRef.detach(),this.isOpen=!1,this.setBodyScroll(!1),this.closeModal.emit()}ngOnDestroy(){this.overlayRef&&this.overlayRef.detach(),this.setBodyScroll(!1)}static{this.\u0275fac=function(n){return new(n||o)(a.rXU(ve),a.rXU(a.c1b),a.rXU(d.Agw))}}static{this.\u0275cmp=a.VBU({type:o,selectors:[["app-modal"]],viewQuery:function(n,s){if(1&n&&a.GBs(me,7)(ye,7),2&n){let l;a.mGM(l=a.lsd())&&(s.dialog=l.first),a.mGM(l=a.lsd())&&(s.dialogTemplate=l.first)}},inputs:{config:"config"},outputs:{closeModal:"closeModal"},features:[a.Jv_([(0,B.EB)({heroXCircle:O.d1p})])],ngContentSelectors:we,decls:2,vars:0,consts:[["dialogTemplate",""],["dialog",""],[1,"flex","fixed","inset-0","z-[1060]",3,"ngClass"],[1,"fixed","inset-0","bg-backDrop","bg-opacity-70","backdrop-blur-sm",3,"click"],[3,"ngClass"],["type","button",1,"absolute","top-0","z-[1011]",3,"ngClass"],["type","button",1,"absolute","top-0","z-[1011]",3,"click","ngClass"],["size","24","name","heroXCircle",1,"icon"]],template:function(n,s){1&n&&(a.NAR(),a.DNE(0,Ce,6,9,"ng-template",null,0,a.C5r))},dependencies:[u.MD,u.YU,B.Uq],styles:["dialog[_ngcontent-%COMP%]{overflow-x:hidden;overflow-y:hidden}dialog[_ngcontent-%COMP%]::backdrop{z-index:10;height:100%;width:100%;background-color:rgb(35 79 104 / var(--tw-bg-opacity, 1));--tw-bg-opacity: .7;--tw-backdrop-blur: blur(4px);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.next-button[_ngcontent-%COMP%]:disabled{cursor:not-allowed;--tw-bg-opacity: 1;background-color:rgb(218 218 218 / var(--tw-bg-opacity, 1))}.icon[_ngcontent-%COMP%]{height:100%!important;width:100%!important;color:#487696;padding-right:9px;padding-top:9px}button.left-0[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{padding-left:9px;padding-right:0}.top-style[_ngcontent-%COMP%]{margin-top:0;overflow:hidden;max-height:max-content;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}.ios-modal-content[_ngcontent-%COMP%]{-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;position:relative}@media(max-width:639px){.modal-bottom-sheet-enter[_ngcontent-%COMP%]{animation:modal-sheet-enter .3s cubic-bezier(.32,.72,0,1)}}@keyframes _ngcontent-%COMP%_modal-sheet-enter{0%{transform:translateY(100%)}to{transform:translateY(0)}}.modal-panel[_ngcontent-%COMP%]{overflow:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}"]})}}return o}
1)()},3798(G,I,f){f.d(I,{Z:()=>A});var _=f(3236),u=f(9974),d=f(8750),B=f(4360),a=f(1807);function A(T,k=_.E){return function O(T){return(0,u.N)((k,v)=>{let R=!1,P=null,M=null,X=!1;const nt=()=>{if(M?.unsubscribe(),M=null,R){R=!1;const y=P;P=null,v.next(y)}X&&v.complete()},N=()=>{M=null,X&&v.complete()};k.subscribe((0,B._)(v,y=>{R=!0,P=y,M||(0,d.Tg)(T(y)).subscribe(M=(0,B._)(v,nt,N))},()=>{X=!0,(!R||!M||M.closed)&&v.complete()}))})}(()=>(0,a.O)(T,k))}},536(G,I,f){f.d(I,{X:()=>A});var _=f(6780),u=f(8359);const d={schedule(k){let v=requestAnimationFrame,R=cancelAnimationFrame;const{delegate:P}=d;P&&(v=P.requestAnimationFrame,R=P.cancelAnimationFrame);const M=v(X=>{R=void 0,k(X)});return new u.yU(()=>R?.(M))},requestAnimationFrame(...k){const{delegate:v}=d;return(v?.requestAnimationFrame||requestAnimationFrame)(...k)},cancelAnimationFrame(...k){const{delegate:v}=d;return(v?.cancelAnimationFrame||cancelAnimationFrame)(...k)},delegate:void 0};var O=f(9687);const A=new class a extends O.q{flush(v){let R;this._active=!0,v?R=v.id:(R=this._scheduled,this._scheduled=void 0);const{actions:P}=this;let M;v=v||P.shift();do{if(M=v.execute(v.state,v.delay))break}while((v=P[0])&&v.id===R&&P.shift());if(this._active=!1,M){for(;(v=P[0])&&v.id===R&&P.shift();)v.unsubscribe();throw M}}}(class B extends _.R{constructor(v,R){super(v,R),this.scheduler=v,this.work=R}requestAsyncId(v,R,P=0){return null!==P&&P>0?super.requestAsyncId(v,R,P):(v.actions.push(this),v._scheduled||(v._scheduled=d.requestAnimationFrame(()=>v.flush(void 0))))}recycleAsyncId(v,R,P=0){var M;if(null!=P?P>0:this.delay>0)return super.recycleAsyncId(v,R,P);const{actions:X}=v;null!=R&&R===v._scheduled&&(null===(M=X[X.length-1])||void 0===M?void 0:M.id)!==R&&(d.cancelAnimationFrame(R),v._scheduled=void 0)}})},5007(G,I,f){f.d(I,{$:()=>X});var _=f(6780);let d,u=1;const B={};function O(N){return N in B&&(delete B[N],!0)}const a={setImmediate(N){const y=u++;return B[y]=!0,d||(d=Promise.resolve()),d.then(()=>O(y)&&N()),y},clearImmediate(N){O(N)}},{setImmediate:T,clearImmediate:k}=a,v={setImmediate(...N){const{delegate:y}=v;return(y?.setImmediate||T)(...N)},clearImmediate(N){const{delegate:y}=v;return(y?.clearImmediate||k)(N)},delegate:void 0};var P=f(9687);const X=new class M extends P.q{flush(y){this._active=!0;const z=this._scheduled;this._scheduled=void 0;const{actions:W}=this;let Z;y=y||W.shift();do{if(Z=y.execute(y.state,y.delay))break}while((y=W[0])&&y.id===z&&W.shift());if(this._active=!1,Z){for(;(y=W[0])&&y.id===z&&W.shift();)y.unsubscribe();throw Z}}}(class R extends _.R{constructor(y,z){super(y,z),this.scheduler=y,this.work=z}requestAsyncId(y,z,W=0){return null!==W&&W>0?super.requestAsyncId(y,z,W):(y.actions.push(this),y._scheduled||(y._scheduled=v.setImmediate(y.flush.bind(y,void 0))))}recycleAsyncId(y,z,W=0){var Z;if(null!=W?W>0:this.delay>0)return super.recycleAsyncId(y,z,W);const{actions:$}=y;null!=z&&(null===(Z=$[$.length-1])||void 0===Z?void 0:Z.id)!==z&&(v.clearImmediate(z),y._scheduled===z&&(y._scheduled=void 0))}})},7523(G,I,f){function _(u){return Array.isArray(u)?u:[u]}f.d(I,{F:()=>_})},9752(G,I,f){f.d(I,{_j:()=>O,dS:()=>a});var _=f(5547),u=f(7266);const d=new u.nKC("cdk-dir-doc",{providedIn:"root",factory:()=>(0,u.WQX)(u.qQL)}),B=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function O(A){const T=A?.toLowerCase()||"";return"auto"===T&&typeof navigator<"u"&&navigator?.language?B.test(navigator.language)?"rtl":"ltr":"rtl"===T?"rtl":"ltr"}let a=(()=>{class A{get value(){return this.valueSignal()}valueSignal=(0,u.vPA)("ltr");change=new u.bkB;constructor(){const k=(0,u.WQX)(d,{optional:!0});k&&this.valueSignal.set(O((k.body?k.body.dir:null)||(k.documentElement?k.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(v){return new(v||A)};static \u0275prov=_.tV_({token:A,factory:A.\u0275fac})}return A})()},7421(G,I,f){f.d(I,{O:()=>O});var _=f(5547),u=f(7266),d=f(177);let B;try{B=typeof Intl<"u"&&Intl.v8BreakIterator}catch{B=!1}let O=(()=>{class a{_platformId=(0,u.WQX)(u.Agw);isBrowser=this._platformId?(0,d.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);
1TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!B)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;static \u0275fac=function(k){return new(k||a)};static \u0275prov=_.tV_({token:a,factory:a.\u0275fac})}return a})()},7249(G,I,f){f.d(I,{BD:()=>O,CZ:()=>B,r5:()=>_});var _=function(a){return a[a.NORMAL=0]="NORMAL",a[a.NEGATED=1]="NEGATED",a[a.INVERTED=2]="INVERTED",a}(_||{});let u,d;function B(){if(null==d){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return d=!1,d;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)d=!0;else{const a=Element.prototype.scrollTo;d=!!a&&!/\{\s*\[native code\]\s*\}/.test(a.toString())}}return d}function O(){if("object"!=typeof document||!document)return _.NORMAL;if(null==u){const a=document.createElement("div"),A=a.style;a.dir="rtl",A.width="1px",A.overflow="auto",A.visibility="hidden",A.pointerEvents="none",A.position="absolute";const T=document.createElement("div"),k=T.style;k.width="2px",k.height="1px",a.appendChild(T),document.body.appendChild(a),u=_.NORMAL,0===a.scrollLeft&&(a.scrollLeft=1,u=0===a.scrollLeft?_.NEGATED:_.INVERTED),a.remove()}return u}},8203(G,I,f){f.d(I,{ig:()=>B,jI:()=>O});var _=f(7266),u=f(5547),d=f(9752);let B=(()=>{class a{_isInitialized=!1;_rawDir="";change=new _.bkB;get dir(){return this.valueSignal()}set dir(T){const k=this.valueSignal();this.valueSignal.set((0,d._j)(T)),this._rawDir=T,k!==this.valueSignal()&&this._isInitialized&&this.change.emit(this.valueSignal())}get value(){return this.dir}valueSignal=(0,_.vPA)("ltr");ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}static \u0275fac=function(k){return new(k||a)};static \u0275dir=u.FsC({type:a,selectors:[["","dir",""]],hostVars:1,hostBindings:function(k,v){2&k&&u.BMQ("dir",v._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[u.Jv_([{provide:d.dS,useExisting:a}])]})}return a})(),O=(()=>{class a{static \u0275fac=function(k){return new(k||a)};static \u0275mod=u.$C({type:a});static \u0275inj=_.G2t({})}return a})()},3227(G,I,f){f.d(I,{yg:()=>bt,E$:()=>Nt,d6:()=>It,fZ:()=>zt,R:()=>ot,E9:()=>Wt,Xj:()=>kt});var _=f(5547),u=f(7266),d=f(5157),B=f(2271),O=f(1413),a=f(7673),A=f(1985),T=f(536),k=f(5007),v=f(8359),R=f(4402),P=f(3294),M=f(3798),X=f(5964),nt=f(9172),N=f(6977),y=f(9974),z=f(4360),Z=f(5558),$=f(4668),rt=f(7421);function tt(c,g=0){return function ft(c){return!isNaN(parseFloat(c))&&!isNaN(Number(c))}(c)?Number(c):2===arguments.length?g:0}var _t=f(9752),H=f(7249);class Vt extends A.c{constructor(g,i){super(),this.source=g,this.subjectFactory=i,this._subject=null,this._refCount=0,this._connection=null,(0,y.S)(g)&&(this.lift=g.lift)}_subscribe(g){return this.getSubject().subscribe(g)}getSubject(){const g=this._subject;return(!g||g.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:g}=this;this._subject=this._connection=null,g?.unsubscribe()}connect(){let g=this._connection;if(!g){g=this._connection=new v.yU;const i=this.getSubject();g.add(this.source.subscribe((0,z._)(i,void 0,()=>{this._teardown(),i.complete()},r=>{this._teardown(),i.error(r)},()=>this._teardown()))),g.closed&&(this._connection=null,g=v.yU.EMPTY)}return g}refCount(){return function Bt(){return(0,y.N)((c,g)=>{let i=null;c._refCount++;const r=(0,z._)(g,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(i=null);const h=c._connection,p=i;i=null,h&&(!p||h===p)&&h.unsubscribe(),g.unsubscribe()});c.subscribe(r),r.closed||(i=c.connect())})}()(this)}}class gt{}class lt extends gt{_data;constructor(g){super(),this._data=g}connect(){return(0,R.A)(this._data)?this._data:(0,a.of)(this._data)}disconnect(){}}var et=function(c){return c[c.REPLACED=0]="REPLACED",c[c.INSERTED=1]="INSERTED",c[c.MOVED=2]="MOVED",c[c.REMOVED=3]="REMOVED",c}(et||{});class Tt{viewCacheSize=20;_viewCache=[];applyChanges(g,i,r,h,p){g.forEachOperation((C,L,x)=>{let F,st;null==C.previousIndex?(F=this._insertView(()=>r(C,L,x),x,i,h(C)),st=F?et.INSERTED:et.REPLACED):null==x?(this._detachAndCacheView(L,i),st=et.REMOVED):(F=this._moveView(L,x,i,h(C)),st=et.MOVED),p&&p({context:F?.context,operation:st,record:C})})}detach(){for(const g of this._viewCache)g.destroy();this._viewCache=[]}_insertView(g,i,r,h){const p=this._insertViewFromCache(i,r);if(p)return void(p.context.$implicit=h);const C=g();return r.createEmbeddedView(C.templateRef,C.context,C.index)}_detachAndCacheView(g,i){const r=i.detach(g);this._maybeCacheView(r,i)}_moveView(g,i,r,h){const p=r.get(g);return r.move(p,i),p.context.$implicit=h,p}_maybeCacheView(g,i){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(g);else{const r=i.indexOf(g);-1===r?g.destroy():i.remove(r)}}_insertViewFromCache(g,i){const r=this._viewCache.pop();return r&&i.insert(r,g),r||null}}var vt=f(8203);const J=["contentWrapper"],ht=["*"],V=new u.nKC("VIRTUAL_SCROLL_STRATEGY");class dt{_scrolledIndexChange=new O.B;scrolledIndexChange=this._scrolledIndexChange.pipe((0,P.F)());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(g,i,r){this._itemSize=g,this._minBufferPx=i,this._maxBufferPx=r}attach(g){this._viewport=g,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(g,i,r){this._itemSize=g,this._minBufferPx=i,this._maxBufferPx=r,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(g,i){this._viewport&&this._viewport.scrollToOffset(g*this._itemSize,i)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;
1const g=this._viewport.getRenderedRange(),i={start:g.start,end:g.end},r=this._viewport.getViewportSize(),h=this._viewport.getDataLength();let p=this._viewport.measureScrollOffset(),C=this._itemSize>0?p/this._itemSize:0;if(i.end>h){const x=Math.ceil(r/this._itemSize),F=Math.max(0,Math.min(C,h-x));C!=F&&(C=F,p=F*this._itemSize,i.start=Math.floor(C)),i.end=Math.max(0,Math.min(h,i.start+x))}const L=p-i.start*this._itemSize;if(L<this._minBufferPx&&0!=i.start){const x=Math.ceil((this._maxBufferPx-L)/this._itemSize);i.start=Math.max(0,i.start-x),i.end=Math.min(h,Math.ceil(C+(r+this._minBufferPx)/this._itemSize))}else{const x=i.end*this._itemSize-(p+r);if(x<this._minBufferPx&&i.end!=h){const F=Math.ceil((this._maxBufferPx-x)/this._itemSize);F>0&&(i.end=Math.min(h,i.end+F),i.start=Math.max(0,Math.floor(C-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(i),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*i.start)),this._scrolledIndexChange.next(Math.floor(C))}}function q(c){return c._scrollStrategy}let bt=(()=>{class c{get itemSize(){return this._itemSize}set itemSize(i){this._itemSize=tt(i)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(i){this._minBufferPx=tt(i)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(i){this._maxBufferPx=tt(i)}_maxBufferPx=200;_scrollStrategy=new dt(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(r){return new(r||c)};static \u0275dir=_.FsC({type:c,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[_.Jv_([{provide:V,useFactory:q,deps:[(0,u.Rfq)(()=>c)]}]),_.OA$]})}return c})(),ot=(()=>{class c{_ngZone=(0,u.WQX)(u.SKi);_platform=(0,u.WQX)(rt.O);_renderer=(0,u.WQX)(_._9s).createRenderer(null,null);_cleanupGlobalListener;_scrolled=new O.B;_scrolledCount=0;scrollContainers=new Map;register(i){this.scrollContainers.has(i)||this.scrollContainers.set(i,i.elementScrolled().subscribe(()=>this._scrolled.next(i)))}deregister(i){const r=this.scrollContainers.get(i);r&&(r.unsubscribe(),this.scrollContainers.delete(i))}scrolled(i=20){return this._platform.isBrowser?new A.c(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const h=i>0?this._scrolled.pipe((0,M.Z)(i)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{h.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):(0,a.of)()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((i,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(i,r){const h=this.getAncestorScrollContainers(i);return this.scrolled(r).pipe((0,X.p)(p=>!p||h.indexOf(p)>-1))}getAncestorScrollContainers(i){const r=[];return this.scrollContainers.forEach((h,p)=>{this._targetContainsElement(p,i)&&r.push(p)}),r}_targetContainsElement(i,r){let h=function pt(c){return c instanceof _.aKT?c.nativeElement:c}(r),p=i.getElementRef().nativeElement;do{if(h==p)return!0}while(h=h.parentElement);return!1}static \u0275fac=function(r){return new(r||c)};static \u0275prov=_.tV_({token:c,factory:c.\u0275fac})}return c})(),K=(()=>{class c{elementRef=(0,u.WQX)(_.aKT);scrollDispatcher=(0,u.WQX)(ot);ngZone=(0,u.WQX)(u.SKi);dir=(0,u.WQX)(_t.dS,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new O.B;_renderer=(0,u.WQX)(_.sFG);_cleanupScroll;_elementScrolled=new O.B;ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",i=>this._elementScrolled.next(i))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(i){const r=this.elementRef.nativeElement,h=this.dir&&"rtl"==this.dir.value;
1null==i.left&&(i.left=h?i.end:i.start),null==i.right&&(i.right=h?i.start:i.end),null!=i.bottom&&(i.top=r.scrollHeight-r.clientHeight-i.bottom),h&&(0,H.BD)()!=H.r5.NORMAL?(null!=i.left&&(i.right=r.scrollWidth-r.clientWidth-i.left),(0,H.BD)()==H.r5.INVERTED?i.left=i.right:(0,H.BD)()==H.r5.NEGATED&&(i.left=i.right?-i.right:i.right)):null!=i.right&&(i.left=r.scrollWidth-r.clientWidth-i.right),this._applyScrollToOptions(i)}_applyScrollToOptions(i){const r=this.elementRef.nativeElement;(0,H.CZ)()?r.scrollTo(i):(null!=i.top&&(r.scrollTop=i.top),null!=i.left&&(r.scrollLeft=i.left))}measureScrollOffset(i){const r="left",h="right",p=this.elementRef.nativeElement;if("top"==i)return p.scrollTop;if("bottom"==i)return p.scrollHeight-p.clientHeight-p.scrollTop;const C=this.dir&&"rtl"==this.dir.value;return"start"==i?i=C?h:r:"end"==i&&(i=C?r:h),C&&(0,H.BD)()==H.r5.INVERTED?i==r?p.scrollWidth-p.clientWidth-p.scrollLeft:p.scrollLeft:C&&(0,H.BD)()==H.r5.NEGATED?i==r?p.scrollLeft+p.scrollWidth-p.clientWidth:-p.scrollLeft:i==r?p.scrollLeft:p.scrollWidth-p.clientWidth-p.scrollLeft}static \u0275fac=function(r){return new(r||c)};static \u0275dir=_.FsC({type:c,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return c})(),kt=(()=>{class c{_platform=(0,u.WQX)(rt.O);_listeners;_viewportSize=null;_change=new O.B;_document=(0,u.WQX)(u.qQL);constructor(){const i=(0,u.WQX)(u.SKi),r=(0,u.WQX)(_._9s).createRenderer(null,null);i.runOutsideAngular(()=>{if(this._platform.isBrowser){const h=p=>this._change.next(p);this._listeners=[r.listen("window","resize",h),r.listen("window","orientationchange",h)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(i=>i()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const i={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),i}getViewportRect(){const i=this.getViewportScrollPosition(),{width:r,height:h}=this.getViewportSize();return{top:i.top,left:i.left,bottom:i.top+h,right:i.left+r,height:h,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const i=this._document,r=this._getWindow(),h=i.documentElement,p=h.getBoundingClientRect();return{top:-p.top||i.body?.scrollTop||r.scrollY||h.scrollTop||0,left:-p.left||i.body?.scrollLeft||r.scrollX||h.scrollLeft||0}}change(i=20){return i>0?this._change.pipe((0,M.Z)(i)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const i=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:i.innerWidth,height:i.innerHeight}:{width:0,height:0}}static \u0275fac=function(r){return new(r||c)};static \u0275prov=_.tV_({token:c,factory:c.\u0275fac})}return c})();const ut=new u.nKC("VIRTUAL_SCROLLABLE");let Rt=(()=>{class c extends K{measureViewportSize(i){const r=this.elementRef.nativeElement;return"horizontal"===i?r.clientWidth:r.clientHeight}static \u0275fac=(()=>{let i;return function(h){return(i||(i=_.xGo(c)))(h||c)}})();static \u0275dir=_.FsC({type:c,features:[_.Vt3]})}return c})();const Lt=typeof requestAnimationFrame<"u"?T.X:k.$,Ot=new u.nKC("CDK_VIRTUAL_SCROLL_VIEWPORT");let It=(()=>{class c extends Rt{elementRef=(0,u.WQX)(_.aKT);_changeDetectorRef=(0,u.WQX)(d.gRc);_scrollStrategy=(0,u.WQX)(V,{optional:!0});scrollable=(0,u.WQX)(ut,{optional:!0});_platform=(0,u.WQX)(rt.O);_detachedSubject=new O.B;_renderedRangeSubject=new O.B;_renderedContentOffsetSubject=new O.B;get orientation(){return this._orientation}set orientation(i){this._orientation!==i&&(this._orientation=i,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new A.c(i=>this._scrollStrategy.scrolledIndexChange.subscribe(r=>Promise.resolve().then(()=>this.ngZone.run(()=>i.next(r)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe((0,X.p)(i=>null!==i),(0,P.F)());_totalContentSize=0;_totalContentWidth=(0,u.vPA)("");_totalContentHeight=(0,u.vPA)("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=(0,u.vPA)(!1);_runAfterChangeDetection=[];_viewportChanges=v.yU.EMPTY;_injector=(0,u.WQX)(u.zZn);_isDestroyed=!1;constructor(){super();const i=(0,u.WQX)(kt);
1this._viewportChanges=i.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);const r=(0,u.QZP)(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:(0,u.WQX)(_.o8S).injector});(0,u.WQX)(u.abz).onDestroy(()=>{r.destroy()})}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,nt.Z)(null),(0,M.Z)(0,Lt),(0,N.Q)(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(i){this.ngZone.runOutsideAngular(()=>{this._forOf=i,this._forOf.dataStream.pipe((0,N.Q)(this._detachedSubject)).subscribe(r=>{const h=r.length;h!==this._dataLength&&(this._dataLength=h,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(i){return this.getElementRef().nativeElement.getBoundingClientRect()[i]}setTotalContentSize(i){this._totalContentSize!==i&&(this._totalContentSize=i,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(i){(function Ft(c,g){return c.start==g.start&&c.end==g.end})(this._renderedRange,i)||(this.appendOnly&&(i={start:0,end:Math.max(this._renderedRange.end,i.end)}),this._renderedRangeSubject.next(this._renderedRange=i),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(i,r="to-start"){i=this.appendOnly&&"to-start"===r?0:i;const p="horizontal"==this.orientation,C=p?"X":"Y";let x=`translate${C}(${Number((p&&this.dir&&"rtl"==this.dir.value?-1:1)*i)}px)`;this._renderedContentOffset=i,"to-end"===r&&(x+=` translate${C}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=x&&(this._renderedContentTransform=x,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(i,r="auto"){const h={behavior:r};"horizontal"===this.orientation?h.start=i:h.top=i,this.scrollable.scrollTo(h)}scrollToIndex(i,r="auto"){this._scrollStrategy.scrollToIndex(i,r)}measureScrollOffset(i){let r;return r=this.scrollable==this?h=>super.measureScrollOffset(h):h=>this.scrollable.measureScrollOffset(h),Math.max(0,r(i??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(i){let r;const h="left",p="right",C="rtl"==this.dir?.value;r="start"==i?C?p:h:"end"==i?C?h:p:i||("horizontal"===this.orientation?"left":"top");const L=this.scrollable.measureBoundingClientRectWithScrollOffset(r);return this.elementRef.nativeElement.getBoundingClientRect()[r]-L}measureRenderedContentSize(){const i=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?i.offsetWidth:i.offsetHeight}measureRangeSize(i){return this._forOf?this._forOf.measureRangeSize(i,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(i){i&&this._runAfterChangeDetection.push(i),!(0,B.O8)(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this._renderedContentOffsetSubject.next(this.getOffsetToRenderedContentStart()),(0,_.mal)(()=>{this._changeDetectionNeeded.set(!1);const i=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const r of i)r()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set("horizontal"===this.orientation?"":`${this._totalContentSize}px`),this._totalContentWidth.set("horizontal"===this.orientation?`${this._totalContentSize}px`:"")}static \u0275fac=function(r){return new(r||c)};static \u0275cmp=_.VBU({type:c,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(r,h){if(1&r&&_.GBs(J,7),2&r){let p;_.mGM(p=_.lsd())&&(h._contentWrapper=p.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(r,h){2&r&&_.AVh("cdk-virtual-scroll-orientation-horizontal","horizontal"===h.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==h.orientation)},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",d.L39]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[_.Jv_([{provide:K,useFactory:()=>(0,u.WQX)(ut,{optional:!0})||(0,u.WQX)(c)},{provide:Ot,useExisting:c}]),_.Vt3],ngContentSelectors:ht,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(r,h){1&r&&(_.NAR(),_.rj2(0,"div",1,0),_.SdG(2),_.eux(),_.Hgh(3,"div",2)),2&r&&(_.R7$(3),_.xc7("width",h._totalContentWidth())("height",h._totalContentHeight()))},styles:["cdk-virtual-scroll-viewport {\n display: block;\n position: relative;\n transform: translateZ(0);\n}\n\n.cdk-virtual-scrollable {\n overflow: auto;\n will-change: scroll-position;\n contain: strict;\n}\n\n.cdk-virtual-scroll-content-wrapper {\n position: absolute;\n top: 0;\n left: 0;\n contain: content;\n}\n[dir=rtl] .cdk-virtual-scroll-content-wrapper {\n right: 0;\n left: auto;\n}\n\n.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper {\n min-height: 100%;\n}\n.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > dl:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > ol:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > table:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > ul:not([cdkVirtualFor]) {\n padding-left: 0;\n padding-right: 0;\n margin-left: 0;\n margin-right: 0;\n border-left-width: 0;\n border-right-width: 0;\n outline: none;\n}\n\n.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper {\n min-width: 100%;\n}\n.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > dl:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > ol:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > table:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > ul:not([cdkVirtualFor]) {\n padding-top: 0;\n padding-bottom: 0;\n margin-top: 0;\n margin-bottom: 0;\n border-top-width: 0;\n border-bottom-width: 0;\n outline: none;\n}\n\n.cdk-virtual-scroll-spacer {\n height: 1px;\n transform-origin: 0 0;\n flex: 0 0 auto;\n}\n[dir=rtl] .cdk-virtual-scroll-spacer {\n transform-origin: 100% 0;\n}\n"],encapsulation:2})}return c})();function Et(c,g,i){if(!i.getBoundingClientRect)return 0;const h=i.getBoundingClientRect();return"horizontal"===c?"start"===g?h.left:h.right:"start"===g?h.top:h.bottom}let Nt=(()=>
1{class c{_viewContainerRef=(0,u.WQX)(_.c1b);_template=(0,u.WQX)(_.C4Q);_differs=(0,u.WQX)(d._q3);_viewRepeater=new Tt;_viewport=(0,u.WQX)(Ot,{skipSelf:!0});viewChange=new O.B;_dataSourceChanges=new O.B;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(i){this._cdkVirtualForOf=i,function at(c){return c&&"function"==typeof c.connect&&!(c instanceof Vt)}(i)?this._dataSourceChanges.next(i):this._dataSourceChanges.next(new lt((0,R.A)(i)?i:Array.from(i||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(i){this._needsUpdate=!0,this._cdkVirtualForTrackBy=i?(r,h)=>i(r+(this._renderedRange?this._renderedRange.start:0),h):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(i){i&&(this._needsUpdate=!0,this._template=i)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(i){this._viewRepeater.viewCacheSize=tt(i)}dataStream=this._dataSourceChanges.pipe((0,nt.Z)(null),function W(){return(0,y.N)((c,g)=>{let i,r=!1;c.subscribe((0,z._)(g,h=>{const p=i;i=h,r&&g.next([p,h]),r=!0}))})}(),(0,Z.n)(([i,r])=>this._changeDataSource(i,r)),(0,$.t)(1));_differ=null;_data=[];_renderedItems=[];_renderedRange={start:0,end:0};_needsUpdate=!1;_destroyed=new O.B;constructor(){const i=(0,u.WQX)(u.SKi);this.dataStream.subscribe(r=>{this._data=r,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,N.Q)(this._destroyed)).subscribe(r=>{this._renderedRange=r,this.viewChange.observers.length&&i.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(i,r){if(i.start>=i.end)return 0;const h=i.start-this._renderedRange.start,p=i.end-i.start;let C,L;for(let x=0;x<p;x++){const F=this._viewContainerRef.get(x+h);if(F&&F.rootNodes.length){C=L=F.rootNodes[0];break}}for(let x=p-1;x>-1;x--){const F=this._viewContainerRef.get(x+h);if(F&&F.rootNodes.length){L=F.rootNodes[F.rootNodes.length-1];break}}return C&&L?Et(r,"end",L)-Et(r,"start",C):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const i=this._differ.diff(this._renderedItems);i?this._applyChanges(i):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((i,r)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(i,r):r)),this._needsUpdate=!0)}_changeDataSource(i,r){return i&&i.disconnect(this),this._needsUpdate=!0,r?r.connect(this):(0,a.of)()}_updateContext(){const i=this._data.length;let r=this._viewContainerRef.length;for(;r--;){const h=this._viewContainerRef.get(r);h.context.index=this._renderedRange.start+r,h.context.count=i,this._updateComputedContextProperties(h.context),h.detectChanges()}}_applyChanges(i){this._viewRepeater.applyChanges(i,this._viewContainerRef,(p,C,L)=>this._getEmbeddedViewArgs(p,L),p=>p.item),i.forEachIdentityChange(p=>{this._viewContainerRef.get(p.currentIndex).context.$implicit=p.item});const r=this._data.length;let h=this._viewContainerRef.length;for(;h--;){const p=this._viewContainerRef.get(h);p.context.index=this._renderedRange.start+h,p.context.count=r,this._updateComputedContextProperties(p.context)}}_updateComputedContextProperties(i){i.first=0===i.index,i.last=i.index===i.count-1,i.even=i.index%2==0,i.odd=!i.even}_getEmbeddedViewArgs(i,r){return{templateRef:this._template,context:{$implicit:i.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:r}}static ngTemplateContextGuard(i,r){return!0}static \u0275fac=function(r){return new(r||c)};static \u0275dir=_.FsC({type:c,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"}})}return c})(),zt=(()=>{class c extends Rt{measureBoundingClientRectWithScrollOffset(i){return this.getElementRef().nativeElement.getBoundingClientRect()[i]-this.measureScrollOffset(i)}static \u0275fac=(()=>{let i;return function(h){return(i||(i=_.xGo(c)))(h||c)}})();static \u0275dir=_.FsC({type:c,selectors:[["","cdkVirtualScrollingElement",""]],hostAttrs:[1,"cdk-virtual-scrollable"],features:[_.Jv_([{provide:ut,useExisting:c}]),_.Vt3]})}return c})(),Pt=(()=>{class c{static \u0275fac=function(r){return new(r||c)};static \u0275mod=_.$C({type:c});static \u0275inj=u.G2t({})}return c})(),Wt=(()=>{class c{static \u0275fac=function(r){return new(r||c)};static \u0275mod=_.$C({type:c});static \u0275inj=u.G2t({imports:[vt.jI,Pt,vt.jI,Pt]})}return c})()}}]);
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.