import{a as _i,b as Be,c as yi,d as Te,e as We,f as vi,g as bi,h as Ge,i as Ye,j as wi,k as Ci,s as ne,t as ut,u as pt,v as Ue}from"./chunk-I3GJPWI3.js";import{K as pi,L as mi,M as fi,N as gi,c as dt,d as ht,f as He,g as ni,h as Ve,i as si,j as ai,q as ci,r as di,u as hi,y as ui}from"./chunk-VF4SIIO7.js";import{$ as ri,B as qt,C as Xt,D as $t,E as De,G as Z,H as Kt,I as Zt,K as Jt,Q as ei,R as ti,S as je,T as ii,U as oi,V as ct,a as ze,aa as li,c as Wt,h as Ie,i as ke,j as rt,k as Gt,s as Yt,t as lt,u as Ut,v as Qt}from"./chunk-SIRN2M67.js";import{d as Ae,i as Ne,o as Le}from"./chunk-ZEDFMZ3B.js";import{$ as G,$a as l,A as nt,Bb as E,Cb as be,Ea as Lt,G as J,J as Ft,Jb as F,Lb as C,Mb as we,Nb as B,Pb as K,Qb as j,Rb as pe,S as st,Sb as D,T as at,Tb as x,U as y,Ub as Bt,Va as I,Vb as H,Wb as me,Xb as Ce,Ya as ve,Yb as P,Zb as A,_ as Ee,_a as m,a as Se,bb as ee,ca as N,cb as te,da as Pt,db as X,ea as Q,fb as b,ga as h,gb as he,ha as O,hb as ie,i as M,ia as Y,j as ge,ja as g,la as ye,lb as L,lc as T,m as Mt,ma as ce,mb as U,mc as oe,n as _e,na as de,nb as z,oa as q,ob as Pe,p as Ot,pa as Re,pb as $,qa as V,r as re,ra as Fe,rb as zt,s as Oe,sa as At,sb as k,ta as Nt,tb as jt,ub as Ht,vb as Vt,w as Et,wb as u,xb as f,yb as ue,z as le}from"./chunk-PEWEDMBK.js";var Xi=["tooltip"],Ri=20;var Ii=new N("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let n=Q(ne);return()=>n.scrollStrategies.reposition({scrollThrottle:Ri})}});function $i(n){return()=>n.scrollStrategies.reposition({scrollThrottle:Ri})}var Ki={provide:Ii,deps:[ne],useFactory:$i};function Zi(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var Ji=new N("mat-tooltip-default-options",{providedIn:"root",factory:Zi});var Di="tooltip-panel",xi=Wt({passive:!0}),eo=500,to=8,io=8,oo=24,no=200,ki=(()=>{let i=class i{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=ke(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=ke(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=rt(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=rt(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,t,o,s,a,c,d,p,w,_,v,se){this._overlay=e,this._elementRef=t,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=a,this._platform=c,this._ariaDescriber=d,this._focusMonitor=p,this._dir=_,this._defaultOptions=v,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=so,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new M,this._scrollStrategy=w,this._document=se,v&&(this._showDelay=v.showDelay,this._hideDelay=v.hideDelay,v.position&&(this.position=v.position),v.positionAtOrigin&&(this.positionAtOrigin=v.positionAtOrigin),v.touchGestures&&(this.touchGestures=v.touchGestures)),_.change.pipe(y(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=to}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(y(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,o])=>{e.removeEventListener(t,o,xi)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,t){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(t);this._detach(),this._portal=this._portal||new Ci(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(y(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(e)}hide(e=this.hideDelay){let t=this._tooltipInstance;t&&(t.isVisible()?t.hide(e):(t._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&s._origin instanceof I)return this._overlayRef;this._detach()}let t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return o.positionChanges.pipe(y(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${Di}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(y(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(y(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(y(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!Ie(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let t=e.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();t.withPositions([this._addOffset(Se(Se({},o.main),s.main)),this._addOffset(Se(Se({},o.fallback),s.fallback))])}_addOffset(e){let t=io,o=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-t:e.originY==="bottom"?e.offsetY=t:e.originX==="start"?e.offsetX=o?-t:t:e.originX==="end"&&(e.offsetX=o?t:-t),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",t=this.position,o;t=="above"||t=="below"?o={originX:"center",originY:t=="above"?"top":"bottom"}:t=="before"||t=="left"&&e||t=="right"&&!e?o={originX:"start",originY:"center"}:(t=="after"||t=="right"&&e||t=="left"&&!e)&&(o={originX:"end",originY:"center"});let{x:s,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",t=this.position,o;t=="above"?o={overlayX:"center",overlayY:"bottom"}:t=="below"?o={overlayX:"center",overlayY:"top"}:t=="before"||t=="left"&&e||t=="right"&&!e?o={overlayX:"end",overlayY:"center"}:(t=="after"||t=="right"&&e||t=="left"&&!e)&&(o={overlayX:"start",overlayY:"center"});let{x:s,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(J(1),y(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return this.position==="above"||this.position==="below"?t==="top"?t="bottom":t==="bottom"&&(t="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){let{overlayY:t,originX:o,originY:s}=e,a;if(t==="center"?this._dir&&this._dir.value==="rtl"?a=o==="end"?"left":"right":a=o==="start"?"left":"right":a=t==="bottom"&&s==="top"?"above":"below",a!==this._currentPosition){let c=this._overlayRef;if(c){let d=`${this._cssClassPrefix}-${Di}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let t;e.x!==void 0&&e.y!==void 0&&(t=e),this.show(void 0,t)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let t=e.targetTouches?.[0],o=t?{x:t.clientX,y:t.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),eo)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",t=>{let o=t.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",t=>this._wheelListener(t)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,o])=>{this._elementRef.nativeElement.addEventListener(t,o,xi)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let t=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;t!==o&&!o.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let t=this._elementRef.nativeElement,o=t.style;(e==="on"||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(e==="on"||!t.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};i.\u0275fac=function(t){return new(t||i)(l(ne),l(I),l(bi),l(ie),l(X),l(ze),l(Ut),l(Xt),l(Ii),l(De),l(Ji,8),l(Ae))},i.\u0275dir=g({type:i,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(t,o){t&2&&$("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[h.None,"matTooltipPosition","position"],positionAtOrigin:[h.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[h.None,"matTooltipDisabled","disabled"],showDelay:[h.None,"matTooltipShowDelay","showDelay"],hideDelay:[h.None,"matTooltipHideDelay","hideDelay"],touchGestures:[h.None,"matTooltipTouchGestures","touchGestures"],message:[h.None,"matTooltip","message"],tooltipClass:[h.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let n=i;return n})(),so=(()=>{let i=class i{constructor(e,t,o){this._changeDetectorRef=e,this._elementRef=t,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new M,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>oo&&e.width>=no}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let t=this._tooltip.nativeElement,o=this._showAnimation,s=this._hideAnimation;if(t.classList.remove(e?s:o),t.classList.add(e?o:s),this._isVisible=e,e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(t);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(t.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}};i.\u0275fac=function(t){return new(t||i)(l(ee),l(I),l(Lt,8))},i.\u0275cmp=O({type:i,selectors:[["mat-tooltip-component"]],viewQuery:function(t,o){if(t&1&&pe(Xi,7),t&2){let s;D(s=x())&&(o._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,o){t&1&&F("mouseleave",function(a){return o._handleMouseLeave(a)}),t&2&&Pe("zoom",o.isVisible()?1:null)},standalone:!0,features:[A],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(t,o){t&1&&(u(0,"div",0,1),F("animationend",function(a){return o._handleAnimationEnd(a)}),u(2,"div",2),H(3),f()()),t&2&&($("mdc-tooltip--multiline",o._isMultiline),z("ngClass",o.tooltipClass),m(3),me(o.message))},dependencies:[Ne],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-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);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let n=i;return n})();var Ti=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=G({providers:[Ki],imports:[$t,Le,Ue,Z,Z,Ye]});let n=i;return n})();var ho=["trigger"],uo=["panel"];function po(n,i){if(n&1&&(u(0,"span",9),H(1),f()),n&2){let r=C();m(),me(r.placeholder)}}function mo(n,i){n&1&&B(0)}function fo(n,i){if(n&1&&(u(0,"span",11),H(1),f()),n&2){let r=C(2);m(),me(r.triggerValue)}}function go(n,i){if(n&1&&(u(0,"span",10),L(1,mo,1,0)(2,fo,2,1),f()),n&2){let r=C();m(),k(1,r.customTrigger?1:2)}}function _o(n,i){if(n&1){let r=be();q(),Re(),u(0,"div",12,13),F("@transformPanel.done",function(t){ce(r);let o=C();return de(o._panelDoneAnimatingStream.next(t.toState))})("keydown",function(t){ce(r);let o=C();return de(o._handleKeydown(t))}),B(2,1),f()}if(n&2){let r=C();zt("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",r._getPanelTheme(),""),z("ngClass",r.panelClass)("@transformPanel","showing"),U("id",r.id+"-panel")("aria-multiselectable",r.multiple)("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby())}}var yo=[[["mat-select-trigger"]],"*"],vo=["mat-select-trigger","*"],bo={transformPanelWrap:dt("transformPanelWrap",[Ve("* => void",ai("@transformPanel",[si()],{optional:!0}))]),transformPanel:dt("transformPanel",[ni("void",He({opacity:0,transform:"scale(1, 0.8)"})),Ve("void => showing",ht("120ms cubic-bezier(0, 0, 0.2, 1)",He({opacity:1,transform:"scale(1, 1)"}))),Ve("* => void",ht("100ms linear",He({opacity:0})))])};var Pi=0,Ai=new N("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let n=Q(ne);return()=>n.scrollStrategies.reposition()}});function wo(n){return()=>n.scrollStrategies.reposition()}var Co=new N("MAT_SELECT_CONFIG"),Do={provide:Ai,deps:[ne],useFactory:wo},xo=new N("MatSelectTrigger"),mt=class{constructor(i,r){this.source=i,this.value=r}},Ni=(()=>{let i=class i{_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let o=this.panel.nativeElement,s=ii(e,this.options,this.optionGroups),a=t._getHostElement();e===0&&s===1?o.scrollTop=0:o.scrollTop=oi(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new mt(this,e)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(ci.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}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)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,o,s,a,c,d,p,w,_,v,se,ae,S){this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=o,this._elementRef=a,this._dir=c,this._parentFormField=w,this.ngControl=_,this._liveAnnouncer=ae,this._defaultOptions=S,this._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"}],this._panelOpen=!1,this._compareWith=(R,ot)=>R===ot,this._uid=`mat-select-${Pi++}`,this._triggerAriaLabelledBy=null,this._destroy=new M,this.stateChanges=new M,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${Pi++}`,this._panelDoneAnimatingStream=new M,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this.optionSelectionChanges=Et(()=>{let R=this.options;return R?R.changes.pipe(st(R),at(()=>le(...R.map(ot=>ot.onSelectionChange)))):this._ngZone.onStable.pipe(J(1),at(()=>this.optionSelectionChanges))}),this.openedChange=new te,this._openedStream=this.openedChange.pipe(nt(R=>R),re(()=>{})),this._closedStream=this.openedChange.pipe(nt(R=>!R),re(()=>{})),this.selectionChange=new te,this.valueChange=new te,this._trackedModal=null,this._skipPredicate=R=>this.panelOpen?!1:R.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),S?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=S.typeaheadDebounceInterval),this._errorStateTracker=new Kt(s,_,p,d,this.stateChanges),this._scrollStrategyFactory=se,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(v)||0,this.id=this.id}ngOnInit(){this._selectionModel=new vi(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Ft(),y(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(y(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(y(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(st(null),y(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?o.setAttribute("aria-labelledby",e):o.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)}ngOnDestroy(){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._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_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),Yt(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._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}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,o=t===40||t===38||t===37||t===39,s=t===13||t===32,a=this._keyManager;if(!a.isTyping()&&s&&!Ie(e)||(this.multiple||e.altKey)&&o)e.preventDefault(),this.open();else if(!this.multiple){let c=this.selected;a.onKeydown(e);let d=this.selected;d&&c!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,o=e.keyCode,s=o===40||o===38,a=t.isTyping();if(s&&e.altKey)e.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&t.activeItem&&!Ie(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&e.ctrlKey){e.preventDefault();let c=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(c?d.select():d.deselect())})}else{let c=t.activeItemIndex;t.onKeydown(e),this._multiple&&s&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==c&&t.activeItem._selectViaInteraction()}}_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())}_onAttached(){this._overlayDir.positionChange.pipe(J(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}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(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.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}_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof ut?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()}_initKeyManager(){this._keyManager=new Qt(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=le(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(y(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),le(...this.options.map(t=>t._stateChanges)).pipe(y(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let o=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(o!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),o!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,o)=>this.sortComparator?this.sortComparator(t,o,e):e.indexOf(t)-e.indexOf(o)),this.stateChanges.next()}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(o=>o.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;t0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),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(),t=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};i.\u0275fac=function(t){return new(t||i)(l(Ge),l(ee),l(X),l(Jt),l(I),l(De,8),l(hi,8),l(ui,8),l(mi,8),l(di,10),Fe("tabindex"),l(Ai),l(qt),l(Co,8))},i.\u0275cmp=O({type:i,selectors:[["mat-select"]],contentQueries:function(t,o,s){if(t&1&&(j(s,xo,5),j(s,je,5),j(s,ti,5)),t&2){let a;D(a=x())&&(o.customTrigger=a.first),D(a=x())&&(o.options=a),D(a=x())&&(o.optionGroups=a)}},viewQuery:function(t,o){if(t&1&&(pe(ho,5),pe(uo,5),pe(pt,5)),t&2){let s;D(s=x())&&(o.trigger=s.first),D(s=x())&&(o.panel=s.first),D(s=x())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,o){t&1&&F("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),t&2&&(U("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),$("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[h.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[h.HasDecoratorInputTransform,"disabled","disabled",T],disableRipple:[h.HasDecoratorInputTransform,"disableRipple","disableRipple",T],tabIndex:[h.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?0:oe(e)],hideSingleSelectionIndicator:[h.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",T],placeholder:"placeholder",required:[h.HasDecoratorInputTransform,"required","required",T],multiple:[h.HasDecoratorInputTransform,"multiple","multiple",T],disableOptionCentering:[h.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",T],compareWith:"compareWith",value:"value",ariaLabel:[h.None,"aria-label","ariaLabel"],ariaLabelledby:[h.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[h.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",oe],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[P([{provide:pi,useExisting:i},{provide:ei,useExisting:i}]),he,ye,A],ngContentSelectors:vo,decls:11,vars:8,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line"],[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","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,o){if(t&1&&(we(yo),u(0,"div",0,1),F("click",function(){return o.open()}),u(3,"div",2),L(4,po,2,1,"span",3)(5,go,3,1),f(),u(6,"div",4)(7,"div",5),q(),u(8,"svg",6),ue(9,"path",7),f()()()(),L(10,_o,3,9,"ng-template",8),F("backdropClick",function(){return o.close()})("attach",function(){return o._onAttached()})("detach",function(){return o.close()})),t&2){let s=Bt(1);m(3),U("id",o._valueId),m(),k(4,o.empty?4:5),m(6),z("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[ut,pt,Ne],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[bo.transformPanel]},changeDetection:0});let n=i;return n})();var Li=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=G({providers:[Do],imports:[Le,Ue,ct,Z,Ye,gi,ct,Z]});let n=i;return n})();function So(n,i){if(n&1&&(u(0,"mat-option",18),H(1),f()),n&2){let r=i.$implicit;z("value",r),m(),Ce(" ",r," ")}}function Ro(n,i){if(n&1){let r=be();u(0,"mat-form-field",16)(1,"mat-select",17),F("selectionChange",function(t){ce(r);let o=C(2);return de(o._changePageSize(t.value))}),Ht(2,So,2,2,"mat-option",18,jt),f()()}if(n&2){let r=C(2);z("appearance",r._formFieldAppearance)("color",r.color),m(),z("value",r.pageSize)("disabled",r.disabled)("aria-labelledby",r._pageSizeLabelId)("panelClass",r.selectConfig.panelClass||"")("disableOptionCentering",r.selectConfig.disableOptionCentering),m(),Vt(r._displayedPageSizeOptions)}}function Io(n,i){if(n&1&&(u(0,"div",19),H(1),f()),n&2){let r=C(2);m(),me(r.pageSize)}}function ko(n,i){if(n&1&&(u(0,"div",12)(1,"div",13),H(2),f(),L(3,Ro,4,7,"mat-form-field",14)(4,Io,2,1,"div",15),f()),n&2){let r=C();m(),U("id",r._pageSizeLabelId),m(),Ce(" ",r._intl.itemsPerPageLabel," "),m(),k(3,r._displayedPageSizeOptions.length>1?3:-1),m(),k(4,r._displayedPageSizeOptions.length<=1?4:-1)}}function To(n,i){if(n&1){let r=be();u(0,"button",20),F("click",function(){ce(r);let t=C();return de(t.firstPage())}),q(),u(1,"svg",7),ue(2,"path",21),f()()}if(n&2){let r=C();z("matTooltip",r._intl.firstPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("matTooltipPosition","above")("disabled",r._previousButtonsDisabled()),U("aria-label",r._intl.firstPageLabel)}}function Mo(n,i){if(n&1){let r=be();q(),Re(),u(0,"button",22),F("click",function(){ce(r);let t=C();return de(t.lastPage())}),q(),u(1,"svg",7),ue(2,"path",23),f()()}if(n&2){let r=C();z("matTooltip",r._intl.lastPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("matTooltipPosition","above")("disabled",r._nextButtonsDisabled()),U("aria-label",r._intl.lastPageLabel)}}var qe=(()=>{let i=class i{constructor(){this.changes=new M,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,o)=>{if(o==0||t==0)return`0 of ${o}`;o=Math.max(o,0);let s=e*t,a=s{let i=class i extends Ao{get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(e||0,0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=e||0,this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(e||0,0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(t=>oe(t,0)),this._updateDisplayedPageSizeOptions()}constructor(e,t,o){if(super(),this._intl=e,this._changeDetectorRef=t,this._pageSizeLabelId=`mat-paginator-page-size-label-${No++}`,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this.hidePageSize=!1,this.showFirstLastButtons=!1,this.selectConfig={},this.disabled=!1,this.page=new te,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),o){let{pageSize:s,pageSizeOptions:a,hidePageSize:c,showFirstLastButtons:d}=o;s!=null&&(this._pageSize=s),a!=null&&(this._pageSizeOptions=a),c!=null&&(this.hidePageSize=c),d!=null&&(this.showFirstLastButtons=d)}this._formFieldAppearance=o?.formFieldAppearance||"outline"}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;let e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;let e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;let e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;let e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let e=this.getNumberOfPages()-1;return this.pageIndexe-t),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}};i.\u0275fac=function(t){return new(t||i)(l(qe),l(ee),l(Po,8))},i.\u0275cmp=O({type:i,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[h.HasDecoratorInputTransform,"pageIndex","pageIndex",oe],length:[h.HasDecoratorInputTransform,"length","length",oe],pageSize:[h.HasDecoratorInputTransform,"pageSize","pageSize",oe],pageSizeOptions:"pageSizeOptions",hidePageSize:[h.HasDecoratorInputTransform,"hidePageSize","hidePageSize",T],showFirstLastButtons:[h.HasDecoratorInputTransform,"showFirstLastButtons","showFirstLastButtons",T],selectConfig:"selectConfig",disabled:[h.HasDecoratorInputTransform,"disabled","disabled",T]},outputs:{page:"page"},exportAs:["matPaginator"],standalone:!0,features:[he,b,A],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color"],["class","mat-mdc-paginator-page-size-value"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],["hideSingleSelectionIndicator","",3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,o){t&1&&(u(0,"div",0)(1,"div",1),L(2,ko,5,4,"div",2),u(3,"div",3)(4,"div",4),H(5),f(),L(6,To,3,5,"button",5),u(7,"button",6),F("click",function(){return o.previousPage()}),q(),u(8,"svg",7),ue(9,"path",8),f()(),Re(),u(10,"button",9),F("click",function(){return o.nextPage()}),q(),u(11,"svg",7),ue(12,"path",10),f()(),L(13,Mo,3,5,"button",11),f()()()),t&2&&(m(2),k(2,o.hidePageSize?-1:2),m(3),Ce(" ",o._intl.getRangeLabel(o.pageIndex,o.pageSize,o.length)," "),m(),k(6,o.showFirstLastButtons?6:-1),m(),z("matTooltip",o._intl.previousPageLabel)("matTooltipDisabled",o._previousButtonsDisabled())("matTooltipPosition","above")("disabled",o._previousButtonsDisabled()),U("aria-label",o._intl.previousPageLabel),m(3),z("matTooltip",o._intl.nextPageLabel)("matTooltipDisabled",o._nextButtonsDisabled())("matTooltipPosition","above")("disabled",o._nextButtonsDisabled()),U("aria-label",o._intl.nextPageLabel),m(3),k(13,o.showFirstLastButtons?13:-1))},dependencies:[fi,Ni,je,ri,ki],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size)}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let n=i;return n})(),_s=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=G({providers:[Eo],imports:[li,Li,Ti,Lo]});let n=i;return n})();function Vo(n,i){n&1&&B(0,2)}function Bo(n,i){n&1&&(u(0,"thead",0),E(1,1),f(),u(2,"tbody",0),E(3,2)(4,3),f(),u(5,"tfoot",0),E(6,4),f())}function Wo(n,i){n&1&&E(0,1)(1,2)(2,3)(3,4)}var Go=[[["caption"]],[["colgroup"],["col"]],"*"],Yo=["caption","colgroup, col","*"];function vt(n){return class extends n{get sticky(){return this._sticky}set sticky(i){let r=this._sticky;this._sticky=ke(i),this._hasStickyChanged=r!==this._sticky}hasStickyChanged(){let i=this._hasStickyChanged;return this._hasStickyChanged=!1,i}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...i){super(...i),this._sticky=!1,this._hasStickyChanged=!1}}}var W=new N("CDK_TABLE");var et=(()=>{let i=class i{constructor(e){this.template=e}};i.\u0275fac=function(t){return new(t||i)(l(K))},i.\u0275dir=g({type:i,selectors:[["","cdkCellDef",""]],standalone:!0});let n=i;return n})(),tt=(()=>{let i=class i{constructor(e){this.template=e}};i.\u0275fac=function(t){return new(t||i)(l(K))},i.\u0275dir=g({type:i,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let n=i;return n})(),Hi=(()=>{let i=class i{constructor(e){this.template=e}};i.\u0275fac=function(t){return new(t||i)(l(K))},i.\u0275dir=g({type:i,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let n=i;return n})(),ft=class{},Uo=vt(ft),xe=(()=>{let i=class i extends Uo{get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}constructor(e){super(),this._table=e,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};i.\u0275fac=function(t){return new(t||i)(l(W,8))},i.\u0275dir=g({type:i,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,o,s){if(t&1&&(j(s,et,5),j(s,tt,5),j(s,Hi,5)),t&2){let a;D(a=x())&&(o.cell=a.first),D(a=x())&&(o.headerCell=a.first),D(a=x())&&(o.footerCell=a.first)}},inputs:{sticky:"sticky",name:[h.None,"cdkColumnDef","name"],stickyEnd:[h.HasDecoratorInputTransform,"stickyEnd","stickyEnd",T]},standalone:!0,features:[P([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),he,b]});let n=i;return n})(),$e=class{constructor(i,r){r.nativeElement.classList.add(...i._columnCssClassName)}},Vi=(()=>{let i=class i extends $e{constructor(e,t){super(e,t)}};i.\u0275fac=function(t){return new(t||i)(l(xe),l(I))},i.\u0275dir=g({type:i,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[b]});let n=i;return n})();var Bi=(()=>{let i=class i extends $e{constructor(e,t){super(e,t);let o=e._table?._getCellRole();o&&t.nativeElement.setAttribute("role",o)}};i.\u0275fac=function(t){return new(t||i)(l(xe),l(I))},i.\u0275dir=g({type:i,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[b]});let n=i;return n})(),Ke=class{constructor(){this.tasks=[],this.endTasks=[]}},Ze=new N("_COALESCED_STYLE_SCHEDULER"),bt=(()=>{let i=class i{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new M}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Ke,this._getScheduleObservable().pipe(y(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let e=this._currentSchedule;this._currentSchedule=new Ke;for(let t of e.tasks)t();for(let t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Mt(Promise.resolve(void 0)):this._ngZone.onStable.pipe(J(1))}};i.\u0275fac=function(t){return new(t||i)(Pt(X))},i.\u0275prov=Ee({token:i,factory:i.\u0275fac});let n=i;return n})();var wt=(()=>{let i=class i{constructor(e,t){this.template=e,this._differs=t}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 Me?e.headerCell.template:this instanceof Ct?e.footerCell.template:e.cell.template}};i.\u0275fac=function(t){return new(t||i)(l(K),l(ve))},i.\u0275dir=g({type:i,features:[ye]});let n=i;return n})(),gt=class extends wt{},Qo=vt(gt),Me=(()=>{let i=class i extends Qo{constructor(e,t,o){super(e,t),this._table=o}ngOnChanges(e){super.ngOnChanges(e)}};i.\u0275fac=function(t){return new(t||i)(l(K),l(ve),l(W,8))},i.\u0275dir=g({type:i,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[h.None,"cdkHeaderRowDef","columns"],sticky:[h.None,"cdkHeaderRowDefSticky","sticky"]},standalone:!0,features:[b,ye]});let n=i;return n})(),_t=class extends wt{},qo=vt(_t),Ct=(()=>{let i=class i extends qo{constructor(e,t,o){super(e,t),this._table=o}ngOnChanges(e){super.ngOnChanges(e)}};i.\u0275fac=function(t){return new(t||i)(l(K),l(ve),l(W,8))},i.\u0275dir=g({type:i,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[h.None,"cdkFooterRowDef","columns"],sticky:[h.None,"cdkFooterRowDefSticky","sticky"]},standalone:!0,features:[b,ye]});let n=i;return n})(),it=(()=>{let i=class i extends wt{constructor(e,t,o){super(e,t),this._table=o}};i.\u0275fac=function(t){return new(t||i)(l(K),l(ve),l(W,8))},i.\u0275dir=g({type:i,selectors:[["","cdkRowDef",""]],inputs:{columns:[h.None,"cdkRowDefColumns","columns"],when:[h.None,"cdkRowDefWhen","when"]},standalone:!0,features:[b]});let n=i;return n})(),fe=(()=>{let i=class i{constructor(e){this._viewContainer=e,i.mostRecentCellOutlet=this}ngOnDestroy(){i.mostRecentCellOutlet===this&&(i.mostRecentCellOutlet=null)}};i.mostRecentCellOutlet=null,i.\u0275fac=function(t){return new(t||i)(l(ie))},i.\u0275dir=g({type:i,selectors:[["","cdkCellOutlet",""]],standalone:!0});let n=i;return n})(),Dt=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=O({type:i,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[A],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&E(0,0)},dependencies:[fe],encapsulation:2});let n=i;return n})();var xt=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=O({type:i,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[A],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&E(0,0)},dependencies:[fe],encapsulation:2});let n=i;return n})(),Wi=(()=>{let i=class i{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}};i.\u0275fac=function(t){return new(t||i)(l(K))},i.\u0275dir=g({type:i,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let n=i;return n})(),zi=["top","bottom","left","right"],yt=class{constructor(i,r,e,t,o=!0,s=!0,a){this._isNativeHtmlTable=i,this._stickCellCss=r,this.direction=e,this._coalescedStyleScheduler=t,this._isBrowser=o,this._needsPositionStickyOnElement=s,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${r}-border-elem-top`,bottom:`${r}-border-elem-bottom`,left:`${r}-border-elem-left`,right:`${r}-border-elem-right`}}clearStickyPositioning(i,r){let e=[];for(let t of i)if(t.nodeType===t.ELEMENT_NODE){e.push(t);for(let o=0;o{for(let t of e)this._removeStickyStyle(t,r)})}updateStickyColumns(i,r,e,t=!0){if(!i.length||!this._isBrowser||!(r.some(o=>o)||e.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=i[0],s=o.children.length,a=this._getCellWidths(o,t),c=this._getStickyStartColumnPositions(a,r),d=this._getStickyEndColumnPositions(a,e),p=r.lastIndexOf(!0),w=e.indexOf(!0),_=this.direction==="rtl",v=_?"right":"left",se=_?"left":"right";for(let ae of i)for(let S=0;Sr[S]?ae:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:w===-1?[]:a.slice(w).map((ae,S)=>e[S+w]?ae:null).reverse()}))})}stickRows(i,r,e){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let t=e==="bottom"?i.slice().reverse():i,o=e==="bottom"?r.slice().reverse():r,s=[],a=[],c=[];for(let p=0,w=0;p{let e=i.querySelector("tfoot");r.some(t=>!t)?this._removeStickyStyle(e,["bottom"]):this._addStickyStyle(e,"bottom",0,!1)})}_removeStickyStyle(i,r){for(let t of r)i.style[t]="",i.classList.remove(this._borderCellCss[t]);zi.some(t=>r.indexOf(t)===-1&&i.style[t])?i.style.zIndex=this._getCalculatedZIndex(i):(i.style.zIndex="",this._needsPositionStickyOnElement&&(i.style.position=""),i.classList.remove(this._stickCellCss))}_addStickyStyle(i,r,e,t){i.classList.add(this._stickCellCss),t&&i.classList.add(this._borderCellCss[r]),i.style[r]=`${e}px`,i.style.zIndex=this._getCalculatedZIndex(i),this._needsPositionStickyOnElement&&(i.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(i){let r={top:100,bottom:10,left:1,right:1},e=0;for(let t of zi)i.style[t]&&(e+=r[t]);return e?`${e}`:""}_getCellWidths(i,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;let e=[],t=i.children;for(let o=0;o0;o--)r[o]&&(e[o]=t,t+=i[o]);return e}};var Je=new N("CDK_SPL");var St=(()=>{let i=class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let o=Q(W);o._rowOutlet=this,o._outletAssigned()}};i.\u0275fac=function(t){return new(t||i)(l(ie),l(I))},i.\u0275dir=g({type:i,selectors:[["","rowOutlet",""]],standalone:!0});let n=i;return n})(),Rt=(()=>{let i=class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let o=Q(W);o._headerRowOutlet=this,o._outletAssigned()}};i.\u0275fac=function(t){return new(t||i)(l(ie),l(I))},i.\u0275dir=g({type:i,selectors:[["","headerRowOutlet",""]],standalone:!0});let n=i;return n})(),It=(()=>{let i=class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let o=Q(W);o._footerRowOutlet=this,o._outletAssigned()}};i.\u0275fac=function(t){return new(t||i)(l(ie),l(I))},i.\u0275dir=g({type:i,selectors:[["","footerRowOutlet",""]],standalone:!0});let n=i;return n})(),kt=(()=>{let i=class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let o=Q(W);o._noDataRowOutlet=this,o._outletAssigned()}};i.\u0275fac=function(t){return new(t||i)(l(ie),l(I))},i.\u0275dir=g({type:i,selectors:[["","noDataRowOutlet",""]],standalone:!0});let n=i;return n})();var Tt=(()=>{let i=class i{_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role"),t=e==="grid"||e==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&t==="cell"?null:t}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(e,t,o,s,a,c,d,p,w,_,v,se){this._differs=e,this._changeDetectorRef=t,this._elementRef=o,this._dir=a,this._platform=d,this._viewRepeater=p,this._coalescedStyleScheduler=w,this._viewportRuler=_,this._stickyPositioningListener=v,this._ngZone=se,this._onDestroy=new M,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasRendered=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new te,this.viewChange=new ge({start:0,end:Number.MAX_VALUE}),s||o.nativeElement.setAttribute("role","table"),this._document=c,this._isServer=!d.isBrowser,this._isNativeHtmlTable=o.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe(y(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._hasRendered&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Be(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,(o,s,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{o.operation===yi.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{let s=t.get(o.currentIndex);s.context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&X.isInAngularZone()?this._ngZone.onStable.pipe(J(1),y(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}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 o=ji(this._headerRowOutlet,"thead");o&&(o.style.display=e.length?"":"none")}let t=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=ji(this._footerRowOutlet,"tfoot");o&&(o.style.display=e.length?"":"none")}let t=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((s,a)=>{this._addStickyColumnStyles([s],this._headerRowDefs[a])}),this._rowDefs.forEach(s=>{let a=[];for(let c=0;c{this._addStickyColumnStyles([s],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(s=>s.resetStickyChanged())}_outletAssigned(){!this._hasRendered&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasRendered=!0,this._render())}_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(){let e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let c=o&&o.has(a)?o.get(a):[];if(c.length){let d=c.shift();return d.dataIndex=t,d}else return{data:e,rowDef:a,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Xe(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=Xe(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Xe(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Xe(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(t=>!t.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,c)=>a||!!c.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(e,!1);o&&this._forceRenderHeaderRows();let s=this._footerRowDefs.reduce(e,!1);return s&&this._forceRenderFooterRows(),t||o||s}_switchDataSource(e){this._data=[],Be(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;Be(this.dataSource)?e=this.dataSource.connect(this):Ot(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=_e(this.dataSource)),this._renderChangeSubscription=e.pipe(y(this._onDestroy)).subscribe(t=>{this._data=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 o=Array.from(t.columns||[]).map(c=>{let d=this._columnDefsByName.get(c);return d}),s=o.map(c=>c.sticky),a=o.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(e,s,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let t=[];for(let o=0;o!s.when||s.when(t,e));else{let s=this._rowDefs.find(a=>a.when&&a.when(t,e))||this._defaultRowDef;s&&o.push(s)}return o.length,o}_getEmbeddedViewArgs(e,t){let o=e.rowDef,s={$implicit:e.data};return{templateRef:o.template,context:s,index:t}}_renderRow(e,t,o,s={}){let a=e.viewContainer.createEmbeddedView(t.template,s,o);return this._renderCellTemplateForItem(t,s),a}_renderCellTemplateForItem(e,t){for(let o of this._getCellTemplates(e))fe.mostRecentCellOutlet&&fe.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let t=0,o=e.length;t{let o=this._columnDefsByName.get(t);return e.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(t,o)=>t||o.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";this._stickyStyler=new yt(this._isNativeHtmlTable,this.stickyCssClass,e,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:_e()).pipe(y(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_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 o=this._noDataRowOutlet.viewContainer;if(t){let s=o.createEmbeddedView(e.templateRef),a=s.rootNodes[0];s.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(e._contentClassName))}else o.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck()}};i.\u0275fac=function(t){return new(t||i)(l(ve),l(ee),l(I),Fe("role"),l(De,8),l(Ae),l(ze),l(Te),l(Ze),l(Ge),l(Je,12),l(X,8))},i.\u0275cmp=O({type:i,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,o,s){if(t&1&&(j(s,Wi,5),j(s,xe,5),j(s,it,5),j(s,Me,5),j(s,Ct,5)),t&2){let a;D(a=x())&&(o._noDataRow=a.first),D(a=x())&&(o._contentColumnDefs=a),D(a=x())&&(o._contentRowDefs=a),D(a=x())&&(o._contentHeaderRowDefs=a),D(a=x())&&(o._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,o){t&2&&$("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[h.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",T],fixedLayout:[h.HasDecoratorInputTransform,"fixedLayout","fixedLayout",T]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[P([{provide:W,useExisting:i},{provide:Te,useClass:We},{provide:Ze,useClass:bt},{provide:Je,useValue:null}]),he,A],ngContentSelectors:Yo,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,o){t&1&&(we(Go),B(0),B(1,1),L(2,Vo,1,0)(3,Bo,7,0)(4,Wo,4,0)),t&2&&(m(2),k(2,o._isServer?2:-1),m(),k(3,o._isNativeHtmlTable?3:4))},dependencies:[Rt,St,kt,It],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let n=i;return n})();function Xe(n,i){return n.concat(Array.from(i))}function ji(n,i){let r=i.toUpperCase(),e=n.viewContainer.element.nativeElement;for(;e;){let t=e.nodeType===1?e.nodeName:null;if(t===r)return e;if(t==="TABLE")break;e=e.parentNode}return null}var Gi=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=G({imports:[wi]});let n=i;return n})();function Xo(n,i){n&1&&B(0,2)}function $o(n,i){n&1&&(u(0,"thead",0),E(1,1),f(),u(2,"tbody",2),E(3,3)(4,4),f(),u(5,"tfoot",0),E(6,5),f())}function Ko(n,i){n&1&&E(0,1)(1,3)(2,4)(3,5)}var Zo=[[["caption"]],[["colgroup"],["col"]],"*"],Jo=["caption","colgroup, col","*"];var ea=(()=>{let i=class i extends Tt{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};i.\u0275fac=(()=>{let e;return function(o){return(e||(e=V(i)))(o||i)}})(),i.\u0275cmp=O({type:i,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(t,o){t&2&&$("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[P([{provide:Tt,useExisting:i},{provide:W,useExisting:i},{provide:Ze,useClass:bt},{provide:Te,useClass:We},{provide:Je,useValue:null}]),b,A],ngContentSelectors:Jo,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,o){t&1&&(we(Zo),B(0),B(1,1),L(2,Xo,1,0)(3,$o,7,0)(4,Ko,4,0)),t&2&&(m(2),k(2,o._isServer?2:-1),m(),k(3,o._isNativeHtmlTable?3:4))},dependencies:[Rt,St,kt,It],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[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){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[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){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});let n=i;return n})(),ta=(()=>{let i=class i extends et{};i.\u0275fac=(()=>{let e;return function(o){return(e||(e=V(i)))(o||i)}})(),i.\u0275dir=g({type:i,selectors:[["","matCellDef",""]],standalone:!0,features:[P([{provide:et,useExisting:i}]),b]});let n=i;return n})(),ia=(()=>{let i=class i extends tt{};i.\u0275fac=(()=>{let e;return function(o){return(e||(e=V(i)))(o||i)}})(),i.\u0275dir=g({type:i,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[P([{provide:tt,useExisting:i}]),b]});let n=i;return n})();var oa=(()=>{let i=class i extends xe{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};i.\u0275fac=(()=>{let e;return function(o){return(e||(e=V(i)))(o||i)}})(),i.\u0275dir=g({type:i,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:[h.None,"matColumnDef","name"]},standalone:!0,features:[P([{provide:xe,useExisting:i},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),b]});let n=i;return n})(),na=(()=>{let i=class i extends Vi{};i.\u0275fac=(()=>{let e;return function(o){return(e||(e=V(i)))(o||i)}})(),i.\u0275dir=g({type:i,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[b]});let n=i;return n})();var sa=(()=>{let i=class i extends Bi{};i.\u0275fac=(()=>{let e;return function(o){return(e||(e=V(i)))(o||i)}})(),i.\u0275dir=g({type:i,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[b]});let n=i;return n})();var aa=(()=>{let i=class i extends Me{};i.\u0275fac=(()=>{let e;return function(o){return(e||(e=V(i)))(o||i)}})(),i.\u0275dir=g({type:i,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[h.None,"matHeaderRowDef","columns"],sticky:[h.None,"matHeaderRowDefSticky","sticky"]},standalone:!0,features:[P([{provide:Me,useExisting:i}]),b]});let n=i;return n})();var ra=(()=>{let i=class i extends it{};i.\u0275fac=(()=>{let e;return function(o){return(e||(e=V(i)))(o||i)}})(),i.\u0275dir=g({type:i,selectors:[["","matRowDef",""]],inputs:{columns:[h.None,"matRowDefColumns","columns"],when:[h.None,"matRowDefWhen","when"]},standalone:!0,features:[P([{provide:it,useExisting:i}]),b]});let n=i;return n})(),la=(()=>{let i=class i extends Dt{};i.\u0275fac=(()=>{let e;return function(o){return(e||(e=V(i)))(o||i)}})(),i.\u0275cmp=O({type:i,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[P([{provide:Dt,useExisting:i}]),b,A],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&E(0,0)},dependencies:[fe],encapsulation:2});let n=i;return n})();var ca=(()=>{let i=class i extends xt{};i.\u0275fac=(()=>{let e;return function(o){return(e||(e=V(i)))(o||i)}})(),i.\u0275cmp=O({type:i,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[P([{provide:xt,useExisting:i}]),b,A],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&E(0,0)},dependencies:[fe],encapsulation:2});let n=i;return n})();var da=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=Y({type:i}),i.\u0275inj=G({imports:[Z,Gi,Z]});let n=i;return n})(),en=9007199254740991,Yi=class extends _i{get data(){return this._data.value}set data(i){i=Array.isArray(i)?i:[],this._data.next(i),this._renderChangesSubscription||this._filterData(i)}get filter(){return this._filter.value}set filter(i){this._filter.next(i),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(i){this._sort=i,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(i){this._paginator=i,this._updateChangeSubscription()}constructor(i=[]){super(),this._renderData=new ge([]),this._filter=new ge(""),this._internalPageChanges=new M,this._renderChangesSubscription=null,this.sortingDataAccessor=(r,e)=>{let t=r[e];if(Gt(t)){let o=Number(t);return o{let t=e.active,o=e.direction;return!t||o==""?r:r.sort((s,a)=>{let c=this.sortingDataAccessor(s,t),d=this.sortingDataAccessor(a,t),p=typeof c,w=typeof d;p!==w&&(p==="number"&&(c+=""),w==="number"&&(d+=""));let _=0;return c!=null&&d!=null?c>d?_=1:c{let t=Object.keys(r).reduce((s,a)=>s+r[a]+"\u25EC","").toLowerCase(),o=e.trim().toLowerCase();return t.indexOf(o)!=-1},this._data=new ge(i),this._updateChangeSubscription()}_updateChangeSubscription(){let i=this._sort?le(this._sort.sortChange,this._sort.initialized):_e(null),r=this._paginator?le(this._paginator.page,this._internalPageChanges,this._paginator.initialized):_e(null),e=this._data,t=Oe([e,this._filter]).pipe(re(([a])=>this._filterData(a))),o=Oe([t,i]).pipe(re(([a])=>this._orderData(a))),s=Oe([o,r]).pipe(re(([a])=>this._pageData(a)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=s.subscribe(a=>this._renderData.next(a))}_filterData(i){return this.filteredData=this.filter==null||this.filter===""?i:i.filter(r=>this.filterPredicate(r,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(i){return this.sort?this.sortData(i.slice(),this.sort):i}_pageData(i){if(!this.paginator)return i;let r=this.paginator.pageIndex*this.paginator.pageSize;return i.slice(r,r+this.paginator.pageSize)}_updatePaginator(i){Promise.resolve().then(()=>{let r=this.paginator;if(r&&(r.length=i,r.pageIndex>0)){let e=Math.ceil(r.length/r.pageSize)-1||0,t=Math.min(r.pageIndex,e);t!==r.pageIndex&&(r.pageIndex=t,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};export{Ti as a,Lo as b,_s as c,ea as d,ta as e,ia as f,oa as g,na as h,sa as i,aa as j,ra as k,la as l,ca as m,da as n,Yi as o};