vendor: 5,111 bytes, line 1
1import{a as xt,b as _n,c as er,d as ke,e as tr,f as Ve,g as Ot,h as qt,i as Mt,j as De}from"./chunk-TEA7SNWB.js";import{a as fn,b as Qe,c as Wo,d as Yo,e as Gt,f as ct,g as kt,h as gn,i as Go,j as qo,k as Ci,l as Qo,m as $o,n as Dt,o as wi,p as Jo,q as St,r as Si,s as xi}from"./chunk-Y57H4XJ7.js";import{a as $e,b as Uo}from"./chunk-PQYLW2MI.js";import{a as ir,b as Oi,c as Mi,e as Ri}from"./chunk-6RZ63JDA.js";import{a as ne,b as Ge,c as oe,e as qe,f as re}from"./chunk-JX4TOFQ7.js";import{A as wt,G as vi,a as gi,b as go,c as _o,d as _i,e as yo,f as bo,g as vo,h as yi,i as Co,k as wo,m as ko,o as Do,q as So,r as xo,s as bi,u as Io,v as Fo,w as No,y as Vo,z as Ho}from"./chunk-5Y3CBPWN.js";import{b as Zo,c as ki,f as Di}from"./chunk-6VCRXYE4.js";import{a as la}from"./chunk-A5FWD42I.js";import{$b as p,$d as Lo,A as Xe,Aa as me,Ab as h,Ac as yt,Ba as j,Bb as A,Bc as Ne,Bd as ie,C as Qn,Cb as jt,Da as x,Db as Wt,Dc as bt,Dd as ge,E as Oe,Ed as un,F as le,Fb as rt,Fc as fi,G as $n,Ga as to,Gb as at,Gc as X,Gd as Oo,Hb as te,Hc as ho,Hd as Xt,Ib as Yt,Ic as po,Id as Mo,Jb as Ie,Jc as hn,K as Me,Kb as W,Kd as Kt,Lc as mo,Ld as Ro,M as Zn,Mb as N,Nb as fe,Nc as Ce,Ob as Y,Oc as vt,Pa as f,Pb as st,Pd as Eo,Qb as Fe,Qc as b,Qd as To,Ra as ee,Rb as M,Rc as pn,Rd as Ao,Sa as G,Sb as R,Sd as Po,Ta as di,Tb as ao,Td as z,U as Pe,Ua as Ee,Ub as so,Ud as Ct,V as pe,Vb as pi,W as ce,Wb as _t,Wd as Q,X as Jn,Xb as mi,Xd as Ut,Y as ot,Yb as I,Yd as lt,Za as ue,Zc as uo,Zd as V,_b as ui,a as U,aa as eo,ac as ve,ae as Ae,b as ut,ba as J,bb as _,bc as q,ca as L,cb as B,db as g,e as sa,ea as k,eb as io,f as _e,fb as S,fe as Bo,ga as s,gb as P,ge as zo,h as cn,hb as no,he as jo,ia as li,j as w,jb as oo,k as Kn,ka as Ht,l as dn,la as zt,lc as F,m as Un,ma as ci,n as Gn,nb as ro,oa as O,ob as H,pa as Re,pe as Xo,qe as Ko,r as Ye,sa as T,sb as de,sd as Te,t as qn,ta as ye,tb as he,ud as fo,v as Bt,vb as hi,w as si,wb as ft,wc as lo,wd as Ue,xa as be,xb as gt,xd as we,yb as v,yc as co,yd as mn,za as Ke,zb as d}from"./chunk-DEAJYEWE.js";var nr=fo();function Tt(n){return new Ei(n.get(ke),n.get(Re))}var Ei=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(o,e){this._viewportRuler=o,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let o=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=o.style.left||"",this._previousHTMLStyles.top=o.style.top||"",o.style.left=V(-this._previousScrollPosition.left),o.style.top=V(-this._previousScrollPosition.top),o.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let o=this._document.documentElement,e=this._document.body,t=o.style,i=e.style,r=t.scrollBehavior||"",a=i.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,o.classList.remove("cdk-global-scrollblock"),nr&&(t.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),nr&&(t.scrollBehavior=r,i.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}};function dr(n,o){return new Ti(n.get(_n),n.get(ye),n.get(ke),o)}var Ti=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(o,e,t,i){this._scrollDispatcher=o,this._ngZone=e,this._viewportRuler=t,this._config=i}attach(o){this._overlayRef,this._overlayRef=o}enable(){if(this._scrollSubscription)return;let o=this._scrollDispatcher.scrolled(0).pipe(le(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=o.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=o.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var Qt=class{enable(){}disable(){}attach(){}};function yn(n,o){return o.some(e=>{let t=n.bottom<e.top,i=n.top>e.bottom,r=n.right<e.left,a=n.left>e.right;return t||i||r||a})}function or(n,o){return o.some(e=>{let t=n.top<e.top,i=n.bottom>e.bottom,r=n.left<e.left,a=n.right>e.right;return t||i||r||a})}function Be(n,o){return new Ai(n.get(_n),n.get(ke),n.get(ye),o)}var Ai=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(o,e,t,i){this._scrollDispatcher=o,this._viewportRuler
1=e,this._ngZone=t,this._config=i}attach(o){this._overlayRef,this._overlayRef=o}enable(){if(!this._scrollSubscription){let o=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(o).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:i}=this._viewportRuler.getViewportSize();yn(e,[{width:t,height:i,bottom:i,right:t,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}},hr=(()=>{class n{_injector=s(O);constructor(){}noop=()=>new Qt;close=e=>dr(this._injector,e);block=()=>Tt(this._injector);reposition=e=>Be(this._injector,e);static \u0275fac=function(t){return new(t||n)};static \u0275prov=J({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Le=class{positionStrategy;scrollStrategy=new Qt;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(o){if(o){let e=Object.keys(o);for(let t of e)o[t]!==void 0&&(this[t]=o[t])}}};var Pi=class{connectionPair;scrollableViewProperties;constructor(o,e){this.connectionPair=o,this.scrollableViewProperties=e}};var pr=(()=>{class n{_attachedOverlays=[];_document=s(Re);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(e,t,i){return i.observers.length<1?!1:e.eventPredicate?e.eventPredicate(t):!0}static \u0275fac=function(t){return new(t||n)};static \u0275prov=J({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),mr=(()=>{class n extends pr{_ngZone=s(ye);_renderer=s(di).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=>{let t=this._attachedOverlays;for(let i=t.length-1;i>-1;i--){let r=t[i];if(this.canReceiveEvent(r,e,r._keydownEvents)){this._ngZone.run(()=>r._keydownEvents.next(e));break}}};static \u0275fac=(()=>{let e;return function(i){return(e||(e=j(n)))(i||n)}})();static \u0275prov=J({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ur=(()=>{class n extends pr{_platform=s(Te);_ngZone=s(ye);_renderer=s(di).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let t=this._document.body,i={capture:!0},r=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[r.listen(t,"pointerdown",this._pointerDownListener,i),r.listen(t,"click",this._clickListener,i),r.listen(t,"auxclick",this._clickListener,i),r.listen(t,"contextmenu",this._clickListener,i)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.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=we(e)};_clickListener=e=>{let t=we(e),i=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:t;this._pointerDownEventTarget=null;let r=this._attachedOverlays.slice();for(let a=r.length-1;a>-1;a--){let l=r[a],c=l._outsidePointerEvents;if(!(!l.hasAttached()||!this.canReceiveEvent(l,e,c))){if(rr(l.overlayElement,t)||rr(l.overlayElement,i))break;this._ngZone?this._ngZone.run(()=>c.next(e)):c.next(e)}}};static \u0275fac=(()=>{let e;return function(i){return(e||(e=j(n)))(i||n)}})();static \u0275prov=J({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function rr(n,o){let e=typeof ShadowRoot<"u"&&ShadowRoot,t=o;for(;t;){if(t===n)return!0;t=e&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var fr=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(t,i){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper { 2 pointer-events: none; 3 top: 0; 4 left: 0; 5 height: 100%; 6 width: 100%; 7} 8 9.cdk-overlay-container { 10 position: fixed; 11} 12@layer cdk-overlay { 13 .cdk-overlay-container { 14 z-index: 1000; 15 } 16} 17.cdk-overlay-container:empty { 18 display: none; 19} 20 21.cdk-global-overlay-wrapper { 22 display: flex; 23 position: absolute; 24} 25@layer cdk-overlay { 26 .cdk-global-overlay-wrapper { 27 z-index: 1000; 28 } 29} 30 31.cdk-overlay-pane { 32 position: absolute; 33 pointer-events: auto; 34 box-sizing: border-box; 35 display: flex; 36 max-width: 100%; 37 max-height: 100%; 38} 39@layer cdk-overlay { 40 .cdk-overlay-pane { 41 z-index: 1000; 42 } 43} 44 45.cdk-overlay-backdrop { 46 position: absolute; 47 top: 0; 48 bottom: 0; 49 left: 0; 50 right: 0; 51 pointer-events: auto; 52 -webkit-tap-highlight-color: transparent; 53 opacity: 0; 54 touch-action: manipulation; 55} 56@layer cdk-overlay { 57 .cdk-overlay-backdrop { 58 z-index: 1000; 59 transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1); 60 } 61} 62@media (prefers-reduced-motion) { 63 .cdk-overlay-backdrop { 64 transition-duration: 1ms; 65 } 66} 67 68.cdk-overlay-backdrop-showing { 69 opacity: 1; 70} 71@media (forced-colors: active) { 72 .cdk-overlay-backdrop-showing { 73 opacity: 0.6; 74 } 75} 76 77@layer cdk-overlay { 78 .cdk-overlay-dark-backdrop { 79 background: rgba(0, 0, 0, 0.32); 80 } 81} 82 83.cdk-overlay-transparent-backdrop { 84 transition: visibility 1ms linear, opacity 1ms linear; 85 visibility: hidden; 86 opacity: 1; 87} 88.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop { 89 opacity: 0; 90 visibility: visible; 91} 92
93.cdk-overlay-backdrop-noop-animation { 94 transition: none; 95} 96 97.cdk-overlay-connected-position-bounding-box { 98 position: absolute; 99 display: flex; 100 flex-direction: column; 101 min-width: 1px; 102 min-height: 1px; 103} 104@layer cdk-overlay { 105 .cdk-overlay-connected-position-bounding-box { 106 z-index: 1000; 107 } 108} 109 110.cdk-global-scrollblock { 111 position: fixed; 112 width: 100%; 113 overflow-y: scroll; 114} 115 116.cdk-overlay-popover { 117 background: none; 118 border: none; 119 padding: 0; 120 outline: 0; 121 overflow: visible; 122 position: fixed; 123 pointer-events: none; 124 white-space: normal; 125 color: inherit; 126 text-decoration: none; 127 width: 100%; 128 height: 100%; 129 inset: auto; 130 top: 0; 131 left: 0; 132} 133.cdk-overlay-popover::backdrop { 134 display: none; 135} 136.cdk-overlay-popover .cdk-overlay-backdrop { 137 position: fixed; 138 z-index: auto; 139} 140`],encapsulation:2,changeDetection:0})}return n})(),Ni=(()=>{class n{_platform=s(Te);_containerElement;_document=s(Re);_styleLoader=s(Xt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||mn()){let i=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r<i.length;r++)i[r].remove()}let t=this._document.createElement("div");t.classList.add(e),mn()?t.setAttribute("platform","test"):this._platform.isBrowser||t.setAttribute("platform","server"),this._document.body.appendChild(t),this._containerElement=t}_loadStyles(){this._styleLoader.load(fr)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=J({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),bn=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(o,e,t,i){this._renderer=e,this._ngZone=t,this.element=o.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",i)}detach(){this._ngZone.runOutsideAngular(()=>{let o=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(o,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),o.style.pointerEvents="none",o.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 vn(n){return n&&n.nodeType===1}var Rt=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new w;_attachments=new w;_detachments=new w;_positionStrategy;_scrollStrategy;_locationChanges=_e.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new w;_outsidePointerEvents=new w;_afterNextRenderRef;constructor(o,e,t,i,r,a,l,c,m,u=!1,y,C){this._portalOutlet=o,this._host=e,this._pane=t,this._config=i,this._ngZone=r,this._keyboardDispatcher=a,this._document=l,this._location=c,this._outsideClickDispatcher=m,this._animationsDisabled=u,this._injector=y,this._renderer=C,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.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(o){if(this._disposed)return null;this._attachHost();let e=this._portalOutlet.attach(o);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=ee(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&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();let o=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),o}dispose(){if(this._disposed)return;let o=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
140pose(),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,o&&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(o){o!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=o,this.hasAttached()&&(o.attach(this),this.updatePosition()))}updateSize(o){this._config=U(U({},this._config),o),this._updateElementSize()}setDirection(o){this._config=ut(U({},this._config),{direction:o}),this._updateElementDirection()}addPanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!0)}removePanelClass(o){this._pane&&this._toggleClasses(this._pane,o,!1)}getDirection(){let o=this._config.direction;return o?typeof o=="string"?o:o.value:"ltr"}updateScrollStrategy(o){o!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=o,this.hasAttached()&&(o.attach(this),o.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let o=this._pane.style;o.width=V(this._config.width),o.height=V(this._config.height),o.minWidth=V(this._config.minWidth),o.minHeight=V(this._config.minHeight),o.maxWidth=V(this._config.maxWidth),o.maxHeight=V(this._config.maxHeight)}_togglePointerEvents(o){this._pane.style.pointerEvents=o?"":"none"}_attachHost(){if(!this._host.parentElement){let o=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;vn(o)?o.after(this._host):o?.type==="parent"?o.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch{}}_attachBackdrop(){let o="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new bn(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(o))}):this._backdropRef.element.classList.add(o)}_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(o,e,t){let i=Kt(e||[]).filter(r=>!!r);i.length&&(t?o.classList.add(...i):o.classList.remove(...i))}_detachContentWhenEmpty(){let o=!1;try{this._detachContentAfterRenderRef=ee(()=>{o=!0,this._detachContent()},{injector:this._injector})}catch(e){if(o)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||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let o=this._scrollStrategy;o?.disable(),o?.detach?.()}},ar="cdk-overlay-connected-position-bounding-box",ca=/([A-Za-z%]+)$/;function ht(n,o){return new Ii(o,n.get(ke),n.get(Re),n.get(Te),n.get(Ni))}var Ii=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new w;_resizeSubscription=_e.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}
vendor: 6,019 bytes, line 140
140constructor(o,e,t,i,r){this._viewportRuler=e,this._document=t,this._platform=i,this._overlayContainer=r,this.setOrigin(o)}attach(o){this._overlayRef&&this._overlayRef,this._validatePositions(),o.hostElement.classList.add(ar),this._overlayRef=o,this._boundingBox=o.hostElement,this._pane=o.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let o=this._originRect,e=this._overlayRect,t=this._viewportRect,i=this._containerRect,r=[],a;for(let l of this._preferredPositions){let c=this._getOriginPoint(o,i,l),m=this._getOverlayPoint(c,e,l),u=this._getOverlayFit(m,e,t,l);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(l,c);return}if(this._canFitWithFlexibleDimensions(u,m,t)){r.push({position:l,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,l)});continue}(!a||a.overlayFit.visibleArea<u.visibleArea)&&(a={overlayFit:u,overlayPoint:m,originPoint:c,position:l,overlayRect:e})}if(r.length){let l=null,c=-1;for(let m of r){let u=m.boundingBoxRect.width*m.boundingBoxRect.height*(m.position.weight||1);u>c&&(c=u,l=m)}this._isPushed=!1,this._applyPosition(l.position,l.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&dt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ar),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let o=this._lastPosition;o?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(o,this._getOriginPoint(this._originRect,this._containerRect,o))):this.apply()}withScrollableContainers(o){return this._scrollables=o,this}withPositions(o){return this._preferredPositions=o,o.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(o){return this._viewportMargin=o,this}withFlexibleDimensions(o=!0){return this._hasFlexibleDimensions=o,this}withGrowAfterOpen(o=!0){return this._growAfterOpen=o,this}withPush(o=!0){return this._canPush=o,this}withLockedPosition(o=!0){return this._positionLocked=o,this}setOrigin(o){return this._origin=o,this}withDefaultOffsetX(o){return this._offsetX=o,this}withDefaultOffsetY(o){return this._offsetY=o,this}withTransformOriginOn(o){return this._transformOriginSelector=o,this}withPopoverLocation(o){return this._popoverLocation=o,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof x?this._origin.nativeElement:vn(this._origin)?this._origin:null}_getOriginPoint(o,e,t){let i;if(t.originX=="center")i=o.left+o.width/2;else{let a=this._isRtl()?o.right:o.left,l=this._isRtl()?o.left:o.right;i=t.originX=="start"?a:l}e.left<0&&(i-=e.left);let r;return t.originY=="center"?r=o.top+o.height/2:r=t.originY=="top"?o.top:o.bottom,e.top<0&&(r-=e.top),{x:i,y:r}}_getOverlayPoint(o,e,t){let i;t.overlayX=="center"?i=-e.width/2:t.overlayX==="start"?i=this._isRtl()?-e.width:0:i=this._isRtl()?0:-e.width;let r;return t.overlayY=="center"?r=-e.height/2:r=t.overlayY=="top"?0:-e.height,{x:o.x+i,y:o.y+r}}_getOverlayFit(o,e,t,i){let r=lr(e),{x:a,y:l}=o,c=this._getOffset(i,"x"),m=this._getOffset(i,"y");c&&(a+=c),m&&(l+=m);let u=0-a,y=a+r.width-t.width,C=0-l,D=l+r.height-t.height,K=this._subtractOverflows(r.width,u,y),ae=this._subtractOverflows(r.height,C,D),Z=K*ae;return{visibleArea:Z,isCompletelyWithinViewport:r.width*r.height===Z,fitsInViewportVertically:ae===r.height,fitsInViewportHorizontally:K==r.width}}_canFitWithFlexibleDimensions(o,e,t){if(this._hasFlexibleDimensions){let i=t.bottom-e.y,r=t.right-e.x,a=sr(this._overlayRef.getConfig().minHeight),l=sr(this._overlayRef.getConfig().minWidth),c=o.fitsInViewportVertically||a!=null&&a<=i,m=o.fitsInViewportHorizontally||l!=null&&l<=r;return c&&m}return!1}_pushOverlayOnScreen(o,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:o.x+this._previousPushAmount.x,y:o.y+this._previousPushAmount.y};let i=lr(e),r=this._viewportRect,a=Math.max(o.x+i.width-r.width,0),l=Math.max(o.y+i.height-r.height,0),c=Math.max(r.top-t.top-o.y,0),m=Math.max(r.left-t.left-o.x,0),u=0,y=0;return i.width<=r.width?u=m||-a:u=o.x<this._getViewportMarginStart()?r.left-t.left-o.x:0,i.height<=r.height?y=c||-l:y=o.y<this._getViewportMarginTop()?r.top-t.top-o.y:0,this._previousPushAmount={x:u,y},{x:o.x+u,y:o.y+y}}_applyPosition(o,e){if(this._setTransformOrigin(o),this._setOverlayElementStyles(e,o),this._setBoundingBoxStyles(e,o),o.panelClass&&this._addPanelClasses(o.panelClass),this._positionChanges.observers.length){let t=this._getScrollVisibility();if(o!==this._lastPosition||!this._lastScrollVisibility||!da(this._lastScrollVisibility,t)){let i=new Pi(o,t);this._positionChanges.next(i)}this._lastScrollVisibility=t}this._lastPosition=o,this._isInitialRender=!1}
140_setTransformOrigin(o){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),t,i=o.overlayY;o.overlayX==="center"?t="center":this._isRtl()?t=o.overlayX==="start"?"right":"left":t=o.overlayX==="start"?"left":"right";for(let r=0;r<e.length;r++)e[r].style.transformOrigin=`${t} ${i}`}_calculateBoundingBoxRect(o,e){let t=this._viewportRect,i=this._isRtl(),r,a,l;if(e.overlayY==="top")a=o.y,r=t.height-a+this._getViewportMarginBottom();else if(e.overlayY==="bottom")l=t.height-o.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),r=t.height-l+this._getViewportMarginTop();else{let D=Math.min(t.bottom-o.y+t.top,o.y),K=this._lastBoundingBoxSize.height;r=D*2,a=o.y-D,r>K&&!this._isInitialRender&&!this._growAfterOpen&&(a=o.y-K/2)}let c=e.overlayX==="start"&&!i||e.overlayX==="end"&&i,m=e.overlayX==="end"&&!i||e.overlayX==="start"&&i,u,y,C;if(m)C=t.width-o.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),u=o.x-this._getViewportMarginStart();else if(c)y=o.x,u=t.right-o.x-this._getViewportMarginEnd();else{let D=Math.min(t.right-o.x+t.left,o.x),K=this._lastBoundingBoxSize.width;u=D*2,y=o.x-D,u>K&&!this._isInitialRender&&!this._growAfterOpen&&(y=o.x-K/2)}return{top:a,left:y,bottom:l,right:C,width:u,height:r}}_setBoundingBoxStyles(o,e){let t=this._calculateBoundingBoxRect(o,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right="auto",i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.width=V(t.width),i.height=V(t.height),i.top=V(t.top)||"auto",i.bottom=V(t.bottom)||"auto",i.left=V(t.left)||"auto",i.right=V(t.right)||"auto",e.overlayX==="center"?i.alignItems="center":i.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?i.justifyContent="center":i.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",r&&(i.maxHeight=V(r)),a&&(i.maxWidth=V(a))}this._lastBoundingBoxSize=t,dt(this._boundingBox.style,i)}_resetBoundingBoxStyles(){dt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){dt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(o,e){let t={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){let u=this._viewportRuler.getViewportScrollPosition();dt(t,this._getExactOverlayY(e,o,u)),dt(t,this._getExactOverlayX(e,o,u))}else t.position="static";let l="",c=this._getOffset(e,"x"),m=this._getOffset(e,"y");c&&(l+=`translateX(${c}px) `),m&&(l+=`translateY(${m}px)`),t.transform=l.trim(),a.maxHeight&&(i?t.maxHeight=V(a.maxHeight):r&&(t.maxHeight="")),a.maxWidth&&(i?t.maxWidth=V(a.maxWidth):r&&(t.maxWidth="")),dt(this._pane.style,t)}_getExactOverlayY(o,e,t){let i={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,o);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t)),o.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;i.bottom=`${a-(r.y+this._overlayRect.height)}px`}else i.top=V(r.y);return i}_getExactOverlayX(o,e,t){let i={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,o);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t));let a;if(this._isRtl()?a=o.overlayX==="end"?"left":"right":a=o.overlayX==="end"?"right":"left",a==="right"){let l=this._document.documentElement.clientWidth;i.right=`${l-(r.x+this._overlayRect.width)}px`}else i.left=V(r.x);return i}_getScrollVisibility(){let o=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:or(o,t),isOriginOutsideView:yn(o,t),isOverlayClipped:or(e,t),isOverlayOutsideView:yn(e,t)}}_subtractOverflows(o,...e){return e.reduce((t,i)=>t-Math.max(i,0),o)}_getNarrowedViewportRect(){let o=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._getViewportMarginTop(),left:t.left+this._getViewportMarginStart(),right:t.left+o-this._getViewportMarginEnd(),bottom:t.top+e-this._getViewportMarginBottom(),width:o-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(o,e){return e==="x"?o.offsetX==null?this._offsetX:o.offsetX:o.offsetY==null?this._offsetY:o.offsetY}_validatePositions(){}
140_addPanelClasses(o){this._pane&&Kt(o).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(o=>{this._pane.classList.remove(o)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let o=this._origin;if(o instanceof x)return o.nativeElement.getBoundingClientRect();if(o instanceof Element)return o.getBoundingClientRect();let e=o.width||0,t=o.height||0;return{top:o.y,bottom:o.y+t,left:o.x,right:o.x+e,height:t,width:e}}_getContainerRect(){let o=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();o&&(e.style.display="block");let t=e.getBoundingClientRect();return o&&(e.style.display=""),t}};function dt(n,o){for(let e in o)o.hasOwnProperty(e)&&(n[e]=o[e]);return n}function sr(n){if(typeof n!="number"&&n!=null){let[o,e]=n.split(ca);return!e||e==="px"?parseFloat(o):null}return n||null}function lr(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 da(n,o){return n===o?!0:n.isOriginClipped===o.isOriginClipped&&n.isOriginOutsideView===o.isOriginOutsideView&&n.isOverlayClipped===o.isOverlayClipped&&n.isOverlayOutsideView===o.isOverlayOutsideView}var cr="cdk-global-overlay-wrapper";function At(n){return new Fi}var Fi=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(o){let e=o.getConfig();this._overlayRef=o,this._width&&!e.width&&o.updateSize({width:this._width}),this._height&&!e.height&&o.updateSize({height:this._height}),o.hostElement.classList.add(cr),this._isDisposed=!1}top(o=""){return this._bottomOffset="",this._topOffset=o,this._alignItems="flex-start",this}left(o=""){return this._xOffset=o,this._xPosition="left",this}bottom(o=""){return this._topOffset="",this._bottomOffset=o,this._alignItems="flex-end",this}right(o=""){return this._xOffset=o,this._xPosition="right",this}start(o=""){return this._xOffset=o,this._xPosition="start",this}end(o=""){return this._xOffset=o,this._xPosition="end",this}width(o=""){return this._overlayRef?this._overlayRef.updateSize({width:o}):this._width=o,this}height(o=""){return this._overlayRef?this._overlayRef.updateSize({height:o}):this._height=o,this}centerHorizontally(o=""){return this.left(o),this._xPosition="center",this}centerVertically(o=""){return this.top(o),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:i,height:r,maxWidth:a,maxHeight:l}=t,c=(i==="100%"||i==="100vw")&&(!a||a==="100%"||a==="100vw"),m=(r==="100%"||r==="100vh")&&(!l||l==="100%"||l==="100vh"),u=this._xPosition,y=this._xOffset,C=this._overlayRef.getConfig().direction==="rtl",D="",K="",ae="";c?ae="flex-start":u==="center"?(ae="center",C?K=y:D=y):C?u==="left"||u==="end"?(ae="flex-end",D=y):(u==="right"||u==="start")&&(ae="flex-start",K=y):u==="left"||u==="start"?(ae="flex-start",D=y):(u==="right"||u==="end")&&(ae="flex-end",K=y),o.position=this._cssPosition,o.marginLeft=c?"0":D,o.marginTop=m?"0":this._topOffset,o.marginBottom=this._bottomOffset,o.marginRight=c?"0":K,e.justifyContent=ae,e.alignItems=m?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let o=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(cr),t.justifyContent=t.alignItems=o.marginTop=o.marginBottom=o.marginLeft=o.marginRight=o.position="",this._overlayRef=null,this._isDisposed=!0}},gr=(()=>{class n{_injector=s(O);constructor(){}global(){return At()}flexibleConnectedTo(e){return ht(this._injector,e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=J({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),$t=new k("OVERLAY_DEFAULT_CONFIG");function He(n,o){n.get(Xt).load(fr);let e=n.get(Ni),t=n.get(Re),i=n.get(Q),r=n.get(ro),a=n.get(ie),l=n.get(Ee,null,{optional:!0})||n.get(di).createRenderer(null,null),c=new Le(o),m=n.get($t,null,{optional:!0})?.usePopover??!0;c.direction=c.direction||a.value,"showPopover"in t.body?c.usePopover=o?.usePopover??m:c.usePopover=!1;let u=t.createElement("div"),y=t.createElement("div");u.id=i.getId("cdk-overlay-"),u.classList.add("cdk-overlay-pane"),y.appendChild(u),c.usePopover&&(y.setAttribute("popover","manual"),y.classList.add("cdk-overlay-popover"));let C=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return vn(C)?C.after(y):C?.type==="parent"?C.element.appendChild(y):e.getContainerElement().appendChild(y),new Rt(new Yo(u,r,n),y,u,c,n.get(ye),n.get(mr),t,n.get(uo),n.get(ur),o?.disableAnimations??n.get(to,null,{optional:!0})==="NoopAnimations",n.get(li),l)}var _r=(()=>{class n{scrollStrategies=s(hr);_positionBuilder=s(gr);_injector=s(O);constructor(){}create(e){return He(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(t){return new(t||n)};static \u0275prov=J({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ha=[{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"}],pa=new k("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=s(O);return()=>Be(n)}}),Et=(()=>{class n{elementRef=s(x);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return n})(),yr=new k("cdk-connected-overlay-default-config"),Vi=(()=>{class n{_dir=s(ie,{optional:!0});_injector=s(O);_overlayRef;_templatePortal;_backdropSubscription=_e.EMPTY;_attachSubscription=_e.EMPTY;_detachSubscription=_e.EMPTY;_positionSubscription=_e.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=s(pa);_ngZone=s(ye);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;
140set _config(e){typeof e!="string"&&this._assignConfig(e)}backdropClick=new T;positionChange=new T;attach=new T;detach=new T;overlayKeydown=new T;overlayOutsideClick=new T;constructor(){let e=s(G),t=s(ue),i=s(yr,{optional:!0}),r=s($t,{optional:!0});this.usePopover=r?.usePopover===!1?null:"global",this._templatePortal=new Qe(e,t),this.scrollStrategy=this._scrollStrategyFactory(),i&&this._assignConfig(i)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ha);let e=this._overlayRef=He(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode===27&&!this.disableClose&&!z(t)&&(t.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{let i=this._getOriginElement(),r=we(t);(!i||i!==r&&!i.contains(r))&&this.overlayOutsideClick.next(t)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new Le({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||this.height===0)&&(t.height=this.height),(this.minWidth||this.minWidth===0)&&(t.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){let t=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let e=ht(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Et?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Et?this.origin.elementRef.nativeElement:this.origin instanceof x?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let e=this._overlayRef;e.getConfig().hasBackdrop=this.hasBackdrop,e.updateSize({width:this._getWidth()}),e.hasAttached()||e.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=e.backdropClick().subscribe(t=>this.backdropClick.emit(t)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Jn(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(e){this.origin=e.origin??this.origin,this.positions=e.positions??this.positions,this.positionStrategy=e.positionStrategy??this.positionStrategy,this.offsetX=e.offsetX??this.offsetX,this.offsetY=e.offsetY??this.offsetY,this.width=e.width??this.width,this.height=e.height??this.height,this.minWidth=e.minWidth??this.minWidth,this.minHeight=e.minHeight??this.minHeight,this.backdropClass=e.backdropClass??this.backdropClass,this.panelClass=e.panelClass??this.panelClass,this.viewportMargin=e.viewportMargin??this.viewportMargin,this.scrollStrategy=e.scrollStrategy??this.scrollStrategy,this.disableClose=e.disableClose??this.disableClose,this.transformOriginSelector=e.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=e.hasBackdrop??this.hasBackdrop,this.lockPosition=e.lockPosition??this.lockPosition,this.flexibleDimensions=e.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=e.growAfterOpen??this.growAfterOpen,this.push=e.push??this.push,this.disposeOnNavigation=e.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=e.usePopover??this.usePopover,this.matchWidth=e.matchWidth??this.matchWidth}static \u0275fac=function(t){return new(t||n)};static \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",b],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",b],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",b],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",b],push:[2,"cdkConnectedOverlayPush","push",b],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",b],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",b],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[me]})}return n})(),ze=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=B({type:n});static \u0275inj=L({providers:[_r],imports:[ge,ct,De,De]})}return n})();function ma(n,o){}var Ze=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;
vendor: 19,573 bytes, lines 140-319
140autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var wn=(()=>{class n extends Wo{_elementRef=s(x);_focusTrapFactory=s(To);_config;_interactivityChecker=s(Eo);_ngZone=s(ye);_focusMonitor=s(Oo);_renderer=s(Ee);_changeDetectorRef=s(Ce);_injector=s(O);_platform=s(Te);_document=s(Re);_portalOutlet;_focusTrapped=new w;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=s(Ze,{optional:!0})||new Ze,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}attachDomPortal=e=>{this._portalOutlet.hasAttached();let t=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),t};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let i=()=>{r(),a(),e.removeAttribute("tabindex")},r=this._renderer.listen(e,"blur",i),a=this._renderer.listen(e,"mousedown",i)})),e.focus(t)}_focusByCssSelector(e,t){let i=this._elementRef.nativeElement.querySelector(e);i&&this._forceFocus(i,t)}_trapFocus(e){this._isDestroyed||ee(()=>{let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,t=null;if(typeof e=="string"?t=this._document.querySelector(e):typeof e=="boolean"?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus=="function"){let i=Ue(),r=this._elementRef.nativeElement;(!i||i===this._document.body||i===r||r.contains(i))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,t=Ue();return e===t||e.contains(t)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Ue()))}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(t,i){if(t&1&&Fe(Gt,7),t&2){let r;M(r=R())&&(i._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,i){t&2&&H("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[S],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,i){t&1&&P(0,ma,0,0,"ng-template",0)},dependencies:[Gt],styles:[`.cdk-dialog-container { 141 display: block; 142 width: 100%; 143 height: 100%; 144 min-height: inherit; 145 max-height: inherit; 146} 147`],encapsulation:2})}return n})(),Zt=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new w;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(o,e){this.overlayRef=o,this.config=e,this.disableClose=e.disableClose,this.backdropClick=o.backdropClick(),this.keydownEvents=o.keydownEvents(),this.outsidePointerEvents=o.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!z(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=o.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(o,e){if(this._canClose(o)){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(o),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(o="",e=""){return this.overlayRef.updateSize({width:o,height:e}),this}addPanelClass(o){return this.overlayRef.addPanelClass(o),this}removePanelClass(o){return this.overlayRef.removePanelClass(o),this}_canClose(o){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(o,e,this.componentInstance))}},ua=new k("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=s(O);return()=>Tt(n)}}),fa=new k("DialogData"),ga=new k("DefaultDialogConfig");function _a(n){let o=be(n),e=new T;return{valueSignal:o,get value(){return o()},change:e,ngOnDestroy(){e.complete()}}}var kn=(()=>{class n{_injector=s(O);_defaultOptions=s(ga,{optional:!0});_parentDialog=s(n,{optional:!0,skipSelf:!0});_overlayContainer=s(Ni);_idGenerator=s(Q);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new w;_afterOpenedAtThisLevel=new w;_ariaHiddenElements=new Map;_scrollStrategy=s(ua);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Xe(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Pe(void 0)));constructor(){}open(e,t){let i=this._defaultOptions||new Ze;t=U(U({},i),t),t.id=t.id||this._idGenerator.getId("cdk-dialog-"),t.id&&this.getDialogById(t.id);let r=this._getOverlayConfig(t),a=He(this._injector,r),l=new Zt(a,t),c=this._attachContainer(a,l,t);if(l.containerInstance=c,!this.openDialogs.length){let m=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(Me(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(m)}):this._hideNonDialogContentFromAssistiveTechnology(m)}return this._attachDialogContent(e,l,c,t),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){Cn(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){Cn(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),Cn(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let t=new Le({positionStrategy:e.positionStrategy||At().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,i){let r=i.injector||i.viewContainerRef?.injector,a=[{provide:Ze,useValue:i},{provide:Zt,useValue:t},{provide:Rt,useValue:e}],l;i.container?typeof i.container=="function"?l=i.container:(l=i.container.type,a.push(...i.container.providers(i))):l=wn;let c=new fn(l,i.viewContainerRef,O.create({parent:r||this._injector,providers:a}));return e.attach(c).instance}_attachDialogContent(e,t,i,r){if(e instanceof G){let a=this._createInjector(r,t,i,void 0),l={$implicit:r.data,dialogRef:t};r.templateContext&&(l=U(U({},l),typeof r.templateContext=="function"?r.templateContext():r.templateContext)),i.attachTemplatePortal(new Qe(e,null,l,a))}else{let a=this._createInjector(r,t,i,this._injector),l=i.attachComponentPortal(new fn(e,r.viewContainerRef,a));t.componentRef=l,t.componentInstance=l.instance}}_createInjector(e,t,i,r){let a=e.injector||e.viewContainerRef?.injector,l=[{provide:fa,useValue:e.data},{provide:Zt,useValue:t}];return e.providers&&(typeof e.providers=="function"?l.push(...e.providers(t,e,i)):l.push(...e.providers)),e.direction&&(!a||!a.get(ie,null,{optional:!0}))&&l.push({provide:ie,useValue:_a(e.direction)}),O.create({parent:a||r,providers:l})}_removeOpenDialog(e,t){let i=this.openDialogs.indexOf(e);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,a)=>{r?a.setAttribute("aria-hidden",r):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let t=e.parentElement.children;for(let i=t.length-1;i>-1;i--){let r=t[i];r!==e&&r.nodeName!=="SCRIPT"&&r.nodeName!=="STYLE"&&!r.hasAttribute("aria-live")&&!r.hasAttribute("popover")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(t){return new(t||n)};static \u0275prov=J({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Cn(n,o){let e=n.length;for(;e--;)o(n[e])}var br=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=B({type:n});static \u0275inj=L({providers:[kn],imports:[ze,ct,Po,ct]})}return n})();function ya(n,o){}var Bi=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},Dn="mdc-dialog--open",vr="mdc-dialog--opening",Cr="mdc-dialog--closing",ba=150,va=75,Ca=(()=>{class n extends wn{_animationStateChanged=new T;_animationsEnabled=!Ae();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?kr(this._config.enterAnimationDuration)??ba:0;_exitAnimationDuration=this._animationsEnabled?kr(this._config.exitAnimationDuration)??va:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(wr,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(vr,Dn)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Dn),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Dn),this._animationsEnabled?(this._hostElement.style.setProperty(wr,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Cr)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(vr,Cr)}_waitForAnimationToComplete(e,t){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(t,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let t=super.attachComponentPortal(e);return t.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),t}static \u0275fac=(()=>{let e;return function(i){return(e||(e=j(n)))(i||n)}})();static \u0275cmp=_({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(t,i){t&2&&(Ie("id",i._config.id),H("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),I("_mat-animation-noopable",!i._animationsEnabled)("mat-mdc-dialog-container-with-actions",i._actionSectionCount>0))},features:[S],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(t,i){t&1&&(d(0,"div",0)(1,"div",1),P(2,ya,0,0,"ng-template",2),h()())},dependencies:[Gt],styles:[`.mat-mdc-dialog-container { 148 width: 100%; 149 height: 100%; 150 display: block; 151 box-sizing: border-box; 152 max-height: inherit; 153 min-height: inherit; 154 min-width: inherit; 155 max-width: inherit; 156 outline: 0; 157} 158 159.cdk-overlay-pane.mat-mdc-dialog-panel { 160 max-width: var(--mat-dialog-container-max-width, 560px); 161 min-width: var(--mat-dialog-container-min-width, 280px); 162} 163@media (max-width: 599px) { 164 .cdk-overlay-pane.mat-mdc-dialog-panel { 165 max-width: var(--mat-dialog-container-small-max-width, calc(100vw - 32px)); 166 } 167} 168 169.mat-mdc-dialog-inner-container { 170 display: flex; 171 flex-direction: row; 172 align-items: center; 173 justify-content: space-around; 174 box-sizing: border-box; 175 height: 100%; 176 opacity: 0; 177 transition: opacity linear var(--mat-dialog-transition-duration, 0ms); 178 max-height: inherit; 179 min-height: inherit; 180 min-width: inherit; 181 max-width: inherit; 182} 183.mdc-dialog--closing .mat-mdc-dialog-inner-container { 184 transition: opacity 75ms linear; 185 transform: none; 186} 187.mdc-dialog--open .mat-mdc-dialog-inner-container { 188 opacity: 1; 189} 190._mat-animation-noopable .mat-mdc-dialog-inner-container { 191 transition: none; 192} 193 194.mat-mdc-dialog-surface { 195 display: flex; 196 flex-direction: column; 197 flex-grow: 0; 198 flex-shrink: 0; 199 box-sizing: border-box; 200 width: 100%; 201 height: 100%; 202 position: relative; 203 overflow-y: auto; 204 outline: 0; 205 transform: scale(0.8); 206 transition: transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1); 207 max-height: inherit; 208 min-height: inherit; 209 min-width: inherit; 210 max-width: inherit; 211 box-shadow: var(--mat-dialog-container-elevation-shadow, none); 212 border-radius: var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px)); 213 background-color: var(--mat-dialog-container-color, var(--mat-sys-surface, white)); 214} 215[dir=rtl] .mat-mdc-dialog-surface { 216 text-align: right; 217} 218.mdc-dialog--open .mat-mdc-dialog-surface, .mdc-dialog--closing .mat-mdc-dialog-surface { 219 transform: none; 220} 221._mat-animation-noopable .mat-mdc-dialog-surface { 222 transition: none; 223} 224.mat-mdc-dialog-surface::before { 225 position: absolute; 226 box-sizing: border-box; 227 width: 100%; 228 height: 100%; 229 top: 0; 230 left: 0; 231 border: 2px solid transparent; 232 border-radius: inherit; 233 content: ""; 234 pointer-events: none; 235} 236 237.mat-mdc-dialog-title { 238 display: block; 239 position: relative; 240 flex-shrink: 0; 241 box-sizing: border-box; 242 margin: 0 0 1px; 243 padding: var(--mat-dialog-headline-padding, 6px 24px 13px); 244} 245.mat-mdc-dialog-title::before { 246 display: inline-block; 247 width: 0; 248 height: 40px; 249 content: ""; 250 vertical-align: 0; 251} 252[dir=rtl] .mat-mdc-dialog-title { 253 text-align: right; 254} 255.mat-mdc-dialog-container .mat-mdc-dialog-title { 256 color: var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87))); 257 font-family: var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit)); 258 line-height: var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem)); 259 font-size: var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem)); 260 font-weight: var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400)); 261 letter-spacing: var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em)); 262} 263 264.mat-mdc-dialog-content { 265 display: block; 266 flex-grow: 1; 267 box-sizing: border-box; 268 margin: 0; 269 overflow: auto; 270 max-height: 65vh; 271} 272.mat-mdc-dialog-content > :first-child { 273 margin-top: 0; 274} 275.mat-mdc-dialog-content > :last-child { 276 margin-bottom: 0; 277} 278.mat-mdc-dialog-container .mat-mdc-dialog-content { 279 color: var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6))); 280 font-family: var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit)); 281 line-height: var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem)); 282 font-size: var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem)); 283 font-weight: var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400)); 284 letter-spacing: var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em)); 285} 286.mat-mdc-dialog-container .mat-mdc-dialog-content { 287 padding: var(--mat-dialog-content-padding, 20px 24px); 288} 289.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content { 290 padding: var(--mat-dialog-with-actions-content-padding, 20px 24px 0); 291} 292.mat-mdc-dialog-container .mat-mdc-dialog-title + .mat-mdc-dialog-content { 293 padding-top: 0; 294} 295 296.mat-mdc-dialog-actions { 297 display: flex; 298 position: relative; 299 flex-shrink: 0; 300 flex-wrap: wrap; 301 align-items: center; 302 box-sizing: border-box; 303 min-height: 52px; 304 margin: 0; 305 border-top: 1px solid transparent; 306 padding: var(--mat-dialog-actions-padding, 16px 24px); 307 justify-content: var(--mat-dialog-actions-alignment, flex-end); 308} 309@media (forced-colors: active) { 310 .mat-mdc-dialog-actions { 311 border-top-color: CanvasText; 312 } 313} 314.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start, .mat-mdc-dialog-actions[align=start] { 315 justify-content: start; 316} 317.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center, .mat-mdc-dialog-actions[align=center] { 318 justify-content: center; 319}
320.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end, .mat-mdc-dialog-actions[align=end] { 321 justify-content: flex-end; 322} 323.mat-mdc-dialog-actions .mat-button-base + .mat-button-base, 324.mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base { 325 margin-left: 8px; 326} 327[dir=rtl] .mat-mdc-dialog-actions .mat-button-base + .mat-button-base, 328[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base { 329 margin-left: 0; 330 margin-right: 8px; 331} 332 333.mat-mdc-dialog-component-host { 334 display: contents; 335} 336`],encapsulation:2})}return n})(),wr="--mat-dialog-transition-duration";function kr(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?un(n.substring(0,n.length-2)):n.endsWith("s")?un(n.substring(0,n.length-1))*1e3:n==="0"?0:null}var Li=(function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n})(Li||{}),Jt=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new dn(1);_beforeClosed=new dn(1);_result;_closeFallbackTimeout;_state=Li.OPEN;_closeInteractionType;constructor(o,e,t){this._ref=o,this._config=e,this._containerInstance=t,this.disableClose=e.disableClose,this.id=o.id,o.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(le(i=>i.state==="opened"),Me(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(le(i=>i.state==="closed"),Me(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),o.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Oe(this.backdropClick(),this.keydownEvents().pipe(le(i=>i.keyCode===27&&!this.disableClose&&!z(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),Dr(this,i.type==="keydown"?"keyboard":"mouse"))})}close(o){let e=this._config.closePredicate;e&&!e(o,this._config,this.componentInstance)||(this._result=o,this._containerInstance._animationStateChanged.pipe(le(t=>t.state==="closing"),Me(1)).subscribe(t=>{this._beforeClosed.next(o),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=Li.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(o){let e=this._ref.config.positionStrategy;return o&&(o.left||o.right)?o.left?e.left(o.left):e.right(o.right):e.centerHorizontally(),o&&(o.top||o.bottom)?o.top?e.top(o.top):e.bottom(o.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(o="",e=""){return this._ref.updateSize(o,e),this}addPanelClass(o){return this._ref.addPanelClass(o),this}removePanelClass(o){return this._ref.removePanelClass(o),this}getState(){return this._state}_finishDialogClose(){this._state=Li.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Dr(n,o,e){return n._closeInteractionType=o,n.close(e)}var wa=new k("MatMdcDialogData"),ka=new k("mat-mdc-dialog-default-options"),Da=new k("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=s(O);return()=>Tt(n)}}),ei=(()=>{class n{_defaultOptions=s(ka,{optional:!0});_scrollStrategy=s(Da);_parentDialog=s(n,{optional:!0,skipSelf:!0});_idGenerator=s(Q);_injector=s(O);_dialog=s(kn);_animationsDisabled=Ae();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new w;_afterOpenedAtThisLevel=new w;dialogConfigClass=Bi;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Xe(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Pe(void 0)));constructor(){this._dialogRefConstructor=Jt,this._dialogContainerType=Ca,this._dialogDataToken=wa}open(e,t){let i;t=U(U({},this._defaultOptions||new Bi),t),t.id=t.id||this._idGenerator.getId("mat-mdc-dialog-"),t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();let r=this._dialog.open(e,ut(U({},t),{positionStrategy:At(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||t.enterAnimationDuration?.toLocaleStr
vendor: 4,290 bytes, line 336
336ing()==="0"||t.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:t},{provide:Ze,useValue:t}]},templateContext:()=>({dialogRef:i}),providers:(a,l,c)=>(i=new this._dialogRefConstructor(a,t,c),i.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:i}])}));return i.componentRef=r.componentRef,i.componentInstance=r.componentInstance,this.openDialogs.push(i),this.afterOpened.next(i),i.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(i);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=J({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Sr=(()=>{class n{dialogRef=s(Jt,{optional:!0});_elementRef=s(x);_dialog=s(ei);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=Er(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){Dr(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,i){t&1&&W("click",function(a){return i._onButtonClick(a)}),t&2&&H("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[me]})}return n})(),xr=(()=>{class n{_dialogRef=s(Jt,{optional:!0});_elementRef=s(x);_dialog=s(ei);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=Er(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n})}return n})(),Or=(()=>{class n extends xr{id=s(Q).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=j(n)))(i||n)}})();static \u0275dir=g({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(t,i){t&2&&Ie("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[S]})}return n})(),Mr=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[io([er])]})}return n})(),Rr=(()=>{class n extends xr{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=j(n)))(i||n)}})();static \u0275dir=g({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(t,i){t&2&&I("mat-mdc-dialog-actions-align-start",i.align==="start")("mat-mdc-dialog-actions-align-center",i.align==="center")("mat-mdc-dialog-actions-align-end",i.align==="end")},inputs:{align:"align"},features:[S]})}return n})();function Er(n,o){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?o.find(t=>
336t.id===e.id):null}var Tr=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=B({type:n});static \u0275inj=L({providers:[ei],imports:[br,ze,ct,ge]})}return n})();var Je=class n{scrollbar=s($e,{self:!0});virtualScrollViewportRef=hn(Ve);virtualScrollableElement=hn(qt);constructor(){this.scrollbar.skipInit=!0,Ke(()=>{let o=this.virtualScrollViewportRef();if(!o){console.error("The [CdkVirtualScrollViewport] component was not found!");return}yt(()=>{let e=o.scrollable.getElementRef().nativeElement,t,i;this.virtualScrollableElement()||(t=o._contentWrapper.nativeElement,i=o.elementRef.nativeElement.querySelector(".cdk-virtual-scroll-spacer")),this.scrollbar.viewportElement.set(e),this.scrollbar.contentWrapperElement.set(t),this.scrollbar.spacerElement.set(i),this.scrollbar.initialize(e,t,i)})})}static \u0275fac=function(e){return new(e||n)};static \u0275dir=g({type:n,selectors:[["ng-scrollbar","externalViewport","","cdkVirtualScrollViewport",""]],contentQueries:function(e,t,i){e&1&&ao(i,t.virtualScrollViewportRef,Ve,5)(i,t.virtualScrollableElement,qt,5),e&2&&pi(2)}})};function Oa(n,o){if(n&1&&(d(0,"mat-list-item",5),p(1),h()),n&2){let e=o.$implicit;f(),q(" ",e," ")}}var Hi=class n{items=Array.from({length:100},(o,e)=>e+1);static \u0275fac=function(e){return new(e||n)};static \u0275cmp=_({type:n,selectors:[["app-example-virtual-scroll"]],hostVars:2,hostBindings:function(e,t){e&2&&I("example-component",!0)},decls:10,vars:1,consts:[[1,"example","mat-elevation-z16"],[1,"example-virtual-scroll"],["externalViewport","","cdkVirtualScrollViewport","","appearance","compact",2,"height","100%"],["itemSize","50","minBufferPx","100","maxBufferPx","200"],["class","example-item",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"example-item"]],template:function(e,t){e&1&&(d(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),p(3," CDK Virtual Scroll Example "),h()(),d(4,"mat-card-content")(5,"div",1)(6,"ng-scrollbar",2)(7,"cdk-virtual-scroll-viewport",3)(8,"mat-list"),P(9,Oa,2,1,"mat-list-item",4),h()()()()()()),e&2&&(f(9),v("c
336dkVirtualForOf",t.items))},dependencies:[re,ne,oe,qe,Ge,wt,$e,De,xt,Ot,Ve,Ri,Oi,Mi,Je],styles:["[_nghost-%COMP%]{--scrollbar-container-color: inherit;--scrollbar-container-offset: 6px;--scrollbar-container-shape: inherit;--scrollbar-track-shape: 8px;--scrollbar-track-offset: inherit;--scrollbar-track-color: var(--surface-container-low);--scrollbar-track-thickness: 10px;--scrollbar-track-hover-thickness: inherit;--scrollbar-track-active-thickness: inherit;--scrollbar-thumb-shape: inherit;--scrollbar-thumb-min-size: 20;--scrollbar-thumb-color: var(--color-primary);--scrollbar-thumb-hover-color: inherit;--scrollbar-thumb-active-color: inherit;--scrollbar-hover-opacity-transition-enter-duration: inherit;--scrollbar-hover-opacity-transition-leave-duration: inherit;--scrollbar-hover-opacity-transition-leave-delay: inherit;--scrollbar-overscroll-behavior: inherit;--scrollbar-mobile-overscroll-behavior: inherit;--scrollbar-button-shape: inherit;--scrollbar-button-size: inherit;--scrollbar-button-gap: inherit;--scrollbar-button-color: inherit;--scrollbar-button-hover-color: inherit;--scrollbar-button-active-color: inherit;--scrollbar-button-inactive-color: inherit;--scrollbar-button-fill: inherit;--scrollbar-button-hover-fill: inherit;--scrollbar-button-active-fill: inherit;--scrollbar-button-inactive-fill: inherit}.example-virtual-scroll[_ngcontent-%COMP%]{overflow:hidden;height:200px}.example-virtual-scroll[_ngcontent-%COMP%] .mat-mdc-list-base[_ngcontent-%COMP%]{padding:0}.example-virtual-scroll[_ngcontent-%COMP%] .ng-scroll-viewport[_ngcontent-%COMP%]{height:100%;border-radius:var(--card-viewport-border-radius)}.example-virtual-scroll[_ngcontent-%COMP%] .example-item[_ngcontent-%COMP%]{height:50px;color:var(--mat-sidenav-content-text-color)}.example-virtual-scroll[_ngcontent-%COMP%] .example-item[_ngcontent-%COMP%]:nth-child(odd){background:var(--surface-container-highest)}.example-virtual-scroll[_ngcontent-%COMP%] .example-item[_ngcontent-%COMP%]:nth-child(2n){background:var(--surface-container-high)}"],changeDetection:0})};var xn=new k("MAT_DATE_LOCALE",{providedIn:"root",factory:()=>s(co)}),It="Method not implemented",et=class{locale;_localeChanges=new w;localeChanges=this._localeChanges;setTime(o,e,t,i){throw new Error(It)}getHours(o){throw new Error(It)}getMinutes(o){throw new Error(It)}getSeconds(o){throw new Error(It)}parseTime(o,e){throw new Error(It)}addSeconds(o,e){throw new Error(It)}getValidDateOrNull(o){return this.isDateInstance(o)&&this.isValid(o)?o:null}deserialize(o){return o==null||this.isDateInstance(o)&&this.isValid(o)?o:this.invalid()}setLocale(o){this.locale=o,this._localeChanges.next()}compareDate(o,e){return this.getYear(o)-this.getYear(e)||this.getMonth(o)-this.getMonth(e)||this.getDate(o)-this.getDate(e)}compareTime(o,e){return this.getHours(o)-this.getHours(e)||this.getMinutes(o)-this.getMinutes(e)||this.getSeconds(o)-this.getSeconds(e)}sameDate(o,e){if(o&&e){let t=this.isValid(o),i=this.isValid(e);return t&&i?!this.compareDate(o,e):t==i}return o==e}sameTime(o,e){if(o&&e){let t=this.isValid(o),i=this.isValid(e);return t&&i?!this.compareTime(o,e):t==i}return o==e}clampDate(o,e,t){return e&&this.compareDate(o,e)<0?e:t&&this.compareDate(o,t)>0?t:o}},ti=new k("mat-date-formats");var Ma=["text"],Ra=[[["mat-icon"]],"*"],Ea=["mat-icon","*"];function Ta(n,o){if(n&1&&A(0,"mat-pseudo-checkbox",1),n&2){let e=N();v("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function Aa(n,o){if(n&1&&A(0,"mat-pseudo-checkbox",3),n&2){let e=N();v("disabled",e.disabled)}}function Pa(n,o){if(n&1&&(d(0,"span",4),p(1),h()),n&2){let e=N();f(),q("(",e.group.label,")")}}var it=new k("MAT_OPTION_PARENT_COMPONENT"),Nt=new k("MatOptgroup");var Ft=class{source;isUserInput;constructor(o,e=!1){this.source=o,this.isUserInput=e}},$=(()=>{class n{_element=s(x);_changeDetectorRef=s(Ce);_parent=s(it,{optional:!0});group=s(Nt,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=s(Q).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=be(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new T;_text;_stateChanges=new w;constructor(){let e=s(Xt);e.load(zo),e.load(Mo),this._signalDisableRipple=!!this._parent&&oo(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,t){let i=this._getHostElement();typeof i.focus=="function"&&i.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!z(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Ft(this,e))}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["mat-option"]],viewQuery:function(t,i){if(t&1&&Fe(Ma,7),t&2){let r;M(r=R())&&(i._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(t,i){t&1&&W("click",function(){return i._selectViaInteraction()})("keydown",function(a){return i._handleKeydown(a)}),t&2&&(Ie("id",i.id),H("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),I("mdc-list-item--selected",i.selected)("mat-mdc-option-multiple",i.multiple)("mat-mdc-option-active",i.active)("mdc-list-item--disabled",i.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",b]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:Ea,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,i){t&1&&(fe(Ra),de(0,Ta,
vendor: 4,755 bytes, lines 336-457
3361,2,"mat-pseudo-checkbox",1),Y(1),d(2,"span",2,0),Y(4,1),h(),de(5,Aa,1,1,"mat-pseudo-checkbox",3),de(6,Pa,2,1,"span",4),A(7,"div",5)),t&2&&(he(i.multiple?0:-1),f(5),he(!i.multiple&&i.selected&&!i.hideSingleSelectionIndicator?5:-1),f(),he(i.group&&i.group._inert?6:-1),f(),v("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Ho,Bo],styles:[`.mat-mdc-option { 337 -webkit-user-select: none; 338 user-select: none; 339 -moz-osx-font-smoothing: grayscale; 340 -webkit-font-smoothing: antialiased; 341 display: flex; 342 position: relative; 343 align-items: center; 344 justify-content: flex-start; 345 overflow: hidden; 346 min-height: 48px; 347 padding: 0 16px; 348 cursor: pointer; 349 -webkit-tap-highlight-color: transparent; 350 color: var(--mat-option-label-text-color, var(--mat-sys-on-surface)); 351 font-family: var(--mat-option-label-text-font, var(--mat-sys-label-large-font)); 352 line-height: var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height)); 353 font-size: var(--mat-option-label-text-size, var(--mat-sys-body-large-size)); 354 letter-spacing: var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking)); 355 font-weight: var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight)); 356} 357.mat-mdc-option:hover:not(.mdc-list-item--disabled) { 358 background-color: var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent)); 359} 360.mat-mdc-option:focus.mdc-list-item, .mat-mdc-option.mat-mdc-option-active.mdc-list-item { 361 background-color: var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent)); 362 outline: 0; 363} 364.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) { 365 background-color: var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container)); 366} 367.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) .mdc-list-item__primary-text { 368 color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container)); 369} 370.mat-mdc-option .mat-pseudo-checkbox { 371 --mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container)); 372} 373.mat-mdc-option.mdc-list-item { 374 align-items: center; 375 background: transparent; 376} 377.mat-mdc-option.mdc-list-item--disabled { 378 cursor: default; 379 pointer-events: none; 380} 381.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox, .mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text, .mat-mdc-option.mdc-list-item--disabled > mat-icon { 382 opacity: 0.38; 383} 384.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) { 385 padding-left: 32px; 386} 387[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) { 388 padding-left: 16px; 389 padding-right: 32px; 390} 391.mat-mdc-option .mat-icon, 392.mat-mdc-option .mat-pseudo-checkbox-full { 393 margin-right: 16px; 394 flex-shrink: 0; 395} 396[dir=rtl] .mat-mdc-option .mat-icon, 397[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full { 398 margin-right: 0; 399 margin-left: 16px; 400} 401.mat-mdc-option .mat-pseudo-checkbox-minimal { 402 margin-left: 16px; 403 flex-shrink: 0; 404} 405[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal { 406 margin-right: 16px; 407 margin-left: 0; 408} 409.mat-mdc-option .mat-mdc-option-ripple { 410 top: 0; 411 left: 0; 412 right: 0; 413 bottom: 0; 414 position: absolute; 415 pointer-events: none; 416} 417.mat-mdc-option .mdc-list-item__primary-text { 418 white-space: normal; 419 font-size: inherit; 420 font-weight: inherit; 421 letter-spacing: inherit; 422 line-height: inherit; 423 font-family: inherit; 424 text-decoration: inherit; 425 text-transform: inherit; 426 margin-right: auto; 427} 428[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text { 429 margin-right: 0; 430 margin-left: auto; 431} 432@media (forced-colors: active) { 433 .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after { 434 content: ""; 435 position: absolute; 436 top: 50%; 437 right: 16px; 438 transform: translateY(-50%); 439 width: 10px; 440 height: 0; 441 border-bottom: solid 10px; 442 border-radius: 10px; 443 } 444 [dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after { 445 right: auto; 446 left: 16px; 447 } 448} 449 450.mat-mdc-option-multiple { 451 --mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent); 452} 453 454.mat-mdc-option-active .mat-focus-indicator::before { 455 content: ""; 456} 457`],encapsulation:2,changeDetection:0})}return n})();
457function ii(n,o,e){if(e.length){let t=o.toArray(),i=e.toArray(),r=0;for(let a=0;a<n+1;a++)t[a].group&&t[a].group===i[r]&&r++;return r}return 0}function ni(n,o,e,t){return n<e?n:n+o>e+t?Math.max(0,n-t+o):e}var We=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=B({type:n});static \u0275inj=L({imports:[jo,ir,$,ge]})}return n})();var Ia=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,Fa=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function On(n,o){let e=Array(n);for(let t=0;t<n;t++)e[t]=o(t);return e}var Na=(()=>{class n extends et{_matDateLocale=s(xn,{optional:!0});constructor(){super();let e=s(xn,{optional:!0});e!==void 0&&(this._matDateLocale=e),super.setLocale(this._matDateLocale)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){let t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return On(12,i=>this._format(t,new Date(2017,i,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return On(31,t=>this._format(e,new Date(2017,0,t+1)))}getDayOfWeekNames(e){let t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return On(7,i=>this._format(t,new Date(2017,0,i+1)))}getYearName(e){let t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(t,e)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let e=new Intl.Locale(this.locale),t=(e.getWeekInfo?.()||e.weekInfo)?.firstDay??0;return t===7?0:t}return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,i){let r=this._createDateWithOverflow(e,t,i);return r.getMonth()!=t,r}today(){return new Date}parse(e,t){return typeof e=="number"?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");let i=new Intl.DateTimeFormat(this.locale,ut(U({},t),{timeZone:"utc"}));return this._format(i,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,t*12)}addCalendarMonths(e,t){let i=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(i)!=((this.getMonth(e)+t)%12+12)%12&&(i=this._createDateWithOverflow(this.getYear(i),this.getMonth(i),0)),i}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if(typeof e=="string"){if(!e)return null;if(Ia.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}setTime(e,t,i,r){let a=this.clone(e);return a.setHours(t,i,r,0),a}getHours(e){return e.getHours()}getMinutes(e){return e.getMinutes()}getSeconds(e){return e.getSeconds()}parseTime(e,t){if(typeof e!="string")return e instanceof Date?new Date(e.getTime()):null;let i=e.trim();if(i.length===0)return null;let r=this._parseTimeString(i);if(r===null){let a=i.replace(/[^0-9:(AM|PM)]/gi,"").trim();a.length>0&&(r=this._parseTimeString(a))}return r||this.invalid()}addSeconds(e,t){return new Date(e.getTime()+t*1e3)}_createDateWithOverflow(e,t,i){let r=new Date;return r.setFullYear(e,t,i),r.setHours(0,0,0,0),r}_2digit(e){return("00"+e).slice(-2)}_format(e,t){let i=new Date;return i.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),i.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(i)}_parseTimeString(e){let t=e.toUpperCase().match(Fa);if(t){let i=parseInt(t[1]),r=parseInt(t[2]),a=t[3]==null?void 0:parseInt(t[3]),l=t[4];if(i===12?i=l==="AM"?0:i:l==="PM"&&(i+=12),Mn(i,0,23)&&Mn(r,0,59)&&(a==null||Mn(a,0,59)))return this.setTime(this.today(),i,r,a||0)}return null}static \u0275fac=function(t){return new(t||n)};static \u0275prov=J({token:n,factory:n.\u0275fac})}return n})();function Mn(n,o,e){return!isNaN(n)&&n>=o&&n<=e}var Va={parse:{dateInput:null,timeInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"},timeOptionLabel:{hour:"numeric",minute:"numeric"}}};function Pr(n=Va){return[{provide:et,useClass:Na},{provide:ti,useValue:n}]}var za=["trigger"],ja=["panel"],Wa=[[["mat-select-trigger"]],"*"],Ya=["mat-select-trigger","*"];function Xa(n,o){if(n&1&&(d(0,"span",4),p(1),h()),n&2){let e=N();f(),ve(e.placeholder)}}function Ka(n,o){n&1&&Y(0)}function Ua(n,o){if(n&1&&(d(0,"span",11),p(1),h()),n&2){let e=N(2);f(),ve(e.triggerValue)}}function Ga(n,o){if(n&1&&(d(0,"span",5),de(1,Ka,1,0)(2,Ua,2,1,"span",11),h()),n&2){let e=N();f(),he(e.customTrigger?1:2)}}function qa(n,o){if(n&1){let e=Yt();d(0,"div",12,1),W("keydown",function(i){Ht(e);let r=N();return zt(r._handleKeydown(i))}),Y(2,1),h()}if(n&2){let e=N();ui(e.panelClass),I("mat-select-panel-animations-enabled",!e._animationsDisabled)("mat-primary",(e._parentFormField==null?null:e._parentFormField.color)==="primary")("mat-accent",(e._parentFormField==null?null:e._parentFormField.color)==="accent")("mat-warn",(e._parentFormField==null?null:e._parentFormField.color)==="warn")("mat-undefined",!(e._parentFormField!=null&&e._parentFormField.color)),H("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var Qa=new k("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let n=s(O);return()=>Be(n)}}),$a=new k("MAT_SELECT_CONFIG"),Za=new k("MatSelectTrigger"),Rn=class{source;value;constructor(o,e){this.source=o,this.value=e}},ji=(()=>
457{class n{_viewportRuler=s(ke);_changeDetectorRef=s(Ce);_elementRef=s(x);_dir=s(ie,{optional:!0});_idGenerator=s(Q);_renderer=s(Ee);_parentFormField=s(Dt,{optional:!0});ngControl=s(yo,{self:!0,optional:!0});_liveAnnouncer=s(Ao);_defaultOptions=s($a,{optional:!0});_animationsDisabled=Ae();_popoverLocation;_initialized=new w;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let i=this.panel.nativeElement,r=ii(e,this.options,this.optionGroups),a=t._getHostElement();e===0&&r===1?i.scrollTop=0:i.scrollTop=ni(a.offsetTop,a.offsetHeight,i.scrollTop,i.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Rn(this,e)}_scrollStrategyFactory=s(Qa);_panelOpen=!1;_compareWith=(e,t)=>e===t;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new w;_errorStateTracker;stateChanges=new w;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=be(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(_i.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=Xe(()=>{let e=this.options;return e?e.changes.pipe(Pe(e),pe(()=>Oe(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(pe(()=>this.optionSelectionChanges))});openedChange=new T;_openedStream=this.openedChange.pipe(le(e=>e),Bt(()=>{}));
457_closedStream=this.openedChange.pipe(le(e=>!e),Bt(()=>{}));selectionChange=new T;valueChange=new T;constructor(){let e=s(Go),t=s(yi,{optional:!0}),i=s(Do,{optional:!0}),r=s(new bt("tabindex"),{optional:!0}),a=s($t,{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new qo(e,this.ngControl,i,t,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=r==null?0:parseInt(r)||0,this._popoverLocation=a?.usePopover===!1?null:"inline",this.id=this.id}ngOnInit(){this._selectionModel=new No(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(ce(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(ce(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Pe(null),ce(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?i.setAttribute("aria-labelledby",e):i.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval),e.panelClass&&this.panelClass instanceof Set&&(this.panelClass=Array.from(this.panelClass))}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(Me(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&<(this._trackedModal,"aria-owns",t),Ut(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;lt(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{t(),clearTimeout(i),this._cleanupDetach=void 0};let e=this.panel.nativeElement,t=this._renderer.listen(e,"animationend",r=>{r.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),i=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,i=t===40||t===38||t===37||t===39,r=t===13||t===32,a=this._keyManager;if(!a.isTyping()&&r&&!z(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;a.onKeydown(e);let c=this.selected;c&&l!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,i=e.keyCode,r=i===40||i===38,a=t.isTyping();if(r&&e.altKey)e.preventDefault(),this.close();else if(!a&&(i===13||i===32)&&t.activeItem&&!z(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!a&&this._multiple&&i===65&&e.ctrlKey){e.preventDefault();let l=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(l?c.select():c.deselect())})}else{let l=t.activeItemIndex;t.onKeydown(e),this._multiple&&r&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==l&&t.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!z(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return(i.value!=null||this.canSelectNullableOptions)&&this._compareWith(i.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Et?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}
457_initKeyManager(){this._keyManager=new Ct(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=Oe(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ce(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Oe(...this.options.map(t=>t._stateChanges)).pipe(ce(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let i=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t<this.options.length;t++)if(!this.options.get(t).disabled){e=t;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby")}onContainerClick(e){let t=we(e);t&&(t.tagName==="MAT-OPTION"||t.classList.contains("cdk-overlay-backdrop")||t.closest(".mat-mdc-select-panel"))||(this.focus(),this.open())}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["mat-select"]],contentQueries:function(t,i,r){if(t&1&&st(r,Za,5)(r,$,5)(r,Nt,5),t&2){let a;M(a=R())&&(i.customTrigger=a.first),M(a=R())&&(i.options=a),M(a=R())&&(i.optionGroups=a)}},viewQuery:function(t,i){if(t&1&&Fe(za,5)(ja,5)(Vi,5),t&2){let r;M(r=R())&&(i.trigger=r.first),M(r=R())&&(i.panel=r.first),M(r=R())&&(i._overlayDir=r.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(t,i){t&1&&W("keydown",function(a){return i._handleKeydown(a)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),t&2&&(H("id",i.id)("tabindex",i.disabled?-1:i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),I("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple)("mat-select-open",i.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",b],disableRipple:[2,"disableRipple","disableRipple",b],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:pn(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",b],placeholder:"placeholder",required:[2,"required","required",b],multiple:[2,"multiple","multiple",b],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",b],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",pn],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",b]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[F([{provide:$o,useExisting:n},{provide:it,useExisting:n}]),me],ngContentSelectors:Ya,decls:11,vars:10,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions","cdkConnectedOverlayUsePopover"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",1,"mat-mdc-select-panel","mdc-menu-surface","mdc-menu-surface--open",3,"keydown"]],template:function(t,i){if(t&1&&(fe(Wa),d(0,"div",2,0),W("
457click",function(){return i.open()}),d(3,"div",3),de(4,Xa,2,1,"span",4)(5,Ga,3,1,"span",5),h(),d(6,"div",6)(7,"div",7),ci(),d(8,"svg",8),A(9,"path",9),h()()()(),P(10,qa,3,16,"ng-template",10),W("detach",function(){return i.close()})("backdropClick",function(){return i.close()})("overlayKeydown",function(a){return i._handleOverlayKeydown(a)})),t&2){let r=_t(1);f(3),H("id",i._valueId),f(),he(i.empty?4:5),f(6),v("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||r)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)("cdkConnectedOverlayUsePopover",i._popoverLocation)}},dependencies:[Et,Vi],styles:[`@keyframes _mat-select-enter { 458 from { 459 opacity: 0; 460 transform: scaleY(0.8); 461 } 462 to { 463 opacity: 1; 464 transform: none; 465 } 466} 467@keyframes _mat-select-exit { 468 from { 469 opacity: 1; 470 } 471 to { 472 opacity: 0; 473 } 474} 475.mat-mdc-select { 476 display: inline-block; 477 width: 100%; 478 outline: none; 479 -moz-osx-font-smoothing: grayscale; 480 -webkit-font-smoothing: antialiased; 481 color: var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface)); 482 font-family: var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font)); 483 line-height: var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height)); 484 font-size: var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size)); 485 font-weight: var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight)); 486 letter-spacing: var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking)); 487} 488 489div.mat-mdc-select-panel { 490 box-shadow: var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)); 491} 492 493.mat-mdc-select-disabled { 494 color: var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 495} 496.mat-mdc-select-disabled .mat-mdc-select-placeholder { 497 color: var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 498} 499 500.mat-mdc-select-trigger { 501 display: inline-flex; 502 align-items: center; 503 cursor: pointer; 504 position: relative; 505 box-sizing: border-box; 506 width: 100%; 507} 508.mat-mdc-select-disabled .mat-mdc-select-trigger { 509 -webkit-user-select: none; 510 user-select: none; 511 cursor: default; 512} 513 514.mat-mdc-select-value { 515 width: 100%; 516 overflow: hidden; 517 text-overflow: ellipsis; 518 white-space: nowrap; 519} 520 521.mat-mdc-select-value-text { 522 white-space: nowrap; 523 overflow: hidden; 524 text-overflow: ellipsis; 525} 526 527.mat-mdc-select-arrow-wrapper { 528 height: 24px; 529 flex-shrink: 0; 530 display: inline-flex; 531 align-items: center; 532} 533.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper { 534 transform: none; 535} 536 537.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow, 538.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after { 539 color: var(--mat-select-invalid-arrow-color, var(--mat-sys-error)); 540} 541 542.mat-mdc-select-arrow { 543 width: 10px; 544 height: 5px; 545 position: relative; 546 color: var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant)); 547} 548.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow { 549 color: var(--mat-select-focused-arrow-color, var(--mat-sys-primary)); 550} 551.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow { 552 color: var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 553} 554.mat-select-open .mat-mdc-select-arrow { 555 transform: rotate(180deg); 556} 557.mat-form-field-animations-enabled .mat-mdc-select-arrow { 558 transition: transform 80ms linear; 559} 560.mat-mdc-select-arrow svg { 561 fill: currentColor; 562 position: absolute; 563 top: 50%; 564 left: 50%; 565 transform: translate(-50%, -50%); 566} 567@media (forced-colors: active) { 568 .mat-mdc-select-arrow svg { 569 fill: CanvasText; 570 } 571 .mat-mdc-select-disabled .mat-mdc-select-arrow svg { 572 fill: GrayText; 573 } 574} 575 576div.mat-mdc-select-panel { 577 width: 100%; 578 max-height: 275px; 579 outline: 0; 580 overflow: auto; 581 padding: 8px 0; 582 box-sizing: border-box; 583 transform-origin: top center; 584 border-radius: 0 0 4px 4px; 585 position: relative; 586 background-color: var(--mat-select-panel-background-color, var(--mat-sys-surface-container)); 587} 588.mat-mdc-select-panel-above div.mat-mdc-select-panel { 589 border-radius: 4px 4px 0 0; 590 transform-origin: bottom center; 591} 592@media (forced-colors: active) { 593 div.mat-mdc-select-panel { 594 outline: solid 1px; 595 } 596} 597 598.mat-select-panel-animations-enabled { 599 animation: _mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1); 600} 601.mat-select-panel-animations-enabled.mat-select-panel-exit { 602 animation: _mat-select-exit 100ms linear; 603} 604 605.mat-mdc-select-placeholder { 606 transition: color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1); 607 color: var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant)); 608} 609.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder, ._mat-animation-noopable .mat-mdc-select-placeholder { 610 transition: none; 611} 612.mat-form-field-hide-placeholder .mat-mdc-select-placeholder { 613 color: transparent; 614 -webkit-text-fill-color: transparent; 615 transition: none; 616 display: block; 617} 618 619.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper { 620 cursor: pointer; 621} 622.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label { 623 max-width: calc(100% - 18px); 624} 625.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above { 626 max-width: calc(100% / 0.75 - 24px); 627} 628.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch { 629 max-width: calc(100% - 60px); 630} 631.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch { 632 max-width: calc(100% - 24px); 633} 634 635.mat-mdc-select-min-line:empty::before { 636 content: " "; 637 white-space: pre; 638 width: 1px; 639 display: inline-block; 640 visibility: hidden; 641} 642 643.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper { 644 transform: var(--mat-select-arrow-transform, translateY(-8px)); 645} 646`],encapsulation:2,changeDetection:0})}return n})();var Wi=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=B({type:n});static \u0275inj=L({imports:[ze,We,ge,Mt,St,We]})}return n})();var nt=class extends Xo{scrollbarAnywhere=s(Uo);computedOptions=Ne(()=>({withButtons:this.withButtons(),position:this.position(),visibility:this.visibility(),appearance:this.appearance(),thumbClass:this.thumbClass(),trackClass:this.trackClass(),buttonClass:this.buttonClass(),hoverOffset:this.hoverOffset(),orientation:this.orientation(),disableSensor:this.disableSensor(),sensorThrottleTime:this.sensorThrottleTime(),disableInteraction:this.disableInteraction(),trackScrollDuration:this.trackScrollDuration()}));scrollbarRef;afterInitSub;afterUpdateSub;init(o){if(this.scrollbarRef=this.scrollbarAnywhere.createScrollbar(o,this.computedOptions()),this.scrollbarRef){let e=this.scrollbarRef.componentRef.instance;e.nativeElement.style.setProperty("--_viewport-padding-block-start","8px"),e.nativeElement.style.setProperty("--_viewport-padding-block-end","8px"),this.afterInitSub=e.adapter.afterInit.subscribe(()=>this.afterInit.emit()),this.afterUpdateSub=e.adapter.afterUpdate.subscribe(()=>this.afterUpdate.emit())}}destroy(){this.afterInitSub?.unsubscribe(),this.afterUpdateSub?.unsubscribe(),this.scrollbarRef?.destroy(),this.scrollbarRef=null}};var Yi=class n extends nt{matSelect=s(ji,{self:!0});constructor(){super(),this.matSelect.openedChange.pipe(kt()).subscribe(o=>{o?this.init(`#${this.matSelect.id}-panel`):this.destroy()})}static \u0275fac=function(e){return new(e||n)};static \u0275dir=g({type:n,selectors:[["mat-select","matSelectScrollbar",""]],features:[S]})};var Xi=class n{scrollbar=s(Ko);constructor(){Ke(()=>{this.scrollbar.initialized()&&(this.scrollbar.contentWrapperElement.classList.add("mat-mdc-dialog-content"),this.scrollbar.contentWrapperElement.style.maxHeight="unset",this.scrollbar.contentWrapperElement.style.overflow="unset",this.scrollbar.contentWrapperElement.style.display="flow-root",this.scrollbar.viewportElement.parentElement.parentElement.querySelector("[mat-dialog-title], [matDialogTitle]")&&(this.scrollbar.contentWrapperElement.style.paddingTop="0"))})}static \u0275fac=function(e){return new(e||n)};static \u0275dir=g({type:n,selectors:[["mat-dialog-content","ngScrollbar",""]],hostVars:2,hostBindings:function(e,t){e&2&&mi("padding",0)}})};var es=["panelTemplate"],ts=(n,o)=>o.value;function is(n,o){if(n&1){let e=Yt();d(0,"mat-option",3),W("onSelectionChange",function(i){Ht(e);let r=N(2);return zt(r._selectValue(i.source))}),p(1),h()}if(n&2){let e=o.$implicit;v("value",e.value),f(),ve(e.label)}}function ns(n,o){if(n&1){let e=Yt();d(0,"div",1),W("animationend",function(i){Ht(e);let r=N();return zt(r._handleAnimationEnd(i))}),ft(1,is,2,2,"mat-option",2,ts),h()}if(n&2){let e=N();I("mat-timepicker-panel-animations-enabled",!e._animationsDisabled)("mat-timepicker-panel-exit",!e.isOpen()),v("id",e.panelId),H("aria-label",e.ariaLabel()||null)("aria-labelledby",e._getAriaLabelledby()),f(),gt(e._timeOptions)}}var os=[[["","matTimepickerToggleIcon",""]]],rs=["[matTimepickerToggleIcon]"];function as(n,o){n&1&&(ci(),d(0,"svg",1),A(1,"path",2),h())}var ss=/^(\d*\.?\d+)\s*(h|hour|hours|m|min|minute|minutes|s|second|seconds)?$/i,Nr=new k("MAT_TIMEPICKER_CONFIG");function Fr(n){let o;if(n===null)return null;if(typeof n=="number")o=n;else{if(n.trim().length===0)return null;let e=n.match(ss),t=e?parseFloat(e[1]):null,i=e?.[2]?.toLowerCase()||null;if(!e||t===null||isNaN(t))return null;i==="h"||i==="hour"||i==="hours"?o=t*3600:i==="m"||i==="min"||i==="minute"||i==="minutes"?o=t*60:o=t}return o}function ls(n,o,e,t,i){let r=[],a=n.compareTime(e,t)<1?e:t;for(;n.sameDate(a,e)&&n.compareTime(a,t)<1&&n.isValid(a);)r.push({value:a,label:n.format(a,o.display.timeOptionLabel)}),a=n.addSeconds(a,i);return r}var cs=new k("MAT_TIMEPICKER_SCROLL_STRATEGY",{providedIn:"root",factory:()=>{let n=s(O);return()=>Be(n)}}),oi=(()=>{class n{_dir=s(ie,{optional:!0});
646_viewContainerRef=s(ue);_injector=s(O);_defaultConfig=s(Nr,{optional:!0});_dateAdapter=s(et,{optional:!0});_dateFormats=s(ti,{optional:!0});_scrollStrategyFactory=s(cs);_animationsDisabled=Ae();_isOpen=be(!1);_activeDescendant=be(null);_input=be(null);_overlayRef=null;_portal=null;_optionsCacheKey=null;_localeChanges;_onOpenRender=null;_panelTemplate=ho.required("panelTemplate");_timeOptions=[];_options=po($);_keyManager=new Ct(this._options,this._injector).withHomeAndEnd(!0).withPageUpDown(!0).withVerticalOrientation(!0);interval=X(Fr(this._defaultConfig?.interval||null),{transform:Fr});options=X(null);isOpen=this._isOpen.asReadonly();selected=fi();opened=fi();closed=fi();activeDescendant=this._activeDescendant.asReadonly();panelId=s(Q).getId("mat-timepicker-panel-");disableRipple=X(this._defaultConfig?.disableRipple??!1,{transform:b});ariaLabel=X(null,{alias:"aria-label"});ariaLabelledby=X(null,{alias:"aria-labelledby"});disabled=Ne(()=>!!this._input()?.disabled());panelClass=X();constructor(){s(x).nativeElement.setAttribute("mat-timepicker-panel-id",this.panelId),this._handleLocaleChanges(),this._handleInputStateChanges(),this._keyManager.change.subscribe(()=>this._activeDescendant.set(this._keyManager.activeItem?.id||null))}open(){let e=this._input();if(!e||(e.focus(),this._isOpen()))return;this._isOpen.set(!0),this._generateOptions();let t=this._getOverlayRef();t.updateSize({width:e.getOverlayOrigin().nativeElement.offsetWidth}),this._portal??=new Qe(this._panelTemplate(),this._viewContainerRef),t.hasAttached()||t.attach(this._portal),this._onOpenRender?.destroy(),this._onOpenRender=ee(()=>{let i=this._options();this._syncSelectedState(e.value(),i,i[0]),this._onOpenRender=null},{injector:this._injector}),this.opened.emit()}close(){this._isOpen()&&(this._isOpen.set(!1),this.closed.emit(),this._animationsDisabled&&this._overlayRef?.detach())}registerInput(e){let t=this._input();this._input.set(e)}ngOnDestroy(){this._keyManager.destroy(),this._localeChanges?.unsubscribe(),this._onOpenRender?.destroy(),this._overlayRef?.dispose()}_getOverlayHost(){return this._overlayRef?.hostElement}_selectValue(e){this.close(),this._keyManager.setActiveItem(e),this._options().forEach(t=>{t!==e&&t.deselect(!1)}),this._input()?.timepickerValueAssigned(e.value),this.selected.emit({value:e.value,source:this}),this._input()?.focus()}_getAriaLabelledby(){return this.ariaLabel()?null:this.ariaLabelledby()||this._input()?.getLabelId()||null}_handleAnimationEnd(e){e.animationName==="_mat-timepicker-exit"&&this._overlayRef?.detach()}_getOverlayRef(){if(this._overlayRef)return this._overlayRef;let e=ht(this._injector,this._input().getOverlayOrigin()).withFlexibleDimensions(!1).withPush(!1).withTransformOriginOn(".mat-timepicker-panel").withPopoverLocation("inline").withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-timepicker-above"}]);return this._overlayRef=He(this._injector,{positionStrategy:e,scrollStrategy:this._scrollStrategyFactory(),direction:this._dir||"ltr",hasBackdrop:!1,disableAnimations:this._animationsDisabled,panelClass:this.panelClass()}),this._overlayRef.detachments().subscribe(()=>this.close()),this._overlayRef.keydownEvents().subscribe(t=>this._handleKeydown(t)),this._overlayRef.outsidePointerEvents().subscribe(t=>{let i=we(t),r=this._input()?.getOverlayOrigin().nativeElement;i&&r&&i!==r&&!r.contains(i)&&this.close()}),this._overlayRef}_generateOptions(){let e=this.interval()??1800,t=this.options();if(t!==null)this._timeOptions=t;else{let i=this._input(),r=this._dateAdapter,a=this._dateFormats.display.timeInput,l=i?.min()||r.setTime(r.today(),0,0,0),c=i?.max()||r.setTime(r.today(),23,59,0),m=e+"/"+r.format(l,a)+"/"+r.format(c,a);m!==this._optionsCacheKey&&(this._optionsCacheKey=m,this._timeOptions=ls(r,this._dateFormats,l,c,e))}}_syncSelectedState(e,t,i){let r=!1;for(let a of t)e&&this._dateAdapter.sameTime(a.value,e)?(a.select(!1),En(a,"center"),yt(()=>this._keyManager.setActiveItem(a)),r=!0):a.deselect(!1);r||(i?(yt(()=>this._keyManager.setActiveItem(i)),En(i,"center")):yt(()=>this._keyManager.setActiveItem(-1)))}_handleKeydown(e){let t=e.keyCode;if(t===9)this.close();else if(t===27&&!z(e))e.preventDefault(),this.close();else if(t===13)e.preventDefault(),this._keyManager.activeItem?this._selectValue(this._keyManager.activeItem):this.close();else{let i=this._keyManager.activeItem;this._keyManager.onKeydown(e);let r=this._keyManager.activeItem;r&&r!==i&&En(r,"nearest")}}_handleLocaleChanges(){this._localeChanges=this._dateAdapter.localeChanges.subscribe(()=>{this._optionsCacheKey=null,this.isOpen()&&this._generateOptions()})}_handleInputStateChanges(){Ke(()=>{let e=this._input(),t=this._options();this._isOpen()&&e&&this._syncSelectedState(e.value(),t,null)})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["mat-timepicker"]],viewQuery:function(t,i){t&1&&so(i._panelTemplate,es,5)(i._options,$,5),t&2&&pi(2)},inputs:{interval:[1,"interval"],options:[1,"options"],disableRipple:[1,"disableRipple"],ariaLabel:[1,"aria-label","ariaLabel"],ariaLabelledby:[1,"aria-labelledby","ariaLabelledby"],panelClass:[1,"panelClass"]},outputs:{selected:"selected",opened:"opened",closed:"closed"},exportAs:["matTimepicker"],features:[F([{provide:it,useExisting:n}])],decls:2,vars:0,consts:[["panelTemplate",""],["role","listbox",1,"mat-timepicker-panel",3,"animationend","id"],[3,"value"],[3,"onSelectionChange","value"]],template:function(t,i){t&1&&P(0,ns,3,7,"ng-template",null,0,lo)},dependencies:[$],styles:[`@keyframes _mat-timepicker-enter { 647 from { 648 opacity: 0; 649 transform: scaleY(0.8); 650 } 651 to { 652 opacity: 1; 653 transform: none; 654 } 655} 656@keyframes _mat-timepicker-exit { 657 from { 658 opacity: 1; 659 } 660 to { 661 opacity: 0; 662 } 663} 664mat-timepicker { 665 display: none; 666} 667 668.mat-timepicker-panel { 669 width: 100%; 670 max-height: 256px; 671 transform-origin: center top; 672 overflow: auto; 673 padding: 8px 0; 674 box-sizing: border-box; 675 position: relative; 676 border-bottom-left-radius: var(--mat-timepicker-container-shape, var(--mat-sys-corner-extra-small)); 677 border-bottom-right-radius: var(--mat-timepicker-container-shape, var(--mat-sys-corner-extra-small)); 678 box-shadow: var(--mat-timepicker-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)); 679 background-color: var(--mat-timepicker-container-background-color, var(--mat-sys-surface-container)); 680} 681@media (forced-colors: active) { 682 .mat-timepicker-panel { 683 outline: solid 1px; 684 } 685} 686.mat-timepicker-above .mat-timepicker-panel { 687 border-bottom-left-radius: 0; 688 border-bottom-right-radius: 0; 689 border-top-left-radius: var(--mat-timepicker-container-shape, var(--mat-sys-corner-extra-small)); 690 border-top-right-radius: var(--mat-timepicker-container-shape, var(--mat-sys-corner-extra-small)); 691} 692 693.mat-timepicker-panel-animations-enabled { 694 animation: _mat-timepicker-enter 120ms cubic-bezier(0, 0, 0.2, 1); 695} 696.mat-timepicker-panel-animations-enabled.mat-timepicker-panel-exit { 697 animation: _mat-timepicker-exit 100ms linear; 698} 699 700.mat-timepicker-input[readonly] { 701 cursor: pointer; 702} 703 704@media (forced-colors: active) { 705 .mat-timepicker-toggle-default-icon { 706 color: CanvasText; 707 } 708} 709`],encapsulation:2,changeDetection:0})}return n})();function En(n,o){n._getHostElement().scrollIntoView({block:o,inline:o})}var Vr=(()=>{class n{_elementRef=s(x);_dateAdapter=s(et,{optional:!0});_dateFormats=s(ti,{optional:!0});_formField=s(Dt,{optional:!0});_onChange;_onTouched;_validatorOnChange;_cleanupClick;_accessorDisabled=be(!1);_localeSubscription;_timepickerSubscription;_validator;
709_lastValueValid=!0;_minValid=!0;_maxValid=!0;_lastValidDate=null;_ariaActiveDescendant=Ne(()=>{let e=this.timepicker(),t=e.isOpen(),i=e.activeDescendant();return t&&i?i:null});_ariaExpanded=Ne(()=>this.timepicker().isOpen()+"");_ariaControls=Ne(()=>{let e=this.timepicker();return e.isOpen()?e.panelId:null});value=mo(null);timepicker=X.required({alias:"matTimepicker"});min=X(null,{alias:"matTimepickerMin",transform:e=>this._transformDateInput(e)});max=X(null,{alias:"matTimepickerMax",transform:e=>this._transformDateInput(e)});openOnClick=X(!0,{alias:"matTimepickerOpenOnClick",transform:b});disabled=Ne(()=>this.disabledInput()||this._accessorDisabled());disabledInput=X(!1,{transform:b,alias:"disabled"});constructor(){let e=s(Ee);this._validator=this._getValidator(),this._updateFormsState(),this._registerTimepicker(),this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._hasFocus()||this._formatValue(this.value())}),this._cleanupClick=e.listen(this.getOverlayOrigin().nativeElement,"click",this._handleClick)}writeValue(e){let t=this._dateAdapter.deserialize(e);this.value.set(this._dateAdapter.getValidDateOrNull(t))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._accessorDisabled.set(e)}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._validatorOnChange=e}getOverlayOrigin(){return this._formField?.getConnectedOverlayOrigin()||this._elementRef}focus(){this._elementRef.nativeElement.focus()}ngOnDestroy(){this._cleanupClick(),this._timepickerSubscription?.unsubscribe(),this._localeSubscription.unsubscribe()}getLabelId(){return this._formField?.getLabelId()||null}_handleClick=e=>{if(this.disabled()||!this.openOnClick())return;let t=we(e),i=this.timepicker()._getOverlayHost();(!t||!i||!i.contains(t))&&this.timepicker().open()};_handleInput(e){let t=e.target.value,i=this.value(),r=this._dateAdapter.parseTime(t,this._dateFormats.parse.timeInput),a=!this._dateAdapter.sameTime(r,i);!r||a||t&&!i?this._assignUserSelection(r,!0):this._validatorOnChange?.()}_handleBlur(){let e=this.value();e&&this._isValid(e)&&this._formatValue(e),this.timepicker().isOpen()||this._onTouched?.()}_handleKeydown(e){this.timepicker().isOpen()||this.disabled()||(e.keyCode===27&&!z(e)&&this.value()!==null?(e.preventDefault(),this.value.set(null),this._formatValue(null)):(e.keyCode===40||e.keyCode===38)&&(e.preventDefault(),this.timepicker().open()))}timepickerValueAssigned(e){this._dateAdapter.sameTime(e,this.value())||(this._assignUserSelection(e,!0),this._formatValue(e))}_updateFormsState(){Ke(()=>{let{_dateAdapter:e,_lastValueValid:t,_minValid:i,_maxValid:r}=this,a=e.deserialize(this.value()),l=this.min(),c=this.max(),m=this._lastValueValid=this._isValid(a);this._minValid=!l||!a||!m||e.compareTime(l,a)<=0,this._maxValid=!c||!a||!m||e.compareTime(c,a)>=0;let u=t!==m||i!==this._minValid||r!==this._maxValid;this._hasFocus()||this._formatValue(a),a&&m&&(this._lastValidDate=a),u&&this._validatorOnChange?.()})}_registerTimepicker(){Ke(()=>{let e=this.timepicker();e.registerInput(this),e.closed.subscribe(()=>this._onTouched?.())})}_assignUserSelection(e,t){let i;if(e==null||!this._isValid(e))i=e;else{let r=this._dateAdapter,a=r.getValidDateOrNull(this._lastValidDate||this.value()),l=r.getHours(e),c=r.getMinutes(e),m=r.getSeconds(e);i=a?r.setTime(a,l,c,m):e}t&&this._onChange?.(i),this.value.set(i)}_formatValue(e){e=this._dateAdapter.getValidDateOrNull(e),this._elementRef.nativeElement.value=e==null?"":this._dateAdapter.format(e,this._dateFormats.display.timeInput)}_isValid(e){return!e||this._dateAdapter.isValid(e)}_transformDateInput(e){let t=typeof e=="string"?this._dateAdapter.parseTime(e,this._dateFormats.parse.timeInput):this._dateAdapter.deserialize(e);return t&&this._dateAdapter.isValid(t)?t:null}_hasFocus(){return Ue()===this._elementRef.nativeElement}_getValidator(){return _i.compose([()=>this._lastValueValid?null:{matTimepickerParse:{text:this._elementRef.nativeElement.value}},e=>this._minValid?null:{matTimepickerMin:{min:this.min(),actual:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value))}},e=>this._maxValid?null:{matTimepickerMax:{max:this.max(),actual:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value))}}])}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["input","matTimepicker",""]],hostAttrs:["role","combobox","type","text","aria-haspopup","listbox",1,"mat-timepicker-input"],hostVars:5,hostBindings:function(t,i){if(t&1&&W("blur",function(){return i._handleBlur()})("input",function(a){return i._handleInput(a)})("keydown",function(a){return i._handleKeydown(a)}),t&2){let r;Ie("disabled",i.disabled()),H("aria-activedescendant",i._ariaActiveDescendant())("aria-expanded",i._ariaExpanded())("aria-controls",i._ariaControl
709s())("mat-timepicker-id",(r=i.timepicker())==null?null:r.panelId)}},inputs:{value:[1,"value"],timepicker:[1,"matTimepicker","timepicker"],min:[1,"matTimepickerMin","min"],max:[1,"matTimepickerMax","max"],openOnClick:[1,"matTimepickerOpenOnClick","openOnClick"],disabledInput:[1,"disabled","disabledInput"]},outputs:{value:"valueChange"},exportAs:["matTimepickerInput"],features:[F([{provide:gi,useExisting:n,multi:!0},{provide:_o,useExisting:n,multi:!0},{provide:Jo,useExisting:n}])]})}return n})(),An=(()=>{class n{_defaultConfig=s(Nr,{optional:!0});_defaultTabIndex=(()=>{let e=s(new bt("tabindex"),{optional:!0}),t=Number(e);return isNaN(t)?null:t})();_isDisabled=Ne(()=>{let e=this.timepicker();return this.disabled()||e.disabled()});timepicker=X.required({alias:"for"});ariaLabel=X(void 0,{alias:"aria-label"});ariaLabelledby=X(void 0,{alias:"aria-labelledby"});_defaultAriaLabel="Open timepicker options";disabled=X(!1,{transform:b,alias:"disabled"});tabIndex=X(this._defaultTabIndex);disableRipple=X(this._defaultConfig?.disableRipple??!1,{transform:b});_open(e){this.timepicker()&&!this._isDisabled()&&(this.timepicker().open(),e.stopPropagation())}getAriaLabel(){return this.ariaLabelledby()?null:this.ariaLabel()||this._defaultAriaLabel}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["mat-timepicker-toggle"]],hostAttrs:[1,"mat-timepicker-toggle"],hostVars:1,hostBindings:function(t,i){t&1&&W("click",function(a){return i._open(a)}),t&2&&H("tabindex",null)},inputs:{timepicker:[1,"for","timepicker"],ariaLabel:[1,"aria-label","ariaLabel"],ariaLabelledby:[1,"aria-labelledby","ariaLabelledby"],disabled:[1,"disabled"],tabIndex:[1,"tabIndex"],disableRipple:[1,"disableRipple"]},exportAs:["matTimepickerToggle"],ngContentSelectors:rs,decls:3,vars:6,consts:[["matIconButton","","type","button","aria-haspopup","listbox",3,"tabIndex","disabled","disableRipple"],["height","24px","width","24px","viewBox","0 -960 960 960","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-timepicker-toggle-default-icon"],["d","m612-292 56-56-148-148v-184h-80v216l172 172ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-400Zm0 320q133 0 226.5-93.5T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160Z"]],template:function(t,i){t&1&&(fe(os),d(0,"button",0),Y(1,0,null,as,2,0),h()),t&2&&(v("tabIndex",i._isDisabled()?-1:i.tabIndex())("disabled",i._isDisabled())("disableRipple",i.disableRipple()),H("aria-label",i.getAriaLabel())("aria-labelledby",i.ariaLabelledby())("aria-expanded",i.timepicker().isOpen()))},dependencies:[Zo],encapsulation:2,changeDetection:0})}return n})(),Lr=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=B({type:n});static \u0275inj=L({imports:[oi,An,Mt]})}return n})();var Ki=class n extends nt{matTimepicker=s(oi,{self:!0});constructor(){super(),gn(this.matTimepicker.opened).pipe(pe(()=>(this.init(`#${this.matTimepicker.panelId}`),gn(this.matTimepicker.closed))),pe(()=>this.matTimepicker._animationsDisabled?Ye({}):Qn(this.scrollbarRef.componentRef.instance.nativeElement,"animationend")),ot(()=>this.destroy()),kt()).subscribe()}static \u0275fac=function(e){return new(e||n)};static \u0275dir=g({type:n,selectors:[["mat-timepicker","matTimepickerScrollbar",""]],features:[S]})};var hs=["panel"],ps=["*"];function ms(n,o){if(n&1&&(jt(0,"div",1,0),Y(2),Wt()),n&2){let e=o.id,t=N();ui(t._classList),I("mat-mdc-autocomplete-visible",t.showPanel)("mat-mdc-autocomplete-hidden",!t.showPanel)("mat-autocomplete-panel-animations-enabled",!t._animationsDisabled)("mat-primary",t._color==="primary")("mat-accent",t._color==="accent")("mat-warn",t._color==="warn"),Ie("id",t.id),H("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(e))}}var Pn=class{source;option;constructor(o,e){this.source=o,this.option=e}},Br=new k("mat-autocomplete-default-options",{providedIn:"root",factory:()=>({autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1})}),Ui=(()=>{class n{_changeDetectorRef=s(Ce);_elementRef=s(x);_defaults=s(Br);_animationsDisabled=Ae();_activeOptionChanges=_e.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple=!1;optionSelected=new T;opened=new T;closed=new T;optionActivated=new T;set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}id=s(Q).getId("mat-autocomplete-");inertGroups;constructor(){let e=s(Te);this.inertGroups=e?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}
vendor: 13,176 bytes, lines 709-763
709ngAfterContentInit(){this._keyManager=new Ct(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let t=new Pn(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_skipPredicate(){return!1}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(t,i,r){if(t&1&&st(r,$,5)(r,Nt,5),t&2){let a;M(a=R())&&(i.options=a),M(a=R())&&(i.optionGroups=a)}},viewQuery:function(t,i){if(t&1&&Fe(G,7)(hs,5),t&2){let r;M(r=R())&&(i.template=r.first),M(r=R())&&(i.panel=r.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",b],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",b],requireSelection:[2,"requireSelection","requireSelection",b],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",b],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",b]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[F([{provide:it,useExisting:n}])],ngContentSelectors:ps,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(t,i){t&1&&(fe(),no(0,ms,3,17,"ng-template"))},styles:[`div.mat-mdc-autocomplete-panel { 710 width: 100%; 711 max-height: 256px; 712 visibility: hidden; 713 transform-origin: center top; 714 overflow: auto; 715 padding: 8px 0; 716 box-sizing: border-box; 717 position: relative; 718 border-radius: var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small)); 719 box-shadow: var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)); 720 background-color: var(--mat-autocomplete-background-color, var(--mat-sys-surface-container)); 721} 722@media (forced-colors: active) { 723 div.mat-mdc-autocomplete-panel { 724 outline: solid 1px; 725 } 726} 727.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel { 728 border-top-left-radius: 0; 729 border-top-right-radius: 0; 730} 731.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel { 732 border-bottom-left-radius: 0; 733 border-bottom-right-radius: 0; 734 transform-origin: center bottom; 735} 736div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible { 737 visibility: visible; 738} 739 740div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden, 741.cdk-overlay-pane:has(> .mat-mdc-autocomplete-hidden) { 742 visibility: hidden; 743 pointer-events: none; 744} 745 746@keyframes _mat-autocomplete-enter { 747 from { 748 opacity: 0; 749 transform: scaleY(0.8); 750 } 751 to { 752 opacity: 1; 753 transform: none; 754 } 755} 756.mat-autocomplete-panel-animations-enabled { 757 animation: _mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1); 758} 759 760mat-autocomplete { 761 display: none; 762} 763`],encapsulation:2,changeDetection:0})}return n})();var us={provide:gi,useExisting:eo(()=>In),multi:!0};var fs=new k("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let n=s(O);return()=>Be(n)}}),In=(()=>{class n{_environmentInjector=s(li);_element=s(x);_injector=s(O);_viewContainerRef=s(ue);_zone=s(ye);_changeDetectorRef=s(Ce);_dir=s(ie,{optional:!0});_formField=s(Dt,{optional:!0,host:!0});_viewportRuler=s(ke);_scrollStrategy=s(fs);_renderer=s(Ee);_animationsDisabled=Ae();_defaults=s(Br,{optional:!0});_overlayRef=null;_portal;_componentDestroyed=!1;_initialized=new w;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue=null;_valueOnAttach=null;_valueOnLastKeydown=null;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=_e.EMPTY;_breakpointObserver=s(Ro);_handsetLandscapeSubscription=_e.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption=null;_closeKeyEventStream=new w;_overlayPanelClass=Kt(this._defaults?.overlayPanelClass||[]);_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled=!1;constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&<(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Oe(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(le(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(le(()=>this._overlayAttached)):Ye()).pipe(Bt(e=>e instanceof Ft?e:null))}optionSelections=Xe(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(Pe(e),pe(()=>Oe(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(pe(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new cn(e=>{let t=r=>{let a=we(r),l=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,c=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&a!==this._element.nativeElement&&!this._hasFocus()&&(!l||!l.contains(a))&&(!c||!c.contains(a))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(a)&&e.next(r)},i=[this._renderer.listen("document","click",t),this._renderer.listen("document","auxclick",t),this._renderer.listen("document","touchend",t)];return()=>{i.forEach(r=>r())}})}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let t=e,i=t.keyCode,r=z(t);if(i===27&&!r&&t.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&i===13&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,l=i===38||i===40;i===9||l&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(t):l&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(l||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let t=e.target,i=t.value;if(t.type==="number"&&(i=i==""?null:parseFloat(i)),this._previousValue!==i){if(this._previousValue=i,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(i),!i)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let r=this.autocomplete.options?.find(a=>a.selected);if(r){let a=this._getDisplayValue(r.value);i!==a&&r.deselect(!1)}}if(this._canOpen()&&this._hasFocus()){let r=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(r)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return Ue()===this._element.nativeElement}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new cn(i=>{ee(()=>{i.next()},{injector:this._environmentInjector})}),t=this.autocomplete.options?.changes.pipe(ot(()=>this._positionStrategy.reapplyLastPosition()),Zn(0))??Ye();return Oe(e,t).pipe(pe(()=>this._zone.run(()=>{let i=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),i!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Me(1)).subscribe(i=>this._setValueAndClose(i))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let t=this.autocomplete;return t&&t.displayWith?t.displayWith(e):e}_assignOptionValue(e){let t=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(t??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let t=this.autocomplete,i=e?e.source:this._pendingAutoselectedOption;i?(this._clearPreviousSelectedOption(i),this._assignOptionValue(i.value),this._onChange(i.value),t._emitSelectEvent(i),this._element.nativeElement.focus()):t.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,t){this.autocomplete?.options?.forEach(i=>{i!==e&&i.selected&&i.deselect(t)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let t=this.autocomplete.id;Ut(this._trackedModal,"aria-owns",t)}}_attachOverlay(e){if(!this.autocomplete)return;let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new Qe(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),t=He(this._injector,this._getOverlayConfig()),this._overlayRef=t,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(Lo.HandsetLandscape).subscribe(r=>{r.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),t&&!t.hasAttached()&&(t.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let i=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&i!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=e=>{(e.keyCode===27&&!z(e)||e.keyCode===38&&z(e,"altKey"))&&(this._pe
763ndingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),e.stopPropagation(),e.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=void 0}_getOverlayConfig(){return new Le({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this._overlayPanelClass,disableAnimations:this._animationsDisabled})}_getOverlayPosition(){let e=ht(this._injector,this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPopoverLocation("inline");return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],i=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:i},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:i}],a;this.position==="above"?a=r:this.position==="below"?a=t:a=[...t,...r],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let t=-1;for(let i=0;i<e.options.length;i++)if(!e.options.get(i).disabled){t=i;break}e._keyManager.setActiveItem(t)}else e._keyManager.setActiveItem(-1)}_canOpen(){let e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this.autocompleteDisabled}_scrollToOption(e){let t=this.autocomplete,i=ii(e,t.options,t.optionGroups);if(e===0&&i===1)t._setScrollTop(0);else if(t.panel){let r=t.options.toArray()[e];if(r){let a=r._getHostElement(),l=ni(a.offsetTop,a.offsetHeight,t._getScrollTop(),t.panel.nativeElement.offsetHeight);t._setScrollTop(l)}}}_trackedModal=null;_applyModalPanelOwnership(){let e=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=this.autocomplete.id;this._trackedModal&<(this._trackedModal,"aria-owns",t),Ut(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;lt(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(t,i){t&1&&W("focusin",function(){return i._handleFocus()})("blur",function(){return i._onTouched()})("input",function(a){return i._handleInput(a)})("keydown",function(a){return i._handleKeydown(a)})("click",function(){return i._handleClick()}),t&2&&H("autocomplete",i.autocompleteAttribute)("role",i.autocompleteDisabled?null:"combobox")("aria-autocomplete",i.autocompleteDisabled?null:"list")("aria-activedescendant",i.panelOpen&&i.activeOption?i.activeOption.id:null)("aria-expanded",i.autocompleteDisabled?null:i.panelOpen.toString())("aria-controls",i.autocompleteDisabled||!i.panelOpen||i.autocomplete==null?null:i.autocomplete.id)("aria-haspopup",i.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",b]},exportAs:["matAutocompleteTrigger"],features:[F([us]),me]})}return n})(),Hr=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=B({type:n});static \u0275inj=L({imports:[ze,We,Mt,We,ge]})}return n})();var Gi=class n extends nt{matAutocomplete=s(Ui,{self:!0});constructor(){super(),this.matAutocomplete.opened.pipe(ot(()=>this.init(`#${this.matAutocomplete.id}`)),pe(()=>this.matAutocomplete.closed),ot(()=>this.destroy()),kt()).subscribe()}static \u0275fac=function(e){return new(e||n)};static \u0275dir=g({type:n,selectors:[["mat-autocomplete","matAutocompleteScrollbar",""]],features:[S]})};var zr=sa(la());function _s(n,o){if(n&1&&(d(0,"mat-option",2),p(1),h()),n&2){let e=o.$implicit;v("value",e),f(),ve(e)}}var qi=class n{chance=new zr.Chance;items=[this.chance.sentence({words:5}),this.chance.sentence({words:5}),this.chance.sentence({words:5}),this.chance.sentence({words:5}),this.chance.sentence({words:5}),this.chance.sentence({words:5}),this.chance.sentence({words:5}),this.chance.sentence({words:5}),this.chance.sentence({words:5}),this.chance.sentence({words:5}),this.chance.sentence({words:5}),this.chance.sentence({words:5}),this.chance.sentence({words:5}),this.chance.sentence({words:5}),this.chance.sentence({words:5}),this.chance.sentence({words:5}),this.chance.sentence({words:5})];static \u0275fac=function(e){return new(e||n)};static \u0275cmp=_({type:n,selectors:[["app-example-mat-select"]],decls:5,vars:1,consts:[[1,"example","example-mat-select","mat-elevation-z16"],["matSelectScrollbar","",3,"value"],[3,"value"]],template:function(e,t){e&1&&(d(0,"mat-card",0)(1,"mat-card-content")(2,"mat-select",1),ft(3,_s,2,2,"mat-option",2,hi),h()()()),e&2&&(f(2),v("value",t.items[8]),f(),gt(t.items))},dependencies:[We,$,Wi,ji,re,ne,oe,Yi],styles:[".mat-mdc-select[_ngcontent-%COMP%]{margin-bottom:30px!important;color:#fff} .ng-scrollbar.mat-mdc-select-panel{--scrollbar-container-color: inherit;--scrollbar-container-offset: 6px;--scrollbar-container-shape: inherit;--scrollbar-track-shape: 8px;--scrollbar-track-offset: 0px;--scrollbar-track-color: inherit;--scrollbar-track-thickness: 8px;--scrollbar-track-hover-thickness: 8px;--scrollbar-track-active-thickness: inherit;--scrollbar-thumb-shape: inherit;--scrollbar-thumb-min-size: 20;--scrollbar-thumb-color: var(--color-primary);--scrollbar-thumb-hover-color: inherit;--scrollbar-thumb-active-color: inherit;--scrollbar-hover-opacity-transition-enter-duration: inherit;--scrollbar-hover-opacity-transition-leave-duration: inherit;--scrollbar-hover-opacity-transition-leave-delay: inherit;--scrollbar-overscroll-behavior: inherit;--scrollbar-mobile-overscroll-behavior: inherit;--scrollbar-button-shape: inherit;--scrollbar-button-size: inherit;--scrollbar-button-gap: inherit;--scrollbar-button-color: inherit;--scrollbar-button-hover-color: inherit;--scrollbar-button-active-color: inherit;--scrollbar-button-inactive-color: inherit;--scrollbar-button-fill: inherit;--scrollbar-button-hover-fill: inherit;--scrollbar-button-active-fill: inherit;--scrollbar-button-inactive-fill: inherit}"],changeDetection:0})};var Qi=class n{x;y;static \u0275fac=function(e){return new(e||n)};static \u0275cmp=_({type:n,selectors:[["app-card"]],inputs:{x:"x",y:"y"},decls:2,vars:1,consts:[[1,"app-card-content"]],template:function(e,t){e&1&&(jt(0,"div",0),p(1),Wt()),e&2&&(f(),q(" ",t.x," "))},styles:["[_nghost-%COMP%]{--side: 90px;
763display:block;width:var(--side);height:var(--side);line-height:var(--side);box-sizing:content-box;padding:5px;font-size:50px;font-weight:700}.app-card-content[_ngcontent-%COMP%]{background-color:var(--color-accent);color:var(--color-accent-hover);border-radius:8px;display:flex;justify-content:center;align-items:center}"],changeDetection:0})};function ys(n,o){if(n&1&&A(0,"app-card",9),n&2){let e=o.$implicit,t=N().$implicit;v("x",e)("y",t)}}function bs(n,o){if(n&1&&(d(0,"div",4)(1,"h4"),p(2),h(),d(3,"ng-scrollbar",5)(4,"cdk-virtual-scroll-viewport",6)(5,"div",7),P(6,ys,1,2,"app-card",8),h()()()()),n&2){let e=o.$implicit,t=N();f(2),ve(e),f(4),v("cdkVirtualForOf",t.horizontal)}}var $i=class n{items=Array.from({length:100},(o,e)=>e+1);horizontal=Array.from({length:100},(o,e)=>e+1);static \u0275fac=function(e){return new(e||n)};static \u0275cmp=_({type:n,selectors:[["app-example-nested-virtual-scroll"]],hostVars:2,hostBindings:function(e,t){e&2&&I("example-component",!0)},decls:8,vars:1,consts:[[1,"mat-elevation-z16"],["externalViewport","","cdkVirtualScrollViewport","",1,"outer-ng-scrollbar"],["itemSize","120","minBufferPx","480","maxBufferPx","960",1,"example-viewport"],["class","horizontal-scrollable-item",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"horizontal-scrollable-item"],["externalViewport","","cdkVirtualScrollViewport","",1,"inner-ng-scrollbar"],["itemSize","100","orientation","horizontal"],[1,"cards"],[3,"x","y",4,"cdkVirtualFor","cdkVirtualForOf"],[3,"x","y"]],template:function(e,t){e&1&&(d(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),p(3," Nested CDK Virtual Scroll Example "),h()(),d(4,"mat-card-content")(5,"ng-scrollbar",1)(6,"cdk-virtual-scroll-viewport",2),P(7,bs,7,2,"div",3),h()()()()),e&2&&(f(7),v("cdkVirtualForOf",t.items))},dependencies:[re,ne,oe,qe,Ge,wt,$e,De,xt,Ot,Ve,Qi,Wi,Je],styles:[".outer-ng-scrollbar[_ngcontent-%COMP%]{--scrollbar-container-color: inherit;--scrollbar-container-offset: 6px;--scrollbar-container-shape: inherit;--scrollbar-track-shape: 8px;--scrollbar-track-offset: inherit;--scrollbar-track-color: var(--surface-container-high);--scrollbar-track-thickness: 10px;--scrollbar-track-hover-thickness: 10px;--scrollbar-track-active-thickness: inherit;--scrollbar-thumb-shape: inherit;--scrollbar-thumb-min-size: 20;--scrollbar-thumb-color: var(--color-primary);--scrollbar-thumb-hover-color: inherit;--scrollbar-thumb-active-color: inherit;--scrollbar-hover-opacity-transition-enter-duration: inherit;--scrollbar-hover-opacity-transition-leave-duration: inherit;--scrollbar-hover-opacity-transition-leave-delay: inherit;--scrollbar-overscroll-behavior: inherit;--scrollbar-mobile-overscroll-behavior: inherit;--scrollbar-button-shape: inherit;--scrollbar-button-size: inherit;--scrollbar-button-gap: inherit;--scrollbar-button-color: inherit;--scrollbar-button-hover-color: inherit;--scrollbar-button-active-color: inherit;--scrollbar-button-inactive-color: inherit;--scrollbar-button-fill: inherit;--scrollbar-button-hover-fill: inherit;--scrollbar-button-active-fill: inherit;--scrollbar-button-inactive-fill: inherit}.example[_ngcontent-%COMP%]{overflow:hidden}.cdk-virtual-scroll-viewport[_ngcontent-%COMP%]{height:100%}.cdk-virtual-scroll-orientation-horizontal[_ngcontent-%COMP%] .cdk-virtual-scroll-content-wrapper{display:flex}.cards[_ngcontent-%COMP%]{display:flex;flex-direction:row}.mat-mdc-card[_ngcontent-%COMP%]{margin-bottom:5em;color:#fff}.mat-mdc-card[_ngcontent-%COMP%] ng-scrollbar{height:100%}.mat-mdc-card[_ngcontent-%COMP%] .inner-ng-scrollbar{--scrollbar-track-hover-thickness: 10px}.mat-mdc-card[_ngcontent-%COMP%] .inner-ng-scrollbar .scrollbar-control{background-color:transparent}.mat-mdc-card[_ngcontent-%COMP%] .mat-mdc-card-content[_ngcontent-%COMP%]{height:400px}.horizontal-scrollable-item[_ngcontent-%COMP%]{height:120px;display:flex;flex-direction:column;--scrollbar-container-color: inherit;--scrollbar-container-offset: 6px;--scrollbar-container-shape: inherit;--scrollbar-track-shape: 8px;--scrollbar-track-offset: inherit;--scrollbar-track-color: var(--surface-container-low);--scrollbar-track-thickness: 6px;--scrollbar-track-hover-thickness: inherit;--scrollbar-track-active-thickness: inherit;--scrollbar-thumb-shape: inherit;--scrollbar-thumb-min-size: 20;--scrollbar-thumb-color: var(--color-primary);--scrollbar-thumb-hover-color: inherit;--scrollbar-thumb-active-color: inherit;--scrollbar-hover-opacity-transition-enter-duration: inherit;--scrollbar-hover-opacity-transition-leave-duration: inherit;--scrollbar-hover-opacity-transition-leave-delay: inherit;--scrollbar-overscroll-behavior: inherit;--scrollbar-mobile-overscroll-behavior: inherit;--scrollbar-button-shape: inherit;--scrollbar-button-size: inherit;--scrollbar-button-gap: inherit;--scrollbar-button-color: inherit;--scrollbar-button-hover-color: inherit;--scrollbar-button-active-color: inherit;--scrollbar-button-inactive-color: inherit;--scrollbar-button-fill: inherit;--scrollbar-button-hover-fill: inherit;--scrollbar-button-active-fill: inherit;--scrollbar-button-inactive-fill: inherit;color:var(--mat-sidenav-content-text-color)}.horizontal-scrollable-item[_ngcontent-%COMP%]:nth-child(odd){background:var(--surface-container-highest)}.horizontal-scrollable-item[_ngcontent-%COMP%]:nth-child(2n){background:var(--surface-container-high)}.horizontal-scrollable-item[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%]{flex:1}.horizontal-scrollable-item[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .ng-scroll-viewport{border-radius:var(--card-viewport-border-radius)}h4[_ngcontent-%COMP%]{margin:10px;font-size:30px;position:absolute;z-index:999;color:var(--mat-sidenav-content-text-color)}.pre-content[_ngcontent-%COMP%], .post-content[_ngcontent-%COMP%]{width:20px;height:100%}"],changeDetection:0})};function vs(n,o){if(n&1&&(d(0,"mat-list-item",8),p(1),h()),n&2){let e=o.$implicit;f(),q(" ",e," ")}}var Zi=class n{items=Array.from({length:100}).map((o,e)=>`Item #${e}`);
763static \u0275fac=function(e){return new(e||n)};static \u0275cmp=_({type:n,selectors:[["app-example-virtual-scroll-ext"]],hostVars:2,hostBindings:function(e,t){e&2&&I("example-component",!0)},decls:15,vars:1,consts:[[1,"example","mat-elevation-z16"],[1,"example-virtual-scroll"],["externalViewport","","cdkVirtualScrollViewport","","appearance","compact"],["cdkVirtualScrollingElement","",1,"example-viewport"],[1,"example-header"],["itemSize","50"],["class","example-item",4,"cdkVirtualFor","cdkVirtualForOf"],[1,"example-footer"],[1,"example-item"]],template:function(e,t){e&1&&(d(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),p(3," CDK Virtual Scroll Example + Scrolling Element "),h()(),d(4,"mat-card-content")(5,"div",1)(6,"ng-scrollbar",2)(7,"div",3)(8,"div",4),p(9,"Content before"),h(),d(10,"cdk-virtual-scroll-viewport",5)(11,"mat-list"),P(12,vs,2,1,"mat-list-item",6),h()(),d(13,"div",7),p(14,"Content after"),h()()()()()()),e&2&&(f(12),v("cdkVirtualForOf",t.items))},dependencies:[re,ne,oe,qe,Ge,wt,$e,De,xt,Ot,Ve,qt,Ri,Oi,Mi,Je],styles:["[_nghost-%COMP%]{--scrollbar-container-color: inherit;--scrollbar-container-offset: 6px;--scrollbar-container-shape: inherit;--scrollbar-track-shape: 8px;--scrollbar-track-offset: inherit;--scrollbar-track-color: var(--surface-container-low);--scrollbar-track-thickness: 10px;--scrollbar-track-hover-thickness: inherit;--scrollbar-track-active-thickness: inherit;--scrollbar-thumb-shape: inherit;--scrollbar-thumb-min-size: 20;--scrollbar-thumb-color: var(--color-primary);--scrollbar-thumb-hover-color: inherit;--scrollbar-thumb-active-color: inherit;--scrollbar-hover-opacity-transition-enter-duration: inherit;--scrollbar-hover-opacity-transition-leave-duration: inherit;--scrollbar-hover-opacity-transition-leave-delay: inherit;--scrollbar-overscroll-behavior: inherit;--scrollbar-mobile-overscroll-behavior: inherit;--scrollbar-button-shape: inherit;--scrollbar-button-size: inherit;--scrollbar-button-gap: inherit;--scrollbar-button-color: inherit;--scrollbar-button-hover-color: inherit;--scrollbar-button-active-color: inherit;--scrollbar-button-inactive-color: inherit;--scrollbar-button-fill: inherit;--scrollbar-button-hover-fill: inherit;--scrollbar-button-active-fill: inherit;--scrollbar-button-inactive-fill: inherit}.example-virtual-scroll[_ngcontent-%COMP%]{overflow:hidden;height:200px}.example-virtual-scroll[_ngcontent-%COMP%] .mat-mdc-list-base[_ngcontent-%COMP%]{padding:0}.example-virtual-scroll[_ngcontent-%COMP%] .ng-scroll-viewport[_ngcontent-%COMP%]{height:100%;border-radius:var(--card-viewport-border-radius)}.example-virtual-scroll[_ngcontent-%COMP%] .example-item[_ngcontent-%COMP%]{height:50px;color:var(--mat-sidenav-content-text-color)}.example-virtual-scroll[_ngcontent-%COMP%] .example-item[_ngcontent-%COMP%]:nth-child(odd){background:var(--surface-container-highest)}.example-virtual-scroll[_ngcontent-%COMP%] .example-item[_ngcontent-%COMP%]:nth-child(2n){background:var(--surface-container-high)}.example-header[_ngcontent-%COMP%], .example-footer[_ngcontent-%COMP%]{height:100px;background-color:var(--color-accent);color:var(--color-accent-hover);display:flex;align-items:center;padding-left:16px;padding-right:16px;font-size:20px}"],changeDetection:0})};var Ji=class n{static \u0275fac=function(e){return new(e||n)};static \u0275cmp=_({type:n,selectors:[["app-example-mat-dialog"]],decls:46,vars:1,consts:[["mat-dialog-title",""],["ngScrollbar","",1,"mat-typography"],["align","end"],["mat-button","","mat-dialog-close",""],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(e,t){e&1&&(d(0,"h2",0),p(1,"Install Angular"),h(),d(2,"mat-dialog-content",1)(3,"h3"),p(4,"Develop across all platforms"),h(),d(5,"p"),p(6,"Learn one way to build applications with Angular and reuse your code and abilities to build apps for any deployment target. For web, mobile web, native mobile and native desktop."),h(),d(7,"h3"),p(8,"Speed & Performance"),h(),d(9,"p"),p(10,"Achieve the maximum speed possible on the Web Platform today, and take it further, via Web Workers and server-side rendering. Angular puts you in control over scalability. Meet huge data requirements by building data models on RxJS, Immutable.js or another push-model."),h(),d(11,"h3"),p(12,"Incredible tooling"),h(),d(13,"p"),p(14,"Build features quickly with simple, declarative templates. Extend the template language with your own components and use a wide array of existing components. Get immediate Angular-specific help and feedback with nearly every IDE and editor. All this comes together so you can focus on building amazing apps rather than trying to make the code work."),h(),d(15,"h3"),p(16,"Loved by millions"),h(),d(17,"p"),p(18,"From prototype through global deployment, Angular delivers the productivity and scalable infrastru
763cture that supports Google's largest applications."),h(),d(19,"h3"),p(20,"What is Angular?"),h(),d(21,"p"),p(22,"Angular is a platform that makes it easy to build applications with the web. Angular combines declarative templates, dependency injection, end to end tooling, and integrated best practices to solve development challenges. Angular empowers developers to build applications that live on the web, mobile, or the desktop"),h(),d(23,"h3"),p(24,"Architecture overview"),h(),d(25,"p"),p(26,"Angular is a platform and framework for building client applications in HTML and TypeScript. Angular is itself written in TypeScript. It implements core and optional functionality as a set of TypeScript libraries that you import into your apps."),h(),d(27,"p"),p(28,"The basic building blocks of an Angular application are NgModules, which provide a compilation context for components. NgModules collect related code into functional sets; an Angular app is defined by a set of NgModules. An app always has at least a root module that enables bootstrapping, and typically has many more feature modules."),h(),d(29,"p"),p(30,"Components define views, which are sets of screen elements that Angular can choose among and modify according to your program logic and data. Every app has at least a root component."),h(),d(31,"p"),p(32,"Components use services, which provide specific functionality not directly related to views. Service providers can be injected into components as dependencies, making your code modular, reusable, and efficient."),h(),d(33,"p"),p(34,"Both components and services are simply classes, with decorators that mark their type and provide metadata that tells Angular how to use them."),h(),d(35,"p"),p(36,"The metadata for a component class associates it with a template that defines a view. A template combines ordinary HTML with Angular directives and binding markup that allow Angular to modify the HTML before rendering it for display."),h(),d(37,"p"),p(38,"The metadata for a service class provides the information Angular needs to make it available to components through Dependency Injection (DI)."),h(),d(39,"p"),p(40,"An app's components typically define many views, arranged hierarchically. Angular provides the Router service to help you define navigation paths among views. The router provides sophisticated in-browser navigational capabilities."),h()(),d(41,"mat-dialog-actions",2)(42,"button",3),p(43,"Cancel"),h(),d(44,"button",4),p(45,"Install"),h()()),e&2&&(f(44),v("mat-dialog-close",!0))},dependencies:[Tr,Sr,Or,Rr,Mr,Di,ki,vi,Xi],styles:["ng-scrollbar[_ngcontent-%COMP%], [ngScrollbar][_ngcontent-%COMP%]{--scrollbar-container-color: inherit;--scrollbar-container-offset: inherit;--scrollbar-container-shape: inherit;--scrollbar-track-shape: 0px;--scrollbar-track-offset: 0px;--scrollbar-track-color: rgba(255, 255, 255, .1);--scrollbar-track-thickness: 12px;--scrollbar-track-hover-thickness: 18px;--scrollbar-track-active-thickness: inherit;--scrollbar-thumb-shape: inherit;--scrollbar-thumb-min-size: 20;--scrollbar-thumb-color: var(--color-primary);--scrollbar-thumb-hover-color: inherit;--scrollbar-thumb-active-color: inherit;--scrollbar-hover-opacity-transition-enter-duration: inherit;--scrollbar-hover-opacity-transition-leave-duration: inherit;--scrollbar-hover-opacity-transition-leave-delay: inherit;--scrollbar-overscroll-behavior: inherit;--scrollbar-mobile-overscroll-behavior: inherit;--scrollbar-button-shape: inherit;--scrollbar-button-size: inherit;--scrollbar-button-gap: inherit;--scrollbar-button-color: inherit;--scrollbar-button-hover-color: inherit;--scrollbar-button-active-color: inherit;--scrollbar-button-inactive-color: inherit;--scrollbar-button-fill: inherit;--scrollbar-button-hover-fill: inherit;--scrollbar-button-active-fill: inherit;--scrollbar-button-inactive-fill: inherit}"],changeDetection:0})};function Ds(n,o){if(n&1&&(d(0,"mat-option",6),p(1),h()),n&2){let e=o.$implicit;v("value",e),f(),ve(e)}}var en=class n{myControl=new Co("");options=["One","Two","Three","Four","Five","Six","Seven","Eight","Nine","Ten"];static \u0275fac=function(e){return new(e||n)};static \u0275cmp=_({type:n,selectors:[["app-example-mat-autocomplete"]],decls:11,vars:2,consts:[["auto","matAutocomplete"],[1,"example","example-mat-select","mat-elevation-z16"],[1,"example-form"],[1,"example-full-width"],["type","text","placeholder","Pick one","aria-label","Number","matInput","",3,"formControl","matAutocomplete"],["matAutocompleteScrollbar",""],[3,"value"]],template:function(e,t){if(e&1&&(d(0,"mat-card",1)(1,"mat-card-content")(2,"form",2)(3,"mat-form-field",3)(4,"mat-label"),p(5,"Number"),h(),A(6,"input",4),d(7,"mat-autocomplete",5,0),ft(9,Ds,2,2,"mat-option",6,hi),h()()()()()),e&2){let i=_t(8);f(6),v("formControl",t.myControl)("matAutocomplete",i),f(3),gt(t.options)}},dependencies:[So,wo,go,bo,vo,yi,re,ne,oe,xi,Si,wi,Ci,St,xo,ko,Hr,Ui,$,In,Gi],styles:[".example-form[_ngcontent-%COMP%]{min-width:150px;max-width:500px;width:100%}.example-full-width[_ngcontent-%COMP%]{width:100%} .ng-scrollbar.mat-mdc-autocomplete-panel{--scrollbar-container-color: inherit;--scrollbar-container-offset: 6px;--scrollbar-container-shape: inherit;--scrollbar-track-shape: 8px;--scrollbar-track-offset: 0px;--scrollbar-track-color: inherit;--scrollbar-track-thickness: 8px;--scrollbar-track-hover-thickness: 8px;--scrollbar-track-active-thickness: inherit;--scrollbar-thumb-shape: inherit;--scrollbar-thumb-min-size: 20;--scrollbar-thumb-color: var(--color-primary);--scrollbar-thumb-hover-color: inherit;--scrollbar-thumb-active-color: inherit;--scrollbar-hover-opacity-transition-enter-duration: inherit;--scrollbar-hover-opacity-transition-leave-duration: inherit;--scrollbar-hover-opacity-transition-leave-delay: inherit;--scrollbar-overscroll-behavior: inherit;--scrollbar-mobile-overscroll-behavior: inherit;--scrollbar-button-shape: inherit;--scrollbar-button-size: inherit;--scrollbar-button-gap: inherit;--scrollbar-button-color: inherit;--scrollbar-button-hover-color: inherit;--scrollbar-button-active-color: inherit;--scrollbar-button-inactive-color: inherit;--scrollbar-button-fill: inherit;--scrollbar-button-hover-fill: inherit;--scrollbar-button-active-fill: inherit;--scrollbar-button-inactive-fill: inherit}"],changeDetection:0})};var Ss=[[["caption"]],[["colgroup"],["col"]],"*"],xs=["caption","colgroup, col","*"];function Os(n,o){n&1&&Y(0,2)}function Ms(n,o){n&1&&(d(0,"thead",0),te(1,1),h(),d(2,"tbody",0),te(3,2)(4,3),h(),d(5,"tfoot",0),te(6,4),h())}function Rs(n,o){n&1&&te(0,1)(1,2)(2,3)(3,4)}var xe=new k("CDK_TABLE");var on=(()=>{class n{template=s(G);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","cdkCellDef",""]]})}return n})(),rn=(()=>{class n{template=s(G);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","cdkHeaderCellDef",""]]})}return n})(),Yr=(()=>{class n{template=s(G);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","cdkFooterCellDef",""]]})}return n})(),Lt=(()=>{class n{_table=s(xe,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,i,r){if(t&1&&st(r,on,5)(r,rn,5)(r,Yr,5),t&2){let a;M(a=R())&&(i.cell=a.first),M(a=R())&&(i.headerCell=a.first),M(a=R())&&(i.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",b],stickyEnd:[2,"stickyEnd","stickyEnd",b]}})}return n})(),nn=class{constructor(o,e){e.nativeElement.classList.add(...o._columnCssClassName)}},Xr=(()=>{class n extends nn{constructor(){super(s(Lt),s(x))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[S]})}return n})();var Kr=(()=>{class n extends nn{constructor(){let e=s(Lt),t=s(x);super(e,t);let i=e._table?._getCellRole();i&&t.nativeElement.setAttribute("role",i)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[S]})}return n})();var Nn=(()=>{class n{template=s(G);_differs=s(vt);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof ai?e.headerCell.template:this instanceof Vn?e.footerCell.template:e.cell.template}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,features:[me]})}return n})(),ai=(()=>{class n extends Nn{_table=s(xe,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(s(G),s(vt))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",b]},features:[S,me]})}return n})(),Vn=(()=>{class n extends Nn{_table=s(xe,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(s(G),s(vt))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",b]},features:[S,me]})}return n})(),an=(()=>{class n extends Nn{_table=s(xe,{optional:!0});when;constructor(){super(s(G),s(vt))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[S]})}return n})(),mt=(()=>{class n{_viewContainer=s(ue);cells;context;static mostRecentCellOutlet=null;constructor(){n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","cdkCellOutlet",""]]})}return n})(),Ln=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){t&1&&te(0,0)},dependencies:[mt],encapsulation:2})}return n})();var Bn=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){t&1&&te(0,0)},dependencies:[mt],encapsulation:2})}return n})(),Ur=(()=>{class n{templateRef=s(G);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["ng-template","cdkNoDataRow",""]]})}return n})(),jr=["top","bottom","left","right"],Fn=class{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(o=>this._updateCachedSizes(o)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(o,e,t=!0,i=!0,r,a,l){this._isNativeHtmlTable=o,this._stickCellCss=e,this._isBrowser=t,this._needsPositionStickyOnElement=i,this.direction=r,this._positionListener=a,this._tableInjector=l,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(o,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(o);let t=[];for(let i of o)i.nodeType===i.ELEMENT_NODE&&t.push(i,...Array.from(i.children));ee({write:()=>{for(let i of t)this._removeStickyStyle(i,e)}},{injector:this._tableInjector})}updateStickyColumns(o,e,t,i=!0,r=!0){if(!o.length||!this._isBrowser||!(e.some(Z=>Z)||t.some(Z=>Z))){this._positionListener?.stickyColumnsUpdated({sizes:[]}),this._positionListener?.stickyEndColumnsUpdated({sizes:[]});return}let a=o[0],l=a.children.length,c=this.direction==="rtl",m=c?"right":"left",u=c?"left":"right",y=e.lastIndexOf(!0),C=t.indexOf(!0),D,K,ae;
763r&&this._updateStickyColumnReplayQueue({rows:[...o],stickyStartStates:[...e],stickyEndStates:[...t]}),ee({earlyRead:()=>{D=this._getCellWidths(a,i),K=this._getStickyStartColumnPositions(D,e),ae=this._getStickyEndColumnPositions(D,t)},write:()=>{for(let Z of o)for(let se=0;se<l;se++){let Xn=Z.children[se];e[se]&&this._addStickyStyle(Xn,m,K[se],se===y),t[se]&&this._addStickyStyle(Xn,u,ae[se],se===C)}this._positionListener&&D.some(Z=>!!Z)&&(this._positionListener.stickyColumnsUpdated({sizes:y===-1?[]:D.slice(0,y+1).map((Z,se)=>e[se]?Z:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:C===-1?[]:D.slice(C).map((Z,se)=>t[se+C]?Z:null).reverse()}))}},{injector:this._tableInjector})}stickRows(o,e,t){if(!this._isBrowser)return;let i=t==="bottom"?o.slice().reverse():o,r=t==="bottom"?e.slice().reverse():e,a=[],l=[],c=[];ee({earlyRead:()=>{for(let m=0,u=0;m<i.length;m++){if(!r[m])continue;a[m]=u;let y=i[m];c[m]=this._isNativeHtmlTable?Array.from(y.children):[y];let C=this._retrieveElementSize(y).height;u+=C,l[m]=C}},write:()=>{let m=r.lastIndexOf(!0);for(let u=0;u<i.length;u++){if(!r[u])continue;let y=a[u],C=u===m;for(let D of c[u])this._addStickyStyle(D,t,y,C)}t==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:l,offsets:a,elements:c}):this._positionListener?.stickyFooterRowsUpdated({sizes:l,offsets:a,elements:c})}},{injector:this._tableInjector})}updateStickyFooterContainer(o,e){this._isNativeHtmlTable&&ee({write:()=>{let t=o.querySelector("tfoot");t&&(e.some(i=>!i)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(o,e){if(!o.classList.contains(this._stickCellCss))return;for(let i of e)o.style[i]="",o.classList.remove(this._borderCellCss[i]);jr.some(i=>e.indexOf(i)===-1&&o.style[i])?o.style.zIndex=this._getCalculatedZIndex(o):(o.style.zIndex="",this._needsPositionStickyOnElement&&(o.style.position=""),o.classList.remove(this._stickCellCss))}_addStickyStyle(o,e,t,i){o.classList.add(this._stickCellCss),i&&o.classList.add(this._borderCellCss[e]),o.style[e]=`${t}px`,o.style.zIndex=this._getCalculatedZIndex(o),this._needsPositionStickyOnElement&&(o.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(o){let e={top:100,bottom:10,left:1,right:1},t=0;for(let i of jr)o.style[i]&&(t+=e[i]);return t?`${t}`:""}_getCellWidths(o,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],i=o.children;for(let r=0;r<i.length;r++){let a=i[r];t.push(this._retrieveElementSize(a).width)}return this._cachedCellWidths=t,t}_getStickyStartColumnPositions(o,e){let t=[],i=0;for(let r=0;r<o.length;r++)e[r]&&(t[r]=i,i+=o[r]);return t}_getStickyEndColumnPositions(o,e){let t=[],i=0;for(let r=o.length;r>0;r--)e[r]&&(t[r]=i,i+=o[r]);return t}_retrieveElementSize(o){let e=this._elemSizeCache.get(o);if(e)return e;let t=o.getBoundingClientRect(),i={width:t.width,height:t.height};return this._resizeObserver&&(this._elemSizeCache.set(o,i),this._resizeObserver.observe(o,{box:"border-box"})),i}_updateStickyColumnReplayQueue(o){this._removeFromStickyColumnReplayQueue(o.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(o)}_removeFromStickyColumnReplayQueue(o){let e=new Set(o);for(let t of this._updatedStickyColumnsParamsToReplay)t.rows=t.rows.filter(i=>!e.has(i));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(t=>!!t.rows.length)}_updateCachedSizes(o){let e=!1;for(let t of o){let i=t.borderBoxSize?.length?{width:t.borderBoxSize[0].inlineSize,height:t.borderBoxSize[0].blockSize}:{width:t.contentRect.width,height:t.contentRect.height};i.width!==this._elemSizeCache.get(t.target)?.width&&Es(t.target)&&(e=!0),this._elemSizeCache.set(t.target,i)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let t of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(t.rows,t.stickyStart
763States,t.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}};function Es(n){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(o=>n.classList.contains(o))}var ri=new k("STICKY_POSITIONING_LISTENER");var Hn=(()=>{class n{viewContainer=s(ue);elementRef=s(x);constructor(){let e=s(xe);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","rowOutlet",""]]})}return n})(),zn=(()=>{class n{viewContainer=s(ue);elementRef=s(x);constructor(){let e=s(xe);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","headerRowOutlet",""]]})}return n})(),jn=(()=>{class n{viewContainer=s(ue);elementRef=s(x);constructor(){let e=s(xe);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","footerRowOutlet",""]]})}return n})(),Wn=(()=>{class n{viewContainer=s(ue);elementRef=s(x);constructor(){let e=s(xe);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=g({type:n,selectors:[["","noDataRowOutlet",""]]})}return n})(),Yn=(()=>{class n{_differs=s(vt);_changeDetectorRef=s(Ce);_elementRef=s(x);_dir=s(ie,{optional:!0});_platform=s(Te);_viewRepeater;_viewportRuler=s(ke);_injector=s(O);_virtualScrollViewport=s(tr,{optional:!0,host:!0});_positionListener=s(ri,{optional:!0})||s(ri,{optional:!0,skipSelf:!0});_document=s(Re);_data;_renderedRange;_onDestroy=new w;_renderRows;_renderChangeSubscription=null;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef=null;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow=null;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_headerRowStickyUpdates=new w;_footerRowStickyUpdates=new w;_disableVirtualScrolling=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&(this._switchDataSource(e),this._changeDetectorRef.markForCheck())}_dataSource;_dataSourceChanges=new w;_dataStream=new w;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._virtualScrollEnabled()?!0:this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;recycleRows=!1;contentChanged=new T;viewChange=new Kn({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;constructor(){s(new bt("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((t,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(ce(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._viewRepeater=this.recycleRows||this._virtualScrollEnabled()?new Fo:new Vo,this._virtualScrollEnabled()&&this._setupVirtualScrolling(this._virtualScrollViewport),this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e
763=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._headerRowStickyUpdates.complete(),this._footerRowStickyUpdates.complete(),this._onDestroy.next(),this._onDestroy.complete(),bi(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(i,r,a)=>this._getEmbeddedViewArgs(i.item,a),i=>i.item.data,i=>{i.operation===Io.INSERTED&&i.context&&this._renderCellTemplateForItem(i.record.item.rowDef,i.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(i=>{let r=t.get(i.currentIndex);r.context.$implicit=i.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let i=Wr(this._headerRowOutlet,"thead");i&&(i.style.display=e.length?"":"none")}let t=this._headerRowDefs.map(i=>i.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(i=>i.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let i=Wr(this._footerRowOutlet,"tfoot");i&&(i.style.display=e.length?"":"none")}let t=this._footerRowDefs.map(i=>i.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(i=>i.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this.fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...i],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((r,a)=>{this._addStickyColumnStyles([r],this._headerRowDefs[a])}),this._rowDefs.forEach(r=>{let a=[];for(let l=0;l<t.length;l++)this._renderRows[l].rowDef===r&&a.push(t[l]);this._addStickyColumnStyles(a,r)}),i.forEach((r,a)=>{this._addStickyColumnStyles([r],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(r=>r.resetStickyChanged())}stickyColumnsUpdated(e){this._positionListener?.stickyColumnsUpdated(e)}stickyEndColumnsUpdated(e){this._positionListener?.stickyEndColumnsUpdated(e)}stickyHeaderRowsUpdated(e){this._headerRowStickyUpdates.next(e),this._positionListener?.stickyHeaderRowsUpdated(e)}stickyFooterRowsUpdated(e){this._footerRowStickyUpdates.next(e),this._positionListener?.stickyFooterRowsUpdated(e)}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){if(!Array.isArray(this._data)||!this._renderedRange)return[];let e=[],t=Math.min(this._data.length,this._renderedRange.end),i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=this._renderedRange.start;r<t;r++){let a=this._data[r],l=this._getRenderRowsForData(a,r,i.get(a));this._cachedRenderRowsMap.has(a)||this._cachedRenderRowsMap.set(a,new WeakMap);for(let c=0;c<l.length;c++){let m=l[c],u=this._cachedRenderRowsMap.get(m.data);u.has(m.rowDef)?u.get(m.rowDef).push(m):u.set(m.rowDef,[m]),e.push(m)}}return e}_getRenderRowsForData(e,t,i){return this._getRowDefs(e,t).map(a=>{let l=i&&i.has(a)?i.get(a):[];if(l.length){let c=l.shift();return c.dataIndex=t,c}else return{data:e,rowDef:a,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),tn(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEac
763h(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=tn(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=tn(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=tn(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,l)=>{let c=!!l.getColumnsDiff();return a||c},t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();let i=this._headerRowDefs.reduce(e,!1);i&&this._forceRenderHeaderRows();let r=this._footerRowDefs.reduce(e,!1);return r&&this._forceRenderFooterRows(),t||i||r}_switchDataSource(e){this._data=[],bi(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;bi(this.dataSource)?e=this.dataSource.connect(this):qn(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Ye(this.dataSource)),this._renderChangeSubscription=si([e,this.viewChange]).pipe(ce(this._onDestroy)).subscribe(([t,i])=>{this._data=t||[],this._renderedRange=i,this._dataStream.next(t),this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){let i=Array.from(t?.columns||[]).map(l=>{let c=this._columnDefsByName.get(l);return c}),r=i.map(l=>l.sticky),a=i.map(l=>l.stickyEnd);this._stickyStyler.updateStickyColumns(e,r,a,!this.fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let t=[];for(let i=0;i<e.viewContainer.length;i++){let r=e.viewContainer.get(i);t.push(r.rootNodes[0])}return t}_getRowDefs(e,t){if(this._rowDefs.length===1)return[this._rowDefs[0]];let i=[];if(this.multiTemplateDataRows)i=this._rowDefs.filter(r=>!r.when||r.when(t,e));else{let r=this._rowDefs.find(a=>a.when&&a.when(t,e))||this._defaultRowDef;r&&i.push(r)}return i.length,i}_getEmbeddedViewArgs(e,t){let i=e.rowDef,r={$implicit:e.data};return{templateRef:i.template,context:r,index:t}}_renderRow(e,t,i,r={}){let a=e.viewContainer.createEmbeddedView(t.template,r,i);return this._renderCellTemplateForItem(t,r),a}_renderCellTemplateForItem(e,t){for(let i of this._getCellTemplates(e))mt.mostRecentCellOutlet&&mt.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let t=0,i=e.length;t<i;t++){let a=e.get(t).context;a.count=i,a.first=t===0,a.last=t===i-1,a.even=t%2===0,a.odd=!a.even,this.multiTemplateDataRows?(a.dataIndex=this._renderRows[t].dataIndex,a.renderIndex=t):a.index=this._renderRows[t].dataIndex}}_getCellTemplates(e){return!e||!e.columns?[]:Array.from(e.columns,t=>{let i=this._columnDefsByName.get(t);return e.extractCellTemplate(i)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(t,i)=>t||i.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr",t=this._injector;this._stickyStyler=new Fn(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this,t),(this._dir?this._dir.change:Ye()).pipe(ce(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_setupVirtualScrolling(e){let t=typeof requestAnimationFrame<"u"?Gn:Un;this.viewChange.next({start:0,end:0}),e.renderedRangeStream.pipe($n(0,t),ce(this._onDestroy)).subscribe(this.viewChange),e.attach({dataStream:this._dataStream,measureRangeSize:(i,r)=>this._measureRangeSize(i,r)}),si([e.renderedContentOffset,this._headerRowStickyUpdates]).pipe(ce(this._onDestroy)).subscribe(([i,r])=>
763{if(!(!r.sizes||!r.offsets||!r.elements))for(let a=0;a<r.elements.length;a++){let l=r.elements[a];if(l){let c=r.offsets[a],m=i!==0?Math.max(i-c,c):-c;for(let u of l)u.style.top=`${-m}px`}}}),si([e.renderedContentOffset,this._footerRowStickyUpdates]).pipe(ce(this._onDestroy)).subscribe(([i,r])=>{if(!(!r.sizes||!r.offsets||!r.elements))for(let a=0;a<r.elements.length;a++){let l=r.elements[a];if(l)for(let c of l)c.style.bottom=`${i+r.offsets[a]}px`}})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let t=this._rowOutlet.viewContainer.length===0;if(t===this._isShowingNoDataRow)return;let i=this._noDataRowOutlet.viewContainer;if(t){let r=i.createEmbeddedView(e.templateRef),a=r.rootNodes[0];if(r.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE){a.setAttribute("role","row"),a.classList.add(...e._contentClassNames);let l=a.querySelectorAll(e._cellSelector);for(let c=0;c<l.length;c++)l[c].classList.add(...e._cellClassNames)}}else i.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck()}_measureRangeSize(e,t){if(e.start>=e.end||t!=="vertical")return 0;let i=this.viewChange.value,r=this._rowOutlet.viewContainer;e.start<i.start||e.end>i.end;let a=e.start-i.start,l=e.end-e.start,c,m;for(let C=0;C<l;C++){let D=r.get(C+a);if(D&&D.rootNodes.length){c=m=D.rootNodes[0];break}}for(let C=l-1;C>-1;C--){let D=r.get(C+a);if(D&&D.rootNodes.length){m=D.rootNodes[D.rootNodes.length-1];break}}let u=c?.getBoundingClientRect?.(),y=m?.getBoundingClientRect?.();return u&&y?y.bottom-u.top:0}_virtualScrollEnabled(){return!this._disableVirtualScrolling&&this._virtualScrollViewport!=null}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=_({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,i,r){if(t&1&&st(r,Ur,5)(r,Lt,5)(r,an,5)(r,ai,5)(r,Vn,5),t&2){let a;M(a=R())&&(i._noDataRow=a.first),M(a=R())&&(i._contentColumnDefs=a),M(a=R())&&(i._contentRowDefs=a),M(a=R())&&(i._contentHeaderRowDefs=a),M(a=R())&&(i._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,i){t&2&&I("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",b],fixedLayout:[2,"fixedLayout","fixedLayout",b],recycleRows:[2,"recycleRows","recycleRows",b]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[F([{provide:xe,useExisting:n},{provide:ri,useValue:null}])],ngContentSelectors:xs,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,i){t&1&&(fe(Ss),Y(0),Y(1,1),de(2,Os,1,0),de(3,Ms,7,0)(4,Rs,4,0)),t&2&&(f(2),he(i._isServer?2:-1),f(),he(i._isNativeHtmlTable?3:4))},dependencies:[zn,Hn,Wn,jn],styles:[`.cdk-table-fixed-layout { 764 table-layout: fixed; 765} 766`],encapsulation:2})}return n})();function tn(n,o){return n.concat(Array.from(o))}function Wr(n,o){let e=o.toUpperCase(),t=n.viewContainer.element.nativeElement;for(;t;){let i=t.nodeType===1?t.nodeName:null;if(i===e)return t;if(i==="TABLE")break;t=t.parentNode}return null}var Gr=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=B({type:n});static \u0275inj=L({imports:[De]})}return n})();var Ts=[[["caption"]],[["colgroup"],["col"]],"*"],As=["caption","colgroup, col","*"];function Ps(n,o){n&1&&Y(0,2)}function Is(n,o){n&1&&(d(0,"thead",0),te(1,1),h(),d(2,"tbody",2),te(3,3)(4,4),h(),d(5,"tfoot",0),te(6,5),h())}function Fs(n,o){n&1&&te(0,1)(1,3)(2,4)(3,5)}var qr=(()=>{class n extends Yn{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(i){return(e||(e=j(n)))(i||n)}})();static \u0275cmp=_({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(t,i){t&2&&I("mat-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[F([{provide:Yn,useExisting:n},{provide:xe,useExisting:n},{provide:ri,useValue:null}]),S],ngContentSelectors:As,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,i){t&1&&(fe(Ts),Y(0),Y(1,1),de(2,Ps,1,0),de(3,Is,7,0)(4,Fs,4,0)),t&2&&(f(2),he(i._isServer?2:-1),f(),he(i._isNativeHtmlTable?3:4))},dependencies:[zn,Hn,Wn,jn],styles:[`.mat-mdc-table-sticky { 767 position: sticky !important; 768} 769 770mat-table { 771 display: block; 772} 773 774mat-header-row { 775 min-height: var(--mat-table-header-container-height, 56px); 776} 777 778mat-row { 779 min-height: var(--mat-table-row-item-container-height, 52px); 780} 781 782mat-footer-row { 783 min-height: var(--mat-table-footer-container-height, 52px); 784} 785 786mat-row, mat-header-row, mat-footer-row { 787 display: flex; 788 border-width: 0; 789 border-bottom-width: 1px; 790 border-style: solid; 791 align-items: center; 792 box-sizing: border-box; 793} 794 795mat-cell:first-of-type, mat-header-cell:first-of-type, mat-footer-cell:first-of-type { 796 padding-left: 24px; 797} 798[dir=rtl] mat-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type) { 799 padding-left: 0; 800 padding-right: 24px; 801} 802mat-cell:last-of-type, mat-header-cell:last-of-type, mat-footer-cell:last-of-type { 803 padding-right: 24px; 804} 805[dir=rtl] mat-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type) { 806 padding-right: 0; 807 padding-left: 24px; 808} 809 810mat-cell, mat-header-cell, mat-footer-cell { 811 flex: 1; 812 display: flex; 813 align-items: center; 814 overflow: hidden; 815 word-wrap: break-word; 816 min-height: inherit; 817} 818 819.mat-mdc-table { 820 min-width: 100%; 821 border: 0; 822 border-spacing: 0; 823 table-layout: auto; 824 white-space: normal; 825 background-color: var(--mat-table-background-color, var(--mat-sys-surface)); 826} 827 828.mat-table-fixed-layout { 829 table-layout: fixed; 830} 831 832.mdc-data-table__cell { 833 box-sizing: border-box; 834 overflow: hidden; 835 text-align: start; 836 text-overflow: ellipsis; 837} 838 839.mdc-data-table__cell, 840.mdc-data-table__header-cell { 841 padding: 0 16px; 842} 843 844.mat-mdc-header-row { 845 -moz-osx-font-smoothing: grayscale; 846 -webkit-font-smoothing: antialiased; 847 height: var(--mat-table-header-container-height, 56px); 848 color: var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87))); 849 font-family: var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif)); 850 line-height: var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height)); 851 font-size: var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px)); 852 font-weight: var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500)); 853} 854 855.mat-mdc-row { 856 height: var(--mat-table-row-item-container-height, 52px); 857 color: var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87))); 858} 859 860.mat-mdc-row, 861.mdc-data-table__content { 862 -moz-osx-font-smoothing: grayscale; 863 -webkit-font-smoothing: antialiased; 864 font-family: var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif)); 865 line-height: var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height)); 866 font-size: var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px)); 867 font-weight: var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight)); 868} 869 870.mat-mdc-footer-row { 871 -moz-osx-font-smoothing: grayscale; 872 -webkit-font-smoothing: antialiased; 873 height: var(--mat-table-footer-container-height, 52px); 874 color: var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87))); 875 font-family: var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif)); 876 line-height: var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height)); 877 font-size: var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px)); 878 font-weight: var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight)); 879 letter-spacing: var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking)); 880} 881 882.mat-mdc-header-cell { 883 border-bottom-color: var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12))); 884 border-bottom-width: var(--mat-table-row-item-outline-width, 1px); 885 border-bottom-style: solid; 886 letter-spacing: var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking)); 887 font-weight: inherit; 888 line-height: inherit; 889 box-sizing: border-box; 890 text-overflow: ellipsis; 891 overflow: hidden; 892 outline: none; 893 text-align: start; 894} 895.mdc-data-table__row:last-child > .mat-mdc-header-cell { 896 border-bottom: none; 897} 898 899.mat-mdc-cell { 900 border-bottom-color: var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12))); 901 border-bottom-width: var(--mat-table-row-item-outline-width, 1px); 902 border-bottom-style: solid; 903 letter-spacing: var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking)); 904 line-height: inherit; 905} 906.mdc-data-table__row:last-child > .mat-mdc-cell { 907 border-bottom: none; 908} 909 910.mat-mdc-footer-cell { 911 letter-spacing: var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking)); 912} 913 914mat-row.mat-mdc-row, 915mat-header-row.mat-mdc-header-row, 916mat-footer-row.mat-mdc-footer-row { 917 border-bottom: none; 918} 919 920.mat-mdc-table tbody, 921.mat-mdc-table tfoot, 922.mat-mdc-table thead, 923.mat-mdc-cell, 924.mat-mdc-footer-cell, 925.mat-mdc-header-row, 926.mat-mdc-row, 927.mat-mdc-footer-row, 928.mat-mdc-table .mat-mdc-header-cell { 929 background: inherit; 930} 931 932.mat-mdc-table mat-header-row.mat-mdc-header-row, 933.mat-mdc-table mat-row.mat-mdc-row, 934.mat-mdc-table mat-footer-row.mat-mdc-footer-cell { 935 height: unset; 936} 937 938mat-header-cell.mat-mdc-header-cell, 939mat-cell.mat-mdc-cell, 940mat-footer-cell.mat-mdc-footer-cell { 941 align-self: stretch; 942} 943`],encapsulation:2})}return n})(),Qr=(()=>{class n extends on{static \u0275fac=(()=>{let e;return function(i){return(e||(e=j(n)))(i||n)}})();static \u0275dir=g({type:n,selectors:[["","matCellDef",""]],features:[F([{provide:on,useExisting:n}]),S]})}return n})(),$r=(()=>{class n extends rn{static \u0275fac=(()=>{let e;return function(i){return(e||(e=j(n)))(i||n)}})();static \u0275dir=g({type:n,selectors:[["","matHeaderCellDef",""]],features:[F([{provide:rn,useExisting:n}]),S]})}return n})();var Zr=(()=>{class n extends Lt{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=j(n)))(i||n)}})();static \u0275dir=g({type:n,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[F([{provide:Lt,useExisting:n}]),S]})}return n})(),Jr=(()=>{class n extends Xr{static \u0275fac=(()=>{let e;return function(i){return(e||(e=j(n)))(i||n)}})();static \u0275dir=g({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[S]})}return n})();var ea=(()=>{class n extends Kr{static \u0275fac=(()=>{let e;return function(i){return(e||(e=j(n)))(i||n)}})();static \u0275dir=g({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[S]})}return n})();var ta=(()=>{class n extends ai{static \u0275fac=(()=>{let e;return function(i){return(e||(e=j(n)))(i||n)}})();static \u0275dir=g({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",b]},features:[F([{provide:ai,useExisting:n}]),S]})}return n})();var ia=(()=>{class n extends an{static \u0275fac=(()=>{let e;return function(i){return(e||(e=j(n)))(i||n)}})();static \u0275dir=g({type:n,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[F([{provide:an,useExisting:n}]),S]})}return n})(),na=(()=>{class n extends Ln{static \u0275fac=(()=>{let e;return function(i){return(e||(e=j(n)))(i||n)}})();static \u0275cmp=_({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[F([{provide:Ln,useExisting:n}]),S],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){t&1&&te(0,0)},dependencies:[mt],encapsulation:2})}return n})();var oa=(()=>{class n extends Bn{static \u0275fac=(()=>{let e;return function(i){return(e||(e=j(n)))(i||n)}})();static \u0275cmp=_({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[F([{provide:Bn,useExisting:n}]),S],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){t&1&&te(0,0)},dependencies:[mt],encapsulation:2})}return n})();var ra=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=B({type:n});static \u0275inj=L({imports:[Gr,ge]})}return n})();function Vs(n,o){n&1&&(d(0,"th",11),p(1," No."),h())}function Ls(n,o){if(n&1&&(d(0,"td",12),p(1),h()),n&2){let e=o.$implicit;f(),q(" ",e.position)}}function Bs(n,o){n&1&&(d(0,"th",11),p(1," Name"),h())}function Hs(n,o){if(n&1&&(d(0,"td",12),p(1),h()),n&2){let e=o.$implicit;f(),q(" ",e.name)}}function zs(n,o){n&1&&(d(0,"th",11),p(1," Weight"),h())}function js(n,o){if(n&1&&(d(0,"td",12),p(1),h()),n&2){let e=o.$implicit;f(),q(" ",e.weight)}}function Ws(n,o){n&1&&(d(0,"th",11),p(1," Symbol"),h())}function Ys(n,o){if(n&1&&(d(0,"td",12),p(1),h()),n&2){let e=o.$implicit;f(),q(" ",e.symbol)}}function Xs(n,o){n&1&&A(0,"tr",13)}function Ks(n,o){n&1&&A(0,"tr",14)}
943var Us=[{position:1,name:"Hydrogen",weight:1.0079,symbol:"H"},{position:2,name:"Helium",weight:4.0026,symbol:"He"},{position:3,name:"Lithium",weight:6.941,symbol:"Li"},{position:4,name:"Beryllium",weight:9.0122,symbol:"Be"},{position:5,name:"Boron",weight:10.811,symbol:"B"},{position:6,name:"Carbon",weight:12.0107,symbol:"C"},{position:7,name:"Nitrogen",weight:14.0067,symbol:"N"},{position:8,name:"Oxygen",weight:15.9994,symbol:"O"},{position:9,name:"Fluorine",weight:18.9984,symbol:"F"},{position:10,name:"Neon",weight:20.1797,symbol:"Ne"}],sn=class n{displayedColumns=["position","name","weight","symbol"];dataSource=Us;static \u0275fac=function(e){return new(e||n)};static \u0275cmp=_({type:n,selectors:[["app-example-mat-table"]],decls:22,vars:4,consts:[[1,"example","example-mat-select","mat-elevation-z16"],[1,"table-wrapper"],["mat-table","",1,"mat-elevation-z8",3,"dataSource"],["matColumnDef","position"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","weight"],["matColumnDef","symbol"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""]],template:function(e,t){e&1&&(d(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),p(3," Material Table "),h()(),d(4,"mat-card-content")(5,"div",1)(6,"ng-scrollbar")(7,"table",2),rt(8,3),P(9,Vs,2,0,"th",4)(10,Ls,2,1,"td",5),at(),rt(11,6),P(12,Bs,2,0,"th",4)(13,Hs,2,1,"td",5),at(),rt(14,7),P(15,zs,2,0,"th",4)(16,js,2,1,"td",5),at(),rt(17,8),P(18,Ws,2,0,"th",4)(19,Ys,2,1,"td",5),at(),P(20,Xs,1,0,"tr",9)(21,Ks,1,0,"tr",10),h()()()()()),e&2&&(f(7),v("dataSource",t.dataSource),f(13),v("matHeaderRowDef",t.displayedColumns)("matHeaderRowDefSticky",!0),f(),v("matRowDefColumns",t.displayedColumns))},dependencies:[ra,qr,$r,ta,Zr,Qr,ia,Jr,ea,na,oa,re,ne,oe,qe,Ge,vi],styles:[".table-wrapper[_ngcontent-%COMP%]{overflow:hidden;height:250px;border-radius:var(--card-viewport-border-radius)}ng-scrollbar[_ngcontent-%COMP%]{height:100%;--scrollbar-container-color: inherit;--scrollbar-container-offset: inherit;--scrollbar-container-shape: inherit;--scrollbar-track-shape: 0px;--scrollbar-track-offset: inherit;--scrollbar-track-color: rgba(255, 255, 255, .1);--scrollbar-track-thickness: inherit;--scrollbar-track-hover-thickness: inherit;--scrollbar-track-active-thickness: inherit;--scrollbar-thumb-shape: inherit;--scrollbar-thumb-min-size: 20;--scrollbar-thumb-color: inherit;--scrollbar-thumb-hover-color: inherit;--scrollbar-thumb-active-color: inherit;--scrollbar-hover-opacity-transition-enter-duration: inherit;--scrollbar-hover-opacity-transition-leave-duration: inherit;--scrollbar-hover-opacity-transition-leave-delay: inherit;--scrollbar-overscroll-behavior: inherit;--scrollbar-mobile-overscroll-behavior: inherit;--scrollbar-button-shape: inherit;--scrollbar-button-size: inherit;--scrollbar-button-gap: inherit;--scrollbar-button-color: inherit;--scrollbar-button-hover-color: inherit;--scrollbar-button-active-color: inherit;--scrollbar-button-inactive-color: inherit;--scrollbar-button-fill: inherit;--scrollbar-button-hover-fill: inherit;--scrollbar-button-active-fill: inherit;--scrollbar-button-inactive-fill: inherit}"],changeDetection:0})};var ln=class n{static \u0275fac=function(e){return new(e||n)};static \u0275cmp=_({type:n,selectors:[["app-example-mat-timepicker"]],features:[F([Pr()])],decls:9,vars:2,consts:[["picker",""],[1,"example","example-mat-select","mat-elevation-z16"],[1,"example-full-width"],["matInput","",3,"matTimepicker"],["matIconSuffix","",3,"for"],["matTimepickerScrollbar",""]],template:function(e,t){if(e&1&&(d(0,"mat-card",1)(1,"mat-card-content")(2,"mat-form-field",2)(3,"mat-label"),p(4,"Pick a time"),h(),A(5,"input",3)(6,"mat-timepicker-toggle",4)(7,"mat-timepicker",5,0),h()()()),e&2){let i=_t(8);f(5),v("matTimepicker",i),f(),v("for",i)}},dependencies:[St,wi,Ci,Qo,xi,Si,Lr,oi,Vr,An,Ki,re,ne,oe],styles:[".example-full-width[_ngcontent-%COMP%]{width:100%} .ng-scrollbar.mat-timepicker-panel{--scrollbar-container-color: inherit;--scrollbar-container-offset: 6px;--scrollbar-container-shape: inherit;--scrollbar-track-shape: 8px;--scrollbar-track-offset: 0px;--scrollbar-track-color: inherit;--scrollbar-track-thickness: 8px;--scrollbar-track-hover-thickness: 8px;--scrollbar-track-active-thickness: inherit;--scrollbar-thumb-shape: inherit;--scrollbar-thumb-min-size: 20;--scrollbar-thumb-color: var(--color-primary);--scrollbar-thumb-hover-color: inherit;--scrollbar-thumb-active-color: inherit;--scrollbar-hover-opacity-transition-enter-duration: inherit;--scrollbar-hover-opacity-transition-leave-duration: inherit;--scrollbar-hover-opacity-transition-leave-delay: inherit;--scrollbar-overscroll-behavior: inherit;--scrollbar-mobile-overscroll-behavior: inherit;--scrollbar-button-shape: inherit;--scrollbar-button-size: inherit;--scrollbar-button-gap: inherit;--scrollbar-button-color: inherit;--scrollbar-button-hover-color: inherit;--scrollbar-button-active-color: inherit;--scrollbar-button-inactive-color: inherit;--scrollbar-button-fill: inherit;--scrollbar-button-hover-fill: inherit;--scrollbar-button-active-fill: inherit;--scrollbar-button-inactive-fill: inherit}"],changeDetection:0})};var aa=class n{dialog=s(ei);openDialog(){this.dialog.open(Ji)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=_({type:n,selectors:[["app-material-page"]],decls:24,vars:0,consts:[[1,"container"],[1,"mat-typography"],["mat-raised-button","",3,"click"]],template:function(e,t){e&1&&(d(0,"div",0)(1,"h2",1),p(2,"Material Select"),h(),A(3,"app-example-mat-select"),d(4,"h2",1),p(5,"Material Autocomplete"),h(),A(6,"app-example-mat-autocomplete"),d(7,"h2",1),p(8,"Material Timepicker"),h(),A(9,"app-example-mat-timepicker"),d(10,"h2",1),p(11,"Material Dialog"),h(),d(12,"button",2),W("click",function(){return t.openDialog()}),p(13,"Open dialog"),h(),d(14,"h2",1),p(15,"Material Table"),h(),A(16,"app-example-mat-table"),d(17,"h2",1),p(18,"CDK Virtual Scroll"),h(),A(19,"app-example-virtual-scroll")(20,"app-example-virtual-scroll-ext"),d(21,"h2",1),p(22,"CDK Nest Virtual Scroll"),h(),A(23,"app-example-nested-virtual-scroll"),h())},dependencies:[Di,ki,qi,Hi,Zi,$i,en,sn,ln],styles:["[_nghost-%COMP%]{--scrollbar-container-color: inherit;--scrollbar-container-offset: inherit;--scrollbar-container-shape: inherit;--scrollbar-track-shape: 8px;--scrollbar-track-offset: 0px;--scrollbar-track-color: var(--surface-container-low);--scrollbar-track-thickness: 12px;--scrollbar-track-hover-thickness: 12px;--scrollbar-track-active-thickness: inherit;--scrollbar-thumb-shape: inherit;--scrollbar-thumb-min-size: 20;--scrollbar-thumb-color: var(--color-primary);--scrollbar-thumb-hover-color: inherit;--scrollbar-thumb-active-color: inherit;--scrollbar-hover-opacity-transition-enter-duration: inherit;--scrollbar-hover-opacity-transition-leave-duration: inherit;--scrollbar-hover-opacity-transition-leave-delay: inherit;--scrollbar-overscroll-behavior: inherit;--scrollbar-mobile-overscroll-behavior: inherit;--scrollbar-button-shape: inherit;--scrollbar-button-size: inherit;--scrollbar-button-gap: inherit;--scrollbar-button-color: inherit;--scrollbar-button-hover-color: inherit;--scrollbar-button-active-color: inherit;--scrollbar-button-inactive-color: inherit;--scrollbar-button-fill: inherit;--scrollbar-button-hover-fill: inherit;--scrollbar-button-active-fill: inherit;--scrollbar-button-inactive-fill: inherit}"],changeDetection:0})};export{aa as MaterialPageComponent};
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.