diff --git a/404.html b/404.html index 4cbb173..0e79d36 100644 --- a/404.html +++ b/404.html @@ -34,6 +34,6 @@ - + \ No newline at end of file diff --git a/979.c562733179a10fc6.js b/979.c562733179a10fc6.js deleted file mode 100644 index 79344b8..0000000 --- a/979.c562733179a10fc6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkrucogs_website=self.webpackChunkrucogs_website||[]).push([[979],{398:(et,V,c)=>{c.d(V,{l:()=>B});var L=c(3176),w=c(4537),l=c(8692),u=c(3324),t=c(6387);function m(C,R){if(1&C&&(w.TgZ(0,"app-tag",2),w._uU(1),w.qZA()),2&C){const A=R.$implicit,S=w.oxw();w.xp6(1),w.hij(" ",S.getRoleData(A).name," ")}}let B=(()=>{class C{constructor(){this.roles=[],this.center=!1}getRoleData(A){return L.Kh[A]}}return C.\u0275fac=function(A){return new(A||C)},C.\u0275cmp=w.Xpm({type:C,selectors:[["app-roles-display"]],inputs:{roles:"roles",center:"center"},decls:2,vars:2,consts:[[3,"center"],["color","blank",4,"ngFor","ngForOf"],["color","blank"]],template:function(A,S){1&A&&(w.TgZ(0,"app-tag-container",0),w.YNc(1,m,2,1,"app-tag",1),w.qZA()),2&A&&(w.Q6J("center",S.center),w.xp6(1),w.Q6J("ngForOf",S.roles))},dependencies:[l.sg,u.m,t.Z]}),C})()},6883:(et,V,c)=>{c.d(V,{U:()=>A});var L=c(8692),w=c(7084),l=c(1379),u=c(1637),t=c(7406),m=c(92),B=c(3331),C=c(9518),R=c(4537);let A=(()=>{class S{}return S.\u0275fac=function(h){return new(h||S)},S.\u0275mod=R.oAB({type:S}),S.\u0275inj=R.cJS({imports:[L.ez,w.Hi,l.Ng,u.Bb,t.c,m.UX,B.Ps,C.I]}),S})()},1090:(et,V,c)=>{c.d(V,{q:()=>$});var L=c(4091),w=c(8632),l=c(4537),u=c(3451),t=c(8232);function m(x=0,Y=0){return[new t.tR({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"},x,-Y),new t.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"},-x,-Y),new t.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},-Y,x),new t.tR({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},Y,x),new t.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},-Y,-x),new t.tR({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},Y,-x)]}var B=c(1063),C=c(5561),R=c(3528),A=c(8655),S=c(6440),N=c(1656),h=c(3512),s=c(5596),y=c(3178),M=c(6527),v=c(8692),b=c(9638),I=c(6387),P=c(2709);const f=["overlayTemplate"],T=["container"];function D(x,Y){if(1&x&&l._UZ(0,"img",16),2&x){const g=l.oxw(2);l.Q6J("src",g.cdnService.getFileLink(g.user.bannerLink),l.LSH)}}function k(x,Y){1&x&&(l.TgZ(0,"div",17),l._uU(1," Empty bio... "),l.qZA())}function H(x,Y){if(1&x&&(l.TgZ(0,"div",18)(1,"app-tag",19),l._uU(2),l.qZA()()),2&x){const g=l.oxw(2);l.xp6(2),l.hij(" \u2705 Verified @",g.user.netId," ")}}function j(x,Y){if(1&x&&(l.TgZ(0,"div",18)(1,"div"),l._uU(2),l.qZA(),l.TgZ(3,"app-tag",19),l._uU(4),l.qZA()()),2&x){const g=l.oxw(2);l.xp6(2),l.hij("Class of ",g.user.classYear,""),l.xp6(2),l.Oqu(g.getClassYearString(g.user.classYear))}}function J(x,Y){if(1&x){const g=l.EpF();l.TgZ(0,"div",3)(1,"div",4),l.YNc(2,D,1,1,"img",5),l.qZA(),l.TgZ(3,"div",6)(4,"div",7),l._UZ(5,"img",8),l.qZA(),l.TgZ(6,"button",9),l.NdJ("click",function(){l.CHM(g);const Q=l.oxw();return l.KtG(Q.onProfileClick())}),l._uU(7," Profile "),l.qZA()(),l.TgZ(8,"div",10)(9,"div")(10,"h2",11),l._uU(11),l.qZA(),l.TgZ(12,"div",12),l._uU(13),l.qZA()(),l.TgZ(14,"div")(15,"div"),l._uU(16),l.qZA(),l.YNc(17,k,2,0,"div",13),l.qZA(),l.TgZ(18,"div",14),l.YNc(19,H,3,1,"div",15),l.YNc(20,j,5,2,"div",15),l.qZA()()()}if(2&x){const g=l.oxw();let F;l.xp6(1),l.Q6J("ngStyle",g.getBannerContainerStyle()),l.xp6(1),l.Q6J("ngIf",g.user.bannerLink),l.xp6(3),l.Q6J("src",g.user.avatarLink?g.cdnService.getFileLink(g.user.avatarLink):g.settings.General.defaultAvatarSrc,l.LSH),l.xp6(6),l.Oqu(g.user.displayName),l.xp6(2),l.hij("@",g.user.username,""),l.xp6(3),l.Oqu((null!==(F=g.user.bio)&&void 0!==F?F:"").slice(0,100)+(null!==(F=null==g.user.bio?null:g.user.bio.length)&&void 0!==F&&F?"...":"")),l.xp6(1),l.Q6J("ngIf",!g.user.bio),l.xp6(2),l.Q6J("ngIf",g.user.netId),l.xp6(1),l.Q6J("ngIf",g.user.classYear)}}const Z=["*"];let $=(()=>{class x extends((0,A.AF)(u.tA)){constructor(g,F,Q,q,tt,lt,ct,nt,ot,st){super(),this.cdnService=g,this.settings=F,this.animBuilder=Q,this.overlay=q,this.viewContainerRef=tt,this.elementRef=lt,this.cssLength=ct,this.overlayService=nt,this.router=ot,this.breakpointManager=st,this.trigger="click",this.user={},this.bannerColor=u.Il.Types.white,this.hover=!1,this.closeWhenOutsideViewportObserver=new IntersectionObserver(rt=>{rt.forEach(dt=>{!dt.isIntersecting&&this.elementRef&&this.close()})}),this.setupBannerColorListeners=!1,this.getClassYearString=B.R}get ignoreOverlay(){return this.breakpointManager.matchedBreakpointOrBelow("MEDIUM_MOBILE")}get overlayRoot(){return this.overlayRef?.overlayElement?.querySelector(".overlayRoot")}get avatar(){return this.overlayRef?.overlayElement?.querySelector("img.profile-overlay.avatar")}ngOnInit(){!this.ignoreOverlay&&"click"===this.trigger&&this.overlayService.onClick$.pipe((0,R.R)(this.onDestroy$)).subscribe(g=>{!this.container||this.overlayRoot?.contains(g.target)||(this.container.nativeElement.contains(g.target)?this.toggle():this.close())})}ngAfterViewChecked(){this.trySetupBannerColorListeners()}onMouseDown(){this.ignoreOverlay&&this.onProfileClick()}onProfileClick(){this.router.navigateByUrl(`/members/${this.user.username}`)}ngOnDestroy(){this.currAnimPlayer&&this.currAnimPlayer.destroy(),this.overlayRef&&this.overlayRef.dispose(),this.closeWhenOutsideViewportObserver.disconnect()}trySetupBannerColorListeners(){if(this.setupBannerColorListeners)return;const g=this.avatar;if(g){g.setAttribute("crossOrigin","");const F=new C.Z;g.addEventListener("load",()=>{const[Q,q,tt]=F.getColor(g);this.bannerColor=new u.Il(Q,q,tt)}),this.setupBannerColorListeners=!0}}getBannerContainerStyle(){return{...this.bannerColor&&{"background-color":this.bannerColor.hexString()}}}getOpenAnimation(){return[(0,L.oB)({transform:"translateY(-5%)",opacity:0}),(0,L.jt)("200ms ease-out",(0,L.oB)({transform:"translateY(0)",opacity:1}))]}getCloseAnimation(){return[(0,L.oB)({transform:"translateY(0)",opacity:1}),(0,L.jt)("100ms ease-out",(0,L.oB)({transform:"translateY(2.5%)",opacity:0}))]}toggle(){this.overlayRef?this.close():this.open()}open(){this.overlayRef||!this.overlayTemplate||!this.container||(this.overlayRef=this.overlay.create({scrollStrategy:this.overlay.scrollStrategies.reposition(),positionStrategy:this.overlay.position().flexibleConnectedTo(this.container).withPositions(m(0,this.cssLength.convertToNumber("1em","px")))}),this.overlayRef.attach(new w.UE(this.overlayTemplate,this.viewContainerRef)),this.currAnimPlayer&&this.currAnimPlayer.destroy(),this.currAnimPlayer=this.animBuilder.build(this.getOpenAnimation()).create(this.overlayRoot),this.currAnimPlayer.onDone(()=>this.currAnimPlayer=void 0),this.currAnimPlayer.play(),this.closeWhenOutsideViewportObserver.observe(this.container.nativeElement))}close(){!this.overlayRef||!this.container||(this.closeWhenOutsideViewportObserver.unobserve(this.container.nativeElement),this.currAnimPlayer&&this.currAnimPlayer.destroy(),this.currAnimPlayer=this.animBuilder.build(this.getCloseAnimation()).create(this.overlayRoot),this.currAnimPlayer.onDone(()=>{this.currAnimPlayer=void 0,this.overlayRef?.dispose(),this.overlayRef=void 0}),this.currAnimPlayer.play())}onMouseEnter(){this.hover=!0,!this.ignoreOverlay&&"hover"===this.trigger&&this.open()}onMouseExit(){this.hover=!1,!this.ignoreOverlay&&"hover"===this.trigger&&this.close()}onVisibilityChanged(g){!g&&this.elementRef&&this.close()}}return x.\u0275fac=function(g){return new(g||x)(l.Y36(S.U),l.Y36(N.g),l.Y36(L._j),l.Y36(t.aV),l.Y36(l.s_b),l.Y36(l.SBq),l.Y36(h.I),l.Y36(s.F),l.Y36(y.F0),l.Y36(M.I))},x.\u0275cmp=l.Xpm({type:x,selectors:[["app-profile-overlay"]],viewQuery:function(g,F){if(1&g&&(l.Gf(f,5,l.Rgc),l.Gf(T,5)),2&g){let Q;l.iGM(Q=l.CRH())&&(F.overlayTemplate=Q.first),l.iGM(Q=l.CRH())&&(F.container=Q.first)}},inputs:{trigger:"trigger",user:"user"},features:[l.qOj],ngContentSelectors:Z,decls:5,vars:0,consts:[["overlayTemplate",""],[3,"mouseenter","mouseleave","click"],["container",""],[1,"background-color-card","overlayRoot",2,"position","relative","width","20em","box-shadow","0 0 2em #00000080","border-radius","0.5em","padding","0.5em","margin","1em","height","min-content"],[2,"width","100%","height","9.375em","border-radius","0.25em","overflow","hidden","position","relative",3,"ngStyle"],["style","\n object-fit: cover;\n width: 100%;\n height: 100%;\n ",3,"src",4,"ngIf"],[2,"--size","6em","--offset","calc(var(--size) / 2)","--offset-left-over","calc(var(--size) - var(--offset))","position","relative","height","var(--offset-left-over)","margin-bottom","1em"],[1,"border-color-card","background-color-card",2,"left","2em","top","calc(-1 * var(--offset))","position","absolute","height","var(--size)","width","var(--size)","border-radius","50%","overflow","hidden","border-style","solid","border-width","0.25em"],[1,"profile-overlay","avatar",2,"object-fit","cover","width","100%","height","100%",3,"src"],["mat-stroked-button","","pill","",2,"position","absolute","top","1em","right","1em",3,"click"],[2,"padding","0 1em 1em 1.5em","display","flex","flex-direction","column","gap","0.75em"],[2,"margin-bottom","0"],[1,"text-faded"],["class","text-disabled",4,"ngIf"],[2,"width","100%","display","flex","flex-direction","row","gap","0.25em 1.25em","align-items","center","flex-wrap","wrap"],["style","\n display: flex; \n flex-direction: row;\n align-items: center;\n gap: 0.5em;\n flex-wrap: wrap;\n ",4,"ngIf"],[2,"object-fit","cover","width","100%","height","100%",3,"src"],[1,"text-disabled"],[2,"display","flex","flex-direction","row","align-items","center","gap","0.5em","flex-wrap","wrap"],["color","blank"]],template:function(g,F){1&g&&(l.F$t(),l.YNc(0,J,21,9,"ng-template",null,0,l.W1O),l.TgZ(2,"button",1,2),l.NdJ("mouseenter",function(){return F.onMouseEnter()})("mouseleave",function(){return F.onMouseExit()})("click",function(){return F.onMouseDown()}),l.Hsn(4),l.qZA())},dependencies:[v.O5,v.PC,b.lW,I.Z,P.v]}),x})()},335:(et,V,c)=>{c.d(V,{z:()=>P});var L=c(8232),w=c(8692),l=c(92),u=c(1637),t=c(9638),m=c(1379),B=c(8659),C=c(3331),R=c(7406),A=c(8033),S=c(3178),N=c(4276),h=c(7545),s=c(8399),y=c(5491),M=c(7950),v=c(6883),b=c(9518),I=c(4537);let P=(()=>{class f{}return f.\u0275fac=function(D){return new(D||f)},f.\u0275mod=I.oAB({type:f}),f.\u0275inj=I.cJS({imports:[w.ez,y.F,N.J,l.UX,B.lN,s.QX,C.Ps,m.Ng,A.LD,S.Bz,R.c,t.ot,u.Bb,h.fF,v.U,b.I,L.U8,M.c]}),f})()},1063:(et,V,c)=>{function L(){const l=new Date,u=new Date(`${l.getFullYear()}-09-1`);return lnew Date(`${l}-05-20`))return"\u{1f393} Alumni";const B=l-L();return 1===B?"\u{1f386} Senior":2===B?"\u{1f307} Junior":3===B?"\u{1f99c} Sophmore":4===B?"\u{1f530} Freshman":"\u{1f4e8} Incoming"}c.d(V,{N:()=>L,R:()=>w})},1637:(et,V,c)=>{c.d(V,{Bb:()=>bt,XC:()=>tt,ZL:()=>_t});var L=c(8954),w=c(4929),l=c(6321),u=c(4537),t=c(1379),m=c(4813),B=c(8023),C=c(3072),R=c(1860),A=c(4945),S=c(4581),N=c(8692),h=c(8232),s=c(5531),y=c(5875),M=c(5436),v=c(8632),b=c(92),I=c(8659),P=c(1927),f=c(1528),T=c(5598),D=c(4970),k=c(7969),H=c(8168),j=c(5990);const J=["panel"];function Z(O,W){if(1&O&&(u.TgZ(0,"div",0,1),u.Hsn(2),u.qZA()),2&O){const r=W.id,d=u.oxw();u.Q6J("id",d.id)("ngClass",d._classList),u.uIk("aria-label",d.ariaLabel||null)("aria-labelledby",d._getPanelAriaLabelledby(r))}}const $=["*"];let x=0;class Y{constructor(W,r){this.source=W,this.option=r}}const g=(0,t.Kr)(class{}),F=new u.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function Q(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let q=(()=>{class O extends g{constructor(r,d,E,U){super(),this._changeDetectorRef=r,this._elementRef=d,this._activeOptionChanges=m.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new u.vpe,this.opened=new u.vpe,this.closed=new u.vpe,this.optionActivated=new u.vpe,this._classList={},this.id="mat-autocomplete-"+x++,this.inertGroups=U?.SAFARI||!1,this._autoActiveFirstOption=!!E.autoActiveFirstOption,this._autoSelectActiveOption=!!E.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(r){this._autoActiveFirstOption=(0,w.Ig)(r)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(r){this._autoSelectActiveOption=(0,w.Ig)(r)}set classList(r){this._classList=r&&r.length?(0,w.du)(r).reduce((d,E)=>(d[E]=!0,d),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new L.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(r=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[r]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(r){this.panel&&(this.panel.nativeElement.scrollTop=r)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(r){const d=new Y(this,r);this.optionSelected.emit(d)}_getPanelAriaLabelledby(r){return this.ariaLabel?null:this.ariaLabelledby?(r?r+" ":"")+this.ariaLabelledby:r}_setVisibilityClasses(r){r[this._visibleClass]=this.showPanel,r[this._hiddenClass]=!this.showPanel}}return O.\u0275fac=function(r){return new(r||O)(u.Y36(u.sBO),u.Y36(u.SBq),u.Y36(F),u.Y36(l.t4))},O.\u0275dir=u.lG2({type:O,viewQuery:function(r,d){if(1&r&&(u.Gf(u.Rgc,7),u.Gf(J,5)),2&r){let E;u.iGM(E=u.CRH())&&(d.template=E.first),u.iGM(E=u.CRH())&&(d.panel=E.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[u.qOj]}),O})(),tt=(()=>{class O extends q{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return O.\u0275fac=function(){let W;return function(d){return(W||(W=u.n5z(O)))(d||O)}}(),O.\u0275cmp=u.Xpm({type:O,selectors:[["mat-autocomplete"]],contentQueries:function(r,d,E){if(1&r&&(u.Suo(E,t.K7,5),u.Suo(E,t.ey,5)),2&r){let U;u.iGM(U=u.CRH())&&(d.optionGroups=U),u.iGM(U=u.CRH())&&(d.options=U)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[u._Bn([{provide:t.HF,useExisting:O}]),u.qOj],ngContentSelectors:$,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(r,d){1&r&&(u.F$t(),u.YNc(0,Z,3,4,"ng-template"))},dependencies:[N.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"],encapsulation:2,changeDetection:0}),O})();const nt=new u.OlP("mat-autocomplete-scroll-strategy"),st={provide:nt,deps:[h.aV],useFactory:function ot(O){return()=>O.scrollStrategies.reposition()}},rt={provide:b.JU,useExisting:(0,u.Gpc)(()=>_t),multi:!0};let mt=(()=>{class O{constructor(r,d,E,U,X,at,ut,gt,ft,vt,ht){this._element=r,this._overlay=d,this._viewContainerRef=E,this._zone=U,this._changeDetectorRef=X,this._dir=ut,this._formField=gt,this._document=ft,this._viewportRuler=vt,this._defaults=ht,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=m.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new B.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,C.P)(()=>{const it=this.autocomplete?this.autocomplete.options:null;return it?it.changes.pipe((0,P.O)(it),(0,f.w)(()=>(0,R.T)(...it.map(yt=>yt.onSelectionChange)))):this._zone.onStable.pipe((0,T.q)(1),(0,f.w)(()=>this.optionSelections))}),this._scrollStrategy=at}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(r){this._autocompleteDisabled=(0,w.Ig)(r)}ngAfterViewInit(){const r=this._getWindow();typeof r<"u"&&this._zone.runOutsideAngular(()=>r.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(r){r.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const r=this._getWindow();typeof r<"u"&&r.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,R.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,D.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,D.h)(()=>this._overlayAttached)):(0,A.of)()).pipe((0,k.U)(r=>r instanceof t.rN?r:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,R.T)((0,S.R)(this._document,"click"),(0,S.R)(this._document,"auxclick"),(0,S.R)(this._document,"touchend")).pipe((0,D.h)(r=>{const d=(0,l.sA)(r),E=this._formField?this._formField._elementRef.nativeElement:null,U=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&d!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!E||!E.contains(d))&&(!U||!U.contains(d))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(d)}))}writeValue(r){Promise.resolve(null).then(()=>this._assignOptionValue(r))}registerOnChange(r){this._onChange=r}registerOnTouched(r){this._onTouched=r}setDisabledState(r){this._element.nativeElement.disabled=r}_handleKeydown(r){const d=r.keyCode,E=(0,M.Vb)(r);if(d===M.hY&&!E&&r.preventDefault(),this.activeOption&&d===M.K5&&this.panelOpen&&!E)this.activeOption._selectViaInteraction(),this._resetActiveItem(),r.preventDefault();else if(this.autocomplete){const U=this.autocomplete._keyManager.activeItem,X=d===M.LH||d===M.JH;d===M.Mf||X&&!E&&this.panelOpen?this.autocomplete._keyManager.onKeydown(r):X&&this._canOpen()&&this.openPanel(),(X||this.autocomplete._keyManager.activeItem!==U)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(r){let d=r.target,E=d.value;"number"===d.type&&(E=""==E?null:parseFloat(E)),this._previousValue!==E&&(this._previousValue=E,this._pendingAutoselectedOption=null,this._onChange(E),this._canOpen()&&this._document.activeElement===r.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(r=!1){this._formField&&"auto"===this._formField.floatLabel&&(r?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const r=this._zone.onStable.pipe((0,T.q)(1)),d=this.autocomplete.options.changes.pipe((0,H.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,j.g)(0));return(0,R.T)(r,d).pipe((0,f.w)(()=>(this._zone.run(()=>{const E=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),E!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,T.q)(1)).subscribe(E=>this._setValueAndClose(E))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(r){const d=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(r):r;this._updateNativeInputValue(d??"")}_updateNativeInputValue(r){this._formField?this._formField._control.value=r:this._element.nativeElement.value=r,this._previousValue=r}_setValueAndClose(r){const d=r?r.source:this._pendingAutoselectedOption;d&&(this._clearPreviousSelectedOption(d),this._assignOptionValue(d.value),this._onChange(d.value),this.autocomplete._emitSelectEvent(d),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(r){this.autocomplete.options.forEach(d=>{d!==r&&d.selected&&d.deselect()})}_attachOverlay(){let r=this._overlayRef;r?(this._positionStrategy.setOrigin(this._getConnectedElement()),r.updateSize({width:this._getPanelWidth()})):(this._portal=new v.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),r=this._overlay.create(this._getOverlayConfig()),this._overlayRef=r,this._handleOverlayEvents(r),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&r&&r.updateSize({width:this._getPanelWidth()})})),r&&!r.hasAttached()&&(r.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const d=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&d!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new h.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const r=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(r),this._positionStrategy=r,r}_setStrategyPositions(r){const d=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],E=this._aboveClass,U=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:E},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:E}];let X;X="above"===this.position?U:"below"===this.position?d:[...d,...U],r.withPositions(X)}_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(){const r=this.autocomplete;r.autoActiveFirstOption?r._keyManager.setFirstItemActive():r._keyManager.setActiveItem(-1)}_canOpen(){const r=this._element.nativeElement;return!r.readOnly&&!r.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(r){const d=this.autocomplete,E=(0,t.CB)(r,d.options,d.optionGroups);if(0===r&&1===E)d._setScrollTop(0);else if(d.panel){const U=d.options.toArray()[r];if(U){const X=U._getHostElement(),at=(0,t.jH)(X.offsetTop,X.offsetHeight,d._getScrollTop(),d.panel.nativeElement.offsetHeight);d._setScrollTop(at)}}}_handleOverlayEvents(r){r.keydownEvents().subscribe(d=>{(d.keyCode===M.hY&&!(0,M.Vb)(d)||d.keyCode===M.LH&&(0,M.Vb)(d,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),d.stopPropagation(),d.preventDefault())})}}return O.\u0275fac=function(r){return new(r||O)(u.Y36(u.SBq),u.Y36(h.aV),u.Y36(u.s_b),u.Y36(u.R0b),u.Y36(u.sBO),u.Y36(nt),u.Y36(y.Is,8),u.Y36(I.G_,9),u.Y36(N.K0,8),u.Y36(s.rL),u.Y36(F,8))},O.\u0275dir=u.lG2({type:O,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[u.TTD]}),O})(),_t=(()=>{class O extends mt{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return O.\u0275fac=function(){let W;return function(d){return(W||(W=u.n5z(O)))(d||O)}}(),O.\u0275dir=u.lG2({type:O,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(r,d){1&r&&u.NdJ("focusin",function(){return d._handleFocus()})("blur",function(){return d._onTouched()})("input",function(U){return d._handleInput(U)})("keydown",function(U){return d._handleKeydown(U)})("click",function(){return d._handleClick()}),2&r&&u.uIk("autocomplete",d.autocompleteAttribute)("role",d.autocompleteDisabled?null:"combobox")("aria-autocomplete",d.autocompleteDisabled?null:"list")("aria-activedescendant",d.panelOpen&&d.activeOption?d.activeOption.id:null)("aria-expanded",d.autocompleteDisabled?null:d.panelOpen.toString())("aria-owns",d.autocompleteDisabled||!d.panelOpen||null==d.autocomplete?null:d.autocomplete.id)("aria-haspopup",d.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[u._Bn([rt]),u.qOj]}),O})(),bt=(()=>{class O{}return O.\u0275fac=function(r){return new(r||O)},O.\u0275mod=u.oAB({type:O}),O.\u0275inj=u.cJS({providers:[st],imports:[h.U8,t.Ng,t.BQ,N.ez,s.ZD,t.Ng,t.BQ]}),O})()},2516:(et,V,c)=>{c.d(V,{BU:()=>At,Nh:()=>Ut,Nj:()=>Pt,SP:()=>Yt,Vc:()=>r,uD:()=>U,uX:()=>ut});var L=c(8954),w=c(7723),l=c(8632),u=c(8692),t=c(4537),m=c(1379),B=c(5598),C=c(1927),R=c(2147),A=c(3528),S=c(1528),N=c(1588),h=c(8023),s=c(4813),y=c(4581),M=c(4945),v=c(1860),b=c(9018),I=c(818),P=c(7878),f=c(5875),T=c(4091),D=c(4929),k=c(5531),H=c(6321),j=c(5436);function J(o,p){1&o&&t.Hsn(0)}const Z=["*"];function $(o,p){}const x=function(o){return{animationDuration:o}},Y=function(o,p){return{value:o,params:p}},g=["tabListContainer"],F=["tabList"],Q=["tabListInner"],q=["nextPaginator"],tt=["previousPaginator"],lt=["tabBodyWrapper"],ct=["tabHeader"];function nt(o,p){}function ot(o,p){if(1&o&&t.YNc(0,nt,0,0,"ng-template",10),2&o){const e=t.oxw().$implicit;t.Q6J("cdkPortalOutlet",e.templateLabel)}}function st(o,p){if(1&o&&t._uU(0),2&o){const e=t.oxw().$implicit;t.Oqu(e.textLabel)}}function rt(o,p){if(1&o){const e=t.EpF();t.TgZ(0,"div",6),t.NdJ("click",function(){const a=t.CHM(e),_=a.$implicit,K=a.index,G=t.oxw(),z=t.MAs(1);return t.KtG(G._handleClick(_,z,K))})("cdkFocusChange",function(a){const K=t.CHM(e).index,G=t.oxw();return t.KtG(G._tabFocusChanged(a,K))}),t.TgZ(1,"div",7),t.YNc(2,ot,1,1,"ng-template",8),t.YNc(3,st,1,1,"ng-template",null,9,t.W1O),t.qZA()()}if(2&o){const e=p.$implicit,n=p.index,a=t.MAs(4),_=t.oxw();t.ekj("mat-tab-label-active",_.selectedIndex===n),t.Q6J("id",_._getTabLabelId(n))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||_.disableRipple),t.uIk("tabIndex",_._getTabIndex(e,n))("aria-posinset",n+1)("aria-setsize",_._tabs.length)("aria-controls",_._getTabContentId(n))("aria-selected",_.selectedIndex===n)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),t.xp6(2),t.Q6J("ngIf",e.templateLabel)("ngIfElse",a)}}function dt(o,p){if(1&o){const e=t.EpF();t.TgZ(0,"mat-tab-body",11),t.NdJ("_onCentered",function(){t.CHM(e);const a=t.oxw();return t.KtG(a._removeTabBodyWrapperHeight())})("_onCentering",function(a){t.CHM(e);const _=t.oxw();return t.KtG(_._setTabBodyWrapperHeight(a))}),t.qZA()}if(2&o){const e=p.$implicit,n=p.index,a=t.oxw();t.ekj("mat-tab-body-active",a.selectedIndex===n),t.Q6J("id",a._getTabContentId(n))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",a.animationDuration)("preserveContent",a.preserveContent),t.uIk("tabindex",null!=a.contentTabIndex&&a.selectedIndex===n?a.contentTabIndex:null)("aria-labelledby",a._getTabLabelId(n))}}const mt=["mat-tab-nav-bar",""],_t=new t.OlP("MatInkBarPositioner",{providedIn:"root",factory:function bt(){return p=>({left:p?(p.offsetLeft||0)+"px":"0",width:p?(p.offsetWidth||0)+"px":"0"})}});let O=(()=>{class o{constructor(e,n,a,_){this._elementRef=e,this._ngZone=n,this._inkBarPositioner=a,this._animationMode=_}alignToElement(e){this.show(),this._ngZone.onStable.pipe((0,B.q)(1)).subscribe(()=>{const n=this._inkBarPositioner(e),a=this._elementRef.nativeElement;a.style.left=n.left,a.style.width=n.width})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(_t),t.Y36(t.QbO,8))},o.\u0275dir=t.lG2({type:o,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,n){2&e&&t.ekj("_mat-animation-noopable","NoopAnimations"===n._animationMode)}}),o})();const W=new t.OlP("MatTabContent");let r=(()=>{class o{constructor(e){this.template=e}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.Rgc))},o.\u0275dir=t.lG2({type:o,selectors:[["","matTabContent",""]],features:[t._Bn([{provide:W,useExisting:o}])]}),o})();const d=new t.OlP("MatTabLabel"),E=new t.OlP("MAT_TAB");let U=(()=>{class o extends l.ig{constructor(e,n,a){super(e,n),this._closestTab=a}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(E,8))},o.\u0275dir=t.lG2({type:o,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[t._Bn([{provide:d,useExisting:o}]),t.qOj]}),o})();const X=(0,m.Id)(class{}),at=new t.OlP("MAT_TAB_GROUP");let ut=(()=>{class o extends X{constructor(e,n){super(),this._viewContainerRef=e,this._closestTabGroup=n,this.textLabel="",this._contentPortal=null,this._stateChanges=new h.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new l.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.s_b),t.Y36(at,8))},o.\u0275cmp=t.Xpm({type:o,selectors:[["mat-tab"]],contentQueries:function(e,n,a){if(1&e&&(t.Suo(a,d,5),t.Suo(a,W,7,t.Rgc)),2&e){let _;t.iGM(_=t.CRH())&&(n.templateLabel=_.first),t.iGM(_=t.CRH())&&(n._explicitContent=_.first)}},viewQuery:function(e,n){if(1&e&&t.Gf(t.Rgc,7),2&e){let a;t.iGM(a=t.CRH())&&(n._implicitContent=a.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[t._Bn([{provide:E,useExisting:o}]),t.qOj,t.TTD],ngContentSelectors:Z,decls:1,vars:0,template:function(e,n){1&e&&(t.F$t(),t.YNc(0,J,1,0,"ng-template"))},encapsulation:2}),o})();const gt={translateTab:(0,T.X$)("translateTab",[(0,T.SB)("center, void, left-origin-center, right-origin-center",(0,T.oB)({transform:"none"})),(0,T.SB)("left",(0,T.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,T.SB)("right",(0,T.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,T.eR)("* => left, * => right, left => center, right => center",(0,T.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,T.eR)("void => left-origin-center",[(0,T.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,T.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,T.eR)("void => right-origin-center",[(0,T.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,T.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let ft=(()=>{class o extends l.Pl{constructor(e,n,a,_){super(e,n,_),this._host=a,this._centeringSub=s.w0.EMPTY,this._leavingSub=s.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,C.O)(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36((0,t.Gpc)(()=>ht)),t.Y36(u.K0))},o.\u0275dir=t.lG2({type:o,selectors:[["","matTabBodyHost",""]],features:[t.qOj]}),o})(),vt=(()=>{class o{constructor(e,n,a){this._elementRef=e,this._dir=n,this._dirChangeSubscription=s.w0.EMPTY,this._translateTabComplete=new h.x,this._onCentering=new t.vpe,this._beforeCentering=new t.vpe,this._afterLeavingCenter=new t.vpe,this._onCentered=new t.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,n&&(this._dirChangeSubscription=n.change.subscribe(_=>{this._computePositionAnimationState(_),a.markForCheck()})),this._translateTabComplete.pipe((0,R.x)((_,K)=>_.fromState===K.fromState&&_.toState===K.toState)).subscribe(_=>{this._isCenterPosition(_.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(_.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const n=this._isCenterPosition(e.toState);this._beforeCentering.emit(n),n&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const n=this._getLayoutDirection();return"ltr"==n&&e<=0||"rtl"==n&&e>0?"left-origin-center":"right-origin-center"}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.SBq),t.Y36(f.Is,8),t.Y36(t.sBO))},o.\u0275dir=t.lG2({type:o,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),o})(),ht=(()=>{class o extends vt{constructor(e,n,a){super(e,n,a)}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.SBq),t.Y36(f.Is,8),t.Y36(t.sBO))},o.\u0275cmp=t.Xpm({type:o,selectors:[["mat-tab-body"]],viewQuery:function(e,n){if(1&e&&t.Gf(l.Pl,5),2&e){let a;t.iGM(a=t.CRH())&&(n._portalHost=a.first)}},hostAttrs:[1,"mat-tab-body"],features:[t.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,n){1&e&&(t.TgZ(0,"div",0,1),t.NdJ("@translateTab.start",function(_){return n._onTranslateTabStarted(_)})("@translateTab.done",function(_){return n._translateTabComplete.next(_)}),t.YNc(2,$,0,0,"ng-template",2),t.qZA()),2&e&&t.Q6J("@translateTab",t.WLB(3,Y,n._position,t.VKq(1,x,n.animationDuration)))},dependencies:[ft],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[gt.translateTab]}}),o})();const it=new t.OlP("MAT_TABS_CONFIG"),yt=(0,m.Id)(class{});let Mt=(()=>{class o extends yt{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.SBq))},o.\u0275dir=t.lG2({type:o,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,n){2&e&&(t.uIk("aria-disabled",!!n.disabled),t.ekj("mat-tab-disabled",n.disabled))},inputs:{disabled:"disabled"},features:[t.qOj]}),o})();const Tt=(0,H.i$)({passive:!0});let Ct=(()=>{class o{constructor(e,n,a,_,K,G,z){this._elementRef=e,this._changeDetectorRef=n,this._viewportRuler=a,this._dir=_,this._ngZone=K,this._platform=G,this._animationMode=z,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new h.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new h.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new t.vpe,this.indexFocused=new t.vpe,K.runOutsideAngular(()=>{(0,y.R)(e.nativeElement,"mouseleave").pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=(0,D.Ig)(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=(0,D.su)(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){(0,y.R)(this._previousPaginator.nativeElement,"touchstart",Tt).pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,y.R)(this._nextPaginator.nativeElement,"touchstart",Tt).pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:(0,M.of)("ltr"),n=this._viewportRuler.change(150),a=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new L.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,B.q)(1)).subscribe(a),(0,v.T)(e,n,this._items.changes,this._itemsResized()).pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),a()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,A.R)(this._destroyed)).subscribe(_=>{this.indexFocused.emit(_),this._setTabFocus(_)})}_itemsResized(){return"function"!=typeof ResizeObserver?b.E:this._items.changes.pipe((0,C.O)(this._items),(0,S.w)(e=>new I.y(n=>this._ngZone.runOutsideAngular(()=>{const a=new ResizeObserver(()=>{n.next()});return e.forEach(_=>{a.observe(_.elementRef.nativeElement)}),()=>{a.disconnect()}}))),(0,N.T)(1))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!(0,j.Vb)(e))switch(e.keyCode){case j.K5:case j.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const n=this._items?this._items.toArray()[e]:null;return!!n&&!n.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const n=this._tabListContainer.nativeElement;n.scrollLeft="ltr"==this._getLayoutDirection()?0:n.scrollWidth-n.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,n="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const n=this._items?this._items.toArray()[e]:null;if(!n)return;const a=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:_,offsetWidth:K}=n.elementRef.nativeElement;let G,z;"ltr"==this._getLayoutDirection()?(G=_,z=G+K):(z=this._tabListInner.nativeElement.offsetWidth-_,G=z-K);const pt=this.scrollDistance,Dt=this.scrollDistance+a;GDt&&(this.scrollDistance+=z-Dt+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=e?e.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,n){n&&null!=n.button&&0!==n.button||(this._stopInterval(),(0,P.H)(650,100).pipe((0,A.R)((0,v.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:a,distance:_}=this._scrollHeader(e);(0===_||_>=a)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(k.rL),t.Y36(f.Is,8),t.Y36(t.R0b),t.Y36(H.t4),t.Y36(t.QbO,8))},o.\u0275dir=t.lG2({type:o,inputs:{disablePagination:"disablePagination"}}),o})(),It=(()=>{class o extends Ct{constructor(e,n,a,_,K,G,z){super(e,n,a,_,K,G,z),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=(0,D.Ig)(e)}_itemSelected(e){e.preventDefault()}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(k.rL),t.Y36(f.Is,8),t.Y36(t.R0b),t.Y36(H.t4),t.Y36(t.QbO,8))},o.\u0275dir=t.lG2({type:o,inputs:{disableRipple:"disableRipple"},features:[t.qOj]}),o})(),Bt=(()=>{class o extends It{constructor(e,n,a,_,K,G,z){super(e,n,a,_,K,G,z)}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(k.rL),t.Y36(f.Is,8),t.Y36(t.R0b),t.Y36(H.t4),t.Y36(t.QbO,8))},o.\u0275cmp=t.Xpm({type:o,selectors:[["mat-tab-header"]],contentQueries:function(e,n,a){if(1&e&&t.Suo(a,Mt,4),2&e){let _;t.iGM(_=t.CRH())&&(n._items=_)}},viewQuery:function(e,n){if(1&e&&(t.Gf(O,7),t.Gf(g,7),t.Gf(F,7),t.Gf(Q,7),t.Gf(q,5),t.Gf(tt,5)),2&e){let a;t.iGM(a=t.CRH())&&(n._inkBar=a.first),t.iGM(a=t.CRH())&&(n._tabListContainer=a.first),t.iGM(a=t.CRH())&&(n._tabList=a.first),t.iGM(a=t.CRH())&&(n._tabListInner=a.first),t.iGM(a=t.CRH())&&(n._nextPaginator=a.first),t.iGM(a=t.CRH())&&(n._previousPaginator=a.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,n){2&e&&t.ekj("mat-tab-header-pagination-controls-enabled",n._showPaginationControls)("mat-tab-header-rtl","rtl"==n._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[t.qOj],ngContentSelectors:Z,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,n){1&e&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return n._handlePaginatorClick("before")})("mousedown",function(_){return n._handlePaginatorPress("before",_)})("touchend",function(){return n._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(_){return n._handleKeydown(_)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return n._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA(),t._UZ(10,"mat-ink-bar"),t.qZA()(),t.TgZ(11,"button",9,10),t.NdJ("mousedown",function(_){return n._handlePaginatorPress("after",_)})("click",function(){return n._handlePaginatorClick("after")})("touchend",function(){return n._stopInterval()}),t._UZ(13,"div",2),t.qZA()),2&e&&(t.ekj("mat-tab-header-pagination-disabled",n._disableScrollBefore),t.Q6J("matRippleDisabled",n._disableScrollBefore||n.disableRipple)("disabled",n._disableScrollBefore||null),t.xp6(5),t.ekj("_mat-animation-noopable","NoopAnimations"===n._animationMode),t.xp6(6),t.ekj("mat-tab-header-pagination-disabled",n._disableScrollAfter),t.Q6J("matRippleDisabled",n._disableScrollAfter||n.disableRipple)("disabled",n._disableScrollAfter||null))},dependencies:[m.wG,w.wD,O],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),o})(),Lt=0;class wt{}const St=(0,m.pj)((0,m.Kr)(class{constructor(o){this._elementRef=o}}),"primary");let kt=(()=>{class o extends St{constructor(e,n,a,_){super(e),this._changeDetectorRef=n,this._animationMode=_,this._tabs=new t.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=s.w0.EMPTY,this._tabLabelSubscription=s.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new t.vpe,this.focusChange=new t.vpe,this.animationDone=new t.vpe,this.selectedTabChange=new t.vpe(!0),this._groupId=Lt++,this.animationDuration=a&&a.animationDuration?a.animationDuration:"500ms",this.disablePagination=!(!a||null==a.disablePagination)&&a.disablePagination,this.dynamicHeight=!(!a||null==a.dynamicHeight)&&a.dynamicHeight,this.contentTabIndex=a?.contentTabIndex??null,this.preserveContent=!!a?.preserveContent}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=(0,D.Ig)(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=(0,D.su)(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=(0,D.su)(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=(0,D.Ig)(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=(0,D.Ig)(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const n=this._elementRef.nativeElement;n.classList.remove(`mat-background-${this.backgroundColor}`),e&&n.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const n=null==this._selectedIndex;if(!n){this.selectedTabChange.emit(this._createChangeEvent(e));const a=this._tabBodyWrapper.nativeElement;a.style.minHeight=a.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((a,_)=>a.isActive=_===e),n||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((n,a)=>{n.position=a-e,null!=this._selectedIndex&&0==n.position&&!n.origin&&(n.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const n=this._tabs.toArray();let a;for(let _=0;_{n[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,C.O)(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(n=>n._closestTabGroup===this||!n._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const n=this._tabHeader;n&&(n.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const n=new wt;return n.index=e,this._tabs&&this._tabs.length&&(n.tab=this._tabs.toArray()[e]),n}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,v.T)(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const n=this._tabBodyWrapper.nativeElement;n.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(n.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,n,a){e.disabled||(this.selectedIndex=n.focusIndex=a)}_getTabIndex(e,n){return e.disabled?null:n===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,n){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=n)}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(it,8),t.Y36(t.QbO,8))},o.\u0275dir=t.lG2({type:o,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[t.qOj]}),o})(),Yt=(()=>{class o extends kt{constructor(e,n,a,_){super(e,n,a,_)}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(it,8),t.Y36(t.QbO,8))},o.\u0275cmp=t.Xpm({type:o,selectors:[["mat-tab-group"]],contentQueries:function(e,n,a){if(1&e&&t.Suo(a,ut,5),2&e){let _;t.iGM(_=t.CRH())&&(n._allTabs=_)}},viewQuery:function(e,n){if(1&e&&(t.Gf(lt,5),t.Gf(ct,5)),2&e){let a;t.iGM(a=t.CRH())&&(n._tabBodyWrapper=a.first),t.iGM(a=t.CRH())&&(n._tabHeader=a.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,n){2&e&&t.ekj("mat-tab-group-dynamic-height",n.dynamicHeight)("mat-tab-group-inverted-header","below"===n.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[t._Bn([{provide:at,useExisting:o}]),t.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,n){1&e&&(t.TgZ(0,"mat-tab-header",0,1),t.NdJ("indexFocused",function(_){return n._focusChanged(_)})("selectFocusedIndex",function(_){return n.selectedIndex=_}),t.YNc(2,rt,5,15,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.YNc(5,dt,1,11,"mat-tab-body",5),t.qZA()),2&e&&(t.Q6J("selectedIndex",n.selectedIndex||0)("disableRipple",n.disableRipple)("disablePagination",n.disablePagination),t.xp6(2),t.Q6J("ngForOf",n._tabs),t.xp6(1),t.ekj("_mat-animation-noopable","NoopAnimations"===n._animationMode),t.xp6(2),t.Q6J("ngForOf",n._tabs))},dependencies:[u.mk,u.sg,u.O5,l.Pl,m.wG,L.kH,Mt,ht,Bt],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:2}),o})(),Ft=0,Et=(()=>{class o extends Ct{constructor(e,n,a,_,K,G,z){super(e,_,K,n,a,G,z),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const n=this._elementRef.nativeElement.classList;n.remove(`mat-background-${this.backgroundColor}`),e&&n.add(`mat-background-${e}`),this._backgroundColor=e}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=(0,D.Ig)(e)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,C.O)(null),(0,A.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const e=this._items.toArray();for(let n=0;n{class o extends Et{constructor(e,n,a,_,K,G,z){super(e,n,a,_,K,G,z)}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.SBq),t.Y36(f.Is,8),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(k.rL),t.Y36(H.t4),t.Y36(t.QbO,8))},o.\u0275cmp=t.Xpm({type:o,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(e,n,a){if(1&e&&t.Suo(a,Pt,5),2&e){let _;t.iGM(_=t.CRH())&&(n._items=_)}},viewQuery:function(e,n){if(1&e&&(t.Gf(O,7),t.Gf(g,7),t.Gf(F,7),t.Gf(Q,7),t.Gf(q,5),t.Gf(tt,5)),2&e){let a;t.iGM(a=t.CRH())&&(n._inkBar=a.first),t.iGM(a=t.CRH())&&(n._tabListContainer=a.first),t.iGM(a=t.CRH())&&(n._tabList=a.first),t.iGM(a=t.CRH())&&(n._tabListInner=a.first),t.iGM(a=t.CRH())&&(n._nextPaginator=a.first),t.iGM(a=t.CRH())&&(n._previousPaginator=a.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:11,hostBindings:function(e,n){2&e&&(t.uIk("role",n._getRole()),t.ekj("mat-tab-header-pagination-controls-enabled",n._showPaginationControls)("mat-tab-header-rtl","rtl"==n._getLayoutDirection())("mat-primary","warn"!==n.color&&"accent"!==n.color)("mat-accent","accent"===n.color)("mat-warn","warn"===n.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[t.qOj],attrs:mt,ngContentSelectors:Z,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,n){1&e&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return n._handlePaginatorClick("before")})("mousedown",function(_){return n._handlePaginatorPress("before",_)})("touchend",function(){return n._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(_){return n._handleKeydown(_)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return n._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA(),t._UZ(10,"mat-ink-bar"),t.qZA()(),t.TgZ(11,"button",9,10),t.NdJ("mousedown",function(_){return n._handlePaginatorPress("after",_)})("click",function(){return n._handlePaginatorClick("after")})("touchend",function(){return n._stopInterval()}),t._UZ(13,"div",2),t.qZA()),2&e&&(t.ekj("mat-tab-header-pagination-disabled",n._disableScrollBefore),t.Q6J("matRippleDisabled",n._disableScrollBefore||n.disableRipple)("disabled",n._disableScrollBefore||null),t.xp6(5),t.ekj("_mat-animation-noopable","NoopAnimations"===n._animationMode),t.xp6(6),t.ekj("mat-tab-header-pagination-disabled",n._disableScrollAfter),t.Q6J("matRippleDisabled",n._disableScrollAfter||n.disableRipple)("disabled",n._disableScrollAfter||null))},dependencies:[m.wG,w.wD,O],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}"],encapsulation:2}),o})();const Wt=(0,m.sb)((0,m.Kr)((0,m.Id)(class{})));let Ht=(()=>{class o extends Wt{constructor(e,n,a,_,K,G){super(),this._tabNavBar=e,this.elementRef=n,this._focusMonitor=K,this._isActive=!1,this.id="mat-tab-link-"+Ft++,this.rippleConfig=a||{},this.tabIndex=parseInt(_)||0,"NoopAnimations"===G&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(e){const n=(0,D.Ig)(e);n!==this._isActive&&(this._isActive=n,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(e){this._tabNavBar.tabPanel&&e.keyCode===j.L_&&this.elementRef.nativeElement.click()}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(Et),t.Y36(t.SBq),t.Y36(m.Y2,8),t.$8M("tabindex"),t.Y36(L.tE),t.Y36(t.QbO,8))},o.\u0275dir=t.lG2({type:o,inputs:{active:"active",id:"id"},features:[t.qOj]}),o})(),Pt=(()=>{class o extends Ht{constructor(e,n,a,_,K,G,z,pt){super(e,n,K,G,z,pt),this._tabLinkRipple=new m.IR(this,a,n,_),this._tabLinkRipple.setupTriggerEvents(n.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(At),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(H.t4),t.Y36(m.Y2,8),t.$8M("tabindex"),t.Y36(L.tE),t.Y36(t.QbO,8))},o.\u0275dir=t.lG2({type:o,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(e,n){1&e&&t.NdJ("focus",function(){return n._handleFocus()})("keydown",function(_){return n._handleKeydown(_)}),2&e&&(t.uIk("aria-controls",n._getAriaControls())("aria-current",n._getAriaCurrent())("aria-disabled",n.disabled)("aria-selected",n._getAriaSelected())("id",n.id)("tabIndex",n._getTabIndex())("role",n._getRole()),t.ekj("mat-tab-disabled",n.disabled)("mat-tab-label-active",n.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[t.qOj]}),o})(),Ut=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[u.ez,m.BQ,l.eL,m.si,w.Q8,L.rt,m.BQ]}),o})()},5561:(et,V,c)=>{if(c.d(V,{Z:()=>u}),!L)var L={map:function(t,m){var B={};return m?t.map(function(C,R){return B.index=R,m.call(B,C)}):t.slice()},naturalOrder:function(t,m){return tm?1:0},sum:function(t,m){var B={};return t.reduce(m?function(C,R,A){return B.index=A,C+m.call(B,R)}:function(C,R){return C+R},0)},max:function(t,m){return Math.max.apply(null,m?L.map(t,m):t)}};var w=function(){function C(h,s,y){return(h<<10)+(s<<5)+y}function R(h){var s=[],y=!1;function M(){s.sort(h),y=!0}return{push:function(v){s.push(v),y=!1},peek:function(v){return y||M(),void 0===v&&(v=s.length-1),s[v]},pop:function(){return y||M(),s.pop()},size:function(){return s.length},map:function(v){return s.map(v)},debug:function(){return y||M(),s}}}function A(h,s,y,M,v,b,I){var P=this;P.r1=h,P.r2=s,P.g1=y,P.g2=M,P.b1=v,P.b2=b,P.histo=I}function S(){this.vboxes=new R(function(h,s){return L.naturalOrder(h.vbox.count()*h.vbox.volume(),s.vbox.count()*s.vbox.volume())})}function N(h,s){if(s.count()){var y=s.r2-s.r1+1,M=s.g2-s.g1+1,v=L.max([y,M,s.b2-s.b1+1]);if(1==s.count())return[s.copy()];var b,I,P,f,T=0,D=[],k=[];if(v==y)for(b=s.r1;b<=s.r2;b++){for(f=0,I=s.g1;I<=s.g2;I++)for(P=s.b1;P<=s.b2;P++)f+=h[C(b,I,P)]||0;D[b]=T+=f}else if(v==M)for(b=s.g1;b<=s.g2;b++){for(f=0,I=s.r1;I<=s.r2;I++)for(P=s.b1;P<=s.b2;P++)f+=h[C(I,b,P)]||0;D[b]=T+=f}else for(b=s.b1;b<=s.b2;b++){for(f=0,I=s.r1;I<=s.r2;I++)for(P=s.g1;P<=s.g2;P++)f+=h[C(I,P,b)]||0;D[b]=T+=f}return D.forEach(function(H,j){k[j]=T-H}),function(H){var j,J,Z,$,x,Y=H+"1",g=H+"2",F=0;for(b=s[Y];b<=s[g];b++)if(D[b]>T/2){for(Z=s.copy(),$=s.copy(),x=(j=b-s[Y])<=(J=s[g]-b)?Math.min(s[g]-1,~~(b+J/2)):Math.max(s[Y],~~(b-1-j/2));!D[x];)x++;for(F=k[x];!F&&D[x-1];)F=k[--x];return Z[g]=x,$[Y]=Z[g]+1,[Z,$]}}(v==y?"r":v==M?"g":"b")}}return A.prototype={volume:function(h){var s=this;return s._volume&&!h||(s._volume=(s.r2-s.r1+1)*(s.g2-s.g1+1)*(s.b2-s.b1+1)),s._volume},count:function(h){var s=this,y=s.histo;if(!s._count_set||h){var M,v,b,I=0;for(M=s.r1;M<=s.r2;M++)for(v=s.g1;v<=s.g2;v++)for(b=s.b1;b<=s.b2;b++)I+=y[C(M,v,b)]||0;s._count=I,s._count_set=!0}return s._count},copy:function(){var h=this;return new A(h.r1,h.r2,h.g1,h.g2,h.b1,h.b2,h.histo)},avg:function(h){var s=this,y=s.histo;if(!s._avg||h){var M,v,b,I,P=0,T=0,D=0,k=0;for(v=s.r1;v<=s.r2;v++)for(b=s.g1;b<=s.g2;b++)for(I=s.b1;I<=s.b2;I++)P+=M=y[C(v,b,I)]||0,T+=M*(v+.5)*8,D+=M*(b+.5)*8,k+=M*(I+.5)*8;s._avg=P?[~~(T/P),~~(D/P),~~(k/P)]:[~~(8*(s.r1+s.r2+1)/2),~~(8*(s.g1+s.g2+1)/2),~~(8*(s.b1+s.b2+1)/2)]}return s._avg},contains:function(h){var s=this,y=h[0]>>3;return gval=h[1]>>3,bval=h[2]>>3,y>=s.r1&&y<=s.r2&&gval>=s.g1&&gval<=s.g2&&bval>=s.b1&&bval<=s.b2}},S.prototype={push:function(h){this.vboxes.push({vbox:h,color:h.avg()})},palette:function(){return this.vboxes.map(function(h){return h.color})},size:function(){return this.vboxes.size()},map:function(h){for(var s=this.vboxes,y=0;y251&&M[1]>251&&M[2]>251&&(h[y].color=[255,255,255])}},{quantize:function(h,s){if(!h.length||s<2||s>256)return!1;var f,T,D,y=(f=h,D=new Array(32768),f.forEach(function(k){T=C(k[0]>>3,k[1]>>3,k[2]>>3),D[T]=(D[T]||0)+1}),D);y.forEach(function(){});var M=function(f,T){var D,k,H,j=1e6,J=0,Z=1e6,$=0,x=1e6,Y=0;return f.forEach(function(g){(D=g[0]>>3)J&&(J=D),(k=g[1]>>3)$&&($=k),(H=g[2]>>3)Y&&(Y=H)}),new A(j,J,Z,$,x,Y,T)}(h,y),v=new R(function(f,T){return L.naturalOrder(f.count(),T.count())});function b(f,T){for(var D,k=f.size(),H=0;H<1e3;){if(k>=T||H++>1e3)return;if((D=f.pop()).count()){var j=N(y,D),J=j[0],Z=j[1];if(!J)return;f.push(J),Z&&(f.push(Z),k++)}else f.push(D),H++}}v.push(M),b(v,.75*s);for(var I=new R(function(f,T){return L.naturalOrder(f.count()*f.volume(),T.count()*T.volume())});v.size();)I.push(v.pop());b(I,s);for(var P=new S;I.size();)P.push(I.pop());return P}}}().quantize,l=function(t){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.width=this.canvas.width=t.naturalWidth,this.height=this.canvas.height=t.naturalHeight,this.context.drawImage(t,0,0,this.width,this.height)};l.prototype.getImageData=function(){return this.context.getImageData(0,0,this.width,this.height)};var u=function(){};u.prototype.getColor=function(t,m){return void 0===m&&(m=10),this.getPalette(t,5,m)[0]},u.prototype.getPalette=function(t,m,B){var C=function(N){var h=N.colorCount,s=N.quality;if(void 0!==h&&Number.isInteger(h)){if(1===h)throw new Error("colorCount should be between 2 and 20. To get one color, call getColor() instead of getPalette()");h=Math.max(h,2),h=Math.min(h,20)}else h=10;return(void 0===s||!Number.isInteger(s)||s<1)&&(s=10),{colorCount:h,quality:s}}({colorCount:m,quality:B}),R=new l(t),A=function(N,h,s){for(var y,M,v,b,I,P=N,f=[],T=0;T=125)&&(M>250&&v>250&&b>250||f.push([M,v,b]));return f}(R.getImageData().data,R.width*R.height,C.quality),S=w(A,C.colorCount);return S?S.palette():null},u.prototype.getColorFromUrl=function(t,m,B){var C=this,R=document.createElement("img");R.addEventListener("load",function(){var A=C.getPalette(R,5,B);m(A[0],t)}),R.src=t},u.prototype.getImageData=function(t,m){var B=new XMLHttpRequest;B.open("GET",t,!0),B.responseType="arraybuffer",B.onload=function(){if(200==this.status){var C=new Uint8Array(this.response);i=C.length;for(var R=new Array(i),A=0;A{r.d(J,{l:()=>f});var k=r(3176),I=r(4537),o=r(8692),d=r(3324),t=r(6387);function p(A,T){if(1&A&&(I.TgZ(0,"app-tag",2),I._uU(1),I.qZA()),2&A){const C=T.$implicit,P=I.oxw();I.xp6(1),I.hij(" ",P.getRoleData(C).name," ")}}let f=(()=>{class A{constructor(){this.roles=[],this.center=!1}getRoleData(C){return k.Kh[C]}}return A.\u0275fac=function(C){return new(C||A)},A.\u0275cmp=I.Xpm({type:A,selectors:[["app-roles-display"]],inputs:{roles:"roles",center:"center"},decls:2,vars:2,consts:[[3,"center"],["color","blank",4,"ngFor","ngForOf"],["color","blank"]],template:function(C,P){1&C&&(I.TgZ(0,"app-tag-container",0),I.YNc(1,p,2,1,"app-tag",1),I.qZA()),2&C&&(I.Q6J("center",P.center),I.xp6(1),I.Q6J("ngForOf",P.roles))},dependencies:[o.sg,d.m,t.Z]}),A})()},6883:(tt,J,r)=>{r.d(J,{U:()=>C});var k=r(8692),I=r(7084),o=r(1379),d=r(1637),t=r(7406),p=r(92),f=r(3331),A=r(9518),T=r(4537);let C=(()=>{class P{}return P.\u0275fac=function(G){return new(G||P)},P.\u0275mod=T.oAB({type:P}),P.\u0275inj=T.cJS({imports:[k.ez,I.Hi,o.Ng,d.Bb,t.c,p.UX,f.Ps,A.I]}),P})()},1090:(tt,J,r)=>{r.d(J,{q:()=>V});var k=r(4091),I=r(8632),o=r(4537),d=r(3451),t=r(8232);function p(R=0,S=0){return[new t.tR({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"},R,-S),new t.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"},-R,-S),new t.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},-S,R),new t.tR({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},S,R),new t.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},-S,-R),new t.tR({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},S,-R)]}var f=r(1063),A=r(5561),T=r(3528),C=r(8655),P=r(6440),K=r(1656),G=r(3512),u=r(5596),h=r(3178),m=r(6527),M=r(8692),y=r(9638),g=r(6387),B=r(2709);const D=["overlayTemplate"],v=["container"];function x(R,S){if(1&R&&o._UZ(0,"img",16),2&R){const b=o.oxw(2);o.Q6J("src",b.cdnService.getFileLink(b.user.bannerLink),o.LSH)}}function w(R,S){1&R&&(o.TgZ(0,"div",17),o._uU(1," Empty bio... "),o.qZA())}function F(R,S){if(1&R&&(o.TgZ(0,"div",18)(1,"app-tag",19),o._uU(2),o.qZA()()),2&R){const b=o.oxw(2);o.xp6(2),o.hij(" \u2705 Verified @",b.user.netId," ")}}function N(R,S){if(1&R&&(o.TgZ(0,"div",18)(1,"div"),o._uU(2),o.qZA(),o.TgZ(3,"app-tag",19),o._uU(4),o.qZA()()),2&R){const b=o.oxw(2);o.xp6(2),o.hij("Class of ",b.user.classYear,""),o.xp6(2),o.Oqu(b.getClassYearString(b.user.classYear))}}function z(R,S){if(1&R){const b=o.EpF();o.TgZ(0,"div",3)(1,"div",4),o.YNc(2,x,1,1,"img",5),o.qZA(),o.TgZ(3,"div",6)(4,"div",7),o._UZ(5,"img",8),o.qZA(),o.TgZ(6,"button",9),o.NdJ("click",function(){o.CHM(b);const j=o.oxw();return o.KtG(j.onProfileClick())}),o._uU(7," Profile "),o.qZA()(),o.TgZ(8,"div",10)(9,"div")(10,"h2",11),o._uU(11),o.qZA(),o.TgZ(12,"div",12),o._uU(13),o.qZA()(),o.TgZ(14,"div")(15,"div"),o._uU(16),o.qZA(),o.YNc(17,w,2,0,"div",13),o.qZA(),o.TgZ(18,"div",14),o.YNc(19,F,3,1,"div",15),o.YNc(20,N,5,2,"div",15),o.qZA()()()}if(2&R){const b=o.oxw();let L;o.xp6(1),o.Q6J("ngStyle",b.getBannerContainerStyle()),o.xp6(1),o.Q6J("ngIf",b.user.bannerLink),o.xp6(3),o.Q6J("src",b.user.avatarLink?b.cdnService.getFileLink(b.user.avatarLink):b.settings.General.defaultAvatarSrc,o.LSH),o.xp6(6),o.Oqu(b.user.displayName),o.xp6(2),o.hij("@",b.user.username,""),o.xp6(3),o.Oqu((null!==(L=b.user.bio)&&void 0!==L?L:"").slice(0,100)+(null!==(L=null==b.user.bio?null:b.user.bio.length)&&void 0!==L&&L?"...":"")),o.xp6(1),o.Q6J("ngIf",!b.user.bio),o.xp6(2),o.Q6J("ngIf",b.user.netId),o.xp6(1),o.Q6J("ngIf",b.user.classYear)}}const Q=["*"];let V=(()=>{class R extends((0,C.AF)(d.tA)){constructor(b,L,j,$,q,rt,lt,it,at,ot){super(),this.cdnService=b,this.settings=L,this.animBuilder=j,this.overlay=$,this.viewContainerRef=q,this.elementRef=rt,this.cssLength=lt,this.overlayService=it,this.router=at,this.breakpointManager=ot,this.trigger="click",this.user={},this.bannerColor=d.Il.Types.white,this.hover=!1,this.closeWhenOutsideViewportObserver=new IntersectionObserver(st=>{st.forEach(ct=>{!ct.isIntersecting&&this.elementRef&&this.close()})}),this.setupBannerColorListeners=!1,this.getClassYearString=f.R}get ignoreOverlay(){return this.breakpointManager.matchedBreakpointOrBelow("MEDIUM_MOBILE")}get overlayRoot(){return this.overlayRef?.overlayElement?.querySelector(".overlayRoot")}get avatar(){return this.overlayRef?.overlayElement?.querySelector("img.profile-overlay.avatar")}ngOnInit(){!this.ignoreOverlay&&"click"===this.trigger&&this.overlayService.onClick$.pipe((0,T.R)(this.onDestroy$)).subscribe(b=>{!this.container||this.overlayRoot?.contains(b.target)||(this.container.nativeElement.contains(b.target)?this.toggle():this.close())})}ngAfterViewChecked(){this.trySetupBannerColorListeners()}onMouseDown(){this.ignoreOverlay&&this.onProfileClick()}onProfileClick(){this.router.navigateByUrl(`/members/${this.user.username}`)}ngOnDestroy(){this.currAnimPlayer&&this.currAnimPlayer.destroy(),this.overlayRef&&this.overlayRef.dispose(),this.closeWhenOutsideViewportObserver.disconnect()}trySetupBannerColorListeners(){if(this.setupBannerColorListeners)return;const b=this.avatar;if(b){b.setAttribute("crossOrigin","");const L=new A.Z;b.addEventListener("load",()=>{const[j,$,q]=L.getColor(b);this.bannerColor=new d.Il(j,$,q)}),this.setupBannerColorListeners=!0}}getBannerContainerStyle(){return{...this.bannerColor&&{"background-color":this.bannerColor.hexString()}}}getOpenAnimation(){return[(0,k.oB)({transform:"translateY(-5%)",opacity:0}),(0,k.jt)("200ms ease-out",(0,k.oB)({transform:"translateY(0)",opacity:1}))]}getCloseAnimation(){return[(0,k.oB)({transform:"translateY(0)",opacity:1}),(0,k.jt)("100ms ease-out",(0,k.oB)({transform:"translateY(2.5%)",opacity:0}))]}toggle(){this.overlayRef?this.close():this.open()}open(){this.overlayRef||!this.overlayTemplate||!this.container||(this.overlayRef=this.overlay.create({scrollStrategy:this.overlay.scrollStrategies.reposition(),positionStrategy:this.overlay.position().flexibleConnectedTo(this.container).withPositions(p(0,this.cssLength.convertToNumber("1em","px")))}),this.overlayRef.attach(new I.UE(this.overlayTemplate,this.viewContainerRef)),this.currAnimPlayer&&this.currAnimPlayer.destroy(),this.currAnimPlayer=this.animBuilder.build(this.getOpenAnimation()).create(this.overlayRoot),this.currAnimPlayer.onDone(()=>this.currAnimPlayer=void 0),this.currAnimPlayer.play(),this.closeWhenOutsideViewportObserver.observe(this.container.nativeElement))}close(){!this.overlayRef||!this.container||(this.closeWhenOutsideViewportObserver.unobserve(this.container.nativeElement),this.currAnimPlayer&&this.currAnimPlayer.destroy(),this.currAnimPlayer=this.animBuilder.build(this.getCloseAnimation()).create(this.overlayRoot),this.currAnimPlayer.onDone(()=>{this.currAnimPlayer=void 0,this.overlayRef?.dispose(),this.overlayRef=void 0}),this.currAnimPlayer.play())}onMouseEnter(){this.hover=!0,!this.ignoreOverlay&&"hover"===this.trigger&&this.open()}onMouseExit(){this.hover=!1,!this.ignoreOverlay&&"hover"===this.trigger&&this.close()}onVisibilityChanged(b){!b&&this.elementRef&&this.close()}}return R.\u0275fac=function(b){return new(b||R)(o.Y36(P.U),o.Y36(K.g),o.Y36(k._j),o.Y36(t.aV),o.Y36(o.s_b),o.Y36(o.SBq),o.Y36(G.I),o.Y36(u.F),o.Y36(h.F0),o.Y36(m.I))},R.\u0275cmp=o.Xpm({type:R,selectors:[["app-profile-overlay"]],viewQuery:function(b,L){if(1&b&&(o.Gf(D,5,o.Rgc),o.Gf(v,5)),2&b){let j;o.iGM(j=o.CRH())&&(L.overlayTemplate=j.first),o.iGM(j=o.CRH())&&(L.container=j.first)}},inputs:{trigger:"trigger",user:"user"},features:[o.qOj],ngContentSelectors:Q,decls:5,vars:0,consts:[["overlayTemplate",""],[3,"mouseenter","mouseleave","click"],["container",""],[1,"background-color-card","overlayRoot",2,"position","relative","width","20em","box-shadow","0 0 2em #00000080","border-radius","0.5em","padding","0.5em","margin","1em","height","min-content"],[2,"width","100%","height","9.375em","border-radius","0.25em","overflow","hidden","position","relative",3,"ngStyle"],["style","\n object-fit: cover;\n width: 100%;\n height: 100%;\n ",3,"src",4,"ngIf"],[2,"--size","6em","--offset","calc(var(--size) / 2)","--offset-left-over","calc(var(--size) - var(--offset))","position","relative","height","var(--offset-left-over)","margin-bottom","1em"],[1,"border-color-card","background-color-card",2,"left","2em","top","calc(-1 * var(--offset))","position","absolute","height","var(--size)","width","var(--size)","border-radius","50%","overflow","hidden","border-style","solid","border-width","0.25em"],[1,"profile-overlay","avatar",2,"object-fit","cover","width","100%","height","100%",3,"src"],["mat-stroked-button","","pill","",2,"position","absolute","top","1em","right","1em",3,"click"],[2,"padding","0 1em 1em 1.5em","display","flex","flex-direction","column","gap","0.75em"],[2,"margin-bottom","0"],[1,"text-faded"],["class","text-disabled",4,"ngIf"],[2,"width","100%","display","flex","flex-direction","row","gap","0.25em 1.25em","align-items","center","flex-wrap","wrap"],["style","\n display: flex; \n flex-direction: row;\n align-items: center;\n gap: 0.5em;\n flex-wrap: wrap;\n ",4,"ngIf"],[2,"object-fit","cover","width","100%","height","100%",3,"src"],[1,"text-disabled"],[2,"display","flex","flex-direction","row","align-items","center","gap","0.5em","flex-wrap","wrap"],["color","blank"]],template:function(b,L){1&b&&(o.F$t(),o.YNc(0,z,21,9,"ng-template",null,0,o.W1O),o.TgZ(2,"button",1,2),o.NdJ("mouseenter",function(){return L.onMouseEnter()})("mouseleave",function(){return L.onMouseExit()})("click",function(){return L.onMouseDown()}),o.Hsn(4),o.qZA())},dependencies:[M.O5,M.PC,y.lW,g.Z,B.v]}),R})()},335:(tt,J,r)=>{r.d(J,{z:()=>B});var k=r(8232),I=r(8692),o=r(92),d=r(1637),t=r(9638),p=r(1379),f=r(8659),A=r(3331),T=r(7406),C=r(8033),P=r(3178),K=r(4276),G=r(7545),u=r(8399),h=r(5491),m=r(7950),M=r(6883),y=r(9518),g=r(4537);let B=(()=>{class D{}return D.\u0275fac=function(x){return new(x||D)},D.\u0275mod=g.oAB({type:D}),D.\u0275inj=g.cJS({imports:[I.ez,h.F,K.J,o.UX,f.lN,u.QX,A.Ps,p.Ng,C.LD,P.Bz,T.c,t.ot,d.Bb,G.fF,M.U,y.I,k.U8,m.c]}),D})()},1063:(tt,J,r)=>{function k(){const o=new Date,d=new Date(`${o.getFullYear()}-09-1`);return onew Date(`${o}-05-20`))return"\u{1f393} Alumni";const f=o-k();return 1===f?"\u{1f386} Senior":2===f?"\u{1f307} Junior":3===f?"\u{1f99c} Sophmore":4===f?"\u{1f530} Freshman":"\u{1f4e8} Incoming"}r.d(J,{N:()=>k,R:()=>I})},1637:(tt,J,r)=>{r.d(J,{Bb:()=>mt,XC:()=>q,ZL:()=>dt});var k=r(8954),I=r(4929),o=r(6321),d=r(4537),t=r(1379),p=r(4813),f=r(8023),A=r(3072),T=r(1860),C=r(4945),P=r(4581),K=r(8692),G=r(8232),u=r(5531),h=r(5875),m=r(5436),M=r(8632),y=r(92),g=r(8659),B=r(1927),D=r(1528),v=r(5598),x=r(4970),w=r(7969),F=r(8168),N=r(5990);const z=["panel"];function Q(O,Y){if(1&O&&(d.TgZ(0,"div",0,1),d.Hsn(2),d.qZA()),2&O){const s=Y.id,l=d.oxw();d.Q6J("id",l.id)("ngClass",l._classList),d.uIk("aria-label",l.ariaLabel||null)("aria-labelledby",l._getPanelAriaLabelledby(s))}}const V=["*"];let R=0;class S{constructor(Y,s){this.source=Y,this.option=s}}const b=(0,t.Kr)(class{}),L=new d.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function j(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let $=(()=>{class O extends b{constructor(s,l,E,W){super(),this._changeDetectorRef=s,this._elementRef=l,this._activeOptionChanges=p.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new d.vpe,this.opened=new d.vpe,this.closed=new d.vpe,this.optionActivated=new d.vpe,this._classList={},this.id="mat-autocomplete-"+R++,this.inertGroups=W?.SAFARI||!1,this._autoActiveFirstOption=!!E.autoActiveFirstOption,this._autoSelectActiveOption=!!E.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(s){this._autoActiveFirstOption=(0,I.Ig)(s)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(s){this._autoSelectActiveOption=(0,I.Ig)(s)}set classList(s){this._classList=s&&s.length?(0,I.du)(s).reduce((l,E)=>(l[E]=!0,l),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new k.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(s=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[s]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(s){this.panel&&(this.panel.nativeElement.scrollTop=s)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(s){const l=new S(this,s);this.optionSelected.emit(l)}_getPanelAriaLabelledby(s){return this.ariaLabel?null:this.ariaLabelledby?(s?s+" ":"")+this.ariaLabelledby:s}_setVisibilityClasses(s){s[this._visibleClass]=this.showPanel,s[this._hiddenClass]=!this.showPanel}}return O.\u0275fac=function(s){return new(s||O)(d.Y36(d.sBO),d.Y36(d.SBq),d.Y36(L),d.Y36(o.t4))},O.\u0275dir=d.lG2({type:O,viewQuery:function(s,l){if(1&s&&(d.Gf(d.Rgc,7),d.Gf(z,5)),2&s){let E;d.iGM(E=d.CRH())&&(l.template=E.first),d.iGM(E=d.CRH())&&(l.panel=E.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[d.qOj]}),O})(),q=(()=>{class O extends ${constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return O.\u0275fac=function(){let Y;return function(l){return(Y||(Y=d.n5z(O)))(l||O)}}(),O.\u0275cmp=d.Xpm({type:O,selectors:[["mat-autocomplete"]],contentQueries:function(s,l,E){if(1&s&&(d.Suo(E,t.K7,5),d.Suo(E,t.ey,5)),2&s){let W;d.iGM(W=d.CRH())&&(l.optionGroups=W),d.iGM(W=d.CRH())&&(l.options=W)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[d._Bn([{provide:t.HF,useExisting:O}]),d.qOj],ngContentSelectors:V,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(s,l){1&s&&(d.F$t(),d.YNc(0,Q,3,4,"ng-template"))},dependencies:[K.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"],encapsulation:2,changeDetection:0}),O})();const it=new d.OlP("mat-autocomplete-scroll-strategy"),ot={provide:it,deps:[G.aV],useFactory:function at(O){return()=>O.scrollStrategies.reposition()}},st={provide:y.JU,useExisting:(0,d.Gpc)(()=>dt),multi:!0};let pt=(()=>{class O{constructor(s,l,E,W,X,nt,ht,bt,gt,ft,_t){this._element=s,this._overlay=l,this._viewContainerRef=E,this._zone=W,this._changeDetectorRef=X,this._dir=ht,this._formField=bt,this._document=gt,this._viewportRuler=ft,this._defaults=_t,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=p.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new f.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,A.P)(()=>{const et=this.autocomplete?this.autocomplete.options:null;return et?et.changes.pipe((0,B.O)(et),(0,D.w)(()=>(0,T.T)(...et.map(vt=>vt.onSelectionChange)))):this._zone.onStable.pipe((0,v.q)(1),(0,D.w)(()=>this.optionSelections))}),this._scrollStrategy=nt}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(s){this._autocompleteDisabled=(0,I.Ig)(s)}ngAfterViewInit(){const s=this._getWindow();typeof s<"u"&&this._zone.runOutsideAngular(()=>s.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(s){s.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const s=this._getWindow();typeof s<"u"&&s.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,T.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,x.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,x.h)(()=>this._overlayAttached)):(0,C.of)()).pipe((0,w.U)(s=>s instanceof t.rN?s:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,T.T)((0,P.R)(this._document,"click"),(0,P.R)(this._document,"auxclick"),(0,P.R)(this._document,"touchend")).pipe((0,x.h)(s=>{const l=(0,o.sA)(s),E=this._formField?this._formField._elementRef.nativeElement:null,W=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&l!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!E||!E.contains(l))&&(!W||!W.contains(l))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(l)}))}writeValue(s){Promise.resolve(null).then(()=>this._assignOptionValue(s))}registerOnChange(s){this._onChange=s}registerOnTouched(s){this._onTouched=s}setDisabledState(s){this._element.nativeElement.disabled=s}_handleKeydown(s){const l=s.keyCode,E=(0,m.Vb)(s);if(l===m.hY&&!E&&s.preventDefault(),this.activeOption&&l===m.K5&&this.panelOpen&&!E)this.activeOption._selectViaInteraction(),this._resetActiveItem(),s.preventDefault();else if(this.autocomplete){const W=this.autocomplete._keyManager.activeItem,X=l===m.LH||l===m.JH;l===m.Mf||X&&!E&&this.panelOpen?this.autocomplete._keyManager.onKeydown(s):X&&this._canOpen()&&this.openPanel(),(X||this.autocomplete._keyManager.activeItem!==W)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(s){let l=s.target,E=l.value;"number"===l.type&&(E=""==E?null:parseFloat(E)),this._previousValue!==E&&(this._previousValue=E,this._pendingAutoselectedOption=null,this._onChange(E),this._canOpen()&&this._document.activeElement===s.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(s=!1){this._formField&&"auto"===this._formField.floatLabel&&(s?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const s=this._zone.onStable.pipe((0,v.q)(1)),l=this.autocomplete.options.changes.pipe((0,F.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,N.g)(0));return(0,T.T)(s,l).pipe((0,D.w)(()=>(this._zone.run(()=>{const E=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),E!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,v.q)(1)).subscribe(E=>this._setValueAndClose(E))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(s){const l=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(s):s;this._updateNativeInputValue(l??"")}_updateNativeInputValue(s){this._formField?this._formField._control.value=s:this._element.nativeElement.value=s,this._previousValue=s}_setValueAndClose(s){const l=s?s.source:this._pendingAutoselectedOption;l&&(this._clearPreviousSelectedOption(l),this._assignOptionValue(l.value),this._onChange(l.value),this.autocomplete._emitSelectEvent(l),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(s){this.autocomplete.options.forEach(l=>{l!==s&&l.selected&&l.deselect()})}_attachOverlay(){let s=this._overlayRef;s?(this._positionStrategy.setOrigin(this._getConnectedElement()),s.updateSize({width:this._getPanelWidth()})):(this._portal=new M.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),s=this._overlay.create(this._getOverlayConfig()),this._overlayRef=s,this._handleOverlayEvents(s),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&s&&s.updateSize({width:this._getPanelWidth()})})),s&&!s.hasAttached()&&(s.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const l=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&l!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new G.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const s=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(s),this._positionStrategy=s,s}_setStrategyPositions(s){const l=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],E=this._aboveClass,W=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:E},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:E}];let X;X="above"===this.position?W:"below"===this.position?l:[...l,...W],s.withPositions(X)}_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(){const s=this.autocomplete;s.autoActiveFirstOption?s._keyManager.setFirstItemActive():s._keyManager.setActiveItem(-1)}_canOpen(){const s=this._element.nativeElement;return!s.readOnly&&!s.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(s){const l=this.autocomplete,E=(0,t.CB)(s,l.options,l.optionGroups);if(0===s&&1===E)l._setScrollTop(0);else if(l.panel){const W=l.options.toArray()[s];if(W){const X=W._getHostElement(),nt=(0,t.jH)(X.offsetTop,X.offsetHeight,l._getScrollTop(),l.panel.nativeElement.offsetHeight);l._setScrollTop(nt)}}}_handleOverlayEvents(s){s.keydownEvents().subscribe(l=>{(l.keyCode===m.hY&&!(0,m.Vb)(l)||l.keyCode===m.LH&&(0,m.Vb)(l,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),l.stopPropagation(),l.preventDefault())})}}return O.\u0275fac=function(s){return new(s||O)(d.Y36(d.SBq),d.Y36(G.aV),d.Y36(d.s_b),d.Y36(d.R0b),d.Y36(d.sBO),d.Y36(it),d.Y36(h.Is,8),d.Y36(g.G_,9),d.Y36(K.K0,8),d.Y36(u.rL),d.Y36(L,8))},O.\u0275dir=d.lG2({type:O,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[d.TTD]}),O})(),dt=(()=>{class O extends pt{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return O.\u0275fac=function(){let Y;return function(l){return(Y||(Y=d.n5z(O)))(l||O)}}(),O.\u0275dir=d.lG2({type:O,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(s,l){1&s&&d.NdJ("focusin",function(){return l._handleFocus()})("blur",function(){return l._onTouched()})("input",function(W){return l._handleInput(W)})("keydown",function(W){return l._handleKeydown(W)})("click",function(){return l._handleClick()}),2&s&&d.uIk("autocomplete",l.autocompleteAttribute)("role",l.autocompleteDisabled?null:"combobox")("aria-autocomplete",l.autocompleteDisabled?null:"list")("aria-activedescendant",l.panelOpen&&l.activeOption?l.activeOption.id:null)("aria-expanded",l.autocompleteDisabled?null:l.panelOpen.toString())("aria-owns",l.autocompleteDisabled||!l.panelOpen||null==l.autocomplete?null:l.autocomplete.id)("aria-haspopup",l.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[d._Bn([st]),d.qOj]}),O})(),mt=(()=>{class O{}return O.\u0275fac=function(s){return new(s||O)},O.\u0275mod=d.oAB({type:O}),O.\u0275inj=d.cJS({providers:[ot],imports:[G.U8,t.Ng,t.BQ,K.ez,u.ZD,t.Ng,t.BQ]}),O})()},2516:(tt,J,r)=>{r.d(J,{BU:()=>Et,Nh:()=>Ht,Nj:()=>At,SP:()=>kt,Vc:()=>s,uD:()=>W,uX:()=>ht});var k=r(8954),I=r(7723),o=r(8632),d=r(8692),t=r(4537),p=r(1379),f=r(5598),A=r(1927),T=r(2147),C=r(3528),P=r(1528),K=r(1588),G=r(8023),u=r(4813),h=r(4581),m=r(4945),M=r(1860),y=r(9018),g=r(818),B=r(7878),D=r(5875),v=r(4091),x=r(4929),w=r(5531),F=r(6321),N=r(5436);function z(a,_){1&a&&t.Hsn(0)}const Q=["*"];function V(a,_){}const R=function(a){return{animationDuration:a}},S=function(a,_){return{value:a,params:_}},b=["tabListContainer"],L=["tabList"],j=["tabListInner"],$=["nextPaginator"],q=["previousPaginator"],rt=["tabBodyWrapper"],lt=["tabHeader"];function it(a,_){}function at(a,_){if(1&a&&t.YNc(0,it,0,0,"ng-template",10),2&a){const e=t.oxw().$implicit;t.Q6J("cdkPortalOutlet",e.templateLabel)}}function ot(a,_){if(1&a&&t._uU(0),2&a){const e=t.oxw().$implicit;t.Oqu(e.textLabel)}}function st(a,_){if(1&a){const e=t.EpF();t.TgZ(0,"div",6),t.NdJ("click",function(){const n=t.CHM(e),c=n.$implicit,H=n.index,U=t.oxw(),Z=t.MAs(1);return t.KtG(U._handleClick(c,Z,H))})("cdkFocusChange",function(n){const H=t.CHM(e).index,U=t.oxw();return t.KtG(U._tabFocusChanged(n,H))}),t.TgZ(1,"div",7),t.YNc(2,at,1,1,"ng-template",8),t.YNc(3,ot,1,1,"ng-template",null,9,t.W1O),t.qZA()()}if(2&a){const e=_.$implicit,i=_.index,n=t.MAs(4),c=t.oxw();t.ekj("mat-tab-label-active",c.selectedIndex===i),t.Q6J("id",c._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||c.disableRipple),t.uIk("tabIndex",c._getTabIndex(e,i))("aria-posinset",i+1)("aria-setsize",c._tabs.length)("aria-controls",c._getTabContentId(i))("aria-selected",c.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),t.xp6(2),t.Q6J("ngIf",e.templateLabel)("ngIfElse",n)}}function ct(a,_){if(1&a){const e=t.EpF();t.TgZ(0,"mat-tab-body",11),t.NdJ("_onCentered",function(){t.CHM(e);const n=t.oxw();return t.KtG(n._removeTabBodyWrapperHeight())})("_onCentering",function(n){t.CHM(e);const c=t.oxw();return t.KtG(c._setTabBodyWrapperHeight(n))}),t.qZA()}if(2&a){const e=_.$implicit,i=_.index,n=t.oxw();t.ekj("mat-tab-body-active",n.selectedIndex===i),t.Q6J("id",n._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",n.animationDuration)("preserveContent",n.preserveContent),t.uIk("tabindex",null!=n.contentTabIndex&&n.selectedIndex===i?n.contentTabIndex:null)("aria-labelledby",n._getTabLabelId(i))}}const pt=["mat-tab-nav-bar",""],dt=new t.OlP("MatInkBarPositioner",{providedIn:"root",factory:function mt(){return _=>({left:_?(_.offsetLeft||0)+"px":"0",width:_?(_.offsetWidth||0)+"px":"0"})}});let O=(()=>{class a{constructor(e,i,n,c){this._elementRef=e,this._ngZone=i,this._inkBarPositioner=n,this._animationMode=c}alignToElement(e){this.show(),this._ngZone.onStable.pipe((0,f.q)(1)).subscribe(()=>{const i=this._inkBarPositioner(e),n=this._elementRef.nativeElement;n.style.left=i.left,n.style.width=i.width})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(dt),t.Y36(t.QbO,8))},a.\u0275dir=t.lG2({type:a,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,i){2&e&&t.ekj("_mat-animation-noopable","NoopAnimations"===i._animationMode)}}),a})();const Y=new t.OlP("MatTabContent");let s=(()=>{class a{constructor(e){this.template=e}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(t.Rgc))},a.\u0275dir=t.lG2({type:a,selectors:[["","matTabContent",""]],features:[t._Bn([{provide:Y,useExisting:a}])]}),a})();const l=new t.OlP("MatTabLabel"),E=new t.OlP("MAT_TAB");let W=(()=>{class a extends o.ig{constructor(e,i,n){super(e,i),this._closestTab=n}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(E,8))},a.\u0275dir=t.lG2({type:a,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[t._Bn([{provide:l,useExisting:a}]),t.qOj]}),a})();const X=(0,p.Id)(class{}),nt=new t.OlP("MAT_TAB_GROUP");let ht=(()=>{class a extends X{constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new G.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new o.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(t.s_b),t.Y36(nt,8))},a.\u0275cmp=t.Xpm({type:a,selectors:[["mat-tab"]],contentQueries:function(e,i,n){if(1&e&&(t.Suo(n,l,5),t.Suo(n,Y,7,t.Rgc)),2&e){let c;t.iGM(c=t.CRH())&&(i.templateLabel=c.first),t.iGM(c=t.CRH())&&(i._explicitContent=c.first)}},viewQuery:function(e,i){if(1&e&&t.Gf(t.Rgc,7),2&e){let n;t.iGM(n=t.CRH())&&(i._implicitContent=n.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[t._Bn([{provide:E,useExisting:a}]),t.qOj,t.TTD],ngContentSelectors:Q,decls:1,vars:0,template:function(e,i){1&e&&(t.F$t(),t.YNc(0,z,1,0,"ng-template"))},encapsulation:2}),a})();const bt={translateTab:(0,v.X$)("translateTab",[(0,v.SB)("center, void, left-origin-center, right-origin-center",(0,v.oB)({transform:"none"})),(0,v.SB)("left",(0,v.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,v.SB)("right",(0,v.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,v.eR)("* => left, * => right, left => center, right => center",(0,v.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,v.eR)("void => left-origin-center",[(0,v.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,v.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,v.eR)("void => right-origin-center",[(0,v.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,v.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let gt=(()=>{class a extends o.Pl{constructor(e,i,n,c){super(e,i,c),this._host=n,this._centeringSub=u.w0.EMPTY,this._leavingSub=u.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,A.O)(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36((0,t.Gpc)(()=>_t)),t.Y36(d.K0))},a.\u0275dir=t.lG2({type:a,selectors:[["","matTabBodyHost",""]],features:[t.qOj]}),a})(),ft=(()=>{class a{constructor(e,i,n){this._elementRef=e,this._dir=i,this._dirChangeSubscription=u.w0.EMPTY,this._translateTabComplete=new G.x,this._onCentering=new t.vpe,this._beforeCentering=new t.vpe,this._afterLeavingCenter=new t.vpe,this._onCentered=new t.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(c=>{this._computePositionAnimationState(c),n.markForCheck()})),this._translateTabComplete.pipe((0,T.x)((c,H)=>c.fromState===H.fromState&&c.toState===H.toState)).subscribe(c=>{this._isCenterPosition(c.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(c.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(t.SBq),t.Y36(D.Is,8),t.Y36(t.sBO))},a.\u0275dir=t.lG2({type:a,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),a})(),_t=(()=>{class a extends ft{constructor(e,i,n){super(e,i,n)}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(t.SBq),t.Y36(D.Is,8),t.Y36(t.sBO))},a.\u0275cmp=t.Xpm({type:a,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&t.Gf(o.Pl,5),2&e){let n;t.iGM(n=t.CRH())&&(i._portalHost=n.first)}},hostAttrs:[1,"mat-tab-body"],features:[t.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(t.TgZ(0,"div",0,1),t.NdJ("@translateTab.start",function(c){return i._onTranslateTabStarted(c)})("@translateTab.done",function(c){return i._translateTabComplete.next(c)}),t.YNc(2,V,0,0,"ng-template",2),t.qZA()),2&e&&t.Q6J("@translateTab",t.WLB(3,S,i._position,t.VKq(1,R,i.animationDuration)))},dependencies:[gt],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[bt.translateTab]}}),a})();const et=new t.OlP("MAT_TABS_CONFIG"),vt=(0,p.Id)(class{});let yt=(()=>{class a extends vt{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(t.SBq))},a.\u0275dir=t.lG2({type:a,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(t.uIk("aria-disabled",!!i.disabled),t.ekj("mat-tab-disabled",i.disabled))},inputs:{disabled:"disabled"},features:[t.qOj]}),a})();const Mt=(0,F.i$)({passive:!0});let Ot=(()=>{class a{constructor(e,i,n,c,H,U,Z){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=n,this._dir=c,this._ngZone=H,this._platform=U,this._animationMode=Z,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new G.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new G.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new t.vpe,this.indexFocused=new t.vpe,H.runOutsideAngular(()=>{(0,h.R)(e.nativeElement,"mouseleave").pipe((0,C.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=(0,x.Ig)(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=(0,x.su)(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){(0,h.R)(this._previousPaginator.nativeElement,"touchstart",Mt).pipe((0,C.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,h.R)(this._nextPaginator.nativeElement,"touchstart",Mt).pipe((0,C.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:(0,m.of)("ltr"),i=this._viewportRuler.change(150),n=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new k.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,f.q)(1)).subscribe(n),(0,M.T)(e,i,this._items.changes,this._itemsResized()).pipe((0,C.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),n()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,C.R)(this._destroyed)).subscribe(c=>{this.indexFocused.emit(c),this._setTabFocus(c)})}_itemsResized(){return"function"!=typeof ResizeObserver?y.E:this._items.changes.pipe((0,A.O)(this._items),(0,P.w)(e=>new g.y(i=>this._ngZone.runOutsideAngular(()=>{const n=new ResizeObserver(()=>{i.next()});return e.forEach(c=>{n.observe(c.elementRef.nativeElement)}),()=>{n.disconnect()}}))),(0,K.T)(1))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!(0,N.Vb)(e))switch(e.keyCode){case N.K5:case N.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const i=this._items?this._items.toArray()[e]:null;return!!i&&!i.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const n=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:c,offsetWidth:H}=i.elementRef.nativeElement;let U,Z;"ltr"==this._getLayoutDirection()?(U=c,Z=U+H):(Z=this._tabListInner.nativeElement.offsetWidth-c,U=Z-H);const ut=this.scrollDistance,Pt=this.scrollDistance+n;UPt&&(this.scrollDistance+=Z-Pt+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),(0,B.H)(650,100).pipe((0,C.R)((0,M.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:n,distance:c}=this._scrollHeader(e);(0===c||c>=n)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(w.rL),t.Y36(D.Is,8),t.Y36(t.R0b),t.Y36(F.t4),t.Y36(t.QbO,8))},a.\u0275dir=t.lG2({type:a,inputs:{disablePagination:"disablePagination"}}),a})(),Rt=(()=>{class a extends Ot{constructor(e,i,n,c,H,U,Z){super(e,i,n,c,H,U,Z),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=(0,x.Ig)(e)}_itemSelected(e){e.preventDefault()}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(w.rL),t.Y36(D.Is,8),t.Y36(t.R0b),t.Y36(F.t4),t.Y36(t.QbO,8))},a.\u0275dir=t.lG2({type:a,inputs:{disableRipple:"disableRipple"},features:[t.qOj]}),a})(),It=(()=>{class a extends Rt{constructor(e,i,n,c,H,U,Z){super(e,i,n,c,H,U,Z)}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(w.rL),t.Y36(D.Is,8),t.Y36(t.R0b),t.Y36(F.t4),t.Y36(t.QbO,8))},a.\u0275cmp=t.Xpm({type:a,selectors:[["mat-tab-header"]],contentQueries:function(e,i,n){if(1&e&&t.Suo(n,yt,4),2&e){let c;t.iGM(c=t.CRH())&&(i._items=c)}},viewQuery:function(e,i){if(1&e&&(t.Gf(O,7),t.Gf(b,7),t.Gf(L,7),t.Gf(j,7),t.Gf($,5),t.Gf(q,5)),2&e){let n;t.iGM(n=t.CRH())&&(i._inkBar=n.first),t.iGM(n=t.CRH())&&(i._tabListContainer=n.first),t.iGM(n=t.CRH())&&(i._tabList=n.first),t.iGM(n=t.CRH())&&(i._tabListInner=n.first),t.iGM(n=t.CRH())&&(i._nextPaginator=n.first),t.iGM(n=t.CRH())&&(i._previousPaginator=n.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&t.ekj("mat-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[t.qOj],ngContentSelectors:Q,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(c){return i._handlePaginatorPress("before",c)})("touchend",function(){return i._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(c){return i._handleKeydown(c)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return i._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA(),t._UZ(10,"mat-ink-bar"),t.qZA()(),t.TgZ(11,"button",9,10),t.NdJ("mousedown",function(c){return i._handlePaginatorPress("after",c)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),t._UZ(13,"div",2),t.qZA()),2&e&&(t.ekj("mat-tab-header-pagination-disabled",i._disableScrollBefore),t.Q6J("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),t.xp6(5),t.ekj("_mat-animation-noopable","NoopAnimations"===i._animationMode),t.xp6(6),t.ekj("mat-tab-header-pagination-disabled",i._disableScrollAfter),t.Q6J("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},dependencies:[p.wG,I.wD,O],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),a})(),Bt=0;class Lt{}const wt=(0,p.pj)((0,p.Kr)(class{constructor(a){this._elementRef=a}}),"primary");let St=(()=>{class a extends wt{constructor(e,i,n,c){super(e),this._changeDetectorRef=i,this._animationMode=c,this._tabs=new t.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=u.w0.EMPTY,this._tabLabelSubscription=u.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new t.vpe,this.focusChange=new t.vpe,this.animationDone=new t.vpe,this.selectedTabChange=new t.vpe(!0),this._groupId=Bt++,this.animationDuration=n&&n.animationDuration?n.animationDuration:"500ms",this.disablePagination=!(!n||null==n.disablePagination)&&n.disablePagination,this.dynamicHeight=!(!n||null==n.dynamicHeight)&&n.dynamicHeight,this.contentTabIndex=n?.contentTabIndex??null,this.preserveContent=!!n?.preserveContent}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=(0,x.Ig)(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=(0,x.su)(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=(0,x.su)(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=(0,x.Ig)(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=(0,x.Ig)(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement;i.classList.remove(`mat-background-${this.backgroundColor}`),e&&i.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const n=this._tabBodyWrapper.nativeElement;n.style.minHeight=n.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((n,c)=>n.isActive=c===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,n)=>{i.position=n-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let n;for(let c=0;c{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,A.O)(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new Lt;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,M.T)(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,n){e.disabled||(this.selectedIndex=i.focusIndex=n)}_getTabIndex(e,i){return e.disabled?null:i===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(et,8),t.Y36(t.QbO,8))},a.\u0275dir=t.lG2({type:a,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[t.qOj]}),a})(),kt=(()=>{class a extends St{constructor(e,i,n,c){super(e,i,n,c)}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(et,8),t.Y36(t.QbO,8))},a.\u0275cmp=t.Xpm({type:a,selectors:[["mat-tab-group"]],contentQueries:function(e,i,n){if(1&e&&t.Suo(n,ht,5),2&e){let c;t.iGM(c=t.CRH())&&(i._allTabs=c)}},viewQuery:function(e,i){if(1&e&&(t.Gf(rt,5),t.Gf(lt,5)),2&e){let n;t.iGM(n=t.CRH())&&(i._tabBodyWrapper=n.first),t.iGM(n=t.CRH())&&(i._tabHeader=n.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,i){2&e&&t.ekj("mat-tab-group-dynamic-height",i.dynamicHeight)("mat-tab-group-inverted-header","below"===i.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[t._Bn([{provide:nt,useExisting:a}]),t.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,i){1&e&&(t.TgZ(0,"mat-tab-header",0,1),t.NdJ("indexFocused",function(c){return i._focusChanged(c)})("selectFocusedIndex",function(c){return i.selectedIndex=c}),t.YNc(2,st,5,15,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.YNc(5,ct,1,11,"mat-tab-body",5),t.qZA()),2&e&&(t.Q6J("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),t.xp6(2),t.Q6J("ngForOf",i._tabs),t.xp6(1),t.ekj("_mat-animation-noopable","NoopAnimations"===i._animationMode),t.xp6(2),t.Q6J("ngForOf",i._tabs))},dependencies:[d.mk,d.sg,d.O5,o.Pl,p.wG,k.kH,yt,_t,It],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:2}),a})(),Yt=0,Ct=(()=>{class a extends Ot{constructor(e,i,n,c,H,U,Z){super(e,c,H,i,n,U,Z),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement.classList;i.remove(`mat-background-${this.backgroundColor}`),e&&i.add(`mat-background-${e}`),this._backgroundColor=e}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=(0,x.Ig)(e)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,A.O)(null),(0,C.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const e=this._items.toArray();for(let i=0;i{class a extends Ct{constructor(e,i,n,c,H,U,Z){super(e,i,n,c,H,U,Z)}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(t.SBq),t.Y36(D.Is,8),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(w.rL),t.Y36(F.t4),t.Y36(t.QbO,8))},a.\u0275cmp=t.Xpm({type:a,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(e,i,n){if(1&e&&t.Suo(n,At,5),2&e){let c;t.iGM(c=t.CRH())&&(i._items=c)}},viewQuery:function(e,i){if(1&e&&(t.Gf(O,7),t.Gf(b,7),t.Gf(L,7),t.Gf(j,7),t.Gf($,5),t.Gf(q,5)),2&e){let n;t.iGM(n=t.CRH())&&(i._inkBar=n.first),t.iGM(n=t.CRH())&&(i._tabListContainer=n.first),t.iGM(n=t.CRH())&&(i._tabList=n.first),t.iGM(n=t.CRH())&&(i._tabListInner=n.first),t.iGM(n=t.CRH())&&(i._nextPaginator=n.first),t.iGM(n=t.CRH())&&(i._previousPaginator=n.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:11,hostBindings:function(e,i){2&e&&(t.uIk("role",i._getRole()),t.ekj("mat-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-tab-header-rtl","rtl"==i._getLayoutDirection())("mat-primary","warn"!==i.color&&"accent"!==i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[t.qOj],attrs:pt,ngContentSelectors:Q,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(c){return i._handlePaginatorPress("before",c)})("touchend",function(){return i._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(c){return i._handleKeydown(c)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return i._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA(),t._UZ(10,"mat-ink-bar"),t.qZA()(),t.TgZ(11,"button",9,10),t.NdJ("mousedown",function(c){return i._handlePaginatorPress("after",c)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),t._UZ(13,"div",2),t.qZA()),2&e&&(t.ekj("mat-tab-header-pagination-disabled",i._disableScrollBefore),t.Q6J("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),t.xp6(5),t.ekj("_mat-animation-noopable","NoopAnimations"===i._animationMode),t.xp6(6),t.ekj("mat-tab-header-pagination-disabled",i._disableScrollAfter),t.Q6J("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},dependencies:[p.wG,I.wD,O],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}"],encapsulation:2}),a})();const Ft=(0,p.sb)((0,p.Kr)((0,p.Id)(class{})));let Wt=(()=>{class a extends Ft{constructor(e,i,n,c,H,U){super(),this._tabNavBar=e,this.elementRef=i,this._focusMonitor=H,this._isActive=!1,this.id="mat-tab-link-"+Yt++,this.rippleConfig=n||{},this.tabIndex=parseInt(c)||0,"NoopAnimations"===U&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(e){const i=(0,x.Ig)(e);i!==this._isActive&&(this._isActive=i,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(e){this._tabNavBar.tabPanel&&e.keyCode===N.L_&&this.elementRef.nativeElement.click()}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(Ct),t.Y36(t.SBq),t.Y36(p.Y2,8),t.$8M("tabindex"),t.Y36(k.tE),t.Y36(t.QbO,8))},a.\u0275dir=t.lG2({type:a,inputs:{active:"active",id:"id"},features:[t.qOj]}),a})(),At=(()=>{class a extends Wt{constructor(e,i,n,c,H,U,Z,ut){super(e,i,H,U,Z,ut),this._tabLinkRipple=new p.IR(this,n,i,c),this._tabLinkRipple.setupTriggerEvents(i.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(Et),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(F.t4),t.Y36(p.Y2,8),t.$8M("tabindex"),t.Y36(k.tE),t.Y36(t.QbO,8))},a.\u0275dir=t.lG2({type:a,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(e,i){1&e&&t.NdJ("focus",function(){return i._handleFocus()})("keydown",function(c){return i._handleKeydown(c)}),2&e&&(t.uIk("aria-controls",i._getAriaControls())("aria-current",i._getAriaCurrent())("aria-disabled",i.disabled)("aria-selected",i._getAriaSelected())("id",i.id)("tabIndex",i._getTabIndex())("role",i._getRole()),t.ekj("mat-tab-disabled",i.disabled)("mat-tab-label-active",i.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[t.qOj]}),a})(),Ht=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({imports:[d.ez,p.BQ,o.eL,p.si,I.Q8,k.rt,p.BQ]}),a})()},5561:(tt,J,r)=>{r.d(J,{Z:()=>t});var k=function(p){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.width=this.canvas.width=p.width,this.height=this.canvas.height=p.height,this.context.drawImage(p,0,0,this.width,this.height)};k.prototype.getPixelCount=function(){return this.width*this.height},k.prototype.getImageData=function(){return this.context.getImageData(0,0,this.width,this.height)};var I=function(){};if(I.prototype.getColor=function(p,f){return this.getPalette(p,5,f)[0]},I.prototype.getPalette=function(p,f,A){(void 0===f||f<2||f>256)&&(f=10),(void 0===A||A<1)&&(A=10);for(var T,C,P,K,G=new k(p),u=G.getImageData().data,h=G.getPixelCount(),m=[],M=0;M=125&&(C>250&&P>250&&K>250||m.push([C,P,K]));var y=d.quantize(m,f);return y?y.palette():null},I.prototype.getColorFromUrl=function(p,f,A){var T=document.createElement("img"),C=this;T.addEventListener("load",function(){var P=C.getPalette(T,5,A);f(P[0],p)}),T.src=p},I.prototype.getImageData=function(p,f){var A=new XMLHttpRequest;A.open("GET",p,!0),A.responseType="arraybuffer",A.onload=function(){if(200==this.status){var T=new Uint8Array(this.response);P=T.length;for(var C=new Array(P),P=0;Pf?1:0},sum:function(p,f){var A={};return p.reduce(f?function(T,C,P){return A.index=P,T+f.call(A,C)}:function(T,C){return T+C},0)},max:function(p,f){return Math.max.apply(null,f?o.map(p,f):p)}};var d=function(){function T(u,h,m){return(u<<10)+(h<<5)+m}function C(u){var h=[],m=!1;function M(){h.sort(u),m=!0}return{push:function(y){h.push(y),m=!1},peek:function(y){return m||M(),void 0===y&&(y=h.length-1),h[y]},pop:function(){return m||M(),h.pop()},size:function(){return h.length},map:function(y){return h.map(y)},debug:function(){return m||M(),h}}}function P(u,h,m,M,y,g,B){this.r1=u,this.r2=h,this.g1=m,this.g2=M,this.b1=y,this.b2=g,this.histo=B}function K(){this.vboxes=new C(function(u,h){return o.naturalOrder(u.vbox.count()*u.vbox.volume(),h.vbox.count()*h.vbox.volume())})}function G(u,h){if(h.count()){var m=h.r2-h.r1+1,M=h.g2-h.g1+1,y=o.max([m,M,h.b2-h.b1+1]);if(1==h.count())return[h.copy()];var g,B,D,v,x=0,w=[],F=[];if(y==m)for(g=h.r1;g<=h.r2;g++){for(v=0,B=h.g1;B<=h.g2;B++)for(D=h.b1;D<=h.b2;D++)v+=u[T(g,B,D)]||0;w[g]=x+=v}else if(y==M)for(g=h.g1;g<=h.g2;g++){for(v=0,B=h.r1;B<=h.r2;B++)for(D=h.b1;D<=h.b2;D++)v+=u[T(B,g,D)]||0;w[g]=x+=v}else for(g=h.b1;g<=h.b2;g++){for(v=0,B=h.r1;B<=h.r2;B++)for(D=h.g1;D<=h.g2;D++)v+=u[T(B,D,g)]||0;w[g]=x+=v}return w.forEach(function(N,z){F[z]=x-N}),function(N){var z,Q,V,R,S,b=N+"1",L=N+"2",j=0;for(g=h[b];g<=h[L];g++)if(w[g]>x/2){for(V=h.copy(),R=h.copy(),S=(z=g-h[b])<=(Q=h[L]-g)?Math.min(h[L]-1,~~(g+Q/2)):Math.max(h[b],~~(g-1-z/2));!w[S];)S++;for(j=F[S];!j&&w[S-1];)j=F[--S];return V[L]=S,R[b]=V[L]+1,[V,R]}}(y==m?"r":y==M?"g":"b")}}return P.prototype={volume:function(u){return this._volume&&!u||(this._volume=(this.r2-this.r1+1)*(this.g2-this.g1+1)*(this.b2-this.b1+1)),this._volume},count:function(u){var h=this.histo;if(!this._count_set||u){var m,M,y,g=0;for(m=this.r1;m<=this.r2;m++)for(M=this.g1;M<=this.g2;M++)for(y=this.b1;y<=this.b2;y++)g+=h[T(m,M,y)]||0;this._count=g,this._count_set=!0}return this._count},copy:function(){return new P(this.r1,this.r2,this.g1,this.g2,this.b1,this.b2,this.histo)},avg:function(u){var h=this.histo;if(!this._avg||u){var m,M,y,g,B=0,v=0,x=0,w=0;for(M=this.r1;M<=this.r2;M++)for(y=this.g1;y<=this.g2;y++)for(g=this.b1;g<=this.b2;g++)B+=m=h[T(M,y,g)]||0,v+=m*(M+.5)*8,x+=m*(y+.5)*8,w+=m*(g+.5)*8;this._avg=B?[~~(v/B),~~(x/B),~~(w/B)]:[~~(8*(this.r1+this.r2+1)/2),~~(8*(this.g1+this.g2+1)/2),~~(8*(this.b1+this.b2+1)/2)]}return this._avg},contains:function(u){var h=u[0]>>3,m=u[1]>>3,M=u[2]>>3;return h>=this.r1&&h<=this.r2&&m>=this.g1&&m<=this.g2&&M>=this.b1&&M<=this.b2}},K.prototype={push:function(u){this.vboxes.push({vbox:u,color:u.avg()})},palette:function(){return this.vboxes.map(function(u){return u.color})},size:function(){return this.vboxes.size()},map:function(u){for(var h=this.vboxes,m=0;m251&&M[1]>251&&M[2]>251&&(u[m].color=[255,255,255])}},{quantize:function(u,h){if(!u.length||h<2||h>256)return!1;var v,x,w,m=(v=u,w=new Array(32768),v.forEach(function(F){x=T(F[0]>>3,F[1]>>3,F[2]>>3),w[x]=(w[x]||0)+1}),w);m.forEach(function(){});var M=function(v,x){var w,F,N,z=1e6,Q=0,V=1e6,R=0,S=1e6,b=0;return v.forEach(function(L){(w=L[0]>>3)Q&&(Q=w),(F=L[1]>>3)R&&(R=F),(N=L[2]>>3)b&&(b=N)}),new P(z,Q,V,R,S,b,x)}(u,m),y=new C(function(v,x){return o.naturalOrder(v.count(),x.count())});function g(v,x){for(var w,F=1,N=0;N<1e3;)if((w=v.pop()).count()){var z=G(m,w),Q=z[0],V=z[1];if(!Q||(v.push(Q),V&&(v.push(V),F++),F>=x)||N++>1e3)return}else v.push(w),N++}y.push(M),g(y,.75*h);for(var B=new C(function(v,x){return o.naturalOrder(v.count()*v.volume(),x.count()*x.volume())});y.size();)B.push(y.pop());g(B,h-B.size());for(var D=new K;B.size();)D.push(B.pop());return D}}}();const t=I}}]); \ No newline at end of file diff --git a/index.html b/index.html index 4cbb173..0e79d36 100644 --- a/index.html +++ b/index.html @@ -34,6 +34,6 @@ - + \ No newline at end of file diff --git a/runtime.8d26bd3d80d51c6f.js b/runtime.8d26bd3d80d51c6f.js deleted file mode 100644 index 8606b3a..0000000 --- a/runtime.8d26bd3d80d51c6f.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,v={},m={};function a(e){var f=m[e];if(void 0!==f)return f.exports;var r=m[e]={exports:{}};return v[e].call(r.exports,r,r.exports,a),r.exports}a.m=v,e=[],a.O=(f,r,d,c)=>{if(!r){var t=1/0;for(n=0;n=c)&&Object.keys(a.O).every(p=>a.O[p](r[i]))?r.splice(i--,1):(b=!1,c0&&e[n-1][2]>c;n--)e[n]=e[n-1];e[n]=[r,d,c]},a.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return a.d(f,{a:f}),f},a.d=(e,f)=>{for(var r in f)a.o(f,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:f[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((f,r)=>(a.f[r](e,f),f),[])),a.u=e=>(592===e?"common":e)+"."+{89:"26d88e18007630b9",143:"f3cd34b2e0af57e7",210:"e9508dc5c6e574d2",239:"1514d368d90891e5",255:"81c65f9668d1cd98",275:"8d214c407cda0594",314:"88150c97c0b35129",319:"6bbc58cb91b8990a",341:"3c1d0ee7033df5b4",418:"3630e6aeab05d3f8",446:"d47271bfb8bb1e26",451:"0600833eb817bfa7",454:"aaf7e096dcb019d9",515:"f70531b7cf5ed3cf",543:"e48df0727e68954e",556:"e3197e3e9a16eb31",592:"690779f7b8754ba7",657:"3a48b424e8a7cfd7",715:"ac7636cc8f14db74",725:"1cf546206b1889f3",742:"d6cfbd4cfe461cbd",780:"472533b0bc2c0b38",910:"ff7aa9eef939d83c",911:"91459c5e5cdb792b",935:"eaca09c31ca03c83",938:"229d035d5a1e7a90",965:"2afa00b4ed0c30f8",979:"c562733179a10fc6"}[e]+".js",a.miniCssF=e=>{},a.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={},f="rucogs-website:";a.l=(r,d,c,n)=>{if(e[r])e[r].push(d);else{var t,b;if(void 0!==c)for(var i=document.getElementsByTagName("script"),u=0;u{t.onerror=t.onload=null,clearTimeout(s);var _=e[r];if(delete e[r],t.parentNode&&t.parentNode.removeChild(t),_&&_.forEach(h=>h(p)),g)return g(p)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),b&&document.head.appendChild(t)}}})(),a.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;a.tt=()=>(void 0===e&&(e={createScriptURL:f=>f},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),a.tu=e=>a.tt().createScriptURL(e),a.p="",(()=>{var e={666:0};a.f.j=(d,c)=>{var n=a.o(e,d)?e[d]:void 0;if(0!==n)if(n)c.push(n[2]);else if(666!=d){var t=new Promise((o,l)=>n=e[d]=[o,l]);c.push(n[2]=t);var b=a.p+a.u(d),i=new Error;a.l(b,o=>{if(a.o(e,d)&&(0!==(n=e[d])&&(e[d]=void 0),n)){var l=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.src;i.message="Loading chunk "+d+" failed.\n("+l+": "+s+")",i.name="ChunkLoadError",i.type=l,i.request=s,n[1](i)}},"chunk-"+d,d)}else e[d]=0},a.O.j=d=>0===e[d];var f=(d,c)=>{var i,u,[n,t,b]=c,o=0;if(n.some(s=>0!==e[s])){for(i in t)a.o(t,i)&&(a.m[i]=t[i]);if(b)var l=b(a)}for(d&&d(c);o{"use strict";var e,v={},m={};function r(e){var f=m[e];if(void 0!==f)return f.exports;var a=m[e]={exports:{}};return v[e].call(a.exports,a,a.exports,r),a.exports}r.m=v,e=[],r.O=(f,a,d,c)=>{if(!a){var t=1/0;for(n=0;n=c)&&Object.keys(r.O).every(p=>r.O[p](a[i]))?a.splice(i--,1):(b=!1,c0&&e[n-1][2]>c;n--)e[n]=e[n-1];e[n]=[a,d,c]},r.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return r.d(f,{a:f}),f},r.d=(e,f)=>{for(var a in f)r.o(f,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:f[a]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((f,a)=>(r.f[a](e,f),f),[])),r.u=e=>(592===e?"common":e)+"."+{89:"26d88e18007630b9",143:"f3cd34b2e0af57e7",210:"e9508dc5c6e574d2",239:"1514d368d90891e5",255:"81c65f9668d1cd98",275:"8d214c407cda0594",314:"88150c97c0b35129",319:"6bbc58cb91b8990a",341:"3c1d0ee7033df5b4",418:"3630e6aeab05d3f8",446:"d47271bfb8bb1e26",451:"0600833eb817bfa7",454:"aaf7e096dcb019d9",515:"f70531b7cf5ed3cf",543:"e48df0727e68954e",556:"e3197e3e9a16eb31",592:"690779f7b8754ba7",657:"3a48b424e8a7cfd7",715:"ac7636cc8f14db74",725:"1cf546206b1889f3",742:"d6cfbd4cfe461cbd",780:"472533b0bc2c0b38",910:"ff7aa9eef939d83c",911:"91459c5e5cdb792b",935:"eaca09c31ca03c83",938:"229d035d5a1e7a90",965:"2afa00b4ed0c30f8",979:"e42ca90ebcab593d"}[e]+".js",r.miniCssF=e=>{},r.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={},f="rucogs-website:";r.l=(a,d,c,n)=>{if(e[a])e[a].push(d);else{var t,b;if(void 0!==c)for(var i=document.getElementsByTagName("script"),u=0;u{t.onerror=t.onload=null,clearTimeout(s);var _=e[a];if(delete e[a],t.parentNode&&t.parentNode.removeChild(t),_&&_.forEach(h=>h(p)),g)return g(p)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),b&&document.head.appendChild(t)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:f=>f},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(d,c)=>{var n=r.o(e,d)?e[d]:void 0;if(0!==n)if(n)c.push(n[2]);else if(666!=d){var t=new Promise((o,l)=>n=e[d]=[o,l]);c.push(n[2]=t);var b=r.p+r.u(d),i=new Error;r.l(b,o=>{if(r.o(e,d)&&(0!==(n=e[d])&&(e[d]=void 0),n)){var l=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.src;i.message="Loading chunk "+d+" failed.\n("+l+": "+s+")",i.name="ChunkLoadError",i.type=l,i.request=s,n[1](i)}},"chunk-"+d,d)}else e[d]=0},r.O.j=d=>0===e[d];var f=(d,c)=>{var i,u,[n,t,b]=c,o=0;if(n.some(s=>0!==e[s])){for(i in t)r.o(t,i)&&(r.m[i]=t[i]);if(b)var l=b(r)}for(d&&d(c);o